@onereach/ui-components 8.16.4 → 8.16.5-beta.3872.0
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/bundled/v2/components/OrTagInputV3/OrTagInput.js +31 -15
- package/dist/bundled/v2/components/OrTagInputV3/OrTagInput.vue.d.ts +3 -0
- package/dist/bundled/v2/components/OrTagsV3/OrTags.js +3 -3
- package/dist/bundled/v2/components/OrTagsV3/types.d.ts +5 -4
- package/dist/bundled/v2/index.js +1 -1
- package/dist/bundled/v3/components/OrSelectV3/OrSelect.js +1 -1
- package/dist/bundled/v3/components/OrSelectV3/index.js +1 -1
- package/dist/bundled/v3/components/OrSelectV3/styles.js +1 -1
- package/dist/bundled/v3/components/{OrSelectV3-f212f5c6.js → OrSelectV3-e0de09af.js} +1 -1
- package/dist/bundled/v3/components/OrTagInputV3/OrTagInput.js +1 -1
- package/dist/bundled/v3/components/OrTagInputV3/OrTagInput.vue.d.ts +2 -0
- package/dist/bundled/v3/components/OrTagInputV3/index.js +1 -1
- package/dist/bundled/v3/components/OrTagInputV3/styles.js +1 -1
- package/dist/bundled/v3/components/{OrTagInputV3-7b240c91.js → OrTagInputV3-e1596983.js} +23 -11
- package/dist/bundled/v3/components/OrTagV3/OrTag.js +1 -1
- package/dist/bundled/v3/components/OrTagV3/index.js +1 -1
- package/dist/bundled/v3/components/OrTagV3/props.js +1 -1
- package/dist/bundled/v3/components/OrTagV3/styles.js +1 -1
- package/dist/bundled/v3/components/{OrTagV3-43ee9066.js → OrTagV3-045cac0b.js} +1 -1
- package/dist/bundled/v3/components/OrTagsV3/OrTags.js +1 -1
- package/dist/bundled/v3/components/OrTagsV3/index.js +1 -1
- package/dist/bundled/v3/components/OrTagsV3/props.js +1 -1
- package/dist/bundled/v3/components/OrTagsV3/styles.js +1 -1
- package/dist/bundled/v3/components/OrTagsV3/types.d.ts +5 -4
- package/dist/bundled/v3/components/OrTagsV3/utils/castToTag.js +1 -1
- package/dist/bundled/v3/components/{OrTagsV3-bbda3acd.js → OrTagsV3-6c4fb22c.js} +10 -4
- package/dist/bundled/v3/components/index.js +4 -4
- package/dist/bundled/v3/index.js +5 -5
- package/dist/esm/v2/{OrSelect-30f5ce68.js → OrSelect-4768c12b.js} +2 -2
- package/dist/esm/v2/{OrSelectMultipleControl-de32c83c.js → OrSelectMultipleControl-685d5af4.js} +1 -1
- package/dist/esm/v2/{OrTagInput-2642f4d9.js → OrTagInput-c4110c0b.js} +32 -16
- package/dist/esm/v2/{OrTags-9d3cf104.js → OrTags-f6434f9b.js} +3 -3
- package/dist/esm/v2/components/index.js +4 -4
- package/dist/esm/v2/components/or-select-v3/index.js +3 -3
- package/dist/esm/v2/components/or-select-v3/partials/index.js +2 -2
- package/dist/esm/v2/components/or-select-v3/partials/or-select-multiple-control/index.js +2 -2
- package/dist/esm/v2/components/or-tag-input-v3/OrTagInput.vue.d.ts +3 -0
- package/dist/esm/v2/components/or-tag-input-v3/index.js +4 -4
- package/dist/esm/v2/components/or-tags-v3/index.js +1 -1
- package/dist/esm/v2/components/or-tags-v3/types.d.ts +5 -4
- package/dist/esm/v2/index.js +4 -4
- package/dist/esm/v3/{OrSelect-a65c0b08.js → OrSelect-5a22c1da.js} +2 -2
- package/dist/esm/v3/{OrSelectMultipleControl-96320988.js → OrSelectMultipleControl-6b5a831d.js} +1 -1
- package/dist/esm/v3/{OrTagInput-4cec4018.js → OrTagInput-6e9c7a94.js} +23 -11
- package/dist/esm/v3/{OrTags-384a48e3.js → OrTags-801c20ad.js} +9 -3
- package/dist/esm/v3/components/index.js +4 -4
- package/dist/esm/v3/components/or-select-v3/index.js +3 -3
- package/dist/esm/v3/components/or-select-v3/partials/index.js +2 -2
- package/dist/esm/v3/components/or-select-v3/partials/or-select-multiple-control/index.js +2 -2
- package/dist/esm/v3/components/or-tag-input-v3/OrTagInput.vue.d.ts +2 -0
- package/dist/esm/v3/components/or-tag-input-v3/index.js +4 -4
- package/dist/esm/v3/components/or-tags-v3/index.js +1 -1
- package/dist/esm/v3/components/or-tags-v3/types.d.ts +5 -4
- package/dist/esm/v3/index.js +4 -4
- package/package.json +2 -3
- package/src/components/or-tag-input-v3/OrTagInput.vue +23 -12
- package/src/components/or-tags-v3/OrTags.vue +5 -3
- package/src/components/or-tags-v3/types.ts +7 -4
|
@@ -18,8 +18,8 @@ import { _ as __vue_component__$9 } from './OrInput-ac6484dd.js';
|
|
|
18
18
|
import { _ as __vue_component__$b } from './OrLabel-caf02dc4.js';
|
|
19
19
|
import { _ as __vue_component__$c } from './OrMenuItem-fbe3e8e4.js';
|
|
20
20
|
import { _ as __vue_component__$d } from './OrPopover-07b82c80.js';
|
|
21
|
-
import { T as TagsOverflow } from './OrTags-
|
|
22
|
-
import { _ as __vue_component__$1 } from './OrSelectMultipleControl-
|
|
21
|
+
import { T as TagsOverflow } from './OrTags-f6434f9b.js';
|
|
22
|
+
import { _ as __vue_component__$1 } from './OrSelectMultipleControl-685d5af4.js';
|
|
23
23
|
import { _ as __vue_component__$2 } from './OrSelectSingleControl-8ca0d898.js';
|
|
24
24
|
import './OrSelectPlaceholder-f36f4e40.js';
|
|
25
25
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
package/dist/esm/v2/{OrSelectMultipleControl-de32c83c.js → OrSelectMultipleControl-685d5af4.js}
RENAMED
|
@@ -5,7 +5,7 @@ import { i as isEqualValue } from './isEqualValue-f8bf73d9.js';
|
|
|
5
5
|
import { u as useProxyModelValue } from './useProxyModelValue-940010d2.js';
|
|
6
6
|
import '@onereach/styles/tailwind/plugins/core';
|
|
7
7
|
import '@onereach/styles/tailwind.config.json';
|
|
8
|
-
import { _ as __vue_component__$3, T as TagsOverflow } from './OrTags-
|
|
8
|
+
import { _ as __vue_component__$3, T as TagsOverflow } from './OrTags-f6434f9b.js';
|
|
9
9
|
import { _ as __vue_component__$1 } from './OrSelectPlaceholder-f36f4e40.js';
|
|
10
10
|
import { i as isEmptyValue } from './isEmptyValue-fd56a6e4.js';
|
|
11
11
|
import { _ as __vue_component__$2 } from './OrSelectControlInput-28c226f8.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent, ref, toRefs, computed, reactive, watch, nextTick } from 'vue-demi';
|
|
2
1
|
import { onClickOutside } from '@vueuse/core';
|
|
2
|
+
import { defineComponent, ref, toRefs, computed, reactive, watch, nextTick } from 'vue-demi';
|
|
3
3
|
import { a as useIdAttribute, u as useControlAttributes } from './useIdAttribute-859439f0.js';
|
|
4
4
|
import './dom-aecadd9a.js';
|
|
5
5
|
import { u as useProxyModelValue } from './useProxyModelValue-940010d2.js';
|
|
@@ -12,7 +12,8 @@ import { _ as __vue_component__$3 } from './OrIconButton-edff56d4.js';
|
|
|
12
12
|
import { _ as __vue_component__$4 } from './OrInputBox-140c344d.js';
|
|
13
13
|
import './OrInputBox.vue_rollup-plugin-vue_script-65ebcf4d.js';
|
|
14
14
|
import { _ as __vue_component__$5 } from './OrLabel-caf02dc4.js';
|
|
15
|
-
import {
|
|
15
|
+
import { a as TagColor } from './OrTag-bf15f5ad.js';
|
|
16
|
+
import { _ as __vue_component__$6, T as TagsOverflow } from './OrTags-f6434f9b.js';
|
|
16
17
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
17
18
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
18
19
|
|
|
@@ -121,6 +122,15 @@ var script = defineComponent({
|
|
|
121
122
|
const activated = ref(false);
|
|
122
123
|
const proxyModelValue = useProxyModelValue(modelValue, context.emit);
|
|
123
124
|
const draftModelValue = ref('');
|
|
125
|
+
const tagsItems = computed(() => {
|
|
126
|
+
return proxyModelValue.value.map(item => ({
|
|
127
|
+
label: item,
|
|
128
|
+
value: item,
|
|
129
|
+
tagProps: {
|
|
130
|
+
color: item === draftModelValue.value ? TagColor.Danger : TagColor.Default
|
|
131
|
+
}
|
|
132
|
+
}));
|
|
133
|
+
});
|
|
124
134
|
const currentLength = computed(() => {
|
|
125
135
|
var _a, _b;
|
|
126
136
|
return (_b = (_a = proxyModelValue.value) === null || _a === void 0 ? void 0 : _a.length) !== null && _b !== void 0 ? _b : 0;
|
|
@@ -157,8 +167,7 @@ var script = defineComponent({
|
|
|
157
167
|
context.emit('focus');
|
|
158
168
|
}
|
|
159
169
|
function add() {
|
|
160
|
-
|
|
161
|
-
const newItem = (_a = draftModelValue.value) === null || _a === void 0 ? void 0 : _a.trim();
|
|
170
|
+
const newItem = draftModelValue.value;
|
|
162
171
|
if (!newItem) return;
|
|
163
172
|
if (proxyModelValue.value.includes(newItem)) return;
|
|
164
173
|
if (maxLength.value && currentLength.value >= maxLength.value) return;
|
|
@@ -197,6 +206,7 @@ var script = defineComponent({
|
|
|
197
206
|
controlAttributes,
|
|
198
207
|
proxyModelValue,
|
|
199
208
|
draftModelValue,
|
|
209
|
+
tagsItems,
|
|
200
210
|
currentLength,
|
|
201
211
|
maxLength,
|
|
202
212
|
activated,
|
|
@@ -212,7 +222,7 @@ var script = defineComponent({
|
|
|
212
222
|
}
|
|
213
223
|
});
|
|
214
224
|
|
|
215
|
-
var css_248z = "input[data-v-
|
|
225
|
+
var css_248z = "input[data-v-cfe6b850]{min-width:0;background:0 0;outline:0}";
|
|
216
226
|
styleInject(css_248z);
|
|
217
227
|
|
|
218
228
|
/* script */
|
|
@@ -241,14 +251,14 @@ var __vue_render__ = function () {
|
|
|
241
251
|
}], null, true)
|
|
242
252
|
}, [_vm._v("\n " + _vm._s(_vm.label) + "\n\n ")])] : _vm._e(), _vm._v(" "), _c('OrInputBox', {
|
|
243
253
|
ref: "inputBox",
|
|
244
|
-
|
|
254
|
+
class: ['interactivity-select'],
|
|
245
255
|
attrs: {
|
|
246
256
|
"variant": _vm.disableDefaultStyles ? 'unstyled' : 'styled',
|
|
247
|
-
"force-state": _vm.activated ? 'focus-within' : undefined,
|
|
248
257
|
"invalid": !!_vm.error,
|
|
249
258
|
"readonly": _vm.readonly,
|
|
250
259
|
"disabled": _vm.disabled,
|
|
251
|
-
"tabindex":
|
|
260
|
+
"tabindex": 0,
|
|
261
|
+
"force-state": _vm.activated ? 'focus-within' : undefined
|
|
252
262
|
},
|
|
253
263
|
on: {
|
|
254
264
|
"focus": _vm.activate
|
|
@@ -273,9 +283,9 @@ var __vue_render__ = function () {
|
|
|
273
283
|
} : null], null, true)
|
|
274
284
|
}, [_c('OrTags', {
|
|
275
285
|
ref: "tags",
|
|
276
|
-
|
|
286
|
+
class: ['grow'],
|
|
277
287
|
attrs: {
|
|
278
|
-
"items": _vm.
|
|
288
|
+
"items": _vm.tagsItems,
|
|
279
289
|
"disabled": _vm.disabled,
|
|
280
290
|
"tag-props": {
|
|
281
291
|
variant: _vm.readonly || _vm.disabled ? 'tag' : 'reset',
|
|
@@ -296,21 +306,24 @@ var __vue_render__ = function () {
|
|
|
296
306
|
}, [_c('input', _vm._b({
|
|
297
307
|
directives: [{
|
|
298
308
|
name: "model",
|
|
299
|
-
rawName: "v-model",
|
|
309
|
+
rawName: "v-model.trim",
|
|
300
310
|
value: _vm.draftModelValue,
|
|
301
|
-
expression: "draftModelValue"
|
|
311
|
+
expression: "draftModelValue",
|
|
312
|
+
modifiers: {
|
|
313
|
+
"trim": true
|
|
314
|
+
}
|
|
302
315
|
}],
|
|
303
316
|
ref: "control",
|
|
304
317
|
class: _vm.controlStyles,
|
|
305
318
|
style: _vm.controlInlineStyles,
|
|
306
319
|
attrs: {
|
|
320
|
+
"type": 'text',
|
|
307
321
|
"placeholder": _vm.proxyModelValue.length === 0 ? _vm.placeholder : undefined,
|
|
308
322
|
"readonly": _vm.readonly,
|
|
309
323
|
"disabled": _vm.disabled,
|
|
310
324
|
"autocomplete": 'off',
|
|
311
325
|
"minlength": undefined,
|
|
312
|
-
"maxlength": undefined
|
|
313
|
-
"type": 'text'
|
|
326
|
+
"maxlength": undefined
|
|
314
327
|
},
|
|
315
328
|
domProps: {
|
|
316
329
|
"value": _vm.draftModelValue
|
|
@@ -332,7 +345,10 @@ var __vue_render__ = function () {
|
|
|
332
345
|
if ($event.target.composing) {
|
|
333
346
|
return;
|
|
334
347
|
}
|
|
335
|
-
_vm.draftModelValue = $event.target.value;
|
|
348
|
+
_vm.draftModelValue = $event.target.value.trim();
|
|
349
|
+
},
|
|
350
|
+
"blur": function ($event) {
|
|
351
|
+
return _vm.$forceUpdate();
|
|
336
352
|
}
|
|
337
353
|
}
|
|
338
354
|
}, 'input', _vm.controlAttributes, false))])];
|
|
@@ -384,7 +400,7 @@ var __vue_staticRenderFns__ = [];
|
|
|
384
400
|
/* style */
|
|
385
401
|
const __vue_inject_styles__ = undefined;
|
|
386
402
|
/* scoped */
|
|
387
|
-
const __vue_scope_id__ = "data-v-
|
|
403
|
+
const __vue_scope_id__ = "data-v-cfe6b850";
|
|
388
404
|
/* module identifier */
|
|
389
405
|
const __vue_module_identifier__ = undefined;
|
|
390
406
|
/* functional template */
|
|
@@ -192,13 +192,13 @@ var __vue_render__ = function () {
|
|
|
192
192
|
}, [_vm._l(_vm.localItems, function (item) {
|
|
193
193
|
return _c('OrTag', _vm._b({
|
|
194
194
|
key: item.value,
|
|
195
|
-
|
|
195
|
+
class: ['max-w-full'],
|
|
196
196
|
on: {
|
|
197
197
|
"reset": function ($event) {
|
|
198
198
|
return _vm.$emit('reset', item.value);
|
|
199
199
|
}
|
|
200
200
|
}
|
|
201
|
-
}, 'OrTag', _vm.tagProps, false), [_vm._v("\n " + _vm._s(item.label) + "\n ")]);
|
|
201
|
+
}, 'OrTag', Object.assign({}, _vm.tagProps, item.tagProps), false), [_vm._v("\n " + _vm._s(item.label) + "\n ")]);
|
|
202
202
|
}), _vm._v(" "), _vm.localOverflow === 'wrap' ? _vm._t("tail") : _vm._e()], 2) : _vm._e(), _vm._v(" "), _vm.localOverflow === 'hidden' && _vm.overflowItems.length > 0 ? [_c('OrButton', {
|
|
203
203
|
ref: "overflowButton",
|
|
204
204
|
class: _vm.overflowButtonStyles,
|
|
@@ -231,7 +231,7 @@ var __vue_render__ = function () {
|
|
|
231
231
|
return _vm.$emit('reset', item.value);
|
|
232
232
|
}
|
|
233
233
|
}
|
|
234
|
-
}, 'OrTag', _vm.tagProps, false), [_vm._v("\n " + _vm._s(item.label) + "\n ")]);
|
|
234
|
+
}, 'OrTag', Object.assign({}, _vm.tagProps, item.tagProps), false), [_vm._v("\n " + _vm._s(item.label) + "\n ")]);
|
|
235
235
|
}), 1)])] : _vm._e(), _vm._v(" "), _vm.localOverflow != 'wrap' || _vm.items.length === 0 ? _vm._t("tail") : _vm._e()], 2);
|
|
236
236
|
};
|
|
237
237
|
var __vue_staticRenderFns__ = [];
|
|
@@ -102,7 +102,7 @@ export { _ as OrSearch } from '../OrSearch-ddf244e6.js';
|
|
|
102
102
|
export { _ as OrSearchV3 } from '../OrSearch-2910207c.js';
|
|
103
103
|
export { _ as OrSegmentedControlV3, S as SegmentedControlSize } from '../OrSegmentedControl-00583234.js';
|
|
104
104
|
export { _ as OrSelect } from '../OrSelect-d271f7a3.js';
|
|
105
|
-
export { _ as OrSelectV3 } from '../OrSelect-
|
|
105
|
+
export { _ as OrSelectV3 } from '../OrSelect-4768c12b.js';
|
|
106
106
|
export { _ as OrSidebar, O as OrSidebarSide } from '../OrSidebar-054b26c6.js';
|
|
107
107
|
export { S as OrSidebarPlacement, _ as OrSidebarV3, S as SidebarPlacement } from '../OrSidebar-e07d338e.js';
|
|
108
108
|
export { _ as OrSkeletonCircle } from '../OrSkeletonCircle-c4bf0e34.js';
|
|
@@ -124,9 +124,9 @@ export { _ as OrTabV3 } from '../OrTab-a989b4fd.js';
|
|
|
124
124
|
export { _ as OrTabs } from '../OrTabs-62e7e478.js';
|
|
125
125
|
export { _ as OrTabsV3, T as TabsVariant } from '../OrTabs-778ce12d.js';
|
|
126
126
|
export { _ as OrTag } from '../OrTag-ce728fad.js';
|
|
127
|
-
export { _ as OrTagInputV3 } from '../OrTagInput-
|
|
127
|
+
export { _ as OrTagInputV3 } from '../OrTagInput-c4110c0b.js';
|
|
128
128
|
export { _ as OrTagV3, a as TagColor, T as TagVariant } from '../OrTag-bf15f5ad.js';
|
|
129
|
-
export { _ as OrTagsV3, T as TagsOverflow } from '../OrTags-
|
|
129
|
+
export { _ as OrTagsV3, T as TagsOverflow } from '../OrTags-f6434f9b.js';
|
|
130
130
|
export { _ as OrTeleport } from '../OrTeleport.vue2-f0c16c71.js';
|
|
131
131
|
export { _ as OrTeleportV3 } from '../OrTeleport.vue2-9eb0eaee.js';
|
|
132
132
|
export { _ as OrTextV3 } from '../OrText-44449e7b.js';
|
|
@@ -208,7 +208,7 @@ import '../codemirrorView-020fe885.js';
|
|
|
208
208
|
import 'prosemirror-state';
|
|
209
209
|
import 'prosemirror-commands';
|
|
210
210
|
import 'lodash/keyBy';
|
|
211
|
-
import '../OrSelectMultipleControl-
|
|
211
|
+
import '../OrSelectMultipleControl-685d5af4.js';
|
|
212
212
|
import '../isEqualValue-f8bf73d9.js';
|
|
213
213
|
import '../OrSelectPlaceholder-f36f4e40.js';
|
|
214
214
|
import '../OrSelectControlInput-28c226f8.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { _ as OrSelectV3 } from '../../OrSelect-
|
|
1
|
+
export { _ as OrSelectV3 } from '../../OrSelect-4768c12b.js';
|
|
2
2
|
export { I as SelectSize } from '../../OrInputBox.vue_rollup-plugin-vue_script-65ebcf4d.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import '../../dropdown-open-06d651cf.js';
|
|
@@ -36,12 +36,12 @@ import '../../OrInput-ac6484dd.js';
|
|
|
36
36
|
import '../../useValidationAttributes-d1abbe34.js';
|
|
37
37
|
import '../../OrLoader-784e2060.js';
|
|
38
38
|
import '../../OrMenuItem-fbe3e8e4.js';
|
|
39
|
-
import '../../OrTags-
|
|
39
|
+
import '../../OrTags-f6434f9b.js';
|
|
40
40
|
import '../../useOverflow-e91d2314.js';
|
|
41
41
|
import '../../OrButton-8d1efd4a.js';
|
|
42
42
|
import '../../OrButton.vue_rollup-plugin-vue_script-ec8cfaee.js';
|
|
43
43
|
import '../../OrTag-bf15f5ad.js';
|
|
44
|
-
import '../../OrSelectMultipleControl-
|
|
44
|
+
import '../../OrSelectMultipleControl-685d5af4.js';
|
|
45
45
|
import '../../isEqualValue-f8bf73d9.js';
|
|
46
46
|
import '../../OrSelectPlaceholder-f36f4e40.js';
|
|
47
47
|
import '../../OrSelectControlInput-28c226f8.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { _ as OrSelectMultipleControl } from '../../../OrSelectMultipleControl-
|
|
1
|
+
export { _ as OrSelectMultipleControl } from '../../../OrSelectMultipleControl-685d5af4.js';
|
|
2
2
|
export { _ as OrSelectSingleControl } from '../../../OrSelectSingleControl-8ca0d898.js';
|
|
3
3
|
export { _ as OrSelectPlaceholder } from '../../../OrSelectPlaceholder-f36f4e40.js';
|
|
4
4
|
import 'vue-demi';
|
|
@@ -10,7 +10,7 @@ import '../../../isEqualValue-f8bf73d9.js';
|
|
|
10
10
|
import '../../../useProxyModelValue-940010d2.js';
|
|
11
11
|
import '@onereach/styles/tailwind/plugins/core';
|
|
12
12
|
import '@onereach/styles/tailwind.config.json';
|
|
13
|
-
import '../../../OrTags-
|
|
13
|
+
import '../../../OrTags-f6434f9b.js';
|
|
14
14
|
import '../../../useOverflow-e91d2314.js';
|
|
15
15
|
import '../../../OrButton-8d1efd4a.js';
|
|
16
16
|
import '../../../OrButton.vue_rollup-plugin-vue_script-ec8cfaee.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { _ as OrSelectMultipleControl } from '../../../../OrSelectMultipleControl-
|
|
1
|
+
export { _ as OrSelectMultipleControl } from '../../../../OrSelectMultipleControl-685d5af4.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
3
|
import '@vueuse/core';
|
|
4
4
|
import '../../../../dom-aecadd9a.js';
|
|
@@ -8,7 +8,7 @@ import '../../../../isEqualValue-f8bf73d9.js';
|
|
|
8
8
|
import '../../../../useProxyModelValue-940010d2.js';
|
|
9
9
|
import '@onereach/styles/tailwind/plugins/core';
|
|
10
10
|
import '@onereach/styles/tailwind.config.json';
|
|
11
|
-
import '../../../../OrTags-
|
|
11
|
+
import '../../../../OrTags-f6434f9b.js';
|
|
12
12
|
import '../../../../useOverflow-e91d2314.js';
|
|
13
13
|
import '../../../../OrButton-8d1efd4a.js';
|
|
14
14
|
import '../../../../OrButton.vue_rollup-plugin-vue_script-ec8cfaee.js';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue-demi';
|
|
2
2
|
import { TagsOverflow } from '../or-tags-v3';
|
|
3
|
+
import { TagObject } from '../or-tags-v3/types';
|
|
3
4
|
declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
4
5
|
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
5
6
|
control: import("@vue/composition-api").Ref<HTMLInputElement | undefined>;
|
|
@@ -34,6 +35,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
34
35
|
};
|
|
35
36
|
proxyModelValue: import("../../hooks").UseProxyModelValueReturn<string[]>;
|
|
36
37
|
draftModelValue: import("@vue/composition-api").Ref<string>;
|
|
38
|
+
tagsItems: import("@vue/composition-api").ComputedRef<TagObject[]>;
|
|
37
39
|
currentLength: import("@vue/composition-api").ComputedRef<number>;
|
|
38
40
|
maxLength: import("@vue/composition-api").ComputedRef<number | undefined>;
|
|
39
41
|
activated: import("@vue/composition-api").Ref<boolean>;
|
|
@@ -183,6 +185,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
183
185
|
};
|
|
184
186
|
proxyModelValue: import("../../hooks").UseProxyModelValueReturn<string[]>;
|
|
185
187
|
draftModelValue: import("@vue/composition-api").Ref<string>;
|
|
188
|
+
tagsItems: import("@vue/composition-api").ComputedRef<TagObject[]>;
|
|
186
189
|
currentLength: import("@vue/composition-api").ComputedRef<number>;
|
|
187
190
|
maxLength: import("@vue/composition-api").ComputedRef<number | undefined>;
|
|
188
191
|
activated: import("@vue/composition-api").Ref<boolean>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { _ as OrTagInputV3 } from '../../OrTagInput-
|
|
1
|
+
export { _ as OrTagInputV3 } from '../../OrTagInput-c4110c0b.js';
|
|
2
2
|
export { I as TagInputSize } from '../../OrInputBox.vue_rollup-plugin-vue_script-65ebcf4d.js';
|
|
3
|
-
import 'vue-demi';
|
|
4
3
|
import '@vueuse/core';
|
|
4
|
+
import 'vue-demi';
|
|
5
5
|
import '../../useIdAttribute-859439f0.js';
|
|
6
6
|
import '../../dom-aecadd9a.js';
|
|
7
7
|
import 'lodash/isElement';
|
|
@@ -28,10 +28,10 @@ import 'portal-vue';
|
|
|
28
28
|
import '../../useTheme-0ef25778.js';
|
|
29
29
|
import '../../OrInputBox-140c344d.js';
|
|
30
30
|
import '../../OrLabel-caf02dc4.js';
|
|
31
|
-
import '../../
|
|
31
|
+
import '../../OrTag-bf15f5ad.js';
|
|
32
|
+
import '../../OrTags-f6434f9b.js';
|
|
32
33
|
import '../../useOverflow-e91d2314.js';
|
|
33
34
|
import '../../OrButton-8d1efd4a.js';
|
|
34
35
|
import '../../OrButton.vue_rollup-plugin-vue_script-ec8cfaee.js';
|
|
35
36
|
import '../../OrLoader-784e2060.js';
|
|
36
|
-
import '../../OrTag-bf15f5ad.js';
|
|
37
37
|
import '../../style-inject.es-4c6f2515.js';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
export type Tag =
|
|
3
|
-
export
|
|
1
|
+
import { OrTag } from '../or-tag';
|
|
2
|
+
export type Tag = string | TagObject;
|
|
3
|
+
export type TagObject = {
|
|
4
4
|
label: string;
|
|
5
5
|
value: string | number | object;
|
|
6
|
-
|
|
6
|
+
tagProps?: InstanceType<typeof OrTag>['$props'];
|
|
7
|
+
};
|
package/dist/esm/v2/index.js
CHANGED
|
@@ -102,7 +102,7 @@ export { _ as OrSearch } from './OrSearch-ddf244e6.js';
|
|
|
102
102
|
export { _ as OrSearchV3 } from './OrSearch-2910207c.js';
|
|
103
103
|
export { _ as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControl-00583234.js';
|
|
104
104
|
export { _ as OrSelect } from './OrSelect-d271f7a3.js';
|
|
105
|
-
export { _ as OrSelectV3 } from './OrSelect-
|
|
105
|
+
export { _ as OrSelectV3 } from './OrSelect-4768c12b.js';
|
|
106
106
|
export { _ as OrSidebar, O as OrSidebarSide } from './OrSidebar-054b26c6.js';
|
|
107
107
|
export { S as OrSidebarPlacement, _ as OrSidebarV3, S as SidebarPlacement } from './OrSidebar-e07d338e.js';
|
|
108
108
|
export { _ as OrSkeletonCircle } from './OrSkeletonCircle-c4bf0e34.js';
|
|
@@ -124,9 +124,9 @@ export { _ as OrTabV3 } from './OrTab-a989b4fd.js';
|
|
|
124
124
|
export { _ as OrTabs } from './OrTabs-62e7e478.js';
|
|
125
125
|
export { _ as OrTabsV3, T as TabsVariant } from './OrTabs-778ce12d.js';
|
|
126
126
|
export { _ as OrTag } from './OrTag-ce728fad.js';
|
|
127
|
-
export { _ as OrTagInputV3 } from './OrTagInput-
|
|
127
|
+
export { _ as OrTagInputV3 } from './OrTagInput-c4110c0b.js';
|
|
128
128
|
export { _ as OrTagV3, a as TagColor, T as TagVariant } from './OrTag-bf15f5ad.js';
|
|
129
|
-
export { _ as OrTagsV3, T as TagsOverflow } from './OrTags-
|
|
129
|
+
export { _ as OrTagsV3, T as TagsOverflow } from './OrTags-f6434f9b.js';
|
|
130
130
|
export { _ as OrTeleport } from './OrTeleport.vue2-f0c16c71.js';
|
|
131
131
|
export { _ as OrTeleportV3 } from './OrTeleport.vue2-9eb0eaee.js';
|
|
132
132
|
export { _ as OrTextV3 } from './OrText-44449e7b.js';
|
|
@@ -210,7 +210,7 @@ import './codemirrorView-020fe885.js';
|
|
|
210
210
|
import 'prosemirror-state';
|
|
211
211
|
import 'prosemirror-commands';
|
|
212
212
|
import 'lodash/keyBy';
|
|
213
|
-
import './OrSelectMultipleControl-
|
|
213
|
+
import './OrSelectMultipleControl-685d5af4.js';
|
|
214
214
|
import './OrSelectPlaceholder-f36f4e40.js';
|
|
215
215
|
import './OrSelectControlInput-28c226f8.js';
|
|
216
216
|
import './OrSelectSingleControl-8ca0d898.js';
|
|
@@ -17,8 +17,8 @@ import { s as script$9 } from './OrInput-2810a760.js';
|
|
|
17
17
|
import { s as script$b } from './OrLabel-40af976e.js';
|
|
18
18
|
import { s as script$c } from './OrMenuItem-2928ba60.js';
|
|
19
19
|
import { s as script$d } from './OrPopover-88b8aa2a.js';
|
|
20
|
-
import { T as TagsOverflow } from './OrTags-
|
|
21
|
-
import { s as script$1 } from './OrSelectMultipleControl-
|
|
20
|
+
import { T as TagsOverflow } from './OrTags-801c20ad.js';
|
|
21
|
+
import { s as script$1 } from './OrSelectMultipleControl-6b5a831d.js';
|
|
22
22
|
import { s as script$2 } from './OrSelectSingleControl-5e78d499.js';
|
|
23
23
|
import './OrSelectPlaceholder-10e3bf5e.js';
|
|
24
24
|
import { resolveComponent, resolveDirective, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, withDirectives, createElementVNode, withModifiers, createVNode, Fragment, renderList, vShow } from 'vue';
|
package/dist/esm/v3/{OrSelectMultipleControl-96320988.js → OrSelectMultipleControl-6b5a831d.js}
RENAMED
|
@@ -5,7 +5,7 @@ import { i as isEqualValue } from './isEqualValue-f8bf73d9.js';
|
|
|
5
5
|
import { u as useProxyModelValue } from './useProxyModelValue-940010d2.js';
|
|
6
6
|
import '@onereach/styles/tailwind/plugins/core';
|
|
7
7
|
import '@onereach/styles/tailwind.config.json';
|
|
8
|
-
import { s as script$3, T as TagsOverflow } from './OrTags-
|
|
8
|
+
import { s as script$3, T as TagsOverflow } from './OrTags-801c20ad.js';
|
|
9
9
|
import { s as script$1 } from './OrSelectPlaceholder-10e3bf5e.js';
|
|
10
10
|
import { i as isEmptyValue } from './isEmptyValue-fd56a6e4.js';
|
|
11
11
|
import { s as script$2 } from './OrSelectControlInput-3297e30d.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent, ref, toRefs, computed, reactive, watch, nextTick } from 'vue-demi';
|
|
2
1
|
import { onClickOutside } from '@vueuse/core';
|
|
2
|
+
import { defineComponent, ref, toRefs, computed, reactive, watch, nextTick } from 'vue-demi';
|
|
3
3
|
import { a as useIdAttribute, u as useControlAttributes } from './useIdAttribute-859439f0.js';
|
|
4
4
|
import './dom-aecadd9a.js';
|
|
5
5
|
import { u as useProxyModelValue } from './useProxyModelValue-940010d2.js';
|
|
@@ -11,7 +11,8 @@ import { s as script$2 } from './OrHint-55d3de35.js';
|
|
|
11
11
|
import { s as script$3 } from './OrIconButton-13fd3f96.js';
|
|
12
12
|
import { s as script$4 } from './OrInputBox-8c1a29dd.js';
|
|
13
13
|
import { s as script$5 } from './OrLabel-40af976e.js';
|
|
14
|
-
import {
|
|
14
|
+
import { a as TagColor } from './OrTag-ccb7734c.js';
|
|
15
|
+
import { s as script$6, T as TagsOverflow } from './OrTags-801c20ad.js';
|
|
15
16
|
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, createVNode, createSlots, createElementVNode, withDirectives, mergeProps, withKeys, vModelDynamic, vShow } from 'vue';
|
|
16
17
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
17
18
|
|
|
@@ -120,6 +121,15 @@ var script = defineComponent({
|
|
|
120
121
|
const activated = ref(false);
|
|
121
122
|
const proxyModelValue = useProxyModelValue(modelValue, context.emit);
|
|
122
123
|
const draftModelValue = ref('');
|
|
124
|
+
const tagsItems = computed(() => {
|
|
125
|
+
return proxyModelValue.value.map(item => ({
|
|
126
|
+
label: item,
|
|
127
|
+
value: item,
|
|
128
|
+
tagProps: {
|
|
129
|
+
color: item === draftModelValue.value ? TagColor.Danger : TagColor.Default
|
|
130
|
+
}
|
|
131
|
+
}));
|
|
132
|
+
});
|
|
123
133
|
const currentLength = computed(() => {
|
|
124
134
|
var _a, _b;
|
|
125
135
|
return (_b = (_a = proxyModelValue.value) === null || _a === void 0 ? void 0 : _a.length) !== null && _b !== void 0 ? _b : 0;
|
|
@@ -156,8 +166,7 @@ var script = defineComponent({
|
|
|
156
166
|
context.emit('focus');
|
|
157
167
|
}
|
|
158
168
|
function add() {
|
|
159
|
-
|
|
160
|
-
const newItem = (_a = draftModelValue.value) === null || _a === void 0 ? void 0 : _a.trim();
|
|
169
|
+
const newItem = draftModelValue.value;
|
|
161
170
|
if (!newItem) return;
|
|
162
171
|
if (proxyModelValue.value.includes(newItem)) return;
|
|
163
172
|
if (maxLength.value && currentLength.value >= maxLength.value) return;
|
|
@@ -196,6 +205,7 @@ var script = defineComponent({
|
|
|
196
205
|
controlAttributes,
|
|
197
206
|
proxyModelValue,
|
|
198
207
|
draftModelValue,
|
|
208
|
+
tagsItems,
|
|
199
209
|
currentLength,
|
|
200
210
|
maxLength,
|
|
201
211
|
activated,
|
|
@@ -244,19 +254,19 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
244
254
|
_: 3 /* FORWARDED */
|
|
245
255
|
}, 8 /* PROPS */, ["control-id", "required", "disabled"])) : createCommentVNode("v-if", true), createVNode(_component_OrInputBox, {
|
|
246
256
|
ref: "inputBox",
|
|
257
|
+
class: normalizeClass(['interactivity-select']),
|
|
247
258
|
variant: _ctx.disableDefaultStyles ? 'unstyled' : 'styled',
|
|
248
|
-
"force-state": _ctx.activated ? 'focus-within' : undefined,
|
|
249
|
-
class: "cursor-text",
|
|
250
259
|
invalid: !!_ctx.error,
|
|
251
260
|
readonly: _ctx.readonly,
|
|
252
261
|
disabled: _ctx.disabled,
|
|
253
|
-
tabindex:
|
|
262
|
+
tabindex: 0,
|
|
263
|
+
"force-state": _ctx.activated ? 'focus-within' : undefined,
|
|
254
264
|
onFocus: _ctx.activate
|
|
255
265
|
}, createSlots({
|
|
256
266
|
default: withCtx(() => [createVNode(_component_OrTags, {
|
|
257
267
|
ref: "tags",
|
|
258
|
-
|
|
259
|
-
|
|
268
|
+
class: normalizeClass(['grow']),
|
|
269
|
+
items: _ctx.tagsItems,
|
|
260
270
|
disabled: _ctx.disabled,
|
|
261
271
|
"tag-props": {
|
|
262
272
|
variant: _ctx.readonly || _ctx.disabled ? 'tag' : 'reset',
|
|
@@ -286,7 +296,9 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
286
296
|
onFocus: _cache[4] || (_cache[4] = function () {
|
|
287
297
|
return _ctx.activate && _ctx.activate(...arguments);
|
|
288
298
|
})
|
|
289
|
-
}), null, 16 /* FULL_PROPS */, _hoisted_2), [[vModelDynamic, _ctx.draftModelValue
|
|
299
|
+
}), null, 16 /* FULL_PROPS */, _hoisted_2), [[vModelDynamic, _ctx.draftModelValue, void 0, {
|
|
300
|
+
trim: true
|
|
301
|
+
}]])])]),
|
|
290
302
|
key: "0"
|
|
291
303
|
} : undefined]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["items", "disabled", "tag-props", "overflow"])]),
|
|
292
304
|
_: 2 /* DYNAMIC */
|
|
@@ -300,7 +312,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
300
312
|
onClick: _cache[6] || (_cache[6] = $event => _ctx.reset())
|
|
301
313
|
}, null, 8 /* PROPS */, ["disabled"])) : createCommentVNode("v-if", true)]),
|
|
302
314
|
key: "0"
|
|
303
|
-
} : undefined]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["variant", "
|
|
315
|
+
} : undefined]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["variant", "invalid", "readonly", "disabled", "force-state", "onFocus"]), withDirectives(createElementVNode("div", _hoisted_3, [_ctx.hint || _ctx.maxLength ? (openBlock(), createBlock(_component_OrHint, {
|
|
304
316
|
key: 0,
|
|
305
317
|
disabled: _ctx.disabled
|
|
306
318
|
}, createSlots({
|
|
@@ -186,9 +186,12 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
186
186
|
ref: "container",
|
|
187
187
|
class: normalizeClass(_ctx.containerStyles)
|
|
188
188
|
}, [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.localItems, item => {
|
|
189
|
-
return openBlock(), createBlock(_component_OrTag, mergeProps(
|
|
189
|
+
return openBlock(), createBlock(_component_OrTag, mergeProps({
|
|
190
|
+
..._ctx.tagProps,
|
|
191
|
+
...item.tagProps
|
|
192
|
+
}, {
|
|
190
193
|
key: item.value,
|
|
191
|
-
class:
|
|
194
|
+
class: ['max-w-full'],
|
|
192
195
|
onReset: $event => _ctx.$emit('reset', item.value)
|
|
193
196
|
}), {
|
|
194
197
|
default: withCtx(() => [createTextVNode(toDisplayString(item.label), 1 /* TEXT */)]),
|
|
@@ -220,7 +223,10 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
220
223
|
default: withCtx(() => [createElementVNode("div", {
|
|
221
224
|
class: normalizeClass(_ctx.overflowPopoverStyles)
|
|
222
225
|
}, [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.overflowItems, item => {
|
|
223
|
-
return openBlock(), createBlock(_component_OrTag, mergeProps(
|
|
226
|
+
return openBlock(), createBlock(_component_OrTag, mergeProps({
|
|
227
|
+
..._ctx.tagProps,
|
|
228
|
+
...item.tagProps
|
|
229
|
+
}, {
|
|
224
230
|
key: item.value,
|
|
225
231
|
onReset: $event => _ctx.$emit('reset', item.value)
|
|
226
232
|
}), {
|
|
@@ -98,7 +98,7 @@ export { s as OrSearch } from '../OrSearch-aa57d4e8.js';
|
|
|
98
98
|
export { s as OrSearchV3 } from '../OrSearch-fccacdba.js';
|
|
99
99
|
export { s as OrSegmentedControlV3, S as SegmentedControlSize } from '../OrSegmentedControl-adbf7f4e.js';
|
|
100
100
|
export { s as OrSelect } from '../OrSelect-a366e668.js';
|
|
101
|
-
export { s as OrSelectV3 } from '../OrSelect-
|
|
101
|
+
export { s as OrSelectV3 } from '../OrSelect-5a22c1da.js';
|
|
102
102
|
export { s as OrSidebar, O as OrSidebarSide } from '../OrSidebar-4ab42b93.js';
|
|
103
103
|
export { S as OrSidebarPlacement, s as OrSidebarV3, S as SidebarPlacement } from '../OrSidebar-62009372.js';
|
|
104
104
|
export { s as OrSkeletonCircle } from '../OrSkeletonCircle-66e175a0.js';
|
|
@@ -120,9 +120,9 @@ export { s as OrTabV3 } from '../OrTab-42be32d1.js';
|
|
|
120
120
|
export { s as OrTabs } from '../OrTabs-3da3ea89.js';
|
|
121
121
|
export { s as OrTabsV3, T as TabsVariant } from '../OrTabs-e53980aa.js';
|
|
122
122
|
export { s as OrTag } from '../OrTag-bc8177a4.js';
|
|
123
|
-
export { s as OrTagInputV3 } from '../OrTagInput-
|
|
123
|
+
export { s as OrTagInputV3 } from '../OrTagInput-6e9c7a94.js';
|
|
124
124
|
export { s as OrTagV3, a as TagColor, T as TagVariant } from '../OrTag-ccb7734c.js';
|
|
125
|
-
export { s as OrTagsV3, T as TagsOverflow } from '../OrTags-
|
|
125
|
+
export { s as OrTagsV3, T as TagsOverflow } from '../OrTags-801c20ad.js';
|
|
126
126
|
export { s as OrTeleport } from '../OrTeleport.vue3-9bce0c02.js';
|
|
127
127
|
export { s as OrTeleportV3 } from '../OrTeleport.vue3-bf77eed4.js';
|
|
128
128
|
export { s as OrTextV3 } from '../OrText-d54c951d.js';
|
|
@@ -199,7 +199,7 @@ import '../codemirrorView-020fe885.js';
|
|
|
199
199
|
import 'prosemirror-state';
|
|
200
200
|
import 'prosemirror-commands';
|
|
201
201
|
import 'lodash/keyBy';
|
|
202
|
-
import '../OrSelectMultipleControl-
|
|
202
|
+
import '../OrSelectMultipleControl-6b5a831d.js';
|
|
203
203
|
import '../isEqualValue-f8bf73d9.js';
|
|
204
204
|
import '../OrSelectPlaceholder-10e3bf5e.js';
|
|
205
205
|
import '../OrSelectControlInput-3297e30d.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { s as OrSelectV3 } from '../../OrSelect-
|
|
1
|
+
export { s as OrSelectV3 } from '../../OrSelect-5a22c1da.js';
|
|
2
2
|
export { I as SelectSize } from '../../OrInputBox-8c1a29dd.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import '../../dropdown-open-06d651cf.js';
|
|
@@ -34,11 +34,11 @@ import '../../OrInput-2810a760.js';
|
|
|
34
34
|
import '../../useValidationAttributes-d1abbe34.js';
|
|
35
35
|
import '../../OrLoader-b7d415dd.js';
|
|
36
36
|
import '../../OrMenuItem-2928ba60.js';
|
|
37
|
-
import '../../OrTags-
|
|
37
|
+
import '../../OrTags-801c20ad.js';
|
|
38
38
|
import '../../useOverflow-e91d2314.js';
|
|
39
39
|
import '../../OrButton-a881b13b.js';
|
|
40
40
|
import '../../OrTag-ccb7734c.js';
|
|
41
|
-
import '../../OrSelectMultipleControl-
|
|
41
|
+
import '../../OrSelectMultipleControl-6b5a831d.js';
|
|
42
42
|
import '../../isEqualValue-f8bf73d9.js';
|
|
43
43
|
import '../../OrSelectPlaceholder-10e3bf5e.js';
|
|
44
44
|
import '../../OrSelectControlInput-3297e30d.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { s as OrSelectMultipleControl } from '../../../OrSelectMultipleControl-
|
|
1
|
+
export { s as OrSelectMultipleControl } from '../../../OrSelectMultipleControl-6b5a831d.js';
|
|
2
2
|
export { s as OrSelectSingleControl } from '../../../OrSelectSingleControl-5e78d499.js';
|
|
3
3
|
export { s as OrSelectPlaceholder } from '../../../OrSelectPlaceholder-10e3bf5e.js';
|
|
4
4
|
import 'vue-demi';
|
|
@@ -10,7 +10,7 @@ import '../../../isEqualValue-f8bf73d9.js';
|
|
|
10
10
|
import '../../../useProxyModelValue-940010d2.js';
|
|
11
11
|
import '@onereach/styles/tailwind/plugins/core';
|
|
12
12
|
import '@onereach/styles/tailwind.config.json';
|
|
13
|
-
import '../../../OrTags-
|
|
13
|
+
import '../../../OrTags-801c20ad.js';
|
|
14
14
|
import '../../../useOverflow-e91d2314.js';
|
|
15
15
|
import '../../../OrButton-a881b13b.js';
|
|
16
16
|
import '../../../OrLoader-b7d415dd.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { s as OrSelectMultipleControl } from '../../../../OrSelectMultipleControl-
|
|
1
|
+
export { s as OrSelectMultipleControl } from '../../../../OrSelectMultipleControl-6b5a831d.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
3
|
import '@vueuse/core';
|
|
4
4
|
import '../../../../dom-aecadd9a.js';
|
|
@@ -8,7 +8,7 @@ import '../../../../isEqualValue-f8bf73d9.js';
|
|
|
8
8
|
import '../../../../useProxyModelValue-940010d2.js';
|
|
9
9
|
import '@onereach/styles/tailwind/plugins/core';
|
|
10
10
|
import '@onereach/styles/tailwind.config.json';
|
|
11
|
-
import '../../../../OrTags-
|
|
11
|
+
import '../../../../OrTags-801c20ad.js';
|
|
12
12
|
import '../../../../useOverflow-e91d2314.js';
|
|
13
13
|
import '../../../../OrButton-a881b13b.js';
|
|
14
14
|
import '../../../../OrLoader-b7d415dd.js';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue-demi';
|
|
2
2
|
import { TagsOverflow } from '../or-tags-v3';
|
|
3
|
+
import { TagObject } from '../or-tags-v3/types';
|
|
3
4
|
declare const _default: import("vue-demi").DefineComponent<{
|
|
4
5
|
modelValue: {
|
|
5
6
|
type: PropType<string[]>;
|
|
@@ -71,6 +72,7 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
71
72
|
};
|
|
72
73
|
proxyModelValue: import("../../hooks").UseProxyModelValueReturn<string[]>;
|
|
73
74
|
draftModelValue: import("vue-demi").Ref<string>;
|
|
75
|
+
tagsItems: import("vue-demi").ComputedRef<TagObject[]>;
|
|
74
76
|
currentLength: import("vue-demi").ComputedRef<number>;
|
|
75
77
|
maxLength: import("vue-demi").ComputedRef<number | undefined>;
|
|
76
78
|
activated: import("vue-demi").Ref<boolean>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { s as OrTagInputV3 } from '../../OrTagInput-
|
|
1
|
+
export { s as OrTagInputV3 } from '../../OrTagInput-6e9c7a94.js';
|
|
2
2
|
export { I as TagInputSize } from '../../OrInputBox-8c1a29dd.js';
|
|
3
|
-
import 'vue-demi';
|
|
4
3
|
import '@vueuse/core';
|
|
4
|
+
import 'vue-demi';
|
|
5
5
|
import '../../useIdAttribute-859439f0.js';
|
|
6
6
|
import '../../dom-aecadd9a.js';
|
|
7
7
|
import 'lodash/isElement';
|
|
@@ -26,9 +26,9 @@ import '../../OrOverlay-d00d79f1.js';
|
|
|
26
26
|
import '../../OrTeleport.vue3-bf77eed4.js';
|
|
27
27
|
import '../../useTheme-0ef25778.js';
|
|
28
28
|
import '../../OrLabel-40af976e.js';
|
|
29
|
-
import '../../
|
|
29
|
+
import '../../OrTag-ccb7734c.js';
|
|
30
|
+
import '../../OrTags-801c20ad.js';
|
|
30
31
|
import '../../useOverflow-e91d2314.js';
|
|
31
32
|
import '../../OrButton-a881b13b.js';
|
|
32
33
|
import '../../OrLoader-b7d415dd.js';
|
|
33
|
-
import '../../OrTag-ccb7734c.js';
|
|
34
34
|
import '../../style-inject.es-4c6f2515.js';
|