@3t-transform/threeteeui 1.9.75 → 1.9.77
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_75.cjs.entry.js → tttx-action-dropdown_1_9_77.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-button-v2_1_9_75.cjs.entry.js → tttx-button-v2_1_9_77.cjs.entry.js} +4 -4
- package/dist/cjs/{tttx-button_1_9_75.cjs.entry.js → tttx-button_1_9_77.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-chart_1_9_75.cjs.entry.js → tttx-chart_1_9_77.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-checkbox-group-caption_1_9_75.cjs.entry.js → tttx-checkbox-group-caption_1_9_77.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox-group-heading_1_9_75.cjs.entry.js → tttx-checkbox-group-heading_1_9_77.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox-group_1_9_75.cjs.entry.js → tttx-checkbox-group_1_9_77.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox_1_9_75.cjs.entry.js → tttx-checkbox_1_9_77.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-comments_1_9_75.cjs.entry.js → tttx-comments_1_9_77.cjs.entry.js} +4 -4
- package/dist/cjs/{tttx-data-pattern_1_9_75.cjs.entry.js → tttx-data-pattern_1_9_77.cjs.entry.js} +5 -5
- package/dist/cjs/{tttx-datacard_1_9_75.cjs.entry.js → tttx-datacard_1_9_77.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_75.cjs.entry.js → tttx-dialog-box_1_9_77.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-dialog_1_9_75.cjs.entry.js → tttx-dialog_1_9_77.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-expander_1_9_75.cjs.entry.js → tttx-expander_1_9_77.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-filter_1_9_75_4.cjs.entry.js → tttx-filter_1_9_77_4.cjs.entry.js} +9 -9
- package/dist/cjs/{tttx-form_1_9_75.cjs.entry.js → tttx-form_1_9_77.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-graph_1_9_75.cjs.entry.js → tttx-graph_1_9_77.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-icon_1_9_75.cjs.entry.js → tttx-icon_1_9_77.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-keyvalue-block_1_9_75.cjs.entry.js → tttx-keyvalue-block_1_9_77.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-loading-spinner_1_9_75_3.cjs.entry.js → tttx-loading-spinner_1_9_77_3.cjs.entry.js} +6 -6
- package/dist/cjs/{tttx-multiselect-box_1_9_75.cjs.entry.js → tttx-multiselect-box_1_9_77.cjs.entry.js} +7 -7
- package/dist/cjs/{tttx-percentage-bar_1_9_75.cjs.entry.js → tttx-percentage-bar_1_9_77.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-qrcode_1_9_75.cjs.entry.js → tttx-qrcode_1_9_77.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-range-slider_1_9_75.cjs.entry.js → tttx-range-slider_1_9_77.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-select-box_1_9_75.cjs.entry.js → tttx-select-box_1_9_77.cjs.entry.js} +6 -6
- package/dist/cjs/{tttx-skeleton_loader_1_9_75.cjs.entry.js → tttx-skeleton_loader_1_9_77.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-table_1_9_75.cjs.entry.js → tttx-table_1_9_77.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-tabs_1_9_75.cjs.entry.js → tttx-tabs_1_9_77.cjs.entry.js} +4 -4
- package/dist/cjs/{tttx-tag-v2_1_9_75.cjs.entry.js → tttx-tag-v2_1_9_77.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-textarea_1_9_75.cjs.entry.js → tttx-textarea_1_9_77.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-toggle_1_9_75.cjs.entry.js → tttx-toggle_1_9_77.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-tooltip_1_9_75.cjs.entry.js → tttx-tooltip_1_9_77.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-tree-view_1_9_75.cjs.entry.js → tttx-tree-view_1_9_77.cjs.entry.js} +4 -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 +56 -29
- package/dist/collection/components/molecules/tttx-tree-view/tttx-tree-view.js +3 -3
- package/dist/collection/components/molecules/tttx-tree-view/tttx-tree-view.stories.js +300 -37
- 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_77.d.ts +11 -0
- package/dist/components/{tttx-action-dropdown_1_9_75.js → tttx-action-dropdown_1_9_77.js} +7 -7
- package/dist/components/{tttx-checkbox_1_9_75.d.ts → tttx-button-v2_1_9_77.d.ts} +4 -4
- package/dist/components/{tttx-button-v2_1_9_75.js → tttx-button-v2_1_9_77.js} +9 -9
- package/dist/components/tttx-button.js +5 -5
- package/dist/components/{tttx-dialog_1_9_75.d.ts → tttx-button_1_9_77.d.ts} +4 -4
- package/dist/components/{tttx-button_1_9_75.js → tttx-button_1_9_77.js} +2 -2
- package/dist/components/{tttx-table_1_9_75.d.ts → tttx-chart_1_9_77.d.ts} +4 -4
- package/dist/components/{tttx-chart_1_9_75.js → tttx-chart_1_9_77.js} +10 -10
- package/dist/components/tttx-checkbox-group-caption_1_9_77.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group-caption_1_9_75.js → tttx-checkbox-group-caption_1_9_77.js} +5 -5
- package/dist/components/tttx-checkbox-group-heading_1_9_77.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group-heading_1_9_75.js → tttx-checkbox-group-heading_1_9_77.js} +5 -5
- package/dist/components/tttx-checkbox-group_1_9_77.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group_1_9_75.js → tttx-checkbox-group_1_9_77.js} +5 -5
- package/dist/components/{tttx-button-v2_1_9_75.d.ts → tttx-checkbox_1_9_77.d.ts} +4 -4
- package/dist/components/{tttx-checkbox_1_9_75.js → tttx-checkbox_1_9_77.js} +7 -7
- package/dist/components/tttx-comments_1_9_77.d.ts +11 -0
- package/dist/components/{tttx-comments_1_9_75.js → tttx-comments_1_9_77.js} +9 -9
- package/dist/components/tttx-data-pattern_1_9_77.d.ts +11 -0
- package/dist/components/{tttx-data-pattern_1_9_75.js → tttx-data-pattern_1_9_77.js} +16 -16
- package/dist/components/tttx-datacard_1_9_77.d.ts +11 -0
- package/dist/components/{tttx-datacard_1_9_75.js → tttx-datacard_1_9_77.js} +10 -10
- package/dist/components/tttx-date-range-picker.js +3 -3
- package/dist/components/tttx-dialog-box_1_9_77.d.ts +11 -0
- package/dist/components/{tttx-dialog-box_1_9_75.js → tttx-dialog-box_1_9_77.js} +9 -9
- package/dist/components/{tttx-filter_1_9_75.d.ts → tttx-dialog_1_9_77.d.ts} +4 -4
- package/dist/components/{tttx-dialog_1_9_75.js → tttx-dialog_1_9_77.js} +8 -8
- package/dist/components/tttx-expander_1_9_77.d.ts +11 -0
- package/dist/components/{tttx-expander_1_9_75.js → tttx-expander_1_9_77.js} +7 -7
- package/dist/components/tttx-filter.js +6 -6
- package/dist/components/{tttx-button_1_9_75.d.ts → tttx-filter_1_9_77.d.ts} +4 -4
- package/dist/components/{tttx-filter_1_9_75.js → tttx-filter_1_9_77.js} +2 -2
- package/dist/components/{tttx-form_1_9_75.d.ts → tttx-form_1_9_77.d.ts} +4 -4
- package/dist/components/{tttx-form_1_9_75.js → tttx-form_1_9_77.js} +11 -11
- package/dist/components/tttx-graph.js +3 -3
- package/dist/components/{tttx-graph_1_9_75.d.ts → tttx-graph_1_9_77.d.ts} +4 -4
- package/dist/components/{tttx-graph_1_9_75.js → tttx-graph_1_9_77.js} +2 -2
- package/dist/components/tttx-icon.js +3 -3
- package/dist/components/{tttx-list_1_9_75.d.ts → tttx-icon_1_9_77.d.ts} +4 -4
- package/dist/components/{tttx-icon_1_9_75.js → tttx-icon_1_9_77.js} +2 -2
- package/dist/components/tttx-keyvalue-block_1_9_77.d.ts +11 -0
- package/dist/components/{tttx-keyvalue-block_1_9_75.js → tttx-keyvalue-block_1_9_77.js} +5 -5
- package/dist/components/tttx-list.js +6 -6
- package/dist/components/{tttx-icon_1_9_75.d.ts → tttx-list_1_9_77.d.ts} +4 -4
- package/dist/components/{tttx-list_1_9_75.js → tttx-list_1_9_77.js} +2 -2
- package/dist/components/tttx-loading-spinner.js +3 -3
- package/dist/components/tttx-loading-spinner_1_9_77.d.ts +11 -0
- package/dist/components/{tttx-loading-spinner_1_9_75.js → tttx-loading-spinner_1_9_77.js} +2 -2
- package/dist/components/tttx-multiselect-box_1_9_77.d.ts +11 -0
- package/dist/components/{tttx-multiselect-box_1_9_75.js → tttx-multiselect-box_1_9_77.js} +16 -16
- package/dist/components/tttx-percentage-bar_1_9_77.d.ts +11 -0
- package/dist/components/{tttx-percentage-bar_1_9_75.js → tttx-percentage-bar_1_9_77.js} +6 -6
- package/dist/components/{tttx-qrcode_1_9_75.d.ts → tttx-qrcode_1_9_77.d.ts} +4 -4
- package/dist/components/{tttx-qrcode_1_9_75.js → tttx-qrcode_1_9_77.js} +5 -5
- package/dist/components/tttx-range-slider_1_9_77.d.ts +11 -0
- package/dist/components/{tttx-range-slider_1_9_75.js → tttx-range-slider_1_9_77.js} +5 -5
- package/dist/components/tttx-select-box.js +12 -12
- package/dist/components/tttx-select-box_1_9_77.d.ts +11 -0
- package/dist/components/{tttx-select-box_1_9_75.js → tttx-select-box_1_9_77.js} +2 -2
- package/dist/components/tttx-skeleton_loader_1_9_77.d.ts +11 -0
- package/dist/components/{tttx-skeleton_loader_1_9_75.js → tttx-skeleton_loader_1_9_77.js} +5 -5
- package/dist/components/tttx-sorter.js +5 -5
- package/dist/components/tttx-sorter_1_9_77.d.ts +11 -0
- package/dist/components/{tttx-sorter_1_9_75.js → tttx-sorter_1_9_77.js} +2 -2
- package/dist/components/tttx-standalone-input.js +6 -6
- package/dist/components/tttx-standalone-input_1_9_77.d.ts +11 -0
- package/dist/components/{tttx-standalone-input_1_9_75.js → tttx-standalone-input_1_9_77.js} +2 -2
- package/dist/components/{tttx-tag-v2_1_9_75.d.ts → tttx-table_1_9_77.d.ts} +4 -4
- package/dist/components/{tttx-table_1_9_75.js → tttx-table_1_9_77.js} +5 -5
- package/dist/components/{tttx-tabs_1_9_75.d.ts → tttx-tabs_1_9_77.d.ts} +4 -4
- package/dist/components/{tttx-tabs_1_9_75.js → tttx-tabs_1_9_77.js} +9 -9
- package/dist/components/{tttx-chart_1_9_75.d.ts → tttx-tag-v2_1_9_77.d.ts} +4 -4
- package/dist/components/{tttx-tag-v2_1_9_75.js → tttx-tag-v2_1_9_77.js} +7 -7
- package/dist/components/tttx-tag.js +5 -5
- package/dist/components/{tttx-tag_1_9_75.d.ts → tttx-tag_1_9_77.d.ts} +4 -4
- package/dist/components/{tttx-tag_1_9_75.js → tttx-tag_1_9_77.js} +2 -2
- package/dist/components/tttx-textarea_1_9_77.d.ts +11 -0
- package/dist/components/{tttx-textarea_1_9_75.js → tttx-textarea_1_9_77.js} +6 -6
- package/dist/components/tttx-toggle_1_9_77.d.ts +11 -0
- package/dist/components/{tttx-toggle_1_9_75.js → tttx-toggle_1_9_77.js} +5 -5
- package/dist/components/tttx-toolbar.js +3 -3
- package/dist/components/tttx-toolbar_1_9_77.d.ts +11 -0
- package/dist/components/{tttx-toolbar_1_9_75.js → tttx-toolbar_1_9_77.js} +2 -2
- package/dist/components/tttx-tooltip_1_9_77.d.ts +11 -0
- package/dist/components/{tttx-tooltip_1_9_75.js → tttx-tooltip_1_9_77.js} +5 -5
- package/dist/components/tttx-tree-view_1_9_77.d.ts +11 -0
- package/dist/components/{tttx-tree-view_1_9_75.js → tttx-tree-view_1_9_77.js} +10 -10
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{tttx-action-dropdown_1_9_75.entry.js → tttx-action-dropdown_1_9_77.entry.js} +2 -2
- package/dist/esm/{tttx-button-v2_1_9_75.entry.js → tttx-button-v2_1_9_77.entry.js} +4 -4
- package/dist/esm/{tttx-button_1_9_75.entry.js → tttx-button_1_9_77.entry.js} +2 -2
- package/dist/esm/{tttx-chart_1_9_75.entry.js → tttx-chart_1_9_77.entry.js} +3 -3
- package/dist/esm/{tttx-checkbox-group-caption_1_9_75.entry.js → tttx-checkbox-group-caption_1_9_77.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox-group-heading_1_9_75.entry.js → tttx-checkbox-group-heading_1_9_77.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox-group_1_9_75.entry.js → tttx-checkbox-group_1_9_77.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox_1_9_75.entry.js → tttx-checkbox_1_9_77.entry.js} +2 -2
- package/dist/esm/{tttx-comments_1_9_75.entry.js → tttx-comments_1_9_77.entry.js} +4 -4
- package/dist/esm/{tttx-data-pattern_1_9_75.entry.js → tttx-data-pattern_1_9_77.entry.js} +5 -5
- package/dist/esm/{tttx-datacard_1_9_75.entry.js → tttx-datacard_1_9_77.entry.js} +4 -4
- package/dist/esm/tttx-date-range-picker.entry.js +1 -1
- package/dist/esm/{tttx-dialog-box_1_9_75.entry.js → tttx-dialog-box_1_9_77.entry.js} +3 -3
- package/dist/esm/{tttx-dialog_1_9_75.entry.js → tttx-dialog_1_9_77.entry.js} +2 -2
- package/dist/esm/{tttx-expander_1_9_75.entry.js → tttx-expander_1_9_77.entry.js} +2 -2
- package/dist/esm/{tttx-filter_1_9_75_4.entry.js → tttx-filter_1_9_77_4.entry.js} +6 -6
- package/dist/esm/{tttx-form_1_9_75.entry.js → tttx-form_1_9_77.entry.js} +2 -2
- package/dist/esm/{tttx-graph_1_9_75.entry.js → tttx-graph_1_9_77.entry.js} +1 -1
- package/dist/esm/{tttx-icon_1_9_75.entry.js → tttx-icon_1_9_77.entry.js} +1 -1
- package/dist/esm/{tttx-keyvalue-block_1_9_75.entry.js → tttx-keyvalue-block_1_9_77.entry.js} +1 -1
- package/dist/esm/{tttx-loading-spinner_1_9_75_3.entry.js → tttx-loading-spinner_1_9_77_3.entry.js} +4 -4
- package/dist/esm/{tttx-multiselect-box_1_9_75.entry.js → tttx-multiselect-box_1_9_77.entry.js} +7 -7
- package/dist/esm/{tttx-percentage-bar_1_9_75.entry.js → tttx-percentage-bar_1_9_77.entry.js} +2 -2
- package/dist/esm/{tttx-qrcode_1_9_75.entry.js → tttx-qrcode_1_9_77.entry.js} +1 -1
- package/dist/esm/{tttx-range-slider_1_9_75.entry.js → tttx-range-slider_1_9_77.entry.js} +1 -1
- package/dist/esm/{tttx-select-box_1_9_75.entry.js → tttx-select-box_1_9_77.entry.js} +6 -6
- package/dist/esm/{tttx-skeleton_loader_1_9_75.entry.js → tttx-skeleton_loader_1_9_77.entry.js} +1 -1
- package/dist/esm/{tttx-table_1_9_75.entry.js → tttx-table_1_9_77.entry.js} +1 -1
- package/dist/esm/{tttx-tabs_1_9_75.entry.js → tttx-tabs_1_9_77.entry.js} +4 -4
- package/dist/esm/{tttx-tag-v2_1_9_75.entry.js → tttx-tag-v2_1_9_77.entry.js} +2 -2
- package/dist/esm/{tttx-textarea_1_9_75.entry.js → tttx-textarea_1_9_77.entry.js} +2 -2
- package/dist/esm/{tttx-toggle_1_9_75.entry.js → tttx-toggle_1_9_77.entry.js} +1 -1
- package/dist/esm/{tttx-tooltip_1_9_75.entry.js → tttx-tooltip_1_9_77.entry.js} +1 -1
- package/dist/esm/{tttx-tree-view_1_9_75.entry.js → tttx-tree-view_1_9_77.entry.js} +4 -4
- package/dist/esm/tttx.js +1 -1
- package/dist/tttx/p-13272658.entry.js +1 -1
- package/dist/tttx/p-1f75b5d3.entry.js +1 -1
- package/dist/tttx/p-32cf4137.entry.js +1 -1
- package/dist/tttx/p-36edf716.entry.js +1 -1
- package/dist/tttx/p-384f7c70.entry.js +1 -1
- package/dist/tttx/p-47fadd24.entry.js +1 -1
- package/dist/tttx/p-4c63f7da.entry.js +1 -1
- package/dist/tttx/p-4ddf7946.entry.js +1 -1
- package/dist/tttx/p-5765b7da.entry.js +1 -1
- package/dist/tttx/p-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-fb240282.entry.js +1 -0
- 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.d.ts +449 -449
- package/package.json +1 -1
- package/dist/components/tttx-action-dropdown_1_9_75.d.ts +0 -11
- package/dist/components/tttx-checkbox-group-caption_1_9_75.d.ts +0 -11
- package/dist/components/tttx-checkbox-group-heading_1_9_75.d.ts +0 -11
- package/dist/components/tttx-checkbox-group_1_9_75.d.ts +0 -11
- package/dist/components/tttx-comments_1_9_75.d.ts +0 -11
- package/dist/components/tttx-data-pattern_1_9_75.d.ts +0 -11
- package/dist/components/tttx-datacard_1_9_75.d.ts +0 -11
- package/dist/components/tttx-dialog-box_1_9_75.d.ts +0 -11
- package/dist/components/tttx-expander_1_9_75.d.ts +0 -11
- package/dist/components/tttx-keyvalue-block_1_9_75.d.ts +0 -11
- package/dist/components/tttx-loading-spinner_1_9_75.d.ts +0 -11
- package/dist/components/tttx-multiselect-box_1_9_75.d.ts +0 -11
- package/dist/components/tttx-percentage-bar_1_9_75.d.ts +0 -11
- package/dist/components/tttx-range-slider_1_9_75.d.ts +0 -11
- package/dist/components/tttx-select-box_1_9_75.d.ts +0 -11
- package/dist/components/tttx-skeleton_loader_1_9_75.d.ts +0 -11
- package/dist/components/tttx-sorter_1_9_75.d.ts +0 -11
- package/dist/components/tttx-standalone-input_1_9_75.d.ts +0 -11
- package/dist/components/tttx-textarea_1_9_75.d.ts +0 -11
- package/dist/components/tttx-toggle_1_9_75.d.ts +0 -11
- package/dist/components/tttx-toolbar_1_9_75.d.ts +0 -11
- package/dist/components/tttx-tooltip_1_9_75.d.ts +0 -11
- package/dist/components/tttx-tree-view_1_9_75.d.ts +0 -11
- package/dist/tttx/p-35c34e4a.entry.js +0 -1
|
@@ -3,17 +3,13 @@
|
|
|
3
3
|
}
|
|
4
4
|
|
|
5
5
|
:host {
|
|
6
|
-
--tree-accent: #
|
|
7
|
-
/* selection accent color */
|
|
6
|
+
--tree-accent: #1579C6;
|
|
8
7
|
--tree-selected-bg: #E7E7E7;
|
|
9
|
-
/* selected group background */
|
|
10
8
|
--indent: 36px;
|
|
11
|
-
/* per-level indentation */
|
|
12
9
|
--accent-gap: 46px;
|
|
13
|
-
|
|
14
|
-
--accent-width: 4px;
|
|
15
|
-
/* accent bar width */
|
|
10
|
+
--accent-width: 6px;
|
|
16
11
|
--tree-left-edge-shift: 0px;
|
|
12
|
+
--leaf-accent-offset: 48px;
|
|
17
13
|
}
|
|
18
14
|
|
|
19
15
|
.tree-view-element > ul {
|
|
@@ -29,15 +25,14 @@
|
|
|
29
25
|
.tree-view-element ul li.selected-group {
|
|
30
26
|
position: relative;
|
|
31
27
|
/* Remove default accent bars */
|
|
32
|
-
/* Highlight
|
|
33
|
-
/* Children / nested groups
|
|
34
|
-
/* Leaves (treeLeaf) remain transparent */
|
|
28
|
+
/* Highlight the selected group header */
|
|
29
|
+
/* Children / nested groups remain default visual style */
|
|
35
30
|
}
|
|
36
31
|
.tree-view-element ul li.selected-group::before, .tree-view-element ul li.selected-group::after {
|
|
37
32
|
display: none;
|
|
38
33
|
}
|
|
39
34
|
.tree-view-element ul li.selected-group > li.inline-tree-item.element-row.tree-node {
|
|
40
|
-
background-color:
|
|
35
|
+
background-color: var(--tree-selected-bg) !important;
|
|
41
36
|
position: relative;
|
|
42
37
|
}
|
|
43
38
|
.tree-view-element ul li.selected-group > li.inline-tree-item.element-row.tree-node::after {
|
|
@@ -48,7 +43,6 @@
|
|
|
48
43
|
width: var(--accent-width);
|
|
49
44
|
left: calc(-1 * (var(--accent-gap) + var(--level, 0) * var(--indent)));
|
|
50
45
|
background-color: var(--tree-accent);
|
|
51
|
-
border-radius: 0 2px 2px 0;
|
|
52
46
|
z-index: 5;
|
|
53
47
|
}
|
|
54
48
|
.tree-view-element ul li.selected-group > ul li.inline-tree-item.element-row.tree-node {
|
|
@@ -57,9 +51,6 @@
|
|
|
57
51
|
.tree-view-element ul li.selected-group > ul li.inline-tree-item.element-row.tree-node::after {
|
|
58
52
|
display: none !important;
|
|
59
53
|
}
|
|
60
|
-
.tree-view-element ul li.selected-group li.inline-tree-item.element-row:not(.tree-node)::before {
|
|
61
|
-
background-color: transparent !important;
|
|
62
|
-
}
|
|
63
54
|
.tree-view-element ul li.inline-tree-item {
|
|
64
55
|
display: flex;
|
|
65
56
|
align-items: center;
|
|
@@ -98,6 +89,10 @@
|
|
|
98
89
|
padding: 8px 0px;
|
|
99
90
|
position: relative;
|
|
100
91
|
color: #212121 !important;
|
|
92
|
+
/* Apply the same selected background for both groups and leaves */
|
|
93
|
+
/* keep blue accent for selected group nodes (left bar) */
|
|
94
|
+
/* add blue accent for selected rows that are NOT group nodes (leaf/activity rows)
|
|
95
|
+
Position accent bar to align with the icon */
|
|
101
96
|
}
|
|
102
97
|
.tree-view-element ul li.inline-tree-item.element-row::before {
|
|
103
98
|
content: "";
|
|
@@ -113,9 +108,6 @@
|
|
|
113
108
|
z-index: 2;
|
|
114
109
|
background-color: #F9F9F9;
|
|
115
110
|
}
|
|
116
|
-
.tree-view-element ul li.inline-tree-item.element-row.tree-node.rowSelected::before {
|
|
117
|
-
background-color: #E8E8E8 !important;
|
|
118
|
-
}
|
|
119
111
|
.tree-view-element ul li.inline-tree-item.element-row.tree-node * {
|
|
120
112
|
z-index: 3;
|
|
121
113
|
}
|
|
@@ -129,13 +121,54 @@
|
|
|
129
121
|
font-weight: 400;
|
|
130
122
|
color: #212121 !important;
|
|
131
123
|
}
|
|
124
|
+
.tree-view-element ul li.inline-tree-item.element-row.rowSelected {
|
|
125
|
+
background-color: var(--tree-selected-bg) !important;
|
|
126
|
+
/* also paint the ::before (border area) so the row looks fully filled */
|
|
127
|
+
}
|
|
128
|
+
.tree-view-element ul li.inline-tree-item.element-row.rowSelected::before {
|
|
129
|
+
background-color: var(--tree-selected-bg) !important;
|
|
130
|
+
}
|
|
132
131
|
.tree-view-element ul li.inline-tree-item.element-row.rowSelected .treeLeaf,
|
|
133
132
|
.tree-view-element ul li.inline-tree-item.element-row.rowSelected .treeNode {
|
|
134
133
|
color: #212121 !important;
|
|
135
134
|
}
|
|
135
|
+
.tree-view-element ul li.inline-tree-item.element-row.tree-node.rowSelected {
|
|
136
|
+
position: relative;
|
|
137
|
+
}
|
|
138
|
+
.tree-view-element ul li.inline-tree-item.element-row.tree-node.rowSelected::after {
|
|
139
|
+
content: "";
|
|
140
|
+
position: absolute;
|
|
141
|
+
top: 0;
|
|
142
|
+
bottom: 0;
|
|
143
|
+
width: var(--accent-width);
|
|
144
|
+
left: calc(-1 * (var(--accent-gap) + var(--level, 0) * var(--indent)));
|
|
145
|
+
background-color: var(--tree-accent);
|
|
146
|
+
z-index: 5;
|
|
147
|
+
}
|
|
148
|
+
.tree-view-element ul li.inline-tree-item.element-row.rowSelected:not(.tree-node) {
|
|
149
|
+
position: relative;
|
|
150
|
+
}
|
|
151
|
+
.tree-view-element ul li.inline-tree-item.element-row.rowSelected:not(.tree-node)::after {
|
|
152
|
+
content: "";
|
|
153
|
+
position: absolute;
|
|
154
|
+
top: 0;
|
|
155
|
+
bottom: 0;
|
|
156
|
+
width: var(--accent-width);
|
|
157
|
+
background-color: var(--tree-accent);
|
|
158
|
+
z-index: 5;
|
|
159
|
+
}
|
|
160
|
+
.tree-view-element ul li.inline-tree-item.element-row.rowSelected:not(.tree-node)[data-has-drag-handle=true] {
|
|
161
|
+
--drag-handle-offset: 34px;
|
|
162
|
+
}
|
|
163
|
+
.tree-view-element ul li.inline-tree-item.element-row.rowSelected:not(.tree-node)[data-has-checkbox=true] {
|
|
164
|
+
--checkbox-offset: 36px;
|
|
165
|
+
}
|
|
136
166
|
.tree-view-element ul li.inline-tree-item.element-row .drag-handle {
|
|
137
167
|
margin-right: 10px;
|
|
138
168
|
}
|
|
169
|
+
.tree-view-element ul li.inline-tree-item.element-row.rowSelected .drag-handle {
|
|
170
|
+
margin-left: 10px;
|
|
171
|
+
}
|
|
139
172
|
.tree-view-element ul li.inline-tree-item.element-row .drop-not-allowed {
|
|
140
173
|
border-color: red;
|
|
141
174
|
border-style: dashed;
|
|
@@ -151,20 +184,14 @@
|
|
|
151
184
|
.tree-view-element ul li.selected-group::after {
|
|
152
185
|
background: Highlight;
|
|
153
186
|
}
|
|
187
|
+
|
|
188
|
+
/* ensure forced-colors highlights selected rows */
|
|
189
|
+
.tree-view-element ul li.inline-tree-item.element-row.rowSelected {
|
|
190
|
+
background: Highlight !important;
|
|
191
|
+
}
|
|
154
192
|
}
|
|
155
193
|
.inline-tree-item:focus-visible {
|
|
156
194
|
outline: 2px solid var(--tree-accent);
|
|
157
195
|
outline-offset: 2px;
|
|
158
196
|
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;
|
|
170
197
|
}
|
|
@@ -215,7 +215,7 @@ export class TttxTreeView {
|
|
|
215
215
|
if (node.hasHover) {
|
|
216
216
|
this.onClickHandler(event, node);
|
|
217
217
|
}
|
|
218
|
-
} }), h("tttx-
|
|
218
|
+
} }), h("tttx-button_1_9_77", { 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
219
|
// next level = level + 1
|
|
220
220
|
return this.renderNode(childNode, childIndex, node.id, level + 1);
|
|
221
221
|
}))) : null));
|
|
@@ -228,7 +228,7 @@ export class TttxTreeView {
|
|
|
228
228
|
} }), this.htmlcode('treeLeaf', node, options.checkboxIcon, options.checkboxColor, index, parentId)));
|
|
229
229
|
}
|
|
230
230
|
htmlcode(type, node, check_box, check_boxColor, index, parentId = undefined) {
|
|
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-
|
|
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_77", { 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_77", { 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) })));
|
|
232
232
|
return htmlcode;
|
|
233
233
|
}
|
|
234
234
|
render() {
|
|
@@ -236,7 +236,7 @@ export class TttxTreeView {
|
|
|
236
236
|
return;
|
|
237
237
|
return (h("div", { class: "tree-view-element" }, h("ul", null, this.treeData.map((node, index) => this.renderNode(node, index)))));
|
|
238
238
|
}
|
|
239
|
-
static get is() { return "tttx-tree-
|
|
239
|
+
static get is() { return "tttx-tree-view_1_9_77"; }
|
|
240
240
|
static get encapsulation() { return "shadow"; }
|
|
241
241
|
static get originalStyleUrls() {
|
|
242
242
|
return {
|
|
@@ -10,48 +10,13 @@ export default {
|
|
|
10
10
|
decorators: [withActions],
|
|
11
11
|
};
|
|
12
12
|
const TttxTreeViewTemplate = ({ data }) => `
|
|
13
|
-
<
|
|
14
|
-
.selected-bg { background: #E8E8E8 !important; }
|
|
15
|
-
.default-bg { background: #F9F9F9 !important; }
|
|
16
|
-
</style>
|
|
17
|
-
|
|
18
|
-
<tttx-tree-view_1_9_75 id="treeView"></tttx-tree-view_1_9_75>
|
|
19
|
-
|
|
13
|
+
<tttx-tree-view_1_9_77 id="treeView"></tttx-tree-view_1_9_77>
|
|
20
14
|
<script>
|
|
21
15
|
(function() {
|
|
22
|
-
|
|
23
|
-
// Find selected node recursively
|
|
24
|
-
const findSelected = (nodes) => {
|
|
25
|
-
for (const node of nodes) {
|
|
26
|
-
if (node.selected) return node;
|
|
27
|
-
if (Array.isArray(node.child) && node.child.length) {
|
|
28
|
-
const found = findSelected(node.child);
|
|
29
|
-
if (found) return found;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
return null;
|
|
33
|
-
};
|
|
34
|
-
|
|
35
|
-
// Assign background: only selected gets selected-bg
|
|
36
|
-
const applyBackgrounds = (nodes, selectedNode) => {
|
|
37
|
-
return nodes.map(n => ({
|
|
38
|
-
...n,
|
|
39
|
-
backgroundClass: n.id === selectedNode?.id
|
|
40
|
-
? 'selected-bg'
|
|
41
|
-
: 'default-bg',
|
|
42
|
-
child: n.child ? applyBackgrounds(n.child, selectedNode) : []
|
|
43
|
-
}));
|
|
44
|
-
};
|
|
45
|
-
|
|
46
16
|
const treeView = document.getElementById('treeView');
|
|
47
|
-
|
|
48
17
|
if (treeView) {
|
|
49
|
-
|
|
50
|
-
const selectedNode = findSelected(dataOriginal);
|
|
51
|
-
const processed = applyBackgrounds(dataOriginal, selectedNode);
|
|
52
|
-
treeView.data = processed;
|
|
18
|
+
treeView.data = ${JSON.stringify(data)};
|
|
53
19
|
}
|
|
54
|
-
|
|
55
20
|
})();
|
|
56
21
|
</script>
|
|
57
22
|
`;
|
|
@@ -79,6 +44,64 @@ GroupSelectionDemo.args = {
|
|
|
79
44
|
selectable: true,
|
|
80
45
|
draggable: true,
|
|
81
46
|
},
|
|
47
|
+
{
|
|
48
|
+
id: 'frontend',
|
|
49
|
+
title: 'Front end development',
|
|
50
|
+
isOpen: true,
|
|
51
|
+
hasCheckbox: true,
|
|
52
|
+
hasIcon: true,
|
|
53
|
+
icon: 'folder',
|
|
54
|
+
iconColor: 'grey',
|
|
55
|
+
hasHover: true,
|
|
56
|
+
selectable: true,
|
|
57
|
+
selected: true,
|
|
58
|
+
draggable: false,
|
|
59
|
+
child: [
|
|
60
|
+
{
|
|
61
|
+
id: 'portal',
|
|
62
|
+
title: 'Portal',
|
|
63
|
+
hasIcon: true,
|
|
64
|
+
icon: 'description',
|
|
65
|
+
iconColor: 'grey',
|
|
66
|
+
hasHover: true,
|
|
67
|
+
selectable: true,
|
|
68
|
+
draggable: true,
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
id: 'webcomp',
|
|
72
|
+
title: 'Web components',
|
|
73
|
+
isOpen: true,
|
|
74
|
+
hasCheckbox: true,
|
|
75
|
+
hasIcon: true,
|
|
76
|
+
icon: 'folder',
|
|
77
|
+
iconColor: 'grey',
|
|
78
|
+
hasHover: true,
|
|
79
|
+
selectable: true,
|
|
80
|
+
selected: true,
|
|
81
|
+
draggable: false,
|
|
82
|
+
child: [
|
|
83
|
+
{
|
|
84
|
+
id: '11092',
|
|
85
|
+
title: '11092',
|
|
86
|
+
hasIcon: true,
|
|
87
|
+
icon: 'description',
|
|
88
|
+
iconColor: 'grey',
|
|
89
|
+
hasHover: true,
|
|
90
|
+
selectable: true,
|
|
91
|
+
draggable: true,
|
|
92
|
+
},
|
|
93
|
+
],
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
id: 'subact',
|
|
97
|
+
title: 'subact-1407',
|
|
98
|
+
hasIcon: false,
|
|
99
|
+
hasHover: true,
|
|
100
|
+
selectable: true,
|
|
101
|
+
draggable: true,
|
|
102
|
+
},
|
|
103
|
+
],
|
|
104
|
+
},
|
|
82
105
|
{
|
|
83
106
|
id: '0002',
|
|
84
107
|
title: '0002',
|
|
@@ -134,3 +157,243 @@ GroupSelectionDemo.args = {
|
|
|
134
157
|
},
|
|
135
158
|
],
|
|
136
159
|
};
|
|
160
|
+
export const MultipleGroupsSelection = TttxTreeViewTemplate.bind({});
|
|
161
|
+
MultipleGroupsSelection.args = {
|
|
162
|
+
data: [
|
|
163
|
+
{
|
|
164
|
+
id: 'group1',
|
|
165
|
+
title: 'Selected Parent Group',
|
|
166
|
+
isOpen: true,
|
|
167
|
+
hasCheckbox: true,
|
|
168
|
+
hasHover: true,
|
|
169
|
+
selectable: true,
|
|
170
|
+
selected: true,
|
|
171
|
+
draggable: false,
|
|
172
|
+
child: [
|
|
173
|
+
{
|
|
174
|
+
id: 'subgroup1',
|
|
175
|
+
title: 'Selected Subgroup',
|
|
176
|
+
isOpen: true,
|
|
177
|
+
hasCheckbox: true,
|
|
178
|
+
hasHover: true,
|
|
179
|
+
selectable: true,
|
|
180
|
+
selected: true,
|
|
181
|
+
draggable: false,
|
|
182
|
+
child: [
|
|
183
|
+
{
|
|
184
|
+
id: 'activity1',
|
|
185
|
+
title: 'Activity (No Blue Border)',
|
|
186
|
+
hasIcon: true,
|
|
187
|
+
icon: 'check_circle',
|
|
188
|
+
hasHover: true,
|
|
189
|
+
selectable: true,
|
|
190
|
+
draggable: true,
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
id: 'activity2',
|
|
194
|
+
title: 'Another Activity',
|
|
195
|
+
hasIcon: true,
|
|
196
|
+
icon: 'assignment',
|
|
197
|
+
hasHover: true,
|
|
198
|
+
selectable: true,
|
|
199
|
+
draggable: true,
|
|
200
|
+
},
|
|
201
|
+
],
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
id: 'activity3',
|
|
205
|
+
title: 'Direct Child Activity',
|
|
206
|
+
hasIcon: true,
|
|
207
|
+
icon: 'task',
|
|
208
|
+
hasHover: true,
|
|
209
|
+
selectable: true,
|
|
210
|
+
draggable: true,
|
|
211
|
+
},
|
|
212
|
+
],
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
id: 'group2',
|
|
216
|
+
title: 'Unselected Group',
|
|
217
|
+
isOpen: true,
|
|
218
|
+
hasCheckbox: true,
|
|
219
|
+
hasHover: true,
|
|
220
|
+
selectable: true,
|
|
221
|
+
selected: false,
|
|
222
|
+
draggable: false,
|
|
223
|
+
child: [
|
|
224
|
+
{
|
|
225
|
+
id: 'subgroup2',
|
|
226
|
+
title: 'Unselected Subgroup',
|
|
227
|
+
isOpen: false,
|
|
228
|
+
hasCheckbox: true,
|
|
229
|
+
hasHover: true,
|
|
230
|
+
selectable: true,
|
|
231
|
+
selected: false,
|
|
232
|
+
draggable: false,
|
|
233
|
+
child: [
|
|
234
|
+
{
|
|
235
|
+
id: 'activity4',
|
|
236
|
+
title: 'Hidden Activity',
|
|
237
|
+
hasIcon: true,
|
|
238
|
+
icon: 'visibility_off',
|
|
239
|
+
hasHover: true,
|
|
240
|
+
selectable: true,
|
|
241
|
+
draggable: true,
|
|
242
|
+
},
|
|
243
|
+
],
|
|
244
|
+
},
|
|
245
|
+
],
|
|
246
|
+
},
|
|
247
|
+
],
|
|
248
|
+
};
|
|
249
|
+
export const DeepNestedSelection = TttxTreeViewTemplate.bind({});
|
|
250
|
+
DeepNestedSelection.args = {
|
|
251
|
+
data: [
|
|
252
|
+
{
|
|
253
|
+
id: 'root',
|
|
254
|
+
title: 'Root Group (Selected)',
|
|
255
|
+
isOpen: true,
|
|
256
|
+
hasCheckbox: true,
|
|
257
|
+
hasHover: true,
|
|
258
|
+
selectable: true,
|
|
259
|
+
selected: true,
|
|
260
|
+
draggable: false,
|
|
261
|
+
child: [
|
|
262
|
+
{
|
|
263
|
+
id: 'level1',
|
|
264
|
+
title: 'Level 1 Subgroup (Selected)',
|
|
265
|
+
isOpen: true,
|
|
266
|
+
hasCheckbox: true,
|
|
267
|
+
hasHover: true,
|
|
268
|
+
selectable: true,
|
|
269
|
+
selected: true,
|
|
270
|
+
draggable: false,
|
|
271
|
+
child: [
|
|
272
|
+
{
|
|
273
|
+
id: 'level2',
|
|
274
|
+
title: 'Level 2 Subgroup (Selected)',
|
|
275
|
+
isOpen: true,
|
|
276
|
+
hasCheckbox: true,
|
|
277
|
+
hasHover: true,
|
|
278
|
+
selectable: true,
|
|
279
|
+
selected: true,
|
|
280
|
+
draggable: false,
|
|
281
|
+
child: [
|
|
282
|
+
{
|
|
283
|
+
id: 'level3',
|
|
284
|
+
title: 'Level 3 Subgroup (Selected)',
|
|
285
|
+
isOpen: true,
|
|
286
|
+
hasCheckbox: true,
|
|
287
|
+
hasHover: true,
|
|
288
|
+
selectable: true,
|
|
289
|
+
selected: true,
|
|
290
|
+
draggable: false,
|
|
291
|
+
child: [
|
|
292
|
+
{
|
|
293
|
+
id: 'deepactivity',
|
|
294
|
+
title: 'Deep Activity (No Border)',
|
|
295
|
+
hasIcon: true,
|
|
296
|
+
icon: 'star',
|
|
297
|
+
hasHover: true,
|
|
298
|
+
selectable: true,
|
|
299
|
+
draggable: true,
|
|
300
|
+
},
|
|
301
|
+
],
|
|
302
|
+
},
|
|
303
|
+
],
|
|
304
|
+
},
|
|
305
|
+
],
|
|
306
|
+
},
|
|
307
|
+
],
|
|
308
|
+
},
|
|
309
|
+
],
|
|
310
|
+
};
|
|
311
|
+
export const DragDropWithSelection = TttxTreeViewTemplate.bind({});
|
|
312
|
+
DragDropWithSelection.args = {
|
|
313
|
+
data: [
|
|
314
|
+
{
|
|
315
|
+
id: 'engineer',
|
|
316
|
+
title: 'Engineer (Selected)',
|
|
317
|
+
isOpen: true,
|
|
318
|
+
hasCheckbox: false,
|
|
319
|
+
hasIcon: false,
|
|
320
|
+
hasHover: true,
|
|
321
|
+
selectable: true,
|
|
322
|
+
selected: true,
|
|
323
|
+
draggable: false,
|
|
324
|
+
child: [
|
|
325
|
+
{
|
|
326
|
+
id: 'qualification',
|
|
327
|
+
title: 'Qualification (Selected)',
|
|
328
|
+
isOpen: true,
|
|
329
|
+
hasCheckbox: false,
|
|
330
|
+
hasHover: true,
|
|
331
|
+
selectable: true,
|
|
332
|
+
selected: true,
|
|
333
|
+
draggable: false,
|
|
334
|
+
child: [
|
|
335
|
+
{
|
|
336
|
+
id: 'cloud',
|
|
337
|
+
title: 'Cloud engineer',
|
|
338
|
+
hasIcon: false,
|
|
339
|
+
hasHover: true,
|
|
340
|
+
selectable: true,
|
|
341
|
+
draggable: true,
|
|
342
|
+
},
|
|
343
|
+
{
|
|
344
|
+
id: 'software',
|
|
345
|
+
title: 'Software engineer',
|
|
346
|
+
hasIcon: false,
|
|
347
|
+
hasHover: true,
|
|
348
|
+
selectable: true,
|
|
349
|
+
draggable: true,
|
|
350
|
+
},
|
|
351
|
+
{
|
|
352
|
+
id: 'devops',
|
|
353
|
+
title: 'Devops engineer',
|
|
354
|
+
hasIcon: false,
|
|
355
|
+
hasHover: true,
|
|
356
|
+
selectable: true,
|
|
357
|
+
draggable: true,
|
|
358
|
+
},
|
|
359
|
+
],
|
|
360
|
+
},
|
|
361
|
+
{
|
|
362
|
+
id: 'gdpr',
|
|
363
|
+
title: 'GDPR',
|
|
364
|
+
hasIcon: false,
|
|
365
|
+
hasHover: true,
|
|
366
|
+
selectable: true,
|
|
367
|
+
draggable: true,
|
|
368
|
+
},
|
|
369
|
+
{
|
|
370
|
+
id: 'skills',
|
|
371
|
+
title: 'Skills',
|
|
372
|
+
isOpen: true,
|
|
373
|
+
hasCheckbox: false,
|
|
374
|
+
hasIcon: false,
|
|
375
|
+
hasHover: true,
|
|
376
|
+
selectable: true,
|
|
377
|
+
selected: false,
|
|
378
|
+
draggable: false,
|
|
379
|
+
child: [
|
|
380
|
+
{
|
|
381
|
+
id: 'softeng',
|
|
382
|
+
title: 'Software engineering',
|
|
383
|
+
hasHover: true,
|
|
384
|
+
selectable: true,
|
|
385
|
+
draggable: true,
|
|
386
|
+
},
|
|
387
|
+
{
|
|
388
|
+
id: 'patterns',
|
|
389
|
+
title: 'Design patterns',
|
|
390
|
+
hasHover: true,
|
|
391
|
+
selectable: true,
|
|
392
|
+
draggable: true,
|
|
393
|
+
},
|
|
394
|
+
],
|
|
395
|
+
},
|
|
396
|
+
],
|
|
397
|
+
},
|
|
398
|
+
],
|
|
399
|
+
};
|
|
@@ -11,12 +11,12 @@ export class TttxDataPattern {
|
|
|
11
11
|
this.addbutton = false;
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return (h(Host, null, h("div", { class: "container" }, h("tttx-
|
|
15
|
-
h("tttx-
|
|
16
|
-
h("tttx-
|
|
17
|
-
h("tttx-
|
|
14
|
+
return (h(Host, null, h("div", { class: "container" }, h("tttx-toolbar_1_9_77", { border: true }, h("span", { slot: "before" }, this.sorterOptions &&
|
|
15
|
+
h("tttx-sorter_1_9_77", { sorterKey: "data-pattern-list", fieldOptionsData: this.sorterOptions, defaultOption: this.defaultSortOption }), this.filterOptions &&
|
|
16
|
+
h("tttx-filter_1_9_77", { "filter-options": JSON.stringify(this.filterOptions), showSelectAll: false, "show-option-icons": true, "filter-header": this.filterHeader, "filter-key": "data-pattern-list" })), h("span", { slot: "after" }, h("tttx-standalone-input_1_9_77", { class: "qualifications-filter", showerrorbubble: false, inputicon: "search", inline: true, required: true, placeholder: this.searchplaceholder, type: "text", maxlength: 30 }))), h("tttx-toolbar_1_9_77", { border: false }, h("span", { slot: "before" }, this.addbutton &&
|
|
17
|
+
h("tttx-button_1_9_77", { design: "primary", icon: "add" }, this.addbuttonlabel))), h("tttx-list_1_9_77", { data: this.data }))));
|
|
18
18
|
}
|
|
19
|
-
static get is() { return "tttx-data-
|
|
19
|
+
static get is() { return "tttx-data-pattern_1_9_77"; }
|
|
20
20
|
static get encapsulation() { return "shadow"; }
|
|
21
21
|
static get originalStyleUrls() {
|
|
22
22
|
return {
|
|
@@ -8,7 +8,7 @@ export default {
|
|
|
8
8
|
},
|
|
9
9
|
};
|
|
10
10
|
const Default = ({ data, sorterOptions, filterOptions }) => `
|
|
11
|
-
<tttx-data-
|
|
11
|
+
<tttx-data-pattern_1_9_77 id="datapatternlist"></tttx-data-pattern_1_9_77>
|
|
12
12
|
<script>
|
|
13
13
|
const element = document.getElementById('datapatternlist');
|
|
14
14
|
element.data = ${JSON.stringify(data)};
|
|
@@ -19,10 +19,10 @@ const Default = ({ data, sorterOptions, filterOptions }) => `
|
|
|
19
19
|
export const WIPDefaultDataPattern = Default.bind({});
|
|
20
20
|
WIPDefaultDataPattern.args = {
|
|
21
21
|
data: [
|
|
22
|
-
{ icon: 'chevron_right', element: '<span><tttx-
|
|
23
|
-
{ icon: 'chevron_right', element: '<span><tttx-
|
|
24
|
-
{ icon: 'chevron_right', element: '<span><tttx-
|
|
25
|
-
{ icon: 'chevron_right', element: '<span><tttx-
|
|
22
|
+
{ icon: 'chevron_right', element: '<span><tttx-icon_1_9_77 icon="egg" /></span> Demulon 1,000,000' },
|
|
23
|
+
{ icon: 'chevron_right', element: '<span><tttx-icon_1_9_77 icon="egg" color="red" /></span> Patrick' },
|
|
24
|
+
{ icon: 'chevron_right', element: '<span><tttx-icon_1_9_77 icon="add" /></span> Lee' },
|
|
25
|
+
{ icon: 'chevron_right', element: '<span><tttx-icon_1_9_77 icon="egg" /></span> Ben' },
|
|
26
26
|
],
|
|
27
27
|
sorterOptions: {
|
|
28
28
|
sorterOptions: [{ optionLabel: 'Name' }, { optionLabel: 'Age' }],
|