@3t-transform/threeteeui 1.4.0 → 1.4.2
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_4_0.cjs.entry.js → tttx-button_1_4_2.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-checkbox-group-caption_1_4_0.cjs.entry.js → tttx-checkbox-group-caption_1_4_2.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox-group-heading_1_4_0.cjs.entry.js → tttx-checkbox-group-heading_1_4_2.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox-group_1_4_0.cjs.entry.js → tttx-checkbox-group_1_4_2.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-checkbox_1_4_0.cjs.entry.js → tttx-checkbox_1_4_2.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-data-pattern_1_4_0.cjs.entry.js → tttx-data-pattern_1_4_2.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-dialog-box_1_4_0.cjs.entry.js → tttx-dialog-box_1_4_2.cjs.entry.js} +3 -3
- package/dist/cjs/{tttx-dialog_1_4_0.cjs.entry.js → tttx-dialog_1_4_2.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-expander_1_4_0.cjs.entry.js → tttx-expander_1_4_2.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-filter_1_4_0_4.cjs.entry.js → tttx-filter_1_4_2_4.cjs.entry.js} +9 -9
- package/dist/cjs/{tttx-form_1_4_0.cjs.entry.js → tttx-form_1_4_2.cjs.entry.js} +6 -3
- package/dist/cjs/{tttx-icon_1_4_0.cjs.entry.js → tttx-icon_1_4_2.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-keyvalue-block_1_4_0.cjs.entry.js → tttx-keyvalue-block_1_4_2.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-loading-spinner_1_4_0.cjs.entry.js → tttx-loading-spinner_1_4_2.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-multiselect-box_1_4_0.cjs.entry.js → tttx-multiselect-box_1_4_2.cjs.entry.js} +6 -6
- package/dist/cjs/{tttx-percentage-bar_1_4_0.cjs.entry.js → tttx-percentage-bar_1_4_2.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-qrcode_1_4_0.cjs.entry.js → tttx-qrcode_1_4_2.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-select-box_1_4_0.cjs.entry.js → tttx-select-box_1_4_2.cjs.entry.js} +34 -23
- package/dist/cjs/tttx-standalone-input_1_4_2.cjs.entry.js +94 -0
- package/dist/cjs/{tttx-tabs_1_4_0.cjs.entry.js → tttx-tabs_1_4_2.cjs.entry.js} +4 -4
- package/dist/cjs/{tttx-tag_1_4_0.cjs.entry.js → tttx-tag_1_4_2.cjs.entry.js} +1 -1
- package/dist/cjs/{tttx-textarea_1_4_0.cjs.entry.js → tttx-textarea_1_4_2.cjs.entry.js} +2 -2
- package/dist/cjs/{tttx-tree-view_1_4_0.cjs.entry.js → tttx-tree-view_1_4_2.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-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-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 +28 -13
- package/dist/collection/components/molecules/tttx-form/tttx-form.js +5 -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 +46 -46
- 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.css +28 -1
- package/dist/collection/components/molecules/tttx-select-box/tttx-select-box.js +85 -22
- package/dist/collection/components/molecules/tttx-select-box/tttx-select-box.stories.js +33 -16
- 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.css +28 -13
- 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-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 +26 -26
- package/dist/components/index.js +26 -26
- package/dist/components/tttx-button.js +5 -5
- package/dist/components/{tttx-button_1_4_0.d.ts → tttx-button_1_4_2.d.ts} +4 -4
- package/dist/components/{tttx-button_1_4_0.js → tttx-button_1_4_2.js} +2 -2
- package/dist/components/tttx-checkbox-group-caption_1_4_2.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group-caption_1_4_0.js → tttx-checkbox-group-caption_1_4_2.js} +5 -5
- package/dist/components/tttx-checkbox-group-heading_1_4_2.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group-heading_1_4_0.js → tttx-checkbox-group-heading_1_4_2.js} +5 -5
- package/dist/components/tttx-checkbox-group_1_4_2.d.ts +11 -0
- package/dist/components/{tttx-checkbox-group_1_4_0.js → tttx-checkbox-group_1_4_2.js} +5 -5
- package/dist/components/{tttx-expander_1_4_0.d.ts → tttx-checkbox_1_4_2.d.ts} +4 -4
- package/dist/components/{tttx-checkbox_1_4_0.js → tttx-checkbox_1_4_2.js} +7 -7
- package/dist/components/tttx-data-pattern_1_4_2.d.ts +11 -0
- package/dist/components/{tttx-data-pattern_1_4_0.js → tttx-data-pattern_1_4_2.js} +13 -13
- package/dist/components/{tttx-dialog-box_1_4_0.d.ts → tttx-dialog-box_1_4_2.d.ts} +4 -4
- package/dist/components/{tttx-dialog-box_1_4_0.js → tttx-dialog-box_1_4_2.js} +9 -9
- package/dist/components/{tttx-filter_1_4_0.d.ts → tttx-dialog_1_4_2.d.ts} +4 -4
- package/dist/components/{tttx-dialog_1_4_0.js → tttx-dialog_1_4_2.js} +8 -8
- package/dist/components/{tttx-checkbox_1_4_0.d.ts → tttx-expander_1_4_2.d.ts} +4 -4
- package/dist/components/{tttx-expander_1_4_0.js → tttx-expander_1_4_2.js} +7 -7
- package/dist/components/tttx-filter.js +6 -6
- package/dist/components/{tttx-qrcode_1_4_0.d.ts → tttx-filter_1_4_2.d.ts} +4 -4
- package/dist/components/{tttx-filter_1_4_0.js → tttx-filter_1_4_2.js} +2 -2
- package/dist/components/{tttx-icon_1_4_0.d.ts → tttx-form_1_4_2.d.ts} +4 -4
- package/dist/components/{tttx-form_1_4_0.js → tttx-form_1_4_2.js} +13 -10
- package/dist/components/tttx-icon.js +3 -3
- package/dist/components/{tttx-list_1_4_0.d.ts → tttx-icon_1_4_2.d.ts} +4 -4
- package/dist/components/{tttx-icon_1_4_0.js → tttx-icon_1_4_2.js} +2 -2
- package/dist/components/tttx-keyvalue-block_1_4_2.d.ts +11 -0
- package/dist/components/{tttx-keyvalue-block_1_4_0.js → tttx-keyvalue-block_1_4_2.js} +5 -5
- package/dist/components/tttx-list.js +6 -6
- package/dist/components/{tttx-form_1_4_0.d.ts → tttx-list_1_4_2.d.ts} +4 -4
- package/dist/components/{tttx-list_1_4_0.js → tttx-list_1_4_2.js} +2 -2
- package/dist/components/tttx-loading-spinner_1_4_2.d.ts +11 -0
- package/dist/components/{tttx-loading-spinner_1_4_0.js → tttx-loading-spinner_1_4_2.js} +5 -5
- package/dist/components/tttx-multiselect-box_1_4_2.d.ts +11 -0
- package/dist/components/{tttx-multiselect-box_1_4_0.js → tttx-multiselect-box_1_4_2.js} +13 -13
- package/dist/components/tttx-percentage-bar_1_4_2.d.ts +11 -0
- package/dist/components/{tttx-percentage-bar_1_4_0.js → tttx-percentage-bar_1_4_2.js} +6 -6
- package/dist/components/{tttx-dialog_1_4_0.d.ts → tttx-qrcode_1_4_2.d.ts} +4 -4
- package/dist/components/{tttx-qrcode_1_4_0.js → tttx-qrcode_1_4_2.js} +5 -5
- package/dist/components/tttx-select-box.js +41 -27
- package/dist/components/tttx-select-box_1_4_2.d.ts +11 -0
- package/dist/components/{tttx-select-box_1_4_0.js → tttx-select-box_1_4_2.js} +2 -2
- package/dist/components/tttx-sorter.js +5 -5
- package/dist/components/tttx-sorter_1_4_2.d.ts +11 -0
- package/dist/components/{tttx-sorter_1_4_0.js → tttx-sorter_1_4_2.js} +2 -2
- package/dist/components/tttx-standalone-input.js +6 -6
- package/dist/components/tttx-standalone-input_1_4_2.d.ts +11 -0
- package/dist/components/{tttx-standalone-input_1_4_0.js → tttx-standalone-input_1_4_2.js} +2 -2
- package/dist/components/{tttx-tabs_1_4_0.d.ts → tttx-tabs_1_4_2.d.ts} +4 -4
- package/dist/components/{tttx-tabs_1_4_0.js → tttx-tabs_1_4_2.js} +9 -9
- package/dist/components/{tttx-tag_1_4_0.d.ts → tttx-tag_1_4_2.d.ts} +4 -4
- package/dist/components/{tttx-tag_1_4_0.js → tttx-tag_1_4_2.js} +5 -5
- package/dist/components/tttx-textarea_1_4_2.d.ts +11 -0
- package/dist/components/{tttx-textarea_1_4_0.js → tttx-textarea_1_4_2.js} +6 -6
- package/dist/components/tttx-toolbar.js +3 -3
- package/dist/components/{tttx-toolbar_1_4_0.d.ts → tttx-toolbar_1_4_2.d.ts} +4 -4
- package/dist/components/{tttx-toolbar_1_4_0.js → tttx-toolbar_1_4_2.js} +2 -2
- package/dist/components/tttx-tree-view_1_4_2.d.ts +11 -0
- package/dist/components/{tttx-tree-view_1_4_0.js → tttx-tree-view_1_4_2.js} +9 -9
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{tttx-button_1_4_0.entry.js → tttx-button_1_4_2.entry.js} +2 -2
- package/dist/esm/{tttx-checkbox-group-caption_1_4_0.entry.js → tttx-checkbox-group-caption_1_4_2.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox-group-heading_1_4_0.entry.js → tttx-checkbox-group-heading_1_4_2.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox-group_1_4_0.entry.js → tttx-checkbox-group_1_4_2.entry.js} +1 -1
- package/dist/esm/{tttx-checkbox_1_4_0.entry.js → tttx-checkbox_1_4_2.entry.js} +2 -2
- package/dist/esm/{tttx-data-pattern_1_4_0.entry.js → tttx-data-pattern_1_4_2.entry.js} +2 -2
- package/dist/esm/{tttx-dialog-box_1_4_0.entry.js → tttx-dialog-box_1_4_2.entry.js} +3 -3
- package/dist/esm/{tttx-dialog_1_4_0.entry.js → tttx-dialog_1_4_2.entry.js} +2 -2
- package/dist/esm/{tttx-expander_1_4_0.entry.js → tttx-expander_1_4_2.entry.js} +2 -2
- package/dist/esm/{tttx-filter_1_4_0_4.entry.js → tttx-filter_1_4_2_4.entry.js} +6 -6
- package/dist/esm/{tttx-form_1_4_0.entry.js → tttx-form_1_4_2.entry.js} +6 -3
- package/dist/esm/{tttx-icon_1_4_0.entry.js → tttx-icon_1_4_2.entry.js} +1 -1
- package/dist/esm/{tttx-keyvalue-block_1_4_0.entry.js → tttx-keyvalue-block_1_4_2.entry.js} +1 -1
- package/dist/esm/{tttx-loading-spinner_1_4_0.entry.js → tttx-loading-spinner_1_4_2.entry.js} +1 -1
- package/dist/esm/{tttx-multiselect-box_1_4_0.entry.js → tttx-multiselect-box_1_4_2.entry.js} +6 -6
- package/dist/esm/{tttx-percentage-bar_1_4_0.entry.js → tttx-percentage-bar_1_4_2.entry.js} +2 -2
- package/dist/esm/{tttx-qrcode_1_4_0.entry.js → tttx-qrcode_1_4_2.entry.js} +1 -1
- package/dist/esm/{tttx-select-box_1_4_0.entry.js → tttx-select-box_1_4_2.entry.js} +34 -23
- package/dist/esm/tttx-standalone-input_1_4_2.entry.js +90 -0
- package/dist/esm/{tttx-tabs_1_4_0.entry.js → tttx-tabs_1_4_2.entry.js} +4 -4
- package/dist/esm/{tttx-tag_1_4_0.entry.js → tttx-tag_1_4_2.entry.js} +1 -1
- package/dist/esm/{tttx-textarea_1_4_0.entry.js → tttx-textarea_1_4_2.entry.js} +2 -2
- package/dist/esm/{tttx-tree-view_1_4_0.entry.js → tttx-tree-view_1_4_2.entry.js} +3 -3
- package/dist/esm/tttx.js +1 -1
- package/dist/tttx/p-0e515960.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-3676cddd.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-5d2706b1.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-6deb8699.entry.js +1 -1
- package/dist/tttx/p-7077c8ed.entry.js +1 -0
- 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 -0
- 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-c08a54f9.entry.js +1 -0
- package/dist/tttx/p-c170e3b8.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-select-box/tttx-select-box.d.ts +6 -3
- package/dist/types/components/molecules/tttx-select-box/tttx-select-box.stories.d.ts +17 -0
- 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 +310 -304
- package/package.json +1 -1
- package/dist/cjs/tttx-standalone-input_1_4_0.cjs.entry.js +0 -94
- package/dist/components/tttx-checkbox-group-caption_1_4_0.d.ts +0 -11
- package/dist/components/tttx-checkbox-group-heading_1_4_0.d.ts +0 -11
- package/dist/components/tttx-checkbox-group_1_4_0.d.ts +0 -11
- package/dist/components/tttx-data-pattern_1_4_0.d.ts +0 -11
- package/dist/components/tttx-keyvalue-block_1_4_0.d.ts +0 -11
- package/dist/components/tttx-loading-spinner_1_4_0.d.ts +0 -11
- package/dist/components/tttx-multiselect-box_1_4_0.d.ts +0 -11
- package/dist/components/tttx-percentage-bar_1_4_0.d.ts +0 -11
- package/dist/components/tttx-select-box_1_4_0.d.ts +0 -11
- package/dist/components/tttx-sorter_1_4_0.d.ts +0 -11
- package/dist/components/tttx-standalone-input_1_4_0.d.ts +0 -11
- package/dist/components/tttx-textarea_1_4_0.d.ts +0 -11
- package/dist/components/tttx-tree-view_1_4_0.d.ts +0 -11
- package/dist/esm/tttx-standalone-input_1_4_0.entry.js +0 -90
- package/dist/tttx/p-0f439f10.entry.js +0 -1
- package/dist/tttx/p-81aaafa0.entry.js +0 -1
- package/dist/tttx/p-fe967031.entry.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as e,h as a,H as o}from"./p-d490353a.js";const n=class{constructor(a){t(this,a),this.valueChanged=e(this,"valueChanged",7),this.focusChanged=e(this,"focusChanged",7),this.blurChanged=e(this,"blurChanged",7),this.invalidChanged=e(this,"invalidChanged",7),this.label=void 0,this.secondarylabel=void 0,this.showerrormsg=void 0,this.showerrorbubble=!0,this.errormsg=void 0,this.rows=void 0,this.textareaautofocus=void 0,this.inputkeyhint=void 0,this.inputindex=void 0,this.inputtitle=void 0,this.disabled=void 0,this.maxlength=void 0,this.name=void 0,this.placeholder=void 0,this.readonly=void 0,this.required=void 0,this.value=void 0}handleChange(t){const e=t.target;this.value=e.value,this.valueChanged.emit(e.value)}handleFocus(t){this.focusChanged.emit(t.target.value)}handleBlur(t){this.blurChanged.emit(t.target.value)}handleInvalid(t){t.preventDefault(),this.invalidChanged.emit(t.target.value)}render(){const t=[this.showerrormsg?"invalid":"",!this.label&&this.required?"no-label":""].join(" ");return a(o,null,a("label",null,this.label,this.required?"":a("span",{class:"optional"}," (optional)"),a("div",{class:"textarea-container"},a("textarea",{rows:this.rows,class:t,autofocus:this.textareaautofocus,enterkeyhint:this.inputkeyhint,tabindex:this.inputindex,title:this.inputtitle,disabled:this.disabled,maxlength:this.maxlength,name:this.name,placeholder:this.placeholder,readonly:this.readonly,required:this.required,value:this.value,onBlur:this.handleBlur.bind(this),onFocus:this.handleFocus.bind(this),onInput:this.handleChange.bind(this),onInvalid:this.handleInvalid.bind(this)}),this.secondarylabel&&a("span",{class:"secondarylabel"},this.secondarylabel),this.showerrorbubble&&a("span",{class:["errorBubble",this.showerrormsg&&this.errormsg?"visible":""].join(" ")},a("span",{class:"material-symbols-rounded validationicon"},"warning")," ",this.errormsg))))}};n.style='.material-symbols-rounded.sc-tttx-
|
|
1
|
+
import{r as t,c as e,h as a,H as o}from"./p-d490353a.js";const n=class{constructor(a){t(this,a),this.valueChanged=e(this,"valueChanged",7),this.focusChanged=e(this,"focusChanged",7),this.blurChanged=e(this,"blurChanged",7),this.invalidChanged=e(this,"invalidChanged",7),this.label=void 0,this.secondarylabel=void 0,this.showerrormsg=void 0,this.showerrorbubble=!0,this.errormsg=void 0,this.rows=void 0,this.textareaautofocus=void 0,this.inputkeyhint=void 0,this.inputindex=void 0,this.inputtitle=void 0,this.disabled=void 0,this.maxlength=void 0,this.name=void 0,this.placeholder=void 0,this.readonly=void 0,this.required=void 0,this.value=void 0}handleChange(t){const e=t.target;this.value=e.value,this.valueChanged.emit(e.value)}handleFocus(t){this.focusChanged.emit(t.target.value)}handleBlur(t){this.blurChanged.emit(t.target.value)}handleInvalid(t){t.preventDefault(),this.invalidChanged.emit(t.target.value)}render(){const t=[this.showerrormsg?"invalid":"",!this.label&&this.required?"no-label":""].join(" ");return a(o,null,a("label",null,this.label,this.required?"":a("span",{class:"optional"}," (optional)"),a("div",{class:"textarea-container"},a("textarea",{rows:this.rows,class:t,autofocus:this.textareaautofocus,enterkeyhint:this.inputkeyhint,tabindex:this.inputindex,title:this.inputtitle,disabled:this.disabled,maxlength:this.maxlength,name:this.name,placeholder:this.placeholder,readonly:this.readonly,required:this.required,value:this.value,onBlur:this.handleBlur.bind(this),onFocus:this.handleFocus.bind(this),onInput:this.handleChange.bind(this),onInvalid:this.handleInvalid.bind(this)}),this.secondarylabel&&a("span",{class:"secondarylabel"},this.secondarylabel),this.showerrorbubble&&a("span",{class:["errorBubble",this.showerrormsg&&this.errormsg?"visible":""].join(" ")},a("span",{class:"material-symbols-rounded validationicon"},"warning")," ",this.errormsg))))}};n.style='.material-symbols-rounded.sc-tttx-textarea_1_4_2{font-variation-settings:"FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24}.sc-tttx-textarea_1_4_2-h{display:block}label.sc-tttx-textarea_1_4_2{font-weight:500;font-size:16px;line-height:18.752px;color:#212121}label.sc-tttx-textarea_1_4_2 .textarea-container.sc-tttx-textarea_1_4_2{position:relative}label.sc-tttx-textarea_1_4_2 .textarea-container.sc-tttx-textarea_1_4_2 textarea.sc-tttx-textarea_1_4_2{font-family:"Roboto", serif;box-sizing:border-box;width:100%;padding:9px 16px;font-size:16px;line-height:18.752px;border:1px solid #d5d5d5;border-radius:4px;margin-top:8px;resize:none}label.sc-tttx-textarea_1_4_2 .textarea-container.sc-tttx-textarea_1_4_2 textarea.no-label.sc-tttx-textarea_1_4_2{margin-top:0}label.sc-tttx-textarea_1_4_2 .textarea-container.sc-tttx-textarea_1_4_2 textarea.sc-tttx-textarea_1_4_2~.errorBubble.sc-tttx-textarea_1_4_2{font-size:14px;line-height:16.408px;font-weight:normal;width:100%;font-family:"Roboto", sans-serif;color:#dc0000;display:flex;align-content:center;align-items:center;justify-items:center;margin-top:4px}label.sc-tttx-textarea_1_4_2 .textarea-container.sc-tttx-textarea_1_4_2 textarea.sc-tttx-textarea_1_4_2~.errorBubble.sc-tttx-textarea_1_4_2:not(.visible){display:none}label.sc-tttx-textarea_1_4_2 .textarea-container.sc-tttx-textarea_1_4_2 textarea.sc-tttx-textarea_1_4_2~.errorBubble.sc-tttx-textarea_1_4_2 span.sc-tttx-textarea_1_4_2{color:#dc0000;font-size:16px;margin-right:4px}label.sc-tttx-textarea_1_4_2 .textarea-container.sc-tttx-textarea_1_4_2 textarea.sc-tttx-textarea_1_4_2:focus{border-color:#1479c6}label.sc-tttx-textarea_1_4_2 .textarea-container.sc-tttx-textarea_1_4_2 textarea.sc-tttx-textarea_1_4_2:focus-visible{outline:none}label.sc-tttx-textarea_1_4_2 .secondarylabel.sc-tttx-textarea_1_4_2{color:#757575;font-size:14px;line-height:16.408px;font-weight:normal;display:flex;margin-top:4px}label.sc-tttx-textarea_1_4_2 .optional.sc-tttx-textarea_1_4_2{color:#757575;font-weight:normal}';export{n as tttx_textarea_1_4_2}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as e,h as i,H as n}from"./p-d490353a.js";const c=class{constructor(i){t(this,i),this.checkboxChangeEvent=e(this,"checkboxChangeEvent",3),this.checkboxId=void 0,this.label=void 0,this.inline=!1,this.indeterminate=!1,this.checked=void 0}watchIndeterminateChange(t){this.checkbox.indeterminate=t}onClick(){const{checked:t,indeterminate:e}=this;this.checkboxChangeEvent.emit({indeterminate:e,checked:t})}componentDidLoad(){this.checkbox.indeterminate=this.indeterminate}render(){const t=this.indeterminate?"indeterminate_check_box":this.checked?"check_box":"check_box_outline_blank";return i(n,null,i("label",{class:"tttx-checkbox "+(this.inline?"--inline":"")},i("input",{class:"tttx-checkbox__input",type:"checkbox",id:this.checkboxId,checked:this.checked,ref:t=>this.checkbox=t}),i("tttx-
|
|
1
|
+
import{r as t,c as e,h as i,H as n}from"./p-d490353a.js";const c=class{constructor(i){t(this,i),this.checkboxChangeEvent=e(this,"checkboxChangeEvent",3),this.checkboxId=void 0,this.label=void 0,this.inline=!1,this.indeterminate=!1,this.checked=void 0}watchIndeterminateChange(t){this.checkbox.indeterminate=t}onClick(){const{checked:t,indeterminate:e}=this;this.checkboxChangeEvent.emit({indeterminate:e,checked:t})}componentDidLoad(){this.checkbox.indeterminate=this.indeterminate}render(){const t=this.indeterminate?"indeterminate_check_box":this.checked?"check_box":"check_box_outline_blank";return i(n,null,i("label",{class:"tttx-checkbox "+(this.inline?"--inline":"")},i("input",{class:"tttx-checkbox__input",type:"checkbox",id:this.checkboxId,checked:this.checked,ref:t=>this.checkbox=t}),i("tttx-icon_1_4_2",{color:this.checked?"blue":"grey",icon:t,onClick:this.onClick.bind(this)}),i("span",{class:"tttx-checkbox__label"},this.label)))}static get watchers(){return{indeterminate:["watchIndeterminateChange"]}}};c.style='.material-symbols-rounded{font-variation-settings:"FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24}.tttx-checkbox{padding:8px;display:flex;justify-content:flex-start;font-size:16px;align-items:center;font-weight:normal;line-height:18.752px}.tttx-checkbox tttx-icon{height:24px}.tttx-checkbox.--inline{display:inline-flex}.tttx-checkbox__input{display:none}.tttx-checkbox__label{margin-left:8px;padding-right:0;color:#212121;font-weight:normal}';export{c as tttx_checkbox_1_4_2}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as a,h as o,H as s}from"./p-d490353a.js";import{p as i,d as n}from"./p-55799798.js";import"./p-112455b1.js";const c=class{constructor(o){t(this,o),this.tabClick=a(this,"tabClick",7),this.leftNavigation=a(this,"leftNavigation",7),this.rightNavigation=a(this,"rightNavigation",7),this.tabFocus=0,this.tabsName=void 0,this.navigation=void 0,this.wide=void 0,this.tabs=void 0,this._tabs=void 0}onDataChange(){this.tabs&&(this._tabs="string"==typeof this.tabs?JSON.parse(this.tabs):[...this.tabs],this.tabFocus=this._tabs.findIndex((t=>-1!==t.tabIndex)))}componentWillLoad(){this.onDataChange()}handleTabClick(t){this.tabClick.emit({tabId:t.id})}handleLeftNavigation(){this.leftNavigation.emit()}handleRightNavigation(){this.rightNavigation.emit()}handleKeyDown(t){const a=this.tabList.getAttribute("aria-orientation"),o=a&&"vertical"===a?"ArrowUp":"ArrowLeft",s=a&&"vertical"===a?"ArrowDown":"ArrowRight";t.key===o||t.key===s?(this._tabs[this.tabFocus].tabIndex=-1,t.key===o?(this.tabFocus--,this.tabFocus<0&&(this.tabFocus=this._tabs.length-1)):t.key===s&&(this.tabFocus++,this.tabFocus>=this._tabs.length&&(this.tabFocus=0)),this._tabs[this.tabFocus].tabIndex=0,this.tabList.querySelectorAll('[role="tab"]')[this.tabFocus].focus(),this._tabs=[...this._tabs]):"Space"!==t.code&&"Enter"!==t.code||this.tabClick.emit({tabId:this._tabs[this.tabFocus].id})}render(){if(!this.tabs||0==this.tabs.length)return;const t=this._tabs.find((t=>t.selected));return o(s,null,o("div",null,o("div",{class:"tab-bar",role:"tablist","aria-label":this.tabsName,ref:t=>this.tabList=t},this.navigation&&o("div",{class:"left-navigation",tabindex:"0",onClick:this.handleLeftNavigation.bind(this)},o("tttx-
|
|
1
|
+
import{r as t,c as a,h as o,H as s}from"./p-d490353a.js";import{p as i,d as n}from"./p-55799798.js";import"./p-112455b1.js";const c=class{constructor(o){t(this,o),this.tabClick=a(this,"tabClick",7),this.leftNavigation=a(this,"leftNavigation",7),this.rightNavigation=a(this,"rightNavigation",7),this.tabFocus=0,this.tabsName=void 0,this.navigation=void 0,this.wide=void 0,this.tabs=void 0,this._tabs=void 0}onDataChange(){this.tabs&&(this._tabs="string"==typeof this.tabs?JSON.parse(this.tabs):[...this.tabs],this.tabFocus=this._tabs.findIndex((t=>-1!==t.tabIndex)))}componentWillLoad(){this.onDataChange()}handleTabClick(t){this.tabClick.emit({tabId:t.id})}handleLeftNavigation(){this.leftNavigation.emit()}handleRightNavigation(){this.rightNavigation.emit()}handleKeyDown(t){const a=this.tabList.getAttribute("aria-orientation"),o=a&&"vertical"===a?"ArrowUp":"ArrowLeft",s=a&&"vertical"===a?"ArrowDown":"ArrowRight";t.key===o||t.key===s?(this._tabs[this.tabFocus].tabIndex=-1,t.key===o?(this.tabFocus--,this.tabFocus<0&&(this.tabFocus=this._tabs.length-1)):t.key===s&&(this.tabFocus++,this.tabFocus>=this._tabs.length&&(this.tabFocus=0)),this._tabs[this.tabFocus].tabIndex=0,this.tabList.querySelectorAll('[role="tab"]')[this.tabFocus].focus(),this._tabs=[...this._tabs]):"Space"!==t.code&&"Enter"!==t.code||this.tabClick.emit({tabId:this._tabs[this.tabFocus].id})}render(){if(!this.tabs||0==this.tabs.length)return;const t=this._tabs.find((t=>t.selected));return o(s,null,o("div",null,o("div",{class:"tab-bar",role:"tablist","aria-label":this.tabsName,ref:t=>this.tabList=t},this.navigation&&o("div",{class:"left-navigation",tabindex:"0",onClick:this.handleLeftNavigation.bind(this)},o("tttx-icon_1_4_2",{icon:"navigate_before",color:"black"})),o("div",{class:"tabs-container"+(this.wide?" wide":"")},this._tabs.map((t=>o("a",{key:t.id,id:t.id,role:"tab","aria-controls":t.controls,tabindex:t.tabIndex,"aria-selected":t.selected,onClick:()=>{this.handleTabClick(t)}},t.tabName)))),this.navigation&&o("div",{class:"right-navigation",tabindex:"0",onClick:this.handleRightNavigation.bind(this)},o("tttx-icon_1_4_2",{icon:"navigate_next",color:"black"}))),t&&o("article",{key:t.id,id:t.controls,role:"tabpanel",tabindex:"0","aria-labelledby":t.id,"aria-expanded":t.selected,innerHTML:i.sanitize(t.pageContent,n),hidden:!t.selected})))}static get watchers(){return{tabs:["onDataChange"]}}};c.style='.material-symbols-rounded.sc-tttx-tabs_1_4_2{font-variation-settings:"FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24}.sc-tttx-tabs_1_4_2-h{display:block}.tab-bar.sc-tttx-tabs_1_4_2{display:flex;height:52px}.tab-bar.sc-tttx-tabs_1_4_2>.left-navigation.sc-tttx-tabs_1_4_2,.tab-bar.sc-tttx-tabs_1_4_2>.right-navigation.sc-tttx-tabs_1_4_2{padding:14px 8px;cursor:pointer}.tab-bar.sc-tttx-tabs_1_4_2>.left-navigation.sc-tttx-tabs_1_4_2>*.sc-tttx-tabs_1_4_2,.tab-bar.sc-tttx-tabs_1_4_2>.right-navigation.sc-tttx-tabs_1_4_2>*.sc-tttx-tabs_1_4_2{height:24px;width:24px;cursor:pointer}.tab-bar.sc-tttx-tabs_1_4_2>.tabs-container.sc-tttx-tabs_1_4_2{display:flex;border-bottom:1px solid #d5d5d5}.tab-bar.sc-tttx-tabs_1_4_2>.tabs-container.wide.sc-tttx-tabs_1_4_2{flex-grow:1}.tab-bar.sc-tttx-tabs_1_4_2>.tabs-container.sc-tttx-tabs_1_4_2>*[role=tab].sc-tttx-tabs_1_4_2{padding:18px 16px;line-height:16.408px;font-size:14px;font-weight:500;text-transform:uppercase;user-select:none;color:#757575;cursor:pointer}.tab-bar.sc-tttx-tabs_1_4_2>.tabs-container.sc-tttx-tabs_1_4_2>*[role=tab].sc-tttx-tabs_1_4_2:hover{background-color:rgba(17, 17, 17, 0.05)}.tab-bar.sc-tttx-tabs_1_4_2>.tabs-container.sc-tttx-tabs_1_4_2>*[role=tab][aria-selected].sc-tttx-tabs_1_4_2{color:#212121;cursor:default;border-bottom:3px solid #1579c6}';export{c as tttx_tabs_1_4_2}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,c as n,h as t,H as a}from"./p-d490353a.js";const o=class{constructor(t){e(this,t),this.toggleExpander=n(this,"toggleExpander",7),this.name=void 0,this.open=!1,this.lefticon=void 0,this.lefticoncolor=void 0,this.isExpanded=!1}componentWillRender(){this.isExpanded=this.open}handleExpand(){this.isExpanded=null===this.expander.getAttribute("open"),this.toggleExpander.emit({open:this.isExpanded,name:this.name})}render(){return t(a,null,t("details",{class:"expander",open:this.open,"aria-owns":"expanderContent","aria-expanded":`${this.isExpanded}`,onClick:this.handleExpand.bind(this),ref:e=>this.expander=e},t("summary",{class:"panel"},t("span",{class:"panel-frame"},this.lefticon&&t("span",{class:"left-icons"},t("tttx-
|
|
1
|
+
import{r as e,c as n,h as t,H as a}from"./p-d490353a.js";const o=class{constructor(t){e(this,t),this.toggleExpander=n(this,"toggleExpander",7),this.name=void 0,this.open=!1,this.lefticon=void 0,this.lefticoncolor=void 0,this.isExpanded=!1}componentWillRender(){this.isExpanded=this.open}handleExpand(){this.isExpanded=null===this.expander.getAttribute("open"),this.toggleExpander.emit({open:this.isExpanded,name:this.name})}render(){return t(a,null,t("details",{class:"expander",open:this.open,"aria-owns":"expanderContent","aria-expanded":`${this.isExpanded}`,onClick:this.handleExpand.bind(this),ref:e=>this.expander=e},t("summary",{class:"panel"},t("span",{class:"panel-frame"},this.lefticon&&t("span",{class:"left-icons"},t("tttx-icon_1_4_2",{icon:this.lefticon,color:this.lefticoncolor})),t("span",{class:"name"},this.name)),t("span",{class:"expand-button"},t("tttx-icon_1_4_2",{class:"open",icon:"expand_more",color:"black"}),t("tttx-icon_1_4_2",{class:"closed",icon:"chevron_right",color:"black"}))),t("div",{id:"expanderContent",class:"content",tabindex:"0"},t("slot",null))))}};o.style='.material-symbols-rounded{font-variation-settings:"FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24}:host{display:block}.expander{border-bottom:1px solid #d5d5d5}.expander[open] .panel .open{display:initial}.expander[open] .panel .closed{display:none}.expander:not([open]) .panel .open{display:none}.expander:not([open]) .panel .closed{display:initial}.expander .panel{display:flex;gap:4px;height:36px;align-items:center;justify-content:space-between;cursor:pointer;user-select:none}.expander .panel .panel-frame{display:flex;gap:4px;height:36px;align-items:center}.expander .panel .panel-frame .name{font-size:16px;font-weight:500;color:#212121}.expander .panel .left-icons,.expander .panel .expand-button{display:flex;height:36px;width:36px;align-items:center;justify-content:center}.expander .panel .left-icons>tttx-icon,.expander .panel .expand-button>tttx-icon{height:24px;cursor:inherit}.expander .content{margin-top:8px;margin-bottom:8px}';export{o as tttx_expander_1_4_2}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as o,h as t,H as e,g as i}from"./p-d490353a.js";const r=class{constructor(t){o(this,t),this.icon=void 0,this.color="grey",this.size=24}updateIconSize(o){this.element.style.setProperty("--icon-size",o)}componentWillRender(){this.updateIconSize(this.size+"px")}render(){return this.color.startsWith("#")?t(e,null,t("span",{class:"material-symbols-rounded",style:{color:this.color}},this.icon)):t(e,null,t("span",{class:`material-symbols-rounded ${this.color}`},this.icon))}get element(){return i(this)}};r.style='.material-symbols-rounded{font-variation-settings:"FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24}.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}:host{--icon-size:24;display:inline-block;cursor:default;user-select:none}.material-symbols-rounded{font-size:var(--icon-size)}.icon-size{width:var(--icon-size);height:var(--icon-size)}.tooltip{background:#ffffff;color:#343434;font-weight:bold;padding:8px 16px;font-size:13px;border-radius:4px;box-shadow:0 0 5px 1px rgba(0, 0, 0, 0.3);display:none}.tooltip[data-show]{display:block}.arrow,.arrow::before{position:absolute;width:8px;height:8px;background:inherit}.arrow{visibility:hidden}.arrow::before{visibility:visible;content:"";transform:rotate(45deg)}.tooltip[data-popper-placement^=top]>.arrow{bottom:-4px}.tooltip[data-popper-placement^=bottom]>.arrow{top:-4px}.tooltip[data-popper-placement^=left]>.arrow{right:-4px}.tooltip[data-popper-placement^=right]>.arrow{left:-4px}.red{color:#dc0000}.darkred{color:#A20000}.orange{color:#f59500}.blue{color:#1479c6}.green{color:#a2bb31}.gray{color:#757575}.black{color:#212121}.white{color:white}';export{r as
|
|
1
|
+
import{r as o,h as t,H as e,g as i}from"./p-d490353a.js";const r=class{constructor(t){o(this,t),this.icon=void 0,this.color="grey",this.size=24}updateIconSize(o){this.element.style.setProperty("--icon-size",o)}componentWillRender(){this.updateIconSize(this.size+"px")}render(){return this.color.startsWith("#")?t(e,null,t("span",{class:"material-symbols-rounded",style:{color:this.color}},this.icon)):t(e,null,t("span",{class:`material-symbols-rounded ${this.color}`},this.icon))}get element(){return i(this)}};r.style='.material-symbols-rounded{font-variation-settings:"FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24}.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}:host{--icon-size:24;display:inline-block;cursor:default;user-select:none}.material-symbols-rounded{font-size:var(--icon-size)}.icon-size{width:var(--icon-size);height:var(--icon-size)}.tooltip{background:#ffffff;color:#343434;font-weight:bold;padding:8px 16px;font-size:13px;border-radius:4px;box-shadow:0 0 5px 1px rgba(0, 0, 0, 0.3);display:none}.tooltip[data-show]{display:block}.arrow,.arrow::before{position:absolute;width:8px;height:8px;background:inherit}.arrow{visibility:hidden}.arrow::before{visibility:visible;content:"";transform:rotate(45deg)}.tooltip[data-popper-placement^=top]>.arrow{bottom:-4px}.tooltip[data-popper-placement^=bottom]>.arrow{top:-4px}.tooltip[data-popper-placement^=left]>.arrow{right:-4px}.tooltip[data-popper-placement^=right]>.arrow{left:-4px}.red{color:#dc0000}.darkred{color:#A20000}.orange{color:#f59500}.blue{color:#1479c6}.green{color:#a2bb31}.gray{color:#757575}.black{color:#212121}.white{color:white}';export{r as tttx_icon_1_4_2}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,c as t,h as o}from"./p-d490353a.js";import{p as i,d as n}from"./p-55799798.js";import"./p-112455b1.js";const r=class{constructor(o){e(this,o),this.clickEvent=t(this,"clickEvent",7),this.expandNode=t(this,"expandNode",7),this.data=void 0,this.treeData=void 0}onClickHandler(e,t){e.stopPropagation(),this.clickEvent.emit(t)}toggleNode(e,t){t.stopPropagation(),e.isOpen=!e.isOpen,this.treeData=[...this.treeData],this.expandNode.emit({node:e,treeViewData:this.treeData})}handleCheckboxChange(e,t){t.stopPropagation(),e.checked=!e.checked,this.updateChildrenCheckStatus(e),this.treeData=[...this.treeData]}updateChildrenCheckStatus(e){e.child&&e.child.forEach((t=>{t.checked=e.checked,this.updateChildrenCheckStatus(t)}))}treeConfigs(e){let t,o;return e.checked?(t="check_box",o="blue"):(t="check_box_outline_blank",o="grey"),{checkboxColor:o,checkboxIcon:t,rowHoverActive:e.hasHover?"rowHover":"",expanderIcon:e.isOpen?"arrow_drop_down":"arrow_right",selectedActive:e.selectable&&e.selected?"rowSelected":""}}renderNode(e){const t=this.treeConfigs(e);return e.child?o("li",null,o("div",{class:`inline-tree-item element-row ${t.rowHoverActive} ${t.selectedActive}`,onClick:t=>{e.hasHover&&(t.stopPropagation(),this.onClickHandler(t,e))}},o("tttx-
|
|
1
|
+
import{r as e,c as t,h as o}from"./p-d490353a.js";import{p as i,d as n}from"./p-55799798.js";import"./p-112455b1.js";const r=class{constructor(o){e(this,o),this.clickEvent=t(this,"clickEvent",7),this.expandNode=t(this,"expandNode",7),this.data=void 0,this.treeData=void 0}onClickHandler(e,t){e.stopPropagation(),this.clickEvent.emit(t)}toggleNode(e,t){t.stopPropagation(),e.isOpen=!e.isOpen,this.treeData=[...this.treeData],this.expandNode.emit({node:e,treeViewData:this.treeData})}handleCheckboxChange(e,t){t.stopPropagation(),e.checked=!e.checked,this.updateChildrenCheckStatus(e),this.treeData=[...this.treeData]}updateChildrenCheckStatus(e){e.child&&e.child.forEach((t=>{t.checked=e.checked,this.updateChildrenCheckStatus(t)}))}treeConfigs(e){let t,o;return e.checked?(t="check_box",o="blue"):(t="check_box_outline_blank",o="grey"),{checkboxColor:o,checkboxIcon:t,rowHoverActive:e.hasHover?"rowHover":"",expanderIcon:e.isOpen?"arrow_drop_down":"arrow_right",selectedActive:e.selectable&&e.selected?"rowSelected":""}}renderNode(e){const t=this.treeConfigs(e);return e.child?o("li",null,o("div",{class:`inline-tree-item element-row ${t.rowHoverActive} ${t.selectedActive}`,onClick:t=>{e.hasHover&&(t.stopPropagation(),this.onClickHandler(t,e))}},o("tttx-button_1_4_2",{class:"toggleNode",design:"borderless-circle",notext:!0,icon:t.expanderIcon,color:"black",onClick:t=>this.toggleNode(e,t)}),this.htmlcode("treeNode",e,t.checkboxIcon,t.checkboxColor)),e.isOpen?o("ul",null,o("div",{class:"child-node"},e.child.map((e=>this.renderNode(e))))):null):o("li",null,o("div",{class:`inline-tree-item element-row ${t.rowHoverActive} ${t.selectedActive}`,onClick:t=>{e.hasHover&&(t.stopPropagation(),this.onClickHandler(t,e))}},this.htmlcode("treeLeaf",e,t.checkboxIcon,t.checkboxColor)))}htmlcode(e,t,r,l){return o("div",{class:"inline-tree-item element"},t.hasCheckbox&&o("tttx-button_1_4_2",{design:"borderless-circle",notext:!0,icon:r,iconcolor:l,class:"padding-icon checkbox",onClick:e=>this.handleCheckboxChange(t,e)}),!t.html&&t.hasIcon&&o("tttx-icon_1_4_2",{icon:t.icon,color:t.iconColor,class:"padding-icon"}),!t.html&&o("div",{class:e},t.title),t.html&&o("div",{class:e,innerHTML:i.sanitize(t.html,n)}))}render(){if(this.data)return this.treeData="string"==typeof this.data?JSON.parse(this.data):this.data,o("div",{class:"tree-view-element"},o("ul",null,this.treeData.map((e=>this.renderNode(e)))))}};r.style='.material-symbols-rounded{font-variation-settings:"FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24}.tree-view-element{margin-left:-50px}.inline-tree-item{display:flex;align-items:center}.element{display:flex;flex-flow:row nowrap;justify-content:flex-start;align-items:center;width:100%}.element-row{min-height:36px;font-family:"Roboto", serif;font-size:16px;padding:8px 0px;position:relative}.element-row::before{content:"";position:absolute;left:-50%;bottom:0;right:0;border-bottom:1px solid #d5d5d5;pointer-events:none}.element-row.rowSelected::before{content:"";position:absolute;left:-50%;top:0;bottom:0;right:0;background-color:rgba(17, 17, 17, 0.1);pointer-events:none}li{list-style-type:none}.toggleNode{padding-right:3px}.padding-icon{padding:6px 6px;height:24px;width:24px;display:flex;align-items:center;justify-content:center}.treeNode{width:100%;font-weight:500}.treeLeaf{width:100%;font-weight:400}.borderless:active{outline-style:none}@media (hover: hover){.element-row.rowHover:hover{cursor:pointer}.element-row.rowHover:hover::before{content:"";position:absolute;left:-50%;top:0;bottom:0;background-color:rgba(17, 17, 17, 0.05);opacity:0.5;right:0;pointer-events:none}}';export{r as tttx_tree_view_1_4_2}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as o,h as i,F as e,H as s,g as n}from"./p-d490353a.js";import{p as d,d as r}from"./p-55799798.js";import"./p-112455b1.js";const l=class{constructor(i){t(this,i),this.selectItemEvent=o(this,"selectItemEvent",3),this.toggleOpen=o(this,"toggleOpen",3),this.bodyOffset={},this.optionsData=null,this.label=void 0,this.inline=void 0,this.placeholder="",this.searchEnabled=void 0,this.selectedValue=void 0,this.showErrorMsg=void 0,this.showErrorBubble=!1,this.errorMsg=void 0,this.open=!1,this.selectedItem=void 0,this.searchTerm=""}async componentWillLoad(){if(this.optionsData){this.setOptionsData();const t=this._optionsData.filter((t=>t.value==this.selectedValue));this.selectedItem=t.length>0?t[0]:void 0}}async setOptionsData(){this._optionsData="string"==typeof this.optionsData?JSON.parse(this.optionsData):this.optionsData}async setSelectedItem(t){if(!t)return;const o=this._optionsData.find((o=>o.value.toLowerCase()===t.toLowerCase()));o&&(this.selectedValue=o.value,this.selectedItem=o)}handleCloseSelectBox(){this.open=!1}handleBlur(){this.open=!1,this.toggleOpen.emit(!1)}onDropdownClicked(){this.open=!this.open,this.searchTerm="",this.calculateDropdownMenuOffset(),this.toggleOpen.emit(this.open)}onItemSelected(t){this.selectedItem=t,this.selectItemEvent.emit(this.selectedItem),this.handleBlur()}dropdownSelectorContent(){let t,o;const s=i("tttx-icon_1_4_2",{icon:this.open?"expand_less":"expand_more",color:"black"});let n=i("div",{class:"dropdown-selector-chevron"},s);return this.selectedItem?this.selectedItem.html?(t=i("div",{title:this.selectedItem.label,class:"truncated-text",innerHTML:this.selectedItem.html}),i(e,null,t,n)):(t=i("div",{title:this.selectedItem.label,class:"truncated-text"},this.selectedItem.label),this.selectedItem.description&&(o=i("div",{class:"description"},i("p",null,this.selectedItem.description)),n=i("div",{class:"dropdown-selector-chevron-offset"},s)),i(e,null,i("div",{class:"left-wrapper"},t,o),n)):(t=i("div",{class:"placeholder"},this.placeholder),i(e,null,t,n))}dropdownOption(t){const o=this.searchEnabled&&-1===t.label.toLowerCase().indexOf(this.searchTerm.toLowerCase()),e=this.selectedItem&&t.value===this.selectedItem.value;if(t.html){const s=d.sanitize(t.html,r);return i("div",{class:`dropdown-option ${o?"hidden":""} ${e?"selected":""}`,onClick:this.onItemSelected.bind(this,t),key:t.label,innerHTML:s})}return t.description?i("div",{class:`dropdown-option ${o?"hidden":""} ${e?"selected":""}`,onClick:this.onItemSelected.bind(this,t),key:t.label},t.label,i("div",{class:"description-dd"},i("p",null,t.description))):i("div",{class:`dropdown-option ${o?"hidden":""} ${e?"selected":""}`,onClick:this.onItemSelected.bind(this,t),key:t.label},t.label)}handleSearchInput(t){this.searchTerm=t.target.value}calculateDropdownMenuOffset(){const t=this.el.shadowRoot.querySelector(".dropdown-selector"),o=this.dropdownSelector.getBoundingClientRect().bottom;let i=Math.min(368,36*this._optionsData.length)+8;this.searchEnabled&&(i+=52);const e=t.getBoundingClientRect();this.bodyOffset=o+i>window.innerHeight?{top:window.innerHeight-(i+16)+"px",position:"fixed",width:`${t.offsetWidth}px`,zIndex:"10"}:{position:"fixed",left:e.left,top:e.top,width:e.width-2+"px",zIndex:"10"}}render(){if(!this.optionsData)return;const t=this.showErrorMsg?"invalid":"";return i(s,{class:this.inline?"inline":"block"},this.label&&i("div",{class:"label"},this.label),i("div",{tabindex:"0",class:"dropdown-container"},i("div",{class:["dropdown-selector",t].join(" "),ref:t=>this.dropdownSelector=t,onClick:this.onDropdownClicked.bind(this)},this.dropdownSelectorContent()),this.open&&i("div",{class:"dropdown-body-container"},i("div",{class:"dropdown-body",style:Object.assign({width:`${this.dropdownSelector.offsetWidth}px`},this.bodyOffset)},this.searchEnabled&&i("div",{class:"searchbox"},i("tttx-standalone-input_1_4_2",{type:"text",label:"",required:!0,showerrorbubble:!1,iconleft:"search",onInput:this.handleSearchInput.bind(this)})),i("div",{class:"dropdown-options-list"},this._optionsData.map((t=>this.dropdownOption(t)))))),this.showErrorBubble&&i("span",{class:["errorBubble",this.showErrorMsg&&this.errorMsg?"visible":""].join(" ")},i("tttx-icon_1_4_2",{icon:"warning",color:"#dc0000",size:16})," ",this.errorMsg)))}get el(){return n(this)}static get watchers(){return{optionsData:["setOptionsData"]}}};l.style='.material-symbols-rounded{font-variation-settings:"FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24}:host{display:flex;gap:4px}.label{font-size:16px;font-weight:500;line-height:18.752px;color:#212121}:host(.inline) .label{padding-top:8px}:host(.block){flex-direction:column}.dropdown-container{position:relative;display:flex;flex-direction:column;width:100%}.dropdown-container:focus-visible{outline:none}.dropdown-container:focus .dropdown-selector{border:1px solid #1479c6}.dropdown-selector,.dropdown-body{display:flex;border-radius:4px;background-color:white}.dropdown-selector{min-height:36px;box-sizing:border-box;align-items:center;gap:8px;padding:4px 8px 4px 16px;cursor:pointer;justify-content:space-between;border:1px solid #d5d5d5;display:flex;flex-direction:row}.dropdown-selector>.left-wrapper{flex:1;min-width:0}.dropdown-selector *{font-weight:400}.dropdown-selector.invalid{border:1px solid #dc0000}.errorBubble{position:relative;font-size:14px;line-height:16.408px;font-weight:normal;width:100%;font-family:"Roboto", sans-serif;color:#dc0000;display:flex;align-content:center;align-items:center;justify-items:center;margin-top:4px}.errorBubble:not(.visible){display:none}.errorBubble>*{font-size:16px;margin-right:4px;height:16px}.description{color:#757575;font-size:14px;line-height:16.408px}.description>p{margin:0}.description-dd{color:#757575;font-size:14px;line-height:16.408px}.description-dd>p{margin:0}.truncated-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#212121;font-size:16px;line-height:18.752px}.dropdown-selector-chevron{height:24px}.dropdown-selector-chevron-offset{height:24px}.dropdown-selector-chevron>tttx-icon{cursor:pointer}.dropdown-body-container{position:relative;z-index:2}.dropdown-body{position:absolute;flex-direction:column;box-shadow:0px 1px 5px #1111114D;padding-bottom:8px;border:1px solid #d5d5d5}.dropdown-options-list{display:flex;flex-direction:column;overflow-y:auto;max-height:368px}.dropdown-option{padding:6px 8px 6px 16px;cursor:pointer}.dropdown-option:hover{background-color:#1111110d}.dropdown-option:active,.dropdown-option.selected{background-color:#ebfbfc}.placeholder{color:#9e9e9e;white-space:nowrap;overflow-x:hidden;text-overflow:ellipsis}.searchbox{padding:8px 16px}.searchbox tttx-standalone-input{margin-top:-4px}.hidden{display:none}';export{l as tttx_select_box_1_4_2}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as i}from"./p-d490353a.js";const e=class{constructor(i){t(this,i),this.loadingMessage=void 0,this.size="large"}renderLoadingMessage(){return this.loadingMessage?i("div",{class:"loading-text"},"Loading, please wait..."):""}render(){return i("div",null,i("div",{class:"loading-box"},i("span",{class:`spinner ${this.size}`})),this.renderLoadingMessage())}};e.style='.material-symbols-rounded{font-variation-settings:"FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24}.loading-box{display:flex;align-items:center;justify-content:center}.loading-text{font-size:16px;font-weight:400;padding-top:10px;text-align:center}.spinner{border:solid #1479c6;border-bottom-color:#d5d5d5;border-radius:50%;position:relative;box-sizing:border-box;animation:rotation 1s linear infinite}.spinner.small{height:20px;width:20px;border-width:4px}.spinner.large{height:60px;width:60px;border-width:8px}@keyframes rotation{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}';export{e as
|
|
1
|
+
import{r as t,h as i}from"./p-d490353a.js";const e=class{constructor(i){t(this,i),this.loadingMessage=void 0,this.size="large"}renderLoadingMessage(){return this.loadingMessage?i("div",{class:"loading-text"},"Loading, please wait..."):""}render(){return i("div",null,i("div",{class:"loading-box"},i("span",{class:`spinner ${this.size}`})),this.renderLoadingMessage())}};e.style='.material-symbols-rounded{font-variation-settings:"FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24}.loading-box{display:flex;align-items:center;justify-content:center}.loading-text{font-size:16px;font-weight:400;padding-top:10px;text-align:center}.spinner{border:solid #1479c6;border-bottom-color:#d5d5d5;border-radius:50%;position:relative;box-sizing:border-box;animation:rotation 1s linear infinite}.spinner.small{height:20px;width:20px;border-width:4px}.spinner.large{height:60px;width:60px;border-width:8px}@keyframes rotation{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}';export{e as tttx_loading_spinner_1_4_2}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r,h as o,H as e}from"./p-d490353a.js";const n=class{constructor(o){r(this,o),this.text=void 0,this.color="#d5d5d5",this.textColor="#212121"}render(){return o(e,null,o("div",{class:"tag",style:{"background-color":this.color,color:this.textColor}},o("span",null,this.text)))}};n.style='.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}.tag{border-radius:20px;padding:4px;font-family:"Roboto", sans-serif;font-size:14px;font-weight:400;width:max-content}.tag span{margin-left:4px;margin-right:4px}.icon{height:18px;width:18px;font-weight:400}';export{n as
|
|
1
|
+
import{r,h as o,H as e}from"./p-d490353a.js";const n=class{constructor(o){r(this,o),this.text=void 0,this.color="#d5d5d5",this.textColor="#212121"}render(){return o(e,null,o("div",{class:"tag",style:{"background-color":this.color,color:this.textColor}},o("span",null,this.text)))}};n.style='.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}.tag{border-radius:20px;padding:4px;font-family:"Roboto", sans-serif;font-size:14px;font-weight:400;width:max-content}.tag span{margin-left:4px;margin-right:4px}.icon{height:18px;width:18px;font-weight:400}';export{n as tttx_tag_1_4_2}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as n,h as o,H as a}from"./p-d490353a.js";const l=class{constructor(o){t(this,o),this.valueChanged=n(this,"valueChanged",7),this.focusChanged=n(this,"focusChanged",7),this.blurChanged=n(this,"blurChanged",7),this.invalidChanged=n(this,"invalidChanged",7),this.inputIconClick=n(this,"inputIconClick",7),this.leftIconClick=n(this,"leftIconClick",7),this.rightIconClick=n(this,"rightIconClick",7),this.label=void 0,this.secondarylabel=void 0,this.showerrormsg=void 0,this.showerrorbubble=!0,this.errormsg=void 0,this.iconleft=void 0,this.iconleftcolor="grey",this.iconright=void 0,this.iconrightcolor="grey",this.inputicon=void 0,this.inputiconcolor="grey",this.inline=void 0,this.inputautocapitalize=void 0,this.inputautofocus=void 0,this.inputkeyhint=void 0,this.inputindex=void 0,this.inputtitle=void 0,this.autocomplete=void 0,this.checked=void 0,this.disabled=void 0,this.max=void 0,this.maxlength=void 0,this.min=void 0,this.minlength=void 0,this.name=void 0,this.pattern=void 0,this.placeholder=void 0,this.readonly=void 0,this.required=void 0,this.step=void 0,this.type="text",this.value=void 0}handleChange(t){const n=t.target;this.value=n.value,this.valueChanged.emit(n.value)}handleFocus(t){this.focusChanged.emit(t.target.value)}handleBlur(t){this.blurChanged.emit(t.target.value)}handleInvalid(t){t.preventDefault(),this.invalidChanged.emit(t.target.value)}handleInputIconClick(t){t.preventDefault(),this.inputIconClick.emit()}handleLeftIconClick(t){t.preventDefault(),this.leftIconClick.emit()}handleRightIconClick(t){t.preventDefault(),this.rightIconClick.emit()}render(){const t=[this.showerrormsg?"invalid":"",this.inputicon?"has-input-icon":"",this.iconleft?"has-left-icon":"",this.iconright?"has-right-icon":""].join(" ");return o(a,null,o("label",null,this.label,this.required?"":o("span",{class:"optional"}," (optional)"),o("div",{class:["outer-container",this.inline?"inputInline":"inputBlock"].join(" ")},o("input",{class:t,autocapitalize:this.inputautocapitalize,autofocus:this.inputautofocus,enterkeyhint:this.inputkeyhint,tabindex:this.inputindex,title:this.inputtitle,autocomplete:this.autocomplete,checked:this.checked,disabled:this.disabled,max:this.max,maxlength:this.maxlength,min:this.min,minlength:this.minlength,name:this.name,pattern:this.pattern,placeholder:this.placeholder,readonly:this.readonly,required:this.required,step:this.step,type:this.type,value:this.value,onBlur:this.handleBlur.bind(this),onFocus:this.handleFocus.bind(this),onInput:this.handleChange.bind(this),onInvalid:this.handleInvalid.bind(this)}),(this.inputicon||this.iconleft)&&o("span",{class:"left-icons"},this.inputicon&&o("tttx-icon_1_4_2",{class:"input-icon",icon:this.inputicon,color:this.inputiconcolor,onClick:this.handleInputIconClick.bind(this)}),this.iconleft&&o("tttx-icon_1_4_2",{class:"left-icon",icon:this.iconleft,color:this.iconleftcolor,onClick:this.handleLeftIconClick.bind(this)})),this.iconright&&o("span",{class:"right-icons"},o("tttx-icon_1_4_2",{class:"right-icon",icon:this.iconright,color:this.iconrightcolor,onClick:this.handleRightIconClick.bind(this)}))),this.secondarylabel&&o("span",{class:"secondarylabel"},this.secondarylabel),this.showerrorbubble&&o("span",{class:["errorBubble",this.showerrormsg&&this.errormsg?"visible":""].join(" ")},o("span",{class:"material-symbols-rounded"},"warning")," ",this.errormsg)))}};l.style='.material-symbols-rounded.sc-tttx-standalone-input_1_4_2{font-variation-settings:"FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24}.material-symbols-rounded.sc-tttx-standalone-input_1_4_2{font-variation-settings:"FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24}label.sc-tttx-standalone-input_1_4_2{font-weight:500;font-size:16px;line-height:18.752px;color:#212121}label.sc-tttx-standalone-input_1_4_2 .optional.sc-tttx-standalone-input_1_4_2{color:#757575;font-weight:normal}label.sc-tttx-standalone-input_1_4_2 .outer-container.sc-tttx-standalone-input_1_4_2{position:relative}label.sc-tttx-standalone-input_1_4_2 .outer-container.sc-tttx-standalone-input_1_4_2 .left-icons.sc-tttx-standalone-input_1_4_2,label.sc-tttx-standalone-input_1_4_2 .outer-container.sc-tttx-standalone-input_1_4_2 .right-icons.sc-tttx-standalone-input_1_4_2{display:flex;position:absolute;height:24px;gap:8px}label.sc-tttx-standalone-input_1_4_2 .outer-container.sc-tttx-standalone-input_1_4_2 .left-icons.sc-tttx-standalone-input_1_4_2 tttx-icon.sc-tttx-standalone-input_1_4_2,label.sc-tttx-standalone-input_1_4_2 .outer-container.sc-tttx-standalone-input_1_4_2 .right-icons.sc-tttx-standalone-input_1_4_2 tttx-icon.sc-tttx-standalone-input_1_4_2{height:24px;width:24px}label.sc-tttx-standalone-input_1_4_2 .outer-container.sc-tttx-standalone-input_1_4_2 .left-icons.sc-tttx-standalone-input_1_4_2{left:8px}label.sc-tttx-standalone-input_1_4_2 .outer-container.sc-tttx-standalone-input_1_4_2 .right-icons.sc-tttx-standalone-input_1_4_2{right:8px}label.sc-tttx-standalone-input_1_4_2 .outer-container.sc-tttx-standalone-input_1_4_2 input.sc-tttx-standalone-input_1_4_2,label.sc-tttx-standalone-input_1_4_2 .outer-container.sc-tttx-standalone-input_1_4_2 textarea.sc-tttx-standalone-input_1_4_2{color:#212121;box-sizing:border-box;border:1px solid #d5d5d5;border-radius:4px;margin-top:4px;padding:0;padding-left:16px;padding-right:16px}label.sc-tttx-standalone-input_1_4_2 .outer-container.sc-tttx-standalone-input_1_4_2 input.has-input-icon.sc-tttx-standalone-input_1_4_2,label.sc-tttx-standalone-input_1_4_2 .outer-container.sc-tttx-standalone-input_1_4_2 textarea.has-input-icon.sc-tttx-standalone-input_1_4_2{padding-left:40px}label.sc-tttx-standalone-input_1_4_2 .outer-container.sc-tttx-standalone-input_1_4_2 input.has-input-icon.has-left-icon.sc-tttx-standalone-input_1_4_2,label.sc-tttx-standalone-input_1_4_2 .outer-container.sc-tttx-standalone-input_1_4_2 textarea.has-input-icon.has-left-icon.sc-tttx-standalone-input_1_4_2{padding-left:72px}label.sc-tttx-standalone-input_1_4_2 .outer-container.sc-tttx-standalone-input_1_4_2 input.has-left-icon.sc-tttx-standalone-input_1_4_2,label.sc-tttx-standalone-input_1_4_2 .outer-container.sc-tttx-standalone-input_1_4_2 textarea.has-left-icon.sc-tttx-standalone-input_1_4_2{padding-left:40px}label.sc-tttx-standalone-input_1_4_2 .outer-container.sc-tttx-standalone-input_1_4_2 input.has-right-icon.sc-tttx-standalone-input_1_4_2,label.sc-tttx-standalone-input_1_4_2 .outer-container.sc-tttx-standalone-input_1_4_2 textarea.has-right-icon.sc-tttx-standalone-input_1_4_2{padding-right:40px}label.sc-tttx-standalone-input_1_4_2 .outer-container.sc-tttx-standalone-input_1_4_2 input.invalid.sc-tttx-standalone-input_1_4_2,label.sc-tttx-standalone-input_1_4_2 .outer-container.sc-tttx-standalone-input_1_4_2 textarea.invalid.sc-tttx-standalone-input_1_4_2{border:1px solid #dc0000}label.sc-tttx-standalone-input_1_4_2 .outer-container.sc-tttx-standalone-input_1_4_2 input.sc-tttx-standalone-input_1_4_2:not([type=submit]),label.sc-tttx-standalone-input_1_4_2 .outer-container.sc-tttx-standalone-input_1_4_2 textarea.sc-tttx-standalone-input_1_4_2:not([type=submit]){font-family:"Roboto", serif;width:100%;height:36px;font-size:16px;line-height:18.752px}label.sc-tttx-standalone-input_1_4_2 .outer-container.sc-tttx-standalone-input_1_4_2 input[type=radio].sc-tttx-standalone-input_1_4_2,label.sc-tttx-standalone-input_1_4_2 .outer-container.sc-tttx-standalone-input_1_4_2 textarea[type=radio].sc-tttx-standalone-input_1_4_2{width:20px;height:20px}label.sc-tttx-standalone-input_1_4_2 .outer-container.sc-tttx-standalone-input_1_4_2 input[type=date].sc-tttx-standalone-input_1_4_2,label.sc-tttx-standalone-input_1_4_2 .outer-container.sc-tttx-standalone-input_1_4_2 textarea[type=date].sc-tttx-standalone-input_1_4_2{background:white;display:block;min-width:calc(100% - 18px);line-height:37px}label.sc-tttx-standalone-input_1_4_2 .outer-container.sc-tttx-standalone-input_1_4_2 input[readonly].sc-tttx-standalone-input_1_4_2,label.sc-tttx-standalone-input_1_4_2 .outer-container.sc-tttx-standalone-input_1_4_2 textarea[readonly].sc-tttx-standalone-input_1_4_2{cursor:default;pointer-events:none;user-select:none;color:gray}label.sc-tttx-standalone-input_1_4_2 .outer-container.sc-tttx-standalone-input_1_4_2 input.sc-tttx-standalone-input_1_4_2:focus,label.sc-tttx-standalone-input_1_4_2 .outer-container.sc-tttx-standalone-input_1_4_2 textarea.sc-tttx-standalone-input_1_4_2:focus{border-color:#1479c6}label.sc-tttx-standalone-input_1_4_2 .outer-container.sc-tttx-standalone-input_1_4_2 input.sc-tttx-standalone-input_1_4_2:focus-visible,label.sc-tttx-standalone-input_1_4_2 .outer-container.sc-tttx-standalone-input_1_4_2 textarea.sc-tttx-standalone-input_1_4_2:focus-visible{outline:none}label.sc-tttx-standalone-input_1_4_2 .outer-container.sc-tttx-standalone-input_1_4_2 textarea.sc-tttx-standalone-input_1_4_2{padding:8px;height:auto;min-height:100px;resize:vertical}label.sc-tttx-standalone-input_1_4_2 .outer-container.sc-tttx-standalone-input_1_4_2 textarea.resize-none.sc-tttx-standalone-input_1_4_2{resize:none}label.sc-tttx-standalone-input_1_4_2 .outer-container.inputBlock.sc-tttx-standalone-input_1_4_2{display:flex;align-items:center;line-height:21px}label.sc-tttx-standalone-input_1_4_2 .outer-container.inputBlock.sc-tttx-standalone-input_1_4_2 .left-icons.sc-tttx-standalone-input_1_4_2,label.sc-tttx-standalone-input_1_4_2 .outer-container.inputBlock.sc-tttx-standalone-input_1_4_2 .right-icons.sc-tttx-standalone-input_1_4_2{margin-top:4px}label.sc-tttx-standalone-input_1_4_2 .outer-container.inputBlock.readonly.sc-tttx-standalone-input_1_4_2{pointer-events:none;user-select:none;color:gray}label.sc-tttx-standalone-input_1_4_2 .outer-container.inputBlock.radioBlock.sc-tttx-standalone-input_1_4_2{display:block}label.sc-tttx-standalone-input_1_4_2 .outer-container.inputInline.sc-tttx-standalone-input_1_4_2{display:flex;white-space:nowrap;align-items:center;margin:0}label.sc-tttx-standalone-input_1_4_2 .outer-container.inputInline.sc-tttx-standalone-input_1_4_2 input.sc-tttx-standalone-input_1_4_2{margin-top:0}label.sc-tttx-standalone-input_1_4_2 .secondarylabel.sc-tttx-standalone-input_1_4_2{color:#757575;font-size:14px;line-height:16.408px;font-weight:normal;display:flex;margin-top:4px}label.sc-tttx-standalone-input_1_4_2 .errorBubble.sc-tttx-standalone-input_1_4_2{position:relative;font-size:14px;line-height:16.408px;font-weight:normal;width:100%;font-family:"Roboto", sans-serif;color:#dc0000;display:flex;align-content:center;align-items:center;justify-items:center;margin-top:4px}label.sc-tttx-standalone-input_1_4_2 .errorBubble.sc-tttx-standalone-input_1_4_2:not(.visible){display:none}label.sc-tttx-standalone-input_1_4_2 .errorBubble.sc-tttx-standalone-input_1_4_2 span.sc-tttx-standalone-input_1_4_2{color:#dc0000;font-size:16px;margin-right:4px}.material-symbols-rounded.sc-tttx-standalone-input_1_4_2{font-family:"Material Symbols Rounded", sans-serif;font-weight:400;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;color:#9e9e9e}.sc-tttx-standalone-input_1_4_2-h{display:block}';export{l as tttx_standalone_input_1_4_2}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as o,h as t,H as n}from"./p-d490353a.js";const e=class{constructor(t){o(this,t)}render(){return t(n,null,t("div",{class:"tttx-checkbox-group"},t("slot",null)))}};e.style='.material-symbols-rounded{font-variation-settings:"FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24}.tttx-checkbox-group{display:flex;flex-direction:column}.tttx-checkbox-group__caption{color:#757575;font-family:"Roboto", sans-serif;font-size:14px;font-weight:normal;line-height:18.752px;margin-bottom:4px}.tttx-checkbox-group__heading{color:#212121;font-family:"Roboto", sans-serif;font-size:16px;font-weight:500;line-height:16.408px;margin-bottom:4px}';export{e as
|
|
1
|
+
import{r as o,h as t,H as n}from"./p-d490353a.js";const e=class{constructor(t){o(this,t)}render(){return t(n,null,t("div",{class:"tttx-checkbox-group"},t("slot",null)))}};e.style='.material-symbols-rounded{font-variation-settings:"FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24}.tttx-checkbox-group{display:flex;flex-direction:column}.tttx-checkbox-group__caption{color:#757575;font-family:"Roboto", sans-serif;font-size:14px;font-weight:normal;line-height:18.752px;margin-bottom:4px}.tttx-checkbox-group__heading{color:#212121;font-family:"Roboto", sans-serif;font-size:16px;font-weight:500;line-height:16.408px;margin-bottom:4px}';export{e as tttx_checkbox_group_1_4_2}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as o,c as i,h as t,g as l}from"./p-d490353a.js";import{p as e,d}from"./p-55799798.js";import"./p-112455b1.js";const s=class{constructor(t){o(this,t),this.closeButtonClick=i(this,"closeButtonClick",6),this.buttonClick=i(this,"buttonClick",7),this.emitDialogClose=()=>{this.closeButtonClick.emit()},this.data=void 0,this.size="regular",this.open=!1,this.allowOverflow=!1,this.elementSize=void 0}handleResize(){this.elementSize=window.innerWidth<698?"mobile":this.size}componentDidRender(){this.dialog&&(this.dialog.removeEventListener("close",this.emitDialogClose),this.dialog.addEventListener("close",this.emitDialogClose),this.open?this.dialog.open||this.dialog.showModal():this.dialog.close())}onCloseClickHandler(){this.open=!1,this.dialog.close()}onButtonClickHandler(o){this.buttonClick.emit({buttonNumber:o,buttonClicked:!0})}renderHeader(o){const i=o.title,l=!!o.hasClose;return t("div",{class:"dialog-box-header"},!!o.hasIcon&&t("tttx-
|
|
1
|
+
import{r as o,c as i,h as t,g as l}from"./p-d490353a.js";import{p as e,d}from"./p-55799798.js";import"./p-112455b1.js";const s=class{constructor(t){o(this,t),this.closeButtonClick=i(this,"closeButtonClick",6),this.buttonClick=i(this,"buttonClick",7),this.emitDialogClose=()=>{this.closeButtonClick.emit()},this.data=void 0,this.size="regular",this.open=!1,this.allowOverflow=!1,this.elementSize=void 0}handleResize(){this.elementSize=window.innerWidth<698?"mobile":this.size}componentDidRender(){this.dialog&&(this.dialog.removeEventListener("close",this.emitDialogClose),this.dialog.addEventListener("close",this.emitDialogClose),this.open?this.dialog.open||this.dialog.showModal():this.dialog.close())}onCloseClickHandler(){this.open=!1,this.dialog.close()}onButtonClickHandler(o){this.buttonClick.emit({buttonNumber:o,buttonClicked:!0})}renderHeader(o){const i=o.title,l=!!o.hasClose;return t("div",{class:"dialog-box-header"},!!o.hasIcon&&t("tttx-icon_1_4_2",{class:"dialog-box-icon",icon:o.iconName,color:o.iconColor}),t("h3",{class:"dialog-box-title"},i),l&&t("div",{class:"dialog-box-align-right close-button",onClick:()=>this.onCloseClickHandler()},t("tttx-icon_1_4_2",{class:"dialog-box-icon-close dialog-box-clickable",icon:"close",color:"black"})))}renderContent(o){if(o.isCustomHtml){const i=e.sanitize(o.customHtml,d);return t("div",{class:"dialog-box-body "+(this.allowOverflow?"":"overflow-hidden")},t("div",{innerHTML:i}))}return t("div",{class:"dialog-box-body "+(this.allowOverflow?"":"overflow-hidden")},t("span",{class:"dialog-box-content"},o.contentText))}renderFooter(o){const i=o.buttons,l=i.length>0,e=i.length>1,d="mobile"===this.elementSize;return t("div",{class:"dialog-box-footer"},t("div",{class:"dialog-box-align-right"},3==i.length&&t("tttx-button_1_4_2",{class:"dialog-box-spacing-button",onClick:()=>this.onButtonClickHandler(3),design:i[2].type,notext:d,icon:i[2].icon},!d&&i[2].name),e&&t("tttx-button_1_4_2",{class:"dialog-box-spacing-button",onClick:()=>this.onButtonClickHandler(2),design:i[1].type,icon:i[1].icon},i[1].name),l&&t("tttx-button_1_4_2",{onClick:()=>this.onButtonClickHandler(1),design:i[0].type,icon:i[0].icon},i[0].name)))}componentWillLoad(){this.elementSize=window.innerWidth<698?"mobile":this.size}render(){if(this.data)return this._data="string"==typeof this.data?JSON.parse(this.data):this.data,t("dialog",{ref:o=>this.dialog=o,class:`dialog-box ${this.allowOverflow?"overflow-visible":""} ${this.elementSize}`},t("div",{class:"contents"},t("div",{class:`dialog-box-padding dialog-box-header-box ${this._data.type||""}`},this.renderHeader(this._data.header)),t("div",{class:"dialog-box-padding dialog-box-body-box"},this.renderContent(this._data.body)),t("div",{class:"dialog-box-padding dialog-box-footer-box"},this.renderFooter(this._data.footer))))}get el(){return l(this)}};s.style='.material-symbols-rounded{font-variation-settings:"FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24}.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}h3{margin-block-start:0em;margin-block-end:0em}.dialog-box{background-color:#ffffff;border:1px solid #d5d5d5;border-radius:4px;box-shadow:0px 1px 5px #1111114d;padding:0}.overflow-visible{overflow-y:auto}.overflow-hidden{overflow:hidden}dialog::backdrop{background-color:#75757580}.dialog-box.small{width:400px;min-height:200px}.dialog-box.regular{width:600px;min-height:200px}.dialog-box.large{width:900px;min-height:200px}.dialog-box.mobile{max-width:424px;width:calc(100vw - 20px)}.dialog-box-clickable{cursor:pointer}.contents{display:flex;flex-direction:column;min-height:inherit}.dialog-box-padding{padding:8px 16px}.dialog-box-align-right{margin-left:auto;display:flex}.dialog-box-header-box{border-bottom:1px solid #d5d5d5;display:flex;flex-direction:row;height:36px;position:sticky;top:0;background:white;z-index:2}.dialog-box-header{display:flex;align-items:center;width:100%}.dialog-box-title{font-size:18;font-weight:500;font-family:"Roboto", serif}.dialog-box-icon{padding-right:8px;width:24px;height:24px}.dialog-box-icon-close{margin-left:auto;padding-top:3px;width:24px;height:24px}.dialog-box-content{font-size:16;font-weight:400;font-family:"Roboto", serif}.dialog-box-body{text-overflow:ellipsis}.dialog-box-body-box{padding:16px}.dialog-box-footer-box{display:flex;flex-direction:row;margin-top:auto;border-top:1px solid #d5d5d5;height:36px;position:sticky;bottom:0;background:white}.dialog-box-footer{display:flex;align-items:center;width:100%}.dialog-box-spacing-button{margin-right:8px}.dialog-box-header-box.info{border-bottom:1px solid #1479c6}.dialog-box-header-box.success{border-bottom:1px solid #a2bb31}.dialog-box-header-box.warning{border-bottom:1px solid #f59500}.dialog-box-header-box.critical{border-bottom:1px solid #dc0000}';export{s as tttx_dialog_box_1_4_2}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as o,h as t,H as n}from"./p-d490353a.js";const i=class{constructor(t){o(this,t)}render(){return t(n,null,t("div",{class:"tttx-checkbox-group__caption"},t("slot",null)))}};i.style='.material-symbols-rounded{font-variation-settings:"FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24}.tttx-checkbox-group{display:flex;flex-direction:column}.tttx-checkbox-group__caption{color:#757575;font-family:"Roboto", sans-serif;font-size:14px;font-weight:normal;line-height:18.752px;margin-bottom:4px}.tttx-checkbox-group__heading{color:#212121;font-family:"Roboto", sans-serif;font-size:16px;font-weight:500;line-height:16.408px;margin-bottom:4px}';export{i as
|
|
1
|
+
import{r as o,h as t,H as n}from"./p-d490353a.js";const i=class{constructor(t){o(this,t)}render(){return t(n,null,t("div",{class:"tttx-checkbox-group__caption"},t("slot",null)))}};i.style='.material-symbols-rounded{font-variation-settings:"FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24}.tttx-checkbox-group{display:flex;flex-direction:column}.tttx-checkbox-group__caption{color:#757575;font-family:"Roboto", sans-serif;font-size:14px;font-weight:normal;line-height:18.752px;margin-bottom:4px}.tttx-checkbox-group__heading{color:#212121;font-family:"Roboto", sans-serif;font-size:16px;font-weight:500;line-height:16.408px;margin-bottom:4px}';export{i as tttx_checkbox_group_caption_1_4_2}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as o,h as r,H as t}from"./p-d490353a.js";const e=class{constructor(r){o(this,r),this._iconcolor="black",this.notext=void 0,this.icon=void 0,this.iconposition="left",this.iconcolor="black",this.design="default"}componentWillLoad(){this._design=this.design,["primary","default","disabled","danger","borderless","borderless-circle"].includes(this.design)||(this._design="default"),"primary"!==this._design&&"danger"!==this._design||(this.iconcolor="white")}render(){return this._iconcolor=this.iconcolor,r(t,null,r("button",{class:`button ${this._design} ${this.icon?"withicon":""} ${this.icon&&this.iconposition?"icon"+this.iconposition:""} ${this.notext?"notext":""}`},this.icon&&"left"===this.iconposition&&r("div",{class:"icon-left"},r("tttx-
|
|
1
|
+
import{r as o,h as r,H as t}from"./p-d490353a.js";const e=class{constructor(r){o(this,r),this._iconcolor="black",this.notext=void 0,this.icon=void 0,this.iconposition="left",this.iconcolor="black",this.design="default"}componentWillLoad(){this._design=this.design,["primary","default","disabled","danger","borderless","borderless-circle"].includes(this.design)||(this._design="default"),"primary"!==this._design&&"danger"!==this._design||(this.iconcolor="white")}render(){return this._iconcolor=this.iconcolor,r(t,null,r("button",{class:`button ${this._design} ${this.icon?"withicon":""} ${this.icon&&this.iconposition?"icon"+this.iconposition:""} ${this.notext?"notext":""}`},this.icon&&"left"===this.iconposition&&r("div",{class:"icon-left"},r("tttx-icon_1_4_2",{icon:this.icon,color:this._iconcolor})),!this.notext&&r("div",{class:"button-content"},r("slot",null)),this.icon&&"right"===this.iconposition&&r("div",{class:"icon-right"},r("tttx-icon_1_4_2",{icon:this.icon,color:this._iconcolor}))))}};e.style='.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}';export{e as tttx_button_1_4_2}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,c as t,h as o,H as n}from"./p-d490353a.js";import{p as i,d as a}from"./p-55799798.js";import"./p-112455b1.js";function r(e,t,o,n){let i;if(i=void 0!==n?n.querySelector(".errorBubble"):"label"===e.parentElement.nodeName.toLowerCase()?e.parentElement.querySelector(".errorBubble"):e.parentElement.parentElement.querySelector(".errorBubble"),i)if(t){e.classList.add("invalid"),i.classList.add("visible");const t=document.createElement("span");t.className="material-symbols-rounded",t.textContent="warning",i.innerHTML="",i.append(t),i.append(o)}else i.classList.remove("visible"),e.classList.remove("invalid"),i.innerHTML=""}function l(e){var t,o;const n=e.target,i=n.getAttribute("data-formkey"),a=Array.from(n.parentElement.parentElement.parentElement.querySelectorAll(`[data-formkey=${i}]`));if(4===a.length){const i=a.find((e=>e.name.endsWith("starttime"))),l=a.find((e=>e.name.endsWith("endtime"))),s=a.find((e=>e.name.endsWith("startdate"))),c=a.find((e=>e.name.endsWith("enddate")));i.valueAsNumber>=l.valueAsNumber&&(null===(t=s.valueAsDate)||void 0===t?void 0:t.valueOf())===(null===(o=c.valueAsDate)||void 0===o?void 0:o.valueOf())?(r(l,!0,"End time cannot be the same or before the start time"),n.name.endsWith("starttime")&&this.validityCheckWrapper(e)):(l.setCustomValidity(""),r(l,!1,null),this.validityCheckWrapper(e))}}function s(e){const t=e.target,o=t.getAttribute("data-formkey"),n=Array.from(t.parentElement.parentElement.parentElement.querySelectorAll(`[type=time][data-formkey=${o}]`));if(n.length){const e=n.find((e=>e.name.endsWith("endtime")));e.setCustomValidity(""),r(e,!1,null)}}function c(e,t=!1){var o,n,i,a;const c=e.target;if(!c.value&&t)return;const d=c.getAttribute("data-compare-with"),p=c.parentElement.parentElement.parentElement.querySelector(`[name=${d}]`);(null===(o=c.valueAsDate)||void 0===o?void 0:o.valueOf())<(null===(n=p.valueAsDate)||void 0===n?void 0:n.valueOf())?(c.setCustomValidity(c.getAttribute("data-compare")),r(c,!0,c.getAttribute("data-compare"))):(null===(i=c.valueAsDate)||void 0===i?void 0:i.valueOf())===(null===(a=p.valueAsDate)||void 0===a?void 0:a.valueOf())?(c.setCustomValidity(""),this.validityCheckWrapper(e),l.bind(this)(e)):(s.bind(this)(e),this.validityCheckWrapper(e))}function d(e){const t=e.target,o=t.getAttribute("data-compare-to"),n=t.parentElement.parentElement.parentElement.querySelector(`[name=${o}]`);c.bind(this)({target:n},!0),this.validityCheckWrapper(e)}const p=class{constructor(o){e(this,o),this.dataSubmitted=t(this,"dataSubmitted",7),this.dataChanged=t(this,"dataChanged",7),this.template=document.createElement("template"),this.formschema=void 0,this.data=void 0}onFormSchemaChange(e){return this._formSchema="string"==typeof e?JSON.parse(e):e,this._formSchema}onDataChange(e){return this._data="string"==typeof e?JSON.parse(e):e,this._data}fieldChanged(e){const t=e.target;let o=t.value;"checkbox"===t.type&&(o=t.checked?"on":"off"),this.dataChanged.emit({name:t.name,value:o})}async submit(){this.submitButton.click()}async setSelectOptions(e,t){const o=this.fieldset.querySelector(`[name=${e}]`),n=this.fieldset.querySelector(`[name=overlay-${e}]`),i=new DocumentFragment;for(const e of t){const t=document.createElement("option");t.innerText=e.label,t.value=e.value,i.appendChild(t)}o.replaceChildren(i),n.optionsData=t,await n.setSelectedItem(t[0].value)}doSubmit(e){if(e.preventDefault(),this.fieldset.querySelectorAll("[custom-validation-set=true]").length)return;const t=new FormData(e.target),o=this._formSchema.properties;for(const e of Object.keys(o))"checkbox"!==o[e].form.type||t.has(e)||t.append(e,"off");this.dataSubmitted.emit(t)}componentWillLoad(){this.onFormSchemaChange(this.formschema),this.data&&this.onDataChange(this.data)}componentWillRender(){this.template=document.createElement("template"),this.populateFormFromSchema()}createSelect(e,t){var o,n,i,a;const r=document.createElement("select");r.setAttribute("name",e),t.options.forEach((e=>{this.appendOption(r,e)})),(null===(o=this._data)||void 0===o?void 0:o[e])&&r.classList.remove("placeholder");const l=document.createElement("tttx-select-box_1_4_2");l.optionsData=null===(n=t.options)||void 0===n?void 0:n.filter((e=>!e.placeholder)),l.placeholder=null===(a=null===(i=t.options)||void 0===i?void 0:i.filter((e=>e.placeholder))[0])||void 0===a?void 0:a.label,l.inline=!1,l.searchEnabled=!0,l.style.width="100%",l.style.marginTop="6px",l.setAttribute("name","overlay-"+e);const s=document.createDocumentFragment();return s.append(l),r.style.display="none",l.addEventListener("selectItemEvent",this.selectItemEventCallback.bind(r)),{input:r,overlay:s}}selectItemEventCallback(e){const t=this;t.value=e.detail.value,t.onblur({target:t}),t.onchange({target:t})}appendOption(e,t){const o=document.createElement("option");o.setAttribute("value",t.value),t.placeholder&&(o.setAttribute("disabled",""),o.setAttribute("selected",""),o.setAttribute("hidden",""),e.classList.add("placeholder")),t.label&&(o.innerHTML=i.sanitize(t.label,a)),e.appendChild(o)}createInput(e,t){var o;const n=document.createElement("input");return n.type=t.type,n.name=e,n.placeholder=null!==(o=t.placeholder)&&void 0!==o?o:"",n.autocomplete="off",n.autocapitalize="off",t.readonly&&(n.readOnly=!0),n}createTextArea(e,t){var o;const n=document.createElement("textarea");return n.name=e,n.placeholder=null!==(o=t.placeholder)&&void 0!==o?o:"",n.autocomplete="off",n.autocapitalize="off",t.readonly&&(n.readOnly=!0),"none"===t.resize&&n.classList.add("resize-none"),n}createStartEndDateComponent(e,t){const o=document.createElement("input"),n=document.createElement("input");let i,a;o.type=n.type="date",o.name=`${e}-startdate`,n.name=`${e}-enddate`,o.setAttribute("data-formkey",e),n.setAttribute("data-formkey",e),t.readonly&&(o.readOnly=!0,n.readOnly=!0),this.applyValidation(o,{required:{message:"Please enter a start date"},dateCompare:{to:n.name}}),this.applyValidation(n,{required:{message:"Please enter an end date"},dateCompare:{with:o.name,message:"End date cannot be before the start date"}}),t.includeTime&&(i=document.createElement("input"),a=document.createElement("input"),i.type=a.type="time",i.name=`${e}-starttime`,a.name=`${e}-endtime`,i.setAttribute("data-formkey",e),a.setAttribute("data-formkey",e),t.readonly&&(i.readOnly=!0,a.readOnly=!0),this.applyValidation(i,{required:{message:"Please enter a start time"}}),this.applyValidation(a,{required:{message:"Please enter an end time"}}));const r=document.createElement("label");r.innerText="Start date";const l=document.createElement("label");l.innerText="End date";const s=document.createElement("div"),c=document.createElement("div");return s.className=c.className="outer-container inputBlock",r.className=l.className="flex-label",s.append(o),i&&s.append(i),r.append(s),r.append(this.createErrorBubble()),c.append(n),a&&c.append(a),l.append(c),l.append(this.createErrorBubble()),{start:r,end:l}}applyValidation(e,t){var o,n;t.required&&(e.setAttribute("required",""),e.setAttribute("data-required",null!==(o=t.required.message)&&void 0!==o?o:"")),t.pattern&&(e.setAttribute("pattern",t.pattern.pattern),e.setAttribute("data-pattern",null!==(n=t.pattern.message)&&void 0!==n?n:"")),t.badInput&&e.setAttribute("data-badinput",t.badInput.message),t.minmax&&(e.setAttribute("min",t.minmax.min),e.setAttribute("max",t.minmax.max),e.setAttribute("data-range",t.minmax.message)),t.maxlength&&e.setAttribute("maxlength",t.maxlength),t.dateCompare&&(t.dateCompare.message&&t.dateCompare.with&&(e.setAttribute("data-compare",t.dateCompare.message),e.setAttribute("data-compare-with",t.dateCompare.with)),t.dateCompare.to&&e.setAttribute("data-compare-to",t.dateCompare.to))}createErrorBubble(){const e=document.createElement("div");return e.className="errorBubble",e}appendCheckboxInput(e,t,o){if(e.label){const e=document.createElement("br");o.appendChild(e)}if(o.appendChild(t),!e.inlineLabel)return;const n=document.createElement("span");n.className="inlineLabel",n.textContent=e.inlineLabel,o.appendChild(n)}createLabel(e,t,o=null,n){var i;const a=document.createElement("div");let r="outer-container inputBlock";const l=document.createElement("label");if(l.innerText=e.label,!(null===(i=e.validation)||void 0===i?void 0:i.required)&&e.label){const e=document.createElement("span");e.className="optional",e.innerHTML=" (optional)",l.appendChild(e)}return"radio"===e.type&&(r+=" radioBlock"),a.className=r,e.readonly&&l.classList.add("readonly"),"checkbox"===e.type?this.appendCheckboxInput(e,t,l):(o&&a.appendChild(o),a.appendChild(t)),"checkbox"!==e.type&&l.appendChild(a),l.appendChild(n),l}createRadio(e,t){var o,n;const i=document.createDocumentFragment();for(const a of t.options){const r=document.createElement("input");r.type="radio",r.name=e,r.value=a.value,(null===(o=null==t?void 0:t.validation)||void 0===o?void 0:o.required)&&(r.setAttribute("required","required"),r.setAttribute("data-required",null!==(n=t.validation.required.message)&&void 0!==n?n:""));const l=document.createElement("span");l.innerText=a.label,i.appendChild(r),i.appendChild(l),i.appendChild(document.createElement("br"))}return i}populateFormFromSchema(){var e;if(!this._formSchema)return;const t=this._formSchema.properties,o=Object.keys(t);for(const n of o){const o=t[n].form;if("startenddate"===o.type){const{start:e,end:t}=this.createStartEndDateComponent(n,o);this.template.content.append(e),this.template.content.append(t);continue}let i={};switch(o.type){case"select":i=this.createSelect(n,o);break;case"radio":i.input=this.createRadio(n,o);break;case"textarea":i.input=this.createTextArea(n,o);break;default:i.input=this.createInput(n,o)}o.validation&&"radio"!==o.type&&this.applyValidation(i.input,o.validation);const a=this.createErrorBubble(),l=this.createLabel(o,i.input,i.overlay,a);if(null===(e=o.validation)||void 0===e?void 0:e.invalid){const e=o.validation.invalid.message;i.input.setCustomValidity(e),r(i.input,!0,e)}this.template.content.append(l)}}componentDidRender(){if(!this._formSchema)return;const e=this.template.content,t=this._formSchema.properties,o=Object.keys(t);for(const n of o)this.applyValidationFunctionsToFormElement(e,n,t);this._data&&Object.keys(this._data).length>0&&this.populateFormWithExistingData(e),this.fieldset.replaceChildren(e)}applyValidationFunctionsToFormElement(e,t,o){const n=e.querySelectorAll(`[name^=${t}]`);for(const e of n)e.oninvalid=this.validityCheckWrapper.bind(this),e.onblur=this.validityCheckWrapper.bind(this),e.onkeyup=this.fieldChanged.bind(this),e.onchange=this.fieldChanged.bind(this),"select"===o[t].form.type&&e.classList.contains("placeholder")&&e.addEventListener("change",this.selectRemovePlaceholderCallback.bind(e)),"startenddate"===o[t].form.type&&e.hasAttribute("data-compare-with")&&(e.oninvalid=c.bind(this),e.onblur=c.bind(this)),"startenddate"===o[t].form.type&&"time"===e.type&&(e.oninvalid=l.bind(this),e.onblur=l.bind(this)),"startenddate"===o[t].form.type&&e.hasAttribute("data-compare-to")&&(e.oninvalid=d.bind(this),e.onblur=d.bind(this))}populateFormWithExistingData(e){const t=Object.keys(this._data);for(const o of t){const t=e.querySelectorAll(`[name=${o}]`);for(const n of t)switch(n.type){case"checkbox":"on"===this._data[o]&&(n.checked=!0);break;case"radio":n.value===this._data[o]&&(n.checked=!0);break;case"select":case"select-one":e.querySelector(`[name=overlay-${o}]`).selectedValue=this._data[o],n.value=this._data[o];break;default:n.value=this._data[o]}}}selectRemovePlaceholderCallback(){this.classList.remove("placeholder")}validityCheckWrapper(e){const{target:t,hasError:o,errorMessage:n}=function(e){var t,o,n,i;e.preventDefault&&e.preventDefault();const a=e.target;let r=!0,l="";switch(a.hasAttribute("custom-validation-set")||(a.value.length&&!a.value.replace(/\s/g,"").length?(l="This field cannot be left blank",a.setCustomValidity(l)):a.setCustomValidity&&a.setCustomValidity("")),!0){case a.validity.valueMissing:l=null!==(t=a.dataset.required)&&void 0!==t?t:"This field is required";break;case a.validity.patternMismatch:l=null!==(o=a.dataset.pattern)&&void 0!==o?o:"Incorrect format";break;case a.validity.badInput:l=null!==(n=a.dataset.badinput)&&void 0!==n?n:"Wrong input type";break;case a.validity.rangeOverflow||a.validity.rangeUnderflow:l=null!==(i=a.dataset.range)&&void 0!==i?i:"Invalid value";break;case a.validity.customError:l=a.validationMessage;break;default:r=!1}return{target:a,hasError:r,errorMessage:l}}(e);r(t,o,n)}assignFieldsetReference(e){this.fieldset=e}assignButtonReference(e){this.submitButton=e}async setValidationFor(e,t){const o=this.fieldset.querySelector(`[name=${e}]`);o.disabled||(o.setCustomValidity(t),o.setAttribute("custom-validation-set","true"),r(o,!0,t))}async clearValidationFor(e){const t=this.fieldset.querySelector(`[name=${e}]`);t.setCustomValidity(""),t.removeAttribute("custom-validation-set"),r(t,!1,"")}async disableFormField(e){const t=this.fieldset.querySelector(`[name=${e}]`);if(t.hasAttribute("custom-validation-set"))return;t.disabled=!0;let o=t.parentElement;do{"LABEL"!==o.nodeName&&(o=o.parentElement)}while("LABEL"!==o.nodeName);o.style.display="none"}async enableFormField(e){const t=this.fieldset.querySelector(`[name=${e}]`);t.disabled=!1;let o=t.parentElement;do{"LABEL"!==o.nodeName&&(o=o.parentElement)}while("LABEL"!==o.nodeName);o.style.display="block"}render(){return o(n,null,o("form",{onSubmit:this.doSubmit.bind(this)},o("fieldset",{ref:this.assignFieldsetReference.bind(this)}),o("input",{type:"submit",ref:this.assignButtonReference.bind(this),style:{display:"none"}})))}static get watchers(){return{formschema:["onFormSchemaChange"],data:["onDataChange"]}}};p.style='.material-symbols-rounded{font-variation-settings:"FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24}.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}.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}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:block}fieldset{margin:0;padding:0;border:none}label{display:block;position:relative;margin-bottom:16px}.inlineLabel{font-weight:400;display:inline-block;vertical-align:top;padding-top:4px}input[type=checkbox]{width:18px;height:18px}input~label{font-weight:400}select{font-family:"Roboto", serif;box-sizing:border-box;width:100%;height:36px;padding:0 16px;font-size:16px;border:1px solid #d5d5d5;border-radius:4px;margin-top:4px}.placeholder{color:#9e9e9e}.placeholder option{color:initial}select.invalid:invalid{border:1px solid #dc0000}select~.errorBubble{position:relative;font-size:14px;font-weight:normal;width:100%;font-family:"Roboto", sans-serif;color:#dc0000;display:flex;align-content:center;align-items:center;justify-items:center}select~.errorBubble:not(.visible){visibility:hidden}select~.errorBubble span{color:#dc0000;font-size:16px;margin-right:4px;height:16px}select.invalid:invalid~.errorBubble{position:relative;font-size:14px;font-weight:normal;width:100%;font-family:"Roboto", sans-serif;color:#dc0000;visibility:visible}select:focus{border-color:#1479c6}select:focus-visible{outline:none}.button{padding:0 16px}.footer{display:flex;gap:16px;flex-direction:row-reverse}label.flex-label{display:flex;flex-direction:column;width:346px;box-sizing:border-box}label>.outer-container>input[type=date]{min-width:0;width:200px}label.flex-label input[type=time]{min-width:auto;text-align:center;width:130px;margin-left:16px}label>.outer-container>input[type=date],label.flex-label input[type=time]{line-height:36px}';export{p as tttx_form_1_4_2}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as s,H as i}from"./p-d490353a.js";const r=class{constructor(s){t(this,s),this.percentage=void 0,this.thresholds=void 0,this.color="#d5d5d5",this.min="1",this.labelid=void 0,this._percentage=void 0,this._ranges=void 0,this._min=void 0}componentWillRender(){let t;if(this._percentage="string"==typeof this.percentage?parseInt(this.percentage):this.percentage,this.thresholds){t="string"==typeof this.thresholds?JSON.parse(this.thresholds):this.thresholds,this._ranges=[{range:[0],color:t[0].color}];for(const[s,i]of t.entries())this._ranges[this._ranges.length-1].range.push(i.threshold),this._ranges[this._ranges.length-1].color=i.color,s<t.length-1&&this._ranges.push({range:[i.threshold],color:void 0})}this._min=parseInt(this.min)}getColour(){return this._ranges&&0!==this._ranges.length?this._ranges.find((t=>this._percentage>=t.range[0]&&this._percentage<=t.range[1])).color:this.color}getWidth(){return Math.min(Math.max(this._percentage,Math.min(this._min,100)),100)}render(){return s(i,null,s("div",{class:"progress"},s("div",{class:"bar",style:{"background-color":this.getColour(),width:`${this.getWidth()}%`},role:"progressbar","aria-valuemin":this._min,"aria-valuemax":"100","aria-valuenow":this._percentage,"aria-labelledby":this.labelid})))}};r.style=".sc-tttx-percentage-
|
|
1
|
+
import{r as t,h as s,H as i}from"./p-d490353a.js";const r=class{constructor(s){t(this,s),this.percentage=void 0,this.thresholds=void 0,this.color="#d5d5d5",this.min="1",this.labelid=void 0,this._percentage=void 0,this._ranges=void 0,this._min=void 0}componentWillRender(){let t;if(this._percentage="string"==typeof this.percentage?parseInt(this.percentage):this.percentage,this.thresholds){t="string"==typeof this.thresholds?JSON.parse(this.thresholds):this.thresholds,this._ranges=[{range:[0],color:t[0].color}];for(const[s,i]of t.entries())this._ranges[this._ranges.length-1].range.push(i.threshold),this._ranges[this._ranges.length-1].color=i.color,s<t.length-1&&this._ranges.push({range:[i.threshold],color:void 0})}this._min=parseInt(this.min)}getColour(){return this._ranges&&0!==this._ranges.length?this._ranges.find((t=>this._percentage>=t.range[0]&&this._percentage<=t.range[1])).color:this.color}getWidth(){return Math.min(Math.max(this._percentage,Math.min(this._min,100)),100)}render(){return s(i,null,s("div",{class:"progress"},s("div",{class:"bar",style:{"background-color":this.getColour(),width:`${this.getWidth()}%`},role:"progressbar","aria-valuemin":this._min,"aria-valuemax":"100","aria-valuenow":this._percentage,"aria-labelledby":this.labelid})))}};r.style=".sc-tttx-percentage-bar_1_4_2-h{display:block}.progress.sc-tttx-percentage-bar_1_4_2{width:100%;background-color:#dbdbdb}.progress.sc-tttx-percentage-bar_1_4_2 .bar.sc-tttx-percentage-bar_1_4_2{height:20px}";export{r as tttx_percentage_bar_1_4_2}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as o,H as e}from"./p-d490353a.js";const l=class{constructor(o){t(this,o),this.data=void 0,this.sorteroptions=void 0,this.filteroptions=void 0,this.filterheader="Filter"}render(){return o(e,null,o("div",{class:"container"},o("tttx-
|
|
1
|
+
import{r as t,h as o,H as e}from"./p-d490353a.js";const l=class{constructor(o){t(this,o),this.data=void 0,this.sorteroptions=void 0,this.filteroptions=void 0,this.filterheader="Filter"}render(){return o(e,null,o("div",{class:"container"},o("tttx-toolbar_1_4_2",{border:!0},o("span",{slot:"before"},o("tttx-sorter_1_4_2",{sorterKey:"data-pattern-list",fieldOptionsData:this.sorteroptions,defaultOption:"Sort by"}),o("tttx-filter_1_4_2",{"filter-options":JSON.stringify(this.filteroptions),showSelectAll:!1,"show-option-icons":!0,"filter-header":this.filterheader,"filter-key":"data-pattern-list"})),o("span",{slot:"after"},o("tttx-standalone-input_1_4_2",{class:"qualifications-filter",showerrorbubble:!1,inputicon:"search",inline:!0,required:!0,placeholder:"Search",type:"text",maxlength:30}))),o("tttx-toolbar_1_4_2",{border:!1},o("span",{slot:"before"},o("tttx-button_1_4_2",{design:"primary",icon:"add"},"Add"))),o("tttx-list_1_4_2",{data:this.data})))}};l.style=":host{display:block}";export{l as tttx_data_pattern_1_4_2}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as i,H as o}from"./p-d490353a.js";const d=class{constructor(i){t(this,i),this.keyvalues=void 0,this.horizontal=void 0,this.spacedout=void 0,this._elements=void 0}renderSingleElements(t){const o=Object.keys(t),d=[],l=(100/o.length).toString()+"%";for(const s of o)this.horizontal||this.spacedout?d.push(i("div",{style:{maxWidth:l}},i("dt",null,s),i("dd",null,t[s]))):(d.push(i("dt",null,s)),d.push(i("dd",null,t[s])));return d}renderArrayElements(t){const o=[],d=(100/t.length).toString()+"%";for(const l of t){const t=l;this.horizontal||this.spacedout?o.push(i("div",{style:{maxWidth:d}},i("dt",{class:"mainTitle"},t.title),i("dt",{class:"subTitle"},t.subTitle),i("dd",null,t.data))):(o.push(i("dt",{class:"mainTitle"},t.title)),o.push(i("dt",{class:"subTitle"},t.subTitle)),o.push(i("dd",null,t.data)))}return o}componentWillRender(){if(!this.keyvalues)return;let t;t="string"==typeof this.keyvalues?JSON.parse(this.keyvalues):this.keyvalues,this._elements=Array.isArray(t)?this.renderArrayElements(t):this.renderSingleElements(t)}render(){return i(o,null,i("dl",{class:[this.horizontal?"horizontal":void 0,this.spacedout?" spacedout":void 0].join(" ").trim()},this._elements))}};d.style=':host{display:block}dl{margin:0;padding:0;font-family:"Roboto", sans-serif;cursor:default}dt{font-weight:400;font-size:16px;margin-bottom:4px}dt,dt.subTitle{color:#757575}dt.mainTitle{color:#212121}dt,dd{overflow-wrap:anywhere}dd{margin:0;font-weight:400;font-size:16px;color:#212121}dd:not(:last-child){margin-bottom:16px}dl.spacedout,dl.horizontal{display:flex;flex-direction:row;width:100%}dl.spacedout{justify-content:space-between}dl.horizontal div{flex-grow:1}@media (max-width: 769px){dl.horizontal{flex-wrap:wrap}dl.horizontal div{width:50%;max-width:50% !important}}@media (max-width: 600px){dl.horizontal div{width:100%;max-width:100% !important}}';export{d as
|
|
1
|
+
import{r as t,h as i,H as o}from"./p-d490353a.js";const d=class{constructor(i){t(this,i),this.keyvalues=void 0,this.horizontal=void 0,this.spacedout=void 0,this._elements=void 0}renderSingleElements(t){const o=Object.keys(t),d=[],l=(100/o.length).toString()+"%";for(const s of o)this.horizontal||this.spacedout?d.push(i("div",{style:{maxWidth:l}},i("dt",null,s),i("dd",null,t[s]))):(d.push(i("dt",null,s)),d.push(i("dd",null,t[s])));return d}renderArrayElements(t){const o=[],d=(100/t.length).toString()+"%";for(const l of t){const t=l;this.horizontal||this.spacedout?o.push(i("div",{style:{maxWidth:d}},i("dt",{class:"mainTitle"},t.title),i("dt",{class:"subTitle"},t.subTitle),i("dd",null,t.data))):(o.push(i("dt",{class:"mainTitle"},t.title)),o.push(i("dt",{class:"subTitle"},t.subTitle)),o.push(i("dd",null,t.data)))}return o}componentWillRender(){if(!this.keyvalues)return;let t;t="string"==typeof this.keyvalues?JSON.parse(this.keyvalues):this.keyvalues,this._elements=Array.isArray(t)?this.renderArrayElements(t):this.renderSingleElements(t)}render(){return i(o,null,i("dl",{class:[this.horizontal?"horizontal":void 0,this.spacedout?" spacedout":void 0].join(" ").trim()},this._elements))}};d.style=':host{display:block}dl{margin:0;padding:0;font-family:"Roboto", sans-serif;cursor:default}dt{font-weight:400;font-size:16px;margin-bottom:4px}dt,dt.subTitle{color:#757575}dt.mainTitle{color:#212121}dt,dd{overflow-wrap:anywhere}dd{margin:0;font-weight:400;font-size:16px;color:#212121}dd:not(:last-child){margin-bottom:16px}dl.spacedout,dl.horizontal{display:flex;flex-direction:row;width:100%}dl.spacedout{justify-content:space-between}dl.horizontal div{flex-grow:1}@media (max-width: 769px){dl.horizontal{flex-wrap:wrap}dl.horizontal div{width:50%;max-width:50% !important}}@media (max-width: 600px){dl.horizontal div{width:100%;max-width:100% !important}}';export{d as tttx_keyvalue_block_1_4_2}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as o,c as t,h as i,H as e,g as s}from"./p-d490353a.js";import{p as n,d}from"./p-55799798.js";import"./p-112455b1.js";const l=class{constructor(i){o(this,i),this.selectItemEvent=t(this,"selectItemEvent",7),this.toggleOpen=t(this,"toggleOpen",7),this.changesApplied=t(this,"changesApplied",7),this.bodyOffset={},this.optionsData=null,this.label=void 0,this.inline=void 0,this.placeholder="",this.searchEnabled=void 0,this.htmlVisibleValue=void 0,this.visibleValue=void 0,this.open=!1,this.unsavedSelectedItems=void 0,this.searchTerm=""}handleCloseSelectBox(){this.open=!1}handleBlur(){this.open=!1,this.toggleOpen.emit(!1)}handleOptionsDataChange(){this.unsavedSelectedItems="string"==typeof this.optionsData?JSON.parse(this.optionsData):this.optionsData}safelyCloneArray(o){return JSON.parse(JSON.stringify(o))}onDropdownClicked(){this.open=!this.open,this.searchTerm="",this.calculateDropdownMenuOffset(),this.toggleOpen.emit(this.open)}onCancel(){this.open=!1,this.unsavedSelectedItems=this.safelyCloneArray(this._optionsData),this.toggleOpen.emit(!1)}applyChanges(){this.open=!1,this.changesApplied.emit(this.safelyCloneArray(this.unsavedSelectedItems))}onItemSelected(o){const t=this.unsavedSelectedItems.findIndex((t=>t.value===o.value));this.unsavedSelectedItems[t]=Object.assign(Object.assign({},o),{selected:!o.selected}),this.unsavedSelectedItems=[...this.unsavedSelectedItems],this.selectItemEvent.emit(o)}dropdownSelectorContent(){if(!this._optionsData.find((o=>o.selected)))return i("div",{class:"placeholder"},this.placeholder);if(this.htmlVisibleValue){const o=n.sanitize(this.visibleValue,d);return i("div",{class:"dropdown-selector-html-content",innerHTML:o})}return i("div",null,this.visibleValue)}optionFoundInSearchTerm(o){return-1===o.label.toLowerCase().indexOf(this.searchTerm.toLowerCase())}dropdownOption(o){const t=this.searchEnabled&&this.optionFoundInSearchTerm(o),e=o.selected?"check_box":"check_box_outline_blank",s=o.selected?"blue":"grey";if(o.html){const l=n.sanitize(o.html,d);return i("div",{class:`dropdown-option ${t?"hidden":""} ${o.selected?"selected":""}`,onClick:this.onItemSelected.bind(this,o),key:o.label},i("tttx-
|
|
1
|
+
import{r as o,c as t,h as i,H as e,g as s}from"./p-d490353a.js";import{p as n,d}from"./p-55799798.js";import"./p-112455b1.js";const l=class{constructor(i){o(this,i),this.selectItemEvent=t(this,"selectItemEvent",7),this.toggleOpen=t(this,"toggleOpen",7),this.changesApplied=t(this,"changesApplied",7),this.bodyOffset={},this.optionsData=null,this.label=void 0,this.inline=void 0,this.placeholder="",this.searchEnabled=void 0,this.htmlVisibleValue=void 0,this.visibleValue=void 0,this.open=!1,this.unsavedSelectedItems=void 0,this.searchTerm=""}handleCloseSelectBox(){this.open=!1}handleBlur(){this.open=!1,this.toggleOpen.emit(!1)}handleOptionsDataChange(){this.unsavedSelectedItems="string"==typeof this.optionsData?JSON.parse(this.optionsData):this.optionsData}safelyCloneArray(o){return JSON.parse(JSON.stringify(o))}onDropdownClicked(){this.open=!this.open,this.searchTerm="",this.calculateDropdownMenuOffset(),this.toggleOpen.emit(this.open)}onCancel(){this.open=!1,this.unsavedSelectedItems=this.safelyCloneArray(this._optionsData),this.toggleOpen.emit(!1)}applyChanges(){this.open=!1,this.changesApplied.emit(this.safelyCloneArray(this.unsavedSelectedItems))}onItemSelected(o){const t=this.unsavedSelectedItems.findIndex((t=>t.value===o.value));this.unsavedSelectedItems[t]=Object.assign(Object.assign({},o),{selected:!o.selected}),this.unsavedSelectedItems=[...this.unsavedSelectedItems],this.selectItemEvent.emit(o)}dropdownSelectorContent(){if(!this._optionsData.find((o=>o.selected)))return i("div",{class:"placeholder"},this.placeholder);if(this.htmlVisibleValue){const o=n.sanitize(this.visibleValue,d);return i("div",{class:"dropdown-selector-html-content",innerHTML:o})}return i("div",null,this.visibleValue)}optionFoundInSearchTerm(o){return-1===o.label.toLowerCase().indexOf(this.searchTerm.toLowerCase())}dropdownOption(o){const t=this.searchEnabled&&this.optionFoundInSearchTerm(o),e=o.selected?"check_box":"check_box_outline_blank",s=o.selected?"blue":"grey";if(o.html){const l=n.sanitize(o.html,d);return i("div",{class:`dropdown-option ${t?"hidden":""} ${o.selected?"selected":""}`,onClick:this.onItemSelected.bind(this,o),key:o.label},i("tttx-icon_1_4_2",{icon:e,color:s,class:"checkbox-icon"}),i("div",{innerHTML:l}))}return i("div",{class:`dropdown-option ${t?"hidden":""} ${o.selected?"selected":""}`,onClick:this.onItemSelected.bind(this,o),key:o.label},i("tttx-icon_1_4_2",{icon:e,color:s,class:"checkbox-icon"}),i("div",{class:"plaintext-option"},o.label))}handleSearchInput(o){this.searchTerm=o.target.value}calculateDropdownMenuOffset(){const o=this.el.shadowRoot.querySelector(".dropdown-selector"),t=o.getBoundingClientRect().bottom,i=o.getBoundingClientRect();let e=Math.min(288,36*this._optionsData.length)+45+8;this.searchEnabled&&(e+=52),this.bodyOffset=t+e>window.innerHeight?{top:window.innerHeight-(e+16)+"px",position:"fixed",width:`${o.offsetWidth}px`,zIndex:"10"}:{position:"fixed",left:i.left,top:i.top,width:i.width-2+"px",zIndex:"10"}}render(){if(!this.optionsData)return;this._optionsData="string"==typeof this.optionsData?JSON.parse(this.optionsData):this.optionsData,this.unsavedSelectedItems||(this.unsavedSelectedItems=this.safelyCloneArray(this._optionsData));const o=this.open?"expand_less":"expand_more";return i(e,{class:this.inline?"inline":"block"},this.label&&i("div",{class:"label"},this.label),i("div",{tabindex:"0",class:"dropdown-container"},i("div",{class:"dropdown-selector",onClick:this.onDropdownClicked.bind(this)},this.dropdownSelectorContent(),i("div",{class:"dropdown-selector-chevron"},i("tttx-icon_1_4_2",{icon:o,color:"black"}))),this.open&&i("div",{class:"dropdown-body-container"},i("div",{class:"dropdown-body",style:Object.assign({},this.bodyOffset)},this.searchEnabled&&i("div",{class:"searchbox"},i("tttx-standalone-input_1_4_2",{type:"text",placeholder:"Search",label:"",required:!0,showerrorbubble:!1,iconleft:"search",onInput:this.handleSearchInput.bind(this),inline:!0})),i("div",{class:"dropdown-options-list"},this.unsavedSelectedItems.map((o=>this.dropdownOption(o)))),i("div",{class:"footer"},i("tttx-button_1_4_2",{design:"primary",onClick:this.applyChanges.bind(this)},"Apply"),i("tttx-button_1_4_2",{onClick:this.onCancel.bind(this)},"Cancel"))))))}get el(){return s(this)}static get watchers(){return{optionsData:["handleOptionsDataChange"]}}};l.style='.material-symbols-rounded{font-variation-settings:"FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24}:host{display:flex;gap:4px}.label{font-size:16px;font-style:normal;font-weight:500;line-height:normal}:host(.inline) .label{padding-top:8px}:host(.block){flex-direction:column}.dropdown-container{position:relative;display:flex;flex-direction:column;width:100%}.dropdown-container:focus-visible{outline:none}.dropdown-container:focus .dropdown-selector{border:1px solid #1479c6}.dropdown-selector,.dropdown-body{display:flex;border-radius:4px;background-color:white}.dropdown-selector{align-items:center;gap:8px;padding:6px 8px 6px 16px;cursor:pointer;border:1px solid #d5d5d5}.dropdown-selector *{font-weight:400}.dropdown-selector-chevron{margin-left:auto;height:24px;align-self:flex-start}.dropdown-selector-chevron>tttx-icon{cursor:pointer}.dropdown-selector-html-content{display:flex;gap:8px;flex-wrap:wrap}.dropdown-body-container{position:relative}.dropdown-body{position:absolute;display:flex;flex-direction:column;box-shadow:0px 1px 5px #1111114D;padding-bottom:8px;border:1px solid #d5d5d5;width:100%}.dropdown-options-list{display:flex;flex-direction:column;overflow-y:auto;scrollbar-gutter:stable;max-height:288px}.dropdown-option{padding:6px 8px 6px 16px;cursor:pointer;display:flex;gap:8px}.dropdown-option .checkbox-icon{height:24px}.dropdown-option .plaintext-option{line-height:24px}.dropdown-option:hover{background-color:#1111110d}.dropdown-option:active,.dropdown-option.selected{background-color:#ebfbfc}.placeholder{color:#9e9e9e}.searchbox{padding:8px 16px 8px 16px;height:52px;box-sizing:border-box}.searchbox tttx-standalone-input{margin-top:-4px}.hidden{display:none}.footer{display:flex;gap:8px;flex-direction:row-reverse;padding:8px 16px 0 16px;border-top:1px solid #d5d5d5}';export{l as tttx_multiselect_box_1_4_2}
|
package/dist/tttx/tttx.esm.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,b as t}from"./p-d490353a.js";export{s as setNonce}from"./p-d490353a.js";(()=>{const t=import.meta.url,o={};return""!==t&&(o.resourcesUrl=new URL(".",t).href),e(o)})().then((e=>t([["p-ee358ce4",[[1,"tttx-data-
|
|
1
|
+
import{p as e,b as t}from"./p-d490353a.js";export{s as setNonce}from"./p-d490353a.js";(()=>{const t=import.meta.url,o={};return""!==t&&(o.resourcesUrl=new URL(".",t).href),e(o)})().then((e=>t([["p-ee358ce4",[[1,"tttx-data-pattern_1_4_2",{data:[1],sorteroptions:[1],filteroptions:[1],filterheader:[1]}]]],["p-c08a54f9",[[1,"tttx-form_1_4_2",{formschema:[1025],data:[1032],submit:[64],setSelectOptions:[64],setValidationFor:[64],clearValidationFor:[64],disableFormField:[64],enableFormField:[64]}]]],["p-f4db1cf2",[[1,"tttx-multiselect-box_1_4_2",{optionsData:[1,"options-data"],label:[1],inline:[4],placeholder:[1],searchEnabled:[4,"search-enabled"],htmlVisibleValue:[4,"html-visible-value"],visibleValue:[1,"visible-value"],open:[32],unsavedSelectedItems:[32],searchTerm:[32]},[[0,"closeSelectBox","handleCloseSelectBox"],[0,"blur","handleBlur"]]]]],["p-983d63ff",[[1,"tttx-dialog-box_1_4_2",{data:[1025],size:[1],open:[1028],allowOverflow:[4,"allow-overflow"],elementSize:[32]},[[9,"resize","handleResize"]]]]],["p-23f45005",[[1,"tttx-dialog_1_4_2",{header:[1],type:[1],size:[1],open:[4],allowOverflow:[4,"allow-overflow"],closeEnabled:[4,"close-enabled"],elementSize:[32]},[[9,"resize","handleResize"]]]]],["p-6deb8699",[[1,"tttx-tree-view_1_4_2",{data:[1040],treeData:[32]}]]],["p-59c7b049",[[0,"tttx-checkbox_1_4_2",{checkboxId:[1,"checkbox-id"],label:[1],inline:[4],indeterminate:[4],checked:[4]}]]],["p-63ad6fb7",[[1,"tttx-expander_1_4_2",{name:[1],open:[4],lefticon:[1],lefticoncolor:[1],isExpanded:[32]}]]],["p-5d2706b1",[[2,"tttx-tabs_1_4_2",{tabsName:[1,"tabs-name"],navigation:[4],wide:[4],tabs:[1],_tabs:[32]},[[0,"keydown","handleKeyDown"]]]]],["p-a01e679a",[[4,"tttx-checkbox-group-caption_1_4_2"]]],["p-1e5ff5f8",[[4,"tttx-checkbox-group-heading_1_4_2"]]],["p-9434561e",[[1,"tttx-checkbox-group_1_4_2"]]],["p-f374e293",[[1,"tttx-keyvalue-block_1_4_2",{keyvalues:[1],horizontal:[4],spacedout:[4],_elements:[32]}]]],["p-796f699a",[[1,"tttx-loading-spinner_1_4_2",{loadingMessage:[1028,"loading-message"],size:[1025]}]]],["p-c170e3b8",[[2,"tttx-percentage-bar_1_4_2",{percentage:[8],thresholds:[1],color:[1],min:[1],labelid:[1],_percentage:[32],_ranges:[32],_min:[32]}]]],["p-0e515960",[[1,"tttx-qrcode_1_4_2",{link:[1025],size:[1026]}]]],["p-884f37d3",[[1,"tttx-tag_1_4_2",{text:[1],color:[1],textColor:[1,"text-color"]}]]],["p-56c8c353",[[2,"tttx-textarea_1_4_2",{label:[1],secondarylabel:[1],showerrormsg:[4],showerrorbubble:[4],errormsg:[1],rows:[2],textareaautofocus:[4],inputkeyhint:[1],inputindex:[8],inputtitle:[1],disabled:[4],maxlength:[8],name:[1],placeholder:[1],readonly:[8],required:[4],value:[1032]}]]],["p-6b1c7a21",[[1,"tttx-icon_1_4_2",{icon:[1],color:[1],size:[1026]}]]],["p-8b0b95b7",[[2,"tttx-standalone-input_1_4_2",{label:[1],secondarylabel:[1],showerrormsg:[4],showerrorbubble:[4],errormsg:[1],iconleft:[1],iconleftcolor:[1],iconright:[1],iconrightcolor:[1],inputicon:[1],inputiconcolor:[1],inline:[4],inputautocapitalize:[1],inputautofocus:[4],inputkeyhint:[1],inputindex:[8],inputtitle:[1],autocomplete:[1],checked:[4],disabled:[4],max:[8],maxlength:[8],min:[8],minlength:[8],name:[1],pattern:[1],placeholder:[1],readonly:[8],required:[4],step:[8],type:[1],value:[1032]}]]],["p-7077c8ed",[[1,"tttx-select-box_1_4_2",{optionsData:[1,"options-data"],label:[1],inline:[4],placeholder:[1],searchEnabled:[4,"search-enabled"],selectedValue:[1,"selected-value"],showErrorMsg:[4,"show-error-msg"],showErrorBubble:[4,"show-error-bubble"],errorMsg:[1,"error-msg"],open:[32],selectedItem:[32],searchTerm:[32],setSelectedItem:[64]},[[0,"closeSelectBox","handleCloseSelectBox"],[0,"blur","handleBlur"]]]]],["p-3676cddd",[[1,"tttx-filter_1_4_2",{filterKey:[1,"filter-key"],filterOptions:[1,"filter-options"],showSelectAll:[4,"show-select-all"],showSearchField:[4,"show-search-field"],showOptionIcons:[4,"show-option-icons"],filterButtonStyle:[1,"filter-button-style"],filterHeader:[1,"filter-header"],defaultFilterOptions:[1,"default-filter-options"],popoverWidth:[1,"popover-width"],showPopover:[32],displayedFilterSettings:[32],selectedFilters:[32],filterSearchTerm:[32],allSelected:[32]},[[0,"closeFilter","handleCloseFilter"]]],[1,"tttx-list_1_4_2",{data:[1025],name:[1],_data:[32]}],[1,"tttx-sorter_1_4_2",{sorterKey:[1,"sorter-key"],defaultSortDirection:[1,"default-sort-direction"],fieldOptionsData:[1,"field-options-data"],defaultOption:[1,"default-option"],selectedField:[32],sortDirection:[32],dropdownExpand:[32],dropdownOptions:[32]},[[0,"closeSorter","handleCloseSorter"]]],[1,"tttx-toolbar_1_4_2",{border:[4],viewSize:[32]},[[9,"resize","handleResize"]]]]],["p-a8e76e78",[[1,"tttx-button_1_4_2",{notext:[4],icon:[1],iconposition:[1],iconcolor:[1025],design:[1]}]]]],e)));
|
|
@@ -7,13 +7,16 @@ export declare class TttxSelectBox {
|
|
|
7
7
|
placeholder: string;
|
|
8
8
|
searchEnabled: boolean;
|
|
9
9
|
selectedValue: string;
|
|
10
|
+
showErrorMsg: boolean;
|
|
11
|
+
showErrorBubble: boolean;
|
|
12
|
+
errorMsg: string;
|
|
10
13
|
open: boolean;
|
|
11
14
|
selectedItem: SelectItem;
|
|
12
15
|
searchTerm: string;
|
|
13
|
-
|
|
16
|
+
_optionsData: SelectItem[];
|
|
14
17
|
private dropdownSelector;
|
|
15
18
|
private bodyOffset;
|
|
16
|
-
el:
|
|
19
|
+
el: HTMLTttxSelectBox_1_4_2Element;
|
|
17
20
|
componentWillLoad(): Promise<void>;
|
|
18
21
|
setOptionsData(): Promise<void>;
|
|
19
22
|
setSelectedItem(value: string): Promise<void>;
|
|
@@ -25,7 +28,7 @@ export declare class TttxSelectBox {
|
|
|
25
28
|
onItemSelected(option: SelectItem): void;
|
|
26
29
|
dropdownSelectorContent(): any;
|
|
27
30
|
dropdownOption(option: SelectItem): any;
|
|
28
|
-
handleSearchInput(event: InputEvent): void;
|
|
31
|
+
handleSearchInput(event: InputEvent | Event): void;
|
|
29
32
|
calculateDropdownMenuOffset(): void;
|
|
30
33
|
render(): any;
|
|
31
34
|
}
|
|
@@ -1,6 +1,23 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
title: string;
|
|
3
3
|
component: string;
|
|
4
|
+
argTypes: {
|
|
5
|
+
errorMsg: {
|
|
6
|
+
control: {
|
|
7
|
+
type: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
showErrorBubble: {
|
|
11
|
+
control: {
|
|
12
|
+
type: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
showErrorMsg: {
|
|
16
|
+
control: {
|
|
17
|
+
type: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
};
|
|
4
21
|
};
|
|
5
22
|
export default _default;
|
|
6
23
|
export declare const BasicHTMLSelectBox: any;
|
|
@@ -30,9 +30,9 @@ export declare class TttxInput {
|
|
|
30
30
|
/**
|
|
31
31
|
* tabindex - Allows the HTML elements to be focusable
|
|
32
32
|
* @example <caption>In HTML (like `index.html`)</caption>
|
|
33
|
-
* <tttx-standalone-
|
|
33
|
+
* <tttx-standalone-input_1_4_2 input-index="1" />
|
|
34
34
|
* @example <caption>In TSX files</caption>
|
|
35
|
-
* <tttx-standalone-
|
|
35
|
+
* <tttx-standalone-input_1_4_2 inputindex={1} />
|
|
36
36
|
*/
|
|
37
37
|
inputindex: string | number;
|
|
38
38
|
inputtitle: string;
|
|
@@ -17,9 +17,9 @@ export declare class TttxTextarea {
|
|
|
17
17
|
/**
|
|
18
18
|
* tabindex - Allows the HTML elements to be focusable
|
|
19
19
|
* @example <caption>In HTML (like `index.html`)</caption>
|
|
20
|
-
* <tttx-
|
|
20
|
+
* <tttx-textarea_1_4_2 input-index="1" />
|
|
21
21
|
* @example <caption>In TSX files</caption>
|
|
22
|
-
* <tttx-
|
|
22
|
+
* <tttx-textarea_1_4_2 inputindex={1} />
|
|
23
23
|
*/
|
|
24
24
|
inputindex: string | number;
|
|
25
25
|
inputtitle: string;
|