@nocobase/app 2.3.0-alpha.1 → 3.0.0-alpha.2

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 (273) hide show
  1. package/__tests__/browserChecker.test.ts +129 -0
  2. package/__tests__/settingsDevProxy.test.ts +96 -0
  3. package/__tests__/settingsPluginImports.test.ts +106 -0
  4. package/client/rsbuild.config.ts +37 -15
  5. package/client-settings/generatePluginImports.ts +36 -0
  6. package/client-settings/index.html +11 -0
  7. package/client-settings/rsbuild.config.ts +270 -0
  8. package/client-settings/src/.plugins/index.ts +4 -0
  9. package/client-settings/src/SettingsPresetPlugin.ts +56 -0
  10. package/client-settings/src/__tests__/runtimePublicPath.test.ts +23 -0
  11. package/client-settings/src/__tests__/runtimeScope.test.ts +29 -0
  12. package/client-settings/src/env.d.ts +22 -0
  13. package/client-settings/src/main.tsx +78 -0
  14. package/client-settings/src/runtimePublicPath.ts +21 -0
  15. package/client-settings/src/runtimeScope.ts +49 -0
  16. package/client-settings/tsconfig.json +19 -0
  17. package/client-v2/public/browser-checker.js +76 -1
  18. package/client-v2/rsbuild.config.ts +31 -9
  19. package/dist/client/assets/{index-800d06ee.js → index-c94119b4.js} +369 -355
  20. package/dist/client/assets/{vendor-antd-f421fb70.js → vendor-antd-b77deb8f.js} +4 -4
  21. package/dist/client/index.html +1 -1
  22. package/dist/client/index.html.tpl +1 -1
  23. package/dist/client/settings/assets/1052-2ed99808.js +1 -0
  24. package/dist/client/settings/assets/108-76a3fdea.js +82 -0
  25. package/dist/client/settings/assets/108-76a3fdea.js.LICENSE.txt +17 -0
  26. package/dist/client/settings/assets/1101-53bb815a.js +1 -0
  27. package/dist/client/settings/assets/1179-1ec4826c.js +1 -0
  28. package/dist/client/settings/assets/1310-c0031389.js +59 -0
  29. package/dist/client/settings/assets/1329-0e47aabd.js +1 -0
  30. package/dist/client/settings/assets/1425-69534606.js +42 -0
  31. package/dist/client/settings/assets/1434-d603f255.js +1 -0
  32. package/dist/client/settings/assets/1463-11b9abe3.js +1 -0
  33. package/dist/client/settings/assets/1469-477cfa59.js +1 -0
  34. package/dist/client/settings/assets/1481-59e4188c.js +1 -0
  35. package/dist/client/settings/assets/1507-9a211af0.js +7 -0
  36. package/dist/client/settings/assets/158-5273dfbb.js +23 -0
  37. package/dist/client/settings/assets/1586-73831f88.js +1 -0
  38. package/dist/client/settings/assets/1667-88ad86eb.js +1 -0
  39. package/dist/client/settings/assets/1675-3cbafc50.js +1 -0
  40. package/dist/client/settings/assets/1676-5db7433e.js +9 -0
  41. package/dist/client/settings/assets/1725-d9ce2582.js +83 -0
  42. package/dist/client/settings/assets/1786-e6c321bb.js +16 -0
  43. package/dist/client/settings/assets/183-963396ee.js +1 -0
  44. package/dist/client/settings/assets/1846-0deb6fc0.js +1 -0
  45. package/dist/client/settings/assets/1848-0ef98f01.js +1 -0
  46. package/dist/client/settings/assets/1863-9160dd98.js +1 -0
  47. package/dist/client/settings/assets/1887-bf619cb3.js +1 -0
  48. package/dist/client/settings/assets/192-c347bb96.js +1 -0
  49. package/dist/client/settings/assets/1951-84be8ebc.js +55 -0
  50. package/dist/client/settings/assets/1979-a893b852.js +1 -0
  51. package/dist/client/settings/assets/1986-01c03982.js +1 -0
  52. package/dist/client/settings/assets/2017-29a9879a.js +26 -0
  53. package/dist/client/settings/assets/2110-961b6f8e.js +1 -0
  54. package/dist/client/settings/assets/212-0f8a26a2.js +18 -0
  55. package/dist/client/settings/assets/2203-9aa79271.js +4 -0
  56. package/dist/client/settings/assets/2258-f667d700.js +1 -0
  57. package/dist/client/settings/assets/2270-ff70d8cb.js +1 -0
  58. package/dist/client/settings/assets/2301-2db05359.js +1 -0
  59. package/dist/client/settings/assets/2322-b9f077c3.js +1 -0
  60. package/dist/client/settings/assets/2335-669f21bd.js +22 -0
  61. package/dist/client/settings/assets/242-c3e15c94.js +1 -0
  62. package/dist/client/settings/assets/2446-ac5fccd3.js +1 -0
  63. package/dist/client/settings/assets/2512-5343dabb.js +1185 -0
  64. package/dist/client/settings/assets/2512-5343dabb.js.LICENSE.txt +9 -0
  65. package/dist/client/settings/assets/2555-4ca49e21.js +31 -0
  66. package/dist/client/settings/assets/2565-ad63e92f.js +1 -0
  67. package/dist/client/settings/assets/2606-c4dcd1e1.js +1 -0
  68. package/dist/client/settings/assets/2613-98648bd2.js +1 -0
  69. package/dist/client/settings/assets/2622-3389992f.js +1 -0
  70. package/dist/client/settings/assets/2702-5ce93acd.js +5 -0
  71. package/dist/client/settings/assets/2710-e7286996.js +36 -0
  72. package/dist/client/settings/assets/2726-4d19faa1.js +23 -0
  73. package/dist/client/settings/assets/2861-48106fd8.js +3 -0
  74. package/dist/client/settings/assets/2898-7656f7f9.js +17 -0
  75. package/dist/client/settings/assets/2913-6b4e6c17.js +1 -0
  76. package/dist/client/settings/assets/2958-93de29a6.js +27 -0
  77. package/dist/client/settings/assets/300-ca09229f.js +1 -0
  78. package/dist/client/settings/assets/3005-1449fc4e.js +56 -0
  79. package/dist/client/settings/assets/3018-fc630932.js +3 -0
  80. package/dist/client/settings/assets/3028-efe6f61f.js +1 -0
  81. package/dist/client/settings/assets/3039-7f273921.js +1 -0
  82. package/dist/client/settings/assets/3102-b985963e.js +1 -0
  83. package/dist/client/settings/assets/3117-cc936eae.js +33 -0
  84. package/dist/client/settings/assets/32-88d3c82f.js +2 -0
  85. package/dist/client/settings/assets/3260-3b3c7cd3.js +1 -0
  86. package/dist/client/settings/assets/3279-8d73fd19.js +1 -0
  87. package/dist/client/settings/assets/3283-654f42f7.js +1 -0
  88. package/dist/client/settings/assets/3309-172e3f79.js +1 -0
  89. package/dist/client/settings/assets/335-da9c4d81.js +1 -0
  90. package/dist/client/settings/assets/338-2f192edd.js +3 -0
  91. package/dist/client/settings/assets/3396-4422ee26.js +1 -0
  92. package/dist/client/settings/assets/3458-2958f051.js +1 -0
  93. package/dist/client/settings/assets/3475-be655098.js +1 -0
  94. package/dist/client/settings/assets/3523-5313a211.js +1 -0
  95. package/dist/client/settings/assets/3526-17f4e8e7.js +1 -0
  96. package/dist/client/settings/assets/3641-c2439c22.js +1 -0
  97. package/dist/client/settings/assets/3646-aa6a2478.js +1 -0
  98. package/dist/client/settings/assets/3660-280439df.js +6 -0
  99. package/dist/client/settings/assets/3662-8dff1ffe.js +28 -0
  100. package/dist/client/settings/assets/3690-4a8bdf43.js +12 -0
  101. package/dist/client/settings/assets/3727-1cfef422.js +44 -0
  102. package/dist/client/settings/assets/3859-fa4f6d5d.js +1 -0
  103. package/dist/client/settings/assets/3898-6236af03.js +1 -0
  104. package/dist/client/settings/assets/3916-3b34f216.js +6 -0
  105. package/dist/client/settings/assets/3937-af967d62.js +3 -0
  106. package/dist/client/settings/assets/3977-3feadc2c.js +1 -0
  107. package/dist/client/settings/assets/3978-29c2602c.js +1 -0
  108. package/dist/client/settings/assets/3989-c8fcfd6c.js +27 -0
  109. package/dist/client/settings/assets/406-497829bb.js +1 -0
  110. package/dist/client/settings/assets/4076-f68c25bd.js +1 -0
  111. package/dist/client/settings/assets/4096-0050f491.js +1 -0
  112. package/dist/client/settings/assets/4171-0710965d.js +2 -0
  113. package/dist/client/settings/assets/4171-0710965d.js.LICENSE.txt +6 -0
  114. package/dist/client/settings/assets/4195-2a00794d.js +1 -0
  115. package/dist/client/settings/assets/4222-29a8147d.js +5 -0
  116. package/dist/client/settings/assets/4223-3821a30e.js +1 -0
  117. package/dist/client/settings/assets/4313-ab774fd9.js +28 -0
  118. package/dist/client/settings/assets/4358-0a504478.js +1 -0
  119. package/dist/client/settings/assets/4419-3ab9c709.js +1 -0
  120. package/dist/client/settings/assets/4456-49679669.js +1 -0
  121. package/dist/client/settings/assets/448-57d6a00d.js +1 -0
  122. package/dist/client/settings/assets/4594-4e72041f.js +1 -0
  123. package/dist/client/settings/assets/4672-573e9a61.js +1 -0
  124. package/dist/client/settings/assets/4686-afbf676f.js +1 -0
  125. package/dist/client/settings/assets/474-ce4285d1.js +1 -0
  126. package/dist/client/settings/assets/4767-8f9d30dc.js +1 -0
  127. package/dist/client/settings/assets/4784-c69aaa68.js +1 -0
  128. package/dist/client/settings/assets/4801-06781ed7.js +1 -0
  129. package/dist/client/settings/assets/492-937af2ba.js +1 -0
  130. package/dist/client/settings/assets/4930-41adc6b7.js +1 -0
  131. package/dist/client/settings/assets/5064-93d8e29e.js +10 -0
  132. package/dist/client/settings/assets/5087-c505a60e.js +1 -0
  133. package/dist/client/settings/assets/5108-a028f8af.js +1 -0
  134. package/dist/client/settings/assets/5122-649463de.js +1 -0
  135. package/dist/client/settings/assets/5123-0bd0a6f2.js +1 -0
  136. package/dist/client/settings/assets/5139-3039fde4.js +1 -0
  137. package/dist/client/settings/assets/5459-c1f208e3.js +1 -0
  138. package/dist/client/settings/assets/5501-387a31be.js +17 -0
  139. package/dist/client/settings/assets/5506-a1f27be3.js +1 -0
  140. package/dist/client/settings/assets/553-1c3126df.js +1 -0
  141. package/dist/client/settings/assets/557-950114e1.js +1 -0
  142. package/dist/client/settings/assets/5640-f846c2a0.js +1 -0
  143. package/dist/client/settings/assets/5642-5c0bab20.js +1 -0
  144. package/dist/client/settings/assets/5674-e33e384f.js +1 -0
  145. package/dist/client/settings/assets/5701-8fe417d1.js +1 -0
  146. package/dist/client/settings/assets/5721-af25e047.js +18 -0
  147. package/dist/client/settings/assets/5757-81a89522.js +1 -0
  148. package/dist/client/settings/assets/5759-2b3bdcc6.js +47 -0
  149. package/dist/client/settings/assets/5761-857b6bbb.js +28 -0
  150. package/dist/client/settings/assets/5791-7c59ba08.js +1 -0
  151. package/dist/client/settings/assets/58-77bfd6c9.js +1 -0
  152. package/dist/client/settings/assets/5815-04fc432a.js +1 -0
  153. package/dist/client/settings/assets/5819-225de680.js +1 -0
  154. package/dist/client/settings/assets/5861-ac056534.js +1 -0
  155. package/dist/client/settings/assets/5870-0c3ecc40.js +1 -0
  156. package/dist/client/settings/assets/5881-b4c942f1.js +1 -0
  157. package/dist/client/settings/assets/5905-a5c3fce6.js +1 -0
  158. package/dist/client/settings/assets/5933-fbe50cd6.js +1 -0
  159. package/dist/client/settings/assets/6062-0e469079.js +1 -0
  160. package/dist/client/settings/assets/6093-641fcafc.js +1 -0
  161. package/dist/client/settings/assets/6157-8e763248.js +1 -0
  162. package/dist/client/settings/assets/6241-55a319df.js +1 -0
  163. package/dist/client/settings/assets/6269-a8a1ea3f.js +1 -0
  164. package/dist/client/settings/assets/630-110e12f4.js +1 -0
  165. package/dist/client/settings/assets/6345-187e76cf.js +1 -0
  166. package/dist/client/settings/assets/6346-94bdf034.js +1 -0
  167. package/dist/client/settings/assets/6373-9d047c6b.js +13 -0
  168. package/dist/client/settings/assets/6437-3865fd7e.js +12 -0
  169. package/dist/client/settings/assets/6581-51c928bf.js +21 -0
  170. package/dist/client/settings/assets/6660-54e08a8d.js +1 -0
  171. package/dist/client/settings/assets/6738-c6598897.js +20 -0
  172. package/dist/client/settings/assets/6870-6a6dba63.js +1 -0
  173. package/dist/client/settings/assets/6914-00d913e7.js +1 -0
  174. package/dist/client/settings/assets/70-f4dc53ad.js +1 -0
  175. package/dist/client/settings/assets/700-e75b7faa.js +15 -0
  176. package/dist/client/settings/assets/7021-4975d54d.js +45 -0
  177. package/dist/client/settings/assets/7095-4f425b85.js +1 -0
  178. package/dist/client/settings/assets/7141-b8e2a787.js +1 -0
  179. package/dist/client/settings/assets/7201-5b49ce84.js +14 -0
  180. package/dist/client/settings/assets/7211-b8c71ed2.js +9 -0
  181. package/dist/client/settings/assets/7245-1058e96e.js +474 -0
  182. package/dist/client/settings/assets/7245-1058e96e.js.LICENSE.txt +2567 -0
  183. package/dist/client/settings/assets/7245-db3cd5c2.css +1 -0
  184. package/dist/client/settings/assets/7318-6e1c7877.js +1 -0
  185. package/dist/client/settings/assets/7386-2f5752d4.js +1 -0
  186. package/dist/client/settings/assets/7413-241d463c.js +1 -0
  187. package/dist/client/settings/assets/7492-5c593f52.js +5 -0
  188. package/dist/client/settings/assets/7507-a015d8cf.js +1 -0
  189. package/dist/client/settings/assets/754-41b763b9.js +17 -0
  190. package/dist/client/settings/assets/7555-f42cdb72.js +1 -0
  191. package/dist/client/settings/assets/7608-2b3f2db0.js +1 -0
  192. package/dist/client/settings/assets/7669-8bd94b73.js +1 -0
  193. package/dist/client/settings/assets/7761-637067c6.js +123 -0
  194. package/dist/client/settings/assets/7876-673cbc3c.js +6 -0
  195. package/dist/client/settings/assets/791-9cfa98c8.js +1 -0
  196. package/dist/client/settings/assets/7946-e07199df.js +13 -0
  197. package/dist/client/settings/assets/7959-f7ef21c6.js +40 -0
  198. package/dist/client/settings/assets/8053-fa93540e.js +1 -0
  199. package/dist/client/settings/assets/8087-90829087.js +1 -0
  200. package/dist/client/settings/assets/8138-e90c290e.js +24 -0
  201. package/dist/client/settings/assets/8217-de1369d7.js +1 -0
  202. package/dist/client/settings/assets/8242-3f880357.js +108 -0
  203. package/dist/client/settings/assets/8252-1153ffdd.js +1 -0
  204. package/dist/client/settings/assets/8262-7a324b59.js +9 -0
  205. package/dist/client/settings/assets/8269-52ea88cd.js +1 -0
  206. package/dist/client/settings/assets/8276-b3dfc452.js +1 -0
  207. package/dist/client/settings/assets/828-55028e33.js +1 -0
  208. package/dist/client/settings/assets/8294-9c81768d.js +1 -0
  209. package/dist/client/settings/assets/8295-447d3bb3.js +1 -0
  210. package/dist/client/settings/assets/8349-82eb3ecd.js +1 -0
  211. package/dist/client/settings/assets/8434-9140d106.js +25 -0
  212. package/dist/client/settings/assets/8438-d2ff6bc1.js +37 -0
  213. package/dist/client/settings/assets/8473-b1118703.js +1 -0
  214. package/dist/client/settings/assets/8480-c16f7ee4.js +1 -0
  215. package/dist/client/settings/assets/8562-ffa35312.js +17 -0
  216. package/dist/client/settings/assets/8624-847569d9.js +1 -0
  217. package/dist/client/settings/assets/8631-b2fd9aac.js +1 -0
  218. package/dist/client/settings/assets/8635-27980c94.js +1 -0
  219. package/dist/client/settings/assets/8676-987fe455.js +1 -0
  220. package/dist/client/settings/assets/8729-9adea5fe.js +1 -0
  221. package/dist/client/settings/assets/8759-4d7f7a69.js +1 -0
  222. package/dist/client/settings/assets/896-d07bab4d.js +1 -0
  223. package/dist/client/settings/assets/9021-ec1b8442.js +1 -0
  224. package/dist/client/settings/assets/9065-5df7b63d.js +1 -0
  225. package/dist/client/settings/assets/9170-efbfcc1e.js +1 -0
  226. package/dist/client/settings/assets/9204-6cb7a01b.js +1 -0
  227. package/dist/client/settings/assets/9217-f27c2dcb.js +1 -0
  228. package/dist/client/settings/assets/9248-ff8e06d0.js +1 -0
  229. package/dist/client/settings/assets/9274-83aa1da2.js +1 -0
  230. package/dist/client/settings/assets/929-a37c623d.js +1 -0
  231. package/dist/client/settings/assets/93-dc732e8a.js +1 -0
  232. package/dist/client/settings/assets/9518-4c8b8805.js +1 -0
  233. package/dist/client/settings/assets/9550-2daf603c.js +1 -0
  234. package/dist/client/settings/assets/9565-2158d75f.js +1 -0
  235. package/dist/client/settings/assets/9578-f64d8970.js +1 -0
  236. package/dist/client/settings/assets/9584-969e1d2b.js +1 -0
  237. package/dist/client/settings/assets/9592-523a3fa6.js +1 -0
  238. package/dist/client/settings/assets/9827-d1f02095.js +9 -0
  239. package/dist/client/settings/assets/9836-fcbb81f6.js +22 -0
  240. package/dist/client/settings/assets/9847-bc9f1ba4.js +1 -0
  241. package/dist/client/settings/assets/9953-407a1cde.js +1 -0
  242. package/dist/client/settings/assets/index-3da8ef5b.js +1946 -0
  243. package/dist/client/settings/assets/index-3da8ef5b.js.LICENSE.txt +1 -0
  244. package/dist/client/settings/assets/runtime-6b2f3ebe.js +1 -0
  245. package/dist/client/settings/browser-checker.js +282 -0
  246. package/dist/client/settings/favicon/favicon.ico +0 -0
  247. package/dist/client/settings/file-placeholder/ai-200-200.png +0 -0
  248. package/dist/client/settings/file-placeholder/audio-200-200.png +0 -0
  249. package/dist/client/settings/file-placeholder/docx-200-200.png +0 -0
  250. package/dist/client/settings/file-placeholder/eps-200-200.png +0 -0
  251. package/dist/client/settings/file-placeholder/gif-200-200.png +0 -0
  252. package/dist/client/settings/file-placeholder/jpeg-200-200.png +0 -0
  253. package/dist/client/settings/file-placeholder/pdf-200-200.png +0 -0
  254. package/dist/client/settings/file-placeholder/png-200-200.png +0 -0
  255. package/dist/client/settings/file-placeholder/pptx-200-200.png +0 -0
  256. package/dist/client/settings/file-placeholder/psd-200-200.png +0 -0
  257. package/dist/client/settings/file-placeholder/svg-200-200.png +0 -0
  258. package/dist/client/settings/file-placeholder/unknown-200-200.png +0 -0
  259. package/dist/client/settings/file-placeholder/video-200-200.png +0 -0
  260. package/dist/client/settings/file-placeholder/xlsx-200-200.png +0 -0
  261. package/dist/client/settings/file-placeholder/zip-200-200.png +0 -0
  262. package/dist/client/settings/global.css +63 -0
  263. package/dist/client/settings/index.html +22 -0
  264. package/dist/client/settings/nocobase.png +0 -0
  265. package/dist/client/settings/robots.txt +2 -0
  266. package/dist/client/v/assets/{index-2f7426fe.js → index-41529ca7.js} +167 -153
  267. package/dist/client/v/assets/index-41529ca7.js.LICENSE.txt +1 -0
  268. package/dist/client/v/browser-checker.js +76 -1
  269. package/dist/client/v/index.html +1 -1
  270. package/package.json +7 -7
  271. package/settingsDevProxy.ts +52 -0
  272. /package/dist/client/assets/{index-800d06ee.js.LICENSE.txt → index-c94119b4.js.LICENSE.txt} +0 -0
  273. /package/dist/client/{v/assets/index-2f7426fe.js.LICENSE.txt → settings/assets/32-88d3c82f.js.LICENSE.txt} +0 -0
@@ -0,0 +1,28 @@
1
+ export const __rspack_esm_id="4313";export const __rspack_esm_ids=["4313"];export const __webpack_modules__={32221(e,t,n){n.r(t),n.d(t,{JSItemRunJSContext:()=>o});var i=n(29007),r=n(4418);class o extends i.uk{}o.define({label:"JSItem RunJS context",properties:{element:(0,r.e)(`ElementProxy instance providing a safe DOM container for form item rendering.
2
+ Supports innerHTML, append, and other DOM manipulation methods.`),resource:`Current resource instance (read-only).
3
+ Provides access to the data resource associated with the current form context.`,record:`Current record data object (read-only).
4
+ Contains all field values of the parent record.`,formValues:{description:"Snapshot of current form values (object). Available in form contexts (CreateForm/EditForm).",detail:"Record<string, any>",examples:["const { name, status } = ctx.formValues || {};"]}},methods:{onRefReady:`Wait for form item container DOM element to be ready before executing callback.
5
+ Parameters: (ref: React.RefObject, callback: (element: HTMLElement) => void, timeout?: number) => void`}}),o.define({label:"JS 表单项 RunJS 上下文",properties:{element:(0,r.V)("ElementProxy,表单项渲染容器,支持 innerHTML/append 等 DOM 操作"),resource:"当前资源(只读)",record:"当前记录(只读)",formValues:{description:"当前表单值快照(对象)。仅表单相关上下文可用(Create/Edit Form)。",detail:"Record<string, any>",examples:["const { name, status } = ctx.formValues || {};"]}},methods:{onRefReady:"容器就绪后执行回调。参数:(ref, callback, timeout?)"}},{locale:"zh-CN"})},4418(e,t,n){n.d(t,{V:()=>l,e:()=>o});let i={innerHTML:"Sanitized inner HTML string.",outerHTML:"Sanitized outer HTML string.",textContent:"Text content.",style:"Inline style declaration.",classList:"DOMTokenList for CSS classes.",appendChild:{type:"function",description:"Append a DOM node or text.",detail:"(child: Node | string) => void",completion:{insertText:"ctx.element.appendChild('text')"}},setAttribute:{type:"function",description:"Set an HTML attribute.",detail:"(name: string, value: string) => void",completion:{insertText:"ctx.element.setAttribute('data-key', 'value')"}},getAttribute:{type:"function",description:"Read an HTML attribute.",detail:"(name: string) => string | null",completion:{insertText:"ctx.element.getAttribute('data-key')"}},querySelector:{type:"function",description:"Find the first matching descendant.",detail:"(selectors: string) => Element | null",completion:{insertText:"ctx.element.querySelector('.selector')"}},querySelectorAll:{type:"function",description:"Find all matching descendants.",detail:"(selectors: string) => NodeListOf<Element>",completion:{insertText:"ctx.element.querySelectorAll('.selector')"}},addEventListener:{type:"function",description:"Attach an event listener to the element.",detail:"(type: string, listener: EventListener) => void",completion:{insertText:"ctx.element.addEventListener('click', (event) => {})"}},removeEventListener:{type:"function",description:"Remove an event listener from the element.",detail:"(type: string, listener: EventListener) => void",completion:{insertText:"ctx.element.removeEventListener('click', handler)"}}},r={innerHTML:"已消毒的 innerHTML 字符串。",outerHTML:"已消毒的 outerHTML 字符串。",textContent:"文本内容。",style:"内联样式声明。",classList:"CSS class 列表。",appendChild:{type:"function",description:"追加 DOM 节点或文本。",detail:"(child: Node | string) => void",completion:{insertText:"ctx.element.appendChild('text')"}},setAttribute:{type:"function",description:"设置 HTML 属性。",detail:"(name: string, value: string) => void",completion:{insertText:"ctx.element.setAttribute('data-key', 'value')"}},getAttribute:{type:"function",description:"读取 HTML 属性。",detail:"(name: string) => string | null",completion:{insertText:"ctx.element.getAttribute('data-key')"}},querySelector:{type:"function",description:"查询第一个匹配的后代元素。",detail:"(selectors: string) => Element | null",completion:{insertText:"ctx.element.querySelector('.selector')"}},querySelectorAll:{type:"function",description:"查询所有匹配的后代元素。",detail:"(selectors: string) => NodeListOf<Element>",completion:{insertText:"ctx.element.querySelectorAll('.selector')"}},addEventListener:{type:"function",description:"给元素添加事件监听。",detail:"(type: string, listener: EventListener) => void",completion:{insertText:"ctx.element.addEventListener('click', (event) => {})"}},removeEventListener:{type:"function",description:"移除元素事件监听。",detail:"(type: string, listener: EventListener) => void",completion:{insertText:"ctx.element.removeEventListener('click', handler)"}}};function o(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Current DOM container for this RunJS context. Usually an ElementProxy.";return{description:e,detail:"HTMLElement | ElementProxy",properties:i}}function l(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"当前 RunJS 上下文的 DOM 容器,通常为 ElementProxy。";return{description:e,detail:"HTMLElement | ElementProxy",properties:r}}},66656(e,t,n){n.r(t),n.d(t,{default:()=>i});let i={contexts:[n(32221).JSItemRunJSContext],prefix:"sn-link-disable",label:"Set disabled",description:"Enable or disable another field in linkage scripts",locales:{"zh-CN":{label:"设置禁用",description:"在联动脚本中启用或禁用字段"}},content:`
6
+ const targetFieldUid = 'FIELD_UID_OR_NAME';
7
+ const disabled = true;
8
+
9
+ const items = ctx.model?.subModels?.grid?.subModels?.items;
10
+ const candidates = Array.isArray(items)
11
+ ? items
12
+ : Array.from(items?.values?.() || items || []);
13
+ const fieldModel =
14
+ candidates.find((item) => item?.uid === targetFieldUid) ||
15
+ candidates.find((item) => item?.props?.name === targetFieldUid);
16
+
17
+ if (!fieldModel) {
18
+ ctx.message?.warning?.(ctx.t('Field {{name}} not found', { name: targetFieldUid }));
19
+ return;
20
+ }
21
+
22
+ fieldModel.setProps({ disabled });
23
+ ctx.message?.success?.(
24
+ ctx.t(disabled ? 'Disabled field {{name}}' : 'Enabled field {{name}}', {
25
+ name: fieldModel?.props?.label || targetFieldUid,
26
+ }),
27
+ );
28
+ `}}};
@@ -0,0 +1 @@
1
+ export const __rspack_esm_id="4358";export const __rspack_esm_ids=["4358"];export const __webpack_modules__={75877(_,t,e){_.exports=function(_){"use strict";var t={name:"mk",weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),weekStart:1,weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),ordinal:function(_){return _},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},relativeTime:{future:"после %s",past:"пред %s",s:"неколку секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",M:"месец",MM:"%d месеци",y:"година",yy:"%d години"}};return(_&&"object"==typeof _&&"default"in _?_:{default:_}).default.locale(t,null,!0),t}(e(74353))}};
@@ -0,0 +1 @@
1
+ export const __rspack_esm_id="4419";export const __rspack_esm_ids=["4419"];export const __webpack_modules__={87406(_,t,e){_.exports=function(_){"use strict";var t={name:"te",weekdays:"ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం".split("_"),months:"జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జులై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్".split("_"),weekdaysShort:"ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని".split("_"),monthsShort:"జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జులై_ఆగ._సెప్._అక్టో._నవ._డిసె.".split("_"),weekdaysMin:"ఆ_సో_మం_బు_గు_శు_శ".split("_"),ordinal:function(_){return _},formats:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},relativeTime:{future:"%s లో",past:"%s క్రితం",s:"కొన్ని క్షణాలు",m:"ఒక నిమిషం",mm:"%d నిమిషాలు",h:"ఒక గంట",hh:"%d గంటలు",d:"ఒక రోజు",dd:"%d రోజులు",M:"ఒక నెల",MM:"%d నెలలు",y:"ఒక సంవత్సరం",yy:"%d సంవత్సరాలు"}};return(_&&"object"==typeof _&&"default"in _?_:{default:_}).default.locale(t,null,!0),t}(e(74353))}};
@@ -0,0 +1 @@
1
+ export const __rspack_esm_id="4456";export const __rspack_esm_ids=["4456"];export const __webpack_modules__={21995(_,e,a){_.exports=function(_){"use strict";var e={name:"en-ca",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ordinal:function(_){return _},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}};return(_&&"object"==typeof _&&"default"in _?_:{default:_}).default.locale(e,null,!0),e}(a(74353))}};
@@ -0,0 +1 @@
1
+ export const __rspack_esm_id="448";export const __rspack_esm_ids=["448"];export const __webpack_modules__={61219(e,_,s){e.exports=function(e){"use strict";var _={name:"es-do",weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),weekStart:1,relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},ordinal:function(e){return e+"\xba"},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(_,null,!0),_}(s(74353))}};
@@ -0,0 +1 @@
1
+ export const __rspack_esm_id="4594";export const __rspack_esm_ids=["4594"];export const __webpack_modules__={8809(_,e,n){_.exports=function(_){"use strict";var e={name:"ht",weekdays:"dimanch_lendi_madi_m\xe8kredi_jedi_vandredi_samdi".split("_"),months:"janvye_fevriye_mas_avril_me_jen_jiy\xe8_out_septanm_okt\xf2b_novanm_desanm".split("_"),weekdaysShort:"dim._len._mad._m\xe8k._jed._van._sam.".split("_"),monthsShort:"jan._fev._mas_avr._me_jen_jiy\xe8._out_sept._okt._nov._des.".split("_"),weekdaysMin:"di_le_ma_m\xe8_je_va_sa".split("_"),ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"nan %s",past:"sa gen %s",s:"k\xe8k segond",m:"yon minit",mm:"%d minit",h:"in\xe8dtan",hh:"%d z\xe8",d:"yon jou",dd:"%d jou",M:"yon mwa",MM:"%d mwa",y:"yon ane",yy:"%d ane"}};return(_&&"object"==typeof _&&"default"in _?_:{default:_}).default.locale(e,null,!0),e}(n(74353))}};
@@ -0,0 +1 @@
1
+ export const __rspack_esm_id="4672";export const __rspack_esm_ids=["4672"];export const __webpack_modules__={32739(a,e,_){a.exports=function(a){"use strict";var e={name:"mi",weekdays:"Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei".split("_"),months:"Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea".split("_"),weekStart:1,weekdaysShort:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),weekdaysMin:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),ordinal:function(a){return a},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te hēkona ruarua",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"}};return(a&&"object"==typeof a&&"default"in a?a:{default:a}).default.locale(e,null,!0),e}(_(74353))}};
@@ -0,0 +1 @@
1
+ export const __rspack_esm_id="4686";export const __rspack_esm_ids=["4686"];export const __webpack_modules__={77741(e,_,t){e.exports=function(e){"use strict";var _={name:"jv",weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),weekStart:1,weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),ordinal:function(e){return e},formats:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(_,null,!0),_}(t(74353))}};
@@ -0,0 +1 @@
1
+ export const __rspack_esm_id="474";export const __rspack_esm_ids=["474"];export const __webpack_modules__={57409(_,t,s){_.exports=function(_){"use strict";var t={name:"gu",weekdays:"રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર".split("_"),months:"જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર".split("_"),weekdaysShort:"રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ".split("_"),monthsShort:"જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.".split("_"),weekdaysMin:"ર_સો_મં_બુ_ગુ_શુ_શ".split("_"),ordinal:function(_){return _},formats:{LT:"A h:mm વાગ્યે",LTS:"A h:mm:ss વાગ્યે",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm વાગ્યે",LLLL:"dddd, D MMMM YYYY, A h:mm વાગ્યે"},relativeTime:{future:"%s મા",past:"%s પેહલા",s:"અમુક પળો",m:"એક મિનિટ",mm:"%d મિનિટ",h:"એક કલાક",hh:"%d કલાક",d:"એક દિવસ",dd:"%d દિવસ",M:"એક મહિનો",MM:"%d મહિનો",y:"એક વર્ષ",yy:"%d વર્ષ"}};return(_&&"object"==typeof _&&"default"in _?_:{default:_}).default.locale(t,null,!0),t}(s(74353))}};
@@ -0,0 +1 @@
1
+ export const __rspack_esm_id="4767";export const __rspack_esm_ids=["4767"];export const __webpack_modules__={42706(e,_,t){e.exports=function(e){"use strict";var _={name:"da",weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8n._man._tirs._ons._tors._fre._l\xf8r.".split("_"),weekdaysMin:"s\xf8._ma._ti._on._to._fr._l\xf8.".split("_"),months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj_juni_juli_aug._sept._okt._nov._dec.".split("_"),weekStart:1,yearStart:4,ordinal:function(e){return e+"."},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},relativeTime:{future:"om %s",past:"%s siden",s:"f\xe5 sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"et \xe5r",yy:"%d \xe5r"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(_,null,!0),_}(t(74353))}};
@@ -0,0 +1 @@
1
+ export const __rspack_esm_id="4784";export const __rspack_esm_ids=["4784"];export const __webpack_modules__={88003(_,t,M){_.exports=function(_){"use strict";var t={name:"ko",weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),ordinal:function(_){return _+"일"},formats:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h:mm",LLLL:"YYYY년 MMMM D일 dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},meridiem:function(_){return _<12?"오전":"오후"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",m:"1분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"}};return(_&&"object"==typeof _&&"default"in _?_:{default:_}).default.locale(t,null,!0),t}(M(74353))}};
@@ -0,0 +1 @@
1
+ export const __rspack_esm_id="4801";export const __rspack_esm_ids=["4801"];export const __webpack_modules__={50952(_,t,Y){_.exports=function(_){"use strict";var t={name:"ja",weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(_){return _+"日"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiem:function(_){return _<12?"午前":"午後"},relativeTime:{future:"%s後",past:"%s前",s:"数秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}};return(_&&"object"==typeof _&&"default"in _?_:{default:_}).default.locale(t,null,!0),t}(Y(74353))}};
@@ -0,0 +1 @@
1
+ export const __rspack_esm_id="492";export const __rspack_esm_ids=["492"];export const __webpack_modules__={52487(_,a,e){_.exports=function(_){"use strict";var a={name:"ss",weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),weekStart:1,weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),ordinal:function(_){return _},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"}};return(_&&"object"==typeof _&&"default"in _?_:{default:_}).default.locale(a,null,!0),a}(e(74353))}};
@@ -0,0 +1 @@
1
+ export const __rspack_esm_id="4930";export const __rspack_esm_ids=["4930"];export const __webpack_modules__={95977(_,t,r){_.exports=function(_){"use strict";var t={name:"sq",weekdays:"E Diel_E H\xebn\xeb_E Mart\xeb_E M\xebrkur\xeb_E Enjte_E Premte_E Shtun\xeb".split("_"),months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_N\xebntor_Dhjetor".split("_"),weekStart:1,weekdaysShort:"Die_H\xebn_Mar_M\xebr_Enj_Pre_Sht".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_N\xebn_Dhj".split("_"),weekdaysMin:"D_H_Ma_M\xeb_E_P_Sh".split("_"),ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"n\xeb %s",past:"%s m\xeb par\xeb",s:"disa sekonda",m:"nj\xeb minut\xeb",mm:"%d minuta",h:"nj\xeb or\xeb",hh:"%d or\xeb",d:"nj\xeb dit\xeb",dd:"%d dit\xeb",M:"nj\xeb muaj",MM:"%d muaj",y:"nj\xeb vit",yy:"%d vite"}};return(_&&"object"==typeof _&&"default"in _?_:{default:_}).default.locale(t,null,!0),t}(r(74353))}};
@@ -0,0 +1,10 @@
1
+ export const __rspack_esm_id="5064";export const __rspack_esm_ids=["5064"];export const __webpack_modules__={64700(e,t,o){o.r(t),o.d(t,{JSCollectionActionRunJSContext:()=>c});var s=o(29007);class c extends s.uk{}c.define({label:"JSCollectionAction RunJS context",properties:{resource:`Collection resource instance providing access to selected rows, pagination, and data operations.
2
+ Use ctx.resource.selectedRows to get selected records.
3
+ Use ctx.resource.pagination for page info.`}}),c.define({label:"JS 集合动作 RunJS 上下文",properties:{resource:"列表资源(包含选中行/分页信息等)"}},{locale:"zh-CN"})},35803(e,t,o){o.r(t),o.d(t,{default:()=>s});let s={contexts:[o(64700).JSCollectionActionRunJSContext],prefix:"sn-act-selected-count",label:"Selected count",description:"Show number of selected rows in list action",locales:{"zh-CN":{label:"选中数量",description:"提示当前选中行的数量"}},content:`
4
+ const rows = ctx.resource?.getSelectedRows?.() || [];
5
+ if (!rows.length) {
6
+ ctx.message.warning(ctx.t('Please select data'));
7
+ } else {
8
+ ctx.message.success(ctx.t('Selected {{count}} rows', { count: rows.length }));
9
+ }
10
+ `}}};
@@ -0,0 +1 @@
1
+ export const __rspack_esm_id="5087";export const __rspack_esm_ids=["5087"];export const __webpack_modules__={65826(_){_.exports={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(_){var e=["th","st","nd","rd"],r=_%100;return"["+_+(e[(r-20)%10]||e[r]||e[0])+"]"}}}};
@@ -0,0 +1 @@
1
+ export const __rspack_esm_id="5108";export const __rspack_esm_ids=["5108"];export const __webpack_modules__={4895(a,_,t){a.exports=function(a){"use strict";var _={name:"tr",weekdays:"Pazar_Pazartesi_Salı_\xc7arşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_\xc7ar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eyl\xfcl_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekStart:1,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"%s sonra",past:"%s \xf6nce",s:"birka\xe7 saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(a){return a+"."}};return(a&&"object"==typeof a&&"default"in a?a:{default:a}).default.locale(_,null,!0),_}(t(74353))}};
@@ -0,0 +1 @@
1
+ export const __rspack_esm_id="5122";export const __rspack_esm_ids=["5122"];export const __webpack_modules__={73433(e,_,s){e.exports=function(e){"use strict";var _={name:"fr-ch",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),weekStart:1,weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(_,null,!0),_}(s(74353))}};
@@ -0,0 +1 @@
1
+ export const __rspack_esm_id="5123";export const __rspack_esm_ids=["5123"];export const __webpack_modules__={59294(_,t,s){_.exports=function(_){"use strict";var t={name:"bo",weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་དང་པོ_ཟླ་གཉིས་པ_ཟླ་གསུམ་པ_ཟླ་བཞི་པ_ཟླ་ལྔ་པ_ཟླ་དྲུག་པ_ཟླ་བདུན་པ_ཟླ་བརྒྱད་པ_ཟླ་དགུ་པ_ཟླ་བཅུ་པ_ཟླ་བཅུ་གཅིག་པ_ཟླ་བཅུ་གཉིས་པ".split("_"),ordinal:function(_){return _},formats:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},relativeTime:{future:"%s ལ་",past:"%s སྔོན་ལ་",s:"ཏོག་ཙམ་",m:"སྐར་མ་གཅིག་",mm:"སྐར་མ་ %d",h:"ཆུ་ཚོད་གཅིག་",hh:"ཆུ་ཚོད་ %d",d:"ཉིན་གཅིག་",dd:"ཉིན་ %d",M:"ཟླ་བ་གཅིག་",MM:"ཟླ་བ་ %d",y:"ལོ་གཅིག་",yy:"ལོ་ %d"}};return(_&&"object"==typeof _&&"default"in _?_:{default:_}).default.locale(t,null,!0),t}(s(74353))}};
@@ -0,0 +1 @@
1
+ export const __rspack_esm_id="5139";export const __rspack_esm_ids=["5139"];export const __webpack_modules__={24334(e,_,i){e.exports=function(e){"use strict";var _={name:"ro",weekdays:"Duminică_Luni_Marți_Miercuri_Joi_Vineri_S\xe2mbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_S\xe2m".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_S\xe2".split("_"),months:"Ianuarie_Februarie_Martie_Aprilie_Mai_Iunie_Iulie_August_Septembrie_Octombrie_Noiembrie_Decembrie".split("_"),monthsShort:"Ian._Febr._Mart._Apr._Mai_Iun._Iul._Aug._Sept._Oct._Nov._Dec.".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},relativeTime:{future:"peste %s",past:"acum %s",s:"c\xe2teva secunde",m:"un minut",mm:"%d minute",h:"o oră",hh:"%d ore",d:"o zi",dd:"%d zile",M:"o lună",MM:"%d luni",y:"un an",yy:"%d ani"},ordinal:function(e){return e}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(_,null,!0),_}(i(74353))}};
@@ -0,0 +1 @@
1
+ export const __rspack_esm_id="5459";export const __rspack_esm_ids=["5459"];export const __webpack_modules__={46462(_,t,s){_.exports=function(_){"use strict";var t={name:"mr",weekdays:"रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),months:"जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),weekdaysShort:"रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि".split("_"),monthsShort:"जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),ordinal:function(_){return _},formats:{LT:"A h:mm वाजता",LTS:"A h:mm:ss वाजता",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm वाजता",LLLL:"dddd, D MMMM YYYY, A h:mm वाजता"}};return(_&&"object"==typeof _&&"default"in _?_:{default:_}).default.locale(t,null,!0),t}(s(74353))}};
@@ -0,0 +1,17 @@
1
+ export const __rspack_esm_id="5501";export const __rspack_esm_ids=["5501"];export const __webpack_modules__={79271(e,t,n){n.r(t),n.d(t,{JSBlockRunJSContext:()=>l});var i=n(29007),r=n(4418);class l extends i.uk{}l.define({label:"RunJS context",properties:{element:(0,r.e)(`ElementProxy instance providing a safe DOM container.
2
+ Supports innerHTML, append, and other DOM manipulation methods.
3
+ Use this to render content in the JS block.`),record:`Current record data object (read-only).
4
+ Available when the JS block is within a data block or detail view context.`,value:"Current value of the field or component, if available in the current context.",React:"React library",antd:"Ant Design library"},methods:{onRefReady:`Wait for container DOM element to be ready before executing callback.
5
+ Parameters: (ref: React.RefObject, callback: (element: HTMLElement) => void, timeout?: number) => void
6
+ Example: ctx.onRefReady(ctx.ref, (el) => { el.innerHTML = "Ready!" })`,requireAsync:"Load external library: `const lib = await ctx.requireAsync(url)`",importAsync:"Dynamically import an ESM module by URL: `const mod = await ctx.importAsync(url)`.\nNote: if the module has only a default export, ctx.importAsync returns that default value directly (no `.default`)."}}),l.define({label:"RunJS 上下文",properties:{element:(0,r.V)("ElementProxy,安全的 DOM 容器,支持 innerHTML/append 等"),record:"当前记录(只读,用于数据区块/详情等场景)",value:"当前值(若存在)",React:"React 库",antd:"Ant Design 库"},methods:{onRefReady:"容器 ref 就绪回调:\n```js\nctx.onRefReady(ctx.ref, el => { /* ... */ })\n```",requireAsync:"加载外部库:`const lib = await ctx.requireAsync(url)`",importAsync:"按 URL 动态导入 ESM 模块:`const mod = await ctx.importAsync(url)`。\n注意:当模块只有 default 一个导出时,ctx.importAsync 会直接返回 default 值(无需再写 `.default`)。"}},{locale:"zh-CN"})},4418(e,t,n){n.d(t,{V:()=>o,e:()=>l});let i={innerHTML:"Sanitized inner HTML string.",outerHTML:"Sanitized outer HTML string.",textContent:"Text content.",style:"Inline style declaration.",classList:"DOMTokenList for CSS classes.",appendChild:{type:"function",description:"Append a DOM node or text.",detail:"(child: Node | string) => void",completion:{insertText:"ctx.element.appendChild('text')"}},setAttribute:{type:"function",description:"Set an HTML attribute.",detail:"(name: string, value: string) => void",completion:{insertText:"ctx.element.setAttribute('data-key', 'value')"}},getAttribute:{type:"function",description:"Read an HTML attribute.",detail:"(name: string) => string | null",completion:{insertText:"ctx.element.getAttribute('data-key')"}},querySelector:{type:"function",description:"Find the first matching descendant.",detail:"(selectors: string) => Element | null",completion:{insertText:"ctx.element.querySelector('.selector')"}},querySelectorAll:{type:"function",description:"Find all matching descendants.",detail:"(selectors: string) => NodeListOf<Element>",completion:{insertText:"ctx.element.querySelectorAll('.selector')"}},addEventListener:{type:"function",description:"Attach an event listener to the element.",detail:"(type: string, listener: EventListener) => void",completion:{insertText:"ctx.element.addEventListener('click', (event) => {})"}},removeEventListener:{type:"function",description:"Remove an event listener from the element.",detail:"(type: string, listener: EventListener) => void",completion:{insertText:"ctx.element.removeEventListener('click', handler)"}}},r={innerHTML:"已消毒的 innerHTML 字符串。",outerHTML:"已消毒的 outerHTML 字符串。",textContent:"文本内容。",style:"内联样式声明。",classList:"CSS class 列表。",appendChild:{type:"function",description:"追加 DOM 节点或文本。",detail:"(child: Node | string) => void",completion:{insertText:"ctx.element.appendChild('text')"}},setAttribute:{type:"function",description:"设置 HTML 属性。",detail:"(name: string, value: string) => void",completion:{insertText:"ctx.element.setAttribute('data-key', 'value')"}},getAttribute:{type:"function",description:"读取 HTML 属性。",detail:"(name: string) => string | null",completion:{insertText:"ctx.element.getAttribute('data-key')"}},querySelector:{type:"function",description:"查询第一个匹配的后代元素。",detail:"(selectors: string) => Element | null",completion:{insertText:"ctx.element.querySelector('.selector')"}},querySelectorAll:{type:"function",description:"查询所有匹配的后代元素。",detail:"(selectors: string) => NodeListOf<Element>",completion:{insertText:"ctx.element.querySelectorAll('.selector')"}},addEventListener:{type:"function",description:"给元素添加事件监听。",detail:"(type: string, listener: EventListener) => void",completion:{insertText:"ctx.element.addEventListener('click', (event) => {})"}},removeEventListener:{type:"function",description:"移除元素事件监听。",detail:"(type: string, listener: EventListener) => void",completion:{insertText:"ctx.element.removeEventListener('click', handler)"}}};function l(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Current DOM container for this RunJS context. Usually an ElementProxy.";return{description:e,detail:"HTMLElement | ElementProxy",properties:i}}function o(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"当前 RunJS 上下文的 DOM 容器,通常为 ElementProxy。";return{description:e,detail:"HTMLElement | ElementProxy",properties:r}}},71868(e,t,n){n.r(t),n.d(t,{default:()=>i});let i={contexts:[n(79271).JSBlockRunJSContext],prefix:"sn-jsb-react",label:"Render React",description:"Render a React element inside the block container",locales:{"zh-CN":{label:"渲染 React",description:"在区块容器中渲染 React 组件"}},content:`
7
+ // Render a React element into the current container
8
+ const { Button } = ctx.libs.antd;
9
+
10
+ ctx.render(
11
+ <div style={{ padding: 12 }}>
12
+ <Button type="primary" onClick={() => ctx.message.success(ctx.t('Clicked!'))}>
13
+ {ctx.t('Click')}
14
+ </Button>
15
+ </div>
16
+ );
17
+ `}}};
@@ -0,0 +1 @@
1
+ export const __rspack_esm_id="5506";export const __rspack_esm_ids=["5506"];export const __webpack_modules__={15513(u,r,_){u.exports=function(u){"use strict";var r={s:["nokkrar sek\xfandur","nokkrar sek\xfandur","nokkrum sek\xfandum"],m:["m\xedn\xfata","m\xedn\xfatu","m\xedn\xfatu"],mm:["m\xedn\xfatur","m\xedn\xfatur","m\xedn\xfatum"],h:["klukkustund","klukkustund","klukkustund"],hh:["klukkustundir","klukkustundir","klukkustundum"],d:["dagur","dag","degi"],dd:["dagar","daga","d\xf6gum"],M:["m\xe1nu\xf0ur","m\xe1nu\xf0","m\xe1nu\xf0i"],MM:["m\xe1nu\xf0ir","m\xe1nu\xf0i","m\xe1nu\xf0um"],y:["\xe1r","\xe1r","\xe1ri"],yy:["\xe1r","\xe1r","\xe1rum"]};function _(u,_,n,t){var m;return(m=r[2===n.length&&u%10==1?n[0]:n][_?0:t?1:2],1===n.length?m:"%d "+m).replace("%d",u)}var n={name:"is",weekdays:"sunnudagur_m\xe1nudagur_\xferi\xf0judagur_mi\xf0vikudagur_fimmtudagur_f\xf6studagur_laugardagur".split("_"),months:"jan\xfaar_febr\xfaar_mars_apr\xedl_ma\xed_j\xfan\xed_j\xfal\xed_\xe1g\xfast_september_okt\xf3ber_n\xf3vember_desember".split("_"),weekStart:1,weekdaysShort:"sun_m\xe1n_\xferi_mi\xf0_fim_f\xf6s_lau".split("_"),monthsShort:"jan_feb_mar_apr_ma\xed_j\xfan_j\xfal_\xe1g\xfa_sep_okt_n\xf3v_des".split("_"),weekdaysMin:"Su_M\xe1_\xder_Mi_Fi_F\xf6_La".split("_"),ordinal:function(u){return u},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},relativeTime:{future:"eftir %s",past:"fyrir %s s\xed\xf0an",s:_,m:_,mm:_,h:_,hh:_,d:_,dd:_,M:_,MM:_,y:_,yy:_}};return(u&&"object"==typeof u&&"default"in u?u:{default:u}).default.locale(n,null,!0),n}(_(74353))}};
@@ -0,0 +1 @@
1
+ export const __rspack_esm_id="553";export const __rspack_esm_ids=["553"];export const __webpack_modules__={40880(_,t,e){_.exports=function(_){"use strict";var t={name:"ne",weekdays:"आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आ._सो._मं._बु._बि._शु._श.".split("_"),months:"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मे_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.".split("_"),relativeTime:{future:"%s पछि",past:"%s अघि",s:"सेकेन्ड",m:"एक मिनेट",mm:"%d मिनेट",h:"घन्टा",hh:"%d घन्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक वर्ष",yy:"%d वर्ष"},ordinal:function(_){return(""+_).replace(/\d/g,function(_){return"०१२३४५६७८९"[_]})},formats:{LT:"Aको h:mm बजे",LTS:"Aको h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, Aको h:mm बजे",LLLL:"dddd, D MMMM YYYY, Aको h:mm बजे"}};return(_&&"object"==typeof _&&"default"in _?_:{default:_}).default.locale(t,null,!0),t}(e(74353))}};
@@ -0,0 +1 @@
1
+ export const __rspack_esm_id="557";export const __rspack_esm_ids=["557"];export const __webpack_modules__={87420(e,_,a){e.exports=function(e){"use strict";var _={name:"id",weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),weekStart:1,formats:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},ordinal:function(e){return e+"."}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(_,null,!0),_}(a(74353))}};
@@ -0,0 +1 @@
1
+ export const __rspack_esm_id="5640";export const __rspack_esm_ids=["5640"];export const __webpack_modules__={82187(_,t,e){_.exports=function(_){"use strict";var t={name:"dv",weekdays:"އާދިއްތަ_ހޯމަ_އަންގާރަ_ބުދަ_ބުރާސްފަތި_ހުކުރު_ހޮނިހިރު".split("_"),months:"ޖެނުއަރީ_ފެބްރުއަރީ_މާރިޗު_އޭޕްރީލު_މޭ_ޖޫން_ޖުލައި_އޯގަސްޓު_ސެޕްޓެމްބަރު_އޮކްޓޯބަރު_ނޮވެމްބަރު_ޑިސެމްބަރު".split("_"),weekStart:7,weekdaysShort:"އާދިއްތަ_ހޯމަ_އަންގާރަ_ބުދަ_ބުރާސްފަތި_ހުކުރު_ހޮނިހިރު".split("_"),monthsShort:"ޖެނުއަރީ_ފެބްރުއަރީ_މާރިޗު_އޭޕްރީލު_މޭ_ޖޫން_ޖުލައި_އޯގަސްޓު_ސެޕްޓެމްބަރު_އޮކްޓޯބަރު_ނޮވެމްބަރު_ޑިސެމްބަރު".split("_"),weekdaysMin:"އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި".split("_"),ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"ތެރޭގައި %s",past:"ކުރިން %s",s:"ސިކުންތުކޮޅެއް",m:"މިނިޓެއް",mm:"މިނިޓު %d",h:"ގަޑިއިރެއް",hh:"ގަޑިއިރު %d",d:"ދުވަހެއް",dd:"ދުވަސް %d",M:"މަހެއް",MM:"މަސް %d",y:"އަހަރެއް",yy:"އަހަރު %d"}};return(_&&"object"==typeof _&&"default"in _?_:{default:_}).default.locale(t,null,!0),t}(e(74353))}};
@@ -0,0 +1 @@
1
+ export const __rspack_esm_id="5642";export const __rspack_esm_ids=["5642"];export const __webpack_modules__={70225(e,_,s){e.exports=function(e){"use strict";var _={name:"oc-lnc",weekdays:"dimenge_diluns_dimars_dim\xe8cres_dij\xf2us_divendres_dissabte".split("_"),weekdaysShort:"Dg_Dl_Dm_Dc_Dj_Dv_Ds".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),months:"geni\xe8r_febri\xe8r_mar\xe7_abrial_mai_junh_julhet_agost_setembre_oct\xf2bre_novembre_decembre".split("_"),monthsShort:"gen_feb_mar\xe7_abr_mai_junh_julh_ago_set_oct_nov_dec".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"unas segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},ordinal:function(e){return e+"\xba"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(_,null,!0),_}(s(74353))}};
@@ -0,0 +1 @@
1
+ export const __rspack_esm_id="5674";export const __rspack_esm_ids=["5674"];export const __webpack_modules__={23473(_,e,t){_.exports=function(_){"use strict";var e={name:"nn",weekdays:"sundag_m\xe5ndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"sun_m\xe5n_tys_ons_tor_fre_lau".split("_"),weekdaysMin:"su_m\xe5_ty_on_to_fr_la".split("_"),months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),ordinal:function(_){return _+"."},weekStart:1,relativeTime:{future:"om %s",past:"for %s sidan",s:"nokre sekund",m:"eitt minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",M:"ein m\xe5nad",MM:"%d m\xe5nadar",y:"eitt \xe5r",yy:"%d \xe5r"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"}};return(_&&"object"==typeof _&&"default"in _?_:{default:_}).default.locale(e,null,!0),e}(t(74353))}};
@@ -0,0 +1 @@
1
+ export const __rspack_esm_id="5701";export const __rspack_esm_ids=["5701"];export const __webpack_modules__={71092(a,_,e){a.exports=function(a){"use strict";var _={name:"bm",weekdays:"Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo".split("_"),weekStart:1,weekdaysShort:"Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib".split("_"),monthsShort:"Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),ordinal:function(a){return a},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm"},relativeTime:{future:"%s kɔnɔ",past:"a bɛ %s bɔ",s:"sanga dama dama",m:"miniti kelen",mm:"miniti %d",h:"lɛrɛ kelen",hh:"lɛrɛ %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"}};return(a&&"object"==typeof a&&"default"in a?a:{default:a}).default.locale(_,null,!0),_}(e(74353))}};
@@ -0,0 +1,18 @@
1
+ export const __rspack_esm_id="5721";export const __rspack_esm_ids=["5721"];export const __webpack_modules__={79271(e,t,n){n.r(t),n.d(t,{JSBlockRunJSContext:()=>l});var i=n(29007),r=n(4418);class l extends i.uk{}l.define({label:"RunJS context",properties:{element:(0,r.e)(`ElementProxy instance providing a safe DOM container.
2
+ Supports innerHTML, append, and other DOM manipulation methods.
3
+ Use this to render content in the JS block.`),record:`Current record data object (read-only).
4
+ Available when the JS block is within a data block or detail view context.`,value:"Current value of the field or component, if available in the current context.",React:"React library",antd:"Ant Design library"},methods:{onRefReady:`Wait for container DOM element to be ready before executing callback.
5
+ Parameters: (ref: React.RefObject, callback: (element: HTMLElement) => void, timeout?: number) => void
6
+ Example: ctx.onRefReady(ctx.ref, (el) => { el.innerHTML = "Ready!" })`,requireAsync:"Load external library: `const lib = await ctx.requireAsync(url)`",importAsync:"Dynamically import an ESM module by URL: `const mod = await ctx.importAsync(url)`.\nNote: if the module has only a default export, ctx.importAsync returns that default value directly (no `.default`)."}}),l.define({label:"RunJS 上下文",properties:{element:(0,r.V)("ElementProxy,安全的 DOM 容器,支持 innerHTML/append 等"),record:"当前记录(只读,用于数据区块/详情等场景)",value:"当前值(若存在)",React:"React 库",antd:"Ant Design 库"},methods:{onRefReady:"容器 ref 就绪回调:\n```js\nctx.onRefReady(ctx.ref, el => { /* ... */ })\n```",requireAsync:"加载外部库:`const lib = await ctx.requireAsync(url)`",importAsync:"按 URL 动态导入 ESM 模块:`const mod = await ctx.importAsync(url)`。\n注意:当模块只有 default 一个导出时,ctx.importAsync 会直接返回 default 值(无需再写 `.default`)。"}},{locale:"zh-CN"})},4418(e,t,n){n.d(t,{V:()=>o,e:()=>l});let i={innerHTML:"Sanitized inner HTML string.",outerHTML:"Sanitized outer HTML string.",textContent:"Text content.",style:"Inline style declaration.",classList:"DOMTokenList for CSS classes.",appendChild:{type:"function",description:"Append a DOM node or text.",detail:"(child: Node | string) => void",completion:{insertText:"ctx.element.appendChild('text')"}},setAttribute:{type:"function",description:"Set an HTML attribute.",detail:"(name: string, value: string) => void",completion:{insertText:"ctx.element.setAttribute('data-key', 'value')"}},getAttribute:{type:"function",description:"Read an HTML attribute.",detail:"(name: string) => string | null",completion:{insertText:"ctx.element.getAttribute('data-key')"}},querySelector:{type:"function",description:"Find the first matching descendant.",detail:"(selectors: string) => Element | null",completion:{insertText:"ctx.element.querySelector('.selector')"}},querySelectorAll:{type:"function",description:"Find all matching descendants.",detail:"(selectors: string) => NodeListOf<Element>",completion:{insertText:"ctx.element.querySelectorAll('.selector')"}},addEventListener:{type:"function",description:"Attach an event listener to the element.",detail:"(type: string, listener: EventListener) => void",completion:{insertText:"ctx.element.addEventListener('click', (event) => {})"}},removeEventListener:{type:"function",description:"Remove an event listener from the element.",detail:"(type: string, listener: EventListener) => void",completion:{insertText:"ctx.element.removeEventListener('click', handler)"}}},r={innerHTML:"已消毒的 innerHTML 字符串。",outerHTML:"已消毒的 outerHTML 字符串。",textContent:"文本内容。",style:"内联样式声明。",classList:"CSS class 列表。",appendChild:{type:"function",description:"追加 DOM 节点或文本。",detail:"(child: Node | string) => void",completion:{insertText:"ctx.element.appendChild('text')"}},setAttribute:{type:"function",description:"设置 HTML 属性。",detail:"(name: string, value: string) => void",completion:{insertText:"ctx.element.setAttribute('data-key', 'value')"}},getAttribute:{type:"function",description:"读取 HTML 属性。",detail:"(name: string) => string | null",completion:{insertText:"ctx.element.getAttribute('data-key')"}},querySelector:{type:"function",description:"查询第一个匹配的后代元素。",detail:"(selectors: string) => Element | null",completion:{insertText:"ctx.element.querySelector('.selector')"}},querySelectorAll:{type:"function",description:"查询所有匹配的后代元素。",detail:"(selectors: string) => NodeListOf<Element>",completion:{insertText:"ctx.element.querySelectorAll('.selector')"}},addEventListener:{type:"function",description:"给元素添加事件监听。",detail:"(type: string, listener: EventListener) => void",completion:{insertText:"ctx.element.addEventListener('click', (event) => {})"}},removeEventListener:{type:"function",description:"移除元素事件监听。",detail:"(type: string, listener: EventListener) => void",completion:{insertText:"ctx.element.removeEventListener('click', handler)"}}};function l(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Current DOM container for this RunJS context. Usually an ElementProxy.";return{description:e,detail:"HTMLElement | ElementProxy",properties:i}}function o(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"当前 RunJS 上下文的 DOM 容器,通常为 ElementProxy。";return{description:e,detail:"HTMLElement | ElementProxy",properties:r}}},91296(e,t,n){n.r(t),n.d(t,{default:()=>i});let i={contexts:[n(79271).JSBlockRunJSContext],prefix:"sn-react-jsx",label:"Render React (JSX)",description:"Render a simple React component using JSX syntax",locales:{"zh-CN":{label:"渲染 React(JSX)",description:"使用 JSX 语法渲染一个简单的 React 组件"}},content:`
7
+ // Render a React component with JSX
8
+ const { React } = ctx.libs;
9
+
10
+ const App = () => (
11
+ <div style={{ padding: 12 }}>
12
+ <h3 style={{ margin: 0, color: '#1890ff' }}>Hello JSX</h3>
13
+ <div style={{ color: '#555' }}>This block is rendered by JSX.</div>
14
+ </div>
15
+ );
16
+
17
+ ctx.render(<App />);
18
+ `}}};
@@ -0,0 +1 @@
1
+ export const __rspack_esm_id="5757";export const __rspack_esm_ids=["5757"];export const __webpack_modules__={95681(_,d,e){_.exports=function(_){"use strict";var d={name:"cy",weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),weekStart:1,weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"mewn %s",past:"%s yn \xf4l",s:"ychydig eiliadau",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"}};return(_&&"object"==typeof _&&"default"in _?_:{default:_}).default.locale(d,null,!0),d}(e(74353))}};
@@ -0,0 +1,47 @@
1
+ export const __rspack_esm_id="5759";export const __rspack_esm_ids=["5759"];export const __webpack_modules__={25831(e,t,n){n.r(t),n.d(t,{FormJSFieldItemRunJSContext:()=>o});var i=n(29007),r=n(4418);class o extends i.uk{}o.define({label:"FormJSFieldItem RunJS context",properties:{element:(0,r.e)(`ElementProxy instance providing a safe DOM container for form field rendering.
2
+ Supports innerHTML, append, and other DOM manipulation methods.`),value:"Current field value (read-only in display mode; in controlled scenarios, use setProps to modify).",record:`Current record data object (read-only).
3
+ Contains all field values of the parent record.`,formValues:{description:"Snapshot of current form values (object). Available in form contexts (CreateForm/EditForm).",detail:"Record<string, any>",examples:["const { name, status } = ctx.formValues || {};"]}},methods:{onRefReady:`Wait for form field container DOM element to be ready before executing callback.
4
+ Parameters: (ref: React.RefObject, callback: (element: HTMLElement) => void, timeout?: number) => void`,setProps:`Set form field properties programmatically.
5
+ Parameters: (fieldModel: any, props: { value?: any, disabled?: boolean, visible?: boolean }) => void
6
+ Example: ctx.setProps(fieldModel, { value: "new value" })`}}),o.define({label:"表单 JS 字段项 RunJS 上下文",properties:{element:(0,r.V)("ElementProxy,表单字段容器"),value:"字段值(展示模式为只读;受控场景用 setProps 修改)",record:"当前记录(只读)",formValues:{description:"当前表单值快照(对象)。仅表单相关上下文可用(Create/Edit Form)。",detail:"Record<string, any>",examples:["const { name, status } = ctx.formValues || {};"]}},methods:{onRefReady:"容器就绪回调",setProps:"设置表单项属性:`setProps(fieldModel, { value })`(由联动/表单上下文提供)"}},{locale:"zh-CN"})},98542(e,t,n){n.r(t),n.d(t,{JSFieldRunJSContext:()=>o});var i=n(29007),r=n(4418);class o extends i.uk{}o.define({label:"JSField RunJS context",properties:{element:(0,r.e)(`ElementProxy instance providing a safe DOM container for field rendering.
7
+ Supports innerHTML, append, and other DOM manipulation methods.`),value:`Current value of the field (read-only).
8
+ Contains the data value stored in this field.`,record:`Current record data object (read-only).
9
+ Contains all field values of the parent record.`,collection:`Collection definition metadata (read-only).
10
+ Provides schema information about the collection this field belongs to.`},methods:{onRefReady:`Wait for field container DOM element to be ready before executing callback.
11
+ Parameters: (ref: React.RefObject, callback: (element: HTMLElement) => void, timeout?: number) => void
12
+ Example: ctx.onRefReady(ctx.ref, (el) => { el.innerHTML = ctx.value })`}}),o.define({label:"JS 字段 RunJS 上下文",properties:{element:(0,r.V)("ElementProxy,字段渲染容器,支持 innerHTML/append 等 DOM 操作"),value:"字段当前值(只读)",record:"当前记录对象(只读,包含父记录全部字段值)",collection:"集合定义元数据(只读,描述字段所属集合的 Schema)"},methods:{onRefReady:"在字段容器 DOM 就绪后执行回调。参数:(ref, callback, timeout?);示例:ctx.onRefReady(ctx.ref, el => { el.innerHTML = ctx.value })"}},{locale:"zh-CN"})},4418(e,t,n){n.d(t,{V:()=>l,e:()=>o});let i={innerHTML:"Sanitized inner HTML string.",outerHTML:"Sanitized outer HTML string.",textContent:"Text content.",style:"Inline style declaration.",classList:"DOMTokenList for CSS classes.",appendChild:{type:"function",description:"Append a DOM node or text.",detail:"(child: Node | string) => void",completion:{insertText:"ctx.element.appendChild('text')"}},setAttribute:{type:"function",description:"Set an HTML attribute.",detail:"(name: string, value: string) => void",completion:{insertText:"ctx.element.setAttribute('data-key', 'value')"}},getAttribute:{type:"function",description:"Read an HTML attribute.",detail:"(name: string) => string | null",completion:{insertText:"ctx.element.getAttribute('data-key')"}},querySelector:{type:"function",description:"Find the first matching descendant.",detail:"(selectors: string) => Element | null",completion:{insertText:"ctx.element.querySelector('.selector')"}},querySelectorAll:{type:"function",description:"Find all matching descendants.",detail:"(selectors: string) => NodeListOf<Element>",completion:{insertText:"ctx.element.querySelectorAll('.selector')"}},addEventListener:{type:"function",description:"Attach an event listener to the element.",detail:"(type: string, listener: EventListener) => void",completion:{insertText:"ctx.element.addEventListener('click', (event) => {})"}},removeEventListener:{type:"function",description:"Remove an event listener from the element.",detail:"(type: string, listener: EventListener) => void",completion:{insertText:"ctx.element.removeEventListener('click', handler)"}}},r={innerHTML:"已消毒的 innerHTML 字符串。",outerHTML:"已消毒的 outerHTML 字符串。",textContent:"文本内容。",style:"内联样式声明。",classList:"CSS class 列表。",appendChild:{type:"function",description:"追加 DOM 节点或文本。",detail:"(child: Node | string) => void",completion:{insertText:"ctx.element.appendChild('text')"}},setAttribute:{type:"function",description:"设置 HTML 属性。",detail:"(name: string, value: string) => void",completion:{insertText:"ctx.element.setAttribute('data-key', 'value')"}},getAttribute:{type:"function",description:"读取 HTML 属性。",detail:"(name: string) => string | null",completion:{insertText:"ctx.element.getAttribute('data-key')"}},querySelector:{type:"function",description:"查询第一个匹配的后代元素。",detail:"(selectors: string) => Element | null",completion:{insertText:"ctx.element.querySelector('.selector')"}},querySelectorAll:{type:"function",description:"查询所有匹配的后代元素。",detail:"(selectors: string) => NodeListOf<Element>",completion:{insertText:"ctx.element.querySelectorAll('.selector')"}},addEventListener:{type:"function",description:"给元素添加事件监听。",detail:"(type: string, listener: EventListener) => void",completion:{insertText:"ctx.element.addEventListener('click', (event) => {})"}},removeEventListener:{type:"function",description:"移除元素事件监听。",detail:"(type: string, listener: EventListener) => void",completion:{insertText:"ctx.element.removeEventListener('click', handler)"}}};function o(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Current DOM container for this RunJS context. Usually an ElementProxy.";return{description:e,detail:"HTMLElement | ElementProxy",properties:i}}function l(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"当前 RunJS 上下文的 DOM 容器,通常为 ElementProxy。";return{description:e,detail:"HTMLElement | ElementProxy",properties:r}}},73330(e,t,n){n.r(t),n.d(t,{default:()=>o});var i=n(98542),r=n(25831);let o={contexts:[i.JSFieldRunJSContext,r.FormJSFieldItemRunJSContext],prefix:"sn-jsf-percent",label:"Display number field as percentage bar",description:"Render numeric values as a percentage progress bar",locales:{"zh-CN":{label:"将数字字段显示为百分比进度条",description:"将数字格式化为百分比并显示进度条"}},content:`
13
+ const value = Number(ctx.value ?? 0);
14
+
15
+ if (!Number.isFinite(value)) {
16
+ ctx.render('-');
17
+ return;
18
+ }
19
+
20
+ // Ensure value is between 0 and 100
21
+ const percent = Math.max(0, Math.min(100, value));
22
+
23
+ // Color based on value
24
+ const getColor = (val) => {
25
+ if (val >= 80) return '#52c41a';
26
+ if (val >= 50) return '#faad14';
27
+ return '#f5222d';
28
+ };
29
+
30
+ const color = getColor(percent);
31
+
32
+ ctx.render(\`
33
+ <div style="display: flex; align-items: center; gap: 8px;">
34
+ <div style="flex: 1; height: 8px; background: #f0f0f0; border-radius: 4px; overflow: hidden;">
35
+ <div style="
36
+ width: \${percent}%;
37
+ height: 100%;
38
+ background: \${color};
39
+ transition: width 0.3s ease;
40
+ "></div>
41
+ </div>
42
+ <span style="color: \${color}; font-weight: 500; min-width: 45px; text-align: right;">
43
+ \${percent.toFixed(1)}%
44
+ </span>
45
+ </div>
46
+ \`);
47
+ `}}};
@@ -0,0 +1,28 @@
1
+ export const __rspack_esm_id="5761";export const __rspack_esm_ids=["5761"];export const __webpack_modules__={32221(e,t,n){n.r(t),n.d(t,{JSItemRunJSContext:()=>o});var i=n(29007),r=n(4418);class o extends i.uk{}o.define({label:"JSItem RunJS context",properties:{element:(0,r.e)(`ElementProxy instance providing a safe DOM container for form item rendering.
2
+ Supports innerHTML, append, and other DOM manipulation methods.`),resource:`Current resource instance (read-only).
3
+ Provides access to the data resource associated with the current form context.`,record:`Current record data object (read-only).
4
+ Contains all field values of the parent record.`,formValues:{description:"Snapshot of current form values (object). Available in form contexts (CreateForm/EditForm).",detail:"Record<string, any>",examples:["const { name, status } = ctx.formValues || {};"]}},methods:{onRefReady:`Wait for form item container DOM element to be ready before executing callback.
5
+ Parameters: (ref: React.RefObject, callback: (element: HTMLElement) => void, timeout?: number) => void`}}),o.define({label:"JS 表单项 RunJS 上下文",properties:{element:(0,r.V)("ElementProxy,表单项渲染容器,支持 innerHTML/append 等 DOM 操作"),resource:"当前资源(只读)",record:"当前记录(只读)",formValues:{description:"当前表单值快照(对象)。仅表单相关上下文可用(Create/Edit Form)。",detail:"Record<string, any>",examples:["const { name, status } = ctx.formValues || {};"]}},methods:{onRefReady:"容器就绪后执行回调。参数:(ref, callback, timeout?)"}},{locale:"zh-CN"})},4418(e,t,n){n.d(t,{V:()=>l,e:()=>o});let i={innerHTML:"Sanitized inner HTML string.",outerHTML:"Sanitized outer HTML string.",textContent:"Text content.",style:"Inline style declaration.",classList:"DOMTokenList for CSS classes.",appendChild:{type:"function",description:"Append a DOM node or text.",detail:"(child: Node | string) => void",completion:{insertText:"ctx.element.appendChild('text')"}},setAttribute:{type:"function",description:"Set an HTML attribute.",detail:"(name: string, value: string) => void",completion:{insertText:"ctx.element.setAttribute('data-key', 'value')"}},getAttribute:{type:"function",description:"Read an HTML attribute.",detail:"(name: string) => string | null",completion:{insertText:"ctx.element.getAttribute('data-key')"}},querySelector:{type:"function",description:"Find the first matching descendant.",detail:"(selectors: string) => Element | null",completion:{insertText:"ctx.element.querySelector('.selector')"}},querySelectorAll:{type:"function",description:"Find all matching descendants.",detail:"(selectors: string) => NodeListOf<Element>",completion:{insertText:"ctx.element.querySelectorAll('.selector')"}},addEventListener:{type:"function",description:"Attach an event listener to the element.",detail:"(type: string, listener: EventListener) => void",completion:{insertText:"ctx.element.addEventListener('click', (event) => {})"}},removeEventListener:{type:"function",description:"Remove an event listener from the element.",detail:"(type: string, listener: EventListener) => void",completion:{insertText:"ctx.element.removeEventListener('click', handler)"}}},r={innerHTML:"已消毒的 innerHTML 字符串。",outerHTML:"已消毒的 outerHTML 字符串。",textContent:"文本内容。",style:"内联样式声明。",classList:"CSS class 列表。",appendChild:{type:"function",description:"追加 DOM 节点或文本。",detail:"(child: Node | string) => void",completion:{insertText:"ctx.element.appendChild('text')"}},setAttribute:{type:"function",description:"设置 HTML 属性。",detail:"(name: string, value: string) => void",completion:{insertText:"ctx.element.setAttribute('data-key', 'value')"}},getAttribute:{type:"function",description:"读取 HTML 属性。",detail:"(name: string) => string | null",completion:{insertText:"ctx.element.getAttribute('data-key')"}},querySelector:{type:"function",description:"查询第一个匹配的后代元素。",detail:"(selectors: string) => Element | null",completion:{insertText:"ctx.element.querySelector('.selector')"}},querySelectorAll:{type:"function",description:"查询所有匹配的后代元素。",detail:"(selectors: string) => NodeListOf<Element>",completion:{insertText:"ctx.element.querySelectorAll('.selector')"}},addEventListener:{type:"function",description:"给元素添加事件监听。",detail:"(type: string, listener: EventListener) => void",completion:{insertText:"ctx.element.addEventListener('click', (event) => {})"}},removeEventListener:{type:"function",description:"移除元素事件监听。",detail:"(type: string, listener: EventListener) => void",completion:{insertText:"ctx.element.removeEventListener('click', handler)"}}};function o(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Current DOM container for this RunJS context. Usually an ElementProxy.";return{description:e,detail:"HTMLElement | ElementProxy",properties:i}}function l(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"当前 RunJS 上下文的 DOM 容器,通常为 ElementProxy。";return{description:e,detail:"HTMLElement | ElementProxy",properties:r}}},30008(e,t,n){n.r(t),n.d(t,{default:()=>i});let i={contexts:[n(32221).JSItemRunJSContext],prefix:"sn-link-visibility",label:"Toggle visible",description:"Show or hide another field within linkage scripts",locales:{"zh-CN":{label:"切换可见性",description:"在联动脚本中设置字段显示或隐藏"}},content:`
6
+ const targetFieldUid = 'FIELD_UID_OR_NAME';
7
+ const shouldHide = true;
8
+
9
+ const items = ctx.model?.subModels?.grid?.subModels?.items;
10
+ const candidates = Array.isArray(items)
11
+ ? items
12
+ : Array.from(items?.values?.() || items || []);
13
+ const fieldModel =
14
+ candidates.find((item) => item?.uid === targetFieldUid) ||
15
+ candidates.find((item) => item?.props?.name === targetFieldUid);
16
+
17
+ if (!fieldModel) {
18
+ ctx.message?.warning?.(ctx.t('Field {{name}} not found', { name: targetFieldUid }));
19
+ return;
20
+ }
21
+
22
+ fieldModel.setProps({ hiddenModel: shouldHide });
23
+ ctx.message?.success?.(
24
+ ctx.t(shouldHide ? 'Hidden field {{name}}' : 'Shown field {{name}}', {
25
+ name: fieldModel?.props?.label || targetFieldUid,
26
+ }),
27
+ );
28
+ `}}};
@@ -0,0 +1 @@
1
+ export const __rspack_esm_id="5791";export const __rspack_esm_ids=["5791"];export const __webpack_modules__={2338(e,_,t){e.exports=function(e){"use strict";var _="يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},r={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},n={name:"ar",weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),months:_,monthsShort:_,weekStart:6,meridiem:function(e){return e>12?"م":"ص"},relativeTime:{future:"بعد %s",past:"منذ %s",s:"ثانية واحدة",m:"دقيقة واحدة",mm:"%d دقائق",h:"ساعة واحدة",hh:"%d ساعات",d:"يوم واحد",dd:"%d أيام",M:"شهر واحد",MM:"%d أشهر",y:"عام واحد",yy:"%d أعوام"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,function(e){return r[e]}).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"،")},ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(n,null,!0),n}(t(74353))}};
@@ -0,0 +1 @@
1
+ export const __rspack_esm_id="58";export const __rspack_esm_ids=["58"];export const __webpack_modules__={17329(e,_,a){e.exports=function(e){"use strict";var _={name:"en-ie",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekStart:1,weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(_,null,!0),_}(a(74353))}};
@@ -0,0 +1 @@
1
+ export const __rspack_esm_id="5815";export const __rspack_esm_ids=["5815"];export const __webpack_modules__={62682(t){t.exports=function(){var t=[function(t,e){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},function(t,e,n){var o=n(22),r="object"==typeof self&&self&&self.Object===Object&&self;t.exports=o||r||Function("return this")()},function(t,e){t.exports=function(t){return null!=t&&"object"==typeof t}},function(t,e,n){function o(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var o=t[e];this.set(o[0],o[1])}}var r=n(75),i=n(76),a=n(77),s=n(78),c=n(79);o.prototype.clear=r,o.prototype.delete=i,o.prototype.get=a,o.prototype.has=s,o.prototype.set=c,t.exports=o},function(t,e,n){var o=n(8);t.exports=function(t,e){for(var n=t.length;n--;)if(o(t[n][0],e))return n;return -1}},function(t,e,n){var o=n(16),r=n(64),i=n(87),a=o?o.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":a&&a in Object(t)?r(t):i(t)}},function(t,e,n){var o=n(73);t.exports=function(t,e){var n=t.__data__;return o(e)?n["string"==typeof e?"string":"hash"]:n.map}},function(t,e,n){t.exports=n(11)(Object,"create")},function(t,e){t.exports=function(t,e){return t===e||t!=t&&e!=e}},function(t,e,n){"use strict";n.d(e,"a",function(){return o});var o=function t(e){(function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")})(this,t),this.onCreate=function(){},this.onDestroy=function(){},this.onUpdate=function(){},this.overlay=e.overlay,this.img=e.img,this.options=e.options,this.requestUpdate=e.onUpdate}},function(t,e,n){var o=n(21);t.exports=function(t,e,n){"__proto__"==e&&o?o(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}},function(t,e,n){var o=n(48),r=n(65);t.exports=function(t,e){var n=r(t,e);return o(n)?n:void 0}},function(t,e,n){var o=n(13),r=n(30);t.exports=function(t){return null!=t&&r(t.length)&&!o(t)}},function(t,e,n){var o=n(5),r=n(0);t.exports=function(t){if(!r(t))return!1;var e=o(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e,n){t.exports=n(11)(n(1),"Map")},function(t,e,n){t.exports=n(1).Symbol},function(t,e){t.exports=function(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}},function(t,e,n){var o=n(10),r=n(8);t.exports=function(t,e,n){(void 0===n||r(t[e],n))&&(void 0!==n||e in t)||o(t,e,n)}},function(t,e,n){var o=n(41),r=n(18),i=n(46),a=n(51),s=n(0),c=n(32);t.exports=function t(e,n,u,l,f){e!==n&&i(n,function(i,c){if(s(i))f||(f=new o),a(e,n,c,u,t,l,f);else{var p=l?l(e[c],i,c+"",e,n,f):void 0;void 0===p&&(p=i),r(e,c,p)}},c)}},function(t,e,n){var o=n(26),r=n(89),i=n(90);t.exports=function(t,e){return i(r(t,e,o),t+"")}},function(t,e,n){var o=n(11);t.exports=function(){try{var t=o(Object,"defineProperty");return t({},"",{}),t}catch(t){}}()},function(t,e,n){(function(e){t.exports="object"==typeof e&&e&&e.Object===Object&&e}).call(e,n(107))},function(t,e,n){t.exports=n(88)(Object.getPrototypeOf,Object)},function(t,e){var n=/^(?:0|[1-9]\d*)$/;t.exports=function(t,e){return!!(e=null==e?0x1fffffffffffff:e)&&("number"==typeof t||n.test(t))&&t>-1&&t%1==0&&t<e}},function(t,e){var n=Object.prototype;t.exports=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||n)}},function(t,e){t.exports=function(t){return t}},function(t,e,n){var o=n(47),r=n(2),i=Object.prototype,a=i.hasOwnProperty,s=i.propertyIsEnumerable;t.exports=o(function(){return arguments}())?o:function(t){return r(t)&&a.call(t,"callee")&&!s.call(t,"callee")}},function(t,e){t.exports=Array.isArray},function(t,e,n){(function(t){var o=n(1),r=n(102),i="object"==typeof e&&e&&!e.nodeType&&e,a=i&&"object"==typeof t&&t&&!t.nodeType&&t,s=a&&a.exports===i?o.Buffer:void 0;t.exports=(s?s.isBuffer:void 0)||r}).call(e,n(14)(t))},function(t,e){t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=0x1fffffffffffff}},function(t,e,n){var o=n(49),r=n(54),i=n(86),a=i&&i.isTypedArray;t.exports=a?r(a):o},function(t,e,n){var o=n(43),r=n(50),i=n(12);t.exports=function(t){return i(t)?o(t,!0):r(t)}},function(t,e,n){"use strict";e.a={modules:["DisplaySize","Toolbar","Resize"],overlayStyles:{position:"absolute",boxSizing:"border-box",border:"1px dashed #444"},handleStyles:{position:"absolute",height:"12px",width:"12px",backgroundColor:"white",border:"1px solid #777",boxSizing:"border-box",opacity:"0.80"},displayStyles:{position:"absolute",font:"12px/1.0 Arial, Helvetica, sans-serif",padding:"4px 8px",textAlign:"center",backgroundColor:"white",color:"#333",border:"1px solid #777",boxSizing:"border-box",opacity:"0.80",cursor:"default"},toolbarStyles:{position:"absolute",top:"-12px",right:"0",left:"0",height:"0",minWidth:"100px",font:"12px/1.0 Arial, Helvetica, sans-serif",textAlign:"center",color:"#333",boxSizing:"border-box",cursor:"default"},toolbarButtonStyles:{display:"inline-block",width:"24px",height:"24px",background:"white",border:"1px solid #999",verticalAlign:"middle"},toolbarButtonSvgStyles:{fill:"#444",stroke:"#444",strokeWidth:"2"}}},function(t,e,n){"use strict";function o(t,e){if(!t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&("object"==typeof e||"function"==typeof e)?e:t}var r=n(9);n.d(e,"a",function(){return i});var i=function(t){function e(){var t,n,r;if(!(this instanceof e))throw TypeError("Cannot call a class as a function");for(var i=arguments.length,a=Array(i),s=0;s<i;s++)a[s]=arguments[s];return n=r=o(this,(t=e.__proto__||Object.getPrototypeOf(e)).call.apply(t,[this].concat(a))),r.onCreate=function(){r.display=document.createElement("div"),Object.assign(r.display.style,r.options.displayStyles),r.overlay.appendChild(r.display)},r.onDestroy=function(){},r.onUpdate=function(){if(r.display&&r.img){var t=r.getCurrentSize();if(r.display.innerHTML=t.join(" &times; "),t[0]>120&&t[1]>30)Object.assign(r.display.style,{right:"4px",bottom:"4px",left:"auto"});else if("right"==r.img.style.float){var e=r.display.getBoundingClientRect();Object.assign(r.display.style,{right:"auto",bottom:"-"+(e.height+4)+"px",left:"-"+(e.width+4)+"px"})}else{var n=r.display.getBoundingClientRect();Object.assign(r.display.style,{right:"-"+(n.width+4)+"px",bottom:"-"+(n.height+4)+"px",left:"auto"})}}},r.getCurrentSize=function(){return[r.img.width,Math.round(r.img.width/r.img.naturalWidth*r.img.naturalHeight)]},o(r,n)}return function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e}(r.a)},function(t,e,n){"use strict";function o(t,e){if(!t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&("object"==typeof e||"function"==typeof e)?e:t}var r=n(9);n.d(e,"a",function(){return i});var i=function(t){function e(){var t,n,r;if(!(this instanceof e))throw TypeError("Cannot call a class as a function");for(var i=arguments.length,a=Array(i),s=0;s<i;s++)a[s]=arguments[s];return n=r=o(this,(t=e.__proto__||Object.getPrototypeOf(e)).call.apply(t,[this].concat(a))),r.onCreate=function(){r.boxes=[],r.addBox("nwse-resize"),r.addBox("nesw-resize"),r.addBox("nwse-resize"),r.addBox("nesw-resize"),r.positionBoxes()},r.onDestroy=function(){r.setCursor("")},r.positionBoxes=function(){var t=-parseFloat(r.options.handleStyles.width)/2+"px",e=-parseFloat(r.options.handleStyles.height)/2+"px";[{left:t,top:e},{right:t,top:e},{right:t,bottom:e},{left:t,bottom:e}].forEach(function(t,e){Object.assign(r.boxes[e].style,t)})},r.addBox=function(t){var e=document.createElement("div");Object.assign(e.style,r.options.handleStyles),e.style.cursor=t,e.style.width=r.options.handleStyles.width+"px",e.style.height=r.options.handleStyles.height+"px",e.addEventListener("mousedown",r.handleMousedown,!1),r.overlay.appendChild(e),r.boxes.push(e)},r.handleMousedown=function(t){r.dragBox=t.target,r.dragStartX=t.clientX,r.preDragWidth=r.img.width||r.img.naturalWidth,r.setCursor(r.dragBox.style.cursor),document.addEventListener("mousemove",r.handleDrag,!1),document.addEventListener("mouseup",r.handleMouseup,!1)},r.handleMouseup=function(){r.setCursor(""),document.removeEventListener("mousemove",r.handleDrag),document.removeEventListener("mouseup",r.handleMouseup)},r.handleDrag=function(t){if(r.img){var e=t.clientX-r.dragStartX;r.dragBox===r.boxes[0]||r.dragBox===r.boxes[3]?r.img.width=Math.round(r.preDragWidth-e):r.img.width=Math.round(r.preDragWidth+e),r.requestUpdate()}},r.setCursor=function(t){[document.body,r.img].forEach(function(e){e.style.cursor=t})},o(r,n)}return function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e}(r.a)},function(t,e,n){"use strict";function o(t,e){if(!t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&("object"==typeof e||"function"==typeof e)?e:t}var r=n(105),i=n.n(r),a=n(104),s=n.n(a),c=n(106),u=n.n(c),l=n(9);n.d(e,"a",function(){return y});var f={},p={},d={},h={},y=function(t){function e(){var t,n,r;if(!(this instanceof e))throw TypeError("Cannot call a class as a function");for(var a=arguments.length,c=Array(a),l=0;l<a;l++)c[l]=arguments[l];return n=r=o(this,(t=e.__proto__||Object.getPrototypeOf(e)).call.apply(t,[this].concat(c))),r.onCreate=function(t){p=new(f=t).Attributor.Style("float","float"),d=new f.Attributor.Style("margin","margin"),h=new f.Attributor.Style("display","display"),r.toolbar=document.createElement("div"),Object.assign(r.toolbar.style,r.options.toolbarStyles),r.overlay.appendChild(r.toolbar),r._defineAlignments(),r._addToolbarButtons()},r.onDestroy=function(){},r.onUpdate=function(){},r._defineAlignments=function(){r.alignments=[{icon:i.a,apply:function(){h.add(r.img,"inline"),p.add(r.img,"left"),d.add(r.img,"0 1em 1em 0")},isApplied:function(){return"left"==p.value(r.img)}},{icon:s.a,apply:function(){h.add(r.img,"block"),p.remove(r.img),d.add(r.img,"auto")},isApplied:function(){return"auto"==d.value(r.img)}},{icon:u.a,apply:function(){h.add(r.img,"inline"),p.add(r.img,"right"),d.add(r.img,"0 0 1em 1em")},isApplied:function(){return"right"==p.value(r.img)}}]},r._addToolbarButtons=function(){var t=[];r.alignments.forEach(function(e,n){var o=document.createElement("span");t.push(o),o.innerHTML=e.icon,o.addEventListener("click",function(){t.forEach(function(t){return t.style.filter=""}),e.isApplied()?(p.remove(r.img),d.remove(r.img),h.remove(r.img)):(r._selectButton(o),e.apply()),r.requestUpdate()}),Object.assign(o.style,r.options.toolbarButtonStyles),n>0&&(o.style.borderLeftWidth="0"),Object.assign(o.children[0].style,r.options.toolbarButtonSvgStyles),e.isApplied()&&r._selectButton(o),r.toolbar.appendChild(o)})},r._selectButton=function(t){t.style.filter="invert(20%)"},o(r,n)}return function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e}(l.a)},function(t,e,n){var o=n(17),r=n(20),i=n(63),a=n(101);t.exports=r(function(t){return t.push(void 0,i),o(a,void 0,t)})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(37),r=n.n(o),i=n(33),a=n(34),s=n(36),c=n(35),u={DisplaySize:a.a,Toolbar:s.a,Resize:c.a},l=function t(e){var n=this,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")})(this,t),this.initializeModules=function(){n.removeModules(),n.modules=n.moduleClasses.map(function(t){return new(u[t]||t)(n)}),n.modules.forEach(function(t){t.onCreate(n.parchment)}),n.onUpdate()},this.onUpdate=function(){n.repositionElements(),n.modules.forEach(function(t){t.onUpdate()})},this.removeModules=function(){n.modules.forEach(function(t){t.onDestroy()}),n.modules=[]},this.handleClick=function(t){t.target&&t.target.tagName&&"IMG"===t.target.tagName.toUpperCase()?n.img!==t.target&&(n.img&&n.hide(),n.show(t.target)):n.img&&n.hide()},this.show=function(t){n.img=t,n.showOverlay(),n.initializeModules()},this.showOverlay=function(){n.overlay&&n.hideOverlay(),n.quill.setSelection(null),n.setUserSelect("none"),document.addEventListener("keyup",n.checkImage,!0),n.quill.root.addEventListener("input",n.checkImage,!0),n.overlay=document.createElement("div"),Object.assign(n.overlay.style,n.options.overlayStyles),n.quill.root.parentNode.appendChild(n.overlay),n.repositionElements()},this.hideOverlay=function(){n.overlay&&(n.quill.root.parentNode.removeChild(n.overlay),n.overlay=void 0,document.removeEventListener("keyup",n.checkImage),n.quill.root.removeEventListener("input",n.checkImage),n.setUserSelect(""))},this.repositionElements=function(){if(n.overlay&&n.img){var t=n.quill.root.parentNode,e=n.img.getBoundingClientRect(),o=t.getBoundingClientRect();Object.assign(n.overlay.style,{left:e.left-o.left-1+t.scrollLeft+"px",top:e.top-o.top+t.scrollTop+"px",width:e.width+"px",height:e.height+"px"})}},this.hide=function(){n.hideOverlay(),n.removeModules(),n.img=void 0},this.setUserSelect=function(t){["userSelect","mozUserSelect","webkitUserSelect","msUserSelect"].forEach(function(e){n.quill.root.style[e]=t,document.documentElement.style[e]=t})},this.checkImage=function(t){n.img&&(46!=t.keyCode&&8!=t.keyCode||window.Quill.find(n.img).deleteAt(0),n.hide())},this.quill=e;var a=!1;o.modules&&(a=o.modules.slice()),o.parchment&&(this.parchment=o.parchment),this.options=r()({},o,i.a),!1!==a&&(this.options.modules=a),document.execCommand("enableObjectResizing",!1,"false"),this.quill.root.addEventListener("click",this.handleClick,!1),this.quill.root.parentNode.style.position=this.quill.root.parentNode.style.position||"relative",this.moduleClasses=this.options.modules,this.modules=[]};e.default=l,window.Quill&&window.Quill.register("modules/imageResize",l)},function(t,e,n){function o(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var o=t[e];this.set(o[0],o[1])}}var r=n(66),i=n(67),a=n(68),s=n(69),c=n(70);o.prototype.clear=r,o.prototype.delete=i,o.prototype.get=a,o.prototype.has=s,o.prototype.set=c,t.exports=o},function(t,e,n){function o(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var o=t[e];this.set(o[0],o[1])}}var r=n(80),i=n(81),a=n(82),s=n(83),c=n(84);o.prototype.clear=r,o.prototype.delete=i,o.prototype.get=a,o.prototype.has=s,o.prototype.set=c,t.exports=o},function(t,e,n){function o(t){var e=this.__data__=new r(t);this.size=e.size}var r=n(3),i=n(92),a=n(93),s=n(94),c=n(95),u=n(96);o.prototype.clear=i,o.prototype.delete=a,o.prototype.get=s,o.prototype.has=c,o.prototype.set=u,t.exports=o},function(t,e,n){t.exports=n(1).Uint8Array},function(t,e,n){var o=n(53),r=n(27),i=n(28),a=n(29),s=n(24),c=n(31),u=Object.prototype.hasOwnProperty;t.exports=function(t,e){var n=i(t),l=!n&&r(t),f=!n&&!l&&a(t),p=!n&&!l&&!f&&c(t),d=n||l||f||p,h=d?o(t.length,String):[],y=h.length;for(var v in t)!e&&!u.call(t,v)||d&&("length"==v||f&&("offset"==v||"parent"==v)||p&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||s(v,y))||h.push(v);return h}},function(t,e,n){var o=n(10),r=n(8),i=Object.prototype.hasOwnProperty;t.exports=function(t,e,n){var a=t[e];i.call(t,e)&&r(a,n)&&(void 0!==n||e in t)||o(t,e,n)}},function(t,e,n){var o=n(0),r=Object.create;t.exports=function(){function t(){}return function(e){if(!o(e))return{};if(r)return r(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}()},function(t,e,n){t.exports=n(62)()},function(t,e,n){var o=n(5),r=n(2);t.exports=function(t){return r(t)&&"[object Arguments]"==o(t)}},function(t,e,n){var o=n(13),r=n(74),i=n(0),a=n(97),s=/^\[object .+?Constructor\]$/,c=Object.prototype,u=Function.prototype.toString,l=c.hasOwnProperty,f=RegExp("^"+u.call(l).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!i(t)||r(t))&&(o(t)?f:s).test(a(t))}},function(t,e,n){var o=n(5),r=n(30),i=n(2),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,t.exports=function(t){return i(t)&&r(t.length)&&!!a[o(t)]}},function(t,e,n){var o=n(0),r=n(25),i=n(85),a=Object.prototype.hasOwnProperty;t.exports=function(t){if(!o(t))return i(t);var e=r(t),n=[];for(var s in t)("constructor"!=s||!e&&a.call(t,s))&&n.push(s);return n}},function(t,e,n){var o=n(18),r=n(56),i=n(57),a=n(58),s=n(71),c=n(27),u=n(28),l=n(99),f=n(29),p=n(13),d=n(0),h=n(100),y=n(31),v=n(103);t.exports=function(t,e,n,b,g,x,m){var _=t[n],j=e[n],w=m.get(j);if(w)return void o(t,n,w);var O=x?x(_,j,n+"",t,e,m):void 0,S=void 0===O;if(S){var E=u(j),A=!E&&f(j),k=!E&&!A&&y(j);O=j,E||A||k?u(_)?O=_:l(_)?O=a(_):A?(S=!1,O=r(j,!0)):k?(S=!1,O=i(j,!0)):O=[]:h(j)||c(j)?(O=_,c(_)?O=v(_):(!d(_)||b&&p(_))&&(O=s(j))):S=!1}S&&(m.set(j,O),g(O,j,b,x,m),m.delete(j)),o(t,n,O)}},function(t,e,n){var o=n(98),r=n(21),i=n(26);t.exports=r?function(t,e){return r(t,"toString",{configurable:!0,enumerable:!1,value:o(e),writable:!0})}:i},function(t,e){t.exports=function(t,e){for(var n=-1,o=Array(t);++n<t;)o[n]=e(n);return o}},function(t,e){t.exports=function(t){return function(e){return t(e)}}},function(t,e,n){var o=n(42);t.exports=function(t){var e=new t.constructor(t.byteLength);return new o(e).set(new o(t)),e}},function(t,e,n){(function(t){var o=n(1),r="object"==typeof e&&e&&!e.nodeType&&e,i=r&&"object"==typeof t&&t&&!t.nodeType&&t,a=i&&i.exports===r?o.Buffer:void 0,s=a?a.allocUnsafe:void 0;t.exports=function(t,e){if(e)return t.slice();var n=t.length,o=s?s(n):new t.constructor(n);return t.copy(o),o}}).call(e,n(14)(t))},function(t,e,n){var o=n(55);t.exports=function(t,e){var n=e?o(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}},function(t,e){t.exports=function(t,e){var n=-1,o=t.length;for(e||(e=Array(o));++n<o;)e[n]=t[n];return e}},function(t,e,n){var o=n(44),r=n(10);t.exports=function(t,e,n,i){var a=!n;n||(n={});for(var s=-1,c=e.length;++s<c;){var u=e[s],l=i?i(n[u],t[u],u,n,t):void 0;void 0===l&&(l=t[u]),a?r(n,u,l):o(n,u,l)}return n}},function(t,e,n){t.exports=n(1)["__core-js_shared__"]},function(t,e,n){var o=n(20),r=n(72);t.exports=function(t){return o(function(e,n){var o=-1,i=n.length,a=i>1?n[i-1]:void 0,s=i>2?n[2]:void 0;for(a=t.length>3&&"function"==typeof a?(i--,a):void 0,s&&r(n[0],n[1],s)&&(a=i<3?void 0:a,i=1),e=Object(e);++o<i;){var c=n[o];c&&t(e,c,o,a)}return e})}},function(t,e){t.exports=function(t){return function(e,n,o){for(var r=-1,i=Object(e),a=o(e),s=a.length;s--;){var c=a[t?s:++r];if(!1===n(i[c],c,i))break}return e}}},function(t,e,n){var o=n(19),r=n(0);t.exports=function t(e,n,i,a,s,c){return r(e)&&r(n)&&(c.set(n,e),o(e,n,void 0,t,c),c.delete(n)),e}},function(t,e,n){var o=n(16),r=Object.prototype,i=r.hasOwnProperty,a=r.toString,s=o?o.toStringTag:void 0;t.exports=function(t){var e=i.call(t,s),n=t[s];try{t[s]=void 0}catch(t){}var o=a.call(t);return e?t[s]=n:delete t[s],o}},function(t,e){t.exports=function(t,e){return null==t?void 0:t[e]}},function(t,e,n){var o=n(7);t.exports=function(){this.__data__=o?o(null):{},this.size=0}},function(t,e){t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=!!e,e}},function(t,e,n){var o=n(7),r=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(o){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return r.call(e,t)?e[t]:void 0}},function(t,e,n){var o=n(7),r=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return o?void 0!==e[t]:r.call(e,t)}},function(t,e,n){var o=n(7);t.exports=function(t,e){var n=this.__data__;return this.size+=+!this.has(t),n[t]=o&&void 0===e?"__lodash_hash_undefined__":e,this}},function(t,e,n){var o=n(45),r=n(23),i=n(25);t.exports=function(t){return"function"!=typeof t.constructor||i(t)?{}:o(r(t))}},function(t,e,n){var o=n(8),r=n(12),i=n(24),a=n(0);t.exports=function(t,e,n){if(!a(n))return!1;var s=typeof e;return!!("number"==s?r(n)&&i(e,n.length):"string"==s&&e in n)&&o(n[e],t)}},function(t,e){t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},function(t,e,n){var o,r=n(60),i=(o=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||""))?"Symbol(src)_1."+o:"";t.exports=function(t){return!!i&&i in t}},function(t,e){t.exports=function(){this.__data__=[],this.size=0}},function(t,e,n){var o=n(4),r=Array.prototype.splice;t.exports=function(t){var e=this.__data__,n=o(e,t);return!(n<0)&&(n==e.length-1?e.pop():r.call(e,n,1),--this.size,!0)}},function(t,e,n){var o=n(4);t.exports=function(t){var e=this.__data__,n=o(e,t);return n<0?void 0:e[n][1]}},function(t,e,n){var o=n(4);t.exports=function(t){return o(this.__data__,t)>-1}},function(t,e,n){var o=n(4);t.exports=function(t,e){var n=this.__data__,r=o(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this}},function(t,e,n){var o=n(39),r=n(3),i=n(15);t.exports=function(){this.size=0,this.__data__={hash:new o,map:new(i||r),string:new o}}},function(t,e,n){var o=n(6);t.exports=function(t){var e=o(this,t).delete(t);return this.size-=!!e,e}},function(t,e,n){var o=n(6);t.exports=function(t){return o(this,t).get(t)}},function(t,e,n){var o=n(6);t.exports=function(t){return o(this,t).has(t)}},function(t,e,n){var o=n(6);t.exports=function(t,e){var n=o(this,t),r=n.size;return n.set(t,e),this.size+=+(n.size!=r),this}},function(t,e){t.exports=function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}},function(t,e,n){(function(t){var o=n(22),r="object"==typeof e&&e&&!e.nodeType&&e,i=r&&"object"==typeof t&&t&&!t.nodeType&&t,a=i&&i.exports===r&&o.process;t.exports=function(){try{return a&&a.binding&&a.binding("util")}catch(t){}}()}).call(e,n(14)(t))},function(t,e){var n=Object.prototype.toString;t.exports=function(t){return n.call(t)}},function(t,e){t.exports=function(t,e){return function(n){return t(e(n))}}},function(t,e,n){var o=n(17),r=Math.max;t.exports=function(t,e,n){return e=r(void 0===e?t.length-1:e,0),function(){for(var i=arguments,a=-1,s=r(i.length-e,0),c=Array(s);++a<s;)c[a]=i[e+a];a=-1;for(var u=Array(e+1);++a<e;)u[a]=i[a];return u[e]=n(c),o(t,this,u)}}},function(t,e,n){var o=n(52);t.exports=n(91)(o)},function(t,e){var n=Date.now;t.exports=function(t){var e=0,o=0;return function(){var r=n(),i=16-(r-o);if(o=r,i>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}},function(t,e,n){var o=n(3);t.exports=function(){this.__data__=new o,this.size=0}},function(t,e){t.exports=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}},function(t,e){t.exports=function(t){return this.__data__.get(t)}},function(t,e){t.exports=function(t){return this.__data__.has(t)}},function(t,e,n){var o=n(3),r=n(15),i=n(40);t.exports=function(t,e){var n=this.__data__;if(n instanceof o){var a=n.__data__;if(!r||a.length<199)return a.push([t,e]),this.size=++n.size,this;n=this.__data__=new i(a)}return n.set(t,e),this.size=n.size,this}},function(t,e){var n=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return n.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},function(t,e){t.exports=function(t){return function(){return t}}},function(t,e,n){var o=n(12),r=n(2);t.exports=function(t){return r(t)&&o(t)}},function(t,e,n){var o=n(5),r=n(23),i=n(2),a=Object.prototype,s=Function.prototype.toString,c=a.hasOwnProperty,u=s.call(Object);t.exports=function(t){if(!i(t)||"[object Object]"!=o(t))return!1;var e=r(t);if(null===e)return!0;var n=c.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&s.call(n)==u}},function(t,e,n){var o=n(19);t.exports=n(61)(function(t,e,n,r){o(t,e,n,r)})},function(t,e){t.exports=function(){return!1}},function(t,e,n){var o=n(59),r=n(32);t.exports=function(t){return o(t,r(t))}},function(t,e){t.exports='<svg viewbox="0 0 18 18">\n <line class="ql-stroke" x1="15" x2="3" y1="9" y2="9"></line>\n <line class="ql-stroke" x1="14" x2="4" y1="14" y2="14"></line>\n <line class="ql-stroke" x1="12" x2="6" y1="4" y2="4"></line>\n</svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18">\n <line class="ql-stroke" x1="3" x2="15" y1="9" y2="9"></line>\n <line class="ql-stroke" x1="3" x2="13" y1="14" y2="14"></line>\n <line class="ql-stroke" x1="3" x2="9" y1="4" y2="4"></line>\n</svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18">\n <line class="ql-stroke" x1="15" x2="3" y1="9" y2="9"></line>\n <line class="ql-stroke" x1="15" x2="5" y1="14" y2="14"></line>\n <line class="ql-stroke" x1="15" x2="9" y1="4" y2="4"></line>\n</svg>'},function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n}];function e(o){if(n[o])return n[o].exports;var r=n[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,o){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:o})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=38)}()}};
@@ -0,0 +1 @@
1
+ export const __rspack_esm_id="5819";export const __rspack_esm_ids=["5819"];export const __webpack_modules__={51750(_,t,e){_.exports=function(_){"use strict";var t={name:"ur",weekdays:"اتوار_پیر_منگل_بدھ_جمعرات_جمعہ_ہفتہ".split("_"),months:"جنوری_فروری_مارچ_اپریل_مئی_جون_جولائی_اگست_ستمبر_اکتوبر_نومبر_دسمبر".split("_"),weekStart:1,weekdaysShort:"اتوار_پیر_منگل_بدھ_جمعرات_جمعہ_ہفتہ".split("_"),monthsShort:"جنوری_فروری_مارچ_اپریل_مئی_جون_جولائی_اگست_ستمبر_اکتوبر_نومبر_دسمبر".split("_"),weekdaysMin:"اتوار_پیر_منگل_بدھ_جمعرات_جمعہ_ہفتہ".split("_"),ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},relativeTime:{future:"%s بعد",past:"%s قبل",s:"چند سیکنڈ",m:"ایک منٹ",mm:"%d منٹ",h:"ایک گھنٹہ",hh:"%d گھنٹے",d:"ایک دن",dd:"%d دن",M:"ایک ماہ",MM:"%d ماہ",y:"ایک سال",yy:"%d سال"}};return(_&&"object"==typeof _&&"default"in _?_:{default:_}).default.locale(t,null,!0),t}(e(74353))}};
@@ -0,0 +1 @@
1
+ export const __rspack_esm_id="5861";export const __rspack_esm_ids=["5861"];export const __webpack_modules__={59881(_,e,a){_.exports=function(_){"use strict";var e={name:"en-au",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekStart:1,weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ordinal:function(_){return _},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}};return(_&&"object"==typeof _&&"default"in _?_:{default:_}).default.locale(e,null,!0),e}(a(74353))}};
@@ -0,0 +1 @@
1
+ export const __rspack_esm_id="5870";export const __rspack_esm_ids=["5870"];export const __webpack_modules__={87933(_,e,t){_.exports=function(_){"use strict";var e={name:"yo",weekdays:"Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta".split("_"),months:"Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀".split("_"),weekStart:1,weekdaysShort:"Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá".split("_"),monthsShort:"Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀".split("_"),weekdaysMin:"Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb".split("_"),ordinal:function(_){return _},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},relativeTime:{future:"ní %s",past:"%s kọjá",s:"ìsẹjú aayá die",m:"ìsẹjú kan",mm:"ìsẹjú %d",h:"wákati kan",hh:"wákati %d",d:"ọjọ́ kan",dd:"ọjọ́ %d",M:"osù kan",MM:"osù %d",y:"ọdún kan",yy:"ọdún %d"}};return(_&&"object"==typeof _&&"default"in _?_:{default:_}).default.locale(e,null,!0),e}(t(74353))}};
@@ -0,0 +1 @@
1
+ export const __rspack_esm_id="5881";export const __rspack_esm_ids=["5881"];export const __webpack_modules__={4288(e,a,t){e.exports=function(e){"use strict";function a(e,a,t,_){var s={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],m:["\xfche minuti","\xfcks minut"],mm:["%d minuti","%d minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:["%d tunni","%d tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:["%d kuu","%d kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:["%d aasta","%d aastat"]};return a?(s[t][2]?s[t][2]:s[t][1]).replace("%d",e):(_?s[t][0]:s[t][1]).replace("%d",e)}var t={name:"et",weekdays:"p\xfchap\xe4ev_esmasp\xe4ev_teisip\xe4ev_kolmap\xe4ev_neljap\xe4ev_reede_laup\xe4ev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),months:"jaanuar_veebruar_m\xe4rts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_m\xe4rts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),ordinal:function(e){return e+"."},weekStart:1,relativeTime:{future:"%s p\xe4rast",past:"%s tagasi",s:a,m:a,mm:a,h:a,hh:a,d:a,dd:"%d p\xe4eva",M:a,MM:a,y:a,yy:a},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(t,null,!0),t}(t(74353))}};
@@ -0,0 +1 @@
1
+ export const __rspack_esm_id="5905";export const __rspack_esm_ids=["5905"];export const __webpack_modules__={95944(_,e,a){_.exports=function(_){"use strict";var e={name:"bi",weekdays:"Sande_Mande_Tusde_Wenesde_Tosde_Fraede_Sarade".split("_"),months:"Januari_Februari_Maj_Eprel_Mei_Jun_Julae_Okis_Septemba_Oktoba_Novemba_Disemba".split("_"),weekStart:1,weekdaysShort:"San_Man_Tus_Wen_Tos_Frae_Sar".split("_"),monthsShort:"Jan_Feb_Maj_Epr_Mai_Jun_Jul_Oki_Sep_Okt_Nov_Dis".split("_"),weekdaysMin:"San_Ma_Tu_We_To_Fr_Sar".split("_"),ordinal:function(_){return _},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},relativeTime:{future:"lo %s",past:"%s bifo",s:"sam seken",m:"wan minit",mm:"%d minit",h:"wan haoa",hh:"%d haoa",d:"wan dei",dd:"%d dei",M:"wan manis",MM:"%d manis",y:"wan yia",yy:"%d yia"}};return(_&&"object"==typeof _&&"default"in _?_:{default:_}).default.locale(e,null,!0),e}(a(74353))}};
@@ -0,0 +1 @@
1
+ export const __rspack_esm_id="5933";export const __rspack_esm_ids=["5933"];export const __webpack_modules__={4780(_,t,e){_.exports=function(_){"use strict";var t={name:"cv",weekdays:"вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун".split("_"),months:"кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав".split("_"),weekStart:1,weekdaysShort:"выр_тун_ытл_юн_кӗҫ_эрн_шӑм".split("_"),monthsShort:"кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш".split("_"),weekdaysMin:"вр_тн_ыт_юн_кҫ_эр_шм".split("_"),ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]",LLL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm",LLLL:"dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm"}};return(_&&"object"==typeof _&&"default"in _?_:{default:_}).default.locale(t,null,!0),t}(e(74353))}};
@@ -0,0 +1 @@
1
+ export const __rspack_esm_id="6062";export const __rspack_esm_ids=["6062"];export const __webpack_modules__={813(e,_,s){e.exports=function(e){"use strict";var _={name:"fr",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinal:function(e){return""+e+(1===e?"er":"")}};return(e&&"object"==typeof e&&"default"in e?e:{default:e}).default.locale(_,null,!0),_}(s(74353))}};
@@ -0,0 +1 @@
1
+ export const __rspack_esm_id="6093";export const __rspack_esm_ids=["6093"];export const __webpack_modules__={62796(_,t,e){_.exports=function(_){"use strict";var t="января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),e="январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),s="янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),r="янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_"),n=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/;function m(_,t,e){var s,r;return"m"===e?t?"минута":"минуту":_+" "+(s=+_,r=({mm:t?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"})[e].split("_"),s%10==1&&s%100!=11?r[0]:s%10>=2&&s%10<=4&&(s%100<10||s%100>=20)?r[1]:r[2])}var o=function(_,s){return n.test(s)?t[_.month()]:e[_.month()]};o.s=e,o.f=t;var i=function(_,t){return n.test(t)?s[_.month()]:r[_.month()]};i.s=r,i.f=s;var M={name:"ru",weekdays:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),weekdaysShort:"вск_пнд_втр_срд_чтв_птн_сбт".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),months:o,monthsShort:i,weekStart:1,yearStart:4,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",m:m,mm:m,h:"час",hh:m,d:"день",dd:m,M:"месяц",MM:m,y:"год",yy:m},ordinal:function(_){return _},meridiem:function(_){return _<4?"ночи":_<12?"утра":_<17?"дня":"вечера"}};return(_&&"object"==typeof _&&"default"in _?_:{default:_}).default.locale(M,null,!0),M}(e(74353))}};
@@ -0,0 +1 @@
1
+ export const __rspack_esm_id="6157";export const __rspack_esm_ids=["6157"];export const __webpack_modules__={45708(t,e,o){var n,i=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(t,e)},function(t,e){function o(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__assign||function(){return(r=Object.assign||function(t){for(var e,o=1,n=arguments.length;o<n;o++)for(var i in e=arguments[o])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)},s=this&&this.__spreadArrays||function(){for(var t=0,e=0,o=arguments.length;e<o;e++)t+=arguments[e].length;for(var n=Array(t),i=0,e=0;e<o;e++)for(var r=arguments[e],s=0,a=r.length;s<a;s++,i++)n[i]=r[s];return n},a=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}},l=a(o(96540)),d=a(o(40961)),h=a(o(2404)),p=a(o(91574));function u(t){Promise.resolve().then(t)}t.exports=function(t){function e(e){var o=t.call(this,e)||this;o.dirtyProps=["modules","formats","bounds","theme","children"],o.cleanProps=["id","className","style","placeholder","tabIndex","onChange","onChangeSelection","onFocus","onBlur","onKeyPress","onKeyDown","onKeyUp"],o.state={generation:0},o.selection=null,o.onEditorChange=function(t,e,n,i){var r,s;"text-change"===t?null==(r=o.onEditorChangeText)||r.call(o,o.editor.root.innerHTML,e,i,o.unprivilegedEditor):"selection-change"===t&&(null==(s=o.onEditorChangeSelection)||s.call(o,e,i,o.unprivilegedEditor))};var n=o.isControlled()?e.value:e.defaultValue;return o.value=null!=n?n:"",o}return i(e,t),e.prototype.validateProps=function(t){if(l.default.Children.count(t.children)>1)throw Error("The Quill editing area can only be composed of a single React element.");if(l.default.Children.count(t.children)){var e=l.default.Children.only(t.children);if((null==e?void 0:e.type)==="textarea")throw Error("Quill does not support editing on a <textarea>. Use a <div> instead.")}if(this.lastDeltaChangeSet&&t.value===this.lastDeltaChangeSet)throw Error("You are passing the `delta` object from the `onChange` event back as `value`. You most probably want `editor.getContents()` instead. See: https://github.com/zenoamaro/react-quill#using-deltas")},e.prototype.shouldComponentUpdate=function(t,e){var o,n=this;if(this.validateProps(t),!this.editor||this.state.generation!==e.generation)return!0;if("value"in t){var i=this.getEditorContents(),r=null!=(o=t.value)?o:"";this.isEqualValue(r,i)||this.setEditorContents(this.editor,r)}return t.readOnly!==this.props.readOnly&&this.setEditorReadOnly(this.editor,t.readOnly),s(this.cleanProps,this.dirtyProps).some(function(e){return!h.default(t[e],n.props[e])})},e.prototype.shouldComponentRegenerate=function(t){var e=this;return this.dirtyProps.some(function(o){return!h.default(t[o],e.props[o])})},e.prototype.componentDidMount=function(){this.instantiateEditor(),this.setEditorContents(this.editor,this.getEditorContents())},e.prototype.componentWillUnmount=function(){this.destroyEditor()},e.prototype.componentDidUpdate=function(t,e){var o=this;if(this.editor&&this.shouldComponentRegenerate(t)){var n=this.editor.getContents(),i=this.editor.getSelection();this.regenerationSnapshot={delta:n,selection:i},this.setState({generation:this.state.generation+1}),this.destroyEditor()}if(this.state.generation!==e.generation){var r=this.regenerationSnapshot,n=r.delta,s=r.selection;delete this.regenerationSnapshot,this.instantiateEditor();var a=this.editor;a.setContents(n),u(function(){return o.setEditorSelection(a,s)})}},e.prototype.instantiateEditor=function(){this.editor?this.hookEditor(this.editor):this.editor=this.createEditor(this.getEditingArea(),this.getEditorConfig())},e.prototype.destroyEditor=function(){this.editor&&this.unhookEditor(this.editor)},e.prototype.isControlled=function(){return"value"in this.props},e.prototype.getEditorConfig=function(){return{bounds:this.props.bounds,formats:this.props.formats,modules:this.props.modules,placeholder:this.props.placeholder,readOnly:this.props.readOnly,scrollingContainer:this.props.scrollingContainer,tabIndex:this.props.tabIndex,theme:this.props.theme}},e.prototype.getEditor=function(){if(!this.editor)throw Error("Accessing non-instantiated editor");return this.editor},e.prototype.createEditor=function(t,e){var o=new p.default(t,e);return null!=e.tabIndex&&this.setEditorTabIndex(o,e.tabIndex),this.hookEditor(o),o},e.prototype.hookEditor=function(t){this.unprivilegedEditor=this.makeUnprivilegedEditor(t),t.on("editor-change",this.onEditorChange)},e.prototype.unhookEditor=function(t){t.off("editor-change",this.onEditorChange)},e.prototype.getEditorContents=function(){return this.value},e.prototype.getEditorSelection=function(){return this.selection},e.prototype.isDelta=function(t){return t&&t.ops},e.prototype.isEqualValue=function(t,e){return this.isDelta(t)&&this.isDelta(e)?h.default(t.ops,e.ops):h.default(t,e)},e.prototype.setEditorContents=function(t,e){var o=this;this.value=e;var n=this.getEditorSelection();"string"==typeof e?t.setContents(t.clipboard.convert(e)):t.setContents(e),u(function(){return o.setEditorSelection(t,n)})},e.prototype.setEditorSelection=function(t,e){if(this.selection=e,e){var o=t.getLength();e.index=Math.max(0,Math.min(e.index,o-1)),e.length=Math.max(0,Math.min(e.length,o-1-e.index)),t.setSelection(e)}},e.prototype.setEditorTabIndex=function(t,e){var o;(null==(o=null==t?void 0:t.scroll)?void 0:o.domNode)&&(t.scroll.domNode.tabIndex=e)},e.prototype.setEditorReadOnly=function(t,e){e?t.disable():t.enable()},e.prototype.makeUnprivilegedEditor=function(t){return{getHTML:function(){return t.root.innerHTML},getLength:t.getLength.bind(t),getText:t.getText.bind(t),getContents:t.getContents.bind(t),getSelection:t.getSelection.bind(t),getBounds:t.getBounds.bind(t)}},e.prototype.getEditingArea=function(){if(!this.editingArea)throw Error("Instantiating on missing editing area");var t=d.default.findDOMNode(this.editingArea);if(!t)throw Error("Cannot find element for editing area");if(3===t.nodeType)throw Error("Editing area cannot be a text node");return t},e.prototype.renderEditingArea=function(){var t=this,e=this.props,o=e.children,n=e.preserveWhitespace,i={key:this.state.generation,ref:function(e){t.editingArea=e}};return l.default.Children.count(o)?l.default.cloneElement(l.default.Children.only(o),i):n?l.default.createElement("pre",r({},i)):l.default.createElement("div",r({},i))},e.prototype.render=function(){var t;return l.default.createElement("div",{id:this.props.id,style:this.props.style,key:this.state.generation,className:"quill "+(null!=(t=this.props.className)?t:""),onKeyPress:this.props.onKeyPress,onKeyDown:this.props.onKeyDown,onKeyUp:this.props.onKeyUp},this.renderEditingArea())},e.prototype.onEditorChangeText=function(t,e,o,n){if(this.editor){var i,r,s=this.isDelta(this.value)?n.getContents():n.getHTML();s!==this.getEditorContents()&&(this.lastDeltaChangeSet=e,this.value=s,null==(r=(i=this.props).onChange)||r.call(i,t,e,o,n))}},e.prototype.onEditorChangeSelection=function(t,e,o){if(this.editor){var n,i,r,s,a,l,d=this.getEditorSelection(),p=!d&&t,u=d&&!t;!h.default(t,d)&&(this.selection=t,null==(i=(n=this.props).onChangeSelection)||i.call(n,t,e,o),p?null==(s=(r=this.props).onFocus)||s.call(r,t,e,o):u&&(null==(l=(a=this.props).onBlur)||l.call(a,d,e,o)))}},e.prototype.focus=function(){this.editor&&this.editor.focus()},e.prototype.blur=function(){this.editor&&(this.selection=null,this.editor.blur())},e.displayName="React Quill",e.Quill=p.default,e.defaultProps={theme:"snow",modules:{},readOnly:!1},e}(l.default.Component)}};
@@ -0,0 +1 @@
1
+ export const __rspack_esm_id="6241";export const __rspack_esm_ids=["6241"];export const __webpack_modules__={99464(_,t,e){_.exports=function(_){"use strict";var t={name:"mt",weekdays:"Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt".split("_"),months:"Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru".split("_"),weekStart:1,weekdaysShort:"Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ".split("_"),weekdaysMin:"Ħa_Tn_Tl_Er_Ħa_Ġi_Si".split("_"),ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"f’ %s",past:"%s ilu",s:"ftit sekondi",m:"minuta",mm:"%d minuti",h:"siegħa",hh:"%d siegħat",d:"ġurnata",dd:"%d ġranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"}};return(_&&"object"==typeof _&&"default"in _?_:{default:_}).default.locale(t,null,!0),t}(e(74353))}};