@erpsquad/common 1.8.49 → 1.8.50

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 (35) hide show
  1. package/dist/_virtual/extends/index.esm.js +4 -2
  2. package/dist/_virtual/extends/index.esm.js.map +1 -1
  3. package/dist/_virtual/extends/index.js +1 -1
  4. package/dist/_virtual/index/index.esm.js +2 -4
  5. package/dist/_virtual/index/index.esm.js.map +1 -1
  6. package/dist/_virtual/index/index.esm3.js +4 -2
  7. package/dist/_virtual/index/index.esm3.js.map +1 -1
  8. package/dist/_virtual/index/index.js +1 -1
  9. package/dist/_virtual/index/index3.js +1 -1
  10. package/dist/index.esm.js +0 -7
  11. package/dist/index.esm.js.map +1 -1
  12. package/dist/index.js +1 -1
  13. package/dist/node_modules/@mui/icons-material/utils/createSvgIcon/index.esm.js +1 -1
  14. package/dist/node_modules/@mui/icons-material/utils/createSvgIcon/index.js +1 -1
  15. package/dist/node_modules/@mui/icons-material/utils/createSvgIcon/index.js.map +1 -1
  16. package/dist/node_modules/@mui/system/createStyled/index.esm.js +4 -4
  17. package/dist/node_modules/@mui/system/createStyled/index.esm.js.map +1 -1
  18. package/dist/node_modules/@mui/system/createStyled/index.js +1 -1
  19. package/dist/node_modules/@mui/system/createStyled/index.js.map +1 -1
  20. package/dist/node_modules/prop-types/index/index.esm.js +1 -1
  21. package/dist/node_modules/prop-types/index/index.js +1 -1
  22. package/dist/node_modules/prop-types/index/index.js.map +1 -1
  23. package/dist/redux/index.d.ts +0 -1
  24. package/dist/redux/index.esm.js +0 -5
  25. package/dist/redux/index.esm.js.map +1 -1
  26. package/dist/redux/index.js +1 -1
  27. package/dist/src/redux/index.d.ts +0 -1
  28. package/dist/style.css +69 -69
  29. package/package.json +1 -1
  30. package/dist/node_modules/@babel/runtime/helpers/extends/index.esm.js +0 -23
  31. package/dist/node_modules/@babel/runtime/helpers/extends/index.esm.js.map +0 -1
  32. package/dist/node_modules/@babel/runtime/helpers/extends/index.js +0 -2
  33. package/dist/node_modules/@babel/runtime/helpers/extends/index.js.map +0 -1
  34. package/dist/redux/toolkit.d.ts +0 -1
  35. package/dist/src/redux/toolkit.d.ts +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index.esm.js","sources":["../../../../../node_modules/@mui/system/createStyled.js"],"sourcesContent":["\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = createStyled;\nexports.shouldForwardProp = shouldForwardProp;\nexports.systemDefaultTheme = void 0;\nvar _extends2 = _interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));\nvar _objectWithoutPropertiesLoose2 = _interopRequireDefault(require(\"@babel/runtime/helpers/objectWithoutPropertiesLoose\"));\nvar _styledEngine = _interopRequireWildcard(require(\"@mui/styled-engine\"));\nvar _deepmerge = require(\"@mui/utils/deepmerge\");\nvar _capitalize = _interopRequireDefault(require(\"@mui/utils/capitalize\"));\nvar _getDisplayName = _interopRequireDefault(require(\"@mui/utils/getDisplayName\"));\nvar _createTheme = _interopRequireDefault(require(\"./createTheme\"));\nvar _styleFunctionSx = _interopRequireDefault(require(\"./styleFunctionSx\"));\nconst _excluded = [\"ownerState\"],\n _excluded2 = [\"variants\"],\n _excluded3 = [\"name\", \"slot\", \"skipVariantsResolver\", \"skipSx\", \"overridesResolver\"];\n/* eslint-disable no-underscore-dangle */\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != typeof e && \"function\" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }\nfunction isEmpty(obj) {\n return Object.keys(obj).length === 0;\n}\n\n// https://github.com/emotion-js/emotion/blob/26ded6109fcd8ca9875cc2ce4564fee678a3f3c5/packages/styled/src/utils.js#L40\nfunction isStringTag(tag) {\n return typeof tag === 'string' &&\n // 96 is one less than the char code\n // for \"a\" so this is checking that\n // it's a lowercase character\n tag.charCodeAt(0) > 96;\n}\n\n// Update /system/styled/#api in case if this changes\nfunction shouldForwardProp(prop) {\n return prop !== 'ownerState' && prop !== 'theme' && prop !== 'sx' && prop !== 'as';\n}\nfunction shallowLayer(serialized, layerName) {\n if (layerName && serialized && typeof serialized === 'object' && serialized.styles && !serialized.styles.startsWith('@layer') // only add the layer if it is not already there.\n ) {\n serialized.styles = `@layer ${layerName}{${String(serialized.styles)}}`;\n }\n return serialized;\n}\nconst systemDefaultTheme = exports.systemDefaultTheme = (0, _createTheme.default)();\nconst lowercaseFirstLetter = string => {\n if (!string) {\n return string;\n }\n return string.charAt(0).toLowerCase() + string.slice(1);\n};\nfunction resolveTheme({\n defaultTheme,\n theme,\n themeId\n}) {\n return isEmpty(theme) ? defaultTheme : theme[themeId] || theme;\n}\nfunction defaultOverridesResolver(slot) {\n if (!slot) {\n return null;\n }\n return (props, styles) => styles[slot];\n}\nfunction processStyleArg(callableStyle, _ref, layerName) {\n let {\n ownerState\n } = _ref,\n props = (0, _objectWithoutPropertiesLoose2.default)(_ref, _excluded);\n const resolvedStylesArg = typeof callableStyle === 'function' ? callableStyle((0, _extends2.default)({\n ownerState\n }, props)) : callableStyle;\n if (Array.isArray(resolvedStylesArg)) {\n return resolvedStylesArg.flatMap(resolvedStyle => processStyleArg(resolvedStyle, (0, _extends2.default)({\n ownerState\n }, props), layerName));\n }\n if (!!resolvedStylesArg && typeof resolvedStylesArg === 'object' && Array.isArray(resolvedStylesArg.variants)) {\n const {\n variants = []\n } = resolvedStylesArg,\n otherStyles = (0, _objectWithoutPropertiesLoose2.default)(resolvedStylesArg, _excluded2);\n let result = otherStyles;\n variants.forEach(variant => {\n let isMatch = true;\n if (typeof variant.props === 'function') {\n isMatch = variant.props((0, _extends2.default)({\n ownerState\n }, props, ownerState));\n } else {\n Object.keys(variant.props).forEach(key => {\n if ((ownerState == null ? void 0 : ownerState[key]) !== variant.props[key] && props[key] !== variant.props[key]) {\n isMatch = false;\n }\n });\n }\n if (isMatch) {\n if (!Array.isArray(result)) {\n result = [result];\n }\n const variantStyle = typeof variant.style === 'function' ? variant.style((0, _extends2.default)({\n ownerState\n }, props, ownerState)) : variant.style;\n result.push(layerName ? shallowLayer((0, _styledEngine.internal_serializeStyles)(variantStyle), layerName) : variantStyle);\n }\n });\n return result;\n }\n return layerName ? shallowLayer((0, _styledEngine.internal_serializeStyles)(resolvedStylesArg), layerName) : resolvedStylesArg;\n}\nfunction createStyled(input = {}) {\n const {\n themeId,\n defaultTheme = systemDefaultTheme,\n rootShouldForwardProp = shouldForwardProp,\n slotShouldForwardProp = shouldForwardProp\n } = input;\n const systemSx = props => {\n return (0, _styleFunctionSx.default)((0, _extends2.default)({}, props, {\n theme: resolveTheme((0, _extends2.default)({}, props, {\n defaultTheme,\n themeId\n }))\n }));\n };\n systemSx.__mui_systemSx = true;\n return (tag, inputOptions = {}) => {\n // Filter out the `sx` style function from the previous styled component to prevent unnecessary styles generated by the composite components.\n (0, _styledEngine.internal_processStyles)(tag, styles => styles.filter(style => !(style != null && style.__mui_systemSx)));\n const {\n name: componentName,\n slot: componentSlot,\n skipVariantsResolver: inputSkipVariantsResolver,\n skipSx: inputSkipSx,\n // TODO v6: remove `lowercaseFirstLetter()` in the next major release\n // For more details: https://github.com/mui/material-ui/pull/37908\n overridesResolver = defaultOverridesResolver(lowercaseFirstLetter(componentSlot))\n } = inputOptions,\n options = (0, _objectWithoutPropertiesLoose2.default)(inputOptions, _excluded3);\n const layerName = componentName && componentName.startsWith('Mui') || !!componentSlot ? 'components' : 'custom';\n\n // if skipVariantsResolver option is defined, take the value, otherwise, true for root and false for other slots.\n const skipVariantsResolver = inputSkipVariantsResolver !== undefined ? inputSkipVariantsResolver :\n // TODO v6: remove `Root` in the next major release\n // For more details: https://github.com/mui/material-ui/pull/37908\n componentSlot && componentSlot !== 'Root' && componentSlot !== 'root' || false;\n const skipSx = inputSkipSx || false;\n let label;\n if (process.env.NODE_ENV !== 'production') {\n if (componentName) {\n // TODO v6: remove `lowercaseFirstLetter()` in the next major release\n // For more details: https://github.com/mui/material-ui/pull/37908\n label = `${componentName}-${lowercaseFirstLetter(componentSlot || 'Root')}`;\n }\n }\n let shouldForwardPropOption = shouldForwardProp;\n\n // TODO v6: remove `Root` in the next major release\n // For more details: https://github.com/mui/material-ui/pull/37908\n if (componentSlot === 'Root' || componentSlot === 'root') {\n shouldForwardPropOption = rootShouldForwardProp;\n } else if (componentSlot) {\n // any other slot specified\n shouldForwardPropOption = slotShouldForwardProp;\n } else if (isStringTag(tag)) {\n // for string (html) tag, preserve the behavior in emotion & styled-components.\n shouldForwardPropOption = undefined;\n }\n const defaultStyledResolver = (0, _styledEngine.default)(tag, (0, _extends2.default)({\n shouldForwardProp: shouldForwardPropOption,\n label\n }, options));\n const transformStyleArg = stylesArg => {\n // On the server Emotion doesn't use React.forwardRef for creating components, so the created\n // component stays as a function. This condition makes sure that we do not interpolate functions\n // which are basically components used as a selectors.\n if (typeof stylesArg === 'function' && stylesArg.__emotion_real !== stylesArg || (0, _deepmerge.isPlainObject)(stylesArg)) {\n return props => {\n const theme = resolveTheme({\n theme: props.theme,\n defaultTheme,\n themeId\n });\n return processStyleArg(stylesArg, (0, _extends2.default)({}, props, {\n theme\n }), theme.modularCssLayers ? layerName : undefined);\n };\n }\n return stylesArg;\n };\n const muiStyledResolver = (styleArg, ...expressions) => {\n let transformedStyleArg = transformStyleArg(styleArg);\n const expressionsWithDefaultTheme = expressions ? expressions.map(transformStyleArg) : [];\n if (componentName && overridesResolver) {\n expressionsWithDefaultTheme.push(props => {\n const theme = resolveTheme((0, _extends2.default)({}, props, {\n defaultTheme,\n themeId\n }));\n if (!theme.components || !theme.components[componentName] || !theme.components[componentName].styleOverrides) {\n return null;\n }\n const styleOverrides = theme.components[componentName].styleOverrides;\n const resolvedStyleOverrides = {};\n // TODO: v7 remove iteration and use `resolveStyleArg(styleOverrides[slot])` directly\n Object.entries(styleOverrides).forEach(([slotKey, slotStyle]) => {\n resolvedStyleOverrides[slotKey] = processStyleArg(slotStyle, (0, _extends2.default)({}, props, {\n theme\n }), theme.modularCssLayers ? 'theme' : undefined);\n });\n return overridesResolver(props, resolvedStyleOverrides);\n });\n }\n if (componentName && !skipVariantsResolver) {\n expressionsWithDefaultTheme.push(props => {\n var _theme$components;\n const theme = resolveTheme((0, _extends2.default)({}, props, {\n defaultTheme,\n themeId\n }));\n const themeVariants = theme == null || (_theme$components = theme.components) == null || (_theme$components = _theme$components[componentName]) == null ? void 0 : _theme$components.variants;\n return processStyleArg({\n variants: themeVariants\n }, (0, _extends2.default)({}, props, {\n theme\n }), theme.modularCssLayers ? 'theme' : undefined);\n });\n }\n if (!skipSx) {\n expressionsWithDefaultTheme.push(systemSx);\n }\n const numOfCustomFnsApplied = expressionsWithDefaultTheme.length - expressions.length;\n if (Array.isArray(styleArg) && numOfCustomFnsApplied > 0) {\n const placeholders = new Array(numOfCustomFnsApplied).fill('');\n // If the type is array, than we need to add placeholders in the template for the overrides, variants and the sx styles.\n transformedStyleArg = [...styleArg, ...placeholders];\n transformedStyleArg.raw = [...styleArg.raw, ...placeholders];\n }\n const Component = defaultStyledResolver(transformedStyleArg, ...expressionsWithDefaultTheme);\n if (process.env.NODE_ENV !== 'production') {\n let displayName;\n if (componentName) {\n displayName = `${componentName}${(0, _capitalize.default)(componentSlot || '')}`;\n }\n if (displayName === undefined) {\n displayName = `Styled(${(0, _getDisplayName.default)(tag)})`;\n }\n Component.displayName = displayName;\n }\n if (tag.muiName) {\n Component.muiName = tag.muiName;\n }\n return Component;\n };\n if (defaultStyledResolver.withConfig) {\n muiStyledResolver.withConfig = defaultStyledResolver.withConfig;\n }\n return muiStyledResolver;\n };\n}"],"names":["require$$0","createStyled_1","require$$1","require$$2","require$$3","e"],"mappings":";;;;;;;;;;;AAEA,IAAI,yBAAyBA;AAC7B,OAAO,eAAeC,gBAAS,cAAc;AAAA,EAC3C,OAAO;AACT,CAAC;AACD,IAAA,WAAAA,eAAA,UAAkB;AAClBA,eAAA,oBAA4B;AAC5BA,eAAA,qBAA6B;AAC7B,IAAI,YAAY,uBAAuBC,iBAAyC;AAChF,IAAI,iCAAiC,uBAAuBC,qCAA8D;AAC1H,IAAI,gBAAgB,wBAAwBC,UAA6B;AACzE,IAAI,aAAa;AACjB,IAAI,cAAc,uBAAuB,UAAgC;AACzE,IAAI,kBAAkB,uBAAuB,UAAoC;AACjF,IAAI,eAAe,uBAAuB,UAAwB;AAClE,IAAI,mBAAmB,uBAAuB,UAA4B;AAC1E,MAAM,YAAY,CAAC,YAAY,GAC7B,aAAa,CAAC,UAAU,GACxB,aAAa,CAAC,QAAQ,QAAQ,wBAAwB,UAAU,mBAAmB;AAErF,SAAS,yBAAyB,GAAG;AAAE,MAAI,cAAc,OAAO,QAAS,QAAO;AAAM,MAAI,IAAI,oBAAI,QAAA,GAAW,wBAAQ,QAAA;AAAW,UAAQ,2BAA2B,SAAUC,IAAG;AAAE,WAAOA,KAAI,IAAI;AAAA,EAAA,GAAM,CAAC;AAAG;AAC3M,SAAS,wBAAwB,GAAG,GAAG;AAAE,MAAU,KAAK,EAAE,WAAY,QAAO;AAAG,MAAI,SAAS,KAAK,YAAY,OAAO,KAAK,cAAc,OAAO,EAAG,QAAO,EAAE,SAAS,EAAA;AAAK,MAAI,IAAI,yBAAyB,CAAC;AAAG,MAAI,KAAK,EAAE,IAAI,CAAC,EAAG,QAAO,EAAE,IAAI,CAAC;AAAG,MAAI,IAAI,EAAE,WAAW,KAAA,GAAQ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Y;AAAA,MAAA;AAE7D,YAAM,YAAY,sBAAsB,qBAAqB,GAAG,2BAA2B;AAC3F,UAAI,2BAAY,aAAa,cAAc;AACzC,YAAI;AACJ,YAAI,eAAe;AACjB,wBAAc,GAAG,aAAa,IAAA,GAAO,YAAY,SAAS,iBAAiB,EAAE,CAAC;AAAA,QAAA;AAEhF,YAAI,gBAAgB,QAAW;AAC7B,wBAAc,WAAA,GAAc,gBAAgB,SAAS,GAAG,CAAC;AAAA,QAAA;AAE3D,kBAAU,cAAc;AAAA,MAAA;AAE1B,UAAI,IAAI,SAAS;AACf,kBAAU,UAAU,IAAI;AAAA,MAAA;AAE1B,aAAO;AAAA,IAAA;AAET,QAAI,sBAAsB,YAAY;AACpC,wBAAkB,aAAa,sBAAsB;AAAA,IAAA;AAEvD,WAAO;AAAA,EAAA;AAEX;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.esm.js","sources":["../../../../../node_modules/@mui/system/createStyled.js"],"sourcesContent":["\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = createStyled;\nexports.shouldForwardProp = shouldForwardProp;\nexports.systemDefaultTheme = void 0;\nvar _extends2 = _interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));\nvar _objectWithoutPropertiesLoose2 = _interopRequireDefault(require(\"@babel/runtime/helpers/objectWithoutPropertiesLoose\"));\nvar _styledEngine = _interopRequireWildcard(require(\"@mui/styled-engine\"));\nvar _deepmerge = require(\"@mui/utils/deepmerge\");\nvar _capitalize = _interopRequireDefault(require(\"@mui/utils/capitalize\"));\nvar _getDisplayName = _interopRequireDefault(require(\"@mui/utils/getDisplayName\"));\nvar _createTheme = _interopRequireDefault(require(\"./createTheme\"));\nvar _styleFunctionSx = _interopRequireDefault(require(\"./styleFunctionSx\"));\nconst _excluded = [\"ownerState\"],\n _excluded2 = [\"variants\"],\n _excluded3 = [\"name\", \"slot\", \"skipVariantsResolver\", \"skipSx\", \"overridesResolver\"];\n/* eslint-disable no-underscore-dangle */\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != typeof e && \"function\" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }\nfunction isEmpty(obj) {\n return Object.keys(obj).length === 0;\n}\n\n// https://github.com/emotion-js/emotion/blob/26ded6109fcd8ca9875cc2ce4564fee678a3f3c5/packages/styled/src/utils.js#L40\nfunction isStringTag(tag) {\n return typeof tag === 'string' &&\n // 96 is one less than the char code\n // for \"a\" so this is checking that\n // it's a lowercase character\n tag.charCodeAt(0) > 96;\n}\n\n// Update /system/styled/#api in case if this changes\nfunction shouldForwardProp(prop) {\n return prop !== 'ownerState' && prop !== 'theme' && prop !== 'sx' && prop !== 'as';\n}\nfunction shallowLayer(serialized, layerName) {\n if (layerName && serialized && typeof serialized === 'object' && serialized.styles && !serialized.styles.startsWith('@layer') // only add the layer if it is not already there.\n ) {\n serialized.styles = `@layer ${layerName}{${String(serialized.styles)}}`;\n }\n return serialized;\n}\nconst systemDefaultTheme = exports.systemDefaultTheme = (0, _createTheme.default)();\nconst lowercaseFirstLetter = string => {\n if (!string) {\n return string;\n }\n return string.charAt(0).toLowerCase() + string.slice(1);\n};\nfunction resolveTheme({\n defaultTheme,\n theme,\n themeId\n}) {\n return isEmpty(theme) ? defaultTheme : theme[themeId] || theme;\n}\nfunction defaultOverridesResolver(slot) {\n if (!slot) {\n return null;\n }\n return (props, styles) => styles[slot];\n}\nfunction processStyleArg(callableStyle, _ref, layerName) {\n let {\n ownerState\n } = _ref,\n props = (0, _objectWithoutPropertiesLoose2.default)(_ref, _excluded);\n const resolvedStylesArg = typeof callableStyle === 'function' ? callableStyle((0, _extends2.default)({\n ownerState\n }, props)) : callableStyle;\n if (Array.isArray(resolvedStylesArg)) {\n return resolvedStylesArg.flatMap(resolvedStyle => processStyleArg(resolvedStyle, (0, _extends2.default)({\n ownerState\n }, props), layerName));\n }\n if (!!resolvedStylesArg && typeof resolvedStylesArg === 'object' && Array.isArray(resolvedStylesArg.variants)) {\n const {\n variants = []\n } = resolvedStylesArg,\n otherStyles = (0, _objectWithoutPropertiesLoose2.default)(resolvedStylesArg, _excluded2);\n let result = otherStyles;\n variants.forEach(variant => {\n let isMatch = true;\n if (typeof variant.props === 'function') {\n isMatch = variant.props((0, _extends2.default)({\n ownerState\n }, props, ownerState));\n } else {\n Object.keys(variant.props).forEach(key => {\n if ((ownerState == null ? void 0 : ownerState[key]) !== variant.props[key] && props[key] !== variant.props[key]) {\n isMatch = false;\n }\n });\n }\n if (isMatch) {\n if (!Array.isArray(result)) {\n result = [result];\n }\n const variantStyle = typeof variant.style === 'function' ? variant.style((0, _extends2.default)({\n ownerState\n }, props, ownerState)) : variant.style;\n result.push(layerName ? shallowLayer((0, _styledEngine.internal_serializeStyles)(variantStyle), layerName) : variantStyle);\n }\n });\n return result;\n }\n return layerName ? shallowLayer((0, _styledEngine.internal_serializeStyles)(resolvedStylesArg), layerName) : resolvedStylesArg;\n}\nfunction createStyled(input = {}) {\n const {\n themeId,\n defaultTheme = systemDefaultTheme,\n rootShouldForwardProp = shouldForwardProp,\n slotShouldForwardProp = shouldForwardProp\n } = input;\n const systemSx = props => {\n return (0, _styleFunctionSx.default)((0, _extends2.default)({}, props, {\n theme: resolveTheme((0, _extends2.default)({}, props, {\n defaultTheme,\n themeId\n }))\n }));\n };\n systemSx.__mui_systemSx = true;\n return (tag, inputOptions = {}) => {\n // Filter out the `sx` style function from the previous styled component to prevent unnecessary styles generated by the composite components.\n (0, _styledEngine.internal_processStyles)(tag, styles => styles.filter(style => !(style != null && style.__mui_systemSx)));\n const {\n name: componentName,\n slot: componentSlot,\n skipVariantsResolver: inputSkipVariantsResolver,\n skipSx: inputSkipSx,\n // TODO v6: remove `lowercaseFirstLetter()` in the next major release\n // For more details: https://github.com/mui/material-ui/pull/37908\n overridesResolver = defaultOverridesResolver(lowercaseFirstLetter(componentSlot))\n } = inputOptions,\n options = (0, _objectWithoutPropertiesLoose2.default)(inputOptions, _excluded3);\n const layerName = componentName && componentName.startsWith('Mui') || !!componentSlot ? 'components' : 'custom';\n\n // if skipVariantsResolver option is defined, take the value, otherwise, true for root and false for other slots.\n const skipVariantsResolver = inputSkipVariantsResolver !== undefined ? inputSkipVariantsResolver :\n // TODO v6: remove `Root` in the next major release\n // For more details: https://github.com/mui/material-ui/pull/37908\n componentSlot && componentSlot !== 'Root' && componentSlot !== 'root' || false;\n const skipSx = inputSkipSx || false;\n let label;\n if (process.env.NODE_ENV !== 'production') {\n if (componentName) {\n // TODO v6: remove `lowercaseFirstLetter()` in the next major release\n // For more details: https://github.com/mui/material-ui/pull/37908\n label = `${componentName}-${lowercaseFirstLetter(componentSlot || 'Root')}`;\n }\n }\n let shouldForwardPropOption = shouldForwardProp;\n\n // TODO v6: remove `Root` in the next major release\n // For more details: https://github.com/mui/material-ui/pull/37908\n if (componentSlot === 'Root' || componentSlot === 'root') {\n shouldForwardPropOption = rootShouldForwardProp;\n } else if (componentSlot) {\n // any other slot specified\n shouldForwardPropOption = slotShouldForwardProp;\n } else if (isStringTag(tag)) {\n // for string (html) tag, preserve the behavior in emotion & styled-components.\n shouldForwardPropOption = undefined;\n }\n const defaultStyledResolver = (0, _styledEngine.default)(tag, (0, _extends2.default)({\n shouldForwardProp: shouldForwardPropOption,\n label\n }, options));\n const transformStyleArg = stylesArg => {\n // On the server Emotion doesn't use React.forwardRef for creating components, so the created\n // component stays as a function. This condition makes sure that we do not interpolate functions\n // which are basically components used as a selectors.\n if (typeof stylesArg === 'function' && stylesArg.__emotion_real !== stylesArg || (0, _deepmerge.isPlainObject)(stylesArg)) {\n return props => {\n const theme = resolveTheme({\n theme: props.theme,\n defaultTheme,\n themeId\n });\n return processStyleArg(stylesArg, (0, _extends2.default)({}, props, {\n theme\n }), theme.modularCssLayers ? layerName : undefined);\n };\n }\n return stylesArg;\n };\n const muiStyledResolver = (styleArg, ...expressions) => {\n let transformedStyleArg = transformStyleArg(styleArg);\n const expressionsWithDefaultTheme = expressions ? expressions.map(transformStyleArg) : [];\n if (componentName && overridesResolver) {\n expressionsWithDefaultTheme.push(props => {\n const theme = resolveTheme((0, _extends2.default)({}, props, {\n defaultTheme,\n themeId\n }));\n if (!theme.components || !theme.components[componentName] || !theme.components[componentName].styleOverrides) {\n return null;\n }\n const styleOverrides = theme.components[componentName].styleOverrides;\n const resolvedStyleOverrides = {};\n // TODO: v7 remove iteration and use `resolveStyleArg(styleOverrides[slot])` directly\n Object.entries(styleOverrides).forEach(([slotKey, slotStyle]) => {\n resolvedStyleOverrides[slotKey] = processStyleArg(slotStyle, (0, _extends2.default)({}, props, {\n theme\n }), theme.modularCssLayers ? 'theme' : undefined);\n });\n return overridesResolver(props, resolvedStyleOverrides);\n });\n }\n if (componentName && !skipVariantsResolver) {\n expressionsWithDefaultTheme.push(props => {\n var _theme$components;\n const theme = resolveTheme((0, _extends2.default)({}, props, {\n defaultTheme,\n themeId\n }));\n const themeVariants = theme == null || (_theme$components = theme.components) == null || (_theme$components = _theme$components[componentName]) == null ? void 0 : _theme$components.variants;\n return processStyleArg({\n variants: themeVariants\n }, (0, _extends2.default)({}, props, {\n theme\n }), theme.modularCssLayers ? 'theme' : undefined);\n });\n }\n if (!skipSx) {\n expressionsWithDefaultTheme.push(systemSx);\n }\n const numOfCustomFnsApplied = expressionsWithDefaultTheme.length - expressions.length;\n if (Array.isArray(styleArg) && numOfCustomFnsApplied > 0) {\n const placeholders = new Array(numOfCustomFnsApplied).fill('');\n // If the type is array, than we need to add placeholders in the template for the overrides, variants and the sx styles.\n transformedStyleArg = [...styleArg, ...placeholders];\n transformedStyleArg.raw = [...styleArg.raw, ...placeholders];\n }\n const Component = defaultStyledResolver(transformedStyleArg, ...expressionsWithDefaultTheme);\n if (process.env.NODE_ENV !== 'production') {\n let displayName;\n if (componentName) {\n displayName = `${componentName}${(0, _capitalize.default)(componentSlot || '')}`;\n }\n if (displayName === undefined) {\n displayName = `Styled(${(0, _getDisplayName.default)(tag)})`;\n }\n Component.displayName = displayName;\n }\n if (tag.muiName) {\n Component.muiName = tag.muiName;\n }\n return Component;\n };\n if (defaultStyledResolver.withConfig) {\n muiStyledResolver.withConfig = defaultStyledResolver.withConfig;\n }\n return muiStyledResolver;\n };\n}"],"names":["require$$0","createStyled_1","require$$2","require$$3","e"],"mappings":";;;;;;;;;;;AAEA,IAAI,yBAAyBA;AAC7B,OAAO,eAAeC,gBAAS,cAAc;AAAA,EAC3C,OAAO;AACT,CAAC;AACD,IAAA,WAAAA,eAAA,UAAkB;AAClBA,eAAA,oBAA4B;AAC5BA,eAAA,qBAA6B;AAC7B,IAAI,YAAY,uBAAuB,UAAyC;AAChF,IAAI,iCAAiC,uBAAuBC,qCAA8D;AAC1H,IAAI,gBAAgB,wBAAwBC,YAA6B;AACzE,IAAI,aAAa;AACjB,IAAI,cAAc,uBAAuB,UAAgC;AACzE,IAAI,kBAAkB,uBAAuB,UAAoC;AACjF,IAAI,eAAe,uBAAuB,UAAwB;AAClE,IAAI,mBAAmB,uBAAuB,UAA4B;AAC1E,MAAM,YAAY,CAAC,YAAY,GAC7B,aAAa,CAAC,UAAU,GACxB,aAAa,CAAC,QAAQ,QAAQ,wBAAwB,UAAU,mBAAmB;AAErF,SAAS,yBAAyB,GAAG;AAAE,MAAI,cAAc,OAAO,QAAS,QAAO;AAAM,MAAI,IAAI,oBAAI,QAAA,GAAW,wBAAQ,QAA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,CACD,GAAG,MAAM,mBAAmB,UAAU,MAAS;AAAA,QAAA,CACjD;AAAA,MAAA;AAEH,UAAI,CAAC,QAAQ;AACX,oCAA4B,KAAK,QAAQ;AAAA,MAAA;AAE3C,YAAM,wBAAwB,4BAA4B,SAAS,YAAY;AAC/E,UAAI,MAAM,QAAQ,QAAQ,KAAK,wBAAwB,GAAG;AACxD,cAAM,eAAe,IAAI,MAAM,qBAAqB,EAAE,KAAK,EAAE;AAE7D,8BAAsB,CAAC,GAAG,UAAU,GAAG,YAAY;AACnD,4BAAoB,MAAM,CAAC,GAAG,SAAS,KAAK,GAAG,YAAY;AAAA,MAAA;AAE7D,YAAM,YAAY,sBAAsB,qBAAqB,GAAG,2BAA2B;AAC3F,UAAI,2BAAY,aAAa,cAAc;AACzC,YAAI;AACJ,YAAI,eAAe;AACjB,wBAAc,GAAG,aAAa,IAAA,GAAO,YAAY,SAAS,iBAAiB,EAAE,CAAC;AAAA,QAAA;AAEhF,YAAI,gBAAgB,QAAW;AAC7B,wBAAc,WAAA,GAAc,gBAAgB,SAAS,GAAG,CAAC;AAAA,QAAA;AAE3D,kBAAU,cAAc;AAAA,MAAA;AAE1B,UAAI,IAAI,SAAS;AACf,kBAAU,UAAU,IAAI;AAAA,MAAA;AAE1B,aAAO;AAAA,IAAA;AAET,QAAI,sBAAsB,YAAY;AACpC,wBAAkB,aAAa,sBAAsB;AAAA,IAAA;AAEvD,WAAO;AAAA,EAAA;AAEX;","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../../_virtual/createStyled/index.js"),t=require("../../../@babel/runtime/helpers/extends/index.js"),r=require("../../../@babel/runtime/helpers/objectWithoutPropertiesLoose/index.js"),o=require("../../../../_virtual/index/index6.js"),n=require("../../../../_virtual/index/index7.js"),s=require("../../../../_virtual/index/index8.js"),a=require("../../../../_virtual/index/index9.js"),i=require("../../../../_virtual/index/index10.js"),u=require("../../../../_virtual/index/index11.js"),l=require("../../../@babel/runtime/helpers/interopRequireDefault/index.js"),d={},f=l.interopRequireDefaultExports;Object.defineProperty(e.__exports,"__esModule",{value:!0});var p=e.__exports.default=function(e={}){const{themeId:t,defaultTheme:r=g,rootShouldForwardProp:o=q,slotShouldForwardProp:n=q}=e,s=e=>(0,j.default)((0,c.default)({},e,{theme:k((0,c.default)({},e,{defaultTheme:r,themeId:t}))}));return s.__mui_systemSx=!0,(e,a={})=>{(0,y.internal_processStyles)(e,e=>e.filter(e=>!(null!=e&&e.__mui_systemSx)));const{name:i,slot:u,skipVariantsResolver:l,skipSx:f,overridesResolver:p=R(A(u))}=a,x=(0,m.default)(a,S),j=i&&i.startsWith("Mui")||u?"components":"custom",w=void 0!==l?l:u&&"Root"!==u&&"root"!==u||!1,b=f||!1;let O;"production"!==d.NODE_ENV&&i&&(O=`${i}-${A(u||"Root")}`);let P=q;"Root"===u||"root"===u?P=o:u?P=n:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(P=void 0);const g=(0,y.default)(e,(0,c.default)({shouldForwardProp:P,label:O},x)),D=e=>"function"==typeof e&&e.__emotion_real!==e||(0,h.isPlainObject)(e)?o=>{const n=k({theme:o.theme,defaultTheme:r,themeId:t});return C(e,(0,c.default)({},o,{theme:n}),n.modularCssLayers?j:void 0)}:e,E=(o,...n)=>{let a=D(o);const l=n?n.map(D):[];i&&p&&l.push(e=>{const o=k((0,c.default)({},e,{defaultTheme:r,themeId:t}));if(!o.components||!o.components[i]||!o.components[i].styleOverrides)return null;const n=o.components[i].styleOverrides,s={};return Object.entries(n).forEach(([t,r])=>{s[t]=C(r,(0,c.default)({},e,{theme:o}),o.modularCssLayers?"theme":void 0)}),p(e,s)}),i&&!w&&l.push(e=>{var o;const n=k((0,c.default)({},e,{defaultTheme:r,themeId:t}));return C({variants:null==n||null==(o=n.components)||null==(o=o[i])?void 0:o.variants},(0,c.default)({},e,{theme:n}),n.modularCssLayers?"theme":void 0)}),b||l.push(s);const f=l.length-n.length;if(Array.isArray(o)&&f>0){const e=new Array(f).fill("");a=[...o,...e],a.raw=[...o.raw,...e]}const m=g(a,...l);if("production"!==d.NODE_ENV){let t;i&&(t=`${i}${(0,_.default)(u||"")}`),void 0===t&&(t=`Styled(${(0,v.default)(e)})`),m.displayName=t}return e.muiName&&(m.muiName=e.muiName),m};return g.withConfig&&(E.withConfig=g.withConfig),E}};e.__exports.shouldForwardProp=q,e.__exports.systemDefaultTheme=void 0;var c=f(t.__require()),m=f(r.__require()),y=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=O(void 0);if(t&&t.has(e))return t.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var s=o?Object.getOwnPropertyDescriptor(e,n):null;s&&(s.get||s.set)?Object.defineProperty(r,n,s):r[n]=e[n]}return r.default=e,t&&t.set(e,r),r}(o.default),h=n.default,_=f(s.default),v=f(a.default),x=f(i.default),j=f(u.default);const w=["ownerState"],b=["variants"],S=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function O(e){if("function"!=typeof WeakMap)return null;var t=/* @__PURE__ */new WeakMap,r=/* @__PURE__ */new WeakMap;return(O=function(e){return e?r:t})(e)}function q(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}function P(e,t){return t&&e&&"object"==typeof e&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}const g=e.__exports.systemDefaultTheme=(0,x.default)(),A=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function k({defaultTheme:e,theme:t,themeId:r}){return o=t,0===Object.keys(o).length?e:t[r]||t;var o}function R(e){return e?(t,r)=>r[e]:null}function C(e,t,r){let{ownerState:o}=t,n=(0,m.default)(t,w);const s="function"==typeof e?e((0,c.default)({ownerState:o},n)):e;if(Array.isArray(s))return s.flatMap(e=>C(e,(0,c.default)({ownerState:o},n),r));if(s&&"object"==typeof s&&Array.isArray(s.variants)){const{variants:e=[]}=s;let t=(0,m.default)(s,b);return e.forEach(e=>{let s=!0;if("function"==typeof e.props?s=e.props((0,c.default)({ownerState:o},n,o)):Object.keys(e.props).forEach(t=>{(null==o?void 0:o[t])!==e.props[t]&&n[t]!==e.props[t]&&(s=!1)}),s){Array.isArray(t)||(t=[t]);const s="function"==typeof e.style?e.style((0,c.default)({ownerState:o},n,o)):e.style;t.push(r?P((0,y.internal_serializeStyles)(s),r):s)}}),t}return r?P((0,y.internal_serializeStyles)(s),r):s}exports.default=p;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../../_virtual/createStyled/index.js"),t=require("../../../../_virtual/extends/index.js"),r=require("../../../@babel/runtime/helpers/objectWithoutPropertiesLoose/index.js"),o=require("../../../../_virtual/index/index6.js"),n=require("../../../../_virtual/index/index7.js"),a=require("../../../../_virtual/index/index8.js"),s=require("../../../../_virtual/index/index9.js"),u=require("../../../../_virtual/index/index10.js"),i=require("../../../../_virtual/index/index11.js"),l=require("../../../@babel/runtime/helpers/interopRequireDefault/index.js"),d={},f=l.interopRequireDefaultExports;Object.defineProperty(e.__exports,"__esModule",{value:!0});var p=e.__exports.default=function(e={}){const{themeId:t,defaultTheme:r=g,rootShouldForwardProp:o=q,slotShouldForwardProp:n=q}=e,a=e=>(0,j.default)((0,c.default)({},e,{theme:k((0,c.default)({},e,{defaultTheme:r,themeId:t}))}));return a.__mui_systemSx=!0,(e,s={})=>{(0,y.internal_processStyles)(e,e=>e.filter(e=>!(null!=e&&e.__mui_systemSx)));const{name:u,slot:i,skipVariantsResolver:l,skipSx:f,overridesResolver:p=R(A(i))}=s,x=(0,m.default)(s,S),j=u&&u.startsWith("Mui")||i?"components":"custom",w=void 0!==l?l:i&&"Root"!==i&&"root"!==i||!1,b=f||!1;let O;"production"!==d.NODE_ENV&&u&&(O=`${u}-${A(i||"Root")}`);let P=q;"Root"===i||"root"===i?P=o:i?P=n:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(P=void 0);const g=(0,y.default)(e,(0,c.default)({shouldForwardProp:P,label:O},x)),D=e=>"function"==typeof e&&e.__emotion_real!==e||(0,h.isPlainObject)(e)?o=>{const n=k({theme:o.theme,defaultTheme:r,themeId:t});return C(e,(0,c.default)({},o,{theme:n}),n.modularCssLayers?j:void 0)}:e,E=(o,...n)=>{let s=D(o);const l=n?n.map(D):[];u&&p&&l.push(e=>{const o=k((0,c.default)({},e,{defaultTheme:r,themeId:t}));if(!o.components||!o.components[u]||!o.components[u].styleOverrides)return null;const n=o.components[u].styleOverrides,a={};return Object.entries(n).forEach(([t,r])=>{a[t]=C(r,(0,c.default)({},e,{theme:o}),o.modularCssLayers?"theme":void 0)}),p(e,a)}),u&&!w&&l.push(e=>{var o;const n=k((0,c.default)({},e,{defaultTheme:r,themeId:t}));return C({variants:null==n||null==(o=n.components)||null==(o=o[u])?void 0:o.variants},(0,c.default)({},e,{theme:n}),n.modularCssLayers?"theme":void 0)}),b||l.push(a);const f=l.length-n.length;if(Array.isArray(o)&&f>0){const e=new Array(f).fill("");s=[...o,...e],s.raw=[...o.raw,...e]}const m=g(s,...l);if("production"!==d.NODE_ENV){let t;u&&(t=`${u}${(0,_.default)(i||"")}`),void 0===t&&(t=`Styled(${(0,v.default)(e)})`),m.displayName=t}return e.muiName&&(m.muiName=e.muiName),m};return g.withConfig&&(E.withConfig=g.withConfig),E}};e.__exports.shouldForwardProp=q,e.__exports.systemDefaultTheme=void 0;var c=f(t.default),m=f(r.__require()),y=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=O(void 0);if(t&&t.has(e))return t.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var a=o?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,t&&t.set(e,r),r}(o.default),h=n.default,_=f(a.default),v=f(s.default),x=f(u.default),j=f(i.default);const w=["ownerState"],b=["variants"],S=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function O(e){if("function"!=typeof WeakMap)return null;var t=/* @__PURE__ */new WeakMap,r=/* @__PURE__ */new WeakMap;return(O=function(e){return e?r:t})(e)}function q(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}function P(e,t){return t&&e&&"object"==typeof e&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}const g=e.__exports.systemDefaultTheme=(0,x.default)(),A=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function k({defaultTheme:e,theme:t,themeId:r}){return o=t,0===Object.keys(o).length?e:t[r]||t;var o}function R(e){return e?(t,r)=>r[e]:null}function C(e,t,r){let{ownerState:o}=t,n=(0,m.default)(t,w);const a="function"==typeof e?e((0,c.default)({ownerState:o},n)):e;if(Array.isArray(a))return a.flatMap(e=>C(e,(0,c.default)({ownerState:o},n),r));if(a&&"object"==typeof a&&Array.isArray(a.variants)){const{variants:e=[]}=a;let t=(0,m.default)(a,b);return e.forEach(e=>{let a=!0;if("function"==typeof e.props?a=e.props((0,c.default)({ownerState:o},n,o)):Object.keys(e.props).forEach(t=>{(null==o?void 0:o[t])!==e.props[t]&&n[t]!==e.props[t]&&(a=!1)}),a){Array.isArray(t)||(t=[t]);const a="function"==typeof e.style?e.style((0,c.default)({ownerState:o},n,o)):e.style;t.push(r?P((0,y.internal_serializeStyles)(a),r):a)}}),t}return r?P((0,y.internal_serializeStyles)(a),r):a}exports.default=p;
2
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../node_modules/@mui/system/createStyled.js"],"sourcesContent":["\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = createStyled;\nexports.shouldForwardProp = shouldForwardProp;\nexports.systemDefaultTheme = void 0;\nvar _extends2 = _interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));\nvar _objectWithoutPropertiesLoose2 = _interopRequireDefault(require(\"@babel/runtime/helpers/objectWithoutPropertiesLoose\"));\nvar _styledEngine = _interopRequireWildcard(require(\"@mui/styled-engine\"));\nvar _deepmerge = require(\"@mui/utils/deepmerge\");\nvar _capitalize = _interopRequireDefault(require(\"@mui/utils/capitalize\"));\nvar _getDisplayName = _interopRequireDefault(require(\"@mui/utils/getDisplayName\"));\nvar _createTheme = _interopRequireDefault(require(\"./createTheme\"));\nvar _styleFunctionSx = _interopRequireDefault(require(\"./styleFunctionSx\"));\nconst _excluded = [\"ownerState\"],\n _excluded2 = [\"variants\"],\n _excluded3 = [\"name\", \"slot\", \"skipVariantsResolver\", \"skipSx\", \"overridesResolver\"];\n/* eslint-disable no-underscore-dangle */\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != typeof e && \"function\" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }\nfunction isEmpty(obj) {\n return Object.keys(obj).length === 0;\n}\n\n// https://github.com/emotion-js/emotion/blob/26ded6109fcd8ca9875cc2ce4564fee678a3f3c5/packages/styled/src/utils.js#L40\nfunction isStringTag(tag) {\n return typeof tag === 'string' &&\n // 96 is one less than the char code\n // for \"a\" so this is checking that\n // it's a lowercase character\n tag.charCodeAt(0) > 96;\n}\n\n// Update /system/styled/#api in case if this changes\nfunction shouldForwardProp(prop) {\n return prop !== 'ownerState' && prop !== 'theme' && prop !== 'sx' && prop !== 'as';\n}\nfunction shallowLayer(serialized, layerName) {\n if (layerName && serialized && typeof serialized === 'object' && serialized.styles && !serialized.styles.startsWith('@layer') // only add the layer if it is not already there.\n ) {\n serialized.styles = `@layer ${layerName}{${String(serialized.styles)}}`;\n }\n return serialized;\n}\nconst systemDefaultTheme = exports.systemDefaultTheme = (0, _createTheme.default)();\nconst lowercaseFirstLetter = string => {\n if (!string) {\n return string;\n }\n return string.charAt(0).toLowerCase() + string.slice(1);\n};\nfunction resolveTheme({\n defaultTheme,\n theme,\n themeId\n}) {\n return isEmpty(theme) ? defaultTheme : theme[themeId] || theme;\n}\nfunction defaultOverridesResolver(slot) {\n if (!slot) {\n return null;\n }\n return (props, styles) => styles[slot];\n}\nfunction processStyleArg(callableStyle, _ref, layerName) {\n let {\n ownerState\n } = _ref,\n props = (0, _objectWithoutPropertiesLoose2.default)(_ref, _excluded);\n const resolvedStylesArg = typeof callableStyle === 'function' ? callableStyle((0, _extends2.default)({\n ownerState\n }, props)) : callableStyle;\n if (Array.isArray(resolvedStylesArg)) {\n return resolvedStylesArg.flatMap(resolvedStyle => processStyleArg(resolvedStyle, (0, _extends2.default)({\n ownerState\n }, props), layerName));\n }\n if (!!resolvedStylesArg && typeof resolvedStylesArg === 'object' && Array.isArray(resolvedStylesArg.variants)) {\n const {\n variants = []\n } = resolvedStylesArg,\n otherStyles = (0, _objectWithoutPropertiesLoose2.default)(resolvedStylesArg, _excluded2);\n let result = otherStyles;\n variants.forEach(variant => {\n let isMatch = true;\n if (typeof variant.props === 'function') {\n isMatch = variant.props((0, _extends2.default)({\n ownerState\n }, props, ownerState));\n } else {\n Object.keys(variant.props).forEach(key => {\n if ((ownerState == null ? void 0 : ownerState[key]) !== variant.props[key] && props[key] !== variant.props[key]) {\n isMatch = false;\n }\n });\n }\n if (isMatch) {\n if (!Array.isArray(result)) {\n result = [result];\n }\n const variantStyle = typeof variant.style === 'function' ? variant.style((0, _extends2.default)({\n ownerState\n }, props, ownerState)) : variant.style;\n result.push(layerName ? shallowLayer((0, _styledEngine.internal_serializeStyles)(variantStyle), layerName) : variantStyle);\n }\n });\n return result;\n }\n return layerName ? shallowLayer((0, _styledEngine.internal_serializeStyles)(resolvedStylesArg), layerName) : resolvedStylesArg;\n}\nfunction createStyled(input = {}) {\n const {\n themeId,\n defaultTheme = systemDefaultTheme,\n rootShouldForwardProp = shouldForwardProp,\n slotShouldForwardProp = shouldForwardProp\n } = input;\n const systemSx = props => {\n return (0, _styleFunctionSx.default)((0, _extends2.default)({}, props, {\n theme: resolveTheme((0, _extends2.default)({}, props, {\n defaultTheme,\n themeId\n }))\n }));\n };\n systemSx.__mui_systemSx = true;\n return (tag, inputOptions = {}) => {\n // Filter out the `sx` style function from the previous styled component to prevent unnecessary styles generated by the composite components.\n (0, _styledEngine.internal_processStyles)(tag, styles => styles.filter(style => !(style != null && style.__mui_systemSx)));\n const {\n name: componentName,\n slot: componentSlot,\n skipVariantsResolver: inputSkipVariantsResolver,\n skipSx: inputSkipSx,\n // TODO v6: remove `lowercaseFirstLetter()` in the next major release\n // For more details: https://github.com/mui/material-ui/pull/37908\n overridesResolver = defaultOverridesResolver(lowercaseFirstLetter(componentSlot))\n } = inputOptions,\n options = (0, _objectWithoutPropertiesLoose2.default)(inputOptions, _excluded3);\n const layerName = componentName && componentName.startsWith('Mui') || !!componentSlot ? 'components' : 'custom';\n\n // if skipVariantsResolver option is defined, take the value, otherwise, true for root and false for other slots.\n const skipVariantsResolver = inputSkipVariantsResolver !== undefined ? inputSkipVariantsResolver :\n // TODO v6: remove `Root` in the next major release\n // For more details: https://github.com/mui/material-ui/pull/37908\n componentSlot && componentSlot !== 'Root' && componentSlot !== 'root' || false;\n const skipSx = inputSkipSx || false;\n let label;\n if (process.env.NODE_ENV !== 'production') {\n if (componentName) {\n // TODO v6: remove `lowercaseFirstLetter()` in the next major release\n // For more details: https://github.com/mui/material-ui/pull/37908\n label = `${componentName}-${lowercaseFirstLetter(componentSlot || 'Root')}`;\n }\n }\n let shouldForwardPropOption = shouldForwardProp;\n\n // TODO v6: remove `Root` in the next major release\n // For more details: https://github.com/mui/material-ui/pull/37908\n if (componentSlot === 'Root' || componentSlot === 'root') {\n shouldForwardPropOption = rootShouldForwardProp;\n } else if (componentSlot) {\n // any other slot specified\n shouldForwardPropOption = slotShouldForwardProp;\n } else if (isStringTag(tag)) {\n // for string (html) tag, preserve the behavior in emotion & styled-components.\n shouldForwardPropOption = undefined;\n }\n const defaultStyledResolver = (0, _styledEngine.default)(tag, (0, _extends2.default)({\n shouldForwardProp: shouldForwardPropOption,\n label\n }, options));\n const transformStyleArg = stylesArg => {\n // On the server Emotion doesn't use React.forwardRef for creating components, so the created\n // component stays as a function. This condition makes sure that we do not interpolate functions\n // which are basically components used as a selectors.\n if (typeof stylesArg === 'function' && stylesArg.__emotion_real !== stylesArg || (0, _deepmerge.isPlainObject)(stylesArg)) {\n return props => {\n const theme = resolveTheme({\n theme: props.theme,\n defaultTheme,\n themeId\n });\n return processStyleArg(stylesArg, (0, _extends2.default)({}, props, {\n theme\n }), theme.modularCssLayers ? layerName : undefined);\n };\n }\n return stylesArg;\n };\n const muiStyledResolver = (styleArg, ...expressions) => {\n let transformedStyleArg = transformStyleArg(styleArg);\n const expressionsWithDefaultTheme = expressions ? expressions.map(transformStyleArg) : [];\n if (componentName && overridesResolver) {\n expressionsWithDefaultTheme.push(props => {\n const theme = resolveTheme((0, _extends2.default)({}, props, {\n defaultTheme,\n themeId\n }));\n if (!theme.components || !theme.components[componentName] || !theme.components[componentName].styleOverrides) {\n return null;\n }\n const styleOverrides = theme.components[componentName].styleOverrides;\n const resolvedStyleOverrides = {};\n // TODO: v7 remove iteration and use `resolveStyleArg(styleOverrides[slot])` directly\n Object.entries(styleOverrides).forEach(([slotKey, slotStyle]) => {\n resolvedStyleOverrides[slotKey] = processStyleArg(slotStyle, (0, _extends2.default)({}, props, {\n theme\n }), theme.modularCssLayers ? 'theme' : undefined);\n });\n return overridesResolver(props, resolvedStyleOverrides);\n });\n }\n if (componentName && !skipVariantsResolver) {\n expressionsWithDefaultTheme.push(props => {\n var _theme$components;\n const theme = resolveTheme((0, _extends2.default)({}, props, {\n defaultTheme,\n themeId\n }));\n const themeVariants = theme == null || (_theme$components = theme.components) == null || (_theme$components = _theme$components[componentName]) == null ? void 0 : _theme$components.variants;\n return processStyleArg({\n variants: themeVariants\n }, (0, _extends2.default)({}, props, {\n theme\n }), theme.modularCssLayers ? 'theme' : undefined);\n });\n }\n if (!skipSx) {\n expressionsWithDefaultTheme.push(systemSx);\n }\n const numOfCustomFnsApplied = expressionsWithDefaultTheme.length - expressions.length;\n if (Array.isArray(styleArg) && numOfCustomFnsApplied > 0) {\n const placeholders = new Array(numOfCustomFnsApplied).fill('');\n // If the type is array, than we need to add placeholders in the template for the overrides, variants and the sx styles.\n transformedStyleArg = [...styleArg, ...placeholders];\n transformedStyleArg.raw = [...styleArg.raw, ...placeholders];\n }\n const Component = defaultStyledResolver(transformedStyleArg, ...expressionsWithDefaultTheme);\n if (process.env.NODE_ENV !== 'production') {\n let displayName;\n if (componentName) {\n displayName = `${componentName}${(0, _capitalize.default)(componentSlot || '')}`;\n }\n if (displayName === undefined) {\n displayName = `Styled(${(0, _getDisplayName.default)(tag)})`;\n }\n Component.displayName = displayName;\n }\n if (tag.muiName) {\n Component.muiName = tag.muiName;\n }\n return Component;\n };\n if (defaultStyledResolver.withConfig) {\n muiStyledResolver.withConfig = defaultStyledResolver.withConfig;\n }\n return muiStyledResolver;\n };\n}"],"names":["_interopRequireDefault","require$$0","Object","defineProperty","createStyled_1","value","_default","default","input","themeId","defaultTheme","systemDefaultTheme","rootShouldForwardProp","shouldForwardProp","slotShouldForwardProp","systemSx","props","_styleFunctionSx","_extends2","theme","resolveTheme","__mui_systemSx","tag","inputOptions","_styledEngine","internal_processStyles","styles","filter","style","name","componentName","slot","componentSlot","skipVariantsResolver","inputSkipVariantsResolver","skipSx","inputSkipSx","overridesResolver","defaultOverridesResolver","lowercaseFirstLetter","options","_objectWithoutPropertiesLoose2","_excluded3","layerName","startsWith","label","define_process_env_default","NODE_ENV","shouldForwardPropOption","charCodeAt","isStringTag","defaultStyledResolver","transformStyleArg","stylesArg","__emotion_real","_deepmerge","isPlainObject","processStyleArg","modularCssLayers","muiStyledResolver","styleArg","expressions","transformedStyleArg","expressionsWithDefaultTheme","map","push","components","styleOverrides","resolvedStyleOverrides","entries","forEach","slotKey","slotStyle","_theme$components","variants","numOfCustomFnsApplied","length","Array","isArray","placeholders","fill","raw","Component","displayName","_capitalize","_getDisplayName","muiName","withConfig","require$$1","require$$2","e","__esModule","t","_getRequireWildcardCache","_interopRequireWildcard","has","get","n","__proto__","a","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","require$$3","require$$4","require$$5","require$$6","_createTheme","require$$7","require$$8","_excluded","_excluded2","WeakMap","r","prop","shallowLayer","serialized","String","string","charAt","toLowerCase","slice","obj","keys","callableStyle","_ref","ownerState","resolvedStylesArg","flatMap","resolvedStyle","result","variant","isMatch","key","variantStyle","internal_serializeStyles"],"mappings":"gpBAEIA,EAAyBC,EAAAA,6BAC7BC,OAAOC,eAAeC,EAAAA,UAAS,aAAc,CAC3CC,OAAO,IAET,IAAAC,EAAAF,EAAAA,UAAAG,QA2GA,SAAsBC,EAAQ,IAC5B,MAAMC,QACJA,EAAAC,aACAA,EAAeC,EAAAC,sBACfA,EAAwBC,EAAAC,sBACxBA,EAAwBD,GACtBL,EACEO,EAAWC,IACf,EAAWC,EAAiBV,UAAA,EAAaW,EAAUX,SAAS,CAAA,EAAIS,EAAO,CACrEG,MAAOC,GAAA,EAAiBF,EAAUX,SAAS,CAAA,EAAIS,EAAO,CACpDN,eACAD,gBAKN,OADAM,EAASM,gBAAiB,EACnB,CAACC,EA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AkCtD,MAAMC,QAAQqD,EAAkBzD,UAAW,CAC7G,MAAMA,SACFA,EAAW,IACTyD,EAEN,IAAIG,GADF,EAAkB7F,EAA+BlC,SAAS4H,EAAmBhB,GAyB/E,OAvBAzC,EAASJ,QAAQiE,IACf,IAAIC,GAAU,EAYd,GAX6B,mBAAlBD,EAAQvH,MACjBwH,EAAUD,EAAQvH,OAAA,EAAUE,EAAUX,SAAS,CAC7C2H,cACClH,EAAOkH,IAEVhI,OAAO6H,KAAKQ,EAAQvH,OAAOsD,QAAQmE,KACd,MAAdP,OAAqB,EAASA,EAAWO,MAAUF,EAAQvH,MAAMyH,IAAQzH,EAAMyH,KAASF,EAAQvH,MAAMyH,KACzGD,GAAU,KAIZA,EAAS,CACN3D,MAAMC,QAAQwD,KACjBA,EAAS,CAACA,IAEZ,MAAMI,EAAwC,mBAAlBH,EAAQ3G,MAAuB2G,EAAQ3G,OAAA,EAAUV,EAAUX,SAAS,CAC9F2H,cACClH,EAAOkH,IAAeK,EAAQ3G,MACjC0G,EAAOrE,KAAKtB,EAAY4E,GAAA,EAAiB/F,EAAcmH,0BAA0BD,GAAe/F,GAAa+F,EAAY,IAGtHJ,CAAA,CAET,OAAO3F,EAAY4E,KAAiB/F,EAAcmH,0BAA0BR,GAAoBxF,GAAawF,CAC/G","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.js","sources":["../../../../../node_modules/@mui/system/createStyled.js"],"sourcesContent":["\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = createStyled;\nexports.shouldForwardProp = shouldForwardProp;\nexports.systemDefaultTheme = void 0;\nvar _extends2 = _interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));\nvar _objectWithoutPropertiesLoose2 = _interopRequireDefault(require(\"@babel/runtime/helpers/objectWithoutPropertiesLoose\"));\nvar _styledEngine = _interopRequireWildcard(require(\"@mui/styled-engine\"));\nvar _deepmerge = require(\"@mui/utils/deepmerge\");\nvar _capitalize = _interopRequireDefault(require(\"@mui/utils/capitalize\"));\nvar _getDisplayName = _interopRequireDefault(require(\"@mui/utils/getDisplayName\"));\nvar _createTheme = _interopRequireDefault(require(\"./createTheme\"));\nvar _styleFunctionSx = _interopRequireDefault(require(\"./styleFunctionSx\"));\nconst _excluded = [\"ownerState\"],\n _excluded2 = [\"variants\"],\n _excluded3 = [\"name\", \"slot\", \"skipVariantsResolver\", \"skipSx\", \"overridesResolver\"];\n/* eslint-disable no-underscore-dangle */\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != typeof e && \"function\" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }\nfunction isEmpty(obj) {\n return Object.keys(obj).length === 0;\n}\n\n// https://github.com/emotion-js/emotion/blob/26ded6109fcd8ca9875cc2ce4564fee678a3f3c5/packages/styled/src/utils.js#L40\nfunction isStringTag(tag) {\n return typeof tag === 'string' &&\n // 96 is one less than the char code\n // for \"a\" so this is checking that\n // it's a lowercase character\n tag.charCodeAt(0) > 96;\n}\n\n// Update /system/styled/#api in case if this changes\nfunction shouldForwardProp(prop) {\n return prop !== 'ownerState' && prop !== 'theme' && prop !== 'sx' && prop !== 'as';\n}\nfunction shallowLayer(serialized, layerName) {\n if (layerName && serialized && typeof serialized === 'object' && serialized.styles && !serialized.styles.startsWith('@layer') // only add the layer if it is not already there.\n ) {\n serialized.styles = `@layer ${layerName}{${String(serialized.styles)}}`;\n }\n return serialized;\n}\nconst systemDefaultTheme = exports.systemDefaultTheme = (0, _createTheme.default)();\nconst lowercaseFirstLetter = string => {\n if (!string) {\n return string;\n }\n return string.charAt(0).toLowerCase() + string.slice(1);\n};\nfunction resolveTheme({\n defaultTheme,\n theme,\n themeId\n}) {\n return isEmpty(theme) ? defaultTheme : theme[themeId] || theme;\n}\nfunction defaultOverridesResolver(slot) {\n if (!slot) {\n return null;\n }\n return (props, styles) => styles[slot];\n}\nfunction processStyleArg(callableStyle, _ref, layerName) {\n let {\n ownerState\n } = _ref,\n props = (0, _objectWithoutPropertiesLoose2.default)(_ref, _excluded);\n const resolvedStylesArg = typeof callableStyle === 'function' ? callableStyle((0, _extends2.default)({\n ownerState\n }, props)) : callableStyle;\n if (Array.isArray(resolvedStylesArg)) {\n return resolvedStylesArg.flatMap(resolvedStyle => processStyleArg(resolvedStyle, (0, _extends2.default)({\n ownerState\n }, props), layerName));\n }\n if (!!resolvedStylesArg && typeof resolvedStylesArg === 'object' && Array.isArray(resolvedStylesArg.variants)) {\n const {\n variants = []\n } = resolvedStylesArg,\n otherStyles = (0, _objectWithoutPropertiesLoose2.default)(resolvedStylesArg, _excluded2);\n let result = otherStyles;\n variants.forEach(variant => {\n let isMatch = true;\n if (typeof variant.props === 'function') {\n isMatch = variant.props((0, _extends2.default)({\n ownerState\n }, props, ownerState));\n } else {\n Object.keys(variant.props).forEach(key => {\n if ((ownerState == null ? void 0 : ownerState[key]) !== variant.props[key] && props[key] !== variant.props[key]) {\n isMatch = false;\n }\n });\n }\n if (isMatch) {\n if (!Array.isArray(result)) {\n result = [result];\n }\n const variantStyle = typeof variant.style === 'function' ? variant.style((0, _extends2.default)({\n ownerState\n }, props, ownerState)) : variant.style;\n result.push(layerName ? shallowLayer((0, _styledEngine.internal_serializeStyles)(variantStyle), layerName) : variantStyle);\n }\n });\n return result;\n }\n return layerName ? shallowLayer((0, _styledEngine.internal_serializeStyles)(resolvedStylesArg), layerName) : resolvedStylesArg;\n}\nfunction createStyled(input = {}) {\n const {\n themeId,\n defaultTheme = systemDefaultTheme,\n rootShouldForwardProp = shouldForwardProp,\n slotShouldForwardProp = shouldForwardProp\n } = input;\n const systemSx = props => {\n return (0, _styleFunctionSx.default)((0, _extends2.default)({}, props, {\n theme: resolveTheme((0, _extends2.default)({}, props, {\n defaultTheme,\n themeId\n }))\n }));\n };\n systemSx.__mui_systemSx = true;\n return (tag, inputOptions = {}) => {\n // Filter out the `sx` style function from the previous styled component to prevent unnecessary styles generated by the composite components.\n (0, _styledEngine.internal_processStyles)(tag, styles => styles.filter(style => !(style != null && style.__mui_systemSx)));\n const {\n name: componentName,\n slot: componentSlot,\n skipVariantsResolver: inputSkipVariantsResolver,\n skipSx: inputSkipSx,\n // TODO v6: remove `lowercaseFirstLetter()` in the next major release\n // For more details: https://github.com/mui/material-ui/pull/37908\n overridesResolver = defaultOverridesResolver(lowercaseFirstLetter(componentSlot))\n } = inputOptions,\n options = (0, _objectWithoutPropertiesLoose2.default)(inputOptions, _excluded3);\n const layerName = componentName && componentName.startsWith('Mui') || !!componentSlot ? 'components' : 'custom';\n\n // if skipVariantsResolver option is defined, take the value, otherwise, true for root and false for other slots.\n const skipVariantsResolver = inputSkipVariantsResolver !== undefined ? inputSkipVariantsResolver :\n // TODO v6: remove `Root` in the next major release\n // For more details: https://github.com/mui/material-ui/pull/37908\n componentSlot && componentSlot !== 'Root' && componentSlot !== 'root' || false;\n const skipSx = inputSkipSx || false;\n let label;\n if (process.env.NODE_ENV !== 'production') {\n if (componentName) {\n // TODO v6: remove `lowercaseFirstLetter()` in the next major release\n // For more details: https://github.com/mui/material-ui/pull/37908\n label = `${componentName}-${lowercaseFirstLetter(componentSlot || 'Root')}`;\n }\n }\n let shouldForwardPropOption = shouldForwardProp;\n\n // TODO v6: remove `Root` in the next major release\n // For more details: https://github.com/mui/material-ui/pull/37908\n if (componentSlot === 'Root' || componentSlot === 'root') {\n shouldForwardPropOption = rootShouldForwardProp;\n } else if (componentSlot) {\n // any other slot specified\n shouldForwardPropOption = slotShouldForwardProp;\n } else if (isStringTag(tag)) {\n // for string (html) tag, preserve the behavior in emotion & styled-components.\n shouldForwardPropOption = undefined;\n }\n const defaultStyledResolver = (0, _styledEngine.default)(tag, (0, _extends2.default)({\n shouldForwardProp: shouldForwardPropOption,\n label\n }, options));\n const transformStyleArg = stylesArg => {\n // On the server Emotion doesn't use React.forwardRef for creating components, so the created\n // component stays as a function. This condition makes sure that we do not interpolate functions\n // which are basically components used as a selectors.\n if (typeof stylesArg === 'function' && stylesArg.__emotion_real !== stylesArg || (0, _deepmerge.isPlainObject)(stylesArg)) {\n return props => {\n const theme = resolveTheme({\n theme: props.theme,\n defaultTheme,\n themeId\n });\n return processStyleArg(stylesArg, (0, _extends2.default)({}, props, {\n theme\n }), theme.modularCssLayers ? layerName : undefined);\n };\n }\n return stylesArg;\n };\n const muiStyledResolver = (styleArg, ...expressions) => {\n let transformedStyleArg = transformStyleArg(styleArg);\n const expressionsWithDefaultTheme = expressions ? expressions.map(transformStyleArg) : [];\n if (componentName && overridesResolver) {\n expressionsWithDefaultTheme.push(props => {\n const theme = resolveTheme((0, _extends2.default)({}, props, {\n defaultTheme,\n themeId\n }));\n if (!theme.components || !theme.components[componentName] || !theme.components[componentName].styleOverrides) {\n return null;\n }\n const styleOverrides = theme.components[componentName].styleOverrides;\n const resolvedStyleOverrides = {};\n // TODO: v7 remove iteration and use `resolveStyleArg(styleOverrides[slot])` directly\n Object.entries(styleOverrides).forEach(([slotKey, slotStyle]) => {\n resolvedStyleOverrides[slotKey] = processStyleArg(slotStyle, (0, _extends2.default)({}, props, {\n theme\n }), theme.modularCssLayers ? 'theme' : undefined);\n });\n return overridesResolver(props, resolvedStyleOverrides);\n });\n }\n if (componentName && !skipVariantsResolver) {\n expressionsWithDefaultTheme.push(props => {\n var _theme$components;\n const theme = resolveTheme((0, _extends2.default)({}, props, {\n defaultTheme,\n themeId\n }));\n const themeVariants = theme == null || (_theme$components = theme.components) == null || (_theme$components = _theme$components[componentName]) == null ? void 0 : _theme$components.variants;\n return processStyleArg({\n variants: themeVariants\n }, (0, _extends2.default)({}, props, {\n theme\n }), theme.modularCssLayers ? 'theme' : undefined);\n });\n }\n if (!skipSx) {\n expressionsWithDefaultTheme.push(systemSx);\n }\n const numOfCustomFnsApplied = expressionsWithDefaultTheme.length - expressions.length;\n if (Array.isArray(styleArg) && numOfCustomFnsApplied > 0) {\n const placeholders = new Array(numOfCustomFnsApplied).fill('');\n // If the type is array, than we need to add placeholders in the template for the overrides, variants and the sx styles.\n transformedStyleArg = [...styleArg, ...placeholders];\n transformedStyleArg.raw = [...styleArg.raw, ...placeholders];\n }\n const Component = defaultStyledResolver(transformedStyleArg, ...expressionsWithDefaultTheme);\n if (process.env.NODE_ENV !== 'production') {\n let displayName;\n if (componentName) {\n displayName = `${componentName}${(0, _capitalize.default)(componentSlot || '')}`;\n }\n if (displayName === undefined) {\n displayName = `Styled(${(0, _getDisplayName.default)(tag)})`;\n }\n Component.displayName = displayName;\n }\n if (tag.muiName) {\n Component.muiName = tag.muiName;\n }\n return Component;\n };\n if (defaultStyledResolver.withConfig) {\n muiStyledResolver.withConfig = defaultStyledResolver.withConfig;\n }\n return muiStyledResolver;\n };\n}"],"names":["_interopRequireDefault","require$$0","Object","defineProperty","createStyled_1","value","_default","default","input","themeId","defaultTheme","systemDefaultTheme","rootShouldForwardProp","shouldForwardProp","slotShouldForwardProp","systemSx","props","_styleFunctionSx","_extends2","theme","resolveTheme","__mui_systemSx","tag","inputOptions","_styledEngine","internal_processStyles","styles","filter","style","name","componentName","slot","componentSlot","skipVariantsResolver","inputSkipVariantsResolver","skipSx","inputSkipSx","overridesResolver","defaultOverridesResolver","lowercaseFirstLetter","options","_objectWithoutPropertiesLoose2","_excluded3","layerName","startsWith","label","define_process_env_default","NODE_ENV","shouldForwardPropOption","charCodeAt","isStringTag","defaultStyledResolver","transformStyleArg","stylesArg","__emotion_real","_deepmerge","isPlainObject","processStyleArg","modularCssLayers","muiStyledResolver","styleArg","expressions","transformedStyleArg","expressionsWithDefaultTheme","map","push","components","styleOverrides","resolvedStyleOverrides","entries","forEach","slotKey","slotStyle","_theme$components","variants","numOfCustomFnsApplied","length","Array","isArray","placeholders","fill","raw","Component","displayName","_capitalize","_getDisplayName","muiName","withConfig","require$$1","require$$2","e","__esModule","t","_getRequireWildcardCache","_interopRequireWildcard","has","get","n","__proto__","a","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","require$$3","require$$4","require$$5","require$$6","_createTheme","require$$7","require$$8","_excluded","_excluded2","WeakMap","r","prop","shallowLayer","serialized","String","string","charAt","toLowerCase","slice","obj","keys","callableStyle","_ref","ownerState","resolvedStylesArg","flatMap","resolvedStyle","result","variant","isMatch","key","variantStyle","internal_serializeStyles"],"mappings":"qoBAEIA,EAAyBC,EAAAA,6BAC7BC,OAAOC,eAAeC,EAAAA,UAAS,aAAc,CAC3CC,OAAO,IAET,IAAAC,EAAAF,EAAAA,UAAAG,QA2GA,SAAsBC,EAAQ,IAC5B,MAAMC,QACJA,EAAAC,aACAA,EAAeC,EAAAC,sBACfA,EAAwBC,EAAAC,sBACxBA,EAAwBD,GACtBL,EACEO,EAAWC,IACf,EAAWC,EAAiBV,UAAA,EAAaW,EAAUX,SAAS,CAAA,EAAIS,EAAO,CACrEG,MAAOC,GAAA,EAAiBF,EAAUX,SAAS,CAAA,EAAIS,EAAO,CACpDN,eACAD,gBAKN,OADAM,EAASM,gBAAiB,EACnB,CAACC,EAAKC,EAAe,OAE1B,EAAIC,EAAcC,wBAAwBH,EAAKI,GAAUA,EAAOC,OAAOC,KAAoB,MAATA,GAAiBA,EAAMP,kBACzG,MACIQ,KAAMC,EACNC,KAAMC,EACNC,qBAAsBC,EACtBC,OAAQC,EAAAC,kBAGRA,EAAoBC,EAAyBC,EAAqBP,KAChET,EACJiB,GAAA,EAAcC,EAA+BlC,SAASgB,EAAcmB,GAChEC,E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ClH,EAAOkH,IAEVhI,OAAO6H,KAAKQ,EAAQvH,OAAOsD,QAAQmE,KACd,MAAdP,OAAqB,EAASA,EAAWO,MAAUF,EAAQvH,MAAMyH,IAAQzH,EAAMyH,KAASF,EAAQvH,MAAMyH,KACzGD,GAAU,KAIZA,EAAS,CACN3D,MAAMC,QAAQwD,KACjBA,EAAS,CAACA,IAEZ,MAAMI,EAAwC,mBAAlBH,EAAQ3G,MAAuB2G,EAAQ3G,OAAA,EAAUV,EAAUX,SAAS,CAC9F2H,cACClH,EAAOkH,IAAeK,EAAQ3G,MACjC0G,EAAOrE,KAAKtB,EAAY4E,GAAA,EAAiB/F,EAAcmH,0BAA0BD,GAAe/F,GAAa+F,EAAY,IAGtHJ,CAAA,CAET,OAAO3F,EAAY4E,KAAiB/F,EAAcmH,0BAA0BR,GAAoBxF,GAAawF,CAC/G","x_google_ignoreList":[0]}
@@ -1,5 +1,5 @@
1
1
  import { getDefaultExportFromCjs } from "../../../_virtual/_commonjsHelpers/index.esm.js";
2
- import { __module as propTypes } from "../../../_virtual/index/index.esm3.js";
2
+ import { __module as propTypes } from "../../../_virtual/index/index.esm.js";
3
3
  import { __require as requireFactoryWithTypeCheckers } from "../factoryWithTypeCheckers/index.esm.js";
4
4
  import { __require as requireFactoryWithThrowingShims } from "../factoryWithThrowingShims/index.esm.js";
5
5
  import require$$0 from "react-is";
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_commonjsHelpers/index.js"),r=require("../../../_virtual/index/index3.js"),t=require("../factoryWithTypeCheckers/index.js"),i=require("../factoryWithThrowingShims/index.js"),u=require("react-is");function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}if("production"!=={}.NODE_ENV){var s=/* @__PURE__ */o(u).default;r.__module.exports=t.__require()(s.isElement,!0)}else r.__module.exports=i.__require()();var _=r.__module.exports,d=/* @__PURE__ */e.getDefaultExportFromCjs(_);exports.default=d;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_commonjsHelpers/index.js"),r=require("../../../_virtual/index/index.js"),t=require("../factoryWithTypeCheckers/index.js"),i=require("../factoryWithThrowingShims/index.js"),u=require("react-is");function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}if("production"!=={}.NODE_ENV){var s=/* @__PURE__ */o(u).default;r.__module.exports=t.__require()(s.isElement,!0)}else r.__module.exports=i.__require()();var _=r.__module.exports,d=/* @__PURE__ */e.getDefaultExportFromCjs(_);exports.default=d;
2
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../node_modules/prop-types/index.js"],"sourcesContent":["/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nif (process.env.NODE_ENV !== 'production') {\n var ReactIs = require('react-is');\n\n // By explicitly using `prop-types` you are opting into new development behavior.\n // http://fb.me/prop-types-in-prod\n var throwOnDirectAccess = true;\n module.exports = require('./factoryWithTypeCheckers')(ReactIs.isElement, throwOnDirectAccess);\n} else {\n // By explicitly using `prop-types` you are opting into new production behavior.\n // http://fb.me/prop-types-in-prod\n module.exports = require('./factoryWithThrowingShims')();\n}\n"],"names":["NODE_ENV","ReactIs","require$$0","propTypesModule","exports","require$$1","isElement","require$$2"],"mappings":"iXAOA,GAA6B,kBAAbA,SAA2B,CACzC,IAAIC,sBAAUC,QAKdC,EAAAA,SAAAC,QAAiBC,EAAAA,WAAAA,CAAqCJ,EAAQK,WADpC,EAE5B,MAGEH,WAAAC,QAAiBG,EAAAA,WAAAA","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.js","sources":["../../../../node_modules/prop-types/index.js"],"sourcesContent":["/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nif (process.env.NODE_ENV !== 'production') {\n var ReactIs = require('react-is');\n\n // By explicitly using `prop-types` you are opting into new development behavior.\n // http://fb.me/prop-types-in-prod\n var throwOnDirectAccess = true;\n module.exports = require('./factoryWithTypeCheckers')(ReactIs.isElement, throwOnDirectAccess);\n} else {\n // By explicitly using `prop-types` you are opting into new production behavior.\n // http://fb.me/prop-types-in-prod\n module.exports = require('./factoryWithThrowingShims')();\n}\n"],"names":["NODE_ENV","ReactIs","require$$0","propTypesModule","exports","require$$1","isElement","require$$2"],"mappings":"gXAOA,GAA6B,kBAAbA,SAA2B,CACzC,IAAIC,sBAAUC,QAKdC,EAAAA,SAAAC,QAAiBC,EAAAA,WAAAA,CAAqCJ,EAAQK,WADpC,EAE5B,MAGEH,WAAAC,QAAiBG,EAAAA,WAAAA","x_google_ignoreList":[0]}
@@ -3,6 +3,5 @@ export * from './apiConfig';
3
3
  export * from './hooks';
4
4
  export * from './module-reducer';
5
5
  export * from './store';
6
- export * from './toolkit';
7
6
  export * from './types';
8
7
  export * from './slices';
@@ -3,8 +3,6 @@ import { API_METHOD_GROUPS, createConfiguredApiClient, validateApiClient } from
3
3
  import { useAppDispatch, useAppSelector, useLibraryDispatch, useLibrarySelector } from "./hooks/index.esm.js";
4
4
  import { createModuleSlice } from "./module-reducer/index.esm.js";
5
5
  import { createLibraryStore, getLibrarySlices, libraryReducers } from "./store/index.esm.js";
6
- export * from "@reduxjs/toolkit";
7
- import { setCompanies, setError, setLoading } from "@reduxjs/toolkit";
8
6
  import { fetchLanguages, default as default2, resetHeaderState, resetLanguagesState, setCurrentLanguage, setLanguages, setLanguagesData } from "./slices/headerSlice/index.esm.js";
9
7
  import { fetchBom, fetchOptions, default as default3, resetInventoryReportsTitleBarState, setAssemblyItems, setBomData, setItems, setWarehouseLocations } from "./slices/inventoryReportsTitleBarSlice/index.esm.js";
10
8
  import { fetchCompanies, default as default4, resetReportsTitleBarState } from "./slices/reportsTitleBarSlice/index.esm.js";
@@ -36,14 +34,11 @@ export {
36
34
  resetState,
37
35
  setAssemblyItems,
38
36
  setBomData,
39
- setCompanies,
40
37
  setCurrentLanguage,
41
38
  setDepartments,
42
- setError,
43
39
  setItems,
44
40
  setLanguages,
45
41
  setLanguagesData,
46
- setLoading,
47
42
  setUsers,
48
43
  setWarehouseLocations,
49
44
  sharePage,
@@ -1 +1 @@
1
- {"version":3,"file":"index.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
1
+ {"version":3,"file":"index.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./actionCreator/index.js"),t=require("./apiConfig/index.js"),r=require("./hooks/index.js"),s=require("./module-reducer/index.js"),o=require("./store/index.js"),a=require("@reduxjs/toolkit"),i=require("./slices/headerSlice/index.js"),p=require("./slices/inventoryReportsTitleBarSlice/index.js"),n=require("./slices/reportsTitleBarSlice/index.js"),c=require("./slices/shareSlice/index.js");exports.createParties=e.createParties,exports.getCurrency=e.getCurrency,exports.getItems=e.getItems,exports.getLocation=e.getLocation,exports.getOptions=e.getOptions,exports.API_METHOD_GROUPS=t.API_METHOD_GROUPS,exports.createConfiguredApiClient=t.createConfiguredApiClient,exports.validateApiClient=t.validateApiClient,exports.useAppDispatch=r.useAppDispatch,exports.useAppSelector=r.useAppSelector,exports.useLibraryDispatch=r.useLibraryDispatch,exports.useLibrarySelector=r.useLibrarySelector,exports.createModuleSlice=s.createModuleSlice,exports.createLibraryStore=o.createLibraryStore,exports.getLibrarySlices=o.getLibrarySlices,exports.libraryReducers=o.libraryReducers,Object.defineProperty(exports,"setCompanies",{enumerable:!0,get:function(){return a.setCompanies}}),Object.defineProperty(exports,"setError",{enumerable:!0,get:function(){return a.setError}}),Object.defineProperty(exports,"setLoading",{enumerable:!0,get:function(){return a.setLoading}}),exports.fetchLanguages=i.fetchLanguages,exports.headerSlice=i.default,exports.resetHeaderState=i.resetHeaderState,exports.resetLanguagesState=i.resetLanguagesState,exports.setCurrentLanguage=i.setCurrentLanguage,exports.setLanguages=i.setLanguages,exports.setLanguagesData=i.setLanguagesData,exports.fetchBom=p.fetchBom,exports.fetchOptions=p.fetchOptions,exports.inventoryReportsTitleBarSlice=p.default,exports.resetInventoryReportsTitleBarState=p.resetInventoryReportsTitleBarState,exports.setAssemblyItems=p.setAssemblyItems,exports.setBomData=p.setBomData,exports.setItems=p.setItems,exports.setWarehouseLocations=p.setWarehouseLocations,exports.fetchCompanies=n.fetchCompanies,exports.reportsTitleBarSlice=n.default,exports.resetReportsTitleBarState=n.resetReportsTitleBarState,exports.getAllUserAndDepartmentDropdown=c.getAllUserAndDepartmentDropdown,exports.resetState=c.resetState,exports.setDepartments=c.setDepartments,exports.setUsers=c.setUsers,exports.sharePage=c.sharePage,exports.shareSlice=c.default,Object.keys(a).forEach(function(e){"default"===e||Object.prototype.hasOwnProperty.call(exports,e)||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return a[e]}})});
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./actionCreator/index.js"),t=require("./apiConfig/index.js"),r=require("./hooks/index.js"),s=require("./module-reducer/index.js"),a=require("./store/index.js"),o=require("./slices/headerSlice/index.js"),i=require("./slices/inventoryReportsTitleBarSlice/index.js"),p=require("./slices/reportsTitleBarSlice/index.js"),n=require("./slices/shareSlice/index.js");exports.createParties=e.createParties,exports.getCurrency=e.getCurrency,exports.getItems=e.getItems,exports.getLocation=e.getLocation,exports.getOptions=e.getOptions,exports.API_METHOD_GROUPS=t.API_METHOD_GROUPS,exports.createConfiguredApiClient=t.createConfiguredApiClient,exports.validateApiClient=t.validateApiClient,exports.useAppDispatch=r.useAppDispatch,exports.useAppSelector=r.useAppSelector,exports.useLibraryDispatch=r.useLibraryDispatch,exports.useLibrarySelector=r.useLibrarySelector,exports.createModuleSlice=s.createModuleSlice,exports.createLibraryStore=a.createLibraryStore,exports.getLibrarySlices=a.getLibrarySlices,exports.libraryReducers=a.libraryReducers,exports.fetchLanguages=o.fetchLanguages,exports.headerSlice=o.default,exports.resetHeaderState=o.resetHeaderState,exports.resetLanguagesState=o.resetLanguagesState,exports.setCurrentLanguage=o.setCurrentLanguage,exports.setLanguages=o.setLanguages,exports.setLanguagesData=o.setLanguagesData,exports.fetchBom=i.fetchBom,exports.fetchOptions=i.fetchOptions,exports.inventoryReportsTitleBarSlice=i.default,exports.resetInventoryReportsTitleBarState=i.resetInventoryReportsTitleBarState,exports.setAssemblyItems=i.setAssemblyItems,exports.setBomData=i.setBomData,exports.setItems=i.setItems,exports.setWarehouseLocations=i.setWarehouseLocations,exports.fetchCompanies=p.fetchCompanies,exports.reportsTitleBarSlice=p.default,exports.resetReportsTitleBarState=p.resetReportsTitleBarState,exports.getAllUserAndDepartmentDropdown=n.getAllUserAndDepartmentDropdown,exports.resetState=n.resetState,exports.setDepartments=n.setDepartments,exports.setUsers=n.setUsers,exports.sharePage=n.sharePage,exports.shareSlice=n.default;
2
2
  //# sourceMappingURL=index.js.map
@@ -3,6 +3,5 @@ export * from './apiConfig';
3
3
  export * from './hooks';
4
4
  export * from './module-reducer';
5
5
  export * from './store';
6
- export * from './toolkit';
7
6
  export * from './types';
8
7
  export * from './slices';