@3t-transform/threeteeui 1.9.46 → 1.9.48
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{tttx-action-dropdown_1_9_46.cjs.entry.js → tttx-action-dropdown_1_9_48.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-button_1_9_46.cjs.entry.js → tttx-button_1_9_48.cjs.entry.js} +5 -5
- package/dist/cjs/{tttx-checkbox-group-caption_1_9_46.cjs.entry.js → tttx-checkbox-group-caption_1_9_48.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox-group-heading_1_9_46.cjs.entry.js → tttx-checkbox-group-heading_1_9_48.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox-group_1_9_46.cjs.entry.js → tttx-checkbox-group_1_9_48.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox_1_9_46.cjs.entry.js → tttx-checkbox_1_9_48.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-comments_1_9_46.cjs.entry.js → tttx-comments_1_9_48.cjs.entry.js} +6 -3
- package/dist/cjs/{tttx-data-pattern_1_9_46.cjs.entry.js → tttx-data-pattern_1_9_48.cjs.entry.js} +5 -5
- package/dist/cjs/{tttx-datacard_1_9_46.cjs.entry.js → tttx-datacard_1_9_48.cjs.entry.js} +4 -4
- package/dist/cjs/{tttx-dialog-box_1_9_46.cjs.entry.js → tttx-dialog-box_1_9_48.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-dialog_1_9_46.cjs.entry.js → tttx-dialog_1_9_48.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-expander_1_9_46.cjs.entry.js → tttx-expander_1_9_48.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-filter_1_9_46_4.cjs.entry.js → tttx-filter_1_9_48_4.cjs.entry.js} +9 -9
- package/dist/cjs/{tttx-form_1_9_46.cjs.entry.js → tttx-form_1_9_48.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-graph_1_9_46.cjs.entry.js → tttx-graph_1_9_48.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-icon_1_9_46.cjs.entry.js → tttx-icon_1_9_48.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-keyvalue-block_1_9_46.cjs.entry.js → tttx-keyvalue-block_1_9_48.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-loading-spinner_1_9_46_3.cjs.entry.js → tttx-loading-spinner_1_9_48_3.cjs.entry.js} +7 -7
- package/dist/cjs/{tttx-multiselect-box_1_9_46.cjs.entry.js → tttx-multiselect-box_1_9_48.cjs.entry.js} +7 -7
- package/dist/cjs/{tttx-percentage-bar_1_9_46.cjs.entry.js → tttx-percentage-bar_1_9_48.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-qrcode_1_9_46.cjs.entry.js → tttx-qrcode_1_9_48.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-select-box_1_9_46.cjs.entry.js → tttx-select-box_1_9_48.cjs.entry.js} +6 -6
- package/dist/cjs/{tttx-skeleton_loader_1_9_46.cjs.entry.js → tttx-skeleton_loader_1_9_48.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-table_1_9_46.cjs.entry.js → tttx-table_1_9_48.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-tabs_1_9_46.cjs.entry.js → tttx-tabs_1_9_48.cjs.entry.js} +4 -4
- package/dist/cjs/{tttx-textarea_1_9_46.cjs.entry.js → tttx-textarea_1_9_48.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-toggle_1_9_46.cjs.entry.js → tttx-toggle_1_9_48.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-tree-view_1_9_46.cjs.entry.js → tttx-tree-view_1_9_48.cjs.entry.js} +3 -3
- package/dist/cjs/tttx.cjs.js +1 -1
- package/dist/collection/components/atoms/tttx-button/tttx-button.css +16 -0
- package/dist/collection/components/atoms/tttx-button/tttx-button.js +4 -4
- package/dist/collection/components/atoms/tttx-button/tttx-button.stories.js +34 -20
- 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.css +16 -0
- 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-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.css +9 -1
- package/dist/collection/components/molecules/tttx-comments/tttx-comments.js +5 -2
- package/dist/collection/components/molecules/tttx-comments/tttx-comments.stories.js +1 -1
- package/dist/collection/components/molecules/tttx-dialog/tttx-dialog.js +2 -2
- package/dist/collection/components/molecules/tttx-dialog/tttx-dialog.stories.js +6 -6
- package/dist/collection/components/molecules/tttx-dialog-box/tttx-dialog-box.js +3 -3
- package/dist/collection/components/molecules/tttx-dialog-box/tttx-dialog-box.stories.js +24 -24
- package/dist/collection/components/molecules/tttx-expander/tttx-expander.js +2 -2
- package/dist/collection/components/molecules/tttx-expander/tttx-expander.stories.js +9 -9
- package/dist/collection/components/molecules/tttx-filter/tttx-filter.js +3 -3
- package/dist/collection/components/molecules/tttx-filter/tttx-filter.stories.js +2 -2
- package/dist/collection/components/molecules/tttx-form/tttx-form.css +16 -0
- 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 +8 -8
- package/dist/collection/components/organisms/tttx-data-pattern/tttx-data-pattern.js +5 -5
- package/dist/collection/components/organisms/tttx-data-pattern/tttx-data-pattern.stories.js +5 -5
- package/dist/components/index.d.ts +33 -33
- package/dist/components/index.js +33 -33
- package/dist/components/tttx-action-dropdown_1_9_48.d.ts +11 -0
- package/dist/components/{tttx-action-dropdown_1_9_46.js → tttx-action-dropdown_1_9_48.js} +7 -7
- package/dist/components/tttx-button.js +8 -8
- package/dist/components/{tttx-dialog_1_9_46.d.ts → tttx-button_1_9_48.d.ts} +4 -4
- package/dist/components/{tttx-button_1_9_46.js → tttx-button_1_9_48.js} +2 -2
- package/dist/components/tttx-checkbox-group-caption_1_9_48.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group-caption_1_9_46.js → tttx-checkbox-group-caption_1_9_48.js} +5 -5
- package/dist/components/tttx-checkbox-group-heading_1_9_48.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group-heading_1_9_46.js → tttx-checkbox-group-heading_1_9_48.js} +5 -5
- package/dist/components/tttx-checkbox-group_1_9_48.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group_1_9_46.js → tttx-checkbox-group_1_9_48.js} +5 -5
- package/dist/components/{tttx-comments_1_9_46.d.ts → tttx-checkbox_1_9_48.d.ts} +4 -4
- package/dist/components/{tttx-checkbox_1_9_46.js → tttx-checkbox_1_9_48.js} +7 -7
- package/dist/components/{tttx-datacard_1_9_46.d.ts → tttx-comments_1_9_48.d.ts} +4 -4
- package/dist/components/{tttx-comments_1_9_46.js → tttx-comments_1_9_48.js} +11 -8
- package/dist/components/tttx-data-pattern_1_9_48.d.ts +11 -0
- package/dist/components/{tttx-data-pattern_1_9_46.js → tttx-data-pattern_1_9_48.js} +16 -16
- package/dist/components/{tttx-checkbox_1_9_46.d.ts → tttx-datacard_1_9_48.d.ts} +4 -4
- package/dist/components/{tttx-datacard_1_9_46.js → tttx-datacard_1_9_48.js} +10 -10
- package/dist/components/tttx-dialog-box_1_9_48.d.ts +11 -0
- package/dist/components/{tttx-dialog-box_1_9_46.js → tttx-dialog-box_1_9_48.js} +9 -9
- package/dist/components/{tttx-button_1_9_46.d.ts → tttx-dialog_1_9_48.d.ts} +4 -4
- package/dist/components/{tttx-dialog_1_9_46.js → tttx-dialog_1_9_48.js} +8 -8
- package/dist/components/tttx-expander_1_9_48.d.ts +11 -0
- package/dist/components/{tttx-expander_1_9_46.js → tttx-expander_1_9_48.js} +7 -7
- package/dist/components/tttx-filter.js +6 -6
- package/dist/components/{tttx-filter_1_9_46.d.ts → tttx-filter_1_9_48.d.ts} +4 -4
- package/dist/components/{tttx-filter_1_9_46.js → tttx-filter_1_9_48.js} +2 -2
- package/dist/components/{tttx-tabs_1_9_46.d.ts → tttx-form_1_9_48.d.ts} +4 -4
- package/dist/components/{tttx-form_1_9_46.js → tttx-form_1_9_48.js} +12 -12
- package/dist/components/tttx-graph.js +3 -3
- package/dist/components/{tttx-graph_1_9_46.d.ts → tttx-graph_1_9_48.d.ts} +4 -4
- package/dist/components/{tttx-graph_1_9_46.js → tttx-graph_1_9_48.js} +2 -2
- package/dist/components/tttx-icon.js +3 -3
- package/dist/components/{tttx-icon_1_9_46.d.ts → tttx-icon_1_9_48.d.ts} +4 -4
- package/dist/components/{tttx-icon_1_9_46.js → tttx-icon_1_9_48.js} +2 -2
- package/dist/components/tttx-keyvalue-block_1_9_48.d.ts +11 -0
- package/dist/components/{tttx-keyvalue-block_1_9_46.js → tttx-keyvalue-block_1_9_48.js} +5 -5
- package/dist/components/tttx-list.js +6 -6
- package/dist/components/{tttx-list_1_9_46.d.ts → tttx-list_1_9_48.d.ts} +4 -4
- package/dist/components/{tttx-list_1_9_46.js → tttx-list_1_9_48.js} +2 -2
- package/dist/components/tttx-loading-spinner.js +3 -3
- package/dist/components/tttx-loading-spinner_1_9_48.d.ts +11 -0
- package/dist/components/{tttx-loading-spinner_1_9_46.js → tttx-loading-spinner_1_9_48.js} +2 -2
- package/dist/components/tttx-multiselect-box_1_9_48.d.ts +11 -0
- package/dist/components/{tttx-multiselect-box_1_9_46.js → tttx-multiselect-box_1_9_48.js} +16 -16
- package/dist/components/tttx-percentage-bar_1_9_48.d.ts +11 -0
- package/dist/components/{tttx-percentage-bar_1_9_46.js → tttx-percentage-bar_1_9_48.js} +6 -6
- package/dist/components/{tttx-qrcode_1_9_46.d.ts → tttx-qrcode_1_9_48.d.ts} +4 -4
- package/dist/components/{tttx-qrcode_1_9_46.js → tttx-qrcode_1_9_48.js} +5 -5
- package/dist/components/tttx-select-box.js +12 -12
- package/dist/components/tttx-select-box_1_9_48.d.ts +11 -0
- package/dist/components/{tttx-select-box_1_9_46.js → tttx-select-box_1_9_48.js} +2 -2
- package/dist/components/tttx-skeleton_loader_1_9_48.d.ts +11 -0
- package/dist/components/{tttx-skeleton_loader_1_9_46.js → tttx-skeleton_loader_1_9_48.js} +5 -5
- package/dist/components/tttx-sorter.js +5 -5
- package/dist/components/tttx-sorter_1_9_48.d.ts +11 -0
- package/dist/components/{tttx-sorter_1_9_46.js → tttx-sorter_1_9_48.js} +2 -2
- package/dist/components/tttx-standalone-input.js +6 -6
- package/dist/components/tttx-standalone-input_1_9_48.d.ts +11 -0
- package/dist/components/{tttx-standalone-input_1_9_46.js → tttx-standalone-input_1_9_48.js} +2 -2
- package/dist/components/{tttx-table_1_9_46.d.ts → tttx-table_1_9_48.d.ts} +4 -4
- package/dist/components/{tttx-table_1_9_46.js → tttx-table_1_9_48.js} +5 -5
- package/dist/components/{tttx-form_1_9_46.d.ts → tttx-tabs_1_9_48.d.ts} +4 -4
- package/dist/components/{tttx-tabs_1_9_46.js → tttx-tabs_1_9_48.js} +9 -9
- package/dist/components/tttx-tag.js +6 -6
- package/dist/components/{tttx-tag_1_9_46.d.ts → tttx-tag_1_9_48.d.ts} +4 -4
- package/dist/components/{tttx-tag_1_9_46.js → tttx-tag_1_9_48.js} +2 -2
- package/dist/components/tttx-textarea_1_9_48.d.ts +11 -0
- package/dist/components/{tttx-textarea_1_9_46.js → tttx-textarea_1_9_48.js} +6 -6
- package/dist/components/tttx-toggle_1_9_48.d.ts +11 -0
- package/dist/components/{tttx-toggle_1_9_46.js → tttx-toggle_1_9_48.js} +5 -5
- package/dist/components/tttx-toolbar.js +3 -3
- package/dist/components/tttx-toolbar_1_9_48.d.ts +11 -0
- package/dist/components/{tttx-toolbar_1_9_46.js → tttx-toolbar_1_9_48.js} +2 -2
- package/dist/components/tttx-tree-view_1_9_48.d.ts +11 -0
- package/dist/components/{tttx-tree-view_1_9_46.js → tttx-tree-view_1_9_48.js} +9 -9
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{tttx-action-dropdown_1_9_46.entry.js → tttx-action-dropdown_1_9_48.entry.js} +2 -2
- package/dist/esm/{tttx-button_1_9_46.entry.js → tttx-button_1_9_48.entry.js} +5 -5
- package/dist/esm/{tttx-checkbox-group-caption_1_9_46.entry.js → tttx-checkbox-group-caption_1_9_48.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox-group-heading_1_9_46.entry.js → tttx-checkbox-group-heading_1_9_48.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox-group_1_9_46.entry.js → tttx-checkbox-group_1_9_48.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox_1_9_46.entry.js → tttx-checkbox_1_9_48.entry.js} +2 -2
- package/dist/esm/{tttx-comments_1_9_46.entry.js → tttx-comments_1_9_48.entry.js} +6 -3
- package/dist/esm/{tttx-data-pattern_1_9_46.entry.js → tttx-data-pattern_1_9_48.entry.js} +5 -5
- package/dist/esm/{tttx-datacard_1_9_46.entry.js → tttx-datacard_1_9_48.entry.js} +4 -4
- package/dist/esm/{tttx-dialog-box_1_9_46.entry.js → tttx-dialog-box_1_9_48.entry.js} +3 -3
- package/dist/esm/{tttx-dialog_1_9_46.entry.js → tttx-dialog_1_9_48.entry.js} +2 -2
- package/dist/esm/{tttx-expander_1_9_46.entry.js → tttx-expander_1_9_48.entry.js} +2 -2
- package/dist/esm/{tttx-filter_1_9_46_4.entry.js → tttx-filter_1_9_48_4.entry.js} +6 -6
- package/dist/esm/{tttx-form_1_9_46.entry.js → tttx-form_1_9_48.entry.js} +3 -3
- package/dist/esm/{tttx-graph_1_9_46.entry.js → tttx-graph_1_9_48.entry.js} +1 -1
- package/dist/esm/{tttx-icon_1_9_46.entry.js → tttx-icon_1_9_48.entry.js} +1 -1
- package/dist/esm/{tttx-keyvalue-block_1_9_46.entry.js → tttx-keyvalue-block_1_9_48.entry.js} +1 -1
- package/dist/esm/{tttx-loading-spinner_1_9_46_3.entry.js → tttx-loading-spinner_1_9_48_3.entry.js} +5 -5
- package/dist/esm/{tttx-multiselect-box_1_9_46.entry.js → tttx-multiselect-box_1_9_48.entry.js} +7 -7
- package/dist/esm/{tttx-percentage-bar_1_9_46.entry.js → tttx-percentage-bar_1_9_48.entry.js} +2 -2
- package/dist/esm/{tttx-qrcode_1_9_46.entry.js → tttx-qrcode_1_9_48.entry.js} +1 -1
- package/dist/esm/{tttx-select-box_1_9_46.entry.js → tttx-select-box_1_9_48.entry.js} +6 -6
- package/dist/esm/{tttx-skeleton_loader_1_9_46.entry.js → tttx-skeleton_loader_1_9_48.entry.js} +1 -1
- package/dist/esm/{tttx-table_1_9_46.entry.js → tttx-table_1_9_48.entry.js} +1 -1
- package/dist/esm/{tttx-tabs_1_9_46.entry.js → tttx-tabs_1_9_48.entry.js} +4 -4
- package/dist/esm/{tttx-textarea_1_9_46.entry.js → tttx-textarea_1_9_48.entry.js} +2 -2
- package/dist/esm/{tttx-toggle_1_9_46.entry.js → tttx-toggle_1_9_48.entry.js} +1 -1
- package/dist/esm/{tttx-tree-view_1_9_46.entry.js → tttx-tree-view_1_9_48.entry.js} +3 -3
- package/dist/esm/tttx.js +1 -1
- package/dist/tttx/p-03c3c654.entry.js +1 -0
- package/dist/tttx/p-1d8210d3.entry.js +1 -1
- package/dist/tttx/p-21bb99dd.entry.js +1 -1
- package/dist/tttx/p-22150380.entry.js +1 -1
- package/dist/tttx/p-222b7f89.entry.js +1 -1
- package/dist/tttx/p-29a69889.entry.js +1 -0
- package/dist/tttx/p-354fc8d4.entry.js +1 -1
- package/dist/tttx/p-3f2f039d.entry.js +1 -0
- package/dist/tttx/p-4560cb86.entry.js +1 -1
- package/dist/tttx/p-49bae603.entry.js +1 -1
- package/dist/tttx/p-555885cc.entry.js +1 -1
- package/dist/tttx/p-61df30c5.entry.js +1 -1
- package/dist/tttx/p-6343251b.entry.js +1 -1
- package/dist/tttx/p-652aaf6c.entry.js +1 -1
- package/dist/tttx/p-65da8c2a.entry.js +1 -1
- package/dist/tttx/p-71372d3a.entry.js +1 -1
- package/dist/tttx/p-7ff42357.entry.js +1 -1
- package/dist/tttx/p-80c3103a.entry.js +1 -1
- package/dist/tttx/p-8aeb43df.entry.js +1 -1
- package/dist/tttx/p-9262d276.entry.js +1 -1
- package/dist/tttx/p-9426547c.entry.js +1 -1
- package/dist/tttx/p-9896a083.entry.js +1 -1
- package/dist/tttx/p-98bee16c.entry.js +1 -1
- package/dist/tttx/{p-e5319b51.entry.js → p-c7ff1887.entry.js} +1 -1
- package/dist/tttx/p-e23f0843.entry.js +1 -1
- package/dist/tttx/p-e4b36835.entry.js +1 -1
- package/dist/tttx/p-e5f97b02.entry.js +1 -1
- package/dist/tttx/p-e8b9acb8.entry.js +1 -1
- package/dist/tttx/tttx.esm.js +1 -1
- package/dist/types/components/atoms/tttx-button/tttx-button.stories.d.ts +1 -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 +394 -394
- package/package.json +1 -1
- package/dist/components/tttx-action-dropdown_1_9_46.d.ts +0 -11
- package/dist/components/tttx-checkbox-group-caption_1_9_46.d.ts +0 -11
- package/dist/components/tttx-checkbox-group-heading_1_9_46.d.ts +0 -11
- package/dist/components/tttx-checkbox-group_1_9_46.d.ts +0 -11
- package/dist/components/tttx-data-pattern_1_9_46.d.ts +0 -11
- package/dist/components/tttx-dialog-box_1_9_46.d.ts +0 -11
- package/dist/components/tttx-expander_1_9_46.d.ts +0 -11
- package/dist/components/tttx-keyvalue-block_1_9_46.d.ts +0 -11
- package/dist/components/tttx-loading-spinner_1_9_46.d.ts +0 -11
- package/dist/components/tttx-multiselect-box_1_9_46.d.ts +0 -11
- package/dist/components/tttx-percentage-bar_1_9_46.d.ts +0 -11
- package/dist/components/tttx-select-box_1_9_46.d.ts +0 -11
- package/dist/components/tttx-skeleton_loader_1_9_46.d.ts +0 -11
- package/dist/components/tttx-sorter_1_9_46.d.ts +0 -11
- package/dist/components/tttx-standalone-input_1_9_46.d.ts +0 -11
- package/dist/components/tttx-textarea_1_9_46.d.ts +0 -11
- package/dist/components/tttx-toggle_1_9_46.d.ts +0 -11
- package/dist/components/tttx-toolbar_1_9_46.d.ts +0 -11
- package/dist/components/tttx-tree-view_1_9_46.d.ts +0 -11
- package/dist/tttx/p-295a5c16.entry.js +0 -1
- package/dist/tttx/p-e28e5118.entry.js +0 -1
- package/dist/tttx/p-ed0d3334.entry.js +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
2
|
import { d as defineCustomElement$1 } from './tttx-icon.js';
|
|
3
3
|
|
|
4
|
-
const tttxButtonCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}button{cursor:pointer}.button{font-family:Roboto, serif;box-sizing:border-box;height:36px;min-width:36px;padding:0;margin:0;background:transparent;color:#212121;border:1px solid #c8c8c8;border-radius:4px;text-transform:uppercase;display:flex;justify-content:left;align-items:center;font-size:14px;font-weight:500}.button-content{display:block;padding:0 16px}.icon-left,.icon-right{margin-top:4px}.iconleft{padding-left:8px}.iconleft .button-content{padding-left:4px}.iconright{padding-right:8px}.iconright .button-content{padding-right:4px}.notext{padding:0 6px}.button:active{background:rgba(17, 17, 17, 0.2);border:1px solid #d5d5d5}.primary{background:#1479c6;border:1px solid #1479c6;color:white}.primary:active{background:#1464a2;border:1px solid #1464a2}.borderless{background:transparent;border:none;color:#212121}.borderless:active{background:rgba(17, 17, 17, 0.2);border:none}.borderless-circle{background:transparent;border:none;color:#212121;border-radius:50%}.borderless-circle:active{border:none}.borderless-circle:focus{border-color:transparent}.danger{background:#dc0000;border:1px solid #dc0000;color:white}.danger:active{background:#b00000;border:1px solid #b00000}.disabled{background:#aeaeae;border:none;color:#4c4c4c;cursor:not-allowed}.disabled:active{background:#aeaeae;border:none;color:#4c4c4c;cursor:not-allowed}@media (hover: hover){.button:hover{background:rgba(17, 17, 17, 0.1);border:1px solid #d5d5d5}.primary:hover{background:#146eb3;border:1px solid #146eb3}.borderless:hover{background:rgba(17, 17, 17, 0.1);border:none}.borderless-circle:hover{background:rgba(17, 17, 17, 0.1);border:none}.danger:hover{background:#c60000;border:1px solid #c60000}.disabled:hover{background:#aeaeae;border:none;color:#4c4c4c;cursor:not-allowed}}:host{display:inline-block}tttx-icon{cursor:inherit}.spacingleft{margin-left:8px}";
|
|
4
|
+
const tttxButtonCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}button{cursor:pointer}.button{font-family:Roboto, serif;box-sizing:border-box;height:36px;min-width:36px;padding:0;margin:0;background:transparent;color:#212121;border:1px solid #c8c8c8;border-radius:4px;text-transform:uppercase;display:flex;justify-content:left;align-items:center;font-size:14px;font-weight:500}.button-content{display:block;padding:0 16px}.icon-left,.icon-right{margin-top:4px}.iconleft{padding-left:8px}.iconleft .button-content{padding-left:4px}.iconright{padding-right:8px}.iconright .button-content{padding-right:4px}.notext{padding:0 6px}.button:active{background:rgba(17, 17, 17, 0.2);border:1px solid #d5d5d5}.blackout{background:#363636;border:1px solid #363636;color:white}.blackout:active{background:#212121;border:1px solid #212121}.primary{background:#1479c6;border:1px solid #1479c6;color:white}.primary:active{background:#1464a2;border:1px solid #1464a2}.borderless{background:transparent;border:none;color:#212121}.borderless:active{background:rgba(17, 17, 17, 0.2);border:none}.borderless-circle{background:transparent;border:none;color:#212121;border-radius:50%}.borderless-circle:active{border:none}.borderless-circle:focus{border-color:transparent}.danger{background:#dc0000;border:1px solid #dc0000;color:white}.danger:active{background:#b00000;border:1px solid #b00000}.disabled{background:#aeaeae;border:none;color:#4c4c4c;cursor:not-allowed}.disabled:active{background:#aeaeae;border:none;color:#4c4c4c;cursor:not-allowed}@media (hover: hover){.button:hover{background:rgba(17, 17, 17, 0.1);border:1px solid #d5d5d5}.primary:hover{background:#146eb3;border:1px solid #146eb3}.borderless:hover{background:rgba(17, 17, 17, 0.1);border:none}.borderless-circle:hover{background:rgba(17, 17, 17, 0.1);border:none}.danger:hover{background:#c60000;border:1px solid #c60000}.disabled:hover{background:#aeaeae;border:none;color:#4c4c4c;cursor:not-allowed}.blackout:hover{background:#212121;border:1px solid #212121}}:host{display:inline-block}tttx-icon{cursor:inherit}.spacingleft{margin-left:8px}";
|
|
5
5
|
|
|
6
6
|
const TttxButton = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
7
7
|
constructor() {
|
|
@@ -17,20 +17,20 @@ const TttxButton = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
17
17
|
}
|
|
18
18
|
componentWillLoad() {
|
|
19
19
|
this._design = this.design;
|
|
20
|
-
const designs = ['primary', 'default', 'disabled', 'danger', 'borderless', 'borderless-circle'];
|
|
20
|
+
const designs = ['primary', 'default', 'disabled', 'danger', 'borderless', 'borderless-circle', 'blackout'];
|
|
21
21
|
if (!designs.includes(this.design)) {
|
|
22
22
|
this._design = 'default';
|
|
23
23
|
}
|
|
24
|
-
if (this._design === 'primary' || this._design === 'danger') {
|
|
24
|
+
if (this._design === 'primary' || this._design === 'danger' || this._design === 'blackout') {
|
|
25
25
|
this.iconcolor = 'white';
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
render() {
|
|
29
29
|
this._iconcolor = this.iconcolor;
|
|
30
|
-
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-
|
|
30
|
+
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_48", { 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_48", { icon: this.icon, color: this._iconcolor }))))));
|
|
31
31
|
}
|
|
32
32
|
static get style() { return tttxButtonCss; }
|
|
33
|
-
}, [1, "tttx-
|
|
33
|
+
}, [1, "tttx-button_1_9_48", {
|
|
34
34
|
"notext": [4],
|
|
35
35
|
"icon": [1],
|
|
36
36
|
"iconposition": [1],
|
|
@@ -41,14 +41,14 @@ function defineCustomElement() {
|
|
|
41
41
|
if (typeof customElements === "undefined") {
|
|
42
42
|
return;
|
|
43
43
|
}
|
|
44
|
-
const components = ["tttx-
|
|
44
|
+
const components = ["tttx-button_1_9_48", "tttx-icon_1_9_48"];
|
|
45
45
|
components.forEach(tagName => { switch (tagName) {
|
|
46
|
-
case "tttx-
|
|
46
|
+
case "tttx-button_1_9_48":
|
|
47
47
|
if (!customElements.get(tagName)) {
|
|
48
48
|
customElements.define(tagName, TttxButton);
|
|
49
49
|
}
|
|
50
50
|
break;
|
|
51
|
-
case "tttx-
|
|
51
|
+
case "tttx-icon_1_9_48":
|
|
52
52
|
if (!customElements.get(tagName)) {
|
|
53
53
|
defineCustomElement$1();
|
|
54
54
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { Components, JSX } from "../types/components";
|
|
2
2
|
|
|
3
|
-
interface
|
|
4
|
-
export const
|
|
5
|
-
prototype:
|
|
6
|
-
new ():
|
|
3
|
+
interface TttxButton_1_9_48 extends Components.TttxButton_1_9_48, HTMLElement {}
|
|
4
|
+
export const TttxButton_1_9_48: {
|
|
5
|
+
prototype: TttxButton_1_9_48;
|
|
6
|
+
new (): TttxButton_1_9_48;
|
|
7
7
|
};
|
|
8
8
|
/**
|
|
9
9
|
* Used to define this component and all nested components recursively.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { T as TttxButton, d as defineCustomElement$1 } from './tttx-button.js';
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const TttxButton_1_9_48 = TttxButton;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
5
5
|
|
|
6
|
-
export {
|
|
6
|
+
export { TttxButton_1_9_48, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface TttxCheckboxGroupCaption_1_9_48 extends Components.TttxCheckboxGroupCaption_1_9_48, HTMLElement {}
|
|
4
|
+
export const TttxCheckboxGroupCaption_1_9_48: {
|
|
5
|
+
prototype: TttxCheckboxGroupCaption_1_9_48;
|
|
6
|
+
new (): TttxCheckboxGroupCaption_1_9_48;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -11,14 +11,14 @@ const TttxCheckboxGroupCaption = /*@__PURE__*/ proxyCustomElement(class extends
|
|
|
11
11
|
return (h(Host, null, h("div", { class: 'tttx-checkbox-group__caption' }, h("slot", null))));
|
|
12
12
|
}
|
|
13
13
|
static get style() { return tttxCheckboxGroupCss; }
|
|
14
|
-
}, [4, "tttx-checkbox-group-
|
|
14
|
+
}, [4, "tttx-checkbox-group-caption_1_9_48"]);
|
|
15
15
|
function defineCustomElement$1() {
|
|
16
16
|
if (typeof customElements === "undefined") {
|
|
17
17
|
return;
|
|
18
18
|
}
|
|
19
|
-
const components = ["tttx-checkbox-group-
|
|
19
|
+
const components = ["tttx-checkbox-group-caption_1_9_48"];
|
|
20
20
|
components.forEach(tagName => { switch (tagName) {
|
|
21
|
-
case "tttx-checkbox-group-
|
|
21
|
+
case "tttx-checkbox-group-caption_1_9_48":
|
|
22
22
|
if (!customElements.get(tagName)) {
|
|
23
23
|
customElements.define(tagName, TttxCheckboxGroupCaption);
|
|
24
24
|
}
|
|
@@ -26,7 +26,7 @@ function defineCustomElement$1() {
|
|
|
26
26
|
} });
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
const
|
|
29
|
+
const TttxCheckboxGroupCaption_1_9_48 = TttxCheckboxGroupCaption;
|
|
30
30
|
const defineCustomElement = defineCustomElement$1;
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { TttxCheckboxGroupCaption_1_9_48, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface TttxCheckboxGroupHeading_1_9_48 extends Components.TttxCheckboxGroupHeading_1_9_48, HTMLElement {}
|
|
4
|
+
export const TttxCheckboxGroupHeading_1_9_48: {
|
|
5
|
+
prototype: TttxCheckboxGroupHeading_1_9_48;
|
|
6
|
+
new (): TttxCheckboxGroupHeading_1_9_48;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -11,14 +11,14 @@ const TttxCheckboxGroupHeading = /*@__PURE__*/ proxyCustomElement(class extends
|
|
|
11
11
|
return (h(Host, null, h("div", { class: 'tttx-checkbox-group__heading' }, h("slot", null))));
|
|
12
12
|
}
|
|
13
13
|
static get style() { return tttxCheckboxGroupCss; }
|
|
14
|
-
}, [4, "tttx-checkbox-group-
|
|
14
|
+
}, [4, "tttx-checkbox-group-heading_1_9_48"]);
|
|
15
15
|
function defineCustomElement$1() {
|
|
16
16
|
if (typeof customElements === "undefined") {
|
|
17
17
|
return;
|
|
18
18
|
}
|
|
19
|
-
const components = ["tttx-checkbox-group-
|
|
19
|
+
const components = ["tttx-checkbox-group-heading_1_9_48"];
|
|
20
20
|
components.forEach(tagName => { switch (tagName) {
|
|
21
|
-
case "tttx-checkbox-group-
|
|
21
|
+
case "tttx-checkbox-group-heading_1_9_48":
|
|
22
22
|
if (!customElements.get(tagName)) {
|
|
23
23
|
customElements.define(tagName, TttxCheckboxGroupHeading);
|
|
24
24
|
}
|
|
@@ -26,7 +26,7 @@ function defineCustomElement$1() {
|
|
|
26
26
|
} });
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
const
|
|
29
|
+
const TttxCheckboxGroupHeading_1_9_48 = TttxCheckboxGroupHeading;
|
|
30
30
|
const defineCustomElement = defineCustomElement$1;
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { TttxCheckboxGroupHeading_1_9_48, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface TttxCheckboxGroup_1_9_48 extends Components.TttxCheckboxGroup_1_9_48, HTMLElement {}
|
|
4
|
+
export const TttxCheckboxGroup_1_9_48: {
|
|
5
|
+
prototype: TttxCheckboxGroup_1_9_48;
|
|
6
|
+
new (): TttxCheckboxGroup_1_9_48;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -12,14 +12,14 @@ const TttxCheckboxGroup = /*@__PURE__*/ proxyCustomElement(class extends HTMLEle
|
|
|
12
12
|
return (h(Host, null, h("div", { class: 'tttx-checkbox-group' }, h("slot", null))));
|
|
13
13
|
}
|
|
14
14
|
static get style() { return tttxCheckboxGroupCss; }
|
|
15
|
-
}, [1, "tttx-checkbox-
|
|
15
|
+
}, [1, "tttx-checkbox-group_1_9_48"]);
|
|
16
16
|
function defineCustomElement$1() {
|
|
17
17
|
if (typeof customElements === "undefined") {
|
|
18
18
|
return;
|
|
19
19
|
}
|
|
20
|
-
const components = ["tttx-checkbox-
|
|
20
|
+
const components = ["tttx-checkbox-group_1_9_48"];
|
|
21
21
|
components.forEach(tagName => { switch (tagName) {
|
|
22
|
-
case "tttx-checkbox-
|
|
22
|
+
case "tttx-checkbox-group_1_9_48":
|
|
23
23
|
if (!customElements.get(tagName)) {
|
|
24
24
|
customElements.define(tagName, TttxCheckboxGroup);
|
|
25
25
|
}
|
|
@@ -27,7 +27,7 @@ function defineCustomElement$1() {
|
|
|
27
27
|
} });
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
const
|
|
30
|
+
const TttxCheckboxGroup_1_9_48 = TttxCheckboxGroup;
|
|
31
31
|
const defineCustomElement = defineCustomElement$1;
|
|
32
32
|
|
|
33
|
-
export {
|
|
33
|
+
export { TttxCheckboxGroup_1_9_48, defineCustomElement };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { Components, JSX } from "../types/components";
|
|
2
2
|
|
|
3
|
-
interface
|
|
4
|
-
export const
|
|
5
|
-
prototype:
|
|
6
|
-
new ():
|
|
3
|
+
interface TttxCheckbox_1_9_48 extends Components.TttxCheckbox_1_9_48, HTMLElement {}
|
|
4
|
+
export const TttxCheckbox_1_9_48: {
|
|
5
|
+
prototype: TttxCheckbox_1_9_48;
|
|
6
|
+
new (): TttxCheckbox_1_9_48;
|
|
7
7
|
};
|
|
8
8
|
/**
|
|
9
9
|
* Used to define this component and all nested components recursively.
|
|
@@ -30,13 +30,13 @@ const TttxCheckbox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
30
30
|
render() {
|
|
31
31
|
const checkBoxIcon = this.checked ? 'check_box' : 'check_box_outline_blank';
|
|
32
32
|
const renderedIcon = this.indeterminate ? 'indeterminate_check_box' : checkBoxIcon;
|
|
33
|
-
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-
|
|
33
|
+
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_48", { color: this.checked ? 'blue' : 'grey', icon: renderedIcon, onClick: this.onClick.bind(this) }), h("span", { class: "tttx-checkbox__label" }, this.label))));
|
|
34
34
|
}
|
|
35
35
|
static get watchers() { return {
|
|
36
36
|
"indeterminate": ["watchIndeterminateChange"]
|
|
37
37
|
}; }
|
|
38
38
|
static get style() { return tttxCheckboxCss; }
|
|
39
|
-
}, [0, "tttx-
|
|
39
|
+
}, [0, "tttx-checkbox_1_9_48", {
|
|
40
40
|
"checkboxId": [1, "checkbox-id"],
|
|
41
41
|
"label": [1],
|
|
42
42
|
"inline": [4],
|
|
@@ -47,14 +47,14 @@ function defineCustomElement$1() {
|
|
|
47
47
|
if (typeof customElements === "undefined") {
|
|
48
48
|
return;
|
|
49
49
|
}
|
|
50
|
-
const components = ["tttx-
|
|
50
|
+
const components = ["tttx-checkbox_1_9_48", "tttx-icon_1_9_48"];
|
|
51
51
|
components.forEach(tagName => { switch (tagName) {
|
|
52
|
-
case "tttx-
|
|
52
|
+
case "tttx-checkbox_1_9_48":
|
|
53
53
|
if (!customElements.get(tagName)) {
|
|
54
54
|
customElements.define(tagName, TttxCheckbox);
|
|
55
55
|
}
|
|
56
56
|
break;
|
|
57
|
-
case "tttx-
|
|
57
|
+
case "tttx-icon_1_9_48":
|
|
58
58
|
if (!customElements.get(tagName)) {
|
|
59
59
|
defineCustomElement$2();
|
|
60
60
|
}
|
|
@@ -62,7 +62,7 @@ function defineCustomElement$1() {
|
|
|
62
62
|
} });
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
const
|
|
65
|
+
const TttxCheckbox_1_9_48 = TttxCheckbox;
|
|
66
66
|
const defineCustomElement = defineCustomElement$1;
|
|
67
67
|
|
|
68
|
-
export {
|
|
68
|
+
export { TttxCheckbox_1_9_48, defineCustomElement };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { Components, JSX } from "../types/components";
|
|
2
2
|
|
|
3
|
-
interface
|
|
4
|
-
export const
|
|
5
|
-
prototype:
|
|
6
|
-
new ():
|
|
3
|
+
interface TttxComments_1_9_48 extends Components.TttxComments_1_9_48, HTMLElement {}
|
|
4
|
+
export const TttxComments_1_9_48: {
|
|
5
|
+
prototype: TttxComments_1_9_48;
|
|
6
|
+
new (): TttxComments_1_9_48;
|
|
7
7
|
};
|
|
8
8
|
/**
|
|
9
9
|
* Used to define this component and all nested components recursively.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h, Fragment, Host } from '@stencil/core/internal/client';
|
|
2
2
|
import { d as defineCustomElement$2 } from './tttx-icon.js';
|
|
3
3
|
|
|
4
|
-
const tttxCommentsCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}label{font-weight:500;font-size:16px;line-height:18.752px;color:#212121}label .optional{color:#757575;font-weight:normal}label .outer-container{position:relative}label .outer-container .left-icons,label .outer-container .right-icons{display:flex;position:absolute;height:24px;gap:8px}label .outer-container .left-icons tttx-icon,label .outer-container .right-icons tttx-icon{height:24px;width:24px}label .outer-container .left-icons{left:8px}label .outer-container .right-icons{right:8px}label .outer-container input,label .outer-container textarea{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 .outer-container input.has-input-icon,label .outer-container textarea.has-input-icon{padding-left:40px}label .outer-container input.has-input-icon.has-left-icon,label .outer-container textarea.has-input-icon.has-left-icon{padding-left:72px}label .outer-container input.has-left-icon,label .outer-container textarea.has-left-icon{padding-left:40px}label .outer-container input.has-right-icon,label .outer-container textarea.has-right-icon{padding-right:40px}label .outer-container input.invalid,label .outer-container textarea.invalid{border:1px solid #dc0000}label .outer-container input:not([type=submit]),label .outer-container textarea:not([type=submit]){font-family:\"Roboto\", serif;width:100%;height:36px;font-size:16px;line-height:18.752px}label .outer-container input[type=radio],label .outer-container textarea[type=radio]{width:20px;height:20px}label .outer-container input[type=date],label .outer-container textarea[type=date]{background:white;display:block;min-width:calc(100% - 18px);line-height:37px}label .outer-container input[readonly],label .outer-container textarea[readonly]{cursor:default;pointer-events:none;user-select:none;color:gray}label .outer-container input:focus,label .outer-container textarea:focus{border-color:#1479c6}label .outer-container input:focus-visible,label .outer-container textarea:focus-visible{outline:none}label .outer-container textarea{padding:8px;height:auto;min-height:100px;resize:vertical}label .outer-container textarea.resize-none{resize:none}label .outer-container.inputBlock{display:flex;align-items:center;line-height:21px}label .outer-container.inputBlock .left-icons,label .outer-container.inputBlock .right-icons{margin-top:4px}label .outer-container.inputBlock.readonly{pointer-events:none;user-select:none;color:gray}label .outer-container.inputBlock.radioBlock{display:block}label .outer-container.inputInline{display:flex;white-space:nowrap;align-items:center;margin:0}label .outer-container.inputInline input{margin-top:0}label .secondarylabel{color:#757575;font-size:14px;line-height:16.408px;font-weight:normal;display:flex;margin-top:4px}label .errorBubble{position:relative;font-size:14px;line-height:16.408px;font-weight:normal;width:100%;font-family:\"Roboto\", sans-serif;color:#dc0000;display:flex;align-content:center;align-items:center;justify-items:center;margin-top:4px}label .errorBubble:not(.visible){display:none}label .errorBubble span{color:#dc0000;font-size:16px;margin-right:4px}*{font-family:\"Roboto\", sans-serif}#comment-container{display:flex;height:100%;flex-direction:column}#comment-bubbles-section{display:flex;height:100%;flex-direction:column;justify-content:end;margin-bottom:8px;padding-bottom:8px;overflow:hidden}#input-section,#input-section form{display:flex;flex-direction:column;padding:0px 1px}#scroll-container{display:flex;overflow-y:auto;max-height:100%;width:100%;align-items:end;flex-direction:column}.commentBubble{display:flex;flex-direction:column;margin-bottom:8px;width:100%}.commentBubble>.bubbleText{background:#f0f0f0;border-radius:4px;padding:8px 12px;margin-bottom:4px;margin-top:10px;font-size:11pt;white-space:wrap}.commentBubble>span{color:#757575;font-size:10pt;margin:2px 16px}.commentBubble.right>span{text-align:right}.commentBubble.left>span{text-align:left}input{border:1px solid #dddddd;border-radius:4px;padding:8px 16px;font-size:11pt}input[type=text]{flex-grow:1}input[type=submit]{text-transform:uppercase;background:white;font-size:10pt;margin-top:8px;width:132px;display:flex;align-self:end}input[type=submit]:hover,input[type=submit]:active{background:#dddddd}button#attach-file{text-transform:uppercase;background:white;font-size:10pt;margin-top:8px;align-self:end;border:1px solid #dddddd;border-radius:4px;width:34px;height:34px;display:flex;flex-direction:column;justify-content:center;margin-right:8px}button#attach-file:hover,button#attach-file:active{background:#dddddd}button#attach-file *{margin-top:3px}fieldset{border:none;padding:0;margin:0;display:flex;flex-direction:row;justify-content:end}button.linkButton{border:none;background:transparent;color:#3680bd;cursor:pointer;padding:0}.commentBubble .bubbleHeader{display:flex;justify-content:space-between;align-items:center;margin-bottom:4px}.commentName{color:black;font-size:10pt}.commentContext{color:gray;font-size:10pt}.commentBubble .bubbleFooter{display:flex;padding:0 10px;font-size:9pt;color:#757575}.comment-date{margin-left:auto}.editing-sub-text{margin-top:5px;font-size:9pt;color:#757575}.flex-right-align{margin-left:auto}.cancel-edit-button{color:whitesmoke;background-color:gray;border-radius:10px;height:20px;width:20px;text-align:center;position:absolute;margin:6px
|
|
4
|
+
const tttxCommentsCss = ".material-symbols-rounded{font-variation-settings:\"FILL\" 1, \"wght\" 400, \"GRAD\" 0, \"opsz\" 24}label{font-weight:500;font-size:16px;line-height:18.752px;color:#212121}label .optional{color:#757575;font-weight:normal}label .outer-container{position:relative}label .outer-container .left-icons,label .outer-container .right-icons{display:flex;position:absolute;height:24px;gap:8px}label .outer-container .left-icons tttx-icon,label .outer-container .right-icons tttx-icon{height:24px;width:24px}label .outer-container .left-icons{left:8px}label .outer-container .right-icons{right:8px}label .outer-container input,label .outer-container textarea{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 .outer-container input.has-input-icon,label .outer-container textarea.has-input-icon{padding-left:40px}label .outer-container input.has-input-icon.has-left-icon,label .outer-container textarea.has-input-icon.has-left-icon{padding-left:72px}label .outer-container input.has-left-icon,label .outer-container textarea.has-left-icon{padding-left:40px}label .outer-container input.has-right-icon,label .outer-container textarea.has-right-icon{padding-right:40px}label .outer-container input.invalid,label .outer-container textarea.invalid{border:1px solid #dc0000}label .outer-container input:not([type=submit]),label .outer-container textarea:not([type=submit]){font-family:\"Roboto\", serif;width:100%;height:36px;font-size:16px;line-height:18.752px}label .outer-container input[type=radio],label .outer-container textarea[type=radio]{width:20px;height:20px}label .outer-container input[type=date],label .outer-container textarea[type=date]{background:white;display:block;min-width:calc(100% - 18px);line-height:37px}label .outer-container input[readonly],label .outer-container textarea[readonly]{cursor:default;pointer-events:none;user-select:none;color:gray}label .outer-container input:focus,label .outer-container textarea:focus{border-color:#1479c6}label .outer-container input:focus-visible,label .outer-container textarea:focus-visible{outline:none}label .outer-container textarea{padding:8px;height:auto;min-height:100px;resize:vertical}label .outer-container textarea.resize-none{resize:none}label .outer-container.inputBlock{display:flex;align-items:center;line-height:21px}label .outer-container.inputBlock .left-icons,label .outer-container.inputBlock .right-icons{margin-top:4px}label .outer-container.inputBlock.readonly{pointer-events:none;user-select:none;color:gray}label .outer-container.inputBlock.radioBlock{display:block}label .outer-container.inputInline{display:flex;white-space:nowrap;align-items:center;margin:0}label .outer-container.inputInline input{margin-top:0}label .secondarylabel{color:#757575;font-size:14px;line-height:16.408px;font-weight:normal;display:flex;margin-top:4px}label .errorBubble{position:relative;font-size:14px;line-height:16.408px;font-weight:normal;width:100%;font-family:\"Roboto\", sans-serif;color:#dc0000;display:flex;align-content:center;align-items:center;justify-items:center;margin-top:4px}label .errorBubble:not(.visible){display:none}label .errorBubble span{color:#dc0000;font-size:16px;margin-right:4px}*{font-family:\"Roboto\", sans-serif}#comment-container{display:flex;height:100%;flex-direction:column}#comment-bubbles-section{display:flex;height:100%;flex-direction:column;justify-content:end;margin-bottom:8px;padding-bottom:8px;overflow:hidden}#input-section,#input-section form{display:flex;flex-direction:column;padding:0px 1px}#scroll-container{display:flex;overflow-y:auto;max-height:100%;width:100%;align-items:end;flex-direction:column}.commentBubble{display:flex;flex-direction:column;margin-bottom:8px;width:100%}.commentBubble>.bubbleText{background:#f0f0f0;border-radius:4px;padding:8px 12px;margin-bottom:4px;margin-top:10px;font-size:11pt;white-space:wrap}.commentBubble>span{color:#757575;font-size:10pt;margin:2px 16px}.commentBubble.right>span{text-align:right}.commentBubble.left>span{text-align:left}input{border:1px solid #dddddd;border-radius:4px;padding:8px 16px;font-size:11pt}input[type=text]{flex-grow:1}input[type=submit]{text-transform:uppercase;background:white;font-size:10pt;margin-top:8px;width:132px;display:flex;align-self:end}input[type=submit]:hover,input[type=submit]:active{background:#dddddd}button#attach-file{text-transform:uppercase;background:white;font-size:10pt;margin-top:8px;align-self:end;border:1px solid #dddddd;border-radius:4px;width:34px;height:34px;display:flex;flex-direction:column;justify-content:center;margin-right:8px}button#attach-file:hover,button#attach-file:active{background:#dddddd}button#attach-file *{margin-top:3px}fieldset{border:none;padding:0;margin:0;display:flex;flex-direction:row;justify-content:end}button.linkButton{border:none;background:transparent;color:#3680bd;cursor:pointer;padding:0}.commentBubble .bubbleHeader{display:flex;justify-content:space-between;align-items:center;margin-bottom:4px}.commentName{color:black;font-size:10pt}.commentContext{color:gray;font-size:10pt}.commentBubble .bubbleFooter{display:flex;padding:0 10px;font-size:9pt;color:#757575}.comment-date{margin-left:auto}.editing-sub-text{margin-top:5px;font-size:9pt;color:#757575}.flex-right-align{margin-left:auto}.cancel-edit-container{position:relative;width:100%;display:flex;justify-content:end}.cancel-edit-button{color:whitesmoke;background-color:gray;border-radius:10px;height:20px;width:20px;text-align:center;position:absolute;margin-top:6px;margin-right:20px}.clickable,.clickable>*{cursor:pointer}.deleted-comment{background:white !important;color:gray;border:1px solid lightgray}.commentDivider{border:none;border-top:1px solid #ccc;margin:10px 0}.errorBubble{position:relative;font-size:14px;line-height:16.408px;font-weight:normal;width:100%;font-family:\"Roboto\", sans-serif;color:#dc0000;display:flex;align-content:center;align-items:center;justify-items:center;margin-top:4px}.errorBubble:not(.visible){display:none}.errorBubble span{color:#dc0000;font-size:16px;margin-right:4px}.material-symbols-rounded{font-family:\"Material Symbols Rounded\", sans-serif;font-weight:400;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;color:#9e9e9e}.comment-textarea{resize:vertical;height:var(--textarea-max-height, 90px);width:100%;padding:10px 12px;box-sizing:border-box;border:1px solid #ccc;border-radius:6px;font-size:14px;line-height:1.4;font-family:\"Roboto\", sans-serif}";
|
|
5
5
|
|
|
6
6
|
const TttxComments = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
7
7
|
constructor() {
|
|
@@ -140,6 +140,8 @@ const TttxComments = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
140
140
|
}
|
|
141
141
|
}
|
|
142
142
|
handleBlur(event) {
|
|
143
|
+
if (this.editingComment)
|
|
144
|
+
return; // don't save drafts for edits
|
|
143
145
|
const target = event.target;
|
|
144
146
|
this.blurChanged.emit(target.value);
|
|
145
147
|
}
|
|
@@ -147,6 +149,7 @@ const TttxComments = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
147
149
|
this.editingComment = comment;
|
|
148
150
|
this.textInput.value = this.editingComment.text;
|
|
149
151
|
this._saveButtonText = 'Update comment';
|
|
152
|
+
this.scrollToBottom();
|
|
150
153
|
}
|
|
151
154
|
onFinishEdit() {
|
|
152
155
|
this.editingComment = undefined;
|
|
@@ -158,13 +161,13 @@ const TttxComments = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
158
161
|
this.requestCommentRemoval.emit(comment);
|
|
159
162
|
}
|
|
160
163
|
render() {
|
|
161
|
-
return (h(Host, null, h("article", { id: "comment-container" }, h("section", { id: "comment-bubbles-section" }, h("div", { id: "scroll-container", ref: el => this._scrollContainer = el }, this.renderCommentBubble())), h("section", { id: "input-section" }, h("form", { onSubmit: this.onFormSubmit.bind(this) }, h("
|
|
164
|
+
return (h(Host, null, h("article", { id: "comment-container" }, h("section", { id: "comment-bubbles-section" }, h("div", { id: "scroll-container", ref: el => this._scrollContainer = el }, this.renderCommentBubble())), h("section", { id: "input-section" }, 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_48", { color: "black", icon: "attach_file" }))), h("input", { class: (this.disableFile ? 'flex-right-align ' : '') + 'clickable', style: { width: 'fit-content' }, type: "submit", value: this._saveButtonText })))))));
|
|
162
165
|
}
|
|
163
166
|
static get watchers() { return {
|
|
164
167
|
"comments": ["onCommentsChange"]
|
|
165
168
|
}; }
|
|
166
169
|
static get style() { return tttxCommentsCss; }
|
|
167
|
-
}, [1, "tttx-
|
|
170
|
+
}, [1, "tttx-comments_1_9_48", {
|
|
168
171
|
"currentuser": [1],
|
|
169
172
|
"comments": [1],
|
|
170
173
|
"disableFile": [4, "disable-file"],
|
|
@@ -195,14 +198,14 @@ function defineCustomElement$1() {
|
|
|
195
198
|
if (typeof customElements === "undefined") {
|
|
196
199
|
return;
|
|
197
200
|
}
|
|
198
|
-
const components = ["tttx-
|
|
201
|
+
const components = ["tttx-comments_1_9_48", "tttx-icon_1_9_48"];
|
|
199
202
|
components.forEach(tagName => { switch (tagName) {
|
|
200
|
-
case "tttx-
|
|
203
|
+
case "tttx-comments_1_9_48":
|
|
201
204
|
if (!customElements.get(tagName)) {
|
|
202
205
|
customElements.define(tagName, TttxComments);
|
|
203
206
|
}
|
|
204
207
|
break;
|
|
205
|
-
case "tttx-
|
|
208
|
+
case "tttx-icon_1_9_48":
|
|
206
209
|
if (!customElements.get(tagName)) {
|
|
207
210
|
defineCustomElement$2();
|
|
208
211
|
}
|
|
@@ -210,7 +213,7 @@ function defineCustomElement$1() {
|
|
|
210
213
|
} });
|
|
211
214
|
}
|
|
212
215
|
|
|
213
|
-
const
|
|
216
|
+
const TttxComments_1_9_48 = TttxComments;
|
|
214
217
|
const defineCustomElement = defineCustomElement$1;
|
|
215
218
|
|
|
216
|
-
export {
|
|
219
|
+
export { TttxComments_1_9_48, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface TttxDataPattern_1_9_48 extends Components.TttxDataPattern_1_9_48, HTMLElement {}
|
|
4
|
+
export const TttxDataPattern_1_9_48: {
|
|
5
|
+
prototype: TttxDataPattern_1_9_48;
|
|
6
|
+
new (): TttxDataPattern_1_9_48;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -24,13 +24,13 @@ const TttxDataPattern = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
24
24
|
this.addbutton = false;
|
|
25
25
|
}
|
|
26
26
|
render() {
|
|
27
|
-
return (h(Host, null, h("div", { class: "container" }, h("tttx-
|
|
28
|
-
h("tttx-
|
|
29
|
-
h("tttx-
|
|
30
|
-
h("tttx-
|
|
27
|
+
return (h(Host, null, h("div", { class: "container" }, h("tttx-toolbar_1_9_48", { border: true }, h("span", { slot: "before" }, this.sorterOptions &&
|
|
28
|
+
h("tttx-sorter_1_9_48", { sorterKey: "data-pattern-list", fieldOptionsData: this.sorterOptions, defaultOption: this.defaultSortOption }), this.filterOptions &&
|
|
29
|
+
h("tttx-filter_1_9_48", { "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_48", { class: "qualifications-filter", showerrorbubble: false, inputicon: "search", inline: true, required: true, placeholder: this.searchplaceholder, type: "text", maxlength: 30 }))), h("tttx-toolbar_1_9_48", { border: false }, h("span", { slot: "before" }, this.addbutton &&
|
|
30
|
+
h("tttx-button_1_9_48", { design: "primary", icon: "add" }, this.addbuttonlabel))), h("tttx-list_1_9_48", { data: this.data }))));
|
|
31
31
|
}
|
|
32
32
|
static get style() { return tttxDataPatternCss; }
|
|
33
|
-
}, [1, "tttx-data-
|
|
33
|
+
}, [1, "tttx-data-pattern_1_9_48", {
|
|
34
34
|
"data": [1],
|
|
35
35
|
"sorterOptions": [1, "sorter-options"],
|
|
36
36
|
"filterOptions": [1, "filter-options"],
|
|
@@ -44,44 +44,44 @@ function defineCustomElement$1() {
|
|
|
44
44
|
if (typeof customElements === "undefined") {
|
|
45
45
|
return;
|
|
46
46
|
}
|
|
47
|
-
const components = ["tttx-data-
|
|
47
|
+
const components = ["tttx-data-pattern_1_9_48", "tttx-button_1_9_48", "tttx-filter_1_9_48", "tttx-icon_1_9_48", "tttx-list_1_9_48", "tttx-sorter_1_9_48", "tttx-standalone-input_1_9_48", "tttx-toolbar_1_9_48"];
|
|
48
48
|
components.forEach(tagName => { switch (tagName) {
|
|
49
|
-
case "tttx-data-
|
|
49
|
+
case "tttx-data-pattern_1_9_48":
|
|
50
50
|
if (!customElements.get(tagName)) {
|
|
51
51
|
customElements.define(tagName, TttxDataPattern);
|
|
52
52
|
}
|
|
53
53
|
break;
|
|
54
|
-
case "tttx-
|
|
54
|
+
case "tttx-button_1_9_48":
|
|
55
55
|
if (!customElements.get(tagName)) {
|
|
56
56
|
defineCustomElement$8();
|
|
57
57
|
}
|
|
58
58
|
break;
|
|
59
|
-
case "tttx-
|
|
59
|
+
case "tttx-filter_1_9_48":
|
|
60
60
|
if (!customElements.get(tagName)) {
|
|
61
61
|
defineCustomElement$7();
|
|
62
62
|
}
|
|
63
63
|
break;
|
|
64
|
-
case "tttx-
|
|
64
|
+
case "tttx-icon_1_9_48":
|
|
65
65
|
if (!customElements.get(tagName)) {
|
|
66
66
|
defineCustomElement$6();
|
|
67
67
|
}
|
|
68
68
|
break;
|
|
69
|
-
case "tttx-
|
|
69
|
+
case "tttx-list_1_9_48":
|
|
70
70
|
if (!customElements.get(tagName)) {
|
|
71
71
|
defineCustomElement$5();
|
|
72
72
|
}
|
|
73
73
|
break;
|
|
74
|
-
case "tttx-
|
|
74
|
+
case "tttx-sorter_1_9_48":
|
|
75
75
|
if (!customElements.get(tagName)) {
|
|
76
76
|
defineCustomElement$4();
|
|
77
77
|
}
|
|
78
78
|
break;
|
|
79
|
-
case "tttx-standalone-
|
|
79
|
+
case "tttx-standalone-input_1_9_48":
|
|
80
80
|
if (!customElements.get(tagName)) {
|
|
81
81
|
defineCustomElement$3();
|
|
82
82
|
}
|
|
83
83
|
break;
|
|
84
|
-
case "tttx-
|
|
84
|
+
case "tttx-toolbar_1_9_48":
|
|
85
85
|
if (!customElements.get(tagName)) {
|
|
86
86
|
defineCustomElement$2();
|
|
87
87
|
}
|
|
@@ -89,7 +89,7 @@ function defineCustomElement$1() {
|
|
|
89
89
|
} });
|
|
90
90
|
}
|
|
91
91
|
|
|
92
|
-
const
|
|
92
|
+
const TttxDataPattern_1_9_48 = TttxDataPattern;
|
|
93
93
|
const defineCustomElement = defineCustomElement$1;
|
|
94
94
|
|
|
95
|
-
export {
|
|
95
|
+
export { TttxDataPattern_1_9_48, defineCustomElement };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { Components, JSX } from "../types/components";
|
|
2
2
|
|
|
3
|
-
interface
|
|
4
|
-
export const
|
|
5
|
-
prototype:
|
|
6
|
-
new ():
|
|
3
|
+
interface TttxDatacard_1_9_48 extends Components.TttxDatacard_1_9_48, HTMLElement {}
|
|
4
|
+
export const TttxDatacard_1_9_48: {
|
|
5
|
+
prototype: TttxDatacard_1_9_48;
|
|
6
|
+
new (): TttxDatacard_1_9_48;
|
|
7
7
|
};
|
|
8
8
|
/**
|
|
9
9
|
* Used to define this component and all nested components recursively.
|
|
@@ -32,23 +32,23 @@ const TttxDatacard = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
32
32
|
renderIcon(iconstyle) {
|
|
33
33
|
switch (iconstyle) {
|
|
34
34
|
case 'up':
|
|
35
|
-
return h("tttx-
|
|
35
|
+
return h("tttx-icon_1_9_48", { size: 24, icon: "arrow_circle_up", color: "green" });
|
|
36
36
|
case 'down':
|
|
37
|
-
return h("tttx-
|
|
37
|
+
return h("tttx-icon_1_9_48", { size: 24, icon: "arrow_circle_down", color: "darkred" });
|
|
38
38
|
default:
|
|
39
39
|
return null;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
render() {
|
|
43
43
|
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' &&
|
|
44
|
-
h("tttx-
|
|
44
|
+
h("tttx-graph_1_9_48", { 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' &&
|
|
45
45
|
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)))))));
|
|
46
46
|
}
|
|
47
47
|
static get watchers() { return {
|
|
48
48
|
"chartConfig": ["chartConfigChanged"]
|
|
49
49
|
}; }
|
|
50
50
|
static get style() { return tttxDatacardCss; }
|
|
51
|
-
}, [1, "tttx-
|
|
51
|
+
}, [1, "tttx-datacard_1_9_48", {
|
|
52
52
|
"cardTitle": [1, "card-title"],
|
|
53
53
|
"leftData": [1, "left-data"],
|
|
54
54
|
"rightData": [1, "right-data"],
|
|
@@ -63,19 +63,19 @@ function defineCustomElement$1() {
|
|
|
63
63
|
if (typeof customElements === "undefined") {
|
|
64
64
|
return;
|
|
65
65
|
}
|
|
66
|
-
const components = ["tttx-
|
|
66
|
+
const components = ["tttx-datacard_1_9_48", "tttx-graph_1_9_48", "tttx-icon_1_9_48"];
|
|
67
67
|
components.forEach(tagName => { switch (tagName) {
|
|
68
|
-
case "tttx-
|
|
68
|
+
case "tttx-datacard_1_9_48":
|
|
69
69
|
if (!customElements.get(tagName)) {
|
|
70
70
|
customElements.define(tagName, TttxDatacard);
|
|
71
71
|
}
|
|
72
72
|
break;
|
|
73
|
-
case "tttx-
|
|
73
|
+
case "tttx-graph_1_9_48":
|
|
74
74
|
if (!customElements.get(tagName)) {
|
|
75
75
|
defineCustomElement$3();
|
|
76
76
|
}
|
|
77
77
|
break;
|
|
78
|
-
case "tttx-
|
|
78
|
+
case "tttx-icon_1_9_48":
|
|
79
79
|
if (!customElements.get(tagName)) {
|
|
80
80
|
defineCustomElement$2();
|
|
81
81
|
}
|
|
@@ -83,7 +83,7 @@ function defineCustomElement$1() {
|
|
|
83
83
|
} });
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
const
|
|
86
|
+
const TttxDatacard_1_9_48 = TttxDatacard;
|
|
87
87
|
const defineCustomElement = defineCustomElement$1;
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { TttxDatacard_1_9_48, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface TttxDialogBox_1_9_48 extends Components.TttxDialogBox_1_9_48, HTMLElement {}
|
|
4
|
+
export const TttxDialogBox_1_9_48: {
|
|
5
|
+
prototype: TttxDialogBox_1_9_48;
|
|
6
|
+
new (): TttxDialogBox_1_9_48;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|