@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
package/dist/cjs/{tttx-dialog-box_1_9_61.cjs.entry.js → tttx-dialog-box_1_9_63.cjs.entry.js}
RENAMED
|
@@ -60,7 +60,7 @@ const TttxDialogBox = class {
|
|
|
60
60
|
const iconColor = header.iconColor;
|
|
61
61
|
const iconEnabled = header.hasIcon ? true : false;
|
|
62
62
|
const closeEnabled = header.hasClose ? true : false;
|
|
63
|
-
return (index.h("div", { class: "dialog-box-header" }, iconEnabled && index.h("tttx-
|
|
63
|
+
return (index.h("div", { class: "dialog-box-header" }, iconEnabled && index.h("tttx-icon_1_9_63", { class: "dialog-box-icon", icon: iconName, color: iconColor }), index.h("h3", { class: "dialog-box-title" }, title), closeEnabled && (index.h("div", { class: "dialog-box-align-right close-button", onClick: () => this.onCloseClickHandler() }, index.h("tttx-icon_1_9_63", { class: "dialog-box-icon-close dialog-box-clickable", icon: "close", color: "black" })))));
|
|
64
64
|
}
|
|
65
65
|
renderContent(content) {
|
|
66
66
|
if (content.isCustomHtml) {
|
|
@@ -77,7 +77,7 @@ const TttxDialogBox = class {
|
|
|
77
77
|
const button2Enabled = button.length > 1;
|
|
78
78
|
const button3Enabled = button.length == 3;
|
|
79
79
|
const isMobile = this.elementSize === 'mobile';
|
|
80
|
-
return (index.h("div", { class: "dialog-box-footer" }, index.h("div", { class: "dialog-box-align-right" }, button3Enabled && (index.h("tttx-
|
|
80
|
+
return (index.h("div", { class: "dialog-box-footer" }, index.h("div", { class: "dialog-box-align-right" }, button3Enabled && (index.h("tttx-button_1_9_63", { class: "dialog-box-spacing-button", onClick: () => this.onButtonClickHandler(3), design: button[2].type, notext: isMobile, icon: button[2].icon }, !isMobile && button[2].name)), button2Enabled && (index.h("tttx-button_1_9_63", { class: "dialog-box-spacing-button", onClick: () => this.onButtonClickHandler(2), design: button[1].type, icon: button[1].icon }, button[1].name)), button1Enabled && (index.h("tttx-button_1_9_63", { onClick: () => this.onButtonClickHandler(1), design: button[0].type, icon: button[0].icon }, button[0].name)))));
|
|
81
81
|
}
|
|
82
82
|
componentWillLoad() {
|
|
83
83
|
if (window.innerWidth < 698) {
|
|
@@ -102,4 +102,4 @@ const TttxDialogBox = class {
|
|
|
102
102
|
};
|
|
103
103
|
TttxDialogBox.style = tttxDialogBoxCss;
|
|
104
104
|
|
|
105
|
-
exports.
|
|
105
|
+
exports.tttx_dialog_box_1_9_63 = TttxDialogBox;
|
|
@@ -50,7 +50,7 @@ const TttxDialog = class {
|
|
|
50
50
|
renderHeader() {
|
|
51
51
|
const iconEnabled = typeof this.type !== 'undefined';
|
|
52
52
|
const { iconName, iconColor } = this.headerIconDetails(iconEnabled);
|
|
53
|
-
return (index.h("div", { class: `padding header ${this.type || ''}` }, iconEnabled && index.h("tttx-
|
|
53
|
+
return (index.h("div", { class: `padding header ${this.type || ''}` }, iconEnabled && index.h("tttx-icon_1_9_63", { class: "icon", icon: iconName, color: iconColor }), index.h("h3", { class: "title", title: this.header }, this.header), this.closeEnabled && (index.h("tttx-button_1_9_63", { class: "align-right close-button", design: "borderless-circle", icon: "close", color: "black", notext: true, onClick: () => this.onCloseClickHandler() }))));
|
|
54
54
|
}
|
|
55
55
|
body() {
|
|
56
56
|
return (index.h("div", { class: `body ${!this.allowOverflow ? 'overflow-hidden' : ''}` }, index.h("span", { class: "body-content" }, index.h("slot", null))));
|
|
@@ -78,4 +78,4 @@ const TttxDialog = class {
|
|
|
78
78
|
};
|
|
79
79
|
TttxDialog.style = tttxDialogCss;
|
|
80
80
|
|
|
81
|
-
exports.
|
|
81
|
+
exports.tttx_dialog_1_9_63 = TttxDialog;
|
|
@@ -30,9 +30,9 @@ const TttxExpander = class {
|
|
|
30
30
|
this.toggleExpander.emit({ open: this.isExpanded, name: this.name });
|
|
31
31
|
}
|
|
32
32
|
render() {
|
|
33
|
-
return (index.h(index.Host, null, index.h("details", { class: "expander", open: this.open, "aria-owns": "expanderContent", "aria-expanded": `${this.isExpanded}`, onClick: this.handleExpand.bind(this), ref: el => (this.expander = el) }, index.h("summary", { class: "panel" }, index.h("span", { class: "panel-frame" }, this.lefticon && (index.h("span", { class: "left-icons" }, index.h("tttx-
|
|
33
|
+
return (index.h(index.Host, null, index.h("details", { class: "expander", open: this.open, "aria-owns": "expanderContent", "aria-expanded": `${this.isExpanded}`, onClick: this.handleExpand.bind(this), ref: el => (this.expander = el) }, index.h("summary", { class: "panel" }, index.h("span", { class: "panel-frame" }, this.lefticon && (index.h("span", { class: "left-icons" }, index.h("tttx-icon_1_9_63", { icon: this.lefticon, color: this.lefticoncolor }))), index.h("span", { class: "name" }, this.name)), index.h("span", { class: "expand-button" }, index.h("tttx-icon_1_9_63", { class: "open", icon: "expand_more", color: "black" }), index.h("tttx-icon_1_9_63", { class: "closed", icon: "chevron_right", color: "black" }))), index.h("div", { id: "expanderContent", class: "content", tabindex: "0" }, index.h("slot", null)))));
|
|
34
34
|
}
|
|
35
35
|
};
|
|
36
36
|
TttxExpander.style = tttxExpanderCss;
|
|
37
37
|
|
|
38
|
-
exports.
|
|
38
|
+
exports.tttx_expander_1_9_63 = TttxExpander;
|
|
@@ -182,10 +182,10 @@ const TttxFilter = class {
|
|
|
182
182
|
const selectAllCheckboxColor = this.allSelected ? 'blue' : 'grey';
|
|
183
183
|
const buttonStyleClassNameModifier = this.getFilterButtonClassName(this.filterButtonStyle);
|
|
184
184
|
const filterKey = `filter__${this.filterKey}`;
|
|
185
|
-
return (index.h(index.Host, { id: filterKey }, index.h("div", { class: 'filter-container' }, index.h("button", { class: `filter-button ${buttonStyleClassNameModifier}`, type: 'button', onClick: this.onFilterButtonClick.bind(this) }, index.h("tttx-
|
|
185
|
+
return (index.h(index.Host, { id: filterKey }, index.h("div", { class: 'filter-container' }, index.h("button", { class: `filter-button ${buttonStyleClassNameModifier}`, type: 'button', onClick: this.onFilterButtonClick.bind(this) }, index.h("tttx-icon_1_9_63", { icon: 'filter_list', class: 'filter-icon', color: 'black' }), "Filter"), this.showPopover && (index.h("div", { class: `filter-popover-container ${filterPopoverContainerClassNameModifier}`, style: { width: this.popoverWidth } }, index.h("div", { class: 'filter-header' }, this.filterHeader), this.showSearchField ? (index.h("div", { class: 'search-field-container' }, index.h("tttx-icon_1_9_63", { icon: 'search', class: 'search-icon' }), index.h("input", { type: 'text', class: 'search-input', placeholder: 'Search', value: this.filterSearchTerm, onInput: this.handleFilterChange.bind(this) }))) : (''), index.h("div", { class: 'filter-options-container' }, this.showSelectAll ? (index.h("div", { class: 'filter-option', tabIndex: -1, onClick: this.onSelectAllClick.bind(this) }, index.h("tttx-icon_1_9_63", { icon: selectAllCheckboxIcon, color: selectAllCheckboxColor, class: 'select-all-icon' }), index.h("label", { class: 'filter-label' }, "Select all"))) : (''), this.displayedFilterSettings.map((option) => {
|
|
186
186
|
const checkboxIcon = this.selectedFilters.includes(option.optionText) ? 'check_box' : 'check_box_outline_blank';
|
|
187
187
|
const checkboxColor = this.selectedFilters.includes(option.optionText) ? 'blue' : 'grey';
|
|
188
|
-
return index.h("div", { class: 'filter-option', tabIndex: -1, onClick: () => this.onFilterOptionSelected(option.optionText), key: option.optionText }, index.h("tttx-
|
|
188
|
+
return index.h("div", { class: 'filter-option', tabIndex: -1, onClick: () => this.onFilterOptionSelected(option.optionText), key: option.optionText }, index.h("tttx-icon_1_9_63", { icon: checkboxIcon, color: checkboxColor, class: 'checkbox-icon' }), this.showOptionIcons && index.h("tttx-icon_1_9_63", { icon: option.optionIcon, color: option.optionIconColor }), index.h("label", { class: 'filter-label' }, option.optionText));
|
|
189
189
|
})), index.h("div", { class: 'filter-popover-button-container' }, index.h("button", { type: 'button', class: 'close-button', onClick: this.onCloseButtonClick.bind(this) }, "Close"), index.h("button", { type: 'button', class: 'apply-button', onClick: this.onApplyFilterButtonClick.bind(this) }, "Apply")))))));
|
|
190
190
|
}
|
|
191
191
|
get el() { return index.getElement(this); }
|
|
@@ -243,9 +243,9 @@ const TttxList = class {
|
|
|
243
243
|
else {
|
|
244
244
|
element = index.h("span", { class: "item-content" }, item.element);
|
|
245
245
|
}
|
|
246
|
-
return (index.h(index.Fragment, null, item.hasCheckbox && (index.h("div", { class: "checkbox" }, index.h("tttx-
|
|
246
|
+
return (index.h(index.Fragment, null, item.hasCheckbox && (index.h("div", { class: "checkbox" }, index.h("tttx-icon_1_9_63", { icon: item.checked ? 'check_box' : 'check_box_outline_blank', color: item.checked ? 'blue' : 'grey', onClick: event => {
|
|
247
247
|
this.onRowCheckboxHandler(event, item);
|
|
248
|
-
} }))), item.element && element, item.icon && (index.h("span", { class: "icons" }, index.h("tttx-
|
|
248
|
+
} }))), item.element && element, item.icon && (index.h("span", { class: "icons" }, index.h("tttx-icon_1_9_63", { class: "align-right", icon: item.icon, color: 'black' })))));
|
|
249
249
|
}
|
|
250
250
|
render() {
|
|
251
251
|
if (!this._data)
|
|
@@ -367,7 +367,7 @@ const TttxSorter = class {
|
|
|
367
367
|
const selectedOption = this.selectedField;
|
|
368
368
|
const dropdownSelectorClassNameModifier = this.dropdownExpand ? '--expanded' : '';
|
|
369
369
|
const sorterKey = `sorter__${this.sorterKey}`;
|
|
370
|
-
return (index.h(index.Host, { id: sorterKey }, index.h("div", { tabindex: 0, class: `sorter-container ${dropdownSelectorClassNameModifier}` }, index.h("button", { class: "arrow-toggle-button", type: "button", onClick: this.onSortToggleClick.bind(this) }, index.h("tttx-
|
|
370
|
+
return (index.h(index.Host, { id: sorterKey }, index.h("div", { tabindex: 0, class: `sorter-container ${dropdownSelectorClassNameModifier}` }, index.h("button", { class: "arrow-toggle-button", type: "button", onClick: this.onSortToggleClick.bind(this) }, index.h("tttx-icon_1_9_63", { icon: arrowIcon, color: "black" })), index.h("div", { class: "dropdown-selector", onClick: this.onDropdownClicked.bind(this) }, index.h("div", { class: "dropdown-selector-button" }, index.h("div", { class: "dropdown-selector-text" }, selectedOption), index.h("div", { class: "dropdown-selector-chevron" }, index.h("tttx-icon_1_9_63", { icon: chevronIcon, color: "black" })))), this.dropdownExpand && (index.h("div", { class: "dropdown-options-list" }, parsedFieldOptionsData.sorterOptions.map(option => {
|
|
371
371
|
return (index.h("div", { class: "dropdown-option", tabIndex: -1, onClick: this.onDropdownSelected.bind(this), key: option.optionLabel }, option.optionLabel));
|
|
372
372
|
}))))));
|
|
373
373
|
}
|
|
@@ -403,7 +403,7 @@ const TttxToolbar = class {
|
|
|
403
403
|
};
|
|
404
404
|
TttxToolbar.style = tttxToolbarCss;
|
|
405
405
|
|
|
406
|
-
exports.
|
|
407
|
-
exports.
|
|
408
|
-
exports.
|
|
409
|
-
exports.
|
|
406
|
+
exports.tttx_filter_1_9_63 = TttxFilter;
|
|
407
|
+
exports.tttx_list_1_9_63 = TttxList;
|
|
408
|
+
exports.tttx_sorter_1_9_63 = TttxSorter;
|
|
409
|
+
exports.tttx_toolbar_1_9_63 = TttxToolbar;
|
|
@@ -356,7 +356,7 @@ const TttxForm = class {
|
|
|
356
356
|
if ((_b = this._data) === null || _b === void 0 ? void 0 : _b[formKey]) {
|
|
357
357
|
select.classList.remove('placeholder');
|
|
358
358
|
}
|
|
359
|
-
const tttxSelect = document.createElement('tttx-select-
|
|
359
|
+
const tttxSelect = document.createElement('tttx-select-box_1_9_63');
|
|
360
360
|
tttxSelect.optionsData = (_c = formProperties.options) === null || _c === void 0 ? void 0 : _c.filter(o => !o.placeholder);
|
|
361
361
|
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;
|
|
362
362
|
tttxSelect.inline = false;
|
|
@@ -999,4 +999,4 @@ const TttxForm = class {
|
|
|
999
999
|
};
|
|
1000
1000
|
TttxForm.style = tttxFormCss;
|
|
1001
1001
|
|
|
1002
|
-
exports.
|
|
1002
|
+
exports.tttx_form_1_9_63 = TttxForm;
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-ec367fa3.js');
|
|
6
|
+
const auto = require('./auto-1fd7408f.js');
|
|
7
|
+
|
|
8
|
+
const gaugeLabelPlugin = {
|
|
9
|
+
id: 'gaugeLabel',
|
|
10
|
+
beforeDatasetsDraw(chart) {
|
|
11
|
+
const { ctx } = chart;
|
|
12
|
+
ctx.save();
|
|
13
|
+
const xCoor = chart.getDatasetMeta(0).data[0].x;
|
|
14
|
+
const yCoor = chart.getDatasetMeta(0).data[0].y - 12;
|
|
15
|
+
ctx.font = 'bold 20px sans-serif';
|
|
16
|
+
ctx.fillStyle = 'rgba(0, 0, 0, 1)';
|
|
17
|
+
ctx.textAlign = 'center';
|
|
18
|
+
ctx.textBaseline = 'middle';
|
|
19
|
+
ctx.fillText(chart.config.options.gaugeText || '', xCoor, yCoor);
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
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;}";
|
|
24
|
+
|
|
25
|
+
auto.Chart.register(auto.DoughnutController, auto.LineController, gaugeLabelPlugin);
|
|
26
|
+
const TttxGraph = class {
|
|
27
|
+
constructor(hostRef) {
|
|
28
|
+
index.registerInstance(this, hostRef);
|
|
29
|
+
this.chartConfig = undefined;
|
|
30
|
+
this.chartType = undefined;
|
|
31
|
+
this.chartData = undefined;
|
|
32
|
+
this.chartText = undefined;
|
|
33
|
+
this.formattedData = undefined;
|
|
34
|
+
}
|
|
35
|
+
componentDidLoad() {
|
|
36
|
+
this.formattedData = JSON.parse(this.chartData);
|
|
37
|
+
if (!this.chartConfig) {
|
|
38
|
+
switch (this.chartType) {
|
|
39
|
+
case 'gauge':
|
|
40
|
+
this.chartConfig = this.getGaugeConfig();
|
|
41
|
+
auto.Chart.register(gaugeLabelPlugin);
|
|
42
|
+
break;
|
|
43
|
+
case 'line':
|
|
44
|
+
console.log('line');
|
|
45
|
+
this.chartConfig = this.getLineConfig();
|
|
46
|
+
console.log(this.chartConfig);
|
|
47
|
+
break;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
new auto.Chart(this.canvasElement, JSON.parse(this.chartConfig));
|
|
51
|
+
}
|
|
52
|
+
render() {
|
|
53
|
+
return (index.h("div", { class: 'chart-container', style: { 'position': 'relative', 'height': '100%', 'width': '100%' } }, index.h("canvas", { ref: (el) => this.canvasElement = el })));
|
|
54
|
+
}
|
|
55
|
+
getLineConfig() {
|
|
56
|
+
console.log(this.formattedData);
|
|
57
|
+
const config = {
|
|
58
|
+
type: 'line',
|
|
59
|
+
data: {
|
|
60
|
+
datasets: [{
|
|
61
|
+
fill: false,
|
|
62
|
+
borderColor: '#00187C',
|
|
63
|
+
tension: 0.1,
|
|
64
|
+
data: this.formattedData
|
|
65
|
+
}]
|
|
66
|
+
},
|
|
67
|
+
options: {
|
|
68
|
+
maintainAspectRatio: false,
|
|
69
|
+
responsive: true,
|
|
70
|
+
plugins: {
|
|
71
|
+
legend: {
|
|
72
|
+
display: false,
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
scales: {
|
|
76
|
+
x: {
|
|
77
|
+
type: 'linear',
|
|
78
|
+
position: 'bottom'
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
};
|
|
83
|
+
return JSON.stringify(config);
|
|
84
|
+
}
|
|
85
|
+
getGaugeConfig() {
|
|
86
|
+
this.formattedData.push(100 - this.formattedData[0]);
|
|
87
|
+
const config = {
|
|
88
|
+
type: 'doughnut',
|
|
89
|
+
data: {
|
|
90
|
+
datasets: [
|
|
91
|
+
{
|
|
92
|
+
'data': this.formattedData,
|
|
93
|
+
'backgroundColor': [
|
|
94
|
+
this.getRAGColour(this.formattedData[0]),
|
|
95
|
+
'#F0F0F0'
|
|
96
|
+
],
|
|
97
|
+
'borderWidth': 0,
|
|
98
|
+
'hoverBorderWidth': 0
|
|
99
|
+
},
|
|
100
|
+
]
|
|
101
|
+
},
|
|
102
|
+
options: {
|
|
103
|
+
maintainAspectRatio: false,
|
|
104
|
+
responsive: true,
|
|
105
|
+
rotation: 270,
|
|
106
|
+
circumference: 180,
|
|
107
|
+
cutout: '60%',
|
|
108
|
+
gaugeText: this.chartText,
|
|
109
|
+
plugins: {
|
|
110
|
+
legend: {
|
|
111
|
+
display: false,
|
|
112
|
+
},
|
|
113
|
+
tooltip: {
|
|
114
|
+
enabled: false
|
|
115
|
+
},
|
|
116
|
+
hover: {
|
|
117
|
+
enabled: false
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
}
|
|
121
|
+
};
|
|
122
|
+
return JSON.stringify(config);
|
|
123
|
+
}
|
|
124
|
+
getRAGColour(perc) {
|
|
125
|
+
if (perc < 50)
|
|
126
|
+
return '#DC0000'; // Red for values below 50
|
|
127
|
+
if (perc < 100)
|
|
128
|
+
return '#F59500'; // Orange for values from 50 to 99
|
|
129
|
+
if (perc === 100)
|
|
130
|
+
return '#A2BB31'; // Green for a value of 100
|
|
131
|
+
return '#F0F0F0'; // Default color
|
|
132
|
+
}
|
|
133
|
+
};
|
|
134
|
+
TttxGraph.style = tttxGraphCss;
|
|
135
|
+
|
|
136
|
+
exports.tttx_graph_1_9_63 = TttxGraph;
|
|
@@ -71,7 +71,7 @@ const TttxLoadingSpinner = class {
|
|
|
71
71
|
};
|
|
72
72
|
TttxLoadingSpinner.style = tttxLoadingSpinnerCss;
|
|
73
73
|
|
|
74
|
-
const tttxStandaloneInputCss = ".material-symbols-rounded.sc-tttx-standalone-
|
|
74
|
+
const tttxStandaloneInputCss = ".material-symbols-rounded.sc-tttx-standalone-input_1_9_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}";
|
|
75
75
|
|
|
76
76
|
const TttxInput = class {
|
|
77
77
|
constructor(hostRef) {
|
|
@@ -153,7 +153,7 @@ const TttxInput = class {
|
|
|
153
153
|
this.iconleft ? 'has-left-icon' : '',
|
|
154
154
|
this.iconright ? 'has-right-icon' : '',
|
|
155
155
|
].join(' ');
|
|
156
|
-
return (index.h(index.Host, null, index.h("label", null, this.label, !this.required ? index.h("span", { class: "optional" }, "\u00A0(optional)") : '', index.h("div", { class: ['outer-container', this.inline ? 'inputInline' : 'inputBlock'].join(' ') }, index.h("input", { class: classNames, autocapitalize: this.inputautocapitalize, autofocus: this.inputautofocus, enterkeyhint: this.inputkeyhint, tabindex: this.inputindex, title: this.inputtitle, autocomplete: this.autocomplete, checked: this.checked, disabled: this.disabled, max: this.max, maxlength: this.maxlength, min: this.min, minlength: this.minlength, name: this.name, pattern: this.pattern, placeholder: this.placeholder, readonly: this.readonly, required: this.required, step: this.step, type: this.type, value: this.value, onBlur: this.handleBlur.bind(this), onFocus: this.handleFocus.bind(this), onInput: this.handleChange.bind(this), onInvalid: this.handleInvalid.bind(this) }), (this.inputicon || this.iconleft) && (index.h("span", { class: "left-icons" }, this.inputicon && (index.h("tttx-
|
|
156
|
+
return (index.h(index.Host, null, index.h("label", null, this.label, !this.required ? index.h("span", { class: "optional" }, "\u00A0(optional)") : '', index.h("div", { class: ['outer-container', this.inline ? 'inputInline' : 'inputBlock'].join(' ') }, index.h("input", { class: classNames, autocapitalize: this.inputautocapitalize, autofocus: this.inputautofocus, enterkeyhint: this.inputkeyhint, tabindex: this.inputindex, title: this.inputtitle, autocomplete: this.autocomplete, checked: this.checked, disabled: this.disabled, max: this.max, maxlength: this.maxlength, min: this.min, minlength: this.minlength, name: this.name, pattern: this.pattern, placeholder: this.placeholder, readonly: this.readonly, required: this.required, step: this.step, type: this.type, value: this.value, onBlur: this.handleBlur.bind(this), onFocus: this.handleFocus.bind(this), onInput: this.handleChange.bind(this), onInvalid: this.handleInvalid.bind(this) }), (this.inputicon || this.iconleft) && (index.h("span", { class: "left-icons" }, this.inputicon && (index.h("tttx-icon_1_9_63", { class: "input-icon", icon: this.inputicon, color: this.inputiconcolor, onClick: this.handleInputIconClick.bind(this) })), this.iconleft && (index.h("tttx-icon_1_9_63", { class: "left-icon", icon: this.iconleft, color: this.iconleftcolor, onClick: this.handleLeftIconClick.bind(this) })))), this.iconright && (index.h("span", { class: "right-icons" }, index.h("tttx-icon_1_9_63", { class: "right-icon", icon: this.iconright, color: this.iconrightcolor, onClick: this.handleRightIconClick.bind(this) })))), this.secondarylabel && index.h("span", { class: "secondarylabel" }, this.secondarylabel), this.showerrorbubble && (index.h("span", { class: ['errorBubble', this.showerrormsg && this.errormsg ? 'visible' : ''].join(' ') }, index.h("span", { class: "material-symbols-rounded" }, "warning"), " ", this.errormsg)))));
|
|
157
157
|
}
|
|
158
158
|
};
|
|
159
159
|
TttxInput.style = tttxStandaloneInputCss;
|
|
@@ -173,11 +173,11 @@ const TttxTag = class {
|
|
|
173
173
|
}
|
|
174
174
|
render() {
|
|
175
175
|
return (index.h(index.Host, null, index.h("div", { class: "tag", style: { 'background-color': this.color, color: this.textColor } }, this.hasIcon &&
|
|
176
|
-
index.h("tttx-
|
|
176
|
+
index.h("tttx-icon_1_9_63", { role: "icon", class: "tag_icon", "aria-label": this.text, icon: this.icon, color: this.iconColor, size: this.iconSize }), index.h("span", null, this.text))));
|
|
177
177
|
}
|
|
178
178
|
};
|
|
179
179
|
TttxTag.style = tttxTagCss;
|
|
180
180
|
|
|
181
|
-
exports.
|
|
182
|
-
exports.
|
|
183
|
-
exports.
|
|
181
|
+
exports.tttx_loading_spinner_1_9_63 = TttxLoadingSpinner;
|
|
182
|
+
exports.tttx_standalone_input_1_9_63 = TttxInput;
|
|
183
|
+
exports.tttx_tag_1_9_63 = TttxTag;
|
|
@@ -125,9 +125,9 @@ const TttxMultiselectBox = class {
|
|
|
125
125
|
}
|
|
126
126
|
// render priority options at the top of the dropdown list
|
|
127
127
|
return (index.h(index.Fragment, null, usingPriority && priorityOptions.length > 0 &&
|
|
128
|
-
index.h(index.Fragment, null, index.h("tttx-
|
|
128
|
+
index.h(index.Fragment, null, index.h("tttx-tag_1_9_63", { class: 'priority-pill', text: this.priorityLabel, color: "#F0F0F0" }), priorityOptions.map((option) => this.dropdownOption(option))), nonPriorityOptions.length > 0 &&
|
|
129
129
|
index.h(index.Fragment, null, usingPriority &&
|
|
130
|
-
index.h("tttx-
|
|
130
|
+
index.h("tttx-tag_1_9_63", { class: 'priority-pill', text: this.nonPriorityLabel, color: "#F0F0F0" }), nonPriorityOptions.map((option) => this.dropdownOption(option)))));
|
|
131
131
|
}
|
|
132
132
|
dropdownOption(option) {
|
|
133
133
|
// This is tested in e2e tests
|
|
@@ -138,11 +138,11 @@ const TttxMultiselectBox = class {
|
|
|
138
138
|
const sanitisedHTML = domsanitiser_options.purify.sanitize(option.html, domsanitiser_options.domSanitiserOptions);
|
|
139
139
|
// This is tested in e2e tests
|
|
140
140
|
/* istanbul ignore next */
|
|
141
|
-
return (index.h("div", { class: `dropdown-option ${option.selected ? 'selected' : ''}`, onClick: this.onItemSelected.bind(this, option), key: option.label }, index.h("tttx-
|
|
141
|
+
return (index.h("div", { class: `dropdown-option ${option.selected ? 'selected' : ''}`, onClick: this.onItemSelected.bind(this, option), key: option.label }, index.h("tttx-icon_1_9_63", { icon: checkboxIcon, color: checkboxColor, class: 'checkbox-icon' }), index.h("div", { innerHTML: sanitisedHTML })));
|
|
142
142
|
}
|
|
143
143
|
// This is tested in e2e tests
|
|
144
144
|
/* istanbul ignore next */
|
|
145
|
-
return (index.h("div", { class: `dropdown-option ${option.selected ? 'selected' : ''}`, onClick: this.onItemSelected.bind(this, option), key: option.label }, index.h("tttx-
|
|
145
|
+
return (index.h("div", { class: `dropdown-option ${option.selected ? 'selected' : ''}`, onClick: this.onItemSelected.bind(this, option), key: option.label }, index.h("tttx-icon_1_9_63", { icon: checkboxIcon, color: checkboxColor, class: 'checkbox-icon' }), index.h("div", { class: "plaintext-option" }, option.label)));
|
|
146
146
|
}
|
|
147
147
|
// This is tested in e2e tests
|
|
148
148
|
/* istanbul ignore next */
|
|
@@ -172,9 +172,9 @@ const TttxMultiselectBox = class {
|
|
|
172
172
|
return;
|
|
173
173
|
const chevronIcon = this.open ? 'expand_less' : 'expand_more';
|
|
174
174
|
const readOnlyClass = this.readOnly ? 'dropdown-read-only' : '';
|
|
175
|
-
return (index.h(index.Host, { class: this.inline ? 'inline' : 'block' }, this.label && index.h("div", { class: "label" }, this.label), index.h("div", { tabindex: "0", class: "dropdown-container" }, index.h("div", { class: ['dropdown-selector', readOnlyClass].join(' '), onClick: this.onDropdownClicked.bind(this) }, this.dropdownSelectorContent(), index.h("div", { class: "dropdown-selector-chevron" }, index.h("tttx-
|
|
175
|
+
return (index.h(index.Host, { class: this.inline ? 'inline' : 'block' }, this.label && index.h("div", { class: "label" }, this.label), index.h("div", { tabindex: "0", class: "dropdown-container" }, index.h("div", { class: ['dropdown-selector', readOnlyClass].join(' '), onClick: this.onDropdownClicked.bind(this) }, this.dropdownSelectorContent(), index.h("div", { class: "dropdown-selector-chevron" }, index.h("tttx-icon_1_9_63", { icon: chevronIcon, color: "black" }))), this.open && (index.h("div", { class: "dropdown-body-container" }, index.h("div", { class: "dropdown-body", style: Object.assign({}, this.bodyOffset) }, this.searchEnabled &&
|
|
176
176
|
/* istanbul ignore next */
|
|
177
|
-
index.h("div", { class: "searchbox" }, index.h("tttx-standalone-
|
|
177
|
+
index.h("div", { class: "searchbox" }, index.h("tttx-standalone-input_1_9_63", { type: "text", placeholder: 'Search', label: "", required: true, showerrorbubble: false, iconleft: 'search', onInput: this.handleSearchInput.bind(this), inline: true })), index.h("div", { class: "dropdown-options-list" }, this.isLoading ? (index.h("tttx-loading-spinner_1_9_63", { class: 'loading-style' })) : (this.renderDropdownOptions(this.unsavedSelectedItems))), index.h("div", { class: 'footer' }, index.h("tttx-button_1_9_63", { design: "primary", onClick: this.applyChanges.bind(this) }, "Apply"), index.h("tttx-button_1_9_63", { onClick: this.onCancel.bind(this) }, "Cancel"))))))));
|
|
178
178
|
}
|
|
179
179
|
get el() { return index.getElement(this); }
|
|
180
180
|
static get watchers() { return {
|
|
@@ -183,4 +183,4 @@ const TttxMultiselectBox = class {
|
|
|
183
183
|
};
|
|
184
184
|
TttxMultiselectBox.style = tttxMultiselectBoxCss;
|
|
185
185
|
|
|
186
|
-
exports.
|
|
186
|
+
exports.tttx_multiselect_box_1_9_63 = TttxMultiselectBox;
|
package/dist/cjs/{tttx-percentage-bar_1_9_61.cjs.entry.js → tttx-percentage-bar_1_9_63.cjs.entry.js}
RENAMED
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-ec367fa3.js');
|
|
6
6
|
|
|
7
|
-
const tttxPercentageBarCss = ".sc-tttx-percentage-
|
|
7
|
+
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}";
|
|
8
8
|
|
|
9
9
|
const TttxPercentageBar = class {
|
|
10
10
|
constructor(hostRef) {
|
|
@@ -62,4 +62,4 @@ const TttxPercentageBar = class {
|
|
|
62
62
|
};
|
|
63
63
|
TttxPercentageBar.style = tttxPercentageBarCss;
|
|
64
64
|
|
|
65
|
-
exports.
|
|
65
|
+
exports.tttx_percentage_bar_1_9_63 = TttxPercentageBar;
|
package/dist/cjs/{tttx-select-box_1_9_61.cjs.entry.js → tttx-select-box_1_9_63.cjs.entry.js}
RENAMED
|
@@ -108,7 +108,7 @@ const TttxSelectBox = class {
|
|
|
108
108
|
let title;
|
|
109
109
|
let subtitle;
|
|
110
110
|
const chevronIcon = this.open ? 'expand_less' : 'expand_more';
|
|
111
|
-
const icon = index.h("tttx-
|
|
111
|
+
const icon = index.h("tttx-icon_1_9_63", { icon: chevronIcon, color: "black" });
|
|
112
112
|
let chevron = index.h("div", { class: "dropdown-selector-chevron" }, icon);
|
|
113
113
|
if (!this.selectedItem) {
|
|
114
114
|
title = index.h("div", { class: "placeholder" }, this.placeholder);
|
|
@@ -125,7 +125,7 @@ const TttxSelectBox = class {
|
|
|
125
125
|
chevron = index.h("div", { class: "dropdown-selector-chevron-offset" }, icon);
|
|
126
126
|
}
|
|
127
127
|
return (index.h(index.Fragment, null, index.h("div", { class: "left-wrapper" }, title, subtitle), this.clearable && !this.readOnly &&
|
|
128
|
-
index.h("tttx-
|
|
128
|
+
index.h("tttx-icon_1_9_63", { class: "input-icon", style: { paddingTop: '5px', cursor: 'pointer' }, icon: 'close_small', onClick: this.cleanSelectedItem.bind(this) }), chevron));
|
|
129
129
|
}
|
|
130
130
|
}
|
|
131
131
|
renderDropdownOptions(options) {
|
|
@@ -148,9 +148,9 @@ const TttxSelectBox = class {
|
|
|
148
148
|
}
|
|
149
149
|
// render priority options at the top of the dropdown list
|
|
150
150
|
return (index.h(index.Fragment, null, usingPriority && priorityOptions.length > 0 &&
|
|
151
|
-
index.h(index.Fragment, null, index.h("tttx-
|
|
151
|
+
index.h(index.Fragment, null, index.h("tttx-tag_1_9_63", { class: 'priority-pill', text: this.priorityLabel, color: "#F0F0F0" }), priorityOptions.map((option) => this.dropdownOption(option))), nonPriorityOptions.length > 0 &&
|
|
152
152
|
index.h(index.Fragment, null, usingPriority &&
|
|
153
|
-
index.h("tttx-
|
|
153
|
+
index.h("tttx-tag_1_9_63", { class: 'priority-pill', text: this.nonPriorityLabel, color: "#F0F0F0" }), nonPriorityOptions.map((option) => this.dropdownOption(option)))));
|
|
154
154
|
}
|
|
155
155
|
dropdownOption(option) {
|
|
156
156
|
const selected = this.selectedItem && option.value === this.selectedItem.value;
|
|
@@ -237,7 +237,7 @@ const TttxSelectBox = class {
|
|
|
237
237
|
return;
|
|
238
238
|
const invalidClass = this.showErrorMsg ? 'invalid' : '';
|
|
239
239
|
const readOnlyClass = this.readOnly ? 'dropdown-read-only' : '';
|
|
240
|
-
return (index.h(index.Host, { class: this.inline ? 'inline' : 'block' }, this.label && index.h("div", { class: "label" }, this.label), index.h("div", { tabindex: "0", class: "dropdown-container" }, index.h("div", { class: ['dropdown-selector', invalidClass, readOnlyClass].join(' '), ref: el => (this.dropdownSelector = el), onClick: this.onDropdownClicked.bind(this) }, this.dropdownSelectorContent()), this.open && (index.h("div", { class: "dropdown-body-container" }, index.h("div", { class: "dropdown-body", style: Object.assign({ width: `${this.dropdownSelector.offsetWidth}px` }, this.bodyOffset) }, this.searchEnabled && (index.h("div", { class: "searchbox" }, index.h("tttx-standalone-
|
|
240
|
+
return (index.h(index.Host, { class: this.inline ? 'inline' : 'block' }, this.label && index.h("div", { class: "label" }, this.label), index.h("div", { tabindex: "0", class: "dropdown-container" }, index.h("div", { class: ['dropdown-selector', invalidClass, readOnlyClass].join(' '), ref: el => (this.dropdownSelector = el), onClick: this.onDropdownClicked.bind(this) }, this.dropdownSelectorContent()), this.open && (index.h("div", { class: "dropdown-body-container" }, index.h("div", { class: "dropdown-body", style: Object.assign({ width: `${this.dropdownSelector.offsetWidth}px` }, this.bodyOffset) }, this.searchEnabled && (index.h("div", { class: "searchbox" }, index.h("tttx-standalone-input_1_9_63", { type: "text", label: "", required: true, showerrorbubble: false, iconleft: "search", onInput: this.handleSearchInput.bind(this) }))), index.h("div", { class: "dropdown-options-list", onScroll: this.onSelectScroll.bind(this) }, !this.isLoading && (this.renderDropdownOptions(this._optionsData)), (this.isLoading || this.loadingNextExternalPage) && (index.h("tttx-loading-spinner_1_9_63", { class: 'loading-style' })))))), this.showErrorBubble && (index.h("span", { class: ['errorBubble', this.showErrorMsg && this.errorMsg ? 'visible' : ''].join(' ') }, index.h("tttx-icon_1_9_63", { icon: "warning", color: "#dc0000", size: 16 }), " ", this.errorMsg)))));
|
|
241
241
|
}
|
|
242
242
|
get el() { return index.getElement(this); }
|
|
243
243
|
static get watchers() { return {
|
|
@@ -247,4 +247,4 @@ const TttxSelectBox = class {
|
|
|
247
247
|
};
|
|
248
248
|
TttxSelectBox.style = tttxSelectBoxCss;
|
|
249
249
|
|
|
250
|
-
exports.
|
|
250
|
+
exports.tttx_select_box_1_9_63 = TttxSelectBox;
|
|
@@ -6,7 +6,7 @@ const index = require('./index-ec367fa3.js');
|
|
|
6
6
|
const domsanitiser_options = require('./domsanitiser.options-55ce2d65.js');
|
|
7
7
|
require('./_commonjsHelpers-537d719a.js');
|
|
8
8
|
|
|
9
|
-
const tttxTabsCss = ".material-symbols-rounded.sc-tttx-
|
|
9
|
+
const tttxTabsCss = ".material-symbols-rounded.sc-tttx-tabs_1_9_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}";
|
|
10
10
|
|
|
11
11
|
const TttxTabs = class {
|
|
12
12
|
constructor(hostRef) {
|
|
@@ -83,7 +83,7 @@ const TttxTabs = class {
|
|
|
83
83
|
}
|
|
84
84
|
generateTab(tab) {
|
|
85
85
|
var _a, _b;
|
|
86
|
-
const tabTitle = (_a = tab.tabName) !== null && _a !== void 0 ? _a : (index.h("tttx-
|
|
86
|
+
const tabTitle = (_a = tab.tabName) !== null && _a !== void 0 ? _a : (index.h("tttx-icon_1_9_63", { style: { pointerEvents: 'none', marginTop: '-2px' }, icon: tab.tabIcon, color: 'gray', size: (_b = tab.tabIconSize) !== null && _b !== void 0 ? _b : 24 }));
|
|
87
87
|
return (index.h("a", { key: tab.id, id: tab.id, role: "tab", "aria-controls": tab.controls, tabindex: tab.tabIndex, "aria-selected": tab.selected, onClick: () => {
|
|
88
88
|
this.handleTabClick(tab);
|
|
89
89
|
} }, tabTitle));
|
|
@@ -102,7 +102,7 @@ const TttxTabs = class {
|
|
|
102
102
|
return;
|
|
103
103
|
}
|
|
104
104
|
const selectedTab = this._tabs.find(tab => tab.selected);
|
|
105
|
-
return (index.h(index.Host, null, index.h("div", null, index.h("div", { class: "tab-bar", role: "tablist", "aria-label": this.tabsName, ref: el => (this.tabList = el) }, this.navigation && (index.h("div", { class: "left-navigation", tabindex: "0", onClick: this.handleLeftNavigation.bind(this) }, index.h("tttx-
|
|
105
|
+
return (index.h(index.Host, null, index.h("div", null, index.h("div", { class: "tab-bar", role: "tablist", "aria-label": this.tabsName, ref: el => (this.tabList = el) }, this.navigation && (index.h("div", { class: "left-navigation", tabindex: "0", onClick: this.handleLeftNavigation.bind(this) }, index.h("tttx-icon_1_9_63", { icon: "navigate_before", color: "black" }))), index.h("div", { class: 'tabs-container' + (this.wide ? ' wide' : '') }, this._tabs.map(this.generateTab.bind(this))), this.navigation && (index.h("div", { class: "right-navigation", tabindex: "0", onClick: this.handleRightNavigation.bind(this) }, index.h("tttx-icon_1_9_63", { icon: "navigate_next", color: "black" })))), selectedTab && this.renderSelectedTab(selectedTab))));
|
|
106
106
|
}
|
|
107
107
|
static get watchers() { return {
|
|
108
108
|
"tabs": ["onDataChange"]
|
|
@@ -110,4 +110,4 @@ const TttxTabs = class {
|
|
|
110
110
|
};
|
|
111
111
|
TttxTabs.style = tttxTabsCss;
|
|
112
112
|
|
|
113
|
-
exports.
|
|
113
|
+
exports.tttx_tabs_1_9_63 = TttxTabs;
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-ec367fa3.js');
|
|
6
6
|
|
|
7
|
-
const tttxTextareaCss = ".material-symbols-rounded.sc-tttx-
|
|
7
|
+
const tttxTextareaCss = ".material-symbols-rounded.sc-tttx-textarea_1_9_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}";
|
|
8
8
|
|
|
9
9
|
const TttxTextarea = class {
|
|
10
10
|
constructor(hostRef) {
|
|
@@ -56,4 +56,4 @@ const TttxTextarea = class {
|
|
|
56
56
|
};
|
|
57
57
|
TttxTextarea.style = tttxTextareaCss;
|
|
58
58
|
|
|
59
|
-
exports.
|
|
59
|
+
exports.tttx_textarea_1_9_63 = TttxTextarea;
|
|
@@ -179,7 +179,7 @@ const TttxTreeView = class {
|
|
|
179
179
|
if (node.hasHover) {
|
|
180
180
|
this.onClickHandler(event, node);
|
|
181
181
|
}
|
|
182
|
-
} }), index.h("tttx-
|
|
182
|
+
} }), index.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$1, parentId)), node.isOpen ? (index.h("li", null, index.h("ul", null, node.child.map((childNode, index) => {
|
|
183
183
|
return this.renderNode(childNode, index, node.id);
|
|
184
184
|
})))) : null));
|
|
185
185
|
}
|
|
@@ -192,7 +192,7 @@ const TttxTreeView = class {
|
|
|
192
192
|
}
|
|
193
193
|
}
|
|
194
194
|
htmlcode(type, node, check_box, check_boxColor, index$1, parentId = undefined) {
|
|
195
|
-
const htmlcode = (index.h("div", { class: "inline-tree-item element" }, node.draggable && (index.h("img", { src: this.dragIcon, alt: "drag", class: "drag-handle", draggable: true, onDragStart: event => this.handleDragStart(event, node, index$1, parentId) })), node.hasCheckbox && (index.h("tttx-
|
|
195
|
+
const htmlcode = (index.h("div", { class: "inline-tree-item element" }, node.draggable && (index.h("img", { src: this.dragIcon, alt: "drag", class: "drag-handle", draggable: true, onDragStart: event => this.handleDragStart(event, node, index$1, parentId) })), node.hasCheckbox && (index.h("tttx-button_1_9_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 && (index.h("tttx-icon_1_9_63", { icon: node.icon, color: node.iconColor, class: "padding-icon" })), !node.html && index.h("div", { class: type }, node.title), node.html && index.h("div", { class: type, innerHTML: domsanitiser_options.purify.sanitize(node.html, domsanitiser_options.domSanitiserOptions) })));
|
|
196
196
|
return htmlcode;
|
|
197
197
|
}
|
|
198
198
|
render() {
|
|
@@ -204,4 +204,4 @@ const TttxTreeView = class {
|
|
|
204
204
|
};
|
|
205
205
|
TttxTreeView.style = tttxTreeViewCss;
|
|
206
206
|
|
|
207
|
-
exports.
|
|
207
|
+
exports.tttx_tree_view_1_9_63 = TttxTreeView;
|