@next-bricks/form 1.15.6 → 1.15.8

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 (143) hide show
  1. package/dist/bricks.json +20 -25
  2. package/dist/chunks/149.f1ac0885.js +2 -0
  3. package/dist/chunks/149.f1ac0885.js.map +1 -0
  4. package/dist/chunks/4056.48d6bc7f.js +3 -0
  5. package/dist/chunks/4056.48d6bc7f.js.map +1 -0
  6. package/dist/chunks/4185.d0b2dca6.js +3 -0
  7. package/dist/chunks/4185.d0b2dca6.js.map +1 -0
  8. package/dist/chunks/5025.bd76306e.js +3 -0
  9. package/dist/chunks/5025.bd76306e.js.map +1 -0
  10. package/dist/chunks/5026.f93ca6ff.js +3 -0
  11. package/dist/chunks/5026.f93ca6ff.js.map +1 -0
  12. package/dist/chunks/6167.776acd02.js +2 -0
  13. package/dist/chunks/6167.776acd02.js.map +1 -0
  14. package/dist/chunks/7138.32feb41d.js +3 -0
  15. package/dist/chunks/7138.32feb41d.js.map +1 -0
  16. package/dist/chunks/845.2cc8bd81.js +3 -0
  17. package/dist/chunks/845.2cc8bd81.js.map +1 -0
  18. package/dist/chunks/8548.66dd7965.js +2 -0
  19. package/dist/chunks/8548.66dd7965.js.map +1 -0
  20. package/dist/chunks/9126.67a533fb.js +2 -0
  21. package/dist/chunks/9126.67a533fb.js.map +1 -0
  22. package/dist/chunks/eo-auto-complete.3c25ef04.js +3 -0
  23. package/dist/chunks/eo-auto-complete.3c25ef04.js.map +1 -0
  24. package/dist/chunks/eo-checkbox.6fb2afb3.js +2 -0
  25. package/dist/chunks/eo-checkbox.6fb2afb3.js.map +1 -0
  26. package/dist/chunks/eo-color-picker.8711d25d.js +2 -0
  27. package/dist/chunks/{eo-color-picker.0844530a.js.map → eo-color-picker.8711d25d.js.map} +1 -1
  28. package/dist/chunks/eo-date-picker.740508ba.js +2 -0
  29. package/dist/chunks/{eo-date-picker.41f03949.js.map → eo-date-picker.740508ba.js.map} +1 -1
  30. package/dist/chunks/eo-dynamic-form-item.96fdc2f1.js +3 -0
  31. package/dist/chunks/{eo-dynamic-form-item.41874d06.js.map → eo-dynamic-form-item.96fdc2f1.js.map} +1 -1
  32. package/dist/chunks/eo-icon-select.b7ec93c9.js +3 -0
  33. package/dist/chunks/{eo-icon-select.970170f1.js.map → eo-icon-select.b7ec93c9.js.map} +1 -1
  34. package/dist/chunks/eo-radio.f7ea3494.js +3 -0
  35. package/dist/chunks/{eo-radio.6301fbc2.js.map → eo-radio.f7ea3494.js.map} +1 -1
  36. package/dist/chunks/eo-search.11fc357f.js.map +1 -1
  37. package/dist/chunks/eo-select.a43cdd6b.js +3 -0
  38. package/dist/chunks/{eo-select.b16bee73.js.map → eo-select.a43cdd6b.js.map} +1 -1
  39. package/dist/chunks/eo-submit-buttons.7986fcd3.js +2 -0
  40. package/dist/chunks/{eo-submit-buttons.5496d3c7.js.map → eo-submit-buttons.7986fcd3.js.map} +1 -1
  41. package/dist/chunks/eo-switch.445a7cab.js +3 -0
  42. package/dist/chunks/{eo-switch.0a6bccad.js.map → eo-switch.445a7cab.js.map} +1 -1
  43. package/dist/chunks/eo-textarea.7fdd5ac5.js +3 -0
  44. package/dist/chunks/eo-textarea.7fdd5ac5.js.map +1 -0
  45. package/dist/chunks/eo-time-picker.d5e22a7b.js +2 -0
  46. package/dist/chunks/eo-time-picker.d5e22a7b.js.map +1 -0
  47. package/dist/chunks/eo-time-range-picker.bf0932ac.js +2 -0
  48. package/dist/chunks/eo-time-range-picker.bf0932ac.js.map +1 -0
  49. package/dist/chunks/eo-upload-file.794353ba.js +3 -0
  50. package/dist/chunks/{eo-upload-file.71e2b71d.js.map → eo-upload-file.794353ba.js.map} +1 -1
  51. package/dist/chunks/eo-upload-image.50adcd53.js +3 -0
  52. package/dist/chunks/{eo-upload-image.e21c5519.js.map → eo-upload-image.50adcd53.js.map} +1 -1
  53. package/dist/chunks/input.eb21f7c8.js +3 -0
  54. package/dist/chunks/input.eb21f7c8.js.map +1 -0
  55. package/dist/chunks/main.363d8234.js +2 -0
  56. package/dist/chunks/main.363d8234.js.map +1 -0
  57. package/dist/chunks/react.aa821fb3.js +2 -0
  58. package/dist/chunks/{3144.07ed2d7c.js.LICENSE.txt → react.aa821fb3.js.LICENSE.txt} +10 -0
  59. package/dist/examples.json +7 -7
  60. package/dist/index.fa015fd4.js +2 -0
  61. package/dist/index.fa015fd4.js.map +1 -0
  62. package/dist/manifest.json +437 -437
  63. package/dist/types.json +1909 -1909
  64. package/dist-types/bootstrap.d.ts +1 -2
  65. package/dist-types/input/index.d.ts +1 -1
  66. package/dist-types/input.d.ts +2 -0
  67. package/package.json +2 -2
  68. package/dist/chunks/114.9c01e471.js +0 -2
  69. package/dist/chunks/114.9c01e471.js.map +0 -1
  70. package/dist/chunks/1269.2e0b1d4f.js +0 -2
  71. package/dist/chunks/1269.2e0b1d4f.js.map +0 -1
  72. package/dist/chunks/2600.c0a33dd3.js +0 -3
  73. package/dist/chunks/2600.c0a33dd3.js.map +0 -1
  74. package/dist/chunks/3144.07ed2d7c.js +0 -3
  75. package/dist/chunks/3144.07ed2d7c.js.map +0 -1
  76. package/dist/chunks/4021.954d25ce.js +0 -2
  77. package/dist/chunks/4021.954d25ce.js.map +0 -1
  78. package/dist/chunks/4041.48f9b954.js +0 -3
  79. package/dist/chunks/4041.48f9b954.js.LICENSE.txt +0 -9
  80. package/dist/chunks/4041.48f9b954.js.map +0 -1
  81. package/dist/chunks/4114.959be48c.js +0 -3
  82. package/dist/chunks/4114.959be48c.js.map +0 -1
  83. package/dist/chunks/4837.cfc2beca.js +0 -2
  84. package/dist/chunks/4837.cfc2beca.js.map +0 -1
  85. package/dist/chunks/5026.57e689d4.js +0 -3
  86. package/dist/chunks/5026.57e689d4.js.map +0 -1
  87. package/dist/chunks/5582.ce562ee5.js +0 -3
  88. package/dist/chunks/5582.ce562ee5.js.map +0 -1
  89. package/dist/chunks/7218.28ce9ced.js +0 -2
  90. package/dist/chunks/7218.28ce9ced.js.map +0 -1
  91. package/dist/chunks/7507.c1df682a.js +0 -2
  92. package/dist/chunks/7507.c1df682a.js.map +0 -1
  93. package/dist/chunks/7623.8679476e.js +0 -3
  94. package/dist/chunks/7623.8679476e.js.map +0 -1
  95. package/dist/chunks/7733.2ba89833.js +0 -2
  96. package/dist/chunks/7733.2ba89833.js.map +0 -1
  97. package/dist/chunks/8089.a89bbf70.js +0 -3
  98. package/dist/chunks/8089.a89bbf70.js.map +0 -1
  99. package/dist/chunks/eo-auto-complete.4c509c51.js +0 -3
  100. package/dist/chunks/eo-auto-complete.4c509c51.js.map +0 -1
  101. package/dist/chunks/eo-checkbox.70127b39.js +0 -3
  102. package/dist/chunks/eo-checkbox.70127b39.js.map +0 -1
  103. package/dist/chunks/eo-color-picker.0844530a.js +0 -2
  104. package/dist/chunks/eo-date-picker.41f03949.js +0 -2
  105. package/dist/chunks/eo-dynamic-form-item.41874d06.js +0 -3
  106. package/dist/chunks/eo-form-item.c9ec824e.js +0 -3
  107. package/dist/chunks/eo-form-item.c9ec824e.js.map +0 -1
  108. package/dist/chunks/eo-icon-select.970170f1.js +0 -3
  109. package/dist/chunks/eo-input.acaa31a6.js +0 -3
  110. package/dist/chunks/eo-input.acaa31a6.js.map +0 -1
  111. package/dist/chunks/eo-radio.6301fbc2.js +0 -3
  112. package/dist/chunks/eo-select.b16bee73.js +0 -3
  113. package/dist/chunks/eo-submit-buttons.5496d3c7.js +0 -2
  114. package/dist/chunks/eo-switch.0a6bccad.js +0 -3
  115. package/dist/chunks/eo-textarea.5d3daa42.js +0 -2
  116. package/dist/chunks/eo-textarea.5d3daa42.js.map +0 -1
  117. package/dist/chunks/eo-time-picker.37e38cc9.js +0 -2
  118. package/dist/chunks/eo-time-picker.37e38cc9.js.map +0 -1
  119. package/dist/chunks/eo-time-range-picker.cdf65c87.js +0 -2
  120. package/dist/chunks/eo-time-range-picker.cdf65c87.js.map +0 -1
  121. package/dist/chunks/eo-upload-file.71e2b71d.js +0 -3
  122. package/dist/chunks/eo-upload-image.e21c5519.js +0 -3
  123. package/dist/chunks/eo-upload-image.e21c5519.js.LICENSE.txt +0 -5
  124. package/dist/chunks/main.5222a0c7.js +0 -2
  125. package/dist/chunks/main.5222a0c7.js.map +0 -1
  126. package/dist/index.8994d83b.js +0 -2
  127. package/dist/index.8994d83b.js.map +0 -1
  128. /package/dist/chunks/{4114.959be48c.js.LICENSE.txt → 4056.48d6bc7f.js.LICENSE.txt} +0 -0
  129. /package/dist/chunks/{5582.ce562ee5.js.LICENSE.txt → 4185.d0b2dca6.js.LICENSE.txt} +0 -0
  130. /package/dist/chunks/{2600.c0a33dd3.js.LICENSE.txt → 5025.bd76306e.js.LICENSE.txt} +0 -0
  131. /package/dist/chunks/{5026.57e689d4.js.LICENSE.txt → 5026.f93ca6ff.js.LICENSE.txt} +0 -0
  132. /package/dist/chunks/{7623.8679476e.js.LICENSE.txt → 7138.32feb41d.js.LICENSE.txt} +0 -0
  133. /package/dist/chunks/{8089.a89bbf70.js.LICENSE.txt → 845.2cc8bd81.js.LICENSE.txt} +0 -0
  134. /package/dist/chunks/{eo-auto-complete.4c509c51.js.LICENSE.txt → eo-auto-complete.3c25ef04.js.LICENSE.txt} +0 -0
  135. /package/dist/chunks/{eo-checkbox.70127b39.js.LICENSE.txt → eo-dynamic-form-item.96fdc2f1.js.LICENSE.txt} +0 -0
  136. /package/dist/chunks/{eo-dynamic-form-item.41874d06.js.LICENSE.txt → eo-icon-select.b7ec93c9.js.LICENSE.txt} +0 -0
  137. /package/dist/chunks/{eo-form-item.c9ec824e.js.LICENSE.txt → eo-radio.f7ea3494.js.LICENSE.txt} +0 -0
  138. /package/dist/chunks/{eo-icon-select.970170f1.js.LICENSE.txt → eo-select.a43cdd6b.js.LICENSE.txt} +0 -0
  139. /package/dist/chunks/{eo-input.acaa31a6.js.LICENSE.txt → eo-switch.445a7cab.js.LICENSE.txt} +0 -0
  140. /package/dist/chunks/{eo-radio.6301fbc2.js.LICENSE.txt → eo-textarea.7fdd5ac5.js.LICENSE.txt} +0 -0
  141. /package/dist/chunks/{eo-select.b16bee73.js.LICENSE.txt → eo-upload-file.794353ba.js.LICENSE.txt} +0 -0
  142. /package/dist/chunks/{eo-switch.0a6bccad.js.LICENSE.txt → eo-upload-image.50adcd53.js.LICENSE.txt} +0 -0
  143. /package/dist/chunks/{eo-upload-file.71e2b71d.js.LICENSE.txt → input.eb21f7c8.js.LICENSE.txt} +0 -0
@@ -1,7 +1,6 @@
1
- import "./input/index.js";
1
+ import "./input.js";
2
2
  import "./textarea/index.js";
3
3
  import "./form/index.js";
4
- import "./form-item/index.js";
5
4
  import "./radio/index.js";
6
5
  import "./select/index.js";
7
6
  import "./submit-buttons/index.js";
@@ -1,7 +1,7 @@
1
1
  import React, { type CSSProperties } from "react";
2
2
  import "@next-core/theme";
3
3
  import { FormItemElementBase, MessageBody } from "@next-shared/form";
4
- import { FormItemProps } from "../form-item/index.jsx";
4
+ import type { FormItemProps } from "../form-item/index.jsx";
5
5
  import { ComponentSize, InputType } from "../interface.js";
6
6
  export interface InputProps extends FormItemProps {
7
7
  value?: string;
@@ -0,0 +1,2 @@
1
+ import "./input/index.js";
2
+ import "./form-item/index.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next-bricks/form",
3
- "version": "1.15.6",
3
+ "version": "1.15.8",
4
4
  "homepage": "https://github.com/easyops-cn/next-advanced-bricks/tree/master/bricks/form",
5
5
  "repository": {
6
6
  "type": "git",
@@ -44,5 +44,5 @@
44
44
  "@next-bricks/icons": "*",
45
45
  "@next-bricks/illustrations": "*"
46
46
  },
47
- "gitHead": "fc3f65ad13d569a7d95dac05da00f993d595aebf"
47
+ "gitHead": "3aa6f184a46771bdf760310762fa1ac52e7aeea3"
48
48
  }
@@ -1,2 +0,0 @@
1
- "use strict";(globalThis.webpackChunk_next_bricks_form=globalThis.webpackChunk_next_bricks_form||[]).push([[114,7733],{5873:(t,e,n)=>{var r=n(9435);e.H=r.createRoot,r.hydrateRoot},2559:(t,e,n)=>{function r(t,e,n){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:n;throw new TypeError("Private element is not present on this object")}n.d(e,{A:()=>r})},2016:(t,e,n)=>{function r(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}n.d(e,{A:()=>r})},829:(t,e,n)=>{n.d(e,{A:()=>s});var r=n(2559);function s(t,e){return t.get((0,r.A)(t,e))}},918:(t,e,n)=>{n.d(e,{A:()=>s});var r=n(2016);function s(t,e,n){(0,r.A)(t,e),e.set(t,n)}},6121:(t,e,n)=>{n.d(e,{A:()=>s});var r=n(2559);function s(t,e,n){return t.set((0,r.A)(t,e),n),n}},4635:(t,e,n)=>{n.d(e,{A:()=>s});var r=n(2016);function s(t,e){(0,r.A)(t,e),e.add(t)}},9575:(t,e,n)=>{function r(){return r=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},r.apply(this,arguments)}n.d(e,{A:()=>r})},114:(t,e,n)=>{n.r(e),n.d(e,{ReactNextElement:()=>p,wrapBrick:()=>v,wrapLocalBrick:()=>y});var r=n(4635),s=n(918),o=n(2559),i=n(6121),c=n(829),a=n(8769),l=n(5873),h=n(9435),d=n(1123),u=new WeakMap,f=new WeakSet;class p extends d.NextElement{constructor(){super(...arguments),(0,r.A)(this,f),(0,s.A)(this,u,void 0)}connectedCallback(){super._markConnectedCallbackCalled(),(0,o.A)(f,this,A).call(this),this._render()}disconnectedCallback(){var t;null===(t=(0,c.A)(u,this))||void 0===t||t.render(null)}_render(){const t=()=>{if(!this.isConnected||!(0,c.A)(u,this))return;const t=this.constructor;var e;t.shadowOptions?(0,c.A)(u,this).render((0,d.supportsAdoptingStyleSheets)()||null===(e=t.styleTexts)||void 0===e||!e.length?this.render():a.createElement(a.Fragment,null,a.createElement("style",null,t.styleTexts.join("\n")),this.render())):(0,c.A)(u,this).render(this.render())};window.BRICK_NEXT_VERSIONS&&!window.DISABLE_REACT_FLUSH_SYNC?(0,h.flushSync)(t):t()}}function A(){if((0,c.A)(u,this))return;const t=this.constructor;if(t.shadowOptions){const n=this.attachShadow(t.shadowOptions);var e;if((0,d.supportsAdoptingStyleSheets)()&&null!==(e=t.styleTexts)&&void 0!==e&&e.length){const e=new CSSStyleSheet;e.replaceSync(t.styleTexts.join("")),n.adoptedStyleSheets=[e]}(0,i.A)(u,this,(0,l.H)(n))}else(0,i.A)(u,this,(0,l.H)(this))}var w=n(9575);function y(t,e){return(0,a.forwardRef)((function(n,r){let{children:s,...o}=n;const i="string"==typeof t?t:t.__tagName,c=S(o,e);return a.createElement(i,(0,w.A)({},c,{ref:r}),s)}))}function v(t,e){return(0,a.forwardRef)((function(n,r){let{children:s,...o}=n;const i=S(o,e);return a.createElement(t,(0,w.A)({},i,{ref:r}),s)}))}function S(t,e){let n;if(e){n={};for(const[r,s]of Object.entries(t))Object.prototype.hasOwnProperty.call(e,r)?n[`on${e[r]}`]=s:n[r]=s}else n=t;return n}}}]);
2
- //# sourceMappingURL=114.9c01e471.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"chunks/114.9c01e471.js","mappings":"0IAEIA,EAAI,EAAQ,MAEdC,EAAQ,EAAaD,EAAEE,WACDF,EAAEG,W,iBCLX,SAASC,EAAkBC,EAAGC,EAAGC,GAC9C,GAAI,mBAAqBF,EAAIA,IAAMC,EAAID,EAAEG,IAAIF,GAAI,OAAOG,UAAUC,OAAS,EAAIJ,EAAIC,EACnF,MAAM,IAAII,UAAU,gDACtB,C,iCCHe,SAASC,EAA2BC,EAAKC,GACtD,GAAIA,EAAkBN,IAAIK,GACxB,MAAM,IAAIF,UAAU,iEAExB,C,+DCHe,SAASI,EAAuBC,EAAGC,GAChD,OAAOD,EAAEE,KAAI,OAAiBF,EAAGC,GACnC,C,+CCFe,SAASE,EAA2BN,EAAKO,EAAYC,IAClE,OAA0BR,EAAKO,GAC/BA,EAAW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AAUC,eAAeC,KAAKqC,EAAea,GACtDL,EAAW,KAAKR,EAAca,MAAeC,EAE7CN,EAAWK,GAAYC,CAG7B,MACEN,EAAaH,EAEf,OAAOG,CACT,C","sources":["webpack:///../../node_modules/react-dom/client.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/assertClassBrand.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/checkPrivateRedeclaration.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet2.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/classPrivateFieldInitSpec.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet2.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/classPrivateMethodInitSpec.js","webpack:///../../node_modules/@babel/runtime/helpers/esm/extends.js","webpack:///../../node_modules/@next-core/react-element/dist/esm/ReactNextElement.js","webpack:///../../node_modules/@next-core/react-element/dist/esm/wrapBrick.js"],"sourcesContent":["'use strict';\n\nvar m = require('react-dom');\nif (process.env.NODE_ENV === 'production') {\n exports.createRoot = m.createRoot;\n exports.hydrateRoot = m.hydrateRoot;\n} else {\n var i = m.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;\n exports.createRoot = function(c, o) {\n i.usingClientEntryPoint = true;\n try {\n return m.createRoot(c, o);\n } finally {\n i.usingClientEntryPoint = false;\n }\n };\n exports.hydrateRoot = function(c, h, o) {\n i.usingClientEntryPoint = true;\n try {\n return m.hydrateRoot(c, h, o);\n } finally {\n i.usingClientEntryPoint = false;\n }\n };\n}\n","export default function _assertClassBrand(e, t, n) {\n if (\"function\" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n;\n throw new TypeError(\"Private element is not present on this object\");\n}","export default function _checkPrivateRedeclaration(obj, privateCollection) {\n if (privateCollection.has(obj)) {\n throw new TypeError(\"Cannot initialize the same private elements twice on an object\");\n }\n}","import assertClassBrand from \"./assertClassBrand.js\";\nexport default function _classPrivateFieldGet2(s, a) {\n return s.get(assertClassBrand(s, a));\n}","import checkPrivateRedeclaration from \"./checkPrivateRedeclaration.js\";\nexport default function _classPrivateFieldInitSpec(obj, privateMap, value) {\n checkPrivateRedeclaration(obj, privateMap);\n privateMap.set(obj, value);\n}","import assertClassBrand from \"./assertClassBrand.js\";\nexport default function _classPrivateFieldSet2(s, a, r) {\n return s.set(assertClassBrand(s, a), r), r;\n}","import checkPrivateRedeclaration from \"./checkPrivateRedeclaration.js\";\nexport default function _classPrivateMethodInitSpec(obj, privateSet) {\n checkPrivateRedeclaration(obj, privateSet);\n privateSet.add(obj);\n}","export default function _extends() {\n _extends = Object.assign ? Object.assign.bind() : function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n return target;\n };\n return _extends.apply(this, arguments);\n}","import _classPrivateMethodInitSpec from \"@babel/runtime/helpers/classPrivateMethodInitSpec\";\nimport _classPrivateFieldInitSpec from \"@babel/runtime/helpers/classPrivateFieldInitSpec\";\nimport _assertClassBrand from \"@babel/runtime/helpers/assertClassBrand\";\nimport _classPrivateFieldSet from \"@babel/runtime/helpers/classPrivateFieldSet2\";\nimport _classPrivateFieldGet from \"@babel/runtime/helpers/classPrivateFieldGet2\";\nvar _ReactNextElement;\nimport React from \"react\";\nimport { createRoot } from \"react-dom/client\";\nimport { flushSync } from \"react-dom\";\nimport { NextElement, supportsAdoptingStyleSheets } from \"@next-core/element\";\nvar _root = /*#__PURE__*/new WeakMap();\nvar _ReactNextElement_brand = /*#__PURE__*/new WeakSet();\nexport class ReactNextElement extends NextElement {\n constructor() {\n super(...arguments);\n _classPrivateMethodInitSpec(this, _ReactNextElement_brand);\n _classPrivateFieldInitSpec(this, _root, void 0);\n }\n connectedCallback() {\n super._markConnectedCallbackCalled();\n _assertClassBrand(_ReactNextElement_brand, this, _createRoot).call(this);\n this._render();\n }\n disconnectedCallback() {\n var _classPrivateFieldGet2;\n (_classPrivateFieldGet2 = _classPrivateFieldGet(_root, this)) === null || _classPrivateFieldGet2 === void 0 || _classPrivateFieldGet2.render(null);\n }\n _render() {\n const render = () => {\n if (!this.isConnected || !_classPrivateFieldGet(_root, this)) {\n return;\n }\n const ctor = this.constructor;\n if (ctor.shadowOptions) {\n var _ctor$styleTexts;\n _classPrivateFieldGet(_root, this).render(supportsAdoptingStyleSheets() || !((_ctor$styleTexts = ctor.styleTexts) !== null && _ctor$styleTexts !== void 0 && _ctor$styleTexts.length) ? this.render() : /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(\"style\", null, ctor.styleTexts.join(\"\\n\")), this.render()));\n } else {\n _classPrivateFieldGet(_root, this).render(this.render());\n }\n };\n\n // In brick next container, enable flush sync for the initial mount of\n // each page, in order to avoid menu flickering.\n // Otherwise, avoid using flush sync as possible.\n if (window.BRICK_NEXT_VERSIONS && !window.DISABLE_REACT_FLUSH_SYNC) {\n flushSync(render);\n } else {\n render();\n }\n }\n}\n_ReactNextElement = ReactNextElement;\nfunction _createRoot() {\n if (_classPrivateFieldGet(_root, this)) {\n return;\n }\n const ctor = this.constructor;\n if (ctor.shadowOptions) {\n const shadowRoot = this.attachShadow(ctor.shadowOptions);\n if (supportsAdoptingStyleSheets()) {\n var _ctor$styleTexts2;\n if ((_ctor$styleTexts2 = ctor.styleTexts) !== null && _ctor$styleTexts2 !== void 0 && _ctor$styleTexts2.length) {\n const styleSheet = new CSSStyleSheet();\n styleSheet.replaceSync(ctor.styleTexts.join(\"\"));\n shadowRoot.adoptedStyleSheets = [styleSheet];\n }\n }\n _classPrivateFieldSet(_root, this, createRoot(shadowRoot));\n } else {\n var _ctor$styleTexts3;\n if (process.env.NODE_ENV !== \"production\" && (_ctor$styleTexts3 = ctor.styleTexts) !== null && _ctor$styleTexts3 !== void 0 && _ctor$styleTexts3.length) {\n throw new Error(\"Use `styleTexts` with `shadowOptions: false` is not supported\");\n }\n _classPrivateFieldSet(_root, this, createRoot(this));\n }\n}\n//# sourceMappingURL=ReactNextElement.js.map","import _extends from \"@babel/runtime/helpers/extends\";\nimport React, { forwardRef } from \"react\";\nexport function wrapLocalBrick(brick, eventsMapping) {\n // istanbul ignore next\n if (process.env.NODE_ENV === \"development\") {\n if (typeof brick === \"string\" && !customElements.get(brick)) {\n throw new Error(`Brick ${brick} is not defined while using \\`wrapLocalBrick\\`.`);\n }\n }\n return /*#__PURE__*/forwardRef(function BrickReactWrapper(_ref, ref) {\n let {\n children,\n ...props\n } = _ref;\n const WebComponent = typeof brick === \"string\" ? brick : brick.__tagName;\n const properties = getMappedProperties(props, eventsMapping);\n return /*#__PURE__*/React.createElement(WebComponent, _extends({}, properties, {\n ref: ref\n }), children);\n });\n}\nexport function wrapBrick(BrickName, eventsMapping) {\n return /*#__PURE__*/forwardRef(function BrickReactWrapper(_ref2, ref) {\n let {\n children,\n ...props\n } = _ref2;\n const properties = getMappedProperties(props, eventsMapping);\n return /*#__PURE__*/React.createElement(BrickName, _extends({}, properties, {\n ref: ref\n }), children);\n });\n}\nfunction getMappedProperties(props, eventsMapping) {\n let properties;\n if (eventsMapping) {\n properties = {};\n for (const [propName, propValue] of Object.entries(props)) {\n if (Object.prototype.hasOwnProperty.call(eventsMapping, propName)) {\n properties[`on${eventsMapping[propName]}`] = propValue;\n } else {\n properties[propName] = propValue;\n }\n }\n } else {\n properties = props;\n }\n return properties;\n}\n//# sourceMappingURL=wrapBrick.js.map"],"names":["m","exports","createRoot","hydrateRoot","_assertClassBrand","e","t","n","has","arguments","length","TypeError","_checkPrivateRedeclaration","obj","privateCollection","_classPrivateFieldGet2","s","a","get","_classPrivateFieldInitSpec","privateMap","value","set","_classPrivateFieldSet2","r","_classPrivateMethodInitSpec","privateSet","add","_extends","Object","assign","bind","target","i","source","key","prototype","hasOwnProperty","call","apply","this","_root","WeakMap","_ReactNextElement_brand","WeakSet","ReactNextElement","NextElement","constructor","super","connectedCallback","_markConnectedCallbackCalled","_createRoot","_render","disconnectedCallback","render","isConnected","ctor","_ctor$styleTexts","shadowOptions","supportsAdoptingStyleSheets","styleTexts","join","window","BRICK_NEXT_VERSIONS","DISABLE_REACT_FLUSH_SYNC","flushSync","shadowRoot","attachShadow","_ctor$styleTexts2","styleSheet","CSSStyleSheet","replaceSync","adoptedStyleSheets","wrapLocalBrick","brick","eventsMapping","forwardRef","_ref","ref","children","props","WebComponent","__tagName","properties","getMappedProperties","wrapBrick","BrickName","_ref2","propName","propValue","entries"],"sourceRoot":""}
@@ -1,2 +0,0 @@
1
- "use strict";(globalThis.webpackChunk_next_bricks_form=globalThis.webpackChunk_next_bricks_form||[]).push([[1269],{1173:(l,m,o)=>{function t(l,m){let o="";return l&&"horizontal"===m?(l.span&&(o+=`form-item-col-${l.span} `),l.offset&&(o+=`form-item-col-offset-${l.offset} `),["sm","md","lg","xl","xxl"].forEach((m=>{const t=l[m];t&&(["number","string"].includes(typeof t)?o+=`form-item-col-${m}-${t} `:(t.span&&(o+=`form-item-col-${m}-${t.span} `),t.offset&&(o+=`form-item-col-${m}-offset-${t.offset} `)))})),o):o}function e(l,m){var o,t;let e,f;var i;"number"==typeof m||"string"==typeof m?(e=m,f=0):(e=m.span,f=+(null!==(i=m.offset)&&void 0!==i?i:0));let r=("number"==typeof l||"string"==typeof l?+l:+(null!==(o=l.span)&&void 0!==o?o:0)+ +(null!==(t=l.offset)&&void 0!==t?t:0))+f;return+e+r>24&&(r=f),{span:e,offset:r}}function f(l,m){return void 0!==m.span?e(l,m):Object.fromEntries(Object.entries(m).map((m=>{let[o,t]=m;return[o,e(l[o],t)]})))}o.d(m,{ht:()=>t,uj:()=>f})},1248:(l,m,o)=>{o.d(m,{A:()=>r});var t=o(6758),e=o.n(t),f=o(935),i=o.n(f)()(e());i.push([l.id,'.form-item-col-24{display:block;flex:0 0 100%;max-width:100%}.form-item-col-offset-24{margin-left:100%}.form-item-col-23{display:block;flex:0 0 95.83333333%;max-width:95.83333333%}.form-item-col-offset-23{margin-left:95.83333333%}.form-item-col-22{display:block;flex:0 0 91.66666667%;max-width:91.66666667%}.form-item-col-offset-22{margin-left:91.66666667%}.form-item-col-21{display:block;flex:0 0 87.5%;max-width:87.5%}.form-item-col-offset-21{margin-left:87.5%}.form-item-col-20{display:block;flex:0 0 83.33333333%;max-width:83.33333333%}.form-item-col-offset-20{margin-left:83.33333333%}.form-item-col-19{display:block;flex:0 0 79.16666667%;max-width:79.16666667%}.form-item-col-offset-19{margin-left:79.16666667%}.form-item-col-18{display:block;flex:0 0 75%;max-width:75%}.form-item-col-offset-18{margin-left:75%}.form-item-col-17{display:block;flex:0 0 70.83333333%;max-width:70.83333333%}.form-item-col-offset-17{margin-left:70.83333333%}.form-item-col-16{display:block;flex:0 0 66.66666667%;max-width:66.66666667%}.form-item-col-offset-16{margin-left:66.66666667%}.form-item-col-15{display:block;flex:0 0 62.5%;max-width:62.5%}.form-item-col-offset-15{margin-left:62.5%}.form-item-col-14{display:block;flex:0 0 58.33333333%;max-width:58.33333333%}.form-item-col-offset-14{margin-left:58.33333333%}.form-item-col-13{display:block;flex:0 0 54.16666667%;max-width:54.16666667%}.form-item-col-offset-13{margin-left:54.16666667%}.form-item-col-12{display:block;flex:0 0 50%;max-width:50%}.form-item-col-offset-12{margin-left:50%}.form-item-col-11{display:block;flex:0 0 45.83333333%;max-width:45.83333333%}.form-item-col-offset-11{margin-left:45.83333333%}.form-item-col-10{display:block;flex:0 0 41.66666667%;max-width:41.66666667%}.form-item-col-offset-10{margin-left:41.66666667%}.form-item-col-9{display:block;flex:0 0 37.5%;max-width:37.5%}.form-item-col-offset-9{margin-left:37.5%}.form-item-col-8{display:block;flex:0 0 33.33333333%;max-width:33.33333333%}.form-item-col-offset-8{margin-left:33.33333333%}.form-item-col-7{display:block;flex:0 0 29.16666667%;max-width:29.16666667%}.form-item-col-offset-7{margin-left:29.16666667%}.form-item-col-6{display:block;flex:0 0 25%;max-width:25%}.form-item-col-offset-6{margin-left:25%}.form-item-col-5{display:block;flex:0 0 20.83333333%;max-width:20.83333333%}.form-item-col-offset-5{margin-left:20.83333333%}.form-item-col-4{display:block;flex:0 0 16.66666667%;max-width:16.66666667%}.form-item-col-offset-4{margin-left:16.66666667%}.form-item-col-3{display:block;flex:0 0 12.5%;max-width:12.5%}.form-item-col-offset-3{margin-left:12.5%}.form-item-col-2{display:block;flex:0 0 8.33333333%;max-width:8.33333333%}.form-item-col-offset-2{margin-left:8.33333333%}.form-item-col-1{display:block;flex:0 0 4.16666667%;max-width:4.16666667%}.form-item-col-offset-1{margin-left:4.16666667%}@media (min-width: 576px){.form-item-col-sm-24{display:block;flex:0 0 100%;max-width:100%}.form-item-col-sm-offset-24{margin-left:100%}.form-item-col-sm-23{display:block;flex:0 0 95.83333333%;max-width:95.83333333%}.form-item-col-sm-offset-23{margin-left:95.83333333%}.form-item-col-sm-22{display:block;flex:0 0 91.66666667%;max-width:91.66666667%}.form-item-col-sm-offset-22{margin-left:91.66666667%}.form-item-col-sm-21{display:block;flex:0 0 87.5%;max-width:87.5%}.form-item-col-sm-offset-21{margin-left:87.5%}.form-item-col-sm-20{display:block;flex:0 0 83.33333333%;max-width:83.33333333%}.form-item-col-sm-offset-20{margin-left:83.33333333%}.form-item-col-sm-19{display:block;flex:0 0 79.16666667%;max-width:79.16666667%}.form-item-col-sm-offset-19{margin-left:79.16666667%}.form-item-col-sm-18{display:block;flex:0 0 75%;max-width:75%}.form-item-col-sm-offset-18{margin-left:75%}.form-item-col-sm-17{display:block;flex:0 0 70.83333333%;max-width:70.83333333%}.form-item-col-sm-offset-17{margin-left:70.83333333%}.form-item-col-sm-16{display:block;flex:0 0 66.66666667%;max-width:66.66666667%}.form-item-col-sm-offset-16{margin-left:66.66666667%}.form-item-col-sm-15{display:block;flex:0 0 62.5%;max-width:62.5%}.form-item-col-sm-offset-15{margin-left:62.5%}.form-item-col-sm-14{display:block;flex:0 0 58.33333333%;max-width:58.33333333%}.form-item-col-sm-offset-14{margin-left:58.33333333%}.form-item-col-sm-13{display:block;flex:0 0 54.16666667%;max-width:54.16666667%}.form-item-col-sm-offset-13{margin-left:54.16666667%}.form-item-col-sm-12{display:block;flex:0 0 50%;max-width:50%}.form-item-col-sm-offset-12{margin-left:50%}.form-item-col-sm-11{display:block;flex:0 0 45.83333333%;max-width:45.83333333%}.form-item-col-sm-offset-11{margin-left:45.83333333%}.form-item-col-sm-10{display:block;flex:0 0 41.66666667%;max-width:41.66666667%}.form-item-col-sm-offset-10{margin-left:41.66666667%}.form-item-col-sm-9{display:block;flex:0 0 37.5%;max-width:37.5%}.form-item-col-sm-offset-9{margin-left:37.5%}.form-item-col-sm-8{display:block;flex:0 0 33.33333333%;max-width:33.33333333%}.form-item-col-sm-offset-8{margin-left:33.33333333%}.form-item-col-sm-7{display:block;flex:0 0 29.16666667%;max-width:29.16666667%}.form-item-col-sm-offset-7{margin-left:29.16666667%}.form-item-col-sm-6{display:block;flex:0 0 25%;max-width:25%}.form-item-col-sm-offset-6{margin-left:25%}.form-item-col-sm-5{display:block;flex:0 0 20.83333333%;max-width:20.83333333%}.form-item-col-sm-offset-5{margin-left:20.83333333%}.form-item-col-sm-4{display:block;flex:0 0 16.66666667%;max-width:16.66666667%}.form-item-col-sm-offset-4{margin-left:16.66666667%}.form-item-col-sm-3{display:block;flex:0 0 12.5%;max-width:12.5%}.form-item-col-sm-offset-3{margin-left:12.5%}.form-item-col-sm-2{display:block;flex:0 0 8.33333333%;max-width:8.33333333%}.form-item-col-sm-offset-2{margin-left:8.33333333%}.form-item-col-sm-1{display:block;flex:0 0 4.16666667%;max-width:4.16666667%}.form-item-col-sm-offset-1{margin-left:4.16666667%}}@media (min-width: 768px){.form-item-col-md-24{display:block;flex:0 0 100%;max-width:100%}.form-item-col-md-offset-24{margin-left:100%}.form-item-col-md-23{display:block;flex:0 0 95.83333333%;max-width:95.83333333%}.form-item-col-md-offset-23{margin-left:95.83333333%}.form-item-col-md-22{display:block;flex:0 0 91.66666667%;max-width:91.66666667%}.form-item-col-md-offset-22{margin-left:91.66666667%}.form-item-col-md-21{display:block;flex:0 0 87.5%;max-width:87.5%}.form-item-col-md-offset-21{margin-left:87.5%}.form-item-col-md-20{display:block;flex:0 0 83.33333333%;max-width:83.33333333%}.form-item-col-md-offset-20{margin-left:83.33333333%}.form-item-col-md-19{display:block;flex:0 0 79.16666667%;max-width:79.16666667%}.form-item-col-md-offset-19{margin-left:79.16666667%}.form-item-col-md-18{display:block;flex:0 0 75%;max-width:75%}.form-item-col-md-offset-18{margin-left:75%}.form-item-col-md-17{display:block;flex:0 0 70.83333333%;max-width:70.83333333%}.form-item-col-md-offset-17{margin-left:70.83333333%}.form-item-col-md-16{display:block;flex:0 0 66.66666667%;max-width:66.66666667%}.form-item-col-md-offset-16{margin-left:66.66666667%}.form-item-col-md-15{display:block;flex:0 0 62.5%;max-width:62.5%}.form-item-col-md-offset-15{margin-left:62.5%}.form-item-col-md-14{display:block;flex:0 0 58.33333333%;max-width:58.33333333%}.form-item-col-md-offset-14{margin-left:58.33333333%}.form-item-col-md-13{display:block;flex:0 0 54.16666667%;max-width:54.16666667%}.form-item-col-md-offset-13{margin-left:54.16666667%}.form-item-col-md-12{display:block;flex:0 0 50%;max-width:50%}.form-item-col-md-offset-12{margin-left:50%}.form-item-col-md-11{display:block;flex:0 0 45.83333333%;max-width:45.83333333%}.form-item-col-md-offset-11{margin-left:45.83333333%}.form-item-col-md-10{display:block;flex:0 0 41.66666667%;max-width:41.66666667%}.form-item-col-md-offset-10{margin-left:41.66666667%}.form-item-col-md-9{display:block;flex:0 0 37.5%;max-width:37.5%}.form-item-col-md-offset-9{margin-left:37.5%}.form-item-col-md-8{display:block;flex:0 0 33.33333333%;max-width:33.33333333%}.form-item-col-md-offset-8{margin-left:33.33333333%}.form-item-col-md-7{display:block;flex:0 0 29.16666667%;max-width:29.16666667%}.form-item-col-md-offset-7{margin-left:29.16666667%}.form-item-col-md-6{display:block;flex:0 0 25%;max-width:25%}.form-item-col-md-offset-6{margin-left:25%}.form-item-col-md-5{display:block;flex:0 0 20.83333333%;max-width:20.83333333%}.form-item-col-md-offset-5{margin-left:20.83333333%}.form-item-col-md-4{display:block;flex:0 0 16.66666667%;max-width:16.66666667%}.form-item-col-md-offset-4{margin-left:16.66666667%}.form-item-col-md-3{display:block;flex:0 0 12.5%;max-width:12.5%}.form-item-col-md-offset-3{margin-left:12.5%}.form-item-col-md-2{display:block;flex:0 0 8.33333333%;max-width:8.33333333%}.form-item-col-md-offset-2{margin-left:8.33333333%}.form-item-col-md-1{display:block;flex:0 0 4.16666667%;max-width:4.16666667%}.form-item-col-md-offset-1{margin-left:4.16666667%}}@media (min-width: 992px){.form-item-col-lg-24{display:block;flex:0 0 100%;max-width:100%}.form-item-col-lg-offset-24{margin-left:100%}.form-item-col-lg-23{display:block;flex:0 0 95.83333333%;max-width:95.83333333%}.form-item-col-lg-offset-23{margin-left:95.83333333%}.form-item-col-lg-22{display:block;flex:0 0 91.66666667%;max-width:91.66666667%}.form-item-col-lg-offset-22{margin-left:91.66666667%}.form-item-col-lg-21{display:block;flex:0 0 87.5%;max-width:87.5%}.form-item-col-lg-offset-21{margin-left:87.5%}.form-item-col-lg-20{display:block;flex:0 0 83.33333333%;max-width:83.33333333%}.form-item-col-lg-offset-20{margin-left:83.33333333%}.form-item-col-lg-19{display:block;flex:0 0 79.16666667%;max-width:79.16666667%}.form-item-col-lg-offset-19{margin-left:79.16666667%}.form-item-col-lg-18{display:block;flex:0 0 75%;max-width:75%}.form-item-col-lg-offset-18{margin-left:75%}.form-item-col-lg-17{display:block;flex:0 0 70.83333333%;max-width:70.83333333%}.form-item-col-lg-offset-17{margin-left:70.83333333%}.form-item-col-lg-16{display:block;flex:0 0 66.66666667%;max-width:66.66666667%}.form-item-col-lg-offset-16{margin-left:66.66666667%}.form-item-col-lg-15{display:block;flex:0 0 62.5%;max-width:62.5%}.form-item-col-lg-offset-15{margin-left:62.5%}.form-item-col-lg-14{display:block;flex:0 0 58.33333333%;max-width:58.33333333%}.form-item-col-lg-offset-14{margin-left:58.33333333%}.form-item-col-lg-13{display:block;flex:0 0 54.16666667%;max-width:54.16666667%}.form-item-col-lg-offset-13{margin-left:54.16666667%}.form-item-col-lg-12{display:block;flex:0 0 50%;max-width:50%}.form-item-col-lg-offset-12{margin-left:50%}.form-item-col-lg-11{display:block;flex:0 0 45.83333333%;max-width:45.83333333%}.form-item-col-lg-offset-11{margin-left:45.83333333%}.form-item-col-lg-10{display:block;flex:0 0 41.66666667%;max-width:41.66666667%}.form-item-col-lg-offset-10{margin-left:41.66666667%}.form-item-col-lg-9{display:block;flex:0 0 37.5%;max-width:37.5%}.form-item-col-lg-offset-9{margin-left:37.5%}.form-item-col-lg-8{display:block;flex:0 0 33.33333333%;max-width:33.33333333%}.form-item-col-lg-offset-8{margin-left:33.33333333%}.form-item-col-lg-7{display:block;flex:0 0 29.16666667%;max-width:29.16666667%}.form-item-col-lg-offset-7{margin-left:29.16666667%}.form-item-col-lg-6{display:block;flex:0 0 25%;max-width:25%}.form-item-col-lg-offset-6{margin-left:25%}.form-item-col-lg-5{display:block;flex:0 0 20.83333333%;max-width:20.83333333%}.form-item-col-lg-offset-5{margin-left:20.83333333%}.form-item-col-lg-4{display:block;flex:0 0 16.66666667%;max-width:16.66666667%}.form-item-col-lg-offset-4{margin-left:16.66666667%}.form-item-col-lg-3{display:block;flex:0 0 12.5%;max-width:12.5%}.form-item-col-lg-offset-3{margin-left:12.5%}.form-item-col-lg-2{display:block;flex:0 0 8.33333333%;max-width:8.33333333%}.form-item-col-lg-offset-2{margin-left:8.33333333%}.form-item-col-lg-1{display:block;flex:0 0 4.16666667%;max-width:4.16666667%}.form-item-col-lg-offset-1{margin-left:4.16666667%}}@media (min-width: 1200px){.form-item-col-xl-24{display:block;flex:0 0 100%;max-width:100%}.form-item-col-xl-offset-24{margin-left:100%}.form-item-col-xl-23{display:block;flex:0 0 95.83333333%;max-width:95.83333333%}.form-item-col-xl-offset-23{margin-left:95.83333333%}.form-item-col-xl-22{display:block;flex:0 0 91.66666667%;max-width:91.66666667%}.form-item-col-xl-offset-22{margin-left:91.66666667%}.form-item-col-xl-21{display:block;flex:0 0 87.5%;max-width:87.5%}.form-item-col-xl-offset-21{margin-left:87.5%}.form-item-col-xl-20{display:block;flex:0 0 83.33333333%;max-width:83.33333333%}.form-item-col-xl-offset-20{margin-left:83.33333333%}.form-item-col-xl-19{display:block;flex:0 0 79.16666667%;max-width:79.16666667%}.form-item-col-xl-offset-19{margin-left:79.16666667%}.form-item-col-xl-18{display:block;flex:0 0 75%;max-width:75%}.form-item-col-xl-offset-18{margin-left:75%}.form-item-col-xl-17{display:block;flex:0 0 70.83333333%;max-width:70.83333333%}.form-item-col-xl-offset-17{margin-left:70.83333333%}.form-item-col-xl-16{display:block;flex:0 0 66.66666667%;max-width:66.66666667%}.form-item-col-xl-offset-16{margin-left:66.66666667%}.form-item-col-xl-15{display:block;flex:0 0 62.5%;max-width:62.5%}.form-item-col-xl-offset-15{margin-left:62.5%}.form-item-col-xl-14{display:block;flex:0 0 58.33333333%;max-width:58.33333333%}.form-item-col-xl-offset-14{margin-left:58.33333333%}.form-item-col-xl-13{display:block;flex:0 0 54.16666667%;max-width:54.16666667%}.form-item-col-xl-offset-13{margin-left:54.16666667%}.form-item-col-xl-12{display:block;flex:0 0 50%;max-width:50%}.form-item-col-xl-offset-12{margin-left:50%}.form-item-col-xl-11{display:block;flex:0 0 45.83333333%;max-width:45.83333333%}.form-item-col-xl-offset-11{margin-left:45.83333333%}.form-item-col-xl-10{display:block;flex:0 0 41.66666667%;max-width:41.66666667%}.form-item-col-xl-offset-10{margin-left:41.66666667%}.form-item-col-xl-9{display:block;flex:0 0 37.5%;max-width:37.5%}.form-item-col-xl-offset-9{margin-left:37.5%}.form-item-col-xl-8{display:block;flex:0 0 33.33333333%;max-width:33.33333333%}.form-item-col-xl-offset-8{margin-left:33.33333333%}.form-item-col-xl-7{display:block;flex:0 0 29.16666667%;max-width:29.16666667%}.form-item-col-xl-offset-7{margin-left:29.16666667%}.form-item-col-xl-6{display:block;flex:0 0 25%;max-width:25%}.form-item-col-xl-offset-6{margin-left:25%}.form-item-col-xl-5{display:block;flex:0 0 20.83333333%;max-width:20.83333333%}.form-item-col-xl-offset-5{margin-left:20.83333333%}.form-item-col-xl-4{display:block;flex:0 0 16.66666667%;max-width:16.66666667%}.form-item-col-xl-offset-4{margin-left:16.66666667%}.form-item-col-xl-3{display:block;flex:0 0 12.5%;max-width:12.5%}.form-item-col-xl-offset-3{margin-left:12.5%}.form-item-col-xl-2{display:block;flex:0 0 8.33333333%;max-width:8.33333333%}.form-item-col-xl-offset-2{margin-left:8.33333333%}.form-item-col-xl-1{display:block;flex:0 0 4.16666667%;max-width:4.16666667%}.form-item-col-xl-offset-1{margin-left:4.16666667%}}@media (min-width: 1600px){.form-item-col-xxl-24{display:block;flex:0 0 100%;max-width:100%}.form-item-col-xxl-offset-24{margin-left:100%}.form-item-col-xxl-23{display:block;flex:0 0 95.83333333%;max-width:95.83333333%}.form-item-col-xxl-offset-23{margin-left:95.83333333%}.form-item-col-xxl-22{display:block;flex:0 0 91.66666667%;max-width:91.66666667%}.form-item-col-xxl-offset-22{margin-left:91.66666667%}.form-item-col-xxl-21{display:block;flex:0 0 87.5%;max-width:87.5%}.form-item-col-xxl-offset-21{margin-left:87.5%}.form-item-col-xxl-20{display:block;flex:0 0 83.33333333%;max-width:83.33333333%}.form-item-col-xxl-offset-20{margin-left:83.33333333%}.form-item-col-xxl-19{display:block;flex:0 0 79.16666667%;max-width:79.16666667%}.form-item-col-xxl-offset-19{margin-left:79.16666667%}.form-item-col-xxl-18{display:block;flex:0 0 75%;max-width:75%}.form-item-col-xxl-offset-18{margin-left:75%}.form-item-col-xxl-17{display:block;flex:0 0 70.83333333%;max-width:70.83333333%}.form-item-col-xxl-offset-17{margin-left:70.83333333%}.form-item-col-xxl-16{display:block;flex:0 0 66.66666667%;max-width:66.66666667%}.form-item-col-xxl-offset-16{margin-left:66.66666667%}.form-item-col-xxl-15{display:block;flex:0 0 62.5%;max-width:62.5%}.form-item-col-xxl-offset-15{margin-left:62.5%}.form-item-col-xxl-14{display:block;flex:0 0 58.33333333%;max-width:58.33333333%}.form-item-col-xxl-offset-14{margin-left:58.33333333%}.form-item-col-xxl-13{display:block;flex:0 0 54.16666667%;max-width:54.16666667%}.form-item-col-xxl-offset-13{margin-left:54.16666667%}.form-item-col-xxl-12{display:block;flex:0 0 50%;max-width:50%}.form-item-col-xxl-offset-12{margin-left:50%}.form-item-col-xxl-11{display:block;flex:0 0 45.83333333%;max-width:45.83333333%}.form-item-col-xxl-offset-11{margin-left:45.83333333%}.form-item-col-xxl-10{display:block;flex:0 0 41.66666667%;max-width:41.66666667%}.form-item-col-xxl-offset-10{margin-left:41.66666667%}.form-item-col-xxl-9{display:block;flex:0 0 37.5%;max-width:37.5%}.form-item-col-xxl-offset-9{margin-left:37.5%}.form-item-col-xxl-8{display:block;flex:0 0 33.33333333%;max-width:33.33333333%}.form-item-col-xxl-offset-8{margin-left:33.33333333%}.form-item-col-xxl-7{display:block;flex:0 0 29.16666667%;max-width:29.16666667%}.form-item-col-xxl-offset-7{margin-left:29.16666667%}.form-item-col-xxl-6{display:block;flex:0 0 25%;max-width:25%}.form-item-col-xxl-offset-6{margin-left:25%}.form-item-col-xxl-5{display:block;flex:0 0 20.83333333%;max-width:20.83333333%}.form-item-col-xxl-offset-5{margin-left:20.83333333%}.form-item-col-xxl-4{display:block;flex:0 0 16.66666667%;max-width:16.66666667%}.form-item-col-xxl-offset-4{margin-left:16.66666667%}.form-item-col-xxl-3{display:block;flex:0 0 12.5%;max-width:12.5%}.form-item-col-xxl-offset-3{margin-left:12.5%}.form-item-col-xxl-2{display:block;flex:0 0 8.33333333%;max-width:8.33333333%}.form-item-col-xxl-offset-2{margin-left:8.33333333%}.form-item-col-xxl-1{display:block;flex:0 0 4.16666667%;max-width:4.16666667%}.form-item-col-xxl-offset-1{margin-left:4.16666667%}}@media (max-width: 767px){.form-item.horizontal .form-item-label-wrapper,\n .form-item.horizontal .form-item-wrapper{flex:0 0 100%;max-width:100%;text-align:left}.form-item.horizontal .form-item-col-sm-24 .form-item-label{text-align:left}.form-item.horizontal .form-item-col-sm-24 .form-item-label label::after{content:""}}@media (max-width: 991px){.form-item.horizontal .form-item-col-md-24 .form-item-label{text-align:left}.form-item.horizontal .form-item-col-md-24 .form-item-label label::after{content:""}}@media (max-width: 1199px){.form-item.horizontal .form-item-col-lg-24 .form-item-label{text-align:left}.form-item.horizontal .form-item-col-lg-24 .form-item-label label::after{content:""}}@media (max-width: 1599px){.form-item.horizontal .form-item-col-xl-24 .form-item-label{text-align:left}.form-item.horizontal .form-item-col-xl-24 .form-item-label label::after{content:""}}.form-item{display:flex;box-sizing:border-box;color:var(--antd-text-color);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:"tnum";vertical-align:top}.form-item .form-item-label{display:flex;align-items:center}.form-item.vertical{flex-direction:column}.form-item.vertical > .form-item-label-wrapper{text-align:left;line-height:20px;margin-bottom:8px}.form-item:not(.vertical) .form-item-label > label::after{content:":";position:relative;top:-0.5px;margin:0 0 0 2px}.form-item.horizontal{flex-flow:row wrap}.required{color:#ff4d4f;margin-right:4px}.form-item-label-wrapper{box-sizing:border-box;display:inline-block;white-space:nowrap;line-height:30px;text-align:right;vertical-align:middle;flex-grow:0;padding-right:8px}.form-item-label > label{margin-right:6px}.form-item-wrapper{flex:1 1 0;line-height:30px}.form-item-control{display:flex}.form-item-control slot{display:block;width:100%}.form-item-control .help-brick{color:var(--color-secondary-text,#8c8c8c);font-size:14px;line-height:20px}.align-right{flex-direction:row}.align-bottom{flex-direction:column}.message{min-height:22px}.message.error{clear:both;min-height:23px;margin-top:-2px;color:var(--antd-error-color);font-size:14px;line-height:1.5715;transition:color 0.3s cubic-bezier(0.215,0.61,0.355,1)}',""]);const r=i.toString()},426:(l,m,o)=>{o.d(m,{N:()=>B});var t,e=o(4635),f=o(918),i=o(5536),r=o(9492),a=o(6121),c=o(829),x=o(2740),s=o(1123),d=o(9006);let n,g,h,p,b,w,k,y,u;const{method:A,property:v}=(0,s.createDecorators)();var z=new WeakMap,$=new WeakSet,_=new WeakMap,C=new WeakMap,E=new WeakMap,W=new WeakMap,M=new WeakMap,R=new WeakMap;class B extends d.ReactNextElement{constructor(){super(...arguments),(0,e.A)(this,$),(0,f.A)(this,z,(n(this),!1)),(0,f.A)(this,_,"normal"),(0,f.A)(this,C,!1),(0,f.A)(this,E,g(this)),(0,f.A)(this,W,(h(this),p(this))),(0,f.A)(this,M,(b(this),w(this))),(0,f.A)(this,R,(k(this),y(this))),u(this)}get isFormItemElement(){return!0}set validateState(l){(0,r.A)($,j,this,l),this._render()}get validateState(){return(0,i.A)($,this,S)}set notRender(l){this.hidden=l,(0,r.A)($,N,this,l),this._render()}get notRender(){return(0,i.A)($,this,F)}get $bindFormItem(){return(0,i.A)($,this,I)}set $bindFormItem(l){(0,r.A)($,O,this,l),this._render()}get helpBrick(){return(0,c.A)(E,this)}set helpBrick(l){(0,a.A)(E,this,l)}get labelBrick(){return(0,c.A)(W,this)}set labelBrick(l){(0,a.A)(W,this,l)}get labelCol(){return(0,c.A)(M,this)}set labelCol(l){(0,a.A)(M,this,l)}get wrapperCol(){return(0,c.A)(R,this)}set wrapperCol(l){(0,a.A)(R,this,l)}setNotRender(l){this.notRender=l}getFormElement(){let l=this;for(;(l=l.parentNode)&&l&&!l.isFormElement;);return l}}function F(l){return(0,c.A)(z,l)}function N(l,m){(0,a.A)(z,l,m)}function S(l){return(0,c.A)(_,l)}function j(l,m){(0,a.A)(_,l,m)}function I(l){return(0,c.A)(C,l)}function O(l,m){(0,a.A)(C,l,m)}t=B,[g,h,p,b,w,k,y,u,n]=(0,x.A)(t,[],[[v({attribute:!1}),1,"helpBrick"],[v({attribute:!1}),1,"labelBrick"],[v({attribute:!1}),1,"labelCol"],[v({attribute:!1}),1,"wrapperCol"],[A(),2,"setNotRender"],[A(),2,"getFormElement"]],0,void 0,d.ReactNextElement).e}}]);
2
- //# sourceMappingURL=1269.2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AAAC,EAAAC,EAAAC,EAAAR,IAAAyC,EAAAA,EAAAA,GAAAD,EAAA,KAuCtC1D,EAAS,CACR4D,WAAW,IACX,gBAKD5D,EAAS,CACR4D,WAAW,IACX,iBAKD5D,EAAS,CACR4D,WAAW,IACX,eAGD5D,EAAS,CACR4D,WAAW,IACX,iBAGD7D,IAAQ,mBAKRA,IAAQ,8BApEuCc,EAAAA,kBAAgBgD,C","sources":["webpack:///./src/form-item/convertToItemColName.ts","webpack:///./src/form-item/FormItem.shadow.less","webpack:///../../src/FormItemElement.tsx"],"sourcesContent":["import type { ColProps, ColSize } from \"@next-shared/form\";\nimport type { Layout } from \"../interface.js\";\n\nexport function convertToItemColName(\n colConf: ColProps | undefined,\n layout: Layout\n): string {\n let cls = \"\";\n if (!colConf || layout !== \"horizontal\") return cls;\n\n if (colConf.span) {\n cls += `form-item-col-${colConf.span} `;\n }\n\n if (colConf.offset) {\n cls += `form-item-col-offset-${colConf.offset} `;\n }\n\n [\"sm\", \"md\", \"lg\", \"xl\", \"xxl\"].forEach((size) => {\n const sizeConf = colConf[size as keyof ColProps];\n if (sizeConf) {\n if ([\"number\", \"string\"].includes(typeof sizeConf)) {\n cls += `form-item-col-${size}-${sizeConf} `;\n } else {\n (sizeConf as ColSize).span &&\n (cls += `form-item-col-${size}-${(sizeConf as ColSize).span} `);\n\n (sizeConf as ColSize).offset &&\n (cls += `form-item-col-${size}-offset-${\n (sizeConf as ColSize).offset\n } `);\n }\n }\n });\n\n return cls;\n}\n\nexport function addLabelSizeToWrapperOffset(\n labelCol: number | string | ColSize,\n wrapperCol: number | string | ColSize\n): ColSize {\n let wrapperSpan: number | string;\n let wrapperOffset: number;\n\n if (typeof wrapperCol === \"number\" || typeof wrapperCol === \"string\") {\n wrapperSpan = wrapperCol;\n wrapperOffset = 0;\n } else {\n wrapperSpan = wrapperCol.span!;\n wrapperOffset = +(wrapperCol.offset ?? 0);\n }\n\n let offset =\n (typeof labelCol === \"number\" || typeof labelCol === \"string\"\n ? +labelCol\n : +(labelCol.span ?? 0) + +(labelCol.offset ?? 0)) + wrapperOffset;\n\n if (+wrapperSpan + offset > 24) {\n offset = wrapperOffset;\n }\n\n return {\n span: wrapperSpan,\n offset,\n };\n}\n\nexport function calcWrapperColOffsetWithoutLabel(\n labelCol: ColProps,\n wrapperCol: ColProps\n): ColProps {\n if (wrapperCol.span !== undefined) {\n return addLabelSizeToWrapperOffset(labelCol, wrapperCol);\n }\n\n return Object.fromEntries(\n Object.entries(wrapperCol).map(([key, value]) => {\n return [\n key,\n addLabelSizeToWrapperOffset(\n labelCol[key as keyof ColProps] as ColSize,\n value\n ),\n ];\n })\n );\n}\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.form-item-col-24{display:block;flex:0 0 100%;max-width:100%}.form-item-col-offset-24{margin-left:100%}.form-item-col-23{display:block;flex:0 0 95.83333333%;max-width:95.83333333%}.form-item-col-offset-23{margin-left:95.83333333%}.form-item-col-22{display:block;flex:0 0 91.66666667%;max-width:91.66666667%}.form-item-col-offset-22{margin-left:91.66666667%}.form-item-col-21{display:block;flex:0 0 87.5%;max-width:87.5%}.form-item-col-offset-21{margin-left:87.5%}.form-item-col-20{display:block;flex:0 0 83.33333333%;max-width:83.33333333%}.form-item-col-offset-20{margin-left:83.33333333%}.form-item-col-19{display:block;flex:0 0 79.16666667%;max-width:79.16666667%}.form-item-col-offset-19{margin-left:79.16666667%}.form-item-col-18{display:block;flex:0 0 75%;max-width:75%}.form-item-col-offset-18{margin-left:75%}.form-item-col-17{display:block;flex:0 0 70.83333333%;max-width:70.83333333%}.form-item-col-offset-17{margin-left:70.83333333%}.form-item-col-16{display:block;flex:0 0 66.66666667%;max-width:66.66666667%}.form-item-col-offset-16{margin-left:66.66666667%}.form-item-col-15{display:block;flex:0 0 62.5%;max-width:62.5%}.form-item-col-offset-15{margin-left:62.5%}.form-item-col-14{display:block;flex:0 0 58.33333333%;max-width:58.33333333%}.form-item-col-offset-14{margin-left:58.33333333%}.form-item-col-13{display:block;flex:0 0 54.16666667%;max-width:54.16666667%}.form-item-col-offset-13{margin-left:54.16666667%}.form-item-col-12{display:block;flex:0 0 50%;max-width:50%}.form-item-col-offset-12{margin-left:50%}.form-item-col-11{display:block;flex:0 0 45.83333333%;max-width:45.83333333%}.form-item-col-offset-11{margin-left:45.83333333%}.form-item-col-10{display:block;flex:0 0 41.66666667%;max-width:41.66666667%}.form-item-col-offset-10{margin-left:41.66666667%}.form-item-col-9{display:block;flex:0 0 37.5%;max-width:37.5%}.form-item-col-offset-9{margin-left:37.5%}.form-item-col-8{display:block;flex:0 0 33.33333333%;max-width:33.33333333%}.form-item-col-offset-8{margin-left:33.33333333%}.form-item-col-7{display:block;flex:0 0 29.16666667%;max-width:29.16666667%}.form-item-col-offset-7{margin-left:29.16666667%}.form-item-col-6{display:block;flex:0 0 25%;max-width:25%}.form-item-col-offset-6{margin-left:25%}.form-item-col-5{display:block;flex:0 0 20.83333333%;max-width:20.83333333%}.form-item-col-offset-5{margin-left:20.83333333%}.form-item-col-4{display:block;flex:0 0 16.66666667%;max-width:16.66666667%}.form-item-col-offset-4{margin-left:16.66666667%}.form-item-col-3{display:block;flex:0 0 12.5%;max-width:12.5%}.form-item-col-offset-3{margin-left:12.5%}.form-item-col-2{display:block;flex:0 0 8.33333333%;max-width:8.33333333%}.form-item-col-offset-2{margin-left:8.33333333%}.form-item-col-1{display:block;flex:0 0 4.16666667%;max-width:4.16666667%}.form-item-col-offset-1{margin-left:4.16666667%}@media (min-width: 576px){.form-item-col-sm-24{display:block;flex:0 0 100%;max-width:100%}.form-item-col-sm-offset-24{margin-left:100%}.form-item-col-sm-23{display:block;flex:0 0 95.83333333%;max-width:95.83333333%}.form-item-col-sm-offset-23{margin-left:95.83333333%}.form-item-col-sm-22{display:block;flex:0 0 91.66666667%;max-width:91.66666667%}.form-item-col-sm-offset-22{margin-left:91.66666667%}.form-item-col-sm-21{display:block;flex:0 0 87.5%;max-width:87.5%}.form-item-col-sm-offset-21{margin-left:87.5%}.form-item-col-sm-20{display:block;flex:0 0 83.33333333%;max-width:83.33333333%}.form-item-col-sm-offset-20{margin-left:83.33333333%}.form-item-col-sm-19{display:block;flex:0 0 79.16666667%;max-width:79.16666667%}.form-item-col-sm-offset-19{margin-left:79.16666667%}.form-item-col-sm-18{display:block;flex:0 0 75%;max-width:75%}.form-item-col-sm-offset-18{margin-left:75%}.form-item-col-sm-17{display:block;flex:0 0 70.83333333%;max-width:70.83333333%}.form-item-col-sm-offset-17{margin-left:70.83333333%}.form-item-col-sm-16{display:block;flex:0 0 66.66666667%;max-width:66.66666667%}.form-item-col-sm-offset-16{margin-left:66.66666667%}.form-item-col-sm-15{display:block;flex:0 0 62.5%;max-width:62.5%}.form-item-col-sm-offset-15{margin-left:62.5%}.form-item-col-sm-14{display:block;flex:0 0 58.33333333%;max-width:58.33333333%}.form-item-col-sm-offset-14{margin-left:58.33333333%}.form-item-col-sm-13{display:block;flex:0 0 54.16666667%;max-width:54.16666667%}.form-item-col-sm-offset-13{margin-left:54.16666667%}.form-item-col-sm-12{display:block;flex:0 0 50%;max-width:50%}.form-item-col-sm-offset-12{margin-left:50%}.form-item-col-sm-11{display:block;flex:0 0 45.83333333%;max-width:45.83333333%}.form-item-col-sm-offset-11{margin-left:45.83333333%}.form-item-col-sm-10{display:block;flex:0 0 41.66666667%;max-width:41.66666667%}.form-item-col-sm-offset-10{margin-left:41.66666667%}.form-item-col-sm-9{display:block;flex:0 0 37.5%;max-width:37.5%}.form-item-col-sm-offset-9{margin-left:37.5%}.form-item-col-sm-8{display:block;flex:0 0 33.33333333%;max-width:33.33333333%}.form-item-col-sm-offset-8{margin-left:33.33333333%}.form-item-col-sm-7{display:block;flex:0 0 29.16666667%;max-width:29.16666667%}.form-item-col-sm-offset-7{margin-left:29.16666667%}.form-item-col-sm-6{display:block;flex:0 0 25%;max-width:25%}.form-item-col-sm-offset-6{margin-left:25%}.form-item-col-sm-5{display:block;flex:0 0 20.83333333%;max-width:20.83333333%}.form-item-col-sm-offset-5{margin-left:20.83333333%}.form-item-col-sm-4{display:block;flex:0 0 16.66666667%;max-width:16.66666667%}.form-item-col-sm-offset-4{margin-left:16.66666667%}.form-item-col-sm-3{display:block;flex:0 0 12.5%;max-width:12.5%}.form-item-col-sm-offset-3{margin-left:12.5%}.form-item-col-sm-2{display:block;flex:0 0 8.33333333%;max-width:8.33333333%}.form-item-col-sm-offset-2{margin-left:8.33333333%}.form-item-col-sm-1{display:block;flex:0 0 4.16666667%;max-width:4.16666667%}.form-item-col-sm-offset-1{margin-left:4.16666667%}}@media (min-width: 768px){.form-item-col-md-24{display:block;flex:0 0 100%;max-width:100%}.form-item-col-md-offset-24{margin-left:100%}.form-item-col-md-23{display:block;flex:0 0 95.83333333%;max-width:95.83333333%}.form-item-col-md-offset-23{margin-left:95.83333333%}.form-item-col-md-22{display:block;flex:0 0 91.66666667%;max-width:91.66666667%}.form-item-col-md-offset-22{margin-left:91.66666667%}.form-item-col-md-21{display:block;flex:0 0 87.5%;max-width:87.5%}.form-item-col-md-offset-21{margin-left:87.5%}.form-item-col-md-20{display:block;flex:0 0 83.33333333%;max-width:83.33333333%}.form-item-col-md-offset-20{margin-left:83.33333333%}.form-item-col-md-19{display:block;flex:0 0 79.16666667%;max-width:79.16666667%}.form-item-col-md-offset-19{margin-left:79.16666667%}.form-item-col-md-18{display:block;flex:0 0 75%;max-width:75%}.form-item-col-md-offset-18{margin-left:75%}.form-item-col-md-17{display:block;flex:0 0 70.83333333%;max-width:70.83333333%}.form-item-col-md-offset-17{margin-left:70.83333333%}.form-item-col-md-16{display:block;flex:0 0 66.66666667%;max-width:66.66666667%}.form-item-col-md-offset-16{margin-left:66.66666667%}.form-item-col-md-15{display:block;flex:0 0 62.5%;max-width:62.5%}.form-item-col-md-offset-15{margin-left:62.5%}.form-item-col-md-14{display:block;flex:0 0 58.33333333%;max-width:58.33333333%}.form-item-col-md-offset-14{margin-left:58.33333333%}.form-item-col-md-13{display:block;flex:0 0 54.16666667%;max-width:54.16666667%}.form-item-col-md-offset-13{margin-left:54.16666667%}.form-item-col-md-12{display:block;flex:0 0 50%;max-width:50%}.form-item-col-md-offset-12{margin-left:50%}.form-item-col-md-11{display:block;flex:0 0 45.83333333%;max-width:45.83333333%}.form-item-col-md-offset-11{margin-left:45.83333333%}.form-item-col-md-10{display:block;flex:0 0 41.66666667%;max-width:41.66666667%}.form-item-col-md-offset-10{margin-left:41.66666667%}.form-item-col-md-9{display:block;flex:0 0 37.5%;max-width:37.5%}.form-item-col-md-offset-9{margin-left:37.5%}.form-item-col-md-8{display:block;flex:0 0 33.33333333%;max-width:33.33333333%}.form-item-col-md-offset-8{margin-left:33.33333333%}.form-item-col-md-7{display:block;flex:0 0 29.16666667%;max-width:29.16666667%}.form-item-col-md-offset-7{margin-left:29.16666667%}.form-item-col-md-6{display:block;flex:0 0 25%;max-width:25%}.form-item-col-md-offset-6{margin-left:25%}.form-item-col-md-5{display:block;flex:0 0 20.83333333%;max-width:20.83333333%}.form-item-col-md-offset-5{margin-left:20.83333333%}.form-item-col-md-4{display:block;flex:0 0 16.66666667%;max-width:16.66666667%}.form-item-col-md-offset-4{margin-left:16.66666667%}.form-item-col-md-3{display:block;flex:0 0 12.5%;max-width:12.5%}.form-item-col-md-offset-3{margin-left:12.5%}.form-item-col-md-2{display:block;flex:0 0 8.33333333%;max-width:8.33333333%}.form-item-col-md-offset-2{margin-left:8.33333333%}.form-item-col-md-1{display:block;flex:0 0 4.16666667%;max-width:4.16666667%}.form-item-col-md-offset-1{margin-left:4.16666667%}}@media (min-width: 992px){.form-item-col-lg-24{display:block;flex:0 0 100%;max-width:100%}.form-item-col-lg-offset-24{margin-left:100%}.form-item-col-lg-23{display:block;flex:0 0 95.83333333%;max-width:95.83333333%}.form-item-col-lg-offset-23{margin-left:95.83333333%}.form-item-col-lg-22{display:block;flex:0 0 91.66666667%;max-width:91.66666667%}.form-item-col-lg-offset-22{margin-left:91.66666667%}.form-item-col-lg-21{display:block;flex:0 0 87.5%;max-width:87.5%}.form-item-col-lg-offset-21{margin-left:87.5%}.form-item-col-lg-20{display:block;flex:0 0 83.33333333%;max-width:83.33333333%}.form-item-col-lg-offset-20{margin-left:83.33333333%}.form-item-col-lg-19{display:block;flex:0 0 79.16666667%;max-width:79.16666667%}.form-item-col-lg-offset-19{margin-left:79.16666667%}.form-item-col-lg-18{display:block;flex:0 0 75%;max-width:75%}.form-item-col-lg-offset-18{margin-left:75%}.form-item-col-lg-17{display:block;flex:0 0 70.83333333%;max-width:70.83333333%}.form-item-col-lg-offset-17{margin-left:70.83333333%}.form-item-col-lg-16{display:block;flex:0 0 66.66666667%;max-width:66.66666667%}.form-item-col-lg-offset-16{margin-left:66.66666667%}.form-item-col-lg-15{display:block;flex:0 0 62.5%;max-width:62.5%}.form-item-col-lg-offset-15{margin-left:62.5%}.form-item-col-lg-14{display:block;flex:0 0 58.33333333%;max-width:58.33333333%}.form-item-col-lg-offset-14{margin-left:58.33333333%}.form-item-col-lg-13{display:block;flex:0 0 54.16666667%;max-width:54.16666667%}.form-item-col-lg-offset-13{margin-left:54.16666667%}.form-item-col-lg-12{display:block;flex:0 0 50%;max-width:50%}.form-item-col-lg-offset-12{margin-left:50%}.form-item-col-lg-11{display:block;flex:0 0 45.83333333%;max-width:45.83333333%}.form-item-col-lg-offset-11{margin-left:45.83333333%}.form-item-col-lg-10{display:block;flex:0 0 41.66666667%;max-width:41.66666667%}.form-item-col-lg-offset-10{margin-left:41.66666667%}.form-item-col-lg-9{display:block;flex:0 0 37.5%;max-width:37.5%}.form-item-col-lg-offset-9{margin-left:37.5%}.form-item-col-lg-8{display:block;flex:0 0 33.33333333%;max-width:33.33333333%}.form-item-col-lg-offset-8{margin-left:33.33333333%}.form-item-col-lg-7{display:block;flex:0 0 29.16666667%;max-width:29.16666667%}.form-item-col-lg-offset-7{margin-left:29.16666667%}.form-item-col-lg-6{display:block;flex:0 0 25%;max-width:25%}.form-item-col-lg-offset-6{margin-left:25%}.form-item-col-lg-5{display:block;flex:0 0 20.83333333%;max-width:20.83333333%}.form-item-col-lg-offset-5{margin-left:20.83333333%}.form-item-col-lg-4{display:block;flex:0 0 16.66666667%;max-width:16.66666667%}.form-item-col-lg-offset-4{margin-left:16.66666667%}.form-item-col-lg-3{display:block;flex:0 0 12.5%;max-width:12.5%}.form-item-col-lg-offset-3{margin-left:12.5%}.form-item-col-lg-2{display:block;flex:0 0 8.33333333%;max-width:8.33333333%}.form-item-col-lg-offset-2{margin-left:8.33333333%}.form-item-col-lg-1{display:block;flex:0 0 4.16666667%;max-width:4.16666667%}.form-item-col-lg-offset-1{margin-left:4.16666667%}}@media (min-width: 1200px){.form-item-col-xl-24{display:block;flex:0 0 100%;max-width:100%}.form-item-col-xl-offset-24{margin-left:100%}.form-item-col-xl-23{display:block;flex:0 0 95.83333333%;max-width:95.83333333%}.form-item-col-xl-offset-23{margin-left:95.83333333%}.form-item-col-xl-22{display:block;flex:0 0 91.66666667%;max-width:91.66666667%}.form-item-col-xl-offset-22{margin-left:91.66666667%}.form-item-col-xl-21{display:block;flex:0 0 87.5%;max-width:87.5%}.form-item-col-xl-offset-21{margin-left:87.5%}.form-item-col-xl-20{display:block;flex:0 0 83.33333333%;max-width:83.33333333%}.form-item-col-xl-offset-20{margin-left:83.33333333%}.form-item-col-xl-19{display:block;flex:0 0 79.16666667%;max-width:79.16666667%}.form-item-col-xl-offset-19{margin-left:79.16666667%}.form-item-col-xl-18{display:block;flex:0 0 75%;max-width:75%}.form-item-col-xl-offset-18{margin-left:75%}.form-item-col-xl-17{display:block;flex:0 0 70.83333333%;max-width:70.83333333%}.form-item-col-xl-offset-17{margin-left:70.83333333%}.form-item-col-xl-16{display:block;flex:0 0 66.66666667%;max-width:66.66666667%}.form-item-col-xl-offset-16{margin-left:66.66666667%}.form-item-col-xl-15{display:block;flex:0 0 62.5%;max-width:62.5%}.form-item-col-xl-offset-15{margin-left:62.5%}.form-item-col-xl-14{display:block;flex:0 0 58.33333333%;max-width:58.33333333%}.form-item-col-xl-offset-14{margin-left:58.33333333%}.form-item-col-xl-13{display:block;flex:0 0 54.16666667%;max-width:54.16666667%}.form-item-col-xl-offset-13{margin-left:54.16666667%}.form-item-col-xl-12{display:block;flex:0 0 50%;max-width:50%}.form-item-col-xl-offset-12{margin-left:50%}.form-item-col-xl-11{display:block;flex:0 0 45.83333333%;max-width:45.83333333%}.form-item-col-xl-offset-11{margin-left:45.83333333%}.form-item-col-xl-10{display:block;flex:0 0 41.66666667%;max-width:41.66666667%}.form-item-col-xl-offset-10{margin-left:41.66666667%}.form-item-col-xl-9{display:block;flex:0 0 37.5%;max-width:37.5%}.form-item-col-xl-offset-9{margin-left:37.5%}.form-item-col-xl-8{display:block;flex:0 0 33.33333333%;max-width:33.33333333%}.form-item-col-xl-offset-8{margin-left:33.33333333%}.form-item-col-xl-7{display:block;flex:0 0 29.16666667%;max-width:29.16666667%}.form-item-col-xl-offset-7{margin-left:29.16666667%}.form-item-col-xl-6{display:block;flex:0 0 25%;max-width:25%}.form-item-col-xl-offset-6{margin-left:25%}.form-item-col-xl-5{display:block;flex:0 0 20.83333333%;max-width:20.83333333%}.form-item-col-xl-offset-5{margin-left:20.83333333%}.form-item-col-xl-4{display:block;flex:0 0 16.66666667%;max-width:16.66666667%}.form-item-col-xl-offset-4{margin-left:16.66666667%}.form-item-col-xl-3{display:block;flex:0 0 12.5%;max-width:12.5%}.form-item-col-xl-offset-3{margin-left:12.5%}.form-item-col-xl-2{display:block;flex:0 0 8.33333333%;max-width:8.33333333%}.form-item-col-xl-offset-2{margin-left:8.33333333%}.form-item-col-xl-1{display:block;flex:0 0 4.16666667%;max-width:4.16666667%}.form-item-col-xl-offset-1{margin-left:4.16666667%}}@media (min-width: 1600px){.form-item-col-xxl-24{display:block;flex:0 0 100%;max-width:100%}.form-item-col-xxl-offset-24{margin-left:100%}.form-item-col-xxl-23{display:block;flex:0 0 95.83333333%;max-width:95.83333333%}.form-item-col-xxl-offset-23{margin-left:95.83333333%}.form-item-col-xxl-22{display:block;flex:0 0 91.66666667%;max-width:91.66666667%}.form-item-col-xxl-offset-22{margin-left:91.66666667%}.form-item-col-xxl-21{display:block;flex:0 0 87.5%;max-width:87.5%}.form-item-col-xxl-offset-21{margin-left:87.5%}.form-item-col-xxl-20{display:block;flex:0 0 83.33333333%;max-width:83.33333333%}.form-item-col-xxl-offset-20{margin-left:83.33333333%}.form-item-col-xxl-19{display:block;flex:0 0 79.16666667%;max-width:79.16666667%}.form-item-col-xxl-offset-19{margin-left:79.16666667%}.form-item-col-xxl-18{display:block;flex:0 0 75%;max-width:75%}.form-item-col-xxl-offset-18{margin-left:75%}.form-item-col-xxl-17{display:block;flex:0 0 70.83333333%;max-width:70.83333333%}.form-item-col-xxl-offset-17{margin-left:70.83333333%}.form-item-col-xxl-16{display:block;flex:0 0 66.66666667%;max-width:66.66666667%}.form-item-col-xxl-offset-16{margin-left:66.66666667%}.form-item-col-xxl-15{display:block;flex:0 0 62.5%;max-width:62.5%}.form-item-col-xxl-offset-15{margin-left:62.5%}.form-item-col-xxl-14{display:block;flex:0 0 58.33333333%;max-width:58.33333333%}.form-item-col-xxl-offset-14{margin-left:58.33333333%}.form-item-col-xxl-13{display:block;flex:0 0 54.16666667%;max-width:54.16666667%}.form-item-col-xxl-offset-13{margin-left:54.16666667%}.form-item-col-xxl-12{display:block;flex:0 0 50%;max-width:50%}.form-item-col-xxl-offset-12{margin-left:50%}.form-item-col-xxl-11{display:block;flex:0 0 45.83333333%;max-width:45.83333333%}.form-item-col-xxl-offset-11{margin-left:45.83333333%}.form-item-col-xxl-10{display:block;flex:0 0 41.66666667%;max-width:41.66666667%}.form-item-col-xxl-offset-10{margin-left:41.66666667%}.form-item-col-xxl-9{display:block;flex:0 0 37.5%;max-width:37.5%}.form-item-col-xxl-offset-9{margin-left:37.5%}.form-item-col-xxl-8{display:block;flex:0 0 33.33333333%;max-width:33.33333333%}.form-item-col-xxl-offset-8{margin-left:33.33333333%}.form-item-col-xxl-7{display:block;flex:0 0 29.16666667%;max-width:29.16666667%}.form-item-col-xxl-offset-7{margin-left:29.16666667%}.form-item-col-xxl-6{display:block;flex:0 0 25%;max-width:25%}.form-item-col-xxl-offset-6{margin-left:25%}.form-item-col-xxl-5{display:block;flex:0 0 20.83333333%;max-width:20.83333333%}.form-item-col-xxl-offset-5{margin-left:20.83333333%}.form-item-col-xxl-4{display:block;flex:0 0 16.66666667%;max-width:16.66666667%}.form-item-col-xxl-offset-4{margin-left:16.66666667%}.form-item-col-xxl-3{display:block;flex:0 0 12.5%;max-width:12.5%}.form-item-col-xxl-offset-3{margin-left:12.5%}.form-item-col-xxl-2{display:block;flex:0 0 8.33333333%;max-width:8.33333333%}.form-item-col-xxl-offset-2{margin-left:8.33333333%}.form-item-col-xxl-1{display:block;flex:0 0 4.16666667%;max-width:4.16666667%}.form-item-col-xxl-offset-1{margin-left:4.16666667%}}@media (max-width: 767px){.form-item.horizontal .form-item-label-wrapper,\n .form-item.horizontal .form-item-wrapper{flex:0 0 100%;max-width:100%;text-align:left}.form-item.horizontal .form-item-col-sm-24 .form-item-label{text-align:left}.form-item.horizontal .form-item-col-sm-24 .form-item-label label::after{content:\"\"}}@media (max-width: 991px){.form-item.horizontal .form-item-col-md-24 .form-item-label{text-align:left}.form-item.horizontal .form-item-col-md-24 .form-item-label label::after{content:\"\"}}@media (max-width: 1199px){.form-item.horizontal .form-item-col-lg-24 .form-item-label{text-align:left}.form-item.horizontal .form-item-col-lg-24 .form-item-label label::after{content:\"\"}}@media (max-width: 1599px){.form-item.horizontal .form-item-col-xl-24 .form-item-label{text-align:left}.form-item.horizontal .form-item-col-xl-24 .form-item-label label::after{content:\"\"}}.form-item{display:flex;box-sizing:border-box;color:var(--antd-text-color);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:\"tnum\";vertical-align:top}.form-item .form-item-label{display:flex;align-items:center}.form-item.vertical{flex-direction:column}.form-item.vertical > .form-item-label-wrapper{text-align:left;line-height:20px;margin-bottom:8px}.form-item:not(.vertical) .form-item-label > label::after{content:\":\";position:relative;top:-0.5px;margin:0 0 0 2px}.form-item.horizontal{flex-flow:row wrap}.required{color:#ff4d4f;margin-right:4px}.form-item-label-wrapper{box-sizing:border-box;display:inline-block;white-space:nowrap;line-height:30px;text-align:right;vertical-align:middle;flex-grow:0;padding-right:8px}.form-item-label > label{margin-right:6px}.form-item-wrapper{flex:1 1 0;line-height:30px}.form-item-control{display:flex}.form-item-control slot{display:block;width:100%}.form-item-control .help-brick{color:var(--color-secondary-text,#8c8c8c);font-size:14px;line-height:20px}.align-right{flex-direction:row}.align-bottom{flex-direction:column}.message{min-height:22px}.message.error{clear:both;min-height:23px;margin-top:-2px;color:var(--antd-error-color);font-size:14px;line-height:1.5715;transition:color 0.3s cubic-bezier(0.215,0.61,0.355,1)}`, \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___.toString();\n","import { createDecorators } from \"@next-core/element\";\nimport { ReactNextElement } from \"@next-core/react-element\";\nimport type { AbstractForm, ColProps } from \"./Form.js\";\nimport { UseSingleBrickConf } from \"@next-core/types\";\n\nconst { method, property } = createDecorators();\n\nexport abstract class FormItemElementBase extends ReactNextElement {\n accessor #_notRender = false;\n accessor #validate = \"normal\";\n accessor #bindFormItem = false;\n\n get isFormItemElement(): true {\n return true;\n }\n\n set validateState(value: string) {\n this.#validate = value;\n this._render();\n }\n get validateState() {\n return this.#validate;\n }\n\n /**\n * 控制该表单项是否隐藏\n * @default false\n * @group ui\n */\n set notRender(value: boolean) {\n this.hidden = value;\n this.#_notRender = value;\n this._render();\n }\n get notRender(): boolean {\n return this.#_notRender;\n }\n\n get $bindFormItem() {\n return this.#bindFormItem;\n }\n set $bindFormItem(value: boolean) {\n this.#bindFormItem = value;\n this._render();\n }\n\n @property({\n attribute: false,\n })\n accessor helpBrick:\n | { useBrick: UseSingleBrickConf | UseSingleBrickConf[] }\n | undefined;\n\n @property({\n attribute: false,\n })\n accessor labelBrick:\n | { useBrick: UseSingleBrickConf | UseSingleBrickConf[] }\n | undefined;\n\n @property({\n attribute: false,\n })\n accessor labelCol: ColProps | undefined;\n\n @property({\n attribute: false,\n })\n accessor wrapperCol: ColProps | undefined;\n\n @method()\n setNotRender(value: boolean) {\n this.notRender = value;\n }\n\n @method()\n getFormElement(): AbstractForm | null {\n // eslint-disable-next-line @typescript-eslint/no-this-alias\n let element: AbstractForm | null = this as unknown as AbstractForm;\n while ((element = element.parentNode as AbstractForm | null)) {\n if (!element || element.isFormElement) {\n break;\n }\n }\n return element as AbstractForm | null;\n }\n}\n"],"names":["convertToItemColName","colConf","layout","cls","span","offset","forEach","size","sizeConf","includes","addLabelSizeToWrapperOffset","labelCol","wrapperCol","_labelCol$span","_labelCol$offset","wrapperSpan","wrapperOffset","_wrapperCol$offset","calcWrapperColOffsetWithoutLabel","undefined","Object","fromEntries","entries","map","_ref","key","value","___CSS_LOADER_EXPORT___","push","module","id","toString","method","property","createDecorators","_A","WeakMap","_FormItemElementBase_brand","WeakSet","_B","_C","_D","_E","_F","_G","FormItemElementBase","ReactNextElement","constructor","arguments","_classPrivateMethodInitSpec","_classPrivateFieldInitSpec","_initProto","_init_helpBrick","_init_extra_helpBrick","_init_labelBrick","_init_extra_labelBrick","_init_labelCol","_init_extra_labelCol","_init_wrapperCol","_init_extra_wrapperCol","isFormItemElement","validateState","_classPrivateSetter","_set_validate","this","_render","_classPrivateGetter","_get_validate","notRender","hidden","_set__notRender","_get__notRender","$bindFormItem","_get_bindFormItem","_set_bindFormItem","helpBrick","_classPrivateFieldGet","v","_classPrivateFieldSet","labelBrick","setNotRender","getFormElement","element","parentNode","isFormElement","_this","_this2","_this3","_this4","_this5","_this6","_FormItemElementBase","_applyDecs","attribute","e"],"sourceRoot":""}