@3t-transform/threeteeui 1.9.72 → 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_72.cjs.entry.js → tttx-action-dropdown_1_9_73.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-button-v2_1_9_72.cjs.entry.js → tttx-button-v2_1_9_73.cjs.entry.js} +4 -4
- package/dist/cjs/{tttx-button_1_9_72.cjs.entry.js → tttx-button_1_9_73.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-chart_1_9_72.cjs.entry.js → tttx-chart_1_9_73.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-checkbox-group-caption_1_9_72.cjs.entry.js → tttx-checkbox-group-caption_1_9_73.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox-group-heading_1_9_72.cjs.entry.js → tttx-checkbox-group-heading_1_9_73.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox-group_1_9_72.cjs.entry.js → tttx-checkbox-group_1_9_73.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox_1_9_72.cjs.entry.js → tttx-checkbox_1_9_73.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-comments_1_9_72.cjs.entry.js → tttx-comments_1_9_73.cjs.entry.js} +4 -4
- package/dist/cjs/{tttx-data-pattern_1_9_72.cjs.entry.js → tttx-data-pattern_1_9_73.cjs.entry.js} +5 -5
- package/dist/cjs/{tttx-datacard_1_9_72.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_72.cjs.entry.js → tttx-dialog-box_1_9_73.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-dialog_1_9_72.cjs.entry.js → tttx-dialog_1_9_73.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-expander_1_9_72.cjs.entry.js → tttx-expander_1_9_73.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-filter_1_9_72_4.cjs.entry.js → tttx-filter_1_9_73_4.cjs.entry.js} +9 -9
- package/dist/cjs/{tttx-form_1_9_72.cjs.entry.js → tttx-form_1_9_73.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-graph_1_9_72.cjs.entry.js → tttx-graph_1_9_73.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-icon_1_9_72.cjs.entry.js → tttx-icon_1_9_73.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-keyvalue-block_1_9_72.cjs.entry.js → tttx-keyvalue-block_1_9_73.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-loading-spinner_1_9_72_3.cjs.entry.js → tttx-loading-spinner_1_9_73_3.cjs.entry.js} +6 -6
- package/dist/cjs/{tttx-multiselect-box_1_9_72.cjs.entry.js → tttx-multiselect-box_1_9_73.cjs.entry.js} +7 -7
- package/dist/cjs/{tttx-percentage-bar_1_9_72.cjs.entry.js → tttx-percentage-bar_1_9_73.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-qrcode_1_9_72.cjs.entry.js → tttx-qrcode_1_9_73.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-range-slider_1_9_72.cjs.entry.js → tttx-range-slider_1_9_73.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-select-box_1_9_72.cjs.entry.js → tttx-select-box_1_9_73.cjs.entry.js} +6 -6
- package/dist/cjs/{tttx-skeleton_loader_1_9_72.cjs.entry.js → tttx-skeleton_loader_1_9_73.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-table_1_9_72.cjs.entry.js → tttx-table_1_9_73.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-tabs_1_9_72.cjs.entry.js → tttx-tabs_1_9_73.cjs.entry.js} +4 -4
- package/dist/cjs/{tttx-tag-v2_1_9_72.cjs.entry.js → tttx-tag-v2_1_9_73.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-textarea_1_9_72.cjs.entry.js → tttx-textarea_1_9_73.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-toggle_1_9_72.cjs.entry.js → tttx-toggle_1_9_73.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-tooltip_1_9_72.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/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.js +2 -2
- package/dist/collection/components/atoms/tttx-tag-v2/tttx-tag-v2.stories.js +2 -2
- 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 +1 -1
- 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 +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-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 -38
- package/dist/components/index.js +38 -38
- package/dist/components/tttx-action-dropdown_1_9_73.d.ts +11 -0
- package/dist/components/{tttx-action-dropdown_1_9_72.js → tttx-action-dropdown_1_9_73.js} +7 -7
- package/dist/components/{tttx-checkbox_1_9_72.d.ts → tttx-button-v2_1_9_73.d.ts} +4 -4
- package/dist/components/{tttx-button-v2_1_9_72.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_72.d.ts → tttx-button_1_9_73.d.ts} +4 -4
- package/dist/components/{tttx-button_1_9_72.js → tttx-button_1_9_73.js} +2 -2
- package/dist/components/{tttx-table_1_9_72.d.ts → tttx-chart_1_9_73.d.ts} +4 -4
- package/dist/components/{tttx-chart_1_9_72.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_72.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_72.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_72.js → tttx-checkbox-group_1_9_73.js} +5 -5
- package/dist/components/{tttx-button-v2_1_9_72.d.ts → tttx-checkbox_1_9_73.d.ts} +4 -4
- package/dist/components/{tttx-checkbox_1_9_72.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_72.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_72.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_72.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_72.js → tttx-dialog-box_1_9_73.js} +9 -9
- package/dist/components/{tttx-filter_1_9_72.d.ts → tttx-dialog_1_9_73.d.ts} +4 -4
- package/dist/components/{tttx-dialog_1_9_72.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_72.js → tttx-expander_1_9_73.js} +7 -7
- package/dist/components/tttx-filter.js +6 -6
- package/dist/components/{tttx-button_1_9_72.d.ts → tttx-filter_1_9_73.d.ts} +4 -4
- package/dist/components/{tttx-filter_1_9_72.js → tttx-filter_1_9_73.js} +2 -2
- package/dist/components/{tttx-form_1_9_72.d.ts → tttx-form_1_9_73.d.ts} +4 -4
- package/dist/components/{tttx-form_1_9_72.js → tttx-form_1_9_73.js} +11 -11
- package/dist/components/tttx-graph.js +3 -3
- package/dist/components/{tttx-graph_1_9_72.d.ts → tttx-graph_1_9_73.d.ts} +4 -4
- package/dist/components/{tttx-graph_1_9_72.js → tttx-graph_1_9_73.js} +2 -2
- package/dist/components/tttx-icon.js +3 -3
- package/dist/components/{tttx-list_1_9_72.d.ts → tttx-icon_1_9_73.d.ts} +4 -4
- package/dist/components/{tttx-icon_1_9_72.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_72.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_72.d.ts → tttx-list_1_9_73.d.ts} +4 -4
- package/dist/components/{tttx-list_1_9_72.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_72.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_72.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_72.js → tttx-percentage-bar_1_9_73.js} +6 -6
- package/dist/components/{tttx-qrcode_1_9_72.d.ts → tttx-qrcode_1_9_73.d.ts} +4 -4
- package/dist/components/{tttx-qrcode_1_9_72.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_72.js → tttx-range-slider_1_9_73.js} +5 -5
- 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_72.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_72.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_72.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_72.js → tttx-standalone-input_1_9_73.js} +2 -2
- package/dist/components/{tttx-tag-v2_1_9_72.d.ts → tttx-table_1_9_73.d.ts} +4 -4
- package/dist/components/{tttx-table_1_9_72.js → tttx-table_1_9_73.js} +5 -5
- package/dist/components/{tttx-tabs_1_9_72.d.ts → tttx-tabs_1_9_73.d.ts} +4 -4
- package/dist/components/{tttx-tabs_1_9_72.js → tttx-tabs_1_9_73.js} +9 -9
- package/dist/components/{tttx-chart_1_9_72.d.ts → tttx-tag-v2_1_9_73.d.ts} +4 -4
- package/dist/components/{tttx-tag-v2_1_9_72.js → tttx-tag-v2_1_9_73.js} +7 -7
- package/dist/components/tttx-tag.js +5 -5
- package/dist/components/{tttx-tag_1_9_72.d.ts → tttx-tag_1_9_73.d.ts} +4 -4
- package/dist/components/{tttx-tag_1_9_72.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_72.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_72.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_72.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_72.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_72.entry.js → tttx-action-dropdown_1_9_73.entry.js} +2 -2
- package/dist/esm/{tttx-button-v2_1_9_72.entry.js → tttx-button-v2_1_9_73.entry.js} +4 -4
- package/dist/esm/{tttx-button_1_9_72.entry.js → tttx-button_1_9_73.entry.js} +2 -2
- package/dist/esm/{tttx-chart_1_9_72.entry.js → tttx-chart_1_9_73.entry.js} +3 -3
- package/dist/esm/{tttx-checkbox-group-caption_1_9_72.entry.js → tttx-checkbox-group-caption_1_9_73.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox-group-heading_1_9_72.entry.js → tttx-checkbox-group-heading_1_9_73.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox-group_1_9_72.entry.js → tttx-checkbox-group_1_9_73.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox_1_9_72.entry.js → tttx-checkbox_1_9_73.entry.js} +2 -2
- package/dist/esm/{tttx-comments_1_9_72.entry.js → tttx-comments_1_9_73.entry.js} +4 -4
- package/dist/esm/{tttx-data-pattern_1_9_72.entry.js → tttx-data-pattern_1_9_73.entry.js} +5 -5
- package/dist/esm/{tttx-datacard_1_9_72.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_72.entry.js → tttx-dialog-box_1_9_73.entry.js} +3 -3
- package/dist/esm/{tttx-dialog_1_9_72.entry.js → tttx-dialog_1_9_73.entry.js} +2 -2
- package/dist/esm/{tttx-expander_1_9_72.entry.js → tttx-expander_1_9_73.entry.js} +2 -2
- package/dist/esm/{tttx-filter_1_9_72_4.entry.js → tttx-filter_1_9_73_4.entry.js} +6 -6
- package/dist/esm/{tttx-form_1_9_72.entry.js → tttx-form_1_9_73.entry.js} +2 -2
- package/dist/esm/{tttx-graph_1_9_72.entry.js → tttx-graph_1_9_73.entry.js} +1 -1
- package/dist/esm/{tttx-icon_1_9_72.entry.js → tttx-icon_1_9_73.entry.js} +1 -1
- package/dist/esm/{tttx-keyvalue-block_1_9_72.entry.js → tttx-keyvalue-block_1_9_73.entry.js} +1 -1
- package/dist/esm/{tttx-loading-spinner_1_9_72_3.entry.js → tttx-loading-spinner_1_9_73_3.entry.js} +4 -4
- package/dist/esm/{tttx-multiselect-box_1_9_72.entry.js → tttx-multiselect-box_1_9_73.entry.js} +7 -7
- package/dist/esm/{tttx-percentage-bar_1_9_72.entry.js → tttx-percentage-bar_1_9_73.entry.js} +2 -2
- package/dist/esm/{tttx-qrcode_1_9_72.entry.js → tttx-qrcode_1_9_73.entry.js} +1 -1
- package/dist/esm/{tttx-range-slider_1_9_72.entry.js → tttx-range-slider_1_9_73.entry.js} +1 -1
- package/dist/esm/{tttx-select-box_1_9_72.entry.js → tttx-select-box_1_9_73.entry.js} +6 -6
- package/dist/esm/{tttx-skeleton_loader_1_9_72.entry.js → tttx-skeleton_loader_1_9_73.entry.js} +1 -1
- package/dist/esm/{tttx-table_1_9_72.entry.js → tttx-table_1_9_73.entry.js} +1 -1
- package/dist/esm/{tttx-tabs_1_9_72.entry.js → tttx-tabs_1_9_73.entry.js} +4 -4
- package/dist/esm/{tttx-tag-v2_1_9_72.entry.js → tttx-tag-v2_1_9_73.entry.js} +2 -2
- package/dist/esm/{tttx-textarea_1_9_72.entry.js → tttx-textarea_1_9_73.entry.js} +2 -2
- package/dist/esm/{tttx-toggle_1_9_72.entry.js → tttx-toggle_1_9_73.entry.js} +1 -1
- package/dist/esm/{tttx-tooltip_1_9_72.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 -1
- 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 -1
- package/dist/tttx/p-b2a0053a.entry.js +1 -1
- package/dist/tttx/p-b4fe2853.entry.js +1 -1
- package/dist/tttx/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/molecules/tttx-select-box/tttx-select-box.d.ts +1 -1
- package/dist/types/components/molecules/tttx-standalone-input/tttx-standalone-input.d.ts +2 -2
- package/dist/types/components/molecules/tttx-textarea/tttx-textarea.d.ts +2 -2
- package/dist/types/components/molecules/tttx-tree-view/tttx-tree-view.d.ts +1 -1
- package/dist/types/components.d.ts +449 -449
- package/package.json +1 -1
- package/dist/cjs/tttx-tree-view_1_9_72.cjs.entry.js +0 -207
- package/dist/components/tttx-action-dropdown_1_9_72.d.ts +0 -11
- package/dist/components/tttx-checkbox-group-caption_1_9_72.d.ts +0 -11
- package/dist/components/tttx-checkbox-group-heading_1_9_72.d.ts +0 -11
- package/dist/components/tttx-checkbox-group_1_9_72.d.ts +0 -11
- package/dist/components/tttx-comments_1_9_72.d.ts +0 -11
- package/dist/components/tttx-data-pattern_1_9_72.d.ts +0 -11
- package/dist/components/tttx-datacard_1_9_72.d.ts +0 -11
- package/dist/components/tttx-dialog-box_1_9_72.d.ts +0 -11
- package/dist/components/tttx-expander_1_9_72.d.ts +0 -11
- package/dist/components/tttx-keyvalue-block_1_9_72.d.ts +0 -11
- package/dist/components/tttx-loading-spinner_1_9_72.d.ts +0 -11
- package/dist/components/tttx-multiselect-box_1_9_72.d.ts +0 -11
- package/dist/components/tttx-percentage-bar_1_9_72.d.ts +0 -11
- package/dist/components/tttx-range-slider_1_9_72.d.ts +0 -11
- package/dist/components/tttx-select-box_1_9_72.d.ts +0 -11
- package/dist/components/tttx-skeleton_loader_1_9_72.d.ts +0 -11
- package/dist/components/tttx-sorter_1_9_72.d.ts +0 -11
- package/dist/components/tttx-standalone-input_1_9_72.d.ts +0 -11
- package/dist/components/tttx-textarea_1_9_72.d.ts +0 -11
- package/dist/components/tttx-toggle_1_9_72.d.ts +0 -11
- package/dist/components/tttx-toolbar_1_9_72.d.ts +0 -11
- package/dist/components/tttx-tooltip_1_9_72.d.ts +0 -11
- package/dist/components/tttx-tree-view_1_9_72.d.ts +0 -11
- package/dist/components/tttx-tree-view_1_9_72.js +0 -235
- package/dist/esm/tttx-tree-view_1_9_72.entry.js +0 -203
- package/dist/tttx/p-d1ee41dd.entry.js +0 -1
|
@@ -10,12 +10,12 @@ export default {
|
|
|
10
10
|
decorators: [withActions],
|
|
11
11
|
};
|
|
12
12
|
const Default = ({ tabsName, navigation, wide, tabs }) => `
|
|
13
|
-
<tttx-
|
|
13
|
+
<tttx-tabs_1_9_73
|
|
14
14
|
tabsName='${tabsName}'
|
|
15
15
|
navigation='${navigation}'
|
|
16
16
|
wide='${wide}'
|
|
17
17
|
tabs='${JSON.stringify(tabs)}'
|
|
18
|
-
></tttx-
|
|
18
|
+
></tttx-tabs_1_9_73>
|
|
19
19
|
`;
|
|
20
20
|
export const DefaultTabs = Default.bind({});
|
|
21
21
|
DefaultTabs.args = {
|
|
@@ -51,12 +51,12 @@ DefaultTabs.args = {
|
|
|
51
51
|
],
|
|
52
52
|
};
|
|
53
53
|
const TabsWithNavigation = ({ tabsName, navigation, wide, tabs }) => `
|
|
54
|
-
<tttx-
|
|
54
|
+
<tttx-tabs_1_9_73
|
|
55
55
|
tabsName='${tabsName}'
|
|
56
56
|
navigation='${navigation}'
|
|
57
57
|
wide='${wide}'
|
|
58
58
|
tabs='${JSON.stringify(tabs)}'
|
|
59
|
-
></tttx-
|
|
59
|
+
></tttx-tabs_1_9_73>
|
|
60
60
|
`;
|
|
61
61
|
export const NavigationTabs = TabsWithNavigation.bind({});
|
|
62
62
|
NavigationTabs.args = {
|
|
@@ -42,7 +42,7 @@ export class TttxTextarea {
|
|
|
42
42
|
const classNames = [this.showerrormsg ? 'invalid' : '', !this.label && this.required ? 'no-label' : ''].join(' ');
|
|
43
43
|
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))))));
|
|
44
44
|
}
|
|
45
|
-
static get is() { return "tttx-
|
|
45
|
+
static get is() { return "tttx-textarea_1_9_73"; }
|
|
46
46
|
static get encapsulation() { return "scoped"; }
|
|
47
47
|
static get originalStyleUrls() {
|
|
48
48
|
return {
|
|
@@ -206,10 +206,10 @@ export class TttxTextarea {
|
|
|
206
206
|
"docs": {
|
|
207
207
|
"tags": [{
|
|
208
208
|
"name": "example",
|
|
209
|
-
"text": "<caption>In HTML (like `index.html`)</caption>\n<tttx-
|
|
209
|
+
"text": "<caption>In HTML (like `index.html`)</caption>\n<tttx-textarea_1_9_73 input-index=\"1\" />"
|
|
210
210
|
}, {
|
|
211
211
|
"name": "example",
|
|
212
|
-
"text": "<caption>In TSX files</caption>\n<tttx-
|
|
212
|
+
"text": "<caption>In TSX files</caption>\n<tttx-textarea_1_9_73 inputindex={1} />"
|
|
213
213
|
}],
|
|
214
214
|
"text": "tabindex - Allows the HTML elements to be focusable"
|
|
215
215
|
},
|
|
@@ -53,7 +53,7 @@ export default {
|
|
|
53
53
|
},
|
|
54
54
|
};
|
|
55
55
|
const TemplateTextarea = ({ iconleft, iconleftcolor, iconright, iconrightcolor, inputicon, inputiconcolor, label, secondarylabel, errormsg, showerrorbubble, showerrormsg, disabled, maxlength, minlength, name, pattern, placeholder, readonly, required, resize = false, rows, type, value, }) => `
|
|
56
|
-
<tttx-
|
|
56
|
+
<tttx-textarea_1_9_73
|
|
57
57
|
iconleft="${iconleft || ''}"
|
|
58
58
|
iconleftcolor="${iconleftcolor || ''}"
|
|
59
59
|
iconright="${iconright || ''}"
|
|
@@ -22,7 +22,7 @@ export class TttxToolbar {
|
|
|
22
22
|
render() {
|
|
23
23
|
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' }))));
|
|
24
24
|
}
|
|
25
|
-
static get is() { return "tttx-
|
|
25
|
+
static get is() { return "tttx-toolbar_1_9_73"; }
|
|
26
26
|
static get encapsulation() { return "shadow"; }
|
|
27
27
|
static get originalStyleUrls() {
|
|
28
28
|
return {
|
|
@@ -8,63 +8,63 @@ export default {
|
|
|
8
8
|
},
|
|
9
9
|
};
|
|
10
10
|
const Default = ({ border }) => `
|
|
11
|
-
<tttx-
|
|
12
|
-
<span slot="before"><tttx-
|
|
13
|
-
<span slot="center"><tttx-
|
|
14
|
-
<span slot="after"><tttx-
|
|
15
|
-
</tttx-
|
|
11
|
+
<tttx-toolbar_1_9_73 border="${border ? 'true' : 'false'}">
|
|
12
|
+
<span slot="before"><tttx-button_1_9_73 design="primary">Before</tttx-button_1_9_73><tttx-button_1_9_73 design="primary">Button Two</tttx-button_1_9_73></span>
|
|
13
|
+
<span slot="center"><tttx-button_1_9_73 design="primary">Center</tttx-button_1_9_73></span>
|
|
14
|
+
<span slot="after"><tttx-button_1_9_73 design="primary">After</tttx-button_1_9_73></span>
|
|
15
|
+
</tttx-toolbar_1_9_73>
|
|
16
16
|
`;
|
|
17
17
|
export const DefaultToolbar = Default.bind({});
|
|
18
18
|
DefaultToolbar.args = {
|
|
19
19
|
border: true
|
|
20
20
|
};
|
|
21
21
|
const TallElements = ({ border }) => `
|
|
22
|
-
<tttx-
|
|
23
|
-
<span slot="before"><tttx-
|
|
24
|
-
<span slot="center"><div style="position: relative; top: 17px;"><tttx-standalone-
|
|
25
|
-
<span slot="after"><div style="position: relative; top: 22px;"><tttx-keyvalue-
|
|
26
|
-
</tttx-
|
|
22
|
+
<tttx-toolbar_1_9_73 border="${border ? 'true' : 'false'}">
|
|
23
|
+
<span slot="before"><tttx-button_1_9_73 design="primary">Before</tttx-button_1_9_73><div style="position: relative; top: 18px;"><tttx-standalone-input_1_9_73 placeholder="before" label="search" required showerrorbubble="false" inputicon="search" /></div></span>
|
|
24
|
+
<span slot="center"><div style="position: relative; top: 17px;"><tttx-standalone-input_1_9_73 placeholder="center" inline required showerrorbubble="false" inputicon="search" /></div></span>
|
|
25
|
+
<span slot="after"><div style="position: relative; top: 22px;"><tttx-keyvalue-block_1_9_73 horizontal keyvalues='{"Position":"after"}' /></div></span>
|
|
26
|
+
</tttx-toolbar_1_9_73>
|
|
27
27
|
`;
|
|
28
28
|
export const TallElementsToolbar = TallElements.bind({});
|
|
29
29
|
TallElementsToolbar.args = {
|
|
30
30
|
border: true
|
|
31
31
|
};
|
|
32
32
|
const WrapElements = ({ border }) => `
|
|
33
|
-
<tttx-
|
|
34
|
-
<span slot="before"><div style="width: 125px;display: flex;gap: 8px;flex-wrap: wrap;"><tttx-
|
|
35
|
-
<span slot="center"><div style="width: 125px;display: flex;gap: 8px;flex-wrap: wrap;"><tttx-
|
|
36
|
-
<span slot="after"><div style="width: 125px;display: flex;gap: 8px;flex-wrap: wrap;"><tttx-
|
|
37
|
-
</tttx-
|
|
33
|
+
<tttx-toolbar_1_9_73 border="${border ? 'true' : 'false'}">
|
|
34
|
+
<span slot="before"><div style="width: 125px;display: flex;gap: 8px;flex-wrap: wrap;"><tttx-button_1_9_73 design="primary">Button One</tttx-button_1_9_73><tttx-button_1_9_73 design="primary">Button Two</tttx-button_1_9_73><tttx-button_1_9_73 design="primary">Button Three</tttx-button_1_9_73></div></span>
|
|
35
|
+
<span slot="center"><div style="width: 125px;display: flex;gap: 8px;flex-wrap: wrap;"><tttx-button_1_9_73 design="primary">Button One</tttx-button_1_9_73><tttx-button_1_9_73 design="primary">Button Two</tttx-button_1_9_73><tttx-button_1_9_73 design="primary">Button Three</tttx-button_1_9_73></div></span>
|
|
36
|
+
<span slot="after"><div style="width: 125px;display: flex;gap: 8px;flex-wrap: wrap;"><tttx-button_1_9_73 design="primary">Button One</tttx-button_1_9_73><tttx-button_1_9_73 design="primary">Button Two</tttx-button_1_9_73><tttx-button_1_9_73 design="primary">Button Three</tttx-button_1_9_73></div></span>
|
|
37
|
+
</tttx-toolbar_1_9_73>
|
|
38
38
|
`;
|
|
39
39
|
export const WrapElementsToolbar = WrapElements.bind({});
|
|
40
40
|
WrapElementsToolbar.args = {
|
|
41
41
|
border: true
|
|
42
42
|
};
|
|
43
43
|
const LeftToolbar = ({ border }) => `
|
|
44
|
-
<tttx-
|
|
45
|
-
<span slot="before"><tttx-
|
|
46
|
-
</tttx-
|
|
44
|
+
<tttx-toolbar_1_9_73 border="${border ? 'true' : 'false'}">
|
|
45
|
+
<span slot="before"><tttx-button_1_9_73 design="primary">Before</tttx-button_1_9_73><tttx-button_1_9_73 design="primary">Button Two</tttx-button_1_9_73></span>
|
|
46
|
+
</tttx-toolbar_1_9_73>
|
|
47
47
|
`;
|
|
48
48
|
export const LeftToolbarOnly = LeftToolbar.bind({});
|
|
49
49
|
LeftToolbarOnly.args = {
|
|
50
50
|
border: true
|
|
51
51
|
};
|
|
52
52
|
const CenterToolbar = ({ border }) => `
|
|
53
|
-
<tttx-
|
|
53
|
+
<tttx-toolbar_1_9_73 border="${border ? 'true' : 'false'}">
|
|
54
54
|
<span slot='before'></span>
|
|
55
|
-
<span slot="center"><tttx-
|
|
55
|
+
<span slot="center"><tttx-button_1_9_73 design="primary">Before</tttx-button_1_9_73><tttx-button_1_9_73 design="primary">Button Two</tttx-button_1_9_73></span>
|
|
56
56
|
<span slot='after'></span>
|
|
57
|
-
</tttx-
|
|
57
|
+
</tttx-toolbar_1_9_73>
|
|
58
58
|
`;
|
|
59
59
|
export const CenterToolbarOnly = CenterToolbar.bind({});
|
|
60
60
|
CenterToolbarOnly.args = {
|
|
61
61
|
border: true
|
|
62
62
|
};
|
|
63
63
|
const TwoColumn = ({ border }) => `
|
|
64
|
-
<tttx-
|
|
65
|
-
<span slot="before"><tttx-
|
|
66
|
-
<span slot='after'><tttx-
|
|
67
|
-
</tttx-
|
|
64
|
+
<tttx-toolbar_1_9_73 border="${border ? 'true' : 'false'}">
|
|
65
|
+
<span slot="before"><tttx-button_1_9_73 design="primary">Before</tttx-button_1_9_73><tttx-button_1_9_73 design="primary">Button Two</tttx-button_1_9_73></span>
|
|
66
|
+
<span slot='after'><tttx-button_1_9_73 design="primary">After</tttx-button_1_9_73><tttx-button_1_9_73 design="primary">Button Two</tttx-button_1_9_73></span>
|
|
67
|
+
</tttx-toolbar_1_9_73>
|
|
68
68
|
`;
|
|
69
69
|
export const TwoColumnToolbar = TwoColumn.bind({});
|
|
70
70
|
TwoColumnToolbar.args = {
|
|
@@ -87,34 +87,34 @@ const selectOptions = JSON.stringify([
|
|
|
87
87
|
{ value: 'Ronaldo', label: 'Mann' },
|
|
88
88
|
]);
|
|
89
89
|
const LongItems = ({ border }) => `
|
|
90
|
-
<tttx-
|
|
90
|
+
<tttx-toolbar_1_9_73 border="${border ? 'true' : 'false'}">
|
|
91
91
|
<span slot="before">
|
|
92
92
|
<div style="width: 350px">
|
|
93
|
-
<tttx-select-
|
|
93
|
+
<tttx-select-box_1_9_73
|
|
94
94
|
id="htmlSelectBox"
|
|
95
95
|
options-data='${selectOptions}'
|
|
96
96
|
placeholder='Select a name'
|
|
97
97
|
label=''
|
|
98
98
|
inline='true'
|
|
99
|
-
></tttx-select-
|
|
99
|
+
></tttx-select-box_1_9_73>
|
|
100
100
|
</div>
|
|
101
|
-
<tttx-
|
|
101
|
+
<tttx-button_1_9_73>
|
|
102
102
|
This is a very long button
|
|
103
|
-
</tttx-
|
|
104
|
-
<tttx-
|
|
103
|
+
</tttx-button_1_9_73>
|
|
104
|
+
<tttx-button_1_9_73>
|
|
105
105
|
This is a very long button
|
|
106
|
-
</tttx-
|
|
107
|
-
<tttx-
|
|
106
|
+
</tttx-button_1_9_73>
|
|
107
|
+
<tttx-button_1_9_73>
|
|
108
108
|
This is a very long button
|
|
109
|
-
</tttx-
|
|
109
|
+
</tttx-button_1_9_73>
|
|
110
110
|
</span>
|
|
111
111
|
<span slot="center">
|
|
112
|
-
<tttx-
|
|
112
|
+
<tttx-button_1_9_73>
|
|
113
113
|
This is a very long button in the middle
|
|
114
|
-
</tttx-
|
|
114
|
+
</tttx-button_1_9_73>
|
|
115
115
|
</span>
|
|
116
116
|
<span slot="after"></span>
|
|
117
|
-
</tttx-
|
|
117
|
+
</tttx-toolbar_1_9_73>
|
|
118
118
|
`;
|
|
119
119
|
export const LongItemsToolbar = LongItems.bind({});
|
|
120
120
|
LongItemsToolbar.args = {
|
|
@@ -46,7 +46,7 @@ export class TttxTooltip {
|
|
|
46
46
|
render() {
|
|
47
47
|
return (h("div", { class: "tooltip-wrapper" }, h("slot", null), this.visible && (h("div", { class: `tooltip-box ${this.placement}`, role: "tooltip", "aria-label": this.ariaLabel || this.text }, this.text, h("span", { class: "arrow" })))));
|
|
48
48
|
}
|
|
49
|
-
static get is() { return "tttx-
|
|
49
|
+
static get is() { return "tttx-tooltip_1_9_73"; }
|
|
50
50
|
static get encapsulation() { return "shadow"; }
|
|
51
51
|
static get originalStyleUrls() {
|
|
52
52
|
return {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { action } from '@storybook/addon-actions';
|
|
2
2
|
export default {
|
|
3
3
|
title: 'atoms/Tooltip',
|
|
4
|
-
component: 'tttx-
|
|
4
|
+
component: 'tttx-tooltip_1_9_73',
|
|
5
5
|
parameters: {
|
|
6
6
|
layout: 'centered',
|
|
7
7
|
},
|
|
@@ -10,7 +10,7 @@ const Template = ({ text, placement, delay }) => {
|
|
|
10
10
|
const wrapper = document.createElement('div');
|
|
11
11
|
wrapper.style.display = 'inline-block';
|
|
12
12
|
wrapper.style.margin = '100px'; // Ensure enough space around for placement testing
|
|
13
|
-
const tooltip = document.createElement('tttx-
|
|
13
|
+
const tooltip = document.createElement('tttx-tooltip_1_9_73');
|
|
14
14
|
tooltip.setAttribute('text', text);
|
|
15
15
|
tooltip.setAttribute('placement', placement);
|
|
16
16
|
tooltip.setAttribute('delay', delay);
|
|
@@ -1,17 +1,94 @@
|
|
|
1
|
+
@charset "UTF-8";
|
|
1
2
|
.material-symbols-rounded {
|
|
2
3
|
font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24;
|
|
3
4
|
}
|
|
4
5
|
|
|
6
|
+
:host {
|
|
7
|
+
--tree-accent: #2196F3;
|
|
8
|
+
/* selection accent color */
|
|
9
|
+
--tree-selected-bg: #EBFBFC;
|
|
10
|
+
/* selection slab bg */
|
|
11
|
+
--indent: 36px;
|
|
12
|
+
/* per-level indentation */
|
|
13
|
+
--accent-gap: 46px;
|
|
14
|
+
/* gap from content to accent bar */
|
|
15
|
+
--accent-width: 4px;
|
|
16
|
+
/* accent bar width */
|
|
17
|
+
--tree-left-edge-shift: 0px;
|
|
18
|
+
}
|
|
19
|
+
|
|
5
20
|
.tree-view-element > ul {
|
|
6
21
|
margin: 0;
|
|
7
22
|
padding: 0;
|
|
8
23
|
}
|
|
9
|
-
.tree-view-element
|
|
10
|
-
padding:
|
|
24
|
+
.tree-view-element ul {
|
|
25
|
+
padding-left: var(--indent);
|
|
11
26
|
}
|
|
12
27
|
.tree-view-element ul li {
|
|
13
28
|
list-style-type: none;
|
|
14
29
|
}
|
|
30
|
+
.tree-view-element ul li.selected-group {
|
|
31
|
+
position: relative;
|
|
32
|
+
/* Remove the full-height accent bar */
|
|
33
|
+
/* A) Tint the selected group's own header row AND add accent bar */
|
|
34
|
+
/* B) Tint ONLY subgroup headers (tree-node), any depth AND add accent bars */
|
|
35
|
+
/* 🚫 C) Explicitly exclude activities (treeLeaf) from slab */
|
|
36
|
+
/* Remove nested selected-group styling to avoid conflicts */
|
|
37
|
+
}
|
|
38
|
+
.tree-view-element ul li.selected-group::before {
|
|
39
|
+
display: none;
|
|
40
|
+
}
|
|
41
|
+
.tree-view-element ul li.selected-group::after {
|
|
42
|
+
display: none;
|
|
43
|
+
}
|
|
44
|
+
.tree-view-element ul li.selected-group > li.inline-tree-item.element-row.tree-node {
|
|
45
|
+
/* Add accent bar only to the group header */
|
|
46
|
+
}
|
|
47
|
+
.tree-view-element ul li.selected-group > li.inline-tree-item.element-row.tree-node::before {
|
|
48
|
+
background-color: var(--tree-selected-bg) !important;
|
|
49
|
+
z-index: 2;
|
|
50
|
+
}
|
|
51
|
+
.tree-view-element ul li.selected-group > li.inline-tree-item.element-row.tree-node::after {
|
|
52
|
+
content: "";
|
|
53
|
+
position: absolute;
|
|
54
|
+
top: 0;
|
|
55
|
+
bottom: 0;
|
|
56
|
+
width: var(--accent-width);
|
|
57
|
+
left: calc(-1 * (var(--accent-gap) + var(--level, 0) * var(--indent)));
|
|
58
|
+
background-color: var(--tree-accent);
|
|
59
|
+
border-radius: 0 2px 2px 0;
|
|
60
|
+
z-index: 5;
|
|
61
|
+
}
|
|
62
|
+
.tree-view-element ul li.selected-group li.inline-tree-item.element-row.tree-node {
|
|
63
|
+
/* Add accent bar to each subgroup header */
|
|
64
|
+
}
|
|
65
|
+
.tree-view-element ul li.selected-group li.inline-tree-item.element-row.tree-node::before {
|
|
66
|
+
background-color: var(--tree-selected-bg) !important;
|
|
67
|
+
z-index: 2;
|
|
68
|
+
}
|
|
69
|
+
.tree-view-element ul li.selected-group li.inline-tree-item.element-row.tree-node::after {
|
|
70
|
+
content: "";
|
|
71
|
+
position: absolute;
|
|
72
|
+
top: 0;
|
|
73
|
+
bottom: 0;
|
|
74
|
+
width: var(--accent-width);
|
|
75
|
+
left: calc(-1 * (var(--accent-gap) + var(--level, 0) * var(--indent)));
|
|
76
|
+
background-color: var(--tree-accent);
|
|
77
|
+
border-radius: 0 2px 2px 0;
|
|
78
|
+
z-index: 5;
|
|
79
|
+
}
|
|
80
|
+
.tree-view-element ul li.selected-group li.inline-tree-item.element-row:not(.tree-node)::before {
|
|
81
|
+
background-color: transparent !important;
|
|
82
|
+
}
|
|
83
|
+
.tree-view-element ul li.selected-group li.selected-group::before {
|
|
84
|
+
display: none;
|
|
85
|
+
}
|
|
86
|
+
.tree-view-element ul li.selected-group > li.inline-tree-item,
|
|
87
|
+
.tree-view-element ul li.selected-group > ul {
|
|
88
|
+
position: relative;
|
|
89
|
+
z-index: 3;
|
|
90
|
+
background: transparent;
|
|
91
|
+
}
|
|
15
92
|
.tree-view-element ul li.inline-tree-item {
|
|
16
93
|
display: flex;
|
|
17
94
|
align-items: center;
|
|
@@ -44,12 +121,19 @@
|
|
|
44
121
|
bottom: 0;
|
|
45
122
|
right: 0;
|
|
46
123
|
pointer-events: none;
|
|
124
|
+
color: #212121 !important;
|
|
125
|
+
z-index: 3;
|
|
47
126
|
}
|
|
48
127
|
.tree-view-element ul li.inline-tree-item.element-row.rowHover:not(.rowSelected):hover::before {
|
|
49
128
|
background-color: rgba(17, 17, 17, 0.05);
|
|
129
|
+
z-index: 3;
|
|
50
130
|
}
|
|
51
131
|
.tree-view-element ul li.inline-tree-item.element-row.rowHover.rowSelected:hover::before {
|
|
52
132
|
background-color: rgba(17, 17, 17, 0.15);
|
|
133
|
+
z-index: 3;
|
|
134
|
+
}
|
|
135
|
+
.tree-view-element ul li.inline-tree-item.element-row.rowHover:not(.tree-node).rowSelected:hover::before {
|
|
136
|
+
background-color: transparent !important;
|
|
53
137
|
}
|
|
54
138
|
}
|
|
55
139
|
.tree-view-element ul li.inline-tree-item.element-row {
|
|
@@ -58,6 +142,8 @@
|
|
|
58
142
|
font-size: 16px;
|
|
59
143
|
padding: 8px 0px;
|
|
60
144
|
position: relative;
|
|
145
|
+
color: #212121 !important;
|
|
146
|
+
/* Group header rows */
|
|
61
147
|
}
|
|
62
148
|
.tree-view-element ul li.inline-tree-item.element-row::before {
|
|
63
149
|
content: "";
|
|
@@ -75,16 +161,15 @@
|
|
|
75
161
|
top: 0;
|
|
76
162
|
bottom: 0;
|
|
77
163
|
right: 0;
|
|
78
|
-
background-color:
|
|
164
|
+
background-color: #EBFBFC;
|
|
79
165
|
pointer-events: none;
|
|
80
166
|
}
|
|
81
167
|
.tree-view-element ul li.inline-tree-item.element-row.tree-node::before {
|
|
82
|
-
background-color: #fafafa;
|
|
83
168
|
height: 51px;
|
|
84
|
-
z-index:
|
|
169
|
+
z-index: 2;
|
|
85
170
|
}
|
|
86
171
|
.tree-view-element ul li.inline-tree-item.element-row.tree-node * {
|
|
87
|
-
z-index:
|
|
172
|
+
z-index: 3;
|
|
88
173
|
}
|
|
89
174
|
.tree-view-element ul li.inline-tree-item.element-row .treeNode {
|
|
90
175
|
width: 100%;
|
|
@@ -94,6 +179,11 @@
|
|
|
94
179
|
.tree-view-element ul li.inline-tree-item.element-row .treeLeaf {
|
|
95
180
|
width: 100%;
|
|
96
181
|
font-weight: 400;
|
|
182
|
+
color: #212121 !important;
|
|
183
|
+
}
|
|
184
|
+
.tree-view-element ul li.inline-tree-item.element-row.rowSelected .treeLeaf,
|
|
185
|
+
.tree-view-element ul li.inline-tree-item.element-row.rowSelected .treeNode {
|
|
186
|
+
color: #212121 !important;
|
|
97
187
|
}
|
|
98
188
|
.tree-view-element ul li.inline-tree-item.element-row .drag-handle {
|
|
99
189
|
margin-right: 10px;
|
|
@@ -103,4 +193,37 @@
|
|
|
103
193
|
border-style: dashed;
|
|
104
194
|
cursor: not-allowed;
|
|
105
195
|
opacity: 0.7;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
@media (forced-colors: active) {
|
|
199
|
+
.tree-view-element ul li.selected-group li.inline-tree-item.element-row.tree-node::after {
|
|
200
|
+
background: CanvasText;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
.tree-view-element ul li.selected-group::after {
|
|
204
|
+
background: Highlight;
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
.inline-tree-item:focus-visible {
|
|
208
|
+
outline: 2px solid var(--tree-accent);
|
|
209
|
+
outline-offset: 2px;
|
|
210
|
+
border-radius: 6px;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
.tree-view-element ul li.inline-tree-item.element-row:not(.tree-node).rowSelected {
|
|
214
|
+
background-color: transparent !important;
|
|
215
|
+
background: transparent !important;
|
|
216
|
+
}
|
|
217
|
+
.tree-view-element ul li.inline-tree-item.element-row:not(.tree-node).rowSelected::before {
|
|
218
|
+
background-color: transparent !important;
|
|
219
|
+
background: transparent !important;
|
|
220
|
+
}
|
|
221
|
+
.tree-view-element ul li.inline-tree-item.element-row:not(.tree-node).rowSelected:hover {
|
|
222
|
+
background-color: transparent !important;
|
|
223
|
+
background: transparent !important;
|
|
224
|
+
}
|
|
225
|
+
.tree-view-element ul li.inline-tree-item.element-row:not(.tree-node).rowSelected:hover::before {
|
|
226
|
+
display: none !important;
|
|
227
|
+
background-color: transparent !important;
|
|
228
|
+
background: transparent !important;
|
|
106
229
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
2
|
-
import { h,
|
|
2
|
+
import { h, getAssetPath } from '@stencil/core';
|
|
3
3
|
import * as DOMPurify from 'dompurify';
|
|
4
4
|
import domSanitiserOptions from '../../../shared/domsanitiser.options';
|
|
5
5
|
export class TttxTreeView {
|
|
@@ -42,15 +42,26 @@ export class TttxTreeView {
|
|
|
42
42
|
if (!nodeData)
|
|
43
43
|
return;
|
|
44
44
|
const { parentId: sourceParentId, index: sourceParentIndex, node: sourceNode } = JSON.parse(nodeData);
|
|
45
|
+
// Prevent dropping on itself or different parents
|
|
45
46
|
if (node.id === sourceNode.id || sourceParentId !== parentId)
|
|
46
47
|
return;
|
|
47
48
|
const updatedTree = [...this.treeData];
|
|
48
|
-
|
|
49
|
-
const
|
|
49
|
+
// Find the parent node
|
|
50
|
+
const parent = parentId ? this.findNodeById(updatedTree, parentId) : null;
|
|
51
|
+
// If no parent (root level), work with treeData directly
|
|
52
|
+
const children = (parent === null || parent === void 0 ? void 0 : parent.child) ? [...parent.child] : [...updatedTree];
|
|
53
|
+
if (!children || children.length === 0)
|
|
54
|
+
return;
|
|
55
|
+
// Move the node
|
|
50
56
|
const [moved] = children.splice(sourceParentIndex, 1);
|
|
51
57
|
children.splice(targetIndex, 0, moved);
|
|
52
|
-
|
|
53
|
-
|
|
58
|
+
// Update the tree
|
|
59
|
+
if (parent) {
|
|
60
|
+
parent.child = children;
|
|
61
|
+
}
|
|
62
|
+
else {
|
|
63
|
+
this.treeData = children;
|
|
64
|
+
}
|
|
54
65
|
this.draggedNodeParentId = undefined;
|
|
55
66
|
if (this.dragGhost.el) {
|
|
56
67
|
this.dragGhost.el.remove();
|
|
@@ -160,28 +171,31 @@ export class TttxTreeView {
|
|
|
160
171
|
}
|
|
161
172
|
return undefined;
|
|
162
173
|
}
|
|
163
|
-
renderNode(node, index, parentId = undefined
|
|
174
|
+
renderNode(node, index, parentId = undefined, level = 0 // <-- depth
|
|
175
|
+
) {
|
|
164
176
|
var _a, _b;
|
|
165
177
|
const options = this.treeConfigs(node);
|
|
166
178
|
if (node.child) {
|
|
167
|
-
|
|
179
|
+
// group node
|
|
180
|
+
const isSelectedGroup = !!node.selected;
|
|
181
|
+
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 => {
|
|
168
182
|
if (node.hasHover) {
|
|
169
183
|
this.onClickHandler(event, node);
|
|
170
184
|
}
|
|
171
|
-
} }), h("tttx-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
else {
|
|
176
|
-
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}`, onClick: event => {
|
|
177
|
-
if (node.hasHover) {
|
|
178
|
-
this.onClickHandler(event, node);
|
|
179
|
-
}
|
|
180
|
-
} }), this.htmlcode('treeLeaf', node, options.checkboxIcon, options.checkboxColor, index, parentId)));
|
|
185
|
+
} }), 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) => {
|
|
186
|
+
// next level = level + 1
|
|
187
|
+
return this.renderNode(childNode, childIndex, node.id, level + 1);
|
|
188
|
+
}))) : null));
|
|
181
189
|
}
|
|
190
|
+
// leaf (activity)
|
|
191
|
+
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 => {
|
|
192
|
+
if (node.hasHover) {
|
|
193
|
+
this.onClickHandler(event, node);
|
|
194
|
+
}
|
|
195
|
+
} }), this.htmlcode('treeLeaf', node, options.checkboxIcon, options.checkboxColor, index, parentId)));
|
|
182
196
|
}
|
|
183
197
|
htmlcode(type, node, check_box, check_boxColor, index, parentId = undefined) {
|
|
184
|
-
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-
|
|
198
|
+
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: DOMPurify.sanitize(node.html, domSanitiserOptions) })));
|
|
185
199
|
return htmlcode;
|
|
186
200
|
}
|
|
187
201
|
render() {
|
|
@@ -189,7 +203,7 @@ export class TttxTreeView {
|
|
|
189
203
|
return;
|
|
190
204
|
return (h("div", { class: "tree-view-element" }, h("ul", null, this.treeData.map((node, index) => this.renderNode(node, index)))));
|
|
191
205
|
}
|
|
192
|
-
static get is() { return "tttx-tree-
|
|
206
|
+
static get is() { return "tttx-tree-view_1_9_73"; }
|
|
193
207
|
static get encapsulation() { return "shadow"; }
|
|
194
208
|
static get originalStyleUrls() {
|
|
195
209
|
return {
|