@volverjs/ui-vue 0.0.10-beta.1 → 0.0.10-beta.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/README.md CHANGED
@@ -68,7 +68,7 @@ app.use(VolverPlugin, {
68
68
  * if you want can import components globally
69
69
  * components: { VvButton, VvInputText }
70
70
  */
71
- compoments: undefined,
71
+ components: undefined,
72
72
  /*
73
73
  * if you want can import directives globally
74
74
  * directives: { toolip: VTooltip }
@@ -158,6 +158,69 @@ export default defineConfig({
158
158
  })
159
159
  ```
160
160
 
161
+ ## Composables
162
+
163
+ `@volverjs/ui-vue`utility composables
164
+
165
+ ### useAlert
166
+
167
+ Used to show alert messages and notifications
168
+
169
+ ```typescript
170
+ export type AlertModifiers =
171
+ | 'success'
172
+ | 'info'
173
+ | 'warning'
174
+ | 'danger'
175
+ | 'brand'
176
+ | 'accent'
177
+ ```
178
+
179
+ ```typescript
180
+ export type Alert = {
181
+ id: string | number
182
+ group: string
183
+ title?: string
184
+ icon: string | Record<string, unknown>
185
+ content?: string
186
+ footer?: string
187
+ modifiers: AlertModifiers
188
+ dismissable: boolean
189
+ autoClose: number
190
+ timestamp: number
191
+ }
192
+ ```
193
+
194
+ ##### Usage
195
+
196
+ ```typescript
197
+ import { useAlert } from '@volverjs/ui-vue/composables'
198
+
199
+ const { addAlert, removeAlert, alerts } = useAlert()
200
+
201
+ function showSuccess() {
202
+ addAlert({
203
+ title: 'Success!',
204
+ modifiers: 'success'
205
+ })
206
+ }
207
+ ```
208
+
209
+ ```html
210
+ <vv-alert-group name="alert-group" :items="alerts" @close="removeAlert" />
211
+
212
+ <div class="flex gap-md">
213
+ <vv-button
214
+ label="Show success"
215
+ modifiers="secondary"
216
+ @click="showSuccess"
217
+ class="mb-lg"
218
+ />
219
+ </div>
220
+ ```
221
+
222
+ ###
223
+
161
224
  ## Roadmap
162
225
 
163
226
  The following features are planned for the next releases:
package/auto-imports.d.ts CHANGED
@@ -312,5 +312,5 @@ declare global {
312
312
  // for type re-export
313
313
  declare global {
314
314
  // @ts-ignore
315
- export type { Component, ComponentPublicInstance, ComputedRef, InjectionKey, PropType, Ref, VNode } from 'vue'
315
+ export type { Component, ComponentPublicInstance, ComputedRef, InjectionKey, PropType, Ref, VNode, WritableComputedRef } from 'vue'
316
316
  }
package/bin/icons.cjs CHANGED
@@ -1 +1 @@
1
- !function(e,o){"object"==typeof exports&&"undefined"!=typeof module?o(exports,require("fs"),require("yargs"),require("yargs/helpers"),require("@iconify/tools"),require("path"),require("@iconify/utils")):"function"==typeof define&&define.amd?define(["exports","fs","yargs","yargs/helpers","@iconify/tools","path","@iconify/utils"],o):o((e="undefined"!=typeof globalThis?globalThis:e||self)["generate-icons"]={},e.fileSystem,e.yargs,e.helpers,e.tools,e.path,e.utils)}(this,(function(e,o,t,r,n,i,s){"use strict";function c(e,t="iconify",r={}){return o.readdirSync(e).forEach((function(n){o.statSync(e+"/"+n).isDirectory()?r=c(e+"/"+n,n,r):n.includes(".svg")&&(r[t]?r[t].push(i.join(e,"/",n)):r[t]=[i.join(e,"/",n)])})),r}function a(e,t,r){const i=c(e,r);Object.keys(i).length?Object.keys(i).forEach((e=>{!async function(e,t,r){const i=n.blankIconSet(e);for(const s of t){const e=await o.promises.readFile(s,{encoding:"utf-8"}),t=new n.SVG(e);await n.cleanupSVG(t),await n.parseColors(t,{defaultColor:"currentColor",callback:(e,o,t)=>!t||n.isEmptyColor(t)?o:"currentColor"}),await n.runSVGO(t);const r=s.replace(/^.*[\\/]/,"").split(".")[0].replace(/ /g,"-").replace(/[^a-z0-9-]/gi,"");i.fromSVG(r,t)}const c=i.export();try{s.validateIconSet(c)}catch(a){throw new Error(`Icon set is not valid: ${null==a?void 0:a.message}`)}o.writeFileSync(`${r}/${c.prefix}.json`,JSON.stringify(c))}(e,i[e],t),console.info(`Icons generated in: ${t}/${e}.json\n`)})):console.error(`There are no files in ${e}`)}const l=t(r.hideBin(process.argv)).argv,f=l.srcPath,u=l.destPath||f;f&&u||(console.error("Please specify the srcPath and destPath with --srcPath and --destPath"),process.exit()),a(f,u,l.prefix),e.createIconifyJsonFiles=a,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}));
1
+ !function(e,o){"object"==typeof exports&&"undefined"!=typeof module?o(exports,require("fs"),require("yargs"),require("yargs/helpers"),require("@iconify/tools"),require("path"),require("@iconify/utils"),require("chokidar")):"function"==typeof define&&define.amd?define(["exports","fs","yargs","yargs/helpers","@iconify/tools","path","@iconify/utils","chokidar"],o):o((e="undefined"!=typeof globalThis?globalThis:e||self)["generate-icons"]={},e.fileSystem,e.yargs,e.helpers,e.tools,e.path,e.utils,e.chokidar)}(this,(function(e,o,r,i,t,n,s,c){"use strict";function a(e,r="iconify",i={}){return o.readdirSync(e).forEach((function(t){o.statSync(e+"/"+t).isDirectory()?i=a(e+"/"+t,t,i):t.includes(".svg")&&(i[r]?i[r].push(n.join(e,"/",t)):i[r]=[n.join(e,"/",t)])})),i}function l(e,r,i){const c=a(e,i);Object.keys(c).length?Object.keys(c).forEach((e=>{!async function(e,r,i){const c=t.blankIconSet(e);for(const n of r){const e=await o.promises.readFile(n,{encoding:"utf-8"}),r=new t.SVG(e);await t.cleanupSVG(r),await t.parseColors(r,{defaultColor:"currentColor",callback:(e,o,r)=>!r||t.isEmptyColor(r)?o:"currentColor"}),await t.runSVGO(r);const i=n.replace(/^.*[\\/]/,"").split(".")[0].replace(/ /g,"-").replace(/[^a-z0-9-]/gi,"");c.fromSVG(i,r)}const a=c.export();try{s.validateIconSet(a)}catch(f){throw new Error(`Icon set is not valid: ${null==f?void 0:f.message}`)}const l=`${i}/${a.prefix}.json`;o.mkdirSync(n.dirname(l),{recursive:!0}),o.writeFileSync(l,JSON.stringify(a))}(e,c[e],r),console.info(`Icons generated in: ${r}/${e}.json\n`)})):console.error(`There are no files in ${e}`)}const f=r(i.hideBin(process.argv)).argv,d=f.srcPath,u=f.destPath||d;d&&u||(console.error("Please specify the srcPath and destPath with --srcPath and --destPath"),process.exit()),f.watch?c.watch(d).on("add",(()=>{l(d,u,f.prefix)})).on("change",(()=>{l(d,u,f.prefix)})):l(d,u,f.prefix),e.createIconifyJsonFiles=l,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}));
package/bin/icons.js CHANGED
@@ -4,6 +4,7 @@ import { hideBin } from "yargs/helpers";
4
4
  import { blankIconSet, SVG, cleanupSVG, parseColors, isEmptyColor, runSVGO } from "@iconify/tools";
5
5
  import path from "path";
6
6
  import { validateIconSet } from "@iconify/utils";
7
+ import chokidar from "chokidar";
7
8
  function getAllFiles(dirPath, prefix = "iconify", objectFiles = {}) {
8
9
  const files = fileSystem.readdirSync(dirPath);
9
10
  files.forEach(function(file) {
@@ -43,10 +44,9 @@ async function generateIcons(prefix, files, destPath2) {
43
44
  `Icon set is not valid: ${error == null ? void 0 : error.message}`
44
45
  );
45
46
  }
46
- fileSystem.writeFileSync(
47
- `${destPath2}/${iconifyJson.prefix}.json`,
48
- JSON.stringify(iconifyJson)
49
- );
47
+ const filename = `${destPath2}/${iconifyJson.prefix}.json`;
48
+ fileSystem.mkdirSync(path.dirname(filename), { recursive: true });
49
+ fileSystem.writeFileSync(filename, JSON.stringify(iconifyJson));
50
50
  }
51
51
  function createIconifyJsonFiles(srcPath2, destPath2, prefix) {
52
52
  const objectFiles = getAllFiles(srcPath2, prefix);
@@ -69,7 +69,15 @@ if (!srcPath || !destPath) {
69
69
  );
70
70
  process.exit();
71
71
  }
72
- createIconifyJsonFiles(srcPath, destPath, argv.prefix);
72
+ if (argv.watch) {
73
+ chokidar.watch(srcPath).on("add", () => {
74
+ createIconifyJsonFiles(srcPath, destPath, argv.prefix);
75
+ }).on("change", () => {
76
+ createIconifyJsonFiles(srcPath, destPath, argv.prefix);
77
+ });
78
+ } else {
79
+ createIconifyJsonFiles(srcPath, destPath, argv.prefix);
80
+ }
73
81
  export {
74
82
  createIconifyJsonFiles
75
83
  };
@@ -36,7 +36,7 @@ export type VvAccordionPropsTypes = ExtractPropTypes<typeof VvAccordionProps>;
36
36
  * Merges local and group props
37
37
  */
38
38
  export declare function useGroupProps(props: VvAccordionPropsTypes, emit: (event: string, value: unknown) => void): {
39
- modelValue: import("vue").WritableComputedRef<any>;
39
+ modelValue: globalThis.WritableComputedRef<any>;
40
40
  not: Ref<boolean>;
41
41
  isInGroup: globalThis.ComputedRef<boolean>;
42
42
  group: Ref<AccordionGroupState> | undefined;
@@ -53,7 +53,7 @@ export declare function useGroupProps(props: VvCheckboxPropsTypes, emit: (event:
53
53
  indeterminate: Ref<boolean>;
54
54
  group: Ref<InputGroupState> | undefined;
55
55
  isInGroup: globalThis.ComputedRef<boolean>;
56
- modelValue: import("vue").WritableComputedRef<any>;
56
+ modelValue: globalThis.WritableComputedRef<any>;
57
57
  valid: Ref<boolean>;
58
58
  invalid: Ref<boolean>;
59
59
  readonly: globalThis.ComputedRef<boolean>;
@@ -100,7 +100,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
100
100
  rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
101
101
  elementContext?: import("@floating-ui/core").ElementContext | undefined;
102
102
  altBoundary?: boolean | undefined;
103
- padding?: import("@floating-ui/core").Padding | undefined;
103
+ padding?: import("@floating-ui/utils").Padding | undefined;
104
104
  limiter?: {
105
105
  fn: (state: import("@floating-ui/core").MiddlewareState) => import("@floating-ui/core").Coords;
106
106
  options?: any;
@@ -112,7 +112,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
112
112
  rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
113
113
  elementContext?: import("@floating-ui/core").ElementContext | undefined;
114
114
  altBoundary?: boolean | undefined;
115
- padding?: import("@floating-ui/core").Padding | undefined;
115
+ padding?: import("@floating-ui/utils").Padding | undefined;
116
116
  limiter?: {
117
117
  fn: (state: import("@floating-ui/core").MiddlewareState) => import("@floating-ui/core").Coords;
118
118
  options?: any;
@@ -128,8 +128,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
128
128
  rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
129
129
  elementContext?: import("@floating-ui/core").ElementContext | undefined;
130
130
  altBoundary?: boolean | undefined;
131
- padding?: import("@floating-ui/core").Padding | undefined;
132
- fallbackPlacements?: import("@floating-ui/core").Placement[] | undefined;
131
+ padding?: import("@floating-ui/utils").Padding | undefined;
132
+ fallbackPlacements?: import("@floating-ui/utils").Placement[] | undefined;
133
133
  fallbackStrategy?: "initialPlacement" | "bestFit" | undefined;
134
134
  fallbackAxisSideDirection?: "start" | "end" | "none" | undefined;
135
135
  flipAlignment?: boolean | undefined;
@@ -140,8 +140,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
140
140
  rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
141
141
  elementContext?: import("@floating-ui/core").ElementContext | undefined;
142
142
  altBoundary?: boolean | undefined;
143
- padding?: import("@floating-ui/core").Padding | undefined;
144
- fallbackPlacements?: import("@floating-ui/core").Placement[] | undefined;
143
+ padding?: import("@floating-ui/utils").Padding | undefined;
144
+ fallbackPlacements?: import("@floating-ui/utils").Placement[] | undefined;
145
145
  fallbackStrategy?: "initialPlacement" | "bestFit" | undefined;
146
146
  fallbackAxisSideDirection?: "start" | "end" | "none" | undefined;
147
147
  flipAlignment?: boolean | undefined;
@@ -154,16 +154,16 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
154
154
  rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
155
155
  elementContext?: import("@floating-ui/core").ElementContext | undefined;
156
156
  altBoundary?: boolean | undefined;
157
- padding?: import("@floating-ui/core").Padding | undefined;
157
+ padding?: import("@floating-ui/utils").Padding | undefined;
158
158
  boundary?: import("@floating-ui/dom").Boundary | undefined;
159
159
  apply?: ((args: {
160
160
  x: number;
161
161
  y: number;
162
- initialPlacement: import("@floating-ui/core").Placement;
163
- placement: import("@floating-ui/core").Placement;
164
- strategy: import("@floating-ui/core").Strategy;
162
+ initialPlacement: import("@floating-ui/utils").Placement;
163
+ placement: import("@floating-ui/utils").Placement;
164
+ strategy: import("@floating-ui/utils").Strategy;
165
165
  middlewareData: import("@floating-ui/core").MiddlewareData;
166
- rects: import("@floating-ui/core").ElementRects;
166
+ rects: import("@floating-ui/utils").ElementRects;
167
167
  platform: import("@floating-ui/core").Platform;
168
168
  elements: import("@floating-ui/dom").Elements;
169
169
  } & {
@@ -174,16 +174,16 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
174
174
  rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
175
175
  elementContext?: import("@floating-ui/core").ElementContext | undefined;
176
176
  altBoundary?: boolean | undefined;
177
- padding?: import("@floating-ui/core").Padding | undefined;
177
+ padding?: import("@floating-ui/utils").Padding | undefined;
178
178
  boundary?: import("@floating-ui/dom").Boundary | undefined;
179
179
  apply?: ((args: {
180
180
  x: number;
181
181
  y: number;
182
- initialPlacement: import("@floating-ui/core").Placement;
183
- placement: import("@floating-ui/core").Placement;
184
- strategy: import("@floating-ui/core").Strategy;
182
+ initialPlacement: import("@floating-ui/utils").Placement;
183
+ placement: import("@floating-ui/utils").Placement;
184
+ strategy: import("@floating-ui/utils").Strategy;
185
185
  middlewareData: import("@floating-ui/core").MiddlewareData;
186
- rects: import("@floating-ui/core").ElementRects;
186
+ rects: import("@floating-ui/utils").ElementRects;
187
187
  platform: import("@floating-ui/core").Platform;
188
188
  elements: import("@floating-ui/dom").Elements;
189
189
  } & {
@@ -201,20 +201,20 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
201
201
  rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
202
202
  elementContext?: import("@floating-ui/core").ElementContext | undefined;
203
203
  altBoundary?: boolean | undefined;
204
- padding?: import("@floating-ui/core").Padding | undefined;
205
- alignment?: import("@floating-ui/core").Alignment | null | undefined;
204
+ padding?: import("@floating-ui/utils").Padding | undefined;
205
+ alignment?: import("@floating-ui/utils").Alignment | null | undefined;
206
206
  autoAlignment?: boolean | undefined;
207
- allowedPlacements?: import("@floating-ui/core").Placement[] | undefined;
207
+ allowedPlacements?: import("@floating-ui/utils").Placement[] | undefined;
208
208
  boundary?: import("@floating-ui/dom").Boundary | undefined;
209
209
  } | import("@floating-ui/dom").Derivable<{
210
210
  crossAxis?: boolean | undefined;
211
211
  rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
212
212
  elementContext?: import("@floating-ui/core").ElementContext | undefined;
213
213
  altBoundary?: boolean | undefined;
214
- padding?: import("@floating-ui/core").Padding | undefined;
215
- alignment?: import("@floating-ui/core").Alignment | null | undefined;
214
+ padding?: import("@floating-ui/utils").Padding | undefined;
215
+ alignment?: import("@floating-ui/utils").Alignment | null | undefined;
216
216
  autoAlignment?: boolean | undefined;
217
- allowedPlacements?: import("@floating-ui/core").Placement[] | undefined;
217
+ allowedPlacements?: import("@floating-ui/utils").Placement[] | undefined;
218
218
  boundary?: import("@floating-ui/dom").Boundary | undefined;
219
219
  }> | undefined>;
220
220
  default: boolean;
@@ -382,7 +382,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
382
382
  rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
383
383
  elementContext?: import("@floating-ui/core").ElementContext | undefined;
384
384
  altBoundary?: boolean | undefined;
385
- padding?: import("@floating-ui/core").Padding | undefined;
385
+ padding?: import("@floating-ui/utils").Padding | undefined;
386
386
  limiter?: {
387
387
  fn: (state: import("@floating-ui/core").MiddlewareState) => import("@floating-ui/core").Coords;
388
388
  options?: any;
@@ -394,7 +394,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
394
394
  rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
395
395
  elementContext?: import("@floating-ui/core").ElementContext | undefined;
396
396
  altBoundary?: boolean | undefined;
397
- padding?: import("@floating-ui/core").Padding | undefined;
397
+ padding?: import("@floating-ui/utils").Padding | undefined;
398
398
  limiter?: {
399
399
  fn: (state: import("@floating-ui/core").MiddlewareState) => import("@floating-ui/core").Coords;
400
400
  options?: any;
@@ -410,8 +410,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
410
410
  rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
411
411
  elementContext?: import("@floating-ui/core").ElementContext | undefined;
412
412
  altBoundary?: boolean | undefined;
413
- padding?: import("@floating-ui/core").Padding | undefined;
414
- fallbackPlacements?: import("@floating-ui/core").Placement[] | undefined;
413
+ padding?: import("@floating-ui/utils").Padding | undefined;
414
+ fallbackPlacements?: import("@floating-ui/utils").Placement[] | undefined;
415
415
  fallbackStrategy?: "initialPlacement" | "bestFit" | undefined;
416
416
  fallbackAxisSideDirection?: "start" | "end" | "none" | undefined;
417
417
  flipAlignment?: boolean | undefined;
@@ -422,8 +422,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
422
422
  rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
423
423
  elementContext?: import("@floating-ui/core").ElementContext | undefined;
424
424
  altBoundary?: boolean | undefined;
425
- padding?: import("@floating-ui/core").Padding | undefined;
426
- fallbackPlacements?: import("@floating-ui/core").Placement[] | undefined;
425
+ padding?: import("@floating-ui/utils").Padding | undefined;
426
+ fallbackPlacements?: import("@floating-ui/utils").Placement[] | undefined;
427
427
  fallbackStrategy?: "initialPlacement" | "bestFit" | undefined;
428
428
  fallbackAxisSideDirection?: "start" | "end" | "none" | undefined;
429
429
  flipAlignment?: boolean | undefined;
@@ -436,16 +436,16 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
436
436
  rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
437
437
  elementContext?: import("@floating-ui/core").ElementContext | undefined;
438
438
  altBoundary?: boolean | undefined;
439
- padding?: import("@floating-ui/core").Padding | undefined;
439
+ padding?: import("@floating-ui/utils").Padding | undefined;
440
440
  boundary?: import("@floating-ui/dom").Boundary | undefined;
441
441
  apply?: ((args: {
442
442
  x: number;
443
443
  y: number;
444
- initialPlacement: import("@floating-ui/core").Placement;
445
- placement: import("@floating-ui/core").Placement;
446
- strategy: import("@floating-ui/core").Strategy;
444
+ initialPlacement: import("@floating-ui/utils").Placement;
445
+ placement: import("@floating-ui/utils").Placement;
446
+ strategy: import("@floating-ui/utils").Strategy;
447
447
  middlewareData: import("@floating-ui/core").MiddlewareData;
448
- rects: import("@floating-ui/core").ElementRects;
448
+ rects: import("@floating-ui/utils").ElementRects;
449
449
  platform: import("@floating-ui/core").Platform;
450
450
  elements: import("@floating-ui/dom").Elements;
451
451
  } & {
@@ -456,16 +456,16 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
456
456
  rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
457
457
  elementContext?: import("@floating-ui/core").ElementContext | undefined;
458
458
  altBoundary?: boolean | undefined;
459
- padding?: import("@floating-ui/core").Padding | undefined;
459
+ padding?: import("@floating-ui/utils").Padding | undefined;
460
460
  boundary?: import("@floating-ui/dom").Boundary | undefined;
461
461
  apply?: ((args: {
462
462
  x: number;
463
463
  y: number;
464
- initialPlacement: import("@floating-ui/core").Placement;
465
- placement: import("@floating-ui/core").Placement;
466
- strategy: import("@floating-ui/core").Strategy;
464
+ initialPlacement: import("@floating-ui/utils").Placement;
465
+ placement: import("@floating-ui/utils").Placement;
466
+ strategy: import("@floating-ui/utils").Strategy;
467
467
  middlewareData: import("@floating-ui/core").MiddlewareData;
468
- rects: import("@floating-ui/core").ElementRects;
468
+ rects: import("@floating-ui/utils").ElementRects;
469
469
  platform: import("@floating-ui/core").Platform;
470
470
  elements: import("@floating-ui/dom").Elements;
471
471
  } & {
@@ -483,20 +483,20 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
483
483
  rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
484
484
  elementContext?: import("@floating-ui/core").ElementContext | undefined;
485
485
  altBoundary?: boolean | undefined;
486
- padding?: import("@floating-ui/core").Padding | undefined;
487
- alignment?: import("@floating-ui/core").Alignment | null | undefined;
486
+ padding?: import("@floating-ui/utils").Padding | undefined;
487
+ alignment?: import("@floating-ui/utils").Alignment | null | undefined;
488
488
  autoAlignment?: boolean | undefined;
489
- allowedPlacements?: import("@floating-ui/core").Placement[] | undefined;
489
+ allowedPlacements?: import("@floating-ui/utils").Placement[] | undefined;
490
490
  boundary?: import("@floating-ui/dom").Boundary | undefined;
491
491
  } | import("@floating-ui/dom").Derivable<{
492
492
  crossAxis?: boolean | undefined;
493
493
  rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
494
494
  elementContext?: import("@floating-ui/core").ElementContext | undefined;
495
495
  altBoundary?: boolean | undefined;
496
- padding?: import("@floating-ui/core").Padding | undefined;
497
- alignment?: import("@floating-ui/core").Alignment | null | undefined;
496
+ padding?: import("@floating-ui/utils").Padding | undefined;
497
+ alignment?: import("@floating-ui/utils").Alignment | null | undefined;
498
498
  autoAlignment?: boolean | undefined;
499
- allowedPlacements?: import("@floating-ui/core").Placement[] | undefined;
499
+ allowedPlacements?: import("@floating-ui/utils").Placement[] | undefined;
500
500
  boundary?: import("@floating-ui/dom").Boundary | undefined;
501
501
  }> | undefined>;
502
502
  default: boolean;
@@ -578,7 +578,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
578
578
  rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
579
579
  elementContext?: import("@floating-ui/core").ElementContext | undefined;
580
580
  altBoundary?: boolean | undefined;
581
- padding?: import("@floating-ui/core").Padding | undefined;
581
+ padding?: import("@floating-ui/utils").Padding | undefined;
582
582
  limiter?: {
583
583
  fn: (state: import("@floating-ui/core").MiddlewareState) => import("@floating-ui/core").Coords;
584
584
  options?: any;
@@ -590,7 +590,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
590
590
  rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
591
591
  elementContext?: import("@floating-ui/core").ElementContext | undefined;
592
592
  altBoundary?: boolean | undefined;
593
- padding?: import("@floating-ui/core").Padding | undefined;
593
+ padding?: import("@floating-ui/utils").Padding | undefined;
594
594
  limiter?: {
595
595
  fn: (state: import("@floating-ui/core").MiddlewareState) => import("@floating-ui/core").Coords;
596
596
  options?: any;
@@ -605,8 +605,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
605
605
  rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
606
606
  elementContext?: import("@floating-ui/core").ElementContext | undefined;
607
607
  altBoundary?: boolean | undefined;
608
- padding?: import("@floating-ui/core").Padding | undefined;
609
- fallbackPlacements?: import("@floating-ui/core").Placement[] | undefined;
608
+ padding?: import("@floating-ui/utils").Padding | undefined;
609
+ fallbackPlacements?: import("@floating-ui/utils").Placement[] | undefined;
610
610
  fallbackStrategy?: "initialPlacement" | "bestFit" | undefined;
611
611
  fallbackAxisSideDirection?: "start" | "end" | "none" | undefined;
612
612
  flipAlignment?: boolean | undefined;
@@ -617,8 +617,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
617
617
  rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
618
618
  elementContext?: import("@floating-ui/core").ElementContext | undefined;
619
619
  altBoundary?: boolean | undefined;
620
- padding?: import("@floating-ui/core").Padding | undefined;
621
- fallbackPlacements?: import("@floating-ui/core").Placement[] | undefined;
620
+ padding?: import("@floating-ui/utils").Padding | undefined;
621
+ fallbackPlacements?: import("@floating-ui/utils").Placement[] | undefined;
622
622
  fallbackStrategy?: "initialPlacement" | "bestFit" | undefined;
623
623
  fallbackAxisSideDirection?: "start" | "end" | "none" | undefined;
624
624
  flipAlignment?: boolean | undefined;
@@ -637,16 +637,16 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
637
637
  rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
638
638
  elementContext?: import("@floating-ui/core").ElementContext | undefined;
639
639
  altBoundary?: boolean | undefined;
640
- padding?: import("@floating-ui/core").Padding | undefined;
640
+ padding?: import("@floating-ui/utils").Padding | undefined;
641
641
  boundary?: import("@floating-ui/dom").Boundary | undefined;
642
642
  apply?: ((args: {
643
643
  x: number;
644
644
  y: number;
645
- initialPlacement: import("@floating-ui/core").Placement;
646
- placement: import("@floating-ui/core").Placement;
647
- strategy: import("@floating-ui/core").Strategy;
645
+ initialPlacement: import("@floating-ui/utils").Placement;
646
+ placement: import("@floating-ui/utils").Placement;
647
+ strategy: import("@floating-ui/utils").Strategy;
648
648
  middlewareData: import("@floating-ui/core").MiddlewareData;
649
- rects: import("@floating-ui/core").ElementRects;
649
+ rects: import("@floating-ui/utils").ElementRects;
650
650
  platform: import("@floating-ui/core").Platform;
651
651
  elements: import("@floating-ui/dom").Elements;
652
652
  } & {
@@ -657,16 +657,16 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
657
657
  rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
658
658
  elementContext?: import("@floating-ui/core").ElementContext | undefined;
659
659
  altBoundary?: boolean | undefined;
660
- padding?: import("@floating-ui/core").Padding | undefined;
660
+ padding?: import("@floating-ui/utils").Padding | undefined;
661
661
  boundary?: import("@floating-ui/dom").Boundary | undefined;
662
662
  apply?: ((args: {
663
663
  x: number;
664
664
  y: number;
665
- initialPlacement: import("@floating-ui/core").Placement;
666
- placement: import("@floating-ui/core").Placement;
667
- strategy: import("@floating-ui/core").Strategy;
665
+ initialPlacement: import("@floating-ui/utils").Placement;
666
+ placement: import("@floating-ui/utils").Placement;
667
+ strategy: import("@floating-ui/utils").Strategy;
668
668
  middlewareData: import("@floating-ui/core").MiddlewareData;
669
- rects: import("@floating-ui/core").ElementRects;
669
+ rects: import("@floating-ui/utils").ElementRects;
670
670
  platform: import("@floating-ui/core").Platform;
671
671
  elements: import("@floating-ui/dom").Elements;
672
672
  } & {
@@ -684,20 +684,20 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
684
684
  rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
685
685
  elementContext?: import("@floating-ui/core").ElementContext | undefined;
686
686
  altBoundary?: boolean | undefined;
687
- padding?: import("@floating-ui/core").Padding | undefined;
688
- alignment?: import("@floating-ui/core").Alignment | null | undefined;
687
+ padding?: import("@floating-ui/utils").Padding | undefined;
688
+ alignment?: import("@floating-ui/utils").Alignment | null | undefined;
689
689
  autoAlignment?: boolean | undefined;
690
- allowedPlacements?: import("@floating-ui/core").Placement[] | undefined;
690
+ allowedPlacements?: import("@floating-ui/utils").Placement[] | undefined;
691
691
  boundary?: import("@floating-ui/dom").Boundary | undefined;
692
692
  } | import("@floating-ui/dom").Derivable<{
693
693
  crossAxis?: boolean | undefined;
694
694
  rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
695
695
  elementContext?: import("@floating-ui/core").ElementContext | undefined;
696
696
  altBoundary?: boolean | undefined;
697
- padding?: import("@floating-ui/core").Padding | undefined;
698
- alignment?: import("@floating-ui/core").Alignment | null | undefined;
697
+ padding?: import("@floating-ui/utils").Padding | undefined;
698
+ alignment?: import("@floating-ui/utils").Alignment | null | undefined;
699
699
  autoAlignment?: boolean | undefined;
700
- allowedPlacements?: import("@floating-ui/core").Placement[] | undefined;
700
+ allowedPlacements?: import("@floating-ui/utils").Placement[] | undefined;
701
701
  boundary?: import("@floating-ui/dom").Boundary | undefined;
702
702
  }> | undefined;
703
703
  arrow: boolean;
@@ -174,7 +174,7 @@ export declare const VvComboboxProps: {
174
174
  rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
175
175
  elementContext?: import("@floating-ui/core").ElementContext | undefined;
176
176
  altBoundary?: boolean | undefined;
177
- padding?: import("@floating-ui/core").Padding | undefined;
177
+ padding?: import("@floating-ui/utils").Padding | undefined;
178
178
  limiter?: {
179
179
  fn: (state: import("@floating-ui/core").MiddlewareState) => import("@floating-ui/core").Coords;
180
180
  options?: any;
@@ -186,7 +186,7 @@ export declare const VvComboboxProps: {
186
186
  rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
187
187
  elementContext?: import("@floating-ui/core").ElementContext | undefined;
188
188
  altBoundary?: boolean | undefined;
189
- padding?: import("@floating-ui/core").Padding | undefined;
189
+ padding?: import("@floating-ui/utils").Padding | undefined;
190
190
  limiter?: {
191
191
  fn: (state: import("@floating-ui/core").MiddlewareState) => import("@floating-ui/core").Coords;
192
192
  options?: any;
@@ -202,8 +202,8 @@ export declare const VvComboboxProps: {
202
202
  rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
203
203
  elementContext?: import("@floating-ui/core").ElementContext | undefined;
204
204
  altBoundary?: boolean | undefined;
205
- padding?: import("@floating-ui/core").Padding | undefined;
206
- fallbackPlacements?: import("@floating-ui/core").Placement[] | undefined;
205
+ padding?: import("@floating-ui/utils").Padding | undefined;
206
+ fallbackPlacements?: import("@floating-ui/utils").Placement[] | undefined;
207
207
  fallbackStrategy?: "initialPlacement" | "bestFit" | undefined;
208
208
  fallbackAxisSideDirection?: "start" | "end" | "none" | undefined;
209
209
  flipAlignment?: boolean | undefined;
@@ -214,8 +214,8 @@ export declare const VvComboboxProps: {
214
214
  rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
215
215
  elementContext?: import("@floating-ui/core").ElementContext | undefined;
216
216
  altBoundary?: boolean | undefined;
217
- padding?: import("@floating-ui/core").Padding | undefined;
218
- fallbackPlacements?: import("@floating-ui/core").Placement[] | undefined;
217
+ padding?: import("@floating-ui/utils").Padding | undefined;
218
+ fallbackPlacements?: import("@floating-ui/utils").Placement[] | undefined;
219
219
  fallbackStrategy?: "initialPlacement" | "bestFit" | undefined;
220
220
  fallbackAxisSideDirection?: "start" | "end" | "none" | undefined;
221
221
  flipAlignment?: boolean | undefined;
@@ -228,16 +228,16 @@ export declare const VvComboboxProps: {
228
228
  rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
229
229
  elementContext?: import("@floating-ui/core").ElementContext | undefined;
230
230
  altBoundary?: boolean | undefined;
231
- padding?: import("@floating-ui/core").Padding | undefined;
231
+ padding?: import("@floating-ui/utils").Padding | undefined;
232
232
  boundary?: import("@floating-ui/dom").Boundary | undefined;
233
233
  apply?: ((args: {
234
234
  x: number;
235
235
  y: number;
236
- initialPlacement: import("@floating-ui/core").Placement;
237
- placement: import("@floating-ui/core").Placement;
238
- strategy: import("@floating-ui/core").Strategy;
236
+ initialPlacement: import("@floating-ui/utils").Placement;
237
+ placement: import("@floating-ui/utils").Placement;
238
+ strategy: import("@floating-ui/utils").Strategy;
239
239
  middlewareData: import("@floating-ui/core").MiddlewareData;
240
- rects: import("@floating-ui/core").ElementRects;
240
+ rects: import("@floating-ui/utils").ElementRects;
241
241
  platform: import("@floating-ui/core").Platform;
242
242
  elements: import("@floating-ui/dom").Elements;
243
243
  } & {
@@ -248,16 +248,16 @@ export declare const VvComboboxProps: {
248
248
  rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
249
249
  elementContext?: import("@floating-ui/core").ElementContext | undefined;
250
250
  altBoundary?: boolean | undefined;
251
- padding?: import("@floating-ui/core").Padding | undefined;
251
+ padding?: import("@floating-ui/utils").Padding | undefined;
252
252
  boundary?: import("@floating-ui/dom").Boundary | undefined;
253
253
  apply?: ((args: {
254
254
  x: number;
255
255
  y: number;
256
- initialPlacement: import("@floating-ui/core").Placement;
257
- placement: import("@floating-ui/core").Placement;
258
- strategy: import("@floating-ui/core").Strategy;
256
+ initialPlacement: import("@floating-ui/utils").Placement;
257
+ placement: import("@floating-ui/utils").Placement;
258
+ strategy: import("@floating-ui/utils").Strategy;
259
259
  middlewareData: import("@floating-ui/core").MiddlewareData;
260
- rects: import("@floating-ui/core").ElementRects;
260
+ rects: import("@floating-ui/utils").ElementRects;
261
261
  platform: import("@floating-ui/core").Platform;
262
262
  elements: import("@floating-ui/dom").Elements;
263
263
  } & {
@@ -275,20 +275,20 @@ export declare const VvComboboxProps: {
275
275
  rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
276
276
  elementContext?: import("@floating-ui/core").ElementContext | undefined;
277
277
  altBoundary?: boolean | undefined;
278
- padding?: import("@floating-ui/core").Padding | undefined;
279
- alignment?: import("@floating-ui/core").Alignment | null | undefined;
278
+ padding?: import("@floating-ui/utils").Padding | undefined;
279
+ alignment?: import("@floating-ui/utils").Alignment | null | undefined;
280
280
  autoAlignment?: boolean | undefined;
281
- allowedPlacements?: import("@floating-ui/core").Placement[] | undefined;
281
+ allowedPlacements?: import("@floating-ui/utils").Placement[] | undefined;
282
282
  boundary?: import("@floating-ui/dom").Boundary | undefined;
283
283
  } | import("@floating-ui/dom").Derivable<{
284
284
  crossAxis?: boolean | undefined;
285
285
  rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
286
286
  elementContext?: import("@floating-ui/core").ElementContext | undefined;
287
287
  altBoundary?: boolean | undefined;
288
- padding?: import("@floating-ui/core").Padding | undefined;
289
- alignment?: import("@floating-ui/core").Alignment | null | undefined;
288
+ padding?: import("@floating-ui/utils").Padding | undefined;
289
+ alignment?: import("@floating-ui/utils").Alignment | null | undefined;
290
290
  autoAlignment?: boolean | undefined;
291
- allowedPlacements?: import("@floating-ui/core").Placement[] | undefined;
291
+ allowedPlacements?: import("@floating-ui/utils").Placement[] | undefined;
292
292
  boundary?: import("@floating-ui/dom").Boundary | undefined;
293
293
  }> | undefined>;
294
294
  default: boolean;