@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/esm/loader.js
CHANGED
|
@@ -11,7 +11,7 @@ const patchEsm = () => {
|
|
|
11
11
|
const defineCustomElements = (win, options) => {
|
|
12
12
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
13
13
|
return patchEsm().then(() => {
|
|
14
|
-
return bootstrapLazy([["tttx-data-
|
|
14
|
+
return bootstrapLazy([["tttx-data-pattern_1_9_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);
|
|
15
15
|
});
|
|
16
16
|
};
|
|
17
17
|
|
package/dist/esm/{tttx-action-dropdown_1_9_61.entry.js → tttx-action-dropdown_1_9_63.entry.js}
RENAMED
|
@@ -46,7 +46,7 @@ const TttxActionDropdown = class {
|
|
|
46
46
|
return;
|
|
47
47
|
const actionKey = `action-dropdown__${this.actionKey}`;
|
|
48
48
|
const chevronIcon = this.dropdownExpand ? 'keyboard_arrow_up' : 'keyboard_arrow_down';
|
|
49
|
-
return (h(Host, { id: actionKey }, h("div", { tabindex: 0, class: `action-dropdown-container ${this.dropdownExpand ? '--expanded' : ''}` }, h("button", { class: "action-button", type: "button", onClick: this.onActionClick.bind(this) }, h("div", { class: "button-content" }, this.isIconVisible && (h("tttx-
|
|
49
|
+
return (h(Host, { id: actionKey }, h("div", { tabindex: 0, class: `action-dropdown-container ${this.dropdownExpand ? '--expanded' : ''}` }, h("button", { class: "action-button", type: "button", onClick: this.onActionClick.bind(this) }, h("div", { class: "button-content" }, this.isIconVisible && (h("tttx-icon_1_9_63", { icon: this.icon, color: "black" })), h("span", { class: "action-text" }, this.selectedField)), h("div", { class: "dropdown-arrow" }, h("tttx-icon_1_9_63", { icon: chevronIcon, color: "black" }))), this.dropdownExpand && (h("div", { class: "dropdown-options-list" }, parsedFieldOptionsData.actionOptions.map(option => {
|
|
50
50
|
return (h("div", { class: "dropdown-option", tabIndex: -1, onClick: this.onDropdownSelected.bind(this), key: option.optionLabel }, option.optionLabel));
|
|
51
51
|
}))))));
|
|
52
52
|
}
|
|
@@ -54,4 +54,4 @@ const TttxActionDropdown = class {
|
|
|
54
54
|
};
|
|
55
55
|
TttxActionDropdown.style = tttxActionDropdownCss;
|
|
56
56
|
|
|
57
|
-
export { TttxActionDropdown as
|
|
57
|
+
export { TttxActionDropdown as tttx_action_dropdown_1_9_63 };
|
|
@@ -24,9 +24,9 @@ const TttxButton = class {
|
|
|
24
24
|
}
|
|
25
25
|
render() {
|
|
26
26
|
this._iconcolor = this.iconcolor;
|
|
27
|
-
return (h(Host, null, h("button", { class: `button ${this._design} ${this.icon ? 'withicon' : ''} ${this.icon && this.iconposition ? 'icon' + this.iconposition : ''} ${this.notext ? 'notext' : ''}` }, this.icon && this.iconposition === 'left' && (h("div", { class: "icon-left" }, h("tttx-
|
|
27
|
+
return (h(Host, null, h("button", { class: `button ${this._design} ${this.icon ? 'withicon' : ''} ${this.icon && this.iconposition ? 'icon' + this.iconposition : ''} ${this.notext ? 'notext' : ''}` }, this.icon && this.iconposition === 'left' && (h("div", { class: "icon-left" }, h("tttx-icon_1_9_63", { icon: this.icon, color: this._iconcolor }))), !this.notext && (h("div", { class: "button-content" }, h("slot", null))), this.icon && this.iconposition === 'right' && (h("div", { class: "icon-right" }, h("tttx-icon_1_9_63", { icon: this.icon, color: this._iconcolor }))))));
|
|
28
28
|
}
|
|
29
29
|
};
|
|
30
30
|
TttxButton.style = tttxButtonCss;
|
|
31
31
|
|
|
32
|
-
export { TttxButton as
|
|
32
|
+
export { TttxButton as tttx_button_1_9_63 };
|
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-3d473f8b.js';
|
|
2
|
+
import { C as Chart } from './auto-c6e6ac5c.js';
|
|
3
|
+
|
|
4
|
+
const tttxChartCss = ".chart-wrapper{position:relative;width:100%;height:100%}canvas{display:block;width:100% !important;height:100% !important}.export-buttons{display:flex;gap:0.5rem;justify-content:flex-end;padding-top:0.5rem;padding-bottom:0.5rem}.chart-loading{width:100%;height:100%;align-items:center;justify-content:center;display:flex}.error-content{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;align-self:stretch}.error-content .error-heading{color:var(--Text-Default-Default, #111);text-align:center;font-family:Roboto;font-size:14px;font-style:normal;font-weight:600;line-height:20px}.error-content .error-message{color:var(--Text-Neutral-Default, #737373);text-align:center;font-family:Roboto;font-size:14px;font-style:normal;font-weight:400;line-height:20px}.error-content .error-actions{display:flex;align-items:flex-start;gap:12px}";
|
|
5
|
+
|
|
6
|
+
const TttxChart = class {
|
|
7
|
+
constructor(hostRef) {
|
|
8
|
+
registerInstance(this, hostRef);
|
|
9
|
+
this.exportCSV = createEvent(this, "exportCSV", 7);
|
|
10
|
+
this.chartType = undefined;
|
|
11
|
+
this.chartData = undefined;
|
|
12
|
+
this.chartOptions = undefined;
|
|
13
|
+
this.loading = false;
|
|
14
|
+
this.error = undefined;
|
|
15
|
+
this.fallbackText = 'No data available';
|
|
16
|
+
this.width = '100%';
|
|
17
|
+
this.height = 'auto';
|
|
18
|
+
this.exportable = false;
|
|
19
|
+
this.chartInstance = undefined;
|
|
20
|
+
this.showPngSvgExport = false;
|
|
21
|
+
}
|
|
22
|
+
handleUpdate() {
|
|
23
|
+
this.renderChart();
|
|
24
|
+
}
|
|
25
|
+
componentDidLoad() {
|
|
26
|
+
this.renderChart();
|
|
27
|
+
}
|
|
28
|
+
disconnectedCallback() {
|
|
29
|
+
this.destroyChart();
|
|
30
|
+
}
|
|
31
|
+
renderChart() {
|
|
32
|
+
var _a, _b;
|
|
33
|
+
if (!this.canvasEl || !this.chartData || !this.chartType)
|
|
34
|
+
return;
|
|
35
|
+
this.destroyChart();
|
|
36
|
+
const config = {
|
|
37
|
+
type: this.getChartJsType(),
|
|
38
|
+
data: this.chartData,
|
|
39
|
+
options: this.getChartOptions(),
|
|
40
|
+
plugins: []
|
|
41
|
+
};
|
|
42
|
+
if (this.chartType === 'doughnut' || this.chartType === 'semi-gauge') {
|
|
43
|
+
const total = ((_b = (_a = this.chartData.datasets[0]) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.map((d) => Number(d) || 0).reduce((a, b) => a + b, 0)) || 0;
|
|
44
|
+
config.plugins.push(this.getCenterTextPlugin(total.toLocaleString()));
|
|
45
|
+
}
|
|
46
|
+
this.chartInstance = new Chart(this.canvasEl, config);
|
|
47
|
+
}
|
|
48
|
+
destroyChart() {
|
|
49
|
+
if (this.chartInstance) {
|
|
50
|
+
this.chartInstance.destroy();
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
getChartJsType() {
|
|
54
|
+
if (this.chartType === 'semi-gauge')
|
|
55
|
+
return 'doughnut';
|
|
56
|
+
return this.chartType;
|
|
57
|
+
}
|
|
58
|
+
getBaseOptions() {
|
|
59
|
+
return {
|
|
60
|
+
responsive: true,
|
|
61
|
+
maintainAspectRatio: false,
|
|
62
|
+
plugins: {
|
|
63
|
+
legend: {
|
|
64
|
+
display: true,
|
|
65
|
+
position: 'bottom',
|
|
66
|
+
labels: {
|
|
67
|
+
usePointStyle: true,
|
|
68
|
+
pointStyle: 'circle',
|
|
69
|
+
},
|
|
70
|
+
},
|
|
71
|
+
tooltip: {
|
|
72
|
+
callbacks: {
|
|
73
|
+
label: (ctx) => `${ctx.label || ctx.dataset.label}: ${ctx.formattedValue}`,
|
|
74
|
+
},
|
|
75
|
+
},
|
|
76
|
+
},
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
getLineChartConfig() {
|
|
80
|
+
return {
|
|
81
|
+
plugins: {
|
|
82
|
+
legend: {
|
|
83
|
+
labels: { usePointStyle: true, pointStyle: 'line' },
|
|
84
|
+
},
|
|
85
|
+
tooltip: {
|
|
86
|
+
callbacks: {
|
|
87
|
+
label: (ctx) => `${ctx.dataset.label}: ${ctx.formattedValue}%`,
|
|
88
|
+
},
|
|
89
|
+
},
|
|
90
|
+
},
|
|
91
|
+
scales: {
|
|
92
|
+
x: { grid: { color: '#e5e5e5' } },
|
|
93
|
+
y: {
|
|
94
|
+
beginAtZero: true,
|
|
95
|
+
max: 100,
|
|
96
|
+
ticks: { callback: (val) => `${val}%` },
|
|
97
|
+
grid: { color: '#e5e5e5' },
|
|
98
|
+
},
|
|
99
|
+
},
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
getDoughnutChartConfig() {
|
|
103
|
+
return {
|
|
104
|
+
plugins: {
|
|
105
|
+
legend: { labels: { pointStyle: 'circle', padding: 16, } },
|
|
106
|
+
},
|
|
107
|
+
cutout: '60%'
|
|
108
|
+
};
|
|
109
|
+
}
|
|
110
|
+
getCenterTextPlugin(value) {
|
|
111
|
+
return {
|
|
112
|
+
id: 'centerText',
|
|
113
|
+
afterDatasetsDraw: (chart) => {
|
|
114
|
+
const { ctx } = chart;
|
|
115
|
+
ctx.save();
|
|
116
|
+
const x = chart.getDatasetMeta(0).data[0].x;
|
|
117
|
+
let y = chart.getDatasetMeta(0).data[0].y;
|
|
118
|
+
if (this.chartType === 'semi-gauge') {
|
|
119
|
+
y -= 20;
|
|
120
|
+
}
|
|
121
|
+
ctx.font = 'bold 20px Roboto';
|
|
122
|
+
ctx.fillStyle = '#111';
|
|
123
|
+
ctx.textAlign = 'center';
|
|
124
|
+
ctx.textBaseline = 'middle';
|
|
125
|
+
ctx.fillText(value, x, y);
|
|
126
|
+
},
|
|
127
|
+
};
|
|
128
|
+
}
|
|
129
|
+
getSemiGaugeChartConfig() {
|
|
130
|
+
return {
|
|
131
|
+
plugins: {
|
|
132
|
+
legend: { labels: { pointStyle: 'circle', padding: 16, } },
|
|
133
|
+
},
|
|
134
|
+
rotation: -90,
|
|
135
|
+
circumference: 180,
|
|
136
|
+
cutout: '70%',
|
|
137
|
+
};
|
|
138
|
+
}
|
|
139
|
+
merge(target, source) {
|
|
140
|
+
if (typeof target !== 'object' || typeof source !== 'object')
|
|
141
|
+
return source;
|
|
142
|
+
for (const key of Object.keys(source)) {
|
|
143
|
+
if (source[key] instanceof Object && key in target) {
|
|
144
|
+
target[key] = this.merge(Object.assign({}, target[key]), source[key]);
|
|
145
|
+
}
|
|
146
|
+
else {
|
|
147
|
+
target[key] = source[key];
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
return target;
|
|
151
|
+
}
|
|
152
|
+
getChartOptions() {
|
|
153
|
+
const base = this.getBaseOptions();
|
|
154
|
+
let specific = {};
|
|
155
|
+
if (this.chartType === 'line')
|
|
156
|
+
specific = this.getLineChartConfig();
|
|
157
|
+
else if (this.chartType === 'doughnut')
|
|
158
|
+
specific = this.getDoughnutChartConfig();
|
|
159
|
+
else if (this.chartType === 'semi-gauge')
|
|
160
|
+
specific = this.getSemiGaugeChartConfig();
|
|
161
|
+
return this.merge(this.merge(base, specific), this.chartOptions || {});
|
|
162
|
+
}
|
|
163
|
+
exportChart(format) {
|
|
164
|
+
if (!this.chartInstance)
|
|
165
|
+
return;
|
|
166
|
+
const link = document.createElement('a');
|
|
167
|
+
link.download = `chart-export.${format}`;
|
|
168
|
+
if (format === 'png') {
|
|
169
|
+
link.href = this.chartInstance.toBase64Image('image/png');
|
|
170
|
+
}
|
|
171
|
+
else {
|
|
172
|
+
const svgData = new XMLSerializer().serializeToString(this.canvasEl);
|
|
173
|
+
const blob = new Blob([svgData], { type: 'image/svg+xml' });
|
|
174
|
+
link.href = URL.createObjectURL(blob);
|
|
175
|
+
}
|
|
176
|
+
link.click();
|
|
177
|
+
}
|
|
178
|
+
getErrorContent() {
|
|
179
|
+
return this.commonContent('warning', 'Something went wrong', 'We ran into an issue while trying to load this widget.', '#DC0000', true);
|
|
180
|
+
}
|
|
181
|
+
getNoDataContent() {
|
|
182
|
+
return this.commonContent('ssid_chart', 'No data available', 'There is currently no data available to show performance trends.', '#111');
|
|
183
|
+
}
|
|
184
|
+
commonContent(iconName, heading, message, iconColor, showActions = false) {
|
|
185
|
+
return (h("div", { class: "error-content" }, h("tttx-icon_1_9_63", { icon: iconName, color: iconColor, size: 48 }), h("span", { class: 'error-heading' }, heading), h("span", { class: 'error-message' }, message), showActions && h("div", { class: "error-actions" }, h("tttx-button_1_9_63", { class: 'reload-btn', icon: "refresh", design: 'default', onClick: () => this.renderChart() }, "Reload data"), h("tttx-button_1_9_63", { class: 'support-btn', icon: "help", design: "primary", onClick: () => this.renderChart() }, "Contact support"))));
|
|
186
|
+
}
|
|
187
|
+
render() {
|
|
188
|
+
var _a, _b, _c;
|
|
189
|
+
return (h("div", { class: "chart-wrapper", style: { width: this.width, height: this.height } }, this.loading && h("div", { class: "chart-loading" }, h("tttx-loading-spinner_1_9_63", { size: 'large', color: '#2b9ab7' })), this.error && this.getErrorContent(), !this.loading && !this.error && (!this.chartData || !((_a = this.chartData.datasets) === null || _a === void 0 ? void 0 : _a.length)) && (this.getNoDataContent()), !this.loading && !this.error && ((_c = (_b = this.chartData) === null || _b === void 0 ? void 0 : _b.datasets) === null || _c === void 0 ? void 0 : _c.length) > 0 && (h("canvas", { ref: el => (this.canvasEl = el), "aria-label": "Chart canvas", role: "img" })), this.exportable && !this.loading && !this.error && (h("div", { class: "export-buttons" }, this.showPngSvgExport && h("tttx-button_1_9_63", { class: 'export-png', design: "primary", onClick: () => this.exportChart('png') }, "Export PNG"), this.showPngSvgExport && h("tttx-button_1_9_63", { class: 'export-svg', design: "primary", onClick: () => this.exportChart('svg') }, "Export SVG"), h("tttx-button_1_9_63", { class: 'export-csv', design: "primary", onClick: () => this.exportCSV.emit({ name: this.chartType }) }, "Export CSV")))));
|
|
190
|
+
}
|
|
191
|
+
get el() { return getElement(this); }
|
|
192
|
+
static get watchers() { return {
|
|
193
|
+
"chartData": ["handleUpdate"],
|
|
194
|
+
"chartOptions": ["handleUpdate"]
|
|
195
|
+
}; }
|
|
196
|
+
};
|
|
197
|
+
TttxChart.style = tttxChartCss;
|
|
198
|
+
|
|
199
|
+
export { TttxChart as tttx_chart_1_9_63 };
|
|
@@ -28,7 +28,7 @@ const TttxCheckbox = class {
|
|
|
28
28
|
render() {
|
|
29
29
|
const checkBoxIcon = this.checked ? 'check_box' : 'check_box_outline_blank';
|
|
30
30
|
const renderedIcon = this.indeterminate ? 'indeterminate_check_box' : checkBoxIcon;
|
|
31
|
-
return (h(Host, null, h("label", { class: `tttx-checkbox ${this.inline ? '--inline' : ''}` }, h("input", { class: "tttx-checkbox__input", type: "checkbox", id: this.checkboxId, checked: this.checked, ref: (el) => this.checkbox = el }), h("tttx-
|
|
31
|
+
return (h(Host, null, h("label", { class: `tttx-checkbox ${this.inline ? '--inline' : ''}` }, h("input", { class: "tttx-checkbox__input", type: "checkbox", id: this.checkboxId, checked: this.checked, ref: (el) => this.checkbox = el }), h("tttx-icon_1_9_63", { color: this.checked ? 'blue' : 'grey', icon: renderedIcon, onClick: this.onClick.bind(this) }), h("span", { class: "tttx-checkbox__label" }, this.label))));
|
|
32
32
|
}
|
|
33
33
|
static get watchers() { return {
|
|
34
34
|
"indeterminate": ["watchIndeterminateChange"]
|
|
@@ -36,4 +36,4 @@ const TttxCheckbox = class {
|
|
|
36
36
|
};
|
|
37
37
|
TttxCheckbox.style = tttxCheckboxCss;
|
|
38
38
|
|
|
39
|
-
export { TttxCheckbox as
|
|
39
|
+
export { TttxCheckbox as tttx_checkbox_1_9_63 };
|
|
@@ -59,7 +59,12 @@ const TttxComments = class {
|
|
|
59
59
|
}
|
|
60
60
|
renderCommentBubble() {
|
|
61
61
|
var _a, _b;
|
|
62
|
-
|
|
62
|
+
const hasUnreadAtTop = ((_a = this._comments) === null || _a === void 0 ? void 0 : _a.length) > 0 ? this.isUnread(this._comments[0]) : false;
|
|
63
|
+
let unreadDividerRendered = false;
|
|
64
|
+
let topDivider = null;
|
|
65
|
+
if (hasUnreadAtTop) {
|
|
66
|
+
topDivider = (h("div", { class: "unread-comment-divider" }, h("hr", { class: "unread-comment-divider-line" }), h("span", { class: "unread-comments-text" }, "New Unread Comments"), h("hr", { class: "unread-comment-divider-line" })));
|
|
67
|
+
}
|
|
63
68
|
return (h(Fragment, null, (_b = this._comments) === null || _b === void 0 ? void 0 : _b.map((comment, index) => {
|
|
64
69
|
var _a;
|
|
65
70
|
const isCurrentUser = comment.createdByFullName === this.currentuser;
|
|
@@ -67,9 +72,18 @@ const TttxComments = class {
|
|
|
67
72
|
const isLastComment = index === this._comments.length - 1;
|
|
68
73
|
const topComment = index === 0 ? { marginTop: '10px' } : {};
|
|
69
74
|
const nextIsUnread = !isLastComment ? this.isUnread(this._comments[index + 1]) : false;
|
|
70
|
-
const
|
|
71
|
-
|
|
72
|
-
|
|
75
|
+
const firstComment = index === 0 ? true : false;
|
|
76
|
+
let divider = null;
|
|
77
|
+
if (!isLastComment &&
|
|
78
|
+
nextIsUnread &&
|
|
79
|
+
!unreadDividerRendered &&
|
|
80
|
+
!(hasUnreadAtTop && index === 0)) {
|
|
81
|
+
divider = (h("div", { class: "unread-comment-divider" }, h("hr", { class: "unread-comment-divider-line" }), h("span", { class: "unread-comments-text" }, "New Unread Comments"), h("hr", { class: "unread-comment-divider-line" })));
|
|
82
|
+
}
|
|
83
|
+
unreadDividerRendered = unreadDividerRendered || nextIsUnread;
|
|
84
|
+
return [
|
|
85
|
+
h("div", { class: bubbleClass, style: topComment }, firstComment && topDivider, h("div", { class: "bubbleHeader" }, h("div", { class: "bubble-header-inner" }, h("span", { class: "commentName" }, comment.createdByFullName), this.isUnread(comment) && (h("tttx-icon_1_9_63", { class: "unread-symbol", icon: "error", color: "blue", style: { height: '18px' }, size: 18 }))), ((_a = comment.metadata) === null || _a === void 0 ? void 0 : _a.contextString) && (h("span", { class: "commentContext" }, "(", comment.metadata.contextString, ")"))), h("div", { class: `bubbleText ${comment.isDeleted ? 'deleted-comment' : ''}` }, this.renderCommentInner(comment)), h("div", { class: "bubbleFooter" }, !this.readonly && this.allowEditing && isCurrentUser && !comment.isDeleted && !!comment.id && (h("div", null, !this.isFileComment(comment) && (h(Fragment, null, h("span", { class: "clickable", onClick: this.onEdit.bind(this, comment) }, "Edit"), " | ")), h("span", { class: "clickable", onClick: this.onRemove.bind(this, comment) }, "Remove"))), h("span", { class: "comment-date" }, !!comment.lastUpdatedAt && !comment.isDeleted && `Edited ${new Date(comment.lastUpdatedAt).toLocaleString(undefined, timestampOptions)}`, !!comment.lastUpdatedAt && comment.isDeleted && `Removed ${new Date(comment.lastUpdatedAt).toLocaleString(undefined, timestampOptions)}`, !comment.lastUpdatedAt && `${new Date(comment.createdAt).toLocaleString(undefined, timestampOptions)}`)), !divider && !isLastComment && h("hr", { class: "commentDivider" }), divider)
|
|
86
|
+
];
|
|
73
87
|
})));
|
|
74
88
|
}
|
|
75
89
|
renderCommentInner(comment) {
|
|
@@ -79,7 +93,7 @@ const TttxComments = class {
|
|
|
79
93
|
return this.isFileComment(comment) ? this.renderFileLink(comment.metadata) : comment.text;
|
|
80
94
|
}
|
|
81
95
|
renderFileLink(metadata) {
|
|
82
|
-
return (h("div", { class: "file-link-container" }, h("tttx-
|
|
96
|
+
return (h("div", { class: "file-link-container" }, h("tttx-icon_1_9_63", { icon: "attach_file", color: "black", style: { height: '20px' }, size: 20 }), h("button", { class: "linkButton", type: "button", value: metadata.key, onClick: this.onFileDownloadRequest.bind(this) }, metadata.filename)));
|
|
83
97
|
}
|
|
84
98
|
onFormSubmit(event) {
|
|
85
99
|
// get comment text
|
|
@@ -173,7 +187,7 @@ const TttxComments = class {
|
|
|
173
187
|
this.requestCommentRemoval.emit(comment);
|
|
174
188
|
}
|
|
175
189
|
render() {
|
|
176
|
-
return (h(Host, null, h("article", { id: "comment-container" }, (!Array.isArray(this._comments) || this._comments.length === 0) && (h("div", { class: "no-comments" }, h("tttx-
|
|
190
|
+
return (h(Host, null, h("article", { id: "comment-container" }, (!Array.isArray(this._comments) || this._comments.length === 0) && (h("div", { class: "no-comments" }, h("tttx-icon_1_9_63", { class: 'mt-s', icon: "chat_bubble_outline", color: "grey" }), h("span", null, "No comments have been added"))), h("section", { id: "comment-bubbles-section" }, h("div", { id: "scroll-container", ref: el => this._scrollContainer = el }, this.renderCommentBubble())), h("section", { id: "input-section" }, !this.readonly && h("form", { onSubmit: this.onFormSubmit.bind(this) }, this.editingComment && (h("div", { class: "cancel-edit-container" }, h("span", { class: "cancel-edit-button clickable", onClick: this.onFinishEdit.bind(this) }, "x"))), h("fieldset", null, h("textarea", { ref: el => this.textInput = el, name: "commentText", required: true, maxlength: `${this.messageLimit}`, placeholder: this.placeholder, onInput: (e) => this.onCommentFieldChange(e), style: { '--textarea-max-height': `${this.inputBoxHeight}px` }, class: "comment-textarea", value: this.value, onBlur: this.handleBlur.bind(this) })), this.showError && (h("span", { class: 'errorBubble visible' }, h("span", { class: "material-symbols-rounded" }, "warning"), " ", `${this.messageLimit} character limit is reached.`)), h("fieldset", null, this.editingComment && (h("span", { class: 'editing-sub-text' }, "Editing comment")), !this.disableFile && (h("button", { id: "attach-file", class: "flex-right-align clickable", type: "button", value: "File", onClick: this.onFileUploadRequest.bind(this) }, h("tttx-icon_1_9_63", { color: "black", icon: "attach_file" }))), h("input", { class: (this.disableFile ? 'flex-right-align ' : '') + 'clickable', style: { width: 'fit-content' }, type: "submit", value: this._saveButtonText })))))));
|
|
177
191
|
}
|
|
178
192
|
static get watchers() { return {
|
|
179
193
|
"comments": ["onCommentsChange"]
|
|
@@ -193,4 +207,4 @@ const timestampOptions = {
|
|
|
193
207
|
};
|
|
194
208
|
TttxComments.style = tttxCommentsCss;
|
|
195
209
|
|
|
196
|
-
export { TttxComments as
|
|
210
|
+
export { TttxComments as tttx_comments_1_9_63 };
|
|
@@ -15,12 +15,12 @@ const TttxDataPattern = class {
|
|
|
15
15
|
this.addbutton = false;
|
|
16
16
|
}
|
|
17
17
|
render() {
|
|
18
|
-
return (h(Host, null, h("div", { class: "container" }, h("tttx-
|
|
19
|
-
h("tttx-
|
|
20
|
-
h("tttx-
|
|
21
|
-
h("tttx-
|
|
18
|
+
return (h(Host, null, h("div", { class: "container" }, h("tttx-toolbar_1_9_63", { border: true }, h("span", { slot: "before" }, this.sorterOptions &&
|
|
19
|
+
h("tttx-sorter_1_9_63", { sorterKey: "data-pattern-list", fieldOptionsData: this.sorterOptions, defaultOption: this.defaultSortOption }), this.filterOptions &&
|
|
20
|
+
h("tttx-filter_1_9_63", { "filter-options": JSON.stringify(this.filterOptions), showSelectAll: false, "show-option-icons": true, "filter-header": this.filterHeader, "filter-key": "data-pattern-list" })), h("span", { slot: "after" }, h("tttx-standalone-input_1_9_63", { class: "qualifications-filter", showerrorbubble: false, inputicon: "search", inline: true, required: true, placeholder: this.searchplaceholder, type: "text", maxlength: 30 }))), h("tttx-toolbar_1_9_63", { border: false }, h("span", { slot: "before" }, this.addbutton &&
|
|
21
|
+
h("tttx-button_1_9_63", { design: "primary", icon: "add" }, this.addbuttonlabel))), h("tttx-list_1_9_63", { data: this.data }))));
|
|
22
22
|
}
|
|
23
23
|
};
|
|
24
24
|
TttxDataPattern.style = tttxDataPatternCss;
|
|
25
25
|
|
|
26
|
-
export { TttxDataPattern as
|
|
26
|
+
export { TttxDataPattern as tttx_data_pattern_1_9_63 };
|
|
@@ -28,16 +28,16 @@ const TttxDatacard = class {
|
|
|
28
28
|
renderIcon(iconstyle) {
|
|
29
29
|
switch (iconstyle) {
|
|
30
30
|
case 'up':
|
|
31
|
-
return h("tttx-
|
|
31
|
+
return h("tttx-icon_1_9_63", { size: 24, icon: "arrow_circle_up", color: "green" });
|
|
32
32
|
case 'down':
|
|
33
|
-
return h("tttx-
|
|
33
|
+
return h("tttx-icon_1_9_63", { size: 24, icon: "arrow_circle_down", color: "darkred" });
|
|
34
34
|
default:
|
|
35
35
|
return null;
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
render() {
|
|
39
39
|
return (h(Host, null, h("div", { class: "datacard" }, this.cardTitle && h("h2", { style: { 'position': 'relative', 'top': '0', 'left': '0', 'height': '40px' } }, this.cardTitle), this.chartRender && this.cardType === 'chart' &&
|
|
40
|
-
h("tttx-
|
|
40
|
+
h("tttx-graph_1_9_63", { style: { 'position': 'relative', 'width': '100%', 'height': this.cardTitle ? 'calc(100% - 40px)' : '100%' }, class: 'chart', "chart-data": this._chartConfig.chartData, "chart-text": this._chartConfig.chartText, "chart-type": this._chartConfig.chartType }), h("div", { style: { 'position': 'relative', 'width': '100%', 'height': this.cardTitle ? 'calc(100% - 40px)' : '100%' } }, h("div", { class: "lower" }, h("div", { class: this.rightData && this.rightData !== 'undefined' ? 'left' : 'centered' }, this.leftData), this.rightData && this.rightData !== 'undefined' &&
|
|
41
41
|
h("div", { class: "right" }, h("div", { class: "flex" }, h("div", { class: "righticon" }, this.renderIcon(this.iconStyle)), h("div", { class: "rightdata" }, this.rightData)), h("div", { class: "subtext" }, this.rightSubtext)))))));
|
|
42
42
|
}
|
|
43
43
|
static get watchers() { return {
|
|
@@ -46,4 +46,4 @@ const TttxDatacard = class {
|
|
|
46
46
|
};
|
|
47
47
|
TttxDatacard.style = tttxDatacardCss;
|
|
48
48
|
|
|
49
|
-
export { TttxDatacard as
|
|
49
|
+
export { TttxDatacard as tttx_datacard_1_9_63 };
|
|
@@ -208,7 +208,7 @@ const TttxDateRangePicker = class {
|
|
|
208
208
|
return (h(Host, null, h("div", { class: "date-range-input", tabIndex: 0, "aria-haspopup": "dialog", "aria-expanded": this.showCalendar ? 'true' : 'false', ref: el => (this.inputRef = el), onClick: this.handleInputClick }, h("span", { class: {
|
|
209
209
|
'range-text': true,
|
|
210
210
|
'is-placeholder': !(this.startDate || this.endDate),
|
|
211
|
-
} }, rangeText), (this.startDate || this.endDate) && (h("button", { class: "clear-btn", "aria-label": "Clear", onClick: this.handleClear }, "\u00D7")), h("span", { class: "calendar-icon", "aria-hidden": "true" }, h("tttx-
|
|
211
|
+
} }, rangeText), (this.startDate || this.endDate) && (h("button", { class: "clear-btn", "aria-label": "Clear", onClick: this.handleClear }, "\u00D7")), h("span", { class: "calendar-icon", "aria-hidden": "true" }, h("tttx-icon_1_9_63", { icon: 'calendar_month' }))), this.showCalendar && (h("div", { class: "calendar-popup single" }, this.renderCalendar(this.currentYear, this.currentMonth, this.handleDateClick.bind(this))))));
|
|
212
212
|
}
|
|
213
213
|
static get watchers() { return {
|
|
214
214
|
"initialValue": ["watchInitialValue"]
|
|
@@ -56,7 +56,7 @@ const TttxDialogBox = class {
|
|
|
56
56
|
const iconColor = header.iconColor;
|
|
57
57
|
const iconEnabled = header.hasIcon ? true : false;
|
|
58
58
|
const closeEnabled = header.hasClose ? true : false;
|
|
59
|
-
return (h("div", { class: "dialog-box-header" }, iconEnabled && h("tttx-
|
|
59
|
+
return (h("div", { class: "dialog-box-header" }, iconEnabled && h("tttx-icon_1_9_63", { class: "dialog-box-icon", icon: iconName, color: iconColor }), h("h3", { class: "dialog-box-title" }, title), closeEnabled && (h("div", { class: "dialog-box-align-right close-button", onClick: () => this.onCloseClickHandler() }, h("tttx-icon_1_9_63", { class: "dialog-box-icon-close dialog-box-clickable", icon: "close", color: "black" })))));
|
|
60
60
|
}
|
|
61
61
|
renderContent(content) {
|
|
62
62
|
if (content.isCustomHtml) {
|
|
@@ -73,7 +73,7 @@ const TttxDialogBox = class {
|
|
|
73
73
|
const button2Enabled = button.length > 1;
|
|
74
74
|
const button3Enabled = button.length == 3;
|
|
75
75
|
const isMobile = this.elementSize === 'mobile';
|
|
76
|
-
return (h("div", { class: "dialog-box-footer" }, h("div", { class: "dialog-box-align-right" }, button3Enabled && (h("tttx-
|
|
76
|
+
return (h("div", { class: "dialog-box-footer" }, h("div", { class: "dialog-box-align-right" }, button3Enabled && (h("tttx-button_1_9_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 && (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 && (h("tttx-button_1_9_63", { onClick: () => this.onButtonClickHandler(1), design: button[0].type, icon: button[0].icon }, button[0].name)))));
|
|
77
77
|
}
|
|
78
78
|
componentWillLoad() {
|
|
79
79
|
if (window.innerWidth < 698) {
|
|
@@ -98,4 +98,4 @@ const TttxDialogBox = class {
|
|
|
98
98
|
};
|
|
99
99
|
TttxDialogBox.style = tttxDialogBoxCss;
|
|
100
100
|
|
|
101
|
-
export { TttxDialogBox as
|
|
101
|
+
export { TttxDialogBox as tttx_dialog_box_1_9_63 };
|
|
@@ -46,7 +46,7 @@ const TttxDialog = class {
|
|
|
46
46
|
renderHeader() {
|
|
47
47
|
const iconEnabled = typeof this.type !== 'undefined';
|
|
48
48
|
const { iconName, iconColor } = this.headerIconDetails(iconEnabled);
|
|
49
|
-
return (h("div", { class: `padding header ${this.type || ''}` }, iconEnabled && h("tttx-
|
|
49
|
+
return (h("div", { class: `padding header ${this.type || ''}` }, iconEnabled && h("tttx-icon_1_9_63", { class: "icon", icon: iconName, color: iconColor }), h("h3", { class: "title", title: this.header }, this.header), this.closeEnabled && (h("tttx-button_1_9_63", { class: "align-right close-button", design: "borderless-circle", icon: "close", color: "black", notext: true, onClick: () => this.onCloseClickHandler() }))));
|
|
50
50
|
}
|
|
51
51
|
body() {
|
|
52
52
|
return (h("div", { class: `body ${!this.allowOverflow ? 'overflow-hidden' : ''}` }, h("span", { class: "body-content" }, h("slot", null))));
|
|
@@ -74,4 +74,4 @@ const TttxDialog = class {
|
|
|
74
74
|
};
|
|
75
75
|
TttxDialog.style = tttxDialogCss;
|
|
76
76
|
|
|
77
|
-
export { TttxDialog as
|
|
77
|
+
export { TttxDialog as tttx_dialog_1_9_63 };
|
|
@@ -26,9 +26,9 @@ const TttxExpander = class {
|
|
|
26
26
|
this.toggleExpander.emit({ open: this.isExpanded, name: this.name });
|
|
27
27
|
}
|
|
28
28
|
render() {
|
|
29
|
-
return (h(Host, null, h("details", { class: "expander", open: this.open, "aria-owns": "expanderContent", "aria-expanded": `${this.isExpanded}`, onClick: this.handleExpand.bind(this), ref: el => (this.expander = el) }, h("summary", { class: "panel" }, h("span", { class: "panel-frame" }, this.lefticon && (h("span", { class: "left-icons" }, h("tttx-
|
|
29
|
+
return (h(Host, null, h("details", { class: "expander", open: this.open, "aria-owns": "expanderContent", "aria-expanded": `${this.isExpanded}`, onClick: this.handleExpand.bind(this), ref: el => (this.expander = el) }, h("summary", { class: "panel" }, h("span", { class: "panel-frame" }, this.lefticon && (h("span", { class: "left-icons" }, h("tttx-icon_1_9_63", { icon: this.lefticon, color: this.lefticoncolor }))), h("span", { class: "name" }, this.name)), h("span", { class: "expand-button" }, h("tttx-icon_1_9_63", { class: "open", icon: "expand_more", color: "black" }), h("tttx-icon_1_9_63", { class: "closed", icon: "chevron_right", color: "black" }))), h("div", { id: "expanderContent", class: "content", tabindex: "0" }, h("slot", null)))));
|
|
30
30
|
}
|
|
31
31
|
};
|
|
32
32
|
TttxExpander.style = tttxExpanderCss;
|
|
33
33
|
|
|
34
|
-
export { TttxExpander as
|
|
34
|
+
export { TttxExpander as tttx_expander_1_9_63 };
|
|
@@ -178,10 +178,10 @@ const TttxFilter = class {
|
|
|
178
178
|
const selectAllCheckboxColor = this.allSelected ? 'blue' : 'grey';
|
|
179
179
|
const buttonStyleClassNameModifier = this.getFilterButtonClassName(this.filterButtonStyle);
|
|
180
180
|
const filterKey = `filter__${this.filterKey}`;
|
|
181
|
-
return (h(Host, { id: filterKey }, h("div", { class: 'filter-container' }, h("button", { class: `filter-button ${buttonStyleClassNameModifier}`, type: 'button', onClick: this.onFilterButtonClick.bind(this) }, h("tttx-
|
|
181
|
+
return (h(Host, { id: filterKey }, h("div", { class: 'filter-container' }, h("button", { class: `filter-button ${buttonStyleClassNameModifier}`, type: 'button', onClick: this.onFilterButtonClick.bind(this) }, h("tttx-icon_1_9_63", { icon: 'filter_list', class: 'filter-icon', color: 'black' }), "Filter"), this.showPopover && (h("div", { class: `filter-popover-container ${filterPopoverContainerClassNameModifier}`, style: { width: this.popoverWidth } }, h("div", { class: 'filter-header' }, this.filterHeader), this.showSearchField ? (h("div", { class: 'search-field-container' }, h("tttx-icon_1_9_63", { icon: 'search', class: 'search-icon' }), h("input", { type: 'text', class: 'search-input', placeholder: 'Search', value: this.filterSearchTerm, onInput: this.handleFilterChange.bind(this) }))) : (''), h("div", { class: 'filter-options-container' }, this.showSelectAll ? (h("div", { class: 'filter-option', tabIndex: -1, onClick: this.onSelectAllClick.bind(this) }, h("tttx-icon_1_9_63", { icon: selectAllCheckboxIcon, color: selectAllCheckboxColor, class: 'select-all-icon' }), h("label", { class: 'filter-label' }, "Select all"))) : (''), this.displayedFilterSettings.map((option) => {
|
|
182
182
|
const checkboxIcon = this.selectedFilters.includes(option.optionText) ? 'check_box' : 'check_box_outline_blank';
|
|
183
183
|
const checkboxColor = this.selectedFilters.includes(option.optionText) ? 'blue' : 'grey';
|
|
184
|
-
return h("div", { class: 'filter-option', tabIndex: -1, onClick: () => this.onFilterOptionSelected(option.optionText), key: option.optionText }, h("tttx-
|
|
184
|
+
return h("div", { class: 'filter-option', tabIndex: -1, onClick: () => this.onFilterOptionSelected(option.optionText), key: option.optionText }, h("tttx-icon_1_9_63", { icon: checkboxIcon, color: checkboxColor, class: 'checkbox-icon' }), this.showOptionIcons && h("tttx-icon_1_9_63", { icon: option.optionIcon, color: option.optionIconColor }), h("label", { class: 'filter-label' }, option.optionText));
|
|
185
185
|
})), h("div", { class: 'filter-popover-button-container' }, h("button", { type: 'button', class: 'close-button', onClick: this.onCloseButtonClick.bind(this) }, "Close"), h("button", { type: 'button', class: 'apply-button', onClick: this.onApplyFilterButtonClick.bind(this) }, "Apply")))))));
|
|
186
186
|
}
|
|
187
187
|
get el() { return getElement(this); }
|
|
@@ -239,9 +239,9 @@ const TttxList = class {
|
|
|
239
239
|
else {
|
|
240
240
|
element = h("span", { class: "item-content" }, item.element);
|
|
241
241
|
}
|
|
242
|
-
return (h(Fragment, null, item.hasCheckbox && (h("div", { class: "checkbox" }, h("tttx-
|
|
242
|
+
return (h(Fragment, null, item.hasCheckbox && (h("div", { class: "checkbox" }, h("tttx-icon_1_9_63", { icon: item.checked ? 'check_box' : 'check_box_outline_blank', color: item.checked ? 'blue' : 'grey', onClick: event => {
|
|
243
243
|
this.onRowCheckboxHandler(event, item);
|
|
244
|
-
} }))), item.element && element, item.icon && (h("span", { class: "icons" }, h("tttx-
|
|
244
|
+
} }))), item.element && element, item.icon && (h("span", { class: "icons" }, h("tttx-icon_1_9_63", { class: "align-right", icon: item.icon, color: 'black' })))));
|
|
245
245
|
}
|
|
246
246
|
render() {
|
|
247
247
|
if (!this._data)
|
|
@@ -363,7 +363,7 @@ const TttxSorter = class {
|
|
|
363
363
|
const selectedOption = this.selectedField;
|
|
364
364
|
const dropdownSelectorClassNameModifier = this.dropdownExpand ? '--expanded' : '';
|
|
365
365
|
const sorterKey = `sorter__${this.sorterKey}`;
|
|
366
|
-
return (h(Host, { id: sorterKey }, h("div", { tabindex: 0, class: `sorter-container ${dropdownSelectorClassNameModifier}` }, h("button", { class: "arrow-toggle-button", type: "button", onClick: this.onSortToggleClick.bind(this) }, h("tttx-
|
|
366
|
+
return (h(Host, { id: sorterKey }, h("div", { tabindex: 0, class: `sorter-container ${dropdownSelectorClassNameModifier}` }, h("button", { class: "arrow-toggle-button", type: "button", onClick: this.onSortToggleClick.bind(this) }, h("tttx-icon_1_9_63", { icon: arrowIcon, color: "black" })), h("div", { class: "dropdown-selector", onClick: this.onDropdownClicked.bind(this) }, h("div", { class: "dropdown-selector-button" }, h("div", { class: "dropdown-selector-text" }, selectedOption), h("div", { class: "dropdown-selector-chevron" }, h("tttx-icon_1_9_63", { icon: chevronIcon, color: "black" })))), this.dropdownExpand && (h("div", { class: "dropdown-options-list" }, parsedFieldOptionsData.sorterOptions.map(option => {
|
|
367
367
|
return (h("div", { class: "dropdown-option", tabIndex: -1, onClick: this.onDropdownSelected.bind(this), key: option.optionLabel }, option.optionLabel));
|
|
368
368
|
}))))));
|
|
369
369
|
}
|
|
@@ -399,4 +399,4 @@ const TttxToolbar = class {
|
|
|
399
399
|
};
|
|
400
400
|
TttxToolbar.style = tttxToolbarCss;
|
|
401
401
|
|
|
402
|
-
export { TttxFilter as
|
|
402
|
+
export { TttxFilter as tttx_filter_1_9_63, TttxList as tttx_list_1_9_63, TttxSorter as tttx_sorter_1_9_63, TttxToolbar as tttx_toolbar_1_9_63 };
|
|
@@ -352,7 +352,7 @@ const TttxForm = class {
|
|
|
352
352
|
if ((_b = this._data) === null || _b === void 0 ? void 0 : _b[formKey]) {
|
|
353
353
|
select.classList.remove('placeholder');
|
|
354
354
|
}
|
|
355
|
-
const tttxSelect = document.createElement('tttx-select-
|
|
355
|
+
const tttxSelect = document.createElement('tttx-select-box_1_9_63');
|
|
356
356
|
tttxSelect.optionsData = (_c = formProperties.options) === null || _c === void 0 ? void 0 : _c.filter(o => !o.placeholder);
|
|
357
357
|
tttxSelect.placeholder = (_e = (_d = formProperties.options) === null || _d === void 0 ? void 0 : _d.filter(o => o.placeholder)[0]) === null || _e === void 0 ? void 0 : _e.label;
|
|
358
358
|
tttxSelect.inline = false;
|
|
@@ -995,4 +995,4 @@ const TttxForm = class {
|
|
|
995
995
|
};
|
|
996
996
|
TttxForm.style = tttxFormCss;
|
|
997
997
|
|
|
998
|
-
export { TttxForm as
|
|
998
|
+
export { TttxForm as tttx_form_1_9_63 };
|