@3t-transform/threeteeui 1.6.0 → 1.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{tttx-button_1_6_0.cjs.entry.js → tttx-button_1_7_0.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-checkbox-group-caption_1_6_0.cjs.entry.js → tttx-checkbox-group-caption_1_7_0.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox-group-heading_1_6_0.cjs.entry.js → tttx-checkbox-group-heading_1_7_0.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox-group_1_6_0.cjs.entry.js → tttx-checkbox-group_1_7_0.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox_1_6_0.cjs.entry.js → tttx-checkbox_1_7_0.cjs.entry.js} +2 -2
- package/dist/cjs/tttx-comments_1_7_0.cjs.entry.js +77 -0
- package/dist/cjs/{tttx-data-pattern_1_6_0.cjs.entry.js → tttx-data-pattern_1_7_0.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-datacard_1_6_0.cjs.entry.js → tttx-datacard_1_7_0.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-dialog-box_1_6_0.cjs.entry.js → tttx-dialog-box_1_7_0.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-dialog_1_6_0.cjs.entry.js → tttx-dialog_1_7_0.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-expander_1_6_0.cjs.entry.js → tttx-expander_1_7_0.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-filter_1_6_0_4.cjs.entry.js → tttx-filter_1_7_0_4.cjs.entry.js} +9 -9
- package/dist/cjs/{tttx-form_1_6_0.cjs.entry.js → tttx-form_1_7_0.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-icon_1_6_0.cjs.entry.js → tttx-icon_1_7_0.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-keyvalue-block_1_6_0.cjs.entry.js → tttx-keyvalue-block_1_7_0.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-loading-spinner_1_6_0.cjs.entry.js → tttx-loading-spinner_1_7_0.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-multiselect-box_1_6_0.cjs.entry.js → tttx-multiselect-box_1_7_0.cjs.entry.js} +6 -6
- package/dist/cjs/{tttx-percentage-bar_1_6_0.cjs.entry.js → tttx-percentage-bar_1_7_0.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-qrcode_1_6_0.cjs.entry.js → tttx-qrcode_1_7_0.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-select-box_1_6_0.cjs.entry.js → tttx-select-box_1_7_0.cjs.entry.js} +4 -4
- package/dist/cjs/tttx-standalone-input_1_7_0.cjs.entry.js +94 -0
- package/dist/cjs/{tttx-tabs_1_6_0.cjs.entry.js → tttx-tabs_1_7_0.cjs.entry.js} +13 -4
- package/dist/cjs/{tttx-tag_1_6_0.cjs.entry.js → tttx-tag_1_7_0.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-textarea_1_6_0.cjs.entry.js → tttx-textarea_1_7_0.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-tree-view_1_6_0.cjs.entry.js → tttx-tree-view_1_7_0.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.js +3 -3
- package/dist/collection/components/atoms/tttx-datacard/tttx-datacard.stories.js +5 -5
- 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-comments/tttx-comments.css +80 -0
- package/dist/collection/components/molecules/tttx-comments/tttx-comments.js +149 -0
- package/dist/collection/components/molecules/tttx-comments/tttx-comments.stories.js +38 -0
- 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.js +3 -3
- package/dist/collection/components/molecules/tttx-list/tttx-list.stories.js +47 -47
- package/dist/collection/components/molecules/tttx-multiselect-box/tttx-multiselect-box.js +6 -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 +12 -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 +28 -27
- package/dist/components/index.js +28 -27
- package/dist/components/tttx-button.js +5 -5
- package/dist/components/{tttx-button_1_6_0.d.ts → tttx-button_1_7_0.d.ts} +4 -4
- package/dist/components/{tttx-button_1_6_0.js → tttx-button_1_7_0.js} +2 -2
- package/dist/components/tttx-checkbox-group-caption_1_7_0.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group-caption_1_6_0.js → tttx-checkbox-group-caption_1_7_0.js} +5 -5
- package/dist/components/tttx-checkbox-group-heading_1_7_0.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group-heading_1_6_0.js → tttx-checkbox-group-heading_1_7_0.js} +5 -5
- package/dist/components/tttx-checkbox-group_1_7_0.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group_1_6_0.js → tttx-checkbox-group_1_7_0.js} +5 -5
- package/dist/components/{tttx-expander_1_6_0.d.ts → tttx-checkbox_1_7_0.d.ts} +4 -4
- package/dist/components/{tttx-checkbox_1_6_0.js → tttx-checkbox_1_7_0.js} +7 -7
- package/dist/components/{tttx-datacard_1_6_0.d.ts → tttx-comments_1_7_0.d.ts} +4 -4
- package/dist/components/tttx-comments_1_7_0.js +95 -0
- package/dist/components/tttx-data-pattern_1_7_0.d.ts +11 -0
- package/dist/components/{tttx-data-pattern_1_6_0.js → tttx-data-pattern_1_7_0.js} +13 -13
- package/dist/components/{tttx-checkbox_1_6_0.d.ts → tttx-datacard_1_7_0.d.ts} +4 -4
- package/dist/components/{tttx-datacard_1_6_0.js → tttx-datacard_1_7_0.js} +8 -8
- package/dist/components/{tttx-dialog-box_1_6_0.d.ts → tttx-dialog-box_1_7_0.d.ts} +4 -4
- package/dist/components/{tttx-dialog-box_1_6_0.js → tttx-dialog-box_1_7_0.js} +9 -9
- package/dist/components/{tttx-filter_1_6_0.d.ts → tttx-dialog_1_7_0.d.ts} +4 -4
- package/dist/components/{tttx-dialog_1_6_0.js → tttx-dialog_1_7_0.js} +8 -8
- package/dist/components/{tttx-textarea_1_6_0.d.ts → tttx-expander_1_7_0.d.ts} +4 -4
- package/dist/components/{tttx-expander_1_6_0.js → tttx-expander_1_7_0.js} +7 -7
- package/dist/components/tttx-filter.js +6 -6
- package/dist/components/{tttx-qrcode_1_6_0.d.ts → tttx-filter_1_7_0.d.ts} +4 -4
- package/dist/components/{tttx-filter_1_6_0.js → tttx-filter_1_7_0.js} +2 -2
- package/dist/components/{tttx-icon_1_6_0.d.ts → tttx-form_1_7_0.d.ts} +4 -4
- package/dist/components/{tttx-form_1_6_0.js → tttx-form_1_7_0.js} +9 -9
- package/dist/components/tttx-icon.js +3 -3
- package/dist/components/{tttx-list_1_6_0.d.ts → tttx-icon_1_7_0.d.ts} +4 -4
- package/dist/components/{tttx-icon_1_6_0.js → tttx-icon_1_7_0.js} +2 -2
- package/dist/components/tttx-keyvalue-block_1_7_0.d.ts +11 -0
- package/dist/components/{tttx-keyvalue-block_1_6_0.js → tttx-keyvalue-block_1_7_0.js} +5 -5
- package/dist/components/tttx-list.js +6 -6
- package/dist/components/{tttx-form_1_6_0.d.ts → tttx-list_1_7_0.d.ts} +4 -4
- package/dist/components/{tttx-list_1_6_0.js → tttx-list_1_7_0.js} +2 -2
- package/dist/components/tttx-loading-spinner_1_7_0.d.ts +11 -0
- package/dist/components/{tttx-loading-spinner_1_6_0.js → tttx-loading-spinner_1_7_0.js} +5 -5
- package/dist/components/tttx-multiselect-box_1_7_0.d.ts +11 -0
- package/dist/components/{tttx-multiselect-box_1_6_0.js → tttx-multiselect-box_1_7_0.js} +13 -13
- package/dist/components/tttx-percentage-bar_1_7_0.d.ts +11 -0
- package/dist/components/{tttx-percentage-bar_1_6_0.js → tttx-percentage-bar_1_7_0.js} +6 -6
- package/dist/components/{tttx-dialog_1_6_0.d.ts → tttx-qrcode_1_7_0.d.ts} +4 -4
- package/dist/components/{tttx-qrcode_1_6_0.js → tttx-qrcode_1_7_0.js} +5 -5
- package/dist/components/tttx-select-box.js +8 -8
- package/dist/components/tttx-select-box_1_7_0.d.ts +11 -0
- package/dist/components/{tttx-select-box_1_6_0.js → tttx-select-box_1_7_0.js} +2 -2
- package/dist/components/tttx-sorter.js +5 -5
- package/dist/components/tttx-sorter_1_7_0.d.ts +11 -0
- package/dist/components/{tttx-sorter_1_6_0.js → tttx-sorter_1_7_0.js} +2 -2
- package/dist/components/tttx-standalone-input.js +6 -6
- package/dist/components/tttx-standalone-input_1_7_0.d.ts +11 -0
- package/dist/components/{tttx-standalone-input_1_6_0.js → tttx-standalone-input_1_7_0.js} +2 -2
- package/dist/components/{tttx-tabs_1_6_0.d.ts → tttx-tabs_1_7_0.d.ts} +4 -4
- package/dist/components/{tttx-tabs_1_6_0.js → tttx-tabs_1_7_0.js} +18 -9
- package/dist/components/{tttx-tag_1_6_0.d.ts → tttx-tag_1_7_0.d.ts} +4 -4
- package/dist/components/{tttx-tag_1_6_0.js → tttx-tag_1_7_0.js} +5 -5
- package/dist/components/tttx-textarea_1_7_0.d.ts +11 -0
- package/dist/components/{tttx-textarea_1_6_0.js → tttx-textarea_1_7_0.js} +6 -6
- package/dist/components/tttx-toolbar.js +3 -3
- package/dist/components/{tttx-toolbar_1_6_0.d.ts → tttx-toolbar_1_7_0.d.ts} +4 -4
- package/dist/components/{tttx-toolbar_1_6_0.js → tttx-toolbar_1_7_0.js} +2 -2
- package/dist/components/tttx-tree-view_1_7_0.d.ts +11 -0
- package/dist/components/{tttx-tree-view_1_6_0.js → tttx-tree-view_1_7_0.js} +9 -9
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{tttx-button_1_6_0.entry.js → tttx-button_1_7_0.entry.js} +2 -2
- package/dist/esm/{tttx-checkbox-group-caption_1_6_0.entry.js → tttx-checkbox-group-caption_1_7_0.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox-group-heading_1_6_0.entry.js → tttx-checkbox-group-heading_1_7_0.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox-group_1_6_0.entry.js → tttx-checkbox-group_1_7_0.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox_1_6_0.entry.js → tttx-checkbox_1_7_0.entry.js} +2 -2
- package/dist/esm/tttx-comments_1_7_0.entry.js +73 -0
- package/dist/esm/{tttx-data-pattern_1_6_0.entry.js → tttx-data-pattern_1_7_0.entry.js} +2 -2
- package/dist/esm/{tttx-datacard_1_6_0.entry.js → tttx-datacard_1_7_0.entry.js} +3 -3
- package/dist/esm/{tttx-dialog-box_1_6_0.entry.js → tttx-dialog-box_1_7_0.entry.js} +3 -3
- package/dist/esm/{tttx-dialog_1_6_0.entry.js → tttx-dialog_1_7_0.entry.js} +2 -2
- package/dist/esm/{tttx-expander_1_6_0.entry.js → tttx-expander_1_7_0.entry.js} +2 -2
- package/dist/esm/{tttx-filter_1_6_0_4.entry.js → tttx-filter_1_7_0_4.entry.js} +6 -6
- package/dist/esm/{tttx-form_1_6_0.entry.js → tttx-form_1_7_0.entry.js} +2 -2
- package/dist/esm/{tttx-icon_1_6_0.entry.js → tttx-icon_1_7_0.entry.js} +1 -1
- package/dist/esm/{tttx-keyvalue-block_1_6_0.entry.js → tttx-keyvalue-block_1_7_0.entry.js} +1 -1
- package/dist/esm/{tttx-loading-spinner_1_6_0.entry.js → tttx-loading-spinner_1_7_0.entry.js} +1 -1
- package/dist/esm/{tttx-multiselect-box_1_6_0.entry.js → tttx-multiselect-box_1_7_0.entry.js} +6 -6
- package/dist/esm/{tttx-percentage-bar_1_6_0.entry.js → tttx-percentage-bar_1_7_0.entry.js} +2 -2
- package/dist/esm/{tttx-qrcode_1_6_0.entry.js → tttx-qrcode_1_7_0.entry.js} +1 -1
- package/dist/esm/{tttx-select-box_1_6_0.entry.js → tttx-select-box_1_7_0.entry.js} +4 -4
- package/dist/esm/tttx-standalone-input_1_7_0.entry.js +90 -0
- package/dist/esm/{tttx-tabs_1_6_0.entry.js → tttx-tabs_1_7_0.entry.js} +13 -4
- package/dist/esm/{tttx-tag_1_6_0.entry.js → tttx-tag_1_7_0.entry.js} +1 -1
- package/dist/esm/{tttx-textarea_1_6_0.entry.js → tttx-textarea_1_7_0.entry.js} +2 -2
- package/dist/esm/{tttx-tree-view_1_6_0.entry.js → tttx-tree-view_1_7_0.entry.js} +3 -3
- package/dist/esm/tttx.js +1 -1
- package/dist/tttx/p-0e515960.entry.js +1 -1
- package/dist/tttx/p-129893f7.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-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-a7cfde04.entry.js +1 -0
- package/dist/tttx/p-a8e76e78.entry.js +1 -1
- package/dist/tttx/p-b7347352.entry.js +1 -0
- 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 -1
- package/dist/tttx/p-e5259a38.entry.js +1 -1
- 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/molecules/tttx-comments/tttx-comments.d.ts +22 -0
- 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-tabs/tttx-tabs.d.ts +1 -0
- package/dist/types/components/molecules/tttx-textarea/tttx-textarea.d.ts +2 -2
- package/dist/types/components.d.ts +338 -315
- package/package.json +2 -1
- package/dist/cjs/tttx-standalone-input_1_6_0.cjs.entry.js +0 -94
- package/dist/components/tttx-checkbox-group-caption_1_6_0.d.ts +0 -11
- package/dist/components/tttx-checkbox-group-heading_1_6_0.d.ts +0 -11
- package/dist/components/tttx-checkbox-group_1_6_0.d.ts +0 -11
- package/dist/components/tttx-data-pattern_1_6_0.d.ts +0 -11
- package/dist/components/tttx-keyvalue-block_1_6_0.d.ts +0 -11
- package/dist/components/tttx-loading-spinner_1_6_0.d.ts +0 -11
- package/dist/components/tttx-multiselect-box_1_6_0.d.ts +0 -11
- package/dist/components/tttx-percentage-bar_1_6_0.d.ts +0 -11
- package/dist/components/tttx-select-box_1_6_0.d.ts +0 -11
- package/dist/components/tttx-sorter_1_6_0.d.ts +0 -11
- package/dist/components/tttx-standalone-input_1_6_0.d.ts +0 -11
- package/dist/components/tttx-tree-view_1_6_0.d.ts +0 -11
- package/dist/esm/tttx-standalone-input_1_6_0.entry.js +0 -90
- package/dist/tttx/p-2fa3f801.entry.js +0 -1
|
@@ -89,11 +89,11 @@ const TttxMultiselectBox = /*@__PURE__*/ proxyCustomElement(class extends HTMLEl
|
|
|
89
89
|
const sanitisedHTML = purify.sanitize(option.html, domSanitiserOptions);
|
|
90
90
|
// This is tested in e2e tests
|
|
91
91
|
/* istanbul ignore next */
|
|
92
|
-
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_7_0", { icon: checkboxIcon, color: checkboxColor, class: 'checkbox-icon' }), h("div", { innerHTML: sanitisedHTML })));
|
|
93
93
|
}
|
|
94
94
|
// This is tested in e2e tests
|
|
95
95
|
/* istanbul ignore next */
|
|
96
|
-
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_7_0", { icon: checkboxIcon, color: checkboxColor, class: 'checkbox-icon' }), h("div", { class: "plaintext-option" }, option.label)));
|
|
97
97
|
}
|
|
98
98
|
// This is tested in e2e tests
|
|
99
99
|
/* istanbul ignore next */
|
|
@@ -125,18 +125,18 @@ const TttxMultiselectBox = /*@__PURE__*/ proxyCustomElement(class extends HTMLEl
|
|
|
125
125
|
if (!this.unsavedSelectedItems)
|
|
126
126
|
this.unsavedSelectedItems = this.safelyCloneArray(this._optionsData);
|
|
127
127
|
const chevronIcon = this.open ? 'expand_less' : 'expand_more';
|
|
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-
|
|
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_7_0", { icon: chevronIcon, color: "black" }))), this.open && (h("div", { class: "dropdown-body-container" }, h("div", { class: "dropdown-body", style: Object.assign({}, this.bodyOffset) }, this.searchEnabled &&
|
|
129
129
|
/* istanbul ignore next */
|
|
130
|
-
h("div", { class: "searchbox" }, h("tttx-standalone-
|
|
130
|
+
h("div", { class: "searchbox" }, h("tttx-standalone-input_1_7_0", { 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) => {
|
|
131
131
|
return this.dropdownOption(option);
|
|
132
|
-
})), h("div", { class: 'footer' }, h("tttx-
|
|
132
|
+
})), h("div", { class: 'footer' }, h("tttx-button_1_7_0", { design: "primary", onClick: this.applyChanges.bind(this) }, "Apply"), h("tttx-button_1_7_0", { onClick: this.onCancel.bind(this) }, "Cancel"))))))));
|
|
133
133
|
}
|
|
134
134
|
get el() { return this; }
|
|
135
135
|
static get watchers() { return {
|
|
136
136
|
"optionsData": ["handleOptionsDataChange"]
|
|
137
137
|
}; }
|
|
138
138
|
static get style() { return tttxMultiselectBoxCss; }
|
|
139
|
-
}, [1, "tttx-multiselect-
|
|
139
|
+
}, [1, "tttx-multiselect-box_1_7_0", {
|
|
140
140
|
"optionsData": [1, "options-data"],
|
|
141
141
|
"label": [1],
|
|
142
142
|
"inline": [4],
|
|
@@ -152,24 +152,24 @@ function defineCustomElement$1() {
|
|
|
152
152
|
if (typeof customElements === "undefined") {
|
|
153
153
|
return;
|
|
154
154
|
}
|
|
155
|
-
const components = ["tttx-multiselect-
|
|
155
|
+
const components = ["tttx-multiselect-box_1_7_0", "tttx-button_1_7_0", "tttx-icon_1_7_0", "tttx-standalone-input_1_7_0"];
|
|
156
156
|
components.forEach(tagName => { switch (tagName) {
|
|
157
|
-
case "tttx-multiselect-
|
|
157
|
+
case "tttx-multiselect-box_1_7_0":
|
|
158
158
|
if (!customElements.get(tagName)) {
|
|
159
159
|
customElements.define(tagName, TttxMultiselectBox);
|
|
160
160
|
}
|
|
161
161
|
break;
|
|
162
|
-
case "tttx-
|
|
162
|
+
case "tttx-button_1_7_0":
|
|
163
163
|
if (!customElements.get(tagName)) {
|
|
164
164
|
defineCustomElement$4();
|
|
165
165
|
}
|
|
166
166
|
break;
|
|
167
|
-
case "tttx-
|
|
167
|
+
case "tttx-icon_1_7_0":
|
|
168
168
|
if (!customElements.get(tagName)) {
|
|
169
169
|
defineCustomElement$3();
|
|
170
170
|
}
|
|
171
171
|
break;
|
|
172
|
-
case "tttx-standalone-
|
|
172
|
+
case "tttx-standalone-input_1_7_0":
|
|
173
173
|
if (!customElements.get(tagName)) {
|
|
174
174
|
defineCustomElement$2();
|
|
175
175
|
}
|
|
@@ -177,7 +177,7 @@ function defineCustomElement$1() {
|
|
|
177
177
|
} });
|
|
178
178
|
}
|
|
179
179
|
|
|
180
|
-
const
|
|
180
|
+
const TttxMultiselectBox_1_7_0 = TttxMultiselectBox;
|
|
181
181
|
const defineCustomElement = defineCustomElement$1;
|
|
182
182
|
|
|
183
|
-
export {
|
|
183
|
+
export { TttxMultiselectBox_1_7_0, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface TttxPercentageBar_1_7_0 extends Components.TttxPercentageBar_1_7_0, HTMLElement {}
|
|
4
|
+
export const TttxPercentageBar_1_7_0: {
|
|
5
|
+
prototype: TttxPercentageBar_1_7_0;
|
|
6
|
+
new (): TttxPercentageBar_1_7_0;
|
|
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_7_0-h{display:block}.progress.sc-tttx-percentage-bar_1_7_0{width:100%;background-color:#dbdbdb}.progress.sc-tttx-percentage-bar_1_7_0 .bar.sc-tttx-percentage-bar_1_7_0{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_7_0", {
|
|
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_7_0"];
|
|
75
75
|
components.forEach(tagName => { switch (tagName) {
|
|
76
|
-
case "tttx-percentage-
|
|
76
|
+
case "tttx-percentage-bar_1_7_0":
|
|
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_7_0 = TttxPercentageBar;
|
|
85
85
|
const defineCustomElement = defineCustomElement$1;
|
|
86
86
|
|
|
87
|
-
export {
|
|
87
|
+
export { TttxPercentageBar_1_7_0, 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_7_0 extends Components.TttxQrcode_1_7_0, HTMLElement {}
|
|
4
|
+
export const TttxQrcode_1_7_0: {
|
|
5
|
+
prototype: TttxQrcode_1_7_0;
|
|
6
|
+
new (): TttxQrcode_1_7_0;
|
|
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_7_0", {
|
|
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_7_0"];
|
|
48
48
|
components.forEach(tagName => { switch (tagName) {
|
|
49
|
-
case "tttx-
|
|
49
|
+
case "tttx-qrcode_1_7_0":
|
|
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_7_0 = TttxQrCode;
|
|
58
58
|
const defineCustomElement = defineCustomElement$1;
|
|
59
59
|
|
|
60
|
-
export {
|
|
60
|
+
export { TttxQrcode_1_7_0, 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_7_0", { 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_7_0", { 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_7_0", { 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_7_0", {
|
|
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_7_0", "tttx-icon_1_7_0", "tttx-standalone-input_1_7_0"];
|
|
177
177
|
components.forEach(tagName => { switch (tagName) {
|
|
178
|
-
case "tttx-select-
|
|
178
|
+
case "tttx-select-box_1_7_0":
|
|
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_7_0":
|
|
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_7_0":
|
|
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_7_0 extends Components.TttxSelectBox_1_7_0, HTMLElement {}
|
|
4
|
+
export const TttxSelectBox_1_7_0: {
|
|
5
|
+
prototype: TttxSelectBox_1_7_0;
|
|
6
|
+
new (): TttxSelectBox_1_7_0;
|
|
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 { T as TttxSelectBox, d as defineCustomElement$1 } from './tttx-select-box.js';
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const TttxSelectBox_1_7_0 = TttxSelectBox;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
5
5
|
|
|
6
|
-
export {
|
|
6
|
+
export { TttxSelectBox_1_7_0, defineCustomElement };
|
|
@@ -106,13 +106,13 @@ const TttxSorter = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
106
106
|
const selectedOption = this.selectedField;
|
|
107
107
|
const dropdownSelectorClassNameModifier = this.dropdownExpand ? '--expanded' : '';
|
|
108
108
|
const sorterKey = `sorter__${this.sorterKey}`;
|
|
109
|
-
return (h(Host, { id: sorterKey }, h("div", { tabindex: 0, class: `sorter-container ${dropdownSelectorClassNameModifier}` }, h("button", { class: "arrow-toggle-button", type: "button", onClick: this.onSortToggleClick.bind(this) }, h("tttx-
|
|
109
|
+
return (h(Host, { id: sorterKey }, h("div", { tabindex: 0, class: `sorter-container ${dropdownSelectorClassNameModifier}` }, h("button", { class: "arrow-toggle-button", type: "button", onClick: this.onSortToggleClick.bind(this) }, h("tttx-icon_1_7_0", { icon: arrowIcon, color: "black" })), h("div", { class: "dropdown-selector", onClick: this.onDropdownClicked.bind(this) }, h("div", { class: "dropdown-selector-button" }, h("div", { class: "dropdown-selector-text" }, selectedOption), h("div", { class: "dropdown-selector-chevron" }, h("tttx-icon_1_7_0", { icon: chevronIcon, color: "black" })))), this.dropdownExpand && (h("div", { class: "dropdown-options-list" }, parsedFieldOptionsData.sorterOptions.map(option => {
|
|
110
110
|
return (h("div", { class: "dropdown-option", tabIndex: -1, onClick: this.onDropdownSelected.bind(this), key: option.optionLabel }, option.optionLabel));
|
|
111
111
|
}))))));
|
|
112
112
|
}
|
|
113
113
|
get el() { return this; }
|
|
114
114
|
static get style() { return tttxSorterCss; }
|
|
115
|
-
}, [1, "tttx-
|
|
115
|
+
}, [1, "tttx-sorter_1_7_0", {
|
|
116
116
|
"sorterKey": [1, "sorter-key"],
|
|
117
117
|
"defaultSortDirection": [1, "default-sort-direction"],
|
|
118
118
|
"fieldOptionsData": [1, "field-options-data"],
|
|
@@ -126,14 +126,14 @@ function defineCustomElement() {
|
|
|
126
126
|
if (typeof customElements === "undefined") {
|
|
127
127
|
return;
|
|
128
128
|
}
|
|
129
|
-
const components = ["tttx-
|
|
129
|
+
const components = ["tttx-sorter_1_7_0", "tttx-icon_1_7_0"];
|
|
130
130
|
components.forEach(tagName => { switch (tagName) {
|
|
131
|
-
case "tttx-
|
|
131
|
+
case "tttx-sorter_1_7_0":
|
|
132
132
|
if (!customElements.get(tagName)) {
|
|
133
133
|
customElements.define(tagName, TttxSorter);
|
|
134
134
|
}
|
|
135
135
|
break;
|
|
136
|
-
case "tttx-
|
|
136
|
+
case "tttx-icon_1_7_0":
|
|
137
137
|
if (!customElements.get(tagName)) {
|
|
138
138
|
defineCustomElement$1();
|
|
139
139
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface TttxSorter_1_7_0 extends Components.TttxSorter_1_7_0, HTMLElement {}
|
|
4
|
+
export const TttxSorter_1_7_0: {
|
|
5
|
+
prototype: TttxSorter_1_7_0;
|
|
6
|
+
new (): TttxSorter_1_7_0;
|
|
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 { T as TttxSorter, d as defineCustomElement$1 } from './tttx-sorter.js';
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const TttxSorter_1_7_0 = TttxSorter;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
5
5
|
|
|
6
|
-
export {
|
|
6
|
+
export { TttxSorter_1_7_0, defineCustomElement };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
2
|
import { d as defineCustomElement$1 } from './tttx-icon.js';
|
|
3
3
|
|
|
4
|
-
const tttxStandaloneInputCss = ".material-symbols-rounded.sc-tttx-standalone-
|
|
4
|
+
const tttxStandaloneInputCss = ".material-symbols-rounded.sc-tttx-standalone-input_1_7_0{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.material-symbols-rounded.sc-tttx-standalone-input_1_7_0{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}label.sc-tttx-standalone-input_1_7_0{font-weight:500;font-size:16px;line-height:18.752px;color:#212121}label.sc-tttx-standalone-input_1_7_0 .optional.sc-tttx-standalone-input_1_7_0{color:#757575;font-weight:normal}label.sc-tttx-standalone-input_1_7_0 .outer-container.sc-tttx-standalone-input_1_7_0{position:relative}label.sc-tttx-standalone-input_1_7_0 .outer-container.sc-tttx-standalone-input_1_7_0 .left-icons.sc-tttx-standalone-input_1_7_0,label.sc-tttx-standalone-input_1_7_0 .outer-container.sc-tttx-standalone-input_1_7_0 .right-icons.sc-tttx-standalone-input_1_7_0{display:flex;position:absolute;height:24px;gap:8px}label.sc-tttx-standalone-input_1_7_0 .outer-container.sc-tttx-standalone-input_1_7_0 .left-icons.sc-tttx-standalone-input_1_7_0 tttx-icon.sc-tttx-standalone-input_1_7_0,label.sc-tttx-standalone-input_1_7_0 .outer-container.sc-tttx-standalone-input_1_7_0 .right-icons.sc-tttx-standalone-input_1_7_0 tttx-icon.sc-tttx-standalone-input_1_7_0{height:24px;width:24px}label.sc-tttx-standalone-input_1_7_0 .outer-container.sc-tttx-standalone-input_1_7_0 .left-icons.sc-tttx-standalone-input_1_7_0{left:8px}label.sc-tttx-standalone-input_1_7_0 .outer-container.sc-tttx-standalone-input_1_7_0 .right-icons.sc-tttx-standalone-input_1_7_0{right:8px}label.sc-tttx-standalone-input_1_7_0 .outer-container.sc-tttx-standalone-input_1_7_0 input.sc-tttx-standalone-input_1_7_0,label.sc-tttx-standalone-input_1_7_0 .outer-container.sc-tttx-standalone-input_1_7_0 textarea.sc-tttx-standalone-input_1_7_0{color:#212121;box-sizing:border-box;border:1px solid #d5d5d5;border-radius:4px;margin-top:4px;padding:0;padding-left:16px;padding-right:16px}label.sc-tttx-standalone-input_1_7_0 .outer-container.sc-tttx-standalone-input_1_7_0 input.has-input-icon.sc-tttx-standalone-input_1_7_0,label.sc-tttx-standalone-input_1_7_0 .outer-container.sc-tttx-standalone-input_1_7_0 textarea.has-input-icon.sc-tttx-standalone-input_1_7_0{padding-left:40px}label.sc-tttx-standalone-input_1_7_0 .outer-container.sc-tttx-standalone-input_1_7_0 input.has-input-icon.has-left-icon.sc-tttx-standalone-input_1_7_0,label.sc-tttx-standalone-input_1_7_0 .outer-container.sc-tttx-standalone-input_1_7_0 textarea.has-input-icon.has-left-icon.sc-tttx-standalone-input_1_7_0{padding-left:72px}label.sc-tttx-standalone-input_1_7_0 .outer-container.sc-tttx-standalone-input_1_7_0 input.has-left-icon.sc-tttx-standalone-input_1_7_0,label.sc-tttx-standalone-input_1_7_0 .outer-container.sc-tttx-standalone-input_1_7_0 textarea.has-left-icon.sc-tttx-standalone-input_1_7_0{padding-left:40px}label.sc-tttx-standalone-input_1_7_0 .outer-container.sc-tttx-standalone-input_1_7_0 input.has-right-icon.sc-tttx-standalone-input_1_7_0,label.sc-tttx-standalone-input_1_7_0 .outer-container.sc-tttx-standalone-input_1_7_0 textarea.has-right-icon.sc-tttx-standalone-input_1_7_0{padding-right:40px}label.sc-tttx-standalone-input_1_7_0 .outer-container.sc-tttx-standalone-input_1_7_0 input.invalid.sc-tttx-standalone-input_1_7_0,label.sc-tttx-standalone-input_1_7_0 .outer-container.sc-tttx-standalone-input_1_7_0 textarea.invalid.sc-tttx-standalone-input_1_7_0{border:1px solid #dc0000}label.sc-tttx-standalone-input_1_7_0 .outer-container.sc-tttx-standalone-input_1_7_0 input.sc-tttx-standalone-input_1_7_0:not([type=submit]),label.sc-tttx-standalone-input_1_7_0 .outer-container.sc-tttx-standalone-input_1_7_0 textarea.sc-tttx-standalone-input_1_7_0:not([type=submit]){font-family:\"Roboto\", serif;width:100%;height:36px;font-size:16px;line-height:18.752px}label.sc-tttx-standalone-input_1_7_0 .outer-container.sc-tttx-standalone-input_1_7_0 input[type=radio].sc-tttx-standalone-input_1_7_0,label.sc-tttx-standalone-input_1_7_0 .outer-container.sc-tttx-standalone-input_1_7_0 textarea[type=radio].sc-tttx-standalone-input_1_7_0{width:20px;height:20px}label.sc-tttx-standalone-input_1_7_0 .outer-container.sc-tttx-standalone-input_1_7_0 input[type=date].sc-tttx-standalone-input_1_7_0,label.sc-tttx-standalone-input_1_7_0 .outer-container.sc-tttx-standalone-input_1_7_0 textarea[type=date].sc-tttx-standalone-input_1_7_0{background:white;display:block;min-width:calc(100% - 18px);line-height:37px}label.sc-tttx-standalone-input_1_7_0 .outer-container.sc-tttx-standalone-input_1_7_0 input[readonly].sc-tttx-standalone-input_1_7_0,label.sc-tttx-standalone-input_1_7_0 .outer-container.sc-tttx-standalone-input_1_7_0 textarea[readonly].sc-tttx-standalone-input_1_7_0{cursor:default;pointer-events:none;user-select:none;color:gray}label.sc-tttx-standalone-input_1_7_0 .outer-container.sc-tttx-standalone-input_1_7_0 input.sc-tttx-standalone-input_1_7_0:focus,label.sc-tttx-standalone-input_1_7_0 .outer-container.sc-tttx-standalone-input_1_7_0 textarea.sc-tttx-standalone-input_1_7_0:focus{border-color:#1479c6}label.sc-tttx-standalone-input_1_7_0 .outer-container.sc-tttx-standalone-input_1_7_0 input.sc-tttx-standalone-input_1_7_0:focus-visible,label.sc-tttx-standalone-input_1_7_0 .outer-container.sc-tttx-standalone-input_1_7_0 textarea.sc-tttx-standalone-input_1_7_0:focus-visible{outline:none}label.sc-tttx-standalone-input_1_7_0 .outer-container.sc-tttx-standalone-input_1_7_0 textarea.sc-tttx-standalone-input_1_7_0{padding:8px;height:auto;min-height:100px;resize:vertical}label.sc-tttx-standalone-input_1_7_0 .outer-container.sc-tttx-standalone-input_1_7_0 textarea.resize-none.sc-tttx-standalone-input_1_7_0{resize:none}label.sc-tttx-standalone-input_1_7_0 .outer-container.inputBlock.sc-tttx-standalone-input_1_7_0{display:flex;align-items:center;line-height:21px}label.sc-tttx-standalone-input_1_7_0 .outer-container.inputBlock.sc-tttx-standalone-input_1_7_0 .left-icons.sc-tttx-standalone-input_1_7_0,label.sc-tttx-standalone-input_1_7_0 .outer-container.inputBlock.sc-tttx-standalone-input_1_7_0 .right-icons.sc-tttx-standalone-input_1_7_0{margin-top:4px}label.sc-tttx-standalone-input_1_7_0 .outer-container.inputBlock.readonly.sc-tttx-standalone-input_1_7_0{pointer-events:none;user-select:none;color:gray}label.sc-tttx-standalone-input_1_7_0 .outer-container.inputBlock.radioBlock.sc-tttx-standalone-input_1_7_0{display:block}label.sc-tttx-standalone-input_1_7_0 .outer-container.inputInline.sc-tttx-standalone-input_1_7_0{display:flex;white-space:nowrap;align-items:center;margin:0}label.sc-tttx-standalone-input_1_7_0 .outer-container.inputInline.sc-tttx-standalone-input_1_7_0 input.sc-tttx-standalone-input_1_7_0{margin-top:0}label.sc-tttx-standalone-input_1_7_0 .secondarylabel.sc-tttx-standalone-input_1_7_0{color:#757575;font-size:14px;line-height:16.408px;font-weight:normal;display:flex;margin-top:4px}label.sc-tttx-standalone-input_1_7_0 .errorBubble.sc-tttx-standalone-input_1_7_0{position:relative;font-size:14px;line-height:16.408px;font-weight:normal;width:100%;font-family:\"Roboto\", sans-serif;color:#dc0000;display:flex;align-content:center;align-items:center;justify-items:center;margin-top:4px}label.sc-tttx-standalone-input_1_7_0 .errorBubble.sc-tttx-standalone-input_1_7_0:not(.visible){display:none}label.sc-tttx-standalone-input_1_7_0 .errorBubble.sc-tttx-standalone-input_1_7_0 span.sc-tttx-standalone-input_1_7_0{color:#dc0000;font-size:16px;margin-right:4px}.material-symbols-rounded.sc-tttx-standalone-input_1_7_0{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}.sc-tttx-standalone-input_1_7_0-h{display:block}";
|
|
5
5
|
|
|
6
6
|
const TttxInput = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
7
7
|
constructor() {
|
|
@@ -84,10 +84,10 @@ const TttxInput = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
84
84
|
this.iconleft ? 'has-left-icon' : '',
|
|
85
85
|
this.iconright ? 'has-right-icon' : '',
|
|
86
86
|
].join(' ');
|
|
87
|
-
return (h(Host, null, h("label", null, this.label, !this.required ? h("span", { class: "optional" }, "\u00A0(optional)") : '', h("div", { class: ['outer-container', this.inline ? 'inputInline' : 'inputBlock'].join(' ') }, h("input", { class: classNames, autocapitalize: this.inputautocapitalize, autofocus: this.inputautofocus, enterkeyhint: this.inputkeyhint, tabindex: this.inputindex, title: this.inputtitle, autocomplete: this.autocomplete, checked: this.checked, disabled: this.disabled, max: this.max, maxlength: this.maxlength, min: this.min, minlength: this.minlength, name: this.name, pattern: this.pattern, placeholder: this.placeholder, readonly: this.readonly, required: this.required, step: this.step, type: this.type, value: this.value, onBlur: this.handleBlur.bind(this), onFocus: this.handleFocus.bind(this), onInput: this.handleChange.bind(this), onInvalid: this.handleInvalid.bind(this) }), (this.inputicon || this.iconleft) && (h("span", { class: "left-icons" }, this.inputicon && (h("tttx-
|
|
87
|
+
return (h(Host, null, h("label", null, this.label, !this.required ? h("span", { class: "optional" }, "\u00A0(optional)") : '', h("div", { class: ['outer-container', this.inline ? 'inputInline' : 'inputBlock'].join(' ') }, h("input", { class: classNames, autocapitalize: this.inputautocapitalize, autofocus: this.inputautofocus, enterkeyhint: this.inputkeyhint, tabindex: this.inputindex, title: this.inputtitle, autocomplete: this.autocomplete, checked: this.checked, disabled: this.disabled, max: this.max, maxlength: this.maxlength, min: this.min, minlength: this.minlength, name: this.name, pattern: this.pattern, placeholder: this.placeholder, readonly: this.readonly, required: this.required, step: this.step, type: this.type, value: this.value, onBlur: this.handleBlur.bind(this), onFocus: this.handleFocus.bind(this), onInput: this.handleChange.bind(this), onInvalid: this.handleInvalid.bind(this) }), (this.inputicon || this.iconleft) && (h("span", { class: "left-icons" }, this.inputicon && (h("tttx-icon_1_7_0", { class: "input-icon", icon: this.inputicon, color: this.inputiconcolor, onClick: this.handleInputIconClick.bind(this) })), this.iconleft && (h("tttx-icon_1_7_0", { class: "left-icon", icon: this.iconleft, color: this.iconleftcolor, onClick: this.handleLeftIconClick.bind(this) })))), this.iconright && (h("span", { class: "right-icons" }, h("tttx-icon_1_7_0", { class: "right-icon", icon: this.iconright, color: this.iconrightcolor, onClick: this.handleRightIconClick.bind(this) })))), this.secondarylabel && h("span", { class: "secondarylabel" }, this.secondarylabel), this.showerrorbubble && (h("span", { class: ['errorBubble', this.showerrormsg && this.errormsg ? 'visible' : ''].join(' ') }, h("span", { class: "material-symbols-rounded" }, "warning"), " ", this.errormsg)))));
|
|
88
88
|
}
|
|
89
89
|
static get style() { return tttxStandaloneInputCss; }
|
|
90
|
-
}, [2, "tttx-standalone-
|
|
90
|
+
}, [2, "tttx-standalone-input_1_7_0", {
|
|
91
91
|
"label": [1],
|
|
92
92
|
"secondarylabel": [1],
|
|
93
93
|
"showerrormsg": [4],
|
|
@@ -125,14 +125,14 @@ function defineCustomElement() {
|
|
|
125
125
|
if (typeof customElements === "undefined") {
|
|
126
126
|
return;
|
|
127
127
|
}
|
|
128
|
-
const components = ["tttx-standalone-
|
|
128
|
+
const components = ["tttx-standalone-input_1_7_0", "tttx-icon_1_7_0"];
|
|
129
129
|
components.forEach(tagName => { switch (tagName) {
|
|
130
|
-
case "tttx-standalone-
|
|
130
|
+
case "tttx-standalone-input_1_7_0":
|
|
131
131
|
if (!customElements.get(tagName)) {
|
|
132
132
|
customElements.define(tagName, TttxInput);
|
|
133
133
|
}
|
|
134
134
|
break;
|
|
135
|
-
case "tttx-
|
|
135
|
+
case "tttx-icon_1_7_0":
|
|
136
136
|
if (!customElements.get(tagName)) {
|
|
137
137
|
defineCustomElement$1();
|
|
138
138
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface TttxStandaloneInput_1_7_0 extends Components.TttxStandaloneInput_1_7_0, HTMLElement {}
|
|
4
|
+
export const TttxStandaloneInput_1_7_0: {
|
|
5
|
+
prototype: TttxStandaloneInput_1_7_0;
|
|
6
|
+
new (): TttxStandaloneInput_1_7_0;
|
|
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 { T as TttxInput, d as defineCustomElement$1 } from './tttx-standalone-input.js';
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const TttxStandaloneInput_1_7_0 = TttxInput;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
5
5
|
|
|
6
|
-
export {
|
|
6
|
+
export { TttxStandaloneInput_1_7_0, 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 TttxTabs_1_7_0 extends Components.TttxTabs_1_7_0, HTMLElement {}
|
|
4
|
+
export const TttxTabs_1_7_0: {
|
|
5
|
+
prototype: TttxTabs_1_7_0;
|
|
6
|
+
new (): TttxTabs_1_7_0;
|
|
7
7
|
};
|
|
8
8
|
/**
|
|
9
9
|
* Used to define this component and all nested components recursively.
|
|
@@ -2,7 +2,7 @@ import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/
|
|
|
2
2
|
import { p as purify, d as domSanitiserOptions } from './domsanitiser.options.js';
|
|
3
3
|
import { d as defineCustomElement$2 } from './tttx-icon.js';
|
|
4
4
|
|
|
5
|
-
const tttxTabsCss = ".material-symbols-rounded.sc-tttx-
|
|
5
|
+
const tttxTabsCss = ".material-symbols-rounded.sc-tttx-tabs_1_7_0{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.sc-tttx-tabs_1_7_0-h{display:block}.tab-bar.sc-tttx-tabs_1_7_0{display:flex;height:52px}.tab-bar.sc-tttx-tabs_1_7_0>.left-navigation.sc-tttx-tabs_1_7_0,.tab-bar.sc-tttx-tabs_1_7_0>.right-navigation.sc-tttx-tabs_1_7_0{padding:14px 8px;cursor:pointer}.tab-bar.sc-tttx-tabs_1_7_0>.left-navigation.sc-tttx-tabs_1_7_0>*.sc-tttx-tabs_1_7_0,.tab-bar.sc-tttx-tabs_1_7_0>.right-navigation.sc-tttx-tabs_1_7_0>*.sc-tttx-tabs_1_7_0{height:24px;width:24px;cursor:pointer}.tab-bar.sc-tttx-tabs_1_7_0>.tabs-container.sc-tttx-tabs_1_7_0{display:flex;border-bottom:1px solid #d5d5d5}.tab-bar.sc-tttx-tabs_1_7_0>.tabs-container.wide.sc-tttx-tabs_1_7_0{flex-grow:1}.tab-bar.sc-tttx-tabs_1_7_0>.tabs-container.sc-tttx-tabs_1_7_0>*[role=tab].sc-tttx-tabs_1_7_0{padding:18px 16px;line-height:16.408px;font-size:14px;font-weight:500;text-transform:uppercase;user-select:none;color:#757575;cursor:pointer}.tab-bar.sc-tttx-tabs_1_7_0>.tabs-container.sc-tttx-tabs_1_7_0>*[role=tab].sc-tttx-tabs_1_7_0:hover{background-color:rgba(17, 17, 17, 0.05)}.tab-bar.sc-tttx-tabs_1_7_0>.tabs-container.sc-tttx-tabs_1_7_0>*[role=tab][aria-selected].sc-tttx-tabs_1_7_0{color:#212121;cursor:default;border-bottom:3px solid #1579c6}";
|
|
6
6
|
|
|
7
7
|
const TttxTabs = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
8
8
|
constructor() {
|
|
@@ -75,23 +75,32 @@ const TttxTabs = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
75
75
|
}
|
|
76
76
|
generateTab(tab) {
|
|
77
77
|
var _a, _b;
|
|
78
|
-
const tabTitle = (_a = tab.tabName) !== null && _a !== void 0 ? _a : (h("tttx-
|
|
78
|
+
const tabTitle = (_a = tab.tabName) !== null && _a !== void 0 ? _a : (h("tttx-icon_1_7_0", { style: { pointerEvents: 'none', marginTop: '-2px' }, icon: tab.tabIcon, color: 'gray', size: (_b = tab.tabIconSize) !== null && _b !== void 0 ? _b : 24 }));
|
|
79
79
|
return (h("a", { key: tab.id, id: tab.id, role: "tab", "aria-controls": tab.controls, tabindex: tab.tabIndex, "aria-selected": tab.selected, onClick: () => {
|
|
80
80
|
this.handleTabClick(tab);
|
|
81
81
|
} }, tabTitle));
|
|
82
82
|
}
|
|
83
|
+
renderSelectedTab(selectedTab) {
|
|
84
|
+
// render a string of HTML or output a React object
|
|
85
|
+
if (typeof selectedTab.pageContent === 'string') {
|
|
86
|
+
return (h("article", { key: selectedTab.id, id: selectedTab.controls, role: "tabpanel", tabindex: "0", "aria-labelledby": selectedTab.id, "aria-expanded": selectedTab.selected, innerHTML: purify.sanitize(selectedTab.pageContent, domSanitiserOptions), hidden: !selectedTab.selected }));
|
|
87
|
+
}
|
|
88
|
+
else {
|
|
89
|
+
return (h("article", { key: selectedTab.id, id: selectedTab.controls, role: "tabpanel", tabindex: "0", "aria-labelledby": selectedTab.id, "aria-expanded": selectedTab.selected, hidden: !selectedTab.selected }, selectedTab.pageContent));
|
|
90
|
+
}
|
|
91
|
+
}
|
|
83
92
|
render() {
|
|
84
93
|
if (!this.tabs || this.tabs.length == 0) {
|
|
85
94
|
return;
|
|
86
95
|
}
|
|
87
96
|
const selectedTab = this._tabs.find(tab => tab.selected);
|
|
88
|
-
return (h(Host, null, h("div", null, h("div", { class: "tab-bar", role: "tablist", "aria-label": this.tabsName, ref: el => (this.tabList = el) }, this.navigation && (h("div", { class: "left-navigation", tabindex: "0", onClick: this.handleLeftNavigation.bind(this) }, h("tttx-
|
|
97
|
+
return (h(Host, null, h("div", null, h("div", { class: "tab-bar", role: "tablist", "aria-label": this.tabsName, ref: el => (this.tabList = el) }, this.navigation && (h("div", { class: "left-navigation", tabindex: "0", onClick: this.handleLeftNavigation.bind(this) }, h("tttx-icon_1_7_0", { icon: "navigate_before", color: "black" }))), h("div", { class: 'tabs-container' + (this.wide ? ' wide' : '') }, this._tabs.map(this.generateTab.bind(this))), this.navigation && (h("div", { class: "right-navigation", tabindex: "0", onClick: this.handleRightNavigation.bind(this) }, h("tttx-icon_1_7_0", { icon: "navigate_next", color: "black" })))), selectedTab && this.renderSelectedTab(selectedTab))));
|
|
89
98
|
}
|
|
90
99
|
static get watchers() { return {
|
|
91
100
|
"tabs": ["onDataChange"]
|
|
92
101
|
}; }
|
|
93
102
|
static get style() { return tttxTabsCss; }
|
|
94
|
-
}, [2, "tttx-
|
|
103
|
+
}, [2, "tttx-tabs_1_7_0", {
|
|
95
104
|
"tabsName": [1, "tabs-name"],
|
|
96
105
|
"navigation": [4],
|
|
97
106
|
"wide": [4],
|
|
@@ -102,14 +111,14 @@ function defineCustomElement$1() {
|
|
|
102
111
|
if (typeof customElements === "undefined") {
|
|
103
112
|
return;
|
|
104
113
|
}
|
|
105
|
-
const components = ["tttx-
|
|
114
|
+
const components = ["tttx-tabs_1_7_0", "tttx-icon_1_7_0"];
|
|
106
115
|
components.forEach(tagName => { switch (tagName) {
|
|
107
|
-
case "tttx-
|
|
116
|
+
case "tttx-tabs_1_7_0":
|
|
108
117
|
if (!customElements.get(tagName)) {
|
|
109
118
|
customElements.define(tagName, TttxTabs);
|
|
110
119
|
}
|
|
111
120
|
break;
|
|
112
|
-
case "tttx-
|
|
121
|
+
case "tttx-icon_1_7_0":
|
|
113
122
|
if (!customElements.get(tagName)) {
|
|
114
123
|
defineCustomElement$2();
|
|
115
124
|
}
|
|
@@ -117,7 +126,7 @@ function defineCustomElement$1() {
|
|
|
117
126
|
} });
|
|
118
127
|
}
|
|
119
128
|
|
|
120
|
-
const
|
|
129
|
+
const TttxTabs_1_7_0 = TttxTabs;
|
|
121
130
|
const defineCustomElement = defineCustomElement$1;
|
|
122
131
|
|
|
123
|
-
export {
|
|
132
|
+
export { TttxTabs_1_7_0, 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 TttxTag_1_7_0 extends Components.TttxTag_1_7_0, HTMLElement {}
|
|
4
|
+
export const TttxTag_1_7_0: {
|
|
5
|
+
prototype: TttxTag_1_7_0;
|
|
6
|
+
new (): TttxTag_1_7_0;
|
|
7
7
|
};
|
|
8
8
|
/**
|
|
9
9
|
* Used to define this component and all nested components recursively.
|
|
@@ -15,7 +15,7 @@ const TttxTag = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
15
15
|
return (h(Host, null, h("div", { class: "tag", style: { 'background-color': this.color, color: this.textColor } }, h("span", null, this.text))));
|
|
16
16
|
}
|
|
17
17
|
static get style() { return tttxTagCss; }
|
|
18
|
-
}, [1, "tttx-
|
|
18
|
+
}, [1, "tttx-tag_1_7_0", {
|
|
19
19
|
"text": [1],
|
|
20
20
|
"color": [1],
|
|
21
21
|
"textColor": [1, "text-color"]
|
|
@@ -24,9 +24,9 @@ function defineCustomElement$1() {
|
|
|
24
24
|
if (typeof customElements === "undefined") {
|
|
25
25
|
return;
|
|
26
26
|
}
|
|
27
|
-
const components = ["tttx-
|
|
27
|
+
const components = ["tttx-tag_1_7_0"];
|
|
28
28
|
components.forEach(tagName => { switch (tagName) {
|
|
29
|
-
case "tttx-
|
|
29
|
+
case "tttx-tag_1_7_0":
|
|
30
30
|
if (!customElements.get(tagName)) {
|
|
31
31
|
customElements.define(tagName, TttxTag);
|
|
32
32
|
}
|
|
@@ -34,7 +34,7 @@ function defineCustomElement$1() {
|
|
|
34
34
|
} });
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
const
|
|
37
|
+
const TttxTag_1_7_0 = TttxTag;
|
|
38
38
|
const defineCustomElement = defineCustomElement$1;
|
|
39
39
|
|
|
40
|
-
export {
|
|
40
|
+
export { TttxTag_1_7_0, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface TttxTextarea_1_7_0 extends Components.TttxTextarea_1_7_0, HTMLElement {}
|
|
4
|
+
export const TttxTextarea_1_7_0: {
|
|
5
|
+
prototype: TttxTextarea_1_7_0;
|
|
6
|
+
new (): TttxTextarea_1_7_0;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|