globuswebcomponents 0.9.2 → 0.9.3
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/gb-avatar-group.cjs.entry.js +1 -1
- package/dist/cjs/gb-avatar-label-group.cjs.entry.js +1 -1
- package/dist/cjs/gb-avatar-profile-photo.cjs.entry.js +1 -1
- package/dist/cjs/gb-avatar_40.cjs.entry.js +15 -15
- package/dist/cjs/gb-avatar_40.cjs.entry.js.map +1 -1
- package/dist/cjs/gb-export-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/gb-file-upload-item-base.cjs.entry.js +1 -1
- package/dist/cjs/globuscomponents.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{reusableModels-e50f3440.js → reusableModels-40cbefe2.js} +2 -1
- package/dist/cjs/reusableModels-40cbefe2.js.map +1 -0
- package/dist/cjs/test-input-tag.cjs.entry.js +1 -1
- package/dist/collection/components/gb-input-field/gb-input-field.css +7 -2
- package/dist/collection/components/gb-input-field/gb-input-field.js +30 -13
- package/dist/collection/components/gb-input-field/gb-input-field.js.map +1 -1
- package/dist/collection/models/reusableModels.js +1 -0
- package/dist/collection/models/reusableModels.js.map +1 -1
- package/dist/components/gb-avatar-contrast-inner-border.js +1 -1
- package/dist/components/gb-avatar-dropdown.js +7 -7
- package/dist/components/gb-avatar-group.js +4 -4
- package/dist/components/gb-avatar-label-group.js +1 -1
- package/dist/components/gb-avatar-profile-photo.js +4 -4
- package/dist/components/gb-avatar.js +1 -1
- package/dist/components/gb-badge.js +1 -1
- package/dist/components/gb-checkbox-base.js +1 -1
- package/dist/components/gb-checkbox-group-item.js +1 -1
- package/dist/components/gb-checkbox-group.js +6 -6
- package/dist/components/gb-checkbox.js +1 -1
- package/dist/components/gb-dropdown-items-with-shortcut.js +1 -1
- package/dist/components/gb-export-dropdown.js +1 -1
- package/dist/components/gb-file-upload-item-base.js +1 -1
- package/dist/components/gb-file-upload.js +1 -1
- package/dist/components/gb-header-icon.js +1 -1
- package/dist/components/gb-header.js +5 -5
- package/dist/components/gb-help-dropdown.js +3 -3
- package/dist/components/gb-horizontal-tabs.js +5 -5
- package/dist/components/gb-input-dropdown-menu-item.js +1 -1
- package/dist/components/gb-input-dropdown.js +1 -1
- package/dist/components/gb-input-field.js +23 -22
- package/dist/components/gb-input-field.js.map +1 -1
- package/dist/components/gb-pagination.js +8 -8
- package/dist/components/gb-rich-text.js +9 -9
- package/dist/components/gb-side-bar-item.js +1 -1
- package/dist/components/gb-sidebar.js +5 -5
- package/dist/components/gb-status-indicator.js +1 -1
- package/dist/components/gb-tab-button-base.js +1 -1
- package/dist/components/gb-tag.js +1 -1
- package/dist/components/gb-toast.js +1 -1
- package/dist/components/gb-wysiwyg-toolbar.js +1 -1
- package/dist/components/{p-d723ded7.js → p-0e3190c5.js} +4 -4
- package/dist/components/{p-d723ded7.js.map → p-0e3190c5.js.map} +1 -1
- package/dist/components/{p-97c51629.js → p-172c2487.js} +2 -2
- package/dist/components/{p-97c51629.js.map → p-172c2487.js.map} +1 -1
- package/dist/components/{p-af12bef4.js → p-31155611.js} +6 -6
- package/dist/components/{p-af12bef4.js.map → p-31155611.js.map} +1 -1
- package/dist/components/{p-73c46fd0.js → p-318a73ff.js} +2 -2
- package/dist/components/{p-73c46fd0.js.map → p-318a73ff.js.map} +1 -1
- package/dist/components/{p-1c160fcd.js → p-368c1d45.js} +6 -6
- package/dist/components/{p-1c160fcd.js.map → p-368c1d45.js.map} +1 -1
- package/dist/components/{p-b48745ed.js → p-44439045.js} +2 -2
- package/dist/components/{p-b48745ed.js.map → p-44439045.js.map} +1 -1
- package/dist/components/{p-61c21fbd.js → p-453797cd.js} +5 -5
- package/dist/components/{p-61c21fbd.js.map → p-453797cd.js.map} +1 -1
- package/dist/components/{p-b7e0a1d7.js → p-45f6d7df.js} +9 -9
- package/dist/components/{p-b7e0a1d7.js.map → p-45f6d7df.js.map} +1 -1
- package/dist/components/{p-47052b60.js → p-4f31ae97.js} +2 -1
- package/dist/components/p-4f31ae97.js.map +1 -0
- package/dist/components/{p-c1f66b7a.js → p-50c47057.js} +9 -9
- package/dist/components/{p-c1f66b7a.js.map → p-50c47057.js.map} +1 -1
- package/dist/components/{p-c48515b7.js → p-5c77ee21.js} +4 -4
- package/dist/components/{p-c48515b7.js.map → p-5c77ee21.js.map} +1 -1
- package/dist/components/{p-5380ac75.js → p-6a00453d.js} +2 -2
- package/dist/components/{p-5380ac75.js.map → p-6a00453d.js.map} +1 -1
- package/dist/components/{p-3c6424be.js → p-881af828.js} +5 -5
- package/dist/components/{p-3c6424be.js.map → p-881af828.js.map} +1 -1
- package/dist/components/{p-57ba561f.js → p-9447c1aa.js} +2 -2
- package/dist/components/{p-57ba561f.js.map → p-9447c1aa.js.map} +1 -1
- package/dist/components/{p-6c5b2ef4.js → p-9b0f7f28.js} +2 -2
- package/dist/components/{p-6c5b2ef4.js.map → p-9b0f7f28.js.map} +1 -1
- package/dist/components/{p-20bb0dc1.js → p-b501f877.js} +4 -4
- package/dist/components/{p-20bb0dc1.js.map → p-b501f877.js.map} +1 -1
- package/dist/components/{p-d2684525.js → p-e79ab73a.js} +5 -5
- package/dist/components/{p-d2684525.js.map → p-e79ab73a.js.map} +1 -1
- package/dist/components/{p-ff5d7f71.js → p-efc36361.js} +4 -4
- package/dist/components/{p-ff5d7f71.js.map → p-efc36361.js.map} +1 -1
- package/dist/components/test-input-tag.js +8 -8
- package/dist/esm/gb-avatar-group.entry.js +1 -1
- package/dist/esm/gb-avatar-label-group.entry.js +1 -1
- package/dist/esm/gb-avatar-profile-photo.entry.js +1 -1
- package/dist/esm/gb-avatar_40.entry.js +15 -15
- package/dist/esm/gb-avatar_40.entry.js.map +1 -1
- package/dist/esm/gb-export-dropdown.entry.js +1 -1
- package/dist/esm/gb-file-upload-item-base.entry.js +1 -1
- package/dist/esm/globuscomponents.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{reusableModels-8496e911.js → reusableModels-e864cf6e.js} +2 -1
- package/dist/esm/reusableModels-e864cf6e.js.map +1 -0
- package/dist/esm/test-input-tag.entry.js +1 -1
- package/dist/globuscomponents/globuscomponents.esm.js +1 -1
- package/dist/globuscomponents/globuscomponents.esm.js.map +1 -1
- package/dist/globuscomponents/{p-7f94a735.entry.js → p-1c634283.entry.js} +2 -2
- package/dist/globuscomponents/{p-20849c6b.entry.js → p-1cdf2a7a.entry.js} +2 -2
- package/dist/globuscomponents/p-1cdf2a7a.entry.js.map +1 -0
- package/dist/globuscomponents/{p-009cb844.entry.js → p-39450d7e.entry.js} +2 -2
- package/dist/globuscomponents/{p-47052b60.js → p-4f31ae97.js} +1 -1
- package/dist/globuscomponents/{p-47052b60.js.map → p-4f31ae97.js.map} +1 -1
- package/dist/globuscomponents/{p-c0444702.entry.js → p-593bf809.entry.js} +2 -2
- package/dist/globuscomponents/{p-54152499.entry.js → p-5e61c950.entry.js} +2 -2
- package/dist/globuscomponents/{p-906f6652.entry.js → p-e1c952db.entry.js} +2 -2
- package/dist/globuscomponents/{p-5a356167.entry.js → p-e9f75233.entry.js} +2 -2
- package/dist/types/components/gb-input-field/gb-input-field.d.ts +1 -0
- package/dist/types/components.d.ts +2 -0
- package/package.json +1 -1
- package/dist/cjs/reusableModels-e50f3440.js.map +0 -1
- package/dist/components/p-47052b60.js.map +0 -1
- package/dist/esm/reusableModels-8496e911.js.map +0 -1
- package/dist/globuscomponents/p-20849c6b.entry.js.map +0 -1
- /package/dist/globuscomponents/{p-7f94a735.entry.js.map → p-1c634283.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-009cb844.entry.js.map → p-39450d7e.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-c0444702.entry.js.map → p-593bf809.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-54152499.entry.js.map → p-5e61c950.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-906f6652.entry.js.map → p-e1c952db.entry.js.map} +0 -0
- /package/dist/globuscomponents/{p-5a356167.entry.js.map → p-e9f75233.entry.js.map} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"reusableModels-40cbefe2.js","mappings":";;AAIYA;AAAZ,WAAY,SAAS;IACjB,gCAAmB,CAAA;IACnB,kCAAqB,CAAA;AACzB,CAAC,EAHWA,iBAAS,KAATA,iBAAS,QAGpB;AAMWC;AAAZ,WAAY,aAAa;IACrB,yCAAwB,CAAA;IACxB,gCAAe,CAAA;IACf,oCAAmB,CAAA;IACnB,gCAAe,CAAA;AACnB,CAAC,EALWA,qBAAa,KAAbA,qBAAa,QAKxB;AAEWC;AAAZ,WAAY,qBAAqB;IAC7B,0CAAiB,CAAA;IACjB,4CAAmB,CAAA;AACvB,CAAC,EAHWA,6BAAqB,KAArBA,6BAAqB,QAGhC;AAgDC;;","names":["StateEnum","BorderWeights","OnlineIndicatorStates"],"sources":["src/models/reusableModels.ts"],"sourcesContent":["export type GeneralSizes = 'xl4' | 'xl3' | 'xl2' | 'xl' | 'lg' | 'md' | 'sm' | 'xs' | 'xxs' | 'profile_lg' | 'profile_md' | 'profile_sm';\r\n\r\nexport type GeneralHierarchies = 'primary' | 'secondary_gray' | 'secondary_color' | 'tertiary_gray' | 'tertiary_color' | 'link_gray' | 'link_color';\r\n\r\nexport enum StateEnum {\r\n Default = 'default',\r\n Disabled = 'disabled'\r\n}\r\n\r\nexport type ArrowPositions = 'bottom_center' | 'bottom_left' | 'bottom_right' | 'top_center' | 'left' | 'right' | 'none';\r\n\r\nexport type CheckBoxVariants = 'checkbox' | 'check_circle' | 'radio';\r\n\r\nexport enum BorderWeights {\r\n VeryLight = 'very_light',\r\n Light = 'light',\r\n Regular = 'regular',\r\n Heavy = 'heavy'\r\n};\r\n\r\nexport enum OnlineIndicatorStates {\r\n Online = 'online',\r\n Offline = 'offline'\r\n}\r\n\r\nexport type BreakPoints = 'desktop' | 'mobile';\r\n\r\nexport type FileUploadIconType = 'icon' | 'outline';\r\n\r\nexport type FileUploadStates = 'default' | 'in_progress' | 'complete' | 'hover' | 'disabled' | 'error';\r\n\r\nexport type FileType = '';\r\n\r\nexport type GeneralColors = 'default' | 'gray' | 'primary' | 'error' | 'warning' | 'success' | 'discovery' | 'information' | 'pink' | 'purple';\r\n\r\nexport type PaginationNumberShapes = 'square' | 'circle';\r\n\r\nexport type PaginationTypes =\r\n | 'page_default'\r\n | 'page_minimal_center_aligned'\r\n | 'card_default'\r\n | 'card_minimal_right_aligned'\r\n | 'card_minimal_left_aligned'\r\n | 'card_minimal_center_aligned'\r\n | 'card_button_group_right_aligned'\r\n | 'card_button_group_left_aligned'\r\n | 'card_button_group_center_aligned';\r\n\r\nexport type TabTypes = 'button_primary' | 'button_gray' | 'button_white' | 'rounded_button_white' | 'underline' | 'underline_filled' | 'line' | 'button_white_border' | 'rounded_button_white_border';\r\n\r\nexport type GeneralBackgroundCategories = 'plain_background' | 'colored_background';\r\n\r\nexport type InputFieldTypes =\r\n | 'default'\r\n | 'icon_leading'\r\n | 'leading_dropdown'\r\n | 'trailing_dropdown'\r\n | 'leading_text'\r\n | 'payment_input'\r\n | 'tags'\r\n | 'trailing_button'\r\n | 'password'\r\n | 'password_icon_leading'\r\n | 'count';\r\n\r\n export type DropdownTypes = 'default' | 'icon_leading' | 'avatar_leading' | 'dot_leading' | 'checkbox' | 'search' | 'tags'; \r\n\r\n export type AvatarColorTypes = 'gray' | 'blue' | 'cyan' | 'pink' | 'purple' | 'green' | 'yellow';\r\n\r\n export type DropdownItemTypes = string | number | { name: string; username: string, selected?: boolean };\r\n\r\n // export type InputValueTypes = string | number | [];"],"version":3}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-97d4dbd5.js');
|
|
6
|
-
const reusableModels = require('./reusableModels-
|
|
6
|
+
const reusableModels = require('./reusableModels-40cbefe2.js');
|
|
7
7
|
|
|
8
8
|
const testInputTagCss = ".input_group{--height:auto;--inputheight:4.5rem;--weight:100%;display:flex;position:relative}.input_like_parent{width:100%;border:1px solid var(--color-border-input, #CDD5DF);border-radius:var(--rounded-sm);padding:0.625rem 0.875rem 0.625rem var(--spacing-3)}.input_like{width:100%;overflow-y:scroll;transition:height 50ms ease-in-out}.results_display{display:flex;flex-wrap:wrap;gap:0.5rem;background-color:var(--color-surface, #FFFFFF);display:none;margin-top:0.5rem}.results_display.show_results{display:block}.tags{padding-top:1rem}.dropdown_list.show{display:block}.dropdown_menu{display:flex;width:100%;max-height:15rem;padding:var(--spacing-none);flex-direction:column;align-items:stretch;border-radius:var(--rounded-sm);border:1px solid var(--color-border-subtler, #E3E8EF);background:var(--color-surface, #FFFFFF);box-shadow:var(--shadow-sm);position:absolute;top:100%;z-index:10;gap:var(--spacing-none);transition:1s ease-in-out}";
|
|
9
9
|
const TestInputTagStyle0 = testInputTagCss;
|
|
@@ -2853,6 +2853,11 @@
|
|
|
2853
2853
|
pointer-events: none;
|
|
2854
2854
|
}
|
|
2855
2855
|
|
|
2856
|
+
.input_group.disabled{
|
|
2857
|
+
cursor: not-allowed;
|
|
2858
|
+
pointer-events: none;
|
|
2859
|
+
}
|
|
2860
|
+
|
|
2856
2861
|
.icon.disabled path[stroke]{
|
|
2857
2862
|
stroke: var(--color-icon-disabled, #CDD5DF);
|
|
2858
2863
|
}
|
|
@@ -3036,8 +3041,8 @@ hr{
|
|
|
3036
3041
|
background-color: var(--color-surface, #FFFFFF);
|
|
3037
3042
|
}
|
|
3038
3043
|
|
|
3039
|
-
.results_display.
|
|
3040
|
-
|
|
3044
|
+
.results_display.disabled{
|
|
3045
|
+
background: var(--color-background-disabled, #F6F8FA);
|
|
3041
3046
|
}
|
|
3042
3047
|
|
|
3043
3048
|
.tags{
|
|
@@ -46,6 +46,7 @@ export class GbInputField {
|
|
|
46
46
|
];
|
|
47
47
|
this.menuPosition = undefined;
|
|
48
48
|
this.icon = undefined;
|
|
49
|
+
this.value = undefined;
|
|
49
50
|
this.inputValue = '';
|
|
50
51
|
this.tags = [];
|
|
51
52
|
this.leadingIconSvg = '';
|
|
@@ -59,7 +60,6 @@ export class GbInputField {
|
|
|
59
60
|
this.show = false;
|
|
60
61
|
this.showSpinner = false;
|
|
61
62
|
}
|
|
62
|
-
;
|
|
63
63
|
async loadIcon(iconName) {
|
|
64
64
|
const iconPath = getAssetPath(`${iconName}`);
|
|
65
65
|
const response = await fetch(iconPath);
|
|
@@ -192,23 +192,23 @@ export class GbInputField {
|
|
|
192
192
|
this.inputElement.removeEventListener('input', this.handleTagInput.bind(this));
|
|
193
193
|
}
|
|
194
194
|
render() {
|
|
195
|
-
return (h("div", { key: '
|
|
196
|
-
h("div", { key: '
|
|
195
|
+
return (h("div", { key: '37ade50fec564ffb530e4f4a0697c99e4fa026af', class: `input_container` }, h("div", { key: '21f78a08f5748d1d4000edba6cd353288b61ca2a', class: `input_with_label` }, this.showLabel && h("p", { key: 'b9e8ede2ab485a2f479e6cb74ca6a78ebb11f6a4', class: "label text-sm-medium" }, this.label.charAt(0).toUpperCase() + this.label.slice(1).toLowerCase()), this.type === 'default' && [
|
|
196
|
+
h("div", { key: 'dd6e9d94dff5cc9ddb4fe3ce293540cddf1ecf59', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("input", { key: '539264d604516c5fe151de8bb39d1dc0019ef892', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event), value: this.value }), h(Fragment, null, this.showValidation && (h("svg", { key: '40f70846d00f7b0a4de80d57e1d511069b123a1b', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", class: "tick" }, h("path", { key: '523da8c5b0936cdf9825c25bbfc4296502e13c1b', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: 'e0ee9e7ce7b989ab99094a2a807b3b1b32bfc455', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" }))))))),
|
|
197
197
|
], this.type === 'icon_leading' && [
|
|
198
|
-
h("div", { key: '
|
|
198
|
+
h("div", { key: '2d0a36d8eeae4ecca3317761f43dcf0427f7f330', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '7b56a46bb1ac0d8d3e6de183dffa2eb9be77c02b', class: `icon ${this.size} ${this.state}`, innerHTML: this.leadingIconSvg }), h("input", { key: 'c585c69f3a41bbe5532b7043219db79d51053378', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event), value: this.value, ref: el => (this.inputRef = el) }), h(Fragment, null, this.showValidation && !this.destructive && (h("svg", { key: 'b418c3806f10241785d4c9089486452e6e2082d7', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", class: "tick" }, h("path", { key: '9b6a27bbe3fa0fe9a66581a6bc2671ee9d7f2640', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: 'ba6fbcb3086cc91d23e5d2798bb2ed38cbb302d3', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" }))))), this.showCloseButton && !this.destructive && (h("gb-button", { key: 'ebb4f56b875cf4be8f4a9f654abad50482c089b4', size: "sm", hierarchy: "tertiary_gray", icon: "only", state: "default", "icon-leading": true, "icon-leading-swap": "assets/cancel-01.svg", onClick: () => this.clearInput() })))),
|
|
199
199
|
], this.type === 'leading_dropdown' && [
|
|
200
|
-
h("div", { key: '
|
|
201
|
-
h(Fragment, null, this.showDropdown && (h("div", { key: '
|
|
200
|
+
h("div", { key: '1437d3740fbb82ffc126423f0033845a930e86b2', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'aace14bd99e1979c5b1ecb1adfdd52553492391e', class: `leading_dropdown_dropdown`, onClick: () => (this.showDropdown = !this.showDropdown) }, h("div", { key: '866fd87a7655ae9a4328e6efd63dbd8f137727c3', class: `country_icon` }, h("img", { key: '1da9e51eb8a61cc275821d137905ad2a3b5be73b', src: "build/assets/NG.svg", alt: "" })), h("div", { key: '1672f832684ca783db579859a9e1b1b391c72dd6', class: `dropdown_text` }, h("p", { key: 'ea83708f2728d19781746217d0dc3f89ea282792', class: "text-md-regular", style: { color: 'var(--color-text, #4B5565)' } }, this.selectedItem)), h("div", { key: '7937e741791827395f10dd1f06000b0d09b524d7', class: `dropdown_arrow` }, h("svg", { key: '4ed993424a74e59a9534a4d2bae9377a811b4ef2', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '5039fa326aa59babbdb93356869898c6efa80bf5', d: "M15 7.50004C15 7.50004 11.3176 12.5 9.99996 12.5C8.68237 12.5 5 7.5 5 7.5", stroke: "#4B5565", "stroke-width": "1.66667", "stroke-linecap": "round", "stroke-linejoin": "round" })))), h("div", { key: '664636a0bb8d8e69e7909e8abc3221bfbc5cdb0d', class: `leading_dropdown_text_input` }, h("input", { key: 'eb3c00d13312b0891c942cd1125254cfb45344de', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event), value: this.value }), this.showValidation && !this.destructive && (h("svg", { key: 'bc302f2980fb61d3a7cde63dcb3d4a52dafe9c0b', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'a2cec5be15b68ee58f34cbceddfe4e0ef0a1d377', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: 'cefa4e4be58af153df8ed912b6b5276365d96c3c', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" }))))))),
|
|
201
|
+
h(Fragment, null, this.showDropdown && (h("div", { key: '7a85de87a8f772fd77cb241c3fe9de6cd477301f', class: `dropdown_menu ${this.type} ${this.size}`, ref: el => (this.dropdownRef = el) }, this.options.map(option => (h("gb-input-dropdown-menu-item", { type: "default", state: StateEnum.Default, selected: this.isItemSelected(option), onClick: () => this.handleItemSelect(option) }, h("p", { slot: "name" }, option))))))),
|
|
202
202
|
], this.type === 'trailing_dropdown' && [
|
|
203
|
-
h("div", { key: '
|
|
204
|
-
h(Fragment, null, this.showDropdown && (h("div", { key: '
|
|
203
|
+
h("div", { key: 'fc6fbc588438738aacd4e241c4ce2fe4ebac8882', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'bf43ebc58f45b828ea3818de43e95bf41c72e278', class: `trailing_dropdown_content` }, h("p", { key: 'b3abbc1dc0ab52f0f520e0d8725d6e7fd10ced3f', class: "text-md-regular", style: { color: 'var(--color-text, #4B5565)' } }, "$"), h("input", { key: 'd9d7716524f6b40a9ec9474ca3e61e95c08f21d2', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event), value: this.value }), this.showHelpIcon && (h("div", { key: 'fdaf7bd97906ef7776196cc541812990973e473e', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), h("div", { key: '1004e92819e9fe0ce82918dccd4811628aed391c', class: `trailing_dropdown_dropdown`, onClick: () => (this.showDropdown = !this.showDropdown) }, h("div", { key: 'd6355c833494bffbb04a97ea17ca526b046c3960', class: `dropdown_text` }, h("p", { key: '875e5fecaca6e6a15caad2cd786be8d60b70b027', class: "text-md-regular", style: { color: 'var(--color-text, #4B5565)' } }, this.selectedItem)), h("div", { key: 'ee505e45b6d66172b71a728b798e7f90bb22f00d', class: `dropdown_arrow` }, h("svg", { key: '67b2cb911c49a433511f8b89ed81873df5ab5fd3', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '03cc1cf66e5cf54759ca4d44a6941f30dfa5a60c', d: "M15 7.50004C15 7.50004 11.3176 12.5 9.99996 12.5C8.68237 12.5 5 7.5 5 7.5", stroke: "#4B5565", "stroke-width": "1.66667", "stroke-linecap": "round", "stroke-linejoin": "round" }))))),
|
|
204
|
+
h(Fragment, null, this.showDropdown && (h("div", { key: '8379fe819c066cfd6bc2ddb6048ca6206310ef48', class: `dropdown_menu ${this.type} ${this.size}`, ref: el => (this.dropdownRef = el) }, this.options.map(option => (h("gb-input-dropdown-menu-item", { type: "default", state: StateEnum.Default, selected: this.isItemSelected(option), onClick: () => this.handleItemSelect(option) }, h("p", { slot: "name" }, option))))))),
|
|
205
205
|
], this.type === 'leading_text' && [
|
|
206
|
-
h("div", { key: '
|
|
207
|
-
], this.type === 'payment_input' && (h("div", { key: '634d2a810f4cf27efe47e04ffbb87e8f64ee2221', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("svg", { key: 'a7d78d4324a9c4dbabd6898af3c518a6b099ee8a', xmlns: "http://www.w3.org/2000/svg", width: "23", height: "14", viewBox: "0 0 23 14", fill: "none" }, h("path", { key: '5ad071c1527cb050587ffc803c44d06131e3faed', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11.179 11.8294C9.99493 12.8275 8.45902 13.43 6.78069 13.43C3.03582 13.43 0 10.4303 0 6.72997C0 3.02966 3.03582 0.0299683 6.78069 0.0299683C8.45902 0.0299683 9.99493 0.632466 11.179 1.63051C12.363 0.632466 13.8989 0.0299683 15.5773 0.0299683C19.3221 0.0299683 22.358 3.02966 22.358 6.72997C22.358 10.4303 19.3221 13.43 15.5773 13.43C13.8989 13.43 12.363 12.8275 11.179 11.8294Z", fill: "#ED0006" }), h("path", { key: '75115e942c70d1cbc76ebbf2a8cd9ad5cfcd2993', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11.179 11.8294C12.6369 10.6005 13.5614 8.77192 13.5614 6.72997C13.5614 4.68801 12.6369 2.85941 11.179 1.63051C12.363 0.632465 13.8989 0.0299683 15.5772 0.0299683C19.3221 0.0299683 22.3579 3.02966 22.3579 6.72997C22.3579 10.4303 19.3221 13.43 15.5772 13.43C13.8989 13.43 12.363 12.8275 11.179 11.8294Z", fill: "#F9A000" }), h("path", { key: '52f39e1df427693004619750512d20ef6bac228c', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11.179 11.8294C12.6369 10.6005 13.5614 8.77193 13.5614 6.72999C13.5614 4.68805 12.6369 2.85946 11.179 1.63055C9.72109 2.85946 8.79663 4.68805 8.79663 6.72999C8.79663 8.77193 9.72109 10.6005 11.179 11.8294Z", fill: "#FF5E00" })), h("input", { key: '05bc10a24ff57a2a573710057e1eaff8d7201c8a', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event) }), h(Fragment, null, this.showValidation && !this.destructive && (h("svg", { key: 'cf3e9ef076695589f372f09b0a5a4b9416a09fbb', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '77b708c8c0f0f9a3d9c13c5940c500b16330c03c', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: '36a185d3c8abaf58a73f6fc39010a150395934b2', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))))), this.type === 'trailing_button' && (h("div", { key: 'bedfaf703c4b6a11a9d6b22b5fb417e9cdbda302', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '9a43658c64a208b7096e41bb5f30b231a423eb06', class: `trailing_button_text_input ${this.size}` }, h("input", { key: '8102b08fe891ea00827a9aa7bf1f0091a1977389', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event), ref: el => (this.inputRef = el) }), this.showValidation && !this.destructive && (h("svg", { key: '90489c4331b0d6756a494981434c05014c3fad9b', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'e89ce19b63ccf438ebf346ccf3e24a894cb6272e', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: '7dfbd34d50d5958a4d8a858c41cf776d11b4c798', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), h("gb-button", { key: '906f0d4890c5c247814ebefbe39a12aa56a1d7d2', size: "lg", hierarchy: "tertiary_gray", icon: "only", state: this.state === 'disabled' ? 'disabled' : 'default', "icon-leading": true, "icon-leading-swap": "assets/copy-01.svg", onClick: () => this.copyToClipboard() }))), this.type === 'password' && (h("div", { key: 'f5355dff92d44c3a2bd58a1867e429c12d4046f7', class: `password_input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '9863a964797b1e711635cce182b7dfce307073b1', class: `password_content` }, h("input", { key: 'e428e925d80c7da8b1697d8a03be63a0440ac67e', class: `content text-md-regular ${this.type} ${this.state}`, type: this.isPasswordVisible ? 'text' : 'password', placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event) }), this.showValidation && !this.destructive && (h("svg", { key: '117a8be5376bd623e328a09b54a0fb6018a4e0fd', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'e44e5ee8c0f4451ca8be5e9f417123e96b37e4bb', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: '2d06ed5175ac5c8d32dd4f65d45d9216a4a40d03', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), h("div", { key: 'c8e40eae846b751316ad9fa999979aa3c54e9439', class: `dropdown` }, h("gb-password-button", { key: 'e7ccb2ae477c1c53119470326ae69c829db39323', onClick: () => this.togglePasswordVisibility() })))), this.type === 'password_icon_leading' && (h("div", { key: 'a996fa5c97f50c34b5e9bb8171e5462c274ab3dd', class: `password_icon_leading_input input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'ba302c9528bb9dd524ca9dc78caf911d3c074d7a', class: `password_icon_leading_content` }, h("svg", { key: '4b5018803caad5cfe32fb65e5595391667aa8421', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'f9bdb75cb2f024ff5e158d5931e40ba3b85a2a55', d: "M12.0759 12.1667C11.6617 12.1667 11.3259 12.5025 11.3259 12.9167C11.3259 13.3309 11.6617 13.6667 12.0759 13.6667V12.1667ZM12.0833 13.6667C12.4976 13.6667 12.8333 13.3309 12.8333 12.9167C12.8333 12.5025 12.4976 12.1667 12.0833 12.1667V13.6667ZM7.91668 12.1667C7.50246 12.1667 7.16668 12.5025 7.16668 12.9167C7.16668 13.3309 7.50246 13.6667 7.91668 13.6667V12.1667ZM7.92415 13.6667C8.33836 13.6667 8.67415 13.3309 8.67415 12.9167C8.67415 12.5025 8.33836 12.1667 7.92415 12.1667V13.6667ZM16.4435 10.1294L17.1868 10.0293L16.4435 10.1294ZM13.7003 7.58258L13.7347 6.83337L13.7003 7.58258ZM13.7003 18.2508L13.7347 19L13.7003 18.2508ZM16.4435 15.704L15.7002 15.6039L16.4435 15.704ZM6.29973 7.58258L6.33417 8.33179L6.29973 7.58258ZM3.55652 10.1294L2.81323 10.0293L3.55652 10.1294ZM6.29973 18.2508L6.33417 17.5015L6.29973 18.2508ZM3.55652 15.704L4.29981 15.6039L3.55652 15.704ZM5.50001 7.5C5.50001 7.91422 5.8358 8.25 6.25001 8.25C6.66422 8.25 7.00001 7.91422 7.00001 7.5H5.50001ZM13 7.5C13 7.91422 13.3358 8.25 13.75 8.25C14.1642 8.25 14.5 7.91422 14.5 7.5H13ZM12.0759 13.6667H12.0833V12.1667H12.0759V13.6667ZM7.91668 13.6667H7.92415V12.1667H7.91668V13.6667ZM10 17.5833C8.69057 17.5833 7.50287 17.5553 6.33417 17.5015L6.26528 19C7.45761 19.0548 8.66829 19.0833 10 19.0833V17.5833ZM13.6659 17.5015C12.4972 17.5553 11.3094 17.5833 10 17.5833V19.0833C11.3317 19.0833 12.5424 19.0548 13.7347 19L13.6659 17.5015ZM17.1868 15.804C17.3105 14.8853 17.4167 13.9152 17.4167 12.9167H15.9167C15.9167 13.8142 15.8211 14.7058 15.7002 15.6039L17.1868 15.804ZM17.4167 12.9167C17.4167 11.9181 17.3105 10.948 17.1868 10.0293L15.7002 10.2295C15.8211 11.1275 15.9167 12.0192 15.9167 12.9167H17.4167ZM10 8.25C11.3095 8.25 12.4972 8.27806 13.6659 8.33179L13.7347 6.83337C12.5424 6.77856 11.3317 6.75 10 6.75V8.25ZM6.33417 8.33179C7.50287 8.27806 8.69057 8.25 10 8.25V6.75C8.66829 6.75 7.45761 6.77856 6.26528 6.83337L6.33417 8.33179ZM2.81323 10.0293C2.68953 10.948 2.58334 11.9181 2.58334 12.9167H4.08334C4.08334 12.0192 4.1789 11.1275 4.29981 10.2295L2.81323 10.0293ZM2.58334 12.9167C2.58334 13.9152 2.68953 14.8853 2.81323 15.804L4.29981 15.6039C4.1789 14.7058 4.08334 13.8142 4.08334 12.9167H2.58334ZM17.1868 10.0293C16.9527 8.29067 15.5122 6.91509 13.7347 6.83337L13.6659 8.33179C14.6943 8.37907 15.5595 9.18437 15.7002 10.2295L17.1868 10.0293ZM13.7347 19C15.5122 18.9183 16.9527 17.5427 17.1868 15.804L15.7002 15.6039C15.5595 16.649 14.6943 17.4543 13.6659 17.5015L13.7347 19ZM6.26528 6.83337C4.48781 6.91508 3.04732 8.29067 2.81323 10.0293L4.29981 10.2295C4.44052 9.18437 5.30576 8.37907 6.33417 8.33179L6.26528 6.83337ZM6.33417 17.5015C5.30576 17.4543 4.44052 16.649 4.29981 15.6039L2.81323 15.804C3.04732 17.5427 4.48782 18.9183 6.26528 19L6.33417 17.5015ZM7.00001 7.5V5.41667H5.50001V7.5H7.00001ZM13 5.41667V7.5H14.5V5.41667H13ZM10 2.41667C11.6569 2.41667 13 3.75981 13 5.41667H14.5C14.5 2.93139 12.4853 0.916668 10 0.916668V2.41667ZM7.00001 5.41667C7.00001 3.75981 8.34316 2.41667 10 2.41667V0.916668C7.51473 0.916668 5.50001 2.93139 5.50001 5.41667H7.00001Z", fill: "#4B5565" })), h("input", { key: 'e6252b6a290d6a6d71a73e27542d8aee676c5220', class: `content text-md-regular ${this.type} ${this.state}`, type: this.isPasswordVisible ? 'text' : 'password', placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event) })), this.showValidation && !this.destructive && (h("svg", { key: 'abb17a0318037eff021ce76414b966d7b3ef1ba6', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '5c8f560d0d6cf0d24388593699f44b6c2e23624b', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: '86651707b01313bf935c42aba3565c9344fda982', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" }))))), h("gb-password-button", { key: 'd43eb33962014e743550c9b3be0347e6e7992289', onClick: () => this.togglePasswordVisibility() }))), this.type === 'count' && [
|
|
208
|
-
h("div", { key: '
|
|
209
|
-
], this.type === 'tags' && (h("div", { key: '
|
|
206
|
+
h("div", { key: '08838df3744c6078688fbfb4bc5f1da316f57b4e', class: "leading_text_input" }, h("div", { key: '334149d6113650dd896a88448b8819fa2528e947', class: `add_on` }, h("p", { key: 'a6554479368c70f40eb1d7b61dab0625073a6dd0', class: `text-md-regular`, style: { color: this.state === 'disabled' ? 'var(--color-text-disabled, #CDD5DF)' : 'var(--color-text, #4B5565)' } }, "http://")), h("div", { key: 'f171c86deae6eff5679a0b8cba81e7986a0b16c5', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("input", { key: '89e406c97c63f98c504eddf798b753906642efeb', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event), value: this.value }), this.showValidation && !this.destructive && (h("svg", { key: 'e34a2a33409b70d847ae0496c228bc1fa518a7cf', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '160e43cad1285492430ccfa504fc4733f6f35a03', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: '950cf1f7c16891368874507c499c6dcc00033604', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" }))))))),
|
|
207
|
+
], this.type === 'payment_input' && (h("div", { key: '09ba5b4e1343a86491c2dd6e7874a478a11a294c', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("svg", { key: '77c84ba673fd4fe76361f1cfbdfca2f3ba24d1d6', xmlns: "http://www.w3.org/2000/svg", width: "23", height: "14", viewBox: "0 0 23 14", fill: "none" }, h("path", { key: '6407d836096c551b16e8707014169cb7ab9210f8', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11.179 11.8294C9.99493 12.8275 8.45902 13.43 6.78069 13.43C3.03582 13.43 0 10.4303 0 6.72997C0 3.02966 3.03582 0.0299683 6.78069 0.0299683C8.45902 0.0299683 9.99493 0.632466 11.179 1.63051C12.363 0.632466 13.8989 0.0299683 15.5773 0.0299683C19.3221 0.0299683 22.358 3.02966 22.358 6.72997C22.358 10.4303 19.3221 13.43 15.5773 13.43C13.8989 13.43 12.363 12.8275 11.179 11.8294Z", fill: "#ED0006" }), h("path", { key: '368e327d7801cc72edf358daa5d717f69d9c214e', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11.179 11.8294C12.6369 10.6005 13.5614 8.77192 13.5614 6.72997C13.5614 4.68801 12.6369 2.85941 11.179 1.63051C12.363 0.632465 13.8989 0.0299683 15.5772 0.0299683C19.3221 0.0299683 22.3579 3.02966 22.3579 6.72997C22.3579 10.4303 19.3221 13.43 15.5772 13.43C13.8989 13.43 12.363 12.8275 11.179 11.8294Z", fill: "#F9A000" }), h("path", { key: '022864de3c7b85eb4206d2f33329e9ff2a9676aa', "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11.179 11.8294C12.6369 10.6005 13.5614 8.77193 13.5614 6.72999C13.5614 4.68805 12.6369 2.85946 11.179 1.63055C9.72109 2.85946 8.79663 4.68805 8.79663 6.72999C8.79663 8.77193 9.72109 10.6005 11.179 11.8294Z", fill: "#FF5E00" })), h("input", { key: '426bb6f41df52f8639600fc4b3caebecdd20db2b', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event), value: this.value }), h(Fragment, null, this.showValidation && !this.destructive && (h("svg", { key: 'e6a221dd1d213996a920d3dacf727b6c7f159da4', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '63d1f94b5eaf12eb27088301ce68aa090f0ffcc4', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: '06a2c7e20ee11176a0f9cc00cd0da791de01ec5b', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))))), this.type === 'trailing_button' && (h("div", { key: '27b3e00cfada62952d8483354c9939b0c7488481', class: `input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '7e8f68c6d0f8f601e7079bdc49e7a4284c700556', class: `trailing_button_text_input ${this.size}` }, h("input", { key: '14d8f550033df6974fd0d24d7aacd6ec60c25ca4', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event), ref: el => (this.inputRef = el), value: this.value }), this.showValidation && !this.destructive && (h("svg", { key: 'a8aa739cb4cd1817ab63e50ad778ac59ec565d8f', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '7895e552d42f3603a64ea3e334c906afc8e8a9e4', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: '1ed1da1b1644c9f61b46ea9dd890be1c33e4d26d', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), h("gb-button", { key: 'a8c864d11be6200591345877c8020acc37c03fce', size: "lg", hierarchy: "tertiary_gray", icon: "only", state: this.state === 'disabled' ? 'disabled' : 'default', "icon-leading": true, "icon-leading-swap": "assets/copy-01.svg", onClick: () => this.copyToClipboard() }))), this.type === 'password' && (h("div", { key: '128a49a5df8ab3f9c2cc979e7ed7bf9bc4161403', class: `password_input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: '53e885b6d9e910e609faf76731dec4e6c15c2198', class: `password_content` }, h("input", { key: 'b7d3a7c1f3a2e2517d58c765472fa04acd6e5e83', class: `content text-md-regular ${this.type} ${this.state}`, type: this.isPasswordVisible ? 'text' : 'password', placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event) }), this.showValidation && !this.destructive && (h("svg", { key: '5ac2f4e77d10eadedbf40b4b0a854563856ca72e', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '50a44b56de6f128f9c06182de0ff37ca3195ff2b', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: 'eb63861c1f1f5e780cb6338369cbe1dc8b0b85a0', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), h("div", { key: 'a23957614198cd344a034e2501d3c679f71a9699', class: `dropdown` }, h("gb-password-button", { key: '4487a5e78b0fc8fc5b480933ebf43beebe9e93db', onClick: () => this.togglePasswordVisibility() })))), this.type === 'password_icon_leading' && (h("div", { key: 'f8e631c4b795b59ce95a7f059f62a2eeeb6160ac', class: `password_icon_leading_input input ${this.type} ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}` }, h("div", { key: 'de20fbce2fc3cb1cfbeb00bc6933652501bd10c1', class: `password_icon_leading_content` }, h("svg", { key: '380fda0f81d40d5bb532d2c35d61892e38823dcf', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: 'd9214c2e7d18511680622b6062ac03b98ee70162', d: "M12.0759 12.1667C11.6617 12.1667 11.3259 12.5025 11.3259 12.9167C11.3259 13.3309 11.6617 13.6667 12.0759 13.6667V12.1667ZM12.0833 13.6667C12.4976 13.6667 12.8333 13.3309 12.8333 12.9167C12.8333 12.5025 12.4976 12.1667 12.0833 12.1667V13.6667ZM7.91668 12.1667C7.50246 12.1667 7.16668 12.5025 7.16668 12.9167C7.16668 13.3309 7.50246 13.6667 7.91668 13.6667V12.1667ZM7.92415 13.6667C8.33836 13.6667 8.67415 13.3309 8.67415 12.9167C8.67415 12.5025 8.33836 12.1667 7.92415 12.1667V13.6667ZM16.4435 10.1294L17.1868 10.0293L16.4435 10.1294ZM13.7003 7.58258L13.7347 6.83337L13.7003 7.58258ZM13.7003 18.2508L13.7347 19L13.7003 18.2508ZM16.4435 15.704L15.7002 15.6039L16.4435 15.704ZM6.29973 7.58258L6.33417 8.33179L6.29973 7.58258ZM3.55652 10.1294L2.81323 10.0293L3.55652 10.1294ZM6.29973 18.2508L6.33417 17.5015L6.29973 18.2508ZM3.55652 15.704L4.29981 15.6039L3.55652 15.704ZM5.50001 7.5C5.50001 7.91422 5.8358 8.25 6.25001 8.25C6.66422 8.25 7.00001 7.91422 7.00001 7.5H5.50001ZM13 7.5C13 7.91422 13.3358 8.25 13.75 8.25C14.1642 8.25 14.5 7.91422 14.5 7.5H13ZM12.0759 13.6667H12.0833V12.1667H12.0759V13.6667ZM7.91668 13.6667H7.92415V12.1667H7.91668V13.6667ZM10 17.5833C8.69057 17.5833 7.50287 17.5553 6.33417 17.5015L6.26528 19C7.45761 19.0548 8.66829 19.0833 10 19.0833V17.5833ZM13.6659 17.5015C12.4972 17.5553 11.3094 17.5833 10 17.5833V19.0833C11.3317 19.0833 12.5424 19.0548 13.7347 19L13.6659 17.5015ZM17.1868 15.804C17.3105 14.8853 17.4167 13.9152 17.4167 12.9167H15.9167C15.9167 13.8142 15.8211 14.7058 15.7002 15.6039L17.1868 15.804ZM17.4167 12.9167C17.4167 11.9181 17.3105 10.948 17.1868 10.0293L15.7002 10.2295C15.8211 11.1275 15.9167 12.0192 15.9167 12.9167H17.4167ZM10 8.25C11.3095 8.25 12.4972 8.27806 13.6659 8.33179L13.7347 6.83337C12.5424 6.77856 11.3317 6.75 10 6.75V8.25ZM6.33417 8.33179C7.50287 8.27806 8.69057 8.25 10 8.25V6.75C8.66829 6.75 7.45761 6.77856 6.26528 6.83337L6.33417 8.33179ZM2.81323 10.0293C2.68953 10.948 2.58334 11.9181 2.58334 12.9167H4.08334C4.08334 12.0192 4.1789 11.1275 4.29981 10.2295L2.81323 10.0293ZM2.58334 12.9167C2.58334 13.9152 2.68953 14.8853 2.81323 15.804L4.29981 15.6039C4.1789 14.7058 4.08334 13.8142 4.08334 12.9167H2.58334ZM17.1868 10.0293C16.9527 8.29067 15.5122 6.91509 13.7347 6.83337L13.6659 8.33179C14.6943 8.37907 15.5595 9.18437 15.7002 10.2295L17.1868 10.0293ZM13.7347 19C15.5122 18.9183 16.9527 17.5427 17.1868 15.804L15.7002 15.6039C15.5595 16.649 14.6943 17.4543 13.6659 17.5015L13.7347 19ZM6.26528 6.83337C4.48781 6.91508 3.04732 8.29067 2.81323 10.0293L4.29981 10.2295C4.44052 9.18437 5.30576 8.37907 6.33417 8.33179L6.26528 6.83337ZM6.33417 17.5015C5.30576 17.4543 4.44052 16.649 4.29981 15.6039L2.81323 15.804C3.04732 17.5427 4.48782 18.9183 6.26528 19L6.33417 17.5015ZM7.00001 7.5V5.41667H5.50001V7.5H7.00001ZM13 5.41667V7.5H14.5V5.41667H13ZM10 2.41667C11.6569 2.41667 13 3.75981 13 5.41667H14.5C14.5 2.93139 12.4853 0.916668 10 0.916668V2.41667ZM7.00001 5.41667C7.00001 3.75981 8.34316 2.41667 10 2.41667V0.916668C7.51473 0.916668 5.50001 2.93139 5.50001 5.41667H7.00001Z", fill: "#4B5565" })), h("input", { key: 'd2c99f7d88660a6e247858ed90ae5c834a96a7cf', class: `content text-md-regular ${this.type} ${this.state}`, type: this.isPasswordVisible ? 'text' : 'password', placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event) })), this.showValidation && !this.destructive && (h("svg", { key: '1a0dc891d0dede2bba559ed7620939df73e3dcd1', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, h("path", { key: '654d0b304c097c2c232518d12adf5fc0b9fd3566', d: "M4.16675 12.0833C4.16675 12.0833 5.41675 12.0833 7.08341 15C7.08341 15 11.7158 7.36112 15.8334 5.83334", stroke: "#079455", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))), this.showHelpIcon && (h("div", { key: '0b08b63091af5cfbd75e8835870778f7d1b2ab8d', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" }))))), h("gb-password-button", { key: 'cefae5ac6e45cb7b2abea50f130b621b8afbecb9', onClick: () => this.togglePasswordVisibility() }))), this.type === 'count' && [
|
|
208
|
+
h("div", { key: '786d6911487c0742dbe51cbb95c08b75a530b272', class: `count_input` }, h("div", { key: '011cc6ab7c28604b969f457bfb181c77dcae4e34', class: `count_text_input ${this.destructive ? 'destructive' : ''} ${this.state}` }, h("input", { key: '550d32b29f49e10ae399d71c1846b42f1a4c2df8', class: `content text-md-regular ${this.type} ${this.state}`, type: "text", placeholder: this.placeholder ? this.placeholder : '', onInput: event => this.handleInput(event), value: this.value }), this.showHelpIcon && (h("div", { key: '0992ae78b2f7f2a6e2e7168703ad390716279742', class: `help_circle` }, !this.destructive ? (h("gb-help-tooltip", { "show-supporting-text": true }, h("slot", { name: "tooltip_label", slot: "label" }), h("slot", { name: "tooltip_supporting_text", slot: "supporting_text" }))) : (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none" }, h("path", { d: "M7.99458 10H8.00057M7.99992 8.00001V5.33334M14.6666 8.00001C14.6666 11.6819 11.6818 14.6667 7.99992 14.6667C4.31802 14.6667 1.33325 11.6819 1.33325 8.00001C1.33325 4.31811 4.31802 1.33334 7.99992 1.33334C11.6818 1.33334 14.6666 4.31811 14.6666 8.00001Z", stroke: "#B51726", "stroke-width": "1.33333", "stroke-linecap": "round", "stroke-linejoin": "round" })))))), h("div", { key: '5dfd0e994c8d3edc2f7eda302b0aaa37b34e8182', class: `action ${this.state}` }, h("gb-button", { key: '65f63e5c5cf81fb7229564ce796da555f56c025d', size: "xl", state: this.state === 'disabled' ? 'disabled' : 'default', hierarchy: "tertiary_gray", icon: "only", "icon-leading": "true", "icon-leading-swap": "assets/minus_sign.svg" }), h("hr", { key: 'a5ef4f7ef1feb0851040b21b543214346722d960' }), h("gb-button", { key: 'fdaa65ea0110d9c40821059da9c788290b68439c', size: "xl", state: this.state === 'disabled' ? 'disabled' : 'default', hierarchy: "tertiary_gray", icon: "only", "icon-leading": "true", "icon-leading-swap": "assets/plus_sign.svg" }))),
|
|
209
|
+
], this.type === 'tags' && (h("div", { key: '5a213ead8110a3d47c829c4ba240a3612ad39da9', class: `input_group ${this.state}`, ref: el => (this.inputGroupElement = el), onClick: () => this.handleWrapperClick() }, h("div", { key: 'c5d6c246f0bb30d1409ec9ae72043f7fbedf4c47', class: `input_like_parent ${this.size} ${this.state} ${this.destructive ? 'destructive' : ''}`, onClick: () => (this.dropdownOpen = !this.dropdownOpen) }, h("div", { key: '04ea8a8871ea16fcd8ab8758ba11b8fd4d8fcbd7', class: `results_display ${this.state === 'disabled' ? 'disabled' : ''}`, ref: el => (this.resultsDisplayElement = el) }, !this.value ? (h(Fragment, null, this.selectedItems.map((item, index) => (h(Fragment, null, typeof item === 'object' ? (h("gb-tag", { size: "sm", action: "X_close", icon: this.icon ? this.icon : 'avatar', onClick: () => this.removeStaff(index) }, h("h1", { class: "text-xxs-semi-bold", slot: "initials" }, item.name.split(' ').map(part => part.charAt(0).toUpperCase())), h("p", null, item.name.split(' ')[0]))) : (h("gb-tag", { size: "sm", action: "X_close", icon: this.icon ? this.icon : 'avatar', onClick: () => this.removeStaff(index) }, h("p", null, item)))))))) : (h(Fragment, null, this.value.map((val, index) => (h(Fragment, null, typeof val === 'object' ? (h("gb-tag", { size: "sm", action: "X_close", icon: this.icon ? this.icon : 'avatar', onClick: () => this.removeStaff(index) }, h("h1", { class: "text-xxs-semi-bold", slot: "initials" }, val.name.split(' ').map(part => part.charAt(0).toUpperCase())), h("p", null, val.name.split(' ')[0]))) : (h("gb-tag", { size: "sm", action: "X_close", icon: this.icon ? this.icon : 'avatar', onClick: () => this.removeStaff(index) }, h("p", null, val)))))))), h("span", { key: '5a0ac677f5d830d3a6f478e83e67feb1fb87a969', class: "hidden-span", ref: el => (this.hiddenSpan = el) }, this.inputValue || ' '), h("div", { key: '7a40e6133c1e02dc5412c3c400d4e39484ec730c', class: "input_field" }, h("input", { key: '3e6a55b46a957caa5d6b55b7f989708d6ab39418', id: this.idOfInput, class: `input_like text-md-regular ${this.state}`, type: "text",
|
|
210
210
|
// placeholder={this.placeholder && this.selectedStaff.length === 0 ? this.placeholder : ''}
|
|
211
|
-
value: this.inputValue, readOnly: this.isReadOnly, ref: el => (this.inputElement = el), onBlur: () => this.exportSelectedStaff(), onInput: event => this.handleTagInput(event) })))), this.showDropdown && (h("div", { key: '
|
|
211
|
+
value: this.inputValue, readOnly: this.isReadOnly, ref: el => (this.inputElement = el), onBlur: () => this.exportSelectedStaff(), onInput: event => this.handleTagInput(event) })))), this.showDropdown && (h("div", { key: 'c05c32ea758d0c8293782c59c617cf7692bfaf0b', class: `tags_dropdown_menu ${this.show ? 'show' : ''} ${this.menuPosition}` }, this.results.map(item => (h("gb-input-dropdown-menu-item", { type: "checkbox", "supporting-text": true, state: StateEnum.Default, onClick: () => this.selectStaff(item), selected: this.isTagItemSelected(item) }, typeof item === 'object'
|
|
212
212
|
? [h("p", { slot: "name" }, item.name), h("p", { slot: "supporting_text" }, item.email)]
|
|
213
213
|
: typeof item !== 'object' && h("p", { slot: "name" }, item))))))))), !this.destructive ? h("p", { class: "hint_text text-sm-regular" }, this.hintText) : h("p", { class: "error_text text-sm-regular" }, this.errorText)));
|
|
214
214
|
}
|
|
@@ -621,6 +621,23 @@ export class GbInputField {
|
|
|
621
621
|
},
|
|
622
622
|
"attribute": "icon",
|
|
623
623
|
"reflect": false
|
|
624
|
+
},
|
|
625
|
+
"value": {
|
|
626
|
+
"type": "any",
|
|
627
|
+
"mutable": false,
|
|
628
|
+
"complexType": {
|
|
629
|
+
"original": "any",
|
|
630
|
+
"resolved": "any",
|
|
631
|
+
"references": {}
|
|
632
|
+
},
|
|
633
|
+
"required": false,
|
|
634
|
+
"optional": false,
|
|
635
|
+
"docs": {
|
|
636
|
+
"tags": [],
|
|
637
|
+
"text": ""
|
|
638
|
+
},
|
|
639
|
+
"attribute": "value",
|
|
640
|
+
"reflect": false
|
|
624
641
|
}
|
|
625
642
|
};
|
|
626
643
|
}
|