@ironsource/shared-ui 2.1.6-rc.0 → 2.1.6-test.1
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/Autocomplete.vue_vue_type_style_index_0_scoped_d2d1dc1d_lang.css +1 -0
- package/ButtonV4.vue_vue_type_style_index_0_scoped_8c3b0c3f_lang.css +1 -0
- package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_889042cf_lang.css +1 -0
- package/DataGrid.vue_vue_type_style_index_0_scoped_c96fba2c_lang.css +1 -0
- package/FormCard.vue_vue_type_style_index_0_scoped_ef8b4e81_lang.css +1 -0
- package/SearchV4.vue_vue_type_style_index_0_scoped_a468fb4a_lang.css +1 -0
- package/TextField.vue_vue_type_style_index_0_scoped_01778240_lang.css +1 -0
- package/TooltipV4.vue_vue_type_style_index_0_scoped_25809092_lang.css +1 -0
- package/components/autocomplete/Autocomplete.vue.js +3 -3
- package/components/autocomplete/Autocomplete.vue2.js +14 -13
- package/components/button/v4/ButtonV4.vue.js +3 -3
- package/components/button/v4/ButtonV4.vue2.js +1 -1
- package/components/dropdown/v4/ChipDropdownTrigger.vue.js +2 -2
- package/components/dropdown/v4/ChipDropdownTrigger.vue2.js +1 -1
- package/components/dropdown/v4/DropdownV4.vue.d.ts +1 -1
- package/components/dropdown/v4/index.d.ts +20 -20
- package/components/forms/FormCard.vue.js +4 -4
- package/components/forms/FormCard.vue2.js +1 -1
- package/components/input/v4/TextField.vue.d.ts +5 -0
- package/components/input/v4/TextField.vue.js +2 -2
- package/components/input/v4/TextField.vue2.js +56 -52
- package/components/input/v4/index.d.ts +20 -1
- package/components/search/common/Search.common.js +10 -10
- package/components/search/v4/SearchV4.vue.d.ts +2 -0
- package/components/search/v4/SearchV4.vue.js +5 -5
- package/components/search/v4/SearchV4.vue2.js +9 -9
- package/components/search/v4/index.d.ts +2 -0
- package/components/table/v4/DataGrid.vue.d.ts +2 -0
- package/components/table/v4/DataGrid.vue.js +3 -3
- package/components/table/v4/DataGrid.vue2.js +138 -137
- package/components/table/v4/index.d.ts +7 -1
- package/components/tooltip/v4/TooltipV4.vue.d.ts +5 -0
- package/components/tooltip/v4/TooltipV4.vue.js +3 -3
- package/components/tooltip/v4/TooltipV4.vue2.js +6 -5
- package/components/tooltip/v4/index.d.ts +20 -1
- package/index.d.ts +138 -46
- package/package.json +2 -1
- package/Autocomplete.vue_vue_type_style_index_0_scoped_429e5745_lang.css +0 -1
- package/ButtonV4.vue_vue_type_style_index_0_scoped_e535063a_lang.css +0 -1
- package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_c859928d_lang.css +0 -1
- package/DataGrid.vue_vue_type_style_index_0_scoped_bddb537c_lang.css +0 -1
- package/FormCard.vue_vue_type_style_index_0_scoped_d3abd36a_lang.css +0 -1
- package/SearchV4.vue_vue_type_style_index_0_scoped_1330ea8b_lang.css +0 -1
- package/TextField.vue_vue_type_style_index_0_scoped_95e25718_lang.css +0 -1
- package/TooltipV4.vue_vue_type_style_index_0_scoped_58a19def_lang.css +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
div[data-v-d2d1dc1d]{display:block}.autocomplete-dropdown[data-v-d2d1dc1d]{position:relative}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.button-wrap[data-v-8c3b0c3f]{border-radius:var(--border-radius-md);transition:all .2s ease;padding:0;min-width:auto;background-image:none;box-sizing:border-box;border:0;cursor:pointer}.contained.primary[data-v-8c3b0c3f]{color:var(--primary-button-contrast-text);background:var(--primary-main)}.contained.primary[data-v-8c3b0c3f]:hover{background:var(--primary-darker)}.contained.primary[data-v-8c3b0c3f]:disabled{color:var(--text-disabled);background:var(--action-disabled-background);opacity:1}.contained.primary[data-v-8c3b0c3f]:disabled:hover{cursor:not-allowed}.contained.default[data-v-8c3b0c3f]{color:var(--default-button-contrast-text);background:var(--default-main)}.contained.default[data-v-8c3b0c3f]:hover{background:var(--default-light)}.contained.default[data-v-8c3b0c3f]:disabled{color:var(--text-disabled);background:var(--action-disabled-background);opacity:1}.contained.default[data-v-8c3b0c3f]:disabled:hover{cursor:not-allowed}.contained.danger[data-v-8c3b0c3f]{color:var(--error-button-contrast-text);background:var(--error-main)}.contained.danger[data-v-8c3b0c3f]:hover{background:var(--error-dark)}.contained.danger[data-v-8c3b0c3f]:disabled{color:var(--text-disabled);background:var(--action-disabled-background);opacity:1}.contained.danger[data-v-8c3b0c3f]:disabled:hover{cursor:not-allowed}.contained.info[data-v-8c3b0c3f]{color:var(--info-button-contrast-text);background:var(--info-main)}.contained.info[data-v-8c3b0c3f]:hover{background:var(--info-dark)}.contained.info[data-v-8c3b0c3f]:disabled{color:var(--text-disabled);background:var(--action-disabled-background);opacity:1}.contained.info[data-v-8c3b0c3f]:disabled:hover{cursor:not-allowed}.contained.success[data-v-8c3b0c3f]{color:var(--success-button-contrast-text);background:var(--success-main)}.contained.success[data-v-8c3b0c3f]:hover{background:var(--success-dark)}.contained.success[data-v-8c3b0c3f]:disabled{color:var(--text-disabled);background:var(--action-disabled-background);opacity:1}.contained.success[data-v-8c3b0c3f]:disabled:hover{cursor:not-allowed}.contained.warning[data-v-8c3b0c3f]{color:var(--warning-button-contrast-text);background:var(--warning-main)}.contained.warning[data-v-8c3b0c3f]:hover{background:var(--warning-dark)}.contained.warning[data-v-8c3b0c3f]:disabled{color:var(--text-disabled);background:var(--action-disabled-background);opacity:1}.contained.warning[data-v-8c3b0c3f]:disabled:hover{cursor:not-allowed}.contained.loading[data-v-8c3b0c3f],.contained.loading[data-v-8c3b0c3f]:hover{background:var(--action-disabled-background)}.outlined[data-v-8c3b0c3f]{background:transparent}.outlined.primary[data-v-8c3b0c3f]{color:var(--primary-main);border:1px solid var(--primary-main)}.outlined.primary[data-v-8c3b0c3f]:hover{background:var(--primary-lighter)}.outlined.primary[data-v-8c3b0c3f]:disabled{color:var(--text-disabled);background:transparent;border:1px solid var(--default-outlined-border);opacity:1}.outlined.primary[data-v-8c3b0c3f]:disabled:hover{cursor:not-allowed}.outlined.default[data-v-8c3b0c3f]{color:var(--text-primary);border:1px solid var(--default-outlined-border)}.outlined.default[data-v-8c3b0c3f]:hover{border:1px solid var(--action-active);background:var(--action-hover)}.outlined.default[data-v-8c3b0c3f]:disabled{color:var(--text-disabled);background:transparent;border:1px solid var(--default-outlined-border);opacity:1}.outlined.default[data-v-8c3b0c3f]:disabled:hover{cursor:not-allowed}.outlined.danger[data-v-8c3b0c3f]{color:var(--error-main);border:1px solid var(--error-main)}.outlined.danger[data-v-8c3b0c3f]:hover{background:var(--error-lighter)}.outlined.danger[data-v-8c3b0c3f]:disabled{color:var(--text-disabled);background:transparent;border:1px solid var(--default-outlined-border);opacity:1}.outlined.danger[data-v-8c3b0c3f]:disabled:hover{cursor:not-allowed}.outlined.info[data-v-8c3b0c3f]{color:var(--info-main);border:1px solid var(--info-main)}.outlined.info[data-v-8c3b0c3f]:hover{background:var(--info-lighter)}.outlined.info[data-v-8c3b0c3f]:disabled{color:var(--text-disabled);background:transparent;border:1px solid var(--default-outlined-border);opacity:1}.outlined.info[data-v-8c3b0c3f]:disabled:hover{cursor:not-allowed}.outlined.success[data-v-8c3b0c3f]{color:var(--success-main);border:1px solid var(--success-main)}.outlined.success[data-v-8c3b0c3f]:hover{background:var(--success-lighter)}.outlined.success[data-v-8c3b0c3f]:disabled{color:var(--text-disabled);background:transparent;border:1px solid var(--default-outlined-border);opacity:1}.outlined.success[data-v-8c3b0c3f]:disabled:hover{cursor:not-allowed}.outlined.warning[data-v-8c3b0c3f]{color:var(--warning-darker);border:1px solid var(--warning-darker)}.outlined.warning[data-v-8c3b0c3f]:hover{background:var(--warning-lighter)}.outlined.warning[data-v-8c3b0c3f]:disabled{color:var(--text-disabled);background:transparent;border:1px solid var(--default-outlined-border);opacity:1}.outlined.warning[data-v-8c3b0c3f]:disabled:hover{cursor:not-allowed}.outlined.loading[data-v-8c3b0c3f],.outlined.loading[data-v-8c3b0c3f]:hover{border:1px solid var(--common-divider);background:var(--action-disabled-background)}.text[data-v-8c3b0c3f]{background:transparent}.text.primary[data-v-8c3b0c3f]{color:var(--primary-main)}.text.primary[data-v-8c3b0c3f]:hover{background:var(--primary-lighter)}.text.primary[data-v-8c3b0c3f]:disabled{color:var(--text-disabled);opacity:1;background:transparent}.text.primary[data-v-8c3b0c3f]:disabled:hover{cursor:not-allowed}.text.default[data-v-8c3b0c3f]{color:var(--text-primary)}.text.default[data-v-8c3b0c3f]:hover{background:var(--action-hover)}.text.default[data-v-8c3b0c3f]:disabled{color:var(--text-disabled);opacity:1;background:transparent}.text.default[data-v-8c3b0c3f]:disabled:hover{cursor:not-allowed}.text.danger[data-v-8c3b0c3f]{color:var(--error-main)}.text.danger[data-v-8c3b0c3f]:hover{background:var(--error-lighter)}.text.danger[data-v-8c3b0c3f]:disabled{color:var(--text-disabled);opacity:1;background:transparent}.text.danger[data-v-8c3b0c3f]:disabled:hover{cursor:not-allowed}.text.info[data-v-8c3b0c3f]{color:var(--info-main)}.text.info[data-v-8c3b0c3f]:hover{background:var(--info-lighter)}.text.info[data-v-8c3b0c3f]:disabled{color:var(--text-disabled);opacity:1;background:transparent}.text.info[data-v-8c3b0c3f]:disabled:hover{cursor:not-allowed}.text.success[data-v-8c3b0c3f]{color:var(--success-main)}.text.success[data-v-8c3b0c3f]:hover{background:var(--success-lighter)}.text.success[data-v-8c3b0c3f]:disabled{color:var(--text-disabled);opacity:1;background:transparent}.text.success[data-v-8c3b0c3f]:disabled:hover{cursor:not-allowed}.text.warning[data-v-8c3b0c3f]{color:var(--warning-darker)}.text.warning[data-v-8c3b0c3f]:hover{background:var(--warning-lighter)}.text.warning[data-v-8c3b0c3f]:disabled{color:var(--text-disabled);opacity:1;background:transparent}.text.warning[data-v-8c3b0c3f]:disabled:hover{cursor:not-allowed}.text.loading[data-v-8c3b0c3f],.text.loading[data-v-8c3b0c3f]:hover{border:0;background:transparent}.small[data-v-8c3b0c3f]{padding:2px 6px}.small.outlined[data-v-8c3b0c3f]{padding:1px 5px}.medium[data-v-8c3b0c3f]{padding:4px 8px}.medium.outlined[data-v-8c3b0c3f]{padding:3px 7px}.large[data-v-8c3b0c3f]{padding:6px 8px}.large.outlined[data-v-8c3b0c3f]{padding:5px 7px}.extraLarge[data-v-8c3b0c3f]{padding:10px 12px}.extraLarge.outlined[data-v-8c3b0c3f]{padding:9px 11px}.small[data-v-8c3b0c3f],.medium[data-v-8c3b0c3f],.large[data-v-8c3b0c3f],.extraLarge[data-v-8c3b0c3f]{height:auto}.flex[data-v-8c3b0c3f]{display:flex;align-items:center}.start-icon[data-v-8c3b0c3f]{margin-right:8px}.end-icon[data-v-8c3b0c3f]{margin-left:8px}.loading.with-start-icon .content-with-icon[data-v-8c3b0c3f]{padding-left:22px}.loading.with-end-icon .content-with-icon[data-v-8c3b0c3f]{padding-right:22px}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.chip-trigger[data-v-889042cf]{border:1px solid var(--default-outlined-border);padding:.3125rem .3125rem .3125rem .4375rem;border-radius:100px;cursor:pointer;user-select:none;display:inline-flex}.chip-trigger[data-v-889042cf]:hover{border-color:var(--action-active);background:var(--action-selected)}.chip-trigger.active[data-v-889042cf]{border:none;background:var(--primary-light);padding:.375rem .375rem .375rem .5rem}.chip-trigger.active[data-v-889042cf]:hover{border:.0625rem solid var(--primary-main-50-p);padding:.3125rem .3125rem .3125rem .4375rem}.chip-trigger.open[data-v-889042cf]{border:.125rem solid var(--action-active);padding:.25rem .25rem .25rem .375rem;background:var(--action-selected)}.chip-trigger.open.active[data-v-889042cf]{border:.125rem solid var(--primary-main-50-p);background:var(--primary-light);padding:.25rem .25rem .25rem .375rem}.chip-trigger.disabled[data-v-889042cf]{cursor:auto}.chip-trigger--content[data-v-889042cf]{color:var(--primary-contrast-text);display:flex;column-gap:4px}.chip-trigger--content .x-circle-wrapper[data-v-889042cf]{color:var(--primary-dark)}.chip-trigger--content .x-circle-wrapper[data-v-889042cf]:hover{color:var(--primary-darker)}.chip-trigger--icon[data-v-889042cf]{color:var(--action-active)}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.sticky[data-v-c96fba2c]{position:sticky}.table-container[data-v-c96fba2c]{width:100%;position:relative;display:flex;flex-direction:column}.table-header[data-v-c96fba2c]{display:flex;align-items:center;height:calc(var(--spacing-800) - 1px);border-bottom:1px solid var(--common-divider);background-color:var(--background-paper-elevation-0);position:sticky;left:0;padding:var(--spacing-300)}.table-header .table-title[data-v-c96fba2c]{display:flex;flex:1;align-items:center;justify-content:flex-start;height:100%;color:var(--text-primary)}.table-header .table-header-right[data-v-c96fba2c]{display:flex;align-items:center;height:100%}.table-header .search-wrapper[data-v-c96fba2c]{width:13.75rem}.table-header.isStickyHeader[data-v-c96fba2c]{z-index:calc(var(--7d59c3f5) + 3);top:0}.table-head-container[data-v-c96fba2c]{display:flex;align-items:center;white-space:nowrap;color:var(--text-primary)}.table-footer[data-v-c96fba2c]{color:var(--text-primary);background-color:var(--background-paper-elevation-0);padding:0 var(--spacing-300);display:flex;align-items:center;min-height:var(--spacing-600);border:1px solid var(--common-divider);border-radius:var(--border-radius-md);border-top-right-radius:0;border-top-left-radius:0}.table-body-wrapper[data-v-c96fba2c]{display:inline-table}.table-header-actions[data-v-c96fba2c]{margin-left:var(--spacing-100);display:flex;align-items:center}.table-row[data-v-c96fba2c]{position:relative}.table-row.loading[data-v-c96fba2c]{opacity:.7}.table-row:not(.expanded):last-child>td[data-v-c96fba2c]{border-bottom:none}.table-row.expanded:last-child>.expanded-row[data-v-c96fba2c]{border-bottom:none}.expanded-row[data-v-c96fba2c]{grid-column:var(--43b02aae);border-bottom:1px solid var(--common-divider);background-color:var(--background-default)}table[data-v-c96fba2c]{position:relative;display:block;overflow:auto;background:var(--background-paper-elevation-0);border:1px solid var(--common-divider);color:var(--text-primary);text-align:left;table-layout:fixed;width:100%;max-height:100%;border-radius:var(--border-radius-md)}table.hasFooter[data-v-c96fba2c]{border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom:none}table td[data-v-c96fba2c],table th[data-v-c96fba2c]{line-height:normal;padding:0 var(--spacing-200)}table td[data-v-c96fba2c]:first-of-type,table th[data-v-c96fba2c]:first-of-type{padding-left:var(--spacing-300)}table td[data-v-c96fba2c]:last-of-type,table th[data-v-c96fba2c]:last-of-type{padding-right:var(--spacing-300)}table td.expand-toggle-cell[data-v-c96fba2c],table th.expand-toggle-cell[data-v-c96fba2c]{padding-left:var(--spacing-150);padding-right:var(--spacing-75)}table>thead[data-v-c96fba2c]{border-bottom:none;z-index:calc(var(--7d59c3f5) + 1);display:inline-table;min-width:100%}table>thead>tr[data-v-c96fba2c]{color:var(--text-primary);border-bottom:1px solid var(--common-divider);height:var(--spacing-500);display:grid;grid-template-columns:var(--88b8113c)}table>thead>tr>th[data-v-c96fba2c]{background:var(--background-paper-elevation-0);width:100%;display:flex;align-items:center;cursor:default}table>thead>tr>th.bordered[data-v-c96fba2c]{border-right:1px solid var(--common-divider)}table>thead>tr>th.bordered.isStickyRight[data-v-c96fba2c]{border-right:none;border-left:1px solid var(--common-divider)}table>thead>tr>th.isTextRight[data-v-c96fba2c]{justify-content:flex-end}table>thead>tr>th.isSortable[data-v-c96fba2c]{cursor:pointer}table>thead.sticky[data-v-c96fba2c]{position:sticky;top:0;background:white}table>thead.isStickyHeader[data-v-c96fba2c]{z-index:calc(var(--7d59c3f5) + 2);top:calc(var(--spacing-800) - 1px)}table>tbody[data-v-c96fba2c]{display:block}table>tbody>*>tr[data-v-c96fba2c]{background-color:var(--background-default);min-height:var(--f1040b2c);height:auto;display:grid;align-items:center;grid-template-columns:var(--88b8113c)}table>tbody>*>tr:nth-of-type(2n)>td[data-v-c96fba2c]{background-color:var(--background-default)}table>tbody>*>tr:hover:not(.loading)>td[data-v-c96fba2c],table>tbody>*>tr.activeMenu>td[data-v-c96fba2c]{background-color:var(--background-paper-elevation-1)}table>tbody td[data-v-c96fba2c]{background-color:var(--background-default);border:none;min-width:0;display:flex;min-height:var(--f1040b2c);height:auto;width:100%;place-items:center;border-bottom:1px solid var(--common-divider);justify-content:start}table>tbody td.bordered[data-v-c96fba2c]{border-right:1px solid var(--common-divider)}table>tbody td.bordered.isStickyRight[data-v-c96fba2c]{border-right:none;border-left:1px solid var(--common-divider)}table>tbody td.isTextRight[data-v-c96fba2c]{justify-content:flex-end;text-align:right}.section-container[data-v-c96fba2c]{left:0}.sections[data-v-c96fba2c]{display:flex}.section[data-v-c96fba2c]{padding:0 1.5rem;background:var(--background-default);left:0;height:32px;display:flex;align-items:flex-end;border-right:1px solid var(--common-divider)}.table-cell[data-v-c96fba2c]{width:100%}.empty-state[data-v-c96fba2c]{min-height:250px}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.form-card[data-v-ef8b4e81]{border-radius:var(--border-radius-sm);border:1px solid var(--common-divider);background:var(--background-paper)}.card-header[data-v-ef8b4e81]{display:flex;flex-direction:row;align-items:center;min-height:var(--spacing-600);border-radius:calc(var(--border-radius-sm) - 1px) calc(var(--border-radius-sm) - 1px) 0 0;color:var(--text-primary);background:var(--background-paper-elevation-0);padding:0 var(--spacing-300);border-bottom:1px solid var(--common-divider)}.card-header .skeleton-header[data-v-ef8b4e81]{width:220px;height:20px}.card-content[data-v-ef8b4e81]{padding:var(--spacing-400) var(--spacing-500) var(--spacing-500) var(--spacing-500)}.card-content--no-padding[data-v-ef8b4e81]{padding:0}.form-actions[data-v-ef8b4e81]{display:flex;flex-direction:row;justify-content:flex-end;align-items:center;min-height:var(--spacing-700)}.form-action[data-v-ef8b4e81]{margin-left:var(--spacing-100)}.content-skeleton-container[data-v-ef8b4e81]{display:flex;flex-direction:column}.content-skeleton-container .skeleton-long[data-v-ef8b4e81]{margin-bottom:24px;width:100%;max-width:896px;height:16px}.content-skeleton-container .skeleton-short[data-v-ef8b4e81]{margin-bottom:24px;width:100%;max-width:436px;height:16px}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.search-container[data-v-a468fb4a]{position:relative}.search-container[data-v-a468fb4a] .input-container input.input{padding-right:15px}.x-circle-wrapper[data-v-a468fb4a]{width:1rem;height:1rem;color:var(--action-active);cursor:pointer;position:absolute;top:.375rem;right:.3125rem}.x-circle-wrapper[data-v-a468fb4a]:hover{color:var(--text-primary)}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap";.font-tab-label2[data-v-01778240],.font-chart-2[data-v-01778240],.font-chart-1[data-v-01778240]{font-family:Inter,sans-serif;font-weight:700}.font-chip-label[data-v-01778240],.font-table-label[data-v-01778240],.font-button[data-v-01778240],.font-heading-6[data-v-01778240],.font-heading-5[data-v-01778240],.font-heading-4[data-v-01778240],.font-heading-3[data-v-01778240],.font-heading-2[data-v-01778240],.font-heading-1[data-v-01778240],.font-title[data-v-01778240]{font-family:Inter,sans-serif;font-weight:600}.font-tab-label1[data-v-01778240],.font-input-label[data-v-01778240],.font-overline[data-v-01778240],.font-subtitle-2[data-v-01778240],.font-subtitle-1[data-v-01778240]{font-family:Inter,sans-serif;font-weight:500}.font-caption[data-v-01778240],.font-body-2[data-v-01778240],.input-container .input[data-v-01778240],.font-body-1[data-v-01778240]{font-family:Inter,sans-serif;font-weight:400}.font-title[data-v-01778240]{font-size:2.5rem;line-height:3rem;letter-spacing:-.055rem}.font-heading-1[data-v-01778240]{font-size:1.5rem;line-height:1.75rem;letter-spacing:-.0285rem}.font-heading-2[data-v-01778240]{font-size:1.125rem;line-height:1.75rem;letter-spacing:-.01575rem}.font-heading-3[data-v-01778240]{font-size:1rem;line-height:1.5rem;letter-spacing:-.011rem}.font-heading-4[data-v-01778240]{font-size:.875rem;line-height:1rem;letter-spacing:unset}.font-heading-5[data-v-01778240]{font-size:.8125rem;line-height:16px;letter-spacing:unset}.font-heading-6[data-v-01778240]{font-size:.75rem;line-height:.75rem;letter-spacing:0}.input-container .input[data-v-01778240],.font-body-1[data-v-01778240]{font-size:.875rem;line-height:1.25rem;letter-spacing:-.00525rem}.font-body-2[data-v-01778240]{font-size:.8125rem;line-height:1.25rem;letter-spacing:-.00244rem}.font-subtitle-1[data-v-01778240]{font-size:.875rem;line-height:1.25rem;letter-spacing:-.00525rem}.font-subtitle-2[data-v-01778240]{font-size:.8125rem;line-height:1.25rem;letter-spacing:-.00244rem}.font-chart-1[data-v-01778240]{font-size:1.5rem;line-height:1.5rem;letter-spacing:-.015rem}.font-chart-2[data-v-01778240]{font-size:1.25rem;line-height:1.25rem;letter-spacing:-.0125rem}.font-button[data-v-01778240]{font-size:.875rem;line-height:1.25rem;letter-spacing:.00875rem}.font-overline[data-v-01778240]{font-size:.75rem;line-height:1rem;letter-spacing:.045rem;text-transform:uppercase}.font-caption[data-v-01778240]{font-size:.75rem;line-height:1rem}.font-table-label[data-v-01778240]{font-size:.8125rem;line-height:1.25rem;letter-spacing:.00813rem}.font-input-label[data-v-01778240]{font-size:.8125rem;line-height:1rem;letter-spacing:.00813rem}.font-tab-label1[data-v-01778240],.font-tab-label2[data-v-01778240]{font-size:.875rem;line-height:1rem}.font-chip-label[data-v-01778240]{font-size:.75rem;line-height:1rem}h1[data-v-01778240],h2[data-v-01778240],h3[data-v-01778240],h4[data-v-01778240],h5[data-v-01778240],h6[data-v-01778240]{margin:0}.disabled .input[data-v-01778240]::placeholder{color:var(--text-disabled)}.disabled .input-container[data-v-01778240]{cursor:no-drop;background-color:var(--action-disabled-background)}.disabled .input-container[data-v-01778240]:hover{outline:1px solid var(--action-outlined-border);background-color:var(--action-disabled-background)}.input-size-small[data-v-01778240]{height:28px}.input-size-medium[data-v-01778240]{height:32px}.input-size-large[data-v-01778240]{height:40px}.input-with-label-container[data-v-01778240]{display:flex;flex-direction:column;position:relative}.input-container[data-v-01778240]{flex-grow:2;display:flex;flex-direction:row;align-items:center;border-radius:var(--border-radius-md);background:var(--default-main);outline:1px solid var(--action-outlined-border);outline-offset:-1px;padding:0 var(--spacing-100);position:relative}.input-container[data-v-01778240]:hover{outline:1px solid var(--action-active);background-color:var(--action-hover)}.input-container .input[data-v-01778240]{padding:0;width:100%;border:none;background:transparent;color:var(--text-primary);line-height:normal}.input-container .input[data-v-01778240]:focus{outline:none}.input-container .input[data-v-01778240]:disabled{color:var(--text-disabled);cursor:no-drop}.input-container .input.view-only[data-v-01778240]{color:var(--text-disabled)}.input-container .input[type=number][data-v-01778240]::-webkit-inner-spin-button{opacity:.7;transform:scale(1.1)}.input-container .hide-arrows.input[type=number][data-v-01778240]::-webkit-inner-spin-button,.input-container .hide-arrows.input[type=number][data-v-01778240]::-webkit-outer-spin-button{margin:0;-webkit-appearance:none;appearance:none}.input-container .input[type=password][data-v-01778240]{letter-spacing:4px}.input-container[data-v-01778240] ::placeholder{color:var(--text-secondary);letter-spacing:normal}.input-container .label-inside[data-v-01778240]::placeholder{color:var(--text-primary)}.input-container .icon-container[data-v-01778240]{display:flex;align-items:center;color:var(--text-secondary)}.input-container .icon-before[data-v-01778240]{padding-right:var(--spacing-100)}.input-container .icon-after[data-v-01778240]{padding-left:var(--spacing-100)}.prefix-text[data-v-01778240]{color:var(--text-secondary, #646464);margin-right:var(--spacing-100)}.suffix-text[data-v-01778240]{color:var(--text-secondary, #646464);margin-left:var(--spacing-100)}.focused[data-v-01778240],.focused[data-v-01778240]:hover{outline:2px solid var(--primary-main);background-color:var(--action-hover)}.error-icon.error-icon[data-v-01778240],.error-icon.error-icon[data-v-01778240]:hover{color:var(--error-main)}.confirm-icon.confirm-icon[data-v-01778240]{padding-left:.25rem}.confirm-icon.confirm-icon[data-v-01778240]:hover{color:var(--primary-main)}.label-direction-left[data-v-01778240]{flex-direction:row;align-items:center;justify-content:space-between}.apply-button[data-v-01778240]{cursor:pointer;color:var(--primary-main);width:var(--spacing-250);height:var(--spacing-250)}.inline-error[data-v-01778240]{cursor:pointer;color:var(--error-main);display:flex;justify-content:center;align-items:center}.footer[data-v-01778240]{display:flex;justify-content:flex-end;margin:var(--spacing-50) 0}.footer.footer-absolute[data-v-01778240]{position:absolute;bottom:calc(0px - var(--spacing-300))}.password-visibility-toggle[data-v-01778240]{cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--text-secondary)}.variant-success .input-container[data-v-01778240],.variant-success .input-container[data-v-01778240]:hover{outline:2px solid var(--success-dark)}.variant-error .input-container[data-v-01778240],.variant-error .input-container[data-v-01778240]:hover{outline:2px solid var(--error-main)}.variant-warning .input-container[data-v-01778240],.variant-warning .input-container[data-v-01778240]:hover{outline:2px solid var(--warning-dark)}.field-max-length[data-v-01778240]{position:absolute;bottom:calc(0px - var(--spacing-250));right:0}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
div[data-v-25809092]{display:block}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./Autocomplete.vue2.js";
|
|
2
2
|
/* empty css */import e from "../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../Autocomplete.
|
|
4
|
-
const
|
|
3
|
+
// import "../../Autocomplete.vue_vue_type_style_index_0_scoped_d2d1dc1d_lang.css"; //*');
|
|
4
|
+
const c = /* @__PURE__ */ e(o, [["__scopeId", "data-v-d2d1dc1d"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
c as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../../Autocomplete.
|
|
1
|
+
import "../../Autocomplete.vue_vue_type_style_index_0_scoped_d2d1dc1d_lang.css"; import { defineComponent as b, computed as h, ref as s, watchEffect as x, openBlock as y, createBlock as k, unref as r, withCtx as f, createVNode as V, isRef as w, renderSlot as T, normalizeProps as g, guardReactiveProps as F } from "vue";
|
|
2
2
|
import I from "../dropdown/v4/DropdownV4.vue.js";
|
|
3
3
|
import "../dropdown/v4/DefaultDropdownTrigger.vue.js";
|
|
4
4
|
import "../dropdown/v4/IconButtonDropdownTrigger.vue.js";
|
|
@@ -35,12 +35,12 @@ const K = /* @__PURE__ */ b({
|
|
|
35
35
|
},
|
|
36
36
|
emits: ["update:modelValue"],
|
|
37
37
|
setup(e, { emit: c }) {
|
|
38
|
-
const a = e, n = S(a, "modelValue", c), m = (
|
|
39
|
-
|
|
40
|
-
}, p = (
|
|
41
|
-
const
|
|
42
|
-
return (a.options || []).filter(
|
|
43
|
-
(
|
|
38
|
+
const a = e, n = S(a, "modelValue", c), m = (l) => {
|
|
39
|
+
l !== void 0 && (n.value = a.displayValue(l));
|
|
40
|
+
}, p = (l, t) => a.displayValue(l).toLowerCase().replace(/\s+/g, "").includes(t.toLowerCase().replace(/\s+/g, "")), d = h(() => {
|
|
41
|
+
const l = n.value.toString();
|
|
42
|
+
return (a.options || []).filter(
|
|
43
|
+
(t) => a.onSearch !== null ? a.onSearch(t, l) : p(t, l)
|
|
44
44
|
);
|
|
45
45
|
}), o = s(!1), u = s(!1);
|
|
46
46
|
x(() => {
|
|
@@ -49,9 +49,9 @@ const K = /* @__PURE__ */ b({
|
|
|
49
49
|
const v = () => {
|
|
50
50
|
a.disabled || !o.value && d.value.length && (o.value = !0);
|
|
51
51
|
};
|
|
52
|
-
return (
|
|
52
|
+
return (l, t) => (y(), k(r(I), {
|
|
53
53
|
"is-open": o.value,
|
|
54
|
-
"onUpdate:is-open":
|
|
54
|
+
"onUpdate:is-open": t[3] || (t[3] = (i) => o.value = i),
|
|
55
55
|
class: "autocomplete-dropdown",
|
|
56
56
|
"display-value": e.displayValue,
|
|
57
57
|
options: r(d),
|
|
@@ -66,7 +66,7 @@ const K = /* @__PURE__ */ b({
|
|
|
66
66
|
"dropdown-trigger": f(() => [
|
|
67
67
|
V(r(B), {
|
|
68
68
|
modelValue: r(n),
|
|
69
|
-
"onUpdate:modelValue":
|
|
69
|
+
"onUpdate:modelValue": t[0] || (t[0] = (i) => w(n) ? n.value = i : null),
|
|
70
70
|
class: "autocomplete-field",
|
|
71
71
|
placeholder: e.placeholder,
|
|
72
72
|
disabled: e.disabled,
|
|
@@ -82,13 +82,14 @@ const K = /* @__PURE__ */ b({
|
|
|
82
82
|
"show-feedback-text-icon": e.showFeedbackTextIcon,
|
|
83
83
|
"inline-error": e.inlineError,
|
|
84
84
|
"inline-error-text": e.inlineErrorText,
|
|
85
|
-
|
|
86
|
-
|
|
85
|
+
"feedback-position-absolute": !0,
|
|
86
|
+
onFocusin: t[1] || (t[1] = (i) => u.value = !0),
|
|
87
|
+
onFocusout: t[2] || (t[2] = (i) => u.value = !1),
|
|
87
88
|
onClick: v
|
|
88
89
|
}, null, 8, ["modelValue", "placeholder", "disabled", "size", "label", "label-direction", "mandatory", "hover-help-text", "hover-help-text-placemen", "test-id", "feedback-variant", "feedback-text", "show-feedback-text-icon", "inline-error", "inline-error-text"])
|
|
89
90
|
]),
|
|
90
91
|
default: f((i) => [
|
|
91
|
-
T(
|
|
92
|
+
T(l.$slots, "default", g(F(i)), void 0, !0)
|
|
92
93
|
]),
|
|
93
94
|
_: 3
|
|
94
95
|
}, 8, ["is-open", "display-value", "options", "option-name-key", "options-list-width", "disabled", "test-id"]));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./ButtonV4.vue2.js";
|
|
2
2
|
/* empty css */import t from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../../ButtonV4.
|
|
4
|
-
const
|
|
3
|
+
// import "../../../ButtonV4.vue_vue_type_style_index_0_scoped_8c3b0c3f_lang.css"; //*');
|
|
4
|
+
const s = /* @__PURE__ */ t(o, [["__scopeId", "data-v-8c3b0c3f"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
s as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../../../ButtonV4.
|
|
1
|
+
import "../../../ButtonV4.vue_vue_type_style_index_0_scoped_8c3b0c3f_lang.css"; import { defineComponent as N, computed as h, openBlock as a, createElementBlock as s, normalizeClass as i, createElementVNode as r, createBlock as f, unref as t, createCommentVNode as n, createVNode as c, withCtx as u, renderSlot as m, createTextVNode as z, toDisplayString as g } from "vue";
|
|
2
2
|
import I from "../../typography/v4/Typography.vue.js";
|
|
3
3
|
import y from "../../icon/v4/IconV4.vue.js";
|
|
4
4
|
import b from "../../loader/v4/Loader.vue.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./ChipDropdownTrigger.vue2.js";
|
|
2
2
|
/* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../../ChipDropdownTrigger.
|
|
4
|
-
const s = /* @__PURE__ */ e(o, [["__scopeId", "data-v-
|
|
3
|
+
// import "../../../ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_889042cf_lang.css"; //*');
|
|
4
|
+
const s = /* @__PURE__ */ e(o, [["__scopeId", "data-v-889042cf"]]);
|
|
5
5
|
export {
|
|
6
6
|
s as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../../../ChipDropdownTrigger.
|
|
1
|
+
import "../../../ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_889042cf_lang.css"; import { defineComponent as V, ref as b, computed as p, openBlock as _, createElementBlock as C, mergeProps as s, unref as t, createElementVNode as c, createVNode as d, withCtx as w, createTextVNode as k, toDisplayString as v, withDirectives as u, vShow as f, withModifiers as x } from "vue";
|
|
2
2
|
import m from "../../icon/v4/IconV4.vue.js";
|
|
3
3
|
import A from "../../typography/v4/Typography.vue.js";
|
|
4
4
|
import { DropdownTestIdModifiers as o } from "../../../testids/index.js";
|
|
@@ -208,6 +208,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
208
208
|
distance: number;
|
|
209
209
|
popperClass: string;
|
|
210
210
|
selected: any;
|
|
211
|
+
onClear: () => void;
|
|
211
212
|
modelValue: any;
|
|
212
213
|
placeholder: string;
|
|
213
214
|
multi: boolean;
|
|
@@ -229,7 +230,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
229
230
|
onSearch: (option: any, term: string) => boolean;
|
|
230
231
|
noResultsText: string;
|
|
231
232
|
searchAutoFocus: boolean;
|
|
232
|
-
onClear: () => void;
|
|
233
233
|
optionNameKey: string;
|
|
234
234
|
optionIconKey: string;
|
|
235
235
|
optionImageKey: string;
|
|
@@ -1368,6 +1368,7 @@ declare const DropdownTypes: () => (({
|
|
|
1368
1368
|
distance: number;
|
|
1369
1369
|
popperClass: string;
|
|
1370
1370
|
selected: any;
|
|
1371
|
+
onClear: () => void;
|
|
1371
1372
|
modelValue: any;
|
|
1372
1373
|
placeholder: string;
|
|
1373
1374
|
multi: boolean;
|
|
@@ -1389,7 +1390,6 @@ declare const DropdownTypes: () => (({
|
|
|
1389
1390
|
onSearch: (option: any, term: string) => boolean;
|
|
1390
1391
|
noResultsText: string;
|
|
1391
1392
|
searchAutoFocus: boolean;
|
|
1392
|
-
onClear: () => void;
|
|
1393
1393
|
optionNameKey: string;
|
|
1394
1394
|
optionIconKey: string;
|
|
1395
1395
|
optionImageKey: string;
|
|
@@ -1451,6 +1451,10 @@ declare const DropdownTypes: () => (({
|
|
|
1451
1451
|
type: import("vue").PropType<unknown[]>;
|
|
1452
1452
|
required: true;
|
|
1453
1453
|
};
|
|
1454
|
+
onClear: {
|
|
1455
|
+
type: import("vue").PropType<() => void>;
|
|
1456
|
+
default: () => true;
|
|
1457
|
+
};
|
|
1454
1458
|
modelValue: {
|
|
1455
1459
|
type: import("vue").PropType<unknown>;
|
|
1456
1460
|
default: any;
|
|
@@ -1538,10 +1542,6 @@ declare const DropdownTypes: () => (({
|
|
|
1538
1542
|
type: import("vue").PropType<boolean>;
|
|
1539
1543
|
default: boolean;
|
|
1540
1544
|
};
|
|
1541
|
-
onClear: {
|
|
1542
|
-
type: import("vue").PropType<() => void>;
|
|
1543
|
-
default: () => true;
|
|
1544
|
-
};
|
|
1545
1545
|
displayValue: {
|
|
1546
1546
|
type: import("vue").PropType<(option: unknown) => string>;
|
|
1547
1547
|
required: true;
|
|
@@ -1588,7 +1588,7 @@ declare const DropdownTypes: () => (({
|
|
|
1588
1588
|
"onUpdate:isOpen"?: (value: unknown) => any;
|
|
1589
1589
|
onOpened?: () => any;
|
|
1590
1590
|
onClosed?: () => any;
|
|
1591
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "theme" | "disabled" | "size" | "flip" | "mandatory" | "testId" | "container" | "placement" | "distance" | "popperClass" | "selected" | "modelValue" | "placeholder" | "multi" | "showSelectAll" | "defaultOpen" | "keepOpen" | "autoSize" | "disableKeyboardEvents" | "isOnTop" | "skidding" | "triggerLabel" | "triggerHelperText" | "triggerFeedbackText" | "triggerFeedbackVariant" | "triggerFeedbackShowIcon" | "predefinedTrigger" | "inlineSearch" | "inlineSearchPlaceholder" | "onSearch" | "noResultsText" | "searchAutoFocus" | "
|
|
1591
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "theme" | "disabled" | "size" | "flip" | "mandatory" | "testId" | "container" | "placement" | "distance" | "popperClass" | "selected" | "onClear" | "modelValue" | "placeholder" | "multi" | "showSelectAll" | "defaultOpen" | "keepOpen" | "autoSize" | "disableKeyboardEvents" | "isOnTop" | "skidding" | "triggerLabel" | "triggerHelperText" | "triggerFeedbackText" | "triggerFeedbackVariant" | "triggerFeedbackShowIcon" | "predefinedTrigger" | "inlineSearch" | "inlineSearchPlaceholder" | "onSearch" | "noResultsText" | "searchAutoFocus" | "optionNameKey" | "optionIconKey" | "optionImageKey" | "optionIconType" | "valueToCopy" | "disabledOptionKey" | "fullWidth" | "optionsListWidth" | "statusType">;
|
|
1592
1592
|
$attrs: {
|
|
1593
1593
|
[x: string]: unknown;
|
|
1594
1594
|
};
|
|
@@ -1654,6 +1654,10 @@ declare const DropdownTypes: () => (({
|
|
|
1654
1654
|
type: import("vue").PropType<unknown[]>;
|
|
1655
1655
|
required: true;
|
|
1656
1656
|
};
|
|
1657
|
+
onClear: {
|
|
1658
|
+
type: import("vue").PropType<() => void>;
|
|
1659
|
+
default: () => true;
|
|
1660
|
+
};
|
|
1657
1661
|
modelValue: {
|
|
1658
1662
|
type: import("vue").PropType<unknown>;
|
|
1659
1663
|
default: any;
|
|
@@ -1741,10 +1745,6 @@ declare const DropdownTypes: () => (({
|
|
|
1741
1745
|
type: import("vue").PropType<boolean>;
|
|
1742
1746
|
default: boolean;
|
|
1743
1747
|
};
|
|
1744
|
-
onClear: {
|
|
1745
|
-
type: import("vue").PropType<() => void>;
|
|
1746
|
-
default: () => true;
|
|
1747
|
-
};
|
|
1748
1748
|
displayValue: {
|
|
1749
1749
|
type: import("vue").PropType<(option: unknown) => string>;
|
|
1750
1750
|
required: true;
|
|
@@ -1812,6 +1812,7 @@ declare const DropdownTypes: () => (({
|
|
|
1812
1812
|
distance: number;
|
|
1813
1813
|
popperClass: string;
|
|
1814
1814
|
selected: any;
|
|
1815
|
+
onClear: () => void;
|
|
1815
1816
|
modelValue: any;
|
|
1816
1817
|
placeholder: string;
|
|
1817
1818
|
multi: boolean;
|
|
@@ -1833,7 +1834,6 @@ declare const DropdownTypes: () => (({
|
|
|
1833
1834
|
onSearch: (option: any, term: string) => boolean;
|
|
1834
1835
|
noResultsText: string;
|
|
1835
1836
|
searchAutoFocus: boolean;
|
|
1836
|
-
onClear: () => void;
|
|
1837
1837
|
optionNameKey: string;
|
|
1838
1838
|
optionIconKey: string;
|
|
1839
1839
|
optionImageKey: string;
|
|
@@ -1915,6 +1915,10 @@ declare const DropdownTypes: () => (({
|
|
|
1915
1915
|
type: import("vue").PropType<unknown[]>;
|
|
1916
1916
|
required: true;
|
|
1917
1917
|
};
|
|
1918
|
+
onClear: {
|
|
1919
|
+
type: import("vue").PropType<() => void>;
|
|
1920
|
+
default: () => true;
|
|
1921
|
+
};
|
|
1918
1922
|
modelValue: {
|
|
1919
1923
|
type: import("vue").PropType<unknown>;
|
|
1920
1924
|
default: any;
|
|
@@ -2002,10 +2006,6 @@ declare const DropdownTypes: () => (({
|
|
|
2002
2006
|
type: import("vue").PropType<boolean>;
|
|
2003
2007
|
default: boolean;
|
|
2004
2008
|
};
|
|
2005
|
-
onClear: {
|
|
2006
|
-
type: import("vue").PropType<() => void>;
|
|
2007
|
-
default: () => true;
|
|
2008
|
-
};
|
|
2009
2009
|
displayValue: {
|
|
2010
2010
|
type: import("vue").PropType<(option: unknown) => string>;
|
|
2011
2011
|
required: true;
|
|
@@ -2111,6 +2111,10 @@ declare const DropdownTypes: () => (({
|
|
|
2111
2111
|
type: import("vue").PropType<unknown[]>;
|
|
2112
2112
|
required: true;
|
|
2113
2113
|
};
|
|
2114
|
+
onClear: {
|
|
2115
|
+
type: import("vue").PropType<() => void>;
|
|
2116
|
+
default: () => true;
|
|
2117
|
+
};
|
|
2114
2118
|
modelValue: {
|
|
2115
2119
|
type: import("vue").PropType<unknown>;
|
|
2116
2120
|
default: any;
|
|
@@ -2198,10 +2202,6 @@ declare const DropdownTypes: () => (({
|
|
|
2198
2202
|
type: import("vue").PropType<boolean>;
|
|
2199
2203
|
default: boolean;
|
|
2200
2204
|
};
|
|
2201
|
-
onClear: {
|
|
2202
|
-
type: import("vue").PropType<() => void>;
|
|
2203
|
-
default: () => true;
|
|
2204
|
-
};
|
|
2205
2205
|
displayValue: {
|
|
2206
2206
|
type: import("vue").PropType<(option: unknown) => string>;
|
|
2207
2207
|
required: true;
|
|
@@ -2269,6 +2269,7 @@ declare const DropdownTypes: () => (({
|
|
|
2269
2269
|
distance: number;
|
|
2270
2270
|
popperClass: string;
|
|
2271
2271
|
selected: any;
|
|
2272
|
+
onClear: () => void;
|
|
2272
2273
|
modelValue: any;
|
|
2273
2274
|
placeholder: string;
|
|
2274
2275
|
multi: boolean;
|
|
@@ -2290,7 +2291,6 @@ declare const DropdownTypes: () => (({
|
|
|
2290
2291
|
onSearch: (option: any, term: string) => boolean;
|
|
2291
2292
|
noResultsText: string;
|
|
2292
2293
|
searchAutoFocus: boolean;
|
|
2293
|
-
onClear: () => void;
|
|
2294
2294
|
optionNameKey: string;
|
|
2295
2295
|
optionIconKey: string;
|
|
2296
2296
|
optionImageKey: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./FormCard.vue2.js";
|
|
2
|
-
/* empty css */import
|
|
3
|
-
// import "../../FormCard.
|
|
4
|
-
const
|
|
2
|
+
/* empty css */import e from "../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../FormCard.vue_vue_type_style_index_0_scoped_ef8b4e81_lang.css"; //*');
|
|
4
|
+
const t = /* @__PURE__ */ e(o, [["__scopeId", "data-v-ef8b4e81"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
t as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../../FormCard.
|
|
1
|
+
import "../../FormCard.vue_vue_type_style_index_0_scoped_ef8b4e81_lang.css"; import { defineComponent as T, openBlock as d, createElementBlock as c, createElementVNode as f, mergeProps as l, unref as e, renderSlot as u, createVNode as a, withCtx as m, createTextVNode as g, toDisplayString as v, createBlock as B, createCommentVNode as C } from "vue";
|
|
2
2
|
import p from "../typography/v4/Typography.vue.js";
|
|
3
3
|
import y from "../button/v4/ButtonV4.vue.js";
|
|
4
4
|
import "../button/v4/IconButtonV4.vue.js";
|
|
@@ -12,6 +12,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
12
12
|
mandatory?: boolean;
|
|
13
13
|
feedbackVariant?: FeedbackVariant;
|
|
14
14
|
feedbackText?: string;
|
|
15
|
+
feedbackPositionAbsolute?: boolean;
|
|
15
16
|
showFeedbackTextIcon?: boolean;
|
|
16
17
|
autoFocus?: boolean;
|
|
17
18
|
type?: FieldType;
|
|
@@ -53,6 +54,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
53
54
|
feedbackText: string;
|
|
54
55
|
feedbackVariant: any;
|
|
55
56
|
showFeedbackTextIcon: boolean;
|
|
57
|
+
feedbackPositionAbsolute: boolean;
|
|
56
58
|
}>, {
|
|
57
59
|
manualFocus: () => any;
|
|
58
60
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -69,6 +71,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
69
71
|
mandatory?: boolean;
|
|
70
72
|
feedbackVariant?: FeedbackVariant;
|
|
71
73
|
feedbackText?: string;
|
|
74
|
+
feedbackPositionAbsolute?: boolean;
|
|
72
75
|
showFeedbackTextIcon?: boolean;
|
|
73
76
|
autoFocus?: boolean;
|
|
74
77
|
type?: FieldType;
|
|
@@ -110,6 +113,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
110
113
|
feedbackText: string;
|
|
111
114
|
feedbackVariant: any;
|
|
112
115
|
showFeedbackTextIcon: boolean;
|
|
116
|
+
feedbackPositionAbsolute: boolean;
|
|
113
117
|
}>>> & {
|
|
114
118
|
"onUpdate:modelValue"?: (value: string | number) => any;
|
|
115
119
|
onApply?: () => any;
|
|
@@ -139,6 +143,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
139
143
|
feedbackText: string;
|
|
140
144
|
feedbackVariant: FeedbackVariant;
|
|
141
145
|
showFeedbackTextIcon: boolean;
|
|
146
|
+
feedbackPositionAbsolute: boolean;
|
|
142
147
|
}>, {
|
|
143
148
|
iconBefore?(_: {}): any;
|
|
144
149
|
iconAfter?(_: {}): any;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import e from "./TextField.vue2.js";
|
|
2
2
|
/* empty css */import o from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../../TextField.
|
|
4
|
-
const p = /* @__PURE__ */ o(e, [["__scopeId", "data-v-
|
|
3
|
+
// import "../../../TextField.vue_vue_type_style_index_0_scoped_01778240_lang.css"; //*');
|
|
4
|
+
const p = /* @__PURE__ */ o(e, [["__scopeId", "data-v-01778240"]]);
|
|
5
5
|
export {
|
|
6
6
|
p as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../../../TextField.
|
|
1
|
+
import "../../../TextField.vue_vue_type_style_index_0_scoped_01778240_lang.css"; import { defineComponent as M, computed as b, ref as G, openBlock as l, createElementBlock as r, mergeProps as y, unref as t, createBlock as d, createCommentVNode as n, createElementVNode as h, normalizeClass as V, renderSlot as C, withCtx as p, createTextVNode as E, toDisplayString as F, withKeys as W, withModifiers as P, createVNode as k } from "vue";
|
|
2
2
|
import v from "../../icon/v4/IconV4.vue.js";
|
|
3
3
|
import j from "../../tooltip/v4/TooltipV4.vue.js";
|
|
4
4
|
import $ from "../../typography/v4/Typography.vue.js";
|
|
@@ -18,12 +18,9 @@ const Y = {
|
|
|
18
18
|
key: 6,
|
|
19
19
|
class: "icon-container icon-after"
|
|
20
20
|
}, le = {
|
|
21
|
-
key: 1,
|
|
22
|
-
class: "footer"
|
|
23
|
-
}, ae = {
|
|
24
21
|
inheritAttrs: !1
|
|
25
|
-
},
|
|
26
|
-
...
|
|
22
|
+
}, me = /* @__PURE__ */ M({
|
|
23
|
+
...le,
|
|
27
24
|
__name: "TextField",
|
|
28
25
|
props: {
|
|
29
26
|
modelValue: { default: "" },
|
|
@@ -36,6 +33,7 @@ const Y = {
|
|
|
36
33
|
mandatory: { type: Boolean, default: !1 },
|
|
37
34
|
feedbackVariant: { default: null },
|
|
38
35
|
feedbackText: { default: "" },
|
|
36
|
+
feedbackPositionAbsolute: { type: Boolean, default: !0 },
|
|
39
37
|
showFeedbackTextIcon: { type: Boolean, default: !1 },
|
|
40
38
|
autoFocus: { type: Boolean, default: !1 },
|
|
41
39
|
type: { default: "text" },
|
|
@@ -53,23 +51,23 @@ const Y = {
|
|
|
53
51
|
inlineErrorText: { default: "" }
|
|
54
52
|
},
|
|
55
53
|
emits: ["update:modelValue", "apply"],
|
|
56
|
-
setup(e, { expose:
|
|
57
|
-
const s = e, c = X(s.testId, f),
|
|
58
|
-
s.showApply ?
|
|
59
|
-
},
|
|
60
|
-
onConfirm:
|
|
61
|
-
onEnter:
|
|
62
|
-
inputRef:
|
|
54
|
+
setup(e, { expose: z, emit: w }) {
|
|
55
|
+
const s = e, c = X(s.testId, f), O = () => {
|
|
56
|
+
s.showApply ? w("apply") : o?.confirmable && N();
|
|
57
|
+
}, D = () => g.value.focus(), {
|
|
58
|
+
onConfirm: N,
|
|
59
|
+
onEnter: T,
|
|
60
|
+
inputRef: g,
|
|
63
61
|
isFocused: x,
|
|
64
|
-
showLabelInside:
|
|
62
|
+
showLabelInside: I,
|
|
65
63
|
api: o,
|
|
66
|
-
labelText:
|
|
67
|
-
sizeClass:
|
|
68
|
-
handleInput:
|
|
69
|
-
handleKeypress:
|
|
70
|
-
} = q(s,
|
|
71
|
-
return
|
|
72
|
-
manualFocus:
|
|
64
|
+
labelText: S,
|
|
65
|
+
sizeClass: H,
|
|
66
|
+
handleInput: B,
|
|
67
|
+
handleKeypress: A
|
|
68
|
+
} = q(s, w), L = b(() => o.value?.value ?? s.modelValue), R = b(() => (L.value || "").length), m = G(!1), K = b(() => m.value && s.type === "password" ? "text" : s.type);
|
|
69
|
+
return z({
|
|
70
|
+
manualFocus: D
|
|
73
71
|
}), (u, a) => (l(), r("div", y({
|
|
74
72
|
class: {
|
|
75
73
|
"input-with-label-container": !0,
|
|
@@ -86,72 +84,72 @@ const Y = {
|
|
|
86
84
|
disabled: e.disabled,
|
|
87
85
|
"test-id": e.testId
|
|
88
86
|
}, null, 8, ["label", "mandatory", "hover-help-text", "hover-help-text-placement", "disabled", "test-id"])) : n("", !0),
|
|
89
|
-
|
|
90
|
-
class:
|
|
87
|
+
h("div", {
|
|
88
|
+
class: V({
|
|
91
89
|
"input-container": !0,
|
|
92
|
-
"label-inside": t(
|
|
90
|
+
"label-inside": t(I),
|
|
93
91
|
focused: t(x)
|
|
94
92
|
})
|
|
95
93
|
}, [
|
|
96
94
|
u.$slots.iconBefore ? (l(), r("div", Y, [
|
|
97
|
-
|
|
95
|
+
C(u.$slots, "iconBefore", {}, void 0, !0)
|
|
98
96
|
])) : n("", !0),
|
|
99
97
|
e.prefix ? (l(), d(t($), {
|
|
100
98
|
key: 1,
|
|
101
99
|
class: "prefix-text",
|
|
102
100
|
variant: "body1"
|
|
103
101
|
}, {
|
|
104
|
-
default:
|
|
105
|
-
|
|
102
|
+
default: p(() => [
|
|
103
|
+
E(F(e.prefix), 1)
|
|
106
104
|
]),
|
|
107
105
|
_: 1
|
|
108
106
|
})) : n("", !0),
|
|
109
|
-
|
|
107
|
+
h("input", y({ ...u.$attrs, ...t(c)[t(f).FIELD] }, {
|
|
110
108
|
ref_key: "inputRef",
|
|
111
|
-
ref:
|
|
112
|
-
value: t(
|
|
113
|
-
placeholder: t(
|
|
109
|
+
ref: g,
|
|
110
|
+
value: t(L),
|
|
111
|
+
placeholder: t(S),
|
|
114
112
|
disabled: e.disabled || e.viewOnly,
|
|
115
|
-
type: t(
|
|
113
|
+
type: t(K),
|
|
116
114
|
class: ["input", {
|
|
117
|
-
[t(
|
|
115
|
+
[t(H)]: !0,
|
|
118
116
|
"view-only": e.viewOnly,
|
|
119
|
-
"label-inside": t(
|
|
117
|
+
"label-inside": t(I),
|
|
120
118
|
"hide-arrows": e.hideNumberArrows,
|
|
121
119
|
"input-type": e.type
|
|
122
120
|
}],
|
|
123
121
|
step: e.step,
|
|
124
122
|
maxlength: e.maxLength,
|
|
125
123
|
onInput: a[0] || (a[0] = //@ts-ignore
|
|
126
|
-
(...i) => t(
|
|
124
|
+
(...i) => t(B) && t(B)(...i)),
|
|
127
125
|
onFocus: a[1] || (a[1] = (i) => x.value = !0),
|
|
128
126
|
onBlur: a[2] || (a[2] = (i) => x.value = !1),
|
|
129
|
-
onKeyup: a[3] || (a[3] = W(
|
|
127
|
+
onKeyup: a[3] || (a[3] = W(P(
|
|
130
128
|
//@ts-ignore
|
|
131
|
-
(...i) => t(
|
|
129
|
+
(...i) => t(T) && t(T)(...i),
|
|
132
130
|
["prevent"]
|
|
133
131
|
), ["enter"])),
|
|
134
132
|
onKeypress: a[4] || (a[4] = //@ts-ignore
|
|
135
|
-
(...i) => t(
|
|
133
|
+
(...i) => t(A) && t(A)(...i))
|
|
136
134
|
}), null, 16, Z),
|
|
137
135
|
e.showApply || t(o)?.confirmable && !t(o)?.error?.value ? (l(), r("div", {
|
|
138
136
|
key: 2,
|
|
139
137
|
class: "apply-button",
|
|
140
|
-
onClick:
|
|
138
|
+
onClick: P(O, ["stop", "prevent"])
|
|
141
139
|
}, [
|
|
142
|
-
|
|
140
|
+
k(t(v), {
|
|
143
141
|
name: "check",
|
|
144
142
|
size: "20px"
|
|
145
143
|
})
|
|
146
144
|
], 8, _)) : n("", !0),
|
|
147
145
|
e.inlineError || t(o)?.error?.value ? (l(), r("div", ee, [
|
|
148
|
-
|
|
146
|
+
k(t(j), y({
|
|
149
147
|
disabled: !e.inlineErrorText && !t(o)?.error?.value,
|
|
150
148
|
text: e.inlineErrorText || t(o)?.error?.value,
|
|
151
149
|
"test-id": e.testId
|
|
152
150
|
}, t(c)[t(f).TOOLTIP]), {
|
|
153
|
-
default:
|
|
154
|
-
|
|
151
|
+
default: p(() => [
|
|
152
|
+
k(t(v), {
|
|
155
153
|
name: "warning-circle",
|
|
156
154
|
size: "16px"
|
|
157
155
|
})
|
|
@@ -164,8 +162,8 @@ const Y = {
|
|
|
164
162
|
class: "suffix-text",
|
|
165
163
|
variant: "body1"
|
|
166
164
|
}, {
|
|
167
|
-
default:
|
|
168
|
-
|
|
165
|
+
default: p(() => [
|
|
166
|
+
E(F(e.suffix), 1)
|
|
169
167
|
]),
|
|
170
168
|
_: 1
|
|
171
169
|
})) : n("", !0),
|
|
@@ -186,26 +184,32 @@ const Y = {
|
|
|
186
184
|
}))
|
|
187
185
|
], 16)) : n("", !0),
|
|
188
186
|
u.$slots.iconAfter ? (l(), r("div", te, [
|
|
189
|
-
|
|
187
|
+
C(u.$slots, "iconAfter", {}, void 0, !0)
|
|
190
188
|
])) : n("", !0)
|
|
191
189
|
], 2),
|
|
192
|
-
e.feedbackText || e.maxLength ? (l(), r("div",
|
|
190
|
+
e.feedbackText || e.maxLength ? (l(), r("div", {
|
|
191
|
+
key: 1,
|
|
192
|
+
class: V(["footer", e.feedbackPositionAbsolute && "footer-absolute"])
|
|
193
|
+
}, [
|
|
193
194
|
e.feedbackText ? (l(), d(Q, {
|
|
194
195
|
key: 0,
|
|
195
196
|
text: e.feedbackText,
|
|
196
197
|
variant: e.feedbackVariant,
|
|
197
198
|
"show-icon": e.showFeedbackTextIcon,
|
|
198
199
|
"test-id": e.testId
|
|
199
|
-
}, null, 8, ["text", "variant", "show-icon", "test-id"])) : n("", !0)
|
|
200
|
+
}, null, 8, ["text", "variant", "show-icon", "test-id"])) : n("", !0)
|
|
201
|
+
], 2)) : n("", !0),
|
|
202
|
+
h("div", null, [
|
|
200
203
|
e.maxLength ? (l(), d(U, {
|
|
201
|
-
key:
|
|
202
|
-
"
|
|
204
|
+
key: 0,
|
|
205
|
+
class: "field-max-length",
|
|
206
|
+
"current-length": t(R),
|
|
203
207
|
"max-length": e.maxLength
|
|
204
208
|
}, null, 8, ["current-length", "max-length"])) : n("", !0)
|
|
205
|
-
])
|
|
209
|
+
])
|
|
206
210
|
], 16));
|
|
207
211
|
}
|
|
208
212
|
});
|
|
209
213
|
export {
|
|
210
|
-
|
|
214
|
+
me as default
|
|
211
215
|
};
|