qaema-ui 0.0.26 → 0.0.28

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 (214) hide show
  1. package/dist/_virtual/index.js +5 -5
  2. package/dist/_virtual/index2.js +4 -4
  3. package/dist/_virtual/index3.js +5 -5
  4. package/dist/_virtual/index4.js +4 -4
  5. package/dist/assets/icons/RiyalIcon.d.ts +1 -1
  6. package/dist/components/AccordionCard.d.ts +1 -1
  7. package/dist/components/ActionInput.d.ts +2 -2
  8. package/dist/components/AddOnCardInput.d.ts +2 -2
  9. package/dist/components/Alert.d.ts +1 -1
  10. package/dist/components/AmountItem.d.ts +2 -2
  11. package/dist/components/Badge.d.ts +3 -3
  12. package/dist/components/Button.d.ts +3 -2
  13. package/dist/components/Card.d.ts +1 -1
  14. package/dist/components/CardsList.d.ts +2 -2
  15. package/dist/components/Chart.d.ts +1 -1
  16. package/dist/components/ChartLegend/ChartLegend.d.ts +2 -2
  17. package/dist/components/ChartLegend/ChartLegend.js +8 -7
  18. package/dist/components/ChartLegend/PieChartLegend.d.ts +1 -1
  19. package/dist/components/ChartLegend/styles.d.ts +5 -5
  20. package/dist/components/CollapsableCard.d.ts +1 -1
  21. package/dist/components/ConfigList.d.ts +1 -1
  22. package/dist/components/ConfirmationPopup.d.ts +1 -1
  23. package/dist/components/DatePicker.d.ts +1 -1
  24. package/dist/components/DatePicker.js +1 -1
  25. package/dist/components/Divider.d.ts +2 -2
  26. package/dist/components/Draggable.d.ts +1 -1
  27. package/dist/components/DropDown.d.ts +1 -1
  28. package/dist/components/DropDownWithTable/DropDownWithTable.d.ts +1 -1
  29. package/dist/components/DropDownWithTable/DropDownWithTable.js +69 -64
  30. package/dist/components/DropDownWithTable/DropDownWithTable.types.d.ts +2 -1
  31. package/dist/components/DropDownWithTable/Table/Table.d.ts +1 -1
  32. package/dist/components/DropDownWithTable/Table/Table.js +66 -66
  33. package/dist/components/DropDownWithTable/Table/Table.styles.d.ts +27 -27
  34. package/dist/components/DropDownWithTable/Table/components/CellComponents.d.ts +6 -6
  35. package/dist/components/DropDownWithTable/Table/components/CellComponents.js +82 -82
  36. package/dist/components/DropDownWithTable/Table/components/TableHead.d.ts +1 -1
  37. package/dist/components/FileDownloadCard.d.ts +1 -1
  38. package/dist/components/Filter.d.ts +14 -14
  39. package/dist/components/FilterActiveBar.d.ts +1 -1
  40. package/dist/components/Header.d.ts +3 -2
  41. package/dist/components/HelpCard.d.ts +2 -2
  42. package/dist/components/Hint.d.ts +2 -2
  43. package/dist/components/HorizontalChart.d.ts +2 -2
  44. package/dist/components/Image.d.ts +2 -2
  45. package/dist/components/InfoCard.d.ts +1 -1
  46. package/dist/components/InfoItem.d.ts +1 -1
  47. package/dist/components/InputField.d.ts +2 -2
  48. package/dist/components/Layout.d.ts +4 -3
  49. package/dist/components/Legend.d.ts +1 -1
  50. package/dist/components/Link.d.ts +1 -1
  51. package/dist/components/ListToolbar.d.ts +5 -5
  52. package/dist/components/MethodCard.d.ts +1 -1
  53. package/dist/components/Modal.d.ts +2 -2
  54. package/dist/components/ModalWithRequestCard.d.ts +2 -2
  55. package/dist/components/NavItem.d.ts +2 -2
  56. package/dist/components/NavigationPanel.d.ts +2 -2
  57. package/dist/components/NextActionBox.d.ts +1 -1
  58. package/dist/components/NextActionBox.js +104 -0
  59. package/dist/components/NumberInput.d.ts +1 -1
  60. package/dist/components/OTP.d.ts +1 -1
  61. package/dist/components/OptionCardGroup.d.ts +2 -2
  62. package/dist/components/OptionCardGroup.js +16 -15
  63. package/dist/components/Pagination.d.ts +1 -1
  64. package/dist/components/PasswordInputField.d.ts +2 -2
  65. package/dist/components/PaymentLinkDetails.d.ts +1 -1
  66. package/dist/components/PaymentTooltip.d.ts +2 -2
  67. package/dist/components/PhoneInputField.d.ts +2 -2
  68. package/dist/components/QuickActionItem.d.ts +2 -2
  69. package/dist/components/QuickStartCard.d.ts +4 -4
  70. package/dist/components/RadioInput.d.ts +1 -1
  71. package/dist/components/ReconciliationGroups.d.ts +1 -1
  72. package/dist/components/RequestCard.d.ts +7 -7
  73. package/dist/components/RequestSummaryCard.d.ts +6 -6
  74. package/dist/components/SectionHeader.d.ts +1 -1
  75. package/dist/components/SideMenuLinks.d.ts +1 -1
  76. package/dist/components/Sidemenu.d.ts +2 -2
  77. package/dist/components/Spinner.d.ts +1 -1
  78. package/dist/components/StatCard.d.ts +1 -1
  79. package/dist/components/StatIndicator.d.ts +1 -1
  80. package/dist/components/StatusFeedback.d.ts +2 -2
  81. package/dist/components/StepperProcess.d.ts +391 -571
  82. package/dist/components/SummaryCard.d.ts +1 -1
  83. package/dist/components/Table/Table.d.ts +1 -1
  84. package/dist/components/Table/Table.styles.d.ts +27 -27
  85. package/dist/components/Table/components/CellComponents.d.ts +6 -6
  86. package/dist/components/Table/components/TableHead.d.ts +1 -1
  87. package/dist/components/Tabs.d.ts +1 -1
  88. package/dist/components/TextArea.d.ts +1 -1
  89. package/dist/components/ThemeProvider.d.ts +2 -2
  90. package/dist/components/ToastNotification.d.ts +2 -2
  91. package/dist/components/Toggle.d.ts +2 -2
  92. package/dist/components/ToggleForm.d.ts +2 -2
  93. package/dist/components/Typography.d.ts +3 -3
  94. package/dist/components/index.d.ts +1 -1
  95. package/dist/hooks/useFormikInput.d.ts +11 -11
  96. package/dist/hooks/useTypographyVariant.d.ts +1 -1
  97. package/dist/i18n/i18n.d.ts +3 -3
  98. package/dist/index.js +173 -171
  99. package/dist/node_modules/@react-spring/core/dist/react-spring_core.modern.js +1 -1
  100. package/dist/node_modules/@restart/ui/esm/ImperativeTransition.js +1 -0
  101. package/dist/node_modules/d3-format/src/defaultLocale.js +4 -3
  102. package/dist/node_modules/d3-format/src/formatDecimal.js +4 -4
  103. package/dist/node_modules/d3-format/src/formatPrefixAuto.js +5 -5
  104. package/dist/node_modules/d3-format/src/locale.js +37 -37
  105. package/dist/node_modules/d3-shape/src/symbol/circle.js +3 -3
  106. package/dist/node_modules/d3-time-format/src/defaultLocale.js +6 -5
  107. package/dist/node_modules/d3-time-format/src/locale.js +14 -14
  108. package/dist/node_modules/date-fns/addDays.js +3 -2
  109. package/dist/node_modules/date-fns/addMonths.js +9 -8
  110. package/dist/node_modules/date-fns/constructFrom.js +2 -1
  111. package/dist/node_modules/date-fns/differenceInCalendarDays.js +3 -2
  112. package/dist/node_modules/date-fns/endOfMonth.js +4 -3
  113. package/dist/node_modules/date-fns/endOfWeek.js +5 -4
  114. package/dist/node_modules/date-fns/format.js +1 -0
  115. package/dist/node_modules/date-fns/getDayOfYear.js +4 -3
  116. package/dist/node_modules/date-fns/getDaysInMonth.js +6 -5
  117. package/dist/node_modules/date-fns/getDefaultOptions.js +3 -2
  118. package/dist/node_modules/date-fns/getISODay.js +6 -5
  119. package/dist/node_modules/date-fns/getISOWeek.js +5 -4
  120. package/dist/node_modules/date-fns/getISOWeekYear.js +1 -0
  121. package/dist/node_modules/date-fns/getWeek.js +6 -5
  122. package/dist/node_modules/date-fns/getWeekYear.js +1 -0
  123. package/dist/node_modules/date-fns/getYear.js +3 -2
  124. package/dist/node_modules/date-fns/isAfter.js +3 -2
  125. package/dist/node_modules/date-fns/isBefore.js +4 -3
  126. package/dist/node_modules/date-fns/isDate.js +1 -0
  127. package/dist/node_modules/date-fns/isSameDay.js +9 -8
  128. package/dist/node_modules/date-fns/isSameMonth.js +6 -5
  129. package/dist/node_modules/date-fns/isValid.js +5 -4
  130. package/dist/node_modules/date-fns/locale/ar-SA.js +7 -6
  131. package/dist/node_modules/date-fns/locale/en-US.js +9 -8
  132. package/dist/node_modules/date-fns/parse.js +11 -10
  133. package/dist/node_modules/date-fns/setDay.js +7 -6
  134. package/dist/node_modules/date-fns/setISODay.js +4 -3
  135. package/dist/node_modules/date-fns/setISOWeek.js +5 -4
  136. package/dist/node_modules/date-fns/setMonth.js +6 -5
  137. package/dist/node_modules/date-fns/setWeek.js +4 -3
  138. package/dist/node_modules/date-fns/setYear.js +5 -4
  139. package/dist/node_modules/date-fns/startOfDay.js +5 -4
  140. package/dist/node_modules/date-fns/startOfISOWeek.js +3 -2
  141. package/dist/node_modules/date-fns/startOfISOWeekYear.js +6 -5
  142. package/dist/node_modules/date-fns/startOfMonth.js +1 -0
  143. package/dist/node_modules/date-fns/startOfWeek.js +8 -7
  144. package/dist/node_modules/date-fns/startOfWeekYear.js +5 -4
  145. package/dist/node_modules/date-fns/startOfYear.js +1 -0
  146. package/dist/node_modules/date-fns/subMonths.js +4 -3
  147. package/dist/node_modules/date-fns/toDate.js +4 -3
  148. package/dist/node_modules/date-fns/transpose.js +3 -2
  149. package/dist/node_modules/fast-equals/dist/esm/index.js +298 -0
  150. package/dist/node_modules/react-bootstrap/esm/Alert.js +1 -1
  151. package/dist/node_modules/react-bootstrap/esm/AlertHeading.js +1 -1
  152. package/dist/node_modules/react-bootstrap/esm/AlertLink.js +1 -1
  153. package/dist/node_modules/react-bootstrap/esm/Button.js +1 -1
  154. package/dist/node_modules/react-bootstrap/esm/CloseButton.js +2 -2
  155. package/dist/node_modules/react-bootstrap/esm/Col.js +1 -1
  156. package/dist/node_modules/react-bootstrap/esm/Collapse.js +1 -1
  157. package/dist/node_modules/react-bootstrap/esm/Dropdown.js +1 -1
  158. package/dist/node_modules/react-bootstrap/esm/DropdownDivider.js +1 -1
  159. package/dist/node_modules/react-bootstrap/esm/DropdownHeader.js +1 -1
  160. package/dist/node_modules/react-bootstrap/esm/DropdownItem.js +1 -1
  161. package/dist/node_modules/react-bootstrap/esm/DropdownItemText.js +1 -1
  162. package/dist/node_modules/react-bootstrap/esm/DropdownMenu.js +1 -1
  163. package/dist/node_modules/react-bootstrap/esm/DropdownToggle.js +1 -1
  164. package/dist/node_modules/react-bootstrap/esm/Fade.js +1 -1
  165. package/dist/node_modules/react-bootstrap/esm/Feedback.js +2 -2
  166. package/dist/node_modules/react-bootstrap/esm/FloatingLabel.js +1 -1
  167. package/dist/node_modules/react-bootstrap/esm/Form.js +2 -2
  168. package/dist/node_modules/react-bootstrap/esm/FormCheck.js +1 -1
  169. package/dist/node_modules/react-bootstrap/esm/FormCheckInput.js +1 -1
  170. package/dist/node_modules/react-bootstrap/esm/FormCheckLabel.js +1 -1
  171. package/dist/node_modules/react-bootstrap/esm/FormControl.js +1 -1
  172. package/dist/node_modules/react-bootstrap/esm/FormFloating.js +1 -1
  173. package/dist/node_modules/react-bootstrap/esm/FormLabel.js +1 -1
  174. package/dist/node_modules/react-bootstrap/esm/FormRange.js +1 -1
  175. package/dist/node_modules/react-bootstrap/esm/FormSelect.js +1 -1
  176. package/dist/node_modules/react-bootstrap/esm/FormText.js +1 -1
  177. package/dist/node_modules/react-bootstrap/esm/Image.js +2 -2
  178. package/dist/node_modules/react-bootstrap/esm/Nav.js +1 -1
  179. package/dist/node_modules/react-bootstrap/esm/NavItem.js +1 -1
  180. package/dist/node_modules/react-bootstrap/esm/NavLink.js +1 -1
  181. package/dist/node_modules/react-bootstrap/esm/Navbar.js +1 -1
  182. package/dist/node_modules/react-bootstrap/esm/NavbarBrand.js +1 -1
  183. package/dist/node_modules/react-bootstrap/esm/NavbarText.js +1 -1
  184. package/dist/node_modules/react-bootstrap/esm/NavbarToggle.js +1 -1
  185. package/dist/node_modules/react-bootstrap/esm/Offcanvas.js +1 -1
  186. package/dist/node_modules/react-bootstrap/esm/OffcanvasBody.js +1 -1
  187. package/dist/node_modules/react-bootstrap/esm/OffcanvasHeader.js +1 -1
  188. package/dist/node_modules/react-bootstrap/esm/OffcanvasTitle.js +1 -1
  189. package/dist/node_modules/react-bootstrap/esm/OffcanvasToggling.js +1 -1
  190. package/dist/node_modules/react-bootstrap/esm/Toast.js +1 -1
  191. package/dist/node_modules/react-bootstrap/esm/ToastBody.js +1 -1
  192. package/dist/node_modules/react-bootstrap/esm/ToastHeader.js +1 -1
  193. package/dist/node_modules/react-bootstrap/esm/divWithClassName.js +1 -1
  194. package/dist/node_modules/react-helmet-async/lib/index.esm.js +2 -2
  195. package/dist/node_modules/react-smooth/es6/Animate.js +2 -2
  196. package/dist/node_modules/react-transition-group/esm/Transition.js +1 -1
  197. package/dist/node_modules/react-transition-group/esm/utils/PropTypes.js +1 -1
  198. package/dist/node_modules/recharts/es6/component/Cursor.js +2 -2
  199. package/dist/node_modules/recharts/es6/util/ChartUtils.js +2 -2
  200. package/dist/node_modules/recharts-scale/es6/getNiceTickValues.js +7 -7
  201. package/dist/node_modules/victory-vendor/es/d3-scale.js +40 -40
  202. package/dist/styles/Currency.styles.d.ts +1 -1
  203. package/dist/styles/Dropdown.styles.d.ts +30 -29
  204. package/dist/styles/Dropdown.styles.js +18 -11
  205. package/dist/styles/Input.styles.d.ts +1 -1
  206. package/dist/styles/Scrollbar.styles.d.ts +1 -1
  207. package/dist/styles/StatusFeedback.styles.d.ts +7 -7
  208. package/dist/theme/theme.d.ts +1 -1
  209. package/package.json +2 -3
  210. package/dist/i18n/locales/ar.json.d.ts +0 -55
  211. package/dist/i18n/locales/en.json.d.ts +0 -55
  212. package/dist/node_modules/fast-equals/dist/es/index.js +0 -324
  213. package/dist/node_modules/react-bootstrap/esm/Spinner.js +0 -26
  214. package/dist/theme/styled-components.d.ts +0 -5
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "qaema-ui",
3
3
  "private": false,
4
- "version": "0.0.26",
4
+ "version": "0.0.28",
5
5
  "type": "module",
6
6
  "publishConfig": {
7
7
  "access": "public"
@@ -19,7 +19,7 @@
19
19
  },
20
20
  "scripts": {
21
21
  "dev": "vite",
22
- "build": "tsc -b && vite build --mode production",
22
+ "build": "tsc -b --noEmit && vite build --mode production && tsc -p tsconfig.types.json",
23
23
  "preview": "vite preview",
24
24
  "type-check": "tsc -b --noEmit",
25
25
  "format": "prettier --write --ignore-unknown .",
@@ -86,7 +86,6 @@
86
86
  "typescript": "~5.8.3",
87
87
  "typescript-eslint": "^8.30.1",
88
88
  "vite": "^6.3.5",
89
- "vite-plugin-dts": "^4.5.3",
90
89
  "vite-tsconfig-paths": "^5.1.4"
91
90
  },
92
91
  "dependencies": {
@@ -1,55 +0,0 @@
1
- declare const _default: {
2
- "LOADING": "جارٍ التحميل",
3
- "OPTIONAL": "اختياري",
4
- "SET_DATE": "تعيين التاريخ",
5
- "DRAG_AND_DROP_TITLE": "اسحب وأفلت ملفاتك، أو انقر للتحميل",
6
- "DRAG_AND_DROP_DESCRIPTION": "يرجى تحميل ملفاتك بتنسيقات مدعومة (مثل JPG، PNG، PDF). يجب ألا يتجاوز حجم كل ملف 10 ميجابايت. يمكنك تحميل ما يصل إلى 5 ملفات لكل معاملة.",
7
- "BROWSE": "تصفح",
8
- "LBL_CONFIRM_DELETE": "تأكيد الحذف",
9
- "LBL_BEWARE_ABOUT_TO_DELETE": "أنت على وشك حذف العنصر التالي:",
10
- "LBL_CLICK_TO_DELETE": "انقر على حذف لتأكيد هذا الإجراء. لا يمكن التراجع عن هذا الإجراء.",
11
- "LBL_DELETE": "حذف",
12
- "SEARCH": "بحث",
13
- "FILTER": "تصفية",
14
- "EQUALS": "يساوي",
15
- "CONTAINS": "يحتوي",
16
- "LBL_APPLY": "تطبيق",
17
- "CANCEL": "إلغاء",
18
- "BETWEEN": "بين",
19
- "BEFORE": "قبل",
20
- "AFTER": "بعد",
21
- "LESS_THAN": "اقل من",
22
- "GREATER_THAN": "اكبر من",
23
- "LBL_IS": "يساوي",
24
- "UPDATE": "تحديث",
25
- "THANK_YOU": "شكراً لك!",
26
- "SOMETHING_WRONG": "حدث خطأ ما!",
27
- "SHOWING": "عرض",
28
- "OF": "من",
29
- "RESULTS": "نتائج",
30
- "NEXT": "التالي",
31
- "PREVIOUS": "السابق",
32
- "NOT_AVAILABLE": "غير متوفر",
33
- "CONFIRM": "تأكيد",
34
- "ACTION_NEEDED": "إجراء مطلوب",
35
- "NO_DATA_AVAILABLE": "لا توجد بيانات متاحة",
36
- "ACTIONS": "الإجراءات",
37
- "STEP": "الخطوة",
38
- "LBL_SELECT": "اختار",
39
- "PRESS_TO_SEARCH": "اضغط Enter أو أيقونة البحث للبحث",
40
- "ACTION_SUCCESS": "تم إكمال الإجراء بنجاح",
41
- "ACTION_FAILED": "فشل الإجراء",
42
- "HIDE_LATEST_TRANSACTIONS": "إخفاء آخر المعاملات",
43
- "SHOW_LATEST_TRANSACTIONS": "إظهار آخر المعاملات",
44
- "accepted": "مقبول",
45
- "rejected": "مرفوض",
46
- "submitted": "مقدم",
47
- "year": "سنة",
48
- "FILE_FORMAT_MESSAGE": "برجاء تحميل ملف بتنسيق صالح مثل (إلخ , JPG, PNG, PDF). ولا يجب أن يتعدى الملف 10 ميجا بايت",
49
- "NO_RESULTS_FOUND": "لا توجد نتائج متاحة",
50
- "LBL_EDIT": "تعديل",
51
- "SELECTED": "عناصر مختارة"
52
- }
53
- ;
54
-
55
- export default _default;
@@ -1,55 +0,0 @@
1
- declare const _default: {
2
- "LOADING": "Loading",
3
- "OPTIONAL": "Optional",
4
- "SET_DATE": "Set Date",
5
- "DRAG_AND_DROP_TITLE": "Drag and drop your files, or click to ",
6
- "DRAG_AND_DROP_DESCRIPTION": "Please upload your files in supported formats (e.g., JPG, PNG, PDF). Each file should not exceed 10MB. You may upload up to 5 files per transaction.",
7
- "BROWSE": "browse",
8
- "LBL_CONFIRM_DELETE": "Confirm Delete",
9
- "LBL_BEWARE_ABOUT_TO_DELETE": "You’re about to delete the following item:",
10
- "LBL_CLICK_TO_DELETE": "Click delete to confirm this action. This action cannot be undone.",
11
- "LBL_DELETE": "Delete",
12
- "SEARCH": "Search",
13
- "FILTER": "Filter",
14
- "EQUALS": "Equals",
15
- "CONTAINS": "Contains",
16
- "LBL_APPLY": "Apply",
17
- "CANCEL": "Cancel",
18
- "BETWEEN": "Between",
19
- "BEFORE": "Before",
20
- "AFTER": "After",
21
- "LESS_THAN": "Less than",
22
- "GREATER_THAN": "Greater than",
23
- "LBL_IS": "is",
24
- "UPDATE": "Update",
25
- "THANK_YOU": "Thank you!",
26
- "SOMETHING_WRONG": "Something went wrong!",
27
- "SHOWING": "Showing",
28
- "OF": "of",
29
- "RESULTS": "results",
30
- "NEXT": "Next",
31
- "PREVIOUS": "Prev",
32
- "NOT_AVAILABLE": "Not Available",
33
- "CONFIRM": "Confirm",
34
- "ACTION_NEEDED": "Action Needed",
35
- "NO_DATA_AVAILABLE": "No data available",
36
- "ACTIONS": "Actions",
37
- "STEP": "Step",
38
- "LBL_SELECT": "Select",
39
- "PRESS_TO_SEARCH": "Press Enter or tap the search icon to search",
40
- "ACTION_SUCCESS": "Action completed successfully",
41
- "ACTION_FAILED": "Action failed",
42
- "HIDE_LATEST_TRANSACTIONS": "Hide latest transactions",
43
- "SHOW_LATEST_TRANSACTIONS": "Show latest transactions",
44
- "accepted": "Accepted",
45
- "rejected": "Rejected",
46
- "submitted": "Submitted",
47
- "year": "Year",
48
- "FILE_FORMAT_MESSAGE": "Please upload your files in supported formats (e.g., JPG, PNG, PDF). Each file should not exceed 10MB.",
49
- "NO_RESULTS_FOUND": "No Results Found",
50
- "LBL_EDIT": "Edit",
51
- "SELECTED": "selected"
52
- }
53
- ;
54
-
55
- export default _default;
@@ -1,324 +0,0 @@
1
- const { getOwnPropertyNames: P, getOwnPropertySymbols: v } = Object, { hasOwnProperty: M } = Object.prototype;
2
- function I(e, r) {
3
- return function(t, o, a) {
4
- return e(t, o, a) && r(t, o, a);
5
- };
6
- }
7
- function _(e) {
8
- return function(n, t, o) {
9
- if (!n || !t || typeof n != "object" || typeof t != "object")
10
- return e(n, t, o);
11
- const { cache: a } = o, c = a.get(n), u = a.get(t);
12
- if (c && u)
13
- return c === t && u === n;
14
- a.set(n, t), a.set(t, n);
15
- const f = e(n, t, o);
16
- return a.delete(n), a.delete(t), f;
17
- };
18
- }
19
- function k(e) {
20
- return e != null ? e[Symbol.toStringTag] : void 0;
21
- }
22
- function S(e) {
23
- return P(e).concat(v(e));
24
- }
25
- const L = (
26
- // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
27
- Object.hasOwn || ((e, r) => M.call(e, r))
28
- );
29
- function g(e, r) {
30
- return e === r || !e && !r && e !== e && r !== r;
31
- }
32
- const N = "__v", D = "__o", F = "_owner", { getOwnPropertyDescriptor: x, keys: G } = Object;
33
- function W(e, r) {
34
- return e.byteLength === r.byteLength && w(new Uint8Array(e), new Uint8Array(r));
35
- }
36
- function z(e, r, n) {
37
- let t = e.length;
38
- if (r.length !== t)
39
- return !1;
40
- for (; t-- > 0; )
41
- if (!n.equals(e[t], r[t], t, t, e, r, n))
42
- return !1;
43
- return !0;
44
- }
45
- function V(e, r) {
46
- return e.byteLength === r.byteLength && w(new Uint8Array(e.buffer, e.byteOffset, e.byteLength), new Uint8Array(r.buffer, r.byteOffset, r.byteLength));
47
- }
48
- function $(e, r) {
49
- return g(e.getTime(), r.getTime());
50
- }
51
- function Y(e, r) {
52
- return e.name === r.name && e.message === r.message && e.cause === r.cause && e.stack === r.stack;
53
- }
54
- function K(e, r) {
55
- return e === r;
56
- }
57
- function U(e, r, n) {
58
- const t = e.size;
59
- if (t !== r.size)
60
- return !1;
61
- if (!t)
62
- return !0;
63
- const o = new Array(t), a = e.entries();
64
- let c, u, f = 0;
65
- for (; (c = a.next()) && !c.done; ) {
66
- const A = r.entries();
67
- let y = !1, p = 0;
68
- for (; (u = A.next()) && !u.done; ) {
69
- if (o[p]) {
70
- p++;
71
- continue;
72
- }
73
- const q = c.value, d = u.value;
74
- if (n.equals(q[0], d[0], f, p, e, r, n) && n.equals(q[1], d[1], q[0], d[0], e, r, n)) {
75
- y = o[p] = !0;
76
- break;
77
- }
78
- p++;
79
- }
80
- if (!y)
81
- return !1;
82
- f++;
83
- }
84
- return !0;
85
- }
86
- const J = g;
87
- function X(e, r, n) {
88
- const t = G(e);
89
- let o = t.length;
90
- if (G(r).length !== o)
91
- return !1;
92
- for (; o-- > 0; )
93
- if (!B(e, r, n, t[o]))
94
- return !1;
95
- return !0;
96
- }
97
- function j(e, r, n) {
98
- const t = S(e);
99
- let o = t.length;
100
- if (S(r).length !== o)
101
- return !1;
102
- let a, c, u;
103
- for (; o-- > 0; )
104
- if (a = t[o], !B(e, r, n, a) || (c = x(e, a), u = x(r, a), (c || u) && (!c || !u || c.configurable !== u.configurable || c.enumerable !== u.enumerable || c.writable !== u.writable)))
105
- return !1;
106
- return !0;
107
- }
108
- function Z(e, r) {
109
- return g(e.valueOf(), r.valueOf());
110
- }
111
- function H(e, r) {
112
- return e.source === r.source && e.flags === r.flags;
113
- }
114
- function b(e, r, n) {
115
- const t = e.size;
116
- if (t !== r.size)
117
- return !1;
118
- if (!t)
119
- return !0;
120
- const o = new Array(t), a = e.values();
121
- let c, u;
122
- for (; (c = a.next()) && !c.done; ) {
123
- const f = r.values();
124
- let A = !1, y = 0;
125
- for (; (u = f.next()) && !u.done; ) {
126
- if (!o[y] && n.equals(c.value, u.value, c.value, u.value, e, r, n)) {
127
- A = o[y] = !0;
128
- break;
129
- }
130
- y++;
131
- }
132
- if (!A)
133
- return !1;
134
- }
135
- return !0;
136
- }
137
- function w(e, r) {
138
- let n = e.byteLength;
139
- if (r.byteLength !== n || e.byteOffset !== r.byteOffset)
140
- return !1;
141
- for (; n-- > 0; )
142
- if (e[n] !== r[n])
143
- return !1;
144
- return !0;
145
- }
146
- function Q(e, r) {
147
- return e.hostname === r.hostname && e.pathname === r.pathname && e.protocol === r.protocol && e.port === r.port && e.hash === r.hash && e.username === r.username && e.password === r.password;
148
- }
149
- function B(e, r, n, t) {
150
- return (t === F || t === D || t === N) && (e.$$typeof || r.$$typeof) ? !0 : L(r, t) && n.equals(e[t], r[t], t, t, e, r, n);
151
- }
152
- const ee = "[object ArrayBuffer]", re = "[object Arguments]", te = "[object Boolean]", ne = "[object DataView]", ue = "[object Date]", oe = "[object Error]", ce = "[object Map]", ie = "[object Number]", ae = "[object Object]", le = "[object RegExp]", se = "[object Set]", fe = "[object String]", Ee = {
153
- "[object Int8Array]": !0,
154
- "[object Uint8Array]": !0,
155
- "[object Uint8ClampedArray]": !0,
156
- "[object Int16Array]": !0,
157
- "[object Uint16Array]": !0,
158
- "[object Int32Array]": !0,
159
- "[object Uint32Array]": !0,
160
- "[object Float16Array]": !0,
161
- "[object Float32Array]": !0,
162
- "[object Float64Array]": !0,
163
- "[object BigInt64Array]": !0,
164
- "[object BigUint64Array]": !0
165
- }, ye = "[object URL]", Ae = Object.prototype.toString;
166
- function pe({ areArrayBuffersEqual: e, areArraysEqual: r, areDataViewsEqual: n, areDatesEqual: t, areErrorsEqual: o, areFunctionsEqual: a, areMapsEqual: c, areNumbersEqual: u, areObjectsEqual: f, arePrimitiveWrappersEqual: A, areRegExpsEqual: y, areSetsEqual: p, areTypedArraysEqual: q, areUrlsEqual: d, unknownTagComparators: R }) {
167
- return function(i, l, s) {
168
- if (i === l)
169
- return !0;
170
- if (i == null || l == null)
171
- return !1;
172
- const O = typeof i;
173
- if (O !== typeof l)
174
- return !1;
175
- if (O !== "object")
176
- return O === "number" ? u(i, l, s) : O === "function" ? a(i, l, s) : !1;
177
- const m = i.constructor;
178
- if (m !== l.constructor)
179
- return !1;
180
- if (m === Object)
181
- return f(i, l, s);
182
- if (Array.isArray(i))
183
- return r(i, l, s);
184
- if (m === Date)
185
- return t(i, l, s);
186
- if (m === RegExp)
187
- return y(i, l, s);
188
- if (m === Map)
189
- return c(i, l, s);
190
- if (m === Set)
191
- return p(i, l, s);
192
- const E = Ae.call(i);
193
- if (E === ue)
194
- return t(i, l, s);
195
- if (E === le)
196
- return y(i, l, s);
197
- if (E === ce)
198
- return c(i, l, s);
199
- if (E === se)
200
- return p(i, l, s);
201
- if (E === ae)
202
- return typeof i.then != "function" && typeof l.then != "function" && f(i, l, s);
203
- if (E === ye)
204
- return d(i, l, s);
205
- if (E === oe)
206
- return o(i, l, s);
207
- if (E === re)
208
- return f(i, l, s);
209
- if (Ee[E])
210
- return q(i, l, s);
211
- if (E === ee)
212
- return e(i, l, s);
213
- if (E === ne)
214
- return n(i, l, s);
215
- if (E === te || E === ie || E === fe)
216
- return A(i, l, s);
217
- if (R) {
218
- let T = R[E];
219
- if (!T) {
220
- const C = k(i);
221
- C && (T = R[C]);
222
- }
223
- if (T)
224
- return T(i, l, s);
225
- }
226
- return !1;
227
- };
228
- }
229
- function he({ circular: e, createCustomConfig: r, strict: n }) {
230
- let t = {
231
- areArrayBuffersEqual: W,
232
- areArraysEqual: n ? j : z,
233
- areDataViewsEqual: V,
234
- areDatesEqual: $,
235
- areErrorsEqual: Y,
236
- areFunctionsEqual: K,
237
- areMapsEqual: n ? I(U, j) : U,
238
- areNumbersEqual: J,
239
- areObjectsEqual: n ? j : X,
240
- arePrimitiveWrappersEqual: Z,
241
- areRegExpsEqual: H,
242
- areSetsEqual: n ? I(b, j) : b,
243
- areTypedArraysEqual: n ? I(w, j) : w,
244
- areUrlsEqual: Q,
245
- unknownTagComparators: void 0
246
- };
247
- if (r && (t = Object.assign({}, t, r(t))), e) {
248
- const o = _(t.areArraysEqual), a = _(t.areMapsEqual), c = _(t.areObjectsEqual), u = _(t.areSetsEqual);
249
- t = Object.assign({}, t, {
250
- areArraysEqual: o,
251
- areMapsEqual: a,
252
- areObjectsEqual: c,
253
- areSetsEqual: u
254
- });
255
- }
256
- return t;
257
- }
258
- function ge(e) {
259
- return function(r, n, t, o, a, c, u) {
260
- return e(r, n, u);
261
- };
262
- }
263
- function me({ circular: e, comparator: r, createState: n, equals: t, strict: o }) {
264
- if (n)
265
- return function(u, f) {
266
- const { cache: A = e ? /* @__PURE__ */ new WeakMap() : void 0, meta: y } = n();
267
- return r(u, f, {
268
- cache: A,
269
- equals: t,
270
- meta: y,
271
- strict: o
272
- });
273
- };
274
- if (e)
275
- return function(u, f) {
276
- return r(u, f, {
277
- cache: /* @__PURE__ */ new WeakMap(),
278
- equals: t,
279
- meta: void 0,
280
- strict: o
281
- });
282
- };
283
- const a = {
284
- cache: void 0,
285
- equals: t,
286
- meta: void 0,
287
- strict: o
288
- };
289
- return function(u, f) {
290
- return r(u, f, a);
291
- };
292
- }
293
- const de = h();
294
- h({ strict: !0 });
295
- h({ circular: !0 });
296
- h({
297
- circular: !0,
298
- strict: !0
299
- });
300
- h({
301
- createInternalComparator: () => g
302
- });
303
- h({
304
- strict: !0,
305
- createInternalComparator: () => g
306
- });
307
- h({
308
- circular: !0,
309
- createInternalComparator: () => g
310
- });
311
- h({
312
- circular: !0,
313
- createInternalComparator: () => g,
314
- strict: !0
315
- });
316
- function h(e = {}) {
317
- const { circular: r = !1, createInternalComparator: n, createState: t, strict: o = !1 } = e, a = he(e), c = pe(a), u = n ? n(c) : ge(c);
318
- return me({ circular: r, comparator: c, createState: t, equals: u, strict: o });
319
- }
320
- export {
321
- h as createCustomEqual,
322
- de as deepEqual,
323
- g as sameValueZeroEqual
324
- };
@@ -1,26 +0,0 @@
1
- import i from "../../../_virtual/index.js";
2
- import * as f from "react";
3
- import { useBootstrapPrefix as c } from "./ThemeProvider.js";
4
- import { j as d } from "../../../_virtual/jsx-runtime.js";
5
- const x = /* @__PURE__ */ f.forwardRef(({
6
- bsPrefix: r,
7
- variant: e,
8
- animation: t = "border",
9
- size: o,
10
- // Need to define the default "as" during prop destructuring to be compatible with styled-components github.com/react-bootstrap/react-bootstrap/issues/3595
11
- as: a = "div",
12
- className: m,
13
- ...p
14
- }, n) => {
15
- r = c(r, "spinner");
16
- const s = `${r}-${t}`;
17
- return /* @__PURE__ */ d.jsx(a, {
18
- ref: n,
19
- ...p,
20
- className: i(m, s, o && `${s}-${o}`, e && `text-${e}`)
21
- });
22
- });
23
- x.displayName = "Spinner";
24
- export {
25
- x as default
26
- };
@@ -1,5 +0,0 @@
1
- import { Theme } from './theme';
2
- declare module 'styled-components' {
3
- // eslint-disable-next-line @typescript-eslint/no-empty-object-type
4
- export interface DefaultTheme extends Theme {}
5
- }