@theseam/ui-common 0.2.16 → 0.3.1

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 (97) hide show
  1. package/breadcrumbs/_breadcrumbs-theme.scss +3 -0
  2. package/breadcrumbs/breadcrumbs/breadcrumbs.component.scss +10 -0
  3. package/breadcrumbs/styles/_utilities.scss +3 -0
  4. package/breadcrumbs/styles/_variables.scss +1 -0
  5. package/breadcrumbs/theseam-ui-common-breadcrumbs.metadata.json +1 -1
  6. package/bundles/theseam-ui-common-breadcrumbs.umd.js +2 -1
  7. package/bundles/theseam-ui-common-breadcrumbs.umd.js.map +1 -1
  8. package/bundles/theseam-ui-common-datatable.umd.js.map +1 -1
  9. package/bundles/theseam-ui-common-framework.umd.js +18 -15
  10. package/bundles/theseam-ui-common-framework.umd.js.map +1 -1
  11. package/bundles/theseam-ui-common-scrollbar.umd.js +1 -1
  12. package/bundles/theseam-ui-common-scrollbar.umd.js.map +1 -1
  13. package/bundles/theseam-ui-common-table-cell-types.umd.js +89 -4
  14. package/bundles/theseam-ui-common-table-cell-types.umd.js.map +1 -1
  15. package/bundles/theseam-ui-common-tel-input.umd.js +59 -7
  16. package/bundles/theseam-ui-common-tel-input.umd.js.map +1 -1
  17. package/bundles/theseam-ui-common-testing.umd.js.map +1 -1
  18. package/bundles/theseam-ui-common-utils.umd.js.map +1 -1
  19. package/bundles/theseam-ui-common-viewers.umd.js +269 -4
  20. package/bundles/theseam-ui-common-viewers.umd.js.map +1 -1
  21. package/bundles/theseam-ui-common-widget.umd.js +1 -1
  22. package/esm2015/breadcrumbs/breadcrumbs/breadcrumbs.component.js +4 -3
  23. package/esm2015/datatable/models/columns-alteration.js +1 -1
  24. package/esm2015/datatable/models/columns-alterations/hide-column.columns-alteration.js +1 -1
  25. package/esm2015/datatable/models/columns-alterations/sort.columns-alteration.js +1 -1
  26. package/esm2015/datatable/models/columns-alterations/width.columns-alteration.js +1 -1
  27. package/esm2015/datatable/models/internal-column-props.js +1 -1
  28. package/esm2015/datatable/services/columns-alterations-manager.service.js +1 -1
  29. package/esm2015/datatable/utils/map-columns-alterations-states.js +1 -1
  30. package/esm2015/framework/base-layout/base-layout.component.js +3 -3
  31. package/esm2015/framework/top-bar/top-bar-menu-button/top-bar-menu-button.component.js +5 -5
  32. package/esm2015/framework/top-bar/top-bar-title/top-bar-title.component.js +4 -3
  33. package/esm2015/framework/top-bar/top-bar.component.js +10 -8
  34. package/esm2015/graphql/models/gql-datatable-accessor.js +1 -1
  35. package/esm2015/scrollbar/overlay-scrollbar.directive.js +2 -2
  36. package/esm2015/table-cell-types/table-cell-type-currency/table-cell-type-currency-config.js +1 -1
  37. package/esm2015/table-cell-types/table-cell-type-currency/table-cell-type-currency.component.js +17 -2
  38. package/esm2015/table-cell-types/table-cell-type-decimal/table-cell-type-decimal-config.js +1 -1
  39. package/esm2015/table-cell-types/table-cell-type-decimal/table-cell-type-decimal.component.js +16 -2
  40. package/esm2015/table-cell-types/table-cell-type-integer/table-cell-type-integer-config.js +1 -1
  41. package/esm2015/table-cell-types/table-cell-type-integer/table-cell-type-integer.component.js +16 -2
  42. package/esm2015/table-cell-types/table-cell-type-string/table-cell-type-string-config.js +1 -1
  43. package/esm2015/table-cell-types/table-cell-type-string/table-cell-type-string.component.js +32 -4
  44. package/esm2015/tel-input/tel-input/tel-input.component.js +10 -2
  45. package/esm2015/tel-input/tel-input.directive.js +50 -5
  46. package/esm2015/testing/current-tick-time.js +1 -1
  47. package/esm2015/utils/array-move.js +1 -1
  48. package/esm2015/utils/router/is-empty-url-route.js +1 -1
  49. package/esm2015/viewers/html-template-viewer/html-template-viewer.component.js +219 -0
  50. package/esm2015/viewers/html-template-viewer/html-template-viewer.module.js +23 -0
  51. package/esm2015/viewers/html-template-viewer/index.js +3 -0
  52. package/esm2015/viewers/public-api.js +2 -1
  53. package/esm2015/widget/widget/widget.component.js +1 -1
  54. package/fesm2015/theseam-ui-common-breadcrumbs.js +3 -2
  55. package/fesm2015/theseam-ui-common-breadcrumbs.js.map +1 -1
  56. package/fesm2015/theseam-ui-common-datatable.js.map +1 -1
  57. package/fesm2015/theseam-ui-common-framework.js +15 -12
  58. package/fesm2015/theseam-ui-common-framework.js.map +1 -1
  59. package/fesm2015/theseam-ui-common-scrollbar.js +1 -1
  60. package/fesm2015/theseam-ui-common-scrollbar.js.map +1 -1
  61. package/fesm2015/theseam-ui-common-table-cell-types.js +74 -5
  62. package/fesm2015/theseam-ui-common-table-cell-types.js.map +1 -1
  63. package/fesm2015/theseam-ui-common-tel-input.js +58 -6
  64. package/fesm2015/theseam-ui-common-tel-input.js.map +1 -1
  65. package/fesm2015/theseam-ui-common-testing.js.map +1 -1
  66. package/fesm2015/theseam-ui-common-utils.js.map +1 -1
  67. package/fesm2015/theseam-ui-common-viewers.js +237 -2
  68. package/fesm2015/theseam-ui-common-viewers.js.map +1 -1
  69. package/fesm2015/theseam-ui-common-widget.js +1 -1
  70. package/framework/base-layout/base-layout.component.scss +14 -0
  71. package/framework/base-layout/styles/_variables.scss +14 -0
  72. package/framework/theseam-ui-common-framework.metadata.json +1 -1
  73. package/framework/top-bar/_top-bar-theme.scss +5 -0
  74. package/framework/top-bar/styles/_utilities.scss +3 -0
  75. package/framework/top-bar/styles/_variables.scss +18 -0
  76. package/framework/top-bar/top-bar-menu-button/top-bar-menu-button.component.d.ts +3 -1
  77. package/framework/top-bar/top-bar-menu-button/top-bar-menu-button.component.scss +15 -0
  78. package/framework/top-bar/top-bar-title/top-bar-title.component.scss +6 -0
  79. package/framework/top-bar/top-bar.component.d.ts +3 -0
  80. package/framework/top-bar/top-bar.component.scss +39 -0
  81. package/package.json +1 -1
  82. package/table-cell-types/table-cell-type-currency/table-cell-type-currency-config.d.ts +5 -0
  83. package/table-cell-types/table-cell-type-decimal/table-cell-type-decimal-config.d.ts +5 -0
  84. package/table-cell-types/table-cell-type-integer/table-cell-type-integer-config.d.ts +5 -0
  85. package/table-cell-types/table-cell-type-string/table-cell-type-string-config.d.ts +8 -0
  86. package/table-cell-types/table-cell-type-string/table-cell-type-string.component.d.ts +9 -0
  87. package/table-cell-types/theseam-ui-common-table-cell-types.metadata.json +1 -1
  88. package/tel-input/tel-input.directive.d.ts +7 -3
  89. package/tel-input/theseam-ui-common-tel-input.metadata.json +1 -1
  90. package/viewers/html-template-viewer/html-template-viewer.component.d.ts +67 -0
  91. package/viewers/html-template-viewer/html-template-viewer.module.d.ts +2 -0
  92. package/viewers/html-template-viewer/index.d.ts +2 -0
  93. package/viewers/public-api.d.ts +1 -0
  94. package/viewers/theseam-ui-common-viewers.metadata.json +1 -1
  95. package/widget/styles/_variables.scss +2 -0
  96. package/widget/theseam-ui-common-widget.metadata.json +1 -1
  97. package/widget/widget/widget.component.scss +2 -0
@@ -1 +1 @@
1
- {"__symbolic":"module","version":4,"exports":[{"from":"./add-country-code"},{"from":"./coerce-phone-number-format"},{"from":"./get-country-code"},{"from":"./get-dial-code"},{"from":"./get-global-intl-tel-input-globals"},{"from":"./get-global-intl-tel-input-utils"},{"from":"./get-intl-tel-input-utils"},{"from":"./get-validation-error-message"},{"from":"./process-country-codes"}],"metadata":{"TheSeamTelInputComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":31,"character":1},"arguments":[{"selector":"seam-tel-input","providers":[{"provide":{"__symbolic":"reference","module":"@angular/forms","name":"NG_VALUE_ACCESSOR","line":36,"character":13},"useExisting":{"__symbolic":"reference","name":"TheSeamTelInputComponent"},"multi":true}],"changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":41,"character":19},"member":"OnPush"},"template":"<input seamTelInput seamInput\n [formControl]=\"_control\"\n [class.is-invalid]=\"_hasInvalidCss$ | async\" />\n","styles":[":host{display:block}\n"]}]}],"members":{"required":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":57,"character":3}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@theseam/ui-common/core","name":"InputBoolean","line":57,"character":12}}]}],"disabled":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":59,"character":3}}]}],"tabIndex":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":77,"character":3}}]}],"_attrDisabled":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":82,"character":3},"arguments":["attr.disabled"]}]}],"_attrTabIndex":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":85,"character":3},"arguments":["attr.tabindex"]}]}],"name":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":89,"character":3}}]}],"value":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":92,"character":3}}]}],"change":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":95,"character":3}}]}],"_telInputDirective":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":101,"character":3},"arguments":[{"__symbolic":"reference","name":"TheSeamTelInputDirective"},{"static":true}]}]}],"_inputDirective":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":107,"character":3},"arguments":[{"__symbolic":"reference","module":"@theseam/ui-common/form-field","name":"InputDirective","line":107,"character":13},{"static":true}]}]}],"_inputElementRef":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":113,"character":3},"arguments":["input",{"static":true}]}]}],"_onFocus":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener","line":115,"character":3},"arguments":["focus",["$event"]]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":130,"character":41},{"__symbolic":"reference","module":"@angular/core","name":"Injector","line":131,"character":32},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":132,"character":34},{"__symbolic":"reference","module":"@angular/cdk/a11y","name":"FocusMonitor","line":133,"character":36}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"writeValue":[{"__symbolic":"method"}],"registerOnChange":[{"__symbolic":"method"}],"registerOnTouched":[{"__symbolic":"method"}],"setDisabledState":[{"__symbolic":"method"}],"focus":[{"__symbolic":"method"}],"blur":[{"__symbolic":"method"}],"hasFocus":[{"__symbolic":"method"}]}},"IntlTelInputUtilsScript":{"__symbolic":"interface"},"IntlTelInputFn":{"__symbolic":"function","parameters":["node","options"],"value":{"__symbolic":"call","arguments":[{"__symbolic":"reference","name":"node"},{"__symbolic":"reference","name":"options"}]}},"TEL_INPUT_ASSETS_PATH":"assets/vendor/intl-tel-input","TEL_INPUT_STYLES":"\n .iti { width: 100%; }\n\n .iti__flag {background-image: url(\"assets/vendor/intl-tel-input/img/flags.png\");}\n\n @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {\n .iti__flag {background-image: url(\"assets/vendor/intl-tel-input/img/flags@2x.png\");}\n }\n\n .iti__country-list {\n /* There is a bug that is causing the 'z-index: 2' from ng-select to conflict with this dropdown container. */\n z-index: 3;\n }\n","TEL_INPUT_STYLESHEET_PATH":"assets/vendor/intl-tel-input/css/intlTelInput.min.css","TEL_INPUT_UTILS_PATH":"assets/vendor/intl-tel-input/js/utils.js","TheSeamTelInputDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":14,"character":1},"arguments":[{"selector":"input[seamTelInput]","exportAs":"seamTelInput"}]}],"members":{"_attrType":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":24,"character":3},"arguments":["attr.type"]}]}],"value":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":26,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":47,"character":5}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":47,"character":17},"arguments":[{"__symbolic":"reference","module":"@angular/common","name":"DOCUMENT","line":47,"character":24}]}]],"parameters":[{"__symbolic":"reference","name":"ElementRef","module":"@angular/core","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":44,"character":45,"context":{"typeName":"HTMLInputElement"},"module":"./tel-input.directive"}]},{"__symbolic":"reference","module":"@theseam/ui-common/services","name":"AssetLoaderService","line":45,"character":35},{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":46,"character":30},{"__symbolic":"reference","name":"any"}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"updateValue":[{"__symbolic":"method"}],"getFullNumber":[{"__symbolic":"method"}],"_initDropdownListener":[{"__symbolic":"method"}],"isDropdownVisible":[{"__symbolic":"method"}],"focus":[{"__symbolic":"method"}],"blur":[{"__symbolic":"method"}],"getHostElement":[{"__symbolic":"method"}]}},"telInputValidator":{"__symbolic":"function"},"TheSeamTelInputModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":10,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"TheSeamTelInputDirective"},{"__symbolic":"reference","name":"TheSeamTelInputComponent"},{"__symbolic":"reference","name":"TheSeamPhoneNumberPipe"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":17,"character":4},{"__symbolic":"reference","module":"@angular/forms","name":"ReactiveFormsModule","line":18,"character":4},{"__symbolic":"reference","module":"@theseam/ui-common/form-field","name":"TheSeamFormFieldModule","line":19,"character":4}],"exports":[{"__symbolic":"reference","name":"TheSeamTelInputDirective"},{"__symbolic":"reference","name":"TheSeamTelInputComponent"},{"__symbolic":"reference","name":"TheSeamPhoneNumberPipe"}]}]}],"members":{}},"TheSeamPhoneNumberPipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe","line":6,"character":1},"arguments":[{"name":"phoneNumber","pure":false}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":16,"character":28}]}],"transform":[{"__symbolic":"method"}],"_transform":[{"__symbolic":"method"}]}}},"origins":{"TheSeamTelInputComponent":"./tel-input/tel-input.component","IntlTelInputUtilsScript":"./intl-tel-input","IntlTelInputFn":"./intl-tel-input","TEL_INPUT_ASSETS_PATH":"./tel-input-constants","TEL_INPUT_STYLES":"./tel-input-constants","TEL_INPUT_STYLESHEET_PATH":"./tel-input-constants","TEL_INPUT_UTILS_PATH":"./tel-input-constants","TheSeamTelInputDirective":"./tel-input.directive","telInputValidator":"./tel-input-validator","TheSeamTelInputModule":"./tel-input.module","TheSeamPhoneNumberPipe":"./phone-number.pipe"},"importAs":"@theseam/ui-common/tel-input"}
1
+ {"__symbolic":"module","version":4,"exports":[{"from":"./add-country-code"},{"from":"./coerce-phone-number-format"},{"from":"./get-country-code"},{"from":"./get-dial-code"},{"from":"./get-global-intl-tel-input-globals"},{"from":"./get-global-intl-tel-input-utils"},{"from":"./get-intl-tel-input-utils"},{"from":"./get-validation-error-message"},{"from":"./process-country-codes"}],"metadata":{"TheSeamTelInputComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":31,"character":1},"arguments":[{"selector":"seam-tel-input","providers":[{"provide":{"__symbolic":"reference","module":"@angular/forms","name":"NG_VALUE_ACCESSOR","line":36,"character":13},"useExisting":{"__symbolic":"reference","name":"TheSeamTelInputComponent"},"multi":true}],"changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":41,"character":19},"member":"OnPush"},"template":"<input seamTelInput seamInput\n [formControl]=\"_control\"\n [class.is-invalid]=\"_hasInvalidCss$ | async\" />\n","styles":[":host{display:block}:host[disabled] ::ng-deep .iti--allow-dropdown .iti__flag-container:hover,:host[disabled] ::ng-deep .iti--allow-dropdown .iti__flag-container:hover{cursor:default}:host[disabled] ::ng-deep .iti--allow-dropdown .iti__flag-container:hover .iti__selected-flag,:host[disabled] ::ng-deep .iti--allow-dropdown .iti__flag-container:hover .iti__selected-flag{background-color:transparent}:host[disabled] ::ng-deep .iti--allow-dropdown .iti__arrow{display:none}\n"]}]}],"members":{"required":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":57,"character":3}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@theseam/ui-common/core","name":"InputBoolean","line":57,"character":12}}]}],"disabled":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":59,"character":3}}]}],"tabIndex":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":85,"character":3}}]}],"_attrDisabled":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":90,"character":3},"arguments":["attr.disabled"]}]}],"_attrTabIndex":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":93,"character":3},"arguments":["attr.tabindex"]}]}],"name":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":97,"character":3}}]}],"value":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":100,"character":3}}]}],"change":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":103,"character":3}}]}],"_telInputDirective":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":109,"character":3},"arguments":[{"__symbolic":"reference","name":"TheSeamTelInputDirective"},{"static":true}]}]}],"_inputDirective":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":115,"character":3},"arguments":[{"__symbolic":"reference","module":"@theseam/ui-common/form-field","name":"InputDirective","line":115,"character":13},{"static":true}]}]}],"_inputElementRef":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":121,"character":3},"arguments":["input",{"static":true}]}]}],"_onFocus":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener","line":123,"character":3},"arguments":["focus",["$event"]]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":138,"character":41},{"__symbolic":"reference","module":"@angular/core","name":"Injector","line":139,"character":32},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":140,"character":34},{"__symbolic":"reference","module":"@angular/cdk/a11y","name":"FocusMonitor","line":141,"character":36}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"writeValue":[{"__symbolic":"method"}],"registerOnChange":[{"__symbolic":"method"}],"registerOnTouched":[{"__symbolic":"method"}],"setDisabledState":[{"__symbolic":"method"}],"focus":[{"__symbolic":"method"}],"blur":[{"__symbolic":"method"}],"hasFocus":[{"__symbolic":"method"}]}},"IntlTelInputUtilsScript":{"__symbolic":"interface"},"IntlTelInputFn":{"__symbolic":"function","parameters":["node","options"],"value":{"__symbolic":"call","arguments":[{"__symbolic":"reference","name":"node"},{"__symbolic":"reference","name":"options"}]}},"TEL_INPUT_ASSETS_PATH":"assets/vendor/intl-tel-input","TEL_INPUT_STYLES":"\n .iti { width: 100%; }\n\n .iti__flag {background-image: url(\"assets/vendor/intl-tel-input/img/flags.png\");}\n\n @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {\n .iti__flag {background-image: url(\"assets/vendor/intl-tel-input/img/flags@2x.png\");}\n }\n\n .iti__country-list {\n /* There is a bug that is causing the 'z-index: 2' from ng-select to conflict with this dropdown container. */\n z-index: 3;\n }\n","TEL_INPUT_STYLESHEET_PATH":"assets/vendor/intl-tel-input/css/intlTelInput.min.css","TEL_INPUT_UTILS_PATH":"assets/vendor/intl-tel-input/js/utils.js","TheSeamTelInputDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":15,"character":1},"arguments":[{"selector":"input[seamTelInput]","exportAs":"seamTelInput"}]}],"members":{"_attrType":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":25,"character":3},"arguments":["attr.type"]}]}],"value":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":27,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":48,"character":5}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":48,"character":17},"arguments":[{"__symbolic":"reference","module":"@angular/common","name":"DOCUMENT","line":48,"character":24}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":49,"character":5}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Self","line":49,"character":17}}]],"parameters":[{"__symbolic":"reference","name":"ElementRef","module":"@angular/core","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":45,"character":45,"context":{"typeName":"HTMLInputElement"},"module":"./tel-input.directive"}]},{"__symbolic":"reference","module":"@theseam/ui-common/services","name":"AssetLoaderService","line":46,"character":35},{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":47,"character":30},{"__symbolic":"reference","name":"any"},{"__symbolic":"reference","module":"@angular/forms","name":"NgControl","line":49,"character":54}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"ngDoCheck":[{"__symbolic":"method"}],"_tryUpdateDropdownAttributes":[{"__symbolic":"method"}],"updateValue":[{"__symbolic":"method"}],"getFullNumber":[{"__symbolic":"method"}],"_initDropdownListener":[{"__symbolic":"method"}],"isDropdownVisible":[{"__symbolic":"method"}],"focus":[{"__symbolic":"method"}],"blur":[{"__symbolic":"method"}],"getHostElement":[{"__symbolic":"method"}]}},"telInputValidator":{"__symbolic":"function"},"TheSeamTelInputModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":10,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"TheSeamTelInputDirective"},{"__symbolic":"reference","name":"TheSeamTelInputComponent"},{"__symbolic":"reference","name":"TheSeamPhoneNumberPipe"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":17,"character":4},{"__symbolic":"reference","module":"@angular/forms","name":"ReactiveFormsModule","line":18,"character":4},{"__symbolic":"reference","module":"@theseam/ui-common/form-field","name":"TheSeamFormFieldModule","line":19,"character":4}],"exports":[{"__symbolic":"reference","name":"TheSeamTelInputDirective"},{"__symbolic":"reference","name":"TheSeamTelInputComponent"},{"__symbolic":"reference","name":"TheSeamPhoneNumberPipe"}]}]}],"members":{}},"TheSeamPhoneNumberPipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe","line":6,"character":1},"arguments":[{"name":"phoneNumber","pure":false}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":16,"character":28}]}],"transform":[{"__symbolic":"method"}],"_transform":[{"__symbolic":"method"}]}}},"origins":{"TheSeamTelInputComponent":"./tel-input/tel-input.component","IntlTelInputUtilsScript":"./intl-tel-input","IntlTelInputFn":"./intl-tel-input","TEL_INPUT_ASSETS_PATH":"./tel-input-constants","TEL_INPUT_STYLES":"./tel-input-constants","TEL_INPUT_STYLESHEET_PATH":"./tel-input-constants","TEL_INPUT_UTILS_PATH":"./tel-input-constants","TheSeamTelInputDirective":"./tel-input.directive","telInputValidator":"./tel-input-validator","TheSeamTelInputModule":"./tel-input.module","TheSeamPhoneNumberPipe":"./phone-number.pipe"},"importAs":"@theseam/ui-common/tel-input"}
@@ -0,0 +1,67 @@
1
+ import { BooleanInput } from '@angular/cdk/coercion';
2
+ import { ChangeDetectorRef, ElementRef, NgZone, OnDestroy, OnInit } from '@angular/core';
3
+ export declare class TheSeamHtmlTemplateViewerComponent implements OnInit, OnDestroy {
4
+ private readonly _ngZone;
5
+ private readonly _cdr;
6
+ private readonly _elementRef;
7
+ static ngAcceptInputType_scrollable: BooleanInput;
8
+ private readonly _templateMessageHandlers;
9
+ private _message;
10
+ private _dataVersion;
11
+ private _scrollHandleObserver;
12
+ get src(): string | null | undefined;
13
+ set src(val: string | null | undefined);
14
+ private _src;
15
+ set dataVersion(value: number | undefined | null);
16
+ set data(value: any);
17
+ set scrollable(value: boolean);
18
+ _scrollable: boolean;
19
+ set iframeElementRef(val: ElementRef<HTMLIFrameElement>);
20
+ private _iframeElementRef;
21
+ _scrollbarOptions: {
22
+ callbacks: {
23
+ onInitialized: () => void;
24
+ onInitializationWithdrawn: () => void;
25
+ onDestroyed: () => void;
26
+ };
27
+ };
28
+ _mouseBlockActive: boolean;
29
+ _mouseBlockWidth: string;
30
+ _mouseBlockHeight: string;
31
+ constructor(_ngZone: NgZone, _cdr: ChangeDetectorRef, _elementRef: ElementRef);
32
+ ngOnInit(): void;
33
+ ngOnDestroy(): void;
34
+ private _onMessageFromTemplate;
35
+ private _onResizeMessageFromTemplate;
36
+ private _updateSrc;
37
+ postMessage(msg: string | undefined | null): void;
38
+ reload(): void;
39
+ _onResized(event: {
40
+ width: number;
41
+ height: number;
42
+ }): void;
43
+ private _getIFrameNativeElement;
44
+ private _getIFrameContentWindow;
45
+ /**
46
+ * Initializes a MutationObserver to detect the 'active' class added to a
47
+ * scroll handle, because OverlayScrollbars does not seem to provide an event
48
+ * for scrollbar handle activation/deactivation.
49
+ *
50
+ * TODO: Do we need this to work for native scrollbars also?
51
+ */
52
+ private _initScrollHandleObserver;
53
+ private _destroyScrollHandleObserver;
54
+ /**
55
+ * Enables a transparent div to cover the iframe.
56
+ *
57
+ * When the mouse is over an iframe the browser stops letting the parent
58
+ * document receive mouse events. Anything actively tracking mouse movement or
59
+ * button pressed will think the mouse has left the page. So the scrollbar
60
+ * handle would deactivate, when the mouse hovers the iframe. This adds an
61
+ * element to cover the iframe, which prevents mouse events getting sent to
62
+ * the iframe.
63
+ */
64
+ private _enableMouseBlock;
65
+ private _disableMouseBlock;
66
+ private _isScrollbarHandleActive;
67
+ }
@@ -0,0 +1,2 @@
1
+ export declare class TheSeamHtmlTemplateViewerModule {
2
+ }
@@ -0,0 +1,2 @@
1
+ export * from './html-template-viewer.component';
2
+ export * from './html-template-viewer.module';
@@ -1 +1,2 @@
1
1
  export * from './pdf-viewer';
2
+ export * from './html-template-viewer';
@@ -1 +1 @@
1
- {"__symbolic":"module","version":4,"exports":[{"from":"./pdf-page/pdf-page.component"},{"from":"./pdf-viewer.component"},{"from":"./pdf-viewer.module"}],"metadata":{},"origins":{},"importAs":"@theseam/ui-common/viewers"}
1
+ {"__symbolic":"module","version":4,"exports":[{"from":"./html-template-viewer.component"},{"from":"./html-template-viewer.module"},{"from":"./pdf-viewer.module"}],"metadata":{},"origins":{},"importAs":"@theseam/ui-common/viewers"}
@@ -2,10 +2,12 @@ $seam-widget-header-title-font-size: 17px !default;
2
2
 
3
3
  $seam-widget-header-icon-height: 20px !default;
4
4
  $seam-widget-header-icon-width: 20px !default;
5
+ $seam-widget-header-icon-color: currentColor !default;
5
6
  $seam-widget-header-background: #F4F4F4 !default;
6
7
 
7
8
  $seam-widget-body-background: #FFFFFF !default;
8
9
  $seam-widget-body-font-size: 15px !default;
10
+ $seam-widget-box-shadow: none !default;
9
11
 
10
12
  $seam-widget-content-header-padding: 0.5rem 0.5rem 1rem 0.5rem !default;
11
13