@zidsa/zidmui 3.1.5 → 3.1.7

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 (85) hide show
  1. package/dist/react/cjs/_virtual/index.js +5 -3
  2. package/dist/react/cjs/_virtual/index.js.map +1 -1
  3. package/dist/react/cjs/_virtual/index2.js +3 -5
  4. package/dist/react/cjs/_virtual/index2.js.map +1 -1
  5. package/dist/react/cjs/_virtual/index3.js +2 -3
  6. package/dist/react/cjs/_virtual/index3.js.map +1 -1
  7. package/dist/react/cjs/_virtual/index4.js +3 -2
  8. package/dist/react/cjs/_virtual/index4.js.map +1 -1
  9. package/dist/react/cjs/components/app-input-base.js +3 -4
  10. package/dist/react/cjs/components/app-input-base.js.map +1 -1
  11. package/dist/react/cjs/icons/currencies/omani-riyal.js +16 -0
  12. package/dist/react/cjs/icons/currencies/omani-riyal.js.map +1 -0
  13. package/dist/react/cjs/node_modules/.pnpm/@mui_material@7.3.5_@emotion_react@11.14.0_@types_react@19.2.14_react@19.2.4__@emotion__11acef18b5dc98ca7cf0f73c903fc7b9/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js +25 -0
  14. package/dist/react/cjs/node_modules/.pnpm/@mui_material@7.3.5_@emotion_react@11.14.0_@types_react@19.2.14_react@19.2.4__@emotion__11acef18b5dc98ca7cf0f73c903fc7b9/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js.map +1 -0
  15. package/dist/react/cjs/node_modules/.pnpm/@mui_material@7.3.5_@emotion_react@11.14.0_@types_react@19.2.14_react@19.2.4__@emotion__11acef18b5dc98ca7cf0f73c903fc7b9/node_modules/@mui/material/esm/SvgIcon/SvgIcon.js +260 -0
  16. package/dist/react/cjs/node_modules/.pnpm/@mui_material@7.3.5_@emotion_react@11.14.0_@types_react@19.2.14_react@19.2.4__@emotion__11acef18b5dc98ca7cf0f73c903fc7b9/node_modules/@mui/material/esm/SvgIcon/SvgIcon.js.map +1 -0
  17. package/dist/react/cjs/node_modules/.pnpm/@mui_material@7.3.5_@emotion_react@11.14.0_@types_react@19.2.14_react@19.2.4__@emotion__11acef18b5dc98ca7cf0f73c903fc7b9/node_modules/@mui/material/esm/SvgIcon/svgIconClasses.js +10 -0
  18. package/dist/react/cjs/node_modules/.pnpm/@mui_material@7.3.5_@emotion_react@11.14.0_@types_react@19.2.14_react@19.2.4__@emotion__11acef18b5dc98ca7cf0f73c903fc7b9/node_modules/@mui/material/esm/SvgIcon/svgIconClasses.js.map +1 -0
  19. package/dist/react/cjs/node_modules/.pnpm/@mui_material@7.3.5_@emotion_react@11.14.0_@types_react@19.2.14_react@19.2.4__@emotion__11acef18b5dc98ca7cf0f73c903fc7b9/node_modules/@mui/material/esm/utils/capitalize.js +4 -0
  20. package/dist/react/cjs/node_modules/.pnpm/@mui_material@7.3.5_@emotion_react@11.14.0_@types_react@19.2.14_react@19.2.4__@emotion__11acef18b5dc98ca7cf0f73c903fc7b9/node_modules/@mui/material/esm/utils/capitalize.js.map +1 -0
  21. package/dist/react/cjs/node_modules/.pnpm/@mui_material@7.3.5_@emotion_react@11.14.0_@types_react@19.2.14_react@19.2.4__@emotion__11acef18b5dc98ca7cf0f73c903fc7b9/node_modules/@mui/material/esm/utils/createSvgIcon.js +38 -0
  22. package/dist/react/cjs/node_modules/.pnpm/@mui_material@7.3.5_@emotion_react@11.14.0_@types_react@19.2.14_react@19.2.4__@emotion__11acef18b5dc98ca7cf0f73c903fc7b9/node_modules/@mui/material/esm/utils/createSvgIcon.js.map +1 -0
  23. package/dist/react/cjs/node_modules/.pnpm/@mui_material@7.3.5_@emotion_react@11.14.0_@types_react@19.2.14_react@19.2.4__@emotion__11acef18b5dc98ca7cf0f73c903fc7b9/node_modules/@mui/material/esm/utils/memoTheme.js +5 -0
  24. package/dist/react/cjs/node_modules/.pnpm/@mui_material@7.3.5_@emotion_react@11.14.0_@types_react@19.2.14_react@19.2.4__@emotion__11acef18b5dc98ca7cf0f73c903fc7b9/node_modules/@mui/material/esm/utils/memoTheme.js.map +1 -0
  25. package/dist/react/cjs/node_modules/.pnpm/@mui_system@7.3.5_@emotion_react@11.14.0_@types_react@19.2.14_react@19.2.4__@emotion_st_11ad1bc919f221d0594f2562584c38ea/node_modules/@mui/system/esm/DefaultPropsProvider/DefaultPropsProvider.js +71 -0
  26. package/dist/react/cjs/node_modules/.pnpm/@mui_system@7.3.5_@emotion_react@11.14.0_@types_react@19.2.14_react@19.2.4__@emotion_st_11ad1bc919f221d0594f2562584c38ea/node_modules/@mui/system/esm/DefaultPropsProvider/DefaultPropsProvider.js.map +1 -0
  27. package/dist/react/cjs/node_modules/.pnpm/@mui_system@7.3.5_@emotion_react@11.14.0_@types_react@19.2.14_react@19.2.4__@emotion_st_11ad1bc919f221d0594f2562584c38ea/node_modules/@mui/system/esm/memoTheme.js +21 -0
  28. package/dist/react/cjs/node_modules/.pnpm/@mui_system@7.3.5_@emotion_react@11.14.0_@types_react@19.2.14_react@19.2.4__@emotion_st_11ad1bc919f221d0594f2562584c38ea/node_modules/@mui/system/esm/memoTheme.js.map +1 -0
  29. package/dist/react/cjs/node_modules/.pnpm/@mui_system@7.3.5_@emotion_react@11.14.0_@types_react@19.2.14_react@19.2.4__@emotion_st_11ad1bc919f221d0594f2562584c38ea/node_modules/@mui/system/esm/responsivePropType/responsivePropType.js +1 -1
  30. package/dist/react/cjs/node_modules/.pnpm/@mui_utils@7.3.5_@types_react@19.2.14_react@19.2.4/node_modules/@mui/utils/esm/composeClasses/composeClasses.js +23 -0
  31. package/dist/react/cjs/node_modules/.pnpm/@mui_utils@7.3.5_@types_react@19.2.14_react@19.2.4/node_modules/@mui/utils/esm/composeClasses/composeClasses.js.map +1 -0
  32. package/dist/react/cjs/node_modules/.pnpm/@mui_utils@7.3.5_@types_react@19.2.14_react@19.2.4/node_modules/@mui/utils/esm/deepmerge/deepmerge.js +1 -1
  33. package/dist/react/cjs/node_modules/.pnpm/@mui_utils@7.3.5_@types_react@19.2.14_react@19.2.4/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js +11 -0
  34. package/dist/react/cjs/node_modules/.pnpm/@mui_utils@7.3.5_@types_react@19.2.14_react@19.2.4/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js.map +1 -0
  35. package/dist/react/cjs/node_modules/.pnpm/@mui_utils@7.3.5_@types_react@19.2.14_react@19.2.4/node_modules/@mui/utils/esm/getDisplayName/getDisplayName.js +1 -1
  36. package/dist/react/cjs/node_modules/.pnpm/@mui_utils@7.3.5_@types_react@19.2.14_react@19.2.4/node_modules/@mui/utils/esm/resolveProps/resolveProps.js +48 -0
  37. package/dist/react/cjs/node_modules/.pnpm/@mui_utils@7.3.5_@types_react@19.2.14_react@19.2.4/node_modules/@mui/utils/esm/resolveProps/resolveProps.js.map +1 -0
  38. package/dist/react/cjs/node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.js +18 -0
  39. package/dist/react/cjs/node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.js.map +1 -0
  40. package/dist/react/cjs/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js +1 -1
  41. package/dist/react/cjs/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.js +1 -1
  42. package/dist/react/es/_virtual/index.js +5 -2
  43. package/dist/react/es/_virtual/index.js.map +1 -1
  44. package/dist/react/es/_virtual/index2.js +2 -5
  45. package/dist/react/es/_virtual/index2.js.map +1 -1
  46. package/dist/react/es/_virtual/index3.js +2 -3
  47. package/dist/react/es/_virtual/index3.js.map +1 -1
  48. package/dist/react/es/_virtual/index4.js +3 -2
  49. package/dist/react/es/_virtual/index4.js.map +1 -1
  50. package/dist/react/es/components/app-input-base.js +3 -4
  51. package/dist/react/es/components/app-input-base.js.map +1 -1
  52. package/dist/react/es/icons/currencies/omani-riyal.js +16 -0
  53. package/dist/react/es/icons/currencies/omani-riyal.js.map +1 -0
  54. package/dist/react/es/node_modules/.pnpm/@mui_material@7.3.5_@emotion_react@11.14.0_@types_react@19.2.14_react@19.2.4__@emotion__11acef18b5dc98ca7cf0f73c903fc7b9/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js +25 -0
  55. package/dist/react/es/node_modules/.pnpm/@mui_material@7.3.5_@emotion_react@11.14.0_@types_react@19.2.14_react@19.2.4__@emotion__11acef18b5dc98ca7cf0f73c903fc7b9/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js.map +1 -0
  56. package/dist/react/es/node_modules/.pnpm/@mui_material@7.3.5_@emotion_react@11.14.0_@types_react@19.2.14_react@19.2.4__@emotion__11acef18b5dc98ca7cf0f73c903fc7b9/node_modules/@mui/material/esm/SvgIcon/SvgIcon.js +244 -0
  57. package/dist/react/es/node_modules/.pnpm/@mui_material@7.3.5_@emotion_react@11.14.0_@types_react@19.2.14_react@19.2.4__@emotion__11acef18b5dc98ca7cf0f73c903fc7b9/node_modules/@mui/material/esm/SvgIcon/SvgIcon.js.map +1 -0
  58. package/dist/react/es/node_modules/.pnpm/@mui_material@7.3.5_@emotion_react@11.14.0_@types_react@19.2.14_react@19.2.4__@emotion__11acef18b5dc98ca7cf0f73c903fc7b9/node_modules/@mui/material/esm/SvgIcon/svgIconClasses.js +10 -0
  59. package/dist/react/es/node_modules/.pnpm/@mui_material@7.3.5_@emotion_react@11.14.0_@types_react@19.2.14_react@19.2.4__@emotion__11acef18b5dc98ca7cf0f73c903fc7b9/node_modules/@mui/material/esm/SvgIcon/svgIconClasses.js.map +1 -0
  60. package/dist/react/es/node_modules/.pnpm/@mui_material@7.3.5_@emotion_react@11.14.0_@types_react@19.2.14_react@19.2.4__@emotion__11acef18b5dc98ca7cf0f73c903fc7b9/node_modules/@mui/material/esm/utils/capitalize.js +5 -0
  61. package/dist/react/es/node_modules/.pnpm/@mui_material@7.3.5_@emotion_react@11.14.0_@types_react@19.2.14_react@19.2.4__@emotion__11acef18b5dc98ca7cf0f73c903fc7b9/node_modules/@mui/material/esm/utils/capitalize.js.map +1 -0
  62. package/dist/react/es/node_modules/.pnpm/@mui_material@7.3.5_@emotion_react@11.14.0_@types_react@19.2.14_react@19.2.4__@emotion__11acef18b5dc98ca7cf0f73c903fc7b9/node_modules/@mui/material/esm/utils/createSvgIcon.js +22 -0
  63. package/dist/react/es/node_modules/.pnpm/@mui_material@7.3.5_@emotion_react@11.14.0_@types_react@19.2.14_react@19.2.4__@emotion__11acef18b5dc98ca7cf0f73c903fc7b9/node_modules/@mui/material/esm/utils/createSvgIcon.js.map +1 -0
  64. package/dist/react/es/node_modules/.pnpm/@mui_material@7.3.5_@emotion_react@11.14.0_@types_react@19.2.14_react@19.2.4__@emotion__11acef18b5dc98ca7cf0f73c903fc7b9/node_modules/@mui/material/esm/utils/memoTheme.js +6 -0
  65. package/dist/react/es/node_modules/.pnpm/@mui_material@7.3.5_@emotion_react@11.14.0_@types_react@19.2.14_react@19.2.4__@emotion__11acef18b5dc98ca7cf0f73c903fc7b9/node_modules/@mui/material/esm/utils/memoTheme.js.map +1 -0
  66. package/dist/react/es/node_modules/.pnpm/@mui_system@7.3.5_@emotion_react@11.14.0_@types_react@19.2.14_react@19.2.4__@emotion_st_11ad1bc919f221d0594f2562584c38ea/node_modules/@mui/system/esm/DefaultPropsProvider/DefaultPropsProvider.js +54 -0
  67. package/dist/react/es/node_modules/.pnpm/@mui_system@7.3.5_@emotion_react@11.14.0_@types_react@19.2.14_react@19.2.4__@emotion_st_11ad1bc919f221d0594f2562584c38ea/node_modules/@mui/system/esm/DefaultPropsProvider/DefaultPropsProvider.js.map +1 -0
  68. package/dist/react/es/node_modules/.pnpm/@mui_system@7.3.5_@emotion_react@11.14.0_@types_react@19.2.14_react@19.2.4__@emotion_st_11ad1bc919f221d0594f2562584c38ea/node_modules/@mui/system/esm/memoTheme.js +22 -0
  69. package/dist/react/es/node_modules/.pnpm/@mui_system@7.3.5_@emotion_react@11.14.0_@types_react@19.2.14_react@19.2.4__@emotion_st_11ad1bc919f221d0594f2562584c38ea/node_modules/@mui/system/esm/memoTheme.js.map +1 -0
  70. package/dist/react/es/node_modules/.pnpm/@mui_system@7.3.5_@emotion_react@11.14.0_@types_react@19.2.14_react@19.2.4__@emotion_st_11ad1bc919f221d0594f2562584c38ea/node_modules/@mui/system/esm/responsivePropType/responsivePropType.js +1 -1
  71. package/dist/react/es/node_modules/.pnpm/@mui_utils@7.3.5_@types_react@19.2.14_react@19.2.4/node_modules/@mui/utils/esm/composeClasses/composeClasses.js +24 -0
  72. package/dist/react/es/node_modules/.pnpm/@mui_utils@7.3.5_@types_react@19.2.14_react@19.2.4/node_modules/@mui/utils/esm/composeClasses/composeClasses.js.map +1 -0
  73. package/dist/react/es/node_modules/.pnpm/@mui_utils@7.3.5_@types_react@19.2.14_react@19.2.4/node_modules/@mui/utils/esm/deepmerge/deepmerge.js +1 -1
  74. package/dist/react/es/node_modules/.pnpm/@mui_utils@7.3.5_@types_react@19.2.14_react@19.2.4/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js +12 -0
  75. package/dist/react/es/node_modules/.pnpm/@mui_utils@7.3.5_@types_react@19.2.14_react@19.2.4/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js.map +1 -0
  76. package/dist/react/es/node_modules/.pnpm/@mui_utils@7.3.5_@types_react@19.2.14_react@19.2.4/node_modules/@mui/utils/esm/getDisplayName/getDisplayName.js +1 -1
  77. package/dist/react/es/node_modules/.pnpm/@mui_utils@7.3.5_@types_react@19.2.14_react@19.2.4/node_modules/@mui/utils/esm/resolveProps/resolveProps.js +49 -0
  78. package/dist/react/es/node_modules/.pnpm/@mui_utils@7.3.5_@types_react@19.2.14_react@19.2.4/node_modules/@mui/utils/esm/resolveProps/resolveProps.js.map +1 -0
  79. package/dist/react/es/node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.js +18 -0
  80. package/dist/react/es/node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.js.map +1 -0
  81. package/dist/react/es/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js +1 -1
  82. package/dist/react/es/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.js +1 -1
  83. package/dist/react/types/icons/currencies/omani-riyal.d.ts +3 -0
  84. package/dist/tsconfig.tsbuildinfo +1 -1
  85. package/package.json +1 -1
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ const preprocessStyles = require("./preprocessStyles.js");
3
+ const arg = {
4
+ theme: void 0
5
+ };
6
+ function unstable_memoTheme(styleFn) {
7
+ let lastValue;
8
+ let lastTheme;
9
+ return function styleMemoized(props) {
10
+ let value = lastValue;
11
+ if (value === void 0 || props.theme !== lastTheme) {
12
+ arg.theme = props.theme;
13
+ value = preprocessStyles(styleFn(arg));
14
+ lastValue = value;
15
+ lastTheme = props.theme;
16
+ }
17
+ return value;
18
+ };
19
+ }
20
+ module.exports = unstable_memoTheme;
21
+ //# sourceMappingURL=memoTheme.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"memoTheme.js","sources":["../../../../../../../../../../node_modules/.pnpm/@mui+system@7.3.5_@emotion+react@11.14.0_@types+react@19.2.14_react@19.2.4__@emotion+st_11ad1bc919f221d0594f2562584c38ea/node_modules/@mui/system/esm/memoTheme.js"],"sourcesContent":["import preprocessStyles from \"./preprocessStyles.js\";\n\n/* eslint-disable @typescript-eslint/naming-convention */\n\n// We need to pass an argument as `{ theme }` for PigmentCSS, but we don't want to\n// allocate more objects.\nconst arg = {\n theme: undefined\n};\n\n/**\n * Memoize style function on theme.\n * Intended to be used in styled() calls that only need access to the theme.\n */\nexport default function unstable_memoTheme(styleFn) {\n let lastValue;\n let lastTheme;\n return function styleMemoized(props) {\n let value = lastValue;\n if (value === undefined || props.theme !== lastTheme) {\n arg.theme = props.theme;\n value = preprocessStyles(styleFn(arg));\n lastValue = value;\n lastTheme = props.theme;\n }\n return value;\n };\n}"],"names":[],"mappings":";;AAMA,MAAM,MAAM;AAAA,EACV,OAAO;AACT;AAMe,SAAS,mBAAmB,SAAS;AAClD,MAAI;AACJ,MAAI;AACJ,SAAO,SAAS,cAAc,OAAO;AACnC,QAAI,QAAQ;AACZ,QAAI,UAAU,UAAa,MAAM,UAAU,WAAW;AACpD,UAAI,QAAQ,MAAM;AAClB,cAAQ,iBAAiB,QAAQ,GAAG,CAAC;AACrC,kBAAY;AACZ,kBAAY,MAAM;AAAA,IACpB;AACA,WAAO;AAAA,EACT;AACF;;","x_google_ignoreList":[0]}
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- const index = require("../../../../../../../../_virtual/index2.js");
2
+ const index = require("../../../../../../../../_virtual/index.js");
3
3
  const responsivePropType = process.env.NODE_ENV !== "production" ? index.oneOfType([index.number, index.string, index.object, index.array]) : {};
4
4
  module.exports = responsivePropType;
5
5
  //# sourceMappingURL=responsivePropType.js.map
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ function composeClasses(slots, getUtilityClass, classes = void 0) {
3
+ const output = {};
4
+ for (const slotName in slots) {
5
+ const slot = slots[slotName];
6
+ let buffer = "";
7
+ let start = true;
8
+ for (let i = 0; i < slot.length; i += 1) {
9
+ const value = slot[i];
10
+ if (value) {
11
+ buffer += (start === true ? "" : " ") + getUtilityClass(value);
12
+ start = false;
13
+ if (classes && classes[value]) {
14
+ buffer += " " + classes[value];
15
+ }
16
+ }
17
+ }
18
+ output[slotName] = buffer;
19
+ }
20
+ return output;
21
+ }
22
+ module.exports = composeClasses;
23
+ //# sourceMappingURL=composeClasses.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"composeClasses.js","sources":["../../../../../../../../../../../node_modules/.pnpm/@mui+utils@7.3.5_@types+react@19.2.14_react@19.2.4/node_modules/@mui/utils/esm/composeClasses/composeClasses.js"],"sourcesContent":["/* eslint no-restricted-syntax: 0, prefer-template: 0, guard-for-in: 0\n ---\n These rules are preventing the performance optimizations below.\n */\n\n/**\n * Compose classes from multiple sources.\n *\n * @example\n * ```tsx\n * const slots = {\n * root: ['root', 'primary'],\n * label: ['label'],\n * };\n *\n * const getUtilityClass = (slot) => `MuiButton-${slot}`;\n *\n * const classes = {\n * root: 'my-root-class',\n * };\n *\n * const output = composeClasses(slots, getUtilityClass, classes);\n * // {\n * // root: 'MuiButton-root MuiButton-primary my-root-class',\n * // label: 'MuiButton-label',\n * // }\n * ```\n *\n * @param slots a list of classes for each possible slot\n * @param getUtilityClass a function to resolve the class based on the slot name\n * @param classes the input classes from props\n * @returns the resolved classes for all slots\n */\nexport default function composeClasses(slots, getUtilityClass, classes = undefined) {\n const output = {};\n for (const slotName in slots) {\n const slot = slots[slotName];\n let buffer = '';\n let start = true;\n for (let i = 0; i < slot.length; i += 1) {\n const value = slot[i];\n if (value) {\n buffer += (start === true ? '' : ' ') + getUtilityClass(value);\n start = false;\n if (classes && classes[value]) {\n buffer += ' ' + classes[value];\n }\n }\n }\n output[slotName] = buffer;\n }\n return output;\n}"],"names":[],"mappings":";AAiCe,SAAS,eAAe,OAAO,iBAAiB,UAAU,QAAW;AAClF,QAAM,SAAS,CAAA;AACf,aAAW,YAAY,OAAO;AAC5B,UAAM,OAAO,MAAM,QAAQ;AAC3B,QAAI,SAAS;AACb,QAAI,QAAQ;AACZ,aAAS,IAAI,GAAG,IAAI,KAAK,QAAQ,KAAK,GAAG;AACvC,YAAM,QAAQ,KAAK,CAAC;AACpB,UAAI,OAAO;AACT,mBAAW,UAAU,OAAO,KAAK,OAAO,gBAAgB,KAAK;AAC7D,gBAAQ;AACR,YAAI,WAAW,QAAQ,KAAK,GAAG;AAC7B,oBAAU,MAAM,QAAQ,KAAK;AAAA,QAC/B;AAAA,MACF;AAAA,IACF;AACA,WAAO,QAAQ,IAAI;AAAA,EACrB;AACA,SAAO;AACT;;","x_google_ignoreList":[0]}
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const React = require("react");
4
- const index = require("../../../../../../../../_virtual/index3.js");
4
+ const index = require("../../../../../../../../_virtual/index4.js");
5
5
  function _interopNamespaceDefault(e) {
6
6
  const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
7
7
  if (e) {
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ const generateUtilityClass = require("../generateUtilityClass/generateUtilityClass.js");
3
+ function generateUtilityClasses(componentName, slots, globalStatePrefix = "Mui") {
4
+ const result = {};
5
+ slots.forEach((slot) => {
6
+ result[slot] = generateUtilityClass.default(componentName, slot, globalStatePrefix);
7
+ });
8
+ return result;
9
+ }
10
+ module.exports = generateUtilityClasses;
11
+ //# sourceMappingURL=generateUtilityClasses.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generateUtilityClasses.js","sources":["../../../../../../../../../../../node_modules/.pnpm/@mui+utils@7.3.5_@types+react@19.2.14_react@19.2.4/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js"],"sourcesContent":["import generateUtilityClass from \"../generateUtilityClass/index.js\";\nexport default function generateUtilityClasses(componentName, slots, globalStatePrefix = 'Mui') {\n const result = {};\n slots.forEach(slot => {\n result[slot] = generateUtilityClass(componentName, slot, globalStatePrefix);\n });\n return result;\n}"],"names":["generateUtilityClass"],"mappings":";;AACe,SAAS,uBAAuB,eAAe,OAAO,oBAAoB,OAAO;AAC9F,QAAM,SAAS,CAAA;AACf,QAAM,QAAQ,UAAQ;AACpB,WAAO,IAAI,IAAIA,qBAAAA,QAAqB,eAAe,MAAM,iBAAiB;AAAA,EAC5E,CAAC;AACD,SAAO;AACT;;","x_google_ignoreList":[0]}
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- const index = require("../../../../../../../../_virtual/index3.js");
2
+ const index = require("../../../../../../../../_virtual/index4.js");
3
3
  function getFunctionComponentName(Component, fallback = "") {
4
4
  return Component.displayName || Component.name || fallback;
5
5
  }
@@ -0,0 +1,48 @@
1
+ "use strict";
2
+ const clsx = require("../../../../../../clsx@2.1.1/node_modules/clsx/dist/clsx.js");
3
+ function resolveProps(defaultProps, props, mergeClassNameAndStyle = false) {
4
+ const output = {
5
+ ...props
6
+ };
7
+ for (const key in defaultProps) {
8
+ if (Object.prototype.hasOwnProperty.call(defaultProps, key)) {
9
+ const propName = key;
10
+ if (propName === "components" || propName === "slots") {
11
+ output[propName] = {
12
+ ...defaultProps[propName],
13
+ ...output[propName]
14
+ };
15
+ } else if (propName === "componentsProps" || propName === "slotProps") {
16
+ const defaultSlotProps = defaultProps[propName];
17
+ const slotProps = props[propName];
18
+ if (!slotProps) {
19
+ output[propName] = defaultSlotProps || {};
20
+ } else if (!defaultSlotProps) {
21
+ output[propName] = slotProps;
22
+ } else {
23
+ output[propName] = {
24
+ ...slotProps
25
+ };
26
+ for (const slotKey in defaultSlotProps) {
27
+ if (Object.prototype.hasOwnProperty.call(defaultSlotProps, slotKey)) {
28
+ const slotPropName = slotKey;
29
+ output[propName][slotPropName] = resolveProps(defaultSlotProps[slotPropName], slotProps[slotPropName], mergeClassNameAndStyle);
30
+ }
31
+ }
32
+ }
33
+ } else if (propName === "className" && mergeClassNameAndStyle && props.className) {
34
+ output.className = clsx.clsx(defaultProps?.className, props?.className);
35
+ } else if (propName === "style" && mergeClassNameAndStyle && props.style) {
36
+ output.style = {
37
+ ...defaultProps?.style,
38
+ ...props?.style
39
+ };
40
+ } else if (output[propName] === void 0) {
41
+ output[propName] = defaultProps[propName];
42
+ }
43
+ }
44
+ }
45
+ return output;
46
+ }
47
+ module.exports = resolveProps;
48
+ //# sourceMappingURL=resolveProps.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resolveProps.js","sources":["../../../../../../../../../../../node_modules/.pnpm/@mui+utils@7.3.5_@types+react@19.2.14_react@19.2.4/node_modules/@mui/utils/esm/resolveProps/resolveProps.js"],"sourcesContent":["import clsx from 'clsx';\n\n/**\n * Add keys, values of `defaultProps` that does not exist in `props`\n * @param defaultProps\n * @param props\n * @param mergeClassNameAndStyle If `true`, merges `className` and `style` props instead of overriding them.\n * When `false` (default), props override defaultProps. When `true`, `className` values are concatenated\n * and `style` objects are merged with props taking precedence.\n * @returns resolved props\n */\nexport default function resolveProps(defaultProps, props, mergeClassNameAndStyle = false) {\n const output = {\n ...props\n };\n for (const key in defaultProps) {\n if (Object.prototype.hasOwnProperty.call(defaultProps, key)) {\n const propName = key;\n if (propName === 'components' || propName === 'slots') {\n output[propName] = {\n ...defaultProps[propName],\n ...output[propName]\n };\n } else if (propName === 'componentsProps' || propName === 'slotProps') {\n const defaultSlotProps = defaultProps[propName];\n const slotProps = props[propName];\n if (!slotProps) {\n output[propName] = defaultSlotProps || {};\n } else if (!defaultSlotProps) {\n output[propName] = slotProps;\n } else {\n output[propName] = {\n ...slotProps\n };\n for (const slotKey in defaultSlotProps) {\n if (Object.prototype.hasOwnProperty.call(defaultSlotProps, slotKey)) {\n const slotPropName = slotKey;\n output[propName][slotPropName] = resolveProps(defaultSlotProps[slotPropName], slotProps[slotPropName], mergeClassNameAndStyle);\n }\n }\n }\n } else if (propName === 'className' && mergeClassNameAndStyle && props.className) {\n output.className = clsx(defaultProps?.className, props?.className);\n } else if (propName === 'style' && mergeClassNameAndStyle && props.style) {\n output.style = {\n ...defaultProps?.style,\n ...props?.style\n };\n } else if (output[propName] === undefined) {\n output[propName] = defaultProps[propName];\n }\n }\n }\n return output;\n}"],"names":["clsx"],"mappings":";;AAWe,SAAS,aAAa,cAAc,OAAO,yBAAyB,OAAO;AACxF,QAAM,SAAS;AAAA,IACb,GAAG;AAAA,EACP;AACE,aAAW,OAAO,cAAc;AAC9B,QAAI,OAAO,UAAU,eAAe,KAAK,cAAc,GAAG,GAAG;AAC3D,YAAM,WAAW;AACjB,UAAI,aAAa,gBAAgB,aAAa,SAAS;AACrD,eAAO,QAAQ,IAAI;AAAA,UACjB,GAAG,aAAa,QAAQ;AAAA,UACxB,GAAG,OAAO,QAAQ;AAAA,QAC5B;AAAA,MACM,WAAW,aAAa,qBAAqB,aAAa,aAAa;AACrE,cAAM,mBAAmB,aAAa,QAAQ;AAC9C,cAAM,YAAY,MAAM,QAAQ;AAChC,YAAI,CAAC,WAAW;AACd,iBAAO,QAAQ,IAAI,oBAAoB,CAAA;AAAA,QACzC,WAAW,CAAC,kBAAkB;AAC5B,iBAAO,QAAQ,IAAI;AAAA,QACrB,OAAO;AACL,iBAAO,QAAQ,IAAI;AAAA,YACjB,GAAG;AAAA,UACf;AACU,qBAAW,WAAW,kBAAkB;AACtC,gBAAI,OAAO,UAAU,eAAe,KAAK,kBAAkB,OAAO,GAAG;AACnE,oBAAM,eAAe;AACrB,qBAAO,QAAQ,EAAE,YAAY,IAAI,aAAa,iBAAiB,YAAY,GAAG,UAAU,YAAY,GAAG,sBAAsB;AAAA,YAC/H;AAAA,UACF;AAAA,QACF;AAAA,MACF,WAAW,aAAa,eAAe,0BAA0B,MAAM,WAAW;AAChF,eAAO,YAAYA,KAAAA,KAAK,cAAc,WAAW,OAAO,SAAS;AAAA,MACnE,WAAW,aAAa,WAAW,0BAA0B,MAAM,OAAO;AACxE,eAAO,QAAQ;AAAA,UACb,GAAG,cAAc;AAAA,UACjB,GAAG,OAAO;AAAA,QACpB;AAAA,MACM,WAAW,OAAO,QAAQ,MAAM,QAAW;AACzC,eAAO,QAAQ,IAAI,aAAa,QAAQ;AAAA,MAC1C;AAAA,IACF;AAAA,EACF;AACA,SAAO;AACT;;","x_google_ignoreList":[0]}
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
+ function r(e) {
4
+ var t, f, n = "";
5
+ if ("string" == typeof e || "number" == typeof e) n += e;
6
+ else if ("object" == typeof e) if (Array.isArray(e)) {
7
+ var o = e.length;
8
+ for (t = 0; t < o; t++) e[t] && (f = r(e[t])) && (n && (n += " "), n += f);
9
+ } else for (f in e) e[f] && (n && (n += " "), n += f);
10
+ return n;
11
+ }
12
+ function clsx() {
13
+ for (var e, t, f = 0, n = "", o = arguments.length; f < o; f++) (e = arguments[f]) && (t = r(e)) && (n && (n += " "), n += t);
14
+ return n;
15
+ }
16
+ exports.clsx = clsx;
17
+ exports.default = clsx;
18
+ //# sourceMappingURL=clsx.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"clsx.js","sources":["../../../../../../../../../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs"],"sourcesContent":["function r(e){var t,f,n=\"\";if(\"string\"==typeof e||\"number\"==typeof e)n+=e;else if(\"object\"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=\" \"),n+=f)}else for(f in e)e[f]&&(n&&(n+=\" \"),n+=f);return n}export function clsx(){for(var e,t,f=0,n=\"\",o=arguments.length;f<o;f++)(e=arguments[f])&&(t=r(e))&&(n&&(n+=\" \"),n+=t);return n}export default clsx;"],"names":[],"mappings":";;AAAA,SAAS,EAAE,GAAE;AAAC,MAAI,GAAE,GAAE,IAAE;AAAG,MAAG,YAAU,OAAO,KAAG,YAAU,OAAO,EAAE,MAAG;AAAA,WAAU,YAAU,OAAO,EAAE,KAAG,MAAM,QAAQ,CAAC,GAAE;AAAC,QAAI,IAAE,EAAE;AAAO,SAAI,IAAE,GAAE,IAAE,GAAE,IAAI,GAAE,CAAC,MAAI,IAAE,EAAE,EAAE,CAAC,CAAC,OAAK,MAAI,KAAG,MAAK,KAAG;AAAA,EAAE,MAAM,MAAI,KAAK,EAAE,GAAE,CAAC,MAAI,MAAI,KAAG,MAAK,KAAG;AAAG,SAAO;AAAC;AAAQ,SAAS,OAAM;AAAC,WAAQ,GAAE,GAAE,IAAE,GAAE,IAAE,IAAG,IAAE,UAAU,QAAO,IAAE,GAAE,IAAI,EAAC,IAAE,UAAU,CAAC,OAAK,IAAE,EAAE,CAAC,OAAK,MAAI,KAAG,MAAK,KAAG;AAAG,SAAO;AAAC;;;","x_google_ignoreList":[0]}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const index$1 = require("../../../../../_virtual/index.js");
3
+ const index$1 = require("../../../../../_virtual/index2.js");
4
4
  const index = require("../../../react-is@16.13.1/node_modules/react-is/index.js");
5
5
  const factoryWithTypeCheckers = require("./factoryWithTypeCheckers.js");
6
6
  const factoryWithThrowingShims = require("./factoryWithThrowingShims.js");
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const index = require("../../../../../_virtual/index4.js");
3
+ const index = require("../../../../../_virtual/index3.js");
4
4
  const reactIs_production_min = require("./cjs/react-is.production.min.js");
5
5
  const reactIs_development = require("./cjs/react-is.development.js");
6
6
  var hasRequiredReactIs;
@@ -1,5 +1,8 @@
1
- var propTypes = { exports: {} };
1
+ import { getDefaultExportFromCjs } from "./_commonjsHelpers.js";
2
+ import { __require as requirePropTypes } from "../node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js";
3
+ var propTypesExports = /* @__PURE__ */ requirePropTypes();
4
+ const PropTypes = /* @__PURE__ */ getDefaultExportFromCjs(propTypesExports);
2
5
  export {
3
- propTypes as __module
6
+ PropTypes as default
4
7
  };
5
8
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1,8 +1,5 @@
1
- import { getDefaultExportFromCjs } from "./_commonjsHelpers.js";
2
- import { __require as requirePropTypes } from "../node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js";
3
- var propTypesExports = /* @__PURE__ */ requirePropTypes();
4
- const PropTypes = /* @__PURE__ */ getDefaultExportFromCjs(propTypesExports);
1
+ var propTypes = { exports: {} };
5
2
  export {
6
- PropTypes as default
3
+ propTypes as __module
7
4
  };
8
5
  //# sourceMappingURL=index2.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index2.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
1
+ {"version":3,"file":"index2.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -1,6 +1,5 @@
1
- import { __require as requireReactIs } from "../node_modules/.pnpm/react-is@19.2.0/node_modules/react-is/index.js";
2
- var reactIsExports = /* @__PURE__ */ requireReactIs();
1
+ var reactIs = { exports: {} };
3
2
  export {
4
- reactIsExports as r
3
+ reactIs as __module
5
4
  };
6
5
  //# sourceMappingURL=index3.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index3.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
1
+ {"version":3,"file":"index3.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -1,5 +1,6 @@
1
- var reactIs = { exports: {} };
1
+ import { __require as requireReactIs } from "../node_modules/.pnpm/react-is@19.2.0/node_modules/react-is/index.js";
2
+ var reactIsExports = /* @__PURE__ */ requireReactIs();
2
3
  export {
3
- reactIs as __module
4
+ reactIsExports as r
4
5
  };
5
6
  //# sourceMappingURL=index4.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index4.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
1
+ {"version":3,"file":"index4.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
@@ -44,6 +44,9 @@ const AppInputBase = ({
44
44
  event.currentTarget.blur();
45
45
  }
46
46
  };
47
+ if (typeof slotProps?.htmlInput !== "function" && slotProps?.htmlInput) {
48
+ slotProps.htmlInput.onWheel = handleWheel;
49
+ }
47
50
  return /* @__PURE__ */ jsx(
48
51
  TextField,
49
52
  {
@@ -57,10 +60,6 @@ const AppInputBase = ({
57
60
  // FIX: autocomplete inputs gets broken
58
61
  // oxlint-disable-next-line @typescript-eslint/no-explicit-any
59
62
  ...props.InputProps
60
- },
61
- htmlInput: {
62
- onWheel: handleWheel,
63
- ...slotProps?.htmlInput
64
63
  }
65
64
  },
66
65
  ...props,
@@ -1 +1 @@
1
- {"version":3,"file":"app-input-base.js","sources":["../../../../src/components/app-input-base.tsx"],"sourcesContent":["import { FC, useCallback, ReactNode } from 'react';\n\nimport { InputAdornment, TextField, TextFieldProps } from '@mui/material';\n\nimport { AppInputAdornmentText, AppInputAdornmentTextProps } from './app-input-adornment-text';\n\n//\n//\n\nexport type AppInputBaseProps = Omit<TextFieldProps, 'variant'> & {\n transformText?: (text: string) => string;\n startAdornment?: React.JSX.Element;\n startAdornmentText?: React.JSX.Element | string;\n startAdornmentTextProps?: AppInputAdornmentTextProps;\n endAdornment?: React.JSX.Element;\n endAdornmentText?: React.JSX.Element | string;\n endAdornmentTextProps?: AppInputAdornmentTextProps;\n labelSuffix?: ReactNode;\n disableWheelNumberChange?: boolean;\n};\n\nexport const AppInputBase: FC<AppInputBaseProps> = ({\n transformText,\n children,\n startAdornment,\n startAdornmentText,\n startAdornmentTextProps,\n endAdornment,\n endAdornmentText,\n endAdornmentTextProps,\n labelSuffix,\n disableWheelNumberChange = true,\n size = 'medium',\n slotProps,\n ...props\n}) => {\n let labelContent = props.label;\n\n if (props.label && labelSuffix) {\n labelContent = (\n <>\n {props.label} {labelSuffix}\n </>\n );\n }\n\n const handleChangeText = useCallback(\n (text: string) => {\n return transformText ? transformText(text) : text;\n },\n [transformText],\n );\n\n const onChange = useCallback(\n (event: React.ChangeEvent<HTMLInputElement>) => {\n event.target.value = handleChangeText(event.target.value);\n props?.onChange?.(event);\n },\n [handleChangeText, props],\n );\n\n const inputSlotProps = typeof slotProps?.input === 'function' ? {} : slotProps?.input || {};\n\n // Prevent scroll wheel from changing number input values\n const handleWheel = (event: React.WheelEvent<HTMLInputElement>) => {\n if (disableWheelNumberChange && props.type === 'number') {\n event.currentTarget.blur();\n }\n };\n\n return (\n <TextField\n size={size}\n slotProps={{\n ...slotProps,\n input: {\n startAdornment: startAdornment ? (\n <InputAdornment position=\"start\">{startAdornment}</InputAdornment>\n ) : startAdornmentText ? (\n <AppInputAdornmentText position=\"start\" {...startAdornmentTextProps}>\n {startAdornmentText}\n </AppInputAdornmentText>\n ) : undefined,\n endAdornment: endAdornment ? (\n <InputAdornment position=\"end\">{endAdornment}</InputAdornment>\n ) : endAdornmentText ? (\n <AppInputAdornmentText position=\"end\" {...endAdornmentTextProps}>\n {endAdornmentText}\n </AppInputAdornmentText>\n ) : undefined,\n ...inputSlotProps,\n\n // FIX: autocomplete inputs gets broken\n // oxlint-disable-next-line @typescript-eslint/no-explicit-any\n ...(props.InputProps as any),\n },\n htmlInput: {\n onWheel: handleWheel,\n ...slotProps?.htmlInput,\n },\n }}\n {...props}\n label={labelContent}\n onChange={onChange}\n >\n {children}\n </TextField>\n );\n};\n"],"names":[],"mappings":";;;;AAqBO,MAAM,eAAsC,CAAC;AAAA,EAClD;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,2BAA2B;AAAA,EAC3B,OAAO;AAAA,EACP;AAAA,EACA,GAAG;AACL,MAAM;AACJ,MAAI,eAAe,MAAM;AAEzB,MAAI,MAAM,SAAS,aAAa;AAC9B,mBACE,qBAAA,UAAA,EACG,UAAA;AAAA,MAAA,MAAM;AAAA,MAAM;AAAA,MAAE;AAAA,IAAA,GACjB;AAAA,EAEJ;AAEA,QAAM,mBAAmB;AAAA,IACvB,CAAC,SAAiB;AAChB,aAAO,gBAAgB,cAAc,IAAI,IAAI;AAAA,IAC/C;AAAA,IACA,CAAC,aAAa;AAAA,EAAA;AAGhB,QAAM,WAAW;AAAA,IACf,CAAC,UAA+C;AAC9C,YAAM,OAAO,QAAQ,iBAAiB,MAAM,OAAO,KAAK;AACxD,aAAO,WAAW,KAAK;AAAA,IACzB;AAAA,IACA,CAAC,kBAAkB,KAAK;AAAA,EAAA;AAG1B,QAAM,iBAAiB,OAAO,WAAW,UAAU,aAAa,KAAK,WAAW,SAAS,CAAA;AAGzF,QAAM,cAAc,CAAC,UAA8C;AACjE,QAAI,4BAA4B,MAAM,SAAS,UAAU;AACvD,YAAM,cAAc,KAAA;AAAA,IACtB;AAAA,EACF;AAEA,SACE;AAAA,IAAC;AAAA,IAAA;AAAA,MACC;AAAA,MACA,WAAW;AAAA,QACT,GAAG;AAAA,QACH,OAAO;AAAA,UACL,gBAAgB,iBACd,oBAAC,gBAAA,EAAe,UAAS,SAAS,UAAA,gBAAe,IAC/C,qBACF,oBAAC,yBAAsB,UAAS,SAAS,GAAG,yBACzC,8BACH,IACE;AAAA,UACJ,cAAc,eACZ,oBAAC,gBAAA,EAAe,UAAS,OAAO,UAAA,cAAa,IAC3C,mBACF,oBAAC,yBAAsB,UAAS,OAAO,GAAG,uBACvC,4BACH,IACE;AAAA,UACJ,GAAG;AAAA;AAAA;AAAA,UAIH,GAAI,MAAM;AAAA,QAAA;AAAA,QAEZ,WAAW;AAAA,UACT,SAAS;AAAA,UACT,GAAG,WAAW;AAAA,QAAA;AAAA,MAChB;AAAA,MAED,GAAG;AAAA,MACJ,OAAO;AAAA,MACP;AAAA,MAEC;AAAA,IAAA;AAAA,EAAA;AAGP;"}
1
+ {"version":3,"file":"app-input-base.js","sources":["../../../../src/components/app-input-base.tsx"],"sourcesContent":["import { FC, useCallback, ReactNode } from 'react';\n\nimport { InputAdornment, TextField, TextFieldProps } from '@mui/material';\n\nimport { AppInputAdornmentText, AppInputAdornmentTextProps } from './app-input-adornment-text';\n\n//\n//\n\nexport type AppInputBaseProps = Omit<TextFieldProps, 'variant'> & {\n transformText?: (text: string) => string;\n startAdornment?: React.JSX.Element;\n startAdornmentText?: React.JSX.Element | string;\n startAdornmentTextProps?: AppInputAdornmentTextProps;\n endAdornment?: React.JSX.Element;\n endAdornmentText?: React.JSX.Element | string;\n endAdornmentTextProps?: AppInputAdornmentTextProps;\n labelSuffix?: ReactNode;\n disableWheelNumberChange?: boolean;\n};\n\nexport const AppInputBase: FC<AppInputBaseProps> = ({\n transformText,\n children,\n startAdornment,\n startAdornmentText,\n startAdornmentTextProps,\n endAdornment,\n endAdornmentText,\n endAdornmentTextProps,\n labelSuffix,\n disableWheelNumberChange = true,\n size = 'medium',\n slotProps,\n ...props\n}) => {\n let labelContent = props.label;\n\n if (props.label && labelSuffix) {\n labelContent = (\n <>\n {props.label} {labelSuffix}\n </>\n );\n }\n\n const handleChangeText = useCallback(\n (text: string) => {\n return transformText ? transformText(text) : text;\n },\n [transformText],\n );\n\n const onChange = useCallback(\n (event: React.ChangeEvent<HTMLInputElement>) => {\n event.target.value = handleChangeText(event.target.value);\n props?.onChange?.(event);\n },\n [handleChangeText, props],\n );\n\n const inputSlotProps = typeof slotProps?.input === 'function' ? {} : slotProps?.input || {};\n\n // Prevent scroll wheel from changing number input values\n const handleWheel = (event: React.WheelEvent<HTMLInputElement>) => {\n if (disableWheelNumberChange && props.type === 'number') {\n event.currentTarget.blur();\n }\n };\n\n if (typeof slotProps?.htmlInput !== 'function' && slotProps?.htmlInput) {\n slotProps.htmlInput.onWheel = handleWheel;\n }\n\n return (\n <TextField\n size={size}\n slotProps={{\n ...slotProps,\n input: {\n startAdornment: startAdornment ? (\n <InputAdornment position=\"start\">{startAdornment}</InputAdornment>\n ) : startAdornmentText ? (\n <AppInputAdornmentText position=\"start\" {...startAdornmentTextProps}>\n {startAdornmentText}\n </AppInputAdornmentText>\n ) : undefined,\n endAdornment: endAdornment ? (\n <InputAdornment position=\"end\">{endAdornment}</InputAdornment>\n ) : endAdornmentText ? (\n <AppInputAdornmentText position=\"end\" {...endAdornmentTextProps}>\n {endAdornmentText}\n </AppInputAdornmentText>\n ) : undefined,\n ...inputSlotProps,\n\n // FIX: autocomplete inputs gets broken\n // oxlint-disable-next-line @typescript-eslint/no-explicit-any\n ...(props.InputProps as any),\n },\n }}\n {...props}\n label={labelContent}\n onChange={onChange}\n >\n {children}\n </TextField>\n );\n};\n"],"names":[],"mappings":";;;;AAqBO,MAAM,eAAsC,CAAC;AAAA,EAClD;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,2BAA2B;AAAA,EAC3B,OAAO;AAAA,EACP;AAAA,EACA,GAAG;AACL,MAAM;AACJ,MAAI,eAAe,MAAM;AAEzB,MAAI,MAAM,SAAS,aAAa;AAC9B,mBACE,qBAAA,UAAA,EACG,UAAA;AAAA,MAAA,MAAM;AAAA,MAAM;AAAA,MAAE;AAAA,IAAA,GACjB;AAAA,EAEJ;AAEA,QAAM,mBAAmB;AAAA,IACvB,CAAC,SAAiB;AAChB,aAAO,gBAAgB,cAAc,IAAI,IAAI;AAAA,IAC/C;AAAA,IACA,CAAC,aAAa;AAAA,EAAA;AAGhB,QAAM,WAAW;AAAA,IACf,CAAC,UAA+C;AAC9C,YAAM,OAAO,QAAQ,iBAAiB,MAAM,OAAO,KAAK;AACxD,aAAO,WAAW,KAAK;AAAA,IACzB;AAAA,IACA,CAAC,kBAAkB,KAAK;AAAA,EAAA;AAG1B,QAAM,iBAAiB,OAAO,WAAW,UAAU,aAAa,KAAK,WAAW,SAAS,CAAA;AAGzF,QAAM,cAAc,CAAC,UAA8C;AACjE,QAAI,4BAA4B,MAAM,SAAS,UAAU;AACvD,YAAM,cAAc,KAAA;AAAA,IACtB;AAAA,EACF;AAEA,MAAI,OAAO,WAAW,cAAc,cAAc,WAAW,WAAW;AACtE,cAAU,UAAU,UAAU;AAAA,EAChC;AAEA,SACE;AAAA,IAAC;AAAA,IAAA;AAAA,MACC;AAAA,MACA,WAAW;AAAA,QACT,GAAG;AAAA,QACH,OAAO;AAAA,UACL,gBAAgB,iBACd,oBAAC,gBAAA,EAAe,UAAS,SAAS,UAAA,gBAAe,IAC/C,qBACF,oBAAC,yBAAsB,UAAS,SAAS,GAAG,yBACzC,8BACH,IACE;AAAA,UACJ,cAAc,eACZ,oBAAC,gBAAA,EAAe,UAAS,OAAO,UAAA,cAAa,IAC3C,mBACF,oBAAC,yBAAsB,UAAS,OAAO,GAAG,uBACvC,4BACH,IACE;AAAA,UACJ,GAAG;AAAA;AAAA;AAAA,UAIH,GAAI,MAAM;AAAA,QAAA;AAAA,MACZ;AAAA,MAED,GAAG;AAAA,MACJ,OAAO;AAAA,MACP;AAAA,MAEC;AAAA,IAAA;AAAA,EAAA;AAGP;"}
@@ -0,0 +1,16 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ import createSvgIcon from "../../node_modules/.pnpm/@mui_material@7.3.5_@emotion_react@11.14.0_@types_react@19.2.14_react@19.2.4__@emotion__11acef18b5dc98ca7cf0f73c903fc7b9/node_modules/@mui/material/esm/utils/createSvgIcon.js";
3
+ const IconOmaniRiyal = createSvgIcon(
4
+ /* @__PURE__ */ jsx("svg", { viewBox: "0 0 729.6 365.93", children: /* @__PURE__ */ jsx(
5
+ "path",
6
+ {
7
+ fill: "currentColor",
8
+ d: "M241.67,213.77c-.63-49.2,11.44-95.41,35.76-137.75C313.47,13.28,353.02-6.48,421.55,28.87c10.67,5.5,53.6,35.43,57.81,44.54,5.03,10.87-27.48,103.87-29.11,122.3-34.69-37.51-99.37-98.66-154.85-69.62-45.05,23.58-12.02,62.54,11.46,87.68h409.36l-26.41,47.64h-332.5c-.31,1.8.87,3.3,2.53,4.6,12.44,9.72,80.97,39.54,94.75,39.54h210.71l-26.89,48.94H13.37l26.91-48.94h253.38l-37.11-44.13H64.75l26.41-47.64h150.51Z"
9
+ }
10
+ ) }),
11
+ "IconOmaniRiyal"
12
+ );
13
+ export {
14
+ IconOmaniRiyal
15
+ };
16
+ //# sourceMappingURL=omani-riyal.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"omani-riyal.js","sources":["../../../../../src/icons/currencies/omani-riyal.tsx"],"sourcesContent":["import { createSvgIcon } from '@mui/material/utils';\n\n//\n//\n\nexport const IconOmaniRiyal = createSvgIcon(\n <svg viewBox=\"0 0 729.6 365.93\">\n <path\n fill=\"currentColor\"\n d=\"M241.67,213.77c-.63-49.2,11.44-95.41,35.76-137.75C313.47,13.28,353.02-6.48,421.55,28.87c10.67,5.5,53.6,35.43,57.81,44.54,5.03,10.87-27.48,103.87-29.11,122.3-34.69-37.51-99.37-98.66-154.85-69.62-45.05,23.58-12.02,62.54,11.46,87.68h409.36l-26.41,47.64h-332.5c-.31,1.8.87,3.3,2.53,4.6,12.44,9.72,80.97,39.54,94.75,39.54h210.71l-26.89,48.94H13.37l26.91-48.94h253.38l-37.11-44.13H64.75l26.41-47.64h150.51Z\"\n />\n </svg>,\n 'IconOmaniRiyal',\n);\n"],"names":[],"mappings":";;AAKO,MAAM,iBAAiB;AAAA,EAC5B,oBAAC,OAAA,EAAI,SAAQ,oBACX,UAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,MAAK;AAAA,MACL,GAAE;AAAA,IAAA;AAAA,EAAA,GAEN;AAAA,EACA;AACF;"}
@@ -0,0 +1,25 @@
1
+ import "react";
2
+ import PropTypes from "../../../../../../../../_virtual/index.js";
3
+ import "react/jsx-runtime";
4
+ import { useDefaultProps as useDefaultProps$1 } from "../../../../../../@mui_system@7.3.5_@emotion_react@11.14.0_@types_react@19.2.14_react@19.2.4__@emotion_st_11ad1bc919f221d0594f2562584c38ea/node_modules/@mui/system/esm/DefaultPropsProvider/DefaultPropsProvider.js";
5
+ process.env.NODE_ENV !== "production" ? {
6
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
7
+ // │ These PropTypes are generated from the TypeScript type definitions. │
8
+ // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
9
+ // └─────────────────────────────────────────────────────────────────────┘
10
+ /**
11
+ * @ignore
12
+ */
13
+ children: PropTypes.node,
14
+ /**
15
+ * @ignore
16
+ */
17
+ value: PropTypes.object.isRequired
18
+ } : void 0;
19
+ function useDefaultProps(params) {
20
+ return useDefaultProps$1(params);
21
+ }
22
+ export {
23
+ useDefaultProps
24
+ };
25
+ //# sourceMappingURL=DefaultPropsProvider.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DefaultPropsProvider.js","sources":["../../../../../../../../../../../node_modules/.pnpm/@mui+material@7.3.5_@emotion+react@11.14.0_@types+react@19.2.14_react@19.2.4__@emotion+_11acef18b5dc98ca7cf0f73c903fc7b9/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport SystemDefaultPropsProvider, { useDefaultProps as useSystemDefaultProps } from '@mui/system/DefaultPropsProvider';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nfunction DefaultPropsProvider(props) {\n return /*#__PURE__*/_jsx(SystemDefaultPropsProvider, {\n ...props\n });\n}\nprocess.env.NODE_ENV !== \"production\" ? DefaultPropsProvider.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * @ignore\n */\n children: PropTypes.node,\n /**\n * @ignore\n */\n value: PropTypes.object.isRequired\n} : void 0;\nexport default DefaultPropsProvider;\nexport function useDefaultProps(params) {\n return useSystemDefaultProps(params);\n}"],"names":["useSystemDefaultProps"],"mappings":";;;;AAWA,QAAQ,IAAI,aAAa,eAAuE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQ9F,UAAU,UAAU;AAAA;AAAA;AAAA;AAAA,EAIpB,OAAO,UAAU,OAAO;AAC1B,IAAI;AAEG,SAAS,gBAAgB,QAAQ;AACtC,SAAOA,kBAAsB,MAAM;AACrC;","x_google_ignoreList":[0]}
@@ -0,0 +1,244 @@
1
+ import * as React from "react";
2
+ import PropTypes from "../../../../../../../../_virtual/index.js";
3
+ import { clsx } from "../../../../../../clsx@2.1.1/node_modules/clsx/dist/clsx.js";
4
+ import memoTheme from "../utils/memoTheme.js";
5
+ import { getSvgIconUtilityClass } from "./svgIconClasses.js";
6
+ import { jsxs, jsx } from "react/jsx-runtime";
7
+ import { useDefaultProps } from "../DefaultPropsProvider/DefaultPropsProvider.js";
8
+ import styled from "../styles/styled.js";
9
+ import capitalize from "../../../../../../@mui_utils@7.3.5_@types_react@19.2.14_react@19.2.4/node_modules/@mui/utils/esm/capitalize/capitalize.js";
10
+ import composeClasses from "../../../../../../@mui_utils@7.3.5_@types_react@19.2.14_react@19.2.4/node_modules/@mui/utils/esm/composeClasses/composeClasses.js";
11
+ const useUtilityClasses = (ownerState) => {
12
+ const {
13
+ color,
14
+ fontSize,
15
+ classes
16
+ } = ownerState;
17
+ const slots = {
18
+ root: ["root", color !== "inherit" && `color${capitalize(color)}`, `fontSize${capitalize(fontSize)}`]
19
+ };
20
+ return composeClasses(slots, getSvgIconUtilityClass, classes);
21
+ };
22
+ const SvgIconRoot = styled("svg", {
23
+ name: "MuiSvgIcon",
24
+ slot: "Root",
25
+ overridesResolver: (props, styles) => {
26
+ const {
27
+ ownerState
28
+ } = props;
29
+ return [styles.root, ownerState.color !== "inherit" && styles[`color${capitalize(ownerState.color)}`], styles[`fontSize${capitalize(ownerState.fontSize)}`]];
30
+ }
31
+ })(memoTheme(({
32
+ theme
33
+ }) => ({
34
+ userSelect: "none",
35
+ width: "1em",
36
+ height: "1em",
37
+ display: "inline-block",
38
+ flexShrink: 0,
39
+ transition: theme.transitions?.create?.("fill", {
40
+ duration: (theme.vars ?? theme).transitions?.duration?.shorter
41
+ }),
42
+ variants: [
43
+ {
44
+ props: (props) => !props.hasSvgAsChild,
45
+ style: {
46
+ // the <svg> will define the property that has `currentColor`
47
+ // for example heroicons uses fill="none" and stroke="currentColor"
48
+ fill: "currentColor"
49
+ }
50
+ },
51
+ {
52
+ props: {
53
+ fontSize: "inherit"
54
+ },
55
+ style: {
56
+ fontSize: "inherit"
57
+ }
58
+ },
59
+ {
60
+ props: {
61
+ fontSize: "small"
62
+ },
63
+ style: {
64
+ fontSize: theme.typography?.pxToRem?.(20) || "1.25rem"
65
+ }
66
+ },
67
+ {
68
+ props: {
69
+ fontSize: "medium"
70
+ },
71
+ style: {
72
+ fontSize: theme.typography?.pxToRem?.(24) || "1.5rem"
73
+ }
74
+ },
75
+ {
76
+ props: {
77
+ fontSize: "large"
78
+ },
79
+ style: {
80
+ fontSize: theme.typography?.pxToRem?.(35) || "2.1875rem"
81
+ }
82
+ },
83
+ // TODO v5 deprecate color prop, v6 remove for sx
84
+ ...Object.entries((theme.vars ?? theme).palette).filter(([, value]) => value && value.main).map(([color]) => ({
85
+ props: {
86
+ color
87
+ },
88
+ style: {
89
+ color: (theme.vars ?? theme).palette?.[color]?.main
90
+ }
91
+ })),
92
+ {
93
+ props: {
94
+ color: "action"
95
+ },
96
+ style: {
97
+ color: (theme.vars ?? theme).palette?.action?.active
98
+ }
99
+ },
100
+ {
101
+ props: {
102
+ color: "disabled"
103
+ },
104
+ style: {
105
+ color: (theme.vars ?? theme).palette?.action?.disabled
106
+ }
107
+ },
108
+ {
109
+ props: {
110
+ color: "inherit"
111
+ },
112
+ style: {
113
+ color: void 0
114
+ }
115
+ }
116
+ ]
117
+ })));
118
+ const SvgIcon = /* @__PURE__ */ React.forwardRef(function SvgIcon2(inProps, ref) {
119
+ const props = useDefaultProps({
120
+ props: inProps,
121
+ name: "MuiSvgIcon"
122
+ });
123
+ const {
124
+ children,
125
+ className,
126
+ color = "inherit",
127
+ component = "svg",
128
+ fontSize = "medium",
129
+ htmlColor,
130
+ inheritViewBox = false,
131
+ titleAccess,
132
+ viewBox = "0 0 24 24",
133
+ ...other
134
+ } = props;
135
+ const hasSvgAsChild = /* @__PURE__ */ React.isValidElement(children) && children.type === "svg";
136
+ const ownerState = {
137
+ ...props,
138
+ color,
139
+ component,
140
+ fontSize,
141
+ instanceFontSize: inProps.fontSize,
142
+ inheritViewBox,
143
+ viewBox,
144
+ hasSvgAsChild
145
+ };
146
+ const more = {};
147
+ if (!inheritViewBox) {
148
+ more.viewBox = viewBox;
149
+ }
150
+ const classes = useUtilityClasses(ownerState);
151
+ return /* @__PURE__ */ jsxs(SvgIconRoot, {
152
+ as: component,
153
+ className: clsx(classes.root, className),
154
+ focusable: "false",
155
+ color: htmlColor,
156
+ "aria-hidden": titleAccess ? void 0 : true,
157
+ role: titleAccess ? "img" : void 0,
158
+ ref,
159
+ ...more,
160
+ ...other,
161
+ ...hasSvgAsChild && children.props,
162
+ ownerState,
163
+ children: [hasSvgAsChild ? children.props.children : children, titleAccess ? /* @__PURE__ */ jsx("title", {
164
+ children: titleAccess
165
+ }) : null]
166
+ });
167
+ });
168
+ process.env.NODE_ENV !== "production" ? SvgIcon.propTypes = {
169
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
170
+ // │ These PropTypes are generated from the TypeScript type definitions. │
171
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
172
+ // └─────────────────────────────────────────────────────────────────────┘
173
+ /**
174
+ * Node passed into the SVG element.
175
+ */
176
+ children: PropTypes.node,
177
+ /**
178
+ * Override or extend the styles applied to the component.
179
+ */
180
+ classes: PropTypes.object,
181
+ /**
182
+ * @ignore
183
+ */
184
+ className: PropTypes.string,
185
+ /**
186
+ * The color of the component.
187
+ * It supports both default and custom theme colors, which can be added as shown in the
188
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
189
+ * You can use the `htmlColor` prop to apply a color attribute to the SVG element.
190
+ * @default 'inherit'
191
+ */
192
+ color: PropTypes.oneOfType([PropTypes.oneOf(["inherit", "action", "disabled", "primary", "secondary", "error", "info", "success", "warning"]), PropTypes.string]),
193
+ /**
194
+ * The component used for the root node.
195
+ * Either a string to use a HTML element or a component.
196
+ */
197
+ component: PropTypes.elementType,
198
+ /**
199
+ * The fontSize applied to the icon. Defaults to 24px, but can be configure to inherit font size.
200
+ * @default 'medium'
201
+ */
202
+ fontSize: PropTypes.oneOfType([PropTypes.oneOf(["inherit", "large", "medium", "small"]), PropTypes.string]),
203
+ /**
204
+ * Applies a color attribute to the SVG element.
205
+ */
206
+ htmlColor: PropTypes.string,
207
+ /**
208
+ * If `true`, the root node will inherit the custom `component`'s viewBox and the `viewBox`
209
+ * prop will be ignored.
210
+ * Useful when you want to reference a custom `component` and have `SvgIcon` pass that
211
+ * `component`'s viewBox to the root node.
212
+ * @default false
213
+ */
214
+ inheritViewBox: PropTypes.bool,
215
+ /**
216
+ * The shape-rendering attribute. The behavior of the different options is described on the
217
+ * [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Attribute/shape-rendering).
218
+ * If you are having issues with blurry icons you should investigate this prop.
219
+ */
220
+ shapeRendering: PropTypes.string,
221
+ /**
222
+ * The system prop that allows defining system overrides as well as additional CSS styles.
223
+ */
224
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
225
+ /**
226
+ * Provides a human-readable title for the element that contains it.
227
+ * https://www.w3.org/TR/SVG-access/#Equivalent
228
+ */
229
+ titleAccess: PropTypes.string,
230
+ /**
231
+ * Allows you to redefine what the coordinates without units mean inside an SVG element.
232
+ * For example, if the SVG element is 500 (width) by 200 (height),
233
+ * and you pass viewBox="0 0 50 20",
234
+ * this means that the coordinates inside the SVG will go from the top left corner (0,0)
235
+ * to bottom right (50,20) and each unit will be worth 10px.
236
+ * @default '0 0 24 24'
237
+ */
238
+ viewBox: PropTypes.string
239
+ } : void 0;
240
+ SvgIcon.muiName = "SvgIcon";
241
+ export {
242
+ SvgIcon as default
243
+ };
244
+ //# sourceMappingURL=SvgIcon.js.map