@3t-transform/threeteeui 1.9.73 → 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_73.cjs.entry.js → tttx-action-dropdown_1_9_74.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-button-v2_1_9_73.cjs.entry.js → tttx-button-v2_1_9_74.cjs.entry.js} +4 -4
- package/dist/cjs/{tttx-button_1_9_73.cjs.entry.js → tttx-button_1_9_74.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-chart_1_9_73.cjs.entry.js → tttx-chart_1_9_74.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-checkbox-group-caption_1_9_73.cjs.entry.js → tttx-checkbox-group-caption_1_9_74.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox-group-heading_1_9_73.cjs.entry.js → tttx-checkbox-group-heading_1_9_74.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox-group_1_9_73.cjs.entry.js → tttx-checkbox-group_1_9_74.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox_1_9_73.cjs.entry.js → tttx-checkbox_1_9_74.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-comments_1_9_73.cjs.entry.js → tttx-comments_1_9_74.cjs.entry.js} +4 -4
- package/dist/cjs/{tttx-data-pattern_1_9_73.cjs.entry.js → tttx-data-pattern_1_9_74.cjs.entry.js} +5 -5
- package/dist/cjs/{tttx-datacard_1_9_73.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_73.cjs.entry.js → tttx-dialog-box_1_9_74.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-dialog_1_9_73.cjs.entry.js → tttx-dialog_1_9_74.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-expander_1_9_73.cjs.entry.js → tttx-expander_1_9_74.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-filter_1_9_73_4.cjs.entry.js → tttx-filter_1_9_74_4.cjs.entry.js} +9 -9
- package/dist/cjs/{tttx-form_1_9_73.cjs.entry.js → tttx-form_1_9_74.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-graph_1_9_73.cjs.entry.js → tttx-graph_1_9_74.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-icon_1_9_73.cjs.entry.js → tttx-icon_1_9_74.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-keyvalue-block_1_9_73.cjs.entry.js → tttx-keyvalue-block_1_9_74.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-loading-spinner_1_9_73_3.cjs.entry.js → tttx-loading-spinner_1_9_74_3.cjs.entry.js} +6 -6
- package/dist/cjs/{tttx-multiselect-box_1_9_73.cjs.entry.js → tttx-multiselect-box_1_9_74.cjs.entry.js} +7 -7
- package/dist/cjs/{tttx-percentage-bar_1_9_73.cjs.entry.js → tttx-percentage-bar_1_9_74.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-qrcode_1_9_73.cjs.entry.js → tttx-qrcode_1_9_74.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-range-slider_1_9_73.cjs.entry.js → tttx-range-slider_1_9_74.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-select-box_1_9_73.cjs.entry.js → tttx-select-box_1_9_74.cjs.entry.js} +6 -6
- package/dist/cjs/{tttx-skeleton_loader_1_9_73.cjs.entry.js → tttx-skeleton_loader_1_9_74.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-table_1_9_73.cjs.entry.js → tttx-table_1_9_74.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-tabs_1_9_73.cjs.entry.js → tttx-tabs_1_9_74.cjs.entry.js} +4 -4
- package/dist/cjs/{tttx-tag-v2_1_9_73.cjs.entry.js → tttx-tag-v2_1_9_74.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-textarea_1_9_73.cjs.entry.js → tttx-textarea_1_9_74.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-toggle_1_9_73.cjs.entry.js → tttx-toggle_1_9_74.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-tooltip_1_9_73.cjs.entry.js → tttx-tooltip_1_9_74.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-tree-view_1_9_73.cjs.entry.js → tttx-tree-view_1_9_74.cjs.entry.js} +37 -4
- 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 +23 -82
- package/dist/collection/components/molecules/tttx-tree-view/tttx-tree-view.js +36 -3
- package/dist/collection/components/molecules/tttx-tree-view/tttx-tree-view.stories.js +37 -411
- 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_73.js → tttx-action-dropdown_1_9_74.js} +7 -7
- package/dist/components/{tttx-checkbox_1_9_73.d.ts → tttx-button-v2_1_9_74.d.ts} +4 -4
- package/dist/components/{tttx-button-v2_1_9_73.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_73.d.ts → tttx-button_1_9_74.d.ts} +4 -4
- package/dist/components/{tttx-button_1_9_73.js → tttx-button_1_9_74.js} +2 -2
- package/dist/components/{tttx-table_1_9_73.d.ts → tttx-chart_1_9_74.d.ts} +4 -4
- package/dist/components/{tttx-chart_1_9_73.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_73.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_73.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_73.js → tttx-checkbox-group_1_9_74.js} +5 -5
- package/dist/components/{tttx-button-v2_1_9_73.d.ts → tttx-checkbox_1_9_74.d.ts} +4 -4
- package/dist/components/{tttx-checkbox_1_9_73.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_73.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_73.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_73.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_73.js → tttx-dialog-box_1_9_74.js} +9 -9
- package/dist/components/{tttx-filter_1_9_73.d.ts → tttx-dialog_1_9_74.d.ts} +4 -4
- package/dist/components/{tttx-dialog_1_9_73.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_73.js → tttx-expander_1_9_74.js} +7 -7
- package/dist/components/tttx-filter.js +6 -6
- package/dist/components/{tttx-button_1_9_73.d.ts → tttx-filter_1_9_74.d.ts} +4 -4
- package/dist/components/{tttx-filter_1_9_73.js → tttx-filter_1_9_74.js} +2 -2
- package/dist/components/{tttx-form_1_9_73.d.ts → tttx-form_1_9_74.d.ts} +4 -4
- package/dist/components/{tttx-form_1_9_73.js → tttx-form_1_9_74.js} +11 -11
- package/dist/components/tttx-graph.js +3 -3
- package/dist/components/{tttx-graph_1_9_73.d.ts → tttx-graph_1_9_74.d.ts} +4 -4
- package/dist/components/{tttx-graph_1_9_73.js → tttx-graph_1_9_74.js} +2 -2
- package/dist/components/tttx-icon.js +3 -3
- package/dist/components/{tttx-list_1_9_73.d.ts → tttx-icon_1_9_74.d.ts} +4 -4
- package/dist/components/{tttx-icon_1_9_73.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_73.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_73.d.ts → tttx-list_1_9_74.d.ts} +4 -4
- package/dist/components/{tttx-list_1_9_73.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_73.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_73.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_73.js → tttx-percentage-bar_1_9_74.js} +6 -6
- package/dist/components/{tttx-qrcode_1_9_73.d.ts → tttx-qrcode_1_9_74.d.ts} +4 -4
- package/dist/components/{tttx-qrcode_1_9_73.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_73.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_73.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_73.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_73.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_73.js → tttx-standalone-input_1_9_74.js} +2 -2
- package/dist/components/{tttx-tag-v2_1_9_73.d.ts → tttx-table_1_9_74.d.ts} +4 -4
- package/dist/components/{tttx-table_1_9_73.js → tttx-table_1_9_74.js} +5 -5
- package/dist/components/{tttx-tabs_1_9_73.d.ts → tttx-tabs_1_9_74.d.ts} +4 -4
- package/dist/components/{tttx-tabs_1_9_73.js → tttx-tabs_1_9_74.js} +9 -9
- package/dist/components/{tttx-chart_1_9_73.d.ts → tttx-tag-v2_1_9_74.d.ts} +4 -4
- package/dist/components/{tttx-tag-v2_1_9_73.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_73.d.ts → tttx-tag_1_9_74.d.ts} +4 -4
- package/dist/components/{tttx-tag_1_9_73.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_73.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_73.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_73.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_73.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_73.js → tttx-tree-view_1_9_74.js} +43 -10
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{tttx-action-dropdown_1_9_73.entry.js → tttx-action-dropdown_1_9_74.entry.js} +2 -2
- package/dist/esm/{tttx-button-v2_1_9_73.entry.js → tttx-button-v2_1_9_74.entry.js} +4 -4
- package/dist/esm/{tttx-button_1_9_73.entry.js → tttx-button_1_9_74.entry.js} +2 -2
- package/dist/esm/{tttx-chart_1_9_73.entry.js → tttx-chart_1_9_74.entry.js} +3 -3
- package/dist/esm/{tttx-checkbox-group-caption_1_9_73.entry.js → tttx-checkbox-group-caption_1_9_74.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox-group-heading_1_9_73.entry.js → tttx-checkbox-group-heading_1_9_74.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox-group_1_9_73.entry.js → tttx-checkbox-group_1_9_74.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox_1_9_73.entry.js → tttx-checkbox_1_9_74.entry.js} +2 -2
- package/dist/esm/{tttx-comments_1_9_73.entry.js → tttx-comments_1_9_74.entry.js} +4 -4
- package/dist/esm/{tttx-data-pattern_1_9_73.entry.js → tttx-data-pattern_1_9_74.entry.js} +5 -5
- package/dist/esm/{tttx-datacard_1_9_73.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_73.entry.js → tttx-dialog-box_1_9_74.entry.js} +3 -3
- package/dist/esm/{tttx-dialog_1_9_73.entry.js → tttx-dialog_1_9_74.entry.js} +2 -2
- package/dist/esm/{tttx-expander_1_9_73.entry.js → tttx-expander_1_9_74.entry.js} +2 -2
- package/dist/esm/{tttx-filter_1_9_73_4.entry.js → tttx-filter_1_9_74_4.entry.js} +6 -6
- package/dist/esm/{tttx-form_1_9_73.entry.js → tttx-form_1_9_74.entry.js} +2 -2
- package/dist/esm/{tttx-graph_1_9_73.entry.js → tttx-graph_1_9_74.entry.js} +1 -1
- package/dist/esm/{tttx-icon_1_9_73.entry.js → tttx-icon_1_9_74.entry.js} +1 -1
- package/dist/esm/{tttx-keyvalue-block_1_9_73.entry.js → tttx-keyvalue-block_1_9_74.entry.js} +1 -1
- package/dist/esm/{tttx-loading-spinner_1_9_73_3.entry.js → tttx-loading-spinner_1_9_74_3.entry.js} +4 -4
- package/dist/esm/{tttx-multiselect-box_1_9_73.entry.js → tttx-multiselect-box_1_9_74.entry.js} +7 -7
- package/dist/esm/{tttx-percentage-bar_1_9_73.entry.js → tttx-percentage-bar_1_9_74.entry.js} +2 -2
- package/dist/esm/{tttx-qrcode_1_9_73.entry.js → tttx-qrcode_1_9_74.entry.js} +1 -1
- package/dist/esm/{tttx-range-slider_1_9_73.entry.js → tttx-range-slider_1_9_74.entry.js} +1 -1
- package/dist/esm/{tttx-select-box_1_9_73.entry.js → tttx-select-box_1_9_74.entry.js} +6 -6
- package/dist/esm/{tttx-skeleton_loader_1_9_73.entry.js → tttx-skeleton_loader_1_9_74.entry.js} +1 -1
- package/dist/esm/{tttx-table_1_9_73.entry.js → tttx-table_1_9_74.entry.js} +1 -1
- package/dist/esm/{tttx-tabs_1_9_73.entry.js → tttx-tabs_1_9_74.entry.js} +4 -4
- package/dist/esm/{tttx-tag-v2_1_9_73.entry.js → tttx-tag-v2_1_9_74.entry.js} +2 -2
- package/dist/esm/{tttx-textarea_1_9_73.entry.js → tttx-textarea_1_9_74.entry.js} +2 -2
- package/dist/esm/{tttx-toggle_1_9_73.entry.js → tttx-toggle_1_9_74.entry.js} +1 -1
- package/dist/esm/{tttx-tooltip_1_9_73.entry.js → tttx-tooltip_1_9_74.entry.js} +1 -1
- package/dist/esm/{tttx-tree-view_1_9_73.entry.js → tttx-tree-view_1_9_74.entry.js} +37 -4
- 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 +2 -0
- package/dist/types/components.d.ts +449 -449
- package/package.json +1 -1
- package/dist/components/tttx-action-dropdown_1_9_73.d.ts +0 -11
- package/dist/components/tttx-checkbox-group-caption_1_9_73.d.ts +0 -11
- package/dist/components/tttx-checkbox-group-heading_1_9_73.d.ts +0 -11
- package/dist/components/tttx-checkbox-group_1_9_73.d.ts +0 -11
- package/dist/components/tttx-comments_1_9_73.d.ts +0 -11
- package/dist/components/tttx-data-pattern_1_9_73.d.ts +0 -11
- package/dist/components/tttx-datacard_1_9_73.d.ts +0 -11
- package/dist/components/tttx-dialog-box_1_9_73.d.ts +0 -11
- package/dist/components/tttx-expander_1_9_73.d.ts +0 -11
- package/dist/components/tttx-keyvalue-block_1_9_73.d.ts +0 -11
- package/dist/components/tttx-loading-spinner_1_9_73.d.ts +0 -11
- package/dist/components/tttx-multiselect-box_1_9_73.d.ts +0 -11
- package/dist/components/tttx-percentage-bar_1_9_73.d.ts +0 -11
- package/dist/components/tttx-range-slider_1_9_73.d.ts +0 -11
- package/dist/components/tttx-select-box_1_9_73.d.ts +0 -11
- package/dist/components/tttx-skeleton_loader_1_9_73.d.ts +0 -11
- package/dist/components/tttx-sorter_1_9_73.d.ts +0 -11
- package/dist/components/tttx-standalone-input_1_9_73.d.ts +0 -11
- package/dist/components/tttx-textarea_1_9_73.d.ts +0 -11
- package/dist/components/tttx-toggle_1_9_73.d.ts +0 -11
- package/dist/components/tttx-toolbar_1_9_73.d.ts +0 -11
- package/dist/components/tttx-tooltip_1_9_73.d.ts +0 -11
- package/dist/components/tttx-tree-view_1_9_73.d.ts +0 -11
- package/dist/tttx/p-59533ed7.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);
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
@charset "UTF-8";
|
|
2
1
|
.material-symbols-rounded {
|
|
3
2
|
font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24;
|
|
4
3
|
}
|
|
@@ -6,8 +5,8 @@
|
|
|
6
5
|
:host {
|
|
7
6
|
--tree-accent: #2196F3;
|
|
8
7
|
/* selection accent color */
|
|
9
|
-
--tree-selected-bg: #
|
|
10
|
-
/*
|
|
8
|
+
--tree-selected-bg: #E8E8E8;
|
|
9
|
+
/* selected group background */
|
|
11
10
|
--indent: 36px;
|
|
12
11
|
/* per-level indentation */
|
|
13
12
|
--accent-gap: 46px;
|
|
@@ -25,28 +24,21 @@
|
|
|
25
24
|
padding-left: var(--indent);
|
|
26
25
|
}
|
|
27
26
|
.tree-view-element ul li {
|
|
28
|
-
list-style
|
|
27
|
+
list-style: none;
|
|
29
28
|
}
|
|
30
29
|
.tree-view-element ul li.selected-group {
|
|
31
30
|
position: relative;
|
|
32
|
-
/* Remove
|
|
33
|
-
/*
|
|
34
|
-
/*
|
|
35
|
-
/*
|
|
36
|
-
/* Remove nested selected-group styling to avoid conflicts */
|
|
31
|
+
/* Remove default accent bars */
|
|
32
|
+
/* Highlight ONLY the selected group header */
|
|
33
|
+
/* Children / nested groups should remain default */
|
|
34
|
+
/* Leaves (treeLeaf) remain transparent */
|
|
37
35
|
}
|
|
38
|
-
.tree-view-element ul li.selected-group::before {
|
|
39
|
-
display: none;
|
|
40
|
-
}
|
|
41
|
-
.tree-view-element ul li.selected-group::after {
|
|
36
|
+
.tree-view-element ul li.selected-group::before, .tree-view-element ul li.selected-group::after {
|
|
42
37
|
display: none;
|
|
43
38
|
}
|
|
44
39
|
.tree-view-element ul li.selected-group > li.inline-tree-item.element-row.tree-node {
|
|
45
|
-
|
|
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;
|
|
40
|
+
background-color: #E8E8E8 !important;
|
|
41
|
+
position: relative;
|
|
50
42
|
}
|
|
51
43
|
.tree-view-element ul li.selected-group > li.inline-tree-item.element-row.tree-node::after {
|
|
52
44
|
content: "";
|
|
@@ -59,47 +51,24 @@
|
|
|
59
51
|
border-radius: 0 2px 2px 0;
|
|
60
52
|
z-index: 5;
|
|
61
53
|
}
|
|
62
|
-
.tree-view-element ul li.selected-group li.inline-tree-item.element-row.tree-node {
|
|
63
|
-
|
|
54
|
+
.tree-view-element ul li.selected-group > ul li.inline-tree-item.element-row.tree-node {
|
|
55
|
+
background-color: #F9F9F9 !important;
|
|
64
56
|
}
|
|
65
|
-
.tree-view-element ul li.selected-group li.inline-tree-item.element-row.tree-node::
|
|
66
|
-
|
|
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;
|
|
57
|
+
.tree-view-element ul li.selected-group > ul li.inline-tree-item.element-row.tree-node::after {
|
|
58
|
+
display: none !important;
|
|
79
59
|
}
|
|
80
60
|
.tree-view-element ul li.selected-group li.inline-tree-item.element-row:not(.tree-node)::before {
|
|
81
61
|
background-color: transparent !important;
|
|
82
62
|
}
|
|
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
|
-
}
|
|
92
63
|
.tree-view-element ul li.inline-tree-item {
|
|
93
64
|
display: flex;
|
|
94
65
|
align-items: center;
|
|
95
66
|
}
|
|
96
67
|
.tree-view-element ul li.inline-tree-item .element {
|
|
97
68
|
display: flex;
|
|
98
|
-
flex-flow: row nowrap;
|
|
99
|
-
justify-content: flex-start;
|
|
100
|
-
align-items: center;
|
|
101
69
|
width: 100%;
|
|
102
70
|
padding-left: 8px;
|
|
71
|
+
align-items: center;
|
|
103
72
|
}
|
|
104
73
|
.tree-view-element ul li.inline-tree-item .element .padding-icon {
|
|
105
74
|
padding: 6px;
|
|
@@ -110,31 +79,17 @@
|
|
|
110
79
|
justify-content: center;
|
|
111
80
|
}
|
|
112
81
|
@media (hover: hover) {
|
|
113
|
-
.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) {
|
|
114
83
|
cursor: pointer;
|
|
115
84
|
}
|
|
116
|
-
.tree-view-element ul li.inline-tree-item.element-row.rowHover:hover::before {
|
|
117
|
-
content: "";
|
|
118
|
-
position: absolute;
|
|
119
|
-
left: -50%;
|
|
120
|
-
top: 0;
|
|
121
|
-
bottom: 0;
|
|
122
|
-
right: 0;
|
|
123
|
-
pointer-events: none;
|
|
124
|
-
color: #212121 !important;
|
|
125
|
-
z-index: 3;
|
|
126
|
-
}
|
|
127
|
-
.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 {
|
|
128
86
|
background-color: rgba(17, 17, 17, 0.05);
|
|
129
87
|
z-index: 3;
|
|
130
88
|
}
|
|
131
|
-
.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 {
|
|
132
90
|
background-color: rgba(17, 17, 17, 0.15);
|
|
133
91
|
z-index: 3;
|
|
134
92
|
}
|
|
135
|
-
.tree-view-element ul li.inline-tree-item.element-row.rowHover:not(.tree-node).rowSelected:hover::before {
|
|
136
|
-
background-color: transparent !important;
|
|
137
|
-
}
|
|
138
93
|
}
|
|
139
94
|
.tree-view-element ul li.inline-tree-item.element-row {
|
|
140
95
|
min-height: 36px;
|
|
@@ -143,7 +98,6 @@
|
|
|
143
98
|
padding: 8px 0px;
|
|
144
99
|
position: relative;
|
|
145
100
|
color: #212121 !important;
|
|
146
|
-
/* Group header rows */
|
|
147
101
|
}
|
|
148
102
|
.tree-view-element ul li.inline-tree-item.element-row::before {
|
|
149
103
|
content: "";
|
|
@@ -154,19 +108,13 @@
|
|
|
154
108
|
border-bottom: 1px solid #d5d5d5;
|
|
155
109
|
pointer-events: none;
|
|
156
110
|
}
|
|
157
|
-
.tree-view-element ul li.inline-tree-item.element-row.rowSelected::before {
|
|
158
|
-
content: "";
|
|
159
|
-
position: absolute;
|
|
160
|
-
left: -50%;
|
|
161
|
-
top: 0;
|
|
162
|
-
bottom: 0;
|
|
163
|
-
right: 0;
|
|
164
|
-
background-color: #EBFBFC;
|
|
165
|
-
pointer-events: none;
|
|
166
|
-
}
|
|
167
111
|
.tree-view-element ul li.inline-tree-item.element-row.tree-node::before {
|
|
168
112
|
height: 51px;
|
|
169
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;
|
|
170
118
|
}
|
|
171
119
|
.tree-view-element ul li.inline-tree-item.element-row.tree-node * {
|
|
172
120
|
z-index: 3;
|
|
@@ -210,20 +158,13 @@
|
|
|
210
158
|
border-radius: 6px;
|
|
211
159
|
}
|
|
212
160
|
|
|
161
|
+
/* Ensure leaves do not get selected background */
|
|
213
162
|
.tree-view-element ul li.inline-tree-item.element-row:not(.tree-node).rowSelected {
|
|
214
163
|
background-color: transparent !important;
|
|
215
|
-
background: transparent !important;
|
|
216
164
|
}
|
|
217
165
|
.tree-view-element ul li.inline-tree-item.element-row:not(.tree-node).rowSelected::before {
|
|
218
166
|
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
167
|
}
|
|
225
168
|
.tree-view-element ul li.inline-tree-item.element-row:not(.tree-node).rowSelected:hover::before {
|
|
226
|
-
display: none !important;
|
|
227
169
|
background-color: transparent !important;
|
|
228
|
-
background: transparent !important;
|
|
229
170
|
}
|
|
@@ -86,6 +86,19 @@ export class TttxTreeView {
|
|
|
86
86
|
}
|
|
87
87
|
onClickHandler(event, node) {
|
|
88
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
|
+
}
|
|
89
102
|
this.clickEvent.emit(node);
|
|
90
103
|
}
|
|
91
104
|
toggleNode(node, event) {
|
|
@@ -171,6 +184,26 @@ export class TttxTreeView {
|
|
|
171
184
|
}
|
|
172
185
|
return undefined;
|
|
173
186
|
}
|
|
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
|
+
}
|
|
174
207
|
renderNode(node, index, parentId = undefined, level = 0 // <-- depth
|
|
175
208
|
) {
|
|
176
209
|
var _a, _b;
|
|
@@ -182,7 +215,7 @@ export class TttxTreeView {
|
|
|
182
215
|
if (node.hasHover) {
|
|
183
216
|
this.onClickHandler(event, node);
|
|
184
217
|
}
|
|
185
|
-
} }), h("tttx-
|
|
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) => {
|
|
186
219
|
// next level = level + 1
|
|
187
220
|
return this.renderNode(childNode, childIndex, node.id, level + 1);
|
|
188
221
|
}))) : null));
|
|
@@ -195,7 +228,7 @@ export class TttxTreeView {
|
|
|
195
228
|
} }), this.htmlcode('treeLeaf', node, options.checkboxIcon, options.checkboxColor, index, parentId)));
|
|
196
229
|
}
|
|
197
230
|
htmlcode(type, node, check_box, check_boxColor, index, parentId = undefined) {
|
|
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-
|
|
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) })));
|
|
199
232
|
return htmlcode;
|
|
200
233
|
}
|
|
201
234
|
render() {
|
|
@@ -203,7 +236,7 @@ export class TttxTreeView {
|
|
|
203
236
|
return;
|
|
204
237
|
return (h("div", { class: "tree-view-element" }, h("ul", null, this.treeData.map((node, index) => this.renderNode(node, index)))));
|
|
205
238
|
}
|
|
206
|
-
static get is() { return "tttx-tree-
|
|
239
|
+
static get is() { return "tttx-tree-view_1_9_74"; }
|
|
207
240
|
static get encapsulation() { return "shadow"; }
|
|
208
241
|
static get originalStyleUrls() {
|
|
209
242
|
return {
|