@stratusjs/angular 0.10.0 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (102) hide show
  1. package/dist/angular.bundle.js +89519 -89479
  2. package/dist/angular.bundle.min.js +1 -1
  3. package/package.json +3 -4
  4. package/src/angular.module.js +155 -0
  5. package/src/angular.module.js.map +1 -0
  6. package/src/angular.module.min.js +1 -0
  7. package/src/angular.module.ts +114 -0
  8. package/src/app.module.js +7 -116
  9. package/src/app.module.js.map +1 -1
  10. package/src/app.module.min.js +1 -1
  11. package/src/app.module.ts +8 -113
  12. package/src/base/base.component.js +1 -1
  13. package/src/base/base.component.js.map +1 -1
  14. package/src/base/base.component.min.js +1 -1
  15. package/src/base/base.component.ts +1 -1
  16. package/src/confirm-dialog/confirm-dialog.component.js +1 -1
  17. package/src/confirm-dialog/confirm-dialog.component.js.map +1 -1
  18. package/src/confirm-dialog/confirm-dialog.component.min.js +1 -1
  19. package/src/confirm-dialog/confirm-dialog.component.ts +1 -1
  20. package/src/editor/citation-dialog.component.css +2 -1
  21. package/src/editor/citation-dialog.component.css.map +1 -1
  22. package/src/editor/citation-dialog.component.js +1 -1
  23. package/src/editor/citation-dialog.component.js.map +1 -1
  24. package/src/editor/citation-dialog.component.min.css +1 -1
  25. package/src/editor/citation-dialog.component.min.js +1 -1
  26. package/src/editor/citation-dialog.component.scss +2 -1
  27. package/src/editor/citation-dialog.component.ts +1 -1
  28. package/src/editor/code-view-dialog.component.js +1 -1
  29. package/src/editor/code-view-dialog.component.js.map +1 -1
  30. package/src/editor/code-view-dialog.component.min.js +1 -1
  31. package/src/editor/code-view-dialog.component.ts +1 -1
  32. package/src/editor/editor.component.js +7 -3
  33. package/src/editor/editor.component.js.map +1 -1
  34. package/src/editor/editor.component.min.js +1 -1
  35. package/src/editor/editor.component.ts +12 -6
  36. package/src/editor/link-dialog.component.js +1 -1
  37. package/src/editor/link-dialog.component.js.map +1 -1
  38. package/src/editor/link-dialog.component.min.js +1 -1
  39. package/src/editor/link-dialog.component.ts +1 -1
  40. package/src/editor/media-dialog.component.js +1 -1
  41. package/src/editor/media-dialog.component.js.map +1 -1
  42. package/src/editor/media-dialog.component.min.js +1 -1
  43. package/src/editor/media-dialog.component.ts +1 -1
  44. package/src/{material.js → material.module.js} +1 -1
  45. package/src/material.module.js.map +1 -0
  46. package/src/media-selector/media-selector.component.css +12 -0
  47. package/src/media-selector/media-selector.component.css.map +1 -1
  48. package/src/media-selector/media-selector.component.js +1 -1
  49. package/src/media-selector/media-selector.component.js.map +1 -1
  50. package/src/media-selector/media-selector.component.min.css +1 -1
  51. package/src/media-selector/media-selector.component.min.js +1 -1
  52. package/src/media-selector/media-selector.component.scss +2 -0
  53. package/src/media-selector/media-selector.component.ts +1 -1
  54. package/src/selector/selector-autocomplete.component.html +4 -4
  55. package/src/selector/selector-autocomplete.component.min.html +1 -1
  56. package/src/selector/selector.component.css +60 -19
  57. package/src/selector/selector.component.css.map +1 -1
  58. package/src/selector/selector.component.html +12 -12
  59. package/src/selector/selector.component.js +12 -2
  60. package/src/selector/selector.component.js.map +1 -1
  61. package/src/selector/selector.component.min.css +1 -1
  62. package/src/selector/selector.component.min.html +1 -1
  63. package/src/selector/selector.component.min.js +1 -1
  64. package/src/selector/selector.component.scss +6 -2
  65. package/src/selector/selector.component.ts +13 -1
  66. package/src/test/test.directive.js +1 -1
  67. package/src/test/test.directive.js.map +1 -1
  68. package/src/test/test.directive.min.js +1 -1
  69. package/src/test/test.directive.ts +1 -1
  70. package/src/timezone-selector/timezone-selector.component.js +1 -1
  71. package/src/timezone-selector/timezone-selector.component.js.map +1 -1
  72. package/src/timezone-selector/timezone-selector.component.min.js +1 -1
  73. package/src/timezone-selector/timezone-selector.component.ts +1 -1
  74. package/src/tree/tree-dialog.component.html +293 -210
  75. package/src/tree/tree-dialog.component.js +5 -1
  76. package/src/tree/tree-dialog.component.js.map +1 -1
  77. package/src/tree/tree-dialog.component.min.html +3 -1
  78. package/src/tree/tree-dialog.component.min.js +1 -1
  79. package/src/tree/tree-dialog.component.ts +7 -2
  80. package/src/tree/tree-node.component.html +2 -2
  81. package/src/tree/tree-node.component.js +1 -1
  82. package/src/tree/tree-node.component.js.map +1 -1
  83. package/src/tree/tree-node.component.min.html +1 -1
  84. package/src/tree/tree-node.component.min.js +1 -1
  85. package/src/tree/tree-node.component.ts +1 -1
  86. package/src/tree/tree.component.css +16 -4
  87. package/src/tree/tree.component.css.map +1 -1
  88. package/src/tree/tree.component.html +2 -2
  89. package/src/tree/tree.component.js +3 -3
  90. package/src/tree/tree.component.js.map +1 -1
  91. package/src/tree/tree.component.min.css +1 -1
  92. package/src/tree/tree.component.min.html +1 -1
  93. package/src/tree/tree.component.min.js +1 -1
  94. package/src/tree/tree.component.scss +26 -17
  95. package/src/tree/tree.component.ts +3 -3
  96. package/src/angular.modules.js +0 -35
  97. package/src/angular.modules.js.map +0 -1
  98. package/src/angular.modules.min.js +0 -1
  99. package/src/angular.modules.ts +0 -24
  100. package/src/material.js.map +0 -1
  101. /package/src/{material.min.js → material.module.min.js} +0 -0
  102. /package/src/{material.ts → material.module.ts} +0 -0
@@ -96,7 +96,7 @@ System.register(["@angular/core", "@angular/forms", "@angular/cdk/drag-drop", "r
96
96
  this.styled = true;
97
97
  this.refresh().then();
98
98
  });
99
- this.hydrate(elementRef, sanitizer, ["title", "uid", "target", "targetSuffix", "id", "manifest", "decouple", "direct", "api", "urlRoot", "type", "property", "endpoint", "ignorePriority", "get", "has", "log", "Stratus", "selectCtrl", "registry", "fetched", "data", "collection", "model", "dataSub", "onChange", "subscriber", "svgIcons", "styled", "empty", "iconRegistry", "sanitizer", "ref", "elementRef", "drop", "goToUrl", "toggleStatus", "remove", "fetchData", "dataDefer", "dataRef", "onDataChange", "prioritize", "getSvg", "addSvgIcon", "hydrate", "disableRefresh", "stagger", "reloading", "refresh", "ngOnDestroy"]);
99
+ this.hydrate(elementRef, sanitizer, ["title", "uid", "target", "targetSuffix", "id", "manifest", "decouple", "direct", "api", "urlRoot", "type", "property", "endpoint", "ignorePriority", "get", "has", "log", "Stratus", "selectCtrl", "registry", "fetched", "data", "collection", "model", "dataSub", "onChange", "subscriber", "svgIcons", "styled", "empty", "iconRegistry", "sanitizer", "ref", "elementRef", "drop", "goToUrl", "toggleStatus", "remove", "fetchData", "dataDefer", "dataRef", "getString", "onDataChange", "prioritize", "getSvg", "addSvgIcon", "hydrate", "disableRefresh", "stagger", "reloading", "refresh", "ngOnDestroy"]);
100
100
  this.fetchData()
101
101
  .then(data => {
102
102
  if (!data || !(data instanceof eventManager_1.EventManager)) {
@@ -221,6 +221,16 @@ System.register(["@angular/core", "@angular/forms", "@angular/cdk/drag-drop", "r
221
221
  }
222
222
  return models;
223
223
  }
224
+ getString(object, property) {
225
+ if (!lodash_1.isObject(object)) {
226
+ return null;
227
+ }
228
+ const variable = lodash_1.get(object, property);
229
+ if (!lodash_1.isString(variable)) {
230
+ return null;
231
+ }
232
+ return variable;
233
+ }
224
234
  onDataChange() {
225
235
  this.prioritize();
226
236
  this.dataDefer(this.subscriber);
@@ -313,7 +323,7 @@ System.register(["@angular/core", "@angular/forms", "@angular/cdk/drag-drop", "r
313
323
  ], SelectorComponent.prototype, "ignorePriority", void 0);
314
324
  SelectorComponent = __decorate([
315
325
  core_1.Component({
316
- selector: `sa-${moduleName}`,
326
+ selector: `sa-internal-${moduleName}`,
317
327
  templateUrl: `${localDir}/${moduleName}/${moduleName}.component${min}.html`,
318
328
  }),
319
329
  __metadata("design:paramtypes", [icon_1.MatIconRegistry,
@@ -1 +1 @@
1
- {"version":3,"sources":["selector.component.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAgEM,SAAS,GAAG,oBAAoB,CAAA;YAChC,UAAU,GAAG,UAAU,CAAA;YAGvB,GAAG,GAAG,CAAC,oBAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,CA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ka7B;;QACD,CAAC","file":"selector.component.js"}
@@ -1 +1 @@
1
- .admin-select-content .content-type,.autocomplete-option .content-type,.sa-selector .content-type,.selected-box.cdk-drag-preview .content-type{margin-bottom:2px}.admin-select-content .content-type mat-icon,.admin-select-content .content-type md-icon,.autocomplete-option .content-type mat-icon,.autocomplete-option .content-type md-icon,.sa-selector .content-type mat-icon,.sa-selector .content-type md-icon,.selected-box.cdk-drag-preview .content-type mat-icon,.selected-box.cdk-drag-preview .content-type md-icon{margin-right:4px;height:14px;width:14px;min-height:14px;min-width:14px}.admin-select-content .content-type .content-type-name,.autocomplete-option .content-type .content-type-name,.sa-selector .content-type .content-type-name,.selected-box.cdk-drag-preview .content-type .content-type-name{font-weight:700;font-size:11px;text-transform:uppercase;letter-spacing:1px}.admin-select-content .no-image-icon mat-icon,.admin-select-content .no-image-icon md-icon,.autocomplete-option .no-image-icon mat-icon,.autocomplete-option .no-image-icon md-icon,.sa-selector .no-image-icon mat-icon,.sa-selector .no-image-icon md-icon,.selected-box.cdk-drag-preview .no-image-icon mat-icon,.selected-box.cdk-drag-preview .no-image-icon md-icon{height:28px;width:28px;min-height:28px;min-width:28px}.admin-select-content .no-image-icon mat-icon svg g,.admin-select-content .no-image-icon md-icon svg g,.autocomplete-option .no-image-icon mat-icon svg g,.autocomplete-option .no-image-icon md-icon svg g,.sa-selector .no-image-icon mat-icon svg g,.sa-selector .no-image-icon md-icon svg g,.selected-box.cdk-drag-preview .no-image-icon mat-icon svg g,.selected-box.cdk-drag-preview .no-image-icon md-icon svg g{fill:#fff}.admin-select-content .shapeholder,.autocomplete-option .shapeholder,.sa-selector .shapeholder,.selected-box.cdk-drag-preview .shapeholder{width:100%;display:block}.admin-select-content .column-title h3,.content-selector-autocomplete .column-title h3,.selected-box.cdk-drag-preview .column-title h3{margin:0 0 5px;font-size:16px}.content-selector,md-autocomplete{margin-top:12px}.selector-filter md-checkbox{padding-right:10px}.md-autocomplete-suggestions li{height:80px}.content-selector-autocomplete .autocomplete-row{padding:4px 0;border-bottom:1px solid rgba(0,0,0,.1)}.content-selector-autocomplete .autocomplete-row *{line-height:1.4}.content-selector-autocomplete .autocomplete-row .column-image .image-container{margin-right:18px}.content-selector-autocomplete .autocomplete-row h3{font-size:14px}.content-selector-autocomplete .autocomplete-row .routing{font-size:13px}.content-selector-autocomplete .selected .column-title,.content-selector-autocomplete .selected .image{opacity:.3}.content-selector-autocomplete .selected mat-icon.selected-icon,.content-selector-autocomplete .selected md-icon.selected-icon{z-index:5;height:40px;width:40px;min-height:40px;min-width:40px}.content-selector-autocomplete .selected mat-icon.selected-icon svg,.content-selector-autocomplete .selected md-icon.selected-icon svg{filter:drop-shadow(0 0 1px rgba(0, 0, 0, .5));-webkit-filter:drop-shadow(0 0 1px rgba(0, 0, 0, .5))}.content-selector-autocomplete .selected mat-icon.selected-icon svg g,.content-selector-autocomplete .selected md-icon.selected-icon svg g{fill:#fff}.selector-wrapper{background:rgba(255,255,255,.4);margin-top:20px;padding:40px}.selected-list{margin:0 auto;max-width:600px;min-height:60px;display:block;border-radius:4px;overflow:hidden}.selected-box{padding:12px 16px;color:rgba(0,0,0,.87);display:flex;flex-direction:row;align-items:center;justify-content:space-between;box-sizing:border-box;cursor:move;background:#fff;font-size:14px}.selected-box.cdk-drag-preview{box-sizing:border-box;border-radius:4px;box-shadow:2px 2px 4px rgba(0,0,0,.3)}.cdk-drag-animating{transition:transform 250ms cubic-bezier(0,0,.2,1)}.selected-box:last-child{border:none}.selected-list.cdk-drop-list-dragging .selected-box:not(.cdk-drag-placeholder){transition:transform 250ms cubic-bezier(0,0,.2,1)}.custom-ghost-placeholder{background:rgba(0,0,0,.4);min-height:60px;transition:transform 250ms cubic-bezier(0,0,.2,1)}.selected-box.cdk-drag-preview .column-action,.selected-box.cdk-drag-preview .column-image,.selected-box.cdk-drag-preview .column-title,sa-selector .column-action,sa-selector .column-image,sa-selector .column-title{float:left}sa-selector .column-image{width:15%;padding-right:10px}sa-selector .column-image .image,sa-selector .column-image .no-image-icon{margin-right:10px}sa-selector .column-title{width:60%;padding-right:10px}sa-selector .column-action{width:25%}sa-selector .column-action>*{display:inline-block;vertical-align:middle;margin-bottom:2px}sa-selector .column-action>:last-child{margin-bottom:0}.selected-box.cdk-drag-preview .column-image{width:15%}.selected-box.cdk-drag-preview .column-title{width:85%}sa-selector{margin:0 auto}sa-selector .routing{color:#333;font-size:13px}sa-selector .selected-list .selected-list-header{margin-bottom:20px;padding-bottom:20px}sa-selector .selected-list .selected-list-header .note,sa-selector .selected-list .selected-list-header h3{margin:0;display:inline-block;vertical-align:text-bottom;line-height:1.2}sa-selector .selected-list .selected-list-header .note{padding-left:10px}sa-selector .selected-list .selected-list-container{width:100%}sa-selector .selected-list .selected-list-row{margin-bottom:10px;padding:12px 16px;background:rgba(0,0,0,.04);border-radius:2px}sa-selector .selected-list .selected-list-row.inactive{background:#ddd}sa-selector .selected-list .selected-list-row.unpublished{background:#ddd}sa-selector .selected-list .btn.btn-delete,sa-selector .selected-list .btn.btn-edit,sa-selector .selected-list .btn.btn-status{float:right;width:35px;min-width:unset;height:35px;font-size:10px;margin-left:3px;padding:0;background:#fff;box-shadow:0 0 2px rgba(0,0,0,.3)}sa-selector .selected-list .btn.btn-delete:hover,sa-selector .selected-list .btn.btn-edit:hover,sa-selector .selected-list .btn.btn-status:hover{background:#fff;box-shadow:0 0 2px rgba(0,0,0,.8)}sa-selector .selected-list .btn.btn-delete svg,sa-selector .selected-list .btn.btn-edit svg,sa-selector .selected-list .btn.btn-status svg{margin:0 auto;width:60%}sa-selector .selected-list .btn.btn-delete svg g,sa-selector .selected-list .btn.btn-edit svg g,sa-selector .selected-list .btn.btn-status svg g{fill:#222}.firefox .btn.btn-delete svg,.firefox .btn.btn-delete svg g,.firefox .btn.btn-edit svg,.firefox .btn.btn-edit svg g{max-width:28px;max-height:28px}
1
+ .admin-select-content .content-type,.autocomplete-option .content-type,.sa-internal-selector .content-type,.sa-selector .content-type,.selected-box.cdk-drag-preview .content-type{margin-bottom:2px}.admin-select-content .content-type mat-icon,.admin-select-content .content-type md-icon,.autocomplete-option .content-type mat-icon,.autocomplete-option .content-type md-icon,.sa-internal-selector .content-type mat-icon,.sa-internal-selector .content-type md-icon,.sa-selector .content-type mat-icon,.sa-selector .content-type md-icon,.selected-box.cdk-drag-preview .content-type mat-icon,.selected-box.cdk-drag-preview .content-type md-icon{margin-right:4px;height:14px;width:14px;min-height:14px;min-width:14px}.admin-select-content .content-type .content-type-name,.autocomplete-option .content-type .content-type-name,.sa-internal-selector .content-type .content-type-name,.sa-selector .content-type .content-type-name,.selected-box.cdk-drag-preview .content-type .content-type-name{font-weight:700;font-size:11px;text-transform:uppercase;letter-spacing:1px}.admin-select-content .no-image-icon mat-icon,.admin-select-content .no-image-icon md-icon,.autocomplete-option .no-image-icon mat-icon,.autocomplete-option .no-image-icon md-icon,.sa-internal-selector .no-image-icon mat-icon,.sa-internal-selector .no-image-icon md-icon,.sa-selector .no-image-icon mat-icon,.sa-selector .no-image-icon md-icon,.selected-box.cdk-drag-preview .no-image-icon mat-icon,.selected-box.cdk-drag-preview .no-image-icon md-icon{height:28px;width:28px;min-height:28px;min-width:28px}.admin-select-content .no-image-icon mat-icon svg g,.admin-select-content .no-image-icon md-icon svg g,.autocomplete-option .no-image-icon mat-icon svg g,.autocomplete-option .no-image-icon md-icon svg g,.sa-internal-selector .no-image-icon mat-icon svg g,.sa-internal-selector .no-image-icon md-icon svg g,.sa-selector .no-image-icon mat-icon svg g,.sa-selector .no-image-icon md-icon svg g,.selected-box.cdk-drag-preview .no-image-icon mat-icon svg g,.selected-box.cdk-drag-preview .no-image-icon md-icon svg g{fill:#fff}.admin-select-content .shapeholder,.autocomplete-option .shapeholder,.sa-internal-selector .shapeholder,.sa-selector .shapeholder,.selected-box.cdk-drag-preview .shapeholder{width:100%;display:block}.admin-select-content .column-title h3,.content-selector-autocomplete .column-title h3,.selected-box.cdk-drag-preview .column-title h3{margin:0 0 5px;font-size:16px}.content-selector,md-autocomplete{margin-top:12px}.selector-filter md-checkbox{padding-right:10px}.md-autocomplete-suggestions li{height:80px}.content-selector-autocomplete .autocomplete-row{padding:4px 0;border-bottom:1px solid rgba(0,0,0,.1)}.content-selector-autocomplete .autocomplete-row *{line-height:1.4}.content-selector-autocomplete .autocomplete-row .column-image .image-container{margin-right:18px}.content-selector-autocomplete .autocomplete-row h3{font-size:14px}.content-selector-autocomplete .autocomplete-row .routing{font-size:13px}.content-selector-autocomplete .selected .column-title,.content-selector-autocomplete .selected .image{opacity:.3}.content-selector-autocomplete .selected mat-icon.selected-icon,.content-selector-autocomplete .selected md-icon.selected-icon{z-index:5;height:40px;width:40px;min-height:40px;min-width:40px}.content-selector-autocomplete .selected mat-icon.selected-icon svg,.content-selector-autocomplete .selected md-icon.selected-icon svg{filter:drop-shadow(0 0 1px rgba(0, 0, 0, .5));-webkit-filter:drop-shadow(0 0 1px rgba(0, 0, 0, .5))}.content-selector-autocomplete .selected mat-icon.selected-icon svg g,.content-selector-autocomplete .selected md-icon.selected-icon svg g{fill:#fff}.selector-wrapper{background:rgba(255,255,255,.4);margin-top:20px;padding:40px}.selected-list{margin:0 auto;max-width:600px;min-height:60px;display:block;border-radius:4px;overflow:hidden}.selected-box{padding:12px 16px;color:rgba(0,0,0,.87);display:flex;flex-direction:row;align-items:center;justify-content:space-between;box-sizing:border-box;cursor:move;background:#fff;font-size:14px}.selected-box.cdk-drag-preview{box-sizing:border-box;border-radius:4px;box-shadow:2px 2px 4px rgba(0,0,0,.3)}.cdk-drag-animating{transition:transform 250ms cubic-bezier(0,0,.2,1)}.selected-box:last-child{border:none}.selected-list.cdk-drop-list-dragging .selected-box:not(.cdk-drag-placeholder){transition:transform 250ms cubic-bezier(0,0,.2,1)}.custom-ghost-placeholder{background:rgba(0,0,0,.4);min-height:60px;transition:transform 250ms cubic-bezier(0,0,.2,1)}.selected-box.cdk-drag-preview .column-action,.selected-box.cdk-drag-preview .column-image,.selected-box.cdk-drag-preview .column-title,sa-internal-selector .column-action,sa-internal-selector .column-image,sa-internal-selector .column-title,sa-selector .column-action,sa-selector .column-image,sa-selector .column-title{float:left}sa-internal-selector .column-image,sa-selector .column-image{width:15%;padding-right:10px}sa-internal-selector .column-image .image,sa-internal-selector .column-image .no-image-icon,sa-selector .column-image .image,sa-selector .column-image .no-image-icon{margin-right:10px}sa-internal-selector .column-title,sa-selector .column-title{width:60%;padding-right:10px}sa-internal-selector .column-action,sa-selector .column-action{width:25%}sa-internal-selector .column-action>*,sa-selector .column-action>*{display:inline-block;vertical-align:middle;margin-bottom:2px}sa-internal-selector .column-action>:last-child,sa-selector .column-action>:last-child{margin-bottom:0}.selected-box.cdk-drag-preview .column-image{width:15%}.selected-box.cdk-drag-preview .column-title{width:85%}sa-internal-selector,sa-selector{margin:0 auto}sa-internal-selector .routing,sa-selector .routing{color:#333;font-size:13px}sa-internal-selector .selected-list .selected-list-header,sa-selector .selected-list .selected-list-header{margin-bottom:20px;padding-bottom:20px}sa-internal-selector .selected-list .selected-list-header .note,sa-internal-selector .selected-list .selected-list-header h3,sa-selector .selected-list .selected-list-header .note,sa-selector .selected-list .selected-list-header h3{margin:0;display:inline-block;vertical-align:text-bottom;line-height:1.2}sa-internal-selector .selected-list .selected-list-header .note,sa-selector .selected-list .selected-list-header .note{padding-left:10px}sa-internal-selector .selected-list .selected-list-container,sa-selector .selected-list .selected-list-container{width:100%}sa-internal-selector .selected-list .selected-list-row,sa-selector .selected-list .selected-list-row{margin-bottom:10px;padding:12px 16px;background:rgba(0,0,0,.04);border-radius:2px}sa-internal-selector .selected-list .selected-list-row.inactive,sa-selector .selected-list .selected-list-row.inactive{background:#ddd}sa-internal-selector .selected-list .selected-list-row.unpublished,sa-selector .selected-list .selected-list-row.unpublished{background:#ddd}sa-internal-selector .selected-list .btn.btn-delete,sa-internal-selector .selected-list .btn.btn-edit,sa-internal-selector .selected-list .btn.btn-status,sa-selector .selected-list .btn.btn-delete,sa-selector .selected-list .btn.btn-edit,sa-selector .selected-list .btn.btn-status{float:right;width:35px;min-width:unset;height:35px;font-size:10px;margin-left:3px;padding:0;background:#fff;box-shadow:0 0 2px rgba(0,0,0,.3)}sa-internal-selector .selected-list .btn.btn-delete:hover,sa-internal-selector .selected-list .btn.btn-edit:hover,sa-internal-selector .selected-list .btn.btn-status:hover,sa-selector .selected-list .btn.btn-delete:hover,sa-selector .selected-list .btn.btn-edit:hover,sa-selector .selected-list .btn.btn-status:hover{background:#fff;box-shadow:0 0 2px rgba(0,0,0,.8)}sa-internal-selector .selected-list .btn.btn-delete svg,sa-internal-selector .selected-list .btn.btn-edit svg,sa-internal-selector .selected-list .btn.btn-status svg,sa-selector .selected-list .btn.btn-delete svg,sa-selector .selected-list .btn.btn-edit svg,sa-selector .selected-list .btn.btn-status svg{margin:0 auto;width:60%}sa-internal-selector .selected-list .btn.btn-delete svg g,sa-internal-selector .selected-list .btn.btn-edit svg g,sa-internal-selector .selected-list .btn.btn-status svg g,sa-selector .selected-list .btn.btn-delete svg g,sa-selector .selected-list .btn.btn-edit svg g,sa-selector .selected-list .btn.btn-status svg g{fill:#222}.firefox .btn.btn-delete svg,.firefox .btn.btn-delete svg g,.firefox .btn.btn-edit svg,.firefox .btn.btn-edit svg g{max-width:28px;max-height:28px}
@@ -1 +1 @@
1
- <mat-progress-bar mode="indeterminate" *ngIf="!styled"></mat-progress-bar><ng-template #emptyList><div class="selected-list-header border-default border-default-bottom"><h3 [textContent]="'Selected ' + (type || 'Items')"></h3></div><div class="selected-message-box">Nothing has been selected.</div></ng-template><div class="selected-list" *ngIf="styled"><div class="selected-list-header border-default border-default-bottom" *ngIf="!empty; else emptyList"><h3 [textContent]="'Selected ' + (type || 'Items')"></h3><p class="note">Drag to reorder</p></div><div cdkDropList (cdkDropListDropped)="drop($event)"><div cdkDrag class="selected-list-row selected-box" [ngClass]="{'active': get(selectedModel, 'status') === 1, 'inactive' : get(selectedModel, 'status') !== 1, 'published': get(selectedModel, 'version.published') === 1, 'unpublished': get(selectedModel, 'version.published') !== 1}" *ngFor="let selectedModel of dataSub | async"><div class="custom-ghost-placeholder" *cdkDragPlaceholder></div><div class="selected-list-container"><div class="column-image position-anchor"><div class="image position-all" *ngIf="has(selectedModel, 'version.bestImage._thumbnailUrl')" [attr.data-stratus-src]="!get(selectedModel, 'version.bestImage.service') ? true : false" [ngStyle]="{'background': 'url(' + get(selectedModel, 'version.bestImage._thumbnailUrl') + ') no-repeat center center', 'background-size': 'cover'}"></div><div class="no-image-icon position-all" *ngIf="!has(selectedModel, 'version.bestImage._thumbnailUrl')" [ngClass]="get(selectedModel, 'contentType.class') + '-background-color'"><mat-icon class="content-type-icon position-center" [svgIcon]="getSvg(Stratus.BaseUrl + (get(selectedModel, 'contentType.iconResourcePath') || get(selectedModel, 'iconResourcePath'))) | async">Icon</mat-icon></div><img class="shapeholder" [src]="Stratus.BaseUrl + 'sitetheorycore/images/shapeholder-square.png'"></div><div class="column-title"><div class="content-type" *ngIf="has(selectedModel, 'contentType.iconResourcePath')"><mat-icon class="content-type-icon" [svgIcon]="getSvg(Stratus.BaseUrl + get(selectedModel, 'contentType.iconResourcePath')) | async">ContentType Icon</mat-icon><span class="comment content-type-name font-body" [ngClass]="((get(selectedModel, 'contentType.name') || get(selectedModel, 'name')) | lowercase) + '-color'" [textContent]="(get(selectedModel, 'contentType.name') || get(selectedModel, 'name')) + ((get(selectedModel, 'status') !== 1) ? ' (hidden)' : '') + ((get(selectedModel, 'version.published') !== 1) ? ' (unpublished)' : '')"></span></div><h3 [innerHTML]="get(selectedModel, 'version.bestIdentifier') || get(selectedModel, 'name') || (get(selectedModel, 'contentType.controller') === 'Content\\Module' ? get(selectedModel, 'version.internalIdentifier') : 'Untitled ' + get(selectedModel, 'contentType.name') + ' (' + get(selectedModel, 'id') + ')')"></h3><span class="routing" [textContent]="(has(selectedModel, 'routing') ? '/' + get(selectedModel, 'routing[0].url') : null) || get(selectedModel, 'description') || ''"></span></div><div class="column-action"><a mat-button [matTooltip]="'Delete ' + (get(selectedModel, 'contentType.name') || get(selectedModel, 'name')) + ' [THIS COLLECTION ONLY]'" aria-label="Delete Item" class="btn btn-delete" (click)="remove(selectedModel)"><mat-icon svgIcon="selector_delete" aria-hidden="false" aria-label="Delete Item">Delete</mat-icon></a><a mat-button [matTooltip]="'Toggle ' + (get(selectedModel, 'contentType.name') || get(selectedModel, 'name')) + ' Status ' + (get(selectedModel, 'status') ? 'Off' : 'On') + ' [ALL CONTEXTS]'" aria-label="Toggle Status" class="btn btn-status" (click)="toggleStatus(selectedModel)"><mat-icon svgIcon="selector_status" aria-hidden="false" aria-label="Toggle Status">Toggle Status</mat-icon></a><a mat-button *ngIf="has(selectedModel, 'contentType.editUrl')" [matTooltip]="'Edit ' + (get(selectedModel, 'contentType.name') || get(selectedModel, 'name'))" aria-label="Edit Item in New Window" class="btn btn-edit" (click)="goToUrl(selectedModel, '_blank');"><mat-icon svgIcon="selector_edit" aria-hidden="false" aria-label="Edit">Edit</mat-icon></a></div></div></div></div></div>
1
+ <mat-progress-bar mode="indeterminate" *ngIf="!styled"></mat-progress-bar><ng-template #emptyList><div class="selected-list-header border-default border-default-bottom"><h3 [textContent]="'Selected ' + (type || 'Items')"></h3></div><div class="selected-message-box">Nothing has been selected.</div></ng-template><div class="selected-list" *ngIf="styled"><div class="selected-list-header border-default border-default-bottom" *ngIf="!empty; else emptyList"><h3 [textContent]="'Selected ' + (type || 'Items')"></h3><p class="note">Drag to reorder</p></div><div cdkDropList (cdkDropListDropped)="drop($event)"><div cdkDrag class="selected-list-row selected-box" [ngClass]="{'active': get(selectedModel, 'status') === 1, 'inactive' : get(selectedModel, 'status') !== 1, 'published': get(selectedModel, 'version.published') === 1, 'unpublished': get(selectedModel, 'version.published') !== 1}" *ngFor="let selectedModel of dataSub | async"><div class="custom-ghost-placeholder" *cdkDragPlaceholder></div><div class="selected-list-container"><div class="column-image position-anchor"><div class="image position-all" *ngIf="has(selectedModel, 'version.bestImage._thumbnailUrl')" [attr.data-stratus-src]="!get(selectedModel, 'version.bestImage.service') ? true : false" [ngStyle]="{'background': 'url(' + getString(selectedModel, 'version.bestImage._thumbnailUrl') + ') no-repeat center center', 'background-size': 'cover'}"></div><div class="no-image-icon position-all" *ngIf="!has(selectedModel, 'version.bestImage._thumbnailUrl')" [ngClass]="getString(selectedModel, 'contentType.class') + '-background-color'"><mat-icon class="content-type-icon position-center" [svgIcon]="getSvg(Stratus.BaseUrl + (getString(selectedModel, 'contentType.iconResourcePath') || getString(selectedModel, 'iconResourcePath'))) | async">Icon</mat-icon></div><img class="shapeholder" [src]="Stratus.BaseUrl + 'sitetheorycore/images/shapeholder-square.png'"></div><div class="column-title"><div class="content-type" *ngIf="has(selectedModel, 'contentType.iconResourcePath')"><mat-icon class="content-type-icon" [svgIcon]="getSvg(Stratus.BaseUrl + getString(selectedModel, 'contentType.iconResourcePath')) | async">ContentType Icon</mat-icon><span class="comment content-type-name font-body" [ngClass]="((getString(selectedModel, 'contentType.name') || getString(selectedModel, 'name')) | lowercase) + '-color'" [textContent]="(getString(selectedModel, 'contentType.name') || getString(selectedModel, 'name')) + ((get(selectedModel, 'status') !== 1) ? ' (hidden)' : '') + ((get(selectedModel, 'version.published') !== 1) ? ' (unpublished)' : '')"></span></div><h3 [innerHTML]="getString(selectedModel, 'version.bestIdentifier') || getString(selectedModel, 'name') || (get(selectedModel, 'contentType.controller') === 'Content\\Module' ? getString(selectedModel, 'version.internalIdentifier') : 'Untitled ' + getString(selectedModel, 'contentType.name') + ' (' + get(selectedModel, 'id') + ')')"></h3><span class="routing" [textContent]="(has(selectedModel, 'routing') ? '/' + getString(selectedModel, 'routing[0].url') : null) || getString(selectedModel, 'description') || ''"></span></div><div class="column-action"><a mat-button [matTooltip]="'Delete ' + (getString(selectedModel, 'contentType.name') || getString(selectedModel, 'name')) + ' [THIS COLLECTION ONLY]'" aria-label="Delete Item" class="btn btn-delete" (click)="remove(selectedModel)"><mat-icon svgIcon="selector_delete" aria-hidden="false" aria-label="Delete Item">Delete</mat-icon></a><a mat-button [matTooltip]="'Toggle ' + (getString(selectedModel, 'contentType.name') || getString(selectedModel, 'name')) + ' Status ' + (get(selectedModel, 'status') ? 'Off' : 'On') + ' [ALL CONTEXTS]'" aria-label="Toggle Status" class="btn btn-status" (click)="toggleStatus(selectedModel)"><mat-icon svgIcon="selector_status" aria-hidden="false" aria-label="Toggle Status">Toggle Status</mat-icon></a><a mat-button *ngIf="has(selectedModel, 'contentType.editUrl')" [matTooltip]="'Edit ' + (getString(selectedModel, 'contentType.name') || getString(selectedModel, 'name'))" aria-label="Edit Item in New Window" class="btn btn-edit" (click)="goToUrl(selectedModel, '_blank');"><mat-icon svgIcon="selector_edit" aria-hidden="false" aria-label="Edit">Edit</mat-icon></a></div></div></div></div></div>
@@ -1 +1 @@
1
- System.register(["@angular/core","@angular/forms","@angular/cdk/drag-drop","rxjs","@angular/platform-browser","@angular/material/icon","@stratusjs/runtime/stratus","lodash","@stratusjs/core/environment","../core/root.component","@stratusjs/angularjs/services/registry","@stratusjs/core/events/eventManager","@stratusjs/core/datastore/xhr"],function(t,e){"use strict";var r,s,o,i,n,a,c,d,h,u,l,g,p,f,y,m,v,S,b=this&&this.__decorate||function(t,e,r,s){var o,i=arguments.length,n=i<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,r):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,r,s);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(n=(i<3?o(n):i>3?o(e,r,n):o(e,r))||n);return i>3&&n&&Object.defineProperty(e,r,n),n},I=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};e&&e.id;return{setters:[function(t){r=t},function(t){s=t},function(t){o=t},function(t){i=t},function(t){n=t},function(t){a=t},function(t){c=t},function(t){d=t},function(t){h=t},function(t){u=t},function(t){l=t},function(t){g=t},function(t){p=t}],execute:function(){"@stratusjs/angular",f="selector",y=h.cookie("env")?"":".min",m=`${c.Stratus.BaseUrl}${boot.configuration.paths["@stratusjs/angular/*"].replace(/[^/]*$/,"").replace(/\/dist\/$/,"/src/")}`,v=(t,e)=>d.has(t,e)&&!d.isEmpty(d.get(t,e)),S=class extends u.RootComponent{constructor(t,e,r,o){super(),this.iconRegistry=t,this.sanitizer=e,this.ref=r,this.elementRef=o,this.title=f+"_component",this.get=d.get,this.has=v,this.log=console.log,this.Stratus=c.Stratus,this.selectCtrl=new s.FormControl,this.registry=new l.Registry,this.onChange=new i.Subject,this.svgIcons={},this.styled=!1,this.empty=!1,this.uid=d.uniqueId(`sa_${d.snakeCase(f)}_component_`),c.Stratus.Instances[this.uid]=this,this.dataSub=new i.Observable(t=>this.dataDefer(t)),d.forEach({selector_delete:`${c.Stratus.BaseUrl}sitetheorycore/images/icons/actionButtons/delete.svg`,selector_status:`${c.Stratus.BaseUrl}sitetheorycore/images/icons/actionButtons/visibility.svg`,selector_edit:`${c.Stratus.BaseUrl}sitetheorycore/images/icons/actionButtons/edit.svg`},(r,s)=>t.addSvgIcon(s,e.bypassSecurityTrustResourceUrl(r)).getNamedSvgIcon(s)),c.Stratus.Internals.CssLoader(`${m}${f}/${f}.component${y}.css`).then(()=>{this.styled=!0,this.refresh().then()}).catch(t=>{console.warn("Issue detected in CSS Loader for Component:",this),console.error(t),this.styled=!0,this.refresh().then()}),this.hydrate(o,e,["title","uid","target","targetSuffix","id","manifest","decouple","direct","api","urlRoot","type","property","endpoint","ignorePriority","get","has","log","Stratus","selectCtrl","registry","fetched","data","collection","model","dataSub","onChange","subscriber","svgIcons","styled","empty","iconRegistry","sanitizer","ref","elementRef","drop","goToUrl","toggleStatus","remove","fetchData","dataDefer","dataRef","onDataChange","prioritize","getSvg","addSvgIcon","hydrate","disableRefresh","stagger","reloading","refresh","ngOnDestroy"]),this.fetchData().then(t=>{if(!(t&&t instanceof g.EventManager))return void console.warn("Unable to bind data from Registry!");const e=()=>{t.completed&&(this.dataDefer(this.subscriber),this.prioritize(),this.refresh().then())};t.on("change",e),e()})}drop(t){const e=this.dataRef();if(e&&e.length){if(o.moveItemInArray(e,t.previousIndex,t.currentIndex),!this.ignorePriority){let t=0;d.forEach(e,e=>e.priority=t++)}this.model.trigger("change")}}goToUrl(t){t&&t.contentType?window.open(t.contentType.editUrl+"?id="+t.id,"_blank"):console.error("unable to execute goToUrl() because a valid model content was not provided.")}toggleStatus(t){let e={};d.isUndefined(this.data)||(e=d.get(this.data,"meta.data.api"));const r=t.status;t.status=1===r?0:1;new p.XHR({method:"PUT",url:"/Api/Content/"+t.id,data:{route:{},meta:e,payload:{status:t.status}},type:"application/json"}).send().then(e=>{if(!d.isObject(e)||"SUCCESS"!==d.get(e,"meta.status[0].code"))return console.error("error[toggleStatus]:",e),t.status=r,void this.refresh().then()}).catch(e=>{console.error("error[toggleStatus]:",e),t.status=r,this.refresh().then()})}remove(t){const e=this.dataRef();if(!e||!e.length)return console.error("unable to remove model from selection:",e),void this.refresh().then();let r=e.indexOf(t);if(-1===r){const s=e.map(e=>t.id===e.id?e:null).filter(t=>t);d.isArray(s)&&s.length&&(r=e.indexOf(d.head(s)))}-1!==r?(e.splice(r,1),this.model.trigger("change")):console.error("unable to find model:",t,"in selection:",e)}fetchData(){return this.fetched?this.fetched:this.fetched=this.registry.fetch(c.Stratus.Select(this.elementRef.nativeElement),this)}dataDefer(t){if(this.subscriber=this.subscriber||t,!this.subscriber||!this.model||!this.model.completed)return void setTimeout(()=>{this.dataDefer(t)},500);const e=this.dataRef();this.empty=!e.length,this.subscriber.next(e),this.refresh().then()}dataRef(){if(!this.model)return[];const t=this.model.get(this.property);return t&&d.isArray(t)?t:[]}onDataChange(){this.prioritize(),this.dataDefer(this.subscriber),this.refresh().then()}prioritize(){const t=this.dataRef();if(t&&t.length&&!this.ignorePriority){let e=0;d.forEach(t,t=>t.priority=e++)}}getSvg(t,e){const r=this.addSvgIcon(t,e);return new i.Observable(e=>{this.iconRegistry.getNamedSvgIcon(r).subscribe({error(e){console.error(`getSvg(${t}): ${e}`)},complete(){e.next(r)}})})}addSvgIcon(t,e){if(t in this.svgIcons)return this.svgIcons[t];e||(e={});const r=this.svgIcons[t]=d.uniqueId("selector_svg");return this.iconRegistry.addSvgIcon(r,this.sanitizer.bypassSecurityTrustResourceUrl(t),e),r}},b([r.Input(),I("design:type",String)],S.prototype,"target",void 0),b([r.Input(),I("design:type",String)],S.prototype,"targetSuffix",void 0),b([r.Input(),I("design:type",Number)],S.prototype,"id",void 0),b([r.Input(),I("design:type",Boolean)],S.prototype,"manifest",void 0),b([r.Input(),I("design:type",Boolean)],S.prototype,"decouple",void 0),b([r.Input(),I("design:type",Boolean)],S.prototype,"direct",void 0),b([r.Input(),I("design:type",Object)],S.prototype,"api",void 0),b([r.Input(),I("design:type",String)],S.prototype,"urlRoot",void 0),b([r.Input(),I("design:type",String)],S.prototype,"type",void 0),b([r.Input(),I("design:type",String)],S.prototype,"property",void 0),b([r.Input(),I("design:type",String)],S.prototype,"endpoint",void 0),b([r.Input(),I("design:type",Boolean)],S.prototype,"ignorePriority",void 0),S=b([r.Component({selector:`sa-${f}`,templateUrl:`${m}/${f}/${f}.component${y}.html`}),I("design:paramtypes",[a.MatIconRegistry,n.DomSanitizer,r.ChangeDetectorRef,r.ElementRef])],S),t("SelectorComponent",S)}}});
1
+ System.register(["@angular/core","@angular/forms","@angular/cdk/drag-drop","rxjs","@angular/platform-browser","@angular/material/icon","@stratusjs/runtime/stratus","lodash","@stratusjs/core/environment","../core/root.component","@stratusjs/angularjs/services/registry","@stratusjs/core/events/eventManager","@stratusjs/core/datastore/xhr"],function(t,e){"use strict";var r,s,o,i,n,a,c,d,h,l,u,g,p,f,y,m,v,S,b=this&&this.__decorate||function(t,e,r,s){var o,i=arguments.length,n=i<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,r):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,r,s);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(n=(i<3?o(n):i>3?o(e,r,n):o(e,r))||n);return i>3&&n&&Object.defineProperty(e,r,n),n},I=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};e&&e.id;return{setters:[function(t){r=t},function(t){s=t},function(t){o=t},function(t){i=t},function(t){n=t},function(t){a=t},function(t){c=t},function(t){d=t},function(t){h=t},function(t){l=t},function(t){u=t},function(t){g=t},function(t){p=t}],execute:function(){"@stratusjs/angular",f="selector",y=h.cookie("env")?"":".min",m=`${c.Stratus.BaseUrl}${boot.configuration.paths["@stratusjs/angular/*"].replace(/[^/]*$/,"").replace(/\/dist\/$/,"/src/")}`,v=(t,e)=>d.has(t,e)&&!d.isEmpty(d.get(t,e)),S=class extends l.RootComponent{constructor(t,e,r,o){super(),this.iconRegistry=t,this.sanitizer=e,this.ref=r,this.elementRef=o,this.title=f+"_component",this.get=d.get,this.has=v,this.log=console.log,this.Stratus=c.Stratus,this.selectCtrl=new s.FormControl,this.registry=new u.Registry,this.onChange=new i.Subject,this.svgIcons={},this.styled=!1,this.empty=!1,this.uid=d.uniqueId(`sa_${d.snakeCase(f)}_component_`),c.Stratus.Instances[this.uid]=this,this.dataSub=new i.Observable(t=>this.dataDefer(t)),d.forEach({selector_delete:`${c.Stratus.BaseUrl}sitetheorycore/images/icons/actionButtons/delete.svg`,selector_status:`${c.Stratus.BaseUrl}sitetheorycore/images/icons/actionButtons/visibility.svg`,selector_edit:`${c.Stratus.BaseUrl}sitetheorycore/images/icons/actionButtons/edit.svg`},(r,s)=>t.addSvgIcon(s,e.bypassSecurityTrustResourceUrl(r)).getNamedSvgIcon(s)),c.Stratus.Internals.CssLoader(`${m}${f}/${f}.component${y}.css`).then(()=>{this.styled=!0,this.refresh().then()}).catch(t=>{console.warn("Issue detected in CSS Loader for Component:",this),console.error(t),this.styled=!0,this.refresh().then()}),this.hydrate(o,e,["title","uid","target","targetSuffix","id","manifest","decouple","direct","api","urlRoot","type","property","endpoint","ignorePriority","get","has","log","Stratus","selectCtrl","registry","fetched","data","collection","model","dataSub","onChange","subscriber","svgIcons","styled","empty","iconRegistry","sanitizer","ref","elementRef","drop","goToUrl","toggleStatus","remove","fetchData","dataDefer","dataRef","getString","onDataChange","prioritize","getSvg","addSvgIcon","hydrate","disableRefresh","stagger","reloading","refresh","ngOnDestroy"]),this.fetchData().then(t=>{if(!(t&&t instanceof g.EventManager))return void console.warn("Unable to bind data from Registry!");const e=()=>{t.completed&&(this.dataDefer(this.subscriber),this.prioritize(),this.refresh().then())};t.on("change",e),e()})}drop(t){const e=this.dataRef();if(e&&e.length){if(o.moveItemInArray(e,t.previousIndex,t.currentIndex),!this.ignorePriority){let t=0;d.forEach(e,e=>e.priority=t++)}this.model.trigger("change")}}goToUrl(t){t&&t.contentType?window.open(t.contentType.editUrl+"?id="+t.id,"_blank"):console.error("unable to execute goToUrl() because a valid model content was not provided.")}toggleStatus(t){let e={};d.isUndefined(this.data)||(e=d.get(this.data,"meta.data.api"));const r=t.status;t.status=1===r?0:1;new p.XHR({method:"PUT",url:"/Api/Content/"+t.id,data:{route:{},meta:e,payload:{status:t.status}},type:"application/json"}).send().then(e=>{if(!d.isObject(e)||"SUCCESS"!==d.get(e,"meta.status[0].code"))return console.error("error[toggleStatus]:",e),t.status=r,void this.refresh().then()}).catch(e=>{console.error("error[toggleStatus]:",e),t.status=r,this.refresh().then()})}remove(t){const e=this.dataRef();if(!e||!e.length)return console.error("unable to remove model from selection:",e),void this.refresh().then();let r=e.indexOf(t);if(-1===r){const s=e.map(e=>t.id===e.id?e:null).filter(t=>t);d.isArray(s)&&s.length&&(r=e.indexOf(d.head(s)))}-1!==r?(e.splice(r,1),this.model.trigger("change")):console.error("unable to find model:",t,"in selection:",e)}fetchData(){return this.fetched?this.fetched:this.fetched=this.registry.fetch(c.Stratus.Select(this.elementRef.nativeElement),this)}dataDefer(t){if(this.subscriber=this.subscriber||t,!this.subscriber||!this.model||!this.model.completed)return void setTimeout(()=>{this.dataDefer(t)},500);const e=this.dataRef();this.empty=!e.length,this.subscriber.next(e),this.refresh().then()}dataRef(){if(!this.model)return[];const t=this.model.get(this.property);return t&&d.isArray(t)?t:[]}getString(t,e){if(!d.isObject(t))return null;const r=d.get(t,e);return d.isString(r)?r:null}onDataChange(){this.prioritize(),this.dataDefer(this.subscriber),this.refresh().then()}prioritize(){const t=this.dataRef();if(t&&t.length&&!this.ignorePriority){let e=0;d.forEach(t,t=>t.priority=e++)}}getSvg(t,e){const r=this.addSvgIcon(t,e);return new i.Observable(e=>{this.iconRegistry.getNamedSvgIcon(r).subscribe({error(e){console.error(`getSvg(${t}): ${e}`)},complete(){e.next(r)}})})}addSvgIcon(t,e){if(t in this.svgIcons)return this.svgIcons[t];e||(e={});const r=this.svgIcons[t]=d.uniqueId("selector_svg");return this.iconRegistry.addSvgIcon(r,this.sanitizer.bypassSecurityTrustResourceUrl(t),e),r}},b([r.Input(),I("design:type",String)],S.prototype,"target",void 0),b([r.Input(),I("design:type",String)],S.prototype,"targetSuffix",void 0),b([r.Input(),I("design:type",Number)],S.prototype,"id",void 0),b([r.Input(),I("design:type",Boolean)],S.prototype,"manifest",void 0),b([r.Input(),I("design:type",Boolean)],S.prototype,"decouple",void 0),b([r.Input(),I("design:type",Boolean)],S.prototype,"direct",void 0),b([r.Input(),I("design:type",Object)],S.prototype,"api",void 0),b([r.Input(),I("design:type",String)],S.prototype,"urlRoot",void 0),b([r.Input(),I("design:type",String)],S.prototype,"type",void 0),b([r.Input(),I("design:type",String)],S.prototype,"property",void 0),b([r.Input(),I("design:type",String)],S.prototype,"endpoint",void 0),b([r.Input(),I("design:type",Boolean)],S.prototype,"ignorePriority",void 0),S=b([r.Component({selector:`sa-internal-${f}`,templateUrl:`${m}/${f}/${f}.component${y}.html`}),I("design:paramtypes",[a.MatIconRegistry,n.DomSanitizer,r.ChangeDetectorRef,r.ElementRef])],S),t("SelectorComponent",S)}}});
@@ -4,6 +4,7 @@
4
4
  .admin-select-content,
5
5
  .autocomplete-option,
6
6
  .sa-selector,
7
+ .sa-internal-selector,
7
8
  .selected-box.cdk-drag-preview {
8
9
  .content-type {
9
10
  margin-bottom: 2px;
@@ -159,6 +160,7 @@ md-autocomplete,
159
160
 
160
161
 
161
162
  sa-selector,
163
+ sa-internal-selector,
162
164
  .selected-box.cdk-drag-preview {
163
165
  .column-image,
164
166
  .column-title,
@@ -167,7 +169,8 @@ sa-selector,
167
169
  }
168
170
  }
169
171
 
170
- sa-selector {
172
+ sa-selector,
173
+ sa-internal-selector {
171
174
  .column-image {
172
175
  width: 15%;
173
176
  padding-right: 10px;
@@ -203,7 +206,8 @@ sa-selector {
203
206
 
204
207
 
205
208
 
206
- sa-selector {
209
+ sa-selector,
210
+ sa-internal-selector {
207
211
  margin: 0 auto;
208
212
  .routing {
209
213
  color: #333;
@@ -37,6 +37,7 @@ import {
37
37
  isArray,
38
38
  isEmpty,
39
39
  isObject,
40
+ isString,
40
41
  isUndefined,
41
42
  snakeCase,
42
43
  uniqueId
@@ -82,7 +83,7 @@ const hasNotEmpty = (object: object, path: string) => has(object, path) && !isEm
82
83
  */
83
84
  @Component({
84
85
  // selector: 'sa-selector-component',
85
- selector: `sa-${moduleName}`,
86
+ selector: `sa-internal-${moduleName}`,
86
87
  templateUrl: `${localDir}/${moduleName}/${moduleName}.component${min}.html`,
87
88
  // FIXME: This doesn't work, as it seems Angular attempts to use a System.js import instead of their own, so it will
88
89
  // require the steal-css module
@@ -393,6 +394,17 @@ export class SelectorComponent extends RootComponent { // implements OnInit, OnC
393
394
  return models
394
395
  }
395
396
 
397
+ getString(object: unknown, property: string): string|null {
398
+ if (!isObject(object)) {
399
+ return null
400
+ }
401
+ const variable = get(object, property)
402
+ if (!isString(variable)) {
403
+ return null
404
+ }
405
+ return variable
406
+ }
407
+
396
408
  // selectedModel (observer: any) : any {
397
409
  // if (!this.data) {
398
410
  // this.fetchData().then(function (data: any) {
@@ -56,7 +56,7 @@ System.register(["@angular/core", "@stratusjs/runtime/stratus", "lodash"], funct
56
56
  ], TestDirective.prototype, "onMouseLeave", null);
57
57
  TestDirective = __decorate([
58
58
  core_1.Directive({
59
- selector: `[sa-${moduleName}]`
59
+ selector: `[sa-internal-${moduleName}]`
60
60
  }),
61
61
  __metadata("design:paramtypes", [core_1.ElementRef])
62
62
  ], TestDirective);
@@ -1 +1 @@
1
- {"version":3,"sources":["test.directive.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;YAgBM,UAAU,GAAG,MAAM,CAAA;YAMZ,aAAa,GAAnB,MAAM,aAAa;gBAKtB,YAAoB,EAAc;oBAAd,OAAE,GAAF,EAAE,CAAY;oBAK9B,IAAI,CAAC,GAAG,GAAG,gBAAC,CAAC,QAAQ,CAAC,MAAM,UAAU,aAAa,CAAC,CAAA;oBACpD,iBAAO,CAAC,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,IAAI,CAAA;oBAElC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,kBAAkB,EAAE,IAAI,CAAC,EAAE,CAAC,CAAA;gBAkBvD,CAAC;gBAE2B,YAAY;oBACpC,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAA;gBAC5B,CAAC;gBAE2B,YAAY;oBACpC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAA;gBACxB,CAAC;gBAEO,SAAS,CAAC,KAAa;oBAC3B,IAAI,CAAC,EAAE,CAAC,aAAa,CAAC,KAAK,CAAC,eAAe,GAAG,KAAK,CAAA;gBACvD,CAAC;aACJ,CAAA;YAXG;gBAAC,mBAAY,CAAC,YAAY,CAAC;;;;6DAE1B;YAED;gBAAC,mBAAY,CAAC,YAAY,CAAC;;;;6DAE1B;YAvCQ,aAAa;gBAJzB,gBAAS,CAAC;oBACP,QAAQ,EAAE,OAAO,UAAU,GAAG;iBACjC,CAAC;iDAO0B,iBAAU;eALzB,aAAa,CA4CzB;;QACD,CAAC","file":"test.directive.js"}
1
+ {"version":3,"sources":["test.directive.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;YAgBM,UAAU,GAAG,MAAM,CAAA;YAMZ,aAAa,GAAnB,MAAM,aAAa;gBAKtB,YAAoB,EAAc;oBAAd,OAAE,GAAF,EAAE,CAAY;oBAK9B,IAAI,CAAC,GAAG,GAAG,gBAAC,CAAC,QAAQ,CAAC,MAAM,UAAU,aAAa,CAAC,CAAA;oBACpD,iBAAO,CAAC,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,IAAI,CAAA;oBAElC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,kBAAkB,EAAE,IAAI,CAAC,EAAE,CAAC,CAAA;gBAkBvD,CAAC;gBAE2B,YAAY;oBACpC,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAA;gBAC5B,CAAC;gBAE2B,YAAY;oBACpC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAA;gBACxB,CAAC;gBAEO,SAAS,CAAC,KAAa;oBAC3B,IAAI,CAAC,EAAE,CAAC,aAAa,CAAC,KAAK,CAAC,eAAe,GAAG,KAAK,CAAA;gBACvD,CAAC;aACJ,CAAA;YAXG;gBAAC,mBAAY,CAAC,YAAY,CAAC;;;;6DAE1B;YAED;gBAAC,mBAAY,CAAC,YAAY,CAAC;;;;6DAE1B;YAvCQ,aAAa;gBAJzB,gBAAS,CAAC;oBACP,QAAQ,EAAE,gBAAgB,UAAU,GAAG;iBAC1C,CAAC;iDAO0B,iBAAU;eALzB,aAAa,CA4CzB;;QACD,CAAC","file":"test.directive.js"}
@@ -1 +1 @@
1
- System.register(["@angular/core","@stratusjs/runtime/stratus","lodash"],function(e,t){"use strict";var n,s,i,o,r,u=this&&this.__decorate||function(e,t,n,s){var i,o=arguments.length,r=o<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,n):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,n,s);else for(var u=e.length-1;u>=0;u--)(i=e[u])&&(r=(o<3?i(r):o>3?i(t,n,r):i(t,n))||r);return o>3&&r&&Object.defineProperty(t,n,r),r},a=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};t&&t.id;return{setters:[function(e){n=e},function(e){s=e},function(e){i=e}],execute:function(){o="test",r=class{constructor(e){this.el=e,this.uid=i.default.uniqueId(`sa_${o}_directive_`),s.Stratus.Instances[this.uid]=this,console.warn(this.uid,"has been load to",this.el)}onMouseEnter(){this.highlight("yellow")}onMouseLeave(){this.highlight(null)}highlight(e){this.el.nativeElement.style.backgroundColor=e}},u([n.HostListener("mouseenter"),a("design:type",Function),a("design:paramtypes",[]),a("design:returntype",void 0)],r.prototype,"onMouseEnter",null),u([n.HostListener("mouseleave"),a("design:type",Function),a("design:paramtypes",[]),a("design:returntype",void 0)],r.prototype,"onMouseLeave",null),r=u([n.Directive({selector:`[sa-${o}]`}),a("design:paramtypes",[n.ElementRef])],r),e("TestDirective",r)}}});
1
+ System.register(["@angular/core","@stratusjs/runtime/stratus","lodash"],function(e,t){"use strict";var n,i,s,o,r,a=this&&this.__decorate||function(e,t,n,i){var s,o=arguments.length,r=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(r=(o<3?s(r):o>3?s(t,n,r):s(t,n))||r);return o>3&&r&&Object.defineProperty(t,n,r),r},u=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};t&&t.id;return{setters:[function(e){n=e},function(e){i=e},function(e){s=e}],execute:function(){o="test",r=class{constructor(e){this.el=e,this.uid=s.default.uniqueId(`sa_${o}_directive_`),i.Stratus.Instances[this.uid]=this,console.warn(this.uid,"has been load to",this.el)}onMouseEnter(){this.highlight("yellow")}onMouseLeave(){this.highlight(null)}highlight(e){this.el.nativeElement.style.backgroundColor=e}},a([n.HostListener("mouseenter"),u("design:type",Function),u("design:paramtypes",[]),u("design:returntype",void 0)],r.prototype,"onMouseEnter",null),a([n.HostListener("mouseleave"),u("design:type",Function),u("design:paramtypes",[]),u("design:returntype",void 0)],r.prototype,"onMouseLeave",null),r=a([n.Directive({selector:`[sa-internal-${o}]`}),u("design:paramtypes",[n.ElementRef])],r),e("TestDirective",r)}}});
@@ -17,7 +17,7 @@ import _ from 'lodash'
17
17
  const moduleName = 'test'
18
18
 
19
19
  @Directive({
20
- selector: `[sa-${moduleName}]`
20
+ selector: `[sa-internal-${moduleName}]`
21
21
  })
22
22
 
23
23
  export class TestDirective { // implements OnInit, OnChanges {
@@ -224,7 +224,7 @@ System.register(["@angular/core", "@angular/platform-browser", "@angular/forms",
224
224
  ], TimezoneSelectorComponent.prototype, "endpoint", void 0);
225
225
  TimezoneSelectorComponent = __decorate([
226
226
  core_1.Component({
227
- selector: `sa-${moduleName}`,
227
+ selector: `sa-internal-${moduleName}`,
228
228
  templateUrl: `${localDir}/${moduleName}/${moduleName}.component${min}.html`,
229
229
  changeDetection: core_1.ChangeDetectionStrategy.OnPush
230
230
  }),
@@ -1 +1 @@
1
- {"version":3,"sources":["timezone-selector.component.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAkCM,SAAS,GAAG,oBAAoB,CAAA;YAChC,UAAU,GAAG,mBAAmB,CAAA;YAChC,GAAG,GAAG,CAAC,oBAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAA;YAClC,QAAQ,GAAG,GAAG,iBAAO,CAAC,OAAO,GAAG,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,GAAG,SAAS,IAAI,CAAC,CAAC,OAAO,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC,OAAO,CAAC,WAAW,EAAE,OAAO,CAAC,EAAE,CAAA;YAkBzH,yBAAyB,GAA/B,MA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;uEAAkB;YAC1B;gBAAC,YAAK,EAAE;;qEAAgB;YACxB;gBAAC,YAAK,EAAE;;kEAAY;YACpB;gBAAC,YAAK,EAAE;;sEAAgB;YAIxB;gBAAC,YAAK,EAAE;;mEAAa;YACrB;gBAAC,YAAK,EAAE;;uEAAiB;YACzB;gBAAC,YAAK,EAAE;;uEAAiB;YApBhB,yBAAyB;gBAZrC,gBAAS,CAAC;oBACP,QAAQ,EAAE,eAAe,UAAU,EAAE;oBAErC,WAAW,EAAE,GAAG,QAAQ,IAAI,UAAU,IAAI,UAAU,aAAa,GAAG,OAAO;oBAM3E,eAAe,EAAE,8BAAuB,CAAC,MAAM;iBAClD,CAAC;iDA4D0B,iBAAU;oBACf,wBAAiB;oBACb,+BAAY;eA5D1B,yBAAyB,CAuNrC;;QACD,CAAC","file":"timezone-selector.component.js"}
@@ -1 +1 @@
1
- System.register(["@angular/core","@angular/platform-browser","@angular/forms","rxjs","rxjs/operators","toastify-js","@stratusjs/core/misc","@stratusjs/runtime/stratus","@stratusjs/core/environment","@stratusjs/core/events/eventManager","../core/root.component","lodash","@stratusjs/angularjs/services/registry"],function(e,t){"use strict";var i,n,s,r,o,a,u,h,l,c,p,d,f,m,g,y,b,z=this&&this.__decorate||function(e,t,i,n){var s,r=arguments.length,o=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(r<3?s(o):r>3?s(t,i,o):s(t,i))||o);return r>3&&o&&Object.defineProperty(t,i,o),o},v=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};t&&t.id;return{setters:[function(e){i=e},function(e){n=e},function(e){s=e},function(e){r=e},function(e){o=e},function(e){a=e},function(e){u=e},function(e){h=e},function(e){l=e},function(e){c=e},function(e){p=e},function(e){d=e},function(e){f=e}],execute:function(){"@stratusjs/angular",m="timezone-selector",g=l.cookie("env")?"":".min",y=`${h.Stratus.BaseUrl}${boot.configuration.paths["@stratusjs/angular/*"].replace(/[^/]*$/,"").replace(/\/dist\/$/,"/src/")}`,b=class extends p.RootComponent{constructor(e,t,i){super(),this.elementRef=e,this.ref=t,this.sanitizer=i,this.title=m+"_component",this.Stratus=h.Stratus,this.registry=new f.Registry,this.onChange=new r.Subject,this.label="Select Timezone",this.inputTimezone=new s.FormControl(""),this.timezoneList=[],this.initialized=!1,this.uid=u.safeUniqueId("sa",m,"component"),h.Stratus.Instances[this.uid]=this,this.timezoneList=Intl.supportedValuesOf("timeZone"),this.currentTimezone=Intl.DateTimeFormat().resolvedOptions().timeZone,this.hydrate(e,i,["title","uid","target","targetSuffix","id","manifest","decouple","direct","api","urlRoot","type","property","endpoint","Stratus","registry","fetched","data","model","dataSub","onChange","subscriber","label","timezone","currentTimezone","inputTimezone","timezoneList","filteredTimezones","initialized","elementRef","ref","sanitizer","ngOnInit","updateLabel","_filter","fetchData","dataDefer","dataRef","valueChanged","handleObservableError","timezoneSelected","hydrate","disableRefresh","stagger","reloading","refresh","ngOnDestroy"]),this.filteredTimezones=this.inputTimezone.valueChanges.pipe(o.startWith(""),o.map(e=>this._filter(e||""))),this.fetchData().then(e=>{if(!(e&&e instanceof c.EventManager))return void console.warn("Unable to bind data from Registry!");const t=()=>{e.completed&&this.dataDefer(this.subscriber)};e.on("change",t),t()}),this.dataSub=new r.Observable(e=>this.dataDefer(e)),this.dataSub.pipe(o.debounce(()=>r.timer(500)),o.catchError(this.handleObservableError)).subscribe(e=>{this.inputTimezone.value!==e?(this.timezone=e,this.updateLabel(),this.inputTimezone.setValue(this.timezone),this.refresh().then()):this.initialized&&this.refresh().then()})}async ngOnInit(){this.inputTimezone.valueChanges.forEach(e=>this.valueChanged(e)).then(),this.updateLabel(),this.initialized=!0}updateLabel(){d.isEmpty(this.timezone)||"local"===this.timezone?this.label=`(local - Currently displayed in ${this.currentTimezone})`:this.label="Select Timezone"}_filter(e){const t=e.toLowerCase();return this.timezoneList.filter(e=>e.toLowerCase().includes(t))}fetchData(){return this.fetched?this.fetched:this.fetched=this.registry.fetch(h.Stratus.Select(this.elementRef.nativeElement),this)}dataDefer(e){if(this.subscriber=this.subscriber||e,!this.subscriber)return;const t=this.dataRef();this.subscriber.next(t)}dataRef(){return this.model?this.model.get(this.property):""}valueChanged(e){e&&(this.timezone=e,this.updateLabel(),this.inputTimezone.setValue(this.timezone),this.model&&this.model.completed&&this.model.set(this.property,this.timezone))}handleObservableError(e){return console.error(e),a.default({text:e.toString(),duration:3e3,close:!0,stopOnFocus:!0,style:{background:"#E14D45"}}).showToast(),e}timezoneSelected(e){e&&this.valueChanged(e)}},z([i.Input(),v("design:type",String)],b.prototype,"target",void 0),z([i.Input(),v("design:type",String)],b.prototype,"targetSuffix",void 0),z([i.Input(),v("design:type",Number)],b.prototype,"id",void 0),z([i.Input(),v("design:type",Boolean)],b.prototype,"manifest",void 0),z([i.Input(),v("design:type",Boolean)],b.prototype,"decouple",void 0),z([i.Input(),v("design:type",Boolean)],b.prototype,"direct",void 0),z([i.Input(),v("design:type",Object)],b.prototype,"api",void 0),z([i.Input(),v("design:type",String)],b.prototype,"urlRoot",void 0),z([i.Input(),v("design:type",String)],b.prototype,"type",void 0),z([i.Input(),v("design:type",String)],b.prototype,"property",void 0),z([i.Input(),v("design:type",String)],b.prototype,"endpoint",void 0),b=z([i.Component({selector:`sa-${m}`,templateUrl:`${y}/${m}/${m}.component${g}.html`,changeDetection:i.ChangeDetectionStrategy.OnPush}),v("design:paramtypes",[i.ElementRef,i.ChangeDetectorRef,n.DomSanitizer])],b),e("TimezoneSelectorComponent",b)}}});
1
+ System.register(["@angular/core","@angular/platform-browser","@angular/forms","rxjs","rxjs/operators","toastify-js","@stratusjs/core/misc","@stratusjs/runtime/stratus","@stratusjs/core/environment","@stratusjs/core/events/eventManager","../core/root.component","lodash","@stratusjs/angularjs/services/registry"],function(e,t){"use strict";var i,n,s,r,o,a,u,h,l,c,p,d,f,m,g,y,b,z=this&&this.__decorate||function(e,t,i,n){var s,r=arguments.length,o=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(r<3?s(o):r>3?s(t,i,o):s(t,i))||o);return r>3&&o&&Object.defineProperty(t,i,o),o},v=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};t&&t.id;return{setters:[function(e){i=e},function(e){n=e},function(e){s=e},function(e){r=e},function(e){o=e},function(e){a=e},function(e){u=e},function(e){h=e},function(e){l=e},function(e){c=e},function(e){p=e},function(e){d=e},function(e){f=e}],execute:function(){"@stratusjs/angular",m="timezone-selector",g=l.cookie("env")?"":".min",y=`${h.Stratus.BaseUrl}${boot.configuration.paths["@stratusjs/angular/*"].replace(/[^/]*$/,"").replace(/\/dist\/$/,"/src/")}`,b=class extends p.RootComponent{constructor(e,t,i){super(),this.elementRef=e,this.ref=t,this.sanitizer=i,this.title=m+"_component",this.Stratus=h.Stratus,this.registry=new f.Registry,this.onChange=new r.Subject,this.label="Select Timezone",this.inputTimezone=new s.FormControl(""),this.timezoneList=[],this.initialized=!1,this.uid=u.safeUniqueId("sa",m,"component"),h.Stratus.Instances[this.uid]=this,this.timezoneList=Intl.supportedValuesOf("timeZone"),this.currentTimezone=Intl.DateTimeFormat().resolvedOptions().timeZone,this.hydrate(e,i,["title","uid","target","targetSuffix","id","manifest","decouple","direct","api","urlRoot","type","property","endpoint","Stratus","registry","fetched","data","model","dataSub","onChange","subscriber","label","timezone","currentTimezone","inputTimezone","timezoneList","filteredTimezones","initialized","elementRef","ref","sanitizer","ngOnInit","updateLabel","_filter","fetchData","dataDefer","dataRef","valueChanged","handleObservableError","timezoneSelected","hydrate","disableRefresh","stagger","reloading","refresh","ngOnDestroy"]),this.filteredTimezones=this.inputTimezone.valueChanges.pipe(o.startWith(""),o.map(e=>this._filter(e||""))),this.fetchData().then(e=>{if(!(e&&e instanceof c.EventManager))return void console.warn("Unable to bind data from Registry!");const t=()=>{e.completed&&this.dataDefer(this.subscriber)};e.on("change",t),t()}),this.dataSub=new r.Observable(e=>this.dataDefer(e)),this.dataSub.pipe(o.debounce(()=>r.timer(500)),o.catchError(this.handleObservableError)).subscribe(e=>{this.inputTimezone.value!==e?(this.timezone=e,this.updateLabel(),this.inputTimezone.setValue(this.timezone),this.refresh().then()):this.initialized&&this.refresh().then()})}async ngOnInit(){this.inputTimezone.valueChanges.forEach(e=>this.valueChanged(e)).then(),this.updateLabel(),this.initialized=!0}updateLabel(){d.isEmpty(this.timezone)||"local"===this.timezone?this.label=`(local - Currently displayed in ${this.currentTimezone})`:this.label="Select Timezone"}_filter(e){const t=e.toLowerCase();return this.timezoneList.filter(e=>e.toLowerCase().includes(t))}fetchData(){return this.fetched?this.fetched:this.fetched=this.registry.fetch(h.Stratus.Select(this.elementRef.nativeElement),this)}dataDefer(e){if(this.subscriber=this.subscriber||e,!this.subscriber)return;const t=this.dataRef();this.subscriber.next(t)}dataRef(){return this.model?this.model.get(this.property):""}valueChanged(e){e&&(this.timezone=e,this.updateLabel(),this.inputTimezone.setValue(this.timezone),this.model&&this.model.completed&&this.model.set(this.property,this.timezone))}handleObservableError(e){return console.error(e),a.default({text:e.toString(),duration:3e3,close:!0,stopOnFocus:!0,style:{background:"#E14D45"}}).showToast(),e}timezoneSelected(e){e&&this.valueChanged(e)}},z([i.Input(),v("design:type",String)],b.prototype,"target",void 0),z([i.Input(),v("design:type",String)],b.prototype,"targetSuffix",void 0),z([i.Input(),v("design:type",Number)],b.prototype,"id",void 0),z([i.Input(),v("design:type",Boolean)],b.prototype,"manifest",void 0),z([i.Input(),v("design:type",Boolean)],b.prototype,"decouple",void 0),z([i.Input(),v("design:type",Boolean)],b.prototype,"direct",void 0),z([i.Input(),v("design:type",Object)],b.prototype,"api",void 0),z([i.Input(),v("design:type",String)],b.prototype,"urlRoot",void 0),z([i.Input(),v("design:type",String)],b.prototype,"type",void 0),z([i.Input(),v("design:type",String)],b.prototype,"property",void 0),z([i.Input(),v("design:type",String)],b.prototype,"endpoint",void 0),b=z([i.Component({selector:`sa-internal-${m}`,templateUrl:`${y}/${m}/${m}.component${g}.html`,changeDetection:i.ChangeDetectionStrategy.OnPush}),v("design:paramtypes",[i.ElementRef,i.ChangeDetectorRef,n.DomSanitizer])],b),e("TimezoneSelectorComponent",b)}}});
@@ -42,7 +42,7 @@ const localDir = `${Stratus.BaseUrl}${boot.configuration.paths[`${systemDir}/*`]
42
42
  * @title Media Selector with Drag & Drop Uploads and Sorting
43
43
  */
44
44
  @Component({
45
- selector: `sa-${moduleName}`,
45
+ selector: `sa-internal-${moduleName}`,
46
46
  // TODO: Add the ability to change the templateUrl to others, based on a cookie.
47
47
  templateUrl: `${localDir}/${moduleName}/${moduleName}.component${min}.html`,
48
48
  // FIXME: This doesn't work, as it seems Angular attempts to use a System.js import instead of their own, so it will