@inventreedb/ui 0.2.2 → 0.2.3

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 (158) hide show
  1. package/dist/.vite/manifest.json +1 -546
  2. package/dist/enums/ApiEndpoints.d.ts +1 -0
  3. package/dist/enums/ApiEndpoints.js +1 -0
  4. package/dist/enums/ApiEndpoints.js.map +1 -1
  5. package/dist/index.d.ts +1 -1
  6. package/dist/index.js +0 -2
  7. package/dist/index.js.map +1 -1
  8. package/dist/types/Forms.d.ts +1 -1
  9. package/dist/types/Plugins.d.ts +3 -0
  10. package/dist/types/Plugins.js +1 -1
  11. package/dist/types/Plugins.js.map +1 -1
  12. package/lib/enums/ApiEndpoints.tsx +1 -0
  13. package/lib/index.ts +1 -3
  14. package/lib/types/Forms.tsx +1 -0
  15. package/lib/types/Plugins.tsx +3 -0
  16. package/package.json +2 -2
  17. package/dist/_virtual/jsx-runtime.js +0 -6
  18. package/dist/_virtual/jsx-runtime.js.map +0 -1
  19. package/dist/_virtual/jsx-runtime2.js +0 -5
  20. package/dist/_virtual/jsx-runtime2.js.map +0 -1
  21. package/dist/_virtual/react-jsx-runtime.development.js +0 -5
  22. package/dist/_virtual/react-jsx-runtime.development.js.map +0 -1
  23. package/dist/_virtual/react-jsx-runtime.production.min.js +0 -5
  24. package/dist/_virtual/react-jsx-runtime.production.min.js.map +0 -1
  25. package/dist/components/InvenTreeStylishText.d.ts +0 -13
  26. package/dist/components/InvenTreeStylishText.js +0 -39
  27. package/dist/components/InvenTreeStylishText.js.map +0 -1
  28. package/dist/node_modules/@mantine/core/esm/components/Text/Text.js +0 -94
  29. package/dist/node_modules/@mantine/core/esm/components/Text/Text.js.map +0 -1
  30. package/dist/node_modules/@mantine/core/esm/components/Text/Text.module.css.js +0 -6
  31. package/dist/node_modules/@mantine/core/esm/components/Text/Text.module.css.js.map +0 -1
  32. package/dist/node_modules/@mantine/core/esm/components/Text/Text.module.css.mjs.vanilla.css.js +0 -2
  33. package/dist/node_modules/@mantine/core/esm/components/Text/Text.module.css.mjs.vanilla.css.js.map +0 -1
  34. package/dist/node_modules/@mantine/core/esm/core/Box/Box.js +0 -83
  35. package/dist/node_modules/@mantine/core/esm/core/Box/Box.js.map +0 -1
  36. package/dist/node_modules/@mantine/core/esm/core/Box/get-box-mod/get-box-mod.js +0 -33
  37. package/dist/node_modules/@mantine/core/esm/core/Box/get-box-mod/get-box-mod.js.map +0 -1
  38. package/dist/node_modules/@mantine/core/esm/core/Box/get-box-style/get-box-style.js +0 -29
  39. package/dist/node_modules/@mantine/core/esm/core/Box/get-box-style/get-box-style.js.map +0 -1
  40. package/dist/node_modules/@mantine/core/esm/core/Box/style-props/extract-style-props/extract-style-props.js +0 -123
  41. package/dist/node_modules/@mantine/core/esm/core/Box/style-props/extract-style-props/extract-style-props.js.map +0 -1
  42. package/dist/node_modules/@mantine/core/esm/core/Box/style-props/parse-style-props/parse-style-props.js +0 -88
  43. package/dist/node_modules/@mantine/core/esm/core/Box/style-props/parse-style-props/parse-style-props.js.map +0 -1
  44. package/dist/node_modules/@mantine/core/esm/core/Box/style-props/parse-style-props/sort-media-queries.js +0 -15
  45. package/dist/node_modules/@mantine/core/esm/core/Box/style-props/parse-style-props/sort-media-queries.js.map +0 -1
  46. package/dist/node_modules/@mantine/core/esm/core/Box/style-props/resolvers/border-resolver/border-resolver.js +0 -21
  47. package/dist/node_modules/@mantine/core/esm/core/Box/style-props/resolvers/border-resolver/border-resolver.js.map +0 -1
  48. package/dist/node_modules/@mantine/core/esm/core/Box/style-props/resolvers/color-resolver/color-resolver.js +0 -25
  49. package/dist/node_modules/@mantine/core/esm/core/Box/style-props/resolvers/color-resolver/color-resolver.js.map +0 -1
  50. package/dist/node_modules/@mantine/core/esm/core/Box/style-props/resolvers/font-family-resolver/font-family-resolver.js +0 -17
  51. package/dist/node_modules/@mantine/core/esm/core/Box/style-props/resolvers/font-family-resolver/font-family-resolver.js.map +0 -1
  52. package/dist/node_modules/@mantine/core/esm/core/Box/style-props/resolvers/font-size-resolver/font-size-resolver.js +0 -23
  53. package/dist/node_modules/@mantine/core/esm/core/Box/style-props/resolvers/font-size-resolver/font-size-resolver.js.map +0 -1
  54. package/dist/node_modules/@mantine/core/esm/core/Box/style-props/resolvers/identity-resolver/identity-resolver.js +0 -7
  55. package/dist/node_modules/@mantine/core/esm/core/Box/style-props/resolvers/identity-resolver/identity-resolver.js.map +0 -1
  56. package/dist/node_modules/@mantine/core/esm/core/Box/style-props/resolvers/index.js +0 -23
  57. package/dist/node_modules/@mantine/core/esm/core/Box/style-props/resolvers/index.js.map +0 -1
  58. package/dist/node_modules/@mantine/core/esm/core/Box/style-props/resolvers/line-height-resolver/line-height-resolver.js +0 -14
  59. package/dist/node_modules/@mantine/core/esm/core/Box/style-props/resolvers/line-height-resolver/line-height-resolver.js.map +0 -1
  60. package/dist/node_modules/@mantine/core/esm/core/Box/style-props/resolvers/size-resolver/size-resolver.js +0 -13
  61. package/dist/node_modules/@mantine/core/esm/core/Box/style-props/resolvers/size-resolver/size-resolver.js.map +0 -1
  62. package/dist/node_modules/@mantine/core/esm/core/Box/style-props/resolvers/spacing-resolver/spacing-resolver.js +0 -21
  63. package/dist/node_modules/@mantine/core/esm/core/Box/style-props/resolvers/spacing-resolver/spacing-resolver.js.map +0 -1
  64. package/dist/node_modules/@mantine/core/esm/core/Box/style-props/style-props-data.js +0 -55
  65. package/dist/node_modules/@mantine/core/esm/core/Box/style-props/style-props-data.js.map +0 -1
  66. package/dist/node_modules/@mantine/core/esm/core/Box/use-random-classname/use-random-classname.js +0 -9
  67. package/dist/node_modules/@mantine/core/esm/core/Box/use-random-classname/use-random-classname.js.map +0 -1
  68. package/dist/node_modules/@mantine/core/esm/core/InlineStyles/InlineStyles.js +0 -19
  69. package/dist/node_modules/@mantine/core/esm/core/InlineStyles/InlineStyles.js.map +0 -1
  70. package/dist/node_modules/@mantine/core/esm/core/InlineStyles/css-object-to-string/css-object-to-string.js +0 -14
  71. package/dist/node_modules/@mantine/core/esm/core/InlineStyles/css-object-to-string/css-object-to-string.js.map +0 -1
  72. package/dist/node_modules/@mantine/core/esm/core/InlineStyles/styles-to-string/styles-to-string.js +0 -13
  73. package/dist/node_modules/@mantine/core/esm/core/InlineStyles/styles-to-string/styles-to-string.js.map +0 -1
  74. package/dist/node_modules/@mantine/core/esm/core/MantineProvider/Mantine.context.js +0 -40
  75. package/dist/node_modules/@mantine/core/esm/core/MantineProvider/Mantine.context.js.map +0 -1
  76. package/dist/node_modules/@mantine/core/esm/core/MantineProvider/MantineThemeProvider/MantineThemeProvider.js +0 -17
  77. package/dist/node_modules/@mantine/core/esm/core/MantineProvider/MantineThemeProvider/MantineThemeProvider.js.map +0 -1
  78. package/dist/node_modules/@mantine/core/esm/core/MantineProvider/color-functions/darken/darken.js +0 -14
  79. package/dist/node_modules/@mantine/core/esm/core/MantineProvider/color-functions/darken/darken.js.map +0 -1
  80. package/dist/node_modules/@mantine/core/esm/core/MantineProvider/color-functions/get-gradient/get-gradient.js +0 -15
  81. package/dist/node_modules/@mantine/core/esm/core/MantineProvider/color-functions/get-gradient/get-gradient.js.map +0 -1
  82. package/dist/node_modules/@mantine/core/esm/core/MantineProvider/color-functions/get-primary-shade/get-primary-shade.js +0 -13
  83. package/dist/node_modules/@mantine/core/esm/core/MantineProvider/color-functions/get-primary-shade/get-primary-shade.js.map +0 -1
  84. package/dist/node_modules/@mantine/core/esm/core/MantineProvider/color-functions/get-theme-color/get-theme-color.js +0 -9
  85. package/dist/node_modules/@mantine/core/esm/core/MantineProvider/color-functions/get-theme-color/get-theme-color.js.map +0 -1
  86. package/dist/node_modules/@mantine/core/esm/core/MantineProvider/color-functions/luminance/luminance.js +0 -32
  87. package/dist/node_modules/@mantine/core/esm/core/MantineProvider/color-functions/luminance/luminance.js.map +0 -1
  88. package/dist/node_modules/@mantine/core/esm/core/MantineProvider/color-functions/parse-theme-color/parse-theme-color.js +0 -78
  89. package/dist/node_modules/@mantine/core/esm/core/MantineProvider/color-functions/parse-theme-color/parse-theme-color.js.map +0 -1
  90. package/dist/node_modules/@mantine/core/esm/core/MantineProvider/color-functions/to-rgba/to-rgba.js +0 -116
  91. package/dist/node_modules/@mantine/core/esm/core/MantineProvider/color-functions/to-rgba/to-rgba.js.map +0 -1
  92. package/dist/node_modules/@mantine/core/esm/core/MantineProvider/use-props/use-props.js +0 -15
  93. package/dist/node_modules/@mantine/core/esm/core/MantineProvider/use-props/use-props.js.map +0 -1
  94. package/dist/node_modules/@mantine/core/esm/core/factory/create-polymorphic-component.js +0 -7
  95. package/dist/node_modules/@mantine/core/esm/core/factory/create-polymorphic-component.js.map +0 -1
  96. package/dist/node_modules/@mantine/core/esm/core/factory/factory.js +0 -9
  97. package/dist/node_modules/@mantine/core/esm/core/factory/factory.js.map +0 -1
  98. package/dist/node_modules/@mantine/core/esm/core/factory/polymorphic-factory.js +0 -18
  99. package/dist/node_modules/@mantine/core/esm/core/factory/polymorphic-factory.js.map +0 -1
  100. package/dist/node_modules/@mantine/core/esm/core/styles-api/create-vars-resolver/create-vars-resolver.js +0 -7
  101. package/dist/node_modules/@mantine/core/esm/core/styles-api/create-vars-resolver/create-vars-resolver.js.map +0 -1
  102. package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-class-name/get-class-name.js +0 -48
  103. package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-class-name/get-class-name.js.map +0 -1
  104. package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-class-name/get-global-class-names/get-global-class-names.js +0 -17
  105. package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-class-name/get-global-class-names/get-global-class-names.js.map +0 -1
  106. package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-class-name/get-options-class-names/get-options-class-names.js +0 -19
  107. package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-class-name/get-options-class-names/get-options-class-names.js.map +0 -1
  108. package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-class-name/get-resolved-class-names/get-resolved-class-names.js +0 -14
  109. package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-class-name/get-resolved-class-names/get-resolved-class-names.js.map +0 -1
  110. package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-class-name/get-root-class-name/get-root-class-name.js +0 -7
  111. package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-class-name/get-root-class-name/get-root-class-name.js.map +0 -1
  112. package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-class-name/get-selector-class-name/get-selector-class-name.js +0 -7
  113. package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-class-name/get-selector-class-name/get-selector-class-name.js.map +0 -1
  114. package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-class-name/get-static-class-names/get-static-class-names.js +0 -15
  115. package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-class-name/get-static-class-names/get-static-class-names.js.map +0 -1
  116. package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-class-name/get-theme-class-names/get-theme-class-names.js +0 -24
  117. package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-class-name/get-theme-class-names/get-theme-class-names.js.map +0 -1
  118. package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-class-name/get-variant-class-name/get-variant-class-name.js +0 -12
  119. package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-class-name/get-variant-class-name/get-variant-class-name.js.map +0 -1
  120. package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-class-name/resolve-class-names/resolve-class-names.js +0 -26
  121. package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-class-name/resolve-class-names/resolve-class-names.js.map +0 -1
  122. package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-style/get-style.js +0 -32
  123. package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-style/get-style.js.map +0 -1
  124. package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-style/get-theme-styles/get-theme-styles.js +0 -24
  125. package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-style/get-theme-styles/get-theme-styles.js.map +0 -1
  126. package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-style/resolve-style/resolve-style.js +0 -19
  127. package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-style/resolve-style/resolve-style.js.map +0 -1
  128. package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-style/resolve-styles/resolve-styles.js +0 -13
  129. package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-style/resolve-styles/resolve-styles.js.map +0 -1
  130. package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-style/resolve-vars/merge-vars.js +0 -17
  131. package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-style/resolve-vars/merge-vars.js.map +0 -1
  132. package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-style/resolve-vars/resolve-vars.js +0 -25
  133. package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-style/resolve-vars/resolve-vars.js.map +0 -1
  134. package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/use-styles.js +0 -70
  135. package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/use-styles.js.map +0 -1
  136. package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/use-transformed-styles.js +0 -34
  137. package/dist/node_modules/@mantine/core/esm/core/styles-api/use-styles/use-transformed-styles.js.map +0 -1
  138. package/dist/node_modules/@mantine/core/esm/core/utils/camel-to-kebab-case/camel-to-kebab-case.js +0 -7
  139. package/dist/node_modules/@mantine/core/esm/core/utils/camel-to-kebab-case/camel-to-kebab-case.js.map +0 -1
  140. package/dist/node_modules/@mantine/core/esm/core/utils/filter-props/filter-props.js +0 -12
  141. package/dist/node_modules/@mantine/core/esm/core/utils/filter-props/filter-props.js.map +0 -1
  142. package/dist/node_modules/@mantine/core/esm/core/utils/get-size/get-size.js +0 -20
  143. package/dist/node_modules/@mantine/core/esm/core/utils/get-size/get-size.js.map +0 -1
  144. package/dist/node_modules/@mantine/core/esm/core/utils/is-number-like/is-number-like.js +0 -18
  145. package/dist/node_modules/@mantine/core/esm/core/utils/is-number-like/is-number-like.js.map +0 -1
  146. package/dist/node_modules/@mantine/core/esm/core/utils/keys/keys.js +0 -7
  147. package/dist/node_modules/@mantine/core/esm/core/utils/keys/keys.js.map +0 -1
  148. package/dist/node_modules/@mantine/core/esm/core/utils/units-converters/rem.js +0 -47
  149. package/dist/node_modules/@mantine/core/esm/core/utils/units-converters/rem.js.map +0 -1
  150. package/dist/node_modules/clsx/dist/clsx.js +0 -18
  151. package/dist/node_modules/clsx/dist/clsx.js.map +0 -1
  152. package/dist/node_modules/react/cjs/react-jsx-runtime.development.js +0 -891
  153. package/dist/node_modules/react/cjs/react-jsx-runtime.development.js.map +0 -1
  154. package/dist/node_modules/react/cjs/react-jsx-runtime.production.min.js +0 -34
  155. package/dist/node_modules/react/cjs/react-jsx-runtime.production.min.js.map +0 -1
  156. package/dist/node_modules/react/jsx-runtime.js +0 -18
  157. package/dist/node_modules/react/jsx-runtime.js.map +0 -1
  158. package/lib/components/InvenTreeStylishText.tsx +0 -55
@@ -1,17 +0,0 @@
1
- import { clsx } from "../../../../../../../../clsx/dist/clsx.js";
2
- const FOCUS_CLASS_NAMES = {
3
- always: "mantine-focus-always",
4
- auto: "mantine-focus-auto",
5
- never: "mantine-focus-never"
6
- };
7
- function getGlobalClassNames({ theme, options, unstyled }) {
8
- return clsx(
9
- (options == null ? void 0 : options.focusable) && !unstyled && (theme.focusClassName || FOCUS_CLASS_NAMES[theme.focusRing]),
10
- (options == null ? void 0 : options.active) && !unstyled && theme.activeClassName
11
- );
12
- }
13
- export {
14
- FOCUS_CLASS_NAMES,
15
- getGlobalClassNames
16
- };
17
- //# sourceMappingURL=get-global-class-names.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"get-global-class-names.js","sources":["../../../../../../../../../../node_modules/@mantine/core/esm/core/styles-api/use-styles/get-class-name/get-global-class-names/get-global-class-names.mjs"],"sourcesContent":["'use client';\nimport cx from 'clsx';\n\nconst FOCUS_CLASS_NAMES = {\n always: \"mantine-focus-always\",\n auto: \"mantine-focus-auto\",\n never: \"mantine-focus-never\"\n};\nfunction getGlobalClassNames({ theme, options, unstyled }) {\n return cx(\n options?.focusable && !unstyled && (theme.focusClassName || FOCUS_CLASS_NAMES[theme.focusRing]),\n options?.active && !unstyled && theme.activeClassName\n );\n}\n\nexport { FOCUS_CLASS_NAMES, getGlobalClassNames };\n//# sourceMappingURL=get-global-class-names.mjs.map\n"],"names":["cx"],"mappings":";AAGK,MAAC,oBAAoB;AAAA,EACxB,QAAQ;AAAA,EACR,MAAM;AAAA,EACN,OAAO;AACT;AACA,SAAS,oBAAoB,EAAE,OAAO,SAAS,SAAQ,GAAI;AACzD,SAAOA;AAAAA,KACL,mCAAS,cAAa,CAAC,aAAa,MAAM,kBAAkB,kBAAkB,MAAM,SAAS;AAAA,KAC7F,mCAAS,WAAU,CAAC,YAAY,MAAM;AAAA,EACvC;AACH;","x_google_ignoreList":[0]}
@@ -1,19 +0,0 @@
1
- import { resolveClassNames } from "../resolve-class-names/resolve-class-names.js";
2
- function getOptionsClassNames({
3
- selector,
4
- stylesCtx,
5
- options,
6
- props,
7
- theme
8
- }) {
9
- return resolveClassNames({
10
- theme,
11
- classNames: options == null ? void 0 : options.classNames,
12
- props: (options == null ? void 0 : options.props) || props,
13
- stylesCtx
14
- })[selector];
15
- }
16
- export {
17
- getOptionsClassNames
18
- };
19
- //# sourceMappingURL=get-options-class-names.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"get-options-class-names.js","sources":["../../../../../../../../../../node_modules/@mantine/core/esm/core/styles-api/use-styles/get-class-name/get-options-class-names/get-options-class-names.mjs"],"sourcesContent":["'use client';\nimport { resolveClassNames } from '../resolve-class-names/resolve-class-names.mjs';\n\nfunction getOptionsClassNames({\n selector,\n stylesCtx,\n options,\n props,\n theme\n}) {\n return resolveClassNames({\n theme,\n classNames: options?.classNames,\n props: options?.props || props,\n stylesCtx\n })[selector];\n}\n\nexport { getOptionsClassNames };\n//# sourceMappingURL=get-options-class-names.mjs.map\n"],"names":[],"mappings":";AAGA,SAAS,qBAAqB;AAAA,EAC5B;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,GAAG;AACD,SAAO,kBAAkB;AAAA,IACvB;AAAA,IACA,YAAY,mCAAS;AAAA,IACrB,QAAO,mCAAS,UAAS;AAAA,IACzB;AAAA,EACD,CAAA,EAAE,QAAQ;AACb;","x_google_ignoreList":[0]}
@@ -1,14 +0,0 @@
1
- import { resolveClassNames } from "../resolve-class-names/resolve-class-names.js";
2
- function getResolvedClassNames({
3
- selector,
4
- stylesCtx,
5
- theme,
6
- classNames,
7
- props
8
- }) {
9
- return resolveClassNames({ theme, classNames, props, stylesCtx })[selector];
10
- }
11
- export {
12
- getResolvedClassNames
13
- };
14
- //# sourceMappingURL=get-resolved-class-names.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"get-resolved-class-names.js","sources":["../../../../../../../../../../node_modules/@mantine/core/esm/core/styles-api/use-styles/get-class-name/get-resolved-class-names/get-resolved-class-names.mjs"],"sourcesContent":["'use client';\nimport { resolveClassNames } from '../resolve-class-names/resolve-class-names.mjs';\n\nfunction getResolvedClassNames({\n selector,\n stylesCtx,\n theme,\n classNames,\n props\n}) {\n return resolveClassNames({ theme, classNames, props, stylesCtx })[selector];\n}\n\nexport { getResolvedClassNames };\n//# sourceMappingURL=get-resolved-class-names.mjs.map\n"],"names":[],"mappings":";AAGA,SAAS,sBAAsB;AAAA,EAC7B;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,GAAG;AACD,SAAO,kBAAkB,EAAE,OAAO,YAAY,OAAO,UAAS,CAAE,EAAE,QAAQ;AAC5E;","x_google_ignoreList":[0]}
@@ -1,7 +0,0 @@
1
- function getRootClassName({ rootSelector, selector, className }) {
2
- return rootSelector === selector ? className : void 0;
3
- }
4
- export {
5
- getRootClassName
6
- };
7
- //# sourceMappingURL=get-root-class-name.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"get-root-class-name.js","sources":["../../../../../../../../../../node_modules/@mantine/core/esm/core/styles-api/use-styles/get-class-name/get-root-class-name/get-root-class-name.mjs"],"sourcesContent":["'use client';\nfunction getRootClassName({ rootSelector, selector, className }) {\n return rootSelector === selector ? className : void 0;\n}\n\nexport { getRootClassName };\n//# sourceMappingURL=get-root-class-name.mjs.map\n"],"names":[],"mappings":"AACA,SAAS,iBAAiB,EAAE,cAAc,UAAU,UAAS,GAAI;AAC/D,SAAO,iBAAiB,WAAW,YAAY;AACjD;","x_google_ignoreList":[0]}
@@ -1,7 +0,0 @@
1
- function getSelectorClassName({ selector, classes, unstyled }) {
2
- return unstyled ? void 0 : classes[selector];
3
- }
4
- export {
5
- getSelectorClassName
6
- };
7
- //# sourceMappingURL=get-selector-class-name.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"get-selector-class-name.js","sources":["../../../../../../../../../../node_modules/@mantine/core/esm/core/styles-api/use-styles/get-class-name/get-selector-class-name/get-selector-class-name.mjs"],"sourcesContent":["'use client';\nfunction getSelectorClassName({ selector, classes, unstyled }) {\n return unstyled ? void 0 : classes[selector];\n}\n\nexport { getSelectorClassName };\n//# sourceMappingURL=get-selector-class-name.mjs.map\n"],"names":[],"mappings":"AACA,SAAS,qBAAqB,EAAE,UAAU,SAAS,SAAQ,GAAI;AAC7D,SAAO,WAAW,SAAS,QAAQ,QAAQ;AAC7C;","x_google_ignoreList":[0]}
@@ -1,15 +0,0 @@
1
- function getStaticClassNames({
2
- themeName,
3
- classNamesPrefix,
4
- selector,
5
- withStaticClass
6
- }) {
7
- if (withStaticClass === false) {
8
- return [];
9
- }
10
- return themeName.map((n) => `${classNamesPrefix}-${n}-${selector}`);
11
- }
12
- export {
13
- getStaticClassNames
14
- };
15
- //# sourceMappingURL=get-static-class-names.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"get-static-class-names.js","sources":["../../../../../../../../../../node_modules/@mantine/core/esm/core/styles-api/use-styles/get-class-name/get-static-class-names/get-static-class-names.mjs"],"sourcesContent":["'use client';\nfunction getStaticClassNames({\n themeName,\n classNamesPrefix,\n selector,\n withStaticClass\n}) {\n if (withStaticClass === false) {\n return [];\n }\n return themeName.map((n) => `${classNamesPrefix}-${n}-${selector}`);\n}\n\nexport { getStaticClassNames };\n//# sourceMappingURL=get-static-class-names.mjs.map\n"],"names":[],"mappings":"AACA,SAAS,oBAAoB;AAAA,EAC3B;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,GAAG;AACD,MAAI,oBAAoB,OAAO;AAC7B,WAAO,CAAE;AAAA,EACb;AACE,SAAO,UAAU,IAAI,CAAC,MAAM,GAAG,gBAAgB,IAAI,CAAC,IAAI,QAAQ,EAAE;AACpE;","x_google_ignoreList":[0]}
@@ -1,24 +0,0 @@
1
- import { resolveClassNames } from "../resolve-class-names/resolve-class-names.js";
2
- function getThemeClassNames({
3
- themeName,
4
- theme,
5
- selector,
6
- props,
7
- stylesCtx
8
- }) {
9
- return themeName.map(
10
- (n) => {
11
- var _a, _b;
12
- return (_b = resolveClassNames({
13
- theme,
14
- classNames: (_a = theme.components[n]) == null ? void 0 : _a.classNames,
15
- props,
16
- stylesCtx
17
- })) == null ? void 0 : _b[selector];
18
- }
19
- );
20
- }
21
- export {
22
- getThemeClassNames
23
- };
24
- //# sourceMappingURL=get-theme-class-names.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"get-theme-class-names.js","sources":["../../../../../../../../../../node_modules/@mantine/core/esm/core/styles-api/use-styles/get-class-name/get-theme-class-names/get-theme-class-names.mjs"],"sourcesContent":["'use client';\nimport { resolveClassNames } from '../resolve-class-names/resolve-class-names.mjs';\n\nfunction getThemeClassNames({\n themeName,\n theme,\n selector,\n props,\n stylesCtx\n}) {\n return themeName.map(\n (n) => resolveClassNames({\n theme,\n classNames: theme.components[n]?.classNames,\n props,\n stylesCtx\n })?.[selector]\n );\n}\n\nexport { getThemeClassNames };\n//# sourceMappingURL=get-theme-class-names.mjs.map\n"],"names":[],"mappings":";AAGA,SAAS,mBAAmB;AAAA,EAC1B;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,GAAG;AACD,SAAO,UAAU;AAAA,IACf,CAAC,MAAM;;AAAA,qCAAkB;AAAA,QACvB;AAAA,QACA,aAAY,WAAM,WAAW,CAAC,MAAlB,mBAAqB;AAAA,QACjC;AAAA,QACA;AAAA,MACD,CAAA,MALM,mBAKF;AAAA;AAAA,EACN;AACH;","x_google_ignoreList":[0]}
@@ -1,12 +0,0 @@
1
- function getVariantClassName({
2
- options,
3
- classes,
4
- selector,
5
- unstyled
6
- }) {
7
- return (options == null ? void 0 : options.variant) && !unstyled ? classes[`${selector}--${options.variant}`] : void 0;
8
- }
9
- export {
10
- getVariantClassName
11
- };
12
- //# sourceMappingURL=get-variant-class-name.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"get-variant-class-name.js","sources":["../../../../../../../../../../node_modules/@mantine/core/esm/core/styles-api/use-styles/get-class-name/get-variant-class-name/get-variant-class-name.mjs"],"sourcesContent":["'use client';\nfunction getVariantClassName({\n options,\n classes,\n selector,\n unstyled\n}) {\n return options?.variant && !unstyled ? classes[`${selector}--${options.variant}`] : void 0;\n}\n\nexport { getVariantClassName };\n//# sourceMappingURL=get-variant-class-name.mjs.map\n"],"names":[],"mappings":"AACA,SAAS,oBAAoB;AAAA,EAC3B;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,GAAG;AACD,UAAO,mCAAS,YAAW,CAAC,WAAW,QAAQ,GAAG,QAAQ,KAAK,QAAQ,OAAO,EAAE,IAAI;AACtF;","x_google_ignoreList":[0]}
@@ -1,26 +0,0 @@
1
- import { clsx } from "../../../../../../../../clsx/dist/clsx.js";
2
- const EMPTY_CLASS_NAMES = {};
3
- function mergeClassNames(objects) {
4
- const merged = {};
5
- objects.forEach((obj) => {
6
- Object.entries(obj).forEach(([key, value]) => {
7
- if (merged[key]) {
8
- merged[key] = clsx(merged[key], value);
9
- } else {
10
- merged[key] = value;
11
- }
12
- });
13
- });
14
- return merged;
15
- }
16
- function resolveClassNames({ theme, classNames, props, stylesCtx }) {
17
- const arrayClassNames = Array.isArray(classNames) ? classNames : [classNames];
18
- const resolvedClassNames = arrayClassNames.map(
19
- (item) => typeof item === "function" ? item(theme, props, stylesCtx) : item || EMPTY_CLASS_NAMES
20
- );
21
- return mergeClassNames(resolvedClassNames);
22
- }
23
- export {
24
- resolveClassNames
25
- };
26
- //# sourceMappingURL=resolve-class-names.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"resolve-class-names.js","sources":["../../../../../../../../../../node_modules/@mantine/core/esm/core/styles-api/use-styles/get-class-name/resolve-class-names/resolve-class-names.mjs"],"sourcesContent":["'use client';\nimport cx from 'clsx';\n\nconst EMPTY_CLASS_NAMES = {};\nfunction mergeClassNames(objects) {\n const merged = {};\n objects.forEach((obj) => {\n Object.entries(obj).forEach(([key, value]) => {\n if (merged[key]) {\n merged[key] = cx(merged[key], value);\n } else {\n merged[key] = value;\n }\n });\n });\n return merged;\n}\nfunction resolveClassNames({ theme, classNames, props, stylesCtx }) {\n const arrayClassNames = Array.isArray(classNames) ? classNames : [classNames];\n const resolvedClassNames = arrayClassNames.map(\n (item) => typeof item === \"function\" ? item(theme, props, stylesCtx) : item || EMPTY_CLASS_NAMES\n );\n return mergeClassNames(resolvedClassNames);\n}\n\nexport { resolveClassNames };\n//# sourceMappingURL=resolve-class-names.mjs.map\n"],"names":["cx"],"mappings":";AAGA,MAAM,oBAAoB,CAAE;AAC5B,SAAS,gBAAgB,SAAS;AAChC,QAAM,SAAS,CAAE;AACjB,UAAQ,QAAQ,CAAC,QAAQ;AACvB,WAAO,QAAQ,GAAG,EAAE,QAAQ,CAAC,CAAC,KAAK,KAAK,MAAM;AAC5C,UAAI,OAAO,GAAG,GAAG;AACf,eAAO,GAAG,IAAIA,KAAG,OAAO,GAAG,GAAG,KAAK;AAAA,MAC3C,OAAa;AACL,eAAO,GAAG,IAAI;AAAA,MACtB;AAAA,IACA,CAAK;AAAA,EACL,CAAG;AACD,SAAO;AACT;AACA,SAAS,kBAAkB,EAAE,OAAO,YAAY,OAAO,UAAS,GAAI;AAClE,QAAM,kBAAkB,MAAM,QAAQ,UAAU,IAAI,aAAa,CAAC,UAAU;AAC5E,QAAM,qBAAqB,gBAAgB;AAAA,IACzC,CAAC,SAAS,OAAO,SAAS,aAAa,KAAK,OAAO,OAAO,SAAS,IAAI,QAAQ;AAAA,EAChF;AACD,SAAO,gBAAgB,kBAAkB;AAC3C;","x_google_ignoreList":[0]}
@@ -1,32 +0,0 @@
1
- import { getThemeStyles } from "./get-theme-styles/get-theme-styles.js";
2
- import { resolveStyle } from "./resolve-style/resolve-style.js";
3
- import { resolveStyles } from "./resolve-styles/resolve-styles.js";
4
- import { resolveVars } from "./resolve-vars/resolve-vars.js";
5
- function getStyle({
6
- theme,
7
- themeName,
8
- selector,
9
- options,
10
- props,
11
- stylesCtx,
12
- rootSelector,
13
- styles,
14
- style,
15
- vars,
16
- varsResolver,
17
- headless,
18
- withStylesTransform
19
- }) {
20
- return {
21
- ...!withStylesTransform && getThemeStyles({ theme, themeName, props, stylesCtx, selector }),
22
- ...!withStylesTransform && resolveStyles({ theme, styles, props, stylesCtx })[selector],
23
- ...!withStylesTransform && resolveStyles({ theme, styles: options == null ? void 0 : options.styles, props: (options == null ? void 0 : options.props) || props, stylesCtx })[selector],
24
- ...resolveVars({ theme, props, stylesCtx, vars, varsResolver, selector, themeName, headless }),
25
- ...rootSelector === selector ? resolveStyle({ style, theme }) : null,
26
- ...resolveStyle({ style: options == null ? void 0 : options.style, theme })
27
- };
28
- }
29
- export {
30
- getStyle
31
- };
32
- //# sourceMappingURL=get-style.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"get-style.js","sources":["../../../../../../../../../node_modules/@mantine/core/esm/core/styles-api/use-styles/get-style/get-style.mjs"],"sourcesContent":["'use client';\nimport { getThemeStyles } from './get-theme-styles/get-theme-styles.mjs';\nimport { resolveStyle } from './resolve-style/resolve-style.mjs';\nimport { resolveStyles } from './resolve-styles/resolve-styles.mjs';\nimport { resolveVars } from './resolve-vars/resolve-vars.mjs';\n\nfunction getStyle({\n theme,\n themeName,\n selector,\n options,\n props,\n stylesCtx,\n rootSelector,\n styles,\n style,\n vars,\n varsResolver,\n headless,\n withStylesTransform\n}) {\n return {\n ...!withStylesTransform && getThemeStyles({ theme, themeName, props, stylesCtx, selector }),\n ...!withStylesTransform && resolveStyles({ theme, styles, props, stylesCtx })[selector],\n ...!withStylesTransform && resolveStyles({ theme, styles: options?.styles, props: options?.props || props, stylesCtx })[selector],\n ...resolveVars({ theme, props, stylesCtx, vars, varsResolver, selector, themeName, headless }),\n ...rootSelector === selector ? resolveStyle({ style, theme }) : null,\n ...resolveStyle({ style: options?.style, theme })\n };\n}\n\nexport { getStyle };\n//# sourceMappingURL=get-style.mjs.map\n"],"names":[],"mappings":";;;;AAMA,SAAS,SAAS;AAAA,EAChB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,GAAG;AACD,SAAO;AAAA,IACL,GAAG,CAAC,uBAAuB,eAAe,EAAE,OAAO,WAAW,OAAO,WAAW,UAAU;AAAA,IAC1F,GAAG,CAAC,uBAAuB,cAAc,EAAE,OAAO,QAAQ,OAAO,WAAW,EAAE,QAAQ;AAAA,IACtF,GAAG,CAAC,uBAAuB,cAAc,EAAE,OAAO,QAAQ,mCAAS,QAAQ,QAAO,mCAAS,UAAS,OAAO,UAAW,CAAA,EAAE,QAAQ;AAAA,IAChI,GAAG,YAAY,EAAE,OAAO,OAAO,WAAW,MAAM,cAAc,UAAU,WAAW,UAAU;AAAA,IAC7F,GAAG,iBAAiB,WAAW,aAAa,EAAE,OAAO,MAAO,CAAA,IAAI;AAAA,IAChE,GAAG,aAAa,EAAE,OAAO,mCAAS,OAAO,MAAO,CAAA;AAAA,EACjD;AACH;","x_google_ignoreList":[0]}
@@ -1,24 +0,0 @@
1
- import { resolveStyles } from "../resolve-styles/resolve-styles.js";
2
- function getThemeStyles({
3
- theme,
4
- themeName,
5
- props,
6
- stylesCtx,
7
- selector
8
- }) {
9
- return themeName.map(
10
- (n) => {
11
- var _a;
12
- return resolveStyles({
13
- theme,
14
- styles: (_a = theme.components[n]) == null ? void 0 : _a.styles,
15
- props,
16
- stylesCtx
17
- })[selector];
18
- }
19
- ).reduce((acc, val) => ({ ...acc, ...val }), {});
20
- }
21
- export {
22
- getThemeStyles
23
- };
24
- //# sourceMappingURL=get-theme-styles.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"get-theme-styles.js","sources":["../../../../../../../../../../node_modules/@mantine/core/esm/core/styles-api/use-styles/get-style/get-theme-styles/get-theme-styles.mjs"],"sourcesContent":["'use client';\nimport { resolveStyles } from '../resolve-styles/resolve-styles.mjs';\n\nfunction getThemeStyles({\n theme,\n themeName,\n props,\n stylesCtx,\n selector\n}) {\n return themeName.map(\n (n) => resolveStyles({\n theme,\n styles: theme.components[n]?.styles,\n props,\n stylesCtx\n })[selector]\n ).reduce((acc, val) => ({ ...acc, ...val }), {});\n}\n\nexport { getThemeStyles };\n//# sourceMappingURL=get-theme-styles.mjs.map\n"],"names":[],"mappings":";AAGA,SAAS,eAAe;AAAA,EACtB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,GAAG;AACD,SAAO,UAAU;AAAA,IACf,CAAC,MAAM;;AAAA,2BAAc;AAAA,QACnB;AAAA,QACA,SAAQ,WAAM,WAAW,CAAC,MAAlB,mBAAqB;AAAA,QAC7B;AAAA,QACA;AAAA,MACD,CAAA,EAAE,QAAQ;AAAA;AAAA,EACf,EAAI,OAAO,CAAC,KAAK,SAAS,EAAE,GAAG,KAAK,GAAG,QAAQ,EAAE;AACjD;","x_google_ignoreList":[0]}
@@ -1,19 +0,0 @@
1
- function resolveStyle({ style, theme }) {
2
- if (Array.isArray(style)) {
3
- return [...style].reduce(
4
- (acc, item) => ({ ...acc, ...resolveStyle({ style: item, theme }) }),
5
- {}
6
- );
7
- }
8
- if (typeof style === "function") {
9
- return style(theme);
10
- }
11
- if (style == null) {
12
- return {};
13
- }
14
- return style;
15
- }
16
- export {
17
- resolveStyle
18
- };
19
- //# sourceMappingURL=resolve-style.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"resolve-style.js","sources":["../../../../../../../../../../node_modules/@mantine/core/esm/core/styles-api/use-styles/get-style/resolve-style/resolve-style.mjs"],"sourcesContent":["'use client';\nfunction resolveStyle({ style, theme }) {\n if (Array.isArray(style)) {\n return [...style].reduce(\n (acc, item) => ({ ...acc, ...resolveStyle({ style: item, theme }) }),\n {}\n );\n }\n if (typeof style === \"function\") {\n return style(theme);\n }\n if (style == null) {\n return {};\n }\n return style;\n}\n\nexport { resolveStyle };\n//# sourceMappingURL=resolve-style.mjs.map\n"],"names":[],"mappings":"AACA,SAAS,aAAa,EAAE,OAAO,SAAS;AACtC,MAAI,MAAM,QAAQ,KAAK,GAAG;AACxB,WAAO,CAAC,GAAG,KAAK,EAAE;AAAA,MAChB,CAAC,KAAK,UAAU,EAAE,GAAG,KAAK,GAAG,aAAa,EAAE,OAAO,MAAM,MAAK,CAAE,EAAC;AAAA,MACjE,CAAA;AAAA,IACD;AAAA,EACL;AACE,MAAI,OAAO,UAAU,YAAY;AAC/B,WAAO,MAAM,KAAK;AAAA,EACtB;AACE,MAAI,SAAS,MAAM;AACjB,WAAO,CAAE;AAAA,EACb;AACE,SAAO;AACT;","x_google_ignoreList":[0]}
@@ -1,13 +0,0 @@
1
- function resolveStyles({ theme, styles, props, stylesCtx }) {
2
- const arrayStyles = Array.isArray(styles) ? styles : [styles];
3
- return arrayStyles.reduce((acc, style) => {
4
- if (typeof style === "function") {
5
- return { ...acc, ...style(theme, props, stylesCtx) };
6
- }
7
- return { ...acc, ...style };
8
- }, {});
9
- }
10
- export {
11
- resolveStyles
12
- };
13
- //# sourceMappingURL=resolve-styles.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"resolve-styles.js","sources":["../../../../../../../../../../node_modules/@mantine/core/esm/core/styles-api/use-styles/get-style/resolve-styles/resolve-styles.mjs"],"sourcesContent":["'use client';\nfunction resolveStyles({ theme, styles, props, stylesCtx }) {\n const arrayStyles = Array.isArray(styles) ? styles : [styles];\n return arrayStyles.reduce((acc, style) => {\n if (typeof style === \"function\") {\n return { ...acc, ...style(theme, props, stylesCtx) };\n }\n return { ...acc, ...style };\n }, {});\n}\n\nexport { resolveStyles };\n//# sourceMappingURL=resolve-styles.mjs.map\n"],"names":[],"mappings":"AACA,SAAS,cAAc,EAAE,OAAO,QAAQ,OAAO,UAAS,GAAI;AAC1D,QAAM,cAAc,MAAM,QAAQ,MAAM,IAAI,SAAS,CAAC,MAAM;AAC5D,SAAO,YAAY,OAAO,CAAC,KAAK,UAAU;AACxC,QAAI,OAAO,UAAU,YAAY;AAC/B,aAAO,EAAE,GAAG,KAAK,GAAG,MAAM,OAAO,OAAO,SAAS,EAAG;AAAA,IAC1D;AACI,WAAO,EAAE,GAAG,KAAK,GAAG,MAAO;AAAA,EAC5B,GAAE,EAAE;AACP;","x_google_ignoreList":[0]}
@@ -1,17 +0,0 @@
1
- import { filterProps } from "../../../../utils/filter-props/filter-props.js";
2
- import "react";
3
- import "../../../../../../../../../_virtual/jsx-runtime.js";
4
- function mergeVars(vars) {
5
- return vars.reduce((acc, current) => {
6
- if (current) {
7
- Object.keys(current).forEach((key) => {
8
- acc[key] = { ...acc[key], ...filterProps(current[key]) };
9
- });
10
- }
11
- return acc;
12
- }, {});
13
- }
14
- export {
15
- mergeVars
16
- };
17
- //# sourceMappingURL=merge-vars.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"merge-vars.js","sources":["../../../../../../../../../../node_modules/@mantine/core/esm/core/styles-api/use-styles/get-style/resolve-vars/merge-vars.mjs"],"sourcesContent":["'use client';\nimport { filterProps } from '../../../../utils/filter-props/filter-props.mjs';\nimport 'react';\nimport 'react/jsx-runtime';\nimport '@mantine/hooks';\n\nfunction mergeVars(vars) {\n return vars.reduce((acc, current) => {\n if (current) {\n Object.keys(current).forEach((key) => {\n acc[key] = { ...acc[key], ...filterProps(current[key]) };\n });\n }\n return acc;\n }, {});\n}\n\nexport { mergeVars };\n//# sourceMappingURL=merge-vars.mjs.map\n"],"names":[],"mappings":";;;AAMA,SAAS,UAAU,MAAM;AACvB,SAAO,KAAK,OAAO,CAAC,KAAK,YAAY;AACnC,QAAI,SAAS;AACX,aAAO,KAAK,OAAO,EAAE,QAAQ,CAAC,QAAQ;AACpC,YAAI,GAAG,IAAI,EAAE,GAAG,IAAI,GAAG,GAAG,GAAG,YAAY,QAAQ,GAAG,CAAC,EAAG;AAAA,MAChE,CAAO;AAAA,IACP;AACI,WAAO;AAAA,EACR,GAAE,EAAE;AACP;","x_google_ignoreList":[0]}
@@ -1,25 +0,0 @@
1
- import { mergeVars } from "./merge-vars.js";
2
- function resolveVars({
3
- vars,
4
- varsResolver,
5
- theme,
6
- props,
7
- stylesCtx,
8
- selector,
9
- themeName,
10
- headless
11
- }) {
12
- var _a;
13
- return (_a = mergeVars([
14
- headless ? {} : varsResolver == null ? void 0 : varsResolver(theme, props, stylesCtx),
15
- ...themeName.map((name) => {
16
- var _a2, _b, _c;
17
- return (_c = (_b = (_a2 = theme.components) == null ? void 0 : _a2[name]) == null ? void 0 : _b.vars) == null ? void 0 : _c.call(_b, theme, props, stylesCtx);
18
- }),
19
- vars == null ? void 0 : vars(theme, props, stylesCtx)
20
- ])) == null ? void 0 : _a[selector];
21
- }
22
- export {
23
- resolveVars
24
- };
25
- //# sourceMappingURL=resolve-vars.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"resolve-vars.js","sources":["../../../../../../../../../../node_modules/@mantine/core/esm/core/styles-api/use-styles/get-style/resolve-vars/resolve-vars.mjs"],"sourcesContent":["'use client';\nimport { mergeVars } from './merge-vars.mjs';\n\nfunction resolveVars({\n vars,\n varsResolver,\n theme,\n props,\n stylesCtx,\n selector,\n themeName,\n headless\n}) {\n return mergeVars([\n headless ? {} : varsResolver?.(theme, props, stylesCtx),\n ...themeName.map((name) => theme.components?.[name]?.vars?.(theme, props, stylesCtx)),\n vars?.(theme, props, stylesCtx)\n ])?.[selector];\n}\n\nexport { resolveVars };\n//# sourceMappingURL=resolve-vars.mjs.map\n"],"names":["_a"],"mappings":";AAGA,SAAS,YAAY;AAAA,EACnB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,GAAG;;AACD,UAAO,eAAU;AAAA,IACf,WAAW,CAAA,IAAK,6CAAe,OAAO,OAAO;AAAA,IAC7C,GAAG,UAAU,IAAI,CAAC,SAAS;;AAAA,0BAAAA,MAAA,MAAM,eAAN,gBAAAA,IAAmB,UAAnB,mBAA0B,SAA1B,4BAAiC,OAAO,OAAO;AAAA,KAAU;AAAA,IACpF,6BAAO,OAAO,OAAO;AAAA,EACtB,CAAA,MAJM,mBAIF;AACP;","x_google_ignoreList":[0]}
@@ -1,70 +0,0 @@
1
- import "react";
2
- import "../../../../../../../_virtual/jsx-runtime.js";
3
- import { useMantineClassNamesPrefix, useMantineWithStaticClasses, useMantineIsHeadless } from "../../MantineProvider/Mantine.context.js";
4
- import { useMantineTheme } from "../../MantineProvider/MantineThemeProvider/MantineThemeProvider.js";
5
- import { getClassName } from "./get-class-name/get-class-name.js";
6
- import { getStyle } from "./get-style/get-style.js";
7
- import { useStylesTransform } from "./use-transformed-styles.js";
8
- function useStyles({
9
- name,
10
- classes,
11
- props,
12
- stylesCtx,
13
- className,
14
- style,
15
- rootSelector = "root",
16
- unstyled,
17
- classNames,
18
- styles,
19
- vars,
20
- varsResolver
21
- }) {
22
- const theme = useMantineTheme();
23
- const classNamesPrefix = useMantineClassNamesPrefix();
24
- const withStaticClasses = useMantineWithStaticClasses();
25
- const headless = useMantineIsHeadless();
26
- const themeName = (Array.isArray(name) ? name : [name]).filter((n) => n);
27
- const { withStylesTransform, getTransformedStyles } = useStylesTransform({
28
- props,
29
- stylesCtx,
30
- themeName
31
- });
32
- return (selector, options) => ({
33
- className: getClassName({
34
- theme,
35
- options,
36
- themeName,
37
- selector,
38
- classNamesPrefix,
39
- classNames,
40
- classes,
41
- unstyled,
42
- className,
43
- rootSelector,
44
- props,
45
- stylesCtx,
46
- withStaticClasses,
47
- headless,
48
- transformedStyles: getTransformedStyles([options == null ? void 0 : options.styles, styles])
49
- }),
50
- style: getStyle({
51
- theme,
52
- themeName,
53
- selector,
54
- options,
55
- props,
56
- stylesCtx,
57
- rootSelector,
58
- styles,
59
- style,
60
- vars,
61
- varsResolver,
62
- headless,
63
- withStylesTransform
64
- })
65
- });
66
- }
67
- export {
68
- useStyles
69
- };
70
- //# sourceMappingURL=use-styles.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"use-styles.js","sources":["../../../../../../../../node_modules/@mantine/core/esm/core/styles-api/use-styles/use-styles.mjs"],"sourcesContent":["'use client';\nimport 'react';\nimport 'react/jsx-runtime';\nimport '@mantine/hooks';\nimport { useMantineClassNamesPrefix, useMantineWithStaticClasses, useMantineIsHeadless } from '../../MantineProvider/Mantine.context.mjs';\nimport '../../MantineProvider/default-theme.mjs';\nimport '../../MantineProvider/MantineProvider.mjs';\nimport { useMantineTheme } from '../../MantineProvider/MantineThemeProvider/MantineThemeProvider.mjs';\nimport '../../MantineProvider/MantineCssVariables/MantineCssVariables.mjs';\nimport { getClassName } from './get-class-name/get-class-name.mjs';\nimport { getStyle } from './get-style/get-style.mjs';\nimport { useStylesTransform } from './use-transformed-styles.mjs';\n\nfunction useStyles({\n name,\n classes,\n props,\n stylesCtx,\n className,\n style,\n rootSelector = \"root\",\n unstyled,\n classNames,\n styles,\n vars,\n varsResolver\n}) {\n const theme = useMantineTheme();\n const classNamesPrefix = useMantineClassNamesPrefix();\n const withStaticClasses = useMantineWithStaticClasses();\n const headless = useMantineIsHeadless();\n const themeName = (Array.isArray(name) ? name : [name]).filter((n) => n);\n const { withStylesTransform, getTransformedStyles } = useStylesTransform({\n props,\n stylesCtx,\n themeName\n });\n return (selector, options) => ({\n className: getClassName({\n theme,\n options,\n themeName,\n selector,\n classNamesPrefix,\n classNames,\n classes,\n unstyled,\n className,\n rootSelector,\n props,\n stylesCtx,\n withStaticClasses,\n headless,\n transformedStyles: getTransformedStyles([options?.styles, styles])\n }),\n style: getStyle({\n theme,\n themeName,\n selector,\n options,\n props,\n stylesCtx,\n rootSelector,\n styles,\n style,\n vars,\n varsResolver,\n headless,\n withStylesTransform\n })\n });\n}\n\nexport { useStyles };\n//# sourceMappingURL=use-styles.mjs.map\n"],"names":[],"mappings":";;;;;;;AAaA,SAAS,UAAU;AAAA,EACjB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,eAAe;AAAA,EACf;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,GAAG;AACD,QAAM,QAAQ,gBAAiB;AAC/B,QAAM,mBAAmB,2BAA4B;AACrD,QAAM,oBAAoB,4BAA6B;AACvD,QAAM,WAAW,qBAAsB;AACvC,QAAM,aAAa,MAAM,QAAQ,IAAI,IAAI,OAAO,CAAC,IAAI,GAAG,OAAO,CAAC,MAAM,CAAC;AACvE,QAAM,EAAE,qBAAqB,qBAAsB,IAAG,mBAAmB;AAAA,IACvE;AAAA,IACA;AAAA,IACA;AAAA,EACJ,CAAG;AACD,SAAO,CAAC,UAAU,aAAa;AAAA,IAC7B,WAAW,aAAa;AAAA,MACtB;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA,mBAAmB,qBAAqB,CAAC,mCAAS,QAAQ,MAAM,CAAC;AAAA,IACvE,CAAK;AAAA,IACD,OAAO,SAAS;AAAA,MACd;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,IACD,CAAA;AAAA,EACL;AACA;","x_google_ignoreList":[0]}
@@ -1,34 +0,0 @@
1
- import "react";
2
- import "../../../../../../../_virtual/jsx-runtime.js";
3
- import { useMantineStylesTransform } from "../../MantineProvider/Mantine.context.js";
4
- import { useMantineTheme } from "../../MantineProvider/MantineThemeProvider/MantineThemeProvider.js";
5
- function useStylesTransform({ props, stylesCtx, themeName }) {
6
- var _a;
7
- const theme = useMantineTheme();
8
- const stylesTransform = (_a = useMantineStylesTransform()) == null ? void 0 : _a();
9
- const getTransformedStyles = (styles) => {
10
- if (!stylesTransform) {
11
- return [];
12
- }
13
- const transformedStyles = styles.map(
14
- (style) => stylesTransform(style, { props, theme, ctx: stylesCtx })
15
- );
16
- return [
17
- ...transformedStyles,
18
- ...themeName.map(
19
- (n) => {
20
- var _a2;
21
- return stylesTransform((_a2 = theme.components[n]) == null ? void 0 : _a2.styles, { props, theme, ctx: stylesCtx });
22
- }
23
- )
24
- ].filter(Boolean);
25
- };
26
- return {
27
- getTransformedStyles,
28
- withStylesTransform: !!stylesTransform
29
- };
30
- }
31
- export {
32
- useStylesTransform
33
- };
34
- //# sourceMappingURL=use-transformed-styles.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"use-transformed-styles.js","sources":["../../../../../../../../node_modules/@mantine/core/esm/core/styles-api/use-styles/use-transformed-styles.mjs"],"sourcesContent":["'use client';\nimport 'react';\nimport 'react/jsx-runtime';\nimport '@mantine/hooks';\nimport { useMantineStylesTransform } from '../../MantineProvider/Mantine.context.mjs';\nimport '../../MantineProvider/default-theme.mjs';\nimport '../../MantineProvider/MantineProvider.mjs';\nimport { useMantineTheme } from '../../MantineProvider/MantineThemeProvider/MantineThemeProvider.mjs';\nimport '../../MantineProvider/MantineCssVariables/MantineCssVariables.mjs';\n\nfunction useStylesTransform({ props, stylesCtx, themeName }) {\n const theme = useMantineTheme();\n const stylesTransform = useMantineStylesTransform()?.();\n const getTransformedStyles = (styles) => {\n if (!stylesTransform) {\n return [];\n }\n const transformedStyles = styles.map(\n (style) => stylesTransform(style, { props, theme, ctx: stylesCtx })\n );\n return [\n ...transformedStyles,\n ...themeName.map(\n (n) => stylesTransform(theme.components[n]?.styles, { props, theme, ctx: stylesCtx })\n )\n ].filter(Boolean);\n };\n return {\n getTransformedStyles,\n withStylesTransform: !!stylesTransform\n };\n}\n\nexport { useStylesTransform };\n//# sourceMappingURL=use-transformed-styles.mjs.map\n"],"names":["_a"],"mappings":";;;;AAUA,SAAS,mBAAmB,EAAE,OAAO,WAAW,UAAS,GAAI;;AAC3D,QAAM,QAAQ,gBAAiB;AAC/B,QAAM,mBAAkB,qCAAA;AACxB,QAAM,uBAAuB,CAAC,WAAW;AACvC,QAAI,CAAC,iBAAiB;AACpB,aAAO,CAAE;AAAA,IACf;AACI,UAAM,oBAAoB,OAAO;AAAA,MAC/B,CAAC,UAAU,gBAAgB,OAAO,EAAE,OAAO,OAAO,KAAK,UAAW,CAAA;AAAA,IACnE;AACD,WAAO;AAAA,MACL,GAAG;AAAA,MACH,GAAG,UAAU;AAAA,QACX,CAAC,MAAM;;AAAA,kCAAgBA,MAAA,MAAM,WAAW,CAAC,MAAlB,gBAAAA,IAAqB,QAAQ,EAAE,OAAO,OAAO,KAAK,UAAW,CAAA;AAAA;AAAA,MAC5F;AAAA,IACA,EAAM,OAAO,OAAO;AAAA,EACjB;AACD,SAAO;AAAA,IACL;AAAA,IACA,qBAAqB,CAAC,CAAC;AAAA,EACxB;AACH;","x_google_ignoreList":[0]}
@@ -1,7 +0,0 @@
1
- function camelToKebabCase(value) {
2
- return value.replace(/[A-Z]/g, (letter) => `-${letter.toLowerCase()}`);
3
- }
4
- export {
5
- camelToKebabCase
6
- };
7
- //# sourceMappingURL=camel-to-kebab-case.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"camel-to-kebab-case.js","sources":["../../../../../../../../node_modules/@mantine/core/esm/core/utils/camel-to-kebab-case/camel-to-kebab-case.mjs"],"sourcesContent":["'use client';\nfunction camelToKebabCase(value) {\n return value.replace(/[A-Z]/g, (letter) => `-${letter.toLowerCase()}`);\n}\n\nexport { camelToKebabCase };\n//# sourceMappingURL=camel-to-kebab-case.mjs.map\n"],"names":[],"mappings":"AACA,SAAS,iBAAiB,OAAO;AAC/B,SAAO,MAAM,QAAQ,UAAU,CAAC,WAAW,IAAI,OAAO,YAAa,CAAA,EAAE;AACvE;","x_google_ignoreList":[0]}
@@ -1,12 +0,0 @@
1
- function filterProps(props) {
2
- return Object.keys(props).reduce((acc, key) => {
3
- if (props[key] !== void 0) {
4
- acc[key] = props[key];
5
- }
6
- return acc;
7
- }, {});
8
- }
9
- export {
10
- filterProps
11
- };
12
- //# sourceMappingURL=filter-props.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"filter-props.js","sources":["../../../../../../../../node_modules/@mantine/core/esm/core/utils/filter-props/filter-props.mjs"],"sourcesContent":["'use client';\nfunction filterProps(props) {\n return Object.keys(props).reduce((acc, key) => {\n if (props[key] !== void 0) {\n acc[key] = props[key];\n }\n return acc;\n }, {});\n}\n\nexport { filterProps };\n//# sourceMappingURL=filter-props.mjs.map\n"],"names":[],"mappings":"AACA,SAAS,YAAY,OAAO;AAC1B,SAAO,OAAO,KAAK,KAAK,EAAE,OAAO,CAAC,KAAK,QAAQ;AAC7C,QAAI,MAAM,GAAG,MAAM,QAAQ;AACzB,UAAI,GAAG,IAAI,MAAM,GAAG;AAAA,IAC1B;AACI,WAAO;AAAA,EACR,GAAE,EAAE;AACP;","x_google_ignoreList":[0]}
@@ -1,20 +0,0 @@
1
- import { isNumberLike } from "../is-number-like/is-number-like.js";
2
- import { rem } from "../units-converters/rem.js";
3
- function getSize(size, prefix = "size", convertToRem = true) {
4
- if (size === void 0) {
5
- return void 0;
6
- }
7
- return isNumberLike(size) ? convertToRem ? rem(size) : size : `var(--${prefix}-${size})`;
8
- }
9
- function getFontSize(size) {
10
- return getSize(size, "mantine-font-size");
11
- }
12
- function getLineHeight(size) {
13
- return getSize(size, "mantine-line-height", false);
14
- }
15
- export {
16
- getFontSize,
17
- getLineHeight,
18
- getSize
19
- };
20
- //# sourceMappingURL=get-size.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"get-size.js","sources":["../../../../../../../../node_modules/@mantine/core/esm/core/utils/get-size/get-size.mjs"],"sourcesContent":["'use client';\nimport { isNumberLike } from '../is-number-like/is-number-like.mjs';\nimport { rem } from '../units-converters/rem.mjs';\n\nfunction getSize(size, prefix = \"size\", convertToRem = true) {\n if (size === void 0) {\n return void 0;\n }\n return isNumberLike(size) ? convertToRem ? rem(size) : size : `var(--${prefix}-${size})`;\n}\nfunction getSpacing(size) {\n return getSize(size, \"mantine-spacing\");\n}\nfunction getRadius(size) {\n if (size === void 0) {\n return \"var(--mantine-radius-default)\";\n }\n return getSize(size, \"mantine-radius\");\n}\nfunction getFontSize(size) {\n return getSize(size, \"mantine-font-size\");\n}\nfunction getLineHeight(size) {\n return getSize(size, \"mantine-line-height\", false);\n}\nfunction getShadow(size) {\n if (!size) {\n return void 0;\n }\n return getSize(size, \"mantine-shadow\", false);\n}\n\nexport { getFontSize, getLineHeight, getRadius, getShadow, getSize, getSpacing };\n//# sourceMappingURL=get-size.mjs.map\n"],"names":[],"mappings":";;AAIA,SAAS,QAAQ,MAAM,SAAS,QAAQ,eAAe,MAAM;AAC3D,MAAI,SAAS,QAAQ;AACnB,WAAO;AAAA,EACX;AACE,SAAO,aAAa,IAAI,IAAI,eAAe,IAAI,IAAI,IAAI,OAAO,SAAS,MAAM,IAAI,IAAI;AACvF;AAUA,SAAS,YAAY,MAAM;AACzB,SAAO,QAAQ,MAAM,mBAAmB;AAC1C;AACA,SAAS,cAAc,MAAM;AAC3B,SAAO,QAAQ,MAAM,uBAAuB,KAAK;AACnD;","x_google_ignoreList":[0]}
@@ -1,18 +0,0 @@
1
- function isNumberLike(value) {
2
- if (typeof value === "number") {
3
- return true;
4
- }
5
- if (typeof value === "string") {
6
- if (value.startsWith("calc(") || value.startsWith("var(") || value.includes(" ") && value.trim() !== "") {
7
- return true;
8
- }
9
- const cssUnitsRegex = /^[+-]?[0-9]+(\.[0-9]+)?(px|em|rem|ex|ch|lh|rlh|vw|vh|vmin|vmax|vb|vi|svw|svh|lvw|lvh|dvw|dvh|cm|mm|in|pt|pc|q|cqw|cqh|cqi|cqb|cqmin|cqmax|%)?$/;
10
- const values = value.trim().split(/\s+/);
11
- return values.every((val) => cssUnitsRegex.test(val));
12
- }
13
- return false;
14
- }
15
- export {
16
- isNumberLike
17
- };
18
- //# sourceMappingURL=is-number-like.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"is-number-like.js","sources":["../../../../../../../../node_modules/@mantine/core/esm/core/utils/is-number-like/is-number-like.mjs"],"sourcesContent":["'use client';\nfunction isNumberLike(value) {\n if (typeof value === \"number\") {\n return true;\n }\n if (typeof value === \"string\") {\n if (value.startsWith(\"calc(\") || value.startsWith(\"var(\") || value.includes(\" \") && value.trim() !== \"\") {\n return true;\n }\n const cssUnitsRegex = /^[+-]?[0-9]+(\\.[0-9]+)?(px|em|rem|ex|ch|lh|rlh|vw|vh|vmin|vmax|vb|vi|svw|svh|lvw|lvh|dvw|dvh|cm|mm|in|pt|pc|q|cqw|cqh|cqi|cqb|cqmin|cqmax|%)?$/;\n const values = value.trim().split(/\\s+/);\n return values.every((val) => cssUnitsRegex.test(val));\n }\n return false;\n}\n\nexport { isNumberLike };\n//# sourceMappingURL=is-number-like.mjs.map\n"],"names":[],"mappings":"AACA,SAAS,aAAa,OAAO;AAC3B,MAAI,OAAO,UAAU,UAAU;AAC7B,WAAO;AAAA,EACX;AACE,MAAI,OAAO,UAAU,UAAU;AAC7B,QAAI,MAAM,WAAW,OAAO,KAAK,MAAM,WAAW,MAAM,KAAK,MAAM,SAAS,GAAG,KAAK,MAAM,KAAI,MAAO,IAAI;AACvG,aAAO;AAAA,IACb;AACI,UAAM,gBAAgB;AACtB,UAAM,SAAS,MAAM,KAAI,EAAG,MAAM,KAAK;AACvC,WAAO,OAAO,MAAM,CAAC,QAAQ,cAAc,KAAK,GAAG,CAAC;AAAA,EACxD;AACE,SAAO;AACT;","x_google_ignoreList":[0]}
@@ -1,7 +0,0 @@
1
- function keys(object) {
2
- return Object.keys(object);
3
- }
4
- export {
5
- keys
6
- };
7
- //# sourceMappingURL=keys.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"keys.js","sources":["../../../../../../../../node_modules/@mantine/core/esm/core/utils/keys/keys.mjs"],"sourcesContent":["'use client';\nfunction keys(object) {\n return Object.keys(object);\n}\n\nexport { keys };\n//# sourceMappingURL=keys.mjs.map\n"],"names":[],"mappings":"AACA,SAAS,KAAK,QAAQ;AACpB,SAAO,OAAO,KAAK,MAAM;AAC3B;","x_google_ignoreList":[0]}