@3t-transform/threeteeui 1.9.73 → 1.9.75
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_75.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-button-v2_1_9_73.cjs.entry.js → tttx-button-v2_1_9_75.cjs.entry.js} +4 -4
- package/dist/cjs/{tttx-button_1_9_73.cjs.entry.js → tttx-button_1_9_75.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-chart_1_9_73.cjs.entry.js → tttx-chart_1_9_75.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-checkbox-group-caption_1_9_73.cjs.entry.js → tttx-checkbox-group-caption_1_9_75.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox-group-heading_1_9_73.cjs.entry.js → tttx-checkbox-group-heading_1_9_75.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox-group_1_9_73.cjs.entry.js → tttx-checkbox-group_1_9_75.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox_1_9_73.cjs.entry.js → tttx-checkbox_1_9_75.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-comments_1_9_73.cjs.entry.js → tttx-comments_1_9_75.cjs.entry.js} +4 -4
- package/dist/cjs/{tttx-data-pattern_1_9_73.cjs.entry.js → tttx-data-pattern_1_9_75.cjs.entry.js} +5 -5
- package/dist/cjs/{tttx-datacard_1_9_73.cjs.entry.js → tttx-datacard_1_9_75.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_75.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-dialog_1_9_73.cjs.entry.js → tttx-dialog_1_9_75.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-expander_1_9_73.cjs.entry.js → tttx-expander_1_9_75.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-filter_1_9_73_4.cjs.entry.js → tttx-filter_1_9_75_4.cjs.entry.js} +9 -9
- package/dist/cjs/{tttx-form_1_9_73.cjs.entry.js → tttx-form_1_9_75.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-graph_1_9_73.cjs.entry.js → tttx-graph_1_9_75.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-icon_1_9_73.cjs.entry.js → tttx-icon_1_9_75.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-keyvalue-block_1_9_73.cjs.entry.js → tttx-keyvalue-block_1_9_75.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-loading-spinner_1_9_73_3.cjs.entry.js → tttx-loading-spinner_1_9_75_3.cjs.entry.js} +6 -6
- package/dist/cjs/{tttx-multiselect-box_1_9_73.cjs.entry.js → tttx-multiselect-box_1_9_75.cjs.entry.js} +7 -7
- package/dist/cjs/{tttx-percentage-bar_1_9_73.cjs.entry.js → tttx-percentage-bar_1_9_75.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-qrcode_1_9_73.cjs.entry.js → tttx-qrcode_1_9_75.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-range-slider_1_9_73.cjs.entry.js → tttx-range-slider_1_9_75.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-select-box_1_9_73.cjs.entry.js → tttx-select-box_1_9_75.cjs.entry.js} +6 -6
- package/dist/cjs/{tttx-skeleton_loader_1_9_73.cjs.entry.js → tttx-skeleton_loader_1_9_75.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-table_1_9_73.cjs.entry.js → tttx-table_1_9_75.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-tabs_1_9_73.cjs.entry.js → tttx-tabs_1_9_75.cjs.entry.js} +4 -4
- package/dist/cjs/{tttx-tag-v2_1_9_73.cjs.entry.js → tttx-tag-v2_1_9_75.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-textarea_1_9_73.cjs.entry.js → tttx-textarea_1_9_75.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-toggle_1_9_73.cjs.entry.js → tttx-toggle_1_9_75.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-tooltip_1_9_73.cjs.entry.js → tttx-tooltip_1_9_75.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-tree-view_1_9_73.cjs.entry.js → tttx-tree-view_1_9_75.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 +24 -83
- 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_75.d.ts +11 -0
- package/dist/components/{tttx-action-dropdown_1_9_73.js → tttx-action-dropdown_1_9_75.js} +7 -7
- package/dist/components/{tttx-checkbox_1_9_73.d.ts → tttx-button-v2_1_9_75.d.ts} +4 -4
- package/dist/components/{tttx-button-v2_1_9_73.js → tttx-button-v2_1_9_75.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_75.d.ts} +4 -4
- package/dist/components/{tttx-button_1_9_73.js → tttx-button_1_9_75.js} +2 -2
- package/dist/components/{tttx-table_1_9_73.d.ts → tttx-chart_1_9_75.d.ts} +4 -4
- package/dist/components/{tttx-chart_1_9_73.js → tttx-chart_1_9_75.js} +10 -10
- package/dist/components/tttx-checkbox-group-caption_1_9_75.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group-caption_1_9_73.js → tttx-checkbox-group-caption_1_9_75.js} +5 -5
- package/dist/components/tttx-checkbox-group-heading_1_9_75.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group-heading_1_9_73.js → tttx-checkbox-group-heading_1_9_75.js} +5 -5
- package/dist/components/tttx-checkbox-group_1_9_75.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group_1_9_73.js → tttx-checkbox-group_1_9_75.js} +5 -5
- package/dist/components/{tttx-button-v2_1_9_73.d.ts → tttx-checkbox_1_9_75.d.ts} +4 -4
- package/dist/components/{tttx-checkbox_1_9_73.js → tttx-checkbox_1_9_75.js} +7 -7
- package/dist/components/tttx-comments_1_9_75.d.ts +11 -0
- package/dist/components/{tttx-comments_1_9_73.js → tttx-comments_1_9_75.js} +9 -9
- package/dist/components/tttx-data-pattern_1_9_75.d.ts +11 -0
- package/dist/components/{tttx-data-pattern_1_9_73.js → tttx-data-pattern_1_9_75.js} +16 -16
- package/dist/components/tttx-datacard_1_9_75.d.ts +11 -0
- package/dist/components/{tttx-datacard_1_9_73.js → tttx-datacard_1_9_75.js} +10 -10
- package/dist/components/tttx-date-range-picker.js +3 -3
- package/dist/components/tttx-dialog-box_1_9_75.d.ts +11 -0
- package/dist/components/{tttx-dialog-box_1_9_73.js → tttx-dialog-box_1_9_75.js} +9 -9
- package/dist/components/{tttx-filter_1_9_73.d.ts → tttx-dialog_1_9_75.d.ts} +4 -4
- package/dist/components/{tttx-dialog_1_9_73.js → tttx-dialog_1_9_75.js} +8 -8
- package/dist/components/tttx-expander_1_9_75.d.ts +11 -0
- package/dist/components/{tttx-expander_1_9_73.js → tttx-expander_1_9_75.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_75.d.ts} +4 -4
- package/dist/components/{tttx-filter_1_9_73.js → tttx-filter_1_9_75.js} +2 -2
- package/dist/components/{tttx-form_1_9_73.d.ts → tttx-form_1_9_75.d.ts} +4 -4
- package/dist/components/{tttx-form_1_9_73.js → tttx-form_1_9_75.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_75.d.ts} +4 -4
- package/dist/components/{tttx-graph_1_9_73.js → tttx-graph_1_9_75.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_75.d.ts} +4 -4
- package/dist/components/{tttx-icon_1_9_73.js → tttx-icon_1_9_75.js} +2 -2
- package/dist/components/tttx-keyvalue-block_1_9_75.d.ts +11 -0
- package/dist/components/{tttx-keyvalue-block_1_9_73.js → tttx-keyvalue-block_1_9_75.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_75.d.ts} +4 -4
- package/dist/components/{tttx-list_1_9_73.js → tttx-list_1_9_75.js} +2 -2
- package/dist/components/tttx-loading-spinner.js +3 -3
- package/dist/components/tttx-loading-spinner_1_9_75.d.ts +11 -0
- package/dist/components/{tttx-loading-spinner_1_9_73.js → tttx-loading-spinner_1_9_75.js} +2 -2
- package/dist/components/tttx-multiselect-box_1_9_75.d.ts +11 -0
- package/dist/components/{tttx-multiselect-box_1_9_73.js → tttx-multiselect-box_1_9_75.js} +16 -16
- package/dist/components/tttx-percentage-bar_1_9_75.d.ts +11 -0
- package/dist/components/{tttx-percentage-bar_1_9_73.js → tttx-percentage-bar_1_9_75.js} +6 -6
- package/dist/components/{tttx-qrcode_1_9_73.d.ts → tttx-qrcode_1_9_75.d.ts} +4 -4
- package/dist/components/{tttx-qrcode_1_9_73.js → tttx-qrcode_1_9_75.js} +5 -5
- package/dist/components/tttx-range-slider_1_9_75.d.ts +11 -0
- package/dist/components/{tttx-range-slider_1_9_73.js → tttx-range-slider_1_9_75.js} +5 -5
- package/dist/components/tttx-select-box.js +12 -12
- package/dist/components/tttx-select-box_1_9_75.d.ts +11 -0
- package/dist/components/{tttx-select-box_1_9_73.js → tttx-select-box_1_9_75.js} +2 -2
- package/dist/components/tttx-skeleton_loader_1_9_75.d.ts +11 -0
- package/dist/components/{tttx-skeleton_loader_1_9_73.js → tttx-skeleton_loader_1_9_75.js} +5 -5
- package/dist/components/tttx-sorter.js +5 -5
- package/dist/components/tttx-sorter_1_9_75.d.ts +11 -0
- package/dist/components/{tttx-sorter_1_9_73.js → tttx-sorter_1_9_75.js} +2 -2
- package/dist/components/tttx-standalone-input.js +6 -6
- package/dist/components/tttx-standalone-input_1_9_75.d.ts +11 -0
- package/dist/components/{tttx-standalone-input_1_9_73.js → tttx-standalone-input_1_9_75.js} +2 -2
- package/dist/components/{tttx-tag-v2_1_9_73.d.ts → tttx-table_1_9_75.d.ts} +4 -4
- package/dist/components/{tttx-table_1_9_73.js → tttx-table_1_9_75.js} +5 -5
- package/dist/components/{tttx-tabs_1_9_73.d.ts → tttx-tabs_1_9_75.d.ts} +4 -4
- package/dist/components/{tttx-tabs_1_9_73.js → tttx-tabs_1_9_75.js} +9 -9
- package/dist/components/{tttx-chart_1_9_73.d.ts → tttx-tag-v2_1_9_75.d.ts} +4 -4
- package/dist/components/{tttx-tag-v2_1_9_73.js → tttx-tag-v2_1_9_75.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_75.d.ts} +4 -4
- package/dist/components/{tttx-tag_1_9_73.js → tttx-tag_1_9_75.js} +2 -2
- package/dist/components/tttx-textarea_1_9_75.d.ts +11 -0
- package/dist/components/{tttx-textarea_1_9_73.js → tttx-textarea_1_9_75.js} +6 -6
- package/dist/components/tttx-toggle_1_9_75.d.ts +11 -0
- package/dist/components/{tttx-toggle_1_9_73.js → tttx-toggle_1_9_75.js} +5 -5
- package/dist/components/tttx-toolbar.js +3 -3
- package/dist/components/tttx-toolbar_1_9_75.d.ts +11 -0
- package/dist/components/{tttx-toolbar_1_9_73.js → tttx-toolbar_1_9_75.js} +2 -2
- package/dist/components/tttx-tooltip_1_9_75.d.ts +11 -0
- package/dist/components/{tttx-tooltip_1_9_73.js → tttx-tooltip_1_9_75.js} +5 -5
- package/dist/components/tttx-tree-view_1_9_75.d.ts +11 -0
- package/dist/components/{tttx-tree-view_1_9_73.js → tttx-tree-view_1_9_75.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_75.entry.js} +2 -2
- package/dist/esm/{tttx-button-v2_1_9_73.entry.js → tttx-button-v2_1_9_75.entry.js} +4 -4
- package/dist/esm/{tttx-button_1_9_73.entry.js → tttx-button_1_9_75.entry.js} +2 -2
- package/dist/esm/{tttx-chart_1_9_73.entry.js → tttx-chart_1_9_75.entry.js} +3 -3
- package/dist/esm/{tttx-checkbox-group-caption_1_9_73.entry.js → tttx-checkbox-group-caption_1_9_75.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox-group-heading_1_9_73.entry.js → tttx-checkbox-group-heading_1_9_75.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox-group_1_9_73.entry.js → tttx-checkbox-group_1_9_75.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox_1_9_73.entry.js → tttx-checkbox_1_9_75.entry.js} +2 -2
- package/dist/esm/{tttx-comments_1_9_73.entry.js → tttx-comments_1_9_75.entry.js} +4 -4
- package/dist/esm/{tttx-data-pattern_1_9_73.entry.js → tttx-data-pattern_1_9_75.entry.js} +5 -5
- package/dist/esm/{tttx-datacard_1_9_73.entry.js → tttx-datacard_1_9_75.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_75.entry.js} +3 -3
- package/dist/esm/{tttx-dialog_1_9_73.entry.js → tttx-dialog_1_9_75.entry.js} +2 -2
- package/dist/esm/{tttx-expander_1_9_73.entry.js → tttx-expander_1_9_75.entry.js} +2 -2
- package/dist/esm/{tttx-filter_1_9_73_4.entry.js → tttx-filter_1_9_75_4.entry.js} +6 -6
- package/dist/esm/{tttx-form_1_9_73.entry.js → tttx-form_1_9_75.entry.js} +2 -2
- package/dist/esm/{tttx-graph_1_9_73.entry.js → tttx-graph_1_9_75.entry.js} +1 -1
- package/dist/esm/{tttx-icon_1_9_73.entry.js → tttx-icon_1_9_75.entry.js} +1 -1
- package/dist/esm/{tttx-keyvalue-block_1_9_73.entry.js → tttx-keyvalue-block_1_9_75.entry.js} +1 -1
- package/dist/esm/{tttx-loading-spinner_1_9_73_3.entry.js → tttx-loading-spinner_1_9_75_3.entry.js} +4 -4
- package/dist/esm/{tttx-multiselect-box_1_9_73.entry.js → tttx-multiselect-box_1_9_75.entry.js} +7 -7
- package/dist/esm/{tttx-percentage-bar_1_9_73.entry.js → tttx-percentage-bar_1_9_75.entry.js} +2 -2
- package/dist/esm/{tttx-qrcode_1_9_73.entry.js → tttx-qrcode_1_9_75.entry.js} +1 -1
- package/dist/esm/{tttx-range-slider_1_9_73.entry.js → tttx-range-slider_1_9_75.entry.js} +1 -1
- package/dist/esm/{tttx-select-box_1_9_73.entry.js → tttx-select-box_1_9_75.entry.js} +6 -6
- package/dist/esm/{tttx-skeleton_loader_1_9_73.entry.js → tttx-skeleton_loader_1_9_75.entry.js} +1 -1
- package/dist/esm/{tttx-table_1_9_73.entry.js → tttx-table_1_9_75.entry.js} +1 -1
- package/dist/esm/{tttx-tabs_1_9_73.entry.js → tttx-tabs_1_9_75.entry.js} +4 -4
- package/dist/esm/{tttx-tag-v2_1_9_73.entry.js → tttx-tag-v2_1_9_75.entry.js} +2 -2
- package/dist/esm/{tttx-textarea_1_9_73.entry.js → tttx-textarea_1_9_75.entry.js} +2 -2
- package/dist/esm/{tttx-toggle_1_9_73.entry.js → tttx-toggle_1_9_75.entry.js} +1 -1
- package/dist/esm/{tttx-tooltip_1_9_73.entry.js → tttx-tooltip_1_9_75.entry.js} +1 -1
- package/dist/esm/{tttx-tree-view_1_9_73.entry.js → tttx-tree-view_1_9_75.entry.js} +37 -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-35c34e4a.entry.js +1 -0
- 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
|
@@ -10,13 +10,48 @@ export default {
|
|
|
10
10
|
decorators: [withActions],
|
|
11
11
|
};
|
|
12
12
|
const TttxTreeViewTemplate = ({ data }) => `
|
|
13
|
-
<
|
|
13
|
+
<style>
|
|
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
|
+
|
|
14
20
|
<script>
|
|
15
21
|
(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
|
+
|
|
16
46
|
const treeView = document.getElementById('treeView');
|
|
47
|
+
|
|
17
48
|
if (treeView) {
|
|
18
|
-
|
|
49
|
+
const dataOriginal = ${JSON.stringify(data)};
|
|
50
|
+
const selectedNode = findSelected(dataOriginal);
|
|
51
|
+
const processed = applyBackgrounds(dataOriginal, selectedNode);
|
|
52
|
+
treeView.data = processed;
|
|
19
53
|
}
|
|
54
|
+
|
|
20
55
|
})();
|
|
21
56
|
</script>
|
|
22
57
|
`;
|
|
@@ -44,64 +79,6 @@ GroupSelectionDemo.args = {
|
|
|
44
79
|
selectable: true,
|
|
45
80
|
draggable: true,
|
|
46
81
|
},
|
|
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
|
-
},
|
|
105
82
|
{
|
|
106
83
|
id: '0002',
|
|
107
84
|
title: '0002',
|
|
@@ -157,354 +134,3 @@ GroupSelectionDemo.args = {
|
|
|
157
134
|
},
|
|
158
135
|
],
|
|
159
136
|
};
|
|
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
|
-
};
|
|
400
|
-
export const SingleSelectionBehavior = TttxTreeViewTemplate.bind({});
|
|
401
|
-
SingleSelectionBehavior.args = {
|
|
402
|
-
data: [
|
|
403
|
-
{
|
|
404
|
-
id: 'course1',
|
|
405
|
-
title: 'Course 1 (Selected)',
|
|
406
|
-
isOpen: true,
|
|
407
|
-
hasCheckbox: true,
|
|
408
|
-
hasHover: true,
|
|
409
|
-
selectable: true,
|
|
410
|
-
selected: true,
|
|
411
|
-
draggable: false,
|
|
412
|
-
child: [
|
|
413
|
-
{
|
|
414
|
-
id: 'module1',
|
|
415
|
-
title: 'Module 1 (Selected)',
|
|
416
|
-
isOpen: true,
|
|
417
|
-
hasCheckbox: true,
|
|
418
|
-
hasHover: true,
|
|
419
|
-
selectable: true,
|
|
420
|
-
selected: true,
|
|
421
|
-
draggable: false,
|
|
422
|
-
child: [
|
|
423
|
-
{
|
|
424
|
-
id: 'lesson1',
|
|
425
|
-
title: 'Lesson 1',
|
|
426
|
-
hasIcon: true,
|
|
427
|
-
icon: 'book',
|
|
428
|
-
hasHover: true,
|
|
429
|
-
selectable: true,
|
|
430
|
-
draggable: true,
|
|
431
|
-
},
|
|
432
|
-
],
|
|
433
|
-
},
|
|
434
|
-
],
|
|
435
|
-
},
|
|
436
|
-
{
|
|
437
|
-
id: 'course2',
|
|
438
|
-
title: 'Course 2 (Not Selected)',
|
|
439
|
-
isOpen: true,
|
|
440
|
-
hasCheckbox: true,
|
|
441
|
-
hasHover: true,
|
|
442
|
-
selectable: true,
|
|
443
|
-
selected: false,
|
|
444
|
-
draggable: false,
|
|
445
|
-
child: [
|
|
446
|
-
{
|
|
447
|
-
id: 'module2',
|
|
448
|
-
title: 'Module 2 (Not Selected)',
|
|
449
|
-
isOpen: true,
|
|
450
|
-
hasCheckbox: true,
|
|
451
|
-
hasHover: true,
|
|
452
|
-
selectable: true,
|
|
453
|
-
selected: false,
|
|
454
|
-
draggable: false,
|
|
455
|
-
child: [
|
|
456
|
-
{
|
|
457
|
-
id: 'lesson2',
|
|
458
|
-
title: 'Lesson 2',
|
|
459
|
-
hasIcon: true,
|
|
460
|
-
icon: 'book',
|
|
461
|
-
hasHover: true,
|
|
462
|
-
selectable: true,
|
|
463
|
-
draggable: true,
|
|
464
|
-
},
|
|
465
|
-
],
|
|
466
|
-
},
|
|
467
|
-
],
|
|
468
|
-
},
|
|
469
|
-
],
|
|
470
|
-
};
|
|
471
|
-
export const AccessibilityDemo = TttxTreeViewTemplate.bind({});
|
|
472
|
-
AccessibilityDemo.storyName = 'Accessibility & Visual Distinction';
|
|
473
|
-
AccessibilityDemo.args = {
|
|
474
|
-
data: [
|
|
475
|
-
{
|
|
476
|
-
id: 'accessible1',
|
|
477
|
-
title: 'Selected Group with Clear Distinction',
|
|
478
|
-
isOpen: true,
|
|
479
|
-
hasCheckbox: true,
|
|
480
|
-
hasHover: true,
|
|
481
|
-
selectable: true,
|
|
482
|
-
selected: true,
|
|
483
|
-
draggable: false,
|
|
484
|
-
child: [
|
|
485
|
-
{
|
|
486
|
-
id: 'accessible2',
|
|
487
|
-
title: 'Selected Subgroup',
|
|
488
|
-
isOpen: true,
|
|
489
|
-
hasCheckbox: true,
|
|
490
|
-
hasHover: true,
|
|
491
|
-
selectable: true,
|
|
492
|
-
selected: true,
|
|
493
|
-
draggable: false,
|
|
494
|
-
child: [
|
|
495
|
-
{
|
|
496
|
-
id: 'accessible3',
|
|
497
|
-
title: 'Activity without blue border',
|
|
498
|
-
hasIcon: true,
|
|
499
|
-
icon: 'accessible',
|
|
500
|
-
iconColor: 'blue',
|
|
501
|
-
hasHover: true,
|
|
502
|
-
selectable: true,
|
|
503
|
-
draggable: true,
|
|
504
|
-
},
|
|
505
|
-
],
|
|
506
|
-
},
|
|
507
|
-
],
|
|
508
|
-
},
|
|
509
|
-
],
|
|
510
|
-
};
|
|
@@ -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_75", { border: true }, h("span", { slot: "before" }, this.sorterOptions &&
|
|
15
|
+
h("tttx-sorter_1_9_75", { sorterKey: "data-pattern-list", fieldOptionsData: this.sorterOptions, defaultOption: this.defaultSortOption }), this.filterOptions &&
|
|
16
|
+
h("tttx-filter_1_9_75", { "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_75", { class: "qualifications-filter", showerrorbubble: false, inputicon: "search", inline: true, required: true, placeholder: this.searchplaceholder, type: "text", maxlength: 30 }))), h("tttx-toolbar_1_9_75", { border: false }, h("span", { slot: "before" }, this.addbutton &&
|
|
17
|
+
h("tttx-button_1_9_75", { design: "primary", icon: "add" }, this.addbuttonlabel))), h("tttx-list_1_9_75", { data: this.data }))));
|
|
18
18
|
}
|
|
19
|
-
static get is() { return "tttx-data-
|
|
19
|
+
static get is() { return "tttx-data-pattern_1_9_75"; }
|
|
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_75 id="datapatternlist"></tttx-data-pattern_1_9_75>
|
|
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_75 icon="egg" /></span> Demulon 1,000,000' },
|
|
23
|
+
{ icon: 'chevron_right', element: '<span><tttx-icon_1_9_75 icon="egg" color="red" /></span> Patrick' },
|
|
24
|
+
{ icon: 'chevron_right', element: '<span><tttx-icon_1_9_75 icon="add" /></span> Lee' },
|
|
25
|
+
{ icon: 'chevron_right', element: '<span><tttx-icon_1_9_75 icon="egg" /></span> Ben' },
|
|
26
26
|
],
|
|
27
27
|
sorterOptions: {
|
|
28
28
|
sorterOptions: [{ optionLabel: 'Name' }, { optionLabel: 'Age' }],
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
/* tttx custom elements */
|
|
2
|
-
export { TttxActionDropdown as
|
|
3
|
-
export { TttxButton as
|
|
4
|
-
export { TttxButton as
|
|
5
|
-
export { TttxChart as
|
|
6
|
-
export { TttxCheckboxGroupCaption as
|
|
7
|
-
export { TttxCheckboxGroupHeading as
|
|
8
|
-
export { TttxCheckboxGroup as
|
|
9
|
-
export { TttxCheckbox as
|
|
10
|
-
export { TttxComments as
|
|
11
|
-
export { TttxDataPattern as
|
|
12
|
-
export { TttxDatacard as
|
|
2
|
+
export { TttxActionDropdown as TttxActionDropdown_1_9_75 } from '../types/components/molecules/tttx-action-dropdown/tttx-action-dropdown';
|
|
3
|
+
export { TttxButton as TttxButtonV2_1_9_75 } from '../types/components/atoms/tttx-button-v2/tttx-button-v2';
|
|
4
|
+
export { TttxButton as TttxButton_1_9_75 } from '../types/components/atoms/tttx-button/tttx-button';
|
|
5
|
+
export { TttxChart as TttxChart_1_9_75 } from '../types/components/molecules/tttx-chart/tttx-chart';
|
|
6
|
+
export { TttxCheckboxGroupCaption as TttxCheckboxGroupCaption_1_9_75 } from '../types/components/molecules/tttx-checkbox-group/components/tttx-checkbox-group-caption';
|
|
7
|
+
export { TttxCheckboxGroupHeading as TttxCheckboxGroupHeading_1_9_75 } from '../types/components/molecules/tttx-checkbox-group/components/tttx-checkbox-group-heading';
|
|
8
|
+
export { TttxCheckboxGroup as TttxCheckboxGroup_1_9_75 } from '../types/components/molecules/tttx-checkbox-group/tttx-checkbox-group';
|
|
9
|
+
export { TttxCheckbox as TttxCheckbox_1_9_75 } from '../types/components/atoms/tttx-checkbox/tttx-checkbox';
|
|
10
|
+
export { TttxComments as TttxComments_1_9_75 } from '../types/components/molecules/tttx-comments/tttx-comments';
|
|
11
|
+
export { TttxDataPattern as TttxDataPattern_1_9_75 } from '../types/components/organisms/tttx-data-pattern/tttx-data-pattern';
|
|
12
|
+
export { TttxDatacard as TttxDatacard_1_9_75 } from '../types/components/atoms/tttx-datacard/tttx-datacard';
|
|
13
13
|
export { TttxDateRangePicker as TttxDateRangePicker } from '../types/components/molecules/tttx-date-range-picker/tttx-date-range-picker';
|
|
14
|
-
export { TttxDialogBox as
|
|
15
|
-
export { TttxDialog as
|
|
16
|
-
export { TttxExpander as
|
|
17
|
-
export { TttxFilter as
|
|
18
|
-
export { TttxForm as
|
|
19
|
-
export { TttxGraph as
|
|
20
|
-
export { TttxIcon as
|
|
21
|
-
export { TttxKeyvalueBlock as
|
|
22
|
-
export { TttxList as
|
|
23
|
-
export { TttxLoadingSpinner as
|
|
24
|
-
export { TttxMultiselectBox as
|
|
25
|
-
export { TttxPercentageBar as
|
|
26
|
-
export { TttxQrCode as
|
|
27
|
-
export { TttxRangeSlider as
|
|
28
|
-
export { TttxSelectBox as
|
|
29
|
-
export { TttxSkeletonLoader as
|
|
30
|
-
export { TttxSorter as
|
|
31
|
-
export { TttxInput as
|
|
32
|
-
export { TttxTable as
|
|
33
|
-
export { TttxTabs as
|
|
34
|
-
export { TttxTagV2 as
|
|
35
|
-
export { TttxTag as
|
|
36
|
-
export { TttxTextarea as
|
|
37
|
-
export { TttxToggle as
|
|
38
|
-
export { TttxToolbar as
|
|
39
|
-
export { TttxTooltip as
|
|
40
|
-
export { TttxTreeView as
|
|
14
|
+
export { TttxDialogBox as TttxDialogBox_1_9_75 } from '../types/components/molecules/tttx-dialog-box/tttx-dialog-box';
|
|
15
|
+
export { TttxDialog as TttxDialog_1_9_75 } from '../types/components/molecules/tttx-dialog/tttx-dialog';
|
|
16
|
+
export { TttxExpander as TttxExpander_1_9_75 } from '../types/components/molecules/tttx-expander/tttx-expander';
|
|
17
|
+
export { TttxFilter as TttxFilter_1_9_75 } from '../types/components/molecules/tttx-filter/tttx-filter';
|
|
18
|
+
export { TttxForm as TttxForm_1_9_75 } from '../types/components/molecules/tttx-form/tttx-form';
|
|
19
|
+
export { TttxGraph as TttxGraph_1_9_75 } from '../types/components/molecules/tttx-graph/tttx-graph';
|
|
20
|
+
export { TttxIcon as TttxIcon_1_9_75 } from '../types/components/atoms/tttx-icon/tttx-icon';
|
|
21
|
+
export { TttxKeyvalueBlock as TttxKeyvalueBlock_1_9_75 } from '../types/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block';
|
|
22
|
+
export { TttxList as TttxList_1_9_75 } from '../types/components/molecules/tttx-list/tttx-list';
|
|
23
|
+
export { TttxLoadingSpinner as TttxLoadingSpinner_1_9_75 } from '../types/components/atoms/tttx-loading-spinner/tttx-loading-spinner';
|
|
24
|
+
export { TttxMultiselectBox as TttxMultiselectBox_1_9_75 } from '../types/components/molecules/tttx-multiselect-box/tttx-multiselect-box';
|
|
25
|
+
export { TttxPercentageBar as TttxPercentageBar_1_9_75 } from '../types/components/atoms/tttx-percentage-bar/tttx-percentage-bar';
|
|
26
|
+
export { TttxQrCode as TttxQrcode_1_9_75 } from '../types/components/atoms/tttx-qrcode/tttx-qrcode';
|
|
27
|
+
export { TttxRangeSlider as TttxRangeSlider_1_9_75 } from '../types/components/molecules/tttx-range-slider/tttx-range-slider';
|
|
28
|
+
export { TttxSelectBox as TttxSelectBox_1_9_75 } from '../types/components/molecules/tttx-select-box/tttx-select-box';
|
|
29
|
+
export { TttxSkeletonLoader as TttxSkeleton_loader_1_9_75 } from '../types/components/atoms/tttx-skeleton-loader/tttx-skeleton-loader';
|
|
30
|
+
export { TttxSorter as TttxSorter_1_9_75 } from '../types/components/molecules/tttx-sorter/tttx-sorter';
|
|
31
|
+
export { TttxInput as TttxStandaloneInput_1_9_75 } from '../types/components/molecules/tttx-standalone-input/tttx-standalone-input';
|
|
32
|
+
export { TttxTable as TttxTable_1_9_75 } from '../types/components/molecules/tttx-table/tttx-table';
|
|
33
|
+
export { TttxTabs as TttxTabs_1_9_75 } from '../types/components/molecules/tttx-tabs/tttx-tabs';
|
|
34
|
+
export { TttxTagV2 as TttxTagV2_1_9_75 } from '../types/components/atoms/tttx-tag-v2/tttx-tag-v2';
|
|
35
|
+
export { TttxTag as TttxTag_1_9_75 } from '../types/components/atoms/tttx-tag/tttx-tag';
|
|
36
|
+
export { TttxTextarea as TttxTextarea_1_9_75 } from '../types/components/molecules/tttx-textarea/tttx-textarea';
|
|
37
|
+
export { TttxToggle as TttxToggle_1_9_75 } from '../types/components/atoms/tttx-toggle/tttx-toggle';
|
|
38
|
+
export { TttxToolbar as TttxToolbar_1_9_75 } from '../types/components/molecules/tttx-toolbar/tttx-toolbar';
|
|
39
|
+
export { TttxTooltip as TttxTooltip_1_9_75 } from '../types/components/molecules/tttx-tooltip/tttx-tooltip';
|
|
40
|
+
export { TttxTreeView as TttxTreeView_1_9_75 } from '../types/components/molecules/tttx-tree-view/tttx-tree-view';
|
|
41
41
|
|
|
42
42
|
/**
|
|
43
43
|
* Used to manually set the base path where assets can be found.
|