@3t-transform/threeteeui 1.9.55 → 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_55.cjs.entry.js → tttx-action-dropdown_1_9_57.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-button_1_9_55.cjs.entry.js → tttx-button_1_9_57.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-checkbox-group-caption_1_9_55.cjs.entry.js → tttx-checkbox-group-caption_1_9_57.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-checkbox-group-heading_1_9_55.cjs.entry.js → tttx-checkbox-group-heading_1_9_57.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-checkbox-group_1_9_55.cjs.entry.js → tttx-checkbox-group_1_9_57.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-checkbox_1_9_55.cjs.entry.js → tttx-checkbox_1_9_57.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-comments_1_9_55.cjs.entry.js → tttx-comments_1_9_57.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-data-pattern_1_9_55.cjs.entry.js → tttx-data-pattern_1_9_57.cjs.entry.js} +6 -6
- package/dist/cjs/{tttx-datacard_1_9_55.cjs.entry.js → tttx-datacard_1_9_57.cjs.entry.js} +5 -5
- package/dist/cjs/tttx-date-range-picker.cjs.entry.js +8 -4
- package/dist/cjs/{tttx-dialog-box_1_9_55.cjs.entry.js → tttx-dialog-box_1_9_57.cjs.entry.js} +4 -4
- package/dist/cjs/{tttx-dialog_1_9_55.cjs.entry.js → tttx-dialog_1_9_57.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-expander_1_9_55.cjs.entry.js → tttx-expander_1_9_57.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-filter_1_9_55_4.cjs.entry.js → tttx-filter_1_9_57_4.cjs.entry.js} +10 -10
- package/dist/cjs/{tttx-form_1_9_55.cjs.entry.js → tttx-form_1_9_57.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-graph_1_9_55.cjs.entry.js → tttx-graph_1_9_57.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-icon_1_9_55.cjs.entry.js → tttx-icon_1_9_57.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-keyvalue-block_1_9_55.cjs.entry.js → tttx-keyvalue-block_1_9_57.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-loading-spinner_1_9_55_3.cjs.entry.js → tttx-loading-spinner_1_9_57_3.cjs.entry.js} +7 -7
- package/dist/cjs/{tttx-multiselect-box_1_9_55.cjs.entry.js → tttx-multiselect-box_1_9_57.cjs.entry.js} +8 -8
- package/dist/cjs/{tttx-percentage-bar_1_9_55.cjs.entry.js → tttx-percentage-bar_1_9_57.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-qrcode_1_9_55.cjs.entry.js → tttx-qrcode_1_9_57.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-select-box_1_9_55.cjs.entry.js → tttx-select-box_1_9_57.cjs.entry.js} +7 -7
- package/dist/cjs/{tttx-skeleton_loader_1_9_55.cjs.entry.js → tttx-skeleton_loader_1_9_57.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-table_1_9_55.cjs.entry.js → tttx-table_1_9_57.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-tabs_1_9_55.cjs.entry.js → tttx-tabs_1_9_57.cjs.entry.js} +5 -5
- package/dist/cjs/{tttx-textarea_1_9_55.cjs.entry.js → tttx-textarea_1_9_57.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-toggle_1_9_55.cjs.entry.js → tttx-toggle_1_9_57.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-tree-view_1_9_55.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 +7 -3
- 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_55.js → tttx-action-dropdown_1_9_57.js} +7 -7
- package/dist/components/tttx-button.js +5 -5
- package/dist/components/{tttx-action-dropdown_1_9_55.d.ts → tttx-button_1_9_57.d.ts} +4 -4
- package/dist/components/{tttx-button_1_9_55.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_55.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_55.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_55.js → tttx-checkbox-group_1_9_57.js} +5 -5
- package/dist/components/{tttx-comments_1_9_55.d.ts → tttx-checkbox_1_9_57.d.ts} +4 -4
- package/dist/components/{tttx-checkbox_1_9_55.js → tttx-checkbox_1_9_57.js} +7 -7
- package/dist/components/{tttx-datacard_1_9_55.d.ts → tttx-comments_1_9_57.d.ts} +4 -4
- package/dist/components/{tttx-comments_1_9_55.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_55.js → tttx-data-pattern_1_9_57.js} +16 -16
- package/dist/components/{tttx-checkbox_1_9_55.d.ts → tttx-datacard_1_9_57.d.ts} +4 -4
- package/dist/components/{tttx-datacard_1_9_55.js → tttx-datacard_1_9_57.js} +10 -10
- package/dist/components/tttx-date-range-picker.js +9 -5
- package/dist/components/tttx-dialog-box_1_9_57.d.ts +11 -0
- package/dist/components/{tttx-dialog-box_1_9_55.js → tttx-dialog-box_1_9_57.js} +9 -9
- package/dist/components/{tttx-dialog_1_9_55.d.ts → tttx-dialog_1_9_57.d.ts} +4 -4
- package/dist/components/{tttx-dialog_1_9_55.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_55.js → tttx-expander_1_9_57.js} +7 -7
- package/dist/components/tttx-filter.js +6 -6
- package/dist/components/{tttx-button_1_9_55.d.ts → tttx-filter_1_9_57.d.ts} +4 -4
- package/dist/components/{tttx-filter_1_9_55.js → tttx-filter_1_9_57.js} +2 -2
- package/dist/components/{tttx-tabs_1_9_55.d.ts → tttx-form_1_9_57.d.ts} +4 -4
- package/dist/components/{tttx-form_1_9_55.js → tttx-form_1_9_57.js} +11 -11
- package/dist/components/tttx-graph.js +3 -3
- package/dist/components/{tttx-graph_1_9_55.d.ts → tttx-graph_1_9_57.d.ts} +4 -4
- package/dist/components/{tttx-graph_1_9_55.js → tttx-graph_1_9_57.js} +2 -2
- package/dist/components/tttx-icon.js +3 -3
- package/dist/components/{tttx-icon_1_9_55.d.ts → tttx-icon_1_9_57.d.ts} +4 -4
- package/dist/components/{tttx-icon_1_9_55.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_55.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_55.d.ts → tttx-list_1_9_57.d.ts} +4 -4
- package/dist/components/{tttx-list_1_9_55.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_55.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_55.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_55.js → tttx-percentage-bar_1_9_57.js} +6 -6
- package/dist/components/{tttx-filter_1_9_55.d.ts → tttx-qrcode_1_9_57.d.ts} +4 -4
- package/dist/components/{tttx-qrcode_1_9_55.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_55.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_55.js → tttx-skeleton_loader_1_9_57.js} +5 -5
- package/dist/components/tttx-sorter.js +5 -5
- package/dist/components/{tttx-qrcode_1_9_55.d.ts → tttx-sorter_1_9_57.d.ts} +4 -4
- package/dist/components/{tttx-sorter_1_9_55.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_55.js → tttx-standalone-input_1_9_57.js} +2 -2
- package/dist/components/{tttx-table_1_9_55.d.ts → tttx-table_1_9_57.d.ts} +4 -4
- package/dist/components/{tttx-table_1_9_55.js → tttx-table_1_9_57.js} +5 -5
- package/dist/components/{tttx-form_1_9_55.d.ts → tttx-tabs_1_9_57.d.ts} +4 -4
- package/dist/components/{tttx-tabs_1_9_55.js → tttx-tabs_1_9_57.js} +9 -9
- package/dist/components/tttx-tag.js +5 -5
- package/dist/components/{tttx-tag_1_9_55.d.ts → tttx-tag_1_9_57.d.ts} +4 -4
- package/dist/components/{tttx-tag_1_9_55.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_55.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_55.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_55.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_55.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_55.entry.js → tttx-action-dropdown_1_9_57.entry.js} +3 -3
- package/dist/esm/{tttx-button_1_9_55.entry.js → tttx-button_1_9_57.entry.js} +3 -3
- package/dist/esm/{tttx-checkbox-group-caption_1_9_55.entry.js → tttx-checkbox-group-caption_1_9_57.entry.js} +2 -2
- package/dist/esm/{tttx-checkbox-group-heading_1_9_55.entry.js → tttx-checkbox-group-heading_1_9_57.entry.js} +2 -2
- package/dist/esm/{tttx-checkbox-group_1_9_55.entry.js → tttx-checkbox-group_1_9_57.entry.js} +2 -2
- package/dist/esm/{tttx-checkbox_1_9_55.entry.js → tttx-checkbox_1_9_57.entry.js} +3 -3
- package/dist/esm/{tttx-comments_1_9_55.entry.js → tttx-comments_1_9_57.entry.js} +3 -3
- package/dist/esm/{tttx-data-pattern_1_9_55.entry.js → tttx-data-pattern_1_9_57.entry.js} +6 -6
- package/dist/esm/{tttx-datacard_1_9_55.entry.js → tttx-datacard_1_9_57.entry.js} +5 -5
- package/dist/esm/tttx-date-range-picker.entry.js +8 -4
- package/dist/esm/{tttx-dialog-box_1_9_55.entry.js → tttx-dialog-box_1_9_57.entry.js} +4 -4
- package/dist/esm/{tttx-dialog_1_9_55.entry.js → tttx-dialog_1_9_57.entry.js} +3 -3
- package/dist/esm/{tttx-expander_1_9_55.entry.js → tttx-expander_1_9_57.entry.js} +3 -3
- package/dist/esm/{tttx-filter_1_9_55_4.entry.js → tttx-filter_1_9_57_4.entry.js} +7 -7
- package/dist/esm/{tttx-form_1_9_55.entry.js → tttx-form_1_9_57.entry.js} +3 -3
- package/dist/esm/{tttx-graph_1_9_55.entry.js → tttx-graph_1_9_57.entry.js} +2 -2
- package/dist/esm/{tttx-icon_1_9_55.entry.js → tttx-icon_1_9_57.entry.js} +2 -2
- package/dist/esm/{tttx-keyvalue-block_1_9_55.entry.js → tttx-keyvalue-block_1_9_57.entry.js} +2 -2
- package/dist/esm/{tttx-loading-spinner_1_9_55_3.entry.js → tttx-loading-spinner_1_9_57_3.entry.js} +5 -5
- package/dist/esm/{tttx-multiselect-box_1_9_55.entry.js → tttx-multiselect-box_1_9_57.entry.js} +8 -8
- package/dist/esm/{tttx-percentage-bar_1_9_55.entry.js → tttx-percentage-bar_1_9_57.entry.js} +3 -3
- package/dist/esm/{tttx-qrcode_1_9_55.entry.js → tttx-qrcode_1_9_57.entry.js} +2 -2
- package/dist/esm/{tttx-select-box_1_9_55.entry.js → tttx-select-box_1_9_57.entry.js} +7 -7
- package/dist/esm/{tttx-skeleton_loader_1_9_55.entry.js → tttx-skeleton_loader_1_9_57.entry.js} +2 -2
- package/dist/esm/{tttx-table_1_9_55.entry.js → tttx-table_1_9_57.entry.js} +2 -2
- package/dist/esm/{tttx-tabs_1_9_55.entry.js → tttx-tabs_1_9_57.entry.js} +5 -5
- package/dist/esm/{tttx-textarea_1_9_55.entry.js → tttx-textarea_1_9_57.entry.js} +3 -3
- package/dist/esm/{tttx-toggle_1_9_55.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-a12aff0f.entry.js +1 -0
- 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-checkbox-group-caption_1_9_55.d.ts +0 -11
- package/dist/components/tttx-checkbox-group-heading_1_9_55.d.ts +0 -11
- package/dist/components/tttx-checkbox-group_1_9_55.d.ts +0 -11
- package/dist/components/tttx-data-pattern_1_9_55.d.ts +0 -11
- package/dist/components/tttx-dialog-box_1_9_55.d.ts +0 -11
- package/dist/components/tttx-expander_1_9_55.d.ts +0 -11
- package/dist/components/tttx-keyvalue-block_1_9_55.d.ts +0 -11
- package/dist/components/tttx-loading-spinner_1_9_55.d.ts +0 -11
- package/dist/components/tttx-multiselect-box_1_9_55.d.ts +0 -11
- package/dist/components/tttx-percentage-bar_1_9_55.d.ts +0 -11
- package/dist/components/tttx-select-box_1_9_55.d.ts +0 -11
- package/dist/components/tttx-skeleton_loader_1_9_55.d.ts +0 -11
- package/dist/components/tttx-sorter_1_9_55.d.ts +0 -11
- package/dist/components/tttx-standalone-input_1_9_55.d.ts +0 -11
- package/dist/components/tttx-textarea_1_9_55.d.ts +0 -11
- package/dist/components/tttx-toggle_1_9_55.d.ts +0 -11
- package/dist/components/tttx-toolbar_1_9_55.d.ts +0 -11
- package/dist/components/tttx-tree-view_1_9_55.d.ts +0 -11
- package/dist/esm/tttx-tree-view_1_9_55.entry.js +0 -129
- package/dist/tttx/p-4eaab3ae.entry.js +0 -1
- package/dist/tttx/p-65bb4035.js +0 -2
- package/dist/tttx/p-9896a083.entry.js +0 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index$1 = require('./index-
|
|
5
|
+
const index$1 = require('./index-ec367fa3.js');
|
|
6
6
|
|
|
7
7
|
const gaugeLabelPlugin = {
|
|
8
8
|
id: 'gaugeLabel',
|
|
@@ -14912,4 +14912,4 @@ const TttxGraph = class {
|
|
|
14912
14912
|
};
|
|
14913
14913
|
TttxGraph.style = tttxGraphCss;
|
|
14914
14914
|
|
|
14915
|
-
exports.
|
|
14915
|
+
exports.tttx_graph_1_9_57 = TttxGraph;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-ec367fa3.js');
|
|
6
6
|
|
|
7
7
|
const tttxIconCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.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}:host{--icon-size:24;display:inline-block;cursor:default;user-select:none}.material-symbols-rounded{font-size:var(--icon-size)}.icon-size{width:var(--icon-size);height:var(--icon-size)}.tooltip{background:#ffffff;color:#343434;font-weight:bold;padding:8px 16px;font-size:13px;border-radius:4px;box-shadow:0 0 5px 1px rgba(0, 0, 0, 0.3);display:none}.tooltip[data-show]{display:block}.arrow,.arrow::before{position:absolute;width:8px;height:8px;background:inherit}.arrow{visibility:hidden}.arrow::before{visibility:visible;content:\"\";transform:rotate(45deg)}.tooltip[data-popper-placement^=top]>.arrow{bottom:-4px}.tooltip[data-popper-placement^=bottom]>.arrow{top:-4px}.tooltip[data-popper-placement^=left]>.arrow{right:-4px}.tooltip[data-popper-placement^=right]>.arrow{left:-4px}.red{color:#dc0000}.darkred{color:#A20000}.orange{color:#f59500}.blue{color:#1479c6}.green{color:#a2bb31}.gray{color:#757575}.black{color:#212121}.white{color:white}";
|
|
8
8
|
|
|
@@ -31,4 +31,4 @@ const TttxIcon = class {
|
|
|
31
31
|
};
|
|
32
32
|
TttxIcon.style = tttxIconCss;
|
|
33
33
|
|
|
34
|
-
exports.
|
|
34
|
+
exports.tttx_icon_1_9_57 = TttxIcon;
|
package/dist/cjs/{tttx-keyvalue-block_1_9_55.cjs.entry.js → tttx-keyvalue-block_1_9_57.cjs.entry.js}
RENAMED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-ec367fa3.js');
|
|
6
6
|
|
|
7
7
|
const tttxKeyvalueBlockCss = ":host{display:block}dl{margin:0;padding:0;font-family:\"Roboto\", sans-serif;cursor:default}dt{font-weight:400;font-size:16px;margin-bottom:4px}dt,dt.subTitle{color:#757575}dt.mainTitle{color:#212121}dt,dd{overflow-wrap:anywhere}dd{margin:0;font-weight:400;font-size:16px;color:#212121}dd:not(:last-child){margin-bottom:16px}dl.spacedout,dl.horizontal{display:flex;flex-direction:row;width:100%}dl.spacedout{justify-content:space-between}dl.horizontal div{flex-grow:1}@media (max-width: 769px){dl.horizontal{flex-wrap:wrap}dl.horizontal div{width:50%;max-width:50% !important}}@media (max-width: 600px){dl.horizontal div{width:100%;max-width:100% !important}}";
|
|
8
8
|
|
|
@@ -69,4 +69,4 @@ const TttxKeyvalueBlock = class {
|
|
|
69
69
|
};
|
|
70
70
|
TttxKeyvalueBlock.style = tttxKeyvalueBlockCss;
|
|
71
71
|
|
|
72
|
-
exports.
|
|
72
|
+
exports.tttx_keyvalue_block_1_9_57 = TttxKeyvalueBlock;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-ec367fa3.js');
|
|
6
6
|
|
|
7
7
|
const tttxLoadingSpinnerCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.loading-box{display:flex;align-items:center;justify-content:center}.loading-text{font-size:16px;font-weight:400;padding-top:10px;text-align:center}.spinner{border:solid var(--spinner-color, #1479c6);border-bottom-color:transparent;border-radius:50%;position:relative;box-sizing:border-box;animation:rotation 1s linear infinite}.spinner.small{height:20px;width:20px;border-width:4px}.spinner.large{height:60px;width:60px;border-width:8px}@keyframes rotation{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}";
|
|
8
8
|
|
|
@@ -71,7 +71,7 @@ const TttxLoadingSpinner = class {
|
|
|
71
71
|
};
|
|
72
72
|
TttxLoadingSpinner.style = tttxLoadingSpinnerCss;
|
|
73
73
|
|
|
74
|
-
const tttxStandaloneInputCss = ".material-symbols-rounded.sc-tttx-standalone-
|
|
74
|
+
const tttxStandaloneInputCss = ".material-symbols-rounded.sc-tttx-standalone-input_1_9_57{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.material-symbols-rounded.sc-tttx-standalone-input_1_9_57{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}label.sc-tttx-standalone-input_1_9_57{font-weight:500;font-size:16px;line-height:18.752px;color:#212121}label.sc-tttx-standalone-input_1_9_57 .optional.sc-tttx-standalone-input_1_9_57{color:#757575;font-weight:normal}label.sc-tttx-standalone-input_1_9_57 .outer-container.sc-tttx-standalone-input_1_9_57{position:relative}label.sc-tttx-standalone-input_1_9_57 .outer-container.sc-tttx-standalone-input_1_9_57 .left-icons.sc-tttx-standalone-input_1_9_57,label.sc-tttx-standalone-input_1_9_57 .outer-container.sc-tttx-standalone-input_1_9_57 .right-icons.sc-tttx-standalone-input_1_9_57{display:flex;position:absolute;height:24px;gap:8px}label.sc-tttx-standalone-input_1_9_57 .outer-container.sc-tttx-standalone-input_1_9_57 .left-icons.sc-tttx-standalone-input_1_9_57 tttx-icon.sc-tttx-standalone-input_1_9_57,label.sc-tttx-standalone-input_1_9_57 .outer-container.sc-tttx-standalone-input_1_9_57 .right-icons.sc-tttx-standalone-input_1_9_57 tttx-icon.sc-tttx-standalone-input_1_9_57{height:24px;width:24px}label.sc-tttx-standalone-input_1_9_57 .outer-container.sc-tttx-standalone-input_1_9_57 .left-icons.sc-tttx-standalone-input_1_9_57{left:8px}label.sc-tttx-standalone-input_1_9_57 .outer-container.sc-tttx-standalone-input_1_9_57 .right-icons.sc-tttx-standalone-input_1_9_57{right:8px}label.sc-tttx-standalone-input_1_9_57 .outer-container.sc-tttx-standalone-input_1_9_57 input.sc-tttx-standalone-input_1_9_57,label.sc-tttx-standalone-input_1_9_57 .outer-container.sc-tttx-standalone-input_1_9_57 textarea.sc-tttx-standalone-input_1_9_57{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.sc-tttx-standalone-input_1_9_57 .outer-container.sc-tttx-standalone-input_1_9_57 input.has-input-icon.sc-tttx-standalone-input_1_9_57,label.sc-tttx-standalone-input_1_9_57 .outer-container.sc-tttx-standalone-input_1_9_57 textarea.has-input-icon.sc-tttx-standalone-input_1_9_57{padding-left:40px}label.sc-tttx-standalone-input_1_9_57 .outer-container.sc-tttx-standalone-input_1_9_57 input.has-input-icon.has-left-icon.sc-tttx-standalone-input_1_9_57,label.sc-tttx-standalone-input_1_9_57 .outer-container.sc-tttx-standalone-input_1_9_57 textarea.has-input-icon.has-left-icon.sc-tttx-standalone-input_1_9_57{padding-left:72px}label.sc-tttx-standalone-input_1_9_57 .outer-container.sc-tttx-standalone-input_1_9_57 input.has-left-icon.sc-tttx-standalone-input_1_9_57,label.sc-tttx-standalone-input_1_9_57 .outer-container.sc-tttx-standalone-input_1_9_57 textarea.has-left-icon.sc-tttx-standalone-input_1_9_57{padding-left:40px}label.sc-tttx-standalone-input_1_9_57 .outer-container.sc-tttx-standalone-input_1_9_57 input.has-right-icon.sc-tttx-standalone-input_1_9_57,label.sc-tttx-standalone-input_1_9_57 .outer-container.sc-tttx-standalone-input_1_9_57 textarea.has-right-icon.sc-tttx-standalone-input_1_9_57{padding-right:40px}label.sc-tttx-standalone-input_1_9_57 .outer-container.sc-tttx-standalone-input_1_9_57 input.invalid.sc-tttx-standalone-input_1_9_57,label.sc-tttx-standalone-input_1_9_57 .outer-container.sc-tttx-standalone-input_1_9_57 textarea.invalid.sc-tttx-standalone-input_1_9_57{border:1px solid #dc0000}label.sc-tttx-standalone-input_1_9_57 .outer-container.sc-tttx-standalone-input_1_9_57 input.sc-tttx-standalone-input_1_9_57:not([type=submit]),label.sc-tttx-standalone-input_1_9_57 .outer-container.sc-tttx-standalone-input_1_9_57 textarea.sc-tttx-standalone-input_1_9_57:not([type=submit]){font-family:\"Roboto\", serif;width:100%;height:36px;font-size:16px;line-height:18.752px}label.sc-tttx-standalone-input_1_9_57 .outer-container.sc-tttx-standalone-input_1_9_57 input[type=radio].sc-tttx-standalone-input_1_9_57,label.sc-tttx-standalone-input_1_9_57 .outer-container.sc-tttx-standalone-input_1_9_57 textarea[type=radio].sc-tttx-standalone-input_1_9_57{width:20px;height:20px}label.sc-tttx-standalone-input_1_9_57 .outer-container.sc-tttx-standalone-input_1_9_57 input[type=date].sc-tttx-standalone-input_1_9_57,label.sc-tttx-standalone-input_1_9_57 .outer-container.sc-tttx-standalone-input_1_9_57 textarea[type=date].sc-tttx-standalone-input_1_9_57{background:white;display:block;min-width:calc(100% - 18px);line-height:37px}label.sc-tttx-standalone-input_1_9_57 .outer-container.sc-tttx-standalone-input_1_9_57 input[readonly].sc-tttx-standalone-input_1_9_57,label.sc-tttx-standalone-input_1_9_57 .outer-container.sc-tttx-standalone-input_1_9_57 textarea[readonly].sc-tttx-standalone-input_1_9_57{cursor:default;pointer-events:none;user-select:none;color:gray}label.sc-tttx-standalone-input_1_9_57 .outer-container.sc-tttx-standalone-input_1_9_57 input.sc-tttx-standalone-input_1_9_57:focus,label.sc-tttx-standalone-input_1_9_57 .outer-container.sc-tttx-standalone-input_1_9_57 textarea.sc-tttx-standalone-input_1_9_57:focus{border-color:#1479c6}label.sc-tttx-standalone-input_1_9_57 .outer-container.sc-tttx-standalone-input_1_9_57 input.sc-tttx-standalone-input_1_9_57:focus-visible,label.sc-tttx-standalone-input_1_9_57 .outer-container.sc-tttx-standalone-input_1_9_57 textarea.sc-tttx-standalone-input_1_9_57:focus-visible{outline:none}label.sc-tttx-standalone-input_1_9_57 .outer-container.sc-tttx-standalone-input_1_9_57 textarea.sc-tttx-standalone-input_1_9_57{padding:8px;height:auto;min-height:100px;resize:vertical}label.sc-tttx-standalone-input_1_9_57 .outer-container.sc-tttx-standalone-input_1_9_57 textarea.resize-none.sc-tttx-standalone-input_1_9_57{resize:none}label.sc-tttx-standalone-input_1_9_57 .outer-container.inputBlock.sc-tttx-standalone-input_1_9_57{display:flex;align-items:center;line-height:21px}label.sc-tttx-standalone-input_1_9_57 .outer-container.inputBlock.sc-tttx-standalone-input_1_9_57 .left-icons.sc-tttx-standalone-input_1_9_57,label.sc-tttx-standalone-input_1_9_57 .outer-container.inputBlock.sc-tttx-standalone-input_1_9_57 .right-icons.sc-tttx-standalone-input_1_9_57{margin-top:4px}label.sc-tttx-standalone-input_1_9_57 .outer-container.inputBlock.readonly.sc-tttx-standalone-input_1_9_57{pointer-events:none;user-select:none;color:gray}label.sc-tttx-standalone-input_1_9_57 .outer-container.inputBlock.radioBlock.sc-tttx-standalone-input_1_9_57{display:block}label.sc-tttx-standalone-input_1_9_57 .outer-container.inputInline.sc-tttx-standalone-input_1_9_57{display:flex;white-space:nowrap;align-items:center;margin:0}label.sc-tttx-standalone-input_1_9_57 .outer-container.inputInline.sc-tttx-standalone-input_1_9_57 input.sc-tttx-standalone-input_1_9_57{margin-top:0}label.sc-tttx-standalone-input_1_9_57 .secondarylabel.sc-tttx-standalone-input_1_9_57{color:#757575;font-size:14px;line-height:16.408px;font-weight:normal;display:flex;margin-top:4px}label.sc-tttx-standalone-input_1_9_57 .errorBubble.sc-tttx-standalone-input_1_9_57{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.sc-tttx-standalone-input_1_9_57 .errorBubble.sc-tttx-standalone-input_1_9_57:not(.visible){display:none}label.sc-tttx-standalone-input_1_9_57 .errorBubble.sc-tttx-standalone-input_1_9_57 span.sc-tttx-standalone-input_1_9_57{color:#dc0000;font-size:16px;margin-right:4px}.material-symbols-rounded.sc-tttx-standalone-input_1_9_57{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}.sc-tttx-standalone-input_1_9_57-h{display:block}";
|
|
75
75
|
|
|
76
76
|
const TttxInput = class {
|
|
77
77
|
constructor(hostRef) {
|
|
@@ -153,7 +153,7 @@ const TttxInput = class {
|
|
|
153
153
|
this.iconleft ? 'has-left-icon' : '',
|
|
154
154
|
this.iconright ? 'has-right-icon' : '',
|
|
155
155
|
].join(' ');
|
|
156
|
-
return (index.h(index.Host, null, index.h("label", null, this.label, !this.required ? index.h("span", { class: "optional" }, "\u00A0(optional)") : '', index.h("div", { class: ['outer-container', this.inline ? 'inputInline' : 'inputBlock'].join(' ') }, index.h("input", { class: classNames, autocapitalize: this.inputautocapitalize, autofocus: this.inputautofocus, enterkeyhint: this.inputkeyhint, tabindex: this.inputindex, title: this.inputtitle, autocomplete: this.autocomplete, checked: this.checked, disabled: this.disabled, max: this.max, maxlength: this.maxlength, min: this.min, minlength: this.minlength, name: this.name, pattern: this.pattern, placeholder: this.placeholder, readonly: this.readonly, required: this.required, step: this.step, type: this.type, value: this.value, onBlur: this.handleBlur.bind(this), onFocus: this.handleFocus.bind(this), onInput: this.handleChange.bind(this), onInvalid: this.handleInvalid.bind(this) }), (this.inputicon || this.iconleft) && (index.h("span", { class: "left-icons" }, this.inputicon && (index.h("tttx-
|
|
156
|
+
return (index.h(index.Host, null, index.h("label", null, this.label, !this.required ? index.h("span", { class: "optional" }, "\u00A0(optional)") : '', index.h("div", { class: ['outer-container', this.inline ? 'inputInline' : 'inputBlock'].join(' ') }, index.h("input", { class: classNames, autocapitalize: this.inputautocapitalize, autofocus: this.inputautofocus, enterkeyhint: this.inputkeyhint, tabindex: this.inputindex, title: this.inputtitle, autocomplete: this.autocomplete, checked: this.checked, disabled: this.disabled, max: this.max, maxlength: this.maxlength, min: this.min, minlength: this.minlength, name: this.name, pattern: this.pattern, placeholder: this.placeholder, readonly: this.readonly, required: this.required, step: this.step, type: this.type, value: this.value, onBlur: this.handleBlur.bind(this), onFocus: this.handleFocus.bind(this), onInput: this.handleChange.bind(this), onInvalid: this.handleInvalid.bind(this) }), (this.inputicon || this.iconleft) && (index.h("span", { class: "left-icons" }, this.inputicon && (index.h("tttx-icon_1_9_57", { class: "input-icon", icon: this.inputicon, color: this.inputiconcolor, onClick: this.handleInputIconClick.bind(this) })), this.iconleft && (index.h("tttx-icon_1_9_57", { class: "left-icon", icon: this.iconleft, color: this.iconleftcolor, onClick: this.handleLeftIconClick.bind(this) })))), this.iconright && (index.h("span", { class: "right-icons" }, index.h("tttx-icon_1_9_57", { class: "right-icon", icon: this.iconright, color: this.iconrightcolor, onClick: this.handleRightIconClick.bind(this) })))), this.secondarylabel && index.h("span", { class: "secondarylabel" }, this.secondarylabel), this.showerrorbubble && (index.h("span", { class: ['errorBubble', this.showerrormsg && this.errormsg ? 'visible' : ''].join(' ') }, index.h("span", { class: "material-symbols-rounded" }, "warning"), " ", this.errormsg)))));
|
|
157
157
|
}
|
|
158
158
|
};
|
|
159
159
|
TttxInput.style = tttxStandaloneInputCss;
|
|
@@ -173,11 +173,11 @@ const TttxTag = class {
|
|
|
173
173
|
}
|
|
174
174
|
render() {
|
|
175
175
|
return (index.h(index.Host, null, index.h("div", { class: "tag", style: { 'background-color': this.color, color: this.textColor } }, this.hasIcon &&
|
|
176
|
-
index.h("tttx-
|
|
176
|
+
index.h("tttx-icon_1_9_57", { role: "icon", class: "tag_icon", "aria-label": this.text, icon: this.icon, color: this.iconColor, size: this.iconSize }), index.h("span", null, this.text))));
|
|
177
177
|
}
|
|
178
178
|
};
|
|
179
179
|
TttxTag.style = tttxTagCss;
|
|
180
180
|
|
|
181
|
-
exports.
|
|
182
|
-
exports.
|
|
183
|
-
exports.
|
|
181
|
+
exports.tttx_loading_spinner_1_9_57 = TttxLoadingSpinner;
|
|
182
|
+
exports.tttx_standalone_input_1_9_57 = TttxInput;
|
|
183
|
+
exports.tttx_tag_1_9_57 = TttxTag;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-ec367fa3.js');
|
|
6
6
|
const domsanitiser_options = require('./domsanitiser.options-55ce2d65.js');
|
|
7
7
|
require('./_commonjsHelpers-537d719a.js');
|
|
8
8
|
|
|
@@ -125,9 +125,9 @@ const TttxMultiselectBox = class {
|
|
|
125
125
|
}
|
|
126
126
|
// render priority options at the top of the dropdown list
|
|
127
127
|
return (index.h(index.Fragment, null, usingPriority && priorityOptions.length > 0 &&
|
|
128
|
-
index.h(index.Fragment, null, index.h("tttx-
|
|
128
|
+
index.h(index.Fragment, null, index.h("tttx-tag_1_9_57", { class: 'priority-pill', text: this.priorityLabel, color: "#F0F0F0" }), priorityOptions.map((option) => this.dropdownOption(option))), nonPriorityOptions.length > 0 &&
|
|
129
129
|
index.h(index.Fragment, null, usingPriority &&
|
|
130
|
-
index.h("tttx-
|
|
130
|
+
index.h("tttx-tag_1_9_57", { class: 'priority-pill', text: this.nonPriorityLabel, color: "#F0F0F0" }), nonPriorityOptions.map((option) => this.dropdownOption(option)))));
|
|
131
131
|
}
|
|
132
132
|
dropdownOption(option) {
|
|
133
133
|
// This is tested in e2e tests
|
|
@@ -138,11 +138,11 @@ const TttxMultiselectBox = class {
|
|
|
138
138
|
const sanitisedHTML = domsanitiser_options.purify.sanitize(option.html, domsanitiser_options.domSanitiserOptions);
|
|
139
139
|
// This is tested in e2e tests
|
|
140
140
|
/* istanbul ignore next */
|
|
141
|
-
return (index.h("div", { class: `dropdown-option ${option.selected ? 'selected' : ''}`, onClick: this.onItemSelected.bind(this, option), key: option.label }, index.h("tttx-
|
|
141
|
+
return (index.h("div", { class: `dropdown-option ${option.selected ? 'selected' : ''}`, onClick: this.onItemSelected.bind(this, option), key: option.label }, index.h("tttx-icon_1_9_57", { icon: checkboxIcon, color: checkboxColor, class: 'checkbox-icon' }), index.h("div", { innerHTML: sanitisedHTML })));
|
|
142
142
|
}
|
|
143
143
|
// This is tested in e2e tests
|
|
144
144
|
/* istanbul ignore next */
|
|
145
|
-
return (index.h("div", { class: `dropdown-option ${option.selected ? 'selected' : ''}`, onClick: this.onItemSelected.bind(this, option), key: option.label }, index.h("tttx-
|
|
145
|
+
return (index.h("div", { class: `dropdown-option ${option.selected ? 'selected' : ''}`, onClick: this.onItemSelected.bind(this, option), key: option.label }, index.h("tttx-icon_1_9_57", { icon: checkboxIcon, color: checkboxColor, class: 'checkbox-icon' }), index.h("div", { class: "plaintext-option" }, option.label)));
|
|
146
146
|
}
|
|
147
147
|
// This is tested in e2e tests
|
|
148
148
|
/* istanbul ignore next */
|
|
@@ -172,9 +172,9 @@ const TttxMultiselectBox = class {
|
|
|
172
172
|
return;
|
|
173
173
|
const chevronIcon = this.open ? 'expand_less' : 'expand_more';
|
|
174
174
|
const readOnlyClass = this.readOnly ? 'dropdown-read-only' : '';
|
|
175
|
-
return (index.h(index.Host, { class: this.inline ? 'inline' : 'block' }, this.label && index.h("div", { class: "label" }, this.label), index.h("div", { tabindex: "0", class: "dropdown-container" }, index.h("div", { class: ['dropdown-selector', readOnlyClass].join(' '), onClick: this.onDropdownClicked.bind(this) }, this.dropdownSelectorContent(), index.h("div", { class: "dropdown-selector-chevron" }, index.h("tttx-
|
|
175
|
+
return (index.h(index.Host, { class: this.inline ? 'inline' : 'block' }, this.label && index.h("div", { class: "label" }, this.label), index.h("div", { tabindex: "0", class: "dropdown-container" }, index.h("div", { class: ['dropdown-selector', readOnlyClass].join(' '), onClick: this.onDropdownClicked.bind(this) }, this.dropdownSelectorContent(), index.h("div", { class: "dropdown-selector-chevron" }, index.h("tttx-icon_1_9_57", { icon: chevronIcon, color: "black" }))), this.open && (index.h("div", { class: "dropdown-body-container" }, index.h("div", { class: "dropdown-body", style: Object.assign({}, this.bodyOffset) }, this.searchEnabled &&
|
|
176
176
|
/* istanbul ignore next */
|
|
177
|
-
index.h("div", { class: "searchbox" }, index.h("tttx-standalone-
|
|
177
|
+
index.h("div", { class: "searchbox" }, index.h("tttx-standalone-input_1_9_57", { type: "text", placeholder: 'Search', label: "", required: true, showerrorbubble: false, iconleft: 'search', onInput: this.handleSearchInput.bind(this), inline: true })), index.h("div", { class: "dropdown-options-list" }, this.isLoading ? (index.h("tttx-loading-spinner_1_9_57", { class: 'loading-style' })) : (this.renderDropdownOptions(this.unsavedSelectedItems))), index.h("div", { class: 'footer' }, index.h("tttx-button_1_9_57", { design: "primary", onClick: this.applyChanges.bind(this) }, "Apply"), index.h("tttx-button_1_9_57", { onClick: this.onCancel.bind(this) }, "Cancel"))))))));
|
|
178
178
|
}
|
|
179
179
|
get el() { return index.getElement(this); }
|
|
180
180
|
static get watchers() { return {
|
|
@@ -183,4 +183,4 @@ const TttxMultiselectBox = class {
|
|
|
183
183
|
};
|
|
184
184
|
TttxMultiselectBox.style = tttxMultiselectBoxCss;
|
|
185
185
|
|
|
186
|
-
exports.
|
|
186
|
+
exports.tttx_multiselect_box_1_9_57 = TttxMultiselectBox;
|
package/dist/cjs/{tttx-percentage-bar_1_9_55.cjs.entry.js → tttx-percentage-bar_1_9_57.cjs.entry.js}
RENAMED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-ec367fa3.js');
|
|
6
6
|
|
|
7
|
-
const tttxPercentageBarCss = ".sc-tttx-percentage-
|
|
7
|
+
const tttxPercentageBarCss = ".sc-tttx-percentage-bar_1_9_57-h{display:block}.progress.sc-tttx-percentage-bar_1_9_57{width:100%;background-color:#dbdbdb}.progress.sc-tttx-percentage-bar_1_9_57 .bar.sc-tttx-percentage-bar_1_9_57{height:20px}";
|
|
8
8
|
|
|
9
9
|
const TttxPercentageBar = class {
|
|
10
10
|
constructor(hostRef) {
|
|
@@ -62,4 +62,4 @@ const TttxPercentageBar = class {
|
|
|
62
62
|
};
|
|
63
63
|
TttxPercentageBar.style = tttxPercentageBarCss;
|
|
64
64
|
|
|
65
|
-
exports.
|
|
65
|
+
exports.tttx_percentage_bar_1_9_57 = TttxPercentageBar;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-ec367fa3.js');
|
|
6
6
|
const _commonjsHelpers = require('./_commonjsHelpers-537d719a.js');
|
|
7
7
|
|
|
8
8
|
var qrcode_min = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
@@ -40,4 +40,4 @@ const TttxQrCode = class {
|
|
|
40
40
|
};
|
|
41
41
|
TttxQrCode.style = tttxQrcodeCss;
|
|
42
42
|
|
|
43
|
-
exports.
|
|
43
|
+
exports.tttx_qrcode_1_9_57 = TttxQrCode;
|
package/dist/cjs/{tttx-select-box_1_9_55.cjs.entry.js → tttx-select-box_1_9_57.cjs.entry.js}
RENAMED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-ec367fa3.js');
|
|
6
6
|
const domsanitiser_options = require('./domsanitiser.options-55ce2d65.js');
|
|
7
7
|
require('./_commonjsHelpers-537d719a.js');
|
|
8
8
|
|
|
@@ -108,7 +108,7 @@ const TttxSelectBox = class {
|
|
|
108
108
|
let title;
|
|
109
109
|
let subtitle;
|
|
110
110
|
const chevronIcon = this.open ? 'expand_less' : 'expand_more';
|
|
111
|
-
const icon = index.h("tttx-
|
|
111
|
+
const icon = index.h("tttx-icon_1_9_57", { icon: chevronIcon, color: "black" });
|
|
112
112
|
let chevron = index.h("div", { class: "dropdown-selector-chevron" }, icon);
|
|
113
113
|
if (!this.selectedItem) {
|
|
114
114
|
title = index.h("div", { class: "placeholder" }, this.placeholder);
|
|
@@ -125,7 +125,7 @@ const TttxSelectBox = class {
|
|
|
125
125
|
chevron = index.h("div", { class: "dropdown-selector-chevron-offset" }, icon);
|
|
126
126
|
}
|
|
127
127
|
return (index.h(index.Fragment, null, index.h("div", { class: "left-wrapper" }, title, subtitle), this.clearable && !this.readOnly &&
|
|
128
|
-
index.h("tttx-
|
|
128
|
+
index.h("tttx-icon_1_9_57", { class: "input-icon", style: { paddingTop: '5px', cursor: 'pointer' }, icon: 'close_small', onClick: this.cleanSelectedItem.bind(this) }), chevron));
|
|
129
129
|
}
|
|
130
130
|
}
|
|
131
131
|
renderDropdownOptions(options) {
|
|
@@ -148,9 +148,9 @@ const TttxSelectBox = class {
|
|
|
148
148
|
}
|
|
149
149
|
// render priority options at the top of the dropdown list
|
|
150
150
|
return (index.h(index.Fragment, null, usingPriority && priorityOptions.length > 0 &&
|
|
151
|
-
index.h(index.Fragment, null, index.h("tttx-
|
|
151
|
+
index.h(index.Fragment, null, index.h("tttx-tag_1_9_57", { class: 'priority-pill', text: this.priorityLabel, color: "#F0F0F0" }), priorityOptions.map((option) => this.dropdownOption(option))), nonPriorityOptions.length > 0 &&
|
|
152
152
|
index.h(index.Fragment, null, usingPriority &&
|
|
153
|
-
index.h("tttx-
|
|
153
|
+
index.h("tttx-tag_1_9_57", { class: 'priority-pill', text: this.nonPriorityLabel, color: "#F0F0F0" }), nonPriorityOptions.map((option) => this.dropdownOption(option)))));
|
|
154
154
|
}
|
|
155
155
|
dropdownOption(option) {
|
|
156
156
|
const selected = this.selectedItem && option.value === this.selectedItem.value;
|
|
@@ -237,7 +237,7 @@ const TttxSelectBox = class {
|
|
|
237
237
|
return;
|
|
238
238
|
const invalidClass = this.showErrorMsg ? 'invalid' : '';
|
|
239
239
|
const readOnlyClass = this.readOnly ? 'dropdown-read-only' : '';
|
|
240
|
-
return (index.h(index.Host, { class: this.inline ? 'inline' : 'block' }, this.label && index.h("div", { class: "label" }, this.label), index.h("div", { tabindex: "0", class: "dropdown-container" }, index.h("div", { class: ['dropdown-selector', invalidClass, readOnlyClass].join(' '), ref: el => (this.dropdownSelector = el), onClick: this.onDropdownClicked.bind(this) }, this.dropdownSelectorContent()), this.open && (index.h("div", { class: "dropdown-body-container" }, index.h("div", { class: "dropdown-body", style: Object.assign({ width: `${this.dropdownSelector.offsetWidth}px` }, this.bodyOffset) }, this.searchEnabled && (index.h("div", { class: "searchbox" }, index.h("tttx-standalone-
|
|
240
|
+
return (index.h(index.Host, { class: this.inline ? 'inline' : 'block' }, this.label && index.h("div", { class: "label" }, this.label), index.h("div", { tabindex: "0", class: "dropdown-container" }, index.h("div", { class: ['dropdown-selector', invalidClass, readOnlyClass].join(' '), ref: el => (this.dropdownSelector = el), onClick: this.onDropdownClicked.bind(this) }, this.dropdownSelectorContent()), this.open && (index.h("div", { class: "dropdown-body-container" }, index.h("div", { class: "dropdown-body", style: Object.assign({ width: `${this.dropdownSelector.offsetWidth}px` }, this.bodyOffset) }, this.searchEnabled && (index.h("div", { class: "searchbox" }, index.h("tttx-standalone-input_1_9_57", { type: "text", label: "", required: true, showerrorbubble: false, iconleft: "search", onInput: this.handleSearchInput.bind(this) }))), index.h("div", { class: "dropdown-options-list", onScroll: this.onSelectScroll.bind(this) }, !this.isLoading && (this.renderDropdownOptions(this._optionsData)), (this.isLoading || this.loadingNextExternalPage) && (index.h("tttx-loading-spinner_1_9_57", { class: 'loading-style' })))))), this.showErrorBubble && (index.h("span", { class: ['errorBubble', this.showErrorMsg && this.errorMsg ? 'visible' : ''].join(' ') }, index.h("tttx-icon_1_9_57", { icon: "warning", color: "#dc0000", size: 16 }), " ", this.errorMsg)))));
|
|
241
241
|
}
|
|
242
242
|
get el() { return index.getElement(this); }
|
|
243
243
|
static get watchers() { return {
|
|
@@ -247,4 +247,4 @@ const TttxSelectBox = class {
|
|
|
247
247
|
};
|
|
248
248
|
TttxSelectBox.style = tttxSelectBoxCss;
|
|
249
249
|
|
|
250
|
-
exports.
|
|
250
|
+
exports.tttx_select_box_1_9_57 = TttxSelectBox;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-ec367fa3.js');
|
|
6
6
|
|
|
7
7
|
const tttxSkeletonLoaderCss = ":host{display:block}.skeleton-wrapper{display:flex}.skeleton-wrapper.vertical{flex-direction:column}.skeleton-wrapper.horizontal{flex-direction:row;align-items:center;flex-wrap:wrap}.skeleton{display:inline-block;background-color:#D5D5D5;position:relative;overflow:hidden;flex-shrink:0}.skeleton.text{border-radius:4px}.skeleton.rect{border-radius:4px}.skeleton.circle{border-radius:50%}.skeleton.pulse{animation:pulse 1.5s infinite ease-in-out}.skeleton.wave::after{content:\"\";position:absolute;top:0;left:-150px;height:100%;width:150px;background:linear-gradient(90deg, transparent, white, transparent);animation:wave 1.6s infinite}@keyframes pulse{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}@keyframes wave{0%{left:-150px}100%{left:100%}}";
|
|
8
8
|
|
|
@@ -37,4 +37,4 @@ const TttxSkeletonLoader = class {
|
|
|
37
37
|
};
|
|
38
38
|
TttxSkeletonLoader.style = tttxSkeletonLoaderCss;
|
|
39
39
|
|
|
40
|
-
exports.
|
|
40
|
+
exports.tttx_skeleton_loader_1_9_57 = TttxSkeletonLoader;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-ec367fa3.js');
|
|
6
6
|
const domsanitiser_options = require('./domsanitiser.options-55ce2d65.js');
|
|
7
7
|
require('./_commonjsHelpers-537d719a.js');
|
|
8
8
|
|
|
@@ -58,4 +58,4 @@ const TttxTable = class {
|
|
|
58
58
|
};
|
|
59
59
|
TttxTable.style = tttxTableCss;
|
|
60
60
|
|
|
61
|
-
exports.
|
|
61
|
+
exports.tttx_table_1_9_57 = TttxTable;
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-ec367fa3.js');
|
|
6
6
|
const domsanitiser_options = require('./domsanitiser.options-55ce2d65.js');
|
|
7
7
|
require('./_commonjsHelpers-537d719a.js');
|
|
8
8
|
|
|
9
|
-
const tttxTabsCss = ".material-symbols-rounded.sc-tttx-
|
|
9
|
+
const tttxTabsCss = ".material-symbols-rounded.sc-tttx-tabs_1_9_57{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.sc-tttx-tabs_1_9_57-h{display:block}.tab-bar.sc-tttx-tabs_1_9_57{display:flex;height:52px}.tab-bar.sc-tttx-tabs_1_9_57>.left-navigation.sc-tttx-tabs_1_9_57,.tab-bar.sc-tttx-tabs_1_9_57>.right-navigation.sc-tttx-tabs_1_9_57{padding:14px 8px;cursor:pointer}.tab-bar.sc-tttx-tabs_1_9_57>.left-navigation.sc-tttx-tabs_1_9_57>*.sc-tttx-tabs_1_9_57,.tab-bar.sc-tttx-tabs_1_9_57>.right-navigation.sc-tttx-tabs_1_9_57>*.sc-tttx-tabs_1_9_57{height:24px;width:24px;cursor:pointer}.tab-bar.sc-tttx-tabs_1_9_57>.tabs-container.sc-tttx-tabs_1_9_57{display:flex;border-bottom:1px solid #d5d5d5}.tab-bar.sc-tttx-tabs_1_9_57>.tabs-container.wide.sc-tttx-tabs_1_9_57{flex-grow:1}.tab-bar.sc-tttx-tabs_1_9_57>.tabs-container.sc-tttx-tabs_1_9_57>*[role=tab].sc-tttx-tabs_1_9_57{padding:18px 16px;line-height:16.408px;font-size:14px;font-weight:500;text-transform:uppercase;user-select:none;color:#757575;cursor:pointer}.tab-bar.sc-tttx-tabs_1_9_57>.tabs-container.sc-tttx-tabs_1_9_57>*[role=tab].sc-tttx-tabs_1_9_57:hover{background-color:rgba(17, 17, 17, 0.05)}.tab-bar.sc-tttx-tabs_1_9_57>.tabs-container.sc-tttx-tabs_1_9_57>*[role=tab][aria-selected].sc-tttx-tabs_1_9_57{color:#212121;cursor:default;border-bottom:3px solid #1579c6}";
|
|
10
10
|
|
|
11
11
|
const TttxTabs = class {
|
|
12
12
|
constructor(hostRef) {
|
|
@@ -83,7 +83,7 @@ const TttxTabs = class {
|
|
|
83
83
|
}
|
|
84
84
|
generateTab(tab) {
|
|
85
85
|
var _a, _b;
|
|
86
|
-
const tabTitle = (_a = tab.tabName) !== null && _a !== void 0 ? _a : (index.h("tttx-
|
|
86
|
+
const tabTitle = (_a = tab.tabName) !== null && _a !== void 0 ? _a : (index.h("tttx-icon_1_9_57", { style: { pointerEvents: 'none', marginTop: '-2px' }, icon: tab.tabIcon, color: 'gray', size: (_b = tab.tabIconSize) !== null && _b !== void 0 ? _b : 24 }));
|
|
87
87
|
return (index.h("a", { key: tab.id, id: tab.id, role: "tab", "aria-controls": tab.controls, tabindex: tab.tabIndex, "aria-selected": tab.selected, onClick: () => {
|
|
88
88
|
this.handleTabClick(tab);
|
|
89
89
|
} }, tabTitle));
|
|
@@ -102,7 +102,7 @@ const TttxTabs = class {
|
|
|
102
102
|
return;
|
|
103
103
|
}
|
|
104
104
|
const selectedTab = this._tabs.find(tab => tab.selected);
|
|
105
|
-
return (index.h(index.Host, null, index.h("div", null, index.h("div", { class: "tab-bar", role: "tablist", "aria-label": this.tabsName, ref: el => (this.tabList = el) }, this.navigation && (index.h("div", { class: "left-navigation", tabindex: "0", onClick: this.handleLeftNavigation.bind(this) }, index.h("tttx-
|
|
105
|
+
return (index.h(index.Host, null, index.h("div", null, index.h("div", { class: "tab-bar", role: "tablist", "aria-label": this.tabsName, ref: el => (this.tabList = el) }, this.navigation && (index.h("div", { class: "left-navigation", tabindex: "0", onClick: this.handleLeftNavigation.bind(this) }, index.h("tttx-icon_1_9_57", { icon: "navigate_before", color: "black" }))), index.h("div", { class: 'tabs-container' + (this.wide ? ' wide' : '') }, this._tabs.map(this.generateTab.bind(this))), this.navigation && (index.h("div", { class: "right-navigation", tabindex: "0", onClick: this.handleRightNavigation.bind(this) }, index.h("tttx-icon_1_9_57", { icon: "navigate_next", color: "black" })))), selectedTab && this.renderSelectedTab(selectedTab))));
|
|
106
106
|
}
|
|
107
107
|
static get watchers() { return {
|
|
108
108
|
"tabs": ["onDataChange"]
|
|
@@ -110,4 +110,4 @@ const TttxTabs = class {
|
|
|
110
110
|
};
|
|
111
111
|
TttxTabs.style = tttxTabsCss;
|
|
112
112
|
|
|
113
|
-
exports.
|
|
113
|
+
exports.tttx_tabs_1_9_57 = TttxTabs;
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-ec367fa3.js');
|
|
6
6
|
|
|
7
|
-
const tttxTextareaCss = ".material-symbols-rounded.sc-tttx-
|
|
7
|
+
const tttxTextareaCss = ".material-symbols-rounded.sc-tttx-textarea_1_9_57{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.sc-tttx-textarea_1_9_57-h{display:block}label.sc-tttx-textarea_1_9_57{font-weight:500;font-size:16px;line-height:18.752px;color:#212121}label.sc-tttx-textarea_1_9_57 .textarea-container.sc-tttx-textarea_1_9_57{position:relative}label.sc-tttx-textarea_1_9_57 .textarea-container.sc-tttx-textarea_1_9_57 textarea.sc-tttx-textarea_1_9_57{font-family:\"Roboto\", serif;box-sizing:border-box;width:100%;padding:9px 16px;font-size:16px;line-height:18.752px;border:1px solid #d5d5d5;border-radius:4px;margin-top:8px;resize:none}label.sc-tttx-textarea_1_9_57 .textarea-container.sc-tttx-textarea_1_9_57 textarea.no-label.sc-tttx-textarea_1_9_57{margin-top:0}label.sc-tttx-textarea_1_9_57 .textarea-container.sc-tttx-textarea_1_9_57 textarea.sc-tttx-textarea_1_9_57~.errorBubble.sc-tttx-textarea_1_9_57{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.sc-tttx-textarea_1_9_57 .textarea-container.sc-tttx-textarea_1_9_57 textarea.sc-tttx-textarea_1_9_57~.errorBubble.sc-tttx-textarea_1_9_57:not(.visible){display:none}label.sc-tttx-textarea_1_9_57 .textarea-container.sc-tttx-textarea_1_9_57 textarea.sc-tttx-textarea_1_9_57~.errorBubble.sc-tttx-textarea_1_9_57 span.sc-tttx-textarea_1_9_57{color:#dc0000;font-size:16px;margin-right:4px}label.sc-tttx-textarea_1_9_57 .textarea-container.sc-tttx-textarea_1_9_57 textarea.sc-tttx-textarea_1_9_57:focus{border-color:#1479c6}label.sc-tttx-textarea_1_9_57 .textarea-container.sc-tttx-textarea_1_9_57 textarea.sc-tttx-textarea_1_9_57:focus-visible{outline:none}label.sc-tttx-textarea_1_9_57 .secondarylabel.sc-tttx-textarea_1_9_57{color:#757575;font-size:14px;line-height:16.408px;font-weight:normal;display:flex;margin-top:4px}label.sc-tttx-textarea_1_9_57 .optional.sc-tttx-textarea_1_9_57{color:#757575;font-weight:normal}";
|
|
8
8
|
|
|
9
9
|
const TttxTextarea = class {
|
|
10
10
|
constructor(hostRef) {
|
|
@@ -56,4 +56,4 @@ const TttxTextarea = class {
|
|
|
56
56
|
};
|
|
57
57
|
TttxTextarea.style = tttxTextareaCss;
|
|
58
58
|
|
|
59
|
-
exports.
|
|
59
|
+
exports.tttx_textarea_1_9_57 = TttxTextarea;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-ec367fa3.js');
|
|
6
6
|
|
|
7
7
|
const tttxToggleCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}:host{display:inline-block}#toggle-switch{width:50px;height:30px;border-radius:30px;position:relative;box-sizing:border-box}#toggle-switch input{cursor:pointer;width:50px;height:30px;padding:0;margin:0;top:0;left:0;border:none;outline:none;opacity:0;position:absolute}#toggle-switch #toggle-body{width:50px;height:30px;border-radius:28px;position:relative;top:0;left:0;pointer-events:none;background:#9e9e9e}#toggle-switch #toggle-body::after{font-family:\"Material Symbols Rounded\", sans-serif;content:\"\\e5ca\";position:absolute;width:26px;height:26px;left:2px;top:2px;border-radius:26px;background:white;transition:all 0.1s;font-size:22px;color:#FFFFFF;justify-content:center;display:inline-flex}#toggle-switch input:checked~#toggle-body::after{color:#a2bb31;left:22px}#toggle-switch input:checked~#toggle-body{background:#a2bb31}";
|
|
8
8
|
|
|
@@ -37,4 +37,4 @@ const TttxToggle = class {
|
|
|
37
37
|
};
|
|
38
38
|
TttxToggle.style = tttxToggleCss;
|
|
39
39
|
|
|
40
|
-
exports.
|
|
40
|
+
exports.tttx_toggle_1_9_57 = TttxToggle;
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-ec367fa3.js');
|
|
6
6
|
const domsanitiser_options = require('./domsanitiser.options-55ce2d65.js');
|
|
7
7
|
require('./_commonjsHelpers-537d719a.js');
|
|
8
8
|
|
|
9
|
-
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}";
|
|
9
|
+
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}";
|
|
10
10
|
|
|
11
11
|
const TttxTreeView = class {
|
|
12
12
|
constructor(hostRef) {
|
|
@@ -14,6 +14,68 @@ const TttxTreeView = class {
|
|
|
14
14
|
this.clickEvent = index.createEvent(this, "clickEvent", 7);
|
|
15
15
|
this.expandNode = index.createEvent(this, "expandNode", 7);
|
|
16
16
|
this.checkboxChange = index.createEvent(this, "checkboxChange", 7);
|
|
17
|
+
this.moveNode = index.createEvent(this, "moveNode", 7);
|
|
18
|
+
this.dragIcon = index.getAssetPath('assets/img/drag-icon.svg');
|
|
19
|
+
this.dragGhost = {
|
|
20
|
+
el: null,
|
|
21
|
+
};
|
|
22
|
+
this.createGhostImage = (label) => {
|
|
23
|
+
const ghost = document.createElement('div');
|
|
24
|
+
ghost.textContent = label;
|
|
25
|
+
Object.assign(ghost.style, {
|
|
26
|
+
position: 'absolute',
|
|
27
|
+
top: '-9999px',
|
|
28
|
+
left: '-9999px',
|
|
29
|
+
padding: '6px 20px',
|
|
30
|
+
background: 'white',
|
|
31
|
+
border: '1px solid #ccc',
|
|
32
|
+
fontSize: '14px',
|
|
33
|
+
pointerEvents: 'none',
|
|
34
|
+
});
|
|
35
|
+
document.body.appendChild(ghost);
|
|
36
|
+
setTimeout(() => document.body.removeChild(ghost), 0);
|
|
37
|
+
return ghost;
|
|
38
|
+
};
|
|
39
|
+
this.handleDragStart = (event, node, index, parentId) => {
|
|
40
|
+
if (!event.dataTransfer)
|
|
41
|
+
return;
|
|
42
|
+
this.draggedNodeParentId = parentId;
|
|
43
|
+
const payload = JSON.stringify({ parentId, index, node });
|
|
44
|
+
event.dataTransfer.setData('text/plain', payload);
|
|
45
|
+
const ghostImg = this.createGhostImage(node.title);
|
|
46
|
+
this.dragGhost.el = ghostImg;
|
|
47
|
+
event.dataTransfer.setDragImage(ghostImg, 0, 0);
|
|
48
|
+
};
|
|
49
|
+
this.handleDragDrop = (event, node, targetIndex, parentId) => {
|
|
50
|
+
var _a;
|
|
51
|
+
event.preventDefault();
|
|
52
|
+
const nodeData = (_a = event.dataTransfer) === null || _a === void 0 ? void 0 : _a.getData('text/plain');
|
|
53
|
+
if (!nodeData)
|
|
54
|
+
return;
|
|
55
|
+
const { parentId: sourceParentId, index: sourceParentIndex, node: sourceNode } = JSON.parse(nodeData);
|
|
56
|
+
if (node.id === sourceNode.id || sourceParentId !== parentId)
|
|
57
|
+
return;
|
|
58
|
+
const updatedTree = [...this.treeData];
|
|
59
|
+
const parent = this.findNodeById(updatedTree, parentId);
|
|
60
|
+
const children = [...parent.child];
|
|
61
|
+
const [moved] = children.splice(sourceParentIndex, 1);
|
|
62
|
+
children.splice(targetIndex, 0, moved);
|
|
63
|
+
parent.child = children;
|
|
64
|
+
this.treeData = updatedTree;
|
|
65
|
+
this.draggedNodeParentId = undefined;
|
|
66
|
+
if (this.dragGhost.el) {
|
|
67
|
+
this.dragGhost.el.remove();
|
|
68
|
+
this.dragGhost.el = null;
|
|
69
|
+
}
|
|
70
|
+
this.moveNode.emit(this.treeData);
|
|
71
|
+
};
|
|
72
|
+
this.handleDragOver = (event, parentId) => {
|
|
73
|
+
event.preventDefault();
|
|
74
|
+
if (!event.dataTransfer)
|
|
75
|
+
return;
|
|
76
|
+
const validDrag = this.draggedNodeParentId === parentId;
|
|
77
|
+
event.dataTransfer.dropEffect = validDrag ? 'move' : 'none';
|
|
78
|
+
};
|
|
17
79
|
this.data = undefined;
|
|
18
80
|
this.treeData = undefined;
|
|
19
81
|
}
|
|
@@ -63,25 +125,23 @@ const TttxTreeView = class {
|
|
|
63
125
|
*/
|
|
64
126
|
updateParentCheckStatus(parent = undefined, children = undefined) {
|
|
65
127
|
if (parent === undefined) {
|
|
66
|
-
this.treeData.
|
|
128
|
+
this.treeData.forEach(node => this.updateParentCheckStatus(node, node.child));
|
|
67
129
|
return;
|
|
68
130
|
}
|
|
69
131
|
let childrenCheckedStatuses = [];
|
|
70
132
|
// set status relative to children if we have some
|
|
71
133
|
if (children && children.length > 0) {
|
|
72
|
-
childrenCheckedStatuses = children
|
|
73
|
-
.map((node) => this.updateParentCheckStatus(node, node.child))
|
|
74
|
-
.flat(1);
|
|
134
|
+
childrenCheckedStatuses = children.map(node => this.updateParentCheckStatus(node, node.child)).flat(1);
|
|
75
135
|
// parent checked if any children are checked
|
|
76
|
-
if (childrenCheckedStatuses.some(
|
|
136
|
+
if (childrenCheckedStatuses.some(checked => checked)) {
|
|
77
137
|
parent.checked = true;
|
|
78
138
|
}
|
|
79
139
|
// parent unchecked if all children are unchecked
|
|
80
|
-
if (childrenCheckedStatuses.every(
|
|
140
|
+
if (childrenCheckedStatuses.every(checked => !checked)) {
|
|
81
141
|
parent.checked = false;
|
|
82
142
|
}
|
|
83
143
|
}
|
|
84
|
-
// return the gathered checked statuses so nodes above can make check choices
|
|
144
|
+
// return the gathered checked statuses so nodes above can make check choices
|
|
85
145
|
return [...childrenCheckedStatuses, parent.checked];
|
|
86
146
|
}
|
|
87
147
|
treeConfigs(node) {
|
|
@@ -99,35 +159,49 @@ const TttxTreeView = class {
|
|
|
99
159
|
const selectedActive = node.selectable && node.selected ? 'rowSelected' : '';
|
|
100
160
|
return { checkboxColor, checkboxIcon, rowHoverActive, expanderIcon, selectedActive };
|
|
101
161
|
}
|
|
102
|
-
|
|
162
|
+
findNodeById(nodes, id) {
|
|
163
|
+
for (const node of nodes) {
|
|
164
|
+
if (node.id === id)
|
|
165
|
+
return node;
|
|
166
|
+
if (node.child) {
|
|
167
|
+
const found = this.findNodeById(node.child, id);
|
|
168
|
+
if (found)
|
|
169
|
+
return found;
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
return undefined;
|
|
173
|
+
}
|
|
174
|
+
renderNode(node, index$1, parentId = undefined) {
|
|
175
|
+
var _a, _b;
|
|
103
176
|
const options = this.treeConfigs(node);
|
|
104
177
|
if (node.child) {
|
|
105
|
-
return (index.h(index.Fragment, null, index.h("li", { class: `inline-tree-item element-row tree-node ${options.rowHoverActive} ${options.selectedActive}`, onClick: event => {
|
|
178
|
+
return (index.h(index.Fragment, null, index.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$1, parentId) } : {}), { class: `inline-tree-item element-row tree-node ${options.rowHoverActive} ${options.selectedActive}`, onClick: event => {
|
|
106
179
|
if (node.hasHover) {
|
|
107
180
|
this.onClickHandler(event, node);
|
|
108
181
|
}
|
|
109
|
-
} }, index.h("tttx-
|
|
110
|
-
return this.renderNode(childNode);
|
|
182
|
+
} }), index.h("tttx-button_1_9_57", { 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$1, parentId)), node.isOpen ? (index.h("li", null, index.h("ul", null, node.child.map((childNode, index) => {
|
|
183
|
+
return this.renderNode(childNode, index, node.id);
|
|
111
184
|
})))) : null));
|
|
112
185
|
}
|
|
113
186
|
else {
|
|
114
|
-
return (index.h("li", { class: `inline-tree-item element-row ${options.rowHoverActive} ${options.selectedActive}`, onClick: event => {
|
|
187
|
+
return (index.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$1, parentId) } : {}), { class: `inline-tree-item element-row ${options.rowHoverActive} ${options.selectedActive}`, onClick: event => {
|
|
115
188
|
if (node.hasHover) {
|
|
116
189
|
this.onClickHandler(event, node);
|
|
117
190
|
}
|
|
118
|
-
} }, this.htmlcode('treeLeaf', node, options.checkboxIcon, options.checkboxColor)));
|
|
191
|
+
} }), this.htmlcode('treeLeaf', node, options.checkboxIcon, options.checkboxColor, index$1, parentId)));
|
|
119
192
|
}
|
|
120
193
|
}
|
|
121
|
-
htmlcode(type, node, check_box, check_boxColor) {
|
|
122
|
-
const htmlcode = (index.h("div", { class: "inline-tree-item element" }, node.hasCheckbox && (index.h("tttx-
|
|
194
|
+
htmlcode(type, node, check_box, check_boxColor, index$1, parentId = undefined) {
|
|
195
|
+
const htmlcode = (index.h("div", { class: "inline-tree-item element" }, node.draggable && (index.h("img", { src: this.dragIcon, alt: "drag", class: "drag-handle", draggable: true, onDragStart: event => this.handleDragStart(event, node, index$1, parentId) })), node.hasCheckbox && (index.h("tttx-button_1_9_57", { 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 && (index.h("tttx-icon_1_9_57", { icon: node.icon, color: node.iconColor, class: "padding-icon" })), !node.html && index.h("div", { class: type }, node.title), node.html && index.h("div", { class: type, innerHTML: domsanitiser_options.purify.sanitize(node.html, domsanitiser_options.domSanitiserOptions) })));
|
|
123
196
|
return htmlcode;
|
|
124
197
|
}
|
|
125
198
|
render() {
|
|
126
199
|
if (!this.data)
|
|
127
200
|
return;
|
|
128
|
-
return (index.h("div", { class: "tree-view-element" }, index.h("ul", null, this.treeData.map((node) => this.renderNode(node)))));
|
|
201
|
+
return (index.h("div", { class: "tree-view-element" }, index.h("ul", null, this.treeData.map((node, index) => this.renderNode(node, index)))));
|
|
129
202
|
}
|
|
203
|
+
get el() { return index.getElement(this); }
|
|
130
204
|
};
|
|
131
205
|
TttxTreeView.style = tttxTreeViewCss;
|
|
132
206
|
|
|
133
|
-
exports.
|
|
207
|
+
exports.tttx_tree_view_1_9_57 = TttxTreeView;
|