@3t-transform/threeteeui 1.9.72 → 1.9.74
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_74.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-button-v2_1_9_72.cjs.entry.js → tttx-button-v2_1_9_74.cjs.entry.js} +4 -4
- package/dist/cjs/{tttx-button_1_9_72.cjs.entry.js → tttx-button_1_9_74.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-chart_1_9_72.cjs.entry.js → tttx-chart_1_9_74.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-checkbox-group-caption_1_9_72.cjs.entry.js → tttx-checkbox-group-caption_1_9_74.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox-group-heading_1_9_72.cjs.entry.js → tttx-checkbox-group-heading_1_9_74.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox-group_1_9_72.cjs.entry.js → tttx-checkbox-group_1_9_74.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox_1_9_72.cjs.entry.js → tttx-checkbox_1_9_74.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-comments_1_9_72.cjs.entry.js → tttx-comments_1_9_74.cjs.entry.js} +4 -4
- package/dist/cjs/{tttx-data-pattern_1_9_72.cjs.entry.js → tttx-data-pattern_1_9_74.cjs.entry.js} +5 -5
- package/dist/cjs/{tttx-datacard_1_9_72.cjs.entry.js → tttx-datacard_1_9_74.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_74.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-dialog_1_9_72.cjs.entry.js → tttx-dialog_1_9_74.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-expander_1_9_72.cjs.entry.js → tttx-expander_1_9_74.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-filter_1_9_72_4.cjs.entry.js → tttx-filter_1_9_74_4.cjs.entry.js} +9 -9
- package/dist/cjs/{tttx-form_1_9_72.cjs.entry.js → tttx-form_1_9_74.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-graph_1_9_72.cjs.entry.js → tttx-graph_1_9_74.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-icon_1_9_72.cjs.entry.js → tttx-icon_1_9_74.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-keyvalue-block_1_9_72.cjs.entry.js → tttx-keyvalue-block_1_9_74.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-loading-spinner_1_9_72_3.cjs.entry.js → tttx-loading-spinner_1_9_74_3.cjs.entry.js} +6 -6
- package/dist/cjs/{tttx-multiselect-box_1_9_72.cjs.entry.js → tttx-multiselect-box_1_9_74.cjs.entry.js} +7 -7
- package/dist/cjs/{tttx-percentage-bar_1_9_72.cjs.entry.js → tttx-percentage-bar_1_9_74.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-qrcode_1_9_72.cjs.entry.js → tttx-qrcode_1_9_74.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-range-slider_1_9_72.cjs.entry.js → tttx-range-slider_1_9_74.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-select-box_1_9_72.cjs.entry.js → tttx-select-box_1_9_74.cjs.entry.js} +6 -6
- package/dist/cjs/{tttx-skeleton_loader_1_9_72.cjs.entry.js → tttx-skeleton_loader_1_9_74.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-table_1_9_72.cjs.entry.js → tttx-table_1_9_74.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-tabs_1_9_72.cjs.entry.js → tttx-tabs_1_9_74.cjs.entry.js} +4 -4
- package/dist/cjs/{tttx-tag-v2_1_9_72.cjs.entry.js → tttx-tag-v2_1_9_74.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-textarea_1_9_72.cjs.entry.js → tttx-textarea_1_9_74.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-toggle_1_9_72.cjs.entry.js → tttx-toggle_1_9_74.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-tooltip_1_9_72.cjs.entry.js → tttx-tooltip_1_9_74.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-tree-view_1_9_72.cjs.entry.js → tttx-tree-view_1_9_74.cjs.entry.js} +66 -19
- 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 +95 -31
- package/dist/collection/components/molecules/tttx-tree-view/tttx-tree-view.js +66 -19
- package/dist/collection/components/molecules/tttx-tree-view/tttx-tree-view.stories.js +101 -52
- 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_74.d.ts +11 -0
- package/dist/components/{tttx-action-dropdown_1_9_72.js → tttx-action-dropdown_1_9_74.js} +7 -7
- package/dist/components/{tttx-checkbox_1_9_72.d.ts → tttx-button-v2_1_9_74.d.ts} +4 -4
- package/dist/components/{tttx-button-v2_1_9_72.js → tttx-button-v2_1_9_74.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_74.d.ts} +4 -4
- package/dist/components/{tttx-button_1_9_72.js → tttx-button_1_9_74.js} +2 -2
- package/dist/components/{tttx-table_1_9_72.d.ts → tttx-chart_1_9_74.d.ts} +4 -4
- package/dist/components/{tttx-chart_1_9_72.js → tttx-chart_1_9_74.js} +10 -10
- package/dist/components/tttx-checkbox-group-caption_1_9_74.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group-caption_1_9_72.js → tttx-checkbox-group-caption_1_9_74.js} +5 -5
- package/dist/components/tttx-checkbox-group-heading_1_9_74.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group-heading_1_9_72.js → tttx-checkbox-group-heading_1_9_74.js} +5 -5
- package/dist/components/tttx-checkbox-group_1_9_74.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group_1_9_72.js → tttx-checkbox-group_1_9_74.js} +5 -5
- package/dist/components/{tttx-button-v2_1_9_72.d.ts → tttx-checkbox_1_9_74.d.ts} +4 -4
- package/dist/components/{tttx-checkbox_1_9_72.js → tttx-checkbox_1_9_74.js} +7 -7
- package/dist/components/tttx-comments_1_9_74.d.ts +11 -0
- package/dist/components/{tttx-comments_1_9_72.js → tttx-comments_1_9_74.js} +9 -9
- package/dist/components/tttx-data-pattern_1_9_74.d.ts +11 -0
- package/dist/components/{tttx-data-pattern_1_9_72.js → tttx-data-pattern_1_9_74.js} +16 -16
- package/dist/components/tttx-datacard_1_9_74.d.ts +11 -0
- package/dist/components/{tttx-datacard_1_9_72.js → tttx-datacard_1_9_74.js} +10 -10
- package/dist/components/tttx-date-range-picker.js +3 -3
- package/dist/components/tttx-dialog-box_1_9_74.d.ts +11 -0
- package/dist/components/{tttx-dialog-box_1_9_72.js → tttx-dialog-box_1_9_74.js} +9 -9
- package/dist/components/{tttx-filter_1_9_72.d.ts → tttx-dialog_1_9_74.d.ts} +4 -4
- package/dist/components/{tttx-dialog_1_9_72.js → tttx-dialog_1_9_74.js} +8 -8
- package/dist/components/tttx-expander_1_9_74.d.ts +11 -0
- package/dist/components/{tttx-expander_1_9_72.js → tttx-expander_1_9_74.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_74.d.ts} +4 -4
- package/dist/components/{tttx-filter_1_9_72.js → tttx-filter_1_9_74.js} +2 -2
- package/dist/components/{tttx-form_1_9_72.d.ts → tttx-form_1_9_74.d.ts} +4 -4
- package/dist/components/{tttx-form_1_9_72.js → tttx-form_1_9_74.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_74.d.ts} +4 -4
- package/dist/components/{tttx-graph_1_9_72.js → tttx-graph_1_9_74.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_74.d.ts} +4 -4
- package/dist/components/{tttx-icon_1_9_72.js → tttx-icon_1_9_74.js} +2 -2
- package/dist/components/tttx-keyvalue-block_1_9_74.d.ts +11 -0
- package/dist/components/{tttx-keyvalue-block_1_9_72.js → tttx-keyvalue-block_1_9_74.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_74.d.ts} +4 -4
- package/dist/components/{tttx-list_1_9_72.js → tttx-list_1_9_74.js} +2 -2
- package/dist/components/tttx-loading-spinner.js +3 -3
- package/dist/components/tttx-loading-spinner_1_9_74.d.ts +11 -0
- package/dist/components/{tttx-loading-spinner_1_9_72.js → tttx-loading-spinner_1_9_74.js} +2 -2
- package/dist/components/tttx-multiselect-box_1_9_74.d.ts +11 -0
- package/dist/components/{tttx-multiselect-box_1_9_72.js → tttx-multiselect-box_1_9_74.js} +16 -16
- package/dist/components/tttx-percentage-bar_1_9_74.d.ts +11 -0
- package/dist/components/{tttx-percentage-bar_1_9_72.js → tttx-percentage-bar_1_9_74.js} +6 -6
- package/dist/components/{tttx-qrcode_1_9_72.d.ts → tttx-qrcode_1_9_74.d.ts} +4 -4
- package/dist/components/{tttx-qrcode_1_9_72.js → tttx-qrcode_1_9_74.js} +5 -5
- package/dist/components/tttx-range-slider_1_9_74.d.ts +11 -0
- package/dist/components/{tttx-range-slider_1_9_72.js → tttx-range-slider_1_9_74.js} +5 -5
- package/dist/components/tttx-select-box.js +12 -12
- package/dist/components/tttx-select-box_1_9_74.d.ts +11 -0
- package/dist/components/{tttx-select-box_1_9_72.js → tttx-select-box_1_9_74.js} +2 -2
- package/dist/components/tttx-skeleton_loader_1_9_74.d.ts +11 -0
- package/dist/components/{tttx-skeleton_loader_1_9_72.js → tttx-skeleton_loader_1_9_74.js} +5 -5
- package/dist/components/tttx-sorter.js +5 -5
- package/dist/components/tttx-sorter_1_9_74.d.ts +11 -0
- package/dist/components/{tttx-sorter_1_9_72.js → tttx-sorter_1_9_74.js} +2 -2
- package/dist/components/tttx-standalone-input.js +6 -6
- package/dist/components/tttx-standalone-input_1_9_74.d.ts +11 -0
- package/dist/components/{tttx-standalone-input_1_9_72.js → tttx-standalone-input_1_9_74.js} +2 -2
- package/dist/components/{tttx-tag-v2_1_9_72.d.ts → tttx-table_1_9_74.d.ts} +4 -4
- package/dist/components/{tttx-table_1_9_72.js → tttx-table_1_9_74.js} +5 -5
- package/dist/components/{tttx-tabs_1_9_72.d.ts → tttx-tabs_1_9_74.d.ts} +4 -4
- package/dist/components/{tttx-tabs_1_9_72.js → tttx-tabs_1_9_74.js} +9 -9
- package/dist/components/{tttx-chart_1_9_72.d.ts → tttx-tag-v2_1_9_74.d.ts} +4 -4
- package/dist/components/{tttx-tag-v2_1_9_72.js → tttx-tag-v2_1_9_74.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_74.d.ts} +4 -4
- package/dist/components/{tttx-tag_1_9_72.js → tttx-tag_1_9_74.js} +2 -2
- package/dist/components/tttx-textarea_1_9_74.d.ts +11 -0
- package/dist/components/{tttx-textarea_1_9_72.js → tttx-textarea_1_9_74.js} +6 -6
- package/dist/components/tttx-toggle_1_9_74.d.ts +11 -0
- package/dist/components/{tttx-toggle_1_9_72.js → tttx-toggle_1_9_74.js} +5 -5
- package/dist/components/tttx-toolbar.js +3 -3
- package/dist/components/tttx-toolbar_1_9_74.d.ts +11 -0
- package/dist/components/{tttx-toolbar_1_9_72.js → tttx-toolbar_1_9_74.js} +2 -2
- package/dist/components/tttx-tooltip_1_9_74.d.ts +11 -0
- package/dist/components/{tttx-tooltip_1_9_72.js → tttx-tooltip_1_9_74.js} +5 -5
- package/dist/components/tttx-tree-view_1_9_74.d.ts +11 -0
- package/dist/components/{tttx-tree-view_1_9_72.js → tttx-tree-view_1_9_74.js} +73 -26
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{tttx-action-dropdown_1_9_72.entry.js → tttx-action-dropdown_1_9_74.entry.js} +2 -2
- package/dist/esm/{tttx-button-v2_1_9_72.entry.js → tttx-button-v2_1_9_74.entry.js} +4 -4
- package/dist/esm/{tttx-button_1_9_72.entry.js → tttx-button_1_9_74.entry.js} +2 -2
- package/dist/esm/{tttx-chart_1_9_72.entry.js → tttx-chart_1_9_74.entry.js} +3 -3
- package/dist/esm/{tttx-checkbox-group-caption_1_9_72.entry.js → tttx-checkbox-group-caption_1_9_74.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox-group-heading_1_9_72.entry.js → tttx-checkbox-group-heading_1_9_74.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox-group_1_9_72.entry.js → tttx-checkbox-group_1_9_74.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox_1_9_72.entry.js → tttx-checkbox_1_9_74.entry.js} +2 -2
- package/dist/esm/{tttx-comments_1_9_72.entry.js → tttx-comments_1_9_74.entry.js} +4 -4
- package/dist/esm/{tttx-data-pattern_1_9_72.entry.js → tttx-data-pattern_1_9_74.entry.js} +5 -5
- package/dist/esm/{tttx-datacard_1_9_72.entry.js → tttx-datacard_1_9_74.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_74.entry.js} +3 -3
- package/dist/esm/{tttx-dialog_1_9_72.entry.js → tttx-dialog_1_9_74.entry.js} +2 -2
- package/dist/esm/{tttx-expander_1_9_72.entry.js → tttx-expander_1_9_74.entry.js} +2 -2
- package/dist/esm/{tttx-filter_1_9_72_4.entry.js → tttx-filter_1_9_74_4.entry.js} +6 -6
- package/dist/esm/{tttx-form_1_9_72.entry.js → tttx-form_1_9_74.entry.js} +2 -2
- package/dist/esm/{tttx-graph_1_9_72.entry.js → tttx-graph_1_9_74.entry.js} +1 -1
- package/dist/esm/{tttx-icon_1_9_72.entry.js → tttx-icon_1_9_74.entry.js} +1 -1
- package/dist/esm/{tttx-keyvalue-block_1_9_72.entry.js → tttx-keyvalue-block_1_9_74.entry.js} +1 -1
- package/dist/esm/{tttx-loading-spinner_1_9_72_3.entry.js → tttx-loading-spinner_1_9_74_3.entry.js} +4 -4
- package/dist/esm/{tttx-multiselect-box_1_9_72.entry.js → tttx-multiselect-box_1_9_74.entry.js} +7 -7
- package/dist/esm/{tttx-percentage-bar_1_9_72.entry.js → tttx-percentage-bar_1_9_74.entry.js} +2 -2
- package/dist/esm/{tttx-qrcode_1_9_72.entry.js → tttx-qrcode_1_9_74.entry.js} +1 -1
- package/dist/esm/{tttx-range-slider_1_9_72.entry.js → tttx-range-slider_1_9_74.entry.js} +1 -1
- package/dist/esm/{tttx-select-box_1_9_72.entry.js → tttx-select-box_1_9_74.entry.js} +6 -6
- package/dist/esm/{tttx-skeleton_loader_1_9_72.entry.js → tttx-skeleton_loader_1_9_74.entry.js} +1 -1
- package/dist/esm/{tttx-table_1_9_72.entry.js → tttx-table_1_9_74.entry.js} +1 -1
- package/dist/esm/{tttx-tabs_1_9_72.entry.js → tttx-tabs_1_9_74.entry.js} +4 -4
- package/dist/esm/{tttx-tag-v2_1_9_72.entry.js → tttx-tag-v2_1_9_74.entry.js} +2 -2
- package/dist/esm/{tttx-textarea_1_9_72.entry.js → tttx-textarea_1_9_74.entry.js} +2 -2
- package/dist/esm/{tttx-toggle_1_9_72.entry.js → tttx-toggle_1_9_74.entry.js} +1 -1
- package/dist/esm/{tttx-tooltip_1_9_72.entry.js → tttx-tooltip_1_9_74.entry.js} +1 -1
- package/dist/esm/tttx-tree-view_1_9_74.entry.js +250 -0
- package/dist/esm/tttx.js +1 -1
- package/dist/tttx/p-0e1e86bc.entry.js +1 -0
- 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-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 +3 -1
- package/dist/types/components.d.ts +449 -449
- package/package.json +1 -1
- 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/esm/tttx-tree-view_1_9_72.entry.js +0 -203
- package/dist/tttx/p-d1ee41dd.entry.js +0 -1
|
@@ -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_74
|
|
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_74"; }
|
|
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_74 border="${border ? 'true' : 'false'}">
|
|
12
|
+
<span slot="before"><tttx-button_1_9_74 design="primary">Before</tttx-button_1_9_74><tttx-button_1_9_74 design="primary">Button Two</tttx-button_1_9_74></span>
|
|
13
|
+
<span slot="center"><tttx-button_1_9_74 design="primary">Center</tttx-button_1_9_74></span>
|
|
14
|
+
<span slot="after"><tttx-button_1_9_74 design="primary">After</tttx-button_1_9_74></span>
|
|
15
|
+
</tttx-toolbar_1_9_74>
|
|
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_74 border="${border ? 'true' : 'false'}">
|
|
23
|
+
<span slot="before"><tttx-button_1_9_74 design="primary">Before</tttx-button_1_9_74><div style="position: relative; top: 18px;"><tttx-standalone-input_1_9_74 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_74 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_74 horizontal keyvalues='{"Position":"after"}' /></div></span>
|
|
26
|
+
</tttx-toolbar_1_9_74>
|
|
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_74 border="${border ? 'true' : 'false'}">
|
|
34
|
+
<span slot="before"><div style="width: 125px;display: flex;gap: 8px;flex-wrap: wrap;"><tttx-button_1_9_74 design="primary">Button One</tttx-button_1_9_74><tttx-button_1_9_74 design="primary">Button Two</tttx-button_1_9_74><tttx-button_1_9_74 design="primary">Button Three</tttx-button_1_9_74></div></span>
|
|
35
|
+
<span slot="center"><div style="width: 125px;display: flex;gap: 8px;flex-wrap: wrap;"><tttx-button_1_9_74 design="primary">Button One</tttx-button_1_9_74><tttx-button_1_9_74 design="primary">Button Two</tttx-button_1_9_74><tttx-button_1_9_74 design="primary">Button Three</tttx-button_1_9_74></div></span>
|
|
36
|
+
<span slot="after"><div style="width: 125px;display: flex;gap: 8px;flex-wrap: wrap;"><tttx-button_1_9_74 design="primary">Button One</tttx-button_1_9_74><tttx-button_1_9_74 design="primary">Button Two</tttx-button_1_9_74><tttx-button_1_9_74 design="primary">Button Three</tttx-button_1_9_74></div></span>
|
|
37
|
+
</tttx-toolbar_1_9_74>
|
|
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_74 border="${border ? 'true' : 'false'}">
|
|
45
|
+
<span slot="before"><tttx-button_1_9_74 design="primary">Before</tttx-button_1_9_74><tttx-button_1_9_74 design="primary">Button Two</tttx-button_1_9_74></span>
|
|
46
|
+
</tttx-toolbar_1_9_74>
|
|
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_74 border="${border ? 'true' : 'false'}">
|
|
54
54
|
<span slot='before'></span>
|
|
55
|
-
<span slot="center"><tttx-
|
|
55
|
+
<span slot="center"><tttx-button_1_9_74 design="primary">Before</tttx-button_1_9_74><tttx-button_1_9_74 design="primary">Button Two</tttx-button_1_9_74></span>
|
|
56
56
|
<span slot='after'></span>
|
|
57
|
-
</tttx-
|
|
57
|
+
</tttx-toolbar_1_9_74>
|
|
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_74 border="${border ? 'true' : 'false'}">
|
|
65
|
+
<span slot="before"><tttx-button_1_9_74 design="primary">Before</tttx-button_1_9_74><tttx-button_1_9_74 design="primary">Button Two</tttx-button_1_9_74></span>
|
|
66
|
+
<span slot='after'><tttx-button_1_9_74 design="primary">After</tttx-button_1_9_74><tttx-button_1_9_74 design="primary">Button Two</tttx-button_1_9_74></span>
|
|
67
|
+
</tttx-toolbar_1_9_74>
|
|
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_74 border="${border ? 'true' : 'false'}">
|
|
91
91
|
<span slot="before">
|
|
92
92
|
<div style="width: 350px">
|
|
93
|
-
<tttx-select-
|
|
93
|
+
<tttx-select-box_1_9_74
|
|
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_74>
|
|
100
100
|
</div>
|
|
101
|
-
<tttx-
|
|
101
|
+
<tttx-button_1_9_74>
|
|
102
102
|
This is a very long button
|
|
103
|
-
</tttx-
|
|
104
|
-
<tttx-
|
|
103
|
+
</tttx-button_1_9_74>
|
|
104
|
+
<tttx-button_1_9_74>
|
|
105
105
|
This is a very long button
|
|
106
|
-
</tttx-
|
|
107
|
-
<tttx-
|
|
106
|
+
</tttx-button_1_9_74>
|
|
107
|
+
<tttx-button_1_9_74>
|
|
108
108
|
This is a very long button
|
|
109
|
-
</tttx-
|
|
109
|
+
</tttx-button_1_9_74>
|
|
110
110
|
</span>
|
|
111
111
|
<span slot="center">
|
|
112
|
-
<tttx-
|
|
112
|
+
<tttx-button_1_9_74>
|
|
113
113
|
This is a very long button in the middle
|
|
114
|
-
</tttx-
|
|
114
|
+
</tttx-button_1_9_74>
|
|
115
115
|
</span>
|
|
116
116
|
<span slot="after"></span>
|
|
117
|
-
</tttx-
|
|
117
|
+
</tttx-toolbar_1_9_74>
|
|
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_74"; }
|
|
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_74',
|
|
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_74');
|
|
14
14
|
tooltip.setAttribute('text', text);
|
|
15
15
|
tooltip.setAttribute('placement', placement);
|
|
16
16
|
tooltip.setAttribute('delay', delay);
|
|
@@ -2,15 +2,63 @@
|
|
|
2
2
|
font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24;
|
|
3
3
|
}
|
|
4
4
|
|
|
5
|
+
:host {
|
|
6
|
+
--tree-accent: #2196F3;
|
|
7
|
+
/* selection accent color */
|
|
8
|
+
--tree-selected-bg: #E8E8E8;
|
|
9
|
+
/* selected group background */
|
|
10
|
+
--indent: 36px;
|
|
11
|
+
/* per-level indentation */
|
|
12
|
+
--accent-gap: 46px;
|
|
13
|
+
/* gap from content to accent bar */
|
|
14
|
+
--accent-width: 4px;
|
|
15
|
+
/* accent bar width */
|
|
16
|
+
--tree-left-edge-shift: 0px;
|
|
17
|
+
}
|
|
18
|
+
|
|
5
19
|
.tree-view-element > ul {
|
|
6
20
|
margin: 0;
|
|
7
21
|
padding: 0;
|
|
8
22
|
}
|
|
9
|
-
.tree-view-element
|
|
10
|
-
padding:
|
|
23
|
+
.tree-view-element ul {
|
|
24
|
+
padding-left: var(--indent);
|
|
11
25
|
}
|
|
12
26
|
.tree-view-element ul li {
|
|
13
|
-
list-style
|
|
27
|
+
list-style: none;
|
|
28
|
+
}
|
|
29
|
+
.tree-view-element ul li.selected-group {
|
|
30
|
+
position: relative;
|
|
31
|
+
/* Remove default accent bars */
|
|
32
|
+
/* Highlight ONLY the selected group header */
|
|
33
|
+
/* Children / nested groups should remain default */
|
|
34
|
+
/* Leaves (treeLeaf) remain transparent */
|
|
35
|
+
}
|
|
36
|
+
.tree-view-element ul li.selected-group::before, .tree-view-element ul li.selected-group::after {
|
|
37
|
+
display: none;
|
|
38
|
+
}
|
|
39
|
+
.tree-view-element ul li.selected-group > li.inline-tree-item.element-row.tree-node {
|
|
40
|
+
background-color: #E8E8E8 !important;
|
|
41
|
+
position: relative;
|
|
42
|
+
}
|
|
43
|
+
.tree-view-element ul li.selected-group > li.inline-tree-item.element-row.tree-node::after {
|
|
44
|
+
content: "";
|
|
45
|
+
position: absolute;
|
|
46
|
+
top: 0;
|
|
47
|
+
bottom: 0;
|
|
48
|
+
width: var(--accent-width);
|
|
49
|
+
left: calc(-1 * (var(--accent-gap) + var(--level, 0) * var(--indent)));
|
|
50
|
+
background-color: var(--tree-accent);
|
|
51
|
+
border-radius: 0 2px 2px 0;
|
|
52
|
+
z-index: 5;
|
|
53
|
+
}
|
|
54
|
+
.tree-view-element ul li.selected-group > ul li.inline-tree-item.element-row.tree-node {
|
|
55
|
+
background-color: #F9F9F9 !important;
|
|
56
|
+
}
|
|
57
|
+
.tree-view-element ul li.selected-group > ul li.inline-tree-item.element-row.tree-node::after {
|
|
58
|
+
display: none !important;
|
|
59
|
+
}
|
|
60
|
+
.tree-view-element ul li.selected-group li.inline-tree-item.element-row:not(.tree-node)::before {
|
|
61
|
+
background-color: transparent !important;
|
|
14
62
|
}
|
|
15
63
|
.tree-view-element ul li.inline-tree-item {
|
|
16
64
|
display: flex;
|
|
@@ -18,11 +66,9 @@
|
|
|
18
66
|
}
|
|
19
67
|
.tree-view-element ul li.inline-tree-item .element {
|
|
20
68
|
display: flex;
|
|
21
|
-
flex-flow: row nowrap;
|
|
22
|
-
justify-content: flex-start;
|
|
23
|
-
align-items: center;
|
|
24
69
|
width: 100%;
|
|
25
70
|
padding-left: 8px;
|
|
71
|
+
align-items: center;
|
|
26
72
|
}
|
|
27
73
|
.tree-view-element ul li.inline-tree-item .element .padding-icon {
|
|
28
74
|
padding: 6px;
|
|
@@ -33,23 +79,16 @@
|
|
|
33
79
|
justify-content: center;
|
|
34
80
|
}
|
|
35
81
|
@media (hover: hover) {
|
|
36
|
-
.tree-view-element ul li.inline-tree-item.element-row.rowHover:hover {
|
|
82
|
+
.tree-view-element ul li.inline-tree-item.element-row.rowHover:hover:not(.rowSelected) {
|
|
37
83
|
cursor: pointer;
|
|
38
84
|
}
|
|
39
|
-
.tree-view-element ul li.inline-tree-item.element-row.rowHover:hover::before {
|
|
40
|
-
content: "";
|
|
41
|
-
position: absolute;
|
|
42
|
-
left: -50%;
|
|
43
|
-
top: 0;
|
|
44
|
-
bottom: 0;
|
|
45
|
-
right: 0;
|
|
46
|
-
pointer-events: none;
|
|
47
|
-
}
|
|
48
|
-
.tree-view-element ul li.inline-tree-item.element-row.rowHover:not(.rowSelected):hover::before {
|
|
85
|
+
.tree-view-element ul li.inline-tree-item.element-row.rowHover:hover:not(.rowSelected)::before {
|
|
49
86
|
background-color: rgba(17, 17, 17, 0.05);
|
|
87
|
+
z-index: 3;
|
|
50
88
|
}
|
|
51
|
-
.tree-view-element ul li.inline-tree-item.element-row.rowHover.rowSelected
|
|
89
|
+
.tree-view-element ul li.inline-tree-item.element-row.rowHover:hover.rowSelected::before {
|
|
52
90
|
background-color: rgba(17, 17, 17, 0.15);
|
|
91
|
+
z-index: 3;
|
|
53
92
|
}
|
|
54
93
|
}
|
|
55
94
|
.tree-view-element ul li.inline-tree-item.element-row {
|
|
@@ -58,6 +97,7 @@
|
|
|
58
97
|
font-size: 16px;
|
|
59
98
|
padding: 8px 0px;
|
|
60
99
|
position: relative;
|
|
100
|
+
color: #212121 !important;
|
|
61
101
|
}
|
|
62
102
|
.tree-view-element ul li.inline-tree-item.element-row::before {
|
|
63
103
|
content: "";
|
|
@@ -68,23 +108,16 @@
|
|
|
68
108
|
border-bottom: 1px solid #d5d5d5;
|
|
69
109
|
pointer-events: none;
|
|
70
110
|
}
|
|
71
|
-
.tree-view-element ul li.inline-tree-item.element-row.rowSelected::before {
|
|
72
|
-
content: "";
|
|
73
|
-
position: absolute;
|
|
74
|
-
left: -50%;
|
|
75
|
-
top: 0;
|
|
76
|
-
bottom: 0;
|
|
77
|
-
right: 0;
|
|
78
|
-
background-color: rgba(17, 17, 17, 0.1);
|
|
79
|
-
pointer-events: none;
|
|
80
|
-
}
|
|
81
111
|
.tree-view-element ul li.inline-tree-item.element-row.tree-node::before {
|
|
82
|
-
background-color: #fafafa;
|
|
83
112
|
height: 51px;
|
|
84
|
-
z-index:
|
|
113
|
+
z-index: 2;
|
|
114
|
+
background-color: #F9F9F9;
|
|
115
|
+
}
|
|
116
|
+
.tree-view-element ul li.inline-tree-item.element-row.tree-node.rowSelected::before {
|
|
117
|
+
background-color: #E8E8E8 !important;
|
|
85
118
|
}
|
|
86
119
|
.tree-view-element ul li.inline-tree-item.element-row.tree-node * {
|
|
87
|
-
z-index:
|
|
120
|
+
z-index: 3;
|
|
88
121
|
}
|
|
89
122
|
.tree-view-element ul li.inline-tree-item.element-row .treeNode {
|
|
90
123
|
width: 100%;
|
|
@@ -94,6 +127,11 @@
|
|
|
94
127
|
.tree-view-element ul li.inline-tree-item.element-row .treeLeaf {
|
|
95
128
|
width: 100%;
|
|
96
129
|
font-weight: 400;
|
|
130
|
+
color: #212121 !important;
|
|
131
|
+
}
|
|
132
|
+
.tree-view-element ul li.inline-tree-item.element-row.rowSelected .treeLeaf,
|
|
133
|
+
.tree-view-element ul li.inline-tree-item.element-row.rowSelected .treeNode {
|
|
134
|
+
color: #212121 !important;
|
|
97
135
|
}
|
|
98
136
|
.tree-view-element ul li.inline-tree-item.element-row .drag-handle {
|
|
99
137
|
margin-right: 10px;
|
|
@@ -103,4 +141,30 @@
|
|
|
103
141
|
border-style: dashed;
|
|
104
142
|
cursor: not-allowed;
|
|
105
143
|
opacity: 0.7;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
@media (forced-colors: active) {
|
|
147
|
+
.tree-view-element ul li.selected-group li.inline-tree-item.element-row.tree-node::after {
|
|
148
|
+
background: CanvasText;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.tree-view-element ul li.selected-group::after {
|
|
152
|
+
background: Highlight;
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
.inline-tree-item:focus-visible {
|
|
156
|
+
outline: 2px solid var(--tree-accent);
|
|
157
|
+
outline-offset: 2px;
|
|
158
|
+
border-radius: 6px;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
/* Ensure leaves do not get selected background */
|
|
162
|
+
.tree-view-element ul li.inline-tree-item.element-row:not(.tree-node).rowSelected {
|
|
163
|
+
background-color: transparent !important;
|
|
164
|
+
}
|
|
165
|
+
.tree-view-element ul li.inline-tree-item.element-row:not(.tree-node).rowSelected::before {
|
|
166
|
+
background-color: transparent !important;
|
|
167
|
+
}
|
|
168
|
+
.tree-view-element ul li.inline-tree-item.element-row:not(.tree-node).rowSelected:hover::before {
|
|
169
|
+
background-color: transparent !important;
|
|
106
170
|
}
|
|
@@ -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();
|
|
@@ -75,6 +86,19 @@ export class TttxTreeView {
|
|
|
75
86
|
}
|
|
76
87
|
onClickHandler(event, node) {
|
|
77
88
|
event.stopPropagation();
|
|
89
|
+
// Handle selection: if node is already selected, deselect it; otherwise select it and deselect all others
|
|
90
|
+
if (node.selectable) {
|
|
91
|
+
if (node.selected) {
|
|
92
|
+
// Toggle off: deselect this node
|
|
93
|
+
node.selected = false;
|
|
94
|
+
}
|
|
95
|
+
else {
|
|
96
|
+
// Toggle on: deselect all others and select this one
|
|
97
|
+
this.handleNodeSelection(node);
|
|
98
|
+
// node.selected is already set to true in handleNodeSelection
|
|
99
|
+
}
|
|
100
|
+
this.treeData = [...this.treeData];
|
|
101
|
+
}
|
|
78
102
|
this.clickEvent.emit(node);
|
|
79
103
|
}
|
|
80
104
|
toggleNode(node, event) {
|
|
@@ -160,28 +184,51 @@ export class TttxTreeView {
|
|
|
160
184
|
}
|
|
161
185
|
return undefined;
|
|
162
186
|
}
|
|
163
|
-
|
|
187
|
+
deselectAllNodes(nodes) {
|
|
188
|
+
for (const node of nodes) {
|
|
189
|
+
if (node.selectable) {
|
|
190
|
+
node.selected = false;
|
|
191
|
+
}
|
|
192
|
+
if (node.child) {
|
|
193
|
+
this.deselectAllNodes(node.child);
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
handleNodeSelection(node) {
|
|
198
|
+
// Deselect all nodes first
|
|
199
|
+
this.deselectAllNodes(this.treeData);
|
|
200
|
+
// Select only the clicked node if it's selectable
|
|
201
|
+
if (node.selectable) {
|
|
202
|
+
node.selected = true;
|
|
203
|
+
}
|
|
204
|
+
// Update the tree to trigger re-render
|
|
205
|
+
this.treeData = [...this.treeData];
|
|
206
|
+
}
|
|
207
|
+
renderNode(node, index, parentId = undefined, level = 0 // <-- depth
|
|
208
|
+
) {
|
|
164
209
|
var _a, _b;
|
|
165
210
|
const options = this.treeConfigs(node);
|
|
166
211
|
if (node.child) {
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
}
|
|
171
|
-
} }), h("tttx-button_1_9_72", { 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("li", null, h("ul", null, node.child.map((childNode, index) => {
|
|
172
|
-
return this.renderNode(childNode, index, node.id);
|
|
173
|
-
})))) : null));
|
|
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 => {
|
|
212
|
+
// group node
|
|
213
|
+
const isSelectedGroup = !!node.selected;
|
|
214
|
+
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 => {
|
|
177
215
|
if (node.hasHover) {
|
|
178
216
|
this.onClickHandler(event, node);
|
|
179
217
|
}
|
|
180
|
-
} }), this.htmlcode('
|
|
218
|
+
} }), h("tttx-button_1_9_74", { 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) => {
|
|
219
|
+
// next level = level + 1
|
|
220
|
+
return this.renderNode(childNode, childIndex, node.id, level + 1);
|
|
221
|
+
}))) : null));
|
|
181
222
|
}
|
|
223
|
+
// leaf (activity)
|
|
224
|
+
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 => {
|
|
225
|
+
if (node.hasHover) {
|
|
226
|
+
this.onClickHandler(event, node);
|
|
227
|
+
}
|
|
228
|
+
} }), this.htmlcode('treeLeaf', node, options.checkboxIcon, options.checkboxColor, index, parentId)));
|
|
182
229
|
}
|
|
183
230
|
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-
|
|
231
|
+
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_74", { 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_74", { 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
232
|
return htmlcode;
|
|
186
233
|
}
|
|
187
234
|
render() {
|
|
@@ -189,7 +236,7 @@ export class TttxTreeView {
|
|
|
189
236
|
return;
|
|
190
237
|
return (h("div", { class: "tree-view-element" }, h("ul", null, this.treeData.map((node, index) => this.renderNode(node, index)))));
|
|
191
238
|
}
|
|
192
|
-
static get is() { return "tttx-tree-
|
|
239
|
+
static get is() { return "tttx-tree-view_1_9_74"; }
|
|
193
240
|
static get encapsulation() { return "shadow"; }
|
|
194
241
|
static get originalStyleUrls() {
|
|
195
242
|
return {
|