resuxjs 0.3.3 → 0.3.5

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 (57) hide show
  1. package/README.md +150 -892
  2. package/dist/cli.js +4 -3
  3. package/dist/cli.js.map +1 -1
  4. package/dist/compiler/implementation.js +12 -4
  5. package/dist/compiler/index.js.map +1 -1
  6. package/dist/core/config.d.ts +9 -0
  7. package/dist/core/config.js +16 -1
  8. package/dist/core/config.js.map +1 -1
  9. package/dist/core/hooks.js +4 -1
  10. package/dist/core/hooks.js.map +1 -1
  11. package/dist/create.js +34 -1
  12. package/dist/create.js.map +1 -1
  13. package/dist/deploy/common.js +9 -5
  14. package/dist/deploy/common.js.map +1 -1
  15. package/dist/deploy/vercel.js +35 -9
  16. package/dist/deploy/vercel.js.map +1 -1
  17. package/dist/halal-core/ai/classifyRuntimeContent.d.ts +3 -0
  18. package/dist/halal-core/ai/classifyRuntimeContent.js +123 -0
  19. package/dist/halal-core/ai/classifyRuntimeContent.js.map +1 -0
  20. package/dist/halal-core/index.d.ts +2 -0
  21. package/dist/halal-core/index.js +2 -0
  22. package/dist/halal-core/index.js.map +1 -1
  23. package/dist/halal-core/runtime/guard.d.ts +19 -0
  24. package/dist/halal-core/runtime/guard.js +203 -0
  25. package/dist/halal-core/runtime/guard.js.map +1 -0
  26. package/dist/halal-core/runtime/index.d.ts +4 -0
  27. package/dist/halal-core/runtime/index.js +5 -0
  28. package/dist/halal-core/runtime/index.js.map +1 -0
  29. package/dist/halal-core/runtime/reviewedMemory.d.ts +5 -0
  30. package/dist/halal-core/runtime/reviewedMemory.js +131 -0
  31. package/dist/halal-core/runtime/reviewedMemory.js.map +1 -0
  32. package/dist/halal-core/runtime/serializeRuntimeContent.d.ts +13 -0
  33. package/dist/halal-core/runtime/serializeRuntimeContent.js +170 -0
  34. package/dist/halal-core/runtime/serializeRuntimeContent.js.map +1 -0
  35. package/dist/halal-core/runtime/types.d.ts +57 -0
  36. package/dist/halal-core/runtime/types.js +2 -0
  37. package/dist/halal-core/runtime/types.js.map +1 -0
  38. package/dist/halal.d.ts +1 -0
  39. package/dist/halal.js +2 -0
  40. package/dist/halal.js.map +1 -0
  41. package/dist/i18n/index.js +3 -3
  42. package/dist/i18n/index.js.map +1 -1
  43. package/dist/i18n/shared.js +15 -11
  44. package/dist/i18n/shared.js.map +1 -1
  45. package/dist/icons/index.d.ts +6 -6
  46. package/dist/kit/index.js +6 -11
  47. package/dist/kit/index.js.map +1 -1
  48. package/dist/reactivity/reactive.js +5 -1
  49. package/dist/reactivity/reactive.js.map +1 -1
  50. package/dist/reactivity/scheduler.js +13 -1
  51. package/dist/reactivity/scheduler.js.map +1 -1
  52. package/dist/runtime/index.js +334 -42
  53. package/dist/runtime/index.js.map +1 -1
  54. package/dist/ui/index.d.ts +29 -16
  55. package/dist/ui/index.js +274 -258
  56. package/dist/ui/index.js.map +1 -1
  57. package/package.json +2 -2
@@ -24,11 +24,13 @@ export declare const vAnime: {
24
24
  mounted(el: HTMLElement, binding: {
25
25
  value?: string | AnimateOptions;
26
26
  }): void;
27
+ unmounted(el: HTMLElement): void;
27
28
  };
28
29
  export declare const vAnimate: {
29
30
  mounted(el: HTMLElement, binding: {
30
31
  value?: string | AnimateOptions;
31
32
  }): void;
33
+ unmounted(el: HTMLElement): void;
32
34
  };
33
35
  export declare const RxMotion: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
34
36
  tag: {
@@ -83,9 +85,9 @@ export declare const RxMotion: import("vue").DefineComponent<import("vue").Extra
83
85
  default: boolean;
84
86
  };
85
87
  }>> & Readonly<{}>, {
88
+ preset: string;
86
89
  duration: number;
87
90
  tag: string;
88
- preset: string;
89
91
  delay: number;
90
92
  easing: string;
91
93
  unstyled: boolean;
@@ -119,8 +121,8 @@ export declare const RxReveal: import("vue").DefineComponent<import("vue").Extra
119
121
  default: boolean;
120
122
  };
121
123
  }>> & Readonly<{}>, {
122
- duration: number;
123
124
  preset: string;
125
+ duration: number;
124
126
  unstyled: boolean;
125
127
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
126
128
  export declare const RxAutoAnimate: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
@@ -352,11 +354,11 @@ export declare const RxSelect: import("vue").DefineComponent<import("vue").Extra
352
354
  }>> & Readonly<{
353
355
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
354
356
  }>, {
355
- disabled: boolean;
356
357
  options: (string | {
357
358
  label: string;
358
359
  value: string | number;
359
360
  })[];
361
+ disabled: boolean;
360
362
  placeholder: string;
361
363
  modelValue: string | number;
362
364
  unstyled: boolean;
@@ -459,8 +461,8 @@ export declare const RxIcon: import("vue").DefineComponent<import("vue").Extract
459
461
  default: boolean;
460
462
  };
461
463
  }>> & Readonly<{}>, {
462
- name: string;
463
464
  size: string | number;
465
+ name: string;
464
466
  color: string;
465
467
  unstyled: boolean;
466
468
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -509,8 +511,8 @@ export declare const RxAvatar: import("vue").DefineComponent<import("vue").Extra
509
511
  default: boolean;
510
512
  };
511
513
  }>> & Readonly<{}>, {
512
- size: string;
513
514
  src: string;
515
+ size: string;
514
516
  alt: string;
515
517
  status: string;
516
518
  unstyled: boolean;
@@ -588,8 +590,8 @@ export declare const RxAccordion: import("vue").DefineComponent<import("vue").Ex
588
590
  default: boolean;
589
591
  };
590
592
  }>> & Readonly<{}>, {
591
- title: string;
592
593
  open: boolean;
594
+ title: string;
593
595
  unstyled: boolean;
594
596
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
595
597
  export declare const RxTooltip: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
@@ -923,8 +925,8 @@ export declare const RxModal: import("vue").DefineComponent<import("vue").Extrac
923
925
  onClose?: ((...args: any[]) => any) | undefined;
924
926
  "onUpdate:open"?: ((...args: any[]) => any) | undefined;
925
927
  }>, {
926
- title: string;
927
928
  open: boolean;
929
+ title: string;
928
930
  unstyled: boolean;
929
931
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
930
932
  export declare const ResuxMotion: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
@@ -980,9 +982,9 @@ export declare const ResuxMotion: import("vue").DefineComponent<import("vue").Ex
980
982
  default: boolean;
981
983
  };
982
984
  }>> & Readonly<{}>, {
985
+ preset: string;
983
986
  duration: number;
984
987
  tag: string;
985
- preset: string;
986
988
  delay: number;
987
989
  easing: string;
988
990
  unstyled: boolean;
@@ -1016,8 +1018,8 @@ export declare const ResuxReveal: import("vue").DefineComponent<import("vue").Ex
1016
1018
  default: boolean;
1017
1019
  };
1018
1020
  }>> & Readonly<{}>, {
1019
- duration: number;
1020
1021
  preset: string;
1022
+ duration: number;
1021
1023
  unstyled: boolean;
1022
1024
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1023
1025
  export declare const ResuxAutoAnimate: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
@@ -1249,11 +1251,11 @@ export declare const ResuxSelect: import("vue").DefineComponent<import("vue").Ex
1249
1251
  }>> & Readonly<{
1250
1252
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
1251
1253
  }>, {
1252
- disabled: boolean;
1253
1254
  options: (string | {
1254
1255
  label: string;
1255
1256
  value: string | number;
1256
1257
  })[];
1258
+ disabled: boolean;
1257
1259
  placeholder: string;
1258
1260
  modelValue: string | number;
1259
1261
  unstyled: boolean;
@@ -1356,8 +1358,8 @@ export declare const ResuxIcon: import("vue").DefineComponent<import("vue").Extr
1356
1358
  default: boolean;
1357
1359
  };
1358
1360
  }>> & Readonly<{}>, {
1359
- name: string;
1360
1361
  size: string | number;
1362
+ name: string;
1361
1363
  color: string;
1362
1364
  unstyled: boolean;
1363
1365
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1406,8 +1408,8 @@ export declare const ResuxAvatar: import("vue").DefineComponent<import("vue").Ex
1406
1408
  default: boolean;
1407
1409
  };
1408
1410
  }>> & Readonly<{}>, {
1409
- size: string;
1410
1411
  src: string;
1412
+ size: string;
1411
1413
  alt: string;
1412
1414
  status: string;
1413
1415
  unstyled: boolean;
@@ -1485,8 +1487,8 @@ export declare const ResuxAccordion: import("vue").DefineComponent<import("vue")
1485
1487
  default: boolean;
1486
1488
  };
1487
1489
  }>> & Readonly<{}>, {
1488
- title: string;
1489
1490
  open: boolean;
1491
+ title: string;
1490
1492
  unstyled: boolean;
1491
1493
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1492
1494
  export declare const ResuxTooltip: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
@@ -1820,9 +1822,20 @@ export declare const ResuxModal: import("vue").DefineComponent<import("vue").Ext
1820
1822
  onClose?: ((...args: any[]) => any) | undefined;
1821
1823
  "onUpdate:open"?: ((...args: any[]) => any) | undefined;
1822
1824
  }>, {
1823
- title: string;
1824
1825
  open: boolean;
1826
+ title: string;
1825
1827
  unstyled: boolean;
1826
1828
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1827
- declare const _default: import("../kit/index.js").ResuxModuleDefinition<ResuxUiModuleOptions>;
1828
- export default _default;
1829
+ declare const resuxUiModule: {
1830
+ defaults: {
1831
+ css: never[];
1832
+ tokens: {};
1833
+ defaultStyles: true;
1834
+ animations: {
1835
+ enabled: true;
1836
+ defaultPreset: string;
1837
+ };
1838
+ };
1839
+ setup(options: ResuxUiModuleOptions, resux: import("../core/module-container.js").ResuxModuleContext): void;
1840
+ };
1841
+ export default resuxUiModule;