maquinaweb-ui 2.68.0 → 2.69.0

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 (177) hide show
  1. package/dist/actions.js +3 -5
  2. package/dist/actions.js.map +1 -1
  3. package/dist/container-animation/container-animation.d.ts +2 -2
  4. package/dist/date-field/DateField.d.ts +2 -2
  5. package/dist/date-field/DateField.d.ts.map +1 -1
  6. package/dist/input-suggest/input-suggest.d.ts +2 -2
  7. package/dist/kanban-dnd/kanban-card-item.d.ts +2 -2
  8. package/dist/kanban-dnd/kanban-dnd-monitor.d.ts +2 -2
  9. package/dist/kanban-dnd/kanban-dropzone.d.ts +2 -2
  10. package/dist/kanban-dnd/kanban-selector.d.ts +2 -2
  11. package/dist/landing-text/client-landing-text.js +2 -3
  12. package/dist/landing-text/client-landing-text.js.map +1 -1
  13. package/dist/landing-text/landing-text.d.ts +2 -2
  14. package/dist/landing-text/landing-text.d.ts.map +1 -1
  15. package/dist/landing-text/server-landing-text.d.ts +2 -2
  16. package/dist/landing-text/server-landing-text.d.ts.map +1 -1
  17. package/dist/remote-selector/remote-selector.d.ts +3 -3
  18. package/dist/text-field/TextField.d.ts +5 -5
  19. package/dist/toggle-field/ToggleGroup.d.ts +2 -2
  20. package/package.json +1 -1
  21. package/dist/_virtual/rolldown_runtime.js +0 -31
  22. package/dist/node_modules/next/cache.js +0 -79
  23. package/dist/node_modules/next/cache.js.map +0 -1
  24. package/dist/node_modules/next/dist/build/output/log.js +0 -119
  25. package/dist/node_modules/next/dist/build/output/log.js.map +0 -1
  26. package/dist/node_modules/next/dist/client/components/app-router-headers.js +0 -119
  27. package/dist/node_modules/next/dist/client/components/app-router-headers.js.map +0 -1
  28. package/dist/node_modules/next/dist/client/components/hooks-server-context.js +0 -41
  29. package/dist/node_modules/next/dist/client/components/hooks-server-context.js.map +0 -1
  30. package/dist/node_modules/next/dist/client/components/static-generation-bailout.js +0 -41
  31. package/dist/node_modules/next/dist/client/components/static-generation-bailout.js.map +0 -1
  32. package/dist/node_modules/next/dist/compiled/@edge-runtime/cookies/index.js +0 -312
  33. package/dist/node_modules/next/dist/compiled/@edge-runtime/cookies/index.js.map +0 -1
  34. package/dist/node_modules/next/dist/compiled/@opentelemetry/api/index.js +0 -1286
  35. package/dist/node_modules/next/dist/compiled/@opentelemetry/api/index.js.map +0 -1
  36. package/dist/node_modules/next/dist/lib/batcher.js +0 -63
  37. package/dist/node_modules/next/dist/lib/batcher.js.map +0 -1
  38. package/dist/node_modules/next/dist/lib/constants.js +0 -325
  39. package/dist/node_modules/next/dist/lib/constants.js.map +0 -1
  40. package/dist/node_modules/next/dist/lib/detached-promise.js +0 -30
  41. package/dist/node_modules/next/dist/lib/detached-promise.js.map +0 -1
  42. package/dist/node_modules/next/dist/lib/framework/boundary-constants.js +0 -36
  43. package/dist/node_modules/next/dist/lib/framework/boundary-constants.js.map +0 -1
  44. package/dist/node_modules/next/dist/lib/picocolors.js +0 -141
  45. package/dist/node_modules/next/dist/lib/picocolors.js.map +0 -1
  46. package/dist/node_modules/next/dist/lib/scheduler.js +0 -49
  47. package/dist/node_modules/next/dist/lib/scheduler.js.map +0 -1
  48. package/dist/node_modules/next/dist/server/app-render/async-local-storage.js +0 -67
  49. package/dist/node_modules/next/dist/server/app-render/async-local-storage.js.map +0 -1
  50. package/dist/node_modules/next/dist/server/app-render/dynamic-rendering.js +0 -763
  51. package/dist/node_modules/next/dist/server/app-render/dynamic-rendering.js.map +0 -1
  52. package/dist/node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js +0 -19
  53. package/dist/node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js.map +0 -1
  54. package/dist/node_modules/next/dist/server/app-render/staged-rendering.js +0 -215
  55. package/dist/node_modules/next/dist/server/app-render/staged-rendering.js.map +0 -1
  56. package/dist/node_modules/next/dist/server/app-render/work-async-storage-instance.js +0 -20
  57. package/dist/node_modules/next/dist/server/app-render/work-async-storage-instance.js.map +0 -1
  58. package/dist/node_modules/next/dist/server/app-render/work-async-storage.external.js +0 -20
  59. package/dist/node_modules/next/dist/server/app-render/work-async-storage.external.js.map +0 -1
  60. package/dist/node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js +0 -20
  61. package/dist/node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js.map +0 -1
  62. package/dist/node_modules/next/dist/server/app-render/work-unit-async-storage.external.js +0 -214
  63. package/dist/node_modules/next/dist/server/app-render/work-unit-async-storage.external.js.map +0 -1
  64. package/dist/node_modules/next/dist/server/base-http/helpers.js +0 -36
  65. package/dist/node_modules/next/dist/server/base-http/helpers.js.map +0 -1
  66. package/dist/node_modules/next/dist/server/client-component-renderer-logger.js +0 -65
  67. package/dist/node_modules/next/dist/server/client-component-renderer-logger.js.map +0 -1
  68. package/dist/node_modules/next/dist/server/dynamic-rendering-utils.js +0 -85
  69. package/dist/node_modules/next/dist/server/dynamic-rendering-utils.js.map +0 -1
  70. package/dist/node_modules/next/dist/server/lib/clone-response.js +0 -55
  71. package/dist/node_modules/next/dist/server/lib/clone-response.js.map +0 -1
  72. package/dist/node_modules/next/dist/server/lib/dedupe-fetch.js +0 -106
  73. package/dist/node_modules/next/dist/server/lib/dedupe-fetch.js.map +0 -1
  74. package/dist/node_modules/next/dist/server/lib/lru-cache.js +0 -179
  75. package/dist/node_modules/next/dist/server/lib/lru-cache.js.map +0 -1
  76. package/dist/node_modules/next/dist/server/lib/patch-fetch.js +0 -703
  77. package/dist/node_modules/next/dist/server/lib/patch-fetch.js.map +0 -1
  78. package/dist/node_modules/next/dist/server/lib/trace/constants.js +0 -186
  79. package/dist/node_modules/next/dist/server/lib/trace/constants.js.map +0 -1
  80. package/dist/node_modules/next/dist/server/lib/trace/tracer.js +0 -229
  81. package/dist/node_modules/next/dist/server/lib/trace/tracer.js.map +0 -1
  82. package/dist/node_modules/next/dist/server/pipe-readable.js +0 -112
  83. package/dist/node_modules/next/dist/server/pipe-readable.js.map +0 -1
  84. package/dist/node_modules/next/dist/server/render-result.js +0 -156
  85. package/dist/node_modules/next/dist/server/render-result.js.map +0 -1
  86. package/dist/node_modules/next/dist/server/request-meta.js +0 -54
  87. package/dist/node_modules/next/dist/server/request-meta.js.map +0 -1
  88. package/dist/node_modules/next/dist/server/response-cache/index.js +0 -255
  89. package/dist/node_modules/next/dist/server/response-cache/index.js.map +0 -1
  90. package/dist/node_modules/next/dist/server/response-cache/types.js +0 -43
  91. package/dist/node_modules/next/dist/server/response-cache/types.js.map +0 -1
  92. package/dist/node_modules/next/dist/server/response-cache/utils.js +0 -100
  93. package/dist/node_modules/next/dist/server/response-cache/utils.js.map +0 -1
  94. package/dist/node_modules/next/dist/server/route-kind.js +0 -38
  95. package/dist/node_modules/next/dist/server/route-kind.js.map +0 -1
  96. package/dist/node_modules/next/dist/server/stream-utils/encoded-tags.js +0 -115
  97. package/dist/node_modules/next/dist/server/stream-utils/encoded-tags.js.map +0 -1
  98. package/dist/node_modules/next/dist/server/stream-utils/node-web-streams-helper.js +0 -635
  99. package/dist/node_modules/next/dist/server/stream-utils/node-web-streams-helper.js.map +0 -1
  100. package/dist/node_modules/next/dist/server/stream-utils/uint8array-helpers.js +0 -58
  101. package/dist/node_modules/next/dist/server/stream-utils/uint8array-helpers.js.map +0 -1
  102. package/dist/node_modules/next/dist/server/use-cache/cache-life.js +0 -140
  103. package/dist/node_modules/next/dist/server/use-cache/cache-life.js.map +0 -1
  104. package/dist/node_modules/next/dist/server/use-cache/cache-tag.js +0 -52
  105. package/dist/node_modules/next/dist/server/use-cache/cache-tag.js.map +0 -1
  106. package/dist/node_modules/next/dist/server/web/error.js +0 -55
  107. package/dist/node_modules/next/dist/server/web/error.js.map +0 -1
  108. package/dist/node_modules/next/dist/server/web/next-url.js +0 -203
  109. package/dist/node_modules/next/dist/server/web/next-url.js.map +0 -1
  110. package/dist/node_modules/next/dist/server/web/spec-extension/adapters/next-request.js +0 -103
  111. package/dist/node_modules/next/dist/server/web/spec-extension/adapters/next-request.js.map +0 -1
  112. package/dist/node_modules/next/dist/server/web/spec-extension/cookies.js +0 -31
  113. package/dist/node_modules/next/dist/server/web/spec-extension/cookies.js.map +0 -1
  114. package/dist/node_modules/next/dist/server/web/spec-extension/request.js +0 -98
  115. package/dist/node_modules/next/dist/server/web/spec-extension/request.js.map +0 -1
  116. package/dist/node_modules/next/dist/server/web/spec-extension/revalidate.js +0 -162
  117. package/dist/node_modules/next/dist/server/web/spec-extension/revalidate.js.map +0 -1
  118. package/dist/node_modules/next/dist/server/web/spec-extension/unstable-cache.js +0 -187
  119. package/dist/node_modules/next/dist/server/web/spec-extension/unstable-cache.js.map +0 -1
  120. package/dist/node_modules/next/dist/server/web/spec-extension/unstable-no-store.js +0 -49
  121. package/dist/node_modules/next/dist/server/web/spec-extension/unstable-no-store.js.map +0 -1
  122. package/dist/node_modules/next/dist/server/web/utils.js +0 -113
  123. package/dist/node_modules/next/dist/server/web/utils.js.map +0 -1
  124. package/dist/node_modules/next/dist/shared/lib/action-revalidation-kind.js +0 -32
  125. package/dist/node_modules/next/dist/shared/lib/action-revalidation-kind.js.map +0 -1
  126. package/dist/node_modules/next/dist/shared/lib/errors/constants.js +0 -24
  127. package/dist/node_modules/next/dist/shared/lib/errors/constants.js.map +0 -1
  128. package/dist/node_modules/next/dist/shared/lib/get-hostname.js +0 -25
  129. package/dist/node_modules/next/dist/shared/lib/get-hostname.js.map +0 -1
  130. package/dist/node_modules/next/dist/shared/lib/hash.js +0 -37
  131. package/dist/node_modules/next/dist/shared/lib/hash.js.map +0 -1
  132. package/dist/node_modules/next/dist/shared/lib/i18n/detect-domain-locale.js +0 -23
  133. package/dist/node_modules/next/dist/shared/lib/i18n/detect-domain-locale.js.map +0 -1
  134. package/dist/node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js +0 -43
  135. package/dist/node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js.map +0 -1
  136. package/dist/node_modules/next/dist/shared/lib/invariant-error.js +0 -24
  137. package/dist/node_modules/next/dist/shared/lib/invariant-error.js.map +0 -1
  138. package/dist/node_modules/next/dist/shared/lib/is-thenable.js +0 -21
  139. package/dist/node_modules/next/dist/shared/lib/is-thenable.js.map +0 -1
  140. package/dist/node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js +0 -36
  141. package/dist/node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js.map +0 -1
  142. package/dist/node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js +0 -21
  143. package/dist/node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js.map +0 -1
  144. package/dist/node_modules/next/dist/shared/lib/promise-with-resolvers.js +0 -31
  145. package/dist/node_modules/next/dist/shared/lib/promise-with-resolvers.js.map +0 -1
  146. package/dist/node_modules/next/dist/shared/lib/router/utils/add-locale.js +0 -31
  147. package/dist/node_modules/next/dist/shared/lib/router/utils/add-locale.js.map +0 -1
  148. package/dist/node_modules/next/dist/shared/lib/router/utils/add-path-prefix.js +0 -25
  149. package/dist/node_modules/next/dist/shared/lib/router/utils/add-path-prefix.js.map +0 -1
  150. package/dist/node_modules/next/dist/shared/lib/router/utils/add-path-suffix.js +0 -25
  151. package/dist/node_modules/next/dist/shared/lib/router/utils/add-path-suffix.js.map +0 -1
  152. package/dist/node_modules/next/dist/shared/lib/router/utils/app-paths.js +0 -52
  153. package/dist/node_modules/next/dist/shared/lib/router/utils/app-paths.js.map +0 -1
  154. package/dist/node_modules/next/dist/shared/lib/router/utils/cache-busting-search-param.js +0 -29
  155. package/dist/node_modules/next/dist/shared/lib/router/utils/cache-busting-search-param.js.map +0 -1
  156. package/dist/node_modules/next/dist/shared/lib/router/utils/format-next-pathname-info.js +0 -33
  157. package/dist/node_modules/next/dist/shared/lib/router/utils/format-next-pathname-info.js.map +0 -1
  158. package/dist/node_modules/next/dist/shared/lib/router/utils/get-next-pathname-info.js +0 -52
  159. package/dist/node_modules/next/dist/shared/lib/router/utils/get-next-pathname-info.js.map +0 -1
  160. package/dist/node_modules/next/dist/shared/lib/router/utils/index.js +0 -33
  161. package/dist/node_modules/next/dist/shared/lib/router/utils/index.js.map +0 -1
  162. package/dist/node_modules/next/dist/shared/lib/router/utils/interception-routes.js +0 -93
  163. package/dist/node_modules/next/dist/shared/lib/router/utils/interception-routes.js.map +0 -1
  164. package/dist/node_modules/next/dist/shared/lib/router/utils/is-dynamic.js +0 -27
  165. package/dist/node_modules/next/dist/shared/lib/router/utils/is-dynamic.js.map +0 -1
  166. package/dist/node_modules/next/dist/shared/lib/router/utils/parse-path.js +0 -33
  167. package/dist/node_modules/next/dist/shared/lib/router/utils/parse-path.js.map +0 -1
  168. package/dist/node_modules/next/dist/shared/lib/router/utils/path-has-prefix.js +0 -25
  169. package/dist/node_modules/next/dist/shared/lib/router/utils/path-has-prefix.js.map +0 -1
  170. package/dist/node_modules/next/dist/shared/lib/router/utils/remove-path-prefix.js +0 -26
  171. package/dist/node_modules/next/dist/shared/lib/router/utils/remove-path-prefix.js.map +0 -1
  172. package/dist/node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.js +0 -21
  173. package/dist/node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.js.map +0 -1
  174. package/dist/node_modules/next/dist/shared/lib/router/utils/sorted-routes.js +0 -168
  175. package/dist/node_modules/next/dist/shared/lib/router/utils/sorted-routes.js.map +0 -1
  176. package/dist/node_modules/next/dist/shared/lib/segment.js +0 -85
  177. package/dist/node_modules/next/dist/shared/lib/segment.js.map +0 -1
package/dist/actions.js CHANGED
@@ -1,14 +1,12 @@
1
1
  'use server';
2
2
 
3
3
 
4
- import { __toESM } from "./_virtual/rolldown_runtime.js";
5
- import { require_cache } from "./node_modules/next/cache.js";
4
+ import { updateTag } from "next/cache";
6
5
 
7
6
  //#region src/components/actions.ts
8
- var import_cache = /* @__PURE__ */ __toESM(require_cache(), 1);
9
7
  async function refreshTag(tag) {
10
- if (Array.isArray(tag)) tag.forEach((t) => (0, import_cache.updateTag)(t));
11
- else (0, import_cache.updateTag)(tag);
8
+ if (Array.isArray(tag)) tag.forEach((t) => updateTag(t));
9
+ else updateTag(tag);
12
10
  }
13
11
 
14
12
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"actions.js","names":[],"sources":["../src/components/actions.ts"],"sourcesContent":["'use server';\n\nimport { updateTag } from 'next/cache';\n\nexport async function refreshTag(tag: string | string[]) {\n if (Array.isArray(tag)) {\n tag.forEach((t) => updateTag(t));\n } else {\n updateTag(tag);\n }\n}\n"],"mappings":";;;;;;;;AAIA,eAAsB,WAAW,KAAwB;AACvD,KAAI,MAAM,QAAQ,IAAI,CACpB,KAAI,SAAS,kCAAgB,EAAE,CAAC;KAEhC,6BAAU,IAAI"}
1
+ {"version":3,"file":"actions.js","names":[],"sources":["../src/components/actions.ts"],"sourcesContent":["'use server';\n\nimport { updateTag } from 'next/cache';\n\nexport async function refreshTag(tag: string | string[]) {\n if (Array.isArray(tag)) {\n tag.forEach((t) => updateTag(t));\n } else {\n updateTag(tag);\n }\n}\n"],"mappings":";;;;;;AAIA,eAAsB,WAAW,KAAwB;AACvD,KAAI,MAAM,QAAQ,IAAI,CACpB,KAAI,SAAS,MAAM,UAAU,EAAE,CAAC;KAEhC,WAAU,IAAI"}
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps, ElementType } from "react";
2
- import * as react_jsx_runtime1 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime0 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/container-animation/container-animation.d.ts
5
5
  type ContainerAnimationProps<T extends ElementType = 'div'> = ComponentProps<'div'> & ComponentProps<T> & {
@@ -23,7 +23,7 @@ declare const ContainerAnimation: <T extends ElementType = "div">({
23
23
  distance,
24
24
  hideNotInView,
25
25
  ...props
26
- }: ContainerAnimationProps<T>) => react_jsx_runtime1.JSX.Element;
26
+ }: ContainerAnimationProps<T>) => react_jsx_runtime0.JSX.Element;
27
27
  //#endregion
28
28
  export { ContainerAnimation, ContainerAnimationProps };
29
29
  //# sourceMappingURL=container-animation.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import { FieldPath, FieldValues, UseControllerProps } from "react-hook-form";
2
- import * as react_jsx_runtime11 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime1 from "react/jsx-runtime";
3
3
  import { Matcher } from "react-day-picker";
4
4
 
5
5
  //#region src/components/date-field/DateField.d.ts
@@ -29,7 +29,7 @@ declare function DateField<TFieldValues extends FieldValues = FieldValues, TFiel
29
29
  required,
30
30
  help,
31
31
  dateOnly
32
- }: DateFieldProps<TFieldValues, TFieldName>): react_jsx_runtime11.JSX.Element;
32
+ }: DateFieldProps<TFieldValues, TFieldName>): react_jsx_runtime1.JSX.Element;
33
33
  //#endregion
34
34
  export { DateField, DateFieldProps };
35
35
  //# sourceMappingURL=DateField.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DateField.d.ts","names":[],"sources":["../../src/components/date-field/DateField.tsx"],"sourcesContent":[],"mappings":";;;;;UA4BiB,oCACM,cAAc,gCAChB,UAAU,gBAAgB,UAAU,uBAC/C,KAAK,mBAAmB,cAAc;;;EAH/B,WAAA,CAAA,EAAA,MAAc;EACR,SAAA,CAAA,EAAA,MAAA;EAAc,QAAA,CAAA,EAOxB,OAPwB,GAOd,OAPc,EAAA,GAAA,SAAA;EACN,aAAA,CAAA,EAAA,OAAA;EAAV,YAAA,CAAA,EAQJ,IARI;EAAoC,QAAA,CAAA,EAS5C,IAT4C;EAAV,QAAA,CAAA,EAAA,OAAA;EACb,IAAA,CAAA,EAAA,MAAA;EAAc;EAAjC,QAAA,CAAA,EAAA,OAAA;;iBAeN,SAVc,CAAA,qBAWA,WAXA,GAWc,WAXd,EAAA,mBAYF,SAZE,CAYQ,YAZR,CAAA,GAYwB,SAZxB,CAYkC,YAZlC,CAAA,CAAA,CAAA;EAAA,IAAA;EAAA,KAAA;EAAA,WAAA;EAAA,aAAA;EAAA,QAAA;EAAA,SAAA;EAAA,QAAA;EAAA,YAAA;EAAA,QAAA;EAAA,IAAA;EAAA;AAAA,CAAA,EAyBpB,cAzBoB,CAyBL,YAzBK,EAyBS,UAzBT,CAAA,CAAA,EAyBoB,mBAAA,CAAA,GAAA,CAAA,OAzBpB"}
1
+ {"version":3,"file":"DateField.d.ts","names":[],"sources":["../../src/components/date-field/DateField.tsx"],"sourcesContent":[],"mappings":";;;;;UA4BiB,oCACM,cAAc,gCAChB,UAAU,gBAAgB,UAAU,uBAC/C,KAAK,mBAAmB,cAAc;;;EAH/B,WAAA,CAAA,EAAA,MAAc;EACR,SAAA,CAAA,EAAA,MAAA;EAAc,QAAA,CAAA,EAOxB,OAPwB,GAOd,OAPc,EAAA,GAAA,SAAA;EACN,aAAA,CAAA,EAAA,OAAA;EAAV,YAAA,CAAA,EAQJ,IARI;EAAoC,QAAA,CAAA,EAS5C,IAT4C;EAAV,QAAA,CAAA,EAAA,OAAA;EACb,IAAA,CAAA,EAAA,MAAA;EAAc;EAAjC,QAAA,CAAA,EAAA,OAAA;;iBAeN,SAVc,CAAA,qBAWA,WAXA,GAWc,WAXd,EAAA,mBAYF,SAZE,CAYQ,YAZR,CAAA,GAYwB,SAZxB,CAYkC,YAZlC,CAAA,CAAA,CAAA;EAAA,IAAA;EAAA,KAAA;EAAA,WAAA;EAAA,aAAA;EAAA,QAAA;EAAA,SAAA;EAAA,QAAA;EAAA,YAAA;EAAA,QAAA;EAAA,IAAA;EAAA;AAAA,CAAA,EAyBpB,cAzBoB,CAyBL,YAzBK,EAyBS,UAzBT,CAAA,CAAA,EAyBoB,kBAAA,CAAA,GAAA,CAAA,OAzBpB"}
@@ -1,7 +1,7 @@
1
1
  import { Mask, Options } from "../src/hooks/with-mask.js";
2
2
  import { FieldPath, FieldValues, UseControllerProps } from "react-hook-form";
3
3
  import { Dispatch, SetStateAction } from "react";
4
- import * as react_jsx_runtime0 from "react/jsx-runtime";
4
+ import * as react_jsx_runtime6 from "react/jsx-runtime";
5
5
  import { PopoverProps } from "@radix-ui/react-popover";
6
6
 
7
7
  //#region src/components/input-suggest/input-suggest.d.ts
@@ -71,7 +71,7 @@ declare function InputSuggest<TFieldValues extends FieldValues = FieldValues, TF
71
71
  debounceTime,
72
72
  maxWait,
73
73
  ...props
74
- }: InputSuggestProps<TFieldValues, TFieldName> & PopoverProps): react_jsx_runtime0.JSX.Element;
74
+ }: InputSuggestProps<TFieldValues, TFieldName> & PopoverProps): react_jsx_runtime6.JSX.Element;
75
75
  //#endregion
76
76
  export { InputSuggest, InputSuggestProps };
77
77
  //# sourceMappingURL=input-suggest.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import { KanbanCardItemProps } from "./types.js";
2
- import * as react_jsx_runtime13 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime16 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/kanban-dnd/kanban-card-item.d.ts
5
5
  declare function KanbanCardItem({
@@ -8,7 +8,7 @@ declare function KanbanCardItem({
8
8
  className,
9
9
  getSelectedCardIds,
10
10
  getSelectableItems
11
- }: KanbanCardItemProps): react_jsx_runtime13.JSX.Element;
11
+ }: KanbanCardItemProps): react_jsx_runtime16.JSX.Element;
12
12
  //#endregion
13
13
  export { KanbanCardItem };
14
14
  //# sourceMappingURL=kanban-card-item.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import { KanbanDndMonitorProps } from "./types.js";
2
- import * as react_jsx_runtime14 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime17 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/kanban-dnd/kanban-dnd-monitor.d.ts
5
5
  declare function KanbanDndMonitor<TColumn>({
@@ -23,7 +23,7 @@ declare function KanbanDndMonitor<TColumn>({
23
23
  isAutoScrollEnabled,
24
24
  renderIdleLayer,
25
25
  className
26
- }: KanbanDndMonitorProps<TColumn>): react_jsx_runtime14.JSX.Element;
26
+ }: KanbanDndMonitorProps<TColumn>): react_jsx_runtime17.JSX.Element;
27
27
  //#endregion
28
28
  export { KanbanDndMonitor };
29
29
  //# sourceMappingURL=kanban-dnd-monitor.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import { KanbanDropZoneProps } from "./types.js";
2
- import * as react_jsx_runtime15 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime18 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/kanban-dnd/kanban-dropzone.d.ts
5
5
  declare function KanbanDropZone({
@@ -7,7 +7,7 @@ declare function KanbanDropZone({
7
7
  id,
8
8
  className,
9
9
  isOverClassName
10
- }: KanbanDropZoneProps): react_jsx_runtime15.JSX.Element;
10
+ }: KanbanDropZoneProps): react_jsx_runtime18.JSX.Element;
11
11
  //#endregion
12
12
  export { KanbanDropZone };
13
13
  //# sourceMappingURL=kanban-dropzone.d.ts.map
@@ -1,12 +1,12 @@
1
1
  import { KanbanSelectorProps } from "./types.js";
2
- import * as react_jsx_runtime16 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime19 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/kanban-dnd/kanban-selector.d.ts
5
5
  declare function KanbanSelector({
6
6
  dragAreaId,
7
7
  autoScrollMargin,
8
8
  ignoredSlots
9
- }: KanbanSelectorProps): react_jsx_runtime16.JSX.Element | null;
9
+ }: KanbanSelectorProps): react_jsx_runtime19.JSX.Element | null;
10
10
  //#endregion
11
11
  export { KanbanSelector };
12
12
  //# sourceMappingURL=kanban-selector.d.ts.map
@@ -32,7 +32,7 @@ async function persistLandingContent(item, value) {
32
32
  if (!baseUrl) return;
33
33
  const token = getCookieValue("token");
34
34
  if (!token || !organization) throw new Error("Credenciais de edição indisponíveis para salvar conteúdo.");
35
- const response = await fetch(`${normalizeBaseUrl(baseUrl)}/landing-page-contents/upsert/`, {
35
+ if (!(await fetch(`${normalizeBaseUrl(baseUrl)}/landing-page-contents/upsert/`, {
36
36
  method: "POST",
37
37
  headers: {
38
38
  "Content-Type": "application/json",
@@ -51,9 +51,8 @@ async function persistLandingContent(item, value) {
51
51
  metadata: item.metadata
52
52
  }),
53
53
  credentials: "include"
54
- });
54
+ })).ok) throw new Error("Nao foi possivel salvar o conteudo.");
55
55
  await refreshTag(`landing-page-content-${item.pageKey}`);
56
- if (!response.ok) throw new Error("Nao foi possivel salvar o conteudo.");
57
56
  }
58
57
  function ClientLandingText({ item, editable, children }) {
59
58
  const [isEditing, setIsEditing] = useState(false);
@@ -1 +1 @@
1
- {"version":3,"file":"client-landing-text.js","names":[],"sources":["../../src/components/landing-text/client-landing-text.tsx"],"sourcesContent":["'use client';\n\nimport { useRef, useState } from 'react';\n\nimport { Slot } from '@radix-ui/react-slot';\nimport { Button } from '../ui/button';\n\nimport { Check, X } from 'lucide-react';\n\nimport { cn } from '@/lib/utils';\nimport { refreshTag } from '../actions';\nimport type { LandingTextItem } from './types';\n\ninterface ClientLandingTextProps {\n item: LandingTextItem;\n editable: boolean;\n children: React.ReactNode;\n}\n\nfunction labelFromKey(value: string) {\n if (!value) {\n return '';\n }\n\n return value\n .split(/[-_\\.]/g)\n .filter(Boolean)\n .map((word) => word.charAt(0).toUpperCase() + word.slice(1))\n .join(' ');\n}\n\nfunction normalizeBaseUrl(baseUrl: string): string {\n return baseUrl.endsWith('/') ? baseUrl.slice(0, -1) : baseUrl;\n}\n\nfunction getCookieValue(name: string): string | undefined {\n if (typeof document === 'undefined') {\n return undefined;\n }\n\n const key = `${encodeURIComponent(name)}=`;\n const cookies = document.cookie ? document.cookie.split('; ') : [];\n\n for (const cookie of cookies) {\n if (!cookie.startsWith(key)) {\n continue;\n }\n\n return decodeURIComponent(cookie.slice(key.length));\n }\n\n return undefined;\n}\n\nasync function persistLandingContent(item: LandingTextItem, value: string) {\n const baseUrl = String(process.env.NEXT_PUBLIC_BASE_URL || '');\n const organization = process.env.NEXT_PUBLIC_ORGANIZATION_ID || '';\n\n if (!baseUrl) {\n return;\n }\n\n const token = getCookieValue('token');\n\n if (!token || !organization) {\n throw new Error(\n 'Credenciais de edição indisponíveis para salvar conteúdo.'\n );\n }\n\n const endpoint = '/landing-page-contents/upsert/';\n const response = await fetch(`${normalizeBaseUrl(baseUrl)}${endpoint}`, {\n method: 'POST',\n headers: {\n 'Content-Type': 'application/json',\n Authorization: `Token ${token}`,\n 'X-Organization': organization,\n },\n body: JSON.stringify({\n page_key: item.pageKey,\n page_title: labelFromKey(item.pageKey),\n section_key: item.sectionKey,\n section_title: labelFromKey(item.sectionKey),\n content_key: item.contentKey,\n content_title: labelFromKey(item.contentKey),\n value,\n default_value: item.defaultValue,\n metadata: item.metadata,\n }),\n credentials: 'include',\n });\n\n await refreshTag(`landing-page-content-${item.pageKey}`);\n\n if (!response.ok) {\n throw new Error('Nao foi possivel salvar o conteudo.');\n }\n}\n\nfunction ClientLandingText({\n item,\n editable,\n children,\n}: ClientLandingTextProps) {\n const [isEditing, setIsEditing] = useState(false);\n const [isSaving, setIsSaving] = useState(false);\n const [currentValue, setCurrentValue] = useState(item.value);\n const [draftValue, setDraftValue] = useState(item.value);\n const ref = useRef<HTMLElement | null>(null);\n\n const handleEdit = (event: React.MouseEvent<HTMLElement>) => {\n if (!editable || isSaving) {\n return;\n }\n\n event.preventDefault();\n event.stopPropagation();\n\n const nextDraft = ref.current?.innerText ?? currentValue;\n setDraftValue(nextDraft);\n setIsEditing(true);\n\n requestAnimationFrame(() => {\n ref.current?.focus();\n });\n };\n\n const handleCancel = () => {\n if (ref.current) {\n ref.current.innerText = currentValue;\n }\n setDraftValue(currentValue);\n setIsEditing(false);\n };\n\n const handleSave = async () => {\n try {\n setIsSaving(true);\n await persistLandingContent(item, draftValue);\n setCurrentValue(draftValue);\n if (ref.current) {\n ref.current.innerText = draftValue;\n }\n setIsEditing(false);\n } finally {\n setIsSaving(false);\n }\n };\n\n const handleInput = (event: React.FormEvent<HTMLElement>) => {\n if (!isEditing) {\n return;\n }\n setDraftValue(event.currentTarget.innerText);\n };\n\n return (\n <div className=\"relative\">\n {editable && isEditing && (\n <div className=\"absolute right-0 z-10 h-fit -top-7 flex\">\n <Button\n className=\"size-6 rounded-none p-0\"\n disabled={isSaving}\n onClick={handleCancel}\n size=\"icon\"\n type=\"button\"\n variant=\"outline\"\n >\n <X />\n </Button>\n <Button\n className=\"size-6 rounded-none p-0\"\n disabled={isSaving}\n onClick={handleSave}\n size=\"icon\"\n type=\"button\"\n >\n <Check />\n </Button>\n </div>\n )}\n\n <Slot\n className={cn(\n 'relative',\n 'after:z-10 after:w-full after:h-full after:absolute after:left-1/2 after:-translate-x-1/2 after:top-1/2 after:-translate-y-1/2 after:box-content after:p-1',\n editable && 'hover:after:border hover:after:border-input',\n isEditing && 'after:border after:border-input',\n isEditing && 'outline-none cursor-text before:bg-red-500',\n !editable && 'after:hidden'\n )}\n contentEditable={editable && isEditing}\n onClick={handleEdit}\n onInput={handleInput}\n ref={ref}\n suppressContentEditableWarning\n >\n {children}\n </Slot>\n </div>\n );\n}\n\nexport { ClientLandingText };\n"],"mappings":";;;;;;;;;;;;AAmBA,SAAS,aAAa,OAAe;AACnC,KAAI,CAAC,MACH,QAAO;AAGT,QAAO,MACJ,MAAM,UAAU,CAChB,OAAO,QAAQ,CACf,KAAK,SAAS,KAAK,OAAO,EAAE,CAAC,aAAa,GAAG,KAAK,MAAM,EAAE,CAAC,CAC3D,KAAK,IAAI;;AAGd,SAAS,iBAAiB,SAAyB;AACjD,QAAO,QAAQ,SAAS,IAAI,GAAG,QAAQ,MAAM,GAAG,GAAG,GAAG;;AAGxD,SAAS,eAAe,MAAkC;AACxD,KAAI,OAAO,aAAa,YACtB;CAGF,MAAM,MAAM,GAAG,mBAAmB,KAAK,CAAC;CACxC,MAAM,UAAU,SAAS,SAAS,SAAS,OAAO,MAAM,KAAK,GAAG,EAAE;AAElE,MAAK,MAAM,UAAU,SAAS;AAC5B,MAAI,CAAC,OAAO,WAAW,IAAI,CACzB;AAGF,SAAO,mBAAmB,OAAO,MAAM,IAAI,OAAO,CAAC;;;AAMvD,eAAe,sBAAsB,MAAuB,OAAe;CACzE,MAAM,UAAU,OAAO,QAAQ,IAAI,wBAAwB,GAAG;CAC9D,MAAM,eAAe,QAAQ,IAAI,+BAA+B;AAEhE,KAAI,CAAC,Q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C,mBAAgB,WAAW;AAC3B,OAAI,IAAI,QACN,KAAI,QAAQ,YAAY;AAE1B,gBAAa,MAAM;YACX;AACR,eAAY,MAAM;;;CAItB,MAAM,eAAe,UAAwC;AAC3D,MAAI,CAAC,UACH;AAEF,gBAAc,MAAM,cAAc,UAAU;;AAG9C,QACE,qBAAC;EAAI,WAAU;aACZ,YAAY,aACX,qBAAC;GAAI,WAAU;cACb,oBAAC;IACC,WAAU;IACV,UAAU;IACV,SAAS;IACT,MAAK;IACL,MAAK;IACL,SAAQ;cAER,oBAAC,MAAI;KACE,EACT,oBAAC;IACC,WAAU;IACV,UAAU;IACV,SAAS;IACT,MAAK;IACL,MAAK;cAEL,oBAAC,UAAQ;KACF;IACL,EAGR,oBAAC;GACC,WAAW,GACT,YACA,8JACA,YAAY,+CACZ,aAAa,mCACb,aAAa,8CACb,CAAC,YAAY,eACd;GACD,iBAAiB,YAAY;GAC7B,SAAS;GACT,SAAS;GACJ;GACL;GAEC;IACI;GACH"}
1
+ {"version":3,"file":"client-landing-text.js","names":[],"sources":["../../src/components/landing-text/client-landing-text.tsx"],"sourcesContent":["'use client';\n\nimport { useRef, useState } from 'react';\n\nimport { Slot } from '@radix-ui/react-slot';\nimport { Button } from '../ui/button';\n\nimport { Check, X } from 'lucide-react';\n\nimport { cn } from '@/lib/utils';\nimport { refreshTag } from '../actions';\nimport type { LandingTextItem } from './types';\n\ninterface ClientLandingTextProps {\n item: LandingTextItem;\n editable: boolean;\n children: React.ReactNode;\n}\n\nfunction labelFromKey(value: string) {\n if (!value) {\n return '';\n }\n\n return value\n .split(/[-_\\.]/g)\n .filter(Boolean)\n .map((word) => word.charAt(0).toUpperCase() + word.slice(1))\n .join(' ');\n}\n\nfunction normalizeBaseUrl(baseUrl: string): string {\n return baseUrl.endsWith('/') ? baseUrl.slice(0, -1) : baseUrl;\n}\n\nfunction getCookieValue(name: string): string | undefined {\n if (typeof document === 'undefined') {\n return undefined;\n }\n\n const key = `${encodeURIComponent(name)}=`;\n const cookies = document.cookie ? document.cookie.split('; ') : [];\n\n for (const cookie of cookies) {\n if (!cookie.startsWith(key)) {\n continue;\n }\n\n return decodeURIComponent(cookie.slice(key.length));\n }\n\n return undefined;\n}\n\nasync function persistLandingContent(item: LandingTextItem, value: string) {\n const baseUrl = String(process.env.NEXT_PUBLIC_BASE_URL || '');\n const organization = process.env.NEXT_PUBLIC_ORGANIZATION_ID || '';\n\n if (!baseUrl) {\n return;\n }\n\n const token = getCookieValue('token');\n\n if (!token || !organization) {\n throw new Error(\n 'Credenciais de edição indisponíveis para salvar conteúdo.'\n );\n }\n\n const endpoint = '/landing-page-contents/upsert/';\n const response = await fetch(`${normalizeBaseUrl(baseUrl)}${endpoint}`, {\n method: 'POST',\n headers: {\n 'Content-Type': 'application/json',\n Authorization: `Token ${token}`,\n 'X-Organization': organization,\n },\n body: JSON.stringify({\n page_key: item.pageKey,\n page_title: labelFromKey(item.pageKey),\n section_key: item.sectionKey,\n section_title: labelFromKey(item.sectionKey),\n content_key: item.contentKey,\n content_title: labelFromKey(item.contentKey),\n value,\n default_value: item.defaultValue,\n metadata: item.metadata,\n }),\n credentials: 'include',\n });\n\n if (!response.ok) {\n throw new Error('Nao foi possivel salvar o conteudo.');\n }\n\n await refreshTag(`landing-page-content-${item.pageKey}`);\n}\n\nfunction ClientLandingText({\n item,\n editable,\n children,\n}: ClientLandingTextProps) {\n const [isEditing, setIsEditing] = useState(false);\n const [isSaving, setIsSaving] = useState(false);\n const [currentValue, setCurrentValue] = useState(item.value);\n const [draftValue, setDraftValue] = useState(item.value);\n const ref = useRef<HTMLElement | null>(null);\n\n const handleEdit = (event: React.MouseEvent<HTMLElement>) => {\n if (!editable || isSaving) {\n return;\n }\n\n event.preventDefault();\n event.stopPropagation();\n\n const nextDraft = ref.current?.innerText ?? currentValue;\n setDraftValue(nextDraft);\n setIsEditing(true);\n\n requestAnimationFrame(() => {\n ref.current?.focus();\n });\n };\n\n const handleCancel = () => {\n if (ref.current) {\n ref.current.innerText = currentValue;\n }\n setDraftValue(currentValue);\n setIsEditing(false);\n };\n\n const handleSave = async () => {\n try {\n setIsSaving(true);\n await persistLandingContent(item, draftValue);\n setCurrentValue(draftValue);\n if (ref.current) {\n ref.current.innerText = draftValue;\n }\n setIsEditing(false);\n } finally {\n setIsSaving(false);\n }\n };\n\n const handleInput = (event: React.FormEvent<HTMLElement>) => {\n if (!isEditing) {\n return;\n }\n setDraftValue(event.currentTarget.innerText);\n };\n\n return (\n <div className=\"relative\">\n {editable && isEditing && (\n <div className=\"absolute right-0 z-10 h-fit -top-7 flex\">\n <Button\n className=\"size-6 rounded-none p-0\"\n disabled={isSaving}\n onClick={handleCancel}\n size=\"icon\"\n type=\"button\"\n variant=\"outline\"\n >\n <X />\n </Button>\n <Button\n className=\"size-6 rounded-none p-0\"\n disabled={isSaving}\n onClick={handleSave}\n size=\"icon\"\n type=\"button\"\n >\n <Check />\n </Button>\n </div>\n )}\n\n <Slot\n className={cn(\n 'relative',\n 'after:z-10 after:w-full after:h-full after:absolute after:left-1/2 after:-translate-x-1/2 after:top-1/2 after:-translate-y-1/2 after:box-content after:p-1',\n editable && 'hover:after:border hover:after:border-input',\n isEditing && 'after:border after:border-input',\n isEditing && 'outline-none cursor-text before:bg-red-500',\n !editable && 'after:hidden'\n )}\n contentEditable={editable && isEditing}\n onClick={handleEdit}\n onInput={handleInput}\n ref={ref}\n suppressContentEditableWarning\n >\n {children}\n </Slot>\n </div>\n );\n}\n\nexport { ClientLandingText };\n"],"mappings":";;;;;;;;;;;;AAmBA,SAAS,aAAa,OAAe;AACnC,KAAI,CAAC,MACH,QAAO;AAGT,QAAO,MACJ,MAAM,UAAU,CAChB,OAAO,QAAQ,CACf,KAAK,SAAS,KAAK,OAAO,EAAE,CAAC,aAAa,GAAG,KAAK,MAAM,EAAE,CAAC,CAC3D,KAAK,IAAI;;AAGd,SAAS,iBAAiB,SAAyB;AACjD,QAAO,QAAQ,SAAS,IAAI,GAAG,QAAQ,MAAM,GAAG,G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K,MAAM;CACxD,MAAM,MAAM,OAA2B,KAAK;CAE5C,MAAM,cAAc,UAAyC;AAC3D,MAAI,CAAC,YAAY,SACf;AAGF,QAAM,gBAAgB;AACtB,QAAM,iBAAiB;AAGvB,gBADkB,IAAI,SAAS,aAAa,aACpB;AACxB,eAAa,KAAK;AAElB,8BAA4B;AAC1B,OAAI,SAAS,OAAO;IACpB;;CAGJ,MAAM,qBAAqB;AACzB,MAAI,IAAI,QACN,KAAI,QAAQ,YAAY;AAE1B,gBAAc,aAAa;AAC3B,eAAa,MAAM;;CAGrB,MAAM,aAAa,YAAY;AAC7B,MAAI;AACF,eAAY,KAAK;AACjB,SAAM,sBAAsB,MAAM,WAAW;AAC7C,mBAAgB,WAAW;AAC3B,OAAI,IAAI,QACN,KAAI,QAAQ,YAAY;AAE1B,gBAAa,MAAM;YACX;AACR,eAAY,MAAM;;;CAItB,MAAM,eAAe,UAAwC;AAC3D,MAAI,CAAC,UACH;AAEF,gBAAc,MAAM,cAAc,UAAU;;AAG9C,QACE,qBAAC;EAAI,WAAU;aACZ,YAAY,aACX,qBAAC;GAAI,WAAU;cACb,oBAAC;IACC,WAAU;IACV,UAAU;IACV,SAAS;IACT,MAAK;IACL,MAAK;IACL,SAAQ;cAER,oBAAC,MAAI;KACE,EACT,oBAAC;IACC,WAAU;IACV,UAAU;IACV,SAAS;IACT,MAAK;IACL,MAAK;cAEL,oBAAC,UAAQ;KACF;IACL,EAGR,oBAAC;GACC,WAAW,GACT,YACA,8JACA,YAAY,+CACZ,aAAa,mCACb,aAAa,8CACb,CAAC,YAAY,eACd;GACD,iBAAiB,YAAY;GAC7B,SAAS;GACT,SAAS;GACJ;GACL;GAEC;IACI;GACH"}
@@ -1,8 +1,8 @@
1
1
  import { LandingTextProps } from "./types.js";
2
- import * as react_jsx_runtime8 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime11 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/landing-text/landing-text.d.ts
5
- declare function LandingText(props: LandingTextProps): Promise<react_jsx_runtime8.JSX.Element>;
5
+ declare function LandingText(props: LandingTextProps): Promise<react_jsx_runtime11.JSX.Element>;
6
6
  //#endregion
7
7
  export { LandingText };
8
8
  //# sourceMappingURL=landing-text.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"landing-text.d.ts","names":[],"sources":["../../src/components/landing-text/landing-text.tsx"],"sourcesContent":[],"mappings":";;;;iBAWe,WAAA,QAAmB,mBAAgB,QAAA,kBAAA,CAAA,GAAA,CAAA,OAAA"}
1
+ {"version":3,"file":"landing-text.d.ts","names":[],"sources":["../../src/components/landing-text/landing-text.tsx"],"sourcesContent":[],"mappings":";;;;iBAWe,WAAA,QAAmB,mBAAgB,QAAA,mBAAA,CAAA,GAAA,CAAA,OAAA"}
@@ -1,5 +1,5 @@
1
1
  import { ServerLandingTextProps } from "./types.js";
2
- import * as react_jsx_runtime2 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime10 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/landing-text/server-landing-text.d.ts
5
5
  declare function ServerLandingText({
@@ -8,7 +8,7 @@ declare function ServerLandingText({
8
8
  className,
9
9
  registration,
10
10
  ...props
11
- }: ServerLandingTextProps): react_jsx_runtime2.JSX.Element;
11
+ }: ServerLandingTextProps): react_jsx_runtime10.JSX.Element;
12
12
  //#endregion
13
13
  export { ServerLandingText };
14
14
  //# sourceMappingURL=server-landing-text.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"server-landing-text.d.ts","names":[],"sources":["../../src/components/landing-text/server-landing-text.tsx"],"sourcesContent":[],"mappings":";;;;iBAGS,iBAAA;MACH;;;;;GAKH,yBAAsB,kBAAA,CAAA,GAAA,CAAA"}
1
+ {"version":3,"file":"server-landing-text.d.ts","names":[],"sources":["../../src/components/landing-text/server-landing-text.tsx"],"sourcesContent":[],"mappings":";;;;iBAGS,iBAAA;MACH;;;;;GAKH,yBAAsB,mBAAA,CAAA,GAAA,CAAA"}
@@ -1,6 +1,6 @@
1
1
  import { SelectorProps } from "../ui/selector.js";
2
2
  import { FieldPath, FieldPathValue, FieldValues, UseControllerProps } from "react-hook-form";
3
- import * as react_jsx_runtime9 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime8 from "react/jsx-runtime";
4
4
  import { Options } from "nuqs";
5
5
 
6
6
  //#region src/components/remote-selector/remote-selector.d.ts
@@ -38,7 +38,7 @@ declare function RemoteSelectorField<T, TFieldValues extends FieldValues = Field
38
38
  ...props
39
39
  }: RemoteSelectorFieldProps<TFieldValues, TFieldName> & BaseRemoteSelectorProps<T> & {
40
40
  withPortal?: boolean;
41
- }): react_jsx_runtime9.JSX.Element;
41
+ }): react_jsx_runtime8.JSX.Element;
42
42
  interface RemoteSelectorQueryProps<T> extends BaseRemoteSelectorProps<T> {
43
43
  name: string;
44
44
  defaultValue?: string;
@@ -58,7 +58,7 @@ declare function RemoteSelectorQuery<T>({
58
58
  fieldLabel,
59
59
  type,
60
60
  ...props
61
- }: RemoteSelectorQueryProps<T>): react_jsx_runtime9.JSX.Element;
61
+ }: RemoteSelectorQueryProps<T>): react_jsx_runtime8.JSX.Element;
62
62
  //#endregion
63
63
  export { BaseRemoteSelectorProps, RemoteSelectorField, RemoteSelectorFieldProps, RemoteSelectorQuery, RemoteSelectorQueryProps, TUseData };
64
64
  //# sourceMappingURL=remote-selector.d.ts.map
@@ -1,6 +1,6 @@
1
1
  import { Options as Options$1 } from "../src/hooks/with-mask.js";
2
2
  import { FieldPath, FieldPathValue, FieldValues, UseControllerProps } from "react-hook-form";
3
- import * as react_jsx_runtime3 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime2 from "react/jsx-runtime";
4
4
  import { Options } from "nuqs";
5
5
 
6
6
  //#region src/components/text-field/TextField.d.ts
@@ -57,7 +57,7 @@ declare function InputText({
57
57
  name,
58
58
  onChange,
59
59
  ...props
60
- }: InputTextProps): react_jsx_runtime3.JSX.Element;
60
+ }: InputTextProps): react_jsx_runtime2.JSX.Element;
61
61
  interface TextFieldProps<TFieldValues extends FieldValues = FieldValues, TFieldName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>> extends UseControllerProps<TFieldValues, TFieldName> {
62
62
  disabled?: boolean;
63
63
  required?: boolean;
@@ -75,7 +75,7 @@ declare function TextField<TFieldValues extends FieldValues = FieldValues, TFiel
75
75
  transform,
76
76
  prefix,
77
77
  ...props
78
- }: TextFieldProps<TFieldValues, TFieldName> & Omit<InputTextProps, 'onChange'>): react_jsx_runtime3.JSX.Element;
78
+ }: TextFieldProps<TFieldValues, TFieldName> & Omit<InputTextProps, 'onChange'>): react_jsx_runtime2.JSX.Element;
79
79
  interface QueryTextFieldProps extends Omit<InputTextProps, 'onChange'> {
80
80
  name: string;
81
81
  defaultValue?: string;
@@ -87,7 +87,7 @@ declare function QueryTextField({
87
87
  defaultValue,
88
88
  options,
89
89
  ...props
90
- }: QueryTextFieldProps): react_jsx_runtime3.JSX.Element;
90
+ }: QueryTextFieldProps): react_jsx_runtime2.JSX.Element;
91
91
  interface CookieTextFieldProps extends InputTextProps {
92
92
  name: string;
93
93
  maxAge?: number;
@@ -97,7 +97,7 @@ declare function CookieTextField({
97
97
  maxAge,
98
98
  onChange,
99
99
  ...inputProps
100
- }: CookieTextFieldProps): react_jsx_runtime3.JSX.Element;
100
+ }: CookieTextFieldProps): react_jsx_runtime2.JSX.Element;
101
101
  //#endregion
102
102
  export { CookieTextField, CookieTextFieldProps, InputText, InputTextProps, QueryTextField, QueryTextFieldProps, TextField, TextFieldProps };
103
103
  //# sourceMappingURL=TextField.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import * as React from "react";
2
- import * as react_jsx_runtime18 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime12 from "react/jsx-runtime";
3
3
  import { Item, Root } from "@radix-ui/react-toggle-group";
4
4
  import { VariantProps } from "class-variance-authority";
5
5
  import * as class_variance_authority_types0 from "class-variance-authority/types";
@@ -28,7 +28,7 @@ declare function ToggleGroup({
28
28
  transition,
29
29
  activeClassName,
30
30
  ...props
31
- }: ToggleGroupProps): react_jsx_runtime18.JSX.Element;
31
+ }: ToggleGroupProps): react_jsx_runtime12.JSX.Element;
32
32
  //#endregion
33
33
  export { ToggleGroup };
34
34
  //# sourceMappingURL=ToggleGroup.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "maquinaweb-ui",
3
- "version": "2.68.0",
3
+ "version": "2.69.0",
4
4
  "description": "A minimal React component library",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -1,31 +0,0 @@
1
- //#region rolldown:runtime
2
- var __create = Object.create;
3
- var __defProp = Object.defineProperty;
4
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
- var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __getProtoOf = Object.getPrototypeOf;
7
- var __hasOwnProp = Object.prototype.hasOwnProperty;
8
- var __commonJS = (cb, mod) => function() {
9
- return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
10
- };
11
- var __copyProps = (to, from, except, desc) => {
12
- if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
13
- key = keys[i];
14
- if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
15
- get: ((k) => from[k]).bind(null, key),
16
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
17
- });
18
- }
19
- return to;
20
- };
21
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
22
- value: mod,
23
- enumerable: true
24
- }) : target, mod));
25
- var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, { get: (a, b) => (typeof require !== "undefined" ? require : a)[b] }) : x)(function(x) {
26
- if (typeof require !== "undefined") return require.apply(this, arguments);
27
- throw Error("Calling `require` for \"" + x + "\" in an environment that doesn't expose the `require` function.");
28
- });
29
-
30
- //#endregion
31
- export { __commonJS, __require, __toESM };
@@ -1,79 +0,0 @@
1
- import { __commonJS } from "../../_virtual/rolldown_runtime.js";
2
- import { require_unstable_cache } from "./dist/server/web/spec-extension/unstable-cache.js";
3
- import { require_revalidate } from "./dist/server/web/spec-extension/revalidate.js";
4
- import { require_unstable_no_store } from "./dist/server/web/spec-extension/unstable-no-store.js";
5
- import { require_cache_life } from "./dist/server/use-cache/cache-life.js";
6
- import { require_cache_tag } from "./dist/server/use-cache/cache-tag.js";
7
-
8
- //#region node_modules/next/cache.js
9
- var require_cache = /* @__PURE__ */ __commonJS({ "node_modules/next/cache.js": ((exports, module) => {
10
- let cacheExports;
11
- if (process.env.NEXT_RUNTIME === "") {
12
- const notAvailableInClient = (name) => {
13
- return function notAvailable() {
14
- throw new Error(`\`${name}\` is only available in a Server Component.`);
15
- };
16
- };
17
- cacheExports = {
18
- unstable_cache: function unstable_cache(cb) {
19
- if (typeof cb !== "function") return cb;
20
- return function cached() {
21
- return cb.apply(this, arguments);
22
- };
23
- },
24
- unstable_noStore: function unstable_noStore() {},
25
- updateTag: notAvailableInClient("updateTag"),
26
- revalidateTag: notAvailableInClient("revalidateTag"),
27
- revalidatePath: notAvailableInClient("revalidatePath"),
28
- refresh: notAvailableInClient("refresh"),
29
- cacheLife: notAvailableInClient("cacheLife"),
30
- cacheTag: notAvailableInClient("cacheTag")
31
- };
32
- } else cacheExports = {
33
- unstable_cache: require_unstable_cache().unstable_cache,
34
- updateTag: require_revalidate().updateTag,
35
- revalidateTag: require_revalidate().revalidateTag,
36
- revalidatePath: require_revalidate().revalidatePath,
37
- refresh: require_revalidate().refresh,
38
- unstable_noStore: require_unstable_no_store().unstable_noStore,
39
- cacheLife: require_cache_life().cacheLife,
40
- cacheTag: require_cache_tag().cacheTag
41
- };
42
- let didWarnCacheLife = false;
43
- function unstable_cacheLife() {
44
- if (!didWarnCacheLife) {
45
- didWarnCacheLife = true;
46
- const error = /* @__PURE__ */ new Error("`unstable_cacheLife` was recently stabilized and should be imported as `cacheLife`. The `unstable` prefixed form will be removed in a future version of Next.js.");
47
- console.error(error);
48
- }
49
- return cacheExports.cacheLife.apply(this, arguments);
50
- }
51
- let didWarnCacheTag = false;
52
- function unstable_cacheTag() {
53
- if (!didWarnCacheTag) {
54
- didWarnCacheTag = true;
55
- const error = /* @__PURE__ */ new Error("`unstable_cacheTag` was recently stabilized and should be imported as `cacheTag`. The `unstable` prefixed form will be removed in a future version of Next.js.");
56
- console.error(error);
57
- }
58
- return cacheExports.cacheTag.apply(this, arguments);
59
- }
60
- cacheExports.unstable_cacheLife = unstable_cacheLife;
61
- cacheExports.unstable_cacheTag = unstable_cacheTag;
62
- module.exports = cacheExports;
63
- exports.unstable_cache = cacheExports.unstable_cache;
64
- exports.revalidatePath = cacheExports.revalidatePath;
65
- exports.revalidateTag = cacheExports.revalidateTag;
66
- exports.updateTag = cacheExports.updateTag;
67
- exports.unstable_noStore = cacheExports.unstable_noStore;
68
- exports.cacheLife = cacheExports.cacheLife;
69
- exports.unstable_cacheLife = cacheExports.unstable_cacheLife;
70
- exports.cacheTag = cacheExports.cacheTag;
71
- exports.unstable_cacheTag = cacheExports.unstable_cacheTag;
72
- exports.refresh = cacheExports.refresh;
73
- }) });
74
-
75
- //#endregion
76
- export default require_cache();
77
-
78
- export { require_cache };
79
- //# sourceMappingURL=cache.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"cache.js","names":[],"sources":["../../../node_modules/next/cache.js"],"sourcesContent":["let cacheExports\n\nif (process.env.NEXT_RUNTIME === '') {\n const notAvailableInClient = (name) => {\n return function notAvailable() {\n throw new Error(`\\`${name}\\` is only available in a Server Component.`)\n }\n }\n\n cacheExports = {\n unstable_cache: function unstable_cache(cb) {\n // Legacy behavior: allow importing/using unstable_cache from client bundles\n // without pulling in server internals.\n if (typeof cb !== 'function') return cb\n return function cached() {\n return cb.apply(this, arguments)\n }\n },\n unstable_noStore: function unstable_noStore() {},\n\n updateTag: notAvailableInClient('updateTag'),\n revalidateTag: notAvailableInClient('revalidateTag'),\n revalidatePath: notAvailableInClient('revalidatePath'),\n refresh: notAvailableInClient('refresh'),\n cacheLife: notAvailableInClient('cacheLife'),\n cacheTag: notAvailableInClient('cacheTag'),\n }\n} else {\n // Keep server requires in this branch so browser builds can DCE them.\n cacheExports = {\n unstable_cache:\n require('next/dist/server/web/spec-extension/unstable-cache')\n .unstable_cache,\n\n updateTag: require('next/dist/server/web/spec-extension/revalidate')\n .updateTag,\n\n revalidateTag: require('next/dist/server/web/spec-extension/revalidate')\n .revalidateTag,\n revalidatePath: require('next/dist/server/web/spec-extension/revalidate')\n .revalidatePath,\n\n refresh: require('next/dist/server/web/spec-extension/revalidate').refresh,\n\n unstable_noStore:\n require('next/dist/server/web/spec-extension/unstable-no-store')\n .unstable_noStore,\n cacheLife: require('next/dist/server/use-cache/cache-life').cacheLife,\n cacheTag: require('next/dist/server/use-cache/cache-tag').cacheTag,\n }\n}\n\nlet didWarnCacheLife = false\nfunction unstable_cacheLife() {\n if (!didWarnCacheLife) {\n didWarnCacheLife = true\n const error = new Error(\n '`unstable_cacheLife` was recently stabilized and should be imported as `cacheLife`. The `unstable` prefixed form will be removed in a future version of Next.js.'\n )\n console.error(error)\n }\n return cacheExports.cacheLife.apply(this, arguments)\n}\n\nlet didWarnCacheTag = false\nfunction unstable_cacheTag() {\n if (!didWarnCacheTag) {\n didWarnCacheTag = true\n const error = new Error(\n '`unstable_cacheTag` was recently stabilized and should be imported as `cacheTag`. The `unstable` prefixed form will be removed in a future version of Next.js.'\n )\n console.error(error)\n }\n return cacheExports.cacheTag.apply(this, arguments)\n}\n\ncacheExports.unstable_cacheLife = unstable_cacheLife\ncacheExports.unstable_cacheTag = unstable_cacheTag\n\n// https://nodejs.org/api/esm.html#commonjs-namespaces\n// When importing CommonJS modules, the module.exports object is provided as the default export\nmodule.exports = cacheExports\n\n// make import { xxx } from 'next/cache' work\nexports.unstable_cache = cacheExports.unstable_cache\nexports.revalidatePath = cacheExports.revalidatePath\nexports.revalidateTag = cacheExports.revalidateTag\nexports.updateTag = cacheExports.updateTag\nexports.unstable_noStore = cacheExports.unstable_noStore\nexports.cacheLife = cacheExports.cacheLife\nexports.unstable_cacheLife = cacheExports.unstable_cacheLife\nexports.cacheTag = cacheExports.cacheTag\nexports.unstable_cacheTag = cacheExports.unstable_cacheTag\nexports.refresh = cacheExports.refresh\n"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;CAAA,IAAI;AAEJ,KAAI,QAAQ,IAAI,iBAAiB,IAAI;EACnC,MAAM,wBAAwB,SAAS;AACrC,UAAO,SAAS,eAAe;AAC7B,UAAM,IAAI,MAAM,KAAK,KAAK,6CAA6C;;;AAI3E,iBAAe;GACb,gBAAgB,SAAS,eAAe,IAAI;AAG1C,QAAI,OAAO,OAAO,WAAY,QAAO;AACrC,WAAO,SAAS,SAAS;AACvB,YAAO,GAAG,MAAM,MAAM,UAAU;;;GAGpC,kBAAkB,SAAS,mBAAmB;GAE9C,WAAW,qBAAqB,YAAY;GAC5C,eAAe,qBAAqB,gBAAgB;GACpD,gBAAgB,qBAAqB,iBAAiB;GACtD,SAAS,qBAAqB,UAAU;GACxC,WAAW,qBAAqB,YAAY;GAC5C,UAAU,qBAAqB,WAAW;GAC3C;OAGD,gBAAe;EACb,yCAEK;EAEL,gCACG;EAEH,oCACG;EACH,qCACG;EAEH,8BAAmE;EAEnE,8CAEK;EACL,gCAA4D;EAC5D,8BAA0D;EAC3D;CAGH,IAAI,mBAAmB;CACvB,SAAS,qBAAqB;AAC5B,MAAI,CAAC,kBAAkB;AACrB,sBAAmB;GACnB,MAAM,wBAAQ,IAAI,MAChB,mKACD;AACD,WAAQ,MAAM,MAAM;;AAEtB,SAAO,aAAa,UAAU,MAAM,MAAM,UAAU;;CAGtD,IAAI,kBAAkB;CACtB,SAAS,oBAAoB;AAC3B,MAAI,CAAC,iBAAiB;AACpB,qBAAkB;GAClB,MAAM,wBAAQ,IAAI,MAChB,iKACD;AACD,WAAQ,MAAM,MAAM;;AAEtB,SAAO,aAAa,SAAS,MAAM,MAAM,UAAU;;AAGrD,cAAa,qBAAqB;AAClC,cAAa,oBAAoB;AAIjC,QAAO,UAAU;AAGjB,SAAQ,iBAAiB,aAAa;AACtC,SAAQ,iBAAiB,aAAa;AACtC,SAAQ,gBAAgB,aAAa;AACrC,SAAQ,YAAY,aAAa;AACjC,SAAQ,mBAAmB,aAAa;AACxC,SAAQ,YAAY,aAAa;AACjC,SAAQ,qBAAqB,aAAa;AAC1C,SAAQ,WAAW,aAAa;AAChC,SAAQ,oBAAoB,aAAa;AACzC,SAAQ,UAAU,aAAa"}
@@ -1,119 +0,0 @@
1
- import { __commonJS } from "../../../../../_virtual/rolldown_runtime.js";
2
- import { require_lru_cache } from "../../server/lib/lru-cache.js";
3
- import { require_picocolors } from "../../lib/picocolors.js";
4
-
5
- //#region node_modules/next/dist/build/output/log.js
6
- var require_log = /* @__PURE__ */ __commonJS({ "node_modules/next/dist/build/output/log.js": ((exports) => {
7
- Object.defineProperty(exports, "__esModule", { value: true });
8
- function _export(target, all) {
9
- for (var name in all) Object.defineProperty(target, name, {
10
- enumerable: true,
11
- get: all[name]
12
- });
13
- }
14
- _export(exports, {
15
- bootstrap: function() {
16
- return bootstrap;
17
- },
18
- error: function() {
19
- return error;
20
- },
21
- errorOnce: function() {
22
- return errorOnce;
23
- },
24
- event: function() {
25
- return event;
26
- },
27
- info: function() {
28
- return info;
29
- },
30
- prefixes: function() {
31
- return prefixes;
32
- },
33
- ready: function() {
34
- return ready;
35
- },
36
- trace: function() {
37
- return trace;
38
- },
39
- wait: function() {
40
- return wait;
41
- },
42
- warn: function() {
43
- return warn;
44
- },
45
- warnOnce: function() {
46
- return warnOnce;
47
- }
48
- });
49
- const _picocolors = require_picocolors();
50
- const _lrucache = require_lru_cache();
51
- const prefixes = {
52
- wait: (0, _picocolors.white)((0, _picocolors.bold)("○")),
53
- error: (0, _picocolors.red)((0, _picocolors.bold)("⨯")),
54
- warn: (0, _picocolors.yellow)((0, _picocolors.bold)("⚠")),
55
- ready: "▲",
56
- info: (0, _picocolors.white)((0, _picocolors.bold)(" ")),
57
- event: (0, _picocolors.green)((0, _picocolors.bold)("✓")),
58
- trace: (0, _picocolors.magenta)((0, _picocolors.bold)("»"))
59
- };
60
- const LOGGING_METHOD = {
61
- log: "log",
62
- warn: "warn",
63
- error: "error"
64
- };
65
- function prefixedLog(prefixType, ...message) {
66
- if ((message[0] === "" || message[0] === void 0) && message.length === 1) message.shift();
67
- const consoleMethod = prefixType in LOGGING_METHOD ? LOGGING_METHOD[prefixType] : "log";
68
- const prefix = prefixes[prefixType];
69
- if (message.length === 0) console[consoleMethod]("");
70
- else if (message.length === 1 && typeof message[0] === "string") console[consoleMethod](prefix + " " + message[0]);
71
- else console[consoleMethod](prefix, ...message);
72
- }
73
- function bootstrap(message) {
74
- console.log(message);
75
- }
76
- function wait(...message) {
77
- prefixedLog("wait", ...message);
78
- }
79
- function error(...message) {
80
- prefixedLog("error", ...message);
81
- }
82
- function warn(...message) {
83
- prefixedLog("warn", ...message);
84
- }
85
- function ready(...message) {
86
- prefixedLog("ready", ...message);
87
- }
88
- function info(...message) {
89
- prefixedLog("info", ...message);
90
- }
91
- function event(...message) {
92
- prefixedLog("event", ...message);
93
- }
94
- function trace(...message) {
95
- prefixedLog("trace", ...message);
96
- }
97
- const warnOnceCache = new _lrucache.LRUCache(1e4, (value) => value.length);
98
- function warnOnce(...message) {
99
- const key = message.join(" ");
100
- if (!warnOnceCache.has(key)) {
101
- warnOnceCache.set(key, key);
102
- warn(...message);
103
- }
104
- }
105
- const errorOnceCache = new _lrucache.LRUCache(1e4, (value) => value.length);
106
- function errorOnce(...message) {
107
- const key = message.join(" ");
108
- if (!errorOnceCache.has(key)) {
109
- errorOnceCache.set(key, key);
110
- error(...message);
111
- }
112
- }
113
- }) });
114
-
115
- //#endregion
116
- export default require_log();
117
-
118
- export { require_log };
119
- //# sourceMappingURL=log.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"log.js","names":[],"sources":["../../../../../../node_modules/next/dist/build/output/log.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n0 && (module.exports = {\n bootstrap: null,\n error: null,\n errorOnce: null,\n event: null,\n info: null,\n prefixes: null,\n ready: null,\n trace: null,\n wait: null,\n warn: null,\n warnOnce: null\n});\nfunction _export(target, all) {\n for(var name in all)Object.defineProperty(target, name, {\n enumerable: true,\n get: all[name]\n });\n}\n_export(exports, {\n bootstrap: function() {\n return bootstrap;\n },\n error: function() {\n return error;\n },\n errorOnce: function() {\n return errorOnce;\n },\n event: function() {\n return event;\n },\n info: function() {\n return info;\n },\n prefixes: function() {\n return prefixes;\n },\n ready: function() {\n return ready;\n },\n trace: function() {\n return trace;\n },\n wait: function() {\n return wait;\n },\n warn: function() {\n return warn;\n },\n warnOnce: function() {\n return warnOnce;\n }\n});\nconst _picocolors = require(\"../../lib/picocolors\");\nconst _lrucache = require(\"../../server/lib/lru-cache\");\nconst prefixes = {\n wait: (0, _picocolors.white)((0, _picocolors.bold)('○')),\n error: (0, _picocolors.red)((0, _picocolors.bold)('⨯')),\n warn: (0, _picocolors.yellow)((0, _picocolors.bold)('⚠')),\n ready: '▲',\n info: (0, _picocolors.white)((0, _picocolors.bold)(' ')),\n event: (0, _picocolors.green)((0, _picocolors.bold)('✓')),\n trace: (0, _picocolors.magenta)((0, _picocolors.bold)('»'))\n};\nconst LOGGING_METHOD = {\n log: 'log',\n warn: 'warn',\n error: 'error'\n};\nfunction prefixedLog(prefixType, ...message) {\n if ((message[0] === '' || message[0] === undefined) && message.length === 1) {\n message.shift();\n }\n const consoleMethod = prefixType in LOGGING_METHOD ? LOGGING_METHOD[prefixType] : 'log';\n const prefix = prefixes[prefixType];\n // If there's no message, don't print the prefix but a new line\n if (message.length === 0) {\n console[consoleMethod]('');\n } else {\n // Ensure if there's ANSI escape codes it's concatenated into one string.\n // Chrome DevTool can only handle color if it's in one string.\n if (message.length === 1 && typeof message[0] === 'string') {\n console[consoleMethod](prefix + ' ' + message[0]);\n } else {\n console[consoleMethod](prefix, ...message);\n }\n }\n}\nfunction bootstrap(message) {\n console.log(message);\n}\nfunction wait(...message) {\n prefixedLog('wait', ...message);\n}\nfunction error(...message) {\n prefixedLog('error', ...message);\n}\nfunction warn(...message) {\n prefixedLog('warn', ...message);\n}\nfunction ready(...message) {\n prefixedLog('ready', ...message);\n}\nfunction info(...message) {\n prefixedLog('info', ...message);\n}\nfunction event(...message) {\n prefixedLog('event', ...message);\n}\nfunction trace(...message) {\n prefixedLog('trace', ...message);\n}\nconst warnOnceCache = new _lrucache.LRUCache(10000, (value)=>value.length);\nfunction warnOnce(...message) {\n const key = message.join(' ');\n if (!warnOnceCache.has(key)) {\n warnOnceCache.set(key, key);\n warn(...message);\n }\n}\nconst errorOnceCache = new _lrucache.LRUCache(10000, (value)=>value.length);\nfunction errorOnce(...message) {\n const key = message.join(' ');\n if (!errorOnceCache.has(key)) {\n errorOnceCache.set(key, key);\n error(...message);\n }\n}\n\n//# sourceMappingURL=log.js.map"],"x_google_ignoreList":[0],"mappings":";;;;;;AACA,QAAO,eAAe,SAAS,cAAc,EACzC,OAAO,MACV,CAAC;CAcF,SAAS,QAAQ,QAAQ,KAAK;AAC1B,OAAI,IAAI,QAAQ,IAAI,QAAO,eAAe,QAAQ,MAAM;GACpD,YAAY;GACZ,KAAK,IAAI;GACZ,CAAC;;AAEN,SAAQ,SAAS;EACb,WAAW,WAAW;AAClB,UAAO;;EAEX,OAAO,WAAW;AACd,UAAO;;EAEX,WAAW,WAAW;AAClB,UAAO;;EAEX,OAAO,WAAW;AACd,UAAO;;EAEX,MAAM,WAAW;AACb,UAAO;;EAEX,UAAU,WAAW;AACjB,UAAO;;EAEX,OAAO,WAAW;AACd,UAAO;;EAEX,OAAO,WAAW;AACd,UAAO;;EAEX,MAAM,WAAW;AACb,UAAO;;EAEX,MAAM,WAAW;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