@3t-transform/threeteeui 1.9.21 → 1.9.23
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_21.cjs.entry.js → tttx-button_1_9_23.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-checkbox-group-caption_1_9_21.cjs.entry.js → tttx-checkbox-group-caption_1_9_23.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox-group-heading_1_9_21.cjs.entry.js → tttx-checkbox-group-heading_1_9_23.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox-group_1_9_21.cjs.entry.js → tttx-checkbox-group_1_9_23.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox_1_9_21.cjs.entry.js → tttx-checkbox_1_9_23.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-comments_1_9_21.cjs.entry.js → tttx-comments_1_9_23.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-data-pattern_1_9_21.cjs.entry.js → tttx-data-pattern_1_9_23.cjs.entry.js} +5 -5
- package/dist/cjs/{tttx-datacard_1_9_21.cjs.entry.js → tttx-datacard_1_9_23.cjs.entry.js} +4 -4
- package/dist/cjs/{tttx-dialog-box_1_9_21.cjs.entry.js → tttx-dialog-box_1_9_23.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-dialog_1_9_21.cjs.entry.js → tttx-dialog_1_9_23.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-expander_1_9_21.cjs.entry.js → tttx-expander_1_9_23.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-filter_1_9_21_4.cjs.entry.js → tttx-filter_1_9_23_4.cjs.entry.js} +9 -9
- package/dist/cjs/{tttx-form_1_9_21.cjs.entry.js → tttx-form_1_9_23.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-graph_1_9_21.cjs.entry.js → tttx-graph_1_9_23.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-icon_1_9_21.cjs.entry.js → tttx-icon_1_9_23.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-keyvalue-block_1_9_21.cjs.entry.js → tttx-keyvalue-block_1_9_23.cjs.entry.js} +1 -1
- package/dist/cjs/tttx-loading-spinner_1_9_23_3.cjs.entry.js +135 -0
- package/dist/cjs/{tttx-multiselect-box_1_9_21.cjs.entry.js → tttx-multiselect-box_1_9_23.cjs.entry.js} +30 -9
- package/dist/cjs/{tttx-percentage-bar_1_9_21.cjs.entry.js → tttx-percentage-bar_1_9_23.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-qrcode_1_9_21.cjs.entry.js → tttx-qrcode_1_9_23.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-select-box_1_9_21.cjs.entry.js → tttx-select-box_1_9_23.cjs.entry.js} +42 -20
- package/dist/cjs/{tttx-table_1_9_21.cjs.entry.js → tttx-table_1_9_23.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-tabs_1_9_21.cjs.entry.js → tttx-tabs_1_9_23.cjs.entry.js} +4 -4
- package/dist/cjs/{tttx-textarea_1_9_21.cjs.entry.js → tttx-textarea_1_9_23.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-toggle_1_9_21.cjs.entry.js → tttx-toggle_1_9_23.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-tree-view_1_9_21.cjs.entry.js → tttx-tree-view_1_9_23.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 +77 -19
- package/dist/collection/components/molecules/tttx-select-box/tttx-select-box.stories.js +60 -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_21.d.ts → tttx-button_1_9_23.d.ts} +4 -4
- package/dist/components/{tttx-button_1_9_21.js → tttx-button_1_9_23.js} +2 -2
- package/dist/components/tttx-checkbox-group-caption_1_9_23.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group-caption_1_9_21.js → tttx-checkbox-group-caption_1_9_23.js} +5 -5
- package/dist/components/tttx-checkbox-group-heading_1_9_23.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group-heading_1_9_21.js → tttx-checkbox-group-heading_1_9_23.js} +5 -5
- package/dist/components/tttx-checkbox-group_1_9_23.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group_1_9_21.js → tttx-checkbox-group_1_9_23.js} +5 -5
- package/dist/components/{tttx-datacard_1_9_21.d.ts → tttx-checkbox_1_9_23.d.ts} +4 -4
- package/dist/components/{tttx-checkbox_1_9_21.js → tttx-checkbox_1_9_23.js} +7 -7
- package/dist/components/{tttx-checkbox_1_9_21.d.ts → tttx-comments_1_9_23.d.ts} +4 -4
- package/dist/components/{tttx-comments_1_9_21.js → tttx-comments_1_9_23.js} +7 -7
- package/dist/components/tttx-data-pattern_1_9_23.d.ts +11 -0
- package/dist/components/{tttx-data-pattern_1_9_21.js → tttx-data-pattern_1_9_23.js} +16 -16
- package/dist/components/{tttx-comments_1_9_21.d.ts → tttx-datacard_1_9_23.d.ts} +4 -4
- package/dist/components/{tttx-datacard_1_9_21.js → tttx-datacard_1_9_23.js} +10 -10
- package/dist/components/tttx-dialog-box_1_9_23.d.ts +11 -0
- package/dist/components/{tttx-dialog-box_1_9_21.js → tttx-dialog-box_1_9_23.js} +9 -9
- package/dist/components/{tttx-dialog_1_9_21.d.ts → tttx-dialog_1_9_23.d.ts} +4 -4
- package/dist/components/{tttx-dialog_1_9_21.js → tttx-dialog_1_9_23.js} +8 -8
- package/dist/components/tttx-expander_1_9_23.d.ts +11 -0
- package/dist/components/{tttx-expander_1_9_21.js → tttx-expander_1_9_23.js} +7 -7
- package/dist/components/tttx-filter.js +6 -6
- package/dist/components/{tttx-filter_1_9_21.d.ts → tttx-filter_1_9_23.d.ts} +4 -4
- package/dist/components/{tttx-filter_1_9_21.js → tttx-filter_1_9_23.js} +2 -2
- package/dist/components/{tttx-tabs_1_9_21.d.ts → tttx-form_1_9_23.d.ts} +4 -4
- package/dist/components/{tttx-form_1_9_21.js → tttx-form_1_9_23.js} +20 -14
- package/dist/components/tttx-graph.js +3 -3
- package/dist/components/{tttx-graph_1_9_21.d.ts → tttx-graph_1_9_23.d.ts} +4 -4
- package/dist/components/{tttx-graph_1_9_21.js → tttx-graph_1_9_23.js} +2 -2
- package/dist/components/tttx-icon.js +3 -3
- package/dist/components/{tttx-icon_1_9_21.d.ts → tttx-icon_1_9_23.d.ts} +4 -4
- package/dist/components/{tttx-icon_1_9_21.js → tttx-icon_1_9_23.js} +2 -2
- package/dist/components/tttx-keyvalue-block_1_9_23.d.ts +11 -0
- package/dist/components/{tttx-keyvalue-block_1_9_21.js → tttx-keyvalue-block_1_9_23.js} +5 -5
- package/dist/components/tttx-list.js +6 -6
- package/dist/components/{tttx-list_1_9_21.d.ts → tttx-list_1_9_23.d.ts} +4 -4
- package/dist/components/{tttx-list_1_9_21.js → tttx-list_1_9_23.js} +2 -2
- package/dist/components/tttx-loading-spinner.js +3 -3
- package/dist/components/tttx-loading-spinner_1_9_23.d.ts +11 -0
- package/dist/components/{tttx-loading-spinner_1_9_21.js → tttx-loading-spinner_1_9_23.js} +2 -2
- package/dist/components/tttx-multiselect-box_1_9_23.d.ts +11 -0
- package/dist/components/{tttx-multiselect-box_1_9_21.js → tttx-multiselect-box_1_9_23.js} +51 -22
- package/dist/components/tttx-percentage-bar_1_9_23.d.ts +11 -0
- package/dist/components/{tttx-percentage-bar_1_9_21.js → tttx-percentage-bar_1_9_23.js} +6 -6
- package/dist/components/{tttx-qrcode_1_9_21.d.ts → tttx-qrcode_1_9_23.d.ts} +4 -4
- package/dist/components/{tttx-qrcode_1_9_21.js → tttx-qrcode_1_9_23.js} +5 -5
- package/dist/components/tttx-select-box.js +58 -28
- package/dist/components/tttx-select-box_1_9_23.d.ts +11 -0
- package/dist/components/{tttx-select-box_1_9_21.js → tttx-select-box_1_9_23.js} +2 -2
- package/dist/components/tttx-sorter.js +5 -5
- package/dist/components/tttx-sorter_1_9_23.d.ts +11 -0
- package/dist/components/{tttx-sorter_1_9_21.js → tttx-sorter_1_9_23.js} +2 -2
- package/dist/components/tttx-standalone-input.js +6 -6
- package/dist/components/tttx-standalone-input_1_9_23.d.ts +11 -0
- package/dist/components/{tttx-standalone-input_1_9_21.js → tttx-standalone-input_1_9_23.js} +2 -2
- package/dist/components/{tttx-table_1_9_21.d.ts → tttx-table_1_9_23.d.ts} +4 -4
- package/dist/components/{tttx-table_1_9_21.js → tttx-table_1_9_23.js} +5 -5
- package/dist/components/{tttx-form_1_9_21.d.ts → tttx-tabs_1_9_23.d.ts} +4 -4
- package/dist/components/{tttx-tabs_1_9_21.js → tttx-tabs_1_9_23.js} +9 -9
- package/dist/components/{tttx-tag_1_9_21.js → tttx-tag.js} +9 -12
- package/dist/components/{tttx-tag_1_9_21.d.ts → tttx-tag_1_9_23.d.ts} +4 -4
- package/dist/components/tttx-tag_1_9_23.js +6 -0
- package/dist/components/tttx-textarea_1_9_23.d.ts +11 -0
- package/dist/components/{tttx-textarea_1_9_21.js → tttx-textarea_1_9_23.js} +6 -6
- package/dist/components/tttx-toggle_1_9_23.d.ts +11 -0
- package/dist/components/{tttx-toggle_1_9_21.js → tttx-toggle_1_9_23.js} +5 -5
- package/dist/components/tttx-toolbar.js +3 -3
- package/dist/components/tttx-toolbar_1_9_23.d.ts +11 -0
- package/dist/components/{tttx-toolbar_1_9_21.js → tttx-toolbar_1_9_23.js} +2 -2
- package/dist/components/tttx-tree-view_1_9_23.d.ts +11 -0
- package/dist/components/{tttx-tree-view_1_9_21.js → tttx-tree-view_1_9_23.js} +9 -9
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{tttx-button_1_9_21.entry.js → tttx-button_1_9_23.entry.js} +2 -2
- package/dist/esm/{tttx-checkbox-group-caption_1_9_21.entry.js → tttx-checkbox-group-caption_1_9_23.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox-group-heading_1_9_21.entry.js → tttx-checkbox-group-heading_1_9_23.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox-group_1_9_21.entry.js → tttx-checkbox-group_1_9_23.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox_1_9_21.entry.js → tttx-checkbox_1_9_23.entry.js} +2 -2
- package/dist/esm/{tttx-comments_1_9_21.entry.js → tttx-comments_1_9_23.entry.js} +2 -2
- package/dist/esm/{tttx-data-pattern_1_9_21.entry.js → tttx-data-pattern_1_9_23.entry.js} +5 -5
- package/dist/esm/{tttx-datacard_1_9_21.entry.js → tttx-datacard_1_9_23.entry.js} +4 -4
- package/dist/esm/{tttx-dialog-box_1_9_21.entry.js → tttx-dialog-box_1_9_23.entry.js} +3 -3
- package/dist/esm/{tttx-dialog_1_9_21.entry.js → tttx-dialog_1_9_23.entry.js} +2 -2
- package/dist/esm/{tttx-expander_1_9_21.entry.js → tttx-expander_1_9_23.entry.js} +2 -2
- package/dist/esm/{tttx-filter_1_9_21_4.entry.js → tttx-filter_1_9_23_4.entry.js} +6 -6
- package/dist/esm/{tttx-form_1_9_21.entry.js → tttx-form_1_9_23.entry.js} +2 -2
- package/dist/esm/{tttx-graph_1_9_21.entry.js → tttx-graph_1_9_23.entry.js} +1 -1
- package/dist/esm/{tttx-icon_1_9_21.entry.js → tttx-icon_1_9_23.entry.js} +1 -1
- package/dist/esm/{tttx-keyvalue-block_1_9_21.entry.js → tttx-keyvalue-block_1_9_23.entry.js} +1 -1
- package/dist/esm/tttx-loading-spinner_1_9_23_3.entry.js +129 -0
- package/dist/esm/{tttx-multiselect-box_1_9_21.entry.js → tttx-multiselect-box_1_9_23.entry.js} +31 -10
- package/dist/esm/{tttx-percentage-bar_1_9_21.entry.js → tttx-percentage-bar_1_9_23.entry.js} +2 -2
- package/dist/esm/{tttx-qrcode_1_9_21.entry.js → tttx-qrcode_1_9_23.entry.js} +1 -1
- package/dist/esm/{tttx-select-box_1_9_21.entry.js → tttx-select-box_1_9_23.entry.js} +42 -20
- package/dist/esm/{tttx-table_1_9_21.entry.js → tttx-table_1_9_23.entry.js} +1 -1
- package/dist/esm/{tttx-tabs_1_9_21.entry.js → tttx-tabs_1_9_23.entry.js} +4 -4
- package/dist/esm/{tttx-textarea_1_9_21.entry.js → tttx-textarea_1_9_23.entry.js} +2 -2
- package/dist/esm/{tttx-toggle_1_9_21.entry.js → tttx-toggle_1_9_23.entry.js} +1 -1
- package/dist/esm/{tttx-tree-view_1_9_21.entry.js → tttx-tree-view_1_9_23.entry.js} +3 -3
- package/dist/esm/tttx.js +1 -1
- package/dist/tttx/p-0741cbca.entry.js +1 -0
- 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-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 +4 -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 +376 -368
- package/package.json +1 -1
- package/dist/cjs/tttx-loading-spinner_1_9_21_2.cjs.entry.js +0 -114
- package/dist/cjs/tttx-tag_1_9_21.cjs.entry.js +0 -27
- package/dist/components/tttx-checkbox-group-caption_1_9_21.d.ts +0 -11
- package/dist/components/tttx-checkbox-group-heading_1_9_21.d.ts +0 -11
- package/dist/components/tttx-checkbox-group_1_9_21.d.ts +0 -11
- package/dist/components/tttx-data-pattern_1_9_21.d.ts +0 -11
- package/dist/components/tttx-dialog-box_1_9_21.d.ts +0 -11
- package/dist/components/tttx-expander_1_9_21.d.ts +0 -11
- package/dist/components/tttx-keyvalue-block_1_9_21.d.ts +0 -11
- package/dist/components/tttx-loading-spinner_1_9_21.d.ts +0 -11
- package/dist/components/tttx-multiselect-box_1_9_21.d.ts +0 -11
- package/dist/components/tttx-percentage-bar_1_9_21.d.ts +0 -11
- package/dist/components/tttx-select-box_1_9_21.d.ts +0 -11
- package/dist/components/tttx-sorter_1_9_21.d.ts +0 -11
- package/dist/components/tttx-standalone-input_1_9_21.d.ts +0 -11
- package/dist/components/tttx-textarea_1_9_21.d.ts +0 -11
- package/dist/components/tttx-toggle_1_9_21.d.ts +0 -11
- package/dist/components/tttx-toolbar_1_9_21.d.ts +0 -11
- package/dist/components/tttx-tree-view_1_9_21.d.ts +0 -11
- package/dist/esm/tttx-loading-spinner_1_9_21_2.entry.js +0 -109
- package/dist/esm/tttx-tag_1_9_21.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-6bd36b5b.entry.js +0 -1
- package/dist/tttx/p-bbad0784.entry.js +0 -1
|
@@ -24,9 +24,9 @@ const TttxButton = class {
|
|
|
24
24
|
}
|
|
25
25
|
render() {
|
|
26
26
|
this._iconcolor = this.iconcolor;
|
|
27
|
-
return (h(Host, null, h("button", { class: `button ${this._design} ${this.icon ? 'withicon' : ''} ${this.icon && this.iconposition ? 'icon' + this.iconposition : ''} ${this.notext ? 'notext' : ''}` }, this.icon && this.iconposition === 'left' && (h("div", { class: "icon-left" }, h("tttx-
|
|
27
|
+
return (h(Host, null, h("button", { class: `button ${this._design} ${this.icon ? 'withicon' : ''} ${this.icon && this.iconposition ? 'icon' + this.iconposition : ''} ${this.notext ? 'notext' : ''}` }, this.icon && this.iconposition === 'left' && (h("div", { class: "icon-left" }, h("tttx-icon_1_9_23", { icon: this.icon, color: this._iconcolor }))), !this.notext && (h("div", { class: "button-content" }, h("slot", null))), this.icon && this.iconposition === 'right' && (h("div", { class: "icon-right" }, h("tttx-icon_1_9_23", { icon: this.icon, color: this._iconcolor }))))));
|
|
28
28
|
}
|
|
29
29
|
};
|
|
30
30
|
TttxButton.style = tttxButtonCss;
|
|
31
31
|
|
|
32
|
-
export { TttxButton as
|
|
32
|
+
export { TttxButton as tttx_button_1_9_23 };
|
|
@@ -28,7 +28,7 @@ const TttxCheckbox = class {
|
|
|
28
28
|
render() {
|
|
29
29
|
const checkBoxIcon = this.checked ? 'check_box' : 'check_box_outline_blank';
|
|
30
30
|
const renderedIcon = this.indeterminate ? 'indeterminate_check_box' : checkBoxIcon;
|
|
31
|
-
return (h(Host, null, h("label", { class: `tttx-checkbox ${this.inline ? '--inline' : ''}` }, h("input", { class: "tttx-checkbox__input", type: "checkbox", id: this.checkboxId, checked: this.checked, ref: (el) => this.checkbox = el }), h("tttx-
|
|
31
|
+
return (h(Host, null, h("label", { class: `tttx-checkbox ${this.inline ? '--inline' : ''}` }, h("input", { class: "tttx-checkbox__input", type: "checkbox", id: this.checkboxId, checked: this.checked, ref: (el) => this.checkbox = el }), h("tttx-icon_1_9_23", { color: this.checked ? 'blue' : 'grey', icon: renderedIcon, onClick: this.onClick.bind(this) }), h("span", { class: "tttx-checkbox__label" }, this.label))));
|
|
32
32
|
}
|
|
33
33
|
static get watchers() { return {
|
|
34
34
|
"indeterminate": ["watchIndeterminateChange"]
|
|
@@ -36,4 +36,4 @@ const TttxCheckbox = class {
|
|
|
36
36
|
};
|
|
37
37
|
TttxCheckbox.style = tttxCheckboxCss;
|
|
38
38
|
|
|
39
|
-
export { TttxCheckbox as
|
|
39
|
+
export { TttxCheckbox as tttx_checkbox_1_9_23 };
|
|
@@ -95,7 +95,7 @@ const TttxComments = class {
|
|
|
95
95
|
this.scrollToBottom();
|
|
96
96
|
}
|
|
97
97
|
render() {
|
|
98
|
-
return (h(Host, null, h("article", { id: "comment-container" }, h("section", { id: "comment-bubbles-section" }, h("div", { id: "scroll-container", ref: el => this._scrollContainer = el }, this.renderCommentBubble())), h("section", { id: "input-section" }, h("form", { onSubmit: this.onFormSubmit.bind(this) }, h("fieldset", null, h("input", { type: "text", name: "commentText", required: true, maxlength: "500", placeholder: "Enter comment" })), h("fieldset", null, h("button", { id: "attach-file", type: "button", value: "File", onClick: this.onFileUploadRequest.bind(this) }, h("tttx-
|
|
98
|
+
return (h(Host, null, h("article", { id: "comment-container" }, h("section", { id: "comment-bubbles-section" }, h("div", { id: "scroll-container", ref: el => this._scrollContainer = el }, this.renderCommentBubble())), h("section", { id: "input-section" }, h("form", { onSubmit: this.onFormSubmit.bind(this) }, h("fieldset", null, h("input", { type: "text", name: "commentText", required: true, maxlength: "500", placeholder: "Enter comment" })), h("fieldset", null, h("button", { id: "attach-file", type: "button", value: "File", onClick: this.onFileUploadRequest.bind(this) }, h("tttx-icon_1_9_23", { color: "black", icon: "attach_file" })), h("input", { type: "submit", value: "Add Comment" })))))));
|
|
99
99
|
}
|
|
100
100
|
static get watchers() { return {
|
|
101
101
|
"comments": ["onCommentsChange"]
|
|
@@ -107,4 +107,4 @@ var ECommentType;
|
|
|
107
107
|
})(ECommentType || (ECommentType = {}));
|
|
108
108
|
TttxComments.style = tttxCommentsCss;
|
|
109
109
|
|
|
110
|
-
export { TttxComments as
|
|
110
|
+
export { TttxComments as tttx_comments_1_9_23 };
|
|
@@ -15,12 +15,12 @@ const TttxDataPattern = class {
|
|
|
15
15
|
this.addbutton = false;
|
|
16
16
|
}
|
|
17
17
|
render() {
|
|
18
|
-
return (h(Host, null, h("div", { class: "container" }, h("tttx-
|
|
19
|
-
h("tttx-
|
|
20
|
-
h("tttx-
|
|
21
|
-
h("tttx-
|
|
18
|
+
return (h(Host, null, h("div", { class: "container" }, h("tttx-toolbar_1_9_23", { border: true }, h("span", { slot: "before" }, this.sorterOptions &&
|
|
19
|
+
h("tttx-sorter_1_9_23", { sorterKey: "data-pattern-list", fieldOptionsData: this.sorterOptions, defaultOption: this.defaultSortOption }), this.filterOptions &&
|
|
20
|
+
h("tttx-filter_1_9_23", { "filter-options": JSON.stringify(this.filterOptions), showSelectAll: false, "show-option-icons": true, "filter-header": this.filterHeader, "filter-key": "data-pattern-list" })), h("span", { slot: "after" }, h("tttx-standalone-input_1_9_23", { class: "qualifications-filter", showerrorbubble: false, inputicon: "search", inline: true, required: true, placeholder: this.searchplaceholder, type: "text", maxlength: 30 }))), h("tttx-toolbar_1_9_23", { border: false }, h("span", { slot: "before" }, this.addbutton &&
|
|
21
|
+
h("tttx-button_1_9_23", { design: "primary", icon: "add" }, this.addbuttonlabel))), h("tttx-list_1_9_23", { data: this.data }))));
|
|
22
22
|
}
|
|
23
23
|
};
|
|
24
24
|
TttxDataPattern.style = tttxDataPatternCss;
|
|
25
25
|
|
|
26
|
-
export { TttxDataPattern as
|
|
26
|
+
export { TttxDataPattern as tttx_data_pattern_1_9_23 };
|
|
@@ -28,16 +28,16 @@ const TttxDatacard = class {
|
|
|
28
28
|
renderIcon(iconstyle) {
|
|
29
29
|
switch (iconstyle) {
|
|
30
30
|
case 'up':
|
|
31
|
-
return h("tttx-
|
|
31
|
+
return h("tttx-icon_1_9_23", { size: 24, icon: "arrow_circle_up", color: "green" });
|
|
32
32
|
case 'down':
|
|
33
|
-
return h("tttx-
|
|
33
|
+
return h("tttx-icon_1_9_23", { size: 24, icon: "arrow_circle_down", color: "darkred" });
|
|
34
34
|
default:
|
|
35
35
|
return null;
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
render() {
|
|
39
39
|
return (h(Host, null, h("div", { class: "datacard" }, this.cardTitle && h("h2", { style: { 'position': 'relative', 'top': '0', 'left': '0', 'height': '40px' } }, this.cardTitle), this.chartRender && this.cardType === 'chart' &&
|
|
40
|
-
h("tttx-
|
|
40
|
+
h("tttx-graph_1_9_23", { style: { 'position': 'relative', 'width': '100%', 'height': this.cardTitle ? 'calc(100% - 40px)' : '100%' }, class: 'chart', "chart-data": this._chartConfig.chartData, "chart-text": this._chartConfig.chartText, "chart-type": this._chartConfig.chartType }), h("div", { style: { 'position': 'relative', 'width': '100%', 'height': this.cardTitle ? 'calc(100% - 40px)' : '100%' } }, h("div", { class: "lower" }, h("div", { class: this.rightData && this.rightData !== 'undefined' ? 'left' : 'centered' }, this.leftData), this.rightData && this.rightData !== 'undefined' &&
|
|
41
41
|
h("div", { class: "right" }, h("div", { class: "flex" }, h("div", { class: "righticon" }, this.renderIcon(this.iconStyle)), h("div", { class: "rightdata" }, this.rightData)), h("div", { class: "subtext" }, this.rightSubtext)))))));
|
|
42
42
|
}
|
|
43
43
|
static get watchers() { return {
|
|
@@ -46,4 +46,4 @@ const TttxDatacard = class {
|
|
|
46
46
|
};
|
|
47
47
|
TttxDatacard.style = tttxDatacardCss;
|
|
48
48
|
|
|
49
|
-
export { TttxDatacard as
|
|
49
|
+
export { TttxDatacard as tttx_datacard_1_9_23 };
|
|
@@ -56,7 +56,7 @@ const TttxDialogBox = class {
|
|
|
56
56
|
const iconColor = header.iconColor;
|
|
57
57
|
const iconEnabled = header.hasIcon ? true : false;
|
|
58
58
|
const closeEnabled = header.hasClose ? true : false;
|
|
59
|
-
return (h("div", { class: "dialog-box-header" }, iconEnabled && h("tttx-
|
|
59
|
+
return (h("div", { class: "dialog-box-header" }, iconEnabled && h("tttx-icon_1_9_23", { class: "dialog-box-icon", icon: iconName, color: iconColor }), h("h3", { class: "dialog-box-title" }, title), closeEnabled && (h("div", { class: "dialog-box-align-right close-button", onClick: () => this.onCloseClickHandler() }, h("tttx-icon_1_9_23", { class: "dialog-box-icon-close dialog-box-clickable", icon: "close", color: "black" })))));
|
|
60
60
|
}
|
|
61
61
|
renderContent(content) {
|
|
62
62
|
if (content.isCustomHtml) {
|
|
@@ -73,7 +73,7 @@ const TttxDialogBox = class {
|
|
|
73
73
|
const button2Enabled = button.length > 1;
|
|
74
74
|
const button3Enabled = button.length == 3;
|
|
75
75
|
const isMobile = this.elementSize === 'mobile';
|
|
76
|
-
return (h("div", { class: "dialog-box-footer" }, h("div", { class: "dialog-box-align-right" }, button3Enabled && (h("tttx-
|
|
76
|
+
return (h("div", { class: "dialog-box-footer" }, h("div", { class: "dialog-box-align-right" }, button3Enabled && (h("tttx-button_1_9_23", { class: "dialog-box-spacing-button", onClick: () => this.onButtonClickHandler(3), design: button[2].type, notext: isMobile, icon: button[2].icon }, !isMobile && button[2].name)), button2Enabled && (h("tttx-button_1_9_23", { class: "dialog-box-spacing-button", onClick: () => this.onButtonClickHandler(2), design: button[1].type, icon: button[1].icon }, button[1].name)), button1Enabled && (h("tttx-button_1_9_23", { onClick: () => this.onButtonClickHandler(1), design: button[0].type, icon: button[0].icon }, button[0].name)))));
|
|
77
77
|
}
|
|
78
78
|
componentWillLoad() {
|
|
79
79
|
if (window.innerWidth < 698) {
|
|
@@ -98,4 +98,4 @@ const TttxDialogBox = class {
|
|
|
98
98
|
};
|
|
99
99
|
TttxDialogBox.style = tttxDialogBoxCss;
|
|
100
100
|
|
|
101
|
-
export { TttxDialogBox as
|
|
101
|
+
export { TttxDialogBox as tttx_dialog_box_1_9_23 };
|
|
@@ -46,7 +46,7 @@ const TttxDialog = class {
|
|
|
46
46
|
renderHeader() {
|
|
47
47
|
const iconEnabled = typeof this.type !== 'undefined';
|
|
48
48
|
const { iconName, iconColor } = this.headerIconDetails(iconEnabled);
|
|
49
|
-
return (h("div", { class: `padding header ${this.type || ''}` }, iconEnabled && h("tttx-
|
|
49
|
+
return (h("div", { class: `padding header ${this.type || ''}` }, iconEnabled && h("tttx-icon_1_9_23", { class: "icon", icon: iconName, color: iconColor }), h("h3", { class: "title", title: this.header }, this.header), this.closeEnabled && (h("tttx-button_1_9_23", { class: "align-right close-button", design: "borderless-circle", icon: "close", color: "black", notext: true, onClick: () => this.onCloseClickHandler() }))));
|
|
50
50
|
}
|
|
51
51
|
body() {
|
|
52
52
|
return (h("div", { class: `body ${!this.allowOverflow ? 'overflow-hidden' : ''}` }, h("span", { class: "body-content" }, h("slot", null))));
|
|
@@ -74,4 +74,4 @@ const TttxDialog = class {
|
|
|
74
74
|
};
|
|
75
75
|
TttxDialog.style = tttxDialogCss;
|
|
76
76
|
|
|
77
|
-
export { TttxDialog as
|
|
77
|
+
export { TttxDialog as tttx_dialog_1_9_23 };
|
|
@@ -26,9 +26,9 @@ const TttxExpander = class {
|
|
|
26
26
|
this.toggleExpander.emit({ open: this.isExpanded, name: this.name });
|
|
27
27
|
}
|
|
28
28
|
render() {
|
|
29
|
-
return (h(Host, null, h("details", { class: "expander", open: this.open, "aria-owns": "expanderContent", "aria-expanded": `${this.isExpanded}`, onClick: this.handleExpand.bind(this), ref: el => (this.expander = el) }, h("summary", { class: "panel" }, h("span", { class: "panel-frame" }, this.lefticon && (h("span", { class: "left-icons" }, h("tttx-
|
|
29
|
+
return (h(Host, null, h("details", { class: "expander", open: this.open, "aria-owns": "expanderContent", "aria-expanded": `${this.isExpanded}`, onClick: this.handleExpand.bind(this), ref: el => (this.expander = el) }, h("summary", { class: "panel" }, h("span", { class: "panel-frame" }, this.lefticon && (h("span", { class: "left-icons" }, h("tttx-icon_1_9_23", { icon: this.lefticon, color: this.lefticoncolor }))), h("span", { class: "name" }, this.name)), h("span", { class: "expand-button" }, h("tttx-icon_1_9_23", { class: "open", icon: "expand_more", color: "black" }), h("tttx-icon_1_9_23", { class: "closed", icon: "chevron_right", color: "black" }))), h("div", { id: "expanderContent", class: "content", tabindex: "0" }, h("slot", null)))));
|
|
30
30
|
}
|
|
31
31
|
};
|
|
32
32
|
TttxExpander.style = tttxExpanderCss;
|
|
33
33
|
|
|
34
|
-
export { TttxExpander as
|
|
34
|
+
export { TttxExpander as tttx_expander_1_9_23 };
|
|
@@ -178,10 +178,10 @@ const TttxFilter = class {
|
|
|
178
178
|
const selectAllCheckboxColor = this.allSelected ? 'blue' : 'grey';
|
|
179
179
|
const buttonStyleClassNameModifier = this.getFilterButtonClassName(this.filterButtonStyle);
|
|
180
180
|
const filterKey = `filter__${this.filterKey}`;
|
|
181
|
-
return (h(Host, { id: filterKey }, h("div", { class: 'filter-container' }, h("button", { class: `filter-button ${buttonStyleClassNameModifier}`, type: 'button', onClick: this.onFilterButtonClick.bind(this) }, h("tttx-
|
|
181
|
+
return (h(Host, { id: filterKey }, h("div", { class: 'filter-container' }, h("button", { class: `filter-button ${buttonStyleClassNameModifier}`, type: 'button', onClick: this.onFilterButtonClick.bind(this) }, h("tttx-icon_1_9_23", { icon: 'filter_list', class: 'filter-icon', color: 'black' }), "Filter"), this.showPopover && (h("div", { class: `filter-popover-container ${filterPopoverContainerClassNameModifier}`, style: { width: this.popoverWidth } }, h("div", { class: 'filter-header' }, this.filterHeader), this.showSearchField ? (h("div", { class: 'search-field-container' }, h("tttx-icon_1_9_23", { icon: 'search', class: 'search-icon' }), h("input", { type: 'text', class: 'search-input', placeholder: 'Search', value: this.filterSearchTerm, onInput: this.handleFilterChange.bind(this) }))) : (''), h("div", { class: 'filter-options-container' }, this.showSelectAll ? (h("div", { class: 'filter-option', tabIndex: -1, onClick: this.onSelectAllClick.bind(this) }, h("tttx-icon_1_9_23", { icon: selectAllCheckboxIcon, color: selectAllCheckboxColor, class: 'select-all-icon' }), h("label", { class: 'filter-label' }, "Select all"))) : (''), this.displayedFilterSettings.map((option) => {
|
|
182
182
|
const checkboxIcon = this.selectedFilters.includes(option.optionText) ? 'check_box' : 'check_box_outline_blank';
|
|
183
183
|
const checkboxColor = this.selectedFilters.includes(option.optionText) ? 'blue' : 'grey';
|
|
184
|
-
return h("div", { class: 'filter-option', tabIndex: -1, onClick: () => this.onFilterOptionSelected(option.optionText), key: option.optionText }, h("tttx-
|
|
184
|
+
return h("div", { class: 'filter-option', tabIndex: -1, onClick: () => this.onFilterOptionSelected(option.optionText), key: option.optionText }, h("tttx-icon_1_9_23", { icon: checkboxIcon, color: checkboxColor, class: 'checkbox-icon' }), this.showOptionIcons && h("tttx-icon_1_9_23", { icon: option.optionIcon, color: option.optionIconColor }), h("label", { class: 'filter-label' }, option.optionText));
|
|
185
185
|
})), h("div", { class: 'filter-popover-button-container' }, h("button", { type: 'button', class: 'close-button', onClick: this.onCloseButtonClick.bind(this) }, "Close"), h("button", { type: 'button', class: 'apply-button', onClick: this.onApplyFilterButtonClick.bind(this) }, "Apply")))))));
|
|
186
186
|
}
|
|
187
187
|
get el() { return getElement(this); }
|
|
@@ -239,9 +239,9 @@ const TttxList = class {
|
|
|
239
239
|
else {
|
|
240
240
|
element = h("span", { class: "item-content" }, item.element);
|
|
241
241
|
}
|
|
242
|
-
return (h(Fragment, null, item.hasCheckbox && (h("div", { class: "checkbox" }, h("tttx-
|
|
242
|
+
return (h(Fragment, null, item.hasCheckbox && (h("div", { class: "checkbox" }, h("tttx-icon_1_9_23", { icon: item.checked ? 'check_box' : 'check_box_outline_blank', color: item.checked ? 'blue' : 'grey', onClick: event => {
|
|
243
243
|
this.onRowCheckboxHandler(event, item);
|
|
244
|
-
} }))), item.element && element, item.icon && (h("span", { class: "icons" }, h("tttx-
|
|
244
|
+
} }))), item.element && element, item.icon && (h("span", { class: "icons" }, h("tttx-icon_1_9_23", { class: "align-right", icon: item.icon, color: 'black' })))));
|
|
245
245
|
}
|
|
246
246
|
render() {
|
|
247
247
|
if (!this._data)
|
|
@@ -363,7 +363,7 @@ const TttxSorter = class {
|
|
|
363
363
|
const selectedOption = this.selectedField;
|
|
364
364
|
const dropdownSelectorClassNameModifier = this.dropdownExpand ? '--expanded' : '';
|
|
365
365
|
const sorterKey = `sorter__${this.sorterKey}`;
|
|
366
|
-
return (h(Host, { id: sorterKey }, h("div", { tabindex: 0, class: `sorter-container ${dropdownSelectorClassNameModifier}` }, h("button", { class: "arrow-toggle-button", type: "button", onClick: this.onSortToggleClick.bind(this) }, h("tttx-
|
|
366
|
+
return (h(Host, { id: sorterKey }, h("div", { tabindex: 0, class: `sorter-container ${dropdownSelectorClassNameModifier}` }, h("button", { class: "arrow-toggle-button", type: "button", onClick: this.onSortToggleClick.bind(this) }, h("tttx-icon_1_9_23", { icon: arrowIcon, color: "black" })), h("div", { class: "dropdown-selector", onClick: this.onDropdownClicked.bind(this) }, h("div", { class: "dropdown-selector-button" }, h("div", { class: "dropdown-selector-text" }, selectedOption), h("div", { class: "dropdown-selector-chevron" }, h("tttx-icon_1_9_23", { icon: chevronIcon, color: "black" })))), this.dropdownExpand && (h("div", { class: "dropdown-options-list" }, parsedFieldOptionsData.sorterOptions.map(option => {
|
|
367
367
|
return (h("div", { class: "dropdown-option", tabIndex: -1, onClick: this.onDropdownSelected.bind(this), key: option.optionLabel }, option.optionLabel));
|
|
368
368
|
}))))));
|
|
369
369
|
}
|
|
@@ -399,4 +399,4 @@ const TttxToolbar = class {
|
|
|
399
399
|
};
|
|
400
400
|
TttxToolbar.style = tttxToolbarCss;
|
|
401
401
|
|
|
402
|
-
export { TttxFilter as
|
|
402
|
+
export { TttxFilter as tttx_filter_1_9_23, TttxList as tttx_list_1_9_23, TttxSorter as tttx_sorter_1_9_23, TttxToolbar as tttx_toolbar_1_9_23 };
|
|
@@ -344,7 +344,7 @@ const TttxForm = class {
|
|
|
344
344
|
if ((_b = this._data) === null || _b === void 0 ? void 0 : _b[formKey]) {
|
|
345
345
|
select.classList.remove('placeholder');
|
|
346
346
|
}
|
|
347
|
-
const tttxSelect = document.createElement('tttx-select-
|
|
347
|
+
const tttxSelect = document.createElement('tttx-select-box_1_9_23');
|
|
348
348
|
tttxSelect.optionsData = (_c = formProperties.options) === null || _c === void 0 ? void 0 : _c.filter(o => !o.placeholder);
|
|
349
349
|
tttxSelect.placeholder = (_e = (_d = formProperties.options) === null || _d === void 0 ? void 0 : _d.filter(o => o.placeholder)[0]) === null || _e === void 0 ? void 0 : _e.label;
|
|
350
350
|
tttxSelect.inline = false;
|
|
@@ -983,4 +983,4 @@ const TttxForm = class {
|
|
|
983
983
|
};
|
|
984
984
|
TttxForm.style = tttxFormCss;
|
|
985
985
|
|
|
986
|
-
export { TttxForm as
|
|
986
|
+
export { TttxForm as tttx_form_1_9_23 };
|
|
@@ -14908,4 +14908,4 @@ const TttxGraph = class {
|
|
|
14908
14908
|
};
|
|
14909
14909
|
TttxGraph.style = tttxGraphCss;
|
|
14910
14910
|
|
|
14911
|
-
export { TttxGraph as
|
|
14911
|
+
export { TttxGraph as tttx_graph_1_9_23 };
|
|
@@ -0,0 +1,129 @@
|
|
|
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_23{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.material-symbols-rounded.sc-tttx-standalone-input_1_9_23{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}label.sc-tttx-standalone-input_1_9_23{font-weight:500;font-size:16px;line-height:18.752px;color:#212121}label.sc-tttx-standalone-input_1_9_23 .optional.sc-tttx-standalone-input_1_9_23{color:#757575;font-weight:normal}label.sc-tttx-standalone-input_1_9_23 .outer-container.sc-tttx-standalone-input_1_9_23{position:relative}label.sc-tttx-standalone-input_1_9_23 .outer-container.sc-tttx-standalone-input_1_9_23 .left-icons.sc-tttx-standalone-input_1_9_23,label.sc-tttx-standalone-input_1_9_23 .outer-container.sc-tttx-standalone-input_1_9_23 .right-icons.sc-tttx-standalone-input_1_9_23{display:flex;position:absolute;height:24px;gap:8px}label.sc-tttx-standalone-input_1_9_23 .outer-container.sc-tttx-standalone-input_1_9_23 .left-icons.sc-tttx-standalone-input_1_9_23 tttx-icon.sc-tttx-standalone-input_1_9_23,label.sc-tttx-standalone-input_1_9_23 .outer-container.sc-tttx-standalone-input_1_9_23 .right-icons.sc-tttx-standalone-input_1_9_23 tttx-icon.sc-tttx-standalone-input_1_9_23{height:24px;width:24px}label.sc-tttx-standalone-input_1_9_23 .outer-container.sc-tttx-standalone-input_1_9_23 .left-icons.sc-tttx-standalone-input_1_9_23{left:8px}label.sc-tttx-standalone-input_1_9_23 .outer-container.sc-tttx-standalone-input_1_9_23 .right-icons.sc-tttx-standalone-input_1_9_23{right:8px}label.sc-tttx-standalone-input_1_9_23 .outer-container.sc-tttx-standalone-input_1_9_23 input.sc-tttx-standalone-input_1_9_23,label.sc-tttx-standalone-input_1_9_23 .outer-container.sc-tttx-standalone-input_1_9_23 textarea.sc-tttx-standalone-input_1_9_23{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_23 .outer-container.sc-tttx-standalone-input_1_9_23 input.has-input-icon.sc-tttx-standalone-input_1_9_23,label.sc-tttx-standalone-input_1_9_23 .outer-container.sc-tttx-standalone-input_1_9_23 textarea.has-input-icon.sc-tttx-standalone-input_1_9_23{padding-left:40px}label.sc-tttx-standalone-input_1_9_23 .outer-container.sc-tttx-standalone-input_1_9_23 input.has-input-icon.has-left-icon.sc-tttx-standalone-input_1_9_23,label.sc-tttx-standalone-input_1_9_23 .outer-container.sc-tttx-standalone-input_1_9_23 textarea.has-input-icon.has-left-icon.sc-tttx-standalone-input_1_9_23{padding-left:72px}label.sc-tttx-standalone-input_1_9_23 .outer-container.sc-tttx-standalone-input_1_9_23 input.has-left-icon.sc-tttx-standalone-input_1_9_23,label.sc-tttx-standalone-input_1_9_23 .outer-container.sc-tttx-standalone-input_1_9_23 textarea.has-left-icon.sc-tttx-standalone-input_1_9_23{padding-left:40px}label.sc-tttx-standalone-input_1_9_23 .outer-container.sc-tttx-standalone-input_1_9_23 input.has-right-icon.sc-tttx-standalone-input_1_9_23,label.sc-tttx-standalone-input_1_9_23 .outer-container.sc-tttx-standalone-input_1_9_23 textarea.has-right-icon.sc-tttx-standalone-input_1_9_23{padding-right:40px}label.sc-tttx-standalone-input_1_9_23 .outer-container.sc-tttx-standalone-input_1_9_23 input.invalid.sc-tttx-standalone-input_1_9_23,label.sc-tttx-standalone-input_1_9_23 .outer-container.sc-tttx-standalone-input_1_9_23 textarea.invalid.sc-tttx-standalone-input_1_9_23{border:1px solid #dc0000}label.sc-tttx-standalone-input_1_9_23 .outer-container.sc-tttx-standalone-input_1_9_23 input.sc-tttx-standalone-input_1_9_23:not([type=submit]),label.sc-tttx-standalone-input_1_9_23 .outer-container.sc-tttx-standalone-input_1_9_23 textarea.sc-tttx-standalone-input_1_9_23: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_23 .outer-container.sc-tttx-standalone-input_1_9_23 input[type=radio].sc-tttx-standalone-input_1_9_23,label.sc-tttx-standalone-input_1_9_23 .outer-container.sc-tttx-standalone-input_1_9_23 textarea[type=radio].sc-tttx-standalone-input_1_9_23{width:20px;height:20px}label.sc-tttx-standalone-input_1_9_23 .outer-container.sc-tttx-standalone-input_1_9_23 input[type=date].sc-tttx-standalone-input_1_9_23,label.sc-tttx-standalone-input_1_9_23 .outer-container.sc-tttx-standalone-input_1_9_23 textarea[type=date].sc-tttx-standalone-input_1_9_23{background:white;display:block;min-width:calc(100% - 18px);line-height:37px}label.sc-tttx-standalone-input_1_9_23 .outer-container.sc-tttx-standalone-input_1_9_23 input[readonly].sc-tttx-standalone-input_1_9_23,label.sc-tttx-standalone-input_1_9_23 .outer-container.sc-tttx-standalone-input_1_9_23 textarea[readonly].sc-tttx-standalone-input_1_9_23{cursor:default;pointer-events:none;user-select:none;color:gray}label.sc-tttx-standalone-input_1_9_23 .outer-container.sc-tttx-standalone-input_1_9_23 input.sc-tttx-standalone-input_1_9_23:focus,label.sc-tttx-standalone-input_1_9_23 .outer-container.sc-tttx-standalone-input_1_9_23 textarea.sc-tttx-standalone-input_1_9_23:focus{border-color:#1479c6}label.sc-tttx-standalone-input_1_9_23 .outer-container.sc-tttx-standalone-input_1_9_23 input.sc-tttx-standalone-input_1_9_23:focus-visible,label.sc-tttx-standalone-input_1_9_23 .outer-container.sc-tttx-standalone-input_1_9_23 textarea.sc-tttx-standalone-input_1_9_23:focus-visible{outline:none}label.sc-tttx-standalone-input_1_9_23 .outer-container.sc-tttx-standalone-input_1_9_23 textarea.sc-tttx-standalone-input_1_9_23{padding:8px;height:auto;min-height:100px;resize:vertical}label.sc-tttx-standalone-input_1_9_23 .outer-container.sc-tttx-standalone-input_1_9_23 textarea.resize-none.sc-tttx-standalone-input_1_9_23{resize:none}label.sc-tttx-standalone-input_1_9_23 .outer-container.inputBlock.sc-tttx-standalone-input_1_9_23{display:flex;align-items:center;line-height:21px}label.sc-tttx-standalone-input_1_9_23 .outer-container.inputBlock.sc-tttx-standalone-input_1_9_23 .left-icons.sc-tttx-standalone-input_1_9_23,label.sc-tttx-standalone-input_1_9_23 .outer-container.inputBlock.sc-tttx-standalone-input_1_9_23 .right-icons.sc-tttx-standalone-input_1_9_23{margin-top:4px}label.sc-tttx-standalone-input_1_9_23 .outer-container.inputBlock.readonly.sc-tttx-standalone-input_1_9_23{pointer-events:none;user-select:none;color:gray}label.sc-tttx-standalone-input_1_9_23 .outer-container.inputBlock.radioBlock.sc-tttx-standalone-input_1_9_23{display:block}label.sc-tttx-standalone-input_1_9_23 .outer-container.inputInline.sc-tttx-standalone-input_1_9_23{display:flex;white-space:nowrap;align-items:center;margin:0}label.sc-tttx-standalone-input_1_9_23 .outer-container.inputInline.sc-tttx-standalone-input_1_9_23 input.sc-tttx-standalone-input_1_9_23{margin-top:0}label.sc-tttx-standalone-input_1_9_23 .secondarylabel.sc-tttx-standalone-input_1_9_23{color:#757575;font-size:14px;line-height:16.408px;font-weight:normal;display:flex;margin-top:4px}label.sc-tttx-standalone-input_1_9_23 .errorBubble.sc-tttx-standalone-input_1_9_23{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_23 .errorBubble.sc-tttx-standalone-input_1_9_23:not(.visible){display:none}label.sc-tttx-standalone-input_1_9_23 .errorBubble.sc-tttx-standalone-input_1_9_23 span.sc-tttx-standalone-input_1_9_23{color:#dc0000;font-size:16px;margin-right:4px}.material-symbols-rounded.sc-tttx-standalone-input_1_9_23{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_23-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_23", { class: "input-icon", icon: this.inputicon, color: this.inputiconcolor, onClick: this.handleInputIconClick.bind(this) })), this.iconleft && (h("tttx-icon_1_9_23", { 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_23", { 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
|
+
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}";
|
|
110
|
+
|
|
111
|
+
const TttxTag = class {
|
|
112
|
+
constructor(hostRef) {
|
|
113
|
+
registerInstance(this, hostRef);
|
|
114
|
+
this.text = undefined;
|
|
115
|
+
this.color = '#d5d5d5';
|
|
116
|
+
this.textColor = '#212121';
|
|
117
|
+
this.hasIcon = false;
|
|
118
|
+
this.icon = 'check_circle';
|
|
119
|
+
this.iconColor = '#397A4C';
|
|
120
|
+
this.iconSize = 24;
|
|
121
|
+
}
|
|
122
|
+
render() {
|
|
123
|
+
return (h(Host, null, h("div", { class: "tag", style: { 'background-color': this.color, color: this.textColor } }, this.hasIcon &&
|
|
124
|
+
h("tttx-icon_1_9_23", { role: "icon", class: "tag_icon", "aria-label": this.text, icon: this.icon, color: this.iconColor, size: this.iconSize }), h("span", null, this.text))));
|
|
125
|
+
}
|
|
126
|
+
};
|
|
127
|
+
TttxTag.style = tttxTagCss;
|
|
128
|
+
|
|
129
|
+
export { TttxLoadingSpinner as tttx_loading_spinner_1_9_23, TttxInput as tttx_standalone_input_1_9_23, TttxTag as tttx_tag_1_9_23 };
|
package/dist/esm/{tttx-multiselect-box_1_9_21.entry.js → tttx-multiselect-box_1_9_23.entry.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-88bd2f60.js';
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, F as Fragment, H as Host, g as getElement } from './index-88bd2f60.js';
|
|
2
2
|
import { p as purify, d as domSanitiserOptions } from './domsanitiser.options-38a67458.js';
|
|
3
3
|
import './_commonjsHelpers-9943807e.js';
|
|
4
4
|
|
|
5
|
-
const tttxMultiselectBoxCss = ".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}";
|
|
5
|
+
const tttxMultiselectBoxCss = ".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}.priority-pill{padding:6px 8px 6px 16px;display:flex;gap:8px}.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}";
|
|
6
6
|
|
|
7
7
|
const TttxMultiselectBox = class {
|
|
8
8
|
constructor(hostRef) {
|
|
@@ -22,6 +22,8 @@ const TttxMultiselectBox = class {
|
|
|
22
22
|
this.isLoading = undefined;
|
|
23
23
|
this.stopLocalSearch = undefined;
|
|
24
24
|
this.readOnly = undefined;
|
|
25
|
+
this.priorityLabel = 'Priority Group';
|
|
26
|
+
this.nonPriorityLabel = 'Non Priority Group';
|
|
25
27
|
this.open = false;
|
|
26
28
|
this.unsavedSelectedItems = [];
|
|
27
29
|
this.searchTerm = '';
|
|
@@ -101,21 +103,42 @@ const TttxMultiselectBox = class {
|
|
|
101
103
|
// Return the result of the search term check
|
|
102
104
|
return isSearchTermNotFound;
|
|
103
105
|
}
|
|
106
|
+
renderDropdownOptions(options) {
|
|
107
|
+
let usingPriority = false;
|
|
108
|
+
const priorityOptions = [];
|
|
109
|
+
const nonPriorityOptions = [];
|
|
110
|
+
for (const option of options) {
|
|
111
|
+
// using priority groups if any item has the option set, so set true for first found
|
|
112
|
+
usingPriority = usingPriority || option.prioritise === true;
|
|
113
|
+
// don't include if it doesn't match the search term when searching
|
|
114
|
+
if (this.searchEnabled && this.optionFoundInSearchTerm(option))
|
|
115
|
+
continue;
|
|
116
|
+
if (option.prioritise === true) {
|
|
117
|
+
priorityOptions.push(option);
|
|
118
|
+
continue;
|
|
119
|
+
}
|
|
120
|
+
nonPriorityOptions.push(option);
|
|
121
|
+
}
|
|
122
|
+
// render priority options at the top of the dropdown list
|
|
123
|
+
return (h(Fragment, null, usingPriority && priorityOptions.length > 0 &&
|
|
124
|
+
h(Fragment, null, h("tttx-tag_1_9_23", { class: 'priority-pill', text: this.priorityLabel, color: "#F0F0F0" }), priorityOptions.map((option) => this.dropdownOption(option))), nonPriorityOptions.length > 0 &&
|
|
125
|
+
h(Fragment, null, usingPriority &&
|
|
126
|
+
h("tttx-tag_1_9_23", { class: 'priority-pill', text: this.nonPriorityLabel, color: "#F0F0F0" }), nonPriorityOptions.map((option) => this.dropdownOption(option)))));
|
|
127
|
+
}
|
|
104
128
|
dropdownOption(option) {
|
|
105
129
|
// This is tested in e2e tests
|
|
106
130
|
/* istanbul ignore next */
|
|
107
|
-
const hideOption = this.searchEnabled && this.optionFoundInSearchTerm(option);
|
|
108
131
|
const checkboxIcon = option.selected ? 'check_box' : 'check_box_outline_blank';
|
|
109
132
|
const checkboxColor = option.selected ? 'blue' : 'grey';
|
|
110
133
|
if (option.html) {
|
|
111
134
|
const sanitisedHTML = purify.sanitize(option.html, domSanitiserOptions);
|
|
112
135
|
// This is tested in e2e tests
|
|
113
136
|
/* istanbul ignore next */
|
|
114
|
-
return (h("div", { class: `dropdown-option ${
|
|
137
|
+
return (h("div", { class: `dropdown-option ${option.selected ? 'selected' : ''}`, onClick: this.onItemSelected.bind(this, option), key: option.label }, h("tttx-icon_1_9_23", { icon: checkboxIcon, color: checkboxColor, class: 'checkbox-icon' }), h("div", { innerHTML: sanitisedHTML })));
|
|
115
138
|
}
|
|
116
139
|
// This is tested in e2e tests
|
|
117
140
|
/* istanbul ignore next */
|
|
118
|
-
return (h("div", { class: `dropdown-option ${
|
|
141
|
+
return (h("div", { class: `dropdown-option ${option.selected ? 'selected' : ''}`, onClick: this.onItemSelected.bind(this, option), key: option.label }, h("tttx-icon_1_9_23", { icon: checkboxIcon, color: checkboxColor, class: 'checkbox-icon' }), h("div", { class: "plaintext-option" }, option.label)));
|
|
119
142
|
}
|
|
120
143
|
// This is tested in e2e tests
|
|
121
144
|
/* istanbul ignore next */
|
|
@@ -145,11 +168,9 @@ const TttxMultiselectBox = class {
|
|
|
145
168
|
return;
|
|
146
169
|
const chevronIcon = this.open ? 'expand_less' : 'expand_more';
|
|
147
170
|
const readOnlyClass = this.readOnly ? 'dropdown-read-only' : '';
|
|
148
|
-
return (h(Host, { class: this.inline ? 'inline' : 'block' }, this.label && h("div", { class: "label" }, this.label), h("div", { tabindex: "0", class: "dropdown-container" }, h("div", { class: ['dropdown-selector', readOnlyClass].join(' '), onClick: this.onDropdownClicked.bind(this) }, this.dropdownSelectorContent(), h("div", { class: "dropdown-selector-chevron" }, h("tttx-
|
|
171
|
+
return (h(Host, { class: this.inline ? 'inline' : 'block' }, this.label && h("div", { class: "label" }, this.label), h("div", { tabindex: "0", class: "dropdown-container" }, h("div", { class: ['dropdown-selector', readOnlyClass].join(' '), onClick: this.onDropdownClicked.bind(this) }, this.dropdownSelectorContent(), h("div", { class: "dropdown-selector-chevron" }, h("tttx-icon_1_9_23", { icon: chevronIcon, color: "black" }))), this.open && (h("div", { class: "dropdown-body-container" }, h("div", { class: "dropdown-body", style: Object.assign({}, this.bodyOffset) }, this.searchEnabled &&
|
|
149
172
|
/* istanbul ignore next */
|
|
150
|
-
h("div", { class: "searchbox" }, h("tttx-standalone-
|
|
151
|
-
return this.dropdownOption(option);
|
|
152
|
-
}))), h("div", { class: 'footer' }, h("tttx-button_1_9_21", { design: "primary", onClick: this.applyChanges.bind(this) }, "Apply"), h("tttx-button_1_9_21", { onClick: this.onCancel.bind(this) }, "Cancel"))))))));
|
|
173
|
+
h("div", { class: "searchbox" }, h("tttx-standalone-input_1_9_23", { type: "text", placeholder: 'Search', label: "", required: true, showerrorbubble: false, iconleft: 'search', onInput: this.handleSearchInput.bind(this), inline: true })), h("div", { class: "dropdown-options-list" }, this.isLoading ? (h("tttx-loading-spinner_1_9_23", { class: 'loading-style' })) : (this.renderDropdownOptions(this.unsavedSelectedItems))), h("div", { class: 'footer' }, h("tttx-button_1_9_23", { design: "primary", onClick: this.applyChanges.bind(this) }, "Apply"), h("tttx-button_1_9_23", { onClick: this.onCancel.bind(this) }, "Cancel"))))))));
|
|
153
174
|
}
|
|
154
175
|
get el() { return getElement(this); }
|
|
155
176
|
static get watchers() { return {
|
|
@@ -158,4 +179,4 @@ const TttxMultiselectBox = class {
|
|
|
158
179
|
};
|
|
159
180
|
TttxMultiselectBox.style = tttxMultiselectBoxCss;
|
|
160
181
|
|
|
161
|
-
export { TttxMultiselectBox as
|
|
182
|
+
export { TttxMultiselectBox as tttx_multiselect_box_1_9_23 };
|
package/dist/esm/{tttx-percentage-bar_1_9_21.entry.js → tttx-percentage-bar_1_9_23.entry.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host } from './index-88bd2f60.js';
|
|
2
2
|
|
|
3
|
-
const tttxPercentageBarCss = ".sc-tttx-percentage-
|
|
3
|
+
const tttxPercentageBarCss = ".sc-tttx-percentage-bar_1_9_23-h{display:block}.progress.sc-tttx-percentage-bar_1_9_23{width:100%;background-color:#dbdbdb}.progress.sc-tttx-percentage-bar_1_9_23 .bar.sc-tttx-percentage-bar_1_9_23{height:20px}";
|
|
4
4
|
|
|
5
5
|
const TttxPercentageBar = class {
|
|
6
6
|
constructor(hostRef) {
|
|
@@ -58,4 +58,4 @@ const TttxPercentageBar = class {
|
|
|
58
58
|
};
|
|
59
59
|
TttxPercentageBar.style = tttxPercentageBarCss;
|
|
60
60
|
|
|
61
|
-
export { TttxPercentageBar as
|
|
61
|
+
export { TttxPercentageBar as tttx_percentage_bar_1_9_23 };
|