Permalink
Browse files

Gallery Build Tag: gallery-2012.05.09-20-27

  • Loading branch information...
1 parent 764f63b commit eedf89d5d2a4b46fcc2862783cada96030625f33 YUI Builder committed May 9, 2012
Showing with 2,309 additions and 159 deletions.
  1. 0 build/gallery-app-loading/assets/gallery-app-loading-core.css
  2. 0 build/gallery-app-loading/assets/skins/sam/gallery-app-loading.css
  3. +160 −0 build/gallery-app-loading/gallery-app-loading-debug.js
  4. +1 −0 build/gallery-app-loading/gallery-app-loading-min.js
  5. +157 −0 build/gallery-app-loading/gallery-app-loading.js
  6. +4 −4 build/gallery-bulkedit/gallery-bulkedit-debug.js
  7. +2 −2 build/gallery-bulkedit/gallery-bulkedit-min.js
  8. +4 −4 build/gallery-bulkedit/gallery-bulkedit.js
  9. +2 −2 build/gallery-checkboxgroups/gallery-checkboxgroups-debug.js
  10. +1 −1 build/gallery-checkboxgroups/gallery-checkboxgroups-min.js
  11. +2 −2 build/gallery-checkboxgroups/gallery-checkboxgroups.js
  12. +3 −3 build/gallery-formmgr-css-validation/gallery-formmgr-css-validation-debug.js
  13. +1 −1 build/gallery-formmgr-css-validation/gallery-formmgr-css-validation-min.js
  14. +3 −3 build/gallery-formmgr-css-validation/gallery-formmgr-css-validation.js
  15. +3 −3 build/gallery-formmgr/gallery-formmgr-debug.js
  16. +2 −2 build/gallery-formmgr/gallery-formmgr-min.js
  17. +3 −3 build/gallery-formmgr/gallery-formmgr.js
  18. +9 −7 build/gallery-jsonrpc/gallery-jsonrpc-debug.js
  19. +1 −1 build/gallery-jsonrpc/gallery-jsonrpc-min.js
  20. +9 −7 build/gallery-jsonrpc/gallery-jsonrpc.js
  21. +2 −2 build/gallery-md-timespinner/gallery-md-timespinner-debug.js
  22. +1 −1 build/gallery-md-timespinner/gallery-md-timespinner-min.js
  23. +2 −2 build/gallery-md-timespinner/gallery-md-timespinner.js
  24. +1 −1 build/gallery-node-fitvids/gallery-node-fitvids-debug.js
  25. +1 −1 build/gallery-node-fitvids/gallery-node-fitvids-min.js
  26. +1 −1 build/gallery-node-fitvids/gallery-node-fitvids.js
  27. +3 −0 build/gallery-paginator/assets/skins/sam/gallery-paginator-skin.css
  28. +1 −1 build/gallery-paginator/assets/skins/sam/gallery-paginator.css
  29. +82 −25 build/gallery-paginator/gallery-paginator-debug.js
  30. +4 −4 build/gallery-paginator/gallery-paginator-min.js
  31. +82 −25 build/gallery-paginator/gallery-paginator.js
  32. +190 −0 build/gallery-popup-calendar-group/gallery-popup-calendar-group-debug.js
  33. +1 −0 build/gallery-popup-calendar-group/gallery-popup-calendar-group-min.js
  34. +186 −0 build/gallery-popup-calendar-group/gallery-popup-calendar-group.js
  35. +149 −13 build/gallery-popup-calendar/gallery-popup-calendar-debug.js
  36. +1 −1 build/gallery-popup-calendar/gallery-popup-calendar-min.js
  37. +148 −13 build/gallery-popup-calendar/gallery-popup-calendar.js
  38. +1 −1 build/gallery-slidecheckbox/gallery-slidecheckbox-debug.js
  39. +1 −1 build/gallery-slidecheckbox/gallery-slidecheckbox-min.js
  40. +1 −1 build/gallery-slidecheckbox/gallery-slidecheckbox.js
  41. +221 −0 build/gallery-textarea-autoheight/gallery-textarea-autoheight-debug.js
  42. +1 −0 build/gallery-textarea-autoheight/gallery-textarea-autoheight-min.js
  43. +221 −0 build/gallery-textarea-autoheight/gallery-textarea-autoheight.js
  44. +5 −0 build/gallery-treeble/assets/skins/sam/gallery-treeble-skin.css
  45. +1 −1 build/gallery-treeble/assets/skins/sam/gallery-treeble.css
  46. +11 −9 build/gallery-treeble/gallery-treeble-debug.js
  47. +2 −2 build/gallery-treeble/gallery-treeble-min.js
  48. +11 −9 build/gallery-treeble/gallery-treeble.js
  49. +16 −0 build/gallery-twitter-widget/assets/gallery-twitter-widget-core.css
  50. +9 −0 build/gallery-twitter-widget/assets/skins/sam/gallery-twitter-widget-skin.css
  51. +1 −0 build/gallery-twitter-widget/assets/skins/sam/gallery-twitter-widget.css
  52. BIN build/gallery-twitter-widget/assets/skins/sam/widget-logo.png
  53. +292 −0 build/gallery-twitter-widget/gallery-twitter-widget-debug.js
  54. +1 −0 build/gallery-twitter-widget/gallery-twitter-widget-min.js
  55. +292 −0 build/gallery-twitter-widget/gallery-twitter-widget.js
@@ -0,0 +1,160 @@
+YUI.add('gallery-app-loading', function(Y) {
+
+ /*
+ * Adds two custom events, two callbacks, and
+ * related configuration attributes to give you
+ * the ability to notify the user while the views
+ * or entire app is in a loading sequence
+ *
+ * @module Y.AppLoading
+ */
+
+ var YLang = Y.Lang;
+
+ function AppLoading(config) {
+ Y.log('AppLoading', 'info', this.name);
+
+ var startLoadingSequence = this._startLoadingSequence;
+
+ this.on('*:loading', startLoadingSequence, this);
+ this.on('navigate', startLoadingSequence, this);
+ this.on('activeViewChange', startLoadingSequence, this);
+ this.on('*:loadingComplete', this._stopLoadingSequence, this);
+
+ Y.Do.after(function(e) { this.fire('loadingComplete'); }, this, '_attachView', this);
+ }
+
+ AppLoading.ATTRS = {
+
+ /*
+ * Representation of the loading state of the app
+ *
+ * @attribute loading
+ * @type bool
+ * @default false
+ * @public
+ */
+ loading: {
+ value: false
+ },
+
+ /*
+ * To add the viewContainerLoadingClass to the
+ * viewContainer
+ *
+ * @attribute addClassToViewContainer
+ * @type bool
+ * @default true
+ * @public
+ */
+ addClassToViewContainer: {
+ value: true
+ },
+
+ /*
+ * To add the containerLoadingClass to the container
+ *
+ * @attribute addClassToContainer
+ * @type bool
+ * @default true
+ * @public
+ */
+ addClassToContainer: {
+ value: true
+ },
+
+ /*
+ * The class that gets added to the viewContainer
+ * while loading
+ *
+ * @attribute viewContainerLoadingClass
+ * @type string
+ * @public
+ */
+ viewContainerLoadingClass: {
+ value: 'loading'
+ },
+
+ /*
+ * The class that gets added to the container
+ * while loading
+ *
+ * @attribute containerLoadingClass
+ * @type string
+ * @public
+ */
+ containerLoadingClass: {
+ value: 'loading'
+ }
+ };
+
+ AppLoading.prototype = {
+
+ /*
+ * Ads the loading classes to the containers of configured,
+ * fires loadingStarted event, and calls the user defined
+ * startLoadingSequence() function if defined in the App
+ *
+ * @method _startLoadingSequence
+ * @private
+ */
+ _startLoadingSequence: function(e) {
+ Y.log('_startLoadingSequence', 'info', this.name);
+
+ var container = this.get('container'),
+ viewContainer = this.get('viewContainer'),
+ containerLoadingClass = this.get('containerLoadingClass');
+
+ if (!this.get('loading')) {
+ this.set('loading', true);
+ this.fire('loadingStarted');
+
+ if(this.get('addClassToContainer') && !container.hasClass(containerLoadingClass)) {
+ container.addClass(containerLoadingClass);
+ }
+
+ if(this.get('addClassToViewContainer') && !viewContainer.hasClass(containerLoadingClass)) {
+ viewContainer.addClass(containerLoadingClass);
+ }
+
+ if (YLang.isFunction(this.startLoadingSequence)) { this.startLoadingSequence(); }
+ }
+ },
+
+ /*
+ * Removes the loading classes to the containers of configured,
+ * fires loadingCompleted event, and calls the user defined
+ * stopLoadingSequence() function if defined in the App
+ *
+ * @method _stopLoadingSequence
+ * @private
+ */
+ _stopLoadingSequence: function(e) {
+ Y.log('_stopLoadingSequence', 'info', this.name);
+
+ var container = this.get('container'),
+ viewContainer = this.get('viewContainer'),
+ containerLoadingClass = this.get('containerLoadingClass');
+
+ if (this.get('loading')) {
+ this.set('loading', false);
+ this.fire('loadingCompleted');
+
+ if(container.hasClass(containerLoadingClass)) {
+ container.removeClass(containerLoadingClass);
+ }
+
+ if(viewContainer.hasClass(containerLoadingClass)) {
+ viewContainer.removeClass(containerLoadingClass);
+ }
+
+ if (YLang.isFunction(this.stopLoadingSequence)) { this.stopLoadingSequence(); }
+ }
+ }
+
+ };
+
+ Y.AppLoading = AppLoading;
+
+
+}, 'gallery-2012.05.09-20-27' ,{skinnable:false, requires:['app']});

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
@@ -0,0 +1,157 @@
+YUI.add('gallery-app-loading', function(Y) {
+
+ /*
+ * Adds two custom events, two callbacks, and
+ * related configuration attributes to give you
+ * the ability to notify the user while the views
+ * or entire app is in a loading sequence
+ *
+ * @module Y.AppLoading
+ */
+
+ var YLang = Y.Lang;
+
+ function AppLoading(config) {
+
+ var startLoadingSequence = this._startLoadingSequence;
+
+ this.on('*:loading', startLoadingSequence, this);
+ this.on('navigate', startLoadingSequence, this);
+ this.on('activeViewChange', startLoadingSequence, this);
+ this.on('*:loadingComplete', this._stopLoadingSequence, this);
+
+ Y.Do.after(function(e) { this.fire('loadingComplete'); }, this, '_attachView', this);
+ }
+
+ AppLoading.ATTRS = {
+
+ /*
+ * Representation of the loading state of the app
+ *
+ * @attribute loading
+ * @type bool
+ * @default false
+ * @public
+ */
+ loading: {
+ value: false
+ },
+
+ /*
+ * To add the viewContainerLoadingClass to the
+ * viewContainer
+ *
+ * @attribute addClassToViewContainer
+ * @type bool
+ * @default true
+ * @public
+ */
+ addClassToViewContainer: {
+ value: true
+ },
+
+ /*
+ * To add the containerLoadingClass to the container
+ *
+ * @attribute addClassToContainer
+ * @type bool
+ * @default true
+ * @public
+ */
+ addClassToContainer: {
+ value: true
+ },
+
+ /*
+ * The class that gets added to the viewContainer
+ * while loading
+ *
+ * @attribute viewContainerLoadingClass
+ * @type string
+ * @public
+ */
+ viewContainerLoadingClass: {
+ value: 'loading'
+ },
+
+ /*
+ * The class that gets added to the container
+ * while loading
+ *
+ * @attribute containerLoadingClass
+ * @type string
+ * @public
+ */
+ containerLoadingClass: {
+ value: 'loading'
+ }
+ };
+
+ AppLoading.prototype = {
+
+ /*
+ * Ads the loading classes to the containers of configured,
+ * fires loadingStarted event, and calls the user defined
+ * startLoadingSequence() function if defined in the App
+ *
+ * @method _startLoadingSequence
+ * @private
+ */
+ _startLoadingSequence: function(e) {
+
+ var container = this.get('container'),
+ viewContainer = this.get('viewContainer'),
+ containerLoadingClass = this.get('containerLoadingClass');
+
+ if (!this.get('loading')) {
+ this.set('loading', true);
+ this.fire('loadingStarted');
+
+ if(this.get('addClassToContainer') && !container.hasClass(containerLoadingClass)) {
+ container.addClass(containerLoadingClass);
+ }
+
+ if(this.get('addClassToViewContainer') && !viewContainer.hasClass(containerLoadingClass)) {
+ viewContainer.addClass(containerLoadingClass);
+ }
+
+ if (YLang.isFunction(this.startLoadingSequence)) { this.startLoadingSequence(); }
+ }
+ },
+
+ /*
+ * Removes the loading classes to the containers of configured,
+ * fires loadingCompleted event, and calls the user defined
+ * stopLoadingSequence() function if defined in the App
+ *
+ * @method _stopLoadingSequence
+ * @private
+ */
+ _stopLoadingSequence: function(e) {
+
+ var container = this.get('container'),
+ viewContainer = this.get('viewContainer'),
+ containerLoadingClass = this.get('containerLoadingClass');
+
+ if (this.get('loading')) {
+ this.set('loading', false);
+ this.fire('loadingCompleted');
+
+ if(container.hasClass(containerLoadingClass)) {
+ container.removeClass(containerLoadingClass);
+ }
+
+ if(viewContainer.hasClass(containerLoadingClass)) {
+ viewContainer.removeClass(containerLoadingClass);
+ }
+
+ if (YLang.isFunction(this.stopLoadingSequence)) { this.stopLoadingSequence(); }
+ }
+ }
+
+ };
+
+ Y.AppLoading = AppLoading;
+
+
+}, 'gallery-2012.05.09-20-27' ,{skinnable:false, requires:['app']});
@@ -1389,7 +1389,7 @@ Y.extend(BulkEditor, Y.Widget,
getRecordId: function(
/* object/element */ obj)
{
- if (Y.Lang.isObject(obj) && !(obj instanceof Y.Node))
+ if (Y.Lang.isObject(obj) && !obj._node)
{
return obj[ this.get('ds').get('uniqueIdKey') ];
}
@@ -1416,7 +1416,7 @@ Y.extend(BulkEditor, Y.Widget,
{
var id = id_prefix + id_separator + record;
}
- else if (record instanceof Y.Node)
+ else if (record && record._node)
{
return record.getAncestorByClassName(BulkEditor.record_container_class, true);
}
@@ -1450,7 +1450,7 @@ Y.extend(BulkEditor, Y.Widget,
/* string/object/element */ record,
/* string */ key)
{
- if (record instanceof Y.Node)
+ if (record && record._node)
{
record = this.getRecordId(record);
}
@@ -2632,4 +2632,4 @@ Y.extend(HTMLTableBulkEditor, BulkEditor,
Y.HTMLTableBulkEditor = HTMLTableBulkEditor;
-}, 'gallery-2012.04.18-20-14' ,{skinnable:true, optional:['datasource','dataschema','gallery-paginator'], requires:['widget','datasource-local','gallery-busyoverlay','gallery-formmgr-css-validation','gallery-node-optimizations','gallery-scrollintoview','array-extras','gallery-funcprog','escape']});
+}, 'gallery-2012.05.09-20-27' ,{skinnable:true, optional:['datasource','dataschema','gallery-paginator'], requires:['widget','datasource-local','gallery-busyoverlay','gallery-formmgr-css-validation','gallery-node-optimizations','gallery-scrollintoview','array-extras','gallery-funcprog','escape']});
Oops, something went wrong.

0 comments on commit eedf89d

Please sign in to comment.