@3t-transform/threeteeui 1.9.56 → 1.9.57
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/{index-992a9fb3.js → index-ec367fa3.js} +28 -2
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{tttx-action-dropdown_1_9_56.cjs.entry.js → tttx-action-dropdown_1_9_57.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-button_1_9_56.cjs.entry.js → tttx-button_1_9_57.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-checkbox-group-caption_1_9_56.cjs.entry.js → tttx-checkbox-group-caption_1_9_57.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-checkbox-group-heading_1_9_56.cjs.entry.js → tttx-checkbox-group-heading_1_9_57.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-checkbox-group_1_9_56.cjs.entry.js → tttx-checkbox-group_1_9_57.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-checkbox_1_9_56.cjs.entry.js → tttx-checkbox_1_9_57.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-comments_1_9_56.cjs.entry.js → tttx-comments_1_9_57.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-data-pattern_1_9_56.cjs.entry.js → tttx-data-pattern_1_9_57.cjs.entry.js} +6 -6
- package/dist/cjs/{tttx-datacard_1_9_56.cjs.entry.js → tttx-datacard_1_9_57.cjs.entry.js} +5 -5
- package/dist/cjs/tttx-date-range-picker.cjs.entry.js +2 -2
- package/dist/cjs/{tttx-dialog-box_1_9_56.cjs.entry.js → tttx-dialog-box_1_9_57.cjs.entry.js} +4 -4
- package/dist/cjs/{tttx-dialog_1_9_56.cjs.entry.js → tttx-dialog_1_9_57.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-expander_1_9_56.cjs.entry.js → tttx-expander_1_9_57.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-filter_1_9_56_4.cjs.entry.js → tttx-filter_1_9_57_4.cjs.entry.js} +10 -10
- package/dist/cjs/{tttx-form_1_9_56.cjs.entry.js → tttx-form_1_9_57.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-graph_1_9_56.cjs.entry.js → tttx-graph_1_9_57.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-icon_1_9_56.cjs.entry.js → tttx-icon_1_9_57.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-keyvalue-block_1_9_56.cjs.entry.js → tttx-keyvalue-block_1_9_57.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-loading-spinner_1_9_56_3.cjs.entry.js → tttx-loading-spinner_1_9_57_3.cjs.entry.js} +7 -7
- package/dist/cjs/{tttx-multiselect-box_1_9_56.cjs.entry.js → tttx-multiselect-box_1_9_57.cjs.entry.js} +8 -8
- package/dist/cjs/{tttx-percentage-bar_1_9_56.cjs.entry.js → tttx-percentage-bar_1_9_57.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-qrcode_1_9_56.cjs.entry.js → tttx-qrcode_1_9_57.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-select-box_1_9_56.cjs.entry.js → tttx-select-box_1_9_57.cjs.entry.js} +7 -7
- package/dist/cjs/{tttx-skeleton_loader_1_9_56.cjs.entry.js → tttx-skeleton_loader_1_9_57.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-table_1_9_56.cjs.entry.js → tttx-table_1_9_57.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-tabs_1_9_56.cjs.entry.js → tttx-tabs_1_9_57.cjs.entry.js} +5 -5
- package/dist/cjs/{tttx-textarea_1_9_56.cjs.entry.js → tttx-textarea_1_9_57.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-toggle_1_9_56.cjs.entry.js → tttx-toggle_1_9_57.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-tree-view_1_9_56.cjs.entry.js → tttx-tree-view_1_9_57.cjs.entry.js} +93 -19
- package/dist/cjs/tttx.cjs.js +2 -2
- package/dist/collection/assets/img/drag-icon.svg +3 -0
- package/dist/collection/components/assets/drag-icon.svg +3 -0
- 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-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-toggle/tttx-toggle.js +1 -1
- package/dist/collection/components/atoms/tttx-toggle/tttx-toggle.stories.js +2 -2
- package/dist/collection/components/domsanitiser.options.js +14 -0
- 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-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 +2 -2
- package/dist/collection/components/molecules/tttx-comments/tttx-comments.stories.js +2 -2
- 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-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-tree-view/tttx-tree-view.css +9 -0
- package/dist/collection/components/molecules/tttx-tree-view/tttx-tree-view.js +111 -18
- package/dist/collection/components/molecules/tttx-tree-view/tttx-tree-view.stories.js +35 -532
- 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 +33 -33
- package/dist/components/index.js +33 -33
- package/dist/components/tttx-action-dropdown_1_9_57.d.ts +11 -0
- package/dist/components/{tttx-action-dropdown_1_9_56.js → tttx-action-dropdown_1_9_57.js} +7 -7
- package/dist/components/tttx-button.js +5 -5
- package/dist/components/{tttx-dialog_1_9_56.d.ts → tttx-button_1_9_57.d.ts} +4 -4
- package/dist/components/{tttx-button_1_9_56.js → tttx-button_1_9_57.js} +2 -2
- package/dist/components/tttx-checkbox-group-caption_1_9_57.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group-caption_1_9_56.js → tttx-checkbox-group-caption_1_9_57.js} +5 -5
- package/dist/components/tttx-checkbox-group-heading_1_9_57.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group-heading_1_9_56.js → tttx-checkbox-group-heading_1_9_57.js} +5 -5
- package/dist/components/tttx-checkbox-group_1_9_57.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group_1_9_56.js → tttx-checkbox-group_1_9_57.js} +5 -5
- package/dist/components/{tttx-comments_1_9_56.d.ts → tttx-checkbox_1_9_57.d.ts} +4 -4
- package/dist/components/{tttx-checkbox_1_9_56.js → tttx-checkbox_1_9_57.js} +7 -7
- package/dist/components/{tttx-datacard_1_9_56.d.ts → tttx-comments_1_9_57.d.ts} +4 -4
- package/dist/components/{tttx-comments_1_9_56.js → tttx-comments_1_9_57.js} +7 -7
- package/dist/components/tttx-data-pattern_1_9_57.d.ts +11 -0
- package/dist/components/{tttx-data-pattern_1_9_56.js → tttx-data-pattern_1_9_57.js} +16 -16
- package/dist/components/{tttx-checkbox_1_9_56.d.ts → tttx-datacard_1_9_57.d.ts} +4 -4
- package/dist/components/{tttx-datacard_1_9_56.js → tttx-datacard_1_9_57.js} +10 -10
- package/dist/components/tttx-date-range-picker.js +3 -3
- package/dist/components/tttx-dialog-box_1_9_57.d.ts +11 -0
- package/dist/components/{tttx-dialog-box_1_9_56.js → tttx-dialog-box_1_9_57.js} +9 -9
- package/dist/components/{tttx-button_1_9_56.d.ts → tttx-dialog_1_9_57.d.ts} +4 -4
- package/dist/components/{tttx-dialog_1_9_56.js → tttx-dialog_1_9_57.js} +8 -8
- package/dist/components/tttx-expander_1_9_57.d.ts +11 -0
- package/dist/components/{tttx-expander_1_9_56.js → tttx-expander_1_9_57.js} +7 -7
- package/dist/components/tttx-filter.js +6 -6
- package/dist/components/{tttx-filter_1_9_56.d.ts → tttx-filter_1_9_57.d.ts} +4 -4
- package/dist/components/{tttx-filter_1_9_56.js → tttx-filter_1_9_57.js} +2 -2
- package/dist/components/{tttx-tabs_1_9_56.d.ts → tttx-form_1_9_57.d.ts} +4 -4
- package/dist/components/{tttx-form_1_9_56.js → tttx-form_1_9_57.js} +11 -11
- package/dist/components/tttx-graph.js +3 -3
- package/dist/components/{tttx-graph_1_9_56.d.ts → tttx-graph_1_9_57.d.ts} +4 -4
- package/dist/components/{tttx-graph_1_9_56.js → tttx-graph_1_9_57.js} +2 -2
- package/dist/components/tttx-icon.js +3 -3
- package/dist/components/{tttx-icon_1_9_56.d.ts → tttx-icon_1_9_57.d.ts} +4 -4
- package/dist/components/{tttx-icon_1_9_56.js → tttx-icon_1_9_57.js} +2 -2
- package/dist/components/tttx-keyvalue-block_1_9_57.d.ts +11 -0
- package/dist/components/{tttx-keyvalue-block_1_9_56.js → tttx-keyvalue-block_1_9_57.js} +5 -5
- package/dist/components/tttx-list.js +6 -6
- package/dist/components/{tttx-list_1_9_56.d.ts → tttx-list_1_9_57.d.ts} +4 -4
- package/dist/components/{tttx-list_1_9_56.js → tttx-list_1_9_57.js} +2 -2
- package/dist/components/tttx-loading-spinner.js +3 -3
- package/dist/components/tttx-loading-spinner_1_9_57.d.ts +11 -0
- package/dist/components/{tttx-loading-spinner_1_9_56.js → tttx-loading-spinner_1_9_57.js} +2 -2
- package/dist/components/tttx-multiselect-box_1_9_57.d.ts +11 -0
- package/dist/components/{tttx-multiselect-box_1_9_56.js → tttx-multiselect-box_1_9_57.js} +16 -16
- package/dist/components/tttx-percentage-bar_1_9_57.d.ts +11 -0
- package/dist/components/{tttx-percentage-bar_1_9_56.js → tttx-percentage-bar_1_9_57.js} +6 -6
- package/dist/components/{tttx-qrcode_1_9_56.d.ts → tttx-qrcode_1_9_57.d.ts} +4 -4
- package/dist/components/{tttx-qrcode_1_9_56.js → tttx-qrcode_1_9_57.js} +5 -5
- package/dist/components/tttx-select-box.js +12 -12
- package/dist/components/tttx-select-box_1_9_57.d.ts +11 -0
- package/dist/components/{tttx-select-box_1_9_56.js → tttx-select-box_1_9_57.js} +2 -2
- package/dist/components/tttx-skeleton_loader_1_9_57.d.ts +11 -0
- package/dist/components/{tttx-skeleton_loader_1_9_56.js → tttx-skeleton_loader_1_9_57.js} +5 -5
- package/dist/components/tttx-sorter.js +5 -5
- package/dist/components/tttx-sorter_1_9_57.d.ts +11 -0
- package/dist/components/{tttx-sorter_1_9_56.js → tttx-sorter_1_9_57.js} +2 -2
- package/dist/components/tttx-standalone-input.js +6 -6
- package/dist/components/tttx-standalone-input_1_9_57.d.ts +11 -0
- package/dist/components/{tttx-standalone-input_1_9_56.js → tttx-standalone-input_1_9_57.js} +2 -2
- package/dist/components/{tttx-table_1_9_56.d.ts → tttx-table_1_9_57.d.ts} +4 -4
- package/dist/components/{tttx-table_1_9_56.js → tttx-table_1_9_57.js} +5 -5
- package/dist/components/{tttx-form_1_9_56.d.ts → tttx-tabs_1_9_57.d.ts} +4 -4
- package/dist/components/{tttx-tabs_1_9_56.js → tttx-tabs_1_9_57.js} +9 -9
- package/dist/components/tttx-tag.js +5 -5
- package/dist/components/{tttx-tag_1_9_56.d.ts → tttx-tag_1_9_57.d.ts} +4 -4
- package/dist/components/{tttx-tag_1_9_56.js → tttx-tag_1_9_57.js} +2 -2
- package/dist/components/tttx-textarea_1_9_57.d.ts +11 -0
- package/dist/components/{tttx-textarea_1_9_56.js → tttx-textarea_1_9_57.js} +6 -6
- package/dist/components/tttx-toggle_1_9_57.d.ts +11 -0
- package/dist/components/{tttx-toggle_1_9_56.js → tttx-toggle_1_9_57.js} +5 -5
- package/dist/components/tttx-toolbar.js +3 -3
- package/dist/components/tttx-toolbar_1_9_57.d.ts +11 -0
- package/dist/components/{tttx-toolbar_1_9_56.js → tttx-toolbar_1_9_57.js} +2 -2
- package/dist/components/tttx-tree-view_1_9_57.d.ts +11 -0
- package/dist/components/{tttx-tree-view_1_9_56.js → tttx-tree-view_1_9_57.js} +99 -25
- package/dist/esm/{index-b11965d8.js → index-3d473f8b.js} +28 -3
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{tttx-action-dropdown_1_9_56.entry.js → tttx-action-dropdown_1_9_57.entry.js} +3 -3
- package/dist/esm/{tttx-button_1_9_56.entry.js → tttx-button_1_9_57.entry.js} +3 -3
- package/dist/esm/{tttx-checkbox-group-caption_1_9_56.entry.js → tttx-checkbox-group-caption_1_9_57.entry.js} +2 -2
- package/dist/esm/{tttx-checkbox-group-heading_1_9_56.entry.js → tttx-checkbox-group-heading_1_9_57.entry.js} +2 -2
- package/dist/esm/{tttx-checkbox-group_1_9_56.entry.js → tttx-checkbox-group_1_9_57.entry.js} +2 -2
- package/dist/esm/{tttx-checkbox_1_9_56.entry.js → tttx-checkbox_1_9_57.entry.js} +3 -3
- package/dist/esm/{tttx-comments_1_9_56.entry.js → tttx-comments_1_9_57.entry.js} +3 -3
- package/dist/esm/{tttx-data-pattern_1_9_56.entry.js → tttx-data-pattern_1_9_57.entry.js} +6 -6
- package/dist/esm/{tttx-datacard_1_9_56.entry.js → tttx-datacard_1_9_57.entry.js} +5 -5
- package/dist/esm/tttx-date-range-picker.entry.js +2 -2
- package/dist/esm/{tttx-dialog-box_1_9_56.entry.js → tttx-dialog-box_1_9_57.entry.js} +4 -4
- package/dist/esm/{tttx-dialog_1_9_56.entry.js → tttx-dialog_1_9_57.entry.js} +3 -3
- package/dist/esm/{tttx-expander_1_9_56.entry.js → tttx-expander_1_9_57.entry.js} +3 -3
- package/dist/esm/{tttx-filter_1_9_56_4.entry.js → tttx-filter_1_9_57_4.entry.js} +7 -7
- package/dist/esm/{tttx-form_1_9_56.entry.js → tttx-form_1_9_57.entry.js} +3 -3
- package/dist/esm/{tttx-graph_1_9_56.entry.js → tttx-graph_1_9_57.entry.js} +2 -2
- package/dist/esm/{tttx-icon_1_9_56.entry.js → tttx-icon_1_9_57.entry.js} +2 -2
- package/dist/esm/{tttx-keyvalue-block_1_9_56.entry.js → tttx-keyvalue-block_1_9_57.entry.js} +2 -2
- package/dist/esm/{tttx-loading-spinner_1_9_56_3.entry.js → tttx-loading-spinner_1_9_57_3.entry.js} +5 -5
- package/dist/esm/{tttx-multiselect-box_1_9_56.entry.js → tttx-multiselect-box_1_9_57.entry.js} +8 -8
- package/dist/esm/{tttx-percentage-bar_1_9_56.entry.js → tttx-percentage-bar_1_9_57.entry.js} +3 -3
- package/dist/esm/{tttx-qrcode_1_9_56.entry.js → tttx-qrcode_1_9_57.entry.js} +2 -2
- package/dist/esm/{tttx-select-box_1_9_56.entry.js → tttx-select-box_1_9_57.entry.js} +7 -7
- package/dist/esm/{tttx-skeleton_loader_1_9_56.entry.js → tttx-skeleton_loader_1_9_57.entry.js} +2 -2
- package/dist/esm/{tttx-table_1_9_56.entry.js → tttx-table_1_9_57.entry.js} +2 -2
- package/dist/esm/{tttx-tabs_1_9_56.entry.js → tttx-tabs_1_9_57.entry.js} +5 -5
- package/dist/esm/{tttx-textarea_1_9_56.entry.js → tttx-textarea_1_9_57.entry.js} +3 -3
- package/dist/esm/{tttx-toggle_1_9_56.entry.js → tttx-toggle_1_9_57.entry.js} +2 -2
- package/dist/esm/tttx-tree-view_1_9_57.entry.js +203 -0
- package/dist/esm/tttx.js +3 -3
- package/dist/tttx/{p-b077aa45.entry.js → p-079da884.entry.js} +1 -1
- package/dist/tttx/{p-e8b9acb8.entry.js → p-13d3d63c.entry.js} +1 -1
- package/dist/tttx/{p-e23f0843.entry.js → p-1814eb61.entry.js} +1 -1
- package/dist/tttx/{p-80c3103a.entry.js → p-19294325.entry.js} +1 -1
- package/dist/tttx/{p-22150380.entry.js → p-218f3309.entry.js} +1 -1
- package/dist/tttx/{p-652aaf6c.entry.js → p-24eef142.entry.js} +1 -1
- package/dist/tttx/{p-e5f97b02.entry.js → p-2636cba4.entry.js} +1 -1
- package/dist/tttx/p-2b0fc913.js +2 -0
- package/dist/tttx/{p-222b7f89.entry.js → p-477b66de.entry.js} +1 -1
- package/dist/tttx/{p-1d8210d3.entry.js → p-54060e46.entry.js} +1 -1
- package/dist/tttx/{p-7ff42357.entry.js → p-5f35edd8.entry.js} +1 -1
- package/dist/tttx/{p-49bae603.entry.js → p-61af5028.entry.js} +1 -1
- package/dist/tttx/{p-4560cb86.entry.js → p-67f75171.entry.js} +1 -1
- package/dist/tttx/{p-e4b36835.entry.js → p-7bfa4e1e.entry.js} +1 -1
- package/dist/tttx/p-7c7e8951.entry.js +1 -0
- package/dist/tttx/{p-3f2f039d.entry.js → p-972b7449.entry.js} +1 -1
- package/dist/tttx/{p-b2a7e078.entry.js → p-a12aff0f.entry.js} +1 -1
- package/dist/tttx/{p-21bb99dd.entry.js → p-a1ba99fb.entry.js} +1 -1
- package/dist/tttx/{p-61df30c5.entry.js → p-a474dc05.entry.js} +1 -1
- package/dist/tttx/{p-98bee16c.entry.js → p-a800aa5d.entry.js} +1 -1
- package/dist/tttx/{p-555885cc.entry.js → p-acb9e007.entry.js} +1 -1
- package/dist/tttx/{p-9262d276.entry.js → p-b44ddcb7.entry.js} +1 -1
- package/dist/tttx/{p-65da8c2a.entry.js → p-b4b5e1e1.entry.js} +1 -1
- package/dist/tttx/{p-354fc8d4.entry.js → p-bbecd0d9.entry.js} +2 -2
- package/dist/tttx/{p-6343251b.entry.js → p-bc8c1d08.entry.js} +1 -1
- package/dist/tttx/{p-9426547c.entry.js → p-cb3b393b.entry.js} +1 -1
- package/dist/tttx/{p-c7ff1887.entry.js → p-d62c8ed2.entry.js} +1 -1
- package/dist/tttx/{p-8aeb43df.entry.js → p-e84965f0.entry.js} +1 -1
- package/dist/tttx/{p-03c3c654.entry.js → p-edf27c73.entry.js} +1 -1
- package/dist/tttx/{p-71372d3a.entry.js → p-f1e945ba.entry.js} +1 -1
- package/dist/tttx/tttx.esm.js +1 -1
- package/dist/types/components/domsanitiser.options.d.ts +10 -0
- 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/helper/helper.d.ts +1 -0
- package/dist/types/components/molecules/tttx-tree-view/tttx-tree-view.d.ts +14 -2
- package/dist/types/components.d.ts +395 -394
- package/package.json +2 -2
- package/dist/components/tttx-action-dropdown_1_9_56.d.ts +0 -11
- package/dist/components/tttx-checkbox-group-caption_1_9_56.d.ts +0 -11
- package/dist/components/tttx-checkbox-group-heading_1_9_56.d.ts +0 -11
- package/dist/components/tttx-checkbox-group_1_9_56.d.ts +0 -11
- package/dist/components/tttx-data-pattern_1_9_56.d.ts +0 -11
- package/dist/components/tttx-dialog-box_1_9_56.d.ts +0 -11
- package/dist/components/tttx-expander_1_9_56.d.ts +0 -11
- package/dist/components/tttx-keyvalue-block_1_9_56.d.ts +0 -11
- package/dist/components/tttx-loading-spinner_1_9_56.d.ts +0 -11
- package/dist/components/tttx-multiselect-box_1_9_56.d.ts +0 -11
- package/dist/components/tttx-percentage-bar_1_9_56.d.ts +0 -11
- package/dist/components/tttx-select-box_1_9_56.d.ts +0 -11
- package/dist/components/tttx-skeleton_loader_1_9_56.d.ts +0 -11
- package/dist/components/tttx-sorter_1_9_56.d.ts +0 -11
- package/dist/components/tttx-standalone-input_1_9_56.d.ts +0 -11
- package/dist/components/tttx-textarea_1_9_56.d.ts +0 -11
- package/dist/components/tttx-toggle_1_9_56.d.ts +0 -11
- package/dist/components/tttx-toolbar_1_9_56.d.ts +0 -11
- package/dist/components/tttx-tree-view_1_9_56.d.ts +0 -11
- package/dist/esm/tttx-tree-view_1_9_56.entry.js +0 -129
- package/dist/tttx/p-65bb4035.js +0 -2
- package/dist/tttx/p-9896a083.entry.js +0 -1
|
@@ -9,575 +9,78 @@ export default {
|
|
|
9
9
|
},
|
|
10
10
|
decorators: [withActions],
|
|
11
11
|
};
|
|
12
|
-
const
|
|
13
|
-
<tttx-tree-
|
|
12
|
+
const TttxTreeViewDragDrop = ({ data }) => `
|
|
13
|
+
<tttx-tree-view_1_9_57 id="treeViewDragDrop"></tttx-tree-view_1_9_57>
|
|
14
14
|
<script>
|
|
15
|
-
if(!
|
|
16
|
-
const
|
|
15
|
+
if (!treeViewDragDrop) {
|
|
16
|
+
const treeViewDragDrop = document.getElementById('treeViewDragDrop');
|
|
17
17
|
}
|
|
18
|
-
|
|
18
|
+
treeViewDragDrop.data = ${JSON.stringify(data)};
|
|
19
19
|
</script>
|
|
20
20
|
`;
|
|
21
|
-
export const
|
|
22
|
-
|
|
21
|
+
export const Dragdrop = TttxTreeViewDragDrop.bind({});
|
|
22
|
+
Dragdrop.args = {
|
|
23
23
|
data: [
|
|
24
24
|
{
|
|
25
|
-
id: '
|
|
26
|
-
title: '
|
|
25
|
+
id: '1',
|
|
26
|
+
title: 'Engineer',
|
|
27
27
|
isOpen: false,
|
|
28
|
-
hasCheckbox: true,
|
|
29
|
-
checked: false,
|
|
30
|
-
icon: 'check_circle',
|
|
31
|
-
iconColor: 'green',
|
|
32
|
-
child: [
|
|
33
|
-
{
|
|
34
|
-
id: 'second',
|
|
35
|
-
title: 'Boop',
|
|
36
|
-
isOpen: false,
|
|
37
|
-
icon: 'check_circle',
|
|
38
|
-
iconColor: 'green',
|
|
39
|
-
child: [
|
|
40
|
-
{
|
|
41
|
-
id: 'third',
|
|
42
|
-
hasIcon: true,
|
|
43
|
-
icon: 'help',
|
|
44
|
-
iconColor: 'gray',
|
|
45
|
-
title: 'this is a test',
|
|
46
|
-
},
|
|
47
|
-
],
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
id: 3,
|
|
51
|
-
title: 'Boop',
|
|
52
|
-
isOpen: false,
|
|
53
|
-
hasIcon: true,
|
|
54
|
-
icon: 'check_circle',
|
|
55
|
-
iconColor: 'green',
|
|
56
|
-
},
|
|
57
|
-
],
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
id: 3,
|
|
61
|
-
title: 'second route',
|
|
62
|
-
isOpen: false,
|
|
63
|
-
icon: 'help',
|
|
64
|
-
iconColor: 'gray',
|
|
65
|
-
child: [
|
|
66
|
-
{
|
|
67
|
-
id: 4,
|
|
68
|
-
hasCheckbox: true,
|
|
69
|
-
hasIcon: true,
|
|
70
|
-
icon: 'help',
|
|
71
|
-
iconColor: 'gray',
|
|
72
|
-
title: 'Boop 2077',
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
id: 4,
|
|
76
|
-
hasCheckbox: true,
|
|
77
|
-
hasIcon: true,
|
|
78
|
-
icon: 'help',
|
|
79
|
-
iconColor: 'gray',
|
|
80
|
-
title: 'sjdnfkn 2077',
|
|
81
|
-
},
|
|
82
|
-
],
|
|
83
|
-
},
|
|
84
|
-
],
|
|
85
|
-
};
|
|
86
|
-
const TttxTreeViewSimple = ({ data }) => `
|
|
87
|
-
<tttx-tree-view_1_9_56 id="treeViewSimple"></tttx-tree-view_1_9_56>
|
|
88
|
-
<script>
|
|
89
|
-
if(!treeViewSimple) {
|
|
90
|
-
const treeViewSimple = document.getElementById('treeViewSimple');
|
|
91
|
-
}
|
|
92
|
-
treeViewSimple.data = ${JSON.stringify(data)};
|
|
93
|
-
</script>
|
|
94
|
-
`;
|
|
95
|
-
export const Simple = TttxTreeViewSimple.bind({});
|
|
96
|
-
Simple.args = {
|
|
97
|
-
data: [
|
|
98
|
-
{
|
|
99
|
-
id: 'First',
|
|
100
|
-
title: 'Role Specific Vocational Qualification',
|
|
101
|
-
isOpen: false,
|
|
102
|
-
hasCheckbox: false,
|
|
103
|
-
hasIcon: false,
|
|
104
|
-
child: [
|
|
105
|
-
{
|
|
106
|
-
id: 'second',
|
|
107
|
-
title: 'Boop',
|
|
108
|
-
isOpen: false,
|
|
109
|
-
child: [
|
|
110
|
-
{
|
|
111
|
-
id: 'third',
|
|
112
|
-
hasIcon: false,
|
|
113
|
-
title: 'this is a test',
|
|
114
|
-
},
|
|
115
|
-
],
|
|
116
|
-
},
|
|
117
|
-
{
|
|
118
|
-
id: 3,
|
|
119
|
-
title: 'Boop',
|
|
120
|
-
isOpen: false,
|
|
121
|
-
hasIcon: false,
|
|
122
|
-
},
|
|
123
|
-
],
|
|
124
|
-
},
|
|
125
|
-
{
|
|
126
|
-
id: 3,
|
|
127
|
-
title: 'second route',
|
|
128
|
-
isOpen: false,
|
|
129
|
-
hasIcon: false,
|
|
130
|
-
hasCheckbox: false,
|
|
131
|
-
child: [
|
|
132
|
-
{
|
|
133
|
-
id: 4,
|
|
134
|
-
title: 'Boop 2077',
|
|
135
|
-
},
|
|
136
|
-
{
|
|
137
|
-
id: 4,
|
|
138
|
-
title: 'sjdnfkn 2077',
|
|
139
|
-
},
|
|
140
|
-
],
|
|
141
|
-
},
|
|
142
|
-
],
|
|
143
|
-
};
|
|
144
|
-
const TttxTreeViewHTML = ({ data }) => `
|
|
145
|
-
<tttx-tree-view_1_9_56 id="treeViewHTML"></tttx-tree-view_1_9_56>
|
|
146
|
-
<script>
|
|
147
|
-
if(!treeViewHTML) {
|
|
148
|
-
const treeViewHTML = document.getElementById('treeViewHTML');
|
|
149
|
-
}
|
|
150
|
-
treeViewHTML.data = ${JSON.stringify(data)};
|
|
151
|
-
</script>
|
|
152
|
-
`;
|
|
153
|
-
export const HTML = TttxTreeViewHTML.bind({});
|
|
154
|
-
HTML.args = {
|
|
155
|
-
data: [
|
|
156
|
-
{
|
|
157
|
-
id: 'First',
|
|
158
|
-
title: 'Role Specific Vocational Qualification',
|
|
159
|
-
isOpen: false,
|
|
160
|
-
html: '<div>This is html </div>',
|
|
161
28
|
hasCheckbox: false,
|
|
162
29
|
hasIcon: false,
|
|
30
|
+
draggable: false,
|
|
163
31
|
child: [
|
|
164
32
|
{
|
|
165
|
-
id: 2,
|
|
166
|
-
title: '
|
|
33
|
+
id: '2',
|
|
34
|
+
title: 'Qualification',
|
|
167
35
|
isOpen: false,
|
|
168
|
-
|
|
36
|
+
draggable: false,
|
|
169
37
|
child: [
|
|
170
38
|
{
|
|
171
|
-
id:
|
|
39
|
+
id: '3a',
|
|
40
|
+
title: 'Cloud engineer',
|
|
172
41
|
hasIcon: false,
|
|
173
|
-
|
|
174
|
-
html: '<div>This is html </div>',
|
|
42
|
+
draggable: true,
|
|
175
43
|
},
|
|
176
|
-
],
|
|
177
|
-
},
|
|
178
|
-
{
|
|
179
|
-
id: 3,
|
|
180
|
-
title: 'Boop',
|
|
181
|
-
isOpen: false,
|
|
182
|
-
hasIcon: false,
|
|
183
|
-
html: '<div>This is html </div>',
|
|
184
|
-
},
|
|
185
|
-
],
|
|
186
|
-
},
|
|
187
|
-
{
|
|
188
|
-
id: 3,
|
|
189
|
-
title: 'second route',
|
|
190
|
-
isOpen: false,
|
|
191
|
-
hasIcon: false,
|
|
192
|
-
hasCheckbox: false,
|
|
193
|
-
html: '<div>This is html </div>',
|
|
194
|
-
child: [
|
|
195
|
-
{
|
|
196
|
-
id: 4,
|
|
197
|
-
title: 'Boop 2077',
|
|
198
|
-
html: '<div>This is html </div>',
|
|
199
|
-
},
|
|
200
|
-
{
|
|
201
|
-
id: 4,
|
|
202
|
-
title: 'sjdnfkn 2077',
|
|
203
|
-
html: '<div>This is html </div>',
|
|
204
|
-
},
|
|
205
|
-
],
|
|
206
|
-
},
|
|
207
|
-
],
|
|
208
|
-
};
|
|
209
|
-
const TttxTreeViewCheckbox = ({ data }) => `
|
|
210
|
-
<tttx-tree-view_1_9_56 id="treeViewCheckbox"></tttx-tree-view_1_9_56>
|
|
211
|
-
<script>
|
|
212
|
-
if(!treeViewCheckbox) {
|
|
213
|
-
const treeViewCheckbox = document.getElementById('treeViewCheckbox');
|
|
214
|
-
}
|
|
215
|
-
treeViewCheckbox.data = ${JSON.stringify(data)};
|
|
216
|
-
</script>
|
|
217
|
-
`;
|
|
218
|
-
export const Checkbox = TttxTreeViewCheckbox.bind({});
|
|
219
|
-
Checkbox.args = {
|
|
220
|
-
data: [
|
|
221
|
-
{
|
|
222
|
-
id: 'First',
|
|
223
|
-
title: 'Role Specific Vocational Qualification',
|
|
224
|
-
isOpen: false,
|
|
225
|
-
hasCheckbox: true,
|
|
226
|
-
checked: false,
|
|
227
|
-
hasIcon: false,
|
|
228
|
-
child: [
|
|
229
|
-
{
|
|
230
|
-
id: 2,
|
|
231
|
-
title: 'Boop',
|
|
232
|
-
isOpen: false,
|
|
233
|
-
hasCheckbox: true,
|
|
234
|
-
checked: false,
|
|
235
|
-
child: [
|
|
236
44
|
{
|
|
237
|
-
id:
|
|
45
|
+
id: '3b',
|
|
46
|
+
title: 'Software engineer',
|
|
238
47
|
hasIcon: false,
|
|
239
|
-
|
|
240
|
-
hasCheckbox: true,
|
|
241
|
-
checked: false,
|
|
48
|
+
draggable: true,
|
|
242
49
|
},
|
|
243
50
|
{
|
|
244
|
-
id:
|
|
51
|
+
id: '3c',
|
|
52
|
+
title: 'Devops engineer',
|
|
245
53
|
hasIcon: false,
|
|
246
|
-
|
|
247
|
-
hasCheckbox: false
|
|
54
|
+
draggable: true,
|
|
248
55
|
},
|
|
249
56
|
],
|
|
250
57
|
},
|
|
251
58
|
{
|
|
252
|
-
id:
|
|
253
|
-
title: '
|
|
59
|
+
id: '4',
|
|
60
|
+
title: 'GDPR',
|
|
254
61
|
isOpen: false,
|
|
255
62
|
hasIcon: false,
|
|
256
|
-
|
|
257
|
-
checked: false,
|
|
258
|
-
},
|
|
259
|
-
{
|
|
260
|
-
id: 2,
|
|
261
|
-
hasIcon: false,
|
|
262
|
-
title: 'can\'t be checked',
|
|
263
|
-
hasCheckbox: false
|
|
264
|
-
},
|
|
265
|
-
],
|
|
266
|
-
},
|
|
267
|
-
{
|
|
268
|
-
id: 3,
|
|
269
|
-
title: 'second route',
|
|
270
|
-
isOpen: false,
|
|
271
|
-
hasIcon: false,
|
|
272
|
-
hasCheckbox: true,
|
|
273
|
-
checked: false,
|
|
274
|
-
child: [
|
|
275
|
-
{
|
|
276
|
-
id: 4,
|
|
277
|
-
title: 'Boop 2077',
|
|
278
|
-
hasCheckbox: true,
|
|
279
|
-
checked: false,
|
|
280
|
-
},
|
|
281
|
-
{
|
|
282
|
-
id: 4,
|
|
283
|
-
title: 'sjdnfkn 2077',
|
|
284
|
-
hasCheckbox: true,
|
|
285
|
-
checked: false,
|
|
286
|
-
},
|
|
287
|
-
{
|
|
288
|
-
id: 2,
|
|
289
|
-
hasIcon: false,
|
|
290
|
-
title: 'won\'t be checked',
|
|
291
|
-
hasCheckbox: false
|
|
292
|
-
},
|
|
293
|
-
],
|
|
294
|
-
},
|
|
295
|
-
],
|
|
296
|
-
};
|
|
297
|
-
const TttxTreeViewIcons = ({ data }) => `
|
|
298
|
-
<tttx-tree-view_1_9_56 id="treeViewIcons"></tttx-tree-view_1_9_56>
|
|
299
|
-
<script>
|
|
300
|
-
if(!treeViewIcons) {
|
|
301
|
-
const treeViewIcons = document.getElementById('treeViewIcons');
|
|
302
|
-
}
|
|
303
|
-
treeViewIcons.data = ${JSON.stringify(data)};
|
|
304
|
-
</script>
|
|
305
|
-
`;
|
|
306
|
-
export const Icons = TttxTreeViewIcons.bind({});
|
|
307
|
-
Icons.args = {
|
|
308
|
-
data: [
|
|
309
|
-
{
|
|
310
|
-
id: 'First',
|
|
311
|
-
title: 'Role Specific Vocational Qualification',
|
|
312
|
-
isOpen: false,
|
|
313
|
-
hasCheckbox: false,
|
|
314
|
-
hasIcon: true,
|
|
315
|
-
icon: 'check_circle',
|
|
316
|
-
iconColor: 'green',
|
|
317
|
-
child: [
|
|
318
|
-
{
|
|
319
|
-
id: 2,
|
|
320
|
-
title: 'Boop',
|
|
321
|
-
isOpen: false,
|
|
322
|
-
hasIcon: true,
|
|
323
|
-
icon: 'check_circle',
|
|
324
|
-
iconColor: 'green',
|
|
325
|
-
child: [
|
|
326
|
-
{
|
|
327
|
-
id: 2,
|
|
328
|
-
hasIcon: true,
|
|
329
|
-
icon: 'check_circle',
|
|
330
|
-
iconColor: 'green',
|
|
331
|
-
title: 'this is a test',
|
|
332
|
-
},
|
|
333
|
-
],
|
|
334
|
-
},
|
|
335
|
-
{
|
|
336
|
-
id: 3,
|
|
337
|
-
title: 'Boop',
|
|
338
|
-
isOpen: false,
|
|
339
|
-
hasIcon: true,
|
|
340
|
-
icon: 'check_circle',
|
|
341
|
-
iconColor: 'green',
|
|
342
|
-
},
|
|
343
|
-
],
|
|
344
|
-
},
|
|
345
|
-
{
|
|
346
|
-
id: 3,
|
|
347
|
-
title: 'second route',
|
|
348
|
-
isOpen: false,
|
|
349
|
-
hasIcon: true,
|
|
350
|
-
icon: 'help',
|
|
351
|
-
iconColor: 'gray',
|
|
352
|
-
hasCheckbox: false,
|
|
353
|
-
child: [
|
|
354
|
-
{
|
|
355
|
-
id: 4,
|
|
356
|
-
title: 'Boop 2077',
|
|
357
|
-
hasIcon: true,
|
|
358
|
-
icon: 'check_circle',
|
|
359
|
-
iconColor: 'green',
|
|
63
|
+
draggable: true,
|
|
360
64
|
},
|
|
361
65
|
{
|
|
362
|
-
id:
|
|
363
|
-
title: '
|
|
364
|
-
hasIcon: true,
|
|
365
|
-
icon: 'help',
|
|
366
|
-
iconColor: 'gray',
|
|
367
|
-
},
|
|
368
|
-
],
|
|
369
|
-
},
|
|
370
|
-
],
|
|
371
|
-
};
|
|
372
|
-
const TttxTreeViewCheckBoxAndIcons = ({ data }) => `
|
|
373
|
-
<tttx-tree-view_1_9_56 id="treeViewCheckBoxAndIcons"></tttx-tree-view_1_9_56>
|
|
374
|
-
<script>
|
|
375
|
-
if(!treeViewCheckBoxAndIcons) {
|
|
376
|
-
const treeViewCheckBoxAndIcons = document.getElementById('treeViewCheckBoxAndIcons');
|
|
377
|
-
}
|
|
378
|
-
treeViewCheckBoxAndIcons.data = ${JSON.stringify(data)};
|
|
379
|
-
</script>
|
|
380
|
-
`;
|
|
381
|
-
export const CheckBoxAndIcons = TttxTreeViewCheckBoxAndIcons.bind({});
|
|
382
|
-
CheckBoxAndIcons.args = {
|
|
383
|
-
data: [
|
|
384
|
-
{
|
|
385
|
-
id: 'First',
|
|
386
|
-
title: 'Role Specific Vocational Qualification',
|
|
387
|
-
isOpen: false,
|
|
388
|
-
hasCheckbox: true,
|
|
389
|
-
checked: false,
|
|
390
|
-
hasIcon: true,
|
|
391
|
-
icon: 'check_circle',
|
|
392
|
-
iconColor: 'green',
|
|
393
|
-
child: [
|
|
394
|
-
{
|
|
395
|
-
id: 2,
|
|
396
|
-
title: 'Boop',
|
|
66
|
+
id: '5',
|
|
67
|
+
title: 'Skills',
|
|
397
68
|
isOpen: false,
|
|
398
|
-
hasIcon:
|
|
399
|
-
|
|
400
|
-
checked: false,
|
|
401
|
-
icon: 'check_circle',
|
|
402
|
-
iconColor: 'green',
|
|
69
|
+
hasIcon: false,
|
|
70
|
+
draggable: false,
|
|
403
71
|
child: [
|
|
404
72
|
{
|
|
405
|
-
id:
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
iconColor: 'green',
|
|
409
|
-
hasCheckbox: true,
|
|
410
|
-
checked: false,
|
|
411
|
-
title: 'this is a test',
|
|
73
|
+
id: '6a',
|
|
74
|
+
title: 'Software engineering',
|
|
75
|
+
draggable: true,
|
|
412
76
|
},
|
|
413
|
-
],
|
|
414
|
-
},
|
|
415
|
-
{
|
|
416
|
-
id: 3,
|
|
417
|
-
title: 'Boop',
|
|
418
|
-
isOpen: false,
|
|
419
|
-
hasCheckbox: true,
|
|
420
|
-
checked: false,
|
|
421
|
-
hasIcon: true,
|
|
422
|
-
icon: 'check_circle',
|
|
423
|
-
iconColor: 'green',
|
|
424
|
-
},
|
|
425
|
-
],
|
|
426
|
-
},
|
|
427
|
-
{
|
|
428
|
-
id: 3,
|
|
429
|
-
title: 'second route',
|
|
430
|
-
isOpen: false,
|
|
431
|
-
hasCheckbox: true,
|
|
432
|
-
checked: false,
|
|
433
|
-
hasIcon: true,
|
|
434
|
-
icon: 'check_circle',
|
|
435
|
-
iconColor: 'green',
|
|
436
|
-
child: [
|
|
437
|
-
{
|
|
438
|
-
id: 4,
|
|
439
|
-
title: 'Boop 2077',
|
|
440
|
-
hasCheckbox: true,
|
|
441
|
-
checked: false,
|
|
442
|
-
hasIcon: true,
|
|
443
|
-
icon: 'check_circle',
|
|
444
|
-
iconColor: 'green',
|
|
445
|
-
},
|
|
446
|
-
{
|
|
447
|
-
id: 4,
|
|
448
|
-
title: 'sjdnfkn 2077',
|
|
449
|
-
hasCheckbox: true,
|
|
450
|
-
checked: false,
|
|
451
|
-
hasIcon: true,
|
|
452
|
-
icon: 'check_circle',
|
|
453
|
-
iconColor: 'green',
|
|
454
|
-
},
|
|
455
|
-
],
|
|
456
|
-
},
|
|
457
|
-
],
|
|
458
|
-
};
|
|
459
|
-
// ----------- Skills passport examples -----------
|
|
460
|
-
const convertNode = (node) => {
|
|
461
|
-
let children = [];
|
|
462
|
-
if (node.Groups) {
|
|
463
|
-
children = node.Groups.map((child) => convertNode(child));
|
|
464
|
-
}
|
|
465
|
-
if (node.Requirements) {
|
|
466
|
-
children = children.concat(node.Requirements.map((child) => convertNode(child)));
|
|
467
|
-
}
|
|
468
|
-
return {
|
|
469
|
-
id: node.Name,
|
|
470
|
-
title: node.Name,
|
|
471
|
-
child: children,
|
|
472
|
-
isOpen: true,
|
|
473
|
-
};
|
|
474
|
-
};
|
|
475
|
-
const convertNodes = (nodes) => {
|
|
476
|
-
return nodes.Groups.map((node) => convertNode(node));
|
|
477
|
-
};
|
|
478
|
-
// Requirements list example 1
|
|
479
|
-
export const RequirementsList1 = TttxTreeViewStory.bind({});
|
|
480
|
-
import requirementsListData1 from './story-data/example1.json';
|
|
481
|
-
const convertedData1 = {
|
|
482
|
-
id: requirementsListData1.tagId,
|
|
483
|
-
title: requirementsListData1.listName,
|
|
484
|
-
child: convertNodes(requirementsListData1),
|
|
485
|
-
isOpen: true
|
|
486
|
-
};
|
|
487
|
-
RequirementsList1.args = {
|
|
488
|
-
data: [convertedData1],
|
|
489
|
-
};
|
|
490
|
-
// Requirements list example 2
|
|
491
|
-
export const RequirementsList2 = TttxTreeViewStory.bind({});
|
|
492
|
-
import requirementsListData2 from './story-data/example2.json';
|
|
493
|
-
const convertedData2 = {
|
|
494
|
-
id: requirementsListData2.tagId,
|
|
495
|
-
title: requirementsListData2.listName,
|
|
496
|
-
child: convertNodes(requirementsListData2),
|
|
497
|
-
isOpen: true
|
|
498
|
-
};
|
|
499
|
-
RequirementsList2.args = {
|
|
500
|
-
data: [convertedData2],
|
|
501
|
-
};
|
|
502
|
-
const TttxTreeViewEmptyGroup = ({ data }) => `
|
|
503
|
-
<tttx-tree-view_1_9_56 id="treeViewEmptyGroup"></tttx-tree-view_1_9_56>
|
|
504
|
-
<script>
|
|
505
|
-
if(!treeViewEmptyGroup) {
|
|
506
|
-
const treeViewEmptyGroup = document.getElementById('treeViewEmptyGroup');
|
|
507
|
-
}
|
|
508
|
-
treeViewEmptyGroup.data = ${JSON.stringify(data)};
|
|
509
|
-
</script>
|
|
510
|
-
`;
|
|
511
|
-
export const EmptyGroup = TttxTreeViewEmptyGroup.bind({});
|
|
512
|
-
EmptyGroup.args = {
|
|
513
|
-
data: [
|
|
514
|
-
{
|
|
515
|
-
id: 'First',
|
|
516
|
-
title: 'Role Specific Vocational Qualification',
|
|
517
|
-
isOpen: false,
|
|
518
|
-
hasCheckbox: true,
|
|
519
|
-
checked: false,
|
|
520
|
-
hasIcon: true,
|
|
521
|
-
icon: 'check_circle',
|
|
522
|
-
iconColor: 'green',
|
|
523
|
-
child: [],
|
|
524
|
-
},
|
|
525
|
-
],
|
|
526
|
-
};
|
|
527
|
-
const TttxTreeViewselectable = ({ data }) => `
|
|
528
|
-
<tttx-tree-view_1_9_56 id="treeViewselectable"></tttx-tree-view_1_9_56>
|
|
529
|
-
<script>
|
|
530
|
-
if(!treeViewselectable) {
|
|
531
|
-
const treeViewselectable = document.getElementById('treeViewselectable');
|
|
532
|
-
}
|
|
533
|
-
treeViewselectable.data = ${JSON.stringify(data)};
|
|
534
|
-
treeViewselectable.firstSelected = true;
|
|
535
|
-
</script>
|
|
536
|
-
`;
|
|
537
|
-
export const SelectableAndHover = TttxTreeViewselectable.bind({});
|
|
538
|
-
SelectableAndHover.args = {
|
|
539
|
-
data: [
|
|
540
|
-
{
|
|
541
|
-
id: 'First',
|
|
542
|
-
title: 'Role Specific Vocational Qualification',
|
|
543
|
-
isOpen: false,
|
|
544
|
-
hasCheckbox: false,
|
|
545
|
-
hasIcon: false,
|
|
546
|
-
hasHover: true,
|
|
547
|
-
selectable: true,
|
|
548
|
-
selected: false,
|
|
549
|
-
child: [
|
|
550
|
-
{
|
|
551
|
-
id: 'second',
|
|
552
|
-
title: 'Boop',
|
|
553
|
-
isOpen: false,
|
|
554
|
-
hasCheckbox: false,
|
|
555
|
-
hasIcon: false,
|
|
556
|
-
hasHover: true,
|
|
557
|
-
selectable: true,
|
|
558
|
-
selected: false,
|
|
559
|
-
child: [
|
|
560
77
|
{
|
|
561
|
-
id: '
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
title: 'this is a test',
|
|
565
|
-
hasHover: true,
|
|
566
|
-
selectable: true,
|
|
567
|
-
selected: false,
|
|
78
|
+
id: '6b',
|
|
79
|
+
title: 'Design patterns',
|
|
80
|
+
draggable: true,
|
|
568
81
|
},
|
|
569
82
|
],
|
|
570
83
|
},
|
|
571
|
-
{
|
|
572
|
-
id: 'fouth',
|
|
573
|
-
title: 'Boop',
|
|
574
|
-
isOpen: false,
|
|
575
|
-
hasCheckbox: false,
|
|
576
|
-
hasIcon: false,
|
|
577
|
-
hasHover: true,
|
|
578
|
-
selectable: true,
|
|
579
|
-
selected: false,
|
|
580
|
-
},
|
|
581
84
|
],
|
|
582
85
|
},
|
|
583
86
|
],
|
|
@@ -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_57", { border: true }, h("span", { slot: "before" }, this.sorterOptions &&
|
|
15
|
+
h("tttx-sorter_1_9_57", { sorterKey: "data-pattern-list", fieldOptionsData: this.sorterOptions, defaultOption: this.defaultSortOption }), this.filterOptions &&
|
|
16
|
+
h("tttx-filter_1_9_57", { "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_57", { class: "qualifications-filter", showerrorbubble: false, inputicon: "search", inline: true, required: true, placeholder: this.searchplaceholder, type: "text", maxlength: 30 }))), h("tttx-toolbar_1_9_57", { border: false }, h("span", { slot: "before" }, this.addbutton &&
|
|
17
|
+
h("tttx-button_1_9_57", { design: "primary", icon: "add" }, this.addbuttonlabel))), h("tttx-list_1_9_57", { data: this.data }))));
|
|
18
18
|
}
|
|
19
|
-
static get is() { return "tttx-data-
|
|
19
|
+
static get is() { return "tttx-data-pattern_1_9_57"; }
|
|
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_57 id="datapatternlist"></tttx-data-pattern_1_9_57>
|
|
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_57 icon="egg" /></span> Demulon 1,000,000' },
|
|
23
|
+
{ icon: 'chevron_right', element: '<span><tttx-icon_1_9_57 icon="egg" color="red" /></span> Patrick' },
|
|
24
|
+
{ icon: 'chevron_right', element: '<span><tttx-icon_1_9_57 icon="add" /></span> Lee' },
|
|
25
|
+
{ icon: 'chevron_right', element: '<span><tttx-icon_1_9_57 icon="egg" /></span> Ben' },
|
|
26
26
|
],
|
|
27
27
|
sorterOptions: {
|
|
28
28
|
sorterOptions: [{ optionLabel: 'Name' }, { optionLabel: 'Age' }],
|