@3t-transform/threeteeui 1.9.71 → 1.9.73
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-action-dropdown_1_9_71.cjs.entry.js → tttx-action-dropdown_1_9_73.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-button-v2_1_9_71.cjs.entry.js → tttx-button-v2_1_9_73.cjs.entry.js} +4 -4
- package/dist/cjs/{tttx-button_1_9_71.cjs.entry.js → tttx-button_1_9_73.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-chart_1_9_71.cjs.entry.js → tttx-chart_1_9_73.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-checkbox-group-caption_1_9_71.cjs.entry.js → tttx-checkbox-group-caption_1_9_73.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox-group-heading_1_9_71.cjs.entry.js → tttx-checkbox-group-heading_1_9_73.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox-group_1_9_71.cjs.entry.js → tttx-checkbox-group_1_9_73.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox_1_9_71.cjs.entry.js → tttx-checkbox_1_9_73.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-comments_1_9_71.cjs.entry.js → tttx-comments_1_9_73.cjs.entry.js} +4 -4
- package/dist/cjs/{tttx-data-pattern_1_9_71.cjs.entry.js → tttx-data-pattern_1_9_73.cjs.entry.js} +5 -5
- package/dist/cjs/{tttx-datacard_1_9_71.cjs.entry.js → tttx-datacard_1_9_73.cjs.entry.js} +4 -4
- package/dist/cjs/tttx-date-range-picker.cjs.entry.js +1 -1
- package/dist/cjs/{tttx-dialog-box_1_9_71.cjs.entry.js → tttx-dialog-box_1_9_73.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-dialog_1_9_71.cjs.entry.js → tttx-dialog_1_9_73.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-expander_1_9_71.cjs.entry.js → tttx-expander_1_9_73.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-filter_1_9_71_4.cjs.entry.js → tttx-filter_1_9_73_4.cjs.entry.js} +9 -9
- package/dist/cjs/{tttx-form_1_9_71.cjs.entry.js → tttx-form_1_9_73.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-graph_1_9_71.cjs.entry.js → tttx-graph_1_9_73.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-icon_1_9_71.cjs.entry.js → tttx-icon_1_9_73.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-keyvalue-block_1_9_71.cjs.entry.js → tttx-keyvalue-block_1_9_73.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-loading-spinner_1_9_71_3.cjs.entry.js → tttx-loading-spinner_1_9_73_3.cjs.entry.js} +6 -6
- package/dist/cjs/{tttx-multiselect-box_1_9_71.cjs.entry.js → tttx-multiselect-box_1_9_73.cjs.entry.js} +7 -7
- package/dist/cjs/{tttx-percentage-bar_1_9_71.cjs.entry.js → tttx-percentage-bar_1_9_73.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-qrcode_1_9_71.cjs.entry.js → tttx-qrcode_1_9_73.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-range-slider_1_9_71.cjs.entry.js → tttx-range-slider_1_9_73.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-select-box_1_9_71.cjs.entry.js → tttx-select-box_1_9_73.cjs.entry.js} +6 -6
- package/dist/cjs/{tttx-skeleton_loader_1_9_71.cjs.entry.js → tttx-skeleton_loader_1_9_73.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-table_1_9_71.cjs.entry.js → tttx-table_1_9_73.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-tabs_1_9_71.cjs.entry.js → tttx-tabs_1_9_73.cjs.entry.js} +5 -5
- package/dist/cjs/tttx-tag-v2_1_9_73.cjs.entry.js +82 -0
- package/dist/cjs/{tttx-textarea_1_9_71.cjs.entry.js → tttx-textarea_1_9_73.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-toggle_1_9_71.cjs.entry.js → tttx-toggle_1_9_73.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-tooltip_1_9_71.cjs.entry.js → tttx-tooltip_1_9_73.cjs.entry.js} +1 -1
- package/dist/cjs/tttx-tree-view_1_9_73.cjs.entry.js +221 -0
- package/dist/cjs/tttx.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/atoms/tttx-button/tttx-button.js +2 -2
- package/dist/collection/components/atoms/tttx-button/tttx-button.stories.js +24 -24
- package/dist/collection/components/atoms/tttx-button-v2/tttx-button-v2.css +1 -1
- package/dist/collection/components/atoms/tttx-button-v2/tttx-button-v2.js +3 -3
- package/dist/collection/components/atoms/tttx-button-v2/tttx-button-v2.stories.js +15 -15
- 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 +2 -2
- 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-skeleton-loader/tttx-skeleton-loader.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-tag-v2/tttx-tag-v2.css +250 -0
- package/dist/collection/components/atoms/tttx-tag-v2/tttx-tag-v2.js +281 -0
- package/dist/collection/components/atoms/tttx-tag-v2/tttx-tag-v2.stories.js +84 -0
- 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-action-dropdown/tttx-action-dropdown.js +2 -2
- package/dist/collection/components/molecules/tttx-action-dropdown/tttx-action-dropdown.stories.js +1 -1
- package/dist/collection/components/molecules/tttx-chart/tttx-chart.js +3 -3
- package/dist/collection/components/molecules/tttx-chart/tttx-chart.stories.js +4 -4
- 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 +4 -4
- package/dist/collection/components/molecules/tttx-comments/tttx-comments.stories.js +4 -4
- package/dist/collection/components/molecules/tttx-date-range-picker/tttx-date-range-picker.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 +8 -8
- 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.js +7 -7
- package/dist/collection/components/molecules/tttx-multiselect-box/tttx-multiselect-box.stories.js +37 -37
- package/dist/collection/components/molecules/tttx-range-slider/tttx-range-slider.js +2 -2
- package/dist/collection/components/molecules/tttx-range-slider/tttx-range-slider.stories.js +3 -3
- package/dist/collection/components/molecules/tttx-select-box/tttx-select-box.js +6 -6
- package/dist/collection/components/molecules/tttx-select-box/tttx-select-box.stories.js +22 -22
- 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 +4 -4
- 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-tooltip/tttx-tooltip.js +1 -1
- package/dist/collection/components/molecules/tttx-tooltip/tttx-tootip.stories.js +2 -2
- package/dist/collection/components/molecules/tttx-tree-view/tttx-tree-view.css +129 -6
- package/dist/collection/components/molecules/tttx-tree-view/tttx-tree-view.js +33 -19
- package/dist/collection/components/molecules/tttx-tree-view/tttx-tree-view.stories.js +446 -23
- 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 +38 -37
- package/dist/components/index.js +38 -37
- package/dist/components/tttx-action-dropdown_1_9_73.d.ts +11 -0
- package/dist/components/{tttx-action-dropdown_1_9_71.js → tttx-action-dropdown_1_9_73.js} +7 -7
- package/dist/components/{tttx-checkbox_1_9_71.d.ts → tttx-button-v2_1_9_73.d.ts} +4 -4
- package/dist/components/{tttx-button-v2_1_9_71.js → tttx-button-v2_1_9_73.js} +9 -9
- package/dist/components/tttx-button.js +5 -5
- package/dist/components/{tttx-dialog_1_9_71.d.ts → tttx-button_1_9_73.d.ts} +4 -4
- package/dist/components/{tttx-button_1_9_71.js → tttx-button_1_9_73.js} +2 -2
- package/dist/components/{tttx-table_1_9_71.d.ts → tttx-chart_1_9_73.d.ts} +4 -4
- package/dist/components/{tttx-chart_1_9_71.js → tttx-chart_1_9_73.js} +10 -10
- package/dist/components/tttx-checkbox-group-caption_1_9_73.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group-caption_1_9_71.js → tttx-checkbox-group-caption_1_9_73.js} +5 -5
- package/dist/components/tttx-checkbox-group-heading_1_9_73.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group-heading_1_9_71.js → tttx-checkbox-group-heading_1_9_73.js} +5 -5
- package/dist/components/tttx-checkbox-group_1_9_73.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group_1_9_71.js → tttx-checkbox-group_1_9_73.js} +5 -5
- package/dist/components/{tttx-button-v2_1_9_71.d.ts → tttx-checkbox_1_9_73.d.ts} +4 -4
- package/dist/components/{tttx-checkbox_1_9_71.js → tttx-checkbox_1_9_73.js} +7 -7
- package/dist/components/tttx-comments_1_9_73.d.ts +11 -0
- package/dist/components/{tttx-comments_1_9_71.js → tttx-comments_1_9_73.js} +9 -9
- package/dist/components/tttx-data-pattern_1_9_73.d.ts +11 -0
- package/dist/components/{tttx-data-pattern_1_9_71.js → tttx-data-pattern_1_9_73.js} +16 -16
- package/dist/components/tttx-datacard_1_9_73.d.ts +11 -0
- package/dist/components/{tttx-datacard_1_9_71.js → tttx-datacard_1_9_73.js} +10 -10
- package/dist/components/tttx-date-range-picker.js +3 -3
- package/dist/components/tttx-dialog-box_1_9_73.d.ts +11 -0
- package/dist/components/{tttx-dialog-box_1_9_71.js → tttx-dialog-box_1_9_73.js} +9 -9
- package/dist/components/{tttx-filter_1_9_71.d.ts → tttx-dialog_1_9_73.d.ts} +4 -4
- package/dist/components/{tttx-dialog_1_9_71.js → tttx-dialog_1_9_73.js} +8 -8
- package/dist/components/tttx-expander_1_9_73.d.ts +11 -0
- package/dist/components/{tttx-expander_1_9_71.js → tttx-expander_1_9_73.js} +7 -7
- package/dist/components/tttx-filter.js +6 -6
- package/dist/components/{tttx-button_1_9_71.d.ts → tttx-filter_1_9_73.d.ts} +4 -4
- package/dist/components/{tttx-filter_1_9_71.js → tttx-filter_1_9_73.js} +2 -2
- package/dist/components/{tttx-form_1_9_71.d.ts → tttx-form_1_9_73.d.ts} +4 -4
- package/dist/components/{tttx-form_1_9_71.js → tttx-form_1_9_73.js} +11 -11
- package/dist/components/tttx-graph.js +3 -3
- package/dist/components/{tttx-graph_1_9_71.d.ts → tttx-graph_1_9_73.d.ts} +4 -4
- package/dist/components/{tttx-graph_1_9_71.js → tttx-graph_1_9_73.js} +2 -2
- package/dist/components/tttx-icon.js +3 -3
- package/dist/components/{tttx-list_1_9_71.d.ts → tttx-icon_1_9_73.d.ts} +4 -4
- package/dist/components/{tttx-icon_1_9_71.js → tttx-icon_1_9_73.js} +2 -2
- package/dist/components/tttx-keyvalue-block_1_9_73.d.ts +11 -0
- package/dist/components/{tttx-keyvalue-block_1_9_71.js → tttx-keyvalue-block_1_9_73.js} +5 -5
- package/dist/components/tttx-list.js +6 -6
- package/dist/components/{tttx-icon_1_9_71.d.ts → tttx-list_1_9_73.d.ts} +4 -4
- package/dist/components/{tttx-list_1_9_71.js → tttx-list_1_9_73.js} +2 -2
- package/dist/components/tttx-loading-spinner.js +3 -3
- package/dist/components/tttx-loading-spinner_1_9_73.d.ts +11 -0
- package/dist/components/{tttx-loading-spinner_1_9_71.js → tttx-loading-spinner_1_9_73.js} +2 -2
- package/dist/components/tttx-multiselect-box_1_9_73.d.ts +11 -0
- package/dist/components/{tttx-multiselect-box_1_9_71.js → tttx-multiselect-box_1_9_73.js} +16 -16
- package/dist/components/tttx-percentage-bar_1_9_73.d.ts +11 -0
- package/dist/components/{tttx-percentage-bar_1_9_71.js → tttx-percentage-bar_1_9_73.js} +6 -6
- package/dist/components/{tttx-qrcode_1_9_71.d.ts → tttx-qrcode_1_9_73.d.ts} +4 -4
- package/dist/components/{tttx-qrcode_1_9_71.js → tttx-qrcode_1_9_73.js} +5 -5
- package/dist/components/tttx-range-slider_1_9_73.d.ts +11 -0
- package/dist/components/{tttx-range-slider_1_9_71.js → tttx-range-slider_1_9_73.js} +6 -6
- package/dist/components/tttx-select-box.js +12 -12
- package/dist/components/tttx-select-box_1_9_73.d.ts +11 -0
- package/dist/components/{tttx-select-box_1_9_71.js → tttx-select-box_1_9_73.js} +2 -2
- package/dist/components/tttx-skeleton_loader_1_9_73.d.ts +11 -0
- package/dist/components/{tttx-skeleton_loader_1_9_71.js → tttx-skeleton_loader_1_9_73.js} +5 -5
- package/dist/components/tttx-sorter.js +5 -5
- package/dist/components/tttx-sorter_1_9_73.d.ts +11 -0
- package/dist/components/{tttx-sorter_1_9_71.js → tttx-sorter_1_9_73.js} +2 -2
- package/dist/components/tttx-standalone-input.js +6 -6
- package/dist/components/tttx-standalone-input_1_9_73.d.ts +11 -0
- package/dist/components/{tttx-standalone-input_1_9_71.js → tttx-standalone-input_1_9_73.js} +2 -2
- package/dist/components/{tttx-chart_1_9_71.d.ts → tttx-table_1_9_73.d.ts} +4 -4
- package/dist/components/{tttx-table_1_9_71.js → tttx-table_1_9_73.js} +5 -5
- package/dist/components/{tttx-tabs_1_9_71.d.ts → tttx-tabs_1_9_73.d.ts} +4 -4
- package/dist/components/{tttx-tabs_1_9_71.js → tttx-tabs_1_9_73.js} +10 -10
- package/dist/components/tttx-tag-v2_1_9_73.d.ts +11 -0
- package/dist/components/tttx-tag-v2_1_9_73.js +114 -0
- package/dist/components/tttx-tag.js +5 -5
- package/dist/components/{tttx-tag_1_9_71.d.ts → tttx-tag_1_9_73.d.ts} +4 -4
- package/dist/components/{tttx-tag_1_9_71.js → tttx-tag_1_9_73.js} +2 -2
- package/dist/components/tttx-textarea_1_9_73.d.ts +11 -0
- package/dist/components/{tttx-textarea_1_9_71.js → tttx-textarea_1_9_73.js} +6 -6
- package/dist/components/tttx-toggle_1_9_73.d.ts +11 -0
- package/dist/components/{tttx-toggle_1_9_71.js → tttx-toggle_1_9_73.js} +5 -5
- package/dist/components/tttx-toolbar.js +3 -3
- package/dist/components/tttx-toolbar_1_9_73.d.ts +11 -0
- package/dist/components/{tttx-toolbar_1_9_71.js → tttx-toolbar_1_9_73.js} +2 -2
- package/dist/components/tttx-tooltip_1_9_73.d.ts +11 -0
- package/dist/components/{tttx-tooltip_1_9_71.js → tttx-tooltip_1_9_73.js} +5 -5
- package/dist/components/tttx-tree-view_1_9_73.d.ts +11 -0
- package/dist/components/tttx-tree-view_1_9_73.js +249 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{tttx-action-dropdown_1_9_71.entry.js → tttx-action-dropdown_1_9_73.entry.js} +2 -2
- package/dist/esm/{tttx-button-v2_1_9_71.entry.js → tttx-button-v2_1_9_73.entry.js} +4 -4
- package/dist/esm/{tttx-button_1_9_71.entry.js → tttx-button_1_9_73.entry.js} +2 -2
- package/dist/esm/{tttx-chart_1_9_71.entry.js → tttx-chart_1_9_73.entry.js} +3 -3
- package/dist/esm/{tttx-checkbox-group-caption_1_9_71.entry.js → tttx-checkbox-group-caption_1_9_73.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox-group-heading_1_9_71.entry.js → tttx-checkbox-group-heading_1_9_73.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox-group_1_9_71.entry.js → tttx-checkbox-group_1_9_73.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox_1_9_71.entry.js → tttx-checkbox_1_9_73.entry.js} +2 -2
- package/dist/esm/{tttx-comments_1_9_71.entry.js → tttx-comments_1_9_73.entry.js} +4 -4
- package/dist/esm/{tttx-data-pattern_1_9_71.entry.js → tttx-data-pattern_1_9_73.entry.js} +5 -5
- package/dist/esm/{tttx-datacard_1_9_71.entry.js → tttx-datacard_1_9_73.entry.js} +4 -4
- package/dist/esm/tttx-date-range-picker.entry.js +1 -1
- package/dist/esm/{tttx-dialog-box_1_9_71.entry.js → tttx-dialog-box_1_9_73.entry.js} +3 -3
- package/dist/esm/{tttx-dialog_1_9_71.entry.js → tttx-dialog_1_9_73.entry.js} +2 -2
- package/dist/esm/{tttx-expander_1_9_71.entry.js → tttx-expander_1_9_73.entry.js} +2 -2
- package/dist/esm/{tttx-filter_1_9_71_4.entry.js → tttx-filter_1_9_73_4.entry.js} +6 -6
- package/dist/esm/{tttx-form_1_9_71.entry.js → tttx-form_1_9_73.entry.js} +2 -2
- package/dist/esm/{tttx-graph_1_9_71.entry.js → tttx-graph_1_9_73.entry.js} +1 -1
- package/dist/esm/{tttx-icon_1_9_71.entry.js → tttx-icon_1_9_73.entry.js} +1 -1
- package/dist/esm/{tttx-keyvalue-block_1_9_71.entry.js → tttx-keyvalue-block_1_9_73.entry.js} +1 -1
- package/dist/esm/{tttx-loading-spinner_1_9_71_3.entry.js → tttx-loading-spinner_1_9_73_3.entry.js} +4 -4
- package/dist/esm/{tttx-multiselect-box_1_9_71.entry.js → tttx-multiselect-box_1_9_73.entry.js} +7 -7
- package/dist/esm/{tttx-percentage-bar_1_9_71.entry.js → tttx-percentage-bar_1_9_73.entry.js} +2 -2
- package/dist/esm/{tttx-qrcode_1_9_71.entry.js → tttx-qrcode_1_9_73.entry.js} +1 -1
- package/dist/esm/{tttx-range-slider_1_9_71.entry.js → tttx-range-slider_1_9_73.entry.js} +2 -2
- package/dist/esm/{tttx-select-box_1_9_71.entry.js → tttx-select-box_1_9_73.entry.js} +6 -6
- package/dist/esm/{tttx-skeleton_loader_1_9_71.entry.js → tttx-skeleton_loader_1_9_73.entry.js} +1 -1
- package/dist/esm/{tttx-table_1_9_71.entry.js → tttx-table_1_9_73.entry.js} +1 -1
- package/dist/esm/{tttx-tabs_1_9_71.entry.js → tttx-tabs_1_9_73.entry.js} +5 -5
- package/dist/esm/tttx-tag-v2_1_9_73.entry.js +78 -0
- package/dist/esm/{tttx-textarea_1_9_71.entry.js → tttx-textarea_1_9_73.entry.js} +2 -2
- package/dist/esm/{tttx-toggle_1_9_71.entry.js → tttx-toggle_1_9_73.entry.js} +1 -1
- package/dist/esm/{tttx-tooltip_1_9_71.entry.js → tttx-tooltip_1_9_73.entry.js} +1 -1
- package/dist/esm/tttx-tree-view_1_9_73.entry.js +217 -0
- package/dist/esm/tttx.js +1 -1
- package/dist/tttx/p-13272658.entry.js +1 -1
- package/dist/tttx/p-1f75b5d3.entry.js +1 -1
- package/dist/tttx/p-32cf4137.entry.js +1 -1
- package/dist/tttx/p-36edf716.entry.js +1 -1
- package/dist/tttx/p-384f7c70.entry.js +1 -0
- package/dist/tttx/p-47fadd24.entry.js +1 -1
- package/dist/tttx/p-4c63f7da.entry.js +1 -1
- package/dist/tttx/p-4ddf7946.entry.js +1 -1
- package/dist/tttx/p-5765b7da.entry.js +1 -1
- package/dist/tttx/p-59533ed7.entry.js +1 -0
- package/dist/tttx/p-5b7c20ff.entry.js +1 -1
- package/dist/tttx/p-5e14d6aa.entry.js +1 -1
- package/dist/tttx/p-620b18f6.entry.js +1 -1
- package/dist/tttx/p-66340f2f.entry.js +1 -1
- package/dist/tttx/p-71bb2f21.entry.js +1 -1
- package/dist/tttx/p-74a8c484.entry.js +1 -1
- package/dist/tttx/p-789defe0.entry.js +1 -1
- package/dist/tttx/p-86cdb616.entry.js +1 -1
- package/dist/tttx/p-8beccdc9.entry.js +1 -1
- package/dist/tttx/p-969a4944.entry.js +1 -1
- package/dist/tttx/p-a2979a57.entry.js +1 -1
- package/dist/tttx/p-a50d9105.entry.js +1 -1
- package/dist/tttx/p-a8526f90.entry.js +1 -1
- package/dist/tttx/p-b1a24af0.entry.js +1 -0
- package/dist/tttx/p-b2a0053a.entry.js +1 -1
- package/dist/tttx/p-b4fe2853.entry.js +1 -1
- package/dist/tttx/{p-18fce688.entry.js → p-b69ae246.entry.js} +1 -1
- package/dist/tttx/p-b97e0e3c.entry.js +1 -1
- package/dist/tttx/p-c33f9022.entry.js +1 -1
- package/dist/tttx/p-ca58259a.entry.js +1 -1
- package/dist/tttx/p-ee41fe8f.entry.js +1 -1
- package/dist/tttx/p-f30833e3.entry.js +1 -1
- package/dist/tttx/p-f69b4685.entry.js +1 -1
- package/dist/tttx/p-ff7edd81.entry.js +1 -1
- package/dist/tttx/tttx.esm.js +1 -1
- package/dist/types/components/atoms/tttx-tag-v2/tttx-tag-v2.d.ts +15 -0
- package/dist/types/components/atoms/tttx-tag-v2/tttx-tag-v2.stories.d.ts +48 -0
- package/dist/types/components/molecules/tttx-select-box/tttx-select-box.d.ts +1 -1
- package/dist/types/components/molecules/tttx-standalone-input/tttx-standalone-input.d.ts +2 -2
- package/dist/types/components/molecules/tttx-tabs/interfaces.d.ts +1 -0
- package/dist/types/components/molecules/tttx-textarea/tttx-textarea.d.ts +2 -2
- package/dist/types/components/molecules/tttx-tree-view/tttx-tree-view.d.ts +1 -1
- package/dist/types/components.d.ts +475 -440
- package/package.json +2 -2
- package/dist/cjs/tttx-tree-view_1_9_71.cjs.entry.js +0 -207
- package/dist/components/tttx-action-dropdown_1_9_71.d.ts +0 -11
- package/dist/components/tttx-checkbox-group-caption_1_9_71.d.ts +0 -11
- package/dist/components/tttx-checkbox-group-heading_1_9_71.d.ts +0 -11
- package/dist/components/tttx-checkbox-group_1_9_71.d.ts +0 -11
- package/dist/components/tttx-comments_1_9_71.d.ts +0 -11
- package/dist/components/tttx-data-pattern_1_9_71.d.ts +0 -11
- package/dist/components/tttx-datacard_1_9_71.d.ts +0 -11
- package/dist/components/tttx-dialog-box_1_9_71.d.ts +0 -11
- package/dist/components/tttx-expander_1_9_71.d.ts +0 -11
- package/dist/components/tttx-keyvalue-block_1_9_71.d.ts +0 -11
- package/dist/components/tttx-loading-spinner_1_9_71.d.ts +0 -11
- package/dist/components/tttx-multiselect-box_1_9_71.d.ts +0 -11
- package/dist/components/tttx-percentage-bar_1_9_71.d.ts +0 -11
- package/dist/components/tttx-range-slider_1_9_71.d.ts +0 -11
- package/dist/components/tttx-select-box_1_9_71.d.ts +0 -11
- package/dist/components/tttx-skeleton_loader_1_9_71.d.ts +0 -11
- package/dist/components/tttx-sorter_1_9_71.d.ts +0 -11
- package/dist/components/tttx-standalone-input_1_9_71.d.ts +0 -11
- package/dist/components/tttx-textarea_1_9_71.d.ts +0 -11
- package/dist/components/tttx-toggle_1_9_71.d.ts +0 -11
- package/dist/components/tttx-toolbar_1_9_71.d.ts +0 -11
- package/dist/components/tttx-tooltip_1_9_71.d.ts +0 -11
- package/dist/components/tttx-tree-view_1_9_71.d.ts +0 -11
- package/dist/components/tttx-tree-view_1_9_71.js +0 -235
- package/dist/esm/tttx-tree-view_1_9_71.entry.js +0 -203
- package/dist/tttx/p-8392774e.entry.js +0 -1
- package/dist/tttx/p-d1ee41dd.entry.js +0 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { Components, JSX } from "../types/components";
|
|
2
2
|
|
|
3
|
-
interface
|
|
4
|
-
export const
|
|
5
|
-
prototype:
|
|
6
|
-
new ():
|
|
3
|
+
interface TttxTag_1_9_73 extends Components.TttxTag_1_9_73, HTMLElement {}
|
|
4
|
+
export const TttxTag_1_9_73: {
|
|
5
|
+
prototype: TttxTag_1_9_73;
|
|
6
|
+
new (): TttxTag_1_9_73;
|
|
7
7
|
};
|
|
8
8
|
/**
|
|
9
9
|
* Used to define this component and all nested components recursively.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { T as TttxTag, d as defineCustomElement$1 } from './tttx-tag.js';
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const TttxTag_1_9_73 = TttxTag;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
5
5
|
|
|
6
|
-
export {
|
|
6
|
+
export { TttxTag_1_9_73, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface TttxTextarea_1_9_73 extends Components.TttxTextarea_1_9_73, HTMLElement {}
|
|
4
|
+
export const TttxTextarea_1_9_73: {
|
|
5
|
+
prototype: TttxTextarea_1_9_73;
|
|
6
|
+
new (): TttxTextarea_1_9_73;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
2
|
|
|
3
|
-
const tttxTextareaCss = ".material-symbols-rounded.sc-tttx-
|
|
3
|
+
const tttxTextareaCss = ".material-symbols-rounded.sc-tttx-textarea_1_9_73{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.sc-tttx-textarea_1_9_73-h{display:block}label.sc-tttx-textarea_1_9_73{font-weight:500;font-size:16px;line-height:18.752px;color:#212121}label.sc-tttx-textarea_1_9_73 .textarea-container.sc-tttx-textarea_1_9_73{position:relative}label.sc-tttx-textarea_1_9_73 .textarea-container.sc-tttx-textarea_1_9_73 textarea.sc-tttx-textarea_1_9_73{font-family:\"Roboto\", serif;box-sizing:border-box;width:100%;padding:9px 16px;font-size:16px;line-height:18.752px;border:1px solid #d5d5d5;border-radius:4px;margin-top:8px;resize:none}label.sc-tttx-textarea_1_9_73 .textarea-container.sc-tttx-textarea_1_9_73 textarea.no-label.sc-tttx-textarea_1_9_73{margin-top:0}label.sc-tttx-textarea_1_9_73 .textarea-container.sc-tttx-textarea_1_9_73 textarea.sc-tttx-textarea_1_9_73~.errorBubble.sc-tttx-textarea_1_9_73{font-size:14px;line-height:16.408px;font-weight:normal;width:100%;font-family:\"Roboto\", sans-serif;color:#dc0000;display:flex;align-content:center;align-items:center;justify-items:center;margin-top:4px}label.sc-tttx-textarea_1_9_73 .textarea-container.sc-tttx-textarea_1_9_73 textarea.sc-tttx-textarea_1_9_73~.errorBubble.sc-tttx-textarea_1_9_73:not(.visible){display:none}label.sc-tttx-textarea_1_9_73 .textarea-container.sc-tttx-textarea_1_9_73 textarea.sc-tttx-textarea_1_9_73~.errorBubble.sc-tttx-textarea_1_9_73 span.sc-tttx-textarea_1_9_73{color:#dc0000;font-size:16px;margin-right:4px}label.sc-tttx-textarea_1_9_73 .textarea-container.sc-tttx-textarea_1_9_73 textarea.sc-tttx-textarea_1_9_73:focus{border-color:#1479c6}label.sc-tttx-textarea_1_9_73 .textarea-container.sc-tttx-textarea_1_9_73 textarea.sc-tttx-textarea_1_9_73:focus-visible{outline:none}label.sc-tttx-textarea_1_9_73 .secondarylabel.sc-tttx-textarea_1_9_73{color:#757575;font-size:14px;line-height:16.408px;font-weight:normal;display:flex;margin-top:4px}label.sc-tttx-textarea_1_9_73 .optional.sc-tttx-textarea_1_9_73{color:#757575;font-weight:normal}";
|
|
4
4
|
|
|
5
5
|
const TttxTextarea = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
6
6
|
constructor() {
|
|
@@ -51,7 +51,7 @@ const TttxTextarea = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
51
51
|
return (h(Host, null, h("label", null, this.label, !this.required ? h("span", { class: "optional" }, "\u00A0(optional)") : '', h("div", { class: "textarea-container" }, h("textarea", { rows: this.rows, class: classNames, autofocus: this.textareaautofocus, enterkeyhint: this.inputkeyhint, tabindex: this.inputindex, title: this.inputtitle, disabled: this.disabled, maxlength: this.maxlength, name: this.name, placeholder: this.placeholder, readonly: this.readonly, required: this.required, value: this.value, onBlur: this.handleBlur.bind(this), onFocus: this.handleFocus.bind(this), onInput: this.handleChange.bind(this), onInvalid: this.handleInvalid.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 validationicon" }, "warning"), " ", this.errormsg))))));
|
|
52
52
|
}
|
|
53
53
|
static get style() { return tttxTextareaCss; }
|
|
54
|
-
}, [2, "tttx-
|
|
54
|
+
}, [2, "tttx-textarea_1_9_73", {
|
|
55
55
|
"label": [1],
|
|
56
56
|
"secondarylabel": [1],
|
|
57
57
|
"showerrormsg": [4],
|
|
@@ -74,9 +74,9 @@ function defineCustomElement$1() {
|
|
|
74
74
|
if (typeof customElements === "undefined") {
|
|
75
75
|
return;
|
|
76
76
|
}
|
|
77
|
-
const components = ["tttx-
|
|
77
|
+
const components = ["tttx-textarea_1_9_73"];
|
|
78
78
|
components.forEach(tagName => { switch (tagName) {
|
|
79
|
-
case "tttx-
|
|
79
|
+
case "tttx-textarea_1_9_73":
|
|
80
80
|
if (!customElements.get(tagName)) {
|
|
81
81
|
customElements.define(tagName, TttxTextarea);
|
|
82
82
|
}
|
|
@@ -84,7 +84,7 @@ function defineCustomElement$1() {
|
|
|
84
84
|
} });
|
|
85
85
|
}
|
|
86
86
|
|
|
87
|
-
const
|
|
87
|
+
const TttxTextarea_1_9_73 = TttxTextarea;
|
|
88
88
|
const defineCustomElement = defineCustomElement$1;
|
|
89
89
|
|
|
90
|
-
export {
|
|
90
|
+
export { TttxTextarea_1_9_73, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface TttxToggle_1_9_73 extends Components.TttxToggle_1_9_73, HTMLElement {}
|
|
4
|
+
export const TttxToggle_1_9_73: {
|
|
5
|
+
prototype: TttxToggle_1_9_73;
|
|
6
|
+
new (): TttxToggle_1_9_73;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -33,7 +33,7 @@ const TttxToggle = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
33
33
|
return (h("div", { id: 'toggle-switch' }, checkbox, h("div", { id: 'toggle-body' })));
|
|
34
34
|
}
|
|
35
35
|
static get style() { return tttxToggleCss; }
|
|
36
|
-
}, [1, "tttx-
|
|
36
|
+
}, [1, "tttx-toggle_1_9_73", {
|
|
37
37
|
"initialstate": [8],
|
|
38
38
|
"_state": [32]
|
|
39
39
|
}]);
|
|
@@ -41,9 +41,9 @@ function defineCustomElement$1() {
|
|
|
41
41
|
if (typeof customElements === "undefined") {
|
|
42
42
|
return;
|
|
43
43
|
}
|
|
44
|
-
const components = ["tttx-
|
|
44
|
+
const components = ["tttx-toggle_1_9_73"];
|
|
45
45
|
components.forEach(tagName => { switch (tagName) {
|
|
46
|
-
case "tttx-
|
|
46
|
+
case "tttx-toggle_1_9_73":
|
|
47
47
|
if (!customElements.get(tagName)) {
|
|
48
48
|
customElements.define(tagName, TttxToggle);
|
|
49
49
|
}
|
|
@@ -51,7 +51,7 @@ function defineCustomElement$1() {
|
|
|
51
51
|
} });
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
const
|
|
54
|
+
const TttxToggle_1_9_73 = TttxToggle;
|
|
55
55
|
const defineCustomElement = defineCustomElement$1;
|
|
56
56
|
|
|
57
|
-
export {
|
|
57
|
+
export { TttxToggle_1_9_73, defineCustomElement };
|
|
@@ -28,7 +28,7 @@ const TttxToolbar = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
28
28
|
return (h(Host, null, h("div", { class: `container ${this.border ? 'bordered' : ''} ${this.viewSize}` }, h("slot", { name: 'before' }), h("slot", { name: 'center' }), h("slot", { name: 'after' }))));
|
|
29
29
|
}
|
|
30
30
|
static get style() { return tttxToolbarCss; }
|
|
31
|
-
}, [1, "tttx-
|
|
31
|
+
}, [1, "tttx-toolbar_1_9_73", {
|
|
32
32
|
"border": [4],
|
|
33
33
|
"viewSize": [32]
|
|
34
34
|
}, [[9, "resize", "handleResize"]]]);
|
|
@@ -36,9 +36,9 @@ function defineCustomElement() {
|
|
|
36
36
|
if (typeof customElements === "undefined") {
|
|
37
37
|
return;
|
|
38
38
|
}
|
|
39
|
-
const components = ["tttx-
|
|
39
|
+
const components = ["tttx-toolbar_1_9_73"];
|
|
40
40
|
components.forEach(tagName => { switch (tagName) {
|
|
41
|
-
case "tttx-
|
|
41
|
+
case "tttx-toolbar_1_9_73":
|
|
42
42
|
if (!customElements.get(tagName)) {
|
|
43
43
|
customElements.define(tagName, TttxToolbar);
|
|
44
44
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface TttxToolbar_1_9_73 extends Components.TttxToolbar_1_9_73, HTMLElement {}
|
|
4
|
+
export const TttxToolbar_1_9_73: {
|
|
5
|
+
prototype: TttxToolbar_1_9_73;
|
|
6
|
+
new (): TttxToolbar_1_9_73;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { T as TttxToolbar, d as defineCustomElement$1 } from './tttx-toolbar.js';
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const TttxToolbar_1_9_73 = TttxToolbar;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
5
5
|
|
|
6
|
-
export {
|
|
6
|
+
export { TttxToolbar_1_9_73, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface TttxTooltip_1_9_73 extends Components.TttxTooltip_1_9_73, HTMLElement {}
|
|
4
|
+
export const TttxTooltip_1_9_73: {
|
|
5
|
+
prototype: TttxTooltip_1_9_73;
|
|
6
|
+
new (): TttxTooltip_1_9_73;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -54,7 +54,7 @@ const TttxTooltip = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
54
54
|
}
|
|
55
55
|
get el() { return this; }
|
|
56
56
|
static get style() { return tttxTooltipCss; }
|
|
57
|
-
}, [1, "tttx-
|
|
57
|
+
}, [1, "tttx-tooltip_1_9_73", {
|
|
58
58
|
"text": [1],
|
|
59
59
|
"placement": [1],
|
|
60
60
|
"trigger": [16],
|
|
@@ -67,9 +67,9 @@ function defineCustomElement$1() {
|
|
|
67
67
|
if (typeof customElements === "undefined") {
|
|
68
68
|
return;
|
|
69
69
|
}
|
|
70
|
-
const components = ["tttx-
|
|
70
|
+
const components = ["tttx-tooltip_1_9_73"];
|
|
71
71
|
components.forEach(tagName => { switch (tagName) {
|
|
72
|
-
case "tttx-
|
|
72
|
+
case "tttx-tooltip_1_9_73":
|
|
73
73
|
if (!customElements.get(tagName)) {
|
|
74
74
|
customElements.define(tagName, TttxTooltip);
|
|
75
75
|
}
|
|
@@ -77,7 +77,7 @@ function defineCustomElement$1() {
|
|
|
77
77
|
} });
|
|
78
78
|
}
|
|
79
79
|
|
|
80
|
-
const
|
|
80
|
+
const TttxTooltip_1_9_73 = TttxTooltip;
|
|
81
81
|
const defineCustomElement = defineCustomElement$1;
|
|
82
82
|
|
|
83
|
-
export {
|
|
83
|
+
export { TttxTooltip_1_9_73, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface TttxTreeView_1_9_73 extends Components.TttxTreeView_1_9_73, HTMLElement {}
|
|
4
|
+
export const TttxTreeView_1_9_73: {
|
|
5
|
+
prototype: TttxTreeView_1_9_73;
|
|
6
|
+
new (): TttxTreeView_1_9_73;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,249 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, createEvent, getAssetPath, h } from '@stencil/core/internal/client';
|
|
2
|
+
import { p as purify, d as domSanitiserOptions } from './domsanitiser.options.js';
|
|
3
|
+
import { d as defineCustomElement$3 } from './tttx-button.js';
|
|
4
|
+
import { d as defineCustomElement$2 } from './tttx-icon.js';
|
|
5
|
+
|
|
6
|
+
const tttxTreeViewCss = "@charset \"UTF-8\";.material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}:host{--tree-accent:#2196F3;--tree-selected-bg:#EBFBFC;--indent:36px;--accent-gap:46px;--accent-width:4px;--tree-left-edge-shift:0px}.tree-view-element>ul{margin:0;padding:0}.tree-view-element ul{padding-left:var(--indent)}.tree-view-element ul li{list-style-type:none}.tree-view-element ul li.selected-group{position:relative;}.tree-view-element ul li.selected-group::before{display:none}.tree-view-element ul li.selected-group::after{display:none}.tree-view-element ul li.selected-group>li.inline-tree-item.element-row.tree-node{}.tree-view-element ul li.selected-group>li.inline-tree-item.element-row.tree-node::before{background-color:var(--tree-selected-bg) !important;z-index:2}.tree-view-element ul li.selected-group>li.inline-tree-item.element-row.tree-node::after{content:\"\";position:absolute;top:0;bottom:0;width:var(--accent-width);left:calc(-1 * (var(--accent-gap) + var(--level, 0) * var(--indent)));background-color:var(--tree-accent);border-radius:0 2px 2px 0;z-index:5}.tree-view-element ul li.selected-group li.inline-tree-item.element-row.tree-node{}.tree-view-element ul li.selected-group li.inline-tree-item.element-row.tree-node::before{background-color:var(--tree-selected-bg) !important;z-index:2}.tree-view-element ul li.selected-group li.inline-tree-item.element-row.tree-node::after{content:\"\";position:absolute;top:0;bottom:0;width:var(--accent-width);left:calc(-1 * (var(--accent-gap) + var(--level, 0) * var(--indent)));background-color:var(--tree-accent);border-radius:0 2px 2px 0;z-index:5}.tree-view-element ul li.selected-group li.inline-tree-item.element-row:not(.tree-node)::before{background-color:transparent !important}.tree-view-element ul li.selected-group li.selected-group::before{display:none}.tree-view-element ul li.selected-group>li.inline-tree-item,.tree-view-element ul li.selected-group>ul{position:relative;z-index:3;background:transparent}.tree-view-element ul li.inline-tree-item{display:flex;align-items:center}.tree-view-element ul li.inline-tree-item .element{display:flex;flex-flow:row nowrap;justify-content:flex-start;align-items:center;width:100%;padding-left:8px}.tree-view-element ul li.inline-tree-item .element .padding-icon{padding:6px;height:24px;width:24px;display:flex;align-items:center;justify-content:center}@media (hover: hover){.tree-view-element ul li.inline-tree-item.element-row.rowHover:hover{cursor:pointer}.tree-view-element ul li.inline-tree-item.element-row.rowHover:hover::before{content:\"\";position:absolute;left:-50%;top:0;bottom:0;right:0;pointer-events:none;color:#212121 !important;z-index:3}.tree-view-element ul li.inline-tree-item.element-row.rowHover:not(.rowSelected):hover::before{background-color:rgba(17, 17, 17, 0.05);z-index:3}.tree-view-element ul li.inline-tree-item.element-row.rowHover.rowSelected:hover::before{background-color:rgba(17, 17, 17, 0.15);z-index:3}.tree-view-element ul li.inline-tree-item.element-row.rowHover:not(.tree-node).rowSelected:hover::before{background-color:transparent !important}}.tree-view-element ul li.inline-tree-item.element-row{min-height:36px;font-family:\"Roboto\", serif;font-size:16px;padding:8px 0px;position:relative;color:#212121 !important;}.tree-view-element ul li.inline-tree-item.element-row::before{content:\"\";position:absolute;left:-50%;bottom:0;right:0;border-bottom:1px solid #d5d5d5;pointer-events:none}.tree-view-element ul li.inline-tree-item.element-row.rowSelected::before{content:\"\";position:absolute;left:-50%;top:0;bottom:0;right:0;background-color:#EBFBFC;pointer-events:none}.tree-view-element ul li.inline-tree-item.element-row.tree-node::before{height:51px;z-index:2}.tree-view-element ul li.inline-tree-item.element-row.tree-node *{z-index:3}.tree-view-element ul li.inline-tree-item.element-row .treeNode{width:100%;font-weight:500;color:#212121}.tree-view-element ul li.inline-tree-item.element-row .treeLeaf{width:100%;font-weight:400;color:#212121 !important}.tree-view-element ul li.inline-tree-item.element-row.rowSelected .treeLeaf,.tree-view-element ul li.inline-tree-item.element-row.rowSelected .treeNode{color:#212121 !important}.tree-view-element ul li.inline-tree-item.element-row .drag-handle{margin-right:10px}.tree-view-element ul li.inline-tree-item.element-row .drop-not-allowed{border-color:red;border-style:dashed;cursor:not-allowed;opacity:0.7}@media (forced-colors: active){.tree-view-element ul li.selected-group li.inline-tree-item.element-row.tree-node::after{background:CanvasText}.tree-view-element ul li.selected-group::after{background:Highlight}}.inline-tree-item:focus-visible{outline:2px solid var(--tree-accent);outline-offset:2px;border-radius:6px}.tree-view-element ul li.inline-tree-item.element-row:not(.tree-node).rowSelected{background-color:transparent !important;background:transparent !important}.tree-view-element ul li.inline-tree-item.element-row:not(.tree-node).rowSelected::before{background-color:transparent !important;background:transparent !important}.tree-view-element ul li.inline-tree-item.element-row:not(.tree-node).rowSelected:hover{background-color:transparent !important;background:transparent !important}.tree-view-element ul li.inline-tree-item.element-row:not(.tree-node).rowSelected:hover::before{display:none !important;background-color:transparent !important;background:transparent !important}";
|
|
7
|
+
|
|
8
|
+
const TttxTreeView = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
9
|
+
constructor() {
|
|
10
|
+
super();
|
|
11
|
+
this.__registerHost();
|
|
12
|
+
this.__attachShadow();
|
|
13
|
+
this.clickEvent = createEvent(this, "clickEvent", 7);
|
|
14
|
+
this.expandNode = createEvent(this, "expandNode", 7);
|
|
15
|
+
this.checkboxChange = createEvent(this, "checkboxChange", 7);
|
|
16
|
+
this.moveNode = createEvent(this, "moveNode", 7);
|
|
17
|
+
this.dragIcon = getAssetPath('assets/img/drag-icon.svg');
|
|
18
|
+
this.dragGhost = {
|
|
19
|
+
el: null,
|
|
20
|
+
};
|
|
21
|
+
this.createGhostImage = (label) => {
|
|
22
|
+
const ghost = document.createElement('div');
|
|
23
|
+
ghost.textContent = label;
|
|
24
|
+
Object.assign(ghost.style, {
|
|
25
|
+
position: 'absolute',
|
|
26
|
+
top: '-9999px',
|
|
27
|
+
left: '-9999px',
|
|
28
|
+
padding: '6px 20px',
|
|
29
|
+
background: 'white',
|
|
30
|
+
border: '1px solid #ccc',
|
|
31
|
+
fontSize: '14px',
|
|
32
|
+
pointerEvents: 'none',
|
|
33
|
+
});
|
|
34
|
+
document.body.appendChild(ghost);
|
|
35
|
+
setTimeout(() => document.body.removeChild(ghost), 0);
|
|
36
|
+
return ghost;
|
|
37
|
+
};
|
|
38
|
+
this.handleDragStart = (event, node, index, parentId) => {
|
|
39
|
+
if (!event.dataTransfer)
|
|
40
|
+
return;
|
|
41
|
+
this.draggedNodeParentId = parentId;
|
|
42
|
+
const payload = JSON.stringify({ parentId, index, node });
|
|
43
|
+
event.dataTransfer.setData('text/plain', payload);
|
|
44
|
+
const ghostImg = this.createGhostImage(node.title);
|
|
45
|
+
this.dragGhost.el = ghostImg;
|
|
46
|
+
event.dataTransfer.setDragImage(ghostImg, 0, 0);
|
|
47
|
+
};
|
|
48
|
+
this.handleDragDrop = (event, node, targetIndex, parentId) => {
|
|
49
|
+
var _a;
|
|
50
|
+
event.preventDefault();
|
|
51
|
+
const nodeData = (_a = event.dataTransfer) === null || _a === void 0 ? void 0 : _a.getData('text/plain');
|
|
52
|
+
if (!nodeData)
|
|
53
|
+
return;
|
|
54
|
+
const { parentId: sourceParentId, index: sourceParentIndex, node: sourceNode } = JSON.parse(nodeData);
|
|
55
|
+
// Prevent dropping on itself or different parents
|
|
56
|
+
if (node.id === sourceNode.id || sourceParentId !== parentId)
|
|
57
|
+
return;
|
|
58
|
+
const updatedTree = [...this.treeData];
|
|
59
|
+
// Find the parent node
|
|
60
|
+
const parent = parentId ? this.findNodeById(updatedTree, parentId) : null;
|
|
61
|
+
// If no parent (root level), work with treeData directly
|
|
62
|
+
const children = (parent === null || parent === void 0 ? void 0 : parent.child) ? [...parent.child] : [...updatedTree];
|
|
63
|
+
if (!children || children.length === 0)
|
|
64
|
+
return;
|
|
65
|
+
// Move the node
|
|
66
|
+
const [moved] = children.splice(sourceParentIndex, 1);
|
|
67
|
+
children.splice(targetIndex, 0, moved);
|
|
68
|
+
// Update the tree
|
|
69
|
+
if (parent) {
|
|
70
|
+
parent.child = children;
|
|
71
|
+
}
|
|
72
|
+
else {
|
|
73
|
+
this.treeData = children;
|
|
74
|
+
}
|
|
75
|
+
this.draggedNodeParentId = undefined;
|
|
76
|
+
if (this.dragGhost.el) {
|
|
77
|
+
this.dragGhost.el.remove();
|
|
78
|
+
this.dragGhost.el = null;
|
|
79
|
+
}
|
|
80
|
+
this.moveNode.emit(this.treeData);
|
|
81
|
+
};
|
|
82
|
+
this.handleDragOver = (event, parentId) => {
|
|
83
|
+
event.preventDefault();
|
|
84
|
+
if (!event.dataTransfer)
|
|
85
|
+
return;
|
|
86
|
+
const validDrag = this.draggedNodeParentId === parentId;
|
|
87
|
+
event.dataTransfer.dropEffect = validDrag ? 'move' : 'none';
|
|
88
|
+
};
|
|
89
|
+
this.data = undefined;
|
|
90
|
+
this.treeData = undefined;
|
|
91
|
+
}
|
|
92
|
+
componentWillRender() {
|
|
93
|
+
if (!this.data)
|
|
94
|
+
return;
|
|
95
|
+
this.treeData = typeof this.data === 'string' ? JSON.parse(this.data) : this.data;
|
|
96
|
+
}
|
|
97
|
+
onClickHandler(event, node) {
|
|
98
|
+
event.stopPropagation();
|
|
99
|
+
this.clickEvent.emit(node);
|
|
100
|
+
}
|
|
101
|
+
toggleNode(node, event) {
|
|
102
|
+
event.stopPropagation();
|
|
103
|
+
node.isOpen = !node.isOpen;
|
|
104
|
+
this.treeData = [...this.treeData];
|
|
105
|
+
this.expandNode.emit({ node: node, treeViewData: this.treeData });
|
|
106
|
+
}
|
|
107
|
+
handleCheckboxChange(node, event) {
|
|
108
|
+
event.stopPropagation();
|
|
109
|
+
node.checked = !node.checked;
|
|
110
|
+
this.updateChildrenCheckStatus(node);
|
|
111
|
+
this.updateParentCheckStatus();
|
|
112
|
+
this.treeData = [...this.treeData];
|
|
113
|
+
this.checkboxChange.emit(this.treeData);
|
|
114
|
+
}
|
|
115
|
+
updateChildrenCheckStatus(node) {
|
|
116
|
+
if (node.child) {
|
|
117
|
+
node.child.forEach(childNode => {
|
|
118
|
+
if (childNode.hasCheckbox && childNode.checked !== undefined) {
|
|
119
|
+
// don't set checked on a child that doesn't have a checkbox
|
|
120
|
+
// makes it impossible to unselect a parent as child can never be unchecked in frontend
|
|
121
|
+
childNode.checked = node.checked;
|
|
122
|
+
}
|
|
123
|
+
this.updateChildrenCheckStatus(childNode);
|
|
124
|
+
});
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
/**
|
|
128
|
+
* Update the checkbox status of parent nodes when children have been updated.
|
|
129
|
+
* Called recursively to traverse the tree for parents.
|
|
130
|
+
* First call with no params to automatically start at the top of the tree.
|
|
131
|
+
*
|
|
132
|
+
* Any children checked -> parent is checked.
|
|
133
|
+
*
|
|
134
|
+
* All children unchecked -> parent is unchecked.
|
|
135
|
+
*/
|
|
136
|
+
updateParentCheckStatus(parent = undefined, children = undefined) {
|
|
137
|
+
if (parent === undefined) {
|
|
138
|
+
this.treeData.forEach(node => this.updateParentCheckStatus(node, node.child));
|
|
139
|
+
return;
|
|
140
|
+
}
|
|
141
|
+
let childrenCheckedStatuses = [];
|
|
142
|
+
// set status relative to children if we have some
|
|
143
|
+
if (children && children.length > 0) {
|
|
144
|
+
childrenCheckedStatuses = children.map(node => this.updateParentCheckStatus(node, node.child)).flat(1);
|
|
145
|
+
// parent checked if any children are checked
|
|
146
|
+
if (childrenCheckedStatuses.some(checked => checked)) {
|
|
147
|
+
parent.checked = true;
|
|
148
|
+
}
|
|
149
|
+
// parent unchecked if all children are unchecked
|
|
150
|
+
if (childrenCheckedStatuses.every(checked => !checked)) {
|
|
151
|
+
parent.checked = false;
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
// return the gathered checked statuses so nodes above can make check choices
|
|
155
|
+
return [...childrenCheckedStatuses, parent.checked];
|
|
156
|
+
}
|
|
157
|
+
treeConfigs(node) {
|
|
158
|
+
let checkboxIcon, checkboxColor;
|
|
159
|
+
if (node.checked) {
|
|
160
|
+
checkboxIcon = 'check_box';
|
|
161
|
+
checkboxColor = 'blue';
|
|
162
|
+
}
|
|
163
|
+
else {
|
|
164
|
+
checkboxIcon = 'check_box_outline_blank';
|
|
165
|
+
checkboxColor = 'grey';
|
|
166
|
+
}
|
|
167
|
+
const rowHoverActive = node.hasHover ? 'rowHover' : '';
|
|
168
|
+
const expanderIcon = node.isOpen ? 'arrow_drop_down' : 'arrow_right';
|
|
169
|
+
const selectedActive = node.selectable && node.selected ? 'rowSelected' : '';
|
|
170
|
+
return { checkboxColor, checkboxIcon, rowHoverActive, expanderIcon, selectedActive };
|
|
171
|
+
}
|
|
172
|
+
findNodeById(nodes, id) {
|
|
173
|
+
for (const node of nodes) {
|
|
174
|
+
if (node.id === id)
|
|
175
|
+
return node;
|
|
176
|
+
if (node.child) {
|
|
177
|
+
const found = this.findNodeById(node.child, id);
|
|
178
|
+
if (found)
|
|
179
|
+
return found;
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
return undefined;
|
|
183
|
+
}
|
|
184
|
+
renderNode(node, index, parentId = undefined, level = 0 // <-- depth
|
|
185
|
+
) {
|
|
186
|
+
var _a, _b;
|
|
187
|
+
const options = this.treeConfigs(node);
|
|
188
|
+
if (node.child) {
|
|
189
|
+
// group node
|
|
190
|
+
const isSelectedGroup = !!node.selected;
|
|
191
|
+
return (h("li", { class: `${isSelectedGroup ? 'selected-group' : ''}`, style: { '--level': String(level) } }, h("li", Object.assign({ "data-id": node.id, draggable: (_a = node.draggable) !== null && _a !== void 0 ? _a : false }, (node.draggable ? { onDragOver: event => this.handleDragOver(event, parentId) } : {}), (node.draggable ? { onDrop: event => this.handleDragDrop(event, node, index, parentId) } : {}), { class: `inline-tree-item element-row tree-node ${options.rowHoverActive} ${options.selectedActive}`, onClick: event => {
|
|
192
|
+
if (node.hasHover) {
|
|
193
|
+
this.onClickHandler(event, node);
|
|
194
|
+
}
|
|
195
|
+
} }), h("tttx-button_1_9_73", { class: "toggleNode", design: "borderless-circle", notext: true, icon: options.expanderIcon, color: "black", onClick: event => this.toggleNode(node, event) }), this.htmlcode('treeNode', node, options.checkboxIcon, options.checkboxColor, index, parentId)), node.isOpen ? (h("ul", null, node.child.map((childNode, childIndex) => {
|
|
196
|
+
// next level = level + 1
|
|
197
|
+
return this.renderNode(childNode, childIndex, node.id, level + 1);
|
|
198
|
+
}))) : null));
|
|
199
|
+
}
|
|
200
|
+
// leaf (activity)
|
|
201
|
+
return (h("li", Object.assign({ "data-id": node.id, draggable: (_b = node.draggable) !== null && _b !== void 0 ? _b : false }, (node.draggable ? { onDragOver: event => this.handleDragOver(event, parentId) } : {}), (node.draggable ? { onDrop: event => this.handleDragDrop(event, node, index, parentId) } : {}), { class: `inline-tree-item element-row ${options.rowHoverActive} ${options.selectedActive}`, style: { '--level': String(level) }, onClick: event => {
|
|
202
|
+
if (node.hasHover) {
|
|
203
|
+
this.onClickHandler(event, node);
|
|
204
|
+
}
|
|
205
|
+
} }), this.htmlcode('treeLeaf', node, options.checkboxIcon, options.checkboxColor, index, parentId)));
|
|
206
|
+
}
|
|
207
|
+
htmlcode(type, node, check_box, check_boxColor, index, parentId = undefined) {
|
|
208
|
+
const htmlcode = (h("div", { class: "inline-tree-item element" }, node.draggable && (h("img", { src: this.dragIcon, alt: "drag", class: "drag-handle", draggable: true, onDragStart: event => this.handleDragStart(event, node, index, parentId) })), node.hasCheckbox && (h("tttx-button_1_9_73", { design: "borderless-circle", notext: true, icon: check_box, iconcolor: check_boxColor, class: "padding-icon checkbox", onClick: event => this.handleCheckboxChange(node, event) })), !node.html && node.hasIcon && (h("tttx-icon_1_9_73", { icon: node.icon, color: node.iconColor, class: "padding-icon" })), !node.html && h("div", { class: type }, node.title), node.html && h("div", { class: type, innerHTML: purify.sanitize(node.html, domSanitiserOptions) })));
|
|
209
|
+
return htmlcode;
|
|
210
|
+
}
|
|
211
|
+
render() {
|
|
212
|
+
if (!this.data)
|
|
213
|
+
return;
|
|
214
|
+
return (h("div", { class: "tree-view-element" }, h("ul", null, this.treeData.map((node, index) => this.renderNode(node, index)))));
|
|
215
|
+
}
|
|
216
|
+
get el() { return this; }
|
|
217
|
+
static get style() { return tttxTreeViewCss; }
|
|
218
|
+
}, [1, "tttx-tree-view_1_9_73", {
|
|
219
|
+
"data": [1040],
|
|
220
|
+
"treeData": [32]
|
|
221
|
+
}]);
|
|
222
|
+
function defineCustomElement$1() {
|
|
223
|
+
if (typeof customElements === "undefined") {
|
|
224
|
+
return;
|
|
225
|
+
}
|
|
226
|
+
const components = ["tttx-tree-view_1_9_73", "tttx-button_1_9_73", "tttx-icon_1_9_73"];
|
|
227
|
+
components.forEach(tagName => { switch (tagName) {
|
|
228
|
+
case "tttx-tree-view_1_9_73":
|
|
229
|
+
if (!customElements.get(tagName)) {
|
|
230
|
+
customElements.define(tagName, TttxTreeView);
|
|
231
|
+
}
|
|
232
|
+
break;
|
|
233
|
+
case "tttx-button_1_9_73":
|
|
234
|
+
if (!customElements.get(tagName)) {
|
|
235
|
+
defineCustomElement$3();
|
|
236
|
+
}
|
|
237
|
+
break;
|
|
238
|
+
case "tttx-icon_1_9_73":
|
|
239
|
+
if (!customElements.get(tagName)) {
|
|
240
|
+
defineCustomElement$2();
|
|
241
|
+
}
|
|
242
|
+
break;
|
|
243
|
+
} });
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
const TttxTreeView_1_9_73 = TttxTreeView;
|
|
247
|
+
const defineCustomElement = defineCustomElement$1;
|
|
248
|
+
|
|
249
|
+
export { TttxTreeView_1_9_73, defineCustomElement };
|
package/dist/esm/loader.js
CHANGED
|
@@ -11,7 +11,7 @@ const patchEsm = () => {
|
|
|
11
11
|
const defineCustomElements = (win, options) => {
|
|
12
12
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
13
13
|
return patchEsm().then(() => {
|
|
14
|
-
return bootstrapLazy([["tttx-data-pattern_1_9_71",[[1,"tttx-data-pattern_1_9_71",{"data":[1],"sorterOptions":[1,"sorter-options"],"filterOptions":[1,"filter-options"],"filterHeader":[1,"filter-header"],"defaultSortOption":[1,"default-sort-option"],"searchplaceholder":[1],"addbuttonlabel":[1],"addbutton":[4]}]]],["tttx-form_1_9_71",[[1,"tttx-form_1_9_71",{"formschema":[1025],"data":[1032],"submit":[64],"showLoadingSpinner":[64],"setSelectedItem":[64],"setSelectOptions":[64],"isValid":[64],"setValidationFor":[64],"clearValidationFor":[64],"disableFormField":[64],"enableFormField":[64],"setInputFieldValue":[64],"setFieldReadOnlyMode":[64]}]]],["tttx-multiselect-box_1_9_71",[[1,"tttx-multiselect-box_1_9_71",{"optionsData":[1,"options-data"],"label":[1],"inline":[4],"placeholder":[1],"searchEnabled":[4,"search-enabled"],"htmlVisibleValue":[4,"html-visible-value"],"visibleValue":[1,"visible-value"],"isLoading":[4,"is-loading"],"stopLocalSearch":[4,"stop-local-search"],"readOnly":[4,"read-only"],"priorityLabel":[1,"priority-label"],"nonPriorityLabel":[1,"non-priority-label"],"open":[32],"unsavedSelectedItems":[32],"searchTerm":[32]},[[0,"closeSelectBox","handleCloseSelectBox"],[0,"blur","handleBlur"]]]]],["tttx-chart_1_9_71",[[1,"tttx-chart_1_9_71",{"chartType":[1,"chart-type"],"chartData":[16],"chartOptions":[16],"loading":[4],"error":[4],"fallbackText":[1,"fallback-text"],"width":[1],"height":[1],"isYAxisPercentageValues":[4,"is-y-axis-percentage-values"],"exportable":[32],"chartInstance":[32],"showPngSvgExport":[32]}]]],["tttx-datacard_1_9_71",[[1,"tttx-datacard_1_9_71",{"cardTitle":[1,"card-title"],"leftData":[1,"left-data"],"rightData":[1,"right-data"],"rightSubtext":[1,"right-subtext"],"iconStyle":[1,"icon-style"],"cardType":[1,"card-type"],"chartConfig":[1,"chart-config"],"_chartConfig":[32],"chartRender":[32]}]]],["tttx-dialog-box_1_9_71",[[1,"tttx-dialog-box_1_9_71",{"data":[1025],"size":[1],"open":[1028],"allowOverflow":[4,"allow-overflow"],"elementSize":[32]},[[9,"resize","handleResize"]]]]],["tttx-dialog_1_9_71",[[1,"tttx-dialog_1_9_71",{"header":[1],"type":[1],"size":[1],"open":[4],"allowOverflow":[4,"allow-overflow"],"closeEnabled":[4,"close-enabled"],"elementSize":[32]},[[9,"resize","handleResize"]]]]],["tttx-tree-view_1_9_71",[[1,"tttx-tree-view_1_9_71",{"data":[1040],"treeData":[32]}]]],["tttx-action-dropdown_1_9_71",[[1,"tttx-action-dropdown_1_9_71",{"actionKey":[1,"action-key"],"icon":[1],"fieldOptionsData":[1,"field-options-data"],"defaultOption":[1,"default-option"],"isIconVisible":[4,"is-icon-visible"],"selectedField":[32],"dropdownExpand":[32],"dropdownOptions":[32]},[[0,"closeActionDropdown","handleCloseActionDropdown"]]]]],["tttx-button-v2_1_9_71",[[1,"tttx-button-v2_1_9_71",{"notext":[4],"icon":[1],"label":[1],"iconcolor":[1025],"iconposition":[1],"iconStart":[1,"icon-start"],"iconEnd":[1,"icon-end"],"design":[1],"disabled":[516],"type":[1],"href":[1],"options":[1],"size":[1],"dropdownOpen":[32],"dropdownDirection":[32]},[[4,"click","handleClickOutside"]]]]],["tttx-checkbox_1_9_71",[[0,"tttx-checkbox_1_9_71",{"checkboxId":[1,"checkbox-id"],"label":[1],"inline":[4],"indeterminate":[4],"checked":[4]}]]],["tttx-comments_1_9_71",[[1,"tttx-comments_1_9_71",{"currentuser":[1],"comments":[1],"disableFile":[4,"disable-file"],"messageLimit":[2,"message-limit"],"inputBoxHeight":[2,"input-box-height"],"placeholder":[1],"saveButtonText":[1,"save-button-text"],"value":[1],"allowEditing":[4,"allow-editing"],"readonly":[4],"_comments":[32],"showError":[32],"_saveButtonText":[32],"editingComment":[32],"addDummyComment":[64]}]]],["tttx-date-range-picker",[[1,"tttx-date-range-picker",{"initialValue":[16],"placeholderText":[1,"placeholder-text"],"showCalendar":[32],"startDate":[32],"endDate":[32],"currentMonth":[32],"currentYear":[32],"isSelecting":[32],"hoverDate":[32]}]]],["tttx-expander_1_9_71",[[1,"tttx-expander_1_9_71",{"name":[1],"open":[4],"lefticon":[1],"lefticoncolor":[1],"isExpanded":[32]}]]],["tttx-tabs_1_9_71",[[2,"tttx-tabs_1_9_71",{"tabsName":[1,"tabs-name"],"navigation":[4],"wide":[4],"tabs":[1],"_tabs":[32]},[[0,"keydown","handleKeyDown"]]]]],["tttx-checkbox-group-caption_1_9_71",[[4,"tttx-checkbox-group-caption_1_9_71"]]],["tttx-checkbox-group-heading_1_9_71",[[4,"tttx-checkbox-group-heading_1_9_71"]]],["tttx-checkbox-group_1_9_71",[[1,"tttx-checkbox-group_1_9_71"]]],["tttx-keyvalue-block_1_9_71",[[1,"tttx-keyvalue-block_1_9_71",{"keyvalues":[1],"horizontal":[4],"spacedout":[4],"_elements":[32]}]]],["tttx-percentage-bar_1_9_71",[[2,"tttx-percentage-bar_1_9_71",{"percentage":[8],"thresholds":[1],"color":[1],"min":[1],"labelid":[1],"_percentage":[32],"_ranges":[32],"_min":[32]}]]],["tttx-qrcode_1_9_71",[[1,"tttx-qrcode_1_9_71",{"link":[1025],"size":[1026]}]]],["tttx-range-slider_1_9_71",[[1,"tttx-range-slider_1_9_71",{"minimum":[2],"maximum":[2],"sliderMode":[1,"slider-mode"],"showFields":[4,"show-fields"],"lowerValue":[32],"upperValue":[32]},[[0,"setSliderValues","onSetSliderValues"]]]]],["tttx-skeleton_loader_1_9_71",[[1,"tttx-skeleton_loader_1_9_71",{"width":[1],"height":[1],"borderRadius":[1,"border-radius"],"color":[1],"variant":[1],"animation":[1],"count":[2],"direction":[1],"gap":[1],"customClass":[1,"custom-class"]}]]],["tttx-table_1_9_71",[[1,"tttx-table_1_9_71",{"headers":[16],"data":[8],"selectable":[4],"loading":[4],"selected":[2],"draggableHeaders":[4,"draggable-headers"],"draggedHeaderIndex":[32]}]]],["tttx-textarea_1_9_71",[[2,"tttx-textarea_1_9_71",{"label":[1],"secondarylabel":[1],"showerrormsg":[4],"showerrorbubble":[4],"errormsg":[1],"rows":[2],"textareaautofocus":[4],"inputkeyhint":[1],"inputindex":[8],"inputtitle":[1],"disabled":[4],"maxlength":[8],"name":[1],"placeholder":[1],"readonly":[8],"required":[4],"value":[1032]}]]],["tttx-toggle_1_9_71",[[1,"tttx-toggle_1_9_71",{"initialstate":[8],"_state":[32]}]]],["tttx-tooltip_1_9_71",[[1,"tttx-tooltip_1_9_71",{"text":[1],"placement":[1],"trigger":[16],"delay":[2],"disabled":[4],"ariaLabel":[1,"aria-label"],"visible":[32]}]]],["tttx-icon_1_9_71",[[1,"tttx-icon_1_9_71",{"icon":[1],"color":[1],"size":[1026]}]]],["tttx-button_1_9_71",[[1,"tttx-button_1_9_71",{"notext":[4],"icon":[1],"iconposition":[1],"iconcolor":[1025],"design":[1]}]]],["tttx-loading-spinner_1_9_71_3",[[1,"tttx-tag_1_9_71",{"text":[1],"color":[1],"textColor":[1,"text-color"],"hasIcon":[4,"has-icon"],"icon":[1],"iconColor":[1,"icon-color"],"iconSize":[2,"icon-size"]}],[2,"tttx-standalone-input_1_9_71",{"label":[1],"secondarylabel":[1],"showerrormsg":[4],"showerrorbubble":[4],"errormsg":[1],"iconleft":[1],"iconleftcolor":[1],"iconright":[1],"iconrightcolor":[1],"inputicon":[1],"inputiconcolor":[1],"inline":[4],"inputautocapitalize":[1],"inputautofocus":[4],"inputkeyhint":[1],"inputindex":[8],"inputtitle":[1],"autocomplete":[1],"checked":[4],"disabled":[4],"max":[8],"maxlength":[8],"min":[8],"minlength":[8],"name":[1],"pattern":[1],"placeholder":[1],"readonly":[8],"required":[4],"step":[8],"type":[1],"value":[1032]}],[1,"tttx-loading-spinner_1_9_71",{"loadingMessage":[4,"loading-message"],"size":[1],"color":[1],"message":[1],"customMessageSchema":[16],"timeElapsed":[32]}]]],["tttx-select-box_1_9_71",[[1,"tttx-select-box_1_9_71",{"optionsData":[1,"options-data"],"label":[1],"inline":[4],"placeholder":[1],"searchEnabled":[4,"search-enabled"],"selectedValue":[1,"selected-value"],"useExternalFiltering":[4,"use-external-filtering"],"useExternalPaginatedFiltering":[4,"use-external-paginated-filtering"],"isAllExternalDataLoaded":[4,"is-all-external-data-loaded"],"isLoading":[4,"is-loading"],"readOnly":[4,"read-only"],"priorityLabel":[1,"priority-label"],"nonPriorityLabel":[1,"non-priority-label"],"clearable":[4],"showErrorMsg":[4,"show-error-msg"],"showErrorBubble":[4,"show-error-bubble"],"errorMsg":[1,"error-msg"],"open":[32],"selectedItem":[32],"searchTerm":[32],"loadingNextExternalPage":[32],"setSelectedItem":[64]},[[0,"closeSelectBox","handleCloseSelectBox"],[0,"blur","handleBlur"]]]]],["tttx-graph_1_9_71",[[1,"tttx-graph_1_9_71",{"chartType":[1,"chart-type"],"chartData":[1,"chart-data"],"chartText":[1,"chart-text"],"chartConfig":[32],"formattedData":[32]}]]],["tttx-filter_1_9_71_4",[[1,"tttx-filter_1_9_71",{"filterKey":[1,"filter-key"],"filterOptions":[1,"filter-options"],"showSelectAll":[4,"show-select-all"],"showSearchField":[4,"show-search-field"],"showOptionIcons":[4,"show-option-icons"],"filterButtonStyle":[1,"filter-button-style"],"filterHeader":[1,"filter-header"],"defaultFilterOptions":[1,"default-filter-options"],"popoverWidth":[1,"popover-width"],"showPopover":[32],"displayedFilterSettings":[32],"selectedFilters":[32],"filterSearchTerm":[32],"allSelected":[32]},[[0,"closeFilter","handleCloseFilter"]]],[1,"tttx-list_1_9_71",{"data":[1025],"name":[1],"_data":[32]}],[1,"tttx-sorter_1_9_71",{"sorterKey":[1,"sorter-key"],"defaultSortDirection":[1,"default-sort-direction"],"fieldOptionsData":[1,"field-options-data"],"defaultOption":[1,"default-option"],"selectedField":[32],"sortDirection":[32],"dropdownExpand":[32],"dropdownOptions":[32]},[[0,"closeSorter","handleCloseSorter"]]],[1,"tttx-toolbar_1_9_71",{"border":[4],"viewSize":[32]},[[9,"resize","handleResize"]]]]]], options);
|
|
14
|
+
return bootstrapLazy(JSON.parse("[[\"tttx-data-pattern_1_9_73\",[[1,\"tttx-data-pattern_1_9_73\",{\"data\":[1],\"sorterOptions\":[1,\"sorter-options\"],\"filterOptions\":[1,\"filter-options\"],\"filterHeader\":[1,\"filter-header\"],\"defaultSortOption\":[1,\"default-sort-option\"],\"searchplaceholder\":[1],\"addbuttonlabel\":[1],\"addbutton\":[4]}]]],[\"tttx-form_1_9_73\",[[1,\"tttx-form_1_9_73\",{\"formschema\":[1025],\"data\":[1032],\"submit\":[64],\"showLoadingSpinner\":[64],\"setSelectedItem\":[64],\"setSelectOptions\":[64],\"isValid\":[64],\"setValidationFor\":[64],\"clearValidationFor\":[64],\"disableFormField\":[64],\"enableFormField\":[64],\"setInputFieldValue\":[64],\"setFieldReadOnlyMode\":[64]}]]],[\"tttx-multiselect-box_1_9_73\",[[1,\"tttx-multiselect-box_1_9_73\",{\"optionsData\":[1,\"options-data\"],\"label\":[1],\"inline\":[4],\"placeholder\":[1],\"searchEnabled\":[4,\"search-enabled\"],\"htmlVisibleValue\":[4,\"html-visible-value\"],\"visibleValue\":[1,\"visible-value\"],\"isLoading\":[4,\"is-loading\"],\"stopLocalSearch\":[4,\"stop-local-search\"],\"readOnly\":[4,\"read-only\"],\"priorityLabel\":[1,\"priority-label\"],\"nonPriorityLabel\":[1,\"non-priority-label\"],\"open\":[32],\"unsavedSelectedItems\":[32],\"searchTerm\":[32]},[[0,\"closeSelectBox\",\"handleCloseSelectBox\"],[0,\"blur\",\"handleBlur\"]]]]],[\"tttx-chart_1_9_73\",[[1,\"tttx-chart_1_9_73\",{\"chartType\":[1,\"chart-type\"],\"chartData\":[16],\"chartOptions\":[16],\"loading\":[4],\"error\":[4],\"fallbackText\":[1,\"fallback-text\"],\"width\":[1],\"height\":[1],\"isYAxisPercentageValues\":[4,\"is-y-axis-percentage-values\"],\"exportable\":[32],\"chartInstance\":[32],\"showPngSvgExport\":[32]}]]],[\"tttx-datacard_1_9_73\",[[1,\"tttx-datacard_1_9_73\",{\"cardTitle\":[1,\"card-title\"],\"leftData\":[1,\"left-data\"],\"rightData\":[1,\"right-data\"],\"rightSubtext\":[1,\"right-subtext\"],\"iconStyle\":[1,\"icon-style\"],\"cardType\":[1,\"card-type\"],\"chartConfig\":[1,\"chart-config\"],\"_chartConfig\":[32],\"chartRender\":[32]}]]],[\"tttx-dialog-box_1_9_73\",[[1,\"tttx-dialog-box_1_9_73\",{\"data\":[1025],\"size\":[1],\"open\":[1028],\"allowOverflow\":[4,\"allow-overflow\"],\"elementSize\":[32]},[[9,\"resize\",\"handleResize\"]]]]],[\"tttx-dialog_1_9_73\",[[1,\"tttx-dialog_1_9_73\",{\"header\":[1],\"type\":[1],\"size\":[1],\"open\":[4],\"allowOverflow\":[4,\"allow-overflow\"],\"closeEnabled\":[4,\"close-enabled\"],\"elementSize\":[32]},[[9,\"resize\",\"handleResize\"]]]]],[\"tttx-tree-view_1_9_73\",[[1,\"tttx-tree-view_1_9_73\",{\"data\":[1040],\"treeData\":[32]}]]],[\"tttx-action-dropdown_1_9_73\",[[1,\"tttx-action-dropdown_1_9_73\",{\"actionKey\":[1,\"action-key\"],\"icon\":[1],\"fieldOptionsData\":[1,\"field-options-data\"],\"defaultOption\":[1,\"default-option\"],\"isIconVisible\":[4,\"is-icon-visible\"],\"selectedField\":[32],\"dropdownExpand\":[32],\"dropdownOptions\":[32]},[[0,\"closeActionDropdown\",\"handleCloseActionDropdown\"]]]]],[\"tttx-button-v2_1_9_73\",[[1,\"tttx-button-v2_1_9_73\",{\"notext\":[4],\"icon\":[1],\"label\":[1],\"iconcolor\":[1025],\"iconposition\":[1],\"iconStart\":[1,\"icon-start\"],\"iconEnd\":[1,\"icon-end\"],\"design\":[1],\"disabled\":[516],\"type\":[1],\"href\":[1],\"options\":[1],\"size\":[1],\"dropdownOpen\":[32],\"dropdownDirection\":[32]},[[4,\"click\",\"handleClickOutside\"]]]]],[\"tttx-checkbox_1_9_73\",[[0,\"tttx-checkbox_1_9_73\",{\"checkboxId\":[1,\"checkbox-id\"],\"label\":[1],\"inline\":[4],\"indeterminate\":[4],\"checked\":[4]}]]],[\"tttx-comments_1_9_73\",[[1,\"tttx-comments_1_9_73\",{\"currentuser\":[1],\"comments\":[1],\"disableFile\":[4,\"disable-file\"],\"messageLimit\":[2,\"message-limit\"],\"inputBoxHeight\":[2,\"input-box-height\"],\"placeholder\":[1],\"saveButtonText\":[1,\"save-button-text\"],\"value\":[1],\"allowEditing\":[4,\"allow-editing\"],\"readonly\":[4],\"_comments\":[32],\"showError\":[32],\"_saveButtonText\":[32],\"editingComment\":[32],\"addDummyComment\":[64]}]]],[\"tttx-date-range-picker\",[[1,\"tttx-date-range-picker\",{\"initialValue\":[16],\"placeholderText\":[1,\"placeholder-text\"],\"showCalendar\":[32],\"startDate\":[32],\"endDate\":[32],\"currentMonth\":[32],\"currentYear\":[32],\"isSelecting\":[32],\"hoverDate\":[32]}]]],[\"tttx-expander_1_9_73\",[[1,\"tttx-expander_1_9_73\",{\"name\":[1],\"open\":[4],\"lefticon\":[1],\"lefticoncolor\":[1],\"isExpanded\":[32]}]]],[\"tttx-tabs_1_9_73\",[[2,\"tttx-tabs_1_9_73\",{\"tabsName\":[1,\"tabs-name\"],\"navigation\":[4],\"wide\":[4],\"tabs\":[1],\"_tabs\":[32]},[[0,\"keydown\",\"handleKeyDown\"]]]]],[\"tttx-tag-v2_1_9_73\",[[1,\"tttx-tag-v2_1_9_73\",{\"text\":[1],\"color\":[1],\"textColor\":[1,\"text-color\"],\"iconStart\":[1,\"icon-start\"],\"iconEnd\":[1,\"icon-end\"],\"iconSize\":[2,\"icon-size\"],\"state\":[1],\"size\":[1],\"variant\":[1],\"hasStartIcon\":[4,\"has-start-icon\"],\"hasEndIcon\":[4,\"has-end-icon\"]}]]],[\"tttx-checkbox-group-caption_1_9_73\",[[4,\"tttx-checkbox-group-caption_1_9_73\"]]],[\"tttx-checkbox-group-heading_1_9_73\",[[4,\"tttx-checkbox-group-heading_1_9_73\"]]],[\"tttx-checkbox-group_1_9_73\",[[1,\"tttx-checkbox-group_1_9_73\"]]],[\"tttx-keyvalue-block_1_9_73\",[[1,\"tttx-keyvalue-block_1_9_73\",{\"keyvalues\":[1],\"horizontal\":[4],\"spacedout\":[4],\"_elements\":[32]}]]],[\"tttx-percentage-bar_1_9_73\",[[2,\"tttx-percentage-bar_1_9_73\",{\"percentage\":[8],\"thresholds\":[1],\"color\":[1],\"min\":[1],\"labelid\":[1],\"_percentage\":[32],\"_ranges\":[32],\"_min\":[32]}]]],[\"tttx-qrcode_1_9_73\",[[1,\"tttx-qrcode_1_9_73\",{\"link\":[1025],\"size\":[1026]}]]],[\"tttx-range-slider_1_9_73\",[[1,\"tttx-range-slider_1_9_73\",{\"minimum\":[2],\"maximum\":[2],\"sliderMode\":[1,\"slider-mode\"],\"showFields\":[4,\"show-fields\"],\"lowerValue\":[32],\"upperValue\":[32]},[[0,\"setSliderValues\",\"onSetSliderValues\"]]]]],[\"tttx-skeleton_loader_1_9_73\",[[1,\"tttx-skeleton_loader_1_9_73\",{\"width\":[1],\"height\":[1],\"borderRadius\":[1,\"border-radius\"],\"color\":[1],\"variant\":[1],\"animation\":[1],\"count\":[2],\"direction\":[1],\"gap\":[1],\"customClass\":[1,\"custom-class\"]}]]],[\"tttx-table_1_9_73\",[[1,\"tttx-table_1_9_73\",{\"headers\":[16],\"data\":[8],\"selectable\":[4],\"loading\":[4],\"selected\":[2],\"draggableHeaders\":[4,\"draggable-headers\"],\"draggedHeaderIndex\":[32]}]]],[\"tttx-textarea_1_9_73\",[[2,\"tttx-textarea_1_9_73\",{\"label\":[1],\"secondarylabel\":[1],\"showerrormsg\":[4],\"showerrorbubble\":[4],\"errormsg\":[1],\"rows\":[2],\"textareaautofocus\":[4],\"inputkeyhint\":[1],\"inputindex\":[8],\"inputtitle\":[1],\"disabled\":[4],\"maxlength\":[8],\"name\":[1],\"placeholder\":[1],\"readonly\":[8],\"required\":[4],\"value\":[1032]}]]],[\"tttx-toggle_1_9_73\",[[1,\"tttx-toggle_1_9_73\",{\"initialstate\":[8],\"_state\":[32]}]]],[\"tttx-tooltip_1_9_73\",[[1,\"tttx-tooltip_1_9_73\",{\"text\":[1],\"placement\":[1],\"trigger\":[16],\"delay\":[2],\"disabled\":[4],\"ariaLabel\":[1,\"aria-label\"],\"visible\":[32]}]]],[\"tttx-select-box_1_9_73\",[[1,\"tttx-select-box_1_9_73\",{\"optionsData\":[1,\"options-data\"],\"label\":[1],\"inline\":[4],\"placeholder\":[1],\"searchEnabled\":[4,\"search-enabled\"],\"selectedValue\":[1,\"selected-value\"],\"useExternalFiltering\":[4,\"use-external-filtering\"],\"useExternalPaginatedFiltering\":[4,\"use-external-paginated-filtering\"],\"isAllExternalDataLoaded\":[4,\"is-all-external-data-loaded\"],\"isLoading\":[4,\"is-loading\"],\"readOnly\":[4,\"read-only\"],\"priorityLabel\":[1,\"priority-label\"],\"nonPriorityLabel\":[1,\"non-priority-label\"],\"clearable\":[4],\"showErrorMsg\":[4,\"show-error-msg\"],\"showErrorBubble\":[4,\"show-error-bubble\"],\"errorMsg\":[1,\"error-msg\"],\"open\":[32],\"selectedItem\":[32],\"searchTerm\":[32],\"loadingNextExternalPage\":[32],\"setSelectedItem\":[64]},[[0,\"closeSelectBox\",\"handleCloseSelectBox\"],[0,\"blur\",\"handleBlur\"]]]]],[\"tttx-graph_1_9_73\",[[1,\"tttx-graph_1_9_73\",{\"chartType\":[1,\"chart-type\"],\"chartData\":[1,\"chart-data\"],\"chartText\":[1,\"chart-text\"],\"chartConfig\":[32],\"formattedData\":[32]}]]],[\"tttx-icon_1_9_73\",[[1,\"tttx-icon_1_9_73\",{\"icon\":[1],\"color\":[1],\"size\":[1026]}]]],[\"tttx-filter_1_9_73_4\",[[1,\"tttx-filter_1_9_73\",{\"filterKey\":[1,\"filter-key\"],\"filterOptions\":[1,\"filter-options\"],\"showSelectAll\":[4,\"show-select-all\"],\"showSearchField\":[4,\"show-search-field\"],\"showOptionIcons\":[4,\"show-option-icons\"],\"filterButtonStyle\":[1,\"filter-button-style\"],\"filterHeader\":[1,\"filter-header\"],\"defaultFilterOptions\":[1,\"default-filter-options\"],\"popoverWidth\":[1,\"popover-width\"],\"showPopover\":[32],\"displayedFilterSettings\":[32],\"selectedFilters\":[32],\"filterSearchTerm\":[32],\"allSelected\":[32]},[[0,\"closeFilter\",\"handleCloseFilter\"]]],[1,\"tttx-list_1_9_73\",{\"data\":[1025],\"name\":[1],\"_data\":[32]}],[1,\"tttx-sorter_1_9_73\",{\"sorterKey\":[1,\"sorter-key\"],\"defaultSortDirection\":[1,\"default-sort-direction\"],\"fieldOptionsData\":[1,\"field-options-data\"],\"defaultOption\":[1,\"default-option\"],\"selectedField\":[32],\"sortDirection\":[32],\"dropdownExpand\":[32],\"dropdownOptions\":[32]},[[0,\"closeSorter\",\"handleCloseSorter\"]]],[1,\"tttx-toolbar_1_9_73\",{\"border\":[4],\"viewSize\":[32]},[[9,\"resize\",\"handleResize\"]]]]],[\"tttx-button_1_9_73\",[[1,\"tttx-button_1_9_73\",{\"notext\":[4],\"icon\":[1],\"iconposition\":[1],\"iconcolor\":[1025],\"design\":[1]}]]],[\"tttx-loading-spinner_1_9_73_3\",[[1,\"tttx-tag_1_9_73\",{\"text\":[1],\"color\":[1],\"textColor\":[1,\"text-color\"],\"hasIcon\":[4,\"has-icon\"],\"icon\":[1],\"iconColor\":[1,\"icon-color\"],\"iconSize\":[2,\"icon-size\"]}],[2,\"tttx-standalone-input_1_9_73\",{\"label\":[1],\"secondarylabel\":[1],\"showerrormsg\":[4],\"showerrorbubble\":[4],\"errormsg\":[1],\"iconleft\":[1],\"iconleftcolor\":[1],\"iconright\":[1],\"iconrightcolor\":[1],\"inputicon\":[1],\"inputiconcolor\":[1],\"inline\":[4],\"inputautocapitalize\":[1],\"inputautofocus\":[4],\"inputkeyhint\":[1],\"inputindex\":[8],\"inputtitle\":[1],\"autocomplete\":[1],\"checked\":[4],\"disabled\":[4],\"max\":[8],\"maxlength\":[8],\"min\":[8],\"minlength\":[8],\"name\":[1],\"pattern\":[1],\"placeholder\":[1],\"readonly\":[8],\"required\":[4],\"step\":[8],\"type\":[1],\"value\":[1032]}],[1,\"tttx-loading-spinner_1_9_73\",{\"loadingMessage\":[4,\"loading-message\"],\"size\":[1],\"color\":[1],\"message\":[1],\"customMessageSchema\":[16],\"timeElapsed\":[32]}]]]]"), options);
|
|
15
15
|
});
|
|
16
16
|
};
|
|
17
17
|
|
package/dist/esm/{tttx-action-dropdown_1_9_71.entry.js → tttx-action-dropdown_1_9_73.entry.js}
RENAMED
|
@@ -46,7 +46,7 @@ const TttxActionDropdown = class {
|
|
|
46
46
|
return;
|
|
47
47
|
const actionKey = `action-dropdown__${this.actionKey}`;
|
|
48
48
|
const chevronIcon = this.dropdownExpand ? 'keyboard_arrow_up' : 'keyboard_arrow_down';
|
|
49
|
-
return (h(Host, { id: actionKey }, h("div", { tabindex: 0, class: `action-dropdown-container ${this.dropdownExpand ? '--expanded' : ''}` }, h("button", { class: "action-button", type: "button", onClick: this.onActionClick.bind(this) }, h("div", { class: "button-content" }, this.isIconVisible && (h("tttx-
|
|
49
|
+
return (h(Host, { id: actionKey }, h("div", { tabindex: 0, class: `action-dropdown-container ${this.dropdownExpand ? '--expanded' : ''}` }, h("button", { class: "action-button", type: "button", onClick: this.onActionClick.bind(this) }, h("div", { class: "button-content" }, this.isIconVisible && (h("tttx-icon_1_9_73", { icon: this.icon, color: "black" })), h("span", { class: "action-text" }, this.selectedField)), h("div", { class: "dropdown-arrow" }, h("tttx-icon_1_9_73", { icon: chevronIcon, color: "black" }))), this.dropdownExpand && (h("div", { class: "dropdown-options-list" }, parsedFieldOptionsData.actionOptions.map(option => {
|
|
50
50
|
return (h("div", { class: "dropdown-option", tabIndex: -1, onClick: this.onDropdownSelected.bind(this), key: option.optionLabel }, option.optionLabel));
|
|
51
51
|
}))))));
|
|
52
52
|
}
|
|
@@ -54,4 +54,4 @@ const TttxActionDropdown = class {
|
|
|
54
54
|
};
|
|
55
55
|
TttxActionDropdown.style = tttxActionDropdownCss;
|
|
56
56
|
|
|
57
|
-
export { TttxActionDropdown as
|
|
57
|
+
export { TttxActionDropdown as tttx_action_dropdown_1_9_73 };
|