@3t-transform/threeteeui 1.9.56 → 1.9.58
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_58.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-button_1_9_56.cjs.entry.js → tttx-button_1_9_58.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-checkbox-group-caption_1_9_56.cjs.entry.js → tttx-checkbox-group-caption_1_9_58.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-checkbox-group-heading_1_9_56.cjs.entry.js → tttx-checkbox-group-heading_1_9_58.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-checkbox-group_1_9_56.cjs.entry.js → tttx-checkbox-group_1_9_58.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-checkbox_1_9_56.cjs.entry.js → tttx-checkbox_1_9_58.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-comments_1_9_56.cjs.entry.js → tttx-comments_1_9_58.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-data-pattern_1_9_56.cjs.entry.js → tttx-data-pattern_1_9_58.cjs.entry.js} +6 -6
- package/dist/cjs/{tttx-datacard_1_9_56.cjs.entry.js → tttx-datacard_1_9_58.cjs.entry.js} +5 -5
- package/dist/cjs/tttx-date-range-picker.cjs.entry.js +45 -41
- package/dist/cjs/{tttx-dialog-box_1_9_56.cjs.entry.js → tttx-dialog-box_1_9_58.cjs.entry.js} +4 -4
- package/dist/cjs/{tttx-dialog_1_9_56.cjs.entry.js → tttx-dialog_1_9_58.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-expander_1_9_56.cjs.entry.js → tttx-expander_1_9_58.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-filter_1_9_56_4.cjs.entry.js → tttx-filter_1_9_58_4.cjs.entry.js} +10 -10
- package/dist/cjs/{tttx-form_1_9_56.cjs.entry.js → tttx-form_1_9_58.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-graph_1_9_56.cjs.entry.js → tttx-graph_1_9_58.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-icon_1_9_56.cjs.entry.js → tttx-icon_1_9_58.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-keyvalue-block_1_9_56.cjs.entry.js → tttx-keyvalue-block_1_9_58.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-loading-spinner_1_9_56_3.cjs.entry.js → tttx-loading-spinner_1_9_58_3.cjs.entry.js} +7 -7
- package/dist/cjs/{tttx-multiselect-box_1_9_56.cjs.entry.js → tttx-multiselect-box_1_9_58.cjs.entry.js} +8 -8
- package/dist/cjs/{tttx-percentage-bar_1_9_56.cjs.entry.js → tttx-percentage-bar_1_9_58.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-qrcode_1_9_56.cjs.entry.js → tttx-qrcode_1_9_58.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-select-box_1_9_56.cjs.entry.js → tttx-select-box_1_9_58.cjs.entry.js} +7 -7
- package/dist/cjs/{tttx-skeleton_loader_1_9_56.cjs.entry.js → tttx-skeleton_loader_1_9_58.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-table_1_9_56.cjs.entry.js → tttx-table_1_9_58.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-tabs_1_9_56.cjs.entry.js → tttx-tabs_1_9_58.cjs.entry.js} +5 -5
- package/dist/cjs/{tttx-textarea_1_9_56.cjs.entry.js → tttx-textarea_1_9_58.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-toggle_1_9_56.cjs.entry.js → tttx-toggle_1_9_58.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-tree-view_1_9_56.cjs.entry.js → tttx-tree-view_1_9_58.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.css +53 -4
- package/dist/collection/components/molecules/tttx-date-range-picker/tttx-date-range-picker.js +48 -45
- package/dist/collection/components/molecules/tttx-date-range-picker/tttx-date-range-picker.stories.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_58.d.ts +11 -0
- package/dist/components/{tttx-action-dropdown_1_9_56.js → tttx-action-dropdown_1_9_58.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_58.d.ts} +4 -4
- package/dist/components/{tttx-button_1_9_56.js → tttx-button_1_9_58.js} +2 -2
- package/dist/components/tttx-checkbox-group-caption_1_9_58.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group-caption_1_9_56.js → tttx-checkbox-group-caption_1_9_58.js} +5 -5
- package/dist/components/tttx-checkbox-group-heading_1_9_58.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group-heading_1_9_56.js → tttx-checkbox-group-heading_1_9_58.js} +5 -5
- package/dist/components/tttx-checkbox-group_1_9_58.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group_1_9_56.js → tttx-checkbox-group_1_9_58.js} +5 -5
- package/dist/components/{tttx-comments_1_9_56.d.ts → tttx-checkbox_1_9_58.d.ts} +4 -4
- package/dist/components/{tttx-checkbox_1_9_56.js → tttx-checkbox_1_9_58.js} +7 -7
- package/dist/components/{tttx-datacard_1_9_56.d.ts → tttx-comments_1_9_58.d.ts} +4 -4
- package/dist/components/{tttx-comments_1_9_56.js → tttx-comments_1_9_58.js} +7 -7
- package/dist/components/tttx-data-pattern_1_9_58.d.ts +11 -0
- package/dist/components/{tttx-data-pattern_1_9_56.js → tttx-data-pattern_1_9_58.js} +16 -16
- package/dist/components/{tttx-checkbox_1_9_56.d.ts → tttx-datacard_1_9_58.d.ts} +4 -4
- package/dist/components/{tttx-datacard_1_9_56.js → tttx-datacard_1_9_58.js} +10 -10
- package/dist/components/tttx-date-range-picker.js +50 -47
- package/dist/components/tttx-dialog-box_1_9_58.d.ts +11 -0
- package/dist/components/{tttx-dialog-box_1_9_56.js → tttx-dialog-box_1_9_58.js} +9 -9
- package/dist/components/{tttx-button_1_9_56.d.ts → tttx-dialog_1_9_58.d.ts} +4 -4
- package/dist/components/{tttx-dialog_1_9_56.js → tttx-dialog_1_9_58.js} +8 -8
- package/dist/components/tttx-expander_1_9_58.d.ts +11 -0
- package/dist/components/{tttx-expander_1_9_56.js → tttx-expander_1_9_58.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_58.d.ts} +4 -4
- package/dist/components/{tttx-filter_1_9_56.js → tttx-filter_1_9_58.js} +2 -2
- package/dist/components/{tttx-tabs_1_9_56.d.ts → tttx-form_1_9_58.d.ts} +4 -4
- package/dist/components/{tttx-form_1_9_56.js → tttx-form_1_9_58.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_58.d.ts} +4 -4
- package/dist/components/{tttx-graph_1_9_56.js → tttx-graph_1_9_58.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_58.d.ts} +4 -4
- package/dist/components/{tttx-icon_1_9_56.js → tttx-icon_1_9_58.js} +2 -2
- package/dist/components/tttx-keyvalue-block_1_9_58.d.ts +11 -0
- package/dist/components/{tttx-keyvalue-block_1_9_56.js → tttx-keyvalue-block_1_9_58.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_58.d.ts} +4 -4
- package/dist/components/{tttx-list_1_9_56.js → tttx-list_1_9_58.js} +2 -2
- package/dist/components/tttx-loading-spinner.js +3 -3
- package/dist/components/tttx-loading-spinner_1_9_58.d.ts +11 -0
- package/dist/components/{tttx-loading-spinner_1_9_56.js → tttx-loading-spinner_1_9_58.js} +2 -2
- package/dist/components/tttx-multiselect-box_1_9_58.d.ts +11 -0
- package/dist/components/{tttx-multiselect-box_1_9_56.js → tttx-multiselect-box_1_9_58.js} +16 -16
- package/dist/components/tttx-percentage-bar_1_9_58.d.ts +11 -0
- package/dist/components/{tttx-percentage-bar_1_9_56.js → tttx-percentage-bar_1_9_58.js} +6 -6
- package/dist/components/{tttx-qrcode_1_9_56.d.ts → tttx-qrcode_1_9_58.d.ts} +4 -4
- package/dist/components/{tttx-qrcode_1_9_56.js → tttx-qrcode_1_9_58.js} +5 -5
- package/dist/components/tttx-select-box.js +12 -12
- package/dist/components/tttx-select-box_1_9_58.d.ts +11 -0
- package/dist/components/{tttx-select-box_1_9_56.js → tttx-select-box_1_9_58.js} +2 -2
- package/dist/components/tttx-skeleton_loader_1_9_58.d.ts +11 -0
- package/dist/components/{tttx-skeleton_loader_1_9_56.js → tttx-skeleton_loader_1_9_58.js} +5 -5
- package/dist/components/tttx-sorter.js +5 -5
- package/dist/components/tttx-sorter_1_9_58.d.ts +11 -0
- package/dist/components/{tttx-sorter_1_9_56.js → tttx-sorter_1_9_58.js} +2 -2
- package/dist/components/tttx-standalone-input.js +6 -6
- package/dist/components/tttx-standalone-input_1_9_58.d.ts +11 -0
- package/dist/components/{tttx-standalone-input_1_9_56.js → tttx-standalone-input_1_9_58.js} +2 -2
- package/dist/components/{tttx-table_1_9_56.d.ts → tttx-table_1_9_58.d.ts} +4 -4
- package/dist/components/{tttx-table_1_9_56.js → tttx-table_1_9_58.js} +5 -5
- package/dist/components/{tttx-form_1_9_56.d.ts → tttx-tabs_1_9_58.d.ts} +4 -4
- package/dist/components/{tttx-tabs_1_9_56.js → tttx-tabs_1_9_58.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_58.d.ts} +4 -4
- package/dist/components/{tttx-tag_1_9_56.js → tttx-tag_1_9_58.js} +2 -2
- package/dist/components/tttx-textarea_1_9_58.d.ts +11 -0
- package/dist/components/{tttx-textarea_1_9_56.js → tttx-textarea_1_9_58.js} +6 -6
- package/dist/components/tttx-toggle_1_9_58.d.ts +11 -0
- package/dist/components/{tttx-toggle_1_9_56.js → tttx-toggle_1_9_58.js} +5 -5
- package/dist/components/tttx-toolbar.js +3 -3
- package/dist/components/tttx-toolbar_1_9_58.d.ts +11 -0
- package/dist/components/{tttx-toolbar_1_9_56.js → tttx-toolbar_1_9_58.js} +2 -2
- package/dist/components/tttx-tree-view_1_9_58.d.ts +11 -0
- package/dist/components/{tttx-tree-view_1_9_56.js → tttx-tree-view_1_9_58.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_58.entry.js} +3 -3
- package/dist/esm/{tttx-button_1_9_56.entry.js → tttx-button_1_9_58.entry.js} +3 -3
- package/dist/esm/{tttx-checkbox-group-caption_1_9_56.entry.js → tttx-checkbox-group-caption_1_9_58.entry.js} +2 -2
- package/dist/esm/{tttx-checkbox-group-heading_1_9_56.entry.js → tttx-checkbox-group-heading_1_9_58.entry.js} +2 -2
- package/dist/esm/{tttx-checkbox-group_1_9_56.entry.js → tttx-checkbox-group_1_9_58.entry.js} +2 -2
- package/dist/esm/{tttx-checkbox_1_9_56.entry.js → tttx-checkbox_1_9_58.entry.js} +3 -3
- package/dist/esm/{tttx-comments_1_9_56.entry.js → tttx-comments_1_9_58.entry.js} +3 -3
- package/dist/esm/{tttx-data-pattern_1_9_56.entry.js → tttx-data-pattern_1_9_58.entry.js} +6 -6
- package/dist/esm/{tttx-datacard_1_9_56.entry.js → tttx-datacard_1_9_58.entry.js} +5 -5
- package/dist/esm/tttx-date-range-picker.entry.js +45 -41
- package/dist/esm/{tttx-dialog-box_1_9_56.entry.js → tttx-dialog-box_1_9_58.entry.js} +4 -4
- package/dist/esm/{tttx-dialog_1_9_56.entry.js → tttx-dialog_1_9_58.entry.js} +3 -3
- package/dist/esm/{tttx-expander_1_9_56.entry.js → tttx-expander_1_9_58.entry.js} +3 -3
- package/dist/esm/{tttx-filter_1_9_56_4.entry.js → tttx-filter_1_9_58_4.entry.js} +7 -7
- package/dist/esm/{tttx-form_1_9_56.entry.js → tttx-form_1_9_58.entry.js} +3 -3
- package/dist/esm/{tttx-graph_1_9_56.entry.js → tttx-graph_1_9_58.entry.js} +2 -2
- package/dist/esm/{tttx-icon_1_9_56.entry.js → tttx-icon_1_9_58.entry.js} +2 -2
- package/dist/esm/{tttx-keyvalue-block_1_9_56.entry.js → tttx-keyvalue-block_1_9_58.entry.js} +2 -2
- package/dist/esm/{tttx-loading-spinner_1_9_56_3.entry.js → tttx-loading-spinner_1_9_58_3.entry.js} +5 -5
- package/dist/esm/{tttx-multiselect-box_1_9_56.entry.js → tttx-multiselect-box_1_9_58.entry.js} +8 -8
- package/dist/esm/{tttx-percentage-bar_1_9_56.entry.js → tttx-percentage-bar_1_9_58.entry.js} +3 -3
- package/dist/esm/{tttx-qrcode_1_9_56.entry.js → tttx-qrcode_1_9_58.entry.js} +2 -2
- package/dist/esm/{tttx-select-box_1_9_56.entry.js → tttx-select-box_1_9_58.entry.js} +7 -7
- package/dist/esm/{tttx-skeleton_loader_1_9_56.entry.js → tttx-skeleton_loader_1_9_58.entry.js} +2 -2
- package/dist/esm/{tttx-table_1_9_56.entry.js → tttx-table_1_9_58.entry.js} +2 -2
- package/dist/esm/{tttx-tabs_1_9_56.entry.js → tttx-tabs_1_9_58.entry.js} +5 -5
- package/dist/esm/{tttx-textarea_1_9_56.entry.js → tttx-textarea_1_9_58.entry.js} +3 -3
- package/dist/esm/{tttx-toggle_1_9_56.entry.js → tttx-toggle_1_9_58.entry.js} +2 -2
- package/dist/esm/tttx-tree-view_1_9_58.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-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-cbae4bf1.entry.js +1 -0
- 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-date-range-picker/tttx-date-range-picker.d.ts +6 -7
- 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 +396 -395
- 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
- package/dist/tttx/p-b2a7e078.entry.js +0 -1
|
@@ -28,7 +28,7 @@ const TttxToolbar = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
28
28
|
return (h(Host, null, h("div", { class: `container ${this.border ? 'bordered' : ''} ${this.viewSize}` }, h("slot", { name: 'before' }), h("slot", { name: 'center' }), h("slot", { name: 'after' }))));
|
|
29
29
|
}
|
|
30
30
|
static get style() { return tttxToolbarCss; }
|
|
31
|
-
}, [1, "tttx-
|
|
31
|
+
}, [1, "tttx-toolbar_1_9_58", {
|
|
32
32
|
"border": [4],
|
|
33
33
|
"viewSize": [32]
|
|
34
34
|
}, [[9, "resize", "handleResize"]]]);
|
|
@@ -36,9 +36,9 @@ function defineCustomElement() {
|
|
|
36
36
|
if (typeof customElements === "undefined") {
|
|
37
37
|
return;
|
|
38
38
|
}
|
|
39
|
-
const components = ["tttx-
|
|
39
|
+
const components = ["tttx-toolbar_1_9_58"];
|
|
40
40
|
components.forEach(tagName => { switch (tagName) {
|
|
41
|
-
case "tttx-
|
|
41
|
+
case "tttx-toolbar_1_9_58":
|
|
42
42
|
if (!customElements.get(tagName)) {
|
|
43
43
|
customElements.define(tagName, TttxToolbar);
|
|
44
44
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface TttxToolbar_1_9_58 extends Components.TttxToolbar_1_9_58, HTMLElement {}
|
|
4
|
+
export const TttxToolbar_1_9_58: {
|
|
5
|
+
prototype: TttxToolbar_1_9_58;
|
|
6
|
+
new (): TttxToolbar_1_9_58;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { T as TttxToolbar, d as defineCustomElement$1 } from './tttx-toolbar.js';
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const TttxToolbar_1_9_58 = TttxToolbar;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
5
5
|
|
|
6
|
-
export {
|
|
6
|
+
export { TttxToolbar_1_9_58, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface TttxTreeView_1_9_58 extends Components.TttxTreeView_1_9_58, HTMLElement {}
|
|
4
|
+
export const TttxTreeView_1_9_58: {
|
|
5
|
+
prototype: TttxTreeView_1_9_58;
|
|
6
|
+
new (): TttxTreeView_1_9_58;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { proxyCustomElement, HTMLElement, createEvent, h, Fragment } from '@stencil/core/internal/client';
|
|
1
|
+
import { proxyCustomElement, HTMLElement, createEvent, getAssetPath, h, Fragment } from '@stencil/core/internal/client';
|
|
2
2
|
import { p as purify, d as domSanitiserOptions } from './domsanitiser.options.js';
|
|
3
3
|
import { d as defineCustomElement$3 } from './tttx-button.js';
|
|
4
4
|
import { d as defineCustomElement$2 } from './tttx-icon.js';
|
|
5
5
|
|
|
6
|
-
const tttxTreeViewCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.tree-view-element>ul{margin:0;padding:0}.tree-view-element>* ul{padding:0 0 0 36px}.tree-view-element ul li{list-style-type:none}.tree-view-element ul li.inline-tree-item{display:flex;align-items:center}.tree-view-element ul li.inline-tree-item .element{display:flex;flex-flow:row nowrap;justify-content:flex-start;align-items:center;width:100%;padding-left:8px}.tree-view-element ul li.inline-tree-item .element .padding-icon{padding:6px;height:24px;width:24px;display:flex;align-items:center;justify-content:center}@media (hover: hover){.tree-view-element ul li.inline-tree-item.element-row.rowHover:hover{cursor:pointer}.tree-view-element ul li.inline-tree-item.element-row.rowHover:hover::before{content:\"\";position:absolute;left:-50%;top:0;bottom:0;right:0;pointer-events:none}.tree-view-element ul li.inline-tree-item.element-row.rowHover:not(.rowSelected):hover::before{background-color:rgba(17, 17, 17, 0.05)}.tree-view-element ul li.inline-tree-item.element-row.rowHover.rowSelected:hover::before{background-color:rgba(17, 17, 17, 0.15)}}.tree-view-element ul li.inline-tree-item.element-row{min-height:36px;font-family:\"Roboto\", serif;font-size:16px;padding:8px 0px;position:relative}.tree-view-element ul li.inline-tree-item.element-row::before{content:\"\";position:absolute;left:-50%;bottom:0;right:0;border-bottom:1px solid #d5d5d5;pointer-events:none}.tree-view-element ul li.inline-tree-item.element-row.rowSelected::before{content:\"\";position:absolute;left:-50%;top:0;bottom:0;right:0;background-color:rgba(17, 17, 17, 0.1);pointer-events:none}.tree-view-element ul li.inline-tree-item.element-row.tree-node::before{background-color:#fafafa;height:51px;z-index:1}.tree-view-element ul li.inline-tree-item.element-row.tree-node *{z-index:2}.tree-view-element ul li.inline-tree-item.element-row .treeNode{width:100%;font-weight:500;color:#212121}.tree-view-element ul li.inline-tree-item.element-row .treeLeaf{width:100%;font-weight:400}";
|
|
6
|
+
const tttxTreeViewCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.tree-view-element>ul{margin:0;padding:0}.tree-view-element>* ul{padding:0 0 0 36px}.tree-view-element ul li{list-style-type:none}.tree-view-element ul li.inline-tree-item{display:flex;align-items:center}.tree-view-element ul li.inline-tree-item .element{display:flex;flex-flow:row nowrap;justify-content:flex-start;align-items:center;width:100%;padding-left:8px}.tree-view-element ul li.inline-tree-item .element .padding-icon{padding:6px;height:24px;width:24px;display:flex;align-items:center;justify-content:center}@media (hover: hover){.tree-view-element ul li.inline-tree-item.element-row.rowHover:hover{cursor:pointer}.tree-view-element ul li.inline-tree-item.element-row.rowHover:hover::before{content:\"\";position:absolute;left:-50%;top:0;bottom:0;right:0;pointer-events:none}.tree-view-element ul li.inline-tree-item.element-row.rowHover:not(.rowSelected):hover::before{background-color:rgba(17, 17, 17, 0.05)}.tree-view-element ul li.inline-tree-item.element-row.rowHover.rowSelected:hover::before{background-color:rgba(17, 17, 17, 0.15)}}.tree-view-element ul li.inline-tree-item.element-row{min-height:36px;font-family:\"Roboto\", serif;font-size:16px;padding:8px 0px;position:relative}.tree-view-element ul li.inline-tree-item.element-row::before{content:\"\";position:absolute;left:-50%;bottom:0;right:0;border-bottom:1px solid #d5d5d5;pointer-events:none}.tree-view-element ul li.inline-tree-item.element-row.rowSelected::before{content:\"\";position:absolute;left:-50%;top:0;bottom:0;right:0;background-color:rgba(17, 17, 17, 0.1);pointer-events:none}.tree-view-element ul li.inline-tree-item.element-row.tree-node::before{background-color:#fafafa;height:51px;z-index:1}.tree-view-element ul li.inline-tree-item.element-row.tree-node *{z-index:2}.tree-view-element ul li.inline-tree-item.element-row .treeNode{width:100%;font-weight:500;color:#212121}.tree-view-element ul li.inline-tree-item.element-row .treeLeaf{width:100%;font-weight:400}.tree-view-element ul li.inline-tree-item.element-row .drag-handle{margin-right:10px}.tree-view-element ul li.inline-tree-item.element-row .drop-not-allowed{border-color:red;border-style:dashed;cursor:not-allowed;opacity:0.7}";
|
|
7
7
|
|
|
8
8
|
const TttxTreeView = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
9
9
|
constructor() {
|
|
@@ -13,6 +13,68 @@ const TttxTreeView = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
13
13
|
this.clickEvent = createEvent(this, "clickEvent", 7);
|
|
14
14
|
this.expandNode = createEvent(this, "expandNode", 7);
|
|
15
15
|
this.checkboxChange = createEvent(this, "checkboxChange", 7);
|
|
16
|
+
this.moveNode = createEvent(this, "moveNode", 7);
|
|
17
|
+
this.dragIcon = getAssetPath('assets/img/drag-icon.svg');
|
|
18
|
+
this.dragGhost = {
|
|
19
|
+
el: null,
|
|
20
|
+
};
|
|
21
|
+
this.createGhostImage = (label) => {
|
|
22
|
+
const ghost = document.createElement('div');
|
|
23
|
+
ghost.textContent = label;
|
|
24
|
+
Object.assign(ghost.style, {
|
|
25
|
+
position: 'absolute',
|
|
26
|
+
top: '-9999px',
|
|
27
|
+
left: '-9999px',
|
|
28
|
+
padding: '6px 20px',
|
|
29
|
+
background: 'white',
|
|
30
|
+
border: '1px solid #ccc',
|
|
31
|
+
fontSize: '14px',
|
|
32
|
+
pointerEvents: 'none',
|
|
33
|
+
});
|
|
34
|
+
document.body.appendChild(ghost);
|
|
35
|
+
setTimeout(() => document.body.removeChild(ghost), 0);
|
|
36
|
+
return ghost;
|
|
37
|
+
};
|
|
38
|
+
this.handleDragStart = (event, node, index, parentId) => {
|
|
39
|
+
if (!event.dataTransfer)
|
|
40
|
+
return;
|
|
41
|
+
this.draggedNodeParentId = parentId;
|
|
42
|
+
const payload = JSON.stringify({ parentId, index, node });
|
|
43
|
+
event.dataTransfer.setData('text/plain', payload);
|
|
44
|
+
const ghostImg = this.createGhostImage(node.title);
|
|
45
|
+
this.dragGhost.el = ghostImg;
|
|
46
|
+
event.dataTransfer.setDragImage(ghostImg, 0, 0);
|
|
47
|
+
};
|
|
48
|
+
this.handleDragDrop = (event, node, targetIndex, parentId) => {
|
|
49
|
+
var _a;
|
|
50
|
+
event.preventDefault();
|
|
51
|
+
const nodeData = (_a = event.dataTransfer) === null || _a === void 0 ? void 0 : _a.getData('text/plain');
|
|
52
|
+
if (!nodeData)
|
|
53
|
+
return;
|
|
54
|
+
const { parentId: sourceParentId, index: sourceParentIndex, node: sourceNode } = JSON.parse(nodeData);
|
|
55
|
+
if (node.id === sourceNode.id || sourceParentId !== parentId)
|
|
56
|
+
return;
|
|
57
|
+
const updatedTree = [...this.treeData];
|
|
58
|
+
const parent = this.findNodeById(updatedTree, parentId);
|
|
59
|
+
const children = [...parent.child];
|
|
60
|
+
const [moved] = children.splice(sourceParentIndex, 1);
|
|
61
|
+
children.splice(targetIndex, 0, moved);
|
|
62
|
+
parent.child = children;
|
|
63
|
+
this.treeData = updatedTree;
|
|
64
|
+
this.draggedNodeParentId = undefined;
|
|
65
|
+
if (this.dragGhost.el) {
|
|
66
|
+
this.dragGhost.el.remove();
|
|
67
|
+
this.dragGhost.el = null;
|
|
68
|
+
}
|
|
69
|
+
this.moveNode.emit(this.treeData);
|
|
70
|
+
};
|
|
71
|
+
this.handleDragOver = (event, parentId) => {
|
|
72
|
+
event.preventDefault();
|
|
73
|
+
if (!event.dataTransfer)
|
|
74
|
+
return;
|
|
75
|
+
const validDrag = this.draggedNodeParentId === parentId;
|
|
76
|
+
event.dataTransfer.dropEffect = validDrag ? 'move' : 'none';
|
|
77
|
+
};
|
|
16
78
|
this.data = undefined;
|
|
17
79
|
this.treeData = undefined;
|
|
18
80
|
}
|
|
@@ -62,25 +124,23 @@ const TttxTreeView = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
62
124
|
*/
|
|
63
125
|
updateParentCheckStatus(parent = undefined, children = undefined) {
|
|
64
126
|
if (parent === undefined) {
|
|
65
|
-
this.treeData.
|
|
127
|
+
this.treeData.forEach(node => this.updateParentCheckStatus(node, node.child));
|
|
66
128
|
return;
|
|
67
129
|
}
|
|
68
130
|
let childrenCheckedStatuses = [];
|
|
69
131
|
// set status relative to children if we have some
|
|
70
132
|
if (children && children.length > 0) {
|
|
71
|
-
childrenCheckedStatuses = children
|
|
72
|
-
.map((node) => this.updateParentCheckStatus(node, node.child))
|
|
73
|
-
.flat(1);
|
|
133
|
+
childrenCheckedStatuses = children.map(node => this.updateParentCheckStatus(node, node.child)).flat(1);
|
|
74
134
|
// parent checked if any children are checked
|
|
75
|
-
if (childrenCheckedStatuses.some(
|
|
135
|
+
if (childrenCheckedStatuses.some(checked => checked)) {
|
|
76
136
|
parent.checked = true;
|
|
77
137
|
}
|
|
78
138
|
// parent unchecked if all children are unchecked
|
|
79
|
-
if (childrenCheckedStatuses.every(
|
|
139
|
+
if (childrenCheckedStatuses.every(checked => !checked)) {
|
|
80
140
|
parent.checked = false;
|
|
81
141
|
}
|
|
82
142
|
}
|
|
83
|
-
// return the gathered checked statuses so nodes above can make check choices
|
|
143
|
+
// return the gathered checked statuses so nodes above can make check choices
|
|
84
144
|
return [...childrenCheckedStatuses, parent.checked];
|
|
85
145
|
}
|
|
86
146
|
treeConfigs(node) {
|
|
@@ -98,36 +158,50 @@ const TttxTreeView = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
98
158
|
const selectedActive = node.selectable && node.selected ? 'rowSelected' : '';
|
|
99
159
|
return { checkboxColor, checkboxIcon, rowHoverActive, expanderIcon, selectedActive };
|
|
100
160
|
}
|
|
101
|
-
|
|
161
|
+
findNodeById(nodes, id) {
|
|
162
|
+
for (const node of nodes) {
|
|
163
|
+
if (node.id === id)
|
|
164
|
+
return node;
|
|
165
|
+
if (node.child) {
|
|
166
|
+
const found = this.findNodeById(node.child, id);
|
|
167
|
+
if (found)
|
|
168
|
+
return found;
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
return undefined;
|
|
172
|
+
}
|
|
173
|
+
renderNode(node, index, parentId = undefined) {
|
|
174
|
+
var _a, _b;
|
|
102
175
|
const options = this.treeConfigs(node);
|
|
103
176
|
if (node.child) {
|
|
104
|
-
return (h(Fragment, null, h("li", { class: `inline-tree-item element-row tree-node ${options.rowHoverActive} ${options.selectedActive}`, onClick: event => {
|
|
177
|
+
return (h(Fragment, null, h("li", Object.assign({ "data-id": node.id, draggable: (_a = node.draggable) !== null && _a !== void 0 ? _a : false }, (node.draggable ? { onDragOver: event => this.handleDragOver(event, parentId) } : {}), (node.draggable ? { onDrop: event => this.handleDragDrop(event, node, index, parentId) } : {}), { class: `inline-tree-item element-row tree-node ${options.rowHoverActive} ${options.selectedActive}`, onClick: event => {
|
|
105
178
|
if (node.hasHover) {
|
|
106
179
|
this.onClickHandler(event, node);
|
|
107
180
|
}
|
|
108
|
-
} }, h("tttx-
|
|
109
|
-
return this.renderNode(childNode);
|
|
181
|
+
} }), h("tttx-button_1_9_58", { class: "toggleNode", design: "borderless-circle", notext: true, icon: options.expanderIcon, color: "black", onClick: event => this.toggleNode(node, event) }), this.htmlcode('treeNode', node, options.checkboxIcon, options.checkboxColor, index, parentId)), node.isOpen ? (h("li", null, h("ul", null, node.child.map((childNode, index) => {
|
|
182
|
+
return this.renderNode(childNode, index, node.id);
|
|
110
183
|
})))) : null));
|
|
111
184
|
}
|
|
112
185
|
else {
|
|
113
|
-
return (h("li", { class: `inline-tree-item element-row ${options.rowHoverActive} ${options.selectedActive}`, onClick: event => {
|
|
186
|
+
return (h("li", Object.assign({ "data-id": node.id, draggable: (_b = node.draggable) !== null && _b !== void 0 ? _b : false }, (node.draggable ? { onDragOver: event => this.handleDragOver(event, parentId) } : {}), (node.draggable ? { onDrop: event => this.handleDragDrop(event, node, index, parentId) } : {}), { class: `inline-tree-item element-row ${options.rowHoverActive} ${options.selectedActive}`, onClick: event => {
|
|
114
187
|
if (node.hasHover) {
|
|
115
188
|
this.onClickHandler(event, node);
|
|
116
189
|
}
|
|
117
|
-
} }, this.htmlcode('treeLeaf', node, options.checkboxIcon, options.checkboxColor)));
|
|
190
|
+
} }), this.htmlcode('treeLeaf', node, options.checkboxIcon, options.checkboxColor, index, parentId)));
|
|
118
191
|
}
|
|
119
192
|
}
|
|
120
|
-
htmlcode(type, node, check_box, check_boxColor) {
|
|
121
|
-
const htmlcode = (h("div", { class: "inline-tree-item element" }, node.hasCheckbox && (h("tttx-
|
|
193
|
+
htmlcode(type, node, check_box, check_boxColor, index, parentId = undefined) {
|
|
194
|
+
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_58", { 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_58", { icon: node.icon, color: node.iconColor, class: "padding-icon" })), !node.html && h("div", { class: type }, node.title), node.html && h("div", { class: type, innerHTML: purify.sanitize(node.html, domSanitiserOptions) })));
|
|
122
195
|
return htmlcode;
|
|
123
196
|
}
|
|
124
197
|
render() {
|
|
125
198
|
if (!this.data)
|
|
126
199
|
return;
|
|
127
|
-
return (h("div", { class: "tree-view-element" }, h("ul", null, this.treeData.map((node) => this.renderNode(node)))));
|
|
200
|
+
return (h("div", { class: "tree-view-element" }, h("ul", null, this.treeData.map((node, index) => this.renderNode(node, index)))));
|
|
128
201
|
}
|
|
202
|
+
get el() { return this; }
|
|
129
203
|
static get style() { return tttxTreeViewCss; }
|
|
130
|
-
}, [1, "tttx-tree-
|
|
204
|
+
}, [1, "tttx-tree-view_1_9_58", {
|
|
131
205
|
"data": [1040],
|
|
132
206
|
"treeData": [32]
|
|
133
207
|
}]);
|
|
@@ -135,19 +209,19 @@ function defineCustomElement$1() {
|
|
|
135
209
|
if (typeof customElements === "undefined") {
|
|
136
210
|
return;
|
|
137
211
|
}
|
|
138
|
-
const components = ["tttx-tree-
|
|
212
|
+
const components = ["tttx-tree-view_1_9_58", "tttx-button_1_9_58", "tttx-icon_1_9_58"];
|
|
139
213
|
components.forEach(tagName => { switch (tagName) {
|
|
140
|
-
case "tttx-tree-
|
|
214
|
+
case "tttx-tree-view_1_9_58":
|
|
141
215
|
if (!customElements.get(tagName)) {
|
|
142
216
|
customElements.define(tagName, TttxTreeView);
|
|
143
217
|
}
|
|
144
218
|
break;
|
|
145
|
-
case "tttx-
|
|
219
|
+
case "tttx-button_1_9_58":
|
|
146
220
|
if (!customElements.get(tagName)) {
|
|
147
221
|
defineCustomElement$3();
|
|
148
222
|
}
|
|
149
223
|
break;
|
|
150
|
-
case "tttx-
|
|
224
|
+
case "tttx-icon_1_9_58":
|
|
151
225
|
if (!customElements.get(tagName)) {
|
|
152
226
|
defineCustomElement$2();
|
|
153
227
|
}
|
|
@@ -155,7 +229,7 @@ function defineCustomElement$1() {
|
|
|
155
229
|
} });
|
|
156
230
|
}
|
|
157
231
|
|
|
158
|
-
const
|
|
232
|
+
const TttxTreeView_1_9_58 = TttxTreeView;
|
|
159
233
|
const defineCustomElement = defineCustomElement$1;
|
|
160
234
|
|
|
161
|
-
export {
|
|
235
|
+
export { TttxTreeView_1_9_58, defineCustomElement };
|
|
@@ -16,6 +16,10 @@ let checkSlotFallbackVisibility = false;
|
|
|
16
16
|
let checkSlotRelocate = false;
|
|
17
17
|
let isSvgMode = false;
|
|
18
18
|
let queuePending = false;
|
|
19
|
+
const getAssetPath = (path) => {
|
|
20
|
+
const assetUrl = new URL(path, plt.$resourcesUrl$);
|
|
21
|
+
return assetUrl.origin !== win.location.origin ? assetUrl.href : assetUrl.pathname;
|
|
22
|
+
};
|
|
19
23
|
const createTime = (fnName, tagName = '') => {
|
|
20
24
|
{
|
|
21
25
|
return () => {
|
|
@@ -31,6 +35,7 @@ const uniqueTime = (key, measureText) => {
|
|
|
31
35
|
}
|
|
32
36
|
};
|
|
33
37
|
const HYDRATED_CSS = '{visibility:hidden}.hydrated{visibility:inherit}';
|
|
38
|
+
const XLINK_NS = 'http://www.w3.org/1999/xlink';
|
|
34
39
|
/**
|
|
35
40
|
* Default style mode id
|
|
36
41
|
*/
|
|
@@ -486,16 +491,36 @@ const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
|
|
|
486
491
|
}
|
|
487
492
|
catch (e) { }
|
|
488
493
|
}
|
|
494
|
+
/**
|
|
495
|
+
* Need to manually update attribute if:
|
|
496
|
+
* - memberName is not an attribute
|
|
497
|
+
* - if we are rendering the host element in order to reflect attribute
|
|
498
|
+
* - if it's a SVG, since properties might not work in <svg>
|
|
499
|
+
* - if the newValue is null/undefined or 'false'.
|
|
500
|
+
*/
|
|
501
|
+
let xlink = false;
|
|
502
|
+
{
|
|
503
|
+
if (ln !== (ln = ln.replace(/^xlink\:?/, ''))) {
|
|
504
|
+
memberName = ln;
|
|
505
|
+
xlink = true;
|
|
506
|
+
}
|
|
507
|
+
}
|
|
489
508
|
if (newValue == null || newValue === false) {
|
|
490
509
|
if (newValue !== false || elm.getAttribute(memberName) === '') {
|
|
491
|
-
{
|
|
510
|
+
if (xlink) {
|
|
511
|
+
elm.removeAttributeNS(XLINK_NS, memberName);
|
|
512
|
+
}
|
|
513
|
+
else {
|
|
492
514
|
elm.removeAttribute(memberName);
|
|
493
515
|
}
|
|
494
516
|
}
|
|
495
517
|
}
|
|
496
518
|
else if ((!isProp || flags & 4 /* VNODE_FLAGS.isHost */ || isSvg) && !isComplex) {
|
|
497
519
|
newValue = newValue === true ? '' : newValue;
|
|
498
|
-
{
|
|
520
|
+
if (xlink) {
|
|
521
|
+
elm.setAttributeNS(XLINK_NS, memberName, newValue);
|
|
522
|
+
}
|
|
523
|
+
else {
|
|
499
524
|
elm.setAttribute(memberName, newValue);
|
|
500
525
|
}
|
|
501
526
|
}
|
|
@@ -2034,4 +2059,4 @@ const flush = () => {
|
|
|
2034
2059
|
const nextTick = /*@__PURE__*/ (cb) => promiseResolve().then(cb);
|
|
2035
2060
|
const writeTask = /*@__PURE__*/ queueTask(queueDomWrites, true);
|
|
2036
2061
|
|
|
2037
|
-
export { Fragment as F, Host as H, bootstrapLazy as b, createEvent as c, getElement as g, h, promiseResolve as p, registerInstance as r, setNonce as s };
|
|
2062
|
+
export { Fragment as F, Host as H, getAssetPath as a, bootstrapLazy as b, createEvent as c, getElement as g, h, promiseResolve as p, registerInstance as r, setNonce as s };
|
package/dist/esm/loader.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-3d473f8b.js';
|
|
2
|
+
export { s as setNonce } from './index-3d473f8b.js';
|
|
3
3
|
|
|
4
4
|
/*
|
|
5
5
|
Stencil Client Patch Esm v2.22.3 | MIT Licensed | https://stenciljs.com
|
|
@@ -11,7 +11,7 @@ const patchEsm = () => {
|
|
|
11
11
|
const defineCustomElements = (win, options) => {
|
|
12
12
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
13
13
|
return patchEsm().then(() => {
|
|
14
|
-
return bootstrapLazy([["tttx-data-
|
|
14
|
+
return bootstrapLazy([["tttx-data-pattern_1_9_58",[[1,"tttx-data-pattern_1_9_58",{"data":[1],"sorterOptions":[1,"sorter-options"],"filterOptions":[1,"filter-options"],"filterHeader":[1,"filter-header"],"defaultSortOption":[1,"default-sort-option"],"searchplaceholder":[1],"addbuttonlabel":[1],"addbutton":[4]}]]],["tttx-form_1_9_58",[[1,"tttx-form_1_9_58",{"formschema":[1025],"data":[1032],"submit":[64],"showLoadingSpinner":[64],"setSelectedItem":[64],"setSelectOptions":[64],"isValid":[64],"setValidationFor":[64],"clearValidationFor":[64],"disableFormField":[64],"enableFormField":[64],"setInputFieldValue":[64],"setFieldReadOnlyMode":[64]}]]],["tttx-multiselect-box_1_9_58",[[1,"tttx-multiselect-box_1_9_58",{"optionsData":[1,"options-data"],"label":[1],"inline":[4],"placeholder":[1],"searchEnabled":[4,"search-enabled"],"htmlVisibleValue":[4,"html-visible-value"],"visibleValue":[1,"visible-value"],"isLoading":[4,"is-loading"],"stopLocalSearch":[4,"stop-local-search"],"readOnly":[4,"read-only"],"priorityLabel":[1,"priority-label"],"nonPriorityLabel":[1,"non-priority-label"],"open":[32],"unsavedSelectedItems":[32],"searchTerm":[32]},[[0,"closeSelectBox","handleCloseSelectBox"],[0,"blur","handleBlur"]]]]],["tttx-datacard_1_9_58",[[1,"tttx-datacard_1_9_58",{"cardTitle":[1,"card-title"],"leftData":[1,"left-data"],"rightData":[1,"right-data"],"rightSubtext":[1,"right-subtext"],"iconStyle":[1,"icon-style"],"cardType":[1,"card-type"],"chartConfig":[1,"chart-config"],"_chartConfig":[32],"chartRender":[32]}]]],["tttx-dialog-box_1_9_58",[[1,"tttx-dialog-box_1_9_58",{"data":[1025],"size":[1],"open":[1028],"allowOverflow":[4,"allow-overflow"],"elementSize":[32]},[[9,"resize","handleResize"]]]]],["tttx-dialog_1_9_58",[[1,"tttx-dialog_1_9_58",{"header":[1],"type":[1],"size":[1],"open":[4],"allowOverflow":[4,"allow-overflow"],"closeEnabled":[4,"close-enabled"],"elementSize":[32]},[[9,"resize","handleResize"]]]]],["tttx-tree-view_1_9_58",[[1,"tttx-tree-view_1_9_58",{"data":[1040],"treeData":[32]}]]],["tttx-action-dropdown_1_9_58",[[1,"tttx-action-dropdown_1_9_58",{"actionKey":[1,"action-key"],"icon":[1],"fieldOptionsData":[1,"field-options-data"],"defaultOption":[1,"default-option"],"isIconVisible":[4,"is-icon-visible"],"selectedField":[32],"dropdownExpand":[32],"dropdownOptions":[32]},[[0,"closeActionDropdown","handleCloseActionDropdown"]]]]],["tttx-checkbox_1_9_58",[[0,"tttx-checkbox_1_9_58",{"checkboxId":[1,"checkbox-id"],"label":[1],"inline":[4],"indeterminate":[4],"checked":[4]}]]],["tttx-comments_1_9_58",[[1,"tttx-comments_1_9_58",{"currentuser":[1],"comments":[1],"disableFile":[4,"disable-file"],"messageLimit":[2,"message-limit"],"inputBoxHeight":[2,"input-box-height"],"placeholder":[1],"saveButtonText":[1,"save-button-text"],"value":[1],"allowEditing":[4,"allow-editing"],"readonly":[4],"_comments":[32],"showError":[32],"_saveButtonText":[32],"editingComment":[32],"addDummyComment":[64]}]]],["tttx-date-range-picker",[[1,"tttx-date-range-picker",{"initialValue":[16],"placeholderText":[1,"placeholder-text"],"showCalendar":[32],"startDate":[32],"endDate":[32],"currentMonth":[32],"currentYear":[32],"isSelecting":[32],"hoverDate":[32]}]]],["tttx-expander_1_9_58",[[1,"tttx-expander_1_9_58",{"name":[1],"open":[4],"lefticon":[1],"lefticoncolor":[1],"isExpanded":[32]}]]],["tttx-tabs_1_9_58",[[2,"tttx-tabs_1_9_58",{"tabsName":[1,"tabs-name"],"navigation":[4],"wide":[4],"tabs":[1],"_tabs":[32]},[[0,"keydown","handleKeyDown"]]]]],["tttx-checkbox-group-caption_1_9_58",[[4,"tttx-checkbox-group-caption_1_9_58"]]],["tttx-checkbox-group-heading_1_9_58",[[4,"tttx-checkbox-group-heading_1_9_58"]]],["tttx-checkbox-group_1_9_58",[[1,"tttx-checkbox-group_1_9_58"]]],["tttx-keyvalue-block_1_9_58",[[1,"tttx-keyvalue-block_1_9_58",{"keyvalues":[1],"horizontal":[4],"spacedout":[4],"_elements":[32]}]]],["tttx-percentage-bar_1_9_58",[[2,"tttx-percentage-bar_1_9_58",{"percentage":[8],"thresholds":[1],"color":[1],"min":[1],"labelid":[1],"_percentage":[32],"_ranges":[32],"_min":[32]}]]],["tttx-qrcode_1_9_58",[[1,"tttx-qrcode_1_9_58",{"link":[1025],"size":[1026]}]]],["tttx-skeleton_loader_1_9_58",[[1,"tttx-skeleton_loader_1_9_58",{"width":[1],"height":[1],"borderRadius":[1,"border-radius"],"color":[1],"variant":[1],"animation":[1],"count":[2],"direction":[1],"gap":[1],"customClass":[1,"custom-class"]}]]],["tttx-table_1_9_58",[[1,"tttx-table_1_9_58",{"headers":[16],"data":[8],"selectable":[4],"loading":[4],"selected":[2],"draggableHeaders":[4,"draggable-headers"],"draggedHeaderIndex":[32]}]]],["tttx-textarea_1_9_58",[[2,"tttx-textarea_1_9_58",{"label":[1],"secondarylabel":[1],"showerrormsg":[4],"showerrorbubble":[4],"errormsg":[1],"rows":[2],"textareaautofocus":[4],"inputkeyhint":[1],"inputindex":[8],"inputtitle":[1],"disabled":[4],"maxlength":[8],"name":[1],"placeholder":[1],"readonly":[8],"required":[4],"value":[1032]}]]],["tttx-toggle_1_9_58",[[1,"tttx-toggle_1_9_58",{"initialstate":[8],"_state":[32]}]]],["tttx-loading-spinner_1_9_58_3",[[1,"tttx-tag_1_9_58",{"text":[1],"color":[1],"textColor":[1,"text-color"],"hasIcon":[4,"has-icon"],"icon":[1],"iconColor":[1,"icon-color"],"iconSize":[2,"icon-size"]}],[1,"tttx-loading-spinner_1_9_58",{"loadingMessage":[4,"loading-message"],"size":[1],"color":[1],"message":[1],"customMessageSchema":[16],"timeElapsed":[32]}],[2,"tttx-standalone-input_1_9_58",{"label":[1],"secondarylabel":[1],"showerrormsg":[4],"showerrorbubble":[4],"errormsg":[1],"iconleft":[1],"iconleftcolor":[1],"iconright":[1],"iconrightcolor":[1],"inputicon":[1],"inputiconcolor":[1],"inline":[4],"inputautocapitalize":[1],"inputautofocus":[4],"inputkeyhint":[1],"inputindex":[8],"inputtitle":[1],"autocomplete":[1],"checked":[4],"disabled":[4],"max":[8],"maxlength":[8],"min":[8],"minlength":[8],"name":[1],"pattern":[1],"placeholder":[1],"readonly":[8],"required":[4],"step":[8],"type":[1],"value":[1032]}]]],["tttx-select-box_1_9_58",[[1,"tttx-select-box_1_9_58",{"optionsData":[1,"options-data"],"label":[1],"inline":[4],"placeholder":[1],"searchEnabled":[4,"search-enabled"],"selectedValue":[1,"selected-value"],"useExternalFiltering":[4,"use-external-filtering"],"useExternalPaginatedFiltering":[4,"use-external-paginated-filtering"],"isAllExternalDataLoaded":[4,"is-all-external-data-loaded"],"isLoading":[4,"is-loading"],"readOnly":[4,"read-only"],"priorityLabel":[1,"priority-label"],"nonPriorityLabel":[1,"non-priority-label"],"clearable":[4],"showErrorMsg":[4,"show-error-msg"],"showErrorBubble":[4,"show-error-bubble"],"errorMsg":[1,"error-msg"],"open":[32],"selectedItem":[32],"searchTerm":[32],"loadingNextExternalPage":[32],"setSelectedItem":[64]},[[0,"closeSelectBox","handleCloseSelectBox"],[0,"blur","handleBlur"]]]]],["tttx-graph_1_9_58",[[1,"tttx-graph_1_9_58",{"chartType":[1,"chart-type"],"chartData":[1,"chart-data"],"chartText":[1,"chart-text"],"chartConfig":[32],"formattedData":[32]}]]],["tttx-icon_1_9_58",[[1,"tttx-icon_1_9_58",{"icon":[1],"color":[1],"size":[1026]}]]],["tttx-filter_1_9_58_4",[[1,"tttx-filter_1_9_58",{"filterKey":[1,"filter-key"],"filterOptions":[1,"filter-options"],"showSelectAll":[4,"show-select-all"],"showSearchField":[4,"show-search-field"],"showOptionIcons":[4,"show-option-icons"],"filterButtonStyle":[1,"filter-button-style"],"filterHeader":[1,"filter-header"],"defaultFilterOptions":[1,"default-filter-options"],"popoverWidth":[1,"popover-width"],"showPopover":[32],"displayedFilterSettings":[32],"selectedFilters":[32],"filterSearchTerm":[32],"allSelected":[32]},[[0,"closeFilter","handleCloseFilter"]]],[1,"tttx-list_1_9_58",{"data":[1025],"name":[1],"_data":[32]}],[1,"tttx-sorter_1_9_58",{"sorterKey":[1,"sorter-key"],"defaultSortDirection":[1,"default-sort-direction"],"fieldOptionsData":[1,"field-options-data"],"defaultOption":[1,"default-option"],"selectedField":[32],"sortDirection":[32],"dropdownExpand":[32],"dropdownOptions":[32]},[[0,"closeSorter","handleCloseSorter"]]],[1,"tttx-toolbar_1_9_58",{"border":[4],"viewSize":[32]},[[9,"resize","handleResize"]]]]],["tttx-button_1_9_58",[[1,"tttx-button_1_9_58",{"notext":[4],"icon":[1],"iconposition":[1],"iconcolor":[1025],"design":[1]}]]]], options);
|
|
15
15
|
});
|
|
16
16
|
};
|
|
17
17
|
|
package/dist/esm/{tttx-action-dropdown_1_9_56.entry.js → tttx-action-dropdown_1_9_58.entry.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-3d473f8b.js';
|
|
2
2
|
|
|
3
3
|
const tttxActionDropdownCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.action-dropdown-container{display:flex;flex-direction:column;position:relative;border:1px solid #d5d5d5;border-radius:4px;font-weight:400;box-sizing:border-box;cursor:pointer;width:220px}@media (max-width: 475px){.action-dropdown-container{width:120px}}.action-dropdown-container .action-button{display:flex;justify-content:space-between;align-items:center;background-color:white;border:none;border-radius:4px;height:36px;padding:0 8px 0 12px;width:100%}@media (max-width: 475px){.action-dropdown-container .action-button{padding:0 6px 0 8px}}.action-dropdown-container .action-button .button-content{display:flex;align-items:center;gap:8px}.action-dropdown-container .action-button .button-content .action-text{font-size:16px;color:#212121;font-weight:500}.action-dropdown-container .action-button .dropdown-arrow{display:flex;align-items:center;margin-left:auto}.action-dropdown-container .action-button .dropdown-arrow .hydrated{display:flex;align-items:center}.action-dropdown-container .action-button .hydrated{display:flex;justify-content:center;align-items:center;cursor:pointer}.action-dropdown-container .action-button .material-symbols-rounded{color:#212121}.action-dropdown-container .action-button:hover{background-color:#f0f0f0}.action-dropdown-container .action-button:active{background-color:#e3e3e3}.action-dropdown-container .dropdown-options-list{position:absolute;top:36px;left:0;z-index:1;width:220px;line-height:21px;font-size:16px;border-radius:4px;padding-top:8px;padding-bottom:7px;box-shadow:0px 1px 5px #1111114D;box-sizing:border-box;background-color:white;border:1px solid #d5d5d5}@media (max-width: 475px){.action-dropdown-container .dropdown-options-list{width:220px;padding-top:8px}}.action-dropdown-container .dropdown-options-list .dropdown-option{padding:8px 16px;font-size:16px;line-height:21px;cursor:pointer}.action-dropdown-container .dropdown-options-list .dropdown-option:hover,.action-dropdown-container .dropdown-options-list .dropdown-option:focus{background-color:#ebfbfc}.action-dropdown-container.--expanded{border-color:#1579c6}@media (max-width: 475px){.action-dropdown-container.--expanded{border-color:#1579c6}}";
|
|
4
4
|
|
|
@@ -46,7 +46,7 @@ const TttxActionDropdown = class {
|
|
|
46
46
|
return;
|
|
47
47
|
const actionKey = `action-dropdown__${this.actionKey}`;
|
|
48
48
|
const chevronIcon = this.dropdownExpand ? 'keyboard_arrow_up' : 'keyboard_arrow_down';
|
|
49
|
-
return (h(Host, { id: actionKey }, h("div", { tabindex: 0, class: `action-dropdown-container ${this.dropdownExpand ? '--expanded' : ''}` }, h("button", { class: "action-button", type: "button", onClick: this.onActionClick.bind(this) }, h("div", { class: "button-content" }, this.isIconVisible && (h("tttx-
|
|
49
|
+
return (h(Host, { id: actionKey }, h("div", { tabindex: 0, class: `action-dropdown-container ${this.dropdownExpand ? '--expanded' : ''}` }, h("button", { class: "action-button", type: "button", onClick: this.onActionClick.bind(this) }, h("div", { class: "button-content" }, this.isIconVisible && (h("tttx-icon_1_9_58", { icon: this.icon, color: "black" })), h("span", { class: "action-text" }, this.selectedField)), h("div", { class: "dropdown-arrow" }, h("tttx-icon_1_9_58", { icon: chevronIcon, color: "black" }))), this.dropdownExpand && (h("div", { class: "dropdown-options-list" }, parsedFieldOptionsData.actionOptions.map(option => {
|
|
50
50
|
return (h("div", { class: "dropdown-option", tabIndex: -1, onClick: this.onDropdownSelected.bind(this), key: option.optionLabel }, option.optionLabel));
|
|
51
51
|
}))))));
|
|
52
52
|
}
|
|
@@ -54,4 +54,4 @@ const TttxActionDropdown = class {
|
|
|
54
54
|
};
|
|
55
55
|
TttxActionDropdown.style = tttxActionDropdownCss;
|
|
56
56
|
|
|
57
|
-
export { TttxActionDropdown as
|
|
57
|
+
export { TttxActionDropdown as tttx_action_dropdown_1_9_58 };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-3d473f8b.js';
|
|
2
2
|
|
|
3
3
|
const tttxButtonCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}button{cursor:pointer}.button{font-family:Roboto, serif;box-sizing:border-box;height:36px;min-width:36px;padding:0;margin:0;background:transparent;color:#212121;border:1px solid #c8c8c8;border-radius:4px;text-transform:uppercase;display:flex;justify-content:left;align-items:center;font-size:14px;font-weight:500}.button-content{display:block;padding:0 16px}.icon-left,.icon-right{margin-top:4px}.iconleft{padding-left:8px}.iconleft .button-content{padding-left:4px}.iconright{padding-right:8px}.iconright .button-content{padding-right:4px}.notext{padding:0 6px}.button:active{background:rgba(17, 17, 17, 0.2);border:1px solid #d5d5d5}.blackout{background:#363636;border:1px solid #363636;color:white}.blackout:active{background:#212121;border:1px solid #212121}.primary{background:#1479c6;border:1px solid #1479c6;color:white}.primary:active{background:#1464a2;border:1px solid #1464a2}.borderless{background:transparent;border:none;color:#212121}.borderless:active{background:rgba(17, 17, 17, 0.2);border:none}.borderless-circle{background:transparent;border:none;color:#212121;border-radius:50%}.borderless-circle:active{border:none}.borderless-circle:focus{border-color:transparent}.danger{background:#dc0000;border:1px solid #dc0000;color:white}.danger:active{background:#b00000;border:1px solid #b00000}.disabled{background:#aeaeae;border:none;color:#4c4c4c;cursor:not-allowed}.disabled:active{background:#aeaeae;border:none;color:#4c4c4c;cursor:not-allowed}@media (hover: hover){.button:hover{background:rgba(17, 17, 17, 0.1);border:1px solid #d5d5d5}.primary:hover{background:#146eb3;border:1px solid #146eb3}.borderless:hover{background:rgba(17, 17, 17, 0.1);border:none}.borderless-circle:hover{background:rgba(17, 17, 17, 0.1);border:none}.danger:hover{background:#c60000;border:1px solid #c60000}.disabled:hover{background:#aeaeae;border:none;color:#4c4c4c;cursor:not-allowed}.blackout:hover{background:#212121;border:1px solid #212121}}:host{display:inline-block}tttx-icon{cursor:inherit}.spacingleft{margin-left:8px}";
|
|
4
4
|
|
|
@@ -24,9 +24,9 @@ const TttxButton = class {
|
|
|
24
24
|
}
|
|
25
25
|
render() {
|
|
26
26
|
this._iconcolor = this.iconcolor;
|
|
27
|
-
return (h(Host, null, h("button", { class: `button ${this._design} ${this.icon ? 'withicon' : ''} ${this.icon && this.iconposition ? 'icon' + this.iconposition : ''} ${this.notext ? 'notext' : ''}` }, this.icon && this.iconposition === 'left' && (h("div", { class: "icon-left" }, h("tttx-
|
|
27
|
+
return (h(Host, null, h("button", { class: `button ${this._design} ${this.icon ? 'withicon' : ''} ${this.icon && this.iconposition ? 'icon' + this.iconposition : ''} ${this.notext ? 'notext' : ''}` }, this.icon && this.iconposition === 'left' && (h("div", { class: "icon-left" }, h("tttx-icon_1_9_58", { icon: this.icon, color: this._iconcolor }))), !this.notext && (h("div", { class: "button-content" }, h("slot", null))), this.icon && this.iconposition === 'right' && (h("div", { class: "icon-right" }, h("tttx-icon_1_9_58", { icon: this.icon, color: this._iconcolor }))))));
|
|
28
28
|
}
|
|
29
29
|
};
|
|
30
30
|
TttxButton.style = tttxButtonCss;
|
|
31
31
|
|
|
32
|
-
export { TttxButton as
|
|
32
|
+
export { TttxButton as tttx_button_1_9_58 };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-3d473f8b.js';
|
|
2
2
|
|
|
3
3
|
const tttxCheckboxGroupCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.tttx-checkbox-group{display:flex;flex-direction:column}.tttx-checkbox-group__caption{color:#757575;font-family:\"Roboto\", sans-serif;font-size:14px;font-weight:normal;line-height:18.752px;margin-bottom:4px}.tttx-checkbox-group__heading{color:#212121;font-family:\"Roboto\", sans-serif;font-size:16px;font-weight:500;line-height:16.408px;margin-bottom:4px}";
|
|
4
4
|
|
|
@@ -12,4 +12,4 @@ const TttxCheckboxGroupCaption = class {
|
|
|
12
12
|
};
|
|
13
13
|
TttxCheckboxGroupCaption.style = tttxCheckboxGroupCss;
|
|
14
14
|
|
|
15
|
-
export { TttxCheckboxGroupCaption as
|
|
15
|
+
export { TttxCheckboxGroupCaption as tttx_checkbox_group_caption_1_9_58 };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-3d473f8b.js';
|
|
2
2
|
|
|
3
3
|
const tttxCheckboxGroupCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.tttx-checkbox-group{display:flex;flex-direction:column}.tttx-checkbox-group__caption{color:#757575;font-family:\"Roboto\", sans-serif;font-size:14px;font-weight:normal;line-height:18.752px;margin-bottom:4px}.tttx-checkbox-group__heading{color:#212121;font-family:\"Roboto\", sans-serif;font-size:16px;font-weight:500;line-height:16.408px;margin-bottom:4px}";
|
|
4
4
|
|
|
@@ -12,4 +12,4 @@ const TttxCheckboxGroupHeading = class {
|
|
|
12
12
|
};
|
|
13
13
|
TttxCheckboxGroupHeading.style = tttxCheckboxGroupCss;
|
|
14
14
|
|
|
15
|
-
export { TttxCheckboxGroupHeading as
|
|
15
|
+
export { TttxCheckboxGroupHeading as tttx_checkbox_group_heading_1_9_58 };
|
package/dist/esm/{tttx-checkbox-group_1_9_56.entry.js → tttx-checkbox-group_1_9_58.entry.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-3d473f8b.js';
|
|
2
2
|
|
|
3
3
|
const tttxCheckboxGroupCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.tttx-checkbox-group{display:flex;flex-direction:column}.tttx-checkbox-group__caption{color:#757575;font-family:\"Roboto\", sans-serif;font-size:14px;font-weight:normal;line-height:18.752px;margin-bottom:4px}.tttx-checkbox-group__heading{color:#212121;font-family:\"Roboto\", sans-serif;font-size:16px;font-weight:500;line-height:16.408px;margin-bottom:4px}";
|
|
4
4
|
|
|
@@ -12,4 +12,4 @@ const TttxCheckboxGroup = class {
|
|
|
12
12
|
};
|
|
13
13
|
TttxCheckboxGroup.style = tttxCheckboxGroupCss;
|
|
14
14
|
|
|
15
|
-
export { TttxCheckboxGroup as
|
|
15
|
+
export { TttxCheckboxGroup as tttx_checkbox_group_1_9_58 };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host } from './index-3d473f8b.js';
|
|
2
2
|
|
|
3
3
|
const tttxCheckboxCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.tttx-checkbox{padding:8px;display:flex;justify-content:flex-start;font-size:16px;align-items:center;font-weight:normal;line-height:18.752px}.tttx-checkbox tttx-icon{height:24px}.tttx-checkbox.--inline{display:inline-flex}.tttx-checkbox__input{display:none}.tttx-checkbox__label{margin-left:8px;padding-right:0;color:#212121;font-weight:normal}";
|
|
4
4
|
|
|
@@ -28,7 +28,7 @@ const TttxCheckbox = class {
|
|
|
28
28
|
render() {
|
|
29
29
|
const checkBoxIcon = this.checked ? 'check_box' : 'check_box_outline_blank';
|
|
30
30
|
const renderedIcon = this.indeterminate ? 'indeterminate_check_box' : checkBoxIcon;
|
|
31
|
-
return (h(Host, null, h("label", { class: `tttx-checkbox ${this.inline ? '--inline' : ''}` }, h("input", { class: "tttx-checkbox__input", type: "checkbox", id: this.checkboxId, checked: this.checked, ref: (el) => this.checkbox = el }), h("tttx-
|
|
31
|
+
return (h(Host, null, h("label", { class: `tttx-checkbox ${this.inline ? '--inline' : ''}` }, h("input", { class: "tttx-checkbox__input", type: "checkbox", id: this.checkboxId, checked: this.checked, ref: (el) => this.checkbox = el }), h("tttx-icon_1_9_58", { color: this.checked ? 'blue' : 'grey', icon: renderedIcon, onClick: this.onClick.bind(this) }), h("span", { class: "tttx-checkbox__label" }, this.label))));
|
|
32
32
|
}
|
|
33
33
|
static get watchers() { return {
|
|
34
34
|
"indeterminate": ["watchIndeterminateChange"]
|
|
@@ -36,4 +36,4 @@ const TttxCheckbox = class {
|
|
|
36
36
|
};
|
|
37
37
|
TttxCheckbox.style = tttxCheckboxCss;
|
|
38
38
|
|
|
39
|
-
export { TttxCheckbox as
|
|
39
|
+
export { TttxCheckbox as tttx_checkbox_1_9_58 };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, F as Fragment, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, F as Fragment, H as Host } from './index-3d473f8b.js';
|
|
2
2
|
|
|
3
3
|
const tttxCommentsCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}label{font-weight:500;font-size:16px;line-height:18.752px;color:#212121}label .optional{color:#757575;font-weight:normal}label .outer-container{position:relative}label .outer-container .left-icons,label .outer-container .right-icons{display:flex;position:absolute;height:24px;gap:8px}label .outer-container .left-icons tttx-icon,label .outer-container .right-icons tttx-icon{height:24px;width:24px}label .outer-container .left-icons{left:8px}label .outer-container .right-icons{right:8px}label .outer-container input,label .outer-container textarea{color:#212121;box-sizing:border-box;border:1px solid #d5d5d5;border-radius:4px;margin-top:4px;padding:0;padding-left:16px;padding-right:16px;}label .outer-container input.has-input-icon,label .outer-container textarea.has-input-icon{padding-left:40px}label .outer-container input.has-input-icon.has-left-icon,label .outer-container textarea.has-input-icon.has-left-icon{padding-left:72px}label .outer-container input.has-left-icon,label .outer-container textarea.has-left-icon{padding-left:40px}label .outer-container input.has-right-icon,label .outer-container textarea.has-right-icon{padding-right:40px}label .outer-container input.invalid,label .outer-container textarea.invalid{border:1px solid #dc0000}label .outer-container input:not([type=submit]),label .outer-container textarea:not([type=submit]){font-family:\"Roboto\", serif;width:100%;height:36px;font-size:16px;line-height:18.752px}label .outer-container input[type=radio],label .outer-container textarea[type=radio]{width:20px;height:20px}label .outer-container input[type=date],label .outer-container textarea[type=date]{background:white;display:block;min-width:calc(100% - 18px);line-height:37px}label .outer-container input[readonly],label .outer-container textarea[readonly]{cursor:default;pointer-events:none;user-select:none;color:gray}label .outer-container input:focus,label .outer-container textarea:focus{border-color:#1479c6}label .outer-container input:focus-visible,label .outer-container textarea:focus-visible{outline:none}label .outer-container textarea{padding:8px;height:auto;min-height:100px;resize:vertical}label .outer-container textarea.resize-none{resize:none}label .outer-container.inputBlock{display:flex;align-items:center;line-height:21px}label .outer-container.inputBlock .left-icons,label .outer-container.inputBlock .right-icons{margin-top:4px}label .outer-container.inputBlock.readonly{pointer-events:none;user-select:none;color:gray}label .outer-container.inputBlock.radioBlock{display:block}label .outer-container.inputInline{display:flex;white-space:nowrap;align-items:center;margin:0}label .outer-container.inputInline input{margin-top:0}label .secondarylabel{color:#757575;font-size:14px;line-height:16.408px;font-weight:normal;display:flex;margin-top:4px}label .errorBubble{position:relative;font-size:14px;line-height:16.408px;font-weight:normal;width:100%;font-family:\"Roboto\", sans-serif;color:#dc0000;display:flex;align-content:center;align-items:center;justify-items:center;margin-top:4px}label .errorBubble:not(.visible){display:none}label .errorBubble span{color:#dc0000;font-size:16px;margin-right:4px}*{font-family:\"Roboto\", sans-serif}#comment-container{display:flex;height:100%;flex-direction:column}#comment-bubbles-section{display:flex;height:100%;flex-direction:column;justify-content:end;margin-bottom:8px;padding-bottom:8px;overflow:hidden}#input-section,#input-section form{display:flex;flex-direction:column;padding:0px 1px}#scroll-container{display:flex;overflow-y:auto;max-height:100%;width:100%;align-items:end;flex-direction:column}.commentBubble{display:flex;flex-direction:column;margin-bottom:8px;width:100%}.commentBubble>.bubbleText{background:#f0f0f0;border-radius:4px;padding:8px 12px;margin-bottom:4px;margin-top:10px;font-size:11pt;white-space:wrap}.commentBubble>span{color:#757575;font-size:10pt;margin:2px 16px}.commentBubble.right>span{text-align:right}.commentBubble.left>span{text-align:left}input{border:1px solid #dddddd;border-radius:4px;padding:8px 16px;font-size:11pt}input[type=text]{flex-grow:1}input[type=submit]{text-transform:uppercase;background:white;font-size:10pt;margin-top:8px;width:132px;display:flex;align-self:end}input[type=submit]:hover,input[type=submit]:active{background:#dddddd}button#attach-file{text-transform:uppercase;background:white;font-size:10pt;margin-top:8px;align-self:end;border:1px solid #dddddd;border-radius:4px;width:34px;height:34px;display:flex;flex-direction:column;justify-content:center;margin-right:8px}button#attach-file:hover,button#attach-file:active{background:#dddddd}button#attach-file *{margin-top:3px}fieldset{border:none;padding:0;margin:0;display:flex;flex-direction:row;justify-content:end}button.linkButton{border:none;background:transparent;color:#3680bd;cursor:pointer;padding:0}.commentBubble .bubbleHeader{display:flex;justify-content:space-between;align-items:center;margin-bottom:4px}.commentName{color:black;font-size:10pt}.commentContext{color:gray;font-size:10pt}.commentBubble .bubbleFooter{display:flex;padding:0 10px;font-size:9pt;color:#757575}.comment-date{margin-left:auto}.editing-sub-text{margin-top:5px;font-size:9pt;color:#757575}.flex-right-align{margin-left:auto}.cancel-edit-container{position:relative;width:100%;display:flex;justify-content:end}.cancel-edit-button{color:whitesmoke;background-color:#aaaaaa;border-radius:10px;height:20px;width:20px;text-align:center;position:absolute;margin-top:11px;margin-right:18px}.clickable,.clickable>*{cursor:pointer}.deleted-comment{background:white !important;color:gray;border:1px solid lightgray}.commentDivider{border:none;border-top:1px solid #ccc;margin:10px 0}.errorBubble{position:relative;font-size:14px;line-height:16.408px;font-weight:normal;width:100%;font-family:\"Roboto\", sans-serif;color:#dc0000;display:flex;align-content:center;align-items:center;justify-items:center;margin-top:4px}.errorBubble:not(.visible){display:none}.errorBubble span{color:#dc0000;font-size:16px;margin-right:4px}.material-symbols-rounded{font-family:\"Material Symbols Rounded\", sans-serif;font-weight:400;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;color:#9e9e9e}.comment-textarea{resize:vertical;height:var(--textarea-max-height, 90px);width:100%;padding:10px 35px 10px 12px;box-sizing:border-box;border:1px solid #ccc;border-radius:6px;font-size:14px;line-height:1.4;font-family:\"Roboto\", sans-serif}.no-comments{display:flex;flex-direction:row;align-items:center;justify-content:start;color:#757575;font-size:14px;gap:4px;font-family:\"Roboto\", sans-serif;margin-top:20px}.mt-s{margin-top:4px}";
|
|
4
4
|
|
|
@@ -162,7 +162,7 @@ const TttxComments = class {
|
|
|
162
162
|
this.requestCommentRemoval.emit(comment);
|
|
163
163
|
}
|
|
164
164
|
render() {
|
|
165
|
-
return (h(Host, null, h("article", { id: "comment-container" }, (!Array.isArray(this._comments) || this._comments.length === 0) && (h("div", { class: "no-comments" }, h("tttx-
|
|
165
|
+
return (h(Host, null, h("article", { id: "comment-container" }, (!Array.isArray(this._comments) || this._comments.length === 0) && (h("div", { class: "no-comments" }, h("tttx-icon_1_9_58", { class: 'mt-s', icon: "chat_bubble_outline", color: "grey" }), h("span", null, "No comments have been added"))), h("section", { id: "comment-bubbles-section" }, h("div", { id: "scroll-container", ref: el => this._scrollContainer = el }, this.renderCommentBubble())), h("section", { id: "input-section" }, !this.readonly && h("form", { onSubmit: this.onFormSubmit.bind(this) }, this.editingComment && (h("div", { class: "cancel-edit-container" }, h("span", { class: "cancel-edit-button clickable", onClick: this.onFinishEdit.bind(this) }, "x"))), h("fieldset", null, h("textarea", { ref: el => this.textInput = el, name: "commentText", required: true, maxlength: `${this.messageLimit}`, placeholder: this.placeholder, onInput: (e) => this.onCommentFieldChange(e), style: { '--textarea-max-height': `${this.inputBoxHeight}px` }, class: "comment-textarea", value: this.value, onBlur: this.handleBlur.bind(this) })), this.showError && (h("span", { class: 'errorBubble visible' }, h("span", { class: "material-symbols-rounded" }, "warning"), " ", `${this.messageLimit} character limit is reached.`)), h("fieldset", null, this.editingComment && (h("span", { class: 'editing-sub-text' }, "Editing comment")), !this.disableFile && (h("button", { id: "attach-file", class: "flex-right-align clickable", type: "button", value: "File", onClick: this.onFileUploadRequest.bind(this) }, h("tttx-icon_1_9_58", { color: "black", icon: "attach_file" }))), h("input", { class: (this.disableFile ? 'flex-right-align ' : '') + 'clickable', style: { width: 'fit-content' }, type: "submit", value: this._saveButtonText })))))));
|
|
166
166
|
}
|
|
167
167
|
static get watchers() { return {
|
|
168
168
|
"comments": ["onCommentsChange"]
|
|
@@ -182,4 +182,4 @@ const timestampOptions = {
|
|
|
182
182
|
};
|
|
183
183
|
TttxComments.style = tttxCommentsCss;
|
|
184
184
|
|
|
185
|
-
export { TttxComments as
|
|
185
|
+
export { TttxComments as tttx_comments_1_9_58 };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-3d473f8b.js';
|
|
2
2
|
|
|
3
3
|
const tttxDataPatternCss = ":host{display:block}";
|
|
4
4
|
|
|
@@ -15,12 +15,12 @@ const TttxDataPattern = class {
|
|
|
15
15
|
this.addbutton = false;
|
|
16
16
|
}
|
|
17
17
|
render() {
|
|
18
|
-
return (h(Host, null, h("div", { class: "container" }, h("tttx-
|
|
19
|
-
h("tttx-
|
|
20
|
-
h("tttx-
|
|
21
|
-
h("tttx-
|
|
18
|
+
return (h(Host, null, h("div", { class: "container" }, h("tttx-toolbar_1_9_58", { border: true }, h("span", { slot: "before" }, this.sorterOptions &&
|
|
19
|
+
h("tttx-sorter_1_9_58", { sorterKey: "data-pattern-list", fieldOptionsData: this.sorterOptions, defaultOption: this.defaultSortOption }), this.filterOptions &&
|
|
20
|
+
h("tttx-filter_1_9_58", { "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_58", { class: "qualifications-filter", showerrorbubble: false, inputicon: "search", inline: true, required: true, placeholder: this.searchplaceholder, type: "text", maxlength: 30 }))), h("tttx-toolbar_1_9_58", { border: false }, h("span", { slot: "before" }, this.addbutton &&
|
|
21
|
+
h("tttx-button_1_9_58", { design: "primary", icon: "add" }, this.addbuttonlabel))), h("tttx-list_1_9_58", { data: this.data }))));
|
|
22
22
|
}
|
|
23
23
|
};
|
|
24
24
|
TttxDataPattern.style = tttxDataPatternCss;
|
|
25
25
|
|
|
26
|
-
export { TttxDataPattern as
|
|
26
|
+
export { TttxDataPattern as tttx_data_pattern_1_9_58 };
|