@theseam/ui-common 0.4.12 → 0.4.14

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 (158) hide show
  1. package/buttons/public-api.d.ts +1 -0
  2. package/buttons/testing/anchor-badge-button.harness.d.ts +16 -0
  3. package/buttons/testing/anchor-button.harness.d.ts +16 -0
  4. package/buttons/testing/badge-button.harness.d.ts +15 -0
  5. package/buttons/testing/base-badge-button.harness.d.ts +15 -0
  6. package/buttons/testing/base-button.harness.d.ts +19 -0
  7. package/buttons/testing/button.harness.d.ts +15 -0
  8. package/buttons/testing/index.d.ts +5 -0
  9. package/buttons/testing/toggle-button.harness.d.ts +21 -0
  10. package/checkbox/checkbox.component.d.ts +1 -1
  11. package/checkbox/checkbox.module.d.ts +2 -3
  12. package/datatable/datatable.module.d.ts +1 -1
  13. package/esm2020/buttons/button/button.component.mjs +2 -1
  14. package/esm2020/buttons/public-api.mjs +2 -1
  15. package/esm2020/buttons/testing/anchor-badge-button.harness.mjs +18 -0
  16. package/esm2020/buttons/testing/anchor-button.harness.mjs +18 -0
  17. package/esm2020/buttons/testing/badge-button.harness.mjs +14 -0
  18. package/esm2020/buttons/testing/base-badge-button.harness.mjs +29 -0
  19. package/esm2020/buttons/testing/base-button.harness.mjs +41 -0
  20. package/esm2020/buttons/testing/button.harness.mjs +16 -0
  21. package/esm2020/buttons/testing/index.mjs +6 -0
  22. package/esm2020/buttons/testing/toggle-button.harness.mjs +25 -0
  23. package/esm2020/checkbox/checkbox.component.mjs +8 -3
  24. package/esm2020/checkbox/checkbox.module.mjs +5 -12
  25. package/esm2020/datatable/datatable.module.mjs +5 -5
  26. package/esm2020/form-field/form-field.component.mjs +4 -4
  27. package/esm2020/framework/schema-form/index.mjs +2 -1
  28. package/esm2020/framework/schema-form/schema-form-framework.component.mjs +6 -3
  29. package/esm2020/framework/schema-form/schema-form-framework.mjs +62 -7
  30. package/esm2020/framework/schema-form/schema-form-widget.mjs +2 -0
  31. package/esm2020/framework/schema-form/schema-form.module.mjs +1 -8
  32. package/esm2020/framework/schema-form-controls/schema-form-checkbox/schema-form-checkbox.component.mjs +21 -11
  33. package/esm2020/framework/schema-form-controls/schema-form-divider/schema-form-divider.component.mjs +20 -0
  34. package/esm2020/framework/schema-form-controls/schema-form-input/schema-form-input.component.mjs +17 -8
  35. package/esm2020/framework/schema-form-controls/schema-form-number/schema-form-number.component.mjs +14 -5
  36. package/esm2020/framework/schema-form-controls/schema-form-select/schema-form-select.component.mjs +19 -9
  37. package/esm2020/framework/schema-form-controls/schema-form-submit/schema-form-submit.component.mjs +21 -13
  38. package/esm2020/framework/schema-form-controls/schema-form-submit-split/schema-form-submit-split.component.mjs +30 -18
  39. package/esm2020/framework/schema-form-controls/schema-form-tel/schema-form-tel.component.mjs +48 -0
  40. package/esm2020/framework/schema-form-controls/schema-form-tiled-select/schema-form-tiled-select.component.mjs +57 -0
  41. package/esm2020/google-maps/google-maps-places-autocomplete/google-maps-places-autocomplete.component.mjs +3 -3
  42. package/esm2020/menu/menu-item.component.mjs +3 -3
  43. package/esm2020/menu/public-api.mjs +5 -1
  44. package/esm2020/menu/testing/menu-footer.harness.mjs +28 -0
  45. package/esm2020/menu/testing/menu-header.harness.mjs +23 -0
  46. package/esm2020/menu/testing/menu-item.harness.mjs +59 -0
  47. package/esm2020/menu/testing/menu.harness.mjs +163 -0
  48. package/esm2020/menu/testing/utils.mjs +13 -0
  49. package/esm2020/services/preferences/preferences-accessor.mjs +1 -1
  50. package/esm2020/services/preferences/preferences-manager.service.mjs +1 -1
  51. package/esm2020/services/preferences/preferences-record.mjs +1 -1
  52. package/esm2020/services/preferences/preferences.models.mjs +1 -1
  53. package/esm2020/story-helpers/args-to-tpl.mjs +83 -0
  54. package/esm2020/story-helpers/public-api.mjs +2 -2
  55. package/esm2020/story-helpers/story-preferences-accessor.service.mjs +1 -1
  56. package/esm2020/tel-input/public-api.mjs +2 -1
  57. package/esm2020/tel-input/tel-input/tel-input.component.mjs +22 -10
  58. package/esm2020/tel-input/tel-input.directive.mjs +12 -13
  59. package/esm2020/tel-input/tel-input.module.mjs +10 -9
  60. package/esm2020/tel-input/testing/tel-input.harness.mjs +49 -0
  61. package/esm2020/testing/harnesses/ng-select-dropdown.harness.mjs +39 -0
  62. package/esm2020/testing/harnesses/ng-select-option.harness.mjs +26 -0
  63. package/esm2020/testing/harnesses/ng-select.harness.mjs +104 -0
  64. package/esm2020/testing/public-api.mjs +4 -1
  65. package/esm2020/tiled-select/components/tiled-select/tiled-select.component.mjs +1 -1
  66. package/esm2020/utils/geo-json/coerce-feature-collection.mjs +1 -1
  67. package/esm2020/utils/geo-json/is-feature-collection.validator.mjs +1 -1
  68. package/esm2020/utils/geo-json/is-only-geometry-types.mjs +1 -1
  69. package/esm2020/utils/geo-json/merge-polygons.mjs +1 -1
  70. package/esm2020/utils/geo-json/no-inner-rings.validator.mjs +1 -1
  71. package/esm2020/utils/geo-json/split-multi-polygons.mjs +1 -1
  72. package/esm2020/widget/preferences/widget-preferences.models.mjs +1 -1
  73. package/esm2020/widget/preferences/widget-preferences.service.mjs +1 -1
  74. package/esm2020/widget/preferences/widget-preferences.token.mjs +1 -1
  75. package/esm2020/widget/widget.models.mjs +1 -1
  76. package/fesm2015/theseam-ui-common-buttons.mjs +181 -3
  77. package/fesm2015/theseam-ui-common-buttons.mjs.map +1 -1
  78. package/fesm2015/theseam-ui-common-checkbox.mjs +12 -14
  79. package/fesm2015/theseam-ui-common-checkbox.mjs.map +1 -1
  80. package/fesm2015/theseam-ui-common-datatable.mjs +4 -4
  81. package/fesm2015/theseam-ui-common-datatable.mjs.map +1 -1
  82. package/fesm2015/theseam-ui-common-form-field.mjs +3 -3
  83. package/fesm2015/theseam-ui-common-form-field.mjs.map +1 -1
  84. package/fesm2015/theseam-ui-common-framework.mjs +248 -164
  85. package/fesm2015/theseam-ui-common-framework.mjs.map +1 -1
  86. package/fesm2015/theseam-ui-common-google-maps.mjs +2 -2
  87. package/fesm2015/theseam-ui-common-google-maps.mjs.map +1 -1
  88. package/fesm2015/theseam-ui-common-menu.mjs +331 -5
  89. package/fesm2015/theseam-ui-common-menu.mjs.map +1 -1
  90. package/fesm2015/theseam-ui-common-services.mjs.map +1 -1
  91. package/fesm2015/theseam-ui-common-story-helpers.mjs +86 -1
  92. package/fesm2015/theseam-ui-common-story-helpers.mjs.map +1 -1
  93. package/fesm2015/theseam-ui-common-tel-input.mjs +105 -29
  94. package/fesm2015/theseam-ui-common-tel-input.mjs.map +1 -1
  95. package/fesm2015/theseam-ui-common-testing.mjs +197 -1
  96. package/fesm2015/theseam-ui-common-testing.mjs.map +1 -1
  97. package/fesm2015/theseam-ui-common-tiled-select.mjs.map +1 -1
  98. package/fesm2015/theseam-ui-common-utils.mjs.map +1 -1
  99. package/fesm2015/theseam-ui-common-widget.mjs.map +1 -1
  100. package/fesm2020/theseam-ui-common-buttons.mjs +154 -2
  101. package/fesm2020/theseam-ui-common-buttons.mjs.map +1 -1
  102. package/fesm2020/theseam-ui-common-checkbox.mjs +12 -14
  103. package/fesm2020/theseam-ui-common-checkbox.mjs.map +1 -1
  104. package/fesm2020/theseam-ui-common-datatable.mjs +4 -4
  105. package/fesm2020/theseam-ui-common-datatable.mjs.map +1 -1
  106. package/fesm2020/theseam-ui-common-form-field.mjs +3 -3
  107. package/fesm2020/theseam-ui-common-form-field.mjs.map +1 -1
  108. package/fesm2020/theseam-ui-common-framework.mjs +236 -162
  109. package/fesm2020/theseam-ui-common-framework.mjs.map +1 -1
  110. package/fesm2020/theseam-ui-common-google-maps.mjs +2 -2
  111. package/fesm2020/theseam-ui-common-google-maps.mjs.map +1 -1
  112. package/fesm2020/theseam-ui-common-menu.mjs +277 -4
  113. package/fesm2020/theseam-ui-common-menu.mjs.map +1 -1
  114. package/fesm2020/theseam-ui-common-services.mjs.map +1 -1
  115. package/fesm2020/theseam-ui-common-story-helpers.mjs +84 -1
  116. package/fesm2020/theseam-ui-common-story-helpers.mjs.map +1 -1
  117. package/fesm2020/theseam-ui-common-tel-input.mjs +89 -29
  118. package/fesm2020/theseam-ui-common-tel-input.mjs.map +1 -1
  119. package/fesm2020/theseam-ui-common-testing.mjs +165 -1
  120. package/fesm2020/theseam-ui-common-testing.mjs.map +1 -1
  121. package/fesm2020/theseam-ui-common-tiled-select.mjs.map +1 -1
  122. package/fesm2020/theseam-ui-common-utils.mjs.map +1 -1
  123. package/fesm2020/theseam-ui-common-widget.mjs.map +1 -1
  124. package/framework/schema-form/index.d.ts +1 -0
  125. package/framework/schema-form/schema-form-framework.d.ts +12 -1
  126. package/framework/schema-form/schema-form-widget.d.ts +61 -0
  127. package/framework/schema-form/schema-form.module.d.ts +1 -2
  128. package/framework/schema-form-controls/schema-form-checkbox/schema-form-checkbox.component.d.ts +12 -11
  129. package/framework/schema-form-controls/schema-form-divider/schema-form-divider.component.d.ts +12 -0
  130. package/framework/schema-form-controls/schema-form-input/schema-form-input.component.d.ts +10 -9
  131. package/framework/schema-form-controls/schema-form-number/schema-form-number.component.d.ts +8 -7
  132. package/framework/schema-form-controls/schema-form-select/schema-form-select.component.d.ts +10 -9
  133. package/framework/schema-form-controls/schema-form-submit/schema-form-submit.component.d.ts +10 -9
  134. package/framework/schema-form-controls/schema-form-submit-split/schema-form-submit-split.component.d.ts +10 -9
  135. package/framework/schema-form-controls/schema-form-tel/schema-form-tel.component.d.ts +23 -0
  136. package/framework/schema-form-controls/schema-form-tiled-select/schema-form-tiled-select.component.d.ts +32 -0
  137. package/menu/menu-footer-action/menu-footer-action.component.d.ts +1 -1
  138. package/menu/public-api.d.ts +4 -0
  139. package/menu/testing/menu-footer.harness.d.ts +22 -0
  140. package/menu/testing/menu-header.harness.d.ts +18 -0
  141. package/menu/testing/menu-item.harness.d.ts +37 -0
  142. package/menu/testing/menu.harness.d.ts +74 -0
  143. package/menu/testing/utils.d.ts +5 -0
  144. package/package.json +1 -1
  145. package/story-helpers/args-to-tpl.d.ts +25 -0
  146. package/story-helpers/public-api.d.ts +1 -0
  147. package/tel-input/public-api.d.ts +1 -0
  148. package/tel-input/tel-input/tel-input.component.d.ts +2 -2
  149. package/tel-input/tel-input.directive.d.ts +1 -1
  150. package/tel-input/tel-input.module.d.ts +7 -7
  151. package/tel-input/testing/tel-input.harness.d.ts +19 -0
  152. package/testing/harnesses/ng-select-dropdown.harness.d.ts +23 -0
  153. package/testing/harnesses/ng-select-option.harness.d.ts +18 -0
  154. package/testing/harnesses/ng-select.harness.d.ts +50 -0
  155. package/testing/public-api.d.ts +3 -0
  156. package/tiled-select/components/tiled-select/tiled-select.component.d.ts +10 -10
  157. package/esm2020/framework/schema-form-controls/schema-form-controls.module.mjs +0 -79
  158. package/framework/schema-form-controls/schema-form-controls.module.d.ts +0 -20
@@ -1831,13 +1831,13 @@ class TheSeamGoogleMapsPlacesAutoCompleteComponent {
1831
1831
  }
1832
1832
  }
1833
1833
  TheSeamGoogleMapsPlacesAutoCompleteComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: TheSeamGoogleMapsPlacesAutoCompleteComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
1834
- TheSeamGoogleMapsPlacesAutoCompleteComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.7", type: TheSeamGoogleMapsPlacesAutoCompleteComponent, selector: "seam-google-maps-places-autocomplete", inputs: { label: "label", icon: "icon", disabled: "disabled", placeholder: "placeholder", autocorrect: "autocorrect", autocapitalize: "autocapitalize", tabIndex: "tabIndex", options: "options" }, outputs: { placeChanged: "placeChanged" }, host: { listeners: { "click": "_onClick(event)", "focus": "_onFocus($event)" }, properties: { "attr.tabindex": "this._attrTabIndex" } }, viewQueries: [{ propertyName: "_inputDirective", first: true, predicate: ["inp"], descendants: true, read: InputDirective, static: true }, { propertyName: "__autocompleteDirective", first: true, predicate: TheSeamGoogleMapsPlacesAutocompleteDirective, descendants: true, static: true }], exportAs: ["seamGoogleMapsPlacesAutoComplete"], ngImport: i0, template: "<div *ngIf=\"icon\" class=\"search-container--icon-wrapper\">\n <seam-icon [icon]=\"icon\" class=\"text-muted\" size=\"lg\"></seam-icon>\n</div>\n<label *ngIf=\"label || placeholder\" [attr.for]=\"inp.id\" class=\"sr-only\">{{ label || placeholder }}</label>\n<input #inp=\"seamInput\"\n seamInput\n seamGoogleMapsPlacesAutocomplete\n [disabled]=\"disabled\"\n [attr.placeholder]=\"placeholder\"\n [attr.autocorrect]=\"autocorrect\"\n [attr.autocapitalize]=\"autocapitalize\"\n [options]=\"_options\"\n/>\n", styles: [":host{position:relative;width:100%}:host>input{padding-left:40px}:host .search-container--icon-wrapper{position:absolute;top:6px;left:10px;bottom:0}:host .search-container--icon-wrapper ::ng-deep .svg-inline--fa{vertical-align:middle}\n"], dependencies: [{ kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.IconComponent, selector: "seam-icon", inputs: ["grayscaleOnDisable", "disabled", "iconClass", "icon", "size", "showDefaultOnError", "defaultIcon", "iconType"] }, { kind: "directive", type: i3.InputDirective, selector: "input[seamInput], textarea[seamInput], ng-select[seamInput], seam-checkbox[seamInput] [ngbRadioGroup], seam-tel-input[seamInput], quill-editor[seamInput], seam-google-maps[seamInput]", inputs: ["seamInputSize", "id", "type", "placeholder", "required", "disabled", "readonly"], exportAs: ["seamInput"] }, { kind: "directive", type: TheSeamGoogleMapsPlacesAutocompleteDirective, selector: "input[seamGoogleMapsPlacesAutocomplete]", inputs: ["options"], outputs: ["placeChanged"], exportAs: ["seamGoogleMapsPlacesAutocomplete"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1834
+ TheSeamGoogleMapsPlacesAutoCompleteComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.7", type: TheSeamGoogleMapsPlacesAutoCompleteComponent, selector: "seam-google-maps-places-autocomplete", inputs: { label: "label", icon: "icon", disabled: "disabled", placeholder: "placeholder", autocorrect: "autocorrect", autocapitalize: "autocapitalize", tabIndex: "tabIndex", options: "options" }, outputs: { placeChanged: "placeChanged" }, host: { listeners: { "click": "_onClick(event)", "focus": "_onFocus($event)" }, properties: { "attr.tabindex": "this._attrTabIndex" } }, viewQueries: [{ propertyName: "_inputDirective", first: true, predicate: ["inp"], descendants: true, read: InputDirective, static: true }, { propertyName: "__autocompleteDirective", first: true, predicate: TheSeamGoogleMapsPlacesAutocompleteDirective, descendants: true, static: true }], exportAs: ["seamGoogleMapsPlacesAutoComplete"], ngImport: i0, template: "<div *ngIf=\"icon\" class=\"search-container--icon-wrapper\">\r\n <seam-icon [icon]=\"icon\" class=\"text-muted\" size=\"lg\"></seam-icon>\r\n</div>\r\n<label *ngIf=\"label || placeholder\" [attr.for]=\"inp.id\" class=\"sr-only\">{{ label || placeholder }}</label>\r\n<input #inp=\"seamInput\"\r\n seamInput\r\n seamGoogleMapsPlacesAutocomplete\r\n [disabled]=\"disabled\"\r\n [attr.placeholder]=\"placeholder\"\r\n [attr.autocorrect]=\"autocorrect\"\r\n [attr.autocapitalize]=\"autocapitalize\"\r\n [options]=\"_options\"\r\n/>\r\n", styles: [":host{position:relative;width:100%}:host>input{padding-left:40px}:host .search-container--icon-wrapper{position:absolute;top:6px;left:10px;bottom:0}:host .search-container--icon-wrapper ::ng-deep .svg-inline--fa{vertical-align:middle}\n"], dependencies: [{ kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.IconComponent, selector: "seam-icon", inputs: ["grayscaleOnDisable", "disabled", "iconClass", "icon", "size", "showDefaultOnError", "defaultIcon", "iconType"] }, { kind: "directive", type: i3.InputDirective, selector: "input[seamInput], textarea[seamInput], ng-select[seamInput], seam-checkbox[seamInput] [ngbRadioGroup], seam-tel-input[seamInput], quill-editor[seamInput], seam-google-maps[seamInput]", inputs: ["seamInputSize", "id", "type", "placeholder", "required", "disabled", "readonly"], exportAs: ["seamInput"] }, { kind: "directive", type: TheSeamGoogleMapsPlacesAutocompleteDirective, selector: "input[seamGoogleMapsPlacesAutocomplete]", inputs: ["options"], outputs: ["placeChanged"], exportAs: ["seamGoogleMapsPlacesAutocomplete"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1835
1835
  __decorate([
1836
1836
  InputBoolean()
1837
1837
  ], TheSeamGoogleMapsPlacesAutoCompleteComponent.prototype, "disabled", void 0);
1838
1838
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: TheSeamGoogleMapsPlacesAutoCompleteComponent, decorators: [{
1839
1839
  type: Component,
1840
- args: [{ selector: 'seam-google-maps-places-autocomplete', changeDetection: ChangeDetectionStrategy.OnPush, exportAs: 'seamGoogleMapsPlacesAutoComplete', template: "<div *ngIf=\"icon\" class=\"search-container--icon-wrapper\">\n <seam-icon [icon]=\"icon\" class=\"text-muted\" size=\"lg\"></seam-icon>\n</div>\n<label *ngIf=\"label || placeholder\" [attr.for]=\"inp.id\" class=\"sr-only\">{{ label || placeholder }}</label>\n<input #inp=\"seamInput\"\n seamInput\n seamGoogleMapsPlacesAutocomplete\n [disabled]=\"disabled\"\n [attr.placeholder]=\"placeholder\"\n [attr.autocorrect]=\"autocorrect\"\n [attr.autocapitalize]=\"autocapitalize\"\n [options]=\"_options\"\n/>\n", styles: [":host{position:relative;width:100%}:host>input{padding-left:40px}:host .search-container--icon-wrapper{position:absolute;top:6px;left:10px;bottom:0}:host .search-container--icon-wrapper ::ng-deep .svg-inline--fa{vertical-align:middle}\n"] }]
1840
+ args: [{ selector: 'seam-google-maps-places-autocomplete', changeDetection: ChangeDetectionStrategy.OnPush, exportAs: 'seamGoogleMapsPlacesAutoComplete', template: "<div *ngIf=\"icon\" class=\"search-container--icon-wrapper\">\r\n <seam-icon [icon]=\"icon\" class=\"text-muted\" size=\"lg\"></seam-icon>\r\n</div>\r\n<label *ngIf=\"label || placeholder\" [attr.for]=\"inp.id\" class=\"sr-only\">{{ label || placeholder }}</label>\r\n<input #inp=\"seamInput\"\r\n seamInput\r\n seamGoogleMapsPlacesAutocomplete\r\n [disabled]=\"disabled\"\r\n [attr.placeholder]=\"placeholder\"\r\n [attr.autocorrect]=\"autocorrect\"\r\n [attr.autocapitalize]=\"autocapitalize\"\r\n [options]=\"_options\"\r\n/>\r\n", styles: [":host{position:relative;width:100%}:host>input{padding-left:40px}:host .search-container--icon-wrapper{position:absolute;top:6px;left:10px;bottom:0}:host .search-container--icon-wrapper ::ng-deep .svg-inline--fa{vertical-align:middle}\n"] }]
1841
1841
  }], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { label: [{
1842
1842
  type: Input
1843
1843
  }], icon: [{