fluekit 2.7.0 → 2.7.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/dist/Fixed.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { Props } from './usePosition';
1
+ import { PositionProps } from './usePosition';
2
2
  declare function __VLS_template(): {
3
3
  attrs: Partial<{}>;
4
4
  slots: {
@@ -8,7 +8,7 @@ declare function __VLS_template(): {
8
8
  rootEl: any;
9
9
  };
10
10
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
- declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
11
+ declare const __VLS_component: import('vue').DefineComponent<PositionProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<PositionProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
12
12
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
13
13
  export default _default;
14
14
  type __VLS_WithTemplateSlots<T, S> = T & {
package/dist/Modal.d.ts CHANGED
@@ -1,12 +1,15 @@
1
1
  import { Alignment } from './Alignment';
2
2
  interface Props {
3
- visible: boolean;
4
3
  barrierDismissible?: boolean;
5
4
  barrierColor?: string;
6
5
  alignment?: Alignment;
7
6
  zIndex?: number;
8
- transition?: string;
9
7
  }
8
+ declare const visible: import('vue').ModelRef<boolean, string, boolean, boolean>;
9
+ type __VLS_Props = Props;
10
+ type __VLS_PublicProps = {
11
+ "visible"?: typeof visible['value'];
12
+ } & __VLS_Props;
10
13
  declare function __VLS_template(): {
11
14
  attrs: Partial<{}>;
12
15
  slots: {
@@ -16,16 +19,15 @@ declare function __VLS_template(): {
16
19
  rootEl: any;
17
20
  };
18
21
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
19
- declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
20
- close: () => any;
22
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
21
23
  "update:visible": (value: boolean) => any;
22
- }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
24
+ } & {
25
+ close: () => any;
26
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
23
27
  onClose?: (() => any) | undefined;
24
28
  "onUpdate:visible"?: ((value: boolean) => any) | undefined;
25
29
  }>, {
26
30
  alignment: Alignment;
27
- visible: boolean;
28
- transition: string;
29
31
  zIndex: number;
30
32
  barrierDismissible: boolean;
31
33
  barrierColor: string;
@@ -1,4 +1,4 @@
1
- import { Props } from './usePosition';
1
+ import { PositionProps } from './usePosition';
2
2
  declare function __VLS_template(): {
3
3
  attrs: Partial<{}>;
4
4
  slots: {
@@ -8,7 +8,7 @@ declare function __VLS_template(): {
8
8
  rootEl: any;
9
9
  };
10
10
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
- declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
11
+ declare const __VLS_component: import('vue').DefineComponent<PositionProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<PositionProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
12
12
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
13
13
  export default _default;
14
14
  type __VLS_WithTemplateSlots<T, S> = T & {
package/dist/Sticky.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { Props } from './usePosition';
1
+ import { PositionProps } from './usePosition';
2
2
  declare function __VLS_template(): {
3
3
  attrs: Partial<{}>;
4
4
  slots: {
@@ -8,7 +8,7 @@ declare function __VLS_template(): {
8
8
  rootEl: any;
9
9
  };
10
10
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
- declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
11
+ declare const __VLS_component: import('vue').DefineComponent<PositionProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<PositionProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
12
12
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
13
13
  export default _default;
14
14
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -0,0 +1,59 @@
1
+ import { UploadFile } from './UploadTypes';
2
+ interface Props {
3
+ accept?: string;
4
+ multiple?: boolean;
5
+ disabled?: boolean;
6
+ name?: string;
7
+ maxCount?: number;
8
+ showFileList?: boolean;
9
+ request?: (file: UploadFile) => Promise<any>;
10
+ validate?: (file: File) => boolean | Promise<boolean>;
11
+ }
12
+ type __VLS_Props = Props;
13
+ type __VLS_PublicProps = {
14
+ "fileList"?: UploadFile[];
15
+ } & __VLS_Props;
16
+ declare function __VLS_template(): {
17
+ attrs: Partial<{}>;
18
+ slots: {
19
+ default?(_: {}): any;
20
+ tip?(_: {}): any;
21
+ };
22
+ refs: {
23
+ inputRef: HTMLInputElement;
24
+ };
25
+ rootEl: any;
26
+ };
27
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
28
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
29
+ "update:fileList": (value: UploadFile[]) => any;
30
+ } & {
31
+ progress: (event: ProgressEvent<EventTarget>, file: UploadFile) => any;
32
+ change: (files: UploadFile[]) => any;
33
+ error: (error: Error, file: UploadFile) => any;
34
+ success: (response: any, file: UploadFile) => any;
35
+ remove: (file: UploadFile) => any;
36
+ exceed: () => any;
37
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
38
+ onProgress?: ((event: ProgressEvent<EventTarget>, file: UploadFile) => any) | undefined;
39
+ onChange?: ((files: UploadFile[]) => any) | undefined;
40
+ onError?: ((error: Error, file: UploadFile) => any) | undefined;
41
+ onSuccess?: ((response: any, file: UploadFile) => any) | undefined;
42
+ onRemove?: ((file: UploadFile) => any) | undefined;
43
+ onExceed?: (() => any) | undefined;
44
+ "onUpdate:fileList"?: ((value: UploadFile[]) => any) | undefined;
45
+ }>, {
46
+ multiple: boolean;
47
+ disabled: boolean;
48
+ name: string;
49
+ showFileList: boolean;
50
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
51
+ inputRef: HTMLInputElement;
52
+ }, any>;
53
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
54
+ export default _default;
55
+ type __VLS_WithTemplateSlots<T, S> = T & {
56
+ new (): {
57
+ $slots: S;
58
+ };
59
+ };
@@ -0,0 +1,14 @@
1
+ export interface UploadFile {
2
+ uid: string;
3
+ name: string;
4
+ size: number;
5
+ type: string;
6
+ lastModified: number;
7
+ raw: File;
8
+ status: "ready" | "uploading" | "success" | "fail";
9
+ progress?: number;
10
+ url?: string;
11
+ response?: any;
12
+ error?: any;
13
+ }
14
+ export type UploadStatus = UploadFile["status"];
package/dist/index.d.ts CHANGED
@@ -89,6 +89,8 @@ export { default as TabBarView } from './TabBarView';
89
89
  export { default as RefreshIndicator } from './RefreshIndicator';
90
90
  export { default as RatingBar } from './RatingBar';
91
91
  export { default as Table } from './Table';
92
+ export { default as Upload } from './Upload';
93
+ export * from './UploadTypes';
92
94
  export { default as FlueConfigProvider } from './FlueConfigProvider';
93
95
  export { default as AnimationWidget } from './Animation';
94
96
  export { StyleProvider } from './StyleProvider';
package/dist/index.js CHANGED
@@ -1168,7 +1168,7 @@ var GestureDetector_default = defineComponent({
1168
1168
  return e ? e.type === Text ? h("span", o, [e]) : isHtmlTag(e) ? cloneVNode(e, o) : e : null;
1169
1169
  };
1170
1170
  }
1171
- }), _hoisted_1$13 = ["disabled", "type"], Button_default = /* @__PURE__ */ defineComponent({
1171
+ }), _hoisted_1$14 = ["disabled", "type"], Button_default = /* @__PURE__ */ defineComponent({
1172
1172
  inheritAttrs: !1,
1173
1173
  __name: "Button",
1174
1174
  props: {
@@ -1251,7 +1251,7 @@ var GestureDetector_default = defineComponent({
1251
1251
  style: f.value,
1252
1252
  disabled: e.disabled,
1253
1253
  type: e.type
1254
- }, unref(u)), [renderSlot(r.$slots, "default", {}, () => [createTextVNode(toDisplayString(i.text), 1)])], 16, _hoisted_1$13)]),
1254
+ }, unref(u)), [renderSlot(r.$slots, "default", {}, () => [createTextVNode(toDisplayString(i.text), 1)])], 16, _hoisted_1$14)]),
1255
1255
  _: 3
1256
1256
  }, 8, [
1257
1257
  "behavior",
@@ -1731,7 +1731,7 @@ function ImageProvider(e) {
1731
1731
  [IMAGE_PROVIDER_SYMBOL]: !0
1732
1732
  } : e.startsWith("http") ? NetworkImage(e) : e.startsWith("data:") ? MemoryImage(e) : AssetImage(e);
1733
1733
  }
1734
- var _hoisted_1$12 = ["src", "alt"], Image_default = /* @__PURE__ */ defineComponent({
1734
+ var _hoisted_1$13 = ["src", "alt"], Image_default = /* @__PURE__ */ defineComponent({
1735
1735
  inheritAttrs: !1,
1736
1736
  __name: "Image",
1737
1737
  props: {
@@ -1790,9 +1790,9 @@ var _hoisted_1$12 = ["src", "alt"], Image_default = /* @__PURE__ */ defineCompon
1790
1790
  alt: e.alt,
1791
1791
  onLoad: f,
1792
1792
  onError: g
1793
- }, null, 44, _hoisted_1$12)], 16));
1793
+ }, null, 44, _hoisted_1$13)], 16));
1794
1794
  }
1795
- }), _hoisted_1$11 = ["aria-label"], _hoisted_2$5 = ["width", "height"], _hoisted_3 = ["d"], Icon_default = /* @__PURE__ */ defineComponent({
1795
+ }), _hoisted_1$12 = ["aria-label"], _hoisted_2$5 = ["width", "height"], _hoisted_3 = ["d"], Icon_default = /* @__PURE__ */ defineComponent({
1796
1796
  inheritAttrs: !1,
1797
1797
  __name: "Icon",
1798
1798
  props: {
@@ -1845,7 +1845,7 @@ var _hoisted_1$12 = ["src", "alt"], Image_default = /* @__PURE__ */ defineCompon
1845
1845
  fill: "currentColor",
1846
1846
  xmlns: "http://www.w3.org/2000/svg",
1847
1847
  style: s
1848
- }, [createElementVNode("path", { d: e.icon }, null, 8, _hoisted_3)], 8, _hoisted_2$5)) : createCommentVNode("", !0)])], 16, _hoisted_1$11));
1848
+ }, [createElementVNode("path", { d: e.icon }, null, 8, _hoisted_3)], 8, _hoisted_2$5)) : createCommentVNode("", !0)])], 16, _hoisted_1$12));
1849
1849
  }
1850
1850
  });
1851
1851
  const Colors = {
@@ -2336,7 +2336,7 @@ var CupertinoActivityIndicator_default = /* @__PURE__ */ defineComponent({
2336
2336
  animating: a.value
2337
2337
  }, null, 8, ["color", "animating"])], 4), createElementVNode("div", { style: normalizeStyle(f.value) }, [renderSlot(r.$slots, "default")], 4)], 544));
2338
2338
  }
2339
- }), _hoisted_1$10 = {
2339
+ }), _hoisted_1$11 = {
2340
2340
  key: 0,
2341
2341
  class: "list-view-separator"
2342
2342
  }, ListView_default = /* @__PURE__ */ defineComponent({
@@ -2389,7 +2389,7 @@ var CupertinoActivityIndicator_default = /* @__PURE__ */ defineComponent({
2389
2389
  default: withCtx(() => [createElementVNode("div", {
2390
2390
  class: "list-view-content",
2391
2391
  style: normalizeStyle(a.value)
2392
- }, [e.itemCount ? (openBlock(!0), createElementBlock(Fragment, { key: 1 }, renderList(e.itemCount, (a) => (openBlock(), createElementBlock(Fragment, { key: a - 1 }, [renderSlot(i.$slots, "item", { index: a - 1 }), e.separator && a < e.itemCount ? (openBlock(), createElementBlock("div", _hoisted_1$10, [renderSlot(i.$slots, "separator", { index: a - 1 })])) : createCommentVNode("", !0)], 64))), 128)) : renderSlot(i.$slots, "default", { key: 0 })], 4)]),
2392
+ }, [e.itemCount ? (openBlock(!0), createElementBlock(Fragment, { key: 1 }, renderList(e.itemCount, (a) => (openBlock(), createElementBlock(Fragment, { key: a - 1 }, [renderSlot(i.$slots, "item", { index: a - 1 }), e.separator && a < e.itemCount ? (openBlock(), createElementBlock("div", _hoisted_1$11, [renderSlot(i.$slots, "separator", { index: a - 1 })])) : createCommentVNode("", !0)], 64))), 128)) : renderSlot(i.$slots, "default", { key: 0 })], 4)]),
2393
2393
  _: 3
2394
2394
  }, 8, [
2395
2395
  "scroll-direction",
@@ -2451,45 +2451,46 @@ var CupertinoActivityIndicator_default = /* @__PURE__ */ defineComponent({
2451
2451
  }), Modal_default = /* @__PURE__ */ defineComponent({
2452
2452
  inheritAttrs: !1,
2453
2453
  __name: "Modal",
2454
- props: {
2455
- visible: {
2456
- type: Boolean,
2457
- default: !1
2458
- },
2454
+ props: /* @__PURE__ */ mergeModels({
2459
2455
  barrierDismissible: {
2460
2456
  type: Boolean,
2461
2457
  default: !0
2462
2458
  },
2463
2459
  barrierColor: { default: "rgba(0, 0, 0, 0.5)" },
2464
2460
  alignment: { default: Alignment.center },
2465
- zIndex: { default: 1e3 },
2466
- transition: { default: "fluekit-modal-fade" }
2467
- },
2468
- emits: ["update:visible", "close"],
2461
+ zIndex: { default: () => useZIndex() }
2462
+ }, {
2463
+ visible: {
2464
+ type: Boolean,
2465
+ default: !1
2466
+ },
2467
+ visibleModifiers: {}
2468
+ }),
2469
+ emits: /* @__PURE__ */ mergeModels(["close"], ["update:visible"]),
2469
2470
  setup(e, { emit: i }) {
2470
- let a = e, s = i, c = () => {
2471
- s("update:visible", !1), s("close");
2472
- }, l = () => {
2473
- a.barrierDismissible && c();
2474
- }, u = (e, r) => {
2475
- let i = e;
2476
- i.animate([{ opacity: 0 }, { opacity: 1 }], {
2471
+ let a = useModel(e, "visible"), s = e, c = i, l = () => {
2472
+ a.value = !1, c("close");
2473
+ }, u = () => {
2474
+ s.barrierDismissible && l();
2475
+ }, m = (e, r) => {
2476
+ let i = e.animate([{ opacity: 0 }, { opacity: 1 }], {
2477
2477
  duration: 300,
2478
2478
  easing: "ease"
2479
- }).onfinish = r;
2480
- }, m = (e, r) => {
2481
- let i = e;
2482
- i.animate([{ opacity: 1 }, { opacity: 0 }], {
2479
+ });
2480
+ i.onfinish = r;
2481
+ }, g = (e, r) => {
2482
+ let i = e.animate([{ opacity: 1 }, { opacity: 0 }], {
2483
2483
  duration: 300,
2484
2484
  easing: "ease"
2485
- }).onfinish = r;
2485
+ });
2486
+ i.onfinish = r;
2486
2487
  };
2487
- return (i, a) => (openBlock(), createElementBlock(Fragment, null, [createVNode(Transition, {
2488
+ return (i, s) => (openBlock(), createElementBlock(Fragment, null, [createVNode(Transition, {
2488
2489
  css: !1,
2489
- onEnter: u,
2490
- onLeave: m
2490
+ onEnter: m,
2491
+ onLeave: g
2491
2492
  }, {
2492
- default: withCtx(() => [e.visible ? (openBlock(), createBlock(Fixed_default, {
2493
+ default: withCtx(() => [a.value ? (openBlock(), createBlock(Fixed_default, {
2493
2494
  key: 0,
2494
2495
  "z-index": e.zIndex,
2495
2496
  top: 0,
@@ -2509,9 +2510,9 @@ var CupertinoActivityIndicator_default = /* @__PURE__ */ defineComponent({
2509
2510
  }, 8, ["z-index"])) : createCommentVNode("", !0)]),
2510
2511
  _: 3
2511
2512
  }), createVNode(Overlay_default, {
2512
- visible: e.visible,
2513
+ visible: a.value,
2513
2514
  position: "fixed",
2514
- onTap: l,
2515
+ onTap: u,
2515
2516
  "z-index": e.zIndex - 1
2516
2517
  }, null, 8, ["visible", "z-index"])], 64));
2517
2518
  }
@@ -2839,7 +2840,7 @@ const FloatingLabelBehavior = {
2839
2840
  function InputDecoration(e = {}) {
2840
2841
  return e.floatingLabelBehavior = e.floatingLabelBehavior || FloatingLabelBehavior.never, e;
2841
2842
  }
2842
- var _hoisted_1$9 = { key: 3 }, _hoisted_2$4 = {
2843
+ var _hoisted_1$10 = { key: 3 }, _hoisted_2$4 = {
2843
2844
  key: 2,
2844
2845
  style: { flex: 1 }
2845
2846
  }, TextField_default = /* @__PURE__ */ defineComponent({
@@ -3139,7 +3140,7 @@ var _hoisted_1$9 = { key: 3 }, _hoisted_2$4 = {
3139
3140
  "enterkeyhint",
3140
3141
  "autocorrect"
3141
3142
  ]))]),
3142
- r.$slots.suffix || e.decoration?.suffixText ? (openBlock(), createElementBlock("div", _hoisted_1$9, [renderSlot(r.$slots, "suffix", {}, () => [createTextVNode(toDisplayString(e.decoration?.suffixText), 1)])])) : createCommentVNode("", !0),
3143
+ r.$slots.suffix || e.decoration?.suffixText ? (openBlock(), createElementBlock("div", _hoisted_1$10, [renderSlot(r.$slots, "suffix", {}, () => [createTextVNode(toDisplayString(e.decoration?.suffixText), 1)])])) : createCommentVNode("", !0),
3143
3144
  r.$slots.suffixIcon || e.decoration?.suffixIcon ? (openBlock(), createElementBlock("div", {
3144
3145
  key: 4,
3145
3146
  style: normalizeStyle(I.value)
@@ -3316,7 +3317,7 @@ var debouncedUpdateGlobalState = debounce(updateGlobalState, 100), attachListene
3316
3317
  function useMediaQuery() {
3317
3318
  return attachListeners(), inject(MediaQueryKey, globalState);
3318
3319
  }
3319
- var _hoisted_1$8 = { style: {
3320
+ var _hoisted_1$9 = { style: {
3320
3321
  position: "relative",
3321
3322
  "z-index": "2"
3322
3323
  } }, LiquidGlassDialog_default = /* @__PURE__ */ defineComponent({
@@ -3337,8 +3338,10 @@ var _hoisted_1$8 = { style: {
3337
3338
  ],
3338
3339
  setup(e, { expose: a, emit: s }) {
3339
3340
  let c = e, u = computed(() => c.actions.length == 2 ? "row" : "column"), g = computed(() => {
3341
+ if (isMacOS) return "16px";
3342
+ if (isIPad || isIOS) return "12px";
3340
3343
  let e = C.size.width;
3341
- return isMacOS ? "16PX" : isIPad ? "12PX" : isIOS ? "8PX" : e >= 1024 ? "16PX" : e >= 600 ? "12PX" : "8PX";
3344
+ return e >= 1024 || e >= 600 ? "12px" : "8px";
3342
3345
  }), y = s, b = () => {
3343
3346
  y("update:modelValue", !1), y("close");
3344
3347
  };
@@ -3372,10 +3375,10 @@ var _hoisted_1$8 = { style: {
3372
3375
  });
3373
3376
  }), T = computed(() => {
3374
3377
  let e = C.size.width, r;
3375
- return r = isMacOS || isIOS || isIPad ? 13 : e >= 1024 ? 16 : e >= 600 ? 15 : 13, TextStyle({
3378
+ return r = isMacOS || isIOS || isIPad ? 14 : e >= 1024 ? 16 : e >= 600 ? 15 : 13, TextStyle({
3376
3379
  fontSize: r + "PX",
3377
3380
  fontWeight: 600,
3378
- height: `${1.35 * r}PX`,
3381
+ height: `${1.35 * r}px`,
3379
3382
  letterSpacing: "-0.4PX",
3380
3383
  color: C.platformBrightness === "dark" ? "#a1a1a6" : "#6b6b6b"
3381
3384
  });
@@ -3392,8 +3395,8 @@ var _hoisted_1$8 = { style: {
3392
3395
  }
3393
3396
  let a = C.size.width, o, s = "12PX", c = "16PX";
3394
3397
  if (isMacOS) o = 14, s = "10PX", c = "14PX";
3395
- else if (isIPad) o = 17, s = "14PX", c = "20PX";
3396
- else if (isIOS) o = 17, s = "12PX", c = "16PX";
3398
+ else if (isIPad) o = 15, s = "14PX", c = "20PX";
3399
+ else if (isIOS) o = 15, s = "12PX", c = "16PX";
3397
3400
  else {
3398
3401
  let e = u.value == "row" ? 15 : 16;
3399
3402
  o = a >= 1024 ? e + 3 : a >= 600 ? e + 2 : e, s = a >= 1024 ? "14PX" : a >= 600 ? "13PX" : "12PX", c = a >= 1024 ? "20PX" : a >= 600 ? "18PX" : "16PX";
@@ -3409,7 +3412,7 @@ var _hoisted_1$8 = { style: {
3409
3412
  }),
3410
3413
  textStyle: TextStyle({
3411
3414
  fontSize: o + "PX",
3412
- height: `${1.4 * o}PX`,
3415
+ height: `${1.35 * o}PX`,
3413
3416
  color: i,
3414
3417
  fontWeight: l
3415
3418
  }),
@@ -3457,8 +3460,26 @@ var _hoisted_1$8 = { style: {
3457
3460
  }
3458
3461
  });
3459
3462
  let O = useZIndex(), k = computed(() => {
3460
- let e = C.size.width, r = "40px 20px";
3461
- return isIOS ? r = "40px 20px" : isIPad ? r = "80px 32px" : isMacOS ? r = "64px 32px" : e >= 600 && e < 1024 ? r = "64px 24px" : e >= 1024 && (r = "80px 32px"), {
3463
+ let e = C.size.width, r = {};
3464
+ return r = paddingToStyle(isIOS ? {
3465
+ vertical: 40,
3466
+ horizontal: 20
3467
+ } : isIPad ? {
3468
+ vertical: 80,
3469
+ horizontal: 32
3470
+ } : isMacOS ? {
3471
+ vertical: 64,
3472
+ horizontal: 32
3473
+ } : e >= 600 && e < 1024 ? {
3474
+ vertical: 64,
3475
+ horizontal: 24
3476
+ } : e >= 1024 ? {
3477
+ vertical: 80,
3478
+ horizontal: 32
3479
+ } : {
3480
+ vertical: 40,
3481
+ horizontal: 20
3482
+ }), {
3462
3483
  position: "fixed",
3463
3484
  inset: 0,
3464
3485
  zIndex: O,
@@ -3469,16 +3490,16 @@ var _hoisted_1$8 = { style: {
3469
3490
  justifyContent: "center",
3470
3491
  background: "rgba(0, 0, 0, 0.25)",
3471
3492
  backdropFilter: "blur(3px)",
3472
- padding: r,
3493
+ ...r,
3473
3494
  width: "100%",
3474
3495
  height: "100%"
3475
3496
  };
3476
3497
  }), A = computed(() => {
3477
3498
  let e = C.size.width, r = "400px", i = "32px";
3478
- return isIOS ? (r = "400px", i = "32px") : isIPad ? (r = "560px", i = "36px") : isMacOS ? (r = "520px", i = "24px") : e >= 600 && e < 1024 ? (r = "560px", i = "32px") : e >= 1024 && (r = "640px", i = "28px"), {
3499
+ return isIOS ? (r = "400px", i = "32px") : isIPad ? (r = "560px", i = "36px") : isMacOS ? (r = "520px", i = "24px") : e >= 600 && e < 1024 ? (r = "560px", i = "32px") : e >= 1024 ? (r = "640px", i = "28px") : (r = "400px", i = "32px"), {
3479
3500
  position: "relative",
3480
- maxWidth: r,
3481
- borderRadius: i,
3501
+ maxWidth: px2vw$1(r),
3502
+ borderRadius: px2vw$1(i),
3482
3503
  overflow: "hidden",
3483
3504
  width: "100%",
3484
3505
  animation: "liquid-glass-dialog-enter 0.35s cubic-bezier(0.32, 0.72, 0, 1)"
@@ -3543,7 +3564,7 @@ var _hoisted_1$8 = { style: {
3543
3564
  key: 0,
3544
3565
  style: normalizeStyle(A.value),
3545
3566
  onClick: s[0] ||= withModifiers(() => {}, ["stop"])
3546
- }, [createElementVNode("div", _hoisted_1$8, [createVNode(Container_default, { padding: unref(S) }, {
3567
+ }, [createElementVNode("div", _hoisted_1$9, [createVNode(Container_default, { padding: unref(S) }, {
3547
3568
  default: withCtx(() => [e.title ? (openBlock(), createBlock(Text_default, {
3548
3569
  key: 0,
3549
3570
  style: normalizeStyle(w.value),
@@ -3775,7 +3796,7 @@ var ToastComponent_default = /* @__PURE__ */ defineComponent({
3775
3796
  return {
3776
3797
  ...b,
3777
3798
  ...C[r],
3778
- zIndex: e.options.zIndex || 2e3,
3799
+ zIndex: e.options.zIndex || useZIndex() * 10,
3779
3800
  backgroundColor: e.options.backgroundColor || "rgba(0, 0, 0, 0.8)",
3780
3801
  color: e.options.textColor || "#ffffff"
3781
3802
  };
@@ -4432,7 +4453,7 @@ var Transform_default = /* @__PURE__ */ defineComponent({
4432
4453
  }
4433
4454
  });
4434
4455
  const CheckboxGroupKey = Symbol("CheckboxGroup");
4435
- var _hoisted_1$7 = ["fill"], Checkbox_default = /* @__PURE__ */ defineComponent({
4456
+ var _hoisted_1$8 = ["fill"], Checkbox_default = /* @__PURE__ */ defineComponent({
4436
4457
  __name: "Checkbox",
4437
4458
  props: {
4438
4459
  value: {},
@@ -4485,7 +4506,7 @@ var _hoisted_1$7 = ["fill"], Checkbox_default = /* @__PURE__ */ defineComponent(
4485
4506
  height: 14,
4486
4507
  fill: unref(resolveColor)(e.checkColor),
4487
4508
  style: { display: "block" }
4488
- }, [...i[0] ||= [createElementVNode("path", { d: "M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z" }, null, -1)]], 8, _hoisted_1$7)) : createCommentVNode("", !0)]),
4509
+ }, [...i[0] ||= [createElementVNode("path", { d: "M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z" }, null, -1)]], 8, _hoisted_1$8)) : createCommentVNode("", !0)]),
4489
4510
  _: 1
4490
4511
  }, 8, ["decoration"])),
4491
4512
  e.labelPosition === "right" ? renderSlot(r.$slots, "default", { key: 2 }) : createCommentVNode("", !0)
@@ -4495,7 +4516,7 @@ var _hoisted_1$7 = ["fill"], Checkbox_default = /* @__PURE__ */ defineComponent(
4495
4516
  _: 3
4496
4517
  }));
4497
4518
  }
4498
- }), _hoisted_1$6 = { class: "flue-checkbox-group" }, CheckboxGroup_default = /* @__PURE__ */ defineComponent({
4519
+ }), _hoisted_1$7 = { class: "flue-checkbox-group" }, CheckboxGroup_default = /* @__PURE__ */ defineComponent({
4499
4520
  __name: "CheckboxGroup",
4500
4521
  props: {
4501
4522
  value: { default: () => [] },
@@ -4514,7 +4535,7 @@ var _hoisted_1$7 = ["fill"], Checkbox_default = /* @__PURE__ */ defineComponent(
4514
4535
  value: s,
4515
4536
  disabled: c,
4516
4537
  updateValue: o
4517
- }), (e, r) => (openBlock(), createElementBlock("div", _hoisted_1$6, [renderSlot(e.$slots, "default")]));
4538
+ }), (e, r) => (openBlock(), createElementBlock("div", _hoisted_1$7, [renderSlot(e.$slots, "default")]));
4518
4539
  }
4519
4540
  });
4520
4541
  const RadioGroupKey = Symbol("RadioGroup");
@@ -4579,7 +4600,7 @@ var Radio_default = /* @__PURE__ */ defineComponent({
4579
4600
  _: 3
4580
4601
  }));
4581
4602
  }
4582
- }), _hoisted_1$5 = { class: "flue-radio-group" }, RadioGroup_default = /* @__PURE__ */ defineComponent({
4603
+ }), _hoisted_1$6 = { class: "flue-radio-group" }, RadioGroup_default = /* @__PURE__ */ defineComponent({
4583
4604
  __name: "RadioGroup",
4584
4605
  props: {
4585
4606
  value: {},
@@ -4599,7 +4620,7 @@ var Radio_default = /* @__PURE__ */ defineComponent({
4599
4620
  updateValue: o,
4600
4621
  activeColor: c,
4601
4622
  disabled: l
4602
- }), (e, r) => (openBlock(), createElementBlock("div", _hoisted_1$5, [renderSlot(e.$slots, "default")]));
4623
+ }), (e, r) => (openBlock(), createElementBlock("div", _hoisted_1$6, [renderSlot(e.$slots, "default")]));
4603
4624
  }
4604
4625
  }), RadioListTile_default = /* @__PURE__ */ defineComponent({
4605
4626
  __name: "RadioListTile",
@@ -5490,7 +5511,7 @@ var BottomSheet_default = /* @__PURE__ */ defineComponent({
5490
5511
  _: 3
5491
5512
  }, 8, ["color"]));
5492
5513
  }
5493
- }), _hoisted_1$4 = { key: 0 }, _hoisted_2$3 = { key: 0 }, CupertinoNavigationBar_default = /* @__PURE__ */ defineComponent({
5514
+ }), _hoisted_1$5 = { key: 0 }, _hoisted_2$3 = { key: 0 }, CupertinoNavigationBar_default = /* @__PURE__ */ defineComponent({
5494
5515
  __name: "CupertinoNavigationBar",
5495
5516
  props: {
5496
5517
  middle: {},
@@ -5540,7 +5561,7 @@ var BottomSheet_default = /* @__PURE__ */ defineComponent({
5540
5561
  "cross-axis-alignment": "center",
5541
5562
  expanded: ""
5542
5563
  }, {
5543
- default: withCtx(() => [r.$slots.leading ? (openBlock(), createElementBlock("div", _hoisted_1$4, [renderSlot(r.$slots, "leading")])) : createCommentVNode("", !0)]),
5564
+ default: withCtx(() => [r.$slots.leading ? (openBlock(), createElementBlock("div", _hoisted_1$5, [renderSlot(r.$slots, "leading")])) : createCommentVNode("", !0)]),
5544
5565
  _: 3
5545
5566
  })]),
5546
5567
  _: 3
@@ -5993,7 +6014,7 @@ var BottomSheet_default = /* @__PURE__ */ defineComponent({
5993
6014
  "padding"
5994
6015
  ]));
5995
6016
  }
5996
- }), _hoisted_1$3 = { style: { display: "inline-block" } }, _hoisted_2$2 = [
6017
+ }), _hoisted_1$4 = { style: { display: "inline-block" } }, _hoisted_2$2 = [
5997
6018
  "onClick",
5998
6019
  "onTouchstart",
5999
6020
  "onMousedown"
@@ -6098,7 +6119,7 @@ var BottomSheet_default = /* @__PURE__ */ defineComponent({
6098
6119
  });
6099
6120
  Promise.all([o.finished, s?.finished]).then(() => r());
6100
6121
  };
6101
- return (a, A) => (openBlock(), createElementBlock("div", _hoisted_1$3, [createVNode(GestureDetector_default, { onLongPress: u }, {
6122
+ return (a, A) => (openBlock(), createElementBlock("div", _hoisted_1$4, [createVNode(GestureDetector_default, { onLongPress: u }, {
6102
6123
  default: withCtx(() => [renderSlot(a.$slots, "default")]),
6103
6124
  _: 3
6104
6125
  }), (openBlock(), createBlock(Teleport, { to: "body" }, [createVNode(Transition, {
@@ -6287,7 +6308,7 @@ var ImageColorBackground_default = /* @__PURE__ */ defineComponent({
6287
6308
  ref: i
6288
6309
  }, null, 4)], 4));
6289
6310
  }
6290
- }), _hoisted_1$2 = ["stroke", "stroke-width"], _hoisted_2$1 = [
6311
+ }), _hoisted_1$3 = ["stroke", "stroke-width"], _hoisted_2$1 = [
6291
6312
  "stroke",
6292
6313
  "stroke-width",
6293
6314
  "stroke-dasharray",
@@ -6365,7 +6386,7 @@ var ImageColorBackground_default = /* @__PURE__ */ defineComponent({
6365
6386
  fill: "none",
6366
6387
  stroke: unref(resolveColor)(e.backgroundColor) || "transparent",
6367
6388
  "stroke-width": e.strokeWidth
6368
- }, null, 8, _hoisted_1$2), createElementVNode("circle", {
6389
+ }, null, 8, _hoisted_1$3), createElementVNode("circle", {
6369
6390
  cx: "20",
6370
6391
  cy: "20",
6371
6392
  r: radius,
@@ -7302,7 +7323,7 @@ var CircleAvatar_default = /* @__PURE__ */ defineComponent({
7302
7323
  style: u
7303
7324
  }, [(openBlock(), createBlock(resolveDynamicComponent(e)))]))), 128))], 4)]));
7304
7325
  }
7305
- }), _hoisted_1$1 = ["onClick", "onMousemove"], RatingBar_default = /* @__PURE__ */ defineComponent({
7326
+ }), _hoisted_1$2 = ["onClick", "onMousemove"], RatingBar_default = /* @__PURE__ */ defineComponent({
7306
7327
  __name: "RatingBar",
7307
7328
  props: {
7308
7329
  modelValue: {},
@@ -7360,9 +7381,9 @@ var CircleAvatar_default = /* @__PURE__ */ defineComponent({
7360
7381
  "icon",
7361
7382
  "size",
7362
7383
  "color"
7363
- ])], 40, _hoisted_1$1))), 128))], 36));
7384
+ ])], 40, _hoisted_1$2))), 128))], 36));
7364
7385
  }
7365
- }), _hoisted_1 = { key: 0 }, _hoisted_2 = ["onClick"], Table_default = /* @__PURE__ */ defineComponent({
7386
+ }), _hoisted_1$1 = { key: 0 }, _hoisted_2 = ["onClick"], Table_default = /* @__PURE__ */ defineComponent({
7366
7387
  inheritAttrs: !1,
7367
7388
  __name: "Table",
7368
7389
  props: {
@@ -7420,7 +7441,7 @@ var CircleAvatar_default = /* @__PURE__ */ defineComponent({
7420
7441
  borderCollapse: "collapse",
7421
7442
  borderSpacing: 0,
7422
7443
  tableLayout: e.fixed ? "fixed" : "auto"
7423
- }) }, [e.showHeader ? (openBlock(), createElementBlock("thead", _hoisted_1, [createElementVNode("tr", { style: normalizeStyle(e.headerRowStyle) }, [(openBlock(!0), createElementBlock(Fragment, null, renderList(e.columns, (r) => (openBlock(), createElementBlock("th", {
7444
+ }) }, [e.showHeader ? (openBlock(), createElementBlock("thead", _hoisted_1$1, [createElementVNode("tr", { style: normalizeStyle(e.headerRowStyle) }, [(openBlock(!0), createElementBlock(Fragment, null, renderList(e.columns, (r) => (openBlock(), createElementBlock("th", {
7424
7445
  key: r.key,
7425
7446
  style: normalizeStyle({
7426
7447
  textAlign: r.align || "left",
@@ -7472,6 +7493,192 @@ var CircleAvatar_default = /* @__PURE__ */ defineComponent({
7472
7493
  "clip-behavior"
7473
7494
  ]));
7474
7495
  }
7496
+ }), _hoisted_1 = [
7497
+ "name",
7498
+ "accept",
7499
+ "multiple",
7500
+ "disabled"
7501
+ ], Upload_default = /* @__PURE__ */ defineComponent({
7502
+ inheritAttrs: !1,
7503
+ __name: "Upload",
7504
+ props: /* @__PURE__ */ mergeModels({
7505
+ accept: {},
7506
+ multiple: {
7507
+ type: Boolean,
7508
+ default: !1
7509
+ },
7510
+ disabled: {
7511
+ type: Boolean,
7512
+ default: !1
7513
+ },
7514
+ name: { default: "file" },
7515
+ maxCount: {},
7516
+ showFileList: {
7517
+ type: Boolean,
7518
+ default: !0
7519
+ },
7520
+ request: {},
7521
+ validate: {}
7522
+ }, {
7523
+ fileList: { default: () => [] },
7524
+ fileListModifiers: {}
7525
+ }),
7526
+ emits: /* @__PURE__ */ mergeModels([
7527
+ "change",
7528
+ "remove",
7529
+ "exceed",
7530
+ "error",
7531
+ "progress",
7532
+ "success"
7533
+ ], ["update:fileList"]),
7534
+ setup(e, { emit: i }) {
7535
+ let a = e, o = useModel(e, "fileList"), s = i, c = ref(), u = useStyles(), g = () => {
7536
+ a.disabled || c.value?.click();
7537
+ }, y = () => Date.now().toString(36) + Math.random().toString(36).slice(2), b = async (e) => {
7538
+ let r = e.target, i = r.files;
7539
+ if (!i) return;
7540
+ let c = Array.from(i);
7541
+ if (a.maxCount && o.value.length + c.length > a.maxCount) {
7542
+ s("exceed"), r.value = "";
7543
+ return;
7544
+ }
7545
+ if (a.validate) {
7546
+ let e = [];
7547
+ for (let r of c) await a.validate(r) && e.push(r);
7548
+ c = e;
7549
+ }
7550
+ let l = c.map((e) => ({
7551
+ uid: y(),
7552
+ name: e.name,
7553
+ size: e.size,
7554
+ type: e.type,
7555
+ lastModified: e.lastModified,
7556
+ raw: e,
7557
+ status: "ready",
7558
+ progress: 0
7559
+ }));
7560
+ a.multiple ? o.value = [...o.value, ...l] : o.value = l, s("change", o.value), a.request && l.forEach((e) => S(e)), r.value = "";
7561
+ }, x = (e) => {
7562
+ let r = o.value.indexOf(e);
7563
+ r !== -1 && (o.value.splice(r, 1), s("remove", e), s("change", o.value));
7564
+ }, S = async (e) => {
7565
+ if (a.request) {
7566
+ e.status = "uploading";
7567
+ try {
7568
+ let r = await a.request(e);
7569
+ e.status = "success", e.progress = 100, e.response = r, s("success", r, e);
7570
+ } catch (r) {
7571
+ e.status = "fail", e.error = r, s("error", r, e);
7572
+ }
7573
+ }
7574
+ }, C = computed(() => {
7575
+ let e = {
7576
+ display: "inline-block",
7577
+ width: "100%"
7578
+ };
7579
+ return Object.assign(e, u.value), e;
7580
+ }), w = computed(() => ({
7581
+ display: "inline-block",
7582
+ cursor: a.disabled ? "not-allowed" : "pointer"
7583
+ })), T = computed(() => ({
7584
+ padding: "4px 8px",
7585
+ backgroundColor: "#f5f5f5",
7586
+ borderRadius: "4px"
7587
+ })), E = computed(() => TextStyle({
7588
+ fontSize: 14,
7589
+ color: "#333"
7590
+ }));
7591
+ return (i, a) => (openBlock(), createElementBlock("div", { style: normalizeStyle(C.value) }, [
7592
+ createElementVNode("div", {
7593
+ onClick: g,
7594
+ style: normalizeStyle(w.value)
7595
+ }, [renderSlot(i.$slots, "default")], 4),
7596
+ createElementVNode("input", {
7597
+ ref_key: "inputRef",
7598
+ ref: c,
7599
+ type: "file",
7600
+ name: e.name,
7601
+ accept: e.accept,
7602
+ multiple: e.multiple,
7603
+ disabled: e.disabled,
7604
+ style: { display: "none" },
7605
+ onChange: b
7606
+ }, null, 40, _hoisted_1),
7607
+ renderSlot(i.$slots, "tip"),
7608
+ e.showFileList ? (openBlock(), createBlock(Column_default, {
7609
+ key: 0,
7610
+ gap: 8,
7611
+ style: { marginTop: "8px" }
7612
+ }, {
7613
+ default: withCtx(() => [(openBlock(!0), createElementBlock(Fragment, null, renderList(o.value, (e) => (openBlock(), createBlock(Row_default, {
7614
+ key: e.uid,
7615
+ "main-axis-alignment": "space-between",
7616
+ "cross-axis-alignment": "center",
7617
+ style: normalizeStyle(T.value)
7618
+ }, {
7619
+ default: withCtx(() => [createVNode(Row_default, {
7620
+ gap: 8,
7621
+ "cross-axis-alignment": "center",
7622
+ style: {
7623
+ flex: 1,
7624
+ overflow: "hidden"
7625
+ }
7626
+ }, {
7627
+ default: withCtx(() => [createVNode(Icon_default, {
7628
+ icon: unref(Icons).document,
7629
+ size: "16",
7630
+ color: "#999"
7631
+ }, null, 8, ["icon"]), createVNode(Text_default, {
7632
+ style: normalizeStyle(E.value),
7633
+ "max-lines": 1,
7634
+ overflow: unref(TextOverflow).ellipsis
7635
+ }, {
7636
+ default: withCtx(() => [createTextVNode(toDisplayString(e.name), 1)]),
7637
+ _: 2
7638
+ }, 1032, ["style", "overflow"])]),
7639
+ _: 2
7640
+ }, 1024), createVNode(Row_default, {
7641
+ gap: 8,
7642
+ "cross-axis-alignment": "center"
7643
+ }, {
7644
+ default: withCtx(() => [
7645
+ e.status === "uploading" ? (openBlock(), createBlock(Text_default, {
7646
+ key: 0,
7647
+ color: "#999",
7648
+ size: "12"
7649
+ }, {
7650
+ default: withCtx(() => [createTextVNode(toDisplayString(e.progress ? Math.round(e.progress) + "%" : "..."), 1)]),
7651
+ _: 2
7652
+ }, 1024)) : createCommentVNode("", !0),
7653
+ e.status === "success" ? (openBlock(), createBlock(Icon_default, {
7654
+ key: 1,
7655
+ icon: unref(Icons).checkCircle,
7656
+ size: "16",
7657
+ color: "#52c41a"
7658
+ }, null, 8, ["icon"])) : createCommentVNode("", !0),
7659
+ e.status === "fail" ? (openBlock(), createBlock(Icon_default, {
7660
+ key: 2,
7661
+ icon: unref(Icons).warning,
7662
+ size: "16",
7663
+ color: "#ff4d4f"
7664
+ }, null, 8, ["icon"])) : createCommentVNode("", !0),
7665
+ createVNode(GestureDetector_default, { onTap: () => x(e) }, {
7666
+ default: withCtx(() => [createVNode(Icon_default, {
7667
+ icon: unref(Icons).close,
7668
+ size: "16",
7669
+ color: "#999"
7670
+ }, null, 8, ["icon"])]),
7671
+ _: 1
7672
+ }, 8, ["onTap"])
7673
+ ]),
7674
+ _: 2
7675
+ }, 1024)]),
7676
+ _: 2
7677
+ }, 1032, ["style"]))), 128))]),
7678
+ _: 1
7679
+ })) : createCommentVNode("", !0)
7680
+ ], 4));
7681
+ }
7475
7682
  });
7476
7683
  const FlueConfigInjectionKey = Symbol("FlueConfig"), provideFlueConfig = (e) => provide(FlueConfigInjectionKey, e);
7477
7684
  var FlueConfigProvider_default = /* @__PURE__ */ defineComponent({
@@ -7961,4 +8168,4 @@ function setDefaultVW(e) {
7961
8168
  function setTransform(e) {
7962
8169
  console.warn("setTransform is no longer supported. Please use <FlueConfigProvider :transform='transform'/> instead.");
7963
8170
  }
7964
- export { ActionChip_default as ActionChip, AlertDialog_default as AlertDialog, Align_default as Align, Alignment, AnimatedContainer_default as AnimatedContainer, AnimatedOpacity_default as AnimatedOpacity, Animation_default as AnimationWidget, Animator, AppBar_default as AppBar, AspectRatio_default as AspectRatio, AssetImage, BackdropFilter_default as BackdropFilter, BlurStyle, Border, BorderRadius, BorderSide, BottomNavigationBar_default as BottomNavigationBar, BottomSheet_default as BottomSheet, Box_default as Box, BoxAlignment, BoxConstraints, BoxDecoration, BoxFit, BoxShadow, BoxShape, Builder_default as Builder, Button_default as Button, ButtonStyle, ButtonStylePreset, Card_default as Card, Center_default as Center, Checkbox_default as Checkbox, CheckboxGroup_default as CheckboxGroup, Chip_default as Chip, ChoiceChip_default as ChoiceChip, CircleAvatar_default as CircleAvatar, CircularProgressIndicator_default as CircularProgressIndicator, Clip, ClipOval_default as ClipOval, ClipRRect_default as ClipRRect, Color, ColorUtils, Colors, Column_default as Column, ConstrainedBox_default as ConstrainedBox, Container_default as Container, CrossAxisAlignment, CupertinoActivityIndicator_default as CupertinoActivityIndicator, CupertinoColors, CupertinoContextMenu_default as CupertinoContextMenu, CupertinoNavigationBar_default as CupertinoNavigationBar, CupertinoPageScaffold_default as CupertinoPageScaffold, DecorationImage, Divider_default as Divider, Drawer_default as Drawer, EdgeInsets, ElevatedButton_default as ElevatedButton, Expanded_default as Expanded, Fixed_default as Fixed, FlexBox_default as FlexBox, FlexItem_default as FlexItem, FloatingLabelBehavior, FlueConfigProvider_default as FlueConfigProvider, FontStyle, FontWeight, GestureDetector_default as GestureDetector, GridView_default as GridView, Icon_default as Icon, IconButton_default as IconButton, Icons, IgnorePointer_default as IgnorePointer, Image_default as Image, ImageColorBackground_default as ImageColorBackground, ImageFilter, ImageProvider, ImageUtils, InkWell_default as InkWell, InputDecoration, LayoutBuilder_default as LayoutBuilder, LinearGradient, LinearProgressIndicator_default as LinearProgressIndicator, LiquidGlassDialog_default as LiquidGlassDialog, ListTile_default as ListTile, ListView_default as ListView, MainAxisAlignment, Matrix4, MediaQuery_default as MediaQuery, MediaQueryKey, MemoryImage, Modal_default as Modal, NetworkImage, Opacity_default as Opacity, Orientation, OutlineInputBorder, OutlinedButton_default as OutlinedButton, Overlay_default as Overlay, Padding_default as Padding, PopupMenuButton_default as PopupMenuButton, Positioned_default as Positioned, RadialGradient, Radio_default as Radio, RadioGroup_default as RadioGroup, RadioListTile_default as RadioListTile, RangeSlider_default as RangeSlider, RatingBar_default as RatingBar, RefreshIndicator_default as RefreshIndicator, Row_default as Row, SafeArea_default as SafeArea, Scaffold_default as Scaffold, ScrollView_default as ScrollView, SegmentedControl_default as SegmentedControl, Size, SizedBox_default as SizedBox, Slider_default as Slider, SlidingSegmentedControl_default as SlidingSegmentedControl, SnackBar, Spacer_default as Spacer, Stack_default as Stack, StackFit, Sticky_default as Sticky, StyleProvider, Switch_default as Switch, TabBar_default as TabBar, TabBarView_default as TabBarView, Table_default as Table, Text_default as Text, TextAlign, TextArea_default as TextArea, TextBaseline, TextButton_default as TextButton, TextButtonWithIcon_default as TextButtonWithIcon, TextDecoration, TextDecorationStyle, TextDirection, TextField_default as TextField, TextOverflow, TextStyle, TextStylePreset, TileMode, Toast, Toast as toast, Transform_default as Transform, UnderlineInputBorder, Wrap_default as Wrap, animationToStyle, borderRadiusToStyle, borderSideToStyle, borderToStyle, boxConstraintsToStyle, boxDecorationToStyle, boxShadowToCSS, buttonStyleToStyle, computeLuminance, createAssetImageProvider, createNetworkImageProvider, darken, decorationImageToStyle, defineKeyframes, edgeInsetsToStyle, extractDominantColor, hideToast, isBorderRadius, isBorderSide, isBorders, isBoxConstraints, isBoxDecoration, isBoxShadow, isEdgeInsets, isImageFilter, isImageProvider, isTextStyle, keep, lighten, marginToStyle, matrix4ToCSSStyle, normalizeSrc, paddingToStyle, px2vw, registerKeyframes, resolveColor, setAssetBaseURL, setDefaultVW, setTransform, showAlertDialog, showLiquidGlassDialog, showToast, sizeToStyle, toCSSStyle as textStyleToCSSStyle, toCSSStyle, useMediaQuery, withAlpha, withBlue, withGreen, withOpacity, withRed };
8171
+ export { ActionChip_default as ActionChip, AlertDialog_default as AlertDialog, Align_default as Align, Alignment, AnimatedContainer_default as AnimatedContainer, AnimatedOpacity_default as AnimatedOpacity, Animation_default as AnimationWidget, Animator, AppBar_default as AppBar, AspectRatio_default as AspectRatio, AssetImage, BackdropFilter_default as BackdropFilter, BlurStyle, Border, BorderRadius, BorderSide, BottomNavigationBar_default as BottomNavigationBar, BottomSheet_default as BottomSheet, Box_default as Box, BoxAlignment, BoxConstraints, BoxDecoration, BoxFit, BoxShadow, BoxShape, Builder_default as Builder, Button_default as Button, ButtonStyle, ButtonStylePreset, Card_default as Card, Center_default as Center, Checkbox_default as Checkbox, CheckboxGroup_default as CheckboxGroup, Chip_default as Chip, ChoiceChip_default as ChoiceChip, CircleAvatar_default as CircleAvatar, CircularProgressIndicator_default as CircularProgressIndicator, Clip, ClipOval_default as ClipOval, ClipRRect_default as ClipRRect, Color, ColorUtils, Colors, Column_default as Column, ConstrainedBox_default as ConstrainedBox, Container_default as Container, CrossAxisAlignment, CupertinoActivityIndicator_default as CupertinoActivityIndicator, CupertinoColors, CupertinoContextMenu_default as CupertinoContextMenu, CupertinoNavigationBar_default as CupertinoNavigationBar, CupertinoPageScaffold_default as CupertinoPageScaffold, DecorationImage, Divider_default as Divider, Drawer_default as Drawer, EdgeInsets, ElevatedButton_default as ElevatedButton, Expanded_default as Expanded, Fixed_default as Fixed, FlexBox_default as FlexBox, FlexItem_default as FlexItem, FloatingLabelBehavior, FlueConfigProvider_default as FlueConfigProvider, FontStyle, FontWeight, GestureDetector_default as GestureDetector, GridView_default as GridView, Icon_default as Icon, IconButton_default as IconButton, Icons, IgnorePointer_default as IgnorePointer, Image_default as Image, ImageColorBackground_default as ImageColorBackground, ImageFilter, ImageProvider, ImageUtils, InkWell_default as InkWell, InputDecoration, LayoutBuilder_default as LayoutBuilder, LinearGradient, LinearProgressIndicator_default as LinearProgressIndicator, LiquidGlassDialog_default as LiquidGlassDialog, ListTile_default as ListTile, ListView_default as ListView, MainAxisAlignment, Matrix4, MediaQuery_default as MediaQuery, MediaQueryKey, MemoryImage, Modal_default as Modal, NetworkImage, Opacity_default as Opacity, Orientation, OutlineInputBorder, OutlinedButton_default as OutlinedButton, Overlay_default as Overlay, Padding_default as Padding, PopupMenuButton_default as PopupMenuButton, Positioned_default as Positioned, RadialGradient, Radio_default as Radio, RadioGroup_default as RadioGroup, RadioListTile_default as RadioListTile, RangeSlider_default as RangeSlider, RatingBar_default as RatingBar, RefreshIndicator_default as RefreshIndicator, Row_default as Row, SafeArea_default as SafeArea, Scaffold_default as Scaffold, ScrollView_default as ScrollView, SegmentedControl_default as SegmentedControl, Size, SizedBox_default as SizedBox, Slider_default as Slider, SlidingSegmentedControl_default as SlidingSegmentedControl, SnackBar, Spacer_default as Spacer, Stack_default as Stack, StackFit, Sticky_default as Sticky, StyleProvider, Switch_default as Switch, TabBar_default as TabBar, TabBarView_default as TabBarView, Table_default as Table, Text_default as Text, TextAlign, TextArea_default as TextArea, TextBaseline, TextButton_default as TextButton, TextButtonWithIcon_default as TextButtonWithIcon, TextDecoration, TextDecorationStyle, TextDirection, TextField_default as TextField, TextOverflow, TextStyle, TextStylePreset, TileMode, Toast, Toast as toast, Transform_default as Transform, UnderlineInputBorder, Upload_default as Upload, Wrap_default as Wrap, animationToStyle, borderRadiusToStyle, borderSideToStyle, borderToStyle, boxConstraintsToStyle, boxDecorationToStyle, boxShadowToCSS, buttonStyleToStyle, computeLuminance, createAssetImageProvider, createNetworkImageProvider, darken, decorationImageToStyle, defineKeyframes, edgeInsetsToStyle, extractDominantColor, hideToast, isBorderRadius, isBorderSide, isBorders, isBoxConstraints, isBoxDecoration, isBoxShadow, isEdgeInsets, isImageFilter, isImageProvider, isTextStyle, keep, lighten, marginToStyle, matrix4ToCSSStyle, normalizeSrc, paddingToStyle, px2vw, registerKeyframes, resolveColor, setAssetBaseURL, setDefaultVW, setTransform, showAlertDialog, showLiquidGlassDialog, showToast, sizeToStyle, toCSSStyle as textStyleToCSSStyle, toCSSStyle, useMediaQuery, withAlpha, withBlue, withGreen, withOpacity, withRed };
@@ -1,7 +1,7 @@
1
1
  import { CSSProperties } from 'vue';
2
2
  import { SizeType } from './Size';
3
3
  export declare function useZIndex(): number;
4
- export interface Props {
4
+ export interface PositionProps {
5
5
  /** 距离顶部的距离 */
6
6
  top?: number | string;
7
7
  /** 距离底部的距离 */
@@ -20,4 +20,4 @@ export interface Props {
20
20
  inset?: number | string;
21
21
  size?: SizeType;
22
22
  }
23
- export declare function usePositionStyle(props: Props, position?: "absolute" | "fixed" | "sticky" | "relative"): import('vue').ComputedRef<CSSProperties>;
23
+ export declare function usePositionStyle(props: PositionProps, position?: "absolute" | "fixed" | "sticky" | "relative"): import('vue').ComputedRef<CSSProperties>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fluekit",
3
- "version": "2.7.0",
3
+ "version": "2.7.2",
4
4
  "description": "A Flutter-style Layout UI kit for Vue",
5
5
  "homepage": "https://fi2zz.github.io/fluekit/",
6
6
  "repository": {