@ironsource/shared-ui 2.1.7-rc.8 → 2.1.7-test.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Autocomplete.vue_vue_type_style_index_0_scoped_a7bfd237_lang.css +1 -0
- package/DataGridRowsCounter.vue_vue_type_style_index_0_scoped_06751538_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_0_scoped_7af4f288_lang.css +1 -0
- package/IncludeExclude.vue_vue_type_style_index_0_scoped_fb054d88_lang.css +1 -0
- package/IncludeExcludeDragDrop.vue_vue_type_style_index_0_scoped_5764fd61_lang.css +1 -0
- package/MultipleDataGrid.vue_vue_type_style_index_0_scoped_260b9cdc_lang.css +1 -0
- package/OptionV4.vue_vue_type_style_index_0_scoped_9db0f796_lang.css +1 -0
- package/Popover.vue_vue_type_style_index_0_scoped_25eb53db_lang.css +1 -0
- package/TextField.vue_vue_type_style_index_0_scoped_052b1a0c_lang.css +1 -0
- package/components/autocomplete/Autocomplete.vue.d.ts +0 -5
- package/components/autocomplete/Autocomplete.vue.js +2 -2
- package/components/autocomplete/Autocomplete.vue2.js +45 -57
- package/components/autocomplete/index.d.ts +1 -20
- package/components/dropdown/v4/DropdownV4.vue.d.ts +0 -10
- package/components/dropdown/v4/DropdownV4.vue.js +3 -3
- package/components/dropdown/v4/DropdownV4.vue2.js +147 -151
- package/components/dropdown/v4/OptionV4.vue.d.ts +0 -10
- package/components/dropdown/v4/OptionV4.vue.js +2 -2
- package/components/dropdown/v4/OptionV4.vue2.js +53 -70
- package/components/dropdown/v4/dropdownStoryArgs.d.ts +0 -14
- package/components/dropdown/v4/index.d.ts +2 -78
- package/components/includeExclude/IncludeExclude.vue.js +4 -4
- package/components/includeExclude/IncludeExclude.vue2.js +2 -2
- package/components/includeExclude/IncludeExcludeDragDrop.vue.js +4 -4
- package/components/includeExclude/IncludeExcludeDragDrop.vue2.js +2 -2
- package/components/input/v4/TextField.vue.js +3 -3
- package/components/input/v4/TextField.vue2.js +66 -70
- package/components/popover/Popover.vue.js +8 -0
- package/components/popover/{v3/Popover.vue2.js → Popover.vue2.js} +1 -1
- package/components/table/v4/DataGridRowsCounter.vue.d.ts +0 -5
- package/components/table/v4/DataGridRowsCounter.vue.js +3 -3
- package/components/table/v4/DataGridRowsCounter.vue2.js +22 -29
- package/components/table/v4/MultipleDataGrid.vue.js +5 -5
- package/components/table/v4/MultipleDataGrid.vue2.js +36 -40
- package/components/table/v4/index.d.ts +0 -9
- package/index.d.ts +5 -588
- package/index.js +70 -70
- package/package.json +3 -7
- package/testids/index.d.ts +0 -5
- package/testids/index.js +23 -24
- package/Autocomplete.vue_vue_type_style_index_0_scoped_e361f9fd_lang.css +0 -1
- package/DataGridRowsCounter.vue_vue_type_style_index_0_scoped_0ce71f73_lang.css +0 -1
- package/DropdownV4.vue_vue_type_style_index_0_scoped_938772ee_lang.css +0 -1
- package/IncludeExclude.vue_vue_type_style_index_0_scoped_cc2adbf5_lang.css +0 -1
- package/IncludeExcludeDragDrop.vue_vue_type_style_index_0_scoped_bd6145ce_lang.css +0 -1
- package/MultipleDataGrid.vue_vue_type_style_index_0_scoped_9e22192c_lang.css +0 -1
- package/OptionV4.vue_vue_type_style_index_0_scoped_b6a06f00_lang.css +0 -1
- package/Popover.vue_vue_type_style_index_0_scoped_c607b770_lang.css +0 -1
- package/PopoverV4.vue_vue_type_style_index_0_scoped_c54cd089_lang.css +0 -1
- package/PopoverV4.vue_vue_type_style_index_1_lang.css +0 -1
- package/TextField.vue_vue_type_style_index_0_scoped_eb472aa3_lang.css +0 -1
- package/components/popover/common/Popover.common.d.ts +0 -6
- package/components/popover/common/Popover.common.js +0 -17
- package/components/popover/v3/Popover.vue.js +0 -8
- package/components/popover/v4/PopoverV4.vue.d.ts +0 -73
- package/components/popover/v4/PopoverV4.vue.js +0 -7
- package/components/popover/v4/PopoverV4.vue2.js +0 -54
- package/components/popover/v4/index.d.ts +0 -209
- package/components/popover/v4/index.js +0 -6
- /package/components/popover/{v3/Popover.vue.d.ts → Popover.vue.d.ts} +0 -0
- /package/components/popover/{v3/index.d.ts → index.d.ts} +0 -0
- /package/components/popover/{v3/index.js → index.js} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
div[data-v-a7bfd237]{display:block}.autocomplete-dropdown[data-v-a7bfd237]{position:relative}.footer[data-v-a7bfd237]{display:flex;justify-content:flex-end;align-items:center;margin-top:var(--spacing-50)}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.data-grid-rows-counter[data-v-06751538]{color:var(--text-secondary)}.text-strong[data-v-06751538]{color:var(--text-primary)}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.v-enter-active[data-v-7af4f288],.v-leave-active[data-v-7af4f288]{transition:opacity .25s ease}ol[data-v-7af4f288],ul[data-v-7af4f288],menu[data-v-7af4f288]{list-style:none;margin:0;padding:0}.dropdown.full-width[data-v-7af4f288],.dropdown.full-width .button__container[data-v-7af4f288]{width:100%}.dropdown-list-wrapper[data-v-7af4f288]{display:flex;flex-direction:column;padding:.5rem .5rem .25rem}.dropdown-list-wrapper--multi[data-v-7af4f288]{padding:.5rem}.list-container--multi[data-v-7af4f288]{margin-bottom:0}.inline-search .inline-search-wrapper[data-v-7af4f288]{padding-bottom:.25rem}.inline-search .list-container[data-v-7af4f288]{padding-top:0}.no-result-container[data-v-7af4f288]{height:100%;display:flex;align-items:center;padding:.375rem .5rem;color:var(--text-disabled)}.no-result[data-v-7af4f288]{color:var(--text-disabled);padding-left:.5rem}.list[data-v-7af4f288]{outline:none;display:flex;flex-direction:column;width:100%;min-height:2rem}.list--multi[data-v-7af4f288]{margin-bottom:.5rem;border-bottom-left-radius:0;border-bottom-right-radius:0}.image-slot[data-v-7af4f288]{margin-right:.5rem}.actions-wrapper[data-v-7af4f288]{display:flex;width:100%;padding:.5rem .5rem .5rem .125rem;padding-bottom:0;border-top:1px solid var(--common-divider);justify-content:space-between;margin-top:.25rem}.apply-button[data-v-7af4f288]{margin-left:.5rem}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.label[data-v-fb054d88]{color:#41454d}[data-v-fb054d88]::-webkit-scrollbar{width:.625rem;opacity:.7;background-color:transparent}[data-v-fb054d88]::-webkit-scrollbar-thumb{border:3px solid transparent;background-clip:padding-box;border-radius:.625rem;background-color:#d2d5d8!important}[data-v-fb054d88]::-webkit-scrollbar-track{border-radius:.625rem;background-color:transparent}.loader-wrapper[data-v-fb054d88]{display:flex;width:100%;gap:.5rem;padding-left:.5rem;padding-right:.75rem}.include-exclude-wrapper[data-v-fb054d88]{width:100%}.include-exclude-content[data-v-fb054d88]{width:37.5rem}.include-exclude-list-wrapper[data-v-fb054d88]{border-right:1px #dddfe1 solid;height:13.75rem}.include-exclude-list[data-v-fb054d88],.include-exclude-selected-list[data-v-fb054d88]{overflow-y:auto;overflow-x:none;padding:.5rem .25rem 0 .5rem;max-height:13.75rem;height:13.75rem}.no-result-text[data-v-fb054d88]{color:#8e959d;height:100%}.include-exclude-list-wrapper[data-v-fb054d88],.include-exclude-selected-wrapper[data-v-fb054d88]{width:50%;height:100%;display:flex;flex-direction:column;justify-content:flex-start}.include-exclude-list-item-skeleton[data-v-fb054d88]{display:flex;gap:.5rem;margin-bottom:1rem}.include-exclude-list-item-skeleton[data-v-fb054d88]:first-child{margin-top:.5rem}li[data-v-fb054d88]:last-child{padding-bottom:.25rem}.include-exclude-header-left-section[data-v-fb054d88]{border-right:1px solid #dddfe1;color:#53575b;padding:1.5rem;height:100%;display:flex;align-items:center}.include-exclude-header-right-section[data-v-fb054d88]{flex-grow:1;padding:0 .375rem}.include-exclude-footer[data-v-fb054d88]{height:3rem;display:flex}.include-exclude-container[data-v-fb054d88]{display:flex;align-items:center;justify-content:center;height:100%}.include-exclude-container-wrapper[data-v-fb054d88]{border-top:1px #dddfe1 solid;border-bottom:1px #dddfe1 solid}.include-exclude-selected-header-left-selected[data-v-fb054d88]{color:#565c62}.include-exclude-header[data-v-fb054d88]{display:flex;align-items:center;justify-content:space-between;height:3.5rem}.include-exclude-list-header-loading[data-v-fb054d88]{gap:.5rem;padding:0 .25rem 0 .5rem}.include-exclude-list-selected-header-loading[data-v-fb054d88]{padding:0 .25rem 0 .5rem}.include-exclude-list-header-loaded[data-v-fb054d88]{padding:0 1rem}.include-exclude-list-header[data-v-fb054d88],.include-exclude-selected-header[data-v-fb054d88]{height:2.5rem;display:flex;justify-content:space-between;align-items:center;height:2.5625rem;border-bottom:1px #dddfe1 solid}.include-exclude-header-right-section-search-input[data-v-fb054d88]{width:100%;height:100%}.include-exclude-selected-header-right[data-v-fb054d88]{height:100%;display:flex}.include-exclude-selected-header-left[data-v-fb054d88]{height:100%;display:flex;align-items:center}.dot-skeleton[data-v-fb054d88]{width:1rem;height:1rem}ol[data-v-fb054d88],ul[data-v-fb054d88],menu[data-v-fb054d88]{list-style:none;margin:0;padding:0}.include-exclude-footer-buttons[data-v-fb054d88]{display:flex;align-items:center;justify-content:center;margin-left:auto;gap:.25rem;padding-right:1rem}.switch-enter-from[data-v-fb054d88],.switch-leave-to[data-v-fb054d88]{transition:all .25s ease;opacity:0}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.label[data-v-5764fd61]{color:#41454d}[data-v-5764fd61]::-webkit-scrollbar{width:.625rem;opacity:.7;background-color:transparent}[data-v-5764fd61]::-webkit-scrollbar-thumb{border:3px solid transparent;background-clip:padding-box;border-radius:.625rem;background-color:#d2d5d8!important}[data-v-5764fd61]::-webkit-scrollbar-track{border-radius:.625rem;background-color:transparent}.loader-wrapper[data-v-5764fd61]{display:flex;width:100%;gap:.5rem;padding-left:.5rem;padding-right:.75rem}.include-exclude-wrapper[data-v-5764fd61]{width:100%}.include-exclude-content[data-v-5764fd61]{width:37.5rem}.include-exclude-list-wrapper[data-v-5764fd61]{border-right:1px #dddfe1 solid;height:13.75rem}.include-exclude-list[data-v-5764fd61],.include-exclude-selected-list[data-v-5764fd61]{overflow-y:auto;overflow-x:none;padding:.5rem .25rem 0 .5rem;max-height:13.75rem;height:13.75rem}.include-exclude-list.include-exclude-list-draggable[data-v-5764fd61],.include-exclude-selected-list.include-exclude-list-draggable[data-v-5764fd61]{padding:.75rem .5rem .5rem;height:18.5rem;max-height:18.5rem}.include-exclude-list.include-exclude-list-draggable li[data-v-5764fd61]:last-child,.include-exclude-selected-list.include-exclude-list-draggable li[data-v-5764fd61]:last-child{padding-bottom:.5rem}.no-result-text[data-v-5764fd61]{color:#8e959d;height:100%}.include-exclude-list-wrapper[data-v-5764fd61],.include-exclude-selected-wrapper[data-v-5764fd61]{width:50%;height:100%;display:flex;flex-direction:column;justify-content:flex-start}.include-exclude-list-item-skeleton[data-v-5764fd61]{display:flex;gap:.5rem;margin-bottom:1rem}.include-exclude-list-item-skeleton[data-v-5764fd61]:first-child{margin-top:.5rem}li[data-v-5764fd61]:last-child{padding-bottom:.25rem}.drag-item[data-v-5764fd61]:last-child{padding-bottom:.25rem}.include-exclude-header-left-section[data-v-5764fd61]{border-right:1px solid #dddfe1;color:#53575b;padding:1.5rem;height:100%;display:flex;align-items:center}.include-exclude-header-right-section[data-v-5764fd61]{flex-grow:1;padding:0 .375rem}.include-exclude-footer[data-v-5764fd61]{height:3rem;display:flex}.include-exclude-container[data-v-5764fd61]{display:flex;align-items:center;justify-content:center;height:100%}.include-exclude-container-wrapper[data-v-5764fd61]{border-top:1px #dddfe1 solid;border-bottom:1px #dddfe1 solid}.include-exclude-selected-header-left-selected[data-v-5764fd61]{color:#565c62}.include-exclude-header[data-v-5764fd61]{display:flex;align-items:center;justify-content:space-between;height:3.5rem}.include-exclude-list-header-loading[data-v-5764fd61]{gap:.5rem;padding:0 .25rem 0 .5rem}.include-exclude-list-selected-header-loading[data-v-5764fd61]{padding:0 .25rem 0 .5rem}.include-exclude-list-header-loaded[data-v-5764fd61]{padding:0 1rem}.include-exclude-list-header[data-v-5764fd61],.include-exclude-selected-header[data-v-5764fd61]{height:2.5rem;display:flex;justify-content:space-between;align-items:center;height:2.5625rem;border-bottom:1px #dddfe1 solid}.include-exclude-header-right-section-search-input[data-v-5764fd61]{width:100%;height:100%}.include-exclude-selected-header-right[data-v-5764fd61]{height:100%;display:flex}.include-exclude-selected-header-left[data-v-5764fd61]{height:100%;display:flex;align-items:center}.dot-skeleton[data-v-5764fd61]{width:1rem;height:1rem}ol[data-v-5764fd61],ul[data-v-5764fd61],menu[data-v-5764fd61]{list-style:none;margin:0;padding:0}.include-exclude-footer-buttons[data-v-5764fd61]{display:flex;align-items:center;justify-content:center;margin-left:auto;gap:.25rem;padding-right:1rem}.switch-enter-from[data-v-5764fd61],.switch-leave-to[data-v-5764fd61]{transition:all .25s ease;opacity:0}.option-collapse[data-v-5764fd61]{padding:.5rem .25rem .5rem .5rem;height:40px;display:flex;align-items:center;justify-content:space-between;cursor:pointer}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.multi-table-container[data-v-260b9cdc]{border-radius:var(--border-radius-md);border:1px solid var(--common-divider);display:flex;flex-direction:column;overflow-y:auto;width:100%}.multi-table-container .table-header-container[data-v-260b9cdc]{align-items:center;background-color:var(--background-paper-elevation-0);display:flex;height:calc(var(--spacing-800) - 2px);justify-content:space-between;padding:var(--spacing-300);width:100%}.multi-table-container .table-header-container.sticky[data-v-260b9cdc]{position:sticky;top:0;z-index:calc(var(--6bca14de) + 3)}.multi-table-container[data-v-260b9cdc] table{display:table;border:unset;border-radius:unset}.multi-table-container[data-v-260b9cdc] thead{border-top:1px solid var(--common-divider)}.multi-table-container .tables-container[data-v-260b9cdc] thead.sticky{top:62px}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.label[data-v-9db0f796]{color:#41454d}.item-container[data-v-9db0f796]{width:100%;display:flex;align-items:center;cursor:pointer;border-radius:var(--border-radius-lg);margin-bottom:.25rem;color:var(--text-primary);padding:6px 8px}.item-container--disabled[data-v-9db0f796]{cursor:initial;color:var(--text-disabled)}.item-container[data-v-9db0f796]:hover:not(.item-container--disabled){background-color:var(--action-hover)}.item-container--active[data-v-9db0f796],.item-container[data-v-9db0f796]:active{background-color:var(--action-selected)}.item-container:not(.item-container--multi).item-container--selected[data-v-9db0f796]{background-color:var(--action-selected)}.subtitle[data-v-9db0f796]{color:#7b838c;line-height:1rem}.clear-button[data-v-9db0f796]{display:flex;padding:0 4px;color:#7b838c;align-items:center;height:auto;background-image:none;min-width:auto;border:none;background-color:transparent}.clear-button[data-v-9db0f796]:hover{color:#3083ff}.item[data-v-9db0f796]{width:100%;display:flex;gap:.5rem;align-items:center}.item--with-icon[data-v-9db0f796],.item--multi[data-v-9db0f796]{display:flex;flex-direction:row;align-items:center;justify-content:start}.item .image[data-v-9db0f796]{width:20px;height:20px;flex:none}.item .image img[data-v-9db0f796]{width:20px;height:20px;border-radius:4px}.item .start-icon[data-v-9db0f796],.item .end-icon[data-v-9db0f796]{display:flex;color:var(--action-active)}.item .option-text[data-v-9db0f796]{line-height:1.1875rem}.text-container[data-v-9db0f796]{width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-align:left}.tooltip-option[data-v-9db0f796]{display:block}.tooltip-option[data-v-9db0f796] .container{width:100%}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
div[data-v-25eb53db]{display:block}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap";.font-tab-label2[data-v-052b1a0c],.font-chart-2[data-v-052b1a0c],.font-chart-1[data-v-052b1a0c]{font-family:Inter,sans-serif;font-weight:700}.font-chip-label[data-v-052b1a0c],.font-table-label[data-v-052b1a0c],.font-button[data-v-052b1a0c],.font-heading-6[data-v-052b1a0c],.font-heading-5[data-v-052b1a0c],.font-heading-4[data-v-052b1a0c],.font-heading-3[data-v-052b1a0c],.font-heading-2[data-v-052b1a0c],.font-heading-1[data-v-052b1a0c],.font-title[data-v-052b1a0c]{font-family:Inter,sans-serif;font-weight:600}.font-tab-label1[data-v-052b1a0c],.font-input-label[data-v-052b1a0c],.font-overline[data-v-052b1a0c],.font-subtitle-2[data-v-052b1a0c],.font-subtitle-1[data-v-052b1a0c]{font-family:Inter,sans-serif;font-weight:500}.font-caption[data-v-052b1a0c],.font-body-2[data-v-052b1a0c],.input-container .input[data-v-052b1a0c],.font-body-1[data-v-052b1a0c]{font-family:Inter,sans-serif;font-weight:400}.font-title[data-v-052b1a0c]{font-size:2.5rem;line-height:3rem;letter-spacing:-.055rem}.font-heading-1[data-v-052b1a0c]{font-size:1.5rem;line-height:1.75rem;letter-spacing:-.0285rem}.font-heading-2[data-v-052b1a0c]{font-size:1.125rem;line-height:1.75rem;letter-spacing:-.01575rem}.font-heading-3[data-v-052b1a0c]{font-size:1rem;line-height:1.5rem;letter-spacing:-.011rem}.font-heading-4[data-v-052b1a0c]{font-size:.875rem;line-height:1rem;letter-spacing:unset}.font-heading-5[data-v-052b1a0c]{font-size:.8125rem;line-height:16px;letter-spacing:unset}.font-heading-6[data-v-052b1a0c]{font-size:.75rem;line-height:.75rem;letter-spacing:0}.input-container .input[data-v-052b1a0c],.font-body-1[data-v-052b1a0c]{font-size:.875rem;line-height:1.25rem;letter-spacing:-.00525rem}.font-body-2[data-v-052b1a0c]{font-size:.8125rem;line-height:1.25rem;letter-spacing:-.00244rem}.font-subtitle-1[data-v-052b1a0c]{font-size:.875rem;line-height:1.25rem;letter-spacing:-.00525rem}.font-subtitle-2[data-v-052b1a0c]{font-size:.8125rem;line-height:1.25rem;letter-spacing:-.00244rem}.font-chart-1[data-v-052b1a0c]{font-size:1.5rem;line-height:1.5rem;letter-spacing:-.015rem}.font-chart-2[data-v-052b1a0c]{font-size:1.25rem;line-height:1.25rem;letter-spacing:-.0125rem}.font-button[data-v-052b1a0c]{font-size:.875rem;line-height:1.25rem;letter-spacing:.00875rem}.font-overline[data-v-052b1a0c]{font-size:.75rem;line-height:1rem;letter-spacing:.045rem;text-transform:uppercase}.font-caption[data-v-052b1a0c]{font-size:.75rem;line-height:1rem}.font-table-label[data-v-052b1a0c]{font-size:.8125rem;line-height:1.25rem;letter-spacing:.00813rem}.font-input-label[data-v-052b1a0c]{font-size:.8125rem;line-height:1rem;letter-spacing:.00813rem}.font-tab-label1[data-v-052b1a0c],.font-tab-label2[data-v-052b1a0c]{font-size:.875rem;line-height:1rem}.font-chip-label[data-v-052b1a0c]{font-size:.75rem;line-height:1rem}h1[data-v-052b1a0c],h2[data-v-052b1a0c],h3[data-v-052b1a0c],h4[data-v-052b1a0c],h5[data-v-052b1a0c],h6[data-v-052b1a0c]{margin:0}.disabled .input[data-v-052b1a0c]::placeholder{color:var(--text-disabled)}.disabled .input-container[data-v-052b1a0c]{cursor:no-drop;background-color:var(--action-disabled-background)}.disabled .input-container[data-v-052b1a0c]:hover{outline:1px solid var(--action-outlined-border);background-color:var(--action-disabled-background)}.input-size-small[data-v-052b1a0c]{height:28px}.input-size-medium[data-v-052b1a0c]{height:32px}.input-size-large[data-v-052b1a0c]{height:40px}.input-with-label-container[data-v-052b1a0c]{display:flex;flex-direction:column}.input-container[data-v-052b1a0c]{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;gap:var(--spacing-50)}.input-container[data-v-052b1a0c]:hover{outline:1px solid var(--action-active);background-color:var(--action-hover)}.input-container .input[data-v-052b1a0c]{padding:0;width:100%;border:none;background:transparent;color:var(--text-primary);line-height:normal}.input-container .input[data-v-052b1a0c]:focus{outline:none}.input-container .input[data-v-052b1a0c]:disabled{color:var(--text-disabled);cursor:no-drop}.input-container .input.view-only[data-v-052b1a0c]{color:var(--text-disabled)}.input-container .input[type=number][data-v-052b1a0c]::-webkit-inner-spin-button{opacity:.7;transform:scale(1.1)}.input-container .hide-arrows.input[type=number][data-v-052b1a0c]::-webkit-inner-spin-button,.input-container .hide-arrows.input[type=number][data-v-052b1a0c]::-webkit-outer-spin-button{margin:0;-webkit-appearance:none;appearance:none}.input-container .input[type=password][data-v-052b1a0c]{letter-spacing:4px}.input-container[data-v-052b1a0c] ::placeholder{color:var(--text-secondary);letter-spacing:normal}.input-container .label-inside[data-v-052b1a0c]::placeholder{color:var(--text-primary)}.input-container .icon-container[data-v-052b1a0c]{display:flex;align-items:center;color:var(--text-secondary)}.input-container .icon-before[data-v-052b1a0c]{padding-right:var(--spacing-50)}.input-container .icon-after[data-v-052b1a0c]{padding-left:var(--spacing-50)}.prefix-text[data-v-052b1a0c]{color:var(--text-secondary, #646464);margin-right:var(--spacing-50)}.suffix-text[data-v-052b1a0c]{color:var(--text-secondary, #646464)}.focused[data-v-052b1a0c],.focused[data-v-052b1a0c]:hover{outline:2px solid var(--primary-main);background-color:var(--action-hover)}.error-icon.error-icon[data-v-052b1a0c],.error-icon.error-icon[data-v-052b1a0c]:hover{color:var(--error-main)}.label-direction-left[data-v-052b1a0c]{flex-direction:row;align-items:center;justify-content:space-between}.apply-button[data-v-052b1a0c]{cursor:pointer;color:var(--primary-main);width:var(--spacing-250);height:var(--spacing-250)}.inline-error[data-v-052b1a0c]{cursor:pointer;color:var(--error-main);display:flex;justify-content:center;align-items:center}.footer[data-v-052b1a0c]{display:flex;justify-content:flex-end;margin-top:var(--spacing-50)}.footer.footer-absolute[data-v-052b1a0c]{position:absolute;bottom:calc(0px - var(--spacing-300))}.password-visibility-toggle[data-v-052b1a0c]{cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--text-secondary)}.variant-success .input-container[data-v-052b1a0c],.variant-success .input-container[data-v-052b1a0c]:hover{outline:2px solid var(--success-dark)}.variant-error .input-container[data-v-052b1a0c],.variant-error .input-container[data-v-052b1a0c]:hover{outline:2px solid var(--error-main)}.variant-warning .input-container[data-v-052b1a0c],.variant-warning .input-container[data-v-052b1a0c]:hover{outline:2px solid var(--warning-dark)}
|
|
@@ -14,7 +14,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
14
14
|
inlineError?: boolean;
|
|
15
15
|
inlineErrorText?: string;
|
|
16
16
|
maxLength?: number;
|
|
17
|
-
maxLengthCounterPosition?: "inside" | "outside";
|
|
18
17
|
options: unknown[] | {
|
|
19
18
|
id: string;
|
|
20
19
|
text: string;
|
|
@@ -40,7 +39,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
40
39
|
feedbackVariant: any;
|
|
41
40
|
showFeedbackTextIcon: boolean;
|
|
42
41
|
maxLength: any;
|
|
43
|
-
maxLengthCounterPosition: string;
|
|
44
42
|
onSearch: any;
|
|
45
43
|
optionNameKey: string;
|
|
46
44
|
optionsListWidth: any;
|
|
@@ -63,7 +61,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
63
61
|
inlineError?: boolean;
|
|
64
62
|
inlineErrorText?: string;
|
|
65
63
|
maxLength?: number;
|
|
66
|
-
maxLengthCounterPosition?: "inside" | "outside";
|
|
67
64
|
options: unknown[] | {
|
|
68
65
|
id: string;
|
|
69
66
|
text: string;
|
|
@@ -89,7 +86,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
89
86
|
feedbackVariant: any;
|
|
90
87
|
showFeedbackTextIcon: boolean;
|
|
91
88
|
maxLength: any;
|
|
92
|
-
maxLengthCounterPosition: string;
|
|
93
89
|
onSearch: any;
|
|
94
90
|
optionNameKey: string;
|
|
95
91
|
optionsListWidth: any;
|
|
@@ -108,7 +104,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
108
104
|
modelValue: string | number;
|
|
109
105
|
placeholder: string;
|
|
110
106
|
labelDirection: "top" | "inside";
|
|
111
|
-
maxLengthCounterPosition: "inside" | "outside";
|
|
112
107
|
inlineError: boolean;
|
|
113
108
|
inlineErrorText: string;
|
|
114
109
|
feedbackText: string;
|
|
@@ -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 s = /* @__PURE__ */ e(o, [["__scopeId", "data-v-
|
|
3
|
+
// import "../../Autocomplete.vue_vue_type_style_index_0_scoped_a7bfd237_lang.css"; //*');
|
|
4
|
+
const s = /* @__PURE__ */ e(o, [["__scopeId", "data-v-a7bfd237"]]);
|
|
5
5
|
export {
|
|
6
6
|
s as default
|
|
7
7
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../../Autocomplete.
|
|
2
|
-
import
|
|
1
|
+
import "../../Autocomplete.vue_vue_type_style_index_0_scoped_a7bfd237_lang.css"; import { defineComponent as w, computed as c, ref as m, watchEffect as T, openBlock as r, createElementBlock as h, Fragment as F, createVNode as v, unref as d, withCtx as x, isRef as L, renderSlot as I, normalizeProps as S, guardReactiveProps as B, createBlock as b, createCommentVNode as f } from "vue";
|
|
2
|
+
import C from "../dropdown/v4/DropdownV4.vue.js";
|
|
3
3
|
import "../dropdown/v4/DefaultDropdownTrigger.vue.js";
|
|
4
4
|
import "../dropdown/v4/IconButtonDropdownTrigger.vue.js";
|
|
5
5
|
import "../dropdown/v4/ChipDropdownTrigger.vue.js";
|
|
@@ -8,14 +8,14 @@ import "../dropdown/v4/ButtonDropdownTrigger.vue.js";
|
|
|
8
8
|
import "../dropdown/v4/ButtonFilterDropdownTrigger.vue.js";
|
|
9
9
|
import "../dropdown/v4/TreeDropdown.vue.js";
|
|
10
10
|
import "../dropdown/v4/OptionV4.vue.js";
|
|
11
|
-
import
|
|
12
|
-
import { useVModel as
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
const
|
|
11
|
+
import E from "../input/v4/TextField.vue.js";
|
|
12
|
+
import { useVModel as z } from "@vueuse/core";
|
|
13
|
+
import H from "../shared/FieldHelpText.vue.js";
|
|
14
|
+
import P from "../shared/FieldMaxLength.vue.js";
|
|
15
|
+
const N = {
|
|
16
16
|
key: 0,
|
|
17
17
|
class: "footer"
|
|
18
|
-
},
|
|
18
|
+
}, X = /* @__PURE__ */ w({
|
|
19
19
|
__name: "Autocomplete",
|
|
20
20
|
props: {
|
|
21
21
|
modelValue: { default: "" },
|
|
@@ -33,7 +33,6 @@ const U = {
|
|
|
33
33
|
inlineError: { type: Boolean, default: !1 },
|
|
34
34
|
inlineErrorText: { default: "" },
|
|
35
35
|
maxLength: { default: null },
|
|
36
|
-
maxLengthCounterPosition: { default: "inside" },
|
|
37
36
|
options: null,
|
|
38
37
|
displayValue: null,
|
|
39
38
|
optionNameKey: { default: "" },
|
|
@@ -42,51 +41,40 @@ const U = {
|
|
|
42
41
|
testId: { default: "" }
|
|
43
42
|
},
|
|
44
43
|
emits: ["update:modelValue"],
|
|
45
|
-
setup(e, { emit:
|
|
46
|
-
const
|
|
47
|
-
|
|
48
|
-
},
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
// and render counter separately to avoid space between input and dropdown
|
|
53
|
-
maxlength: t.maxLength
|
|
54
|
-
} : {
|
|
55
|
-
maxLength: t.maxLength,
|
|
56
|
-
maxLengthCounterPosition: t.maxLengthCounterPosition
|
|
57
|
-
}), V = r(
|
|
58
|
-
() => t.feedbackText || f.value
|
|
59
|
-
), w = (a, l) => t.displayValue(a).toLowerCase().replace(/\s+/g, "").includes(l.toLowerCase().replace(/\s+/g, "")), u = r(() => {
|
|
60
|
-
const a = d.value.toString();
|
|
61
|
-
return (t.options || []).filter(
|
|
62
|
-
(l) => t.onSearch !== null ? t.onSearch(l, a) : w(l, a)
|
|
44
|
+
setup(e, { emit: p }) {
|
|
45
|
+
const a = e, i = z(a, "modelValue", p), g = (l) => {
|
|
46
|
+
l !== void 0 && (i.value = a.displayValue(l));
|
|
47
|
+
}, k = c(() => (i.value || "").length), y = (l, t) => a.displayValue(l).toLowerCase().replace(/\s+/g, "").includes(t.toLowerCase().replace(/\s+/g, "")), u = c(() => {
|
|
48
|
+
const l = i.value.toString();
|
|
49
|
+
return (a.options || []).filter(
|
|
50
|
+
(t) => a.onSearch !== null ? a.onSearch(t, l) : y(t, l)
|
|
63
51
|
);
|
|
64
|
-
}), n =
|
|
65
|
-
|
|
66
|
-
|
|
52
|
+
}), n = m(!1), s = m(!1);
|
|
53
|
+
T(() => {
|
|
54
|
+
a.disabled ? n.value = !1 : s.value && u.value.length ? n.value = !0 : u.value.length === 0 && (n.value = !1);
|
|
67
55
|
});
|
|
68
|
-
const
|
|
69
|
-
|
|
56
|
+
const V = () => {
|
|
57
|
+
a.disabled || !n.value && u.value.length && (n.value = !0);
|
|
70
58
|
};
|
|
71
|
-
return (
|
|
72
|
-
v(
|
|
59
|
+
return (l, t) => (r(), h(F, null, [
|
|
60
|
+
v(d(C), {
|
|
73
61
|
"is-open": n.value,
|
|
74
|
-
"onUpdate:is-open":
|
|
62
|
+
"onUpdate:is-open": t[3] || (t[3] = (o) => n.value = o),
|
|
75
63
|
class: "autocomplete-dropdown",
|
|
76
64
|
"display-value": e.displayValue,
|
|
77
|
-
options:
|
|
65
|
+
options: d(u),
|
|
78
66
|
"option-name-key": e.optionNameKey,
|
|
79
67
|
"options-list-width": e.optionsListWidth,
|
|
80
68
|
disabled: e.disabled,
|
|
81
69
|
"search-auto-focus": !1,
|
|
82
70
|
"full-width": !1,
|
|
83
71
|
"test-id": e.testId,
|
|
84
|
-
"onUpdate:selected":
|
|
72
|
+
"onUpdate:selected": g
|
|
85
73
|
}, {
|
|
86
|
-
"dropdown-trigger":
|
|
87
|
-
v(
|
|
88
|
-
modelValue:
|
|
89
|
-
"onUpdate:modelValue":
|
|
74
|
+
"dropdown-trigger": x(() => [
|
|
75
|
+
v(d(E), {
|
|
76
|
+
modelValue: d(i),
|
|
77
|
+
"onUpdate:modelValue": t[0] || (t[0] = (o) => L(i) ? i.value = o : null),
|
|
90
78
|
class: "autocomplete-field",
|
|
91
79
|
placeholder: e.placeholder,
|
|
92
80
|
disabled: e.disabled,
|
|
@@ -100,35 +88,35 @@ const U = {
|
|
|
100
88
|
"feedback-variant": e.feedbackVariant,
|
|
101
89
|
"show-feedback-text-icon": e.showFeedbackTextIcon,
|
|
102
90
|
"inline-error": e.inlineError,
|
|
103
|
-
"inline-error-text": e.inlineErrorText
|
|
104
|
-
|
|
105
|
-
onFocusin:
|
|
106
|
-
onFocusout:
|
|
107
|
-
onClick:
|
|
108
|
-
}
|
|
91
|
+
"inline-error-text": e.inlineErrorText,
|
|
92
|
+
maxlength: e.maxLength,
|
|
93
|
+
onFocusin: t[1] || (t[1] = (o) => s.value = !0),
|
|
94
|
+
onFocusout: t[2] || (t[2] = (o) => s.value = !1),
|
|
95
|
+
onClick: V
|
|
96
|
+
}, null, 8, ["modelValue", "placeholder", "disabled", "size", "label", "label-direction", "mandatory", "hover-help-text", "hover-help-text-placemen", "test-id", "feedback-variant", "show-feedback-text-icon", "inline-error", "inline-error-text", "maxlength"])
|
|
109
97
|
]),
|
|
110
|
-
default:
|
|
111
|
-
|
|
98
|
+
default: x((o) => [
|
|
99
|
+
I(l.$slots, "default", S(B(o)), void 0, !0)
|
|
112
100
|
]),
|
|
113
101
|
_: 3
|
|
114
102
|
}, 8, ["is-open", "display-value", "options", "option-name-key", "options-list-width", "disabled", "test-id"]),
|
|
115
|
-
|
|
116
|
-
e.feedbackText ? (
|
|
103
|
+
e.feedbackText || e.maxLength ? (r(), h("div", N, [
|
|
104
|
+
e.feedbackText ? (r(), b(H, {
|
|
117
105
|
key: 0,
|
|
118
106
|
text: e.feedbackText,
|
|
119
107
|
variant: e.feedbackVariant,
|
|
120
108
|
"show-icon": e.showFeedbackTextIcon,
|
|
121
109
|
"test-id": e.testId
|
|
122
|
-
}, null, 8, ["text", "variant", "show-icon", "test-id"])) :
|
|
123
|
-
|
|
110
|
+
}, null, 8, ["text", "variant", "show-icon", "test-id"])) : f("", !0),
|
|
111
|
+
e.maxLength ? (r(), b(P, {
|
|
124
112
|
key: 1,
|
|
125
|
-
"current-length":
|
|
113
|
+
"current-length": d(k),
|
|
126
114
|
"max-length": e.maxLength
|
|
127
|
-
}, null, 8, ["current-length", "max-length"])) :
|
|
128
|
-
])) :
|
|
115
|
+
}, null, 8, ["current-length", "max-length"])) : f("", !0)
|
|
116
|
+
])) : f("", !0)
|
|
129
117
|
], 64));
|
|
130
118
|
}
|
|
131
119
|
});
|
|
132
120
|
export {
|
|
133
|
-
|
|
121
|
+
X as default
|
|
134
122
|
};
|
|
@@ -15,7 +15,6 @@ declare const AutocompleteTypes: () => ({
|
|
|
15
15
|
modelValue: string | number;
|
|
16
16
|
placeholder: string;
|
|
17
17
|
labelDirection: "top" | "inside";
|
|
18
|
-
maxLengthCounterPosition: "inside" | "outside";
|
|
19
18
|
inlineError: boolean;
|
|
20
19
|
inlineErrorText: string;
|
|
21
20
|
feedbackText: string;
|
|
@@ -76,10 +75,6 @@ declare const AutocompleteTypes: () => ({
|
|
|
76
75
|
type: import("vue").PropType<"top" | "inside">;
|
|
77
76
|
default: string;
|
|
78
77
|
};
|
|
79
|
-
maxLengthCounterPosition: {
|
|
80
|
-
type: import("vue").PropType<"inside" | "outside">;
|
|
81
|
-
default: string;
|
|
82
|
-
};
|
|
83
78
|
inlineError: {
|
|
84
79
|
type: import("vue").PropType<boolean>;
|
|
85
80
|
default: boolean;
|
|
@@ -118,7 +113,7 @@ declare const AutocompleteTypes: () => ({
|
|
|
118
113
|
};
|
|
119
114
|
}>> & {
|
|
120
115
|
"onUpdate:modelValue"?: (value: string | number) => any;
|
|
121
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "label" | "disabled" | "size" | "mandatory" | "testId" | "hoverHelpText" | "hoverHelpTextPlacement" | "maxLength" | "modelValue" | "placeholder" | "labelDirection" | "
|
|
116
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "label" | "disabled" | "size" | "mandatory" | "testId" | "hoverHelpText" | "hoverHelpTextPlacement" | "maxLength" | "modelValue" | "placeholder" | "labelDirection" | "inlineError" | "inlineErrorText" | "feedbackText" | "feedbackVariant" | "showFeedbackTextIcon" | "onSearch" | "optionNameKey" | "optionsListWidth">;
|
|
122
117
|
$attrs: {
|
|
123
118
|
[x: string]: unknown;
|
|
124
119
|
};
|
|
@@ -184,10 +179,6 @@ declare const AutocompleteTypes: () => ({
|
|
|
184
179
|
type: import("vue").PropType<"top" | "inside">;
|
|
185
180
|
default: string;
|
|
186
181
|
};
|
|
187
|
-
maxLengthCounterPosition: {
|
|
188
|
-
type: import("vue").PropType<"inside" | "outside">;
|
|
189
|
-
default: string;
|
|
190
|
-
};
|
|
191
182
|
inlineError: {
|
|
192
183
|
type: import("vue").PropType<boolean>;
|
|
193
184
|
default: boolean;
|
|
@@ -240,7 +231,6 @@ declare const AutocompleteTypes: () => ({
|
|
|
240
231
|
modelValue: string | number;
|
|
241
232
|
placeholder: string;
|
|
242
233
|
labelDirection: "top" | "inside";
|
|
243
|
-
maxLengthCounterPosition: "inside" | "outside";
|
|
244
234
|
inlineError: boolean;
|
|
245
235
|
inlineErrorText: string;
|
|
246
236
|
feedbackText: string;
|
|
@@ -321,10 +311,6 @@ declare const AutocompleteTypes: () => ({
|
|
|
321
311
|
type: import("vue").PropType<"top" | "inside">;
|
|
322
312
|
default: string;
|
|
323
313
|
};
|
|
324
|
-
maxLengthCounterPosition: {
|
|
325
|
-
type: import("vue").PropType<"inside" | "outside">;
|
|
326
|
-
default: string;
|
|
327
|
-
};
|
|
328
314
|
inlineError: {
|
|
329
315
|
type: import("vue").PropType<boolean>;
|
|
330
316
|
default: boolean;
|
|
@@ -419,10 +405,6 @@ declare const AutocompleteTypes: () => ({
|
|
|
419
405
|
type: import("vue").PropType<"top" | "inside">;
|
|
420
406
|
default: string;
|
|
421
407
|
};
|
|
422
|
-
maxLengthCounterPosition: {
|
|
423
|
-
type: import("vue").PropType<"inside" | "outside">;
|
|
424
|
-
default: string;
|
|
425
|
-
};
|
|
426
408
|
inlineError: {
|
|
427
409
|
type: import("vue").PropType<boolean>;
|
|
428
410
|
default: boolean;
|
|
@@ -475,7 +457,6 @@ declare const AutocompleteTypes: () => ({
|
|
|
475
457
|
modelValue: string | number;
|
|
476
458
|
placeholder: string;
|
|
477
459
|
labelDirection: "top" | "inside";
|
|
478
|
-
maxLengthCounterPosition: "inside" | "outside";
|
|
479
460
|
inlineError: boolean;
|
|
480
461
|
inlineErrorText: string;
|
|
481
462
|
feedbackText: string;
|
|
@@ -45,8 +45,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
45
45
|
optionEndIconType?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
46
46
|
valueToCopy?: string;
|
|
47
47
|
disabledOptionKey?: string;
|
|
48
|
-
optionTwoLinesVariant?: "horizontal" | "vertical";
|
|
49
|
-
optionTwoLinesKey?: string;
|
|
50
48
|
theme?: string;
|
|
51
49
|
fullWidth?: boolean;
|
|
52
50
|
optionsListWidth?: string;
|
|
@@ -97,8 +95,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
97
95
|
optionEndIconType: any;
|
|
98
96
|
valueToCopy: any;
|
|
99
97
|
disabledOptionKey: string;
|
|
100
|
-
optionTwoLinesVariant: any;
|
|
101
|
-
optionTwoLinesKey: any;
|
|
102
98
|
fullWidth: boolean;
|
|
103
99
|
optionsListWidth: any;
|
|
104
100
|
statusType: any;
|
|
@@ -162,8 +158,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
162
158
|
optionEndIconType?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
163
159
|
valueToCopy?: string;
|
|
164
160
|
disabledOptionKey?: string;
|
|
165
|
-
optionTwoLinesVariant?: "horizontal" | "vertical";
|
|
166
|
-
optionTwoLinesKey?: string;
|
|
167
161
|
theme?: string;
|
|
168
162
|
fullWidth?: boolean;
|
|
169
163
|
optionsListWidth?: string;
|
|
@@ -214,8 +208,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
214
208
|
optionEndIconType: any;
|
|
215
209
|
valueToCopy: any;
|
|
216
210
|
disabledOptionKey: string;
|
|
217
|
-
optionTwoLinesVariant: any;
|
|
218
|
-
optionTwoLinesKey: any;
|
|
219
211
|
fullWidth: boolean;
|
|
220
212
|
optionsListWidth: any;
|
|
221
213
|
statusType: any;
|
|
@@ -273,8 +265,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
273
265
|
optionEndIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
274
266
|
valueToCopy: string;
|
|
275
267
|
disabledOptionKey: string;
|
|
276
|
-
optionTwoLinesVariant: "horizontal" | "vertical";
|
|
277
|
-
optionTwoLinesKey: string;
|
|
278
268
|
fullWidth: boolean;
|
|
279
269
|
optionsListWidth: string;
|
|
280
270
|
statusType: "default" | "disabled" | "success" | "warning" | "error" | "archive";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import o from "./DropdownV4.vue2.js";
|
|
2
|
-
/* empty css *//* empty css */import
|
|
3
|
-
// import "../../../DropdownV4.
|
|
2
|
+
/* empty css *//* empty css */import _ from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../../DropdownV4.vue_vue_type_style_index_0_scoped_7af4f288_lang.css"; //*');
|
|
4
4
|
// import "../../../DropdownV4.vue_vue_type_style_index_1_lang.css"; //');
|
|
5
|
-
const r = /* @__PURE__ */
|
|
5
|
+
const r = /* @__PURE__ */ _(o, [["__scopeId", "data-v-7af4f288"]]);
|
|
6
6
|
export {
|
|
7
7
|
r as default
|
|
8
8
|
};
|