@3t-transform/threeteeui 1.8.2 → 1.8.4
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-button_1_8_2.cjs.entry.js → tttx-button_1_8_4.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-checkbox-group-caption_1_8_2.cjs.entry.js → tttx-checkbox-group-caption_1_8_4.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox-group-heading_1_8_2.cjs.entry.js → tttx-checkbox-group-heading_1_8_4.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox-group_1_8_2.cjs.entry.js → tttx-checkbox-group_1_8_4.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox_1_8_2.cjs.entry.js → tttx-checkbox_1_8_4.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-comments_1_8_2.cjs.entry.js → tttx-comments_1_8_4.cjs.entry.js} +40 -4
- package/dist/cjs/{tttx-data-pattern_1_8_2.cjs.entry.js → tttx-data-pattern_1_8_4.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-datacard_1_8_2.cjs.entry.js → tttx-datacard_1_8_4.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-dialog-box_1_8_2.cjs.entry.js → tttx-dialog-box_1_8_4.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-dialog_1_8_2.cjs.entry.js → tttx-dialog_1_8_4.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-expander_1_8_2.cjs.entry.js → tttx-expander_1_8_4.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-filter_1_8_2_4.cjs.entry.js → tttx-filter_1_8_4_4.cjs.entry.js} +9 -9
- package/dist/cjs/{tttx-form_1_8_2.cjs.entry.js → tttx-form_1_8_4.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-icon_1_8_2.cjs.entry.js → tttx-icon_1_8_4.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-keyvalue-block_1_8_2.cjs.entry.js → tttx-keyvalue-block_1_8_4.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-loading-spinner_1_8_2.cjs.entry.js → tttx-loading-spinner_1_8_4.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-multiselect-box_1_8_2.cjs.entry.js → tttx-multiselect-box_1_8_4.cjs.entry.js} +6 -6
- package/dist/cjs/{tttx-percentage-bar_1_8_2.cjs.entry.js → tttx-percentage-bar_1_8_4.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-qrcode_1_8_2.cjs.entry.js → tttx-qrcode_1_8_4.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-select-box_1_8_2.cjs.entry.js → tttx-select-box_1_8_4.cjs.entry.js} +4 -4
- package/dist/cjs/tttx-standalone-input_1_8_4.cjs.entry.js +94 -0
- package/dist/cjs/tttx-table_1_8_4.cjs.entry.js +41 -0
- package/dist/cjs/{tttx-tabs_1_8_2.cjs.entry.js → tttx-tabs_1_8_4.cjs.entry.js} +4 -4
- package/dist/cjs/{tttx-tag_1_8_2.cjs.entry.js → tttx-tag_1_8_4.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-textarea_1_8_2.cjs.entry.js → tttx-textarea_1_8_4.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-tree-view_1_8_2.cjs.entry.js → tttx-tree-view_1_8_4.cjs.entry.js} +3 -3
- package/dist/cjs/tttx.cjs.js +1 -1
- package/dist/collection/components/atoms/tttx-button/tttx-button.js +2 -2
- package/dist/collection/components/atoms/tttx-button/tttx-button.stories.js +20 -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 +3 -3
- package/dist/collection/components/atoms/tttx-datacard/tttx-datacard.stories.js +5 -5
- 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 +1 -1
- 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-tag/tttx-tag.js +1 -1
- package/dist/collection/components/atoms/tttx-tag/tttx-tag.stories.js +6 -6
- 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 +42 -0
- package/dist/collection/components/molecules/tttx-comments/tttx-comments.js +94 -4
- package/dist/collection/components/molecules/tttx-comments/tttx-comments.stories.js +12 -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 +5 -5
- 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 +6 -6
- package/dist/collection/components/molecules/tttx-multiselect-box/tttx-multiselect-box.stories.js +33 -33
- package/dist/collection/components/molecules/tttx-select-box/tttx-select-box.js +4 -4
- package/dist/collection/components/molecules/tttx-select-box/tttx-select-box.stories.js +18 -18
- 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.css +5 -0
- package/dist/collection/components/molecules/tttx-table/tttx-table.js +29 -6
- package/dist/collection/components/molecules/tttx-table/tttx-table.stories.js +49 -7
- 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 +2 -2
- package/dist/collection/components/organisms/tttx-data-pattern/tttx-data-pattern.stories.js +5 -5
- package/dist/components/index.d.ts +29 -29
- package/dist/components/index.js +29 -29
- package/dist/components/tttx-button.js +5 -5
- package/dist/components/{tttx-button_1_8_2.d.ts → tttx-button_1_8_4.d.ts} +4 -4
- package/dist/components/{tttx-button_1_8_2.js → tttx-button_1_8_4.js} +2 -2
- package/dist/components/tttx-checkbox-group-caption_1_8_4.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group-caption_1_8_2.js → tttx-checkbox-group-caption_1_8_4.js} +5 -5
- package/dist/components/tttx-checkbox-group-heading_1_8_4.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group-heading_1_8_2.js → tttx-checkbox-group-heading_1_8_4.js} +5 -5
- package/dist/components/tttx-checkbox-group_1_8_4.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group_1_8_2.js → tttx-checkbox-group_1_8_4.js} +5 -5
- package/dist/components/{tttx-datacard_1_8_2.d.ts → tttx-checkbox_1_8_4.d.ts} +4 -4
- package/dist/components/{tttx-checkbox_1_8_2.js → tttx-checkbox_1_8_4.js} +7 -7
- package/dist/components/{tttx-checkbox_1_8_2.d.ts → tttx-comments_1_8_4.d.ts} +4 -4
- package/dist/components/{tttx-comments_1_8_2.js → tttx-comments_1_8_4.js} +52 -9
- package/dist/components/tttx-data-pattern_1_8_4.d.ts +11 -0
- package/dist/components/{tttx-data-pattern_1_8_2.js → tttx-data-pattern_1_8_4.js} +13 -13
- package/dist/components/{tttx-comments_1_8_2.d.ts → tttx-datacard_1_8_4.d.ts} +4 -4
- package/dist/components/{tttx-datacard_1_8_2.js → tttx-datacard_1_8_4.js} +8 -8
- package/dist/components/tttx-dialog-box_1_8_4.d.ts +11 -0
- package/dist/components/{tttx-dialog-box_1_8_2.js → tttx-dialog-box_1_8_4.js} +9 -9
- package/dist/components/{tttx-dialog_1_8_2.d.ts → tttx-dialog_1_8_4.d.ts} +4 -4
- package/dist/components/{tttx-dialog_1_8_2.js → tttx-dialog_1_8_4.js} +8 -8
- package/dist/components/tttx-expander_1_8_4.d.ts +11 -0
- package/dist/components/{tttx-expander_1_8_2.js → tttx-expander_1_8_4.js} +7 -7
- package/dist/components/tttx-filter.js +6 -6
- package/dist/components/{tttx-filter_1_8_2.d.ts → tttx-filter_1_8_4.d.ts} +4 -4
- package/dist/components/{tttx-filter_1_8_2.js → tttx-filter_1_8_4.js} +2 -2
- package/dist/components/{tttx-icon_1_8_2.d.ts → tttx-form_1_8_4.d.ts} +4 -4
- package/dist/components/{tttx-form_1_8_2.js → tttx-form_1_8_4.js} +9 -9
- package/dist/components/tttx-icon.js +3 -3
- package/dist/components/{tttx-list_1_8_2.d.ts → tttx-icon_1_8_4.d.ts} +4 -4
- package/dist/components/{tttx-icon_1_8_2.js → tttx-icon_1_8_4.js} +2 -2
- package/dist/components/tttx-keyvalue-block_1_8_4.d.ts +11 -0
- package/dist/components/{tttx-keyvalue-block_1_8_2.js → tttx-keyvalue-block_1_8_4.js} +5 -5
- package/dist/components/tttx-list.js +6 -6
- package/dist/components/{tttx-tabs_1_8_2.d.ts → tttx-list_1_8_4.d.ts} +4 -4
- package/dist/components/{tttx-list_1_8_2.js → tttx-list_1_8_4.js} +2 -2
- package/dist/components/tttx-loading-spinner_1_8_4.d.ts +11 -0
- package/dist/components/{tttx-loading-spinner_1_8_2.js → tttx-loading-spinner_1_8_4.js} +5 -5
- package/dist/components/tttx-multiselect-box_1_8_4.d.ts +11 -0
- package/dist/components/{tttx-multiselect-box_1_8_2.js → tttx-multiselect-box_1_8_4.js} +13 -13
- package/dist/components/tttx-percentage-bar_1_8_4.d.ts +11 -0
- package/dist/components/{tttx-percentage-bar_1_8_2.js → tttx-percentage-bar_1_8_4.js} +6 -6
- package/dist/components/{tttx-qrcode_1_8_2.d.ts → tttx-qrcode_1_8_4.d.ts} +4 -4
- package/dist/components/{tttx-qrcode_1_8_2.js → tttx-qrcode_1_8_4.js} +5 -5
- package/dist/components/tttx-select-box.js +8 -8
- package/dist/components/tttx-select-box_1_8_4.d.ts +11 -0
- package/dist/components/{tttx-select-box_1_8_2.js → tttx-select-box_1_8_4.js} +2 -2
- package/dist/components/tttx-sorter.js +5 -5
- package/dist/components/tttx-sorter_1_8_4.d.ts +11 -0
- package/dist/components/{tttx-sorter_1_8_2.js → tttx-sorter_1_8_4.js} +2 -2
- package/dist/components/tttx-standalone-input.js +6 -6
- package/dist/components/tttx-standalone-input_1_8_4.d.ts +11 -0
- package/dist/components/{tttx-standalone-input_1_8_2.js → tttx-standalone-input_1_8_4.js} +2 -2
- package/dist/components/{tttx-table_1_8_2.d.ts → tttx-table_1_8_4.d.ts} +4 -4
- package/dist/components/tttx-table_1_8_4.js +60 -0
- package/dist/components/{tttx-form_1_8_2.d.ts → tttx-tabs_1_8_4.d.ts} +4 -4
- package/dist/components/{tttx-tabs_1_8_2.js → tttx-tabs_1_8_4.js} +9 -9
- package/dist/components/{tttx-tag_1_8_2.d.ts → tttx-tag_1_8_4.d.ts} +4 -4
- package/dist/components/{tttx-tag_1_8_2.js → tttx-tag_1_8_4.js} +5 -5
- package/dist/components/tttx-textarea_1_8_4.d.ts +11 -0
- package/dist/components/{tttx-textarea_1_8_2.js → tttx-textarea_1_8_4.js} +6 -6
- package/dist/components/tttx-toolbar.js +3 -3
- package/dist/components/{tttx-toolbar_1_8_2.d.ts → tttx-toolbar_1_8_4.d.ts} +4 -4
- package/dist/components/{tttx-toolbar_1_8_2.js → tttx-toolbar_1_8_4.js} +2 -2
- package/dist/components/tttx-tree-view_1_8_4.d.ts +11 -0
- package/dist/components/{tttx-tree-view_1_8_2.js → tttx-tree-view_1_8_4.js} +9 -9
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{tttx-button_1_8_2.entry.js → tttx-button_1_8_4.entry.js} +2 -2
- package/dist/esm/{tttx-checkbox-group-caption_1_8_2.entry.js → tttx-checkbox-group-caption_1_8_4.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox-group-heading_1_8_2.entry.js → tttx-checkbox-group-heading_1_8_4.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox-group_1_8_2.entry.js → tttx-checkbox-group_1_8_4.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox_1_8_2.entry.js → tttx-checkbox_1_8_4.entry.js} +2 -2
- package/dist/esm/{tttx-comments_1_8_2.entry.js → tttx-comments_1_8_4.entry.js} +40 -4
- package/dist/esm/{tttx-data-pattern_1_8_2.entry.js → tttx-data-pattern_1_8_4.entry.js} +2 -2
- package/dist/esm/{tttx-datacard_1_8_2.entry.js → tttx-datacard_1_8_4.entry.js} +3 -3
- package/dist/esm/{tttx-dialog-box_1_8_2.entry.js → tttx-dialog-box_1_8_4.entry.js} +3 -3
- package/dist/esm/{tttx-dialog_1_8_2.entry.js → tttx-dialog_1_8_4.entry.js} +2 -2
- package/dist/esm/{tttx-expander_1_8_2.entry.js → tttx-expander_1_8_4.entry.js} +2 -2
- package/dist/esm/{tttx-filter_1_8_2_4.entry.js → tttx-filter_1_8_4_4.entry.js} +6 -6
- package/dist/esm/{tttx-form_1_8_2.entry.js → tttx-form_1_8_4.entry.js} +2 -2
- package/dist/esm/{tttx-icon_1_8_2.entry.js → tttx-icon_1_8_4.entry.js} +1 -1
- package/dist/esm/{tttx-keyvalue-block_1_8_2.entry.js → tttx-keyvalue-block_1_8_4.entry.js} +1 -1
- package/dist/esm/{tttx-loading-spinner_1_8_2.entry.js → tttx-loading-spinner_1_8_4.entry.js} +1 -1
- package/dist/esm/{tttx-multiselect-box_1_8_2.entry.js → tttx-multiselect-box_1_8_4.entry.js} +6 -6
- package/dist/esm/{tttx-percentage-bar_1_8_2.entry.js → tttx-percentage-bar_1_8_4.entry.js} +2 -2
- package/dist/esm/{tttx-qrcode_1_8_2.entry.js → tttx-qrcode_1_8_4.entry.js} +1 -1
- package/dist/esm/{tttx-select-box_1_8_2.entry.js → tttx-select-box_1_8_4.entry.js} +4 -4
- package/dist/esm/tttx-standalone-input_1_8_4.entry.js +90 -0
- package/dist/esm/tttx-table_1_8_4.entry.js +37 -0
- package/dist/esm/{tttx-tabs_1_8_2.entry.js → tttx-tabs_1_8_4.entry.js} +4 -4
- package/dist/esm/{tttx-tag_1_8_2.entry.js → tttx-tag_1_8_4.entry.js} +1 -1
- package/dist/esm/{tttx-textarea_1_8_2.entry.js → tttx-textarea_1_8_4.entry.js} +2 -2
- package/dist/esm/{tttx-tree-view_1_8_2.entry.js → tttx-tree-view_1_8_4.entry.js} +3 -3
- package/dist/esm/tttx.js +1 -1
- package/dist/tttx/p-0e515960.entry.js +1 -1
- package/dist/tttx/p-129893f7.entry.js +1 -1
- package/dist/tttx/p-1e5ff5f8.entry.js +1 -1
- package/dist/tttx/p-23f45005.entry.js +1 -1
- package/dist/tttx/p-33754ad8.entry.js +1 -0
- package/dist/tttx/p-533499ec.entry.js +1 -1
- package/dist/tttx/p-56c8c353.entry.js +1 -1
- package/dist/tttx/p-59c7b049.entry.js +1 -1
- package/dist/tttx/p-63ad6fb7.entry.js +1 -1
- package/dist/tttx/p-6b1c7a21.entry.js +1 -1
- package/dist/tttx/p-796f699a.entry.js +1 -1
- package/dist/tttx/p-884f37d3.entry.js +1 -1
- package/dist/tttx/p-8b0b95b7.entry.js +1 -1
- package/dist/tttx/p-9434561e.entry.js +1 -1
- package/dist/tttx/p-983d63ff.entry.js +1 -1
- package/dist/tttx/p-a01e679a.entry.js +1 -1
- package/dist/tttx/p-a8e76e78.entry.js +1 -1
- package/dist/tttx/p-b7347352.entry.js +1 -1
- package/dist/tttx/p-bae7f239.entry.js +1 -0
- package/dist/tttx/p-c08a54f9.entry.js +1 -1
- package/dist/tttx/p-c170e3b8.entry.js +1 -1
- package/dist/tttx/p-ddad380e.entry.js +1 -1
- package/dist/tttx/p-e5259a38.entry.js +1 -1
- package/dist/tttx/p-ee358ce4.entry.js +1 -1
- package/dist/tttx/p-f374e293.entry.js +1 -1
- package/dist/tttx/p-f4db1cf2.entry.js +1 -1
- package/dist/tttx/tttx.esm.js +1 -1
- package/dist/types/components/molecules/tttx-comments/tttx-comments.d.ts +17 -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-table/tttx-table.d.ts +1 -0
- package/dist/types/components/molecules/tttx-textarea/tttx-textarea.d.ts +2 -2
- package/dist/types/components.d.ts +345 -340
- package/package.json +1 -1
- package/dist/cjs/tttx-standalone-input_1_8_2.cjs.entry.js +0 -94
- package/dist/cjs/tttx-table_1_8_2.cjs.entry.js +0 -36
- package/dist/components/tttx-checkbox-group-caption_1_8_2.d.ts +0 -11
- package/dist/components/tttx-checkbox-group-heading_1_8_2.d.ts +0 -11
- package/dist/components/tttx-checkbox-group_1_8_2.d.ts +0 -11
- package/dist/components/tttx-data-pattern_1_8_2.d.ts +0 -11
- package/dist/components/tttx-dialog-box_1_8_2.d.ts +0 -11
- package/dist/components/tttx-expander_1_8_2.d.ts +0 -11
- package/dist/components/tttx-keyvalue-block_1_8_2.d.ts +0 -11
- package/dist/components/tttx-loading-spinner_1_8_2.d.ts +0 -11
- package/dist/components/tttx-multiselect-box_1_8_2.d.ts +0 -11
- package/dist/components/tttx-percentage-bar_1_8_2.d.ts +0 -11
- package/dist/components/tttx-select-box_1_8_2.d.ts +0 -11
- package/dist/components/tttx-sorter_1_8_2.d.ts +0 -11
- package/dist/components/tttx-standalone-input_1_8_2.d.ts +0 -11
- package/dist/components/tttx-table_1_8_2.js +0 -55
- package/dist/components/tttx-textarea_1_8_2.d.ts +0 -11
- package/dist/components/tttx-tree-view_1_8_2.d.ts +0 -11
- package/dist/esm/tttx-standalone-input_1_8_2.entry.js +0 -90
- package/dist/esm/tttx-table_1_8_2.entry.js +0 -32
- package/dist/tttx/p-174f54ab.entry.js +0 -1
- package/dist/tttx/p-765ecce5.entry.js +0 -1
|
@@ -8,7 +8,7 @@ export default {
|
|
|
8
8
|
},
|
|
9
9
|
};
|
|
10
10
|
const Default = ({ data, sorterOptions, filterOptions }) => `
|
|
11
|
-
<tttx-data-
|
|
11
|
+
<tttx-data-pattern_1_8_4 id="datapatternlist"></tttx-data-pattern_1_8_4>
|
|
12
12
|
<script>
|
|
13
13
|
const element = document.getElementById('datapatternlist');
|
|
14
14
|
element.data = ${JSON.stringify(data)};
|
|
@@ -19,10 +19,10 @@ const Default = ({ data, sorterOptions, filterOptions }) => `
|
|
|
19
19
|
export const WIPDefaultDataPattern = Default.bind({});
|
|
20
20
|
WIPDefaultDataPattern.args = {
|
|
21
21
|
data: [
|
|
22
|
-
{ icon: 'chevron_right', element: '<span><tttx-
|
|
23
|
-
{ icon: 'chevron_right', element: '<span><tttx-
|
|
24
|
-
{ icon: 'chevron_right', element: '<span><tttx-
|
|
25
|
-
{ icon: 'chevron_right', element: '<span><tttx-
|
|
22
|
+
{ icon: 'chevron_right', element: '<span><tttx-icon_1_8_4 icon="egg" /></span> Demulon 1,000,000' },
|
|
23
|
+
{ icon: 'chevron_right', element: '<span><tttx-icon_1_8_4 icon="egg" color="red" /></span> Patrick' },
|
|
24
|
+
{ icon: 'chevron_right', element: '<span><tttx-icon_1_8_4 icon="add" /></span> Lee' },
|
|
25
|
+
{ icon: 'chevron_right', element: '<span><tttx-icon_1_8_4 icon="egg" /></span> Ben' },
|
|
26
26
|
],
|
|
27
27
|
sorterOptions: {
|
|
28
28
|
sorterOptions: [{ optionLabel: 'Name' }, { optionLabel: 'Age' }],
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
/* tttx custom elements */
|
|
2
|
-
export { TttxButton as
|
|
3
|
-
export { TttxCheckboxGroupCaption as
|
|
4
|
-
export { TttxCheckboxGroupHeading as
|
|
5
|
-
export { TttxCheckboxGroup as
|
|
6
|
-
export { TttxCheckbox as
|
|
7
|
-
export { TttxComments as
|
|
8
|
-
export { TttxDataPattern as
|
|
9
|
-
export { TttxDatacard as
|
|
10
|
-
export { TttxDialogBox as
|
|
11
|
-
export { TttxDialog as
|
|
12
|
-
export { TttxExpander as
|
|
13
|
-
export { TttxFilter as
|
|
14
|
-
export { TttxForm as
|
|
15
|
-
export { TttxIcon as
|
|
16
|
-
export { TttxKeyvalueBlock as
|
|
17
|
-
export { TttxList as
|
|
18
|
-
export { TttxLoadingSpinner as
|
|
19
|
-
export { TttxMultiselectBox as
|
|
20
|
-
export { TttxPercentageBar as
|
|
21
|
-
export { TttxQrCode as
|
|
22
|
-
export { TttxSelectBox as
|
|
23
|
-
export { TttxSorter as
|
|
24
|
-
export { TttxInput as
|
|
25
|
-
export { TttxTable as
|
|
26
|
-
export { TttxTabs as
|
|
27
|
-
export { TttxTag as
|
|
28
|
-
export { TttxTextarea as
|
|
29
|
-
export { TttxToolbar as
|
|
30
|
-
export { TttxTreeView as
|
|
2
|
+
export { TttxButton as TttxButton_1_8_4 } from '../types/components/atoms/tttx-button/tttx-button';
|
|
3
|
+
export { TttxCheckboxGroupCaption as TttxCheckboxGroupCaption_1_8_4 } from '../types/components/molecules/tttx-checkbox-group/components/tttx-checkbox-group-caption';
|
|
4
|
+
export { TttxCheckboxGroupHeading as TttxCheckboxGroupHeading_1_8_4 } from '../types/components/molecules/tttx-checkbox-group/components/tttx-checkbox-group-heading';
|
|
5
|
+
export { TttxCheckboxGroup as TttxCheckboxGroup_1_8_4 } from '../types/components/molecules/tttx-checkbox-group/tttx-checkbox-group';
|
|
6
|
+
export { TttxCheckbox as TttxCheckbox_1_8_4 } from '../types/components/atoms/tttx-checkbox/tttx-checkbox';
|
|
7
|
+
export { TttxComments as TttxComments_1_8_4 } from '../types/components/molecules/tttx-comments/tttx-comments';
|
|
8
|
+
export { TttxDataPattern as TttxDataPattern_1_8_4 } from '../types/components/organisms/tttx-data-pattern/tttx-data-pattern';
|
|
9
|
+
export { TttxDatacard as TttxDatacard_1_8_4 } from '../types/components/atoms/tttx-datacard/tttx-datacard';
|
|
10
|
+
export { TttxDialogBox as TttxDialogBox_1_8_4 } from '../types/components/molecules/tttx-dialog-box/tttx-dialog-box';
|
|
11
|
+
export { TttxDialog as TttxDialog_1_8_4 } from '../types/components/molecules/tttx-dialog/tttx-dialog';
|
|
12
|
+
export { TttxExpander as TttxExpander_1_8_4 } from '../types/components/molecules/tttx-expander/tttx-expander';
|
|
13
|
+
export { TttxFilter as TttxFilter_1_8_4 } from '../types/components/molecules/tttx-filter/tttx-filter';
|
|
14
|
+
export { TttxForm as TttxForm_1_8_4 } from '../types/components/molecules/tttx-form/tttx-form';
|
|
15
|
+
export { TttxIcon as TttxIcon_1_8_4 } from '../types/components/atoms/tttx-icon/tttx-icon';
|
|
16
|
+
export { TttxKeyvalueBlock as TttxKeyvalueBlock_1_8_4 } from '../types/components/atoms/tttx-keyvalue-block/tttx-keyvalue-block';
|
|
17
|
+
export { TttxList as TttxList_1_8_4 } from '../types/components/molecules/tttx-list/tttx-list';
|
|
18
|
+
export { TttxLoadingSpinner as TttxLoadingSpinner_1_8_4 } from '../types/components/atoms/tttx-loading-spinner/tttx-loading-spinner';
|
|
19
|
+
export { TttxMultiselectBox as TttxMultiselectBox_1_8_4 } from '../types/components/molecules/tttx-multiselect-box/tttx-multiselect-box';
|
|
20
|
+
export { TttxPercentageBar as TttxPercentageBar_1_8_4 } from '../types/components/atoms/tttx-percentage-bar/tttx-percentage-bar';
|
|
21
|
+
export { TttxQrCode as TttxQrcode_1_8_4 } from '../types/components/atoms/tttx-qrcode/tttx-qrcode';
|
|
22
|
+
export { TttxSelectBox as TttxSelectBox_1_8_4 } from '../types/components/molecules/tttx-select-box/tttx-select-box';
|
|
23
|
+
export { TttxSorter as TttxSorter_1_8_4 } from '../types/components/molecules/tttx-sorter/tttx-sorter';
|
|
24
|
+
export { TttxInput as TttxStandaloneInput_1_8_4 } from '../types/components/molecules/tttx-standalone-input/tttx-standalone-input';
|
|
25
|
+
export { TttxTable as TttxTable_1_8_4 } from '../types/components/molecules/tttx-table/tttx-table';
|
|
26
|
+
export { TttxTabs as TttxTabs_1_8_4 } from '../types/components/molecules/tttx-tabs/tttx-tabs';
|
|
27
|
+
export { TttxTag as TttxTag_1_8_4 } from '../types/components/atoms/tttx-tag/tttx-tag';
|
|
28
|
+
export { TttxTextarea as TttxTextarea_1_8_4 } from '../types/components/molecules/tttx-textarea/tttx-textarea';
|
|
29
|
+
export { TttxToolbar as TttxToolbar_1_8_4 } from '../types/components/molecules/tttx-toolbar/tttx-toolbar';
|
|
30
|
+
export { TttxTreeView as TttxTreeView_1_8_4 } from '../types/components/molecules/tttx-tree-view/tttx-tree-view';
|
|
31
31
|
|
|
32
32
|
/**
|
|
33
33
|
* Used to manually set the base path where assets can be found.
|
package/dist/components/index.js
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
export { setAssetPath, setNonce, setPlatformOptions } from '@stencil/core/internal/client';
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
5
|
-
export {
|
|
6
|
-
export {
|
|
7
|
-
export {
|
|
8
|
-
export {
|
|
9
|
-
export {
|
|
10
|
-
export {
|
|
11
|
-
export {
|
|
12
|
-
export {
|
|
13
|
-
export {
|
|
14
|
-
export {
|
|
15
|
-
export {
|
|
16
|
-
export {
|
|
17
|
-
export {
|
|
18
|
-
export {
|
|
19
|
-
export {
|
|
20
|
-
export {
|
|
21
|
-
export {
|
|
22
|
-
export {
|
|
23
|
-
export {
|
|
24
|
-
export {
|
|
25
|
-
export {
|
|
26
|
-
export {
|
|
27
|
-
export {
|
|
28
|
-
export {
|
|
29
|
-
export {
|
|
30
|
-
export {
|
|
2
|
+
export { TttxButton_1_8_4, defineCustomElement as defineCustomElementTttxButton_1_8_4 } from './tttx-button_1_8_4.js';
|
|
3
|
+
export { TttxCheckboxGroupCaption_1_8_4, defineCustomElement as defineCustomElementTttxCheckboxGroupCaption_1_8_4 } from './tttx-checkbox-group-caption_1_8_4.js';
|
|
4
|
+
export { TttxCheckboxGroupHeading_1_8_4, defineCustomElement as defineCustomElementTttxCheckboxGroupHeading_1_8_4 } from './tttx-checkbox-group-heading_1_8_4.js';
|
|
5
|
+
export { TttxCheckboxGroup_1_8_4, defineCustomElement as defineCustomElementTttxCheckboxGroup_1_8_4 } from './tttx-checkbox-group_1_8_4.js';
|
|
6
|
+
export { TttxCheckbox_1_8_4, defineCustomElement as defineCustomElementTttxCheckbox_1_8_4 } from './tttx-checkbox_1_8_4.js';
|
|
7
|
+
export { TttxComments_1_8_4, defineCustomElement as defineCustomElementTttxComments_1_8_4 } from './tttx-comments_1_8_4.js';
|
|
8
|
+
export { TttxDataPattern_1_8_4, defineCustomElement as defineCustomElementTttxDataPattern_1_8_4 } from './tttx-data-pattern_1_8_4.js';
|
|
9
|
+
export { TttxDatacard_1_8_4, defineCustomElement as defineCustomElementTttxDatacard_1_8_4 } from './tttx-datacard_1_8_4.js';
|
|
10
|
+
export { TttxDialogBox_1_8_4, defineCustomElement as defineCustomElementTttxDialogBox_1_8_4 } from './tttx-dialog-box_1_8_4.js';
|
|
11
|
+
export { TttxDialog_1_8_4, defineCustomElement as defineCustomElementTttxDialog_1_8_4 } from './tttx-dialog_1_8_4.js';
|
|
12
|
+
export { TttxExpander_1_8_4, defineCustomElement as defineCustomElementTttxExpander_1_8_4 } from './tttx-expander_1_8_4.js';
|
|
13
|
+
export { TttxFilter_1_8_4, defineCustomElement as defineCustomElementTttxFilter_1_8_4 } from './tttx-filter_1_8_4.js';
|
|
14
|
+
export { TttxForm_1_8_4, defineCustomElement as defineCustomElementTttxForm_1_8_4 } from './tttx-form_1_8_4.js';
|
|
15
|
+
export { TttxIcon_1_8_4, defineCustomElement as defineCustomElementTttxIcon_1_8_4 } from './tttx-icon_1_8_4.js';
|
|
16
|
+
export { TttxKeyvalueBlock_1_8_4, defineCustomElement as defineCustomElementTttxKeyvalueBlock_1_8_4 } from './tttx-keyvalue-block_1_8_4.js';
|
|
17
|
+
export { TttxList_1_8_4, defineCustomElement as defineCustomElementTttxList_1_8_4 } from './tttx-list_1_8_4.js';
|
|
18
|
+
export { TttxLoadingSpinner_1_8_4, defineCustomElement as defineCustomElementTttxLoadingSpinner_1_8_4 } from './tttx-loading-spinner_1_8_4.js';
|
|
19
|
+
export { TttxMultiselectBox_1_8_4, defineCustomElement as defineCustomElementTttxMultiselectBox_1_8_4 } from './tttx-multiselect-box_1_8_4.js';
|
|
20
|
+
export { TttxPercentageBar_1_8_4, defineCustomElement as defineCustomElementTttxPercentageBar_1_8_4 } from './tttx-percentage-bar_1_8_4.js';
|
|
21
|
+
export { TttxQrcode_1_8_4, defineCustomElement as defineCustomElementTttxQrcode_1_8_4 } from './tttx-qrcode_1_8_4.js';
|
|
22
|
+
export { TttxSelectBox_1_8_4, defineCustomElement as defineCustomElementTttxSelectBox_1_8_4 } from './tttx-select-box_1_8_4.js';
|
|
23
|
+
export { TttxSorter_1_8_4, defineCustomElement as defineCustomElementTttxSorter_1_8_4 } from './tttx-sorter_1_8_4.js';
|
|
24
|
+
export { TttxStandaloneInput_1_8_4, defineCustomElement as defineCustomElementTttxStandaloneInput_1_8_4 } from './tttx-standalone-input_1_8_4.js';
|
|
25
|
+
export { TttxTable_1_8_4, defineCustomElement as defineCustomElementTttxTable_1_8_4 } from './tttx-table_1_8_4.js';
|
|
26
|
+
export { TttxTabs_1_8_4, defineCustomElement as defineCustomElementTttxTabs_1_8_4 } from './tttx-tabs_1_8_4.js';
|
|
27
|
+
export { TttxTag_1_8_4, defineCustomElement as defineCustomElementTttxTag_1_8_4 } from './tttx-tag_1_8_4.js';
|
|
28
|
+
export { TttxTextarea_1_8_4, defineCustomElement as defineCustomElementTttxTextarea_1_8_4 } from './tttx-textarea_1_8_4.js';
|
|
29
|
+
export { TttxToolbar_1_8_4, defineCustomElement as defineCustomElementTttxToolbar_1_8_4 } from './tttx-toolbar_1_8_4.js';
|
|
30
|
+
export { TttxTreeView_1_8_4, defineCustomElement as defineCustomElementTttxTreeView_1_8_4 } from './tttx-tree-view_1_8_4.js';
|
|
@@ -27,10 +27,10 @@ const TttxButton = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
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_8_4", { 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_8_4", { icon: this.icon, color: this._iconcolor }))))));
|
|
31
31
|
}
|
|
32
32
|
static get style() { return tttxButtonCss; }
|
|
33
|
-
}, [1, "tttx-
|
|
33
|
+
}, [1, "tttx-button_1_8_4", {
|
|
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_8_4", "tttx-icon_1_8_4"];
|
|
45
45
|
components.forEach(tagName => { switch (tagName) {
|
|
46
|
-
case "tttx-
|
|
46
|
+
case "tttx-button_1_8_4":
|
|
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_8_4":
|
|
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_8_4 extends Components.TttxButton_1_8_4, HTMLElement {}
|
|
4
|
+
export const TttxButton_1_8_4: {
|
|
5
|
+
prototype: TttxButton_1_8_4;
|
|
6
|
+
new (): TttxButton_1_8_4;
|
|
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_8_4 = TttxButton;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
5
5
|
|
|
6
|
-
export {
|
|
6
|
+
export { TttxButton_1_8_4, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface TttxCheckboxGroupCaption_1_8_4 extends Components.TttxCheckboxGroupCaption_1_8_4, HTMLElement {}
|
|
4
|
+
export const TttxCheckboxGroupCaption_1_8_4: {
|
|
5
|
+
prototype: TttxCheckboxGroupCaption_1_8_4;
|
|
6
|
+
new (): TttxCheckboxGroupCaption_1_8_4;
|
|
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_8_4"]);
|
|
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_8_4"];
|
|
20
20
|
components.forEach(tagName => { switch (tagName) {
|
|
21
|
-
case "tttx-checkbox-group-
|
|
21
|
+
case "tttx-checkbox-group-caption_1_8_4":
|
|
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_8_4 = TttxCheckboxGroupCaption;
|
|
30
30
|
const defineCustomElement = defineCustomElement$1;
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { TttxCheckboxGroupCaption_1_8_4, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface TttxCheckboxGroupHeading_1_8_4 extends Components.TttxCheckboxGroupHeading_1_8_4, HTMLElement {}
|
|
4
|
+
export const TttxCheckboxGroupHeading_1_8_4: {
|
|
5
|
+
prototype: TttxCheckboxGroupHeading_1_8_4;
|
|
6
|
+
new (): TttxCheckboxGroupHeading_1_8_4;
|
|
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_8_4"]);
|
|
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_8_4"];
|
|
20
20
|
components.forEach(tagName => { switch (tagName) {
|
|
21
|
-
case "tttx-checkbox-group-
|
|
21
|
+
case "tttx-checkbox-group-heading_1_8_4":
|
|
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_8_4 = TttxCheckboxGroupHeading;
|
|
30
30
|
const defineCustomElement = defineCustomElement$1;
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { TttxCheckboxGroupHeading_1_8_4, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface TttxCheckboxGroup_1_8_4 extends Components.TttxCheckboxGroup_1_8_4, HTMLElement {}
|
|
4
|
+
export const TttxCheckboxGroup_1_8_4: {
|
|
5
|
+
prototype: TttxCheckboxGroup_1_8_4;
|
|
6
|
+
new (): TttxCheckboxGroup_1_8_4;
|
|
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_8_4"]);
|
|
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_8_4"];
|
|
21
21
|
components.forEach(tagName => { switch (tagName) {
|
|
22
|
-
case "tttx-checkbox-
|
|
22
|
+
case "tttx-checkbox-group_1_8_4":
|
|
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_8_4 = TttxCheckboxGroup;
|
|
31
31
|
const defineCustomElement = defineCustomElement$1;
|
|
32
32
|
|
|
33
|
-
export {
|
|
33
|
+
export { TttxCheckboxGroup_1_8_4, 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_8_4 extends Components.TttxCheckbox_1_8_4, HTMLElement {}
|
|
4
|
+
export const TttxCheckbox_1_8_4: {
|
|
5
|
+
prototype: TttxCheckbox_1_8_4;
|
|
6
|
+
new (): TttxCheckbox_1_8_4;
|
|
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_8_4", { 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_8_4", {
|
|
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_8_4", "tttx-icon_1_8_4"];
|
|
51
51
|
components.forEach(tagName => { switch (tagName) {
|
|
52
|
-
case "tttx-
|
|
52
|
+
case "tttx-checkbox_1_8_4":
|
|
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_8_4":
|
|
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_8_4 = TttxCheckbox;
|
|
66
66
|
const defineCustomElement = defineCustomElement$1;
|
|
67
67
|
|
|
68
|
-
export {
|
|
68
|
+
export { TttxCheckbox_1_8_4, 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_8_4 extends Components.TttxComments_1_8_4, HTMLElement {}
|
|
4
|
+
export const TttxComments_1_8_4: {
|
|
5
|
+
prototype: TttxComments_1_8_4;
|
|
6
|
+
new (): TttxComments_1_8_4;
|
|
7
7
|
};
|
|
8
8
|
/**
|
|
9
9
|
* Used to define this component and all nested components recursively.
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h, Fragment, Host } from '@stencil/core/internal/client';
|
|
2
|
+
import { d as defineCustomElement$2 } from './tttx-icon.js';
|
|
2
3
|
|
|
3
|
-
const tttxCommentsCss = "*{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;border-bottom:solid 1px #dddddd;margin-bottom:8px;padding-bottom:8px;overflow:hidden}#input-section,#input-section form{display:flex;flex-direction:column}#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 16px;margin-bottom:4px;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=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}";
|
|
4
|
+
const tttxCommentsCss = "*{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;border-bottom:solid 1px #dddddd;margin-bottom:8px;padding-bottom:8px;overflow:hidden}#input-section,#input-section form{display:flex;flex-direction:column}#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 16px;margin-bottom:4px;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}";
|
|
4
5
|
|
|
5
6
|
const TttxComments = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
6
7
|
constructor() {
|
|
@@ -8,6 +9,8 @@ const TttxComments = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
8
9
|
this.__registerHost();
|
|
9
10
|
this.__attachShadow();
|
|
10
11
|
this.commentAdded = createEvent(this, "commentAdded", 6);
|
|
12
|
+
this.requestFileUpload = createEvent(this, "requestFileUpload", 6);
|
|
13
|
+
this.requestFileDownload = createEvent(this, "requestFileDownload", 6);
|
|
11
14
|
this.currentuser = undefined;
|
|
12
15
|
this.comments = undefined;
|
|
13
16
|
this._comments = undefined;
|
|
@@ -38,9 +41,23 @@ const TttxComments = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
38
41
|
else {
|
|
39
42
|
bubbleClass += 'left';
|
|
40
43
|
}
|
|
41
|
-
return (h("div", { class: bubbleClass, key: comment.id }, h("div", { class: "bubbleText" }, comment
|
|
44
|
+
return (h("div", { class: bubbleClass, key: comment.id }, h("div", { class: "bubbleText" }, this.renderCommentInner(comment)), h("span", null, (new Date(comment.createdAt).toLocaleString())), h("span", { style: { color: 'black' } }, comment.createdByFullName)));
|
|
42
45
|
})));
|
|
43
46
|
}
|
|
47
|
+
renderCommentInner(comment) {
|
|
48
|
+
if (comment.metadata) {
|
|
49
|
+
switch (comment.metadata.type) {
|
|
50
|
+
case ECommentType.FILE:
|
|
51
|
+
return this.renderFileLink(comment.metadata);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
else {
|
|
55
|
+
return comment.text;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
renderFileLink(metadata) {
|
|
59
|
+
return h("button", { class: "linkButton", type: "button", value: metadata.key, onClick: this.onFileDownloadRequest.bind(this) }, metadata.filename);
|
|
60
|
+
}
|
|
44
61
|
onFormSubmit(event) {
|
|
45
62
|
event.preventDefault();
|
|
46
63
|
const fd = new FormData(event.currentTarget);
|
|
@@ -63,33 +80,59 @@ const TttxComments = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
63
80
|
scrollToBottom() {
|
|
64
81
|
setTimeout(() => this._scrollContainer.scrollTo({ top: this._scrollContainer.scrollHeight }));
|
|
65
82
|
}
|
|
83
|
+
onFileUploadRequest() {
|
|
84
|
+
this.requestFileUpload.emit();
|
|
85
|
+
}
|
|
86
|
+
onFileDownloadRequest(event) {
|
|
87
|
+
this.requestFileDownload.emit(event.currentTarget.value);
|
|
88
|
+
}
|
|
89
|
+
async addDummyComment(text, createdByFullName) {
|
|
90
|
+
const newComment = {
|
|
91
|
+
id: undefined,
|
|
92
|
+
text: text,
|
|
93
|
+
createdAt: +(new Date()),
|
|
94
|
+
createdByFullName: createdByFullName !== null && createdByFullName !== void 0 ? createdByFullName : this.currentuser,
|
|
95
|
+
createdById: undefined
|
|
96
|
+
};
|
|
97
|
+
this._comments = [...this._comments, newComment];
|
|
98
|
+
}
|
|
66
99
|
render() {
|
|
67
|
-
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("input", { type: "text", name: "commentText", required: true, maxlength: "500", placeholder: "Enter comment" }), h("input", { type: "submit", value: "Add Comment" }))))));
|
|
100
|
+
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("fieldset", null, h("input", { type: "text", name: "commentText", required: true, maxlength: "500", placeholder: "Enter comment" })), h("fieldset", null, h("button", { id: "attach-file", type: "button", value: "File", onClick: this.onFileUploadRequest.bind(this) }, h("tttx-icon_1_8_4", { color: "black", icon: "attach_file" })), h("input", { type: "submit", value: "Add Comment" })))))));
|
|
68
101
|
}
|
|
69
102
|
static get watchers() { return {
|
|
70
103
|
"comments": ["onCommentsChange"]
|
|
71
104
|
}; }
|
|
72
105
|
static get style() { return tttxCommentsCss; }
|
|
73
|
-
}, [1, "tttx-
|
|
106
|
+
}, [1, "tttx-comments_1_8_4", {
|
|
74
107
|
"currentuser": [1],
|
|
75
108
|
"comments": [1],
|
|
76
|
-
"_comments": [32]
|
|
109
|
+
"_comments": [32],
|
|
110
|
+
"addDummyComment": [64]
|
|
77
111
|
}]);
|
|
112
|
+
var ECommentType;
|
|
113
|
+
(function (ECommentType) {
|
|
114
|
+
ECommentType[ECommentType["FILE"] = 0] = "FILE";
|
|
115
|
+
})(ECommentType || (ECommentType = {}));
|
|
78
116
|
function defineCustomElement$1() {
|
|
79
117
|
if (typeof customElements === "undefined") {
|
|
80
118
|
return;
|
|
81
119
|
}
|
|
82
|
-
const components = ["tttx-
|
|
120
|
+
const components = ["tttx-comments_1_8_4", "tttx-icon_1_8_4"];
|
|
83
121
|
components.forEach(tagName => { switch (tagName) {
|
|
84
|
-
case "tttx-
|
|
122
|
+
case "tttx-comments_1_8_4":
|
|
85
123
|
if (!customElements.get(tagName)) {
|
|
86
124
|
customElements.define(tagName, TttxComments);
|
|
87
125
|
}
|
|
88
126
|
break;
|
|
127
|
+
case "tttx-icon_1_8_4":
|
|
128
|
+
if (!customElements.get(tagName)) {
|
|
129
|
+
defineCustomElement$2();
|
|
130
|
+
}
|
|
131
|
+
break;
|
|
89
132
|
} });
|
|
90
133
|
}
|
|
91
134
|
|
|
92
|
-
const
|
|
135
|
+
const TttxComments_1_8_4 = TttxComments;
|
|
93
136
|
const defineCustomElement = defineCustomElement$1;
|
|
94
137
|
|
|
95
|
-
export {
|
|
138
|
+
export { TttxComments_1_8_4, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface TttxDataPattern_1_8_4 extends Components.TttxDataPattern_1_8_4, HTMLElement {}
|
|
4
|
+
export const TttxDataPattern_1_8_4: {
|
|
5
|
+
prototype: TttxDataPattern_1_8_4;
|
|
6
|
+
new (): TttxDataPattern_1_8_4;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|