@3t-transform/threeteeui 1.9.22 → 1.9.24
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_9_22.cjs.entry.js → tttx-button_1_9_24.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-checkbox-group-caption_1_9_22.cjs.entry.js → tttx-checkbox-group-caption_1_9_24.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox-group-heading_1_9_22.cjs.entry.js → tttx-checkbox-group-heading_1_9_24.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox-group_1_9_22.cjs.entry.js → tttx-checkbox-group_1_9_24.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox_1_9_22.cjs.entry.js → tttx-checkbox_1_9_24.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-comments_1_9_22.cjs.entry.js → tttx-comments_1_9_24.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-data-pattern_1_9_22.cjs.entry.js → tttx-data-pattern_1_9_24.cjs.entry.js} +5 -5
- package/dist/cjs/{tttx-datacard_1_9_22.cjs.entry.js → tttx-datacard_1_9_24.cjs.entry.js} +4 -4
- package/dist/cjs/{tttx-dialog-box_1_9_22.cjs.entry.js → tttx-dialog-box_1_9_24.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-dialog_1_9_22.cjs.entry.js → tttx-dialog_1_9_24.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-expander_1_9_22.cjs.entry.js → tttx-expander_1_9_24.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-filter_1_9_22_4.cjs.entry.js → tttx-filter_1_9_24_4.cjs.entry.js} +9 -9
- package/dist/cjs/{tttx-form_1_9_22.cjs.entry.js → tttx-form_1_9_24.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-graph_1_9_22.cjs.entry.js → tttx-graph_1_9_24.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-icon_1_9_22.cjs.entry.js → tttx-icon_1_9_24.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-keyvalue-block_1_9_22.cjs.entry.js → tttx-keyvalue-block_1_9_24.cjs.entry.js} +1 -1
- package/dist/cjs/tttx-loading-spinner_1_9_24_3.cjs.entry.js +135 -0
- package/dist/cjs/{tttx-multiselect-box_1_9_22.cjs.entry.js → tttx-multiselect-box_1_9_24.cjs.entry.js} +30 -9
- package/dist/cjs/{tttx-percentage-bar_1_9_22.cjs.entry.js → tttx-percentage-bar_1_9_24.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-qrcode_1_9_22.cjs.entry.js → tttx-qrcode_1_9_24.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-select-box_1_9_22.cjs.entry.js → tttx-select-box_1_9_24.cjs.entry.js} +57 -13
- package/dist/cjs/{tttx-table_1_9_22.cjs.entry.js → tttx-table_1_9_24.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-tabs_1_9_22.cjs.entry.js → tttx-tabs_1_9_24.cjs.entry.js} +4 -4
- package/dist/cjs/{tttx-textarea_1_9_22.cjs.entry.js → tttx-textarea_1_9_24.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-toggle_1_9_22.cjs.entry.js → tttx-toggle_1_9_24.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-tree-view_1_9_22.cjs.entry.js → tttx-tree-view_1_9_24.cjs.entry.js} +3 -3
- package/dist/cjs/tttx.cjs.js +1 -1
- 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 +4 -4
- package/dist/collection/components/atoms/tttx-datacard/tttx-datacard.stories.js +10 -10
- 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 +2 -2
- package/dist/collection/components/atoms/tttx-tag/tttx-tag.stories.js +6 -6
- package/dist/collection/components/atoms/tttx-toggle/tttx-toggle.js +1 -1
- package/dist/collection/components/atoms/tttx-toggle/tttx-toggle.stories.js +2 -2
- 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.js +2 -2
- package/dist/collection/components/molecules/tttx-comments/tttx-comments.stories.js +1 -1
- 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 +7 -7
- package/dist/collection/components/molecules/tttx-graph/tttx-graph.js +1 -1
- package/dist/collection/components/molecules/tttx-graph/tttx-graph.stories.js +1 -1
- 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.css +6 -0
- package/dist/collection/components/molecules/tttx-multiselect-box/tttx-multiselect-box.js +66 -9
- package/dist/collection/components/molecules/tttx-multiselect-box/tttx-multiselect-box.stories.js +72 -35
- package/dist/collection/components/molecules/tttx-select-box/tttx-select-box.css +4 -0
- package/dist/collection/components/molecules/tttx-select-box/tttx-select-box.js +143 -12
- package/dist/collection/components/molecules/tttx-select-box/tttx-select-box.stories.js +64 -20
- 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-table/tttx-table.js +1 -1
- package/dist/collection/components/molecules/tttx-table/tttx-table.stories.js +6 -6
- 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 +5 -5
- package/dist/collection/components/organisms/tttx-data-pattern/tttx-data-pattern.stories.js +5 -5
- package/dist/components/index.d.ts +31 -31
- package/dist/components/index.js +31 -31
- package/dist/components/tttx-button.js +5 -5
- package/dist/components/{tttx-button_1_9_22.d.ts → tttx-button_1_9_24.d.ts} +4 -4
- package/dist/components/{tttx-button_1_9_22.js → tttx-button_1_9_24.js} +2 -2
- package/dist/components/tttx-checkbox-group-caption_1_9_24.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group-caption_1_9_22.js → tttx-checkbox-group-caption_1_9_24.js} +5 -5
- package/dist/components/tttx-checkbox-group-heading_1_9_24.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group-heading_1_9_22.js → tttx-checkbox-group-heading_1_9_24.js} +5 -5
- package/dist/components/tttx-checkbox-group_1_9_24.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group_1_9_22.js → tttx-checkbox-group_1_9_24.js} +5 -5
- package/dist/components/{tttx-datacard_1_9_22.d.ts → tttx-checkbox_1_9_24.d.ts} +4 -4
- package/dist/components/{tttx-checkbox_1_9_22.js → tttx-checkbox_1_9_24.js} +7 -7
- package/dist/components/{tttx-checkbox_1_9_22.d.ts → tttx-comments_1_9_24.d.ts} +4 -4
- package/dist/components/{tttx-comments_1_9_22.js → tttx-comments_1_9_24.js} +7 -7
- package/dist/components/tttx-data-pattern_1_9_24.d.ts +11 -0
- package/dist/components/{tttx-data-pattern_1_9_22.js → tttx-data-pattern_1_9_24.js} +16 -16
- package/dist/components/{tttx-comments_1_9_22.d.ts → tttx-datacard_1_9_24.d.ts} +4 -4
- package/dist/components/{tttx-datacard_1_9_22.js → tttx-datacard_1_9_24.js} +10 -10
- package/dist/components/tttx-dialog-box_1_9_24.d.ts +11 -0
- package/dist/components/{tttx-dialog-box_1_9_22.js → tttx-dialog-box_1_9_24.js} +9 -9
- package/dist/components/{tttx-dialog_1_9_22.d.ts → tttx-dialog_1_9_24.d.ts} +4 -4
- package/dist/components/{tttx-dialog_1_9_22.js → tttx-dialog_1_9_24.js} +8 -8
- package/dist/components/tttx-expander_1_9_24.d.ts +11 -0
- package/dist/components/{tttx-expander_1_9_22.js → tttx-expander_1_9_24.js} +7 -7
- package/dist/components/tttx-filter.js +6 -6
- package/dist/components/{tttx-filter_1_9_22.d.ts → tttx-filter_1_9_24.d.ts} +4 -4
- package/dist/components/{tttx-filter_1_9_22.js → tttx-filter_1_9_24.js} +2 -2
- package/dist/components/{tttx-tabs_1_9_22.d.ts → tttx-form_1_9_24.d.ts} +4 -4
- package/dist/components/{tttx-form_1_9_22.js → tttx-form_1_9_24.js} +20 -14
- package/dist/components/tttx-graph.js +3 -3
- package/dist/components/{tttx-graph_1_9_22.d.ts → tttx-graph_1_9_24.d.ts} +4 -4
- package/dist/components/{tttx-graph_1_9_22.js → tttx-graph_1_9_24.js} +2 -2
- package/dist/components/tttx-icon.js +3 -3
- package/dist/components/{tttx-icon_1_9_22.d.ts → tttx-icon_1_9_24.d.ts} +4 -4
- package/dist/components/{tttx-icon_1_9_22.js → tttx-icon_1_9_24.js} +2 -2
- package/dist/components/tttx-keyvalue-block_1_9_24.d.ts +11 -0
- package/dist/components/{tttx-keyvalue-block_1_9_22.js → tttx-keyvalue-block_1_9_24.js} +5 -5
- package/dist/components/tttx-list.js +6 -6
- package/dist/components/{tttx-list_1_9_22.d.ts → tttx-list_1_9_24.d.ts} +4 -4
- package/dist/components/{tttx-list_1_9_22.js → tttx-list_1_9_24.js} +2 -2
- package/dist/components/tttx-loading-spinner.js +3 -3
- package/dist/components/tttx-loading-spinner_1_9_24.d.ts +11 -0
- package/dist/components/{tttx-loading-spinner_1_9_22.js → tttx-loading-spinner_1_9_24.js} +2 -2
- package/dist/components/tttx-multiselect-box_1_9_24.d.ts +11 -0
- package/dist/components/{tttx-multiselect-box_1_9_22.js → tttx-multiselect-box_1_9_24.js} +51 -22
- package/dist/components/tttx-percentage-bar_1_9_24.d.ts +11 -0
- package/dist/components/{tttx-percentage-bar_1_9_22.js → tttx-percentage-bar_1_9_24.js} +6 -6
- package/dist/components/{tttx-qrcode_1_9_22.d.ts → tttx-qrcode_1_9_24.d.ts} +4 -4
- package/dist/components/{tttx-qrcode_1_9_22.js → tttx-qrcode_1_9_24.js} +5 -5
- package/dist/components/tttx-select-box.js +76 -21
- package/dist/components/tttx-select-box_1_9_24.d.ts +11 -0
- package/dist/components/{tttx-select-box_1_9_22.js → tttx-select-box_1_9_24.js} +2 -2
- package/dist/components/tttx-sorter.js +5 -5
- package/dist/components/tttx-sorter_1_9_24.d.ts +11 -0
- package/dist/components/{tttx-sorter_1_9_22.js → tttx-sorter_1_9_24.js} +2 -2
- package/dist/components/tttx-standalone-input.js +6 -6
- package/dist/components/tttx-standalone-input_1_9_24.d.ts +11 -0
- package/dist/components/{tttx-standalone-input_1_9_22.js → tttx-standalone-input_1_9_24.js} +2 -2
- package/dist/components/{tttx-table_1_9_22.d.ts → tttx-table_1_9_24.d.ts} +4 -4
- package/dist/components/{tttx-table_1_9_22.js → tttx-table_1_9_24.js} +5 -5
- package/dist/components/{tttx-form_1_9_22.d.ts → tttx-tabs_1_9_24.d.ts} +4 -4
- package/dist/components/{tttx-tabs_1_9_22.js → tttx-tabs_1_9_24.js} +9 -9
- package/dist/components/{tttx-tag_1_9_22.js → tttx-tag.js} +9 -12
- package/dist/components/{tttx-tag_1_9_22.d.ts → tttx-tag_1_9_24.d.ts} +4 -4
- package/dist/components/tttx-tag_1_9_24.js +6 -0
- package/dist/components/tttx-textarea_1_9_24.d.ts +11 -0
- package/dist/components/{tttx-textarea_1_9_22.js → tttx-textarea_1_9_24.js} +6 -6
- package/dist/components/tttx-toggle_1_9_24.d.ts +11 -0
- package/dist/components/{tttx-toggle_1_9_22.js → tttx-toggle_1_9_24.js} +5 -5
- package/dist/components/tttx-toolbar.js +3 -3
- package/dist/components/tttx-toolbar_1_9_24.d.ts +11 -0
- package/dist/components/{tttx-toolbar_1_9_22.js → tttx-toolbar_1_9_24.js} +2 -2
- package/dist/components/tttx-tree-view_1_9_24.d.ts +11 -0
- package/dist/components/{tttx-tree-view_1_9_22.js → tttx-tree-view_1_9_24.js} +9 -9
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{tttx-button_1_9_22.entry.js → tttx-button_1_9_24.entry.js} +2 -2
- package/dist/esm/{tttx-checkbox-group-caption_1_9_22.entry.js → tttx-checkbox-group-caption_1_9_24.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox-group-heading_1_9_22.entry.js → tttx-checkbox-group-heading_1_9_24.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox-group_1_9_22.entry.js → tttx-checkbox-group_1_9_24.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox_1_9_22.entry.js → tttx-checkbox_1_9_24.entry.js} +2 -2
- package/dist/esm/{tttx-comments_1_9_22.entry.js → tttx-comments_1_9_24.entry.js} +2 -2
- package/dist/esm/{tttx-data-pattern_1_9_22.entry.js → tttx-data-pattern_1_9_24.entry.js} +5 -5
- package/dist/esm/{tttx-datacard_1_9_22.entry.js → tttx-datacard_1_9_24.entry.js} +4 -4
- package/dist/esm/{tttx-dialog-box_1_9_22.entry.js → tttx-dialog-box_1_9_24.entry.js} +3 -3
- package/dist/esm/{tttx-dialog_1_9_22.entry.js → tttx-dialog_1_9_24.entry.js} +2 -2
- package/dist/esm/{tttx-expander_1_9_22.entry.js → tttx-expander_1_9_24.entry.js} +2 -2
- package/dist/esm/{tttx-filter_1_9_22_4.entry.js → tttx-filter_1_9_24_4.entry.js} +6 -6
- package/dist/esm/{tttx-form_1_9_22.entry.js → tttx-form_1_9_24.entry.js} +2 -2
- package/dist/esm/{tttx-graph_1_9_22.entry.js → tttx-graph_1_9_24.entry.js} +1 -1
- package/dist/esm/{tttx-icon_1_9_22.entry.js → tttx-icon_1_9_24.entry.js} +1 -1
- package/dist/esm/{tttx-keyvalue-block_1_9_22.entry.js → tttx-keyvalue-block_1_9_24.entry.js} +1 -1
- package/dist/esm/tttx-loading-spinner_1_9_24_3.entry.js +129 -0
- package/dist/esm/{tttx-multiselect-box_1_9_22.entry.js → tttx-multiselect-box_1_9_24.entry.js} +31 -10
- package/dist/esm/{tttx-percentage-bar_1_9_22.entry.js → tttx-percentage-bar_1_9_24.entry.js} +2 -2
- package/dist/esm/{tttx-qrcode_1_9_22.entry.js → tttx-qrcode_1_9_24.entry.js} +1 -1
- package/dist/esm/{tttx-select-box_1_9_22.entry.js → tttx-select-box_1_9_24.entry.js} +57 -13
- package/dist/esm/{tttx-table_1_9_22.entry.js → tttx-table_1_9_24.entry.js} +1 -1
- package/dist/esm/{tttx-tabs_1_9_22.entry.js → tttx-tabs_1_9_24.entry.js} +4 -4
- package/dist/esm/{tttx-textarea_1_9_22.entry.js → tttx-textarea_1_9_24.entry.js} +2 -2
- package/dist/esm/{tttx-toggle_1_9_22.entry.js → tttx-toggle_1_9_24.entry.js} +1 -1
- package/dist/esm/{tttx-tree-view_1_9_22.entry.js → tttx-tree-view_1_9_24.entry.js} +3 -3
- package/dist/esm/tttx.js +1 -1
- package/dist/tttx/p-0da9f04c.entry.js +1 -1
- package/dist/tttx/p-0e515960.entry.js +1 -1
- package/dist/tttx/p-0ffbf27e.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-2d4c1e8a.entry.js +1 -1
- package/dist/tttx/p-49ef7451.entry.js +1 -1
- package/dist/tttx/p-56c8c353.entry.js +1 -1
- package/dist/tttx/p-5722f326.entry.js +1 -0
- 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-74148f2a.entry.js +1 -1
- package/dist/tttx/p-79e218d0.entry.js +1 -1
- package/dist/tttx/p-90d21e86.entry.js +1 -1
- package/dist/tttx/p-9434561e.entry.js +1 -1
- package/dist/tttx/p-996a6061.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-b7347352.entry.js +1 -1
- package/dist/tttx/p-c170e3b8.entry.js +1 -1
- package/dist/tttx/p-c34d99d1.entry.js +1 -0
- package/dist/tttx/p-cfe412d0.entry.js +1 -1
- package/dist/tttx/p-de6e8250.entry.js +1 -1
- package/dist/tttx/p-f115bff6.entry.js +1 -0
- package/dist/tttx/p-f374e293.entry.js +1 -1
- package/dist/tttx/tttx.esm.js +1 -1
- package/dist/types/components/molecules/tttx-multiselect-box/interfaces.d.ts +5 -4
- package/dist/types/components/molecules/tttx-multiselect-box/tttx-multiselect-box.d.ts +3 -0
- package/dist/types/components/molecules/tttx-select-box/interfaces.d.ts +5 -4
- package/dist/types/components/molecules/tttx-select-box/tttx-select-box.d.ts +12 -1
- package/dist/types/components/molecules/tttx-select-box/tttx-select-box.stories.d.ts +1 -0
- 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 +381 -368
- package/package.json +1 -1
- package/dist/cjs/tttx-loading-spinner_1_9_22_2.cjs.entry.js +0 -114
- package/dist/cjs/tttx-tag_1_9_22.cjs.entry.js +0 -27
- package/dist/components/tttx-checkbox-group-caption_1_9_22.d.ts +0 -11
- package/dist/components/tttx-checkbox-group-heading_1_9_22.d.ts +0 -11
- package/dist/components/tttx-checkbox-group_1_9_22.d.ts +0 -11
- package/dist/components/tttx-data-pattern_1_9_22.d.ts +0 -11
- package/dist/components/tttx-dialog-box_1_9_22.d.ts +0 -11
- package/dist/components/tttx-expander_1_9_22.d.ts +0 -11
- package/dist/components/tttx-keyvalue-block_1_9_22.d.ts +0 -11
- package/dist/components/tttx-loading-spinner_1_9_22.d.ts +0 -11
- package/dist/components/tttx-multiselect-box_1_9_22.d.ts +0 -11
- package/dist/components/tttx-percentage-bar_1_9_22.d.ts +0 -11
- package/dist/components/tttx-select-box_1_9_22.d.ts +0 -11
- package/dist/components/tttx-sorter_1_9_22.d.ts +0 -11
- package/dist/components/tttx-standalone-input_1_9_22.d.ts +0 -11
- package/dist/components/tttx-textarea_1_9_22.d.ts +0 -11
- package/dist/components/tttx-toggle_1_9_22.d.ts +0 -11
- package/dist/components/tttx-toolbar_1_9_22.d.ts +0 -11
- package/dist/components/tttx-tree-view_1_9_22.d.ts +0 -11
- package/dist/esm/tttx-loading-spinner_1_9_22_2.entry.js +0 -109
- package/dist/esm/tttx-tag_1_9_22.entry.js +0 -23
- package/dist/tttx/p-2d184378.entry.js +0 -1
- package/dist/tttx/p-3df60a1b.entry.js +0 -1
- package/dist/tttx/p-bbad0784.entry.js +0 -1
- package/dist/tttx/p-c4756f1b.entry.js +0 -1
package/package.json
CHANGED
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
const index = require('./index-fdc30724.js');
|
|
6
|
-
|
|
7
|
-
const tttxLoadingSpinnerCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.loading-box{display:flex;align-items:center;justify-content:center}.loading-text{font-size:16px;font-weight:400;padding-top:10px;text-align:center}.spinner{border:solid #1479c6;border-bottom-color:#d5d5d5;border-radius:50%;position:relative;box-sizing:border-box;animation:rotation 1s linear infinite}.spinner.small{height:20px;width:20px;border-width:4px}.spinner.large{height:60px;width:60px;border-width:8px}@keyframes rotation{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}";
|
|
8
|
-
|
|
9
|
-
const TttxLoadingSpinner = class {
|
|
10
|
-
constructor(hostRef) {
|
|
11
|
-
index.registerInstance(this, hostRef);
|
|
12
|
-
this.loadingMessage = undefined;
|
|
13
|
-
this.size = 'large';
|
|
14
|
-
}
|
|
15
|
-
renderLoadingMessage() {
|
|
16
|
-
if (!this.loadingMessage)
|
|
17
|
-
return '';
|
|
18
|
-
return index.h("div", { class: "loading-text" }, "Loading, please wait...");
|
|
19
|
-
}
|
|
20
|
-
render() {
|
|
21
|
-
return (index.h("div", null, index.h("div", { class: "loading-box" }, index.h("span", { class: `spinner ${this.size}` })), this.renderLoadingMessage()));
|
|
22
|
-
}
|
|
23
|
-
};
|
|
24
|
-
TttxLoadingSpinner.style = tttxLoadingSpinnerCss;
|
|
25
|
-
|
|
26
|
-
const tttxStandaloneInputCss = ".material-symbols-rounded.sc-tttx-standalone-input_1_9_22{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.material-symbols-rounded.sc-tttx-standalone-input_1_9_22{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}label.sc-tttx-standalone-input_1_9_22{font-weight:500;font-size:16px;line-height:18.752px;color:#212121}label.sc-tttx-standalone-input_1_9_22 .optional.sc-tttx-standalone-input_1_9_22{color:#757575;font-weight:normal}label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22{position:relative}label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 .left-icons.sc-tttx-standalone-input_1_9_22,label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 .right-icons.sc-tttx-standalone-input_1_9_22{display:flex;position:absolute;height:24px;gap:8px}label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 .left-icons.sc-tttx-standalone-input_1_9_22 tttx-icon.sc-tttx-standalone-input_1_9_22,label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 .right-icons.sc-tttx-standalone-input_1_9_22 tttx-icon.sc-tttx-standalone-input_1_9_22{height:24px;width:24px}label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 .left-icons.sc-tttx-standalone-input_1_9_22{left:8px}label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 .right-icons.sc-tttx-standalone-input_1_9_22{right:8px}label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 input.sc-tttx-standalone-input_1_9_22,label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 textarea.sc-tttx-standalone-input_1_9_22{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_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 input.has-input-icon.sc-tttx-standalone-input_1_9_22,label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 textarea.has-input-icon.sc-tttx-standalone-input_1_9_22{padding-left:40px}label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 input.has-input-icon.has-left-icon.sc-tttx-standalone-input_1_9_22,label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 textarea.has-input-icon.has-left-icon.sc-tttx-standalone-input_1_9_22{padding-left:72px}label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 input.has-left-icon.sc-tttx-standalone-input_1_9_22,label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 textarea.has-left-icon.sc-tttx-standalone-input_1_9_22{padding-left:40px}label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 input.has-right-icon.sc-tttx-standalone-input_1_9_22,label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 textarea.has-right-icon.sc-tttx-standalone-input_1_9_22{padding-right:40px}label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 input.invalid.sc-tttx-standalone-input_1_9_22,label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 textarea.invalid.sc-tttx-standalone-input_1_9_22{border:1px solid #dc0000}label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 input.sc-tttx-standalone-input_1_9_22:not([type=submit]),label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 textarea.sc-tttx-standalone-input_1_9_22:not([type=submit]){font-family:\"Roboto\", serif;width:100%;height:36px;font-size:16px;line-height:18.752px}label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 input[type=radio].sc-tttx-standalone-input_1_9_22,label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 textarea[type=radio].sc-tttx-standalone-input_1_9_22{width:20px;height:20px}label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 input[type=date].sc-tttx-standalone-input_1_9_22,label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 textarea[type=date].sc-tttx-standalone-input_1_9_22{background:white;display:block;min-width:calc(100% - 18px);line-height:37px}label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 input[readonly].sc-tttx-standalone-input_1_9_22,label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 textarea[readonly].sc-tttx-standalone-input_1_9_22{cursor:default;pointer-events:none;user-select:none;color:gray}label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 input.sc-tttx-standalone-input_1_9_22:focus,label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 textarea.sc-tttx-standalone-input_1_9_22:focus{border-color:#1479c6}label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 input.sc-tttx-standalone-input_1_9_22:focus-visible,label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 textarea.sc-tttx-standalone-input_1_9_22:focus-visible{outline:none}label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 textarea.sc-tttx-standalone-input_1_9_22{padding:8px;height:auto;min-height:100px;resize:vertical}label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 textarea.resize-none.sc-tttx-standalone-input_1_9_22{resize:none}label.sc-tttx-standalone-input_1_9_22 .outer-container.inputBlock.sc-tttx-standalone-input_1_9_22{display:flex;align-items:center;line-height:21px}label.sc-tttx-standalone-input_1_9_22 .outer-container.inputBlock.sc-tttx-standalone-input_1_9_22 .left-icons.sc-tttx-standalone-input_1_9_22,label.sc-tttx-standalone-input_1_9_22 .outer-container.inputBlock.sc-tttx-standalone-input_1_9_22 .right-icons.sc-tttx-standalone-input_1_9_22{margin-top:4px}label.sc-tttx-standalone-input_1_9_22 .outer-container.inputBlock.readonly.sc-tttx-standalone-input_1_9_22{pointer-events:none;user-select:none;color:gray}label.sc-tttx-standalone-input_1_9_22 .outer-container.inputBlock.radioBlock.sc-tttx-standalone-input_1_9_22{display:block}label.sc-tttx-standalone-input_1_9_22 .outer-container.inputInline.sc-tttx-standalone-input_1_9_22{display:flex;white-space:nowrap;align-items:center;margin:0}label.sc-tttx-standalone-input_1_9_22 .outer-container.inputInline.sc-tttx-standalone-input_1_9_22 input.sc-tttx-standalone-input_1_9_22{margin-top:0}label.sc-tttx-standalone-input_1_9_22 .secondarylabel.sc-tttx-standalone-input_1_9_22{color:#757575;font-size:14px;line-height:16.408px;font-weight:normal;display:flex;margin-top:4px}label.sc-tttx-standalone-input_1_9_22 .errorBubble.sc-tttx-standalone-input_1_9_22{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_9_22 .errorBubble.sc-tttx-standalone-input_1_9_22:not(.visible){display:none}label.sc-tttx-standalone-input_1_9_22 .errorBubble.sc-tttx-standalone-input_1_9_22 span.sc-tttx-standalone-input_1_9_22{color:#dc0000;font-size:16px;margin-right:4px}.material-symbols-rounded.sc-tttx-standalone-input_1_9_22{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_9_22-h{display:block}";
|
|
27
|
-
|
|
28
|
-
const TttxInput = class {
|
|
29
|
-
constructor(hostRef) {
|
|
30
|
-
index.registerInstance(this, hostRef);
|
|
31
|
-
this.valueChanged = index.createEvent(this, "valueChanged", 7);
|
|
32
|
-
this.focusChanged = index.createEvent(this, "focusChanged", 7);
|
|
33
|
-
this.blurChanged = index.createEvent(this, "blurChanged", 7);
|
|
34
|
-
this.invalidChanged = index.createEvent(this, "invalidChanged", 7);
|
|
35
|
-
this.inputIconClick = index.createEvent(this, "inputIconClick", 7);
|
|
36
|
-
this.leftIconClick = index.createEvent(this, "leftIconClick", 7);
|
|
37
|
-
this.rightIconClick = index.createEvent(this, "rightIconClick", 7);
|
|
38
|
-
this.label = undefined;
|
|
39
|
-
this.secondarylabel = undefined;
|
|
40
|
-
this.showerrormsg = undefined;
|
|
41
|
-
this.showerrorbubble = true;
|
|
42
|
-
this.errormsg = undefined;
|
|
43
|
-
this.iconleft = undefined;
|
|
44
|
-
this.iconleftcolor = 'grey';
|
|
45
|
-
this.iconright = undefined;
|
|
46
|
-
this.iconrightcolor = 'grey';
|
|
47
|
-
this.inputicon = undefined;
|
|
48
|
-
this.inputiconcolor = 'grey';
|
|
49
|
-
this.inline = undefined;
|
|
50
|
-
this.inputautocapitalize = undefined;
|
|
51
|
-
this.inputautofocus = undefined;
|
|
52
|
-
this.inputkeyhint = undefined;
|
|
53
|
-
this.inputindex = undefined;
|
|
54
|
-
this.inputtitle = undefined;
|
|
55
|
-
this.autocomplete = undefined;
|
|
56
|
-
this.checked = undefined;
|
|
57
|
-
this.disabled = undefined;
|
|
58
|
-
this.max = undefined;
|
|
59
|
-
this.maxlength = undefined;
|
|
60
|
-
this.min = undefined;
|
|
61
|
-
this.minlength = undefined;
|
|
62
|
-
this.name = undefined;
|
|
63
|
-
this.pattern = undefined;
|
|
64
|
-
this.placeholder = undefined;
|
|
65
|
-
this.readonly = undefined;
|
|
66
|
-
this.required = undefined;
|
|
67
|
-
this.step = undefined;
|
|
68
|
-
this.type = 'text';
|
|
69
|
-
this.value = undefined;
|
|
70
|
-
}
|
|
71
|
-
handleChange(event) {
|
|
72
|
-
const target = event.target;
|
|
73
|
-
this.value = target.value;
|
|
74
|
-
this.valueChanged.emit(target.value);
|
|
75
|
-
}
|
|
76
|
-
handleFocus(event) {
|
|
77
|
-
const target = event.target;
|
|
78
|
-
this.focusChanged.emit(target.value);
|
|
79
|
-
}
|
|
80
|
-
handleBlur(event) {
|
|
81
|
-
const target = event.target;
|
|
82
|
-
this.blurChanged.emit(target.value);
|
|
83
|
-
}
|
|
84
|
-
handleInvalid(event) {
|
|
85
|
-
event.preventDefault();
|
|
86
|
-
const target = event.target;
|
|
87
|
-
this.invalidChanged.emit(target.value);
|
|
88
|
-
}
|
|
89
|
-
handleInputIconClick(event) {
|
|
90
|
-
event.preventDefault();
|
|
91
|
-
this.inputIconClick.emit();
|
|
92
|
-
}
|
|
93
|
-
handleLeftIconClick(event) {
|
|
94
|
-
event.preventDefault();
|
|
95
|
-
this.leftIconClick.emit();
|
|
96
|
-
}
|
|
97
|
-
handleRightIconClick(event) {
|
|
98
|
-
event.preventDefault();
|
|
99
|
-
this.rightIconClick.emit();
|
|
100
|
-
}
|
|
101
|
-
render() {
|
|
102
|
-
const classNames = [
|
|
103
|
-
this.showerrormsg ? 'invalid' : '',
|
|
104
|
-
this.inputicon ? 'has-input-icon' : '',
|
|
105
|
-
this.iconleft ? 'has-left-icon' : '',
|
|
106
|
-
this.iconright ? 'has-right-icon' : '',
|
|
107
|
-
].join(' ');
|
|
108
|
-
return (index.h(index.Host, null, index.h("label", null, this.label, !this.required ? index.h("span", { class: "optional" }, "\u00A0(optional)") : '', index.h("div", { class: ['outer-container', this.inline ? 'inputInline' : 'inputBlock'].join(' ') }, index.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) && (index.h("span", { class: "left-icons" }, this.inputicon && (index.h("tttx-icon_1_9_22", { class: "input-icon", icon: this.inputicon, color: this.inputiconcolor, onClick: this.handleInputIconClick.bind(this) })), this.iconleft && (index.h("tttx-icon_1_9_22", { class: "left-icon", icon: this.iconleft, color: this.iconleftcolor, onClick: this.handleLeftIconClick.bind(this) })))), this.iconright && (index.h("span", { class: "right-icons" }, index.h("tttx-icon_1_9_22", { class: "right-icon", icon: this.iconright, color: this.iconrightcolor, onClick: this.handleRightIconClick.bind(this) })))), this.secondarylabel && index.h("span", { class: "secondarylabel" }, this.secondarylabel), this.showerrorbubble && (index.h("span", { class: ['errorBubble', this.showerrormsg && this.errormsg ? 'visible' : ''].join(' ') }, index.h("span", { class: "material-symbols-rounded" }, "warning"), " ", this.errormsg)))));
|
|
109
|
-
}
|
|
110
|
-
};
|
|
111
|
-
TttxInput.style = tttxStandaloneInputCss;
|
|
112
|
-
|
|
113
|
-
exports.tttx_loading_spinner_1_9_22 = TttxLoadingSpinner;
|
|
114
|
-
exports.tttx_standalone_input_1_9_22 = TttxInput;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
const index = require('./index-fdc30724.js');
|
|
6
|
-
|
|
7
|
-
const tttxTagCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}button{cursor:pointer}.button{font-family:Roboto, serif;box-sizing:border-box;height:36px;min-width:36px;padding:0;margin:0;background:transparent;color:#212121;border:1px solid #c8c8c8;border-radius:4px;text-transform:uppercase;display:flex;justify-content:left;align-items:center;font-size:14px;font-weight:500}.button-content{display:block;padding:0 16px}.icon-left,.icon-right{margin-top:4px}.iconleft{padding-left:8px}.iconleft .button-content{padding-left:4px}.iconright{padding-right:8px}.iconright .button-content{padding-right:4px}.notext{padding:0 6px}.button:active{background:rgba(17, 17, 17, 0.2);border:1px solid #d5d5d5}.primary{background:#1479c6;border:1px solid #1479c6;color:white}.primary:active{background:#1464a2;border:1px solid #1464a2}.borderless{background:transparent;border:none;color:#212121}.borderless:active{background:rgba(17, 17, 17, 0.2);border:none}.borderless-circle{background:transparent;border:none;color:#212121;border-radius:50%}.borderless-circle:active{border:none}.borderless-circle:focus{border-color:transparent}.danger{background:#dc0000;border:1px solid #dc0000;color:white}.danger:active{background:#b00000;border:1px solid #b00000}.disabled{background:#aeaeae;border:none;color:#4c4c4c;cursor:not-allowed}.disabled:active{background:#aeaeae;border:none;color:#4c4c4c;cursor:not-allowed}@media (hover: hover){.button:hover{background:rgba(17, 17, 17, 0.1);border:1px solid #d5d5d5}.primary:hover{background:#146eb3;border:1px solid #146eb3}.borderless:hover{background:rgba(17, 17, 17, 0.1);border:none}.borderless-circle:hover{background:rgba(17, 17, 17, 0.1);border:none}.danger:hover{background:#c60000;border:1px solid #c60000}.disabled:hover{background:#aeaeae;border:none;color:#4c4c4c;cursor:not-allowed}}:host{display:inline-block}.tag{display:inline-flex;align-items:center;border-radius:20px;padding:4px;font-family:\"Roboto\", sans-serif;font-size:14px;font-weight:400;width:max-content}.tag_icon{padding-top:4px}.tag span{margin-left:4px;margin-right:4px}.icon{height:18px;width:18px;font-weight:400}";
|
|
8
|
-
|
|
9
|
-
const TttxTag = class {
|
|
10
|
-
constructor(hostRef) {
|
|
11
|
-
index.registerInstance(this, hostRef);
|
|
12
|
-
this.text = undefined;
|
|
13
|
-
this.color = '#d5d5d5';
|
|
14
|
-
this.textColor = '#212121';
|
|
15
|
-
this.hasIcon = false;
|
|
16
|
-
this.icon = 'check_circle';
|
|
17
|
-
this.iconColor = '#397A4C';
|
|
18
|
-
this.iconSize = 24;
|
|
19
|
-
}
|
|
20
|
-
render() {
|
|
21
|
-
return (index.h(index.Host, null, index.h("div", { class: "tag", style: { 'background-color': this.color, color: this.textColor } }, this.hasIcon &&
|
|
22
|
-
index.h("tttx-icon_1_9_22", { role: "icon", class: "tag_icon", "aria-label": this.text, icon: this.icon, color: this.iconColor, size: this.iconSize }), index.h("span", null, this.text))));
|
|
23
|
-
}
|
|
24
|
-
};
|
|
25
|
-
TttxTag.style = tttxTagCss;
|
|
26
|
-
|
|
27
|
-
exports.tttx_tag_1_9_22 = TttxTag;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Components, JSX } from "../types/components";
|
|
2
|
-
|
|
3
|
-
interface TttxCheckboxGroupCaption_1_9_22 extends Components.TttxCheckboxGroupCaption_1_9_22, HTMLElement {}
|
|
4
|
-
export const TttxCheckboxGroupCaption_1_9_22: {
|
|
5
|
-
prototype: TttxCheckboxGroupCaption_1_9_22;
|
|
6
|
-
new (): TttxCheckboxGroupCaption_1_9_22;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Used to define this component and all nested components recursively.
|
|
10
|
-
*/
|
|
11
|
-
export const defineCustomElement: () => void;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Components, JSX } from "../types/components";
|
|
2
|
-
|
|
3
|
-
interface TttxCheckboxGroupHeading_1_9_22 extends Components.TttxCheckboxGroupHeading_1_9_22, HTMLElement {}
|
|
4
|
-
export const TttxCheckboxGroupHeading_1_9_22: {
|
|
5
|
-
prototype: TttxCheckboxGroupHeading_1_9_22;
|
|
6
|
-
new (): TttxCheckboxGroupHeading_1_9_22;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Used to define this component and all nested components recursively.
|
|
10
|
-
*/
|
|
11
|
-
export const defineCustomElement: () => void;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Components, JSX } from "../types/components";
|
|
2
|
-
|
|
3
|
-
interface TttxCheckboxGroup_1_9_22 extends Components.TttxCheckboxGroup_1_9_22, HTMLElement {}
|
|
4
|
-
export const TttxCheckboxGroup_1_9_22: {
|
|
5
|
-
prototype: TttxCheckboxGroup_1_9_22;
|
|
6
|
-
new (): TttxCheckboxGroup_1_9_22;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Used to define this component and all nested components recursively.
|
|
10
|
-
*/
|
|
11
|
-
export const defineCustomElement: () => void;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Components, JSX } from "../types/components";
|
|
2
|
-
|
|
3
|
-
interface TttxDataPattern_1_9_22 extends Components.TttxDataPattern_1_9_22, HTMLElement {}
|
|
4
|
-
export const TttxDataPattern_1_9_22: {
|
|
5
|
-
prototype: TttxDataPattern_1_9_22;
|
|
6
|
-
new (): TttxDataPattern_1_9_22;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Used to define this component and all nested components recursively.
|
|
10
|
-
*/
|
|
11
|
-
export const defineCustomElement: () => void;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Components, JSX } from "../types/components";
|
|
2
|
-
|
|
3
|
-
interface TttxDialogBox_1_9_22 extends Components.TttxDialogBox_1_9_22, HTMLElement {}
|
|
4
|
-
export const TttxDialogBox_1_9_22: {
|
|
5
|
-
prototype: TttxDialogBox_1_9_22;
|
|
6
|
-
new (): TttxDialogBox_1_9_22;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Used to define this component and all nested components recursively.
|
|
10
|
-
*/
|
|
11
|
-
export const defineCustomElement: () => void;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Components, JSX } from "../types/components";
|
|
2
|
-
|
|
3
|
-
interface TttxExpander_1_9_22 extends Components.TttxExpander_1_9_22, HTMLElement {}
|
|
4
|
-
export const TttxExpander_1_9_22: {
|
|
5
|
-
prototype: TttxExpander_1_9_22;
|
|
6
|
-
new (): TttxExpander_1_9_22;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Used to define this component and all nested components recursively.
|
|
10
|
-
*/
|
|
11
|
-
export const defineCustomElement: () => void;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Components, JSX } from "../types/components";
|
|
2
|
-
|
|
3
|
-
interface TttxKeyvalueBlock_1_9_22 extends Components.TttxKeyvalueBlock_1_9_22, HTMLElement {}
|
|
4
|
-
export const TttxKeyvalueBlock_1_9_22: {
|
|
5
|
-
prototype: TttxKeyvalueBlock_1_9_22;
|
|
6
|
-
new (): TttxKeyvalueBlock_1_9_22;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Used to define this component and all nested components recursively.
|
|
10
|
-
*/
|
|
11
|
-
export const defineCustomElement: () => void;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Components, JSX } from "../types/components";
|
|
2
|
-
|
|
3
|
-
interface TttxLoadingSpinner_1_9_22 extends Components.TttxLoadingSpinner_1_9_22, HTMLElement {}
|
|
4
|
-
export const TttxLoadingSpinner_1_9_22: {
|
|
5
|
-
prototype: TttxLoadingSpinner_1_9_22;
|
|
6
|
-
new (): TttxLoadingSpinner_1_9_22;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Used to define this component and all nested components recursively.
|
|
10
|
-
*/
|
|
11
|
-
export const defineCustomElement: () => void;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Components, JSX } from "../types/components";
|
|
2
|
-
|
|
3
|
-
interface TttxMultiselectBox_1_9_22 extends Components.TttxMultiselectBox_1_9_22, HTMLElement {}
|
|
4
|
-
export const TttxMultiselectBox_1_9_22: {
|
|
5
|
-
prototype: TttxMultiselectBox_1_9_22;
|
|
6
|
-
new (): TttxMultiselectBox_1_9_22;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Used to define this component and all nested components recursively.
|
|
10
|
-
*/
|
|
11
|
-
export const defineCustomElement: () => void;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Components, JSX } from "../types/components";
|
|
2
|
-
|
|
3
|
-
interface TttxPercentageBar_1_9_22 extends Components.TttxPercentageBar_1_9_22, HTMLElement {}
|
|
4
|
-
export const TttxPercentageBar_1_9_22: {
|
|
5
|
-
prototype: TttxPercentageBar_1_9_22;
|
|
6
|
-
new (): TttxPercentageBar_1_9_22;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Used to define this component and all nested components recursively.
|
|
10
|
-
*/
|
|
11
|
-
export const defineCustomElement: () => void;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Components, JSX } from "../types/components";
|
|
2
|
-
|
|
3
|
-
interface TttxSelectBox_1_9_22 extends Components.TttxSelectBox_1_9_22, HTMLElement {}
|
|
4
|
-
export const TttxSelectBox_1_9_22: {
|
|
5
|
-
prototype: TttxSelectBox_1_9_22;
|
|
6
|
-
new (): TttxSelectBox_1_9_22;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Used to define this component and all nested components recursively.
|
|
10
|
-
*/
|
|
11
|
-
export const defineCustomElement: () => void;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Components, JSX } from "../types/components";
|
|
2
|
-
|
|
3
|
-
interface TttxSorter_1_9_22 extends Components.TttxSorter_1_9_22, HTMLElement {}
|
|
4
|
-
export const TttxSorter_1_9_22: {
|
|
5
|
-
prototype: TttxSorter_1_9_22;
|
|
6
|
-
new (): TttxSorter_1_9_22;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Used to define this component and all nested components recursively.
|
|
10
|
-
*/
|
|
11
|
-
export const defineCustomElement: () => void;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Components, JSX } from "../types/components";
|
|
2
|
-
|
|
3
|
-
interface TttxStandaloneInput_1_9_22 extends Components.TttxStandaloneInput_1_9_22, HTMLElement {}
|
|
4
|
-
export const TttxStandaloneInput_1_9_22: {
|
|
5
|
-
prototype: TttxStandaloneInput_1_9_22;
|
|
6
|
-
new (): TttxStandaloneInput_1_9_22;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Used to define this component and all nested components recursively.
|
|
10
|
-
*/
|
|
11
|
-
export const defineCustomElement: () => void;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Components, JSX } from "../types/components";
|
|
2
|
-
|
|
3
|
-
interface TttxTextarea_1_9_22 extends Components.TttxTextarea_1_9_22, HTMLElement {}
|
|
4
|
-
export const TttxTextarea_1_9_22: {
|
|
5
|
-
prototype: TttxTextarea_1_9_22;
|
|
6
|
-
new (): TttxTextarea_1_9_22;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Used to define this component and all nested components recursively.
|
|
10
|
-
*/
|
|
11
|
-
export const defineCustomElement: () => void;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Components, JSX } from "../types/components";
|
|
2
|
-
|
|
3
|
-
interface TttxToggle_1_9_22 extends Components.TttxToggle_1_9_22, HTMLElement {}
|
|
4
|
-
export const TttxToggle_1_9_22: {
|
|
5
|
-
prototype: TttxToggle_1_9_22;
|
|
6
|
-
new (): TttxToggle_1_9_22;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Used to define this component and all nested components recursively.
|
|
10
|
-
*/
|
|
11
|
-
export const defineCustomElement: () => void;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Components, JSX } from "../types/components";
|
|
2
|
-
|
|
3
|
-
interface TttxToolbar_1_9_22 extends Components.TttxToolbar_1_9_22, HTMLElement {}
|
|
4
|
-
export const TttxToolbar_1_9_22: {
|
|
5
|
-
prototype: TttxToolbar_1_9_22;
|
|
6
|
-
new (): TttxToolbar_1_9_22;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Used to define this component and all nested components recursively.
|
|
10
|
-
*/
|
|
11
|
-
export const defineCustomElement: () => void;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Components, JSX } from "../types/components";
|
|
2
|
-
|
|
3
|
-
interface TttxTreeView_1_9_22 extends Components.TttxTreeView_1_9_22, HTMLElement {}
|
|
4
|
-
export const TttxTreeView_1_9_22: {
|
|
5
|
-
prototype: TttxTreeView_1_9_22;
|
|
6
|
-
new (): TttxTreeView_1_9_22;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Used to define this component and all nested components recursively.
|
|
10
|
-
*/
|
|
11
|
-
export const defineCustomElement: () => void;
|
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h, c as createEvent, H as Host } from './index-88bd2f60.js';
|
|
2
|
-
|
|
3
|
-
const tttxLoadingSpinnerCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.loading-box{display:flex;align-items:center;justify-content:center}.loading-text{font-size:16px;font-weight:400;padding-top:10px;text-align:center}.spinner{border:solid #1479c6;border-bottom-color:#d5d5d5;border-radius:50%;position:relative;box-sizing:border-box;animation:rotation 1s linear infinite}.spinner.small{height:20px;width:20px;border-width:4px}.spinner.large{height:60px;width:60px;border-width:8px}@keyframes rotation{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}";
|
|
4
|
-
|
|
5
|
-
const TttxLoadingSpinner = class {
|
|
6
|
-
constructor(hostRef) {
|
|
7
|
-
registerInstance(this, hostRef);
|
|
8
|
-
this.loadingMessage = undefined;
|
|
9
|
-
this.size = 'large';
|
|
10
|
-
}
|
|
11
|
-
renderLoadingMessage() {
|
|
12
|
-
if (!this.loadingMessage)
|
|
13
|
-
return '';
|
|
14
|
-
return h("div", { class: "loading-text" }, "Loading, please wait...");
|
|
15
|
-
}
|
|
16
|
-
render() {
|
|
17
|
-
return (h("div", null, h("div", { class: "loading-box" }, h("span", { class: `spinner ${this.size}` })), this.renderLoadingMessage()));
|
|
18
|
-
}
|
|
19
|
-
};
|
|
20
|
-
TttxLoadingSpinner.style = tttxLoadingSpinnerCss;
|
|
21
|
-
|
|
22
|
-
const tttxStandaloneInputCss = ".material-symbols-rounded.sc-tttx-standalone-input_1_9_22{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.material-symbols-rounded.sc-tttx-standalone-input_1_9_22{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}label.sc-tttx-standalone-input_1_9_22{font-weight:500;font-size:16px;line-height:18.752px;color:#212121}label.sc-tttx-standalone-input_1_9_22 .optional.sc-tttx-standalone-input_1_9_22{color:#757575;font-weight:normal}label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22{position:relative}label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 .left-icons.sc-tttx-standalone-input_1_9_22,label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 .right-icons.sc-tttx-standalone-input_1_9_22{display:flex;position:absolute;height:24px;gap:8px}label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 .left-icons.sc-tttx-standalone-input_1_9_22 tttx-icon.sc-tttx-standalone-input_1_9_22,label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 .right-icons.sc-tttx-standalone-input_1_9_22 tttx-icon.sc-tttx-standalone-input_1_9_22{height:24px;width:24px}label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 .left-icons.sc-tttx-standalone-input_1_9_22{left:8px}label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 .right-icons.sc-tttx-standalone-input_1_9_22{right:8px}label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 input.sc-tttx-standalone-input_1_9_22,label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 textarea.sc-tttx-standalone-input_1_9_22{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_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 input.has-input-icon.sc-tttx-standalone-input_1_9_22,label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 textarea.has-input-icon.sc-tttx-standalone-input_1_9_22{padding-left:40px}label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 input.has-input-icon.has-left-icon.sc-tttx-standalone-input_1_9_22,label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 textarea.has-input-icon.has-left-icon.sc-tttx-standalone-input_1_9_22{padding-left:72px}label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 input.has-left-icon.sc-tttx-standalone-input_1_9_22,label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 textarea.has-left-icon.sc-tttx-standalone-input_1_9_22{padding-left:40px}label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 input.has-right-icon.sc-tttx-standalone-input_1_9_22,label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 textarea.has-right-icon.sc-tttx-standalone-input_1_9_22{padding-right:40px}label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 input.invalid.sc-tttx-standalone-input_1_9_22,label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 textarea.invalid.sc-tttx-standalone-input_1_9_22{border:1px solid #dc0000}label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 input.sc-tttx-standalone-input_1_9_22:not([type=submit]),label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 textarea.sc-tttx-standalone-input_1_9_22:not([type=submit]){font-family:\"Roboto\", serif;width:100%;height:36px;font-size:16px;line-height:18.752px}label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 input[type=radio].sc-tttx-standalone-input_1_9_22,label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 textarea[type=radio].sc-tttx-standalone-input_1_9_22{width:20px;height:20px}label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 input[type=date].sc-tttx-standalone-input_1_9_22,label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 textarea[type=date].sc-tttx-standalone-input_1_9_22{background:white;display:block;min-width:calc(100% - 18px);line-height:37px}label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 input[readonly].sc-tttx-standalone-input_1_9_22,label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 textarea[readonly].sc-tttx-standalone-input_1_9_22{cursor:default;pointer-events:none;user-select:none;color:gray}label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 input.sc-tttx-standalone-input_1_9_22:focus,label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 textarea.sc-tttx-standalone-input_1_9_22:focus{border-color:#1479c6}label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 input.sc-tttx-standalone-input_1_9_22:focus-visible,label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 textarea.sc-tttx-standalone-input_1_9_22:focus-visible{outline:none}label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 textarea.sc-tttx-standalone-input_1_9_22{padding:8px;height:auto;min-height:100px;resize:vertical}label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 textarea.resize-none.sc-tttx-standalone-input_1_9_22{resize:none}label.sc-tttx-standalone-input_1_9_22 .outer-container.inputBlock.sc-tttx-standalone-input_1_9_22{display:flex;align-items:center;line-height:21px}label.sc-tttx-standalone-input_1_9_22 .outer-container.inputBlock.sc-tttx-standalone-input_1_9_22 .left-icons.sc-tttx-standalone-input_1_9_22,label.sc-tttx-standalone-input_1_9_22 .outer-container.inputBlock.sc-tttx-standalone-input_1_9_22 .right-icons.sc-tttx-standalone-input_1_9_22{margin-top:4px}label.sc-tttx-standalone-input_1_9_22 .outer-container.inputBlock.readonly.sc-tttx-standalone-input_1_9_22{pointer-events:none;user-select:none;color:gray}label.sc-tttx-standalone-input_1_9_22 .outer-container.inputBlock.radioBlock.sc-tttx-standalone-input_1_9_22{display:block}label.sc-tttx-standalone-input_1_9_22 .outer-container.inputInline.sc-tttx-standalone-input_1_9_22{display:flex;white-space:nowrap;align-items:center;margin:0}label.sc-tttx-standalone-input_1_9_22 .outer-container.inputInline.sc-tttx-standalone-input_1_9_22 input.sc-tttx-standalone-input_1_9_22{margin-top:0}label.sc-tttx-standalone-input_1_9_22 .secondarylabel.sc-tttx-standalone-input_1_9_22{color:#757575;font-size:14px;line-height:16.408px;font-weight:normal;display:flex;margin-top:4px}label.sc-tttx-standalone-input_1_9_22 .errorBubble.sc-tttx-standalone-input_1_9_22{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_9_22 .errorBubble.sc-tttx-standalone-input_1_9_22:not(.visible){display:none}label.sc-tttx-standalone-input_1_9_22 .errorBubble.sc-tttx-standalone-input_1_9_22 span.sc-tttx-standalone-input_1_9_22{color:#dc0000;font-size:16px;margin-right:4px}.material-symbols-rounded.sc-tttx-standalone-input_1_9_22{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_9_22-h{display:block}";
|
|
23
|
-
|
|
24
|
-
const TttxInput = class {
|
|
25
|
-
constructor(hostRef) {
|
|
26
|
-
registerInstance(this, hostRef);
|
|
27
|
-
this.valueChanged = createEvent(this, "valueChanged", 7);
|
|
28
|
-
this.focusChanged = createEvent(this, "focusChanged", 7);
|
|
29
|
-
this.blurChanged = createEvent(this, "blurChanged", 7);
|
|
30
|
-
this.invalidChanged = createEvent(this, "invalidChanged", 7);
|
|
31
|
-
this.inputIconClick = createEvent(this, "inputIconClick", 7);
|
|
32
|
-
this.leftIconClick = createEvent(this, "leftIconClick", 7);
|
|
33
|
-
this.rightIconClick = createEvent(this, "rightIconClick", 7);
|
|
34
|
-
this.label = undefined;
|
|
35
|
-
this.secondarylabel = undefined;
|
|
36
|
-
this.showerrormsg = undefined;
|
|
37
|
-
this.showerrorbubble = true;
|
|
38
|
-
this.errormsg = undefined;
|
|
39
|
-
this.iconleft = undefined;
|
|
40
|
-
this.iconleftcolor = 'grey';
|
|
41
|
-
this.iconright = undefined;
|
|
42
|
-
this.iconrightcolor = 'grey';
|
|
43
|
-
this.inputicon = undefined;
|
|
44
|
-
this.inputiconcolor = 'grey';
|
|
45
|
-
this.inline = undefined;
|
|
46
|
-
this.inputautocapitalize = undefined;
|
|
47
|
-
this.inputautofocus = undefined;
|
|
48
|
-
this.inputkeyhint = undefined;
|
|
49
|
-
this.inputindex = undefined;
|
|
50
|
-
this.inputtitle = undefined;
|
|
51
|
-
this.autocomplete = undefined;
|
|
52
|
-
this.checked = undefined;
|
|
53
|
-
this.disabled = undefined;
|
|
54
|
-
this.max = undefined;
|
|
55
|
-
this.maxlength = undefined;
|
|
56
|
-
this.min = undefined;
|
|
57
|
-
this.minlength = undefined;
|
|
58
|
-
this.name = undefined;
|
|
59
|
-
this.pattern = undefined;
|
|
60
|
-
this.placeholder = undefined;
|
|
61
|
-
this.readonly = undefined;
|
|
62
|
-
this.required = undefined;
|
|
63
|
-
this.step = undefined;
|
|
64
|
-
this.type = 'text';
|
|
65
|
-
this.value = undefined;
|
|
66
|
-
}
|
|
67
|
-
handleChange(event) {
|
|
68
|
-
const target = event.target;
|
|
69
|
-
this.value = target.value;
|
|
70
|
-
this.valueChanged.emit(target.value);
|
|
71
|
-
}
|
|
72
|
-
handleFocus(event) {
|
|
73
|
-
const target = event.target;
|
|
74
|
-
this.focusChanged.emit(target.value);
|
|
75
|
-
}
|
|
76
|
-
handleBlur(event) {
|
|
77
|
-
const target = event.target;
|
|
78
|
-
this.blurChanged.emit(target.value);
|
|
79
|
-
}
|
|
80
|
-
handleInvalid(event) {
|
|
81
|
-
event.preventDefault();
|
|
82
|
-
const target = event.target;
|
|
83
|
-
this.invalidChanged.emit(target.value);
|
|
84
|
-
}
|
|
85
|
-
handleInputIconClick(event) {
|
|
86
|
-
event.preventDefault();
|
|
87
|
-
this.inputIconClick.emit();
|
|
88
|
-
}
|
|
89
|
-
handleLeftIconClick(event) {
|
|
90
|
-
event.preventDefault();
|
|
91
|
-
this.leftIconClick.emit();
|
|
92
|
-
}
|
|
93
|
-
handleRightIconClick(event) {
|
|
94
|
-
event.preventDefault();
|
|
95
|
-
this.rightIconClick.emit();
|
|
96
|
-
}
|
|
97
|
-
render() {
|
|
98
|
-
const classNames = [
|
|
99
|
-
this.showerrormsg ? 'invalid' : '',
|
|
100
|
-
this.inputicon ? 'has-input-icon' : '',
|
|
101
|
-
this.iconleft ? 'has-left-icon' : '',
|
|
102
|
-
this.iconright ? 'has-right-icon' : '',
|
|
103
|
-
].join(' ');
|
|
104
|
-
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_9_22", { class: "input-icon", icon: this.inputicon, color: this.inputiconcolor, onClick: this.handleInputIconClick.bind(this) })), this.iconleft && (h("tttx-icon_1_9_22", { 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_9_22", { 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)))));
|
|
105
|
-
}
|
|
106
|
-
};
|
|
107
|
-
TttxInput.style = tttxStandaloneInputCss;
|
|
108
|
-
|
|
109
|
-
export { TttxLoadingSpinner as tttx_loading_spinner_1_9_22, TttxInput as tttx_standalone_input_1_9_22 };
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-88bd2f60.js';
|
|
2
|
-
|
|
3
|
-
const tttxTagCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}button{cursor:pointer}.button{font-family:Roboto, serif;box-sizing:border-box;height:36px;min-width:36px;padding:0;margin:0;background:transparent;color:#212121;border:1px solid #c8c8c8;border-radius:4px;text-transform:uppercase;display:flex;justify-content:left;align-items:center;font-size:14px;font-weight:500}.button-content{display:block;padding:0 16px}.icon-left,.icon-right{margin-top:4px}.iconleft{padding-left:8px}.iconleft .button-content{padding-left:4px}.iconright{padding-right:8px}.iconright .button-content{padding-right:4px}.notext{padding:0 6px}.button:active{background:rgba(17, 17, 17, 0.2);border:1px solid #d5d5d5}.primary{background:#1479c6;border:1px solid #1479c6;color:white}.primary:active{background:#1464a2;border:1px solid #1464a2}.borderless{background:transparent;border:none;color:#212121}.borderless:active{background:rgba(17, 17, 17, 0.2);border:none}.borderless-circle{background:transparent;border:none;color:#212121;border-radius:50%}.borderless-circle:active{border:none}.borderless-circle:focus{border-color:transparent}.danger{background:#dc0000;border:1px solid #dc0000;color:white}.danger:active{background:#b00000;border:1px solid #b00000}.disabled{background:#aeaeae;border:none;color:#4c4c4c;cursor:not-allowed}.disabled:active{background:#aeaeae;border:none;color:#4c4c4c;cursor:not-allowed}@media (hover: hover){.button:hover{background:rgba(17, 17, 17, 0.1);border:1px solid #d5d5d5}.primary:hover{background:#146eb3;border:1px solid #146eb3}.borderless:hover{background:rgba(17, 17, 17, 0.1);border:none}.borderless-circle:hover{background:rgba(17, 17, 17, 0.1);border:none}.danger:hover{background:#c60000;border:1px solid #c60000}.disabled:hover{background:#aeaeae;border:none;color:#4c4c4c;cursor:not-allowed}}:host{display:inline-block}.tag{display:inline-flex;align-items:center;border-radius:20px;padding:4px;font-family:\"Roboto\", sans-serif;font-size:14px;font-weight:400;width:max-content}.tag_icon{padding-top:4px}.tag span{margin-left:4px;margin-right:4px}.icon{height:18px;width:18px;font-weight:400}";
|
|
4
|
-
|
|
5
|
-
const TttxTag = class {
|
|
6
|
-
constructor(hostRef) {
|
|
7
|
-
registerInstance(this, hostRef);
|
|
8
|
-
this.text = undefined;
|
|
9
|
-
this.color = '#d5d5d5';
|
|
10
|
-
this.textColor = '#212121';
|
|
11
|
-
this.hasIcon = false;
|
|
12
|
-
this.icon = 'check_circle';
|
|
13
|
-
this.iconColor = '#397A4C';
|
|
14
|
-
this.iconSize = 24;
|
|
15
|
-
}
|
|
16
|
-
render() {
|
|
17
|
-
return (h(Host, null, h("div", { class: "tag", style: { 'background-color': this.color, color: this.textColor } }, this.hasIcon &&
|
|
18
|
-
h("tttx-icon_1_9_22", { role: "icon", class: "tag_icon", "aria-label": this.text, icon: this.icon, color: this.iconColor, size: this.iconSize }), h("span", null, this.text))));
|
|
19
|
-
}
|
|
20
|
-
};
|
|
21
|
-
TttxTag.style = tttxTagCss;
|
|
22
|
-
|
|
23
|
-
export { TttxTag as tttx_tag_1_9_22 };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as o,c as t,h as i,H as e,g as s}from"./p-d490353a.js";import{p as n,d}from"./p-55799798.js";import"./p-112455b1.js";const l=class{constructor(i){o(this,i),this.selectItemEvent=t(this,"selectItemEvent",7),this.toggleOpen=t(this,"toggleOpen",7),this.changesApplied=t(this,"changesApplied",7),this.searchDataChanged=t(this,"searchDataChanged",7),this.bodyOffset={},this.optionsData=null,this.label=void 0,this.inline=void 0,this.placeholder="",this.searchEnabled=void 0,this.htmlVisibleValue=void 0,this.visibleValue=void 0,this.isLoading=void 0,this.stopLocalSearch=void 0,this.readOnly=void 0,this.open=!1,this.unsavedSelectedItems=[],this.searchTerm=""}handleCloseSelectBox(){this.open=!1}handleBlur(){this.open=!1,this.toggleOpen.emit(!1)}handleOptionsDataChange(){this.initializeUnsavedSelectedItems()}componentWillLoad(){this.initializeUnsavedSelectedItems()}initializeUnsavedSelectedItems(){this.unsavedSelectedItems=this.safelyCloneArray("string"==typeof this.optionsData?JSON.parse(this.optionsData):this.optionsData),this.open&&this.calculateDropdownMenuOffset()}safelyCloneArray(o){return JSON.parse(JSON.stringify(o))}onDropdownClicked(){this.readOnly||(this.open=!this.open,this.searchTerm="",this.calculateDropdownMenuOffset(),this.toggleOpen.emit(this.open))}onCancel(){this.open=!1,this.unsavedSelectedItems=this.safelyCloneArray("string"==typeof this.optionsData?JSON.parse(this.optionsData):this.optionsData),this.toggleOpen.emit(!1)}applyChanges(){this.open=!1,this.changesApplied.emit(this.safelyCloneArray(this.unsavedSelectedItems))}onItemSelected(o){const t=this.unsavedSelectedItems.findIndex((t=>t.value===o.value));this.unsavedSelectedItems[t]=Object.assign(Object.assign({},o),{selected:!o.selected}),this.unsavedSelectedItems=[...this.unsavedSelectedItems],this.selectItemEvent.emit(o)}dropdownSelectorContent(){if(!this.unsavedSelectedItems.find((o=>o.selected)))return i("div",{class:"placeholder"},this.placeholder);if(this.htmlVisibleValue){const o=n.sanitize(this.visibleValue,d);return i("div",{class:"dropdown-selector-html-content",innerHTML:o})}return i("div",null,this.visibleValue)}optionFoundInSearchTerm(o){if(this.stopLocalSearch)return!1;const t=o.label.toLowerCase(),i=this.searchTerm.toLowerCase();return!t.includes(i)}dropdownOption(o){const t=this.searchEnabled&&this.optionFoundInSearchTerm(o),e=o.selected?"check_box":"check_box_outline_blank",s=o.selected?"blue":"grey";if(o.html){const l=n.sanitize(o.html,d);return i("div",{class:`dropdown-option ${t?"hidden":""} ${o.selected?"selected":""}`,onClick:this.onItemSelected.bind(this,o),key:o.label},i("tttx-icon_1_9_22",{icon:e,color:s,class:"checkbox-icon"}),i("div",{innerHTML:l}))}return i("div",{class:`dropdown-option ${t?"hidden":""} ${o.selected?"selected":""}`,onClick:this.onItemSelected.bind(this,o),key:o.label},i("tttx-icon_1_9_22",{icon:e,color:s,class:"checkbox-icon"}),i("div",{class:"plaintext-option"},o.label))}handleSearchInput(o){const t=o.target;this.searchTerm=t.value,this.searchDataChanged.emit({searchTerm:t.value}),this.calculateDropdownMenuOffset()}calculateDropdownMenuOffset(){const o=this.el.shadowRoot.querySelector(".dropdown-selector"),t=o.getBoundingClientRect().bottom,i=o.getBoundingClientRect();let e=Math.min(288,36*this.unsavedSelectedItems.length)+45+8;this.searchEnabled&&(e+=52),this.bodyOffset=t+e>window.innerHeight?{top:window.innerHeight-(e+16)+"px",position:"fixed",width:`${o.offsetWidth}px`,zIndex:"10"}:{position:"fixed",left:i.left,top:i.top,width:i.width-2+"px",zIndex:"10"}}render(){if(!this.optionsData)return;const o=this.open?"expand_less":"expand_more",t=this.readOnly?"dropdown-read-only":"";return i(e,{class:this.inline?"inline":"block"},this.label&&i("div",{class:"label"},this.label),i("div",{tabindex:"0",class:"dropdown-container"},i("div",{class:["dropdown-selector",t].join(" "),onClick:this.onDropdownClicked.bind(this)},this.dropdownSelectorContent(),i("div",{class:"dropdown-selector-chevron"},i("tttx-icon_1_9_22",{icon:o,color:"black"}))),this.open&&i("div",{class:"dropdown-body-container"},i("div",{class:"dropdown-body",style:Object.assign({},this.bodyOffset)},this.searchEnabled&&i("div",{class:"searchbox"},i("tttx-standalone-input_1_9_22",{type:"text",placeholder:"Search",label:"",required:!0,showerrorbubble:!1,iconleft:"search",onInput:this.handleSearchInput.bind(this),inline:!0})),i("div",{class:"dropdown-options-list"},this.isLoading?i("tttx-loading-spinner_1_9_22",{class:"loading-style"}):this.unsavedSelectedItems.map((o=>this.dropdownOption(o)))),i("div",{class:"footer"},i("tttx-button_1_9_22",{design:"primary",onClick:this.applyChanges.bind(this)},"Apply"),i("tttx-button_1_9_22",{onClick:this.onCancel.bind(this)},"Cancel"))))))}get el(){return s(this)}static get watchers(){return{optionsData:["handleOptionsDataChange"]}}};l.style='.material-symbols-rounded{font-variation-settings:"FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24}:host{display:flex;gap:4px}.label{font-size:16px;font-style:normal;font-weight:500;line-height:normal}:host(.inline) .label{padding-top:8px}:host(.block){flex-direction:column}.dropdown-container{position:relative;display:flex;flex-direction:column;width:100%}.dropdown-container:focus-visible{outline:none}.dropdown-container:focus .dropdown-selector{border:1px solid #1479c6}.dropdown-selector,.dropdown-body{display:flex;border-radius:4px;background-color:white}.dropdown-selector{align-items:center;gap:8px;padding:6px 8px 6px 16px;cursor:pointer;border:1px solid #d5d5d5}.dropdown-selector *{font-weight:400}.dropdown-selector-chevron{margin-left:auto;height:24px;align-self:flex-start}.dropdown-selector-chevron>tttx-icon{cursor:pointer}.dropdown-selector-html-content{display:flex;gap:8px;flex-wrap:wrap}.dropdown-read-only{background-color:#BDBDBD !important}.dropdown-body-container{position:relative}.dropdown-body{position:absolute;display:flex;flex-direction:column;box-shadow:0px 1px 5px #1111114D;padding-bottom:8px;border:1px solid #d5d5d5;width:100%}.dropdown-options-list{display:flex;flex-direction:column;overflow-y:auto;scrollbar-gutter:stable;max-height:288px}.dropdown-option{padding:6px 8px 6px 16px;cursor:pointer;display:flex;gap:8px}.dropdown-option .checkbox-icon{height:24px}.dropdown-option .plaintext-option{line-height:24px}.dropdown-option:hover{background-color:#1111110d}.dropdown-option:active,.dropdown-option.selected{background-color:#ebfbfc}.placeholder{color:#9e9e9e}.searchbox{padding:8px 16px 8px 16px;height:52px;box-sizing:border-box}.searchbox tttx-standalone-input{margin-top:-4px}.hidden{display:none}.footer{display:flex;gap:8px;flex-direction:row-reverse;padding:8px 16px 0 16px;border-top:1px solid #d5d5d5}';export{l as tttx_multiselect_box_1_9_22}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as o,h as r,H as e}from"./p-d490353a.js";const t=class{constructor(r){o(this,r),this.text=void 0,this.color="#d5d5d5",this.textColor="#212121",this.hasIcon=!1,this.icon="check_circle",this.iconColor="#397A4C",this.iconSize=24}render(){return r(e,null,r("div",{class:"tag",style:{"background-color":this.color,color:this.textColor}},this.hasIcon&&r("tttx-icon_1_9_22",{role:"icon",class:"tag_icon","aria-label":this.text,icon:this.icon,color:this.iconColor,size:this.iconSize}),r("span",null,this.text)))}};t.style='.material-symbols-rounded{font-variation-settings:"FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24}button{cursor:pointer}.button{font-family:Roboto, serif;box-sizing:border-box;height:36px;min-width:36px;padding:0;margin:0;background:transparent;color:#212121;border:1px solid #c8c8c8;border-radius:4px;text-transform:uppercase;display:flex;justify-content:left;align-items:center;font-size:14px;font-weight:500}.button-content{display:block;padding:0 16px}.icon-left,.icon-right{margin-top:4px}.iconleft{padding-left:8px}.iconleft .button-content{padding-left:4px}.iconright{padding-right:8px}.iconright .button-content{padding-right:4px}.notext{padding:0 6px}.button:active{background:rgba(17, 17, 17, 0.2);border:1px solid #d5d5d5}.primary{background:#1479c6;border:1px solid #1479c6;color:white}.primary:active{background:#1464a2;border:1px solid #1464a2}.borderless{background:transparent;border:none;color:#212121}.borderless:active{background:rgba(17, 17, 17, 0.2);border:none}.borderless-circle{background:transparent;border:none;color:#212121;border-radius:50%}.borderless-circle:active{border:none}.borderless-circle:focus{border-color:transparent}.danger{background:#dc0000;border:1px solid #dc0000;color:white}.danger:active{background:#b00000;border:1px solid #b00000}.disabled{background:#aeaeae;border:none;color:#4c4c4c;cursor:not-allowed}.disabled:active{background:#aeaeae;border:none;color:#4c4c4c;cursor:not-allowed}@media (hover: hover){.button:hover{background:rgba(17, 17, 17, 0.1);border:1px solid #d5d5d5}.primary:hover{background:#146eb3;border:1px solid #146eb3}.borderless:hover{background:rgba(17, 17, 17, 0.1);border:none}.borderless-circle:hover{background:rgba(17, 17, 17, 0.1);border:none}.danger:hover{background:#c60000;border:1px solid #c60000}.disabled:hover{background:#aeaeae;border:none;color:#4c4c4c;cursor:not-allowed}}:host{display:inline-block}.tag{display:inline-flex;align-items:center;border-radius:20px;padding:4px;font-family:"Roboto", sans-serif;font-size:14px;font-weight:400;width:max-content}.tag_icon{padding-top:4px}.tag span{margin-left:4px;margin-right:4px}.icon{height:18px;width:18px;font-weight:400}';export{t as tttx_tag_1_9_22}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as n,c as o,H as a}from"./p-d490353a.js";const l=class{constructor(n){t(this,n),this.loadingMessage=void 0,this.size="large"}renderLoadingMessage(){return this.loadingMessage?n("div",{class:"loading-text"},"Loading, please wait..."):""}render(){return n("div",null,n("div",{class:"loading-box"},n("span",{class:`spinner ${this.size}`})),this.renderLoadingMessage())}};l.style='.material-symbols-rounded{font-variation-settings:"FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24}.loading-box{display:flex;align-items:center;justify-content:center}.loading-text{font-size:16px;font-weight:400;padding-top:10px;text-align:center}.spinner{border:solid #1479c6;border-bottom-color:#d5d5d5;border-radius:50%;position:relative;box-sizing:border-box;animation:rotation 1s linear infinite}.spinner.small{height:20px;width:20px;border-width:4px}.spinner.large{height:60px;width:60px;border-width:8px}@keyframes rotation{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}';const e=class{constructor(n){t(this,n),this.valueChanged=o(this,"valueChanged",7),this.focusChanged=o(this,"focusChanged",7),this.blurChanged=o(this,"blurChanged",7),this.invalidChanged=o(this,"invalidChanged",7),this.inputIconClick=o(this,"inputIconClick",7),this.leftIconClick=o(this,"leftIconClick",7),this.rightIconClick=o(this,"rightIconClick",7),this.label=void 0,this.secondarylabel=void 0,this.showerrormsg=void 0,this.showerrorbubble=!0,this.errormsg=void 0,this.iconleft=void 0,this.iconleftcolor="grey",this.iconright=void 0,this.iconrightcolor="grey",this.inputicon=void 0,this.inputiconcolor="grey",this.inline=void 0,this.inputautocapitalize=void 0,this.inputautofocus=void 0,this.inputkeyhint=void 0,this.inputindex=void 0,this.inputtitle=void 0,this.autocomplete=void 0,this.checked=void 0,this.disabled=void 0,this.max=void 0,this.maxlength=void 0,this.min=void 0,this.minlength=void 0,this.name=void 0,this.pattern=void 0,this.placeholder=void 0,this.readonly=void 0,this.required=void 0,this.step=void 0,this.type="text",this.value=void 0}handleChange(t){const n=t.target;this.value=n.value,this.valueChanged.emit(n.value)}handleFocus(t){this.focusChanged.emit(t.target.value)}handleBlur(t){this.blurChanged.emit(t.target.value)}handleInvalid(t){t.preventDefault(),this.invalidChanged.emit(t.target.value)}handleInputIconClick(t){t.preventDefault(),this.inputIconClick.emit()}handleLeftIconClick(t){t.preventDefault(),this.leftIconClick.emit()}handleRightIconClick(t){t.preventDefault(),this.rightIconClick.emit()}render(){const t=[this.showerrormsg?"invalid":"",this.inputicon?"has-input-icon":"",this.iconleft?"has-left-icon":"",this.iconright?"has-right-icon":""].join(" ");return n(a,null,n("label",null,this.label,this.required?"":n("span",{class:"optional"}," (optional)"),n("div",{class:["outer-container",this.inline?"inputInline":"inputBlock"].join(" ")},n("input",{class:t,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)&&n("span",{class:"left-icons"},this.inputicon&&n("tttx-icon_1_9_22",{class:"input-icon",icon:this.inputicon,color:this.inputiconcolor,onClick:this.handleInputIconClick.bind(this)}),this.iconleft&&n("tttx-icon_1_9_22",{class:"left-icon",icon:this.iconleft,color:this.iconleftcolor,onClick:this.handleLeftIconClick.bind(this)})),this.iconright&&n("span",{class:"right-icons"},n("tttx-icon_1_9_22",{class:"right-icon",icon:this.iconright,color:this.iconrightcolor,onClick:this.handleRightIconClick.bind(this)}))),this.secondarylabel&&n("span",{class:"secondarylabel"},this.secondarylabel),this.showerrorbubble&&n("span",{class:["errorBubble",this.showerrormsg&&this.errormsg?"visible":""].join(" ")},n("span",{class:"material-symbols-rounded"},"warning")," ",this.errormsg)))}};e.style='.material-symbols-rounded.sc-tttx-standalone-input_1_9_22{font-variation-settings:"FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24}.material-symbols-rounded.sc-tttx-standalone-input_1_9_22{font-variation-settings:"FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24}label.sc-tttx-standalone-input_1_9_22{font-weight:500;font-size:16px;line-height:18.752px;color:#212121}label.sc-tttx-standalone-input_1_9_22 .optional.sc-tttx-standalone-input_1_9_22{color:#757575;font-weight:normal}label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22{position:relative}label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 .left-icons.sc-tttx-standalone-input_1_9_22,label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 .right-icons.sc-tttx-standalone-input_1_9_22{display:flex;position:absolute;height:24px;gap:8px}label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 .left-icons.sc-tttx-standalone-input_1_9_22 tttx-icon.sc-tttx-standalone-input_1_9_22,label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 .right-icons.sc-tttx-standalone-input_1_9_22 tttx-icon.sc-tttx-standalone-input_1_9_22{height:24px;width:24px}label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 .left-icons.sc-tttx-standalone-input_1_9_22{left:8px}label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 .right-icons.sc-tttx-standalone-input_1_9_22{right:8px}label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 input.sc-tttx-standalone-input_1_9_22,label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 textarea.sc-tttx-standalone-input_1_9_22{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_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 input.has-input-icon.sc-tttx-standalone-input_1_9_22,label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 textarea.has-input-icon.sc-tttx-standalone-input_1_9_22{padding-left:40px}label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 input.has-input-icon.has-left-icon.sc-tttx-standalone-input_1_9_22,label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 textarea.has-input-icon.has-left-icon.sc-tttx-standalone-input_1_9_22{padding-left:72px}label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 input.has-left-icon.sc-tttx-standalone-input_1_9_22,label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 textarea.has-left-icon.sc-tttx-standalone-input_1_9_22{padding-left:40px}label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 input.has-right-icon.sc-tttx-standalone-input_1_9_22,label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 textarea.has-right-icon.sc-tttx-standalone-input_1_9_22{padding-right:40px}label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 input.invalid.sc-tttx-standalone-input_1_9_22,label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 textarea.invalid.sc-tttx-standalone-input_1_9_22{border:1px solid #dc0000}label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 input.sc-tttx-standalone-input_1_9_22:not([type=submit]),label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 textarea.sc-tttx-standalone-input_1_9_22:not([type=submit]){font-family:"Roboto", serif;width:100%;height:36px;font-size:16px;line-height:18.752px}label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 input[type=radio].sc-tttx-standalone-input_1_9_22,label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 textarea[type=radio].sc-tttx-standalone-input_1_9_22{width:20px;height:20px}label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 input[type=date].sc-tttx-standalone-input_1_9_22,label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 textarea[type=date].sc-tttx-standalone-input_1_9_22{background:white;display:block;min-width:calc(100% - 18px);line-height:37px}label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 input[readonly].sc-tttx-standalone-input_1_9_22,label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 textarea[readonly].sc-tttx-standalone-input_1_9_22{cursor:default;pointer-events:none;user-select:none;color:gray}label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 input.sc-tttx-standalone-input_1_9_22:focus,label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 textarea.sc-tttx-standalone-input_1_9_22:focus{border-color:#1479c6}label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 input.sc-tttx-standalone-input_1_9_22:focus-visible,label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 textarea.sc-tttx-standalone-input_1_9_22:focus-visible{outline:none}label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 textarea.sc-tttx-standalone-input_1_9_22{padding:8px;height:auto;min-height:100px;resize:vertical}label.sc-tttx-standalone-input_1_9_22 .outer-container.sc-tttx-standalone-input_1_9_22 textarea.resize-none.sc-tttx-standalone-input_1_9_22{resize:none}label.sc-tttx-standalone-input_1_9_22 .outer-container.inputBlock.sc-tttx-standalone-input_1_9_22{display:flex;align-items:center;line-height:21px}label.sc-tttx-standalone-input_1_9_22 .outer-container.inputBlock.sc-tttx-standalone-input_1_9_22 .left-icons.sc-tttx-standalone-input_1_9_22,label.sc-tttx-standalone-input_1_9_22 .outer-container.inputBlock.sc-tttx-standalone-input_1_9_22 .right-icons.sc-tttx-standalone-input_1_9_22{margin-top:4px}label.sc-tttx-standalone-input_1_9_22 .outer-container.inputBlock.readonly.sc-tttx-standalone-input_1_9_22{pointer-events:none;user-select:none;color:gray}label.sc-tttx-standalone-input_1_9_22 .outer-container.inputBlock.radioBlock.sc-tttx-standalone-input_1_9_22{display:block}label.sc-tttx-standalone-input_1_9_22 .outer-container.inputInline.sc-tttx-standalone-input_1_9_22{display:flex;white-space:nowrap;align-items:center;margin:0}label.sc-tttx-standalone-input_1_9_22 .outer-container.inputInline.sc-tttx-standalone-input_1_9_22 input.sc-tttx-standalone-input_1_9_22{margin-top:0}label.sc-tttx-standalone-input_1_9_22 .secondarylabel.sc-tttx-standalone-input_1_9_22{color:#757575;font-size:14px;line-height:16.408px;font-weight:normal;display:flex;margin-top:4px}label.sc-tttx-standalone-input_1_9_22 .errorBubble.sc-tttx-standalone-input_1_9_22{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_9_22 .errorBubble.sc-tttx-standalone-input_1_9_22:not(.visible){display:none}label.sc-tttx-standalone-input_1_9_22 .errorBubble.sc-tttx-standalone-input_1_9_22 span.sc-tttx-standalone-input_1_9_22{color:#dc0000;font-size:16px;margin-right:4px}.material-symbols-rounded.sc-tttx-standalone-input_1_9_22{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_9_22-h{display:block}';export{l as tttx_loading_spinner_1_9_22,e as tttx_standalone_input_1_9_22}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as o,h as i,F as e,H as s,g as n}from"./p-d490353a.js";import{p as d,d as r}from"./p-55799798.js";import"./p-112455b1.js";const l=class{constructor(i){t(this,i),this.selectItemEvent=o(this,"selectItemEvent",3),this.toggleOpen=o(this,"toggleOpen",3),this.searchUpdated=o(this,"multiselectSearchUpdated",7),this.bodyOffset={},this.closeSelectBoxHandler=()=>{this.open&&(this.open=!1)},this.optionsData=null,this.label=void 0,this.inline=void 0,this.placeholder="",this.searchEnabled=void 0,this.selectedValue=void 0,this.useExternalFiltering=void 0,this.isLoading=void 0,this.readOnly=void 0,this.showErrorMsg=void 0,this.showErrorBubble=!1,this.errorMsg=void 0,this.open=!1,this.selectedItem=void 0,this.searchTerm=""}async componentWillLoad(){if(this.optionsData){this.setOptionsData();const t=this._optionsData.filter((t=>t.value==this.selectedValue));this.selectedItem=t.length>0?t[0]:void 0}}async setOptionsData(){this._optionsData="string"==typeof this.optionsData?JSON.parse(this.optionsData):this.optionsData,this.open&&this.calculateDropdownMenuOffset()}async setSelectedItem(t){if(!t)return this.cleanSelectedItem();const o=this._optionsData.find((o=>o.value.toLowerCase()===t.toLowerCase()));if(!o)return this.cleanSelectedItem();this.selectedValue=o.value,this.selectedItem=o}cleanSelectedItem(){this.selectedValue=void 0,this.selectedItem=void 0}componentDidLoad(){document.addEventListener("closeSelectBoxOnScroll",this.closeSelectBoxHandler)}componentWillUnload(){document.removeEventListener("closeSelectBoxOnScroll",this.closeSelectBoxHandler)}handleCloseSelectBox(){this.open=!1}handleBlur(){this.open=!1,this.toggleOpen.emit(!1)}onDropdownClicked(){this.readOnly||(this.open=!this.open,this.searchTerm="",this.calculateDropdownMenuOffset(),this.toggleOpen.emit(this.open))}onItemSelected(t){this.selectedItem=t,this.selectItemEvent.emit(this.selectedItem),this.handleBlur()}dropdownSelectorContent(){let t,o;const s=i("tttx-icon_1_9_22",{icon:this.open?"expand_less":"expand_more",color:"black"});let n=i("div",{class:"dropdown-selector-chevron"},s);return this.selectedItem?this.selectedItem.html?(t=i("div",{title:this.selectedItem.label,class:"truncated-text",innerHTML:this.selectedItem.html}),i(e,null,t,n)):(t=i("div",{title:this.selectedItem.label,class:"truncated-text"},this.selectedItem.label),this.selectedItem.description&&(o=i("div",{class:"description"},i("p",null,this.selectedItem.description)),n=i("div",{class:"dropdown-selector-chevron-offset"},s)),i(e,null,i("div",{class:"left-wrapper"},t,o),n)):(t=i("div",{class:"placeholder"},this.placeholder),i(e,null,t,n))}dropdownOption(t){const o=this.searchEnabled&&-1===t.label.toLowerCase().indexOf(this.searchTerm.toLowerCase()),e=this.selectedItem&&t.value===this.selectedItem.value;if(t.html){const s=d.sanitize(t.html,r);return i("div",{class:`dropdown-option ${o?"hidden":""} ${e?"selected":""}`,onClick:this.onItemSelected.bind(this,t),key:t.label,innerHTML:s})}return t.description?i("div",{class:`dropdown-option ${o?"hidden":""} ${e?"selected":""}`,onClick:this.onItemSelected.bind(this,t),key:t.label},t.label,i("div",{class:"description-dd"},i("p",null,t.description))):i("div",{class:`dropdown-option ${o?"hidden":""} ${e?"selected":""}`,onClick:this.onItemSelected.bind(this,t),key:t.label},t.label)}handleSearchInput(t){const o=t.target.value;if(this.useExternalFiltering)return clearTimeout(this.searchFilterTimeout),void(this.searchFilterTimeout=setTimeout((t=>{this.searchUpdated.emit(t)}),500,o));this.searchTerm=o}calculateDropdownMenuOffset(){const t=this.el.shadowRoot.querySelector(".dropdown-selector").getBoundingClientRect(),o=window.innerHeight,i=window.innerWidth;let e=Math.min(368,36*this._optionsData.length)+8;this.searchEnabled&&(e+=52);const s=o-t.bottom,n=t.top;let d,r,l;this._optionsData.length||(e=200),s>=e?(d=t.bottom+"px",r="",l=e+"px"):n>=e?(d="",r=o-t.top+"px",l=e+"px"):(d=e-n+"px",r=e-s+"px",l=e+"px"),this.bodyOffset={position:"fixed",left:Math.max(t.left,0)+"px",width:Math.min(t.width,i-t.left-16)+"px",top:d,bottom:r,maxHeight:l,zIndex:"10",overflowY:"auto"}}render(){if(!this.optionsData)return;const t=this.showErrorMsg?"invalid":"",o=this.readOnly?"dropdown-read-only":"";return i(s,{class:this.inline?"inline":"block"},this.label&&i("div",{class:"label"},this.label),i("div",{tabindex:"0",class:"dropdown-container"},i("div",{class:["dropdown-selector",t,o].join(" "),ref:t=>this.dropdownSelector=t,onClick:this.onDropdownClicked.bind(this)},this.dropdownSelectorContent()),this.open&&i("div",{class:"dropdown-body-container"},i("div",{class:"dropdown-body",style:Object.assign({width:`${this.dropdownSelector.offsetWidth}px`},this.bodyOffset)},this.searchEnabled&&i("div",{class:"searchbox"},i("tttx-standalone-input_1_9_22",{type:"text",label:"",required:!0,showerrorbubble:!1,iconleft:"search",onInput:this.handleSearchInput.bind(this)})),i("div",{class:"dropdown-options-list"},this.isLoading?i("tttx-loading-spinner_1_9_22",{class:"loading-style"}):this._optionsData.map((t=>this.dropdownOption(t)))))),this.showErrorBubble&&i("span",{class:["errorBubble",this.showErrorMsg&&this.errorMsg?"visible":""].join(" ")},i("tttx-icon_1_9_22",{icon:"warning",color:"#dc0000",size:16})," ",this.errorMsg)))}get el(){return n(this)}static get watchers(){return{optionsData:["setOptionsData"]}}};l.style='.material-symbols-rounded{font-variation-settings:"FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24}:host{display:flex;gap:4px}.label{font-size:16px;font-weight:500;line-height:18.752px;color:#212121}:host(.inline) .label{padding-top:8px}:host(.block){flex-direction:column}.dropdown-container{position:relative;display:flex;flex-direction:column;width:100%}.dropdown-container:focus-visible{outline:none}.dropdown-container:focus .dropdown-selector{border:1px solid #1479c6}.dropdown-selector,.dropdown-body{display:flex;border-radius:4px;background-color:white}.dropdown-selector{min-height:36px;box-sizing:border-box;align-items:center;gap:8px;padding:4px 8px 4px 16px;cursor:pointer;justify-content:space-between;border:1px solid #d5d5d5;display:flex;flex-direction:row}.dropdown-selector>.left-wrapper{flex:1;min-width:0}.dropdown-selector *{font-weight:400}.dropdown-selector.invalid{border:1px solid #dc0000}.dropdown-read-only{background-color:#BDBDBD !important}.errorBubble{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}.errorBubble:not(.visible){display:none}.errorBubble>*{font-size:16px;margin-right:4px;height:16px}.description{color:#757575;font-size:14px;line-height:16.408px}.description>p{margin:0}.description-dd{color:#757575;font-size:14px;line-height:16.408px}.description-dd>p{margin:0}.truncated-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#212121;font-size:16px;line-height:18.752px}.dropdown-selector-chevron{height:24px}.dropdown-selector-chevron-offset{height:24px}.dropdown-selector-chevron>tttx-icon{cursor:pointer}.dropdown-body-container{position:relative;z-index:2}.dropdown-body{position:absolute;flex-direction:column;box-shadow:0px 1px 5px #1111114D;padding-bottom:8px;border:1px solid #d5d5d5}.dropdown-options-list{display:flex;flex-direction:column;overflow-y:auto;max-height:368px}.dropdown-option{padding:6px 8px 6px 16px;cursor:pointer}.dropdown-option:hover{background-color:#1111110d}.dropdown-option:active,.dropdown-option.selected{background-color:#ebfbfc}.placeholder{color:#9e9e9e;white-space:nowrap;overflow-x:hidden;text-overflow:ellipsis}.searchbox{padding:8px 16px}.searchbox tttx-standalone-input{margin-top:-4px}.hidden{display:none}';export{l as tttx_select_box_1_9_22}
|