@3t-transform/threeteeui 1.9.61 → 1.9.63
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/{esm/tttx-graph_1_9_61.entry.js → cjs/auto-1fd7408f.js} +4 -130
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{tttx-action-dropdown_1_9_61.cjs.entry.js → tttx-action-dropdown_1_9_63.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-button_1_9_61.cjs.entry.js → tttx-button_1_9_63.cjs.entry.js} +2 -2
- package/dist/cjs/tttx-chart_1_9_63.cjs.entry.js +203 -0
- package/dist/cjs/{tttx-checkbox-group-caption_1_9_61.cjs.entry.js → tttx-checkbox-group-caption_1_9_63.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox-group-heading_1_9_61.cjs.entry.js → tttx-checkbox-group-heading_1_9_63.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox-group_1_9_61.cjs.entry.js → tttx-checkbox-group_1_9_63.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox_1_9_61.cjs.entry.js → tttx-checkbox_1_9_63.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-comments_1_9_61.cjs.entry.js → tttx-comments_1_9_63.cjs.entry.js} +21 -7
- package/dist/cjs/{tttx-data-pattern_1_9_61.cjs.entry.js → tttx-data-pattern_1_9_63.cjs.entry.js} +5 -5
- package/dist/cjs/{tttx-datacard_1_9_61.cjs.entry.js → tttx-datacard_1_9_63.cjs.entry.js} +4 -4
- package/dist/cjs/tttx-date-range-picker.cjs.entry.js +1 -1
- package/dist/cjs/{tttx-dialog-box_1_9_61.cjs.entry.js → tttx-dialog-box_1_9_63.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-dialog_1_9_61.cjs.entry.js → tttx-dialog_1_9_63.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-expander_1_9_61.cjs.entry.js → tttx-expander_1_9_63.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-filter_1_9_61_4.cjs.entry.js → tttx-filter_1_9_63_4.cjs.entry.js} +9 -9
- package/dist/cjs/{tttx-form_1_9_61.cjs.entry.js → tttx-form_1_9_63.cjs.entry.js} +2 -2
- package/dist/cjs/tttx-graph_1_9_63.cjs.entry.js +136 -0
- package/dist/cjs/{tttx-icon_1_9_61.cjs.entry.js → tttx-icon_1_9_63.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-keyvalue-block_1_9_61.cjs.entry.js → tttx-keyvalue-block_1_9_63.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-loading-spinner_1_9_61_3.cjs.entry.js → tttx-loading-spinner_1_9_63_3.cjs.entry.js} +6 -6
- package/dist/cjs/{tttx-multiselect-box_1_9_61.cjs.entry.js → tttx-multiselect-box_1_9_63.cjs.entry.js} +7 -7
- package/dist/cjs/{tttx-percentage-bar_1_9_61.cjs.entry.js → tttx-percentage-bar_1_9_63.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-qrcode_1_9_61.cjs.entry.js → tttx-qrcode_1_9_63.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-select-box_1_9_61.cjs.entry.js → tttx-select-box_1_9_63.cjs.entry.js} +6 -6
- package/dist/cjs/{tttx-skeleton_loader_1_9_61.cjs.entry.js → tttx-skeleton_loader_1_9_63.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-table_1_9_61.cjs.entry.js → tttx-table_1_9_63.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-tabs_1_9_61.cjs.entry.js → tttx-tabs_1_9_63.cjs.entry.js} +4 -4
- package/dist/cjs/{tttx-textarea_1_9_61.cjs.entry.js → tttx-textarea_1_9_63.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-toggle_1_9_61.cjs.entry.js → tttx-toggle_1_9_63.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-tree-view_1_9_61.cjs.entry.js → tttx-tree-view_1_9_63.cjs.entry.js} +3 -3
- package/dist/cjs/tttx.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -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/molecules/tttx-action-dropdown/tttx-action-dropdown.js +2 -2
- package/dist/collection/components/molecules/tttx-action-dropdown/tttx-action-dropdown.stories.js +1 -1
- package/dist/collection/components/molecules/tttx-chart/tttx-chart.css +61 -0
- package/dist/collection/components/molecules/tttx-chart/tttx-chart.js +383 -0
- package/dist/collection/components/molecules/tttx-chart/tttx-chart.stories.js +112 -0
- 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 +21 -7
- package/dist/collection/components/molecules/tttx-comments/tttx-comments.stories.js +4 -4
- package/dist/collection/components/molecules/tttx-date-range-picker/tttx-date-range-picker.js +1 -1
- package/dist/collection/components/molecules/tttx-dialog/tttx-dialog.js +2 -2
- package/dist/collection/components/molecules/tttx-dialog/tttx-dialog.stories.js +6 -6
- package/dist/collection/components/molecules/tttx-dialog-box/tttx-dialog-box.js +3 -3
- package/dist/collection/components/molecules/tttx-dialog-box/tttx-dialog-box.stories.js +24 -24
- package/dist/collection/components/molecules/tttx-expander/tttx-expander.js +2 -2
- package/dist/collection/components/molecules/tttx-expander/tttx-expander.stories.js +9 -9
- package/dist/collection/components/molecules/tttx-filter/tttx-filter.js +3 -3
- package/dist/collection/components/molecules/tttx-filter/tttx-filter.stories.js +2 -2
- package/dist/collection/components/molecules/tttx-form/tttx-form.js +2 -2
- package/dist/collection/components/molecules/tttx-form/tttx-form.stories.js +8 -8
- package/dist/collection/components/molecules/tttx-graph/tttx-graph.js +1 -1
- package/dist/collection/components/molecules/tttx-graph/tttx-graph.stories.js +1 -1
- package/dist/collection/components/molecules/tttx-list/tttx-list.js +3 -3
- package/dist/collection/components/molecules/tttx-list/tttx-list.stories.js +47 -47
- package/dist/collection/components/molecules/tttx-multiselect-box/tttx-multiselect-box.js +7 -7
- package/dist/collection/components/molecules/tttx-multiselect-box/tttx-multiselect-box.stories.js +37 -37
- package/dist/collection/components/molecules/tttx-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.js +3 -3
- package/dist/collection/components/molecules/tttx-tree-view/tttx-tree-view.stories.js +1 -1
- 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/{cjs/tttx-graph_1_9_61.cjs.entry.js → components/auto.js} +1 -135
- package/dist/components/index.d.ts +34 -33
- package/dist/components/index.js +34 -33
- package/dist/components/tttx-action-dropdown_1_9_63.d.ts +11 -0
- package/dist/components/{tttx-action-dropdown_1_9_61.js → tttx-action-dropdown_1_9_63.js} +7 -7
- package/dist/components/tttx-button.js +5 -5
- package/dist/components/{tttx-dialog_1_9_61.d.ts → tttx-button_1_9_63.d.ts} +4 -4
- package/dist/components/{tttx-button_1_9_61.js → tttx-button_1_9_63.js} +2 -2
- package/dist/components/{tttx-graph_1_9_61.d.ts → tttx-chart_1_9_63.d.ts} +4 -4
- package/dist/components/tttx-chart_1_9_63.js +247 -0
- package/dist/components/tttx-checkbox-group-caption_1_9_63.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group-caption_1_9_61.js → tttx-checkbox-group-caption_1_9_63.js} +5 -5
- package/dist/components/tttx-checkbox-group-heading_1_9_63.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group-heading_1_9_61.js → tttx-checkbox-group-heading_1_9_63.js} +5 -5
- package/dist/components/tttx-checkbox-group_1_9_63.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group_1_9_61.js → tttx-checkbox-group_1_9_63.js} +5 -5
- package/dist/components/{tttx-comments_1_9_61.d.ts → tttx-checkbox_1_9_63.d.ts} +4 -4
- package/dist/components/{tttx-checkbox_1_9_61.js → tttx-checkbox_1_9_63.js} +7 -7
- package/dist/components/{tttx-datacard_1_9_61.d.ts → tttx-comments_1_9_63.d.ts} +4 -4
- package/dist/components/{tttx-comments_1_9_61.js → tttx-comments_1_9_63.js} +26 -12
- package/dist/components/tttx-data-pattern_1_9_63.d.ts +11 -0
- package/dist/components/{tttx-data-pattern_1_9_61.js → tttx-data-pattern_1_9_63.js} +16 -16
- package/dist/components/{tttx-checkbox_1_9_61.d.ts → tttx-datacard_1_9_63.d.ts} +4 -4
- package/dist/components/{tttx-datacard_1_9_61.js → tttx-datacard_1_9_63.js} +10 -10
- package/dist/components/tttx-date-range-picker.js +3 -3
- package/dist/components/tttx-dialog-box_1_9_63.d.ts +11 -0
- package/dist/components/{tttx-dialog-box_1_9_61.js → tttx-dialog-box_1_9_63.js} +9 -9
- package/dist/components/{tttx-button_1_9_61.d.ts → tttx-dialog_1_9_63.d.ts} +4 -4
- package/dist/components/{tttx-dialog_1_9_61.js → tttx-dialog_1_9_63.js} +8 -8
- package/dist/components/tttx-expander_1_9_63.d.ts +11 -0
- package/dist/components/{tttx-expander_1_9_61.js → tttx-expander_1_9_63.js} +7 -7
- package/dist/components/tttx-filter.js +6 -6
- package/dist/components/{tttx-filter_1_9_61.d.ts → tttx-filter_1_9_63.d.ts} +4 -4
- package/dist/components/{tttx-filter_1_9_61.js → tttx-filter_1_9_63.js} +2 -2
- package/dist/components/{tttx-tabs_1_9_61.d.ts → tttx-form_1_9_63.d.ts} +4 -4
- package/dist/components/{tttx-form_1_9_61.js → tttx-form_1_9_63.js} +11 -11
- package/dist/components/tttx-graph.js +4 -14783
- package/dist/components/{tttx-table_1_9_61.d.ts → tttx-graph_1_9_63.d.ts} +4 -4
- package/dist/components/{tttx-graph_1_9_61.js → tttx-graph_1_9_63.js} +2 -2
- package/dist/components/tttx-icon.js +3 -3
- package/dist/components/{tttx-icon_1_9_61.d.ts → tttx-icon_1_9_63.d.ts} +4 -4
- package/dist/components/{tttx-icon_1_9_61.js → tttx-icon_1_9_63.js} +2 -2
- package/dist/components/tttx-keyvalue-block_1_9_63.d.ts +11 -0
- package/dist/components/{tttx-keyvalue-block_1_9_61.js → tttx-keyvalue-block_1_9_63.js} +5 -5
- package/dist/components/tttx-list.js +6 -6
- package/dist/components/{tttx-list_1_9_61.d.ts → tttx-list_1_9_63.d.ts} +4 -4
- package/dist/components/{tttx-list_1_9_61.js → tttx-list_1_9_63.js} +2 -2
- package/dist/components/tttx-loading-spinner.js +3 -3
- package/dist/components/tttx-loading-spinner_1_9_63.d.ts +11 -0
- package/dist/components/{tttx-loading-spinner_1_9_61.js → tttx-loading-spinner_1_9_63.js} +2 -2
- package/dist/components/tttx-multiselect-box_1_9_63.d.ts +11 -0
- package/dist/components/{tttx-multiselect-box_1_9_61.js → tttx-multiselect-box_1_9_63.js} +16 -16
- package/dist/components/tttx-percentage-bar_1_9_63.d.ts +11 -0
- package/dist/components/{tttx-percentage-bar_1_9_61.js → tttx-percentage-bar_1_9_63.js} +6 -6
- package/dist/components/{tttx-qrcode_1_9_61.d.ts → tttx-qrcode_1_9_63.d.ts} +4 -4
- package/dist/components/{tttx-qrcode_1_9_61.js → tttx-qrcode_1_9_63.js} +5 -5
- package/dist/components/tttx-select-box.js +12 -12
- package/dist/components/tttx-select-box_1_9_63.d.ts +11 -0
- package/dist/components/{tttx-select-box_1_9_61.js → tttx-select-box_1_9_63.js} +2 -2
- package/dist/components/tttx-skeleton_loader_1_9_63.d.ts +11 -0
- package/dist/components/{tttx-skeleton_loader_1_9_61.js → tttx-skeleton_loader_1_9_63.js} +5 -5
- package/dist/components/tttx-sorter.js +5 -5
- package/dist/components/tttx-sorter_1_9_63.d.ts +11 -0
- package/dist/components/{tttx-sorter_1_9_61.js → tttx-sorter_1_9_63.js} +2 -2
- package/dist/components/tttx-standalone-input.js +6 -6
- package/dist/components/tttx-standalone-input_1_9_63.d.ts +11 -0
- package/dist/components/{tttx-standalone-input_1_9_61.js → tttx-standalone-input_1_9_63.js} +2 -2
- package/dist/components/tttx-table_1_9_63.d.ts +11 -0
- package/dist/components/{tttx-table_1_9_61.js → tttx-table_1_9_63.js} +5 -5
- package/dist/components/{tttx-form_1_9_61.d.ts → tttx-tabs_1_9_63.d.ts} +4 -4
- package/dist/components/{tttx-tabs_1_9_61.js → tttx-tabs_1_9_63.js} +9 -9
- package/dist/components/tttx-tag.js +5 -5
- package/dist/components/{tttx-tag_1_9_61.d.ts → tttx-tag_1_9_63.d.ts} +4 -4
- package/dist/components/{tttx-tag_1_9_61.js → tttx-tag_1_9_63.js} +2 -2
- package/dist/components/tttx-textarea_1_9_63.d.ts +11 -0
- package/dist/components/{tttx-textarea_1_9_61.js → tttx-textarea_1_9_63.js} +6 -6
- package/dist/components/tttx-toggle_1_9_63.d.ts +11 -0
- package/dist/components/{tttx-toggle_1_9_61.js → tttx-toggle_1_9_63.js} +5 -5
- package/dist/components/tttx-toolbar.js +3 -3
- package/dist/components/tttx-toolbar_1_9_63.d.ts +11 -0
- package/dist/components/{tttx-toolbar_1_9_61.js → tttx-toolbar_1_9_63.js} +2 -2
- package/dist/components/tttx-tree-view_1_9_63.d.ts +11 -0
- package/dist/components/{tttx-tree-view_1_9_61.js → tttx-tree-view_1_9_63.js} +9 -9
- package/dist/esm/auto-c6e6ac5c.js +14781 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{tttx-action-dropdown_1_9_61.entry.js → tttx-action-dropdown_1_9_63.entry.js} +2 -2
- package/dist/esm/{tttx-button_1_9_61.entry.js → tttx-button_1_9_63.entry.js} +2 -2
- package/dist/esm/tttx-chart_1_9_63.entry.js +199 -0
- package/dist/esm/{tttx-checkbox-group-caption_1_9_61.entry.js → tttx-checkbox-group-caption_1_9_63.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox-group-heading_1_9_61.entry.js → tttx-checkbox-group-heading_1_9_63.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox-group_1_9_61.entry.js → tttx-checkbox-group_1_9_63.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox_1_9_61.entry.js → tttx-checkbox_1_9_63.entry.js} +2 -2
- package/dist/esm/{tttx-comments_1_9_61.entry.js → tttx-comments_1_9_63.entry.js} +21 -7
- package/dist/esm/{tttx-data-pattern_1_9_61.entry.js → tttx-data-pattern_1_9_63.entry.js} +5 -5
- package/dist/esm/{tttx-datacard_1_9_61.entry.js → tttx-datacard_1_9_63.entry.js} +4 -4
- package/dist/esm/tttx-date-range-picker.entry.js +1 -1
- package/dist/esm/{tttx-dialog-box_1_9_61.entry.js → tttx-dialog-box_1_9_63.entry.js} +3 -3
- package/dist/esm/{tttx-dialog_1_9_61.entry.js → tttx-dialog_1_9_63.entry.js} +2 -2
- package/dist/esm/{tttx-expander_1_9_61.entry.js → tttx-expander_1_9_63.entry.js} +2 -2
- package/dist/esm/{tttx-filter_1_9_61_4.entry.js → tttx-filter_1_9_63_4.entry.js} +6 -6
- package/dist/esm/{tttx-form_1_9_61.entry.js → tttx-form_1_9_63.entry.js} +2 -2
- package/dist/esm/tttx-graph_1_9_63.entry.js +132 -0
- package/dist/esm/{tttx-icon_1_9_61.entry.js → tttx-icon_1_9_63.entry.js} +1 -1
- package/dist/esm/{tttx-keyvalue-block_1_9_61.entry.js → tttx-keyvalue-block_1_9_63.entry.js} +1 -1
- package/dist/esm/{tttx-loading-spinner_1_9_61_3.entry.js → tttx-loading-spinner_1_9_63_3.entry.js} +4 -4
- package/dist/esm/{tttx-multiselect-box_1_9_61.entry.js → tttx-multiselect-box_1_9_63.entry.js} +7 -7
- package/dist/esm/{tttx-percentage-bar_1_9_61.entry.js → tttx-percentage-bar_1_9_63.entry.js} +2 -2
- package/dist/esm/{tttx-qrcode_1_9_61.entry.js → tttx-qrcode_1_9_63.entry.js} +1 -1
- package/dist/esm/{tttx-select-box_1_9_61.entry.js → tttx-select-box_1_9_63.entry.js} +6 -6
- package/dist/esm/{tttx-skeleton_loader_1_9_61.entry.js → tttx-skeleton_loader_1_9_63.entry.js} +1 -1
- package/dist/esm/{tttx-table_1_9_61.entry.js → tttx-table_1_9_63.entry.js} +1 -1
- package/dist/esm/{tttx-tabs_1_9_61.entry.js → tttx-tabs_1_9_63.entry.js} +4 -4
- package/dist/esm/{tttx-textarea_1_9_61.entry.js → tttx-textarea_1_9_63.entry.js} +2 -2
- package/dist/esm/{tttx-toggle_1_9_61.entry.js → tttx-toggle_1_9_63.entry.js} +1 -1
- package/dist/esm/{tttx-tree-view_1_9_61.entry.js → tttx-tree-view_1_9_63.entry.js} +3 -3
- package/dist/esm/tttx.js +1 -1
- package/dist/tttx/p-13d3d63c.entry.js +1 -1
- package/dist/tttx/p-1814eb61.entry.js +1 -1
- package/dist/tttx/p-19294325.entry.js +1 -1
- package/dist/tttx/p-218f3309.entry.js +1 -1
- package/dist/tttx/p-24eef142.entry.js +1 -1
- package/dist/tttx/p-2636cba4.entry.js +1 -1
- package/dist/tttx/p-39bb618e.js +19 -0
- package/dist/tttx/p-477b66de.entry.js +1 -1
- package/dist/tttx/p-54060e46.entry.js +1 -1
- package/dist/tttx/p-5f35edd8.entry.js +1 -1
- package/dist/tttx/p-61af5028.entry.js +1 -1
- package/dist/tttx/p-67f75171.entry.js +1 -1
- package/dist/tttx/p-7bfa4e1e.entry.js +1 -1
- package/dist/tttx/p-7c7e8951.entry.js +1 -1
- package/dist/tttx/p-8be90d8a.entry.js +1 -1
- package/dist/tttx/p-972b7449.entry.js +1 -1
- package/dist/tttx/p-a1ba99fb.entry.js +1 -1
- package/dist/tttx/p-a474dc05.entry.js +1 -1
- package/dist/tttx/p-a7527509.entry.js +1 -0
- package/dist/tttx/p-a800aa5d.entry.js +1 -1
- package/dist/tttx/p-acb9e007.entry.js +1 -1
- package/dist/tttx/p-b44ddcb7.entry.js +1 -1
- package/dist/tttx/p-b4b5e1e1.entry.js +1 -1
- package/dist/tttx/p-bc8c1d08.entry.js +1 -1
- package/dist/tttx/p-c9e7d9fa.entry.js +1 -0
- package/dist/tttx/p-cb3b393b.entry.js +1 -1
- package/dist/tttx/p-d62c8ed2.entry.js +1 -1
- package/dist/tttx/p-e84965f0.entry.js +1 -1
- package/dist/tttx/p-edf27c73.entry.js +1 -1
- package/dist/tttx/p-f1e945ba.entry.js +1 -1
- package/dist/tttx/p-fac3056d.entry.js +1 -0
- package/dist/tttx/tttx.esm.js +1 -1
- package/dist/types/components/molecules/tttx-chart/tttx-chart.d.ts +42 -0
- package/dist/types/components/molecules/tttx-chart/tttx-chart.stories.d.ts +11 -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.d.ts +430 -395
- package/package.json +1 -1
- package/dist/components/tttx-action-dropdown_1_9_61.d.ts +0 -11
- package/dist/components/tttx-checkbox-group-caption_1_9_61.d.ts +0 -11
- package/dist/components/tttx-checkbox-group-heading_1_9_61.d.ts +0 -11
- package/dist/components/tttx-checkbox-group_1_9_61.d.ts +0 -11
- package/dist/components/tttx-data-pattern_1_9_61.d.ts +0 -11
- package/dist/components/tttx-dialog-box_1_9_61.d.ts +0 -11
- package/dist/components/tttx-expander_1_9_61.d.ts +0 -11
- package/dist/components/tttx-keyvalue-block_1_9_61.d.ts +0 -11
- package/dist/components/tttx-loading-spinner_1_9_61.d.ts +0 -11
- package/dist/components/tttx-multiselect-box_1_9_61.d.ts +0 -11
- package/dist/components/tttx-percentage-bar_1_9_61.d.ts +0 -11
- package/dist/components/tttx-select-box_1_9_61.d.ts +0 -11
- package/dist/components/tttx-skeleton_loader_1_9_61.d.ts +0 -11
- package/dist/components/tttx-sorter_1_9_61.d.ts +0 -11
- package/dist/components/tttx-standalone-input_1_9_61.d.ts +0 -11
- package/dist/components/tttx-textarea_1_9_61.d.ts +0 -11
- package/dist/components/tttx-toggle_1_9_61.d.ts +0 -11
- package/dist/components/tttx-toolbar_1_9_61.d.ts +0 -11
- package/dist/components/tttx-tree-view_1_9_61.d.ts +0 -11
- package/dist/tttx/p-bbecd0d9.entry.js +0 -19
- package/dist/tttx/p-f57792f7.entry.js +0 -1
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
import { r as registerInstance, h } from './index-3d473f8b.js';
|
|
2
|
+
import { C as Chart, D as DoughnutController, L as LineController } from './auto-c6e6ac5c.js';
|
|
3
|
+
|
|
4
|
+
const gaugeLabelPlugin = {
|
|
5
|
+
id: 'gaugeLabel',
|
|
6
|
+
beforeDatasetsDraw(chart) {
|
|
7
|
+
const { ctx } = chart;
|
|
8
|
+
ctx.save();
|
|
9
|
+
const xCoor = chart.getDatasetMeta(0).data[0].x;
|
|
10
|
+
const yCoor = chart.getDatasetMeta(0).data[0].y - 12;
|
|
11
|
+
ctx.font = 'bold 20px sans-serif';
|
|
12
|
+
ctx.fillStyle = 'rgba(0, 0, 0, 1)';
|
|
13
|
+
ctx.textAlign = 'center';
|
|
14
|
+
ctx.textBaseline = 'middle';
|
|
15
|
+
ctx.fillText(chart.config.options.gaugeText || '', xCoor, yCoor);
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
const tttxGraphCss = ":host{display:block;width:100%;height:100%}.chart-container{display:flex;align-items:center;justify-content:center}.overlay-text{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);color:white;font-size:24px;font-weight:bold;text-shadow:2px 2px 4px rgba(0, 0, 0, 0.7);pointer-events:none;}";
|
|
20
|
+
|
|
21
|
+
Chart.register(DoughnutController, LineController, gaugeLabelPlugin);
|
|
22
|
+
const TttxGraph = class {
|
|
23
|
+
constructor(hostRef) {
|
|
24
|
+
registerInstance(this, hostRef);
|
|
25
|
+
this.chartConfig = undefined;
|
|
26
|
+
this.chartType = undefined;
|
|
27
|
+
this.chartData = undefined;
|
|
28
|
+
this.chartText = undefined;
|
|
29
|
+
this.formattedData = undefined;
|
|
30
|
+
}
|
|
31
|
+
componentDidLoad() {
|
|
32
|
+
this.formattedData = JSON.parse(this.chartData);
|
|
33
|
+
if (!this.chartConfig) {
|
|
34
|
+
switch (this.chartType) {
|
|
35
|
+
case 'gauge':
|
|
36
|
+
this.chartConfig = this.getGaugeConfig();
|
|
37
|
+
Chart.register(gaugeLabelPlugin);
|
|
38
|
+
break;
|
|
39
|
+
case 'line':
|
|
40
|
+
console.log('line');
|
|
41
|
+
this.chartConfig = this.getLineConfig();
|
|
42
|
+
console.log(this.chartConfig);
|
|
43
|
+
break;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
new Chart(this.canvasElement, JSON.parse(this.chartConfig));
|
|
47
|
+
}
|
|
48
|
+
render() {
|
|
49
|
+
return (h("div", { class: 'chart-container', style: { 'position': 'relative', 'height': '100%', 'width': '100%' } }, h("canvas", { ref: (el) => this.canvasElement = el })));
|
|
50
|
+
}
|
|
51
|
+
getLineConfig() {
|
|
52
|
+
console.log(this.formattedData);
|
|
53
|
+
const config = {
|
|
54
|
+
type: 'line',
|
|
55
|
+
data: {
|
|
56
|
+
datasets: [{
|
|
57
|
+
fill: false,
|
|
58
|
+
borderColor: '#00187C',
|
|
59
|
+
tension: 0.1,
|
|
60
|
+
data: this.formattedData
|
|
61
|
+
}]
|
|
62
|
+
},
|
|
63
|
+
options: {
|
|
64
|
+
maintainAspectRatio: false,
|
|
65
|
+
responsive: true,
|
|
66
|
+
plugins: {
|
|
67
|
+
legend: {
|
|
68
|
+
display: false,
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
scales: {
|
|
72
|
+
x: {
|
|
73
|
+
type: 'linear',
|
|
74
|
+
position: 'bottom'
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
};
|
|
79
|
+
return JSON.stringify(config);
|
|
80
|
+
}
|
|
81
|
+
getGaugeConfig() {
|
|
82
|
+
this.formattedData.push(100 - this.formattedData[0]);
|
|
83
|
+
const config = {
|
|
84
|
+
type: 'doughnut',
|
|
85
|
+
data: {
|
|
86
|
+
datasets: [
|
|
87
|
+
{
|
|
88
|
+
'data': this.formattedData,
|
|
89
|
+
'backgroundColor': [
|
|
90
|
+
this.getRAGColour(this.formattedData[0]),
|
|
91
|
+
'#F0F0F0'
|
|
92
|
+
],
|
|
93
|
+
'borderWidth': 0,
|
|
94
|
+
'hoverBorderWidth': 0
|
|
95
|
+
},
|
|
96
|
+
]
|
|
97
|
+
},
|
|
98
|
+
options: {
|
|
99
|
+
maintainAspectRatio: false,
|
|
100
|
+
responsive: true,
|
|
101
|
+
rotation: 270,
|
|
102
|
+
circumference: 180,
|
|
103
|
+
cutout: '60%',
|
|
104
|
+
gaugeText: this.chartText,
|
|
105
|
+
plugins: {
|
|
106
|
+
legend: {
|
|
107
|
+
display: false,
|
|
108
|
+
},
|
|
109
|
+
tooltip: {
|
|
110
|
+
enabled: false
|
|
111
|
+
},
|
|
112
|
+
hover: {
|
|
113
|
+
enabled: false
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
}
|
|
117
|
+
};
|
|
118
|
+
return JSON.stringify(config);
|
|
119
|
+
}
|
|
120
|
+
getRAGColour(perc) {
|
|
121
|
+
if (perc < 50)
|
|
122
|
+
return '#DC0000'; // Red for values below 50
|
|
123
|
+
if (perc < 100)
|
|
124
|
+
return '#F59500'; // Orange for values from 50 to 99
|
|
125
|
+
if (perc === 100)
|
|
126
|
+
return '#A2BB31'; // Green for a value of 100
|
|
127
|
+
return '#F0F0F0'; // Default color
|
|
128
|
+
}
|
|
129
|
+
};
|
|
130
|
+
TttxGraph.style = tttxGraphCss;
|
|
131
|
+
|
|
132
|
+
export { TttxGraph as tttx_graph_1_9_63 };
|
package/dist/esm/{tttx-loading-spinner_1_9_61_3.entry.js → tttx-loading-spinner_1_9_63_3.entry.js}
RENAMED
|
@@ -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_63{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.material-symbols-rounded.sc-tttx-standalone-input_1_9_63{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}label.sc-tttx-standalone-input_1_9_63{font-weight:500;font-size:16px;line-height:18.752px;color:#212121}label.sc-tttx-standalone-input_1_9_63 .optional.sc-tttx-standalone-input_1_9_63{color:#757575;font-weight:normal}label.sc-tttx-standalone-input_1_9_63 .outer-container.sc-tttx-standalone-input_1_9_63{position:relative}label.sc-tttx-standalone-input_1_9_63 .outer-container.sc-tttx-standalone-input_1_9_63 .left-icons.sc-tttx-standalone-input_1_9_63,label.sc-tttx-standalone-input_1_9_63 .outer-container.sc-tttx-standalone-input_1_9_63 .right-icons.sc-tttx-standalone-input_1_9_63{display:flex;position:absolute;height:24px;gap:8px}label.sc-tttx-standalone-input_1_9_63 .outer-container.sc-tttx-standalone-input_1_9_63 .left-icons.sc-tttx-standalone-input_1_9_63 tttx-icon.sc-tttx-standalone-input_1_9_63,label.sc-tttx-standalone-input_1_9_63 .outer-container.sc-tttx-standalone-input_1_9_63 .right-icons.sc-tttx-standalone-input_1_9_63 tttx-icon.sc-tttx-standalone-input_1_9_63{height:24px;width:24px}label.sc-tttx-standalone-input_1_9_63 .outer-container.sc-tttx-standalone-input_1_9_63 .left-icons.sc-tttx-standalone-input_1_9_63{left:8px}label.sc-tttx-standalone-input_1_9_63 .outer-container.sc-tttx-standalone-input_1_9_63 .right-icons.sc-tttx-standalone-input_1_9_63{right:8px}label.sc-tttx-standalone-input_1_9_63 .outer-container.sc-tttx-standalone-input_1_9_63 input.sc-tttx-standalone-input_1_9_63,label.sc-tttx-standalone-input_1_9_63 .outer-container.sc-tttx-standalone-input_1_9_63 textarea.sc-tttx-standalone-input_1_9_63{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_63 .outer-container.sc-tttx-standalone-input_1_9_63 input.has-input-icon.sc-tttx-standalone-input_1_9_63,label.sc-tttx-standalone-input_1_9_63 .outer-container.sc-tttx-standalone-input_1_9_63 textarea.has-input-icon.sc-tttx-standalone-input_1_9_63{padding-left:40px}label.sc-tttx-standalone-input_1_9_63 .outer-container.sc-tttx-standalone-input_1_9_63 input.has-input-icon.has-left-icon.sc-tttx-standalone-input_1_9_63,label.sc-tttx-standalone-input_1_9_63 .outer-container.sc-tttx-standalone-input_1_9_63 textarea.has-input-icon.has-left-icon.sc-tttx-standalone-input_1_9_63{padding-left:72px}label.sc-tttx-standalone-input_1_9_63 .outer-container.sc-tttx-standalone-input_1_9_63 input.has-left-icon.sc-tttx-standalone-input_1_9_63,label.sc-tttx-standalone-input_1_9_63 .outer-container.sc-tttx-standalone-input_1_9_63 textarea.has-left-icon.sc-tttx-standalone-input_1_9_63{padding-left:40px}label.sc-tttx-standalone-input_1_9_63 .outer-container.sc-tttx-standalone-input_1_9_63 input.has-right-icon.sc-tttx-standalone-input_1_9_63,label.sc-tttx-standalone-input_1_9_63 .outer-container.sc-tttx-standalone-input_1_9_63 textarea.has-right-icon.sc-tttx-standalone-input_1_9_63{padding-right:40px}label.sc-tttx-standalone-input_1_9_63 .outer-container.sc-tttx-standalone-input_1_9_63 input.invalid.sc-tttx-standalone-input_1_9_63,label.sc-tttx-standalone-input_1_9_63 .outer-container.sc-tttx-standalone-input_1_9_63 textarea.invalid.sc-tttx-standalone-input_1_9_63{border:1px solid #dc0000}label.sc-tttx-standalone-input_1_9_63 .outer-container.sc-tttx-standalone-input_1_9_63 input.sc-tttx-standalone-input_1_9_63:not([type=submit]),label.sc-tttx-standalone-input_1_9_63 .outer-container.sc-tttx-standalone-input_1_9_63 textarea.sc-tttx-standalone-input_1_9_63: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_63 .outer-container.sc-tttx-standalone-input_1_9_63 input[type=radio].sc-tttx-standalone-input_1_9_63,label.sc-tttx-standalone-input_1_9_63 .outer-container.sc-tttx-standalone-input_1_9_63 textarea[type=radio].sc-tttx-standalone-input_1_9_63{width:20px;height:20px}label.sc-tttx-standalone-input_1_9_63 .outer-container.sc-tttx-standalone-input_1_9_63 input[type=date].sc-tttx-standalone-input_1_9_63,label.sc-tttx-standalone-input_1_9_63 .outer-container.sc-tttx-standalone-input_1_9_63 textarea[type=date].sc-tttx-standalone-input_1_9_63{background:white;display:block;min-width:calc(100% - 18px);line-height:37px}label.sc-tttx-standalone-input_1_9_63 .outer-container.sc-tttx-standalone-input_1_9_63 input[readonly].sc-tttx-standalone-input_1_9_63,label.sc-tttx-standalone-input_1_9_63 .outer-container.sc-tttx-standalone-input_1_9_63 textarea[readonly].sc-tttx-standalone-input_1_9_63{cursor:default;pointer-events:none;user-select:none;color:gray}label.sc-tttx-standalone-input_1_9_63 .outer-container.sc-tttx-standalone-input_1_9_63 input.sc-tttx-standalone-input_1_9_63:focus,label.sc-tttx-standalone-input_1_9_63 .outer-container.sc-tttx-standalone-input_1_9_63 textarea.sc-tttx-standalone-input_1_9_63:focus{border-color:#1479c6}label.sc-tttx-standalone-input_1_9_63 .outer-container.sc-tttx-standalone-input_1_9_63 input.sc-tttx-standalone-input_1_9_63:focus-visible,label.sc-tttx-standalone-input_1_9_63 .outer-container.sc-tttx-standalone-input_1_9_63 textarea.sc-tttx-standalone-input_1_9_63:focus-visible{outline:none}label.sc-tttx-standalone-input_1_9_63 .outer-container.sc-tttx-standalone-input_1_9_63 textarea.sc-tttx-standalone-input_1_9_63{padding:8px;height:auto;min-height:100px;resize:vertical}label.sc-tttx-standalone-input_1_9_63 .outer-container.sc-tttx-standalone-input_1_9_63 textarea.resize-none.sc-tttx-standalone-input_1_9_63{resize:none}label.sc-tttx-standalone-input_1_9_63 .outer-container.inputBlock.sc-tttx-standalone-input_1_9_63{display:flex;align-items:center;line-height:21px}label.sc-tttx-standalone-input_1_9_63 .outer-container.inputBlock.sc-tttx-standalone-input_1_9_63 .left-icons.sc-tttx-standalone-input_1_9_63,label.sc-tttx-standalone-input_1_9_63 .outer-container.inputBlock.sc-tttx-standalone-input_1_9_63 .right-icons.sc-tttx-standalone-input_1_9_63{margin-top:4px}label.sc-tttx-standalone-input_1_9_63 .outer-container.inputBlock.readonly.sc-tttx-standalone-input_1_9_63{pointer-events:none;user-select:none;color:gray}label.sc-tttx-standalone-input_1_9_63 .outer-container.inputBlock.radioBlock.sc-tttx-standalone-input_1_9_63{display:block}label.sc-tttx-standalone-input_1_9_63 .outer-container.inputInline.sc-tttx-standalone-input_1_9_63{display:flex;white-space:nowrap;align-items:center;margin:0}label.sc-tttx-standalone-input_1_9_63 .outer-container.inputInline.sc-tttx-standalone-input_1_9_63 input.sc-tttx-standalone-input_1_9_63{margin-top:0}label.sc-tttx-standalone-input_1_9_63 .secondarylabel.sc-tttx-standalone-input_1_9_63{color:#757575;font-size:14px;line-height:16.408px;font-weight:normal;display:flex;margin-top:4px}label.sc-tttx-standalone-input_1_9_63 .errorBubble.sc-tttx-standalone-input_1_9_63{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_63 .errorBubble.sc-tttx-standalone-input_1_9_63:not(.visible){display:none}label.sc-tttx-standalone-input_1_9_63 .errorBubble.sc-tttx-standalone-input_1_9_63 span.sc-tttx-standalone-input_1_9_63{color:#dc0000;font-size:16px;margin-right:4px}.material-symbols-rounded.sc-tttx-standalone-input_1_9_63{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_63-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_63", { class: "input-icon", icon: this.inputicon, color: this.inputiconcolor, onClick: this.handleInputIconClick.bind(this) })), this.iconleft && (h("tttx-icon_1_9_63", { 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_63", { 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_63", { 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_63, TttxInput as tttx_standalone_input_1_9_63, TttxTag as tttx_tag_1_9_63 };
|
package/dist/esm/{tttx-multiselect-box_1_9_61.entry.js → tttx-multiselect-box_1_9_63.entry.js}
RENAMED
|
@@ -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_63", { 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_63", { 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_63", { 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_63", { 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_63", { 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_63", { 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_63", { class: 'loading-style' })) : (this.renderDropdownOptions(this.unsavedSelectedItems))), h("div", { class: 'footer' }, h("tttx-button_1_9_63", { design: "primary", onClick: this.applyChanges.bind(this) }, "Apply"), h("tttx-button_1_9_63", { 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_63 };
|
package/dist/esm/{tttx-percentage-bar_1_9_61.entry.js → tttx-percentage-bar_1_9_63.entry.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
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_63-h{display:block}.progress.sc-tttx-percentage-bar_1_9_63{width:100%;background-color:#dbdbdb}.progress.sc-tttx-percentage-bar_1_9_63 .bar.sc-tttx-percentage-bar_1_9_63{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_63 };
|
|
@@ -104,7 +104,7 @@ const TttxSelectBox = class {
|
|
|
104
104
|
let title;
|
|
105
105
|
let subtitle;
|
|
106
106
|
const chevronIcon = this.open ? 'expand_less' : 'expand_more';
|
|
107
|
-
const icon = h("tttx-
|
|
107
|
+
const icon = h("tttx-icon_1_9_63", { icon: chevronIcon, color: "black" });
|
|
108
108
|
let chevron = h("div", { class: "dropdown-selector-chevron" }, icon);
|
|
109
109
|
if (!this.selectedItem) {
|
|
110
110
|
title = h("div", { class: "placeholder" }, this.placeholder);
|
|
@@ -121,7 +121,7 @@ const TttxSelectBox = class {
|
|
|
121
121
|
chevron = h("div", { class: "dropdown-selector-chevron-offset" }, icon);
|
|
122
122
|
}
|
|
123
123
|
return (h(Fragment, null, h("div", { class: "left-wrapper" }, title, subtitle), this.clearable && !this.readOnly &&
|
|
124
|
-
h("tttx-
|
|
124
|
+
h("tttx-icon_1_9_63", { class: "input-icon", style: { paddingTop: '5px', cursor: 'pointer' }, icon: 'close_small', onClick: this.cleanSelectedItem.bind(this) }), chevron));
|
|
125
125
|
}
|
|
126
126
|
}
|
|
127
127
|
renderDropdownOptions(options) {
|
|
@@ -144,9 +144,9 @@ const TttxSelectBox = class {
|
|
|
144
144
|
}
|
|
145
145
|
// render priority options at the top of the dropdown list
|
|
146
146
|
return (h(Fragment, null, usingPriority && priorityOptions.length > 0 &&
|
|
147
|
-
h(Fragment, null, h("tttx-
|
|
147
|
+
h(Fragment, null, h("tttx-tag_1_9_63", { class: 'priority-pill', text: this.priorityLabel, color: "#F0F0F0" }), priorityOptions.map((option) => this.dropdownOption(option))), nonPriorityOptions.length > 0 &&
|
|
148
148
|
h(Fragment, null, usingPriority &&
|
|
149
|
-
h("tttx-
|
|
149
|
+
h("tttx-tag_1_9_63", { class: 'priority-pill', text: this.nonPriorityLabel, color: "#F0F0F0" }), nonPriorityOptions.map((option) => this.dropdownOption(option)))));
|
|
150
150
|
}
|
|
151
151
|
dropdownOption(option) {
|
|
152
152
|
const selected = this.selectedItem && option.value === this.selectedItem.value;
|
|
@@ -233,7 +233,7 @@ const TttxSelectBox = class {
|
|
|
233
233
|
return;
|
|
234
234
|
const invalidClass = this.showErrorMsg ? 'invalid' : '';
|
|
235
235
|
const readOnlyClass = this.readOnly ? 'dropdown-read-only' : '';
|
|
236
|
-
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', invalidClass, readOnlyClass].join(' '), ref: el => (this.dropdownSelector = el), onClick: this.onDropdownClicked.bind(this) }, this.dropdownSelectorContent()), this.open && (h("div", { class: "dropdown-body-container" }, h("div", { class: "dropdown-body", style: Object.assign({ width: `${this.dropdownSelector.offsetWidth}px` }, this.bodyOffset) }, this.searchEnabled && (h("div", { class: "searchbox" }, h("tttx-standalone-
|
|
236
|
+
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', invalidClass, readOnlyClass].join(' '), ref: el => (this.dropdownSelector = el), onClick: this.onDropdownClicked.bind(this) }, this.dropdownSelectorContent()), this.open && (h("div", { class: "dropdown-body-container" }, h("div", { class: "dropdown-body", style: Object.assign({ width: `${this.dropdownSelector.offsetWidth}px` }, this.bodyOffset) }, this.searchEnabled && (h("div", { class: "searchbox" }, h("tttx-standalone-input_1_9_63", { type: "text", label: "", required: true, showerrorbubble: false, iconleft: "search", onInput: this.handleSearchInput.bind(this) }))), h("div", { class: "dropdown-options-list", onScroll: this.onSelectScroll.bind(this) }, !this.isLoading && (this.renderDropdownOptions(this._optionsData)), (this.isLoading || this.loadingNextExternalPage) && (h("tttx-loading-spinner_1_9_63", { class: 'loading-style' })))))), this.showErrorBubble && (h("span", { class: ['errorBubble', this.showErrorMsg && this.errorMsg ? 'visible' : ''].join(' ') }, h("tttx-icon_1_9_63", { icon: "warning", color: "#dc0000", size: 16 }), " ", this.errorMsg)))));
|
|
237
237
|
}
|
|
238
238
|
get el() { return getElement(this); }
|
|
239
239
|
static get watchers() { return {
|
|
@@ -243,4 +243,4 @@ const TttxSelectBox = class {
|
|
|
243
243
|
};
|
|
244
244
|
TttxSelectBox.style = tttxSelectBoxCss;
|
|
245
245
|
|
|
246
|
-
export { TttxSelectBox as
|
|
246
|
+
export { TttxSelectBox as tttx_select_box_1_9_63 };
|
|
@@ -2,7 +2,7 @@ import { r as registerInstance, c as createEvent, h, H as Host } from './index-3
|
|
|
2
2
|
import { p as purify, d as domSanitiserOptions } from './domsanitiser.options-38a67458.js';
|
|
3
3
|
import './_commonjsHelpers-9943807e.js';
|
|
4
4
|
|
|
5
|
-
const tttxTabsCss = ".material-symbols-rounded.sc-tttx-
|
|
5
|
+
const tttxTabsCss = ".material-symbols-rounded.sc-tttx-tabs_1_9_63{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.sc-tttx-tabs_1_9_63-h{display:block}.tab-bar.sc-tttx-tabs_1_9_63{display:flex;height:52px}.tab-bar.sc-tttx-tabs_1_9_63>.left-navigation.sc-tttx-tabs_1_9_63,.tab-bar.sc-tttx-tabs_1_9_63>.right-navigation.sc-tttx-tabs_1_9_63{padding:14px 8px;cursor:pointer}.tab-bar.sc-tttx-tabs_1_9_63>.left-navigation.sc-tttx-tabs_1_9_63>*.sc-tttx-tabs_1_9_63,.tab-bar.sc-tttx-tabs_1_9_63>.right-navigation.sc-tttx-tabs_1_9_63>*.sc-tttx-tabs_1_9_63{height:24px;width:24px;cursor:pointer}.tab-bar.sc-tttx-tabs_1_9_63>.tabs-container.sc-tttx-tabs_1_9_63{display:flex;border-bottom:1px solid #d5d5d5}.tab-bar.sc-tttx-tabs_1_9_63>.tabs-container.wide.sc-tttx-tabs_1_9_63{flex-grow:1}.tab-bar.sc-tttx-tabs_1_9_63>.tabs-container.sc-tttx-tabs_1_9_63>*[role=tab].sc-tttx-tabs_1_9_63{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_63>.tabs-container.sc-tttx-tabs_1_9_63>*[role=tab].sc-tttx-tabs_1_9_63:hover{background-color:rgba(17, 17, 17, 0.05)}.tab-bar.sc-tttx-tabs_1_9_63>.tabs-container.sc-tttx-tabs_1_9_63>*[role=tab][aria-selected].sc-tttx-tabs_1_9_63{color:#212121;cursor:default;border-bottom:3px solid #1579c6}";
|
|
6
6
|
|
|
7
7
|
const TttxTabs = class {
|
|
8
8
|
constructor(hostRef) {
|
|
@@ -79,7 +79,7 @@ const TttxTabs = class {
|
|
|
79
79
|
}
|
|
80
80
|
generateTab(tab) {
|
|
81
81
|
var _a, _b;
|
|
82
|
-
const tabTitle = (_a = tab.tabName) !== null && _a !== void 0 ? _a : (h("tttx-
|
|
82
|
+
const tabTitle = (_a = tab.tabName) !== null && _a !== void 0 ? _a : (h("tttx-icon_1_9_63", { style: { pointerEvents: 'none', marginTop: '-2px' }, icon: tab.tabIcon, color: 'gray', size: (_b = tab.tabIconSize) !== null && _b !== void 0 ? _b : 24 }));
|
|
83
83
|
return (h("a", { key: tab.id, id: tab.id, role: "tab", "aria-controls": tab.controls, tabindex: tab.tabIndex, "aria-selected": tab.selected, onClick: () => {
|
|
84
84
|
this.handleTabClick(tab);
|
|
85
85
|
} }, tabTitle));
|
|
@@ -98,7 +98,7 @@ const TttxTabs = class {
|
|
|
98
98
|
return;
|
|
99
99
|
}
|
|
100
100
|
const selectedTab = this._tabs.find(tab => tab.selected);
|
|
101
|
-
return (h(Host, null, h("div", null, h("div", { class: "tab-bar", role: "tablist", "aria-label": this.tabsName, ref: el => (this.tabList = el) }, this.navigation && (h("div", { class: "left-navigation", tabindex: "0", onClick: this.handleLeftNavigation.bind(this) }, h("tttx-
|
|
101
|
+
return (h(Host, null, h("div", null, h("div", { class: "tab-bar", role: "tablist", "aria-label": this.tabsName, ref: el => (this.tabList = el) }, this.navigation && (h("div", { class: "left-navigation", tabindex: "0", onClick: this.handleLeftNavigation.bind(this) }, h("tttx-icon_1_9_63", { icon: "navigate_before", color: "black" }))), h("div", { class: 'tabs-container' + (this.wide ? ' wide' : '') }, this._tabs.map(this.generateTab.bind(this))), this.navigation && (h("div", { class: "right-navigation", tabindex: "0", onClick: this.handleRightNavigation.bind(this) }, h("tttx-icon_1_9_63", { icon: "navigate_next", color: "black" })))), selectedTab && this.renderSelectedTab(selectedTab))));
|
|
102
102
|
}
|
|
103
103
|
static get watchers() { return {
|
|
104
104
|
"tabs": ["onDataChange"]
|
|
@@ -106,4 +106,4 @@ const TttxTabs = class {
|
|
|
106
106
|
};
|
|
107
107
|
TttxTabs.style = tttxTabsCss;
|
|
108
108
|
|
|
109
|
-
export { TttxTabs as
|
|
109
|
+
export { TttxTabs as tttx_tabs_1_9_63 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-3d473f8b.js';
|
|
2
2
|
|
|
3
|
-
const tttxTextareaCss = ".material-symbols-rounded.sc-tttx-
|
|
3
|
+
const tttxTextareaCss = ".material-symbols-rounded.sc-tttx-textarea_1_9_63{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}.sc-tttx-textarea_1_9_63-h{display:block}label.sc-tttx-textarea_1_9_63{font-weight:500;font-size:16px;line-height:18.752px;color:#212121}label.sc-tttx-textarea_1_9_63 .textarea-container.sc-tttx-textarea_1_9_63{position:relative}label.sc-tttx-textarea_1_9_63 .textarea-container.sc-tttx-textarea_1_9_63 textarea.sc-tttx-textarea_1_9_63{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_63 .textarea-container.sc-tttx-textarea_1_9_63 textarea.no-label.sc-tttx-textarea_1_9_63{margin-top:0}label.sc-tttx-textarea_1_9_63 .textarea-container.sc-tttx-textarea_1_9_63 textarea.sc-tttx-textarea_1_9_63~.errorBubble.sc-tttx-textarea_1_9_63{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_63 .textarea-container.sc-tttx-textarea_1_9_63 textarea.sc-tttx-textarea_1_9_63~.errorBubble.sc-tttx-textarea_1_9_63:not(.visible){display:none}label.sc-tttx-textarea_1_9_63 .textarea-container.sc-tttx-textarea_1_9_63 textarea.sc-tttx-textarea_1_9_63~.errorBubble.sc-tttx-textarea_1_9_63 span.sc-tttx-textarea_1_9_63{color:#dc0000;font-size:16px;margin-right:4px}label.sc-tttx-textarea_1_9_63 .textarea-container.sc-tttx-textarea_1_9_63 textarea.sc-tttx-textarea_1_9_63:focus{border-color:#1479c6}label.sc-tttx-textarea_1_9_63 .textarea-container.sc-tttx-textarea_1_9_63 textarea.sc-tttx-textarea_1_9_63:focus-visible{outline:none}label.sc-tttx-textarea_1_9_63 .secondarylabel.sc-tttx-textarea_1_9_63{color:#757575;font-size:14px;line-height:16.408px;font-weight:normal;display:flex;margin-top:4px}label.sc-tttx-textarea_1_9_63 .optional.sc-tttx-textarea_1_9_63{color:#757575;font-weight:normal}";
|
|
4
4
|
|
|
5
5
|
const TttxTextarea = class {
|
|
6
6
|
constructor(hostRef) {
|
|
@@ -52,4 +52,4 @@ const TttxTextarea = class {
|
|
|
52
52
|
};
|
|
53
53
|
TttxTextarea.style = tttxTextareaCss;
|
|
54
54
|
|
|
55
|
-
export { TttxTextarea as
|
|
55
|
+
export { TttxTextarea as tttx_textarea_1_9_63 };
|
|
@@ -175,7 +175,7 @@ const TttxTreeView = class {
|
|
|
175
175
|
if (node.hasHover) {
|
|
176
176
|
this.onClickHandler(event, node);
|
|
177
177
|
}
|
|
178
|
-
} }), h("tttx-
|
|
178
|
+
} }), h("tttx-button_1_9_63", { class: "toggleNode", design: "borderless-circle", notext: true, icon: options.expanderIcon, color: "black", onClick: event => this.toggleNode(node, event) }), this.htmlcode('treeNode', node, options.checkboxIcon, options.checkboxColor, index, parentId)), node.isOpen ? (h("li", null, h("ul", null, node.child.map((childNode, index) => {
|
|
179
179
|
return this.renderNode(childNode, index, node.id);
|
|
180
180
|
})))) : null));
|
|
181
181
|
}
|
|
@@ -188,7 +188,7 @@ const TttxTreeView = class {
|
|
|
188
188
|
}
|
|
189
189
|
}
|
|
190
190
|
htmlcode(type, node, check_box, check_boxColor, index, parentId = undefined) {
|
|
191
|
-
const htmlcode = (h("div", { class: "inline-tree-item element" }, node.draggable && (h("img", { src: this.dragIcon, alt: "drag", class: "drag-handle", draggable: true, onDragStart: event => this.handleDragStart(event, node, index, parentId) })), node.hasCheckbox && (h("tttx-
|
|
191
|
+
const htmlcode = (h("div", { class: "inline-tree-item element" }, node.draggable && (h("img", { src: this.dragIcon, alt: "drag", class: "drag-handle", draggable: true, onDragStart: event => this.handleDragStart(event, node, index, parentId) })), node.hasCheckbox && (h("tttx-button_1_9_63", { design: "borderless-circle", notext: true, icon: check_box, iconcolor: check_boxColor, class: "padding-icon checkbox", onClick: event => this.handleCheckboxChange(node, event) })), !node.html && node.hasIcon && (h("tttx-icon_1_9_63", { icon: node.icon, color: node.iconColor, class: "padding-icon" })), !node.html && h("div", { class: type }, node.title), node.html && h("div", { class: type, innerHTML: purify.sanitize(node.html, domSanitiserOptions) })));
|
|
192
192
|
return htmlcode;
|
|
193
193
|
}
|
|
194
194
|
render() {
|
|
@@ -200,4 +200,4 @@ const TttxTreeView = class {
|
|
|
200
200
|
};
|
|
201
201
|
TttxTreeView.style = tttxTreeViewCss;
|
|
202
202
|
|
|
203
|
-
export { TttxTreeView as
|
|
203
|
+
export { TttxTreeView as tttx_tree_view_1_9_63 };
|
package/dist/esm/tttx.js
CHANGED
|
@@ -14,5 +14,5 @@ const patchBrowser = () => {
|
|
|
14
14
|
};
|
|
15
15
|
|
|
16
16
|
patchBrowser().then(options => {
|
|
17
|
-
return bootstrapLazy([["tttx-data-
|
|
17
|
+
return bootstrapLazy([["tttx-data-pattern_1_9_63",[[1,"tttx-data-pattern_1_9_63",{"data":[1],"sorterOptions":[1,"sorter-options"],"filterOptions":[1,"filter-options"],"filterHeader":[1,"filter-header"],"defaultSortOption":[1,"default-sort-option"],"searchplaceholder":[1],"addbuttonlabel":[1],"addbutton":[4]}]]],["tttx-form_1_9_63",[[1,"tttx-form_1_9_63",{"formschema":[1025],"data":[1032],"submit":[64],"showLoadingSpinner":[64],"setSelectedItem":[64],"setSelectOptions":[64],"isValid":[64],"setValidationFor":[64],"clearValidationFor":[64],"disableFormField":[64],"enableFormField":[64],"setInputFieldValue":[64],"setFieldReadOnlyMode":[64]}]]],["tttx-multiselect-box_1_9_63",[[1,"tttx-multiselect-box_1_9_63",{"optionsData":[1,"options-data"],"label":[1],"inline":[4],"placeholder":[1],"searchEnabled":[4,"search-enabled"],"htmlVisibleValue":[4,"html-visible-value"],"visibleValue":[1,"visible-value"],"isLoading":[4,"is-loading"],"stopLocalSearch":[4,"stop-local-search"],"readOnly":[4,"read-only"],"priorityLabel":[1,"priority-label"],"nonPriorityLabel":[1,"non-priority-label"],"open":[32],"unsavedSelectedItems":[32],"searchTerm":[32]},[[0,"closeSelectBox","handleCloseSelectBox"],[0,"blur","handleBlur"]]]]],["tttx-chart_1_9_63",[[1,"tttx-chart_1_9_63",{"chartType":[1,"chart-type"],"chartData":[16],"chartOptions":[16],"loading":[4],"error":[4],"fallbackText":[1,"fallback-text"],"width":[1],"height":[1],"exportable":[32],"chartInstance":[32],"showPngSvgExport":[32]}]]],["tttx-datacard_1_9_63",[[1,"tttx-datacard_1_9_63",{"cardTitle":[1,"card-title"],"leftData":[1,"left-data"],"rightData":[1,"right-data"],"rightSubtext":[1,"right-subtext"],"iconStyle":[1,"icon-style"],"cardType":[1,"card-type"],"chartConfig":[1,"chart-config"],"_chartConfig":[32],"chartRender":[32]}]]],["tttx-dialog-box_1_9_63",[[1,"tttx-dialog-box_1_9_63",{"data":[1025],"size":[1],"open":[1028],"allowOverflow":[4,"allow-overflow"],"elementSize":[32]},[[9,"resize","handleResize"]]]]],["tttx-dialog_1_9_63",[[1,"tttx-dialog_1_9_63",{"header":[1],"type":[1],"size":[1],"open":[4],"allowOverflow":[4,"allow-overflow"],"closeEnabled":[4,"close-enabled"],"elementSize":[32]},[[9,"resize","handleResize"]]]]],["tttx-tree-view_1_9_63",[[1,"tttx-tree-view_1_9_63",{"data":[1040],"treeData":[32]}]]],["tttx-action-dropdown_1_9_63",[[1,"tttx-action-dropdown_1_9_63",{"actionKey":[1,"action-key"],"icon":[1],"fieldOptionsData":[1,"field-options-data"],"defaultOption":[1,"default-option"],"isIconVisible":[4,"is-icon-visible"],"selectedField":[32],"dropdownExpand":[32],"dropdownOptions":[32]},[[0,"closeActionDropdown","handleCloseActionDropdown"]]]]],["tttx-checkbox_1_9_63",[[0,"tttx-checkbox_1_9_63",{"checkboxId":[1,"checkbox-id"],"label":[1],"inline":[4],"indeterminate":[4],"checked":[4]}]]],["tttx-comments_1_9_63",[[1,"tttx-comments_1_9_63",{"currentuser":[1],"comments":[1],"disableFile":[4,"disable-file"],"messageLimit":[2,"message-limit"],"inputBoxHeight":[2,"input-box-height"],"placeholder":[1],"saveButtonText":[1,"save-button-text"],"value":[1],"allowEditing":[4,"allow-editing"],"readonly":[4],"_comments":[32],"showError":[32],"_saveButtonText":[32],"editingComment":[32],"addDummyComment":[64]}]]],["tttx-date-range-picker",[[1,"tttx-date-range-picker",{"initialValue":[16],"placeholderText":[1,"placeholder-text"],"showCalendar":[32],"startDate":[32],"endDate":[32],"currentMonth":[32],"currentYear":[32],"isSelecting":[32],"hoverDate":[32]}]]],["tttx-expander_1_9_63",[[1,"tttx-expander_1_9_63",{"name":[1],"open":[4],"lefticon":[1],"lefticoncolor":[1],"isExpanded":[32]}]]],["tttx-tabs_1_9_63",[[2,"tttx-tabs_1_9_63",{"tabsName":[1,"tabs-name"],"navigation":[4],"wide":[4],"tabs":[1],"_tabs":[32]},[[0,"keydown","handleKeyDown"]]]]],["tttx-checkbox-group-caption_1_9_63",[[4,"tttx-checkbox-group-caption_1_9_63"]]],["tttx-checkbox-group-heading_1_9_63",[[4,"tttx-checkbox-group-heading_1_9_63"]]],["tttx-checkbox-group_1_9_63",[[1,"tttx-checkbox-group_1_9_63"]]],["tttx-keyvalue-block_1_9_63",[[1,"tttx-keyvalue-block_1_9_63",{"keyvalues":[1],"horizontal":[4],"spacedout":[4],"_elements":[32]}]]],["tttx-percentage-bar_1_9_63",[[2,"tttx-percentage-bar_1_9_63",{"percentage":[8],"thresholds":[1],"color":[1],"min":[1],"labelid":[1],"_percentage":[32],"_ranges":[32],"_min":[32]}]]],["tttx-qrcode_1_9_63",[[1,"tttx-qrcode_1_9_63",{"link":[1025],"size":[1026]}]]],["tttx-skeleton_loader_1_9_63",[[1,"tttx-skeleton_loader_1_9_63",{"width":[1],"height":[1],"borderRadius":[1,"border-radius"],"color":[1],"variant":[1],"animation":[1],"count":[2],"direction":[1],"gap":[1],"customClass":[1,"custom-class"]}]]],["tttx-table_1_9_63",[[1,"tttx-table_1_9_63",{"headers":[16],"data":[8],"selectable":[4],"loading":[4],"selected":[2],"draggableHeaders":[4,"draggable-headers"],"draggedHeaderIndex":[32]}]]],["tttx-textarea_1_9_63",[[2,"tttx-textarea_1_9_63",{"label":[1],"secondarylabel":[1],"showerrormsg":[4],"showerrorbubble":[4],"errormsg":[1],"rows":[2],"textareaautofocus":[4],"inputkeyhint":[1],"inputindex":[8],"inputtitle":[1],"disabled":[4],"maxlength":[8],"name":[1],"placeholder":[1],"readonly":[8],"required":[4],"value":[1032]}]]],["tttx-toggle_1_9_63",[[1,"tttx-toggle_1_9_63",{"initialstate":[8],"_state":[32]}]]],["tttx-loading-spinner_1_9_63_3",[[1,"tttx-tag_1_9_63",{"text":[1],"color":[1],"textColor":[1,"text-color"],"hasIcon":[4,"has-icon"],"icon":[1],"iconColor":[1,"icon-color"],"iconSize":[2,"icon-size"]}],[2,"tttx-standalone-input_1_9_63",{"label":[1],"secondarylabel":[1],"showerrormsg":[4],"showerrorbubble":[4],"errormsg":[1],"iconleft":[1],"iconleftcolor":[1],"iconright":[1],"iconrightcolor":[1],"inputicon":[1],"inputiconcolor":[1],"inline":[4],"inputautocapitalize":[1],"inputautofocus":[4],"inputkeyhint":[1],"inputindex":[8],"inputtitle":[1],"autocomplete":[1],"checked":[4],"disabled":[4],"max":[8],"maxlength":[8],"min":[8],"minlength":[8],"name":[1],"pattern":[1],"placeholder":[1],"readonly":[8],"required":[4],"step":[8],"type":[1],"value":[1032]}],[1,"tttx-loading-spinner_1_9_63",{"loadingMessage":[4,"loading-message"],"size":[1],"color":[1],"message":[1],"customMessageSchema":[16],"timeElapsed":[32]}]]],["tttx-select-box_1_9_63",[[1,"tttx-select-box_1_9_63",{"optionsData":[1,"options-data"],"label":[1],"inline":[4],"placeholder":[1],"searchEnabled":[4,"search-enabled"],"selectedValue":[1,"selected-value"],"useExternalFiltering":[4,"use-external-filtering"],"useExternalPaginatedFiltering":[4,"use-external-paginated-filtering"],"isAllExternalDataLoaded":[4,"is-all-external-data-loaded"],"isLoading":[4,"is-loading"],"readOnly":[4,"read-only"],"priorityLabel":[1,"priority-label"],"nonPriorityLabel":[1,"non-priority-label"],"clearable":[4],"showErrorMsg":[4,"show-error-msg"],"showErrorBubble":[4,"show-error-bubble"],"errorMsg":[1,"error-msg"],"open":[32],"selectedItem":[32],"searchTerm":[32],"loadingNextExternalPage":[32],"setSelectedItem":[64]},[[0,"closeSelectBox","handleCloseSelectBox"],[0,"blur","handleBlur"]]]]],["tttx-graph_1_9_63",[[1,"tttx-graph_1_9_63",{"chartType":[1,"chart-type"],"chartData":[1,"chart-data"],"chartText":[1,"chart-text"],"chartConfig":[32],"formattedData":[32]}]]],["tttx-icon_1_9_63",[[1,"tttx-icon_1_9_63",{"icon":[1],"color":[1],"size":[1026]}]]],["tttx-filter_1_9_63_4",[[1,"tttx-filter_1_9_63",{"filterKey":[1,"filter-key"],"filterOptions":[1,"filter-options"],"showSelectAll":[4,"show-select-all"],"showSearchField":[4,"show-search-field"],"showOptionIcons":[4,"show-option-icons"],"filterButtonStyle":[1,"filter-button-style"],"filterHeader":[1,"filter-header"],"defaultFilterOptions":[1,"default-filter-options"],"popoverWidth":[1,"popover-width"],"showPopover":[32],"displayedFilterSettings":[32],"selectedFilters":[32],"filterSearchTerm":[32],"allSelected":[32]},[[0,"closeFilter","handleCloseFilter"]]],[1,"tttx-list_1_9_63",{"data":[1025],"name":[1],"_data":[32]}],[1,"tttx-sorter_1_9_63",{"sorterKey":[1,"sorter-key"],"defaultSortDirection":[1,"default-sort-direction"],"fieldOptionsData":[1,"field-options-data"],"defaultOption":[1,"default-option"],"selectedField":[32],"sortDirection":[32],"dropdownExpand":[32],"dropdownOptions":[32]},[[0,"closeSorter","handleCloseSorter"]]],[1,"tttx-toolbar_1_9_63",{"border":[4],"viewSize":[32]},[[9,"resize","handleResize"]]]]],["tttx-button_1_9_63",[[1,"tttx-button_1_9_63",{"notext":[4],"icon":[1],"iconposition":[1],"iconcolor":[1025],"design":[1]}]]]], options);
|
|
18
18
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as o,h as i,F as s,H as e,g as n}from"./p-2b0fc913.js";import{p as l,d}from"./p-55799798.js";import"./p-112455b1.js";const r=class{constructor(i){t(this,i),this.selectItemEvent=o(this,"selectItemEvent",3),this.toggleOpen=o(this,"toggleOpen",3),this.searchUpdated=o(this,"multiselectSearchUpdated",7),this.selectEndReachedEvent=o(this,"selectEndReached",7),this.bodyOffset={},this.closeSelectBoxHandler=()=>{this.open&&(this.open=!1)},this.optionsData=null,this.label=void 0,this.inline=void 0,this.placeholder="",this.searchEnabled=void 0,this.selectedValue=void 0,this.useExternalFiltering=void 0,this.useExternalPaginatedFiltering=void 0,this.isAllExternalDataLoaded=void 0,this.isLoading=void 0,this.readOnly=void 0,this.priorityLabel="Priority Group",this.nonPriorityLabel="Non Priority Group",this.clearable=!1,this.showErrorMsg=void 0,this.showErrorBubble=!1,this.errorMsg=void 0,this.open=!1,this.selectedItem=void 0,this.searchTerm="",this.loadingNextExternalPage=!1}async componentWillLoad(){if(this.optionsData){this.setOptionsData();const t=this._optionsData.filter((t=>t.value==this.selectedValue));this.selectedItem=t.length>0?t[0]:void 0}this._isAllExternalDataLoaded=this.isAllExternalDataLoaded}async setOptionsData(){this._optionsData="string"==typeof this.optionsData?JSON.parse(this.optionsData):this.optionsData,this.open&&this.calculateDropdownMenuOffset(),this.loadingNextExternalPage=!1}updateAllLoadedBool(){this._isAllExternalDataLoaded=this.isAllExternalDataLoaded}async setSelectedItem(t){if(!t)return this.cleanSelectedItem();const o=this._optionsData.find((o=>o.value.toLowerCase()===t.toLowerCase()));if(!o)return this.cleanSelectedItem();this.selectedValue=o.value,this.selectedItem=o}cleanSelectedItem(){this.selectedValue=void 0,this.selectedItem=void 0,this.selectItemEvent.emit(this.selectedItem)}componentDidLoad(){document.addEventListener("closeSelectBoxOnScroll",this.closeSelectBoxHandler)}componentWillUnload(){document.removeEventListener("closeSelectBoxOnScroll",this.closeSelectBoxHandler)}handleCloseSelectBox(){this.open=!1}handleBlur(){this.open=!1,this.toggleOpen.emit(!1)}onDropdownClicked(){this.readOnly||(this.open=!this.open,this.searchTerm="",this.loadingNextExternalPage=!1,this.calculateDropdownMenuOffset(),this.toggleOpen.emit(this.open))}onItemSelected(t){this.selectedItem=t,this.selectItemEvent.emit(this.selectedItem),this.handleBlur()}dropdownSelectorContent(){let t,o;const e=i("tttx-
|
|
1
|
+
import{r as t,c as o,h as i,F as s,H as e,g as n}from"./p-2b0fc913.js";import{p as l,d}from"./p-55799798.js";import"./p-112455b1.js";const r=class{constructor(i){t(this,i),this.selectItemEvent=o(this,"selectItemEvent",3),this.toggleOpen=o(this,"toggleOpen",3),this.searchUpdated=o(this,"multiselectSearchUpdated",7),this.selectEndReachedEvent=o(this,"selectEndReached",7),this.bodyOffset={},this.closeSelectBoxHandler=()=>{this.open&&(this.open=!1)},this.optionsData=null,this.label=void 0,this.inline=void 0,this.placeholder="",this.searchEnabled=void 0,this.selectedValue=void 0,this.useExternalFiltering=void 0,this.useExternalPaginatedFiltering=void 0,this.isAllExternalDataLoaded=void 0,this.isLoading=void 0,this.readOnly=void 0,this.priorityLabel="Priority Group",this.nonPriorityLabel="Non Priority Group",this.clearable=!1,this.showErrorMsg=void 0,this.showErrorBubble=!1,this.errorMsg=void 0,this.open=!1,this.selectedItem=void 0,this.searchTerm="",this.loadingNextExternalPage=!1}async componentWillLoad(){if(this.optionsData){this.setOptionsData();const t=this._optionsData.filter((t=>t.value==this.selectedValue));this.selectedItem=t.length>0?t[0]:void 0}this._isAllExternalDataLoaded=this.isAllExternalDataLoaded}async setOptionsData(){this._optionsData="string"==typeof this.optionsData?JSON.parse(this.optionsData):this.optionsData,this.open&&this.calculateDropdownMenuOffset(),this.loadingNextExternalPage=!1}updateAllLoadedBool(){this._isAllExternalDataLoaded=this.isAllExternalDataLoaded}async setSelectedItem(t){if(!t)return this.cleanSelectedItem();const o=this._optionsData.find((o=>o.value.toLowerCase()===t.toLowerCase()));if(!o)return this.cleanSelectedItem();this.selectedValue=o.value,this.selectedItem=o}cleanSelectedItem(){this.selectedValue=void 0,this.selectedItem=void 0,this.selectItemEvent.emit(this.selectedItem)}componentDidLoad(){document.addEventListener("closeSelectBoxOnScroll",this.closeSelectBoxHandler)}componentWillUnload(){document.removeEventListener("closeSelectBoxOnScroll",this.closeSelectBoxHandler)}handleCloseSelectBox(){this.open=!1}handleBlur(){this.open=!1,this.toggleOpen.emit(!1)}onDropdownClicked(){this.readOnly||(this.open=!this.open,this.searchTerm="",this.loadingNextExternalPage=!1,this.calculateDropdownMenuOffset(),this.toggleOpen.emit(this.open))}onItemSelected(t){this.selectedItem=t,this.selectItemEvent.emit(this.selectedItem),this.handleBlur()}dropdownSelectorContent(){let t,o;const e=i("tttx-icon_1_9_63",{icon:this.open?"expand_less":"expand_more",color:"black"});let n=i("div",{class:"dropdown-selector-chevron"},e);return this.selectedItem?this.selectedItem.html?(t=i("div",{title:this.selectedItem.label,class:"truncated-text",innerHTML:this.selectedItem.html}),i(s,null,t,n)):(t=i("div",{title:this.selectedItem.label,class:"truncated-text"},this.selectedItem.label),this.selectedItem.description&&(o=i("div",{class:"description"},i("p",null,this.selectedItem.description)),n=i("div",{class:"dropdown-selector-chevron-offset"},e)),i(s,null,i("div",{class:"left-wrapper"},t,o),this.clearable&&!this.readOnly&&i("tttx-icon_1_9_63",{class:"input-icon",style:{paddingTop:"5px",cursor:"pointer"},icon:"close_small",onClick:this.cleanSelectedItem.bind(this)}),n)):(t=i("div",{class:"placeholder"},this.placeholder),i(s,null,t,n))}renderDropdownOptions(t){let o=!1;const e=[],n=[];for(const i of t)o=o||!0===i.prioritise,(!this.searchEnabled||this.useExternalFiltering||this.useExternalPaginatedFiltering||-1!==i.label.toLowerCase().indexOf(this.searchTerm.toLowerCase()))&&(!0!==i.prioritise?n.push(i):e.push(i));return i(s,null,o&&e.length>0&&i(s,null,i("tttx-tag_1_9_63",{class:"priority-pill",text:this.priorityLabel,color:"#F0F0F0"}),e.map((t=>this.dropdownOption(t)))),n.length>0&&i(s,null,o&&i("tttx-tag_1_9_63",{class:"priority-pill",text:this.nonPriorityLabel,color:"#F0F0F0"}),n.map((t=>this.dropdownOption(t)))))}dropdownOption(t){const o=this.selectedItem&&t.value===this.selectedItem.value;if(t.html){const s=l.sanitize(t.html,d);return i("div",{class:"dropdown-option "+(o?"selected":""),onClick:this.onItemSelected.bind(this,t),key:t.label,innerHTML:s})}return t.description?i("div",{class:"dropdown-option "+(o?"selected":""),onClick:this.onItemSelected.bind(this,t),key:t.label},t.label,i("div",{class:"description-dd"},i("p",null,t.description))):i("div",{class:"dropdown-option "+(o?"selected":""),onClick:this.onItemSelected.bind(this,t),key:t.label},t.label)}handleSearchInput(t){const o=t.target.value;(this.useExternalFiltering||this.useExternalPaginatedFiltering)&&(clearTimeout(this.searchFilterTimeout),this.searchFilterTimeout=setTimeout((t=>{this.searchUpdated.emit(t)}),500,o)),this.searchTerm=o}calculateDropdownMenuOffset(){const t=this.el.shadowRoot.querySelector(".dropdown-selector").getBoundingClientRect(),o=window.innerHeight,i=window.innerWidth;let s=Math.min(368,36*this._optionsData.length)+8;this.searchEnabled&&(s+=52);const e=o-t.bottom,n=t.top;let l,d,r;this._optionsData.length||(s=200),e>=s?(l=t.bottom+"px",d="",r=s+"px"):n>=s?(l="",d=o-t.top+"px",r=s+"px"):(l=s-n+"px",d=s-e+"px",r=s+"px"),this.bodyOffset={position:"fixed",left:Math.max(t.left,0)+"px",width:Math.min(t.width,i-t.left-16)+"px",top:l,bottom:d,maxHeight:r,zIndex:"10",overflowY:"auto"}}onSelectScroll(t){const o=t.target;this.useExternalPaginatedFiltering&&o.scrollHeight-o.scrollTop-o.offsetHeight<=5&&!this.loadingNextExternalPage&&!this._isAllExternalDataLoaded&&(this.loadingNextExternalPage=!0,clearTimeout(this.selectEndReached),this.selectEndReached=setTimeout((t=>{this.selectEndReachedEvent.emit(t)}),500,this.searchTerm))}render(){if(!this.optionsData)return;const t=this.showErrorMsg?"invalid":"",o=this.readOnly?"dropdown-read-only":"";return i(e,{class:this.inline?"inline":"block"},this.label&&i("div",{class:"label"},this.label),i("div",{tabindex:"0",class:"dropdown-container"},i("div",{class:["dropdown-selector",t,o].join(" "),ref:t=>this.dropdownSelector=t,onClick:this.onDropdownClicked.bind(this)},this.dropdownSelectorContent()),this.open&&i("div",{class:"dropdown-body-container"},i("div",{class:"dropdown-body",style:Object.assign({width:`${this.dropdownSelector.offsetWidth}px`},this.bodyOffset)},this.searchEnabled&&i("div",{class:"searchbox"},i("tttx-standalone-input_1_9_63",{type:"text",label:"",required:!0,showerrorbubble:!1,iconleft:"search",onInput:this.handleSearchInput.bind(this)})),i("div",{class:"dropdown-options-list",onScroll:this.onSelectScroll.bind(this)},!this.isLoading&&this.renderDropdownOptions(this._optionsData),(this.isLoading||this.loadingNextExternalPage)&&i("tttx-loading-spinner_1_9_63",{class:"loading-style"})))),this.showErrorBubble&&i("span",{class:["errorBubble",this.showErrorMsg&&this.errorMsg?"visible":""].join(" ")},i("tttx-icon_1_9_63",{icon:"warning",color:"#dc0000",size:16})," ",this.errorMsg)))}get el(){return n(this)}static get watchers(){return{optionsData:["setOptionsData"],isAllExternalDataLoaded:["updateAllLoadedBool"]}}};r.style='.material-symbols-rounded{font-variation-settings:"FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24}:host{display:flex;gap:4px}.label{font-size:16px;font-weight:500;line-height:18.752px;color:#212121}:host(.inline) .label{padding-top:8px}:host(.block){flex-direction:column}.dropdown-container{position:relative;display:flex;flex-direction:column;width:100%}.dropdown-container:focus-visible{outline:none}.dropdown-container:focus .dropdown-selector{border:1px solid #1479c6}.dropdown-selector,.dropdown-body{display:flex;border-radius:4px;background-color:white}.dropdown-selector{min-height:36px;box-sizing:border-box;align-items:center;gap:8px;padding:4px 8px 4px 16px;cursor:pointer;justify-content:space-between;border:1px solid #d5d5d5;display:flex;flex-direction:row}.dropdown-selector>.left-wrapper{flex:1;min-width:0}.dropdown-selector *{font-weight:400}.dropdown-selector.invalid{border:1px solid #dc0000}.priority-pill{padding:6px 8px 6px 16px}.dropdown-read-only{background-color:#BDBDBD !important}.errorBubble{position:relative;font-size:14px;line-height:16.408px;font-weight:normal;width:100%;font-family:"Roboto", sans-serif;color:#dc0000;display:flex;align-content:center;align-items:center;justify-items:center;margin-top:4px}.errorBubble:not(.visible){display:none}.errorBubble>*{font-size:16px;margin-right:4px;height:16px}.description{color:#757575;font-size:14px;line-height:16.408px}.description>p{margin:0}.description-dd{color:#757575;font-size:14px;line-height:16.408px}.description-dd>p{margin:0}.truncated-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#212121;font-size:16px;line-height:18.752px}.dropdown-selector-chevron{height:24px}.dropdown-selector-chevron-offset{height:24px}.dropdown-selector-chevron>tttx-icon{cursor:pointer}.dropdown-body-container{position:fixed;z-index:2}.dropdown-body{position:absolute;flex-direction:column;box-shadow:0px 1px 5px #1111114D;padding-bottom:8px;border:1px solid #d5d5d5}.dropdown-options-list{display:flex;flex-direction:column;overflow-y:auto;max-height:368px}.dropdown-option{padding:6px 8px 6px 16px;cursor:pointer}.dropdown-option:hover{background-color:#1111110d}.dropdown-option:active,.dropdown-option.selected{background-color:#ebfbfc}.placeholder{color:#9e9e9e;white-space:nowrap;overflow-x:hidden;text-overflow:ellipsis}.searchbox{padding:8px 16px}.searchbox tttx-standalone-input{margin-top:-4px}.hidden{display:none}';export{r as tttx_select_box_1_9_63}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as o,H as s}from"./p-2b0fc913.js";const e=class{constructor(o){t(this,o),this.data=void 0,this.sorterOptions=void 0,this.filterOptions=void 0,this.filterHeader="Filter",this.defaultSortOption="Sort by",this.searchplaceholder="Search",this.addbuttonlabel="Add",this.addbutton=!1}render(){return o(s,null,o("div",{class:"container"},o("tttx-
|
|
1
|
+
import{r as t,h as o,H as s}from"./p-2b0fc913.js";const e=class{constructor(o){t(this,o),this.data=void 0,this.sorterOptions=void 0,this.filterOptions=void 0,this.filterHeader="Filter",this.defaultSortOption="Sort by",this.searchplaceholder="Search",this.addbuttonlabel="Add",this.addbutton=!1}render(){return o(s,null,o("div",{class:"container"},o("tttx-toolbar_1_9_63",{border:!0},o("span",{slot:"before"},this.sorterOptions&&o("tttx-sorter_1_9_63",{sorterKey:"data-pattern-list",fieldOptionsData:this.sorterOptions,defaultOption:this.defaultSortOption}),this.filterOptions&&o("tttx-filter_1_9_63",{"filter-options":JSON.stringify(this.filterOptions),showSelectAll:!1,"show-option-icons":!0,"filter-header":this.filterHeader,"filter-key":"data-pattern-list"})),o("span",{slot:"after"},o("tttx-standalone-input_1_9_63",{class:"qualifications-filter",showerrorbubble:!1,inputicon:"search",inline:!0,required:!0,placeholder:this.searchplaceholder,type:"text",maxlength:30}))),o("tttx-toolbar_1_9_63",{border:!1},o("span",{slot:"before"},this.addbutton&&o("tttx-button_1_9_63",{design:"primary",icon:"add"},this.addbuttonlabel))),o("tttx-list_1_9_63",{data:this.data})))}};e.style=":host{display:block}";export{e as tttx_data_pattern_1_9_63}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,c as n,h as t,H as a}from"./p-2b0fc913.js";const o=class{constructor(t){e(this,t),this.toggleExpander=n(this,"toggleExpander",7),this.name=void 0,this.open=!1,this.lefticon=void 0,this.lefticoncolor=void 0,this.isExpanded=!1}componentWillRender(){this.isExpanded=this.open}handleExpand(){this.isExpanded=null===this.expander.getAttribute("open"),this.toggleExpander.emit({open:this.isExpanded,name:this.name})}render(){return t(a,null,t("details",{class:"expander",open:this.open,"aria-owns":"expanderContent","aria-expanded":`${this.isExpanded}`,onClick:this.handleExpand.bind(this),ref:e=>this.expander=e},t("summary",{class:"panel"},t("span",{class:"panel-frame"},this.lefticon&&t("span",{class:"left-icons"},t("tttx-
|
|
1
|
+
import{r as e,c as n,h as t,H as a}from"./p-2b0fc913.js";const o=class{constructor(t){e(this,t),this.toggleExpander=n(this,"toggleExpander",7),this.name=void 0,this.open=!1,this.lefticon=void 0,this.lefticoncolor=void 0,this.isExpanded=!1}componentWillRender(){this.isExpanded=this.open}handleExpand(){this.isExpanded=null===this.expander.getAttribute("open"),this.toggleExpander.emit({open:this.isExpanded,name:this.name})}render(){return t(a,null,t("details",{class:"expander",open:this.open,"aria-owns":"expanderContent","aria-expanded":`${this.isExpanded}`,onClick:this.handleExpand.bind(this),ref:e=>this.expander=e},t("summary",{class:"panel"},t("span",{class:"panel-frame"},this.lefticon&&t("span",{class:"left-icons"},t("tttx-icon_1_9_63",{icon:this.lefticon,color:this.lefticoncolor})),t("span",{class:"name"},this.name)),t("span",{class:"expand-button"},t("tttx-icon_1_9_63",{class:"open",icon:"expand_more",color:"black"}),t("tttx-icon_1_9_63",{class:"closed",icon:"chevron_right",color:"black"}))),t("div",{id:"expanderContent",class:"content",tabindex:"0"},t("slot",null))))}};o.style='.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}';export{o as tttx_expander_1_9_63}
|