yuyeon 0.1.0-rc.20 → 0.1.0-rc.22

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.
Files changed (42) hide show
  1. package/dist/style.css +1 -1
  2. package/dist/yuyeon.js +2660 -2591
  3. package/dist/yuyeon.umd.cjs +11 -11
  4. package/lib/components/index.mjs +1 -0
  5. package/lib/components/index.mjs.map +1 -1
  6. package/lib/components/menu/YMenu.mjs +2 -1
  7. package/lib/components/menu/YMenu.mjs.map +1 -1
  8. package/lib/components/panel/YDividePanel.scss +1 -1
  9. package/lib/components/snackbar/YSnackbar.mjs +42 -37
  10. package/lib/components/snackbar/YSnackbar.mjs.map +1 -1
  11. package/lib/components/table/YDataTableRow.mjs +5 -2
  12. package/lib/components/table/YDataTableRow.mjs.map +1 -1
  13. package/lib/components/table/composibles/header.mjs +1 -1
  14. package/lib/components/table/composibles/header.mjs.map +1 -1
  15. package/lib/components/table/composibles/sorting.mjs.map +1 -1
  16. package/lib/components/text-interpolation/YTi.mjs +46 -0
  17. package/lib/components/text-interpolation/YTi.mjs.map +1 -0
  18. package/lib/components/text-interpolation/index.mjs +2 -0
  19. package/lib/components/text-interpolation/index.mjs.map +1 -0
  20. package/lib/components/tooltip/YTooltip.mjs +1 -0
  21. package/lib/components/tooltip/YTooltip.mjs.map +1 -1
  22. package/lib/util/parser.mjs +31 -0
  23. package/lib/util/parser.mjs.map +1 -0
  24. package/lib/util/string.mjs +30 -0
  25. package/lib/util/string.mjs.map +1 -1
  26. package/package.json +2 -1
  27. package/types/components/dropdown/YDropdown.d.ts +19 -7
  28. package/types/components/index.d.ts +1 -0
  29. package/types/components/layer/scroll-strategies.d.ts +2 -2
  30. package/types/components/menu/YMenu.d.ts +20 -11
  31. package/types/components/select/YSelect.d.ts +162 -111
  32. package/types/components/snackbar/YSnackbar.d.ts +483 -20
  33. package/types/components/table/YDataTable.d.ts +176 -14
  34. package/types/components/table/YDataTableServer.d.ts +176 -14
  35. package/types/components/table/composibles/header.d.ts +95 -5
  36. package/types/components/table/composibles/sorting.d.ts +22 -4
  37. package/types/components/text-interpolation/YTi.d.ts +20 -0
  38. package/types/components/text-interpolation/index.d.ts +1 -0
  39. package/types/components/tooltip/YTooltip.d.ts +14 -8
  40. package/types/shims.d.ts +2 -1
  41. package/types/util/parser.d.ts +4 -0
  42. package/types/util/string.d.ts +4 -0
@@ -0,0 +1,31 @@
1
+ export function simpleBraceParse(input) {
2
+ const pattern = /\{([^{}]+)\}/g;
3
+ const results = [];
4
+ let match;
5
+ let pointer = 0;
6
+ while ((match = pattern.exec(input)) !== null) {
7
+ const variable = match[1];
8
+ const start = match.index;
9
+ const end = pattern.lastIndex;
10
+ if (start > 0) {
11
+ const prevText = input.substring(pointer, start);
12
+ results.push({
13
+ type: 'text',
14
+ content: prevText
15
+ });
16
+ }
17
+ if (variable.trim()) {
18
+ results.push({
19
+ type: 'variable',
20
+ content: variable.trim()
21
+ });
22
+ }
23
+ pointer = end;
24
+ }
25
+ results.push({
26
+ type: 'text',
27
+ content: input.substring(pointer, input.length)
28
+ });
29
+ return results;
30
+ }
31
+ //# sourceMappingURL=parser.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parser.mjs","names":["simpleBraceParse","input","pattern","results","match","pointer","exec","variable","start","index","end","lastIndex","prevText","substring","push","type","content","trim","length"],"sources":["../../src/util/parser.ts"],"sourcesContent":["export function simpleBraceParse(input: string) {\r\n const pattern = /\\{([^{}]+)\\}/g;\r\n const results = [];\r\n let match;\r\n let pointer = 0;\r\n\r\n while ((match = pattern.exec(input)) !== null) {\r\n const variable = match[1];\r\n const start = match.index;\r\n const end = pattern.lastIndex;\r\n if (start > 0) {\r\n const prevText = input.substring(pointer, start);\r\n results.push({\r\n type: 'text',\r\n content: prevText,\r\n });\r\n }\r\n if (variable.trim()) {\r\n results.push({\r\n type: 'variable',\r\n content: variable.trim(),\r\n });\r\n }\r\n\r\n pointer = end;\r\n }\r\n\r\n results.push({\r\n type: 'text',\r\n content: input.substring(pointer, input.length),\r\n });\r\n\r\n return results;\r\n}\r\n"],"mappings":"AAAA,OAAO,SAASA,gBAAgBA,CAACC,KAAa,EAAE;EAC9C,MAAMC,OAAO,GAAG,eAAe;EAC/B,MAAMC,OAAO,GAAG,EAAE;EAClB,IAAIC,KAAK;EACT,IAAIC,OAAO,GAAG,CAAC;EAEf,OAAO,CAACD,KAAK,GAAGF,OAAO,CAACI,IAAI,CAACL,KAAK,CAAC,MAAM,IAAI,EAAE;IAC7C,MAAMM,QAAQ,GAAGH,KAAK,CAAC,CAAC,CAAC;IACzB,MAAMI,KAAK,GAAGJ,KAAK,CAACK,KAAK;IACzB,MAAMC,GAAG,GAAGR,OAAO,CAACS,SAAS;IAC7B,IAAIH,KAAK,GAAG,CAAC,EAAE;MACb,MAAMI,QAAQ,GAAGX,KAAK,CAACY,SAAS,CAACR,OAAO,EAAEG,KAAK,CAAC;MAChDL,OAAO,CAACW,IAAI,CAAC;QACXC,IAAI,EAAE,MAAM;QACZC,OAAO,EAAEJ;MACX,CAAC,CAAC;IACJ;IACA,IAAIL,QAAQ,CAACU,IAAI,CAAC,CAAC,EAAE;MACnBd,OAAO,CAACW,IAAI,CAAC;QACXC,IAAI,EAAE,UAAU;QAChBC,OAAO,EAAET,QAAQ,CAACU,IAAI,CAAC;MACzB,CAAC,CAAC;IACJ;IAEAZ,OAAO,GAAGK,GAAG;EACf;EAEAP,OAAO,CAACW,IAAI,CAAC;IACXC,IAAI,EAAE,MAAM;IACZC,OAAO,EAAEf,KAAK,CAACY,SAAS,CAACR,OAAO,EAAEJ,KAAK,CAACiB,MAAM;EAChD,CAAC,CAAC;EAEF,OAAOf,OAAO;AAChB"}
@@ -36,4 +36,34 @@ export function randomCharOne(str) {
36
36
  }
37
37
  return '';
38
38
  }
39
+ export function simpleBraceParse(input) {
40
+ const pattern = /\{([^{}]+)\}/g;
41
+ const results = [];
42
+ let match;
43
+ let pointer = 0;
44
+ while ((match = pattern.exec(input)) !== null) {
45
+ const variable = match[1];
46
+ const start = match.index;
47
+ const end = pattern.lastIndex;
48
+ if (start > 0) {
49
+ const prevText = input.substring(pointer, start);
50
+ results.push({
51
+ type: 'text',
52
+ content: prevText
53
+ });
54
+ }
55
+ if (variable.trim()) {
56
+ results.push({
57
+ type: 'variable',
58
+ content: variable.trim()
59
+ });
60
+ }
61
+ pointer = end;
62
+ }
63
+ results.push({
64
+ type: 'text',
65
+ content: input.substring(pointer, input.length)
66
+ });
67
+ return results;
68
+ }
39
69
  //# sourceMappingURL=string.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"string.mjs","names":["camelToPascal","str","charAt","toUpperCase","slice","toKebabCase","from","arguments","length","undefined","res","index","char","charCode","charCodeAt","toLowerCase","kebabToCamel","randomCharOne","Math","floor","random"],"sources":["../../src/util/string.ts"],"sourcesContent":["\n\nexport function camelToPascal(str: string) {\n return str.charAt(0).toUpperCase() + str.slice(1);\n}\n\nexport function toKebabCase(str: string, from: 'camel' | 'pascal' = 'camel') {\n let res = '';\n for (let index = 0; index < str.length; index += 1) {\n const char = str[index];\n const charCode = char.charCodeAt(0);\n if (charCode >= 65 && charCode <= 90) {\n res += `${\n index === 0 && from === 'camel' ? '' : '-'\n }${char.toLowerCase()}`;\n } else {\n res += char;\n }\n }\n return res;\n}\n\nexport function kebabToCamel(str: string) {\n let res = '';\n let index = 0;\n while (index < str.length) {\n const char = str[index];\n if (char === '-') {\n index += 1;\n res += str[index].toUpperCase();\n } else {\n res += char;\n }\n index += 1;\n }\n return res;\n}\n\nexport function randomCharOne(str: string) {\n if (str) {\n return str.charAt(Math.floor(Math.random() * str.length));\n }\n return '';\n}\n"],"mappings":"AAEA,OAAO,SAASA,aAAaA,CAACC,GAAW,EAAE;EACzC,OAAOA,GAAG,CAACC,MAAM,CAAC,CAAC,CAAC,CAACC,WAAW,CAAC,CAAC,GAAGF,GAAG,CAACG,KAAK,CAAC,CAAC,CAAC;AACnD;AAEA,OAAO,SAASC,WAAWA,C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,CAAC,CAAC,GAAGnB,GAAG,CAACO,MAAM,CAAC,CAAC;EAC3D;EACA,OAAO,EAAE;AACX"}
1
+ {"version":3,"file":"string.mjs","names":["camelToPascal","str","charAt","toUpperCase","slice","toKebabCase","from","arguments","length","undefined","res","index","char","charCode","charCodeAt","toLowerCase","kebabToCamel","randomCharOne","Math","floor","random","simpleBraceParse","input","pattern","results","match","pointer","exec","variable","start","end","lastIndex","prevText","substring","push","type","content","trim"],"sources":["../../src/util/string.ts"],"sourcesContent":["export function camelToPascal(str: string) {\n return str.charAt(0).toUpperCase() + str.slice(1);\n}\n\nexport function toKebabCase(str: string, from: 'camel' | 'pascal' = 'camel') {\n let res = '';\n for (let index = 0; index < str.length; index += 1) {\n const char = str[index];\n const charCode = char.charCodeAt(0);\n if (charCode >= 65 && charCode <= 90) {\n res += `${\n index === 0 && from === 'camel' ? '' : '-'\n }${char.toLowerCase()}`;\n } else {\n res += char;\n }\n }\n return res;\n}\n\nexport function kebabToCamel(str: string) {\n let res = '';\n let index = 0;\n while (index < str.length) {\n const char = str[index];\n if (char === '-') {\n index += 1;\n res += str[index].toUpperCase();\n } else {\n res += char;\n }\n index += 1;\n }\n return res;\n}\n\nexport function randomCharOne(str: string) {\n if (str) {\n return str.charAt(Math.floor(Math.random() * str.length));\n }\n return '';\n}\n\nexport function simpleBraceParse(input: string) {\n const pattern = /\\{([^{}]+)\\}/g;\n const results = [];\n let match;\n let pointer = 0;\n\n while ((match = pattern.exec(input)) !== null) {\n const variable = match[1];\n const start = match.index;\n const end = pattern.lastIndex;\n if (start > 0) {\n const prevText = input.substring(pointer, start);\n results.push({\n type: 'text',\n content: prevText,\n });\n }\n if (variable.trim()) {\n results.push({\n type: 'variable',\n content: variable.trim(),\n });\n }\n\n pointer = end;\n }\n\n results.push({\n type: 'text',\n content: input.substring(pointer, input.length),\n });\n\n return results;\n}\n"],"mappings":"AAAA,OAAO,SAASA,aAAaA,CAACC,GAAW,EAAE;EACzC,OAAOA,GAAG,CAACC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{
2
2
  "name": "yuyeon",
3
- "version": "0.1.0-rc.20",
3
+ "version": "0.1.0-rc.22",
4
4
  "keywords": [
5
5
  "UI Library",
6
6
  "Vue"
@@ -42,6 +42,7 @@
42
42
  "module": "./lib/util/index.mjs"
43
43
  },
44
44
  "./components/*": "./lib/components/*/index.mjs",
45
+ "./shims": "./types/shims.d.ts",
45
46
  "./types/*": "./types/*",
46
47
  "./*": "./*"
47
48
  },
@@ -271,17 +271,23 @@ export declare const pressYDropdownPropsOptions: <Defaults extends {
271
271
  type: PropType<unknown extends Defaults["closeClickContent"] ? boolean : boolean | Defaults["closeClickContent"]>;
272
272
  default: unknown extends Defaults["closeClickContent"] ? boolean : boolean | Defaults["closeClickContent"];
273
273
  };
274
- scrollStrategy: unknown extends Defaults["scrollStrategy"] ? {
274
+ scrollStrategy: unknown extends Defaults["scrollStrategy"] ? Omit<{
275
275
  type: PropType<"close" | "none" | "block" | ((data: import('../layer/scroll-strategies').ScrollStrategyData, props: import('../layer/scroll-strategies').StrategyProps, scope: import('vue').EffectScope) => void) | "reposition">;
276
276
  default: string;
277
277
  validator: (val: any) => boolean;
278
- } : Omit<{
278
+ }, "default" | "type"> & {
279
+ type: PropType<NonNullable<"close" | "none" | "block" | ((data: import('../layer/scroll-strategies').ScrollStrategyData, props: import('../layer/scroll-strategies').StrategyProps, scope: import('vue').EffectScope) => void) | "reposition">>;
280
+ default: NonNullable<"close" | "none" | "block" | ((data: import('../layer/scroll-strategies').ScrollStrategyData, props: import('../layer/scroll-strategies').StrategyProps, scope: import('vue').EffectScope) => void) | "reposition">;
281
+ } : Omit<Omit<{
279
282
  type: PropType<"close" | "none" | "block" | ((data: import('../layer/scroll-strategies').ScrollStrategyData, props: import('../layer/scroll-strategies').StrategyProps, scope: import('vue').EffectScope) => void) | "reposition">;
280
283
  default: string;
281
284
  validator: (val: any) => boolean;
282
285
  }, "default" | "type"> & {
283
- type: PropType<unknown extends Defaults["scrollStrategy"] ? "close" | "none" | "block" | ((data: import('../layer/scroll-strategies').ScrollStrategyData, props: import('../layer/scroll-strategies').StrategyProps, scope: import('vue').EffectScope) => void) | "reposition" : NonNullable<"close" | "none" | "block" | ((data: import('../layer/scroll-strategies').ScrollStrategyData, props: import('../layer/scroll-strategies').StrategyProps, scope: import('vue').EffectScope) => void) | "reposition"> | Defaults["scrollStrategy"]>;
284
- default: unknown extends Defaults["scrollStrategy"] ? "close" | "none" | "block" | ((data: import('../layer/scroll-strategies').ScrollStrategyData, props: import('../layer/scroll-strategies').StrategyProps, scope: import('vue').EffectScope) => void) | "reposition" : NonNullable<"close" | "none" | "block" | ((data: import('../layer/scroll-strategies').ScrollStrategyData, props: import('../layer/scroll-strategies').StrategyProps, scope: import('vue').EffectScope) => void) | "reposition"> | Defaults["scrollStrategy"];
286
+ type: PropType<NonNullable<"close" | "none" | "block" | ((data: import('../layer/scroll-strategies').ScrollStrategyData, props: import('../layer/scroll-strategies').StrategyProps, scope: import('vue').EffectScope) => void) | "reposition">>;
287
+ default: NonNullable<"close" | "none" | "block" | ((data: import('../layer/scroll-strategies').ScrollStrategyData, props: import('../layer/scroll-strategies').StrategyProps, scope: import('vue').EffectScope) => void) | "reposition">;
288
+ }, "default" | "type"> & {
289
+ type: PropType<unknown extends Defaults["scrollStrategy"] ? NonNullable<"close" | "none" | "block" | ((data: import('../layer/scroll-strategies').ScrollStrategyData, props: import('../layer/scroll-strategies').StrategyProps, scope: import('vue').EffectScope) => void) | "reposition"> : NonNullable<NonNullable<"close" | "none" | "block" | ((data: import('../layer/scroll-strategies').ScrollStrategyData, props: import('../layer/scroll-strategies').StrategyProps, scope: import('vue').EffectScope) => void) | "reposition">> | Defaults["scrollStrategy"]>;
290
+ default: unknown extends Defaults["scrollStrategy"] ? NonNullable<"close" | "none" | "block" | ((data: import('../layer/scroll-strategies').ScrollStrategyData, props: import('../layer/scroll-strategies').StrategyProps, scope: import('vue').EffectScope) => void) | "reposition"> : NonNullable<NonNullable<"close" | "none" | "block" | ((data: import('../layer/scroll-strategies').ScrollStrategyData, props: import('../layer/scroll-strategies').StrategyProps, scope: import('vue').EffectScope) => void) | "reposition">> | Defaults["scrollStrategy"];
285
291
  };
286
292
  scrim: unknown extends Defaults["scrim"] ? {
287
293
  type: PropType<boolean>;
@@ -472,10 +478,13 @@ export declare const YDropdown: import('vue').DefineComponent<{
472
478
  closeClickContent: {
473
479
  type: PropType<boolean>;
474
480
  };
475
- scrollStrategy: {
481
+ scrollStrategy: Omit<{
476
482
  type: PropType<"close" | "none" | "block" | ((data: import('../layer/scroll-strategies').ScrollStrategyData, props: import('../layer/scroll-strategies').StrategyProps, scope: import('vue').EffectScope) => void) | "reposition">;
477
483
  default: string;
478
484
  validator: (val: any) => boolean;
485
+ }, "default" | "type"> & {
486
+ type: PropType<NonNullable<"close" | "none" | "block" | ((data: import('../layer/scroll-strategies').ScrollStrategyData, props: import('../layer/scroll-strategies').StrategyProps, scope: import('vue').EffectScope) => void) | "reposition">>;
487
+ default: NonNullable<"close" | "none" | "block" | ((data: import('../layer/scroll-strategies').ScrollStrategyData, props: import('../layer/scroll-strategies').StrategyProps, scope: import('vue').EffectScope) => void) | "reposition">;
479
488
  };
480
489
  scrim: {
481
490
  type: PropType<boolean>;
@@ -599,10 +608,13 @@ export declare const YDropdown: import('vue').DefineComponent<{
599
608
  closeClickContent: {
600
609
  type: PropType<boolean>;
601
610
  };
602
- scrollStrategy: {
611
+ scrollStrategy: Omit<{
603
612
  type: PropType<"close" | "none" | "block" | ((data: import('../layer/scroll-strategies').ScrollStrategyData, props: import('../layer/scroll-strategies').StrategyProps, scope: import('vue').EffectScope) => void) | "reposition">;
604
613
  default: string;
605
614
  validator: (val: any) => boolean;
615
+ }, "default" | "type"> & {
616
+ type: PropType<NonNullable<"close" | "none" | "block" | ((data: import('../layer/scroll-strategies').ScrollStrategyData, props: import('../layer/scroll-strategies').StrategyProps, scope: import('vue').EffectScope) => void) | "reposition">>;
617
+ default: NonNullable<"close" | "none" | "block" | ((data: import('../layer/scroll-strategies').ScrollStrategyData, props: import('../layer/scroll-strategies').StrategyProps, scope: import('vue').EffectScope) => void) | "reposition">;
606
618
  };
607
619
  scrim: {
608
620
  type: PropType<boolean>;
@@ -659,7 +671,7 @@ export declare const YDropdown: import('vue').DefineComponent<{
659
671
  origin: string;
660
672
  viewportMargin: string | number | unknown[];
661
673
  zIndex: string | number;
662
- scrollStrategy: "close" | "none" | "block" | ((data: import('../layer/scroll-strategies').ScrollStrategyData, props: import('../layer/scroll-strategies').StrategyProps, scope: import('vue').EffectScope) => void) | "reposition";
674
+ scrollStrategy: NonNullable<"close" | "none" | "block" | ((data: import('../layer/scroll-strategies').ScrollStrategyData, props: import('../layer/scroll-strategies').StrategyProps, scope: import('vue').EffectScope) => void) | "reposition">;
663
675
  contentStyles: import('vue').CSSProperties;
664
676
  openOnHover: boolean;
665
677
  contained: boolean;
@@ -33,3 +33,4 @@ export * from './badge';
33
33
  export * from './text-ellipsis';
34
34
  export * from './ip-field';
35
35
  export * from './hover';
36
+ export * from './text-interpolation';
@@ -30,8 +30,8 @@ export declare const pressScrollStrategyProps: <Defaults extends {
30
30
  default: string;
31
31
  validator: (val: any) => boolean;
32
32
  }, "default" | "type"> & {
33
- type: PropType<unknown extends Defaults["scrollStrategy"] ? "close" | "none" | "block" | ScrollStrategyFn | "reposition" : Defaults["scrollStrategy"] | NonNullable<"close" | "none" | "block" | ScrollStrategyFn | "reposition">>;
34
- default: unknown extends Defaults["scrollStrategy"] ? "close" | "none" | "block" | ScrollStrategyFn | "reposition" : Defaults["scrollStrategy"] | NonNullable<"close" | "none" | "block" | ScrollStrategyFn | "reposition">;
33
+ type: PropType<unknown extends Defaults["scrollStrategy"] ? "close" | "none" | "block" | ScrollStrategyFn | "reposition" : NonNullable<"close" | "none" | "block" | ScrollStrategyFn | "reposition"> | Defaults["scrollStrategy"]>;
34
+ default: unknown extends Defaults["scrollStrategy"] ? "close" | "none" | "block" | ScrollStrategyFn | "reposition" : NonNullable<"close" | "none" | "block" | ScrollStrategyFn | "reposition"> | Defaults["scrollStrategy"];
35
35
  };
36
36
  };
37
37
  export declare function useScrollStrategies(props: StrategyProps, data: ScrollStrategyData): void;
@@ -8,17 +8,20 @@ export declare const YMenuPropOptions: {
8
8
  minHeight: PropType<string | number>;
9
9
  height: PropType<string | number>;
10
10
  maxHeight: PropType<string | number>;
11
- scrollStrategy: {
11
+ scrollStrategy: Omit<{
12
12
  type: PropType<"close" | "none" | "block" | ((data: import('../layer/scroll-strategies').ScrollStrategyData, props: import('../layer/scroll-strategies').StrategyProps, scope: import('vue').EffectScope) => void) | "reposition">;
13
13
  default: string;
14
14
  validator: (val: any) => boolean;
15
+ }, "default" | "type"> & {
16
+ type: PropType<NonNullable<"close" | "none" | "block" | ((data: import('../layer/scroll-strategies').ScrollStrategyData, props: import('../layer/scroll-strategies').StrategyProps, scope: import('vue').EffectScope) => void) | "reposition">>;
17
+ default: NonNullable<"close" | "none" | "block" | ((data: import('../layer/scroll-strategies').ScrollStrategyData, props: import('../layer/scroll-strategies').StrategyProps, scope: import('vue').EffectScope) => void) | "reposition">;
15
18
  };
16
19
  coordinateStrategy: Omit<{
17
20
  type: PropType<"levitation" | "arrangement" | import('../../composables/coordinate').CoordinateStrategyFn>;
18
21
  default: string;
19
22
  }, "default" | "type"> & {
20
- type: PropType<string | import('../../composables/coordinate').CoordinateStrategyFn>;
21
- default: string | import('../../composables/coordinate').CoordinateStrategyFn;
23
+ type: PropType<NonNullable<"levitation" | "arrangement" | import('../../composables/coordinate').CoordinateStrategyFn>>;
24
+ default: NonNullable<"levitation" | "arrangement" | import('../../composables/coordinate').CoordinateStrategyFn>;
22
25
  };
23
26
  position: {
24
27
  type: PropType<"default" | "top" | "bottom" | "start" | "end" | "left" | "right">;
@@ -129,17 +132,20 @@ export declare const YMenu: import('vue').DefineComponent<{
129
132
  minHeight: PropType<string | number>;
130
133
  height: PropType<string | number>;
131
134
  maxHeight: PropType<string | number>;
132
- scrollStrategy: {
135
+ scrollStrategy: Omit<{
133
136
  type: PropType<"close" | "none" | "block" | ((data: import('../layer/scroll-strategies').ScrollStrategyData, props: import('../layer/scroll-strategies').StrategyProps, scope: import('vue').EffectScope) => void) | "reposition">;
134
137
  default: string;
135
138
  validator: (val: any) => boolean;
139
+ }, "default" | "type"> & {
140
+ type: PropType<NonNullable<"close" | "none" | "block" | ((data: import('../layer/scroll-strategies').ScrollStrategyData, props: import('../layer/scroll-strategies').StrategyProps, scope: import('vue').EffectScope) => void) | "reposition">>;
141
+ default: NonNullable<"close" | "none" | "block" | ((data: import('../layer/scroll-strategies').ScrollStrategyData, props: import('../layer/scroll-strategies').StrategyProps, scope: import('vue').EffectScope) => void) | "reposition">;
136
142
  };
137
143
  coordinateStrategy: Omit<{
138
144
  type: PropType<"levitation" | "arrangement" | import('../../composables/coordinate').CoordinateStrategyFn>;
139
145
  default: string;
140
146
  }, "default" | "type"> & {
141
- type: PropType<string | import('../../composables/coordinate').CoordinateStrategyFn>;
142
- default: string | import('../../composables/coordinate').CoordinateStrategyFn;
147
+ type: PropType<NonNullable<"levitation" | "arrangement" | import('../../composables/coordinate').CoordinateStrategyFn>>;
148
+ default: NonNullable<"levitation" | "arrangement" | import('../../composables/coordinate').CoordinateStrategyFn>;
143
149
  };
144
150
  position: {
145
151
  type: PropType<"default" | "top" | "bottom" | "start" | "end" | "left" | "right">;
@@ -2083,17 +2089,20 @@ export declare const YMenu: import('vue').DefineComponent<{
2083
2089
  minHeight: PropType<string | number>;
2084
2090
  height: PropType<string | number>;
2085
2091
  maxHeight: PropType<string | number>;
2086
- scrollStrategy: {
2092
+ scrollStrategy: Omit<{
2087
2093
  type: PropType<"close" | "none" | "block" | ((data: import('../layer/scroll-strategies').ScrollStrategyData, props: import('../layer/scroll-strategies').StrategyProps, scope: import('vue').EffectScope) => void) | "reposition">;
2088
2094
  default: string;
2089
2095
  validator: (val: any) => boolean;
2096
+ }, "default" | "type"> & {
2097
+ type: PropType<NonNullable<"close" | "none" | "block" | ((data: import('../layer/scroll-strategies').ScrollStrategyData, props: import('../layer/scroll-strategies').StrategyProps, scope: import('vue').EffectScope) => void) | "reposition">>;
2098
+ default: NonNullable<"close" | "none" | "block" | ((data: import('../layer/scroll-strategies').ScrollStrategyData, props: import('../layer/scroll-strategies').StrategyProps, scope: import('vue').EffectScope) => void) | "reposition">;
2090
2099
  };
2091
2100
  coordinateStrategy: Omit<{
2092
2101
  type: PropType<"levitation" | "arrangement" | import('../../composables/coordinate').CoordinateStrategyFn>;
2093
2102
  default: string;
2094
2103
  }, "default" | "type"> & {
2095
- type: PropType<string | import('../../composables/coordinate').CoordinateStrategyFn>;
2096
- default: string | import('../../composables/coordinate').CoordinateStrategyFn;
2104
+ type: PropType<NonNullable<"levitation" | "arrangement" | import('../../composables/coordinate').CoordinateStrategyFn>>;
2105
+ default: NonNullable<"levitation" | "arrangement" | import('../../composables/coordinate').CoordinateStrategyFn>;
2097
2106
  };
2098
2107
  position: {
2099
2108
  type: PropType<"default" | "top" | "bottom" | "start" | "end" | "left" | "right">;
@@ -2192,12 +2201,12 @@ export declare const YMenu: import('vue').DefineComponent<{
2192
2201
  transition: string | (import('vue').TransitionProps & {
2193
2202
  is?: import('vue').Component | undefined;
2194
2203
  });
2195
- coordinateStrategy: string | import('../../composables/coordinate').CoordinateStrategyFn;
2204
+ coordinateStrategy: NonNullable<"levitation" | "arrangement" | import('../../composables/coordinate').CoordinateStrategyFn>;
2196
2205
  position: "default" | "top" | "bottom" | "start" | "end" | "left" | "right";
2197
2206
  origin: string;
2198
2207
  viewportMargin: string | number | unknown[];
2199
2208
  zIndex: string | number;
2200
- scrollStrategy: "close" | "none" | "block" | ((data: import('../layer/scroll-strategies').ScrollStrategyData, props: import('../layer/scroll-strategies').StrategyProps, scope: import('vue').EffectScope) => void) | "reposition";
2209
+ scrollStrategy: NonNullable<"close" | "none" | "block" | ((data: import('../layer/scroll-strategies').ScrollStrategyData, props: import('../layer/scroll-strategies').StrategyProps, scope: import('vue').EffectScope) => void) | "reposition">;
2201
2210
  contentStyles: import('vue').CSSProperties;
2202
2211
  openOnHover: boolean;
2203
2212
  contained: boolean;