@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
|
@@ -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 tttxDatacardCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}:host{display:block;width:100%;height:100%}.datacard{font-family:\"Roboto\", Arial, Verdana, Tahoma, sans-serif;box-sizing:border-box;width:100%;height:100%;background-color:white;border-radius:4px;padding:0px 16px 16px 16px;margin-right:16px;margin-bottom:16px}.chart{width:100%;height:100%}h2{box-sizing:border-box;margin:0;padding:16px;width:100%;font-size:18px;font-weight:500;line-height:21.09px;text-align:left;height:40px}.lower{width:100%;display:flex}.right{box-sizing:border-box;flex-grow:1;border-left:1px solid #D5D5D5;padding-left:24px;font-size:24px;font-weight:500;line-height:28.13px;text-align:left}.flex{display:flex;justify-content:flex-start}.righticon{margin-top:1px;margin-right:4px;height:24px}.left{box-sizing:border-box;flex-grow:1;font-size:40px;font-weight:500;line-height:46.88px;text-align:right;margin-right:20px;padding-left:40px}.centered{box-sizing:border-box;flex-grow:1;font-size:40px;font-weight:500;line-height:46.88px;text-align:center;margin:0;padding-left:20px}.subtext{font-size:14px;font-weight:400;line-height:16.41px;text-align:left;color:#757575}";
|
|
4
4
|
|
|
@@ -28,16 +28,16 @@ const TttxDatacard = class {
|
|
|
28
28
|
renderIcon(iconstyle) {
|
|
29
29
|
switch (iconstyle) {
|
|
30
30
|
case 'up':
|
|
31
|
-
return h("tttx-
|
|
31
|
+
return h("tttx-icon_1_9_58", { size: 24, icon: "arrow_circle_up", color: "green" });
|
|
32
32
|
case 'down':
|
|
33
|
-
return h("tttx-
|
|
33
|
+
return h("tttx-icon_1_9_58", { size: 24, icon: "arrow_circle_down", color: "darkred" });
|
|
34
34
|
default:
|
|
35
35
|
return null;
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
render() {
|
|
39
39
|
return (h(Host, null, h("div", { class: "datacard" }, this.cardTitle && h("h2", { style: { 'position': 'relative', 'top': '0', 'left': '0', 'height': '40px' } }, this.cardTitle), this.chartRender && this.cardType === 'chart' &&
|
|
40
|
-
h("tttx-
|
|
40
|
+
h("tttx-graph_1_9_58", { style: { 'position': 'relative', 'width': '100%', 'height': this.cardTitle ? 'calc(100% - 40px)' : '100%' }, class: 'chart', "chart-data": this._chartConfig.chartData, "chart-text": this._chartConfig.chartText, "chart-type": this._chartConfig.chartType }), h("div", { style: { 'position': 'relative', 'width': '100%', 'height': this.cardTitle ? 'calc(100% - 40px)' : '100%' } }, h("div", { class: "lower" }, h("div", { class: this.rightData && this.rightData !== 'undefined' ? 'left' : 'centered' }, this.leftData), this.rightData && this.rightData !== 'undefined' &&
|
|
41
41
|
h("div", { class: "right" }, h("div", { class: "flex" }, h("div", { class: "righticon" }, this.renderIcon(this.iconStyle)), h("div", { class: "rightdata" }, this.rightData)), h("div", { class: "subtext" }, this.rightSubtext)))))));
|
|
42
42
|
}
|
|
43
43
|
static get watchers() { return {
|
|
@@ -46,4 +46,4 @@ const TttxDatacard = class {
|
|
|
46
46
|
};
|
|
47
47
|
TttxDatacard.style = tttxDatacardCss;
|
|
48
48
|
|
|
49
|
-
export { TttxDatacard as
|
|
49
|
+
export { TttxDatacard as tttx_datacard_1_9_58 };
|
|
@@ -1,6 +1,6 @@
|
|
|
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
|
-
const tttxDateRangePickerCss = ":host{display:block;position:relative;font-family:sans-serif}.date-range-input{display:inline-flex;align-items:center;justify-content:space-between;border:1px solid #ccc;padding:0.5em 0.75em;border-radius:4px;cursor:pointer;background:white;min-width:250px;font-size:14px}.date-range-input .range-text{flex:1;color:#333}.date-range-input .clear-btn{background:none;border:none;font-size:16px;color:#888;margin-left:8px;cursor:pointer}.date-range-input .calendar-icon{margin-left:8px}.calendar-popup{position:absolute;z-index:1000;top:calc(100% + 4px);background:white;border:1px solid #ccc;
|
|
3
|
+
const tttxDateRangePickerCss = ":host{display:block;position:relative;font-family:sans-serif}.date-range-input{display:inline-flex;align-items:center;justify-content:space-between;border:1px solid #ccc;padding:0.5em 0.75em;border-radius:4px;cursor:pointer;background:white;min-width:250px;font-size:14px}.date-range-input .range-text{flex:1;color:#333;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.date-range-input .clear-btn{background:none;border:none;font-size:16px;color:#888;margin-left:8px;cursor:pointer}.date-range-input .clear-btn:hover{color:#333}.date-range-input .calendar-icon{margin-left:8px;display:flex;align-items:center}.calendar-popup{position:absolute;z-index:1000;top:calc(100% + 4px);left:0;background:white;border:1px solid #ccc;padding:1em;border-radius:4px;box-shadow:0 4px 12px rgba(0, 0, 0, 0.1);width:auto;min-width:260px}.calendar-popup.single{display:flex;flex-direction:column}.calendar{display:flex;flex-direction:column;width:100%}.calendar .calendar-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:0.5em}.calendar .calendar-header .nav-btn{background:none;border:none;cursor:pointer;font-size:16px;padding:0 8px;color:#333}.calendar .calendar-header .nav-btn:hover{color:#1479c6}.calendar .calendar-header .month-label{font-weight:bold;font-size:14px;color:#333}.calendar .calendar-grid{display:grid;grid-template-columns:repeat(7, 1fr);gap:4px}.calendar .calendar-grid .calendar-weekday{font-weight:bold;text-align:center;font-size:12px;padding-bottom:4px;color:#666}.calendar .calendar-grid .calendar-date{text-align:center;padding:0.5em;border-radius:4px;font-size:14px;cursor:pointer;transition:background 0.2s ease;color:#333}.calendar .calendar-grid .calendar-date:hover{background-color:#f0f0f0}.calendar .calendar-grid .calendar-date.range-start,.calendar .calendar-grid .calendar-date.range-end,.calendar .calendar-grid .calendar-date.inrange{background-color:#1479c6;color:white;font-weight:bold}.calendar .calendar-grid .calendar-date.empty{background:transparent;cursor:default}.calendar .calendar-date.hoverrange{position:relative;z-index:1}.calendar .calendar-date.hoverrange::before{content:\"\";position:absolute;inset:0;border:1px dotted #bdbdbd;background-color:white;z-index:-1;pointer-events:none}.calendar .calendar-date.hoverrange.range-hover-start::before{border-top-left-radius:999px;border-bottom-left-radius:999px;left:0}.calendar .calendar-date.hoverrange.range-hover-end::before{border-top-right-radius:999px;border-bottom-right-radius:999px;right:0}.calendar .calendar-date.hoverrange:first-child{border-top-left-radius:50%;border-bottom-left-radius:50%}.calendar .calendar-date.hoverrange:last-child{border-top-right-radius:50%;border-bottom-right-radius:50%}";
|
|
4
4
|
|
|
5
5
|
const TttxDateRangePicker = class {
|
|
6
6
|
constructor(hostRef) {
|
|
@@ -27,11 +27,10 @@ const TttxDateRangePicker = class {
|
|
|
27
27
|
this.showCalendar = false;
|
|
28
28
|
this.startDate = '';
|
|
29
29
|
this.endDate = '';
|
|
30
|
-
this.
|
|
31
|
-
this.
|
|
32
|
-
this.rightMonth = (new Date().getMonth() + 1) % 12;
|
|
33
|
-
this.rightYear = new Date().getMonth() === 11 ? new Date().getFullYear() + 1 : new Date().getFullYear();
|
|
30
|
+
this.currentMonth = new Date().getMonth();
|
|
31
|
+
this.currentYear = new Date().getFullYear();
|
|
34
32
|
this.isSelecting = true;
|
|
33
|
+
this.hoverDate = '';
|
|
35
34
|
}
|
|
36
35
|
componentDidLoad() {
|
|
37
36
|
document.addEventListener('click', this.handleOutsideClick);
|
|
@@ -48,7 +47,6 @@ const TttxDateRangePicker = class {
|
|
|
48
47
|
initializeRangeFromProp() {
|
|
49
48
|
let start = '';
|
|
50
49
|
let end = '';
|
|
51
|
-
// Extract from prop
|
|
52
50
|
if (typeof this.initialValue === 'string') {
|
|
53
51
|
try {
|
|
54
52
|
const parsed = JSON.parse(this.initialValue);
|
|
@@ -63,12 +61,10 @@ const TttxDateRangePicker = class {
|
|
|
63
61
|
start = this.initialValue.start;
|
|
64
62
|
end = this.initialValue.end;
|
|
65
63
|
}
|
|
66
|
-
// Convert from dd/mm/yyyy to ISO if needed
|
|
67
64
|
if (start && start.includes('/'))
|
|
68
65
|
start = this.parseDDMMYYYYToISO(start);
|
|
69
66
|
if (end && end.includes('/'))
|
|
70
67
|
end = this.parseDDMMYYYYToISO(end);
|
|
71
|
-
// Set state
|
|
72
68
|
if (start)
|
|
73
69
|
this.startDate = start;
|
|
74
70
|
if (end)
|
|
@@ -93,6 +89,7 @@ const TttxDateRangePicker = class {
|
|
|
93
89
|
if (this.isSelecting) {
|
|
94
90
|
this.startDate = date;
|
|
95
91
|
this.endDate = '';
|
|
92
|
+
this.hoverDate = ''; // Reset hover
|
|
96
93
|
this.emitRangeChange(this.startDate, '');
|
|
97
94
|
this.isSelecting = false;
|
|
98
95
|
}
|
|
@@ -103,40 +100,24 @@ const TttxDateRangePicker = class {
|
|
|
103
100
|
this.emitRangeChange(this.startDate, this.endDate);
|
|
104
101
|
this.showCalendar = false;
|
|
105
102
|
this.isSelecting = true;
|
|
103
|
+
this.hoverDate = ''; // Reset hover
|
|
106
104
|
}
|
|
107
105
|
else {
|
|
108
106
|
this.startDate = date;
|
|
109
107
|
this.endDate = '';
|
|
108
|
+
this.hoverDate = ''; // Reset hover
|
|
110
109
|
this.emitRangeChange(this.startDate, '');
|
|
111
110
|
}
|
|
112
111
|
}
|
|
113
112
|
}
|
|
114
|
-
changeMonth(direction
|
|
115
|
-
let month = calendar === 'left' ? this.leftMonth : this.rightMonth;
|
|
116
|
-
let year = calendar === 'left' ? this.leftYear : this.rightYear;
|
|
113
|
+
changeMonth(direction) {
|
|
117
114
|
if (direction === 'prev') {
|
|
118
|
-
|
|
119
|
-
|
|
115
|
+
this.currentMonth = this.currentMonth === 0 ? 11 : this.currentMonth - 1;
|
|
116
|
+
this.currentYear = this.currentMonth === 11 ? this.currentYear - 1 : this.currentYear;
|
|
120
117
|
}
|
|
121
118
|
else {
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
}
|
|
125
|
-
if (calendar === 'left') {
|
|
126
|
-
this.leftMonth = month;
|
|
127
|
-
this.leftYear = year;
|
|
128
|
-
if (year > this.rightYear || (year === this.rightYear && month >= this.rightMonth)) {
|
|
129
|
-
this.rightMonth = (month + 1) % 12;
|
|
130
|
-
this.rightYear = month === 11 ? year + 1 : year;
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
else {
|
|
134
|
-
this.rightMonth = month;
|
|
135
|
-
this.rightYear = year;
|
|
136
|
-
if (year < this.leftYear || (year === this.leftYear && month <= this.leftMonth)) {
|
|
137
|
-
this.leftMonth = month === 0 ? 11 : month - 1;
|
|
138
|
-
this.leftYear = month === 0 ? year - 1 : year;
|
|
139
|
-
}
|
|
119
|
+
this.currentMonth = this.currentMonth === 11 ? 0 : this.currentMonth + 1;
|
|
120
|
+
this.currentYear = this.currentMonth === 0 ? this.currentYear + 1 : this.currentYear;
|
|
140
121
|
}
|
|
141
122
|
}
|
|
142
123
|
formatToDDMMYYYY(dateStr) {
|
|
@@ -146,6 +127,10 @@ const TttxDateRangePicker = class {
|
|
|
146
127
|
const year = date.getFullYear();
|
|
147
128
|
return `${day}/${month}/${year}`;
|
|
148
129
|
}
|
|
130
|
+
parseDDMMYYYYToISO(dateStr) {
|
|
131
|
+
const [dd, mm, yyyy] = dateStr.split('/');
|
|
132
|
+
return new Date(`${yyyy}-${mm}-${dd}`).toISOString().split('T')[0];
|
|
133
|
+
}
|
|
149
134
|
generateCalendarGrid(year, month) {
|
|
150
135
|
const firstDay = new Date(year, month, 1).getDay();
|
|
151
136
|
const daysInMonth = new Date(year, month + 1, 0).getDate();
|
|
@@ -158,7 +143,7 @@ const TttxDateRangePicker = class {
|
|
|
158
143
|
const yyyy = dateObj.getFullYear();
|
|
159
144
|
const mm = String(dateObj.getMonth() + 1).padStart(2, '0');
|
|
160
145
|
const dd = String(dateObj.getDate()).padStart(2, '0');
|
|
161
|
-
const formattedDate = `${yyyy}-${mm}-${dd}`;
|
|
146
|
+
const formattedDate = `${yyyy}-${mm}-${dd}`;
|
|
162
147
|
grid.push({ date: formattedDate, isCurrentMonth: true });
|
|
163
148
|
}
|
|
164
149
|
while (grid.length < 42) {
|
|
@@ -169,14 +154,11 @@ const TttxDateRangePicker = class {
|
|
|
169
154
|
getMonthName(month) {
|
|
170
155
|
return new Date(2000, month).toLocaleString('default', { month: 'long' });
|
|
171
156
|
}
|
|
172
|
-
|
|
173
|
-
const [dd, mm, yyyy] = dateStr.split('/');
|
|
174
|
-
return new Date(`${yyyy}-${mm}-${dd}`).toISOString().split('T')[0]; // ISO string
|
|
175
|
-
}
|
|
176
|
-
renderCalendar(year, month, selectDate, isStart) {
|
|
157
|
+
renderCalendar(year, month, selectDate) {
|
|
177
158
|
const grid = this.generateCalendarGrid(year, month);
|
|
178
159
|
const weekDays = ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'];
|
|
179
|
-
return (h("div", { class: "calendar" }, h("div", { class: "calendar-header" }, h("button", { class: "nav-btn", onClick: e => { e.stopPropagation(); this.changeMonth('prev'
|
|
160
|
+
return (h("div", { class: "calendar" }, h("div", { class: "calendar-header" }, h("button", { class: "nav-btn", onClick: e => { e.stopPropagation(); this.changeMonth('prev'); } }, "<"), h("span", { class: "month-label" }, this.getMonthName(month), " ", year), h("button", { class: "nav-btn", onClick: e => { e.stopPropagation(); this.changeMonth('next'); } }, ">")), h("div", { class: "calendar-grid" }, weekDays.map(day => h("div", { class: "calendar-weekday", key: day }, day)), grid.map((cell, i) => {
|
|
161
|
+
var _a;
|
|
180
162
|
if (!cell.isCurrentMonth || !cell.date) {
|
|
181
163
|
return h("div", { class: "calendar-date empty", key: `empty-${i}` });
|
|
182
164
|
}
|
|
@@ -187,12 +169,34 @@ const TttxDateRangePicker = class {
|
|
|
187
169
|
this.endDate &&
|
|
188
170
|
new Date(date) > new Date(this.startDate) &&
|
|
189
171
|
new Date(date) < new Date(this.endDate);
|
|
172
|
+
const isHoverRange = this.startDate &&
|
|
173
|
+
!this.endDate &&
|
|
174
|
+
this.hoverDate &&
|
|
175
|
+
new Date(date) > new Date(this.startDate) &&
|
|
176
|
+
new Date(date) <= new Date(this.hoverDate);
|
|
177
|
+
const prevDate = (_a = grid[i - 1]) === null || _a === void 0 ? void 0 : _a.date;
|
|
178
|
+
const isHoverStart = isHoverRange && (i === 0 ||
|
|
179
|
+
!prevDate ||
|
|
180
|
+
(this.startDate && new Date(prevDate) < new Date(this.startDate)));
|
|
181
|
+
const isHoverEnd = isHoverRange && date === this.hoverDate;
|
|
190
182
|
return (h("div", { class: {
|
|
191
183
|
'calendar-date': true,
|
|
192
184
|
'range-start': isRangeStart,
|
|
193
185
|
'range-end': isRangeEnd,
|
|
194
186
|
'inrange': isInRange,
|
|
195
|
-
|
|
187
|
+
'hoverrange': isHoverRange,
|
|
188
|
+
'range-hover-start': isHoverStart,
|
|
189
|
+
'range-hover-end': isHoverEnd,
|
|
190
|
+
}, onClick: e => {
|
|
191
|
+
e.stopPropagation();
|
|
192
|
+
selectDate(date);
|
|
193
|
+
}, onMouseEnter: () => {
|
|
194
|
+
if (!this.isSelecting && this.startDate) {
|
|
195
|
+
this.hoverDate = date;
|
|
196
|
+
}
|
|
197
|
+
}, onMouseLeave: () => {
|
|
198
|
+
this.hoverDate = '';
|
|
199
|
+
}, key: date }, new Date(date).getDate()));
|
|
196
200
|
}))));
|
|
197
201
|
}
|
|
198
202
|
render() {
|
|
@@ -201,7 +205,7 @@ const TttxDateRangePicker = class {
|
|
|
201
205
|
: this.startDate
|
|
202
206
|
? `${this.formatToDDMMYYYY(this.startDate)} –`
|
|
203
207
|
: this.placeholderText;
|
|
204
|
-
return (h(Host, null, h("div", { class: "date-range-input", tabIndex: 0, "aria-haspopup": "dialog", "aria-expanded": this.showCalendar ? 'true' : 'false', ref: el => (this.inputRef = el), onClick: this.handleInputClick }, h("span", { class: "range-text" }, rangeText), (this.startDate || this.endDate) && (h("button", { class: "clear-btn", "aria-label": "Clear", onClick: this.handleClear }, "\u00D7")), h("span", { class: "calendar-icon", "aria-hidden": "true" }, h("tttx-
|
|
208
|
+
return (h(Host, null, h("div", { class: "date-range-input", tabIndex: 0, "aria-haspopup": "dialog", "aria-expanded": this.showCalendar ? 'true' : 'false', ref: el => (this.inputRef = el), onClick: this.handleInputClick }, h("span", { class: "range-text" }, rangeText), (this.startDate || this.endDate) && (h("button", { class: "clear-btn", "aria-label": "Clear", onClick: this.handleClear }, "\u00D7")), h("span", { class: "calendar-icon", "aria-hidden": "true" }, h("tttx-icon_1_9_58", { icon: 'calendar_month' }))), this.showCalendar && (h("div", { class: "calendar-popup single" }, this.renderCalendar(this.currentYear, this.currentMonth, this.handleDateClick.bind(this))))));
|
|
205
209
|
}
|
|
206
210
|
static get watchers() { return {
|
|
207
211
|
"initialValue": ["watchInitialValue"]
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-3d473f8b.js';
|
|
2
2
|
import { p as purify, d as domSanitiserOptions } from './domsanitiser.options-38a67458.js';
|
|
3
3
|
import './_commonjsHelpers-9943807e.js';
|
|
4
4
|
|
|
@@ -56,7 +56,7 @@ const TttxDialogBox = class {
|
|
|
56
56
|
const iconColor = header.iconColor;
|
|
57
57
|
const iconEnabled = header.hasIcon ? true : false;
|
|
58
58
|
const closeEnabled = header.hasClose ? true : false;
|
|
59
|
-
return (h("div", { class: "dialog-box-header" }, iconEnabled && h("tttx-
|
|
59
|
+
return (h("div", { class: "dialog-box-header" }, iconEnabled && h("tttx-icon_1_9_58", { class: "dialog-box-icon", icon: iconName, color: iconColor }), h("h3", { class: "dialog-box-title" }, title), closeEnabled && (h("div", { class: "dialog-box-align-right close-button", onClick: () => this.onCloseClickHandler() }, h("tttx-icon_1_9_58", { class: "dialog-box-icon-close dialog-box-clickable", icon: "close", color: "black" })))));
|
|
60
60
|
}
|
|
61
61
|
renderContent(content) {
|
|
62
62
|
if (content.isCustomHtml) {
|
|
@@ -73,7 +73,7 @@ const TttxDialogBox = class {
|
|
|
73
73
|
const button2Enabled = button.length > 1;
|
|
74
74
|
const button3Enabled = button.length == 3;
|
|
75
75
|
const isMobile = this.elementSize === 'mobile';
|
|
76
|
-
return (h("div", { class: "dialog-box-footer" }, h("div", { class: "dialog-box-align-right" }, button3Enabled && (h("tttx-
|
|
76
|
+
return (h("div", { class: "dialog-box-footer" }, h("div", { class: "dialog-box-align-right" }, button3Enabled && (h("tttx-button_1_9_58", { class: "dialog-box-spacing-button", onClick: () => this.onButtonClickHandler(3), design: button[2].type, notext: isMobile, icon: button[2].icon }, !isMobile && button[2].name)), button2Enabled && (h("tttx-button_1_9_58", { class: "dialog-box-spacing-button", onClick: () => this.onButtonClickHandler(2), design: button[1].type, icon: button[1].icon }, button[1].name)), button1Enabled && (h("tttx-button_1_9_58", { onClick: () => this.onButtonClickHandler(1), design: button[0].type, icon: button[0].icon }, button[0].name)))));
|
|
77
77
|
}
|
|
78
78
|
componentWillLoad() {
|
|
79
79
|
if (window.innerWidth < 698) {
|
|
@@ -98,4 +98,4 @@ const TttxDialogBox = class {
|
|
|
98
98
|
};
|
|
99
99
|
TttxDialogBox.style = tttxDialogBoxCss;
|
|
100
100
|
|
|
101
|
-
export { TttxDialogBox as
|
|
101
|
+
export { TttxDialogBox as tttx_dialog_box_1_9_58 };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-3d473f8b.js';
|
|
2
2
|
|
|
3
3
|
const ICON_TYPES = {
|
|
4
4
|
critical: { iconName: 'report', iconColor: 'red' },
|
|
@@ -46,7 +46,7 @@ const TttxDialog = class {
|
|
|
46
46
|
renderHeader() {
|
|
47
47
|
const iconEnabled = typeof this.type !== 'undefined';
|
|
48
48
|
const { iconName, iconColor } = this.headerIconDetails(iconEnabled);
|
|
49
|
-
return (h("div", { class: `padding header ${this.type || ''}` }, iconEnabled && h("tttx-
|
|
49
|
+
return (h("div", { class: `padding header ${this.type || ''}` }, iconEnabled && h("tttx-icon_1_9_58", { class: "icon", icon: iconName, color: iconColor }), h("h3", { class: "title", title: this.header }, this.header), this.closeEnabled && (h("tttx-button_1_9_58", { class: "align-right close-button", design: "borderless-circle", icon: "close", color: "black", notext: true, onClick: () => this.onCloseClickHandler() }))));
|
|
50
50
|
}
|
|
51
51
|
body() {
|
|
52
52
|
return (h("div", { class: `body ${!this.allowOverflow ? 'overflow-hidden' : ''}` }, h("span", { class: "body-content" }, h("slot", null))));
|
|
@@ -74,4 +74,4 @@ const TttxDialog = class {
|
|
|
74
74
|
};
|
|
75
75
|
TttxDialog.style = tttxDialogCss;
|
|
76
76
|
|
|
77
|
-
export { TttxDialog as
|
|
77
|
+
export { TttxDialog as tttx_dialog_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 tttxExpanderCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}:host{display:block}.expander{border-bottom:1px solid #d5d5d5}.expander[open] .panel .open{display:initial}.expander[open] .panel .closed{display:none}.expander:not([open]) .panel .open{display:none}.expander:not([open]) .panel .closed{display:initial}.expander .panel{display:flex;gap:4px;height:36px;align-items:center;justify-content:space-between;cursor:pointer;user-select:none}.expander .panel .panel-frame{display:flex;gap:4px;height:36px;align-items:center}.expander .panel .panel-frame .name{font-size:16px;font-weight:500;color:#212121}.expander .panel .left-icons,.expander .panel .expand-button{display:flex;height:36px;width:36px;align-items:center;justify-content:center}.expander .panel .left-icons>tttx-icon,.expander .panel .expand-button>tttx-icon{height:24px;cursor:inherit}.expander .content{margin-top:8px;margin-bottom:8px}";
|
|
4
4
|
|
|
@@ -26,9 +26,9 @@ const TttxExpander = class {
|
|
|
26
26
|
this.toggleExpander.emit({ open: this.isExpanded, name: this.name });
|
|
27
27
|
}
|
|
28
28
|
render() {
|
|
29
|
-
return (h(Host, null, h("details", { class: "expander", open: this.open, "aria-owns": "expanderContent", "aria-expanded": `${this.isExpanded}`, onClick: this.handleExpand.bind(this), ref: el => (this.expander = el) }, h("summary", { class: "panel" }, h("span", { class: "panel-frame" }, this.lefticon && (h("span", { class: "left-icons" }, h("tttx-
|
|
29
|
+
return (h(Host, null, h("details", { class: "expander", open: this.open, "aria-owns": "expanderContent", "aria-expanded": `${this.isExpanded}`, onClick: this.handleExpand.bind(this), ref: el => (this.expander = el) }, h("summary", { class: "panel" }, h("span", { class: "panel-frame" }, this.lefticon && (h("span", { class: "left-icons" }, h("tttx-icon_1_9_58", { icon: this.lefticon, color: this.lefticoncolor }))), h("span", { class: "name" }, this.name)), h("span", { class: "expand-button" }, h("tttx-icon_1_9_58", { class: "open", icon: "expand_more", color: "black" }), h("tttx-icon_1_9_58", { class: "closed", icon: "chevron_right", color: "black" }))), h("div", { id: "expanderContent", class: "content", tabindex: "0" }, h("slot", null)))));
|
|
30
30
|
}
|
|
31
31
|
};
|
|
32
32
|
TttxExpander.style = tttxExpanderCss;
|
|
33
33
|
|
|
34
|
-
export { TttxExpander as
|
|
34
|
+
export { TttxExpander as tttx_expander_1_9_58 };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement, F as Fragment } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement, F as Fragment } from './index-3d473f8b.js';
|
|
2
2
|
import { p as purify, d as domSanitiserOptions } from './domsanitiser.options-38a67458.js';
|
|
3
3
|
import './_commonjsHelpers-9943807e.js';
|
|
4
4
|
|
|
@@ -178,10 +178,10 @@ const TttxFilter = class {
|
|
|
178
178
|
const selectAllCheckboxColor = this.allSelected ? 'blue' : 'grey';
|
|
179
179
|
const buttonStyleClassNameModifier = this.getFilterButtonClassName(this.filterButtonStyle);
|
|
180
180
|
const filterKey = `filter__${this.filterKey}`;
|
|
181
|
-
return (h(Host, { id: filterKey }, h("div", { class: 'filter-container' }, h("button", { class: `filter-button ${buttonStyleClassNameModifier}`, type: 'button', onClick: this.onFilterButtonClick.bind(this) }, h("tttx-
|
|
181
|
+
return (h(Host, { id: filterKey }, h("div", { class: 'filter-container' }, h("button", { class: `filter-button ${buttonStyleClassNameModifier}`, type: 'button', onClick: this.onFilterButtonClick.bind(this) }, h("tttx-icon_1_9_58", { icon: 'filter_list', class: 'filter-icon', color: 'black' }), "Filter"), this.showPopover && (h("div", { class: `filter-popover-container ${filterPopoverContainerClassNameModifier}`, style: { width: this.popoverWidth } }, h("div", { class: 'filter-header' }, this.filterHeader), this.showSearchField ? (h("div", { class: 'search-field-container' }, h("tttx-icon_1_9_58", { icon: 'search', class: 'search-icon' }), h("input", { type: 'text', class: 'search-input', placeholder: 'Search', value: this.filterSearchTerm, onInput: this.handleFilterChange.bind(this) }))) : (''), h("div", { class: 'filter-options-container' }, this.showSelectAll ? (h("div", { class: 'filter-option', tabIndex: -1, onClick: this.onSelectAllClick.bind(this) }, h("tttx-icon_1_9_58", { icon: selectAllCheckboxIcon, color: selectAllCheckboxColor, class: 'select-all-icon' }), h("label", { class: 'filter-label' }, "Select all"))) : (''), this.displayedFilterSettings.map((option) => {
|
|
182
182
|
const checkboxIcon = this.selectedFilters.includes(option.optionText) ? 'check_box' : 'check_box_outline_blank';
|
|
183
183
|
const checkboxColor = this.selectedFilters.includes(option.optionText) ? 'blue' : 'grey';
|
|
184
|
-
return h("div", { class: 'filter-option', tabIndex: -1, onClick: () => this.onFilterOptionSelected(option.optionText), key: option.optionText }, h("tttx-
|
|
184
|
+
return h("div", { class: 'filter-option', tabIndex: -1, onClick: () => this.onFilterOptionSelected(option.optionText), key: option.optionText }, h("tttx-icon_1_9_58", { icon: checkboxIcon, color: checkboxColor, class: 'checkbox-icon' }), this.showOptionIcons && h("tttx-icon_1_9_58", { icon: option.optionIcon, color: option.optionIconColor }), h("label", { class: 'filter-label' }, option.optionText));
|
|
185
185
|
})), h("div", { class: 'filter-popover-button-container' }, h("button", { type: 'button', class: 'close-button', onClick: this.onCloseButtonClick.bind(this) }, "Close"), h("button", { type: 'button', class: 'apply-button', onClick: this.onApplyFilterButtonClick.bind(this) }, "Apply")))))));
|
|
186
186
|
}
|
|
187
187
|
get el() { return getElement(this); }
|
|
@@ -239,9 +239,9 @@ const TttxList = class {
|
|
|
239
239
|
else {
|
|
240
240
|
element = h("span", { class: "item-content" }, item.element);
|
|
241
241
|
}
|
|
242
|
-
return (h(Fragment, null, item.hasCheckbox && (h("div", { class: "checkbox" }, h("tttx-
|
|
242
|
+
return (h(Fragment, null, item.hasCheckbox && (h("div", { class: "checkbox" }, h("tttx-icon_1_9_58", { icon: item.checked ? 'check_box' : 'check_box_outline_blank', color: item.checked ? 'blue' : 'grey', onClick: event => {
|
|
243
243
|
this.onRowCheckboxHandler(event, item);
|
|
244
|
-
} }))), item.element && element, item.icon && (h("span", { class: "icons" }, h("tttx-
|
|
244
|
+
} }))), item.element && element, item.icon && (h("span", { class: "icons" }, h("tttx-icon_1_9_58", { class: "align-right", icon: item.icon, color: 'black' })))));
|
|
245
245
|
}
|
|
246
246
|
render() {
|
|
247
247
|
if (!this._data)
|
|
@@ -363,7 +363,7 @@ const TttxSorter = class {
|
|
|
363
363
|
const selectedOption = this.selectedField;
|
|
364
364
|
const dropdownSelectorClassNameModifier = this.dropdownExpand ? '--expanded' : '';
|
|
365
365
|
const sorterKey = `sorter__${this.sorterKey}`;
|
|
366
|
-
return (h(Host, { id: sorterKey }, h("div", { tabindex: 0, class: `sorter-container ${dropdownSelectorClassNameModifier}` }, h("button", { class: "arrow-toggle-button", type: "button", onClick: this.onSortToggleClick.bind(this) }, h("tttx-
|
|
366
|
+
return (h(Host, { id: sorterKey }, h("div", { tabindex: 0, class: `sorter-container ${dropdownSelectorClassNameModifier}` }, h("button", { class: "arrow-toggle-button", type: "button", onClick: this.onSortToggleClick.bind(this) }, h("tttx-icon_1_9_58", { icon: arrowIcon, color: "black" })), h("div", { class: "dropdown-selector", onClick: this.onDropdownClicked.bind(this) }, h("div", { class: "dropdown-selector-button" }, h("div", { class: "dropdown-selector-text" }, selectedOption), h("div", { class: "dropdown-selector-chevron" }, h("tttx-icon_1_9_58", { icon: chevronIcon, color: "black" })))), this.dropdownExpand && (h("div", { class: "dropdown-options-list" }, parsedFieldOptionsData.sorterOptions.map(option => {
|
|
367
367
|
return (h("div", { class: "dropdown-option", tabIndex: -1, onClick: this.onDropdownSelected.bind(this), key: option.optionLabel }, option.optionLabel));
|
|
368
368
|
}))))));
|
|
369
369
|
}
|
|
@@ -399,4 +399,4 @@ const TttxToolbar = class {
|
|
|
399
399
|
};
|
|
400
400
|
TttxToolbar.style = tttxToolbarCss;
|
|
401
401
|
|
|
402
|
-
export { TttxFilter as
|
|
402
|
+
export { TttxFilter as tttx_filter_1_9_58, TttxList as tttx_list_1_9_58, TttxSorter as tttx_sorter_1_9_58, TttxToolbar as tttx_toolbar_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
|
import { p as purify, d as domSanitiserOptions } from './domsanitiser.options-38a67458.js';
|
|
3
3
|
import './_commonjsHelpers-9943807e.js';
|
|
4
4
|
|
|
@@ -352,7 +352,7 @@ const TttxForm = class {
|
|
|
352
352
|
if ((_b = this._data) === null || _b === void 0 ? void 0 : _b[formKey]) {
|
|
353
353
|
select.classList.remove('placeholder');
|
|
354
354
|
}
|
|
355
|
-
const tttxSelect = document.createElement('tttx-select-
|
|
355
|
+
const tttxSelect = document.createElement('tttx-select-box_1_9_58');
|
|
356
356
|
tttxSelect.optionsData = (_c = formProperties.options) === null || _c === void 0 ? void 0 : _c.filter(o => !o.placeholder);
|
|
357
357
|
tttxSelect.placeholder = (_e = (_d = formProperties.options) === null || _d === void 0 ? void 0 : _d.filter(o => o.placeholder)[0]) === null || _e === void 0 ? void 0 : _e.label;
|
|
358
358
|
tttxSelect.inline = false;
|
|
@@ -995,4 +995,4 @@ const TttxForm = class {
|
|
|
995
995
|
};
|
|
996
996
|
TttxForm.style = tttxFormCss;
|
|
997
997
|
|
|
998
|
-
export { TttxForm as
|
|
998
|
+
export { TttxForm as tttx_form_1_9_58 };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
1
|
+
import { r as registerInstance, h } from './index-3d473f8b.js';
|
|
2
2
|
|
|
3
3
|
const gaugeLabelPlugin = {
|
|
4
4
|
id: 'gaugeLabel',
|
|
@@ -14908,4 +14908,4 @@ const TttxGraph = class {
|
|
|
14908
14908
|
};
|
|
14909
14909
|
TttxGraph.style = tttxGraphCss;
|
|
14910
14910
|
|
|
14911
|
-
export { TttxGraph as
|
|
14911
|
+
export { TttxGraph as tttx_graph_1_9_58 };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-3d473f8b.js';
|
|
2
2
|
|
|
3
3
|
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}";
|
|
4
4
|
|
|
@@ -27,4 +27,4 @@ const TttxIcon = class {
|
|
|
27
27
|
};
|
|
28
28
|
TttxIcon.style = tttxIconCss;
|
|
29
29
|
|
|
30
|
-
export { TttxIcon as
|
|
30
|
+
export { TttxIcon as tttx_icon_1_9_58 };
|
package/dist/esm/{tttx-keyvalue-block_1_9_56.entry.js → tttx-keyvalue-block_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 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}}";
|
|
4
4
|
|
|
@@ -65,4 +65,4 @@ const TttxKeyvalueBlock = class {
|
|
|
65
65
|
};
|
|
66
66
|
TttxKeyvalueBlock.style = tttxKeyvalueBlockCss;
|
|
67
67
|
|
|
68
|
-
export { TttxKeyvalueBlock as
|
|
68
|
+
export { TttxKeyvalueBlock as tttx_keyvalue_block_1_9_58 };
|
package/dist/esm/{tttx-loading-spinner_1_9_56_3.entry.js → tttx-loading-spinner_1_9_58_3.entry.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, c as createEvent, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, h, c as createEvent, H as Host } from './index-3d473f8b.js';
|
|
2
2
|
|
|
3
3
|
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)}}";
|
|
4
4
|
|
|
@@ -67,7 +67,7 @@ const TttxLoadingSpinner = class {
|
|
|
67
67
|
};
|
|
68
68
|
TttxLoadingSpinner.style = tttxLoadingSpinnerCss;
|
|
69
69
|
|
|
70
|
-
const tttxStandaloneInputCss = ".material-symbols-rounded.sc-tttx-standalone-
|
|
70
|
+
const tttxStandaloneInputCss = ".material-symbols-rounded.sc-tttx-standalone-input_1_9_58{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.material-symbols-rounded.sc-tttx-standalone-input_1_9_58{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}label.sc-tttx-standalone-input_1_9_58{font-weight:500;font-size:16px;line-height:18.752px;color:#212121}label.sc-tttx-standalone-input_1_9_58 .optional.sc-tttx-standalone-input_1_9_58{color:#757575;font-weight:normal}label.sc-tttx-standalone-input_1_9_58 .outer-container.sc-tttx-standalone-input_1_9_58{position:relative}label.sc-tttx-standalone-input_1_9_58 .outer-container.sc-tttx-standalone-input_1_9_58 .left-icons.sc-tttx-standalone-input_1_9_58,label.sc-tttx-standalone-input_1_9_58 .outer-container.sc-tttx-standalone-input_1_9_58 .right-icons.sc-tttx-standalone-input_1_9_58{display:flex;position:absolute;height:24px;gap:8px}label.sc-tttx-standalone-input_1_9_58 .outer-container.sc-tttx-standalone-input_1_9_58 .left-icons.sc-tttx-standalone-input_1_9_58 tttx-icon.sc-tttx-standalone-input_1_9_58,label.sc-tttx-standalone-input_1_9_58 .outer-container.sc-tttx-standalone-input_1_9_58 .right-icons.sc-tttx-standalone-input_1_9_58 tttx-icon.sc-tttx-standalone-input_1_9_58{height:24px;width:24px}label.sc-tttx-standalone-input_1_9_58 .outer-container.sc-tttx-standalone-input_1_9_58 .left-icons.sc-tttx-standalone-input_1_9_58{left:8px}label.sc-tttx-standalone-input_1_9_58 .outer-container.sc-tttx-standalone-input_1_9_58 .right-icons.sc-tttx-standalone-input_1_9_58{right:8px}label.sc-tttx-standalone-input_1_9_58 .outer-container.sc-tttx-standalone-input_1_9_58 input.sc-tttx-standalone-input_1_9_58,label.sc-tttx-standalone-input_1_9_58 .outer-container.sc-tttx-standalone-input_1_9_58 textarea.sc-tttx-standalone-input_1_9_58{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_58 .outer-container.sc-tttx-standalone-input_1_9_58 input.has-input-icon.sc-tttx-standalone-input_1_9_58,label.sc-tttx-standalone-input_1_9_58 .outer-container.sc-tttx-standalone-input_1_9_58 textarea.has-input-icon.sc-tttx-standalone-input_1_9_58{padding-left:40px}label.sc-tttx-standalone-input_1_9_58 .outer-container.sc-tttx-standalone-input_1_9_58 input.has-input-icon.has-left-icon.sc-tttx-standalone-input_1_9_58,label.sc-tttx-standalone-input_1_9_58 .outer-container.sc-tttx-standalone-input_1_9_58 textarea.has-input-icon.has-left-icon.sc-tttx-standalone-input_1_9_58{padding-left:72px}label.sc-tttx-standalone-input_1_9_58 .outer-container.sc-tttx-standalone-input_1_9_58 input.has-left-icon.sc-tttx-standalone-input_1_9_58,label.sc-tttx-standalone-input_1_9_58 .outer-container.sc-tttx-standalone-input_1_9_58 textarea.has-left-icon.sc-tttx-standalone-input_1_9_58{padding-left:40px}label.sc-tttx-standalone-input_1_9_58 .outer-container.sc-tttx-standalone-input_1_9_58 input.has-right-icon.sc-tttx-standalone-input_1_9_58,label.sc-tttx-standalone-input_1_9_58 .outer-container.sc-tttx-standalone-input_1_9_58 textarea.has-right-icon.sc-tttx-standalone-input_1_9_58{padding-right:40px}label.sc-tttx-standalone-input_1_9_58 .outer-container.sc-tttx-standalone-input_1_9_58 input.invalid.sc-tttx-standalone-input_1_9_58,label.sc-tttx-standalone-input_1_9_58 .outer-container.sc-tttx-standalone-input_1_9_58 textarea.invalid.sc-tttx-standalone-input_1_9_58{border:1px solid #dc0000}label.sc-tttx-standalone-input_1_9_58 .outer-container.sc-tttx-standalone-input_1_9_58 input.sc-tttx-standalone-input_1_9_58:not([type=submit]),label.sc-tttx-standalone-input_1_9_58 .outer-container.sc-tttx-standalone-input_1_9_58 textarea.sc-tttx-standalone-input_1_9_58: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_58 .outer-container.sc-tttx-standalone-input_1_9_58 input[type=radio].sc-tttx-standalone-input_1_9_58,label.sc-tttx-standalone-input_1_9_58 .outer-container.sc-tttx-standalone-input_1_9_58 textarea[type=radio].sc-tttx-standalone-input_1_9_58{width:20px;height:20px}label.sc-tttx-standalone-input_1_9_58 .outer-container.sc-tttx-standalone-input_1_9_58 input[type=date].sc-tttx-standalone-input_1_9_58,label.sc-tttx-standalone-input_1_9_58 .outer-container.sc-tttx-standalone-input_1_9_58 textarea[type=date].sc-tttx-standalone-input_1_9_58{background:white;display:block;min-width:calc(100% - 18px);line-height:37px}label.sc-tttx-standalone-input_1_9_58 .outer-container.sc-tttx-standalone-input_1_9_58 input[readonly].sc-tttx-standalone-input_1_9_58,label.sc-tttx-standalone-input_1_9_58 .outer-container.sc-tttx-standalone-input_1_9_58 textarea[readonly].sc-tttx-standalone-input_1_9_58{cursor:default;pointer-events:none;user-select:none;color:gray}label.sc-tttx-standalone-input_1_9_58 .outer-container.sc-tttx-standalone-input_1_9_58 input.sc-tttx-standalone-input_1_9_58:focus,label.sc-tttx-standalone-input_1_9_58 .outer-container.sc-tttx-standalone-input_1_9_58 textarea.sc-tttx-standalone-input_1_9_58:focus{border-color:#1479c6}label.sc-tttx-standalone-input_1_9_58 .outer-container.sc-tttx-standalone-input_1_9_58 input.sc-tttx-standalone-input_1_9_58:focus-visible,label.sc-tttx-standalone-input_1_9_58 .outer-container.sc-tttx-standalone-input_1_9_58 textarea.sc-tttx-standalone-input_1_9_58:focus-visible{outline:none}label.sc-tttx-standalone-input_1_9_58 .outer-container.sc-tttx-standalone-input_1_9_58 textarea.sc-tttx-standalone-input_1_9_58{padding:8px;height:auto;min-height:100px;resize:vertical}label.sc-tttx-standalone-input_1_9_58 .outer-container.sc-tttx-standalone-input_1_9_58 textarea.resize-none.sc-tttx-standalone-input_1_9_58{resize:none}label.sc-tttx-standalone-input_1_9_58 .outer-container.inputBlock.sc-tttx-standalone-input_1_9_58{display:flex;align-items:center;line-height:21px}label.sc-tttx-standalone-input_1_9_58 .outer-container.inputBlock.sc-tttx-standalone-input_1_9_58 .left-icons.sc-tttx-standalone-input_1_9_58,label.sc-tttx-standalone-input_1_9_58 .outer-container.inputBlock.sc-tttx-standalone-input_1_9_58 .right-icons.sc-tttx-standalone-input_1_9_58{margin-top:4px}label.sc-tttx-standalone-input_1_9_58 .outer-container.inputBlock.readonly.sc-tttx-standalone-input_1_9_58{pointer-events:none;user-select:none;color:gray}label.sc-tttx-standalone-input_1_9_58 .outer-container.inputBlock.radioBlock.sc-tttx-standalone-input_1_9_58{display:block}label.sc-tttx-standalone-input_1_9_58 .outer-container.inputInline.sc-tttx-standalone-input_1_9_58{display:flex;white-space:nowrap;align-items:center;margin:0}label.sc-tttx-standalone-input_1_9_58 .outer-container.inputInline.sc-tttx-standalone-input_1_9_58 input.sc-tttx-standalone-input_1_9_58{margin-top:0}label.sc-tttx-standalone-input_1_9_58 .secondarylabel.sc-tttx-standalone-input_1_9_58{color:#757575;font-size:14px;line-height:16.408px;font-weight:normal;display:flex;margin-top:4px}label.sc-tttx-standalone-input_1_9_58 .errorBubble.sc-tttx-standalone-input_1_9_58{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_58 .errorBubble.sc-tttx-standalone-input_1_9_58:not(.visible){display:none}label.sc-tttx-standalone-input_1_9_58 .errorBubble.sc-tttx-standalone-input_1_9_58 span.sc-tttx-standalone-input_1_9_58{color:#dc0000;font-size:16px;margin-right:4px}.material-symbols-rounded.sc-tttx-standalone-input_1_9_58{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_58-h{display:block}";
|
|
71
71
|
|
|
72
72
|
const TttxInput = class {
|
|
73
73
|
constructor(hostRef) {
|
|
@@ -149,7 +149,7 @@ const TttxInput = class {
|
|
|
149
149
|
this.iconleft ? 'has-left-icon' : '',
|
|
150
150
|
this.iconright ? 'has-right-icon' : '',
|
|
151
151
|
].join(' ');
|
|
152
|
-
return (h(Host, null, h("label", null, this.label, !this.required ? h("span", { class: "optional" }, "\u00A0(optional)") : '', h("div", { class: ['outer-container', this.inline ? 'inputInline' : 'inputBlock'].join(' ') }, 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) && (h("span", { class: "left-icons" }, this.inputicon && (h("tttx-
|
|
152
|
+
return (h(Host, null, h("label", null, this.label, !this.required ? h("span", { class: "optional" }, "\u00A0(optional)") : '', h("div", { class: ['outer-container', this.inline ? 'inputInline' : 'inputBlock'].join(' ') }, 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) && (h("span", { class: "left-icons" }, this.inputicon && (h("tttx-icon_1_9_58", { class: "input-icon", icon: this.inputicon, color: this.inputiconcolor, onClick: this.handleInputIconClick.bind(this) })), this.iconleft && (h("tttx-icon_1_9_58", { class: "left-icon", icon: this.iconleft, color: this.iconleftcolor, onClick: this.handleLeftIconClick.bind(this) })))), this.iconright && (h("span", { class: "right-icons" }, h("tttx-icon_1_9_58", { class: "right-icon", icon: this.iconright, color: this.iconrightcolor, onClick: this.handleRightIconClick.bind(this) })))), this.secondarylabel && h("span", { class: "secondarylabel" }, this.secondarylabel), this.showerrorbubble && (h("span", { class: ['errorBubble', this.showerrormsg && this.errormsg ? 'visible' : ''].join(' ') }, h("span", { class: "material-symbols-rounded" }, "warning"), " ", this.errormsg)))));
|
|
153
153
|
}
|
|
154
154
|
};
|
|
155
155
|
TttxInput.style = tttxStandaloneInputCss;
|
|
@@ -169,9 +169,9 @@ const TttxTag = class {
|
|
|
169
169
|
}
|
|
170
170
|
render() {
|
|
171
171
|
return (h(Host, null, h("div", { class: "tag", style: { 'background-color': this.color, color: this.textColor } }, this.hasIcon &&
|
|
172
|
-
h("tttx-
|
|
172
|
+
h("tttx-icon_1_9_58", { role: "icon", class: "tag_icon", "aria-label": this.text, icon: this.icon, color: this.iconColor, size: this.iconSize }), h("span", null, this.text))));
|
|
173
173
|
}
|
|
174
174
|
};
|
|
175
175
|
TttxTag.style = tttxTagCss;
|
|
176
176
|
|
|
177
|
-
export { TttxLoadingSpinner as
|
|
177
|
+
export { TttxLoadingSpinner as tttx_loading_spinner_1_9_58, TttxInput as tttx_standalone_input_1_9_58, TttxTag as tttx_tag_1_9_58 };
|
package/dist/esm/{tttx-multiselect-box_1_9_56.entry.js → tttx-multiselect-box_1_9_58.entry.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, F as Fragment, H as Host, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, F as Fragment, H as Host, g as getElement } from './index-3d473f8b.js';
|
|
2
2
|
import { p as purify, d as domSanitiserOptions } from './domsanitiser.options-38a67458.js';
|
|
3
3
|
import './_commonjsHelpers-9943807e.js';
|
|
4
4
|
|
|
@@ -121,9 +121,9 @@ const TttxMultiselectBox = class {
|
|
|
121
121
|
}
|
|
122
122
|
// render priority options at the top of the dropdown list
|
|
123
123
|
return (h(Fragment, null, usingPriority && priorityOptions.length > 0 &&
|
|
124
|
-
h(Fragment, null, h("tttx-
|
|
124
|
+
h(Fragment, null, h("tttx-tag_1_9_58", { class: 'priority-pill', text: this.priorityLabel, color: "#F0F0F0" }), priorityOptions.map((option) => this.dropdownOption(option))), nonPriorityOptions.length > 0 &&
|
|
125
125
|
h(Fragment, null, usingPriority &&
|
|
126
|
-
h("tttx-
|
|
126
|
+
h("tttx-tag_1_9_58", { class: 'priority-pill', text: this.nonPriorityLabel, color: "#F0F0F0" }), nonPriorityOptions.map((option) => this.dropdownOption(option)))));
|
|
127
127
|
}
|
|
128
128
|
dropdownOption(option) {
|
|
129
129
|
// This is tested in e2e tests
|
|
@@ -134,11 +134,11 @@ const TttxMultiselectBox = class {
|
|
|
134
134
|
const sanitisedHTML = purify.sanitize(option.html, domSanitiserOptions);
|
|
135
135
|
// This is tested in e2e tests
|
|
136
136
|
/* istanbul ignore next */
|
|
137
|
-
return (h("div", { class: `dropdown-option ${option.selected ? 'selected' : ''}`, onClick: this.onItemSelected.bind(this, option), key: option.label }, h("tttx-
|
|
137
|
+
return (h("div", { class: `dropdown-option ${option.selected ? 'selected' : ''}`, onClick: this.onItemSelected.bind(this, option), key: option.label }, h("tttx-icon_1_9_58", { icon: checkboxIcon, color: checkboxColor, class: 'checkbox-icon' }), h("div", { innerHTML: sanitisedHTML })));
|
|
138
138
|
}
|
|
139
139
|
// This is tested in e2e tests
|
|
140
140
|
/* istanbul ignore next */
|
|
141
|
-
return (h("div", { class: `dropdown-option ${option.selected ? 'selected' : ''}`, onClick: this.onItemSelected.bind(this, option), key: option.label }, h("tttx-
|
|
141
|
+
return (h("div", { class: `dropdown-option ${option.selected ? 'selected' : ''}`, onClick: this.onItemSelected.bind(this, option), key: option.label }, h("tttx-icon_1_9_58", { icon: checkboxIcon, color: checkboxColor, class: 'checkbox-icon' }), h("div", { class: "plaintext-option" }, option.label)));
|
|
142
142
|
}
|
|
143
143
|
// This is tested in e2e tests
|
|
144
144
|
/* istanbul ignore next */
|
|
@@ -168,9 +168,9 @@ const TttxMultiselectBox = class {
|
|
|
168
168
|
return;
|
|
169
169
|
const chevronIcon = this.open ? 'expand_less' : 'expand_more';
|
|
170
170
|
const readOnlyClass = this.readOnly ? 'dropdown-read-only' : '';
|
|
171
|
-
return (h(Host, { class: this.inline ? 'inline' : 'block' }, this.label && h("div", { class: "label" }, this.label), h("div", { tabindex: "0", class: "dropdown-container" }, h("div", { class: ['dropdown-selector', readOnlyClass].join(' '), onClick: this.onDropdownClicked.bind(this) }, this.dropdownSelectorContent(), h("div", { class: "dropdown-selector-chevron" }, h("tttx-
|
|
171
|
+
return (h(Host, { class: this.inline ? 'inline' : 'block' }, this.label && h("div", { class: "label" }, this.label), h("div", { tabindex: "0", class: "dropdown-container" }, h("div", { class: ['dropdown-selector', readOnlyClass].join(' '), onClick: this.onDropdownClicked.bind(this) }, this.dropdownSelectorContent(), h("div", { class: "dropdown-selector-chevron" }, h("tttx-icon_1_9_58", { icon: chevronIcon, color: "black" }))), this.open && (h("div", { class: "dropdown-body-container" }, h("div", { class: "dropdown-body", style: Object.assign({}, this.bodyOffset) }, this.searchEnabled &&
|
|
172
172
|
/* istanbul ignore next */
|
|
173
|
-
h("div", { class: "searchbox" }, h("tttx-standalone-
|
|
173
|
+
h("div", { class: "searchbox" }, h("tttx-standalone-input_1_9_58", { type: "text", placeholder: 'Search', label: "", required: true, showerrorbubble: false, iconleft: 'search', onInput: this.handleSearchInput.bind(this), inline: true })), h("div", { class: "dropdown-options-list" }, this.isLoading ? (h("tttx-loading-spinner_1_9_58", { class: 'loading-style' })) : (this.renderDropdownOptions(this.unsavedSelectedItems))), h("div", { class: 'footer' }, h("tttx-button_1_9_58", { design: "primary", onClick: this.applyChanges.bind(this) }, "Apply"), h("tttx-button_1_9_58", { onClick: this.onCancel.bind(this) }, "Cancel"))))))));
|
|
174
174
|
}
|
|
175
175
|
get el() { return getElement(this); }
|
|
176
176
|
static get watchers() { return {
|
|
@@ -179,4 +179,4 @@ const TttxMultiselectBox = class {
|
|
|
179
179
|
};
|
|
180
180
|
TttxMultiselectBox.style = tttxMultiselectBoxCss;
|
|
181
181
|
|
|
182
|
-
export { TttxMultiselectBox as
|
|
182
|
+
export { TttxMultiselectBox as tttx_multiselect_box_1_9_58 };
|
package/dist/esm/{tttx-percentage-bar_1_9_56.entry.js → tttx-percentage-bar_1_9_58.entry.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
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
|
-
const tttxPercentageBarCss = ".sc-tttx-percentage-
|
|
3
|
+
const tttxPercentageBarCss = ".sc-tttx-percentage-bar_1_9_58-h{display:block}.progress.sc-tttx-percentage-bar_1_9_58{width:100%;background-color:#dbdbdb}.progress.sc-tttx-percentage-bar_1_9_58 .bar.sc-tttx-percentage-bar_1_9_58{height:20px}";
|
|
4
4
|
|
|
5
5
|
const TttxPercentageBar = class {
|
|
6
6
|
constructor(hostRef) {
|
|
@@ -58,4 +58,4 @@ const TttxPercentageBar = class {
|
|
|
58
58
|
};
|
|
59
59
|
TttxPercentageBar.style = tttxPercentageBarCss;
|
|
60
60
|
|
|
61
|
-
export { TttxPercentageBar as
|
|
61
|
+
export { TttxPercentageBar as tttx_percentage_bar_1_9_58 };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, g as getElement } from './index-3d473f8b.js';
|
|
2
2
|
import { c as createCommonjsModule } from './_commonjsHelpers-9943807e.js';
|
|
3
3
|
|
|
4
4
|
var qrcode_min = createCommonjsModule(function (module, exports) {
|
|
@@ -36,4 +36,4 @@ const TttxQrCode = class {
|
|
|
36
36
|
};
|
|
37
37
|
TttxQrCode.style = tttxQrcodeCss;
|
|
38
38
|
|
|
39
|
-
export { TttxQrCode as
|
|
39
|
+
export { TttxQrCode as tttx_qrcode_1_9_58 };
|