@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
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-88bd2f60.js';
|
|
2
|
+
|
|
3
|
+
const tttxDatacardCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}:host{display:block;float:left}.datacard{font-family:\"Roboto\", Arial, Verdana, Tahoma, sans-serif;box-sizing:border-box;width:292px;height:120px;background-color:white;border-radius:4px;padding:0px;margin-right:16px;margin-bottom:16px}h2{box-sizing:border-box;margin:0;padding:16px;width:100%;font-size:18px;font-weight:500;line-height:21.09px;text-align:left}.lower{width:100%;display:flex}.right{box-sizing:border-box;flex-grow:1;border-left:1px solid #D5D5D5;padding-left:24px;font-size:24px;font-weight:500;line-height:28.13px;text-align:left}.flex{display:flex;justify-content:flex-start}.righticon{margin-top:1px;margin-right:4px;height:24px}.left{box-sizing:border-box;flex-grow:1;font-size:40px;font-weight:500;line-height:46.88px;text-align:right;margin-right:20px}.centered{box-sizing:border-box;flex-grow:1;font-size:40px;font-weight:500;line-height:46.88px;text-align:center;margin:0}.subtext{font-size:14px;font-weight:400;line-height:16.41px;text-align:left;color:#757575}";
|
|
4
|
+
|
|
5
|
+
const TttxDatacard = class {
|
|
6
|
+
constructor(hostRef) {
|
|
7
|
+
registerInstance(this, hostRef);
|
|
8
|
+
this.cardTitle = undefined;
|
|
9
|
+
this.leftData = undefined;
|
|
10
|
+
this.rightData = undefined;
|
|
11
|
+
this.rightSubtext = undefined;
|
|
12
|
+
this.iconStyle = undefined;
|
|
13
|
+
}
|
|
14
|
+
renderIcon(iconstyle) {
|
|
15
|
+
switch (iconstyle) {
|
|
16
|
+
case 'up':
|
|
17
|
+
return h("tttx-icon_1_5_4", { size: 24, icon: "arrow_circle_up", color: "green" });
|
|
18
|
+
case 'down':
|
|
19
|
+
return h("tttx-icon_1_5_4", { size: 24, icon: "arrow_circle_down", color: "darkred" });
|
|
20
|
+
default:
|
|
21
|
+
return null;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
render() {
|
|
25
|
+
return (h(Host, null, h("div", { class: "datacard" }, h("h2", null, this.cardTitle), h("div", { class: "lower" }, h("div", { class: this.rightData && this.rightData !== 'undefined' ? 'left' : 'centered' }, this.leftData), this.rightData && this.rightData !== 'undefined' &&
|
|
26
|
+
h("div", { class: "right" }, h("div", { class: "flex" }, h("div", { class: "righticon" }, this.renderIcon(this.iconStyle)), h("div", { class: "rightdata" }, this.rightData)), h("div", { class: "subtext" }, this.rightSubtext))))));
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
TttxDatacard.style = tttxDatacardCss;
|
|
30
|
+
|
|
31
|
+
export { TttxDatacard as tttx_datacard_1_5_4 };
|
|
@@ -52,7 +52,7 @@ const TttxDialogBox = class {
|
|
|
52
52
|
const iconColor = header.iconColor;
|
|
53
53
|
const iconEnabled = header.hasIcon ? true : false;
|
|
54
54
|
const closeEnabled = header.hasClose ? true : false;
|
|
55
|
-
return (h("div", { class: "dialog-box-header" }, iconEnabled && h("tttx-
|
|
55
|
+
return (h("div", { class: "dialog-box-header" }, iconEnabled && h("tttx-icon_1_5_4", { class: "dialog-box-icon", icon: iconName, color: iconColor }), h("h3", { class: "dialog-box-title" }, title), closeEnabled && (h("div", { class: "dialog-box-align-right close-button", onClick: () => this.onCloseClickHandler() }, h("tttx-icon_1_5_4", { class: "dialog-box-icon-close dialog-box-clickable", icon: "close", color: "black" })))));
|
|
56
56
|
}
|
|
57
57
|
renderContent(content) {
|
|
58
58
|
if (content.isCustomHtml) {
|
|
@@ -69,7 +69,7 @@ const TttxDialogBox = class {
|
|
|
69
69
|
const button2Enabled = button.length > 1;
|
|
70
70
|
const button3Enabled = button.length == 3;
|
|
71
71
|
const isMobile = this.elementSize === 'mobile';
|
|
72
|
-
return (h("div", { class: "dialog-box-footer" }, h("div", { class: "dialog-box-align-right" }, button3Enabled && (h("tttx-
|
|
72
|
+
return (h("div", { class: "dialog-box-footer" }, h("div", { class: "dialog-box-align-right" }, button3Enabled && (h("tttx-button_1_5_4", { class: "dialog-box-spacing-button", onClick: () => this.onButtonClickHandler(3), design: button[2].type, notext: isMobile, icon: button[2].icon }, !isMobile && button[2].name)), button2Enabled && (h("tttx-button_1_5_4", { class: "dialog-box-spacing-button", onClick: () => this.onButtonClickHandler(2), design: button[1].type, icon: button[1].icon }, button[1].name)), button1Enabled && (h("tttx-button_1_5_4", { onClick: () => this.onButtonClickHandler(1), design: button[0].type, icon: button[0].icon }, button[0].name)))));
|
|
73
73
|
}
|
|
74
74
|
componentWillLoad() {
|
|
75
75
|
if (window.innerWidth < 698) {
|
|
@@ -94,4 +94,4 @@ const TttxDialogBox = class {
|
|
|
94
94
|
};
|
|
95
95
|
TttxDialogBox.style = tttxDialogBoxCss;
|
|
96
96
|
|
|
97
|
-
export { TttxDialogBox as
|
|
97
|
+
export { TttxDialogBox as tttx_dialog_box_1_5_4 };
|
|
@@ -46,7 +46,7 @@ const TttxDialog = class {
|
|
|
46
46
|
renderHeader() {
|
|
47
47
|
const iconEnabled = typeof this.type !== 'undefined';
|
|
48
48
|
const { iconName, iconColor } = this.headerIconDetails(iconEnabled);
|
|
49
|
-
return (h("div", { class: `padding header ${this.type || ''}` }, iconEnabled && h("tttx-
|
|
49
|
+
return (h("div", { class: `padding header ${this.type || ''}` }, iconEnabled && h("tttx-icon_1_5_4", { class: "icon", icon: iconName, color: iconColor }), h("h3", { class: "title", title: this.header }, this.header), this.closeEnabled && (h("tttx-button_1_5_4", { class: "align-right close-button", design: "borderless-circle", icon: "close", color: "black", notext: true, onClick: () => this.onCloseClickHandler() }))));
|
|
50
50
|
}
|
|
51
51
|
body() {
|
|
52
52
|
return (h("div", { class: `body ${!this.allowOverflow ? 'overflow-hidden' : ''}` }, h("span", { class: "body-content" }, h("slot", null))));
|
|
@@ -74,4 +74,4 @@ const TttxDialog = class {
|
|
|
74
74
|
};
|
|
75
75
|
TttxDialog.style = tttxDialogCss;
|
|
76
76
|
|
|
77
|
-
export { TttxDialog as
|
|
77
|
+
export { TttxDialog as tttx_dialog_1_5_4 };
|
|
@@ -26,9 +26,9 @@ const TttxExpander = class {
|
|
|
26
26
|
this.toggleExpander.emit({ open: this.isExpanded, name: this.name });
|
|
27
27
|
}
|
|
28
28
|
render() {
|
|
29
|
-
return (h(Host, null, h("details", { class: "expander", open: this.open, "aria-owns": "expanderContent", "aria-expanded": `${this.isExpanded}`, onClick: this.handleExpand.bind(this), ref: el => (this.expander = el) }, h("summary", { class: "panel" }, h("span", { class: "panel-frame" }, this.lefticon && (h("span", { class: "left-icons" }, h("tttx-
|
|
29
|
+
return (h(Host, null, h("details", { class: "expander", open: this.open, "aria-owns": "expanderContent", "aria-expanded": `${this.isExpanded}`, onClick: this.handleExpand.bind(this), ref: el => (this.expander = el) }, h("summary", { class: "panel" }, h("span", { class: "panel-frame" }, this.lefticon && (h("span", { class: "left-icons" }, h("tttx-icon_1_5_4", { icon: this.lefticon, color: this.lefticoncolor }))), h("span", { class: "name" }, this.name)), h("span", { class: "expand-button" }, h("tttx-icon_1_5_4", { class: "open", icon: "expand_more", color: "black" }), h("tttx-icon_1_5_4", { class: "closed", icon: "chevron_right", color: "black" }))), h("div", { id: "expanderContent", class: "content", tabindex: "0" }, h("slot", null)))));
|
|
30
30
|
}
|
|
31
31
|
};
|
|
32
32
|
TttxExpander.style = tttxExpanderCss;
|
|
33
33
|
|
|
34
|
-
export { TttxExpander as
|
|
34
|
+
export { TttxExpander as tttx_expander_1_5_4 };
|
|
@@ -178,17 +178,17 @@ const TttxFilter = class {
|
|
|
178
178
|
const selectAllCheckboxColor = this.allSelected ? 'blue' : 'grey';
|
|
179
179
|
const buttonStyleClassNameModifier = this.getFilterButtonClassName(this.filterButtonStyle);
|
|
180
180
|
const filterKey = `filter__${this.filterKey}`;
|
|
181
|
-
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-
|
|
181
|
+
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) => {
|
|
182
182
|
const checkboxIcon = this.selectedFilters.includes(option.optionText) ? 'check_box' : 'check_box_outline_blank';
|
|
183
183
|
const checkboxColor = this.selectedFilters.includes(option.optionText) ? 'blue' : 'grey';
|
|
184
|
-
return h("div", { class: 'filter-option', tabIndex: -1, onClick: () => this.onFilterOptionSelected(option.optionText), key: option.optionText }, h("tttx-
|
|
184
|
+
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));
|
|
185
185
|
})), 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")))))));
|
|
186
186
|
}
|
|
187
187
|
get el() { return getElement(this); }
|
|
188
188
|
};
|
|
189
189
|
TttxFilter.style = tttxFilterCss;
|
|
190
190
|
|
|
191
|
-
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;
|
|
191
|
+
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}";
|
|
192
192
|
|
|
193
193
|
const TttxList = class {
|
|
194
194
|
constructor(hostRef) {
|
|
@@ -239,9 +239,9 @@ const TttxList = class {
|
|
|
239
239
|
else {
|
|
240
240
|
element = h("span", { class: "item-content" }, item.element);
|
|
241
241
|
}
|
|
242
|
-
return (h(Fragment, null, item.hasCheckbox && (h("div", { class: "checkbox" }, h("tttx-
|
|
242
|
+
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 => {
|
|
243
243
|
this.onRowCheckboxHandler(event, item);
|
|
244
|
-
} }))), item.element && element, item.icon && (h("span", { class: "icons" }, h("tttx-
|
|
244
|
+
} }))), item.element && element, item.icon && (h("span", { class: "icons" }, h("tttx-icon_1_5_4", { class: "align-right", icon: item.icon, color: 'black' })))));
|
|
245
245
|
}
|
|
246
246
|
render() {
|
|
247
247
|
if (!this._data)
|
|
@@ -363,7 +363,7 @@ const TttxSorter = class {
|
|
|
363
363
|
const selectedOption = this.selectedField;
|
|
364
364
|
const dropdownSelectorClassNameModifier = this.dropdownExpand ? '--expanded' : '';
|
|
365
365
|
const sorterKey = `sorter__${this.sorterKey}`;
|
|
366
|
-
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-
|
|
366
|
+
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_5_4", { 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_5_4", { icon: chevronIcon, color: "black" })))), this.dropdownExpand && (h("div", { class: "dropdown-options-list" }, parsedFieldOptionsData.sorterOptions.map(option => {
|
|
367
367
|
return (h("div", { class: "dropdown-option", tabIndex: -1, onClick: this.onDropdownSelected.bind(this), key: option.optionLabel }, option.optionLabel));
|
|
368
368
|
}))))));
|
|
369
369
|
}
|
|
@@ -399,4 +399,4 @@ const TttxToolbar = class {
|
|
|
399
399
|
};
|
|
400
400
|
TttxToolbar.style = tttxToolbarCss;
|
|
401
401
|
|
|
402
|
-
export { TttxFilter as
|
|
402
|
+
export { TttxFilter as tttx_filter_1_5_4, TttxList as tttx_list_1_5_4, TttxSorter as tttx_sorter_1_5_4, TttxToolbar as tttx_toolbar_1_5_4 };
|
|
@@ -327,7 +327,7 @@ const TttxForm = class {
|
|
|
327
327
|
if ((_a = this._data) === null || _a === void 0 ? void 0 : _a[formKey]) {
|
|
328
328
|
select.classList.remove('placeholder');
|
|
329
329
|
}
|
|
330
|
-
const tttxSelect = document.createElement('tttx-select-
|
|
330
|
+
const tttxSelect = document.createElement('tttx-select-box_1_5_4');
|
|
331
331
|
tttxSelect.optionsData = (_b = formProperties.options) === null || _b === void 0 ? void 0 : _b.filter(o => !o.placeholder);
|
|
332
332
|
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;
|
|
333
333
|
tttxSelect.inline = false;
|
|
@@ -900,4 +900,4 @@ const TttxForm = class {
|
|
|
900
900
|
};
|
|
901
901
|
TttxForm.style = tttxFormCss;
|
|
902
902
|
|
|
903
|
-
export { TttxForm as
|
|
903
|
+
export { TttxForm as tttx_form_1_5_4 };
|
package/dist/esm/{tttx-multiselect-box_1_5_2.entry.js → tttx-multiselect-box_1_5_4.entry.js}
RENAMED
|
@@ -38,6 +38,7 @@ const TttxMultiselectBox = class {
|
|
|
38
38
|
* If we don't clone them, changing one may propagate to the others
|
|
39
39
|
* JSON.parse/stringify will deep clone them, so the references of the array elements will also change
|
|
40
40
|
*/
|
|
41
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
41
42
|
safelyCloneArray(arr) {
|
|
42
43
|
return JSON.parse(JSON.stringify(arr));
|
|
43
44
|
}
|
|
@@ -84,11 +85,11 @@ const TttxMultiselectBox = class {
|
|
|
84
85
|
const sanitisedHTML = purify.sanitize(option.html, domSanitiserOptions);
|
|
85
86
|
// This is tested in e2e tests
|
|
86
87
|
/* istanbul ignore next */
|
|
87
|
-
return (h("div", { class: `dropdown-option ${hideOption ? 'hidden' : ''} ${option.selected ? 'selected' : ''}`, onClick: this.onItemSelected.bind(this, option), key: option.label }, h("tttx-
|
|
88
|
+
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 })));
|
|
88
89
|
}
|
|
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", { class: "plaintext-option" }, option.label)));
|
|
92
93
|
}
|
|
93
94
|
// This is tested in e2e tests
|
|
94
95
|
/* istanbul ignore next */
|
|
@@ -120,11 +121,11 @@ const TttxMultiselectBox = class {
|
|
|
120
121
|
if (!this.unsavedSelectedItems)
|
|
121
122
|
this.unsavedSelectedItems = this.safelyCloneArray(this._optionsData);
|
|
122
123
|
const chevronIcon = this.open ? 'expand_less' : 'expand_more';
|
|
123
|
-
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-
|
|
124
|
+
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 &&
|
|
124
125
|
/* istanbul ignore next */
|
|
125
|
-
h("div", { class: "searchbox" }, h("tttx-standalone-
|
|
126
|
+
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) => {
|
|
126
127
|
return this.dropdownOption(option);
|
|
127
|
-
})), h("div", { class: 'footer' }, h("tttx-
|
|
128
|
+
})), 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"))))))));
|
|
128
129
|
}
|
|
129
130
|
get el() { return getElement(this); }
|
|
130
131
|
static get watchers() { return {
|
|
@@ -133,4 +134,4 @@ const TttxMultiselectBox = class {
|
|
|
133
134
|
};
|
|
134
135
|
TttxMultiselectBox.style = tttxMultiselectBoxCss;
|
|
135
136
|
|
|
136
|
-
export { TttxMultiselectBox as
|
|
137
|
+
export { TttxMultiselectBox as tttx_multiselect_box_1_5_4 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host } from './index-88bd2f60.js';
|
|
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 = class {
|
|
6
6
|
constructor(hostRef) {
|
|
@@ -58,4 +58,4 @@ const TttxPercentageBar = class {
|
|
|
58
58
|
};
|
|
59
59
|
TttxPercentageBar.style = tttxPercentageBarCss;
|
|
60
60
|
|
|
61
|
-
export { TttxPercentageBar as
|
|
61
|
+
export { TttxPercentageBar as tttx_percentage_bar_1_5_4 };
|
|
@@ -68,7 +68,7 @@ const TttxSelectBox = class {
|
|
|
68
68
|
let title;
|
|
69
69
|
let subtitle;
|
|
70
70
|
const chevronIcon = this.open ? 'expand_less' : 'expand_more';
|
|
71
|
-
const icon = h("tttx-
|
|
71
|
+
const icon = h("tttx-icon_1_5_4", { icon: chevronIcon, color: "black" });
|
|
72
72
|
let chevron = h("div", { class: "dropdown-selector-chevron" }, icon);
|
|
73
73
|
if (!this.selectedItem) {
|
|
74
74
|
title = h("div", { class: "placeholder" }, this.placeholder);
|
|
@@ -141,9 +141,9 @@ const TttxSelectBox = class {
|
|
|
141
141
|
if (!this.optionsData)
|
|
142
142
|
return;
|
|
143
143
|
const invalidClass = this.showErrorMsg ? 'invalid' : '';
|
|
144
|
-
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-
|
|
144
|
+
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) => {
|
|
145
145
|
return this.dropdownOption(option);
|
|
146
|
-
}))))), this.showErrorBubble && (h("span", { class: ['errorBubble', this.showErrorMsg && this.errorMsg ? 'visible' : ''].join(' ') }, h("tttx-
|
|
146
|
+
}))))), 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)))));
|
|
147
147
|
}
|
|
148
148
|
get el() { return getElement(this); }
|
|
149
149
|
static get watchers() { return {
|
|
@@ -152,4 +152,4 @@ const TttxSelectBox = class {
|
|
|
152
152
|
};
|
|
153
153
|
TttxSelectBox.style = tttxSelectBoxCss;
|
|
154
154
|
|
|
155
|
-
export { TttxSelectBox as
|
|
155
|
+
export { TttxSelectBox as tttx_select_box_1_5_4 };
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host } from './index-88bd2f60.js';
|
|
2
|
+
|
|
3
|
+
const tttxStandaloneInputCss = ".material-symbols-rounded.sc-tttx-standalone-input_1_5_4{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.material-symbols-rounded.sc-tttx-standalone-input_1_5_4{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}label.sc-tttx-standalone-input_1_5_4{font-weight:500;font-size:16px;line-height:18.752px;color:#212121}label.sc-tttx-standalone-input_1_5_4 .optional.sc-tttx-standalone-input_1_5_4{color:#757575;font-weight:normal}label.sc-tttx-standalone-input_1_5_4 .outer-container.sc-tttx-standalone-input_1_5_4{position:relative}label.sc-tttx-standalone-input_1_5_4 .outer-container.sc-tttx-standalone-input_1_5_4 .left-icons.sc-tttx-standalone-input_1_5_4,label.sc-tttx-standalone-input_1_5_4 .outer-container.sc-tttx-standalone-input_1_5_4 .right-icons.sc-tttx-standalone-input_1_5_4{display:flex;position:absolute;height:24px;gap:8px}label.sc-tttx-standalone-input_1_5_4 .outer-container.sc-tttx-standalone-input_1_5_4 .left-icons.sc-tttx-standalone-input_1_5_4 tttx-icon.sc-tttx-standalone-input_1_5_4,label.sc-tttx-standalone-input_1_5_4 .outer-container.sc-tttx-standalone-input_1_5_4 .right-icons.sc-tttx-standalone-input_1_5_4 tttx-icon.sc-tttx-standalone-input_1_5_4{height:24px;width:24px}label.sc-tttx-standalone-input_1_5_4 .outer-container.sc-tttx-standalone-input_1_5_4 .left-icons.sc-tttx-standalone-input_1_5_4{left:8px}label.sc-tttx-standalone-input_1_5_4 .outer-container.sc-tttx-standalone-input_1_5_4 .right-icons.sc-tttx-standalone-input_1_5_4{right:8px}label.sc-tttx-standalone-input_1_5_4 .outer-container.sc-tttx-standalone-input_1_5_4 input.sc-tttx-standalone-input_1_5_4,label.sc-tttx-standalone-input_1_5_4 .outer-container.sc-tttx-standalone-input_1_5_4 textarea.sc-tttx-standalone-input_1_5_4{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_5_4 .outer-container.sc-tttx-standalone-input_1_5_4 input.has-input-icon.sc-tttx-standalone-input_1_5_4,label.sc-tttx-standalone-input_1_5_4 .outer-container.sc-tttx-standalone-input_1_5_4 textarea.has-input-icon.sc-tttx-standalone-input_1_5_4{padding-left:40px}label.sc-tttx-standalone-input_1_5_4 .outer-container.sc-tttx-standalone-input_1_5_4 input.has-input-icon.has-left-icon.sc-tttx-standalone-input_1_5_4,label.sc-tttx-standalone-input_1_5_4 .outer-container.sc-tttx-standalone-input_1_5_4 textarea.has-input-icon.has-left-icon.sc-tttx-standalone-input_1_5_4{padding-left:72px}label.sc-tttx-standalone-input_1_5_4 .outer-container.sc-tttx-standalone-input_1_5_4 input.has-left-icon.sc-tttx-standalone-input_1_5_4,label.sc-tttx-standalone-input_1_5_4 .outer-container.sc-tttx-standalone-input_1_5_4 textarea.has-left-icon.sc-tttx-standalone-input_1_5_4{padding-left:40px}label.sc-tttx-standalone-input_1_5_4 .outer-container.sc-tttx-standalone-input_1_5_4 input.has-right-icon.sc-tttx-standalone-input_1_5_4,label.sc-tttx-standalone-input_1_5_4 .outer-container.sc-tttx-standalone-input_1_5_4 textarea.has-right-icon.sc-tttx-standalone-input_1_5_4{padding-right:40px}label.sc-tttx-standalone-input_1_5_4 .outer-container.sc-tttx-standalone-input_1_5_4 input.invalid.sc-tttx-standalone-input_1_5_4,label.sc-tttx-standalone-input_1_5_4 .outer-container.sc-tttx-standalone-input_1_5_4 textarea.invalid.sc-tttx-standalone-input_1_5_4{border:1px solid #dc0000}label.sc-tttx-standalone-input_1_5_4 .outer-container.sc-tttx-standalone-input_1_5_4 input.sc-tttx-standalone-input_1_5_4:not([type=submit]),label.sc-tttx-standalone-input_1_5_4 .outer-container.sc-tttx-standalone-input_1_5_4 textarea.sc-tttx-standalone-input_1_5_4:not([type=submit]){font-family:\"Roboto\", serif;width:100%;height:36px;font-size:16px;line-height:18.752px}label.sc-tttx-standalone-input_1_5_4 .outer-container.sc-tttx-standalone-input_1_5_4 input[type=radio].sc-tttx-standalone-input_1_5_4,label.sc-tttx-standalone-input_1_5_4 .outer-container.sc-tttx-standalone-input_1_5_4 textarea[type=radio].sc-tttx-standalone-input_1_5_4{width:20px;height:20px}label.sc-tttx-standalone-input_1_5_4 .outer-container.sc-tttx-standalone-input_1_5_4 input[type=date].sc-tttx-standalone-input_1_5_4,label.sc-tttx-standalone-input_1_5_4 .outer-container.sc-tttx-standalone-input_1_5_4 textarea[type=date].sc-tttx-standalone-input_1_5_4{background:white;display:block;min-width:calc(100% - 18px);line-height:37px}label.sc-tttx-standalone-input_1_5_4 .outer-container.sc-tttx-standalone-input_1_5_4 input[readonly].sc-tttx-standalone-input_1_5_4,label.sc-tttx-standalone-input_1_5_4 .outer-container.sc-tttx-standalone-input_1_5_4 textarea[readonly].sc-tttx-standalone-input_1_5_4{cursor:default;pointer-events:none;user-select:none;color:gray}label.sc-tttx-standalone-input_1_5_4 .outer-container.sc-tttx-standalone-input_1_5_4 input.sc-tttx-standalone-input_1_5_4:focus,label.sc-tttx-standalone-input_1_5_4 .outer-container.sc-tttx-standalone-input_1_5_4 textarea.sc-tttx-standalone-input_1_5_4:focus{border-color:#1479c6}label.sc-tttx-standalone-input_1_5_4 .outer-container.sc-tttx-standalone-input_1_5_4 input.sc-tttx-standalone-input_1_5_4:focus-visible,label.sc-tttx-standalone-input_1_5_4 .outer-container.sc-tttx-standalone-input_1_5_4 textarea.sc-tttx-standalone-input_1_5_4:focus-visible{outline:none}label.sc-tttx-standalone-input_1_5_4 .outer-container.sc-tttx-standalone-input_1_5_4 textarea.sc-tttx-standalone-input_1_5_4{padding:8px;height:auto;min-height:100px;resize:vertical}label.sc-tttx-standalone-input_1_5_4 .outer-container.sc-tttx-standalone-input_1_5_4 textarea.resize-none.sc-tttx-standalone-input_1_5_4{resize:none}label.sc-tttx-standalone-input_1_5_4 .outer-container.inputBlock.sc-tttx-standalone-input_1_5_4{display:flex;align-items:center;line-height:21px}label.sc-tttx-standalone-input_1_5_4 .outer-container.inputBlock.sc-tttx-standalone-input_1_5_4 .left-icons.sc-tttx-standalone-input_1_5_4,label.sc-tttx-standalone-input_1_5_4 .outer-container.inputBlock.sc-tttx-standalone-input_1_5_4 .right-icons.sc-tttx-standalone-input_1_5_4{margin-top:4px}label.sc-tttx-standalone-input_1_5_4 .outer-container.inputBlock.readonly.sc-tttx-standalone-input_1_5_4{pointer-events:none;user-select:none;color:gray}label.sc-tttx-standalone-input_1_5_4 .outer-container.inputBlock.radioBlock.sc-tttx-standalone-input_1_5_4{display:block}label.sc-tttx-standalone-input_1_5_4 .outer-container.inputInline.sc-tttx-standalone-input_1_5_4{display:flex;white-space:nowrap;align-items:center;margin:0}label.sc-tttx-standalone-input_1_5_4 .outer-container.inputInline.sc-tttx-standalone-input_1_5_4 input.sc-tttx-standalone-input_1_5_4{margin-top:0}label.sc-tttx-standalone-input_1_5_4 .secondarylabel.sc-tttx-standalone-input_1_5_4{color:#757575;font-size:14px;line-height:16.408px;font-weight:normal;display:flex;margin-top:4px}label.sc-tttx-standalone-input_1_5_4 .errorBubble.sc-tttx-standalone-input_1_5_4{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_5_4 .errorBubble.sc-tttx-standalone-input_1_5_4:not(.visible){display:none}label.sc-tttx-standalone-input_1_5_4 .errorBubble.sc-tttx-standalone-input_1_5_4 span.sc-tttx-standalone-input_1_5_4{color:#dc0000;font-size:16px;margin-right:4px}.material-symbols-rounded.sc-tttx-standalone-input_1_5_4{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_5_4-h{display:block}";
|
|
4
|
+
|
|
5
|
+
const TttxInput = class {
|
|
6
|
+
constructor(hostRef) {
|
|
7
|
+
registerInstance(this, hostRef);
|
|
8
|
+
this.valueChanged = createEvent(this, "valueChanged", 7);
|
|
9
|
+
this.focusChanged = createEvent(this, "focusChanged", 7);
|
|
10
|
+
this.blurChanged = createEvent(this, "blurChanged", 7);
|
|
11
|
+
this.invalidChanged = createEvent(this, "invalidChanged", 7);
|
|
12
|
+
this.inputIconClick = createEvent(this, "inputIconClick", 7);
|
|
13
|
+
this.leftIconClick = createEvent(this, "leftIconClick", 7);
|
|
14
|
+
this.rightIconClick = createEvent(this, "rightIconClick", 7);
|
|
15
|
+
this.label = undefined;
|
|
16
|
+
this.secondarylabel = undefined;
|
|
17
|
+
this.showerrormsg = undefined;
|
|
18
|
+
this.showerrorbubble = true;
|
|
19
|
+
this.errormsg = undefined;
|
|
20
|
+
this.iconleft = undefined;
|
|
21
|
+
this.iconleftcolor = 'grey';
|
|
22
|
+
this.iconright = undefined;
|
|
23
|
+
this.iconrightcolor = 'grey';
|
|
24
|
+
this.inputicon = undefined;
|
|
25
|
+
this.inputiconcolor = 'grey';
|
|
26
|
+
this.inline = undefined;
|
|
27
|
+
this.inputautocapitalize = undefined;
|
|
28
|
+
this.inputautofocus = undefined;
|
|
29
|
+
this.inputkeyhint = undefined;
|
|
30
|
+
this.inputindex = undefined;
|
|
31
|
+
this.inputtitle = undefined;
|
|
32
|
+
this.autocomplete = undefined;
|
|
33
|
+
this.checked = undefined;
|
|
34
|
+
this.disabled = undefined;
|
|
35
|
+
this.max = undefined;
|
|
36
|
+
this.maxlength = undefined;
|
|
37
|
+
this.min = undefined;
|
|
38
|
+
this.minlength = undefined;
|
|
39
|
+
this.name = undefined;
|
|
40
|
+
this.pattern = undefined;
|
|
41
|
+
this.placeholder = undefined;
|
|
42
|
+
this.readonly = undefined;
|
|
43
|
+
this.required = undefined;
|
|
44
|
+
this.step = undefined;
|
|
45
|
+
this.type = 'text';
|
|
46
|
+
this.value = undefined;
|
|
47
|
+
}
|
|
48
|
+
handleChange(event) {
|
|
49
|
+
const target = event.target;
|
|
50
|
+
this.value = target.value;
|
|
51
|
+
this.valueChanged.emit(target.value);
|
|
52
|
+
}
|
|
53
|
+
handleFocus(event) {
|
|
54
|
+
const target = event.target;
|
|
55
|
+
this.focusChanged.emit(target.value);
|
|
56
|
+
}
|
|
57
|
+
handleBlur(event) {
|
|
58
|
+
const target = event.target;
|
|
59
|
+
this.blurChanged.emit(target.value);
|
|
60
|
+
}
|
|
61
|
+
handleInvalid(event) {
|
|
62
|
+
event.preventDefault();
|
|
63
|
+
const target = event.target;
|
|
64
|
+
this.invalidChanged.emit(target.value);
|
|
65
|
+
}
|
|
66
|
+
handleInputIconClick(event) {
|
|
67
|
+
event.preventDefault();
|
|
68
|
+
this.inputIconClick.emit();
|
|
69
|
+
}
|
|
70
|
+
handleLeftIconClick(event) {
|
|
71
|
+
event.preventDefault();
|
|
72
|
+
this.leftIconClick.emit();
|
|
73
|
+
}
|
|
74
|
+
handleRightIconClick(event) {
|
|
75
|
+
event.preventDefault();
|
|
76
|
+
this.rightIconClick.emit();
|
|
77
|
+
}
|
|
78
|
+
render() {
|
|
79
|
+
const classNames = [
|
|
80
|
+
this.showerrormsg ? 'invalid' : '',
|
|
81
|
+
this.inputicon ? 'has-input-icon' : '',
|
|
82
|
+
this.iconleft ? 'has-left-icon' : '',
|
|
83
|
+
this.iconright ? 'has-right-icon' : '',
|
|
84
|
+
].join(' ');
|
|
85
|
+
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_5_4", { class: "input-icon", icon: this.inputicon, color: this.inputiconcolor, onClick: this.handleInputIconClick.bind(this) })), this.iconleft && (h("tttx-icon_1_5_4", { 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_5_4", { 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)))));
|
|
86
|
+
}
|
|
87
|
+
};
|
|
88
|
+
TttxInput.style = tttxStandaloneInputCss;
|
|
89
|
+
|
|
90
|
+
export { TttxInput as tttx_standalone_input_1_5_4 };
|
|
@@ -2,7 +2,7 @@ import { r as registerInstance, c as createEvent, h, H as Host } from './index-8
|
|
|
2
2
|
import { p as purify, d as domSanitiserOptions } from './domsanitiser.options-38a67458.js';
|
|
3
3
|
import './_commonjsHelpers-9943807e.js';
|
|
4
4
|
|
|
5
|
-
const tttxTabsCss = ".material-symbols-rounded.sc-tttx-
|
|
5
|
+
const tttxTabsCss = ".material-symbols-rounded.sc-tttx-tabs_1_5_4{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.sc-tttx-tabs_1_5_4-h{display:block}.tab-bar.sc-tttx-tabs_1_5_4{display:flex;height:52px}.tab-bar.sc-tttx-tabs_1_5_4>.left-navigation.sc-tttx-tabs_1_5_4,.tab-bar.sc-tttx-tabs_1_5_4>.right-navigation.sc-tttx-tabs_1_5_4{padding:14px 8px;cursor:pointer}.tab-bar.sc-tttx-tabs_1_5_4>.left-navigation.sc-tttx-tabs_1_5_4>*.sc-tttx-tabs_1_5_4,.tab-bar.sc-tttx-tabs_1_5_4>.right-navigation.sc-tttx-tabs_1_5_4>*.sc-tttx-tabs_1_5_4{height:24px;width:24px;cursor:pointer}.tab-bar.sc-tttx-tabs_1_5_4>.tabs-container.sc-tttx-tabs_1_5_4{display:flex;border-bottom:1px solid #d5d5d5}.tab-bar.sc-tttx-tabs_1_5_4>.tabs-container.wide.sc-tttx-tabs_1_5_4{flex-grow:1}.tab-bar.sc-tttx-tabs_1_5_4>.tabs-container.sc-tttx-tabs_1_5_4>*[role=tab].sc-tttx-tabs_1_5_4{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_5_4>.tabs-container.sc-tttx-tabs_1_5_4>*[role=tab].sc-tttx-tabs_1_5_4:hover{background-color:rgba(17, 17, 17, 0.05)}.tab-bar.sc-tttx-tabs_1_5_4>.tabs-container.sc-tttx-tabs_1_5_4>*[role=tab][aria-selected].sc-tttx-tabs_1_5_4{color:#212121;cursor:default;border-bottom:3px solid #1579c6}";
|
|
6
6
|
|
|
7
7
|
const TttxTabs = class {
|
|
8
8
|
constructor(hostRef) {
|
|
@@ -77,11 +77,11 @@ const TttxTabs = class {
|
|
|
77
77
|
return;
|
|
78
78
|
}
|
|
79
79
|
const selectedTab = this._tabs.find(tab => tab.selected);
|
|
80
|
-
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-
|
|
80
|
+
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_5_4", { icon: "navigate_before", color: "black" }))), h("div", { class: 'tabs-container' + (this.wide ? ' wide' : '') }, this._tabs.map(tab => {
|
|
81
81
|
return (h("a", { key: tab.id, id: tab.id, role: "tab", "aria-controls": tab.controls, tabindex: tab.tabIndex, "aria-selected": tab.selected, onClick: () => {
|
|
82
82
|
this.handleTabClick(tab);
|
|
83
83
|
} }, tab.tabName));
|
|
84
|
-
})), this.navigation && (h("div", { class: "right-navigation", tabindex: "0", onClick: this.handleRightNavigation.bind(this) }, h("tttx-
|
|
84
|
+
})), this.navigation && (h("div", { class: "right-navigation", tabindex: "0", onClick: this.handleRightNavigation.bind(this) }, h("tttx-icon_1_5_4", { icon: "navigate_next", color: "black" })))), selectedTab && (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 })))));
|
|
85
85
|
}
|
|
86
86
|
static get watchers() { return {
|
|
87
87
|
"tabs": ["onDataChange"]
|
|
@@ -89,4 +89,4 @@ const TttxTabs = class {
|
|
|
89
89
|
};
|
|
90
90
|
TttxTabs.style = tttxTabsCss;
|
|
91
91
|
|
|
92
|
-
export { TttxTabs as
|
|
92
|
+
export { TttxTabs as tttx_tabs_1_5_4 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-88bd2f60.js';
|
|
2
2
|
|
|
3
|
-
const tttxTextareaCss = ".material-symbols-rounded.sc-tttx-
|
|
3
|
+
const tttxTextareaCss = ".material-symbols-rounded.sc-tttx-textarea_1_5_4{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.sc-tttx-textarea_1_5_4-h{display:block}label.sc-tttx-textarea_1_5_4{font-weight:500;font-size:16px;line-height:18.752px;color:#212121}label.sc-tttx-textarea_1_5_4 .textarea-container.sc-tttx-textarea_1_5_4{position:relative}label.sc-tttx-textarea_1_5_4 .textarea-container.sc-tttx-textarea_1_5_4 textarea.sc-tttx-textarea_1_5_4{font-family:\"Roboto\", serif;box-sizing:border-box;width:100%;padding:9px 16px;font-size:16px;line-height:18.752px;border:1px solid #d5d5d5;border-radius:4px;margin-top:8px;resize:none}label.sc-tttx-textarea_1_5_4 .textarea-container.sc-tttx-textarea_1_5_4 textarea.no-label.sc-tttx-textarea_1_5_4{margin-top:0}label.sc-tttx-textarea_1_5_4 .textarea-container.sc-tttx-textarea_1_5_4 textarea.sc-tttx-textarea_1_5_4~.errorBubble.sc-tttx-textarea_1_5_4{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-textarea_1_5_4 .textarea-container.sc-tttx-textarea_1_5_4 textarea.sc-tttx-textarea_1_5_4~.errorBubble.sc-tttx-textarea_1_5_4:not(.visible){display:none}label.sc-tttx-textarea_1_5_4 .textarea-container.sc-tttx-textarea_1_5_4 textarea.sc-tttx-textarea_1_5_4~.errorBubble.sc-tttx-textarea_1_5_4 span.sc-tttx-textarea_1_5_4{color:#dc0000;font-size:16px;margin-right:4px}label.sc-tttx-textarea_1_5_4 .textarea-container.sc-tttx-textarea_1_5_4 textarea.sc-tttx-textarea_1_5_4:focus{border-color:#1479c6}label.sc-tttx-textarea_1_5_4 .textarea-container.sc-tttx-textarea_1_5_4 textarea.sc-tttx-textarea_1_5_4:focus-visible{outline:none}label.sc-tttx-textarea_1_5_4 .secondarylabel.sc-tttx-textarea_1_5_4{color:#757575;font-size:14px;line-height:16.408px;font-weight:normal;display:flex;margin-top:4px}label.sc-tttx-textarea_1_5_4 .optional.sc-tttx-textarea_1_5_4{color:#757575;font-weight:normal}";
|
|
4
4
|
|
|
5
5
|
const TttxTextarea = class {
|
|
6
6
|
constructor(hostRef) {
|
|
@@ -52,4 +52,4 @@ const TttxTextarea = class {
|
|
|
52
52
|
};
|
|
53
53
|
TttxTextarea.style = tttxTextareaCss;
|
|
54
54
|
|
|
55
|
-
export { TttxTextarea as
|
|
55
|
+
export { TttxTextarea as tttx_textarea_1_5_4 };
|
|
@@ -63,7 +63,7 @@ const TttxTreeView = class {
|
|
|
63
63
|
if (node.hasHover) {
|
|
64
64
|
this.onClickHandler(event, node);
|
|
65
65
|
}
|
|
66
|
-
} }, h("tttx-
|
|
66
|
+
} }, h("tttx-button_1_5_4", { class: "toggleNode", design: "borderless-circle", notext: true, icon: options.expanderIcon, color: "black", onClick: event => this.toggleNode(node, event) }), this.htmlcode('treeNode', node, options.checkboxIcon, options.checkboxColor)), node.isOpen ? (h("li", null, h("ul", null, node.child.map(childNode => {
|
|
67
67
|
return this.renderNode(childNode);
|
|
68
68
|
})))) : null));
|
|
69
69
|
}
|
|
@@ -76,7 +76,7 @@ const TttxTreeView = class {
|
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
78
|
htmlcode(type, node, check_box, check_boxColor) {
|
|
79
|
-
const htmlcode = (h("div", { class: "inline-tree-item element" }, node.hasCheckbox && (h("tttx-
|
|
79
|
+
const htmlcode = (h("div", { class: "inline-tree-item element" }, node.hasCheckbox && (h("tttx-button_1_5_4", { design: "borderless-circle", notext: true, icon: check_box, iconcolor: check_boxColor, class: "padding-icon checkbox", onClick: event => this.handleCheckboxChange(node, event) })), !node.html && node.hasIcon && (h("tttx-icon_1_5_4", { icon: node.icon, color: node.iconColor, class: "padding-icon" })), !node.html && h("div", { class: type }, node.title), node.html && h("div", { class: type, innerHTML: purify.sanitize(node.html, domSanitiserOptions) })));
|
|
80
80
|
return htmlcode;
|
|
81
81
|
}
|
|
82
82
|
render() {
|
|
@@ -87,4 +87,4 @@ const TttxTreeView = class {
|
|
|
87
87
|
};
|
|
88
88
|
TttxTreeView.style = tttxTreeViewCss;
|
|
89
89
|
|
|
90
|
-
export { TttxTreeView as
|
|
90
|
+
export { TttxTreeView as tttx_tree_view_1_5_4 };
|
package/dist/esm/tttx.js
CHANGED
|
@@ -14,5 +14,5 @@ const patchBrowser = () => {
|
|
|
14
14
|
};
|
|
15
15
|
|
|
16
16
|
patchBrowser().then(options => {
|
|
17
|
-
return bootstrapLazy([["tttx-data-
|
|
17
|
+
return bootstrapLazy([["tttx-data-pattern_1_5_4",[[1,"tttx-data-pattern_1_5_4",{"data":[1],"sorteroptions":[1],"filteroptions":[1],"filterheader":[1]}]]],["tttx-form_1_5_4",[[1,"tttx-form_1_5_4",{"formschema":[1025],"data":[1032],"submit":[64],"setSelectOptions":[64],"setValidationFor":[64],"clearValidationFor":[64],"disableFormField":[64],"enableFormField":[64]}]]],["tttx-multiselect-box_1_5_4",[[1,"tttx-multiselect-box_1_5_4",{"optionsData":[1,"options-data"],"label":[1],"inline":[4],"placeholder":[1],"searchEnabled":[4,"search-enabled"],"htmlVisibleValue":[4,"html-visible-value"],"visibleValue":[1,"visible-value"],"open":[32],"unsavedSelectedItems":[32],"searchTerm":[32]},[[0,"closeSelectBox","handleCloseSelectBox"],[0,"blur","handleBlur"]]]]],["tttx-dialog-box_1_5_4",[[1,"tttx-dialog-box_1_5_4",{"data":[1025],"size":[1],"open":[1028],"allowOverflow":[4,"allow-overflow"],"elementSize":[32]},[[9,"resize","handleResize"]]]]],["tttx-dialog_1_5_4",[[1,"tttx-dialog_1_5_4",{"header":[1],"type":[1],"size":[1],"open":[4],"allowOverflow":[4,"allow-overflow"],"closeEnabled":[4,"close-enabled"],"elementSize":[32]},[[9,"resize","handleResize"]]]]],["tttx-tree-view_1_5_4",[[1,"tttx-tree-view_1_5_4",{"data":[1040],"treeData":[32]}]]],["tttx-checkbox_1_5_4",[[0,"tttx-checkbox_1_5_4",{"checkboxId":[1,"checkbox-id"],"label":[1],"inline":[4],"indeterminate":[4],"checked":[4]}]]],["tttx-datacard_1_5_4",[[1,"tttx-datacard_1_5_4",{"cardTitle":[1,"card-title"],"leftData":[1,"left-data"],"rightData":[1,"right-data"],"rightSubtext":[1,"right-subtext"],"iconStyle":[1,"icon-style"]}]]],["tttx-expander_1_5_4",[[1,"tttx-expander_1_5_4",{"name":[1],"open":[4],"lefticon":[1],"lefticoncolor":[1],"isExpanded":[32]}]]],["tttx-tabs_1_5_4",[[2,"tttx-tabs_1_5_4",{"tabsName":[1,"tabs-name"],"navigation":[4],"wide":[4],"tabs":[1],"_tabs":[32]},[[0,"keydown","handleKeyDown"]]]]],["tttx-checkbox-group-caption_1_5_4",[[4,"tttx-checkbox-group-caption_1_5_4"]]],["tttx-checkbox-group-heading_1_5_4",[[4,"tttx-checkbox-group-heading_1_5_4"]]],["tttx-checkbox-group_1_5_4",[[1,"tttx-checkbox-group_1_5_4"]]],["tttx-keyvalue-block_1_5_4",[[1,"tttx-keyvalue-block_1_5_4",{"keyvalues":[1],"horizontal":[4],"spacedout":[4],"_elements":[32]}]]],["tttx-loading-spinner_1_5_4",[[1,"tttx-loading-spinner_1_5_4",{"loadingMessage":[1028,"loading-message"],"size":[1025]}]]],["tttx-percentage-bar_1_5_4",[[2,"tttx-percentage-bar_1_5_4",{"percentage":[8],"thresholds":[1],"color":[1],"min":[1],"labelid":[1],"_percentage":[32],"_ranges":[32],"_min":[32]}]]],["tttx-qrcode_1_5_4",[[1,"tttx-qrcode_1_5_4",{"link":[1025],"size":[1026]}]]],["tttx-tag_1_5_4",[[1,"tttx-tag_1_5_4",{"text":[1],"color":[1],"textColor":[1,"text-color"]}]]],["tttx-textarea_1_5_4",[[2,"tttx-textarea_1_5_4",{"label":[1],"secondarylabel":[1],"showerrormsg":[4],"showerrorbubble":[4],"errormsg":[1],"rows":[2],"textareaautofocus":[4],"inputkeyhint":[1],"inputindex":[8],"inputtitle":[1],"disabled":[4],"maxlength":[8],"name":[1],"placeholder":[1],"readonly":[8],"required":[4],"value":[1032]}]]],["tttx-icon_1_5_4",[[1,"tttx-icon_1_5_4",{"icon":[1],"color":[1],"size":[1026]}]]],["tttx-standalone-input_1_5_4",[[2,"tttx-standalone-input_1_5_4",{"label":[1],"secondarylabel":[1],"showerrormsg":[4],"showerrorbubble":[4],"errormsg":[1],"iconleft":[1],"iconleftcolor":[1],"iconright":[1],"iconrightcolor":[1],"inputicon":[1],"inputiconcolor":[1],"inline":[4],"inputautocapitalize":[1],"inputautofocus":[4],"inputkeyhint":[1],"inputindex":[8],"inputtitle":[1],"autocomplete":[1],"checked":[4],"disabled":[4],"max":[8],"maxlength":[8],"min":[8],"minlength":[8],"name":[1],"pattern":[1],"placeholder":[1],"readonly":[8],"required":[4],"step":[8],"type":[1],"value":[1032]}]]],["tttx-select-box_1_5_4",[[1,"tttx-select-box_1_5_4",{"optionsData":[1,"options-data"],"label":[1],"inline":[4],"placeholder":[1],"searchEnabled":[4,"search-enabled"],"selectedValue":[1,"selected-value"],"useExternalFiltering":[4,"use-external-filtering"],"showErrorMsg":[4,"show-error-msg"],"showErrorBubble":[4,"show-error-bubble"],"errorMsg":[1,"error-msg"],"open":[32],"selectedItem":[32],"searchTerm":[32],"setSelectedItem":[64]},[[0,"closeSelectBox","handleCloseSelectBox"],[0,"blur","handleBlur"]]]]],["tttx-filter_1_5_4_4",[[1,"tttx-filter_1_5_4",{"filterKey":[1,"filter-key"],"filterOptions":[1,"filter-options"],"showSelectAll":[4,"show-select-all"],"showSearchField":[4,"show-search-field"],"showOptionIcons":[4,"show-option-icons"],"filterButtonStyle":[1,"filter-button-style"],"filterHeader":[1,"filter-header"],"defaultFilterOptions":[1,"default-filter-options"],"popoverWidth":[1,"popover-width"],"showPopover":[32],"displayedFilterSettings":[32],"selectedFilters":[32],"filterSearchTerm":[32],"allSelected":[32]},[[0,"closeFilter","handleCloseFilter"]]],[1,"tttx-list_1_5_4",{"data":[1025],"name":[1],"_data":[32]}],[1,"tttx-sorter_1_5_4",{"sorterKey":[1,"sorter-key"],"defaultSortDirection":[1,"default-sort-direction"],"fieldOptionsData":[1,"field-options-data"],"defaultOption":[1,"default-option"],"selectedField":[32],"sortDirection":[32],"dropdownExpand":[32],"dropdownOptions":[32]},[[0,"closeSorter","handleCloseSorter"]]],[1,"tttx-toolbar_1_5_4",{"border":[4],"viewSize":[32]},[[9,"resize","handleResize"]]]]],["tttx-button_1_5_4",[[1,"tttx-button_1_5_4",{"notext":[4],"icon":[1],"iconposition":[1],"iconcolor":[1025],"design":[1]}]]]], options);
|
|
18
18
|
});
|