@3t-transform/threeteeui 1.5.2 → 1.5.4
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.
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{tttx-button_1_5_2.cjs.entry.js → tttx-button_1_5_4.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-checkbox-group-caption_1_5_2.cjs.entry.js → tttx-checkbox-group-caption_1_5_4.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox-group-heading_1_5_2.cjs.entry.js → tttx-checkbox-group-heading_1_5_4.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox-group_1_5_2.cjs.entry.js → tttx-checkbox-group_1_5_4.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox_1_5_2.cjs.entry.js → tttx-checkbox_1_5_4.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-data-pattern_1_5_2.cjs.entry.js → tttx-data-pattern_1_5_4.cjs.entry.js} +2 -2
- package/dist/cjs/tttx-datacard_1_5_4.cjs.entry.js +35 -0
- package/dist/cjs/{tttx-dialog-box_1_5_2.cjs.entry.js → tttx-dialog-box_1_5_4.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-dialog_1_5_2.cjs.entry.js → tttx-dialog_1_5_4.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-expander_1_5_2.cjs.entry.js → tttx-expander_1_5_4.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-filter_1_5_2_4.cjs.entry.js → tttx-filter_1_5_4_4.cjs.entry.js} +10 -10
- package/dist/cjs/{tttx-form_1_5_2.cjs.entry.js → tttx-form_1_5_4.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-icon_1_5_2.cjs.entry.js → tttx-icon_1_5_4.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-keyvalue-block_1_5_2.cjs.entry.js → tttx-keyvalue-block_1_5_4.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-loading-spinner_1_5_2.cjs.entry.js → tttx-loading-spinner_1_5_4.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-multiselect-box_1_5_2.cjs.entry.js → tttx-multiselect-box_1_5_4.cjs.entry.js} +7 -6
- package/dist/cjs/{tttx-percentage-bar_1_5_2.cjs.entry.js → tttx-percentage-bar_1_5_4.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-qrcode_1_5_2.cjs.entry.js → tttx-qrcode_1_5_4.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-select-box_1_5_2.cjs.entry.js → tttx-select-box_1_5_4.cjs.entry.js} +4 -4
- package/dist/cjs/tttx-standalone-input_1_5_4.cjs.entry.js +94 -0
- package/dist/cjs/{tttx-tabs_1_5_2.cjs.entry.js → tttx-tabs_1_5_4.cjs.entry.js} +4 -4
- package/dist/cjs/{tttx-tag_1_5_2.cjs.entry.js → tttx-tag_1_5_4.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-textarea_1_5_2.cjs.entry.js → tttx-textarea_1_5_4.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-tree-view_1_5_2.cjs.entry.js → tttx-tree-view_1_5_4.cjs.entry.js} +3 -3
- package/dist/cjs/tttx.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/atoms/tttx-button/tttx-button.js +2 -2
- package/dist/collection/components/atoms/tttx-button/tttx-button.stories.js +20 -20
- package/dist/collection/components/atoms/tttx-checkbox/tttx-checkbox.js +2 -2
- package/dist/collection/components/atoms/tttx-checkbox/tttx-checkbox.stories.js +1 -1
- package/dist/collection/components/atoms/tttx-datacard/tttx-datacard.css +87 -0
- package/dist/collection/components/atoms/tttx-datacard/tttx-datacard.js +125 -0
- package/dist/collection/components/atoms/tttx-datacard/tttx-datacard.stories.js +52 -0
- package/dist/collection/components/atoms/tttx-icon/tttx-icon.js +1 -1
- package/dist/collection/components/atoms/tttx-icon/tttx-icon.stories.js +1 -1
- package/dist/collection/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block.js +1 -1
- package/dist/collection/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block.stories.js +6 -6
- package/dist/collection/components/atoms/tttx-loading-spinner/tttx-loading-spinner.js +1 -1
- package/dist/collection/components/atoms/tttx-loading-spinner/tttx-loading-spinner.stories.js +1 -1
- package/dist/collection/components/atoms/tttx-percentage-bar/tttx-percentage-bar.js +1 -1
- package/dist/collection/components/atoms/tttx-percentage-bar/tttx-percentage-bar.stories.js +5 -5
- package/dist/collection/components/atoms/tttx-qrcode/tttx-qrcode.js +1 -1
- package/dist/collection/components/atoms/tttx-qrcode/tttx-qrcode.stories.js +1 -1
- package/dist/collection/components/atoms/tttx-tag/tttx-tag.js +1 -1
- package/dist/collection/components/atoms/tttx-tag/tttx-tag.stories.js +6 -6
- package/dist/collection/components/molecules/tttx-checkbox-group/components/tttx-checkbox-group-caption.js +1 -1
- package/dist/collection/components/molecules/tttx-checkbox-group/components/tttx-checkbox-group-heading.js +1 -1
- package/dist/collection/components/molecules/tttx-checkbox-group/tttx-checkbox-group.js +1 -1
- package/dist/collection/components/molecules/tttx-checkbox-group/tttx-checkbox-group.stories.js +10 -10
- package/dist/collection/components/molecules/tttx-dialog/tttx-dialog.js +2 -2
- package/dist/collection/components/molecules/tttx-dialog/tttx-dialog.stories.js +6 -6
- package/dist/collection/components/molecules/tttx-dialog-box/tttx-dialog-box.js +3 -3
- package/dist/collection/components/molecules/tttx-dialog-box/tttx-dialog-box.stories.js +24 -24
- package/dist/collection/components/molecules/tttx-expander/tttx-expander.js +2 -2
- package/dist/collection/components/molecules/tttx-expander/tttx-expander.stories.js +9 -9
- package/dist/collection/components/molecules/tttx-filter/tttx-filter.js +3 -3
- package/dist/collection/components/molecules/tttx-filter/tttx-filter.stories.js +2 -2
- package/dist/collection/components/molecules/tttx-form/tttx-form.js +2 -2
- package/dist/collection/components/molecules/tttx-form/tttx-form.stories.js +5 -5
- package/dist/collection/components/molecules/tttx-list/tttx-list.css +1 -2
- package/dist/collection/components/molecules/tttx-list/tttx-list.js +7 -7
- package/dist/collection/components/molecules/tttx-list/tttx-list.stories.js +48 -47
- package/dist/collection/components/molecules/tttx-multiselect-box/tttx-multiselect-box.js +7 -6
- package/dist/collection/components/molecules/tttx-multiselect-box/tttx-multiselect-box.stories.js +33 -33
- package/dist/collection/components/molecules/tttx-select-box/tttx-select-box.js +4 -4
- package/dist/collection/components/molecules/tttx-select-box/tttx-select-box.stories.js +18 -18
- package/dist/collection/components/molecules/tttx-sorter/tttx-sorter.js +2 -2
- package/dist/collection/components/molecules/tttx-sorter/tttx-sorter.stories.js +1 -1
- package/dist/collection/components/molecules/tttx-standalone-input/tttx-standalone-input.js +4 -4
- package/dist/collection/components/molecules/tttx-standalone-input/tttx-standalone-input.stories.js +1 -1
- package/dist/collection/components/molecules/tttx-tabs/tttx-tabs.js +3 -3
- package/dist/collection/components/molecules/tttx-tabs/tttx-tabs.stories.js +4 -4
- package/dist/collection/components/molecules/tttx-textarea/tttx-textarea.js +3 -3
- package/dist/collection/components/molecules/tttx-textarea/tttx-textarea.stories.js +1 -1
- package/dist/collection/components/molecules/tttx-toolbar/tttx-toolbar.js +1 -1
- package/dist/collection/components/molecules/tttx-toolbar/tttx-toolbar.stories.js +37 -37
- package/dist/collection/components/molecules/tttx-tree-view/tttx-tree-view.js +3 -3
- package/dist/collection/components/molecules/tttx-tree-view/tttx-tree-view.stories.js +8 -8
- package/dist/collection/components/organisms/tttx-data-pattern/tttx-data-pattern.js +2 -2
- package/dist/collection/components/organisms/tttx-data-pattern/tttx-data-pattern.stories.js +5 -5
- package/dist/components/index.d.ts +27 -26
- package/dist/components/index.js +27 -26
- package/dist/components/tttx-button.js +5 -5
- package/dist/components/{tttx-button_1_5_2.d.ts → tttx-button_1_5_4.d.ts} +4 -4
- package/dist/components/{tttx-button_1_5_2.js → tttx-button_1_5_4.js} +2 -2
- package/dist/components/tttx-checkbox-group-caption_1_5_4.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group-caption_1_5_2.js → tttx-checkbox-group-caption_1_5_4.js} +5 -5
- package/dist/components/tttx-checkbox-group-heading_1_5_4.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group-heading_1_5_2.js → tttx-checkbox-group-heading_1_5_4.js} +5 -5
- package/dist/components/tttx-checkbox-group_1_5_4.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group_1_5_2.js → tttx-checkbox-group_1_5_4.js} +5 -5
- package/dist/components/{tttx-expander_1_5_2.d.ts → tttx-checkbox_1_5_4.d.ts} +4 -4
- package/dist/components/{tttx-checkbox_1_5_2.js → tttx-checkbox_1_5_4.js} +7 -7
- package/dist/components/tttx-data-pattern_1_5_4.d.ts +11 -0
- package/dist/components/{tttx-data-pattern_1_5_2.js → tttx-data-pattern_1_5_4.js} +13 -13
- package/dist/components/{tttx-checkbox_1_5_2.d.ts → tttx-datacard_1_5_4.d.ts} +4 -4
- package/dist/components/tttx-datacard_1_5_4.js +61 -0
- package/dist/components/{tttx-dialog-box_1_5_2.d.ts → tttx-dialog-box_1_5_4.d.ts} +4 -4
- package/dist/components/{tttx-dialog-box_1_5_2.js → tttx-dialog-box_1_5_4.js} +9 -9
- package/dist/components/{tttx-filter_1_5_2.d.ts → tttx-dialog_1_5_4.d.ts} +4 -4
- package/dist/components/{tttx-dialog_1_5_2.js → tttx-dialog_1_5_4.js} +8 -8
- package/dist/components/tttx-expander_1_5_4.d.ts +11 -0
- package/dist/components/{tttx-expander_1_5_2.js → tttx-expander_1_5_4.js} +7 -7
- package/dist/components/tttx-filter.js +6 -6
- package/dist/components/{tttx-qrcode_1_5_2.d.ts → tttx-filter_1_5_4.d.ts} +4 -4
- package/dist/components/{tttx-filter_1_5_2.js → tttx-filter_1_5_4.js} +2 -2
- package/dist/components/{tttx-icon_1_5_2.d.ts → tttx-form_1_5_4.d.ts} +4 -4
- package/dist/components/{tttx-form_1_5_2.js → tttx-form_1_5_4.js} +9 -9
- package/dist/components/tttx-icon.js +3 -3
- package/dist/components/{tttx-list_1_5_2.d.ts → tttx-icon_1_5_4.d.ts} +4 -4
- package/dist/components/{tttx-icon_1_5_2.js → tttx-icon_1_5_4.js} +2 -2
- package/dist/components/tttx-keyvalue-block_1_5_4.d.ts +11 -0
- package/dist/components/{tttx-keyvalue-block_1_5_2.js → tttx-keyvalue-block_1_5_4.js} +5 -5
- package/dist/components/tttx-list.js +7 -7
- package/dist/components/{tttx-form_1_5_2.d.ts → tttx-list_1_5_4.d.ts} +4 -4
- package/dist/components/{tttx-list_1_5_2.js → tttx-list_1_5_4.js} +2 -2
- package/dist/components/tttx-loading-spinner_1_5_4.d.ts +11 -0
- package/dist/components/{tttx-loading-spinner_1_5_2.js → tttx-loading-spinner_1_5_4.js} +5 -5
- package/dist/components/tttx-multiselect-box_1_5_4.d.ts +11 -0
- package/dist/components/{tttx-multiselect-box_1_5_2.js → tttx-multiselect-box_1_5_4.js} +14 -13
- package/dist/components/tttx-percentage-bar_1_5_4.d.ts +11 -0
- package/dist/components/{tttx-percentage-bar_1_5_2.js → tttx-percentage-bar_1_5_4.js} +6 -6
- package/dist/components/{tttx-dialog_1_5_2.d.ts → tttx-qrcode_1_5_4.d.ts} +4 -4
- package/dist/components/{tttx-qrcode_1_5_2.js → tttx-qrcode_1_5_4.js} +5 -5
- package/dist/components/tttx-select-box.js +8 -8
- package/dist/components/tttx-select-box_1_5_4.d.ts +11 -0
- package/dist/components/{tttx-select-box_1_5_2.js → tttx-select-box_1_5_4.js} +2 -2
- package/dist/components/tttx-sorter.js +5 -5
- package/dist/components/tttx-sorter_1_5_4.d.ts +11 -0
- package/dist/components/{tttx-sorter_1_5_2.js → tttx-sorter_1_5_4.js} +2 -2
- package/dist/components/tttx-standalone-input.js +6 -6
- package/dist/components/tttx-standalone-input_1_5_4.d.ts +11 -0
- package/dist/components/{tttx-standalone-input_1_5_2.js → tttx-standalone-input_1_5_4.js} +2 -2
- package/dist/components/{tttx-tabs_1_5_2.d.ts → tttx-tabs_1_5_4.d.ts} +4 -4
- package/dist/components/{tttx-tabs_1_5_2.js → tttx-tabs_1_5_4.js} +9 -9
- package/dist/components/{tttx-tag_1_5_2.d.ts → tttx-tag_1_5_4.d.ts} +4 -4
- package/dist/components/{tttx-tag_1_5_2.js → tttx-tag_1_5_4.js} +5 -5
- package/dist/components/tttx-textarea_1_5_4.d.ts +11 -0
- package/dist/components/{tttx-textarea_1_5_2.js → tttx-textarea_1_5_4.js} +6 -6
- package/dist/components/tttx-toolbar.js +3 -3
- package/dist/components/{tttx-toolbar_1_5_2.d.ts → tttx-toolbar_1_5_4.d.ts} +4 -4
- package/dist/components/{tttx-toolbar_1_5_2.js → tttx-toolbar_1_5_4.js} +2 -2
- package/dist/components/tttx-tree-view_1_5_4.d.ts +11 -0
- package/dist/components/{tttx-tree-view_1_5_2.js → tttx-tree-view_1_5_4.js} +9 -9
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{tttx-button_1_5_2.entry.js → tttx-button_1_5_4.entry.js} +2 -2
- package/dist/esm/{tttx-checkbox-group-caption_1_5_2.entry.js → tttx-checkbox-group-caption_1_5_4.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox-group-heading_1_5_2.entry.js → tttx-checkbox-group-heading_1_5_4.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox-group_1_5_2.entry.js → tttx-checkbox-group_1_5_4.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox_1_5_2.entry.js → tttx-checkbox_1_5_4.entry.js} +2 -2
- package/dist/esm/{tttx-data-pattern_1_5_2.entry.js → tttx-data-pattern_1_5_4.entry.js} +2 -2
- package/dist/esm/tttx-datacard_1_5_4.entry.js +31 -0
- package/dist/esm/{tttx-dialog-box_1_5_2.entry.js → tttx-dialog-box_1_5_4.entry.js} +3 -3
- package/dist/esm/{tttx-dialog_1_5_2.entry.js → tttx-dialog_1_5_4.entry.js} +2 -2
- package/dist/esm/{tttx-expander_1_5_2.entry.js → tttx-expander_1_5_4.entry.js} +2 -2
- package/dist/esm/{tttx-filter_1_5_2_4.entry.js → tttx-filter_1_5_4_4.entry.js} +7 -7
- package/dist/esm/{tttx-form_1_5_2.entry.js → tttx-form_1_5_4.entry.js} +2 -2
- package/dist/esm/{tttx-icon_1_5_2.entry.js → tttx-icon_1_5_4.entry.js} +1 -1
- package/dist/esm/{tttx-keyvalue-block_1_5_2.entry.js → tttx-keyvalue-block_1_5_4.entry.js} +1 -1
- package/dist/esm/{tttx-loading-spinner_1_5_2.entry.js → tttx-loading-spinner_1_5_4.entry.js} +1 -1
- package/dist/esm/{tttx-multiselect-box_1_5_2.entry.js → tttx-multiselect-box_1_5_4.entry.js} +7 -6
- package/dist/esm/{tttx-percentage-bar_1_5_2.entry.js → tttx-percentage-bar_1_5_4.entry.js} +2 -2
- package/dist/esm/{tttx-qrcode_1_5_2.entry.js → tttx-qrcode_1_5_4.entry.js} +1 -1
- package/dist/esm/{tttx-select-box_1_5_2.entry.js → tttx-select-box_1_5_4.entry.js} +4 -4
- package/dist/esm/tttx-standalone-input_1_5_4.entry.js +90 -0
- package/dist/esm/{tttx-tabs_1_5_2.entry.js → tttx-tabs_1_5_4.entry.js} +4 -4
- package/dist/esm/{tttx-tag_1_5_2.entry.js → tttx-tag_1_5_4.entry.js} +1 -1
- package/dist/esm/{tttx-textarea_1_5_2.entry.js → tttx-textarea_1_5_4.entry.js} +2 -2
- package/dist/esm/{tttx-tree-view_1_5_2.entry.js → tttx-tree-view_1_5_4.entry.js} +3 -3
- package/dist/esm/tttx.js +1 -1
- package/dist/tttx/p-0e515960.entry.js +1 -1
- package/dist/tttx/p-1e5ff5f8.entry.js +1 -1
- package/dist/tttx/p-23f45005.entry.js +1 -1
- package/dist/tttx/p-533499ec.entry.js +1 -1
- package/dist/tttx/p-56c8c353.entry.js +1 -1
- package/dist/tttx/p-59c7b049.entry.js +1 -1
- package/dist/tttx/p-5d2706b1.entry.js +1 -1
- package/dist/tttx/p-5fa512cb.entry.js +1 -1
- package/dist/tttx/p-63ad6fb7.entry.js +1 -1
- package/dist/tttx/p-6b1c7a21.entry.js +1 -1
- package/dist/tttx/p-796f699a.entry.js +1 -1
- package/dist/tttx/p-884f37d3.entry.js +1 -1
- package/dist/tttx/p-8b0b95b7.entry.js +1 -1
- package/dist/tttx/p-9434561e.entry.js +1 -1
- package/dist/tttx/p-983d63ff.entry.js +1 -1
- package/dist/tttx/p-a01e679a.entry.js +1 -1
- package/dist/tttx/p-a8e76e78.entry.js +1 -1
- package/dist/tttx/p-c08a54f9.entry.js +1 -1
- package/dist/tttx/p-c170e3b8.entry.js +1 -1
- package/dist/tttx/p-ddad380e.entry.js +1 -0
- package/dist/tttx/p-e5259a38.entry.js +1 -0
- package/dist/tttx/p-ee358ce4.entry.js +1 -1
- package/dist/tttx/p-f374e293.entry.js +1 -1
- package/dist/tttx/p-f4db1cf2.entry.js +1 -1
- package/dist/tttx/tttx.esm.js +1 -1
- package/dist/types/components/atoms/tttx-datacard/tttx-datacard.d.ts +9 -0
- package/dist/types/components/atoms/tttx-datacard/tttx-datacard.stories.d.ts +18 -0
- package/dist/types/components/molecules/tttx-list/tttx-list.d.ts +2 -2
- package/dist/types/components/molecules/tttx-select-box/tttx-select-box.d.ts +1 -1
- package/dist/types/components/molecules/tttx-standalone-input/tttx-standalone-input.d.ts +2 -2
- package/dist/types/components/molecules/tttx-textarea/tttx-textarea.d.ts +2 -2
- package/dist/types/components.d.ts +328 -305
- package/package.json +1 -1
- package/dist/cjs/tttx-standalone-input_1_5_2.cjs.entry.js +0 -94
- package/dist/components/tttx-checkbox-group-caption_1_5_2.d.ts +0 -11
- package/dist/components/tttx-checkbox-group-heading_1_5_2.d.ts +0 -11
- package/dist/components/tttx-checkbox-group_1_5_2.d.ts +0 -11
- package/dist/components/tttx-data-pattern_1_5_2.d.ts +0 -11
- package/dist/components/tttx-keyvalue-block_1_5_2.d.ts +0 -11
- package/dist/components/tttx-loading-spinner_1_5_2.d.ts +0 -11
- package/dist/components/tttx-multiselect-box_1_5_2.d.ts +0 -11
- package/dist/components/tttx-percentage-bar_1_5_2.d.ts +0 -11
- package/dist/components/tttx-select-box_1_5_2.d.ts +0 -11
- package/dist/components/tttx-sorter_1_5_2.d.ts +0 -11
- package/dist/components/tttx-standalone-input_1_5_2.d.ts +0 -11
- package/dist/components/tttx-textarea_1_5_2.d.ts +0 -11
- package/dist/components/tttx-tree-view_1_5_2.d.ts +0 -11
- package/dist/esm/tttx-standalone-input_1_5_2.entry.js +0 -90
- package/dist/tttx/p-3676cddd.entry.js +0 -1
|
@@ -179,15 +179,15 @@ const TttxFilter = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
179
179
|
const selectAllCheckboxColor = this.allSelected ? 'blue' : 'grey';
|
|
180
180
|
const buttonStyleClassNameModifier = this.getFilterButtonClassName(this.filterButtonStyle);
|
|
181
181
|
const filterKey = `filter__${this.filterKey}`;
|
|
182
|
-
return (h(Host, { id: filterKey }, h("div", { class: 'filter-container' }, h("button", { class: `filter-button ${buttonStyleClassNameModifier}`, type: 'button', onClick: this.onFilterButtonClick.bind(this) }, h("tttx-
|
|
182
|
+
return (h(Host, { id: filterKey }, h("div", { class: 'filter-container' }, h("button", { class: `filter-button ${buttonStyleClassNameModifier}`, type: 'button', onClick: this.onFilterButtonClick.bind(this) }, h("tttx-icon_1_5_4", { icon: 'filter_list', class: 'filter-icon', color: 'black' }), "Filter"), this.showPopover && (h("div", { class: `filter-popover-container ${filterPopoverContainerClassNameModifier}`, style: { width: this.popoverWidth } }, h("div", { class: 'filter-header' }, this.filterHeader), this.showSearchField ? (h("div", { class: 'search-field-container' }, h("tttx-icon_1_5_4", { icon: 'search', class: 'search-icon' }), h("input", { type: 'text', class: 'search-input', placeholder: 'Search', value: this.filterSearchTerm, onInput: this.handleFilterChange.bind(this) }))) : (''), h("div", { class: 'filter-options-container' }, this.showSelectAll ? (h("div", { class: 'filter-option', tabIndex: -1, onClick: this.onSelectAllClick.bind(this) }, h("tttx-icon_1_5_4", { icon: selectAllCheckboxIcon, color: selectAllCheckboxColor, class: 'select-all-icon' }), h("label", { class: 'filter-label' }, "Select all"))) : (''), this.displayedFilterSettings.map((option) => {
|
|
183
183
|
const checkboxIcon = this.selectedFilters.includes(option.optionText) ? 'check_box' : 'check_box_outline_blank';
|
|
184
184
|
const checkboxColor = this.selectedFilters.includes(option.optionText) ? 'blue' : 'grey';
|
|
185
|
-
return h("div", { class: 'filter-option', tabIndex: -1, onClick: () => this.onFilterOptionSelected(option.optionText), key: option.optionText }, h("tttx-
|
|
185
|
+
return h("div", { class: 'filter-option', tabIndex: -1, onClick: () => this.onFilterOptionSelected(option.optionText), key: option.optionText }, h("tttx-icon_1_5_4", { icon: checkboxIcon, color: checkboxColor, class: 'checkbox-icon' }), this.showOptionIcons && h("tttx-icon_1_5_4", { icon: option.optionIcon, color: option.optionIconColor }), h("label", { class: 'filter-label' }, option.optionText));
|
|
186
186
|
})), h("div", { class: 'filter-popover-button-container' }, h("button", { type: 'button', class: 'close-button', onClick: this.onCloseButtonClick.bind(this) }, "Close"), h("button", { type: 'button', class: 'apply-button', onClick: this.onApplyFilterButtonClick.bind(this) }, "Apply")))))));
|
|
187
187
|
}
|
|
188
188
|
get el() { return this; }
|
|
189
189
|
static get style() { return tttxFilterCss; }
|
|
190
|
-
}, [1, "tttx-
|
|
190
|
+
}, [1, "tttx-filter_1_5_4", {
|
|
191
191
|
"filterKey": [1, "filter-key"],
|
|
192
192
|
"filterOptions": [1, "filter-options"],
|
|
193
193
|
"showSelectAll": [4, "show-select-all"],
|
|
@@ -207,14 +207,14 @@ function defineCustomElement() {
|
|
|
207
207
|
if (typeof customElements === "undefined") {
|
|
208
208
|
return;
|
|
209
209
|
}
|
|
210
|
-
const components = ["tttx-
|
|
210
|
+
const components = ["tttx-filter_1_5_4", "tttx-icon_1_5_4"];
|
|
211
211
|
components.forEach(tagName => { switch (tagName) {
|
|
212
|
-
case "tttx-
|
|
212
|
+
case "tttx-filter_1_5_4":
|
|
213
213
|
if (!customElements.get(tagName)) {
|
|
214
214
|
customElements.define(tagName, TttxFilter);
|
|
215
215
|
}
|
|
216
216
|
break;
|
|
217
|
-
case "tttx-
|
|
217
|
+
case "tttx-icon_1_5_4":
|
|
218
218
|
if (!customElements.get(tagName)) {
|
|
219
219
|
defineCustomElement$1();
|
|
220
220
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { Components, JSX } from "../types/components";
|
|
2
2
|
|
|
3
|
-
interface
|
|
4
|
-
export const
|
|
5
|
-
prototype:
|
|
6
|
-
new ():
|
|
3
|
+
interface TttxFilter_1_5_4 extends Components.TttxFilter_1_5_4, HTMLElement {}
|
|
4
|
+
export const TttxFilter_1_5_4: {
|
|
5
|
+
prototype: TttxFilter_1_5_4;
|
|
6
|
+
new (): TttxFilter_1_5_4;
|
|
7
7
|
};
|
|
8
8
|
/**
|
|
9
9
|
* Used to define this component and all nested components recursively.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { T as TttxFilter, d as defineCustomElement$1 } from './tttx-filter.js';
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const TttxFilter_1_5_4 = TttxFilter;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
5
5
|
|
|
6
|
-
export {
|
|
6
|
+
export { TttxFilter_1_5_4, defineCustomElement };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { Components, JSX } from "../types/components";
|
|
2
2
|
|
|
3
|
-
interface
|
|
4
|
-
export const
|
|
5
|
-
prototype:
|
|
6
|
-
new ():
|
|
3
|
+
interface TttxForm_1_5_4 extends Components.TttxForm_1_5_4, HTMLElement {}
|
|
4
|
+
export const TttxForm_1_5_4: {
|
|
5
|
+
prototype: TttxForm_1_5_4;
|
|
6
|
+
new (): TttxForm_1_5_4;
|
|
7
7
|
};
|
|
8
8
|
/**
|
|
9
9
|
* Used to define this component and all nested components recursively.
|
|
@@ -331,7 +331,7 @@ const TttxForm = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
331
331
|
if ((_a = this._data) === null || _a === void 0 ? void 0 : _a[formKey]) {
|
|
332
332
|
select.classList.remove('placeholder');
|
|
333
333
|
}
|
|
334
|
-
const tttxSelect = document.createElement('tttx-select-
|
|
334
|
+
const tttxSelect = document.createElement('tttx-select-box_1_5_4');
|
|
335
335
|
tttxSelect.optionsData = (_b = formProperties.options) === null || _b === void 0 ? void 0 : _b.filter(o => !o.placeholder);
|
|
336
336
|
tttxSelect.placeholder = (_d = (_c = formProperties.options) === null || _c === void 0 ? void 0 : _c.filter(o => o.placeholder)[0]) === null || _d === void 0 ? void 0 : _d.label;
|
|
337
337
|
tttxSelect.inline = false;
|
|
@@ -902,7 +902,7 @@ const TttxForm = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
902
902
|
"data": ["onDataChange"]
|
|
903
903
|
}; }
|
|
904
904
|
static get style() { return tttxFormCss; }
|
|
905
|
-
}, [1, "tttx-
|
|
905
|
+
}, [1, "tttx-form_1_5_4", {
|
|
906
906
|
"formschema": [1025],
|
|
907
907
|
"data": [1032],
|
|
908
908
|
"submit": [64],
|
|
@@ -916,24 +916,24 @@ function defineCustomElement$1() {
|
|
|
916
916
|
if (typeof customElements === "undefined") {
|
|
917
917
|
return;
|
|
918
918
|
}
|
|
919
|
-
const components = ["tttx-
|
|
919
|
+
const components = ["tttx-form_1_5_4", "tttx-icon_1_5_4", "tttx-select-box_1_5_4", "tttx-standalone-input_1_5_4"];
|
|
920
920
|
components.forEach(tagName => { switch (tagName) {
|
|
921
|
-
case "tttx-
|
|
921
|
+
case "tttx-form_1_5_4":
|
|
922
922
|
if (!customElements.get(tagName)) {
|
|
923
923
|
customElements.define(tagName, TttxForm);
|
|
924
924
|
}
|
|
925
925
|
break;
|
|
926
|
-
case "tttx-
|
|
926
|
+
case "tttx-icon_1_5_4":
|
|
927
927
|
if (!customElements.get(tagName)) {
|
|
928
928
|
defineCustomElement$4();
|
|
929
929
|
}
|
|
930
930
|
break;
|
|
931
|
-
case "tttx-select-
|
|
931
|
+
case "tttx-select-box_1_5_4":
|
|
932
932
|
if (!customElements.get(tagName)) {
|
|
933
933
|
defineCustomElement$3();
|
|
934
934
|
}
|
|
935
935
|
break;
|
|
936
|
-
case "tttx-standalone-
|
|
936
|
+
case "tttx-standalone-input_1_5_4":
|
|
937
937
|
if (!customElements.get(tagName)) {
|
|
938
938
|
defineCustomElement$2();
|
|
939
939
|
}
|
|
@@ -941,7 +941,7 @@ function defineCustomElement$1() {
|
|
|
941
941
|
} });
|
|
942
942
|
}
|
|
943
943
|
|
|
944
|
-
const
|
|
944
|
+
const TttxForm_1_5_4 = TttxForm;
|
|
945
945
|
const defineCustomElement = defineCustomElement$1;
|
|
946
946
|
|
|
947
|
-
export {
|
|
947
|
+
export { TttxForm_1_5_4, defineCustomElement };
|
|
@@ -27,7 +27,7 @@ const TttxIcon = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
27
27
|
}
|
|
28
28
|
get element() { return this; }
|
|
29
29
|
static get style() { return tttxIconCss; }
|
|
30
|
-
}, [1, "tttx-
|
|
30
|
+
}, [1, "tttx-icon_1_5_4", {
|
|
31
31
|
"icon": [1],
|
|
32
32
|
"color": [1],
|
|
33
33
|
"size": [1026]
|
|
@@ -36,9 +36,9 @@ function defineCustomElement() {
|
|
|
36
36
|
if (typeof customElements === "undefined") {
|
|
37
37
|
return;
|
|
38
38
|
}
|
|
39
|
-
const components = ["tttx-
|
|
39
|
+
const components = ["tttx-icon_1_5_4"];
|
|
40
40
|
components.forEach(tagName => { switch (tagName) {
|
|
41
|
-
case "tttx-
|
|
41
|
+
case "tttx-icon_1_5_4":
|
|
42
42
|
if (!customElements.get(tagName)) {
|
|
43
43
|
customElements.define(tagName, TttxIcon);
|
|
44
44
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { Components, JSX } from "../types/components";
|
|
2
2
|
|
|
3
|
-
interface
|
|
4
|
-
export const
|
|
5
|
-
prototype:
|
|
6
|
-
new ():
|
|
3
|
+
interface TttxIcon_1_5_4 extends Components.TttxIcon_1_5_4, HTMLElement {}
|
|
4
|
+
export const TttxIcon_1_5_4: {
|
|
5
|
+
prototype: TttxIcon_1_5_4;
|
|
6
|
+
new (): TttxIcon_1_5_4;
|
|
7
7
|
};
|
|
8
8
|
/**
|
|
9
9
|
* Used to define this component and all nested components recursively.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { T as TttxIcon, d as defineCustomElement$1 } from './tttx-icon.js';
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const TttxIcon_1_5_4 = TttxIcon;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
5
5
|
|
|
6
|
-
export {
|
|
6
|
+
export { TttxIcon_1_5_4, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface TttxKeyvalueBlock_1_5_4 extends Components.TttxKeyvalueBlock_1_5_4, HTMLElement {}
|
|
4
|
+
export const TttxKeyvalueBlock_1_5_4: {
|
|
5
|
+
prototype: TttxKeyvalueBlock_1_5_4;
|
|
6
|
+
new (): TttxKeyvalueBlock_1_5_4;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -65,7 +65,7 @@ const TttxKeyvalueBlock = /*@__PURE__*/ proxyCustomElement(class extends HTMLEle
|
|
|
65
65
|
return (h(Host, null, h("dl", { class: [this.horizontal ? 'horizontal' : undefined, this.spacedout ? ' spacedout' : undefined].join(' ').trim() }, this._elements)));
|
|
66
66
|
}
|
|
67
67
|
static get style() { return tttxKeyvalueBlockCss; }
|
|
68
|
-
}, [1, "tttx-keyvalue-
|
|
68
|
+
}, [1, "tttx-keyvalue-block_1_5_4", {
|
|
69
69
|
"keyvalues": [1],
|
|
70
70
|
"horizontal": [4],
|
|
71
71
|
"spacedout": [4],
|
|
@@ -75,9 +75,9 @@ function defineCustomElement$1() {
|
|
|
75
75
|
if (typeof customElements === "undefined") {
|
|
76
76
|
return;
|
|
77
77
|
}
|
|
78
|
-
const components = ["tttx-keyvalue-
|
|
78
|
+
const components = ["tttx-keyvalue-block_1_5_4"];
|
|
79
79
|
components.forEach(tagName => { switch (tagName) {
|
|
80
|
-
case "tttx-keyvalue-
|
|
80
|
+
case "tttx-keyvalue-block_1_5_4":
|
|
81
81
|
if (!customElements.get(tagName)) {
|
|
82
82
|
customElements.define(tagName, TttxKeyvalueBlock);
|
|
83
83
|
}
|
|
@@ -85,7 +85,7 @@ function defineCustomElement$1() {
|
|
|
85
85
|
} });
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
const
|
|
88
|
+
const TttxKeyvalueBlock_1_5_4 = TttxKeyvalueBlock;
|
|
89
89
|
const defineCustomElement = defineCustomElement$1;
|
|
90
90
|
|
|
91
|
-
export {
|
|
91
|
+
export { TttxKeyvalueBlock_1_5_4, defineCustomElement };
|
|
@@ -2,7 +2,7 @@ import { proxyCustomElement, HTMLElement, createEvent, h, Fragment } from '@sten
|
|
|
2
2
|
import { p as purify, d as domSanitiserOptions } from './domsanitiser.options.js';
|
|
3
3
|
import { d as defineCustomElement$1 } from './tttx-icon.js';
|
|
4
4
|
|
|
5
|
-
const tttxListCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.material-symbols-rounded{font-family:\"Material Symbols Rounded\", sans-serif;font-weight:400;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;color:#9e9e9e}:host{display:flex;flex-direction:column}.list{margin:0;padding:0}li{display:flex;align-items:flex-start}li.item{list-style:none;margin:0;padding:8px;border-bottom:1px solid #d5d5d5;min-height:36px}li.item:first-of-type{border-top:1px solid #d5d5d5}li.item.clickable:hover{cursor:pointer}li.item.toggleable:hover{cursor:pointer}li.item.active{background-color:rgba(17, 17, 17, 0.1)}li.item.active:hover{background-color:rgba(17, 17, 17, 0.15)}li.item.selected{background-color:#ebfbfc}li.item.selected:hover{background-color:#e0f8f9}li.item.selected.active{background-color:#ccf3f6}li.item.selected.active:hover{background-color:#bff0f3}li.item .icons{display:flex;justify-content:flex-end;
|
|
5
|
+
const tttxListCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.material-symbols-rounded{font-family:\"Material Symbols Rounded\", sans-serif;font-weight:400;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;color:#9e9e9e}:host{display:flex;flex-direction:column}.list{margin:0;padding:0}li{display:flex;align-items:flex-start}li.item{list-style:none;margin:0;padding:8px;border-bottom:1px solid #d5d5d5;min-height:36px}li.item:first-of-type{border-top:1px solid #d5d5d5}li.item.clickable:hover{cursor:pointer}li.item.toggleable:hover{cursor:pointer}li.item.active{background-color:rgba(17, 17, 17, 0.1)}li.item.active:hover{background-color:rgba(17, 17, 17, 0.15)}li.item.selected{background-color:#ebfbfc}li.item.selected:hover{background-color:#e0f8f9}li.item.selected.active{background-color:#ccf3f6}li.item.selected.active:hover{background-color:#bff0f3}li.item .icons{display:flex;justify-content:flex-end;align-items:center;height:36px}li.item .icons tttx-icon:hover{cursor:pointer}li.item .icons *{display:flex}li.item:hover{background-color:rgba(17, 17, 17, 0.05)}.align-right{margin-left:auto}.item-content{display:flex;align-items:center;width:100%;min-height:36px}.checkbox{padding:6px;margin-left:-8px}";
|
|
6
6
|
|
|
7
7
|
const TttxList = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
8
8
|
constructor() {
|
|
@@ -55,9 +55,9 @@ const TttxList = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
55
55
|
else {
|
|
56
56
|
element = h("span", { class: "item-content" }, item.element);
|
|
57
57
|
}
|
|
58
|
-
return (h(Fragment, null, item.hasCheckbox && (h("div", { class: "checkbox" }, h("tttx-
|
|
58
|
+
return (h(Fragment, null, item.hasCheckbox && (h("div", { class: "checkbox" }, h("tttx-icon_1_5_4", { icon: item.checked ? 'check_box' : 'check_box_outline_blank', color: item.checked ? 'blue' : 'grey', onClick: event => {
|
|
59
59
|
this.onRowCheckboxHandler(event, item);
|
|
60
|
-
} }))), item.element && element, item.icon && (h("span", { class: "icons" }, h("tttx-
|
|
60
|
+
} }))), item.element && element, item.icon && (h("span", { class: "icons" }, h("tttx-icon_1_5_4", { class: "align-right", icon: item.icon, color: 'black' })))));
|
|
61
61
|
}
|
|
62
62
|
render() {
|
|
63
63
|
if (!this._data)
|
|
@@ -74,7 +74,7 @@ const TttxList = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
74
74
|
"data": ["onDataChange"]
|
|
75
75
|
}; }
|
|
76
76
|
static get style() { return tttxListCss; }
|
|
77
|
-
}, [1, "tttx-
|
|
77
|
+
}, [1, "tttx-list_1_5_4", {
|
|
78
78
|
"data": [1025],
|
|
79
79
|
"name": [1],
|
|
80
80
|
"_data": [32]
|
|
@@ -83,14 +83,14 @@ function defineCustomElement() {
|
|
|
83
83
|
if (typeof customElements === "undefined") {
|
|
84
84
|
return;
|
|
85
85
|
}
|
|
86
|
-
const components = ["tttx-
|
|
86
|
+
const components = ["tttx-list_1_5_4", "tttx-icon_1_5_4"];
|
|
87
87
|
components.forEach(tagName => { switch (tagName) {
|
|
88
|
-
case "tttx-
|
|
88
|
+
case "tttx-list_1_5_4":
|
|
89
89
|
if (!customElements.get(tagName)) {
|
|
90
90
|
customElements.define(tagName, TttxList);
|
|
91
91
|
}
|
|
92
92
|
break;
|
|
93
|
-
case "tttx-
|
|
93
|
+
case "tttx-icon_1_5_4":
|
|
94
94
|
if (!customElements.get(tagName)) {
|
|
95
95
|
defineCustomElement$1();
|
|
96
96
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { Components, JSX } from "../types/components";
|
|
2
2
|
|
|
3
|
-
interface
|
|
4
|
-
export const
|
|
5
|
-
prototype:
|
|
6
|
-
new ():
|
|
3
|
+
interface TttxList_1_5_4 extends Components.TttxList_1_5_4, HTMLElement {}
|
|
4
|
+
export const TttxList_1_5_4: {
|
|
5
|
+
prototype: TttxList_1_5_4;
|
|
6
|
+
new (): TttxList_1_5_4;
|
|
7
7
|
};
|
|
8
8
|
/**
|
|
9
9
|
* Used to define this component and all nested components recursively.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { T as TttxList, d as defineCustomElement$1 } from './tttx-list.js';
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const TttxList_1_5_4 = TttxList;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
5
5
|
|
|
6
|
-
export {
|
|
6
|
+
export { TttxList_1_5_4, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface TttxLoadingSpinner_1_5_4 extends Components.TttxLoadingSpinner_1_5_4, HTMLElement {}
|
|
4
|
+
export const TttxLoadingSpinner_1_5_4: {
|
|
5
|
+
prototype: TttxLoadingSpinner_1_5_4;
|
|
6
|
+
new (): TttxLoadingSpinner_1_5_4;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -19,7 +19,7 @@ const TttxLoadingSpinner = /*@__PURE__*/ proxyCustomElement(class extends HTMLEl
|
|
|
19
19
|
return (h("div", null, h("div", { class: "loading-box" }, h("span", { class: `spinner ${this.size}` })), this.renderLoadingMessage()));
|
|
20
20
|
}
|
|
21
21
|
static get style() { return tttxLoadingSpinnerCss; }
|
|
22
|
-
}, [1, "tttx-loading-
|
|
22
|
+
}, [1, "tttx-loading-spinner_1_5_4", {
|
|
23
23
|
"loadingMessage": [1028, "loading-message"],
|
|
24
24
|
"size": [1025]
|
|
25
25
|
}]);
|
|
@@ -27,9 +27,9 @@ function defineCustomElement$1() {
|
|
|
27
27
|
if (typeof customElements === "undefined") {
|
|
28
28
|
return;
|
|
29
29
|
}
|
|
30
|
-
const components = ["tttx-loading-
|
|
30
|
+
const components = ["tttx-loading-spinner_1_5_4"];
|
|
31
31
|
components.forEach(tagName => { switch (tagName) {
|
|
32
|
-
case "tttx-loading-
|
|
32
|
+
case "tttx-loading-spinner_1_5_4":
|
|
33
33
|
if (!customElements.get(tagName)) {
|
|
34
34
|
customElements.define(tagName, TttxLoadingSpinner);
|
|
35
35
|
}
|
|
@@ -37,7 +37,7 @@ function defineCustomElement$1() {
|
|
|
37
37
|
} });
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
const
|
|
40
|
+
const TttxLoadingSpinner_1_5_4 = TttxLoadingSpinner;
|
|
41
41
|
const defineCustomElement = defineCustomElement$1;
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { TttxLoadingSpinner_1_5_4, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface TttxMultiselectBox_1_5_4 extends Components.TttxMultiselectBox_1_5_4, HTMLElement {}
|
|
4
|
+
export const TttxMultiselectBox_1_5_4: {
|
|
5
|
+
prototype: TttxMultiselectBox_1_5_4;
|
|
6
|
+
new (): TttxMultiselectBox_1_5_4;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -42,6 +42,7 @@ const TttxMultiselectBox = /*@__PURE__*/ proxyCustomElement(class extends HTMLEl
|
|
|
42
42
|
* If we don't clone them, changing one may propagate to the others
|
|
43
43
|
* JSON.parse/stringify will deep clone them, so the references of the array elements will also change
|
|
44
44
|
*/
|
|
45
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
45
46
|
safelyCloneArray(arr) {
|
|
46
47
|
return JSON.parse(JSON.stringify(arr));
|
|
47
48
|
}
|
|
@@ -88,11 +89,11 @@ const TttxMultiselectBox = /*@__PURE__*/ proxyCustomElement(class extends HTMLEl
|
|
|
88
89
|
const sanitisedHTML = purify.sanitize(option.html, domSanitiserOptions);
|
|
89
90
|
// This is tested in e2e tests
|
|
90
91
|
/* istanbul ignore next */
|
|
91
|
-
return (h("div", { class: `dropdown-option ${hideOption ? 'hidden' : ''} ${option.selected ? 'selected' : ''}`, onClick: this.onItemSelected.bind(this, option), key: option.label }, h("tttx-
|
|
92
|
+
return (h("div", { class: `dropdown-option ${hideOption ? 'hidden' : ''} ${option.selected ? 'selected' : ''}`, onClick: this.onItemSelected.bind(this, option), key: option.label }, h("tttx-icon_1_5_4", { icon: checkboxIcon, color: checkboxColor, class: 'checkbox-icon' }), h("div", { innerHTML: sanitisedHTML })));
|
|
92
93
|
}
|
|
93
94
|
// This is tested in e2e tests
|
|
94
95
|
/* istanbul ignore next */
|
|
95
|
-
return (h("div", { class: `dropdown-option ${hideOption ? 'hidden' : ''} ${option.selected ? 'selected' : ''}`, onClick: this.onItemSelected.bind(this, option), key: option.label }, h("tttx-
|
|
96
|
+
return (h("div", { class: `dropdown-option ${hideOption ? 'hidden' : ''} ${option.selected ? 'selected' : ''}`, onClick: this.onItemSelected.bind(this, option), key: option.label }, h("tttx-icon_1_5_4", { icon: checkboxIcon, color: checkboxColor, class: 'checkbox-icon' }), h("div", { class: "plaintext-option" }, option.label)));
|
|
96
97
|
}
|
|
97
98
|
// This is tested in e2e tests
|
|
98
99
|
/* istanbul ignore next */
|
|
@@ -124,18 +125,18 @@ const TttxMultiselectBox = /*@__PURE__*/ proxyCustomElement(class extends HTMLEl
|
|
|
124
125
|
if (!this.unsavedSelectedItems)
|
|
125
126
|
this.unsavedSelectedItems = this.safelyCloneArray(this._optionsData);
|
|
126
127
|
const chevronIcon = this.open ? 'expand_less' : 'expand_more';
|
|
127
|
-
return (h(Host, { class: this.inline ? 'inline' : 'block' }, this.label && h("div", { class: "label" }, this.label), h("div", { tabindex: "0", class: "dropdown-container" }, h("div", { class: "dropdown-selector", onClick: this.onDropdownClicked.bind(this) }, this.dropdownSelectorContent(), h("div", { class: "dropdown-selector-chevron" }, h("tttx-
|
|
128
|
+
return (h(Host, { class: this.inline ? 'inline' : 'block' }, this.label && h("div", { class: "label" }, this.label), h("div", { tabindex: "0", class: "dropdown-container" }, h("div", { class: "dropdown-selector", onClick: this.onDropdownClicked.bind(this) }, this.dropdownSelectorContent(), h("div", { class: "dropdown-selector-chevron" }, h("tttx-icon_1_5_4", { icon: chevronIcon, color: "black" }))), this.open && (h("div", { class: "dropdown-body-container" }, h("div", { class: "dropdown-body", style: Object.assign({}, this.bodyOffset) }, this.searchEnabled &&
|
|
128
129
|
/* istanbul ignore next */
|
|
129
|
-
h("div", { class: "searchbox" }, h("tttx-standalone-
|
|
130
|
+
h("div", { class: "searchbox" }, h("tttx-standalone-input_1_5_4", { type: "text", placeholder: 'Search', label: "", required: true, showerrorbubble: false, iconleft: 'search', onInput: this.handleSearchInput.bind(this), inline: true })), h("div", { class: "dropdown-options-list" }, this.unsavedSelectedItems.map((option) => {
|
|
130
131
|
return this.dropdownOption(option);
|
|
131
|
-
})), h("div", { class: 'footer' }, h("tttx-
|
|
132
|
+
})), h("div", { class: 'footer' }, h("tttx-button_1_5_4", { design: "primary", onClick: this.applyChanges.bind(this) }, "Apply"), h("tttx-button_1_5_4", { onClick: this.onCancel.bind(this) }, "Cancel"))))))));
|
|
132
133
|
}
|
|
133
134
|
get el() { return this; }
|
|
134
135
|
static get watchers() { return {
|
|
135
136
|
"optionsData": ["handleOptionsDataChange"]
|
|
136
137
|
}; }
|
|
137
138
|
static get style() { return tttxMultiselectBoxCss; }
|
|
138
|
-
}, [1, "tttx-multiselect-
|
|
139
|
+
}, [1, "tttx-multiselect-box_1_5_4", {
|
|
139
140
|
"optionsData": [1, "options-data"],
|
|
140
141
|
"label": [1],
|
|
141
142
|
"inline": [4],
|
|
@@ -151,24 +152,24 @@ function defineCustomElement$1() {
|
|
|
151
152
|
if (typeof customElements === "undefined") {
|
|
152
153
|
return;
|
|
153
154
|
}
|
|
154
|
-
const components = ["tttx-multiselect-
|
|
155
|
+
const components = ["tttx-multiselect-box_1_5_4", "tttx-button_1_5_4", "tttx-icon_1_5_4", "tttx-standalone-input_1_5_4"];
|
|
155
156
|
components.forEach(tagName => { switch (tagName) {
|
|
156
|
-
case "tttx-multiselect-
|
|
157
|
+
case "tttx-multiselect-box_1_5_4":
|
|
157
158
|
if (!customElements.get(tagName)) {
|
|
158
159
|
customElements.define(tagName, TttxMultiselectBox);
|
|
159
160
|
}
|
|
160
161
|
break;
|
|
161
|
-
case "tttx-
|
|
162
|
+
case "tttx-button_1_5_4":
|
|
162
163
|
if (!customElements.get(tagName)) {
|
|
163
164
|
defineCustomElement$4();
|
|
164
165
|
}
|
|
165
166
|
break;
|
|
166
|
-
case "tttx-
|
|
167
|
+
case "tttx-icon_1_5_4":
|
|
167
168
|
if (!customElements.get(tagName)) {
|
|
168
169
|
defineCustomElement$3();
|
|
169
170
|
}
|
|
170
171
|
break;
|
|
171
|
-
case "tttx-standalone-
|
|
172
|
+
case "tttx-standalone-input_1_5_4":
|
|
172
173
|
if (!customElements.get(tagName)) {
|
|
173
174
|
defineCustomElement$2();
|
|
174
175
|
}
|
|
@@ -176,7 +177,7 @@ function defineCustomElement$1() {
|
|
|
176
177
|
} });
|
|
177
178
|
}
|
|
178
179
|
|
|
179
|
-
const
|
|
180
|
+
const TttxMultiselectBox_1_5_4 = TttxMultiselectBox;
|
|
180
181
|
const defineCustomElement = defineCustomElement$1;
|
|
181
182
|
|
|
182
|
-
export {
|
|
183
|
+
export { TttxMultiselectBox_1_5_4, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface TttxPercentageBar_1_5_4 extends Components.TttxPercentageBar_1_5_4, HTMLElement {}
|
|
4
|
+
export const TttxPercentageBar_1_5_4: {
|
|
5
|
+
prototype: TttxPercentageBar_1_5_4;
|
|
6
|
+
new (): TttxPercentageBar_1_5_4;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
2
|
|
|
3
|
-
const tttxPercentageBarCss = ".sc-tttx-percentage-
|
|
3
|
+
const tttxPercentageBarCss = ".sc-tttx-percentage-bar_1_5_4-h{display:block}.progress.sc-tttx-percentage-bar_1_5_4{width:100%;background-color:#dbdbdb}.progress.sc-tttx-percentage-bar_1_5_4 .bar.sc-tttx-percentage-bar_1_5_4{height:20px}";
|
|
4
4
|
|
|
5
5
|
const TttxPercentageBar = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
6
6
|
constructor() {
|
|
@@ -57,7 +57,7 @@ const TttxPercentageBar = /*@__PURE__*/ proxyCustomElement(class extends HTMLEle
|
|
|
57
57
|
return (h(Host, null, h("div", { class: "progress" }, h("div", { class: "bar", style: { 'background-color': this.getColour(), 'width': `${this.getWidth()}%` }, role: "progressbar", "aria-valuemin": this._min, "aria-valuemax": "100", "aria-valuenow": this._percentage, "aria-labelledby": this.labelid }))));
|
|
58
58
|
}
|
|
59
59
|
static get style() { return tttxPercentageBarCss; }
|
|
60
|
-
}, [2, "tttx-percentage-
|
|
60
|
+
}, [2, "tttx-percentage-bar_1_5_4", {
|
|
61
61
|
"percentage": [8],
|
|
62
62
|
"thresholds": [1],
|
|
63
63
|
"color": [1],
|
|
@@ -71,9 +71,9 @@ function defineCustomElement$1() {
|
|
|
71
71
|
if (typeof customElements === "undefined") {
|
|
72
72
|
return;
|
|
73
73
|
}
|
|
74
|
-
const components = ["tttx-percentage-
|
|
74
|
+
const components = ["tttx-percentage-bar_1_5_4"];
|
|
75
75
|
components.forEach(tagName => { switch (tagName) {
|
|
76
|
-
case "tttx-percentage-
|
|
76
|
+
case "tttx-percentage-bar_1_5_4":
|
|
77
77
|
if (!customElements.get(tagName)) {
|
|
78
78
|
customElements.define(tagName, TttxPercentageBar);
|
|
79
79
|
}
|
|
@@ -81,7 +81,7 @@ function defineCustomElement$1() {
|
|
|
81
81
|
} });
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
const
|
|
84
|
+
const TttxPercentageBar_1_5_4 = TttxPercentageBar;
|
|
85
85
|
const defineCustomElement = defineCustomElement$1;
|
|
86
86
|
|
|
87
|
-
export {
|
|
87
|
+
export { TttxPercentageBar_1_5_4, defineCustomElement };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { Components, JSX } from "../types/components";
|
|
2
2
|
|
|
3
|
-
interface
|
|
4
|
-
export const
|
|
5
|
-
prototype:
|
|
6
|
-
new ():
|
|
3
|
+
interface TttxQrcode_1_5_4 extends Components.TttxQrcode_1_5_4, HTMLElement {}
|
|
4
|
+
export const TttxQrcode_1_5_4: {
|
|
5
|
+
prototype: TttxQrcode_1_5_4;
|
|
6
|
+
new (): TttxQrcode_1_5_4;
|
|
7
7
|
};
|
|
8
8
|
/**
|
|
9
9
|
* Used to define this component and all nested components recursively.
|
|
@@ -36,7 +36,7 @@ const TttxQrCode = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
36
36
|
}
|
|
37
37
|
get hostElement() { return this; }
|
|
38
38
|
static get style() { return tttxQrcodeCss; }
|
|
39
|
-
}, [1, "tttx-
|
|
39
|
+
}, [1, "tttx-qrcode_1_5_4", {
|
|
40
40
|
"link": [1025],
|
|
41
41
|
"size": [1026]
|
|
42
42
|
}]);
|
|
@@ -44,9 +44,9 @@ function defineCustomElement$1() {
|
|
|
44
44
|
if (typeof customElements === "undefined") {
|
|
45
45
|
return;
|
|
46
46
|
}
|
|
47
|
-
const components = ["tttx-
|
|
47
|
+
const components = ["tttx-qrcode_1_5_4"];
|
|
48
48
|
components.forEach(tagName => { switch (tagName) {
|
|
49
|
-
case "tttx-
|
|
49
|
+
case "tttx-qrcode_1_5_4":
|
|
50
50
|
if (!customElements.get(tagName)) {
|
|
51
51
|
customElements.define(tagName, TttxQrCode);
|
|
52
52
|
}
|
|
@@ -54,7 +54,7 @@ function defineCustomElement$1() {
|
|
|
54
54
|
} });
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
const
|
|
57
|
+
const TttxQrcode_1_5_4 = TttxQrCode;
|
|
58
58
|
const defineCustomElement = defineCustomElement$1;
|
|
59
59
|
|
|
60
|
-
export {
|
|
60
|
+
export { TttxQrcode_1_5_4, defineCustomElement };
|
|
@@ -71,7 +71,7 @@ const TttxSelectBox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
71
71
|
let title;
|
|
72
72
|
let subtitle;
|
|
73
73
|
const chevronIcon = this.open ? 'expand_less' : 'expand_more';
|
|
74
|
-
const icon = h("tttx-
|
|
74
|
+
const icon = h("tttx-icon_1_5_4", { icon: chevronIcon, color: "black" });
|
|
75
75
|
let chevron = h("div", { class: "dropdown-selector-chevron" }, icon);
|
|
76
76
|
if (!this.selectedItem) {
|
|
77
77
|
title = h("div", { class: "placeholder" }, this.placeholder);
|
|
@@ -144,16 +144,16 @@ const TttxSelectBox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
144
144
|
if (!this.optionsData)
|
|
145
145
|
return;
|
|
146
146
|
const invalidClass = this.showErrorMsg ? 'invalid' : '';
|
|
147
|
-
return (h(Host, { class: this.inline ? 'inline' : 'block' }, this.label && h("div", { class: "label" }, this.label), h("div", { tabindex: "0", class: "dropdown-container" }, h("div", { class: ['dropdown-selector', invalidClass].join(' '), ref: el => (this.dropdownSelector = el), onClick: this.onDropdownClicked.bind(this) }, this.dropdownSelectorContent()), this.open && (h("div", { class: "dropdown-body-container" }, h("div", { class: "dropdown-body", style: Object.assign({ width: `${this.dropdownSelector.offsetWidth}px` }, this.bodyOffset) }, this.searchEnabled && (h("div", { class: "searchbox" }, h("tttx-standalone-
|
|
147
|
+
return (h(Host, { class: this.inline ? 'inline' : 'block' }, this.label && h("div", { class: "label" }, this.label), h("div", { tabindex: "0", class: "dropdown-container" }, h("div", { class: ['dropdown-selector', invalidClass].join(' '), ref: el => (this.dropdownSelector = el), onClick: this.onDropdownClicked.bind(this) }, this.dropdownSelectorContent()), this.open && (h("div", { class: "dropdown-body-container" }, h("div", { class: "dropdown-body", style: Object.assign({ width: `${this.dropdownSelector.offsetWidth}px` }, this.bodyOffset) }, this.searchEnabled && (h("div", { class: "searchbox" }, h("tttx-standalone-input_1_5_4", { type: "text", label: "", required: true, showerrorbubble: false, iconleft: "search", onInput: this.handleSearchInput.bind(this) }))), h("div", { class: "dropdown-options-list" }, this._optionsData.map((option) => {
|
|
148
148
|
return this.dropdownOption(option);
|
|
149
|
-
}))))), this.showErrorBubble && (h("span", { class: ['errorBubble', this.showErrorMsg && this.errorMsg ? 'visible' : ''].join(' ') }, h("tttx-
|
|
149
|
+
}))))), this.showErrorBubble && (h("span", { class: ['errorBubble', this.showErrorMsg && this.errorMsg ? 'visible' : ''].join(' ') }, h("tttx-icon_1_5_4", { icon: "warning", color: "#dc0000", size: 16 }), " ", this.errorMsg)))));
|
|
150
150
|
}
|
|
151
151
|
get el() { return this; }
|
|
152
152
|
static get watchers() { return {
|
|
153
153
|
"optionsData": ["setOptionsData"]
|
|
154
154
|
}; }
|
|
155
155
|
static get style() { return tttxSelectBoxCss; }
|
|
156
|
-
}, [1, "tttx-select-
|
|
156
|
+
}, [1, "tttx-select-box_1_5_4", {
|
|
157
157
|
"optionsData": [1, "options-data"],
|
|
158
158
|
"label": [1],
|
|
159
159
|
"inline": [4],
|
|
@@ -173,19 +173,19 @@ function defineCustomElement() {
|
|
|
173
173
|
if (typeof customElements === "undefined") {
|
|
174
174
|
return;
|
|
175
175
|
}
|
|
176
|
-
const components = ["tttx-select-
|
|
176
|
+
const components = ["tttx-select-box_1_5_4", "tttx-icon_1_5_4", "tttx-standalone-input_1_5_4"];
|
|
177
177
|
components.forEach(tagName => { switch (tagName) {
|
|
178
|
-
case "tttx-select-
|
|
178
|
+
case "tttx-select-box_1_5_4":
|
|
179
179
|
if (!customElements.get(tagName)) {
|
|
180
180
|
customElements.define(tagName, TttxSelectBox);
|
|
181
181
|
}
|
|
182
182
|
break;
|
|
183
|
-
case "tttx-
|
|
183
|
+
case "tttx-icon_1_5_4":
|
|
184
184
|
if (!customElements.get(tagName)) {
|
|
185
185
|
defineCustomElement$2();
|
|
186
186
|
}
|
|
187
187
|
break;
|
|
188
|
-
case "tttx-standalone-
|
|
188
|
+
case "tttx-standalone-input_1_5_4":
|
|
189
189
|
if (!customElements.get(tagName)) {
|
|
190
190
|
defineCustomElement$1();
|
|
191
191
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface TttxSelectBox_1_5_4 extends Components.TttxSelectBox_1_5_4, HTMLElement {}
|
|
4
|
+
export const TttxSelectBox_1_5_4: {
|
|
5
|
+
prototype: TttxSelectBox_1_5_4;
|
|
6
|
+
new (): TttxSelectBox_1_5_4;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|