ingeniuscliq-core 0.0.12 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (169) hide show
  1. package/core/commands/common/constants.js +10 -0
  2. package/core/commands/create-core-module.js +288 -0
  3. package/core/commands/create-module.js +288 -0
  4. package/core/commands/helpers/index.js +15 -0
  5. package/core/commands/helpers/strings.js +4 -0
  6. package/core/commands/rollback-core-module.js +195 -0
  7. package/core/commands/rollback-module.js +208 -0
  8. package/core/commands/templates/locale.js +14 -0
  9. package/core/commands/templates/service.js +12 -0
  10. package/core/commands/templates/type.js +10 -0
  11. package/dist/assets/index.d.ts +4 -0
  12. package/dist/classes/CoreBuilder.d.ts +3 -0
  13. package/dist/classes/index.d.ts +1 -0
  14. package/dist/components/customs/carousel/CustomCarousel.d.ts +7 -0
  15. package/dist/components/customs/carousel/CustomCarouselSection.d.ts +11 -0
  16. package/dist/components/customs/carousel/index.d.ts +2 -0
  17. package/dist/components/customs/form/CustomFormField.d.ts +12 -0
  18. package/dist/components/customs/form/FormInput.d.ts +16 -0
  19. package/dist/components/customs/form/FormTextArea.d.ts +9 -0
  20. package/dist/components/customs/form/FormWrapper.d.ts +8 -0
  21. package/dist/components/customs/form/index.d.ts +4 -0
  22. package/dist/components/customs/index.d.ts +6 -0
  23. package/dist/components/customs/logo/Logo.d.ts +6 -0
  24. package/dist/components/customs/pagination/CustomPagination.d.ts +7 -0
  25. package/dist/components/customs/select/CustomSelect.d.ts +10 -0
  26. package/dist/components/customs/spinner/Spinner.d.ts +7 -0
  27. package/dist/components/index.d.ts +3 -0
  28. package/dist/components/layouts/CoreBaseLayout.d.ts +9 -0
  29. package/dist/components/templates/CoreHomeLayout.d.ts +5 -0
  30. package/dist/components/templates/CorePreviewLayout.d.ts +2 -0
  31. package/dist/components/templates/partials/CoreFooter.d.ts +1 -0
  32. package/dist/components/templates/partials/CoreHeader.d.ts +6 -0
  33. package/dist/components/templates/partials/CoreMainSearch.d.ts +8 -0
  34. package/dist/components/templates/partials/CoreNavbar.d.ts +8 -0
  35. package/dist/components/templates/partials/CoreSubMenu.d.ts +6 -0
  36. package/dist/components/templates/partials/CoreSubMenuHeader.d.ts +7 -0
  37. package/dist/components/templates/partials/DynamicHeader.d.ts +7 -0
  38. package/dist/components/templates/partials/DynamicMain.d.ts +5 -0
  39. package/dist/components/ui/accordion.d.ts +7 -0
  40. package/dist/components/ui/alert-dialog.d.ts +14 -0
  41. package/dist/components/ui/alert.d.ts +9 -0
  42. package/dist/components/ui/avatar.d.ts +6 -0
  43. package/dist/components/ui/badge.d.ts +9 -0
  44. package/dist/components/ui/breadcrumb.d.ts +11 -0
  45. package/dist/components/ui/button.d.ts +10 -0
  46. package/dist/components/ui/calendar.d.ts +4 -0
  47. package/dist/components/ui/card.d.ts +9 -0
  48. package/dist/components/ui/carousel.d.ts +19 -0
  49. package/dist/components/ui/checkbox.d.ts +4 -0
  50. package/dist/components/ui/dialog.d.ts +15 -0
  51. package/dist/components/ui/drawer.d.ts +13 -0
  52. package/dist/components/ui/dropdown-menu.d.ts +25 -0
  53. package/dist/components/ui/form.d.ts +24 -0
  54. package/dist/components/ui/index.d.ts +34 -0
  55. package/dist/components/ui/input.d.ts +5 -0
  56. package/dist/components/ui/label.d.ts +4 -0
  57. package/dist/components/ui/navigation-menu.d.ts +14 -0
  58. package/dist/components/ui/pagination.d.ts +13 -0
  59. package/dist/components/ui/popover.d.ts +7 -0
  60. package/dist/components/ui/radio-group.d.ts +5 -0
  61. package/dist/components/ui/select.d.ts +15 -0
  62. package/dist/components/ui/separator.d.ts +4 -0
  63. package/dist/components/ui/sheet.d.ts +13 -0
  64. package/dist/components/ui/sidebar.d.ts +69 -0
  65. package/dist/components/ui/skeleton.d.ts +2 -0
  66. package/dist/components/ui/slider.d.ts +4 -0
  67. package/dist/components/ui/sonner.d.ts +3 -0
  68. package/dist/components/ui/stepper.d.ts +18 -0
  69. package/dist/components/ui/switch.d.ts +4 -0
  70. package/dist/components/ui/table.d.ts +10 -0
  71. package/dist/components/ui/tabs.d.ts +7 -0
  72. package/dist/components/ui/textarea.d.ts +3 -0
  73. package/dist/components/ui/tooltip.d.ts +7 -0
  74. package/dist/constants/index.d.ts +1 -0
  75. package/dist/constants/menu.d.ts +2 -0
  76. package/dist/helpers/axiosGlobal.d.ts +7 -0
  77. package/dist/helpers/index.d.ts +4 -0
  78. package/dist/helpers/strings.d.ts +1 -0
  79. package/dist/helpers/template.d.ts +3 -0
  80. package/dist/helpers/tenant.d.ts +3 -0
  81. package/dist/hooks/index.d.ts +3 -0
  82. package/dist/hooks/use-mobile.d.ts +1 -0
  83. package/dist/hooks/useI18n.d.ts +5 -0
  84. package/dist/hooks/useNotification.d.ts +6 -0
  85. package/dist/i18n/config.d.ts +130 -0
  86. package/dist/i18n/index.d.ts +1 -0
  87. package/dist/i18n/utils/loadModuleTranslations.d.ts +8 -0
  88. package/dist/index.css +1 -0
  89. package/dist/index.d.ts +9 -3
  90. package/dist/index.js +18852 -1490
  91. package/dist/lib/utils.d.ts +2 -0
  92. package/dist/modules/CoreAuth/components/layouts/partials/AuthDecorator.d.ts +1 -0
  93. package/dist/modules/CoreAuth/components/layouts/partials/AuthProfileDeleteAccountForm.d.ts +1 -0
  94. package/dist/modules/CoreAuth/components/layouts/partials/AuthProfileForm.d.ts +1 -0
  95. package/dist/modules/CoreAuth/components/layouts/partials/AuthProfileUpdatePassForm.d.ts +1 -0
  96. package/dist/modules/CoreAuth/components/layouts/partials/AuthUserMenu.d.ts +1 -0
  97. package/dist/modules/CoreAuth/constants/auth.d.ts +5 -0
  98. package/dist/modules/CoreAuth/hooks/useAuth.d.ts +18 -0
  99. package/dist/modules/CoreAuth/index.d.ts +1 -0
  100. package/dist/modules/CoreAuth/services/base.d.ts +23 -0
  101. package/dist/modules/CoreAuth/stores/authStore.d.ts +22 -0
  102. package/dist/modules/CoreAuth/types/CoreAuth.d.ts +25 -0
  103. package/dist/modules/CoreCustomization/classes/CoreCustomizationBuilder.d.ts +30 -0
  104. package/dist/modules/CoreCustomization/index.d.ts +1 -0
  105. package/dist/modules/CoreCustomization/services/base.d.ts +10 -0
  106. package/dist/modules/CoreCustomization/types/CoreCustomization.d.ts +22 -0
  107. package/dist/modules/CoreOrder/classes/CoreOrderBuilder.d.ts +23 -0
  108. package/dist/modules/CoreOrder/index.d.ts +1 -0
  109. package/dist/modules/CoreOrder/services/base.d.ts +7 -0
  110. package/dist/modules/CoreOrder/types/CoreOrder.d.ts +41 -0
  111. package/dist/modules/CoreOrder/types/interfaces/OrderActions.d.ts +14 -0
  112. package/dist/modules/CorePayForm/classes/CorePayFormBuilder.d.ts +23 -0
  113. package/dist/modules/CorePayForm/index.d.ts +1 -0
  114. package/dist/modules/CorePayForm/services/base.d.ts +7 -0
  115. package/dist/modules/CorePayForm/types/CorePayForm.d.ts +19 -0
  116. package/dist/modules/CoreProduct/classes/CoreProductBuilder.d.ts +25 -0
  117. package/dist/modules/CoreProduct/components/layouts/partials/TabHead.d.ts +6 -0
  118. package/dist/modules/CoreProduct/components/ui/cards/CoreProductCard.d.ts +15 -0
  119. package/dist/modules/CoreProduct/components/ui/cards/CoreProductCardActions.d.ts +18 -0
  120. package/dist/modules/CoreProduct/components/ui/cards/CoreProductCartItemAsideCard.d.ts +7 -0
  121. package/dist/modules/CoreProduct/components/ui/cards/CoreProductCartItemCard.d.ts +8 -0
  122. package/dist/modules/CoreProduct/components/ui/cards/CoreProductCartSummaryCard.d.ts +7 -0
  123. package/dist/modules/CoreProduct/components/ui/cards/addons/WarrantyLabel.d.ts +10 -0
  124. package/dist/modules/CoreProduct/components/ui/cards/skeletons/CoreProductCardSkeleton.d.ts +5 -0
  125. package/dist/modules/CoreProduct/components/ui/cards/skeletons/CoreProductCartItemCardSkeleton.d.ts +1 -0
  126. package/dist/modules/CoreProduct/components/ui/cards/skeletons/index.d.ts +2 -0
  127. package/dist/modules/CoreProduct/components/ui/carousels/CoreProductImageCarousel.d.ts +8 -0
  128. package/dist/modules/CoreProduct/components/ui/containers/CoreProductGrid.d.ts +19 -0
  129. package/dist/modules/CoreProduct/index.d.ts +1 -0
  130. package/dist/modules/CoreProduct/services/base.d.ts +7 -0
  131. package/dist/modules/CoreProduct/types/CoreProduct.d.ts +33 -0
  132. package/dist/modules/CoreProduct/types/CoreProductCategory.d.ts +10 -0
  133. package/dist/modules/CoreShopCart/classes/CoreShopCartBuilder.d.ts +25 -0
  134. package/dist/modules/CoreShopCart/components/layouts/partials/CoreShopCartAside.d.ts +12 -0
  135. package/dist/modules/CoreShopCart/components/layouts/partials/CoreShopCartIcon.d.ts +7 -0
  136. package/dist/modules/CoreShopCart/components/ui/cards/CoreCartItemAsideCard.d.ts +9 -0
  137. package/dist/modules/CoreShopCart/components/ui/cards/skeletons/CoreCartItemAsideCardSkeleton.d.ts +4 -0
  138. package/dist/modules/CoreShopCart/components/ui/empty/EmptyCartItems.d.ts +1 -0
  139. package/dist/modules/CoreShopCart/components/ui/texts/CoreCartHintTitle.d.ts +8 -0
  140. package/dist/modules/CoreShopCart/components/ui/texts/CoreCartSubtotalText.d.ts +7 -0
  141. package/dist/modules/CoreShopCart/components/ui/texts/CoreCartSummaryHead.d.ts +6 -0
  142. package/dist/modules/CoreShopCart/components/ui/texts/CoreCartSummaryText.d.ts +7 -0
  143. package/dist/modules/CoreShopCart/constants/shopCart.d.ts +6 -0
  144. package/dist/modules/CoreShopCart/index.d.ts +1 -0
  145. package/dist/modules/CoreShopCart/services/base.d.ts +16 -0
  146. package/dist/modules/CoreShopCart/types/CoreShopCart.d.ts +32 -0
  147. package/dist/modules/CoreShopCart/types/interfaces/CartActions.d.ts +23 -0
  148. package/dist/modules/index.d.ts +0 -0
  149. package/dist/services/base.d.ts +38 -0
  150. package/dist/services/index.d.ts +1 -0
  151. package/dist/stores/customizationStore.d.ts +21 -0
  152. package/dist/stores/index.d.ts +1 -0
  153. package/dist/types/BaseStore.d.ts +7 -0
  154. package/dist/types/BaseType.d.ts +5 -0
  155. package/dist/types/CoreImage.d.ts +5 -0
  156. package/dist/types/CoreMenu.d.ts +6 -0
  157. package/dist/types/contracts/BaseApiResponse.d.ts +7 -0
  158. package/dist/types/contracts/BasePagination.d.ts +9 -0
  159. package/dist/types/contracts/index.d.ts +2 -0
  160. package/dist/types/index.d.ts +7 -0
  161. package/dist/types/interfaces/BaseImageType.d.ts +7 -0
  162. package/dist/types/interfaces/BaseSlugType.d.ts +3 -0
  163. package/dist/types/interfaces/BaseVisibleType.d.ts +3 -0
  164. package/dist/types/interfaces/index.d.ts +3 -0
  165. package/dist/types/ui/carousel.d.ts +5 -0
  166. package/dist/types/ui/index.d.ts +3 -0
  167. package/dist/types/ui/main.d.ts +8 -0
  168. package/dist/types/ui/template.d.ts +19 -0
  169. package/package.json +12 -3
@@ -0,0 +1,130 @@
1
+ import { default as i18n } from 'i18next';
2
+ export declare const resources: {
3
+ readonly en: {
4
+ readonly translation: {
5
+ readonly modules: {};
6
+ readonly messages: {
7
+ loading: string;
8
+ success: {
9
+ create: string;
10
+ update: string;
11
+ delete: string;
12
+ };
13
+ error: {
14
+ required: string;
15
+ invalid: string;
16
+ notFound: string;
17
+ };
18
+ confirmation: {
19
+ delete: string;
20
+ cancel: string;
21
+ };
22
+ validation: {
23
+ name: string;
24
+ lastname: string;
25
+ email: string;
26
+ password: string;
27
+ passwordConfirmation: string;
28
+ passwordConfirmationNotMatch: string;
29
+ customer_name: string;
30
+ customer_email: string;
31
+ customer_phone: {
32
+ required: string;
33
+ prefix: string;
34
+ length: string;
35
+ };
36
+ customer_address: string;
37
+ };
38
+ };
39
+ readonly fields: {
40
+ name: string;
41
+ lastname: string;
42
+ email: string;
43
+ password: string;
44
+ password_confirmation: string;
45
+ phone: string;
46
+ address: string;
47
+ note: string;
48
+ customer_name: string;
49
+ customer_email: string;
50
+ customer_phone: string;
51
+ customer_address: string;
52
+ };
53
+ readonly menu: {
54
+ store: string;
55
+ about: string;
56
+ contact: string;
57
+ };
58
+ readonly auth: {
59
+ login: string;
60
+ register: string;
61
+ noAccount: string;
62
+ alreadyHaveAccount: string;
63
+ };
64
+ };
65
+ };
66
+ readonly es: {
67
+ readonly translation: {
68
+ readonly modules: {};
69
+ readonly messages: {
70
+ loading: string;
71
+ success: {
72
+ create: string;
73
+ update: string;
74
+ delete: string;
75
+ };
76
+ error: {
77
+ required: string;
78
+ invalid: string;
79
+ notFound: string;
80
+ };
81
+ confirmation: {
82
+ delete: string;
83
+ cancel: string;
84
+ };
85
+ validation: {
86
+ name: string;
87
+ lastname: string;
88
+ email: string;
89
+ password: string;
90
+ passwordConfirmation: string;
91
+ passwordConfirmationNotMatch: string;
92
+ customer_name: string;
93
+ customer_email: string;
94
+ customer_phone: {
95
+ required: string;
96
+ prefix: string;
97
+ length: string;
98
+ };
99
+ customer_address: string;
100
+ };
101
+ };
102
+ readonly fields: {
103
+ name: string;
104
+ lastname: string;
105
+ email: string;
106
+ password: string;
107
+ password_confirmation: string;
108
+ phone: string;
109
+ address: string;
110
+ note: string;
111
+ customer_name: string;
112
+ customer_email: string;
113
+ customer_phone: string;
114
+ customer_address: string;
115
+ };
116
+ readonly menu: {
117
+ store: string;
118
+ about: string;
119
+ contact: string;
120
+ };
121
+ readonly auth: {
122
+ login: string;
123
+ register: string;
124
+ noAccount: string;
125
+ alreadyHaveAccount: string;
126
+ };
127
+ };
128
+ };
129
+ };
130
+ export { i18n };
@@ -0,0 +1 @@
1
+ export * from './config';
@@ -0,0 +1,8 @@
1
+ interface ModuleTranslations {
2
+ [key: string]: any;
3
+ }
4
+ export declare const loadModuleTranslations: (moduleName: string, translations: {
5
+ en: ModuleTranslations;
6
+ es: ModuleTranslations;
7
+ }) => void;
8
+ export {};
package/dist/index.css ADDED
@@ -0,0 +1 @@
1
+ :root{--color-spinner: white;--size-spinner: 20px}div.spinner{position:relative;width:var(--size-spinner);height:var(--size-spinner);display:inline-block;margin-left:50%;margin-right:50%;padding:10px;border-radius:10px}div.spinner div{width:6%;height:16%;background:var(--color-spinner);position:absolute;left:49%;top:43%;opacity:0;-webkit-border-radius:50px;-webkit-box-shadow:0 0 3px rgba(0,0,0,.2);-webkit-animation:fade 1s linear infinite}@-webkit-keyframes fade{0%{opacity:1}to{opacity:.25}}div.spinner div.bar1{-webkit-transform:rotate(0deg) translate(0,-130%);-webkit-animation-delay:0s}div.spinner div.bar2{-webkit-transform:rotate(30deg) translate(0,-130%);-webkit-animation-delay:-.9167s}div.spinner div.bar3{-webkit-transform:rotate(60deg) translate(0,-130%);-webkit-animation-delay:-.833s}div.spinner div.bar4{-webkit-transform:rotate(90deg) translate(0,-130%);-webkit-animation-delay:-.7497s}div.spinner div.bar5{-webkit-transform:rotate(120deg) translate(0,-130%);-webkit-animation-delay:-.667s}div.spinner div.bar6{-webkit-transform:rotate(150deg) translate(0,-130%);-webkit-animation-delay:-.5837s}div.spinner div.bar7{-webkit-transform:rotate(180deg) translate(0,-130%);-webkit-animation-delay:-.5s}div.spinner div.bar8{-webkit-transform:rotate(210deg) translate(0,-130%);-webkit-animation-delay:-.4167s}div.spinner div.bar9{-webkit-transform:rotate(240deg) translate(0,-130%);-webkit-animation-delay:-.333s}div.spinner div.bar10{-webkit-transform:rotate(270deg) translate(0,-130%);-webkit-animation-delay:-.2497s}div.spinner div.bar11{-webkit-transform:rotate(300deg) translate(0,-130%);-webkit-animation-delay:-.167s}div.spinner div.bar12{-webkit-transform:rotate(330deg) translate(0,-130%);-webkit-animation-delay:-.0833s}
package/dist/index.d.ts CHANGED
@@ -1,3 +1,9 @@
1
- export * from './classes/CoreBuilder';
2
- export * from './components/customs';
3
- export { CoreHeader } from './components/templates/partials/CoreHeader';
1
+ export * from './classes/index';
2
+ export * from './components/index';
3
+ export * from './constants/index';
4
+ export * from './helpers/index';
5
+ export * from './hooks/index';
6
+ export * from './i18n/index';
7
+ export * from './services/index';
8
+ export * from './stores/index';
9
+ export * from './types/index';