@next-bricks/form 0.21.2 → 0.23.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 (116) hide show
  1. package/dist/bricks.json +2 -1
  2. package/dist/chunks/{2108.a87ff3a1.js → 2108.cb69ad5c.js} +2 -2
  3. package/dist/chunks/{2108.a87ff3a1.js.map → 2108.cb69ad5c.js.map} +1 -1
  4. package/dist/chunks/{3669.ca91bd61.js → 3669.1b525a51.js} +2 -2
  5. package/dist/chunks/3669.1b525a51.js.map +1 -0
  6. package/dist/chunks/{5381.0d64e137.js → 5381.6d07e197.js} +2 -2
  7. package/dist/chunks/{5381.0d64e137.js.map → 5381.6d07e197.js.map} +1 -1
  8. package/dist/chunks/5716.810c3a88.js +2 -0
  9. package/dist/chunks/5716.810c3a88.js.map +1 -0
  10. package/dist/chunks/{5789.d59ac23c.js → 5789.aa34d165.js} +3 -3
  11. package/dist/chunks/{5789.d59ac23c.js.map → 5789.aa34d165.js.map} +1 -1
  12. package/dist/chunks/631.552c4aa6.js +2 -0
  13. package/dist/chunks/631.552c4aa6.js.map +1 -0
  14. package/dist/chunks/{6660.a6dc1b14.js → 6660.570b466b.js} +2 -2
  15. package/dist/chunks/{6660.a6dc1b14.js.map → 6660.570b466b.js.map} +1 -1
  16. package/dist/chunks/{9431.95901c72.js → 9431.671db050.js} +2 -2
  17. package/dist/chunks/{9431.95901c72.js.map → 9431.671db050.js.map} +1 -1
  18. package/dist/chunks/{eo-auto-complete.6755dd52.js → eo-auto-complete.97bd590a.js} +3 -3
  19. package/dist/chunks/eo-auto-complete.97bd590a.js.map +1 -0
  20. package/dist/chunks/{eo-checkbox.fa4ba425.js → eo-checkbox.6ec537aa.js} +2 -2
  21. package/dist/chunks/eo-checkbox.6ec537aa.js.map +1 -0
  22. package/dist/chunks/{eo-date-picker.68507a30.js → eo-date-picker.06ae816e.js} +2 -2
  23. package/dist/chunks/eo-date-picker.06ae816e.js.map +1 -0
  24. package/dist/chunks/eo-dynamic-form-item.8b1efb9c.js +3 -0
  25. package/dist/chunks/eo-dynamic-form-item.8b1efb9c.js.map +1 -0
  26. package/dist/chunks/eo-form-item.1a1aaa2e.js +3 -0
  27. package/dist/chunks/eo-form-item.1a1aaa2e.js.map +1 -0
  28. package/dist/chunks/eo-form.ab288dca.js +2 -0
  29. package/dist/chunks/eo-form.ab288dca.js.map +1 -0
  30. package/dist/chunks/{eo-icon-select.3fd963d3.js → eo-icon-select.8181e65d.js} +3 -3
  31. package/dist/chunks/eo-icon-select.8181e65d.js.map +1 -0
  32. package/dist/chunks/eo-input.dd93b28f.js +3 -0
  33. package/dist/chunks/eo-input.dd93b28f.js.map +1 -0
  34. package/dist/chunks/eo-radio.14a11c0d.js +3 -0
  35. package/dist/chunks/eo-radio.14a11c0d.js.map +1 -0
  36. package/dist/chunks/eo-search.f6ef814c.js +2 -0
  37. package/dist/chunks/{eo-search.a8b8191a.js.map → eo-search.f6ef814c.js.map} +1 -1
  38. package/dist/chunks/{eo-select.8f3336c3.js → eo-select.71443114.js} +3 -3
  39. package/dist/chunks/eo-select.71443114.js.map +1 -0
  40. package/dist/chunks/eo-submit-buttons.33292cc5.js +2 -0
  41. package/dist/chunks/eo-submit-buttons.33292cc5.js.map +1 -0
  42. package/dist/chunks/{eo-switch.a268bd46.js → eo-switch.705a763d.js} +3 -3
  43. package/dist/chunks/eo-switch.705a763d.js.map +1 -0
  44. package/dist/chunks/eo-textarea.2effdb28.js +3 -0
  45. package/dist/chunks/eo-textarea.2effdb28.js.map +1 -0
  46. package/dist/chunks/eo-time-picker.91c93658.js +2 -0
  47. package/dist/chunks/eo-time-picker.91c93658.js.map +1 -0
  48. package/dist/chunks/eo-time-range-picker.0d53f1af.js +2 -0
  49. package/dist/chunks/eo-time-range-picker.0d53f1af.js.map +1 -0
  50. package/dist/chunks/eo-upload-file.4c4003ec.js +3 -0
  51. package/dist/chunks/eo-upload-file.4c4003ec.js.map +1 -0
  52. package/dist/chunks/eo-upload-image.a0bbceeb.js +3 -0
  53. package/dist/chunks/eo-upload-image.a0bbceeb.js.map +1 -0
  54. package/dist/chunks/main.8c3217da.js +2 -0
  55. package/dist/chunks/main.8c3217da.js.map +1 -0
  56. package/dist/{index.2beffd3c.js → index.710badbf.js} +2 -2
  57. package/dist/index.710badbf.js.map +1 -0
  58. package/dist/manifest.json +39 -11
  59. package/dist/types.json +1187 -1140
  60. package/dist-types/form/index.d.ts +14 -3
  61. package/dist-types/form-item/convertToItemColName.d.ts +5 -0
  62. package/dist-types/form-item/convertToItemColName.spec.d.ts +1 -0
  63. package/dist-types/form-item/index.d.ts +3 -13
  64. package/dist-types/submit-buttons/index.d.ts +2 -1
  65. package/dist-types/upload/Upload.d.ts +1 -0
  66. package/dist-types/upload/upload-file/i18n.d.ts +2 -1
  67. package/dist-types/upload/upload-file/index.d.ts +23 -0
  68. package/dist-types/upload/utils.d.ts +6 -1
  69. package/package.json +3 -3
  70. package/dist/chunks/3669.ca91bd61.js.map +0 -1
  71. package/dist/chunks/4669.1e1fa9e8.js +0 -2
  72. package/dist/chunks/4669.1e1fa9e8.js.map +0 -1
  73. package/dist/chunks/eo-auto-complete.6755dd52.js.map +0 -1
  74. package/dist/chunks/eo-checkbox.fa4ba425.js.map +0 -1
  75. package/dist/chunks/eo-date-picker.68507a30.js.map +0 -1
  76. package/dist/chunks/eo-dynamic-form-item.180e1294.js +0 -3
  77. package/dist/chunks/eo-dynamic-form-item.180e1294.js.map +0 -1
  78. package/dist/chunks/eo-form-item.f07d780c.js +0 -3
  79. package/dist/chunks/eo-form-item.f07d780c.js.map +0 -1
  80. package/dist/chunks/eo-form.d80c1a20.js +0 -2
  81. package/dist/chunks/eo-form.d80c1a20.js.map +0 -1
  82. package/dist/chunks/eo-icon-select.3fd963d3.js.map +0 -1
  83. package/dist/chunks/eo-input.e187ee39.js +0 -3
  84. package/dist/chunks/eo-input.e187ee39.js.map +0 -1
  85. package/dist/chunks/eo-radio.138abeac.js +0 -3
  86. package/dist/chunks/eo-radio.138abeac.js.map +0 -1
  87. package/dist/chunks/eo-search.a8b8191a.js +0 -2
  88. package/dist/chunks/eo-select.8f3336c3.js.map +0 -1
  89. package/dist/chunks/eo-submit-buttons.b1efaef0.js +0 -2
  90. package/dist/chunks/eo-submit-buttons.b1efaef0.js.map +0 -1
  91. package/dist/chunks/eo-switch.a268bd46.js.map +0 -1
  92. package/dist/chunks/eo-textarea.94e5e73f.js +0 -3
  93. package/dist/chunks/eo-textarea.94e5e73f.js.map +0 -1
  94. package/dist/chunks/eo-time-picker.aaaf13fc.js +0 -2
  95. package/dist/chunks/eo-time-picker.aaaf13fc.js.map +0 -1
  96. package/dist/chunks/eo-time-range-picker.bb7cadbc.js +0 -2
  97. package/dist/chunks/eo-time-range-picker.bb7cadbc.js.map +0 -1
  98. package/dist/chunks/eo-upload-file.673971b0.js +0 -3
  99. package/dist/chunks/eo-upload-file.673971b0.js.map +0 -1
  100. package/dist/chunks/eo-upload-image.6acad592.js +0 -3
  101. package/dist/chunks/eo-upload-image.6acad592.js.map +0 -1
  102. package/dist/chunks/main.4c4af774.js +0 -2
  103. package/dist/chunks/main.4c4af774.js.map +0 -1
  104. package/dist/index.2beffd3c.js.map +0 -1
  105. /package/dist/chunks/{5789.d59ac23c.js.LICENSE.txt → 5789.aa34d165.js.LICENSE.txt} +0 -0
  106. /package/dist/chunks/{eo-auto-complete.6755dd52.js.LICENSE.txt → eo-auto-complete.97bd590a.js.LICENSE.txt} +0 -0
  107. /package/dist/chunks/{eo-dynamic-form-item.180e1294.js.LICENSE.txt → eo-dynamic-form-item.8b1efb9c.js.LICENSE.txt} +0 -0
  108. /package/dist/chunks/{eo-form-item.f07d780c.js.LICENSE.txt → eo-form-item.1a1aaa2e.js.LICENSE.txt} +0 -0
  109. /package/dist/chunks/{eo-icon-select.3fd963d3.js.LICENSE.txt → eo-icon-select.8181e65d.js.LICENSE.txt} +0 -0
  110. /package/dist/chunks/{eo-input.e187ee39.js.LICENSE.txt → eo-input.dd93b28f.js.LICENSE.txt} +0 -0
  111. /package/dist/chunks/{eo-radio.138abeac.js.LICENSE.txt → eo-radio.14a11c0d.js.LICENSE.txt} +0 -0
  112. /package/dist/chunks/{eo-select.8f3336c3.js.LICENSE.txt → eo-select.71443114.js.LICENSE.txt} +0 -0
  113. /package/dist/chunks/{eo-switch.a268bd46.js.LICENSE.txt → eo-switch.705a763d.js.LICENSE.txt} +0 -0
  114. /package/dist/chunks/{eo-textarea.94e5e73f.js.LICENSE.txt → eo-textarea.2effdb28.js.LICENSE.txt} +0 -0
  115. /package/dist/chunks/{eo-upload-file.673971b0.js.LICENSE.txt → eo-upload-file.4c4003ec.js.LICENSE.txt} +0 -0
  116. /package/dist/chunks/{eo-upload-image.6acad592.js.LICENSE.txt → eo-upload-image.a0bbceeb.js.LICENSE.txt} +0 -0
@@ -1,2 +1,2 @@
1
- "use strict";(self.webpackChunk_next_bricks_form=self.webpackChunk_next_bricks_form||[]).push([[5381,6660,4795],{4795:(e,r,t)=>{function n(e,r,t,n,u,a,i){try{var c=e[a](i),s=c.value}catch(e){return void t(e)}c.done?r(s):Promise.resolve(s).then(n,u)}function u(e){return function(){var r=this,t=arguments;return new Promise((function(u,a){var i=e.apply(r,t);function c(e){n(i,u,a,c,s,"next",e)}function s(e){n(i,u,a,c,s,"throw",e)}c(void 0)}))}}t.d(r,{Z:()=>u})},6660:(e,r,t)=>{t.r(r),t.d(r,{ReactUseBrick:()=>i,ReactUseMultipleBricks:()=>c,useCurrentApp:()=>f,useCurrentTheme:()=>d,useRecentApps:()=>v,useRouteRender:()=>_});var n=t(4795),u=t(8657),a=t(9018),i=function(e){var{useBrick:r,data:t}=e,[i,c]=(0,u.useState)(null),s=(0,u.useRef)(),[o,l]=(0,u.useState)(),d=(0,u.useRef)(0),v=(0,u.useMemo)((()=>{var e;return null===(e=a.__secret_internals.getRenderId)||void 0===e?void 0:e.call(a.__secret_internals)}),[]);(0,u.useEffect)((()=>{function e(){return e=(0,n.Z)((function*(){try{c(yield a.__secret_internals.renderUseBrick(r,t)),l(++d.current)}catch(e){(function(e){var r,t=null===(r=a.__secret_internals.getRenderId)||void 0===r?void 0:r.call(a.__secret_internals);return!e||!t||e===t})(v)&&(console.error("Render useBrick failed:",r,"with data:",t),(0,a.handleHttpError)(e))}})),e.apply(this,arguments)}!function(){e.apply(this,arguments)}()}),[t,r,v]);var f=(0,u.useCallback)((e=>{e?s.current=a.__secret_internals.mountUseBrick(i,e):(a.__secret_internals.unmountUseBrick(i,s.current),s.current=void 0)}),[i]);if(!i)return null;var{tagName:_}=i;if(null===_)return null;var m=_;return u.createElement(m,{key:o,ref:f})},c=function(e){var{useBrick:r,data:t}=e;return Array.isArray(r)?u.createElement(u.Fragment,null,r.map(((e,r)=>u.createElement(i,{key:r,useBrick:e,data:t})))):u.createElement(i,{useBrick:r,data:t})},s=(0,a.getV2RuntimeFromDll)();if(s){var{SingleBrickAsComponentFactory:o,BrickAsComponentFactory:l}=s;o&&l&&(i=o(u),c=l(u))}function d(){var[e,r]=(0,u.useState)(a.getCurrentTheme);return(0,u.useEffect)((()=>{var e=e=>{r(e.detail)};return window.addEventListener("theme.change",e),()=>{window.removeEventListener("theme.change",e)}}),[]),e}function v(){var[e,r]=u.useState((()=>(0,a.getRuntime)().getRecentApps()));return u.useEffect((()=>{var e=e=>{r(e.detail)};return window.addEventListener("app.change",e),()=>window.removeEventListener("app.change",e)}),[]),e}function f(){return v().currentApp}function _(){var[e,r]=u.useState(null);return u.useEffect((()=>{var e=e=>{r(e.detail)};return window.addEventListener("route.render",e),()=>window.removeEventListener("route.render",e)}),[]),e}}}]);
2
- //# sourceMappingURL=5381.0d64e137.js.map
1
+ "use strict";(self.webpackChunk_next_bricks_form=self.webpackChunk_next_bricks_form||[]).push([[5381,6660,4795],{4795:(e,r,t)=>{function n(e,r,t,n,u,a,i){try{var c=e[a](i),s=c.value}catch(e){return void t(e)}c.done?r(s):Promise.resolve(s).then(n,u)}function u(e){return function(){var r=this,t=arguments;return new Promise((function(u,a){var i=e.apply(r,t);function c(e){n(i,u,a,c,s,"next",e)}function s(e){n(i,u,a,c,s,"throw",e)}c(void 0)}))}}t.d(r,{Z:()=>u})},6660:(e,r,t)=>{t.r(r),t.d(r,{ReactUseBrick:()=>i,ReactUseMultipleBricks:()=>c,useCurrentApp:()=>f,useCurrentTheme:()=>d,useRecentApps:()=>v,useRouteRender:()=>_});var n=t(4795),u=t(8657),a=t(8356),i=function(e){var{useBrick:r,data:t}=e,[i,c]=(0,u.useState)(null),s=(0,u.useRef)(),[o,l]=(0,u.useState)(),d=(0,u.useRef)(0),v=(0,u.useMemo)((()=>{var e;return null===(e=a.__secret_internals.getRenderId)||void 0===e?void 0:e.call(a.__secret_internals)}),[]);(0,u.useEffect)((()=>{function e(){return e=(0,n.Z)((function*(){try{c(yield a.__secret_internals.renderUseBrick(r,t)),l(++d.current)}catch(e){(function(e){var r,t=null===(r=a.__secret_internals.getRenderId)||void 0===r?void 0:r.call(a.__secret_internals);return!e||!t||e===t})(v)&&(console.error("Render useBrick failed:",r,"with data:",t),(0,a.handleHttpError)(e))}})),e.apply(this,arguments)}!function(){e.apply(this,arguments)}()}),[t,r,v]);var f=(0,u.useCallback)((e=>{e?s.current=a.__secret_internals.mountUseBrick(i,e):(a.__secret_internals.unmountUseBrick(i,s.current),s.current=void 0)}),[i]);if(!i)return null;var{tagName:_}=i;if(null===_)return null;var m=_;return u.createElement(m,{key:o,ref:f})},c=function(e){var{useBrick:r,data:t}=e;return Array.isArray(r)?u.createElement(u.Fragment,null,r.map(((e,r)=>u.createElement(i,{key:r,useBrick:e,data:t})))):u.createElement(i,{useBrick:r,data:t})},s=(0,a.getV2RuntimeFromDll)();if(s){var{SingleBrickAsComponentFactory:o,BrickAsComponentFactory:l}=s;o&&l&&(i=o(u),c=l(u))}function d(){var[e,r]=(0,u.useState)(a.getCurrentTheme);return(0,u.useEffect)((()=>{var e=e=>{r(e.detail)};return window.addEventListener("theme.change",e),()=>{window.removeEventListener("theme.change",e)}}),[]),e}function v(){var[e,r]=u.useState((()=>(0,a.getRuntime)().getRecentApps()));return u.useEffect((()=>{var e=e=>{r(e.detail)};return window.addEventListener("app.change",e),()=>window.removeEventListener("app.change",e)}),[]),e}function f(){return v().currentApp}function _(){var[e,r]=u.useState(null);return u.useEffect((()=>{var e=e=>{r(e.detail)};return window.addEventListener("route.render",e),()=>window.removeEventListener("route.render",e)}),[]),e}}}]);
2
+ //# sourceMappingURL=5381.6d07e197.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"chunks/5381.0d64e137.js","mappings":"gIAAA,SAASA,EAAmBC,EAAKC,EAASC,EAAQC,EAAOC,EAAQC,EAAKC,GACpE,IACE,IAAIC,EAAOP,EAAIK,GAAKC,GAChBE,EAAQD,EAAKC,KACnB,CAAE,MAAOC,GAEP,YADAP,EAAOO,EAET,CACIF,EAAKG,KACPT,EAAQO,GAERG,QAAQV,QAAQO,GAAOI,KAAKT,EAAOC,EAEvC,CACe,SAASS,EAAkBC,GACxC,OAAO,WACL,IAAIC,EAAOC,KACTC,EAAOC,UACT,OAAO,IAAIP,SAAQ,SAAUV,EAASC,GACpC,IAAIF,EAAMc,EAAGK,MAAMJ,EAAME,GACzB,SAASd,EAAMK,GACbT,EAAmBC,EAAKC,EAASC,EAAQC,EAAOC,EAAQ,OAAQI,EAClE,CACA,SAASJ,EAAOgB,GACdrB,EAAmBC,EAAKC,EAASC,EAAQC,EAAOC,EAAQ,QAASgB,EACnE,CACAjB,OAAMkB,EACR,GACF,CACF,C,uNCxBIC,EAAgB,SAAuBC,GACzC,IAAI,SACFC,EAAQ,KACRC,GACEF,GACCG,EAAcC,IAAmB,IAAAC,UAAS,MAC3CC,GAAc,IAAAC,WACbC,EAAWC,IAAgB,IAAAJ,YAC5BK,GAAe,IAAAH,QAAO,GACtBI,GAAkB,IAAAC,UAAQ,KAC5B,IAAIC,EACJ,OAAmE,QAA3DA,EAAuB,EAAAC,mBAAmBC,mBAAkD,IAAzBF,OAAkC,EAASA,EAAq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AAAC,uBAEZ,GAAID,EAAO,CACT,IAAI,8BACFE,EAA6B,wBAC7BC,GACEH,EACAE,GAAiCC,IACnC9C,EAAgB6C,EAA8B,GAC9CT,EAAyBU,EAAwB,GAErD,CCzGO,SAASC,IACd,IAAKC,EAAcC,IAAmB,IAAA3C,UAAS,EAAA4C,iBAU/C,OATA,IAAAhC,YAAU,KACR,IAAIiC,EAAsBC,IACxBH,EAAgBG,EAAMC,OAAO,EAG/B,OADAC,OAAOC,iBAAiB,eAAgBJ,GACjC,KACLG,OAAOE,oBAAoB,eAAgBL,EAAoB,CAChE,GACA,IACIH,CACT,CCZO,SAASS,IACd,IAAKC,EAAYC,GAAiB,YAAe,KAAM,IAAAC,cAAaC,kBAQpE,OAPA,aAAgB,KACd,IAAIC,EAAWV,IACbO,EAAcP,EAAMC,OAAO,EAG7B,OADAC,OAAOC,iBAAiB,aAAcO,GAC/B,IAAMR,OAAOE,oBAAoB,aAAcM,EAAS,GAC9D,IACIJ,CACT,CCIO,SAASK,IACd,OAAON,IAAgBO,UACzB,CCjBO,SAASC,IACd,IAAKC,EAAaC,GAAkB,WAAe,MAQnD,OAPA,aAAgB,KACd,IAAIL,EAAWV,IACbe,EAAef,EAAMC,OAAO,EAG9B,OADAC,OAAOC,iBAAiB,eAAgBO,GACjC,IAAMR,OAAOE,oBAAoB,eAAgBM,EAAS,GAChE,IACII,CACT,C","sources":["webpack:///../../node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js","webpack:///../../node_modules/@next-core/react-runtime/dist/esm/ReactUseBrick.js","webpack:///../../node_modules/@next-core/react-runtime/dist/esm/useCurrentTheme.js","webpack:///../../node_modules/@next-core/react-runtime/dist/esm/useRecentApps.js","webpack:///../../node_modules/@next-core/react-runtime/dist/esm/useCurrentApp.js","webpack:///../../node_modules/@next-core/react-runtime/dist/esm/useRouteRender.js"],"sourcesContent":["function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {\n try {\n var info = gen[key](arg);\n var value = info.value;\n } catch (error) {\n reject(error);\n return;\n }\n if (info.done) {\n resolve(value);\n } else {\n Promise.resolve(value).then(_next, _throw);\n }\n}\nexport default function _asyncToGenerator(fn) {\n return function () {\n var self = this,\n args = arguments;\n return new Promise(function (resolve, reject) {\n var gen = fn.apply(self, args);\n function _next(value) {\n asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"next\", value);\n }\n function _throw(err) {\n asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"throw\", err);\n }\n _next(undefined);\n });\n };\n}","import _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport React, { useCallback, useEffect, useMemo, useRef, useState } from \"react\";\nimport { __secret_internals, handleHttpError, getV2RuntimeFromDll } from \"@next-core/runtime\";\n// Note: always synchronize code in LegacyUseBrick:\n// `bricks/v2-adapter/src/data-providers/legacy-brick-kit/getLegacyUseBrick.ts`\nvar ReactUseBrick = function ReactUseBrick(_ref) {\n var {\n useBrick,\n data\n } = _ref;\n var [renderResult, setRenderResult] = useState(null);\n var mountResult = useRef();\n var [renderKey, setRenderKey] = useState();\n var IdCounterRef = useRef(0);\n var initialRenderId = useMemo(() => {\n var _secret_internals$ge;\n return (_secret_internals$ge = __secret_internals.getRenderId) === null || _secret_internals$ge === void 0 ? void 0 : _secret_internals$ge.call(__secret_internals);\n }, []);\n useEffect(() => {\n function init() {\n return _init.apply(this, arguments);\n }\n function _init() {\n _init = _asyncToGenerator(function* () {\n try {\n setRenderResult(yield __secret_internals.renderUseBrick(useBrick, data));\n setRenderKey(getUniqueId(IdCounterRef));\n } catch (error) {\n if (isTheSameRender(initialRenderId)) {\n // eslint-disable-next-line no-console\n console.error(\"Render useBrick failed:\", useBrick, \"with data:\", data);\n handleHttpError(error);\n }\n }\n });\n return _init.apply(this, arguments);\n }\n init();\n }, [data, useBrick, initialRenderId]);\n var refCallback = useCallback(element => {\n if (element) {\n mountResult.current = __secret_internals.mountUseBrick(\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n renderResult, element);\n } else {\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n __secret_internals.unmountUseBrick(renderResult, mountResult.current);\n mountResult.current = undefined;\n }\n }, [renderResult]);\n if (!renderResult) {\n // Fallback when loading/\n return null;\n // return <span>🌀 Loading...</span>;\n }\n\n var {\n tagName\n } = renderResult;\n if (tagName === null) {\n return null;\n }\n var WebComponent = tagName;\n return /*#__PURE__*/React.createElement(WebComponent, {\n key: renderKey,\n ref: refCallback\n });\n};\nfunction getUniqueId(ref) {\n return ++ref.current;\n}\nfunction isTheSameRender(initialRenderId) {\n var _secret_internals$ge2;\n var newRenderId = (_secret_internals$ge2 = __secret_internals.getRenderId) === null || _secret_internals$ge2 === void 0 ? void 0 : _secret_internals$ge2.call(__secret_internals);\n return !initialRenderId || !newRenderId || initialRenderId === newRenderId;\n}\nvar ReactUseMultipleBricks = function ReactUseMultipleBricks(_ref2) {\n var {\n useBrick,\n data\n } = _ref2;\n if (Array.isArray(useBrick)) {\n return /*#__PURE__*/React.createElement(React.Fragment, null, useBrick.map((item, index) => /*#__PURE__*/React.createElement(ReactUseBrick, {\n key: index,\n useBrick: item,\n data: data\n })));\n }\n return /*#__PURE__*/React.createElement(ReactUseBrick, {\n useBrick: useBrick,\n data: data\n });\n};\n\n// Make v3 bricks compatible with Brick Next v2.\n// istanbul ignore next\nvar v2Kit = getV2RuntimeFromDll();\n// istanbul ignore next\nif (v2Kit) {\n var {\n SingleBrickAsComponentFactory,\n BrickAsComponentFactory\n } = v2Kit;\n if (SingleBrickAsComponentFactory && BrickAsComponentFactory) {\n ReactUseBrick = SingleBrickAsComponentFactory(React);\n ReactUseMultipleBricks = BrickAsComponentFactory(React);\n }\n}\nexport { ReactUseBrick, ReactUseMultipleBricks };\n//# sourceMappingURL=ReactUseBrick.js.map","import { useEffect, useState } from \"react\";\nimport { getCurrentTheme } from \"@next-core/runtime\";\nexport function useCurrentTheme() {\n var [currentTheme, setCurrentTheme] = useState(getCurrentTheme);\n useEffect(() => {\n var listenToThemeChange = event => {\n setCurrentTheme(event.detail);\n };\n window.addEventListener(\"theme.change\", listenToThemeChange);\n return () => {\n window.removeEventListener(\"theme.change\", listenToThemeChange);\n };\n }, []);\n return currentTheme;\n}\n//# sourceMappingURL=useCurrentTheme.js.map","import React from \"react\";\nimport { getRuntime } from \"@next-core/runtime\";\nexport function useRecentApps() {\n var [recentApps, setRecentApps] = React.useState(() => getRuntime().getRecentApps());\n React.useEffect(() => {\n var listener = event => {\n setRecentApps(event.detail);\n };\n window.addEventListener(\"app.change\", listener);\n return () => window.removeEventListener(\"app.change\", listener);\n }, []);\n return recentApps;\n}\n//# sourceMappingURL=useRecentApps.js.map","import { useRecentApps } from \"./useRecentApps.js\";\n\n/**\n * 获取当前所在微应用信息的 React hooks。\n *\n * @example\n *\n * ```tsx\n * function MyReactComponent() {\n * const app = useCurrentApp();\n * return <div>{app.id}</div>;\n * }\n * ```\n *\n * @returns 当前所在微应用的信息。\n */\nexport function useCurrentApp() {\n return useRecentApps().currentApp;\n}\n//# sourceMappingURL=useCurrentApp.js.map","import React from \"react\";\nexport function useRouteRender() {\n var [routeRender, setRouteRender] = React.useState(null);\n React.useEffect(() => {\n var listener = event => {\n setRouteRender(event.detail);\n };\n window.addEventListener(\"route.render\", listener);\n return () => window.removeEventListener(\"route.render\", listener);\n }, []);\n return routeRender;\n}\n//# sourceMappingURL=useRouteRender.js.map"],"names":["asyncGeneratorStep","gen","resolve","reject","_next","_throw","key","arg","info","value","error","done","Promise","then","_asyncToGenerator","fn","self","this","args","arguments","apply","err","undefined","ReactUseBrick","_ref","useBrick","data","renderResult","setRenderResult","useState","mountResult","useRef","renderKey","setRenderKey","IdCounterRef","initialRenderId","useMemo","_secret_internals$ge","__secret_internals","getRenderId","call","useEffect","_init","renderUseBrick","current","_secret_internals$ge2","newRenderId","isTheSameRender","console","handleHttpError","init","refCallback","useCallback","element","mountUseBrick","unmountUseBrick","tagName","WebComponent","ref","ReactUseMultipleBricks","_ref2","Array","isArray","map","item","index","v2Kit","getV2RuntimeFromDll","SingleBrickAsComponentFactory","BrickAsComponentFactory","useCurrentTheme","currentTheme","setCurrentTheme","getCurrentTheme","listenToThemeChange","event","detail","window","addEventListener","removeEventListener","useRecentApps","recentApps","setRecentApps","getRuntime","getRecentApps","listener","useCurrentApp","currentApp","useRouteRender","routeRender","setRouteRender"],"sourceRoot":""}
1
+ {"version":3,"file":"chunks/5381.6d07e197.js","mappings":"gIAAA,SAASA,EAAmBC,EAAKC,EAASC,EAAQC,EAAOC,EAAQC,EAAKC,GACpE,IACE,IAAIC,EAAOP,EAAIK,GAAKC,GAChBE,EAAQD,EAAKC,KACnB,CAAE,MAAOC,GAEP,YADAP,EAAOO,EAET,CACIF,EAAKG,KACPT,EAAQO,GAERG,QAAQV,QAAQO,GAAOI,KAAKT,EAAOC,EAEvC,CACe,SAASS,EAAkBC,GACxC,OAAO,WACL,IAAIC,EAAOC,KACTC,EAAOC,UACT,OAAO,IAAIP,SAAQ,SAAUV,EAASC,GACpC,IAAIF,EAAMc,EAAGK,MAAMJ,EAAME,GACzB,SAASd,EAAMK,GACbT,EAAmBC,EAAKC,EAASC,EAAQC,EAAOC,EAAQ,OAAQI,EAClE,CACA,SAASJ,EAAOgB,GACdrB,EAAmBC,EAAKC,EAASC,EAAQC,EAAOC,EAAQ,QAASgB,EACnE,CACAjB,OAAMkB,EACR,GACF,CACF,C,uNCxBIC,EAAgB,SAAuBC,GACzC,IAAI,SACFC,EAAQ,KACRC,GACEF,GACCG,EAAcC,IAAmB,IAAAC,UAAS,MAC3CC,GAAc,IAAAC,WACbC,EAAWC,IAAgB,IAAAJ,YAC5BK,GAAe,IAAAH,QAAO,GACtBI,GAAkB,IAAAC,UAAQ,KAC5B,IAAIC,EACJ,OAAmE,QAA3DA,EAAuB,EAAAC,mBAAmBC,mBAAkD,IAAzBF,OAAkC,EAASA,EAAqBG,KAAK,EAAAF,mBAAmB,GAClK,KACH,IAAAG,YAAU,KAIR,SAASC,IAaP,OAZAA,GAA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CC,IACnC9C,EAAgB6C,EAA8B,GAC9CT,EAAyBU,EAAwB,GAErD,CCzGO,SAASC,IACd,IAAKC,EAAcC,IAAmB,IAAA3C,UAAS,EAAA4C,iBAU/C,OATA,IAAAhC,YAAU,KACR,IAAIiC,EAAsBC,IACxBH,EAAgBG,EAAMC,OAAO,EAG/B,OADAC,OAAOC,iBAAiB,eAAgBJ,GACjC,KACLG,OAAOE,oBAAoB,eAAgBL,EAAoB,CAChE,GACA,IACIH,CACT,CCZO,SAASS,IACd,IAAKC,EAAYC,GAAiB,YAAe,KAAM,IAAAC,cAAaC,kBAQpE,OAPA,aAAgB,KACd,IAAIC,EAAWV,IACbO,EAAcP,EAAMC,OAAO,EAG7B,OADAC,OAAOC,iBAAiB,aAAcO,GAC/B,IAAMR,OAAOE,oBAAoB,aAAcM,EAAS,GAC9D,IACIJ,CACT,CCIO,SAASK,IACd,OAAON,IAAgBO,UACzB,CCjBO,SAASC,IACd,IAAKC,EAAaC,GAAkB,WAAe,MAQnD,OAPA,aAAgB,KACd,IAAIL,EAAWV,IACbe,EAAef,EAAMC,OAAO,EAG9B,OADAC,OAAOC,iBAAiB,eAAgBO,GACjC,IAAMR,OAAOE,oBAAoB,eAAgBM,EAAS,GAChE,IACII,CACT,C","sources":["webpack:///../../node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js","webpack:///../../node_modules/@next-core/react-runtime/dist/esm/ReactUseBrick.js","webpack:///../../node_modules/@next-core/react-runtime/dist/esm/useCurrentTheme.js","webpack:///../../node_modules/@next-core/react-runtime/dist/esm/useRecentApps.js","webpack:///../../node_modules/@next-core/react-runtime/dist/esm/useCurrentApp.js","webpack:///../../node_modules/@next-core/react-runtime/dist/esm/useRouteRender.js"],"sourcesContent":["function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {\n try {\n var info = gen[key](arg);\n var value = info.value;\n } catch (error) {\n reject(error);\n return;\n }\n if (info.done) {\n resolve(value);\n } else {\n Promise.resolve(value).then(_next, _throw);\n }\n}\nexport default function _asyncToGenerator(fn) {\n return function () {\n var self = this,\n args = arguments;\n return new Promise(function (resolve, reject) {\n var gen = fn.apply(self, args);\n function _next(value) {\n asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"next\", value);\n }\n function _throw(err) {\n asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"throw\", err);\n }\n _next(undefined);\n });\n };\n}","import _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport React, { useCallback, useEffect, useMemo, useRef, useState } from \"react\";\nimport { __secret_internals, handleHttpError, getV2RuntimeFromDll } from \"@next-core/runtime\";\n// Note: always synchronize code in LegacyUseBrick:\n// `bricks/v2-adapter/src/data-providers/legacy-brick-kit/getLegacyUseBrick.ts`\nvar ReactUseBrick = function ReactUseBrick(_ref) {\n var {\n useBrick,\n data\n } = _ref;\n var [renderResult, setRenderResult] = useState(null);\n var mountResult = useRef();\n var [renderKey, setRenderKey] = useState();\n var IdCounterRef = useRef(0);\n var initialRenderId = useMemo(() => {\n var _secret_internals$ge;\n return (_secret_internals$ge = __secret_internals.getRenderId) === null || _secret_internals$ge === void 0 ? void 0 : _secret_internals$ge.call(__secret_internals);\n }, []);\n useEffect(() => {\n function init() {\n return _init.apply(this, arguments);\n }\n function _init() {\n _init = _asyncToGenerator(function* () {\n try {\n setRenderResult(yield __secret_internals.renderUseBrick(useBrick, data));\n setRenderKey(getUniqueId(IdCounterRef));\n } catch (error) {\n if (isTheSameRender(initialRenderId)) {\n // eslint-disable-next-line no-console\n console.error(\"Render useBrick failed:\", useBrick, \"with data:\", data);\n handleHttpError(error);\n }\n }\n });\n return _init.apply(this, arguments);\n }\n init();\n }, [data, useBrick, initialRenderId]);\n var refCallback = useCallback(element => {\n if (element) {\n mountResult.current = __secret_internals.mountUseBrick(\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n renderResult, element);\n } else {\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n __secret_internals.unmountUseBrick(renderResult, mountResult.current);\n mountResult.current = undefined;\n }\n }, [renderResult]);\n if (!renderResult) {\n // Fallback when loading/\n return null;\n // return <span>🌀 Loading...</span>;\n }\n\n var {\n tagName\n } = renderResult;\n if (tagName === null) {\n return null;\n }\n var WebComponent = tagName;\n return /*#__PURE__*/React.createElement(WebComponent, {\n key: renderKey,\n ref: refCallback\n });\n};\nfunction getUniqueId(ref) {\n return ++ref.current;\n}\nfunction isTheSameRender(initialRenderId) {\n var _secret_internals$ge2;\n var newRenderId = (_secret_internals$ge2 = __secret_internals.getRenderId) === null || _secret_internals$ge2 === void 0 ? void 0 : _secret_internals$ge2.call(__secret_internals);\n return !initialRenderId || !newRenderId || initialRenderId === newRenderId;\n}\nvar ReactUseMultipleBricks = function ReactUseMultipleBricks(_ref2) {\n var {\n useBrick,\n data\n } = _ref2;\n if (Array.isArray(useBrick)) {\n return /*#__PURE__*/React.createElement(React.Fragment, null, useBrick.map((item, index) => /*#__PURE__*/React.createElement(ReactUseBrick, {\n key: index,\n useBrick: item,\n data: data\n })));\n }\n return /*#__PURE__*/React.createElement(ReactUseBrick, {\n useBrick: useBrick,\n data: data\n });\n};\n\n// Make v3 bricks compatible with Brick Next v2.\n// istanbul ignore next\nvar v2Kit = getV2RuntimeFromDll();\n// istanbul ignore next\nif (v2Kit) {\n var {\n SingleBrickAsComponentFactory,\n BrickAsComponentFactory\n } = v2Kit;\n if (SingleBrickAsComponentFactory && BrickAsComponentFactory) {\n ReactUseBrick = SingleBrickAsComponentFactory(React);\n ReactUseMultipleBricks = BrickAsComponentFactory(React);\n }\n}\nexport { ReactUseBrick, ReactUseMultipleBricks };\n//# sourceMappingURL=ReactUseBrick.js.map","import { useEffect, useState } from \"react\";\nimport { getCurrentTheme } from \"@next-core/runtime\";\nexport function useCurrentTheme() {\n var [currentTheme, setCurrentTheme] = useState(getCurrentTheme);\n useEffect(() => {\n var listenToThemeChange = event => {\n setCurrentTheme(event.detail);\n };\n window.addEventListener(\"theme.change\", listenToThemeChange);\n return () => {\n window.removeEventListener(\"theme.change\", listenToThemeChange);\n };\n }, []);\n return currentTheme;\n}\n//# sourceMappingURL=useCurrentTheme.js.map","import React from \"react\";\nimport { getRuntime } from \"@next-core/runtime\";\nexport function useRecentApps() {\n var [recentApps, setRecentApps] = React.useState(() => getRuntime().getRecentApps());\n React.useEffect(() => {\n var listener = event => {\n setRecentApps(event.detail);\n };\n window.addEventListener(\"app.change\", listener);\n return () => window.removeEventListener(\"app.change\", listener);\n }, []);\n return recentApps;\n}\n//# sourceMappingURL=useRecentApps.js.map","import { useRecentApps } from \"./useRecentApps.js\";\n\n/**\n * 获取当前所在微应用信息的 React hooks。\n *\n * @example\n *\n * ```tsx\n * function MyReactComponent() {\n * const app = useCurrentApp();\n * return <div>{app.id}</div>;\n * }\n * ```\n *\n * @returns 当前所在微应用的信息。\n */\nexport function useCurrentApp() {\n return useRecentApps().currentApp;\n}\n//# sourceMappingURL=useCurrentApp.js.map","import React from \"react\";\nexport function useRouteRender() {\n var [routeRender, setRouteRender] = React.useState(null);\n React.useEffect(() => {\n var listener = event => {\n setRouteRender(event.detail);\n };\n window.addEventListener(\"route.render\", listener);\n return () => window.removeEventListener(\"route.render\", listener);\n }, []);\n return routeRender;\n}\n//# sourceMappingURL=useRouteRender.js.map"],"names":["asyncGeneratorStep","gen","resolve","reject","_next","_throw","key","arg","info","value","error","done","Promise","then","_asyncToGenerator","fn","self","this","args","arguments","apply","err","undefined","ReactUseBrick","_ref","useBrick","data","renderResult","setRenderResult","useState","mountResult","useRef","renderKey","setRenderKey","IdCounterRef","initialRenderId","useMemo","_secret_internals$ge","__secret_internals","getRenderId","call","useEffect","_init","renderUseBrick","current","_secret_internals$ge2","newRenderId","isTheSameRender","console","handleHttpError","init","refCallback","useCallback","element","mountUseBrick","unmountUseBrick","tagName","WebComponent","ref","ReactUseMultipleBricks","_ref2","Array","isArray","map","item","index","v2Kit","getV2RuntimeFromDll","SingleBrickAsComponentFactory","BrickAsComponentFactory","useCurrentTheme","currentTheme","setCurrentTheme","getCurrentTheme","listenToThemeChange","event","detail","window","addEventListener","removeEventListener","useRecentApps","recentApps","setRecentApps","getRuntime","getRecentApps","listener","useCurrentApp","currentApp","useRouteRender","routeRender","setRouteRender"],"sourceRoot":""}
@@ -0,0 +1,2 @@
1
+ "use strict";(self.webpackChunk_next_bricks_form=self.webpackChunk_next_bricks_form||[]).push([[5716],{7401:(l,m,o)=>{function e(l,m){var o="";return l&&"horizontal"===m?(l.span&&(o+="form-item-col-".concat(l.span," ")),l.offset&&(o+="form-item-col-offset-".concat(l.offset," ")),["sm","md","lg","xl","xxl"].forEach((m=>{var e=l[m];e&&(["number","string"].includes(typeof e)?o+="form-item-col-".concat(m,"-").concat(e," "):(e.span&&(o+="form-item-col-".concat(m,"-").concat(e.span," ")),e.offset&&(o+="form-item-col-".concat(m,"-offset-").concat(e.offset," "))))})),o):o}function t(l,m){var o,e,t,f,i;"number"==typeof m||"string"==typeof m?(t=m,f=0):(t=m.span,f=+(null!==(i=m.offset)&&void 0!==i?i:0));var r=("number"==typeof l||"string"==typeof l?+l:+(null!==(o=l.span)&&void 0!==o?o:0)+ +(null!==(e=l.offset)&&void 0!==e?e:0))+f;return+t+r>24&&(r=f),{span:t,offset:r}}function f(l,m){return void 0!==m.span?t(l,m):Object.fromEntries(Object.entries(m).map((m=>{var[o,e]=m;return[o,t(l[o],e)]})))}o.d(m,{Yi:()=>e,uv:()=>f})},7673:(l,m,o)=>{o.d(m,{Z:()=>r});var e=o(9601),t=o.n(e),f=o(2609),i=o.n(f)()(t());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%}.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.vertical{flex-direction:column}.form-item.vertical > .form-item-label-wrapper{text-align:left;line-height:1;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:34px;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:32px}.form-item-control{flex:1}.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()},5576:(l,m,o)=>{o.d(m,{G:()=>N});var e,t,f,i,r,a,c,x,s,d,n,g,h=o(3395),p=o(381),b=o(687),w=o(2604),k=o(5366),y=o(4511),{method:u,property:v}=(0,k.createDecorators)();e=v({attribute:!1}),f=v({attribute:!1}),r=v({attribute:!1}),c=v({attribute:!1}),s=u(),d=u();var Z=new WeakMap,z=new WeakMap,M=new WeakMap,W=new WeakMap,_=new WeakMap,C=new WeakMap,E=new WeakMap,R=new WeakMap,B=new WeakMap,F=new WeakMap;class N extends y.ReactNextElement{constructor(){super(...arguments),(0,h.Z)(this,C,{get:$,set:q}),(0,h.Z)(this,W,{get:j,set:O}),(0,h.Z)(this,z,{get:I,set:S}),(0,h.Z)(this,Z,{writable:!0,value:!1}),(0,h.Z)(this,M,{writable:!0,value:"normal"}),(0,h.Z)(this,_,{writable:!0,value:!1}),(0,h.Z)(this,E,{writable:!0,value:(n(this),t(this))}),(0,h.Z)(this,R,{writable:!0,value:i(this)}),(0,h.Z)(this,B,{writable:!0,value:a(this)}),(0,h.Z)(this,F,{writable:!0,value:x(this)})}get isFormItemElement(){return!0}set validateState(l){(0,p.Z)(this,W,l),this._render()}get validateState(){return(0,b.Z)(this,W)}set notRender(l){this.hidden=l,(0,p.Z)(this,z,l),this._render()}get notRender(){return(0,b.Z)(this,z)}get $bindFormItem(){return(0,b.Z)(this,C)}set $bindFormItem(l){(0,p.Z)(this,C,l),this._render()}get helpBrick(){return(0,b.Z)(this,E)}set helpBrick(l){(0,p.Z)(this,E,l)}get labelBrick(){return(0,b.Z)(this,R)}set labelBrick(l){(0,p.Z)(this,R,l)}get labelCol(){return(0,b.Z)(this,B)}set labelCol(l){(0,p.Z)(this,B,l)}get wrapperCol(){return(0,b.Z)(this,F)}set wrapperCol(l){(0,p.Z)(this,F,l)}setNotRender(l){this.notRender=l}getFormElement(){for(var l=this;(l=l.parentNode)&&l&&!l.isFormElement;);return l}}function I(){return(0,b.Z)(this,Z)}function S(l){(0,p.Z)(this,Z,l)}function j(){return(0,b.Z)(this,M)}function O(l){(0,p.Z)(this,M,l)}function $(){return(0,b.Z)(this,_)}function q(l){(0,p.Z)(this,_,l)}g=N,[t,i,a,x,n]=(0,w.Z)(g,[[e,1,"helpBrick"],[f,1,"labelBrick"],[r,1,"labelCol"],[c,1,"wrapperCol"],[s,2,"setNotRender"],[d,2,"getFormElement"]],[],0,void 0,y.ReactNextElement).e}}]);
2
+ //# sourceMappingURL=5716.810c3a88.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chunks/5716.810c3a88.js","mappings":"sHAGO,SAASA,EACdC,EACAC,GAEA,IAAIC,EAAM,G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iB,IAAAR,EAAAA,EAAAA,GAAA,KAAAhC,EAAAwC,EAAA,UAAApB,IAAA,OAAAe,EAAAA,EAAAA,GAAA,KAAAhC,EAAA,UAAAkB,EAAAmB,IAAAR,EAAAA,EAAAA,GAAA,KAAA7B,EAAAqC,EAAA,UAAAvB,IAAA,OAAAkB,EAAAA,EAAAA,GAAA,KAAA9B,EAAA,UAAAc,EAAAqB,IAAAR,EAAAA,EAAAA,GAAA,KAAA3B,EAAAmC,EAAA,CA+ExCO,EA/EqBpC,GAAmBe,EAAAC,EAAAC,EAAAC,EAAAJ,IAAAuB,EAAAA,EAAAA,GAAAD,EAAA,EAAAtD,EAAA,gBAAAE,EAAA,iBAAAC,EAAA,eAAAC,EAAA,iBAAAC,EAAA,mBAAAC,EAAA,iCAASa,EAAAA,kBAAgBqC,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%}.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.vertical{flex-direction:column}.form-item.vertical > .form-item-label-wrapper{text-align:left;line-height:1;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:34px;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:32px}.form-item-control{flex:1}.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","concat","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","_dec","attribute","_dec2","_dec3","_dec4","_dec5","_dec6","_A","WeakMap","_notRender","_B","_validate","_C","_bindFormItem","_D","_E","_F","_G","FormItemElementBase","ReactNextElement","constructor","arguments","_classPrivateFieldInitSpec","get","_get_bindFormItem","set","_set_bindFormItem","_get_validate","_set_validate","_get__notRender","_set__notRender","writable","_initProto","_init_helpBrick","_init_labelBrick","_init_labelCol","_init_wrapperCol","isFormItemElement","validateState","_classPrivateFieldSet","this","_render","_classPrivateFieldGet","notRender","hidden","$bindFormItem","helpBrick","v","labelBrick","setNotRender","getFormElement","element","parentNode","isFormElement","_class","_applyDecs","e"],"sourceRoot":""}