@react-pakistan/util-functions 2.0.2 → 3.0.1

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 (369) hide show
  1. package/constants/api-methods.d.mts +13 -0
  2. package/constants/api-methods.mjs +1 -0
  3. package/constants/cache-time.d.mts +7 -0
  4. package/constants/cache-time.mjs +1 -0
  5. package/constants/countries-timezones.d.mts +8 -0
  6. package/constants/countries-timezones.mjs +1 -0
  7. package/constants/currencies.d.mts +14 -0
  8. package/constants/currencies.mjs +1 -0
  9. package/constants/dial-codes.d.mts +9 -0
  10. package/constants/dial-codes.mjs +1 -0
  11. package/constants/layout-direction.d.mts +6 -0
  12. package/constants/layout-direction.mjs +1 -0
  13. package/constants/react-pakistan-meta.d.mts +32 -0
  14. package/constants/react-pakistan-meta.mjs +1 -0
  15. package/constants/react-pakistan.d.mts +15 -0
  16. package/constants/react-pakistan.mjs +12 -0
  17. package/constants/select-value-delimiter.d.mts +12 -0
  18. package/constants/select-value-delimiter.mjs +1 -0
  19. package/constants/social-media-colors.d.mts +40 -0
  20. package/constants/social-media-colors.mjs +1 -0
  21. package/constants/social-media-sizes.d.mts +323 -0
  22. package/constants/social-media-sizes.mjs +1 -0
  23. package/constants/user-roles.d.mts +7 -0
  24. package/constants/user-roles.mjs +1 -0
  25. package/factory/generic-component-factory.d.mts +78 -0
  26. package/factory/generic-component-factory.mjs +1 -0
  27. package/factory/generic-module-factory.d.mts +80 -0
  28. package/factory/generic-module-factory.mjs +1 -0
  29. package/general/basic-get.d.mts +8 -0
  30. package/general/basic-get.mjs +1 -0
  31. package/general/basic-post.d.mts +8 -0
  32. package/general/basic-post.mjs +1 -0
  33. package/general/calculate-pages.d.mts +9 -0
  34. package/general/calculate-pages.mjs +1 -0
  35. package/general/camel-to-sentence-case.d.mts +12 -0
  36. package/general/camel-to-sentence-case.mjs +1 -0
  37. package/general/check-even-odd-length.d.mts +13 -0
  38. package/general/check-even-odd-length.mjs +1 -0
  39. package/general/clear-cache.d.mts +10 -0
  40. package/general/clear-cache.mjs +1 -0
  41. package/general/cnic-formatter.d.mts +20 -0
  42. package/general/cnic-formatter.mjs +1 -0
  43. package/general/convert-url-to-base64.d.mts +57 -0
  44. package/general/convert-url-to-base64.mjs +1 -0
  45. package/general/countries.d.mts +268 -0
  46. package/general/countries.mjs +1 -0
  47. package/general/create-date.d.mts +12 -0
  48. package/general/create-date.js +1 -1
  49. package/general/create-date.mjs +1 -0
  50. package/general/crypto.d.mts +11 -0
  51. package/general/crypto.mjs +1 -0
  52. package/general/currencies.d.mts +2 -0
  53. package/general/currencies.mjs +0 -0
  54. package/general/delete-image-from-private-supabase.d.mts +16 -0
  55. package/general/delete-image-from-private-supabase.mjs +1 -0
  56. package/general/delete-image-from-public-supabase.d.mts +16 -0
  57. package/general/delete-image-from-public-supabase.mjs +1 -0
  58. package/general/download-from-url.d.mts +8 -0
  59. package/general/download-from-url.mjs +1 -0
  60. package/general/dynamic-page-limit.d.mts +12 -0
  61. package/general/dynamic-page-limit.mjs +1 -0
  62. package/general/enum-to-text.d.mts +8 -0
  63. package/general/enum-to-text.mjs +1 -0
  64. package/general/fetch-data.d.mts +25 -0
  65. package/general/fetch-data.mjs +1 -0
  66. package/general/fetch-supabase-image.d.mts +16 -0
  67. package/general/fetch-supabase-image.mjs +1 -0
  68. package/general/fetch-supabase-private-assets.d.mts +15 -0
  69. package/general/fetch-supabase-private-assets.mjs +1 -0
  70. package/general/format-date.d.mts +18 -0
  71. package/general/format-date.mjs +1 -0
  72. package/general/format-number.d.mts +16 -0
  73. package/general/format-number.mjs +1 -0
  74. package/general/format-phone-display.d.mts +9 -0
  75. package/general/format-phone-display.js +1 -1
  76. package/general/format-phone-display.mjs +1 -0
  77. package/general/format-phone.d.mts +13 -0
  78. package/general/format-phone.d.ts +1 -3
  79. package/general/format-phone.js +1 -1
  80. package/general/format-phone.mjs +1 -0
  81. package/general/format-pricing.d.mts +8 -0
  82. package/general/format-pricing.mjs +1 -0
  83. package/general/format-secs.d.mts +8 -0
  84. package/general/format-secs.mjs +1 -0
  85. package/general/format-time.d.mts +11 -0
  86. package/general/format-time.mjs +1 -0
  87. package/general/format-value.d.mts +8 -0
  88. package/general/format-value.mjs +1 -0
  89. package/general/full-month-range.d.mts +13 -0
  90. package/general/full-month-range.mjs +1 -0
  91. package/general/full-year-range.d.mts +12 -0
  92. package/general/full-year-range.mjs +1 -0
  93. package/general/generate-article-schema.d.mts +50 -0
  94. package/general/generate-article-schema.mjs +1 -0
  95. package/general/generate-blog-schema.d.mts +37 -0
  96. package/general/generate-blog-schema.mjs +1 -0
  97. package/general/generate-book-schema.d.mts +58 -0
  98. package/general/generate-book-schema.mjs +1 -0
  99. package/general/generate-breadcrumb-schema.d.mts +40 -0
  100. package/general/generate-breadcrumb-schema.mjs +1 -0
  101. package/general/generate-carousel-schema.d.mts +52 -0
  102. package/general/generate-carousel-schema.mjs +1 -0
  103. package/general/generate-course-schema.d.mts +53 -0
  104. package/general/generate-course-schema.mjs +1 -0
  105. package/general/generate-dataset-schema.d.mts +65 -0
  106. package/general/generate-dataset-schema.mjs +1 -0
  107. package/general/generate-discussion-forum-schema.d.mts +39 -0
  108. package/general/generate-discussion-forum-schema.mjs +1 -0
  109. package/general/generate-education-schema.d.mts +68 -0
  110. package/general/generate-education-schema.mjs +1 -0
  111. package/general/generate-employer-aggregate-rating-schema.d.mts +29 -0
  112. package/general/generate-employer-aggregate-rating-schema.mjs +1 -0
  113. package/general/generate-event-schema.d.mts +63 -0
  114. package/general/generate-event-schema.mjs +1 -0
  115. package/general/generate-faq-schema.d.mts +32 -0
  116. package/general/generate-faq-schema.mjs +1 -0
  117. package/general/generate-grid.d.mts +17 -0
  118. package/general/generate-grid.mjs +1 -0
  119. package/general/generate-image-metadata-schema.d.mts +36 -0
  120. package/general/generate-image-metadata-schema.mjs +1 -0
  121. package/general/generate-job-posting-schema.d.mts +49 -0
  122. package/general/generate-job-posting-schema.mjs +1 -0
  123. package/general/generate-local-business-schema.d.mts +42 -0
  124. package/general/generate-local-business-schema.mjs +1 -0
  125. package/general/generate-math-solver-schema.d.mts +45 -0
  126. package/general/generate-math-solver-schema.mjs +1 -0
  127. package/general/generate-movie-carousel-schema.d.mts +51 -0
  128. package/general/generate-movie-carousel-schema.mjs +1 -0
  129. package/general/generate-organization-schema.d.mts +49 -0
  130. package/general/generate-organization-schema.mjs +1 -0
  131. package/general/generate-profile-page-schema.d.mts +37 -0
  132. package/general/generate-profile-page-schema.mjs +1 -0
  133. package/general/generate-qa-page-schema.d.mts +34 -0
  134. package/general/generate-qa-page-schema.mjs +1 -0
  135. package/general/generate-recipe-schema.d.mts +49 -0
  136. package/general/generate-recipe-schema.mjs +1 -0
  137. package/general/generate-ref.d.mts +11 -0
  138. package/general/generate-ref.js +1 -1
  139. package/general/generate-ref.mjs +1 -0
  140. package/general/generate-review-snippet-schema.d.mts +52 -0
  141. package/general/generate-review-snippet-schema.mjs +1 -0
  142. package/general/generate-shopping-loyalty-program-schema.d.mts +38 -0
  143. package/general/generate-shopping-loyalty-program-schema.mjs +1 -0
  144. package/general/generate-shopping-merchant-listing-schema.d.mts +53 -0
  145. package/general/generate-shopping-merchant-listing-schema.mjs +1 -0
  146. package/general/generate-shopping-merchant-return-policy-schema.d.mts +32 -0
  147. package/general/generate-shopping-merchant-return-policy-schema.mjs +1 -0
  148. package/general/generate-shopping-merchant-shipping-policy-schema.d.mts +36 -0
  149. package/general/generate-shopping-merchant-shipping-policy-schema.mjs +1 -0
  150. package/general/generate-shopping-overview-schema.d.mts +52 -0
  151. package/general/generate-shopping-overview-schema.mjs +1 -0
  152. package/general/generate-shopping-product-snippet-schema.d.mts +57 -0
  153. package/general/generate-shopping-product-snippet-schema.mjs +1 -0
  154. package/general/generate-shopping-variants-schema.d.mts +46 -0
  155. package/general/generate-shopping-variants-schema.mjs +1 -0
  156. package/general/generate-software-app-schema.d.mts +62 -0
  157. package/general/generate-software-app-schema.mjs +1 -0
  158. package/general/generate-speakable-schema.d.mts +64 -0
  159. package/general/generate-speakable-schema.mjs +1 -0
  160. package/general/generate-subscription-schema.d.mts +60 -0
  161. package/general/generate-subscription-schema.mjs +1 -0
  162. package/general/generate-vacation-rental-schema.d.mts +67 -0
  163. package/general/generate-vacation-rental-schema.mjs +1 -0
  164. package/general/generate-video-schema.d.mts +75 -0
  165. package/general/generate-video-schema.mjs +1 -0
  166. package/general/generic-cache.d.mts +193 -0
  167. package/general/generic-cache.mjs +1 -0
  168. package/general/get-available-page-limit.d.mts +11 -0
  169. package/general/get-available-page-limit.mjs +1 -0
  170. package/general/get-calendar-current-month.d.mts +15 -0
  171. package/general/get-calendar-current-month.js +1 -1
  172. package/general/get-calendar-current-month.mjs +1 -0
  173. package/general/get-calendar-dates.d.mts +15 -0
  174. package/general/get-calendar-dates.js +1 -1
  175. package/general/get-calendar-dates.mjs +1 -0
  176. package/general/get-calendar-next-month.d.mts +17 -0
  177. package/general/get-calendar-next-month.js +1 -1
  178. package/general/get-calendar-next-month.mjs +1 -0
  179. package/general/get-calendar-previous-month.d.mts +17 -0
  180. package/general/get-calendar-previous-month.js +1 -1
  181. package/general/get-calendar-previous-month.mjs +1 -0
  182. package/general/get-current-year.d.mts +7 -0
  183. package/general/get-current-year.mjs +1 -0
  184. package/general/get-day-name.d.mts +10 -0
  185. package/general/get-day-name.mjs +1 -0
  186. package/general/get-dial-code.d.mts +8 -0
  187. package/general/get-dial-code.mjs +1 -0
  188. package/general/get-full-name.d.mts +13 -0
  189. package/general/get-full-name.mjs +1 -0
  190. package/general/get-href.d.mts +11 -0
  191. package/general/get-href.mjs +1 -0
  192. package/general/get-month-name.d.mts +10 -0
  193. package/general/get-month-name.mjs +1 -0
  194. package/general/get-month-number.d.mts +15 -0
  195. package/general/get-month-number.mjs +1 -0
  196. package/general/get-number-of-days-in-month.d.mts +13 -0
  197. package/general/get-number-of-days-in-month.js +1 -1
  198. package/general/get-number-of-days-in-month.mjs +1 -0
  199. package/general/get-pathname.d.mts +11 -0
  200. package/general/get-pathname.mjs +1 -0
  201. package/general/get-week-day.d.mts +8 -0
  202. package/general/get-week-day.js +1 -1
  203. package/general/get-week-day.mjs +1 -0
  204. package/general/image-url-to-base64.d.mts +9 -0
  205. package/general/image-url-to-base64.mjs +1 -0
  206. package/general/is-created-or-updated.d.mts +13 -0
  207. package/general/is-created-or-updated.mjs +1 -0
  208. package/general/is-next-button-disabled.d.mts +9 -0
  209. package/general/is-next-button-disabled.mjs +1 -0
  210. package/general/is-odd.d.mts +11 -0
  211. package/general/is-odd.mjs +1 -0
  212. package/general/is-previous-button-disabled.d.mts +8 -0
  213. package/general/is-previous-button-disabled.mjs +1 -0
  214. package/general/linear-gradients.d.mts +14 -0
  215. package/general/linear-gradients.mjs +1 -0
  216. package/general/multi-part-search.d.mts +22 -0
  217. package/general/multi-part-search.mjs +1 -0
  218. package/general/normalize-phone.d.mts +15 -0
  219. package/general/normalize-phone.js +1 -1
  220. package/general/normalize-phone.mjs +1 -0
  221. package/general/parse-frontmatter.d.mts +36 -0
  222. package/general/parse-frontmatter.mjs +2 -0
  223. package/general/remove-data-image-prefix.d.mts +8 -0
  224. package/general/remove-data-image-prefix.mjs +1 -0
  225. package/general/repeat-times.d.mts +15 -0
  226. package/general/repeat-times.mjs +1 -0
  227. package/general/resolve-anchor-link.d.mts +13 -0
  228. package/general/resolve-anchor-link.mjs +1 -0
  229. package/general/resolve-current-date.d.mts +12 -0
  230. package/general/resolve-current-date.mjs +1 -0
  231. package/general/resolve-grid.d.mts +14 -0
  232. package/general/resolve-grid.mjs +1 -0
  233. package/general/resolve-initials.d.mts +12 -0
  234. package/general/resolve-initials.mjs +1 -0
  235. package/general/set-timezone.d.mts +9 -0
  236. package/general/set-timezone.d.ts +1 -3
  237. package/general/set-timezone.js +1 -1
  238. package/general/set-timezone.mjs +1 -0
  239. package/general/slugify.d.mts +12 -0
  240. package/general/slugify.mjs +1 -0
  241. package/general/text-to-enum.d.mts +8 -0
  242. package/general/text-to-enum.mjs +1 -0
  243. package/general/text-to-sentence-case.d.mts +12 -0
  244. package/general/text-to-sentence-case.mjs +1 -0
  245. package/general/time-out.d.mts +12 -0
  246. package/general/time-out.mjs +1 -0
  247. package/general/time-zones.d.mts +11 -0
  248. package/general/time-zones.mjs +1 -0
  249. package/general/truncate-text.d.mts +14 -0
  250. package/general/truncate-text.mjs +1 -0
  251. package/general/type.d.mts +8 -0
  252. package/general/type.mjs +0 -0
  253. package/general/upload-blob-to-private-supabase.d.mts +24 -0
  254. package/general/upload-blob-to-private-supabase.mjs +1 -0
  255. package/general/upload-blob-to-public-supabase.d.mts +24 -0
  256. package/general/upload-blob-to-public-supabase.mjs +1 -0
  257. package/general/upload-image-to-private-supabase.d.mts +26 -0
  258. package/general/upload-image-to-private-supabase.mjs +1 -0
  259. package/general/upload-image-to-public-supabase.d.mts +26 -0
  260. package/general/upload-image-to-public-supabase.mjs +1 -0
  261. package/general/url-to-sentence-case.d.mts +12 -0
  262. package/general/url-to-sentence-case.mjs +1 -0
  263. package/general/validate-comment.d.mts +14 -0
  264. package/general/validate-comment.mjs +1 -0
  265. package/general/validate-email.d.mts +15 -0
  266. package/general/validate-email.mjs +1 -0
  267. package/general/validate-form.d.mts +18 -0
  268. package/general/validate-form.mjs +1 -0
  269. package/general/validate-name.d.mts +14 -0
  270. package/general/validate-name.mjs +1 -0
  271. package/hooks/use-change.d.mts +11 -0
  272. package/hooks/use-change.mjs +1 -0
  273. package/hooks/use-debounce.d.mts +10 -0
  274. package/hooks/use-debounce.mjs +1 -0
  275. package/hooks/use-fetch.d.mts +42 -0
  276. package/hooks/use-fetch.mjs +1 -0
  277. package/hooks/use-force-render.d.mts +14 -0
  278. package/hooks/use-force-render.mjs +1 -0
  279. package/hooks/use-ip-geo-location.d.mts +12 -0
  280. package/hooks/use-ip-geo-location.mjs +1 -0
  281. package/hooks/use-is-mobile.d.mts +8 -0
  282. package/hooks/use-is-mobile.mjs +1 -0
  283. package/hooks/use-module-entity-v2.d.mts +105 -0
  284. package/hooks/use-module-entity-v2.mjs +1 -0
  285. package/hooks/use-module-entity.d.mts +98 -0
  286. package/hooks/use-module-entity.mjs +1 -0
  287. package/hooks/use-phone-formatter.d.mts +17 -0
  288. package/hooks/use-phone-formatter.d.ts +1 -3
  289. package/hooks/use-phone-formatter.js +1 -1
  290. package/hooks/use-phone-formatter.mjs +1 -0
  291. package/hooks/use-position.d.mts +29 -0
  292. package/hooks/use-position.mjs +1 -0
  293. package/hooks/use-rtl.d.mts +46 -0
  294. package/hooks/use-rtl.mjs +1 -0
  295. package/hooks/use-sticky.d.mts +13 -0
  296. package/hooks/use-sticky.mjs +1 -0
  297. package/hooks/use-toggle-state.d.mts +14 -0
  298. package/hooks/use-toggle-state.mjs +1 -0
  299. package/hooks/use-window-event-listener.d.mts +9 -0
  300. package/hooks/use-window-event-listener.mjs +1 -0
  301. package/hooks/with-seo.d.mts +19 -0
  302. package/hooks/with-seo.mjs +1 -0
  303. package/local-storage/get-storage-value.d.mts +5 -0
  304. package/local-storage/get-storage-value.mjs +1 -0
  305. package/local-storage/remove-storage-value.d.mts +3 -0
  306. package/local-storage/remove-storage-value.mjs +1 -0
  307. package/local-storage/set-storage-value.d.mts +3 -0
  308. package/local-storage/set-storage-value.mjs +1 -0
  309. package/local-storage/type.d.mts +3 -0
  310. package/local-storage/type.mjs +0 -0
  311. package/npm.d.d.mts +2 -0
  312. package/npm.d.mjs +0 -0
  313. package/package.json +1 -10
  314. package/edu-pilot-pro/types/academics.d.ts +0 -2
  315. package/edu-pilot-pro/types/academics.js +0 -1
  316. package/edu-pilot-pro/types/admission.d.ts +0 -878
  317. package/edu-pilot-pro/types/admission.js +0 -1
  318. package/edu-pilot-pro/types/communication.d.ts +0 -2
  319. package/edu-pilot-pro/types/communication.js +0 -1
  320. package/edu-pilot-pro/types/enums.d.ts +0 -413
  321. package/edu-pilot-pro/types/enums.js +0 -1
  322. package/edu-pilot-pro/types/finance.d.ts +0 -2
  323. package/edu-pilot-pro/types/finance.js +0 -1
  324. package/edu-pilot-pro/types/index.d.ts +0 -2
  325. package/edu-pilot-pro/types/index.js +0 -1
  326. package/edu-pilot-pro/types/user-management.d.ts +0 -2
  327. package/edu-pilot-pro/types/user-management.js +0 -1
  328. package/stellar-solution/types/common.d.ts +0 -26
  329. package/stellar-solution/types/common.js +0 -1
  330. package/stellar-solution/types/erp.d.ts +0 -305
  331. package/stellar-solution/types/erp.js +0 -1
  332. package/stellar-solution/types/index.d.ts +0 -3
  333. package/stellar-solution/types/index.js +0 -1
  334. package/stellar-solution/types/pos.d.ts +0 -179
  335. package/stellar-solution/types/pos.js +0 -1
  336. package/storybook/generate-sitemap.d.ts +0 -16
  337. package/storybook/generate-sitemap.js +0 -17
  338. package/storybook/preview.d.ts +0 -148
  339. package/storybook/preview.js +0 -1
  340. package/storybook/react-design-story-script.d.ts +0 -12
  341. package/storybook/react-design-story-script.js +0 -5
  342. package/storybook/react-emoji-collection.d.ts +0 -13
  343. package/storybook/react-emoji-collection.js +0 -11
  344. package/storybook/react-emoji-story-script.d.ts +0 -12
  345. package/storybook/react-emoji-story-script.js +0 -5
  346. package/storybook/react-emoji-story-template.d.ts +0 -14
  347. package/storybook/react-emoji-story-template.js +0 -46
  348. package/storybook/react-icon-collection.d.ts +0 -13
  349. package/storybook/react-icon-collection.js +0 -11
  350. package/storybook/react-icon-story-script.d.ts +0 -12
  351. package/storybook/react-icon-story-script.js +0 -5
  352. package/storybook/react-icon-story-template.d.ts +0 -13
  353. package/storybook/react-icon-story-template.js +0 -46
  354. package/storybook/react-logo-collection.d.ts +0 -13
  355. package/storybook/react-logo-collection.js +0 -11
  356. package/storybook/react-logo-story-script.d.ts +0 -12
  357. package/storybook/react-logo-story-script.js +0 -5
  358. package/storybook/react-logo-story-template.d.ts +0 -13
  359. package/storybook/react-logo-story-template.js +0 -46
  360. package/storybook/react-pakistan-theme.d.ts +0 -25
  361. package/storybook/react-pakistan-theme.js +0 -1
  362. package/storybook/responsive-args.d.ts +0 -22
  363. package/storybook/responsive-args.js +0 -1
  364. package/storybook/responsive-component.d.ts +0 -33
  365. package/storybook/responsive-component.js +0 -37
  366. package/storybook/responsive-screens.d.ts +0 -108
  367. package/storybook/responsive-screens.js +0 -1
  368. package/storybook/theme.d.ts +0 -96
  369. package/storybook/theme.js +0 -1
@@ -1,305 +0,0 @@
1
- import { BaseEntity } from './common.js';
2
-
3
- declare enum GENDER {
4
- MALE = "MALE",
5
- FEMALE = "FEMALE"
6
- }
7
- declare enum QUOTE_INVOICE_CATEGORY {
8
- QUOTE = "QUOTE",
9
- INVOICE = "INVOICE"
10
- }
11
- declare enum QUOTE_INVOICE_MODE {
12
- COMPANY = "COMPANY",
13
- CUSTOMER = "CUSTOMER"
14
- }
15
- declare enum DISCOUNT_UNIT {
16
- FIXED_VALUE = "FIXED_VALUE",
17
- PERCENTAGE_VALUE = "PERCENTAGE_VALUE"
18
- }
19
- declare enum INVOICE_STATUS {
20
- UNPAID = "UNPAID",
21
- PAID = "PAID"
22
- }
23
- declare enum QUOTE_STATUS {
24
- DRAFT = "DRAFT",
25
- PENDING = "PENDING",
26
- SENT = "SENT",
27
- ACCEPTED = "ACCEPTED",
28
- DECLINED = "DECLINED"
29
- }
30
- declare enum PAYMENT_TYPE {
31
- FULL_AMOUNT = "FULL_AMOUNT",
32
- PARTIAL_AMOUNT = "PARTIAL_AMOUNT"
33
- }
34
- declare enum LEAD_SOURCE {
35
- WEBSITE = "WEBSITE",
36
- SOCIAL_MEDIA = "SOCIAL_MEDIA",
37
- LINKEDIN = "LINKEDIN",
38
- PROFESSIONAL_NETWORK = "PROFESSIONAL_NETWORK",
39
- CUSTOMER_REFERRAL = "CUSTOMER_REFERRAL",
40
- SALES = "SALES",
41
- ADVERTISING = "ADVERTISING",
42
- FRIEND = "FRIEND",
43
- OTHER = "OTHER"
44
- }
45
- declare enum LEAD_TYPE {
46
- COMPANY = "COMPANY",
47
- CONTACT = "CONTACT"
48
- }
49
- declare enum LEAD_STATUS {
50
- NEW = "NEW",
51
- ASSIGNED = "ASSIGNED",
52
- IN_NEGOTIATION = "IN_NEGOTIATION",
53
- ON_HOLD = "ON_HOLD",
54
- WON = "WON",
55
- LOOSE = "LOOSE",
56
- CANCELLED = "CANCELLED",
57
- DRAFT = "DRAFT",
58
- WAITING = "WAITING"
59
- }
60
- /**
61
- * Profile model type
62
- */
63
- interface ProfileBE extends BaseEntity {
64
- avatar?: string;
65
- dob?: Date;
66
- email: string;
67
- firstName: string;
68
- gender: GENDER;
69
- language?: string;
70
- lastName: string;
71
- location?: string;
72
- phone: string;
73
- skill?: string;
74
- userId: string;
75
- }
76
- /**
77
- * Product model type
78
- */
79
- interface ProductBE extends BaseEntity {
80
- currency: string;
81
- description?: string;
82
- images: string[];
83
- name: string;
84
- productCategoryId: string;
85
- quantity: number;
86
- ref?: string;
87
- price: number;
88
- }
89
- /**
90
- * ProductCategory model type
91
- */
92
- interface ProductCategoryBE extends BaseEntity {
93
- description?: string;
94
- name: string;
95
- }
96
- /**
97
- * Company model type
98
- */
99
- interface CompanyBE extends BaseEntity {
100
- country: string;
101
- email: string;
102
- name: string;
103
- phone: string;
104
- website?: string;
105
- }
106
- /**
107
- * Contact model type
108
- */
109
- interface ContactBE extends BaseEntity {
110
- companyId: string;
111
- country: string;
112
- email: string;
113
- firstName: string;
114
- lastName: string;
115
- phone: string;
116
- }
117
- /**
118
- * ExpenseCategory model type
119
- */
120
- interface ExpenseCategoryBE extends BaseEntity {
121
- description?: string;
122
- name: string;
123
- }
124
- /**
125
- * Expense model type
126
- */
127
- interface ExpenseBE extends BaseEntity {
128
- currency: string;
129
- description: string;
130
- expenseCategoryId: string;
131
- name: string;
132
- ref?: string;
133
- total: number;
134
- }
135
- /**
136
- * QuoteInvoice model type
137
- */
138
- interface QuoteInvoiceBE extends BaseEntity {
139
- category: QUOTE_INVOICE_CATEGORY;
140
- companyId?: string;
141
- currency: string;
142
- customerId?: string;
143
- date: Date;
144
- discount: number;
145
- discountUnit: DISCOUNT_UNIT;
146
- expiryDate: Date;
147
- invoiceStatus: INVOICE_STATUS;
148
- note?: string;
149
- quoteStatus: QUOTE_STATUS;
150
- ref?: string;
151
- subTotal: number;
152
- taxRate: number;
153
- total: number;
154
- }
155
- /**
156
- * Service model type
157
- */
158
- interface ServiceBE extends BaseEntity {
159
- description?: string;
160
- name: string;
161
- price: number;
162
- quantity: number;
163
- quoteInvoiceId?: string;
164
- }
165
- /**
166
- * Payment model type
167
- */
168
- interface PaymentBE extends BaseEntity {
169
- amount: number;
170
- attachment?: string;
171
- balance: number;
172
- currency: string;
173
- date: Date;
174
- description?: string;
175
- paymentModeId: string;
176
- paymentType: PAYMENT_TYPE;
177
- quoteInvoiceId: string;
178
- ref?: string;
179
- }
180
- /**
181
- * Preference model type
182
- */
183
- interface PreferenceBE extends BaseEntity {
184
- onboarding: boolean;
185
- }
186
- /**
187
- * AppUser model type
188
- */
189
- interface AppUserBE extends BaseEntity {
190
- email: string;
191
- firstName: string;
192
- lastName: string;
193
- }
194
- /**
195
- * MenuOrder model type
196
- */
197
- interface MenuOrderBE extends BaseEntity {
198
- label: string;
199
- order: number;
200
- preferenceId: string;
201
- }
202
- /**
203
- * PaymentMode model type
204
- */
205
- interface PaymentModeBE extends BaseEntity {
206
- enabled: boolean;
207
- isDefault: boolean;
208
- label: string;
209
- preferenceId: string;
210
- }
211
- /**
212
- * Bank model type
213
- */
214
- interface BankBE extends BaseEntity {
215
- accountNumber: string;
216
- accountTitle: string;
217
- bankAddress?: string;
218
- bankName: string;
219
- enabled: boolean;
220
- iban?: string;
221
- isDefault: boolean;
222
- preferenceId: string;
223
- swiftCode?: string;
224
- }
225
- /**
226
- * Tax model type
227
- */
228
- interface TaxBE extends BaseEntity {
229
- description?: string;
230
- enabled: boolean;
231
- isDefault: boolean;
232
- preferenceId: string;
233
- taxName: string;
234
- taxRate: number;
235
- }
236
- /**
237
- * Branch model type
238
- */
239
- interface BranchBE extends BaseEntity {
240
- branchAddress: string;
241
- branchName: string;
242
- enabled: boolean;
243
- isDefault: boolean;
244
- personEmail: string;
245
- personName: string;
246
- personPhone: string;
247
- preferenceId: string;
248
- }
249
- /**
250
- * Currency model type
251
- */
252
- interface CurrencyBE extends BaseEntity {
253
- code: string;
254
- enabled: boolean;
255
- isDefault: boolean;
256
- label: string;
257
- preferenceId: string;
258
- }
259
- /**
260
- * Customer model type
261
- */
262
- interface CustomerBE extends BaseEntity {
263
- address?: string;
264
- city: string;
265
- country: string;
266
- email?: string;
267
- firstName: string;
268
- lastName: string;
269
- phone: string;
270
- }
271
- /**
272
- * RequestForm model type
273
- */
274
- interface RequestFormBE extends BaseEntity {
275
- businessType: string;
276
- companyName: string;
277
- companySize?: string;
278
- designation: string;
279
- firstName: string;
280
- headOffice?: string;
281
- lastName: string;
282
- phoneNumber: string;
283
- website?: string;
284
- workEmail: string;
285
- }
286
- /**
287
- * Lead model type
288
- */
289
- interface LeadBE extends BaseEntity {
290
- notes?: string;
291
- source: LEAD_SOURCE;
292
- status: LEAD_STATUS;
293
- type: LEAD_TYPE;
294
- }
295
- /**
296
- * Join table for QuoteInvoice and Product many-to-many relationship
297
- */
298
- interface QuotesInvoicesOnStellarProducts {
299
- meta?: any;
300
- productId: string;
301
- quantity: number;
302
- quoteInvoiceId: string;
303
- }
304
-
305
- export { type AppUserBE, type BankBE, type BranchBE, type CompanyBE, type ContactBE, type CurrencyBE, type CustomerBE, DISCOUNT_UNIT, type ExpenseBE, type ExpenseCategoryBE, GENDER, INVOICE_STATUS, LEAD_SOURCE, LEAD_STATUS, LEAD_TYPE, type LeadBE, type MenuOrderBE, PAYMENT_TYPE, type PaymentBE, type PaymentModeBE, type PreferenceBE, type ProductBE, type ProductCategoryBE, type ProfileBE, QUOTE_INVOICE_CATEGORY, QUOTE_INVOICE_MODE, QUOTE_STATUS, type QuoteInvoiceBE, type QuotesInvoicesOnStellarProducts, type RequestFormBE, type ServiceBE, type TaxBE };
@@ -1 +0,0 @@
1
- var a=Object.defineProperty;var y=Object.getOwnPropertyDescriptor;var l=Object.getOwnPropertyNames;var f=Object.prototype.hasOwnProperty;var b=(r,n)=>{for(var e in n)a(r,e,{get:n[e],enumerable:!0})},B=(r,n,e,o)=>{if(n&&typeof n=="object"||typeof n=="function")for(let i of l(n))!f.call(r,i)&&i!==e&&a(r,i,{get:()=>n[i],enumerable:!(o=y(n,i))||o.enumerable});return r};var A=r=>B(a({},"__esModule",{value:!0}),r);var C={};b(C,{DISCOUNT_UNIT:()=>E,GENDER:()=>g,INVOICE_STATUS:()=>p,LEAD_SOURCE:()=>N,LEAD_STATUS:()=>I,LEAD_TYPE:()=>x,PAYMENT_TYPE:()=>u,QUOTE_INVOICE_CATEGORY:()=>c,QUOTE_INVOICE_MODE:()=>d,QUOTE_STATUS:()=>m});module.exports=A(C);var g=(e=>(e.MALE="MALE",e.FEMALE="FEMALE",e))(g||{}),c=(e=>(e.QUOTE="QUOTE",e.INVOICE="INVOICE",e))(c||{}),d=(e=>(e.COMPANY="COMPANY",e.CUSTOMER="CUSTOMER",e))(d||{}),E=(e=>(e.FIXED_VALUE="FIXED_VALUE",e.PERCENTAGE_VALUE="PERCENTAGE_VALUE",e))(E||{}),p=(e=>(e.UNPAID="UNPAID",e.PAID="PAID",e))(p||{}),m=(s=>(s.DRAFT="DRAFT",s.PENDING="PENDING",s.SENT="SENT",s.ACCEPTED="ACCEPTED",s.DECLINED="DECLINED",s))(m||{}),u=(e=>(e.FULL_AMOUNT="FULL_AMOUNT",e.PARTIAL_AMOUNT="PARTIAL_AMOUNT",e))(u||{}),N=(t=>(t.WEBSITE="WEBSITE",t.SOCIAL_MEDIA="SOCIAL_MEDIA",t.LINKEDIN="LINKEDIN",t.PROFESSIONAL_NETWORK="PROFESSIONAL_NETWORK",t.CUSTOMER_REFERRAL="CUSTOMER_REFERRAL",t.SALES="SALES",t.ADVERTISING="ADVERTISING",t.FRIEND="FRIEND",t.OTHER="OTHER",t))(N||{}),x=(e=>(e.COMPANY="COMPANY",e.CONTACT="CONTACT",e))(x||{}),I=(t=>(t.NEW="NEW",t.ASSIGNED="ASSIGNED",t.IN_NEGOTIATION="IN_NEGOTIATION",t.ON_HOLD="ON_HOLD",t.WON="WON",t.LOOSE="LOOSE",t.CANCELLED="CANCELLED",t.DRAFT="DRAFT",t.WAITING="WAITING",t))(I||{});0&&(module.exports={DISCOUNT_UNIT,GENDER,INVOICE_STATUS,LEAD_SOURCE,LEAD_STATUS,LEAD_TYPE,PAYMENT_TYPE,QUOTE_INVOICE_CATEGORY,QUOTE_INVOICE_MODE,QUOTE_STATUS});
@@ -1,3 +0,0 @@
1
- export { BaseEntity, LS_KEYS } from './common.js';
2
- export { AppUserBE, BankBE, BranchBE, CompanyBE, ContactBE, CurrencyBE, CustomerBE, DISCOUNT_UNIT, ExpenseBE, ExpenseCategoryBE, GENDER, INVOICE_STATUS, LEAD_SOURCE, LEAD_STATUS, LEAD_TYPE, LeadBE, MenuOrderBE, PAYMENT_TYPE, PaymentBE, PaymentModeBE, PreferenceBE, ProductBE, ProductCategoryBE, ProfileBE, QUOTE_INVOICE_CATEGORY, QUOTE_INVOICE_MODE, QUOTE_STATUS, QuoteInvoiceBE, QuotesInvoicesOnStellarProducts, RequestFormBE, ServiceBE, TaxBE } from './erp.js';
3
- export { POSCategoryBE, POSCustomerBE, POSDiscountBE, POSOrderBE, POSOrderItemBE, POSPaymentBE, POSProductBE, POSProductVariantBE, POSRegisterBE, POSReservationBE, POSShiftBE, POSStoreBE, POSTableBE, POSTaxBE, POS_DISCOUNT_TYPE, POS_ORDER_STATUS, POS_PAYMENT_METHOD_TYPE, POS_PAYMENT_STATUS, POS_REGISTER_STATUS, POS_RESERVATION_STATUS, POS_SHIFT_STATUS, POS_TABLE_STATUS, POS_TAX_TYPE } from './pos.js';
@@ -1 +0,0 @@
1
- var a=Object.defineProperty;var b=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var d=Object.prototype.hasOwnProperty;var t=(f,r,p,x)=>{if(r&&typeof r=="object"||typeof r=="function")for(let m of c(r))!d.call(f,m)&&m!==p&&a(f,m,{get:()=>r[m],enumerable:!(x=b(r,m))||x.enumerable});return f},e=(f,r,p)=>(t(f,r,"default"),p&&t(p,r,"default"));var g=f=>t(a({},"__esModule",{value:!0}),f);var o={};module.exports=g(o);e(o,require("./common"),module.exports);e(o,require("./erp"),module.exports);e(o,require("./pos"),module.exports);0&&(module.exports={...require("./common"),...require("./erp"),...require("./pos")});
@@ -1,179 +0,0 @@
1
- import { BaseEntity } from './common.js';
2
-
3
- declare enum POS_ORDER_STATUS {
4
- OPEN = "OPEN",
5
- CLOSED = "CLOSED",
6
- CANCELLED = "CANCELLED",
7
- REFUNDED = "REFUNDED"
8
- }
9
- declare enum POS_PAYMENT_STATUS {
10
- PENDING = "PENDING",
11
- PAID = "PAID",
12
- FAILED = "FAILED",
13
- REFUNDED = "REFUNDED"
14
- }
15
- declare enum POS_PAYMENT_METHOD_TYPE {
16
- CASH = "CASH",
17
- CARD = "CARD",
18
- GIFT_CARD = "GIFT_CARD",
19
- MOBILE_WALLET = "MOBILE_WALLET",
20
- OTHER = "OTHER"
21
- }
22
- declare enum POS_REGISTER_STATUS {
23
- ACTIVE = "ACTIVE",
24
- INACTIVE = "INACTIVE"
25
- }
26
- declare enum POS_TAX_TYPE {
27
- EXCLUSIVE = "EXCLUSIVE",
28
- INCLUSIVE = "INCLUSIVE"
29
- }
30
- declare enum POS_TABLE_STATUS {
31
- AVAILABLE = "AVAILABLE",
32
- OCCUPIED = "OCCUPIED",
33
- RESERVED = "RESERVED"
34
- }
35
- declare enum POS_RESERVATION_STATUS {
36
- PENDING = "PENDING",
37
- CONFIRMED = "CONFIRMED",
38
- CANCELLED = "CANCELLED",
39
- COMPLETED = "COMPLETED"
40
- }
41
- declare enum POS_SHIFT_STATUS {
42
- OPEN = "OPEN",
43
- CLOSED = "CLOSED"
44
- }
45
- declare enum POS_DISCOUNT_TYPE {
46
- FIXED = "FIXED",
47
- PERCENTAGE = "PERCENTAGE"
48
- }
49
- interface POSStoreBE extends BaseEntity {
50
- name: string;
51
- code?: string;
52
- address?: string;
53
- phone?: string;
54
- email?: string;
55
- currency: string;
56
- meta?: any;
57
- enabled: boolean;
58
- }
59
- interface POSRegisterBE extends BaseEntity {
60
- name: string;
61
- storeId: string;
62
- status: POS_REGISTER_STATUS;
63
- meta?: any;
64
- }
65
- interface POSShiftBE extends BaseEntity {
66
- registerId: string;
67
- openedByUserId?: string;
68
- openedAt: Date;
69
- closedAt?: Date;
70
- openingAmount: number;
71
- closingAmount?: number;
72
- status: POS_SHIFT_STATUS;
73
- meta?: any;
74
- }
75
- interface POSCategoryBE extends BaseEntity {
76
- name: string;
77
- description?: string;
78
- storeId: string;
79
- parentId?: string;
80
- meta?: any;
81
- }
82
- interface POSProductBE extends BaseEntity {
83
- sku?: string;
84
- name: string;
85
- description?: string;
86
- price: number;
87
- cost?: number;
88
- stock: number;
89
- storeId: string;
90
- categoryId?: string;
91
- meta?: any;
92
- }
93
- interface POSProductVariantBE extends BaseEntity {
94
- productId: string;
95
- name: string;
96
- sku?: string;
97
- price: number;
98
- stock: number;
99
- meta?: any;
100
- }
101
- interface POSCustomerBE extends BaseEntity {
102
- name: string;
103
- email?: string;
104
- phone?: string;
105
- storeId: string;
106
- loyaltyPoints: number;
107
- meta?: any;
108
- }
109
- interface POSTableBE extends BaseEntity {
110
- storeId: string;
111
- name: string;
112
- seats: number;
113
- status: POS_TABLE_STATUS;
114
- meta?: any;
115
- }
116
- interface POSReservationBE extends BaseEntity {
117
- tableId: string;
118
- customerId: string;
119
- startAt: Date;
120
- endAt: Date;
121
- partySize: number;
122
- status: POS_RESERVATION_STATUS;
123
- meta?: any;
124
- }
125
- interface POSOrderBE extends BaseEntity {
126
- orderNumber: string;
127
- storeId: string;
128
- registerId?: string;
129
- customerId?: string;
130
- tableId?: string;
131
- status: POS_ORDER_STATUS;
132
- paymentStatus: POS_PAYMENT_STATUS;
133
- subTotal: number;
134
- taxTotal: number;
135
- discountTotal: number;
136
- serviceCharge: number;
137
- total: number;
138
- note?: string;
139
- meta?: any;
140
- }
141
- interface POSOrderItemBE extends BaseEntity {
142
- orderId: string;
143
- productId?: string;
144
- variantId?: string;
145
- name: string;
146
- quantity: number;
147
- unitPrice: number;
148
- total: number;
149
- taxAmount: number;
150
- discountAmount: number;
151
- meta?: any;
152
- }
153
- interface POSPaymentBE extends BaseEntity {
154
- orderId: string;
155
- amount: number;
156
- method: POS_PAYMENT_METHOD_TYPE;
157
- methodLabel?: string;
158
- status: POS_PAYMENT_STATUS;
159
- transactionRef?: string;
160
- processedAt?: Date;
161
- meta?: any;
162
- }
163
- interface POSTaxBE extends BaseEntity {
164
- name: string;
165
- rate: number;
166
- type: POS_TAX_TYPE;
167
- isDefault: boolean;
168
- storeId: string;
169
- meta?: any;
170
- }
171
- interface POSDiscountBE extends BaseEntity {
172
- name: string;
173
- type: POS_DISCOUNT_TYPE;
174
- value: number;
175
- storeId: string;
176
- meta?: any;
177
- }
178
-
179
- export { type POSCategoryBE, type POSCustomerBE, type POSDiscountBE, type POSOrderBE, type POSOrderItemBE, type POSPaymentBE, type POSProductBE, type POSProductVariantBE, type POSRegisterBE, type POSReservationBE, type POSShiftBE, type POSStoreBE, type POSTableBE, type POSTaxBE, POS_DISCOUNT_TYPE, POS_ORDER_STATUS, POS_PAYMENT_METHOD_TYPE, POS_PAYMENT_STATUS, POS_REGISTER_STATUS, POS_RESERVATION_STATUS, POS_SHIFT_STATUS, POS_TABLE_STATUS, POS_TAX_TYPE };
@@ -1 +0,0 @@
1
- var i=Object.defineProperty;var c=Object.getOwnPropertyDescriptor;var x=Object.getOwnPropertyNames;var C=Object.prototype.hasOwnProperty;var D=(r,n)=>{for(var e in n)i(r,e,{get:n[e],enumerable:!0})},b=(r,n,e,s)=>{if(n&&typeof n=="object"||typeof n=="function")for(let t of x(n))!C.call(r,t)&&t!==e&&i(r,t,{get:()=>n[t],enumerable:!(s=c(n,t))||s.enumerable});return r};var B=r=>b(i({},"__esModule",{value:!0}),r);var L={};D(L,{POS_DISCOUNT_TYPE:()=>y,POS_ORDER_STATUS:()=>o,POS_PAYMENT_METHOD_TYPE:()=>E,POS_PAYMENT_STATUS:()=>m,POS_REGISTER_STATUS:()=>u,POS_RESERVATION_STATUS:()=>I,POS_SHIFT_STATUS:()=>p,POS_TABLE_STATUS:()=>g,POS_TAX_TYPE:()=>d});module.exports=B(L);var o=(t=>(t.OPEN="OPEN",t.CLOSED="CLOSED",t.CANCELLED="CANCELLED",t.REFUNDED="REFUNDED",t))(o||{}),m=(t=>(t.PENDING="PENDING",t.PAID="PAID",t.FAILED="FAILED",t.REFUNDED="REFUNDED",t))(m||{}),E=(a=>(a.CASH="CASH",a.CARD="CARD",a.GIFT_CARD="GIFT_CARD",a.MOBILE_WALLET="MOBILE_WALLET",a.OTHER="OTHER",a))(E||{}),u=(e=>(e.ACTIVE="ACTIVE",e.INACTIVE="INACTIVE",e))(u||{}),d=(e=>(e.EXCLUSIVE="EXCLUSIVE",e.INCLUSIVE="INCLUSIVE",e))(d||{}),g=(s=>(s.AVAILABLE="AVAILABLE",s.OCCUPIED="OCCUPIED",s.RESERVED="RESERVED",s))(g||{}),I=(t=>(t.PENDING="PENDING",t.CONFIRMED="CONFIRMED",t.CANCELLED="CANCELLED",t.COMPLETED="COMPLETED",t))(I||{}),p=(e=>(e.OPEN="OPEN",e.CLOSED="CLOSED",e))(p||{}),y=(e=>(e.FIXED="FIXED",e.PERCENTAGE="PERCENTAGE",e))(y||{});0&&(module.exports={POS_DISCOUNT_TYPE,POS_ORDER_STATUS,POS_PAYMENT_METHOD_TYPE,POS_PAYMENT_STATUS,POS_REGISTER_STATUS,POS_RESERVATION_STATUS,POS_SHIFT_STATUS,POS_TABLE_STATUS,POS_TAX_TYPE});
@@ -1,16 +0,0 @@
1
- /**
2
- * A util function to generate sitemap for storybook app
3
- *
4
- * @param fs any
5
- * @param stories Object
6
- * @param baseUrl string
7
- * @returns an auto generated storybook sitemap
8
- * @author Taimoor Khan
9
- * @remarks React Commons Collection, React UI Collection,
10
- * React Icon Collection, React Logo Collection,
11
- * React Emoji Collection
12
- */
13
- /** End file docs */
14
- declare const generateSitemap: (baseUrl: string, fs: any, stories: Record<string, unknown>) => void;
15
-
16
- export { generateSitemap };
@@ -1,17 +0,0 @@
1
- var o=Object.defineProperty;var a=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var m=Object.prototype.hasOwnProperty;var p=(t,e)=>{for(var r in e)o(t,r,{get:e[r],enumerable:!0})},d=(t,e,r,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let l of c(e))!m.call(t,l)&&l!==r&&o(t,l,{get:()=>e[l],enumerable:!(i=a(e,l))||i.enumerable});return t};var g=t=>d(o({},"__esModule",{value:!0}),t);var w={};p(w,{generateSitemap:()=>h});module.exports=g(w);const h=(t,e,r)=>{let i="";Object.keys(r).forEach(n=>{i+=`
2
- <url>
3
- <loc>${t}${n}</loc>
4
- <changefreq>weekly</changefreq>
5
- <priority>0.5</priority>
6
- <lastmod>2020-10-10</lastmod>
7
- </url>`});const s=`<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
8
- <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml" >
9
- <url>
10
- <loc>${t.split("?")[0]}</loc>
11
- <changefreq>daily</changefreq>
12
- <priority>1</priority>
13
- <lastmod>2020-10-10</lastmod>
14
- </url>
15
- ${i}
16
- </urlset>
17
- `;e.writeFileSync("./sitemap.xml",s)};0&&(module.exports={generateSitemap});
@@ -1,148 +0,0 @@
1
- declare const parameters: {
2
- actions: {
3
- argTypesRegex: string;
4
- };
5
- backgrounds: {
6
- values: {
7
- name: string;
8
- value: string;
9
- }[];
10
- };
11
- controls: {
12
- expanded: boolean;
13
- };
14
- viewport: {
15
- viewports: {
16
- mobileSMin: {
17
- name: string;
18
- styles: {
19
- height: string;
20
- width: string;
21
- };
22
- type: string;
23
- };
24
- mobileSMax: {
25
- name: string;
26
- styles: {
27
- height: string;
28
- width: string;
29
- };
30
- type: string;
31
- };
32
- mobileMMin: {
33
- name: string;
34
- styles: {
35
- height: string;
36
- width: string;
37
- };
38
- type: string;
39
- };
40
- mobileMMax: {
41
- name: string;
42
- styles: {
43
- height: string;
44
- width: string;
45
- };
46
- type: string;
47
- };
48
- mobileLMin: {
49
- name: string;
50
- styles: {
51
- height: string;
52
- width: string;
53
- };
54
- type: string;
55
- };
56
- mobileLMax: {
57
- name: string;
58
- styles: {
59
- height: string;
60
- width: string;
61
- };
62
- type: string;
63
- };
64
- tabletMin: {
65
- name: string;
66
- styles: {
67
- height: string;
68
- width: string;
69
- };
70
- type: string;
71
- };
72
- tabletMax: {
73
- name: string;
74
- styles: {
75
- height: string;
76
- width: string;
77
- };
78
- type: string;
79
- };
80
- laptopMin: {
81
- name: string;
82
- styles: {
83
- height: string;
84
- width: string;
85
- };
86
- type: string;
87
- };
88
- laptopMax: {
89
- name: string;
90
- styles: {
91
- height: string;
92
- width: string;
93
- };
94
- type: string;
95
- };
96
- laptopLMin: {
97
- name: string;
98
- styles: {
99
- height: string;
100
- width: string;
101
- };
102
- type: string;
103
- };
104
- laptopLMax: {
105
- name: string;
106
- styles: {
107
- height: string;
108
- width: string;
109
- };
110
- type: string;
111
- };
112
- desktop: {
113
- name: string;
114
- styles: {
115
- height: string;
116
- width: string;
117
- };
118
- type: string;
119
- };
120
- };
121
- };
122
- };
123
- declare const globalTypes: {
124
- theme: {
125
- name: string;
126
- description: string;
127
- defaultValue: string;
128
- toolbar: {
129
- icon: string;
130
- items: string[];
131
- };
132
- };
133
- locale: {
134
- name: string;
135
- description: string;
136
- defaultValue: string;
137
- toolbar: {
138
- icon: string;
139
- items: {
140
- value: string;
141
- right: string;
142
- title: string;
143
- }[];
144
- };
145
- };
146
- };
147
-
148
- export { globalTypes, parameters };
@@ -1 +0,0 @@
1
- var o=Object.defineProperty;var n=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var c=Object.prototype.hasOwnProperty;var p=(t,e)=>{for(var l in e)o(t,l,{get:e[l],enumerable:!0})},u=(t,e,l,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of s(e))!c.call(t,a)&&a!==l&&o(t,a,{get:()=>e[a],enumerable:!(i=n(e,a))||i.enumerable});return t};var g=t=>u(o({},"__esModule",{value:!0}),t);var v={};p(v,{globalTypes:()=>m,parameters:()=>h});module.exports=g(v);var r=require("./responsive-screens");const h={actions:{argTypesRegex:"^on[A-Z].*"},backgrounds:{values:[{name:"twitter",value:"#00aced"},{name:"facebook",value:"#3b5998"}]},controls:{expanded:!0},viewport:{viewports:{...r.responsiveScreens}}},m={theme:{name:"Theme",description:"Global theme for components",defaultValue:"light",toolbar:{icon:"circlehollow",items:["light","dark"]}},locale:{name:"Locale",description:"Internationalization locale",defaultValue:"en",toolbar:{icon:"globe",items:[{value:"en",right:"\u{1F1FA}\u{1F1F8}",title:"English"},{value:"fr",right:"\u{1F1EB}\u{1F1F7}",title:"Fran\xE7ais"},{value:"es",right:"\u{1F1EA}\u{1F1F8}",title:"Espa\xF1ol"},{value:"zh",right:"\u{1F1E8}\u{1F1F3}",title:"\u4E2D\u6587"},{value:"kr",right:"\u{1F1F0}\u{1F1F7}",title:"\uD55C\uAD6D\uC5B4"}]}}};0&&(module.exports={globalTypes,parameters});
@@ -1,12 +0,0 @@
1
- /**
2
- * A util function to print React Story for Logos
3
- *
4
- * @param fs any
5
- * @returns an auto generated logo story file
6
- * @author Taimoor Khan
7
- * @remarks React Logo Collection
8
- */
9
- /** End file docs */
10
- declare const generateReactDesignScript: (fs: any) => void;
11
-
12
- export { generateReactDesignScript };