@streamline-pulse/formkrafter-wc 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (174) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +140 -0
  3. package/dist/cjs/app-globals-V2Kpy_OQ.js +5 -0
  4. package/dist/cjs/fk-brick-actions_18.cjs.entry.js +26442 -0
  5. package/dist/cjs/formkrafter-wc.cjs.js +25 -0
  6. package/dist/cjs/index-By4GGW_q.js +17346 -0
  7. package/dist/cjs/index-D_7eGIJ0.js +2090 -0
  8. package/dist/cjs/index.cjs.js +47 -0
  9. package/dist/cjs/loader.cjs.js +13 -0
  10. package/dist/collection/collection-manifest.json +30 -0
  11. package/dist/collection/components/fk-brick-actions/fk-brick-actions.css +78 -0
  12. package/dist/collection/components/fk-brick-actions/fk-brick-actions.js +215 -0
  13. package/dist/collection/components/fk-brick-list/fk-brick-list.css +71 -0
  14. package/dist/collection/components/fk-brick-list/fk-brick-list.js +55 -0
  15. package/dist/collection/components/fk-brick-mold-item/fk-brick-mold-item.css +33 -0
  16. package/dist/collection/components/fk-brick-mold-item/fk-brick-mold-item.js +73 -0
  17. package/dist/collection/components/fk-brick-not-found/fk-brick-not-found.css +8 -0
  18. package/dist/collection/components/fk-brick-not-found/fk-brick-not-found.js +18 -0
  19. package/dist/collection/components/fk-brick-render/fk-brick-render.js +419 -0
  20. package/dist/collection/components/fk-code-editor/fk-code-editor.css +26 -0
  21. package/dist/collection/components/fk-code-editor/fk-code-editor.js +136 -0
  22. package/dist/collection/components/fk-data-grid/fk-data-grid.css +75 -0
  23. package/dist/collection/components/fk-data-grid/fk-data-grid.js +300 -0
  24. package/dist/collection/components/fk-drop-area/fk-drop-area.css +18 -0
  25. package/dist/collection/components/fk-drop-area/fk-drop-area.js +98 -0
  26. package/dist/collection/components/fk-empty-form/fk-empty-form.css +22 -0
  27. package/dist/collection/components/fk-empty-form/fk-empty-form.js +19 -0
  28. package/dist/collection/components/fk-file-input/fk-file-input.css +74 -0
  29. package/dist/collection/components/fk-file-input/fk-file-input.js +157 -0
  30. package/dist/collection/components/fk-form-builder/fk-form-builder.css +82 -0
  31. package/dist/collection/components/fk-form-builder/fk-form-builder.js +431 -0
  32. package/dist/collection/components/fk-form-render/fk-form-render.css +7 -0
  33. package/dist/collection/components/fk-form-render/fk-form-render.js +352 -0
  34. package/dist/collection/components/fk-property-panel/fk-property-panel.css +153 -0
  35. package/dist/collection/components/fk-property-panel/fk-property-panel.js +384 -0
  36. package/dist/collection/components/fk-rules-editor/fk-rules-editor.css +166 -0
  37. package/dist/collection/components/fk-rules-editor/fk-rules-editor.js +250 -0
  38. package/dist/collection/components/fk-select-input/fk-select-input.css +144 -0
  39. package/dist/collection/components/fk-select-input/fk-select-input.js +356 -0
  40. package/dist/collection/components/fk-signature-input/fk-signature-input.css +42 -0
  41. package/dist/collection/components/fk-signature-input/fk-signature-input.js +158 -0
  42. package/dist/collection/components/fk-stepper/fk-stepper.css +85 -0
  43. package/dist/collection/components/fk-stepper/fk-stepper.js +282 -0
  44. package/dist/collection/components/fk-tabs/fk-tabs.css +38 -0
  45. package/dist/collection/components/fk-tabs/fk-tabs.js +236 -0
  46. package/dist/collection/i18n/i18n.js +245 -0
  47. package/dist/collection/index.js +5 -0
  48. package/dist/collection/registry/create-brick.js +34 -0
  49. package/dist/collection/registry/default-bricks.js +424 -0
  50. package/dist/collection/registry/registry.js +44 -0
  51. package/dist/collection/utils/brick-data.js +16 -0
  52. package/dist/collection/utils/drop.js +14 -0
  53. package/dist/collection/utils/events.js +1 -0
  54. package/dist/collection/utils/options.js +21 -0
  55. package/dist/collection/utils/remote.js +27 -0
  56. package/dist/collection/utils/rule-condition.js +72 -0
  57. package/dist/collection/utils/style.js +11 -0
  58. package/dist/components/fk-brick-actions.d.ts +11 -0
  59. package/dist/components/fk-brick-actions.js +1 -0
  60. package/dist/components/fk-brick-list.d.ts +11 -0
  61. package/dist/components/fk-brick-list.js +1 -0
  62. package/dist/components/fk-brick-mold-item.d.ts +11 -0
  63. package/dist/components/fk-brick-mold-item.js +1 -0
  64. package/dist/components/fk-brick-not-found.d.ts +11 -0
  65. package/dist/components/fk-brick-not-found.js +1 -0
  66. package/dist/components/fk-brick-render.d.ts +11 -0
  67. package/dist/components/fk-brick-render.js +1 -0
  68. package/dist/components/fk-code-editor.d.ts +11 -0
  69. package/dist/components/fk-code-editor.js +1 -0
  70. package/dist/components/fk-data-grid.d.ts +11 -0
  71. package/dist/components/fk-data-grid.js +1 -0
  72. package/dist/components/fk-drop-area.d.ts +11 -0
  73. package/dist/components/fk-drop-area.js +1 -0
  74. package/dist/components/fk-empty-form.d.ts +11 -0
  75. package/dist/components/fk-empty-form.js +1 -0
  76. package/dist/components/fk-file-input.d.ts +11 -0
  77. package/dist/components/fk-file-input.js +1 -0
  78. package/dist/components/fk-form-builder.d.ts +11 -0
  79. package/dist/components/fk-form-builder.js +1 -0
  80. package/dist/components/fk-form-render.d.ts +11 -0
  81. package/dist/components/fk-form-render.js +1 -0
  82. package/dist/components/fk-property-panel.d.ts +11 -0
  83. package/dist/components/fk-property-panel.js +1 -0
  84. package/dist/components/fk-rules-editor.d.ts +11 -0
  85. package/dist/components/fk-rules-editor.js +1 -0
  86. package/dist/components/fk-select-input.d.ts +11 -0
  87. package/dist/components/fk-select-input.js +1 -0
  88. package/dist/components/fk-signature-input.d.ts +11 -0
  89. package/dist/components/fk-signature-input.js +1 -0
  90. package/dist/components/fk-stepper.d.ts +11 -0
  91. package/dist/components/fk-stepper.js +1 -0
  92. package/dist/components/fk-tabs.d.ts +11 -0
  93. package/dist/components/fk-tabs.js +1 -0
  94. package/dist/components/index.d.ts +35 -0
  95. package/dist/components/index.js +1 -0
  96. package/dist/components/p-92BozD8S.js +1 -0
  97. package/dist/components/p-B4vAN-UA.js +1 -0
  98. package/dist/components/p-BB3BQPr8.js +1 -0
  99. package/dist/components/p-BCQ-hj6j.js +1 -0
  100. package/dist/components/p-BIEpAM4V.js +1 -0
  101. package/dist/components/p-BLKRn62s.js +1 -0
  102. package/dist/components/p-BNREw7TY.js +1 -0
  103. package/dist/components/p-BOvjVIvo.js +1 -0
  104. package/dist/components/p-BQP1WryV.js +1 -0
  105. package/dist/components/p-BXFug2Ql.js +1 -0
  106. package/dist/components/p-Ctt--jpe.js +1 -0
  107. package/dist/components/p-D318uFl-.js +1 -0
  108. package/dist/components/p-DJDrDvoC.js +1 -0
  109. package/dist/components/p-DKGyje7v.js +1 -0
  110. package/dist/components/p-DKoJovNt.js +1 -0
  111. package/dist/components/p-DWgjI3TW.js +1 -0
  112. package/dist/components/p-Diknh4-7.js +1 -0
  113. package/dist/components/p-DtzMNM4i.js +1 -0
  114. package/dist/components/p-QC41Uj05.js +1 -0
  115. package/dist/components/p-TvmRksgg.js +1 -0
  116. package/dist/components/p-ZEW2q-4b.js +1 -0
  117. package/dist/components/p-dX7Lo8Fe.js +12 -0
  118. package/dist/components/p-gPc0o8Jb.js +1 -0
  119. package/dist/esm/app-globals-DQuL1Twl.js +3 -0
  120. package/dist/esm/fk-brick-actions_18.entry.js +26423 -0
  121. package/dist/esm/formkrafter-wc.js +21 -0
  122. package/dist/esm/index-BQqrzKxo.js +2081 -0
  123. package/dist/esm/index-BTmZ8XET.js +17288 -0
  124. package/dist/esm/index.js +2 -0
  125. package/dist/esm/loader.js +11 -0
  126. package/dist/formkrafter-wc/formkrafter-wc.css +1 -0
  127. package/dist/formkrafter-wc/formkrafter-wc.esm.js +1 -0
  128. package/dist/formkrafter-wc/index.esm.js +1 -0
  129. package/dist/formkrafter-wc/p-BQqrzKxo.js +2 -0
  130. package/dist/formkrafter-wc/p-BXIsVlA6.js +12 -0
  131. package/dist/formkrafter-wc/p-DQuL1Twl.js +1 -0
  132. package/dist/formkrafter-wc/p-f6bc0be0.entry.js +1 -0
  133. package/dist/index.cjs.js +1 -0
  134. package/dist/index.js +1 -0
  135. package/dist/stencil.config.js +34 -0
  136. package/dist/types/Users/datagnikan/Desktop/WorkSpace/streamline-pulse/formkrafter-js/formkrafter/packages/wc/.stencil/stencil.config.d.ts +2 -0
  137. package/dist/types/components/fk-brick-actions/fk-brick-actions.d.ts +18 -0
  138. package/dist/types/components/fk-brick-list/fk-brick-list.d.ts +6 -0
  139. package/dist/types/components/fk-brick-mold-item/fk-brick-mold-item.d.ts +10 -0
  140. package/dist/types/components/fk-brick-not-found/fk-brick-not-found.d.ts +3 -0
  141. package/dist/types/components/fk-brick-render/fk-brick-render.d.ts +22 -0
  142. package/dist/types/components/fk-code-editor/fk-code-editor.d.ts +13 -0
  143. package/dist/types/components/fk-data-grid/fk-data-grid.d.ts +21 -0
  144. package/dist/types/components/fk-drop-area/fk-drop-area.d.ts +12 -0
  145. package/dist/types/components/fk-empty-form/fk-empty-form.d.ts +3 -0
  146. package/dist/types/components/fk-file-input/fk-file-input.d.ts +14 -0
  147. package/dist/types/components/fk-form-builder/fk-form-builder.d.ts +43 -0
  148. package/dist/types/components/fk-form-render/fk-form-render.d.ts +29 -0
  149. package/dist/types/components/fk-property-panel/fk-property-panel.d.ts +34 -0
  150. package/dist/types/components/fk-rules-editor/fk-rules-editor.d.ts +29 -0
  151. package/dist/types/components/fk-select-input/fk-select-input.d.ts +37 -0
  152. package/dist/types/components/fk-signature-input/fk-signature-input.d.ts +19 -0
  153. package/dist/types/components/fk-stepper/fk-stepper.d.ts +27 -0
  154. package/dist/types/components/fk-tabs/fk-tabs.d.ts +23 -0
  155. package/dist/types/components.d.ts +796 -0
  156. package/dist/types/i18n/i18n.d.ts +5 -0
  157. package/dist/types/index.d.ts +11 -0
  158. package/dist/types/registry/create-brick.d.ts +37 -0
  159. package/dist/types/registry/default-bricks.d.ts +489 -0
  160. package/dist/types/registry/registry.d.ts +8 -0
  161. package/dist/types/stencil-public-runtime.d.ts +1861 -0
  162. package/dist/types/utils/brick-data.d.ts +3 -0
  163. package/dist/types/utils/drop.d.ts +2 -0
  164. package/dist/types/utils/events.d.ts +37 -0
  165. package/dist/types/utils/options.d.ts +5 -0
  166. package/dist/types/utils/remote.d.ts +3 -0
  167. package/dist/types/utils/rule-condition.d.ts +30 -0
  168. package/dist/types/utils/style.d.ts +1 -0
  169. package/loader/cdn.js +1 -0
  170. package/loader/index.cjs.js +1 -0
  171. package/loader/index.d.ts +24 -0
  172. package/loader/index.es2017.js +1 -0
  173. package/loader/index.js +2 -0
  174. package/package.json +80 -0
@@ -0,0 +1,2 @@
1
+ export { h } from './index-BQqrzKxo.js';
2
+ export { T as addressBrick, P as checkboxBrick, _ as columnBrick, X as contentBrick, A as createBrick, V as dataGridBrick, I as dateBrick, K as datetimeBrick, C as emailBrick, U as fileBrick, f as fkT, b as fkTOr, a2 as frFkTranslations, c as getBrick, g as getBrickMolds, a as getBrickMoldsGroupedByCategory, Y as groupBrick, W as hiddenBrick, M as multiSelectBrick, n as newBrickSpec, H as numberBrick, D as passwordBrick, F as phoneBrick, N as radioBrick, y as registerBrick, z as registerBricks, e as registerDefaultBricks, Z as rowBrick, O as selectBoxesBrick, L as selectBrick, a1 as setFkTranslations, R as signatureBrick, $ as stepperBrick, a0 as tabsBrick, Q as tagsBrick, B as textInputBrick, G as textareaBrick, J as timeBrick, E as urlBrick } from './index-BTmZ8XET.js';
@@ -0,0 +1,11 @@
1
+ import { b as bootstrapLazy } from './index-BQqrzKxo.js';
2
+ export { s as setNonce } from './index-BQqrzKxo.js';
3
+ import { g as globalScripts } from './app-globals-DQuL1Twl.js';
4
+
5
+ const defineCustomElements = async (win, options) => {
6
+ if (typeof window === 'undefined') return undefined;
7
+ await globalScripts();
8
+ return bootstrapLazy([["fk-brick-actions_18",[[2,"fk-form-builder",{"spec":[16],"data":[16],"locales":[16],"currentSpec":[32],"currentData":[32],"selectedUid":[32],"copied":[32],"importError":[32],"editLocale":[32]},[[0,"brickDrop","handleBrickDrop"],[0,"brickRemove","handleBrickRemove"],[0,"brickDuplicate","handleBrickDuplicate"],[0,"brickConfigsChange","handleConfigsChange"],[0,"brickStylesChange","handleStylesChange"],[0,"brickValidationsChange","handleValidationsChange"],[0,"brickRulesChange","handleRulesChange"],[0,"formDataChange","handleDataChange"],[4,"paste","handlePaste"],[0,"brickSelect","handleBrickSelect"]],{"spec":[{"syncSpec":0}]}],[2,"fk-data-grid",{"spec":[16],"value":[16],"disabled":[4],"locale":[1],"utils":[16],"touched":[32],"validateRows":[64]},[[0,"brickDataChange","handleRowChange"]]],[2,"fk-form-render",{"spec":[16],"data":[16],"editable":[4],"selectedUid":[1,"selected-uid"],"locale":[1],"currentData":[32],"touched":[32],"validate":[64]},[[0,"brickDataChange","handleBrickDataChange"],[0,"stepTouch","handleStepTouch"],[0,"stepperSubmit","handleStepperSubmit"]],{"data":[{"syncData":0}]}],[2,"fk-property-panel",{"brick":[16],"fields":[16],"locales":[16],"editLocale":[1,"edit-locale"],"activeTab":[32],"newStyleKey":[32]},null,{"brick":[{"onBrickChange":0}]}],[2,"fk-brick-list",{"query":[32],"collapsed":[32]}],[2,"fk-empty-form"],[2,"fk-file-input",{"value":[16],"disabled":[4],"accept":[1],"uploading":[32],"uploadError":[32]}],[2,"fk-select-input",{"configs":[16],"value":[1],"disabled":[4],"multiple":[4],"dataMap":[16],"open":[32],"query":[32],"remoteOptions":[32],"remoteError":[32]},null,{"configs":[{"onConfigsChange":0}],"dataMap":[{"onDataMapChange":0}]}],[2,"fk-signature-input",{"value":[1],"disabled":[4]},null,{"value":[{"onValueChange":0}]}],[262,"fk-stepper",{"stepLabels":[16],"editable":[4],"spec":[16],"dataMap":[16],"locale":[1],"active":[32]},null,{"stepLabels":[{"clampActive":0}]}],[262,"fk-tabs",{"tabLabels":[16],"editable":[4],"spec":[16],"dataMap":[16],"locale":[1],"active":[32]},null,{"tabLabels":[{"clampActive":0}]}],[2,"fk-rules-editor",{"brick":[16],"fields":[16],"forcedModes":[32],"jsonErrors":[32],"codeErrors":[32]}],[2,"fk-brick-mold-item",{"brickMold":[16],"isDragging":[32]}],[2,"fk-code-editor",{"value":[1],"placeholder":[1]},null,{"value":[{"syncValue":0}]}],[0,"fk-brick-render",{"brickSpec":[16],"data":[16],"dataMap":[16],"path":[1],"editable":[4],"selectedUid":[1,"selected-uid"],"errors":[16],"locale":[1],"utils":[16]}],[262,"fk-brick-actions",{"path":[1],"selected":[4],"isDragging":[32],"isDropTarget":[32]}],[262,"fk-brick-not-found"],[2,"fk-drop-area",{"path":[1],"isOver":[32]}]]]], options);
9
+ };
10
+
11
+ export { defineCustomElements };
@@ -0,0 +1 @@
1
+ :root{--fk-color-primary:#328f97;--fk-color-surface:#ffffff;--fk-color-border:#d5dde2;--fk-color-text:#1c2b33;--fk-color-muted:#64748b;--fk-color-danger:#dc2626;--fk-color-shadow:rgba(0, 0, 0, 0.12);--fk-radius:8px;--fk-font:system-ui, -apple-system, sans-serif;--fk-spacing:8px}.dark,[data-fk-theme='dark']{--fk-color-primary:#4fb8b2;--fk-color-surface:#111c24;--fk-color-border:#2d3f4b;--fk-color-text:#e2ecf2;--fk-color-muted:#8fa4b0;--fk-color-danger:#f87171;--fk-color-shadow:rgba(0, 0, 0, 0.5)}[data-fk-theme='light']{--fk-color-primary:#328f97;--fk-color-surface:#ffffff;--fk-color-border:#d5dde2;--fk-color-text:#1c2b33;--fk-color-muted:#64748b;--fk-color-danger:#dc2626;--fk-color-shadow:rgba(0, 0, 0, 0.12)}.fk-field{display:flex;flex-direction:column;gap:calc(var(--fk-spacing) / 2);font-family:var(--fk-font)}.fk-field--inline{flex-direction:row;align-items:center;gap:var(--fk-spacing)}.fk-field__label{font-size:0.875rem;font-weight:500;color:var(--fk-color-text)}.fk-field__input{padding:var(--fk-spacing) calc(var(--fk-spacing) * 1.5);border:1px solid var(--fk-color-border);border-radius:var(--fk-radius);background:var(--fk-color-surface);color:var(--fk-color-text);font:inherit;font-size:0.9rem}.fk-field__input:focus{outline:2px solid color-mix(in srgb, var(--fk-color-primary) 40%, transparent);border-color:var(--fk-color-primary)}.fk-field__checkbox{accent-color:var(--fk-color-primary)}.fk-field__error{font-size:0.75rem;color:var(--fk-color-danger)}.fk-group{display:flex;flex-direction:column;gap:var(--fk-spacing);margin:0;padding:calc(var(--fk-spacing) * 1.5);border:1px solid var(--fk-color-border);border-radius:var(--fk-radius)}.fk-group__legend{padding:0 calc(var(--fk-spacing) / 2);font-size:0.8rem;font-weight:600;color:var(--fk-color-muted)}.fk-field__input--textarea{min-height:72px;resize:vertical}select.fk-field__input{appearance:auto}.fk-row{display:flex;align-items:flex-start;gap:var(--fk-spacing)}.fk-row>*{flex:1;min-width:0}.fk-column{display:flex;flex-direction:column;gap:var(--fk-spacing);min-width:0}.fk-radio-group{display:flex;flex-direction:column;gap:calc(var(--fk-spacing) / 2)}.fk-radio{display:flex;align-items:center;gap:calc(var(--fk-spacing) / 2);font-size:0.9rem;color:var(--fk-color-text)}.fk-radio input{accent-color:var(--fk-color-primary)}.fk-hidden-chip{display:inline-block;padding:2px 8px;border:1px dashed var(--fk-color-border);border-radius:999px;font-family:ui-monospace, SFMono-Regular, Menlo, monospace;font-size:0.7rem;color:var(--fk-color-muted)}.fk-content{color:var(--fk-color-text)}.fk-content__line{margin:0 0 calc(var(--fk-spacing) / 2);font-size:0.9rem}.fk-address{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));gap:var(--fk-spacing)}.fk-address__part{display:flex;flex-direction:column;gap:4px;min-width:0}.fk-address__part--full{grid-column:1 / -1}.fk-address__label{font-size:0.72rem;font-weight:600;color:var(--fk-color-muted)}.fk-grid-template{display:flex;flex-direction:column;gap:calc(var(--fk-spacing) / 2);padding:var(--fk-spacing);border:1px dashed var(--fk-color-border);border-radius:var(--fk-radius)}.fk-grid-template__hint{font-size:0.68rem;font-weight:700;text-transform:uppercase;letter-spacing:0.08em;color:var(--fk-color-muted)}.fk-adorned{display:flex;align-items:center;gap:calc(var(--fk-spacing) / 2)}.fk-adorned__affix{font-size:0.85rem;font-weight:600;color:var(--fk-color-muted);white-space:nowrap}.fk-adorned__input{flex:1;min-width:0}.fk-tags{display:flex;flex-wrap:wrap;align-items:center;gap:calc(var(--fk-spacing) / 2);padding:calc(var(--fk-spacing) / 2);border:1px solid var(--fk-color-border);border-radius:var(--fk-radius);background:var(--fk-color-surface)}.fk-tags__chip{display:inline-flex;align-items:center;gap:4px;padding:2px 8px;border-radius:999px;background:color-mix(in srgb, var(--fk-color-primary) 14%, transparent);color:var(--fk-color-primary);font-size:0.8rem;font-weight:600}.fk-tags__remove{border:none;background:transparent;color:inherit;font-size:0.7rem;cursor:pointer;padding:0}.fk-tags__input{flex:1;min-width:120px;border:none;background:transparent;font:inherit;font-size:0.9rem;color:var(--fk-color-text)}.fk-tags__input:focus{outline:none}
@@ -0,0 +1 @@
1
+ import{p as e,b as a}from"./p-BQqrzKxo.js";export{s as setNonce}from"./p-BQqrzKxo.js";import{g as l}from"./p-DQuL1Twl.js";(()=>{const a=import.meta.url,l={};return""!==a&&(l.resourcesUrl=new URL(".",a).href),e(l)})().then((async e=>(await l(),a([["p-f6bc0be0",[[2,"fk-form-builder",{spec:[16],data:[16],locales:[16],currentSpec:[32],currentData:[32],selectedUid:[32],copied:[32],importError:[32],editLocale:[32]},[[0,"brickDrop","handleBrickDrop"],[0,"brickRemove","handleBrickRemove"],[0,"brickDuplicate","handleBrickDuplicate"],[0,"brickConfigsChange","handleConfigsChange"],[0,"brickStylesChange","handleStylesChange"],[0,"brickValidationsChange","handleValidationsChange"],[0,"brickRulesChange","handleRulesChange"],[0,"formDataChange","handleDataChange"],[4,"paste","handlePaste"],[0,"brickSelect","handleBrickSelect"]],{spec:[{syncSpec:0}]}],[2,"fk-data-grid",{spec:[16],value:[16],disabled:[4],locale:[1],utils:[16],touched:[32],validateRows:[64]},[[0,"brickDataChange","handleRowChange"]]],[2,"fk-form-render",{spec:[16],data:[16],editable:[4],selectedUid:[1,"selected-uid"],locale:[1],currentData:[32],touched:[32],validate:[64]},[[0,"brickDataChange","handleBrickDataChange"],[0,"stepTouch","handleStepTouch"],[0,"stepperSubmit","handleStepperSubmit"]],{data:[{syncData:0}]}],[2,"fk-property-panel",{brick:[16],fields:[16],locales:[16],editLocale:[1,"edit-locale"],activeTab:[32],newStyleKey:[32]},null,{brick:[{onBrickChange:0}]}],[2,"fk-brick-list",{query:[32],collapsed:[32]}],[2,"fk-empty-form"],[2,"fk-file-input",{value:[16],disabled:[4],accept:[1],uploading:[32],uploadError:[32]}],[2,"fk-select-input",{configs:[16],value:[1],disabled:[4],multiple:[4],dataMap:[16],open:[32],query:[32],remoteOptions:[32],remoteError:[32]},null,{configs:[{onConfigsChange:0}],dataMap:[{onDataMapChange:0}]}],[2,"fk-signature-input",{value:[1],disabled:[4]},null,{value:[{onValueChange:0}]}],[262,"fk-stepper",{stepLabels:[16],editable:[4],spec:[16],dataMap:[16],locale:[1],active:[32]},null,{stepLabels:[{clampActive:0}]}],[262,"fk-tabs",{tabLabels:[16],editable:[4],spec:[16],dataMap:[16],locale:[1],active:[32]},null,{tabLabels:[{clampActive:0}]}],[2,"fk-rules-editor",{brick:[16],fields:[16],forcedModes:[32],jsonErrors:[32],codeErrors:[32]}],[2,"fk-brick-mold-item",{brickMold:[16],isDragging:[32]}],[2,"fk-code-editor",{value:[1],placeholder:[1]},null,{value:[{syncValue:0}]}],[0,"fk-brick-render",{brickSpec:[16],data:[16],dataMap:[16],path:[1],editable:[4],selectedUid:[1,"selected-uid"],errors:[16],locale:[1],utils:[16]}],[262,"fk-brick-actions",{path:[1],selected:[4],isDragging:[32],isDropTarget:[32]}],[262,"fk-brick-not-found"],[2,"fk-drop-area",{path:[1],isOver:[32]}]]]],e))));
@@ -0,0 +1 @@
1
+ export{h}from"./p-BQqrzKxo.js";export{T as addressBrick,P as checkboxBrick,_ as columnBrick,X as contentBrick,A as createBrick,V as dataGridBrick,I as dateBrick,K as datetimeBrick,C as emailBrick,U as fileBrick,f as fkT,b as fkTOr,a2 as frFkTranslations,c as getBrick,g as getBrickMolds,a as getBrickMoldsGroupedByCategory,Y as groupBrick,W as hiddenBrick,M as multiSelectBrick,n as newBrickSpec,H as numberBrick,D as passwordBrick,F as phoneBrick,N as radioBrick,y as registerBrick,z as registerBricks,e as registerDefaultBricks,Z as rowBrick,O as selectBoxesBrick,L as selectBrick,a1 as setFkTranslations,R as signatureBrick,$ as stepperBrick,a0 as tabsBrick,Q as tagsBrick,B as textInputBrick,G as textareaBrick,J as timeBrick,E as urlBrick}from"./p-BXIsVlA6.js";
@@ -0,0 +1,2 @@
1
+ function t(t,n,e){const o="undefined"!=typeof HTMLElement?HTMLElement.prototype:null;for(;t&&t!==o;){const o=Object.getOwnPropertyDescriptor(t,n);if(o&&(!e||o.get))return o;t=Object.getPrototypeOf(t)}}var n=(n,e)=>{var o;Object.entries(null!=(o=e.o.t)?o:{}).map((([o,[l]])=>{if(31&l||32&l){const l=n[o],s=t(Object.getPrototypeOf(n),o,!0)||Object.getOwnPropertyDescriptor(n,o);s&&Object.defineProperty(n,o,{get(){return s.get.call(this)},set(t){s.set.call(this,t)},configurable:!0,enumerable:!0}),e.l.has(o)?n[o]=e.l.get(o):void 0!==l&&(n[o]=l)}}))},e=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},o=(t,e)=>{e&&(t.__stencil__getHostRef=()=>e,e.i=t,512&e.o.u&&n(t,e))},l=(t,n)=>n in t,s=(t,n)=>(0,console.error)(t,n),i=new Map,r=new Map,c="slot-fb{display:contents}slot-fb[hidden]{display:none}",u="undefined"!=typeof window?window:{},f={u:0,p:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,n,e,o)=>t.addEventListener(n,e,o),rel:(t,n,e,o)=>t.removeEventListener(n,e,o),ce:(t,n)=>new CustomEvent(t,n)},a=t=>Promise.resolve(t),d=(()=>{try{return!!u.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(t){}return!1})(),p=!!d&&(()=>!!u.document&&Object.getOwnPropertyDescriptor(u.document.adoptedStyleSheets,"length").writable)(),h=!1,v=[],m=[],y=(t,n)=>e=>{t.push(e),h||(h=!0,n&&4&f.u?w($):f.raf($))},b=t=>{for(let n=0;n<t.length;n++)try{t[n](performance.now())}catch(t){s(t)}t.length=0},$=()=>{b(v),b(m),(h=v.length>0)&&f.raf($)},w=t=>a().then(t),g=y(m,!0),j=t=>{const n=C(t,"childNodes");t.tagName&&t.tagName.includes("-")&&t["s-cr"]&&"SLOT-FB"!==t.tagName&&S(n,t.tagName).forEach((t=>{1===t.nodeType&&"SLOT-FB"===t.tagName&&(t.hidden=!!O(t,N(t),!1).length)}));let e=0;for(e=0;e<n.length;e++){const t=n[e];1===t.nodeType&&C(t,"childNodes").length&&j(t)}};function S(t,n,e){let o,l=0,s=[];for(;l<t.length;l++){if(o=t[l],o["s-sr"]&&(!n||o["s-hn"]===n)&&(void 0===e||N(o)===e)&&(s.push(o),void 0!==e))return s;s=[...s,...S(o.childNodes,n,e)]}return s}var O=(t,n,e=!0)=>{const o=[];(e&&t["s-sr"]||!t["s-sr"])&&o.push(t);let l=t;for(;l=l.nextSibling;)N(l)!==n||!e&&l["s-sr"]||o.push(l);return o},k=(t,n)=>1===t.nodeType?null===t.getAttribute("slot")&&""===n||t.getAttribute("slot")===n:t["s-sn"]===n||""===n,N=t=>"string"==typeof t["s-sn"]?t["s-sn"]:1===t.nodeType&&t.getAttribute("slot")||void 0;function C(t,n){if("__"+n in t){const e=t["__"+n];return"function"!=typeof e?e:e.bind(t)}return"function"!=typeof t[n]?t[n]:t[n].bind(t)}function E(t){var n,e,o;return null!=(o=null==(e=null==(n=t.head)?void 0:n.querySelector('meta[name="csp-nonce"]'))?void 0:e.getAttribute("content"))?o:void 0}var M,T,L,R=new WeakMap,A=t=>"sc-"+t.h,P=t=>"object"==(t=typeof t)||"function"===t,x=(t,n,...e)=>{let o=null,l=null,s=null,i=!1,r=!1;const c=[],u=n=>{for(let e=0;e<n.length;e++)o=n[e],Array.isArray(o)?u(o):null!=o&&"boolean"!=typeof o&&((i="function"!=typeof t&&!P(o))&&(o+=""),i&&r?c[c.length-1].v+=o:c.push(i?D(null,o):o),r=i)};if(u(e),n){n.key&&(l=n.key),n.name&&(s=n.name);{const t=n.className||n.class;t&&(n.class="object"!=typeof t?t:Object.keys(t).filter((n=>t[n])).join(" "))}}const f=D(t,null);return f.m=n,c.length>0&&(f.$=c),f.j=l,f.S=s,f},D=(t,n)=>({u:0,O:t,v:null!=n?n:null,k:null,$:null,m:null,j:null,S:null}),F={},H=t=>{if(!t)return;const n=Object.keys(t);if(0===n.length)return;let e=!1;for(const o of n){if(e)break;for(const n of t[o])if("string"==typeof n){e=!0;break}}if(!e)return t;const o={};for(const e of n)o[e]=t[e].map((t=>"string"==typeof t?{[t]:0}:t));return o},_=(t,n)=>null==t||P(t)?t:4&n?"false"!==t&&(""===t||!!t):1&n?t+"":t,U=t=>{var n;return null==(n=e(t))?void 0:n.$hostElement$},W=(t,n)=>{const e=U(t);return{emit:t=>z(e,n,{bubbles:!0,composed:!0,cancelable:!0,detail:t})}},z=(t,n,e)=>{const o=f.ce(n,e);return t.dispatchEvent(o),o},B=(t,n,o,s,i,r)=>{if(o===s)return;let c=l(t,n),a=n.toLowerCase();if("class"===n){const n=t.classList,e=q(o);let l=q(s);n.remove(...e.filter((t=>t&&!l.includes(t)))),n.add(...l.filter((t=>t&&!e.includes(t))))}else if("style"===n){for(const n in o)s&&null!=s[n]||(n.includes("-")?t.style.removeProperty(n):t.style[n]="");for(const n in s)o&&s[n]===o[n]||(n.includes("-")?t.style.setProperty(n,s[n]):t.style[n]=s[n])}else if("key"===n);else if("ref"===n)s&&pt(s,t);else if(c||"o"!==n[0]||"n"!==n[1]){if("a"===n[0]&&n.startsWith("attr:")){const o=n.slice(5);let l;{const n=e(t);if(n&&n.o&&n.o.t){const t=n.o.t[o];t&&t[1]&&(l=t[1])}}return l||(l=o.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(null==s||!1===s?!1===s&&""!==t.getAttribute(l)||t.removeAttribute(l):t.setAttribute(l,!0===s?"":s))}if("p"===n[0]&&n.startsWith("prop:")){const e=n.slice(5);try{t[e]=s}catch(t){}return}{const e=P(s);if((c||e&&null!==s)&&!i)try{if(t.tagName.includes("-"))t[n]!==s&&(t[n]=s);else{const e=null==s?"":s;"list"===n?c=!1:null!=o&&t[n]===e||("function"==typeof t.__lookupSetter__(n)?t[n]=e:t.setAttribute(n,e))}}catch(t){}null==s||!1===s?!1===s&&""!==t.getAttribute(n)||t.removeAttribute(n):(!c||4&r||i)&&!e&&1===t.nodeType&&t.setAttribute(n,s=!0===s?"":s)}}else if(n="-"===n[2]?n.slice(3):l(u,a)?a.slice(2):a[2]+n.slice(3),o||s){const e=n.endsWith(Y);n=n.replace(G,""),o&&f.rel(t,n,o,e),s&&f.ael(t,n,s,e)}},V=/\s/,q=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(V):[]),Y="Capture",G=RegExp(Y+"$"),I=(t,n,e)=>{const o=11===n.k.nodeType&&n.k.host?n.k.host:n.k,l=t&&t.m||{},s=n.m||{};for(const t of Z(Object.keys(l)))t in s||B(o,t,l[t],void 0,e,n.u);for(const t of Z(Object.keys(s)))B(o,t,l[t],s[t],e,n.u)};function Z(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var J=!1,K=!1,Q=!1,X=!1,tt=[],nt=[],et=(t,n,e)=>{var o;const l=n.$[e];let s,i,r,c=0;if(J||(Q=!0,"slot"===l.O&&(l.u|=l.$?2:1)),null!=l.v)s=l.k=u.document.createTextNode(l.v);else if(1&l.u)s=l.k=u.document.createTextNode(""),I(null,l,X);else{if(!u.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(s=l.k=u.document.createElement(!J&&2&l.u?"slot-fb":l.O),I(null,l,X),null!=M&&void 0!==M&&s["s-si"]!==M&&s.classList.add(s["s-si"]=M),l.$){const n="template"===l.O?s.content:s;for(c=0;c<l.$.length;++c)i=et(t,l,c),i&&n.appendChild(i)}}return s["s-hn"]=L,3&l.u&&(s["s-sr"]=!0,s["s-cr"]=T,s["s-sn"]=l.S||"",s["s-rf"]=null==(o=l.m)?void 0:o.ref,function(t){if(t.assignedElements||t.assignedNodes||!t["s-sr"])return;const n=n=>function(t){const e=[],o=this["s-sn"];(null==t?void 0:t.flatten)&&console.error("\n Flattening is not supported for Stencil non-shadow slots.\n You can use `.childNodes` to nested slot fallback content.\n If you have a particular use case, please open an issue on the Stencil repo.\n ");const l=this["s-cr"].parentElement;return(l.__childNodes?l.childNodes:(t=>{const n=[];for(let e=0;e<t.length;e++){const o=t[e]["s-nr"]||void 0;o&&o.isConnected&&n.push(o)}return n})(l.childNodes)).forEach((t=>{o===N(t)&&e.push(t)})),n?e.filter((t=>1===t.nodeType)):e}.bind(t);t.assignedElements=n(!0),t.assignedNodes=n(!1)}(s),r=t&&t.$&&t.$[e],r&&r.O===l.O&&t.k&&ot(t.k),vt(T,s,n.k,null==t?void 0:t.k)),s},ot=t=>{f.u|=1;const n=t.closest(L.toLowerCase());if(null!=n){const e=Array.from(n.__childNodes||n.childNodes).find((t=>t["s-cr"])),o=Array.from(t.__childNodes||t.childNodes);for(const t of e?o.reverse():o)null!=t["s-sh"]&&(ht(n,t,null!=e?e:null),t["s-sh"]=void 0,Q=!0)}f.u&=-2},lt=(t,n)=>{f.u|=1;const e=Array.from(t.__childNodes||t.childNodes);if(t["s-sr"]){let n=t;for(;n=n.nextSibling;)n&&n["s-sn"]===t["s-sn"]&&n["s-sh"]===L&&e.push(n)}for(let t=e.length-1;t>=0;t--){const o=e[t];o["s-hn"]!==L&&o["s-ol"]&&(ht(ct(o).parentNode,o,ct(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,Q=!0),n&&lt(o,n)}f.u&=-2},st=(t,n,e,o,l,s)=>{let i,r=t["s-cr"]&&t["s-cr"].parentNode||t;for("template"===e.O&&(r=r.content);l<=s;++l)o[l]&&(i=et(null,e,l),i&&(o[l].k=i,ht(r,i,ct(n))))},it=(t,n,e)=>{for(let o=n;o<=e;++o){const n=t[o];if(n){const t=n.k;dt(n),t&&(K=!0,t["s-ol"]?t["s-ol"].remove():lt(t,!0),t.remove())}}},rt=(t,n,e=!1)=>t.O===n.O&&("slot"===t.O?t.S===n.S:e?(e&&!t.j&&n.j&&(t.j=n.j),!0):t.j===n.j),ct=t=>t&&t["s-ol"]||t,ut=(t,n,e=!1)=>{const o=n.k=t.k,l=t.$,s=n.$,i=n.v;let r;null==i?("slot"!==n.O||J||t.S!==n.S&&(n.k["s-sn"]=n.S||"",ot(n.k.parentElement)),I(t,n,X),null!==l&&null!==s?((t,n,e,o,l=!1)=>{let s,i,r=0,c=0,u=0,f=0,a=n.length-1,d=n[0],p=n[a],h=o.length-1,v=o[0],m=o[h];const y="template"===e.O?t.content:t;for(;r<=a&&c<=h;)if(null==d)d=n[++r];else if(null==p)p=n[--a];else if(null==v)v=o[++c];else if(null==m)m=o[--h];else if(rt(d,v,l))ut(d,v,l),d=n[++r],v=o[++c];else if(rt(p,m,l))ut(p,m,l),p=n[--a],m=o[--h];else if(rt(d,m,l))"slot"!==d.O&&"slot"!==m.O||lt(d.k.parentNode,!1),ut(d,m,l),ht(y,d.k,p.k.nextSibling),d=n[++r],m=o[--h];else if(rt(p,v,l))"slot"!==d.O&&"slot"!==m.O||lt(p.k.parentNode,!1),ut(p,v,l),ht(y,p.k,d.k),p=n[--a],v=o[++c];else{for(u=-1,f=r;f<=a;++f)if(n[f]&&null!==n[f].j&&n[f].j===v.j){u=f;break}u>=0?(i=n[u],i.O!==v.O?s=et(n&&n[c],e,u):(ut(i,v,l),n[u]=void 0,s=i.k),v=o[++c]):(s=et(n&&n[c],e,c),v=o[++c]),s&&ht(ct(d.k).parentNode,s,ct(d.k))}r>a?st(t,null==o[h+1]?null:o[h+1].k,e,o,c,h):c>h&&it(n,r,a)})(o,l,n,s,e):null!==s?(null!==t.v&&(o.textContent=""),st(o,null,n,s,0,s.length-1)):!e&&null!==l&&it(l,0,l.length-1)):(r=o["s-cr"])?r.parentNode.textContent=i:t.v!==i&&(o.data=i)},ft=[],at=t=>{let n,e,o;const l=t.__childNodes||t.childNodes;for(const t of l){if(t["s-sr"]&&(n=t["s-cr"])&&n.parentNode){e=n.parentNode.__childNodes||n.parentNode.childNodes;const l=t["s-sn"];for(o=e.length-1;o>=0;o--)if(n=e[o],!(n["s-cn"]||n["s-nr"]||n["s-hn"]===t["s-hn"]||n["s-sh"]&&n["s-sh"]===t["s-hn"]))if(k(n,l)){let e=ft.find((t=>t.N===n));K=!0,n["s-sn"]=n["s-sn"]||l,e?(e.N["s-sh"]=t["s-hn"],e.C=t):(n["s-sh"]=t["s-hn"],ft.push({C:t,N:n})),n["s-sr"]&&ft.map((t=>{k(t.N,n["s-sn"])&&(e=ft.find((t=>t.N===n)),e&&!t.C&&(t.C=e.C))}))}else ft.some((t=>t.N===n))||ft.push({N:n})}1===t.nodeType&&at(t)}},dt=t=>{t.m&&t.m.ref&&tt.push((()=>t.m.ref(null))),t.$&&t.$.map(dt)},pt=(t,n)=>{nt.push((()=>t(n)))},ht=(t,n,e,o)=>{if("string"==typeof n["s-sn"]&&n["s-sr"]&&n["s-cr"])vt(n["s-cr"],n,t,n.parentElement);else if("string"==typeof n["s-sn"]){t.insertBefore(n,e);const{slotNode:l}=function(t,n){var e;if(!(n=n||(null==(e=t["s-ol"])?void 0:e.parentElement)))return{slotNode:null,slotName:""};const o=t["s-sn"]=N(t)||"";return{slotNode:S(C(n,"childNodes"),n.tagName,o)[0],slotName:o}}(n);return l&&!o&&function(t){t.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1}))}(l),n}return t.__insertBefore?t.__insertBefore(n,e):null==t?void 0:t.insertBefore(n,e)};function vt(t,n,e,o){var l,s;let i;if(t&&"string"==typeof n["s-sn"]&&n["s-sr"]&&t.parentNode&&t.parentNode["s-sc"]&&(i=n["s-si"]||t.parentNode["s-sc"])){const t=n["s-sn"],r=n["s-hn"];if(null==(l=e.classList)||l.add(i+"-s"),o&&(null==(s=o.classList)?void 0:s.contains(i+"-s"))){let n=(o.__childNodes||o.childNodes)[0],e=!1;for(;n;){if(n["s-sn"]!==t&&n["s-hn"]===r&&n["s-sr"]){e=!0;break}n=n.nextSibling}e||o.classList.remove(i+"-s")}}}var mt=(t,n)=>{if(n&&!t.M&&n["s-p"]){const e=n["s-p"].push(new Promise((o=>t.M=()=>{n["s-p"].splice(e-1,1),o()})))}},yt=(t,n)=>{if(t.u|=16,4&t.u)return void(t.u|=512);mt(t,t.T);const e=()=>bt(t,n);if(!n)return g(e);queueMicrotask((()=>{e()}))},bt=(t,n)=>{const e=t.$hostElement$,o=t.i;if(!o)throw Error(`Can't render component <${e.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return n?(t.L&&(t.L=!1,kt(o,"connectedCallback",void 0,e)),t.u|=256,t.R&&(t.R.map((([t,n])=>kt(o,t,n,e))),t.R=void 0),t.A.length&&t.A.forEach((t=>t(e))),l=kt(o,"componentWillLoad",void 0,e)):l=kt(o,"componentWillUpdate",void 0,e),l=$t(l,(()=>kt(o,"componentWillRender",void 0,e))),$t(l,(()=>gt(t,o,n)))},$t=(t,n)=>wt(t)?t.then(n).catch((t=>{console.error(t),n()})):n(),wt=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,gt=async(t,n,e)=>{var o;const l=t.$hostElement$,s=l["s-rc"];e&&(t=>{const n=t.o,e=t.$hostElement$,o=n.u,l=((t,n)=>{var e,o,l;const s=A(n),i=r.get(s);if(!u.document)return s;if(t=11===t.nodeType?t:u.document,i)if("string"==typeof i){let l,r=R.get(t=t.head||t);if(r||R.set(t,r=new Set),!r.has(s)){l=u.document.createElement("style"),l.textContent=i;const a=null!=(e=f.P)?e:E(u.document);if(null!=a&&l.setAttribute("nonce",a),!(1&n.u))if("HEAD"===t.nodeName){const n=t.querySelectorAll("link[rel=preconnect]"),e=n.length>0?n[n.length-1].nextSibling:t.querySelector("style");t.insertBefore(l,(null==e?void 0:e.parentNode)===t?e:null)}else if("host"in t)if(d){const n=new(null!=(o=t.defaultView)?o:t.ownerDocument.defaultView).CSSStyleSheet;n.replaceSync(i),p?t.adoptedStyleSheets.unshift(n):t.adoptedStyleSheets=[n,...t.adoptedStyleSheets]}else{const n=t.querySelector("style");n?n.textContent=i+n.textContent:t.prepend(l)}else t.append(l);1&n.u&&t.insertBefore(l,null),4&n.u&&(l.textContent+=c),r&&r.add(s)}}else{let n=R.get(t);if(n||R.set(t,n=new Set),!n.has(s)){const e=null!=(l=t.defaultView)?l:t.ownerDocument.defaultView;let o;if(i.constructor===e.CSSStyleSheet)o=i;else{o=new e.CSSStyleSheet;for(let t=0;t<i.cssRules.length;t++)o.insertRule(i.cssRules[t].cssText,t)}p?t.adoptedStyleSheets.push(o):t.adoptedStyleSheets=[...t.adoptedStyleSheets,o],n.add(s)}}return s})(e.getRootNode(),n);10&o&&(e["s-sc"]=l,e.classList.add(l+"-h"))})(t);jt(t,n,l,e),s&&(s.map((t=>t())),l["s-rc"]=void 0);{const n=null!=(o=l["s-p"])?o:[],e=()=>St(t);0===n.length?e():(Promise.all(n).then(e).catch(e),t.u|=4,n.length=0)}},jt=(t,n,e,o)=>{try{n=n.render(),t.u&=-17,t.u|=2,((t,n,e=!1)=>{var o,l,s,i,r;const c=t.$hostElement$,a=t.o,d=t.D||D(null,null),p=(t=>t&&t.O===F)(n)?n:x(null,null,n);if(L=c.tagName,e&&p.m)for(const t of Object.keys(p.m))c.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(p.m[t]=c[t]);if(p.O=null,p.u|=4,t.D=p,p.k=d.k=c,M=c["s-sc"],J=!1,T=c["s-cr"],K=!1,ut(d,p,e),f.u|=1,Q){at(p.k);for(const t of ft){const n=t.N;if(!n["s-ol"]&&u.document){const t=u.document.createTextNode("");t["s-nr"]=n,ht(n.parentNode,n["s-ol"]=t,n,e)}}for(const t of ft){const n=t.N,r=t.C;if(1===n.nodeType&&e&&(n["s-ih"]=null!=(o=n.hidden)&&o),r){const t=r.parentNode;let o=r.nextSibling;if(o&&1===o.nodeType){let e=null==(l=n["s-ol"])?void 0:l.previousSibling;for(;e;){let l=null!=(s=e["s-nr"])?s:null;if(l&&l["s-sn"]===n["s-sn"]&&t===(l.__parentNode||l.parentNode)){for(l=l.nextSibling;l===n||(null==l?void 0:l["s-sr"]);)l=null==l?void 0:l.nextSibling;if(!l||!l["s-nr"]){o=l;break}}e=e.previousSibling}}if((!o&&t!==(n.__parentNode||n.parentNode)||(n.__nextSibling||n.nextSibling)!==o)&&n!==o){if(ht(t,n,o,e),8===n.nodeType&&n.nodeValue.startsWith("s-nt-")){const t=u.document.createTextNode(n.nodeValue.replace(/^s-nt-/,""));t["s-hn"]=n["s-hn"],t["s-sn"]=n["s-sn"],t["s-sh"]=n["s-sh"],t["s-sr"]=n["s-sr"],t["s-ol"]=n["s-ol"],t["s-ol"]["s-nr"]=t,ht(n.parentNode,t,n,e),n.parentNode.removeChild(n)}1===n.nodeType&&"SLOT-FB"!==n.tagName&&(n.hidden=null!=(i=n["s-ih"])&&i)}n&&"function"==typeof r["s-rf"]&&r["s-rf"](r)}else 1===n.nodeType&&(n.hidden=!0)}}if(K&&j(p.k),f.u&=-2,ft.length=0,!J&&!(1&a.u)&&c["s-cr"]){const t=p.k.__childNodes||p.k.childNodes;for(const n of t)if(n["s-hn"]!==L&&!n["s-sh"])if(e&&null==n["s-ih"]&&(n["s-ih"]=null!=(r=n.hidden)&&r),1===n.nodeType)n.hidden=!0;else if(3===n.nodeType&&n.nodeValue.trim()){const t=u.document.createComment("s-nt-"+n.nodeValue);t["s-sn"]=n["s-sn"],ht(n.parentNode,t,n,e),n.parentNode.removeChild(n)}}T=void 0,tt.forEach((t=>t())),tt.length=0,nt.forEach((t=>t())),nt.length=0})(t,n,o)}catch(n){s(n,t.$hostElement$)}return null},St=t=>{const n=t.$hostElement$,e=t.i,o=t.T;kt(e,"componentDidRender",void 0,n),64&t.u?kt(e,"componentDidUpdate",void 0,n):(t.u|=64,Nt(n),kt(e,"componentDidLoad",void 0,n),t.F(n),o||Ot()),t.H(n),t.M&&(t.M(),t.M=void 0),512&t.u&&w((()=>yt(t,!1))),t.u&=-517},Ot=()=>{w((()=>z(u,"appload",{detail:{namespace:"formkrafter-wc"}})))},kt=(t,n,e,o)=>{if(t&&t[n])try{return t[n](e)}catch(t){s(t,o)}},Nt=t=>t.classList.add("hydrated"),Ct=(t,n,o,l)=>{const i=e(t);if(!i)return;if(!i)throw Error(`Couldn't find host element for "${l.h}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`);const r=i.$hostElement$,c=i.l.get(n),u=i.u,f=i.i;if(o=_(o,l.t[n][0]),!(8&u&&void 0!==c||o===c||Number.isNaN(c)&&Number.isNaN(o))){if(i.l.set(n,o),l._){const t=l._[n];t&&t.map((t=>{try{const[[e,l]]=Object.entries(t);(128&u||1&l)&&(f?f[e](o,c,n):i.A.push((()=>{i.i[e](o,c,n)})))}catch(t){s(t,r)}}))}if(2&u){if(f.componentShouldUpdate&&!1===f.componentShouldUpdate(o,c,n)&&!(16&u))return;16&u||yt(i,!1)}}},Et=(n,o,l)=>{var s,i;const r=n.prototype;{n.watchers&&!o._&&(o._=H(n.watchers)),n.deserializers&&!o.U&&(o.U=n.deserializers),n.serializers&&!o.W&&(o.W=n.serializers);const c=Object.entries(null!=(s=o.t)?s:{});if(c.map((([n,[s]])=>{if(31&s||2&l&&32&s){const{get:i,set:c}=t(r,n)||{};i&&(o.t[n][0]|=2048),c&&(o.t[n][0]|=4096),(1&l||!i)&&Object.defineProperty(r,n,{get(){{if(!(2048&o.t[n][0]))return((t,n)=>e(this).l.get(n))(0,n);const t=e(this),l=t?t.i:r;if(!l)return;return l[n]}},configurable:!0,enumerable:!0}),Object.defineProperty(r,n,{set(t){const i=e(this);if(i){if(c)return void 0===(32&s?this[n]:i.$hostElement$[n])&&i.l.get(n)&&(t=i.l.get(n)),c.call(this,_(t,s)),void Ct(this,n,t=32&s?this[n]:i.$hostElement$[n],o);{if(!(1&l&&4096&o.t[n][0]))return Ct(this,n,t,o),void(1&l&&!i.i&&i.A.push((()=>{4096&o.t[n][0]&&i.i[n]!==i.l.get(n)&&(i.i[n]=t)})));const e=()=>{const e=i.i[n];!i.l.get(n)&&e&&i.l.set(n,e),i.i[n]=_(t,s),Ct(this,n,i.i[n],o)};i.i?e():i.A.push((()=>{e()}))}}}})}else 1&l&&64&s&&Object.defineProperty(r,n,{value(...t){var o;const l=e(this);return null==(o=null==l?void 0:l.B)?void 0:o.then((()=>{var e;return null==(e=l.i)?void 0:e[n](...t)}))}})})),1&l){const t=new Map;r.attributeChangedCallback=function(n,l,s){f.jmp((()=>{var i;const u=t.get(n),f=e(this);if(this.hasOwnProperty(u)&&(s=this[u],delete this[u]),r.hasOwnProperty(u)&&"number"==typeof this[u]&&this[u]==s)return;if(null==u){const t=null==f?void 0:f.u;if(f&&t&&!(8&t)&&s!==l){const e=f.i,r=null==(i=o._)?void 0:i[n];null==r||r.forEach((o=>{const[[i,r]]=Object.entries(o);null!=e[i]&&(128&t||1&r)&&e[i].call(e,s,l,n)}))}return}const a=c.find((([t])=>t===u)),d=a&&4&a[1][0],p=d&&null===s&&void 0===this[u];d&&(s=null!==s&&"false"!==s);const h=Object.getOwnPropertyDescriptor(r,u);p||s==this[u]||h.get&&!h.set||(this[u]=s)}))},n.observedAttributes=Array.from(new Set([...Object.keys(null!=(i=o._)?i:{}),...c.filter((([t,n])=>31&n[0])).map((([n,e])=>{const o=e[1]||n;return t.set(o,n),o}))]))}}return n},Mt=(t,n)=>{kt(t,"connectedCallback",void 0,n)},Tt=(t,n)=>{kt(t,"disconnectedCallback",void 0,n||t)},Lt=(t,n={})=>{var o;if(!u.document)return void console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");const l=[],a=n.exclude||[],p=u.customElements,h=u.document.head,v=h.querySelector("meta[charset]"),m=u.document.createElement("style"),y=[];let b,$=!0;Object.assign(f,n),f.p=new URL(n.resourcesUrl||"./",u.document.baseURI).href;let w=!1;if(t.map((t=>{t[1].map((n=>{var o,c;const h={u:n[0],h:n[1],t:n[2],V:n[3]};4&h.u&&(w=!0),h.t=n[2],h.V=n[3],h._=H(n[4]),h.W=null!=(o=n[5])?o:{},h.U=null!=(c=n[6])?c:{};const v=h.h,m=class extends HTMLElement{"s-p";"s-rc";hasRegisteredEventListeners=!1;constructor(t){super(t),((t,n)=>{const e={u:0,$hostElement$:t,o:n,l:new Map,q:new Map};e.B=new Promise((t=>e.H=t)),e.Y=new Promise((t=>e.F=t)),t["s-p"]=[],t["s-rc"]=[],e.A=[];const o=e;t.__stencil__getHostRef=()=>o})(t=this,h)}connectedCallback(){const t=e(this);t&&(this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,Rt(this,t,h.V)),b&&(clearTimeout(b),b=null),$?y.push(this):f.jmp((()=>(t=>{if(!(1&f.u)){const n=e(t);if(!n)return;const o=n.o,l=()=>{};if(1&n.u)Rt(t,n,o.V),(null==n?void 0:n.i)?Mt(n.i,t):(null==n?void 0:n.Y)&&n.Y.then((()=>Mt(n.i,t)));else{n.u|=1,12&o.u&&(t=>{if(!u.document)return;const n=t["s-cr"]=u.document.createComment("");n["s-cn"]=!0,ht(t,n,t.firstChild)})(t);{let e=t;for(;e=e.parentNode||e.host;)if(e["s-p"]){mt(n,n.T=e);break}}o.t&&Object.entries(o.t).map((([n,[e]])=>{if(31&e&&Object.prototype.hasOwnProperty.call(t,n)){const e=t[n];delete t[n],t[n]=e}})),(async(t,n,e)=>{let o;try{if(!(32&n.u)){if(n.u|=32,e.G){const l=((t,n)=>{const e=t.h.replace(/-/g,"_"),o=t.G;if(!o)return;const l=i.get(o);return l?l[e]:import(`./${o}.entry.js`).then((t=>(i.set(o,t),t[e])),(t=>{s(t,n.$hostElement$)}))
2
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(e,n);if(l&&"then"in l){const t=()=>{};o=await l,t()}else o=l;if(!o)throw Error(`Constructor for "${e.h}#${n.I}" was not found`);o.isProxied||(e._=H(o.watchers),e.W=o.serializers,e.U=o.deserializers,Et(o,e,2),o.isProxied=!0);const r=()=>{};n.u|=8;try{new o(n)}catch(n){s(n,t)}n.u&=-9,n.u|=128,r(),4&e.u?n.L=!0:Mt(n.i,t)}else o=t.constructor,customElements.whenDefined(t.localName).then((()=>n.u|=128));if(o&&o.style){let t;"string"==typeof o.style&&(t=o.style);const n=A(e);if(!r.has(n)){const o=()=>{};((t,n,e)=>{let o=r.get(t);d&&e?(o=o||new CSSStyleSheet,"string"==typeof o?o=n:o.replaceSync(n)):o=n,r.set(t,o)})(n,t,!!(1&e.u)),o()}}}const l=n.T,c=()=>yt(n,!0);l&&l["s-rc"]?l["s-rc"].push(c):c()}catch(e){s(e,t),n.M&&(n.M(),n.M=void 0),n.F&&n.F(t)}})(t,n,o)}l()}})(this))))}disconnectedCallback(){f.jmp((()=>(async t=>{if(!(1&f.u)){const n=e(t);(null==n?void 0:n.Z)&&(n.Z.map((t=>t())),n.Z=void 0),(null==n?void 0:n.i)?Tt(n.i,t):(null==n?void 0:n.Y)&&n.Y.then((()=>Tt(n.i,t)))}R.has(t)&&R.delete(t),t.shadowRoot&&R.has(t.shadowRoot)&&R.delete(t.shadowRoot)})(this))),f.raf((()=>{var t;const n=e(this);if(!n)return;const o=y.findIndex((t=>t===this));o>-1&&y.splice(o,1),(null==(t=null==n?void 0:n.D)?void 0:t.k)instanceof Node&&!n.D.k.isConnected&&delete n.D.k}))}componentOnReady(){var t;return null==(t=e(this))?void 0:t.Y}};h.G=t[0],a.includes(v)||p.get(v)||(l.push(v),p.define(v,Et(m,h,1)))}))})),l.length>0&&(w&&(m.textContent+=c),m.textContent+=l.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",m.innerHTML.length)){m.setAttribute("data-styles","");const t=null!=(o=f.P)?o:E(u.document);null!=t&&m.setAttribute("nonce",t),h.insertBefore(m,v?v.nextSibling:h.firstChild)}$=!1,y.length?y.map((t=>t.connectedCallback())):f.jmp((()=>b=setTimeout(Ot,30)))},Rt=(t,n,e)=>{e&&u.document&&e.map((([e,o,l])=>{const s=Pt(u.document,t,e),i=At(n,l),r=xt(e);f.ael(s,o,i,r),(n.Z=n.Z||[]).push((()=>f.rel(s,o,i,r)))}))},At=(t,n)=>e=>{var o;try{256&t.u?null==(o=t.i)||o[n](e):(t.R=t.R||[]).push([n,e])}catch(n){s(n,t.$hostElement$)}},Pt=(t,n,e)=>4&e?t:n,xt=t=>({passive:!!(1&t),capture:!!(2&t)}),Dt=t=>f.P=t;export{F as H,Lt as b,W as c,U as g,x as h,a as p,o as r,Dt as s}