From 4079b8f57ee6fff7e19638f763de1381ad558857 Mon Sep 17 00:00:00 2001 From: mohin7 Date: Tue, 6 Oct 2026 15:45:22 +0600 Subject: [PATCH 1/8] Move vue-openapi-form to the new design system and remove Bulma Signed-off-by: mohin7 --- .browserslistrc | 2 - .gitignore | 2 + babel.config.js | 14 - bundle.css | 28596 ---------------- dist/ArrayInput-3d9d769c.js | 1 - dist/ArrayInput-5cb00ab9.js | 1 - dist/ArrayInput-7cdc58f9.js | 1 - dist/ArrayInput-CUWo9Srt.js | 292 + dist/ArrayInput-a0a3450f.js | 1 - dist/ArrayInput-e904467b.js | 1 - dist/ArrayInput-eadba2cd.js | 1 - dist/ArrayInputItems-592f292e.js | 1 - dist/ArrayInputItems-81e58d12.js | 1 - dist/ArrayInputItems-Ddex7rq1.js | 139 + dist/ArrayInputItems-a24635a8.js | 1 - dist/ArrayInputItems-af73e993.js | 1 - dist/ArrayInputItems-b40b2d6a.js | 1 - dist/ArrayInputItems-ee63c6cb.js | 1 - dist/Banner-3286242e.js | 1 - dist/Banner-7a2df04c.js | 1 - dist/Banner-a2991050.js | 1 - dist/Banner-bfcd6aac.js | 1 - dist/ComponentErrors-1d936ce4.js | 1 - dist/ComponentErrors-CGc_fDk0.js | 41 + dist/ComponentErrors-cbe1f015.js | 1 - dist/Editor-04edac3c.js | 1 - dist/Editor-2cb2cacf.js | 1 - dist/Editor-696573e5.js | 1 - dist/Editor-9fead870.js | 1 - dist/EditorTabs-d3112cc4.js | 1 - dist/EditorTabs-ec1fa66a.js | 1 - dist/Form-0dec9ace.js | 1 - dist/Form-75fe67e1.js | 1 - dist/FormFooterControl-9c8c3f48.js | 1 - dist/FormFooterControl-eec1f0a9.js | 1 - dist/JsonForm-802cdc31.js | 1 - dist/JsonForm-9e1eac41.js | 1 - dist/JsonForm-DwCycdll.js | 59 + dist/JsonForm-bfde48ef.js | 1 - dist/JsonForm-c1cf3ad9.js | 1 - dist/JsonForm-cff18cd0.js | 1 - dist/JsonForm-e91fe6e6.js | 1 - dist/KeyValuePairItems-20e93397.js | 1 - dist/KeyValuePairItems-43c36157.js | 1 - dist/KeyValuePairItems-4652bb38.js | 1 - dist/KeyValuePairItems-55bcab7e.js | 1 - dist/KeyValuePairItems-93f507c4.js | 1 - dist/KeyValuePairItems-Cf8duHDN.js | 171 + dist/KeyValuePairItems-c5d5aad6.js | 1 - dist/KeyValuePairs-0282012a.js | 1 - dist/KeyValuePairs-4dc07e4e.js | 1 - dist/KeyValuePairs-521ae540.js | 1 - dist/KeyValuePairs-5271af36.js | 1 - dist/KeyValuePairs-6e561841.js | 1 - dist/KeyValuePairs-6ee97ed5.js | 1 - dist/KeyValuePairs-DL8T9ma9.js | 317 + dist/MonacoEditor-16bf802f.js | 1 - dist/MonacoEditor-50a0f8ab.js | 1 - dist/MonacoEditor-d6e4df49.js | 1 - dist/MonacoEditor-f41826a2.js | 1 - dist/ObjectForm-6c630204.js | 1 - dist/ObjectForm-757bb3e3.js | 1 - dist/ObjectForm-910ddc19.js | 1 - dist/ObjectForm-a92a1e1d.js | 1 - dist/ObjectForm-c6b72f9a.js | 1 - dist/ObjectForm-e6fabd17.js | 1 - dist/ObjectForm-pvbq9e18.js | 153 + dist/ObjectFormWrapper-66e8b9cd.js | 1 - dist/ObjectFormWrapper-80f4c733.js | 1 - dist/ObjectFormWrapper-D0yT9-aL.js | 113 + dist/ObjectFormWrapper-ce7a5cf0.js | 1 - dist/ObjectFormWrapper-cea98462.js | 1 - dist/ObjectFormWrapper-d4223e01.js | 1 - dist/ObjectFormWrapper-d8b53092.js | 1 - dist/Preloader-46710ac3.js | 1 - dist/Preloader-e17b7349.js | 1 - dist/RightWrongSigns-75d38a15.js | 1 - dist/RightWrongSigns-CiCUyqiY.js | 38 + dist/RightWrongSigns-e0964dee.js | 1 - dist/SimpleInput-221c342f.js | 1 - dist/SimpleInput-53d0a934.js | 1 - dist/SimpleInput-Bs9EFM3I.js | 148 + dist/SimpleInput-bde253da.js | 1 - dist/SimpleInput-ccc4ca3c.js | 1 - dist/SimpleInput-d1c60f88.js | 1 - dist/SimpleInput-ff1fc432.js | 1 - dist/TabItem-05b72b6f.js | 1 - dist/TabItem-9e42838b.js | 1 - dist/Tabs-71c515fc.js | 1 - dist/Tabs-724892f9.js | 1 - dist/Tabs-877aa47f.js | 1 - dist/Tabs-8b79b1b8.js | 1 - dist/Tabs-99642040.js | 1 - dist/Tabs-GSZCVuZM.js | 53 + dist/Tabs-f456f148.js | 1 - dist/TabsBody-09c099c1.js | 1 - dist/TabsBody-415c3b23.js | 1 - dist/YamlForm-0ab70977.js | 1 - dist/YamlForm-20ecc51a.js | 1 - dist/YamlForm-35516ac8.js | 1 - dist/YamlForm-44242511.js | 1 - dist/YamlForm-7007fb43.js | 1 - dist/YamlForm-9EaWJGqc.js | 62 + dist/YamlForm-c590504a.js | 1 - dist/entry-2ace4904.js | 12 - dist/entry-46a6dd07.js | 12 - dist/entry-5480607d.js | 12 - dist/entry-CiSu1Krq.js | 331 + dist/entry-a6929ab2.js | 12 - dist/entry-c1fde67d.js | 12 - dist/entry-f11f5a48.js | 12 - dist/fold-D-kLFRsg.js | 34 + dist/fold-ab363a66.js | 1 - dist/fold-e405c002.js | 1 - dist/size-27a9a503.js | 1 - dist/size-BtoaE7vX.js | 14 + dist/size-d02f66d9.js | 1 - dist/tabs-1a22f292.js | 1 - dist/tabs-693e2862.js | 1 - dist/tabs-714485d5.js | 1 - dist/tabs-DnKM5ngn.js | 22 + dist/tabs-ae6e6a83.js | 1 - dist/tabs-e549bda7.js | 1 - dist/tabs-f0820640.js | 1 - dist/vue-openapi-form.cjs.js | 1 - dist/vue-openapi-form.esm.js | 1 - dist/vue-openapi-form.js | 5 + dist/vue-openapi-form.min.js | 12 - dist/vue-openapi-form.umd.cjs | 4 + firebase.json | 2 +- index.html | 2 +- package-lock.json | 6511 ++-- package.json | 100 +- rollup.config.js | 197 - src/App.vue | 256 +- src/assets/scss/_ui-builder.scss | 434 - src/assets/scss/_vue-open-api.scss | 588 - src/assets/scss/main.scss | 21 - src/assets/vof-demo.css | 83 + src/assets/vof-next.css | 310 + src/components/ArrayInput.vue | 110 +- src/components/ComponentErrors.vue | 14 +- src/components/JsonForm.vue | 13 +- src/components/KeyValuePairs.vue | 44 +- src/components/ObjectForm.vue | 2 +- src/components/ObjectFormWrapper.vue | 18 +- src/components/RightWrongSigns.vue | 44 +- src/components/SchemaModel.vue | 79 +- src/components/SimpleInput.vue | 231 +- src/components/Tabs.vue | 61 +- src/components/VueOpenapiForm.vue | 59 +- src/components/YamlForm.vue | 13 +- .../sub-components/ArrayInputItems.vue | 2 +- .../sub-components/KeyValuePairItems.vue | 33 +- src/main.js | 9 +- src/plugins/monaco.js | 18 - vite.config.js | 65 +- 157 files changed, 5402 insertions(+), 34711 deletions(-) delete mode 100644 .browserslistrc delete mode 100644 babel.config.js delete mode 100644 bundle.css delete mode 100644 dist/ArrayInput-3d9d769c.js delete mode 100644 dist/ArrayInput-5cb00ab9.js delete mode 100644 dist/ArrayInput-7cdc58f9.js create mode 100644 dist/ArrayInput-CUWo9Srt.js delete mode 100644 dist/ArrayInput-a0a3450f.js delete mode 100644 dist/ArrayInput-e904467b.js delete mode 100644 dist/ArrayInput-eadba2cd.js delete mode 100644 dist/ArrayInputItems-592f292e.js delete mode 100644 dist/ArrayInputItems-81e58d12.js create mode 100644 dist/ArrayInputItems-Ddex7rq1.js delete mode 100644 dist/ArrayInputItems-a24635a8.js delete mode 100644 dist/ArrayInputItems-af73e993.js delete mode 100644 dist/ArrayInputItems-b40b2d6a.js delete mode 100644 dist/ArrayInputItems-ee63c6cb.js delete mode 100644 dist/Banner-3286242e.js delete mode 100644 dist/Banner-7a2df04c.js delete mode 100644 dist/Banner-a2991050.js delete mode 100644 dist/Banner-bfcd6aac.js delete mode 100644 dist/ComponentErrors-1d936ce4.js create mode 100644 dist/ComponentErrors-CGc_fDk0.js delete mode 100644 dist/ComponentErrors-cbe1f015.js delete mode 100644 dist/Editor-04edac3c.js delete mode 100644 dist/Editor-2cb2cacf.js delete mode 100644 dist/Editor-696573e5.js delete mode 100644 dist/Editor-9fead870.js delete mode 100644 dist/EditorTabs-d3112cc4.js delete mode 100644 dist/EditorTabs-ec1fa66a.js delete mode 100644 dist/Form-0dec9ace.js delete mode 100644 dist/Form-75fe67e1.js delete mode 100644 dist/FormFooterControl-9c8c3f48.js delete mode 100644 dist/FormFooterControl-eec1f0a9.js delete mode 100644 dist/JsonForm-802cdc31.js delete mode 100644 dist/JsonForm-9e1eac41.js create mode 100644 dist/JsonForm-DwCycdll.js delete mode 100644 dist/JsonForm-bfde48ef.js delete mode 100644 dist/JsonForm-c1cf3ad9.js delete mode 100644 dist/JsonForm-cff18cd0.js delete mode 100644 dist/JsonForm-e91fe6e6.js delete mode 100644 dist/KeyValuePairItems-20e93397.js delete mode 100644 dist/KeyValuePairItems-43c36157.js delete mode 100644 dist/KeyValuePairItems-4652bb38.js delete mode 100644 dist/KeyValuePairItems-55bcab7e.js delete mode 100644 dist/KeyValuePairItems-93f507c4.js create mode 100644 dist/KeyValuePairItems-Cf8duHDN.js delete mode 100644 dist/KeyValuePairItems-c5d5aad6.js delete mode 100644 dist/KeyValuePairs-0282012a.js delete mode 100644 dist/KeyValuePairs-4dc07e4e.js delete mode 100644 dist/KeyValuePairs-521ae540.js delete mode 100644 dist/KeyValuePairs-5271af36.js delete mode 100644 dist/KeyValuePairs-6e561841.js delete mode 100644 dist/KeyValuePairs-6ee97ed5.js create mode 100644 dist/KeyValuePairs-DL8T9ma9.js delete mode 100644 dist/MonacoEditor-16bf802f.js delete mode 100644 dist/MonacoEditor-50a0f8ab.js delete mode 100644 dist/MonacoEditor-d6e4df49.js delete mode 100644 dist/MonacoEditor-f41826a2.js delete mode 100644 dist/ObjectForm-6c630204.js delete mode 100644 dist/ObjectForm-757bb3e3.js delete mode 100644 dist/ObjectForm-910ddc19.js delete mode 100644 dist/ObjectForm-a92a1e1d.js delete mode 100644 dist/ObjectForm-c6b72f9a.js delete mode 100644 dist/ObjectForm-e6fabd17.js create mode 100644 dist/ObjectForm-pvbq9e18.js delete mode 100644 dist/ObjectFormWrapper-66e8b9cd.js delete mode 100644 dist/ObjectFormWrapper-80f4c733.js create mode 100644 dist/ObjectFormWrapper-D0yT9-aL.js delete mode 100644 dist/ObjectFormWrapper-ce7a5cf0.js delete mode 100644 dist/ObjectFormWrapper-cea98462.js delete mode 100644 dist/ObjectFormWrapper-d4223e01.js delete mode 100644 dist/ObjectFormWrapper-d8b53092.js delete mode 100644 dist/Preloader-46710ac3.js delete mode 100644 dist/Preloader-e17b7349.js delete mode 100644 dist/RightWrongSigns-75d38a15.js create mode 100644 dist/RightWrongSigns-CiCUyqiY.js delete mode 100644 dist/RightWrongSigns-e0964dee.js delete mode 100644 dist/SimpleInput-221c342f.js delete mode 100644 dist/SimpleInput-53d0a934.js create mode 100644 dist/SimpleInput-Bs9EFM3I.js delete mode 100644 dist/SimpleInput-bde253da.js delete mode 100644 dist/SimpleInput-ccc4ca3c.js delete mode 100644 dist/SimpleInput-d1c60f88.js delete mode 100644 dist/SimpleInput-ff1fc432.js delete mode 100644 dist/TabItem-05b72b6f.js delete mode 100644 dist/TabItem-9e42838b.js delete mode 100644 dist/Tabs-71c515fc.js delete mode 100644 dist/Tabs-724892f9.js delete mode 100644 dist/Tabs-877aa47f.js delete mode 100644 dist/Tabs-8b79b1b8.js delete mode 100644 dist/Tabs-99642040.js create mode 100644 dist/Tabs-GSZCVuZM.js delete mode 100644 dist/Tabs-f456f148.js delete mode 100644 dist/TabsBody-09c099c1.js delete mode 100644 dist/TabsBody-415c3b23.js delete mode 100644 dist/YamlForm-0ab70977.js delete mode 100644 dist/YamlForm-20ecc51a.js delete mode 100644 dist/YamlForm-35516ac8.js delete mode 100644 dist/YamlForm-44242511.js delete mode 100644 dist/YamlForm-7007fb43.js create mode 100644 dist/YamlForm-9EaWJGqc.js delete mode 100644 dist/YamlForm-c590504a.js delete mode 100644 dist/entry-2ace4904.js delete mode 100644 dist/entry-46a6dd07.js delete mode 100644 dist/entry-5480607d.js create mode 100644 dist/entry-CiSu1Krq.js delete mode 100644 dist/entry-a6929ab2.js delete mode 100644 dist/entry-c1fde67d.js delete mode 100644 dist/entry-f11f5a48.js create mode 100644 dist/fold-D-kLFRsg.js delete mode 100644 dist/fold-ab363a66.js delete mode 100644 dist/fold-e405c002.js delete mode 100644 dist/size-27a9a503.js create mode 100644 dist/size-BtoaE7vX.js delete mode 100644 dist/size-d02f66d9.js delete mode 100644 dist/tabs-1a22f292.js delete mode 100644 dist/tabs-693e2862.js delete mode 100644 dist/tabs-714485d5.js create mode 100644 dist/tabs-DnKM5ngn.js delete mode 100644 dist/tabs-ae6e6a83.js delete mode 100644 dist/tabs-e549bda7.js delete mode 100644 dist/tabs-f0820640.js delete mode 100644 dist/vue-openapi-form.cjs.js delete mode 100644 dist/vue-openapi-form.esm.js create mode 100644 dist/vue-openapi-form.js delete mode 100644 dist/vue-openapi-form.min.js create mode 100644 dist/vue-openapi-form.umd.cjs delete mode 100644 rollup.config.js delete mode 100644 src/assets/scss/_ui-builder.scss delete mode 100644 src/assets/scss/_vue-open-api.scss delete mode 100644 src/assets/scss/main.scss create mode 100644 src/assets/vof-demo.css create mode 100644 src/assets/vof-next.css delete mode 100644 src/plugins/monaco.js diff --git a/.browserslistrc b/.browserslistrc deleted file mode 100644 index d6471a3..0000000 --- a/.browserslistrc +++ /dev/null @@ -1,2 +0,0 @@ -> 1% -last 2 versions diff --git a/.gitignore b/.gitignore index f3fa972..3561945 100644 --- a/.gitignore +++ b/.gitignore @@ -20,3 +20,5 @@ yarn-error.log* *.sw? firebase-debug.log .firebase/ + +dist-app diff --git a/babel.config.js b/babel.config.js deleted file mode 100644 index 13bcf21..0000000 --- a/babel.config.js +++ /dev/null @@ -1,14 +0,0 @@ -const devPresets = ["@vue/babel-preset-app"]; -const buildPresets = [ - [ - "@babel/preset-env", - // Config for @babel/preset-env - { - // Example: Always transpile optional chaining/nullish coalescing - include: [/(optional-chaining|nullish-coalescing)/], - }, - ], -]; -module.exports = { - presets: process.env.NODE_ENV === "development" ? devPresets : buildPresets, -}; diff --git a/bundle.css b/bundle.css deleted file mode 100644 index 555a526..0000000 --- a/bundle.css +++ /dev/null @@ -1,28596 +0,0 @@ -@charset "UTF-8"; -@import 'font-awesome/css/font-awesome.min.css'; -@import 'floating-vue/dist/style.css'; -@import url("https://fonts.googleapis.com/css2?family=Inconsolata:wght@200;300;400;500;600;700&family=Roboto:ital,wght@0,400;0,500;0,700;0,900;1,400;1,500;1,700&display=swap"); -.panel-tabs:not(:last-child), -.panel-block:not(:last-child) { - border-bottom: 1px solid #f1f5f9; -} - -a.panel-block, -label.panel-block { - background-color: hsl(0, 0%, 100%); -} - -a.panel-block:hover, -label.panel-block:hover { - border-color: hsl(var(--primary-hue), var(--primary-saturation), 97%); -} - -/*! bulma.io v0.9.4 | MIT License | github.com/jgthms/bulma */ -/* Bulma Utilities */ -.pagination-previous, -.pagination-next, -.pagination-link, -.pagination-ellipsis, .file-cta, -.file-name, .select select, .textarea, .input, .button { - -moz-appearance: none; - -webkit-appearance: none; - align-items: center; - border: 1px solid transparent; - border-radius: 4px; - box-shadow: none; - display: inline-flex; - font-size: 1rem; - height: 2.5em; - justify-content: flex-start; - line-height: 1.5; - padding-bottom: calc(0.5em - 1px); - padding-left: calc(0.75em - 1px); - padding-right: calc(0.75em - 1px); - padding-top: calc(0.5em - 1px); - position: relative; - vertical-align: top; -} - -.pagination-previous:focus, -.pagination-next:focus, -.pagination-link:focus, -.pagination-ellipsis:focus, .file-cta:focus, -.file-name:focus, .select select:focus, .textarea:focus, .input:focus, .button:focus, .is-focused.pagination-previous, -.is-focused.pagination-next, -.is-focused.pagination-link, -.is-focused.pagination-ellipsis, .is-focused.file-cta, -.is-focused.file-name, .select select.is-focused, .is-focused.textarea, .is-focused.input, .is-focused.button, .pagination-previous:active, -.pagination-next:active, -.pagination-link:active, -.pagination-ellipsis:active, .file-cta:active, -.file-name:active, .select select:active, .textarea:active, .input:active, .button:active, .is-active.pagination-previous, -.is-active.pagination-next, -.is-active.pagination-link, -.is-active.pagination-ellipsis, .is-active.file-cta, -.is-active.file-name, .select select.is-active, .is-active.textarea, .is-active.input, .is-active.button { - outline: none; -} - -[disabled].pagination-previous, -[disabled].pagination-next, -[disabled].pagination-link, -[disabled].pagination-ellipsis, [disabled].file-cta, -[disabled].file-name, .select select[disabled], [disabled].textarea, [disabled].input, [disabled].button, fieldset[disabled] .pagination-previous, -fieldset[disabled] .pagination-next, -fieldset[disabled] .pagination-link, -fieldset[disabled] .pagination-ellipsis, fieldset[disabled] .file-cta, -fieldset[disabled] .file-name, fieldset[disabled] .select select, .select fieldset[disabled] select, fieldset[disabled] .textarea, fieldset[disabled] .input, fieldset[disabled] .button { - cursor: not-allowed; -} - -.is-unselectable, .tabs, .pagination-previous, -.pagination-next, -.pagination-link, -.pagination-ellipsis, .breadcrumb, .file, .button { - -webkit-touch-callout: none; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.navbar-link:not(.is-arrowless)::after, .select:not(.is-multiple):not(.is-loading)::after { - border: 3px solid transparent; - border-radius: 2px; - border-right: 0; - border-top: 0; - content: " "; - display: block; - height: 0.625em; - margin-top: -0.4375em; - pointer-events: none; - position: absolute; - top: 50%; - transform: rotate(-45deg); - transform-origin: center; - width: 0.625em; -} - -.tabs:not(:last-child), .pagination:not(:last-child), .message:not(:last-child), .level:not(:last-child), .breadcrumb:not(:last-child), .block:not(:last-child), .title:not(:last-child), -.subtitle:not(:last-child), .table-container:not(:last-child), .table:not(:last-child), .progress:not(:last-child), .notification:not(:last-child), .content:not(:last-child), .box:not(:last-child) { - margin-bottom: 1.5rem; -} - -.modal-close, .delete { - -webkit-touch-callout: none; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - -moz-appearance: none; - -webkit-appearance: none; - background-color: rgba(10, 10, 10, 0.2); - border: none; - border-radius: 9999px; - cursor: pointer; - pointer-events: auto; - display: inline-block; - flex-grow: 0; - flex-shrink: 0; - font-size: 0; - height: 20px; - max-height: 20px; - max-width: 20px; - min-height: 20px; - min-width: 20px; - outline: none; - position: relative; - vertical-align: top; - width: 20px; -} - -.modal-close::before, .delete::before, .modal-close::after, .delete::after { - background-color: hsl(0, 0%, 100%); - content: ""; - display: block; - left: 50%; - position: absolute; - top: 50%; - transform: translateX(-50%) translateY(-50%) rotate(45deg); - transform-origin: center center; -} - -.modal-close::before, .delete::before { - height: 2px; - width: 50%; -} - -.modal-close::after, .delete::after { - height: 50%; - width: 2px; -} - -.modal-close:hover, .delete:hover, .modal-close:focus, .delete:focus { - background-color: rgba(10, 10, 10, 0.3); -} - -.modal-close:active, .delete:active { - background-color: rgba(10, 10, 10, 0.4); -} - -.is-small.modal-close, .is-small.delete { - height: 16px; - max-height: 16px; - max-width: 16px; - min-height: 16px; - min-width: 16px; - width: 16px; -} - -.is-medium.modal-close, .is-medium.delete { - height: 24px; - max-height: 24px; - max-width: 24px; - min-height: 24px; - min-width: 24px; - width: 24px; -} - -.is-large.modal-close, .is-large.delete { - height: 32px; - max-height: 32px; - max-width: 32px; - min-height: 32px; - min-width: 32px; - width: 32px; -} - -.control.is-loading::after, .select.is-loading::after, .loader, .button.is-loading::after { - animation: spinAround 500ms infinite linear; - border: 2px solid hsl(0, 0%, 86%); - border-radius: 9999px; - border-right-color: transparent; - border-top-color: transparent; - content: ""; - display: block; - height: 1em; - position: relative; - width: 1em; -} - -.hero-video, .is-overlay, .modal-background, .modal, .image.is-square img, -.image.is-square .has-ratio, .image.is-1by1 img, -.image.is-1by1 .has-ratio, .image.is-5by4 img, -.image.is-5by4 .has-ratio, .image.is-4by3 img, -.image.is-4by3 .has-ratio, .image.is-3by2 img, -.image.is-3by2 .has-ratio, .image.is-5by3 img, -.image.is-5by3 .has-ratio, .image.is-16by9 img, -.image.is-16by9 .has-ratio, .image.is-2by1 img, -.image.is-2by1 .has-ratio, .image.is-3by1 img, -.image.is-3by1 .has-ratio, .image.is-4by5 img, -.image.is-4by5 .has-ratio, .image.is-3by4 img, -.image.is-3by4 .has-ratio, .image.is-2by3 img, -.image.is-2by3 .has-ratio, .image.is-3by5 img, -.image.is-3by5 .has-ratio, .image.is-9by16 img, -.image.is-9by16 .has-ratio, .image.is-1by2 img, -.image.is-1by2 .has-ratio, .image.is-1by3 img, -.image.is-1by3 .has-ratio { - bottom: 0; - left: 0; - position: absolute; - right: 0; - top: 0; -} - -.navbar-burger { - -moz-appearance: none; - -webkit-appearance: none; - appearance: none; - background: none; - border: none; - color: currentColor; - font-family: inherit; - font-size: 1em; - margin: 0; - padding: 0; -} - -/* Bulma Base */ -/*! minireset.css v0.0.6 | MIT License | github.com/jgthms/minireset.css */ -html, -body, -p, -ol, -ul, -li, -dl, -dt, -dd, -blockquote, -figure, -fieldset, -legend, -textarea, -pre, -iframe, -hr, -h1, -h2, -h3, -h4, -h5, -h6 { - margin: 0; - padding: 0; -} - -h1, -h2, -h3, -h4, -h5, -h6 { - font-size: 100%; - font-weight: normal; -} - -ul { - list-style: none; -} - -button, -input, -select, -textarea { - margin: 0; -} - -html { - box-sizing: border-box; -} - -*, *::before, *::after { - box-sizing: inherit; -} - -img, -video { - height: auto; - max-width: 100%; -} - -iframe { - border: 0; -} - -table { - border-collapse: collapse; - border-spacing: 0; -} - -td, -th { - padding: 0; -} - -td:not([align]), -th:not([align]) { - text-align: inherit; -} - -html { - background-color: hsl(0, 0%, 100%); - font-size: 16px; - -moz-osx-font-smoothing: grayscale; - -webkit-font-smoothing: antialiased; - min-width: 300px; - overflow-x: hidden; - overflow-y: scroll; - text-rendering: optimizeLegibility; - text-size-adjust: 100%; -} - -article, -aside, -figure, -footer, -header, -hgroup, -section { - display: block; -} - -body, -button, -input, -optgroup, -select, -textarea { - font-family: BlinkMacSystemFont, -apple-system, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif; -} - -code, -pre { - -moz-osx-font-smoothing: auto; - -webkit-font-smoothing: auto; - font-family: monospace; -} - -body { - color: hsl(0, 0%, 29%); - font-size: 1em; - font-weight: 400; - line-height: 1.5; -} - -a { - color: hsl(229, 53%, 53%); - cursor: pointer; - text-decoration: none; -} - -a strong { - color: currentColor; -} - -a:hover { - color: hsl(0, 0%, 21%); -} - -code { - background-color: hsl(0, 0%, 96%); - color: #da1039; - font-size: 0.875em; - font-weight: normal; - padding: 0.25em 0.5em 0.25em; -} - -hr { - background-color: hsl(0, 0%, 96%); - border: none; - display: block; - height: 2px; - margin: 1.5rem 0; -} - -img { - height: auto; - max-width: 100%; -} - -input[type=checkbox], -input[type=radio] { - vertical-align: baseline; -} - -small { - font-size: 0.875em; -} - -span { - font-style: inherit; - font-weight: inherit; -} - -strong { - color: hsl(0, 0%, 21%); - font-weight: 700; -} - -fieldset { - border: none; -} - -pre { - -webkit-overflow-scrolling: touch; - background-color: hsl(0, 0%, 96%); - color: hsl(0, 0%, 29%); - font-size: 0.875em; - overflow-x: auto; - padding: 1.25rem 1.5rem; - white-space: pre; - word-wrap: normal; -} - -pre code { - background-color: transparent; - color: currentColor; - font-size: 1em; - padding: 0; -} - -table td, -table th { - vertical-align: top; -} - -table td:not([align]), -table th:not([align]) { - text-align: inherit; -} - -table th { - color: hsl(0, 0%, 21%); -} - -@keyframes spinAround { - from { - transform: rotate(0deg); - } - to { - transform: rotate(359deg); - } -} -/* Bulma Elements */ -.box { - background-color: hsl(0, 0%, 100%); - border-radius: 6px; - box-shadow: 0 0.5em 1em -0.125em rgba(10, 10, 10, 0.1), 0 0px 0 1px rgba(10, 10, 10, 0.02); - color: hsl(0, 0%, 29%); - display: block; - padding: 1.25rem; -} - -a.box:hover, a.box:focus { - box-shadow: 0 0.5em 1em -0.125em rgba(10, 10, 10, 0.1), 0 0 0 1px hsl(229, 53%, 53%); -} - -a.box:active { - box-shadow: inset 0 1px 2px rgba(10, 10, 10, 0.2), 0 0 0 1px hsl(229, 53%, 53%); -} - -.button { - background-color: hsl(0, 0%, 100%); - border-color: hsl(0, 0%, 86%); - border-width: 1px; - color: hsl(0, 0%, 21%); - cursor: pointer; - justify-content: center; - padding-bottom: calc(0.5em - 1px); - padding-left: 1em; - padding-right: 1em; - padding-top: calc(0.5em - 1px); - text-align: center; - white-space: nowrap; -} - -.button strong { - color: inherit; -} - -.button .icon, .button .icon.is-small, .button .icon.is-medium, .button .icon.is-large { - height: 1.5em; - width: 1.5em; -} - -.button .icon:first-child:not(:last-child) { - margin-left: calc(-0.5em - 1px); - margin-right: 0.25em; -} - -.button .icon:last-child:not(:first-child) { - margin-left: 0.25em; - margin-right: calc(-0.5em - 1px); -} - -.button .icon:first-child:last-child { - margin-left: calc(-0.5em - 1px); - margin-right: calc(-0.5em - 1px); -} - -.button:hover, .button.is-hovered { - border-color: hsl(0, 0%, 71%); - color: hsl(0, 0%, 21%); -} - -.button:focus, .button.is-focused { - border-color: hsl(229, 53%, 53%); - color: hsl(0, 0%, 21%); -} - -.button:focus:not(:active), .button.is-focused:not(:active) { - box-shadow: 0 0 0 0.125em rgba(72, 95, 199, 0.25); -} - -.button:active, .button.is-active { - border-color: hsl(0, 0%, 29%); - color: hsl(0, 0%, 21%); -} - -.button.is-text { - background-color: transparent; - border-color: transparent; - color: hsl(0, 0%, 29%); - text-decoration: underline; -} - -.button.is-text:hover, .button.is-text.is-hovered, .button.is-text:focus, .button.is-text.is-focused { - background-color: hsl(0, 0%, 96%); - color: hsl(0, 0%, 21%); -} - -.button.is-text:active, .button.is-text.is-active { - background-color: #e8e8e8; - color: hsl(0, 0%, 21%); -} - -.button.is-text[disabled], fieldset[disabled] .button.is-text { - background-color: transparent; - border-color: transparent; - box-shadow: none; -} - -.button.is-ghost { - background: none; - border-color: transparent; - color: hsl(229, 53%, 53%); - text-decoration: none; -} - -.button.is-ghost:hover, .button.is-ghost.is-hovered { - color: hsl(229, 53%, 53%); - text-decoration: underline; -} - -.button.is-white { - background-color: hsl(0, 0%, 100%); - border-color: transparent; - color: hsl(0, 0%, 4%); -} - -.button.is-white:hover, .button.is-white.is-hovered { - background-color: #f9f9f9; - border-color: transparent; - color: hsl(0, 0%, 4%); -} - -.button.is-white:focus, .button.is-white.is-focused { - border-color: transparent; - color: hsl(0, 0%, 4%); -} - -.button.is-white:focus:not(:active), .button.is-white.is-focused:not(:active) { - box-shadow: 0 0 0 0.125em rgba(255, 255, 255, 0.25); -} - -.button.is-white:active, .button.is-white.is-active { - background-color: #f2f2f2; - border-color: transparent; - color: hsl(0, 0%, 4%); -} - -.button.is-white[disabled], fieldset[disabled] .button.is-white { - background-color: hsl(0, 0%, 100%); - border-color: hsl(0, 0%, 100%); - box-shadow: none; -} - -.button.is-white.is-inverted { - background-color: hsl(0, 0%, 4%); - color: hsl(0, 0%, 100%); -} - -.button.is-white.is-inverted:hover, .button.is-white.is-inverted.is-hovered { - background-color: black; -} - -.button.is-white.is-inverted[disabled], fieldset[disabled] .button.is-white.is-inverted { - background-color: hsl(0, 0%, 4%); - border-color: transparent; - box-shadow: none; - color: hsl(0, 0%, 100%); -} - -.button.is-white.is-loading::after { - border-color: transparent transparent hsl(0, 0%, 4%) hsl(0, 0%, 4%) !important; -} - -.button.is-white.is-outlined { - background-color: transparent; - border-color: hsl(0, 0%, 100%); - color: hsl(0, 0%, 100%); -} - -.button.is-white.is-outlined:hover, .button.is-white.is-outlined.is-hovered, .button.is-white.is-outlined:focus, .button.is-white.is-outlined.is-focused { - background-color: hsl(0, 0%, 100%); - border-color: hsl(0, 0%, 100%); - color: hsl(0, 0%, 4%); -} - -.button.is-white.is-outlined.is-loading::after { - border-color: transparent transparent hsl(0, 0%, 100%) hsl(0, 0%, 100%) !important; -} - -.button.is-white.is-outlined.is-loading:hover::after, .button.is-white.is-outlined.is-loading.is-hovered::after, .button.is-white.is-outlined.is-loading:focus::after, .button.is-white.is-outlined.is-loading.is-focused::after { - border-color: transparent transparent hsl(0, 0%, 4%) hsl(0, 0%, 4%) !important; -} - -.button.is-white.is-outlined[disabled], fieldset[disabled] .button.is-white.is-outlined { - background-color: transparent; - border-color: hsl(0, 0%, 100%); - box-shadow: none; - color: hsl(0, 0%, 100%); -} - -.button.is-white.is-inverted.is-outlined { - background-color: transparent; - border-color: hsl(0, 0%, 4%); - color: hsl(0, 0%, 4%); -} - -.button.is-white.is-inverted.is-outlined:hover, .button.is-white.is-inverted.is-outlined.is-hovered, .button.is-white.is-inverted.is-outlined:focus, .button.is-white.is-inverted.is-outlined.is-focused { - background-color: hsl(0, 0%, 4%); - color: hsl(0, 0%, 100%); -} - -.button.is-white.is-inverted.is-outlined.is-loading:hover::after, .button.is-white.is-inverted.is-outlined.is-loading.is-hovered::after, .button.is-white.is-inverted.is-outlined.is-loading:focus::after, .button.is-white.is-inverted.is-outlined.is-loading.is-focused::after { - border-color: transparent transparent hsl(0, 0%, 100%) hsl(0, 0%, 100%) !important; -} - -.button.is-white.is-inverted.is-outlined[disabled], fieldset[disabled] .button.is-white.is-inverted.is-outlined { - background-color: transparent; - border-color: hsl(0, 0%, 4%); - box-shadow: none; - color: hsl(0, 0%, 4%); -} - -.button.is-black { - background-color: hsl(0, 0%, 4%); - border-color: transparent; - color: hsl(0, 0%, 100%); -} - -.button.is-black:hover, .button.is-black.is-hovered { - background-color: #040404; - border-color: transparent; - color: hsl(0, 0%, 100%); -} - -.button.is-black:focus, .button.is-black.is-focused { - border-color: transparent; - color: hsl(0, 0%, 100%); -} - -.button.is-black:focus:not(:active), .button.is-black.is-focused:not(:active) { - box-shadow: 0 0 0 0.125em rgba(10, 10, 10, 0.25); -} - -.button.is-black:active, .button.is-black.is-active { - background-color: black; - border-color: transparent; - color: hsl(0, 0%, 100%); -} - -.button.is-black[disabled], fieldset[disabled] .button.is-black { - background-color: hsl(0, 0%, 4%); - border-color: hsl(0, 0%, 4%); - box-shadow: none; -} - -.button.is-black.is-inverted { - background-color: hsl(0, 0%, 100%); - color: hsl(0, 0%, 4%); -} - -.button.is-black.is-inverted:hover, .button.is-black.is-inverted.is-hovered { - background-color: #f2f2f2; -} - -.button.is-black.is-inverted[disabled], fieldset[disabled] .button.is-black.is-inverted { - background-color: hsl(0, 0%, 100%); - border-color: transparent; - box-shadow: none; - color: hsl(0, 0%, 4%); -} - -.button.is-black.is-loading::after { - border-color: transparent transparent hsl(0, 0%, 100%) hsl(0, 0%, 100%) !important; -} - -.button.is-black.is-outlined { - background-color: transparent; - border-color: hsl(0, 0%, 4%); - color: hsl(0, 0%, 4%); -} - -.button.is-black.is-outlined:hover, .button.is-black.is-outlined.is-hovered, .button.is-black.is-outlined:focus, .button.is-black.is-outlined.is-focused { - background-color: hsl(0, 0%, 4%); - border-color: hsl(0, 0%, 4%); - color: hsl(0, 0%, 100%); -} - -.button.is-black.is-outlined.is-loading::after { - border-color: transparent transparent hsl(0, 0%, 4%) hsl(0, 0%, 4%) !important; -} - -.button.is-black.is-outlined.is-loading:hover::after, .button.is-black.is-outlined.is-loading.is-hovered::after, .button.is-black.is-outlined.is-loading:focus::after, .button.is-black.is-outlined.is-loading.is-focused::after { - border-color: transparent transparent hsl(0, 0%, 100%) hsl(0, 0%, 100%) !important; -} - -.button.is-black.is-outlined[disabled], fieldset[disabled] .button.is-black.is-outlined { - background-color: transparent; - border-color: hsl(0, 0%, 4%); - box-shadow: none; - color: hsl(0, 0%, 4%); -} - -.button.is-black.is-inverted.is-outlined { - background-color: transparent; - border-color: hsl(0, 0%, 100%); - color: hsl(0, 0%, 100%); -} - -.button.is-black.is-inverted.is-outlined:hover, .button.is-black.is-inverted.is-outlined.is-hovered, .button.is-black.is-inverted.is-outlined:focus, .button.is-black.is-inverted.is-outlined.is-focused { - background-color: hsl(0, 0%, 100%); - color: hsl(0, 0%, 4%); -} - -.button.is-black.is-inverted.is-outlined.is-loading:hover::after, .button.is-black.is-inverted.is-outlined.is-loading.is-hovered::after, .button.is-black.is-inverted.is-outlined.is-loading:focus::after, .button.is-black.is-inverted.is-outlined.is-loading.is-focused::after { - border-color: transparent transparent hsl(0, 0%, 4%) hsl(0, 0%, 4%) !important; -} - -.button.is-black.is-inverted.is-outlined[disabled], fieldset[disabled] .button.is-black.is-inverted.is-outlined { - background-color: transparent; - border-color: hsl(0, 0%, 100%); - box-shadow: none; - color: hsl(0, 0%, 100%); -} - -.button.is-light { - background-color: hsl(0, 0%, 96%); - border-color: transparent; - color: rgba(0, 0, 0, 0.7); -} - -.button.is-light:hover, .button.is-light.is-hovered { - background-color: #eeeeee; - border-color: transparent; - color: rgba(0, 0, 0, 0.7); -} - -.button.is-light:focus, .button.is-light.is-focused { - border-color: transparent; - color: rgba(0, 0, 0, 0.7); -} - -.button.is-light:focus:not(:active), .button.is-light.is-focused:not(:active) { - box-shadow: 0 0 0 0.125em rgba(245, 245, 245, 0.25); -} - -.button.is-light:active, .button.is-light.is-active { - background-color: #e8e8e8; - border-color: transparent; - color: rgba(0, 0, 0, 0.7); -} - -.button.is-light[disabled], fieldset[disabled] .button.is-light { - background-color: hsl(0, 0%, 96%); - border-color: hsl(0, 0%, 96%); - box-shadow: none; -} - -.button.is-light.is-inverted { - background-color: rgba(0, 0, 0, 0.7); - color: hsl(0, 0%, 96%); -} - -.button.is-light.is-inverted:hover, .button.is-light.is-inverted.is-hovered { - background-color: rgba(0, 0, 0, 0.7); -} - -.button.is-light.is-inverted[disabled], fieldset[disabled] .button.is-light.is-inverted { - background-color: rgba(0, 0, 0, 0.7); - border-color: transparent; - box-shadow: none; - color: hsl(0, 0%, 96%); -} - -.button.is-light.is-loading::after { - border-color: transparent transparent rgba(0, 0, 0, 0.7) rgba(0, 0, 0, 0.7) !important; -} - -.button.is-light.is-outlined { - background-color: transparent; - border-color: hsl(0, 0%, 96%); - color: hsl(0, 0%, 96%); -} - -.button.is-light.is-outlined:hover, .button.is-light.is-outlined.is-hovered, .button.is-light.is-outlined:focus, .button.is-light.is-outlined.is-focused { - background-color: hsl(0, 0%, 96%); - border-color: hsl(0, 0%, 96%); - color: rgba(0, 0, 0, 0.7); -} - -.button.is-light.is-outlined.is-loading::after { - border-color: transparent transparent hsl(0, 0%, 96%) hsl(0, 0%, 96%) !important; -} - -.button.is-light.is-outlined.is-loading:hover::after, .button.is-light.is-outlined.is-loading.is-hovered::after, .button.is-light.is-outlined.is-loading:focus::after, .button.is-light.is-outlined.is-loading.is-focused::after { - border-color: transparent transparent rgba(0, 0, 0, 0.7) rgba(0, 0, 0, 0.7) !important; -} - -.button.is-light.is-outlined[disabled], fieldset[disabled] .button.is-light.is-outlined { - background-color: transparent; - border-color: hsl(0, 0%, 96%); - box-shadow: none; - color: hsl(0, 0%, 96%); -} - -.button.is-light.is-inverted.is-outlined { - background-color: transparent; - border-color: rgba(0, 0, 0, 0.7); - color: rgba(0, 0, 0, 0.7); -} - -.button.is-light.is-inverted.is-outlined:hover, .button.is-light.is-inverted.is-outlined.is-hovered, .button.is-light.is-inverted.is-outlined:focus, .button.is-light.is-inverted.is-outlined.is-focused { - background-color: rgba(0, 0, 0, 0.7); - color: hsl(0, 0%, 96%); -} - -.button.is-light.is-inverted.is-outlined.is-loading:hover::after, .button.is-light.is-inverted.is-outlined.is-loading.is-hovered::after, .button.is-light.is-inverted.is-outlined.is-loading:focus::after, .button.is-light.is-inverted.is-outlined.is-loading.is-focused::after { - border-color: transparent transparent hsl(0, 0%, 96%) hsl(0, 0%, 96%) !important; -} - -.button.is-light.is-inverted.is-outlined[disabled], fieldset[disabled] .button.is-light.is-inverted.is-outlined { - background-color: transparent; - border-color: rgba(0, 0, 0, 0.7); - box-shadow: none; - color: rgba(0, 0, 0, 0.7); -} - -.button.is-dark { - background-color: hsl(0, 0%, 21%); - border-color: transparent; - color: #fff; -} - -.button.is-dark:hover, .button.is-dark.is-hovered { - background-color: #2f2f2f; - border-color: transparent; - color: #fff; -} - -.button.is-dark:focus, .button.is-dark.is-focused { - border-color: transparent; - color: #fff; -} - -.button.is-dark:focus:not(:active), .button.is-dark.is-focused:not(:active) { - box-shadow: 0 0 0 0.125em rgba(54, 54, 54, 0.25); -} - -.button.is-dark:active, .button.is-dark.is-active { - background-color: #292929; - border-color: transparent; - color: #fff; -} - -.button.is-dark[disabled], fieldset[disabled] .button.is-dark { - background-color: hsl(0, 0%, 21%); - border-color: hsl(0, 0%, 21%); - box-shadow: none; -} - -.button.is-dark.is-inverted { - background-color: #fff; - color: hsl(0, 0%, 21%); -} - -.button.is-dark.is-inverted:hover, .button.is-dark.is-inverted.is-hovered { - background-color: #f2f2f2; -} - -.button.is-dark.is-inverted[disabled], fieldset[disabled] .button.is-dark.is-inverted { - background-color: #fff; - border-color: transparent; - box-shadow: none; - color: hsl(0, 0%, 21%); -} - -.button.is-dark.is-loading::after { - border-color: transparent transparent #fff #fff !important; -} - -.button.is-dark.is-outlined { - background-color: transparent; - border-color: hsl(0, 0%, 21%); - color: hsl(0, 0%, 21%); -} - -.button.is-dark.is-outlined:hover, .button.is-dark.is-outlined.is-hovered, .button.is-dark.is-outlined:focus, .button.is-dark.is-outlined.is-focused { - background-color: hsl(0, 0%, 21%); - border-color: hsl(0, 0%, 21%); - color: #fff; -} - -.button.is-dark.is-outlined.is-loading::after { - border-color: transparent transparent hsl(0, 0%, 21%) hsl(0, 0%, 21%) !important; -} - -.button.is-dark.is-outlined.is-loading:hover::after, .button.is-dark.is-outlined.is-loading.is-hovered::after, .button.is-dark.is-outlined.is-loading:focus::after, .button.is-dark.is-outlined.is-loading.is-focused::after { - border-color: transparent transparent #fff #fff !important; -} - -.button.is-dark.is-outlined[disabled], fieldset[disabled] .button.is-dark.is-outlined { - background-color: transparent; - border-color: hsl(0, 0%, 21%); - box-shadow: none; - color: hsl(0, 0%, 21%); -} - -.button.is-dark.is-inverted.is-outlined { - background-color: transparent; - border-color: #fff; - color: #fff; -} - -.button.is-dark.is-inverted.is-outlined:hover, .button.is-dark.is-inverted.is-outlined.is-hovered, .button.is-dark.is-inverted.is-outlined:focus, .button.is-dark.is-inverted.is-outlined.is-focused { - background-color: #fff; - color: hsl(0, 0%, 21%); -} - -.button.is-dark.is-inverted.is-outlined.is-loading:hover::after, .button.is-dark.is-inverted.is-outlined.is-loading.is-hovered::after, .button.is-dark.is-inverted.is-outlined.is-loading:focus::after, .button.is-dark.is-inverted.is-outlined.is-loading.is-focused::after { - border-color: transparent transparent hsl(0, 0%, 21%) hsl(0, 0%, 21%) !important; -} - -.button.is-dark.is-inverted.is-outlined[disabled], fieldset[disabled] .button.is-dark.is-inverted.is-outlined { - background-color: transparent; - border-color: #fff; - box-shadow: none; - color: #fff; -} - -.button.is-primary { - background-color: hsl(171, 100%, 41%); - border-color: transparent; - color: #fff; -} - -.button.is-primary:hover, .button.is-primary.is-hovered { - background-color: #00c4a7; - border-color: transparent; - color: #fff; -} - -.button.is-primary:focus, .button.is-primary.is-focused { - border-color: transparent; - color: #fff; -} - -.button.is-primary:focus:not(:active), .button.is-primary.is-focused:not(:active) { - box-shadow: 0 0 0 0.125em rgba(0, 209, 178, 0.25); -} - -.button.is-primary:active, .button.is-primary.is-active { - background-color: #00b89c; - border-color: transparent; - color: #fff; -} - -.button.is-primary[disabled], fieldset[disabled] .button.is-primary { - background-color: hsl(171, 100%, 41%); - border-color: hsl(171, 100%, 41%); - box-shadow: none; -} - -.button.is-primary.is-inverted { - background-color: #fff; - color: hsl(171, 100%, 41%); -} - -.button.is-primary.is-inverted:hover, .button.is-primary.is-inverted.is-hovered { - background-color: #f2f2f2; -} - -.button.is-primary.is-inverted[disabled], fieldset[disabled] .button.is-primary.is-inverted { - background-color: #fff; - border-color: transparent; - box-shadow: none; - color: hsl(171, 100%, 41%); -} - -.button.is-primary.is-loading::after { - border-color: transparent transparent #fff #fff !important; -} - -.button.is-primary.is-outlined { - background-color: transparent; - border-color: hsl(171, 100%, 41%); - color: hsl(171, 100%, 41%); -} - -.button.is-primary.is-outlined:hover, .button.is-primary.is-outlined.is-hovered, .button.is-primary.is-outlined:focus, .button.is-primary.is-outlined.is-focused { - background-color: hsl(171, 100%, 41%); - border-color: hsl(171, 100%, 41%); - color: #fff; -} - -.button.is-primary.is-outlined.is-loading::after { - border-color: transparent transparent hsl(171, 100%, 41%) hsl(171, 100%, 41%) !important; -} - -.button.is-primary.is-outlined.is-loading:hover::after, .button.is-primary.is-outlined.is-loading.is-hovered::after, .button.is-primary.is-outlined.is-loading:focus::after, .button.is-primary.is-outlined.is-loading.is-focused::after { - border-color: transparent transparent #fff #fff !important; -} - -.button.is-primary.is-outlined[disabled], fieldset[disabled] .button.is-primary.is-outlined { - background-color: transparent; - border-color: hsl(171, 100%, 41%); - box-shadow: none; - color: hsl(171, 100%, 41%); -} - -.button.is-primary.is-inverted.is-outlined { - background-color: transparent; - border-color: #fff; - color: #fff; -} - -.button.is-primary.is-inverted.is-outlined:hover, .button.is-primary.is-inverted.is-outlined.is-hovered, .button.is-primary.is-inverted.is-outlined:focus, .button.is-primary.is-inverted.is-outlined.is-focused { - background-color: #fff; - color: hsl(171, 100%, 41%); -} - -.button.is-primary.is-inverted.is-outlined.is-loading:hover::after, .button.is-primary.is-inverted.is-outlined.is-loading.is-hovered::after, .button.is-primary.is-inverted.is-outlined.is-loading:focus::after, .button.is-primary.is-inverted.is-outlined.is-loading.is-focused::after { - border-color: transparent transparent hsl(171, 100%, 41%) hsl(171, 100%, 41%) !important; -} - -.button.is-primary.is-inverted.is-outlined[disabled], fieldset[disabled] .button.is-primary.is-inverted.is-outlined { - background-color: transparent; - border-color: #fff; - box-shadow: none; - color: #fff; -} - -.button.is-primary.is-light { - background-color: var(--primary-light); - color: #00947e; -} - -.button.is-primary.is-light:hover, .button.is-primary.is-light.is-hovered { - background-color: var(--primary-light); - border-color: transparent; - color: #00947e; -} - -.button.is-primary.is-light:active, .button.is-primary.is-light.is-active { - background-color: var(--primary-light); - border-color: transparent; - color: #00947e; -} - -.button.is-link { - background-color: hsl(229, 53%, 53%); - border-color: transparent; - color: #fff; -} - -.button.is-link:hover, .button.is-link.is-hovered { - background-color: #3e56c4; - border-color: transparent; - color: #fff; -} - -.button.is-link:focus, .button.is-link.is-focused { - border-color: transparent; - color: #fff; -} - -.button.is-link:focus:not(:active), .button.is-link.is-focused:not(:active) { - box-shadow: 0 0 0 0.125em rgba(72, 95, 199, 0.25); -} - -.button.is-link:active, .button.is-link.is-active { - background-color: #3a51bb; - border-color: transparent; - color: #fff; -} - -.button.is-link[disabled], fieldset[disabled] .button.is-link { - background-color: hsl(229, 53%, 53%); - border-color: hsl(229, 53%, 53%); - box-shadow: none; -} - -.button.is-link.is-inverted { - background-color: #fff; - color: hsl(229, 53%, 53%); -} - -.button.is-link.is-inverted:hover, .button.is-link.is-inverted.is-hovered { - background-color: #f2f2f2; -} - -.button.is-link.is-inverted[disabled], fieldset[disabled] .button.is-link.is-inverted { - background-color: #fff; - border-color: transparent; - box-shadow: none; - color: hsl(229, 53%, 53%); -} - -.button.is-link.is-loading::after { - border-color: transparent transparent #fff #fff !important; -} - -.button.is-link.is-outlined { - background-color: transparent; - border-color: hsl(229, 53%, 53%); - color: hsl(229, 53%, 53%); -} - -.button.is-link.is-outlined:hover, .button.is-link.is-outlined.is-hovered, .button.is-link.is-outlined:focus, .button.is-link.is-outlined.is-focused { - background-color: hsl(229, 53%, 53%); - border-color: hsl(229, 53%, 53%); - color: #fff; -} - -.button.is-link.is-outlined.is-loading::after { - border-color: transparent transparent hsl(229, 53%, 53%) hsl(229, 53%, 53%) !important; -} - -.button.is-link.is-outlined.is-loading:hover::after, .button.is-link.is-outlined.is-loading.is-hovered::after, .button.is-link.is-outlined.is-loading:focus::after, .button.is-link.is-outlined.is-loading.is-focused::after { - border-color: transparent transparent #fff #fff !important; -} - -.button.is-link.is-outlined[disabled], fieldset[disabled] .button.is-link.is-outlined { - background-color: transparent; - border-color: hsl(229, 53%, 53%); - box-shadow: none; - color: hsl(229, 53%, 53%); -} - -.button.is-link.is-inverted.is-outlined { - background-color: transparent; - border-color: #fff; - color: #fff; -} - -.button.is-link.is-inverted.is-outlined:hover, .button.is-link.is-inverted.is-outlined.is-hovered, .button.is-link.is-inverted.is-outlined:focus, .button.is-link.is-inverted.is-outlined.is-focused { - background-color: #fff; - color: hsl(229, 53%, 53%); -} - -.button.is-link.is-inverted.is-outlined.is-loading:hover::after, .button.is-link.is-inverted.is-outlined.is-loading.is-hovered::after, .button.is-link.is-inverted.is-outlined.is-loading:focus::after, .button.is-link.is-inverted.is-outlined.is-loading.is-focused::after { - border-color: transparent transparent hsl(229, 53%, 53%) hsl(229, 53%, 53%) !important; -} - -.button.is-link.is-inverted.is-outlined[disabled], fieldset[disabled] .button.is-link.is-inverted.is-outlined { - background-color: transparent; - border-color: #fff; - box-shadow: none; - color: #fff; -} - -.button.is-link.is-light { - background-color: #eff1fa; - color: #3850b7; -} - -.button.is-link.is-light:hover, .button.is-link.is-light.is-hovered { - background-color: #e6e9f7; - border-color: transparent; - color: #3850b7; -} - -.button.is-link.is-light:active, .button.is-link.is-light.is-active { - background-color: #dce0f4; - border-color: transparent; - color: #3850b7; -} - -.button.is-info { - background-color: hsl(217, 71%, 50%); - border-color: transparent; - color: #fff; -} - -.button.is-info:hover, .button.is-info.is-hovered { - background-color: #2365cf; - border-color: transparent; - color: #fff; -} - -.button.is-info:focus, .button.is-info.is-focused { - border-color: transparent; - color: #fff; -} - -.button.is-info:focus:not(:active), .button.is-info.is-focused:not(:active) { - box-shadow: 0 0 0 0.125em rgba(37, 106, 218, 0.25); -} - -.button.is-info:active, .button.is-info.is-active { - background-color: #2160c4; - border-color: transparent; - color: #fff; -} - -.button.is-info[disabled], fieldset[disabled] .button.is-info { - background-color: hsl(217, 71%, 50%); - border-color: hsl(217, 71%, 50%); - box-shadow: none; -} - -.button.is-info.is-inverted { - background-color: #fff; - color: hsl(217, 71%, 50%); -} - -.button.is-info.is-inverted:hover, .button.is-info.is-inverted.is-hovered { - background-color: #f2f2f2; -} - -.button.is-info.is-inverted[disabled], fieldset[disabled] .button.is-info.is-inverted { - background-color: #fff; - border-color: transparent; - box-shadow: none; - color: hsl(217, 71%, 50%); -} - -.button.is-info.is-loading::after { - border-color: transparent transparent #fff #fff !important; -} - -.button.is-info.is-outlined { - background-color: transparent; - border-color: hsl(217, 71%, 50%); - color: hsl(217, 71%, 50%); -} - -.button.is-info.is-outlined:hover, .button.is-info.is-outlined.is-hovered, .button.is-info.is-outlined:focus, .button.is-info.is-outlined.is-focused { - background-color: hsl(217, 71%, 50%); - border-color: hsl(217, 71%, 50%); - color: #fff; -} - -.button.is-info.is-outlined.is-loading::after { - border-color: transparent transparent hsl(217, 71%, 50%) hsl(217, 71%, 50%) !important; -} - -.button.is-info.is-outlined.is-loading:hover::after, .button.is-info.is-outlined.is-loading.is-hovered::after, .button.is-info.is-outlined.is-loading:focus::after, .button.is-info.is-outlined.is-loading.is-focused::after { - border-color: transparent transparent #fff #fff !important; -} - -.button.is-info.is-outlined[disabled], fieldset[disabled] .button.is-info.is-outlined { - background-color: transparent; - border-color: hsl(217, 71%, 50%); - box-shadow: none; - color: hsl(217, 71%, 50%); -} - -.button.is-info.is-inverted.is-outlined { - background-color: transparent; - border-color: #fff; - color: #fff; -} - -.button.is-info.is-inverted.is-outlined:hover, .button.is-info.is-inverted.is-outlined.is-hovered, .button.is-info.is-inverted.is-outlined:focus, .button.is-info.is-inverted.is-outlined.is-focused { - background-color: #fff; - color: hsl(217, 71%, 50%); -} - -.button.is-info.is-inverted.is-outlined.is-loading:hover::after, .button.is-info.is-inverted.is-outlined.is-loading.is-hovered::after, .button.is-info.is-inverted.is-outlined.is-loading:focus::after, .button.is-info.is-inverted.is-outlined.is-loading.is-focused::after { - border-color: transparent transparent hsl(217, 71%, 50%) hsl(217, 71%, 50%) !important; -} - -.button.is-info.is-inverted.is-outlined[disabled], fieldset[disabled] .button.is-info.is-inverted.is-outlined { - background-color: transparent; - border-color: #fff; - box-shadow: none; - color: #fff; -} - -.button.is-info.is-light { - background-color: #eef3fc; - color: #2262c9; -} - -.button.is-info.is-light:hover, .button.is-info.is-light.is-hovered { - background-color: #e3ecfa; - border-color: transparent; - color: #2262c9; -} - -.button.is-info.is-light:active, .button.is-info.is-light.is-active { - background-color: #d8e4f8; - border-color: transparent; - color: #2262c9; -} - -.button.is-success { - background-color: hsl(141, 53%, 40%); - border-color: transparent; - color: #fff; -} - -.button.is-success:hover, .button.is-success.is-hovered { - background-color: #2d9250; - border-color: transparent; - color: #fff; -} - -.button.is-success:focus, .button.is-success.is-focused { - border-color: transparent; - color: #fff; -} - -.button.is-success:focus:not(:active), .button.is-success.is-focused:not(:active) { - box-shadow: 0 0 0 0.125em rgba(48, 156, 86, 0.25); -} - -.button.is-success:active, .button.is-success.is-active { - background-color: #2a894b; - border-color: transparent; - color: #fff; -} - -.button.is-success[disabled], fieldset[disabled] .button.is-success { - background-color: hsl(141, 53%, 40%); - border-color: hsl(141, 53%, 40%); - box-shadow: none; -} - -.button.is-success.is-inverted { - background-color: #fff; - color: hsl(141, 53%, 40%); -} - -.button.is-success.is-inverted:hover, .button.is-success.is-inverted.is-hovered { - background-color: #f2f2f2; -} - -.button.is-success.is-inverted[disabled], fieldset[disabled] .button.is-success.is-inverted { - background-color: #fff; - border-color: transparent; - box-shadow: none; - color: hsl(141, 53%, 40%); -} - -.button.is-success.is-loading::after { - border-color: transparent transparent #fff #fff !important; -} - -.button.is-success.is-outlined { - background-color: transparent; - border-color: hsl(141, 53%, 40%); - color: hsl(141, 53%, 40%); -} - -.button.is-success.is-outlined:hover, .button.is-success.is-outlined.is-hovered, .button.is-success.is-outlined:focus, .button.is-success.is-outlined.is-focused { - background-color: hsl(141, 53%, 40%); - border-color: hsl(141, 53%, 40%); - color: #fff; -} - -.button.is-success.is-outlined.is-loading::after { - border-color: transparent transparent hsl(141, 53%, 40%) hsl(141, 53%, 40%) !important; -} - -.button.is-success.is-outlined.is-loading:hover::after, .button.is-success.is-outlined.is-loading.is-hovered::after, .button.is-success.is-outlined.is-loading:focus::after, .button.is-success.is-outlined.is-loading.is-focused::after { - border-color: transparent transparent #fff #fff !important; -} - -.button.is-success.is-outlined[disabled], fieldset[disabled] .button.is-success.is-outlined { - background-color: transparent; - border-color: hsl(141, 53%, 40%); - box-shadow: none; - color: hsl(141, 53%, 40%); -} - -.button.is-success.is-inverted.is-outlined { - background-color: transparent; - border-color: #fff; - color: #fff; -} - -.button.is-success.is-inverted.is-outlined:hover, .button.is-success.is-inverted.is-outlined.is-hovered, .button.is-success.is-inverted.is-outlined:focus, .button.is-success.is-inverted.is-outlined.is-focused { - background-color: #fff; - color: hsl(141, 53%, 40%); -} - -.button.is-success.is-inverted.is-outlined.is-loading:hover::after, .button.is-success.is-inverted.is-outlined.is-loading.is-hovered::after, .button.is-success.is-inverted.is-outlined.is-loading:focus::after, .button.is-success.is-inverted.is-outlined.is-loading.is-focused::after { - border-color: transparent transparent hsl(141, 53%, 40%) hsl(141, 53%, 40%) !important; -} - -.button.is-success.is-inverted.is-outlined[disabled], fieldset[disabled] .button.is-success.is-inverted.is-outlined { - background-color: transparent; - border-color: #fff; - box-shadow: none; - color: #fff; -} - -.button.is-success.is-light { - background-color: #effaf3; - color: #31a058; -} - -.button.is-success.is-light:hover, .button.is-success.is-light.is-hovered { - background-color: #e6f7ec; - border-color: transparent; - color: #31a058; -} - -.button.is-success.is-light:active, .button.is-success.is-light.is-active { - background-color: #dcf4e4; - border-color: transparent; - color: #31a058; -} - -.button.is-warning { - background-color: hsl(38, 93%, 50%); - border-color: transparent; - color: #fff; -} - -.button.is-warning:hover, .button.is-warning.is-hovered { - background-color: #ea9708; - border-color: transparent; - color: #fff; -} - -.button.is-warning:focus, .button.is-warning.is-focused { - border-color: transparent; - color: #fff; -} - -.button.is-warning:focus:not(:active), .button.is-warning.is-focused:not(:active) { - box-shadow: 0 0 0 0.125em rgba(246, 159, 9, 0.25); -} - -.button.is-warning:active, .button.is-warning.is-active { - background-color: #dd8f08; - border-color: transparent; - color: #fff; -} - -.button.is-warning[disabled], fieldset[disabled] .button.is-warning { - background-color: hsl(38, 93%, 50%); - border-color: hsl(38, 93%, 50%); - box-shadow: none; -} - -.button.is-warning.is-inverted { - background-color: #fff; - color: hsl(38, 93%, 50%); -} - -.button.is-warning.is-inverted:hover, .button.is-warning.is-inverted.is-hovered { - background-color: #f2f2f2; -} - -.button.is-warning.is-inverted[disabled], fieldset[disabled] .button.is-warning.is-inverted { - background-color: #fff; - border-color: transparent; - box-shadow: none; - color: hsl(38, 93%, 50%); -} - -.button.is-warning.is-loading::after { - border-color: transparent transparent #fff #fff !important; -} - -.button.is-warning.is-outlined { - background-color: transparent; - border-color: hsl(38, 93%, 50%); - color: hsl(38, 93%, 50%); -} - -.button.is-warning.is-outlined:hover, .button.is-warning.is-outlined.is-hovered, .button.is-warning.is-outlined:focus, .button.is-warning.is-outlined.is-focused { - background-color: hsl(38, 93%, 50%); - border-color: hsl(38, 93%, 50%); - color: #fff; -} - -.button.is-warning.is-outlined.is-loading::after { - border-color: transparent transparent hsl(38, 93%, 50%) hsl(38, 93%, 50%) !important; -} - -.button.is-warning.is-outlined.is-loading:hover::after, .button.is-warning.is-outlined.is-loading.is-hovered::after, .button.is-warning.is-outlined.is-loading:focus::after, .button.is-warning.is-outlined.is-loading.is-focused::after { - border-color: transparent transparent #fff #fff !important; -} - -.button.is-warning.is-outlined[disabled], fieldset[disabled] .button.is-warning.is-outlined { - background-color: transparent; - border-color: hsl(38, 93%, 50%); - box-shadow: none; - color: hsl(38, 93%, 50%); -} - -.button.is-warning.is-inverted.is-outlined { - background-color: transparent; - border-color: #fff; - color: #fff; -} - -.button.is-warning.is-inverted.is-outlined:hover, .button.is-warning.is-inverted.is-outlined.is-hovered, .button.is-warning.is-inverted.is-outlined:focus, .button.is-warning.is-inverted.is-outlined.is-focused { - background-color: #fff; - color: hsl(38, 93%, 50%); -} - -.button.is-warning.is-inverted.is-outlined.is-loading:hover::after, .button.is-warning.is-inverted.is-outlined.is-loading.is-hovered::after, .button.is-warning.is-inverted.is-outlined.is-loading:focus::after, .button.is-warning.is-inverted.is-outlined.is-loading.is-focused::after { - border-color: transparent transparent hsl(38, 93%, 50%) hsl(38, 93%, 50%) !important; -} - -.button.is-warning.is-inverted.is-outlined[disabled], fieldset[disabled] .button.is-warning.is-inverted.is-outlined { - background-color: transparent; - border-color: #fff; - box-shadow: none; - color: #fff; -} - -.button.is-warning.is-light { - background-color: #fef7eb; - color: #996306; -} - -.button.is-warning.is-light:hover, .button.is-warning.is-light.is-hovered { - background-color: #fef3df; - border-color: transparent; - color: #996306; -} - -.button.is-warning.is-light:active, .button.is-warning.is-light.is-active { - background-color: #fdeed3; - border-color: transparent; - color: #996306; -} - -.button.is-danger { - background-color: hsl(348, 100%, 40%); - border-color: transparent; - color: #fff; -} - -.button.is-danger:hover, .button.is-danger.is-hovered { - background-color: #bf0026; - border-color: transparent; - color: #fff; -} - -.button.is-danger:focus, .button.is-danger.is-focused { - border-color: transparent; - color: #fff; -} - -.button.is-danger:focus:not(:active), .button.is-danger.is-focused:not(:active) { - box-shadow: 0 0 0 0.125em rgba(204, 0, 41, 0.25); -} - -.button.is-danger:active, .button.is-danger.is-active { - background-color: #b30024; - border-color: transparent; - color: #fff; -} - -.button.is-danger[disabled], fieldset[disabled] .button.is-danger { - background-color: hsl(348, 100%, 40%); - border-color: hsl(348, 100%, 40%); - box-shadow: none; -} - -.button.is-danger.is-inverted { - background-color: #fff; - color: hsl(348, 100%, 40%); -} - -.button.is-danger.is-inverted:hover, .button.is-danger.is-inverted.is-hovered { - background-color: #f2f2f2; -} - -.button.is-danger.is-inverted[disabled], fieldset[disabled] .button.is-danger.is-inverted { - background-color: #fff; - border-color: transparent; - box-shadow: none; - color: hsl(348, 100%, 40%); -} - -.button.is-danger.is-loading::after { - border-color: transparent transparent #fff #fff !important; -} - -.button.is-danger.is-outlined { - background-color: transparent; - border-color: hsl(348, 100%, 40%); - color: hsl(348, 100%, 40%); -} - -.button.is-danger.is-outlined:hover, .button.is-danger.is-outlined.is-hovered, .button.is-danger.is-outlined:focus, .button.is-danger.is-outlined.is-focused { - background-color: hsl(348, 100%, 40%); - border-color: hsl(348, 100%, 40%); - color: #fff; -} - -.button.is-danger.is-outlined.is-loading::after { - border-color: transparent transparent hsl(348, 100%, 40%) hsl(348, 100%, 40%) !important; -} - -.button.is-danger.is-outlined.is-loading:hover::after, .button.is-danger.is-outlined.is-loading.is-hovered::after, .button.is-danger.is-outlined.is-loading:focus::after, .button.is-danger.is-outlined.is-loading.is-focused::after { - border-color: transparent transparent #fff #fff !important; -} - -.button.is-danger.is-outlined[disabled], fieldset[disabled] .button.is-danger.is-outlined { - background-color: transparent; - border-color: hsl(348, 100%, 40%); - box-shadow: none; - color: hsl(348, 100%, 40%); -} - -.button.is-danger.is-inverted.is-outlined { - background-color: transparent; - border-color: #fff; - color: #fff; -} - -.button.is-danger.is-inverted.is-outlined:hover, .button.is-danger.is-inverted.is-outlined.is-hovered, .button.is-danger.is-inverted.is-outlined:focus, .button.is-danger.is-inverted.is-outlined.is-focused { - background-color: #fff; - color: hsl(348, 100%, 40%); -} - -.button.is-danger.is-inverted.is-outlined.is-loading:hover::after, .button.is-danger.is-inverted.is-outlined.is-loading.is-hovered::after, .button.is-danger.is-inverted.is-outlined.is-loading:focus::after, .button.is-danger.is-inverted.is-outlined.is-loading.is-focused::after { - border-color: transparent transparent hsl(348, 100%, 40%) hsl(348, 100%, 40%) !important; -} - -.button.is-danger.is-inverted.is-outlined[disabled], fieldset[disabled] .button.is-danger.is-inverted.is-outlined { - background-color: transparent; - border-color: #fff; - box-shadow: none; - color: #fff; -} - -.button.is-danger.is-light { - background-color: #ffebef; - color: #ff0033; -} - -.button.is-danger.is-light:hover, .button.is-danger.is-light.is-hovered { - background-color: #ffdee4; - border-color: transparent; - color: #ff0033; -} - -.button.is-danger.is-light:active, .button.is-danger.is-light.is-active { - background-color: #ffd1da; - border-color: transparent; - color: #ff0033; -} - -.button.is-small { - font-size: 0.846rem; -} - -.button.is-small:not(.is-rounded) { - border-radius: 2px; -} - -.button.is-normal { - font-size: 1rem; -} - -.button.is-medium { - font-size: 1.213rem; -} - -.button.is-large { - font-size: 1.385rem; -} - -.button[disabled], fieldset[disabled] .button { - background-color: hsl(0, 0%, 100%); - border-color: hsl(0, 0%, 86%); - box-shadow: none; - opacity: 0.5; -} - -.button.is-fullwidth { - display: flex; - width: 100%; -} - -.button.is-loading { - color: transparent !important; - pointer-events: none; -} - -.button.is-loading::after { - position: absolute; - left: calc(50% - 0.5em); - top: calc(50% - 0.5em); - position: absolute !important; -} - -.button.is-static { - background-color: hsl(0, 0%, 96%); - border-color: hsl(0, 0%, 86%); - color: hsl(0, 0%, 48%); - box-shadow: none; - pointer-events: none; -} - -.button.is-rounded { - border-radius: 9999px; - padding-left: 1.25em; - padding-right: 1.25em; -} - -.buttons { - align-items: center; - display: flex; - flex-wrap: wrap; - justify-content: flex-start; -} - -.buttons .button { - margin-bottom: 0.5rem; -} - -.buttons .button:not(:last-child):not(.is-fullwidth) { - margin-right: 0.5rem; -} - -.buttons:last-child { - margin-bottom: -0.5rem; -} - -.buttons:not(:last-child) { - margin-bottom: 1rem; -} - -.buttons.are-small .button:not(.is-normal):not(.is-medium):not(.is-large) { - font-size: 0.846rem; -} - -.buttons.are-small .button:not(.is-normal):not(.is-medium):not(.is-large):not(.is-rounded) { - border-radius: 2px; -} - -.buttons.are-medium .button:not(.is-small):not(.is-normal):not(.is-large) { - font-size: 1.213rem; -} - -.buttons.are-large .button:not(.is-small):not(.is-normal):not(.is-medium) { - font-size: 1.385rem; -} - -.buttons.has-addons .button:not(:first-child) { - border-bottom-left-radius: 0; - border-top-left-radius: 0; -} - -.buttons.has-addons .button:not(:last-child) { - border-bottom-right-radius: 0; - border-top-right-radius: 0; - margin-right: -1px; -} - -.buttons.has-addons .button:last-child { - margin-right: 0; -} - -.buttons.has-addons .button:hover, .buttons.has-addons .button.is-hovered { - z-index: 2; -} - -.buttons.has-addons .button:focus, .buttons.has-addons .button.is-focused, .buttons.has-addons .button:active, .buttons.has-addons .button.is-active, .buttons.has-addons .button.is-selected { - z-index: 3; -} - -.buttons.has-addons .button:focus:hover, .buttons.has-addons .button.is-focused:hover, .buttons.has-addons .button:active:hover, .buttons.has-addons .button.is-active:hover, .buttons.has-addons .button.is-selected:hover { - z-index: 4; -} - -.buttons.has-addons .button.is-expanded { - flex-grow: 1; - flex-shrink: 1; -} - -.buttons.is-centered { - justify-content: center; -} - -.buttons.is-centered:not(.has-addons) .button:not(.is-fullwidth) { - margin-left: 0.25rem; - margin-right: 0.25rem; -} - -.buttons.is-right { - justify-content: flex-end; -} - -.buttons.is-right:not(.has-addons) .button:not(.is-fullwidth) { - margin-left: 0.25rem; - margin-right: 0.25rem; -} - -@media screen and (max-width: 768px) { - .button.is-responsive.is-small { - font-size: 0.6345rem; - } - .button.is-responsive, - .button.is-responsive.is-normal { - font-size: 0.74025rem; - } - .button.is-responsive.is-medium { - font-size: 0.846rem; - } - .button.is-responsive.is-large { - font-size: 1rem; - } -} -@media screen and (min-width: 769px) and (max-width: 1023px) { - .button.is-responsive.is-small { - font-size: 0.74025rem; - } - .button.is-responsive, - .button.is-responsive.is-normal { - font-size: 0.846rem; - } - .button.is-responsive.is-medium { - font-size: 1rem; - } - .button.is-responsive.is-large { - font-size: 1.213rem; - } -} -.container { - flex-grow: 1; - margin: 0 auto; - position: relative; - width: auto; -} - -.container.is-fluid { - max-width: none !important; - padding-left: 32px; - padding-right: 32px; - width: 100%; -} - -@media screen and (min-width: 1024px) { - .container { - max-width: 960px; - } -} -@media screen and (max-width: 1215px) { - .container.is-widescreen:not(.is-max-desktop) { - max-width: 1152px; - } -} -@media screen and (max-width: 1407px) { - .container.is-fullhd:not(.is-max-desktop):not(.is-max-widescreen) { - max-width: 1344px; - } -} -@media screen and (min-width: 1216px) { - .container:not(.is-max-desktop) { - max-width: 1152px; - } -} -@media screen and (min-width: 1408px) { - .container:not(.is-max-desktop):not(.is-max-widescreen) { - max-width: 1344px; - } -} -.content li + li { - margin-top: 0.25em; -} - -.content p:not(:last-child), -.content dl:not(:last-child), -.content ol:not(:last-child), -.content ul:not(:last-child), -.content blockquote:not(:last-child), -.content pre:not(:last-child), -.content table:not(:last-child) { - margin-bottom: 1em; -} - -.content h1, -.content h2, -.content h3, -.content h4, -.content h5, -.content h6 { - color: hsl(0, 0%, 21%); - font-weight: 600; - line-height: 1.125; -} - -.content h1 { - font-size: 2em; - margin-bottom: 0.5em; -} - -.content h1:not(:first-child) { - margin-top: 1em; -} - -.content h2 { - font-size: 1.75em; - margin-bottom: 0.5714em; -} - -.content h2:not(:first-child) { - margin-top: 1.1428em; -} - -.content h3 { - font-size: 1.5em; - margin-bottom: 0.6666em; -} - -.content h3:not(:first-child) { - margin-top: 1.3333em; -} - -.content h4 { - font-size: 1.25em; - margin-bottom: 0.8em; -} - -.content h5 { - font-size: 1.125em; - margin-bottom: 0.8888em; -} - -.content h6 { - font-size: 1em; - margin-bottom: 1em; -} - -.content blockquote { - background-color: hsl(0, 0%, 96%); - border-left: 5px solid hsl(0, 0%, 86%); - padding: 1.25em 1.5em; -} - -.content ol { - list-style-position: outside; - margin-left: 2em; - margin-top: 1em; -} - -.content ol:not([type]) { - list-style-type: decimal; -} - -.content ol:not([type]).is-lower-alpha { - list-style-type: lower-alpha; -} - -.content ol:not([type]).is-lower-roman { - list-style-type: lower-roman; -} - -.content ol:not([type]).is-upper-alpha { - list-style-type: upper-alpha; -} - -.content ol:not([type]).is-upper-roman { - list-style-type: upper-roman; -} - -.content ul { - list-style: disc outside; - margin-left: 2em; - margin-top: 1em; -} - -.content ul ul { - list-style-type: circle; - margin-top: 0.5em; -} - -.content ul ul ul { - list-style-type: square; -} - -.content dd { - margin-left: 2em; -} - -.content figure { - margin-left: 2em; - margin-right: 2em; - text-align: center; -} - -.content figure:not(:first-child) { - margin-top: 2em; -} - -.content figure:not(:last-child) { - margin-bottom: 2em; -} - -.content figure img { - display: inline-block; -} - -.content figure figcaption { - font-style: italic; -} - -.content pre { - -webkit-overflow-scrolling: touch; - overflow-x: auto; - padding: 1.25em 1.5em; - white-space: pre; - word-wrap: normal; -} - -.content sup, -.content sub { - font-size: 75%; -} - -.content table { - width: 100%; -} - -.content table td, -.content table th { - border: 1px solid hsl(0, 0%, 86%); - border-width: 0 0 1px; - padding: 0.5em 0.75em; - vertical-align: top; -} - -.content table th { - color: hsl(0, 0%, 21%); -} - -.content table th:not([align]) { - text-align: inherit; -} - -.content table thead td, -.content table thead th { - border-width: 0 0 2px; - color: hsl(0, 0%, 21%); -} - -.content table tfoot td, -.content table tfoot th { - border-width: 2px 0 0; - color: hsl(0, 0%, 21%); -} - -.content table tbody tr:last-child td, -.content table tbody tr:last-child th { - border-bottom-width: 0; -} - -.content .tabs li + li { - margin-top: 0; -} - -.content.is-small { - font-size: 0.846rem; -} - -.content.is-normal { - font-size: 1rem; -} - -.content.is-medium { - font-size: 1.213rem; -} - -.content.is-large { - font-size: 1.385rem; -} - -.icon { - align-items: center; - display: inline-flex; - justify-content: center; - height: 1.5rem; - width: 1.5rem; -} - -.icon.is-small { - height: 1rem; - width: 1rem; -} - -.icon.is-medium { - height: 2rem; - width: 2rem; -} - -.icon.is-large { - height: 3rem; - width: 3rem; -} - -.icon-text { - align-items: flex-start; - color: inherit; - display: inline-flex; - flex-wrap: wrap; - line-height: 1.5rem; - vertical-align: top; -} - -.icon-text .icon { - flex-grow: 0; - flex-shrink: 0; -} - -.icon-text .icon:not(:last-child) { - margin-right: 0.25em; -} - -.icon-text .icon:not(:first-child) { - margin-left: 0.25em; -} - -div.icon-text { - display: flex; -} - -.image { - display: block; - position: relative; -} - -.image img { - display: block; - height: auto; - width: 100%; -} - -.image img.is-rounded { - border-radius: 9999px; -} - -.image.is-fullwidth { - width: 100%; -} - -.image.is-square img, -.image.is-square .has-ratio, .image.is-1by1 img, -.image.is-1by1 .has-ratio, .image.is-5by4 img, -.image.is-5by4 .has-ratio, .image.is-4by3 img, -.image.is-4by3 .has-ratio, .image.is-3by2 img, -.image.is-3by2 .has-ratio, .image.is-5by3 img, -.image.is-5by3 .has-ratio, .image.is-16by9 img, -.image.is-16by9 .has-ratio, .image.is-2by1 img, -.image.is-2by1 .has-ratio, .image.is-3by1 img, -.image.is-3by1 .has-ratio, .image.is-4by5 img, -.image.is-4by5 .has-ratio, .image.is-3by4 img, -.image.is-3by4 .has-ratio, .image.is-2by3 img, -.image.is-2by3 .has-ratio, .image.is-3by5 img, -.image.is-3by5 .has-ratio, .image.is-9by16 img, -.image.is-9by16 .has-ratio, .image.is-1by2 img, -.image.is-1by2 .has-ratio, .image.is-1by3 img, -.image.is-1by3 .has-ratio { - height: 100%; - width: 100%; -} - -.image.is-square, .image.is-1by1 { - padding-top: 100%; -} - -.image.is-5by4 { - padding-top: 80%; -} - -.image.is-4by3 { - padding-top: 75%; -} - -.image.is-3by2 { - padding-top: 66.6666%; -} - -.image.is-5by3 { - padding-top: 60%; -} - -.image.is-16by9 { - padding-top: 56.25%; -} - -.image.is-2by1 { - padding-top: 50%; -} - -.image.is-3by1 { - padding-top: 33.3333%; -} - -.image.is-4by5 { - padding-top: 125%; -} - -.image.is-3by4 { - padding-top: 133.3333%; -} - -.image.is-2by3 { - padding-top: 150%; -} - -.image.is-3by5 { - padding-top: 166.6666%; -} - -.image.is-9by16 { - padding-top: 177.7777%; -} - -.image.is-1by2 { - padding-top: 200%; -} - -.image.is-1by3 { - padding-top: 300%; -} - -.image.is-16x16 { - height: 16px; - width: 16px; -} - -.image.is-24x24 { - height: 24px; - width: 24px; -} - -.image.is-32x32 { - height: 32px; - width: 32px; -} - -.image.is-48x48 { - height: 48px; - width: 48px; -} - -.image.is-64x64 { - height: 64px; - width: 64px; -} - -.image.is-96x96 { - height: 96px; - width: 96px; -} - -.image.is-128x128 { - height: 128px; - width: 128px; -} - -.notification { - background-color: hsl(0, 0%, 96%); - border-radius: 4px; - position: relative; - padding: 1.25rem 2.5rem 1.25rem 1.5rem; -} - -.notification a:not(.button):not(.dropdown-item) { - color: currentColor; - text-decoration: underline; -} - -.notification strong { - color: currentColor; -} - -.notification code, -.notification pre { - background: hsl(0, 0%, 100%); -} - -.notification pre code { - background: transparent; -} - -.notification > .delete { - right: 0.5rem; - position: absolute; - top: 0.5rem; -} - -.notification .title, -.notification .subtitle, -.notification .content { - color: currentColor; -} - -.notification.is-white { - background-color: hsl(0, 0%, 100%); - color: hsl(0, 0%, 4%); -} - -.notification.is-black { - background-color: hsl(0, 0%, 4%); - color: hsl(0, 0%, 100%); -} - -.notification.is-light { - background-color: hsl(0, 0%, 96%); - color: rgba(0, 0, 0, 0.7); -} - -.notification.is-dark { - background-color: hsl(0, 0%, 21%); - color: #fff; -} - -.notification.is-primary { - background-color: hsl(171, 100%, 41%); - color: #fff; -} - -.notification.is-primary.is-light { - background-color: var(--primary-light); - color: #00947e; -} - -.notification.is-link { - background-color: hsl(229, 53%, 53%); - color: #fff; -} - -.notification.is-link.is-light { - background-color: #eff1fa; - color: #3850b7; -} - -.notification.is-info { - background-color: hsl(217, 71%, 50%); - color: #fff; -} - -.notification.is-info.is-light { - background-color: #eef3fc; - color: #2262c9; -} - -.notification.is-success { - background-color: hsl(141, 53%, 40%); - color: #fff; -} - -.notification.is-success.is-light { - background-color: #effaf3; - color: #31a058; -} - -.notification.is-warning { - background-color: hsl(38, 93%, 50%); - color: #fff; -} - -.notification.is-warning.is-light { - background-color: #fef7eb; - color: #996306; -} - -.notification.is-danger { - background-color: hsl(348, 100%, 40%); - color: #fff; -} - -.notification.is-danger.is-light { - background-color: #ffebef; - color: #ff0033; -} - -.progress { - -moz-appearance: none; - -webkit-appearance: none; - border: none; - border-radius: 9999px; - display: block; - height: 1rem; - overflow: hidden; - padding: 0; - width: 100%; -} - -.progress::-webkit-progress-bar { - background-color: hsl(0, 0%, 93%); -} - -.progress::-webkit-progress-value { - background-color: hsl(0, 0%, 29%); -} - -.progress::-moz-progress-bar { - background-color: hsl(0, 0%, 29%); -} - -.progress::-ms-fill { - background-color: hsl(0, 0%, 29%); - border: none; -} - -.progress.is-white::-webkit-progress-value { - background-color: hsl(0, 0%, 100%); -} - -.progress.is-white::-moz-progress-bar { - background-color: hsl(0, 0%, 100%); -} - -.progress.is-white::-ms-fill { - background-color: hsl(0, 0%, 100%); -} - -.progress.is-white:indeterminate { - background-image: linear-gradient(to right, hsl(0, 0%, 100%) 30%, hsl(0, 0%, 93%) 30%); -} - -.progress.is-black::-webkit-progress-value { - background-color: hsl(0, 0%, 4%); -} - -.progress.is-black::-moz-progress-bar { - background-color: hsl(0, 0%, 4%); -} - -.progress.is-black::-ms-fill { - background-color: hsl(0, 0%, 4%); -} - -.progress.is-black:indeterminate { - background-image: linear-gradient(to right, hsl(0, 0%, 4%) 30%, hsl(0, 0%, 93%) 30%); -} - -.progress.is-light::-webkit-progress-value { - background-color: hsl(0, 0%, 96%); -} - -.progress.is-light::-moz-progress-bar { - background-color: hsl(0, 0%, 96%); -} - -.progress.is-light::-ms-fill { - background-color: hsl(0, 0%, 96%); -} - -.progress.is-light:indeterminate { - background-image: linear-gradient(to right, hsl(0, 0%, 96%) 30%, hsl(0, 0%, 93%) 30%); -} - -.progress.is-dark::-webkit-progress-value { - background-color: hsl(0, 0%, 21%); -} - -.progress.is-dark::-moz-progress-bar { - background-color: hsl(0, 0%, 21%); -} - -.progress.is-dark::-ms-fill { - background-color: hsl(0, 0%, 21%); -} - -.progress.is-dark:indeterminate { - background-image: linear-gradient(to right, hsl(0, 0%, 21%) 30%, hsl(0, 0%, 93%) 30%); -} - -.progress.is-primary::-webkit-progress-value { - background-color: hsl(171, 100%, 41%); -} - -.progress.is-primary::-moz-progress-bar { - background-color: hsl(171, 100%, 41%); -} - -.progress.is-primary::-ms-fill { - background-color: hsl(171, 100%, 41%); -} - -.progress.is-primary:indeterminate { - background-image: linear-gradient(to right, hsl(171, 100%, 41%) 30%, hsl(0, 0%, 93%) 30%); -} - -.progress.is-link::-webkit-progress-value { - background-color: hsl(229, 53%, 53%); -} - -.progress.is-link::-moz-progress-bar { - background-color: hsl(229, 53%, 53%); -} - -.progress.is-link::-ms-fill { - background-color: hsl(229, 53%, 53%); -} - -.progress.is-link:indeterminate { - background-image: linear-gradient(to right, hsl(229, 53%, 53%) 30%, hsl(0, 0%, 93%) 30%); -} - -.progress.is-info::-webkit-progress-value { - background-color: hsl(217, 71%, 50%); -} - -.progress.is-info::-moz-progress-bar { - background-color: hsl(217, 71%, 50%); -} - -.progress.is-info::-ms-fill { - background-color: hsl(217, 71%, 50%); -} - -.progress.is-info:indeterminate { - background-image: linear-gradient(to right, hsl(217, 71%, 50%) 30%, hsl(0, 0%, 93%) 30%); -} - -.progress.is-success::-webkit-progress-value { - background-color: hsl(141, 53%, 40%); -} - -.progress.is-success::-moz-progress-bar { - background-color: hsl(141, 53%, 40%); -} - -.progress.is-success::-ms-fill { - background-color: hsl(141, 53%, 40%); -} - -.progress.is-success:indeterminate { - background-image: linear-gradient(to right, hsl(141, 53%, 40%) 30%, hsl(0, 0%, 93%) 30%); -} - -.progress.is-warning::-webkit-progress-value { - background-color: hsl(38, 93%, 50%); -} - -.progress.is-warning::-moz-progress-bar { - background-color: hsl(38, 93%, 50%); -} - -.progress.is-warning::-ms-fill { - background-color: hsl(38, 93%, 50%); -} - -.progress.is-warning:indeterminate { - background-image: linear-gradient(to right, hsl(38, 93%, 50%) 30%, hsl(0, 0%, 93%) 30%); -} - -.progress.is-danger::-webkit-progress-value { - background-color: hsl(348, 100%, 40%); -} - -.progress.is-danger::-moz-progress-bar { - background-color: hsl(348, 100%, 40%); -} - -.progress.is-danger::-ms-fill { - background-color: hsl(348, 100%, 40%); -} - -.progress.is-danger:indeterminate { - background-image: linear-gradient(to right, hsl(348, 100%, 40%) 30%, hsl(0, 0%, 93%) 30%); -} - -.progress:indeterminate { - animation-duration: 1.5s; - animation-iteration-count: infinite; - animation-name: moveIndeterminate; - animation-timing-function: linear; - background-color: hsl(0, 0%, 93%); - background-image: linear-gradient(to right, hsl(0, 0%, 29%) 30%, hsl(0, 0%, 93%) 30%); - background-position: top left; - background-repeat: no-repeat; - background-size: 150% 150%; -} - -.progress:indeterminate::-webkit-progress-bar { - background-color: transparent; -} - -.progress:indeterminate::-moz-progress-bar { - background-color: transparent; -} - -.progress:indeterminate::-ms-fill { - animation-name: none; -} - -.progress.is-small { - height: 0.846rem; -} - -.progress.is-medium { - height: 1.213rem; -} - -.progress.is-large { - height: 1.385rem; -} - -@keyframes moveIndeterminate { - from { - background-position: 200% 0; - } - to { - background-position: -200% 0; - } -} -.table { - background-color: hsl(0, 0%, 100%); - color: hsl(0, 0%, 21%); -} - -.table td, -.table th { - border: 1px solid hsl(0, 0%, 86%); - border-width: 0 0 1px; - padding: 0.5em 0.75em; - vertical-align: top; -} - -.table td.is-white, -.table th.is-white { - background-color: hsl(0, 0%, 100%); - border-color: hsl(0, 0%, 100%); - color: hsl(0, 0%, 4%); -} - -.table td.is-black, -.table th.is-black { - background-color: hsl(0, 0%, 4%); - border-color: hsl(0, 0%, 4%); - color: hsl(0, 0%, 100%); -} - -.table td.is-light, -.table th.is-light { - background-color: hsl(0, 0%, 96%); - border-color: hsl(0, 0%, 96%); - color: rgba(0, 0, 0, 0.7); -} - -.table td.is-dark, -.table th.is-dark { - background-color: hsl(0, 0%, 21%); - border-color: hsl(0, 0%, 21%); - color: #fff; -} - -.table td.is-primary, -.table th.is-primary { - background-color: hsl(171, 100%, 41%); - border-color: hsl(171, 100%, 41%); - color: #fff; -} - -.table td.is-link, -.table th.is-link { - background-color: hsl(229, 53%, 53%); - border-color: hsl(229, 53%, 53%); - color: #fff; -} - -.table td.is-info, -.table th.is-info { - background-color: hsl(217, 71%, 50%); - border-color: hsl(217, 71%, 50%); - color: #fff; -} - -.table td.is-success, -.table th.is-success { - background-color: hsl(141, 53%, 40%); - border-color: hsl(141, 53%, 40%); - color: #fff; -} - -.table td.is-warning, -.table th.is-warning { - background-color: hsl(38, 93%, 50%); - border-color: hsl(38, 93%, 50%); - color: #fff; -} - -.table td.is-danger, -.table th.is-danger { - background-color: hsl(348, 100%, 40%); - border-color: hsl(348, 100%, 40%); - color: #fff; -} - -.table td.is-narrow, -.table th.is-narrow { - white-space: nowrap; - width: 1%; -} - -.table td.is-selected, -.table th.is-selected { - background-color: hsl(171, 100%, 41%); - color: #fff; -} - -.table td.is-selected a, -.table td.is-selected strong, -.table th.is-selected a, -.table th.is-selected strong { - color: currentColor; -} - -.table td.is-vcentered, -.table th.is-vcentered { - vertical-align: middle; -} - -.table th { - color: hsl(0, 0%, 21%); -} - -.table th:not([align]) { - text-align: left; -} - -.table tr.is-selected { - background-color: hsl(171, 100%, 41%); - color: #fff; -} - -.table tr.is-selected a, -.table tr.is-selected strong { - color: currentColor; -} - -.table tr.is-selected td, -.table tr.is-selected th { - border-color: #fff; - color: currentColor; -} - -.table thead { - background-color: transparent; -} - -.table thead td, -.table thead th { - border-width: 0 0 2px; - color: hsl(0, 0%, 21%); -} - -.table tfoot { - background-color: transparent; -} - -.table tfoot td, -.table tfoot th { - border-width: 2px 0 0; - color: hsl(0, 0%, 21%); -} - -.table tbody { - background-color: transparent; -} - -.table tbody tr:last-child td, -.table tbody tr:last-child th { - border-bottom-width: 0; -} - -.table.is-bordered td, -.table.is-bordered th { - border-width: 1px; -} - -.table.is-bordered tr:last-child td, -.table.is-bordered tr:last-child th { - border-bottom-width: 1px; -} - -.table.is-fullwidth { - width: 100%; -} - -.table.is-hoverable tbody tr:not(.is-selected):hover { - background-color: hsl(0, 0%, 98%); -} - -.table.is-hoverable.is-striped tbody tr:not(.is-selected):hover { - background-color: hsl(0, 0%, 98%); -} - -.table.is-hoverable.is-striped tbody tr:not(.is-selected):hover:nth-child(even) { - background-color: hsl(0, 0%, 96%); -} - -.table.is-narrow td, -.table.is-narrow th { - padding: 0.25em 0.5em; -} - -.table.is-striped tbody tr:not(.is-selected):nth-child(even) { - background-color: hsl(0, 0%, 98%); -} - -.table-container { - -webkit-overflow-scrolling: touch; - overflow: auto; - overflow-y: hidden; - max-width: 100%; -} - -.tags { - align-items: center; - display: flex; - flex-wrap: wrap; - justify-content: flex-start; -} - -.tags .tag { - margin-bottom: 0.5rem; -} - -.tags .tag:not(:last-child) { - margin-right: 0.5rem; -} - -.tags:last-child { - margin-bottom: -0.5rem; -} - -.tags:not(:last-child) { - margin-bottom: 1rem; -} - -.tags.are-medium .tag:not(.is-normal):not(.is-large) { - font-size: 1rem; -} - -.tags.are-large .tag:not(.is-normal):not(.is-medium) { - font-size: 1.213rem; -} - -.tags.is-centered { - justify-content: center; -} - -.tags.is-centered .tag { - margin-right: 0.25rem; - margin-left: 0.25rem; -} - -.tags.is-right { - justify-content: flex-end; -} - -.tags.is-right .tag:not(:first-child) { - margin-left: 0.5rem; -} - -.tags.is-right .tag:not(:last-child) { - margin-right: 0; -} - -.tags.has-addons .tag { - margin-right: 0; -} - -.tags.has-addons .tag:not(:first-child) { - margin-left: 0; - border-top-left-radius: 0; - border-bottom-left-radius: 0; -} - -.tags.has-addons .tag:not(:last-child) { - border-top-right-radius: 0; - border-bottom-right-radius: 0; -} - -.tag:not(body) { - align-items: center; - background-color: hsl(0, 0%, 96%); - border-radius: 4px; - color: hsl(0, 0%, 29%); - display: inline-flex; - font-size: 0.846rem; - height: 2em; - justify-content: center; - line-height: 1.5; - padding-left: 0.75em; - padding-right: 0.75em; - white-space: nowrap; -} - -.tag:not(body) .delete { - margin-left: 0.25rem; - margin-right: -0.375rem; -} - -.tag:not(body).is-white { - background-color: hsl(0, 0%, 100%); - color: hsl(0, 0%, 4%); -} - -.tag:not(body).is-black { - background-color: hsl(0, 0%, 4%); - color: hsl(0, 0%, 100%); -} - -.tag:not(body).is-light { - background-color: hsl(0, 0%, 96%); - color: rgba(0, 0, 0, 0.7); -} - -.tag:not(body).is-dark { - background-color: hsl(0, 0%, 21%); - color: #fff; -} - -.tag:not(body).is-primary { - background-color: hsl(171, 100%, 41%); - color: #fff; -} - -.tag:not(body).is-primary.is-light { - background-color: var(--primary-light); - color: #00947e; -} - -.tag:not(body).is-link { - background-color: hsl(229, 53%, 53%); - color: #fff; -} - -.tag:not(body).is-link.is-light { - background-color: #eff1fa; - color: #3850b7; -} - -.tag:not(body).is-info { - background-color: hsl(217, 71%, 50%); - color: #fff; -} - -.tag:not(body).is-info.is-light { - background-color: #eef3fc; - color: #2262c9; -} - -.tag:not(body).is-success { - background-color: hsl(141, 53%, 40%); - color: #fff; -} - -.tag:not(body).is-success.is-light { - background-color: #effaf3; - color: #31a058; -} - -.tag:not(body).is-warning { - background-color: hsl(38, 93%, 50%); - color: #fff; -} - -.tag:not(body).is-warning.is-light { - background-color: #fef7eb; - color: #996306; -} - -.tag:not(body).is-danger { - background-color: hsl(348, 100%, 40%); - color: #fff; -} - -.tag:not(body).is-danger.is-light { - background-color: #ffebef; - color: #ff0033; -} - -.tag:not(body).is-normal { - font-size: 0.846rem; -} - -.tag:not(body).is-medium { - font-size: 1rem; -} - -.tag:not(body).is-large { - font-size: 1.213rem; -} - -.tag:not(body) .icon:first-child:not(:last-child) { - margin-left: -0.375em; - margin-right: 0.1875em; -} - -.tag:not(body) .icon:last-child:not(:first-child) { - margin-left: 0.1875em; - margin-right: -0.375em; -} - -.tag:not(body) .icon:first-child:last-child { - margin-left: -0.375em; - margin-right: -0.375em; -} - -.tag:not(body).is-delete { - margin-left: 1px; - padding: 0; - position: relative; - width: 2em; -} - -.tag:not(body).is-delete::before, .tag:not(body).is-delete::after { - background-color: currentColor; - content: ""; - display: block; - left: 50%; - position: absolute; - top: 50%; - transform: translateX(-50%) translateY(-50%) rotate(45deg); - transform-origin: center center; -} - -.tag:not(body).is-delete::before { - height: 1px; - width: 50%; -} - -.tag:not(body).is-delete::after { - height: 50%; - width: 1px; -} - -.tag:not(body).is-delete:hover, .tag:not(body).is-delete:focus { - background-color: #e8e8e8; -} - -.tag:not(body).is-delete:active { - background-color: #dbdbdb; -} - -.tag:not(body).is-rounded { - border-radius: 9999px; -} - -a.tag:hover { - text-decoration: underline; -} - -.title, -.subtitle { - word-break: break-word; -} - -.title em, -.title span, -.subtitle em, -.subtitle span { - font-weight: inherit; -} - -.title sub, -.subtitle sub { - font-size: 0.75em; -} - -.title sup, -.subtitle sup { - font-size: 0.75em; -} - -.title .tag, -.subtitle .tag { - vertical-align: middle; -} - -.title { - color: hsl(0, 0%, 21%); - font-size: 1.692rem; - font-weight: 600; - line-height: 1.125; -} - -.title strong { - color: inherit; - font-weight: inherit; -} - -.title:not(.is-spaced) + .subtitle { - margin-top: -1.25rem; -} - -.title.is-1 { - font-size: 2.462rem; -} - -.title.is-2 { - font-size: 2rem; -} - -.title.is-3 { - font-size: 1.692rem; -} - -.title.is-4 { - font-size: 1.385rem; -} - -.title.is-5 { - font-size: 1.213rem; -} - -.title.is-6 { - font-size: 1rem; -} - -.title.is-7 { - font-size: 0.846rem; -} - -.subtitle { - color: hsl(0, 0%, 29%); - font-size: 1.213rem; - font-weight: 400; - line-height: 1.25; -} - -.subtitle strong { - color: hsl(0, 0%, 21%); - font-weight: 600; -} - -.subtitle:not(.is-spaced) + .title { - margin-top: -1.25rem; -} - -.subtitle.is-1 { - font-size: 2.462rem; -} - -.subtitle.is-2 { - font-size: 2rem; -} - -.subtitle.is-3 { - font-size: 1.692rem; -} - -.subtitle.is-4 { - font-size: 1.385rem; -} - -.subtitle.is-5 { - font-size: 1.213rem; -} - -.subtitle.is-6 { - font-size: 1rem; -} - -.subtitle.is-7 { - font-size: 0.846rem; -} - -.heading { - display: block; - font-size: 11px; - letter-spacing: 1px; - margin-bottom: 5px; - text-transform: uppercase; -} - -.number { - align-items: center; - background-color: hsl(0, 0%, 96%); - border-radius: 9999px; - display: inline-flex; - font-size: 1.213rem; - height: 2em; - justify-content: center; - margin-right: 1.5rem; - min-width: 2.5em; - padding: 0.25rem 0.5rem; - text-align: center; - vertical-align: top; -} - -/* Bulma Form */ -.select select, .textarea, .input { - background-color: hsl(0, 0%, 100%); - border-color: hsl(0, 0%, 86%); - border-radius: 4px; - color: hsl(0, 0%, 21%); -} - -.select select::-moz-placeholder, .textarea::-moz-placeholder, .input::-moz-placeholder { - color: rgba(54, 54, 54, 0.3); -} - -.select select::-webkit-input-placeholder, .textarea::-webkit-input-placeholder, .input::-webkit-input-placeholder { - color: rgba(54, 54, 54, 0.3); -} - -.select select:-moz-placeholder, .textarea:-moz-placeholder, .input:-moz-placeholder { - color: rgba(54, 54, 54, 0.3); -} - -.select select:-ms-input-placeholder, .textarea:-ms-input-placeholder, .input:-ms-input-placeholder { - color: rgba(54, 54, 54, 0.3); -} - -.select select:hover, .textarea:hover, .input:hover, .select select.is-hovered, .is-hovered.textarea, .is-hovered.input { - border-color: hsl(0, 0%, 71%); -} - -.select select:focus, .textarea:focus, .input:focus, .select select.is-focused, .is-focused.textarea, .is-focused.input, .select select:active, .textarea:active, .input:active, .select select.is-active, .is-active.textarea, .is-active.input { - border-color: hsl(229, 53%, 53%); - box-shadow: 0 0 0 0.125em rgba(72, 95, 199, 0.25); -} - -.select select[disabled], [disabled].textarea, [disabled].input, fieldset[disabled] .select select, .select fieldset[disabled] select, fieldset[disabled] .textarea, fieldset[disabled] .input { - background-color: hsl(0, 0%, 96%); - border-color: hsl(0, 0%, 96%); - box-shadow: none; - color: hsl(0, 0%, 48%); -} - -.select select[disabled]::-moz-placeholder, [disabled].textarea::-moz-placeholder, [disabled].input::-moz-placeholder, fieldset[disabled] .select select::-moz-placeholder, .select fieldset[disabled] select::-moz-placeholder, fieldset[disabled] .textarea::-moz-placeholder, fieldset[disabled] .input::-moz-placeholder { - color: rgba(122, 122, 122, 0.3); -} - -.select select[disabled]::-webkit-input-placeholder, [disabled].textarea::-webkit-input-placeholder, [disabled].input::-webkit-input-placeholder, fieldset[disabled] .select select::-webkit-input-placeholder, .select fieldset[disabled] select::-webkit-input-placeholder, fieldset[disabled] .textarea::-webkit-input-placeholder, fieldset[disabled] .input::-webkit-input-placeholder { - color: rgba(122, 122, 122, 0.3); -} - -.select select[disabled]:-moz-placeholder, [disabled].textarea:-moz-placeholder, [disabled].input:-moz-placeholder, fieldset[disabled] .select select:-moz-placeholder, .select fieldset[disabled] select:-moz-placeholder, fieldset[disabled] .textarea:-moz-placeholder, fieldset[disabled] .input:-moz-placeholder { - color: rgba(122, 122, 122, 0.3); -} - -.select select[disabled]:-ms-input-placeholder, [disabled].textarea:-ms-input-placeholder, [disabled].input:-ms-input-placeholder, fieldset[disabled] .select select:-ms-input-placeholder, .select fieldset[disabled] select:-ms-input-placeholder, fieldset[disabled] .textarea:-ms-input-placeholder, fieldset[disabled] .input:-ms-input-placeholder { - color: rgba(122, 122, 122, 0.3); -} - -.textarea, .input { - box-shadow: inset 0 0.0625em 0.125em rgba(10, 10, 10, 0.05); - max-width: 100%; - width: 100%; -} - -[readonly].textarea, [readonly].input { - box-shadow: none; -} - -.is-white.textarea, .is-white.input { - border-color: hsl(0, 0%, 100%); -} - -.is-white.textarea:focus, .is-white.input:focus, .is-white.is-focused.textarea, .is-white.is-focused.input, .is-white.textarea:active, .is-white.input:active, .is-white.is-active.textarea, .is-white.is-active.input { - box-shadow: 0 0 0 0.125em rgba(255, 255, 255, 0.25); -} - -.is-black.textarea, .is-black.input { - border-color: hsl(0, 0%, 4%); -} - -.is-black.textarea:focus, .is-black.input:focus, .is-black.is-focused.textarea, .is-black.is-focused.input, .is-black.textarea:active, .is-black.input:active, .is-black.is-active.textarea, .is-black.is-active.input { - box-shadow: 0 0 0 0.125em rgba(10, 10, 10, 0.25); -} - -.is-light.textarea, .is-light.input { - border-color: hsl(0, 0%, 96%); -} - -.is-light.textarea:focus, .is-light.input:focus, .is-light.is-focused.textarea, .is-light.is-focused.input, .is-light.textarea:active, .is-light.input:active, .is-light.is-active.textarea, .is-light.is-active.input { - box-shadow: 0 0 0 0.125em rgba(245, 245, 245, 0.25); -} - -.is-dark.textarea, .is-dark.input { - border-color: hsl(0, 0%, 21%); -} - -.is-dark.textarea:focus, .is-dark.input:focus, .is-dark.is-focused.textarea, .is-dark.is-focused.input, .is-dark.textarea:active, .is-dark.input:active, .is-dark.is-active.textarea, .is-dark.is-active.input { - box-shadow: 0 0 0 0.125em rgba(54, 54, 54, 0.25); -} - -.is-primary.textarea, .is-primary.input { - border-color: hsl(171, 100%, 41%); -} - -.is-primary.textarea:focus, .is-primary.input:focus, .is-primary.is-focused.textarea, .is-primary.is-focused.input, .is-primary.textarea:active, .is-primary.input:active, .is-primary.is-active.textarea, .is-primary.is-active.input { - box-shadow: 0 0 0 0.125em rgba(0, 209, 178, 0.25); -} - -.is-link.textarea, .is-link.input { - border-color: hsl(229, 53%, 53%); -} - -.is-link.textarea:focus, .is-link.input:focus, .is-link.is-focused.textarea, .is-link.is-focused.input, .is-link.textarea:active, .is-link.input:active, .is-link.is-active.textarea, .is-link.is-active.input { - box-shadow: 0 0 0 0.125em rgba(72, 95, 199, 0.25); -} - -.is-info.textarea, .is-info.input { - border-color: hsl(217, 71%, 50%); -} - -.is-info.textarea:focus, .is-info.input:focus, .is-info.is-focused.textarea, .is-info.is-focused.input, .is-info.textarea:active, .is-info.input:active, .is-info.is-active.textarea, .is-info.is-active.input { - box-shadow: 0 0 0 0.125em rgba(37, 106, 218, 0.25); -} - -.is-success.textarea, .is-success.input { - border-color: hsl(141, 53%, 40%); -} - -.is-success.textarea:focus, .is-success.input:focus, .is-success.is-focused.textarea, .is-success.is-focused.input, .is-success.textarea:active, .is-success.input:active, .is-success.is-active.textarea, .is-success.is-active.input { - box-shadow: 0 0 0 0.125em rgba(48, 156, 86, 0.25); -} - -.is-warning.textarea, .is-warning.input { - border-color: hsl(38, 93%, 50%); -} - -.is-warning.textarea:focus, .is-warning.input:focus, .is-warning.is-focused.textarea, .is-warning.is-focused.input, .is-warning.textarea:active, .is-warning.input:active, .is-warning.is-active.textarea, .is-warning.is-active.input { - box-shadow: 0 0 0 0.125em rgba(246, 159, 9, 0.25); -} - -.is-danger.textarea, .is-danger.input { - border-color: hsl(348, 100%, 40%); -} - -.is-danger.textarea:focus, .is-danger.input:focus, .is-danger.is-focused.textarea, .is-danger.is-focused.input, .is-danger.textarea:active, .is-danger.input:active, .is-danger.is-active.textarea, .is-danger.is-active.input { - box-shadow: 0 0 0 0.125em rgba(204, 0, 41, 0.25); -} - -.is-small.textarea, .is-small.input { - border-radius: 2px; - font-size: 0.846rem; -} - -.is-medium.textarea, .is-medium.input { - font-size: 1.213rem; -} - -.is-large.textarea, .is-large.input { - font-size: 1.385rem; -} - -.is-fullwidth.textarea, .is-fullwidth.input { - display: block; - width: 100%; -} - -.is-inline.textarea, .is-inline.input { - display: inline; - width: auto; -} - -.input.is-rounded { - border-radius: 9999px; - padding-left: calc(0.75em - 1px + 0.375em); - padding-right: calc(0.75em - 1px + 0.375em); -} - -.input.is-static { - background-color: transparent; - border-color: transparent; - box-shadow: none; - padding-left: 0; - padding-right: 0; -} - -.textarea { - display: block; - max-width: 100%; - min-width: 100%; - padding: calc(0.75em - 1px); - resize: vertical; -} - -.textarea:not([rows]) { - max-height: 40em; - min-height: 8em; -} - -.textarea[rows] { - height: initial; -} - -.textarea.has-fixed-size { - resize: none; -} - -.radio, .checkbox { - cursor: pointer; - display: inline-block; - line-height: 1.25; - position: relative; -} - -.radio input, .checkbox input { - cursor: pointer; -} - -.radio:hover, .checkbox:hover { - color: hsl(0, 0%, 21%); -} - -[disabled].radio, [disabled].checkbox, fieldset[disabled] .radio, fieldset[disabled] .checkbox, -.radio input[disabled], -.checkbox input[disabled] { - color: hsl(0, 0%, 48%); - cursor: not-allowed; -} - -.radio + .radio { - margin-left: 0.5em; -} - -.select { - display: inline-block; - max-width: 100%; - position: relative; - vertical-align: top; -} - -.select:not(.is-multiple) { - height: 2.5em; -} - -.select:not(.is-multiple):not(.is-loading)::after { - border-color: hsl(229, 53%, 53%); - right: 1.125em; - z-index: 4; -} - -.select.is-rounded select { - border-radius: 9999px; - padding-left: 1em; -} - -.select select { - cursor: pointer; - display: block; - font-size: 1em; - max-width: 100%; - outline: none; -} - -.select select::-ms-expand { - display: none; -} - -.select select[disabled]:hover, fieldset[disabled] .select select:hover { - border-color: hsl(0, 0%, 96%); -} - -.select select:not([multiple]) { - padding-right: 2.5em; -} - -.select select[multiple] { - height: auto; - padding: 0; -} - -.select select[multiple] option { - padding: 0.5em 1em; -} - -.select:not(.is-multiple):not(.is-loading):hover::after { - border-color: hsl(0, 0%, 21%); -} - -.select.is-white:not(:hover)::after { - border-color: hsl(0, 0%, 100%); -} - -.select.is-white select { - border-color: hsl(0, 0%, 100%); -} - -.select.is-white select:hover, .select.is-white select.is-hovered { - border-color: #f2f2f2; -} - -.select.is-white select:focus, .select.is-white select.is-focused, .select.is-white select:active, .select.is-white select.is-active { - box-shadow: 0 0 0 0.125em rgba(255, 255, 255, 0.25); -} - -.select.is-black:not(:hover)::after { - border-color: hsl(0, 0%, 4%); -} - -.select.is-black select { - border-color: hsl(0, 0%, 4%); -} - -.select.is-black select:hover, .select.is-black select.is-hovered { - border-color: black; -} - -.select.is-black select:focus, .select.is-black select.is-focused, .select.is-black select:active, .select.is-black select.is-active { - box-shadow: 0 0 0 0.125em rgba(10, 10, 10, 0.25); -} - -.select.is-light:not(:hover)::after { - border-color: hsl(0, 0%, 96%); -} - -.select.is-light select { - border-color: hsl(0, 0%, 96%); -} - -.select.is-light select:hover, .select.is-light select.is-hovered { - border-color: #e8e8e8; -} - -.select.is-light select:focus, .select.is-light select.is-focused, .select.is-light select:active, .select.is-light select.is-active { - box-shadow: 0 0 0 0.125em rgba(245, 245, 245, 0.25); -} - -.select.is-dark:not(:hover)::after { - border-color: hsl(0, 0%, 21%); -} - -.select.is-dark select { - border-color: hsl(0, 0%, 21%); -} - -.select.is-dark select:hover, .select.is-dark select.is-hovered { - border-color: #292929; -} - -.select.is-dark select:focus, .select.is-dark select.is-focused, .select.is-dark select:active, .select.is-dark select.is-active { - box-shadow: 0 0 0 0.125em rgba(54, 54, 54, 0.25); -} - -.select.is-primary:not(:hover)::after { - border-color: hsl(171, 100%, 41%); -} - -.select.is-primary select { - border-color: hsl(171, 100%, 41%); -} - -.select.is-primary select:hover, .select.is-primary select.is-hovered { - border-color: #00b89c; -} - -.select.is-primary select:focus, .select.is-primary select.is-focused, .select.is-primary select:active, .select.is-primary select.is-active { - box-shadow: 0 0 0 0.125em rgba(0, 209, 178, 0.25); -} - -.select.is-link:not(:hover)::after { - border-color: hsl(229, 53%, 53%); -} - -.select.is-link select { - border-color: hsl(229, 53%, 53%); -} - -.select.is-link select:hover, .select.is-link select.is-hovered { - border-color: #3a51bb; -} - -.select.is-link select:focus, .select.is-link select.is-focused, .select.is-link select:active, .select.is-link select.is-active { - box-shadow: 0 0 0 0.125em rgba(72, 95, 199, 0.25); -} - -.select.is-info:not(:hover)::after { - border-color: hsl(217, 71%, 50%); -} - -.select.is-info select { - border-color: hsl(217, 71%, 50%); -} - -.select.is-info select:hover, .select.is-info select.is-hovered { - border-color: #2160c4; -} - -.select.is-info select:focus, .select.is-info select.is-focused, .select.is-info select:active, .select.is-info select.is-active { - box-shadow: 0 0 0 0.125em rgba(37, 106, 218, 0.25); -} - -.select.is-success:not(:hover)::after { - border-color: hsl(141, 53%, 40%); -} - -.select.is-success select { - border-color: hsl(141, 53%, 40%); -} - -.select.is-success select:hover, .select.is-success select.is-hovered { - border-color: #2a894b; -} - -.select.is-success select:focus, .select.is-success select.is-focused, .select.is-success select:active, .select.is-success select.is-active { - box-shadow: 0 0 0 0.125em rgba(48, 156, 86, 0.25); -} - -.select.is-warning:not(:hover)::after { - border-color: hsl(38, 93%, 50%); -} - -.select.is-warning select { - border-color: hsl(38, 93%, 50%); -} - -.select.is-warning select:hover, .select.is-warning select.is-hovered { - border-color: #dd8f08; -} - -.select.is-warning select:focus, .select.is-warning select.is-focused, .select.is-warning select:active, .select.is-warning select.is-active { - box-shadow: 0 0 0 0.125em rgba(246, 159, 9, 0.25); -} - -.select.is-danger:not(:hover)::after { - border-color: hsl(348, 100%, 40%); -} - -.select.is-danger select { - border-color: hsl(348, 100%, 40%); -} - -.select.is-danger select:hover, .select.is-danger select.is-hovered { - border-color: #b30024; -} - -.select.is-danger select:focus, .select.is-danger select.is-focused, .select.is-danger select:active, .select.is-danger select.is-active { - box-shadow: 0 0 0 0.125em rgba(204, 0, 41, 0.25); -} - -.select.is-small { - border-radius: 2px; - font-size: 0.846rem; -} - -.select.is-medium { - font-size: 1.213rem; -} - -.select.is-large { - font-size: 1.385rem; -} - -.select.is-disabled::after { - border-color: hsl(0, 0%, 48%) !important; - opacity: 0.5; -} - -.select.is-fullwidth { - width: 100%; -} - -.select.is-fullwidth select { - width: 100%; -} - -.select.is-loading::after { - margin-top: 0; - position: absolute; - right: 0.625em; - top: 0.625em; - transform: none; -} - -.select.is-loading.is-small:after { - font-size: 0.846rem; -} - -.select.is-loading.is-medium:after { - font-size: 1.213rem; -} - -.select.is-loading.is-large:after { - font-size: 1.385rem; -} - -.file { - align-items: stretch; - display: flex; - justify-content: flex-start; - position: relative; -} - -.file.is-white .file-cta { - background-color: hsl(0, 0%, 100%); - border-color: transparent; - color: hsl(0, 0%, 4%); -} - -.file.is-white:hover .file-cta, .file.is-white.is-hovered .file-cta { - background-color: #f9f9f9; - border-color: transparent; - color: hsl(0, 0%, 4%); -} - -.file.is-white:focus .file-cta, .file.is-white.is-focused .file-cta { - border-color: transparent; - box-shadow: 0 0 0.5em rgba(255, 255, 255, 0.25); - color: hsl(0, 0%, 4%); -} - -.file.is-white:active .file-cta, .file.is-white.is-active .file-cta { - background-color: #f2f2f2; - border-color: transparent; - color: hsl(0, 0%, 4%); -} - -.file.is-black .file-cta { - background-color: hsl(0, 0%, 4%); - border-color: transparent; - color: hsl(0, 0%, 100%); -} - -.file.is-black:hover .file-cta, .file.is-black.is-hovered .file-cta { - background-color: #040404; - border-color: transparent; - color: hsl(0, 0%, 100%); -} - -.file.is-black:focus .file-cta, .file.is-black.is-focused .file-cta { - border-color: transparent; - box-shadow: 0 0 0.5em rgba(10, 10, 10, 0.25); - color: hsl(0, 0%, 100%); -} - -.file.is-black:active .file-cta, .file.is-black.is-active .file-cta { - background-color: black; - border-color: transparent; - color: hsl(0, 0%, 100%); -} - -.file.is-light .file-cta { - background-color: hsl(0, 0%, 96%); - border-color: transparent; - color: rgba(0, 0, 0, 0.7); -} - -.file.is-light:hover .file-cta, .file.is-light.is-hovered .file-cta { - background-color: #eeeeee; - border-color: transparent; - color: rgba(0, 0, 0, 0.7); -} - -.file.is-light:focus .file-cta, .file.is-light.is-focused .file-cta { - border-color: transparent; - box-shadow: 0 0 0.5em rgba(245, 245, 245, 0.25); - color: rgba(0, 0, 0, 0.7); -} - -.file.is-light:active .file-cta, .file.is-light.is-active .file-cta { - background-color: #e8e8e8; - border-color: transparent; - color: rgba(0, 0, 0, 0.7); -} - -.file.is-dark .file-cta { - background-color: hsl(0, 0%, 21%); - border-color: transparent; - color: #fff; -} - -.file.is-dark:hover .file-cta, .file.is-dark.is-hovered .file-cta { - background-color: #2f2f2f; - border-color: transparent; - color: #fff; -} - -.file.is-dark:focus .file-cta, .file.is-dark.is-focused .file-cta { - border-color: transparent; - box-shadow: 0 0 0.5em rgba(54, 54, 54, 0.25); - color: #fff; -} - -.file.is-dark:active .file-cta, .file.is-dark.is-active .file-cta { - background-color: #292929; - border-color: transparent; - color: #fff; -} - -.file.is-primary .file-cta { - background-color: hsl(171, 100%, 41%); - border-color: transparent; - color: #fff; -} - -.file.is-primary:hover .file-cta, .file.is-primary.is-hovered .file-cta { - background-color: #00c4a7; - border-color: transparent; - color: #fff; -} - -.file.is-primary:focus .file-cta, .file.is-primary.is-focused .file-cta { - border-color: transparent; - box-shadow: 0 0 0.5em rgba(0, 209, 178, 0.25); - color: #fff; -} - -.file.is-primary:active .file-cta, .file.is-primary.is-active .file-cta { - background-color: #00b89c; - border-color: transparent; - color: #fff; -} - -.file.is-link .file-cta { - background-color: hsl(229, 53%, 53%); - border-color: transparent; - color: #fff; -} - -.file.is-link:hover .file-cta, .file.is-link.is-hovered .file-cta { - background-color: #3e56c4; - border-color: transparent; - color: #fff; -} - -.file.is-link:focus .file-cta, .file.is-link.is-focused .file-cta { - border-color: transparent; - box-shadow: 0 0 0.5em rgba(72, 95, 199, 0.25); - color: #fff; -} - -.file.is-link:active .file-cta, .file.is-link.is-active .file-cta { - background-color: #3a51bb; - border-color: transparent; - color: #fff; -} - -.file.is-info .file-cta { - background-color: hsl(217, 71%, 50%); - border-color: transparent; - color: #fff; -} - -.file.is-info:hover .file-cta, .file.is-info.is-hovered .file-cta { - background-color: #2365cf; - border-color: transparent; - color: #fff; -} - -.file.is-info:focus .file-cta, .file.is-info.is-focused .file-cta { - border-color: transparent; - box-shadow: 0 0 0.5em rgba(37, 106, 218, 0.25); - color: #fff; -} - -.file.is-info:active .file-cta, .file.is-info.is-active .file-cta { - background-color: #2160c4; - border-color: transparent; - color: #fff; -} - -.file.is-success .file-cta { - background-color: hsl(141, 53%, 40%); - border-color: transparent; - color: #fff; -} - -.file.is-success:hover .file-cta, .file.is-success.is-hovered .file-cta { - background-color: #2d9250; - border-color: transparent; - color: #fff; -} - -.file.is-success:focus .file-cta, .file.is-success.is-focused .file-cta { - border-color: transparent; - box-shadow: 0 0 0.5em rgba(48, 156, 86, 0.25); - color: #fff; -} - -.file.is-success:active .file-cta, .file.is-success.is-active .file-cta { - background-color: #2a894b; - border-color: transparent; - color: #fff; -} - -.file.is-warning .file-cta { - background-color: hsl(38, 93%, 50%); - border-color: transparent; - color: #fff; -} - -.file.is-warning:hover .file-cta, .file.is-warning.is-hovered .file-cta { - background-color: #ea9708; - border-color: transparent; - color: #fff; -} - -.file.is-warning:focus .file-cta, .file.is-warning.is-focused .file-cta { - border-color: transparent; - box-shadow: 0 0 0.5em rgba(246, 159, 9, 0.25); - color: #fff; -} - -.file.is-warning:active .file-cta, .file.is-warning.is-active .file-cta { - background-color: #dd8f08; - border-color: transparent; - color: #fff; -} - -.file.is-danger .file-cta { - background-color: hsl(348, 100%, 40%); - border-color: transparent; - color: #fff; -} - -.file.is-danger:hover .file-cta, .file.is-danger.is-hovered .file-cta { - background-color: #bf0026; - border-color: transparent; - color: #fff; -} - -.file.is-danger:focus .file-cta, .file.is-danger.is-focused .file-cta { - border-color: transparent; - box-shadow: 0 0 0.5em rgba(204, 0, 41, 0.25); - color: #fff; -} - -.file.is-danger:active .file-cta, .file.is-danger.is-active .file-cta { - background-color: #b30024; - border-color: transparent; - color: #fff; -} - -.file.is-small { - font-size: 0.846rem; -} - -.file.is-normal { - font-size: 1rem; -} - -.file.is-medium { - font-size: 1.213rem; -} - -.file.is-medium .file-icon .fa { - font-size: 21px; -} - -.file.is-large { - font-size: 1.385rem; -} - -.file.is-large .file-icon .fa { - font-size: 28px; -} - -.file.has-name .file-cta { - border-bottom-right-radius: 0; - border-top-right-radius: 0; -} - -.file.has-name .file-name { - border-bottom-left-radius: 0; - border-top-left-radius: 0; -} - -.file.has-name.is-empty .file-cta { - border-radius: 4px; -} - -.file.has-name.is-empty .file-name { - display: none; -} - -.file.is-boxed .file-label { - flex-direction: column; -} - -.file.is-boxed .file-cta { - flex-direction: column; - height: auto; - padding: 1em 3em; -} - -.file.is-boxed .file-name { - border-width: 0 1px 1px; -} - -.file.is-boxed .file-icon { - height: 1.5em; - width: 1.5em; -} - -.file.is-boxed .file-icon .fa { - font-size: 21px; -} - -.file.is-boxed.is-small .file-icon .fa { - font-size: 14px; -} - -.file.is-boxed.is-medium .file-icon .fa { - font-size: 28px; -} - -.file.is-boxed.is-large .file-icon .fa { - font-size: 35px; -} - -.file.is-boxed.has-name .file-cta { - border-radius: 4px 4px 0 0; -} - -.file.is-boxed.has-name .file-name { - border-radius: 0 0 4px 4px; - border-width: 0 1px 1px; -} - -.file.is-centered { - justify-content: center; -} - -.file.is-fullwidth .file-label { - width: 100%; -} - -.file.is-fullwidth .file-name { - flex-grow: 1; - max-width: none; -} - -.file.is-right { - justify-content: flex-end; -} - -.file.is-right .file-cta { - border-radius: 0 4px 4px 0; -} - -.file.is-right .file-name { - border-radius: 4px 0 0 4px; - border-width: 1px 0 1px 1px; - order: -1; -} - -.file-label { - align-items: stretch; - display: flex; - cursor: pointer; - justify-content: flex-start; - overflow: hidden; - position: relative; -} - -.file-label:hover .file-cta { - background-color: #eeeeee; - color: hsl(0, 0%, 21%); -} - -.file-label:hover .file-name { - border-color: #d5d5d5; -} - -.file-label:active .file-cta { - background-color: #e8e8e8; - color: hsl(0, 0%, 21%); -} - -.file-label:active .file-name { - border-color: #cfcfcf; -} - -.file-input { - height: 100%; - left: 0; - opacity: 0; - outline: none; - position: absolute; - top: 0; - width: 100%; -} - -.file-cta, -.file-name { - border-color: hsl(0, 0%, 86%); - border-radius: 4px; - font-size: 1em; - padding-left: 1em; - padding-right: 1em; - white-space: nowrap; -} - -.file-cta { - background-color: hsl(0, 0%, 96%); - color: hsl(0, 0%, 29%); -} - -.file-name { - border-color: hsl(0, 0%, 86%); - border-style: solid; - border-width: 1px 1px 1px 0; - display: block; - max-width: 16em; - overflow: hidden; - text-align: inherit; - text-overflow: ellipsis; -} - -.file-icon { - align-items: center; - display: flex; - height: 1em; - justify-content: center; - margin-right: 0.5em; - width: 1em; -} - -.file-icon .fa { - font-size: 14px; -} - -.label { - color: hsl(0, 0%, 21%); - display: block; - font-size: 1rem; - font-weight: 700; -} - -.label:not(:last-child) { - margin-bottom: 0.5em; -} - -.label.is-small { - font-size: 0.846rem; -} - -.label.is-medium { - font-size: 1.213rem; -} - -.label.is-large { - font-size: 1.385rem; -} - -.help { - display: block; - font-size: 0.846rem; - margin-top: 0.25rem; -} - -.help.is-white { - color: hsl(0, 0%, 100%); -} - -.help.is-black { - color: hsl(0, 0%, 4%); -} - -.help.is-light { - color: hsl(0, 0%, 96%); -} - -.help.is-dark { - color: hsl(0, 0%, 21%); -} - -.help.is-primary { - color: hsl(171, 100%, 41%); -} - -.help.is-link { - color: hsl(229, 53%, 53%); -} - -.help.is-info { - color: hsl(217, 71%, 50%); -} - -.help.is-success { - color: hsl(141, 53%, 40%); -} - -.help.is-warning { - color: hsl(38, 93%, 50%); -} - -.help.is-danger { - color: hsl(348, 100%, 40%); -} - -.field:not(:last-child) { - margin-bottom: 0.75rem; -} - -.field.has-addons { - display: flex; - justify-content: flex-start; -} - -.field.has-addons .control:not(:last-child) { - margin-right: -1px; -} - -.field.has-addons .control:not(:first-child):not(:last-child) .button, -.field.has-addons .control:not(:first-child):not(:last-child) .input, -.field.has-addons .control:not(:first-child):not(:last-child) .select select { - border-radius: 0; -} - -.field.has-addons .control:first-child:not(:only-child) .button, -.field.has-addons .control:first-child:not(:only-child) .input, -.field.has-addons .control:first-child:not(:only-child) .select select { - border-bottom-right-radius: 0; - border-top-right-radius: 0; -} - -.field.has-addons .control:last-child:not(:only-child) .button, -.field.has-addons .control:last-child:not(:only-child) .input, -.field.has-addons .control:last-child:not(:only-child) .select select { - border-bottom-left-radius: 0; - border-top-left-radius: 0; -} - -.field.has-addons .control .button:not([disabled]):hover, .field.has-addons .control .button:not([disabled]).is-hovered, -.field.has-addons .control .input:not([disabled]):hover, -.field.has-addons .control .input:not([disabled]).is-hovered, -.field.has-addons .control .select select:not([disabled]):hover, -.field.has-addons .control .select select:not([disabled]).is-hovered { - z-index: 2; -} - -.field.has-addons .control .button:not([disabled]):focus, .field.has-addons .control .button:not([disabled]).is-focused, .field.has-addons .control .button:not([disabled]):active, .field.has-addons .control .button:not([disabled]).is-active, -.field.has-addons .control .input:not([disabled]):focus, -.field.has-addons .control .input:not([disabled]).is-focused, -.field.has-addons .control .input:not([disabled]):active, -.field.has-addons .control .input:not([disabled]).is-active, -.field.has-addons .control .select select:not([disabled]):focus, -.field.has-addons .control .select select:not([disabled]).is-focused, -.field.has-addons .control .select select:not([disabled]):active, -.field.has-addons .control .select select:not([disabled]).is-active { - z-index: 3; -} - -.field.has-addons .control .button:not([disabled]):focus:hover, .field.has-addons .control .button:not([disabled]).is-focused:hover, .field.has-addons .control .button:not([disabled]):active:hover, .field.has-addons .control .button:not([disabled]).is-active:hover, -.field.has-addons .control .input:not([disabled]):focus:hover, -.field.has-addons .control .input:not([disabled]).is-focused:hover, -.field.has-addons .control .input:not([disabled]):active:hover, -.field.has-addons .control .input:not([disabled]).is-active:hover, -.field.has-addons .control .select select:not([disabled]):focus:hover, -.field.has-addons .control .select select:not([disabled]).is-focused:hover, -.field.has-addons .control .select select:not([disabled]):active:hover, -.field.has-addons .control .select select:not([disabled]).is-active:hover { - z-index: 4; -} - -.field.has-addons .control.is-expanded { - flex-grow: 1; - flex-shrink: 1; -} - -.field.has-addons.has-addons-centered { - justify-content: center; -} - -.field.has-addons.has-addons-right { - justify-content: flex-end; -} - -.field.has-addons.has-addons-fullwidth .control { - flex-grow: 1; - flex-shrink: 0; -} - -.field.is-grouped { - display: flex; - justify-content: flex-start; -} - -.field.is-grouped > .control { - flex-shrink: 0; -} - -.field.is-grouped > .control:not(:last-child) { - margin-bottom: 0; - margin-right: 0.75rem; -} - -.field.is-grouped > .control.is-expanded { - flex-grow: 1; - flex-shrink: 1; -} - -.field.is-grouped.is-grouped-centered { - justify-content: center; -} - -.field.is-grouped.is-grouped-right { - justify-content: flex-end; -} - -.field.is-grouped.is-grouped-multiline { - flex-wrap: wrap; -} - -.field.is-grouped.is-grouped-multiline > .control:last-child, .field.is-grouped.is-grouped-multiline > .control:not(:last-child) { - margin-bottom: 0.75rem; -} - -.field.is-grouped.is-grouped-multiline:last-child { - margin-bottom: -0.75rem; -} - -.field.is-grouped.is-grouped-multiline:not(:last-child) { - margin-bottom: 0; -} - -@media screen and (min-width: 769px), print { - .field.is-horizontal { - display: flex; - } -} -.field-label .label { - font-size: inherit; -} - -@media screen and (max-width: 768px) { - .field-label { - margin-bottom: 0.5rem; - } -} -@media screen and (min-width: 769px), print { - .field-label { - flex-basis: 0; - flex-grow: 1; - flex-shrink: 0; - margin-right: 1.5rem; - text-align: right; - } - .field-label.is-small { - font-size: 0.846rem; - padding-top: 0.375em; - } - .field-label.is-normal { - padding-top: 0.375em; - } - .field-label.is-medium { - font-size: 1.213rem; - padding-top: 0.375em; - } - .field-label.is-large { - font-size: 1.385rem; - padding-top: 0.375em; - } -} -.field-body .field .field { - margin-bottom: 0; -} - -@media screen and (min-width: 769px), print { - .field-body { - display: flex; - flex-basis: 0; - flex-grow: 5; - flex-shrink: 1; - } - .field-body .field { - margin-bottom: 0; - } - .field-body > .field { - flex-shrink: 1; - } - .field-body > .field:not(.is-narrow) { - flex-grow: 1; - } - .field-body > .field:not(:last-child) { - margin-right: 0.75rem; - } -} -.control { - box-sizing: border-box; - clear: both; - font-size: 1rem; - position: relative; - text-align: inherit; -} - -.control.has-icons-left .input:focus ~ .icon, -.control.has-icons-left .select:focus ~ .icon, .control.has-icons-right .input:focus ~ .icon, -.control.has-icons-right .select:focus ~ .icon { - color: hsl(0, 0%, 29%); -} - -.control.has-icons-left .input.is-small ~ .icon, -.control.has-icons-left .select.is-small ~ .icon, .control.has-icons-right .input.is-small ~ .icon, -.control.has-icons-right .select.is-small ~ .icon { - font-size: 0.846rem; -} - -.control.has-icons-left .input.is-medium ~ .icon, -.control.has-icons-left .select.is-medium ~ .icon, .control.has-icons-right .input.is-medium ~ .icon, -.control.has-icons-right .select.is-medium ~ .icon { - font-size: 1.213rem; -} - -.control.has-icons-left .input.is-large ~ .icon, -.control.has-icons-left .select.is-large ~ .icon, .control.has-icons-right .input.is-large ~ .icon, -.control.has-icons-right .select.is-large ~ .icon { - font-size: 1.385rem; -} - -.control.has-icons-left .icon, .control.has-icons-right .icon { - color: hsl(0, 0%, 86%); - height: 2.5em; - pointer-events: none; - position: absolute; - top: 0; - width: 2.5em; - z-index: 4; -} - -.control.has-icons-left .input, -.control.has-icons-left .select select { - padding-left: 2.5em; -} - -.control.has-icons-left .icon.is-left { - left: 0; -} - -.control.has-icons-right .input, -.control.has-icons-right .select select { - padding-right: 2.5em; -} - -.control.has-icons-right .icon.is-right { - right: 0; -} - -.control.is-loading::after { - position: absolute !important; - right: 0.625em; - top: 0.625em; - z-index: 4; -} - -.control.is-loading.is-small:after { - font-size: 0.846rem; -} - -.control.is-loading.is-medium:after { - font-size: 1.213rem; -} - -.control.is-loading.is-large:after { - font-size: 1.385rem; -} - -/* Bulma Components */ -.breadcrumb { - font-size: 1rem; - white-space: nowrap; -} - -.breadcrumb a { - align-items: center; - color: hsl(229, 53%, 53%); - display: flex; - justify-content: center; - padding: 0 0.75em; -} - -.breadcrumb a:hover { - color: hsl(0, 0%, 21%); -} - -.breadcrumb li { - align-items: center; - display: flex; -} - -.breadcrumb li:first-child a { - padding-left: 0; -} - -.breadcrumb li.is-active a { - color: hsl(0, 0%, 21%); - cursor: default; - pointer-events: none; -} - -.breadcrumb li + li::before { - color: hsl(0, 0%, 71%); - content: "/"; -} - -.breadcrumb ul, -.breadcrumb ol { - align-items: flex-start; - display: flex; - flex-wrap: wrap; - justify-content: flex-start; -} - -.breadcrumb .icon:first-child { - margin-right: 0.5em; -} - -.breadcrumb .icon:last-child { - margin-left: 0.5em; -} - -.breadcrumb.is-centered ol, -.breadcrumb.is-centered ul { - justify-content: center; -} - -.breadcrumb.is-right ol, -.breadcrumb.is-right ul { - justify-content: flex-end; -} - -.breadcrumb.is-small { - font-size: 0.846rem; -} - -.breadcrumb.is-medium { - font-size: 1.213rem; -} - -.breadcrumb.is-large { - font-size: 1.385rem; -} - -.breadcrumb.has-arrow-separator li + li::before { - content: "→"; -} - -.breadcrumb.has-bullet-separator li + li::before { - content: "•"; -} - -.breadcrumb.has-dot-separator li + li::before { - content: "·"; -} - -.breadcrumb.has-succeeds-separator li + li::before { - content: "≻"; -} - -.card { - background-color: hsl(0, 0%, 100%); - border-radius: 0.25rem; - box-shadow: 0 0.5em 1em -0.125em rgba(10, 10, 10, 0.1), 0 0px 0 1px rgba(10, 10, 10, 0.02); - color: hsl(0, 0%, 29%); - max-width: 100%; - position: relative; -} - -.card-footer:first-child, .card-content:first-child, .card-header:first-child { - border-top-left-radius: 0.25rem; - border-top-right-radius: 0.25rem; -} - -.card-footer:last-child, .card-content:last-child, .card-header:last-child { - border-bottom-left-radius: 0.25rem; - border-bottom-right-radius: 0.25rem; -} - -.card-header { - background-color: transparent; - align-items: stretch; - box-shadow: 0 0.125em 0.25em rgba(10, 10, 10, 0.1); - display: flex; -} - -.card-header-title { - align-items: center; - color: hsl(0, 0%, 21%); - display: flex; - flex-grow: 1; - font-weight: 700; - padding: 0.75rem 1rem; -} - -.card-header-title.is-centered { - justify-content: center; -} - -.card-header-icon { - -moz-appearance: none; - -webkit-appearance: none; - appearance: none; - background: none; - border: none; - color: currentColor; - font-family: inherit; - font-size: 1em; - margin: 0; - padding: 0; - align-items: center; - cursor: pointer; - display: flex; - justify-content: center; - padding: 0.75rem 1rem; -} - -.card-image { - display: block; - position: relative; -} - -.card-image:first-child img { - border-top-left-radius: 0.25rem; - border-top-right-radius: 0.25rem; -} - -.card-image:last-child img { - border-bottom-left-radius: 0.25rem; - border-bottom-right-radius: 0.25rem; -} - -.card-content { - background-color: transparent; - padding: 1.5rem; -} - -.card-footer { - background-color: transparent; - border-top: 1px solid hsl(0, 0%, 93%); - align-items: stretch; - display: flex; -} - -.card-footer-item { - align-items: center; - display: flex; - flex-basis: 0; - flex-grow: 1; - flex-shrink: 0; - justify-content: center; - padding: 0.75rem; -} - -.card-footer-item:not(:last-child) { - border-right: 1px solid hsl(0, 0%, 93%); -} - -.card .media:not(:last-child) { - margin-bottom: 1.5rem; -} - -.dropdown { - display: inline-flex; - position: relative; - vertical-align: top; -} - -.dropdown.is-active .dropdown-menu, .dropdown.is-hoverable:hover .dropdown-menu { - display: block; -} - -.dropdown.is-right .dropdown-menu { - left: auto; - right: 0; -} - -.dropdown.is-up .dropdown-menu { - bottom: 100%; - padding-bottom: 4px; - padding-top: initial; - top: auto; -} - -.dropdown-menu { - display: none; - left: 0; - min-width: 12rem; - padding-top: 4px; - position: absolute; - top: 100%; - z-index: 20; -} - -.dropdown-content { - background-color: hsl(0, 0%, 100%); - border-radius: 4px; - box-shadow: 0 0.5em 1em -0.125em rgba(10, 10, 10, 0.1), 0 0px 0 1px rgba(10, 10, 10, 0.02); - padding-bottom: 0.5rem; - padding-top: 0.5rem; -} - -.dropdown-item { - color: hsl(0, 0%, 29%); - display: block; - font-size: 0.875rem; - line-height: 1.5; - padding: 0.375rem 1rem; - position: relative; -} - -a.dropdown-item, -button.dropdown-item { - padding-right: 3rem; - text-align: inherit; - white-space: nowrap; - width: 100%; -} - -a.dropdown-item:hover, -button.dropdown-item:hover { - background-color: hsl(0, 0%, 96%); - color: hsl(0, 0%, 4%); -} - -a.dropdown-item.is-active, -button.dropdown-item.is-active { - background-color: hsl(229, 53%, 53%); - color: #fff; -} - -.dropdown-divider { - background-color: hsl(0, 0%, 93%); - border: none; - display: block; - height: 1px; - margin: 0.5rem 0; -} - -.level { - align-items: center; - justify-content: space-between; -} - -.level code { - border-radius: 4px; -} - -.level img { - display: inline-block; - vertical-align: top; -} - -.level.is-mobile { - display: flex; -} - -.level.is-mobile .level-left, -.level.is-mobile .level-right { - display: flex; -} - -.level.is-mobile .level-left + .level-right { - margin-top: 0; -} - -.level.is-mobile .level-item:not(:last-child) { - margin-bottom: 0; - margin-right: 0.75rem; -} - -.level.is-mobile .level-item:not(.is-narrow) { - flex-grow: 1; -} - -@media screen and (min-width: 769px), print { - .level { - display: flex; - } - .level > .level-item:not(.is-narrow) { - flex-grow: 1; - } -} -.level-item { - align-items: center; - display: flex; - flex-basis: auto; - flex-grow: 0; - flex-shrink: 0; - justify-content: center; -} - -.level-item .title, -.level-item .subtitle { - margin-bottom: 0; -} - -@media screen and (max-width: 768px) { - .level-item:not(:last-child) { - margin-bottom: 0.75rem; - } -} -.level-left, -.level-right { - flex-basis: auto; - flex-grow: 0; - flex-shrink: 0; -} - -.level-left .level-item.is-flexible, -.level-right .level-item.is-flexible { - flex-grow: 1; -} - -@media screen and (min-width: 769px), print { - .level-left .level-item:not(:last-child), - .level-right .level-item:not(:last-child) { - margin-right: 0.75rem; - } -} -.level-left { - align-items: center; - justify-content: flex-start; -} - -@media screen and (max-width: 768px) { - .level-left + .level-right { - margin-top: 1.5rem; - } -} -@media screen and (min-width: 769px), print { - .level-left { - display: flex; - } -} -.level-right { - align-items: center; - justify-content: flex-end; -} - -@media screen and (min-width: 769px), print { - .level-right { - display: flex; - } -} -.media { - align-items: flex-start; - display: flex; - text-align: inherit; -} - -.media .content:not(:last-child) { - margin-bottom: 0.75rem; -} - -.media .media { - border-top: 1px solid rgba(219, 219, 219, 0.5); - display: flex; - padding-top: 0.75rem; -} - -.media .media .content:not(:last-child), -.media .media .control:not(:last-child) { - margin-bottom: 0.5rem; -} - -.media .media .media { - padding-top: 0.5rem; -} - -.media .media .media + .media { - margin-top: 0.5rem; -} - -.media + .media { - border-top: 1px solid rgba(219, 219, 219, 0.5); - margin-top: 1rem; - padding-top: 1rem; -} - -.media.is-large + .media { - margin-top: 1.5rem; - padding-top: 1.5rem; -} - -.media-left, -.media-right { - flex-basis: auto; - flex-grow: 0; - flex-shrink: 0; -} - -.media-left { - margin-right: 1rem; -} - -.media-right { - margin-left: 1rem; -} - -.media-content { - flex-basis: auto; - flex-grow: 1; - flex-shrink: 1; - text-align: inherit; -} - -@media screen and (max-width: 768px) { - .media-content { - overflow-x: auto; - } -} -.menu { - font-size: 1rem; -} - -.menu.is-small { - font-size: 0.846rem; -} - -.menu.is-medium { - font-size: 1.213rem; -} - -.menu.is-large { - font-size: 1.385rem; -} - -.menu-list { - line-height: 1.25; -} - -.menu-list a { - border-radius: 2px; - color: hsl(0, 0%, 29%); - display: block; - padding: 0.5em 0.75em; -} - -.menu-list a:hover { - background-color: hsl(0, 0%, 96%); - color: hsl(0, 0%, 21%); -} - -.menu-list a.is-active { - background-color: hsl(229, 53%, 53%); - color: #fff; -} - -.menu-list li ul { - border-left: 1px solid hsl(0, 0%, 86%); - margin: 0.75em; - padding-left: 0.75em; -} - -.menu-label { - color: hsl(0, 0%, 48%); - font-size: 0.75em; - letter-spacing: 0.1em; - text-transform: uppercase; -} - -.menu-label:not(:first-child) { - margin-top: 1em; -} - -.menu-label:not(:last-child) { - margin-bottom: 1em; -} - -.message { - background-color: hsl(0, 0%, 96%); - border-radius: 4px; - font-size: 1rem; -} - -.message strong { - color: currentColor; -} - -.message a:not(.button):not(.tag):not(.dropdown-item) { - color: currentColor; - text-decoration: underline; -} - -.message.is-small { - font-size: 0.846rem; -} - -.message.is-medium { - font-size: 1.213rem; -} - -.message.is-large { - font-size: 1.385rem; -} - -.message.is-white { - background-color: white; -} - -.message.is-white .message-header { - background-color: hsl(0, 0%, 100%); - color: hsl(0, 0%, 4%); -} - -.message.is-white .message-body { - border-color: hsl(0, 0%, 100%); -} - -.message.is-black { - background-color: #fafafa; -} - -.message.is-black .message-header { - background-color: hsl(0, 0%, 4%); - color: hsl(0, 0%, 100%); -} - -.message.is-black .message-body { - border-color: hsl(0, 0%, 4%); -} - -.message.is-light { - background-color: #fafafa; -} - -.message.is-light .message-header { - background-color: hsl(0, 0%, 96%); - color: rgba(0, 0, 0, 0.7); -} - -.message.is-light .message-body { - border-color: hsl(0, 0%, 96%); -} - -.message.is-dark { - background-color: #fafafa; -} - -.message.is-dark .message-header { - background-color: hsl(0, 0%, 21%); - color: #fff; -} - -.message.is-dark .message-body { - border-color: hsl(0, 0%, 21%); -} - -.message.is-primary { - background-color: var(--primary-light); -} - -.message.is-primary .message-header { - background-color: hsl(171, 100%, 41%); - color: #fff; -} - -.message.is-primary .message-body { - border-color: hsl(171, 100%, 41%); - color: #00947e; -} - -.message.is-link { - background-color: #eff1fa; -} - -.message.is-link .message-header { - background-color: hsl(229, 53%, 53%); - color: #fff; -} - -.message.is-link .message-body { - border-color: hsl(229, 53%, 53%); - color: #3850b7; -} - -.message.is-info { - background-color: #eef3fc; -} - -.message.is-info .message-header { - background-color: hsl(217, 71%, 50%); - color: #fff; -} - -.message.is-info .message-body { - border-color: hsl(217, 71%, 50%); - color: #2262c9; -} - -.message.is-success { - background-color: #effaf3; -} - -.message.is-success .message-header { - background-color: hsl(141, 53%, 40%); - color: #fff; -} - -.message.is-success .message-body { - border-color: hsl(141, 53%, 40%); - color: #31a058; -} - -.message.is-warning { - background-color: #fef7eb; -} - -.message.is-warning .message-header { - background-color: hsl(38, 93%, 50%); - color: #fff; -} - -.message.is-warning .message-body { - border-color: hsl(38, 93%, 50%); - color: #996306; -} - -.message.is-danger { - background-color: #ffebef; -} - -.message.is-danger .message-header { - background-color: hsl(348, 100%, 40%); - color: #fff; -} - -.message.is-danger .message-body { - border-color: hsl(348, 100%, 40%); - color: #ff0033; -} - -.message-header { - align-items: center; - background-color: hsl(0, 0%, 29%); - border-radius: 4px 4px 0 0; - color: #fff; - display: flex; - font-weight: 700; - justify-content: space-between; - line-height: 1.25; - padding: 0.75em 1em; - position: relative; -} - -.message-header .delete { - flex-grow: 0; - flex-shrink: 0; - margin-left: 0.75em; -} - -.message-header + .message-body { - border-width: 0; - border-top-left-radius: 0; - border-top-right-radius: 0; -} - -.message-body { - border-color: hsl(0, 0%, 86%); - border-radius: 4px; - border-style: solid; - border-width: 0 0 0 4px; - color: hsl(0, 0%, 29%); - padding: 1.25em 1.5em; -} - -.message-body code, -.message-body pre { - background-color: hsl(0, 0%, 100%); -} - -.message-body pre code { - background-color: transparent; -} - -.modal { - align-items: center; - display: none; - flex-direction: column; - justify-content: center; - overflow: hidden; - position: fixed; - z-index: 40; -} - -.modal.is-active { - display: flex; -} - -.modal-background { - background-color: rgba(10, 10, 10, 0.86); -} - -.modal-content, -.modal-card { - margin: 0 20px; - max-height: calc(100vh - 160px); - overflow: auto; - position: relative; - width: 100%; -} - -@media screen and (min-width: 769px) { - .modal-content, - .modal-card { - margin: 0 auto; - max-height: calc(100vh - 40px); - width: 640px; - } -} -.modal-close { - background: none; - height: 40px; - position: fixed; - right: 20px; - top: 20px; - width: 40px; -} - -.modal-card { - display: flex; - flex-direction: column; - max-height: calc(100vh - 40px); - overflow: hidden; - -ms-overflow-y: visible; -} - -.modal-card-head, -.modal-card-foot { - align-items: center; - background-color: hsl(0, 0%, 96%); - display: flex; - flex-shrink: 0; - justify-content: flex-start; - padding: 20px; - position: relative; -} - -.modal-card-head { - border-bottom: 1px solid hsl(0, 0%, 86%); - border-top-left-radius: 6px; - border-top-right-radius: 6px; -} - -.modal-card-title { - color: hsl(0, 0%, 21%); - flex-grow: 1; - flex-shrink: 0; - font-size: 1.385rem; - line-height: 1; -} - -.modal-card-foot { - border-bottom-left-radius: 6px; - border-bottom-right-radius: 6px; - border-top: 1px solid hsl(0, 0%, 86%); -} - -.modal-card-foot .button:not(:last-child) { - margin-right: 0.5em; -} - -.modal-card-body { - -webkit-overflow-scrolling: touch; - background-color: hsl(0, 0%, 100%); - flex-grow: 1; - flex-shrink: 1; - overflow: auto; - padding: 20px; -} - -.navbar { - background-color: hsl(0, 0%, 100%); - min-height: 3.25rem; - position: relative; - z-index: 30; -} - -.navbar.is-white { - background-color: hsl(0, 0%, 100%); - color: hsl(0, 0%, 4%); -} - -.navbar.is-white .navbar-brand > .navbar-item, -.navbar.is-white .navbar-brand .navbar-link { - color: hsl(0, 0%, 4%); -} - -.navbar.is-white .navbar-brand > a.navbar-item:focus, .navbar.is-white .navbar-brand > a.navbar-item:hover, .navbar.is-white .navbar-brand > a.navbar-item.is-active, -.navbar.is-white .navbar-brand .navbar-link:focus, -.navbar.is-white .navbar-brand .navbar-link:hover, -.navbar.is-white .navbar-brand .navbar-link.is-active { - background-color: #f2f2f2; - color: hsl(0, 0%, 4%); -} - -.navbar.is-white .navbar-brand .navbar-link::after { - border-color: hsl(0, 0%, 4%); -} - -.navbar.is-white .navbar-burger { - color: hsl(0, 0%, 4%); -} - -@media screen and (min-width: 1024px) { - .navbar.is-white .navbar-start > .navbar-item, - .navbar.is-white .navbar-start .navbar-link, - .navbar.is-white .navbar-end > .navbar-item, - .navbar.is-white .navbar-end .navbar-link { - color: hsl(0, 0%, 4%); - } - .navbar.is-white .navbar-start > a.navbar-item:focus, .navbar.is-white .navbar-start > a.navbar-item:hover, .navbar.is-white .navbar-start > a.navbar-item.is-active, - .navbar.is-white .navbar-start .navbar-link:focus, - .navbar.is-white .navbar-start .navbar-link:hover, - .navbar.is-white .navbar-start .navbar-link.is-active, - .navbar.is-white .navbar-end > a.navbar-item:focus, - .navbar.is-white .navbar-end > a.navbar-item:hover, - .navbar.is-white .navbar-end > a.navbar-item.is-active, - .navbar.is-white .navbar-end .navbar-link:focus, - .navbar.is-white .navbar-end .navbar-link:hover, - .navbar.is-white .navbar-end .navbar-link.is-active { - background-color: #f2f2f2; - color: hsl(0, 0%, 4%); - } - .navbar.is-white .navbar-start .navbar-link::after, - .navbar.is-white .navbar-end .navbar-link::after { - border-color: hsl(0, 0%, 4%); - } - .navbar.is-white .navbar-item.has-dropdown:focus .navbar-link, - .navbar.is-white .navbar-item.has-dropdown:hover .navbar-link, - .navbar.is-white .navbar-item.has-dropdown.is-active .navbar-link { - background-color: #f2f2f2; - color: hsl(0, 0%, 4%); - } - .navbar.is-white .navbar-dropdown a.navbar-item.is-active { - background-color: hsl(0, 0%, 100%); - color: hsl(0, 0%, 4%); - } -} -.navbar.is-black { - background-color: hsl(0, 0%, 4%); - color: hsl(0, 0%, 100%); -} - -.navbar.is-black .navbar-brand > .navbar-item, -.navbar.is-black .navbar-brand .navbar-link { - color: hsl(0, 0%, 100%); -} - -.navbar.is-black .navbar-brand > a.navbar-item:focus, .navbar.is-black .navbar-brand > a.navbar-item:hover, .navbar.is-black .navbar-brand > a.navbar-item.is-active, -.navbar.is-black .navbar-brand .navbar-link:focus, -.navbar.is-black .navbar-brand .navbar-link:hover, -.navbar.is-black .navbar-brand .navbar-link.is-active { - background-color: black; - color: hsl(0, 0%, 100%); -} - -.navbar.is-black .navbar-brand .navbar-link::after { - border-color: hsl(0, 0%, 100%); -} - -.navbar.is-black .navbar-burger { - color: hsl(0, 0%, 100%); -} - -@media screen and (min-width: 1024px) { - .navbar.is-black .navbar-start > .navbar-item, - .navbar.is-black .navbar-start .navbar-link, - .navbar.is-black .navbar-end > .navbar-item, - .navbar.is-black .navbar-end .navbar-link { - color: hsl(0, 0%, 100%); - } - .navbar.is-black .navbar-start > a.navbar-item:focus, .navbar.is-black .navbar-start > a.navbar-item:hover, .navbar.is-black .navbar-start > a.navbar-item.is-active, - .navbar.is-black .navbar-start .navbar-link:focus, - .navbar.is-black .navbar-start .navbar-link:hover, - .navbar.is-black .navbar-start .navbar-link.is-active, - .navbar.is-black .navbar-end > a.navbar-item:focus, - .navbar.is-black .navbar-end > a.navbar-item:hover, - .navbar.is-black .navbar-end > a.navbar-item.is-active, - .navbar.is-black .navbar-end .navbar-link:focus, - .navbar.is-black .navbar-end .navbar-link:hover, - .navbar.is-black .navbar-end .navbar-link.is-active { - background-color: black; - color: hsl(0, 0%, 100%); - } - .navbar.is-black .navbar-start .navbar-link::after, - .navbar.is-black .navbar-end .navbar-link::after { - border-color: hsl(0, 0%, 100%); - } - .navbar.is-black .navbar-item.has-dropdown:focus .navbar-link, - .navbar.is-black .navbar-item.has-dropdown:hover .navbar-link, - .navbar.is-black .navbar-item.has-dropdown.is-active .navbar-link { - background-color: black; - color: hsl(0, 0%, 100%); - } - .navbar.is-black .navbar-dropdown a.navbar-item.is-active { - background-color: hsl(0, 0%, 4%); - color: hsl(0, 0%, 100%); - } -} -.navbar.is-light { - background-color: hsl(0, 0%, 96%); - color: rgba(0, 0, 0, 0.7); -} - -.navbar.is-light .navbar-brand > .navbar-item, -.navbar.is-light .navbar-brand .navbar-link { - color: rgba(0, 0, 0, 0.7); -} - -.navbar.is-light .navbar-brand > a.navbar-item:focus, .navbar.is-light .navbar-brand > a.navbar-item:hover, .navbar.is-light .navbar-brand > a.navbar-item.is-active, -.navbar.is-light .navbar-brand .navbar-link:focus, -.navbar.is-light .navbar-brand .navbar-link:hover, -.navbar.is-light .navbar-brand .navbar-link.is-active { - background-color: #e8e8e8; - color: rgba(0, 0, 0, 0.7); -} - -.navbar.is-light .navbar-brand .navbar-link::after { - border-color: rgba(0, 0, 0, 0.7); -} - -.navbar.is-light .navbar-burger { - color: rgba(0, 0, 0, 0.7); -} - -@media screen and (min-width: 1024px) { - .navbar.is-light .navbar-start > .navbar-item, - .navbar.is-light .navbar-start .navbar-link, - .navbar.is-light .navbar-end > .navbar-item, - .navbar.is-light .navbar-end .navbar-link { - color: rgba(0, 0, 0, 0.7); - } - .navbar.is-light .navbar-start > a.navbar-item:focus, .navbar.is-light .navbar-start > a.navbar-item:hover, .navbar.is-light .navbar-start > a.navbar-item.is-active, - .navbar.is-light .navbar-start .navbar-link:focus, - .navbar.is-light .navbar-start .navbar-link:hover, - .navbar.is-light .navbar-start .navbar-link.is-active, - .navbar.is-light .navbar-end > a.navbar-item:focus, - .navbar.is-light .navbar-end > a.navbar-item:hover, - .navbar.is-light .navbar-end > a.navbar-item.is-active, - .navbar.is-light .navbar-end .navbar-link:focus, - .navbar.is-light .navbar-end .navbar-link:hover, - .navbar.is-light .navbar-end .navbar-link.is-active { - background-color: #e8e8e8; - color: rgba(0, 0, 0, 0.7); - } - .navbar.is-light .navbar-start .navbar-link::after, - .navbar.is-light .navbar-end .navbar-link::after { - border-color: rgba(0, 0, 0, 0.7); - } - .navbar.is-light .navbar-item.has-dropdown:focus .navbar-link, - .navbar.is-light .navbar-item.has-dropdown:hover .navbar-link, - .navbar.is-light .navbar-item.has-dropdown.is-active .navbar-link { - background-color: #e8e8e8; - color: rgba(0, 0, 0, 0.7); - } - .navbar.is-light .navbar-dropdown a.navbar-item.is-active { - background-color: hsl(0, 0%, 96%); - color: rgba(0, 0, 0, 0.7); - } -} -.navbar.is-dark { - background-color: hsl(0, 0%, 21%); - color: #fff; -} - -.navbar.is-dark .navbar-brand > .navbar-item, -.navbar.is-dark .navbar-brand .navbar-link { - color: #fff; -} - -.navbar.is-dark .navbar-brand > a.navbar-item:focus, .navbar.is-dark .navbar-brand > a.navbar-item:hover, .navbar.is-dark .navbar-brand > a.navbar-item.is-active, -.navbar.is-dark .navbar-brand .navbar-link:focus, -.navbar.is-dark .navbar-brand .navbar-link:hover, -.navbar.is-dark .navbar-brand .navbar-link.is-active { - background-color: #292929; - color: #fff; -} - -.navbar.is-dark .navbar-brand .navbar-link::after { - border-color: #fff; -} - -.navbar.is-dark .navbar-burger { - color: #fff; -} - -@media screen and (min-width: 1024px) { - .navbar.is-dark .navbar-start > .navbar-item, - .navbar.is-dark .navbar-start .navbar-link, - .navbar.is-dark .navbar-end > .navbar-item, - .navbar.is-dark .navbar-end .navbar-link { - color: #fff; - } - .navbar.is-dark .navbar-start > a.navbar-item:focus, .navbar.is-dark .navbar-start > a.navbar-item:hover, .navbar.is-dark .navbar-start > a.navbar-item.is-active, - .navbar.is-dark .navbar-start .navbar-link:focus, - .navbar.is-dark .navbar-start .navbar-link:hover, - .navbar.is-dark .navbar-start .navbar-link.is-active, - .navbar.is-dark .navbar-end > a.navbar-item:focus, - .navbar.is-dark .navbar-end > a.navbar-item:hover, - .navbar.is-dark .navbar-end > a.navbar-item.is-active, - .navbar.is-dark .navbar-end .navbar-link:focus, - .navbar.is-dark .navbar-end .navbar-link:hover, - .navbar.is-dark .navbar-end .navbar-link.is-active { - background-color: #292929; - color: #fff; - } - .navbar.is-dark .navbar-start .navbar-link::after, - .navbar.is-dark .navbar-end .navbar-link::after { - border-color: #fff; - } - .navbar.is-dark .navbar-item.has-dropdown:focus .navbar-link, - .navbar.is-dark .navbar-item.has-dropdown:hover .navbar-link, - .navbar.is-dark .navbar-item.has-dropdown.is-active .navbar-link { - background-color: #292929; - color: #fff; - } - .navbar.is-dark .navbar-dropdown a.navbar-item.is-active { - background-color: hsl(0, 0%, 21%); - color: #fff; - } -} -.navbar.is-primary { - background-color: hsl(171, 100%, 41%); - color: #fff; -} - -.navbar.is-primary .navbar-brand > .navbar-item, -.navbar.is-primary .navbar-brand .navbar-link { - color: #fff; -} - -.navbar.is-primary .navbar-brand > a.navbar-item:focus, .navbar.is-primary .navbar-brand > a.navbar-item:hover, .navbar.is-primary .navbar-brand > a.navbar-item.is-active, -.navbar.is-primary .navbar-brand .navbar-link:focus, -.navbar.is-primary .navbar-brand .navbar-link:hover, -.navbar.is-primary .navbar-brand .navbar-link.is-active { - background-color: #00b89c; - color: #fff; -} - -.navbar.is-primary .navbar-brand .navbar-link::after { - border-color: #fff; -} - -.navbar.is-primary .navbar-burger { - color: #fff; -} - -@media screen and (min-width: 1024px) { - .navbar.is-primary .navbar-start > .navbar-item, - .navbar.is-primary .navbar-start .navbar-link, - .navbar.is-primary .navbar-end > .navbar-item, - .navbar.is-primary .navbar-end .navbar-link { - color: #fff; - } - .navbar.is-primary .navbar-start > a.navbar-item:focus, .navbar.is-primary .navbar-start > a.navbar-item:hover, .navbar.is-primary .navbar-start > a.navbar-item.is-active, - .navbar.is-primary .navbar-start .navbar-link:focus, - .navbar.is-primary .navbar-start .navbar-link:hover, - .navbar.is-primary .navbar-start .navbar-link.is-active, - .navbar.is-primary .navbar-end > a.navbar-item:focus, - .navbar.is-primary .navbar-end > a.navbar-item:hover, - .navbar.is-primary .navbar-end > a.navbar-item.is-active, - .navbar.is-primary .navbar-end .navbar-link:focus, - .navbar.is-primary .navbar-end .navbar-link:hover, - .navbar.is-primary .navbar-end .navbar-link.is-active { - background-color: #00b89c; - color: #fff; - } - .navbar.is-primary .navbar-start .navbar-link::after, - .navbar.is-primary .navbar-end .navbar-link::after { - border-color: #fff; - } - .navbar.is-primary .navbar-item.has-dropdown:focus .navbar-link, - .navbar.is-primary .navbar-item.has-dropdown:hover .navbar-link, - .navbar.is-primary .navbar-item.has-dropdown.is-active .navbar-link { - background-color: #00b89c; - color: #fff; - } - .navbar.is-primary .navbar-dropdown a.navbar-item.is-active { - background-color: hsl(171, 100%, 41%); - color: #fff; - } -} -.navbar.is-link { - background-color: hsl(229, 53%, 53%); - color: #fff; -} - -.navbar.is-link .navbar-brand > .navbar-item, -.navbar.is-link .navbar-brand .navbar-link { - color: #fff; -} - -.navbar.is-link .navbar-brand > a.navbar-item:focus, .navbar.is-link .navbar-brand > a.navbar-item:hover, .navbar.is-link .navbar-brand > a.navbar-item.is-active, -.navbar.is-link .navbar-brand .navbar-link:focus, -.navbar.is-link .navbar-brand .navbar-link:hover, -.navbar.is-link .navbar-brand .navbar-link.is-active { - background-color: #3a51bb; - color: #fff; -} - -.navbar.is-link .navbar-brand .navbar-link::after { - border-color: #fff; -} - -.navbar.is-link .navbar-burger { - color: #fff; -} - -@media screen and (min-width: 1024px) { - .navbar.is-link .navbar-start > .navbar-item, - .navbar.is-link .navbar-start .navbar-link, - .navbar.is-link .navbar-end > .navbar-item, - .navbar.is-link .navbar-end .navbar-link { - color: #fff; - } - .navbar.is-link .navbar-start > a.navbar-item:focus, .navbar.is-link .navbar-start > a.navbar-item:hover, .navbar.is-link .navbar-start > a.navbar-item.is-active, - .navbar.is-link .navbar-start .navbar-link:focus, - .navbar.is-link .navbar-start .navbar-link:hover, - .navbar.is-link .navbar-start .navbar-link.is-active, - .navbar.is-link .navbar-end > a.navbar-item:focus, - .navbar.is-link .navbar-end > a.navbar-item:hover, - .navbar.is-link .navbar-end > a.navbar-item.is-active, - .navbar.is-link .navbar-end .navbar-link:focus, - .navbar.is-link .navbar-end .navbar-link:hover, - .navbar.is-link .navbar-end .navbar-link.is-active { - background-color: #3a51bb; - color: #fff; - } - .navbar.is-link .navbar-start .navbar-link::after, - .navbar.is-link .navbar-end .navbar-link::after { - border-color: #fff; - } - .navbar.is-link .navbar-item.has-dropdown:focus .navbar-link, - .navbar.is-link .navbar-item.has-dropdown:hover .navbar-link, - .navbar.is-link .navbar-item.has-dropdown.is-active .navbar-link { - background-color: #3a51bb; - color: #fff; - } - .navbar.is-link .navbar-dropdown a.navbar-item.is-active { - background-color: hsl(229, 53%, 53%); - color: #fff; - } -} -.navbar.is-info { - background-color: hsl(217, 71%, 50%); - color: #fff; -} - -.navbar.is-info .navbar-brand > .navbar-item, -.navbar.is-info .navbar-brand .navbar-link { - color: #fff; -} - -.navbar.is-info .navbar-brand > a.navbar-item:focus, .navbar.is-info .navbar-brand > a.navbar-item:hover, .navbar.is-info .navbar-brand > a.navbar-item.is-active, -.navbar.is-info .navbar-brand .navbar-link:focus, -.navbar.is-info .navbar-brand .navbar-link:hover, -.navbar.is-info .navbar-brand .navbar-link.is-active { - background-color: #2160c4; - color: #fff; -} - -.navbar.is-info .navbar-brand .navbar-link::after { - border-color: #fff; -} - -.navbar.is-info .navbar-burger { - color: #fff; -} - -@media screen and (min-width: 1024px) { - .navbar.is-info .navbar-start > .navbar-item, - .navbar.is-info .navbar-start .navbar-link, - .navbar.is-info .navbar-end > .navbar-item, - .navbar.is-info .navbar-end .navbar-link { - color: #fff; - } - .navbar.is-info .navbar-start > a.navbar-item:focus, .navbar.is-info .navbar-start > a.navbar-item:hover, .navbar.is-info .navbar-start > a.navbar-item.is-active, - .navbar.is-info .navbar-start .navbar-link:focus, - .navbar.is-info .navbar-start .navbar-link:hover, - .navbar.is-info .navbar-start .navbar-link.is-active, - .navbar.is-info .navbar-end > a.navbar-item:focus, - .navbar.is-info .navbar-end > a.navbar-item:hover, - .navbar.is-info .navbar-end > a.navbar-item.is-active, - .navbar.is-info .navbar-end .navbar-link:focus, - .navbar.is-info .navbar-end .navbar-link:hover, - .navbar.is-info .navbar-end .navbar-link.is-active { - background-color: #2160c4; - color: #fff; - } - .navbar.is-info .navbar-start .navbar-link::after, - .navbar.is-info .navbar-end .navbar-link::after { - border-color: #fff; - } - .navbar.is-info .navbar-item.has-dropdown:focus .navbar-link, - .navbar.is-info .navbar-item.has-dropdown:hover .navbar-link, - .navbar.is-info .navbar-item.has-dropdown.is-active .navbar-link { - background-color: #2160c4; - color: #fff; - } - .navbar.is-info .navbar-dropdown a.navbar-item.is-active { - background-color: hsl(217, 71%, 50%); - color: #fff; - } -} -.navbar.is-success { - background-color: hsl(141, 53%, 40%); - color: #fff; -} - -.navbar.is-success .navbar-brand > .navbar-item, -.navbar.is-success .navbar-brand .navbar-link { - color: #fff; -} - -.navbar.is-success .navbar-brand > a.navbar-item:focus, .navbar.is-success .navbar-brand > a.navbar-item:hover, .navbar.is-success .navbar-brand > a.navbar-item.is-active, -.navbar.is-success .navbar-brand .navbar-link:focus, -.navbar.is-success .navbar-brand .navbar-link:hover, -.navbar.is-success .navbar-brand .navbar-link.is-active { - background-color: #2a894b; - color: #fff; -} - -.navbar.is-success .navbar-brand .navbar-link::after { - border-color: #fff; -} - -.navbar.is-success .navbar-burger { - color: #fff; -} - -@media screen and (min-width: 1024px) { - .navbar.is-success .navbar-start > .navbar-item, - .navbar.is-success .navbar-start .navbar-link, - .navbar.is-success .navbar-end > .navbar-item, - .navbar.is-success .navbar-end .navbar-link { - color: #fff; - } - .navbar.is-success .navbar-start > a.navbar-item:focus, .navbar.is-success .navbar-start > a.navbar-item:hover, .navbar.is-success .navbar-start > a.navbar-item.is-active, - .navbar.is-success .navbar-start .navbar-link:focus, - .navbar.is-success .navbar-start .navbar-link:hover, - .navbar.is-success .navbar-start .navbar-link.is-active, - .navbar.is-success .navbar-end > a.navbar-item:focus, - .navbar.is-success .navbar-end > a.navbar-item:hover, - .navbar.is-success .navbar-end > a.navbar-item.is-active, - .navbar.is-success .navbar-end .navbar-link:focus, - .navbar.is-success .navbar-end .navbar-link:hover, - .navbar.is-success .navbar-end .navbar-link.is-active { - background-color: #2a894b; - color: #fff; - } - .navbar.is-success .navbar-start .navbar-link::after, - .navbar.is-success .navbar-end .navbar-link::after { - border-color: #fff; - } - .navbar.is-success .navbar-item.has-dropdown:focus .navbar-link, - .navbar.is-success .navbar-item.has-dropdown:hover .navbar-link, - .navbar.is-success .navbar-item.has-dropdown.is-active .navbar-link { - background-color: #2a894b; - color: #fff; - } - .navbar.is-success .navbar-dropdown a.navbar-item.is-active { - background-color: hsl(141, 53%, 40%); - color: #fff; - } -} -.navbar.is-warning { - background-color: hsl(38, 93%, 50%); - color: #fff; -} - -.navbar.is-warning .navbar-brand > .navbar-item, -.navbar.is-warning .navbar-brand .navbar-link { - color: #fff; -} - -.navbar.is-warning .navbar-brand > a.navbar-item:focus, .navbar.is-warning .navbar-brand > a.navbar-item:hover, .navbar.is-warning .navbar-brand > a.navbar-item.is-active, -.navbar.is-warning .navbar-brand .navbar-link:focus, -.navbar.is-warning .navbar-brand .navbar-link:hover, -.navbar.is-warning .navbar-brand .navbar-link.is-active { - background-color: #dd8f08; - color: #fff; -} - -.navbar.is-warning .navbar-brand .navbar-link::after { - border-color: #fff; -} - -.navbar.is-warning .navbar-burger { - color: #fff; -} - -@media screen and (min-width: 1024px) { - .navbar.is-warning .navbar-start > .navbar-item, - .navbar.is-warning .navbar-start .navbar-link, - .navbar.is-warning .navbar-end > .navbar-item, - .navbar.is-warning .navbar-end .navbar-link { - color: #fff; - } - .navbar.is-warning .navbar-start > a.navbar-item:focus, .navbar.is-warning .navbar-start > a.navbar-item:hover, .navbar.is-warning .navbar-start > a.navbar-item.is-active, - .navbar.is-warning .navbar-start .navbar-link:focus, - .navbar.is-warning .navbar-start .navbar-link:hover, - .navbar.is-warning .navbar-start .navbar-link.is-active, - .navbar.is-warning .navbar-end > a.navbar-item:focus, - .navbar.is-warning .navbar-end > a.navbar-item:hover, - .navbar.is-warning .navbar-end > a.navbar-item.is-active, - .navbar.is-warning .navbar-end .navbar-link:focus, - .navbar.is-warning .navbar-end .navbar-link:hover, - .navbar.is-warning .navbar-end .navbar-link.is-active { - background-color: #dd8f08; - color: #fff; - } - .navbar.is-warning .navbar-start .navbar-link::after, - .navbar.is-warning .navbar-end .navbar-link::after { - border-color: #fff; - } - .navbar.is-warning .navbar-item.has-dropdown:focus .navbar-link, - .navbar.is-warning .navbar-item.has-dropdown:hover .navbar-link, - .navbar.is-warning .navbar-item.has-dropdown.is-active .navbar-link { - background-color: #dd8f08; - color: #fff; - } - .navbar.is-warning .navbar-dropdown a.navbar-item.is-active { - background-color: hsl(38, 93%, 50%); - color: #fff; - } -} -.navbar.is-danger { - background-color: hsl(348, 100%, 40%); - color: #fff; -} - -.navbar.is-danger .navbar-brand > .navbar-item, -.navbar.is-danger .navbar-brand .navbar-link { - color: #fff; -} - -.navbar.is-danger .navbar-brand > a.navbar-item:focus, .navbar.is-danger .navbar-brand > a.navbar-item:hover, .navbar.is-danger .navbar-brand > a.navbar-item.is-active, -.navbar.is-danger .navbar-brand .navbar-link:focus, -.navbar.is-danger .navbar-brand .navbar-link:hover, -.navbar.is-danger .navbar-brand .navbar-link.is-active { - background-color: #b30024; - color: #fff; -} - -.navbar.is-danger .navbar-brand .navbar-link::after { - border-color: #fff; -} - -.navbar.is-danger .navbar-burger { - color: #fff; -} - -@media screen and (min-width: 1024px) { - .navbar.is-danger .navbar-start > .navbar-item, - .navbar.is-danger .navbar-start .navbar-link, - .navbar.is-danger .navbar-end > .navbar-item, - .navbar.is-danger .navbar-end .navbar-link { - color: #fff; - } - .navbar.is-danger .navbar-start > a.navbar-item:focus, .navbar.is-danger .navbar-start > a.navbar-item:hover, .navbar.is-danger .navbar-start > a.navbar-item.is-active, - .navbar.is-danger .navbar-start .navbar-link:focus, - .navbar.is-danger .navbar-start .navbar-link:hover, - .navbar.is-danger .navbar-start .navbar-link.is-active, - .navbar.is-danger .navbar-end > a.navbar-item:focus, - .navbar.is-danger .navbar-end > a.navbar-item:hover, - .navbar.is-danger .navbar-end > a.navbar-item.is-active, - .navbar.is-danger .navbar-end .navbar-link:focus, - .navbar.is-danger .navbar-end .navbar-link:hover, - .navbar.is-danger .navbar-end .navbar-link.is-active { - background-color: #b30024; - color: #fff; - } - .navbar.is-danger .navbar-start .navbar-link::after, - .navbar.is-danger .navbar-end .navbar-link::after { - border-color: #fff; - } - .navbar.is-danger .navbar-item.has-dropdown:focus .navbar-link, - .navbar.is-danger .navbar-item.has-dropdown:hover .navbar-link, - .navbar.is-danger .navbar-item.has-dropdown.is-active .navbar-link { - background-color: #b30024; - color: #fff; - } - .navbar.is-danger .navbar-dropdown a.navbar-item.is-active { - background-color: hsl(348, 100%, 40%); - color: #fff; - } -} -.navbar > .container { - align-items: stretch; - display: flex; - min-height: 3.25rem; - width: 100%; -} - -.navbar.has-shadow { - box-shadow: 0 2px 0 0 hsl(0, 0%, 96%); -} - -.navbar.is-fixed-bottom, .navbar.is-fixed-top { - left: 0; - position: fixed; - right: 0; - z-index: 30; -} - -.navbar.is-fixed-bottom { - bottom: 0; -} - -.navbar.is-fixed-bottom.has-shadow { - box-shadow: 0 -2px 0 0 hsl(0, 0%, 96%); -} - -.navbar.is-fixed-top { - top: 0; -} - -html.has-navbar-fixed-top, -body.has-navbar-fixed-top { - padding-top: 3.25rem; -} - -html.has-navbar-fixed-bottom, -body.has-navbar-fixed-bottom { - padding-bottom: 3.25rem; -} - -.navbar-brand, -.navbar-tabs { - align-items: stretch; - display: flex; - flex-shrink: 0; - min-height: 3.25rem; -} - -.navbar-brand a.navbar-item:focus, .navbar-brand a.navbar-item:hover { - background-color: transparent; -} - -.navbar-tabs { - -webkit-overflow-scrolling: touch; - max-width: 100vw; - overflow-x: auto; - overflow-y: hidden; -} - -.navbar-burger { - color: hsl(0, 0%, 29%); - -moz-appearance: none; - -webkit-appearance: none; - appearance: none; - background: none; - border: none; - cursor: pointer; - display: block; - height: 3.25rem; - position: relative; - width: 3.25rem; - margin-left: auto; -} - -.navbar-burger span { - background-color: currentColor; - display: block; - height: 1px; - left: calc(50% - 8px); - position: absolute; - transform-origin: center; - transition-duration: 86ms; - transition-property: background-color, opacity, transform; - transition-timing-function: ease-out; - width: 16px; -} - -.navbar-burger span:nth-child(1) { - top: calc(50% - 6px); -} - -.navbar-burger span:nth-child(2) { - top: calc(50% - 1px); -} - -.navbar-burger span:nth-child(3) { - top: calc(50% + 4px); -} - -.navbar-burger:hover { - background-color: rgba(0, 0, 0, 0.05); -} - -.navbar-burger.is-active span:nth-child(1) { - transform: translateY(5px) rotate(45deg); -} - -.navbar-burger.is-active span:nth-child(2) { - opacity: 0; -} - -.navbar-burger.is-active span:nth-child(3) { - transform: translateY(-5px) rotate(-45deg); -} - -.navbar-menu { - display: none; -} - -.navbar-item, -.navbar-link { - color: hsl(0, 0%, 29%); - display: block; - line-height: 1.5; - padding: 0.5rem 0.75rem; - position: relative; -} - -.navbar-item .icon:only-child, -.navbar-link .icon:only-child { - margin-left: -0.25rem; - margin-right: -0.25rem; -} - -a.navbar-item, -.navbar-link { - cursor: pointer; -} - -a.navbar-item:focus, a.navbar-item:focus-within, a.navbar-item:hover, a.navbar-item.is-active, -.navbar-link:focus, -.navbar-link:focus-within, -.navbar-link:hover, -.navbar-link.is-active { - background-color: hsl(0, 0%, 98%); - color: hsl(229, 53%, 53%); -} - -.navbar-item { - flex-grow: 0; - flex-shrink: 0; -} - -.navbar-item img { - max-height: 1.75rem; -} - -.navbar-item.has-dropdown { - padding: 0; -} - -.navbar-item.is-expanded { - flex-grow: 1; - flex-shrink: 1; -} - -.navbar-item.is-tab { - border-bottom: 1px solid transparent; - min-height: 3.25rem; - padding-bottom: calc(0.5rem - 1px); -} - -.navbar-item.is-tab:focus, .navbar-item.is-tab:hover { - background-color: transparent; - border-bottom-color: hsl(229, 53%, 53%); -} - -.navbar-item.is-tab.is-active { - background-color: transparent; - border-bottom-color: hsl(229, 53%, 53%); - border-bottom-style: solid; - border-bottom-width: 3px; - color: hsl(229, 53%, 53%); - padding-bottom: calc(0.5rem - 3px); -} - -.navbar-content { - flex-grow: 1; - flex-shrink: 1; -} - -.navbar-link:not(.is-arrowless) { - padding-right: 2.5em; -} - -.navbar-link:not(.is-arrowless)::after { - border-color: hsl(229, 53%, 53%); - margin-top: -0.375em; - right: 1.125em; -} - -.navbar-dropdown { - font-size: 0.875rem; - padding-bottom: 0.5rem; - padding-top: 0.5rem; -} - -.navbar-dropdown .navbar-item { - padding-left: 1.5rem; - padding-right: 1.5rem; -} - -.navbar-divider { - background-color: hsl(0, 0%, 96%); - border: none; - display: none; - height: 2px; - margin: 0.5rem 0; -} - -@media screen and (max-width: 1023px) { - .navbar > .container { - display: block; - } - .navbar-brand .navbar-item, - .navbar-tabs .navbar-item { - align-items: center; - display: flex; - } - .navbar-link::after { - display: none; - } - .navbar-menu { - background-color: hsl(0, 0%, 100%); - box-shadow: 0 8px 16px rgba(10, 10, 10, 0.1); - padding: 0.5rem 0; - } - .navbar-menu.is-active { - display: block; - } - .navbar.is-fixed-bottom-touch, .navbar.is-fixed-top-touch { - left: 0; - position: fixed; - right: 0; - z-index: 30; - } - .navbar.is-fixed-bottom-touch { - bottom: 0; - } - .navbar.is-fixed-bottom-touch.has-shadow { - box-shadow: 0 -2px 3px rgba(10, 10, 10, 0.1); - } - .navbar.is-fixed-top-touch { - top: 0; - } - .navbar.is-fixed-top .navbar-menu, .navbar.is-fixed-top-touch .navbar-menu { - -webkit-overflow-scrolling: touch; - max-height: calc(100vh - 3.25rem); - overflow: auto; - } - html.has-navbar-fixed-top-touch, - body.has-navbar-fixed-top-touch { - padding-top: 3.25rem; - } - html.has-navbar-fixed-bottom-touch, - body.has-navbar-fixed-bottom-touch { - padding-bottom: 3.25rem; - } -} -@media screen and (min-width: 1024px) { - .navbar, - .navbar-menu, - .navbar-start, - .navbar-end { - align-items: stretch; - display: flex; - } - .navbar { - min-height: 3.25rem; - } - .navbar.is-spaced { - padding: 1rem 2rem; - } - .navbar.is-spaced .navbar-start, - .navbar.is-spaced .navbar-end { - align-items: center; - } - .navbar.is-spaced a.navbar-item, - .navbar.is-spaced .navbar-link { - border-radius: 4px; - } - .navbar.is-transparent a.navbar-item:focus, .navbar.is-transparent a.navbar-item:hover, .navbar.is-transparent a.navbar-item.is-active, - .navbar.is-transparent .navbar-link:focus, - .navbar.is-transparent .navbar-link:hover, - .navbar.is-transparent .navbar-link.is-active { - background-color: transparent !important; - } - .navbar.is-transparent .navbar-item.has-dropdown.is-active .navbar-link, .navbar.is-transparent .navbar-item.has-dropdown.is-hoverable:focus .navbar-link, .navbar.is-transparent .navbar-item.has-dropdown.is-hoverable:focus-within .navbar-link, .navbar.is-transparent .navbar-item.has-dropdown.is-hoverable:hover .navbar-link { - background-color: transparent !important; - } - .navbar.is-transparent .navbar-dropdown a.navbar-item:focus, .navbar.is-transparent .navbar-dropdown a.navbar-item:hover { - background-color: hsl(0, 0%, 96%); - color: hsl(0, 0%, 4%); - } - .navbar.is-transparent .navbar-dropdown a.navbar-item.is-active { - background-color: hsl(0, 0%, 96%); - color: hsl(229, 53%, 53%); - } - .navbar-burger { - display: none; - } - .navbar-item, - .navbar-link { - align-items: center; - display: flex; - } - .navbar-item.has-dropdown { - align-items: stretch; - } - .navbar-item.has-dropdown-up .navbar-link::after { - transform: rotate(135deg) translate(0.25em, -0.25em); - } - .navbar-item.has-dropdown-up .navbar-dropdown { - border-bottom: 2px solid hsl(0, 0%, 86%); - border-radius: 6px 6px 0 0; - border-top: none; - bottom: 100%; - box-shadow: 0 -8px 8px rgba(10, 10, 10, 0.1); - top: auto; - } - .navbar-item.is-active .navbar-dropdown, .navbar-item.is-hoverable:focus .navbar-dropdown, .navbar-item.is-hoverable:focus-within .navbar-dropdown, .navbar-item.is-hoverable:hover .navbar-dropdown { - display: block; - } - .navbar.is-spaced .navbar-item.is-active .navbar-dropdown, .navbar-item.is-active .navbar-dropdown.is-boxed, .navbar.is-spaced .navbar-item.is-hoverable:focus .navbar-dropdown, .navbar-item.is-hoverable:focus .navbar-dropdown.is-boxed, .navbar.is-spaced .navbar-item.is-hoverable:focus-within .navbar-dropdown, .navbar-item.is-hoverable:focus-within .navbar-dropdown.is-boxed, .navbar.is-spaced .navbar-item.is-hoverable:hover .navbar-dropdown, .navbar-item.is-hoverable:hover .navbar-dropdown.is-boxed { - opacity: 1; - pointer-events: auto; - transform: translateY(0); - } - .navbar-menu { - flex-grow: 1; - flex-shrink: 0; - } - .navbar-start { - justify-content: flex-start; - margin-right: auto; - } - .navbar-end { - justify-content: flex-end; - margin-left: auto; - } - .navbar-dropdown { - background-color: hsl(0, 0%, 100%); - border-bottom-left-radius: 6px; - border-bottom-right-radius: 6px; - border-top: 2px solid hsl(0, 0%, 86%); - box-shadow: 0 8px 8px rgba(10, 10, 10, 0.1); - display: none; - font-size: 0.875rem; - left: 0; - min-width: 100%; - position: absolute; - top: 100%; - z-index: 20; - } - .navbar-dropdown .navbar-item { - padding: 0.375rem 1rem; - white-space: nowrap; - } - .navbar-dropdown a.navbar-item { - padding-right: 3rem; - } - .navbar-dropdown a.navbar-item:focus, .navbar-dropdown a.navbar-item:hover { - background-color: hsl(0, 0%, 96%); - color: hsl(0, 0%, 4%); - } - .navbar-dropdown a.navbar-item.is-active { - background-color: hsl(0, 0%, 96%); - color: hsl(229, 53%, 53%); - } - .navbar.is-spaced .navbar-dropdown, .navbar-dropdown.is-boxed { - border-radius: 6px; - border-top: none; - box-shadow: 0 8px 8px rgba(10, 10, 10, 0.1), 0 0 0 1px rgba(10, 10, 10, 0.1); - display: block; - opacity: 0; - pointer-events: none; - top: calc(100% - 4px); - transform: translateY(-5px); - transition-duration: 86ms; - transition-property: opacity, transform; - } - .navbar-dropdown.is-right { - left: auto; - right: 0; - } - .navbar-divider { - display: block; - } - .navbar > .container .navbar-brand, - .container > .navbar .navbar-brand { - margin-left: -0.75rem; - } - .navbar > .container .navbar-menu, - .container > .navbar .navbar-menu { - margin-right: -0.75rem; - } - .navbar.is-fixed-bottom-desktop, .navbar.is-fixed-top-desktop { - left: 0; - position: fixed; - right: 0; - z-index: 30; - } - .navbar.is-fixed-bottom-desktop { - bottom: 0; - } - .navbar.is-fixed-bottom-desktop.has-shadow { - box-shadow: 0 -2px 3px rgba(10, 10, 10, 0.1); - } - .navbar.is-fixed-top-desktop { - top: 0; - } - html.has-navbar-fixed-top-desktop, - body.has-navbar-fixed-top-desktop { - padding-top: 3.25rem; - } - html.has-navbar-fixed-bottom-desktop, - body.has-navbar-fixed-bottom-desktop { - padding-bottom: 3.25rem; - } - html.has-spaced-navbar-fixed-top, - body.has-spaced-navbar-fixed-top { - padding-top: 5.25rem; - } - html.has-spaced-navbar-fixed-bottom, - body.has-spaced-navbar-fixed-bottom { - padding-bottom: 5.25rem; - } - a.navbar-item.is-active, - .navbar-link.is-active { - color: hsl(0, 0%, 4%); - } - a.navbar-item.is-active:not(:focus):not(:hover), - .navbar-link.is-active:not(:focus):not(:hover) { - background-color: transparent; - } - .navbar-item.has-dropdown:focus .navbar-link, .navbar-item.has-dropdown:hover .navbar-link, .navbar-item.has-dropdown.is-active .navbar-link { - background-color: hsl(0, 0%, 98%); - } -} -.hero.is-fullheight-with-navbar { - min-height: calc(100vh - 3.25rem); -} - -.pagination { - font-size: 1rem; - margin: -0.25rem; -} - -.pagination.is-small { - font-size: 0.846rem; -} - -.pagination.is-medium { - font-size: 1.213rem; -} - -.pagination.is-large { - font-size: 1.385rem; -} - -.pagination.is-rounded .pagination-previous, -.pagination.is-rounded .pagination-next { - padding-left: 1em; - padding-right: 1em; - border-radius: 9999px; -} - -.pagination.is-rounded .pagination-link { - border-radius: 9999px; -} - -.pagination, -.pagination-list { - align-items: center; - display: flex; - justify-content: center; - text-align: center; -} - -.pagination-previous, -.pagination-next, -.pagination-link, -.pagination-ellipsis { - font-size: 1em; - justify-content: center; - margin: 0.25rem; - padding-left: 0.5em; - padding-right: 0.5em; - text-align: center; -} - -.pagination-previous, -.pagination-next, -.pagination-link { - border-color: hsl(0, 0%, 86%); - color: hsl(0, 0%, 21%); - min-width: 2.5em; -} - -.pagination-previous:hover, -.pagination-next:hover, -.pagination-link:hover { - border-color: hsl(0, 0%, 71%); - color: hsl(0, 0%, 21%); -} - -.pagination-previous:focus, -.pagination-next:focus, -.pagination-link:focus { - border-color: hsl(229, 53%, 53%); -} - -.pagination-previous:active, -.pagination-next:active, -.pagination-link:active { - box-shadow: inset 0 1px 2px rgba(10, 10, 10, 0.2); -} - -.pagination-previous[disabled], .pagination-previous.is-disabled, -.pagination-next[disabled], -.pagination-next.is-disabled, -.pagination-link[disabled], -.pagination-link.is-disabled { - background-color: hsl(0, 0%, 86%); - border-color: hsl(0, 0%, 86%); - box-shadow: none; - color: hsl(0, 0%, 48%); - opacity: 0.5; -} - -.pagination-previous, -.pagination-next { - padding-left: 0.75em; - padding-right: 0.75em; - white-space: nowrap; -} - -.pagination-link.is-current { - background-color: hsl(229, 53%, 53%); - border-color: hsl(229, 53%, 53%); - color: #fff; -} - -.pagination-ellipsis { - color: hsl(0, 0%, 71%); - pointer-events: none; -} - -.pagination-list { - flex-wrap: wrap; -} - -.pagination-list li { - list-style: none; -} - -@media screen and (max-width: 768px) { - .pagination { - flex-wrap: wrap; - } - .pagination-previous, - .pagination-next { - flex-grow: 1; - flex-shrink: 1; - } - .pagination-list li { - flex-grow: 1; - flex-shrink: 1; - } -} -@media screen and (min-width: 769px), print { - .pagination-list { - flex-grow: 1; - flex-shrink: 1; - justify-content: flex-start; - order: 1; - } - .pagination-previous, - .pagination-next, - .pagination-link, - .pagination-ellipsis { - margin-bottom: 0; - margin-top: 0; - } - .pagination-previous { - order: 2; - } - .pagination-next { - order: 3; - } - .pagination { - justify-content: space-between; - margin-bottom: 0; - margin-top: 0; - } - .pagination.is-centered .pagination-previous { - order: 1; - } - .pagination.is-centered .pagination-list { - justify-content: center; - order: 2; - } - .pagination.is-centered .pagination-next { - order: 3; - } - .pagination.is-right .pagination-previous { - order: 1; - } - .pagination.is-right .pagination-next { - order: 2; - } - .pagination.is-right .pagination-list { - justify-content: flex-end; - order: 3; - } -} -.panel { - border-radius: 6px; - box-shadow: 0 0.5em 1em -0.125em rgba(10, 10, 10, 0.1), 0 0px 0 1px rgba(10, 10, 10, 0.02); - font-size: 1rem; -} - -.panel:not(:last-child) { - margin-bottom: 1.5rem; -} - -.panel.is-white .panel-heading { - background-color: hsl(0, 0%, 100%); - color: hsl(0, 0%, 4%); -} - -.panel.is-white .panel-tabs a.is-active { - border-bottom-color: hsl(0, 0%, 100%); -} - -.panel.is-white .panel-block.is-active .panel-icon { - color: hsl(0, 0%, 100%); -} - -.panel.is-black .panel-heading { - background-color: hsl(0, 0%, 4%); - color: hsl(0, 0%, 100%); -} - -.panel.is-black .panel-tabs a.is-active { - border-bottom-color: hsl(0, 0%, 4%); -} - -.panel.is-black .panel-block.is-active .panel-icon { - color: hsl(0, 0%, 4%); -} - -.panel.is-light .panel-heading { - background-color: hsl(0, 0%, 96%); - color: rgba(0, 0, 0, 0.7); -} - -.panel.is-light .panel-tabs a.is-active { - border-bottom-color: hsl(0, 0%, 96%); -} - -.panel.is-light .panel-block.is-active .panel-icon { - color: hsl(0, 0%, 96%); -} - -.panel.is-dark .panel-heading { - background-color: hsl(0, 0%, 21%); - color: #fff; -} - -.panel.is-dark .panel-tabs a.is-active { - border-bottom-color: hsl(0, 0%, 21%); -} - -.panel.is-dark .panel-block.is-active .panel-icon { - color: hsl(0, 0%, 21%); -} - -.panel.is-primary .panel-heading { - background-color: hsl(171, 100%, 41%); - color: #fff; -} - -.panel.is-primary .panel-tabs a.is-active { - border-bottom-color: hsl(171, 100%, 41%); -} - -.panel.is-primary .panel-block.is-active .panel-icon { - color: hsl(171, 100%, 41%); -} - -.panel.is-link .panel-heading { - background-color: hsl(229, 53%, 53%); - color: #fff; -} - -.panel.is-link .panel-tabs a.is-active { - border-bottom-color: hsl(229, 53%, 53%); -} - -.panel.is-link .panel-block.is-active .panel-icon { - color: hsl(229, 53%, 53%); -} - -.panel.is-info .panel-heading { - background-color: hsl(217, 71%, 50%); - color: #fff; -} - -.panel.is-info .panel-tabs a.is-active { - border-bottom-color: hsl(217, 71%, 50%); -} - -.panel.is-info .panel-block.is-active .panel-icon { - color: hsl(217, 71%, 50%); -} - -.panel.is-success .panel-heading { - background-color: hsl(141, 53%, 40%); - color: #fff; -} - -.panel.is-success .panel-tabs a.is-active { - border-bottom-color: hsl(141, 53%, 40%); -} - -.panel.is-success .panel-block.is-active .panel-icon { - color: hsl(141, 53%, 40%); -} - -.panel.is-warning .panel-heading { - background-color: hsl(38, 93%, 50%); - color: #fff; -} - -.panel.is-warning .panel-tabs a.is-active { - border-bottom-color: hsl(38, 93%, 50%); -} - -.panel.is-warning .panel-block.is-active .panel-icon { - color: hsl(38, 93%, 50%); -} - -.panel.is-danger .panel-heading { - background-color: hsl(348, 100%, 40%); - color: #fff; -} - -.panel.is-danger .panel-tabs a.is-active { - border-bottom-color: hsl(348, 100%, 40%); -} - -.panel.is-danger .panel-block.is-active .panel-icon { - color: hsl(348, 100%, 40%); -} - -.panel-tabs:not(:last-child), -.panel-block:not(:last-child) { - border-bottom: 1px solid hsl(0, 0%, 93%); -} - -.panel-heading { - background-color: hsl(0, 0%, 93%); - border-radius: 6px 6px 0 0; - color: hsl(0, 0%, 21%); - font-size: 1.25em; - font-weight: 700; - line-height: 1.25; - padding: 0.75em 1em; -} - -.panel-tabs { - align-items: flex-end; - display: flex; - font-size: 0.875em; - justify-content: center; -} - -.panel-tabs a { - border-bottom: 1px solid hsl(0, 0%, 86%); - margin-bottom: -1px; - padding: 0.5em; -} - -.panel-tabs a.is-active { - border-bottom-color: hsl(0, 0%, 29%); - color: hsl(0, 0%, 21%); -} - -.panel-list a { - color: hsl(0, 0%, 29%); -} - -.panel-list a:hover { - color: hsl(229, 53%, 53%); -} - -.panel-block { - align-items: center; - color: hsl(0, 0%, 21%); - display: flex; - justify-content: flex-start; - padding: 0.5em 0.75em; -} - -.panel-block input[type=checkbox] { - margin-right: 0.75em; -} - -.panel-block > .control { - flex-grow: 1; - flex-shrink: 1; - width: 100%; -} - -.panel-block.is-wrapped { - flex-wrap: wrap; -} - -.panel-block.is-active { - border-left-color: hsl(229, 53%, 53%); - color: hsl(0, 0%, 21%); -} - -.panel-block.is-active .panel-icon { - color: hsl(229, 53%, 53%); -} - -.panel-block:last-child { - border-bottom-left-radius: 6px; - border-bottom-right-radius: 6px; -} - -a.panel-block, -label.panel-block { - cursor: pointer; -} - -a.panel-block:hover, -label.panel-block:hover { - background-color: hsl(0, 0%, 96%); -} - -.panel-icon { - display: inline-block; - font-size: 14px; - height: 1em; - line-height: 1em; - text-align: center; - vertical-align: top; - width: 1em; - color: hsl(0, 0%, 48%); - margin-right: 0.75em; -} - -.panel-icon .fa { - font-size: inherit; - line-height: inherit; -} - -.tabs { - -webkit-overflow-scrolling: touch; - align-items: stretch; - display: flex; - font-size: 1rem; - justify-content: space-between; - overflow: hidden; - overflow-x: auto; - white-space: nowrap; -} - -.tabs a { - align-items: center; - border-bottom-color: hsl(0, 0%, 86%); - border-bottom-style: solid; - border-bottom-width: 1px; - color: hsl(0, 0%, 29%); - display: flex; - justify-content: center; - margin-bottom: -1px; - padding: 0.5em 1em; - vertical-align: top; -} - -.tabs a:hover { - border-bottom-color: hsl(0, 0%, 21%); - color: hsl(0, 0%, 21%); -} - -.tabs li { - display: block; -} - -.tabs li.is-active a { - border-bottom-color: hsl(229, 53%, 53%); - color: hsl(229, 53%, 53%); -} - -.tabs ul { - align-items: center; - border-bottom-color: hsl(0, 0%, 86%); - border-bottom-style: solid; - border-bottom-width: 1px; - display: flex; - flex-grow: 1; - flex-shrink: 0; - justify-content: flex-start; -} - -.tabs ul.is-left { - padding-right: 0.75em; -} - -.tabs ul.is-center { - flex: none; - justify-content: center; - padding-left: 0.75em; - padding-right: 0.75em; -} - -.tabs ul.is-right { - justify-content: flex-end; - padding-left: 0.75em; -} - -.tabs .icon:first-child { - margin-right: 0.5em; -} - -.tabs .icon:last-child { - margin-left: 0.5em; -} - -.tabs.is-centered ul { - justify-content: center; -} - -.tabs.is-right ul { - justify-content: flex-end; -} - -.tabs.is-boxed a { - border: 1px solid transparent; - border-radius: 4px 4px 0 0; -} - -.tabs.is-boxed a:hover { - background-color: hsl(0, 0%, 96%); - border-bottom-color: hsl(0, 0%, 86%); -} - -.tabs.is-boxed li.is-active a { - background-color: hsl(0, 0%, 100%); - border-color: hsl(0, 0%, 86%); - border-bottom-color: transparent !important; -} - -.tabs.is-fullwidth li { - flex-grow: 1; - flex-shrink: 0; -} - -.tabs.is-toggle a { - border-color: hsl(0, 0%, 86%); - border-style: solid; - border-width: 1px; - margin-bottom: 0; - position: relative; -} - -.tabs.is-toggle a:hover { - background-color: hsl(0, 0%, 96%); - border-color: hsl(0, 0%, 71%); - z-index: 2; -} - -.tabs.is-toggle li + li { - margin-left: -1px; -} - -.tabs.is-toggle li:first-child a { - border-top-left-radius: 4px; - border-bottom-left-radius: 4px; -} - -.tabs.is-toggle li:last-child a { - border-top-right-radius: 4px; - border-bottom-right-radius: 4px; -} - -.tabs.is-toggle li.is-active a { - background-color: hsl(229, 53%, 53%); - border-color: hsl(229, 53%, 53%); - color: #fff; - z-index: 1; -} - -.tabs.is-toggle ul { - border-bottom: none; -} - -.tabs.is-toggle.is-toggle-rounded li:first-child a { - border-bottom-left-radius: 9999px; - border-top-left-radius: 9999px; - padding-left: 1.25em; -} - -.tabs.is-toggle.is-toggle-rounded li:last-child a { - border-bottom-right-radius: 9999px; - border-top-right-radius: 9999px; - padding-right: 1.25em; -} - -.tabs.is-small { - font-size: 0.846rem; -} - -.tabs.is-medium { - font-size: 1.213rem; -} - -.tabs.is-large { - font-size: 1.385rem; -} - -/* Bulma Grid */ -.column { - display: block; - flex-basis: 0; - flex-grow: 1; - flex-shrink: 1; - padding: 0.75rem; -} - -.columns.is-mobile > .column.is-narrow { - flex: none; - width: unset; -} - -.columns.is-mobile > .column.is-full { - flex: none; - width: 100%; -} - -.columns.is-mobile > .column.is-three-quarters { - flex: none; - width: 75%; -} - -.columns.is-mobile > .column.is-two-thirds { - flex: none; - width: 66.6666%; -} - -.columns.is-mobile > .column.is-half { - flex: none; - width: 50%; -} - -.columns.is-mobile > .column.is-one-third { - flex: none; - width: 33.3333%; -} - -.columns.is-mobile > .column.is-one-quarter { - flex: none; - width: 25%; -} - -.columns.is-mobile > .column.is-one-fifth { - flex: none; - width: 20%; -} - -.columns.is-mobile > .column.is-two-fifths { - flex: none; - width: 40%; -} - -.columns.is-mobile > .column.is-three-fifths { - flex: none; - width: 60%; -} - -.columns.is-mobile > .column.is-four-fifths { - flex: none; - width: 80%; -} - -.columns.is-mobile > .column.is-offset-three-quarters { - margin-left: 75%; -} - -.columns.is-mobile > .column.is-offset-two-thirds { - margin-left: 66.6666%; -} - -.columns.is-mobile > .column.is-offset-half { - margin-left: 50%; -} - -.columns.is-mobile > .column.is-offset-one-third { - margin-left: 33.3333%; -} - -.columns.is-mobile > .column.is-offset-one-quarter { - margin-left: 25%; -} - -.columns.is-mobile > .column.is-offset-one-fifth { - margin-left: 20%; -} - -.columns.is-mobile > .column.is-offset-two-fifths { - margin-left: 40%; -} - -.columns.is-mobile > .column.is-offset-three-fifths { - margin-left: 60%; -} - -.columns.is-mobile > .column.is-offset-four-fifths { - margin-left: 80%; -} - -.columns.is-mobile > .column.is-0 { - flex: none; - width: 0%; -} - -.columns.is-mobile > .column.is-offset-0 { - margin-left: 0%; -} - -.columns.is-mobile > .column.is-1 { - flex: none; - width: 8.33333337%; -} - -.columns.is-mobile > .column.is-offset-1 { - margin-left: 8.33333337%; -} - -.columns.is-mobile > .column.is-2 { - flex: none; - width: 16.66666674%; -} - -.columns.is-mobile > .column.is-offset-2 { - margin-left: 16.66666674%; -} - -.columns.is-mobile > .column.is-3 { - flex: none; - width: 25%; -} - -.columns.is-mobile > .column.is-offset-3 { - margin-left: 25%; -} - -.columns.is-mobile > .column.is-4 { - flex: none; - width: 33.33333337%; -} - -.columns.is-mobile > .column.is-offset-4 { - margin-left: 33.33333337%; -} - -.columns.is-mobile > .column.is-5 { - flex: none; - width: 41.66666674%; -} - -.columns.is-mobile > .column.is-offset-5 { - margin-left: 41.66666674%; -} - -.columns.is-mobile > .column.is-6 { - flex: none; - width: 50%; -} - -.columns.is-mobile > .column.is-offset-6 { - margin-left: 50%; -} - -.columns.is-mobile > .column.is-7 { - flex: none; - width: 58.33333337%; -} - -.columns.is-mobile > .column.is-offset-7 { - margin-left: 58.33333337%; -} - -.columns.is-mobile > .column.is-8 { - flex: none; - width: 66.66666674%; -} - -.columns.is-mobile > .column.is-offset-8 { - margin-left: 66.66666674%; -} - -.columns.is-mobile > .column.is-9 { - flex: none; - width: 75%; -} - -.columns.is-mobile > .column.is-offset-9 { - margin-left: 75%; -} - -.columns.is-mobile > .column.is-10 { - flex: none; - width: 83.33333337%; -} - -.columns.is-mobile > .column.is-offset-10 { - margin-left: 83.33333337%; -} - -.columns.is-mobile > .column.is-11 { - flex: none; - width: 91.66666674%; -} - -.columns.is-mobile > .column.is-offset-11 { - margin-left: 91.66666674%; -} - -.columns.is-mobile > .column.is-12 { - flex: none; - width: 100%; -} - -.columns.is-mobile > .column.is-offset-12 { - margin-left: 100%; -} - -@media screen and (max-width: 768px) { - .column.is-narrow-mobile { - flex: none; - width: unset; - } - .column.is-full-mobile { - flex: none; - width: 100%; - } - .column.is-three-quarters-mobile { - flex: none; - width: 75%; - } - .column.is-two-thirds-mobile { - flex: none; - width: 66.6666%; - } - .column.is-half-mobile { - flex: none; - width: 50%; - } - .column.is-one-third-mobile { - flex: none; - width: 33.3333%; - } - .column.is-one-quarter-mobile { - flex: none; - width: 25%; - } - .column.is-one-fifth-mobile { - flex: none; - width: 20%; - } - .column.is-two-fifths-mobile { - flex: none; - width: 40%; - } - .column.is-three-fifths-mobile { - flex: none; - width: 60%; - } - .column.is-four-fifths-mobile { - flex: none; - width: 80%; - } - .column.is-offset-three-quarters-mobile { - margin-left: 75%; - } - .column.is-offset-two-thirds-mobile { - margin-left: 66.6666%; - } - .column.is-offset-half-mobile { - margin-left: 50%; - } - .column.is-offset-one-third-mobile { - margin-left: 33.3333%; - } - .column.is-offset-one-quarter-mobile { - margin-left: 25%; - } - .column.is-offset-one-fifth-mobile { - margin-left: 20%; - } - .column.is-offset-two-fifths-mobile { - margin-left: 40%; - } - .column.is-offset-three-fifths-mobile { - margin-left: 60%; - } - .column.is-offset-four-fifths-mobile { - margin-left: 80%; - } - .column.is-0-mobile { - flex: none; - width: 0%; - } - .column.is-offset-0-mobile { - margin-left: 0%; - } - .column.is-1-mobile { - flex: none; - width: 8.33333337%; - } - .column.is-offset-1-mobile { - margin-left: 8.33333337%; - } - .column.is-2-mobile { - flex: none; - width: 16.66666674%; - } - .column.is-offset-2-mobile { - margin-left: 16.66666674%; - } - .column.is-3-mobile { - flex: none; - width: 25%; - } - .column.is-offset-3-mobile { - margin-left: 25%; - } - .column.is-4-mobile { - flex: none; - width: 33.33333337%; - } - .column.is-offset-4-mobile { - margin-left: 33.33333337%; - } - .column.is-5-mobile { - flex: none; - width: 41.66666674%; - } - .column.is-offset-5-mobile { - margin-left: 41.66666674%; - } - .column.is-6-mobile { - flex: none; - width: 50%; - } - .column.is-offset-6-mobile { - margin-left: 50%; - } - .column.is-7-mobile { - flex: none; - width: 58.33333337%; - } - .column.is-offset-7-mobile { - margin-left: 58.33333337%; - } - .column.is-8-mobile { - flex: none; - width: 66.66666674%; - } - .column.is-offset-8-mobile { - margin-left: 66.66666674%; - } - .column.is-9-mobile { - flex: none; - width: 75%; - } - .column.is-offset-9-mobile { - margin-left: 75%; - } - .column.is-10-mobile { - flex: none; - width: 83.33333337%; - } - .column.is-offset-10-mobile { - margin-left: 83.33333337%; - } - .column.is-11-mobile { - flex: none; - width: 91.66666674%; - } - .column.is-offset-11-mobile { - margin-left: 91.66666674%; - } - .column.is-12-mobile { - flex: none; - width: 100%; - } - .column.is-offset-12-mobile { - margin-left: 100%; - } -} -@media screen and (min-width: 769px), print { - .column.is-narrow, .column.is-narrow-tablet { - flex: none; - width: unset; - } - .column.is-full, .column.is-full-tablet { - flex: none; - width: 100%; - } - .column.is-three-quarters, .column.is-three-quarters-tablet { - flex: none; - width: 75%; - } - .column.is-two-thirds, .column.is-two-thirds-tablet { - flex: none; - width: 66.6666%; - } - .column.is-half, .column.is-half-tablet { - flex: none; - width: 50%; - } - .column.is-one-third, .column.is-one-third-tablet { - flex: none; - width: 33.3333%; - } - .column.is-one-quarter, .column.is-one-quarter-tablet { - flex: none; - width: 25%; - } - .column.is-one-fifth, .column.is-one-fifth-tablet { - flex: none; - width: 20%; - } - .column.is-two-fifths, .column.is-two-fifths-tablet { - flex: none; - width: 40%; - } - .column.is-three-fifths, .column.is-three-fifths-tablet { - flex: none; - width: 60%; - } - .column.is-four-fifths, .column.is-four-fifths-tablet { - flex: none; - width: 80%; - } - .column.is-offset-three-quarters, .column.is-offset-three-quarters-tablet { - margin-left: 75%; - } - .column.is-offset-two-thirds, .column.is-offset-two-thirds-tablet { - margin-left: 66.6666%; - } - .column.is-offset-half, .column.is-offset-half-tablet { - margin-left: 50%; - } - .column.is-offset-one-third, .column.is-offset-one-third-tablet { - margin-left: 33.3333%; - } - .column.is-offset-one-quarter, .column.is-offset-one-quarter-tablet { - margin-left: 25%; - } - .column.is-offset-one-fifth, .column.is-offset-one-fifth-tablet { - margin-left: 20%; - } - .column.is-offset-two-fifths, .column.is-offset-two-fifths-tablet { - margin-left: 40%; - } - .column.is-offset-three-fifths, .column.is-offset-three-fifths-tablet { - margin-left: 60%; - } - .column.is-offset-four-fifths, .column.is-offset-four-fifths-tablet { - margin-left: 80%; - } - .column.is-0, .column.is-0-tablet { - flex: none; - width: 0%; - } - .column.is-offset-0, .column.is-offset-0-tablet { - margin-left: 0%; - } - .column.is-1, .column.is-1-tablet { - flex: none; - width: 8.33333337%; - } - .column.is-offset-1, .column.is-offset-1-tablet { - margin-left: 8.33333337%; - } - .column.is-2, .column.is-2-tablet { - flex: none; - width: 16.66666674%; - } - .column.is-offset-2, .column.is-offset-2-tablet { - margin-left: 16.66666674%; - } - .column.is-3, .column.is-3-tablet { - flex: none; - width: 25%; - } - .column.is-offset-3, .column.is-offset-3-tablet { - margin-left: 25%; - } - .column.is-4, .column.is-4-tablet { - flex: none; - width: 33.33333337%; - } - .column.is-offset-4, .column.is-offset-4-tablet { - margin-left: 33.33333337%; - } - .column.is-5, .column.is-5-tablet { - flex: none; - width: 41.66666674%; - } - .column.is-offset-5, .column.is-offset-5-tablet { - margin-left: 41.66666674%; - } - .column.is-6, .column.is-6-tablet { - flex: none; - width: 50%; - } - .column.is-offset-6, .column.is-offset-6-tablet { - margin-left: 50%; - } - .column.is-7, .column.is-7-tablet { - flex: none; - width: 58.33333337%; - } - .column.is-offset-7, .column.is-offset-7-tablet { - margin-left: 58.33333337%; - } - .column.is-8, .column.is-8-tablet { - flex: none; - width: 66.66666674%; - } - .column.is-offset-8, .column.is-offset-8-tablet { - margin-left: 66.66666674%; - } - .column.is-9, .column.is-9-tablet { - flex: none; - width: 75%; - } - .column.is-offset-9, .column.is-offset-9-tablet { - margin-left: 75%; - } - .column.is-10, .column.is-10-tablet { - flex: none; - width: 83.33333337%; - } - .column.is-offset-10, .column.is-offset-10-tablet { - margin-left: 83.33333337%; - } - .column.is-11, .column.is-11-tablet { - flex: none; - width: 91.66666674%; - } - .column.is-offset-11, .column.is-offset-11-tablet { - margin-left: 91.66666674%; - } - .column.is-12, .column.is-12-tablet { - flex: none; - width: 100%; - } - .column.is-offset-12, .column.is-offset-12-tablet { - margin-left: 100%; - } -} -@media screen and (max-width: 1023px) { - .column.is-narrow-touch { - flex: none; - width: unset; - } - .column.is-full-touch { - flex: none; - width: 100%; - } - .column.is-three-quarters-touch { - flex: none; - width: 75%; - } - .column.is-two-thirds-touch { - flex: none; - width: 66.6666%; - } - .column.is-half-touch { - flex: none; - width: 50%; - } - .column.is-one-third-touch { - flex: none; - width: 33.3333%; - } - .column.is-one-quarter-touch { - flex: none; - width: 25%; - } - .column.is-one-fifth-touch { - flex: none; - width: 20%; - } - .column.is-two-fifths-touch { - flex: none; - width: 40%; - } - .column.is-three-fifths-touch { - flex: none; - width: 60%; - } - .column.is-four-fifths-touch { - flex: none; - width: 80%; - } - .column.is-offset-three-quarters-touch { - margin-left: 75%; - } - .column.is-offset-two-thirds-touch { - margin-left: 66.6666%; - } - .column.is-offset-half-touch { - margin-left: 50%; - } - .column.is-offset-one-third-touch { - margin-left: 33.3333%; - } - .column.is-offset-one-quarter-touch { - margin-left: 25%; - } - .column.is-offset-one-fifth-touch { - margin-left: 20%; - } - .column.is-offset-two-fifths-touch { - margin-left: 40%; - } - .column.is-offset-three-fifths-touch { - margin-left: 60%; - } - .column.is-offset-four-fifths-touch { - margin-left: 80%; - } - .column.is-0-touch { - flex: none; - width: 0%; - } - .column.is-offset-0-touch { - margin-left: 0%; - } - .column.is-1-touch { - flex: none; - width: 8.33333337%; - } - .column.is-offset-1-touch { - margin-left: 8.33333337%; - } - .column.is-2-touch { - flex: none; - width: 16.66666674%; - } - .column.is-offset-2-touch { - margin-left: 16.66666674%; - } - .column.is-3-touch { - flex: none; - width: 25%; - } - .column.is-offset-3-touch { - margin-left: 25%; - } - .column.is-4-touch { - flex: none; - width: 33.33333337%; - } - .column.is-offset-4-touch { - margin-left: 33.33333337%; - } - .column.is-5-touch { - flex: none; - width: 41.66666674%; - } - .column.is-offset-5-touch { - margin-left: 41.66666674%; - } - .column.is-6-touch { - flex: none; - width: 50%; - } - .column.is-offset-6-touch { - margin-left: 50%; - } - .column.is-7-touch { - flex: none; - width: 58.33333337%; - } - .column.is-offset-7-touch { - margin-left: 58.33333337%; - } - .column.is-8-touch { - flex: none; - width: 66.66666674%; - } - .column.is-offset-8-touch { - margin-left: 66.66666674%; - } - .column.is-9-touch { - flex: none; - width: 75%; - } - .column.is-offset-9-touch { - margin-left: 75%; - } - .column.is-10-touch { - flex: none; - width: 83.33333337%; - } - .column.is-offset-10-touch { - margin-left: 83.33333337%; - } - .column.is-11-touch { - flex: none; - width: 91.66666674%; - } - .column.is-offset-11-touch { - margin-left: 91.66666674%; - } - .column.is-12-touch { - flex: none; - width: 100%; - } - .column.is-offset-12-touch { - margin-left: 100%; - } -} -@media screen and (min-width: 1024px) { - .column.is-narrow-desktop { - flex: none; - width: unset; - } - .column.is-full-desktop { - flex: none; - width: 100%; - } - .column.is-three-quarters-desktop { - flex: none; - width: 75%; - } - .column.is-two-thirds-desktop { - flex: none; - width: 66.6666%; - } - .column.is-half-desktop { - flex: none; - width: 50%; - } - .column.is-one-third-desktop { - flex: none; - width: 33.3333%; - } - .column.is-one-quarter-desktop { - flex: none; - width: 25%; - } - .column.is-one-fifth-desktop { - flex: none; - width: 20%; - } - .column.is-two-fifths-desktop { - flex: none; - width: 40%; - } - .column.is-three-fifths-desktop { - flex: none; - width: 60%; - } - .column.is-four-fifths-desktop { - flex: none; - width: 80%; - } - .column.is-offset-three-quarters-desktop { - margin-left: 75%; - } - .column.is-offset-two-thirds-desktop { - margin-left: 66.6666%; - } - .column.is-offset-half-desktop { - margin-left: 50%; - } - .column.is-offset-one-third-desktop { - margin-left: 33.3333%; - } - .column.is-offset-one-quarter-desktop { - margin-left: 25%; - } - .column.is-offset-one-fifth-desktop { - margin-left: 20%; - } - .column.is-offset-two-fifths-desktop { - margin-left: 40%; - } - .column.is-offset-three-fifths-desktop { - margin-left: 60%; - } - .column.is-offset-four-fifths-desktop { - margin-left: 80%; - } - .column.is-0-desktop { - flex: none; - width: 0%; - } - .column.is-offset-0-desktop { - margin-left: 0%; - } - .column.is-1-desktop { - flex: none; - width: 8.33333337%; - } - .column.is-offset-1-desktop { - margin-left: 8.33333337%; - } - .column.is-2-desktop { - flex: none; - width: 16.66666674%; - } - .column.is-offset-2-desktop { - margin-left: 16.66666674%; - } - .column.is-3-desktop { - flex: none; - width: 25%; - } - .column.is-offset-3-desktop { - margin-left: 25%; - } - .column.is-4-desktop { - flex: none; - width: 33.33333337%; - } - .column.is-offset-4-desktop { - margin-left: 33.33333337%; - } - .column.is-5-desktop { - flex: none; - width: 41.66666674%; - } - .column.is-offset-5-desktop { - margin-left: 41.66666674%; - } - .column.is-6-desktop { - flex: none; - width: 50%; - } - .column.is-offset-6-desktop { - margin-left: 50%; - } - .column.is-7-desktop { - flex: none; - width: 58.33333337%; - } - .column.is-offset-7-desktop { - margin-left: 58.33333337%; - } - .column.is-8-desktop { - flex: none; - width: 66.66666674%; - } - .column.is-offset-8-desktop { - margin-left: 66.66666674%; - } - .column.is-9-desktop { - flex: none; - width: 75%; - } - .column.is-offset-9-desktop { - margin-left: 75%; - } - .column.is-10-desktop { - flex: none; - width: 83.33333337%; - } - .column.is-offset-10-desktop { - margin-left: 83.33333337%; - } - .column.is-11-desktop { - flex: none; - width: 91.66666674%; - } - .column.is-offset-11-desktop { - margin-left: 91.66666674%; - } - .column.is-12-desktop { - flex: none; - width: 100%; - } - .column.is-offset-12-desktop { - margin-left: 100%; - } -} -@media screen and (min-width: 1216px) { - .column.is-narrow-widescreen { - flex: none; - width: unset; - } - .column.is-full-widescreen { - flex: none; - width: 100%; - } - .column.is-three-quarters-widescreen { - flex: none; - width: 75%; - } - .column.is-two-thirds-widescreen { - flex: none; - width: 66.6666%; - } - .column.is-half-widescreen { - flex: none; - width: 50%; - } - .column.is-one-third-widescreen { - flex: none; - width: 33.3333%; - } - .column.is-one-quarter-widescreen { - flex: none; - width: 25%; - } - .column.is-one-fifth-widescreen { - flex: none; - width: 20%; - } - .column.is-two-fifths-widescreen { - flex: none; - width: 40%; - } - .column.is-three-fifths-widescreen { - flex: none; - width: 60%; - } - .column.is-four-fifths-widescreen { - flex: none; - width: 80%; - } - .column.is-offset-three-quarters-widescreen { - margin-left: 75%; - } - .column.is-offset-two-thirds-widescreen { - margin-left: 66.6666%; - } - .column.is-offset-half-widescreen { - margin-left: 50%; - } - .column.is-offset-one-third-widescreen { - margin-left: 33.3333%; - } - .column.is-offset-one-quarter-widescreen { - margin-left: 25%; - } - .column.is-offset-one-fifth-widescreen { - margin-left: 20%; - } - .column.is-offset-two-fifths-widescreen { - margin-left: 40%; - } - .column.is-offset-three-fifths-widescreen { - margin-left: 60%; - } - .column.is-offset-four-fifths-widescreen { - margin-left: 80%; - } - .column.is-0-widescreen { - flex: none; - width: 0%; - } - .column.is-offset-0-widescreen { - margin-left: 0%; - } - .column.is-1-widescreen { - flex: none; - width: 8.33333337%; - } - .column.is-offset-1-widescreen { - margin-left: 8.33333337%; - } - .column.is-2-widescreen { - flex: none; - width: 16.66666674%; - } - .column.is-offset-2-widescreen { - margin-left: 16.66666674%; - } - .column.is-3-widescreen { - flex: none; - width: 25%; - } - .column.is-offset-3-widescreen { - margin-left: 25%; - } - .column.is-4-widescreen { - flex: none; - width: 33.33333337%; - } - .column.is-offset-4-widescreen { - margin-left: 33.33333337%; - } - .column.is-5-widescreen { - flex: none; - width: 41.66666674%; - } - .column.is-offset-5-widescreen { - margin-left: 41.66666674%; - } - .column.is-6-widescreen { - flex: none; - width: 50%; - } - .column.is-offset-6-widescreen { - margin-left: 50%; - } - .column.is-7-widescreen { - flex: none; - width: 58.33333337%; - } - .column.is-offset-7-widescreen { - margin-left: 58.33333337%; - } - .column.is-8-widescreen { - flex: none; - width: 66.66666674%; - } - .column.is-offset-8-widescreen { - margin-left: 66.66666674%; - } - .column.is-9-widescreen { - flex: none; - width: 75%; - } - .column.is-offset-9-widescreen { - margin-left: 75%; - } - .column.is-10-widescreen { - flex: none; - width: 83.33333337%; - } - .column.is-offset-10-widescreen { - margin-left: 83.33333337%; - } - .column.is-11-widescreen { - flex: none; - width: 91.66666674%; - } - .column.is-offset-11-widescreen { - margin-left: 91.66666674%; - } - .column.is-12-widescreen { - flex: none; - width: 100%; - } - .column.is-offset-12-widescreen { - margin-left: 100%; - } -} -@media screen and (min-width: 1408px) { - .column.is-narrow-fullhd { - flex: none; - width: unset; - } - .column.is-full-fullhd { - flex: none; - width: 100%; - } - .column.is-three-quarters-fullhd { - flex: none; - width: 75%; - } - .column.is-two-thirds-fullhd { - flex: none; - width: 66.6666%; - } - .column.is-half-fullhd { - flex: none; - width: 50%; - } - .column.is-one-third-fullhd { - flex: none; - width: 33.3333%; - } - .column.is-one-quarter-fullhd { - flex: none; - width: 25%; - } - .column.is-one-fifth-fullhd { - flex: none; - width: 20%; - } - .column.is-two-fifths-fullhd { - flex: none; - width: 40%; - } - .column.is-three-fifths-fullhd { - flex: none; - width: 60%; - } - .column.is-four-fifths-fullhd { - flex: none; - width: 80%; - } - .column.is-offset-three-quarters-fullhd { - margin-left: 75%; - } - .column.is-offset-two-thirds-fullhd { - margin-left: 66.6666%; - } - .column.is-offset-half-fullhd { - margin-left: 50%; - } - .column.is-offset-one-third-fullhd { - margin-left: 33.3333%; - } - .column.is-offset-one-quarter-fullhd { - margin-left: 25%; - } - .column.is-offset-one-fifth-fullhd { - margin-left: 20%; - } - .column.is-offset-two-fifths-fullhd { - margin-left: 40%; - } - .column.is-offset-three-fifths-fullhd { - margin-left: 60%; - } - .column.is-offset-four-fifths-fullhd { - margin-left: 80%; - } - .column.is-0-fullhd { - flex: none; - width: 0%; - } - .column.is-offset-0-fullhd { - margin-left: 0%; - } - .column.is-1-fullhd { - flex: none; - width: 8.33333337%; - } - .column.is-offset-1-fullhd { - margin-left: 8.33333337%; - } - .column.is-2-fullhd { - flex: none; - width: 16.66666674%; - } - .column.is-offset-2-fullhd { - margin-left: 16.66666674%; - } - .column.is-3-fullhd { - flex: none; - width: 25%; - } - .column.is-offset-3-fullhd { - margin-left: 25%; - } - .column.is-4-fullhd { - flex: none; - width: 33.33333337%; - } - .column.is-offset-4-fullhd { - margin-left: 33.33333337%; - } - .column.is-5-fullhd { - flex: none; - width: 41.66666674%; - } - .column.is-offset-5-fullhd { - margin-left: 41.66666674%; - } - .column.is-6-fullhd { - flex: none; - width: 50%; - } - .column.is-offset-6-fullhd { - margin-left: 50%; - } - .column.is-7-fullhd { - flex: none; - width: 58.33333337%; - } - .column.is-offset-7-fullhd { - margin-left: 58.33333337%; - } - .column.is-8-fullhd { - flex: none; - width: 66.66666674%; - } - .column.is-offset-8-fullhd { - margin-left: 66.66666674%; - } - .column.is-9-fullhd { - flex: none; - width: 75%; - } - .column.is-offset-9-fullhd { - margin-left: 75%; - } - .column.is-10-fullhd { - flex: none; - width: 83.33333337%; - } - .column.is-offset-10-fullhd { - margin-left: 83.33333337%; - } - .column.is-11-fullhd { - flex: none; - width: 91.66666674%; - } - .column.is-offset-11-fullhd { - margin-left: 91.66666674%; - } - .column.is-12-fullhd { - flex: none; - width: 100%; - } - .column.is-offset-12-fullhd { - margin-left: 100%; - } -} -.columns { - margin-left: -0.75rem; - margin-right: -0.75rem; - margin-top: -0.75rem; -} - -.columns:last-child { - margin-bottom: -0.75rem; -} - -.columns:not(:last-child) { - margin-bottom: 0.75rem; -} - -.columns.is-centered { - justify-content: center; -} - -.columns.is-gapless { - margin-left: 0; - margin-right: 0; - margin-top: 0; -} - -.columns.is-gapless > .column { - margin: 0; - padding: 0 !important; -} - -.columns.is-gapless:not(:last-child) { - margin-bottom: 1.5rem; -} - -.columns.is-gapless:last-child { - margin-bottom: 0; -} - -.columns.is-mobile { - display: flex; -} - -.columns.is-multiline { - flex-wrap: wrap; -} - -.columns.is-vcentered { - align-items: center; -} - -@media screen and (min-width: 769px), print { - .columns:not(.is-desktop) { - display: flex; - } -} -@media screen and (min-width: 1024px) { - .columns.is-desktop { - display: flex; - } -} -.columns.is-variable { - --columnGap: 0.75rem; - margin-left: calc(-1 * var(--columnGap)); - margin-right: calc(-1 * var(--columnGap)); -} - -.columns.is-variable > .column { - padding-left: var(--columnGap); - padding-right: var(--columnGap); -} - -.columns.is-variable.is-0 { - --columnGap: 0rem; -} - -@media screen and (max-width: 768px) { - .columns.is-variable.is-0-mobile { - --columnGap: 0rem; - } -} -@media screen and (min-width: 769px), print { - .columns.is-variable.is-0-tablet { - --columnGap: 0rem; - } -} -@media screen and (min-width: 769px) and (max-width: 1023px) { - .columns.is-variable.is-0-tablet-only { - --columnGap: 0rem; - } -} -@media screen and (max-width: 1023px) { - .columns.is-variable.is-0-touch { - --columnGap: 0rem; - } -} -@media screen and (min-width: 1024px) { - .columns.is-variable.is-0-desktop { - --columnGap: 0rem; - } -} -@media screen and (min-width: 1024px) and (max-width: 1215px) { - .columns.is-variable.is-0-desktop-only { - --columnGap: 0rem; - } -} -@media screen and (min-width: 1216px) { - .columns.is-variable.is-0-widescreen { - --columnGap: 0rem; - } -} -@media screen and (min-width: 1216px) and (max-width: 1407px) { - .columns.is-variable.is-0-widescreen-only { - --columnGap: 0rem; - } -} -@media screen and (min-width: 1408px) { - .columns.is-variable.is-0-fullhd { - --columnGap: 0rem; - } -} -.columns.is-variable.is-1 { - --columnGap: 0.25rem; -} - -@media screen and (max-width: 768px) { - .columns.is-variable.is-1-mobile { - --columnGap: 0.25rem; - } -} -@media screen and (min-width: 769px), print { - .columns.is-variable.is-1-tablet { - --columnGap: 0.25rem; - } -} -@media screen and (min-width: 769px) and (max-width: 1023px) { - .columns.is-variable.is-1-tablet-only { - --columnGap: 0.25rem; - } -} -@media screen and (max-width: 1023px) { - .columns.is-variable.is-1-touch { - --columnGap: 0.25rem; - } -} -@media screen and (min-width: 1024px) { - .columns.is-variable.is-1-desktop { - --columnGap: 0.25rem; - } -} -@media screen and (min-width: 1024px) and (max-width: 1215px) { - .columns.is-variable.is-1-desktop-only { - --columnGap: 0.25rem; - } -} -@media screen and (min-width: 1216px) { - .columns.is-variable.is-1-widescreen { - --columnGap: 0.25rem; - } -} -@media screen and (min-width: 1216px) and (max-width: 1407px) { - .columns.is-variable.is-1-widescreen-only { - --columnGap: 0.25rem; - } -} -@media screen and (min-width: 1408px) { - .columns.is-variable.is-1-fullhd { - --columnGap: 0.25rem; - } -} -.columns.is-variable.is-2 { - --columnGap: 0.5rem; -} - -@media screen and (max-width: 768px) { - .columns.is-variable.is-2-mobile { - --columnGap: 0.5rem; - } -} -@media screen and (min-width: 769px), print { - .columns.is-variable.is-2-tablet { - --columnGap: 0.5rem; - } -} -@media screen and (min-width: 769px) and (max-width: 1023px) { - .columns.is-variable.is-2-tablet-only { - --columnGap: 0.5rem; - } -} -@media screen and (max-width: 1023px) { - .columns.is-variable.is-2-touch { - --columnGap: 0.5rem; - } -} -@media screen and (min-width: 1024px) { - .columns.is-variable.is-2-desktop { - --columnGap: 0.5rem; - } -} -@media screen and (min-width: 1024px) and (max-width: 1215px) { - .columns.is-variable.is-2-desktop-only { - --columnGap: 0.5rem; - } -} -@media screen and (min-width: 1216px) { - .columns.is-variable.is-2-widescreen { - --columnGap: 0.5rem; - } -} -@media screen and (min-width: 1216px) and (max-width: 1407px) { - .columns.is-variable.is-2-widescreen-only { - --columnGap: 0.5rem; - } -} -@media screen and (min-width: 1408px) { - .columns.is-variable.is-2-fullhd { - --columnGap: 0.5rem; - } -} -.columns.is-variable.is-3 { - --columnGap: 0.75rem; -} - -@media screen and (max-width: 768px) { - .columns.is-variable.is-3-mobile { - --columnGap: 0.75rem; - } -} -@media screen and (min-width: 769px), print { - .columns.is-variable.is-3-tablet { - --columnGap: 0.75rem; - } -} -@media screen and (min-width: 769px) and (max-width: 1023px) { - .columns.is-variable.is-3-tablet-only { - --columnGap: 0.75rem; - } -} -@media screen and (max-width: 1023px) { - .columns.is-variable.is-3-touch { - --columnGap: 0.75rem; - } -} -@media screen and (min-width: 1024px) { - .columns.is-variable.is-3-desktop { - --columnGap: 0.75rem; - } -} -@media screen and (min-width: 1024px) and (max-width: 1215px) { - .columns.is-variable.is-3-desktop-only { - --columnGap: 0.75rem; - } -} -@media screen and (min-width: 1216px) { - .columns.is-variable.is-3-widescreen { - --columnGap: 0.75rem; - } -} -@media screen and (min-width: 1216px) and (max-width: 1407px) { - .columns.is-variable.is-3-widescreen-only { - --columnGap: 0.75rem; - } -} -@media screen and (min-width: 1408px) { - .columns.is-variable.is-3-fullhd { - --columnGap: 0.75rem; - } -} -.columns.is-variable.is-4 { - --columnGap: 1rem; -} - -@media screen and (max-width: 768px) { - .columns.is-variable.is-4-mobile { - --columnGap: 1rem; - } -} -@media screen and (min-width: 769px), print { - .columns.is-variable.is-4-tablet { - --columnGap: 1rem; - } -} -@media screen and (min-width: 769px) and (max-width: 1023px) { - .columns.is-variable.is-4-tablet-only { - --columnGap: 1rem; - } -} -@media screen and (max-width: 1023px) { - .columns.is-variable.is-4-touch { - --columnGap: 1rem; - } -} -@media screen and (min-width: 1024px) { - .columns.is-variable.is-4-desktop { - --columnGap: 1rem; - } -} -@media screen and (min-width: 1024px) and (max-width: 1215px) { - .columns.is-variable.is-4-desktop-only { - --columnGap: 1rem; - } -} -@media screen and (min-width: 1216px) { - .columns.is-variable.is-4-widescreen { - --columnGap: 1rem; - } -} -@media screen and (min-width: 1216px) and (max-width: 1407px) { - .columns.is-variable.is-4-widescreen-only { - --columnGap: 1rem; - } -} -@media screen and (min-width: 1408px) { - .columns.is-variable.is-4-fullhd { - --columnGap: 1rem; - } -} -.columns.is-variable.is-5 { - --columnGap: 1.25rem; -} - -@media screen and (max-width: 768px) { - .columns.is-variable.is-5-mobile { - --columnGap: 1.25rem; - } -} -@media screen and (min-width: 769px), print { - .columns.is-variable.is-5-tablet { - --columnGap: 1.25rem; - } -} -@media screen and (min-width: 769px) and (max-width: 1023px) { - .columns.is-variable.is-5-tablet-only { - --columnGap: 1.25rem; - } -} -@media screen and (max-width: 1023px) { - .columns.is-variable.is-5-touch { - --columnGap: 1.25rem; - } -} -@media screen and (min-width: 1024px) { - .columns.is-variable.is-5-desktop { - --columnGap: 1.25rem; - } -} -@media screen and (min-width: 1024px) and (max-width: 1215px) { - .columns.is-variable.is-5-desktop-only { - --columnGap: 1.25rem; - } -} -@media screen and (min-width: 1216px) { - .columns.is-variable.is-5-widescreen { - --columnGap: 1.25rem; - } -} -@media screen and (min-width: 1216px) and (max-width: 1407px) { - .columns.is-variable.is-5-widescreen-only { - --columnGap: 1.25rem; - } -} -@media screen and (min-width: 1408px) { - .columns.is-variable.is-5-fullhd { - --columnGap: 1.25rem; - } -} -.columns.is-variable.is-6 { - --columnGap: 1.5rem; -} - -@media screen and (max-width: 768px) { - .columns.is-variable.is-6-mobile { - --columnGap: 1.5rem; - } -} -@media screen and (min-width: 769px), print { - .columns.is-variable.is-6-tablet { - --columnGap: 1.5rem; - } -} -@media screen and (min-width: 769px) and (max-width: 1023px) { - .columns.is-variable.is-6-tablet-only { - --columnGap: 1.5rem; - } -} -@media screen and (max-width: 1023px) { - .columns.is-variable.is-6-touch { - --columnGap: 1.5rem; - } -} -@media screen and (min-width: 1024px) { - .columns.is-variable.is-6-desktop { - --columnGap: 1.5rem; - } -} -@media screen and (min-width: 1024px) and (max-width: 1215px) { - .columns.is-variable.is-6-desktop-only { - --columnGap: 1.5rem; - } -} -@media screen and (min-width: 1216px) { - .columns.is-variable.is-6-widescreen { - --columnGap: 1.5rem; - } -} -@media screen and (min-width: 1216px) and (max-width: 1407px) { - .columns.is-variable.is-6-widescreen-only { - --columnGap: 1.5rem; - } -} -@media screen and (min-width: 1408px) { - .columns.is-variable.is-6-fullhd { - --columnGap: 1.5rem; - } -} -.columns.is-variable.is-7 { - --columnGap: 1.75rem; -} - -@media screen and (max-width: 768px) { - .columns.is-variable.is-7-mobile { - --columnGap: 1.75rem; - } -} -@media screen and (min-width: 769px), print { - .columns.is-variable.is-7-tablet { - --columnGap: 1.75rem; - } -} -@media screen and (min-width: 769px) and (max-width: 1023px) { - .columns.is-variable.is-7-tablet-only { - --columnGap: 1.75rem; - } -} -@media screen and (max-width: 1023px) { - .columns.is-variable.is-7-touch { - --columnGap: 1.75rem; - } -} -@media screen and (min-width: 1024px) { - .columns.is-variable.is-7-desktop { - --columnGap: 1.75rem; - } -} -@media screen and (min-width: 1024px) and (max-width: 1215px) { - .columns.is-variable.is-7-desktop-only { - --columnGap: 1.75rem; - } -} -@media screen and (min-width: 1216px) { - .columns.is-variable.is-7-widescreen { - --columnGap: 1.75rem; - } -} -@media screen and (min-width: 1216px) and (max-width: 1407px) { - .columns.is-variable.is-7-widescreen-only { - --columnGap: 1.75rem; - } -} -@media screen and (min-width: 1408px) { - .columns.is-variable.is-7-fullhd { - --columnGap: 1.75rem; - } -} -.columns.is-variable.is-8 { - --columnGap: 2rem; -} - -@media screen and (max-width: 768px) { - .columns.is-variable.is-8-mobile { - --columnGap: 2rem; - } -} -@media screen and (min-width: 769px), print { - .columns.is-variable.is-8-tablet { - --columnGap: 2rem; - } -} -@media screen and (min-width: 769px) and (max-width: 1023px) { - .columns.is-variable.is-8-tablet-only { - --columnGap: 2rem; - } -} -@media screen and (max-width: 1023px) { - .columns.is-variable.is-8-touch { - --columnGap: 2rem; - } -} -@media screen and (min-width: 1024px) { - .columns.is-variable.is-8-desktop { - --columnGap: 2rem; - } -} -@media screen and (min-width: 1024px) and (max-width: 1215px) { - .columns.is-variable.is-8-desktop-only { - --columnGap: 2rem; - } -} -@media screen and (min-width: 1216px) { - .columns.is-variable.is-8-widescreen { - --columnGap: 2rem; - } -} -@media screen and (min-width: 1216px) and (max-width: 1407px) { - .columns.is-variable.is-8-widescreen-only { - --columnGap: 2rem; - } -} -@media screen and (min-width: 1408px) { - .columns.is-variable.is-8-fullhd { - --columnGap: 2rem; - } -} -.tile { - align-items: stretch; - display: block; - flex-basis: 0; - flex-grow: 1; - flex-shrink: 1; - min-height: min-content; -} - -.tile.is-ancestor { - margin-left: -0.75rem; - margin-right: -0.75rem; - margin-top: -0.75rem; -} - -.tile.is-ancestor:last-child { - margin-bottom: -0.75rem; -} - -.tile.is-ancestor:not(:last-child) { - margin-bottom: 0.75rem; -} - -.tile.is-child { - margin: 0 !important; -} - -.tile.is-parent { - padding: 0.75rem; -} - -.tile.is-vertical { - flex-direction: column; -} - -.tile.is-vertical > .tile.is-child:not(:last-child) { - margin-bottom: 1.5rem !important; -} - -@media screen and (min-width: 769px), print { - .tile:not(.is-child) { - display: flex; - } - .tile.is-1 { - flex: none; - width: 8.33333337%; - } - .tile.is-2 { - flex: none; - width: 16.66666674%; - } - .tile.is-3 { - flex: none; - width: 25%; - } - .tile.is-4 { - flex: none; - width: 33.33333337%; - } - .tile.is-5 { - flex: none; - width: 41.66666674%; - } - .tile.is-6 { - flex: none; - width: 50%; - } - .tile.is-7 { - flex: none; - width: 58.33333337%; - } - .tile.is-8 { - flex: none; - width: 66.66666674%; - } - .tile.is-9 { - flex: none; - width: 75%; - } - .tile.is-10 { - flex: none; - width: 83.33333337%; - } - .tile.is-11 { - flex: none; - width: 91.66666674%; - } - .tile.is-12 { - flex: none; - width: 100%; - } -} -/* Bulma Helpers */ -.has-text-white { - color: hsl(0, 0%, 100%) !important; -} - -a.has-text-white:hover, a.has-text-white:focus { - color: #e6e6e6 !important; -} - -.has-background-white { - background-color: hsl(0, 0%, 100%) !important; -} - -.has-text-black { - color: hsl(0, 0%, 4%) !important; -} - -a.has-text-black:hover, a.has-text-black:focus { - color: black !important; -} - -.has-background-black { - background-color: hsl(0, 0%, 4%) !important; -} - -.has-text-light { - color: hsl(0, 0%, 96%) !important; -} - -a.has-text-light:hover, a.has-text-light:focus { - color: #dbdbdb !important; -} - -.has-background-light { - background-color: hsl(0, 0%, 96%) !important; -} - -.has-text-dark { - color: hsl(0, 0%, 21%) !important; -} - -a.has-text-dark:hover, a.has-text-dark:focus { - color: #1c1c1c !important; -} - -.has-background-dark { - background-color: hsl(0, 0%, 21%) !important; -} - -.has-text-primary { - color: hsl(171, 100%, 41%) !important; -} - -a.has-text-primary:hover, a.has-text-primary:focus { - color: #009e86 !important; -} - -.has-background-primary { - background-color: hsl(171, 100%, 41%) !important; -} - -.has-text-primary-light { - color: var(--primary-light) !important; -} - -a.has-text-primary-light:hover, a.has-text-primary-light:focus { - color: var(--primary-light) !important; -} - -.has-background-primary-light { - background-color: var(--primary-light) !important; -} - -.has-text-primary-dark { - color: #00947e !important; -} - -a.has-text-primary-dark:hover, a.has-text-primary-dark:focus { - color: #00c7a9 !important; -} - -.has-background-primary-dark { - background-color: #00947e !important; -} - -.has-text-link { - color: hsl(229, 53%, 53%) !important; -} - -a.has-text-link:hover, a.has-text-link:focus { - color: #3449a8 !important; -} - -.has-background-link { - background-color: hsl(229, 53%, 53%) !important; -} - -.has-text-link-light { - color: #eff1fa !important; -} - -a.has-text-link-light:hover, a.has-text-link-light:focus { - color: #c8cfee !important; -} - -.has-background-link-light { - background-color: #eff1fa !important; -} - -.has-text-link-dark { - color: #3850b7 !important; -} - -a.has-text-link-dark:hover, a.has-text-link-dark:focus { - color: #576dcb !important; -} - -.has-background-link-dark { - background-color: #3850b7 !important; -} - -.has-text-info { - color: hsl(217, 71%, 50%) !important; -} - -a.has-text-info:hover, a.has-text-info:focus { - color: #1e55ae !important; -} - -.has-background-info { - background-color: hsl(217, 71%, 50%) !important; -} - -.has-text-info-light { - color: #eef3fc !important; -} - -a.has-text-info-light:hover, a.has-text-info-light:focus { - color: #c2d5f5 !important; -} - -.has-background-info-light { - background-color: #eef3fc !important; -} - -.has-text-info-dark { - color: #2262c9 !important; -} - -a.has-text-info-dark:hover, a.has-text-info-dark:focus { - color: #3f7cde !important; -} - -.has-background-info-dark { - background-color: #2262c9 !important; -} - -.has-text-success { - color: hsl(141, 53%, 40%) !important; -} - -a.has-text-success:hover, a.has-text-success:focus { - color: #247540 !important; -} - -.has-background-success { - background-color: hsl(141, 53%, 40%) !important; -} - -.has-text-success-light { - color: #effaf3 !important; -} - -a.has-text-success-light:hover, a.has-text-success-light:focus { - color: #c8eed6 !important; -} - -.has-background-success-light { - background-color: #effaf3 !important; -} - -.has-text-success-dark { - color: #31a058 !important; -} - -a.has-text-success-dark:hover, a.has-text-success-dark:focus { - color: #40c46e !important; -} - -.has-background-success-dark { - background-color: #31a058 !important; -} - -.has-text-warning { - color: hsl(38, 93%, 50%) !important; -} - -a.has-text-warning:hover, a.has-text-warning:focus { - color: #c57f07 !important; -} - -.has-background-warning { - background-color: hsl(38, 93%, 50%) !important; -} - -.has-text-warning-light { - color: #fef7eb !important; -} - -a.has-text-warning-light:hover, a.has-text-warning-light:focus { - color: #fde4ba !important; -} - -.has-background-warning-light { - background-color: #fef7eb !important; -} - -.has-text-warning-dark { - color: #996306 !important; -} - -a.has-text-warning-dark:hover, a.has-text-warning-dark:focus { - color: #ca8207 !important; -} - -.has-background-warning-dark { - background-color: #996306 !important; -} - -.has-text-danger { - color: hsl(348, 100%, 40%) !important; -} - -a.has-text-danger:hover, a.has-text-danger:focus { - color: #99001f !important; -} - -.has-background-danger { - background-color: hsl(348, 100%, 40%) !important; -} - -.has-text-danger-light { - color: #ffebef !important; -} - -a.has-text-danger-light:hover, a.has-text-danger-light:focus { - color: #ffb8c6 !important; -} - -.has-background-danger-light { - background-color: #ffebef !important; -} - -.has-text-danger-dark { - color: #ff0033 !important; -} - -a.has-text-danger-dark:hover, a.has-text-danger-dark:focus { - color: #ff335c !important; -} - -.has-background-danger-dark { - background-color: #ff0033 !important; -} - -.has-text-black-bis { - color: hsl(0, 0%, 7%) !important; -} - -.has-background-black-bis { - background-color: hsl(0, 0%, 7%) !important; -} - -.has-text-black-ter { - color: hsl(0, 0%, 14%) !important; -} - -.has-background-black-ter { - background-color: hsl(0, 0%, 14%) !important; -} - -.has-text-grey-darker { - color: hsl(0, 0%, 21%) !important; -} - -.has-background-grey-darker { - background-color: hsl(0, 0%, 21%) !important; -} - -.has-text-grey-dark { - color: hsl(0, 0%, 29%) !important; -} - -.has-background-grey-dark { - background-color: hsl(0, 0%, 29%) !important; -} - -.has-text-grey { - color: hsl(0, 0%, 48%) !important; -} - -.has-background-grey { - background-color: hsl(0, 0%, 48%) !important; -} - -.has-text-grey-light { - color: hsl(0, 0%, 71%) !important; -} - -.has-background-grey-light { - background-color: hsl(0, 0%, 71%) !important; -} - -.has-text-grey-lighter { - color: hsl(0, 0%, 86%) !important; -} - -.has-background-grey-lighter { - background-color: hsl(0, 0%, 86%) !important; -} - -.has-text-white-ter { - color: hsl(0, 0%, 96%) !important; -} - -.has-background-white-ter { - background-color: hsl(0, 0%, 96%) !important; -} - -.has-text-white-bis { - color: hsl(0, 0%, 98%) !important; -} - -.has-background-white-bis { - background-color: hsl(0, 0%, 98%) !important; -} - -.is-flex-direction-row { - flex-direction: row !important; -} - -.is-flex-direction-row-reverse { - flex-direction: row-reverse !important; -} - -.is-flex-direction-column { - flex-direction: column !important; -} - -.is-flex-direction-column-reverse { - flex-direction: column-reverse !important; -} - -.is-flex-wrap-nowrap { - flex-wrap: nowrap !important; -} - -.is-flex-wrap-wrap { - flex-wrap: wrap !important; -} - -.is-flex-wrap-wrap-reverse { - flex-wrap: wrap-reverse !important; -} - -.is-justify-content-flex-start { - justify-content: flex-start !important; -} - -.is-justify-content-flex-end { - justify-content: flex-end !important; -} - -.is-justify-content-center { - justify-content: center !important; -} - -.is-justify-content-space-between { - justify-content: space-between !important; -} - -.is-justify-content-space-around { - justify-content: space-around !important; -} - -.is-justify-content-space-evenly { - justify-content: space-evenly !important; -} - -.is-justify-content-start { - justify-content: start !important; -} - -.is-justify-content-end { - justify-content: end !important; -} - -.is-justify-content-left { - justify-content: left !important; -} - -.is-justify-content-right { - justify-content: right !important; -} - -.is-align-content-flex-start { - align-content: flex-start !important; -} - -.is-align-content-flex-end { - align-content: flex-end !important; -} - -.is-align-content-center { - align-content: center !important; -} - -.is-align-content-space-between { - align-content: space-between !important; -} - -.is-align-content-space-around { - align-content: space-around !important; -} - -.is-align-content-space-evenly { - align-content: space-evenly !important; -} - -.is-align-content-stretch { - align-content: stretch !important; -} - -.is-align-content-start { - align-content: start !important; -} - -.is-align-content-end { - align-content: end !important; -} - -.is-align-content-baseline { - align-content: baseline !important; -} - -.is-align-items-stretch { - align-items: stretch !important; -} - -.is-align-items-flex-start { - align-items: flex-start !important; -} - -.is-align-items-flex-end { - align-items: flex-end !important; -} - -.is-align-items-center { - align-items: center !important; -} - -.is-align-items-baseline { - align-items: baseline !important; -} - -.is-align-items-start { - align-items: start !important; -} - -.is-align-items-end { - align-items: end !important; -} - -.is-align-items-self-start { - align-items: self-start !important; -} - -.is-align-items-self-end { - align-items: self-end !important; -} - -.is-align-self-auto { - align-self: auto !important; -} - -.is-align-self-flex-start { - align-self: flex-start !important; -} - -.is-align-self-flex-end { - align-self: flex-end !important; -} - -.is-align-self-center { - align-self: center !important; -} - -.is-align-self-baseline { - align-self: baseline !important; -} - -.is-align-self-stretch { - align-self: stretch !important; -} - -.is-flex-grow-0 { - flex-grow: 0 !important; -} - -.is-flex-grow-1 { - flex-grow: 1 !important; -} - -.is-flex-grow-2 { - flex-grow: 2 !important; -} - -.is-flex-grow-3 { - flex-grow: 3 !important; -} - -.is-flex-grow-4 { - flex-grow: 4 !important; -} - -.is-flex-grow-5 { - flex-grow: 5 !important; -} - -.is-flex-shrink-0 { - flex-shrink: 0 !important; -} - -.is-flex-shrink-1 { - flex-shrink: 1 !important; -} - -.is-flex-shrink-2 { - flex-shrink: 2 !important; -} - -.is-flex-shrink-3 { - flex-shrink: 3 !important; -} - -.is-flex-shrink-4 { - flex-shrink: 4 !important; -} - -.is-flex-shrink-5 { - flex-shrink: 5 !important; -} - -.is-clearfix::after { - clear: both; - content: " "; - display: table; -} - -.is-pulled-left { - float: left !important; -} - -.is-pulled-right { - float: right !important; -} - -.is-radiusless { - border-radius: 0 !important; -} - -.is-shadowless { - box-shadow: none !important; -} - -.is-clickable { - cursor: pointer !important; - pointer-events: all !important; -} - -.is-clipped { - overflow: hidden !important; -} - -.is-relative { - position: relative !important; -} - -.is-marginless { - margin: 0 !important; -} - -.is-paddingless { - padding: 0 !important; -} - -.m-0 { - margin: 0 !important; -} - -.mt-0 { - margin-top: 0 !important; -} - -.mr-0 { - margin-right: 0 !important; -} - -.mb-0 { - margin-bottom: 0 !important; -} - -.ml-0 { - margin-left: 0 !important; -} - -.mx-0 { - margin-left: 0 !important; - margin-right: 0 !important; -} - -.my-0 { - margin-top: 0 !important; - margin-bottom: 0 !important; -} - -.m-1 { - margin: 0.25rem !important; -} - -.mt-1 { - margin-top: 0.25rem !important; -} - -.mr-1 { - margin-right: 0.25rem !important; -} - -.mb-1 { - margin-bottom: 0.25rem !important; -} - -.ml-1 { - margin-left: 0.25rem !important; -} - -.mx-1 { - margin-left: 0.25rem !important; - margin-right: 0.25rem !important; -} - -.my-1 { - margin-top: 0.25rem !important; - margin-bottom: 0.25rem !important; -} - -.m-2 { - margin: 0.5rem !important; -} - -.mt-2 { - margin-top: 0.5rem !important; -} - -.mr-2 { - margin-right: 0.5rem !important; -} - -.mb-2 { - margin-bottom: 0.5rem !important; -} - -.ml-2 { - margin-left: 0.5rem !important; -} - -.mx-2 { - margin-left: 0.5rem !important; - margin-right: 0.5rem !important; -} - -.my-2 { - margin-top: 0.5rem !important; - margin-bottom: 0.5rem !important; -} - -.m-3 { - margin: 0.75rem !important; -} - -.mt-3 { - margin-top: 0.75rem !important; -} - -.mr-3 { - margin-right: 0.75rem !important; -} - -.mb-3 { - margin-bottom: 0.75rem !important; -} - -.ml-3 { - margin-left: 0.75rem !important; -} - -.mx-3 { - margin-left: 0.75rem !important; - margin-right: 0.75rem !important; -} - -.my-3 { - margin-top: 0.75rem !important; - margin-bottom: 0.75rem !important; -} - -.m-4 { - margin: 1rem !important; -} - -.mt-4 { - margin-top: 1rem !important; -} - -.mr-4 { - margin-right: 1rem !important; -} - -.mb-4 { - margin-bottom: 1rem !important; -} - -.ml-4 { - margin-left: 1rem !important; -} - -.mx-4 { - margin-left: 1rem !important; - margin-right: 1rem !important; -} - -.my-4 { - margin-top: 1rem !important; - margin-bottom: 1rem !important; -} - -.m-5 { - margin: 1.5rem !important; -} - -.mt-5 { - margin-top: 1.5rem !important; -} - -.mr-5 { - margin-right: 1.5rem !important; -} - -.mb-5 { - margin-bottom: 1.5rem !important; -} - -.ml-5 { - margin-left: 1.5rem !important; -} - -.mx-5 { - margin-left: 1.5rem !important; - margin-right: 1.5rem !important; -} - -.my-5 { - margin-top: 1.5rem !important; - margin-bottom: 1.5rem !important; -} - -.m-6 { - margin: 3rem !important; -} - -.mt-6 { - margin-top: 3rem !important; -} - -.mr-6 { - margin-right: 3rem !important; -} - -.mb-6 { - margin-bottom: 3rem !important; -} - -.ml-6 { - margin-left: 3rem !important; -} - -.mx-6 { - margin-left: 3rem !important; - margin-right: 3rem !important; -} - -.my-6 { - margin-top: 3rem !important; - margin-bottom: 3rem !important; -} - -.m-auto { - margin: auto !important; -} - -.mt-auto { - margin-top: auto !important; -} - -.mr-auto { - margin-right: auto !important; -} - -.mb-auto { - margin-bottom: auto !important; -} - -.ml-auto { - margin-left: auto !important; -} - -.mx-auto { - margin-left: auto !important; - margin-right: auto !important; -} - -.my-auto { - margin-top: auto !important; - margin-bottom: auto !important; -} - -.p-0 { - padding: 0 !important; -} - -.pt-0 { - padding-top: 0 !important; -} - -.pr-0 { - padding-right: 0 !important; -} - -.pb-0 { - padding-bottom: 0 !important; -} - -.pl-0 { - padding-left: 0 !important; -} - -.px-0 { - padding-left: 0 !important; - padding-right: 0 !important; -} - -.py-0 { - padding-top: 0 !important; - padding-bottom: 0 !important; -} - -.p-1 { - padding: 0.25rem !important; -} - -.pt-1 { - padding-top: 0.25rem !important; -} - -.pr-1 { - padding-right: 0.25rem !important; -} - -.pb-1 { - padding-bottom: 0.25rem !important; -} - -.pl-1 { - padding-left: 0.25rem !important; -} - -.px-1 { - padding-left: 0.25rem !important; - padding-right: 0.25rem !important; -} - -.py-1 { - padding-top: 0.25rem !important; - padding-bottom: 0.25rem !important; -} - -.p-2 { - padding: 0.5rem !important; -} - -.pt-2 { - padding-top: 0.5rem !important; -} - -.pr-2 { - padding-right: 0.5rem !important; -} - -.pb-2 { - padding-bottom: 0.5rem !important; -} - -.pl-2 { - padding-left: 0.5rem !important; -} - -.px-2 { - padding-left: 0.5rem !important; - padding-right: 0.5rem !important; -} - -.py-2 { - padding-top: 0.5rem !important; - padding-bottom: 0.5rem !important; -} - -.p-3 { - padding: 0.75rem !important; -} - -.pt-3 { - padding-top: 0.75rem !important; -} - -.pr-3 { - padding-right: 0.75rem !important; -} - -.pb-3 { - padding-bottom: 0.75rem !important; -} - -.pl-3 { - padding-left: 0.75rem !important; -} - -.px-3 { - padding-left: 0.75rem !important; - padding-right: 0.75rem !important; -} - -.py-3 { - padding-top: 0.75rem !important; - padding-bottom: 0.75rem !important; -} - -.p-4 { - padding: 1rem !important; -} - -.pt-4 { - padding-top: 1rem !important; -} - -.pr-4 { - padding-right: 1rem !important; -} - -.pb-4 { - padding-bottom: 1rem !important; -} - -.pl-4 { - padding-left: 1rem !important; -} - -.px-4 { - padding-left: 1rem !important; - padding-right: 1rem !important; -} - -.py-4 { - padding-top: 1rem !important; - padding-bottom: 1rem !important; -} - -.p-5 { - padding: 1.5rem !important; -} - -.pt-5 { - padding-top: 1.5rem !important; -} - -.pr-5 { - padding-right: 1.5rem !important; -} - -.pb-5 { - padding-bottom: 1.5rem !important; -} - -.pl-5 { - padding-left: 1.5rem !important; -} - -.px-5 { - padding-left: 1.5rem !important; - padding-right: 1.5rem !important; -} - -.py-5 { - padding-top: 1.5rem !important; - padding-bottom: 1.5rem !important; -} - -.p-6 { - padding: 3rem !important; -} - -.pt-6 { - padding-top: 3rem !important; -} - -.pr-6 { - padding-right: 3rem !important; -} - -.pb-6 { - padding-bottom: 3rem !important; -} - -.pl-6 { - padding-left: 3rem !important; -} - -.px-6 { - padding-left: 3rem !important; - padding-right: 3rem !important; -} - -.py-6 { - padding-top: 3rem !important; - padding-bottom: 3rem !important; -} - -.p-auto { - padding: auto !important; -} - -.pt-auto { - padding-top: auto !important; -} - -.pr-auto { - padding-right: auto !important; -} - -.pb-auto { - padding-bottom: auto !important; -} - -.pl-auto { - padding-left: auto !important; -} - -.px-auto { - padding-left: auto !important; - padding-right: auto !important; -} - -.py-auto { - padding-top: auto !important; - padding-bottom: auto !important; -} - -.is-size-1 { - font-size: 2.462rem !important; -} - -.is-size-2 { - font-size: 2rem !important; -} - -.is-size-3 { - font-size: 1.692rem !important; -} - -.is-size-4 { - font-size: 1.385rem !important; -} - -.is-size-5 { - font-size: 1.213rem !important; -} - -.is-size-6 { - font-size: 1rem !important; -} - -.is-size-7 { - font-size: 0.846rem !important; -} - -@media screen and (max-width: 768px) { - .is-size-1-mobile { - font-size: 2.462rem !important; - } - .is-size-2-mobile { - font-size: 2rem !important; - } - .is-size-3-mobile { - font-size: 1.692rem !important; - } - .is-size-4-mobile { - font-size: 1.385rem !important; - } - .is-size-5-mobile { - font-size: 1.213rem !important; - } - .is-size-6-mobile { - font-size: 1rem !important; - } - .is-size-7-mobile { - font-size: 0.846rem !important; - } -} -@media screen and (min-width: 769px), print { - .is-size-1-tablet { - font-size: 2.462rem !important; - } - .is-size-2-tablet { - font-size: 2rem !important; - } - .is-size-3-tablet { - font-size: 1.692rem !important; - } - .is-size-4-tablet { - font-size: 1.385rem !important; - } - .is-size-5-tablet { - font-size: 1.213rem !important; - } - .is-size-6-tablet { - font-size: 1rem !important; - } - .is-size-7-tablet { - font-size: 0.846rem !important; - } -} -@media screen and (max-width: 1023px) { - .is-size-1-touch { - font-size: 2.462rem !important; - } - .is-size-2-touch { - font-size: 2rem !important; - } - .is-size-3-touch { - font-size: 1.692rem !important; - } - .is-size-4-touch { - font-size: 1.385rem !important; - } - .is-size-5-touch { - font-size: 1.213rem !important; - } - .is-size-6-touch { - font-size: 1rem !important; - } - .is-size-7-touch { - font-size: 0.846rem !important; - } -} -@media screen and (min-width: 1024px) { - .is-size-1-desktop { - font-size: 2.462rem !important; - } - .is-size-2-desktop { - font-size: 2rem !important; - } - .is-size-3-desktop { - font-size: 1.692rem !important; - } - .is-size-4-desktop { - font-size: 1.385rem !important; - } - .is-size-5-desktop { - font-size: 1.213rem !important; - } - .is-size-6-desktop { - font-size: 1rem !important; - } - .is-size-7-desktop { - font-size: 0.846rem !important; - } -} -@media screen and (min-width: 1216px) { - .is-size-1-widescreen { - font-size: 2.462rem !important; - } - .is-size-2-widescreen { - font-size: 2rem !important; - } - .is-size-3-widescreen { - font-size: 1.692rem !important; - } - .is-size-4-widescreen { - font-size: 1.385rem !important; - } - .is-size-5-widescreen { - font-size: 1.213rem !important; - } - .is-size-6-widescreen { - font-size: 1rem !important; - } - .is-size-7-widescreen { - font-size: 0.846rem !important; - } -} -@media screen and (min-width: 1408px) { - .is-size-1-fullhd { - font-size: 2.462rem !important; - } - .is-size-2-fullhd { - font-size: 2rem !important; - } - .is-size-3-fullhd { - font-size: 1.692rem !important; - } - .is-size-4-fullhd { - font-size: 1.385rem !important; - } - .is-size-5-fullhd { - font-size: 1.213rem !important; - } - .is-size-6-fullhd { - font-size: 1rem !important; - } - .is-size-7-fullhd { - font-size: 0.846rem !important; - } -} -.has-text-centered { - text-align: center !important; -} - -.has-text-justified { - text-align: justify !important; -} - -.has-text-left { - text-align: left !important; -} - -.has-text-right { - text-align: right !important; -} - -@media screen and (max-width: 768px) { - .has-text-centered-mobile { - text-align: center !important; - } -} -@media screen and (min-width: 769px), print { - .has-text-centered-tablet { - text-align: center !important; - } -} -@media screen and (min-width: 769px) and (max-width: 1023px) { - .has-text-centered-tablet-only { - text-align: center !important; - } -} -@media screen and (max-width: 1023px) { - .has-text-centered-touch { - text-align: center !important; - } -} -@media screen and (min-width: 1024px) { - .has-text-centered-desktop { - text-align: center !important; - } -} -@media screen and (min-width: 1024px) and (max-width: 1215px) { - .has-text-centered-desktop-only { - text-align: center !important; - } -} -@media screen and (min-width: 1216px) { - .has-text-centered-widescreen { - text-align: center !important; - } -} -@media screen and (min-width: 1216px) and (max-width: 1407px) { - .has-text-centered-widescreen-only { - text-align: center !important; - } -} -@media screen and (min-width: 1408px) { - .has-text-centered-fullhd { - text-align: center !important; - } -} -@media screen and (max-width: 768px) { - .has-text-justified-mobile { - text-align: justify !important; - } -} -@media screen and (min-width: 769px), print { - .has-text-justified-tablet { - text-align: justify !important; - } -} -@media screen and (min-width: 769px) and (max-width: 1023px) { - .has-text-justified-tablet-only { - text-align: justify !important; - } -} -@media screen and (max-width: 1023px) { - .has-text-justified-touch { - text-align: justify !important; - } -} -@media screen and (min-width: 1024px) { - .has-text-justified-desktop { - text-align: justify !important; - } -} -@media screen and (min-width: 1024px) and (max-width: 1215px) { - .has-text-justified-desktop-only { - text-align: justify !important; - } -} -@media screen and (min-width: 1216px) { - .has-text-justified-widescreen { - text-align: justify !important; - } -} -@media screen and (min-width: 1216px) and (max-width: 1407px) { - .has-text-justified-widescreen-only { - text-align: justify !important; - } -} -@media screen and (min-width: 1408px) { - .has-text-justified-fullhd { - text-align: justify !important; - } -} -@media screen and (max-width: 768px) { - .has-text-left-mobile { - text-align: left !important; - } -} -@media screen and (min-width: 769px), print { - .has-text-left-tablet { - text-align: left !important; - } -} -@media screen and (min-width: 769px) and (max-width: 1023px) { - .has-text-left-tablet-only { - text-align: left !important; - } -} -@media screen and (max-width: 1023px) { - .has-text-left-touch { - text-align: left !important; - } -} -@media screen and (min-width: 1024px) { - .has-text-left-desktop { - text-align: left !important; - } -} -@media screen and (min-width: 1024px) and (max-width: 1215px) { - .has-text-left-desktop-only { - text-align: left !important; - } -} -@media screen and (min-width: 1216px) { - .has-text-left-widescreen { - text-align: left !important; - } -} -@media screen and (min-width: 1216px) and (max-width: 1407px) { - .has-text-left-widescreen-only { - text-align: left !important; - } -} -@media screen and (min-width: 1408px) { - .has-text-left-fullhd { - text-align: left !important; - } -} -@media screen and (max-width: 768px) { - .has-text-right-mobile { - text-align: right !important; - } -} -@media screen and (min-width: 769px), print { - .has-text-right-tablet { - text-align: right !important; - } -} -@media screen and (min-width: 769px) and (max-width: 1023px) { - .has-text-right-tablet-only { - text-align: right !important; - } -} -@media screen and (max-width: 1023px) { - .has-text-right-touch { - text-align: right !important; - } -} -@media screen and (min-width: 1024px) { - .has-text-right-desktop { - text-align: right !important; - } -} -@media screen and (min-width: 1024px) and (max-width: 1215px) { - .has-text-right-desktop-only { - text-align: right !important; - } -} -@media screen and (min-width: 1216px) { - .has-text-right-widescreen { - text-align: right !important; - } -} -@media screen and (min-width: 1216px) and (max-width: 1407px) { - .has-text-right-widescreen-only { - text-align: right !important; - } -} -@media screen and (min-width: 1408px) { - .has-text-right-fullhd { - text-align: right !important; - } -} -.is-capitalized { - text-transform: capitalize !important; -} - -.is-lowercase { - text-transform: lowercase !important; -} - -.is-uppercase { - text-transform: uppercase !important; -} - -.is-italic { - font-style: italic !important; -} - -.is-underlined { - text-decoration: underline !important; -} - -.has-text-weight-light { - font-weight: 300 !important; -} - -.has-text-weight-normal { - font-weight: 400 !important; -} - -.has-text-weight-medium { - font-weight: 500 !important; -} - -.has-text-weight-semibold { - font-weight: 600 !important; -} - -.has-text-weight-bold { - font-weight: 700 !important; -} - -.is-family-primary { - font-family: BlinkMacSystemFont, -apple-system, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif !important; -} - -.is-family-secondary { - font-family: BlinkMacSystemFont, -apple-system, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif !important; -} - -.is-family-sans-serif { - font-family: BlinkMacSystemFont, -apple-system, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif !important; -} - -.is-family-monospace { - font-family: monospace !important; -} - -.is-family-code { - font-family: monospace !important; -} - -.is-block { - display: block !important; -} - -@media screen and (max-width: 768px) { - .is-block-mobile { - display: block !important; - } -} -@media screen and (min-width: 769px), print { - .is-block-tablet { - display: block !important; - } -} -@media screen and (min-width: 769px) and (max-width: 1023px) { - .is-block-tablet-only { - display: block !important; - } -} -@media screen and (max-width: 1023px) { - .is-block-touch { - display: block !important; - } -} -@media screen and (min-width: 1024px) { - .is-block-desktop { - display: block !important; - } -} -@media screen and (min-width: 1024px) and (max-width: 1215px) { - .is-block-desktop-only { - display: block !important; - } -} -@media screen and (min-width: 1216px) { - .is-block-widescreen { - display: block !important; - } -} -@media screen and (min-width: 1216px) and (max-width: 1407px) { - .is-block-widescreen-only { - display: block !important; - } -} -@media screen and (min-width: 1408px) { - .is-block-fullhd { - display: block !important; - } -} -.is-flex { - display: flex !important; -} - -@media screen and (max-width: 768px) { - .is-flex-mobile { - display: flex !important; - } -} -@media screen and (min-width: 769px), print { - .is-flex-tablet { - display: flex !important; - } -} -@media screen and (min-width: 769px) and (max-width: 1023px) { - .is-flex-tablet-only { - display: flex !important; - } -} -@media screen and (max-width: 1023px) { - .is-flex-touch { - display: flex !important; - } -} -@media screen and (min-width: 1024px) { - .is-flex-desktop { - display: flex !important; - } -} -@media screen and (min-width: 1024px) and (max-width: 1215px) { - .is-flex-desktop-only { - display: flex !important; - } -} -@media screen and (min-width: 1216px) { - .is-flex-widescreen { - display: flex !important; - } -} -@media screen and (min-width: 1216px) and (max-width: 1407px) { - .is-flex-widescreen-only { - display: flex !important; - } -} -@media screen and (min-width: 1408px) { - .is-flex-fullhd { - display: flex !important; - } -} -.is-inline { - display: inline !important; -} - -@media screen and (max-width: 768px) { - .is-inline-mobile { - display: inline !important; - } -} -@media screen and (min-width: 769px), print { - .is-inline-tablet { - display: inline !important; - } -} -@media screen and (min-width: 769px) and (max-width: 1023px) { - .is-inline-tablet-only { - display: inline !important; - } -} -@media screen and (max-width: 1023px) { - .is-inline-touch { - display: inline !important; - } -} -@media screen and (min-width: 1024px) { - .is-inline-desktop { - display: inline !important; - } -} -@media screen and (min-width: 1024px) and (max-width: 1215px) { - .is-inline-desktop-only { - display: inline !important; - } -} -@media screen and (min-width: 1216px) { - .is-inline-widescreen { - display: inline !important; - } -} -@media screen and (min-width: 1216px) and (max-width: 1407px) { - .is-inline-widescreen-only { - display: inline !important; - } -} -@media screen and (min-width: 1408px) { - .is-inline-fullhd { - display: inline !important; - } -} -.is-inline-block { - display: inline-block !important; -} - -@media screen and (max-width: 768px) { - .is-inline-block-mobile { - display: inline-block !important; - } -} -@media screen and (min-width: 769px), print { - .is-inline-block-tablet { - display: inline-block !important; - } -} -@media screen and (min-width: 769px) and (max-width: 1023px) { - .is-inline-block-tablet-only { - display: inline-block !important; - } -} -@media screen and (max-width: 1023px) { - .is-inline-block-touch { - display: inline-block !important; - } -} -@media screen and (min-width: 1024px) { - .is-inline-block-desktop { - display: inline-block !important; - } -} -@media screen and (min-width: 1024px) and (max-width: 1215px) { - .is-inline-block-desktop-only { - display: inline-block !important; - } -} -@media screen and (min-width: 1216px) { - .is-inline-block-widescreen { - display: inline-block !important; - } -} -@media screen and (min-width: 1216px) and (max-width: 1407px) { - .is-inline-block-widescreen-only { - display: inline-block !important; - } -} -@media screen and (min-width: 1408px) { - .is-inline-block-fullhd { - display: inline-block !important; - } -} -.is-inline-flex { - display: inline-flex !important; -} - -@media screen and (max-width: 768px) { - .is-inline-flex-mobile { - display: inline-flex !important; - } -} -@media screen and (min-width: 769px), print { - .is-inline-flex-tablet { - display: inline-flex !important; - } -} -@media screen and (min-width: 769px) and (max-width: 1023px) { - .is-inline-flex-tablet-only { - display: inline-flex !important; - } -} -@media screen and (max-width: 1023px) { - .is-inline-flex-touch { - display: inline-flex !important; - } -} -@media screen and (min-width: 1024px) { - .is-inline-flex-desktop { - display: inline-flex !important; - } -} -@media screen and (min-width: 1024px) and (max-width: 1215px) { - .is-inline-flex-desktop-only { - display: inline-flex !important; - } -} -@media screen and (min-width: 1216px) { - .is-inline-flex-widescreen { - display: inline-flex !important; - } -} -@media screen and (min-width: 1216px) and (max-width: 1407px) { - .is-inline-flex-widescreen-only { - display: inline-flex !important; - } -} -@media screen and (min-width: 1408px) { - .is-inline-flex-fullhd { - display: inline-flex !important; - } -} -.is-hidden { - display: none !important; -} - -.is-sr-only { - border: none !important; - clip: rect(0, 0, 0, 0) !important; - height: 0.01em !important; - overflow: hidden !important; - padding: 0 !important; - position: absolute !important; - white-space: nowrap !important; - width: 0.01em !important; -} - -@media screen and (max-width: 768px) { - .is-hidden-mobile { - display: none !important; - } -} -@media screen and (min-width: 769px), print { - .is-hidden-tablet { - display: none !important; - } -} -@media screen and (min-width: 769px) and (max-width: 1023px) { - .is-hidden-tablet-only { - display: none !important; - } -} -@media screen and (max-width: 1023px) { - .is-hidden-touch { - display: none !important; - } -} -@media screen and (min-width: 1024px) { - .is-hidden-desktop { - display: none !important; - } -} -@media screen and (min-width: 1024px) and (max-width: 1215px) { - .is-hidden-desktop-only { - display: none !important; - } -} -@media screen and (min-width: 1216px) { - .is-hidden-widescreen { - display: none !important; - } -} -@media screen and (min-width: 1216px) and (max-width: 1407px) { - .is-hidden-widescreen-only { - display: none !important; - } -} -@media screen and (min-width: 1408px) { - .is-hidden-fullhd { - display: none !important; - } -} -.is-invisible { - visibility: hidden !important; -} - -@media screen and (max-width: 768px) { - .is-invisible-mobile { - visibility: hidden !important; - } -} -@media screen and (min-width: 769px), print { - .is-invisible-tablet { - visibility: hidden !important; - } -} -@media screen and (min-width: 769px) and (max-width: 1023px) { - .is-invisible-tablet-only { - visibility: hidden !important; - } -} -@media screen and (max-width: 1023px) { - .is-invisible-touch { - visibility: hidden !important; - } -} -@media screen and (min-width: 1024px) { - .is-invisible-desktop { - visibility: hidden !important; - } -} -@media screen and (min-width: 1024px) and (max-width: 1215px) { - .is-invisible-desktop-only { - visibility: hidden !important; - } -} -@media screen and (min-width: 1216px) { - .is-invisible-widescreen { - visibility: hidden !important; - } -} -@media screen and (min-width: 1216px) and (max-width: 1407px) { - .is-invisible-widescreen-only { - visibility: hidden !important; - } -} -@media screen and (min-width: 1408px) { - .is-invisible-fullhd { - visibility: hidden !important; - } -} -/* Bulma Layout */ -.hero { - align-items: stretch; - display: flex; - flex-direction: column; - justify-content: space-between; -} - -.hero .navbar { - background: none; -} - -.hero .tabs ul { - border-bottom: none; -} - -.hero.is-white { - background-color: hsl(0, 0%, 100%); - color: hsl(0, 0%, 4%); -} - -.hero.is-white a:not(.button):not(.dropdown-item):not(.tag):not(.pagination-link.is-current), -.hero.is-white strong { - color: inherit; -} - -.hero.is-white .title { - color: hsl(0, 0%, 4%); -} - -.hero.is-white .subtitle { - color: rgba(10, 10, 10, 0.9); -} - -.hero.is-white .subtitle a:not(.button), -.hero.is-white .subtitle strong { - color: hsl(0, 0%, 4%); -} - -@media screen and (max-width: 1023px) { - .hero.is-white .navbar-menu { - background-color: hsl(0, 0%, 100%); - } -} -.hero.is-white .navbar-item, -.hero.is-white .navbar-link { - color: rgba(10, 10, 10, 0.7); -} - -.hero.is-white a.navbar-item:hover, .hero.is-white a.navbar-item.is-active, -.hero.is-white .navbar-link:hover, -.hero.is-white .navbar-link.is-active { - background-color: #f2f2f2; - color: hsl(0, 0%, 4%); -} - -.hero.is-white .tabs a { - color: hsl(0, 0%, 4%); - opacity: 0.9; -} - -.hero.is-white .tabs a:hover { - opacity: 1; -} - -.hero.is-white .tabs li.is-active a { - color: hsl(0, 0%, 100%) !important; - opacity: 1; -} - -.hero.is-white .tabs.is-boxed a, .hero.is-white .tabs.is-toggle a { - color: hsl(0, 0%, 4%); -} - -.hero.is-white .tabs.is-boxed a:hover, .hero.is-white .tabs.is-toggle a:hover { - background-color: rgba(10, 10, 10, 0.1); -} - -.hero.is-white .tabs.is-boxed li.is-active a, .hero.is-white .tabs.is-boxed li.is-active a:hover, .hero.is-white .tabs.is-toggle li.is-active a, .hero.is-white .tabs.is-toggle li.is-active a:hover { - background-color: hsl(0, 0%, 4%); - border-color: hsl(0, 0%, 4%); - color: hsl(0, 0%, 100%); -} - -.hero.is-white.is-bold { - background-image: linear-gradient(141deg, #e8e3e4 0%, hsl(0, 0%, 100%) 71%, white 100%); -} - -@media screen and (max-width: 768px) { - .hero.is-white.is-bold .navbar-menu { - background-image: linear-gradient(141deg, #e8e3e4 0%, hsl(0, 0%, 100%) 71%, white 100%); - } -} -.hero.is-black { - background-color: hsl(0, 0%, 4%); - color: hsl(0, 0%, 100%); -} - -.hero.is-black a:not(.button):not(.dropdown-item):not(.tag):not(.pagination-link.is-current), -.hero.is-black strong { - color: inherit; -} - -.hero.is-black .title { - color: hsl(0, 0%, 100%); -} - -.hero.is-black .subtitle { - color: rgba(255, 255, 255, 0.9); -} - -.hero.is-black .subtitle a:not(.button), -.hero.is-black .subtitle strong { - color: hsl(0, 0%, 100%); -} - -@media screen and (max-width: 1023px) { - .hero.is-black .navbar-menu { - background-color: hsl(0, 0%, 4%); - } -} -.hero.is-black .navbar-item, -.hero.is-black .navbar-link { - color: rgba(255, 255, 255, 0.7); -} - -.hero.is-black a.navbar-item:hover, .hero.is-black a.navbar-item.is-active, -.hero.is-black .navbar-link:hover, -.hero.is-black .navbar-link.is-active { - background-color: black; - color: hsl(0, 0%, 100%); -} - -.hero.is-black .tabs a { - color: hsl(0, 0%, 100%); - opacity: 0.9; -} - -.hero.is-black .tabs a:hover { - opacity: 1; -} - -.hero.is-black .tabs li.is-active a { - color: hsl(0, 0%, 4%) !important; - opacity: 1; -} - -.hero.is-black .tabs.is-boxed a, .hero.is-black .tabs.is-toggle a { - color: hsl(0, 0%, 100%); -} - -.hero.is-black .tabs.is-boxed a:hover, .hero.is-black .tabs.is-toggle a:hover { - background-color: rgba(10, 10, 10, 0.1); -} - -.hero.is-black .tabs.is-boxed li.is-active a, .hero.is-black .tabs.is-boxed li.is-active a:hover, .hero.is-black .tabs.is-toggle li.is-active a, .hero.is-black .tabs.is-toggle li.is-active a:hover { - background-color: hsl(0, 0%, 100%); - border-color: hsl(0, 0%, 100%); - color: hsl(0, 0%, 4%); -} - -.hero.is-black.is-bold { - background-image: linear-gradient(141deg, black 0%, hsl(0, 0%, 4%) 71%, #181616 100%); -} - -@media screen and (max-width: 768px) { - .hero.is-black.is-bold .navbar-menu { - background-image: linear-gradient(141deg, black 0%, hsl(0, 0%, 4%) 71%, #181616 100%); - } -} -.hero.is-light { - background-color: hsl(0, 0%, 96%); - color: rgba(0, 0, 0, 0.7); -} - -.hero.is-light a:not(.button):not(.dropdown-item):not(.tag):not(.pagination-link.is-current), -.hero.is-light strong { - color: inherit; -} - -.hero.is-light .title { - color: rgba(0, 0, 0, 0.7); -} - -.hero.is-light .subtitle { - color: rgba(0, 0, 0, 0.9); -} - -.hero.is-light .subtitle a:not(.button), -.hero.is-light .subtitle strong { - color: rgba(0, 0, 0, 0.7); -} - -@media screen and (max-width: 1023px) { - .hero.is-light .navbar-menu { - background-color: hsl(0, 0%, 96%); - } -} -.hero.is-light .navbar-item, -.hero.is-light .navbar-link { - color: rgba(0, 0, 0, 0.7); -} - -.hero.is-light a.navbar-item:hover, .hero.is-light a.navbar-item.is-active, -.hero.is-light .navbar-link:hover, -.hero.is-light .navbar-link.is-active { - background-color: #e8e8e8; - color: rgba(0, 0, 0, 0.7); -} - -.hero.is-light .tabs a { - color: rgba(0, 0, 0, 0.7); - opacity: 0.9; -} - -.hero.is-light .tabs a:hover { - opacity: 1; -} - -.hero.is-light .tabs li.is-active a { - color: hsl(0, 0%, 96%) !important; - opacity: 1; -} - -.hero.is-light .tabs.is-boxed a, .hero.is-light .tabs.is-toggle a { - color: rgba(0, 0, 0, 0.7); -} - -.hero.is-light .tabs.is-boxed a:hover, .hero.is-light .tabs.is-toggle a:hover { - background-color: rgba(10, 10, 10, 0.1); -} - -.hero.is-light .tabs.is-boxed li.is-active a, .hero.is-light .tabs.is-boxed li.is-active a:hover, .hero.is-light .tabs.is-toggle li.is-active a, .hero.is-light .tabs.is-toggle li.is-active a:hover { - background-color: rgba(0, 0, 0, 0.7); - border-color: rgba(0, 0, 0, 0.7); - color: hsl(0, 0%, 96%); -} - -.hero.is-light.is-bold { - background-image: linear-gradient(141deg, #dfd8d9 0%, hsl(0, 0%, 96%) 71%, white 100%); -} - -@media screen and (max-width: 768px) { - .hero.is-light.is-bold .navbar-menu { - background-image: linear-gradient(141deg, #dfd8d9 0%, hsl(0, 0%, 96%) 71%, white 100%); - } -} -.hero.is-dark { - background-color: hsl(0, 0%, 21%); - color: #fff; -} - -.hero.is-dark a:not(.button):not(.dropdown-item):not(.tag):not(.pagination-link.is-current), -.hero.is-dark strong { - color: inherit; -} - -.hero.is-dark .title { - color: #fff; -} - -.hero.is-dark .subtitle { - color: rgba(255, 255, 255, 0.9); -} - -.hero.is-dark .subtitle a:not(.button), -.hero.is-dark .subtitle strong { - color: #fff; -} - -@media screen and (max-width: 1023px) { - .hero.is-dark .navbar-menu { - background-color: hsl(0, 0%, 21%); - } -} -.hero.is-dark .navbar-item, -.hero.is-dark .navbar-link { - color: rgba(255, 255, 255, 0.7); -} - -.hero.is-dark a.navbar-item:hover, .hero.is-dark a.navbar-item.is-active, -.hero.is-dark .navbar-link:hover, -.hero.is-dark .navbar-link.is-active { - background-color: #292929; - color: #fff; -} - -.hero.is-dark .tabs a { - color: #fff; - opacity: 0.9; -} - -.hero.is-dark .tabs a:hover { - opacity: 1; -} - -.hero.is-dark .tabs li.is-active a { - color: hsl(0, 0%, 21%) !important; - opacity: 1; -} - -.hero.is-dark .tabs.is-boxed a, .hero.is-dark .tabs.is-toggle a { - color: #fff; -} - -.hero.is-dark .tabs.is-boxed a:hover, .hero.is-dark .tabs.is-toggle a:hover { - background-color: rgba(10, 10, 10, 0.1); -} - -.hero.is-dark .tabs.is-boxed li.is-active a, .hero.is-dark .tabs.is-boxed li.is-active a:hover, .hero.is-dark .tabs.is-toggle li.is-active a, .hero.is-dark .tabs.is-toggle li.is-active a:hover { - background-color: #fff; - border-color: #fff; - color: hsl(0, 0%, 21%); -} - -.hero.is-dark.is-bold { - background-image: linear-gradient(141deg, #1f191a 0%, hsl(0, 0%, 21%) 71%, #46403f 100%); -} - -@media screen and (max-width: 768px) { - .hero.is-dark.is-bold .navbar-menu { - background-image: linear-gradient(141deg, #1f191a 0%, hsl(0, 0%, 21%) 71%, #46403f 100%); - } -} -.hero.is-primary { - background-color: hsl(171, 100%, 41%); - color: #fff; -} - -.hero.is-primary a:not(.button):not(.dropdown-item):not(.tag):not(.pagination-link.is-current), -.hero.is-primary strong { - color: inherit; -} - -.hero.is-primary .title { - color: #fff; -} - -.hero.is-primary .subtitle { - color: rgba(255, 255, 255, 0.9); -} - -.hero.is-primary .subtitle a:not(.button), -.hero.is-primary .subtitle strong { - color: #fff; -} - -@media screen and (max-width: 1023px) { - .hero.is-primary .navbar-menu { - background-color: hsl(171, 100%, 41%); - } -} -.hero.is-primary .navbar-item, -.hero.is-primary .navbar-link { - color: rgba(255, 255, 255, 0.7); -} - -.hero.is-primary a.navbar-item:hover, .hero.is-primary a.navbar-item.is-active, -.hero.is-primary .navbar-link:hover, -.hero.is-primary .navbar-link.is-active { - background-color: #00b89c; - color: #fff; -} - -.hero.is-primary .tabs a { - color: #fff; - opacity: 0.9; -} - -.hero.is-primary .tabs a:hover { - opacity: 1; -} - -.hero.is-primary .tabs li.is-active a { - color: hsl(171, 100%, 41%) !important; - opacity: 1; -} - -.hero.is-primary .tabs.is-boxed a, .hero.is-primary .tabs.is-toggle a { - color: #fff; -} - -.hero.is-primary .tabs.is-boxed a:hover, .hero.is-primary .tabs.is-toggle a:hover { - background-color: rgba(10, 10, 10, 0.1); -} - -.hero.is-primary .tabs.is-boxed li.is-active a, .hero.is-primary .tabs.is-boxed li.is-active a:hover, .hero.is-primary .tabs.is-toggle li.is-active a, .hero.is-primary .tabs.is-toggle li.is-active a:hover { - background-color: #fff; - border-color: #fff; - color: hsl(171, 100%, 41%); -} - -.hero.is-primary.is-bold { - background-image: linear-gradient(141deg, #009e6c 0%, hsl(171, 100%, 41%) 71%, #00e7eb 100%); -} - -@media screen and (max-width: 768px) { - .hero.is-primary.is-bold .navbar-menu { - background-image: linear-gradient(141deg, #009e6c 0%, hsl(171, 100%, 41%) 71%, #00e7eb 100%); - } -} -.hero.is-link { - background-color: hsl(229, 53%, 53%); - color: #fff; -} - -.hero.is-link a:not(.button):not(.dropdown-item):not(.tag):not(.pagination-link.is-current), -.hero.is-link strong { - color: inherit; -} - -.hero.is-link .title { - color: #fff; -} - -.hero.is-link .subtitle { - color: rgba(255, 255, 255, 0.9); -} - -.hero.is-link .subtitle a:not(.button), -.hero.is-link .subtitle strong { - color: #fff; -} - -@media screen and (max-width: 1023px) { - .hero.is-link .navbar-menu { - background-color: hsl(229, 53%, 53%); - } -} -.hero.is-link .navbar-item, -.hero.is-link .navbar-link { - color: rgba(255, 255, 255, 0.7); -} - -.hero.is-link a.navbar-item:hover, .hero.is-link a.navbar-item.is-active, -.hero.is-link .navbar-link:hover, -.hero.is-link .navbar-link.is-active { - background-color: #3a51bb; - color: #fff; -} - -.hero.is-link .tabs a { - color: #fff; - opacity: 0.9; -} - -.hero.is-link .tabs a:hover { - opacity: 1; -} - -.hero.is-link .tabs li.is-active a { - color: hsl(229, 53%, 53%) !important; - opacity: 1; -} - -.hero.is-link .tabs.is-boxed a, .hero.is-link .tabs.is-toggle a { - color: #fff; -} - -.hero.is-link .tabs.is-boxed a:hover, .hero.is-link .tabs.is-toggle a:hover { - background-color: rgba(10, 10, 10, 0.1); -} - -.hero.is-link .tabs.is-boxed li.is-active a, .hero.is-link .tabs.is-boxed li.is-active a:hover, .hero.is-link .tabs.is-toggle li.is-active a, .hero.is-link .tabs.is-toggle li.is-active a:hover { - background-color: #fff; - border-color: #fff; - color: hsl(229, 53%, 53%); -} - -.hero.is-link.is-bold { - background-image: linear-gradient(141deg, #2959b3 0%, hsl(229, 53%, 53%) 71%, #5658d2 100%); -} - -@media screen and (max-width: 768px) { - .hero.is-link.is-bold .navbar-menu { - background-image: linear-gradient(141deg, #2959b3 0%, hsl(229, 53%, 53%) 71%, #5658d2 100%); - } -} -.hero.is-info { - background-color: hsl(217, 71%, 50%); - color: #fff; -} - -.hero.is-info a:not(.button):not(.dropdown-item):not(.tag):not(.pagination-link.is-current), -.hero.is-info strong { - color: inherit; -} - -.hero.is-info .title { - color: #fff; -} - -.hero.is-info .subtitle { - color: rgba(255, 255, 255, 0.9); -} - -.hero.is-info .subtitle a:not(.button), -.hero.is-info .subtitle strong { - color: #fff; -} - -@media screen and (max-width: 1023px) { - .hero.is-info .navbar-menu { - background-color: hsl(217, 71%, 50%); - } -} -.hero.is-info .navbar-item, -.hero.is-info .navbar-link { - color: rgba(255, 255, 255, 0.7); -} - -.hero.is-info a.navbar-item:hover, .hero.is-info a.navbar-item.is-active, -.hero.is-info .navbar-link:hover, -.hero.is-info .navbar-link.is-active { - background-color: #2160c4; - color: #fff; -} - -.hero.is-info .tabs a { - color: #fff; - opacity: 0.9; -} - -.hero.is-info .tabs a:hover { - opacity: 1; -} - -.hero.is-info .tabs li.is-active a { - color: hsl(217, 71%, 50%) !important; - opacity: 1; -} - -.hero.is-info .tabs.is-boxed a, .hero.is-info .tabs.is-toggle a { - color: #fff; -} - -.hero.is-info .tabs.is-boxed a:hover, .hero.is-info .tabs.is-toggle a:hover { - background-color: rgba(10, 10, 10, 0.1); -} - -.hero.is-info .tabs.is-boxed li.is-active a, .hero.is-info .tabs.is-boxed li.is-active a:hover, .hero.is-info .tabs.is-toggle li.is-active a, .hero.is-info .tabs.is-toggle li.is-active a:hover { - background-color: #fff; - border-color: #fff; - color: hsl(217, 71%, 50%); -} - -.hero.is-info.is-bold { - background-image: linear-gradient(141deg, #136eb9 0%, hsl(217, 71%, 50%) 71%, #355be3 100%); -} - -@media screen and (max-width: 768px) { - .hero.is-info.is-bold .navbar-menu { - background-image: linear-gradient(141deg, #136eb9 0%, hsl(217, 71%, 50%) 71%, #355be3 100%); - } -} -.hero.is-success { - background-color: hsl(141, 53%, 40%); - color: #fff; -} - -.hero.is-success a:not(.button):not(.dropdown-item):not(.tag):not(.pagination-link.is-current), -.hero.is-success strong { - color: inherit; -} - -.hero.is-success .title { - color: #fff; -} - -.hero.is-success .subtitle { - color: rgba(255, 255, 255, 0.9); -} - -.hero.is-success .subtitle a:not(.button), -.hero.is-success .subtitle strong { - color: #fff; -} - -@media screen and (max-width: 1023px) { - .hero.is-success .navbar-menu { - background-color: hsl(141, 53%, 40%); - } -} -.hero.is-success .navbar-item, -.hero.is-success .navbar-link { - color: rgba(255, 255, 255, 0.7); -} - -.hero.is-success a.navbar-item:hover, .hero.is-success a.navbar-item.is-active, -.hero.is-success .navbar-link:hover, -.hero.is-success .navbar-link.is-active { - background-color: #2a894b; - color: #fff; -} - -.hero.is-success .tabs a { - color: #fff; - opacity: 0.9; -} - -.hero.is-success .tabs a:hover { - opacity: 1; -} - -.hero.is-success .tabs li.is-active a { - color: hsl(141, 53%, 40%) !important; - opacity: 1; -} - -.hero.is-success .tabs.is-boxed a, .hero.is-success .tabs.is-toggle a { - color: #fff; -} - -.hero.is-success .tabs.is-boxed a:hover, .hero.is-success .tabs.is-toggle a:hover { - background-color: rgba(10, 10, 10, 0.1); -} - -.hero.is-success .tabs.is-boxed li.is-active a, .hero.is-success .tabs.is-boxed li.is-active a:hover, .hero.is-success .tabs.is-toggle li.is-active a, .hero.is-success .tabs.is-toggle li.is-active a:hover { - background-color: #fff; - border-color: #fff; - color: hsl(141, 53%, 40%); -} - -.hero.is-success.is-bold { - background-image: linear-gradient(141deg, #1c7d2e 0%, hsl(141, 53%, 40%) 71%, #30b575 100%); -} - -@media screen and (max-width: 768px) { - .hero.is-success.is-bold .navbar-menu { - background-image: linear-gradient(141deg, #1c7d2e 0%, hsl(141, 53%, 40%) 71%, #30b575 100%); - } -} -.hero.is-warning { - background-color: hsl(38, 93%, 50%); - color: #fff; -} - -.hero.is-warning a:not(.button):not(.dropdown-item):not(.tag):not(.pagination-link.is-current), -.hero.is-warning strong { - color: inherit; -} - -.hero.is-warning .title { - color: #fff; -} - -.hero.is-warning .subtitle { - color: rgba(255, 255, 255, 0.9); -} - -.hero.is-warning .subtitle a:not(.button), -.hero.is-warning .subtitle strong { - color: #fff; -} - -@media screen and (max-width: 1023px) { - .hero.is-warning .navbar-menu { - background-color: hsl(38, 93%, 50%); - } -} -.hero.is-warning .navbar-item, -.hero.is-warning .navbar-link { - color: rgba(255, 255, 255, 0.7); -} - -.hero.is-warning a.navbar-item:hover, .hero.is-warning a.navbar-item.is-active, -.hero.is-warning .navbar-link:hover, -.hero.is-warning .navbar-link.is-active { - background-color: #dd8f08; - color: #fff; -} - -.hero.is-warning .tabs a { - color: #fff; - opacity: 0.9; -} - -.hero.is-warning .tabs a:hover { - opacity: 1; -} - -.hero.is-warning .tabs li.is-active a { - color: hsl(38, 93%, 50%) !important; - opacity: 1; -} - -.hero.is-warning .tabs.is-boxed a, .hero.is-warning .tabs.is-toggle a { - color: #fff; -} - -.hero.is-warning .tabs.is-boxed a:hover, .hero.is-warning .tabs.is-toggle a:hover { - background-color: rgba(10, 10, 10, 0.1); -} - -.hero.is-warning .tabs.is-boxed li.is-active a, .hero.is-warning .tabs.is-boxed li.is-active a:hover, .hero.is-warning .tabs.is-toggle li.is-active a, .hero.is-warning .tabs.is-toggle li.is-active a:hover { - background-color: #fff; - border-color: #fff; - color: hsl(38, 93%, 50%); -} - -.hero.is-warning.is-bold { - background-image: linear-gradient(141deg, #cc5f00 0%, hsl(38, 93%, 50%) 71%, #fdd01c 100%); -} - -@media screen and (max-width: 768px) { - .hero.is-warning.is-bold .navbar-menu { - background-image: linear-gradient(141deg, #cc5f00 0%, hsl(38, 93%, 50%) 71%, #fdd01c 100%); - } -} -.hero.is-danger { - background-color: hsl(348, 100%, 40%); - color: #fff; -} - -.hero.is-danger a:not(.button):not(.dropdown-item):not(.tag):not(.pagination-link.is-current), -.hero.is-danger strong { - color: inherit; -} - -.hero.is-danger .title { - color: #fff; -} - -.hero.is-danger .subtitle { - color: rgba(255, 255, 255, 0.9); -} - -.hero.is-danger .subtitle a:not(.button), -.hero.is-danger .subtitle strong { - color: #fff; -} - -@media screen and (max-width: 1023px) { - .hero.is-danger .navbar-menu { - background-color: hsl(348, 100%, 40%); - } -} -.hero.is-danger .navbar-item, -.hero.is-danger .navbar-link { - color: rgba(255, 255, 255, 0.7); -} - -.hero.is-danger a.navbar-item:hover, .hero.is-danger a.navbar-item.is-active, -.hero.is-danger .navbar-link:hover, -.hero.is-danger .navbar-link.is-active { - background-color: #b30024; - color: #fff; -} - -.hero.is-danger .tabs a { - color: #fff; - opacity: 0.9; -} - -.hero.is-danger .tabs a:hover { - opacity: 1; -} - -.hero.is-danger .tabs li.is-active a { - color: hsl(348, 100%, 40%) !important; - opacity: 1; -} - -.hero.is-danger .tabs.is-boxed a, .hero.is-danger .tabs.is-toggle a { - color: #fff; -} - -.hero.is-danger .tabs.is-boxed a:hover, .hero.is-danger .tabs.is-toggle a:hover { - background-color: rgba(10, 10, 10, 0.1); -} - -.hero.is-danger .tabs.is-boxed li.is-active a, .hero.is-danger .tabs.is-boxed li.is-active a:hover, .hero.is-danger .tabs.is-toggle li.is-active a, .hero.is-danger .tabs.is-toggle li.is-active a:hover { - background-color: #fff; - border-color: #fff; - color: hsl(348, 100%, 40%); -} - -.hero.is-danger.is-bold { - background-image: linear-gradient(141deg, #990038 0%, hsl(348, 100%, 40%) 71%, #e60008 100%); -} - -@media screen and (max-width: 768px) { - .hero.is-danger.is-bold .navbar-menu { - background-image: linear-gradient(141deg, #990038 0%, hsl(348, 100%, 40%) 71%, #e60008 100%); - } -} -.hero.is-small .hero-body { - padding: 1.5rem; -} - -@media screen and (min-width: 769px), print { - .hero.is-medium .hero-body { - padding: 9rem 4.5rem; - } -} -@media screen and (min-width: 769px), print { - .hero.is-large .hero-body { - padding: 18rem 6rem; - } -} -.hero.is-halfheight .hero-body, .hero.is-fullheight .hero-body, .hero.is-fullheight-with-navbar .hero-body { - align-items: center; - display: flex; -} - -.hero.is-halfheight .hero-body > .container, .hero.is-fullheight .hero-body > .container, .hero.is-fullheight-with-navbar .hero-body > .container { - flex-grow: 1; - flex-shrink: 1; -} - -.hero.is-halfheight { - min-height: 50vh; -} - -.hero.is-fullheight { - min-height: 100vh; -} - -.hero-video { - overflow: hidden; -} - -.hero-video video { - left: 50%; - min-height: 100%; - min-width: 100%; - position: absolute; - top: 50%; - transform: translate3d(-50%, -50%, 0); -} - -.hero-video.is-transparent { - opacity: 0.3; -} - -@media screen and (max-width: 768px) { - .hero-video { - display: none; - } -} -.hero-buttons { - margin-top: 1.5rem; -} - -@media screen and (max-width: 768px) { - .hero-buttons .button { - display: flex; - } - .hero-buttons .button:not(:last-child) { - margin-bottom: 0.75rem; - } -} -@media screen and (min-width: 769px), print { - .hero-buttons { - display: flex; - justify-content: center; - } - .hero-buttons .button:not(:last-child) { - margin-right: 1.5rem; - } -} -.hero-head, -.hero-foot { - flex-grow: 0; - flex-shrink: 0; -} - -.hero-body { - flex-grow: 1; - flex-shrink: 0; - padding: 3rem 1.5rem; -} - -@media screen and (min-width: 769px), print { - .hero-body { - padding: 3rem 3rem; - } -} -.section { - padding: 3rem 1.5rem; -} - -@media screen and (min-width: 1024px) { - .section { - padding: 3rem 3rem; - } - .section.is-medium { - padding: 9rem 4.5rem; - } - .section.is-large { - padding: 18rem 6rem; - } -} -.footer { - background-color: hsl(0, 0%, 98%); - padding: 3rem 1.5rem 6rem; -} - -/* Bulma Utilities */ -.button, .input, .textarea, .select select, .file-cta, -.file-name, .pagination-previous, -.pagination-next, -.pagination-link, -.pagination-ellipsis { - -moz-appearance: none; - -webkit-appearance: none; - align-items: center; - border: 1px solid transparent; - border-radius: 4px; - box-shadow: none; - display: inline-flex; - font-size: 1rem; - height: 2.5em; - justify-content: flex-start; - line-height: 1.5; - padding-bottom: calc(0.5em - 1px); - padding-left: calc(0.75em - 1px); - padding-right: calc(0.75em - 1px); - padding-top: calc(0.5em - 1px); - position: relative; - vertical-align: top; -} - -.button:focus, .input:focus, .textarea:focus, .select select:focus, .file-cta:focus, -.file-name:focus, .pagination-previous:focus, -.pagination-next:focus, -.pagination-link:focus, -.pagination-ellipsis:focus, .is-focused.button, .is-focused.input, .is-focused.textarea, .select select.is-focused, .is-focused.file-cta, -.is-focused.file-name, .is-focused.pagination-previous, -.is-focused.pagination-next, -.is-focused.pagination-link, -.is-focused.pagination-ellipsis, .button:active, .input:active, .textarea:active, .select select:active, .file-cta:active, -.file-name:active, .pagination-previous:active, -.pagination-next:active, -.pagination-link:active, -.pagination-ellipsis:active, .is-active.button, .is-active.input, .is-active.textarea, .select select.is-active, .is-active.file-cta, -.is-active.file-name, .is-active.pagination-previous, -.is-active.pagination-next, -.is-active.pagination-link, -.is-active.pagination-ellipsis { - outline: none; -} - -[disabled].button, [disabled].input, [disabled].textarea, .select select[disabled], [disabled].file-cta, -[disabled].file-name, [disabled].pagination-previous, -[disabled].pagination-next, -[disabled].pagination-link, -[disabled].pagination-ellipsis, fieldset[disabled] .button, fieldset[disabled] .input, fieldset[disabled] .textarea, fieldset[disabled] .select select, .select fieldset[disabled] select, fieldset[disabled] .file-cta, -fieldset[disabled] .file-name, fieldset[disabled] .pagination-previous, -fieldset[disabled] .pagination-next, -fieldset[disabled] .pagination-link, -fieldset[disabled] .pagination-ellipsis { - cursor: not-allowed; -} - -.button, .file, .breadcrumb, .pagination-previous, -.pagination-next, -.pagination-link, -.pagination-ellipsis, .tabs, .is-unselectable { - -webkit-touch-callout: none; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.select:not(.is-multiple):not(.is-loading)::after, .navbar-link:not(.is-arrowless)::after { - border: 3px solid transparent; - border-radius: 2px; - border-right: 0; - border-top: 0; - content: " "; - display: block; - height: 0.625em; - margin-top: -0.4375em; - pointer-events: none; - position: absolute; - top: 50%; - transform: rotate(-45deg); - transform-origin: center; - width: 0.625em; -} - -.box:not(:last-child), .content:not(:last-child), .notification:not(:last-child), .progress:not(:last-child), .table:not(:last-child), .table-container:not(:last-child), .title:not(:last-child), -.subtitle:not(:last-child), .block:not(:last-child), .breadcrumb:not(:last-child), .level:not(:last-child), .message:not(:last-child), .pagination:not(:last-child), .tabs:not(:last-child) { - margin-bottom: 1.5rem; -} - -.delete, .modal-close { - -webkit-touch-callout: none; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - -moz-appearance: none; - -webkit-appearance: none; - background-color: rgba(10, 10, 10, 0.2); - border: none; - border-radius: 9999px; - cursor: pointer; - pointer-events: auto; - display: inline-block; - flex-grow: 0; - flex-shrink: 0; - font-size: 0; - height: 20px; - max-height: 20px; - max-width: 20px; - min-height: 20px; - min-width: 20px; - outline: none; - position: relative; - vertical-align: top; - width: 20px; -} - -.delete::before, .modal-close::before, .delete::after, .modal-close::after { - background-color: hsl(0, 0%, 100%); - content: ""; - display: block; - left: 50%; - position: absolute; - top: 50%; - transform: translateX(-50%) translateY(-50%) rotate(45deg); - transform-origin: center center; -} - -.delete::before, .modal-close::before { - height: 2px; - width: 50%; -} - -.delete::after, .modal-close::after { - height: 50%; - width: 2px; -} - -.delete:hover, .modal-close:hover, .delete:focus, .modal-close:focus { - background-color: rgba(10, 10, 10, 0.3); -} - -.delete:active, .modal-close:active { - background-color: rgba(10, 10, 10, 0.4); -} - -.is-small.delete, .is-small.modal-close { - height: 16px; - max-height: 16px; - max-width: 16px; - min-height: 16px; - min-width: 16px; - width: 16px; -} - -.is-medium.delete, .is-medium.modal-close { - height: 24px; - max-height: 24px; - max-width: 24px; - min-height: 24px; - min-width: 24px; - width: 24px; -} - -.is-large.delete, .is-large.modal-close { - height: 32px; - max-height: 32px; - max-width: 32px; - min-height: 32px; - min-width: 32px; - width: 32px; -} - -.button.is-loading::after, .loader, .select.is-loading::after, .control.is-loading::after { - animation: spinAround 500ms infinite linear; - border: 2px solid hsl(0, 0%, 86%); - border-radius: 9999px; - border-right-color: transparent; - border-top-color: transparent; - content: ""; - display: block; - height: 1em; - position: relative; - width: 1em; -} - -.image.is-square img, -.image.is-square .has-ratio, .image.is-1by1 img, -.image.is-1by1 .has-ratio, .image.is-5by4 img, -.image.is-5by4 .has-ratio, .image.is-4by3 img, -.image.is-4by3 .has-ratio, .image.is-3by2 img, -.image.is-3by2 .has-ratio, .image.is-5by3 img, -.image.is-5by3 .has-ratio, .image.is-16by9 img, -.image.is-16by9 .has-ratio, .image.is-2by1 img, -.image.is-2by1 .has-ratio, .image.is-3by1 img, -.image.is-3by1 .has-ratio, .image.is-4by5 img, -.image.is-4by5 .has-ratio, .image.is-3by4 img, -.image.is-3by4 .has-ratio, .image.is-2by3 img, -.image.is-2by3 .has-ratio, .image.is-3by5 img, -.image.is-3by5 .has-ratio, .image.is-9by16 img, -.image.is-9by16 .has-ratio, .image.is-1by2 img, -.image.is-1by2 .has-ratio, .image.is-1by3 img, -.image.is-1by3 .has-ratio, .modal, .modal-background, .is-overlay, .hero-video { - bottom: 0; - left: 0; - position: absolute; - right: 0; - top: 0; -} - -.navbar-burger { - -moz-appearance: none; - -webkit-appearance: none; - appearance: none; - background: none; - border: none; - color: currentColor; - font-family: inherit; - font-size: 1em; - margin: 0; - padding: 0; -} - -.is-checkradio[type=radio], -.is-checkradio[type=checkbox] { - outline: 0; - user-select: none; - display: none; - position: absolute; - opacity: 0; -} - -.is-checkradio[type=radio] + label, -.is-checkradio[type=checkbox] + label { - position: relative; - display: initial; - cursor: pointer; - vertical-align: middle; - margin: 0.5em; - padding: 0.2rem 0.5rem 0.2rem 0; - border-radius: 4px; -} - -.is-checkradio[type=radio] + label:first-of-type, -.is-checkradio[type=checkbox] + label:first-of-type { - margin-left: 0; -} - -.is-checkradio[type=radio] + label:hover::before, .is-checkradio[type=radio] + label:hover:before, -.is-checkradio[type=checkbox] + label:hover::before, -.is-checkradio[type=checkbox] + label:hover:before { - animation-duration: 0.4s; - animation-fill-mode: both; - animation-name: hover-color; -} - -.is-checkradio[type=radio] + label::before, .is-checkradio[type=radio] + label:before, -.is-checkradio[type=checkbox] + label::before, -.is-checkradio[type=checkbox] + label:before { - position: absolute; - left: 0; - top: 0rem; - content: ""; - border: 0.1rem solid hsl(0, 0%, 86%); -} - -.is-checkradio[type=radio] + label::after, .is-checkradio[type=radio] + label:after, -.is-checkradio[type=checkbox] + label::after, -.is-checkradio[type=checkbox] + label:after { - position: absolute; - display: none; - content: ""; - top: 0rem; -} - -.is-checkradio[type=radio].is-rtl + label, -.is-checkradio[type=checkbox].is-rtl + label { - margin-right: 0rem; - margin-left: 0.5rem; -} - -.is-checkradio[type=radio].is-rtl + label::before, .is-checkradio[type=radio].is-rtl + label:before, -.is-checkradio[type=checkbox].is-rtl + label::before, -.is-checkradio[type=checkbox].is-rtl + label:before { - left: auto; - right: 0; -} - -.is-checkradio[type=radio]:focus + label::before, .is-checkradio[type=radio]:focus + label:before, -.is-checkradio[type=checkbox]:focus + label::before, -.is-checkradio[type=checkbox]:focus + label:before { - outline: 1px dotted hsl(0, 0%, 71%); -} - -.is-checkradio[type=radio]:hover:not([disabled]) + label::before, .is-checkradio[type=radio]:hover:not([disabled]) + label:before, -.is-checkradio[type=checkbox]:hover:not([disabled]) + label::before, -.is-checkradio[type=checkbox]:hover:not([disabled]) + label:before { - border-color: hsl(171, 100%, 41%) !important; -} - -.is-checkradio[type=radio]:checked + label::before, .is-checkradio[type=radio]:checked + label:before, -.is-checkradio[type=checkbox]:checked + label::before, -.is-checkradio[type=checkbox]:checked + label:before { - border: 0.1rem solid hsl(0, 0%, 86%); -} - -.is-checkradio[type=radio]:checked[disabled], -.is-checkradio[type=checkbox]:checked[disabled] { - cursor: not-allowed; -} - -.is-checkradio[type=radio]:checked[disabled] + label, -.is-checkradio[type=checkbox]:checked[disabled] + label { - opacity: 0.5; -} - -.is-checkradio[type=radio]:checked + label::before, .is-checkradio[type=radio]:checked + label:before, -.is-checkradio[type=checkbox]:checked + label::before, -.is-checkradio[type=checkbox]:checked + label:before { - animation-name: none; -} - -.is-checkradio[type=radio]:checked + label::after, .is-checkradio[type=radio]:checked + label:after, -.is-checkradio[type=checkbox]:checked + label::after, -.is-checkradio[type=checkbox]:checked + label:after { - display: inline-block; -} - -.is-checkradio[type=radio][disabled], -.is-checkradio[type=checkbox][disabled] { - cursor: not-allowed; -} - -.is-checkradio[type=radio][disabled] + label, -.is-checkradio[type=checkbox][disabled] + label { - opacity: 0.5; - cursor: not-allowed; -} - -.is-checkradio[type=radio][disabled] + label:hover, .is-checkradio[type=radio][disabled] + label:before, .is-checkradio[type=radio][disabled] + label::before, .is-checkradio[type=radio][disabled] + label::after, .is-checkradio[type=radio][disabled] + label:after, -.is-checkradio[type=checkbox][disabled] + label:hover, -.is-checkradio[type=checkbox][disabled] + label:before, -.is-checkradio[type=checkbox][disabled] + label::before, -.is-checkradio[type=checkbox][disabled] + label::after, -.is-checkradio[type=checkbox][disabled] + label:after { - cursor: not-allowed; -} - -.is-checkradio[type=radio][disabled]:hover, -.is-checkradio[type=checkbox][disabled]:hover { - cursor: not-allowed; -} - -.is-checkradio[type=radio][disabled]:hover::before, .is-checkradio[type=radio][disabled]:hover:before, -.is-checkradio[type=checkbox][disabled]:hover::before, -.is-checkradio[type=checkbox][disabled]:hover:before { - animation-name: none; -} - -.is-checkradio[type=radio][disabled]::before, .is-checkradio[type=radio][disabled]:before, -.is-checkradio[type=checkbox][disabled]::before, -.is-checkradio[type=checkbox][disabled]:before { - cursor: not-allowed; -} - -.is-checkradio[type=radio][disabled]::after, .is-checkradio[type=radio][disabled]:after, -.is-checkradio[type=checkbox][disabled]::after, -.is-checkradio[type=checkbox][disabled]:after { - cursor: not-allowed; -} - -.is-checkradio[type=radio].has-no-border + label::before, .is-checkradio[type=radio].has-no-border + label:before, -.is-checkradio[type=checkbox].has-no-border + label::before, -.is-checkradio[type=checkbox].has-no-border + label:before { - border: none !important; -} - -.is-checkradio[type=radio].is-block, -.is-checkradio[type=checkbox].is-block { - display: none !important; -} - -.is-checkradio[type=radio].is-block + label, -.is-checkradio[type=checkbox].is-block + label { - width: 100% !important; - background: hsl(0, 0%, 96%); - color: rgba(0, 0, 0, 0.7); - padding-right: 0.75em; -} - -.is-checkradio[type=radio].is-block:hover:not([disabled]) + label, -.is-checkradio[type=checkbox].is-block:hover:not([disabled]) + label { - background: #e8e8e8; -} - -.is-checkradio[type=checkbox] + label::before, .is-checkradio[type=checkbox] + label:before { - border-radius: 4px; -} - -.is-checkradio[type=checkbox] + label::after, .is-checkradio[type=checkbox] + label:after { - box-sizing: border-box; - transform: translateY(0rem) rotate(45deg); - border-width: 0.1rem; - border-style: solid; - border-color: hsl(171, 100%, 41%); - border-top: 0; - border-left: 0; -} - -.is-checkradio[type=checkbox].is-circle + label::before, .is-checkradio[type=checkbox].is-circle + label:before { - border-radius: 50%; -} - -.is-checkradio[type=checkbox] + label { - font-size: 1rem; - padding-left: 2rem; -} - -.is-checkradio[type=checkbox] + label::before, .is-checkradio[type=checkbox] + label:before { - width: 1.5rem; - height: 1.5rem; -} - -.is-checkradio[type=checkbox] + label::after, .is-checkradio[type=checkbox] + label:after { - width: 0.375rem; - height: 0.6rem; - top: 0.405rem; - left: 0.6rem; -} - -.is-checkradio[type=checkbox].is-block + label::before, .is-checkradio[type=checkbox].is-block + label:before { - width: 1.25rem; - height: 1.25rem; - left: 0.175rem; - top: 0.175rem; -} - -.is-checkradio[type=checkbox].is-block + label::after, .is-checkradio[type=checkbox].is-block + label:after { - top: 0.325rem; - left: 0.65rem; -} - -.is-checkradio[type=checkbox].is-rtl + label { - padding-left: 0; - padding-right: 2rem; -} - -.is-checkradio[type=checkbox].is-rtl + label::after, .is-checkradio[type=checkbox].is-rtl + label:after { - left: auto; - right: 0.6rem; -} - -.is-checkradio[type=checkbox].is-small + label { - font-size: 0.846rem; - padding-left: 1.692rem; -} - -.is-checkradio[type=checkbox].is-small + label::before, .is-checkradio[type=checkbox].is-small + label:before { - width: 1.269rem; - height: 1.269rem; -} - -.is-checkradio[type=checkbox].is-small + label::after, .is-checkradio[type=checkbox].is-small + label:after { - width: 0.31725rem; - height: 0.5076rem; - top: 0.34263rem; - left: 0.5076rem; -} - -.is-checkradio[type=checkbox].is-small.is-block + label::before, .is-checkradio[type=checkbox].is-small.is-block + label:before { - width: 1.0575rem; - height: 1.0575rem; - left: 0.175rem; - top: 0.175rem; -} - -.is-checkradio[type=checkbox].is-small.is-block + label::after, .is-checkradio[type=checkbox].is-small.is-block + label:after { - top: 0.30575rem; - left: 0.5807rem; -} - -.is-checkradio[type=checkbox].is-small.is-rtl + label { - padding-left: 0; - padding-right: 1.692rem; -} - -.is-checkradio[type=checkbox].is-small.is-rtl + label::after, .is-checkradio[type=checkbox].is-small.is-rtl + label:after { - left: auto; - right: 0.5076rem; -} - -.is-checkradio[type=checkbox].is-medium + label { - font-size: 1.213rem; - padding-left: 2.426rem; -} - -.is-checkradio[type=checkbox].is-medium + label::before, .is-checkradio[type=checkbox].is-medium + label:before { - width: 1.8195rem; - height: 1.8195rem; -} - -.is-checkradio[type=checkbox].is-medium + label::after, .is-checkradio[type=checkbox].is-medium + label:after { - width: 0.454875rem; - height: 0.7278rem; - top: 0.491265rem; - left: 0.7278rem; -} - -.is-checkradio[type=checkbox].is-medium.is-block + label::before, .is-checkradio[type=checkbox].is-medium.is-block + label:before { - width: 1.51625rem; - height: 1.51625rem; - left: 0.175rem; - top: 0.175rem; -} - -.is-checkradio[type=checkbox].is-medium.is-block + label::after, .is-checkradio[type=checkbox].is-medium.is-block + label:after { - top: 0.351625rem; - left: 0.74585rem; -} - -.is-checkradio[type=checkbox].is-medium.is-rtl + label { - padding-left: 0; - padding-right: 2.426rem; -} - -.is-checkradio[type=checkbox].is-medium.is-rtl + label::after, .is-checkradio[type=checkbox].is-medium.is-rtl + label:after { - left: auto; - right: 0.7278rem; -} - -.is-checkradio[type=checkbox].is-large + label { - font-size: 1.385rem; - padding-left: 2.77rem; -} - -.is-checkradio[type=checkbox].is-large + label::before, .is-checkradio[type=checkbox].is-large + label:before { - width: 2.0775rem; - height: 2.0775rem; -} - -.is-checkradio[type=checkbox].is-large + label::after, .is-checkradio[type=checkbox].is-large + label:after { - width: 0.519375rem; - height: 0.831rem; - top: 0.560925rem; - left: 0.831rem; -} - -.is-checkradio[type=checkbox].is-large.is-block + label::before, .is-checkradio[type=checkbox].is-large.is-block + label:before { - width: 1.73125rem; - height: 1.73125rem; - left: 0.175rem; - top: 0.175rem; -} - -.is-checkradio[type=checkbox].is-large.is-block + label::after, .is-checkradio[type=checkbox].is-large.is-block + label:after { - top: 0.373125rem; - left: 0.82325rem; -} - -.is-checkradio[type=checkbox].is-large.is-rtl + label { - padding-left: 0; - padding-right: 2.77rem; -} - -.is-checkradio[type=checkbox].is-large.is-rtl + label::after, .is-checkradio[type=checkbox].is-large.is-rtl + label:after { - left: auto; - right: 0.831rem; -} - -.is-checkradio[type=checkbox].is-white.has-background-color + label::before, .is-checkradio[type=checkbox].is-white.has-background-color + label:before { - border-color: transparent !important; - background-color: hsl(0, 0%, 100%) !important; -} - -.is-checkradio[type=checkbox].is-white:hover:not([disabled]) + label::before, .is-checkradio[type=checkbox].is-white:hover:not([disabled]) + label:before { - border-color: hsl(0, 0%, 100%) !important; -} - -.is-checkradio[type=checkbox].is-white:checked + label::after, .is-checkradio[type=checkbox].is-white:checked + label:after { - border-color: hsl(0, 0%, 100%) !important; -} - -.is-checkradio[type=checkbox].is-white:checked.has-background-color + label::before, .is-checkradio[type=checkbox].is-white:checked.has-background-color + label:before { - border-color: transparent !important; - background-color: hsl(0, 0%, 100%) !important; -} - -.is-checkradio[type=checkbox].is-white:checked.has-background-color + label::after, .is-checkradio[type=checkbox].is-white:checked.has-background-color + label:after { - border-color: hsl(0, 0%, 4%) !important; - background-color: hsl(0, 0%, 100%) !important; -} - -.is-checkradio[type=checkbox].is-white.is-block:hover:not([disabled]) + label::after, .is-checkradio[type=checkbox].is-white.is-block:hover:not([disabled]) + label:after, .is-checkradio[type=checkbox].is-white.is-block:hover:not([disabled]) + label::before, .is-checkradio[type=checkbox].is-white.is-block:hover:not([disabled]) + label:before { - border-color: hsl(0, 0%, 100%) !important; -} - -.is-checkradio[type=checkbox].is-white.is-block:checked + label { - color: hsl(0, 0%, 4%); - border-color: hsl(0, 0%, 100%) !important; - background: hsl(0, 0%, 100%); -} - -.is-checkradio[type=checkbox].is-white.is-block:checked + label::after, .is-checkradio[type=checkbox].is-white.is-block:checked + label:after { - border-color: hsl(0, 0%, 4%) !important; -} - -.is-checkradio[type=checkbox].is-white.is-block:checked:hover:not([disabled]) + label { - background: #f2f2f2; -} - -.is-checkradio[type=checkbox].is-white.is-block:checked:hover:not([disabled]) + label::after, .is-checkradio[type=checkbox].is-white.is-block:checked:hover:not([disabled]) + label:after, .is-checkradio[type=checkbox].is-white.is-block:checked:hover:not([disabled]) + label::before, .is-checkradio[type=checkbox].is-white.is-block:checked:hover:not([disabled]) + label:before { - border-color: black !important; -} - -.is-checkradio[type=checkbox].is-black.has-background-color + label::before, .is-checkradio[type=checkbox].is-black.has-background-color + label:before { - border-color: transparent !important; - background-color: hsl(0, 0%, 4%) !important; -} - -.is-checkradio[type=checkbox].is-black:hover:not([disabled]) + label::before, .is-checkradio[type=checkbox].is-black:hover:not([disabled]) + label:before { - border-color: hsl(0, 0%, 4%) !important; -} - -.is-checkradio[type=checkbox].is-black:checked + label::after, .is-checkradio[type=checkbox].is-black:checked + label:after { - border-color: hsl(0, 0%, 4%) !important; -} - -.is-checkradio[type=checkbox].is-black:checked.has-background-color + label::before, .is-checkradio[type=checkbox].is-black:checked.has-background-color + label:before { - border-color: transparent !important; - background-color: hsl(0, 0%, 4%) !important; -} - -.is-checkradio[type=checkbox].is-black:checked.has-background-color + label::after, .is-checkradio[type=checkbox].is-black:checked.has-background-color + label:after { - border-color: hsl(0, 0%, 100%) !important; - background-color: hsl(0, 0%, 4%) !important; -} - -.is-checkradio[type=checkbox].is-black.is-block:hover:not([disabled]) + label::after, .is-checkradio[type=checkbox].is-black.is-block:hover:not([disabled]) + label:after, .is-checkradio[type=checkbox].is-black.is-block:hover:not([disabled]) + label::before, .is-checkradio[type=checkbox].is-black.is-block:hover:not([disabled]) + label:before { - border-color: hsl(0, 0%, 4%) !important; -} - -.is-checkradio[type=checkbox].is-black.is-block:checked + label { - color: hsl(0, 0%, 100%); - border-color: hsl(0, 0%, 4%) !important; - background: hsl(0, 0%, 4%); -} - -.is-checkradio[type=checkbox].is-black.is-block:checked + label::after, .is-checkradio[type=checkbox].is-black.is-block:checked + label:after { - border-color: hsl(0, 0%, 100%) !important; -} - -.is-checkradio[type=checkbox].is-black.is-block:checked:hover:not([disabled]) + label { - background: black; -} - -.is-checkradio[type=checkbox].is-black.is-block:checked:hover:not([disabled]) + label::after, .is-checkradio[type=checkbox].is-black.is-block:checked:hover:not([disabled]) + label:after, .is-checkradio[type=checkbox].is-black.is-block:checked:hover:not([disabled]) + label::before, .is-checkradio[type=checkbox].is-black.is-block:checked:hover:not([disabled]) + label:before { - border-color: #f2f2f2 !important; -} - -.is-checkradio[type=checkbox].is-light.has-background-color + label::before, .is-checkradio[type=checkbox].is-light.has-background-color + label:before { - border-color: transparent !important; - background-color: hsl(0, 0%, 96%) !important; -} - -.is-checkradio[type=checkbox].is-light:hover:not([disabled]) + label::before, .is-checkradio[type=checkbox].is-light:hover:not([disabled]) + label:before { - border-color: hsl(0, 0%, 96%) !important; -} - -.is-checkradio[type=checkbox].is-light:checked + label::after, .is-checkradio[type=checkbox].is-light:checked + label:after { - border-color: hsl(0, 0%, 96%) !important; -} - -.is-checkradio[type=checkbox].is-light:checked.has-background-color + label::before, .is-checkradio[type=checkbox].is-light:checked.has-background-color + label:before { - border-color: transparent !important; - background-color: hsl(0, 0%, 96%) !important; -} - -.is-checkradio[type=checkbox].is-light:checked.has-background-color + label::after, .is-checkradio[type=checkbox].is-light:checked.has-background-color + label:after { - border-color: rgba(0, 0, 0, 0.7) !important; - background-color: hsl(0, 0%, 96%) !important; -} - -.is-checkradio[type=checkbox].is-light.is-block:hover:not([disabled]) + label::after, .is-checkradio[type=checkbox].is-light.is-block:hover:not([disabled]) + label:after, .is-checkradio[type=checkbox].is-light.is-block:hover:not([disabled]) + label::before, .is-checkradio[type=checkbox].is-light.is-block:hover:not([disabled]) + label:before { - border-color: hsl(0, 0%, 96%) !important; -} - -.is-checkradio[type=checkbox].is-light.is-block:checked + label { - color: rgba(0, 0, 0, 0.7); - border-color: hsl(0, 0%, 96%) !important; - background: hsl(0, 0%, 96%); -} - -.is-checkradio[type=checkbox].is-light.is-block:checked + label::after, .is-checkradio[type=checkbox].is-light.is-block:checked + label:after { - border-color: rgba(0, 0, 0, 0.7) !important; -} - -.is-checkradio[type=checkbox].is-light.is-block:checked:hover:not([disabled]) + label { - background: #e8e8e8; -} - -.is-checkradio[type=checkbox].is-light.is-block:checked:hover:not([disabled]) + label::after, .is-checkradio[type=checkbox].is-light.is-block:checked:hover:not([disabled]) + label:after, .is-checkradio[type=checkbox].is-light.is-block:checked:hover:not([disabled]) + label::before, .is-checkradio[type=checkbox].is-light.is-block:checked:hover:not([disabled]) + label:before { - border-color: rgba(0, 0, 0, 0.7) !important; -} - -.is-checkradio[type=checkbox].is-dark.has-background-color + label::before, .is-checkradio[type=checkbox].is-dark.has-background-color + label:before { - border-color: transparent !important; - background-color: hsl(0, 0%, 21%) !important; -} - -.is-checkradio[type=checkbox].is-dark:hover:not([disabled]) + label::before, .is-checkradio[type=checkbox].is-dark:hover:not([disabled]) + label:before { - border-color: hsl(0, 0%, 21%) !important; -} - -.is-checkradio[type=checkbox].is-dark:checked + label::after, .is-checkradio[type=checkbox].is-dark:checked + label:after { - border-color: hsl(0, 0%, 21%) !important; -} - -.is-checkradio[type=checkbox].is-dark:checked.has-background-color + label::before, .is-checkradio[type=checkbox].is-dark:checked.has-background-color + label:before { - border-color: transparent !important; - background-color: hsl(0, 0%, 21%) !important; -} - -.is-checkradio[type=checkbox].is-dark:checked.has-background-color + label::after, .is-checkradio[type=checkbox].is-dark:checked.has-background-color + label:after { - border-color: #fff !important; - background-color: hsl(0, 0%, 21%) !important; -} - -.is-checkradio[type=checkbox].is-dark.is-block:hover:not([disabled]) + label::after, .is-checkradio[type=checkbox].is-dark.is-block:hover:not([disabled]) + label:after, .is-checkradio[type=checkbox].is-dark.is-block:hover:not([disabled]) + label::before, .is-checkradio[type=checkbox].is-dark.is-block:hover:not([disabled]) + label:before { - border-color: hsl(0, 0%, 21%) !important; -} - -.is-checkradio[type=checkbox].is-dark.is-block:checked + label { - color: #fff; - border-color: hsl(0, 0%, 21%) !important; - background: hsl(0, 0%, 21%); -} - -.is-checkradio[type=checkbox].is-dark.is-block:checked + label::after, .is-checkradio[type=checkbox].is-dark.is-block:checked + label:after { - border-color: #fff !important; -} - -.is-checkradio[type=checkbox].is-dark.is-block:checked:hover:not([disabled]) + label { - background: #292929; -} - -.is-checkradio[type=checkbox].is-dark.is-block:checked:hover:not([disabled]) + label::after, .is-checkradio[type=checkbox].is-dark.is-block:checked:hover:not([disabled]) + label:after, .is-checkradio[type=checkbox].is-dark.is-block:checked:hover:not([disabled]) + label::before, .is-checkradio[type=checkbox].is-dark.is-block:checked:hover:not([disabled]) + label:before { - border-color: #f2f2f2 !important; -} - -.is-checkradio[type=checkbox].is-primary.has-background-color + label::before, .is-checkradio[type=checkbox].is-primary.has-background-color + label:before { - border-color: transparent !important; - background-color: hsl(171, 100%, 41%) !important; -} - -.is-checkradio[type=checkbox].is-primary:hover:not([disabled]) + label::before, .is-checkradio[type=checkbox].is-primary:hover:not([disabled]) + label:before { - border-color: hsl(171, 100%, 41%) !important; -} - -.is-checkradio[type=checkbox].is-primary:checked + label::after, .is-checkradio[type=checkbox].is-primary:checked + label:after { - border-color: hsl(171, 100%, 41%) !important; -} - -.is-checkradio[type=checkbox].is-primary:checked.has-background-color + label::before, .is-checkradio[type=checkbox].is-primary:checked.has-background-color + label:before { - border-color: transparent !important; - background-color: hsl(171, 100%, 41%) !important; -} - -.is-checkradio[type=checkbox].is-primary:checked.has-background-color + label::after, .is-checkradio[type=checkbox].is-primary:checked.has-background-color + label:after { - border-color: #fff !important; - background-color: hsl(171, 100%, 41%) !important; -} - -.is-checkradio[type=checkbox].is-primary.is-block:hover:not([disabled]) + label::after, .is-checkradio[type=checkbox].is-primary.is-block:hover:not([disabled]) + label:after, .is-checkradio[type=checkbox].is-primary.is-block:hover:not([disabled]) + label::before, .is-checkradio[type=checkbox].is-primary.is-block:hover:not([disabled]) + label:before { - border-color: hsl(171, 100%, 41%) !important; -} - -.is-checkradio[type=checkbox].is-primary.is-block:checked + label { - color: #fff; - border-color: hsl(171, 100%, 41%) !important; - background: hsl(171, 100%, 41%); -} - -.is-checkradio[type=checkbox].is-primary.is-block:checked + label::after, .is-checkradio[type=checkbox].is-primary.is-block:checked + label:after { - border-color: #fff !important; -} - -.is-checkradio[type=checkbox].is-primary.is-block:checked:hover:not([disabled]) + label { - background: #00b89c; -} - -.is-checkradio[type=checkbox].is-primary.is-block:checked:hover:not([disabled]) + label::after, .is-checkradio[type=checkbox].is-primary.is-block:checked:hover:not([disabled]) + label:after, .is-checkradio[type=checkbox].is-primary.is-block:checked:hover:not([disabled]) + label::before, .is-checkradio[type=checkbox].is-primary.is-block:checked:hover:not([disabled]) + label:before { - border-color: #f2f2f2 !important; -} - -.is-checkradio[type=checkbox].is-link.has-background-color + label::before, .is-checkradio[type=checkbox].is-link.has-background-color + label:before { - border-color: transparent !important; - background-color: hsl(229, 53%, 53%) !important; -} - -.is-checkradio[type=checkbox].is-link:hover:not([disabled]) + label::before, .is-checkradio[type=checkbox].is-link:hover:not([disabled]) + label:before { - border-color: hsl(229, 53%, 53%) !important; -} - -.is-checkradio[type=checkbox].is-link:checked + label::after, .is-checkradio[type=checkbox].is-link:checked + label:after { - border-color: hsl(229, 53%, 53%) !important; -} - -.is-checkradio[type=checkbox].is-link:checked.has-background-color + label::before, .is-checkradio[type=checkbox].is-link:checked.has-background-color + label:before { - border-color: transparent !important; - background-color: hsl(229, 53%, 53%) !important; -} - -.is-checkradio[type=checkbox].is-link:checked.has-background-color + label::after, .is-checkradio[type=checkbox].is-link:checked.has-background-color + label:after { - border-color: #fff !important; - background-color: hsl(229, 53%, 53%) !important; -} - -.is-checkradio[type=checkbox].is-link.is-block:hover:not([disabled]) + label::after, .is-checkradio[type=checkbox].is-link.is-block:hover:not([disabled]) + label:after, .is-checkradio[type=checkbox].is-link.is-block:hover:not([disabled]) + label::before, .is-checkradio[type=checkbox].is-link.is-block:hover:not([disabled]) + label:before { - border-color: hsl(229, 53%, 53%) !important; -} - -.is-checkradio[type=checkbox].is-link.is-block:checked + label { - color: #fff; - border-color: hsl(229, 53%, 53%) !important; - background: hsl(229, 53%, 53%); -} - -.is-checkradio[type=checkbox].is-link.is-block:checked + label::after, .is-checkradio[type=checkbox].is-link.is-block:checked + label:after { - border-color: #fff !important; -} - -.is-checkradio[type=checkbox].is-link.is-block:checked:hover:not([disabled]) + label { - background: #3a51bb; -} - -.is-checkradio[type=checkbox].is-link.is-block:checked:hover:not([disabled]) + label::after, .is-checkradio[type=checkbox].is-link.is-block:checked:hover:not([disabled]) + label:after, .is-checkradio[type=checkbox].is-link.is-block:checked:hover:not([disabled]) + label::before, .is-checkradio[type=checkbox].is-link.is-block:checked:hover:not([disabled]) + label:before { - border-color: #f2f2f2 !important; -} - -.is-checkradio[type=checkbox].is-info.has-background-color + label::before, .is-checkradio[type=checkbox].is-info.has-background-color + label:before { - border-color: transparent !important; - background-color: hsl(217, 71%, 50%) !important; -} - -.is-checkradio[type=checkbox].is-info:hover:not([disabled]) + label::before, .is-checkradio[type=checkbox].is-info:hover:not([disabled]) + label:before { - border-color: hsl(217, 71%, 50%) !important; -} - -.is-checkradio[type=checkbox].is-info:checked + label::after, .is-checkradio[type=checkbox].is-info:checked + label:after { - border-color: hsl(217, 71%, 50%) !important; -} - -.is-checkradio[type=checkbox].is-info:checked.has-background-color + label::before, .is-checkradio[type=checkbox].is-info:checked.has-background-color + label:before { - border-color: transparent !important; - background-color: hsl(217, 71%, 50%) !important; -} - -.is-checkradio[type=checkbox].is-info:checked.has-background-color + label::after, .is-checkradio[type=checkbox].is-info:checked.has-background-color + label:after { - border-color: #fff !important; - background-color: hsl(217, 71%, 50%) !important; -} - -.is-checkradio[type=checkbox].is-info.is-block:hover:not([disabled]) + label::after, .is-checkradio[type=checkbox].is-info.is-block:hover:not([disabled]) + label:after, .is-checkradio[type=checkbox].is-info.is-block:hover:not([disabled]) + label::before, .is-checkradio[type=checkbox].is-info.is-block:hover:not([disabled]) + label:before { - border-color: hsl(217, 71%, 50%) !important; -} - -.is-checkradio[type=checkbox].is-info.is-block:checked + label { - color: #fff; - border-color: hsl(217, 71%, 50%) !important; - background: hsl(217, 71%, 50%); -} - -.is-checkradio[type=checkbox].is-info.is-block:checked + label::after, .is-checkradio[type=checkbox].is-info.is-block:checked + label:after { - border-color: #fff !important; -} - -.is-checkradio[type=checkbox].is-info.is-block:checked:hover:not([disabled]) + label { - background: #2160c4; -} - -.is-checkradio[type=checkbox].is-info.is-block:checked:hover:not([disabled]) + label::after, .is-checkradio[type=checkbox].is-info.is-block:checked:hover:not([disabled]) + label:after, .is-checkradio[type=checkbox].is-info.is-block:checked:hover:not([disabled]) + label::before, .is-checkradio[type=checkbox].is-info.is-block:checked:hover:not([disabled]) + label:before { - border-color: #f2f2f2 !important; -} - -.is-checkradio[type=checkbox].is-success.has-background-color + label::before, .is-checkradio[type=checkbox].is-success.has-background-color + label:before { - border-color: transparent !important; - background-color: hsl(141, 53%, 40%) !important; -} - -.is-checkradio[type=checkbox].is-success:hover:not([disabled]) + label::before, .is-checkradio[type=checkbox].is-success:hover:not([disabled]) + label:before { - border-color: hsl(141, 53%, 40%) !important; -} - -.is-checkradio[type=checkbox].is-success:checked + label::after, .is-checkradio[type=checkbox].is-success:checked + label:after { - border-color: hsl(141, 53%, 40%) !important; -} - -.is-checkradio[type=checkbox].is-success:checked.has-background-color + label::before, .is-checkradio[type=checkbox].is-success:checked.has-background-color + label:before { - border-color: transparent !important; - background-color: hsl(141, 53%, 40%) !important; -} - -.is-checkradio[type=checkbox].is-success:checked.has-background-color + label::after, .is-checkradio[type=checkbox].is-success:checked.has-background-color + label:after { - border-color: #fff !important; - background-color: hsl(141, 53%, 40%) !important; -} - -.is-checkradio[type=checkbox].is-success.is-block:hover:not([disabled]) + label::after, .is-checkradio[type=checkbox].is-success.is-block:hover:not([disabled]) + label:after, .is-checkradio[type=checkbox].is-success.is-block:hover:not([disabled]) + label::before, .is-checkradio[type=checkbox].is-success.is-block:hover:not([disabled]) + label:before { - border-color: hsl(141, 53%, 40%) !important; -} - -.is-checkradio[type=checkbox].is-success.is-block:checked + label { - color: #fff; - border-color: hsl(141, 53%, 40%) !important; - background: hsl(141, 53%, 40%); -} - -.is-checkradio[type=checkbox].is-success.is-block:checked + label::after, .is-checkradio[type=checkbox].is-success.is-block:checked + label:after { - border-color: #fff !important; -} - -.is-checkradio[type=checkbox].is-success.is-block:checked:hover:not([disabled]) + label { - background: #2a894b; -} - -.is-checkradio[type=checkbox].is-success.is-block:checked:hover:not([disabled]) + label::after, .is-checkradio[type=checkbox].is-success.is-block:checked:hover:not([disabled]) + label:after, .is-checkradio[type=checkbox].is-success.is-block:checked:hover:not([disabled]) + label::before, .is-checkradio[type=checkbox].is-success.is-block:checked:hover:not([disabled]) + label:before { - border-color: #f2f2f2 !important; -} - -.is-checkradio[type=checkbox].is-warning.has-background-color + label::before, .is-checkradio[type=checkbox].is-warning.has-background-color + label:before { - border-color: transparent !important; - background-color: hsl(38, 93%, 50%) !important; -} - -.is-checkradio[type=checkbox].is-warning:hover:not([disabled]) + label::before, .is-checkradio[type=checkbox].is-warning:hover:not([disabled]) + label:before { - border-color: hsl(38, 93%, 50%) !important; -} - -.is-checkradio[type=checkbox].is-warning:checked + label::after, .is-checkradio[type=checkbox].is-warning:checked + label:after { - border-color: hsl(38, 93%, 50%) !important; -} - -.is-checkradio[type=checkbox].is-warning:checked.has-background-color + label::before, .is-checkradio[type=checkbox].is-warning:checked.has-background-color + label:before { - border-color: transparent !important; - background-color: hsl(38, 93%, 50%) !important; -} - -.is-checkradio[type=checkbox].is-warning:checked.has-background-color + label::after, .is-checkradio[type=checkbox].is-warning:checked.has-background-color + label:after { - border-color: #fff !important; - background-color: hsl(38, 93%, 50%) !important; -} - -.is-checkradio[type=checkbox].is-warning.is-block:hover:not([disabled]) + label::after, .is-checkradio[type=checkbox].is-warning.is-block:hover:not([disabled]) + label:after, .is-checkradio[type=checkbox].is-warning.is-block:hover:not([disabled]) + label::before, .is-checkradio[type=checkbox].is-warning.is-block:hover:not([disabled]) + label:before { - border-color: hsl(38, 93%, 50%) !important; -} - -.is-checkradio[type=checkbox].is-warning.is-block:checked + label { - color: #fff; - border-color: hsl(38, 93%, 50%) !important; - background: hsl(38, 93%, 50%); -} - -.is-checkradio[type=checkbox].is-warning.is-block:checked + label::after, .is-checkradio[type=checkbox].is-warning.is-block:checked + label:after { - border-color: #fff !important; -} - -.is-checkradio[type=checkbox].is-warning.is-block:checked:hover:not([disabled]) + label { - background: #dd8f08; -} - -.is-checkradio[type=checkbox].is-warning.is-block:checked:hover:not([disabled]) + label::after, .is-checkradio[type=checkbox].is-warning.is-block:checked:hover:not([disabled]) + label:after, .is-checkradio[type=checkbox].is-warning.is-block:checked:hover:not([disabled]) + label::before, .is-checkradio[type=checkbox].is-warning.is-block:checked:hover:not([disabled]) + label:before { - border-color: #f2f2f2 !important; -} - -.is-checkradio[type=checkbox].is-danger.has-background-color + label::before, .is-checkradio[type=checkbox].is-danger.has-background-color + label:before { - border-color: transparent !important; - background-color: hsl(348, 100%, 40%) !important; -} - -.is-checkradio[type=checkbox].is-danger:hover:not([disabled]) + label::before, .is-checkradio[type=checkbox].is-danger:hover:not([disabled]) + label:before { - border-color: hsl(348, 100%, 40%) !important; -} - -.is-checkradio[type=checkbox].is-danger:checked + label::after, .is-checkradio[type=checkbox].is-danger:checked + label:after { - border-color: hsl(348, 100%, 40%) !important; -} - -.is-checkradio[type=checkbox].is-danger:checked.has-background-color + label::before, .is-checkradio[type=checkbox].is-danger:checked.has-background-color + label:before { - border-color: transparent !important; - background-color: hsl(348, 100%, 40%) !important; -} - -.is-checkradio[type=checkbox].is-danger:checked.has-background-color + label::after, .is-checkradio[type=checkbox].is-danger:checked.has-background-color + label:after { - border-color: #fff !important; - background-color: hsl(348, 100%, 40%) !important; -} - -.is-checkradio[type=checkbox].is-danger.is-block:hover:not([disabled]) + label::after, .is-checkradio[type=checkbox].is-danger.is-block:hover:not([disabled]) + label:after, .is-checkradio[type=checkbox].is-danger.is-block:hover:not([disabled]) + label::before, .is-checkradio[type=checkbox].is-danger.is-block:hover:not([disabled]) + label:before { - border-color: hsl(348, 100%, 40%) !important; -} - -.is-checkradio[type=checkbox].is-danger.is-block:checked + label { - color: #fff; - border-color: hsl(348, 100%, 40%) !important; - background: hsl(348, 100%, 40%); -} - -.is-checkradio[type=checkbox].is-danger.is-block:checked + label::after, .is-checkradio[type=checkbox].is-danger.is-block:checked + label:after { - border-color: #fff !important; -} - -.is-checkradio[type=checkbox].is-danger.is-block:checked:hover:not([disabled]) + label { - background: #b30024; -} - -.is-checkradio[type=checkbox].is-danger.is-block:checked:hover:not([disabled]) + label::after, .is-checkradio[type=checkbox].is-danger.is-block:checked:hover:not([disabled]) + label:after, .is-checkradio[type=checkbox].is-danger.is-block:checked:hover:not([disabled]) + label::before, .is-checkradio[type=checkbox].is-danger.is-block:checked:hover:not([disabled]) + label:before { - border-color: #f2f2f2 !important; -} - -.is-checkradio[type=checkbox]:indeterminate + label::after, .is-checkradio[type=checkbox]:indeterminate + label:after { - display: inline-block; - transform: rotate(90deg); - border-bottom: none; -} - -.is-checkradio[type=checkbox]:indeterminate.is-white + label::after, .is-checkradio[type=checkbox]:indeterminate.is-white + label:after { - border-color: hsl(0, 0%, 100%); -} - -.is-checkradio[type=checkbox]:indeterminate.is-black + label::after, .is-checkradio[type=checkbox]:indeterminate.is-black + label:after { - border-color: hsl(0, 0%, 4%); -} - -.is-checkradio[type=checkbox]:indeterminate.is-light + label::after, .is-checkradio[type=checkbox]:indeterminate.is-light + label:after { - border-color: hsl(0, 0%, 96%); -} - -.is-checkradio[type=checkbox]:indeterminate.is-dark + label::after, .is-checkradio[type=checkbox]:indeterminate.is-dark + label:after { - border-color: hsl(0, 0%, 21%); -} - -.is-checkradio[type=checkbox]:indeterminate.is-primary + label::after, .is-checkradio[type=checkbox]:indeterminate.is-primary + label:after { - border-color: hsl(171, 100%, 41%); -} - -.is-checkradio[type=checkbox]:indeterminate.is-link + label::after, .is-checkradio[type=checkbox]:indeterminate.is-link + label:after { - border-color: hsl(229, 53%, 53%); -} - -.is-checkradio[type=checkbox]:indeterminate.is-info + label::after, .is-checkradio[type=checkbox]:indeterminate.is-info + label:after { - border-color: hsl(217, 71%, 50%); -} - -.is-checkradio[type=checkbox]:indeterminate.is-success + label::after, .is-checkradio[type=checkbox]:indeterminate.is-success + label:after { - border-color: hsl(141, 53%, 40%); -} - -.is-checkradio[type=checkbox]:indeterminate.is-warning + label::after, .is-checkradio[type=checkbox]:indeterminate.is-warning + label:after { - border-color: hsl(38, 93%, 50%); -} - -.is-checkradio[type=checkbox]:indeterminate.is-danger + label::after, .is-checkradio[type=checkbox]:indeterminate.is-danger + label:after { - border-color: hsl(348, 100%, 40%); -} - -.is-checkradio[type=radio] + label::before, .is-checkradio[type=radio] + label:before { - border-radius: 50%; -} - -.is-checkradio[type=radio] + label::after, .is-checkradio[type=radio] + label:after { - border-radius: 50%; - background: hsl(171, 100%, 41%); - left: 0; - transform: scale(0.5); -} - -.is-checkradio[type=radio]:checked.has-background-color + label::before, .is-checkradio[type=radio]:checked.has-background-color + label:before { - border-color: hsl(0, 0%, 29%) !important; - background-color: hsl(0, 0%, 29%) !important; -} - -.is-checkradio[type=radio]:checked.has-background-color + label::after, .is-checkradio[type=radio]:checked.has-background-color + label:after { - border-color: hsl(0, 0%, 29%) !important; - background-color: hsl(0, 0%, 29%) !important; -} - -.is-checkradio[type=radio].is-rtl + label { - padding-left: 0; -} - -.is-checkradio[type=radio].is-rtl + label::after, .is-checkradio[type=radio].is-rtl + label:after { - left: auto; - right: 0; -} - -.is-checkradio[type=radio] + label { - font-size: 1rem; - line-height: 1.5rem; - padding-left: 2rem; -} - -.is-checkradio[type=radio] + label::before, .is-checkradio[type=radio] + label:before, .is-checkradio[type=radio] + label::after, .is-checkradio[type=radio] + label:after { - width: 1.5rem; - height: 1.5rem; -} - -.is-checkradio[type=radio].is-rtl + label { - padding-right: 2rem; -} - -.is-checkradio[type=radio].is-small + label { - font-size: 0.846rem; - line-height: 1.269rem; - padding-left: 1.692rem; -} - -.is-checkradio[type=radio].is-small + label::before, .is-checkradio[type=radio].is-small + label:before, .is-checkradio[type=radio].is-small + label::after, .is-checkradio[type=radio].is-small + label:after { - width: 1.269rem; - height: 1.269rem; -} - -.is-checkradio[type=radio].is-small.is-rtl + label { - padding-right: 1.692rem; -} - -.is-checkradio[type=radio].is-medium + label { - font-size: 1.213rem; - line-height: 1.8195rem; - padding-left: 2.426rem; -} - -.is-checkradio[type=radio].is-medium + label::before, .is-checkradio[type=radio].is-medium + label:before, .is-checkradio[type=radio].is-medium + label::after, .is-checkradio[type=radio].is-medium + label:after { - width: 1.8195rem; - height: 1.8195rem; -} - -.is-checkradio[type=radio].is-medium.is-rtl + label { - padding-right: 2.426rem; -} - -.is-checkradio[type=radio].is-large + label { - font-size: 1.385rem; - line-height: 2.0775rem; - padding-left: 2.77rem; -} - -.is-checkradio[type=radio].is-large + label::before, .is-checkradio[type=radio].is-large + label:before, .is-checkradio[type=radio].is-large + label::after, .is-checkradio[type=radio].is-large + label:after { - width: 2.0775rem; - height: 2.0775rem; -} - -.is-checkradio[type=radio].is-large.is-rtl + label { - padding-right: 2.77rem; -} - -.is-checkradio[type=radio].is-white.has-background-color + label::before, .is-checkradio[type=radio].is-white.has-background-color + label:before { - border-color: hsl(0, 0%, 100%) !important; - background-color: hsl(0, 0%, 100%) !important; -} - -.is-checkradio[type=radio].is-white:hover:not([disabled]) + label::before, .is-checkradio[type=radio].is-white:hover:not([disabled]) + label:before { - border-color: hsl(0, 0%, 100%) !important; -} - -.is-checkradio[type=radio].is-white:checked + label::after, .is-checkradio[type=radio].is-white:checked + label:after { - border-color: hsl(0, 0%, 100%) !important; - background-color: hsl(0, 0%, 100%) !important; -} - -.is-checkradio[type=radio].is-white:checked.has-background-color + label::before, .is-checkradio[type=radio].is-white:checked.has-background-color + label:before { - border-color: hsl(0, 0%, 100%) !important; - background-color: hsl(0, 0%, 100%) !important; -} - -.is-checkradio[type=radio].is-white:checked.has-background-color + label::after, .is-checkradio[type=radio].is-white:checked.has-background-color + label:after { - border-color: hsl(0, 0%, 4%) !important; - background-color: hsl(0, 0%, 4%) !important; -} - -.is-checkradio[type=radio].is-black.has-background-color + label::before, .is-checkradio[type=radio].is-black.has-background-color + label:before { - border-color: hsl(0, 0%, 4%) !important; - background-color: hsl(0, 0%, 4%) !important; -} - -.is-checkradio[type=radio].is-black:hover:not([disabled]) + label::before, .is-checkradio[type=radio].is-black:hover:not([disabled]) + label:before { - border-color: hsl(0, 0%, 4%) !important; -} - -.is-checkradio[type=radio].is-black:checked + label::after, .is-checkradio[type=radio].is-black:checked + label:after { - border-color: hsl(0, 0%, 4%) !important; - background-color: hsl(0, 0%, 4%) !important; -} - -.is-checkradio[type=radio].is-black:checked.has-background-color + label::before, .is-checkradio[type=radio].is-black:checked.has-background-color + label:before { - border-color: hsl(0, 0%, 4%) !important; - background-color: hsl(0, 0%, 4%) !important; -} - -.is-checkradio[type=radio].is-black:checked.has-background-color + label::after, .is-checkradio[type=radio].is-black:checked.has-background-color + label:after { - border-color: hsl(0, 0%, 100%) !important; - background-color: hsl(0, 0%, 100%) !important; -} - -.is-checkradio[type=radio].is-light.has-background-color + label::before, .is-checkradio[type=radio].is-light.has-background-color + label:before { - border-color: hsl(0, 0%, 96%) !important; - background-color: hsl(0, 0%, 96%) !important; -} - -.is-checkradio[type=radio].is-light:hover:not([disabled]) + label::before, .is-checkradio[type=radio].is-light:hover:not([disabled]) + label:before { - border-color: hsl(0, 0%, 96%) !important; -} - -.is-checkradio[type=radio].is-light:checked + label::after, .is-checkradio[type=radio].is-light:checked + label:after { - border-color: hsl(0, 0%, 96%) !important; - background-color: hsl(0, 0%, 96%) !important; -} - -.is-checkradio[type=radio].is-light:checked.has-background-color + label::before, .is-checkradio[type=radio].is-light:checked.has-background-color + label:before { - border-color: hsl(0, 0%, 96%) !important; - background-color: hsl(0, 0%, 96%) !important; -} - -.is-checkradio[type=radio].is-light:checked.has-background-color + label::after, .is-checkradio[type=radio].is-light:checked.has-background-color + label:after { - border-color: rgba(0, 0, 0, 0.7) !important; - background-color: rgba(0, 0, 0, 0.7) !important; -} - -.is-checkradio[type=radio].is-dark.has-background-color + label::before, .is-checkradio[type=radio].is-dark.has-background-color + label:before { - border-color: hsl(0, 0%, 21%) !important; - background-color: hsl(0, 0%, 21%) !important; -} - -.is-checkradio[type=radio].is-dark:hover:not([disabled]) + label::before, .is-checkradio[type=radio].is-dark:hover:not([disabled]) + label:before { - border-color: hsl(0, 0%, 21%) !important; -} - -.is-checkradio[type=radio].is-dark:checked + label::after, .is-checkradio[type=radio].is-dark:checked + label:after { - border-color: hsl(0, 0%, 21%) !important; - background-color: hsl(0, 0%, 21%) !important; -} - -.is-checkradio[type=radio].is-dark:checked.has-background-color + label::before, .is-checkradio[type=radio].is-dark:checked.has-background-color + label:before { - border-color: hsl(0, 0%, 21%) !important; - background-color: hsl(0, 0%, 21%) !important; -} - -.is-checkradio[type=radio].is-dark:checked.has-background-color + label::after, .is-checkradio[type=radio].is-dark:checked.has-background-color + label:after { - border-color: #fff !important; - background-color: #fff !important; -} - -.is-checkradio[type=radio].is-primary.has-background-color + label::before, .is-checkradio[type=radio].is-primary.has-background-color + label:before { - border-color: hsl(171, 100%, 41%) !important; - background-color: hsl(171, 100%, 41%) !important; -} - -.is-checkradio[type=radio].is-primary:hover:not([disabled]) + label::before, .is-checkradio[type=radio].is-primary:hover:not([disabled]) + label:before { - border-color: hsl(171, 100%, 41%) !important; -} - -.is-checkradio[type=radio].is-primary:checked + label::after, .is-checkradio[type=radio].is-primary:checked + label:after { - border-color: hsl(171, 100%, 41%) !important; - background-color: hsl(171, 100%, 41%) !important; -} - -.is-checkradio[type=radio].is-primary:checked.has-background-color + label::before, .is-checkradio[type=radio].is-primary:checked.has-background-color + label:before { - border-color: hsl(171, 100%, 41%) !important; - background-color: hsl(171, 100%, 41%) !important; -} - -.is-checkradio[type=radio].is-primary:checked.has-background-color + label::after, .is-checkradio[type=radio].is-primary:checked.has-background-color + label:after { - border-color: #fff !important; - background-color: #fff !important; -} - -.is-checkradio[type=radio].is-link.has-background-color + label::before, .is-checkradio[type=radio].is-link.has-background-color + label:before { - border-color: hsl(229, 53%, 53%) !important; - background-color: hsl(229, 53%, 53%) !important; -} - -.is-checkradio[type=radio].is-link:hover:not([disabled]) + label::before, .is-checkradio[type=radio].is-link:hover:not([disabled]) + label:before { - border-color: hsl(229, 53%, 53%) !important; -} - -.is-checkradio[type=radio].is-link:checked + label::after, .is-checkradio[type=radio].is-link:checked + label:after { - border-color: hsl(229, 53%, 53%) !important; - background-color: hsl(229, 53%, 53%) !important; -} - -.is-checkradio[type=radio].is-link:checked.has-background-color + label::before, .is-checkradio[type=radio].is-link:checked.has-background-color + label:before { - border-color: hsl(229, 53%, 53%) !important; - background-color: hsl(229, 53%, 53%) !important; -} - -.is-checkradio[type=radio].is-link:checked.has-background-color + label::after, .is-checkradio[type=radio].is-link:checked.has-background-color + label:after { - border-color: #fff !important; - background-color: #fff !important; -} - -.is-checkradio[type=radio].is-info.has-background-color + label::before, .is-checkradio[type=radio].is-info.has-background-color + label:before { - border-color: hsl(217, 71%, 50%) !important; - background-color: hsl(217, 71%, 50%) !important; -} - -.is-checkradio[type=radio].is-info:hover:not([disabled]) + label::before, .is-checkradio[type=radio].is-info:hover:not([disabled]) + label:before { - border-color: hsl(217, 71%, 50%) !important; -} - -.is-checkradio[type=radio].is-info:checked + label::after, .is-checkradio[type=radio].is-info:checked + label:after { - border-color: hsl(217, 71%, 50%) !important; - background-color: hsl(217, 71%, 50%) !important; -} - -.is-checkradio[type=radio].is-info:checked.has-background-color + label::before, .is-checkradio[type=radio].is-info:checked.has-background-color + label:before { - border-color: hsl(217, 71%, 50%) !important; - background-color: hsl(217, 71%, 50%) !important; -} - -.is-checkradio[type=radio].is-info:checked.has-background-color + label::after, .is-checkradio[type=radio].is-info:checked.has-background-color + label:after { - border-color: #fff !important; - background-color: #fff !important; -} - -.is-checkradio[type=radio].is-success.has-background-color + label::before, .is-checkradio[type=radio].is-success.has-background-color + label:before { - border-color: hsl(141, 53%, 40%) !important; - background-color: hsl(141, 53%, 40%) !important; -} - -.is-checkradio[type=radio].is-success:hover:not([disabled]) + label::before, .is-checkradio[type=radio].is-success:hover:not([disabled]) + label:before { - border-color: hsl(141, 53%, 40%) !important; -} - -.is-checkradio[type=radio].is-success:checked + label::after, .is-checkradio[type=radio].is-success:checked + label:after { - border-color: hsl(141, 53%, 40%) !important; - background-color: hsl(141, 53%, 40%) !important; -} - -.is-checkradio[type=radio].is-success:checked.has-background-color + label::before, .is-checkradio[type=radio].is-success:checked.has-background-color + label:before { - border-color: hsl(141, 53%, 40%) !important; - background-color: hsl(141, 53%, 40%) !important; -} - -.is-checkradio[type=radio].is-success:checked.has-background-color + label::after, .is-checkradio[type=radio].is-success:checked.has-background-color + label:after { - border-color: #fff !important; - background-color: #fff !important; -} - -.is-checkradio[type=radio].is-warning.has-background-color + label::before, .is-checkradio[type=radio].is-warning.has-background-color + label:before { - border-color: hsl(38, 93%, 50%) !important; - background-color: hsl(38, 93%, 50%) !important; -} - -.is-checkradio[type=radio].is-warning:hover:not([disabled]) + label::before, .is-checkradio[type=radio].is-warning:hover:not([disabled]) + label:before { - border-color: hsl(38, 93%, 50%) !important; -} - -.is-checkradio[type=radio].is-warning:checked + label::after, .is-checkradio[type=radio].is-warning:checked + label:after { - border-color: hsl(38, 93%, 50%) !important; - background-color: hsl(38, 93%, 50%) !important; -} - -.is-checkradio[type=radio].is-warning:checked.has-background-color + label::before, .is-checkradio[type=radio].is-warning:checked.has-background-color + label:before { - border-color: hsl(38, 93%, 50%) !important; - background-color: hsl(38, 93%, 50%) !important; -} - -.is-checkradio[type=radio].is-warning:checked.has-background-color + label::after, .is-checkradio[type=radio].is-warning:checked.has-background-color + label:after { - border-color: #fff !important; - background-color: #fff !important; -} - -.is-checkradio[type=radio].is-danger.has-background-color + label::before, .is-checkradio[type=radio].is-danger.has-background-color + label:before { - border-color: hsl(348, 100%, 40%) !important; - background-color: hsl(348, 100%, 40%) !important; -} - -.is-checkradio[type=radio].is-danger:hover:not([disabled]) + label::before, .is-checkradio[type=radio].is-danger:hover:not([disabled]) + label:before { - border-color: hsl(348, 100%, 40%) !important; -} - -.is-checkradio[type=radio].is-danger:checked + label::after, .is-checkradio[type=radio].is-danger:checked + label:after { - border-color: hsl(348, 100%, 40%) !important; - background-color: hsl(348, 100%, 40%) !important; -} - -.is-checkradio[type=radio].is-danger:checked.has-background-color + label::before, .is-checkradio[type=radio].is-danger:checked.has-background-color + label:before { - border-color: hsl(348, 100%, 40%) !important; - background-color: hsl(348, 100%, 40%) !important; -} - -.is-checkradio[type=radio].is-danger:checked.has-background-color + label::after, .is-checkradio[type=radio].is-danger:checked.has-background-color + label:after { - border-color: #fff !important; - background-color: #fff !important; -} - -.switch[type=checkbox] { - outline: 0; - user-select: none; - display: inline-block; - position: absolute; - opacity: 0; -} - -.switch[type=checkbox]:focus + label::before, .switch[type=checkbox]:focus + label:before, .switch[type=checkbox]:focus + label::after, .switch[type=checkbox]:focus + label:after { - outline: 1px dotted hsl(0, 0%, 71%); -} - -.switch[type=checkbox][disabled] { - cursor: not-allowed; -} - -.switch[type=checkbox][disabled] + label { - opacity: 0.5; -} - -.switch[type=checkbox][disabled] + label::before, .switch[type=checkbox][disabled] + label:before { - opacity: 0.5; -} - -.switch[type=checkbox][disabled] + label::after, .switch[type=checkbox][disabled] + label:after { - opacity: 0.5; -} - -.switch[type=checkbox][disabled] + label:hover { - cursor: not-allowed; -} - -.switch[type=checkbox] + label { - position: relative; - display: inline-flex; - align-items: center; - justify-content: flex-start; - font-size: 1rem; - height: 2.5em; - line-height: 1.5; - padding-left: 3.5rem; - padding-top: 0.2rem; - cursor: pointer; -} - -.switch[type=checkbox] + label::before, .switch[type=checkbox] + label:before { - position: absolute; - display: block; - top: calc(50% - 0.75rem); - left: 0; - width: 3rem; - height: 1.5rem; - border: 0.1rem solid transparent; - border-radius: 4px; - background: hsl(0, 0%, 71%); - content: ""; -} - -.switch[type=checkbox] + label::after, .switch[type=checkbox] + label:after { - display: block; - position: absolute; - top: calc(50% - 0.5rem); - left: 0.25rem; - width: 1rem; - height: 1rem; - transform: translate3d(0, 0, 0); - border-radius: 4px; - background: hsl(0, 0%, 100%); - transition: all 0.25s ease-out; - content: ""; -} - -.switch[type=checkbox] + label .switch-active, .switch[type=checkbox] + label .switch-inactive { - font-size: 0.9rem; - z-index: 1; - margin-top: -4px; -} - -.switch[type=checkbox] + label.has-text-inside .switch-inactive { - margin-left: -1.925rem; -} - -.switch[type=checkbox] + label.has-text-inside .switch-active { - margin-left: -3.25rem; -} - -.switch[type=checkbox].is-rtl + label { - padding-left: 0; - padding-right: 3.5rem; -} - -.switch[type=checkbox].is-rtl + label::before, .switch[type=checkbox].is-rtl + label:before { - left: auto; - right: 0; -} - -.switch[type=checkbox].is-rtl + label::after, .switch[type=checkbox].is-rtl + label:after { - left: auto; - right: 1.625rem; -} - -.switch[type=checkbox]:checked + label::before, .switch[type=checkbox]:checked + label:before { - background: hsl(171, 100%, 41%); -} - -.switch[type=checkbox]:checked + label::after { - left: 1.625rem; -} - -.switch[type=checkbox]:checked.is-rtl + label::after, .switch[type=checkbox]:checked.is-rtl + label:after { - left: auto; - right: 0.25rem; -} - -.switch[type=checkbox].is-outlined + label::before, .switch[type=checkbox].is-outlined + label:before { - background-color: transparent; - border-color: hsl(0, 0%, 71%); -} - -.switch[type=checkbox].is-outlined + label::after, .switch[type=checkbox].is-outlined + label:after { - background: hsl(0, 0%, 71%); -} - -.switch[type=checkbox].is-outlined:checked + label::before, .switch[type=checkbox].is-outlined:checked + label:before { - background-color: transparent; - border-color: hsl(171, 100%, 41%); -} - -.switch[type=checkbox].is-outlined:checked + label::after, .switch[type=checkbox].is-outlined:checked + label:after { - background: hsl(171, 100%, 41%); -} - -.switch[type=checkbox].is-thin + label::before, .switch[type=checkbox].is-thin + label:before { - top: 0.5454545456rem; - height: 0.375rem; -} - -.switch[type=checkbox].is-thin + label::after, .switch[type=checkbox].is-thin + label:after { - box-shadow: 0px 0px 3px hsl(0, 0%, 48%); -} - -.switch[type=checkbox].is-rounded + label::before, .switch[type=checkbox].is-rounded + label:before { - border-radius: 24px; -} - -.switch[type=checkbox].is-rounded + label::after, .switch[type=checkbox].is-rounded + label:after { - border-radius: 50%; -} - -.switch[type=checkbox].is-small + label { - position: relative; - display: inline-flex; - align-items: center; - justify-content: flex-start; - font-size: 0.846rem; - height: 2.5em; - line-height: 1.5; - padding-left: 3.038rem; - padding-top: 0.2rem; - cursor: pointer; -} - -.switch[type=checkbox].is-small + label::before, .switch[type=checkbox].is-small + label:before { - position: absolute; - display: block; - top: calc(50% - 0.6345rem); - left: 0; - width: 2.538rem; - height: 1.269rem; - border: 0.1rem solid transparent; - border-radius: 4px; - background: hsl(0, 0%, 71%); - content: ""; -} - -.switch[type=checkbox].is-small + label::after, .switch[type=checkbox].is-small + label:after { - display: block; - position: absolute; - top: calc(50% - 0.3845rem); - left: 0.25rem; - width: 0.769rem; - height: 0.769rem; - transform: translate3d(0, 0, 0); - border-radius: 4px; - background: hsl(0, 0%, 100%); - transition: all 0.25s ease-out; - content: ""; -} - -.switch[type=checkbox].is-small + label .switch-active, .switch[type=checkbox].is-small + label .switch-inactive { - font-size: 0.746rem; - z-index: 1; - margin-top: -4px; -} - -.switch[type=checkbox].is-small + label.has-text-inside .switch-inactive { - margin-left: -1.694rem; -} - -.switch[type=checkbox].is-small + label.has-text-inside .switch-active { - margin-left: -2.788rem; -} - -.switch[type=checkbox].is-small.is-rtl + label { - padding-left: 0; - padding-right: 3.038rem; -} - -.switch[type=checkbox].is-small.is-rtl + label::before, .switch[type=checkbox].is-small.is-rtl + label:before { - left: auto; - right: 0; -} - -.switch[type=checkbox].is-small.is-rtl + label::after, .switch[type=checkbox].is-small.is-rtl + label:after { - left: auto; - right: 1.394rem; -} - -.switch[type=checkbox].is-small:checked + label::before, .switch[type=checkbox].is-small:checked + label:before { - background: hsl(171, 100%, 41%); -} - -.switch[type=checkbox].is-small:checked + label::after { - left: 1.394rem; -} - -.switch[type=checkbox].is-small:checked.is-rtl + label::after, .switch[type=checkbox].is-small:checked.is-rtl + label:after { - left: auto; - right: 0.25rem; -} - -.switch[type=checkbox].is-small.is-outlined + label::before, .switch[type=checkbox].is-small.is-outlined + label:before { - background-color: transparent; - border-color: hsl(0, 0%, 71%); -} - -.switch[type=checkbox].is-small.is-outlined + label::after, .switch[type=checkbox].is-small.is-outlined + label:after { - background: hsl(0, 0%, 71%); -} - -.switch[type=checkbox].is-small.is-outlined:checked + label::before, .switch[type=checkbox].is-small.is-outlined:checked + label:before { - background-color: transparent; - border-color: hsl(171, 100%, 41%); -} - -.switch[type=checkbox].is-small.is-outlined:checked + label::after, .switch[type=checkbox].is-small.is-outlined:checked + label:after { - background: hsl(171, 100%, 41%); -} - -.switch[type=checkbox].is-small.is-thin + label::before, .switch[type=checkbox].is-small.is-thin + label:before { - top: 0.4614545456rem; - height: 0.31725rem; -} - -.switch[type=checkbox].is-small.is-thin + label::after, .switch[type=checkbox].is-small.is-thin + label:after { - box-shadow: 0px 0px 3px hsl(0, 0%, 48%); -} - -.switch[type=checkbox].is-small.is-rounded + label::before, .switch[type=checkbox].is-small.is-rounded + label:before { - border-radius: 24px; -} - -.switch[type=checkbox].is-small.is-rounded + label::after, .switch[type=checkbox].is-small.is-rounded + label:after { - border-radius: 50%; -} - -.switch[type=checkbox].is-medium + label { - position: relative; - display: inline-flex; - align-items: center; - justify-content: flex-start; - font-size: 1.213rem; - height: 2.5em; - line-height: 1.5; - padding-left: 4.139rem; - padding-top: 0.2rem; - cursor: pointer; -} - -.switch[type=checkbox].is-medium + label::before, .switch[type=checkbox].is-medium + label:before { - position: absolute; - display: block; - top: calc(50% - 0.90975rem); - left: 0; - width: 3.639rem; - height: 1.8195rem; - border: 0.1rem solid transparent; - border-radius: 4px; - background: hsl(0, 0%, 71%); - content: ""; -} - -.switch[type=checkbox].is-medium + label::after, .switch[type=checkbox].is-medium + label:after { - display: block; - position: absolute; - top: calc(50% - 0.65975rem); - left: 0.25rem; - width: 1.3195rem; - height: 1.3195rem; - transform: translate3d(0, 0, 0); - border-radius: 4px; - background: hsl(0, 0%, 100%); - transition: all 0.25s ease-out; - content: ""; -} - -.switch[type=checkbox].is-medium + label .switch-active, .switch[type=checkbox].is-medium + label .switch-inactive { - font-size: 1.113rem; - z-index: 1; - margin-top: -4px; -} - -.switch[type=checkbox].is-medium + label.has-text-inside .switch-inactive { - margin-left: -2.2445rem; -} - -.switch[type=checkbox].is-medium + label.has-text-inside .switch-active { - margin-left: -3.889rem; -} - -.switch[type=checkbox].is-medium.is-rtl + label { - padding-left: 0; - padding-right: 4.139rem; -} - -.switch[type=checkbox].is-medium.is-rtl + label::before, .switch[type=checkbox].is-medium.is-rtl + label:before { - left: auto; - right: 0; -} - -.switch[type=checkbox].is-medium.is-rtl + label::after, .switch[type=checkbox].is-medium.is-rtl + label:after { - left: auto; - right: 1.9445rem; -} - -.switch[type=checkbox].is-medium:checked + label::before, .switch[type=checkbox].is-medium:checked + label:before { - background: hsl(171, 100%, 41%); -} - -.switch[type=checkbox].is-medium:checked + label::after { - left: 1.9445rem; -} - -.switch[type=checkbox].is-medium:checked.is-rtl + label::after, .switch[type=checkbox].is-medium:checked.is-rtl + label:after { - left: auto; - right: 0.25rem; -} - -.switch[type=checkbox].is-medium.is-outlined + label::before, .switch[type=checkbox].is-medium.is-outlined + label:before { - background-color: transparent; - border-color: hsl(0, 0%, 71%); -} - -.switch[type=checkbox].is-medium.is-outlined + label::after, .switch[type=checkbox].is-medium.is-outlined + label:after { - background: hsl(0, 0%, 71%); -} - -.switch[type=checkbox].is-medium.is-outlined:checked + label::before, .switch[type=checkbox].is-medium.is-outlined:checked + label:before { - background-color: transparent; - border-color: hsl(171, 100%, 41%); -} - -.switch[type=checkbox].is-medium.is-outlined:checked + label::after, .switch[type=checkbox].is-medium.is-outlined:checked + label:after { - background: hsl(171, 100%, 41%); -} - -.switch[type=checkbox].is-medium.is-thin + label::before, .switch[type=checkbox].is-medium.is-thin + label:before { - top: 0.6616363637rem; - height: 0.454875rem; -} - -.switch[type=checkbox].is-medium.is-thin + label::after, .switch[type=checkbox].is-medium.is-thin + label:after { - box-shadow: 0px 0px 3px hsl(0, 0%, 48%); -} - -.switch[type=checkbox].is-medium.is-rounded + label::before, .switch[type=checkbox].is-medium.is-rounded + label:before { - border-radius: 24px; -} - -.switch[type=checkbox].is-medium.is-rounded + label::after, .switch[type=checkbox].is-medium.is-rounded + label:after { - border-radius: 50%; -} - -.switch[type=checkbox].is-large + label { - position: relative; - display: inline-flex; - align-items: center; - justify-content: flex-start; - font-size: 1.385rem; - height: 2.5em; - line-height: 1.5; - padding-left: 4.655rem; - padding-top: 0.2rem; - cursor: pointer; -} - -.switch[type=checkbox].is-large + label::before, .switch[type=checkbox].is-large + label:before { - position: absolute; - display: block; - top: calc(50% - 1.03875rem); - left: 0; - width: 4.155rem; - height: 2.0775rem; - border: 0.1rem solid transparent; - border-radius: 4px; - background: hsl(0, 0%, 71%); - content: ""; -} - -.switch[type=checkbox].is-large + label::after, .switch[type=checkbox].is-large + label:after { - display: block; - position: absolute; - top: calc(50% - 0.78875rem); - left: 0.25rem; - width: 1.5775rem; - height: 1.5775rem; - transform: translate3d(0, 0, 0); - border-radius: 4px; - background: hsl(0, 0%, 100%); - transition: all 0.25s ease-out; - content: ""; -} - -.switch[type=checkbox].is-large + label .switch-active, .switch[type=checkbox].is-large + label .switch-inactive { - font-size: 1.285rem; - z-index: 1; - margin-top: -4px; -} - -.switch[type=checkbox].is-large + label.has-text-inside .switch-inactive { - margin-left: -2.5025rem; -} - -.switch[type=checkbox].is-large + label.has-text-inside .switch-active { - margin-left: -4.405rem; -} - -.switch[type=checkbox].is-large.is-rtl + label { - padding-left: 0; - padding-right: 4.655rem; -} - -.switch[type=checkbox].is-large.is-rtl + label::before, .switch[type=checkbox].is-large.is-rtl + label:before { - left: auto; - right: 0; -} - -.switch[type=checkbox].is-large.is-rtl + label::after, .switch[type=checkbox].is-large.is-rtl + label:after { - left: auto; - right: 2.2025rem; -} - -.switch[type=checkbox].is-large:checked + label::before, .switch[type=checkbox].is-large:checked + label:before { - background: hsl(171, 100%, 41%); -} - -.switch[type=checkbox].is-large:checked + label::after { - left: 2.2025rem; -} - -.switch[type=checkbox].is-large:checked.is-rtl + label::after, .switch[type=checkbox].is-large:checked.is-rtl + label:after { - left: auto; - right: 0.25rem; -} - -.switch[type=checkbox].is-large.is-outlined + label::before, .switch[type=checkbox].is-large.is-outlined + label:before { - background-color: transparent; - border-color: hsl(0, 0%, 71%); -} - -.switch[type=checkbox].is-large.is-outlined + label::after, .switch[type=checkbox].is-large.is-outlined + label:after { - background: hsl(0, 0%, 71%); -} - -.switch[type=checkbox].is-large.is-outlined:checked + label::before, .switch[type=checkbox].is-large.is-outlined:checked + label:before { - background-color: transparent; - border-color: hsl(171, 100%, 41%); -} - -.switch[type=checkbox].is-large.is-outlined:checked + label::after, .switch[type=checkbox].is-large.is-outlined:checked + label:after { - background: hsl(171, 100%, 41%); -} - -.switch[type=checkbox].is-large.is-thin + label::before, .switch[type=checkbox].is-large.is-thin + label:before { - top: 0.7554545456rem; - height: 0.519375rem; -} - -.switch[type=checkbox].is-large.is-thin + label::after, .switch[type=checkbox].is-large.is-thin + label:after { - box-shadow: 0px 0px 3px hsl(0, 0%, 48%); -} - -.switch[type=checkbox].is-large.is-rounded + label::before, .switch[type=checkbox].is-large.is-rounded + label:before { - border-radius: 24px; -} - -.switch[type=checkbox].is-large.is-rounded + label::after, .switch[type=checkbox].is-large.is-rounded + label:after { - border-radius: 50%; -} - -.switch[type=checkbox].is-white + label .switch-active { - display: none; -} - -.switch[type=checkbox].is-white + label .switch-inactive { - display: inline-block; -} - -.switch[type=checkbox].is-white:checked + label::before, .switch[type=checkbox].is-white:checked + label:before { - background: hsl(0, 0%, 100%); -} - -.switch[type=checkbox].is-white:checked + label .switch-active { - display: inline-block; -} - -.switch[type=checkbox].is-white:checked + label .switch-inactive { - display: none; -} - -.switch[type=checkbox].is-white.is-outlined:checked + label::before, .switch[type=checkbox].is-white.is-outlined:checked + label:before { - background-color: transparent; - border-color: hsl(0, 0%, 100%) !important; -} - -.switch[type=checkbox].is-white.is-outlined:checked + label::after, .switch[type=checkbox].is-white.is-outlined:checked + label:after { - background: hsl(0, 0%, 100%); -} - -.switch[type=checkbox].is-white.is-thin.is-outlined + label::after, .switch[type=checkbox].is-white.is-thin.is-outlined + label:after { - box-shadow: none; -} - -.switch[type=checkbox].is-unchecked-white + label::before, .switch[type=checkbox].is-unchecked-white + label:before { - background: hsl(0, 0%, 100%); -} - -.switch[type=checkbox].is-unchecked-white.is-outlined + label::before, .switch[type=checkbox].is-unchecked-white.is-outlined + label:before { - background-color: transparent; - border-color: hsl(0, 0%, 100%) !important; -} - -.switch[type=checkbox].is-unchecked-white.is-outlined + label::after, .switch[type=checkbox].is-unchecked-white.is-outlined + label:after { - background: hsl(0, 0%, 100%); -} - -.switch[type=checkbox].is-black + label .switch-active { - display: none; -} - -.switch[type=checkbox].is-black + label .switch-inactive { - display: inline-block; -} - -.switch[type=checkbox].is-black:checked + label::before, .switch[type=checkbox].is-black:checked + label:before { - background: hsl(0, 0%, 4%); -} - -.switch[type=checkbox].is-black:checked + label .switch-active { - display: inline-block; -} - -.switch[type=checkbox].is-black:checked + label .switch-inactive { - display: none; -} - -.switch[type=checkbox].is-black.is-outlined:checked + label::before, .switch[type=checkbox].is-black.is-outlined:checked + label:before { - background-color: transparent; - border-color: hsl(0, 0%, 4%) !important; -} - -.switch[type=checkbox].is-black.is-outlined:checked + label::after, .switch[type=checkbox].is-black.is-outlined:checked + label:after { - background: hsl(0, 0%, 4%); -} - -.switch[type=checkbox].is-black.is-thin.is-outlined + label::after, .switch[type=checkbox].is-black.is-thin.is-outlined + label:after { - box-shadow: none; -} - -.switch[type=checkbox].is-unchecked-black + label::before, .switch[type=checkbox].is-unchecked-black + label:before { - background: hsl(0, 0%, 4%); -} - -.switch[type=checkbox].is-unchecked-black.is-outlined + label::before, .switch[type=checkbox].is-unchecked-black.is-outlined + label:before { - background-color: transparent; - border-color: hsl(0, 0%, 4%) !important; -} - -.switch[type=checkbox].is-unchecked-black.is-outlined + label::after, .switch[type=checkbox].is-unchecked-black.is-outlined + label:after { - background: hsl(0, 0%, 4%); -} - -.switch[type=checkbox].is-light + label .switch-active { - display: none; -} - -.switch[type=checkbox].is-light + label .switch-inactive { - display: inline-block; -} - -.switch[type=checkbox].is-light:checked + label::before, .switch[type=checkbox].is-light:checked + label:before { - background: hsl(0, 0%, 96%); -} - -.switch[type=checkbox].is-light:checked + label .switch-active { - display: inline-block; -} - -.switch[type=checkbox].is-light:checked + label .switch-inactive { - display: none; -} - -.switch[type=checkbox].is-light.is-outlined:checked + label::before, .switch[type=checkbox].is-light.is-outlined:checked + label:before { - background-color: transparent; - border-color: hsl(0, 0%, 96%) !important; -} - -.switch[type=checkbox].is-light.is-outlined:checked + label::after, .switch[type=checkbox].is-light.is-outlined:checked + label:after { - background: hsl(0, 0%, 96%); -} - -.switch[type=checkbox].is-light.is-thin.is-outlined + label::after, .switch[type=checkbox].is-light.is-thin.is-outlined + label:after { - box-shadow: none; -} - -.switch[type=checkbox].is-unchecked-light + label::before, .switch[type=checkbox].is-unchecked-light + label:before { - background: hsl(0, 0%, 96%); -} - -.switch[type=checkbox].is-unchecked-light.is-outlined + label::before, .switch[type=checkbox].is-unchecked-light.is-outlined + label:before { - background-color: transparent; - border-color: hsl(0, 0%, 96%) !important; -} - -.switch[type=checkbox].is-unchecked-light.is-outlined + label::after, .switch[type=checkbox].is-unchecked-light.is-outlined + label:after { - background: hsl(0, 0%, 96%); -} - -.switch[type=checkbox].is-dark + label .switch-active { - display: none; -} - -.switch[type=checkbox].is-dark + label .switch-inactive { - display: inline-block; -} - -.switch[type=checkbox].is-dark:checked + label::before, .switch[type=checkbox].is-dark:checked + label:before { - background: hsl(0, 0%, 21%); -} - -.switch[type=checkbox].is-dark:checked + label .switch-active { - display: inline-block; -} - -.switch[type=checkbox].is-dark:checked + label .switch-inactive { - display: none; -} - -.switch[type=checkbox].is-dark.is-outlined:checked + label::before, .switch[type=checkbox].is-dark.is-outlined:checked + label:before { - background-color: transparent; - border-color: hsl(0, 0%, 21%) !important; -} - -.switch[type=checkbox].is-dark.is-outlined:checked + label::after, .switch[type=checkbox].is-dark.is-outlined:checked + label:after { - background: hsl(0, 0%, 21%); -} - -.switch[type=checkbox].is-dark.is-thin.is-outlined + label::after, .switch[type=checkbox].is-dark.is-thin.is-outlined + label:after { - box-shadow: none; -} - -.switch[type=checkbox].is-unchecked-dark + label::before, .switch[type=checkbox].is-unchecked-dark + label:before { - background: hsl(0, 0%, 21%); -} - -.switch[type=checkbox].is-unchecked-dark.is-outlined + label::before, .switch[type=checkbox].is-unchecked-dark.is-outlined + label:before { - background-color: transparent; - border-color: hsl(0, 0%, 21%) !important; -} - -.switch[type=checkbox].is-unchecked-dark.is-outlined + label::after, .switch[type=checkbox].is-unchecked-dark.is-outlined + label:after { - background: hsl(0, 0%, 21%); -} - -.switch[type=checkbox].is-primary + label .switch-active { - display: none; -} - -.switch[type=checkbox].is-primary + label .switch-inactive { - display: inline-block; -} - -.switch[type=checkbox].is-primary:checked + label::before, .switch[type=checkbox].is-primary:checked + label:before { - background: hsl(171, 100%, 41%); -} - -.switch[type=checkbox].is-primary:checked + label .switch-active { - display: inline-block; -} - -.switch[type=checkbox].is-primary:checked + label .switch-inactive { - display: none; -} - -.switch[type=checkbox].is-primary.is-outlined:checked + label::before, .switch[type=checkbox].is-primary.is-outlined:checked + label:before { - background-color: transparent; - border-color: hsl(171, 100%, 41%) !important; -} - -.switch[type=checkbox].is-primary.is-outlined:checked + label::after, .switch[type=checkbox].is-primary.is-outlined:checked + label:after { - background: hsl(171, 100%, 41%); -} - -.switch[type=checkbox].is-primary.is-thin.is-outlined + label::after, .switch[type=checkbox].is-primary.is-thin.is-outlined + label:after { - box-shadow: none; -} - -.switch[type=checkbox].is-unchecked-primary + label::before, .switch[type=checkbox].is-unchecked-primary + label:before { - background: hsl(171, 100%, 41%); -} - -.switch[type=checkbox].is-unchecked-primary.is-outlined + label::before, .switch[type=checkbox].is-unchecked-primary.is-outlined + label:before { - background-color: transparent; - border-color: hsl(171, 100%, 41%) !important; -} - -.switch[type=checkbox].is-unchecked-primary.is-outlined + label::after, .switch[type=checkbox].is-unchecked-primary.is-outlined + label:after { - background: hsl(171, 100%, 41%); -} - -.switch[type=checkbox].is-link + label .switch-active { - display: none; -} - -.switch[type=checkbox].is-link + label .switch-inactive { - display: inline-block; -} - -.switch[type=checkbox].is-link:checked + label::before, .switch[type=checkbox].is-link:checked + label:before { - background: hsl(229, 53%, 53%); -} - -.switch[type=checkbox].is-link:checked + label .switch-active { - display: inline-block; -} - -.switch[type=checkbox].is-link:checked + label .switch-inactive { - display: none; -} - -.switch[type=checkbox].is-link.is-outlined:checked + label::before, .switch[type=checkbox].is-link.is-outlined:checked + label:before { - background-color: transparent; - border-color: hsl(229, 53%, 53%) !important; -} - -.switch[type=checkbox].is-link.is-outlined:checked + label::after, .switch[type=checkbox].is-link.is-outlined:checked + label:after { - background: hsl(229, 53%, 53%); -} - -.switch[type=checkbox].is-link.is-thin.is-outlined + label::after, .switch[type=checkbox].is-link.is-thin.is-outlined + label:after { - box-shadow: none; -} - -.switch[type=checkbox].is-unchecked-link + label::before, .switch[type=checkbox].is-unchecked-link + label:before { - background: hsl(229, 53%, 53%); -} - -.switch[type=checkbox].is-unchecked-link.is-outlined + label::before, .switch[type=checkbox].is-unchecked-link.is-outlined + label:before { - background-color: transparent; - border-color: hsl(229, 53%, 53%) !important; -} - -.switch[type=checkbox].is-unchecked-link.is-outlined + label::after, .switch[type=checkbox].is-unchecked-link.is-outlined + label:after { - background: hsl(229, 53%, 53%); -} - -.switch[type=checkbox].is-info + label .switch-active { - display: none; -} - -.switch[type=checkbox].is-info + label .switch-inactive { - display: inline-block; -} - -.switch[type=checkbox].is-info:checked + label::before, .switch[type=checkbox].is-info:checked + label:before { - background: hsl(217, 71%, 50%); -} - -.switch[type=checkbox].is-info:checked + label .switch-active { - display: inline-block; -} - -.switch[type=checkbox].is-info:checked + label .switch-inactive { - display: none; -} - -.switch[type=checkbox].is-info.is-outlined:checked + label::before, .switch[type=checkbox].is-info.is-outlined:checked + label:before { - background-color: transparent; - border-color: hsl(217, 71%, 50%) !important; -} - -.switch[type=checkbox].is-info.is-outlined:checked + label::after, .switch[type=checkbox].is-info.is-outlined:checked + label:after { - background: hsl(217, 71%, 50%); -} - -.switch[type=checkbox].is-info.is-thin.is-outlined + label::after, .switch[type=checkbox].is-info.is-thin.is-outlined + label:after { - box-shadow: none; -} - -.switch[type=checkbox].is-unchecked-info + label::before, .switch[type=checkbox].is-unchecked-info + label:before { - background: hsl(217, 71%, 50%); -} - -.switch[type=checkbox].is-unchecked-info.is-outlined + label::before, .switch[type=checkbox].is-unchecked-info.is-outlined + label:before { - background-color: transparent; - border-color: hsl(217, 71%, 50%) !important; -} - -.switch[type=checkbox].is-unchecked-info.is-outlined + label::after, .switch[type=checkbox].is-unchecked-info.is-outlined + label:after { - background: hsl(217, 71%, 50%); -} - -.switch[type=checkbox].is-success + label .switch-active { - display: none; -} - -.switch[type=checkbox].is-success + label .switch-inactive { - display: inline-block; -} - -.switch[type=checkbox].is-success:checked + label::before, .switch[type=checkbox].is-success:checked + label:before { - background: hsl(141, 53%, 40%); -} - -.switch[type=checkbox].is-success:checked + label .switch-active { - display: inline-block; -} - -.switch[type=checkbox].is-success:checked + label .switch-inactive { - display: none; -} - -.switch[type=checkbox].is-success.is-outlined:checked + label::before, .switch[type=checkbox].is-success.is-outlined:checked + label:before { - background-color: transparent; - border-color: hsl(141, 53%, 40%) !important; -} - -.switch[type=checkbox].is-success.is-outlined:checked + label::after, .switch[type=checkbox].is-success.is-outlined:checked + label:after { - background: hsl(141, 53%, 40%); -} - -.switch[type=checkbox].is-success.is-thin.is-outlined + label::after, .switch[type=checkbox].is-success.is-thin.is-outlined + label:after { - box-shadow: none; -} - -.switch[type=checkbox].is-unchecked-success + label::before, .switch[type=checkbox].is-unchecked-success + label:before { - background: hsl(141, 53%, 40%); -} - -.switch[type=checkbox].is-unchecked-success.is-outlined + label::before, .switch[type=checkbox].is-unchecked-success.is-outlined + label:before { - background-color: transparent; - border-color: hsl(141, 53%, 40%) !important; -} - -.switch[type=checkbox].is-unchecked-success.is-outlined + label::after, .switch[type=checkbox].is-unchecked-success.is-outlined + label:after { - background: hsl(141, 53%, 40%); -} - -.switch[type=checkbox].is-warning + label .switch-active { - display: none; -} - -.switch[type=checkbox].is-warning + label .switch-inactive { - display: inline-block; -} - -.switch[type=checkbox].is-warning:checked + label::before, .switch[type=checkbox].is-warning:checked + label:before { - background: hsl(38, 93%, 50%); -} - -.switch[type=checkbox].is-warning:checked + label .switch-active { - display: inline-block; -} - -.switch[type=checkbox].is-warning:checked + label .switch-inactive { - display: none; -} - -.switch[type=checkbox].is-warning.is-outlined:checked + label::before, .switch[type=checkbox].is-warning.is-outlined:checked + label:before { - background-color: transparent; - border-color: hsl(38, 93%, 50%) !important; -} - -.switch[type=checkbox].is-warning.is-outlined:checked + label::after, .switch[type=checkbox].is-warning.is-outlined:checked + label:after { - background: hsl(38, 93%, 50%); -} - -.switch[type=checkbox].is-warning.is-thin.is-outlined + label::after, .switch[type=checkbox].is-warning.is-thin.is-outlined + label:after { - box-shadow: none; -} - -.switch[type=checkbox].is-unchecked-warning + label::before, .switch[type=checkbox].is-unchecked-warning + label:before { - background: hsl(38, 93%, 50%); -} - -.switch[type=checkbox].is-unchecked-warning.is-outlined + label::before, .switch[type=checkbox].is-unchecked-warning.is-outlined + label:before { - background-color: transparent; - border-color: hsl(38, 93%, 50%) !important; -} - -.switch[type=checkbox].is-unchecked-warning.is-outlined + label::after, .switch[type=checkbox].is-unchecked-warning.is-outlined + label:after { - background: hsl(38, 93%, 50%); -} - -.switch[type=checkbox].is-danger + label .switch-active { - display: none; -} - -.switch[type=checkbox].is-danger + label .switch-inactive { - display: inline-block; -} - -.switch[type=checkbox].is-danger:checked + label::before, .switch[type=checkbox].is-danger:checked + label:before { - background: hsl(348, 100%, 40%); -} - -.switch[type=checkbox].is-danger:checked + label .switch-active { - display: inline-block; -} - -.switch[type=checkbox].is-danger:checked + label .switch-inactive { - display: none; -} - -.switch[type=checkbox].is-danger.is-outlined:checked + label::before, .switch[type=checkbox].is-danger.is-outlined:checked + label:before { - background-color: transparent; - border-color: hsl(348, 100%, 40%) !important; -} - -.switch[type=checkbox].is-danger.is-outlined:checked + label::after, .switch[type=checkbox].is-danger.is-outlined:checked + label:after { - background: hsl(348, 100%, 40%); -} - -.switch[type=checkbox].is-danger.is-thin.is-outlined + label::after, .switch[type=checkbox].is-danger.is-thin.is-outlined + label:after { - box-shadow: none; -} - -.switch[type=checkbox].is-unchecked-danger + label::before, .switch[type=checkbox].is-unchecked-danger + label:before { - background: hsl(348, 100%, 40%); -} - -.switch[type=checkbox].is-unchecked-danger.is-outlined + label::before, .switch[type=checkbox].is-unchecked-danger.is-outlined + label:before { - background-color: transparent; - border-color: hsl(348, 100%, 40%) !important; -} - -.switch[type=checkbox].is-unchecked-danger.is-outlined + label::after, .switch[type=checkbox].is-unchecked-danger.is-outlined + label:after { - background: hsl(348, 100%, 40%); -} - -.field-body .switch[type=checkbox] + label { - margin-top: 0.375em; -} - -[data-tooltip]:not(.is-loading), [data-tooltip]:not(.is-disabled), [data-tooltip]:not([disabled]) { - cursor: pointer; - overflow: visible; - position: relative; -} - -[data-tooltip]:not(.is-loading)::before, [data-tooltip]:not(.is-loading)::after, [data-tooltip]:not(.is-disabled)::before, [data-tooltip]:not(.is-disabled)::after, [data-tooltip]:not([disabled])::before, [data-tooltip]:not([disabled])::after { - box-sizing: border-box; - color: hsl(0, 0%, 100%); - display: inline-block; - font-family: BlinkMacSystemFont, -apple-system, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif; - font-size: 0.846rem; - hyphens: auto; - opacity: 0; - overflow: hidden; - pointer-events: none; - position: absolute; - visibility: hidden; - z-index: 1020; -} - -[data-tooltip]:not(.is-loading)::after, [data-tooltip]:not(.is-disabled)::after, [data-tooltip]:not([disabled])::after { - content: ""; - border-style: solid; - border-width: 6px; - border-color: rgba(74, 74, 74, 0.9) transparent transparent transparent; - margin-bottom: -5px; -} - -[data-tooltip]:not(.is-loading)::after, [data-tooltip]:not(.is-disabled)::after, [data-tooltip]:not([disabled])::after { - top: 0; - right: auto; - bottom: auto; - left: 50%; - margin-top: -5px; - margin-right: auto; - margin-bottom: auto; - margin-left: -5px; - border-color: rgba(74, 74, 74, 0.9) transparent transparent transparent; -} - -[data-tooltip]:not(.is-loading)::before, [data-tooltip]:not(.is-disabled)::before, [data-tooltip]:not([disabled])::before { - background: rgba(74, 74, 74, 0.9); - border-radius: 2px; - content: attr(data-tooltip); - padding: 0.5rem 1rem; - text-overflow: ellipsis; - white-space: pre; -} - -[data-tooltip]:not(.is-loading)::before, [data-tooltip]:not(.is-disabled)::before, [data-tooltip]:not([disabled])::before { - top: 0; - right: auto; - bottom: auto; - left: 50%; - top: 0; - margin-top: -5px; - margin-bottom: auto; - transform: translate(-50%, -100%); -} - -[data-tooltip]:not(.is-loading).has-tooltip-bottom::after, [data-tooltip]:not(.is-disabled).has-tooltip-bottom::after, [data-tooltip]:not([disabled]).has-tooltip-bottom::after { - top: auto; - right: auto; - bottom: 0; - left: 50%; - margin-top: auto; - margin-right: auto; - margin-bottom: -5px; - margin-left: -5px; - border-color: transparent transparent rgba(74, 74, 74, 0.9) transparent; -} - -[data-tooltip]:not(.is-loading).has-tooltip-bottom::before, [data-tooltip]:not(.is-disabled).has-tooltip-bottom::before, [data-tooltip]:not([disabled]).has-tooltip-bottom::before { - top: auto; - right: auto; - bottom: 0; - left: 50%; - margin-top: auto; - margin-bottom: -5px; - transform: translate(-50%, 100%); -} - -[data-tooltip]:not(.is-loading).has-tooltip-left::after, [data-tooltip]:not(.is-disabled).has-tooltip-left::after, [data-tooltip]:not([disabled]).has-tooltip-left::after { - top: auto; - right: auto; - bottom: 50%; - left: 0; - margin-top: auto; - margin-right: auto; - margin-bottom: -6px; - margin-left: -11px; - border-color: transparent transparent transparent rgba(74, 74, 74, 0.9); -} - -[data-tooltip]:not(.is-loading).has-tooltip-left::before, [data-tooltip]:not(.is-disabled).has-tooltip-left::before, [data-tooltip]:not([disabled]).has-tooltip-left::before { - top: auto; - right: auto; - bottom: 50%; - left: -11px; - transform: translate(-100%, 50%); -} - -[data-tooltip]:not(.is-loading).has-tooltip-right::after, [data-tooltip]:not(.is-disabled).has-tooltip-right::after, [data-tooltip]:not([disabled]).has-tooltip-right::after { - top: auto; - right: 0; - bottom: 50%; - left: auto; - margin-top: auto; - margin-right: -11px; - margin-bottom: -6px; - margin-left: auto; - border-color: transparent rgba(74, 74, 74, 0.9) transparent transparent; -} - -[data-tooltip]:not(.is-loading).has-tooltip-right::before, [data-tooltip]:not(.is-disabled).has-tooltip-right::before, [data-tooltip]:not([disabled]).has-tooltip-right::before { - top: auto; - right: -11px; - bottom: 50%; - left: auto; - margin-top: auto; - transform: translate(100%, 50%); -} - -[data-tooltip]:not(.is-loading).has-tooltip-multiline::before, [data-tooltip]:not(.is-disabled).has-tooltip-multiline::before, [data-tooltip]:not([disabled]).has-tooltip-multiline::before { - height: auto; - width: 15rem; - max-width: 15rem; - text-overflow: clip; - white-space: normal; - word-break: keep-all; -} - -[data-tooltip]:not(.is-loading).has-tooltip-white.has-tooltip-bottom::after, [data-tooltip]:not(.is-disabled).has-tooltip-white.has-tooltip-bottom::after, [data-tooltip]:not([disabled]).has-tooltip-white.has-tooltip-bottom::after { - border-color: transparent transparent rgba(255, 255, 255, 0.9) transparent; -} - -[data-tooltip]:not(.is-loading).has-tooltip-white.has-tooltip-left::after, [data-tooltip]:not(.is-disabled).has-tooltip-white.has-tooltip-left::after, [data-tooltip]:not([disabled]).has-tooltip-white.has-tooltip-left::after { - border-color: transparent transparent transparent rgba(255, 255, 255, 0.9); -} - -[data-tooltip]:not(.is-loading).has-tooltip-white.has-tooltip-right::after, [data-tooltip]:not(.is-disabled).has-tooltip-white.has-tooltip-right::after, [data-tooltip]:not([disabled]).has-tooltip-white.has-tooltip-right::after { - border-color: transparent rgba(255, 255, 255, 0.9) transparent transparent; -} - -[data-tooltip]:not(.is-loading).has-tooltip-white:not(.has-tooltip-bottom)::after, [data-tooltip]:not(.is-loading).has-tooltip-white:not(.has-tooltip-left)::after, [data-tooltip]:not(.is-loading).has-tooltip-white:not(.has-tooltip-right)::after, [data-tooltip]:not(.is-disabled).has-tooltip-white:not(.has-tooltip-bottom)::after, [data-tooltip]:not(.is-disabled).has-tooltip-white:not(.has-tooltip-left)::after, [data-tooltip]:not(.is-disabled).has-tooltip-white:not(.has-tooltip-right)::after, [data-tooltip]:not([disabled]).has-tooltip-white:not(.has-tooltip-bottom)::after, [data-tooltip]:not([disabled]).has-tooltip-white:not(.has-tooltip-left)::after, [data-tooltip]:not([disabled]).has-tooltip-white:not(.has-tooltip-right)::after { - border-color: rgba(255, 255, 255, 0.9) transparent transparent transparent; -} - -[data-tooltip]:not(.is-loading).has-tooltip-white:before, [data-tooltip]:not(.is-disabled).has-tooltip-white:before, [data-tooltip]:not([disabled]).has-tooltip-white:before { - background-color: rgba(255, 255, 255, 0.9); - color: hsl(0, 0%, 4%); -} - -[data-tooltip]:not(.is-loading).has-tooltip-black.has-tooltip-bottom::after, [data-tooltip]:not(.is-disabled).has-tooltip-black.has-tooltip-bottom::after, [data-tooltip]:not([disabled]).has-tooltip-black.has-tooltip-bottom::after { - border-color: transparent transparent rgba(10, 10, 10, 0.9) transparent; -} - -[data-tooltip]:not(.is-loading).has-tooltip-black.has-tooltip-left::after, [data-tooltip]:not(.is-disabled).has-tooltip-black.has-tooltip-left::after, [data-tooltip]:not([disabled]).has-tooltip-black.has-tooltip-left::after { - border-color: transparent transparent transparent rgba(10, 10, 10, 0.9); -} - -[data-tooltip]:not(.is-loading).has-tooltip-black.has-tooltip-right::after, [data-tooltip]:not(.is-disabled).has-tooltip-black.has-tooltip-right::after, [data-tooltip]:not([disabled]).has-tooltip-black.has-tooltip-right::after { - border-color: transparent rgba(10, 10, 10, 0.9) transparent transparent; -} - -[data-tooltip]:not(.is-loading).has-tooltip-black:not(.has-tooltip-bottom)::after, [data-tooltip]:not(.is-loading).has-tooltip-black:not(.has-tooltip-left)::after, [data-tooltip]:not(.is-loading).has-tooltip-black:not(.has-tooltip-right)::after, [data-tooltip]:not(.is-disabled).has-tooltip-black:not(.has-tooltip-bottom)::after, [data-tooltip]:not(.is-disabled).has-tooltip-black:not(.has-tooltip-left)::after, [data-tooltip]:not(.is-disabled).has-tooltip-black:not(.has-tooltip-right)::after, [data-tooltip]:not([disabled]).has-tooltip-black:not(.has-tooltip-bottom)::after, [data-tooltip]:not([disabled]).has-tooltip-black:not(.has-tooltip-left)::after, [data-tooltip]:not([disabled]).has-tooltip-black:not(.has-tooltip-right)::after { - border-color: rgba(10, 10, 10, 0.9) transparent transparent transparent; -} - -[data-tooltip]:not(.is-loading).has-tooltip-black:before, [data-tooltip]:not(.is-disabled).has-tooltip-black:before, [data-tooltip]:not([disabled]).has-tooltip-black:before { - background-color: rgba(10, 10, 10, 0.9); - color: hsl(0, 0%, 100%); -} - -[data-tooltip]:not(.is-loading).has-tooltip-light.has-tooltip-bottom::after, [data-tooltip]:not(.is-disabled).has-tooltip-light.has-tooltip-bottom::after, [data-tooltip]:not([disabled]).has-tooltip-light.has-tooltip-bottom::after { - border-color: transparent transparent rgba(245, 245, 245, 0.9) transparent; -} - -[data-tooltip]:not(.is-loading).has-tooltip-light.has-tooltip-left::after, [data-tooltip]:not(.is-disabled).has-tooltip-light.has-tooltip-left::after, [data-tooltip]:not([disabled]).has-tooltip-light.has-tooltip-left::after { - border-color: transparent transparent transparent rgba(245, 245, 245, 0.9); -} - -[data-tooltip]:not(.is-loading).has-tooltip-light.has-tooltip-right::after, [data-tooltip]:not(.is-disabled).has-tooltip-light.has-tooltip-right::after, [data-tooltip]:not([disabled]).has-tooltip-light.has-tooltip-right::after { - border-color: transparent rgba(245, 245, 245, 0.9) transparent transparent; -} - -[data-tooltip]:not(.is-loading).has-tooltip-light:not(.has-tooltip-bottom)::after, [data-tooltip]:not(.is-loading).has-tooltip-light:not(.has-tooltip-left)::after, [data-tooltip]:not(.is-loading).has-tooltip-light:not(.has-tooltip-right)::after, [data-tooltip]:not(.is-disabled).has-tooltip-light:not(.has-tooltip-bottom)::after, [data-tooltip]:not(.is-disabled).has-tooltip-light:not(.has-tooltip-left)::after, [data-tooltip]:not(.is-disabled).has-tooltip-light:not(.has-tooltip-right)::after, [data-tooltip]:not([disabled]).has-tooltip-light:not(.has-tooltip-bottom)::after, [data-tooltip]:not([disabled]).has-tooltip-light:not(.has-tooltip-left)::after, [data-tooltip]:not([disabled]).has-tooltip-light:not(.has-tooltip-right)::after { - border-color: rgba(245, 245, 245, 0.9) transparent transparent transparent; -} - -[data-tooltip]:not(.is-loading).has-tooltip-light:before, [data-tooltip]:not(.is-disabled).has-tooltip-light:before, [data-tooltip]:not([disabled]).has-tooltip-light:before { - background-color: rgba(245, 245, 245, 0.9); - color: rgba(0, 0, 0, 0.7); -} - -[data-tooltip]:not(.is-loading).has-tooltip-dark.has-tooltip-bottom::after, [data-tooltip]:not(.is-disabled).has-tooltip-dark.has-tooltip-bottom::after, [data-tooltip]:not([disabled]).has-tooltip-dark.has-tooltip-bottom::after { - border-color: transparent transparent rgba(54, 54, 54, 0.9) transparent; -} - -[data-tooltip]:not(.is-loading).has-tooltip-dark.has-tooltip-left::after, [data-tooltip]:not(.is-disabled).has-tooltip-dark.has-tooltip-left::after, [data-tooltip]:not([disabled]).has-tooltip-dark.has-tooltip-left::after { - border-color: transparent transparent transparent rgba(54, 54, 54, 0.9); -} - -[data-tooltip]:not(.is-loading).has-tooltip-dark.has-tooltip-right::after, [data-tooltip]:not(.is-disabled).has-tooltip-dark.has-tooltip-right::after, [data-tooltip]:not([disabled]).has-tooltip-dark.has-tooltip-right::after { - border-color: transparent rgba(54, 54, 54, 0.9) transparent transparent; -} - -[data-tooltip]:not(.is-loading).has-tooltip-dark:not(.has-tooltip-bottom)::after, [data-tooltip]:not(.is-loading).has-tooltip-dark:not(.has-tooltip-left)::after, [data-tooltip]:not(.is-loading).has-tooltip-dark:not(.has-tooltip-right)::after, [data-tooltip]:not(.is-disabled).has-tooltip-dark:not(.has-tooltip-bottom)::after, [data-tooltip]:not(.is-disabled).has-tooltip-dark:not(.has-tooltip-left)::after, [data-tooltip]:not(.is-disabled).has-tooltip-dark:not(.has-tooltip-right)::after, [data-tooltip]:not([disabled]).has-tooltip-dark:not(.has-tooltip-bottom)::after, [data-tooltip]:not([disabled]).has-tooltip-dark:not(.has-tooltip-left)::after, [data-tooltip]:not([disabled]).has-tooltip-dark:not(.has-tooltip-right)::after { - border-color: rgba(54, 54, 54, 0.9) transparent transparent transparent; -} - -[data-tooltip]:not(.is-loading).has-tooltip-dark:before, [data-tooltip]:not(.is-disabled).has-tooltip-dark:before, [data-tooltip]:not([disabled]).has-tooltip-dark:before { - background-color: rgba(54, 54, 54, 0.9); - color: #fff; -} - -[data-tooltip]:not(.is-loading).has-tooltip-primary.has-tooltip-bottom::after, [data-tooltip]:not(.is-disabled).has-tooltip-primary.has-tooltip-bottom::after, [data-tooltip]:not([disabled]).has-tooltip-primary.has-tooltip-bottom::after { - border-color: transparent transparent rgba(0, 209, 178, 0.9) transparent; -} - -[data-tooltip]:not(.is-loading).has-tooltip-primary.has-tooltip-left::after, [data-tooltip]:not(.is-disabled).has-tooltip-primary.has-tooltip-left::after, [data-tooltip]:not([disabled]).has-tooltip-primary.has-tooltip-left::after { - border-color: transparent transparent transparent rgba(0, 209, 178, 0.9); -} - -[data-tooltip]:not(.is-loading).has-tooltip-primary.has-tooltip-right::after, [data-tooltip]:not(.is-disabled).has-tooltip-primary.has-tooltip-right::after, [data-tooltip]:not([disabled]).has-tooltip-primary.has-tooltip-right::after { - border-color: transparent rgba(0, 209, 178, 0.9) transparent transparent; -} - -[data-tooltip]:not(.is-loading).has-tooltip-primary:not(.has-tooltip-bottom)::after, [data-tooltip]:not(.is-loading).has-tooltip-primary:not(.has-tooltip-left)::after, [data-tooltip]:not(.is-loading).has-tooltip-primary:not(.has-tooltip-right)::after, [data-tooltip]:not(.is-disabled).has-tooltip-primary:not(.has-tooltip-bottom)::after, [data-tooltip]:not(.is-disabled).has-tooltip-primary:not(.has-tooltip-left)::after, [data-tooltip]:not(.is-disabled).has-tooltip-primary:not(.has-tooltip-right)::after, [data-tooltip]:not([disabled]).has-tooltip-primary:not(.has-tooltip-bottom)::after, [data-tooltip]:not([disabled]).has-tooltip-primary:not(.has-tooltip-left)::after, [data-tooltip]:not([disabled]).has-tooltip-primary:not(.has-tooltip-right)::after { - border-color: rgba(0, 209, 178, 0.9) transparent transparent transparent; -} - -[data-tooltip]:not(.is-loading).has-tooltip-primary:before, [data-tooltip]:not(.is-disabled).has-tooltip-primary:before, [data-tooltip]:not([disabled]).has-tooltip-primary:before { - background-color: rgba(0, 209, 178, 0.9); - color: #fff; -} - -[data-tooltip]:not(.is-loading).has-tooltip-link.has-tooltip-bottom::after, [data-tooltip]:not(.is-disabled).has-tooltip-link.has-tooltip-bottom::after, [data-tooltip]:not([disabled]).has-tooltip-link.has-tooltip-bottom::after { - border-color: transparent transparent rgba(72, 95, 199, 0.9) transparent; -} - -[data-tooltip]:not(.is-loading).has-tooltip-link.has-tooltip-left::after, [data-tooltip]:not(.is-disabled).has-tooltip-link.has-tooltip-left::after, [data-tooltip]:not([disabled]).has-tooltip-link.has-tooltip-left::after { - border-color: transparent transparent transparent rgba(72, 95, 199, 0.9); -} - -[data-tooltip]:not(.is-loading).has-tooltip-link.has-tooltip-right::after, [data-tooltip]:not(.is-disabled).has-tooltip-link.has-tooltip-right::after, [data-tooltip]:not([disabled]).has-tooltip-link.has-tooltip-right::after { - border-color: transparent rgba(72, 95, 199, 0.9) transparent transparent; -} - -[data-tooltip]:not(.is-loading).has-tooltip-link:not(.has-tooltip-bottom)::after, [data-tooltip]:not(.is-loading).has-tooltip-link:not(.has-tooltip-left)::after, [data-tooltip]:not(.is-loading).has-tooltip-link:not(.has-tooltip-right)::after, [data-tooltip]:not(.is-disabled).has-tooltip-link:not(.has-tooltip-bottom)::after, [data-tooltip]:not(.is-disabled).has-tooltip-link:not(.has-tooltip-left)::after, [data-tooltip]:not(.is-disabled).has-tooltip-link:not(.has-tooltip-right)::after, [data-tooltip]:not([disabled]).has-tooltip-link:not(.has-tooltip-bottom)::after, [data-tooltip]:not([disabled]).has-tooltip-link:not(.has-tooltip-left)::after, [data-tooltip]:not([disabled]).has-tooltip-link:not(.has-tooltip-right)::after { - border-color: rgba(72, 95, 199, 0.9) transparent transparent transparent; -} - -[data-tooltip]:not(.is-loading).has-tooltip-link:before, [data-tooltip]:not(.is-disabled).has-tooltip-link:before, [data-tooltip]:not([disabled]).has-tooltip-link:before { - background-color: rgba(72, 95, 199, 0.9); - color: #fff; -} - -[data-tooltip]:not(.is-loading).has-tooltip-info.has-tooltip-bottom::after, [data-tooltip]:not(.is-disabled).has-tooltip-info.has-tooltip-bottom::after, [data-tooltip]:not([disabled]).has-tooltip-info.has-tooltip-bottom::after { - border-color: transparent transparent rgba(37, 106, 218, 0.9) transparent; -} - -[data-tooltip]:not(.is-loading).has-tooltip-info.has-tooltip-left::after, [data-tooltip]:not(.is-disabled).has-tooltip-info.has-tooltip-left::after, [data-tooltip]:not([disabled]).has-tooltip-info.has-tooltip-left::after { - border-color: transparent transparent transparent rgba(37, 106, 218, 0.9); -} - -[data-tooltip]:not(.is-loading).has-tooltip-info.has-tooltip-right::after, [data-tooltip]:not(.is-disabled).has-tooltip-info.has-tooltip-right::after, [data-tooltip]:not([disabled]).has-tooltip-info.has-tooltip-right::after { - border-color: transparent rgba(37, 106, 218, 0.9) transparent transparent; -} - -[data-tooltip]:not(.is-loading).has-tooltip-info:not(.has-tooltip-bottom)::after, [data-tooltip]:not(.is-loading).has-tooltip-info:not(.has-tooltip-left)::after, [data-tooltip]:not(.is-loading).has-tooltip-info:not(.has-tooltip-right)::after, [data-tooltip]:not(.is-disabled).has-tooltip-info:not(.has-tooltip-bottom)::after, [data-tooltip]:not(.is-disabled).has-tooltip-info:not(.has-tooltip-left)::after, [data-tooltip]:not(.is-disabled).has-tooltip-info:not(.has-tooltip-right)::after, [data-tooltip]:not([disabled]).has-tooltip-info:not(.has-tooltip-bottom)::after, [data-tooltip]:not([disabled]).has-tooltip-info:not(.has-tooltip-left)::after, [data-tooltip]:not([disabled]).has-tooltip-info:not(.has-tooltip-right)::after { - border-color: rgba(37, 106, 218, 0.9) transparent transparent transparent; -} - -[data-tooltip]:not(.is-loading).has-tooltip-info:before, [data-tooltip]:not(.is-disabled).has-tooltip-info:before, [data-tooltip]:not([disabled]).has-tooltip-info:before { - background-color: rgba(37, 106, 218, 0.9); - color: #fff; -} - -[data-tooltip]:not(.is-loading).has-tooltip-success.has-tooltip-bottom::after, [data-tooltip]:not(.is-disabled).has-tooltip-success.has-tooltip-bottom::after, [data-tooltip]:not([disabled]).has-tooltip-success.has-tooltip-bottom::after { - border-color: transparent transparent rgba(48, 156, 86, 0.9) transparent; -} - -[data-tooltip]:not(.is-loading).has-tooltip-success.has-tooltip-left::after, [data-tooltip]:not(.is-disabled).has-tooltip-success.has-tooltip-left::after, [data-tooltip]:not([disabled]).has-tooltip-success.has-tooltip-left::after { - border-color: transparent transparent transparent rgba(48, 156, 86, 0.9); -} - -[data-tooltip]:not(.is-loading).has-tooltip-success.has-tooltip-right::after, [data-tooltip]:not(.is-disabled).has-tooltip-success.has-tooltip-right::after, [data-tooltip]:not([disabled]).has-tooltip-success.has-tooltip-right::after { - border-color: transparent rgba(48, 156, 86, 0.9) transparent transparent; -} - -[data-tooltip]:not(.is-loading).has-tooltip-success:not(.has-tooltip-bottom)::after, [data-tooltip]:not(.is-loading).has-tooltip-success:not(.has-tooltip-left)::after, [data-tooltip]:not(.is-loading).has-tooltip-success:not(.has-tooltip-right)::after, [data-tooltip]:not(.is-disabled).has-tooltip-success:not(.has-tooltip-bottom)::after, [data-tooltip]:not(.is-disabled).has-tooltip-success:not(.has-tooltip-left)::after, [data-tooltip]:not(.is-disabled).has-tooltip-success:not(.has-tooltip-right)::after, [data-tooltip]:not([disabled]).has-tooltip-success:not(.has-tooltip-bottom)::after, [data-tooltip]:not([disabled]).has-tooltip-success:not(.has-tooltip-left)::after, [data-tooltip]:not([disabled]).has-tooltip-success:not(.has-tooltip-right)::after { - border-color: rgba(48, 156, 86, 0.9) transparent transparent transparent; -} - -[data-tooltip]:not(.is-loading).has-tooltip-success:before, [data-tooltip]:not(.is-disabled).has-tooltip-success:before, [data-tooltip]:not([disabled]).has-tooltip-success:before { - background-color: rgba(48, 156, 86, 0.9); - color: #fff; -} - -[data-tooltip]:not(.is-loading).has-tooltip-warning.has-tooltip-bottom::after, [data-tooltip]:not(.is-disabled).has-tooltip-warning.has-tooltip-bottom::after, [data-tooltip]:not([disabled]).has-tooltip-warning.has-tooltip-bottom::after { - border-color: transparent transparent rgba(246, 159, 9, 0.9) transparent; -} - -[data-tooltip]:not(.is-loading).has-tooltip-warning.has-tooltip-left::after, [data-tooltip]:not(.is-disabled).has-tooltip-warning.has-tooltip-left::after, [data-tooltip]:not([disabled]).has-tooltip-warning.has-tooltip-left::after { - border-color: transparent transparent transparent rgba(246, 159, 9, 0.9); -} - -[data-tooltip]:not(.is-loading).has-tooltip-warning.has-tooltip-right::after, [data-tooltip]:not(.is-disabled).has-tooltip-warning.has-tooltip-right::after, [data-tooltip]:not([disabled]).has-tooltip-warning.has-tooltip-right::after { - border-color: transparent rgba(246, 159, 9, 0.9) transparent transparent; -} - -[data-tooltip]:not(.is-loading).has-tooltip-warning:not(.has-tooltip-bottom)::after, [data-tooltip]:not(.is-loading).has-tooltip-warning:not(.has-tooltip-left)::after, [data-tooltip]:not(.is-loading).has-tooltip-warning:not(.has-tooltip-right)::after, [data-tooltip]:not(.is-disabled).has-tooltip-warning:not(.has-tooltip-bottom)::after, [data-tooltip]:not(.is-disabled).has-tooltip-warning:not(.has-tooltip-left)::after, [data-tooltip]:not(.is-disabled).has-tooltip-warning:not(.has-tooltip-right)::after, [data-tooltip]:not([disabled]).has-tooltip-warning:not(.has-tooltip-bottom)::after, [data-tooltip]:not([disabled]).has-tooltip-warning:not(.has-tooltip-left)::after, [data-tooltip]:not([disabled]).has-tooltip-warning:not(.has-tooltip-right)::after { - border-color: rgba(246, 159, 9, 0.9) transparent transparent transparent; -} - -[data-tooltip]:not(.is-loading).has-tooltip-warning:before, [data-tooltip]:not(.is-disabled).has-tooltip-warning:before, [data-tooltip]:not([disabled]).has-tooltip-warning:before { - background-color: rgba(246, 159, 9, 0.9); - color: #fff; -} - -[data-tooltip]:not(.is-loading).has-tooltip-danger.has-tooltip-bottom::after, [data-tooltip]:not(.is-disabled).has-tooltip-danger.has-tooltip-bottom::after, [data-tooltip]:not([disabled]).has-tooltip-danger.has-tooltip-bottom::after { - border-color: transparent transparent rgba(204, 0, 41, 0.9) transparent; -} - -[data-tooltip]:not(.is-loading).has-tooltip-danger.has-tooltip-left::after, [data-tooltip]:not(.is-disabled).has-tooltip-danger.has-tooltip-left::after, [data-tooltip]:not([disabled]).has-tooltip-danger.has-tooltip-left::after { - border-color: transparent transparent transparent rgba(204, 0, 41, 0.9); -} - -[data-tooltip]:not(.is-loading).has-tooltip-danger.has-tooltip-right::after, [data-tooltip]:not(.is-disabled).has-tooltip-danger.has-tooltip-right::after, [data-tooltip]:not([disabled]).has-tooltip-danger.has-tooltip-right::after { - border-color: transparent rgba(204, 0, 41, 0.9) transparent transparent; -} - -[data-tooltip]:not(.is-loading).has-tooltip-danger:not(.has-tooltip-bottom)::after, [data-tooltip]:not(.is-loading).has-tooltip-danger:not(.has-tooltip-left)::after, [data-tooltip]:not(.is-loading).has-tooltip-danger:not(.has-tooltip-right)::after, [data-tooltip]:not(.is-disabled).has-tooltip-danger:not(.has-tooltip-bottom)::after, [data-tooltip]:not(.is-disabled).has-tooltip-danger:not(.has-tooltip-left)::after, [data-tooltip]:not(.is-disabled).has-tooltip-danger:not(.has-tooltip-right)::after, [data-tooltip]:not([disabled]).has-tooltip-danger:not(.has-tooltip-bottom)::after, [data-tooltip]:not([disabled]).has-tooltip-danger:not(.has-tooltip-left)::after, [data-tooltip]:not([disabled]).has-tooltip-danger:not(.has-tooltip-right)::after { - border-color: rgba(204, 0, 41, 0.9) transparent transparent transparent; -} - -[data-tooltip]:not(.is-loading).has-tooltip-danger:before, [data-tooltip]:not(.is-disabled).has-tooltip-danger:before, [data-tooltip]:not([disabled]).has-tooltip-danger:before { - background-color: rgba(204, 0, 41, 0.9); - color: #fff; -} - -[data-tooltip]:not(.is-loading):focus::before, [data-tooltip]:not(.is-loading):focus::after, [data-tooltip]:not(.is-loading):hover::before, [data-tooltip]:not(.is-loading):hover::after, [data-tooltip]:not(.is-loading).has-tooltip-active::before, [data-tooltip]:not(.is-loading).has-tooltip-active::after, [data-tooltip]:not(.is-disabled):focus::before, [data-tooltip]:not(.is-disabled):focus::after, [data-tooltip]:not(.is-disabled):hover::before, [data-tooltip]:not(.is-disabled):hover::after, [data-tooltip]:not(.is-disabled).has-tooltip-active::before, [data-tooltip]:not(.is-disabled).has-tooltip-active::after, [data-tooltip]:not([disabled]):focus::before, [data-tooltip]:not([disabled]):focus::after, [data-tooltip]:not([disabled]):hover::before, [data-tooltip]:not([disabled]):hover::after, [data-tooltip]:not([disabled]).has-tooltip-active::before, [data-tooltip]:not([disabled]).has-tooltip-active::after { - opacity: 1; - visibility: visible; -} - -[data-tooltip]:not(.is-loading).has-tooltip-fade::before, [data-tooltip]:not(.is-loading).has-tooltip-fade::after, [data-tooltip]:not(.is-disabled).has-tooltip-fade::before, [data-tooltip]:not(.is-disabled).has-tooltip-fade::after, [data-tooltip]:not([disabled]).has-tooltip-fade::before, [data-tooltip]:not([disabled]).has-tooltip-fade::after { - transition: opacity 0.3s linear, visibility 0.3s linear; -} - -@media screen and (max-width: 768px) { - .has-tooltip-top-mobile::after { - top: 0; - right: auto; - bottom: auto; - left: 50%; - margin-top: -5px; - margin-right: auto; - margin-bottom: auto; - margin-left: -5px; - border-color: rgba(74, 74, 74, 0.9) transparent transparent transparent; - } - .has-tooltip-top-mobile::before { - top: 0; - right: auto; - bottom: auto; - left: 50%; - top: 0; - margin-top: -5px; - margin-bottom: auto; - transform: translate(-50%, -100%); - } -} -@media screen and (min-width: 769px), print { - .has-tooltip-top-tablet::after { - top: 0; - right: auto; - bottom: auto; - left: 50%; - margin-top: -5px; - margin-right: auto; - margin-bottom: auto; - margin-left: -5px; - border-color: rgba(74, 74, 74, 0.9) transparent transparent transparent; - } - .has-tooltip-top-tablet::before { - top: 0; - right: auto; - bottom: auto; - left: 50%; - top: 0; - margin-top: -5px; - margin-bottom: auto; - transform: translate(-50%, -100%); - } -} -@media screen and (min-width: 769px) and (max-width: 1023px) { - .has-tooltip-top-tablet-only::after { - top: 0; - right: auto; - bottom: auto; - left: 50%; - margin-top: -5px; - margin-right: auto; - margin-bottom: auto; - margin-left: -5px; - border-color: rgba(74, 74, 74, 0.9) transparent transparent transparent; - } - .has-tooltip-top-tablet-only::before { - top: 0; - right: auto; - bottom: auto; - left: 50%; - top: 0; - margin-top: -5px; - margin-bottom: auto; - transform: translate(-50%, -100%); - } -} -@media screen and (max-width: 1023px) { - .has-tooltip-top-touch::after { - top: 0; - right: auto; - bottom: auto; - left: 50%; - margin-top: -5px; - margin-right: auto; - margin-bottom: auto; - margin-left: -5px; - border-color: rgba(74, 74, 74, 0.9) transparent transparent transparent; - } - .has-tooltip-top-touch::before { - top: 0; - right: auto; - bottom: auto; - left: 50%; - top: 0; - margin-top: -5px; - margin-bottom: auto; - transform: translate(-50%, -100%); - } -} -@media screen and (min-width: 1024px) { - .has-tooltip-top-desktop::after { - top: 0; - right: auto; - bottom: auto; - left: 50%; - margin-top: -5px; - margin-right: auto; - margin-bottom: auto; - margin-left: -5px; - border-color: rgba(74, 74, 74, 0.9) transparent transparent transparent; - } - .has-tooltip-top-desktop::before { - top: 0; - right: auto; - bottom: auto; - left: 50%; - top: 0; - margin-top: -5px; - margin-bottom: auto; - transform: translate(-50%, -100%); - } -} -@media screen and (min-width: 1024px) and (max-width: 1215px) { - .has-tooltip-top-desktop-only::after { - top: 0; - right: auto; - bottom: auto; - left: 50%; - margin-top: -5px; - margin-right: auto; - margin-bottom: auto; - margin-left: -5px; - border-color: rgba(74, 74, 74, 0.9) transparent transparent transparent; - } - .has-tooltip-top-desktop-only::before { - top: 0; - right: auto; - bottom: auto; - left: 50%; - top: 0; - margin-top: -5px; - margin-bottom: auto; - transform: translate(-50%, -100%); - } -} -@media screen and (max-width: 1215px) { - .has-tooltip-top-until-widescreen::after { - top: 0; - right: auto; - bottom: auto; - left: 50%; - margin-top: -5px; - margin-right: auto; - margin-bottom: auto; - margin-left: -5px; - border-color: rgba(74, 74, 74, 0.9) transparent transparent transparent; - } - .has-tooltip-top-until-widescreen::before { - top: 0; - right: auto; - bottom: auto; - left: 50%; - top: 0; - margin-top: -5px; - margin-bottom: auto; - transform: translate(-50%, -100%); - } -} -@media screen and (min-width: 1216px) { - .has-tooltip-top-widescreen::after { - top: 0; - right: auto; - bottom: auto; - left: 50%; - margin-top: -5px; - margin-right: auto; - margin-bottom: auto; - margin-left: -5px; - border-color: rgba(74, 74, 74, 0.9) transparent transparent transparent; - } - .has-tooltip-top-widescreen::before { - top: 0; - right: auto; - bottom: auto; - left: 50%; - top: 0; - margin-top: -5px; - margin-bottom: auto; - transform: translate(-50%, -100%); - } -} -@media screen and (min-width: 1216px) and (max-width: 1407px) { - .has-tooltip-top-widescreen-only::after { - top: 0; - right: auto; - bottom: auto; - left: 50%; - margin-top: -5px; - margin-right: auto; - margin-bottom: auto; - margin-left: -5px; - border-color: rgba(74, 74, 74, 0.9) transparent transparent transparent; - } - .has-tooltip-top-widescreen-only::before { - top: 0; - right: auto; - bottom: auto; - left: 50%; - top: 0; - margin-top: -5px; - margin-bottom: auto; - transform: translate(-50%, -100%); - } -} -@media screen and (max-width: 1407px) { - .has-tooltip-top-until-fullhd::after { - top: 0; - right: auto; - bottom: auto; - left: 50%; - margin-top: -5px; - margin-right: auto; - margin-bottom: auto; - margin-left: -5px; - border-color: rgba(74, 74, 74, 0.9) transparent transparent transparent; - } - .has-tooltip-top-until-fullhd::before { - top: 0; - right: auto; - bottom: auto; - left: 50%; - top: 0; - margin-top: -5px; - margin-bottom: auto; - transform: translate(-50%, -100%); - } -} -@media screen and (min-width: 1408px) { - .has-tooltip-top-fullhd::after { - top: 0; - right: auto; - bottom: auto; - left: 50%; - margin-top: -5px; - margin-right: auto; - margin-bottom: auto; - margin-left: -5px; - border-color: rgba(74, 74, 74, 0.9) transparent transparent transparent; - } - .has-tooltip-top-fullhd::before { - top: 0; - right: auto; - bottom: auto; - left: 50%; - top: 0; - margin-top: -5px; - margin-bottom: auto; - transform: translate(-50%, -100%); - } -} -@media screen and (max-width: 768px) { - .has-tooltip-right-mobile::after { - top: auto; - right: 0; - bottom: 50%; - left: auto; - margin-top: auto; - margin-right: -11px; - margin-bottom: -6px; - margin-left: auto; - border-color: transparent rgba(74, 74, 74, 0.9) transparent transparent; - } - .has-tooltip-right-mobile::before { - top: auto; - right: -11px; - bottom: 50%; - left: auto; - margin-top: auto; - transform: translate(100%, 50%); - } -} -@media screen and (min-width: 769px), print { - .has-tooltip-right-tablet::after { - top: auto; - right: 0; - bottom: 50%; - left: auto; - margin-top: auto; - margin-right: -11px; - margin-bottom: -6px; - margin-left: auto; - border-color: transparent rgba(74, 74, 74, 0.9) transparent transparent; - } - .has-tooltip-right-tablet::before { - top: auto; - right: -11px; - bottom: 50%; - left: auto; - margin-top: auto; - transform: translate(100%, 50%); - } -} -@media screen and (min-width: 769px) and (max-width: 1023px) { - .has-tooltip-right-tablet-only::after { - top: auto; - right: 0; - bottom: 50%; - left: auto; - margin-top: auto; - margin-right: -11px; - margin-bottom: -6px; - margin-left: auto; - border-color: transparent rgba(74, 74, 74, 0.9) transparent transparent; - } - .has-tooltip-right-tablet-only::before { - top: auto; - right: -11px; - bottom: 50%; - left: auto; - margin-top: auto; - transform: translate(100%, 50%); - } -} -@media screen and (max-width: 1023px) { - .has-tooltip-right-touch::after { - top: auto; - right: 0; - bottom: 50%; - left: auto; - margin-top: auto; - margin-right: -11px; - margin-bottom: -6px; - margin-left: auto; - border-color: transparent rgba(74, 74, 74, 0.9) transparent transparent; - } - .has-tooltip-right-touch::before { - top: auto; - right: -11px; - bottom: 50%; - left: auto; - margin-top: auto; - transform: translate(100%, 50%); - } -} -@media screen and (min-width: 1024px) { - .has-tooltip-right-desktop::after { - top: auto; - right: 0; - bottom: 50%; - left: auto; - margin-top: auto; - margin-right: -11px; - margin-bottom: -6px; - margin-left: auto; - border-color: transparent rgba(74, 74, 74, 0.9) transparent transparent; - } - .has-tooltip-right-desktop::before { - top: auto; - right: -11px; - bottom: 50%; - left: auto; - margin-top: auto; - transform: translate(100%, 50%); - } -} -@media screen and (min-width: 1024px) and (max-width: 1215px) { - .has-tooltip-right-desktop-only::after { - top: auto; - right: 0; - bottom: 50%; - left: auto; - margin-top: auto; - margin-right: -11px; - margin-bottom: -6px; - margin-left: auto; - border-color: transparent rgba(74, 74, 74, 0.9) transparent transparent; - } - .has-tooltip-right-desktop-only::before { - top: auto; - right: -11px; - bottom: 50%; - left: auto; - margin-top: auto; - transform: translate(100%, 50%); - } -} -@media screen and (max-width: 1215px) { - .has-tooltip-right-until-widescreen::after { - top: auto; - right: 0; - bottom: 50%; - left: auto; - margin-top: auto; - margin-right: -11px; - margin-bottom: -6px; - margin-left: auto; - border-color: transparent rgba(74, 74, 74, 0.9) transparent transparent; - } - .has-tooltip-right-until-widescreen::before { - top: auto; - right: -11px; - bottom: 50%; - left: auto; - margin-top: auto; - transform: translate(100%, 50%); - } -} -@media screen and (min-width: 1216px) { - .has-tooltip-right-widescreen::after { - top: auto; - right: 0; - bottom: 50%; - left: auto; - margin-top: auto; - margin-right: -11px; - margin-bottom: -6px; - margin-left: auto; - border-color: transparent rgba(74, 74, 74, 0.9) transparent transparent; - } - .has-tooltip-right-widescreen::before { - top: auto; - right: -11px; - bottom: 50%; - left: auto; - margin-top: auto; - transform: translate(100%, 50%); - } -} -@media screen and (min-width: 1216px) and (max-width: 1407px) { - .has-tooltip-right-widescreen-only::after { - top: auto; - right: 0; - bottom: 50%; - left: auto; - margin-top: auto; - margin-right: -11px; - margin-bottom: -6px; - margin-left: auto; - border-color: transparent rgba(74, 74, 74, 0.9) transparent transparent; - } - .has-tooltip-right-widescreen-only::before { - top: auto; - right: -11px; - bottom: 50%; - left: auto; - margin-top: auto; - transform: translate(100%, 50%); - } -} -@media screen and (max-width: 1407px) { - .has-tooltip-right-until-fullhd::after { - top: auto; - right: 0; - bottom: 50%; - left: auto; - margin-top: auto; - margin-right: -11px; - margin-bottom: -6px; - margin-left: auto; - border-color: transparent rgba(74, 74, 74, 0.9) transparent transparent; - } - .has-tooltip-right-until-fullhd::before { - top: auto; - right: -11px; - bottom: 50%; - left: auto; - margin-top: auto; - transform: translate(100%, 50%); - } -} -@media screen and (min-width: 1408px) { - .has-tooltip-right-fullhd::after { - top: auto; - right: 0; - bottom: 50%; - left: auto; - margin-top: auto; - margin-right: -11px; - margin-bottom: -6px; - margin-left: auto; - border-color: transparent rgba(74, 74, 74, 0.9) transparent transparent; - } - .has-tooltip-right-fullhd::before { - top: auto; - right: -11px; - bottom: 50%; - left: auto; - margin-top: auto; - transform: translate(100%, 50%); - } -} -@media screen and (max-width: 768px) { - .has-tooltip-bottom-mobile::after { - top: auto; - right: auto; - bottom: 0; - left: 50%; - margin-top: auto; - margin-right: auto; - margin-bottom: -5px; - margin-left: -5px; - border-color: transparent transparent rgba(74, 74, 74, 0.9) transparent; - } - .has-tooltip-bottom-mobile::before { - top: auto; - right: auto; - bottom: 0; - left: 50%; - margin-top: auto; - margin-bottom: -5px; - transform: translate(-50%, 100%); - } -} -@media screen and (min-width: 769px), print { - .has-tooltip-bottom-tablet::after { - top: auto; - right: auto; - bottom: 0; - left: 50%; - margin-top: auto; - margin-right: auto; - margin-bottom: -5px; - margin-left: -5px; - border-color: transparent transparent rgba(74, 74, 74, 0.9) transparent; - } - .has-tooltip-bottom-tablet::before { - top: auto; - right: auto; - bottom: 0; - left: 50%; - margin-top: auto; - margin-bottom: -5px; - transform: translate(-50%, 100%); - } -} -@media screen and (min-width: 769px) and (max-width: 1023px) { - .has-tooltip-bottom-tablet-only::after { - top: auto; - right: auto; - bottom: 0; - left: 50%; - margin-top: auto; - margin-right: auto; - margin-bottom: -5px; - margin-left: -5px; - border-color: transparent transparent rgba(74, 74, 74, 0.9) transparent; - } - .has-tooltip-bottom-tablet-only::before { - top: auto; - right: auto; - bottom: 0; - left: 50%; - margin-top: auto; - margin-bottom: -5px; - transform: translate(-50%, 100%); - } -} -@media screen and (max-width: 1023px) { - .has-tooltip-bottom-touch::after { - top: auto; - right: auto; - bottom: 0; - left: 50%; - margin-top: auto; - margin-right: auto; - margin-bottom: -5px; - margin-left: -5px; - border-color: transparent transparent rgba(74, 74, 74, 0.9) transparent; - } - .has-tooltip-bottom-touch::before { - top: auto; - right: auto; - bottom: 0; - left: 50%; - margin-top: auto; - margin-bottom: -5px; - transform: translate(-50%, 100%); - } -} -@media screen and (min-width: 1024px) { - .has-tooltip-bottom-desktop::after { - top: auto; - right: auto; - bottom: 0; - left: 50%; - margin-top: auto; - margin-right: auto; - margin-bottom: -5px; - margin-left: -5px; - border-color: transparent transparent rgba(74, 74, 74, 0.9) transparent; - } - .has-tooltip-bottom-desktop::before { - top: auto; - right: auto; - bottom: 0; - left: 50%; - margin-top: auto; - margin-bottom: -5px; - transform: translate(-50%, 100%); - } -} -@media screen and (min-width: 1024px) and (max-width: 1215px) { - .has-tooltip-bottom-desktop-only::after { - top: auto; - right: auto; - bottom: 0; - left: 50%; - margin-top: auto; - margin-right: auto; - margin-bottom: -5px; - margin-left: -5px; - border-color: transparent transparent rgba(74, 74, 74, 0.9) transparent; - } - .has-tooltip-bottom-desktop-only::before { - top: auto; - right: auto; - bottom: 0; - left: 50%; - margin-top: auto; - margin-bottom: -5px; - transform: translate(-50%, 100%); - } -} -@media screen and (max-width: 1215px) { - .has-tooltip-bottom-until-widescreen::after { - top: auto; - right: auto; - bottom: 0; - left: 50%; - margin-top: auto; - margin-right: auto; - margin-bottom: -5px; - margin-left: -5px; - border-color: transparent transparent rgba(74, 74, 74, 0.9) transparent; - } - .has-tooltip-bottom-until-widescreen::before { - top: auto; - right: auto; - bottom: 0; - left: 50%; - margin-top: auto; - margin-bottom: -5px; - transform: translate(-50%, 100%); - } -} -@media screen and (min-width: 1216px) { - .has-tooltip-bottom-widescreen::after { - top: auto; - right: auto; - bottom: 0; - left: 50%; - margin-top: auto; - margin-right: auto; - margin-bottom: -5px; - margin-left: -5px; - border-color: transparent transparent rgba(74, 74, 74, 0.9) transparent; - } - .has-tooltip-bottom-widescreen::before { - top: auto; - right: auto; - bottom: 0; - left: 50%; - margin-top: auto; - margin-bottom: -5px; - transform: translate(-50%, 100%); - } -} -@media screen and (min-width: 1216px) and (max-width: 1407px) { - .has-tooltip-bottom-widescreen-only::after { - top: auto; - right: auto; - bottom: 0; - left: 50%; - margin-top: auto; - margin-right: auto; - margin-bottom: -5px; - margin-left: -5px; - border-color: transparent transparent rgba(74, 74, 74, 0.9) transparent; - } - .has-tooltip-bottom-widescreen-only::before { - top: auto; - right: auto; - bottom: 0; - left: 50%; - margin-top: auto; - margin-bottom: -5px; - transform: translate(-50%, 100%); - } -} -@media screen and (max-width: 1407px) { - .has-tooltip-bottom-until-fullhd::after { - top: auto; - right: auto; - bottom: 0; - left: 50%; - margin-top: auto; - margin-right: auto; - margin-bottom: -5px; - margin-left: -5px; - border-color: transparent transparent rgba(74, 74, 74, 0.9) transparent; - } - .has-tooltip-bottom-until-fullhd::before { - top: auto; - right: auto; - bottom: 0; - left: 50%; - margin-top: auto; - margin-bottom: -5px; - transform: translate(-50%, 100%); - } -} -@media screen and (min-width: 1408px) { - .has-tooltip-bottom-fullhd::after { - top: auto; - right: auto; - bottom: 0; - left: 50%; - margin-top: auto; - margin-right: auto; - margin-bottom: -5px; - margin-left: -5px; - border-color: transparent transparent rgba(74, 74, 74, 0.9) transparent; - } - .has-tooltip-bottom-fullhd::before { - top: auto; - right: auto; - bottom: 0; - left: 50%; - margin-top: auto; - margin-bottom: -5px; - transform: translate(-50%, 100%); - } -} -@media screen and (max-width: 768px) { - .has-tooltip-left-mobile::after { - top: auto; - right: auto; - bottom: 50%; - left: 0; - margin-top: auto; - margin-right: auto; - margin-bottom: -6px; - margin-left: -11px; - border-color: transparent transparent transparent rgba(74, 74, 74, 0.9); - } - .has-tooltip-left-mobile::before { - top: auto; - right: auto; - bottom: 50%; - left: -11px; - transform: translate(-100%, 50%); - } -} -@media screen and (min-width: 769px), print { - .has-tooltip-left-tablet::after { - top: auto; - right: auto; - bottom: 50%; - left: 0; - margin-top: auto; - margin-right: auto; - margin-bottom: -6px; - margin-left: -11px; - border-color: transparent transparent transparent rgba(74, 74, 74, 0.9); - } - .has-tooltip-left-tablet::before { - top: auto; - right: auto; - bottom: 50%; - left: -11px; - transform: translate(-100%, 50%); - } -} -@media screen and (min-width: 769px) and (max-width: 1023px) { - .has-tooltip-left-tablet-only::after { - top: auto; - right: auto; - bottom: 50%; - left: 0; - margin-top: auto; - margin-right: auto; - margin-bottom: -6px; - margin-left: -11px; - border-color: transparent transparent transparent rgba(74, 74, 74, 0.9); - } - .has-tooltip-left-tablet-only::before { - top: auto; - right: auto; - bottom: 50%; - left: -11px; - transform: translate(-100%, 50%); - } -} -@media screen and (max-width: 1023px) { - .has-tooltip-left-touch::after { - top: auto; - right: auto; - bottom: 50%; - left: 0; - margin-top: auto; - margin-right: auto; - margin-bottom: -6px; - margin-left: -11px; - border-color: transparent transparent transparent rgba(74, 74, 74, 0.9); - } - .has-tooltip-left-touch::before { - top: auto; - right: auto; - bottom: 50%; - left: -11px; - transform: translate(-100%, 50%); - } -} -@media screen and (min-width: 1024px) { - .has-tooltip-left-desktop::after { - top: auto; - right: auto; - bottom: 50%; - left: 0; - margin-top: auto; - margin-right: auto; - margin-bottom: -6px; - margin-left: -11px; - border-color: transparent transparent transparent rgba(74, 74, 74, 0.9); - } - .has-tooltip-left-desktop::before { - top: auto; - right: auto; - bottom: 50%; - left: -11px; - transform: translate(-100%, 50%); - } -} -@media screen and (min-width: 1024px) and (max-width: 1215px) { - .has-tooltip-left-desktop-only::after { - top: auto; - right: auto; - bottom: 50%; - left: 0; - margin-top: auto; - margin-right: auto; - margin-bottom: -6px; - margin-left: -11px; - border-color: transparent transparent transparent rgba(74, 74, 74, 0.9); - } - .has-tooltip-left-desktop-only::before { - top: auto; - right: auto; - bottom: 50%; - left: -11px; - transform: translate(-100%, 50%); - } -} -@media screen and (max-width: 1215px) { - .has-tooltip-left-until-widescreen::after { - top: auto; - right: auto; - bottom: 50%; - left: 0; - margin-top: auto; - margin-right: auto; - margin-bottom: -6px; - margin-left: -11px; - border-color: transparent transparent transparent rgba(74, 74, 74, 0.9); - } - .has-tooltip-left-until-widescreen::before { - top: auto; - right: auto; - bottom: 50%; - left: -11px; - transform: translate(-100%, 50%); - } -} -@media screen and (min-width: 1216px) { - .has-tooltip-left-widescreen::after { - top: auto; - right: auto; - bottom: 50%; - left: 0; - margin-top: auto; - margin-right: auto; - margin-bottom: -6px; - margin-left: -11px; - border-color: transparent transparent transparent rgba(74, 74, 74, 0.9); - } - .has-tooltip-left-widescreen::before { - top: auto; - right: auto; - bottom: 50%; - left: -11px; - transform: translate(-100%, 50%); - } -} -@media screen and (min-width: 1216px) and (max-width: 1407px) { - .has-tooltip-left-widescreen-only::after { - top: auto; - right: auto; - bottom: 50%; - left: 0; - margin-top: auto; - margin-right: auto; - margin-bottom: -6px; - margin-left: -11px; - border-color: transparent transparent transparent rgba(74, 74, 74, 0.9); - } - .has-tooltip-left-widescreen-only::before { - top: auto; - right: auto; - bottom: 50%; - left: -11px; - transform: translate(-100%, 50%); - } -} -@media screen and (max-width: 1407px) { - .has-tooltip-left-until-fullhd::after { - top: auto; - right: auto; - bottom: 50%; - left: 0; - margin-top: auto; - margin-right: auto; - margin-bottom: -6px; - margin-left: -11px; - border-color: transparent transparent transparent rgba(74, 74, 74, 0.9); - } - .has-tooltip-left-until-fullhd::before { - top: auto; - right: auto; - bottom: 50%; - left: -11px; - transform: translate(-100%, 50%); - } -} -@media screen and (min-width: 1408px) { - .has-tooltip-left-fullhd::after { - top: auto; - right: auto; - bottom: 50%; - left: 0; - margin-top: auto; - margin-right: auto; - margin-bottom: -6px; - margin-left: -11px; - border-color: transparent transparent transparent rgba(74, 74, 74, 0.9); - } - .has-tooltip-left-fullhd::before { - top: auto; - right: auto; - bottom: 50%; - left: -11px; - transform: translate(-100%, 50%); - } -} -:root { - --primary-hue: 149; - --primary-saturation: 100%; - --primary-light: 30%; - --secondary-hue: 196; - --secondary-saturation: 50%; - --secondary-light: 20%; -} - -.text-primary-10 { - color: hsl(var(--primary-hue), var(--primary-saturation), 10%); -} - -.text-primary-20 { - color: hsl(var(--primary-hue), var(--primary-saturation), 20%); -} - -.text-primary-30 { - color: hsl(var(--primary-hue), var(--primary-saturation), 30%); -} - -.text-primary-40 { - color: hsl(var(--primary-hue), var(--primary-saturation), 40%); -} - -.text-primary-50 { - color: hsl(var(--primary-hue), var(--primary-saturation), 50%); -} - -.text-primary-60 { - color: hsl(var(--primary-hue), var(--primary-saturation), 60%); -} - -.text-primary-70 { - color: hsl(var(--primary-hue), var(--primary-saturation), 70%); -} - -.text-primary-80 { - color: hsl(var(--primary-hue), var(--primary-saturation), 80%); -} - -.text-primary-90 { - color: hsl(var(--primary-hue), var(--primary-saturation), 90%); -} - -.bg-primary-10 { - background-color: hsl(var(--primary-hue), var(--primary-saturation), 10%); -} - -.bg-primary-20 { - background-color: hsl(var(--primary-hue), var(--primary-saturation), 20%); -} - -.bg-primary-30 { - background-color: hsl(var(--primary-hue), var(--primary-saturation), 30%); -} - -.bg-primary-40 { - background-color: hsl(var(--primary-hue), var(--primary-saturation), 40%); -} - -.bg-primary-50 { - background-color: hsl(var(--primary-hue), var(--primary-saturation), 50%); -} - -.bg-primary-60 { - background-color: hsl(var(--primary-hue), var(--primary-saturation), 60%); -} - -.bg-primary-70 { - background-color: hsl(var(--primary-hue), var(--primary-saturation), 70%); -} - -.bg-primary-80 { - background-color: hsl(var(--primary-hue), var(--primary-saturation), 80%); -} - -.bg-primary-90 { - background-color: hsl(var(--primary-hue), var(--primary-saturation), 90%); -} - -.text-primary-5 { - color: hsl(var(--primary-hue), var(--primary-saturation), 5%); -} - -.bg-primary-5 { - background-color: hsl(var(--primary-hue), var(--primary-saturation), 5%); -} - -.text-primary-93 { - color: hsl(var(--primary-hue), var(--primary-saturation), 93%); -} - -.text-primary-95 { - color: hsl(var(--primary-hue), var(--primary-saturation), 95%); -} - -.text-primary-97 { - color: hsl(var(--primary-hue), var(--primary-saturation), 97%); -} - -.bg-primary-93 { - background-color: hsl(var(--primary-hue), var(--primary-saturation), 93%); -} - -.bg-primary-95 { - background-color: hsl(var(--primary-hue), var(--primary-saturation), 95%); -} - -.bg-primary-97 { - background-color: hsl(var(--primary-hue), var(--primary-saturation), 97%); -} - -.text-secondary-10 { - color: hsl(var(--secondary-hue), var(--secondary-saturation), 10%); -} - -.text-secondary-20 { - color: hsl(var(--secondary-hue), var(--secondary-saturation), 20%); -} - -.text-secondary-30 { - color: hsl(var(--secondary-hue), var(--secondary-saturation), 30%); -} - -.text-secondary-40 { - color: hsl(var(--secondary-hue), var(--secondary-saturation), 40%); -} - -.text-secondary-50 { - color: hsl(var(--secondary-hue), var(--secondary-saturation), 50%); -} - -.text-secondary-60 { - color: hsl(var(--secondary-hue), var(--secondary-saturation), 60%); -} - -.text-secondary-70 { - color: hsl(var(--secondary-hue), var(--secondary-saturation), 70%); -} - -.text-secondary-80 { - color: hsl(var(--secondary-hue), var(--secondary-saturation), 80%); -} - -.text-secondary-90 { - color: hsl(var(--secondary-hue), var(--secondary-saturation), 90%); -} - -.bg-secondary-10 { - background-color: hsl(var(--secondary-hue), var(--secondary-saturation), 10%); -} - -.bg-secondary-20 { - background-color: hsl(var(--secondary-hue), var(--secondary-saturation), 20%); -} - -.bg-secondary-30 { - background-color: hsl(var(--secondary-hue), var(--secondary-saturation), 30%); -} - -.bg-secondary-40 { - background-color: hsl(var(--secondary-hue), var(--secondary-saturation), 40%); -} - -.bg-secondary-50 { - background-color: hsl(var(--secondary-hue), var(--secondary-saturation), 50%); -} - -.bg-secondary-60 { - background-color: hsl(var(--secondary-hue), var(--secondary-saturation), 60%); -} - -.bg-secondary-70 { - background-color: hsl(var(--secondary-hue), var(--secondary-saturation), 70%); -} - -.bg-secondary-80 { - background-color: hsl(var(--secondary-hue), var(--secondary-saturation), 80%); -} - -.bg-secondary-90 { - background-color: hsl(var(--secondary-hue), var(--secondary-saturation), 90%); -} - -.text-secondary-5 { - color: hsl(var(--secondary-hue), var(--secondary-saturation), 5%); -} - -.bg-secondary-5 { - background-color: hsl(var(--secondary-hue), var(--secondary-saturation), 5%); -} - -.text-secondary-93 { - color: hsl(var(--secondary-hue), var(--secondary-saturation), 93%); -} - -.text-secondary-95 { - color: hsl(var(--secondary-hue), var(--secondary-saturation), 95%); -} - -.text-secondary-97 { - color: hsl(var(--secondary-hue), var(--secondary-saturation), 97%); -} - -.bg-secondary-93 { - background-color: hsl(var(--secondary-hue), var(--secondary-saturation), 93%); -} - -.bg-secondary-95 { - background-color: hsl(var(--secondary-hue), var(--secondary-saturation), 95%); -} - -.bg-secondary-97 { - background-color: hsl(var(--secondary-hue), var(--secondary-saturation), 97%); -} - -.text-secondary-10 { - color: hsl(0, 0%, 10%); -} - -.text-secondary-20 { - color: hsl(0, 0%, 20%); -} - -.text-secondary-30 { - color: hsl(0, 0%, 30%); -} - -.text-secondary-40 { - color: hsl(0, 0%, 40%); -} - -.text-secondary-50 { - color: hsl(0, 0%, 50%); -} - -.text-secondary-60 { - color: hsl(0, 0%, 60%); -} - -.text-secondary-70 { - color: hsl(0, 0%, 70%); -} - -.text-secondary-80 { - color: hsl(0, 0%, 80%); -} - -.text-secondary-90 { - color: hsl(0, 0%, 90%); -} - -.bg-gray-10 { - background-color: hsl(0, 0%, 10%); -} - -.bg-gray-20 { - background-color: hsl(0, 0%, 20%); -} - -.bg-gray-30 { - background-color: hsl(0, 0%, 30%); -} - -.bg-gray-40 { - background-color: hsl(0, 0%, 40%); -} - -.bg-gray-50 { - background-color: hsl(0, 0%, 50%); -} - -.bg-gray-60 { - background-color: hsl(0, 0%, 60%); -} - -.bg-gray-70 { - background-color: hsl(0, 0%, 70%); -} - -.bg-gray-80 { - background-color: hsl(0, 0%, 80%); -} - -.bg-gray-90 { - background-color: hsl(0, 0%, 90%); -} - -.text-gray-5 { - color: hsl(0, 0%, 5%); -} - -.bg-gray-5 { - background-color: hsl(0, 0%, 5%); -} - -.text-gray-93 { - color: hsl(0, 0%, 93%); -} - -.text-gray-95 { - color: hsl(0, 0%, 95%); -} - -.text-gray-97 { - color: hsl(0, 0%, 97%); -} - -.bg-gray-93 { - background-color: hsl(0, 0%, 93%); -} - -.bg-gray-95 { - background-color: hsl(0, 0%, 95%); -} - -.bg-gray-97 { - background-color: hsl(0, 0%, 97%); -} - -.text-green-10 { - color: hsl(141, 53%, 10%); -} - -.text-green-20 { - color: hsl(141, 53%, 20%); -} - -.text-green-30 { - color: hsl(141, 53%, 30%); -} - -.text-green-40 { - color: hsl(141, 53%, 40%); -} - -.text-green-50 { - color: hsl(141, 53%, 50%); -} - -.text-green-60 { - color: hsl(141, 53%, 60%); -} - -.text-green-70 { - color: hsl(141, 53%, 70%); -} - -.text-green-80 { - color: hsl(141, 53%, 80%); -} - -.text-green-90 { - color: hsl(141, 53%, 90%); -} - -.bg-green-10 { - background-color: hsl(141, 53%, 10%); -} - -.bg-green-20 { - background-color: hsl(141, 53%, 20%); -} - -.bg-green-30 { - background-color: hsl(141, 53%, 30%); -} - -.bg-green-40 { - background-color: hsl(141, 53%, 40%); -} - -.bg-green-50 { - background-color: hsl(141, 53%, 50%); -} - -.bg-green-60 { - background-color: hsl(141, 53%, 60%); -} - -.bg-green-70 { - background-color: hsl(141, 53%, 70%); -} - -.bg-green-80 { - background-color: hsl(141, 53%, 80%); -} - -.bg-green-90 { - background-color: hsl(141, 53%, 90%); -} - -.text-green-5 { - color: hsl(141, 53%, 5%); -} - -.bg-green-5 { - background-color: hsl(141, 53%, 5%); -} - -.text-green-93 { - color: hsl(141, 53%, 93%); -} - -.text-green-95 { - color: hsl(141, 53%, 95%); -} - -.text-green-97 { - color: hsl(141, 53%, 97%); -} - -.bg-green-93 { - background-color: hsl(141, 53%, 93%); -} - -.bg-green-95 { - background-color: hsl(141, 53%, 95%); -} - -.bg-green-97 { - background-color: hsl(141, 53%, 97%); -} - -.text-yellow-10 { - color: hsl(38, 93%, 10%); -} - -.text-yellow-20 { - color: hsl(38, 93%, 20%); -} - -.text-yellow-30 { - color: hsl(38, 93%, 30%); -} - -.text-yellow-40 { - color: hsl(38, 93%, 40%); -} - -.text-yellow-50 { - color: hsl(38, 93%, 50%); -} - -.text-yellow-60 { - color: hsl(38, 93%, 60%); -} - -.text-yellow-70 { - color: hsl(38, 93%, 70%); -} - -.text-yellow-80 { - color: hsl(38, 93%, 80%); -} - -.text-yellow-90 { - color: hsl(38, 93%, 90%); -} - -.bg-yellow-10 { - background-color: hsl(38, 93%, 10%); -} - -.bg-yellow-20 { - background-color: hsl(38, 93%, 20%); -} - -.bg-yellow-30 { - background-color: hsl(38, 93%, 30%); -} - -.bg-yellow-40 { - background-color: hsl(38, 93%, 40%); -} - -.bg-yellow-50 { - background-color: hsl(38, 93%, 50%); -} - -.bg-yellow-60 { - background-color: hsl(38, 93%, 60%); -} - -.bg-yellow-70 { - background-color: hsl(38, 93%, 70%); -} - -.bg-yellow-80 { - background-color: hsl(38, 93%, 80%); -} - -.bg-yellow-90 { - background-color: hsl(38, 93%, 90%); -} - -.text-yellow-5 { - color: hsl(38, 93%, 5%); -} - -.bg-yellow-5 { - background-color: hsl(38, 93%, 5%); -} - -.text-yellow-93 { - color: hsl(38, 93%, 93%); -} - -.text-yellow-95 { - color: hsl(38, 93%, 95%); -} - -.text-yellow-97 { - color: hsl(38, 93%, 97%); -} - -.bg-yellow-93 { - background-color: hsl(38, 93%, 93%); -} - -.bg-yellow-95 { - background-color: hsl(38, 93%, 95%); -} - -.bg-yellow-97 { - background-color: hsl(38, 93%, 97%); -} - -.text-purple-10 { - color: hsl(286, 66%, 10%); -} - -.text-purple-20 { - color: hsl(286, 66%, 20%); -} - -.text-purple-30 { - color: hsl(286, 66%, 30%); -} - -.text-purple-40 { - color: hsl(286, 66%, 40%); -} - -.text-purple-50 { - color: hsl(286, 66%, 50%); -} - -.text-purple-60 { - color: hsl(286, 66%, 60%); -} - -.text-purple-70 { - color: hsl(286, 66%, 70%); -} - -.text-purple-80 { - color: hsl(286, 66%, 80%); -} - -.text-purple-90 { - color: hsl(286, 66%, 90%); -} - -.bg-purple-10 { - background-color: hsl(286, 66%, 10%); -} - -.bg-purple-20 { - background-color: hsl(286, 66%, 20%); -} - -.bg-purple-30 { - background-color: hsl(286, 66%, 30%); -} - -.bg-purple-40 { - background-color: hsl(286, 66%, 40%); -} - -.bg-purple-50 { - background-color: hsl(286, 66%, 50%); -} - -.bg-purple-60 { - background-color: hsl(286, 66%, 60%); -} - -.bg-purple-70 { - background-color: hsl(286, 66%, 70%); -} - -.bg-purple-80 { - background-color: hsl(286, 66%, 80%); -} - -.bg-purple-90 { - background-color: hsl(286, 66%, 90%); -} - -.text-purple-5 { - color: hsl(286, 66%, 5%); -} - -.bg-purple-5 { - background-color: hsl(286, 66%, 5%); -} - -.text-purple-93 { - color: hsl(286, 66%, 93%); -} - -.text-purple-95 { - color: hsl(286, 66%, 95%); -} - -.text-purple-97 { - color: hsl(286, 66%, 97%); -} - -.bg-purple-93 { - background-color: hsl(286, 66%, 93%); -} - -.bg-purple-95 { - background-color: hsl(286, 66%, 95%); -} - -.bg-purple-97 { - background-color: hsl(286, 66%, 97%); -} - -html, -body { - background-color: hsl(0, 0%, 100%); - font-family: "Roboto", sans-serif; - font-weight: 400; - font-size: 13px; - color: #334155; -} - -p { - font-size: 1rem; - font-family: "Roboto", sans-serif; - font-weight: 400; - line-height: 1.5; -} - -h1, -h2, -h3, -h4, -h5, -h6 { - font-family: "Roboto", sans-serif; - font-weight: 600; - color: #020617; -} - -h1 { - font-size: 2.462rem; -} - -h2 { - font-size: 2rem; -} - -h3 { - font-size: 1.692rem; -} - -h4 { - font-size: 1.385rem; -} - -h5 { - font-size: 1.231rem; - font-weight: 600; - letter-spacing: normal; -} - -h6 { - font-size: 1rem; - letter-spacing: 0; - font-weight: 500; -} - -h6.is-tiny { - font-size: 0.846rem; - line-height: 1.2; -} - -h6.is-extra-small { - font-size: 0.923rem; - line-height: 1.2; -} - -h6.is-small, h6.is-normal { - font-size: 1rem; - line-height: 1.2; -} - -h6.is-semi-normal { - font-size: 1.077rem; - line-height: 1.2; -} - -h6.is-medium { - font-size: 1.231rem; - line-height: 1.2; -} - -.content h1, -.content h2, -.content h3, -.content h4, -.content h5, -.content h6 { - color: #020617; -} - -.content p { - color: #334155; -} - -a:not(.ac-button) { - font-family: "Roboto", sans-serif; - color: hsl(var(--primary-hue), var(--primary-saturation), var(--primary-light)); -} - -a:not(.ac-button):hover { - color: hsl(var(--primary-hue), var(--primary-saturation), var(--primary-light)); -} - -.text-xm { - font-size: 0.769rem; -} - -.text-sm { - font-size: 0.846rem; -} - -.text-xs { - font-size: 0.923rem; -} - -.text-base { - font-size: 1rem; -} - -.text-lg { - font-size: 1.077rem; -} - -.text-xl { - font-size: 1.231rem; -} - -.text-2xl { - font-size: 1.385rem; -} - -.text-3xl { - font-size: 1.846rem; -} - -.text-4xl { - font-size: 2.308rem; -} - -.text-5xl { - font-size: 2.769rem; -} - -.text-6xl { - font-size: 3.231rem; -} - -hr { - background-color: hsl(0, 0%, 60%); - border: none; - display: block; - height: 1px; - margin: 15px 0; -} - -strong { - color: #334155; -} - -.is-font-light { - font-weight: 300; -} - -.is-font-medium { - font-weight: 500; -} - -.is-font-semibold { - font-weight: 600; -} - -.is-font-bold { - font-weight: 700; -} - -.material-icons { - font-size: 1em; -} - -.has-text-primary { - color: hsl(var(--primary-hue), var(--primary-saturation), var(--primary-light)) !important; -} - -.has-hover-style:not(.is-disabled) { - cursor: pointer; -} - -.has-hover-style:not(.is-disabled)::before { - content: ""; - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; - border-top: solid 1px; - border-bottom: solid 1px; - transition: 0.3s; - transform: scaleX(0); - border-color: hsl(var(--primary-hue), var(--primary-saturation), var(--primary-light)); -} - -.has-hover-style:not(.is-disabled)::after { - content: ""; - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; - border-left: solid 1px; - border-right: solid 1px; - transition: 0.3s; - transform: scaleY(0); - border-color: hsl(var(--primary-hue), var(--primary-saturation), var(--primary-light)); -} - -.has-hover-style:not(.is-disabled):hover::before, .has-hover-style:not(.is-disabled):hover::after { - transform: scale(1); -} - -.b-b-n { - border-bottom: none !important; -} - -.b-t-n { - border-top: none !important; -} - -.b-l-n { - border-left: none !important; -} - -.b-r-n { - border-right: none !important; -} - -.b-b-1 { - border-bottom: 1px solid #e2e8f0; -} - -.b-t-1 { - border-top: 1px solid #e2e8f0; -} - -.b-l-1 { - border-left: 1px solid #e2e8f0; -} - -.b-r-1 { - border-right: 1px solid #e2e8f0; -} - -.b-1 { - border: 1px solid #e2e8f0; -} - -.is-rounded-0 { - border-radius: 0; -} - -.is-rounded-2 { - border-radius: 2px; -} - -.is-rounded-4 { - border-radius: 4px; -} - -.is-rounded-8 { - border-radius: 8px; -} - -.is-rounded-12 { - border-radius: 12px; -} - -.is-rounded-16 { - border-radius: 16px; -} - -.is-rounded-50 { - border-radius: 50px; -} - -.is-fullwidth { - width: 100%; -} - -.is-fullheight { - height: 100%; -} - -.is-ellipsis-0 { - overflow: hidden; - text-overflow: ellipsis; - display: -webkit-box; - line-clamp: 0; - -webkit-line-clamp: 0; - box-orient: vertical; - -webkit-box-orient: vertical; -} - -.is-ellipsis-1 { - overflow: hidden; - text-overflow: ellipsis; - display: -webkit-box; - line-clamp: 1; - -webkit-line-clamp: 1; - box-orient: vertical; - -webkit-box-orient: vertical; -} - -.is-ellipsis-2 { - overflow: hidden; - text-overflow: ellipsis; - display: -webkit-box; - line-clamp: 2; - -webkit-line-clamp: 2; - box-orient: vertical; - -webkit-box-orient: vertical; -} - -.is-ellipsis-3 { - overflow: hidden; - text-overflow: ellipsis; - display: -webkit-box; - line-clamp: 3; - -webkit-line-clamp: 3; - box-orient: vertical; - -webkit-box-orient: vertical; -} - -.is-ellipsis-4 { - overflow: hidden; - text-overflow: ellipsis; - display: -webkit-box; - line-clamp: 4; - -webkit-line-clamp: 4; - box-orient: vertical; - -webkit-box-orient: vertical; -} - -.is-ellipsis-5 { - overflow: hidden; - text-overflow: ellipsis; - display: -webkit-box; - line-clamp: 5; - -webkit-line-clamp: 5; - box-orient: vertical; - -webkit-box-orient: vertical; -} - -.is-ellipsis-6 { - overflow: hidden; - text-overflow: ellipsis; - display: -webkit-box; - line-clamp: 6; - -webkit-line-clamp: 6; - box-orient: vertical; - -webkit-box-orient: vertical; -} - -.is-ellipsis-7 { - overflow: hidden; - text-overflow: ellipsis; - display: -webkit-box; - line-clamp: 7; - -webkit-line-clamp: 7; - box-orient: vertical; - -webkit-box-orient: vertical; -} - -.is-ellipsis-8 { - overflow: hidden; - text-overflow: ellipsis; - display: -webkit-box; - line-clamp: 8; - -webkit-line-clamp: 8; - box-orient: vertical; - -webkit-box-orient: vertical; -} - -.is-ellipsis-9 { - overflow: hidden; - text-overflow: ellipsis; - display: -webkit-box; - line-clamp: 9; - -webkit-line-clamp: 9; - box-orient: vertical; - -webkit-box-orient: vertical; -} - -.is-ellipsis-10 { - overflow: hidden; - text-overflow: ellipsis; - display: -webkit-box; - line-clamp: 10; - -webkit-line-clamp: 10; - box-orient: vertical; - -webkit-box-orient: vertical; -} - -.ac-navbar-area .brand-tag { - color: #020617; - background-color: hsl(0, 0%, 100%); - border: 1px solid #e2e8f0; -} - -.sidebar-collapsed:not(.is-hoverable) .ac-left-sidebar .brand-tag { - display: none; -} - -.brand-tag { - color: hsl(0, 0%, 100%); - background-color: rgba(255, 255, 255, 0.2); - border: 1px solid rgba(255, 255, 255, 0.3); - font-weight: 600; - font-size: 14px; - border-radius: 2px; - margin-left: 4px; - padding: 4px; - display: flex; - line-height: 1; - white-space: nowrap; -} - -.form-content { - width: 800px; -} - -input[type=color] { - -webkit-appearance: none; - border: none; - width: 20px; - height: 20px; - border-radius: 50%; - border: 1px solid #777; - margin-left: 3px; - padding: 2px; - cursor: pointer; -} - -input[type=color]::-webkit-color-swatch-wrapper { - padding: 0; -} - -input[type=color]::-webkit-color-swatch { - border: none; - border-radius: 50%; -} - -input[type=color]::-moz-color-swatch { - border: none; - border-radius: 50%; -} - -hr { - background-color: #e2e8f0; -} - -.is-auto-hight { - height: auto !important; - min-height: auto !important; -} - -.is-auto-height { - height: auto !important; - min-height: auto !important; -} - -.is-fixed { - position: fixed !important; -} - -.is-not-fixed { - position: inherit !important; -} - -.is-border-none { - border: none !important; -} - -.is-disabled { - opacity: 0.5; - cursor: not-allowed; - pointer-events: none; -} - -.no-data-image img { - width: 250px; - height: auto; - padding: 20px; -} - -.toasted-container .ac-toast-action.mr-10 { - text-decoration: underline !important; -} - -.toasted-container .has-report-issue { - padding-right: 140px !important; -} - -.is-dark-theme .toasted-container i.fa { - color: hsl(0, 0%, 100%) !important; -} - -.is-middle-alignment { - display: flex; - align-items: center; - vertical-align: middle; -} - -.ac-vcentered { - display: flex; - justify-content: space-between; - align-items: center; -} - -.ac-hscrollbar { - padding: 15px; - transition: 0.3s ease-in-out; - overflow-x: auto; -} - -.ac-hscrollbar::-webkit-scrollbar { - border-radius: 50px; - height: 3px; -} - -.ac-hscrollbar::-webkit-scrollbar:hover { - height: 7px; -} - -.ac-hscrollbar::-webkit-scrollbar-thumb { - background-color: hsl(0, 0%, 80%); - border-radius: 50px; - height: 2px !important; -} - -.ac-hscrollbar::-webkit-scrollbar-thumb:hover { - background-color: hsl(0, 0%, 80%); -} - -.ac-hscrollbar:hover::-webkit-scrollbar-corner { - height: 40px; -} - -.ac-vscrollbar { - padding: 15px; - transition: 0.3s ease-in-out; - overflow-y: auto; -} - -.ac-vscrollbar::-webkit-scrollbar { - border-radius: 50px; - width: 3px; -} - -.ac-vscrollbar::-moz-scrollbar { - border-radius: 50px; - width: 3px; -} - -.ac-vscrollbar::-ms-scrollbar { - border-radius: 50px; - width: 3px; -} - -.ac-vscrollbar::-webkit-scrollbar:hover { - width: 7px; -} - -.ac-vscrollbar::-moz-scrollbar:hover { - width: 7px; -} - -.ac-vscrollbar::-ms-scrollbar:hover { - width: 7px; -} - -.ac-vscrollbar::-webkit-scrollbar-thumb { - background-color: hsl(0, 0%, 80%); - border-radius: 50px; - height: 2px !important; -} - -.ac-vscrollbar::-moz-scrollbar-thumb { - background-color: hsl(0, 0%, 80%); - border-radius: 50px; - height: 2px !important; -} - -.ac-vscrollbar::-ms-scrollbar-thumb { - background-color: hsl(0, 0%, 80%); - border-radius: 50px; - height: 2px !important; -} - -.ac-vscrollbar::-webkit-scrollbar-thumb:hover { - background-color: hsl(0, 0%, 80%); -} - -.ac-vscrollbar::-moz-scrollbar-thumb:hover { - background-color: hsl(0, 0%, 80%); -} - -.ac-vscrollbar::-ms-scrollbar-thumb:hover { - background-color: hsl(0, 0%, 80%); -} - -.ac-vscrollbar:hover::-webkit-scrollbar-corner { - height: 40px; -} - -.ac-vscrollbar:hover::-moz-scrollbar-corner { - height: 40px; -} - -.ac-vscrollbar:hover::-ms-scrollbar-corner { - height: 40px; -} - -.ac-scrollbar { - padding: 15px; - transition: 0.3s ease-in-out; - overflow: auto; -} - -.ac-scrollbar::-webkit-scrollbar { - border-radius: 50px; - width: 3px; -} - -.ac-scrollbar::-webkit-scrollbar:hover { - width: 7px; -} - -.ac-scrollbar::-webkit-scrollbar-thumb { - background-color: hsl(0, 0%, 80%); - border-radius: 50px; - width: 2px !important; -} - -.ac-scrollbar::-webkit-scrollbar-thumb:hover { - background-color: hsl(0, 0%, 80%); -} - -.ac-scrollbar:hover::-webkit-scrollbar-corner { - width: 40px; -} - -.overflow-y-hidden { - overflow-y: hidden; -} - -.overflow-x-hidden { - overflow-x: hidden; -} - -.overflow-y-auto { - overflow-y: auto; -} - -.overflow-x-auto { - overflow-x: auto; -} - -.is-transparent-bg { - background-color: transparent !important; -} - -.is-shadowless { - box-shadow: none !important; -} - -.is-shadow { - box-shadow: 0 1px 4px rgba(26, 80, 151, 0.16) !important; -} - -.is-transparent { - border: none; - background-color: transparent !important; -} - -p.is-danger { - color: hsl(348, 100%, 40%); -} - -code { - color: #020617; -} - -.is-dark-theme code { - background-color: hsl(0, 0%, 80%); - color: hsl(0, 0%, 100%); -} - -.has-text-danger { - color: hsl(348, 100%, 40%) !important; -} - -button:focus { - box-shadow: none; - outline: none; -} - -.is-bg-white { - background-color: hsl(0, 0%, 100%) !important; -} - -.bg-white { - background-color: hsl(0, 0%, 100%) !important; -} - -@keyframes shake { - 10%, 90% { - transform: translate3d(-1px, 0, 0); - } - 20%, 80% { - transform: translate3d(2px, 0, 0); - } - 30%, 50%, 70% { - transform: translate3d(-4px, 0, 0); - } - 40%, 60% { - transform: translate3d(4px, 0, 0); - } -} -.ac-shake { - animation: shake 0.82s cubic-bezier(0.36, 0.07, 0.19, 0.97) both; - transform: translate3d(0, 0, 0); - backface-visibility: hidden; - perspective: 1000px; - animation-iteration-count: 20; -} - -.tooltip { - display: block !important; - z-index: 10000; -} - -.tooltip.is-button-info .tooltip-inner { - background: hsl(0, 0%, 100%); - color: hsl(var(--primary-hue), var(--primary-saturation), var(--primary-light)); - border-radius: 4px; - padding: 5px 20px 4px; - box-shadow: 0 1px 4px rgba(26, 80, 151, 0.16); - font-weight: 500; - font-size: 1rem; -} - -.tooltip.is-button-info .tooltip-arrow { - width: 0; - height: 0; - border-style: solid; - position: absolute; - margin: 5px; - border-color: hsl(0, 0%, 100%); -} - -.tooltip.is-errors-tooltip .tooltip-inner { - background: hsl(0, 0%, 100%); - color: hsl(348, 100%, 40%); - border-radius: 4px; - padding: 5px 20px 4px; - box-shadow: 0 1px 4px rgba(26, 80, 151, 0.16); - font-weight: 500; - font-size: 1rem; -} - -.tooltip.is-errors-tooltip .tooltip-inner .errors-wrapper .error-element { - padding: 5px 0; -} - -.tooltip.is-errors-tooltip .tooltip-arrow { - width: 0; - height: 0; - border-style: solid; - position: absolute; - margin: 5px; - border-color: hsl(0, 0%, 100%); -} - -.tooltip[x-placement^=top] { - margin-bottom: 5px; -} - -.tooltip[x-placement^=top] .tooltip-arrow { - border-width: 5px 5px 0 5px; - border-left-color: transparent !important; - border-right-color: transparent !important; - border-bottom-color: transparent !important; - bottom: -5px; - left: calc(50% - 5px); - margin-top: 0; - margin-bottom: 0; -} - -.tooltip[x-placement^=bottom] { - margin-top: 5px; -} - -.tooltip[x-placement^=bottom] .tooltip-arrow { - border-width: 0 5px 5px 5px; - border-left-color: transparent !important; - border-right-color: transparent !important; - border-top-color: transparent !important; - top: -5px; - left: calc(50% - 5px); - margin-top: 0; - margin-bottom: 0; -} - -.tooltip[x-placement^=right] { - margin-left: 5px; -} - -.tooltip[x-placement^=right] .tooltip-arrow { - border-width: 5px 5px 5px 0; - border-left-color: transparent !important; - border-top-color: transparent !important; - border-bottom-color: transparent !important; - left: -5px; - top: calc(50% - 5px); - margin-left: 0; - margin-right: 0; -} - -.tooltip[x-placement^=left] { - margin-right: 5px; -} - -.tooltip[x-placement^=left] .tooltip-arrow { - border-width: 5px 0 5px 5px; - border-top-color: transparent !important; - border-right-color: transparent !important; - border-bottom-color: transparent !important; - right: -5px; - top: calc(50% - 5px); - margin-left: 0; - margin-right: 0; -} - -.tooltip.popover .popover-inner { - background: #f9f9f9; - color: black; - padding: 24px; - border-radius: 4px; - box-shadow: 0 1px 4px rgba(26, 80, 151, 0.16); -} - -.tooltip.popover .popover-arrow { - border-color: #f9f9f9; -} - -.tooltip[aria-hidden=true] { - visibility: hidden; - opacity: 0; - transition: opacity 0.15s, visibility 0.15s; -} - -.tooltip[aria-hidden=false] { - visibility: visible; - opacity: 1; - transition: opacity 0.15s; -} - -.status { - height: 10px; - width: 10px; - border-radius: 50%; - background-color: hsl(0, 0%, 80%); - border: 2px solid hsl(0, 0%, 100%); - display: inline-flex; -} - -.status.is-success { - background-color: #27ae60; -} - -.status.is-danger { - background-color: hsl(348, 100%, 40%); -} - -body:has(.has-info-content):after { - position: fixed; - content: ""; - left: 0; - top: 0; - width: calc(100% - 550px); - height: 100vh; - background-color: rgba(0, 0, 0, 0.5); - z-index: 9999; -} - -.information-center { - height: 100vh; - overflow-y: auto; - padding: 20px; - border-left: 1px solid #e2e8f0; - width: 550px; - margin-left: auto; - position: fixed; - right: 0; - background: hsl(0, 0%, 100%); - top: 0; - z-index: 99999; - box-shadow: -3px 2px 10px 3px rgba(0, 0, 0, 0.1); -} - -.information-center .info-title { - display: flex; -} - -.tag:not(body).is-primary { - background-color: hsl(var(--primary-hue), var(--primary-saturation), var(--primary-light)); - color: hsl(0, 0%, 100%); -} - -.tag:not(body).is-primary.is-light { - color: hsl(var(--primary-hue), var(--primary-saturation), var(--primary-light)); - background-color: hsl(var(--primary-hue), var(--primary-saturation), 95%); -} - -.tag a { - color: inherit; -} - -em { - background: hsl(var(--primary-hue), var(--primary-saturation), 95%); - padding: 2px 4px; - font-style: normal; - color: hsl(var(--primary-hue), var(--primary-saturation), var(--primary-light)); - border-radius: 2px; - font-size: 90%; - font-weight: 500; -} - -.is-absolute { - position: absolute; -} - -.z-1 { - z-index: 1; -} - -.z-000 { - z-index: 0; -} - -.z-100 { - z-index: 100; -} - -.z-200 { - z-index: 200; -} - -.z-300 { - z-index: 300; -} - -.z-400 { - z-index: 400; -} - -.z-500 { - z-index: 500; -} - -.z-600 { - z-index: 600; -} - -.z-700 { - z-index: 700; -} - -.z-800 { - z-index: 800; -} - -.z-900 { - z-index: 900; -} - -.z-1000 { - z-index: 1000; -} - -.is-spin { - animation: spin 1000ms linear infinite; -} - -@keyframes spin { - from { - transform: rotate(0deg); - } - to { - transform: rotate(360deg); - } -} -.shake { - animation: shake 150ms 4 linear; -} - -@keyframes shake { - 0% { - transform: translate(3px, 0); - } - 50% { - transform: translate(-3px, 0); - } - 100% { - transform: translate(0, 0); - } -} -.grid { - display: grid; -} - -.grid-cols-1 { - grid-template-columns: repeat(1, minmax(0, 1fr)); -} - -.grid-cols-2 { - grid-template-columns: repeat(2, minmax(0, 1fr)); -} - -.grid-cols-3 { - grid-template-columns: repeat(3, minmax(0, 1fr)); -} - -.grid-cols-4 { - grid-template-columns: repeat(4, minmax(0, 1fr)); -} - -.grid-cols-5 { - grid-template-columns: repeat(5, minmax(0, 1fr)); -} - -.grid-cols-6 { - grid-template-columns: repeat(6, minmax(0, 1fr)); -} - -.grid-cols-7 { - grid-template-columns: repeat(7, minmax(0, 1fr)); -} - -.grid-cols-8 { - grid-template-columns: repeat(8, minmax(0, 1fr)); -} - -.grid-cols-9 { - grid-template-columns: repeat(9, minmax(0, 1fr)); -} - -.grid-cols-10 { - grid-template-columns: repeat(10, minmax(0, 1fr)); -} - -.grid-cols-11 { - grid-template-columns: repeat(11, minmax(0, 1fr)); -} - -.grid-cols-12 { - grid-template-columns: repeat(12, minmax(0, 1fr)); -} - -.grid-cols-none { - grid-template-columns: none; -} - -.col-span-1 { - grid-column: span 1/span 1; -} - -.col-span-2 { - grid-column: span 2/span 2; -} - -.col-span-3 { - grid-column: span 3/span 3; -} - -.col-span-4 { - grid-column: span 4/span 4; -} - -.col-span-5 { - grid-column: span 5/span 5; -} - -.col-span-6 { - grid-column: span 6/span 6; -} - -.col-span-7 { - grid-column: span 7/span 7; -} - -.col-span-8 { - grid-column: span 8/span 8; -} - -.col-span-9 { - grid-column: span 9/span 9; -} - -.col-span-10 { - grid-column: span 10/span 10; -} - -.col-span-11 { - grid-column: span 11/span 11; -} - -.col-span-12 { - grid-column: span 12/span 12; -} - -.col-auto { - grid-column: auto; -} - -.gap-0 { - gap: 0px; -} - -.gap-1 { - gap: 1px; -} - -.gap-2 { - gap: 2px; -} - -.gap-3 { - gap: 3px; -} - -.gap-4 { - gap: 4px; -} - -.gap-5 { - gap: 5px; -} - -.gap-6 { - gap: 6px; -} - -.gap-7 { - gap: 7px; -} - -.gap-8 { - gap: 8px; -} - -.gap-9 { - gap: 9px; -} - -.gap-10 { - gap: 10px; -} - -.gap-11 { - gap: 11px; -} - -.gap-12 { - gap: 12px; -} - -.gap-13 { - gap: 13px; -} - -.gap-14 { - gap: 14px; -} - -.gap-15 { - gap: 15px; -} - -.gap-16 { - gap: 16px; -} - -.gap-17 { - gap: 17px; -} - -.gap-18 { - gap: 18px; -} - -.gap-19 { - gap: 19px; -} - -.gap-20 { - gap: 20px; -} - -.gap-21 { - gap: 21px; -} - -.gap-22 { - gap: 22px; -} - -.gap-23 { - gap: 23px; -} - -.gap-24 { - gap: 24px; -} - -.gap-25 { - gap: 25px; -} - -.gap-26 { - gap: 26px; -} - -.gap-27 { - gap: 27px; -} - -.gap-28 { - gap: 28px; -} - -.gap-29 { - gap: 29px; -} - -.gap-30 { - gap: 30px; -} - -.gap-31 { - gap: 31px; -} - -.gap-32 { - gap: 32px; -} - -/* Margin & Padding view-height & view-width */ -.m-0 { - margin: 0px !important; -} - -.mt-0 { - margin-top: 0px !important; -} - -.mb-0 { - margin-bottom: 0px !important; -} - -.ml-0 { - margin-left: 0px !important; -} - -.mr-0 { - margin-right: 0px !important; -} - -.p-0 { - padding: 0px !important; -} - -.pt-0 { - padding-top: 0px !important; -} - -.pb-0 { - padding-bottom: 0px !important; -} - -.pl-0 { - padding-left: 0px !important; -} - -.pr-0 { - padding-right: 0px !important; -} - -.vh-0 { - height: 0vh !important; -} - -.vw-0 { - width: 0vw !important; -} - -.font-0 { - font-size: 0px !important; -} - -.m-1 { - margin: 1px !important; -} - -.mt-1 { - margin-top: 1px !important; -} - -.mb-1 { - margin-bottom: 1px !important; -} - -.ml-1 { - margin-left: 1px !important; -} - -.mr-1 { - margin-right: 1px !important; -} - -.p-1 { - padding: 1px !important; -} - -.pt-1 { - padding-top: 1px !important; -} - -.pb-1 { - padding-bottom: 1px !important; -} - -.pl-1 { - padding-left: 1px !important; -} - -.pr-1 { - padding-right: 1px !important; -} - -.vh-1 { - height: 1vh !important; -} - -.vw-1 { - width: 1vw !important; -} - -.font-1 { - font-size: 1px !important; -} - -.m-2 { - margin: 2px !important; -} - -.mt-2 { - margin-top: 2px !important; -} - -.mb-2 { - margin-bottom: 2px !important; -} - -.ml-2 { - margin-left: 2px !important; -} - -.mr-2 { - margin-right: 2px !important; -} - -.p-2 { - padding: 2px !important; -} - -.pt-2 { - padding-top: 2px !important; -} - -.pb-2 { - padding-bottom: 2px !important; -} - -.pl-2 { - padding-left: 2px !important; -} - -.pr-2 { - padding-right: 2px !important; -} - -.vh-2 { - height: 2vh !important; -} - -.vw-2 { - width: 2vw !important; -} - -.font-2 { - font-size: 2px !important; -} - -.m-3 { - margin: 3px !important; -} - -.mt-3 { - margin-top: 3px !important; -} - -.mb-3 { - margin-bottom: 3px !important; -} - -.ml-3 { - margin-left: 3px !important; -} - -.mr-3 { - margin-right: 3px !important; -} - -.p-3 { - padding: 3px !important; -} - -.pt-3 { - padding-top: 3px !important; -} - -.pb-3 { - padding-bottom: 3px !important; -} - -.pl-3 { - padding-left: 3px !important; -} - -.pr-3 { - padding-right: 3px !important; -} - -.vh-3 { - height: 3vh !important; -} - -.vw-3 { - width: 3vw !important; -} - -.font-3 { - font-size: 3px !important; -} - -.m-4 { - margin: 4px !important; -} - -.mt-4 { - margin-top: 4px !important; -} - -.mb-4 { - margin-bottom: 4px !important; -} - -.ml-4 { - margin-left: 4px !important; -} - -.mr-4 { - margin-right: 4px !important; -} - -.p-4 { - padding: 4px !important; -} - -.pt-4 { - padding-top: 4px !important; -} - -.pb-4 { - padding-bottom: 4px !important; -} - -.pl-4 { - padding-left: 4px !important; -} - -.pr-4 { - padding-right: 4px !important; -} - -.vh-4 { - height: 4vh !important; -} - -.vw-4 { - width: 4vw !important; -} - -.font-4 { - font-size: 4px !important; -} - -.m-5 { - margin: 5px !important; -} - -.mt-5 { - margin-top: 5px !important; -} - -.mb-5 { - margin-bottom: 5px !important; -} - -.ml-5 { - margin-left: 5px !important; -} - -.mr-5 { - margin-right: 5px !important; -} - -.p-5 { - padding: 5px !important; -} - -.pt-5 { - padding-top: 5px !important; -} - -.pb-5 { - padding-bottom: 5px !important; -} - -.pl-5 { - padding-left: 5px !important; -} - -.pr-5 { - padding-right: 5px !important; -} - -.vh-5 { - height: 5vh !important; -} - -.vw-5 { - width: 5vw !important; -} - -.font-5 { - font-size: 5px !important; -} - -.m-6 { - margin: 6px !important; -} - -.mt-6 { - margin-top: 6px !important; -} - -.mb-6 { - margin-bottom: 6px !important; -} - -.ml-6 { - margin-left: 6px !important; -} - -.mr-6 { - margin-right: 6px !important; -} - -.p-6 { - padding: 6px !important; -} - -.pt-6 { - padding-top: 6px !important; -} - -.pb-6 { - padding-bottom: 6px !important; -} - -.pl-6 { - padding-left: 6px !important; -} - -.pr-6 { - padding-right: 6px !important; -} - -.vh-6 { - height: 6vh !important; -} - -.vw-6 { - width: 6vw !important; -} - -.font-6 { - font-size: 6px !important; -} - -.m-7 { - margin: 7px !important; -} - -.mt-7 { - margin-top: 7px !important; -} - -.mb-7 { - margin-bottom: 7px !important; -} - -.ml-7 { - margin-left: 7px !important; -} - -.mr-7 { - margin-right: 7px !important; -} - -.p-7 { - padding: 7px !important; -} - -.pt-7 { - padding-top: 7px !important; -} - -.pb-7 { - padding-bottom: 7px !important; -} - -.pl-7 { - padding-left: 7px !important; -} - -.pr-7 { - padding-right: 7px !important; -} - -.vh-7 { - height: 7vh !important; -} - -.vw-7 { - width: 7vw !important; -} - -.font-7 { - font-size: 7px !important; -} - -.m-8 { - margin: 8px !important; -} - -.mt-8 { - margin-top: 8px !important; -} - -.mb-8 { - margin-bottom: 8px !important; -} - -.ml-8 { - margin-left: 8px !important; -} - -.mr-8 { - margin-right: 8px !important; -} - -.p-8 { - padding: 8px !important; -} - -.pt-8 { - padding-top: 8px !important; -} - -.pb-8 { - padding-bottom: 8px !important; -} - -.pl-8 { - padding-left: 8px !important; -} - -.pr-8 { - padding-right: 8px !important; -} - -.vh-8 { - height: 8vh !important; -} - -.vw-8 { - width: 8vw !important; -} - -.font-8 { - font-size: 8px !important; -} - -.m-9 { - margin: 9px !important; -} - -.mt-9 { - margin-top: 9px !important; -} - -.mb-9 { - margin-bottom: 9px !important; -} - -.ml-9 { - margin-left: 9px !important; -} - -.mr-9 { - margin-right: 9px !important; -} - -.p-9 { - padding: 9px !important; -} - -.pt-9 { - padding-top: 9px !important; -} - -.pb-9 { - padding-bottom: 9px !important; -} - -.pl-9 { - padding-left: 9px !important; -} - -.pr-9 { - padding-right: 9px !important; -} - -.vh-9 { - height: 9vh !important; -} - -.vw-9 { - width: 9vw !important; -} - -.font-9 { - font-size: 9px !important; -} - -.m-10 { - margin: 10px !important; -} - -.mt-10 { - margin-top: 10px !important; -} - -.mb-10 { - margin-bottom: 10px !important; -} - -.ml-10 { - margin-left: 10px !important; -} - -.mr-10 { - margin-right: 10px !important; -} - -.p-10 { - padding: 10px !important; -} - -.pt-10 { - padding-top: 10px !important; -} - -.pb-10 { - padding-bottom: 10px !important; -} - -.pl-10 { - padding-left: 10px !important; -} - -.pr-10 { - padding-right: 10px !important; -} - -.vh-10 { - height: 10vh !important; -} - -.vw-10 { - width: 10vw !important; -} - -.font-10 { - font-size: 10px !important; -} - -.m-11 { - margin: 11px !important; -} - -.mt-11 { - margin-top: 11px !important; -} - -.mb-11 { - margin-bottom: 11px !important; -} - -.ml-11 { - margin-left: 11px !important; -} - -.mr-11 { - margin-right: 11px !important; -} - -.p-11 { - padding: 11px !important; -} - -.pt-11 { - padding-top: 11px !important; -} - -.pb-11 { - padding-bottom: 11px !important; -} - -.pl-11 { - padding-left: 11px !important; -} - -.pr-11 { - padding-right: 11px !important; -} - -.vh-11 { - height: 11vh !important; -} - -.vw-11 { - width: 11vw !important; -} - -.font-11 { - font-size: 11px !important; -} - -.m-12 { - margin: 12px !important; -} - -.mt-12 { - margin-top: 12px !important; -} - -.mb-12 { - margin-bottom: 12px !important; -} - -.ml-12 { - margin-left: 12px !important; -} - -.mr-12 { - margin-right: 12px !important; -} - -.p-12 { - padding: 12px !important; -} - -.pt-12 { - padding-top: 12px !important; -} - -.pb-12 { - padding-bottom: 12px !important; -} - -.pl-12 { - padding-left: 12px !important; -} - -.pr-12 { - padding-right: 12px !important; -} - -.vh-12 { - height: 12vh !important; -} - -.vw-12 { - width: 12vw !important; -} - -.font-12 { - font-size: 12px !important; -} - -.m-13 { - margin: 13px !important; -} - -.mt-13 { - margin-top: 13px !important; -} - -.mb-13 { - margin-bottom: 13px !important; -} - -.ml-13 { - margin-left: 13px !important; -} - -.mr-13 { - margin-right: 13px !important; -} - -.p-13 { - padding: 13px !important; -} - -.pt-13 { - padding-top: 13px !important; -} - -.pb-13 { - padding-bottom: 13px !important; -} - -.pl-13 { - padding-left: 13px !important; -} - -.pr-13 { - padding-right: 13px !important; -} - -.vh-13 { - height: 13vh !important; -} - -.vw-13 { - width: 13vw !important; -} - -.font-13 { - font-size: 13px !important; -} - -.m-14 { - margin: 14px !important; -} - -.mt-14 { - margin-top: 14px !important; -} - -.mb-14 { - margin-bottom: 14px !important; -} - -.ml-14 { - margin-left: 14px !important; -} - -.mr-14 { - margin-right: 14px !important; -} - -.p-14 { - padding: 14px !important; -} - -.pt-14 { - padding-top: 14px !important; -} - -.pb-14 { - padding-bottom: 14px !important; -} - -.pl-14 { - padding-left: 14px !important; -} - -.pr-14 { - padding-right: 14px !important; -} - -.vh-14 { - height: 14vh !important; -} - -.vw-14 { - width: 14vw !important; -} - -.font-14 { - font-size: 14px !important; -} - -.m-15 { - margin: 15px !important; -} - -.mt-15 { - margin-top: 15px !important; -} - -.mb-15 { - margin-bottom: 15px !important; -} - -.ml-15 { - margin-left: 15px !important; -} - -.mr-15 { - margin-right: 15px !important; -} - -.p-15 { - padding: 15px !important; -} - -.pt-15 { - padding-top: 15px !important; -} - -.pb-15 { - padding-bottom: 15px !important; -} - -.pl-15 { - padding-left: 15px !important; -} - -.pr-15 { - padding-right: 15px !important; -} - -.vh-15 { - height: 15vh !important; -} - -.vw-15 { - width: 15vw !important; -} - -.font-15 { - font-size: 15px !important; -} - -.m-16 { - margin: 16px !important; -} - -.mt-16 { - margin-top: 16px !important; -} - -.mb-16 { - margin-bottom: 16px !important; -} - -.ml-16 { - margin-left: 16px !important; -} - -.mr-16 { - margin-right: 16px !important; -} - -.p-16 { - padding: 16px !important; -} - -.pt-16 { - padding-top: 16px !important; -} - -.pb-16 { - padding-bottom: 16px !important; -} - -.pl-16 { - padding-left: 16px !important; -} - -.pr-16 { - padding-right: 16px !important; -} - -.vh-16 { - height: 16vh !important; -} - -.vw-16 { - width: 16vw !important; -} - -.font-16 { - font-size: 16px !important; -} - -.m-17 { - margin: 17px !important; -} - -.mt-17 { - margin-top: 17px !important; -} - -.mb-17 { - margin-bottom: 17px !important; -} - -.ml-17 { - margin-left: 17px !important; -} - -.mr-17 { - margin-right: 17px !important; -} - -.p-17 { - padding: 17px !important; -} - -.pt-17 { - padding-top: 17px !important; -} - -.pb-17 { - padding-bottom: 17px !important; -} - -.pl-17 { - padding-left: 17px !important; -} - -.pr-17 { - padding-right: 17px !important; -} - -.vh-17 { - height: 17vh !important; -} - -.vw-17 { - width: 17vw !important; -} - -.font-17 { - font-size: 17px !important; -} - -.m-18 { - margin: 18px !important; -} - -.mt-18 { - margin-top: 18px !important; -} - -.mb-18 { - margin-bottom: 18px !important; -} - -.ml-18 { - margin-left: 18px !important; -} - -.mr-18 { - margin-right: 18px !important; -} - -.p-18 { - padding: 18px !important; -} - -.pt-18 { - padding-top: 18px !important; -} - -.pb-18 { - padding-bottom: 18px !important; -} - -.pl-18 { - padding-left: 18px !important; -} - -.pr-18 { - padding-right: 18px !important; -} - -.vh-18 { - height: 18vh !important; -} - -.vw-18 { - width: 18vw !important; -} - -.font-18 { - font-size: 18px !important; -} - -.m-19 { - margin: 19px !important; -} - -.mt-19 { - margin-top: 19px !important; -} - -.mb-19 { - margin-bottom: 19px !important; -} - -.ml-19 { - margin-left: 19px !important; -} - -.mr-19 { - margin-right: 19px !important; -} - -.p-19 { - padding: 19px !important; -} - -.pt-19 { - padding-top: 19px !important; -} - -.pb-19 { - padding-bottom: 19px !important; -} - -.pl-19 { - padding-left: 19px !important; -} - -.pr-19 { - padding-right: 19px !important; -} - -.vh-19 { - height: 19vh !important; -} - -.vw-19 { - width: 19vw !important; -} - -.font-19 { - font-size: 19px !important; -} - -.m-20 { - margin: 20px !important; -} - -.mt-20 { - margin-top: 20px !important; -} - -.mb-20 { - margin-bottom: 20px !important; -} - -.ml-20 { - margin-left: 20px !important; -} - -.mr-20 { - margin-right: 20px !important; -} - -.p-20 { - padding: 20px !important; -} - -.pt-20 { - padding-top: 20px !important; -} - -.pb-20 { - padding-bottom: 20px !important; -} - -.pl-20 { - padding-left: 20px !important; -} - -.pr-20 { - padding-right: 20px !important; -} - -.vh-20 { - height: 20vh !important; -} - -.vw-20 { - width: 20vw !important; -} - -.font-20 { - font-size: 20px !important; -} - -.m-21 { - margin: 21px !important; -} - -.mt-21 { - margin-top: 21px !important; -} - -.mb-21 { - margin-bottom: 21px !important; -} - -.ml-21 { - margin-left: 21px !important; -} - -.mr-21 { - margin-right: 21px !important; -} - -.p-21 { - padding: 21px !important; -} - -.pt-21 { - padding-top: 21px !important; -} - -.pb-21 { - padding-bottom: 21px !important; -} - -.pl-21 { - padding-left: 21px !important; -} - -.pr-21 { - padding-right: 21px !important; -} - -.vh-21 { - height: 21vh !important; -} - -.vw-21 { - width: 21vw !important; -} - -.font-21 { - font-size: 21px !important; -} - -.m-22 { - margin: 22px !important; -} - -.mt-22 { - margin-top: 22px !important; -} - -.mb-22 { - margin-bottom: 22px !important; -} - -.ml-22 { - margin-left: 22px !important; -} - -.mr-22 { - margin-right: 22px !important; -} - -.p-22 { - padding: 22px !important; -} - -.pt-22 { - padding-top: 22px !important; -} - -.pb-22 { - padding-bottom: 22px !important; -} - -.pl-22 { - padding-left: 22px !important; -} - -.pr-22 { - padding-right: 22px !important; -} - -.vh-22 { - height: 22vh !important; -} - -.vw-22 { - width: 22vw !important; -} - -.font-22 { - font-size: 22px !important; -} - -.m-23 { - margin: 23px !important; -} - -.mt-23 { - margin-top: 23px !important; -} - -.mb-23 { - margin-bottom: 23px !important; -} - -.ml-23 { - margin-left: 23px !important; -} - -.mr-23 { - margin-right: 23px !important; -} - -.p-23 { - padding: 23px !important; -} - -.pt-23 { - padding-top: 23px !important; -} - -.pb-23 { - padding-bottom: 23px !important; -} - -.pl-23 { - padding-left: 23px !important; -} - -.pr-23 { - padding-right: 23px !important; -} - -.vh-23 { - height: 23vh !important; -} - -.vw-23 { - width: 23vw !important; -} - -.font-23 { - font-size: 23px !important; -} - -.m-24 { - margin: 24px !important; -} - -.mt-24 { - margin-top: 24px !important; -} - -.mb-24 { - margin-bottom: 24px !important; -} - -.ml-24 { - margin-left: 24px !important; -} - -.mr-24 { - margin-right: 24px !important; -} - -.p-24 { - padding: 24px !important; -} - -.pt-24 { - padding-top: 24px !important; -} - -.pb-24 { - padding-bottom: 24px !important; -} - -.pl-24 { - padding-left: 24px !important; -} - -.pr-24 { - padding-right: 24px !important; -} - -.vh-24 { - height: 24vh !important; -} - -.vw-24 { - width: 24vw !important; -} - -.font-24 { - font-size: 24px !important; -} - -.m-25 { - margin: 25px !important; -} - -.mt-25 { - margin-top: 25px !important; -} - -.mb-25 { - margin-bottom: 25px !important; -} - -.ml-25 { - margin-left: 25px !important; -} - -.mr-25 { - margin-right: 25px !important; -} - -.p-25 { - padding: 25px !important; -} - -.pt-25 { - padding-top: 25px !important; -} - -.pb-25 { - padding-bottom: 25px !important; -} - -.pl-25 { - padding-left: 25px !important; -} - -.pr-25 { - padding-right: 25px !important; -} - -.vh-25 { - height: 25vh !important; -} - -.vw-25 { - width: 25vw !important; -} - -.font-25 { - font-size: 25px !important; -} - -.m-26 { - margin: 26px !important; -} - -.mt-26 { - margin-top: 26px !important; -} - -.mb-26 { - margin-bottom: 26px !important; -} - -.ml-26 { - margin-left: 26px !important; -} - -.mr-26 { - margin-right: 26px !important; -} - -.p-26 { - padding: 26px !important; -} - -.pt-26 { - padding-top: 26px !important; -} - -.pb-26 { - padding-bottom: 26px !important; -} - -.pl-26 { - padding-left: 26px !important; -} - -.pr-26 { - padding-right: 26px !important; -} - -.vh-26 { - height: 26vh !important; -} - -.vw-26 { - width: 26vw !important; -} - -.font-26 { - font-size: 26px !important; -} - -.m-27 { - margin: 27px !important; -} - -.mt-27 { - margin-top: 27px !important; -} - -.mb-27 { - margin-bottom: 27px !important; -} - -.ml-27 { - margin-left: 27px !important; -} - -.mr-27 { - margin-right: 27px !important; -} - -.p-27 { - padding: 27px !important; -} - -.pt-27 { - padding-top: 27px !important; -} - -.pb-27 { - padding-bottom: 27px !important; -} - -.pl-27 { - padding-left: 27px !important; -} - -.pr-27 { - padding-right: 27px !important; -} - -.vh-27 { - height: 27vh !important; -} - -.vw-27 { - width: 27vw !important; -} - -.font-27 { - font-size: 27px !important; -} - -.m-28 { - margin: 28px !important; -} - -.mt-28 { - margin-top: 28px !important; -} - -.mb-28 { - margin-bottom: 28px !important; -} - -.ml-28 { - margin-left: 28px !important; -} - -.mr-28 { - margin-right: 28px !important; -} - -.p-28 { - padding: 28px !important; -} - -.pt-28 { - padding-top: 28px !important; -} - -.pb-28 { - padding-bottom: 28px !important; -} - -.pl-28 { - padding-left: 28px !important; -} - -.pr-28 { - padding-right: 28px !important; -} - -.vh-28 { - height: 28vh !important; -} - -.vw-28 { - width: 28vw !important; -} - -.font-28 { - font-size: 28px !important; -} - -.m-29 { - margin: 29px !important; -} - -.mt-29 { - margin-top: 29px !important; -} - -.mb-29 { - margin-bottom: 29px !important; -} - -.ml-29 { - margin-left: 29px !important; -} - -.mr-29 { - margin-right: 29px !important; -} - -.p-29 { - padding: 29px !important; -} - -.pt-29 { - padding-top: 29px !important; -} - -.pb-29 { - padding-bottom: 29px !important; -} - -.pl-29 { - padding-left: 29px !important; -} - -.pr-29 { - padding-right: 29px !important; -} - -.vh-29 { - height: 29vh !important; -} - -.vw-29 { - width: 29vw !important; -} - -.font-29 { - font-size: 29px !important; -} - -.m-30 { - margin: 30px !important; -} - -.mt-30 { - margin-top: 30px !important; -} - -.mb-30 { - margin-bottom: 30px !important; -} - -.ml-30 { - margin-left: 30px !important; -} - -.mr-30 { - margin-right: 30px !important; -} - -.p-30 { - padding: 30px !important; -} - -.pt-30 { - padding-top: 30px !important; -} - -.pb-30 { - padding-bottom: 30px !important; -} - -.pl-30 { - padding-left: 30px !important; -} - -.pr-30 { - padding-right: 30px !important; -} - -.vh-30 { - height: 30vh !important; -} - -.vw-30 { - width: 30vw !important; -} - -.font-30 { - font-size: 30px !important; -} - -.m-31 { - margin: 31px !important; -} - -.mt-31 { - margin-top: 31px !important; -} - -.mb-31 { - margin-bottom: 31px !important; -} - -.ml-31 { - margin-left: 31px !important; -} - -.mr-31 { - margin-right: 31px !important; -} - -.p-31 { - padding: 31px !important; -} - -.pt-31 { - padding-top: 31px !important; -} - -.pb-31 { - padding-bottom: 31px !important; -} - -.pl-31 { - padding-left: 31px !important; -} - -.pr-31 { - padding-right: 31px !important; -} - -.vh-31 { - height: 31vh !important; -} - -.vw-31 { - width: 31vw !important; -} - -.font-31 { - font-size: 31px !important; -} - -.m-32 { - margin: 32px !important; -} - -.mt-32 { - margin-top: 32px !important; -} - -.mb-32 { - margin-bottom: 32px !important; -} - -.ml-32 { - margin-left: 32px !important; -} - -.mr-32 { - margin-right: 32px !important; -} - -.p-32 { - padding: 32px !important; -} - -.pt-32 { - padding-top: 32px !important; -} - -.pb-32 { - padding-bottom: 32px !important; -} - -.pl-32 { - padding-left: 32px !important; -} - -.pr-32 { - padding-right: 32px !important; -} - -.vh-32 { - height: 32vh !important; -} - -.vw-32 { - width: 32vw !important; -} - -.font-32 { - font-size: 32px !important; -} - -.m-33 { - margin: 33px !important; -} - -.mt-33 { - margin-top: 33px !important; -} - -.mb-33 { - margin-bottom: 33px !important; -} - -.ml-33 { - margin-left: 33px !important; -} - -.mr-33 { - margin-right: 33px !important; -} - -.p-33 { - padding: 33px !important; -} - -.pt-33 { - padding-top: 33px !important; -} - -.pb-33 { - padding-bottom: 33px !important; -} - -.pl-33 { - padding-left: 33px !important; -} - -.pr-33 { - padding-right: 33px !important; -} - -.vh-33 { - height: 33vh !important; -} - -.vw-33 { - width: 33vw !important; -} - -.font-33 { - font-size: 33px !important; -} - -.m-34 { - margin: 34px !important; -} - -.mt-34 { - margin-top: 34px !important; -} - -.mb-34 { - margin-bottom: 34px !important; -} - -.ml-34 { - margin-left: 34px !important; -} - -.mr-34 { - margin-right: 34px !important; -} - -.p-34 { - padding: 34px !important; -} - -.pt-34 { - padding-top: 34px !important; -} - -.pb-34 { - padding-bottom: 34px !important; -} - -.pl-34 { - padding-left: 34px !important; -} - -.pr-34 { - padding-right: 34px !important; -} - -.vh-34 { - height: 34vh !important; -} - -.vw-34 { - width: 34vw !important; -} - -.font-34 { - font-size: 34px !important; -} - -.m-35 { - margin: 35px !important; -} - -.mt-35 { - margin-top: 35px !important; -} - -.mb-35 { - margin-bottom: 35px !important; -} - -.ml-35 { - margin-left: 35px !important; -} - -.mr-35 { - margin-right: 35px !important; -} - -.p-35 { - padding: 35px !important; -} - -.pt-35 { - padding-top: 35px !important; -} - -.pb-35 { - padding-bottom: 35px !important; -} - -.pl-35 { - padding-left: 35px !important; -} - -.pr-35 { - padding-right: 35px !important; -} - -.vh-35 { - height: 35vh !important; -} - -.vw-35 { - width: 35vw !important; -} - -.font-35 { - font-size: 35px !important; -} - -.m-36 { - margin: 36px !important; -} - -.mt-36 { - margin-top: 36px !important; -} - -.mb-36 { - margin-bottom: 36px !important; -} - -.ml-36 { - margin-left: 36px !important; -} - -.mr-36 { - margin-right: 36px !important; -} - -.p-36 { - padding: 36px !important; -} - -.pt-36 { - padding-top: 36px !important; -} - -.pb-36 { - padding-bottom: 36px !important; -} - -.pl-36 { - padding-left: 36px !important; -} - -.pr-36 { - padding-right: 36px !important; -} - -.vh-36 { - height: 36vh !important; -} - -.vw-36 { - width: 36vw !important; -} - -.font-36 { - font-size: 36px !important; -} - -.m-37 { - margin: 37px !important; -} - -.mt-37 { - margin-top: 37px !important; -} - -.mb-37 { - margin-bottom: 37px !important; -} - -.ml-37 { - margin-left: 37px !important; -} - -.mr-37 { - margin-right: 37px !important; -} - -.p-37 { - padding: 37px !important; -} - -.pt-37 { - padding-top: 37px !important; -} - -.pb-37 { - padding-bottom: 37px !important; -} - -.pl-37 { - padding-left: 37px !important; -} - -.pr-37 { - padding-right: 37px !important; -} - -.vh-37 { - height: 37vh !important; -} - -.vw-37 { - width: 37vw !important; -} - -.font-37 { - font-size: 37px !important; -} - -.m-38 { - margin: 38px !important; -} - -.mt-38 { - margin-top: 38px !important; -} - -.mb-38 { - margin-bottom: 38px !important; -} - -.ml-38 { - margin-left: 38px !important; -} - -.mr-38 { - margin-right: 38px !important; -} - -.p-38 { - padding: 38px !important; -} - -.pt-38 { - padding-top: 38px !important; -} - -.pb-38 { - padding-bottom: 38px !important; -} - -.pl-38 { - padding-left: 38px !important; -} - -.pr-38 { - padding-right: 38px !important; -} - -.vh-38 { - height: 38vh !important; -} - -.vw-38 { - width: 38vw !important; -} - -.font-38 { - font-size: 38px !important; -} - -.m-39 { - margin: 39px !important; -} - -.mt-39 { - margin-top: 39px !important; -} - -.mb-39 { - margin-bottom: 39px !important; -} - -.ml-39 { - margin-left: 39px !important; -} - -.mr-39 { - margin-right: 39px !important; -} - -.p-39 { - padding: 39px !important; -} - -.pt-39 { - padding-top: 39px !important; -} - -.pb-39 { - padding-bottom: 39px !important; -} - -.pl-39 { - padding-left: 39px !important; -} - -.pr-39 { - padding-right: 39px !important; -} - -.vh-39 { - height: 39vh !important; -} - -.vw-39 { - width: 39vw !important; -} - -.font-39 { - font-size: 39px !important; -} - -.m-40 { - margin: 40px !important; -} - -.mt-40 { - margin-top: 40px !important; -} - -.mb-40 { - margin-bottom: 40px !important; -} - -.ml-40 { - margin-left: 40px !important; -} - -.mr-40 { - margin-right: 40px !important; -} - -.p-40 { - padding: 40px !important; -} - -.pt-40 { - padding-top: 40px !important; -} - -.pb-40 { - padding-bottom: 40px !important; -} - -.pl-40 { - padding-left: 40px !important; -} - -.pr-40 { - padding-right: 40px !important; -} - -.vh-40 { - height: 40vh !important; -} - -.vw-40 { - width: 40vw !important; -} - -.font-40 { - font-size: 40px !important; -} - -.m-41 { - margin: 41px !important; -} - -.mt-41 { - margin-top: 41px !important; -} - -.mb-41 { - margin-bottom: 41px !important; -} - -.ml-41 { - margin-left: 41px !important; -} - -.mr-41 { - margin-right: 41px !important; -} - -.p-41 { - padding: 41px !important; -} - -.pt-41 { - padding-top: 41px !important; -} - -.pb-41 { - padding-bottom: 41px !important; -} - -.pl-41 { - padding-left: 41px !important; -} - -.pr-41 { - padding-right: 41px !important; -} - -.vh-41 { - height: 41vh !important; -} - -.vw-41 { - width: 41vw !important; -} - -.font-41 { - font-size: 41px !important; -} - -.m-42 { - margin: 42px !important; -} - -.mt-42 { - margin-top: 42px !important; -} - -.mb-42 { - margin-bottom: 42px !important; -} - -.ml-42 { - margin-left: 42px !important; -} - -.mr-42 { - margin-right: 42px !important; -} - -.p-42 { - padding: 42px !important; -} - -.pt-42 { - padding-top: 42px !important; -} - -.pb-42 { - padding-bottom: 42px !important; -} - -.pl-42 { - padding-left: 42px !important; -} - -.pr-42 { - padding-right: 42px !important; -} - -.vh-42 { - height: 42vh !important; -} - -.vw-42 { - width: 42vw !important; -} - -.font-42 { - font-size: 42px !important; -} - -.m-43 { - margin: 43px !important; -} - -.mt-43 { - margin-top: 43px !important; -} - -.mb-43 { - margin-bottom: 43px !important; -} - -.ml-43 { - margin-left: 43px !important; -} - -.mr-43 { - margin-right: 43px !important; -} - -.p-43 { - padding: 43px !important; -} - -.pt-43 { - padding-top: 43px !important; -} - -.pb-43 { - padding-bottom: 43px !important; -} - -.pl-43 { - padding-left: 43px !important; -} - -.pr-43 { - padding-right: 43px !important; -} - -.vh-43 { - height: 43vh !important; -} - -.vw-43 { - width: 43vw !important; -} - -.font-43 { - font-size: 43px !important; -} - -.m-44 { - margin: 44px !important; -} - -.mt-44 { - margin-top: 44px !important; -} - -.mb-44 { - margin-bottom: 44px !important; -} - -.ml-44 { - margin-left: 44px !important; -} - -.mr-44 { - margin-right: 44px !important; -} - -.p-44 { - padding: 44px !important; -} - -.pt-44 { - padding-top: 44px !important; -} - -.pb-44 { - padding-bottom: 44px !important; -} - -.pl-44 { - padding-left: 44px !important; -} - -.pr-44 { - padding-right: 44px !important; -} - -.vh-44 { - height: 44vh !important; -} - -.vw-44 { - width: 44vw !important; -} - -.font-44 { - font-size: 44px !important; -} - -.m-45 { - margin: 45px !important; -} - -.mt-45 { - margin-top: 45px !important; -} - -.mb-45 { - margin-bottom: 45px !important; -} - -.ml-45 { - margin-left: 45px !important; -} - -.mr-45 { - margin-right: 45px !important; -} - -.p-45 { - padding: 45px !important; -} - -.pt-45 { - padding-top: 45px !important; -} - -.pb-45 { - padding-bottom: 45px !important; -} - -.pl-45 { - padding-left: 45px !important; -} - -.pr-45 { - padding-right: 45px !important; -} - -.vh-45 { - height: 45vh !important; -} - -.vw-45 { - width: 45vw !important; -} - -.font-45 { - font-size: 45px !important; -} - -.m-46 { - margin: 46px !important; -} - -.mt-46 { - margin-top: 46px !important; -} - -.mb-46 { - margin-bottom: 46px !important; -} - -.ml-46 { - margin-left: 46px !important; -} - -.mr-46 { - margin-right: 46px !important; -} - -.p-46 { - padding: 46px !important; -} - -.pt-46 { - padding-top: 46px !important; -} - -.pb-46 { - padding-bottom: 46px !important; -} - -.pl-46 { - padding-left: 46px !important; -} - -.pr-46 { - padding-right: 46px !important; -} - -.vh-46 { - height: 46vh !important; -} - -.vw-46 { - width: 46vw !important; -} - -.font-46 { - font-size: 46px !important; -} - -.m-47 { - margin: 47px !important; -} - -.mt-47 { - margin-top: 47px !important; -} - -.mb-47 { - margin-bottom: 47px !important; -} - -.ml-47 { - margin-left: 47px !important; -} - -.mr-47 { - margin-right: 47px !important; -} - -.p-47 { - padding: 47px !important; -} - -.pt-47 { - padding-top: 47px !important; -} - -.pb-47 { - padding-bottom: 47px !important; -} - -.pl-47 { - padding-left: 47px !important; -} - -.pr-47 { - padding-right: 47px !important; -} - -.vh-47 { - height: 47vh !important; -} - -.vw-47 { - width: 47vw !important; -} - -.font-47 { - font-size: 47px !important; -} - -.m-48 { - margin: 48px !important; -} - -.mt-48 { - margin-top: 48px !important; -} - -.mb-48 { - margin-bottom: 48px !important; -} - -.ml-48 { - margin-left: 48px !important; -} - -.mr-48 { - margin-right: 48px !important; -} - -.p-48 { - padding: 48px !important; -} - -.pt-48 { - padding-top: 48px !important; -} - -.pb-48 { - padding-bottom: 48px !important; -} - -.pl-48 { - padding-left: 48px !important; -} - -.pr-48 { - padding-right: 48px !important; -} - -.vh-48 { - height: 48vh !important; -} - -.vw-48 { - width: 48vw !important; -} - -.font-48 { - font-size: 48px !important; -} - -.m-49 { - margin: 49px !important; -} - -.mt-49 { - margin-top: 49px !important; -} - -.mb-49 { - margin-bottom: 49px !important; -} - -.ml-49 { - margin-left: 49px !important; -} - -.mr-49 { - margin-right: 49px !important; -} - -.p-49 { - padding: 49px !important; -} - -.pt-49 { - padding-top: 49px !important; -} - -.pb-49 { - padding-bottom: 49px !important; -} - -.pl-49 { - padding-left: 49px !important; -} - -.pr-49 { - padding-right: 49px !important; -} - -.vh-49 { - height: 49vh !important; -} - -.vw-49 { - width: 49vw !important; -} - -.font-49 { - font-size: 49px !important; -} - -.m-50 { - margin: 50px !important; -} - -.mt-50 { - margin-top: 50px !important; -} - -.mb-50 { - margin-bottom: 50px !important; -} - -.ml-50 { - margin-left: 50px !important; -} - -.mr-50 { - margin-right: 50px !important; -} - -.p-50 { - padding: 50px !important; -} - -.pt-50 { - padding-top: 50px !important; -} - -.pb-50 { - padding-bottom: 50px !important; -} - -.pl-50 { - padding-left: 50px !important; -} - -.pr-50 { - padding-right: 50px !important; -} - -.vh-50 { - height: 50vh !important; -} - -.vw-50 { - width: 50vw !important; -} - -.font-50 { - font-size: 50px !important; -} - -.m-51 { - margin: 51px !important; -} - -.mt-51 { - margin-top: 51px !important; -} - -.mb-51 { - margin-bottom: 51px !important; -} - -.ml-51 { - margin-left: 51px !important; -} - -.mr-51 { - margin-right: 51px !important; -} - -.p-51 { - padding: 51px !important; -} - -.pt-51 { - padding-top: 51px !important; -} - -.pb-51 { - padding-bottom: 51px !important; -} - -.pl-51 { - padding-left: 51px !important; -} - -.pr-51 { - padding-right: 51px !important; -} - -.vh-51 { - height: 51vh !important; -} - -.vw-51 { - width: 51vw !important; -} - -.font-51 { - font-size: 51px !important; -} - -.m-52 { - margin: 52px !important; -} - -.mt-52 { - margin-top: 52px !important; -} - -.mb-52 { - margin-bottom: 52px !important; -} - -.ml-52 { - margin-left: 52px !important; -} - -.mr-52 { - margin-right: 52px !important; -} - -.p-52 { - padding: 52px !important; -} - -.pt-52 { - padding-top: 52px !important; -} - -.pb-52 { - padding-bottom: 52px !important; -} - -.pl-52 { - padding-left: 52px !important; -} - -.pr-52 { - padding-right: 52px !important; -} - -.vh-52 { - height: 52vh !important; -} - -.vw-52 { - width: 52vw !important; -} - -.font-52 { - font-size: 52px !important; -} - -.m-53 { - margin: 53px !important; -} - -.mt-53 { - margin-top: 53px !important; -} - -.mb-53 { - margin-bottom: 53px !important; -} - -.ml-53 { - margin-left: 53px !important; -} - -.mr-53 { - margin-right: 53px !important; -} - -.p-53 { - padding: 53px !important; -} - -.pt-53 { - padding-top: 53px !important; -} - -.pb-53 { - padding-bottom: 53px !important; -} - -.pl-53 { - padding-left: 53px !important; -} - -.pr-53 { - padding-right: 53px !important; -} - -.vh-53 { - height: 53vh !important; -} - -.vw-53 { - width: 53vw !important; -} - -.font-53 { - font-size: 53px !important; -} - -.m-54 { - margin: 54px !important; -} - -.mt-54 { - margin-top: 54px !important; -} - -.mb-54 { - margin-bottom: 54px !important; -} - -.ml-54 { - margin-left: 54px !important; -} - -.mr-54 { - margin-right: 54px !important; -} - -.p-54 { - padding: 54px !important; -} - -.pt-54 { - padding-top: 54px !important; -} - -.pb-54 { - padding-bottom: 54px !important; -} - -.pl-54 { - padding-left: 54px !important; -} - -.pr-54 { - padding-right: 54px !important; -} - -.vh-54 { - height: 54vh !important; -} - -.vw-54 { - width: 54vw !important; -} - -.font-54 { - font-size: 54px !important; -} - -.m-55 { - margin: 55px !important; -} - -.mt-55 { - margin-top: 55px !important; -} - -.mb-55 { - margin-bottom: 55px !important; -} - -.ml-55 { - margin-left: 55px !important; -} - -.mr-55 { - margin-right: 55px !important; -} - -.p-55 { - padding: 55px !important; -} - -.pt-55 { - padding-top: 55px !important; -} - -.pb-55 { - padding-bottom: 55px !important; -} - -.pl-55 { - padding-left: 55px !important; -} - -.pr-55 { - padding-right: 55px !important; -} - -.vh-55 { - height: 55vh !important; -} - -.vw-55 { - width: 55vw !important; -} - -.font-55 { - font-size: 55px !important; -} - -.m-56 { - margin: 56px !important; -} - -.mt-56 { - margin-top: 56px !important; -} - -.mb-56 { - margin-bottom: 56px !important; -} - -.ml-56 { - margin-left: 56px !important; -} - -.mr-56 { - margin-right: 56px !important; -} - -.p-56 { - padding: 56px !important; -} - -.pt-56 { - padding-top: 56px !important; -} - -.pb-56 { - padding-bottom: 56px !important; -} - -.pl-56 { - padding-left: 56px !important; -} - -.pr-56 { - padding-right: 56px !important; -} - -.vh-56 { - height: 56vh !important; -} - -.vw-56 { - width: 56vw !important; -} - -.font-56 { - font-size: 56px !important; -} - -.m-57 { - margin: 57px !important; -} - -.mt-57 { - margin-top: 57px !important; -} - -.mb-57 { - margin-bottom: 57px !important; -} - -.ml-57 { - margin-left: 57px !important; -} - -.mr-57 { - margin-right: 57px !important; -} - -.p-57 { - padding: 57px !important; -} - -.pt-57 { - padding-top: 57px !important; -} - -.pb-57 { - padding-bottom: 57px !important; -} - -.pl-57 { - padding-left: 57px !important; -} - -.pr-57 { - padding-right: 57px !important; -} - -.vh-57 { - height: 57vh !important; -} - -.vw-57 { - width: 57vw !important; -} - -.font-57 { - font-size: 57px !important; -} - -.m-58 { - margin: 58px !important; -} - -.mt-58 { - margin-top: 58px !important; -} - -.mb-58 { - margin-bottom: 58px !important; -} - -.ml-58 { - margin-left: 58px !important; -} - -.mr-58 { - margin-right: 58px !important; -} - -.p-58 { - padding: 58px !important; -} - -.pt-58 { - padding-top: 58px !important; -} - -.pb-58 { - padding-bottom: 58px !important; -} - -.pl-58 { - padding-left: 58px !important; -} - -.pr-58 { - padding-right: 58px !important; -} - -.vh-58 { - height: 58vh !important; -} - -.vw-58 { - width: 58vw !important; -} - -.font-58 { - font-size: 58px !important; -} - -.m-59 { - margin: 59px !important; -} - -.mt-59 { - margin-top: 59px !important; -} - -.mb-59 { - margin-bottom: 59px !important; -} - -.ml-59 { - margin-left: 59px !important; -} - -.mr-59 { - margin-right: 59px !important; -} - -.p-59 { - padding: 59px !important; -} - -.pt-59 { - padding-top: 59px !important; -} - -.pb-59 { - padding-bottom: 59px !important; -} - -.pl-59 { - padding-left: 59px !important; -} - -.pr-59 { - padding-right: 59px !important; -} - -.vh-59 { - height: 59vh !important; -} - -.vw-59 { - width: 59vw !important; -} - -.font-59 { - font-size: 59px !important; -} - -.m-60 { - margin: 60px !important; -} - -.mt-60 { - margin-top: 60px !important; -} - -.mb-60 { - margin-bottom: 60px !important; -} - -.ml-60 { - margin-left: 60px !important; -} - -.mr-60 { - margin-right: 60px !important; -} - -.p-60 { - padding: 60px !important; -} - -.pt-60 { - padding-top: 60px !important; -} - -.pb-60 { - padding-bottom: 60px !important; -} - -.pl-60 { - padding-left: 60px !important; -} - -.pr-60 { - padding-right: 60px !important; -} - -.vh-60 { - height: 60vh !important; -} - -.vw-60 { - width: 60vw !important; -} - -.font-60 { - font-size: 60px !important; -} - -.m-61 { - margin: 61px !important; -} - -.mt-61 { - margin-top: 61px !important; -} - -.mb-61 { - margin-bottom: 61px !important; -} - -.ml-61 { - margin-left: 61px !important; -} - -.mr-61 { - margin-right: 61px !important; -} - -.p-61 { - padding: 61px !important; -} - -.pt-61 { - padding-top: 61px !important; -} - -.pb-61 { - padding-bottom: 61px !important; -} - -.pl-61 { - padding-left: 61px !important; -} - -.pr-61 { - padding-right: 61px !important; -} - -.vh-61 { - height: 61vh !important; -} - -.vw-61 { - width: 61vw !important; -} - -.font-61 { - font-size: 61px !important; -} - -.m-62 { - margin: 62px !important; -} - -.mt-62 { - margin-top: 62px !important; -} - -.mb-62 { - margin-bottom: 62px !important; -} - -.ml-62 { - margin-left: 62px !important; -} - -.mr-62 { - margin-right: 62px !important; -} - -.p-62 { - padding: 62px !important; -} - -.pt-62 { - padding-top: 62px !important; -} - -.pb-62 { - padding-bottom: 62px !important; -} - -.pl-62 { - padding-left: 62px !important; -} - -.pr-62 { - padding-right: 62px !important; -} - -.vh-62 { - height: 62vh !important; -} - -.vw-62 { - width: 62vw !important; -} - -.font-62 { - font-size: 62px !important; -} - -.m-63 { - margin: 63px !important; -} - -.mt-63 { - margin-top: 63px !important; -} - -.mb-63 { - margin-bottom: 63px !important; -} - -.ml-63 { - margin-left: 63px !important; -} - -.mr-63 { - margin-right: 63px !important; -} - -.p-63 { - padding: 63px !important; -} - -.pt-63 { - padding-top: 63px !important; -} - -.pb-63 { - padding-bottom: 63px !important; -} - -.pl-63 { - padding-left: 63px !important; -} - -.pr-63 { - padding-right: 63px !important; -} - -.vh-63 { - height: 63vh !important; -} - -.vw-63 { - width: 63vw !important; -} - -.font-63 { - font-size: 63px !important; -} - -.m-64 { - margin: 64px !important; -} - -.mt-64 { - margin-top: 64px !important; -} - -.mb-64 { - margin-bottom: 64px !important; -} - -.ml-64 { - margin-left: 64px !important; -} - -.mr-64 { - margin-right: 64px !important; -} - -.p-64 { - padding: 64px !important; -} - -.pt-64 { - padding-top: 64px !important; -} - -.pb-64 { - padding-bottom: 64px !important; -} - -.pl-64 { - padding-left: 64px !important; -} - -.pr-64 { - padding-right: 64px !important; -} - -.vh-64 { - height: 64vh !important; -} - -.vw-64 { - width: 64vw !important; -} - -.font-64 { - font-size: 64px !important; -} - -.m-65 { - margin: 65px !important; -} - -.mt-65 { - margin-top: 65px !important; -} - -.mb-65 { - margin-bottom: 65px !important; -} - -.ml-65 { - margin-left: 65px !important; -} - -.mr-65 { - margin-right: 65px !important; -} - -.p-65 { - padding: 65px !important; -} - -.pt-65 { - padding-top: 65px !important; -} - -.pb-65 { - padding-bottom: 65px !important; -} - -.pl-65 { - padding-left: 65px !important; -} - -.pr-65 { - padding-right: 65px !important; -} - -.vh-65 { - height: 65vh !important; -} - -.vw-65 { - width: 65vw !important; -} - -.font-65 { - font-size: 65px !important; -} - -.m-66 { - margin: 66px !important; -} - -.mt-66 { - margin-top: 66px !important; -} - -.mb-66 { - margin-bottom: 66px !important; -} - -.ml-66 { - margin-left: 66px !important; -} - -.mr-66 { - margin-right: 66px !important; -} - -.p-66 { - padding: 66px !important; -} - -.pt-66 { - padding-top: 66px !important; -} - -.pb-66 { - padding-bottom: 66px !important; -} - -.pl-66 { - padding-left: 66px !important; -} - -.pr-66 { - padding-right: 66px !important; -} - -.vh-66 { - height: 66vh !important; -} - -.vw-66 { - width: 66vw !important; -} - -.font-66 { - font-size: 66px !important; -} - -.m-67 { - margin: 67px !important; -} - -.mt-67 { - margin-top: 67px !important; -} - -.mb-67 { - margin-bottom: 67px !important; -} - -.ml-67 { - margin-left: 67px !important; -} - -.mr-67 { - margin-right: 67px !important; -} - -.p-67 { - padding: 67px !important; -} - -.pt-67 { - padding-top: 67px !important; -} - -.pb-67 { - padding-bottom: 67px !important; -} - -.pl-67 { - padding-left: 67px !important; -} - -.pr-67 { - padding-right: 67px !important; -} - -.vh-67 { - height: 67vh !important; -} - -.vw-67 { - width: 67vw !important; -} - -.font-67 { - font-size: 67px !important; -} - -.m-68 { - margin: 68px !important; -} - -.mt-68 { - margin-top: 68px !important; -} - -.mb-68 { - margin-bottom: 68px !important; -} - -.ml-68 { - margin-left: 68px !important; -} - -.mr-68 { - margin-right: 68px !important; -} - -.p-68 { - padding: 68px !important; -} - -.pt-68 { - padding-top: 68px !important; -} - -.pb-68 { - padding-bottom: 68px !important; -} - -.pl-68 { - padding-left: 68px !important; -} - -.pr-68 { - padding-right: 68px !important; -} - -.vh-68 { - height: 68vh !important; -} - -.vw-68 { - width: 68vw !important; -} - -.font-68 { - font-size: 68px !important; -} - -.m-69 { - margin: 69px !important; -} - -.mt-69 { - margin-top: 69px !important; -} - -.mb-69 { - margin-bottom: 69px !important; -} - -.ml-69 { - margin-left: 69px !important; -} - -.mr-69 { - margin-right: 69px !important; -} - -.p-69 { - padding: 69px !important; -} - -.pt-69 { - padding-top: 69px !important; -} - -.pb-69 { - padding-bottom: 69px !important; -} - -.pl-69 { - padding-left: 69px !important; -} - -.pr-69 { - padding-right: 69px !important; -} - -.vh-69 { - height: 69vh !important; -} - -.vw-69 { - width: 69vw !important; -} - -.font-69 { - font-size: 69px !important; -} - -.m-70 { - margin: 70px !important; -} - -.mt-70 { - margin-top: 70px !important; -} - -.mb-70 { - margin-bottom: 70px !important; -} - -.ml-70 { - margin-left: 70px !important; -} - -.mr-70 { - margin-right: 70px !important; -} - -.p-70 { - padding: 70px !important; -} - -.pt-70 { - padding-top: 70px !important; -} - -.pb-70 { - padding-bottom: 70px !important; -} - -.pl-70 { - padding-left: 70px !important; -} - -.pr-70 { - padding-right: 70px !important; -} - -.vh-70 { - height: 70vh !important; -} - -.vw-70 { - width: 70vw !important; -} - -.font-70 { - font-size: 70px !important; -} - -.m-71 { - margin: 71px !important; -} - -.mt-71 { - margin-top: 71px !important; -} - -.mb-71 { - margin-bottom: 71px !important; -} - -.ml-71 { - margin-left: 71px !important; -} - -.mr-71 { - margin-right: 71px !important; -} - -.p-71 { - padding: 71px !important; -} - -.pt-71 { - padding-top: 71px !important; -} - -.pb-71 { - padding-bottom: 71px !important; -} - -.pl-71 { - padding-left: 71px !important; -} - -.pr-71 { - padding-right: 71px !important; -} - -.vh-71 { - height: 71vh !important; -} - -.vw-71 { - width: 71vw !important; -} - -.font-71 { - font-size: 71px !important; -} - -.m-72 { - margin: 72px !important; -} - -.mt-72 { - margin-top: 72px !important; -} - -.mb-72 { - margin-bottom: 72px !important; -} - -.ml-72 { - margin-left: 72px !important; -} - -.mr-72 { - margin-right: 72px !important; -} - -.p-72 { - padding: 72px !important; -} - -.pt-72 { - padding-top: 72px !important; -} - -.pb-72 { - padding-bottom: 72px !important; -} - -.pl-72 { - padding-left: 72px !important; -} - -.pr-72 { - padding-right: 72px !important; -} - -.vh-72 { - height: 72vh !important; -} - -.vw-72 { - width: 72vw !important; -} - -.font-72 { - font-size: 72px !important; -} - -.m-73 { - margin: 73px !important; -} - -.mt-73 { - margin-top: 73px !important; -} - -.mb-73 { - margin-bottom: 73px !important; -} - -.ml-73 { - margin-left: 73px !important; -} - -.mr-73 { - margin-right: 73px !important; -} - -.p-73 { - padding: 73px !important; -} - -.pt-73 { - padding-top: 73px !important; -} - -.pb-73 { - padding-bottom: 73px !important; -} - -.pl-73 { - padding-left: 73px !important; -} - -.pr-73 { - padding-right: 73px !important; -} - -.vh-73 { - height: 73vh !important; -} - -.vw-73 { - width: 73vw !important; -} - -.font-73 { - font-size: 73px !important; -} - -.m-74 { - margin: 74px !important; -} - -.mt-74 { - margin-top: 74px !important; -} - -.mb-74 { - margin-bottom: 74px !important; -} - -.ml-74 { - margin-left: 74px !important; -} - -.mr-74 { - margin-right: 74px !important; -} - -.p-74 { - padding: 74px !important; -} - -.pt-74 { - padding-top: 74px !important; -} - -.pb-74 { - padding-bottom: 74px !important; -} - -.pl-74 { - padding-left: 74px !important; -} - -.pr-74 { - padding-right: 74px !important; -} - -.vh-74 { - height: 74vh !important; -} - -.vw-74 { - width: 74vw !important; -} - -.font-74 { - font-size: 74px !important; -} - -.m-75 { - margin: 75px !important; -} - -.mt-75 { - margin-top: 75px !important; -} - -.mb-75 { - margin-bottom: 75px !important; -} - -.ml-75 { - margin-left: 75px !important; -} - -.mr-75 { - margin-right: 75px !important; -} - -.p-75 { - padding: 75px !important; -} - -.pt-75 { - padding-top: 75px !important; -} - -.pb-75 { - padding-bottom: 75px !important; -} - -.pl-75 { - padding-left: 75px !important; -} - -.pr-75 { - padding-right: 75px !important; -} - -.vh-75 { - height: 75vh !important; -} - -.vw-75 { - width: 75vw !important; -} - -.font-75 { - font-size: 75px !important; -} - -.m-76 { - margin: 76px !important; -} - -.mt-76 { - margin-top: 76px !important; -} - -.mb-76 { - margin-bottom: 76px !important; -} - -.ml-76 { - margin-left: 76px !important; -} - -.mr-76 { - margin-right: 76px !important; -} - -.p-76 { - padding: 76px !important; -} - -.pt-76 { - padding-top: 76px !important; -} - -.pb-76 { - padding-bottom: 76px !important; -} - -.pl-76 { - padding-left: 76px !important; -} - -.pr-76 { - padding-right: 76px !important; -} - -.vh-76 { - height: 76vh !important; -} - -.vw-76 { - width: 76vw !important; -} - -.font-76 { - font-size: 76px !important; -} - -.m-77 { - margin: 77px !important; -} - -.mt-77 { - margin-top: 77px !important; -} - -.mb-77 { - margin-bottom: 77px !important; -} - -.ml-77 { - margin-left: 77px !important; -} - -.mr-77 { - margin-right: 77px !important; -} - -.p-77 { - padding: 77px !important; -} - -.pt-77 { - padding-top: 77px !important; -} - -.pb-77 { - padding-bottom: 77px !important; -} - -.pl-77 { - padding-left: 77px !important; -} - -.pr-77 { - padding-right: 77px !important; -} - -.vh-77 { - height: 77vh !important; -} - -.vw-77 { - width: 77vw !important; -} - -.font-77 { - font-size: 77px !important; -} - -.m-78 { - margin: 78px !important; -} - -.mt-78 { - margin-top: 78px !important; -} - -.mb-78 { - margin-bottom: 78px !important; -} - -.ml-78 { - margin-left: 78px !important; -} - -.mr-78 { - margin-right: 78px !important; -} - -.p-78 { - padding: 78px !important; -} - -.pt-78 { - padding-top: 78px !important; -} - -.pb-78 { - padding-bottom: 78px !important; -} - -.pl-78 { - padding-left: 78px !important; -} - -.pr-78 { - padding-right: 78px !important; -} - -.vh-78 { - height: 78vh !important; -} - -.vw-78 { - width: 78vw !important; -} - -.font-78 { - font-size: 78px !important; -} - -.m-79 { - margin: 79px !important; -} - -.mt-79 { - margin-top: 79px !important; -} - -.mb-79 { - margin-bottom: 79px !important; -} - -.ml-79 { - margin-left: 79px !important; -} - -.mr-79 { - margin-right: 79px !important; -} - -.p-79 { - padding: 79px !important; -} - -.pt-79 { - padding-top: 79px !important; -} - -.pb-79 { - padding-bottom: 79px !important; -} - -.pl-79 { - padding-left: 79px !important; -} - -.pr-79 { - padding-right: 79px !important; -} - -.vh-79 { - height: 79vh !important; -} - -.vw-79 { - width: 79vw !important; -} - -.font-79 { - font-size: 79px !important; -} - -.m-80 { - margin: 80px !important; -} - -.mt-80 { - margin-top: 80px !important; -} - -.mb-80 { - margin-bottom: 80px !important; -} - -.ml-80 { - margin-left: 80px !important; -} - -.mr-80 { - margin-right: 80px !important; -} - -.p-80 { - padding: 80px !important; -} - -.pt-80 { - padding-top: 80px !important; -} - -.pb-80 { - padding-bottom: 80px !important; -} - -.pl-80 { - padding-left: 80px !important; -} - -.pr-80 { - padding-right: 80px !important; -} - -.vh-80 { - height: 80vh !important; -} - -.vw-80 { - width: 80vw !important; -} - -.font-80 { - font-size: 80px !important; -} - -.m-81 { - margin: 81px !important; -} - -.mt-81 { - margin-top: 81px !important; -} - -.mb-81 { - margin-bottom: 81px !important; -} - -.ml-81 { - margin-left: 81px !important; -} - -.mr-81 { - margin-right: 81px !important; -} - -.p-81 { - padding: 81px !important; -} - -.pt-81 { - padding-top: 81px !important; -} - -.pb-81 { - padding-bottom: 81px !important; -} - -.pl-81 { - padding-left: 81px !important; -} - -.pr-81 { - padding-right: 81px !important; -} - -.vh-81 { - height: 81vh !important; -} - -.vw-81 { - width: 81vw !important; -} - -.font-81 { - font-size: 81px !important; -} - -.m-82 { - margin: 82px !important; -} - -.mt-82 { - margin-top: 82px !important; -} - -.mb-82 { - margin-bottom: 82px !important; -} - -.ml-82 { - margin-left: 82px !important; -} - -.mr-82 { - margin-right: 82px !important; -} - -.p-82 { - padding: 82px !important; -} - -.pt-82 { - padding-top: 82px !important; -} - -.pb-82 { - padding-bottom: 82px !important; -} - -.pl-82 { - padding-left: 82px !important; -} - -.pr-82 { - padding-right: 82px !important; -} - -.vh-82 { - height: 82vh !important; -} - -.vw-82 { - width: 82vw !important; -} - -.font-82 { - font-size: 82px !important; -} - -.m-83 { - margin: 83px !important; -} - -.mt-83 { - margin-top: 83px !important; -} - -.mb-83 { - margin-bottom: 83px !important; -} - -.ml-83 { - margin-left: 83px !important; -} - -.mr-83 { - margin-right: 83px !important; -} - -.p-83 { - padding: 83px !important; -} - -.pt-83 { - padding-top: 83px !important; -} - -.pb-83 { - padding-bottom: 83px !important; -} - -.pl-83 { - padding-left: 83px !important; -} - -.pr-83 { - padding-right: 83px !important; -} - -.vh-83 { - height: 83vh !important; -} - -.vw-83 { - width: 83vw !important; -} - -.font-83 { - font-size: 83px !important; -} - -.m-84 { - margin: 84px !important; -} - -.mt-84 { - margin-top: 84px !important; -} - -.mb-84 { - margin-bottom: 84px !important; -} - -.ml-84 { - margin-left: 84px !important; -} - -.mr-84 { - margin-right: 84px !important; -} - -.p-84 { - padding: 84px !important; -} - -.pt-84 { - padding-top: 84px !important; -} - -.pb-84 { - padding-bottom: 84px !important; -} - -.pl-84 { - padding-left: 84px !important; -} - -.pr-84 { - padding-right: 84px !important; -} - -.vh-84 { - height: 84vh !important; -} - -.vw-84 { - width: 84vw !important; -} - -.font-84 { - font-size: 84px !important; -} - -.m-85 { - margin: 85px !important; -} - -.mt-85 { - margin-top: 85px !important; -} - -.mb-85 { - margin-bottom: 85px !important; -} - -.ml-85 { - margin-left: 85px !important; -} - -.mr-85 { - margin-right: 85px !important; -} - -.p-85 { - padding: 85px !important; -} - -.pt-85 { - padding-top: 85px !important; -} - -.pb-85 { - padding-bottom: 85px !important; -} - -.pl-85 { - padding-left: 85px !important; -} - -.pr-85 { - padding-right: 85px !important; -} - -.vh-85 { - height: 85vh !important; -} - -.vw-85 { - width: 85vw !important; -} - -.font-85 { - font-size: 85px !important; -} - -.m-86 { - margin: 86px !important; -} - -.mt-86 { - margin-top: 86px !important; -} - -.mb-86 { - margin-bottom: 86px !important; -} - -.ml-86 { - margin-left: 86px !important; -} - -.mr-86 { - margin-right: 86px !important; -} - -.p-86 { - padding: 86px !important; -} - -.pt-86 { - padding-top: 86px !important; -} - -.pb-86 { - padding-bottom: 86px !important; -} - -.pl-86 { - padding-left: 86px !important; -} - -.pr-86 { - padding-right: 86px !important; -} - -.vh-86 { - height: 86vh !important; -} - -.vw-86 { - width: 86vw !important; -} - -.font-86 { - font-size: 86px !important; -} - -.m-87 { - margin: 87px !important; -} - -.mt-87 { - margin-top: 87px !important; -} - -.mb-87 { - margin-bottom: 87px !important; -} - -.ml-87 { - margin-left: 87px !important; -} - -.mr-87 { - margin-right: 87px !important; -} - -.p-87 { - padding: 87px !important; -} - -.pt-87 { - padding-top: 87px !important; -} - -.pb-87 { - padding-bottom: 87px !important; -} - -.pl-87 { - padding-left: 87px !important; -} - -.pr-87 { - padding-right: 87px !important; -} - -.vh-87 { - height: 87vh !important; -} - -.vw-87 { - width: 87vw !important; -} - -.font-87 { - font-size: 87px !important; -} - -.m-88 { - margin: 88px !important; -} - -.mt-88 { - margin-top: 88px !important; -} - -.mb-88 { - margin-bottom: 88px !important; -} - -.ml-88 { - margin-left: 88px !important; -} - -.mr-88 { - margin-right: 88px !important; -} - -.p-88 { - padding: 88px !important; -} - -.pt-88 { - padding-top: 88px !important; -} - -.pb-88 { - padding-bottom: 88px !important; -} - -.pl-88 { - padding-left: 88px !important; -} - -.pr-88 { - padding-right: 88px !important; -} - -.vh-88 { - height: 88vh !important; -} - -.vw-88 { - width: 88vw !important; -} - -.font-88 { - font-size: 88px !important; -} - -.m-89 { - margin: 89px !important; -} - -.mt-89 { - margin-top: 89px !important; -} - -.mb-89 { - margin-bottom: 89px !important; -} - -.ml-89 { - margin-left: 89px !important; -} - -.mr-89 { - margin-right: 89px !important; -} - -.p-89 { - padding: 89px !important; -} - -.pt-89 { - padding-top: 89px !important; -} - -.pb-89 { - padding-bottom: 89px !important; -} - -.pl-89 { - padding-left: 89px !important; -} - -.pr-89 { - padding-right: 89px !important; -} - -.vh-89 { - height: 89vh !important; -} - -.vw-89 { - width: 89vw !important; -} - -.font-89 { - font-size: 89px !important; -} - -.m-90 { - margin: 90px !important; -} - -.mt-90 { - margin-top: 90px !important; -} - -.mb-90 { - margin-bottom: 90px !important; -} - -.ml-90 { - margin-left: 90px !important; -} - -.mr-90 { - margin-right: 90px !important; -} - -.p-90 { - padding: 90px !important; -} - -.pt-90 { - padding-top: 90px !important; -} - -.pb-90 { - padding-bottom: 90px !important; -} - -.pl-90 { - padding-left: 90px !important; -} - -.pr-90 { - padding-right: 90px !important; -} - -.vh-90 { - height: 90vh !important; -} - -.vw-90 { - width: 90vw !important; -} - -.font-90 { - font-size: 90px !important; -} - -.m-91 { - margin: 91px !important; -} - -.mt-91 { - margin-top: 91px !important; -} - -.mb-91 { - margin-bottom: 91px !important; -} - -.ml-91 { - margin-left: 91px !important; -} - -.mr-91 { - margin-right: 91px !important; -} - -.p-91 { - padding: 91px !important; -} - -.pt-91 { - padding-top: 91px !important; -} - -.pb-91 { - padding-bottom: 91px !important; -} - -.pl-91 { - padding-left: 91px !important; -} - -.pr-91 { - padding-right: 91px !important; -} - -.vh-91 { - height: 91vh !important; -} - -.vw-91 { - width: 91vw !important; -} - -.font-91 { - font-size: 91px !important; -} - -.m-92 { - margin: 92px !important; -} - -.mt-92 { - margin-top: 92px !important; -} - -.mb-92 { - margin-bottom: 92px !important; -} - -.ml-92 { - margin-left: 92px !important; -} - -.mr-92 { - margin-right: 92px !important; -} - -.p-92 { - padding: 92px !important; -} - -.pt-92 { - padding-top: 92px !important; -} - -.pb-92 { - padding-bottom: 92px !important; -} - -.pl-92 { - padding-left: 92px !important; -} - -.pr-92 { - padding-right: 92px !important; -} - -.vh-92 { - height: 92vh !important; -} - -.vw-92 { - width: 92vw !important; -} - -.font-92 { - font-size: 92px !important; -} - -.m-93 { - margin: 93px !important; -} - -.mt-93 { - margin-top: 93px !important; -} - -.mb-93 { - margin-bottom: 93px !important; -} - -.ml-93 { - margin-left: 93px !important; -} - -.mr-93 { - margin-right: 93px !important; -} - -.p-93 { - padding: 93px !important; -} - -.pt-93 { - padding-top: 93px !important; -} - -.pb-93 { - padding-bottom: 93px !important; -} - -.pl-93 { - padding-left: 93px !important; -} - -.pr-93 { - padding-right: 93px !important; -} - -.vh-93 { - height: 93vh !important; -} - -.vw-93 { - width: 93vw !important; -} - -.font-93 { - font-size: 93px !important; -} - -.m-94 { - margin: 94px !important; -} - -.mt-94 { - margin-top: 94px !important; -} - -.mb-94 { - margin-bottom: 94px !important; -} - -.ml-94 { - margin-left: 94px !important; -} - -.mr-94 { - margin-right: 94px !important; -} - -.p-94 { - padding: 94px !important; -} - -.pt-94 { - padding-top: 94px !important; -} - -.pb-94 { - padding-bottom: 94px !important; -} - -.pl-94 { - padding-left: 94px !important; -} - -.pr-94 { - padding-right: 94px !important; -} - -.vh-94 { - height: 94vh !important; -} - -.vw-94 { - width: 94vw !important; -} - -.font-94 { - font-size: 94px !important; -} - -.m-95 { - margin: 95px !important; -} - -.mt-95 { - margin-top: 95px !important; -} - -.mb-95 { - margin-bottom: 95px !important; -} - -.ml-95 { - margin-left: 95px !important; -} - -.mr-95 { - margin-right: 95px !important; -} - -.p-95 { - padding: 95px !important; -} - -.pt-95 { - padding-top: 95px !important; -} - -.pb-95 { - padding-bottom: 95px !important; -} - -.pl-95 { - padding-left: 95px !important; -} - -.pr-95 { - padding-right: 95px !important; -} - -.vh-95 { - height: 95vh !important; -} - -.vw-95 { - width: 95vw !important; -} - -.font-95 { - font-size: 95px !important; -} - -.m-96 { - margin: 96px !important; -} - -.mt-96 { - margin-top: 96px !important; -} - -.mb-96 { - margin-bottom: 96px !important; -} - -.ml-96 { - margin-left: 96px !important; -} - -.mr-96 { - margin-right: 96px !important; -} - -.p-96 { - padding: 96px !important; -} - -.pt-96 { - padding-top: 96px !important; -} - -.pb-96 { - padding-bottom: 96px !important; -} - -.pl-96 { - padding-left: 96px !important; -} - -.pr-96 { - padding-right: 96px !important; -} - -.vh-96 { - height: 96vh !important; -} - -.vw-96 { - width: 96vw !important; -} - -.font-96 { - font-size: 96px !important; -} - -.m-97 { - margin: 97px !important; -} - -.mt-97 { - margin-top: 97px !important; -} - -.mb-97 { - margin-bottom: 97px !important; -} - -.ml-97 { - margin-left: 97px !important; -} - -.mr-97 { - margin-right: 97px !important; -} - -.p-97 { - padding: 97px !important; -} - -.pt-97 { - padding-top: 97px !important; -} - -.pb-97 { - padding-bottom: 97px !important; -} - -.pl-97 { - padding-left: 97px !important; -} - -.pr-97 { - padding-right: 97px !important; -} - -.vh-97 { - height: 97vh !important; -} - -.vw-97 { - width: 97vw !important; -} - -.font-97 { - font-size: 97px !important; -} - -.m-98 { - margin: 98px !important; -} - -.mt-98 { - margin-top: 98px !important; -} - -.mb-98 { - margin-bottom: 98px !important; -} - -.ml-98 { - margin-left: 98px !important; -} - -.mr-98 { - margin-right: 98px !important; -} - -.p-98 { - padding: 98px !important; -} - -.pt-98 { - padding-top: 98px !important; -} - -.pb-98 { - padding-bottom: 98px !important; -} - -.pl-98 { - padding-left: 98px !important; -} - -.pr-98 { - padding-right: 98px !important; -} - -.vh-98 { - height: 98vh !important; -} - -.vw-98 { - width: 98vw !important; -} - -.font-98 { - font-size: 98px !important; -} - -.m-99 { - margin: 99px !important; -} - -.mt-99 { - margin-top: 99px !important; -} - -.mb-99 { - margin-bottom: 99px !important; -} - -.ml-99 { - margin-left: 99px !important; -} - -.mr-99 { - margin-right: 99px !important; -} - -.p-99 { - padding: 99px !important; -} - -.pt-99 { - padding-top: 99px !important; -} - -.pb-99 { - padding-bottom: 99px !important; -} - -.pl-99 { - padding-left: 99px !important; -} - -.pr-99 { - padding-right: 99px !important; -} - -.vh-99 { - height: 99vh !important; -} - -.vw-99 { - width: 99vw !important; -} - -.font-99 { - font-size: 99px !important; -} - -.m-100 { - margin: 100px !important; -} - -.mt-100 { - margin-top: 100px !important; -} - -.mb-100 { - margin-bottom: 100px !important; -} - -.ml-100 { - margin-left: 100px !important; -} - -.mr-100 { - margin-right: 100px !important; -} - -.p-100 { - padding: 100px !important; -} - -.pt-100 { - padding-top: 100px !important; -} - -.pb-100 { - padding-bottom: 100px !important; -} - -.pl-100 { - padding-left: 100px !important; -} - -.pr-100 { - padding-right: 100px !important; -} - -.vh-100 { - height: 100vh !important; -} - -.vw-100 { - width: 100vw !important; -} - -.font-100 { - font-size: 100px !important; -} - -/* Deafult height & widht */ -.height-0 { - height: 0px !important; -} - -.width-0 { - width: 0px !important; -} - -.height-1 { - height: 1px !important; -} - -.width-1 { - width: 1px !important; -} - -.height-2 { - height: 2px !important; -} - -.width-2 { - width: 2px !important; -} - -.height-3 { - height: 3px !important; -} - -.width-3 { - width: 3px !important; -} - -.height-4 { - height: 4px !important; -} - -.width-4 { - width: 4px !important; -} - -.height-5 { - height: 5px !important; -} - -.width-5 { - width: 5px !important; -} - -.height-6 { - height: 6px !important; -} - -.width-6 { - width: 6px !important; -} - -.height-7 { - height: 7px !important; -} - -.width-7 { - width: 7px !important; -} - -.height-8 { - height: 8px !important; -} - -.width-8 { - width: 8px !important; -} - -.height-9 { - height: 9px !important; -} - -.width-9 { - width: 9px !important; -} - -.height-10 { - height: 10px !important; -} - -.width-10 { - width: 10px !important; -} - -.height-11 { - height: 11px !important; -} - -.width-11 { - width: 11px !important; -} - -.height-12 { - height: 12px !important; -} - -.width-12 { - width: 12px !important; -} - -.height-13 { - height: 13px !important; -} - -.width-13 { - width: 13px !important; -} - -.height-14 { - height: 14px !important; -} - -.width-14 { - width: 14px !important; -} - -.height-15 { - height: 15px !important; -} - -.width-15 { - width: 15px !important; -} - -.height-16 { - height: 16px !important; -} - -.width-16 { - width: 16px !important; -} - -.height-17 { - height: 17px !important; -} - -.width-17 { - width: 17px !important; -} - -.height-18 { - height: 18px !important; -} - -.width-18 { - width: 18px !important; -} - -.height-19 { - height: 19px !important; -} - -.width-19 { - width: 19px !important; -} - -.height-20 { - height: 20px !important; -} - -.width-20 { - width: 20px !important; -} - -.height-21 { - height: 21px !important; -} - -.width-21 { - width: 21px !important; -} - -.height-22 { - height: 22px !important; -} - -.width-22 { - width: 22px !important; -} - -.height-23 { - height: 23px !important; -} - -.width-23 { - width: 23px !important; -} - -.height-24 { - height: 24px !important; -} - -.width-24 { - width: 24px !important; -} - -.height-25 { - height: 25px !important; -} - -.width-25 { - width: 25px !important; -} - -.height-26 { - height: 26px !important; -} - -.width-26 { - width: 26px !important; -} - -.height-27 { - height: 27px !important; -} - -.width-27 { - width: 27px !important; -} - -.height-28 { - height: 28px !important; -} - -.width-28 { - width: 28px !important; -} - -.height-29 { - height: 29px !important; -} - -.width-29 { - width: 29px !important; -} - -.height-30 { - height: 30px !important; -} - -.width-30 { - width: 30px !important; -} - -.height-31 { - height: 31px !important; -} - -.width-31 { - width: 31px !important; -} - -.height-32 { - height: 32px !important; -} - -.width-32 { - width: 32px !important; -} - -.height-33 { - height: 33px !important; -} - -.width-33 { - width: 33px !important; -} - -.height-34 { - height: 34px !important; -} - -.width-34 { - width: 34px !important; -} - -.height-35 { - height: 35px !important; -} - -.width-35 { - width: 35px !important; -} - -.height-36 { - height: 36px !important; -} - -.width-36 { - width: 36px !important; -} - -.height-37 { - height: 37px !important; -} - -.width-37 { - width: 37px !important; -} - -.height-38 { - height: 38px !important; -} - -.width-38 { - width: 38px !important; -} - -.height-39 { - height: 39px !important; -} - -.width-39 { - width: 39px !important; -} - -.height-40 { - height: 40px !important; -} - -.width-40 { - width: 40px !important; -} - -.height-41 { - height: 41px !important; -} - -.width-41 { - width: 41px !important; -} - -.height-42 { - height: 42px !important; -} - -.width-42 { - width: 42px !important; -} - -.height-43 { - height: 43px !important; -} - -.width-43 { - width: 43px !important; -} - -.height-44 { - height: 44px !important; -} - -.width-44 { - width: 44px !important; -} - -.height-45 { - height: 45px !important; -} - -.width-45 { - width: 45px !important; -} - -.height-46 { - height: 46px !important; -} - -.width-46 { - width: 46px !important; -} - -.height-47 { - height: 47px !important; -} - -.width-47 { - width: 47px !important; -} - -.height-48 { - height: 48px !important; -} - -.width-48 { - width: 48px !important; -} - -.height-49 { - height: 49px !important; -} - -.width-49 { - width: 49px !important; -} - -.height-50 { - height: 50px !important; -} - -.width-50 { - width: 50px !important; -} - -.height-51 { - height: 51px !important; -} - -.width-51 { - width: 51px !important; -} - -.height-52 { - height: 52px !important; -} - -.width-52 { - width: 52px !important; -} - -.height-53 { - height: 53px !important; -} - -.width-53 { - width: 53px !important; -} - -.height-54 { - height: 54px !important; -} - -.width-54 { - width: 54px !important; -} - -.height-55 { - height: 55px !important; -} - -.width-55 { - width: 55px !important; -} - -.height-56 { - height: 56px !important; -} - -.width-56 { - width: 56px !important; -} - -.height-57 { - height: 57px !important; -} - -.width-57 { - width: 57px !important; -} - -.height-58 { - height: 58px !important; -} - -.width-58 { - width: 58px !important; -} - -.height-59 { - height: 59px !important; -} - -.width-59 { - width: 59px !important; -} - -.height-60 { - height: 60px !important; -} - -.width-60 { - width: 60px !important; -} - -.height-61 { - height: 61px !important; -} - -.width-61 { - width: 61px !important; -} - -.height-62 { - height: 62px !important; -} - -.width-62 { - width: 62px !important; -} - -.height-63 { - height: 63px !important; -} - -.width-63 { - width: 63px !important; -} - -.height-64 { - height: 64px !important; -} - -.width-64 { - width: 64px !important; -} - -.height-65 { - height: 65px !important; -} - -.width-65 { - width: 65px !important; -} - -.height-66 { - height: 66px !important; -} - -.width-66 { - width: 66px !important; -} - -.height-67 { - height: 67px !important; -} - -.width-67 { - width: 67px !important; -} - -.height-68 { - height: 68px !important; -} - -.width-68 { - width: 68px !important; -} - -.height-69 { - height: 69px !important; -} - -.width-69 { - width: 69px !important; -} - -.height-70 { - height: 70px !important; -} - -.width-70 { - width: 70px !important; -} - -.height-71 { - height: 71px !important; -} - -.width-71 { - width: 71px !important; -} - -.height-72 { - height: 72px !important; -} - -.width-72 { - width: 72px !important; -} - -.height-73 { - height: 73px !important; -} - -.width-73 { - width: 73px !important; -} - -.height-74 { - height: 74px !important; -} - -.width-74 { - width: 74px !important; -} - -.height-75 { - height: 75px !important; -} - -.width-75 { - width: 75px !important; -} - -.height-76 { - height: 76px !important; -} - -.width-76 { - width: 76px !important; -} - -.height-77 { - height: 77px !important; -} - -.width-77 { - width: 77px !important; -} - -.height-78 { - height: 78px !important; -} - -.width-78 { - width: 78px !important; -} - -.height-79 { - height: 79px !important; -} - -.width-79 { - width: 79px !important; -} - -.height-80 { - height: 80px !important; -} - -.width-80 { - width: 80px !important; -} - -.height-81 { - height: 81px !important; -} - -.width-81 { - width: 81px !important; -} - -.height-82 { - height: 82px !important; -} - -.width-82 { - width: 82px !important; -} - -.height-83 { - height: 83px !important; -} - -.width-83 { - width: 83px !important; -} - -.height-84 { - height: 84px !important; -} - -.width-84 { - width: 84px !important; -} - -.height-85 { - height: 85px !important; -} - -.width-85 { - width: 85px !important; -} - -.height-86 { - height: 86px !important; -} - -.width-86 { - width: 86px !important; -} - -.height-87 { - height: 87px !important; -} - -.width-87 { - width: 87px !important; -} - -.height-88 { - height: 88px !important; -} - -.width-88 { - width: 88px !important; -} - -.height-89 { - height: 89px !important; -} - -.width-89 { - width: 89px !important; -} - -.height-90 { - height: 90px !important; -} - -.width-90 { - width: 90px !important; -} - -.height-91 { - height: 91px !important; -} - -.width-91 { - width: 91px !important; -} - -.height-92 { - height: 92px !important; -} - -.width-92 { - width: 92px !important; -} - -.height-93 { - height: 93px !important; -} - -.width-93 { - width: 93px !important; -} - -.height-94 { - height: 94px !important; -} - -.width-94 { - width: 94px !important; -} - -.height-95 { - height: 95px !important; -} - -.width-95 { - width: 95px !important; -} - -.height-96 { - height: 96px !important; -} - -.width-96 { - width: 96px !important; -} - -.height-97 { - height: 97px !important; -} - -.width-97 { - width: 97px !important; -} - -.height-98 { - height: 98px !important; -} - -.width-98 { - width: 98px !important; -} - -.height-99 { - height: 99px !important; -} - -.width-99 { - width: 99px !important; -} - -.height-100 { - height: 100px !important; -} - -.width-100 { - width: 100px !important; -} - -.height-101 { - height: 101px !important; -} - -.width-101 { - width: 101px !important; -} - -.height-102 { - height: 102px !important; -} - -.width-102 { - width: 102px !important; -} - -.height-103 { - height: 103px !important; -} - -.width-103 { - width: 103px !important; -} - -.height-104 { - height: 104px !important; -} - -.width-104 { - width: 104px !important; -} - -.height-105 { - height: 105px !important; -} - -.width-105 { - width: 105px !important; -} - -.height-106 { - height: 106px !important; -} - -.width-106 { - width: 106px !important; -} - -.height-107 { - height: 107px !important; -} - -.width-107 { - width: 107px !important; -} - -.height-108 { - height: 108px !important; -} - -.width-108 { - width: 108px !important; -} - -.height-109 { - height: 109px !important; -} - -.width-109 { - width: 109px !important; -} - -.height-110 { - height: 110px !important; -} - -.width-110 { - width: 110px !important; -} - -.height-111 { - height: 111px !important; -} - -.width-111 { - width: 111px !important; -} - -.height-112 { - height: 112px !important; -} - -.width-112 { - width: 112px !important; -} - -.height-113 { - height: 113px !important; -} - -.width-113 { - width: 113px !important; -} - -.height-114 { - height: 114px !important; -} - -.width-114 { - width: 114px !important; -} - -.height-115 { - height: 115px !important; -} - -.width-115 { - width: 115px !important; -} - -.height-116 { - height: 116px !important; -} - -.width-116 { - width: 116px !important; -} - -.height-117 { - height: 117px !important; -} - -.width-117 { - width: 117px !important; -} - -.height-118 { - height: 118px !important; -} - -.width-118 { - width: 118px !important; -} - -.height-119 { - height: 119px !important; -} - -.width-119 { - width: 119px !important; -} - -.height-120 { - height: 120px !important; -} - -.width-120 { - width: 120px !important; -} - -.height-121 { - height: 121px !important; -} - -.width-121 { - width: 121px !important; -} - -.height-122 { - height: 122px !important; -} - -.width-122 { - width: 122px !important; -} - -.height-123 { - height: 123px !important; -} - -.width-123 { - width: 123px !important; -} - -.height-124 { - height: 124px !important; -} - -.width-124 { - width: 124px !important; -} - -.height-125 { - height: 125px !important; -} - -.width-125 { - width: 125px !important; -} - -.height-126 { - height: 126px !important; -} - -.width-126 { - width: 126px !important; -} - -.height-127 { - height: 127px !important; -} - -.width-127 { - width: 127px !important; -} - -.height-128 { - height: 128px !important; -} - -.width-128 { - width: 128px !important; -} - -.height-129 { - height: 129px !important; -} - -.width-129 { - width: 129px !important; -} - -.height-130 { - height: 130px !important; -} - -.width-130 { - width: 130px !important; -} - -.height-131 { - height: 131px !important; -} - -.width-131 { - width: 131px !important; -} - -.height-132 { - height: 132px !important; -} - -.width-132 { - width: 132px !important; -} - -.height-133 { - height: 133px !important; -} - -.width-133 { - width: 133px !important; -} - -.height-134 { - height: 134px !important; -} - -.width-134 { - width: 134px !important; -} - -.height-135 { - height: 135px !important; -} - -.width-135 { - width: 135px !important; -} - -.height-136 { - height: 136px !important; -} - -.width-136 { - width: 136px !important; -} - -.height-137 { - height: 137px !important; -} - -.width-137 { - width: 137px !important; -} - -.height-138 { - height: 138px !important; -} - -.width-138 { - width: 138px !important; -} - -.height-139 { - height: 139px !important; -} - -.width-139 { - width: 139px !important; -} - -.height-140 { - height: 140px !important; -} - -.width-140 { - width: 140px !important; -} - -.height-141 { - height: 141px !important; -} - -.width-141 { - width: 141px !important; -} - -.height-142 { - height: 142px !important; -} - -.width-142 { - width: 142px !important; -} - -.height-143 { - height: 143px !important; -} - -.width-143 { - width: 143px !important; -} - -.height-144 { - height: 144px !important; -} - -.width-144 { - width: 144px !important; -} - -.height-145 { - height: 145px !important; -} - -.width-145 { - width: 145px !important; -} - -.height-146 { - height: 146px !important; -} - -.width-146 { - width: 146px !important; -} - -.height-147 { - height: 147px !important; -} - -.width-147 { - width: 147px !important; -} - -.height-148 { - height: 148px !important; -} - -.width-148 { - width: 148px !important; -} - -.height-149 { - height: 149px !important; -} - -.width-149 { - width: 149px !important; -} - -.height-150 { - height: 150px !important; -} - -.width-150 { - width: 150px !important; -} - -.height-151 { - height: 151px !important; -} - -.width-151 { - width: 151px !important; -} - -.height-152 { - height: 152px !important; -} - -.width-152 { - width: 152px !important; -} - -.height-153 { - height: 153px !important; -} - -.width-153 { - width: 153px !important; -} - -.height-154 { - height: 154px !important; -} - -.width-154 { - width: 154px !important; -} - -.height-155 { - height: 155px !important; -} - -.width-155 { - width: 155px !important; -} - -.height-156 { - height: 156px !important; -} - -.width-156 { - width: 156px !important; -} - -.height-157 { - height: 157px !important; -} - -.width-157 { - width: 157px !important; -} - -.height-158 { - height: 158px !important; -} - -.width-158 { - width: 158px !important; -} - -.height-159 { - height: 159px !important; -} - -.width-159 { - width: 159px !important; -} - -.height-160 { - height: 160px !important; -} - -.width-160 { - width: 160px !important; -} - -.height-161 { - height: 161px !important; -} - -.width-161 { - width: 161px !important; -} - -.height-162 { - height: 162px !important; -} - -.width-162 { - width: 162px !important; -} - -.height-163 { - height: 163px !important; -} - -.width-163 { - width: 163px !important; -} - -.height-164 { - height: 164px !important; -} - -.width-164 { - width: 164px !important; -} - -.height-165 { - height: 165px !important; -} - -.width-165 { - width: 165px !important; -} - -.height-166 { - height: 166px !important; -} - -.width-166 { - width: 166px !important; -} - -.height-167 { - height: 167px !important; -} - -.width-167 { - width: 167px !important; -} - -.height-168 { - height: 168px !important; -} - -.width-168 { - width: 168px !important; -} - -.height-169 { - height: 169px !important; -} - -.width-169 { - width: 169px !important; -} - -.height-170 { - height: 170px !important; -} - -.width-170 { - width: 170px !important; -} - -.height-171 { - height: 171px !important; -} - -.width-171 { - width: 171px !important; -} - -.height-172 { - height: 172px !important; -} - -.width-172 { - width: 172px !important; -} - -.height-173 { - height: 173px !important; -} - -.width-173 { - width: 173px !important; -} - -.height-174 { - height: 174px !important; -} - -.width-174 { - width: 174px !important; -} - -.height-175 { - height: 175px !important; -} - -.width-175 { - width: 175px !important; -} - -.height-176 { - height: 176px !important; -} - -.width-176 { - width: 176px !important; -} - -.height-177 { - height: 177px !important; -} - -.width-177 { - width: 177px !important; -} - -.height-178 { - height: 178px !important; -} - -.width-178 { - width: 178px !important; -} - -.height-179 { - height: 179px !important; -} - -.width-179 { - width: 179px !important; -} - -.height-180 { - height: 180px !important; -} - -.width-180 { - width: 180px !important; -} - -.height-181 { - height: 181px !important; -} - -.width-181 { - width: 181px !important; -} - -.height-182 { - height: 182px !important; -} - -.width-182 { - width: 182px !important; -} - -.height-183 { - height: 183px !important; -} - -.width-183 { - width: 183px !important; -} - -.height-184 { - height: 184px !important; -} - -.width-184 { - width: 184px !important; -} - -.height-185 { - height: 185px !important; -} - -.width-185 { - width: 185px !important; -} - -.height-186 { - height: 186px !important; -} - -.width-186 { - width: 186px !important; -} - -.height-187 { - height: 187px !important; -} - -.width-187 { - width: 187px !important; -} - -.height-188 { - height: 188px !important; -} - -.width-188 { - width: 188px !important; -} - -.height-189 { - height: 189px !important; -} - -.width-189 { - width: 189px !important; -} - -.height-190 { - height: 190px !important; -} - -.width-190 { - width: 190px !important; -} - -.height-191 { - height: 191px !important; -} - -.width-191 { - width: 191px !important; -} - -.height-192 { - height: 192px !important; -} - -.width-192 { - width: 192px !important; -} - -.height-193 { - height: 193px !important; -} - -.width-193 { - width: 193px !important; -} - -.height-194 { - height: 194px !important; -} - -.width-194 { - width: 194px !important; -} - -.height-195 { - height: 195px !important; -} - -.width-195 { - width: 195px !important; -} - -.height-196 { - height: 196px !important; -} - -.width-196 { - width: 196px !important; -} - -.height-197 { - height: 197px !important; -} - -.width-197 { - width: 197px !important; -} - -.height-198 { - height: 198px !important; -} - -.width-198 { - width: 198px !important; -} - -.height-199 { - height: 199px !important; -} - -.width-199 { - width: 199px !important; -} - -.height-200 { - height: 200px !important; -} - -.width-200 { - width: 200px !important; -} - -.height-201 { - height: 201px !important; -} - -.width-201 { - width: 201px !important; -} - -.height-202 { - height: 202px !important; -} - -.width-202 { - width: 202px !important; -} - -.height-203 { - height: 203px !important; -} - -.width-203 { - width: 203px !important; -} - -.height-204 { - height: 204px !important; -} - -.width-204 { - width: 204px !important; -} - -.height-205 { - height: 205px !important; -} - -.width-205 { - width: 205px !important; -} - -.height-206 { - height: 206px !important; -} - -.width-206 { - width: 206px !important; -} - -.height-207 { - height: 207px !important; -} - -.width-207 { - width: 207px !important; -} - -.height-208 { - height: 208px !important; -} - -.width-208 { - width: 208px !important; -} - -.height-209 { - height: 209px !important; -} - -.width-209 { - width: 209px !important; -} - -.height-210 { - height: 210px !important; -} - -.width-210 { - width: 210px !important; -} - -.height-211 { - height: 211px !important; -} - -.width-211 { - width: 211px !important; -} - -.height-212 { - height: 212px !important; -} - -.width-212 { - width: 212px !important; -} - -.height-213 { - height: 213px !important; -} - -.width-213 { - width: 213px !important; -} - -.height-214 { - height: 214px !important; -} - -.width-214 { - width: 214px !important; -} - -.height-215 { - height: 215px !important; -} - -.width-215 { - width: 215px !important; -} - -.height-216 { - height: 216px !important; -} - -.width-216 { - width: 216px !important; -} - -.height-217 { - height: 217px !important; -} - -.width-217 { - width: 217px !important; -} - -.height-218 { - height: 218px !important; -} - -.width-218 { - width: 218px !important; -} - -.height-219 { - height: 219px !important; -} - -.width-219 { - width: 219px !important; -} - -.height-220 { - height: 220px !important; -} - -.width-220 { - width: 220px !important; -} - -.height-221 { - height: 221px !important; -} - -.width-221 { - width: 221px !important; -} - -.height-222 { - height: 222px !important; -} - -.width-222 { - width: 222px !important; -} - -.height-223 { - height: 223px !important; -} - -.width-223 { - width: 223px !important; -} - -.height-224 { - height: 224px !important; -} - -.width-224 { - width: 224px !important; -} - -.height-225 { - height: 225px !important; -} - -.width-225 { - width: 225px !important; -} - -.height-226 { - height: 226px !important; -} - -.width-226 { - width: 226px !important; -} - -.height-227 { - height: 227px !important; -} - -.width-227 { - width: 227px !important; -} - -.height-228 { - height: 228px !important; -} - -.width-228 { - width: 228px !important; -} - -.height-229 { - height: 229px !important; -} - -.width-229 { - width: 229px !important; -} - -.height-230 { - height: 230px !important; -} - -.width-230 { - width: 230px !important; -} - -.height-231 { - height: 231px !important; -} - -.width-231 { - width: 231px !important; -} - -.height-232 { - height: 232px !important; -} - -.width-232 { - width: 232px !important; -} - -.height-233 { - height: 233px !important; -} - -.width-233 { - width: 233px !important; -} - -.height-234 { - height: 234px !important; -} - -.width-234 { - width: 234px !important; -} - -.height-235 { - height: 235px !important; -} - -.width-235 { - width: 235px !important; -} - -.height-236 { - height: 236px !important; -} - -.width-236 { - width: 236px !important; -} - -.height-237 { - height: 237px !important; -} - -.width-237 { - width: 237px !important; -} - -.height-238 { - height: 238px !important; -} - -.width-238 { - width: 238px !important; -} - -.height-239 { - height: 239px !important; -} - -.width-239 { - width: 239px !important; -} - -.height-240 { - height: 240px !important; -} - -.width-240 { - width: 240px !important; -} - -.height-241 { - height: 241px !important; -} - -.width-241 { - width: 241px !important; -} - -.height-242 { - height: 242px !important; -} - -.width-242 { - width: 242px !important; -} - -.height-243 { - height: 243px !important; -} - -.width-243 { - width: 243px !important; -} - -.height-244 { - height: 244px !important; -} - -.width-244 { - width: 244px !important; -} - -.height-245 { - height: 245px !important; -} - -.width-245 { - width: 245px !important; -} - -.height-246 { - height: 246px !important; -} - -.width-246 { - width: 246px !important; -} - -.height-247 { - height: 247px !important; -} - -.width-247 { - width: 247px !important; -} - -.height-248 { - height: 248px !important; -} - -.width-248 { - width: 248px !important; -} - -.height-249 { - height: 249px !important; -} - -.width-249 { - width: 249px !important; -} - -.height-250 { - height: 250px !important; -} - -.width-250 { - width: 250px !important; -} - -.height-251 { - height: 251px !important; -} - -.width-251 { - width: 251px !important; -} - -.height-252 { - height: 252px !important; -} - -.width-252 { - width: 252px !important; -} - -.height-253 { - height: 253px !important; -} - -.width-253 { - width: 253px !important; -} - -.height-254 { - height: 254px !important; -} - -.width-254 { - width: 254px !important; -} - -.height-255 { - height: 255px !important; -} - -.width-255 { - width: 255px !important; -} - -.height-256 { - height: 256px !important; -} - -.width-256 { - width: 256px !important; -} - -.height-257 { - height: 257px !important; -} - -.width-257 { - width: 257px !important; -} - -.height-258 { - height: 258px !important; -} - -.width-258 { - width: 258px !important; -} - -.height-259 { - height: 259px !important; -} - -.width-259 { - width: 259px !important; -} - -.height-260 { - height: 260px !important; -} - -.width-260 { - width: 260px !important; -} - -.height-261 { - height: 261px !important; -} - -.width-261 { - width: 261px !important; -} - -.height-262 { - height: 262px !important; -} - -.width-262 { - width: 262px !important; -} - -.height-263 { - height: 263px !important; -} - -.width-263 { - width: 263px !important; -} - -.height-264 { - height: 264px !important; -} - -.width-264 { - width: 264px !important; -} - -.height-265 { - height: 265px !important; -} - -.width-265 { - width: 265px !important; -} - -.height-266 { - height: 266px !important; -} - -.width-266 { - width: 266px !important; -} - -.height-267 { - height: 267px !important; -} - -.width-267 { - width: 267px !important; -} - -.height-268 { - height: 268px !important; -} - -.width-268 { - width: 268px !important; -} - -.height-269 { - height: 269px !important; -} - -.width-269 { - width: 269px !important; -} - -.height-270 { - height: 270px !important; -} - -.width-270 { - width: 270px !important; -} - -.height-271 { - height: 271px !important; -} - -.width-271 { - width: 271px !important; -} - -.height-272 { - height: 272px !important; -} - -.width-272 { - width: 272px !important; -} - -.height-273 { - height: 273px !important; -} - -.width-273 { - width: 273px !important; -} - -.height-274 { - height: 274px !important; -} - -.width-274 { - width: 274px !important; -} - -.height-275 { - height: 275px !important; -} - -.width-275 { - width: 275px !important; -} - -.height-276 { - height: 276px !important; -} - -.width-276 { - width: 276px !important; -} - -.height-277 { - height: 277px !important; -} - -.width-277 { - width: 277px !important; -} - -.height-278 { - height: 278px !important; -} - -.width-278 { - width: 278px !important; -} - -.height-279 { - height: 279px !important; -} - -.width-279 { - width: 279px !important; -} - -.height-280 { - height: 280px !important; -} - -.width-280 { - width: 280px !important; -} - -.height-281 { - height: 281px !important; -} - -.width-281 { - width: 281px !important; -} - -.height-282 { - height: 282px !important; -} - -.width-282 { - width: 282px !important; -} - -.height-283 { - height: 283px !important; -} - -.width-283 { - width: 283px !important; -} - -.height-284 { - height: 284px !important; -} - -.width-284 { - width: 284px !important; -} - -.height-285 { - height: 285px !important; -} - -.width-285 { - width: 285px !important; -} - -.height-286 { - height: 286px !important; -} - -.width-286 { - width: 286px !important; -} - -.height-287 { - height: 287px !important; -} - -.width-287 { - width: 287px !important; -} - -.height-288 { - height: 288px !important; -} - -.width-288 { - width: 288px !important; -} - -.height-289 { - height: 289px !important; -} - -.width-289 { - width: 289px !important; -} - -.height-290 { - height: 290px !important; -} - -.width-290 { - width: 290px !important; -} - -.height-291 { - height: 291px !important; -} - -.width-291 { - width: 291px !important; -} - -.height-292 { - height: 292px !important; -} - -.width-292 { - width: 292px !important; -} - -.height-293 { - height: 293px !important; -} - -.width-293 { - width: 293px !important; -} - -.height-294 { - height: 294px !important; -} - -.width-294 { - width: 294px !important; -} - -.height-295 { - height: 295px !important; -} - -.width-295 { - width: 295px !important; -} - -.height-296 { - height: 296px !important; -} - -.width-296 { - width: 296px !important; -} - -.height-297 { - height: 297px !important; -} - -.width-297 { - width: 297px !important; -} - -.height-298 { - height: 298px !important; -} - -.width-298 { - width: 298px !important; -} - -.height-299 { - height: 299px !important; -} - -.width-299 { - width: 299px !important; -} - -.height-300 { - height: 300px !important; -} - -.width-300 { - width: 300px !important; -} - -.height-auto { - height: auto !important; -} - -.width-auto { - width: auto !important; -} - -/* Deafult z-index and font-weight*/ -.z-index-0 { - z-index: 0 !important; -} - -.font-weight-0 { - font-weight: 0 !important; -} - -.z-index-1 { - z-index: 1 !important; -} - -.font-weight-100 { - font-weight: 100 !important; -} - -.z-index-2 { - z-index: 2 !important; -} - -.font-weight-200 { - font-weight: 200 !important; -} - -.z-index-3 { - z-index: 3 !important; -} - -.font-weight-300 { - font-weight: 300 !important; -} - -.z-index-4 { - z-index: 4 !important; -} - -.font-weight-400 { - font-weight: 400 !important; -} - -.z-index-5 { - z-index: 5 !important; -} - -.font-weight-500 { - font-weight: 500 !important; -} - -.z-index-6 { - z-index: 6 !important; -} - -.font-weight-600 { - font-weight: 600 !important; -} - -.z-index-7 { - z-index: 7 !important; -} - -.font-weight-700 { - font-weight: 700 !important; -} - -.z-index-8 { - z-index: 8 !important; -} - -.font-weight-800 { - font-weight: 800 !important; -} - -.z-index-9 { - z-index: 9 !important; -} - -.font-weight-900 { - font-weight: 900 !important; -} - -.z-index-10 { - z-index: 10 !important; -} - -.font-weight-1000 { - font-weight: 1000 !important; -} - -.mx-auto { - margin: 0 auto; -} - -.mr-auto { - margin-right: auto; -} - -.ml-auto { - margin-left: auto; -} - -.ac-system-body { - display: grid; - grid-gap: 0px; - grid-template-columns: 250px calc(100% - 250px); - padding-top: 50px; - transition: 0.3s ease-in-out; -} - -.ac-system-body.is-fullwidth { - grid-template-columns: auto !important; -} - -.sidebar-collapsed .ac-system-body { - grid-template-columns: 60px calc(100% - 60px); -} - -.ac-menu-item .ac-nav-button { - width: 32px; - height: 32px; - border-radius: 50%; - padding: 5px; - transition: all 0.3s ease-in-out; - position: relative; - z-index: 99; - user-select: none; - border: 1px solid #cbd5e1; - cursor: pointer; -} - -.ac-menu-item .ac-nav-button:after { - position: absolute; - content: ""; - left: 0; - top: 0; - opacity: 1; - z-index: -1; - width: 100%; - height: 100%; - border-radius: 50%; - transition: 0.3s ease-in-out; -} - -.ac-menu-item .ac-nav-button:focus { - box-shadow: none; -} - -.ac-menu-item .ac-nav-button:hover:after { - background-color: #e2e8f0; -} - -.ac-menu-item.ac-profile-button { - margin-right: 15px; -} - -.ac-menu-item.ac-profile-button button.button.ac-nav-button { - width: 100%; - background-color: transparent; - border-radius: 0; - font-weight: 500; - border: none; -} - -.ac-menu-item.ac-profile-button button.button.ac-nav-button::after { - border-radius: 0; - border: none; - background-color: transparent; -} - -.ac-menu-item.ac-profile-button button.button.ac-nav-button .ac-user-profile { - width: 32px; - height: 32px; - border-radius: 50%; - overflow: hidden; - border: 2px solid #e2e8f0; -} - -.ac-menu-item.ac-profile-button button.button.ac-nav-button i.fa { - padding-left: 8px; -} - -.ac-menu-item .ac-menu-content { - position: absolute; - right: 0; - top: 80px; - min-width: 180px; - opacity: 0; - visibility: hidden; - transition: 0.3s ease-in; - width: 260px; - box-shadow: 0 0.5em 1em -0.125em rgba(10, 10, 10, 0.1), 0 0px 0 1px rgba(10, 10, 10, 0.02); -} - -.ac-menu-item .ac-menu-content.quick-access { - background-color: hsl(0, 0%, 100%); - padding: 20px; - min-width: 260px !important; - max-height: 250px; - overflow-y: auto; - border-radius: 4px; -} - -.ac-menu-item .ac-menu-content.quick-access .header { - display: flex; - justify-content: space-between; - align-items: center; - border-bottom: 1px solid #e2e8f0; - padding-bottom: 20px; -} - -.ac-menu-item .ac-menu-content.quick-access .header p { - font-size: 1rem; - color: #020617; -} - -.ac-menu-item .ac-menu-content.quick-access .header button { - background-color: transparent; - border: none; - cursor: pointer; - color: #334155; -} - -.ac-menu-item .ac-menu-content.quick-access .body-content { - margin-top: 20px; -} - -.ac-menu-item .ac-menu-content.quick-access .body-content p { - font-size: 1rem; - color: #020617; -} - -.ac-menu-item .ac-menu-content.quick-access .body-content .organizations .organization { - display: flex; - align-items: center; - justify-content: space-between; - padding: 5px 0; -} - -.ac-menu-item .ac-menu-content.quick-access .body-content .organizations .organization .org-info { - display: flex; - align-items: center; -} - -.ac-menu-item .ac-menu-content.quick-access .body-content .organizations .organization .org-info img { - max-width: 30px; - margin-right: 10px; - object-fit: cover; -} - -.ac-menu-item .ac-menu-content.quick-access .body-content .organizations .organization .remove { - border: none; - padding: 0; - font-size: 11px; - color: hsl(348, 100%, 40%); - background-color: transparent; -} - -.ac-menu-item .ac-menu-content.is-notification { - right: 0; - background-color: hsl(0, 0%, 100%); - box-shadow: 0px 4px 8px rgba(84, 101, 126, 0.2); - border-radius: 4px; - min-width: 330px; - max-height: 400px; - overflow-y: auto; -} - -.ac-menu-item .ac-menu-content.is-notification .notification-header { - padding: 20px 20px 6px 20px; - display: flex; - justify-content: space-between; - align-items: baseline; -} - -.ac-menu-item .ac-menu-content.is-notification .notification-header .left-content p { - font-weight: 500; - font-size: 1rem; - line-height: 19px; - margin-bottom: 15px; -} - -.ac-menu-item .ac-menu-content.is-notification .notification-header .left-content p span { - font-weight: normal; -} - -.ac-menu-item .ac-menu-content.is-notification .notification-header .left-content p.date { - font-size: 11px; - line-height: 14px; - font-weight: normal; - margin-bottom: 0; -} - -.ac-menu-item .ac-menu-content.is-notification .notification-header .right-content .button { - border: none; - margin: 0; - padding: 10px; - font-size: 1rem; -} - -.ac-menu-item .ac-menu-content.is-notification .notification-header .right-content .button.is-active { - background-color: hsl(var(--primary-hue), var(--primary-saturation), var(--primary-light)); - color: hsl(0, 0%, 100%); -} - -.ac-menu-item .ac-menu-content.is-notification .notification-header .right-content .button.is-active img { - filter: brightness(100); -} - -.ac-menu-item .ac-menu-content.is-notification .notification-header .right-content .button:hover { - background-color: hsl(var(--primary-hue), var(--primary-saturation), var(--primary-light)); - color: hsl(0, 0%, 100%); -} - -.ac-menu-item .ac-menu-content.is-notification .notification-header .right-content .button:hover img { - filter: brightness(100); -} - -.ac-menu-item .ac-menu-content.is-notification .notification-body .single-notification-item { - display: block; - border-top: 1px solid #e2e8f0; - padding: 15px 20px; - font-weight: 500; -} - -.ac-menu-item .ac-menu-content.is-notification .notification-body .single-notification-item.is-complete { - font-weight: 400; -} - -.ac-menu-item .ac-menu-content.is-notification .notification-body .single-notification-item:hover { - background-color: #d1e3f2; -} - -.ac-menu-item .ac-menu-content.is-notification .notification-body .single-notification-item p { - color: #020617; - font-size: 11px; -} - -.ac-menu-item .ac-menu-content.is-notification .notification-body .single-notification-item .notification-status { - margin-top: 10px; - display: flex; - align-items: center; - justify-content: space-between; -} - -.ac-menu-item .ac-menu-content.is-notification .notification-body .single-notification-item .notification-status p { - font-size: 11px; - color: #334155; -} - -.ac-menu-item .ac-menu-content.is-notification .notification-body .single-notification-item .notification-status p.is-success { - color: hsl(141, 53%, 40%); -} - -.ac-menu-item .ac-menu-content.is-notification .notification-body .single-notification-item .notification-status p.is-danger { - color: hsl(348, 100%, 40%); -} - -.ac-menu-item .ac-menu-content.is-notification .notification-body .single-notification-item .notification-status p.is-warning { - color: hsl(38, 93%, 50%); -} - -.ac-menu-item .ac-menu-content.is-notification .see-all-message { - border-top: 1px solid #e2e8f0; - text-align: center; - font-weight: 500; - font-size: 1rem; - color: #020617; - display: block; - padding: 10px 20px; -} - -.ac-menu-item .ac-menu-content ul { - background-color: hsl(0, 0%, 100%); - padding: 0; - overflow: hidden; -} - -.ac-menu-item .ac-menu-content ul li a { - display: block; - padding: 8px 15px; - color: #020617; - transition: 0.3s ease-in-out; - font-size: 1rem; -} - -.ac-menu-item .ac-menu-content ul li a:hover { - background-color: hsl(var(--primary-hue), var(--primary-saturation), 95%); -} - -.ac-menu-item .ac-menu-content ul li a:hover p { - color: hsl(var(--primary-hue), var(--primary-saturation), var(--primary-light)) !important; -} - -.ac-menu-item .ac-menu-content .user-profile-wrapper { - background-color: hsl(0, 0%, 100%); - border-radius: 4px; - border: 1px solid #e2e8f0; -} - -.ac-menu-item .ac-menu-content .user-profile-wrapper .profile-area { - display: flex; - align-items: center; - border-bottom: 1px solid #e2e8f0; - padding: 16px 16px; -} - -.ac-menu-item .ac-menu-content .user-profile-wrapper .profile-area .profile-photo { - border-radius: 50%; - position: relative; - z-index: 1; - margin-right: 10px; -} - -.ac-menu-item .ac-menu-content .user-profile-wrapper .profile-area .profile-photo img { - border-radius: 50%; - width: 100%; - border: 2px solid #d2e7f9; -} - -.ac-menu-item .ac-menu-content .user-profile-wrapper .profile-area .profile-photo .camera-icon { - position: absolute; - right: -10px; - top: 0; - background-color: transparent; - border: none; - cursor: pointer; -} - -.ac-menu-item .ac-menu-content .user-profile-wrapper .profile-area .profile-info p { - color: #020617; - font-size: 1rem; - font-weight: 500; - line-height: 1.3; -} - -.ac-menu-item .ac-menu-content .user-profile-wrapper .profile-area .profile-info a { - font-size: 1rem; - color: #334155; - line-height: 1.3; -} - -.ac-menu-item .ac-menu-content .user-profile-wrapper .list-items { - max-height: calc(100vh - 200px); - overflow-y: auto; -} - -.ac-menu-item .ac-menu-content .user-profile-wrapper .list-items li.is-close ul { - max-height: 0; - visibility: hidden; - transition: max-height 0.25s ease-out; -} - -.ac-menu-item .ac-menu-content .user-profile-wrapper .list-items li.is-close ul.ac-vscrollbar { - padding: 0; -} - -.ac-menu-item .ac-menu-content .user-profile-wrapper .list-items li.is-open ul { - padding: 8px; - max-height: 200px; - visibility: visible; - transition: max-height 0.25s ease-out; -} - -.ac-menu-item .ac-menu-content .user-profile-wrapper .list-items li.is-open ul li { - padding: 0; - border: 1px solid #f1f5f9; -} - -.ac-menu-item .ac-menu-content .user-profile-wrapper .list-items li a { - padding: 8px 16px; - font-weight: 500; - display: block; - color: #020617; - transition: 0.3s; - display: flex; - align-items: center; - gap: 8px; -} - -.ac-menu-item .ac-menu-content .user-profile-wrapper .list-items li a:hover { - background-color: hsl(var(--primary-hue), 10%, 96%); - color: hsl(var(--secondary-hue), var(--secondary-saturation), var(--secondary-light)); -} - -.ac-menu-item.is-active .ac-nav-button::after { - background-color: #e2e8f0; -} - -.ac-menu-item.is-active .ac-menu-content { - opacity: 1; - visibility: visible; - top: 35px; - z-index: 99; -} - -.ac-menu-item.is-active .ac-menu-content::after { - position: absolute; - content: ""; - right: 38px; - top: -6px; - background-color: hsl(0, 0%, 100%); - width: 15px; - height: 15px; - transform: rotate(45deg); - box-shadow: 0px -1px 4px rgba(0, 0, 0, 0.16); - z-index: -1; -} - -.ac-menu-item .ac-menu-content.navbar-dropdown-wrapper { - position: absolute; - border-radius: 4px; - z-index: 9999; - right: 0px; - top: 40px; - display: block; - transition: all 0.3s ease-in-out; -} - -.ac-menu-item .ac-menu-content.navbar-dropdown-wrapper ul.app-drawer { - border-radius: 4px; - overflow: hidden; - background-color: hsl(0, 0%, 100%); - border: 1px solid #e2e8f0; - max-height: calc(100vh - 100px); - overflow-y: auto; -} - -.ac-menu-item .ac-menu-content.navbar-dropdown-wrapper ul.app-drawer li { - display: block; - font-size: 1rem; -} - -.ac-menu-item .ac-menu-content.navbar-dropdown-wrapper ul.app-drawer li a { - display: block; - color: #020617 !important; - padding: 10px 20px !important; - font-size: 1rem !important; - transition: 0.2s; - border-bottom: 1px solid #e2e8f0; -} - -.ac-menu-item .ac-menu-content.navbar-dropdown-wrapper ul.app-drawer li a:hover { - background-color: hsl(var(--primary-hue), 10%, 96%) !important; -} - -.ac-menu-item .ac-menu-content.navbar-dropdown-wrapper ul.app-drawer li a span { - margin-top: -3px; -} - -.ac-menu-item .ac-menu-content.navbar-dropdown-wrapper ul.app-drawer li a:hover .media-content .content p { - color: #334155; -} - -.ac-menu-item .ac-menu-content.navbar-dropdown-wrapper ul.app-drawer li a .media .media-left .image img { - height: 24px; - width: auto; -} - -.ac-menu-item .ac-menu-content.navbar-dropdown-wrapper ul.app-drawer li a .media .media-content { - overflow: hidden; -} - -.ac-menu-item .ac-menu-content.navbar-dropdown-wrapper ul.app-drawer li a .media .media-content .content p { - vertical-align: middle; - line-height: 1; - transition: 0.3s; -} - -.ac-menu-item .ac-menu-content.navbar-dropdown-wrapper ul.app-drawer li a .media .media-content .content p strong { - font-weight: 600; - font-size: 1rem; -} - -.ac-menu-item .ac-menu-content.navbar-dropdown-wrapper ul.app-drawer li a .media .media-content .content p span { - display: block; - font-size: 1rem; - margin-top: 4px; - line-height: 150%; -} - -.ac-menu-item .ac-menu-content.navbar-dropdown-wrapper ul.app-drawer li:hover > a { - background-color: hsl(0, 0%, 100%); -} - -.ac-menu-item .ac-menu-content.navbar-dropdown-wrapper ul.app-drawer li:first-child:hover > a { - border-radius: 4px 4px 0 0; -} - -.ac-menu-item .ac-menu-content.navbar-dropdown-wrapper ul.app-drawer li:last-child:hover > a { - border-radius: 0 0 4px 4px; -} - -.ac-navbar-area { - position: fixed; - margin-left: 250px; - width: 100%; - top: 0; - z-index: 999; - background-color: hsl(var(--secondary-hue), 10%, 96%); - border-bottom: 1px solid #e2e8f0; -} - -.ac-navbar-area.is-full { - margin-left: 0; -} - -.ac-navbar-area.is-full .ac-navbar { - grid-template-columns: 250px auto auto; - width: 100%; - gap: 20px; -} - -.ac-navbar-area.is-full .ac-navbar .ac-navbar-brand { - padding-left: 15px; -} - -.ac-navbar-area .ac-navbar { - display: inline-grid; - grid-template-columns: auto auto; - grid-gap: 0px; - align-items: center; - width: calc(100% - 255px); - height: 50px; -} - -.ac-navbar-area .ac-navbar .ac-navbar-brand { - display: flex; - align-items: center; -} - -.ac-navbar-area .ac-navbar .ac-navbar-brand a { - display: flex; -} - -.ac-navbar-area .ac-navbar .ac-navbar-brand .logo { - font-size: 20px; - font-weight: 600; - color: hsl(0, 0%, 100%); -} - -.ac-navbar-area .ac-navbar .ac-navbar-brand img { - max-height: 30px; -} - -.ac-navbar-area .ac-navbar .ac-navbar-cluster-switcher { - max-width: 350px; -} - -.ac-navbar-area .ac-navbar .ac-navbar-menu { - display: flex; - align-items: center; - justify-content: flex-end; -} - -.ac-navbar-area .ac-navbar .ac-navbar-menu .ac-menu-item { - position: relative; - z-index: 1; - margin-left: 8px; -} - -.ac-navbar-area .ac-navbar .ac-navbar-menu .ac-menu-item:first-child { - margin-left: 0; -} - -.sidebar-collapsed .ac-navbar .ac-navbar-brand { - padding-left: 70px !important; -} - -.notification-count { - position: absolute; - background-color: hsl(var(--primary-hue), var(--primary-saturation), var(--primary-light)); - color: hsl(0, 0%, 100%); - padding: 4px; - font-size: 11px; - line-height: 1; - border-radius: 50px; - min-width: 20px; - height: 20px; - right: -10px; - top: -8px; - border: 1px solid hsl(var(--primary-hue), var(--primary-saturation), 97%); - opacity: 1; - z-index: 9; -} - -.dropdown-inner { - border-radius: 4px; - overflow: hidden; - background-color: hsl(0, 0%, 100%); - border: 1px solid #e2e8f0; -} - -.notification-header { - display: flex; - align-items: center; - justify-content: space-between; - border-bottom: 1px solid #e2e8f0; - padding: 8px 16px; -} - -.notification-header h5 { - color: #020617; -} - -.notification-header span { - display: flex; - color: hsl(var(--primary-hue), var(--primary-saturation), 30%); - padding: 2px 8px; - border-radius: 4px; - background-color: hsl(var(--primary-hue), var(--primary-saturation), 95%); -} - -.notification-body { - max-height: calc(100vh - 100px); - overflow-y: auto; -} - -.notification-body a { - display: flex; - color: #334155; - padding: 16px; - border-bottom: 1px solid #f1f5f9; - transition: 0.3s ease-in-out; - justify-content: space-between; -} - -.notification-body a:hover { - background-color: hsl(var(--secondary-hue), var(--secondary-saturation), 97%); -} - -.notification-body a:hover h6 { - color: hsl(var(--secondary-hue), var(--secondary-saturation), var(--secondary-light)); -} - -.notification-body a .round-icon { - width: 36px; - height: 36px; - background-color: hsl(var(--primary-hue), var(--primary-saturation), 95%); - color: hsl(var(--primary-hue), var(--primary-saturation), var(--primary-light)); - font-size: 14px; - display: flex; - align-items: center; - justify-content: center; - border-radius: 50%; - margin-right: 8px; - line-height: 1; - font-weight: 500; -} - -.notification-body a .notification-content { - width: calc(100% - 60px); -} - -.notification-body a .notification-content h6 { - font-size: 14px; - font-weight: 500; - transition: 0.3s ease-in-out; -} - -.notification-body a .notification-content p { - font-size: 12px; -} - -.notification-body a span { - font-size: 11px; - color: #334155; -} - -.notification-footer button { - background-color: transparent; - border: none; - display: flex; - align-items: center; - justify-content: center; - width: 100%; - padding: 8px; - color: hsl(var(--primary-hue), var(--primary-saturation), var(--primary-light)); - cursor: pointer; - transition: 0.3s ease-in-out; -} - -.notification-footer button:hover { - text-decoration: underline; -} - -.ac-single-input { - position: relative; - z-index: 1; - margin-bottom: 16px; -} - -.ac-single-input .prepend { - position: absolute; - left: 1px; - top: 1px; - width: 32px; - height: 34px; - display: flex; - align-items: center; - border-radius: 4px 0 0 4px; - justify-content: center; - border-right: 1px solid #cbd5e1; - background-color: hsl(0, 0%, 100%); -} - -.ac-single-input.is-disable, .ac-single-input.is-disabled { - opacity: 0.5; - pointer-events: none; - cursor: no-drop; -} - -.ac-single-input.is-disable input, -.ac-single-input.is-disable .button.is-information, -.ac-single-input.is-disable .eye i.fa, .ac-single-input.is-disabled input, -.ac-single-input.is-disabled .button.is-information, -.ac-single-input.is-disabled .eye i.fa { - cursor: not-allowed; -} - -.ac-single-input.is-information input { - padding-right: 45px; -} - -.ac-single-input.is-information input[type=password] { - padding-right: 80px; -} - -.ac-single-input.is-information span.eye i.fa { - right: 35px; -} - -.ac-single-input.is-success input, -.ac-single-input.is-success .ac-card, -.ac-single-input.is-success textarea, -.ac-single-input.is-success select { - border: 1px solid hsl(var(--primary-hue), var(--primary-saturation), var(--primary-light)) !important; -} - -.ac-single-input.is-success p { - color: hsl(var(--primary-hue), var(--primary-saturation), var(--primary-light)); -} - -.ac-single-input.is-danger input, -.ac-single-input.is-danger .ac-card, -.ac-single-input.is-danger textarea, -.ac-single-input.is-danger select { - border: 1px solid hsl(348, 100%, 40%); -} - -.ac-single-input.is-danger p { - color: hsl(348, 100%, 40%); -} - -.ac-single-input.is-loading input, -.ac-single-input.is-loading .ac-card, -.ac-single-input.is-loading textarea { - border: 1px solid hsl(217, 71%, 50%); - opacity: 0.5; -} - -.ac-single-input.is-loading p { - color: hsl(217, 71%, 50%); - opacity: 0.5; -} - -.ac-single-input.borderless-input input { - border: none; - font-size: 1rem; - padding: 4px 7px; - height: 30px; - background-color: hsl(0, 0%, 100%); - padding-right: 30px; -} - -.ac-single-input.borderless-input input[type=password] { - padding-right: 30px; -} - -.ac-single-input.borderless-input input:focus { - outline: none; - border: none; -} - -.ac-single-input.borderless-input span.eye i.fa { - padding: 9px; - font-size: 12px; -} - -.ac-single-input.is-normal input, -.ac-single-input.is-normal select { - height: 45px; - font-size: 15px; - font-weight: 400; -} - -.ac-single-input.is-normal .button.is-information { - height: 45px; - width: 45px; - margin-top: 0; -} - -.ac-single-input.is-normal span.eye i.fa { - padding: 14px 10px; -} - -.ac-single-input.is-normal .ac-search-button { - margin-top: -22.5px; -} - -.ac-single-input.is-normal label { - top: 14px; - font-size: 1rem; -} - -.ac-single-input.is-normal label.show-label { - font-size: 12px; - color: hsl(0, 0%, 40%); - top: -9px; - font-weight: 500; - background-color: hsl(0, 0%, 100%); -} - -.ac-single-input.is-normal .control.has-icons-right .icon { - height: 45px; - width: 30px; - font-size: 1rem; -} - -.ac-single-input.is-small input, -.ac-single-input.is-small select { - height: 36px; - font-size: 1rem; - font-weight: 400; -} - -.ac-single-input.is-small .button.is-information { - height: 36px; - width: 36px; - margin-top: 0; - padding: 10px; -} - -.ac-single-input.is-small span.eye i.fa { - padding: 10px; -} - -.ac-single-input.is-small .ac-search-button { - margin-top: -18px; -} - -.ac-single-input.is-small label { - top: 8px; - font-size: 1rem; -} - -.ac-single-input.is-small label.switch-label { - top: 0; -} - -.ac-single-input.is-small label.show-label { - font-size: 12px; - top: -9px; - font-weight: 500; - color: hsl(0, 0%, 40%); -} - -.ac-single-input.is-small label.show-label.is-required:after { - width: calc(100% + 10px); -} - -.ac-single-input.is-small .control.has-icons-right .icon { - height: 36px; - width: 25px; - font-size: 1rem; -} - -.ac-single-input.is-extra-small input, -.ac-single-input.is-extra-small select { - height: 32px; - font-size: 1rem; - font-weight: 400; -} - -.ac-single-input.is-extra-small .button.is-information { - height: 32px; - width: 32px; - margin-top: 0; -} - -.ac-single-input.is-extra-small span.eye i.fa { - padding: 10px; -} - -.ac-single-input.is-extra-small .ac-search-button { - margin-top: 0px; - top: 0; - display: flex; - align-items: center; - width: 40px; - justify-content: center; -} - -.ac-single-input.is-extra-small .ac-search-button svg { - width: 18px; -} - -.ac-single-input.is-extra-small label { - top: 6px; - font-size: 1rem; -} - -.ac-single-input.is-extra-small label.switch-label { - top: 0; -} - -.ac-single-input.is-extra-small label.show-label { - font-size: 12px; - top: -9px; -} - -.ac-single-input.is-extra-small .control.has-icons-right .icon { - height: 32px; - width: 25px; - font-size: 1rem; -} - -.ac-single-input:last-child { - margin-bottom: 0; -} - -.ac-single-input label { - font-size: 1rem; - left: 15px; - top: 11px; - cursor: text; - color: #020617; - position: absolute; - z-index: 2; - transition: 0.1s ease-in-out; -} - -.ac-single-input label .is-required { - color: hsl(348, 100%, 40%); -} - -.ac-single-input label .is-required img { - position: absolute; - top: 7px; - padding-left: 3px; -} - -.ac-single-input label.show-label { - top: -9px; - left: 10px; - padding: 0 5px; - font-size: 1rem; - color: hsl(0, 0%, 40%); -} - -.ac-single-input label.show-label:after { - position: absolute; - content: ""; - left: 0; - top: 50%; - background-color: hsl(0, 0%, 100%); - width: 100%; - height: 2px; - margin-top: -1px; - z-index: -1; -} - -.ac-single-input .button.is-information { - background-color: transparent; - border: none; - position: absolute; - right: 0; - height: 32px; - width: 32px; - margin-top: 0; -} - -.ac-single-input .button.is-information:focus { - outline: none; - box-shadow: none; - background-color: #e4e8ef; - transform: scale(0.8); -} - -.ac-single-input .ac-search-button { - background-color: transparent; - border: none; - position: absolute; - left: 0; - top: 50%; - width: 32px; - height: 100%; - margin-top: -15px; - color: #334155; - cursor: pointer; -} - -.ac-single-input .ac-dropdown-content { - position: absolute; - background-color: #e2e8f0; - width: 100%; - height: auto; - box-shadow: 0px 4px 16px rgba(132, 147, 168, 0.6); - border-radius: 4px; - overflow: hidden; -} - -.ac-single-input .ac-dropdown-content ul li a { - color: #020617; - display: block; - font-size: 1rem; - padding: 8px 20px; - transition: 0.3s; -} - -.ac-single-input .ac-dropdown-content ul li a:hover { - background-color: hsl(var(--primary-hue), var(--primary-saturation), 20%); - color: hsl(var(--primary-hue), var(--primary-saturation), var(--primary-light)); -} - -.ac-single-input .ac-textarea .ac-label.is-required:after { - width: calc(100% + 10px); -} - -.ac-single-input .ac-textarea textarea { - border: 1px solid #cbd5e1; - background-color: transparent; - padding: 10px 15px; - min-height: 150px; -} - -.ac-single-input .ac-textarea textarea.bg-white { - background-color: transparent; -} - -.ac-single-input .ac-textarea textarea:focus { - outline: none; - border: 1px solid hsl(var(--primary-hue), var(--primary-saturation), var(--primary-light)); -} - -.ac-single-input input, -.ac-single-input .ac-card, -.ac-single-input textarea, -.ac-single-input select { - background-color: hsl(0, 0%, 100%); - color: #020617; - height: 45px; - font-weight: 400; - width: 100%; - border-radius: 4px; - border: 1px solid #cbd5e1; - padding: 8px 15px; - font-size: 1rem; - transition: background-color 0.1s ease-in-out; -} - -.ac-single-input input:hover, -.ac-single-input .ac-card:hover, -.ac-single-input textarea:hover, -.ac-single-input select:hover { - border-color: hsl(var(--primary-hue), var(--primary-saturation), var(--primary-light)); -} - -.ac-single-input input.bg-white, -.ac-single-input .ac-card.bg-white, -.ac-single-input textarea.bg-white, -.ac-single-input select.bg-white { - background-color: hsl(0, 0%, 100%); -} - -.ac-single-input input.StripeElement--focus, -.ac-single-input .ac-card.StripeElement--focus, -.ac-single-input textarea.StripeElement--focus, -.ac-single-input select.StripeElement--focus { - border: 1px solid hsl(var(--primary-hue), var(--primary-saturation), var(--primary-light)); -} - -.ac-single-input input:focus, -.ac-single-input .ac-card:focus, -.ac-single-input textarea:focus, -.ac-single-input select:focus { - border: 1px solid hsl(var(--primary-hue), var(--primary-saturation), var(--primary-light)); - outline: none; - background-color: hsl(0, 0%, 100%); -} - -.ac-single-input input[type=password], -.ac-single-input .ac-card[type=password], -.ac-single-input textarea[type=password], -.ac-single-input select[type=password] { - padding-right: 40px; -} - -.ac-single-input input[type=search], -.ac-single-input .ac-card[type=search], -.ac-single-input textarea[type=search], -.ac-single-input select[type=search] { - padding-left: 30px; -} - -.ac-single-input .ac-card { - height: 36px; - padding: 10px 20px; -} - -.ac-single-input textarea { - height: 55px; -} - -.ac-single-input b.isRequired { - color: hsl(348, 100%, 40%); - font-size: 1rem; - position: absolute; - right: 5px; - z-index: 9; -} - -.ac-single-input span.eye i.fa { - color: #cbd5e1; - position: absolute; - cursor: pointer; - padding: 15px; - right: 0; - top: 0; -} - -.ac-single-input .is-danger { - font-size: 12px; - line-height: 22px; - color: hsl(348, 100%, 40%); - text-align: left; -} - -.ac-single-input .is-danger i.fa { - padding-right: 10px; -} - -.ac-input.ac-search { - width: 42px; - transition: 0.3s ease-in-out; - padding: 0; -} - -.ac-search:focus { - width: 200px !important; - padding-right: 10px; -} - -.ac-single-radio .is-checkradio[type=radio] + label { - padding-left: 25px; -} - -.ac-single-radio .is-checkradio[type=radio] + label:before { - width: 16px; - height: 16px; - top: 4px; - background: transparent; -} - -.ac-single-radio .is-checkradio[type=radio] + label:after { - width: 16px; - height: 16px; - top: 4px; -} - -.file.ac-file .file-name { - border-color: #cbd5e1; - max-width: 100%; - width: 100%; - height: 36px; - display: flex; - align-items: center; -} - -.file.ac-file .file-label { - width: 100%; -} - -.file.ac-file .file-cta { - color: #020617; - height: 100%; - background-color: hsl(var(--secondary-hue), 10%, 96%); -} - -.file.ac-file:hover .file-cta, -.file.ac-file:hover .file-name { - border-color: hsl(var(--primary-hue), var(--primary-saturation), var(--primary-light)); -} - -.file-upload { - border: 1px dashed #cbd5e1; - border-radius: 4px; -} - -.file-upload:hover { - background-color: hsl(var(--secondary-hue), 10%, 96%); - border-color: hsl(var(--primary-hue), var(--primary-saturation), var(--primary-light)); -} - -.file-upload:hover label .upload-icon { - border: 1px solid #cbd5e1; -} - -.file-upload:hover label .upload-icon svg { - color: #020617; -} - -.file-upload label { - cursor: pointer; - padding: 32px; - display: block; -} - -.file-upload label .upload-icon { - border: 1px solid #e2e8f0; - display: inline-flex; - align-items: center; - justify-content: center; - border-radius: 50%; - width: 100px; - height: 100px; - margin-bottom: 24px; - padding: 24px; -} - -.file-upload label .upload-icon svg { - color: hsl(var(--primary-hue), var(--primary-saturation), 30%); -} - -.file-upload label p { - color: #020617; -} - -.file-upload label p strong { - font-weight: 600; -} - -.button { - color: #334155; - background-color: hsl(0, 0%, 100%); -} - -.button.ac-button { - padding: 8px 16px; - font-weight: 500; - line-height: 1; -} - -.button.ac-button.is-primary { - background-color: hsl(var(--primary-hue), var(--primary-saturation), var(--primary-light)); -} - -.button.ac-button.is-primary:hover { - background-color: hsl(var(--primary-hue), var(--primary-saturation), calc(var(--primary-light) - 3%)); -} - -.button.ac-button.is-primary.is-light { - color: hsl(var(--primary-hue), var(--primary-saturation), var(--primary-light)); - background-color: hsl(var(--primary-hue), var(--primary-saturation), 95%); -} - -.button.ac-button.is-primary.is-light:hover { - background-color: hsl(var(--primary-hue), var(--primary-saturation), 90%); -} - -.button.ac-button.is-primary.is-light:focus:not(:hover) { - color: inherit; -} - -.button.ac-button.is-primary.is-light:disabled:not(.is-outlined) { - border-color: transparent; -} - -.button.ac-button.is-primary.is-outlined:not(.is-light:disabled) { - border-color: hsl(var(--primary-hue), var(--primary-saturation), var(--primary-light)); - color: hsl(var(--primary-hue), var(--primary-saturation), var(--primary-light)); - background-color: transparent; -} - -.button.ac-button.is-primary.is-outlined:not(.is-light:disabled):hover { - border-color: hsl(var(--primary-hue), var(--primary-saturation), 30%); - background-color: hsl(var(--primary-hue), var(--primary-saturation), var(--primary-light)); - color: hsl(0, 0%, 100%); -} - -.button.ac-button.is-primary.is-outlined:not(.is-light:disabled).is-loading::after { - border-color: transparent transparent hsl(var(--primary-hue), var(--primary-saturation), var(--primary-light)) hsl(var(--primary-hue), var(--primary-saturation), var(--primary-light)) !important; -} - -.button.ac-button.is-warning.is-light { - color: hsl(38, 93%, 30%); -} - -.button.ac-button.is-warning.is-light:focus:not(:hover) { - color: inherit; -} - -.button.ac-button.is-warning.is-light:disabled:not(.is-outlined) { - border-color: transparent; -} - -.button.ac-button.is-info.is-light { - color: hsl(217, 71%, 30%); -} - -.button.ac-button.is-info.is-light:focus:not(:hover) { - color: inherit; -} - -.button.ac-button.is-info.is-light:disabled:not(.is-outlined) { - border-color: transparent; -} - -.button.ac-button.is-danger.is-light { - color: hsl(348, 100%, 30%); -} - -.button.ac-button.is-danger.is-light:focus:not(:hover) { - color: inherit; -} - -.button.ac-button.is-danger.is-light:disabled:not(.is-outlined) { - border-color: transparent; -} - -.button.ac-button.is-success.is-light { - color: hsl(141, 53%, 30%); -} - -.button.ac-button.is-success.is-light:focus:not(:hover) { - color: inherit; -} - -.button.ac-button.is-success.is-light:disabled:not(.is-outlined) { - border-color: transparent; -} - -.button.ac-button.is-light.is-loading::after { - border-color: transparent transparent hsl(var(--primary-hue), var(--primary-saturation), 5%) hsl(var(--primary-hue), var(--primary-saturation), 5%) !important; -} - -.button.ac-button.is-light.is-outlined:hover { - border-color: inherit; -} - -.button.ac-button.is-small { - padding: 4px 12px; -} - -.button.ac-button.is-small:not(.is-rounded) { - border-radius: 4px; -} - -.button.ac-button.is-small.is-square { - width: 28px; - height: 28px; - align-items: center; - justify-content: center; -} - -.button.ac-button.is-medium { - font-size: 1rem; - height: 36px; -} - -.button.ac-button.is-medium.is-square { - width: 36px; - align-items: center; - justify-content: center; -} - -.button.ac-button.is-tinny { - height: 24px; - padding: 0 8px; -} - -button.is-primary { - background-color: hsl(var(--primary-hue), var(--primary-saturation), var(--primary-light)); -} - -.up-down-buttons { - border-radius: 4px; - overflow: hidden; - position: relative; - z-index: 1; - max-width: 36px; - margin-bottom: 0 !important; -} - -.up-down-buttons button.ac-button { - width: 36px; - height: 18px; - cursor: pointer; - border: none; - color: hsl(var(--primary-hue), var(--primary-saturation), var(--primary-light)); - background-color: #e2e8f0; - transition: 0.3s ease-in-out; - margin: 0 !important; - border-radius: 0; -} - -.up-down-buttons button.ac-button:hover { - background-color: hsl(var(--primary-hue), var(--primary-saturation), 80%); -} - -.up-down-buttons button.ac-button.is-primary { - background-color: hsl(var(--primary-hue), var(--primary-saturation), var(--primary-light)); - color: hsl(0, 0%, 100%); -} - -.up-down-buttons button.ac-button.is-primary:hover { - background-color: hsl(var(--primary-hue), var(--primary-saturation), 30%); -} - -.up-down-buttons button.ac-button .icon { - margin: 0; - padding: 0; - width: auto; - height: auto; -} - -.buttons.has-addons.has-gap { - border: 1px solid #ddd; - padding: 4px; - display: inline-flex; - border-radius: 4px; -} - -.buttons.has-addons.has-gap .button { - margin: 0; - border: none; - border-radius: 4px; -} - -.buttons.has-addons.has-gap .button:focus { - box-shadow: none; -} - -.ac-modal { - min-height: 100vh; - position: fixed; - width: 100%; - left: 0; - top: 0; - z-index: 99999; -} - -.ac-modal.is-side-panel-modal { - margin: 0; - padding: 0; - min-height: 100vh; - left: auto; - right: 0; -} - -.ac-modal.is-side-panel-modal .ac-modal-inner { - margin: 0 0 0 auto; - height: 100vh; - border-radius: 0; - max-width: 1200px; -} - -.ac-modal.is-side-panel-modal .ac-modal-inner .ac-modal-body { - height: calc(100vh - 110px); - max-height: inherit; -} - -.ac-modal .ac-button.is-white { - margin-right: -10px; -} - -.ac-modal:after { - position: absolute; - content: ""; - left: 0; - top: 0; - width: 100%; - height: 100%; - background-color: hsl(var(--primary-hue), var(--primary-saturation), 5%); - z-index: -1; - opacity: 0.5; -} - -.ac-modal.is-small .ac-modal-inner { - border-radius: 4px; - width: 446px; -} - -.ac-modal.is-normal .ac-modal-inner { - width: 518px; -} - -.ac-modal.is-medium .ac-modal-inner { - width: 800px; -} - -.ac-modal.is-large .ac-modal-inner { - width: 1000px !important; -} - -.ac-modal .ac-modal-inner { - margin: 0 auto; - background-color: hsl(0, 0%, 100%); - border-radius: 4px; - overflow: hidden; - box-shadow: 12px 26px 118px rgba(0, 0, 0, 0.16); -} - -.ac-modal .ac-modal-inner .ac-modal-header { - background-color: hsl(0, 0%, 100%); - padding: 10px 20px; - display: flex; - align-items: center; - justify-content: space-between; - border: 1px solid #e2e8f0; -} - -.ac-modal .ac-modal-inner .ac-modal-header h6 { - color: #020617; -} - -.ac-modal .ac-modal-inner .ac-modal-header .ms-close-button button { - cursor: pointer; - padding: 3px 5px; - color: #020617; -} - -.ac-modal .ac-modal-inner .ac-modal-body { - padding: 20px; - max-height: calc(100vh - 230px); - overflow-y: auto; -} - -.ac-modal .ac-modal-inner .ac-modal-body .ac-modal-content img { - height: auto; -} - -.ac-modal .ac-modal-inner .ac-modal-body .ac-modal-content .action-message p { - font-size: 16px; - margin-bottom: 10px; -} - -.ac-modal .ac-modal-inner .ac-modal-body .ac-modal-content .action-message p:last-child { - margin-bottom: 0; -} - -.ac-modal .ac-modal-inner .ac-modal-body .ac-modal-content .action-message p.is-description { - font-weight: 400; - color: #020617; -} - -.ac-modal .ac-modal-inner .ac-modal-body .ac-modal-content .action-message p.is-description strong { - font-weight: 500; -} - -.ac-modal .ac-modal-inner .ac-modal-footer { - border-top: 1px solid #e2e8f0; - padding: 10px 20px; -} - -/**************************************** -Responsive Classes -*****************************************/ -@media (max-width: 575.98px) { - .ac-modal.is-small .ac-modal-inner { - width: 266px; - } - .ac-modal.is-normal .ac-modal-inner { - width: calc(100% - 15px); - } - .ac-modal.is-medium .ac-modal-inner { - width: calc(100% - 15px); - } - .ac-modal.is-large .ac-modal-inner { - width: calc(100% - 15px); - } - .ac-modal .action-message.pt-35.pb-35 { - padding-top: 20px !important; - padding-bottom: 20px !important; - } -} -@media (min-width: 576px) and (max-width: 767.98px) { - .ac-modal.is-small .ac-modal-inner { - width: 266px; - } - .ac-modal.is-normal .ac-modal-inner { - width: calc(100% - 15px); - } - .ac-modal.is-medium .ac-modal-inner { - width: calc(100% - 15px); - } - .ac-modal.is-large .ac-modal-inner { - width: calc(100% - 15px); - } -} -@media (min-width: 768px) and (max-width: 991.98px) { - .ac-modal.is-normal .ac-modal-inner { - width: calc(100% - 50px); - } - .ac-modal.is-medium .ac-modal-inner { - width: calc(100% - 50px); - } - .ac-modal.is-large .ac-modal-inner { - width: calc(100% - 50px); - } -} -.table-container.ac-table-container { - margin-bottom: 8px; - /* Track */ - /* Handle */ - /* Handle on hover */ -} - -.table-container.ac-table-container::-webkit-scrollbar { - height: 7px; -} - -.table-container.ac-table-container::-webkit-scrollbar-track { - background-color: #d1d4de; - border-radius: 10px; -} - -.table-container.ac-table-container::-webkit-scrollbar-thumb { - background-color: hsl(0, 0%, 70%); - border-radius: 10px; -} - -.table-container.ac-table-container::-webkit-scrollbar-thumb:hover { - background-color: hsl(0, 0%, 60%); -} - -.table.ac-table { - background-color: transparent; - margin-bottom: 0; -} - -.table.ac-table thead { - font-size: 1rem; - line-height: initial; -} - -.table.ac-table thead tr { - border-bottom: 1px solid #f1f5f9; -} - -.table.ac-table thead tr th { - padding: 10px 20px; - color: #020617; - border: none; - font-weight: 500; - background-color: hsl(var(--secondary-hue), 10%, 96%); - font-weight: 500; -} - -.table.ac-table thead tr th.sorting { - cursor: pointer; - position: relative; -} - -.table.ac-table thead tr th.sorting.sorting-asc::before { - color: #020617; -} - -.table.ac-table thead tr th.sorting.sorting-desc::after { - color: #020617; -} - -.table.ac-table thead tr th.sorting:after, .table.ac-table thead tr th.sorting::before { - position: absolute; - color: #808998; - top: 10px; - font-size: 1rem; - font-weight: 1000; - display: block; -} - -.table.ac-table thead tr th.sorting:before { - right: 1em; - content: "↑"; -} - -.table.ac-table thead tr th.sorting:after { - right: 0.5em; - content: "↓"; -} - -.table.ac-table tbody.is-selected { - transform: matrix(1, 0, 0, 1, 0, 0) !important; - box-shadow: inset 0 0 0 1px hsl(var(--primary-hue), var(--primary-saturation), var(--primary-light)); - border-radius: 4px; - border-bottom: none; - color: hsl(0, 0%, 5%); -} - -.table.ac-table tbody tr { - border-bottom: 1px solid #e2e8f0; - transition: 0.3s ease-in-out; -} - -.table.ac-table tbody tr.is-link { - cursor: pointer; -} - -.table.ac-table tbody tr.is-selected { - background-color: hsl(var(--primary-hue), var(--primary-saturation), 97%) !important; - transform: matrix(1, 0, 0, 1, 0, 0) !important; - box-shadow: inset 0 0 0 1.2px hsl(var(--primary-hue), var(--primary-saturation), var(--primary-light)); - border-radius: 4px; - border-bottom: none; - color: hsl(0, 0%, 5%); - transition: 0.3s ease-in-out; -} - -.table.ac-table tbody tr.is-selected .tag { - background-color: hsl(var(--primary-hue), var(--primary-saturation), 80%); -} - -.table.ac-table tbody tr.is-selected:hover { - background-color: hsl(var(--primary-hue), var(--primary-saturation), 95%) !important; - transform: matrix(1, 0, 0, 1, 0, 0) !important; - box-shadow: inset 0 0 0 1.2px hsl(var(--primary-hue), var(--primary-saturation), var(--primary-light)) !important; -} - -.table.ac-table tbody tr.is-hoverless { - box-shadow: none !important; - transform: none !important; - background-color: hsl(0, 0%, 100%) !important; -} - -.table.ac-table tbody tr td { - font-size: 1rem; - padding: 5px 20px; - color: #020617; - border: none; - white-space: nowrap; -} - -.table.ac-table tbody tr td a:not(.tag a) { - color: hsl(var(--primary-hue), var(--primary-saturation), var(--primary-light)); - font-weight: 500 !important; - transition: 0.3s ease-in-out; - font-weight: 400; -} - -.table.ac-table tbody tr td .tags .tag a { - color: inherit; - transition: 0.3s ease-in-out; - font-weight: 500; -} - -.table.ac-table tbody tr td .tags .tag a:hover { - color: #020617; -} - -.table.ac-table tbody tr td.is-danger { - color: hsl(348, 100%, 40%); -} - -.table.ac-table tbody tr td .image-with-status { - margin-right: 20px; - position: relative; - z-index: 1; - display: inline-flex; -} - -.table.ac-table tbody tr td .image-with-status.is-danger { - background-color: hsl(348, 100%, 40%); -} - -.table.ac-table tbody tr td .image-with-status i.fa { - position: absolute; - background-color: hsl(var(--primary-hue), var(--primary-saturation), var(--primary-light)); - color: hsl(0, 0%, 100%); - font-size: 11px; - width: 15px; - height: 15px; - text-align: center; - line-height: 15px; - border-radius: 50%; - right: -5px; - top: 5px; -} - -.table.ac-table tbody tr td .image-with-status i.fa.fa-close { - background-color: hsl(348, 100%, 40%); -} - -.table.ac-table tbody tr td .image-with-status img { - width: 20px; - height: 20px; - object-fit: cover; - border-radius: 50%; -} - -.table.ac-table tbody tr td .collapsible-row { - max-height: 0; - overflow-y: hidden; -} - -.table.ac-table tbody tr td .collapsible-row.is-active { - max-height: 60vh; - overflow-y: overlay; - animation: expand 0.5s ease-in-out; -} - -.table.ac-table tbody tr td .collapsible-row.is-closed { - max-height: 0; - overflow-y: hidden; - animation: collapse 0.5s ease-in-out; -} - -.table.ac-table tbody tr .options-items a:hover { - color: hsl(0, 0%, 100%); - text-decoration: none; -} - -.table.ac-table .increase-width { - position: relative; - visibility: hidden; - width: 36px; -} - -.table.ac-table .increase-width .increase-innner { - border-bottom: 1px solid #e2e8f0; - border-top: 1px solid #e2e8f0; - bottom: -1px; - left: 0; - position: absolute; - right: -451px; - top: -1px; - visibility: visible; - background-color: #e2e8f0; -} - -.table.ac-table td.increase-width .increase-innner { - background-color: transparent; -} - -.table.ac-table.is-bordered thead tr th { - background-color: hsl(var(--secondary-hue), 10%, 96%); - border-top: 1px solid #f1f5f9; - border-bottom: 1px solid #f1f5f9; - border-right: 1px solid #f1f5f9; -} - -.table.ac-table.is-bordered thead tr th:first-child { - border-left: 1px solid transparent; -} - -.table.ac-table.is-bordered thead tr th:last-child { - border-right: 1px solid transparent; -} - -.table.ac-table.is-bordered tbody tr:hover { - box-shadow: none; -} - -.table.ac-table.is-bordered tbody tr td { - font-size: 1rem; - color: #334155; - background-color: transparent; - border-bottom: 1px solid #f1f5f9; - border-right: 1px solid #f1f5f9; -} - -.table.ac-table.is-bordered tbody tr td:last-child { - border-right: 1px solid transparent; -} - -.table.ac-table.is-bordered tbody tr td:first-child { - border-left: 1px solid transparent; -} - -.table.ac-table.is-bordered tbody tr td:first-child { - color: #020617; - border-radius: 0; -} - -.table.ac-table.is-bordered tbody tr td:last-child { - border-radius: 0; -} - -.table.ac-table.is-bordered tbody tr td .ac-single-checkbox .is-checkradio[type=checkbox].ac-checkbox + label { - color: #334155; -} - -.table.ac-table.is-bordered tbody tr td .ac-single-checkbox .is-checkradio[type=checkbox].ac-checkbox + label::before { - height: 16px; - width: 16px; - background-color: hsl(var(--primary-hue), var(--primary-saturation), 95%); -} - -.table.ac-table.is-bordered tbody tr td .ac-single-checkbox .is-checkradio[type=checkbox].ac-checkbox + label::after { - top: 6px; - left: 6px; - border-color: hsl(0, 0%, 80%); - width: 0.3rem; - height: 0.5rem; -} - -.table.ac-table.is-bordered tbody tr td .ac-single-checkbox .is-checkradio[type=checkbox]:checked + label::before { - background-color: hsl(var(--primary-hue), var(--primary-saturation), var(--primary-light)); - border-color: hsl(var(--primary-hue), var(--primary-saturation), var(--primary-light)); -} - -.table.ac-table.is-bordered tbody tr td .ac-single-checkbox .is-checkradio[type=checkbox]:checked + label::after { - border-color: #e2e8f0; -} - -.table.ac-table.is-bordered tbody tr td .is-checkradio[type=checkbox].ac-checkbox:checked + label::before { - background-color: hsl(var(--primary-hue), var(--primary-saturation), var(--primary-light)); - border-color: hsl(var(--primary-hue), var(--primary-saturation), var(--primary-light)); -} - -.table.ac-table.is-bordered tbody tr td .is-checkradio[type=checkbox] + label::before, -.table.ac-table.is-bordered tbody tr td .is-checkradio[type=checkbox] + label:before { - top: 3px; -} - -.table.ac-table.ac-separate-tr { - border-collapse: separate; - border-spacing: 0px 5px; -} - -.table.ac-table.ac-separate-tr tbody tr { - background-color: transparent; -} - -.table.ac-table.is-middle tbody tr td { - vertical-align: middle; -} - -.table.ac-table.is-baseline tbody tr td { - vertical-align: baseline; -} - -.table.ac-table.is-bottom tbody tr td { - vertical-align: bottom; -} - -.table.ac-table.is-dark thead { - background-color: hsl(var(--primary-hue), var(--primary-saturation), 5%); -} - -.table.ac-table.is-dark thead tr th { - color: hsl(0, 0%, 100%); -} - -.table.ac-table.is-dark tbody tr td { - color: hsl(0, 0%, 100%); -} - -.table.ac-table.is-dark tbody tr:nth-child(odd) { - background-color: hsl(var(--primary-hue), var(--primary-saturation), 20%); -} - -.table.ac-table.is-dark tbody tr:nth-child(even) { - background-color: hsl(var(--primary-hue), var(--primary-saturation), 5%); -} - -.table.ac-table.is-dark tbody tr:hover { - background-color: hsl(var(--primary-hue), var(--primary-saturation), var(--primary-light)); -} - -.table.ac-table.is-dark tbody tr:hover td { - color: hsl(0, 0%, 100%); -} - -.table.ac-table tbody tr:hover td a:not(.tag a) { - text-decoration: underline; - color: hsl(var(--primary-hue), var(--primary-saturation), var(--primary-light)); -} - -.table-inner-shadow { - border-radius: 0px; - background: #e2e8f0; - box-shadow: inset 5px 5px 10px #e3e6e9, inset -5px -5px 10px hsl(0, 0%, 100%); -} - -@keyframes expand { - from { - max-height: 0; - overflow-y: hidden; - } - 1% { - overflow-y: hidden; - } - 99% { - overflow-y: hidden; - } - to { - max-height: 60vh; - overflow-y: overlay; - } -} -@keyframes collapse { - from { - max-height: 60vh; - overflow-y: overlay; - } - 1% { - overflow-y: hidden; - } - 99% { - overflow-y: hidden; - } - to { - max-height: 0; - overflow-y: hidden; - } -} -.multiselect .multiselect__tags { - background-color: hsl(0, 0%, 100%); - min-height: 36px; - font-weight: 500; - width: 100%; - border-radius: 4px; - border: 1px solid #cbd5e1; - padding: 6px 30px 8px 15px; - font-size: 1rem; - border-radius: 4px; -} - -.multiselect .multiselect__tags:hover { - border-color: hsl(var(--primary-hue), var(--primary-saturation), var(--primary-light)); -} - -.multiselect .multiselect__tags .multiselect__placeholder { - margin: 0; - padding: 0; - font-weight: 500; - font-size: 1rem; -} - -.multiselect .multiselect__tags .multiselect__tags-wrap { - display: flex; - align-items: center; - flex-wrap: wrap; -} - -.multiselect .multiselect__tags .multiselect__tag { - background-color: hsl(var(--primary-hue), var(--primary-saturation), var(--primary-light)); - margin-top: 4px; - margin-bottom: 0; -} - -.multiselect .multiselect__tags .multiselect__tag .multiselect__tag-icon { - font-size: 12px; -} - -.multiselect .multiselect__tags .multiselect__tag .multiselect__tag-icon::after { - color: hsl(0, 0%, 100%); -} - -.multiselect .multiselect__tags .multiselect__tag .multiselect__tag-icon:hover { - background-color: hsla(var(--hsl-hue), var(--hsl-saturation), calc(var(--hsl-lightness) - 9%), 1); -} - -.multiselect .multiselect__tags .multiselect__input, -.multiselect .multiselect__tags .multiselect__single { - background-color: hsl(0, 0%, 100%); - margin-bottom: 0; - margin: 0 !important; - padding-left: 0; - left: 0px; - font-size: 1rem !important; - font-weight: 500; - color: #020617; - line-height: 1.5; -} - -.multiselect .multiselect__tags .multiselect__single { - margin-top: 3px; - margin-bottom: 0; -} - -.multiselect .multiselect__select { - height: 36px; -} - -.multiselect .multiselect__content .multiselect__element .multiselect__option { - padding: 4px 16px; - min-height: 32px; - font-size: 1rem; - display: flex; - align-items: center; -} - -.multiselect .multiselect__content .multiselect__element .multiselect__option img { - width: 30px; -} - -.multiselect .multiselect__content .multiselect__element .multiselect__option p { - font-size: 1rem; - color: #020617; -} - -.multiselect .multiselect__content .multiselect__element .multiselect__option p:not(.location) { - font-weight: 500; -} - -.multiselect .multiselect__content .multiselect__element .multiselect__option a { - display: block; - font-weight: 400; - margin-top: -12px; - margin-bottom: -12px; - padding-top: 12px; - padding-bottom: 12px; - width: 100%; -} - -.multiselect .multiselect__content .multiselect__element .multiselect__option:hover { - background-color: hsl(var(--secondary-hue), 10%, 96%); - color: hsl(var(--secondary-hue), var(--secondary-saturation), var(--secondary-light)); -} - -.multiselect .multiselect__content .multiselect__element .multiselect__option.multiselect__option--highlight { - background-color: transparent; - color: hsl(var(--secondary-hue), var(--secondary-saturation), var(--secondary-light)); -} - -.multiselect .multiselect__content .multiselect__element .multiselect__option.multiselect__option--highlight:hover { - background-color: hsl(var(--primary-hue), 10%, 96%); -} - -.multiselect .multiselect__content .multiselect__element .multiselect__option.multiselect__option--highlight:after { - background-color: hsl(var(--secondary-hue), 10%, 96%); - color: hsl(var(--secondary-hue), var(--secondary-saturation), var(--secondary-light)); -} - -.multi-select-wrapper.is-last-child-bold .multiselect .multiselect__content .multiselect__element:nth-last-child(-n+3) .multiselect__option { - font-weight: 500; -} - -.multiselect__element span label { - padding-left: 15px !important; - font-size: 1rem !important; - color: hsl(var(--primary-hue), var(--primary-saturation), 10%) !important; -} - -.multiselect__element span label:after { - position: inherit !important; - content: "" !important; - background-color: transparent; -} - -.multiselect__input::placeholder { - color: #334155; - font-weight: 400; - line-height: 1.6; - font-size: 1rem; -} - -.multiselect__tags > span { - font-size: 1rem; - line-height: 1; - color: #020617; -} - -.multi-select-wrapper { - position: relative; - z-index: 0; -} - -.multi-select-wrapper .multiselect--disabled { - opacity: unset; - background: transparent !important; -} - -.multi-select-wrapper.is-disable { - opacity: 0.5; - cursor: not-allowed; -} - -.multi-select-wrapper.is-disable input, -.multi-select-wrapper.is-disable .button.is-information, -.multi-select-wrapper.is-disable .eye i.fa { - cursor: not-allowed; -} - -.multi-select-wrapper .multiselect__input { - border: none !important; -} - -.multi-select-wrapper.has-bg-color label.show-label:after { - background-color: transparent; -} - -.multi-select-wrapper.is-small label { - font-size: 1rem; - top: 6px; -} - -.multi-select-wrapper.is-small label.show-label { - font-size: 12px; - top: -9px; - font-weight: 500; - color: hsl(0, 0%, 40%); -} - -.multi-select-wrapper.is-small .button.is-information { - width: 36px; - height: 36px; -} - -.multi-select-wrapper.is-small .multiselect__select { - height: 100%; -} - -.multi-select-wrapper.is-small .multiselect__tags .multiselect__tag { - padding: 5px 20px 4px 10px; - font-size: 12px; -} - -.multi-select-wrapper.is-small .multiselect { - min-height: auto; -} - -.multi-select-wrapper.is-small .multiselect--active { - height: 32px !important; - z-index: 50; -} - -.multi-select-wrapper.is-small .multiselect .multiselect__tags { - min-height: 32px !important; - padding: 4px 30px 4px 15px; - font-size: 1rem; -} - -.multi-select-wrapper.is-small .multiselect .multiselect__tags .multiselect__single { - font-size: 12px; -} - -.multi-select-wrapper.is-small .multiselect .multiselect__tags .multiselect__placeholder { - padding: 5px 0 0; - font-size: 1rem; - font-weight: 500; -} - -.multi-select-wrapper.is-small .multiselect__input, -.multi-select-wrapper.is-small .multiselect__single { - font-size: 1rem !important; - font-weight: 500; - line-height: 1.5; - display: flex; - align-items: center; -} - -.multi-select-wrapper.is-small .multiselect__input::placeholder, -.multi-select-wrapper.is-small .multiselect__single::placeholder { - font-weight: 500; - line-height: 1.6; - font-size: 1rem; -} - -.multi-select-wrapper.is-extra-small label { - font-size: 1rem; - top: 6px; - font-weight: 500; -} - -.multi-select-wrapper.is-extra-small label.show-label { - font-size: 12px; - top: -9px; - font-weight: 500; -} - -.multi-select-wrapper.is-extra-small .button.is-information { - width: 32px; - height: 32px; -} - -.multi-select-wrapper.is-extra-small .multiselect__select { - height: 100%; -} - -.multi-select-wrapper.is-extra-small .multiselect__select::before { - top: 73%; -} - -.multi-select-wrapper.is-extra-small .multiselect__tags .multiselect__tag { - padding: 5px 20px 4px 10px; - font-size: 12px; -} - -.multi-select-wrapper.is-extra-small .multiselect { - min-height: auto; -} - -.multi-select-wrapper.is-extra-small .multiselect--active { - height: 32px !important; - z-index: 50; -} - -.multi-select-wrapper.is-extra-small .multiselect .multiselect__tags { - min-height: 32px !important; - padding: 3px 30px 4px 15px; - font-size: 1rem; - display: flex; - align-items: center; -} - -.multi-select-wrapper.is-extra-small .multiselect .multiselect__tags .multiselect__single { - font-size: 12px; - top: 1px !important; -} - -.multi-select-wrapper.is-extra-small .multiselect .multiselect__tags .multiselect__placeholder { - padding: 5px 0 0; - font-size: 1rem; - font-weight: 500; -} - -.multi-select-wrapper.is-extra-small .multiselect__input, -.multi-select-wrapper.is-extra-small .multiselect__single { - font-size: 1rem !important; - font-weight: 500; - line-height: 1.5; - display: flex; - align-items: center; -} - -.multi-select-wrapper.is-extra-small .multiselect__input::placeholder, -.multi-select-wrapper.is-extra-small .multiselect__single::placeholder { - font-weight: 500; - line-height: 1.6; - font-size: 1rem; -} - -.multi-select-wrapper.is-danger input, -.multi-select-wrapper.is-danger .ac-card, -.multi-select-wrapper.is-danger textarea { - border: 1px solid hsl(348, 100%, 40%); -} - -.multi-select-wrapper.is-danger p { - color: hsl(348, 100%, 40%); -} - -.multi-select-wrapper.is-loading input, -.multi-select-wrapper.is-loading .ac-card, -.multi-select-wrapper.is-loading textarea { - border: 1px solid hsl(217, 71%, 50%); - opacity: 0.5; -} - -.multi-select-wrapper.is-loading p { - color: hsl(217, 71%, 50%); - opacity: 0.5; -} - -.multi-select-wrapper .is-danger { - font-size: 12px; - line-height: 22px; - color: hsl(348, 100%, 40%); - text-align: left; -} - -.multi-select-wrapper .is-danger i.fa { - padding-right: 10px; -} - -.multi-select-wrapper .multiselect__select { - height: calc(100% - 2px); - border-radius: 0 4px 4px 0; - background-color: transparent !important; -} - -.multi-select-wrapper label { - font-size: 1rem; - left: 15px; - top: 8px; - cursor: text; - color: #020617; - position: absolute; - z-index: 99; - transition: 0.1s ease-in-out; -} - -.multi-select-wrapper label .is-required img { - position: absolute; - top: 7px; - padding-left: 3px; -} - -.multi-select-wrapper label.show-label { - top: -10px; - left: 10px; - padding: 0 5px; - font-size: 12px; - color: hsl(0, 0%, 40%); - font-weight: 500; -} - -.multi-select-wrapper label.show-label::after { - background-color: hsl(0, 0%, 100%); -} - -.multi-select-wrapper label:after { - position: absolute; - content: ""; - left: 0; - top: 50%; - background-color: hsl(0, 0%, 100%); - width: 100%; - height: 4px; - margin-top: -1px; - z-index: -1; -} - -.multi-select-wrapper label.is-required:after { - width: calc(100% + 10px); -} - -li .multiselect__option { - font-size: 1rem; - color: #020617; -} - -li .multiselect__option:has(input[type=checkbox]) label { - left: 24px; -} - -.multiselect__option--selected label { - right: 30px; -} - -.multi-select-wrapper.is-small .multiselect .multiselect__tags .multiselect__input, -.multi-select-wrapper.is-small .multiselect .multiselect__tags .multiselect__single { - top: 2px !important; -} - -.multi-select-wrapper.is-small .multiselect .multiselect__tags .multiselect__placeholder { - padding-top: 3.5px !important; -} - -.multi-select-wrapper.has-info-button .multiselect__select { - z-index: 99; - right: 30px; -} - -.multi-select-wrapper.has-info-button.has-refresh-button .multiselect__select { - z-index: 99; - right: 60px; -} - -.multi-select-wrapper.has-info-button.has-refresh-button .button.is-refresh { - right: 30px; -} - -.multi-select-wrapper.has-info-button .button.is-information { - right: 0; -} - -.multi-select-wrapper.has-refresh-button .multiselect__select { - z-index: 99; - right: 30px; -} - -.multi-select-wrapper.has-refresh-button .button.is-refresh { - right: 0; -} - -.multi-select-wrapper .multiselect__tags .multiselect__single { - overflow: hidden; - text-overflow: ellipsis; - display: -webkit-box; - line-clamp: 1; - -webkit-line-clamp: 1; - box-orient: vertical; - -webkit-box-orient: vertical; - top: 1.5px; -} - -.multi-select-wrapper.has-clear-button.has-refresh-button .multiselect__select { - z-index: 99; - right: 30px; -} - -.multi-select-wrapper.has-clear-button.has-refresh-button .button.is-clear { - right: 60px; -} - -.multi-select-wrapper.has-clear-button.has-info-button.has-refresh-button .multiselect__select { - z-index: 99; - right: 60px; -} - -.multi-select-wrapper.has-clear-button.has-info-button.has-refresh-button .button.is-clear { - right: 90px; -} - -.multi-select-wrapper.has-clear-button.has-info-button .multiselect__select { - z-index: 99; - right: 30px; -} - -.multi-select-wrapper.has-clear-button.has-info-button .button.is-clear { - right: 60px; -} - -.multi-select-wrapper.has-clear-button .multiselect__select { - z-index: 99; - right: 0px; -} - -.multi-select-wrapper.has-clear-button .multiselect__tags { - padding: 3px 100px 4px 15px !important; -} - -.multi-select-wrapper.has-clear-button .button.is-clear { - right: 30px; - height: 100%; -} - -.multi-select-wrapper .button.is-information, .multi-select-wrapper .button.is-refresh, .multi-select-wrapper .button.is-clear { - background-color: transparent; - border: none; - position: absolute; - height: 36px; - width: 36px; - z-index: 90; - margin-top: 0; -} - -.multi-select-wrapper .button.is-information:focus, .multi-select-wrapper .button.is-refresh:focus, .multi-select-wrapper .button.is-clear:focus { - outline: none; - box-shadow: none; - background-color: #e4e8ef; - transform: scale(0.8); -} - -.multi-select-wrapper .button.is-refresh.spin i { - animation: spin 1s linear infinite; -} - -.multiselect__content-wrapper { - box-shadow: 0 0.5em 1em -0.125em rgba(10, 10, 10, 0.1), 0 0px 0 1px rgba(10, 10, 10, 0.02); -} - -.multiselect__content .multiselect__element:first-child .multiselect__option--group.multiselect__option--disabled { - border-top: none !important; - margin-top: 0 !important; - padding-top: 12px !important; -} - -.option-group .multiselect__option--disabled { - background: transparent !important; - color: #020617 !important; - font-weight: 700 !important; - font-size: 12px !important; - border-top: 1px solid #f1f5f9; - min-height: 24px !important; - padding-top: 16px !important; - margin-top: 4px !important; -} - -.option-group .multiselect__option:not(.multiselect__option--disabled) { - padding-left: 32px !important; -} - -.option-group .multiselect__option:not(.multiselect__option--disabled):hover { - background-color: #f1f1f1 !important; -} - -.option-group .multiselect__option:not(.multiselect__option--disabled).multiselect__option--selected { - padding-left: 32px !important; -} - -.option-group .multiselect__option--selected { - font-weight: 500 !important; - color: hsl(var(--primary-hue), var(--primary-saturation), var(--primary-light)) !important; - background-color: hsl(var(--primary-hue), 10%, 96%) !important; -} - -.option-group .multiselect__option--selected:hover { - background-color: hsl(var(--primary-hue), 10%, 96%) !important; - color: hsl(var(--primary-hue), var(--primary-saturation), var(--primary-light)) !important; -} - -.option-group .multiselect__option--selected:before { - position: absolute; - left: 16px; - top: 50%; - margin-top: -8px; - content: "\f00c"; - font-family: "Fontawesome"; - display: inline-block; - vertical-align: top; - line-height: 1; - width: 16px; - height: 16px; - margin-right: 0.3em; - color: hsl(var(--primary-hue), var(--primary-saturation), var(--primary-light)); -} - -@-moz-keyframes spin { - from { - -moz-transform: rotate(0deg); - } - to { - -moz-transform: rotate(360deg); - } -} -@-webkit-keyframes spin { - from { - -webkit-transform: rotate(0deg); - } - to { - -webkit-transform: rotate(360deg); - } -} -@keyframes spin { - from { - transform: rotate(0deg); - } - to { - transform: rotate(360deg); - } -} -/**************************************** -Responsive Classes -*****************************************/ -.ac-toast { - line-height: 1.5 !important; - min-width: 350px !important; - min-height: 40px !important; - justify-content: flex-start !important; - font-size: 1rem !important; - font-weight: 500 !important; - padding-right: 35px !important; - box-shadow: none !important; - border-radius: 4px !important; -} - -.ac-toast * { - color: hsl(0, 0%, 100%) !important; -} - -.ac-toast p { - padding-left: 10px; -} - -.ac-toast p i.fa { - padding-right: 0 !important; -} - -.ac-toast a { - font-weight: 500; - text-decoration: underline; - padding: 0 15px; -} - -.ac-toast a:hover { - color: #f1f1f1; -} - -.ac-toast.is-success { - background-color: hsl(141, 53%, 40%) !important; -} - -.ac-toast.is-danger { - background-color: hsl(348, 100%, 40%) !important; -} - -.ac-toast.is-warning { - background-color: hsl(38, 93%, 50%) !important; -} - -.ac-toast.is-info { - background-color: hsl(217, 71%, 50%) !important; -} - -.ac-toast-action { - font-size: 1rem !important; - font-weight: 400 !important; - color: inherit !important; - font-family: Roboto, sans-serif !important; - display: flex !important; - justify-content: space-between !important; - align-items: center !important; - position: absolute; - right: 15px; -} - -/**************************************** -Responsive Classes -*****************************************/ -.card-select { - min-height: 98px; - padding: 16px; - background-color: hsl(0, 0%, 100%); - border: 1px solid #e2e8f0; - box-sizing: border-box; - border-radius: 4px; - transition: 0.3s ease-in-out; - position: relative; - z-index: 1; - min-width: 200px; - max-width: 250px; - margin-bottom: 0 !important; -} - -.card-select.ac-radio [type=radio] + label { - color: #020617; - font-weight: 500; - font-size: 14px; -} - -.card-select.is-active-require-field:after { - content: ""; - position: absolute; - width: 100%; - height: 100%; - background-color: hsl(0, 0%, 5%); - top: 0; - left: 0; - z-index: 1; - opacity: 0.6; - border-radius: 4px; -} - -.card-select.is-active-require-field .r-dropdown-item { - opacity: 1; - visibility: visible; -} - -.card-select.is-singleline { - height: auto; - padding: 0; - border: none; - background-color: transparent; - width: auto; - margin-bottom: 0; -} - -.card-select.is-singleline label { - font-weight: 400 !important; -} - -.card-select.is-singleline:hover { - box-shadow: none; - border: none; -} - -.card-select.is-singleline:hover label { - color: hsl(var(--primary-hue), var(--primary-saturation), var(--primary-light)) !important; -} - -.card-select.is-singleline .ac-single-radio label, -.card-select.is-singleline .ac-single-checkbox label { - font-size: 1rem; - line-height: 20px; - color: #020617; - padding-left: 25px !important; -} - -.card-select.is-singleline.is-disabled { - background-color: transparent; -} - -.card-select.is-singleline.is-disabled label { - color: #020617; - cursor: not-allowed; -} - -.card-select.is-singleline .ac-single-radio .is-checkradio[type=radio]:checked + label { - color: hsl(var(--primary-hue), var(--primary-saturation), var(--primary-light)); -} - -.card-select.is-singleline .ac-single-radio { - margin-bottom: 0; -} - -.card-select.is-disabled { - background-color: hsl(var(--primary-hue), 10%, 96%); - cursor: not-allowed; - opacity: 0.8; -} - -.card-select.is-disabled:hover { - border-color: transparent; - box-shadow: none; -} - -.card-select:hover { - box-shadow: 0px 8px 50px rgba(0, 0, 0, 0.2); - border: 1px solid transparent; -} - -.card-select.is-selected::after { - position: absolute; - content: ""; - left: 0; - top: 0; - width: 100%; - height: 100%; - z-index: -1; - border: 2px solid hsl(var(--primary-hue), var(--primary-saturation), var(--primary-light)); - border-radius: 4px; -} - -.card-select:last-child { - margin-right: 0; -} - -.card-select .more-option { - position: relative; - z-index: 1; -} - -.card-select .more-option .btn-more-option { - background-color: #e4e4e4; - height: 16px; - width: 30px; - border: none; - border-radius: 3px; - padding: 0; - cursor: pointer; - margin-left: 5px; - display: inline-flex; - align-items: center; - justify-content: center; - transform: translate(0px, -2px); -} - -.card-select .more-option .btn-more-option span { - display: inline-flex; - width: 4px; - height: 4px; - border-radius: 50%; - background-color: #b1b1b1; - margin-right: 2px; -} - -.card-select .more-option .btn-more-option span:last-child { - margin-right: 0; -} - -.card-select .r-dropdown-item { - position: absolute; - z-index: 2; - right: 10px; - top: 10px; - background-color: hsl(0, 0%, 100%); - box-shadow: 0px 8px 57px rgba(0, 0, 0, 0.16); - display: inline-block; - border-radius: 4px; - padding: 5px 15px; - width: 200px; - opacity: 0; - visibility: hidden; - transition: 0.3s ease-in-out; -} - -.card-select .r-dropdown-item button.close-icon { - position: absolute; - right: -5px; - top: -5px; - border: 1px solid hsl(0, 0%, 80%); - font-size: 10px; - height: 25px; - width: 25px; - text-align: center; - background-color: hsl(0, 0%, 100%); - border-radius: 50%; - cursor: pointer; - color: hsl(348, 100%, 40%); - transition: 0.3s ease-in-out; - display: block; -} - -.card-select .r-dropdown-item button.close-icon:hover { - color: hsl(0, 0%, 100%); - background-color: hsl(348, 100%, 40%); - border: 1px solid hsl(348, 100%, 40%); -} - -.card-select .r-dropdown-item li { - display: inline-block; -} - -.card-select .r-dropdown-item li a { - display: block; - padding: 5px 10px 5px 0; - color: #334155; - font-size: 11px; - text-decoration: underline; - font-weight: 400; -} - -.card-select .r-dropdown-item li a:hover { - color: hsl(var(--primary-hue), var(--primary-saturation), var(--primary-light)); -} - -.card-select .ac-single-radio, -.card-select .ac-single-checkbox { - margin-bottom: 10px; -} - -.card-select .ac-single-radio label, -.card-select .ac-single-checkbox label { - font-family: "Roboto", sans-serif; - font-style: normal; - font-weight: 500; - font-size: 1rem; - line-height: 24px; - color: #020617; -} - -.card-select p { - font-family: "Roboto", sans-serif; - font-style: normal; - font-weight: normal; - font-size: 1rem; - line-height: 140%; - color: #334155; -} - -.card-select p.is-warning { - color: hsl(348, 100%, 40%); -} - -.card-select p a { - text-decoration: underline; -} - -.ac-object-field-wrapper { - display: grid; - grid-template-columns: auto auto 45px; - grid-gap: 16px; -} - -.ac-array-field-wrapper { - display: grid; - grid-template-columns: auto 99px; - grid-gap: 16px; -} - -.ui-builders-wrapper { - width: 800px; -} - -.ui-builders-wrapper h5 { - margin-bottom: 10px; -} - -.ui-builders-wrapper p { - font-size: 13px; - margin-bottom: 10px; - color: hsl(var(--primary-hue), var(--primary-saturation), 20%); -} - -.key-value-save { - display: grid; - grid-template-columns: 1fr 1fr auto; - grid-gap: 16px; -} - -.key-value-save.has-close { - grid-template-columns: 1fr 1fr auto auto; -} - -.key-value-save-check { - display: grid; - grid-template-columns: 1fr 1fr auto auto; - grid-gap: 16px; -} - -.key-save { - display: grid; - grid-template-columns: 1fr auto; - grid-gap: 16px; -} - -.value-list-save { - display: grid; - grid-template-columns: 1fr auto; - grid-gap: 16px; -} - -.ac-nested-elements { - padding-left: 20px; - position: relative; - z-index: 1; -} - -.ac-nested-elements:first-child { - margin-left: -20px; -} - -.ac-nested-elements.is-active::after { - border: 1px dashed hsl(171, 100%, 41%); -} - -.ac-nested-elements.is-active::before { - background-color: hsl(171, 100%, 41%); -} - -.ac-nested-elements.is-active .nested-header h6 .collaps-icon { - border: 1px solid hsl(171, 100%, 41%) !important; - color: hsl(171, 100%, 41%) !important; -} - -.ac-nested-elements::after { - position: absolute; - content: ""; - left: 27px; - top: 10px; - width: 1px; - height: calc(100% - 20px); - border: 1px dashed #e2e8f0; - z-index: -1; -} - -.ac-nested-elements::before { - position: absolute; - content: ""; - left: 22px; - bottom: 6px; - width: 12px; - height: 12px; - background-color: #e2e8f0; - border-radius: 50%; - z-index: -1; -} - -.ac-nested-elements .nested-header { - display: flex; - align-items: center; - justify-content: space-between; - margin-bottom: 5px; -} - -.ac-nested-elements .nested-header h6 { - display: flex; - align-items: center; - cursor: pointer; -} - -.ac-nested-elements .nested-header h6 .collaps-icon { - width: 16px; - height: 16px; - line-height: 16px; - display: inline-block; - text-align: center; - font-size: 10px; - border: 1px solid #e2e8f0; - border-radius: 50%; - margin-right: 10px; - cursor: pointer; - background-color: hsl(0, 0%, 100%); - color: hsl(var(--primary-hue), var(--primary-saturation), 20%); -} - -.ac-nested-elements .nested-header h6 .collaps-icon.is-disabled { - cursor: not-allowed; -} - -.ac-nested-elements .nested-body { - padding-left: 24px; -} - -.is-collapsed.ac-nested-elements::before, .is-collapsed.ac-nested-elements::after { - display: none; -} - -.details-with-checkradio-wrapper { - display: grid; - gap: 16px; - grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); -} - -.label-action { - align-items: center; - height: 21px; -} - -.label-action .ac-single-input label { - margin-top: 2px; -} - -.label-action button:not(.is-text) { - opacity: 0; - visibility: hidden; - transition: 0.3s ease-in-out; -} - -.label-action button:not(.is-text) img { - width: 16px; -} - -.label-action button:not(.is-text).label-icon { - border: none; - background-color: transparent; - cursor: pointer; - padding: 0; - transition: 0.3s ease-in-out; -} - -.label-action button:not(.is-text).label-icon:hover { - opacity: 0.8; -} - -.label-action:hover button { - opacity: 1; - visibility: visible; -} - -.label-action .ms-close-button .buttons button, -.label-action .ac-modal-footer .buttons button { - opacity: 1; - visibility: visible; -} - -.label-action .ms-close-button .buttons button:hover, -.label-action .ac-modal-footer .buttons button:hover { - opacity: 0.7; -} - -.label-action .label-icon { - display: flex; - align-items: center; - margin-right: 10px; -} - -.label-action .label-icon img { - width: 16px; -} - -.label-action strong { - font-style: normal; - font-weight: 500; - font-size: 13px; - line-height: 16px; - color: hsl(var(--primary-hue), var(--primary-saturation), 10%); - margin-right: 16px; -} - -.resource-input { - display: grid; - grid-template-columns: 60px 1fr 1fr; - grid-gap: 16px; - align-items: center; - margin-bottom: 16px; -} - -.resource-input .label-text { - font-weight: 300; -} - -.resource-input .ac-single-input { - margin: 0; -} - -.pass-strength { - position: absolute; - right: 30px; - top: 7px; -} - -.ac-final-state { - margin-bottom: 10px; -} - -.ac-final-state:last-child { - margin-bottom: 0; -} - -.ac-final-state .state-left h5 { - font-style: normal; - font-weight: 500; - font-size: 14px; - line-height: 19px; - color: hsl(var(--primary-hue), var(--primary-saturation), 10%); -} - -.ac-final-state .state-left button.ac-button { - opacity: 0; - visibility: hidden; - transition: 0.3s ease-in-out; -} - -.ac-final-state:hover .state-left button.ac-button { - opacity: 1; - visibility: visible; -} - -.up-down-buttons { - border-radius: 4px; - overflow: hidden; - position: relative; - z-index: 1; - max-width: 36px; - margin-bottom: 0 !important; -} - -.up-down-buttons button { - width: 36px; - height: 18px; - cursor: pointer; - border: none; - color: hsl(171, 100%, 41%); - background-color: #e2e8f0; - transition: 0.3s ease-in-out; -} - -.up-down-buttons button:hover { - background-color: hsl(var(--primary-hue), var(--primary-saturation), 80%); -} - -.up-down-buttons button.is-primary { - background-color: hsl(171, 100%, 41%); - color: hsl(0, 0%, 100%); -} - -.up-down-buttons button.is-primary:hover { - background-color: hsl(var(--primary-hue), var(--primary-saturation), 30%); -} - -.up-down-buttons button .icon { - margin: 0; - padding: 0; - width: auto; - height: auto; -} - -p.is-error, -span.is-error { - color: hsl(348, 100%, 40%); - font-weight: 400; -} - -.circle-list-shape { - width: 6px; - height: 6px; - background-color: hsl(0, 0%, 40%); - display: flex; - border-radius: 50%; -} - -.vue-schema-form-array .nested-body { - display: flex; -} - -.vue-schema-form-array .nested-body .form-left-item { - margin-right: 16px; - width: calc(100% - 108px); -} - -.nested-header .tabs.ac-tabs { - margin-bottom: 0; - opacity: 0; - visibility: hidden; - transition: 0.3s ease-in-out; -} - -.nested-header:hover .tabs.ac-tabs { - opacity: 1; - visibility: visible; -} - -.vue-openapi-form { - margin-left: -20px; -} - -.vue-openapi-form .ac-nested-elements:first-child { - margin-left: 0; -} - -.vue-openapi-form .ac-nested-elements .nested-body { - padding-left: 0px; -} - -.vue-openapi-form .ac-nested-elements .nested-header { - width: 100%; -} - -.vue-openapi-form .ac-single-switch { - margin-left: -15px; - margin-bottom: 35px; -} - -.vue-openapi-form .ac-single-input { - margin-left: 25px; -} - -.vue-openapi-form .ac-single-input:last-child { - margin-bottom: 16px; -} - -.vue-form-scema-body .left-content { - background-color: hsl(var(--primary-hue), 10%, 96%); - border-right: 1px solid #e2e8f0; - padding: 30px; - width: 500px; -} - -.vue-form-scema-body .right-content { - margin-top: 30px; -} - -.v-tooltip-open { - background-color: hsl(0, 0%, 100%); -} - -.ac-nested-elements::after { - top: 25px; - width: 1px; - height: calc(100% - 50px); -} - -.ac-nested-elements::before { - bottom: 12px; -} - -.is-collapsed.ac-nested-elements::before, .is-collapsed.ac-nested-elements::after { - display: none; -} - -.ui-builders-wrapper .ac-nested-elements::before { - bottom: 10px !important; -} - -.vue-openapi-form .ac-single-input { - position: relative; - z-index: 1; - margin-bottom: 16px; -} - -.vue-openapi-form .ac-single-input.is-disable { - opacity: 0.5; -} - -.vue-openapi-form .ac-single-input.is-disable input, -.vue-openapi-form .ac-single-input.is-disable .button.is-information, -.vue-openapi-form .ac-single-input.is-disable .eye i.fa { - cursor: not-allowed; -} - -.vue-openapi-form .ac-single-input.is-information input { - padding-right: 45px; -} - -.vue-openapi-form .ac-single-input.is-information input[type=password] { - padding-right: 80px; -} - -.vue-openapi-form .ac-single-input.is-information span.eye i.fa { - right: 35px; -} - -.vue-openapi-form .ac-single-input.is-success input, -.vue-openapi-form .ac-single-input.is-success .ac-card, -.vue-openapi-form .ac-single-input.is-success textarea { - border: 1px solid hsl(171, 100%, 41%) !important; -} - -.vue-openapi-form .ac-single-input.is-success p { - color: hsl(171, 100%, 41%); -} - -.vue-openapi-form .ac-single-input.is-danger input, -.vue-openapi-form .ac-single-input.is-danger .ac-card, -.vue-openapi-form .ac-single-input.is-danger textarea { - border: 1px solid hsl(348, 100%, 40%); -} - -.vue-openapi-form .ac-single-input.is-danger p { - color: hsl(348, 100%, 40%); -} - -.vue-openapi-form .ac-single-input.is-loading input, -.vue-openapi-form .ac-single-input.is-loading .ac-card, -.vue-openapi-form .ac-single-input.is-loading textarea { - border: 1px solid hsl(217, 71%, 50%); - opacity: 0.5; -} - -.vue-openapi-form .ac-single-input.is-loading p { - color: hsl(217, 71%, 50%); - opacity: 0.5; -} - -.vue-openapi-form .ac-single-input.borderless-input input { - border: none; - font-size: 13px; - padding: 4px 7px; - height: 30px; - background-color: hsl(0, 0%, 100%); - padding-right: 30px; -} - -.vue-openapi-form .ac-single-input.borderless-input input[type=password] { - padding-right: 30px; -} - -.vue-openapi-form .ac-single-input.borderless-input input:focus { - outline: none; - border: none; -} - -.vue-openapi-form .ac-single-input.borderless-input span.eye i.fa { - padding: 9px; - font-size: 12px; -} - -.vue-openapi-form .ac-single-input.is-normal input { - height: 45px; - font-size: 15px; - font-weight: 400; -} - -.vue-openapi-form .ac-single-input.is-normal .button.is-information { - height: 45px; - width: 45px; - margin-top: 0; -} - -.vue-openapi-form .ac-single-input.is-normal .button.is-information:focus { - outline: none; - box-shadow: none; -} - -.vue-openapi-form .ac-single-input.is-normal span.eye i.fa { - padding: 14px 10px; -} - -.vue-openapi-form .ac-single-input.is-normal .ac-search-button { - margin-top: -22.5px; -} - -.vue-openapi-form .ac-single-input.is-normal label { - top: 13px; - font-size: 13px; -} - -.vue-openapi-form .ac-single-input.is-normal label.show-label { - font-size: 12px; - color: hsl(0, 0%, 40%); - top: -9px; - font-weight: 500; - background-color: hsl(0, 0%, 100%); -} - -.vue-openapi-form .ac-single-input.is-normal .control.has-icons-right .icon { - height: 45px; - width: 30px; - font-size: 13px; -} - -.vue-openapi-form .ac-single-input.is-small input { - height: 36px; - font-size: 13px; - font-weight: 400; -} - -.vue-openapi-form .ac-single-input.is-small .button.is-information { - height: 36px; - width: 36px; - margin-top: 0; - padding: 10px; -} - -.vue-openapi-form .ac-single-input.is-small span.eye i.fa { - padding: 10px; -} - -.vue-openapi-form .ac-single-input.is-small .ac-search-button { - margin-top: -18px; -} - -.vue-openapi-form .ac-single-input.is-small label { - top: 8px; - font-size: 13px; -} - -.vue-openapi-form .ac-single-input.is-small label.switch-label { - top: 0; -} - -.vue-openapi-form .ac-single-input.is-small label.show-label { - font-size: 12px; - top: -9px; - font-weight: 500; - color: hsl(0, 0%, 40%); -} - -.vue-openapi-form .ac-single-input.is-small label.show-label.is-required:after { - width: calc(100% + 10px); -} - -.vue-openapi-form .ac-single-input.is-small .control.has-icons-right .icon { - height: 36px; - width: 25px; - font-size: 13px; -} - -.vue-openapi-form .ac-single-input.is-extra-small input { - height: 32px; - font-size: 13px; - font-weight: 400; -} - -.vue-openapi-form .ac-single-input.is-extra-small .button.is-information { - height: 32px; - width: 32px; - margin-top: 0; -} - -.vue-openapi-form .ac-single-input.is-extra-small span.eye i.fa { - padding: 10px; -} - -.vue-openapi-form .ac-single-input.is-extra-small .ac-search-button { - margin-top: 0px; - top: 0; - display: flex; - align-items: center; - width: 40px; - justify-content: center; -} - -.vue-openapi-form .ac-single-input.is-extra-small .ac-search-button svg { - width: 18px; -} - -.vue-openapi-form .ac-single-input.is-extra-small label { - top: 8px; - font-size: 13px; -} - -.vue-openapi-form .ac-single-input.is-extra-small label.switch-label { - top: 0; -} - -.vue-openapi-form .ac-single-input.is-extra-small label.show-label { - font-size: 12px; - top: -9px; -} - -.vue-openapi-form .ac-single-input.is-extra-small .control.has-icons-right .icon { - height: 32px; - width: 25px; - font-size: 13px; -} - -.vue-openapi-form .ac-single-input:last-child { - margin-bottom: 0; -} - -.vue-openapi-form .ac-single-input.is-dark input { - background-color: hsl(var(--primary-hue), var(--primary-saturation), 10%); - border-color: transparent; - color: hsl(0, 0%, 100%); -} - -.vue-openapi-form .ac-single-input.is-dark input::placeholder { - color: hsl(var(--primary-hue), var(--primary-saturation), 10%); -} - -.vue-openapi-form .ac-single-input.is-dark input button i.fa { - color: hsl(0, 0%, 100%); -} - -.vue-openapi-form .ac-single-input label { - font-size: 13px; - left: 15px; - top: 11px; - cursor: text; - color: hsl(var(--primary-hue), var(--primary-saturation), 10%); - position: absolute; - z-index: 2; - transition: 0.3s ease-in-out; -} - -.vue-openapi-form .ac-single-input label .is-required { - color: hsl(348, 100%, 40%); -} - -.vue-openapi-form .ac-single-input label .is-required img { - position: absolute; - top: 7px; - padding-left: 3px; -} - -.vue-openapi-form .ac-single-input label.show-label { - top: -9px; - left: 10px; - padding: 0 5px; - font-size: 13px; - color: hsl(0, 0%, 40%); -} - -.vue-openapi-form .ac-single-input label.show-label:after { - position: absolute; - content: ""; - left: 0; - top: 50%; - background-color: hsl(0, 0%, 100%); - width: 100%; - height: 2px; - margin-top: -1px; - z-index: -1; -} - -.vue-openapi-form .ac-single-input .button.is-information { - background-color: transparent; - border: none; - position: absolute; - right: 0; - height: 32px; - width: 32px; - margin-top: 0; -} - -.vue-openapi-form .ac-single-input .button.is-information:focus { - outline: none; - box-shadow: none; - background-color: #e4e8ef; - transform: scale(0.8); -} - -.vue-openapi-form .ac-single-input .ac-search-button { - background-color: transparent; - border: none; - position: absolute; - left: 0; - top: 50%; - width: 32px; - height: 100%; - margin-top: -15px; - color: hsl(var(--primary-hue), var(--primary-saturation), 20%); - cursor: pointer; -} - -.vue-openapi-form .ac-single-input .ac-dropdown-content { - position: absolute; - background-color: #e2e8f0; - width: 100%; - height: auto; - box-shadow: 0px 4px 16px rgba(132, 147, 168, 0.6); - border-radius: 4px; - overflow: hidden; -} - -.vue-openapi-form .ac-single-input .ac-dropdown-content ul li a { - color: hsl(var(--primary-hue), var(--primary-saturation), 10%); - display: block; - font-size: 13px; - padding: 8px 20px; - transition: 0.3s; -} - -.vue-openapi-form .ac-single-input .ac-dropdown-content ul li a:hover { - background-color: hsla(var(--hsl-hue), var(--hsl-saturation), var(--hsl-lightness), 0.2); - color: hsl(171, 100%, 41%); -} - -.vue-openapi-form .ac-single-input .ac-textarea .ac-label.is-required:after { - width: calc(100% + 10px); -} - -.vue-openapi-form .ac-single-input .ac-textarea textarea { - border: 1px solid hsl(var(--primary-hue), var(--primary-saturation), 80%); - background-color: transparent; - padding: 10px 16px; - min-height: 50px; -} - -.vue-openapi-form .ac-single-input .ac-textarea textarea.bg-white { - background-color: transparent; -} - -.vue-openapi-form .ac-single-input .ac-textarea textarea:focus { - outline: none; - border: 1px solid hsl(171, 100%, 41%); -} - -.vue-openapi-form .ac-single-input .ac-card { - height: 36px; - padding: 10px 20px; -} - -.vue-openapi-form .ac-single-input b.isRequired { - color: hsl(348, 100%, 40%); - font-size: 13px; - position: absolute; - right: 5px; - z-index: 9; -} - -.vue-openapi-form .ac-single-input span.eye i.fa { - color: hsl(var(--primary-hue), var(--primary-saturation), 80%); - position: absolute; - cursor: pointer; - padding: 15px; - right: 0; - top: 0; -} - -.vue-openapi-form .ac-single-input .is-danger { - font-size: 12px; - line-height: 22px; - color: hsl(348, 100%, 40%); - text-align: left; -} - -.vue-openapi-form .ac-single-input .is-danger i.fa { - padding-right: 10px; -} - -.vue-openapi-form .ac-input.ac-search { - width: 42px; - transition: 0.3s ease-in-out; - padding: 0; -} - -.vue-openapi-form .ac-search:focus { - width: 200px !important; - padding-right: 10px; -} - -.vue-openapi-form .key-value-save > .ac-single-input { - margin-left: 0; -} - -.vue-openapi-form .key-value-save > .ac-nested-elements { - padding-left: 0; -} - -.vue-openapi-form .key-value-save > .ac-nested-elements:after { - left: 8px; -} - -.vue-openapi-form .key-value-save > .ac-nested-elements:before { - left: 4px; -} - -.is-refresh i.fa { - color: hsl(var(--primary-hue), var(--primary-saturation), 10%); -} - -.tabs.ac-tabs ul { - border-color: #e2e8f0; -} - -.tabs.ac-tabs a { - padding: 8px 20px; - color: #020617; - font-weight: 500; - color: hsl(0, 0%, 40%); -} - -.tabs.ac-tabs a:hover { - border-bottom-color: hsl(0, 0%, 40%); -} - -.tabs.ac-tabs li.is-active a { - border-bottom-color: hsl(var(--primary-hue), var(--primary-saturation), var(--primary-light)); - color: hsl(var(--primary-hue), var(--primary-saturation), var(--primary-light)); -} \ No newline at end of file diff --git a/dist/ArrayInput-3d9d769c.js b/dist/ArrayInput-3d9d769c.js deleted file mode 100644 index b2c327a..0000000 --- a/dist/ArrayInput-3d9d769c.js +++ /dev/null @@ -1 +0,0 @@ -import{m as e,v as a,a as t,b as l,_ as n}from"./entry-f11f5a48.js";import{t as s}from"./tabs-693e2862.js";import{s as r}from"./size-d02f66d9.js";import{defineComponent as o,defineAsyncComponent as i,resolveComponent as u,resolveDirective as m,openBlock as d,createElementBlock as c,normalizeClass as p,createElementVNode as f,createTextVNode as v,toDisplayString as h,createVNode as w,Fragment as y,renderList as b,withDirectives as V,withModifiers as k,createBlock as D,withCtx as g,createCommentVNode as C}from"vue";var x=o({name:"ArrayInput",components:{ArrayInputItems:i((function(){return import("./ArrayInputItems-af73e993.js").then((function(e){return e.default}))}))},mixins:[e,s,a,r],props:{schema:{type:Object,default:function(){return{}}},fieldName:{type:String,default:""},modelValue:{type:null,default:function(){return[]}},errors:{type:Object,default:function(){return{}}},isLastChild:{type:Boolean,default:!1}},data:function(){return{newData:null,updatePass:0}},computed:{items:function(){return this.schema.items||{}}},methods:{swapElems:function(e,a){var t=JSON.parse(JSON.stringify(this.modelData[e]));this.modelData[e]=JSON.parse(JSON.stringify(this.modelData[a])),this.modelData[a]=t,this.updatePass+=1},addNewValue:function(e){var a=this;return t(l().mark((function t(){var n;return l().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e();case 2:n=t.sent,n.valid&&(a.modelData.push(a.newData),a.newData=null,a.updatePass+=1);case 5:case"end":return t.stop()}}),t)})))()},deleteValue:function(e){this.modelData.splice(e,1),this.updatePass+=1}}}),U={class:"nested-header mb-5"},j={class:"is-flex is-semi-normal"},I=f("div",{class:"collaps-icon is-disabled"},[f("i",{class:"fa fa-minus"})],-1),N={key:0,class:"is-flex gap-16 is-flex-direction-column"},O={class:"form-right-item"},S={class:"buttons",style:{gap:"16px"}},J=["disabled","onClick"],M=[f("span",{class:"icon is-small"},[f("i",{class:"fa fa-angle-up"})],-1)],_=["disabled","onClick"],A=[f("span",{class:"icon is-small"},[f("i",{class:"fa fa-angle-down"})],-1)],L=["onClick"],P=[f("span",{class:"icon"},[f("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6"},[f("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M14.74 9l-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 01-2.244 2.077H8.084a2.25 2.25 0 01-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 00-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 013.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 00-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 00-7.5 0"})])],-1)],T={class:"value-list-save"},q=["onClick"],E=[f("div",{class:"icon"},[f("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6"},[f("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 4.5v15m7.5-7.5h-15"})])],-1)];x.render=function(e,a,t,l,s,r){var o=u("component-errors"),i=u("tabs"),x=u("array-input-items"),B=u("object-form-wrapper"),z=u("v-field"),F=u("key-value-pairs"),H=u("array-input",!0),G=u("simple-input"),K=u("v-form"),Q=u("yaml-form"),R=u("json-form"),W=m("tooltip");return d(),c("div",{as:"div",class:p(["ac-nested-elements vue-schema-form-array array-input",{"stop-line":e.isLastChild}])},[f("div",U,[f("h6",j,[I,v(" "+h(e.schema.title||"Array Item Description")+" ",1),w(o,{errors:e.calcFormErrors(e.errors,e.fieldName)},null,8,["errors"])]),w(i,{modelValue:e.activeTab,"onUpdate:modelValue":a[0]||(a[0]=function(a){return e.activeTab=a})},null,8,["modelValue"])]),"form"===e.activeTab?(d(),c("div",N,[(d(!0),c(y,null,b(e.modelData,(function(a,t){return d(),c("div",{key:"".concat(t,"-").concat(e.schema.title,"-form"),class:"nested-body"},[w(x,{"field-name":e.fieldName,items:e.items,schema:e.schema,index:t,"model-value":JSON.parse(JSON.stringify(e.modelData)),errors:e.errors,"reference-model":e.referenceModel||[]},null,8,["field-name","items","schema","index","model-value","errors","reference-model"]),f("div",O,[f("div",S,[f("div",{class:p(["buttons up-down-buttons",{"is-small":!e.isMedium}])},[V((d(),c("button",{class:p(["up-down-button",{"is-primary":0!==t}]),disabled:0===t,onClick:k((function(a){return e.swapElems(t-1,t)}),["prevent"])},M,10,J)),[[W,{content:"move up",placement:"top",classes:["is-primary"],targetClasses:["up-down-button"]}]]),V((d(),c("button",{class:p(["up-down-button",{"is-primary":t!==e.modelData.length-1}]),disabled:t===e.modelData.length-1,onClick:k((function(a){return e.swapElems(t,t+1)}),["prevent"])},A,10,_)),[[W,{content:"move down",placement:"bottom",classes:["is-primary"],targetClasses:["up-down-button"]}]])],2),f("button",{class:"button ac-button is-medium is-square is-danger is-outlined mb-0",onClick:k((function(a){return e.deleteValue(t)}),["prevent"])},P,8,L)])])])})),128)),(d(),D(K,{key:e.updatePass,as:""},{default:g((function(t){var l=t.validate,s=t.errors;return[f("div",T,["object"===e.items.type?(d(),D(z,{key:0,modelValue:e.newData,"onUpdate:modelValue":a[1]||(a[1]=function(a){return e.newData=a}),rules:e.ruleObject(!0),name:"newItem",label:"".concat(e.schema.title," new value"),as:""},{default:g((function(a){var t=a.field,l=a.handleChange;return[w(B,{"field-name":"newItem","model-value":t.value,"is-last-child":!0,"expand-form":!0,"is-self-required":!0,schema:n(n({},e.items),{title:"".concat(e.schema.title," new value")}),type:e.items.type,errors:s,"reference-model":{},"onUpdate:modelValue":l},null,8,["model-value","schema","type","errors","onUpdate:modelValue"])]})),_:2},1032,["modelValue","rules","label"])):"key-value-pairs"===e.items.type?(d(),D(z,{key:1,modelValue:e.newData,"onUpdate:modelValue":a[2]||(a[2]=function(a){return e.newData=a}),rules:e.ruleObject(!0),name:"newItem",label:"".concat(e.schema.title," new value"),as:""},{default:g((function(a){var t=a.field,l=a.handleChange;return[w(F,{"field-name":"newItem","model-value":t.value,"is-last-child":!0,schema:n(n({},e.items),{title:"".concat(e.schema.title," new value")}),errors:s,type:e.items.type,"reference-model":{},"onUpdate:modelValue":l},null,8,["model-value","schema","errors","type","onUpdate:modelValue"])]})),_:2},1032,["modelValue","rules","label"])):"array"===e.items.type?(d(),D(z,{key:2,modelValue:e.newData,"onUpdate:modelValue":a[3]||(a[3]=function(a){return e.newData=a}),rules:e.ruleArray(!0),name:"newItem",label:"".concat(e.schema.title," new value"),as:""},{default:g((function(a){var t=a.field,l=a.handleChange;return[w(H,{"field-name":"newItem","model-value":t.value,"is-last-child":!0,schema:n(n({},e.items),{title:"".concat(e.schema.title," new value")}),errors:s,type:e.items.type,"reference-model":[],"onUpdate:modelValue":l},null,8,["model-value","schema","errors","type","onUpdate:modelValue"])]})),_:2},1032,["modelValue","rules","label"])):(d(),D(z,{key:3,modelValue:e.newData,"onUpdate:modelValue":a[4]||(a[4]=function(a){return e.newData=a}),rules:e.ruleString(!0),name:"newItem",label:"".concat(e.schema.title," new value"),as:""},{default:g((function(a){var t=a.field,l=a.handleChange,s=a.errors,r=a.meta;return[w(G,{"model-value":t.value,schema:n(n({},e.items),{title:"".concat(e.schema.title," new value")}),required:!0,type:e.items.type,"validation-ob":n({errors:s},r),"reference-model":"","onUpdate:modelValue":l},null,8,["model-value","schema","type","validation-ob","onUpdate:modelValue"])]})),_:1},8,["modelValue","rules","label"])),f("button",{class:"button ac-button is-medium is-square is-primary is-outlined",onClick:k((function(a){return e.addNewValue(l)}),["prevent"])},E,8,q)])]})),_:1}))])):"yaml"===e.activeTab?(d(),D(Q,{key:1,modelValue:e.modelData,"onUpdate:modelValue":a[5]||(a[5]=function(a){return e.modelData=a}),"reference-model":e.referenceModel||[]},null,8,["modelValue","reference-model"])):"json"===e.activeTab?(d(),D(R,{key:2,modelValue:e.modelData,"onUpdate:modelValue":a[6]||(a[6]=function(a){return e.modelData=a}),"reference-model":e.referenceModel||[]},null,8,["modelValue","reference-model"])):C("",!0)],2)};export{x as default}; \ No newline at end of file diff --git a/dist/ArrayInput-5cb00ab9.js b/dist/ArrayInput-5cb00ab9.js deleted file mode 100644 index cc33c4c..0000000 --- a/dist/ArrayInput-5cb00ab9.js +++ /dev/null @@ -1 +0,0 @@ -import{m as e,v as a,a as t,b as l,_ as n}from"./entry-2ace4904.js";import{t as s}from"./tabs-ae6e6a83.js";import{s as r}from"./size-d02f66d9.js";import{defineComponent as o,defineAsyncComponent as i,resolveComponent as u,resolveDirective as m,openBlock as d,createElementBlock as c,normalizeClass as p,createElementVNode as f,createTextVNode as v,toDisplayString as h,createVNode as w,Fragment as y,renderList as b,withDirectives as V,withModifiers as k,createBlock as D,withCtx as g,createCommentVNode as C}from"vue";var x=o({name:"ArrayInput",components:{ArrayInputItems:i((function(){return import("./ArrayInputItems-ee63c6cb.js").then((function(e){return e.default}))}))},mixins:[e,s,a,r],props:{schema:{type:Object,default:function(){return{}}},fieldName:{type:String,default:""},modelValue:{type:null,default:function(){return[]}},errors:{type:Object,default:function(){return{}}},isLastChild:{type:Boolean,default:!1}},data:function(){return{newData:null,updatePass:0}},computed:{items:function(){return this.schema.items||{}}},methods:{swapElems:function(e,a){var t=JSON.parse(JSON.stringify(this.modelData[e]));this.modelData[e]=JSON.parse(JSON.stringify(this.modelData[a])),this.modelData[a]=t,this.updatePass+=1},addNewValue:function(e){var a=this;return t(l().mark((function t(){var n;return l().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e();case 2:n=t.sent,n.valid&&(a.modelData.push(a.newData),a.newData=null,a.updatePass+=1);case 5:case"end":return t.stop()}}),t)})))()},deleteValue:function(e){this.modelData.splice(e,1),this.updatePass+=1}}}),U={class:"nested-header mb-5"},j={class:"is-flex is-semi-normal"},I=f("div",{class:"collaps-icon is-disabled"},[f("i",{class:"fa fa-minus"})],-1),N={key:0,class:"is-flex gap-16 is-flex-direction-column"},O={class:"form-right-item"},S={class:"buttons",style:{gap:"16px"}},J=["disabled","onClick"],M=[f("span",{class:"icon is-small"},[f("i",{class:"fa fa-angle-up"})],-1)],_=["disabled","onClick"],A=[f("span",{class:"icon is-small"},[f("i",{class:"fa fa-angle-down"})],-1)],L=["onClick"],P=[f("span",{class:"icon"},[f("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6"},[f("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M14.74 9l-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 01-2.244 2.077H8.084a2.25 2.25 0 01-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 00-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 013.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 00-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 00-7.5 0"})])],-1)],T={class:"value-list-save"},q=["onClick"],E=[f("div",{class:"icon"},[f("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6"},[f("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 4.5v15m7.5-7.5h-15"})])],-1)];x.render=function(e,a,t,l,s,r){var o=u("component-errors"),i=u("tabs"),x=u("array-input-items"),B=u("object-form-wrapper"),z=u("v-field"),F=u("key-value-pairs"),H=u("array-input",!0),G=u("simple-input"),K=u("v-form"),Q=u("yaml-form"),R=u("json-form"),W=m("tooltip");return d(),c("div",{as:"div",class:p(["ac-nested-elements vue-schema-form-array array-input",{"stop-line":e.isLastChild}])},[f("div",U,[f("h6",j,[I,v(" "+h(e.schema.title||"Array Item Description")+" ",1),w(o,{errors:e.calcFormErrors(e.errors,e.fieldName)},null,8,["errors"])]),w(i,{modelValue:e.activeTab,"onUpdate:modelValue":a[0]||(a[0]=function(a){return e.activeTab=a})},null,8,["modelValue"])]),"form"===e.activeTab?(d(),c("div",N,[(d(!0),c(y,null,b(e.modelData,(function(a,t){return d(),c("div",{key:"".concat(t,"-").concat(e.schema.title,"-form"),class:"nested-body"},[w(x,{"field-name":e.fieldName,items:e.items,schema:e.schema,index:t,"model-value":JSON.parse(JSON.stringify(e.modelData)),errors:e.errors,"reference-model":e.referenceModel||[]},null,8,["field-name","items","schema","index","model-value","errors","reference-model"]),f("div",O,[f("div",S,[f("div",{class:p(["buttons up-down-buttons",{"is-small":!e.isMedium}])},[V((d(),c("button",{class:p(["up-down-button",{"is-primary":0!==t}]),disabled:0===t,onClick:k((function(a){return e.swapElems(t-1,t)}),["prevent"])},M,10,J)),[[W,{content:"move up",placement:"top",classes:["is-primary"],targetClasses:["up-down-button"]}]]),V((d(),c("button",{class:p(["up-down-button",{"is-primary":t!==e.modelData.length-1}]),disabled:t===e.modelData.length-1,onClick:k((function(a){return e.swapElems(t,t+1)}),["prevent"])},A,10,_)),[[W,{content:"move down",placement:"bottom",classes:["is-primary"],targetClasses:["up-down-button"]}]])],2),f("button",{class:"button ac-button is-medium is-square is-danger is-outlined mb-0",onClick:k((function(a){return e.deleteValue(t)}),["prevent"])},P,8,L)])])])})),128)),(d(),D(K,{key:e.updatePass,as:""},{default:g((function(t){var l=t.validate,s=t.errors;return[f("div",T,["object"===e.items.type?(d(),D(z,{key:0,modelValue:e.newData,"onUpdate:modelValue":a[1]||(a[1]=function(a){return e.newData=a}),rules:e.ruleObject(!0),name:"newItem",label:"".concat(e.schema.title," new value"),as:""},{default:g((function(a){var t=a.field,l=a.handleChange;return[w(B,{"field-name":"newItem","model-value":t.value,"is-last-child":!0,"expand-form":!0,"is-self-required":!0,schema:n(n({},e.items),{title:"".concat(e.schema.title," new value")}),type:e.items.type,errors:s,"reference-model":{},"onUpdate:modelValue":l},null,8,["model-value","schema","type","errors","onUpdate:modelValue"])]})),_:2},1032,["modelValue","rules","label"])):"key-value-pairs"===e.items.type?(d(),D(z,{key:1,modelValue:e.newData,"onUpdate:modelValue":a[2]||(a[2]=function(a){return e.newData=a}),rules:e.ruleObject(!0),name:"newItem",label:"".concat(e.schema.title," new value"),as:""},{default:g((function(a){var t=a.field,l=a.handleChange;return[w(F,{"field-name":"newItem","model-value":t.value,"is-last-child":!0,schema:n(n({},e.items),{title:"".concat(e.schema.title," new value")}),errors:s,type:e.items.type,"reference-model":{},"onUpdate:modelValue":l},null,8,["model-value","schema","errors","type","onUpdate:modelValue"])]})),_:2},1032,["modelValue","rules","label"])):"array"===e.items.type?(d(),D(z,{key:2,modelValue:e.newData,"onUpdate:modelValue":a[3]||(a[3]=function(a){return e.newData=a}),rules:e.ruleArray(!0),name:"newItem",label:"".concat(e.schema.title," new value"),as:""},{default:g((function(a){var t=a.field,l=a.handleChange;return[w(H,{"field-name":"newItem","model-value":t.value,"is-last-child":!0,schema:n(n({},e.items),{title:"".concat(e.schema.title," new value")}),errors:s,type:e.items.type,"reference-model":[],"onUpdate:modelValue":l},null,8,["model-value","schema","errors","type","onUpdate:modelValue"])]})),_:2},1032,["modelValue","rules","label"])):(d(),D(z,{key:3,modelValue:e.newData,"onUpdate:modelValue":a[4]||(a[4]=function(a){return e.newData=a}),rules:e.ruleString(!0),name:"newItem",label:"".concat(e.schema.title," new value"),as:""},{default:g((function(a){var t=a.field,l=a.handleChange,s=a.errors,r=a.meta;return[w(G,{"model-value":t.value,schema:n(n({},e.items),{title:"".concat(e.schema.title," new value")}),required:!0,type:e.items.type,"validation-ob":n({errors:s},r),"reference-model":"","onUpdate:modelValue":l},null,8,["model-value","schema","type","validation-ob","onUpdate:modelValue"])]})),_:1},8,["modelValue","rules","label"])),f("button",{class:"button ac-button is-medium is-square is-primary is-outlined",onClick:k((function(a){return e.addNewValue(l)}),["prevent"])},E,8,q)])]})),_:1}))])):"yaml"===e.activeTab?(d(),D(Q,{key:1,modelValue:e.modelData,"onUpdate:modelValue":a[5]||(a[5]=function(a){return e.modelData=a}),"reference-model":e.referenceModel||[]},null,8,["modelValue","reference-model"])):"json"===e.activeTab?(d(),D(R,{key:2,modelValue:e.modelData,"onUpdate:modelValue":a[6]||(a[6]=function(a){return e.modelData=a}),"reference-model":e.referenceModel||[]},null,8,["modelValue","reference-model"])):C("",!0)],2)};export{x as default}; \ No newline at end of file diff --git a/dist/ArrayInput-7cdc58f9.js b/dist/ArrayInput-7cdc58f9.js deleted file mode 100644 index 03d8065..0000000 --- a/dist/ArrayInput-7cdc58f9.js +++ /dev/null @@ -1 +0,0 @@ -import{m as e,v as a,a as t,b as l,_ as n}from"./entry-a6929ab2.js";import{t as s}from"./tabs-1a22f292.js";import{s as r}from"./size-d02f66d9.js";import{defineComponent as o,defineAsyncComponent as i,resolveComponent as u,resolveDirective as m,openBlock as d,createElementBlock as c,normalizeClass as p,createElementVNode as f,createTextVNode as v,toDisplayString as h,createVNode as w,Fragment as y,renderList as b,withDirectives as V,withModifiers as k,createBlock as D,withCtx as g,createCommentVNode as C}from"vue";var x=o({name:"ArrayInput",components:{ArrayInputItems:i((function(){return import("./ArrayInputItems-592f292e.js").then((function(e){return e.default}))}))},mixins:[e,s,a,r],props:{schema:{type:Object,default:function(){return{}}},fieldName:{type:String,default:""},modelValue:{type:null,default:function(){return[]}},errors:{type:Object,default:function(){return{}}},isLastChild:{type:Boolean,default:!1}},data:function(){return{newData:null,updatePass:0}},computed:{items:function(){return this.schema.items||{}}},methods:{swapElems:function(e,a){var t=JSON.parse(JSON.stringify(this.modelData[e]));this.modelData[e]=JSON.parse(JSON.stringify(this.modelData[a])),this.modelData[a]=t,this.updatePass+=1},addNewValue:function(e){var a=this;return t(l().mark((function t(){var n;return l().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e();case 2:n=t.sent,n.valid&&(a.modelData.push(a.newData),a.newData=null,a.updatePass+=1);case 5:case"end":return t.stop()}}),t)})))()},deleteValue:function(e){this.modelData.splice(e,1),this.updatePass+=1}}}),U={class:"nested-header mb-5"},j={class:"is-flex is-semi-normal"},I=f("div",{class:"collaps-icon is-disabled"},[f("i",{class:"fa fa-minus"})],-1),N={key:0,class:"is-flex gap-16 is-flex-direction-column"},O={class:"form-right-item"},S={class:"buttons",style:{gap:"16px"}},J=["disabled","onClick"],M=[f("span",{class:"icon is-small"},[f("i",{class:"fa fa-angle-up"})],-1)],_=["disabled","onClick"],A=[f("span",{class:"icon is-small"},[f("i",{class:"fa fa-angle-down"})],-1)],L=["onClick"],P=[f("span",{class:"icon"},[f("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6"},[f("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M14.74 9l-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 01-2.244 2.077H8.084a2.25 2.25 0 01-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 00-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 013.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 00-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 00-7.5 0"})])],-1)],T={class:"value-list-save"},q=["onClick"],E=[f("div",{class:"icon"},[f("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6"},[f("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 4.5v15m7.5-7.5h-15"})])],-1)];x.render=function(e,a,t,l,s,r){var o=u("component-errors"),i=u("tabs"),x=u("array-input-items"),B=u("object-form-wrapper"),z=u("v-field"),F=u("key-value-pairs"),H=u("array-input",!0),G=u("simple-input"),K=u("v-form"),Q=u("yaml-form"),R=u("json-form"),W=m("tooltip");return d(),c("div",{as:"div",class:p(["ac-nested-elements vue-schema-form-array array-input",{"stop-line":e.isLastChild}])},[f("div",U,[f("h6",j,[I,v(" "+h(e.schema.title||"Array Item Description")+" ",1),w(o,{errors:e.calcFormErrors(e.errors,e.fieldName)},null,8,["errors"])]),w(i,{modelValue:e.activeTab,"onUpdate:modelValue":a[0]||(a[0]=function(a){return e.activeTab=a})},null,8,["modelValue"])]),"form"===e.activeTab?(d(),c("div",N,[(d(!0),c(y,null,b(e.modelData,(function(a,t){return d(),c("div",{key:"".concat(t,"-").concat(e.schema.title,"-form"),class:"nested-body"},[w(x,{"field-name":e.fieldName,items:e.items,schema:e.schema,index:t,"model-value":JSON.parse(JSON.stringify(e.modelData)),errors:e.errors,"reference-model":e.referenceModel||[]},null,8,["field-name","items","schema","index","model-value","errors","reference-model"]),f("div",O,[f("div",S,[f("div",{class:p(["buttons up-down-buttons",{"is-small":!e.isMedium}])},[V((d(),c("button",{class:p(["up-down-button",{"is-primary":0!==t}]),disabled:0===t,onClick:k((function(a){return e.swapElems(t-1,t)}),["prevent"])},M,10,J)),[[W,{content:"move up",placement:"top",classes:["is-primary"],targetClasses:["up-down-button"]}]]),V((d(),c("button",{class:p(["up-down-button",{"is-primary":t!==e.modelData.length-1}]),disabled:t===e.modelData.length-1,onClick:k((function(a){return e.swapElems(t,t+1)}),["prevent"])},A,10,_)),[[W,{content:"move down",placement:"bottom",classes:["is-primary"],targetClasses:["up-down-button"]}]])],2),f("button",{class:"button ac-button is-medium is-square is-danger is-outlined mb-0",onClick:k((function(a){return e.deleteValue(t)}),["prevent"])},P,8,L)])])])})),128)),(d(),D(K,{key:e.updatePass,as:""},{default:g((function(t){var l=t.validate,s=t.errors;return[f("div",T,["object"===e.items.type?(d(),D(z,{key:0,modelValue:e.newData,"onUpdate:modelValue":a[1]||(a[1]=function(a){return e.newData=a}),rules:e.ruleObject(!0),name:"newItem",label:"".concat(e.schema.title," new value"),as:""},{default:g((function(a){var t=a.field,l=a.handleChange;return[w(B,{"field-name":"newItem","model-value":t.value,"is-last-child":!0,"expand-form":!0,"is-self-required":!0,schema:n(n({},e.items),{title:"".concat(e.schema.title," new value")}),type:e.items.type,errors:s,"reference-model":{},"onUpdate:modelValue":l},null,8,["model-value","schema","type","errors","onUpdate:modelValue"])]})),_:2},1032,["modelValue","rules","label"])):"key-value-pairs"===e.items.type?(d(),D(z,{key:1,modelValue:e.newData,"onUpdate:modelValue":a[2]||(a[2]=function(a){return e.newData=a}),rules:e.ruleObject(!0),name:"newItem",label:"".concat(e.schema.title," new value"),as:""},{default:g((function(a){var t=a.field,l=a.handleChange;return[w(F,{"field-name":"newItem","model-value":t.value,"is-last-child":!0,schema:n(n({},e.items),{title:"".concat(e.schema.title," new value")}),errors:s,type:e.items.type,"reference-model":{},"onUpdate:modelValue":l},null,8,["model-value","schema","errors","type","onUpdate:modelValue"])]})),_:2},1032,["modelValue","rules","label"])):"array"===e.items.type?(d(),D(z,{key:2,modelValue:e.newData,"onUpdate:modelValue":a[3]||(a[3]=function(a){return e.newData=a}),rules:e.ruleArray(!0),name:"newItem",label:"".concat(e.schema.title," new value"),as:""},{default:g((function(a){var t=a.field,l=a.handleChange;return[w(H,{"field-name":"newItem","model-value":t.value,"is-last-child":!0,schema:n(n({},e.items),{title:"".concat(e.schema.title," new value")}),errors:s,type:e.items.type,"reference-model":[],"onUpdate:modelValue":l},null,8,["model-value","schema","errors","type","onUpdate:modelValue"])]})),_:2},1032,["modelValue","rules","label"])):(d(),D(z,{key:3,modelValue:e.newData,"onUpdate:modelValue":a[4]||(a[4]=function(a){return e.newData=a}),rules:e.ruleString(!0),name:"newItem",label:"".concat(e.schema.title," new value"),as:""},{default:g((function(a){var t=a.field,l=a.handleChange,s=a.errors,r=a.meta;return[w(G,{"model-value":t.value,schema:n(n({},e.items),{title:"".concat(e.schema.title," new value")}),required:!0,type:e.items.type,"validation-ob":n({errors:s},r),"reference-model":"","onUpdate:modelValue":l},null,8,["model-value","schema","type","validation-ob","onUpdate:modelValue"])]})),_:1},8,["modelValue","rules","label"])),f("button",{class:"button ac-button is-medium is-square is-primary is-outlined",onClick:k((function(a){return e.addNewValue(l)}),["prevent"])},E,8,q)])]})),_:1}))])):"yaml"===e.activeTab?(d(),D(Q,{key:1,modelValue:e.modelData,"onUpdate:modelValue":a[5]||(a[5]=function(a){return e.modelData=a}),"reference-model":e.referenceModel||[]},null,8,["modelValue","reference-model"])):"json"===e.activeTab?(d(),D(R,{key:2,modelValue:e.modelData,"onUpdate:modelValue":a[6]||(a[6]=function(a){return e.modelData=a}),"reference-model":e.referenceModel||[]},null,8,["modelValue","reference-model"])):C("",!0)],2)};export{x as default}; \ No newline at end of file diff --git a/dist/ArrayInput-CUWo9Srt.js b/dist/ArrayInput-CUWo9Srt.js new file mode 100644 index 0000000..72891f1 --- /dev/null +++ b/dist/ArrayInput-CUWo9Srt.js @@ -0,0 +1,292 @@ +import { _ as J, m as B, v as E } from "./entry-CiSu1Krq.js"; +import { t as q } from "./tabs-DnKM5ngn.js"; +import { s as z } from "./size-BtoaE7vX.js"; +import { resolveComponent as l, resolveDirective as F, openBlock as s, createElementBlock as p, createElementVNode as i, createVNode as n, createTextVNode as L, toDisplayString as G, Fragment as H, renderList as K, withDirectives as b, withModifiers as c, normalizeClass as w, withCtx as d, createBlock as u, createCommentVNode as Q, defineComponent as R, defineAsyncComponent as W } from "vue"; +import { AcButton as X } from "@mohin4/design-system"; +import { Trash2 as Y, Plus as Z, Minus as x, ChevronUp as ee, ChevronDown as ae } from "lucide-vue-next"; +const oe = R({ + name: "ArrayInput", + components: { + AcButton: X, + ChevronDown: ae, + ChevronUp: ee, + Minus: x, + Plus: Z, + Trash2: Y, + ArrayInputItems: W( + () => import("./ArrayInputItems-Ddex7rq1.js").then( + (e) => e.default + ) + ) + }, + mixins: [B, q, E, z], + props: { + schema: { + type: Object, + default: () => ({}) + }, + fieldName: { + type: String, + default: "" + }, + modelValue: { + type: null, + default: () => [] + }, + errors: { + type: Object, + default: () => ({}) + }, + isLastChild: { + type: Boolean, + default: !1 + } + }, + data() { + return { + newData: null, + updatePass: 0 + }; + }, + computed: { + items() { + return this.schema.items || {}; + } + }, + methods: { + swapElems(e, a) { + const f = JSON.parse(JSON.stringify(this.modelData[e])); + this.modelData[e] = JSON.parse(JSON.stringify(this.modelData[a])), this.modelData[a] = f, this.updatePass += 1; + }, + async addNewValue(e) { + const { valid: a } = await e(); + a && (this.modelData.push(this.newData), this.newData = null, this.updatePass += 1); + }, + deleteValue(e) { + this.modelData.splice(e, 1), this.updatePass += 1; + } + } +}), le = { class: "vof-nested" }, te = { class: "vof-nested-header" }, ne = { class: "vof-nested-title" }, se = { class: "vof-collapse-icon is-disabled" }, re = { + key: 0, + class: "vof-array-body" +}, me = { class: "vof-array-item-controls" }, ie = { class: "vof-updown" }, de = ["disabled", "onClick"], ue = ["disabled", "onClick"], pe = { class: "vof-value-list-save" }; +function ve(e, a, f, ce, fe, he) { + const V = l("Minus"), D = l("component-errors"), k = l("tabs"), C = l("array-input-items"), U = l("ChevronUp"), $ = l("ChevronDown"), N = l("Trash2"), h = l("ac-button"), I = l("object-form-wrapper"), v = l("v-field"), _ = l("key-value-pairs"), g = l("array-input", !0), j = l("simple-input"), O = l("Plus"), M = l("v-form"), S = l("yaml-form"), T = l("json-form"), y = F("tooltip"); + return s(), p("div", le, [ + i("div", te, [ + i("h6", ne, [ + i("div", se, [ + n(V, { "aria-hidden": "true" }) + ]), + L(" " + G(e.schema.title || "Array Item Description") + " ", 1), + n(D, { + errors: e.calcFormErrors(e.errors, e.fieldName) + }, null, 8, ["errors"]) + ]), + n(k, { + modelValue: e.activeTab, + "onUpdate:modelValue": a[0] || (a[0] = (r) => e.activeTab = r) + }, null, 8, ["modelValue"]) + ]), + e.activeTab === "form" ? (s(), p("div", re, [ + (s(!0), p(H, null, K(e.modelData, (r, t) => (s(), p("div", { + key: `${t}-${e.schema.title}-form`, + class: "vof-array-item" + }, [ + n(C, { + "field-name": e.fieldName, + items: e.items, + schema: e.schema, + index: t, + "model-value": JSON.parse(JSON.stringify(e.modelData)), + errors: e.errors, + "reference-model": e.referenceModel || [] + }, null, 8, ["field-name", "items", "schema", "index", "model-value", "errors", "reference-model"]), + i("div", null, [ + i("div", me, [ + i("div", ie, [ + b((s(), p("button", { + type: "button", + "aria-label": "Move up", + class: w({ "is-primary": t !== 0 }), + disabled: t === 0, + onClick: c((o) => e.swapElems(t - 1, t), ["prevent"]) + }, [ + n(U, { "aria-hidden": "true" }) + ], 10, de)), [ + [y, { + content: "move up", + placement: "top" + }] + ]), + b((s(), p("button", { + type: "button", + "aria-label": "Move down", + class: w({ "is-primary": t !== e.modelData.length - 1 }), + disabled: t === e.modelData.length - 1, + onClick: c((o) => e.swapElems(t, t + 1), ["prevent"]) + }, [ + n($, { "aria-hidden": "true" }) + ], 10, ue)), [ + [y, { + content: "move down", + placement: "bottom" + }] + ]) + ]), + n(h, { + class: "vof-icon-btn", + color: "danger", + variant: "outlined", + "aria-label": "Delete", + onClick: c((o) => e.deleteValue(t), ["prevent"]) + }, { + icon: d(() => [ + n(N, { "aria-hidden": "true" }) + ]), + _: 1 + }, 8, ["onClick"]) + ]) + ]) + ]))), 128)), + (s(), u(M, { + key: e.updatePass, + as: "" + }, { + default: d(({ validate: r, errors: t }) => [ + i("div", pe, [ + e.items.type === "object" ? (s(), u(v, { + key: 0, + modelValue: e.newData, + "onUpdate:modelValue": a[1] || (a[1] = (o) => e.newData = o), + rules: e.ruleObject(!0), + name: "newItem", + label: `${e.schema.title} new value`, + as: "" + }, { + default: d(({ field: o, handleChange: m }) => [ + n(I, { + "field-name": "newItem", + "model-value": o.value, + "is-last-child": !0, + "expand-form": !0, + "is-self-required": !0, + schema: { + ...e.items, + title: `${e.schema.title} new value` + }, + type: e.items.type, + errors: t, + "reference-model": {}, + "onUpdate:modelValue": m + }, null, 8, ["model-value", "schema", "type", "errors", "onUpdate:modelValue"]) + ]), + _: 2 + }, 1032, ["modelValue", "rules", "label"])) : e.items.type === "key-value-pairs" ? (s(), u(v, { + key: 1, + modelValue: e.newData, + "onUpdate:modelValue": a[2] || (a[2] = (o) => e.newData = o), + rules: e.ruleObject(!0), + name: "newItem", + label: `${e.schema.title} new value`, + as: "" + }, { + default: d(({ field: o, handleChange: m }) => [ + n(_, { + "field-name": "newItem", + "model-value": o.value, + "is-last-child": !0, + schema: { + ...e.items, + title: `${e.schema.title} new value` + }, + errors: t, + type: e.items.type, + "reference-model": {}, + "onUpdate:modelValue": m + }, null, 8, ["model-value", "schema", "errors", "type", "onUpdate:modelValue"]) + ]), + _: 2 + }, 1032, ["modelValue", "rules", "label"])) : e.items.type === "array" ? (s(), u(v, { + key: 2, + modelValue: e.newData, + "onUpdate:modelValue": a[3] || (a[3] = (o) => e.newData = o), + rules: e.ruleArray(!0), + name: "newItem", + label: `${e.schema.title} new value`, + as: "" + }, { + default: d(({ field: o, handleChange: m }) => [ + n(g, { + "field-name": "newItem", + "model-value": o.value, + "is-last-child": !0, + schema: { + ...e.items, + title: `${e.schema.title} new value` + }, + errors: t, + type: e.items.type, + "reference-model": [], + "onUpdate:modelValue": m + }, null, 8, ["model-value", "schema", "errors", "type", "onUpdate:modelValue"]) + ]), + _: 2 + }, 1032, ["modelValue", "rules", "label"])) : (s(), u(v, { + key: 3, + modelValue: e.newData, + "onUpdate:modelValue": a[4] || (a[4] = (o) => e.newData = o), + rules: e.ruleString(!0), + name: "newItem", + label: `${e.schema.title} new value`, + as: "" + }, { + default: d(({ field: o, handleChange: m, errors: A, meta: P }) => [ + n(j, { + "model-value": o.value, + schema: { + ...e.items, + title: `${e.schema.title} new value` + }, + required: !0, + type: e.items.type, + "validation-ob": { errors: A, ...P }, + "reference-model": "", + "onUpdate:modelValue": m + }, null, 8, ["model-value", "schema", "type", "validation-ob", "onUpdate:modelValue"]) + ]), + _: 1 + }, 8, ["modelValue", "rules", "label"])), + n(h, { + class: "vof-icon-btn", + color: "primary", + variant: "outlined", + "aria-label": "Add", + onClick: c((o) => e.addNewValue(r), ["prevent"]) + }, { + icon: d(() => [ + n(O, { "aria-hidden": "true" }) + ]), + _: 1 + }, 8, ["onClick"]) + ]) + ]), + _: 1 + })) + ])) : e.activeTab === "yaml" ? (s(), u(S, { + key: 1, + modelValue: e.modelData, + "onUpdate:modelValue": a[5] || (a[5] = (r) => e.modelData = r), + "reference-model": e.referenceModel || [] + }, null, 8, ["modelValue", "reference-model"])) : e.activeTab === "json" ? (s(), u(T, { + key: 2, + modelValue: e.modelData, + "onUpdate:modelValue": a[6] || (a[6] = (r) => e.modelData = r), + "reference-model": e.referenceModel || [] + }, null, 8, ["modelValue", "reference-model"])) : Q("", !0) + ]); +} +const Ce = /* @__PURE__ */ J(oe, [["render", ve]]); +export { + Ce as default +}; diff --git a/dist/ArrayInput-a0a3450f.js b/dist/ArrayInput-a0a3450f.js deleted file mode 100644 index 5eb20c3..0000000 --- a/dist/ArrayInput-a0a3450f.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";var e=require("./entry-c1fde67d.js"),t=require("./tabs-f0820640.js"),a=require("./size-27a9a503.js"),l=require("vue"),n=l.defineComponent({name:"ArrayInput",components:{ArrayInputItems:l.defineAsyncComponent((function(){return Promise.resolve().then((function(){return require("./ArrayInputItems-81e58d12.js")})).then((function(e){return e.default}))}))},mixins:[e.m,t.t,e.v,a.s],props:{schema:{type:Object,default:function(){return{}}},fieldName:{type:String,default:""},modelValue:{type:null,default:function(){return[]}},errors:{type:Object,default:function(){return{}}},isLastChild:{type:Boolean,default:!1}},data:function(){return{newData:null,updatePass:0}},computed:{items:function(){return this.schema.items||{}}},methods:{swapElems:function(e,t){var a=JSON.parse(JSON.stringify(this.modelData[e]));this.modelData[e]=JSON.parse(JSON.stringify(this.modelData[t])),this.modelData[t]=a,this.updatePass+=1},addNewValue:function(t){var a=this;return e.a(e.b().mark((function l(){var n;return e.b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t();case 2:n=e.sent,n.valid&&(a.modelData.push(a.newData),a.newData=null,a.updatePass+=1);case 5:case"end":return e.stop()}}),l)})))()},deleteValue:function(e){this.modelData.splice(e,1),this.updatePass+=1}}}),o={class:"nested-header mb-5"},r={class:"is-flex is-semi-normal"},s=l.createElementVNode("div",{class:"collaps-icon is-disabled"},[l.createElementVNode("i",{class:"fa fa-minus"})],-1),i={key:0,class:"is-flex gap-16 is-flex-direction-column"},c={class:"form-right-item"},m={class:"buttons",style:{gap:"16px"}},d=["disabled","onClick"],u=[l.createElementVNode("span",{class:"icon is-small"},[l.createElementVNode("i",{class:"fa fa-angle-up"})],-1)],p=["disabled","onClick"],f=[l.createElementVNode("span",{class:"icon is-small"},[l.createElementVNode("i",{class:"fa fa-angle-down"})],-1)],v=["onClick"],h=[l.createElementVNode("span",{class:"icon"},[l.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6"},[l.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M14.74 9l-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 01-2.244 2.077H8.084a2.25 2.25 0 01-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 00-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 013.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 00-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 00-7.5 0"})])],-1)],w={class:"value-list-save"},V=["onClick"],y=[l.createElementVNode("div",{class:"icon"},[l.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6"},[l.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 4.5v15m7.5-7.5h-15"})])],-1)];n.render=function(t,a,n,k,b,C){var N=l.resolveComponent("component-errors"),D=l.resolveComponent("tabs"),E=l.resolveComponent("array-input-items"),B=l.resolveComponent("object-form-wrapper"),g=l.resolveComponent("v-field"),x=l.resolveComponent("key-value-pairs"),U=l.resolveComponent("array-input",!0),j=l.resolveComponent("simple-input"),_=l.resolveComponent("v-form"),I=l.resolveComponent("yaml-form"),M=l.resolveComponent("json-form"),O=l.resolveDirective("tooltip");return l.openBlock(),l.createElementBlock("div",{as:"div",class:l.normalizeClass(["ac-nested-elements vue-schema-form-array array-input",{"stop-line":t.isLastChild}])},[l.createElementVNode("div",o,[l.createElementVNode("h6",r,[s,l.createTextVNode(" "+l.toDisplayString(t.schema.title||"Array Item Description")+" ",1),l.createVNode(N,{errors:t.calcFormErrors(t.errors,t.fieldName)},null,8,["errors"])]),l.createVNode(D,{modelValue:t.activeTab,"onUpdate:modelValue":a[0]||(a[0]=function(e){return t.activeTab=e})},null,8,["modelValue"])]),"form"===t.activeTab?(l.openBlock(),l.createElementBlock("div",i,[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(t.modelData,(function(e,a){return l.openBlock(),l.createElementBlock("div",{key:"".concat(a,"-").concat(t.schema.title,"-form"),class:"nested-body"},[l.createVNode(E,{"field-name":t.fieldName,items:t.items,schema:t.schema,index:a,"model-value":JSON.parse(JSON.stringify(t.modelData)),errors:t.errors,"reference-model":t.referenceModel||[]},null,8,["field-name","items","schema","index","model-value","errors","reference-model"]),l.createElementVNode("div",c,[l.createElementVNode("div",m,[l.createElementVNode("div",{class:l.normalizeClass(["buttons up-down-buttons",{"is-small":!t.isMedium}])},[l.withDirectives((l.openBlock(),l.createElementBlock("button",{class:l.normalizeClass(["up-down-button",{"is-primary":0!==a}]),disabled:0===a,onClick:l.withModifiers((function(e){return t.swapElems(a-1,a)}),["prevent"])},u,10,d)),[[O,{content:"move up",placement:"top",classes:["is-primary"],targetClasses:["up-down-button"]}]]),l.withDirectives((l.openBlock(),l.createElementBlock("button",{class:l.normalizeClass(["up-down-button",{"is-primary":a!==t.modelData.length-1}]),disabled:a===t.modelData.length-1,onClick:l.withModifiers((function(e){return t.swapElems(a,a+1)}),["prevent"])},f,10,p)),[[O,{content:"move down",placement:"bottom",classes:["is-primary"],targetClasses:["up-down-button"]}]])],2),l.createElementVNode("button",{class:"button ac-button is-medium is-square is-danger is-outlined mb-0",onClick:l.withModifiers((function(e){return t.deleteValue(a)}),["prevent"])},h,8,v)])])])})),128)),(l.openBlock(),l.createBlock(_,{key:t.updatePass,as:""},{default:l.withCtx((function(n){var o=n.validate,r=n.errors;return[l.createElementVNode("div",w,["object"===t.items.type?(l.openBlock(),l.createBlock(g,{key:0,modelValue:t.newData,"onUpdate:modelValue":a[1]||(a[1]=function(e){return t.newData=e}),rules:t.ruleObject(!0),name:"newItem",label:"".concat(t.schema.title," new value"),as:""},{default:l.withCtx((function(a){var n=a.field,o=a.handleChange;return[l.createVNode(B,{"field-name":"newItem","model-value":n.value,"is-last-child":!0,"expand-form":!0,"is-self-required":!0,schema:e._(e._({},t.items),{title:"".concat(t.schema.title," new value")}),type:t.items.type,errors:r,"reference-model":{},"onUpdate:modelValue":o},null,8,["model-value","schema","type","errors","onUpdate:modelValue"])]})),_:2},1032,["modelValue","rules","label"])):"key-value-pairs"===t.items.type?(l.openBlock(),l.createBlock(g,{key:1,modelValue:t.newData,"onUpdate:modelValue":a[2]||(a[2]=function(e){return t.newData=e}),rules:t.ruleObject(!0),name:"newItem",label:"".concat(t.schema.title," new value"),as:""},{default:l.withCtx((function(a){var n=a.field,o=a.handleChange;return[l.createVNode(x,{"field-name":"newItem","model-value":n.value,"is-last-child":!0,schema:e._(e._({},t.items),{title:"".concat(t.schema.title," new value")}),errors:r,type:t.items.type,"reference-model":{},"onUpdate:modelValue":o},null,8,["model-value","schema","errors","type","onUpdate:modelValue"])]})),_:2},1032,["modelValue","rules","label"])):"array"===t.items.type?(l.openBlock(),l.createBlock(g,{key:2,modelValue:t.newData,"onUpdate:modelValue":a[3]||(a[3]=function(e){return t.newData=e}),rules:t.ruleArray(!0),name:"newItem",label:"".concat(t.schema.title," new value"),as:""},{default:l.withCtx((function(a){var n=a.field,o=a.handleChange;return[l.createVNode(U,{"field-name":"newItem","model-value":n.value,"is-last-child":!0,schema:e._(e._({},t.items),{title:"".concat(t.schema.title," new value")}),errors:r,type:t.items.type,"reference-model":[],"onUpdate:modelValue":o},null,8,["model-value","schema","errors","type","onUpdate:modelValue"])]})),_:2},1032,["modelValue","rules","label"])):(l.openBlock(),l.createBlock(g,{key:3,modelValue:t.newData,"onUpdate:modelValue":a[4]||(a[4]=function(e){return t.newData=e}),rules:t.ruleString(!0),name:"newItem",label:"".concat(t.schema.title," new value"),as:""},{default:l.withCtx((function(a){var n=a.field,o=a.handleChange,r=a.errors,s=a.meta;return[l.createVNode(j,{"model-value":n.value,schema:e._(e._({},t.items),{title:"".concat(t.schema.title," new value")}),required:!0,type:t.items.type,"validation-ob":e._({errors:r},s),"reference-model":"","onUpdate:modelValue":o},null,8,["model-value","schema","type","validation-ob","onUpdate:modelValue"])]})),_:1},8,["modelValue","rules","label"])),l.createElementVNode("button",{class:"button ac-button is-medium is-square is-primary is-outlined",onClick:l.withModifiers((function(e){return t.addNewValue(o)}),["prevent"])},y,8,V)])]})),_:1}))])):"yaml"===t.activeTab?(l.openBlock(),l.createBlock(I,{key:1,modelValue:t.modelData,"onUpdate:modelValue":a[5]||(a[5]=function(e){return t.modelData=e}),"reference-model":t.referenceModel||[]},null,8,["modelValue","reference-model"])):"json"===t.activeTab?(l.openBlock(),l.createBlock(M,{key:2,modelValue:t.modelData,"onUpdate:modelValue":a[6]||(a[6]=function(e){return t.modelData=e}),"reference-model":t.referenceModel||[]},null,8,["modelValue","reference-model"])):l.createCommentVNode("",!0)],2)},exports.default=n; \ No newline at end of file diff --git a/dist/ArrayInput-e904467b.js b/dist/ArrayInput-e904467b.js deleted file mode 100644 index f7bd6dd..0000000 --- a/dist/ArrayInput-e904467b.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";var e=require("./entry-5480607d.js"),t=require("./tabs-e549bda7.js"),a=require("./size-27a9a503.js"),l=require("vue"),n=l.defineComponent({name:"ArrayInput",components:{ArrayInputItems:l.defineAsyncComponent((function(){return Promise.resolve().then((function(){return require("./ArrayInputItems-b40b2d6a.js")})).then((function(e){return e.default}))}))},mixins:[e.m,t.t,e.v,a.s],props:{schema:{type:Object,default:function(){return{}}},fieldName:{type:String,default:""},modelValue:{type:null,default:function(){return[]}},errors:{type:Object,default:function(){return{}}},isLastChild:{type:Boolean,default:!1}},data:function(){return{newData:null,updatePass:0}},computed:{items:function(){return this.schema.items||{}}},methods:{swapElems:function(e,t){var a=JSON.parse(JSON.stringify(this.modelData[e]));this.modelData[e]=JSON.parse(JSON.stringify(this.modelData[t])),this.modelData[t]=a,this.updatePass+=1},addNewValue:function(t){var a=this;return e.a(e.b().mark((function l(){var n;return e.b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t();case 2:n=e.sent,n.valid&&(a.modelData.push(a.newData),a.newData=null,a.updatePass+=1);case 5:case"end":return e.stop()}}),l)})))()},deleteValue:function(e){this.modelData.splice(e,1),this.updatePass+=1}}}),o={class:"nested-header mb-5"},r={class:"is-flex is-semi-normal"},s=l.createElementVNode("div",{class:"collaps-icon is-disabled"},[l.createElementVNode("i",{class:"fa fa-minus"})],-1),i={key:0,class:"is-flex gap-16 is-flex-direction-column"},c={class:"form-right-item"},m={class:"buttons",style:{gap:"16px"}},d=["disabled","onClick"],u=[l.createElementVNode("span",{class:"icon is-small"},[l.createElementVNode("i",{class:"fa fa-angle-up"})],-1)],p=["disabled","onClick"],f=[l.createElementVNode("span",{class:"icon is-small"},[l.createElementVNode("i",{class:"fa fa-angle-down"})],-1)],v=["onClick"],h=[l.createElementVNode("span",{class:"icon"},[l.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6"},[l.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M14.74 9l-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 01-2.244 2.077H8.084a2.25 2.25 0 01-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 00-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 013.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 00-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 00-7.5 0"})])],-1)],w={class:"value-list-save"},V=["onClick"],y=[l.createElementVNode("div",{class:"icon"},[l.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6"},[l.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 4.5v15m7.5-7.5h-15"})])],-1)];n.render=function(t,a,n,k,b,C){var N=l.resolveComponent("component-errors"),D=l.resolveComponent("tabs"),E=l.resolveComponent("array-input-items"),B=l.resolveComponent("object-form-wrapper"),g=l.resolveComponent("v-field"),x=l.resolveComponent("key-value-pairs"),U=l.resolveComponent("array-input",!0),j=l.resolveComponent("simple-input"),_=l.resolveComponent("v-form"),I=l.resolveComponent("yaml-form"),M=l.resolveComponent("json-form"),O=l.resolveDirective("tooltip");return l.openBlock(),l.createElementBlock("div",{as:"div",class:l.normalizeClass(["ac-nested-elements vue-schema-form-array array-input",{"stop-line":t.isLastChild}])},[l.createElementVNode("div",o,[l.createElementVNode("h6",r,[s,l.createTextVNode(" "+l.toDisplayString(t.schema.title||"Array Item Description")+" ",1),l.createVNode(N,{errors:t.calcFormErrors(t.errors,t.fieldName)},null,8,["errors"])]),l.createVNode(D,{modelValue:t.activeTab,"onUpdate:modelValue":a[0]||(a[0]=function(e){return t.activeTab=e})},null,8,["modelValue"])]),"form"===t.activeTab?(l.openBlock(),l.createElementBlock("div",i,[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(t.modelData,(function(e,a){return l.openBlock(),l.createElementBlock("div",{key:"".concat(a,"-").concat(t.schema.title,"-form"),class:"nested-body"},[l.createVNode(E,{"field-name":t.fieldName,items:t.items,schema:t.schema,index:a,"model-value":JSON.parse(JSON.stringify(t.modelData)),errors:t.errors,"reference-model":t.referenceModel||[]},null,8,["field-name","items","schema","index","model-value","errors","reference-model"]),l.createElementVNode("div",c,[l.createElementVNode("div",m,[l.createElementVNode("div",{class:l.normalizeClass(["buttons up-down-buttons",{"is-small":!t.isMedium}])},[l.withDirectives((l.openBlock(),l.createElementBlock("button",{class:l.normalizeClass(["up-down-button",{"is-primary":0!==a}]),disabled:0===a,onClick:l.withModifiers((function(e){return t.swapElems(a-1,a)}),["prevent"])},u,10,d)),[[O,{content:"move up",placement:"top",classes:["is-primary"],targetClasses:["up-down-button"]}]]),l.withDirectives((l.openBlock(),l.createElementBlock("button",{class:l.normalizeClass(["up-down-button",{"is-primary":a!==t.modelData.length-1}]),disabled:a===t.modelData.length-1,onClick:l.withModifiers((function(e){return t.swapElems(a,a+1)}),["prevent"])},f,10,p)),[[O,{content:"move down",placement:"bottom",classes:["is-primary"],targetClasses:["up-down-button"]}]])],2),l.createElementVNode("button",{class:"button ac-button is-medium is-square is-danger is-outlined mb-0",onClick:l.withModifiers((function(e){return t.deleteValue(a)}),["prevent"])},h,8,v)])])])})),128)),(l.openBlock(),l.createBlock(_,{key:t.updatePass,as:""},{default:l.withCtx((function(n){var o=n.validate,r=n.errors;return[l.createElementVNode("div",w,["object"===t.items.type?(l.openBlock(),l.createBlock(g,{key:0,modelValue:t.newData,"onUpdate:modelValue":a[1]||(a[1]=function(e){return t.newData=e}),rules:t.ruleObject(!0),name:"newItem",label:"".concat(t.schema.title," new value"),as:""},{default:l.withCtx((function(a){var n=a.field,o=a.handleChange;return[l.createVNode(B,{"field-name":"newItem","model-value":n.value,"is-last-child":!0,"expand-form":!0,"is-self-required":!0,schema:e._(e._({},t.items),{title:"".concat(t.schema.title," new value")}),type:t.items.type,errors:r,"reference-model":{},"onUpdate:modelValue":o},null,8,["model-value","schema","type","errors","onUpdate:modelValue"])]})),_:2},1032,["modelValue","rules","label"])):"key-value-pairs"===t.items.type?(l.openBlock(),l.createBlock(g,{key:1,modelValue:t.newData,"onUpdate:modelValue":a[2]||(a[2]=function(e){return t.newData=e}),rules:t.ruleObject(!0),name:"newItem",label:"".concat(t.schema.title," new value"),as:""},{default:l.withCtx((function(a){var n=a.field,o=a.handleChange;return[l.createVNode(x,{"field-name":"newItem","model-value":n.value,"is-last-child":!0,schema:e._(e._({},t.items),{title:"".concat(t.schema.title," new value")}),errors:r,type:t.items.type,"reference-model":{},"onUpdate:modelValue":o},null,8,["model-value","schema","errors","type","onUpdate:modelValue"])]})),_:2},1032,["modelValue","rules","label"])):"array"===t.items.type?(l.openBlock(),l.createBlock(g,{key:2,modelValue:t.newData,"onUpdate:modelValue":a[3]||(a[3]=function(e){return t.newData=e}),rules:t.ruleArray(!0),name:"newItem",label:"".concat(t.schema.title," new value"),as:""},{default:l.withCtx((function(a){var n=a.field,o=a.handleChange;return[l.createVNode(U,{"field-name":"newItem","model-value":n.value,"is-last-child":!0,schema:e._(e._({},t.items),{title:"".concat(t.schema.title," new value")}),errors:r,type:t.items.type,"reference-model":[],"onUpdate:modelValue":o},null,8,["model-value","schema","errors","type","onUpdate:modelValue"])]})),_:2},1032,["modelValue","rules","label"])):(l.openBlock(),l.createBlock(g,{key:3,modelValue:t.newData,"onUpdate:modelValue":a[4]||(a[4]=function(e){return t.newData=e}),rules:t.ruleString(!0),name:"newItem",label:"".concat(t.schema.title," new value"),as:""},{default:l.withCtx((function(a){var n=a.field,o=a.handleChange,r=a.errors,s=a.meta;return[l.createVNode(j,{"model-value":n.value,schema:e._(e._({},t.items),{title:"".concat(t.schema.title," new value")}),required:!0,type:t.items.type,"validation-ob":e._({errors:r},s),"reference-model":"","onUpdate:modelValue":o},null,8,["model-value","schema","type","validation-ob","onUpdate:modelValue"])]})),_:1},8,["modelValue","rules","label"])),l.createElementVNode("button",{class:"button ac-button is-medium is-square is-primary is-outlined",onClick:l.withModifiers((function(e){return t.addNewValue(o)}),["prevent"])},y,8,V)])]})),_:1}))])):"yaml"===t.activeTab?(l.openBlock(),l.createBlock(I,{key:1,modelValue:t.modelData,"onUpdate:modelValue":a[5]||(a[5]=function(e){return t.modelData=e}),"reference-model":t.referenceModel||[]},null,8,["modelValue","reference-model"])):"json"===t.activeTab?(l.openBlock(),l.createBlock(M,{key:2,modelValue:t.modelData,"onUpdate:modelValue":a[6]||(a[6]=function(e){return t.modelData=e}),"reference-model":t.referenceModel||[]},null,8,["modelValue","reference-model"])):l.createCommentVNode("",!0)],2)},exports.default=n; \ No newline at end of file diff --git a/dist/ArrayInput-eadba2cd.js b/dist/ArrayInput-eadba2cd.js deleted file mode 100644 index 9ea82d3..0000000 --- a/dist/ArrayInput-eadba2cd.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";var e=require("./entry-46a6dd07.js"),t=require("./tabs-714485d5.js"),a=require("./size-27a9a503.js"),l=require("vue"),n=l.defineComponent({name:"ArrayInput",components:{ArrayInputItems:l.defineAsyncComponent((function(){return Promise.resolve().then((function(){return require("./ArrayInputItems-a24635a8.js")})).then((function(e){return e.default}))}))},mixins:[e.m,t.t,e.v,a.s],props:{schema:{type:Object,default:function(){return{}}},fieldName:{type:String,default:""},modelValue:{type:null,default:function(){return[]}},errors:{type:Object,default:function(){return{}}},isLastChild:{type:Boolean,default:!1}},data:function(){return{newData:null,updatePass:0}},computed:{items:function(){return this.schema.items||{}}},methods:{swapElems:function(e,t){var a=JSON.parse(JSON.stringify(this.modelData[e]));this.modelData[e]=JSON.parse(JSON.stringify(this.modelData[t])),this.modelData[t]=a,this.updatePass+=1},addNewValue:function(t){var a=this;return e.a(e.b().mark((function l(){var n;return e.b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t();case 2:n=e.sent,n.valid&&(a.modelData.push(a.newData),a.newData=null,a.updatePass+=1);case 5:case"end":return e.stop()}}),l)})))()},deleteValue:function(e){this.modelData.splice(e,1),this.updatePass+=1}}}),o={class:"nested-header mb-5"},r={class:"is-flex is-semi-normal"},s=l.createElementVNode("div",{class:"collaps-icon is-disabled"},[l.createElementVNode("i",{class:"fa fa-minus"})],-1),i={key:0,class:"is-flex gap-16 is-flex-direction-column"},c={class:"form-right-item"},m={class:"buttons",style:{gap:"16px"}},d=["disabled","onClick"],u=[l.createElementVNode("span",{class:"icon is-small"},[l.createElementVNode("i",{class:"fa fa-angle-up"})],-1)],p=["disabled","onClick"],f=[l.createElementVNode("span",{class:"icon is-small"},[l.createElementVNode("i",{class:"fa fa-angle-down"})],-1)],v=["onClick"],h=[l.createElementVNode("span",{class:"icon"},[l.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6"},[l.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M14.74 9l-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 01-2.244 2.077H8.084a2.25 2.25 0 01-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 00-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 013.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 00-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 00-7.5 0"})])],-1)],w={class:"value-list-save"},V=["onClick"],y=[l.createElementVNode("div",{class:"icon"},[l.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6"},[l.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 4.5v15m7.5-7.5h-15"})])],-1)];n.render=function(t,a,n,k,b,C){var N=l.resolveComponent("component-errors"),D=l.resolveComponent("tabs"),E=l.resolveComponent("array-input-items"),B=l.resolveComponent("object-form-wrapper"),g=l.resolveComponent("v-field"),x=l.resolveComponent("key-value-pairs"),U=l.resolveComponent("array-input",!0),j=l.resolveComponent("simple-input"),_=l.resolveComponent("v-form"),I=l.resolveComponent("yaml-form"),M=l.resolveComponent("json-form"),O=l.resolveDirective("tooltip");return l.openBlock(),l.createElementBlock("div",{as:"div",class:l.normalizeClass(["ac-nested-elements vue-schema-form-array array-input",{"stop-line":t.isLastChild}])},[l.createElementVNode("div",o,[l.createElementVNode("h6",r,[s,l.createTextVNode(" "+l.toDisplayString(t.schema.title||"Array Item Description")+" ",1),l.createVNode(N,{errors:t.calcFormErrors(t.errors,t.fieldName)},null,8,["errors"])]),l.createVNode(D,{modelValue:t.activeTab,"onUpdate:modelValue":a[0]||(a[0]=function(e){return t.activeTab=e})},null,8,["modelValue"])]),"form"===t.activeTab?(l.openBlock(),l.createElementBlock("div",i,[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(t.modelData,(function(e,a){return l.openBlock(),l.createElementBlock("div",{key:"".concat(a,"-").concat(t.schema.title,"-form"),class:"nested-body"},[l.createVNode(E,{"field-name":t.fieldName,items:t.items,schema:t.schema,index:a,"model-value":JSON.parse(JSON.stringify(t.modelData)),errors:t.errors,"reference-model":t.referenceModel||[]},null,8,["field-name","items","schema","index","model-value","errors","reference-model"]),l.createElementVNode("div",c,[l.createElementVNode("div",m,[l.createElementVNode("div",{class:l.normalizeClass(["buttons up-down-buttons",{"is-small":!t.isMedium}])},[l.withDirectives((l.openBlock(),l.createElementBlock("button",{class:l.normalizeClass(["up-down-button",{"is-primary":0!==a}]),disabled:0===a,onClick:l.withModifiers((function(e){return t.swapElems(a-1,a)}),["prevent"])},u,10,d)),[[O,{content:"move up",placement:"top",classes:["is-primary"],targetClasses:["up-down-button"]}]]),l.withDirectives((l.openBlock(),l.createElementBlock("button",{class:l.normalizeClass(["up-down-button",{"is-primary":a!==t.modelData.length-1}]),disabled:a===t.modelData.length-1,onClick:l.withModifiers((function(e){return t.swapElems(a,a+1)}),["prevent"])},f,10,p)),[[O,{content:"move down",placement:"bottom",classes:["is-primary"],targetClasses:["up-down-button"]}]])],2),l.createElementVNode("button",{class:"button ac-button is-medium is-square is-danger is-outlined mb-0",onClick:l.withModifiers((function(e){return t.deleteValue(a)}),["prevent"])},h,8,v)])])])})),128)),(l.openBlock(),l.createBlock(_,{key:t.updatePass,as:""},{default:l.withCtx((function(n){var o=n.validate,r=n.errors;return[l.createElementVNode("div",w,["object"===t.items.type?(l.openBlock(),l.createBlock(g,{key:0,modelValue:t.newData,"onUpdate:modelValue":a[1]||(a[1]=function(e){return t.newData=e}),rules:t.ruleObject(!0),name:"newItem",label:"".concat(t.schema.title," new value"),as:""},{default:l.withCtx((function(a){var n=a.field,o=a.handleChange;return[l.createVNode(B,{"field-name":"newItem","model-value":n.value,"is-last-child":!0,"expand-form":!0,"is-self-required":!0,schema:e._(e._({},t.items),{title:"".concat(t.schema.title," new value")}),type:t.items.type,errors:r,"reference-model":{},"onUpdate:modelValue":o},null,8,["model-value","schema","type","errors","onUpdate:modelValue"])]})),_:2},1032,["modelValue","rules","label"])):"key-value-pairs"===t.items.type?(l.openBlock(),l.createBlock(g,{key:1,modelValue:t.newData,"onUpdate:modelValue":a[2]||(a[2]=function(e){return t.newData=e}),rules:t.ruleObject(!0),name:"newItem",label:"".concat(t.schema.title," new value"),as:""},{default:l.withCtx((function(a){var n=a.field,o=a.handleChange;return[l.createVNode(x,{"field-name":"newItem","model-value":n.value,"is-last-child":!0,schema:e._(e._({},t.items),{title:"".concat(t.schema.title," new value")}),errors:r,type:t.items.type,"reference-model":{},"onUpdate:modelValue":o},null,8,["model-value","schema","errors","type","onUpdate:modelValue"])]})),_:2},1032,["modelValue","rules","label"])):"array"===t.items.type?(l.openBlock(),l.createBlock(g,{key:2,modelValue:t.newData,"onUpdate:modelValue":a[3]||(a[3]=function(e){return t.newData=e}),rules:t.ruleArray(!0),name:"newItem",label:"".concat(t.schema.title," new value"),as:""},{default:l.withCtx((function(a){var n=a.field,o=a.handleChange;return[l.createVNode(U,{"field-name":"newItem","model-value":n.value,"is-last-child":!0,schema:e._(e._({},t.items),{title:"".concat(t.schema.title," new value")}),errors:r,type:t.items.type,"reference-model":[],"onUpdate:modelValue":o},null,8,["model-value","schema","errors","type","onUpdate:modelValue"])]})),_:2},1032,["modelValue","rules","label"])):(l.openBlock(),l.createBlock(g,{key:3,modelValue:t.newData,"onUpdate:modelValue":a[4]||(a[4]=function(e){return t.newData=e}),rules:t.ruleString(!0),name:"newItem",label:"".concat(t.schema.title," new value"),as:""},{default:l.withCtx((function(a){var n=a.field,o=a.handleChange,r=a.errors,s=a.meta;return[l.createVNode(j,{"model-value":n.value,schema:e._(e._({},t.items),{title:"".concat(t.schema.title," new value")}),required:!0,type:t.items.type,"validation-ob":e._({errors:r},s),"reference-model":"","onUpdate:modelValue":o},null,8,["model-value","schema","type","validation-ob","onUpdate:modelValue"])]})),_:1},8,["modelValue","rules","label"])),l.createElementVNode("button",{class:"button ac-button is-medium is-square is-primary is-outlined",onClick:l.withModifiers((function(e){return t.addNewValue(o)}),["prevent"])},y,8,V)])]})),_:1}))])):"yaml"===t.activeTab?(l.openBlock(),l.createBlock(I,{key:1,modelValue:t.modelData,"onUpdate:modelValue":a[5]||(a[5]=function(e){return t.modelData=e}),"reference-model":t.referenceModel||[]},null,8,["modelValue","reference-model"])):"json"===t.activeTab?(l.openBlock(),l.createBlock(M,{key:2,modelValue:t.modelData,"onUpdate:modelValue":a[6]||(a[6]=function(e){return t.modelData=e}),"reference-model":t.referenceModel||[]},null,8,["modelValue","reference-model"])):l.createCommentVNode("",!0)],2)},exports.default=n; \ No newline at end of file diff --git a/dist/ArrayInputItems-592f292e.js b/dist/ArrayInputItems-592f292e.js deleted file mode 100644 index 8fecf96..0000000 --- a/dist/ArrayInputItems-592f292e.js +++ /dev/null @@ -1 +0,0 @@ -import{m as e,v as a,_ as l}from"./entry-a6929ab2.js";import{defineComponent as t,resolveComponent as n,openBlock as r,createElementBlock as o,createBlock as d,withCtx as c,createVNode as m}from"vue";var i=t({name:"ArrayInputItems",mixins:[e,a],props:{items:{type:Object,default:function(){return{}}},schema:{type:Object,default:function(){return{}}},index:{type:Number,default:0},modelValue:{type:null,default:function(){return[]}},fieldName:{type:String,default:""},errors:{type:Object,default:function(){return{}}}}}),u={class:"form-left-item"};i.render=function(e,a,t,i,s,f){var p=n("object-form-wrapper"),y=n("v-field"),x=n("key-value-pairs"),v=n("array-input"),h=n("simple-input");return r(),o("div",u,["object"===e.items.type?(r(),d(y,{key:0,modelValue:e.modelData[e.index],"onUpdate:modelValue":a[0]||(a[0]=function(a){return e.modelData[e.index]=a}),rules:e.ruleObject(!0),name:"".concat(e.fieldName,"/").concat(e.index+1),label:"".concat(e.schema.title," ").concat(e.index+1),as:""},{default:c((function(a){var t=a.field,n=a.handleChange;return[m(p,{"field-name":"".concat(e.fieldName,"/").concat(e.index+1),"model-value":t.value,schema:l(l({},e.items),{title:"".concat(e.schema.title," ").concat(e.index+1)}),"is-self-required":!0,type:e.items.type,errors:e.errors,"reference-model":e.referenceModel[e.index]||{},"onUpdate:modelValue":n},null,8,["field-name","model-value","schema","type","errors","reference-model","onUpdate:modelValue"])]})),_:1},8,["modelValue","rules","name","label"])):"key-value-pairs"===e.items.type?(r(),d(y,{key:1,modelValue:e.modelData[e.index],"onUpdate:modelValue":a[1]||(a[1]=function(a){return e.modelData[e.index]=a}),rules:e.ruleObject(!0),name:"".concat(e.fieldName,"/").concat(e.index+1),label:"".concat(e.schema.title," ").concat(e.index+1),as:""},{default:c((function(a){var t=a.field,n=a.handleChange;return[m(x,{"field-name":"".concat(e.fieldName,"/").concat(e.index+1),"model-value":t.value,errors:e.errors,schema:l(l({},e.items),{title:"".concat(e.schema.title," ").concat(e.index+1)}),type:e.items.type,"reference-model":e.referenceModel[e.index]||{},"onUpdate:modelValue":n},null,8,["field-name","model-value","errors","schema","type","reference-model","onUpdate:modelValue"])]})),_:1},8,["modelValue","rules","name","label"])):"array"===e.items.type?(r(),d(y,{key:2,modelValue:e.modelData[e.index],"onUpdate:modelValue":a[2]||(a[2]=function(a){return e.modelData[e.index]=a}),rules:e.ruleArray(!0),name:"".concat(e.fieldName,"/").concat(e.index+1),label:"".concat(e.schema.title," ").concat(e.index+1),as:""},{default:c((function(a){var t=a.field,n=a.handleChange;return[m(v,{"field-name":"".concat(e.fieldName,"/").concat(e.index+1),"model-value":t.value,schema:l(l({},e.items),{title:"".concat(e.schema.title," ").concat(e.index+1)}),type:e.items.type,errors:e.errors,"reference-model":e.referenceModel[e.index]||[],"onUpdate:modelValue":n},null,8,["field-name","model-value","schema","type","errors","reference-model","onUpdate:modelValue"])]})),_:1},8,["modelValue","rules","name","label"])):(r(),d(y,{key:3,modelValue:e.modelData[e.index],"onUpdate:modelValue":a[3]||(a[3]=function(a){return e.modelData[e.index]=a}),rules:e.ruleString(!0),name:"".concat(e.fieldName,"/").concat(e.index+1),label:"".concat(e.schema.title," ").concat(e.index+1),as:""},{default:c((function(a){var t=a.field,n=a.handleChange,r=a.errors,o=a.meta;return[m(h,{"model-value":t.value,schema:l(l({},e.items),{title:"".concat(e.schema.title," ").concat(e.index+1)}),type:e.items.type,required:!0,"validation-ob":l({errors:r},o),"reference-model":e.referenceModel[e.index]||"","onUpdate:modelValue":n},null,8,["model-value","schema","type","validation-ob","reference-model","onUpdate:modelValue"])]})),_:1},8,["modelValue","rules","name","label"]))])};export{i as default}; \ No newline at end of file diff --git a/dist/ArrayInputItems-81e58d12.js b/dist/ArrayInputItems-81e58d12.js deleted file mode 100644 index 1b82029..0000000 --- a/dist/ArrayInputItems-81e58d12.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";var e=require("./entry-c1fde67d.js"),a=require("vue"),l=a.defineComponent({name:"ArrayInputItems",mixins:[e.m,e.v],props:{items:{type:Object,default:function(){return{}}},schema:{type:Object,default:function(){return{}}},index:{type:Number,default:0},modelValue:{type:null,default:function(){return[]}},fieldName:{type:String,default:""},errors:{type:Object,default:function(){return{}}}}}),t={class:"form-left-item"};l.render=function(l,n,o,r,d,c){var m=a.resolveComponent("object-form-wrapper"),i=a.resolveComponent("v-field"),u=a.resolveComponent("key-value-pairs"),s=a.resolveComponent("array-input"),f=a.resolveComponent("simple-input");return a.openBlock(),a.createElementBlock("div",t,["object"===l.items.type?(a.openBlock(),a.createBlock(i,{key:0,modelValue:l.modelData[l.index],"onUpdate:modelValue":n[0]||(n[0]=function(e){return l.modelData[l.index]=e}),rules:l.ruleObject(!0),name:"".concat(l.fieldName,"/").concat(l.index+1),label:"".concat(l.schema.title," ").concat(l.index+1),as:""},{default:a.withCtx((function(t){var n=t.field,o=t.handleChange;return[a.createVNode(m,{"field-name":"".concat(l.fieldName,"/").concat(l.index+1),"model-value":n.value,schema:e._(e._({},l.items),{title:"".concat(l.schema.title," ").concat(l.index+1)}),"is-self-required":!0,type:l.items.type,errors:l.errors,"reference-model":l.referenceModel[l.index]||{},"onUpdate:modelValue":o},null,8,["field-name","model-value","schema","type","errors","reference-model","onUpdate:modelValue"])]})),_:1},8,["modelValue","rules","name","label"])):"key-value-pairs"===l.items.type?(a.openBlock(),a.createBlock(i,{key:1,modelValue:l.modelData[l.index],"onUpdate:modelValue":n[1]||(n[1]=function(e){return l.modelData[l.index]=e}),rules:l.ruleObject(!0),name:"".concat(l.fieldName,"/").concat(l.index+1),label:"".concat(l.schema.title," ").concat(l.index+1),as:""},{default:a.withCtx((function(t){var n=t.field,o=t.handleChange;return[a.createVNode(u,{"field-name":"".concat(l.fieldName,"/").concat(l.index+1),"model-value":n.value,errors:l.errors,schema:e._(e._({},l.items),{title:"".concat(l.schema.title," ").concat(l.index+1)}),type:l.items.type,"reference-model":l.referenceModel[l.index]||{},"onUpdate:modelValue":o},null,8,["field-name","model-value","errors","schema","type","reference-model","onUpdate:modelValue"])]})),_:1},8,["modelValue","rules","name","label"])):"array"===l.items.type?(a.openBlock(),a.createBlock(i,{key:2,modelValue:l.modelData[l.index],"onUpdate:modelValue":n[2]||(n[2]=function(e){return l.modelData[l.index]=e}),rules:l.ruleArray(!0),name:"".concat(l.fieldName,"/").concat(l.index+1),label:"".concat(l.schema.title," ").concat(l.index+1),as:""},{default:a.withCtx((function(t){var n=t.field,o=t.handleChange;return[a.createVNode(s,{"field-name":"".concat(l.fieldName,"/").concat(l.index+1),"model-value":n.value,schema:e._(e._({},l.items),{title:"".concat(l.schema.title," ").concat(l.index+1)}),type:l.items.type,errors:l.errors,"reference-model":l.referenceModel[l.index]||[],"onUpdate:modelValue":o},null,8,["field-name","model-value","schema","type","errors","reference-model","onUpdate:modelValue"])]})),_:1},8,["modelValue","rules","name","label"])):(a.openBlock(),a.createBlock(i,{key:3,modelValue:l.modelData[l.index],"onUpdate:modelValue":n[3]||(n[3]=function(e){return l.modelData[l.index]=e}),rules:l.ruleString(!0),name:"".concat(l.fieldName,"/").concat(l.index+1),label:"".concat(l.schema.title," ").concat(l.index+1),as:""},{default:a.withCtx((function(t){var n=t.field,o=t.handleChange,r=t.errors,d=t.meta;return[a.createVNode(f,{"model-value":n.value,schema:e._(e._({},l.items),{title:"".concat(l.schema.title," ").concat(l.index+1)}),type:l.items.type,required:!0,"validation-ob":e._({errors:r},d),"reference-model":l.referenceModel[l.index]||"","onUpdate:modelValue":o},null,8,["model-value","schema","type","validation-ob","reference-model","onUpdate:modelValue"])]})),_:1},8,["modelValue","rules","name","label"]))])},exports.default=l; \ No newline at end of file diff --git a/dist/ArrayInputItems-Ddex7rq1.js b/dist/ArrayInputItems-Ddex7rq1.js new file mode 100644 index 0000000..dbe34a7 --- /dev/null +++ b/dist/ArrayInputItems-Ddex7rq1.js @@ -0,0 +1,139 @@ +import { _ as v, m as V, v as b } from "./entry-CiSu1Krq.js"; +import { resolveComponent as r, openBlock as o, createElementBlock as h, createBlock as n, withCtx as i, createVNode as s, defineComponent as U } from "vue"; +const k = U({ + name: "ArrayInputItems", + mixins: [V, b], + props: { + items: { + type: Object, + default: () => ({}) + }, + schema: { + type: Object, + default: () => ({}) + }, + index: { + type: Number, + default: 0 + }, + modelValue: { + type: null, + default: () => [] + }, + fieldName: { + type: String, + default: "" + }, + errors: { + type: Object, + default: () => ({}) + } + } +}), N = { class: "vof-array-item-fields" }; +function j(e, a, D, O, I, M) { + const u = r("object-form-wrapper"), m = r("v-field"), t = r("key-value-pairs"), p = r("array-input"), f = r("simple-input"); + return o(), h("div", N, [ + e.items.type === "object" ? (o(), n(m, { + key: 0, + modelValue: e.modelData[e.index], + "onUpdate:modelValue": a[0] || (a[0] = (l) => e.modelData[e.index] = l), + rules: e.ruleObject(!0), + name: `${e.fieldName}/${e.index + 1}`, + label: `${e.schema.title} ${e.index + 1}`, + as: "" + }, { + default: i(({ field: l, handleChange: d }) => [ + s(u, { + "field-name": `${e.fieldName}/${e.index + 1}`, + "model-value": l.value, + schema: { + ...e.items, + title: `${e.schema.title} ${e.index + 1}` + }, + "is-self-required": !0, + type: e.items.type, + errors: e.errors, + "reference-model": e.referenceModel[e.index] || {}, + "onUpdate:modelValue": d + }, null, 8, ["field-name", "model-value", "schema", "type", "errors", "reference-model", "onUpdate:modelValue"]) + ]), + _: 1 + }, 8, ["modelValue", "rules", "name", "label"])) : e.items.type === "key-value-pairs" ? (o(), n(m, { + key: 1, + modelValue: e.modelData[e.index], + "onUpdate:modelValue": a[1] || (a[1] = (l) => e.modelData[e.index] = l), + rules: e.ruleObject(!0), + name: `${e.fieldName}/${e.index + 1}`, + label: `${e.schema.title} ${e.index + 1}`, + as: "" + }, { + default: i(({ field: l, handleChange: d }) => [ + s(t, { + "field-name": `${e.fieldName}/${e.index + 1}`, + "model-value": l.value, + errors: e.errors, + schema: { + ...e.items, + title: `${e.schema.title} ${e.index + 1}` + }, + type: e.items.type, + "reference-model": e.referenceModel[e.index] || {}, + "onUpdate:modelValue": d + }, null, 8, ["field-name", "model-value", "errors", "schema", "type", "reference-model", "onUpdate:modelValue"]) + ]), + _: 1 + }, 8, ["modelValue", "rules", "name", "label"])) : e.items.type === "array" ? (o(), n(m, { + key: 2, + modelValue: e.modelData[e.index], + "onUpdate:modelValue": a[2] || (a[2] = (l) => e.modelData[e.index] = l), + rules: e.ruleArray(!0), + name: `${e.fieldName}/${e.index + 1}`, + label: `${e.schema.title} ${e.index + 1}`, + as: "" + }, { + default: i(({ field: l, handleChange: d }) => [ + s(p, { + "field-name": `${e.fieldName}/${e.index + 1}`, + "model-value": l.value, + schema: { + ...e.items, + title: `${e.schema.title} ${e.index + 1}` + }, + type: e.items.type, + errors: e.errors, + "reference-model": e.referenceModel[e.index] || [], + "onUpdate:modelValue": d + }, null, 8, ["field-name", "model-value", "schema", "type", "errors", "reference-model", "onUpdate:modelValue"]) + ]), + _: 1 + }, 8, ["modelValue", "rules", "name", "label"])) : (o(), n(m, { + key: 3, + modelValue: e.modelData[e.index], + "onUpdate:modelValue": a[3] || (a[3] = (l) => e.modelData[e.index] = l), + rules: e.ruleString(!0), + name: `${e.fieldName}/${e.index + 1}`, + label: `${e.schema.title} ${e.index + 1}`, + as: "" + }, { + default: i(({ field: l, handleChange: d, errors: y, meta: $ }) => [ + s(f, { + "model-value": l.value, + schema: { + ...e.items, + title: `${e.schema.title} ${e.index + 1}` + }, + type: e.items.type, + required: !0, + "validation-ob": { errors: y, ...$ }, + "reference-model": e.referenceModel[e.index] || "", + "onUpdate:modelValue": d + }, null, 8, ["model-value", "schema", "type", "validation-ob", "reference-model", "onUpdate:modelValue"]) + ]), + _: 1 + }, 8, ["modelValue", "rules", "name", "label"])) + ]); +} +const B = /* @__PURE__ */ v(k, [["render", j]]); +export { + B as default +}; diff --git a/dist/ArrayInputItems-a24635a8.js b/dist/ArrayInputItems-a24635a8.js deleted file mode 100644 index d9f3be5..0000000 --- a/dist/ArrayInputItems-a24635a8.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";var e=require("./entry-46a6dd07.js"),a=require("vue"),l=a.defineComponent({name:"ArrayInputItems",mixins:[e.m,e.v],props:{items:{type:Object,default:function(){return{}}},schema:{type:Object,default:function(){return{}}},index:{type:Number,default:0},modelValue:{type:null,default:function(){return[]}},fieldName:{type:String,default:""},errors:{type:Object,default:function(){return{}}}}}),t={class:"form-left-item"};l.render=function(l,n,o,r,d,c){var m=a.resolveComponent("object-form-wrapper"),i=a.resolveComponent("v-field"),u=a.resolveComponent("key-value-pairs"),s=a.resolveComponent("array-input"),f=a.resolveComponent("simple-input");return a.openBlock(),a.createElementBlock("div",t,["object"===l.items.type?(a.openBlock(),a.createBlock(i,{key:0,modelValue:l.modelData[l.index],"onUpdate:modelValue":n[0]||(n[0]=function(e){return l.modelData[l.index]=e}),rules:l.ruleObject(!0),name:"".concat(l.fieldName,"/").concat(l.index+1),label:"".concat(l.schema.title," ").concat(l.index+1),as:""},{default:a.withCtx((function(t){var n=t.field,o=t.handleChange;return[a.createVNode(m,{"field-name":"".concat(l.fieldName,"/").concat(l.index+1),"model-value":n.value,schema:e._(e._({},l.items),{title:"".concat(l.schema.title," ").concat(l.index+1)}),"is-self-required":!0,type:l.items.type,errors:l.errors,"reference-model":l.referenceModel[l.index]||{},"onUpdate:modelValue":o},null,8,["field-name","model-value","schema","type","errors","reference-model","onUpdate:modelValue"])]})),_:1},8,["modelValue","rules","name","label"])):"key-value-pairs"===l.items.type?(a.openBlock(),a.createBlock(i,{key:1,modelValue:l.modelData[l.index],"onUpdate:modelValue":n[1]||(n[1]=function(e){return l.modelData[l.index]=e}),rules:l.ruleObject(!0),name:"".concat(l.fieldName,"/").concat(l.index+1),label:"".concat(l.schema.title," ").concat(l.index+1),as:""},{default:a.withCtx((function(t){var n=t.field,o=t.handleChange;return[a.createVNode(u,{"field-name":"".concat(l.fieldName,"/").concat(l.index+1),"model-value":n.value,errors:l.errors,schema:e._(e._({},l.items),{title:"".concat(l.schema.title," ").concat(l.index+1)}),type:l.items.type,"reference-model":l.referenceModel[l.index]||{},"onUpdate:modelValue":o},null,8,["field-name","model-value","errors","schema","type","reference-model","onUpdate:modelValue"])]})),_:1},8,["modelValue","rules","name","label"])):"array"===l.items.type?(a.openBlock(),a.createBlock(i,{key:2,modelValue:l.modelData[l.index],"onUpdate:modelValue":n[2]||(n[2]=function(e){return l.modelData[l.index]=e}),rules:l.ruleArray(!0),name:"".concat(l.fieldName,"/").concat(l.index+1),label:"".concat(l.schema.title," ").concat(l.index+1),as:""},{default:a.withCtx((function(t){var n=t.field,o=t.handleChange;return[a.createVNode(s,{"field-name":"".concat(l.fieldName,"/").concat(l.index+1),"model-value":n.value,schema:e._(e._({},l.items),{title:"".concat(l.schema.title," ").concat(l.index+1)}),type:l.items.type,errors:l.errors,"reference-model":l.referenceModel[l.index]||[],"onUpdate:modelValue":o},null,8,["field-name","model-value","schema","type","errors","reference-model","onUpdate:modelValue"])]})),_:1},8,["modelValue","rules","name","label"])):(a.openBlock(),a.createBlock(i,{key:3,modelValue:l.modelData[l.index],"onUpdate:modelValue":n[3]||(n[3]=function(e){return l.modelData[l.index]=e}),rules:l.ruleString(!0),name:"".concat(l.fieldName,"/").concat(l.index+1),label:"".concat(l.schema.title," ").concat(l.index+1),as:""},{default:a.withCtx((function(t){var n=t.field,o=t.handleChange,r=t.errors,d=t.meta;return[a.createVNode(f,{"model-value":n.value,schema:e._(e._({},l.items),{title:"".concat(l.schema.title," ").concat(l.index+1)}),type:l.items.type,required:!0,"validation-ob":e._({errors:r},d),"reference-model":l.referenceModel[l.index]||"","onUpdate:modelValue":o},null,8,["model-value","schema","type","validation-ob","reference-model","onUpdate:modelValue"])]})),_:1},8,["modelValue","rules","name","label"]))])},exports.default=l; \ No newline at end of file diff --git a/dist/ArrayInputItems-af73e993.js b/dist/ArrayInputItems-af73e993.js deleted file mode 100644 index 2e71985..0000000 --- a/dist/ArrayInputItems-af73e993.js +++ /dev/null @@ -1 +0,0 @@ -import{m as e,v as a,_ as l}from"./entry-f11f5a48.js";import{defineComponent as t,resolveComponent as n,openBlock as r,createElementBlock as o,createBlock as d,withCtx as c,createVNode as m}from"vue";var i=t({name:"ArrayInputItems",mixins:[e,a],props:{items:{type:Object,default:function(){return{}}},schema:{type:Object,default:function(){return{}}},index:{type:Number,default:0},modelValue:{type:null,default:function(){return[]}},fieldName:{type:String,default:""},errors:{type:Object,default:function(){return{}}}}}),u={class:"form-left-item"};i.render=function(e,a,t,i,s,f){var p=n("object-form-wrapper"),y=n("v-field"),x=n("key-value-pairs"),v=n("array-input"),h=n("simple-input");return r(),o("div",u,["object"===e.items.type?(r(),d(y,{key:0,modelValue:e.modelData[e.index],"onUpdate:modelValue":a[0]||(a[0]=function(a){return e.modelData[e.index]=a}),rules:e.ruleObject(!0),name:"".concat(e.fieldName,"/").concat(e.index+1),label:"".concat(e.schema.title," ").concat(e.index+1),as:""},{default:c((function(a){var t=a.field,n=a.handleChange;return[m(p,{"field-name":"".concat(e.fieldName,"/").concat(e.index+1),"model-value":t.value,schema:l(l({},e.items),{title:"".concat(e.schema.title," ").concat(e.index+1)}),"is-self-required":!0,type:e.items.type,errors:e.errors,"reference-model":e.referenceModel[e.index]||{},"onUpdate:modelValue":n},null,8,["field-name","model-value","schema","type","errors","reference-model","onUpdate:modelValue"])]})),_:1},8,["modelValue","rules","name","label"])):"key-value-pairs"===e.items.type?(r(),d(y,{key:1,modelValue:e.modelData[e.index],"onUpdate:modelValue":a[1]||(a[1]=function(a){return e.modelData[e.index]=a}),rules:e.ruleObject(!0),name:"".concat(e.fieldName,"/").concat(e.index+1),label:"".concat(e.schema.title," ").concat(e.index+1),as:""},{default:c((function(a){var t=a.field,n=a.handleChange;return[m(x,{"field-name":"".concat(e.fieldName,"/").concat(e.index+1),"model-value":t.value,errors:e.errors,schema:l(l({},e.items),{title:"".concat(e.schema.title," ").concat(e.index+1)}),type:e.items.type,"reference-model":e.referenceModel[e.index]||{},"onUpdate:modelValue":n},null,8,["field-name","model-value","errors","schema","type","reference-model","onUpdate:modelValue"])]})),_:1},8,["modelValue","rules","name","label"])):"array"===e.items.type?(r(),d(y,{key:2,modelValue:e.modelData[e.index],"onUpdate:modelValue":a[2]||(a[2]=function(a){return e.modelData[e.index]=a}),rules:e.ruleArray(!0),name:"".concat(e.fieldName,"/").concat(e.index+1),label:"".concat(e.schema.title," ").concat(e.index+1),as:""},{default:c((function(a){var t=a.field,n=a.handleChange;return[m(v,{"field-name":"".concat(e.fieldName,"/").concat(e.index+1),"model-value":t.value,schema:l(l({},e.items),{title:"".concat(e.schema.title," ").concat(e.index+1)}),type:e.items.type,errors:e.errors,"reference-model":e.referenceModel[e.index]||[],"onUpdate:modelValue":n},null,8,["field-name","model-value","schema","type","errors","reference-model","onUpdate:modelValue"])]})),_:1},8,["modelValue","rules","name","label"])):(r(),d(y,{key:3,modelValue:e.modelData[e.index],"onUpdate:modelValue":a[3]||(a[3]=function(a){return e.modelData[e.index]=a}),rules:e.ruleString(!0),name:"".concat(e.fieldName,"/").concat(e.index+1),label:"".concat(e.schema.title," ").concat(e.index+1),as:""},{default:c((function(a){var t=a.field,n=a.handleChange,r=a.errors,o=a.meta;return[m(h,{"model-value":t.value,schema:l(l({},e.items),{title:"".concat(e.schema.title," ").concat(e.index+1)}),type:e.items.type,required:!0,"validation-ob":l({errors:r},o),"reference-model":e.referenceModel[e.index]||"","onUpdate:modelValue":n},null,8,["model-value","schema","type","validation-ob","reference-model","onUpdate:modelValue"])]})),_:1},8,["modelValue","rules","name","label"]))])};export{i as default}; \ No newline at end of file diff --git a/dist/ArrayInputItems-b40b2d6a.js b/dist/ArrayInputItems-b40b2d6a.js deleted file mode 100644 index 083b8aa..0000000 --- a/dist/ArrayInputItems-b40b2d6a.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";var e=require("./entry-5480607d.js"),a=require("vue"),l=a.defineComponent({name:"ArrayInputItems",mixins:[e.m,e.v],props:{items:{type:Object,default:function(){return{}}},schema:{type:Object,default:function(){return{}}},index:{type:Number,default:0},modelValue:{type:null,default:function(){return[]}},fieldName:{type:String,default:""},errors:{type:Object,default:function(){return{}}}}}),t={class:"form-left-item"};l.render=function(l,n,o,r,d,c){var m=a.resolveComponent("object-form-wrapper"),i=a.resolveComponent("v-field"),u=a.resolveComponent("key-value-pairs"),s=a.resolveComponent("array-input"),f=a.resolveComponent("simple-input");return a.openBlock(),a.createElementBlock("div",t,["object"===l.items.type?(a.openBlock(),a.createBlock(i,{key:0,modelValue:l.modelData[l.index],"onUpdate:modelValue":n[0]||(n[0]=function(e){return l.modelData[l.index]=e}),rules:l.ruleObject(!0),name:"".concat(l.fieldName,"/").concat(l.index+1),label:"".concat(l.schema.title," ").concat(l.index+1),as:""},{default:a.withCtx((function(t){var n=t.field,o=t.handleChange;return[a.createVNode(m,{"field-name":"".concat(l.fieldName,"/").concat(l.index+1),"model-value":n.value,schema:e._(e._({},l.items),{title:"".concat(l.schema.title," ").concat(l.index+1)}),"is-self-required":!0,type:l.items.type,errors:l.errors,"reference-model":l.referenceModel[l.index]||{},"onUpdate:modelValue":o},null,8,["field-name","model-value","schema","type","errors","reference-model","onUpdate:modelValue"])]})),_:1},8,["modelValue","rules","name","label"])):"key-value-pairs"===l.items.type?(a.openBlock(),a.createBlock(i,{key:1,modelValue:l.modelData[l.index],"onUpdate:modelValue":n[1]||(n[1]=function(e){return l.modelData[l.index]=e}),rules:l.ruleObject(!0),name:"".concat(l.fieldName,"/").concat(l.index+1),label:"".concat(l.schema.title," ").concat(l.index+1),as:""},{default:a.withCtx((function(t){var n=t.field,o=t.handleChange;return[a.createVNode(u,{"field-name":"".concat(l.fieldName,"/").concat(l.index+1),"model-value":n.value,errors:l.errors,schema:e._(e._({},l.items),{title:"".concat(l.schema.title," ").concat(l.index+1)}),type:l.items.type,"reference-model":l.referenceModel[l.index]||{},"onUpdate:modelValue":o},null,8,["field-name","model-value","errors","schema","type","reference-model","onUpdate:modelValue"])]})),_:1},8,["modelValue","rules","name","label"])):"array"===l.items.type?(a.openBlock(),a.createBlock(i,{key:2,modelValue:l.modelData[l.index],"onUpdate:modelValue":n[2]||(n[2]=function(e){return l.modelData[l.index]=e}),rules:l.ruleArray(!0),name:"".concat(l.fieldName,"/").concat(l.index+1),label:"".concat(l.schema.title," ").concat(l.index+1),as:""},{default:a.withCtx((function(t){var n=t.field,o=t.handleChange;return[a.createVNode(s,{"field-name":"".concat(l.fieldName,"/").concat(l.index+1),"model-value":n.value,schema:e._(e._({},l.items),{title:"".concat(l.schema.title," ").concat(l.index+1)}),type:l.items.type,errors:l.errors,"reference-model":l.referenceModel[l.index]||[],"onUpdate:modelValue":o},null,8,["field-name","model-value","schema","type","errors","reference-model","onUpdate:modelValue"])]})),_:1},8,["modelValue","rules","name","label"])):(a.openBlock(),a.createBlock(i,{key:3,modelValue:l.modelData[l.index],"onUpdate:modelValue":n[3]||(n[3]=function(e){return l.modelData[l.index]=e}),rules:l.ruleString(!0),name:"".concat(l.fieldName,"/").concat(l.index+1),label:"".concat(l.schema.title," ").concat(l.index+1),as:""},{default:a.withCtx((function(t){var n=t.field,o=t.handleChange,r=t.errors,d=t.meta;return[a.createVNode(f,{"model-value":n.value,schema:e._(e._({},l.items),{title:"".concat(l.schema.title," ").concat(l.index+1)}),type:l.items.type,required:!0,"validation-ob":e._({errors:r},d),"reference-model":l.referenceModel[l.index]||"","onUpdate:modelValue":o},null,8,["model-value","schema","type","validation-ob","reference-model","onUpdate:modelValue"])]})),_:1},8,["modelValue","rules","name","label"]))])},exports.default=l; \ No newline at end of file diff --git a/dist/ArrayInputItems-ee63c6cb.js b/dist/ArrayInputItems-ee63c6cb.js deleted file mode 100644 index 1510166..0000000 --- a/dist/ArrayInputItems-ee63c6cb.js +++ /dev/null @@ -1 +0,0 @@ -import{m as e,v as a,_ as l}from"./entry-2ace4904.js";import{defineComponent as t,resolveComponent as n,openBlock as r,createElementBlock as o,createBlock as d,withCtx as c,createVNode as m}from"vue";var i=t({name:"ArrayInputItems",mixins:[e,a],props:{items:{type:Object,default:function(){return{}}},schema:{type:Object,default:function(){return{}}},index:{type:Number,default:0},modelValue:{type:null,default:function(){return[]}},fieldName:{type:String,default:""},errors:{type:Object,default:function(){return{}}}}}),u={class:"form-left-item"};i.render=function(e,a,t,i,s,f){var p=n("object-form-wrapper"),y=n("v-field"),x=n("key-value-pairs"),v=n("array-input"),h=n("simple-input");return r(),o("div",u,["object"===e.items.type?(r(),d(y,{key:0,modelValue:e.modelData[e.index],"onUpdate:modelValue":a[0]||(a[0]=function(a){return e.modelData[e.index]=a}),rules:e.ruleObject(!0),name:"".concat(e.fieldName,"/").concat(e.index+1),label:"".concat(e.schema.title," ").concat(e.index+1),as:""},{default:c((function(a){var t=a.field,n=a.handleChange;return[m(p,{"field-name":"".concat(e.fieldName,"/").concat(e.index+1),"model-value":t.value,schema:l(l({},e.items),{title:"".concat(e.schema.title," ").concat(e.index+1)}),"is-self-required":!0,type:e.items.type,errors:e.errors,"reference-model":e.referenceModel[e.index]||{},"onUpdate:modelValue":n},null,8,["field-name","model-value","schema","type","errors","reference-model","onUpdate:modelValue"])]})),_:1},8,["modelValue","rules","name","label"])):"key-value-pairs"===e.items.type?(r(),d(y,{key:1,modelValue:e.modelData[e.index],"onUpdate:modelValue":a[1]||(a[1]=function(a){return e.modelData[e.index]=a}),rules:e.ruleObject(!0),name:"".concat(e.fieldName,"/").concat(e.index+1),label:"".concat(e.schema.title," ").concat(e.index+1),as:""},{default:c((function(a){var t=a.field,n=a.handleChange;return[m(x,{"field-name":"".concat(e.fieldName,"/").concat(e.index+1),"model-value":t.value,errors:e.errors,schema:l(l({},e.items),{title:"".concat(e.schema.title," ").concat(e.index+1)}),type:e.items.type,"reference-model":e.referenceModel[e.index]||{},"onUpdate:modelValue":n},null,8,["field-name","model-value","errors","schema","type","reference-model","onUpdate:modelValue"])]})),_:1},8,["modelValue","rules","name","label"])):"array"===e.items.type?(r(),d(y,{key:2,modelValue:e.modelData[e.index],"onUpdate:modelValue":a[2]||(a[2]=function(a){return e.modelData[e.index]=a}),rules:e.ruleArray(!0),name:"".concat(e.fieldName,"/").concat(e.index+1),label:"".concat(e.schema.title," ").concat(e.index+1),as:""},{default:c((function(a){var t=a.field,n=a.handleChange;return[m(v,{"field-name":"".concat(e.fieldName,"/").concat(e.index+1),"model-value":t.value,schema:l(l({},e.items),{title:"".concat(e.schema.title," ").concat(e.index+1)}),type:e.items.type,errors:e.errors,"reference-model":e.referenceModel[e.index]||[],"onUpdate:modelValue":n},null,8,["field-name","model-value","schema","type","errors","reference-model","onUpdate:modelValue"])]})),_:1},8,["modelValue","rules","name","label"])):(r(),d(y,{key:3,modelValue:e.modelData[e.index],"onUpdate:modelValue":a[3]||(a[3]=function(a){return e.modelData[e.index]=a}),rules:e.ruleString(!0),name:"".concat(e.fieldName,"/").concat(e.index+1),label:"".concat(e.schema.title," ").concat(e.index+1),as:""},{default:c((function(a){var t=a.field,n=a.handleChange,r=a.errors,o=a.meta;return[m(h,{"model-value":t.value,schema:l(l({},e.items),{title:"".concat(e.schema.title," ").concat(e.index+1)}),type:e.items.type,required:!0,"validation-ob":l({errors:r},o),"reference-model":e.referenceModel[e.index]||"","onUpdate:modelValue":n},null,8,["model-value","schema","type","validation-ob","reference-model","onUpdate:modelValue"])]})),_:1},8,["modelValue","rules","name","label"]))])};export{i as default}; \ No newline at end of file diff --git a/dist/Banner-3286242e.js b/dist/Banner-3286242e.js deleted file mode 100644 index f3ab974..0000000 --- a/dist/Banner-3286242e.js +++ /dev/null @@ -1 +0,0 @@ -import{openBlock as e,createElementBlock as t,createElementVNode as s,renderSlot as r,createTextVNode as n}from"vue";const a={class:"sign-up-notification mb-20"},o={class:"has-text-centered"},l={class:"has-text-danger"},i=s("p",null,"Oops!! There was an error while loading!",-1);const c={render:function(c,d){return e(),t("div",a,[s("div",o,[s("h3",l,[r(c.$slots,"banner-title",{},(()=>[n("Error!")]))]),r(c.$slots,"default",{},(()=>[i]))])])}};export{c as default}; \ No newline at end of file diff --git a/dist/Banner-7a2df04c.js b/dist/Banner-7a2df04c.js deleted file mode 100644 index 87a7cc9..0000000 --- a/dist/Banner-7a2df04c.js +++ /dev/null @@ -1 +0,0 @@ -import{defineComponent as s,openBlock as a,createElementBlock as e,createElementVNode as n,normalizeClass as r,renderSlot as t,createTextVNode as l}from"vue";const o={class:"sign-up-notification mb-20"},i={class:"has-text-centered"},d=n("p",null,"Oops!! There was an error while loading!",-1);var p=s({__name:"Banner",props:{bannerClass:{default:"has-text-danger"}},setup:s=>(s,p)=>(a(),e("div",o,[n("div",i,[n("h3",{class:r(s.bannerClass)},[t(s.$slots,"banner-title",{},(()=>[l("Error!")]))],2),t(s.$slots,"default",{},(()=>[d]))])]))});export{p as default}; \ No newline at end of file diff --git a/dist/Banner-a2991050.js b/dist/Banner-a2991050.js deleted file mode 100644 index e155ede..0000000 --- a/dist/Banner-a2991050.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";var e=require("vue");const t={class:"sign-up-notification mb-20"},r={class:"has-text-centered"},a=e.createElementVNode("p",null,"Oops!! There was an error while loading!",-1);var n=e.defineComponent({__name:"Banner",props:{bannerClass:{default:"has-text-danger"}},setup:n=>(n,s)=>(e.openBlock(),e.createElementBlock("div",t,[e.createElementVNode("div",r,[e.createElementVNode("h3",{class:e.normalizeClass(n.bannerClass)},[e.renderSlot(n.$slots,"banner-title",{},(()=>[e.createTextVNode("Error!")]))],2),e.renderSlot(n.$slots,"default",{},(()=>[a]))])]))});exports.default=n; \ No newline at end of file diff --git a/dist/Banner-bfcd6aac.js b/dist/Banner-bfcd6aac.js deleted file mode 100644 index 030ef4f..0000000 --- a/dist/Banner-bfcd6aac.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";var e=require("vue");const t={class:"sign-up-notification mb-20"},r={class:"has-text-centered"},n={class:"has-text-danger"},o=e.createElementVNode("p",null,"Oops!! There was an error while loading!",-1);const l={render:function(l,s){return e.openBlock(),e.createElementBlock("div",t,[e.createElementVNode("div",r,[e.createElementVNode("h3",n,[e.renderSlot(l.$slots,"banner-title",{},(()=>[e.createTextVNode("Error!")]))]),e.renderSlot(l.$slots,"default",{},(()=>[o]))])])}};exports.default=l; \ No newline at end of file diff --git a/dist/ComponentErrors-1d936ce4.js b/dist/ComponentErrors-1d936ce4.js deleted file mode 100644 index 5d4e4e7..0000000 --- a/dist/ComponentErrors-1d936ce4.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";var e=require("vue"),r=e.defineComponent({name:"ComponentErrors",props:{errors:{type:Array,default:function(){return[]}}},computed:{tooltipObj:function(){return{content:this.htmlContent,html:!0}},htmlContent:function(){var e=""}}}),t={class:"has-text-danger has-text-weight-normal is-italic is-size-6 pl-8"},n=e.createElementVNode("i",{class:"fa fa-warning"},null,-1);r.render=function(r,o,s,i,a,l){var c=e.resolveDirective("tooltip");return e.withDirectives((e.openBlock(),e.createElementBlock("span",t,[n,e.createTextVNode(" Error in "+e.toDisplayString(r.errors.length)+" field"+e.toDisplayString(r.errors.length>1?"s":""),1)])),[[e.vShow,r.errors.length>0],[c,r.tooltipObj]])},exports.default=r; \ No newline at end of file diff --git a/dist/ComponentErrors-CGc_fDk0.js b/dist/ComponentErrors-CGc_fDk0.js new file mode 100644 index 0000000..8d6f76c --- /dev/null +++ b/dist/ComponentErrors-CGc_fDk0.js @@ -0,0 +1,41 @@ +import { resolveComponent as s, resolveDirective as i, withDirectives as l, openBlock as a, createElementBlock as p, createVNode as c, createTextVNode as h, toDisplayString as o, vShow as d, defineComponent as m } from "vue"; +import { TriangleAlert as u } from "lucide-vue-next"; +import { _ as f } from "./entry-CiSu1Krq.js"; +const v = '', g = m({ + name: "ComponentErrors", + components: { TriangleAlert: u }, + props: { + errors: { + type: Array, + default: () => [] + } + }, + computed: { + tooltipObj() { + return { + content: this.htmlContent, + html: !0 + }; + }, + htmlContent() { + let r = "", r; + } + } +}), w = { class: "vof-error-count" }; +function _(r, e, C, k, $, A) { + const t = s("TriangleAlert"), n = i("tooltip"); + return l((a(), p("span", w, [ + c(t, { "aria-hidden": "true" }), + h(" Error in " + o(r.errors.length) + " field" + o(r.errors.length > 1 ? "s" : ""), 1) + ])), [ + [d, r.errors.length > 0], + [n, r.tooltipObj] + ]); +} +const y = /* @__PURE__ */ f(g, [["render", _]]); +export { + y as default +}; diff --git a/dist/ComponentErrors-cbe1f015.js b/dist/ComponentErrors-cbe1f015.js deleted file mode 100644 index f29f222..0000000 --- a/dist/ComponentErrors-cbe1f015.js +++ /dev/null @@ -1 +0,0 @@ -import{defineComponent as r,resolveDirective as t,withDirectives as n,openBlock as e,createElementBlock as o,createTextVNode as s,toDisplayString as a,vShow as l,createElementVNode as i}from"vue";var c=r({name:"ComponentErrors",props:{errors:{type:Array,default:function(){return[]}}},computed:{tooltipObj:function(){return{content:this.htmlContent,html:!0}},htmlContent:function(){var r=""}}}),p={class:"has-text-danger has-text-weight-normal is-italic is-size-6 pl-8"},u=i("i",{class:"fa fa-warning"},null,-1);c.render=function(r,i,c,f,h,m){var g=t("tooltip");return n((e(),o("span",p,[u,s(" Error in "+a(r.errors.length)+" field"+a(r.errors.length>1?"s":""),1)])),[[l,r.errors.length>0],[g,r.tooltipObj]])};export{c as default}; \ No newline at end of file diff --git a/dist/Editor-04edac3c.js b/dist/Editor-04edac3c.js deleted file mode 100644 index ca05071..0000000 --- a/dist/Editor-04edac3c.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";var e=require("vue"),a=e.defineComponent({__name:"Editor",props:{modelValue:{default:""},originalValue:{default:""},readOnly:{type:Boolean,default:!1},language:{default:""},showMinimap:{type:Boolean,default:!1},editorHeight:{default:40},editorTheme:{default:""},wordWrap:{default:"on"},validation:{default:()=>({uri:""})}},emits:["update:modelValue"],setup(a,{emit:t}){const o=a,n=t,l=e.defineAsyncComponent((()=>Promise.resolve().then((function(){return require("./EditorTabs-d3112cc4.js")})))),i=e.defineAsyncComponent((()=>Promise.resolve().then((function(){return require("./Preloader-46710ac3.js")})))),r=e.defineAsyncComponent((()=>Promise.resolve().then((function(){return require("./Banner-a2991050.js")})))),d=e.defineAsyncComponent({loader:()=>Promise.resolve().then((function(){return require("./MonacoEditor-50a0f8ab.js")})),loadingComponent:i,delay:200,errorComponent:r,timeout:1e5}),u=e.ref("edit"),s=e.ref(""),c=e.ref(""),m=e.computed((()=>{const e=s.value.split("\n").length;return o.showMinimap&&e>25})),v=e.computed((()=>o.editorTheme||(document.documentElement.classList.contains("is-dark-theme")?"vs-dark":"vs"))),p=e=>{"string"==typeof e&&(s.value=e)},f=e=>{e.onDidBlurEditorText instanceof Function&&e.onDidBlurEditorText((()=>{n("update:modelValue",s.value)}))},g=e.computed((()=>"number"==typeof o.editorHeight?`vh-${o.editorHeight}`:"")),y=e.computed((()=>"string"==typeof o.editorHeight?{height:o.editorHeight}:{}));return e.watch((()=>o.modelValue),(e=>{s.value!==e&&(s.value=e)}),{immediate:!0}),e.watch((()=>o.originalValue),(e=>{c.value!==e&&(c.value=e)}),{immediate:!0}),(a,t)=>(e.openBlock(),e.createElementBlock("div",null,[a.readOnly?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(e.unref(l),{key:0,onTabchange:t[0]||(t[0]=e=>u.value=e),"active-tab":u.value},null,8,["active-tab"])),"edit"===u.value?(e.openBlock(),e.createBlock(e.unref(d),{onEditorDidMount:f,key:"edit",class:e.normalizeClass(["is-clipped",g.value]),style:e.normalizeStyle(y.value),value:s.value,onChange:p,language:a.language,options:{minimap:{enabled:m.value},theme:v.value,readOnly:a.readOnly,wordWrap:a.wordWrap,scrollBeyondLastLine:!1},validation:a.validation,"data-testid":"monaco-editor-edit-section"},null,8,["class","style","value","language","options","validation"])):e.createCommentVNode("",!0),"preview"===u.value?(e.openBlock(),e.createBlock(e.unref(d),{key:"preview",class:e.normalizeClass(["is-clipped",g.value]),style:e.normalizeStyle(y.value),value:s.value,language:a.language,options:{minimap:{enabled:m.value},theme:v.value,readOnly:!0,wordWrap:a.wordWrap,scrollBeyondLastLine:!1},original:c.value,"diff-editor":!0,validation:a.validation,"data-testid":"monaco-editor-preview-section"},null,8,["class","style","value","language","options","original","validation"])):e.createCommentVNode("",!0)]))}});exports.default=a; \ No newline at end of file diff --git a/dist/Editor-2cb2cacf.js b/dist/Editor-2cb2cacf.js deleted file mode 100644 index 62fbcc6..0000000 --- a/dist/Editor-2cb2cacf.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";var e=require("vue"),a=e.defineComponent({__name:"Editor",props:{modelValue:{default:""},originalValue:{default:""},readOnly:{type:Boolean,default:!1},language:{default:""},showMinimap:{type:Boolean,default:!1},editorHeight:{default:40},editorTheme:{default:""},wordWrap:{default:"on"},validation:{default:()=>({uri:""})}},emits:["update:modelValue"],setup(a,{emit:t}){const o=a,n=t,l=e.defineAsyncComponent((()=>Promise.resolve().then((function(){return require("./EditorTabs-d3112cc4.js")})))),i=e.defineAsyncComponent((()=>Promise.resolve().then((function(){return require("./Preloader-46710ac3.js")})))),r=e.defineAsyncComponent((()=>Promise.resolve().then((function(){return require("./Banner-bfcd6aac.js")})))),d=e.defineAsyncComponent({loader:()=>Promise.resolve().then((function(){return require("./MonacoEditor-d6e4df49.js")})),loadingComponent:i,delay:200,errorComponent:r,timeout:1e5}),u=e.ref("edit"),s=e.ref(""),c=e.ref(""),m=e.computed((()=>{const e=s.value.split("\n").length;return o.showMinimap&&e>25})),v=e.computed((()=>o.editorTheme||(document.documentElement.classList.contains("is-dark-theme")?"vs-dark":"vs"))),p=e=>{"string"==typeof e&&(s.value=e)},f=e=>{e.onDidBlurEditorText instanceof Function&&e.onDidBlurEditorText((()=>{n("update:modelValue",s.value)}))},g=e.computed((()=>"number"==typeof o.editorHeight?`vh-${o.editorHeight}`:"")),y=e.computed((()=>"string"==typeof o.editorHeight?{height:o.editorHeight}:{}));return e.watch((()=>o.modelValue),(e=>{s.value!==e&&(s.value=e)}),{immediate:!0}),e.watch((()=>o.originalValue),(e=>{c.value!==e&&(c.value=e)}),{immediate:!0}),(a,t)=>(e.openBlock(),e.createElementBlock("div",null,[a.readOnly?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(e.unref(l),{key:0,onTabchange:t[0]||(t[0]=e=>u.value=e),"active-tab":u.value},null,8,["active-tab"])),"edit"===u.value?(e.openBlock(),e.createBlock(e.unref(d),{onEditorDidMount:f,key:"edit",class:e.normalizeClass(["is-clipped",g.value]),style:e.normalizeStyle(y.value),value:s.value,onChange:p,language:a.language,options:{minimap:{enabled:m.value},theme:v.value,readOnly:a.readOnly,wordWrap:a.wordWrap,scrollBeyondLastLine:!1},validation:a.validation,"data-testid":"monaco-editor-edit-section"},null,8,["class","style","value","language","options","validation"])):e.createCommentVNode("",!0),"preview"===u.value?(e.openBlock(),e.createBlock(e.unref(d),{key:"preview",class:e.normalizeClass(["is-clipped",g.value]),style:e.normalizeStyle(y.value),value:s.value,language:a.language,options:{minimap:{enabled:m.value},theme:v.value,readOnly:!0,wordWrap:a.wordWrap,scrollBeyondLastLine:!1},original:c.value,"diff-editor":!0,validation:a.validation,"data-testid":"monaco-editor-preview-section"},null,8,["class","style","value","language","options","original","validation"])):e.createCommentVNode("",!0)]))}});exports.default=a; \ No newline at end of file diff --git a/dist/Editor-696573e5.js b/dist/Editor-696573e5.js deleted file mode 100644 index b3f46f9..0000000 --- a/dist/Editor-696573e5.js +++ /dev/null @@ -1 +0,0 @@ -import{defineComponent as e,defineAsyncComponent as a,ref as t,computed as l,watch as i,openBlock as o,createElementBlock as n,createBlock as d,unref as r,createCommentVNode as u,normalizeClass as s,normalizeStyle as v}from"vue";var p=e({__name:"Editor",props:{modelValue:{default:""},originalValue:{default:""},readOnly:{type:Boolean,default:!1},language:{default:""},showMinimap:{type:Boolean,default:!1},editorHeight:{default:40},editorTheme:{default:""},wordWrap:{default:"on"},validation:{default:()=>({uri:""})}},emits:["update:modelValue"],setup(e,{emit:p}){const m=e,g=p,c=a((()=>import("./EditorTabs-ec1fa66a.js"))),f=a((()=>import("./Preloader-e17b7349.js"))),y=a((()=>import("./Banner-7a2df04c.js"))),h=a({loader:()=>import("./MonacoEditor-16bf802f.js"),loadingComponent:f,delay:200,errorComponent:y,timeout:1e5}),w=t("edit"),b=t(""),B=t(""),E=l((()=>{const e=b.value.split("\n").length;return m.showMinimap&&e>25})),T=l((()=>m.editorTheme||(document.documentElement.classList.contains("is-dark-theme")?"vs-dark":"vs"))),V=e=>{"string"==typeof e&&(b.value=e)},k=e=>{e.onDidBlurEditorText instanceof Function&&e.onDidBlurEditorText((()=>{g("update:modelValue",b.value)}))},H=l((()=>"number"==typeof m.editorHeight?`vh-${m.editorHeight}`:"")),L=l((()=>"string"==typeof m.editorHeight?{height:m.editorHeight}:{}));return i((()=>m.modelValue),(e=>{b.value!==e&&(b.value=e)}),{immediate:!0}),i((()=>m.originalValue),(e=>{B.value!==e&&(B.value=e)}),{immediate:!0}),(e,a)=>(o(),n("div",null,[e.readOnly?u("",!0):(o(),d(r(c),{key:0,onTabchange:a[0]||(a[0]=e=>w.value=e),"active-tab":w.value},null,8,["active-tab"])),"edit"===w.value?(o(),d(r(h),{onEditorDidMount:k,key:"edit",class:s(["is-clipped",H.value]),style:v(L.value),value:b.value,onChange:V,language:e.language,options:{minimap:{enabled:E.value},theme:T.value,readOnly:e.readOnly,wordWrap:e.wordWrap,scrollBeyondLastLine:!1},validation:e.validation,"data-testid":"monaco-editor-edit-section"},null,8,["class","style","value","language","options","validation"])):u("",!0),"preview"===w.value?(o(),d(r(h),{key:"preview",class:s(["is-clipped",H.value]),style:v(L.value),value:b.value,language:e.language,options:{minimap:{enabled:E.value},theme:T.value,readOnly:!0,wordWrap:e.wordWrap,scrollBeyondLastLine:!1},original:B.value,"diff-editor":!0,validation:e.validation,"data-testid":"monaco-editor-preview-section"},null,8,["class","style","value","language","options","original","validation"])):u("",!0)]))}});export{p as default}; \ No newline at end of file diff --git a/dist/Editor-9fead870.js b/dist/Editor-9fead870.js deleted file mode 100644 index 27b5292..0000000 --- a/dist/Editor-9fead870.js +++ /dev/null @@ -1 +0,0 @@ -import{defineComponent as e,defineAsyncComponent as a,ref as t,computed as l,watch as i,openBlock as o,createElementBlock as n,createBlock as d,unref as r,createCommentVNode as u,normalizeClass as s,normalizeStyle as v}from"vue";var p=e({__name:"Editor",props:{modelValue:{default:""},originalValue:{default:""},readOnly:{type:Boolean,default:!1},language:{default:""},showMinimap:{type:Boolean,default:!1},editorHeight:{default:40},editorTheme:{default:""},wordWrap:{default:"on"},validation:{default:()=>({uri:""})}},emits:["update:modelValue"],setup(e,{emit:p}){const m=e,g=p,c=a((()=>import("./EditorTabs-ec1fa66a.js"))),y=a((()=>import("./Preloader-e17b7349.js"))),f=a((()=>import("./Banner-3286242e.js"))),h=a({loader:()=>import("./MonacoEditor-f41826a2.js"),loadingComponent:y,delay:200,errorComponent:f,timeout:1e5}),w=t("edit"),b=t(""),B=t(""),E=l((()=>{const e=b.value.split("\n").length;return m.showMinimap&&e>25})),T=l((()=>m.editorTheme||(document.documentElement.classList.contains("is-dark-theme")?"vs-dark":"vs"))),V=e=>{"string"==typeof e&&(b.value=e)},k=e=>{e.onDidBlurEditorText instanceof Function&&e.onDidBlurEditorText((()=>{g("update:modelValue",b.value)}))},H=l((()=>"number"==typeof m.editorHeight?`vh-${m.editorHeight}`:"")),L=l((()=>"string"==typeof m.editorHeight?{height:m.editorHeight}:{}));return i((()=>m.modelValue),(e=>{b.value!==e&&(b.value=e)}),{immediate:!0}),i((()=>m.originalValue),(e=>{B.value!==e&&(B.value=e)}),{immediate:!0}),(e,a)=>(o(),n("div",null,[e.readOnly?u("",!0):(o(),d(r(c),{key:0,onTabchange:a[0]||(a[0]=e=>w.value=e),"active-tab":w.value},null,8,["active-tab"])),"edit"===w.value?(o(),d(r(h),{onEditorDidMount:k,key:"edit",class:s(["is-clipped",H.value]),style:v(L.value),value:b.value,onChange:V,language:e.language,options:{minimap:{enabled:E.value},theme:T.value,readOnly:e.readOnly,wordWrap:e.wordWrap,scrollBeyondLastLine:!1},validation:e.validation,"data-testid":"monaco-editor-edit-section"},null,8,["class","style","value","language","options","validation"])):u("",!0),"preview"===w.value?(o(),d(r(h),{key:"preview",class:s(["is-clipped",H.value]),style:v(L.value),value:b.value,language:e.language,options:{minimap:{enabled:E.value},theme:T.value,readOnly:!0,wordWrap:e.wordWrap,scrollBeyondLastLine:!1},original:B.value,"diff-editor":!0,validation:e.validation,"data-testid":"monaco-editor-preview-section"},null,8,["class","style","value","language","options","original","validation"])):u("",!0)]))}});export{p as default}; \ No newline at end of file diff --git a/dist/EditorTabs-d3112cc4.js b/dist/EditorTabs-d3112cc4.js deleted file mode 100644 index 667f6ac..0000000 --- a/dist/EditorTabs-d3112cc4.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";var e=require("vue"),t=e.defineComponent({__name:"EditorTabs",props:{activeTab:{default:""}},emits:["tabchange"],setup(t){const i=e.defineAsyncComponent((()=>Promise.resolve().then((function(){return require("./TabsBody-415c3b23.js")})))),n=e.defineAsyncComponent((()=>Promise.resolve().then((function(){return require("./Tabs-71c515fc.js")})))),r=e.defineAsyncComponent((()=>Promise.resolve().then((function(){return require("./TabItem-05b72b6f.js")}))));return(t,a)=>(e.openBlock(),e.createBlock(e.unref(i),null,{default:e.withCtx((()=>[e.createVNode(e.unref(n),{class:"is-line"},{default:e.withCtx((()=>[e.createVNode(e.unref(r),{"is-active":"edit"===t.activeTab},{default:e.withCtx((()=>[e.createElementVNode("a",{onClick:a[0]||(a[0]=e.withModifiers((e=>t.$emit("tabchange","edit")),["prevent"]))},"Edit")])),_:1},8,["is-active"]),e.createVNode(e.unref(r),{"is-active":"preview"===t.activeTab},{default:e.withCtx((()=>[e.createElementVNode("a",{onClick:a[1]||(a[1]=e.withModifiers((e=>t.$emit("tabchange","preview")),["prevent"]))},"Preview Changes")])),_:1},8,["is-active"])])),_:1})])),_:1}))}});exports.default=t; \ No newline at end of file diff --git a/dist/EditorTabs-ec1fa66a.js b/dist/EditorTabs-ec1fa66a.js deleted file mode 100644 index 00cc470..0000000 --- a/dist/EditorTabs-ec1fa66a.js +++ /dev/null @@ -1 +0,0 @@ -import{defineComponent as e,defineAsyncComponent as t,openBlock as a,createBlock as i,unref as s,withCtx as c,createVNode as r,createElementVNode as v,withModifiers as n}from"vue";var l=e({__name:"EditorTabs",props:{activeTab:{default:""}},emits:["tabchange"],setup(e){const l=t((()=>import("./TabsBody-09c099c1.js"))),o=t((()=>import("./Tabs-f456f148.js"))),p=t((()=>import("./TabItem-9e42838b.js")));return(e,t)=>(a(),i(s(l),null,{default:c((()=>[r(s(o),{class:"is-line"},{default:c((()=>[r(s(p),{"is-active":"edit"===e.activeTab},{default:c((()=>[v("a",{onClick:t[0]||(t[0]=n((t=>e.$emit("tabchange","edit")),["prevent"]))},"Edit")])),_:1},8,["is-active"]),r(s(p),{"is-active":"preview"===e.activeTab},{default:c((()=>[v("a",{onClick:t[1]||(t[1]=n((t=>e.$emit("tabchange","preview")),["prevent"]))},"Preview Changes")])),_:1},8,["is-active"])])),_:1})])),_:1}))}});export{l as default}; \ No newline at end of file diff --git a/dist/Form-0dec9ace.js b/dist/Form-0dec9ace.js deleted file mode 100644 index ce3d203..0000000 --- a/dist/Form-0dec9ace.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";var e=require("vue");const o={class:"form-wrapper"},t={key:0,class:"form-footer pt-8 pb-8 pl-20 mt-16 b-t-1"};var r=e.defineComponent({__name:"Form",props:{isContainer:{type:Boolean,default:!1},hasFooter:{type:Boolean,default:!0},reducePaddingTop:{type:Boolean,default:!1}},setup(r){const n=e.defineAsyncComponent((()=>Promise.resolve().then((function(){return require("./FormFooterControl-9c8c3f48.js")}))));return(r,l)=>(e.openBlock(),e.createElementBlock("div",o,[e.createElementVNode("div",{class:e.normalizeClass({"form-content":!r.isContainer,container:r.isContainer})},[e.renderSlot(r.$slots,"default")],2),r.hasFooter?(e.openBlock(),e.createElementBlock("div",t,[e.createElementVNode("div",{class:e.normalizeClass(["ac-vcentered",{"form-content":!r.isContainer,container:r.isContainer}])},[e.createVNode(e.unref(n),null,{default:e.withCtx((()=>[e.renderSlot(r.$slots,"form-left-controls")])),_:3}),e.createVNode(e.unref(n),null,{default:e.withCtx((()=>[e.renderSlot(r.$slots,"form-right-controls")])),_:3})],2)])):e.createCommentVNode("",!0)]))}});exports.default=r; \ No newline at end of file diff --git a/dist/Form-75fe67e1.js b/dist/Form-75fe67e1.js deleted file mode 100644 index 88a5878..0000000 --- a/dist/Form-75fe67e1.js +++ /dev/null @@ -1 +0,0 @@ -import{defineComponent as o,defineAsyncComponent as t,openBlock as e,createElementBlock as r,createElementVNode as n,normalizeClass as a,renderSlot as s,createVNode as l,unref as i,withCtx as f,createCommentVNode as c}from"vue";const d={class:"form-wrapper"},p={key:0,class:"form-footer pt-8 pb-8 pl-20 mt-16 b-t-1"};var m=o({__name:"Form",props:{isContainer:{type:Boolean,default:!1},hasFooter:{type:Boolean,default:!0},reducePaddingTop:{type:Boolean,default:!1}},setup(o){const m=t((()=>import("./FormFooterControl-eec1f0a9.js")));return(o,t)=>(e(),r("div",d,[n("div",{class:a({"form-content":!o.isContainer,container:o.isContainer})},[s(o.$slots,"default")],2),o.hasFooter?(e(),r("div",p,[n("div",{class:a(["ac-vcentered",{"form-content":!o.isContainer,container:o.isContainer}])},[l(i(m),null,{default:f((()=>[s(o.$slots,"form-left-controls")])),_:3}),l(i(m),null,{default:f((()=>[s(o.$slots,"form-right-controls")])),_:3})],2)])):c("",!0)]))}});export{m as default}; \ No newline at end of file diff --git a/dist/FormFooterControl-9c8c3f48.js b/dist/FormFooterControl-9c8c3f48.js deleted file mode 100644 index b9fc2fe..0000000 --- a/dist/FormFooterControl-9c8c3f48.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";var e=require("vue");const r={class:"form-footer-control"};const t={render:function(t,o){return e.openBlock(),e.createElementBlock("div",r,[e.renderSlot(t.$slots,"default")])}};exports.default=t; \ No newline at end of file diff --git a/dist/FormFooterControl-eec1f0a9.js b/dist/FormFooterControl-eec1f0a9.js deleted file mode 100644 index ed08a0b..0000000 --- a/dist/FormFooterControl-eec1f0a9.js +++ /dev/null @@ -1 +0,0 @@ -import{openBlock as o,createElementBlock as t,renderSlot as r}from"vue";const e={class:"form-footer-control"};const n={render:function(n,s){return o(),t("div",e,[r(n.$slots,"default")])}};export{n as default}; \ No newline at end of file diff --git a/dist/JsonForm-802cdc31.js b/dist/JsonForm-802cdc31.js deleted file mode 100644 index 7288bad..0000000 --- a/dist/JsonForm-802cdc31.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";var e=require("./entry-c1fde67d.js"),t=require("vue"),n=t.defineComponent({name:"YamlForm",components:{Editor:t.defineAsyncComponent((function(){return Promise.resolve().then((function(){return require("./Editor-2cb2cacf.js")}))}))},mixins:[e.m],inject:["providedData"],props:{modelValue:{type:null,default:function(){return{}}}},emits:["code::model-data-updated"],computed:{originalValueString:function(){return JSON.stringify(this.referenceModel,null,2)},theme:function(){return this.providedData.theme||"light"},editorModel:{get:function(){return JSON.stringify(this.modelValue,null,2)},set:function(e){var t=null;try{t=JSON.parse(e)}catch(e){t=this.modelData}this.modelData=t,this.$emit("code::model-data-updated",t)}}}}),o={class:"ml-30"};n.render=function(e,n,r,i,l,a){var d=t.resolveComponent("editor");return t.openBlock(),t.createElementBlock("div",o,[(t.openBlock(),t.createBlock(d,{key:e.theme,modelValue:e.editorModel,"onUpdate:modelValue":n[0]||(n[0]=function(t){return e.editorModel=t}),"original-value":e.originalValueString,language:"json","editor-height":70},null,8,["modelValue","original-value"]))])},exports.default=n; \ No newline at end of file diff --git a/dist/JsonForm-9e1eac41.js b/dist/JsonForm-9e1eac41.js deleted file mode 100644 index cfda7e7..0000000 --- a/dist/JsonForm-9e1eac41.js +++ /dev/null @@ -1 +0,0 @@ -import{m as e}from"./entry-2ace4904.js";import{defineComponent as t,defineAsyncComponent as o,resolveComponent as r,openBlock as i,createElementBlock as n,createBlock as a}from"vue";var l=t({name:"YamlForm",components:{Editor:o((function(){return import("./Editor-9fead870.js")}))},mixins:[e],inject:["providedData"],props:{modelValue:{type:null,default:function(){return{}}}},emits:["code::model-data-updated"],computed:{originalValueString:function(){return JSON.stringify(this.referenceModel,null,2)},theme:function(){return this.providedData.theme||"light"},editorModel:{get:function(){return JSON.stringify(this.modelValue,null,2)},set:function(e){var t=null;try{t=JSON.parse(e)}catch(e){t=this.modelData}this.modelData=t,this.$emit("code::model-data-updated",t)}}}}),d={class:"ml-30"};l.render=function(e,t,o,l,u,m){var s=r("editor");return i(),n("div",d,[(i(),a(s,{key:e.theme,modelValue:e.editorModel,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.editorModel=t}),"original-value":e.originalValueString,language:"json","editor-height":70},null,8,["modelValue","original-value"]))])};export{l as default}; \ No newline at end of file diff --git a/dist/JsonForm-DwCycdll.js b/dist/JsonForm-DwCycdll.js new file mode 100644 index 0000000..24bf1de --- /dev/null +++ b/dist/JsonForm-DwCycdll.js @@ -0,0 +1,59 @@ +import { _ as r, m as i } from "./entry-CiSu1Krq.js"; +import { resolveComponent as a, openBlock as t, createElementBlock as s, createBlock as m, defineComponent as c, defineAsyncComponent as p } from "vue"; +const u = c({ + name: "YamlForm", + components: { + AcCodeEditor: p( + () => import("@mohin4/design-system/editor").then((e) => e.AcCodeEditor) + ) + }, + mixins: [i], + inject: ["providedData"], + props: { + modelValue: { + type: null, + default: () => ({}) + } + }, + emits: ["code::model-data-updated"], + computed: { + originalValueString() { + return JSON.stringify(this.referenceModel, null, 2); + }, + theme() { + return this.providedData.theme || "light"; + }, + editorModel: { + get() { + return JSON.stringify(this.modelValue, null, 2); + }, + set(e) { + let o = null; + try { + o = JSON.parse(e); + } catch { + o = this.modelData; + } + this.modelData = o, this.$emit("code::model-data-updated", o); + } + } + } +}), h = { class: "vof-editor" }; +function f(e, o, n, g, _, V) { + const d = a("ac-code-editor"); + return t(), s("div", h, [ + (t(), m(d, { + key: e.theme, + modelValue: e.editorModel, + "onUpdate:modelValue": o[0] || (o[0] = (l) => e.editorModel = l), + original: e.originalValueString, + language: "json", + height: "70vh", + label: "JSON" + }, null, 8, ["modelValue", "original"])) + ]); +} +const S = /* @__PURE__ */ r(u, [["render", f]]); +export { + S as default +}; diff --git a/dist/JsonForm-bfde48ef.js b/dist/JsonForm-bfde48ef.js deleted file mode 100644 index 8a44cb1..0000000 --- a/dist/JsonForm-bfde48ef.js +++ /dev/null @@ -1 +0,0 @@ -import{m as e}from"./entry-a6929ab2.js";import{defineComponent as t,defineAsyncComponent as o,resolveComponent as r,openBlock as i,createElementBlock as n,createBlock as a}from"vue";var l=t({name:"YamlForm",components:{Editor:o((function(){return import("./Editor-9fead870.js")}))},mixins:[e],inject:["providedData"],props:{modelValue:{type:null,default:function(){return{}}}},emits:["code::model-data-updated"],computed:{originalValueString:function(){return JSON.stringify(this.referenceModel,null,2)},theme:function(){return this.providedData.theme||"light"},editorModel:{get:function(){return JSON.stringify(this.modelValue,null,2)},set:function(e){var t=null;try{t=JSON.parse(e)}catch(e){t=this.modelData}this.modelData=t,this.$emit("code::model-data-updated",t)}}}}),d={class:"ml-30"};l.render=function(e,t,o,l,u,m){var s=r("editor");return i(),n("div",d,[(i(),a(s,{key:e.theme,modelValue:e.editorModel,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.editorModel=t}),"original-value":e.originalValueString,language:"json","editor-height":70},null,8,["modelValue","original-value"]))])};export{l as default}; \ No newline at end of file diff --git a/dist/JsonForm-c1cf3ad9.js b/dist/JsonForm-c1cf3ad9.js deleted file mode 100644 index 49f7836..0000000 --- a/dist/JsonForm-c1cf3ad9.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";var e=require("./entry-46a6dd07.js"),t=require("vue"),n=t.defineComponent({name:"YamlForm",components:{Editor:t.defineAsyncComponent((function(){return Promise.resolve().then((function(){return require("./Editor-2cb2cacf.js")}))}))},mixins:[e.m],inject:["providedData"],props:{modelValue:{type:null,default:function(){return{}}}},emits:["code::model-data-updated"],computed:{originalValueString:function(){return JSON.stringify(this.referenceModel,null,2)},theme:function(){return this.providedData.theme||"light"},editorModel:{get:function(){return JSON.stringify(this.modelValue,null,2)},set:function(e){var t=null;try{t=JSON.parse(e)}catch(e){t=this.modelData}this.modelData=t,this.$emit("code::model-data-updated",t)}}}}),o={class:"ml-30"};n.render=function(e,n,r,i,l,a){var d=t.resolveComponent("editor");return t.openBlock(),t.createElementBlock("div",o,[(t.openBlock(),t.createBlock(d,{key:e.theme,modelValue:e.editorModel,"onUpdate:modelValue":n[0]||(n[0]=function(t){return e.editorModel=t}),"original-value":e.originalValueString,language:"json","editor-height":70},null,8,["modelValue","original-value"]))])},exports.default=n; \ No newline at end of file diff --git a/dist/JsonForm-cff18cd0.js b/dist/JsonForm-cff18cd0.js deleted file mode 100644 index 97d985d..0000000 --- a/dist/JsonForm-cff18cd0.js +++ /dev/null @@ -1 +0,0 @@ -import{m as e}from"./entry-f11f5a48.js";import{defineComponent as t,defineAsyncComponent as o,resolveComponent as r,openBlock as i,createElementBlock as n,createBlock as a}from"vue";var l=t({name:"YamlForm",components:{Editor:o((function(){return import("./Editor-696573e5.js")}))},mixins:[e],inject:["providedData"],props:{modelValue:{type:null,default:function(){return{}}}},emits:["code::model-data-updated"],computed:{originalValueString:function(){return JSON.stringify(this.referenceModel,null,2)},theme:function(){return this.providedData.theme||"light"},editorModel:{get:function(){return JSON.stringify(this.modelValue,null,2)},set:function(e){var t=null;try{t=JSON.parse(e)}catch(e){t=this.modelData}this.modelData=t,this.$emit("code::model-data-updated",t)}}}}),d={class:"ml-30"};l.render=function(e,t,o,l,u,m){var s=r("editor");return i(),n("div",d,[(i(),a(s,{key:e.theme,modelValue:e.editorModel,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.editorModel=t}),"original-value":e.originalValueString,language:"json","editor-height":70},null,8,["modelValue","original-value"]))])};export{l as default}; \ No newline at end of file diff --git a/dist/JsonForm-e91fe6e6.js b/dist/JsonForm-e91fe6e6.js deleted file mode 100644 index 832aba2..0000000 --- a/dist/JsonForm-e91fe6e6.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";var e=require("./entry-5480607d.js"),t=require("vue"),n=t.defineComponent({name:"YamlForm",components:{Editor:t.defineAsyncComponent((function(){return Promise.resolve().then((function(){return require("./Editor-04edac3c.js")}))}))},mixins:[e.m],inject:["providedData"],props:{modelValue:{type:null,default:function(){return{}}}},emits:["code::model-data-updated"],computed:{originalValueString:function(){return JSON.stringify(this.referenceModel,null,2)},theme:function(){return this.providedData.theme||"light"},editorModel:{get:function(){return JSON.stringify(this.modelValue,null,2)},set:function(e){var t=null;try{t=JSON.parse(e)}catch(e){t=this.modelData}this.modelData=t,this.$emit("code::model-data-updated",t)}}}}),o={class:"ml-30"};n.render=function(e,n,r,i,l,a){var d=t.resolveComponent("editor");return t.openBlock(),t.createElementBlock("div",o,[(t.openBlock(),t.createBlock(d,{key:e.theme,modelValue:e.editorModel,"onUpdate:modelValue":n[0]||(n[0]=function(t){return e.editorModel=t}),"original-value":e.originalValueString,language:"json","editor-height":70},null,8,["modelValue","original-value"]))])},exports.default=n; \ No newline at end of file diff --git a/dist/KeyValuePairItems-20e93397.js b/dist/KeyValuePairItems-20e93397.js deleted file mode 100644 index 93c7e02..0000000 --- a/dist/KeyValuePairItems-20e93397.js +++ /dev/null @@ -1 +0,0 @@ -import{m as e,v as a,_ as l}from"./entry-2ace4904.js";import{defineComponent as t,resolveComponent as n,openBlock as r,createElementBlock as o,createVNode as d,withCtx as i,mergeProps as c,createBlock as u,createElementVNode as m,withModifiers as s}from"vue";var p=t({name:"KeyValuePairItems",mixins:[e,a],props:{modelValue:{type:Object,default:function(){return{}}},fieldName:{type:String,default:""},errors:{type:Object,default:function(){return{}}},index:{type:Number,default:0},schema:{type:Object,default:function(){return{}}},additionalProperties:{type:Object,default:function(){return{}}}},emits:["delete-key-value"],methods:{deleteProp:function(e){this.$emit("delete-key-value",e)}}}),v={class:"key-value-save"},f=[m("span",{class:"icon is-small"},[m("span",{class:"icon"},[m("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6"},[m("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M14.74 9l-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 01-2.244 2.077H8.084a2.25 2.25 0 01-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 00-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 013.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 00-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 00-7.5 0"})])])],-1)];p.render=function(e,a,t,p,y,h){var b=n("simple-input"),x=n("v-field"),V=n("object-form-wrapper"),k=n("key-value-pairs"),g=n("array-input");return r(),o("div",v,[d(x,{id:"".concat(e.schema.title.replace(/ /g,"-"),"-key-").concat(e.index+1,"-provider"),modelValue:e.modelData.key,"onUpdate:modelValue":a[0]||(a[0]=function(a){return e.modelData.key=a}),rules:"required",name:"".concat(e.fieldName,"/key/").concat(e.index+1),label:"".concat(e.schema.title," key ").concat(e.index+1),as:"div"},{default:i((function(a){var t=a.componentField,n=a.errors,r=a.meta;return[d(b,c(t,{schema:{title:"Key",type:"string",ui:{tag:"input",type:"text"}},type:"string","validation-ob":l({errors:n},r),"reference-model":e.referenceModel.key||""}),null,16,["validation-ob","reference-model"])]})),_:1},8,["id","modelValue","name","label"]),"object"===e.additionalProperties.type?(r(),u(x,{key:0,id:"".concat(e.schema.title.replace(/ /g,"-"),"-value-").concat(e.index+1,"-provider"),modelValue:e.modelData.value,"onUpdate:modelValue":a[1]||(a[1]=function(a){return e.modelData.value=a}),rules:e.ruleObject(!0),name:"".concat(e.fieldName,"/value/").concat(e.index+1),label:"".concat(e.schema.title," value ").concat(e.index+1),as:""},{default:i((function(a){var l=a.field,t=a.handleChange;return[d(V,{"field-name":"".concat(e.fieldName,"/value/").concat(e.index+1),"model-value":l.value,schema:e.additionalProperties,"is-self-required":!0,type:e.additionalProperties.type,errors:e.errors,"reference-model":e.referenceModel.value||{},"onUpdate:modelValue":t},null,8,["field-name","model-value","schema","type","errors","reference-model","onUpdate:modelValue"])]})),_:1},8,["id","modelValue","rules","name","label"])):"key-value-pairs"===e.additionalProperties.type?(r(),u(x,{key:1,id:"".concat(e.schema.title.replace(/ /g,"-"),"-value-").concat(e.index+1,"-provider"),modelValue:e.modelData.value,"onUpdate:modelValue":a[2]||(a[2]=function(a){return e.modelData.value=a}),rules:e.ruleObject(!0),name:"".concat(e.fieldName,"/value/").concat(e.index+1),label:"".concat(e.schema.title," value ").concat(e.index+1),as:""},{default:i((function(a){var l=a.field,t=a.handleChange;return[d(k,{"field-name":"".concat(e.fieldName,"/value/").concat(e.index+1),"model-value":l.value,schema:e.additionalProperties,type:e.additionalProperties.type,errors:e.errors,"reference-model":e.referenceModel.value||{},"onUpdate:modelValue":t},null,8,["field-name","model-value","schema","type","errors","reference-model","onUpdate:modelValue"])]})),_:1},8,["id","modelValue","rules","name","label"])):"array"===e.additionalProperties.type?(r(),u(x,{key:2,id:"".concat(e.schema.title.replace(/ /g,"-"),"-value-").concat(e.index+1,"-provider"),modelValue:e.modelData.value,"onUpdate:modelValue":a[3]||(a[3]=function(a){return e.modelData.value=a}),rules:e.ruleArray(!0),name:"".concat(e.fieldName,"/value/").concat(e.index+1),label:"".concat(e.schema.title," value ").concat(e.index+1),as:""},{default:i((function(a){var l=a.field,t=a.handleChange;return[d(g,{"field-name":"".concat(e.fieldName,"/value/").concat(e.index+1),"model-value":l.value,schema:e.additionalProperties,type:e.additionalProperties.type,errors:e.errors,"reference-model":e.referenceModel.value||[],"onUpdate:modelValue":t},null,8,["field-name","model-value","schema","type","errors","reference-model","onUpdate:modelValue"])]})),_:1},8,["id","modelValue","rules","name","label"])):(r(),u(x,{key:3,id:"".concat(e.schema.title.replace(/ /g,"-"),"-value-").concat(e.index+1,"-provider"),modelValue:e.modelData.value,"onUpdate:modelValue":a[4]||(a[4]=function(a){return e.modelData.value=a}),rules:e.ruleString(!0),name:"".concat(e.fieldName,"/value/").concat(e.index+1),label:"".concat(e.schema.title," value ").concat(e.index+1),as:""},{default:i((function(a){var t=a.field,n=a.handleChange,r=a.errors,o=a.meta;return[d(b,{"model-value":t.value,schema:e.additionalProperties,type:e.additionalProperties.type,"validation-ob":l({errors:r},o),"reference-model":e.referenceModel.value||"","onUpdate:modelValue":n},null,8,["model-value","schema","type","validation-ob","reference-model","onUpdate:modelValue"])]})),_:1},8,["id","modelValue","rules","name","label"])),m("button",{class:"button ac-button is-medium is-square is-danger is-outlined",onClick:a[5]||(a[5]=s((function(a){return e.deleteProp(e.index)}),["prevent"]))},f)])};export{p as default}; \ No newline at end of file diff --git a/dist/KeyValuePairItems-43c36157.js b/dist/KeyValuePairItems-43c36157.js deleted file mode 100644 index 5746221..0000000 --- a/dist/KeyValuePairItems-43c36157.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";var e=require("./entry-46a6dd07.js"),a=require("vue"),l=a.defineComponent({name:"KeyValuePairItems",mixins:[e.m,e.v],props:{modelValue:{type:Object,default:function(){return{}}},fieldName:{type:String,default:""},errors:{type:Object,default:function(){return{}}},index:{type:Number,default:0},schema:{type:Object,default:function(){return{}}},additionalProperties:{type:Object,default:function(){return{}}}},emits:["delete-key-value"],methods:{deleteProp:function(e){this.$emit("delete-key-value",e)}}}),t={class:"key-value-save"},o=[a.createElementVNode("span",{class:"icon is-small"},[a.createElementVNode("span",{class:"icon"},[a.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6"},[a.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M14.74 9l-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 01-2.244 2.077H8.084a2.25 2.25 0 01-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 00-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 013.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 00-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 00-7.5 0"})])])],-1)];l.render=function(l,n,r,d,c,i){var u=a.resolveComponent("simple-input"),m=a.resolveComponent("v-field"),s=a.resolveComponent("object-form-wrapper"),p=a.resolveComponent("key-value-pairs"),v=a.resolveComponent("array-input");return a.openBlock(),a.createElementBlock("div",t,[a.createVNode(m,{id:"".concat(l.schema.title.replace(/ /g,"-"),"-key-").concat(l.index+1,"-provider"),modelValue:l.modelData.key,"onUpdate:modelValue":n[0]||(n[0]=function(e){return l.modelData.key=e}),rules:"required",name:"".concat(l.fieldName,"/key/").concat(l.index+1),label:"".concat(l.schema.title," key ").concat(l.index+1),as:"div"},{default:a.withCtx((function(t){var o=t.componentField,n=t.errors,r=t.meta;return[a.createVNode(u,a.mergeProps(o,{schema:{title:"Key",type:"string",ui:{tag:"input",type:"text"}},type:"string","validation-ob":e._({errors:n},r),"reference-model":l.referenceModel.key||""}),null,16,["validation-ob","reference-model"])]})),_:1},8,["id","modelValue","name","label"]),"object"===l.additionalProperties.type?(a.openBlock(),a.createBlock(m,{key:0,id:"".concat(l.schema.title.replace(/ /g,"-"),"-value-").concat(l.index+1,"-provider"),modelValue:l.modelData.value,"onUpdate:modelValue":n[1]||(n[1]=function(e){return l.modelData.value=e}),rules:l.ruleObject(!0),name:"".concat(l.fieldName,"/value/").concat(l.index+1),label:"".concat(l.schema.title," value ").concat(l.index+1),as:""},{default:a.withCtx((function(e){var t=e.field,o=e.handleChange;return[a.createVNode(s,{"field-name":"".concat(l.fieldName,"/value/").concat(l.index+1),"model-value":t.value,schema:l.additionalProperties,"is-self-required":!0,type:l.additionalProperties.type,errors:l.errors,"reference-model":l.referenceModel.value||{},"onUpdate:modelValue":o},null,8,["field-name","model-value","schema","type","errors","reference-model","onUpdate:modelValue"])]})),_:1},8,["id","modelValue","rules","name","label"])):"key-value-pairs"===l.additionalProperties.type?(a.openBlock(),a.createBlock(m,{key:1,id:"".concat(l.schema.title.replace(/ /g,"-"),"-value-").concat(l.index+1,"-provider"),modelValue:l.modelData.value,"onUpdate:modelValue":n[2]||(n[2]=function(e){return l.modelData.value=e}),rules:l.ruleObject(!0),name:"".concat(l.fieldName,"/value/").concat(l.index+1),label:"".concat(l.schema.title," value ").concat(l.index+1),as:""},{default:a.withCtx((function(e){var t=e.field,o=e.handleChange;return[a.createVNode(p,{"field-name":"".concat(l.fieldName,"/value/").concat(l.index+1),"model-value":t.value,schema:l.additionalProperties,type:l.additionalProperties.type,errors:l.errors,"reference-model":l.referenceModel.value||{},"onUpdate:modelValue":o},null,8,["field-name","model-value","schema","type","errors","reference-model","onUpdate:modelValue"])]})),_:1},8,["id","modelValue","rules","name","label"])):"array"===l.additionalProperties.type?(a.openBlock(),a.createBlock(m,{key:2,id:"".concat(l.schema.title.replace(/ /g,"-"),"-value-").concat(l.index+1,"-provider"),modelValue:l.modelData.value,"onUpdate:modelValue":n[3]||(n[3]=function(e){return l.modelData.value=e}),rules:l.ruleArray(!0),name:"".concat(l.fieldName,"/value/").concat(l.index+1),label:"".concat(l.schema.title," value ").concat(l.index+1),as:""},{default:a.withCtx((function(e){var t=e.field,o=e.handleChange;return[a.createVNode(v,{"field-name":"".concat(l.fieldName,"/value/").concat(l.index+1),"model-value":t.value,schema:l.additionalProperties,type:l.additionalProperties.type,errors:l.errors,"reference-model":l.referenceModel.value||[],"onUpdate:modelValue":o},null,8,["field-name","model-value","schema","type","errors","reference-model","onUpdate:modelValue"])]})),_:1},8,["id","modelValue","rules","name","label"])):(a.openBlock(),a.createBlock(m,{key:3,id:"".concat(l.schema.title.replace(/ /g,"-"),"-value-").concat(l.index+1,"-provider"),modelValue:l.modelData.value,"onUpdate:modelValue":n[4]||(n[4]=function(e){return l.modelData.value=e}),rules:l.ruleString(!0),name:"".concat(l.fieldName,"/value/").concat(l.index+1),label:"".concat(l.schema.title," value ").concat(l.index+1),as:""},{default:a.withCtx((function(t){var o=t.field,n=t.handleChange,r=t.errors,d=t.meta;return[a.createVNode(u,{"model-value":o.value,schema:l.additionalProperties,type:l.additionalProperties.type,"validation-ob":e._({errors:r},d),"reference-model":l.referenceModel.value||"","onUpdate:modelValue":n},null,8,["model-value","schema","type","validation-ob","reference-model","onUpdate:modelValue"])]})),_:1},8,["id","modelValue","rules","name","label"])),a.createElementVNode("button",{class:"button ac-button is-medium is-square is-danger is-outlined",onClick:n[5]||(n[5]=a.withModifiers((function(e){return l.deleteProp(l.index)}),["prevent"]))},o)])},exports.default=l; \ No newline at end of file diff --git a/dist/KeyValuePairItems-4652bb38.js b/dist/KeyValuePairItems-4652bb38.js deleted file mode 100644 index 45dc4f8..0000000 --- a/dist/KeyValuePairItems-4652bb38.js +++ /dev/null @@ -1 +0,0 @@ -import{m as e,v as a,_ as l}from"./entry-f11f5a48.js";import{defineComponent as t,resolveComponent as n,openBlock as r,createElementBlock as o,createVNode as d,withCtx as i,mergeProps as c,createBlock as u,createElementVNode as m,withModifiers as s}from"vue";var p=t({name:"KeyValuePairItems",mixins:[e,a],props:{modelValue:{type:Object,default:function(){return{}}},fieldName:{type:String,default:""},errors:{type:Object,default:function(){return{}}},index:{type:Number,default:0},schema:{type:Object,default:function(){return{}}},additionalProperties:{type:Object,default:function(){return{}}}},emits:["delete-key-value"],methods:{deleteProp:function(e){this.$emit("delete-key-value",e)}}}),v={class:"key-value-save"},f=[m("span",{class:"icon is-small"},[m("span",{class:"icon"},[m("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6"},[m("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M14.74 9l-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 01-2.244 2.077H8.084a2.25 2.25 0 01-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 00-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 013.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 00-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 00-7.5 0"})])])],-1)];p.render=function(e,a,t,p,y,h){var b=n("simple-input"),x=n("v-field"),V=n("object-form-wrapper"),k=n("key-value-pairs"),g=n("array-input");return r(),o("div",v,[d(x,{id:"".concat(e.schema.title.replace(/ /g,"-"),"-key-").concat(e.index+1,"-provider"),modelValue:e.modelData.key,"onUpdate:modelValue":a[0]||(a[0]=function(a){return e.modelData.key=a}),rules:"required",name:"".concat(e.fieldName,"/key/").concat(e.index+1),label:"".concat(e.schema.title," key ").concat(e.index+1),as:"div"},{default:i((function(a){var t=a.componentField,n=a.errors,r=a.meta;return[d(b,c(t,{schema:{title:"Key",type:"string",ui:{tag:"input",type:"text"}},type:"string","validation-ob":l({errors:n},r),"reference-model":e.referenceModel.key||""}),null,16,["validation-ob","reference-model"])]})),_:1},8,["id","modelValue","name","label"]),"object"===e.additionalProperties.type?(r(),u(x,{key:0,id:"".concat(e.schema.title.replace(/ /g,"-"),"-value-").concat(e.index+1,"-provider"),modelValue:e.modelData.value,"onUpdate:modelValue":a[1]||(a[1]=function(a){return e.modelData.value=a}),rules:e.ruleObject(!0),name:"".concat(e.fieldName,"/value/").concat(e.index+1),label:"".concat(e.schema.title," value ").concat(e.index+1),as:""},{default:i((function(a){var l=a.field,t=a.handleChange;return[d(V,{"field-name":"".concat(e.fieldName,"/value/").concat(e.index+1),"model-value":l.value,schema:e.additionalProperties,"is-self-required":!0,type:e.additionalProperties.type,errors:e.errors,"reference-model":e.referenceModel.value||{},"onUpdate:modelValue":t},null,8,["field-name","model-value","schema","type","errors","reference-model","onUpdate:modelValue"])]})),_:1},8,["id","modelValue","rules","name","label"])):"key-value-pairs"===e.additionalProperties.type?(r(),u(x,{key:1,id:"".concat(e.schema.title.replace(/ /g,"-"),"-value-").concat(e.index+1,"-provider"),modelValue:e.modelData.value,"onUpdate:modelValue":a[2]||(a[2]=function(a){return e.modelData.value=a}),rules:e.ruleObject(!0),name:"".concat(e.fieldName,"/value/").concat(e.index+1),label:"".concat(e.schema.title," value ").concat(e.index+1),as:""},{default:i((function(a){var l=a.field,t=a.handleChange;return[d(k,{"field-name":"".concat(e.fieldName,"/value/").concat(e.index+1),"model-value":l.value,schema:e.additionalProperties,type:e.additionalProperties.type,errors:e.errors,"reference-model":e.referenceModel.value||{},"onUpdate:modelValue":t},null,8,["field-name","model-value","schema","type","errors","reference-model","onUpdate:modelValue"])]})),_:1},8,["id","modelValue","rules","name","label"])):"array"===e.additionalProperties.type?(r(),u(x,{key:2,id:"".concat(e.schema.title.replace(/ /g,"-"),"-value-").concat(e.index+1,"-provider"),modelValue:e.modelData.value,"onUpdate:modelValue":a[3]||(a[3]=function(a){return e.modelData.value=a}),rules:e.ruleArray(!0),name:"".concat(e.fieldName,"/value/").concat(e.index+1),label:"".concat(e.schema.title," value ").concat(e.index+1),as:""},{default:i((function(a){var l=a.field,t=a.handleChange;return[d(g,{"field-name":"".concat(e.fieldName,"/value/").concat(e.index+1),"model-value":l.value,schema:e.additionalProperties,type:e.additionalProperties.type,errors:e.errors,"reference-model":e.referenceModel.value||[],"onUpdate:modelValue":t},null,8,["field-name","model-value","schema","type","errors","reference-model","onUpdate:modelValue"])]})),_:1},8,["id","modelValue","rules","name","label"])):(r(),u(x,{key:3,id:"".concat(e.schema.title.replace(/ /g,"-"),"-value-").concat(e.index+1,"-provider"),modelValue:e.modelData.value,"onUpdate:modelValue":a[4]||(a[4]=function(a){return e.modelData.value=a}),rules:e.ruleString(!0),name:"".concat(e.fieldName,"/value/").concat(e.index+1),label:"".concat(e.schema.title," value ").concat(e.index+1),as:""},{default:i((function(a){var t=a.field,n=a.handleChange,r=a.errors,o=a.meta;return[d(b,{"model-value":t.value,schema:e.additionalProperties,type:e.additionalProperties.type,"validation-ob":l({errors:r},o),"reference-model":e.referenceModel.value||"","onUpdate:modelValue":n},null,8,["model-value","schema","type","validation-ob","reference-model","onUpdate:modelValue"])]})),_:1},8,["id","modelValue","rules","name","label"])),m("button",{class:"button ac-button is-medium is-square is-danger is-outlined",onClick:a[5]||(a[5]=s((function(a){return e.deleteProp(e.index)}),["prevent"]))},f)])};export{p as default}; \ No newline at end of file diff --git a/dist/KeyValuePairItems-55bcab7e.js b/dist/KeyValuePairItems-55bcab7e.js deleted file mode 100644 index 504ca41..0000000 --- a/dist/KeyValuePairItems-55bcab7e.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";var e=require("./entry-c1fde67d.js"),a=require("vue"),l=a.defineComponent({name:"KeyValuePairItems",mixins:[e.m,e.v],props:{modelValue:{type:Object,default:function(){return{}}},fieldName:{type:String,default:""},errors:{type:Object,default:function(){return{}}},index:{type:Number,default:0},schema:{type:Object,default:function(){return{}}},additionalProperties:{type:Object,default:function(){return{}}}},emits:["delete-key-value"],methods:{deleteProp:function(e){this.$emit("delete-key-value",e)}}}),t={class:"key-value-save"},o=[a.createElementVNode("span",{class:"icon is-small"},[a.createElementVNode("span",{class:"icon"},[a.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6"},[a.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M14.74 9l-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 01-2.244 2.077H8.084a2.25 2.25 0 01-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 00-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 013.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 00-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 00-7.5 0"})])])],-1)];l.render=function(l,n,r,d,c,i){var u=a.resolveComponent("simple-input"),m=a.resolveComponent("v-field"),s=a.resolveComponent("object-form-wrapper"),p=a.resolveComponent("key-value-pairs"),v=a.resolveComponent("array-input");return a.openBlock(),a.createElementBlock("div",t,[a.createVNode(m,{id:"".concat(l.schema.title.replace(/ /g,"-"),"-key-").concat(l.index+1,"-provider"),modelValue:l.modelData.key,"onUpdate:modelValue":n[0]||(n[0]=function(e){return l.modelData.key=e}),rules:"required",name:"".concat(l.fieldName,"/key/").concat(l.index+1),label:"".concat(l.schema.title," key ").concat(l.index+1),as:"div"},{default:a.withCtx((function(t){var o=t.componentField,n=t.errors,r=t.meta;return[a.createVNode(u,a.mergeProps(o,{schema:{title:"Key",type:"string",ui:{tag:"input",type:"text"}},type:"string","validation-ob":e._({errors:n},r),"reference-model":l.referenceModel.key||""}),null,16,["validation-ob","reference-model"])]})),_:1},8,["id","modelValue","name","label"]),"object"===l.additionalProperties.type?(a.openBlock(),a.createBlock(m,{key:0,id:"".concat(l.schema.title.replace(/ /g,"-"),"-value-").concat(l.index+1,"-provider"),modelValue:l.modelData.value,"onUpdate:modelValue":n[1]||(n[1]=function(e){return l.modelData.value=e}),rules:l.ruleObject(!0),name:"".concat(l.fieldName,"/value/").concat(l.index+1),label:"".concat(l.schema.title," value ").concat(l.index+1),as:""},{default:a.withCtx((function(e){var t=e.field,o=e.handleChange;return[a.createVNode(s,{"field-name":"".concat(l.fieldName,"/value/").concat(l.index+1),"model-value":t.value,schema:l.additionalProperties,"is-self-required":!0,type:l.additionalProperties.type,errors:l.errors,"reference-model":l.referenceModel.value||{},"onUpdate:modelValue":o},null,8,["field-name","model-value","schema","type","errors","reference-model","onUpdate:modelValue"])]})),_:1},8,["id","modelValue","rules","name","label"])):"key-value-pairs"===l.additionalProperties.type?(a.openBlock(),a.createBlock(m,{key:1,id:"".concat(l.schema.title.replace(/ /g,"-"),"-value-").concat(l.index+1,"-provider"),modelValue:l.modelData.value,"onUpdate:modelValue":n[2]||(n[2]=function(e){return l.modelData.value=e}),rules:l.ruleObject(!0),name:"".concat(l.fieldName,"/value/").concat(l.index+1),label:"".concat(l.schema.title," value ").concat(l.index+1),as:""},{default:a.withCtx((function(e){var t=e.field,o=e.handleChange;return[a.createVNode(p,{"field-name":"".concat(l.fieldName,"/value/").concat(l.index+1),"model-value":t.value,schema:l.additionalProperties,type:l.additionalProperties.type,errors:l.errors,"reference-model":l.referenceModel.value||{},"onUpdate:modelValue":o},null,8,["field-name","model-value","schema","type","errors","reference-model","onUpdate:modelValue"])]})),_:1},8,["id","modelValue","rules","name","label"])):"array"===l.additionalProperties.type?(a.openBlock(),a.createBlock(m,{key:2,id:"".concat(l.schema.title.replace(/ /g,"-"),"-value-").concat(l.index+1,"-provider"),modelValue:l.modelData.value,"onUpdate:modelValue":n[3]||(n[3]=function(e){return l.modelData.value=e}),rules:l.ruleArray(!0),name:"".concat(l.fieldName,"/value/").concat(l.index+1),label:"".concat(l.schema.title," value ").concat(l.index+1),as:""},{default:a.withCtx((function(e){var t=e.field,o=e.handleChange;return[a.createVNode(v,{"field-name":"".concat(l.fieldName,"/value/").concat(l.index+1),"model-value":t.value,schema:l.additionalProperties,type:l.additionalProperties.type,errors:l.errors,"reference-model":l.referenceModel.value||[],"onUpdate:modelValue":o},null,8,["field-name","model-value","schema","type","errors","reference-model","onUpdate:modelValue"])]})),_:1},8,["id","modelValue","rules","name","label"])):(a.openBlock(),a.createBlock(m,{key:3,id:"".concat(l.schema.title.replace(/ /g,"-"),"-value-").concat(l.index+1,"-provider"),modelValue:l.modelData.value,"onUpdate:modelValue":n[4]||(n[4]=function(e){return l.modelData.value=e}),rules:l.ruleString(!0),name:"".concat(l.fieldName,"/value/").concat(l.index+1),label:"".concat(l.schema.title," value ").concat(l.index+1),as:""},{default:a.withCtx((function(t){var o=t.field,n=t.handleChange,r=t.errors,d=t.meta;return[a.createVNode(u,{"model-value":o.value,schema:l.additionalProperties,type:l.additionalProperties.type,"validation-ob":e._({errors:r},d),"reference-model":l.referenceModel.value||"","onUpdate:modelValue":n},null,8,["model-value","schema","type","validation-ob","reference-model","onUpdate:modelValue"])]})),_:1},8,["id","modelValue","rules","name","label"])),a.createElementVNode("button",{class:"button ac-button is-medium is-square is-danger is-outlined",onClick:n[5]||(n[5]=a.withModifiers((function(e){return l.deleteProp(l.index)}),["prevent"]))},o)])},exports.default=l; \ No newline at end of file diff --git a/dist/KeyValuePairItems-93f507c4.js b/dist/KeyValuePairItems-93f507c4.js deleted file mode 100644 index 95d1deb..0000000 --- a/dist/KeyValuePairItems-93f507c4.js +++ /dev/null @@ -1 +0,0 @@ -import{m as e,v as a,_ as l}from"./entry-a6929ab2.js";import{defineComponent as t,resolveComponent as n,openBlock as r,createElementBlock as o,createVNode as d,withCtx as i,mergeProps as c,createBlock as u,createElementVNode as m,withModifiers as s}from"vue";var p=t({name:"KeyValuePairItems",mixins:[e,a],props:{modelValue:{type:Object,default:function(){return{}}},fieldName:{type:String,default:""},errors:{type:Object,default:function(){return{}}},index:{type:Number,default:0},schema:{type:Object,default:function(){return{}}},additionalProperties:{type:Object,default:function(){return{}}}},emits:["delete-key-value"],methods:{deleteProp:function(e){this.$emit("delete-key-value",e)}}}),v={class:"key-value-save"},f=[m("span",{class:"icon is-small"},[m("span",{class:"icon"},[m("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6"},[m("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M14.74 9l-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 01-2.244 2.077H8.084a2.25 2.25 0 01-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 00-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 013.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 00-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 00-7.5 0"})])])],-1)];p.render=function(e,a,t,p,y,h){var b=n("simple-input"),x=n("v-field"),V=n("object-form-wrapper"),k=n("key-value-pairs"),g=n("array-input");return r(),o("div",v,[d(x,{id:"".concat(e.schema.title.replace(/ /g,"-"),"-key-").concat(e.index+1,"-provider"),modelValue:e.modelData.key,"onUpdate:modelValue":a[0]||(a[0]=function(a){return e.modelData.key=a}),rules:"required",name:"".concat(e.fieldName,"/key/").concat(e.index+1),label:"".concat(e.schema.title," key ").concat(e.index+1),as:"div"},{default:i((function(a){var t=a.componentField,n=a.errors,r=a.meta;return[d(b,c(t,{schema:{title:"Key",type:"string",ui:{tag:"input",type:"text"}},type:"string","validation-ob":l({errors:n},r),"reference-model":e.referenceModel.key||""}),null,16,["validation-ob","reference-model"])]})),_:1},8,["id","modelValue","name","label"]),"object"===e.additionalProperties.type?(r(),u(x,{key:0,id:"".concat(e.schema.title.replace(/ /g,"-"),"-value-").concat(e.index+1,"-provider"),modelValue:e.modelData.value,"onUpdate:modelValue":a[1]||(a[1]=function(a){return e.modelData.value=a}),rules:e.ruleObject(!0),name:"".concat(e.fieldName,"/value/").concat(e.index+1),label:"".concat(e.schema.title," value ").concat(e.index+1),as:""},{default:i((function(a){var l=a.field,t=a.handleChange;return[d(V,{"field-name":"".concat(e.fieldName,"/value/").concat(e.index+1),"model-value":l.value,schema:e.additionalProperties,"is-self-required":!0,type:e.additionalProperties.type,errors:e.errors,"reference-model":e.referenceModel.value||{},"onUpdate:modelValue":t},null,8,["field-name","model-value","schema","type","errors","reference-model","onUpdate:modelValue"])]})),_:1},8,["id","modelValue","rules","name","label"])):"key-value-pairs"===e.additionalProperties.type?(r(),u(x,{key:1,id:"".concat(e.schema.title.replace(/ /g,"-"),"-value-").concat(e.index+1,"-provider"),modelValue:e.modelData.value,"onUpdate:modelValue":a[2]||(a[2]=function(a){return e.modelData.value=a}),rules:e.ruleObject(!0),name:"".concat(e.fieldName,"/value/").concat(e.index+1),label:"".concat(e.schema.title," value ").concat(e.index+1),as:""},{default:i((function(a){var l=a.field,t=a.handleChange;return[d(k,{"field-name":"".concat(e.fieldName,"/value/").concat(e.index+1),"model-value":l.value,schema:e.additionalProperties,type:e.additionalProperties.type,errors:e.errors,"reference-model":e.referenceModel.value||{},"onUpdate:modelValue":t},null,8,["field-name","model-value","schema","type","errors","reference-model","onUpdate:modelValue"])]})),_:1},8,["id","modelValue","rules","name","label"])):"array"===e.additionalProperties.type?(r(),u(x,{key:2,id:"".concat(e.schema.title.replace(/ /g,"-"),"-value-").concat(e.index+1,"-provider"),modelValue:e.modelData.value,"onUpdate:modelValue":a[3]||(a[3]=function(a){return e.modelData.value=a}),rules:e.ruleArray(!0),name:"".concat(e.fieldName,"/value/").concat(e.index+1),label:"".concat(e.schema.title," value ").concat(e.index+1),as:""},{default:i((function(a){var l=a.field,t=a.handleChange;return[d(g,{"field-name":"".concat(e.fieldName,"/value/").concat(e.index+1),"model-value":l.value,schema:e.additionalProperties,type:e.additionalProperties.type,errors:e.errors,"reference-model":e.referenceModel.value||[],"onUpdate:modelValue":t},null,8,["field-name","model-value","schema","type","errors","reference-model","onUpdate:modelValue"])]})),_:1},8,["id","modelValue","rules","name","label"])):(r(),u(x,{key:3,id:"".concat(e.schema.title.replace(/ /g,"-"),"-value-").concat(e.index+1,"-provider"),modelValue:e.modelData.value,"onUpdate:modelValue":a[4]||(a[4]=function(a){return e.modelData.value=a}),rules:e.ruleString(!0),name:"".concat(e.fieldName,"/value/").concat(e.index+1),label:"".concat(e.schema.title," value ").concat(e.index+1),as:""},{default:i((function(a){var t=a.field,n=a.handleChange,r=a.errors,o=a.meta;return[d(b,{"model-value":t.value,schema:e.additionalProperties,type:e.additionalProperties.type,"validation-ob":l({errors:r},o),"reference-model":e.referenceModel.value||"","onUpdate:modelValue":n},null,8,["model-value","schema","type","validation-ob","reference-model","onUpdate:modelValue"])]})),_:1},8,["id","modelValue","rules","name","label"])),m("button",{class:"button ac-button is-medium is-square is-danger is-outlined",onClick:a[5]||(a[5]=s((function(a){return e.deleteProp(e.index)}),["prevent"]))},f)])};export{p as default}; \ No newline at end of file diff --git a/dist/KeyValuePairItems-Cf8duHDN.js b/dist/KeyValuePairItems-Cf8duHDN.js new file mode 100644 index 0000000..6c80a19 --- /dev/null +++ b/dist/KeyValuePairItems-Cf8duHDN.js @@ -0,0 +1,171 @@ +import { _ as V, m as k, v as h } from "./entry-CiSu1Krq.js"; +import { resolveComponent as d, openBlock as m, createElementBlock as P, createVNode as r, withCtx as i, mergeProps as U, createBlock as t, withModifiers as g, defineComponent as D } from "vue"; +import { AcButton as N } from "@mohin4/design-system"; +import { Trash2 as j } from "lucide-vue-next"; +const M = D({ + name: "KeyValuePairItems", + components: { AcButton: N, Trash2: j }, + mixins: [k, h], + props: { + modelValue: { + type: Object, + default: () => ({}) + }, + fieldName: { + type: String, + default: "" + }, + errors: { + type: Object, + default: () => ({}) + }, + index: { type: Number, default: 0 }, + schema: { + type: Object, + default: () => ({}) + }, + additionalProperties: { + type: Object, + default: () => ({}) + } + }, + emits: ["delete-key-value"], + methods: { + deleteProp(e) { + this.$emit("delete-key-value", e); + } + } +}), O = { class: "vof-key-value-save" }; +function w(e, a, B, C, K, T) { + const s = d("simple-input"), n = d("v-field"), p = d("object-form-wrapper"), v = d("key-value-pairs"), f = d("array-input"), y = d("Trash2"), $ = d("ac-button"); + return m(), P("div", O, [ + r(n, { + id: `${e.schema.title.replace(/ /g, "-")}-key-${e.index + 1}-provider`, + modelValue: e.modelData.key, + "onUpdate:modelValue": a[0] || (a[0] = (l) => e.modelData.key = l), + rules: "required", + name: `${e.fieldName}/key/${e.index + 1}`, + label: `${e.schema.title} key ${e.index + 1}`, + as: "div" + }, { + default: i(({ componentField: l, errors: o, meta: u }) => [ + r(s, U(l, { + schema: { + title: "Key", + type: "string", + ui: { tag: "input", type: "text" } + }, + type: "string", + "validation-ob": { errors: o, ...u }, + "reference-model": e.referenceModel.key || "" + }), null, 16, ["validation-ob", "reference-model"]) + ]), + _: 1 + }, 8, ["id", "modelValue", "name", "label"]), + e.additionalProperties.type === "object" ? (m(), t(n, { + key: 0, + id: `${e.schema.title.replace(/ /g, "-")}-value-${e.index + 1}-provider`, + modelValue: e.modelData.value, + "onUpdate:modelValue": a[1] || (a[1] = (l) => e.modelData.value = l), + rules: e.ruleObject(!0), + name: `${e.fieldName}/value/${e.index + 1}`, + label: `${e.schema.title} value ${e.index + 1}`, + as: "" + }, { + default: i(({ field: l, handleChange: o }) => [ + r(p, { + "field-name": `${e.fieldName}/value/${e.index + 1}`, + "model-value": l.value, + schema: e.additionalProperties, + "is-self-required": !0, + type: e.additionalProperties.type, + errors: e.errors, + "reference-model": e.referenceModel.value || {}, + "onUpdate:modelValue": o + }, null, 8, ["field-name", "model-value", "schema", "type", "errors", "reference-model", "onUpdate:modelValue"]) + ]), + _: 1 + }, 8, ["id", "modelValue", "rules", "name", "label"])) : e.additionalProperties.type === "key-value-pairs" ? (m(), t(n, { + key: 1, + id: `${e.schema.title.replace(/ /g, "-")}-value-${e.index + 1}-provider`, + modelValue: e.modelData.value, + "onUpdate:modelValue": a[2] || (a[2] = (l) => e.modelData.value = l), + rules: e.ruleObject(!0), + name: `${e.fieldName}/value/${e.index + 1}`, + label: `${e.schema.title} value ${e.index + 1}`, + as: "" + }, { + default: i(({ field: l, handleChange: o }) => [ + r(v, { + "field-name": `${e.fieldName}/value/${e.index + 1}`, + "model-value": l.value, + schema: e.additionalProperties, + type: e.additionalProperties.type, + errors: e.errors, + "reference-model": e.referenceModel.value || {}, + "onUpdate:modelValue": o + }, null, 8, ["field-name", "model-value", "schema", "type", "errors", "reference-model", "onUpdate:modelValue"]) + ]), + _: 1 + }, 8, ["id", "modelValue", "rules", "name", "label"])) : e.additionalProperties.type === "array" ? (m(), t(n, { + key: 2, + id: `${e.schema.title.replace(/ /g, "-")}-value-${e.index + 1}-provider`, + modelValue: e.modelData.value, + "onUpdate:modelValue": a[3] || (a[3] = (l) => e.modelData.value = l), + rules: e.ruleArray(!0), + name: `${e.fieldName}/value/${e.index + 1}`, + label: `${e.schema.title} value ${e.index + 1}`, + as: "" + }, { + default: i(({ field: l, handleChange: o }) => [ + r(f, { + "field-name": `${e.fieldName}/value/${e.index + 1}`, + "model-value": l.value, + schema: e.additionalProperties, + type: e.additionalProperties.type, + errors: e.errors, + "reference-model": e.referenceModel.value || [], + "onUpdate:modelValue": o + }, null, 8, ["field-name", "model-value", "schema", "type", "errors", "reference-model", "onUpdate:modelValue"]) + ]), + _: 1 + }, 8, ["id", "modelValue", "rules", "name", "label"])) : (m(), t(n, { + key: 3, + id: `${e.schema.title.replace(/ /g, "-")}-value-${e.index + 1}-provider`, + modelValue: e.modelData.value, + "onUpdate:modelValue": a[4] || (a[4] = (l) => e.modelData.value = l), + rules: e.ruleString(!0), + name: `${e.fieldName}/value/${e.index + 1}`, + label: `${e.schema.title} value ${e.index + 1}`, + as: "" + }, { + default: i(({ field: l, handleChange: o, errors: u, meta: b }) => [ + r(s, { + "model-value": l.value, + schema: e.additionalProperties, + type: e.additionalProperties.type, + "validation-ob": { errors: u, ...b }, + "reference-model": e.referenceModel.value || "", + "onUpdate:modelValue": o + }, null, 8, ["model-value", "schema", "type", "validation-ob", "reference-model", "onUpdate:modelValue"]) + ]), + _: 1 + }, 8, ["id", "modelValue", "rules", "name", "label"])), + r($, { + class: "vof-icon-btn", + color: "danger", + variant: "outlined", + "aria-label": "Delete", + onClick: a[5] || (a[5] = g((l) => e.deleteProp(e.index), ["prevent"])) + }, { + icon: i(() => [ + r(y, { "aria-hidden": "true" }) + ]), + _: 1 + }) + ]); +} +const E = /* @__PURE__ */ V(M, [["render", w]]); +export { + E as default +}; diff --git a/dist/KeyValuePairItems-c5d5aad6.js b/dist/KeyValuePairItems-c5d5aad6.js deleted file mode 100644 index 393e121..0000000 --- a/dist/KeyValuePairItems-c5d5aad6.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";var e=require("./entry-5480607d.js"),a=require("vue"),l=a.defineComponent({name:"KeyValuePairItems",mixins:[e.m,e.v],props:{modelValue:{type:Object,default:function(){return{}}},fieldName:{type:String,default:""},errors:{type:Object,default:function(){return{}}},index:{type:Number,default:0},schema:{type:Object,default:function(){return{}}},additionalProperties:{type:Object,default:function(){return{}}}},emits:["delete-key-value"],methods:{deleteProp:function(e){this.$emit("delete-key-value",e)}}}),t={class:"key-value-save"},o=[a.createElementVNode("span",{class:"icon is-small"},[a.createElementVNode("span",{class:"icon"},[a.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6"},[a.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M14.74 9l-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 01-2.244 2.077H8.084a2.25 2.25 0 01-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 00-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 013.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 00-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 00-7.5 0"})])])],-1)];l.render=function(l,n,r,d,c,i){var u=a.resolveComponent("simple-input"),m=a.resolveComponent("v-field"),s=a.resolveComponent("object-form-wrapper"),p=a.resolveComponent("key-value-pairs"),v=a.resolveComponent("array-input");return a.openBlock(),a.createElementBlock("div",t,[a.createVNode(m,{id:"".concat(l.schema.title.replace(/ /g,"-"),"-key-").concat(l.index+1,"-provider"),modelValue:l.modelData.key,"onUpdate:modelValue":n[0]||(n[0]=function(e){return l.modelData.key=e}),rules:"required",name:"".concat(l.fieldName,"/key/").concat(l.index+1),label:"".concat(l.schema.title," key ").concat(l.index+1),as:"div"},{default:a.withCtx((function(t){var o=t.componentField,n=t.errors,r=t.meta;return[a.createVNode(u,a.mergeProps(o,{schema:{title:"Key",type:"string",ui:{tag:"input",type:"text"}},type:"string","validation-ob":e._({errors:n},r),"reference-model":l.referenceModel.key||""}),null,16,["validation-ob","reference-model"])]})),_:1},8,["id","modelValue","name","label"]),"object"===l.additionalProperties.type?(a.openBlock(),a.createBlock(m,{key:0,id:"".concat(l.schema.title.replace(/ /g,"-"),"-value-").concat(l.index+1,"-provider"),modelValue:l.modelData.value,"onUpdate:modelValue":n[1]||(n[1]=function(e){return l.modelData.value=e}),rules:l.ruleObject(!0),name:"".concat(l.fieldName,"/value/").concat(l.index+1),label:"".concat(l.schema.title," value ").concat(l.index+1),as:""},{default:a.withCtx((function(e){var t=e.field,o=e.handleChange;return[a.createVNode(s,{"field-name":"".concat(l.fieldName,"/value/").concat(l.index+1),"model-value":t.value,schema:l.additionalProperties,"is-self-required":!0,type:l.additionalProperties.type,errors:l.errors,"reference-model":l.referenceModel.value||{},"onUpdate:modelValue":o},null,8,["field-name","model-value","schema","type","errors","reference-model","onUpdate:modelValue"])]})),_:1},8,["id","modelValue","rules","name","label"])):"key-value-pairs"===l.additionalProperties.type?(a.openBlock(),a.createBlock(m,{key:1,id:"".concat(l.schema.title.replace(/ /g,"-"),"-value-").concat(l.index+1,"-provider"),modelValue:l.modelData.value,"onUpdate:modelValue":n[2]||(n[2]=function(e){return l.modelData.value=e}),rules:l.ruleObject(!0),name:"".concat(l.fieldName,"/value/").concat(l.index+1),label:"".concat(l.schema.title," value ").concat(l.index+1),as:""},{default:a.withCtx((function(e){var t=e.field,o=e.handleChange;return[a.createVNode(p,{"field-name":"".concat(l.fieldName,"/value/").concat(l.index+1),"model-value":t.value,schema:l.additionalProperties,type:l.additionalProperties.type,errors:l.errors,"reference-model":l.referenceModel.value||{},"onUpdate:modelValue":o},null,8,["field-name","model-value","schema","type","errors","reference-model","onUpdate:modelValue"])]})),_:1},8,["id","modelValue","rules","name","label"])):"array"===l.additionalProperties.type?(a.openBlock(),a.createBlock(m,{key:2,id:"".concat(l.schema.title.replace(/ /g,"-"),"-value-").concat(l.index+1,"-provider"),modelValue:l.modelData.value,"onUpdate:modelValue":n[3]||(n[3]=function(e){return l.modelData.value=e}),rules:l.ruleArray(!0),name:"".concat(l.fieldName,"/value/").concat(l.index+1),label:"".concat(l.schema.title," value ").concat(l.index+1),as:""},{default:a.withCtx((function(e){var t=e.field,o=e.handleChange;return[a.createVNode(v,{"field-name":"".concat(l.fieldName,"/value/").concat(l.index+1),"model-value":t.value,schema:l.additionalProperties,type:l.additionalProperties.type,errors:l.errors,"reference-model":l.referenceModel.value||[],"onUpdate:modelValue":o},null,8,["field-name","model-value","schema","type","errors","reference-model","onUpdate:modelValue"])]})),_:1},8,["id","modelValue","rules","name","label"])):(a.openBlock(),a.createBlock(m,{key:3,id:"".concat(l.schema.title.replace(/ /g,"-"),"-value-").concat(l.index+1,"-provider"),modelValue:l.modelData.value,"onUpdate:modelValue":n[4]||(n[4]=function(e){return l.modelData.value=e}),rules:l.ruleString(!0),name:"".concat(l.fieldName,"/value/").concat(l.index+1),label:"".concat(l.schema.title," value ").concat(l.index+1),as:""},{default:a.withCtx((function(t){var o=t.field,n=t.handleChange,r=t.errors,d=t.meta;return[a.createVNode(u,{"model-value":o.value,schema:l.additionalProperties,type:l.additionalProperties.type,"validation-ob":e._({errors:r},d),"reference-model":l.referenceModel.value||"","onUpdate:modelValue":n},null,8,["model-value","schema","type","validation-ob","reference-model","onUpdate:modelValue"])]})),_:1},8,["id","modelValue","rules","name","label"])),a.createElementVNode("button",{class:"button ac-button is-medium is-square is-danger is-outlined",onClick:n[5]||(n[5]=a.withModifiers((function(e){return l.deleteProp(l.index)}),["prevent"]))},o)])},exports.default=l; \ No newline at end of file diff --git a/dist/KeyValuePairs-0282012a.js b/dist/KeyValuePairs-0282012a.js deleted file mode 100644 index f1e5f6c..0000000 --- a/dist/KeyValuePairs-0282012a.js +++ /dev/null @@ -1 +0,0 @@ -import{m as e,v as a,_ as l,c as r,a as t,b as n}from"./entry-a6929ab2.js";import{t as o}from"./tabs-1a22f292.js";import{s as i}from"./size-d02f66d9.js";import{defineComponent as u,defineAsyncComponent as d,resolveComponent as s,openBlock as c,createElementBlock as m,normalizeClass as p,createElementVNode as f,createTextVNode as y,toDisplayString as V,createVNode as v,Fragment as h,renderList as k,createBlock as w,withCtx as b,withModifiers as P,createCommentVNode as U}from"vue";var g=u({name:"KeyValuePairs",components:{KeyValuePairItems:d((function(){return import("./KeyValuePairItems-93f507c4.js").then((function(e){return e.default}))}))},mixins:[e,o,a,i],props:{schema:{type:Object,default:function(){return{}}},fieldName:{type:String,default:""},modelValue:{type:Object,default:function(){return{}}},errors:{type:Object,default:function(){return{}}},isLastChild:{type:Boolean,default:!1}},data:function(){return{newData:null,updatePass:0,keyValueArray:null,referencekeyValueArray:null,newKey:"",newValue:null}},computed:{additionalProperties:function(){return this.schema.additionalProperties||{}}},watch:{keyValueArray:{immediate:!0,deep:!0,handler:function(e,a){if(null!=a){var l=JSON.stringify(e);this.modelData=this.reconstructObject(JSON.parse(l))}}},activeTab:function(){this.initKeyValueArray(),this.initReferenceKeyValueArray()},modelValue:{deep:!0,immediate:!0,handler:function(e,a){JSON.stringify(e)!==JSON.stringify(a)&&this.initKeyValueArray(),this.initReferenceKeyValueArray()}}},methods:{initKeyValueArray:function(){var e=this;this.keyValueArray=Object.keys(this.modelValue).map((function(a){return{key:a,value:e.modelValue[a]||null}}))},initReferenceKeyValueArray:function(){var e=this;this.referencekeyValueArray=Object.keys(this.referenceModel).map((function(a){return{key:a,value:e.referenceModel[a]||null}}))},updateKeyValueArray:function(e){this.keyValueArray=Object.keys(e).map((function(a){return{key:a,value:e[a]}}))},reconstructObject:function(e){var a={};return e.forEach((function(e){a=Object.assign({},l({},a),r({},"".concat(e.key),e.value))})),a},addProp:function(e){var a=this;return t(n().mark((function l(){var r;return n().wrap((function(l){for(;;)switch(l.prev=l.next){case 0:return l.next=2,e();case 2:r=l.sent,r.valid&&(a.keyValueArray.push({key:a.newKey,value:a.newValue}),a.newKey="",a.newValue=null,a.updatePass+=1);case 5:case"end":return l.stop()}}),l)})))()},deleteProp:function(e){this.keyValueArray.splice(e,1),this.updatePass+=1}}}),A={class:"nested-header mb-5"},K={class:"is-flex is-semi-normal"},j=f("div",{class:"collaps-icon is-disabled"},[f("i",{"aria-hidden":"true",class:"fa fa-minus"})],-1),C=["onClick"],D=[f("span",{class:"icon"},[f("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6"},[f("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 4.5v15m7.5-7.5h-15"})])],-1)];g.render=function(e,a,r,t,n,o){var i=s("component-errors"),u=s("tabs"),d=s("key-value-pair-items"),g=s("simple-input"),O=s("v-field"),x=s("object-form-wrapper"),q=s("key-value-pairs",!0),N=s("array-input"),_=s("v-form"),T=s("yaml-form"),M=s("json-form");return c(),m("div",{class:p(["ac-nested-elements key-value-pairs is-flex is-flex-direction-column gap-8",{"stop-line":e.isLastChild}])},[f("div",A,[f("h6",K,[j,y(" "+V(e.schema.title||"Array Item Description"),1),v(i,{errors:e.calcFormErrors(e.errors,e.fieldName)},null,8,["errors"])]),v(u,{modelValue:e.activeTab,"onUpdate:modelValue":a[0]||(a[0]=function(a){return e.activeTab=a})},null,8,["modelValue"])]),"form"===e.activeTab?(c(),m(h,{key:0},[(c(!0),m(h,null,k(e.keyValueArray,(function(a,l){return c(),m("div",{key:"".concat(l,"-").concat(e.schema.title,"-form")},[v(d,{modelValue:e.keyValueArray[l],"onUpdate:modelValue":function(a){return e.keyValueArray[l]=a},"field-name":e.fieldName,"reference-model":e.referencekeyValueArray[l]||{},index:l,schema:e.schema,"additional-properties":e.additionalProperties,errors:e.errors,onDeleteKeyValue:e.deleteProp},null,8,["modelValue","onUpdate:modelValue","field-name","reference-model","index","schema","additional-properties","errors","onDeleteKeyValue"])])})),128)),(c(),w(_,{id:"".concat(e.schema.title.replace(/ /g,"-"),"-new-observer"),key:e.updatePass,as:"div",class:"key-value-save"},{default:b((function(r){var t=r.validate,n=r.errors;return[v(O,{id:"".concat(e.schema.title.replace(/ /g,"-"),"-key-provider"),modelValue:e.newKey,"onUpdate:modelValue":a[1]||(a[1]=function(a){return e.newKey=a}),rules:"required",name:"newKey",label:"".concat(e.schema.title," new key"),as:"div"},{default:b((function(e){var a=e.field,r=e.handleChange,t=e.errors,n=e.meta;return[v(g,{"model-value":a.value,schema:{title:"Key",type:"string",ui:{tag:"input",type:"text"}},type:"string","validation-ob":l({errors:t},n),"reference-model":"","onUpdate:modelValue":r},null,8,["model-value","validation-ob","onUpdate:modelValue"])]})),_:1},8,["id","modelValue","label"]),"object"===e.additionalProperties.type?(c(),w(O,{key:0,id:"".concat(e.schema.title.replace(/ /g,"-"),"-value-provider"),modelValue:e.newValue,"onUpdate:modelValue":a[2]||(a[2]=function(a){return e.newValue=a}),rules:"required",name:"newValue",label:"".concat(e.schema.title," new value"),as:""},{default:b((function(a){var l=a.field,r=a.handleChange;return[v(x,{"field-name":"newValue","model-value":l.value,"is-last-child":!0,"is-self-required":!0,schema:e.additionalProperties,type:e.additionalProperties.type,errors:n,"reference-model":{},"onUpdate:modelValue":r},null,8,["model-value","schema","type","errors","onUpdate:modelValue"])]})),_:2},1032,["id","modelValue","label"])):"key-value-pairs"===e.additionalProperties.type?(c(),w(O,{key:1,id:"".concat(e.schema.title.replace(/ /g,"-"),"-value-provider"),modelValue:e.newValue,"onUpdate:modelValue":a[3]||(a[3]=function(a){return e.newValue=a}),rules:"required",name:"newValue",label:"".concat(e.schema.title," new value"),as:""},{default:b((function(a){var l=a.field,r=a.handleChange;return[v(q,{"field-name":"newValue","model-value":l.value,"is-last-child":!0,schema:e.additionalProperties,type:e.additionalProperties.type,errors:n,"reference-model":{},"onUpdate:modelValue":r},null,8,["model-value","schema","type","errors","onUpdate:modelValue"])]})),_:2},1032,["id","modelValue","label"])):"array"===e.additionalProperties.type?(c(),w(O,{key:2,id:"".concat(e.schema.title.replace(/ /g,"-"),"-value-provider"),modelValue:e.newValue,"onUpdate:modelValue":a[4]||(a[4]=function(a){return e.newValue=a}),rules:"required",name:"newValue",label:"".concat(e.schema.title," new value"),as:""},{default:b((function(a){var l=a.field,r=a.handleChange;return[v(N,{"field-name":"newValue","model-value":l.value,"is-last-child":!0,schema:e.additionalProperties,type:e.additionalProperties.type,errors:n,"reference-model":[],"onUpdate:modelValue":r},null,8,["model-value","schema","type","errors","onUpdate:modelValue"])]})),_:2},1032,["id","modelValue","label"])):(c(),w(O,{key:3,id:"".concat(e.schema.title.replace(/ /g,"-"),"-value-provider"),modelValue:e.newValue,"onUpdate:modelValue":a[5]||(a[5]=function(a){return e.newValue=a}),rules:"required",name:"newValue",label:"".concat(e.schema.title," new value"),as:""},{default:b((function(a){var r=a.field,t=a.handleChange,n=a.errors,o=a.meta;return[v(g,{"model-value":r.value,schema:e.additionalProperties,type:e.additionalProperties.type,"validation-ob":l({errors:n},o),"reference-model":"","onUpdate:modelValue":t},null,8,["model-value","schema","type","validation-ob","onUpdate:modelValue"])]})),_:1},8,["id","modelValue","label"])),f("button",{class:"button ac-button is-medium is-square is-primary is-outlined",onClick:P((function(a){return e.addProp(t)}),["prevent"])},D,8,C)]})),_:1},8,["id"]))],64)):U("",!0),"yaml"===e.activeTab?(c(),w(T,{key:1,modelValue:e.modelData,"onUpdate:modelValue":a[6]||(a[6]=function(a){return e.modelData=a}),"reference-model":e.referenceModel||{},"onCode::modelDataUpdated":e.updateKeyValueArray},null,8,["modelValue","reference-model","onCode::modelDataUpdated"])):"json"===e.activeTab?(c(),w(M,{key:2,modelValue:e.modelData,"onUpdate:modelValue":a[7]||(a[7]=function(a){return e.modelData=a}),"reference-model":e.referenceModel||{},"onCode::modelDataUpdated":e.updateKeyValueArray},null,8,["modelValue","reference-model","onCode::modelDataUpdated"])):U("",!0)],2)};export{g as default}; \ No newline at end of file diff --git a/dist/KeyValuePairs-4dc07e4e.js b/dist/KeyValuePairs-4dc07e4e.js deleted file mode 100644 index b176319..0000000 --- a/dist/KeyValuePairs-4dc07e4e.js +++ /dev/null @@ -1 +0,0 @@ -import{m as e,v as a,_ as l,c as r,a as t,b as n}from"./entry-f11f5a48.js";import{t as o}from"./tabs-693e2862.js";import{s as i}from"./size-d02f66d9.js";import{defineComponent as u,defineAsyncComponent as d,resolveComponent as s,openBlock as c,createElementBlock as m,normalizeClass as p,createElementVNode as f,createTextVNode as y,toDisplayString as V,createVNode as v,Fragment as h,renderList as k,createBlock as b,withCtx as w,withModifiers as P,createCommentVNode as U}from"vue";var g=u({name:"KeyValuePairs",components:{KeyValuePairItems:d((function(){return import("./KeyValuePairItems-4652bb38.js").then((function(e){return e.default}))}))},mixins:[e,o,a,i],props:{schema:{type:Object,default:function(){return{}}},fieldName:{type:String,default:""},modelValue:{type:Object,default:function(){return{}}},errors:{type:Object,default:function(){return{}}},isLastChild:{type:Boolean,default:!1}},data:function(){return{newData:null,updatePass:0,keyValueArray:null,referencekeyValueArray:null,newKey:"",newValue:null}},computed:{additionalProperties:function(){return this.schema.additionalProperties||{}}},watch:{keyValueArray:{immediate:!0,deep:!0,handler:function(e,a){if(null!=a){var l=JSON.stringify(e);this.modelData=this.reconstructObject(JSON.parse(l))}}},activeTab:function(){this.initKeyValueArray(),this.initReferenceKeyValueArray()},modelValue:{deep:!0,immediate:!0,handler:function(e,a){JSON.stringify(e)!==JSON.stringify(a)&&this.initKeyValueArray(),this.initReferenceKeyValueArray()}}},methods:{initKeyValueArray:function(){var e=this;this.keyValueArray=Object.keys(this.modelValue).map((function(a){return{key:a,value:e.modelValue[a]||null}}))},initReferenceKeyValueArray:function(){var e=this;this.referencekeyValueArray=Object.keys(this.referenceModel).map((function(a){return{key:a,value:e.referenceModel[a]||null}}))},updateKeyValueArray:function(e){this.keyValueArray=Object.keys(e).map((function(a){return{key:a,value:e[a]}}))},reconstructObject:function(e){var a={};return e.forEach((function(e){a=Object.assign({},l({},a),r({},"".concat(e.key),e.value))})),a},addProp:function(e){var a=this;return t(n().mark((function l(){var r;return n().wrap((function(l){for(;;)switch(l.prev=l.next){case 0:return l.next=2,e();case 2:r=l.sent,r.valid&&(a.keyValueArray.push({key:a.newKey,value:a.newValue}),a.newKey="",a.newValue=null,a.updatePass+=1);case 5:case"end":return l.stop()}}),l)})))()},deleteProp:function(e){this.keyValueArray.splice(e,1),this.updatePass+=1}}}),A={class:"nested-header mb-5"},K={class:"is-flex is-semi-normal"},j=f("div",{class:"collaps-icon is-disabled"},[f("i",{"aria-hidden":"true",class:"fa fa-minus"})],-1),C=["onClick"],D=[f("span",{class:"icon"},[f("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6"},[f("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 4.5v15m7.5-7.5h-15"})])],-1)];g.render=function(e,a,r,t,n,o){var i=s("component-errors"),u=s("tabs"),d=s("key-value-pair-items"),g=s("simple-input"),O=s("v-field"),x=s("object-form-wrapper"),q=s("key-value-pairs",!0),N=s("array-input"),_=s("v-form"),T=s("yaml-form"),M=s("json-form");return c(),m("div",{class:p(["ac-nested-elements key-value-pairs is-flex is-flex-direction-column gap-8",{"stop-line":e.isLastChild}])},[f("div",A,[f("h6",K,[j,y(" "+V(e.schema.title||"Array Item Description"),1),v(i,{errors:e.calcFormErrors(e.errors,e.fieldName)},null,8,["errors"])]),v(u,{modelValue:e.activeTab,"onUpdate:modelValue":a[0]||(a[0]=function(a){return e.activeTab=a})},null,8,["modelValue"])]),"form"===e.activeTab?(c(),m(h,{key:0},[(c(!0),m(h,null,k(e.keyValueArray,(function(a,l){return c(),m("div",{key:"".concat(l,"-").concat(e.schema.title,"-form")},[v(d,{modelValue:e.keyValueArray[l],"onUpdate:modelValue":function(a){return e.keyValueArray[l]=a},"field-name":e.fieldName,"reference-model":e.referencekeyValueArray[l]||{},index:l,schema:e.schema,"additional-properties":e.additionalProperties,errors:e.errors,onDeleteKeyValue:e.deleteProp},null,8,["modelValue","onUpdate:modelValue","field-name","reference-model","index","schema","additional-properties","errors","onDeleteKeyValue"])])})),128)),(c(),b(_,{id:"".concat(e.schema.title.replace(/ /g,"-"),"-new-observer"),key:e.updatePass,as:"div",class:"key-value-save"},{default:w((function(r){var t=r.validate,n=r.errors;return[v(O,{id:"".concat(e.schema.title.replace(/ /g,"-"),"-key-provider"),modelValue:e.newKey,"onUpdate:modelValue":a[1]||(a[1]=function(a){return e.newKey=a}),rules:"required",name:"newKey",label:"".concat(e.schema.title," new key"),as:"div"},{default:w((function(e){var a=e.field,r=e.handleChange,t=e.errors,n=e.meta;return[v(g,{"model-value":a.value,schema:{title:"Key",type:"string",ui:{tag:"input",type:"text"}},type:"string","validation-ob":l({errors:t},n),"reference-model":"","onUpdate:modelValue":r},null,8,["model-value","validation-ob","onUpdate:modelValue"])]})),_:1},8,["id","modelValue","label"]),"object"===e.additionalProperties.type?(c(),b(O,{key:0,id:"".concat(e.schema.title.replace(/ /g,"-"),"-value-provider"),modelValue:e.newValue,"onUpdate:modelValue":a[2]||(a[2]=function(a){return e.newValue=a}),rules:"required",name:"newValue",label:"".concat(e.schema.title," new value"),as:""},{default:w((function(a){var l=a.field,r=a.handleChange;return[v(x,{"field-name":"newValue","model-value":l.value,"is-last-child":!0,"is-self-required":!0,schema:e.additionalProperties,type:e.additionalProperties.type,errors:n,"reference-model":{},"onUpdate:modelValue":r},null,8,["model-value","schema","type","errors","onUpdate:modelValue"])]})),_:2},1032,["id","modelValue","label"])):"key-value-pairs"===e.additionalProperties.type?(c(),b(O,{key:1,id:"".concat(e.schema.title.replace(/ /g,"-"),"-value-provider"),modelValue:e.newValue,"onUpdate:modelValue":a[3]||(a[3]=function(a){return e.newValue=a}),rules:"required",name:"newValue",label:"".concat(e.schema.title," new value"),as:""},{default:w((function(a){var l=a.field,r=a.handleChange;return[v(q,{"field-name":"newValue","model-value":l.value,"is-last-child":!0,schema:e.additionalProperties,type:e.additionalProperties.type,errors:n,"reference-model":{},"onUpdate:modelValue":r},null,8,["model-value","schema","type","errors","onUpdate:modelValue"])]})),_:2},1032,["id","modelValue","label"])):"array"===e.additionalProperties.type?(c(),b(O,{key:2,id:"".concat(e.schema.title.replace(/ /g,"-"),"-value-provider"),modelValue:e.newValue,"onUpdate:modelValue":a[4]||(a[4]=function(a){return e.newValue=a}),rules:"required",name:"newValue",label:"".concat(e.schema.title," new value"),as:""},{default:w((function(a){var l=a.field,r=a.handleChange;return[v(N,{"field-name":"newValue","model-value":l.value,"is-last-child":!0,schema:e.additionalProperties,type:e.additionalProperties.type,errors:n,"reference-model":[],"onUpdate:modelValue":r},null,8,["model-value","schema","type","errors","onUpdate:modelValue"])]})),_:2},1032,["id","modelValue","label"])):(c(),b(O,{key:3,id:"".concat(e.schema.title.replace(/ /g,"-"),"-value-provider"),modelValue:e.newValue,"onUpdate:modelValue":a[5]||(a[5]=function(a){return e.newValue=a}),rules:"required",name:"newValue",label:"".concat(e.schema.title," new value"),as:""},{default:w((function(a){var r=a.field,t=a.handleChange,n=a.errors,o=a.meta;return[v(g,{"model-value":r.value,schema:e.additionalProperties,type:e.additionalProperties.type,"validation-ob":l({errors:n},o),"reference-model":"","onUpdate:modelValue":t},null,8,["model-value","schema","type","validation-ob","onUpdate:modelValue"])]})),_:1},8,["id","modelValue","label"])),f("button",{class:"button ac-button is-medium is-square is-primary is-outlined",onClick:P((function(a){return e.addProp(t)}),["prevent"])},D,8,C)]})),_:1},8,["id"]))],64)):U("",!0),"yaml"===e.activeTab?(c(),b(T,{key:1,modelValue:e.modelData,"onUpdate:modelValue":a[6]||(a[6]=function(a){return e.modelData=a}),"reference-model":e.referenceModel||{},"onCode::modelDataUpdated":e.updateKeyValueArray},null,8,["modelValue","reference-model","onCode::modelDataUpdated"])):"json"===e.activeTab?(c(),b(M,{key:2,modelValue:e.modelData,"onUpdate:modelValue":a[7]||(a[7]=function(a){return e.modelData=a}),"reference-model":e.referenceModel||{},"onCode::modelDataUpdated":e.updateKeyValueArray},null,8,["modelValue","reference-model","onCode::modelDataUpdated"])):U("",!0)],2)};export{g as default}; \ No newline at end of file diff --git a/dist/KeyValuePairs-521ae540.js b/dist/KeyValuePairs-521ae540.js deleted file mode 100644 index f3e4609..0000000 --- a/dist/KeyValuePairs-521ae540.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";var e=require("./entry-5480607d.js"),a=require("./tabs-e549bda7.js"),l=require("./size-27a9a503.js"),t=require("vue"),r=t.defineComponent({name:"KeyValuePairs",components:{KeyValuePairItems:t.defineAsyncComponent((function(){return Promise.resolve().then((function(){return require("./KeyValuePairItems-c5d5aad6.js")})).then((function(e){return e.default}))}))},mixins:[e.m,a.t,e.v,l.s],props:{schema:{type:Object,default:function(){return{}}},fieldName:{type:String,default:""},modelValue:{type:Object,default:function(){return{}}},errors:{type:Object,default:function(){return{}}},isLastChild:{type:Boolean,default:!1}},data:function(){return{newData:null,updatePass:0,keyValueArray:null,referencekeyValueArray:null,newKey:"",newValue:null}},computed:{additionalProperties:function(){return this.schema.additionalProperties||{}}},watch:{keyValueArray:{immediate:!0,deep:!0,handler:function(e,a){if(null!=a){var l=JSON.stringify(e);this.modelData=this.reconstructObject(JSON.parse(l))}}},activeTab:function(){this.initKeyValueArray(),this.initReferenceKeyValueArray()},modelValue:{deep:!0,immediate:!0,handler:function(e,a){JSON.stringify(e)!==JSON.stringify(a)&&this.initKeyValueArray(),this.initReferenceKeyValueArray()}}},methods:{initKeyValueArray:function(){var e=this;this.keyValueArray=Object.keys(this.modelValue).map((function(a){return{key:a,value:e.modelValue[a]||null}}))},initReferenceKeyValueArray:function(){var e=this;this.referencekeyValueArray=Object.keys(this.referenceModel).map((function(a){return{key:a,value:e.referenceModel[a]||null}}))},updateKeyValueArray:function(e){this.keyValueArray=Object.keys(e).map((function(a){return{key:a,value:e[a]}}))},reconstructObject:function(a){var l={};return a.forEach((function(a){l=Object.assign({},e._({},l),e.c({},"".concat(a.key),a.value))})),l},addProp:function(a){var l=this;return e.a(e.b().mark((function t(){var r;return e.b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,a();case 2:r=e.sent,r.valid&&(l.keyValueArray.push({key:l.newKey,value:l.newValue}),l.newKey="",l.newValue=null,l.updatePass+=1);case 5:case"end":return e.stop()}}),t)})))()},deleteProp:function(e){this.keyValueArray.splice(e,1),this.updatePass+=1}}}),n={class:"nested-header mb-5"},o={class:"is-flex is-semi-normal"},i=t.createElementVNode("div",{class:"collaps-icon is-disabled"},[t.createElementVNode("i",{"aria-hidden":"true",class:"fa fa-minus"})],-1),d=["onClick"],u=[t.createElementVNode("span",{class:"icon"},[t.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6"},[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 4.5v15m7.5-7.5h-15"})])],-1)];r.render=function(a,l,r,c,s,m){var p=t.resolveComponent("component-errors"),y=t.resolveComponent("tabs"),f=t.resolveComponent("key-value-pair-items"),V=t.resolveComponent("simple-input"),v=t.resolveComponent("v-field"),h=t.resolveComponent("object-form-wrapper"),k=t.resolveComponent("key-value-pairs",!0),w=t.resolveComponent("array-input"),b=t.resolveComponent("v-form"),C=t.resolveComponent("yaml-form"),N=t.resolveComponent("json-form");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["ac-nested-elements key-value-pairs is-flex is-flex-direction-column gap-8",{"stop-line":a.isLastChild}])},[t.createElementVNode("div",n,[t.createElementVNode("h6",o,[i,t.createTextVNode(" "+t.toDisplayString(a.schema.title||"Array Item Description"),1),t.createVNode(p,{errors:a.calcFormErrors(a.errors,a.fieldName)},null,8,["errors"])]),t.createVNode(y,{modelValue:a.activeTab,"onUpdate:modelValue":l[0]||(l[0]=function(e){return a.activeTab=e})},null,8,["modelValue"])]),"form"===a.activeTab?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(a.keyValueArray,(function(e,l){return t.openBlock(),t.createElementBlock("div",{key:"".concat(l,"-").concat(a.schema.title,"-form")},[t.createVNode(f,{modelValue:a.keyValueArray[l],"onUpdate:modelValue":function(e){return a.keyValueArray[l]=e},"field-name":a.fieldName,"reference-model":a.referencekeyValueArray[l]||{},index:l,schema:a.schema,"additional-properties":a.additionalProperties,errors:a.errors,onDeleteKeyValue:a.deleteProp},null,8,["modelValue","onUpdate:modelValue","field-name","reference-model","index","schema","additional-properties","errors","onDeleteKeyValue"])])})),128)),(t.openBlock(),t.createBlock(b,{id:"".concat(a.schema.title.replace(/ /g,"-"),"-new-observer"),key:a.updatePass,as:"div",class:"key-value-save"},{default:t.withCtx((function(r){var n=r.validate,o=r.errors;return[t.createVNode(v,{id:"".concat(a.schema.title.replace(/ /g,"-"),"-key-provider"),modelValue:a.newKey,"onUpdate:modelValue":l[1]||(l[1]=function(e){return a.newKey=e}),rules:"required",name:"newKey",label:"".concat(a.schema.title," new key"),as:"div"},{default:t.withCtx((function(a){var l=a.field,r=a.handleChange,n=a.errors,o=a.meta;return[t.createVNode(V,{"model-value":l.value,schema:{title:"Key",type:"string",ui:{tag:"input",type:"text"}},type:"string","validation-ob":e._({errors:n},o),"reference-model":"","onUpdate:modelValue":r},null,8,["model-value","validation-ob","onUpdate:modelValue"])]})),_:1},8,["id","modelValue","label"]),"object"===a.additionalProperties.type?(t.openBlock(),t.createBlock(v,{key:0,id:"".concat(a.schema.title.replace(/ /g,"-"),"-value-provider"),modelValue:a.newValue,"onUpdate:modelValue":l[2]||(l[2]=function(e){return a.newValue=e}),rules:"required",name:"newValue",label:"".concat(a.schema.title," new value"),as:""},{default:t.withCtx((function(e){var l=e.field,r=e.handleChange;return[t.createVNode(h,{"field-name":"newValue","model-value":l.value,"is-last-child":!0,"is-self-required":!0,schema:a.additionalProperties,type:a.additionalProperties.type,errors:o,"reference-model":{},"onUpdate:modelValue":r},null,8,["model-value","schema","type","errors","onUpdate:modelValue"])]})),_:2},1032,["id","modelValue","label"])):"key-value-pairs"===a.additionalProperties.type?(t.openBlock(),t.createBlock(v,{key:1,id:"".concat(a.schema.title.replace(/ /g,"-"),"-value-provider"),modelValue:a.newValue,"onUpdate:modelValue":l[3]||(l[3]=function(e){return a.newValue=e}),rules:"required",name:"newValue",label:"".concat(a.schema.title," new value"),as:""},{default:t.withCtx((function(e){var l=e.field,r=e.handleChange;return[t.createVNode(k,{"field-name":"newValue","model-value":l.value,"is-last-child":!0,schema:a.additionalProperties,type:a.additionalProperties.type,errors:o,"reference-model":{},"onUpdate:modelValue":r},null,8,["model-value","schema","type","errors","onUpdate:modelValue"])]})),_:2},1032,["id","modelValue","label"])):"array"===a.additionalProperties.type?(t.openBlock(),t.createBlock(v,{key:2,id:"".concat(a.schema.title.replace(/ /g,"-"),"-value-provider"),modelValue:a.newValue,"onUpdate:modelValue":l[4]||(l[4]=function(e){return a.newValue=e}),rules:"required",name:"newValue",label:"".concat(a.schema.title," new value"),as:""},{default:t.withCtx((function(e){var l=e.field,r=e.handleChange;return[t.createVNode(w,{"field-name":"newValue","model-value":l.value,"is-last-child":!0,schema:a.additionalProperties,type:a.additionalProperties.type,errors:o,"reference-model":[],"onUpdate:modelValue":r},null,8,["model-value","schema","type","errors","onUpdate:modelValue"])]})),_:2},1032,["id","modelValue","label"])):(t.openBlock(),t.createBlock(v,{key:3,id:"".concat(a.schema.title.replace(/ /g,"-"),"-value-provider"),modelValue:a.newValue,"onUpdate:modelValue":l[5]||(l[5]=function(e){return a.newValue=e}),rules:"required",name:"newValue",label:"".concat(a.schema.title," new value"),as:""},{default:t.withCtx((function(l){var r=l.field,n=l.handleChange,o=l.errors,i=l.meta;return[t.createVNode(V,{"model-value":r.value,schema:a.additionalProperties,type:a.additionalProperties.type,"validation-ob":e._({errors:o},i),"reference-model":"","onUpdate:modelValue":n},null,8,["model-value","schema","type","validation-ob","onUpdate:modelValue"])]})),_:1},8,["id","modelValue","label"])),t.createElementVNode("button",{class:"button ac-button is-medium is-square is-primary is-outlined",onClick:t.withModifiers((function(e){return a.addProp(n)}),["prevent"])},u,8,d)]})),_:1},8,["id"]))],64)):t.createCommentVNode("",!0),"yaml"===a.activeTab?(t.openBlock(),t.createBlock(C,{key:1,modelValue:a.modelData,"onUpdate:modelValue":l[6]||(l[6]=function(e){return a.modelData=e}),"reference-model":a.referenceModel||{},"onCode::modelDataUpdated":a.updateKeyValueArray},null,8,["modelValue","reference-model","onCode::modelDataUpdated"])):"json"===a.activeTab?(t.openBlock(),t.createBlock(N,{key:2,modelValue:a.modelData,"onUpdate:modelValue":l[7]||(l[7]=function(e){return a.modelData=e}),"reference-model":a.referenceModel||{},"onCode::modelDataUpdated":a.updateKeyValueArray},null,8,["modelValue","reference-model","onCode::modelDataUpdated"])):t.createCommentVNode("",!0)],2)},exports.default=r; \ No newline at end of file diff --git a/dist/KeyValuePairs-5271af36.js b/dist/KeyValuePairs-5271af36.js deleted file mode 100644 index 219f9c2..0000000 --- a/dist/KeyValuePairs-5271af36.js +++ /dev/null @@ -1 +0,0 @@ -import{m as e,v as a,_ as l,c as r,a as t,b as n}from"./entry-2ace4904.js";import{t as o}from"./tabs-ae6e6a83.js";import{s as i}from"./size-d02f66d9.js";import{defineComponent as u,defineAsyncComponent as d,resolveComponent as s,openBlock as c,createElementBlock as m,normalizeClass as p,createElementVNode as f,createTextVNode as y,toDisplayString as V,createVNode as v,Fragment as h,renderList as k,createBlock as w,withCtx as b,withModifiers as P,createCommentVNode as U}from"vue";var g=u({name:"KeyValuePairs",components:{KeyValuePairItems:d((function(){return import("./KeyValuePairItems-20e93397.js").then((function(e){return e.default}))}))},mixins:[e,o,a,i],props:{schema:{type:Object,default:function(){return{}}},fieldName:{type:String,default:""},modelValue:{type:Object,default:function(){return{}}},errors:{type:Object,default:function(){return{}}},isLastChild:{type:Boolean,default:!1}},data:function(){return{newData:null,updatePass:0,keyValueArray:null,referencekeyValueArray:null,newKey:"",newValue:null}},computed:{additionalProperties:function(){return this.schema.additionalProperties||{}}},watch:{keyValueArray:{immediate:!0,deep:!0,handler:function(e,a){if(null!=a){var l=JSON.stringify(e);this.modelData=this.reconstructObject(JSON.parse(l))}}},activeTab:function(){this.initKeyValueArray(),this.initReferenceKeyValueArray()},modelValue:{deep:!0,immediate:!0,handler:function(e,a){JSON.stringify(e)!==JSON.stringify(a)&&this.initKeyValueArray(),this.initReferenceKeyValueArray()}}},methods:{initKeyValueArray:function(){var e=this;this.keyValueArray=Object.keys(this.modelValue).map((function(a){return{key:a,value:e.modelValue[a]||null}}))},initReferenceKeyValueArray:function(){var e=this;this.referencekeyValueArray=Object.keys(this.referenceModel).map((function(a){return{key:a,value:e.referenceModel[a]||null}}))},updateKeyValueArray:function(e){this.keyValueArray=Object.keys(e).map((function(a){return{key:a,value:e[a]}}))},reconstructObject:function(e){var a={};return e.forEach((function(e){a=Object.assign({},l({},a),r({},"".concat(e.key),e.value))})),a},addProp:function(e){var a=this;return t(n().mark((function l(){var r;return n().wrap((function(l){for(;;)switch(l.prev=l.next){case 0:return l.next=2,e();case 2:r=l.sent,r.valid&&(a.keyValueArray.push({key:a.newKey,value:a.newValue}),a.newKey="",a.newValue=null,a.updatePass+=1);case 5:case"end":return l.stop()}}),l)})))()},deleteProp:function(e){this.keyValueArray.splice(e,1),this.updatePass+=1}}}),A={class:"nested-header mb-5"},K={class:"is-flex is-semi-normal"},j=f("div",{class:"collaps-icon is-disabled"},[f("i",{"aria-hidden":"true",class:"fa fa-minus"})],-1),C=["onClick"],D=[f("span",{class:"icon"},[f("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6"},[f("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 4.5v15m7.5-7.5h-15"})])],-1)];g.render=function(e,a,r,t,n,o){var i=s("component-errors"),u=s("tabs"),d=s("key-value-pair-items"),g=s("simple-input"),O=s("v-field"),x=s("object-form-wrapper"),q=s("key-value-pairs",!0),N=s("array-input"),_=s("v-form"),T=s("yaml-form"),M=s("json-form");return c(),m("div",{class:p(["ac-nested-elements key-value-pairs is-flex is-flex-direction-column gap-8",{"stop-line":e.isLastChild}])},[f("div",A,[f("h6",K,[j,y(" "+V(e.schema.title||"Array Item Description"),1),v(i,{errors:e.calcFormErrors(e.errors,e.fieldName)},null,8,["errors"])]),v(u,{modelValue:e.activeTab,"onUpdate:modelValue":a[0]||(a[0]=function(a){return e.activeTab=a})},null,8,["modelValue"])]),"form"===e.activeTab?(c(),m(h,{key:0},[(c(!0),m(h,null,k(e.keyValueArray,(function(a,l){return c(),m("div",{key:"".concat(l,"-").concat(e.schema.title,"-form")},[v(d,{modelValue:e.keyValueArray[l],"onUpdate:modelValue":function(a){return e.keyValueArray[l]=a},"field-name":e.fieldName,"reference-model":e.referencekeyValueArray[l]||{},index:l,schema:e.schema,"additional-properties":e.additionalProperties,errors:e.errors,onDeleteKeyValue:e.deleteProp},null,8,["modelValue","onUpdate:modelValue","field-name","reference-model","index","schema","additional-properties","errors","onDeleteKeyValue"])])})),128)),(c(),w(_,{id:"".concat(e.schema.title.replace(/ /g,"-"),"-new-observer"),key:e.updatePass,as:"div",class:"key-value-save"},{default:b((function(r){var t=r.validate,n=r.errors;return[v(O,{id:"".concat(e.schema.title.replace(/ /g,"-"),"-key-provider"),modelValue:e.newKey,"onUpdate:modelValue":a[1]||(a[1]=function(a){return e.newKey=a}),rules:"required",name:"newKey",label:"".concat(e.schema.title," new key"),as:"div"},{default:b((function(e){var a=e.field,r=e.handleChange,t=e.errors,n=e.meta;return[v(g,{"model-value":a.value,schema:{title:"Key",type:"string",ui:{tag:"input",type:"text"}},type:"string","validation-ob":l({errors:t},n),"reference-model":"","onUpdate:modelValue":r},null,8,["model-value","validation-ob","onUpdate:modelValue"])]})),_:1},8,["id","modelValue","label"]),"object"===e.additionalProperties.type?(c(),w(O,{key:0,id:"".concat(e.schema.title.replace(/ /g,"-"),"-value-provider"),modelValue:e.newValue,"onUpdate:modelValue":a[2]||(a[2]=function(a){return e.newValue=a}),rules:"required",name:"newValue",label:"".concat(e.schema.title," new value"),as:""},{default:b((function(a){var l=a.field,r=a.handleChange;return[v(x,{"field-name":"newValue","model-value":l.value,"is-last-child":!0,"is-self-required":!0,schema:e.additionalProperties,type:e.additionalProperties.type,errors:n,"reference-model":{},"onUpdate:modelValue":r},null,8,["model-value","schema","type","errors","onUpdate:modelValue"])]})),_:2},1032,["id","modelValue","label"])):"key-value-pairs"===e.additionalProperties.type?(c(),w(O,{key:1,id:"".concat(e.schema.title.replace(/ /g,"-"),"-value-provider"),modelValue:e.newValue,"onUpdate:modelValue":a[3]||(a[3]=function(a){return e.newValue=a}),rules:"required",name:"newValue",label:"".concat(e.schema.title," new value"),as:""},{default:b((function(a){var l=a.field,r=a.handleChange;return[v(q,{"field-name":"newValue","model-value":l.value,"is-last-child":!0,schema:e.additionalProperties,type:e.additionalProperties.type,errors:n,"reference-model":{},"onUpdate:modelValue":r},null,8,["model-value","schema","type","errors","onUpdate:modelValue"])]})),_:2},1032,["id","modelValue","label"])):"array"===e.additionalProperties.type?(c(),w(O,{key:2,id:"".concat(e.schema.title.replace(/ /g,"-"),"-value-provider"),modelValue:e.newValue,"onUpdate:modelValue":a[4]||(a[4]=function(a){return e.newValue=a}),rules:"required",name:"newValue",label:"".concat(e.schema.title," new value"),as:""},{default:b((function(a){var l=a.field,r=a.handleChange;return[v(N,{"field-name":"newValue","model-value":l.value,"is-last-child":!0,schema:e.additionalProperties,type:e.additionalProperties.type,errors:n,"reference-model":[],"onUpdate:modelValue":r},null,8,["model-value","schema","type","errors","onUpdate:modelValue"])]})),_:2},1032,["id","modelValue","label"])):(c(),w(O,{key:3,id:"".concat(e.schema.title.replace(/ /g,"-"),"-value-provider"),modelValue:e.newValue,"onUpdate:modelValue":a[5]||(a[5]=function(a){return e.newValue=a}),rules:"required",name:"newValue",label:"".concat(e.schema.title," new value"),as:""},{default:b((function(a){var r=a.field,t=a.handleChange,n=a.errors,o=a.meta;return[v(g,{"model-value":r.value,schema:e.additionalProperties,type:e.additionalProperties.type,"validation-ob":l({errors:n},o),"reference-model":"","onUpdate:modelValue":t},null,8,["model-value","schema","type","validation-ob","onUpdate:modelValue"])]})),_:1},8,["id","modelValue","label"])),f("button",{class:"button ac-button is-medium is-square is-primary is-outlined",onClick:P((function(a){return e.addProp(t)}),["prevent"])},D,8,C)]})),_:1},8,["id"]))],64)):U("",!0),"yaml"===e.activeTab?(c(),w(T,{key:1,modelValue:e.modelData,"onUpdate:modelValue":a[6]||(a[6]=function(a){return e.modelData=a}),"reference-model":e.referenceModel||{},"onCode::modelDataUpdated":e.updateKeyValueArray},null,8,["modelValue","reference-model","onCode::modelDataUpdated"])):"json"===e.activeTab?(c(),w(M,{key:2,modelValue:e.modelData,"onUpdate:modelValue":a[7]||(a[7]=function(a){return e.modelData=a}),"reference-model":e.referenceModel||{},"onCode::modelDataUpdated":e.updateKeyValueArray},null,8,["modelValue","reference-model","onCode::modelDataUpdated"])):U("",!0)],2)};export{g as default}; \ No newline at end of file diff --git a/dist/KeyValuePairs-6e561841.js b/dist/KeyValuePairs-6e561841.js deleted file mode 100644 index 37d72f8..0000000 --- a/dist/KeyValuePairs-6e561841.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";var e=require("./entry-c1fde67d.js"),a=require("./tabs-f0820640.js"),l=require("./size-27a9a503.js"),t=require("vue"),r=t.defineComponent({name:"KeyValuePairs",components:{KeyValuePairItems:t.defineAsyncComponent((function(){return Promise.resolve().then((function(){return require("./KeyValuePairItems-55bcab7e.js")})).then((function(e){return e.default}))}))},mixins:[e.m,a.t,e.v,l.s],props:{schema:{type:Object,default:function(){return{}}},fieldName:{type:String,default:""},modelValue:{type:Object,default:function(){return{}}},errors:{type:Object,default:function(){return{}}},isLastChild:{type:Boolean,default:!1}},data:function(){return{newData:null,updatePass:0,keyValueArray:null,referencekeyValueArray:null,newKey:"",newValue:null}},computed:{additionalProperties:function(){return this.schema.additionalProperties||{}}},watch:{keyValueArray:{immediate:!0,deep:!0,handler:function(e,a){if(null!=a){var l=JSON.stringify(e);this.modelData=this.reconstructObject(JSON.parse(l))}}},activeTab:function(){this.initKeyValueArray(),this.initReferenceKeyValueArray()},modelValue:{deep:!0,immediate:!0,handler:function(e,a){JSON.stringify(e)!==JSON.stringify(a)&&this.initKeyValueArray(),this.initReferenceKeyValueArray()}}},methods:{initKeyValueArray:function(){var e=this;this.keyValueArray=Object.keys(this.modelValue).map((function(a){return{key:a,value:e.modelValue[a]||null}}))},initReferenceKeyValueArray:function(){var e=this;this.referencekeyValueArray=Object.keys(this.referenceModel).map((function(a){return{key:a,value:e.referenceModel[a]||null}}))},updateKeyValueArray:function(e){this.keyValueArray=Object.keys(e).map((function(a){return{key:a,value:e[a]}}))},reconstructObject:function(a){var l={};return a.forEach((function(a){l=Object.assign({},e._({},l),e.c({},"".concat(a.key),a.value))})),l},addProp:function(a){var l=this;return e.a(e.b().mark((function t(){var r;return e.b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,a();case 2:r=e.sent,r.valid&&(l.keyValueArray.push({key:l.newKey,value:l.newValue}),l.newKey="",l.newValue=null,l.updatePass+=1);case 5:case"end":return e.stop()}}),t)})))()},deleteProp:function(e){this.keyValueArray.splice(e,1),this.updatePass+=1}}}),n={class:"nested-header mb-5"},o={class:"is-flex is-semi-normal"},i=t.createElementVNode("div",{class:"collaps-icon is-disabled"},[t.createElementVNode("i",{"aria-hidden":"true",class:"fa fa-minus"})],-1),d=["onClick"],u=[t.createElementVNode("span",{class:"icon"},[t.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6"},[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 4.5v15m7.5-7.5h-15"})])],-1)];r.render=function(a,l,r,c,s,m){var p=t.resolveComponent("component-errors"),f=t.resolveComponent("tabs"),y=t.resolveComponent("key-value-pair-items"),V=t.resolveComponent("simple-input"),v=t.resolveComponent("v-field"),h=t.resolveComponent("object-form-wrapper"),k=t.resolveComponent("key-value-pairs",!0),w=t.resolveComponent("array-input"),b=t.resolveComponent("v-form"),C=t.resolveComponent("yaml-form"),N=t.resolveComponent("json-form");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["ac-nested-elements key-value-pairs is-flex is-flex-direction-column gap-8",{"stop-line":a.isLastChild}])},[t.createElementVNode("div",n,[t.createElementVNode("h6",o,[i,t.createTextVNode(" "+t.toDisplayString(a.schema.title||"Array Item Description"),1),t.createVNode(p,{errors:a.calcFormErrors(a.errors,a.fieldName)},null,8,["errors"])]),t.createVNode(f,{modelValue:a.activeTab,"onUpdate:modelValue":l[0]||(l[0]=function(e){return a.activeTab=e})},null,8,["modelValue"])]),"form"===a.activeTab?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(a.keyValueArray,(function(e,l){return t.openBlock(),t.createElementBlock("div",{key:"".concat(l,"-").concat(a.schema.title,"-form")},[t.createVNode(y,{modelValue:a.keyValueArray[l],"onUpdate:modelValue":function(e){return a.keyValueArray[l]=e},"field-name":a.fieldName,"reference-model":a.referencekeyValueArray[l]||{},index:l,schema:a.schema,"additional-properties":a.additionalProperties,errors:a.errors,onDeleteKeyValue:a.deleteProp},null,8,["modelValue","onUpdate:modelValue","field-name","reference-model","index","schema","additional-properties","errors","onDeleteKeyValue"])])})),128)),(t.openBlock(),t.createBlock(b,{id:"".concat(a.schema.title.replace(/ /g,"-"),"-new-observer"),key:a.updatePass,as:"div",class:"key-value-save"},{default:t.withCtx((function(r){var n=r.validate,o=r.errors;return[t.createVNode(v,{id:"".concat(a.schema.title.replace(/ /g,"-"),"-key-provider"),modelValue:a.newKey,"onUpdate:modelValue":l[1]||(l[1]=function(e){return a.newKey=e}),rules:"required",name:"newKey",label:"".concat(a.schema.title," new key"),as:"div"},{default:t.withCtx((function(a){var l=a.field,r=a.handleChange,n=a.errors,o=a.meta;return[t.createVNode(V,{"model-value":l.value,schema:{title:"Key",type:"string",ui:{tag:"input",type:"text"}},type:"string","validation-ob":e._({errors:n},o),"reference-model":"","onUpdate:modelValue":r},null,8,["model-value","validation-ob","onUpdate:modelValue"])]})),_:1},8,["id","modelValue","label"]),"object"===a.additionalProperties.type?(t.openBlock(),t.createBlock(v,{key:0,id:"".concat(a.schema.title.replace(/ /g,"-"),"-value-provider"),modelValue:a.newValue,"onUpdate:modelValue":l[2]||(l[2]=function(e){return a.newValue=e}),rules:"required",name:"newValue",label:"".concat(a.schema.title," new value"),as:""},{default:t.withCtx((function(e){var l=e.field,r=e.handleChange;return[t.createVNode(h,{"field-name":"newValue","model-value":l.value,"is-last-child":!0,"is-self-required":!0,schema:a.additionalProperties,type:a.additionalProperties.type,errors:o,"reference-model":{},"onUpdate:modelValue":r},null,8,["model-value","schema","type","errors","onUpdate:modelValue"])]})),_:2},1032,["id","modelValue","label"])):"key-value-pairs"===a.additionalProperties.type?(t.openBlock(),t.createBlock(v,{key:1,id:"".concat(a.schema.title.replace(/ /g,"-"),"-value-provider"),modelValue:a.newValue,"onUpdate:modelValue":l[3]||(l[3]=function(e){return a.newValue=e}),rules:"required",name:"newValue",label:"".concat(a.schema.title," new value"),as:""},{default:t.withCtx((function(e){var l=e.field,r=e.handleChange;return[t.createVNode(k,{"field-name":"newValue","model-value":l.value,"is-last-child":!0,schema:a.additionalProperties,type:a.additionalProperties.type,errors:o,"reference-model":{},"onUpdate:modelValue":r},null,8,["model-value","schema","type","errors","onUpdate:modelValue"])]})),_:2},1032,["id","modelValue","label"])):"array"===a.additionalProperties.type?(t.openBlock(),t.createBlock(v,{key:2,id:"".concat(a.schema.title.replace(/ /g,"-"),"-value-provider"),modelValue:a.newValue,"onUpdate:modelValue":l[4]||(l[4]=function(e){return a.newValue=e}),rules:"required",name:"newValue",label:"".concat(a.schema.title," new value"),as:""},{default:t.withCtx((function(e){var l=e.field,r=e.handleChange;return[t.createVNode(w,{"field-name":"newValue","model-value":l.value,"is-last-child":!0,schema:a.additionalProperties,type:a.additionalProperties.type,errors:o,"reference-model":[],"onUpdate:modelValue":r},null,8,["model-value","schema","type","errors","onUpdate:modelValue"])]})),_:2},1032,["id","modelValue","label"])):(t.openBlock(),t.createBlock(v,{key:3,id:"".concat(a.schema.title.replace(/ /g,"-"),"-value-provider"),modelValue:a.newValue,"onUpdate:modelValue":l[5]||(l[5]=function(e){return a.newValue=e}),rules:"required",name:"newValue",label:"".concat(a.schema.title," new value"),as:""},{default:t.withCtx((function(l){var r=l.field,n=l.handleChange,o=l.errors,i=l.meta;return[t.createVNode(V,{"model-value":r.value,schema:a.additionalProperties,type:a.additionalProperties.type,"validation-ob":e._({errors:o},i),"reference-model":"","onUpdate:modelValue":n},null,8,["model-value","schema","type","validation-ob","onUpdate:modelValue"])]})),_:1},8,["id","modelValue","label"])),t.createElementVNode("button",{class:"button ac-button is-medium is-square is-primary is-outlined",onClick:t.withModifiers((function(e){return a.addProp(n)}),["prevent"])},u,8,d)]})),_:1},8,["id"]))],64)):t.createCommentVNode("",!0),"yaml"===a.activeTab?(t.openBlock(),t.createBlock(C,{key:1,modelValue:a.modelData,"onUpdate:modelValue":l[6]||(l[6]=function(e){return a.modelData=e}),"reference-model":a.referenceModel||{},"onCode::modelDataUpdated":a.updateKeyValueArray},null,8,["modelValue","reference-model","onCode::modelDataUpdated"])):"json"===a.activeTab?(t.openBlock(),t.createBlock(N,{key:2,modelValue:a.modelData,"onUpdate:modelValue":l[7]||(l[7]=function(e){return a.modelData=e}),"reference-model":a.referenceModel||{},"onCode::modelDataUpdated":a.updateKeyValueArray},null,8,["modelValue","reference-model","onCode::modelDataUpdated"])):t.createCommentVNode("",!0)],2)},exports.default=r; \ No newline at end of file diff --git a/dist/KeyValuePairs-6ee97ed5.js b/dist/KeyValuePairs-6ee97ed5.js deleted file mode 100644 index ecdad75..0000000 --- a/dist/KeyValuePairs-6ee97ed5.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";var e=require("./entry-46a6dd07.js"),a=require("./tabs-714485d5.js"),l=require("./size-27a9a503.js"),t=require("vue"),r=t.defineComponent({name:"KeyValuePairs",components:{KeyValuePairItems:t.defineAsyncComponent((function(){return Promise.resolve().then((function(){return require("./KeyValuePairItems-43c36157.js")})).then((function(e){return e.default}))}))},mixins:[e.m,a.t,e.v,l.s],props:{schema:{type:Object,default:function(){return{}}},fieldName:{type:String,default:""},modelValue:{type:Object,default:function(){return{}}},errors:{type:Object,default:function(){return{}}},isLastChild:{type:Boolean,default:!1}},data:function(){return{newData:null,updatePass:0,keyValueArray:null,referencekeyValueArray:null,newKey:"",newValue:null}},computed:{additionalProperties:function(){return this.schema.additionalProperties||{}}},watch:{keyValueArray:{immediate:!0,deep:!0,handler:function(e,a){if(null!=a){var l=JSON.stringify(e);this.modelData=this.reconstructObject(JSON.parse(l))}}},activeTab:function(){this.initKeyValueArray(),this.initReferenceKeyValueArray()},modelValue:{deep:!0,immediate:!0,handler:function(e,a){JSON.stringify(e)!==JSON.stringify(a)&&this.initKeyValueArray(),this.initReferenceKeyValueArray()}}},methods:{initKeyValueArray:function(){var e=this;this.keyValueArray=Object.keys(this.modelValue).map((function(a){return{key:a,value:e.modelValue[a]||null}}))},initReferenceKeyValueArray:function(){var e=this;this.referencekeyValueArray=Object.keys(this.referenceModel).map((function(a){return{key:a,value:e.referenceModel[a]||null}}))},updateKeyValueArray:function(e){this.keyValueArray=Object.keys(e).map((function(a){return{key:a,value:e[a]}}))},reconstructObject:function(a){var l={};return a.forEach((function(a){l=Object.assign({},e._({},l),e.c({},"".concat(a.key),a.value))})),l},addProp:function(a){var l=this;return e.a(e.b().mark((function t(){var r;return e.b().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,a();case 2:r=e.sent,r.valid&&(l.keyValueArray.push({key:l.newKey,value:l.newValue}),l.newKey="",l.newValue=null,l.updatePass+=1);case 5:case"end":return e.stop()}}),t)})))()},deleteProp:function(e){this.keyValueArray.splice(e,1),this.updatePass+=1}}}),n={class:"nested-header mb-5"},o={class:"is-flex is-semi-normal"},i=t.createElementVNode("div",{class:"collaps-icon is-disabled"},[t.createElementVNode("i",{"aria-hidden":"true",class:"fa fa-minus"})],-1),d=["onClick"],u=[t.createElementVNode("span",{class:"icon"},[t.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6"},[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 4.5v15m7.5-7.5h-15"})])],-1)];r.render=function(a,l,r,c,s,m){var p=t.resolveComponent("component-errors"),y=t.resolveComponent("tabs"),f=t.resolveComponent("key-value-pair-items"),V=t.resolveComponent("simple-input"),v=t.resolveComponent("v-field"),h=t.resolveComponent("object-form-wrapper"),k=t.resolveComponent("key-value-pairs",!0),w=t.resolveComponent("array-input"),b=t.resolveComponent("v-form"),C=t.resolveComponent("yaml-form"),N=t.resolveComponent("json-form");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["ac-nested-elements key-value-pairs is-flex is-flex-direction-column gap-8",{"stop-line":a.isLastChild}])},[t.createElementVNode("div",n,[t.createElementVNode("h6",o,[i,t.createTextVNode(" "+t.toDisplayString(a.schema.title||"Array Item Description"),1),t.createVNode(p,{errors:a.calcFormErrors(a.errors,a.fieldName)},null,8,["errors"])]),t.createVNode(y,{modelValue:a.activeTab,"onUpdate:modelValue":l[0]||(l[0]=function(e){return a.activeTab=e})},null,8,["modelValue"])]),"form"===a.activeTab?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(a.keyValueArray,(function(e,l){return t.openBlock(),t.createElementBlock("div",{key:"".concat(l,"-").concat(a.schema.title,"-form")},[t.createVNode(f,{modelValue:a.keyValueArray[l],"onUpdate:modelValue":function(e){return a.keyValueArray[l]=e},"field-name":a.fieldName,"reference-model":a.referencekeyValueArray[l]||{},index:l,schema:a.schema,"additional-properties":a.additionalProperties,errors:a.errors,onDeleteKeyValue:a.deleteProp},null,8,["modelValue","onUpdate:modelValue","field-name","reference-model","index","schema","additional-properties","errors","onDeleteKeyValue"])])})),128)),(t.openBlock(),t.createBlock(b,{id:"".concat(a.schema.title.replace(/ /g,"-"),"-new-observer"),key:a.updatePass,as:"div",class:"key-value-save"},{default:t.withCtx((function(r){var n=r.validate,o=r.errors;return[t.createVNode(v,{id:"".concat(a.schema.title.replace(/ /g,"-"),"-key-provider"),modelValue:a.newKey,"onUpdate:modelValue":l[1]||(l[1]=function(e){return a.newKey=e}),rules:"required",name:"newKey",label:"".concat(a.schema.title," new key"),as:"div"},{default:t.withCtx((function(a){var l=a.field,r=a.handleChange,n=a.errors,o=a.meta;return[t.createVNode(V,{"model-value":l.value,schema:{title:"Key",type:"string",ui:{tag:"input",type:"text"}},type:"string","validation-ob":e._({errors:n},o),"reference-model":"","onUpdate:modelValue":r},null,8,["model-value","validation-ob","onUpdate:modelValue"])]})),_:1},8,["id","modelValue","label"]),"object"===a.additionalProperties.type?(t.openBlock(),t.createBlock(v,{key:0,id:"".concat(a.schema.title.replace(/ /g,"-"),"-value-provider"),modelValue:a.newValue,"onUpdate:modelValue":l[2]||(l[2]=function(e){return a.newValue=e}),rules:"required",name:"newValue",label:"".concat(a.schema.title," new value"),as:""},{default:t.withCtx((function(e){var l=e.field,r=e.handleChange;return[t.createVNode(h,{"field-name":"newValue","model-value":l.value,"is-last-child":!0,"is-self-required":!0,schema:a.additionalProperties,type:a.additionalProperties.type,errors:o,"reference-model":{},"onUpdate:modelValue":r},null,8,["model-value","schema","type","errors","onUpdate:modelValue"])]})),_:2},1032,["id","modelValue","label"])):"key-value-pairs"===a.additionalProperties.type?(t.openBlock(),t.createBlock(v,{key:1,id:"".concat(a.schema.title.replace(/ /g,"-"),"-value-provider"),modelValue:a.newValue,"onUpdate:modelValue":l[3]||(l[3]=function(e){return a.newValue=e}),rules:"required",name:"newValue",label:"".concat(a.schema.title," new value"),as:""},{default:t.withCtx((function(e){var l=e.field,r=e.handleChange;return[t.createVNode(k,{"field-name":"newValue","model-value":l.value,"is-last-child":!0,schema:a.additionalProperties,type:a.additionalProperties.type,errors:o,"reference-model":{},"onUpdate:modelValue":r},null,8,["model-value","schema","type","errors","onUpdate:modelValue"])]})),_:2},1032,["id","modelValue","label"])):"array"===a.additionalProperties.type?(t.openBlock(),t.createBlock(v,{key:2,id:"".concat(a.schema.title.replace(/ /g,"-"),"-value-provider"),modelValue:a.newValue,"onUpdate:modelValue":l[4]||(l[4]=function(e){return a.newValue=e}),rules:"required",name:"newValue",label:"".concat(a.schema.title," new value"),as:""},{default:t.withCtx((function(e){var l=e.field,r=e.handleChange;return[t.createVNode(w,{"field-name":"newValue","model-value":l.value,"is-last-child":!0,schema:a.additionalProperties,type:a.additionalProperties.type,errors:o,"reference-model":[],"onUpdate:modelValue":r},null,8,["model-value","schema","type","errors","onUpdate:modelValue"])]})),_:2},1032,["id","modelValue","label"])):(t.openBlock(),t.createBlock(v,{key:3,id:"".concat(a.schema.title.replace(/ /g,"-"),"-value-provider"),modelValue:a.newValue,"onUpdate:modelValue":l[5]||(l[5]=function(e){return a.newValue=e}),rules:"required",name:"newValue",label:"".concat(a.schema.title," new value"),as:""},{default:t.withCtx((function(l){var r=l.field,n=l.handleChange,o=l.errors,i=l.meta;return[t.createVNode(V,{"model-value":r.value,schema:a.additionalProperties,type:a.additionalProperties.type,"validation-ob":e._({errors:o},i),"reference-model":"","onUpdate:modelValue":n},null,8,["model-value","schema","type","validation-ob","onUpdate:modelValue"])]})),_:1},8,["id","modelValue","label"])),t.createElementVNode("button",{class:"button ac-button is-medium is-square is-primary is-outlined",onClick:t.withModifiers((function(e){return a.addProp(n)}),["prevent"])},u,8,d)]})),_:1},8,["id"]))],64)):t.createCommentVNode("",!0),"yaml"===a.activeTab?(t.openBlock(),t.createBlock(C,{key:1,modelValue:a.modelData,"onUpdate:modelValue":l[6]||(l[6]=function(e){return a.modelData=e}),"reference-model":a.referenceModel||{},"onCode::modelDataUpdated":a.updateKeyValueArray},null,8,["modelValue","reference-model","onCode::modelDataUpdated"])):"json"===a.activeTab?(t.openBlock(),t.createBlock(N,{key:2,modelValue:a.modelData,"onUpdate:modelValue":l[7]||(l[7]=function(e){return a.modelData=e}),"reference-model":a.referenceModel||{},"onCode::modelDataUpdated":a.updateKeyValueArray},null,8,["modelValue","reference-model","onCode::modelDataUpdated"])):t.createCommentVNode("",!0)],2)},exports.default=r; \ No newline at end of file diff --git a/dist/KeyValuePairs-DL8T9ma9.js b/dist/KeyValuePairs-DL8T9ma9.js new file mode 100644 index 0000000..46156c8 --- /dev/null +++ b/dist/KeyValuePairs-DL8T9ma9.js @@ -0,0 +1,317 @@ +import { _ as M, m as S, v as T } from "./entry-CiSu1Krq.js"; +import { t as q } from "./tabs-DnKM5ngn.js"; +import { s as B } from "./size-BtoaE7vX.js"; +import { resolveComponent as r, openBlock as t, createElementBlock as y, createElementVNode as v, createVNode as o, createTextVNode as J, toDisplayString as R, Fragment as b, renderList as E, createBlock as u, withCtx as m, withModifiers as F, createCommentVNode as w, defineComponent as I, defineAsyncComponent as L } from "vue"; +import { AcButton as z } from "@mohin4/design-system"; +import { Plus as G, Minus as H } from "lucide-vue-next"; +const Q = I({ + name: "KeyValuePairs", + components: { + AcButton: z, + Minus: H, + Plus: G, + KeyValuePairItems: L( + () => import("./KeyValuePairItems-Cf8duHDN.js").then( + (e) => e.default + ) + ) + }, + mixins: [S, q, T, B], + props: { + schema: { + type: Object, + default: () => ({}) + }, + fieldName: { + type: String, + default: "" + }, + modelValue: { + type: Object, + default: () => ({}) + }, + errors: { + type: Object, + default: () => ({}) + }, + isLastChild: { + type: Boolean, + default: !1 + } + }, + data() { + return { + newData: null, + updatePass: 0, + keyValueArray: null, + referencekeyValueArray: null, + newKey: "", + newValue: null + }; + }, + computed: { + additionalProperties() { + return this.schema.additionalProperties || {}; + } + }, + watch: { + keyValueArray: { + immediate: !0, + deep: !0, + handler(e, a) { + if (a != null) { + const s = JSON.stringify(e); + this.modelData = this.reconstructObject(JSON.parse(s)); + } + } + }, + activeTab() { + this.initKeyValueArray(), this.initReferenceKeyValueArray(); + }, + modelValue: { + deep: !0, + immediate: !0, + handler(e, a) { + const s = JSON.stringify(e), c = JSON.stringify(a); + s !== c && this.initKeyValueArray(), this.initReferenceKeyValueArray(); + } + } + }, + methods: { + initKeyValueArray() { + this.keyValueArray = Object.keys(this.modelValue).map((e) => ({ + key: e, + value: this.modelValue[e] || null + })); + }, + initReferenceKeyValueArray() { + this.referencekeyValueArray = Object.keys(this.referenceModel).map( + (e) => ({ + key: e, + value: this.referenceModel[e] || null + }) + ); + }, + updateKeyValueArray(e) { + this.keyValueArray = Object.keys(e).map((a) => ({ + key: a, + value: e[a] + })); + }, + reconstructObject(e) { + let a = {}; + return e.forEach((s) => { + a = Object.assign( + {}, + { ...a }, + { + [`${s.key}`]: s.value + } + ); + }), a; + }, + async addProp(e) { + const { valid: a } = await e(); + a && (this.keyValueArray.push({ + key: this.newKey, + value: this.newValue + }), this.newKey = "", this.newValue = null, this.updatePass += 1); + }, + deleteProp(e) { + this.keyValueArray.splice(e, 1), this.updatePass += 1; + } + } +}), W = { class: "vof-nested vof-key-value-pairs" }, X = { class: "vof-nested-header" }, Y = { class: "vof-nested-title" }, Z = { class: "vof-collapse-icon is-disabled" }; +function _(e, a, s, c, x, ee) { + const k = r("Minus"), P = r("component-errors"), A = r("tabs"), U = r("key-value-pair-items"), h = r("simple-input"), p = r("v-field"), K = r("object-form-wrapper"), g = r("key-value-pairs", !0), $ = r("array-input"), j = r("Plus"), O = r("ac-button"), D = r("v-form"), C = r("yaml-form"), N = r("json-form"); + return t(), y("div", W, [ + v("div", X, [ + v("h6", Y, [ + v("div", Z, [ + o(k, { "aria-hidden": "true" }) + ]), + J(" " + R(e.schema.title || "Array Item Description") + " ", 1), + o(P, { + errors: e.calcFormErrors(e.errors, e.fieldName) + }, null, 8, ["errors"]) + ]), + o(A, { + modelValue: e.activeTab, + "onUpdate:modelValue": a[0] || (a[0] = (i) => e.activeTab = i) + }, null, 8, ["modelValue"]) + ]), + e.activeTab === "form" ? (t(), y(b, { key: 0 }, [ + (t(!0), y(b, null, E(e.keyValueArray, (i, n) => (t(), y("div", { + key: `${n}-${e.schema.title}-form` + }, [ + o(U, { + modelValue: e.keyValueArray[n], + "onUpdate:modelValue": (l) => e.keyValueArray[n] = l, + "field-name": e.fieldName, + "reference-model": e.referencekeyValueArray[n] || {}, + index: n, + schema: e.schema, + "additional-properties": e.additionalProperties, + errors: e.errors, + onDeleteKeyValue: e.deleteProp + }, null, 8, ["modelValue", "onUpdate:modelValue", "field-name", "reference-model", "index", "schema", "additional-properties", "errors", "onDeleteKeyValue"]) + ]))), 128)), + (t(), u(D, { + id: `${e.schema.title.replace(/ /g, "-")}-new-observer`, + key: e.updatePass, + as: "div", + class: "vof-key-value-save" + }, { + default: m(({ validate: i, errors: n }) => [ + o(p, { + id: `${e.schema.title.replace(/ /g, "-")}-key-provider`, + modelValue: e.newKey, + "onUpdate:modelValue": a[1] || (a[1] = (l) => e.newKey = l), + rules: "required", + name: "newKey", + label: `${e.schema.title} new key`, + as: "div" + }, { + default: m(({ field: l, handleChange: d, errors: V, meta: f }) => [ + o(h, { + "model-value": l.value, + schema: { + title: "Key", + type: "string", + ui: { tag: "input", type: "text" } + }, + type: "string", + "validation-ob": { errors: V, ...f }, + "reference-model": "", + "onUpdate:modelValue": d + }, null, 8, ["model-value", "validation-ob", "onUpdate:modelValue"]) + ]), + _: 1 + }, 8, ["id", "modelValue", "label"]), + e.additionalProperties.type === "object" ? (t(), u(p, { + key: 0, + id: `${e.schema.title.replace(/ /g, "-")}-value-provider`, + modelValue: e.newValue, + "onUpdate:modelValue": a[2] || (a[2] = (l) => e.newValue = l), + rules: "required", + name: "newValue", + label: `${e.schema.title} new value`, + as: "" + }, { + default: m(({ field: l, handleChange: d }) => [ + o(K, { + "field-name": "newValue", + "model-value": l.value, + "is-last-child": !0, + "is-self-required": !0, + schema: e.additionalProperties, + type: e.additionalProperties.type, + errors: n, + "reference-model": {}, + "onUpdate:modelValue": d + }, null, 8, ["model-value", "schema", "type", "errors", "onUpdate:modelValue"]) + ]), + _: 2 + }, 1032, ["id", "modelValue", "label"])) : e.additionalProperties.type === "key-value-pairs" ? (t(), u(p, { + key: 1, + id: `${e.schema.title.replace(/ /g, "-")}-value-provider`, + modelValue: e.newValue, + "onUpdate:modelValue": a[3] || (a[3] = (l) => e.newValue = l), + rules: "required", + name: "newValue", + label: `${e.schema.title} new value`, + as: "" + }, { + default: m(({ field: l, handleChange: d }) => [ + o(g, { + "field-name": "newValue", + "model-value": l.value, + "is-last-child": !0, + schema: e.additionalProperties, + type: e.additionalProperties.type, + errors: n, + "reference-model": {}, + "onUpdate:modelValue": d + }, null, 8, ["model-value", "schema", "type", "errors", "onUpdate:modelValue"]) + ]), + _: 2 + }, 1032, ["id", "modelValue", "label"])) : e.additionalProperties.type === "array" ? (t(), u(p, { + key: 2, + id: `${e.schema.title.replace(/ /g, "-")}-value-provider`, + modelValue: e.newValue, + "onUpdate:modelValue": a[4] || (a[4] = (l) => e.newValue = l), + rules: "required", + name: "newValue", + label: `${e.schema.title} new value`, + as: "" + }, { + default: m(({ field: l, handleChange: d }) => [ + o($, { + "field-name": "newValue", + "model-value": l.value, + "is-last-child": !0, + schema: e.additionalProperties, + type: e.additionalProperties.type, + errors: n, + "reference-model": [], + "onUpdate:modelValue": d + }, null, 8, ["model-value", "schema", "type", "errors", "onUpdate:modelValue"]) + ]), + _: 2 + }, 1032, ["id", "modelValue", "label"])) : (t(), u(p, { + key: 3, + id: `${e.schema.title.replace(/ /g, "-")}-value-provider`, + modelValue: e.newValue, + "onUpdate:modelValue": a[5] || (a[5] = (l) => e.newValue = l), + rules: "required", + name: "newValue", + label: `${e.schema.title} new value`, + as: "" + }, { + default: m(({ field: l, handleChange: d, errors: V, meta: f }) => [ + o(h, { + "model-value": l.value, + schema: e.additionalProperties, + type: e.additionalProperties.type, + "validation-ob": { errors: V, ...f }, + "reference-model": "", + "onUpdate:modelValue": d + }, null, 8, ["model-value", "schema", "type", "validation-ob", "onUpdate:modelValue"]) + ]), + _: 1 + }, 8, ["id", "modelValue", "label"])), + o(O, { + class: "vof-icon-btn", + color: "primary", + variant: "outlined", + "aria-label": "Add", + onClick: F((l) => e.addProp(i), ["prevent"]) + }, { + icon: m(() => [ + o(j, { "aria-hidden": "true" }) + ]), + _: 1 + }, 8, ["onClick"]) + ]), + _: 1 + }, 8, ["id"])) + ], 64)) : w("", !0), + e.activeTab === "yaml" ? (t(), u(C, { + key: 1, + modelValue: e.modelData, + "onUpdate:modelValue": a[6] || (a[6] = (i) => e.modelData = i), + "reference-model": e.referenceModel || {}, + "onCode::modelDataUpdated": e.updateKeyValueArray + }, null, 8, ["modelValue", "reference-model", "onCode::modelDataUpdated"])) : e.activeTab === "json" ? (t(), u(N, { + key: 2, + modelValue: e.modelData, + "onUpdate:modelValue": a[7] || (a[7] = (i) => e.modelData = i), + "reference-model": e.referenceModel || {}, + "onCode::modelDataUpdated": e.updateKeyValueArray + }, null, 8, ["modelValue", "reference-model", "onCode::modelDataUpdated"])) : w("", !0) + ]); +} +const de = /* @__PURE__ */ M(Q, [["render", _]]); +export { + de as default +}; diff --git a/dist/MonacoEditor-16bf802f.js b/dist/MonacoEditor-16bf802f.js deleted file mode 100644 index 6dfb312..0000000 --- a/dist/MonacoEditor-16bf802f.js +++ /dev/null @@ -1 +0,0 @@ -import{defineComponent as t,toRefs as e,computed as i,ref as o,openBlock as a,createElementBlock as s,normalizeStyle as n}from"vue";import*as l from"monaco-editor";var d=t({name:"MonacoEditor",props:{diffEditor:{type:Boolean,default:!1},width:{type:[String,Number],default:"100%"},height:{type:[String,Number],default:"100%"},original:String,value:String,language:{type:String,default:"javascript"},theme:{type:String,default:"vs"},options:{type:Object,default:()=>({})},validation:{type:Object,default:()=>({})}},emits:["editorWillMount","editorDidMount","change"],setup(t){const{width:a,height:s}=e(t),n=i((()=>({width:a.value.toString().includes("%")?a.value:`${a.value}px`,height:s.value.toString().includes("%")?s.value:`${s.value}px`,"text-align":"left"}))),l=o("");return{style:n,modelId:l,updateModelId:function(){l.value=`file:///file-${(new Date).getTime()}.yaml`}}},mounted(){this.initMonaco()},beforeUnmount(){l.editor.getModel(this.modelId)?.dispose(),this.$monacoValidationOptions&&(this.$monacoValidationOptions.schemas=this.$monacoValidationOptions.schemas.filter((t=>!t.fileMatch.includes(this.modelId)))),this.editor&&this.editor.dispose()},methods:{async initMonaco(){this.updateModelId(),this.$emit("editorWillMount",this.monaco);const{value:t,language:e,theme:i,options:o,original:a,validation:s}=this;if(this.diffEditor){const s=l.editor.createModel(a,e),n=l.editor.createModel(t,e);this.editor=l.editor.createDiffEditor(this.$el,{automaticLayout:!0,theme:i,fixedOverflowWidgets:!0,...o}),this.editor.setModel({original:s,modified:n})}else{const a=l.editor.createModel(t,e,l.Uri.parse(this.modelId));if(s.uri)if(s.schema?.type){const t=[...this.$monacoValidationOptions?.schemas||[],{fileMatch:[this.modelId],schema:s.schema,uri:s.uri}];this.$monacoValidationOptions&&(this.$monacoValidationOptions.schemas=t),this.$monacoYaml&&this.$monacoYaml.update({schemas:t}),l.languages.json.jsonDefaults.setDiagnosticsOptions({validate:!0,enableSchemaRequest:!1,schemas:t,allowComments:!0})}else{const t=await fetch(s.uri);if(t.ok){const e=await t.json(),i=[...this.$monacoValidationOptions?.schemas||[],{fileMatch:[this.modelId],schema:e,uri:s.uri}];this.$monacoValidationOptions&&(this.$monacoValidationOptions.schemas=i),this.$monacoYaml&&this.$monacoYaml.update({schemas:i,enableSchemaRequest:!0}),l.languages.json.jsonDefaults.setDiagnosticsOptions({validate:!0,enableSchemaRequest:!0,schemas:i,allowComments:!0})}else this.$monacoYaml&&this.$monacoYaml.update({validate:!1}),l.languages.json.jsonDefaults.setDiagnosticsOptions({validate:!1})}this.editor=l.editor.create(this.$el,{automaticLayout:!0,model:a,theme:i,fixedOverflowWidgets:!0,...o})}const n=this._getEditor();n.onDidChangeModelContent((t=>{const e=n.getValue();this.value!==e&&this.$emit("change",e,t)})),this.$emit("editorDidMount",this.editor)},_setValue(t){const e=this._getEditor();if(e)return e.setValue(t)},_getValue(){const t=this._getEditor();return t?t.getValue():""},_getEditor(){return this.editor?this.diffEditor?this.editor.getModifiedEditor():this.editor:null},_setOriginal(){const{original:t}=this.editor.getModel();t.setValue(this.original)}},watch:{options:{deep:!0,handler(t){this.editor.updateOptions(t)}},value(){this.value!==this._getValue()&&this._setValue(this.value)},original(){this._setOriginal()},language(){if(this.editor)if(this.diffEditor){const{original:t,modified:e}=this.editor.getModel();l.editor.setModelLanguage(t,this.language),l.editor.setModelLanguage(e,this.language)}else l.editor.setModelLanguage(this.editor.getModel(),this.language)},theme(){l.editor.setTheme(this.theme)}}});d.render=function(t,e,i,o,l,d){return a(),s("div",{class:"monaco-editor-vue3",style:n(t.style)},null,4)};export{d as default}; \ No newline at end of file diff --git a/dist/MonacoEditor-50a0f8ab.js b/dist/MonacoEditor-50a0f8ab.js deleted file mode 100644 index 1763796..0000000 --- a/dist/MonacoEditor-50a0f8ab.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";var e=require("vue");function t(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(i){if("default"!==i){var o=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(t,i,o.get?o:{enumerable:!0,get:function(){return e[i]}})}})),t.default=e,Object.freeze(t)}var i=t(require("monaco-editor")),o=e.defineComponent({name:"MonacoEditor",props:{diffEditor:{type:Boolean,default:!1},width:{type:[String,Number],default:"100%"},height:{type:[String,Number],default:"100%"},original:String,value:String,language:{type:String,default:"javascript"},theme:{type:String,default:"vs"},options:{type:Object,default:()=>({})},validation:{type:Object,default:()=>({})}},emits:["editorWillMount","editorDidMount","change"],setup(t){const{width:i,height:o}=e.toRefs(t),a=e.computed((()=>({width:i.value.toString().includes("%")?i.value:`${i.value}px`,height:o.value.toString().includes("%")?o.value:`${o.value}px`,"text-align":"left"}))),s=e.ref("");return{style:a,modelId:s,updateModelId:function(){s.value=`file:///file-${(new Date).getTime()}.yaml`}}},mounted(){this.initMonaco()},beforeUnmount(){i.editor.getModel(this.modelId)?.dispose(),this.$monacoValidationOptions&&(this.$monacoValidationOptions.schemas=this.$monacoValidationOptions.schemas.filter((e=>!e.fileMatch.includes(this.modelId)))),this.editor&&this.editor.dispose()},methods:{async initMonaco(){this.updateModelId(),this.$emit("editorWillMount",this.monaco);const{value:e,language:t,theme:o,options:a,original:s,validation:n}=this;if(this.diffEditor){const n=i.editor.createModel(s,t),l=i.editor.createModel(e,t);this.editor=i.editor.createDiffEditor(this.$el,{automaticLayout:!0,theme:o,fixedOverflowWidgets:!0,...a}),this.editor.setModel({original:n,modified:l})}else{const s=i.editor.createModel(e,t,i.Uri.parse(this.modelId));if(n.uri)if(n.schema?.type){const e=[...this.$monacoValidationOptions?.schemas||[],{fileMatch:[this.modelId],schema:n.schema,uri:n.uri}];this.$monacoValidationOptions&&(this.$monacoValidationOptions.schemas=e),this.$monacoYaml&&this.$monacoYaml.update({schemas:e}),i.languages.json.jsonDefaults.setDiagnosticsOptions({validate:!0,enableSchemaRequest:!1,schemas:e,allowComments:!0})}else{const e=await fetch(n.uri);if(e.ok){const t=await e.json(),o=[...this.$monacoValidationOptions?.schemas||[],{fileMatch:[this.modelId],schema:t,uri:n.uri}];this.$monacoValidationOptions&&(this.$monacoValidationOptions.schemas=o),this.$monacoYaml&&this.$monacoYaml.update({schemas:o,enableSchemaRequest:!0}),i.languages.json.jsonDefaults.setDiagnosticsOptions({validate:!0,enableSchemaRequest:!0,schemas:o,allowComments:!0})}else this.$monacoYaml&&this.$monacoYaml.update({validate:!1}),i.languages.json.jsonDefaults.setDiagnosticsOptions({validate:!1})}this.editor=i.editor.create(this.$el,{automaticLayout:!0,model:s,theme:o,fixedOverflowWidgets:!0,...a})}const l=this._getEditor();l.onDidChangeModelContent((e=>{const t=l.getValue();this.value!==t&&this.$emit("change",t,e)})),this.$emit("editorDidMount",this.editor)},_setValue(e){const t=this._getEditor();if(t)return t.setValue(e)},_getValue(){const e=this._getEditor();return e?e.getValue():""},_getEditor(){return this.editor?this.diffEditor?this.editor.getModifiedEditor():this.editor:null},_setOriginal(){const{original:e}=this.editor.getModel();e.setValue(this.original)}},watch:{options:{deep:!0,handler(e){this.editor.updateOptions(e)}},value(){this.value!==this._getValue()&&this._setValue(this.value)},original(){this._setOriginal()},language(){if(this.editor)if(this.diffEditor){const{original:e,modified:t}=this.editor.getModel();i.editor.setModelLanguage(e,this.language),i.editor.setModelLanguage(t,this.language)}else i.editor.setModelLanguage(this.editor.getModel(),this.language)},theme(){i.editor.setTheme(this.theme)}}});o.render=function(t,i,o,a,s,n){return e.openBlock(),e.createElementBlock("div",{class:"monaco-editor-vue3",style:e.normalizeStyle(t.style)},null,4)},exports.default=o; \ No newline at end of file diff --git a/dist/MonacoEditor-d6e4df49.js b/dist/MonacoEditor-d6e4df49.js deleted file mode 100644 index ed3800d..0000000 --- a/dist/MonacoEditor-d6e4df49.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";var e=require("vue");function t(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(i){if("default"!==i){var o=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(t,i,o.get?o:{enumerable:!0,get:function(){return e[i]}})}})),t.default=e,Object.freeze(t)}var i=t(require("monaco-editor")),o=e.defineComponent({name:"MonacoEditor",props:{diffEditor:{type:Boolean,default:!1},width:{type:[String,Number],default:"100%"},height:{type:[String,Number],default:"100%"},original:String,value:String,language:{type:String,default:"javascript"},theme:{type:String,default:"vs"},options:{type:Object,default:()=>({})},validation:{type:Object,default:()=>({})}},emits:["editorWillMount","editorDidMount","change"],setup(t){const{width:i,height:o}=e.toRefs(t),a=e.computed((()=>({width:i.value.toString().includes("%")?i.value:`${i.value}px`,height:o.value.toString().includes("%")?o.value:`${o.value}px`,"text-align":"left"}))),s=e.ref("");return{style:a,modelId:s,updateModelId:function(){s.value=`file:///file-${(new Date).getTime()}.yaml`}}},mounted(){this.initMonaco()},beforeUnmount(){i.editor.getModel(this.modelId)?.dispose(),this.$monacoValidationOptions&&(this.$monacoValidationOptions.schemas=this.$monacoValidationOptions.schemas.filter((e=>!e.fileMatch.includes(this.modelId)))),this.editor&&this.editor.dispose()},methods:{async initMonaco(){this.updateModelId(),this.$emit("editorWillMount",this.monaco);const{value:e,language:t,theme:o,options:a,original:s,validation:n}=this;if(this.diffEditor){const n=i.editor.createModel(s,t),l=i.editor.createModel(e,t);this.editor=i.editor.createDiffEditor(this.$el,{automaticLayout:!0,theme:o,fixedOverflowWidgets:!0,...a}),this.editor.setModel({original:n,modified:l})}else{const s=i.editor.createModel(e,t,i.Uri.parse(this.modelId));if(n.uri)if(n.schema?.type){const e=[...this.$monacoValidationOptions?.schemas||[],{fileMatch:[this.modelId],schema:n.schema,uri:n.uri}];this.$monacoValidationOptions&&(this.$monacoValidationOptions.schemas=e),this.$monacoYaml&&this.$monacoYaml.update({schemas:e}),i.languages.json.jsonDefaults.setDiagnosticsOptions({validate:!0,enableSchemaRequest:!1,schemas:e,allowComments:!0})}else{const e=await fetch(n.uri);if(e.ok){const t=await e.json(),o=[...this.$monacoValidationOptions?.schemas||[],{fileMatch:[this.modelId],schema:t,uri:n.uri}];this.$monacoValidationOptions&&(this.$monacoValidationOptions.schemas=o),this.$monacoYaml&&this.$monacoYaml.update({schemas:o,enableSchemaRequest:!0}),i.languages.json.jsonDefaults.setDiagnosticsOptions({validate:!0,enableSchemaRequest:!0,schemas:o,allowComments:!0})}else this.$monacoYaml&&this.$monacoYaml.update({validate:!1}),i.languages.json.jsonDefaults.setDiagnosticsOptions({validate:!1})}this.editor=i.editor.create(this.$el,{automaticLayout:!0,model:s,theme:o,fixedOverflowWidgets:!0,...a})}const l=this._getEditor();l.onDidChangeModelContent((e=>{const t=l.getValue();this.value!==t&&this.$emit("change",t,e)})),this.$emit("editorDidMount",this.editor)},_setValue(e){let t=this._getEditor();if(t)return t.setValue(e)},_getValue(){let e=this._getEditor();return e?e.getValue():""},_getEditor(){return this.editor?this.diffEditor?this.editor.getModifiedEditor():this.editor:null},_setOriginal(){const{original:e}=this.editor.getModel();e.setValue(this.original)}},watch:{options:{deep:!0,handler(e){this.editor.updateOptions(e)}},value(){this.value!==this._getValue()&&this._setValue(this.value)},original(){this._setOriginal()},language(){if(this.editor)if(this.diffEditor){const{original:e,modified:t}=this.editor.getModel();i.editor.setModelLanguage(e,this.language),i.editor.setModelLanguage(t,this.language)}else i.editor.setModelLanguage(this.editor.getModel(),this.language)},theme(){i.editor.setTheme(this.theme)}}});o.render=function(t,i,o,a,s,n){return e.openBlock(),e.createElementBlock("div",{class:"monaco-editor-vue3",style:e.normalizeStyle(t.style)},null,4)},exports.default=o; \ No newline at end of file diff --git a/dist/MonacoEditor-f41826a2.js b/dist/MonacoEditor-f41826a2.js deleted file mode 100644 index 6a54f52..0000000 --- a/dist/MonacoEditor-f41826a2.js +++ /dev/null @@ -1 +0,0 @@ -import{defineComponent as t,toRefs as e,computed as i,ref as o,openBlock as a,createElementBlock as s,normalizeStyle as n}from"vue";import*as l from"monaco-editor";var d=t({name:"MonacoEditor",props:{diffEditor:{type:Boolean,default:!1},width:{type:[String,Number],default:"100%"},height:{type:[String,Number],default:"100%"},original:String,value:String,language:{type:String,default:"javascript"},theme:{type:String,default:"vs"},options:{type:Object,default:()=>({})},validation:{type:Object,default:()=>({})}},emits:["editorWillMount","editorDidMount","change"],setup(t){const{width:a,height:s}=e(t),n=i((()=>({width:a.value.toString().includes("%")?a.value:`${a.value}px`,height:s.value.toString().includes("%")?s.value:`${s.value}px`,"text-align":"left"}))),l=o("");return{style:n,modelId:l,updateModelId:function(){l.value=`file:///file-${(new Date).getTime()}.yaml`}}},mounted(){this.initMonaco()},beforeUnmount(){l.editor.getModel(this.modelId)?.dispose(),this.$monacoValidationOptions&&(this.$monacoValidationOptions.schemas=this.$monacoValidationOptions.schemas.filter((t=>!t.fileMatch.includes(this.modelId)))),this.editor&&this.editor.dispose()},methods:{async initMonaco(){this.updateModelId(),this.$emit("editorWillMount",this.monaco);const{value:t,language:e,theme:i,options:o,original:a,validation:s}=this;if(this.diffEditor){const s=l.editor.createModel(a,e),n=l.editor.createModel(t,e);this.editor=l.editor.createDiffEditor(this.$el,{automaticLayout:!0,theme:i,fixedOverflowWidgets:!0,...o}),this.editor.setModel({original:s,modified:n})}else{const a=l.editor.createModel(t,e,l.Uri.parse(this.modelId));if(s.uri)if(s.schema?.type){const t=[...this.$monacoValidationOptions?.schemas||[],{fileMatch:[this.modelId],schema:s.schema,uri:s.uri}];this.$monacoValidationOptions&&(this.$monacoValidationOptions.schemas=t),this.$monacoYaml&&this.$monacoYaml.update({schemas:t}),l.languages.json.jsonDefaults.setDiagnosticsOptions({validate:!0,enableSchemaRequest:!1,schemas:t,allowComments:!0})}else{const t=await fetch(s.uri);if(t.ok){const e=await t.json(),i=[...this.$monacoValidationOptions?.schemas||[],{fileMatch:[this.modelId],schema:e,uri:s.uri}];this.$monacoValidationOptions&&(this.$monacoValidationOptions.schemas=i),this.$monacoYaml&&this.$monacoYaml.update({schemas:i,enableSchemaRequest:!0}),l.languages.json.jsonDefaults.setDiagnosticsOptions({validate:!0,enableSchemaRequest:!0,schemas:i,allowComments:!0})}else this.$monacoYaml&&this.$monacoYaml.update({validate:!1}),l.languages.json.jsonDefaults.setDiagnosticsOptions({validate:!1})}this.editor=l.editor.create(this.$el,{automaticLayout:!0,model:a,theme:i,fixedOverflowWidgets:!0,...o})}const n=this._getEditor();n.onDidChangeModelContent((t=>{const e=n.getValue();this.value!==e&&this.$emit("change",e,t)})),this.$emit("editorDidMount",this.editor)},_setValue(t){let e=this._getEditor();if(e)return e.setValue(t)},_getValue(){let t=this._getEditor();return t?t.getValue():""},_getEditor(){return this.editor?this.diffEditor?this.editor.getModifiedEditor():this.editor:null},_setOriginal(){const{original:t}=this.editor.getModel();t.setValue(this.original)}},watch:{options:{deep:!0,handler(t){this.editor.updateOptions(t)}},value(){this.value!==this._getValue()&&this._setValue(this.value)},original(){this._setOriginal()},language(){if(this.editor)if(this.diffEditor){const{original:t,modified:e}=this.editor.getModel();l.editor.setModelLanguage(t,this.language),l.editor.setModelLanguage(e,this.language)}else l.editor.setModelLanguage(this.editor.getModel(),this.language)},theme(){l.editor.setTheme(this.theme)}}});d.render=function(t,e,i,o,l,d){return a(),s("div",{class:"monaco-editor-vue3",style:n(t.style)},null,4)};export{d as default}; \ No newline at end of file diff --git a/dist/ObjectForm-6c630204.js b/dist/ObjectForm-6c630204.js deleted file mode 100644 index 0db079d..0000000 --- a/dist/ObjectForm-6c630204.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";var e=require("./entry-46a6dd07.js"),r=require("./fold-e405c002.js"),l=require("vue"),t=l.defineComponent({name:"ObjectForm",mixins:[e.m,r.f,e.v],props:{properties:{type:Object,default:function(){return{}}},fieldName:{type:String,default:""},errors:{type:Object,default:function(){return{}}},title:{type:String,default:""},modelValue:{type:Object,default:function(){return{}}},required:{type:Array,default:function(){return[]}},level:{type:Number,default:1}},computed:{propertiesRequired:function(){return this.isSelfRequired||Object.keys(this.modelData).length>0}},methods:{isRequired:function(e){return!!this.required.find((function(r){return r===e}))}}});t.render=function(r,t,o,a,n,d){var i=l.resolveComponent("object-form-wrapper"),u=l.resolveComponent("v-field"),c=l.resolveComponent("key-value-pairs"),p=l.resolveComponent("array-input"),s=l.resolveComponent("simple-input");return l.openBlock(),l.createElementBlock("div",{class:l.normalizeClass(["mb-15",{"is-hidden":r.isSelfFolded}])},[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(Object.keys(r.properties),(function(t,o){return l.openBlock(),l.createElementBlock(l.Fragment,null,["object"===r.properties[t].type?(l.openBlock(),l.createBlock(u,{key:t+"-object",modelValue:r.modelData[t],"onUpdate:modelValue":function(e){return r.modelData[t]=e},name:"".concat(r.fieldName,"/").concat(t),rules:r.ruleObject(r.propertiesRequired&&r.isRequired(t)),label:"".concat(r.properties[t].title),as:""},{default:l.withCtx((function(e){var a=e.field,n=e.handleChange;return[l.createVNode(i,{"model-value":a.value,"field-name":"".concat(r.fieldName,"/").concat(t),"expand-form":r.level<2,"is-last-child":o===Object.keys(r.properties).length-1,level:r.level+1,type:r.properties[t].type,"is-self-required":r.propertiesRequired&&r.isRequired(t),schema:r.properties[t],errors:r.errors,"reference-model":r.referenceModel[t]||{},"onUpdate:modelValue":n},null,8,["model-value","field-name","expand-form","is-last-child","level","type","is-self-required","schema","errors","reference-model","onUpdate:modelValue"])]})),_:2},1032,["modelValue","onUpdate:modelValue","name","rules","label"])):"key-value-pairs"===r.properties[t].type?(l.openBlock(),l.createBlock(u,{key:t+"-key-value-pairs",modelValue:r.modelData[t],"onUpdate:modelValue":function(e){return r.modelData[t]=e},name:"".concat(r.fieldName,"/").concat(t),rules:r.ruleObject(r.propertiesRequired&&r.isRequired(t)),label:"".concat(r.properties[t].title),as:""},{default:l.withCtx((function(e){var a=e.field,n=e.handleChange;return[l.createVNode(c,{"model-value":a.value,"field-name":"".concat(r.fieldName,"/").concat(t),"is-last-child":o===Object.keys(r.properties).length-1,type:r.properties[t].type,schema:r.properties[t],errors:r.errors,"reference-model":r.referenceModel[t]||{},"onUpdate:modelValue":n},null,8,["model-value","field-name","is-last-child","type","schema","errors","reference-model","onUpdate:modelValue"])]})),_:2},1032,["modelValue","onUpdate:modelValue","name","rules","label"])):"array"===r.properties[t].type?(l.openBlock(),l.createBlock(u,{key:t+"-array",modelValue:r.modelData[t],"onUpdate:modelValue":function(e){return r.modelData[t]=e},name:"".concat(r.fieldName,"/").concat(t),rules:r.ruleArray(r.propertiesRequired&&r.isRequired(t)),label:"".concat(r.properties[t].title),as:""},{default:l.withCtx((function(e){var a=e.field,n=e.handleChange;return[l.createVNode(p,{"model-value":a.value,"field-name":"".concat(r.fieldName,"/").concat(t),"is-last-child":o===Object.keys(r.properties).length-1,type:r.properties[t].type,schema:r.properties[t],errors:r.errors,"reference-model":r.referenceModel[t]||[],"onUpdate:modelValue":n},null,8,["model-value","field-name","is-last-child","type","schema","errors","reference-model","onUpdate:modelValue"])]})),_:2},1032,["modelValue","onUpdate:modelValue","name","rules","label"])):(l.openBlock(),l.createBlock(u,{key:t,modelValue:r.modelData[t],"onUpdate:modelValue":function(e){return r.modelData[t]=e},rules:r.ruleString(r.propertiesRequired&&r.isRequired(t)),name:"".concat(r.fieldName,"/").concat(t),label:"".concat(r.properties[t].title),as:""},{default:l.withCtx((function(o){var a=o.field,n=o.handleChange,d=o.errors,i=o.meta;return[(l.openBlock(),l.createBlock(s,{key:t,"model-value":a.value,type:r.properties[t].type,schema:r.properties[t],"validation-ob":e._({errors:d},i),"reference-model":r.referenceModel[t]||"","onUpdate:modelValue":n},null,8,["model-value","type","schema","validation-ob","reference-model","onUpdate:modelValue"]))]})),_:2},1032,["modelValue","onUpdate:modelValue","rules","name","label"]))],64)})),256))],2)},exports.default=t; \ No newline at end of file diff --git a/dist/ObjectForm-757bb3e3.js b/dist/ObjectForm-757bb3e3.js deleted file mode 100644 index 07fbf42..0000000 --- a/dist/ObjectForm-757bb3e3.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";var e=require("./entry-5480607d.js"),r=require("./fold-e405c002.js"),l=require("vue"),t=l.defineComponent({name:"ObjectForm",mixins:[e.m,r.f,e.v],props:{properties:{type:Object,default:function(){return{}}},fieldName:{type:String,default:""},errors:{type:Object,default:function(){return{}}},title:{type:String,default:""},modelValue:{type:Object,default:function(){return{}}},required:{type:Array,default:function(){return[]}},level:{type:Number,default:1}},computed:{propertiesRequired:function(){return this.isSelfRequired||Object.keys(this.modelData).length>0}},methods:{isRequired:function(e){return!!this.required.find((function(r){return r===e}))}}});t.render=function(r,t,o,a,n,d){var i=l.resolveComponent("object-form-wrapper"),u=l.resolveComponent("v-field"),c=l.resolveComponent("key-value-pairs"),p=l.resolveComponent("array-input"),s=l.resolveComponent("simple-input");return l.openBlock(),l.createElementBlock("div",{class:l.normalizeClass(["mb-15",{"is-hidden":r.isSelfFolded}])},[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(Object.keys(r.properties),(function(t,o){return l.openBlock(),l.createElementBlock(l.Fragment,null,["object"===r.properties[t].type?(l.openBlock(),l.createBlock(u,{key:t+"-object",modelValue:r.modelData[t],"onUpdate:modelValue":function(e){return r.modelData[t]=e},name:"".concat(r.fieldName,"/").concat(t),rules:r.ruleObject(r.propertiesRequired&&r.isRequired(t)),label:"".concat(r.properties[t].title),as:""},{default:l.withCtx((function(e){var a=e.field,n=e.handleChange;return[l.createVNode(i,{"model-value":a.value,"field-name":"".concat(r.fieldName,"/").concat(t),"expand-form":r.level<2,"is-last-child":o===Object.keys(r.properties).length-1,level:r.level+1,type:r.properties[t].type,"is-self-required":r.propertiesRequired&&r.isRequired(t),schema:r.properties[t],errors:r.errors,"reference-model":r.referenceModel[t]||{},showRootTab:!1,"onUpdate:modelValue":n},null,8,["model-value","field-name","expand-form","is-last-child","level","type","is-self-required","schema","errors","reference-model","onUpdate:modelValue"])]})),_:2},1032,["modelValue","onUpdate:modelValue","name","rules","label"])):"key-value-pairs"===r.properties[t].type?(l.openBlock(),l.createBlock(u,{key:t+"-key-value-pairs",modelValue:r.modelData[t],"onUpdate:modelValue":function(e){return r.modelData[t]=e},name:"".concat(r.fieldName,"/").concat(t),rules:r.ruleObject(r.propertiesRequired&&r.isRequired(t)),label:"".concat(r.properties[t].title),as:""},{default:l.withCtx((function(e){var a=e.field,n=e.handleChange;return[l.createVNode(c,{"model-value":a.value,"field-name":"".concat(r.fieldName,"/").concat(t),"is-last-child":o===Object.keys(r.properties).length-1,type:r.properties[t].type,schema:r.properties[t],errors:r.errors,"reference-model":r.referenceModel[t]||{},"onUpdate:modelValue":n},null,8,["model-value","field-name","is-last-child","type","schema","errors","reference-model","onUpdate:modelValue"])]})),_:2},1032,["modelValue","onUpdate:modelValue","name","rules","label"])):"array"===r.properties[t].type?(l.openBlock(),l.createBlock(u,{key:t+"-array",modelValue:r.modelData[t],"onUpdate:modelValue":function(e){return r.modelData[t]=e},name:"".concat(r.fieldName,"/").concat(t),rules:r.ruleArray(r.propertiesRequired&&r.isRequired(t)),label:"".concat(r.properties[t].title),as:""},{default:l.withCtx((function(e){var a=e.field,n=e.handleChange;return[l.createVNode(p,{"model-value":a.value,"field-name":"".concat(r.fieldName,"/").concat(t),"is-last-child":o===Object.keys(r.properties).length-1,type:r.properties[t].type,schema:r.properties[t],errors:r.errors,"reference-model":r.referenceModel[t]||[],"onUpdate:modelValue":n},null,8,["model-value","field-name","is-last-child","type","schema","errors","reference-model","onUpdate:modelValue"])]})),_:2},1032,["modelValue","onUpdate:modelValue","name","rules","label"])):(l.openBlock(),l.createBlock(u,{key:t,modelValue:r.modelData[t],"onUpdate:modelValue":function(e){return r.modelData[t]=e},rules:r.ruleString(r.propertiesRequired&&r.isRequired(t)),name:"".concat(r.fieldName,"/").concat(t),label:"".concat(r.properties[t].title),as:""},{default:l.withCtx((function(o){var a=o.field,n=o.handleChange,d=o.errors,i=o.meta;return[(l.openBlock(),l.createBlock(s,{key:t,"model-value":a.value,type:r.properties[t].type,schema:r.properties[t],"validation-ob":e._({errors:d},i),"reference-model":r.referenceModel[t]||"","onUpdate:modelValue":n},null,8,["model-value","type","schema","validation-ob","reference-model","onUpdate:modelValue"]))]})),_:2},1032,["modelValue","onUpdate:modelValue","rules","name","label"]))],64)})),256))],2)},exports.default=t; \ No newline at end of file diff --git a/dist/ObjectForm-910ddc19.js b/dist/ObjectForm-910ddc19.js deleted file mode 100644 index 5764e91..0000000 --- a/dist/ObjectForm-910ddc19.js +++ /dev/null @@ -1 +0,0 @@ -import{m as e,v as r,_ as l}from"./entry-a6929ab2.js";import{f as a}from"./fold-ab363a66.js";import{defineComponent as t,resolveComponent as o,openBlock as n,createElementBlock as d,normalizeClass as i,Fragment as u,renderList as s,createBlock as p,withCtx as m,createVNode as c}from"vue";var f=t({name:"ObjectForm",mixins:[e,a,r],props:{properties:{type:Object,default:function(){return{}}},fieldName:{type:String,default:""},errors:{type:Object,default:function(){return{}}},title:{type:String,default:""},modelValue:{type:Object,default:function(){return{}}},required:{type:Array,default:function(){return[]}},level:{type:Number,default:1}},computed:{propertiesRequired:function(){return this.isSelfRequired||Object.keys(this.modelData).length>0}},methods:{isRequired:function(e){return!!this.required.find((function(r){return r===e}))}}});f.render=function(e,r,a,t,f,y){var h=o("object-form-wrapper"),v=o("v-field"),b=o("key-value-pairs"),V=o("array-input"),q=o("simple-input");return n(),d("div",{class:i(["mb-15",{"is-hidden":e.isSelfFolded}])},[(n(!0),d(u,null,s(Object.keys(e.properties),(function(r,a){return n(),d(u,null,["object"===e.properties[r].type?(n(),p(v,{key:r+"-object",modelValue:e.modelData[r],"onUpdate:modelValue":function(l){return e.modelData[r]=l},name:"".concat(e.fieldName,"/").concat(r),rules:e.ruleObject(e.propertiesRequired&&e.isRequired(r)),label:"".concat(e.properties[r].title),as:""},{default:m((function(l){var t=l.field,o=l.handleChange;return[c(h,{"model-value":t.value,"field-name":"".concat(e.fieldName,"/").concat(r),"expand-form":e.level<2,"is-last-child":a===Object.keys(e.properties).length-1,level:e.level+1,type:e.properties[r].type,"is-self-required":e.propertiesRequired&&e.isRequired(r),schema:e.properties[r],errors:e.errors,"reference-model":e.referenceModel[r]||{},showRootTab:!1,"onUpdate:modelValue":o},null,8,["model-value","field-name","expand-form","is-last-child","level","type","is-self-required","schema","errors","reference-model","onUpdate:modelValue"])]})),_:2},1032,["modelValue","onUpdate:modelValue","name","rules","label"])):"key-value-pairs"===e.properties[r].type?(n(),p(v,{key:r+"-key-value-pairs",modelValue:e.modelData[r],"onUpdate:modelValue":function(l){return e.modelData[r]=l},name:"".concat(e.fieldName,"/").concat(r),rules:e.ruleObject(e.propertiesRequired&&e.isRequired(r)),label:"".concat(e.properties[r].title),as:""},{default:m((function(l){var t=l.field,o=l.handleChange;return[c(b,{"model-value":t.value,"field-name":"".concat(e.fieldName,"/").concat(r),"is-last-child":a===Object.keys(e.properties).length-1,type:e.properties[r].type,schema:e.properties[r],errors:e.errors,"reference-model":e.referenceModel[r]||{},"onUpdate:modelValue":o},null,8,["model-value","field-name","is-last-child","type","schema","errors","reference-model","onUpdate:modelValue"])]})),_:2},1032,["modelValue","onUpdate:modelValue","name","rules","label"])):"array"===e.properties[r].type?(n(),p(v,{key:r+"-array",modelValue:e.modelData[r],"onUpdate:modelValue":function(l){return e.modelData[r]=l},name:"".concat(e.fieldName,"/").concat(r),rules:e.ruleArray(e.propertiesRequired&&e.isRequired(r)),label:"".concat(e.properties[r].title),as:""},{default:m((function(l){var t=l.field,o=l.handleChange;return[c(V,{"model-value":t.value,"field-name":"".concat(e.fieldName,"/").concat(r),"is-last-child":a===Object.keys(e.properties).length-1,type:e.properties[r].type,schema:e.properties[r],errors:e.errors,"reference-model":e.referenceModel[r]||[],"onUpdate:modelValue":o},null,8,["model-value","field-name","is-last-child","type","schema","errors","reference-model","onUpdate:modelValue"])]})),_:2},1032,["modelValue","onUpdate:modelValue","name","rules","label"])):(n(),p(v,{key:r,modelValue:e.modelData[r],"onUpdate:modelValue":function(l){return e.modelData[r]=l},rules:e.ruleString(e.propertiesRequired&&e.isRequired(r)),name:"".concat(e.fieldName,"/").concat(r),label:"".concat(e.properties[r].title),as:""},{default:m((function(a){var t=a.field,o=a.handleChange,d=a.errors,i=a.meta;return[(n(),p(q,{key:r,"model-value":t.value,type:e.properties[r].type,schema:e.properties[r],"validation-ob":l({errors:d},i),"reference-model":e.referenceModel[r]||"","onUpdate:modelValue":o},null,8,["model-value","type","schema","validation-ob","reference-model","onUpdate:modelValue"]))]})),_:2},1032,["modelValue","onUpdate:modelValue","rules","name","label"]))],64)})),256))],2)};export{f as default}; \ No newline at end of file diff --git a/dist/ObjectForm-a92a1e1d.js b/dist/ObjectForm-a92a1e1d.js deleted file mode 100644 index 04211d4..0000000 --- a/dist/ObjectForm-a92a1e1d.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";var e=require("./entry-c1fde67d.js"),r=require("./fold-e405c002.js"),l=require("vue"),t=l.defineComponent({name:"ObjectForm",mixins:[e.m,r.f,e.v],props:{properties:{type:Object,default:function(){return{}}},fieldName:{type:String,default:""},errors:{type:Object,default:function(){return{}}},title:{type:String,default:""},modelValue:{type:Object,default:function(){return{}}},required:{type:Array,default:function(){return[]}},level:{type:Number,default:1}},computed:{propertiesRequired:function(){return this.isSelfRequired||Object.keys(this.modelData).length>0}},methods:{isRequired:function(e){return!!this.required.find((function(r){return r===e}))}}});t.render=function(r,t,o,a,n,d){var i=l.resolveComponent("object-form-wrapper"),u=l.resolveComponent("v-field"),c=l.resolveComponent("key-value-pairs"),p=l.resolveComponent("array-input"),s=l.resolveComponent("simple-input");return l.openBlock(),l.createElementBlock("div",{class:l.normalizeClass(["mb-15",{"is-hidden":r.isSelfFolded}])},[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(Object.keys(r.properties),(function(t,o){return l.openBlock(),l.createElementBlock(l.Fragment,null,["object"===r.properties[t].type?(l.openBlock(),l.createBlock(u,{key:t+"-object",modelValue:r.modelData[t],"onUpdate:modelValue":function(e){return r.modelData[t]=e},name:"".concat(r.fieldName,"/").concat(t),rules:r.ruleObject(r.propertiesRequired&&r.isRequired(t)),label:"".concat(r.properties[t].title),as:""},{default:l.withCtx((function(e){var a=e.field,n=e.handleChange;return[l.createVNode(i,{"model-value":a.value,"field-name":"".concat(r.fieldName,"/").concat(t),"expand-form":r.level<2,"is-last-child":o===Object.keys(r.properties).length-1,level:r.level+1,type:r.properties[t].type,"is-self-required":r.propertiesRequired&&r.isRequired(t),schema:r.properties[t],errors:r.errors,"reference-model":r.referenceModel[t]||{},showRootTab:!1,"onUpdate:modelValue":n},null,8,["model-value","field-name","expand-form","is-last-child","level","type","is-self-required","schema","errors","reference-model","onUpdate:modelValue"])]})),_:2},1032,["modelValue","onUpdate:modelValue","name","rules","label"])):"key-value-pairs"===r.properties[t].type?(l.openBlock(),l.createBlock(u,{key:t+"-key-value-pairs",modelValue:r.modelData[t],"onUpdate:modelValue":function(e){return r.modelData[t]=e},name:"".concat(r.fieldName,"/").concat(t),rules:r.ruleObject(r.propertiesRequired&&r.isRequired(t)),label:"".concat(r.properties[t].title),as:""},{default:l.withCtx((function(e){var a=e.field,n=e.handleChange;return[l.createVNode(c,{"model-value":a.value,"field-name":"".concat(r.fieldName,"/").concat(t),"is-last-child":o===Object.keys(r.properties).length-1,type:r.properties[t].type,schema:r.properties[t],errors:r.errors,"reference-model":r.referenceModel[t]||{},"onUpdate:modelValue":n},null,8,["model-value","field-name","is-last-child","type","schema","errors","reference-model","onUpdate:modelValue"])]})),_:2},1032,["modelValue","onUpdate:modelValue","name","rules","label"])):"array"===r.properties[t].type?(l.openBlock(),l.createBlock(u,{key:t+"-array",modelValue:r.modelData[t],"onUpdate:modelValue":function(e){return r.modelData[t]=e},name:"".concat(r.fieldName,"/").concat(t),rules:r.ruleArray(r.propertiesRequired&&r.isRequired(t)),label:"".concat(r.properties[t].title),as:""},{default:l.withCtx((function(e){var a=e.field,n=e.handleChange;return[l.createVNode(p,{"model-value":a.value,"field-name":"".concat(r.fieldName,"/").concat(t),"is-last-child":o===Object.keys(r.properties).length-1,type:r.properties[t].type,schema:r.properties[t],errors:r.errors,"reference-model":r.referenceModel[t]||[],"onUpdate:modelValue":n},null,8,["model-value","field-name","is-last-child","type","schema","errors","reference-model","onUpdate:modelValue"])]})),_:2},1032,["modelValue","onUpdate:modelValue","name","rules","label"])):(l.openBlock(),l.createBlock(u,{key:t,modelValue:r.modelData[t],"onUpdate:modelValue":function(e){return r.modelData[t]=e},rules:r.ruleString(r.propertiesRequired&&r.isRequired(t)),name:"".concat(r.fieldName,"/").concat(t),label:"".concat(r.properties[t].title),as:""},{default:l.withCtx((function(o){var a=o.field,n=o.handleChange,d=o.errors,i=o.meta;return[(l.openBlock(),l.createBlock(s,{key:t,"model-value":a.value,type:r.properties[t].type,schema:r.properties[t],"validation-ob":e._({errors:d},i),"reference-model":r.referenceModel[t]||"","onUpdate:modelValue":n},null,8,["model-value","type","schema","validation-ob","reference-model","onUpdate:modelValue"]))]})),_:2},1032,["modelValue","onUpdate:modelValue","rules","name","label"]))],64)})),256))],2)},exports.default=t; \ No newline at end of file diff --git a/dist/ObjectForm-c6b72f9a.js b/dist/ObjectForm-c6b72f9a.js deleted file mode 100644 index b0620d5..0000000 --- a/dist/ObjectForm-c6b72f9a.js +++ /dev/null @@ -1 +0,0 @@ -import{m as e,v as r,_ as l}from"./entry-2ace4904.js";import{f as a}from"./fold-ab363a66.js";import{defineComponent as t,resolveComponent as o,openBlock as n,createElementBlock as d,normalizeClass as i,Fragment as u,renderList as p,createBlock as s,withCtx as m,createVNode as c}from"vue";var f=t({name:"ObjectForm",mixins:[e,a,r],props:{properties:{type:Object,default:function(){return{}}},fieldName:{type:String,default:""},errors:{type:Object,default:function(){return{}}},title:{type:String,default:""},modelValue:{type:Object,default:function(){return{}}},required:{type:Array,default:function(){return[]}},level:{type:Number,default:1}},computed:{propertiesRequired:function(){return this.isSelfRequired||Object.keys(this.modelData).length>0}},methods:{isRequired:function(e){return!!this.required.find((function(r){return r===e}))}}});f.render=function(e,r,a,t,f,y){var v=o("object-form-wrapper"),h=o("v-field"),b=o("key-value-pairs"),V=o("array-input"),q=o("simple-input");return n(),d("div",{class:i(["mb-15",{"is-hidden":e.isSelfFolded}])},[(n(!0),d(u,null,p(Object.keys(e.properties),(function(r,a){return n(),d(u,null,["object"===e.properties[r].type?(n(),s(h,{key:r+"-object",modelValue:e.modelData[r],"onUpdate:modelValue":function(l){return e.modelData[r]=l},name:"".concat(e.fieldName,"/").concat(r),rules:e.ruleObject(e.propertiesRequired&&e.isRequired(r)),label:"".concat(e.properties[r].title),as:""},{default:m((function(l){var t=l.field,o=l.handleChange;return[c(v,{"model-value":t.value,"field-name":"".concat(e.fieldName,"/").concat(r),"expand-form":e.level<2,"is-last-child":a===Object.keys(e.properties).length-1,level:e.level+1,type:e.properties[r].type,"is-self-required":e.propertiesRequired&&e.isRequired(r),schema:e.properties[r],errors:e.errors,"reference-model":e.referenceModel[r]||{},"onUpdate:modelValue":o},null,8,["model-value","field-name","expand-form","is-last-child","level","type","is-self-required","schema","errors","reference-model","onUpdate:modelValue"])]})),_:2},1032,["modelValue","onUpdate:modelValue","name","rules","label"])):"key-value-pairs"===e.properties[r].type?(n(),s(h,{key:r+"-key-value-pairs",modelValue:e.modelData[r],"onUpdate:modelValue":function(l){return e.modelData[r]=l},name:"".concat(e.fieldName,"/").concat(r),rules:e.ruleObject(e.propertiesRequired&&e.isRequired(r)),label:"".concat(e.properties[r].title),as:""},{default:m((function(l){var t=l.field,o=l.handleChange;return[c(b,{"model-value":t.value,"field-name":"".concat(e.fieldName,"/").concat(r),"is-last-child":a===Object.keys(e.properties).length-1,type:e.properties[r].type,schema:e.properties[r],errors:e.errors,"reference-model":e.referenceModel[r]||{},"onUpdate:modelValue":o},null,8,["model-value","field-name","is-last-child","type","schema","errors","reference-model","onUpdate:modelValue"])]})),_:2},1032,["modelValue","onUpdate:modelValue","name","rules","label"])):"array"===e.properties[r].type?(n(),s(h,{key:r+"-array",modelValue:e.modelData[r],"onUpdate:modelValue":function(l){return e.modelData[r]=l},name:"".concat(e.fieldName,"/").concat(r),rules:e.ruleArray(e.propertiesRequired&&e.isRequired(r)),label:"".concat(e.properties[r].title),as:""},{default:m((function(l){var t=l.field,o=l.handleChange;return[c(V,{"model-value":t.value,"field-name":"".concat(e.fieldName,"/").concat(r),"is-last-child":a===Object.keys(e.properties).length-1,type:e.properties[r].type,schema:e.properties[r],errors:e.errors,"reference-model":e.referenceModel[r]||[],"onUpdate:modelValue":o},null,8,["model-value","field-name","is-last-child","type","schema","errors","reference-model","onUpdate:modelValue"])]})),_:2},1032,["modelValue","onUpdate:modelValue","name","rules","label"])):(n(),s(h,{key:r,modelValue:e.modelData[r],"onUpdate:modelValue":function(l){return e.modelData[r]=l},rules:e.ruleString(e.propertiesRequired&&e.isRequired(r)),name:"".concat(e.fieldName,"/").concat(r),label:"".concat(e.properties[r].title),as:""},{default:m((function(a){var t=a.field,o=a.handleChange,d=a.errors,i=a.meta;return[(n(),s(q,{key:r,"model-value":t.value,type:e.properties[r].type,schema:e.properties[r],"validation-ob":l({errors:d},i),"reference-model":e.referenceModel[r]||"","onUpdate:modelValue":o},null,8,["model-value","type","schema","validation-ob","reference-model","onUpdate:modelValue"]))]})),_:2},1032,["modelValue","onUpdate:modelValue","rules","name","label"]))],64)})),256))],2)};export{f as default}; \ No newline at end of file diff --git a/dist/ObjectForm-e6fabd17.js b/dist/ObjectForm-e6fabd17.js deleted file mode 100644 index 575cd38..0000000 --- a/dist/ObjectForm-e6fabd17.js +++ /dev/null @@ -1 +0,0 @@ -import{m as e,v as r,_ as l}from"./entry-f11f5a48.js";import{f as a}from"./fold-ab363a66.js";import{defineComponent as t,resolveComponent as o,openBlock as n,createElementBlock as d,normalizeClass as i,Fragment as u,renderList as s,createBlock as p,withCtx as m,createVNode as c}from"vue";var f=t({name:"ObjectForm",mixins:[e,a,r],props:{properties:{type:Object,default:function(){return{}}},fieldName:{type:String,default:""},errors:{type:Object,default:function(){return{}}},title:{type:String,default:""},modelValue:{type:Object,default:function(){return{}}},required:{type:Array,default:function(){return[]}},level:{type:Number,default:1}},computed:{propertiesRequired:function(){return this.isSelfRequired||Object.keys(this.modelData).length>0}},methods:{isRequired:function(e){return!!this.required.find((function(r){return r===e}))}}});f.render=function(e,r,a,t,f,y){var h=o("object-form-wrapper"),v=o("v-field"),b=o("key-value-pairs"),V=o("array-input"),q=o("simple-input");return n(),d("div",{class:i(["mb-15",{"is-hidden":e.isSelfFolded}])},[(n(!0),d(u,null,s(Object.keys(e.properties),(function(r,a){return n(),d(u,null,["object"===e.properties[r].type?(n(),p(v,{key:r+"-object",modelValue:e.modelData[r],"onUpdate:modelValue":function(l){return e.modelData[r]=l},name:"".concat(e.fieldName,"/").concat(r),rules:e.ruleObject(e.propertiesRequired&&e.isRequired(r)),label:"".concat(e.properties[r].title),as:""},{default:m((function(l){var t=l.field,o=l.handleChange;return[c(h,{"model-value":t.value,"field-name":"".concat(e.fieldName,"/").concat(r),"expand-form":e.level<2,"is-last-child":a===Object.keys(e.properties).length-1,level:e.level+1,type:e.properties[r].type,"is-self-required":e.propertiesRequired&&e.isRequired(r),schema:e.properties[r],errors:e.errors,"reference-model":e.referenceModel[r]||{},showRootTab:!1,"onUpdate:modelValue":o},null,8,["model-value","field-name","expand-form","is-last-child","level","type","is-self-required","schema","errors","reference-model","onUpdate:modelValue"])]})),_:2},1032,["modelValue","onUpdate:modelValue","name","rules","label"])):"key-value-pairs"===e.properties[r].type?(n(),p(v,{key:r+"-key-value-pairs",modelValue:e.modelData[r],"onUpdate:modelValue":function(l){return e.modelData[r]=l},name:"".concat(e.fieldName,"/").concat(r),rules:e.ruleObject(e.propertiesRequired&&e.isRequired(r)),label:"".concat(e.properties[r].title),as:""},{default:m((function(l){var t=l.field,o=l.handleChange;return[c(b,{"model-value":t.value,"field-name":"".concat(e.fieldName,"/").concat(r),"is-last-child":a===Object.keys(e.properties).length-1,type:e.properties[r].type,schema:e.properties[r],errors:e.errors,"reference-model":e.referenceModel[r]||{},"onUpdate:modelValue":o},null,8,["model-value","field-name","is-last-child","type","schema","errors","reference-model","onUpdate:modelValue"])]})),_:2},1032,["modelValue","onUpdate:modelValue","name","rules","label"])):"array"===e.properties[r].type?(n(),p(v,{key:r+"-array",modelValue:e.modelData[r],"onUpdate:modelValue":function(l){return e.modelData[r]=l},name:"".concat(e.fieldName,"/").concat(r),rules:e.ruleArray(e.propertiesRequired&&e.isRequired(r)),label:"".concat(e.properties[r].title),as:""},{default:m((function(l){var t=l.field,o=l.handleChange;return[c(V,{"model-value":t.value,"field-name":"".concat(e.fieldName,"/").concat(r),"is-last-child":a===Object.keys(e.properties).length-1,type:e.properties[r].type,schema:e.properties[r],errors:e.errors,"reference-model":e.referenceModel[r]||[],"onUpdate:modelValue":o},null,8,["model-value","field-name","is-last-child","type","schema","errors","reference-model","onUpdate:modelValue"])]})),_:2},1032,["modelValue","onUpdate:modelValue","name","rules","label"])):(n(),p(v,{key:r,modelValue:e.modelData[r],"onUpdate:modelValue":function(l){return e.modelData[r]=l},rules:e.ruleString(e.propertiesRequired&&e.isRequired(r)),name:"".concat(e.fieldName,"/").concat(r),label:"".concat(e.properties[r].title),as:""},{default:m((function(a){var t=a.field,o=a.handleChange,d=a.errors,i=a.meta;return[(n(),p(q,{key:r,"model-value":t.value,type:e.properties[r].type,schema:e.properties[r],"validation-ob":l({errors:d},i),"reference-model":e.referenceModel[r]||"","onUpdate:modelValue":o},null,8,["model-value","type","schema","validation-ob","reference-model","onUpdate:modelValue"]))]})),_:2},1032,["modelValue","onUpdate:modelValue","rules","name","label"]))],64)})),256))],2)};export{f as default}; \ No newline at end of file diff --git a/dist/ObjectForm-pvbq9e18.js b/dist/ObjectForm-pvbq9e18.js new file mode 100644 index 0000000..a6dc97b --- /dev/null +++ b/dist/ObjectForm-pvbq9e18.js @@ -0,0 +1,153 @@ +import { _ as U, m as R, v as c } from "./entry-CiSu1Krq.js"; +import { f as O } from "./fold-D-kLFRsg.js"; +import { resolveComponent as d, openBlock as a, createElementBlock as m, normalizeClass as N, Fragment as f, renderList as D, createBlock as s, withCtx as i, createVNode as n, defineComponent as g } from "vue"; +const S = g({ + name: "ObjectForm", + mixins: [R, O, c], + props: { + properties: { + type: Object, + default: () => ({}) + }, + fieldName: { + type: String, + default: "" + }, + errors: { + type: Object, + default: () => ({}) + }, + title: { + type: String, + default: "" + }, + modelValue: { + type: Object, + default: () => ({}) + }, + required: { + type: Array, + default: () => [] + }, + level: { + type: Number, + default: 1 + } + }, + computed: { + // for calculating if the property is actually required or not (Based on parent object self requirement) + propertiesRequired() { + return this.isSelfRequired || Object.keys(this.modelData).length > 0; + } + }, + methods: { + isRequired(e) { + return !!this.required.find((u) => u === e); + } + } +}); +function w(e, v, u, C, F, M) { + const b = d("object-form-wrapper"), p = d("v-field"), h = d("key-value-pairs"), V = d("array-input"), $ = d("simple-input"); + return a(), m("div", { + class: N(["vof-nested-fields", { "vof-hidden": e.isSelfFolded }]) + }, [ + (a(!0), m(f, null, D(Object.keys(e.properties), (l, t) => (a(), m(f, null, [ + e.properties[l].type === "object" ? (a(), s(p, { + key: l + "-object", + modelValue: e.modelData[l], + "onUpdate:modelValue": (r) => e.modelData[l] = r, + name: `${e.fieldName}/${l}`, + rules: e.ruleObject(e.propertiesRequired && e.isRequired(l)), + label: `${e.properties[l].title}`, + as: "" + }, { + default: i(({ field: r, handleChange: o }) => [ + n(b, { + "model-value": r.value, + "field-name": `${e.fieldName}/${l}`, + "expand-form": e.level < 2, + "is-last-child": t === Object.keys(e.properties).length - 1, + level: e.level + 1, + type: e.properties[l].type, + "is-self-required": e.propertiesRequired && e.isRequired(l), + schema: e.properties[l], + errors: e.errors, + "reference-model": e.referenceModel[l] || {}, + showRootTab: !1, + "onUpdate:modelValue": o + }, null, 8, ["model-value", "field-name", "expand-form", "is-last-child", "level", "type", "is-self-required", "schema", "errors", "reference-model", "onUpdate:modelValue"]) + ]), + _: 2 + }, 1032, ["modelValue", "onUpdate:modelValue", "name", "rules", "label"])) : e.properties[l].type === "key-value-pairs" ? (a(), s(p, { + key: l + "-key-value-pairs", + modelValue: e.modelData[l], + "onUpdate:modelValue": (r) => e.modelData[l] = r, + name: `${e.fieldName}/${l}`, + rules: e.ruleObject(e.propertiesRequired && e.isRequired(l)), + label: `${e.properties[l].title}`, + as: "" + }, { + default: i(({ field: r, handleChange: o }) => [ + n(h, { + "model-value": r.value, + "field-name": `${e.fieldName}/${l}`, + "is-last-child": t === Object.keys(e.properties).length - 1, + type: e.properties[l].type, + schema: e.properties[l], + errors: e.errors, + "reference-model": e.referenceModel[l] || {}, + "onUpdate:modelValue": o + }, null, 8, ["model-value", "field-name", "is-last-child", "type", "schema", "errors", "reference-model", "onUpdate:modelValue"]) + ]), + _: 2 + }, 1032, ["modelValue", "onUpdate:modelValue", "name", "rules", "label"])) : e.properties[l].type === "array" ? (a(), s(p, { + key: l + "-array", + modelValue: e.modelData[l], + "onUpdate:modelValue": (r) => e.modelData[l] = r, + name: `${e.fieldName}/${l}`, + rules: e.ruleArray(e.propertiesRequired && e.isRequired(l)), + label: `${e.properties[l].title}`, + as: "" + }, { + default: i(({ field: r, handleChange: o }) => [ + n(V, { + "model-value": r.value, + "field-name": `${e.fieldName}/${l}`, + "is-last-child": t === Object.keys(e.properties).length - 1, + type: e.properties[l].type, + schema: e.properties[l], + errors: e.errors, + "reference-model": e.referenceModel[l] || [], + "onUpdate:modelValue": o + }, null, 8, ["model-value", "field-name", "is-last-child", "type", "schema", "errors", "reference-model", "onUpdate:modelValue"]) + ]), + _: 2 + }, 1032, ["modelValue", "onUpdate:modelValue", "name", "rules", "label"])) : (a(), s(p, { + key: l, + modelValue: e.modelData[l], + "onUpdate:modelValue": (r) => e.modelData[l] = r, + rules: e.ruleString(e.propertiesRequired && e.isRequired(l)), + name: `${e.fieldName}/${l}`, + label: `${e.properties[l].title}`, + as: "" + }, { + default: i(({ field: r, handleChange: o, errors: q, meta: j }) => [ + (a(), s($, { + key: l, + "model-value": r.value, + type: e.properties[l].type, + schema: e.properties[l], + "validation-ob": { errors: q, ...j }, + "reference-model": e.referenceModel[l] || "", + "onUpdate:modelValue": o + }, null, 8, ["model-value", "type", "schema", "validation-ob", "reference-model", "onUpdate:modelValue"])) + ]), + _: 2 + }, 1032, ["modelValue", "onUpdate:modelValue", "rules", "name", "label"])) + ], 64))), 256)) + ], 2); +} +const E = /* @__PURE__ */ U(S, [["render", w]]); +export { + E as default +}; diff --git a/dist/ObjectFormWrapper-66e8b9cd.js b/dist/ObjectFormWrapper-66e8b9cd.js deleted file mode 100644 index e74f8ad..0000000 --- a/dist/ObjectFormWrapper-66e8b9cd.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";var e=require("./entry-5480607d.js"),o=require("./fold-e405c002.js"),l=require("./tabs-e549bda7.js"),r=require("vue"),t=r.defineComponent({name:"ObjectFormWrapper",mixins:[e.m,o.f,l.t,e.v],props:{schema:{type:Object,default:function(){return{}}},fieldName:{type:String,default:""},modelValue:{type:Object,default:function(){return{}}},isRoot:{type:Boolean,default:!1},errors:{type:Object,default:function(){return{}}},isLastChild:{type:Boolean,default:!1},onlyJson:{type:Boolean,default:!1},level:{type:Number,default:1},showRootTab:{type:Boolean,default:!1}}}),a={class:"nested-header mb-5"},n=["disabled"];t.render=function(e,o,l,t,s,d){var i=r.resolveComponent("component-errors"),c=r.resolveComponent("tabs"),m=r.resolveComponent("object-form"),u=r.resolveComponent("yaml-form"),f=r.resolveComponent("json-form");return r.openBlock(),r.createElementBlock("form",{class:r.normalizeClass(["ac-nested-elements object-form-wrapper",{"stop-line":e.isLastChild,"is-collapsed":e.isFolded}])},[r.createElementVNode("div",a,[r.createElementVNode("h6",{class:"is-flex is-semi-normal",onClick:o[0]||(o[0]=r.withModifiers((function(o){return e.toggleFold()}),["prevent"]))},[e.isRoot?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("div",{key:0,class:"collaps-icon",disabled:"form"!==e.activeTab},[r.createElementVNode("i",{class:r.normalizeClass(["fa",e.isFolded?"fa-plus":"fa-minus"]),"aria-hidden":"true"},null,2)],8,n)),r.createTextVNode(" "+r.toDisplayString(e.schema.title||"Array Item Description")+" ",1),r.createVNode(i,{errors:e.calcFormErrors(e.errors,e.fieldName)},null,8,["errors"])]),e.onlyJson?r.createCommentVNode("",!0):(r.openBlock(),r.createBlock(c,{key:0,modelValue:e.activeTab,"onUpdate:modelValue":o[1]||(o[1]=function(o){return e.activeTab=o}),showTab:e.showRootTab},null,8,["modelValue","showTab"]))]),r.withDirectives((r.openBlock(),r.createBlock(m,{key:"".concat(e.schema.title,"-form"),modelValue:e.modelData,"onUpdate:modelValue":o[2]||(o[2]=function(o){return e.modelData=o}),"field-name":e.fieldName,properties:e.schema.properties,title:e.schema.title,required:e.schema.required,"is-self-required":e.isSelfRequired,type:e.schema.type,level:e.level,"is-self-folded":e.isFolded,"reference-model":e.referenceModel||{},errors:e.errors},null,8,["modelValue","field-name","properties","title","required","is-self-required","type","level","is-self-folded","reference-model","errors"])),[[r.vShow,!e.onlyJson&&"form"===e.activeTab]]),"yaml"===e.activeTab?(r.openBlock(),r.createBlock(u,{key:0,modelValue:e.modelData,"onUpdate:modelValue":o[3]||(o[3]=function(o){return e.modelData=o}),"reference-model":e.referenceModel||{}},null,8,["modelValue","reference-model"])):"json"===e.activeTab?(r.openBlock(),r.createBlock(f,{key:1,modelValue:e.modelData,"onUpdate:modelValue":o[4]||(o[4]=function(o){return e.modelData=o}),"reference-model":e.referenceModel||{}},null,8,["modelValue","reference-model"])):r.createCommentVNode("",!0)],2)},exports.default=t; \ No newline at end of file diff --git a/dist/ObjectFormWrapper-80f4c733.js b/dist/ObjectFormWrapper-80f4c733.js deleted file mode 100644 index aded9af..0000000 --- a/dist/ObjectFormWrapper-80f4c733.js +++ /dev/null @@ -1 +0,0 @@ -import{m as e,v as l}from"./entry-f11f5a48.js";import{f as o}from"./fold-ab363a66.js";import{t as r}from"./tabs-693e2862.js";import{defineComponent as a,resolveComponent as t,openBlock as s,createElementBlock as d,normalizeClass as n,createElementVNode as i,withModifiers as m,createCommentVNode as f,createTextVNode as u,toDisplayString as c,createVNode as p,createBlock as y,withDirectives as b,vShow as v}from"vue";var h=a({name:"ObjectFormWrapper",mixins:[e,o,r,l],props:{schema:{type:Object,default:function(){return{}}},fieldName:{type:String,default:""},modelValue:{type:Object,default:function(){return{}}},isRoot:{type:Boolean,default:!1},errors:{type:Object,default:function(){return{}}},isLastChild:{type:Boolean,default:!1},onlyJson:{type:Boolean,default:!1},level:{type:Number,default:1},showRootTab:{type:Boolean,default:!1}}}),V={class:"nested-header mb-5"},j=["disabled"];h.render=function(e,l,o,r,a,h){var T=t("component-errors"),D=t("tabs"),k=t("object-form"),q=t("yaml-form"),F=t("json-form");return s(),d("form",{class:n(["ac-nested-elements object-form-wrapper",{"stop-line":e.isLastChild,"is-collapsed":e.isFolded}])},[i("div",V,[i("h6",{class:"is-flex is-semi-normal",onClick:l[0]||(l[0]=m((function(l){return e.toggleFold()}),["prevent"]))},[e.isRoot?f("",!0):(s(),d("div",{key:0,class:"collaps-icon",disabled:"form"!==e.activeTab},[i("i",{class:n(["fa",e.isFolded?"fa-plus":"fa-minus"]),"aria-hidden":"true"},null,2)],8,j)),u(" "+c(e.schema.title||"Array Item Description")+" ",1),p(T,{errors:e.calcFormErrors(e.errors,e.fieldName)},null,8,["errors"])]),e.onlyJson?f("",!0):(s(),y(D,{key:0,modelValue:e.activeTab,"onUpdate:modelValue":l[1]||(l[1]=function(l){return e.activeTab=l}),showTab:e.showRootTab},null,8,["modelValue","showTab"]))]),b((s(),y(k,{key:"".concat(e.schema.title,"-form"),modelValue:e.modelData,"onUpdate:modelValue":l[2]||(l[2]=function(l){return e.modelData=l}),"field-name":e.fieldName,properties:e.schema.properties,title:e.schema.title,required:e.schema.required,"is-self-required":e.isSelfRequired,type:e.schema.type,level:e.level,"is-self-folded":e.isFolded,"reference-model":e.referenceModel||{},errors:e.errors},null,8,["modelValue","field-name","properties","title","required","is-self-required","type","level","is-self-folded","reference-model","errors"])),[[v,!e.onlyJson&&"form"===e.activeTab]]),"yaml"===e.activeTab?(s(),y(q,{key:0,modelValue:e.modelData,"onUpdate:modelValue":l[3]||(l[3]=function(l){return e.modelData=l}),"reference-model":e.referenceModel||{}},null,8,["modelValue","reference-model"])):"json"===e.activeTab?(s(),y(F,{key:1,modelValue:e.modelData,"onUpdate:modelValue":l[4]||(l[4]=function(l){return e.modelData=l}),"reference-model":e.referenceModel||{}},null,8,["modelValue","reference-model"])):f("",!0)],2)};export{h as default}; \ No newline at end of file diff --git a/dist/ObjectFormWrapper-D0yT9-aL.js b/dist/ObjectFormWrapper-D0yT9-aL.js new file mode 100644 index 0000000..1b10861 --- /dev/null +++ b/dist/ObjectFormWrapper-D0yT9-aL.js @@ -0,0 +1,113 @@ +import { _ as y, m as v, v as b } from "./entry-CiSu1Krq.js"; +import { f as c } from "./fold-D-kLFRsg.js"; +import { t as V } from "./tabs-DnKM5ngn.js"; +import { resolveComponent as a, openBlock as r, createElementBlock as n, normalizeClass as h, createElementVNode as d, withModifiers as T, createBlock as s, resolveDynamicComponent as j, createCommentVNode as t, createTextVNode as D, toDisplayString as k, createVNode as N, withDirectives as w, vShow as B, defineComponent as C } from "vue"; +import { Plus as F, Minus as q } from "lucide-vue-next"; +const M = C({ + name: "ObjectFormWrapper", + components: { Minus: q, Plus: F }, + mixins: [v, c, V, b], + props: { + schema: { + type: Object, + default: () => ({}) + }, + fieldName: { + type: String, + default: "" + }, + modelValue: { + type: Object, + default: () => ({}) + }, + isRoot: { + type: Boolean, + default: !1 + }, + errors: { + type: Object, + default: () => ({}) + }, + isLastChild: { + type: Boolean, + default: !1 + }, + onlyJson: { + type: Boolean, + default: !1 + }, + level: { + type: Number, + default: 1 + }, + showRootTab: { + type: Boolean, + default: !1 + } + } +}), $ = { class: "vof-nested-header" }, O = ["disabled"]; +function R(e, o, g, S, U, E) { + const m = a("component-errors"), i = a("tabs"), f = a("object-form"), p = a("yaml-form"), u = a("json-form"); + return r(), n("form", { + class: h(["vof-nested", { + "vof-collapsed": e.isFolded + }]) + }, [ + d("div", $, [ + d("h6", { + class: "vof-nested-title", + onClick: o[0] || (o[0] = T((l) => e.toggleFold(), ["prevent"])) + }, [ + e.isRoot ? t("", !0) : (r(), n("div", { + key: 0, + class: "vof-collapse-icon", + disabled: e.activeTab !== "form" + }, [ + (r(), s(j(e.isFolded ? "Plus" : "Minus"), { "aria-hidden": "true" })) + ], 8, O)), + D(" " + k(e.schema.title || "Array Item Description") + " ", 1), + N(m, { + errors: e.calcFormErrors(e.errors, e.fieldName) + }, null, 8, ["errors"]) + ]), + e.onlyJson ? t("", !0) : (r(), s(i, { + key: 0, + modelValue: e.activeTab, + "onUpdate:modelValue": o[1] || (o[1] = (l) => e.activeTab = l), + showTab: e.showRootTab + }, null, 8, ["modelValue", "showTab"])) + ]), + w((r(), s(f, { + key: `${e.schema.title}-form`, + modelValue: e.modelData, + "onUpdate:modelValue": o[2] || (o[2] = (l) => e.modelData = l), + "field-name": e.fieldName, + properties: e.schema.properties, + title: e.schema.title, + required: e.schema.required, + "is-self-required": e.isSelfRequired, + type: e.schema.type, + level: e.level, + "is-self-folded": e.isFolded, + "reference-model": e.referenceModel || {}, + errors: e.errors + }, null, 8, ["modelValue", "field-name", "properties", "title", "required", "is-self-required", "type", "level", "is-self-folded", "reference-model", "errors"])), [ + [B, !e.onlyJson && e.activeTab === "form"] + ]), + e.activeTab === "yaml" ? (r(), s(p, { + key: 0, + modelValue: e.modelData, + "onUpdate:modelValue": o[3] || (o[3] = (l) => e.modelData = l), + "reference-model": e.referenceModel || {} + }, null, 8, ["modelValue", "reference-model"])) : e.activeTab === "json" ? (r(), s(u, { + key: 1, + modelValue: e.modelData, + "onUpdate:modelValue": o[4] || (o[4] = (l) => e.modelData = l), + "reference-model": e.referenceModel || {} + }, null, 8, ["modelValue", "reference-model"])) : t("", !0) + ], 2); +} +const I = /* @__PURE__ */ y(M, [["render", R]]); +export { + I as default +}; diff --git a/dist/ObjectFormWrapper-ce7a5cf0.js b/dist/ObjectFormWrapper-ce7a5cf0.js deleted file mode 100644 index 299d7e7..0000000 --- a/dist/ObjectFormWrapper-ce7a5cf0.js +++ /dev/null @@ -1 +0,0 @@ -import{m as e,v as l}from"./entry-a6929ab2.js";import{f as o}from"./fold-ab363a66.js";import{t as r}from"./tabs-1a22f292.js";import{defineComponent as a,resolveComponent as t,openBlock as s,createElementBlock as d,normalizeClass as n,createElementVNode as i,withModifiers as m,createCommentVNode as f,createTextVNode as u,toDisplayString as c,createVNode as p,createBlock as b,withDirectives as y,vShow as v}from"vue";var h=a({name:"ObjectFormWrapper",mixins:[e,o,r,l],props:{schema:{type:Object,default:function(){return{}}},fieldName:{type:String,default:""},modelValue:{type:Object,default:function(){return{}}},isRoot:{type:Boolean,default:!1},errors:{type:Object,default:function(){return{}}},isLastChild:{type:Boolean,default:!1},onlyJson:{type:Boolean,default:!1},level:{type:Number,default:1},showRootTab:{type:Boolean,default:!1}}}),V={class:"nested-header mb-5"},j=["disabled"];h.render=function(e,l,o,r,a,h){var T=t("component-errors"),D=t("tabs"),k=t("object-form"),q=t("yaml-form"),F=t("json-form");return s(),d("form",{class:n(["ac-nested-elements object-form-wrapper",{"stop-line":e.isLastChild,"is-collapsed":e.isFolded}])},[i("div",V,[i("h6",{class:"is-flex is-semi-normal",onClick:l[0]||(l[0]=m((function(l){return e.toggleFold()}),["prevent"]))},[e.isRoot?f("",!0):(s(),d("div",{key:0,class:"collaps-icon",disabled:"form"!==e.activeTab},[i("i",{class:n(["fa",e.isFolded?"fa-plus":"fa-minus"]),"aria-hidden":"true"},null,2)],8,j)),u(" "+c(e.schema.title||"Array Item Description")+" ",1),p(T,{errors:e.calcFormErrors(e.errors,e.fieldName)},null,8,["errors"])]),e.onlyJson?f("",!0):(s(),b(D,{key:0,modelValue:e.activeTab,"onUpdate:modelValue":l[1]||(l[1]=function(l){return e.activeTab=l}),showTab:e.showRootTab},null,8,["modelValue","showTab"]))]),y((s(),b(k,{key:"".concat(e.schema.title,"-form"),modelValue:e.modelData,"onUpdate:modelValue":l[2]||(l[2]=function(l){return e.modelData=l}),"field-name":e.fieldName,properties:e.schema.properties,title:e.schema.title,required:e.schema.required,"is-self-required":e.isSelfRequired,type:e.schema.type,level:e.level,"is-self-folded":e.isFolded,"reference-model":e.referenceModel||{},errors:e.errors},null,8,["modelValue","field-name","properties","title","required","is-self-required","type","level","is-self-folded","reference-model","errors"])),[[v,!e.onlyJson&&"form"===e.activeTab]]),"yaml"===e.activeTab?(s(),b(q,{key:0,modelValue:e.modelData,"onUpdate:modelValue":l[3]||(l[3]=function(l){return e.modelData=l}),"reference-model":e.referenceModel||{}},null,8,["modelValue","reference-model"])):"json"===e.activeTab?(s(),b(F,{key:1,modelValue:e.modelData,"onUpdate:modelValue":l[4]||(l[4]=function(l){return e.modelData=l}),"reference-model":e.referenceModel||{}},null,8,["modelValue","reference-model"])):f("",!0)],2)};export{h as default}; \ No newline at end of file diff --git a/dist/ObjectFormWrapper-cea98462.js b/dist/ObjectFormWrapper-cea98462.js deleted file mode 100644 index 045204e..0000000 --- a/dist/ObjectFormWrapper-cea98462.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";var e=require("./entry-c1fde67d.js"),o=require("./fold-e405c002.js"),l=require("./tabs-f0820640.js"),r=require("vue"),t=r.defineComponent({name:"ObjectFormWrapper",mixins:[e.m,o.f,l.t,e.v],props:{schema:{type:Object,default:function(){return{}}},fieldName:{type:String,default:""},modelValue:{type:Object,default:function(){return{}}},isRoot:{type:Boolean,default:!1},errors:{type:Object,default:function(){return{}}},isLastChild:{type:Boolean,default:!1},onlyJson:{type:Boolean,default:!1},level:{type:Number,default:1},showRootTab:{type:Boolean,default:!1}}}),a={class:"nested-header mb-5"},n=["disabled"];t.render=function(e,o,l,t,s,d){var i=r.resolveComponent("component-errors"),c=r.resolveComponent("tabs"),m=r.resolveComponent("object-form"),u=r.resolveComponent("yaml-form"),f=r.resolveComponent("json-form");return r.openBlock(),r.createElementBlock("form",{class:r.normalizeClass(["ac-nested-elements object-form-wrapper",{"stop-line":e.isLastChild,"is-collapsed":e.isFolded}])},[r.createElementVNode("div",a,[r.createElementVNode("h6",{class:"is-flex is-semi-normal",onClick:o[0]||(o[0]=r.withModifiers((function(o){return e.toggleFold()}),["prevent"]))},[e.isRoot?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("div",{key:0,class:"collaps-icon",disabled:"form"!==e.activeTab},[r.createElementVNode("i",{class:r.normalizeClass(["fa",e.isFolded?"fa-plus":"fa-minus"]),"aria-hidden":"true"},null,2)],8,n)),r.createTextVNode(" "+r.toDisplayString(e.schema.title||"Array Item Description")+" ",1),r.createVNode(i,{errors:e.calcFormErrors(e.errors,e.fieldName)},null,8,["errors"])]),e.onlyJson?r.createCommentVNode("",!0):(r.openBlock(),r.createBlock(c,{key:0,modelValue:e.activeTab,"onUpdate:modelValue":o[1]||(o[1]=function(o){return e.activeTab=o}),showTab:e.showRootTab},null,8,["modelValue","showTab"]))]),r.withDirectives((r.openBlock(),r.createBlock(m,{key:"".concat(e.schema.title,"-form"),modelValue:e.modelData,"onUpdate:modelValue":o[2]||(o[2]=function(o){return e.modelData=o}),"field-name":e.fieldName,properties:e.schema.properties,title:e.schema.title,required:e.schema.required,"is-self-required":e.isSelfRequired,type:e.schema.type,level:e.level,"is-self-folded":e.isFolded,"reference-model":e.referenceModel||{},errors:e.errors},null,8,["modelValue","field-name","properties","title","required","is-self-required","type","level","is-self-folded","reference-model","errors"])),[[r.vShow,!e.onlyJson&&"form"===e.activeTab]]),"yaml"===e.activeTab?(r.openBlock(),r.createBlock(u,{key:0,modelValue:e.modelData,"onUpdate:modelValue":o[3]||(o[3]=function(o){return e.modelData=o}),"reference-model":e.referenceModel||{}},null,8,["modelValue","reference-model"])):"json"===e.activeTab?(r.openBlock(),r.createBlock(f,{key:1,modelValue:e.modelData,"onUpdate:modelValue":o[4]||(o[4]=function(o){return e.modelData=o}),"reference-model":e.referenceModel||{}},null,8,["modelValue","reference-model"])):r.createCommentVNode("",!0)],2)},exports.default=t; \ No newline at end of file diff --git a/dist/ObjectFormWrapper-d4223e01.js b/dist/ObjectFormWrapper-d4223e01.js deleted file mode 100644 index 4c64089..0000000 --- a/dist/ObjectFormWrapper-d4223e01.js +++ /dev/null @@ -1 +0,0 @@ -import{m as e,v as l}from"./entry-2ace4904.js";import{f as r}from"./fold-ab363a66.js";import{t as o}from"./tabs-ae6e6a83.js";import{defineComponent as a,resolveComponent as t,openBlock as d,createElementBlock as s,normalizeClass as n,createElementVNode as i,withModifiers as m,createCommentVNode as f,createTextVNode as u,toDisplayString as c,createVNode as p,createBlock as y,withDirectives as b,vShow as v}from"vue";var V=a({name:"ObjectFormWrapper",mixins:[e,r,o,l],props:{schema:{type:Object,default:function(){return{}}},fieldName:{type:String,default:""},modelValue:{type:Object,default:function(){return{}}},isRoot:{type:Boolean,default:!1},errors:{type:Object,default:function(){return{}}},isLastChild:{type:Boolean,default:!1},onlyJson:{type:Boolean,default:!1},level:{type:Number,default:1}}}),h={class:"nested-header mb-5"},j=["disabled"];V.render=function(e,l,r,o,a,V){var D=t("component-errors"),k=t("tabs"),q=t("object-form"),F=t("yaml-form"),T=t("json-form");return d(),s("form",{class:n(["ac-nested-elements object-form-wrapper",{"stop-line":e.isLastChild,"is-collapsed":e.isFolded}])},[i("div",h,[i("h6",{class:"is-flex is-semi-normal",onClick:l[0]||(l[0]=m((function(l){return e.toggleFold()}),["prevent"]))},[e.isRoot?f("",!0):(d(),s("div",{key:0,class:"collaps-icon",disabled:"form"!==e.activeTab},[i("i",{class:n(["fa",e.isFolded?"fa-plus":"fa-minus"]),"aria-hidden":"true"},null,2)],8,j)),u(" "+c(e.schema.title||"Array Item Description")+" ",1),p(D,{errors:e.calcFormErrors(e.errors,e.fieldName)},null,8,["errors"])]),e.onlyJson?f("",!0):(d(),y(k,{key:0,modelValue:e.activeTab,"onUpdate:modelValue":l[1]||(l[1]=function(l){return e.activeTab=l})},null,8,["modelValue"]))]),b((d(),y(q,{key:"".concat(e.schema.title,"-form"),modelValue:e.modelData,"onUpdate:modelValue":l[2]||(l[2]=function(l){return e.modelData=l}),"field-name":e.fieldName,properties:e.schema.properties,title:e.schema.title,required:e.schema.required,"is-self-required":e.isSelfRequired,type:e.schema.type,level:e.level,"is-self-folded":e.isFolded,"reference-model":e.referenceModel||{},errors:e.errors},null,8,["modelValue","field-name","properties","title","required","is-self-required","type","level","is-self-folded","reference-model","errors"])),[[v,!e.onlyJson&&"form"===e.activeTab]]),"yaml"===e.activeTab?(d(),y(F,{key:0,modelValue:e.modelData,"onUpdate:modelValue":l[3]||(l[3]=function(l){return e.modelData=l}),"reference-model":e.referenceModel||{}},null,8,["modelValue","reference-model"])):"json"===e.activeTab?(d(),y(T,{key:1,modelValue:e.modelData,"onUpdate:modelValue":l[4]||(l[4]=function(l){return e.modelData=l}),"reference-model":e.referenceModel||{}},null,8,["modelValue","reference-model"])):f("",!0)],2)};export{V as default}; \ No newline at end of file diff --git a/dist/ObjectFormWrapper-d8b53092.js b/dist/ObjectFormWrapper-d8b53092.js deleted file mode 100644 index e0b9961..0000000 --- a/dist/ObjectFormWrapper-d8b53092.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";var e=require("./entry-46a6dd07.js"),o=require("./fold-e405c002.js"),l=require("./tabs-714485d5.js"),r=require("vue"),t=r.defineComponent({name:"ObjectFormWrapper",mixins:[e.m,o.f,l.t,e.v],props:{schema:{type:Object,default:function(){return{}}},fieldName:{type:String,default:""},modelValue:{type:Object,default:function(){return{}}},isRoot:{type:Boolean,default:!1},errors:{type:Object,default:function(){return{}}},isLastChild:{type:Boolean,default:!1},onlyJson:{type:Boolean,default:!1},level:{type:Number,default:1}}}),a={class:"nested-header mb-5"},n=["disabled"];t.render=function(e,o,l,t,d,s){var i=r.resolveComponent("component-errors"),c=r.resolveComponent("tabs"),m=r.resolveComponent("object-form"),u=r.resolveComponent("yaml-form"),f=r.resolveComponent("json-form");return r.openBlock(),r.createElementBlock("form",{class:r.normalizeClass(["ac-nested-elements object-form-wrapper",{"stop-line":e.isLastChild,"is-collapsed":e.isFolded}])},[r.createElementVNode("div",a,[r.createElementVNode("h6",{class:"is-flex is-semi-normal",onClick:o[0]||(o[0]=r.withModifiers((function(o){return e.toggleFold()}),["prevent"]))},[e.isRoot?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("div",{key:0,class:"collaps-icon",disabled:"form"!==e.activeTab},[r.createElementVNode("i",{class:r.normalizeClass(["fa",e.isFolded?"fa-plus":"fa-minus"]),"aria-hidden":"true"},null,2)],8,n)),r.createTextVNode(" "+r.toDisplayString(e.schema.title||"Array Item Description")+" ",1),r.createVNode(i,{errors:e.calcFormErrors(e.errors,e.fieldName)},null,8,["errors"])]),e.onlyJson?r.createCommentVNode("",!0):(r.openBlock(),r.createBlock(c,{key:0,modelValue:e.activeTab,"onUpdate:modelValue":o[1]||(o[1]=function(o){return e.activeTab=o})},null,8,["modelValue"]))]),r.withDirectives((r.openBlock(),r.createBlock(m,{key:"".concat(e.schema.title,"-form"),modelValue:e.modelData,"onUpdate:modelValue":o[2]||(o[2]=function(o){return e.modelData=o}),"field-name":e.fieldName,properties:e.schema.properties,title:e.schema.title,required:e.schema.required,"is-self-required":e.isSelfRequired,type:e.schema.type,level:e.level,"is-self-folded":e.isFolded,"reference-model":e.referenceModel||{},errors:e.errors},null,8,["modelValue","field-name","properties","title","required","is-self-required","type","level","is-self-folded","reference-model","errors"])),[[r.vShow,!e.onlyJson&&"form"===e.activeTab]]),"yaml"===e.activeTab?(r.openBlock(),r.createBlock(u,{key:0,modelValue:e.modelData,"onUpdate:modelValue":o[3]||(o[3]=function(o){return e.modelData=o}),"reference-model":e.referenceModel||{}},null,8,["modelValue","reference-model"])):"json"===e.activeTab?(r.openBlock(),r.createBlock(f,{key:1,modelValue:e.modelData,"onUpdate:modelValue":o[4]||(o[4]=function(o){return e.modelData=o}),"reference-model":e.referenceModel||{}},null,8,["modelValue","reference-model"])):r.createCommentVNode("",!0)],2)},exports.default=t; \ No newline at end of file diff --git a/dist/Preloader-46710ac3.js b/dist/Preloader-46710ac3.js deleted file mode 100644 index 81937f4..0000000 --- a/dist/Preloader-46710ac3.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";var e=require("vue");const t={class:"is-flex is-justify-content-center is-align-items-center is-flex-direction-column ac-preloader page-loader",style:{height:"calc(100vh - 200px)"}},n={key:0,class:"spinner"},s={class:"font-size-12 mt-10 pl-5"};var o=e.defineComponent({__name:"Preloader",props:{showSpinner:{type:Boolean,default:!0},message:{default:"Loading ... "}},setup:o=>(o,a)=>(e.openBlock(),e.createElementBlock("div",t,[o.showSpinner?(e.openBlock(),e.createElementBlock("span",n)):e.createCommentVNode("",!0),e.createElementVNode("p",s,e.toDisplayString(o.message),1)]))});exports.default=o; \ No newline at end of file diff --git a/dist/Preloader-e17b7349.js b/dist/Preloader-e17b7349.js deleted file mode 100644 index 9998103..0000000 --- a/dist/Preloader-e17b7349.js +++ /dev/null @@ -1 +0,0 @@ -import{defineComponent as e,openBlock as s,createElementBlock as a,createCommentVNode as n,createElementVNode as t,toDisplayString as i}from"vue";const l={class:"is-flex is-justify-content-center is-align-items-center is-flex-direction-column ac-preloader page-loader",style:{height:"calc(100vh - 200px)"}},o={key:0,class:"spinner"},r={class:"font-size-12 mt-10 pl-5"};var p=e({__name:"Preloader",props:{showSpinner:{type:Boolean,default:!0},message:{default:"Loading ... "}},setup:e=>(e,p)=>(s(),a("div",l,[e.showSpinner?(s(),a("span",o)):n("",!0),t("p",r,i(e.message),1)]))});export{p as default}; \ No newline at end of file diff --git a/dist/RightWrongSigns-75d38a15.js b/dist/RightWrongSigns-75d38a15.js deleted file mode 100644 index 5a85791..0000000 --- a/dist/RightWrongSigns-75d38a15.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";var e=require("vue"),o=e.defineComponent({name:"RightWrongSigns",props:{valid:{type:Boolean,default:!0},invalid:{type:Boolean,default:!0}}}),t={key:0,class:"button is-information is-success"},n=[e.createElementVNode("span",{class:"icon"},[e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M4.5 12.75l6 6 9-13.5"})])],-1)],l={key:1,class:"button is-information is-warning"},r=[e.createElementVNode("span",{class:"icon"},[e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6 18L18 6M6 6l12 12"})])],-1)];o.render=function(o,s,a,i,c,d){return e.openBlock(),e.createElementBlock("div",null,[o.valid?(e.openBlock(),e.createElementBlock("button",t,n)):e.createCommentVNode("",!0),o.invalid?(e.openBlock(),e.createElementBlock("button",l,r)):e.createCommentVNode("",!0)])},exports.default=o; \ No newline at end of file diff --git a/dist/RightWrongSigns-CiCUyqiY.js b/dist/RightWrongSigns-CiCUyqiY.js new file mode 100644 index 0000000..4af3b78 --- /dev/null +++ b/dist/RightWrongSigns-CiCUyqiY.js @@ -0,0 +1,38 @@ +import { resolveComponent as n, openBlock as e, createElementBlock as o, createVNode as s, createCommentVNode as a, defineComponent as i } from "vue"; +import { X as d, Check as p } from "lucide-vue-next"; +import { _ as l } from "./entry-CiSu1Krq.js"; +const m = i({ + name: "RightWrongSigns", + components: { Check: p, X: d }, + props: { + valid: { + type: Boolean, + default: !0 + }, + invalid: { + type: Boolean, + default: !0 + } + } +}), u = { + key: 0, + class: "vof-status-ok" +}, _ = { + key: 1, + class: "vof-status-bad" +}; +function f(t, h, k, v, g, C) { + const r = n("Check"), c = n("X"); + return e(), o("div", null, [ + t.valid ? (e(), o("span", u, [ + s(r, { "aria-hidden": "true" }) + ])) : a("", !0), + t.invalid ? (e(), o("span", _, [ + s(c, { "aria-hidden": "true" }) + ])) : a("", !0) + ]); +} +const X = /* @__PURE__ */ l(m, [["render", f]]); +export { + X as default +}; diff --git a/dist/RightWrongSigns-e0964dee.js b/dist/RightWrongSigns-e0964dee.js deleted file mode 100644 index 4a61561..0000000 --- a/dist/RightWrongSigns-e0964dee.js +++ /dev/null @@ -1 +0,0 @@ -import{defineComponent as n,openBlock as o,createElementBlock as s,createCommentVNode as t,createElementVNode as e}from"vue";var i=n({name:"RightWrongSigns",props:{valid:{type:Boolean,default:!0},invalid:{type:Boolean,default:!0}}}),r={key:0,class:"button is-information is-success"},l=[e("span",{class:"icon"},[e("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M4.5 12.75l6 6 9-13.5"})])],-1)],a={key:1,class:"button is-information is-warning"},u=[e("span",{class:"icon"},[e("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6 18L18 6M6 6l12 12"})])],-1)];i.render=function(n,e,i,d,c,w){return o(),s("div",null,[n.valid?(o(),s("button",r,l)):t("",!0),n.invalid?(o(),s("button",a,u)):t("",!0)])};export{i as default}; \ No newline at end of file diff --git a/dist/SimpleInput-221c342f.js b/dist/SimpleInput-221c342f.js deleted file mode 100644 index b295b18..0000000 --- a/dist/SimpleInput-221c342f.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";var e=require("./entry-c1fde67d.js"),t=require("./size-27a9a503.js"),n=require("vue"),a=n.defineComponent({name:"SimpleInput",mixins:[e.m,e.v,t.s],props:{schema:{type:Object,default:function(){return{}}},modelValue:{type:null,default:""},validationOb:{type:Object,default:function(){return{}}}},emits:["update:modelValue"],data:function(){return{labelShow:!1,isIntegerSetToNull:!1,isMultilineValue:!1}},computed:{ui:function(){return this.schema.ui||{tag:"input",type:"text"}},identifier:function(){return"id-".concat(this.schema.title.replace(" ","-"),"-").concat(JSON.stringify((new Date).valueOf()))}},watch:{modelData:{immediate:!0,deep:!0,handler:function(e,t){var n=this;this.isMultilineValue&&setTimeout((function(){n.$refs.textareaField.focus()}),0),"string"==typeof e&&e.includes("\n")&&(this.isMultilineValue=!0),this.labelShow=!!e,(this.isIntegerSetToNull||null!=t)&&(this.isIntegerSetToNull&&e&&(this.isIntegerSetToNull=!1),"number"===this.type||"integer"===this.type?""===e?(this.isIntegerSetToNull=!0,this.$emit("update:modelValue",null)):this.$emit("update:modelValue",+e):this.$emit("update:modelValue",e))}}},mounted:function(){var e;this.modelData&&(this.labelShow=!0),null===(e=this.$refs.inputField)||void 0===e||e.addEventListener("keydown",this.handleKeyDownEvent)},destroyed:function(){var e;null===(e=this.$refs.inputField)||void 0===e||e.removeEventListener("keydown",this.handleKeyDownEvent)},methods:{triggerInput:function(){this.labelShow=!0},unTriggerInput:function(){this.modelData||(this.labelShow=!1)},focusInput:function(){this.labelShow=!0,this.$refs.inputField.focus()},onPaste:function(e){var t=(e.clipboardData||window.clipboardData).getData("text"),n=this.updatedModelDataAfterPasteAndKeyDown(e.target,t);t.includes("\n")&&(this.isMultilineValue=!0,this.modelData=n)},handleKeyDownEvent:function(e){if("Enter"===e.code&&e.shiftKey){e.preventDefault();var t=this.updatedModelDataAfterPasteAndKeyDown(e.target);this.isMultilineValue=!0,this.modelData=t}},updatedModelDataAfterPasteAndKeyDown:function(e,t){var n=e.selectionStart,a=e.selectionEnd;return this.modelData.substring(0,n)+(t=t||"\n")+this.modelData.substring(a,this.modelData.length)}}}),i={class:"ac-single-input is-small is-information"},o={key:0,class:"ac-single-switch is-small is-flex pb-10"},l=["id"],r=["for"],s={key:0},c=["type","placeholder"],d=["type","placeholder"],u={key:0,class:"button is-information"},m=[n.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6"},[n.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M4.5 12.75l6 6 9-13.5"})],-1)],p={key:1,class:"button is-information is-warning"},h=[n.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6"},[n.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6 18L18 6M6 6l12 12"})],-1)],v={key:3,class:"is-flex gap-4 mt-4 has-text-danger"},f=["type","placeholder"],g={key:0,class:"button is-information is-success"},k=[n.createElementVNode("span",{class:"icon"},[n.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6"},[n.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M4.5 12.75l6 6 9-13.5"})])],-1)],w={key:1,class:"button is-information is-warning"},y=[n.createElementVNode("span",{class:"icon"},[n.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6"},[n.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6 18L18 6M6 6l12 12"})])],-1)],b={key:1,class:"is-warning"},D=n.createElementVNode("i",{class:"fa fa-warning warning"},null,-1);a.render=function(e,t,a,V,E,B){return n.openBlock(),n.createElementBlock("div",i,["input"===e.ui.tag?(n.openBlock(),n.createElementBlock(n.Fragment,{key:0},["checkbox"===e.ui.type?(n.openBlock(),n.createElementBlock("div",o,[n.withDirectives(n.createElementVNode("input",{id:e.identifier,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.modelData=t}),type:"checkbox",name:"switchRoundedDefault",class:"switch ac-switch is-rounded is-primary"},null,8,l),[[n.vModelCheckbox,e.modelData]]),n.createElementVNode("label",{class:"switch-label",for:e.identifier},n.toDisplayString(e.schema.title),9,r)])):(n.openBlock(),n.createElementBlock(n.Fragment,{key:1},[n.createElementVNode("label",{class:n.normalizeClass([e.labelShow?"show-label":"","ac-label"]),onClick:t[1]||(t[1]=n.withModifiers((function(t){return e.focusInput()}),["prevent"]))},n.toDisplayString(e.schema.title),3),"input"===e.ui.tag?(n.openBlock(),n.createElementBlock("div",s,[e.isMultilineValue?n.withDirectives((n.openBlock(),n.createElementBlock("textarea",{key:0,ref:"textareaField","onUpdate:modelValue":t[2]||(t[2]=function(t){return e.modelData=t}),class:n.normalizeClass(["ac-input",{"is-success":e.validationOb.dirty&&e.validationOb.valid,"is-danger":e.validationOb.dirty&&!e.validationOb.valid,"bg-white":e.modelData}]),style:{"min-height":"100px"},type:e.ui.type,placeholder:e.ui.placeholder||"",onChange:t[3]||(t[3]=function(t){return e.modelData=t.target.value}),onFocus:t[4]||(t[4]=function(t){return e.triggerInput()}),onFocusout:t[5]||(t[5]=function(t){return e.unTriggerInput()}),onPaste:t[6]||(t[6]=function(){return e.onPaste&&e.onPaste.apply(e,arguments)})},null,42,c)),[[n.vModelText,e.modelData]]):n.withDirectives((n.openBlock(),n.createElementBlock("input",{key:1,ref:"inputField","onUpdate:modelValue":t[7]||(t[7]=function(t){return e.modelData=t}),class:n.normalizeClass(["ac-input",{"is-success":e.validationOb.dirty&&e.validationOb.valid,"is-danger":e.validationOb.dirty&&!e.validationOb.valid,"bg-white":e.modelData}]),type:e.ui.type,placeholder:e.ui.placeholder||"",onChange:t[8]||(t[8]=function(t){return e.modelData=t.target.value}),onFocus:t[9]||(t[9]=function(t){return e.triggerInput()}),onFocusout:t[10]||(t[10]=function(t){return e.unTriggerInput()}),onPaste:t[11]||(t[11]=function(){return e.onPaste&&e.onPaste.apply(e,arguments)})},null,42,d)),[[n.vModelDynamic,e.modelData]]),e.validationOb.dirty?(n.openBlock(),n.createElementBlock(n.Fragment,{key:2},[e.validationOb.valid?(n.openBlock(),n.createElementBlock("span",u,m)):n.createCommentVNode("",!0),e.validationOb.valid?n.createCommentVNode("",!0):(n.openBlock(),n.createElementBlock("span",p,h))],64)):n.createCommentVNode("",!0),e.validationOb&&e.validationOb.errors&&e.validationOb.errors.length>0?(n.openBlock(),n.createElementBlock("p",v,n.toDisplayString(e.validationOb.errors[0]),1)):n.createCommentVNode("",!0)])):n.createCommentVNode("",!0)],64))],64)):n.createCommentVNode("",!0),"textarea"===e.ui.tag?(n.openBlock(),n.createElementBlock(n.Fragment,{key:1},[n.withDirectives(n.createElementVNode("textarea",{"onUpdate:modelValue":t[12]||(t[12]=function(t){return e.modelData=t}),class:n.normalizeClass(["input",{"is-success":e.validationOb.dirty&&e.validationOb.valid,"is-danger":e.validationOb.dirty&&!e.validationOb.valid}]),type:e.ui.type,placeholder:e.ui.placeholder||"",onChange:t[13]||(t[13]=function(t){return e.modelData=t.target.value})},null,42,f),[[n.vModelText,e.modelData]]),e.validationOb.dirty?(n.openBlock(),n.createElementBlock(n.Fragment,{key:0},[e.valid?(n.openBlock(),n.createElementBlock("button",g,k)):n.createCommentVNode("",!0),e.invalid?(n.openBlock(),n.createElementBlock("button",w,y)):n.createCommentVNode("",!0)],64)):n.createCommentVNode("",!0),e.validationOb.errors.length>0?(n.openBlock(),n.createElementBlock("span",b,[D,n.createTextVNode(" "+n.toDisplayString(e.validationOb.errors[0]),1)])):n.createCommentVNode("",!0)],64)):n.createCommentVNode("",!0)])},exports.default=a; \ No newline at end of file diff --git a/dist/SimpleInput-53d0a934.js b/dist/SimpleInput-53d0a934.js deleted file mode 100644 index 3928bbc..0000000 --- a/dist/SimpleInput-53d0a934.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";var e=require("./entry-5480607d.js"),t=require("./size-27a9a503.js"),n=require("vue"),a=n.defineComponent({name:"SimpleInput",mixins:[e.m,e.v,t.s],props:{schema:{type:Object,default:function(){return{}}},modelValue:{type:null,default:""},validationOb:{type:Object,default:function(){return{}}}},emits:["update:modelValue"],data:function(){return{labelShow:!1,isIntegerSetToNull:!1,isMultilineValue:!1}},computed:{ui:function(){return this.schema.ui||{tag:"input",type:"text"}},identifier:function(){return"id-".concat(this.schema.title.replace(" ","-"),"-").concat(JSON.stringify((new Date).valueOf()))}},watch:{modelData:{immediate:!0,deep:!0,handler:function(e,t){var n=this;this.isMultilineValue&&setTimeout((function(){n.$refs.textareaField.focus()}),0),"string"==typeof e&&e.includes("\n")&&(this.isMultilineValue=!0),this.labelShow=!!e,(this.isIntegerSetToNull||null!=t)&&(this.isIntegerSetToNull&&e&&(this.isIntegerSetToNull=!1),"number"===this.type||"integer"===this.type?""===e?(this.isIntegerSetToNull=!0,this.$emit("update:modelValue",null)):this.$emit("update:modelValue",+e):this.$emit("update:modelValue",e))}}},mounted:function(){var e;this.modelData&&(this.labelShow=!0),null===(e=this.$refs.inputField)||void 0===e||e.addEventListener("keydown",this.handleKeyDownEvent)},destroyed:function(){var e;null===(e=this.$refs.inputField)||void 0===e||e.removeEventListener("keydown",this.handleKeyDownEvent)},methods:{triggerInput:function(){this.labelShow=!0},unTriggerInput:function(){this.modelData||(this.labelShow=!1)},focusInput:function(){this.labelShow=!0,this.$refs.inputField.focus()},onPaste:function(e){var t=(e.clipboardData||window.clipboardData).getData("text"),n=this.updatedModelDataAfterPasteAndKeyDown(e.target,t);t.includes("\n")&&(this.isMultilineValue=!0,this.modelData=n)},handleKeyDownEvent:function(e){if("Enter"===e.code&&e.shiftKey){e.preventDefault();var t=this.updatedModelDataAfterPasteAndKeyDown(e.target);this.isMultilineValue=!0,this.modelData=t}},updatedModelDataAfterPasteAndKeyDown:function(e,t){var n=e.selectionStart,a=e.selectionEnd;return this.modelData.substring(0,n)+(t=t||"\n")+this.modelData.substring(a,this.modelData.length)}}}),i={class:"ac-single-input is-small is-information"},o={key:0,class:"ac-single-switch is-small is-flex pb-10"},l=["id"],r=["for"],s={key:0},c=["type","placeholder"],d=["type","placeholder"],u={key:0,class:"button is-information"},m=[n.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6"},[n.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M4.5 12.75l6 6 9-13.5"})],-1)],p={key:1,class:"button is-information is-warning"},h=[n.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6"},[n.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6 18L18 6M6 6l12 12"})],-1)],v={key:3,class:"is-flex gap-4 mt-4 has-text-danger"},f=["type","placeholder"],g={key:0,class:"button is-information is-success"},k=[n.createElementVNode("span",{class:"icon"},[n.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6"},[n.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M4.5 12.75l6 6 9-13.5"})])],-1)],w={key:1,class:"button is-information is-warning"},y=[n.createElementVNode("span",{class:"icon"},[n.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6"},[n.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6 18L18 6M6 6l12 12"})])],-1)],b={key:1,class:"is-warning"},D=n.createElementVNode("i",{class:"fa fa-warning warning"},null,-1);a.render=function(e,t,a,V,E,B){return n.openBlock(),n.createElementBlock("div",i,["input"===e.ui.tag?(n.openBlock(),n.createElementBlock(n.Fragment,{key:0},["checkbox"===e.ui.type?(n.openBlock(),n.createElementBlock("div",o,[n.withDirectives(n.createElementVNode("input",{id:e.identifier,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.modelData=t}),type:"checkbox",name:"switchRoundedDefault",class:"switch ac-switch is-rounded is-primary"},null,8,l),[[n.vModelCheckbox,e.modelData]]),n.createElementVNode("label",{class:"switch-label",for:e.identifier},n.toDisplayString(e.schema.title),9,r)])):(n.openBlock(),n.createElementBlock(n.Fragment,{key:1},[n.createElementVNode("label",{class:n.normalizeClass([e.labelShow?"show-label":"","ac-label"]),onClick:t[1]||(t[1]=n.withModifiers((function(t){return e.focusInput()}),["prevent"]))},n.toDisplayString(e.schema.title),3),"input"===e.ui.tag?(n.openBlock(),n.createElementBlock("div",s,[e.isMultilineValue?n.withDirectives((n.openBlock(),n.createElementBlock("textarea",{key:0,ref:"textareaField","onUpdate:modelValue":t[2]||(t[2]=function(t){return e.modelData=t}),class:n.normalizeClass(["ac-input",{"is-success":e.validationOb.dirty&&e.validationOb.valid,"is-danger":e.validationOb.dirty&&!e.validationOb.valid,"bg-white":e.modelData}]),style:{"min-height":"100px"},type:e.ui.type,placeholder:e.ui.placeholder||"",onChange:t[3]||(t[3]=function(t){return e.modelData=t.target.value}),onFocus:t[4]||(t[4]=function(t){return e.triggerInput()}),onFocusout:t[5]||(t[5]=function(t){return e.unTriggerInput()}),onPaste:t[6]||(t[6]=function(){return e.onPaste&&e.onPaste.apply(e,arguments)})},null,42,c)),[[n.vModelText,e.modelData]]):n.withDirectives((n.openBlock(),n.createElementBlock("input",{key:1,ref:"inputField","onUpdate:modelValue":t[7]||(t[7]=function(t){return e.modelData=t}),class:n.normalizeClass(["ac-input",{"is-success":e.validationOb.dirty&&e.validationOb.valid,"is-danger":e.validationOb.dirty&&!e.validationOb.valid,"bg-white":e.modelData}]),type:e.ui.type,placeholder:e.ui.placeholder||"",onChange:t[8]||(t[8]=function(t){return e.modelData=t.target.value}),onFocus:t[9]||(t[9]=function(t){return e.triggerInput()}),onFocusout:t[10]||(t[10]=function(t){return e.unTriggerInput()}),onPaste:t[11]||(t[11]=function(){return e.onPaste&&e.onPaste.apply(e,arguments)})},null,42,d)),[[n.vModelDynamic,e.modelData]]),e.validationOb.dirty?(n.openBlock(),n.createElementBlock(n.Fragment,{key:2},[e.validationOb.valid?(n.openBlock(),n.createElementBlock("span",u,m)):n.createCommentVNode("",!0),e.validationOb.valid?n.createCommentVNode("",!0):(n.openBlock(),n.createElementBlock("span",p,h))],64)):n.createCommentVNode("",!0),e.validationOb&&e.validationOb.errors&&e.validationOb.errors.length>0?(n.openBlock(),n.createElementBlock("p",v,n.toDisplayString(e.validationOb.errors[0]),1)):n.createCommentVNode("",!0)])):n.createCommentVNode("",!0)],64))],64)):n.createCommentVNode("",!0),"textarea"===e.ui.tag?(n.openBlock(),n.createElementBlock(n.Fragment,{key:1},[n.withDirectives(n.createElementVNode("textarea",{"onUpdate:modelValue":t[12]||(t[12]=function(t){return e.modelData=t}),class:n.normalizeClass(["input",{"is-success":e.validationOb.dirty&&e.validationOb.valid,"is-danger":e.validationOb.dirty&&!e.validationOb.valid}]),type:e.ui.type,placeholder:e.ui.placeholder||"",onChange:t[13]||(t[13]=function(t){return e.modelData=t.target.value})},null,42,f),[[n.vModelText,e.modelData]]),e.validationOb.dirty?(n.openBlock(),n.createElementBlock(n.Fragment,{key:0},[e.valid?(n.openBlock(),n.createElementBlock("button",g,k)):n.createCommentVNode("",!0),e.invalid?(n.openBlock(),n.createElementBlock("button",w,y)):n.createCommentVNode("",!0)],64)):n.createCommentVNode("",!0),e.validationOb.errors.length>0?(n.openBlock(),n.createElementBlock("span",b,[D,n.createTextVNode(" "+n.toDisplayString(e.validationOb.errors[0]),1)])):n.createCommentVNode("",!0)],64)):n.createCommentVNode("",!0)])},exports.default=a; \ No newline at end of file diff --git a/dist/SimpleInput-Bs9EFM3I.js b/dist/SimpleInput-Bs9EFM3I.js new file mode 100644 index 0000000..f96520e --- /dev/null +++ b/dist/SimpleInput-Bs9EFM3I.js @@ -0,0 +1,148 @@ +import { _ as b, m as V, v as k } from "./entry-CiSu1Krq.js"; +import { s as v } from "./size-BtoaE7vX.js"; +import { resolveComponent as s, openBlock as a, createElementBlock as l, Fragment as f, createVNode as n, createBlock as r, createSlots as M, withCtx as w, createCommentVNode as h, defineComponent as P } from "vue"; +import { AcTextarea as S, AcSwitch as A, AcInput as I } from "@mohin4/design-system"; +import { X as K, Check as $ } from "lucide-vue-next"; +const C = P({ + name: "SimpleInput", + components: { AcInput: I, AcSwitch: A, AcTextarea: S, Check: $, X: K }, + mixins: [V, k, v], + props: { + schema: { + type: Object, + default: () => ({}) + }, + modelValue: { + type: null, + default: "" + }, + validationOb: { + type: Object, + default: () => ({}) + } + }, + emits: ["update:modelValue"], + data() { + return { + isIntegerSetToNull: !1, + isMultilineValue: !1 + }; + }, + computed: { + ui() { + return this.schema.ui || { tag: "input", type: "text" }; + }, + errorMessage() { + const e = this.validationOb && this.validationOb.errors; + return e && e.length > 0 ? e[0] : ""; + } + }, + watch: { + modelData: { + immediate: !0, + deep: !0, + handler(e, t) { + this.isMultilineValue && setTimeout(() => { + this.$refs.textareaField?.focus(); + }, 0), typeof e == "string" && e.includes(` +`) && (this.isMultilineValue = !0), (this.isIntegerSetToNull || t != null) && (this.isIntegerSetToNull && e && (this.isIntegerSetToNull = !1), this.type === "number" || this.type === "integer" ? e === "" ? (this.isIntegerSetToNull = !0, this.$emit("update:modelValue", null)) : this.$emit("update:modelValue", +e) : this.$emit("update:modelValue", e)); + } + } + }, + methods: { + onPaste(e) { + let t = (e.clipboardData || window.clipboardData).getData( + "text" + ); + const i = this.updatedModelDataAfterPasteAndKeyDown( + e.target, + t + ); + t.includes(` +`) && (this.isMultilineValue = !0, this.modelData = i); + }, + handleKeyDownEvent(e) { + if (e.code === "Enter" && e.shiftKey) { + e.preventDefault(); + const t = this.updatedModelDataAfterPasteAndKeyDown(e.target); + this.isMultilineValue = !0, this.modelData = t; + } + }, + updatedModelDataAfterPasteAndKeyDown(e, t) { + const { selectionStart: i, selectionEnd: u } = e, d = this.modelData.substring(0, i), m = this.modelData.substring( + u, + this.modelData.length + ); + return t = t || ` +`, d + t + m; + } + } +}), N = { class: "vof-single" }, O = { + key: 0, + class: "vof-single-switch" +}, T = { + key: 0, + class: "vof-status-ok" +}, E = { + key: 1, + class: "vof-status-bad" +}; +function F(e, t, i, u, d, m) { + const c = s("ac-switch"), p = s("ac-textarea"), g = s("Check"), y = s("X"), D = s("ac-input"); + return a(), l("div", N, [ + e.ui.tag === "input" ? (a(), l(f, { key: 0 }, [ + e.ui.type === "checkbox" ? (a(), l("div", O, [ + n(c, { + modelValue: e.modelData, + "onUpdate:modelValue": t[0] || (t[0] = (o) => e.modelData = o), + label: e.schema.title + }, null, 8, ["modelValue", "label"]) + ])) : (a(), l(f, { key: 1 }, [ + e.isMultilineValue ? (a(), r(p, { + key: 0, + ref: "textareaField", + modelValue: e.modelData, + "onUpdate:modelValue": t[1] || (t[1] = (o) => e.modelData = o), + label: e.schema.title, + rows: 4, + "error-msg": e.errorMessage, + onPaste: e.onPaste + }, null, 8, ["modelValue", "label", "error-msg", "onPaste"])) : (a(), r(D, { + key: 1, + ref: "inputField", + modelValue: e.modelData, + "onUpdate:modelValue": t[2] || (t[2] = (o) => e.modelData = o), + label: e.schema.title, + type: e.ui.type, + "error-msg": e.errorMessage, + onPaste: e.onPaste, + onKeydown: e.handleKeyDownEvent + }, M({ _: 2 }, [ + e.validationOb.dirty ? { + name: "suffix", + fn: w(() => [ + e.validationOb.valid ? (a(), l("span", T, [ + n(g, { "aria-hidden": "true" }) + ])) : (a(), l("span", E, [ + n(y, { "aria-hidden": "true" }) + ])) + ]), + key: "0" + } : void 0 + ]), 1032, ["modelValue", "label", "type", "error-msg", "onPaste", "onKeydown"])) + ], 64)) + ], 64)) : h("", !0), + e.ui.tag === "textarea" ? (a(), r(p, { + key: 1, + modelValue: e.modelData, + "onUpdate:modelValue": t[3] || (t[3] = (o) => e.modelData = o), + label: e.schema.title, + rows: 4, + "error-msg": e.errorMessage + }, null, 8, ["modelValue", "label", "error-msg"])) : h("", !0) + ]); +} +const q = /* @__PURE__ */ b(C, [["render", F]]); +export { + q as default +}; diff --git a/dist/SimpleInput-bde253da.js b/dist/SimpleInput-bde253da.js deleted file mode 100644 index a4dd6b8..0000000 --- a/dist/SimpleInput-bde253da.js +++ /dev/null @@ -1 +0,0 @@ -import{m as t,v as e}from"./entry-a6929ab2.js";import{s as i}from"./size-d02f66d9.js";import{defineComponent as n,openBlock as a,createElementBlock as l,Fragment as o,withDirectives as s,createElementVNode as r,vModelCheckbox as u,toDisplayString as d,normalizeClass as c,withModifiers as p,vModelText as h,vModelDynamic as f,createCommentVNode as m,createTextVNode as v}from"vue";var g=n({name:"SimpleInput",mixins:[t,e,i],props:{schema:{type:Object,default:function(){return{}}},modelValue:{type:null,default:""},validationOb:{type:Object,default:function(){return{}}}},emits:["update:modelValue"],data:function(){return{labelShow:!1,isIntegerSetToNull:!1,isMultilineValue:!1}},computed:{ui:function(){return this.schema.ui||{tag:"input",type:"text"}},identifier:function(){return"id-".concat(this.schema.title.replace(" ","-"),"-").concat(JSON.stringify((new Date).valueOf()))}},watch:{modelData:{immediate:!0,deep:!0,handler:function(t,e){var i=this;this.isMultilineValue&&setTimeout((function(){i.$refs.textareaField.focus()}),0),"string"==typeof t&&t.includes("\n")&&(this.isMultilineValue=!0),this.labelShow=!!t,(this.isIntegerSetToNull||null!=e)&&(this.isIntegerSetToNull&&t&&(this.isIntegerSetToNull=!1),"number"===this.type||"integer"===this.type?""===t?(this.isIntegerSetToNull=!0,this.$emit("update:modelValue",null)):this.$emit("update:modelValue",+t):this.$emit("update:modelValue",t))}}},mounted:function(){var t;this.modelData&&(this.labelShow=!0),null===(t=this.$refs.inputField)||void 0===t||t.addEventListener("keydown",this.handleKeyDownEvent)},destroyed:function(){var t;null===(t=this.$refs.inputField)||void 0===t||t.removeEventListener("keydown",this.handleKeyDownEvent)},methods:{triggerInput:function(){this.labelShow=!0},unTriggerInput:function(){this.modelData||(this.labelShow=!1)},focusInput:function(){this.labelShow=!0,this.$refs.inputField.focus()},onPaste:function(t){var e=(t.clipboardData||window.clipboardData).getData("text"),i=this.updatedModelDataAfterPasteAndKeyDown(t.target,e);e.includes("\n")&&(this.isMultilineValue=!0,this.modelData=i)},handleKeyDownEvent:function(t){if("Enter"===t.code&&t.shiftKey){t.preventDefault();var e=this.updatedModelDataAfterPasteAndKeyDown(t.target);this.isMultilineValue=!0,this.modelData=e}},updatedModelDataAfterPasteAndKeyDown:function(t,e){var i=t.selectionStart,n=t.selectionEnd;return this.modelData.substring(0,i)+(e=e||"\n")+this.modelData.substring(n,this.modelData.length)}}}),w={class:"ac-single-input is-small is-information"},y={key:0,class:"ac-single-switch is-small is-flex pb-10"},b=["id"],k=["for"],D={key:0},O=["type","placeholder"],x=["type","placeholder"],M={key:0,class:"button is-information"},S=[r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6"},[r("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M4.5 12.75l6 6 9-13.5"})],-1)],V={key:1,class:"button is-information is-warning"},I=[r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6"},[r("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6 18L18 6M6 6l12 12"})],-1)],F={key:3,class:"is-flex gap-4 mt-4 has-text-danger"},P=["type","placeholder"],T={key:0,class:"button is-information is-success"},j=[r("span",{class:"icon"},[r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6"},[r("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M4.5 12.75l6 6 9-13.5"})])],-1)],C={key:1,class:"button is-information is-warning"},E=[r("span",{class:"icon"},[r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6"},[r("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6 18L18 6M6 6l12 12"})])],-1)],K={key:1,class:"is-warning"},$=r("i",{class:"fa fa-warning warning"},null,-1);g.render=function(t,e,i,n,g,A){return a(),l("div",w,["input"===t.ui.tag?(a(),l(o,{key:0},["checkbox"===t.ui.type?(a(),l("div",y,[s(r("input",{id:t.identifier,"onUpdate:modelValue":e[0]||(e[0]=function(e){return t.modelData=e}),type:"checkbox",name:"switchRoundedDefault",class:"switch ac-switch is-rounded is-primary"},null,8,b),[[u,t.modelData]]),r("label",{class:"switch-label",for:t.identifier},d(t.schema.title),9,k)])):(a(),l(o,{key:1},[r("label",{class:c([t.labelShow?"show-label":"","ac-label"]),onClick:e[1]||(e[1]=p((function(e){return t.focusInput()}),["prevent"]))},d(t.schema.title),3),"input"===t.ui.tag?(a(),l("div",D,[t.isMultilineValue?s((a(),l("textarea",{key:0,ref:"textareaField","onUpdate:modelValue":e[2]||(e[2]=function(e){return t.modelData=e}),class:c(["ac-input",{"is-success":t.validationOb.dirty&&t.validationOb.valid,"is-danger":t.validationOb.dirty&&!t.validationOb.valid,"bg-white":t.modelData}]),style:{"min-height":"100px"},type:t.ui.type,placeholder:t.ui.placeholder||"",onChange:e[3]||(e[3]=function(e){return t.modelData=e.target.value}),onFocus:e[4]||(e[4]=function(e){return t.triggerInput()}),onFocusout:e[5]||(e[5]=function(e){return t.unTriggerInput()}),onPaste:e[6]||(e[6]=function(){return t.onPaste&&t.onPaste.apply(t,arguments)})},null,42,O)),[[h,t.modelData]]):s((a(),l("input",{key:1,ref:"inputField","onUpdate:modelValue":e[7]||(e[7]=function(e){return t.modelData=e}),class:c(["ac-input",{"is-success":t.validationOb.dirty&&t.validationOb.valid,"is-danger":t.validationOb.dirty&&!t.validationOb.valid,"bg-white":t.modelData}]),type:t.ui.type,placeholder:t.ui.placeholder||"",onChange:e[8]||(e[8]=function(e){return t.modelData=e.target.value}),onFocus:e[9]||(e[9]=function(e){return t.triggerInput()}),onFocusout:e[10]||(e[10]=function(e){return t.unTriggerInput()}),onPaste:e[11]||(e[11]=function(){return t.onPaste&&t.onPaste.apply(t,arguments)})},null,42,x)),[[f,t.modelData]]),t.validationOb.dirty?(a(),l(o,{key:2},[t.validationOb.valid?(a(),l("span",M,S)):m("",!0),t.validationOb.valid?m("",!0):(a(),l("span",V,I))],64)):m("",!0),t.validationOb&&t.validationOb.errors&&t.validationOb.errors.length>0?(a(),l("p",F,d(t.validationOb.errors[0]),1)):m("",!0)])):m("",!0)],64))],64)):m("",!0),"textarea"===t.ui.tag?(a(),l(o,{key:1},[s(r("textarea",{"onUpdate:modelValue":e[12]||(e[12]=function(e){return t.modelData=e}),class:c(["input",{"is-success":t.validationOb.dirty&&t.validationOb.valid,"is-danger":t.validationOb.dirty&&!t.validationOb.valid}]),type:t.ui.type,placeholder:t.ui.placeholder||"",onChange:e[13]||(e[13]=function(e){return t.modelData=e.target.value})},null,42,P),[[h,t.modelData]]),t.validationOb.dirty?(a(),l(o,{key:0},[t.valid?(a(),l("button",T,j)):m("",!0),t.invalid?(a(),l("button",C,E)):m("",!0)],64)):m("",!0),t.validationOb.errors.length>0?(a(),l("span",K,[$,v(" "+d(t.validationOb.errors[0]),1)])):m("",!0)],64)):m("",!0)])};export{g as default}; \ No newline at end of file diff --git a/dist/SimpleInput-ccc4ca3c.js b/dist/SimpleInput-ccc4ca3c.js deleted file mode 100644 index d0b8f96..0000000 --- a/dist/SimpleInput-ccc4ca3c.js +++ /dev/null @@ -1 +0,0 @@ -import{m as t,v as e}from"./entry-f11f5a48.js";import{s as i}from"./size-d02f66d9.js";import{defineComponent as n,openBlock as a,createElementBlock as l,Fragment as o,withDirectives as s,createElementVNode as r,vModelCheckbox as u,toDisplayString as d,normalizeClass as c,withModifiers as p,vModelText as h,vModelDynamic as f,createCommentVNode as m,createTextVNode as v}from"vue";var g=n({name:"SimpleInput",mixins:[t,e,i],props:{schema:{type:Object,default:function(){return{}}},modelValue:{type:null,default:""},validationOb:{type:Object,default:function(){return{}}}},emits:["update:modelValue"],data:function(){return{labelShow:!1,isIntegerSetToNull:!1,isMultilineValue:!1}},computed:{ui:function(){return this.schema.ui||{tag:"input",type:"text"}},identifier:function(){return"id-".concat(this.schema.title.replace(" ","-"),"-").concat(JSON.stringify((new Date).valueOf()))}},watch:{modelData:{immediate:!0,deep:!0,handler:function(t,e){var i=this;this.isMultilineValue&&setTimeout((function(){i.$refs.textareaField.focus()}),0),"string"==typeof t&&t.includes("\n")&&(this.isMultilineValue=!0),this.labelShow=!!t,(this.isIntegerSetToNull||null!=e)&&(this.isIntegerSetToNull&&t&&(this.isIntegerSetToNull=!1),"number"===this.type||"integer"===this.type?""===t?(this.isIntegerSetToNull=!0,this.$emit("update:modelValue",null)):this.$emit("update:modelValue",+t):this.$emit("update:modelValue",t))}}},mounted:function(){var t;this.modelData&&(this.labelShow=!0),null===(t=this.$refs.inputField)||void 0===t||t.addEventListener("keydown",this.handleKeyDownEvent)},destroyed:function(){var t;null===(t=this.$refs.inputField)||void 0===t||t.removeEventListener("keydown",this.handleKeyDownEvent)},methods:{triggerInput:function(){this.labelShow=!0},unTriggerInput:function(){this.modelData||(this.labelShow=!1)},focusInput:function(){this.labelShow=!0,this.$refs.inputField.focus()},onPaste:function(t){var e=(t.clipboardData||window.clipboardData).getData("text"),i=this.updatedModelDataAfterPasteAndKeyDown(t.target,e);e.includes("\n")&&(this.isMultilineValue=!0,this.modelData=i)},handleKeyDownEvent:function(t){if("Enter"===t.code&&t.shiftKey){t.preventDefault();var e=this.updatedModelDataAfterPasteAndKeyDown(t.target);this.isMultilineValue=!0,this.modelData=e}},updatedModelDataAfterPasteAndKeyDown:function(t,e){var i=t.selectionStart,n=t.selectionEnd;return this.modelData.substring(0,i)+(e=e||"\n")+this.modelData.substring(n,this.modelData.length)}}}),w={class:"ac-single-input is-small is-information"},y={key:0,class:"ac-single-switch is-small is-flex pb-10"},b=["id"],k=["for"],D={key:0},O=["type","placeholder"],x=["type","placeholder"],M={key:0,class:"button is-information"},S=[r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6"},[r("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M4.5 12.75l6 6 9-13.5"})],-1)],V={key:1,class:"button is-information is-warning"},I=[r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6"},[r("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6 18L18 6M6 6l12 12"})],-1)],F={key:3,class:"is-flex gap-4 mt-4 has-text-danger"},P=["type","placeholder"],T={key:0,class:"button is-information is-success"},j=[r("span",{class:"icon"},[r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6"},[r("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M4.5 12.75l6 6 9-13.5"})])],-1)],C={key:1,class:"button is-information is-warning"},E=[r("span",{class:"icon"},[r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6"},[r("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6 18L18 6M6 6l12 12"})])],-1)],K={key:1,class:"is-warning"},$=r("i",{class:"fa fa-warning warning"},null,-1);g.render=function(t,e,i,n,g,A){return a(),l("div",w,["input"===t.ui.tag?(a(),l(o,{key:0},["checkbox"===t.ui.type?(a(),l("div",y,[s(r("input",{id:t.identifier,"onUpdate:modelValue":e[0]||(e[0]=function(e){return t.modelData=e}),type:"checkbox",name:"switchRoundedDefault",class:"switch ac-switch is-rounded is-primary"},null,8,b),[[u,t.modelData]]),r("label",{class:"switch-label",for:t.identifier},d(t.schema.title),9,k)])):(a(),l(o,{key:1},[r("label",{class:c([t.labelShow?"show-label":"","ac-label"]),onClick:e[1]||(e[1]=p((function(e){return t.focusInput()}),["prevent"]))},d(t.schema.title),3),"input"===t.ui.tag?(a(),l("div",D,[t.isMultilineValue?s((a(),l("textarea",{key:0,ref:"textareaField","onUpdate:modelValue":e[2]||(e[2]=function(e){return t.modelData=e}),class:c(["ac-input",{"is-success":t.validationOb.dirty&&t.validationOb.valid,"is-danger":t.validationOb.dirty&&!t.validationOb.valid,"bg-white":t.modelData}]),style:{"min-height":"100px"},type:t.ui.type,placeholder:t.ui.placeholder||"",onChange:e[3]||(e[3]=function(e){return t.modelData=e.target.value}),onFocus:e[4]||(e[4]=function(e){return t.triggerInput()}),onFocusout:e[5]||(e[5]=function(e){return t.unTriggerInput()}),onPaste:e[6]||(e[6]=function(){return t.onPaste&&t.onPaste.apply(t,arguments)})},null,42,O)),[[h,t.modelData]]):s((a(),l("input",{key:1,ref:"inputField","onUpdate:modelValue":e[7]||(e[7]=function(e){return t.modelData=e}),class:c(["ac-input",{"is-success":t.validationOb.dirty&&t.validationOb.valid,"is-danger":t.validationOb.dirty&&!t.validationOb.valid,"bg-white":t.modelData}]),type:t.ui.type,placeholder:t.ui.placeholder||"",onChange:e[8]||(e[8]=function(e){return t.modelData=e.target.value}),onFocus:e[9]||(e[9]=function(e){return t.triggerInput()}),onFocusout:e[10]||(e[10]=function(e){return t.unTriggerInput()}),onPaste:e[11]||(e[11]=function(){return t.onPaste&&t.onPaste.apply(t,arguments)})},null,42,x)),[[f,t.modelData]]),t.validationOb.dirty?(a(),l(o,{key:2},[t.validationOb.valid?(a(),l("span",M,S)):m("",!0),t.validationOb.valid?m("",!0):(a(),l("span",V,I))],64)):m("",!0),t.validationOb&&t.validationOb.errors&&t.validationOb.errors.length>0?(a(),l("p",F,d(t.validationOb.errors[0]),1)):m("",!0)])):m("",!0)],64))],64)):m("",!0),"textarea"===t.ui.tag?(a(),l(o,{key:1},[s(r("textarea",{"onUpdate:modelValue":e[12]||(e[12]=function(e){return t.modelData=e}),class:c(["input",{"is-success":t.validationOb.dirty&&t.validationOb.valid,"is-danger":t.validationOb.dirty&&!t.validationOb.valid}]),type:t.ui.type,placeholder:t.ui.placeholder||"",onChange:e[13]||(e[13]=function(e){return t.modelData=e.target.value})},null,42,P),[[h,t.modelData]]),t.validationOb.dirty?(a(),l(o,{key:0},[t.valid?(a(),l("button",T,j)):m("",!0),t.invalid?(a(),l("button",C,E)):m("",!0)],64)):m("",!0),t.validationOb.errors.length>0?(a(),l("span",K,[$,v(" "+d(t.validationOb.errors[0]),1)])):m("",!0)],64)):m("",!0)])};export{g as default}; \ No newline at end of file diff --git a/dist/SimpleInput-d1c60f88.js b/dist/SimpleInput-d1c60f88.js deleted file mode 100644 index 7f18dc3..0000000 --- a/dist/SimpleInput-d1c60f88.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";var e=require("./entry-46a6dd07.js"),t=require("./size-27a9a503.js"),n=require("vue"),a=n.defineComponent({name:"SimpleInput",mixins:[e.m,e.v,t.s],props:{schema:{type:Object,default:function(){return{}}},modelValue:{type:null,default:""},validationOb:{type:Object,default:function(){return{}}}},emits:["update:modelValue"],data:function(){return{labelShow:!1,isIntegerSetToNull:!1,isMultilineValue:!1}},computed:{ui:function(){return this.schema.ui||{tag:"input",type:"text"}},identifier:function(){return"id-".concat(this.schema.title.replace(" ","-"),"-").concat(JSON.stringify((new Date).valueOf()))}},watch:{modelData:{immediate:!0,deep:!0,handler:function(e,t){var n=this;this.isMultilineValue&&setTimeout((function(){n.$refs.textareaField.focus()}),0),"string"==typeof e&&e.includes("\n")&&(this.isMultilineValue=!0),this.labelShow=!!e,(this.isIntegerSetToNull||null!=t)&&(this.isIntegerSetToNull&&e&&(this.isIntegerSetToNull=!1),"number"===this.type||"integer"===this.type?""===e?(this.isIntegerSetToNull=!0,this.$emit("update:modelValue",null)):this.$emit("update:modelValue",+e):this.$emit("update:modelValue",e))}}},mounted:function(){var e;this.modelData&&(this.labelShow=!0),null===(e=this.$refs.inputField)||void 0===e||e.addEventListener("keydown",this.handleKeyDownEvent)},destroyed:function(){var e;null===(e=this.$refs.inputField)||void 0===e||e.removeEventListener("keydown",this.handleKeyDownEvent)},methods:{triggerInput:function(){this.labelShow=!0},unTriggerInput:function(){this.modelData||(this.labelShow=!1)},focusInput:function(){this.labelShow=!0,this.$refs.inputField.focus()},onPaste:function(e){var t=(e.clipboardData||window.clipboardData).getData("text"),n=this.updatedModelDataAfterPasteAndKeyDown(e.target,t);t.includes("\n")&&(this.isMultilineValue=!0,this.modelData=n)},handleKeyDownEvent:function(e){if("Enter"===e.code&&e.shiftKey){e.preventDefault();var t=this.updatedModelDataAfterPasteAndKeyDown(e.target);this.isMultilineValue=!0,this.modelData=t}},updatedModelDataAfterPasteAndKeyDown:function(e,t){var n=e.selectionStart,a=e.selectionEnd;return this.modelData.substring(0,n)+(t=t||"\n")+this.modelData.substring(a,this.modelData.length)}}}),i={class:"ac-single-input is-small is-information"},o={key:0,class:"ac-single-switch is-small is-flex pb-10"},l=["id"],r=["for"],s={key:0},c=["type","placeholder"],d=["type","placeholder"],u={key:0,class:"button is-information"},m=[n.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6"},[n.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M4.5 12.75l6 6 9-13.5"})],-1)],p={key:1,class:"button is-information is-warning"},h=[n.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6"},[n.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6 18L18 6M6 6l12 12"})],-1)],v={key:3,class:"is-flex gap-4 mt-4 has-text-danger"},f=["type","placeholder"],g={key:0,class:"button is-information is-success"},k=[n.createElementVNode("span",{class:"icon"},[n.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6"},[n.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M4.5 12.75l6 6 9-13.5"})])],-1)],w={key:1,class:"button is-information is-warning"},y=[n.createElementVNode("span",{class:"icon"},[n.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6"},[n.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6 18L18 6M6 6l12 12"})])],-1)],b={key:1,class:"is-warning"},D=n.createElementVNode("i",{class:"fa fa-warning warning"},null,-1);a.render=function(e,t,a,V,E,B){return n.openBlock(),n.createElementBlock("div",i,["input"===e.ui.tag?(n.openBlock(),n.createElementBlock(n.Fragment,{key:0},["checkbox"===e.ui.type?(n.openBlock(),n.createElementBlock("div",o,[n.withDirectives(n.createElementVNode("input",{id:e.identifier,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.modelData=t}),type:"checkbox",name:"switchRoundedDefault",class:"switch ac-switch is-rounded is-primary"},null,8,l),[[n.vModelCheckbox,e.modelData]]),n.createElementVNode("label",{class:"switch-label",for:e.identifier},n.toDisplayString(e.schema.title),9,r)])):(n.openBlock(),n.createElementBlock(n.Fragment,{key:1},[n.createElementVNode("label",{class:n.normalizeClass([e.labelShow?"show-label":"","ac-label"]),onClick:t[1]||(t[1]=n.withModifiers((function(t){return e.focusInput()}),["prevent"]))},n.toDisplayString(e.schema.title),3),"input"===e.ui.tag?(n.openBlock(),n.createElementBlock("div",s,[e.isMultilineValue?n.withDirectives((n.openBlock(),n.createElementBlock("textarea",{key:0,ref:"textareaField","onUpdate:modelValue":t[2]||(t[2]=function(t){return e.modelData=t}),class:n.normalizeClass(["ac-input",{"is-success":e.validationOb.dirty&&e.validationOb.valid,"is-danger":e.validationOb.dirty&&!e.validationOb.valid,"bg-white":e.modelData}]),style:{"min-height":"100px"},type:e.ui.type,placeholder:e.ui.placeholder||"",onChange:t[3]||(t[3]=function(t){return e.modelData=t.target.value}),onFocus:t[4]||(t[4]=function(t){return e.triggerInput()}),onFocusout:t[5]||(t[5]=function(t){return e.unTriggerInput()}),onPaste:t[6]||(t[6]=function(){return e.onPaste&&e.onPaste.apply(e,arguments)})},null,42,c)),[[n.vModelText,e.modelData]]):n.withDirectives((n.openBlock(),n.createElementBlock("input",{key:1,ref:"inputField","onUpdate:modelValue":t[7]||(t[7]=function(t){return e.modelData=t}),class:n.normalizeClass(["ac-input",{"is-success":e.validationOb.dirty&&e.validationOb.valid,"is-danger":e.validationOb.dirty&&!e.validationOb.valid,"bg-white":e.modelData}]),type:e.ui.type,placeholder:e.ui.placeholder||"",onChange:t[8]||(t[8]=function(t){return e.modelData=t.target.value}),onFocus:t[9]||(t[9]=function(t){return e.triggerInput()}),onFocusout:t[10]||(t[10]=function(t){return e.unTriggerInput()}),onPaste:t[11]||(t[11]=function(){return e.onPaste&&e.onPaste.apply(e,arguments)})},null,42,d)),[[n.vModelDynamic,e.modelData]]),e.validationOb.dirty?(n.openBlock(),n.createElementBlock(n.Fragment,{key:2},[e.validationOb.valid?(n.openBlock(),n.createElementBlock("span",u,m)):n.createCommentVNode("",!0),e.validationOb.valid?n.createCommentVNode("",!0):(n.openBlock(),n.createElementBlock("span",p,h))],64)):n.createCommentVNode("",!0),e.validationOb&&e.validationOb.errors&&e.validationOb.errors.length>0?(n.openBlock(),n.createElementBlock("p",v,n.toDisplayString(e.validationOb.errors[0]),1)):n.createCommentVNode("",!0)])):n.createCommentVNode("",!0)],64))],64)):n.createCommentVNode("",!0),"textarea"===e.ui.tag?(n.openBlock(),n.createElementBlock(n.Fragment,{key:1},[n.withDirectives(n.createElementVNode("textarea",{"onUpdate:modelValue":t[12]||(t[12]=function(t){return e.modelData=t}),class:n.normalizeClass(["input",{"is-success":e.validationOb.dirty&&e.validationOb.valid,"is-danger":e.validationOb.dirty&&!e.validationOb.valid}]),type:e.ui.type,placeholder:e.ui.placeholder||"",onChange:t[13]||(t[13]=function(t){return e.modelData=t.target.value})},null,42,f),[[n.vModelText,e.modelData]]),e.validationOb.dirty?(n.openBlock(),n.createElementBlock(n.Fragment,{key:0},[e.valid?(n.openBlock(),n.createElementBlock("button",g,k)):n.createCommentVNode("",!0),e.invalid?(n.openBlock(),n.createElementBlock("button",w,y)):n.createCommentVNode("",!0)],64)):n.createCommentVNode("",!0),e.validationOb.errors.length>0?(n.openBlock(),n.createElementBlock("span",b,[D,n.createTextVNode(" "+n.toDisplayString(e.validationOb.errors[0]),1)])):n.createCommentVNode("",!0)],64)):n.createCommentVNode("",!0)])},exports.default=a; \ No newline at end of file diff --git a/dist/SimpleInput-ff1fc432.js b/dist/SimpleInput-ff1fc432.js deleted file mode 100644 index c12df9d..0000000 --- a/dist/SimpleInput-ff1fc432.js +++ /dev/null @@ -1 +0,0 @@ -import{m as t,v as e}from"./entry-2ace4904.js";import{s as i}from"./size-d02f66d9.js";import{defineComponent as n,openBlock as a,createElementBlock as l,Fragment as o,withDirectives as s,createElementVNode as r,vModelCheckbox as u,toDisplayString as d,normalizeClass as c,withModifiers as p,vModelText as h,vModelDynamic as f,createCommentVNode as m,createTextVNode as v}from"vue";var g=n({name:"SimpleInput",mixins:[t,e,i],props:{schema:{type:Object,default:function(){return{}}},modelValue:{type:null,default:""},validationOb:{type:Object,default:function(){return{}}}},emits:["update:modelValue"],data:function(){return{labelShow:!1,isIntegerSetToNull:!1,isMultilineValue:!1}},computed:{ui:function(){return this.schema.ui||{tag:"input",type:"text"}},identifier:function(){return"id-".concat(this.schema.title.replace(" ","-"),"-").concat(JSON.stringify((new Date).valueOf()))}},watch:{modelData:{immediate:!0,deep:!0,handler:function(t,e){var i=this;this.isMultilineValue&&setTimeout((function(){i.$refs.textareaField.focus()}),0),"string"==typeof t&&t.includes("\n")&&(this.isMultilineValue=!0),this.labelShow=!!t,(this.isIntegerSetToNull||null!=e)&&(this.isIntegerSetToNull&&t&&(this.isIntegerSetToNull=!1),"number"===this.type||"integer"===this.type?""===t?(this.isIntegerSetToNull=!0,this.$emit("update:modelValue",null)):this.$emit("update:modelValue",+t):this.$emit("update:modelValue",t))}}},mounted:function(){var t;this.modelData&&(this.labelShow=!0),null===(t=this.$refs.inputField)||void 0===t||t.addEventListener("keydown",this.handleKeyDownEvent)},destroyed:function(){var t;null===(t=this.$refs.inputField)||void 0===t||t.removeEventListener("keydown",this.handleKeyDownEvent)},methods:{triggerInput:function(){this.labelShow=!0},unTriggerInput:function(){this.modelData||(this.labelShow=!1)},focusInput:function(){this.labelShow=!0,this.$refs.inputField.focus()},onPaste:function(t){var e=(t.clipboardData||window.clipboardData).getData("text"),i=this.updatedModelDataAfterPasteAndKeyDown(t.target,e);e.includes("\n")&&(this.isMultilineValue=!0,this.modelData=i)},handleKeyDownEvent:function(t){if("Enter"===t.code&&t.shiftKey){t.preventDefault();var e=this.updatedModelDataAfterPasteAndKeyDown(t.target);this.isMultilineValue=!0,this.modelData=e}},updatedModelDataAfterPasteAndKeyDown:function(t,e){var i=t.selectionStart,n=t.selectionEnd;return this.modelData.substring(0,i)+(e=e||"\n")+this.modelData.substring(n,this.modelData.length)}}}),w={class:"ac-single-input is-small is-information"},y={key:0,class:"ac-single-switch is-small is-flex pb-10"},b=["id"],k=["for"],D={key:0},O=["type","placeholder"],x=["type","placeholder"],M={key:0,class:"button is-information"},S=[r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6"},[r("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M4.5 12.75l6 6 9-13.5"})],-1)],V={key:1,class:"button is-information is-warning"},I=[r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6"},[r("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6 18L18 6M6 6l12 12"})],-1)],F={key:3,class:"is-flex gap-4 mt-4 has-text-danger"},P=["type","placeholder"],T={key:0,class:"button is-information is-success"},j=[r("span",{class:"icon"},[r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6"},[r("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M4.5 12.75l6 6 9-13.5"})])],-1)],C={key:1,class:"button is-information is-warning"},E=[r("span",{class:"icon"},[r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6"},[r("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6 18L18 6M6 6l12 12"})])],-1)],K={key:1,class:"is-warning"},$=r("i",{class:"fa fa-warning warning"},null,-1);g.render=function(t,e,i,n,g,A){return a(),l("div",w,["input"===t.ui.tag?(a(),l(o,{key:0},["checkbox"===t.ui.type?(a(),l("div",y,[s(r("input",{id:t.identifier,"onUpdate:modelValue":e[0]||(e[0]=function(e){return t.modelData=e}),type:"checkbox",name:"switchRoundedDefault",class:"switch ac-switch is-rounded is-primary"},null,8,b),[[u,t.modelData]]),r("label",{class:"switch-label",for:t.identifier},d(t.schema.title),9,k)])):(a(),l(o,{key:1},[r("label",{class:c([t.labelShow?"show-label":"","ac-label"]),onClick:e[1]||(e[1]=p((function(e){return t.focusInput()}),["prevent"]))},d(t.schema.title),3),"input"===t.ui.tag?(a(),l("div",D,[t.isMultilineValue?s((a(),l("textarea",{key:0,ref:"textareaField","onUpdate:modelValue":e[2]||(e[2]=function(e){return t.modelData=e}),class:c(["ac-input",{"is-success":t.validationOb.dirty&&t.validationOb.valid,"is-danger":t.validationOb.dirty&&!t.validationOb.valid,"bg-white":t.modelData}]),style:{"min-height":"100px"},type:t.ui.type,placeholder:t.ui.placeholder||"",onChange:e[3]||(e[3]=function(e){return t.modelData=e.target.value}),onFocus:e[4]||(e[4]=function(e){return t.triggerInput()}),onFocusout:e[5]||(e[5]=function(e){return t.unTriggerInput()}),onPaste:e[6]||(e[6]=function(){return t.onPaste&&t.onPaste.apply(t,arguments)})},null,42,O)),[[h,t.modelData]]):s((a(),l("input",{key:1,ref:"inputField","onUpdate:modelValue":e[7]||(e[7]=function(e){return t.modelData=e}),class:c(["ac-input",{"is-success":t.validationOb.dirty&&t.validationOb.valid,"is-danger":t.validationOb.dirty&&!t.validationOb.valid,"bg-white":t.modelData}]),type:t.ui.type,placeholder:t.ui.placeholder||"",onChange:e[8]||(e[8]=function(e){return t.modelData=e.target.value}),onFocus:e[9]||(e[9]=function(e){return t.triggerInput()}),onFocusout:e[10]||(e[10]=function(e){return t.unTriggerInput()}),onPaste:e[11]||(e[11]=function(){return t.onPaste&&t.onPaste.apply(t,arguments)})},null,42,x)),[[f,t.modelData]]),t.validationOb.dirty?(a(),l(o,{key:2},[t.validationOb.valid?(a(),l("span",M,S)):m("",!0),t.validationOb.valid?m("",!0):(a(),l("span",V,I))],64)):m("",!0),t.validationOb&&t.validationOb.errors&&t.validationOb.errors.length>0?(a(),l("p",F,d(t.validationOb.errors[0]),1)):m("",!0)])):m("",!0)],64))],64)):m("",!0),"textarea"===t.ui.tag?(a(),l(o,{key:1},[s(r("textarea",{"onUpdate:modelValue":e[12]||(e[12]=function(e){return t.modelData=e}),class:c(["input",{"is-success":t.validationOb.dirty&&t.validationOb.valid,"is-danger":t.validationOb.dirty&&!t.validationOb.valid}]),type:t.ui.type,placeholder:t.ui.placeholder||"",onChange:e[13]||(e[13]=function(e){return t.modelData=e.target.value})},null,42,P),[[h,t.modelData]]),t.validationOb.dirty?(a(),l(o,{key:0},[t.valid?(a(),l("button",T,j)):m("",!0),t.invalid?(a(),l("button",C,E)):m("",!0)],64)):m("",!0),t.validationOb.errors.length>0?(a(),l("span",K,[$,v(" "+d(t.validationOb.errors[0]),1)])):m("",!0)],64)):m("",!0)])};export{g as default}; \ No newline at end of file diff --git a/dist/TabItem-05b72b6f.js b/dist/TabItem-05b72b6f.js deleted file mode 100644 index 330b408..0000000 --- a/dist/TabItem-05b72b6f.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";var e=require("vue"),t=e.defineComponent({__name:"TabItem",props:{isActive:{type:Boolean,default:!1}},setup:t=>(t,a)=>(e.openBlock(),e.createElementBlock("li",{class:e.normalizeClass({"is-active":t.isActive}),"data-testid":"tab-item"},[e.renderSlot(t.$slots,"default")],2))});exports.default=t; \ No newline at end of file diff --git a/dist/TabItem-9e42838b.js b/dist/TabItem-9e42838b.js deleted file mode 100644 index c8b02f5..0000000 --- a/dist/TabItem-9e42838b.js +++ /dev/null @@ -1 +0,0 @@ -import{defineComponent as t,openBlock as e,createElementBlock as a,normalizeClass as s,renderSlot as i}from"vue";var l=t({__name:"TabItem",props:{isActive:{type:Boolean,default:!1}},setup:t=>(t,l)=>(e(),a("li",{class:s({"is-active":t.isActive}),"data-testid":"tab-item"},[i(t.$slots,"default")],2))});export{l as default}; \ No newline at end of file diff --git a/dist/Tabs-71c515fc.js b/dist/Tabs-71c515fc.js deleted file mode 100644 index 73e059d..0000000 --- a/dist/Tabs-71c515fc.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";var e=require("vue");const t={class:"tabs ac-tabs"};const r={render:function(r,l){return e.openBlock(),e.createElementBlock("div",t,[e.createElementVNode("ul",null,[e.renderSlot(r.$slots,"default")])])}};exports.default=r; \ No newline at end of file diff --git a/dist/Tabs-724892f9.js b/dist/Tabs-724892f9.js deleted file mode 100644 index 664955e..0000000 --- a/dist/Tabs-724892f9.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";var e=require("vue"),a=e.defineComponent({name:"Tabs",props:{modelValue:{type:String,default:"form"},showTab:{type:Boolean,default:!1}},emits:["update:modelValue"],data:function(){return{activeTab:"form"}},methods:{showForm:function(){this.activeTab="form",this.$emit("update:modelValue","form")},showJson:function(){this.activeTab="json",this.$emit("update:modelValue","json")},showYaml:function(){this.activeTab="yaml",this.$emit("update:modelValue","yaml")}}}),t=[e.createElementVNode("span",{class:"icon is-small"},[e.createElementVNode("i",{class:"fa fa-file-text fa-flip-horizontal","aria-hidden":"true"})],-1),e.createElementVNode("span",null,"Form",-1)],l=[e.createElementVNode("span",{class:"icon is-small"},[e.createElementVNode("i",{class:"fa fa-code","aria-hidden":"true"})],-1),e.createElementVNode("span",null,"YAML",-1)],i=[e.createElementVNode("span",{class:"icon is-small"},[e.createElementVNode("i",{class:"fa fa-code","aria-hidden":"true"})],-1),e.createElementVNode("span",null,"JSON",-1)];a.render=function(a,n,o,s,r,c){return e.openBlock(),e.createElementBlock("div",{class:"tabs ac-tabs is-line",style:e.normalizeStyle(a.showTab?"opacity: 1; visibility: visible;":"")},[e.createElementVNode("ul",null,[e.createElementVNode("li",{class:e.normalizeClass({"is-active":"form"===a.activeTab})},[e.createElementVNode("a",{onClick:n[0]||(n[0]=e.withModifiers((function(e){return a.showForm()}),["prevent"]))},t)],2),e.createElementVNode("li",{class:e.normalizeClass({"is-active":"yaml"===a.activeTab})},[e.createElementVNode("a",{onClick:n[1]||(n[1]=e.withModifiers((function(e){return a.showYaml()}),["prevent"]))},l)],2),e.createElementVNode("li",{class:e.normalizeClass({"is-active":"json"===a.activeTab})},[e.createElementVNode("a",{onClick:n[2]||(n[2]=e.withModifiers((function(e){return a.showJson()}),["prevent"]))},i)],2)])],4)},exports.default=a; \ No newline at end of file diff --git a/dist/Tabs-877aa47f.js b/dist/Tabs-877aa47f.js deleted file mode 100644 index 03726fb..0000000 --- a/dist/Tabs-877aa47f.js +++ /dev/null @@ -1 +0,0 @@ -import{defineComponent as a,openBlock as i,createElementBlock as s,createElementVNode as e,normalizeClass as t,withModifiers as n}from"vue";var l=a({name:"Tabs",props:{modelValue:{type:String,default:"form"}},emits:["update:modelValue"],data:function(){return{activeTab:"form"}},methods:{showForm:function(){this.activeTab="form",this.$emit("update:modelValue","form")},showJson:function(){this.activeTab="json",this.$emit("update:modelValue","json")},showYaml:function(){this.activeTab="yaml",this.$emit("update:modelValue","yaml")}}}),o={class:"tabs ac-tabs is-line"},c=[e("span",{class:"icon is-small"},[e("i",{class:"fa fa-file-text fa-flip-horizontal","aria-hidden":"true"})],-1),e("span",null,"Form",-1)],r=[e("span",{class:"icon is-small"},[e("i",{class:"fa fa-code","aria-hidden":"true"})],-1),e("span",null,"YAML",-1)],u=[e("span",{class:"icon is-small"},[e("i",{class:"fa fa-code","aria-hidden":"true"})],-1),e("span",null,"JSON",-1)];l.render=function(a,l,m,f,d,p){return i(),s("div",o,[e("ul",null,[e("li",{class:t({"is-active":"form"===a.activeTab})},[e("a",{onClick:l[0]||(l[0]=n((function(i){return a.showForm()}),["prevent"]))},c)],2),e("li",{class:t({"is-active":"yaml"===a.activeTab})},[e("a",{onClick:l[1]||(l[1]=n((function(i){return a.showYaml()}),["prevent"]))},r)],2),e("li",{class:t({"is-active":"json"===a.activeTab})},[e("a",{onClick:l[2]||(l[2]=n((function(i){return a.showJson()}),["prevent"]))},u)],2)])])};export{l as default}; \ No newline at end of file diff --git a/dist/Tabs-8b79b1b8.js b/dist/Tabs-8b79b1b8.js deleted file mode 100644 index 2a17b96..0000000 --- a/dist/Tabs-8b79b1b8.js +++ /dev/null @@ -1 +0,0 @@ -import{defineComponent as a,openBlock as i,createElementBlock as s,normalizeStyle as e,createElementVNode as t,normalizeClass as l,withModifiers as n}from"vue";var o=a({name:"Tabs",props:{modelValue:{type:String,default:"form"},showTab:{type:Boolean,default:!1}},emits:["update:modelValue"],data:function(){return{activeTab:"form"}},methods:{showForm:function(){this.activeTab="form",this.$emit("update:modelValue","form")},showJson:function(){this.activeTab="json",this.$emit("update:modelValue","json")},showYaml:function(){this.activeTab="yaml",this.$emit("update:modelValue","yaml")}}}),c=[t("span",{class:"icon is-small"},[t("i",{class:"fa fa-file-text fa-flip-horizontal","aria-hidden":"true"})],-1),t("span",null,"Form",-1)],r=[t("span",{class:"icon is-small"},[t("i",{class:"fa fa-code","aria-hidden":"true"})],-1),t("span",null,"YAML",-1)],u=[t("span",{class:"icon is-small"},[t("i",{class:"fa fa-code","aria-hidden":"true"})],-1),t("span",null,"JSON",-1)];o.render=function(a,o,m,f,d,p){return i(),s("div",{class:"tabs ac-tabs is-line",style:e(a.showTab?"opacity: 1; visibility: visible;":"")},[t("ul",null,[t("li",{class:l({"is-active":"form"===a.activeTab})},[t("a",{onClick:o[0]||(o[0]=n((function(i){return a.showForm()}),["prevent"]))},c)],2),t("li",{class:l({"is-active":"yaml"===a.activeTab})},[t("a",{onClick:o[1]||(o[1]=n((function(i){return a.showYaml()}),["prevent"]))},r)],2),t("li",{class:l({"is-active":"json"===a.activeTab})},[t("a",{onClick:o[2]||(o[2]=n((function(i){return a.showJson()}),["prevent"]))},u)],2)])],4)};export{o as default}; \ No newline at end of file diff --git a/dist/Tabs-99642040.js b/dist/Tabs-99642040.js deleted file mode 100644 index 8f63223..0000000 --- a/dist/Tabs-99642040.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";var e=require("vue"),a=e.defineComponent({name:"Tabs",props:{modelValue:{type:String,default:"form"}},emits:["update:modelValue"],data:function(){return{activeTab:"form"}},methods:{showForm:function(){this.activeTab="form",this.$emit("update:modelValue","form")},showJson:function(){this.activeTab="json",this.$emit("update:modelValue","json")},showYaml:function(){this.activeTab="yaml",this.$emit("update:modelValue","yaml")}}}),t={class:"tabs ac-tabs is-line"},l=[e.createElementVNode("span",{class:"icon is-small"},[e.createElementVNode("i",{class:"fa fa-file-text fa-flip-horizontal","aria-hidden":"true"})],-1),e.createElementVNode("span",null,"Form",-1)],n=[e.createElementVNode("span",{class:"icon is-small"},[e.createElementVNode("i",{class:"fa fa-code","aria-hidden":"true"})],-1),e.createElementVNode("span",null,"YAML",-1)],i=[e.createElementVNode("span",{class:"icon is-small"},[e.createElementVNode("i",{class:"fa fa-code","aria-hidden":"true"})],-1),e.createElementVNode("span",null,"JSON",-1)];a.render=function(a,o,s,r,c,m){return e.openBlock(),e.createElementBlock("div",t,[e.createElementVNode("ul",null,[e.createElementVNode("li",{class:e.normalizeClass({"is-active":"form"===a.activeTab})},[e.createElementVNode("a",{onClick:o[0]||(o[0]=e.withModifiers((function(e){return a.showForm()}),["prevent"]))},l)],2),e.createElementVNode("li",{class:e.normalizeClass({"is-active":"yaml"===a.activeTab})},[e.createElementVNode("a",{onClick:o[1]||(o[1]=e.withModifiers((function(e){return a.showYaml()}),["prevent"]))},n)],2),e.createElementVNode("li",{class:e.normalizeClass({"is-active":"json"===a.activeTab})},[e.createElementVNode("a",{onClick:o[2]||(o[2]=e.withModifiers((function(e){return a.showJson()}),["prevent"]))},i)],2)])])},exports.default=a; \ No newline at end of file diff --git a/dist/Tabs-GSZCVuZM.js b/dist/Tabs-GSZCVuZM.js new file mode 100644 index 0000000..25a9d80 --- /dev/null +++ b/dist/Tabs-GSZCVuZM.js @@ -0,0 +1,53 @@ +import { resolveComponent as l, openBlock as s, createElementBlock as m, normalizeClass as r, createVNode as i, defineComponent as d } from "vue"; +import { AcSegmentedControl as p } from "@mohin4/design-system"; +import { FileText as c, Code as a } from "lucide-vue-next"; +import { _ as u } from "./entry-CiSu1Krq.js"; +const f = d({ + name: "Tabs", + components: { AcSegmentedControl: p }, + props: { + modelValue: { + type: String, + default: "form" + }, + showTab: { + type: Boolean, + default: !1 + } + }, + emits: ["update:modelValue"], + data() { + return { + activeTab: "form", + options: [ + { value: "form", label: "Form", icon: c }, + { value: "yaml", label: "YAML", icon: a }, + { value: "json", label: "JSON", icon: a } + ] + }; + }, + methods: { + onChange(e) { + this.$emit("update:modelValue", e); + } + } +}); +function b(e, o, v, C, g, T) { + const n = l("ac-segmented-control"); + return s(), m("div", { + class: r(["vof-tabs", { "is-visible": e.showTab }]) + }, [ + i(n, { + modelValue: e.activeTab, + "onUpdate:modelValue": o[0] || (o[0] = (t) => e.activeTab = t), + size: "small", + label: "Editor mode", + options: e.options, + onChange: e.onChange + }, null, 8, ["modelValue", "options", "onChange"]) + ], 2); +} +const y = /* @__PURE__ */ u(f, [["render", b]]); +export { + y as default +}; diff --git a/dist/Tabs-f456f148.js b/dist/Tabs-f456f148.js deleted file mode 100644 index 4f79593..0000000 --- a/dist/Tabs-f456f148.js +++ /dev/null @@ -1 +0,0 @@ -import{openBlock as t,createElementBlock as s,createElementVNode as a,renderSlot as e}from"vue";const l={class:"tabs ac-tabs"};const n={render:function(n,o){return t(),s("div",l,[a("ul",null,[e(n.$slots,"default")])])}};export{n as default}; \ No newline at end of file diff --git a/dist/TabsBody-09c099c1.js b/dist/TabsBody-09c099c1.js deleted file mode 100644 index fb88832..0000000 --- a/dist/TabsBody-09c099c1.js +++ /dev/null @@ -1 +0,0 @@ -import{openBlock as t,createElementBlock as a,renderSlot as e}from"vue";const o={class:"ac-tabs-body is-content-available"};const s={render:function(s,n){return t(),a("div",o,[e(s.$slots,"default")])}};export{s as default}; \ No newline at end of file diff --git a/dist/TabsBody-415c3b23.js b/dist/TabsBody-415c3b23.js deleted file mode 100644 index 65b38ea..0000000 --- a/dist/TabsBody-415c3b23.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";var e=require("vue");const t={class:"ac-tabs-body is-content-available"};const r={render:function(r,n){return e.openBlock(),e.createElementBlock("div",t,[e.renderSlot(r.$slots,"default")])}};exports.default=r; \ No newline at end of file diff --git a/dist/YamlForm-0ab70977.js b/dist/YamlForm-0ab70977.js deleted file mode 100644 index b71a107..0000000 --- a/dist/YamlForm-0ab70977.js +++ /dev/null @@ -1 +0,0 @@ -import{m as e}from"./entry-2ace4904.js";import{defineComponent as t,defineAsyncComponent as n,resolveComponent as i,openBlock as r,createElementBlock as o,createBlock as a}from"vue";function l(e){return null==e}var u={isNothing:l,isObject:function(e){return"object"==typeof e&&null!==e},toArray:function(e){return Array.isArray(e)?e:l(e)?[]:[e]},repeat:function(e,t){var n,i="";for(n=0;n0&&-1==="\0\r\n…\u2028\u2029".indexOf(this.buffer.charAt(i-1));)if(i-=1,this.position-i>t/2-1){n=" ... ",i+=5;break}for(r="",o=this.position;ot/2-1){r=" ... ",o-=5;break}return a=this.buffer.slice(i,o),u.repeat(" ",e)+n+a+r+"\n"+u.repeat(" ",e+this.position-i+n.length)+"^"},p.prototype.toString=function(e){var t,n="";return this.name&&(n+='in "'+this.name+'" '),n+="at line "+(this.line+1)+", column "+(this.column+1),e||(t=this.getSnippet())&&(n+=":\n"+t),n};var f=p,d=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],h=["scalar","sequence","mapping"];var g=function(e,t){if(t=t||{},Object.keys(t).forEach((function(t){if(-1===d.indexOf(t))throw new s('Unknown option "'+t+'" is met in definition of "'+e+'" YAML type.')})),this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(e){return e},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.defaultStyle=t.defaultStyle||null,this.styleAliases=function(e){var t={};return null!==e&&Object.keys(e).forEach((function(n){e[n].forEach((function(e){t[String(e)]=n}))})),t}(t.styleAliases||null),-1===h.indexOf(this.kind))throw new s('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')};function m(e,t,n){var i=[];return e.include.forEach((function(e){n=m(e,t,n)})),e[t].forEach((function(e){n.forEach((function(t,n){t.tag===e.tag&&t.kind===e.kind&&i.push(n)})),n.push(e)})),n.filter((function(e,t){return-1===i.indexOf(t)}))}function y(e){this.include=e.include||[],this.implicit=e.implicit||[],this.explicit=e.explicit||[],this.implicit.forEach((function(e){if(e.loadKind&&"scalar"!==e.loadKind)throw new s("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.")})),this.compiledImplicit=m(this,"implicit",[]),this.compiledExplicit=m(this,"explicit",[]),this.compiledTypeMap=function(){var e,t,n={scalar:{},sequence:{},mapping:{},fallback:{}};function i(e){n[e.kind][e.tag]=n.fallback[e.tag]=e}for(e=0,t=arguments.length;e=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0"+e.toString(8):"-0"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),S=new RegExp("^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");var I=/^[-+]?[0-9]+e/;var j=new v({include:[A],implicit:[b,w,x,new g("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(e){return null!==e&&!(!S.test(e)||"_"===e[e.length-1])},construct:function(e){var t,n,i,r;return n="-"===(t=e.replace(/_/g,"").toLowerCase())[0]?-1:1,r=[],"+-".indexOf(t[0])>=0&&(t=t.slice(1)),".inf"===t?1===n?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:".nan"===t?NaN:t.indexOf(":")>=0?(t.split(":").forEach((function(e){r.unshift(parseFloat(e,10))})),t=0,i=1,r.forEach((function(e){t+=e*i,i*=60})),n*t):n*parseFloat(t,10)},predicate:function(e){return"[object Number]"===Object.prototype.toString.call(e)&&(e%1!=0||u.isNegativeZero(e))},represent:function(e,t){var n;if(isNaN(e))switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(u.isNegativeZero(e))return"-0.0";return n=e.toString(10),I.test(n)?n.replace("e",".e"):n},defaultStyle:"lowercase"})]}),E=new v({include:[j]}),O=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),F=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");var M=new g("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(e){return null!==e&&(null!==O.exec(e)||null!==F.exec(e))},construct:function(e){var t,n,i,r,o,a,l,u,c=0,s=null;if(null===(t=O.exec(e))&&(t=F.exec(e)),null===t)throw new Error("Date resolve error");if(n=+t[1],i=+t[2]-1,r=+t[3],!t[4])return new Date(Date.UTC(n,i,r));if(o=+t[4],a=+t[5],l=+t[6],t[7]){for(c=t[7].slice(0,3);c.length<3;)c+="0";c=+c}return t[9]&&(s=6e4*(60*+t[10]+ +(t[11]||0)),"-"===t[9]&&(s=-s)),u=new Date(Date.UTC(n,i,r,o,a,l,c)),s&&u.setTime(u.getTime()-s),u},instanceOf:Date,represent:function(e){return e.toISOString()}});var N,T=new g("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(e){return"<<"===e||null===e}});function L(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets option of @rollup/plugin-commonjs appropriately for this require call to behave properly.')}try{N=L("buffer").Buffer}catch(e){}var _="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";var D=new g("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(e){if(null===e)return!1;var t,n,i=0,r=e.length,o=_;for(n=0;n64)){if(t<0)return!1;i+=6}return i%8==0},construct:function(e){var t,n,i=e.replace(/[\r\n=]/g,""),r=i.length,o=_,a=0,l=[];for(t=0;t>16&255),l.push(a>>8&255),l.push(255&a)),a=a<<6|o.indexOf(i.charAt(t));return 0===(n=r%4*6)?(l.push(a>>16&255),l.push(a>>8&255),l.push(255&a)):18===n?(l.push(a>>10&255),l.push(a>>2&255)):12===n&&l.push(a>>4&255),N?N.from?N.from(l):new N(l):l},predicate:function(e){return N&&N.isBuffer(e)},represent:function(e){var t,n,i="",r=0,o=e.length,a=_;for(t=0;t>18&63],i+=a[r>>12&63],i+=a[r>>6&63],i+=a[63&r]),r=(r<<8)+e[t];return 0===(n=o%3)?(i+=a[r>>18&63],i+=a[r>>12&63],i+=a[r>>6&63],i+=a[63&r]):2===n?(i+=a[r>>10&63],i+=a[r>>4&63],i+=a[r<<2&63],i+=a[64]):1===n&&(i+=a[r>>2&63],i+=a[r<<4&63],i+=a[64],i+=a[64]),i}}),U=Object.prototype.hasOwnProperty,Y=Object.prototype.toString;var q=new g("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(e){if(null===e)return!0;var t,n,i,r,o,a=[],l=e;for(t=0,n=l.length;t3)return!1;if("/"!==t[t.length-i.length-1])return!1}return!0},construct:function(e){var t=e,n=/\/([gim]*)$/.exec(e),i="";return"/"===t[0]&&(n&&(i=n[1]),t=t.slice(1,t.length-i.length-1)),new RegExp(t,i)},predicate:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},represent:function(e){var t="/"+e.source+"/";return e.global&&(t+="g"),e.multiline&&(t+="m"),e.ignoreCase&&(t+="i"),t}});try{$=L("esprima")}catch(e){"undefined"!=typeof window&&($=window.esprima)}var H=new g("tag:yaml.org,2002:js/function",{kind:"scalar",resolve:function(e){if(null===e)return!1;try{var t="("+e+")",n=$.parse(t,{range:!0});return"Program"===n.type&&1===n.body.length&&"ExpressionStatement"===n.body[0].type&&("ArrowFunctionExpression"===n.body[0].expression.type||"FunctionExpression"===n.body[0].expression.type)}catch(e){return!1}},construct:function(e){var t,n="("+e+")",i=$.parse(n,{range:!0}),r=[];if("Program"!==i.type||1!==i.body.length||"ExpressionStatement"!==i.body[0].type||"ArrowFunctionExpression"!==i.body[0].expression.type&&"FunctionExpression"!==i.body[0].expression.type)throw new Error("Failed to resolve function");return i.body[0].expression.params.forEach((function(e){r.push(e.name)})),t=i.body[0].expression.body.range,"BlockStatement"===i.body[0].expression.body.type?new Function(r,n.slice(t[0]+1,t[1]-1)):new Function(r,"return "+n.slice(t[0],t[1]))},predicate:function(e){return"[object Function]"===Object.prototype.toString.call(e)},represent:function(e){return e.toString()}}),G=v.DEFAULT=new v({include:[B],explicit:[P,K,H]}),Z=Object.prototype.hasOwnProperty,z=1,J=2,Q=3,X=4,ee=1,te=2,ne=3,ie=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,re=/[\x85\u2028\u2029]/,oe=/[,\[\]\{\}]/,ae=/^(?:!|!!|![a-z\-]+!)$/i,le=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function ue(e){return Object.prototype.toString.call(e)}function ce(e){return 10===e||13===e}function se(e){return 9===e||32===e}function pe(e){return 9===e||32===e||10===e||13===e}function fe(e){return 44===e||91===e||93===e||123===e||125===e}function de(e){var t;return 48<=e&&e<=57?e-48:97<=(t=32|e)&&t<=102?t-97+10:-1}function he(e){return 48===e?"\0":97===e?"":98===e?"\b":116===e||9===e?"\t":110===e?"\n":118===e?"\v":102===e?"\f":114===e?"\r":101===e?"":32===e?" ":34===e?'"':47===e?"/":92===e?"\\":78===e?"…":95===e?" ":76===e?"\u2028":80===e?"\u2029":""}function ge(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(55296+(e-65536>>10),56320+(e-65536&1023))}for(var me=new Array(256),ye=new Array(256),ve=0;ve<256;ve++)me[ve]=he(ve)?1:0,ye[ve]=he(ve);function Ae(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||G,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.documents=[]}function be(e,t){return new s(t,new f(e.filename,e.input,e.position,e.line,e.position-e.lineStart))}function we(e,t){throw be(e,t)}function Ce(e,t){e.onWarning&&e.onWarning.call(null,be(e,t))}var ke={YAML:function(e,t,n){var i,r,o;null!==e.version&&we(e,"duplication of %YAML directive"),1!==n.length&&we(e,"YAML directive accepts exactly one argument"),null===(i=/^([0-9]+)\.([0-9]+)$/.exec(n[0]))&&we(e,"ill-formed argument of the YAML directive"),r=parseInt(i[1],10),o=parseInt(i[2],10),1!==r&&we(e,"unacceptable YAML version of the document"),e.version=n[0],e.checkLineBreaks=o<2,1!==o&&2!==o&&Ce(e,"unsupported YAML version of the document")},TAG:function(e,t,n){var i,r;2!==n.length&&we(e,"TAG directive accepts exactly two arguments"),i=n[0],r=n[1],ae.test(i)||we(e,"ill-formed tag handle (first argument) of the TAG directive"),Z.call(e.tagMap,i)&&we(e,'there is a previously declared suffix for "'+i+'" tag handle'),le.test(r)||we(e,"ill-formed tag prefix (second argument) of the TAG directive"),e.tagMap[i]=r}};function xe(e,t,n,i){var r,o,a,l;if(t1&&(e.result+=u.repeat("\n",t-1))}function Me(e,t){var n,i,r=e.tag,o=e.anchor,a=[],l=!1;for(null!==e.anchor&&(e.anchorMap[e.anchor]=a),i=e.input.charCodeAt(e.position);0!==i&&45===i&&pe(e.input.charCodeAt(e.position+1));)if(l=!0,e.position++,Ee(e,!0,-1)&&e.lineIndent<=t)a.push(null),i=e.input.charCodeAt(e.position);else if(n=e.line,Le(e,t,Q,!1,!0),a.push(e.result),Ee(e,!0,-1),i=e.input.charCodeAt(e.position),(e.line===n||e.lineIndent>t)&&0!==i)we(e,"bad indentation of a sequence entry");else if(e.lineIndentt?h=1:e.lineIndent===t?h=0:e.lineIndentt?h=1:e.lineIndent===t?h=0:e.lineIndentt)&&(Le(e,t,X,!0,r)&&(g?d=e.result:h=e.result),g||(Ie(e,s,p,f,d,h,o,a),f=d=h=null),Ee(e,!0,-1),l=e.input.charCodeAt(e.position)),e.lineIndent>t&&0!==l)we(e,"bad indentation of a mapping entry");else if(e.lineIndent=0))break;0===r?we(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):s?we(e,"repeat of an indentation width identifier"):(p=t+r-1,s=!0)}if(se(o)){do{o=e.input.charCodeAt(++e.position)}while(se(o));if(35===o)do{o=e.input.charCodeAt(++e.position)}while(!ce(o)&&0!==o)}for(;0!==o;){for(je(e),e.lineIndent=0,o=e.input.charCodeAt(e.position);(!s||e.lineIndentp&&(p=e.lineIndent),ce(o))f++;else{if(e.lineIndent0){for(r=a,o=0;r>0;r--)(a=de(l=e.input.charCodeAt(++e.position)))>=0?o=(o<<4)+a:we(e,"expected hexadecimal character");e.result+=ge(o),e.position++}else we(e,"unknown escape sequence");n=i=e.position}else ce(l)?(xe(e,n,i,!0),Fe(e,Ee(e,!1,t)),n=i=e.position):e.position===e.lineStart&&Oe(e)?we(e,"unexpected end of the document within a double quoted scalar"):(e.position++,i=e.position)}we(e,"unexpected end of the stream within a double quoted scalar")}(e,f)?m=!0:!function(e){var t,n,i;if(42!==(i=e.input.charCodeAt(e.position)))return!1;for(i=e.input.charCodeAt(++e.position),t=e.position;0!==i&&!pe(i)&&!fe(i);)i=e.input.charCodeAt(++e.position);return e.position===t&&we(e,"name of an alias node must contain at least one character"),n=e.input.slice(t,e.position),Z.call(e.anchorMap,n)||we(e,'unidentified alias "'+n+'"'),e.result=e.anchorMap[n],Ee(e,!0,-1),!0}(e)?function(e,t,n){var i,r,o,a,l,u,c,s,p=e.kind,f=e.result;if(pe(s=e.input.charCodeAt(e.position))||fe(s)||35===s||38===s||42===s||33===s||124===s||62===s||39===s||34===s||37===s||64===s||96===s)return!1;if((63===s||45===s)&&(pe(i=e.input.charCodeAt(e.position+1))||n&&fe(i)))return!1;for(e.kind="scalar",e.result="",r=o=e.position,a=!1;0!==s;){if(58===s){if(pe(i=e.input.charCodeAt(e.position+1))||n&&fe(i))break}else if(35===s){if(pe(e.input.charCodeAt(e.position-1)))break}else{if(e.position===e.lineStart&&Oe(e)||n&&fe(s))break;if(ce(s)){if(l=e.line,u=e.lineStart,c=e.lineIndent,Ee(e,!1,-1),e.lineIndent>=t){a=!0,s=e.input.charCodeAt(e.position);continue}e.position=o,e.line=l,e.lineStart=u,e.lineIndent=c;break}}a&&(xe(e,r,o,!1),Fe(e,e.line-l),r=o=e.position,a=!1),se(s)||(o=e.position+1),s=e.input.charCodeAt(++e.position)}return xe(e,r,o,!1),!!e.result||(e.kind=p,e.result=f,!1)}(e,f,z===n)&&(m=!0,null===e.tag&&(e.tag="?")):(m=!0,null===e.tag&&null===e.anchor||we(e,"alias node should not have any properties")),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):0===h&&(m=l&&Me(e,d))),null!==e.tag&&"!"!==e.tag)if("?"===e.tag){for(null!==e.result&&"scalar"!==e.kind&&we(e,'unacceptable node kind for ! tag; it should be "scalar", not "'+e.kind+'"'),c=0,s=e.implicitTypes.length;c tag; it should be "'+p.kind+'", not "'+e.kind+'"'),p.resolve(e.result)?(e.result=p.construct(e.result),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):we(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")):we(e,"unknown tag !<"+e.tag+">");return null!==e.listener&&e.listener("close",e),null!==e.tag||null!==e.anchor||m}function _e(e){var t,n,i,r,o=e.position,a=!1;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap={},e.anchorMap={};0!==(r=e.input.charCodeAt(e.position))&&(Ee(e,!0,-1),r=e.input.charCodeAt(e.position),!(e.lineIndent>0||37!==r));){for(a=!0,r=e.input.charCodeAt(++e.position),t=e.position;0!==r&&!pe(r);)r=e.input.charCodeAt(++e.position);for(i=[],(n=e.input.slice(t,e.position)).length<1&&we(e,"directive name must not be less than one character in length");0!==r;){for(;se(r);)r=e.input.charCodeAt(++e.position);if(35===r){do{r=e.input.charCodeAt(++e.position)}while(0!==r&&!ce(r));break}if(ce(r))break;for(t=e.position;0!==r&&!pe(r);)r=e.input.charCodeAt(++e.position);i.push(e.input.slice(t,e.position))}0!==r&&je(e),Z.call(ke,n)?ke[n](e,n,i):Ce(e,'unknown document directive "'+n+'"')}Ee(e,!0,-1),0===e.lineIndent&&45===e.input.charCodeAt(e.position)&&45===e.input.charCodeAt(e.position+1)&&45===e.input.charCodeAt(e.position+2)?(e.position+=3,Ee(e,!0,-1)):a&&we(e,"directives end mark is expected"),Le(e,e.lineIndent-1,X,!1,!0),Ee(e,!0,-1),e.checkLineBreaks&&re.test(e.input.slice(o,e.position))&&Ce(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&Oe(e)?46===e.input.charCodeAt(e.position)&&(e.position+=3,Ee(e,!0,-1)):e.position0?e.charCodeAt(o-1):null,d=d&&bt(a,l)}else{for(o=0;oi&&" "!==e[f+1],f=o);else if(!At(a))return It;l=o>0?e.charCodeAt(o-1):null,d=d&&bt(a,l)}s=s||p&&o-f-1>i&&" "!==e[f+1]}return c||s?n>9&&wt(e)?It:s?St:xt:d&&!r(e)?Ct:kt}function Et(e,t,n,i){e.dump=function(){if(0===t.length)return"''";if(!e.noCompatMode&&-1!==dt.indexOf(t))return"'"+t+"'";var r=e.indent*Math.max(1,n),o=-1===e.lineWidth?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-r),a=i||e.flowLevel>-1&&n>=e.flowLevel;switch(jt(t,a,e.indent,o,(function(t){return function(e,t){var n,i;for(n=0,i=e.implicitTypes.length;n"+Ot(t,e.indent)+Ft(mt(function(e,t){var n,i,r=/(\n+)([^\n]*)/g,o=(l=e.indexOf("\n"),l=-1!==l?l:e.length,r.lastIndex=l,Mt(e.slice(0,l),t)),a="\n"===e[0]||" "===e[0];var l;for(;i=r.exec(e);){var u=i[1],c=i[2];n=" "===c[0],o+=u+(a||n||""===c?"":"\n")+Mt(c,t),a=n}return o}(t,o),r));case It:return'"'+function(e){for(var t,n,i,r="",o=0;o=55296&&t<=56319&&(n=e.charCodeAt(o+1))>=56320&&n<=57343?(r+=ht(1024*(t-55296)+n-56320+65536),o++):r+=!(i=ft[t])&&At(t)?e[o]:i||ht(t);return r}(t)+'"';default:throw new s("impossible error: invalid scalar style")}}()}function Ot(e,t){var n=wt(e)?String(t):"",i="\n"===e[e.length-1];return n+(i&&("\n"===e[e.length-2]||"\n"===e)?"+":i?"":"-")+"\n"}function Ft(e){return"\n"===e[e.length-1]?e.slice(0,-1):e}function Mt(e,t){if(""===e||" "===e[0])return e;for(var n,i,r=/ [^ ]/g,o=0,a=0,l=0,u="";n=r.exec(e);)(l=n.index)-o>t&&(i=a>o?a:l,u+="\n"+e.slice(o,i),o=i+1),a=l;return u+="\n",e.length-o>t&&a>o?u+=e.slice(o,a)+"\n"+e.slice(a+1):u+=e.slice(o),u.slice(1)}function Nt(e,t,n){var i,r,o,a,l,u;for(o=0,a=(r=n?e.explicitTypes:e.implicitTypes).length;o tag resolver accepts not "'+u+'" style');i=l.represent[u](t,u)}e.dump=i}return!0}return!1}function Tt(e,t,n,i,r,o){e.tag=null,e.dump=n,Nt(e,n,!1)||Nt(e,n,!0);var a=Re.call(e.dump);i&&(i=e.flowLevel<0||e.flowLevel>t);var l,u,c="[object Object]"===a||"[object Array]"===a;if(c&&(u=-1!==(l=e.duplicates.indexOf(n))),(null!==e.tag&&"?"!==e.tag||u||2!==e.indent&&t>0)&&(r=!1),u&&e.usedDuplicates[l])e.dump="*ref_"+l;else{if(c&&u&&!e.usedDuplicates[l]&&(e.usedDuplicates[l]=!0),"[object Object]"===a)i&&0!==Object.keys(e.dump).length?(!function(e,t,n,i){var r,o,a,l,u,c,p="",f=e.tag,d=Object.keys(n);if(!0===e.sortKeys)d.sort();else if("function"==typeof e.sortKeys)d.sort(e.sortKeys);else if(e.sortKeys)throw new s("sortKeys must be a boolean or a function");for(r=0,o=d.length;r1024)&&(e.dump&&Be===e.dump.charCodeAt(0)?c+="?":c+="? "),c+=e.dump,u&&(c+=yt(e,t)),Tt(e,t+1,l,!0,u)&&(e.dump&&Be===e.dump.charCodeAt(0)?c+=":":c+=": ",p+=c+=e.dump));e.tag=f,e.dump=p||"{}"}(e,t,e.dump,r),u&&(e.dump="&ref_"+l+e.dump)):(!function(e,t,n){var i,r,o,a,l,u="",c=e.tag,s=Object.keys(n);for(i=0,r=s.length;i1024&&(l+="? "),l+=e.dump+(e.condenseFlow?'"':"")+":"+(e.condenseFlow?"":" "),Tt(e,t,a,!1,!1)&&(u+=l+=e.dump));e.tag=c,e.dump="{"+u+"}"}(e,t,e.dump),u&&(e.dump="&ref_"+l+" "+e.dump));else if("[object Array]"===a){var p=e.noArrayIndent&&t>0?t-1:t;i&&0!==e.dump.length?(!function(e,t,n,i){var r,o,a="",l=e.tag;for(r=0,o=n.length;r "+e.dump)}return!0}function Lt(e,t){var n,i,r=[],o=[];for(_t(e,r,o),n=0,i=o.length;n0&&-1==="\0\r\n…\u2028\u2029".indexOf(this.buffer.charAt(i-1));)if(i-=1,this.position-i>t/2-1){n=" ... ",i+=5;break}for(r="",o=this.position;ot/2-1){r=" ... ",o-=5;break}return a=this.buffer.slice(i,o),u.repeat(" ",e)+n+a+r+"\n"+u.repeat(" ",e+this.position-i+n.length)+"^"},p.prototype.toString=function(e){var t,n="";return this.name&&(n+='in "'+this.name+'" '),n+="at line "+(this.line+1)+", column "+(this.column+1),e||(t=this.getSnippet())&&(n+=":\n"+t),n};var f=p,d=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],h=["scalar","sequence","mapping"];var g=function(e,t){if(t=t||{},Object.keys(t).forEach((function(t){if(-1===d.indexOf(t))throw new s('Unknown option "'+t+'" is met in definition of "'+e+'" YAML type.')})),this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(e){return e},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.defaultStyle=t.defaultStyle||null,this.styleAliases=function(e){var t={};return null!==e&&Object.keys(e).forEach((function(n){e[n].forEach((function(e){t[String(e)]=n}))})),t}(t.styleAliases||null),-1===h.indexOf(this.kind))throw new s('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')};function m(e,t,n){var i=[];return e.include.forEach((function(e){n=m(e,t,n)})),e[t].forEach((function(e){n.forEach((function(t,n){t.tag===e.tag&&t.kind===e.kind&&i.push(n)})),n.push(e)})),n.filter((function(e,t){return-1===i.indexOf(t)}))}function y(e){this.include=e.include||[],this.implicit=e.implicit||[],this.explicit=e.explicit||[],this.implicit.forEach((function(e){if(e.loadKind&&"scalar"!==e.loadKind)throw new s("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.")})),this.compiledImplicit=m(this,"implicit",[]),this.compiledExplicit=m(this,"explicit",[]),this.compiledTypeMap=function(){var e,t,n={scalar:{},sequence:{},mapping:{},fallback:{}};function i(e){n[e.kind][e.tag]=n.fallback[e.tag]=e}for(e=0,t=arguments.length;e=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0"+e.toString(8):"-0"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),S=new RegExp("^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");var I=/^[-+]?[0-9]+e/;var j=new v({include:[A],implicit:[b,w,x,new g("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(e){return null!==e&&!(!S.test(e)||"_"===e[e.length-1])},construct:function(e){var t,n,i,r;return n="-"===(t=e.replace(/_/g,"").toLowerCase())[0]?-1:1,r=[],"+-".indexOf(t[0])>=0&&(t=t.slice(1)),".inf"===t?1===n?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:".nan"===t?NaN:t.indexOf(":")>=0?(t.split(":").forEach((function(e){r.unshift(parseFloat(e,10))})),t=0,i=1,r.forEach((function(e){t+=e*i,i*=60})),n*t):n*parseFloat(t,10)},predicate:function(e){return"[object Number]"===Object.prototype.toString.call(e)&&(e%1!=0||u.isNegativeZero(e))},represent:function(e,t){var n;if(isNaN(e))switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(u.isNegativeZero(e))return"-0.0";return n=e.toString(10),I.test(n)?n.replace("e",".e"):n},defaultStyle:"lowercase"})]}),E=new v({include:[j]}),O=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),F=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");var M=new g("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(e){return null!==e&&(null!==O.exec(e)||null!==F.exec(e))},construct:function(e){var t,n,i,r,o,a,l,u,c=0,s=null;if(null===(t=O.exec(e))&&(t=F.exec(e)),null===t)throw new Error("Date resolve error");if(n=+t[1],i=+t[2]-1,r=+t[3],!t[4])return new Date(Date.UTC(n,i,r));if(o=+t[4],a=+t[5],l=+t[6],t[7]){for(c=t[7].slice(0,3);c.length<3;)c+="0";c=+c}return t[9]&&(s=6e4*(60*+t[10]+ +(t[11]||0)),"-"===t[9]&&(s=-s)),u=new Date(Date.UTC(n,i,r,o,a,l,c)),s&&u.setTime(u.getTime()-s),u},instanceOf:Date,represent:function(e){return e.toISOString()}});var N,T=new g("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(e){return"<<"===e||null===e}});function L(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets option of @rollup/plugin-commonjs appropriately for this require call to behave properly.')}try{N=L("buffer").Buffer}catch(e){}var _="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";var D=new g("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(e){if(null===e)return!1;var t,n,i=0,r=e.length,o=_;for(n=0;n64)){if(t<0)return!1;i+=6}return i%8==0},construct:function(e){var t,n,i=e.replace(/[\r\n=]/g,""),r=i.length,o=_,a=0,l=[];for(t=0;t>16&255),l.push(a>>8&255),l.push(255&a)),a=a<<6|o.indexOf(i.charAt(t));return 0===(n=r%4*6)?(l.push(a>>16&255),l.push(a>>8&255),l.push(255&a)):18===n?(l.push(a>>10&255),l.push(a>>2&255)):12===n&&l.push(a>>4&255),N?N.from?N.from(l):new N(l):l},predicate:function(e){return N&&N.isBuffer(e)},represent:function(e){var t,n,i="",r=0,o=e.length,a=_;for(t=0;t>18&63],i+=a[r>>12&63],i+=a[r>>6&63],i+=a[63&r]),r=(r<<8)+e[t];return 0===(n=o%3)?(i+=a[r>>18&63],i+=a[r>>12&63],i+=a[r>>6&63],i+=a[63&r]):2===n?(i+=a[r>>10&63],i+=a[r>>4&63],i+=a[r<<2&63],i+=a[64]):1===n&&(i+=a[r>>2&63],i+=a[r<<4&63],i+=a[64],i+=a[64]),i}}),U=Object.prototype.hasOwnProperty,Y=Object.prototype.toString;var q=new g("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(e){if(null===e)return!0;var t,n,i,r,o,a=[],l=e;for(t=0,n=l.length;t3)return!1;if("/"!==t[t.length-i.length-1])return!1}return!0},construct:function(e){var t=e,n=/\/([gim]*)$/.exec(e),i="";return"/"===t[0]&&(n&&(i=n[1]),t=t.slice(1,t.length-i.length-1)),new RegExp(t,i)},predicate:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},represent:function(e){var t="/"+e.source+"/";return e.global&&(t+="g"),e.multiline&&(t+="m"),e.ignoreCase&&(t+="i"),t}});try{$=L("esprima")}catch(e){"undefined"!=typeof window&&($=window.esprima)}var H=new g("tag:yaml.org,2002:js/function",{kind:"scalar",resolve:function(e){if(null===e)return!1;try{var t="("+e+")",n=$.parse(t,{range:!0});return"Program"===n.type&&1===n.body.length&&"ExpressionStatement"===n.body[0].type&&("ArrowFunctionExpression"===n.body[0].expression.type||"FunctionExpression"===n.body[0].expression.type)}catch(e){return!1}},construct:function(e){var t,n="("+e+")",i=$.parse(n,{range:!0}),r=[];if("Program"!==i.type||1!==i.body.length||"ExpressionStatement"!==i.body[0].type||"ArrowFunctionExpression"!==i.body[0].expression.type&&"FunctionExpression"!==i.body[0].expression.type)throw new Error("Failed to resolve function");return i.body[0].expression.params.forEach((function(e){r.push(e.name)})),t=i.body[0].expression.body.range,"BlockStatement"===i.body[0].expression.body.type?new Function(r,n.slice(t[0]+1,t[1]-1)):new Function(r,"return "+n.slice(t[0],t[1]))},predicate:function(e){return"[object Function]"===Object.prototype.toString.call(e)},represent:function(e){return e.toString()}}),G=v.DEFAULT=new v({include:[B],explicit:[P,K,H]}),Z=Object.prototype.hasOwnProperty,z=1,J=2,Q=3,X=4,ee=1,te=2,ne=3,ie=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,re=/[\x85\u2028\u2029]/,oe=/[,\[\]\{\}]/,ae=/^(?:!|!!|![a-z\-]+!)$/i,le=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function ue(e){return Object.prototype.toString.call(e)}function ce(e){return 10===e||13===e}function se(e){return 9===e||32===e}function pe(e){return 9===e||32===e||10===e||13===e}function fe(e){return 44===e||91===e||93===e||123===e||125===e}function de(e){var t;return 48<=e&&e<=57?e-48:97<=(t=32|e)&&t<=102?t-97+10:-1}function he(e){return 48===e?"\0":97===e?"":98===e?"\b":116===e||9===e?"\t":110===e?"\n":118===e?"\v":102===e?"\f":114===e?"\r":101===e?"":32===e?" ":34===e?'"':47===e?"/":92===e?"\\":78===e?"…":95===e?" ":76===e?"\u2028":80===e?"\u2029":""}function ge(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(55296+(e-65536>>10),56320+(e-65536&1023))}for(var me=new Array(256),ye=new Array(256),ve=0;ve<256;ve++)me[ve]=he(ve)?1:0,ye[ve]=he(ve);function Ae(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||G,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.documents=[]}function be(e,t){return new s(t,new f(e.filename,e.input,e.position,e.line,e.position-e.lineStart))}function we(e,t){throw be(e,t)}function Ce(e,t){e.onWarning&&e.onWarning.call(null,be(e,t))}var ke={YAML:function(e,t,n){var i,r,o;null!==e.version&&we(e,"duplication of %YAML directive"),1!==n.length&&we(e,"YAML directive accepts exactly one argument"),null===(i=/^([0-9]+)\.([0-9]+)$/.exec(n[0]))&&we(e,"ill-formed argument of the YAML directive"),r=parseInt(i[1],10),o=parseInt(i[2],10),1!==r&&we(e,"unacceptable YAML version of the document"),e.version=n[0],e.checkLineBreaks=o<2,1!==o&&2!==o&&Ce(e,"unsupported YAML version of the document")},TAG:function(e,t,n){var i,r;2!==n.length&&we(e,"TAG directive accepts exactly two arguments"),i=n[0],r=n[1],ae.test(i)||we(e,"ill-formed tag handle (first argument) of the TAG directive"),Z.call(e.tagMap,i)&&we(e,'there is a previously declared suffix for "'+i+'" tag handle'),le.test(r)||we(e,"ill-formed tag prefix (second argument) of the TAG directive"),e.tagMap[i]=r}};function xe(e,t,n,i){var r,o,a,l;if(t1&&(e.result+=u.repeat("\n",t-1))}function Me(e,t){var n,i,r=e.tag,o=e.anchor,a=[],l=!1;for(null!==e.anchor&&(e.anchorMap[e.anchor]=a),i=e.input.charCodeAt(e.position);0!==i&&45===i&&pe(e.input.charCodeAt(e.position+1));)if(l=!0,e.position++,Ee(e,!0,-1)&&e.lineIndent<=t)a.push(null),i=e.input.charCodeAt(e.position);else if(n=e.line,Le(e,t,Q,!1,!0),a.push(e.result),Ee(e,!0,-1),i=e.input.charCodeAt(e.position),(e.line===n||e.lineIndent>t)&&0!==i)we(e,"bad indentation of a sequence entry");else if(e.lineIndentt?h=1:e.lineIndent===t?h=0:e.lineIndentt?h=1:e.lineIndent===t?h=0:e.lineIndentt)&&(Le(e,t,X,!0,r)&&(g?d=e.result:h=e.result),g||(Ie(e,s,p,f,d,h,o,a),f=d=h=null),Ee(e,!0,-1),l=e.input.charCodeAt(e.position)),e.lineIndent>t&&0!==l)we(e,"bad indentation of a mapping entry");else if(e.lineIndent=0))break;0===r?we(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):s?we(e,"repeat of an indentation width identifier"):(p=t+r-1,s=!0)}if(se(o)){do{o=e.input.charCodeAt(++e.position)}while(se(o));if(35===o)do{o=e.input.charCodeAt(++e.position)}while(!ce(o)&&0!==o)}for(;0!==o;){for(je(e),e.lineIndent=0,o=e.input.charCodeAt(e.position);(!s||e.lineIndentp&&(p=e.lineIndent),ce(o))f++;else{if(e.lineIndent0){for(r=a,o=0;r>0;r--)(a=de(l=e.input.charCodeAt(++e.position)))>=0?o=(o<<4)+a:we(e,"expected hexadecimal character");e.result+=ge(o),e.position++}else we(e,"unknown escape sequence");n=i=e.position}else ce(l)?(xe(e,n,i,!0),Fe(e,Ee(e,!1,t)),n=i=e.position):e.position===e.lineStart&&Oe(e)?we(e,"unexpected end of the document within a double quoted scalar"):(e.position++,i=e.position)}we(e,"unexpected end of the stream within a double quoted scalar")}(e,f)?m=!0:!function(e){var t,n,i;if(42!==(i=e.input.charCodeAt(e.position)))return!1;for(i=e.input.charCodeAt(++e.position),t=e.position;0!==i&&!pe(i)&&!fe(i);)i=e.input.charCodeAt(++e.position);return e.position===t&&we(e,"name of an alias node must contain at least one character"),n=e.input.slice(t,e.position),Z.call(e.anchorMap,n)||we(e,'unidentified alias "'+n+'"'),e.result=e.anchorMap[n],Ee(e,!0,-1),!0}(e)?function(e,t,n){var i,r,o,a,l,u,c,s,p=e.kind,f=e.result;if(pe(s=e.input.charCodeAt(e.position))||fe(s)||35===s||38===s||42===s||33===s||124===s||62===s||39===s||34===s||37===s||64===s||96===s)return!1;if((63===s||45===s)&&(pe(i=e.input.charCodeAt(e.position+1))||n&&fe(i)))return!1;for(e.kind="scalar",e.result="",r=o=e.position,a=!1;0!==s;){if(58===s){if(pe(i=e.input.charCodeAt(e.position+1))||n&&fe(i))break}else if(35===s){if(pe(e.input.charCodeAt(e.position-1)))break}else{if(e.position===e.lineStart&&Oe(e)||n&&fe(s))break;if(ce(s)){if(l=e.line,u=e.lineStart,c=e.lineIndent,Ee(e,!1,-1),e.lineIndent>=t){a=!0,s=e.input.charCodeAt(e.position);continue}e.position=o,e.line=l,e.lineStart=u,e.lineIndent=c;break}}a&&(xe(e,r,o,!1),Fe(e,e.line-l),r=o=e.position,a=!1),se(s)||(o=e.position+1),s=e.input.charCodeAt(++e.position)}return xe(e,r,o,!1),!!e.result||(e.kind=p,e.result=f,!1)}(e,f,z===n)&&(m=!0,null===e.tag&&(e.tag="?")):(m=!0,null===e.tag&&null===e.anchor||we(e,"alias node should not have any properties")),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):0===h&&(m=l&&Me(e,d))),null!==e.tag&&"!"!==e.tag)if("?"===e.tag){for(null!==e.result&&"scalar"!==e.kind&&we(e,'unacceptable node kind for ! tag; it should be "scalar", not "'+e.kind+'"'),c=0,s=e.implicitTypes.length;c tag; it should be "'+p.kind+'", not "'+e.kind+'"'),p.resolve(e.result)?(e.result=p.construct(e.result),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):we(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")):we(e,"unknown tag !<"+e.tag+">");return null!==e.listener&&e.listener("close",e),null!==e.tag||null!==e.anchor||m}function _e(e){var t,n,i,r,o=e.position,a=!1;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap={},e.anchorMap={};0!==(r=e.input.charCodeAt(e.position))&&(Ee(e,!0,-1),r=e.input.charCodeAt(e.position),!(e.lineIndent>0||37!==r));){for(a=!0,r=e.input.charCodeAt(++e.position),t=e.position;0!==r&&!pe(r);)r=e.input.charCodeAt(++e.position);for(i=[],(n=e.input.slice(t,e.position)).length<1&&we(e,"directive name must not be less than one character in length");0!==r;){for(;se(r);)r=e.input.charCodeAt(++e.position);if(35===r){do{r=e.input.charCodeAt(++e.position)}while(0!==r&&!ce(r));break}if(ce(r))break;for(t=e.position;0!==r&&!pe(r);)r=e.input.charCodeAt(++e.position);i.push(e.input.slice(t,e.position))}0!==r&&je(e),Z.call(ke,n)?ke[n](e,n,i):Ce(e,'unknown document directive "'+n+'"')}Ee(e,!0,-1),0===e.lineIndent&&45===e.input.charCodeAt(e.position)&&45===e.input.charCodeAt(e.position+1)&&45===e.input.charCodeAt(e.position+2)?(e.position+=3,Ee(e,!0,-1)):a&&we(e,"directives end mark is expected"),Le(e,e.lineIndent-1,X,!1,!0),Ee(e,!0,-1),e.checkLineBreaks&&re.test(e.input.slice(o,e.position))&&Ce(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&Oe(e)?46===e.input.charCodeAt(e.position)&&(e.position+=3,Ee(e,!0,-1)):e.position0?e.charCodeAt(o-1):null,d=d&&bt(a,l)}else{for(o=0;oi&&" "!==e[f+1],f=o);else if(!At(a))return It;l=o>0?e.charCodeAt(o-1):null,d=d&&bt(a,l)}s=s||p&&o-f-1>i&&" "!==e[f+1]}return c||s?n>9&&wt(e)?It:s?St:xt:d&&!r(e)?Ct:kt}function Et(e,t,n,i){e.dump=function(){if(0===t.length)return"''";if(!e.noCompatMode&&-1!==dt.indexOf(t))return"'"+t+"'";var r=e.indent*Math.max(1,n),o=-1===e.lineWidth?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-r),a=i||e.flowLevel>-1&&n>=e.flowLevel;switch(jt(t,a,e.indent,o,(function(t){return function(e,t){var n,i;for(n=0,i=e.implicitTypes.length;n"+Ot(t,e.indent)+Ft(mt(function(e,t){var n,i,r=/(\n+)([^\n]*)/g,o=(l=e.indexOf("\n"),l=-1!==l?l:e.length,r.lastIndex=l,Mt(e.slice(0,l),t)),a="\n"===e[0]||" "===e[0];var l;for(;i=r.exec(e);){var u=i[1],c=i[2];n=" "===c[0],o+=u+(a||n||""===c?"":"\n")+Mt(c,t),a=n}return o}(t,o),r));case It:return'"'+function(e){for(var t,n,i,r="",o=0;o=55296&&t<=56319&&(n=e.charCodeAt(o+1))>=56320&&n<=57343?(r+=ht(1024*(t-55296)+n-56320+65536),o++):r+=!(i=ft[t])&&At(t)?e[o]:i||ht(t);return r}(t)+'"';default:throw new s("impossible error: invalid scalar style")}}()}function Ot(e,t){var n=wt(e)?String(t):"",i="\n"===e[e.length-1];return n+(i&&("\n"===e[e.length-2]||"\n"===e)?"+":i?"":"-")+"\n"}function Ft(e){return"\n"===e[e.length-1]?e.slice(0,-1):e}function Mt(e,t){if(""===e||" "===e[0])return e;for(var n,i,r=/ [^ ]/g,o=0,a=0,l=0,u="";n=r.exec(e);)(l=n.index)-o>t&&(i=a>o?a:l,u+="\n"+e.slice(o,i),o=i+1),a=l;return u+="\n",e.length-o>t&&a>o?u+=e.slice(o,a)+"\n"+e.slice(a+1):u+=e.slice(o),u.slice(1)}function Nt(e,t,n){var i,r,o,a,l,u;for(o=0,a=(r=n?e.explicitTypes:e.implicitTypes).length;o tag resolver accepts not "'+u+'" style');i=l.represent[u](t,u)}e.dump=i}return!0}return!1}function Tt(e,t,n,i,r,o){e.tag=null,e.dump=n,Nt(e,n,!1)||Nt(e,n,!0);var a=Re.call(e.dump);i&&(i=e.flowLevel<0||e.flowLevel>t);var l,u,c="[object Object]"===a||"[object Array]"===a;if(c&&(u=-1!==(l=e.duplicates.indexOf(n))),(null!==e.tag&&"?"!==e.tag||u||2!==e.indent&&t>0)&&(r=!1),u&&e.usedDuplicates[l])e.dump="*ref_"+l;else{if(c&&u&&!e.usedDuplicates[l]&&(e.usedDuplicates[l]=!0),"[object Object]"===a)i&&0!==Object.keys(e.dump).length?(!function(e,t,n,i){var r,o,a,l,u,c,p="",f=e.tag,d=Object.keys(n);if(!0===e.sortKeys)d.sort();else if("function"==typeof e.sortKeys)d.sort(e.sortKeys);else if(e.sortKeys)throw new s("sortKeys must be a boolean or a function");for(r=0,o=d.length;r1024)&&(e.dump&&Be===e.dump.charCodeAt(0)?c+="?":c+="? "),c+=e.dump,u&&(c+=yt(e,t)),Tt(e,t+1,l,!0,u)&&(e.dump&&Be===e.dump.charCodeAt(0)?c+=":":c+=": ",p+=c+=e.dump));e.tag=f,e.dump=p||"{}"}(e,t,e.dump,r),u&&(e.dump="&ref_"+l+e.dump)):(!function(e,t,n){var i,r,o,a,l,u="",c=e.tag,s=Object.keys(n);for(i=0,r=s.length;i1024&&(l+="? "),l+=e.dump+(e.condenseFlow?'"':"")+":"+(e.condenseFlow?"":" "),Tt(e,t,a,!1,!1)&&(u+=l+=e.dump));e.tag=c,e.dump="{"+u+"}"}(e,t,e.dump),u&&(e.dump="&ref_"+l+" "+e.dump));else if("[object Array]"===a){var p=e.noArrayIndent&&t>0?t-1:t;i&&0!==e.dump.length?(!function(e,t,n,i){var r,o,a="",l=e.tag;for(r=0,o=n.length;r "+e.dump)}return!0}function Lt(e,t){var n,i,r=[],o=[];for(_t(e,r,o),n=0,i=o.length;n0&&-1==="\0\r\n…\u2028\u2029".indexOf(this.buffer.charAt(r-1));)if(r-=1,this.position-r>t/2-1){n=" ... ",r+=5;break}for(o="",a=this.position;at/2-1){o=" ... ",a-=5;break}return l=this.buffer.slice(r,a),i.repeat(" ",e)+n+l+o+"\n"+i.repeat(" ",e+this.position-r+n.length)+"^"},a.prototype.toString=function(e){var t,n="";return this.name&&(n+='in "'+this.name+'" '),n+="at line "+(this.line+1)+", column "+(this.column+1),e||(t=this.getSnippet())&&(n+=":\n"+t),n};var l=a,u=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],c=["scalar","sequence","mapping"];var s=function(e,t){if(t=t||{},Object.keys(t).forEach((function(t){if(-1===u.indexOf(t))throw new o('Unknown option "'+t+'" is met in definition of "'+e+'" YAML type.')})),this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(e){return e},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.defaultStyle=t.defaultStyle||null,this.styleAliases=function(e){var t={};return null!==e&&Object.keys(e).forEach((function(n){e[n].forEach((function(e){t[String(e)]=n}))})),t}(t.styleAliases||null),-1===c.indexOf(this.kind))throw new o('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')};function p(e,t,n){var i=[];return e.include.forEach((function(e){n=p(e,t,n)})),e[t].forEach((function(e){n.forEach((function(t,n){t.tag===e.tag&&t.kind===e.kind&&i.push(n)})),n.push(e)})),n.filter((function(e,t){return-1===i.indexOf(t)}))}function f(e){this.include=e.include||[],this.implicit=e.implicit||[],this.explicit=e.explicit||[],this.implicit.forEach((function(e){if(e.loadKind&&"scalar"!==e.loadKind)throw new o("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.")})),this.compiledImplicit=p(this,"implicit",[]),this.compiledExplicit=p(this,"explicit",[]),this.compiledTypeMap=function(){var e,t,n={scalar:{},sequence:{},mapping:{},fallback:{}};function i(e){n[e.kind][e.tag]=n.fallback[e.tag]=e}for(e=0,t=arguments.length;e=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0"+e.toString(8):"-0"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),b=new RegExp("^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");var w=/^[-+]?[0-9]+e/;var C=new d({include:[h],implicit:[g,m,A,new s("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(e){return null!==e&&!(!b.test(e)||"_"===e[e.length-1])},construct:function(e){var t,n,i,r;return n="-"===(t=e.replace(/_/g,"").toLowerCase())[0]?-1:1,r=[],"+-".indexOf(t[0])>=0&&(t=t.slice(1)),".inf"===t?1===n?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:".nan"===t?NaN:t.indexOf(":")>=0?(t.split(":").forEach((function(e){r.unshift(parseFloat(e,10))})),t=0,i=1,r.forEach((function(e){t+=e*i,i*=60})),n*t):n*parseFloat(t,10)},predicate:function(e){return"[object Number]"===Object.prototype.toString.call(e)&&(e%1!=0||i.isNegativeZero(e))},represent:function(e,t){var n;if(isNaN(e))switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(i.isNegativeZero(e))return"-0.0";return n=e.toString(10),w.test(n)?n.replace("e",".e"):n},defaultStyle:"lowercase"})]}),k=new d({include:[C]}),x=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),S=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");var I=new s("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(e){return null!==e&&(null!==x.exec(e)||null!==S.exec(e))},construct:function(e){var t,n,i,r,o,a,l,u,c=0,s=null;if(null===(t=x.exec(e))&&(t=S.exec(e)),null===t)throw new Error("Date resolve error");if(n=+t[1],i=+t[2]-1,r=+t[3],!t[4])return new Date(Date.UTC(n,i,r));if(o=+t[4],a=+t[5],l=+t[6],t[7]){for(c=t[7].slice(0,3);c.length<3;)c+="0";c=+c}return t[9]&&(s=6e4*(60*+t[10]+ +(t[11]||0)),"-"===t[9]&&(s=-s)),u=new Date(Date.UTC(n,i,r,o,a,l,c)),s&&u.setTime(u.getTime()-s),u},instanceOf:Date,represent:function(e){return e.toISOString()}});var E,j=new s("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(e){return"<<"===e||null===e}});function O(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets option of @rollup/plugin-commonjs appropriately for this require call to behave properly.')}try{E=O("buffer").Buffer}catch(e){}var F="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";var M=new s("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(e){if(null===e)return!1;var t,n,i=0,r=e.length,o=F;for(n=0;n64)){if(t<0)return!1;i+=6}return i%8==0},construct:function(e){var t,n,i=e.replace(/[\r\n=]/g,""),r=i.length,o=F,a=0,l=[];for(t=0;t>16&255),l.push(a>>8&255),l.push(255&a)),a=a<<6|o.indexOf(i.charAt(t));return 0===(n=r%4*6)?(l.push(a>>16&255),l.push(a>>8&255),l.push(255&a)):18===n?(l.push(a>>10&255),l.push(a>>2&255)):12===n&&l.push(a>>4&255),E?E.from?E.from(l):new E(l):l},predicate:function(e){return E&&E.isBuffer(e)},represent:function(e){var t,n,i="",r=0,o=e.length,a=F;for(t=0;t>18&63],i+=a[r>>12&63],i+=a[r>>6&63],i+=a[63&r]),r=(r<<8)+e[t];return 0===(n=o%3)?(i+=a[r>>18&63],i+=a[r>>12&63],i+=a[r>>6&63],i+=a[63&r]):2===n?(i+=a[r>>10&63],i+=a[r>>4&63],i+=a[r<<2&63],i+=a[64]):1===n&&(i+=a[r>>2&63],i+=a[r<<4&63],i+=a[64],i+=a[64]),i}}),N=Object.prototype.hasOwnProperty,T=Object.prototype.toString;var L=new s("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(e){if(null===e)return!0;var t,n,i,r,o,a=[],l=e;for(t=0,n=l.length;t3)return!1;if("/"!==t[t.length-i.length-1])return!1}return!0},construct:function(e){var t=e,n=/\/([gim]*)$/.exec(e),i="";return"/"===t[0]&&(n&&(i=n[1]),t=t.slice(1,t.length-i.length-1)),new RegExp(t,i)},predicate:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},represent:function(e){var t="/"+e.source+"/";return e.global&&(t+="g"),e.multiline&&(t+="m"),e.ignoreCase&&(t+="i"),t}});try{B=O("esprima")}catch(e){"undefined"!=typeof window&&(B=window.esprima)}var V=new s("tag:yaml.org,2002:js/function",{kind:"scalar",resolve:function(e){if(null===e)return!1;try{var t="("+e+")",n=B.parse(t,{range:!0});return"Program"===n.type&&1===n.body.length&&"ExpressionStatement"===n.body[0].type&&("ArrowFunctionExpression"===n.body[0].expression.type||"FunctionExpression"===n.body[0].expression.type)}catch(e){return!1}},construct:function(e){var t,n="("+e+")",i=B.parse(n,{range:!0}),r=[];if("Program"!==i.type||1!==i.body.length||"ExpressionStatement"!==i.body[0].type||"ArrowFunctionExpression"!==i.body[0].expression.type&&"FunctionExpression"!==i.body[0].expression.type)throw new Error("Failed to resolve function");return i.body[0].expression.params.forEach((function(e){r.push(e.name)})),t=i.body[0].expression.body.range,"BlockStatement"===i.body[0].expression.body.type?new Function(r,n.slice(t[0]+1,t[1]-1)):new Function(r,"return "+n.slice(t[0],t[1]))},predicate:function(e){return"[object Function]"===Object.prototype.toString.call(e)},represent:function(e){return e.toString()}}),W=d.DEFAULT=new d({include:[q],explicit:[Y,R,V]}),P=Object.prototype.hasOwnProperty,$=1,K=2,H=3,G=4,Z=1,z=2,J=3,Q=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,X=/[\x85\u2028\u2029]/,ee=/[,\[\]\{\}]/,te=/^(?:!|!!|![a-z\-]+!)$/i,ne=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function ie(e){return Object.prototype.toString.call(e)}function re(e){return 10===e||13===e}function oe(e){return 9===e||32===e}function ae(e){return 9===e||32===e||10===e||13===e}function le(e){return 44===e||91===e||93===e||123===e||125===e}function ue(e){var t;return 48<=e&&e<=57?e-48:97<=(t=32|e)&&t<=102?t-97+10:-1}function ce(e){return 48===e?"\0":97===e?"":98===e?"\b":116===e||9===e?"\t":110===e?"\n":118===e?"\v":102===e?"\f":114===e?"\r":101===e?"":32===e?" ":34===e?'"':47===e?"/":92===e?"\\":78===e?"…":95===e?" ":76===e?"\u2028":80===e?"\u2029":""}function se(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(55296+(e-65536>>10),56320+(e-65536&1023))}for(var pe=new Array(256),fe=new Array(256),de=0;de<256;de++)pe[de]=ce(de)?1:0,fe[de]=ce(de);function he(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||W,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.documents=[]}function ge(e,t){return new o(t,new l(e.filename,e.input,e.position,e.line,e.position-e.lineStart))}function me(e,t){throw ge(e,t)}function ye(e,t){e.onWarning&&e.onWarning.call(null,ge(e,t))}var ve={YAML:function(e,t,n){var i,r,o;null!==e.version&&me(e,"duplication of %YAML directive"),1!==n.length&&me(e,"YAML directive accepts exactly one argument"),null===(i=/^([0-9]+)\.([0-9]+)$/.exec(n[0]))&&me(e,"ill-formed argument of the YAML directive"),r=parseInt(i[1],10),o=parseInt(i[2],10),1!==r&&me(e,"unacceptable YAML version of the document"),e.version=n[0],e.checkLineBreaks=o<2,1!==o&&2!==o&&ye(e,"unsupported YAML version of the document")},TAG:function(e,t,n){var i,r;2!==n.length&&me(e,"TAG directive accepts exactly two arguments"),i=n[0],r=n[1],te.test(i)||me(e,"ill-formed tag handle (first argument) of the TAG directive"),P.call(e.tagMap,i)&&me(e,'there is a previously declared suffix for "'+i+'" tag handle'),ne.test(r)||me(e,"ill-formed tag prefix (second argument) of the TAG directive"),e.tagMap[i]=r}};function Ae(e,t,n,i){var r,o,a,l;if(t1&&(e.result+=i.repeat("\n",t-1))}function Ie(e,t){var n,i,r=e.tag,o=e.anchor,a=[],l=!1;for(null!==e.anchor&&(e.anchorMap[e.anchor]=a),i=e.input.charCodeAt(e.position);0!==i&&45===i&&ae(e.input.charCodeAt(e.position+1));)if(l=!0,e.position++,ke(e,!0,-1)&&e.lineIndent<=t)a.push(null),i=e.input.charCodeAt(e.position);else if(n=e.line,Oe(e,t,H,!1,!0),a.push(e.result),ke(e,!0,-1),i=e.input.charCodeAt(e.position),(e.line===n||e.lineIndent>t)&&0!==i)me(e,"bad indentation of a sequence entry");else if(e.lineIndentt?h=1:e.lineIndent===t?h=0:e.lineIndentt?h=1:e.lineIndent===t?h=0:e.lineIndentt)&&(Oe(e,t,G,!0,r)&&(g?d=e.result:h=e.result),g||(we(e,s,p,f,d,h,o,a),f=d=h=null),ke(e,!0,-1),l=e.input.charCodeAt(e.position)),e.lineIndent>t&&0!==l)me(e,"bad indentation of a mapping entry");else if(e.lineIndent=0))break;0===o?me(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):s?me(e,"repeat of an indentation width identifier"):(p=t+o-1,s=!0)}if(oe(a)){do{a=e.input.charCodeAt(++e.position)}while(oe(a));if(35===a)do{a=e.input.charCodeAt(++e.position)}while(!re(a)&&0!==a)}for(;0!==a;){for(Ce(e),e.lineIndent=0,a=e.input.charCodeAt(e.position);(!s||e.lineIndentp&&(p=e.lineIndent),re(a))f++;else{if(e.lineIndent0){for(r=a,o=0;r>0;r--)(a=ue(l=e.input.charCodeAt(++e.position)))>=0?o=(o<<4)+a:me(e,"expected hexadecimal character");e.result+=se(o),e.position++}else me(e,"unknown escape sequence");n=i=e.position}else re(l)?(Ae(e,n,i,!0),Se(e,ke(e,!1,t)),n=i=e.position):e.position===e.lineStart&&xe(e)?me(e,"unexpected end of the document within a double quoted scalar"):(e.position++,i=e.position)}me(e,"unexpected end of the stream within a double quoted scalar")}(e,f)?m=!0:!function(e){var t,n,i;if(42!==(i=e.input.charCodeAt(e.position)))return!1;for(i=e.input.charCodeAt(++e.position),t=e.position;0!==i&&!ae(i)&&!le(i);)i=e.input.charCodeAt(++e.position);return e.position===t&&me(e,"name of an alias node must contain at least one character"),n=e.input.slice(t,e.position),P.call(e.anchorMap,n)||me(e,'unidentified alias "'+n+'"'),e.result=e.anchorMap[n],ke(e,!0,-1),!0}(e)?function(e,t,n){var i,r,o,a,l,u,c,s,p=e.kind,f=e.result;if(ae(s=e.input.charCodeAt(e.position))||le(s)||35===s||38===s||42===s||33===s||124===s||62===s||39===s||34===s||37===s||64===s||96===s)return!1;if((63===s||45===s)&&(ae(i=e.input.charCodeAt(e.position+1))||n&&le(i)))return!1;for(e.kind="scalar",e.result="",r=o=e.position,a=!1;0!==s;){if(58===s){if(ae(i=e.input.charCodeAt(e.position+1))||n&&le(i))break}else if(35===s){if(ae(e.input.charCodeAt(e.position-1)))break}else{if(e.position===e.lineStart&&xe(e)||n&&le(s))break;if(re(s)){if(l=e.line,u=e.lineStart,c=e.lineIndent,ke(e,!1,-1),e.lineIndent>=t){a=!0,s=e.input.charCodeAt(e.position);continue}e.position=o,e.line=l,e.lineStart=u,e.lineIndent=c;break}}a&&(Ae(e,r,o,!1),Se(e,e.line-l),r=o=e.position,a=!1),oe(s)||(o=e.position+1),s=e.input.charCodeAt(++e.position)}return Ae(e,r,o,!1),!!e.result||(e.kind=p,e.result=f,!1)}(e,f,$===n)&&(m=!0,null===e.tag&&(e.tag="?")):(m=!0,null===e.tag&&null===e.anchor||me(e,"alias node should not have any properties")),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):0===h&&(m=u&&Ie(e,d))),null!==e.tag&&"!"!==e.tag)if("?"===e.tag){for(null!==e.result&&"scalar"!==e.kind&&me(e,'unacceptable node kind for ! tag; it should be "scalar", not "'+e.kind+'"'),c=0,s=e.implicitTypes.length;c tag; it should be "'+p.kind+'", not "'+e.kind+'"'),p.resolve(e.result)?(e.result=p.construct(e.result),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):me(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")):me(e,"unknown tag !<"+e.tag+">");return null!==e.listener&&e.listener("close",e),null!==e.tag||null!==e.anchor||m}function Fe(e){var t,n,i,r,o=e.position,a=!1;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap={},e.anchorMap={};0!==(r=e.input.charCodeAt(e.position))&&(ke(e,!0,-1),r=e.input.charCodeAt(e.position),!(e.lineIndent>0||37!==r));){for(a=!0,r=e.input.charCodeAt(++e.position),t=e.position;0!==r&&!ae(r);)r=e.input.charCodeAt(++e.position);for(i=[],(n=e.input.slice(t,e.position)).length<1&&me(e,"directive name must not be less than one character in length");0!==r;){for(;oe(r);)r=e.input.charCodeAt(++e.position);if(35===r){do{r=e.input.charCodeAt(++e.position)}while(0!==r&&!re(r));break}if(re(r))break;for(t=e.position;0!==r&&!ae(r);)r=e.input.charCodeAt(++e.position);i.push(e.input.slice(t,e.position))}0!==r&&Ce(e),P.call(ve,n)?ve[n](e,n,i):ye(e,'unknown document directive "'+n+'"')}ke(e,!0,-1),0===e.lineIndent&&45===e.input.charCodeAt(e.position)&&45===e.input.charCodeAt(e.position+1)&&45===e.input.charCodeAt(e.position+2)?(e.position+=3,ke(e,!0,-1)):a&&me(e,"directives end mark is expected"),Oe(e,e.lineIndent-1,G,!1,!0),ke(e,!0,-1),e.checkLineBreaks&&X.test(e.input.slice(o,e.position))&&ye(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&xe(e)?46===e.input.charCodeAt(e.position)&&(e.position+=3,ke(e,!0,-1)):e.position0?e.charCodeAt(o-1):null,d=d&>(a,l)}else{for(o=0;oi&&" "!==e[f+1],f=o);else if(!ht(a))return wt;l=o>0?e.charCodeAt(o-1):null,d=d&>(a,l)}s=s||p&&o-f-1>i&&" "!==e[f+1]}return c||s?n>9&&mt(e)?wt:s?bt:At:d&&!r(e)?yt:vt}function kt(e,t,n,i){e.dump=function(){if(0===t.length)return"''";if(!e.noCompatMode&&-1!==ut.indexOf(t))return"'"+t+"'";var r=e.indent*Math.max(1,n),a=-1===e.lineWidth?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-r),l=i||e.flowLevel>-1&&n>=e.flowLevel;switch(Ct(t,l,e.indent,a,(function(t){return function(e,t){var n,i;for(n=0,i=e.implicitTypes.length;n"+xt(t,e.indent)+St(pt(function(e,t){var n,i,r=/(\n+)([^\n]*)/g,o=(l=e.indexOf("\n"),l=-1!==l?l:e.length,r.lastIndex=l,It(e.slice(0,l),t)),a="\n"===e[0]||" "===e[0];var l;for(;i=r.exec(e);){var u=i[1],c=i[2];n=" "===c[0],o+=u+(a||n||""===c?"":"\n")+It(c,t),a=n}return o}(t,a),r));case wt:return'"'+function(e){for(var t,n,i,r="",o=0;o=55296&&t<=56319&&(n=e.charCodeAt(o+1))>=56320&&n<=57343?(r+=ct(1024*(t-55296)+n-56320+65536),o++):r+=!(i=lt[t])&&ht(t)?e[o]:i||ct(t);return r}(t)+'"';default:throw new o("impossible error: invalid scalar style")}}()}function xt(e,t){var n=mt(e)?String(t):"",i="\n"===e[e.length-1];return n+(i&&("\n"===e[e.length-2]||"\n"===e)?"+":i?"":"-")+"\n"}function St(e){return"\n"===e[e.length-1]?e.slice(0,-1):e}function It(e,t){if(""===e||" "===e[0])return e;for(var n,i,r=/ [^ ]/g,o=0,a=0,l=0,u="";n=r.exec(e);)(l=n.index)-o>t&&(i=a>o?a:l,u+="\n"+e.slice(o,i),o=i+1),a=l;return u+="\n",e.length-o>t&&a>o?u+=e.slice(o,a)+"\n"+e.slice(a+1):u+=e.slice(o),u.slice(1)}function Et(e,t,n){var i,r,a,l,u,c;for(a=0,l=(r=n?e.explicitTypes:e.implicitTypes).length;a tag resolver accepts not "'+c+'" style');i=u.represent[c](t,c)}e.dump=i}return!0}return!1}function jt(e,t,n,i,r,a){e.tag=null,e.dump=n,Et(e,n,!1)||Et(e,n,!0);var l=_e.call(e.dump);i&&(i=e.flowLevel<0||e.flowLevel>t);var u,c,s="[object Object]"===l||"[object Array]"===l;if(s&&(c=-1!==(u=e.duplicates.indexOf(n))),(null!==e.tag&&"?"!==e.tag||c||2!==e.indent&&t>0)&&(r=!1),c&&e.usedDuplicates[u])e.dump="*ref_"+u;else{if(s&&c&&!e.usedDuplicates[u]&&(e.usedDuplicates[u]=!0),"[object Object]"===l)i&&0!==Object.keys(e.dump).length?(!function(e,t,n,i){var r,a,l,u,c,s,p="",f=e.tag,d=Object.keys(n);if(!0===e.sortKeys)d.sort();else if("function"==typeof e.sortKeys)d.sort(e.sortKeys);else if(e.sortKeys)throw new o("sortKeys must be a boolean or a function");for(r=0,a=d.length;r1024)&&(e.dump&&qe===e.dump.charCodeAt(0)?s+="?":s+="? "),s+=e.dump,c&&(s+=ft(e,t)),jt(e,t+1,u,!0,c)&&(e.dump&&qe===e.dump.charCodeAt(0)?s+=":":s+=": ",p+=s+=e.dump));e.tag=f,e.dump=p||"{}"}(e,t,e.dump,r),c&&(e.dump="&ref_"+u+e.dump)):(!function(e,t,n){var i,r,o,a,l,u="",c=e.tag,s=Object.keys(n);for(i=0,r=s.length;i1024&&(l+="? "),l+=e.dump+(e.condenseFlow?'"':"")+":"+(e.condenseFlow?"":" "),jt(e,t,a,!1,!1)&&(u+=l+=e.dump));e.tag=c,e.dump="{"+u+"}"}(e,t,e.dump),c&&(e.dump="&ref_"+u+" "+e.dump));else if("[object Array]"===l){var p=e.noArrayIndent&&t>0?t-1:t;i&&0!==e.dump.length?(!function(e,t,n,i){var r,o,a="",l=e.tag;for(r=0,o=n.length;r "+e.dump)}return!0}function Ot(e,t){var n,i,r=[],o=[];for(Ft(e,r,o),n=0,i=o.length;n0&&-1==="\0\r\n…\u2028\u2029".indexOf(this.buffer.charAt(r-1));)if(r-=1,this.position-r>t/2-1){n=" ... ",r+=5;break}for(o="",a=this.position;at/2-1){o=" ... ",a-=5;break}return l=this.buffer.slice(r,a),i.repeat(" ",e)+n+l+o+"\n"+i.repeat(" ",e+this.position-r+n.length)+"^"},a.prototype.toString=function(e){var t,n="";return this.name&&(n+='in "'+this.name+'" '),n+="at line "+(this.line+1)+", column "+(this.column+1),e||(t=this.getSnippet())&&(n+=":\n"+t),n};var l=a,u=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],c=["scalar","sequence","mapping"];var s=function(e,t){if(t=t||{},Object.keys(t).forEach((function(t){if(-1===u.indexOf(t))throw new o('Unknown option "'+t+'" is met in definition of "'+e+'" YAML type.')})),this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(e){return e},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.defaultStyle=t.defaultStyle||null,this.styleAliases=function(e){var t={};return null!==e&&Object.keys(e).forEach((function(n){e[n].forEach((function(e){t[String(e)]=n}))})),t}(t.styleAliases||null),-1===c.indexOf(this.kind))throw new o('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')};function p(e,t,n){var i=[];return e.include.forEach((function(e){n=p(e,t,n)})),e[t].forEach((function(e){n.forEach((function(t,n){t.tag===e.tag&&t.kind===e.kind&&i.push(n)})),n.push(e)})),n.filter((function(e,t){return-1===i.indexOf(t)}))}function f(e){this.include=e.include||[],this.implicit=e.implicit||[],this.explicit=e.explicit||[],this.implicit.forEach((function(e){if(e.loadKind&&"scalar"!==e.loadKind)throw new o("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.")})),this.compiledImplicit=p(this,"implicit",[]),this.compiledExplicit=p(this,"explicit",[]),this.compiledTypeMap=function(){var e,t,n={scalar:{},sequence:{},mapping:{},fallback:{}};function i(e){n[e.kind][e.tag]=n.fallback[e.tag]=e}for(e=0,t=arguments.length;e=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0"+e.toString(8):"-0"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),b=new RegExp("^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");var w=/^[-+]?[0-9]+e/;var C=new d({include:[h],implicit:[g,m,A,new s("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(e){return null!==e&&!(!b.test(e)||"_"===e[e.length-1])},construct:function(e){var t,n,i,r;return n="-"===(t=e.replace(/_/g,"").toLowerCase())[0]?-1:1,r=[],"+-".indexOf(t[0])>=0&&(t=t.slice(1)),".inf"===t?1===n?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:".nan"===t?NaN:t.indexOf(":")>=0?(t.split(":").forEach((function(e){r.unshift(parseFloat(e,10))})),t=0,i=1,r.forEach((function(e){t+=e*i,i*=60})),n*t):n*parseFloat(t,10)},predicate:function(e){return"[object Number]"===Object.prototype.toString.call(e)&&(e%1!=0||i.isNegativeZero(e))},represent:function(e,t){var n;if(isNaN(e))switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(i.isNegativeZero(e))return"-0.0";return n=e.toString(10),w.test(n)?n.replace("e",".e"):n},defaultStyle:"lowercase"})]}),k=new d({include:[C]}),x=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),S=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");var I=new s("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(e){return null!==e&&(null!==x.exec(e)||null!==S.exec(e))},construct:function(e){var t,n,i,r,o,a,l,u,c=0,s=null;if(null===(t=x.exec(e))&&(t=S.exec(e)),null===t)throw new Error("Date resolve error");if(n=+t[1],i=+t[2]-1,r=+t[3],!t[4])return new Date(Date.UTC(n,i,r));if(o=+t[4],a=+t[5],l=+t[6],t[7]){for(c=t[7].slice(0,3);c.length<3;)c+="0";c=+c}return t[9]&&(s=6e4*(60*+t[10]+ +(t[11]||0)),"-"===t[9]&&(s=-s)),u=new Date(Date.UTC(n,i,r,o,a,l,c)),s&&u.setTime(u.getTime()-s),u},instanceOf:Date,represent:function(e){return e.toISOString()}});var E,j=new s("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(e){return"<<"===e||null===e}});function O(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets option of @rollup/plugin-commonjs appropriately for this require call to behave properly.')}try{E=O("buffer").Buffer}catch(e){}var F="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";var M=new s("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(e){if(null===e)return!1;var t,n,i=0,r=e.length,o=F;for(n=0;n64)){if(t<0)return!1;i+=6}return i%8==0},construct:function(e){var t,n,i=e.replace(/[\r\n=]/g,""),r=i.length,o=F,a=0,l=[];for(t=0;t>16&255),l.push(a>>8&255),l.push(255&a)),a=a<<6|o.indexOf(i.charAt(t));return 0===(n=r%4*6)?(l.push(a>>16&255),l.push(a>>8&255),l.push(255&a)):18===n?(l.push(a>>10&255),l.push(a>>2&255)):12===n&&l.push(a>>4&255),E?E.from?E.from(l):new E(l):l},predicate:function(e){return E&&E.isBuffer(e)},represent:function(e){var t,n,i="",r=0,o=e.length,a=F;for(t=0;t>18&63],i+=a[r>>12&63],i+=a[r>>6&63],i+=a[63&r]),r=(r<<8)+e[t];return 0===(n=o%3)?(i+=a[r>>18&63],i+=a[r>>12&63],i+=a[r>>6&63],i+=a[63&r]):2===n?(i+=a[r>>10&63],i+=a[r>>4&63],i+=a[r<<2&63],i+=a[64]):1===n&&(i+=a[r>>2&63],i+=a[r<<4&63],i+=a[64],i+=a[64]),i}}),N=Object.prototype.hasOwnProperty,T=Object.prototype.toString;var L=new s("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(e){if(null===e)return!0;var t,n,i,r,o,a=[],l=e;for(t=0,n=l.length;t3)return!1;if("/"!==t[t.length-i.length-1])return!1}return!0},construct:function(e){var t=e,n=/\/([gim]*)$/.exec(e),i="";return"/"===t[0]&&(n&&(i=n[1]),t=t.slice(1,t.length-i.length-1)),new RegExp(t,i)},predicate:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},represent:function(e){var t="/"+e.source+"/";return e.global&&(t+="g"),e.multiline&&(t+="m"),e.ignoreCase&&(t+="i"),t}});try{B=O("esprima")}catch(e){"undefined"!=typeof window&&(B=window.esprima)}var V=new s("tag:yaml.org,2002:js/function",{kind:"scalar",resolve:function(e){if(null===e)return!1;try{var t="("+e+")",n=B.parse(t,{range:!0});return"Program"===n.type&&1===n.body.length&&"ExpressionStatement"===n.body[0].type&&("ArrowFunctionExpression"===n.body[0].expression.type||"FunctionExpression"===n.body[0].expression.type)}catch(e){return!1}},construct:function(e){var t,n="("+e+")",i=B.parse(n,{range:!0}),r=[];if("Program"!==i.type||1!==i.body.length||"ExpressionStatement"!==i.body[0].type||"ArrowFunctionExpression"!==i.body[0].expression.type&&"FunctionExpression"!==i.body[0].expression.type)throw new Error("Failed to resolve function");return i.body[0].expression.params.forEach((function(e){r.push(e.name)})),t=i.body[0].expression.body.range,"BlockStatement"===i.body[0].expression.body.type?new Function(r,n.slice(t[0]+1,t[1]-1)):new Function(r,"return "+n.slice(t[0],t[1]))},predicate:function(e){return"[object Function]"===Object.prototype.toString.call(e)},represent:function(e){return e.toString()}}),W=d.DEFAULT=new d({include:[q],explicit:[Y,R,V]}),P=Object.prototype.hasOwnProperty,$=1,K=2,H=3,G=4,Z=1,z=2,J=3,Q=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,X=/[\x85\u2028\u2029]/,ee=/[,\[\]\{\}]/,te=/^(?:!|!!|![a-z\-]+!)$/i,ne=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function ie(e){return Object.prototype.toString.call(e)}function re(e){return 10===e||13===e}function oe(e){return 9===e||32===e}function ae(e){return 9===e||32===e||10===e||13===e}function le(e){return 44===e||91===e||93===e||123===e||125===e}function ue(e){var t;return 48<=e&&e<=57?e-48:97<=(t=32|e)&&t<=102?t-97+10:-1}function ce(e){return 48===e?"\0":97===e?"":98===e?"\b":116===e||9===e?"\t":110===e?"\n":118===e?"\v":102===e?"\f":114===e?"\r":101===e?"":32===e?" ":34===e?'"':47===e?"/":92===e?"\\":78===e?"…":95===e?" ":76===e?"\u2028":80===e?"\u2029":""}function se(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(55296+(e-65536>>10),56320+(e-65536&1023))}for(var pe=new Array(256),fe=new Array(256),de=0;de<256;de++)pe[de]=ce(de)?1:0,fe[de]=ce(de);function he(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||W,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.documents=[]}function ge(e,t){return new o(t,new l(e.filename,e.input,e.position,e.line,e.position-e.lineStart))}function me(e,t){throw ge(e,t)}function ye(e,t){e.onWarning&&e.onWarning.call(null,ge(e,t))}var ve={YAML:function(e,t,n){var i,r,o;null!==e.version&&me(e,"duplication of %YAML directive"),1!==n.length&&me(e,"YAML directive accepts exactly one argument"),null===(i=/^([0-9]+)\.([0-9]+)$/.exec(n[0]))&&me(e,"ill-formed argument of the YAML directive"),r=parseInt(i[1],10),o=parseInt(i[2],10),1!==r&&me(e,"unacceptable YAML version of the document"),e.version=n[0],e.checkLineBreaks=o<2,1!==o&&2!==o&&ye(e,"unsupported YAML version of the document")},TAG:function(e,t,n){var i,r;2!==n.length&&me(e,"TAG directive accepts exactly two arguments"),i=n[0],r=n[1],te.test(i)||me(e,"ill-formed tag handle (first argument) of the TAG directive"),P.call(e.tagMap,i)&&me(e,'there is a previously declared suffix for "'+i+'" tag handle'),ne.test(r)||me(e,"ill-formed tag prefix (second argument) of the TAG directive"),e.tagMap[i]=r}};function Ae(e,t,n,i){var r,o,a,l;if(t1&&(e.result+=i.repeat("\n",t-1))}function Ie(e,t){var n,i,r=e.tag,o=e.anchor,a=[],l=!1;for(null!==e.anchor&&(e.anchorMap[e.anchor]=a),i=e.input.charCodeAt(e.position);0!==i&&45===i&&ae(e.input.charCodeAt(e.position+1));)if(l=!0,e.position++,ke(e,!0,-1)&&e.lineIndent<=t)a.push(null),i=e.input.charCodeAt(e.position);else if(n=e.line,Oe(e,t,H,!1,!0),a.push(e.result),ke(e,!0,-1),i=e.input.charCodeAt(e.position),(e.line===n||e.lineIndent>t)&&0!==i)me(e,"bad indentation of a sequence entry");else if(e.lineIndentt?h=1:e.lineIndent===t?h=0:e.lineIndentt?h=1:e.lineIndent===t?h=0:e.lineIndentt)&&(Oe(e,t,G,!0,r)&&(g?d=e.result:h=e.result),g||(we(e,s,p,f,d,h,o,a),f=d=h=null),ke(e,!0,-1),l=e.input.charCodeAt(e.position)),e.lineIndent>t&&0!==l)me(e,"bad indentation of a mapping entry");else if(e.lineIndent=0))break;0===o?me(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):s?me(e,"repeat of an indentation width identifier"):(p=t+o-1,s=!0)}if(oe(a)){do{a=e.input.charCodeAt(++e.position)}while(oe(a));if(35===a)do{a=e.input.charCodeAt(++e.position)}while(!re(a)&&0!==a)}for(;0!==a;){for(Ce(e),e.lineIndent=0,a=e.input.charCodeAt(e.position);(!s||e.lineIndentp&&(p=e.lineIndent),re(a))f++;else{if(e.lineIndent0){for(r=a,o=0;r>0;r--)(a=ue(l=e.input.charCodeAt(++e.position)))>=0?o=(o<<4)+a:me(e,"expected hexadecimal character");e.result+=se(o),e.position++}else me(e,"unknown escape sequence");n=i=e.position}else re(l)?(Ae(e,n,i,!0),Se(e,ke(e,!1,t)),n=i=e.position):e.position===e.lineStart&&xe(e)?me(e,"unexpected end of the document within a double quoted scalar"):(e.position++,i=e.position)}me(e,"unexpected end of the stream within a double quoted scalar")}(e,f)?m=!0:!function(e){var t,n,i;if(42!==(i=e.input.charCodeAt(e.position)))return!1;for(i=e.input.charCodeAt(++e.position),t=e.position;0!==i&&!ae(i)&&!le(i);)i=e.input.charCodeAt(++e.position);return e.position===t&&me(e,"name of an alias node must contain at least one character"),n=e.input.slice(t,e.position),P.call(e.anchorMap,n)||me(e,'unidentified alias "'+n+'"'),e.result=e.anchorMap[n],ke(e,!0,-1),!0}(e)?function(e,t,n){var i,r,o,a,l,u,c,s,p=e.kind,f=e.result;if(ae(s=e.input.charCodeAt(e.position))||le(s)||35===s||38===s||42===s||33===s||124===s||62===s||39===s||34===s||37===s||64===s||96===s)return!1;if((63===s||45===s)&&(ae(i=e.input.charCodeAt(e.position+1))||n&&le(i)))return!1;for(e.kind="scalar",e.result="",r=o=e.position,a=!1;0!==s;){if(58===s){if(ae(i=e.input.charCodeAt(e.position+1))||n&&le(i))break}else if(35===s){if(ae(e.input.charCodeAt(e.position-1)))break}else{if(e.position===e.lineStart&&xe(e)||n&&le(s))break;if(re(s)){if(l=e.line,u=e.lineStart,c=e.lineIndent,ke(e,!1,-1),e.lineIndent>=t){a=!0,s=e.input.charCodeAt(e.position);continue}e.position=o,e.line=l,e.lineStart=u,e.lineIndent=c;break}}a&&(Ae(e,r,o,!1),Se(e,e.line-l),r=o=e.position,a=!1),oe(s)||(o=e.position+1),s=e.input.charCodeAt(++e.position)}return Ae(e,r,o,!1),!!e.result||(e.kind=p,e.result=f,!1)}(e,f,$===n)&&(m=!0,null===e.tag&&(e.tag="?")):(m=!0,null===e.tag&&null===e.anchor||me(e,"alias node should not have any properties")),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):0===h&&(m=u&&Ie(e,d))),null!==e.tag&&"!"!==e.tag)if("?"===e.tag){for(null!==e.result&&"scalar"!==e.kind&&me(e,'unacceptable node kind for ! tag; it should be "scalar", not "'+e.kind+'"'),c=0,s=e.implicitTypes.length;c tag; it should be "'+p.kind+'", not "'+e.kind+'"'),p.resolve(e.result)?(e.result=p.construct(e.result),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):me(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")):me(e,"unknown tag !<"+e.tag+">");return null!==e.listener&&e.listener("close",e),null!==e.tag||null!==e.anchor||m}function Fe(e){var t,n,i,r,o=e.position,a=!1;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap={},e.anchorMap={};0!==(r=e.input.charCodeAt(e.position))&&(ke(e,!0,-1),r=e.input.charCodeAt(e.position),!(e.lineIndent>0||37!==r));){for(a=!0,r=e.input.charCodeAt(++e.position),t=e.position;0!==r&&!ae(r);)r=e.input.charCodeAt(++e.position);for(i=[],(n=e.input.slice(t,e.position)).length<1&&me(e,"directive name must not be less than one character in length");0!==r;){for(;oe(r);)r=e.input.charCodeAt(++e.position);if(35===r){do{r=e.input.charCodeAt(++e.position)}while(0!==r&&!re(r));break}if(re(r))break;for(t=e.position;0!==r&&!ae(r);)r=e.input.charCodeAt(++e.position);i.push(e.input.slice(t,e.position))}0!==r&&Ce(e),P.call(ve,n)?ve[n](e,n,i):ye(e,'unknown document directive "'+n+'"')}ke(e,!0,-1),0===e.lineIndent&&45===e.input.charCodeAt(e.position)&&45===e.input.charCodeAt(e.position+1)&&45===e.input.charCodeAt(e.position+2)?(e.position+=3,ke(e,!0,-1)):a&&me(e,"directives end mark is expected"),Oe(e,e.lineIndent-1,G,!1,!0),ke(e,!0,-1),e.checkLineBreaks&&X.test(e.input.slice(o,e.position))&&ye(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&xe(e)?46===e.input.charCodeAt(e.position)&&(e.position+=3,ke(e,!0,-1)):e.position0?e.charCodeAt(o-1):null,d=d&>(a,l)}else{for(o=0;oi&&" "!==e[f+1],f=o);else if(!ht(a))return wt;l=o>0?e.charCodeAt(o-1):null,d=d&>(a,l)}s=s||p&&o-f-1>i&&" "!==e[f+1]}return c||s?n>9&&mt(e)?wt:s?bt:At:d&&!r(e)?yt:vt}function kt(e,t,n,i){e.dump=function(){if(0===t.length)return"''";if(!e.noCompatMode&&-1!==ut.indexOf(t))return"'"+t+"'";var r=e.indent*Math.max(1,n),a=-1===e.lineWidth?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-r),l=i||e.flowLevel>-1&&n>=e.flowLevel;switch(Ct(t,l,e.indent,a,(function(t){return function(e,t){var n,i;for(n=0,i=e.implicitTypes.length;n"+xt(t,e.indent)+St(pt(function(e,t){var n,i,r=/(\n+)([^\n]*)/g,o=(l=e.indexOf("\n"),l=-1!==l?l:e.length,r.lastIndex=l,It(e.slice(0,l),t)),a="\n"===e[0]||" "===e[0];var l;for(;i=r.exec(e);){var u=i[1],c=i[2];n=" "===c[0],o+=u+(a||n||""===c?"":"\n")+It(c,t),a=n}return o}(t,a),r));case wt:return'"'+function(e){for(var t,n,i,r="",o=0;o=55296&&t<=56319&&(n=e.charCodeAt(o+1))>=56320&&n<=57343?(r+=ct(1024*(t-55296)+n-56320+65536),o++):r+=!(i=lt[t])&&ht(t)?e[o]:i||ct(t);return r}(t)+'"';default:throw new o("impossible error: invalid scalar style")}}()}function xt(e,t){var n=mt(e)?String(t):"",i="\n"===e[e.length-1];return n+(i&&("\n"===e[e.length-2]||"\n"===e)?"+":i?"":"-")+"\n"}function St(e){return"\n"===e[e.length-1]?e.slice(0,-1):e}function It(e,t){if(""===e||" "===e[0])return e;for(var n,i,r=/ [^ ]/g,o=0,a=0,l=0,u="";n=r.exec(e);)(l=n.index)-o>t&&(i=a>o?a:l,u+="\n"+e.slice(o,i),o=i+1),a=l;return u+="\n",e.length-o>t&&a>o?u+=e.slice(o,a)+"\n"+e.slice(a+1):u+=e.slice(o),u.slice(1)}function Et(e,t,n){var i,r,a,l,u,c;for(a=0,l=(r=n?e.explicitTypes:e.implicitTypes).length;a tag resolver accepts not "'+c+'" style');i=u.represent[c](t,c)}e.dump=i}return!0}return!1}function jt(e,t,n,i,r,a){e.tag=null,e.dump=n,Et(e,n,!1)||Et(e,n,!0);var l=_e.call(e.dump);i&&(i=e.flowLevel<0||e.flowLevel>t);var u,c,s="[object Object]"===l||"[object Array]"===l;if(s&&(c=-1!==(u=e.duplicates.indexOf(n))),(null!==e.tag&&"?"!==e.tag||c||2!==e.indent&&t>0)&&(r=!1),c&&e.usedDuplicates[u])e.dump="*ref_"+u;else{if(s&&c&&!e.usedDuplicates[u]&&(e.usedDuplicates[u]=!0),"[object Object]"===l)i&&0!==Object.keys(e.dump).length?(!function(e,t,n,i){var r,a,l,u,c,s,p="",f=e.tag,d=Object.keys(n);if(!0===e.sortKeys)d.sort();else if("function"==typeof e.sortKeys)d.sort(e.sortKeys);else if(e.sortKeys)throw new o("sortKeys must be a boolean or a function");for(r=0,a=d.length;r1024)&&(e.dump&&qe===e.dump.charCodeAt(0)?s+="?":s+="? "),s+=e.dump,c&&(s+=ft(e,t)),jt(e,t+1,u,!0,c)&&(e.dump&&qe===e.dump.charCodeAt(0)?s+=":":s+=": ",p+=s+=e.dump));e.tag=f,e.dump=p||"{}"}(e,t,e.dump,r),c&&(e.dump="&ref_"+u+e.dump)):(!function(e,t,n){var i,r,o,a,l,u="",c=e.tag,s=Object.keys(n);for(i=0,r=s.length;i1024&&(l+="? "),l+=e.dump+(e.condenseFlow?'"':"")+":"+(e.condenseFlow?"":" "),jt(e,t,a,!1,!1)&&(u+=l+=e.dump));e.tag=c,e.dump="{"+u+"}"}(e,t,e.dump),c&&(e.dump="&ref_"+u+" "+e.dump));else if("[object Array]"===l){var p=e.noArrayIndent&&t>0?t-1:t;i&&0!==e.dump.length?(!function(e,t,n,i){var r,o,a="",l=e.tag;for(r=0,o=n.length;r "+e.dump)}return!0}function Ot(e,t){var n,i,r=[],o=[];for(Ft(e,r,o),n=0,i=o.length;n0&&-1==="\0\r\n…\u2028\u2029".indexOf(this.buffer.charAt(r-1));)if(r-=1,this.position-r>t/2-1){n=" ... ",r+=5;break}for(o="",a=this.position;at/2-1){o=" ... ",a-=5;break}return l=this.buffer.slice(r,a),i.repeat(" ",e)+n+l+o+"\n"+i.repeat(" ",e+this.position-r+n.length)+"^"},a.prototype.toString=function(e){var t,n="";return this.name&&(n+='in "'+this.name+'" '),n+="at line "+(this.line+1)+", column "+(this.column+1),e||(t=this.getSnippet())&&(n+=":\n"+t),n};var l=a,u=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],c=["scalar","sequence","mapping"];var s=function(e,t){if(t=t||{},Object.keys(t).forEach((function(t){if(-1===u.indexOf(t))throw new o('Unknown option "'+t+'" is met in definition of "'+e+'" YAML type.')})),this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(e){return e},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.defaultStyle=t.defaultStyle||null,this.styleAliases=function(e){var t={};return null!==e&&Object.keys(e).forEach((function(n){e[n].forEach((function(e){t[String(e)]=n}))})),t}(t.styleAliases||null),-1===c.indexOf(this.kind))throw new o('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')};function p(e,t,n){var i=[];return e.include.forEach((function(e){n=p(e,t,n)})),e[t].forEach((function(e){n.forEach((function(t,n){t.tag===e.tag&&t.kind===e.kind&&i.push(n)})),n.push(e)})),n.filter((function(e,t){return-1===i.indexOf(t)}))}function f(e){this.include=e.include||[],this.implicit=e.implicit||[],this.explicit=e.explicit||[],this.implicit.forEach((function(e){if(e.loadKind&&"scalar"!==e.loadKind)throw new o("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.")})),this.compiledImplicit=p(this,"implicit",[]),this.compiledExplicit=p(this,"explicit",[]),this.compiledTypeMap=function(){var e,t,n={scalar:{},sequence:{},mapping:{},fallback:{}};function i(e){n[e.kind][e.tag]=n.fallback[e.tag]=e}for(e=0,t=arguments.length;e=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0"+e.toString(8):"-0"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),b=new RegExp("^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");var w=/^[-+]?[0-9]+e/;var C=new d({include:[h],implicit:[g,m,A,new s("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(e){return null!==e&&!(!b.test(e)||"_"===e[e.length-1])},construct:function(e){var t,n,i,r;return n="-"===(t=e.replace(/_/g,"").toLowerCase())[0]?-1:1,r=[],"+-".indexOf(t[0])>=0&&(t=t.slice(1)),".inf"===t?1===n?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:".nan"===t?NaN:t.indexOf(":")>=0?(t.split(":").forEach((function(e){r.unshift(parseFloat(e,10))})),t=0,i=1,r.forEach((function(e){t+=e*i,i*=60})),n*t):n*parseFloat(t,10)},predicate:function(e){return"[object Number]"===Object.prototype.toString.call(e)&&(e%1!=0||i.isNegativeZero(e))},represent:function(e,t){var n;if(isNaN(e))switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(i.isNegativeZero(e))return"-0.0";return n=e.toString(10),w.test(n)?n.replace("e",".e"):n},defaultStyle:"lowercase"})]}),k=new d({include:[C]}),x=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),S=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");var I=new s("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(e){return null!==e&&(null!==x.exec(e)||null!==S.exec(e))},construct:function(e){var t,n,i,r,o,a,l,u,c=0,s=null;if(null===(t=x.exec(e))&&(t=S.exec(e)),null===t)throw new Error("Date resolve error");if(n=+t[1],i=+t[2]-1,r=+t[3],!t[4])return new Date(Date.UTC(n,i,r));if(o=+t[4],a=+t[5],l=+t[6],t[7]){for(c=t[7].slice(0,3);c.length<3;)c+="0";c=+c}return t[9]&&(s=6e4*(60*+t[10]+ +(t[11]||0)),"-"===t[9]&&(s=-s)),u=new Date(Date.UTC(n,i,r,o,a,l,c)),s&&u.setTime(u.getTime()-s),u},instanceOf:Date,represent:function(e){return e.toISOString()}});var E,j=new s("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(e){return"<<"===e||null===e}});function O(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets option of @rollup/plugin-commonjs appropriately for this require call to behave properly.')}try{E=O("buffer").Buffer}catch(e){}var F="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";var M=new s("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(e){if(null===e)return!1;var t,n,i=0,r=e.length,o=F;for(n=0;n64)){if(t<0)return!1;i+=6}return i%8==0},construct:function(e){var t,n,i=e.replace(/[\r\n=]/g,""),r=i.length,o=F,a=0,l=[];for(t=0;t>16&255),l.push(a>>8&255),l.push(255&a)),a=a<<6|o.indexOf(i.charAt(t));return 0===(n=r%4*6)?(l.push(a>>16&255),l.push(a>>8&255),l.push(255&a)):18===n?(l.push(a>>10&255),l.push(a>>2&255)):12===n&&l.push(a>>4&255),E?E.from?E.from(l):new E(l):l},predicate:function(e){return E&&E.isBuffer(e)},represent:function(e){var t,n,i="",r=0,o=e.length,a=F;for(t=0;t>18&63],i+=a[r>>12&63],i+=a[r>>6&63],i+=a[63&r]),r=(r<<8)+e[t];return 0===(n=o%3)?(i+=a[r>>18&63],i+=a[r>>12&63],i+=a[r>>6&63],i+=a[63&r]):2===n?(i+=a[r>>10&63],i+=a[r>>4&63],i+=a[r<<2&63],i+=a[64]):1===n&&(i+=a[r>>2&63],i+=a[r<<4&63],i+=a[64],i+=a[64]),i}}),N=Object.prototype.hasOwnProperty,T=Object.prototype.toString;var L=new s("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(e){if(null===e)return!0;var t,n,i,r,o,a=[],l=e;for(t=0,n=l.length;t3)return!1;if("/"!==t[t.length-i.length-1])return!1}return!0},construct:function(e){var t=e,n=/\/([gim]*)$/.exec(e),i="";return"/"===t[0]&&(n&&(i=n[1]),t=t.slice(1,t.length-i.length-1)),new RegExp(t,i)},predicate:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},represent:function(e){var t="/"+e.source+"/";return e.global&&(t+="g"),e.multiline&&(t+="m"),e.ignoreCase&&(t+="i"),t}});try{B=O("esprima")}catch(e){"undefined"!=typeof window&&(B=window.esprima)}var V=new s("tag:yaml.org,2002:js/function",{kind:"scalar",resolve:function(e){if(null===e)return!1;try{var t="("+e+")",n=B.parse(t,{range:!0});return"Program"===n.type&&1===n.body.length&&"ExpressionStatement"===n.body[0].type&&("ArrowFunctionExpression"===n.body[0].expression.type||"FunctionExpression"===n.body[0].expression.type)}catch(e){return!1}},construct:function(e){var t,n="("+e+")",i=B.parse(n,{range:!0}),r=[];if("Program"!==i.type||1!==i.body.length||"ExpressionStatement"!==i.body[0].type||"ArrowFunctionExpression"!==i.body[0].expression.type&&"FunctionExpression"!==i.body[0].expression.type)throw new Error("Failed to resolve function");return i.body[0].expression.params.forEach((function(e){r.push(e.name)})),t=i.body[0].expression.body.range,"BlockStatement"===i.body[0].expression.body.type?new Function(r,n.slice(t[0]+1,t[1]-1)):new Function(r,"return "+n.slice(t[0],t[1]))},predicate:function(e){return"[object Function]"===Object.prototype.toString.call(e)},represent:function(e){return e.toString()}}),W=d.DEFAULT=new d({include:[q],explicit:[Y,R,V]}),P=Object.prototype.hasOwnProperty,$=1,K=2,H=3,G=4,Z=1,z=2,J=3,Q=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,X=/[\x85\u2028\u2029]/,ee=/[,\[\]\{\}]/,te=/^(?:!|!!|![a-z\-]+!)$/i,ne=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function ie(e){return Object.prototype.toString.call(e)}function re(e){return 10===e||13===e}function oe(e){return 9===e||32===e}function ae(e){return 9===e||32===e||10===e||13===e}function le(e){return 44===e||91===e||93===e||123===e||125===e}function ue(e){var t;return 48<=e&&e<=57?e-48:97<=(t=32|e)&&t<=102?t-97+10:-1}function ce(e){return 48===e?"\0":97===e?"":98===e?"\b":116===e||9===e?"\t":110===e?"\n":118===e?"\v":102===e?"\f":114===e?"\r":101===e?"":32===e?" ":34===e?'"':47===e?"/":92===e?"\\":78===e?"…":95===e?" ":76===e?"\u2028":80===e?"\u2029":""}function se(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(55296+(e-65536>>10),56320+(e-65536&1023))}for(var pe=new Array(256),fe=new Array(256),de=0;de<256;de++)pe[de]=ce(de)?1:0,fe[de]=ce(de);function he(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||W,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.documents=[]}function ge(e,t){return new o(t,new l(e.filename,e.input,e.position,e.line,e.position-e.lineStart))}function me(e,t){throw ge(e,t)}function ye(e,t){e.onWarning&&e.onWarning.call(null,ge(e,t))}var ve={YAML:function(e,t,n){var i,r,o;null!==e.version&&me(e,"duplication of %YAML directive"),1!==n.length&&me(e,"YAML directive accepts exactly one argument"),null===(i=/^([0-9]+)\.([0-9]+)$/.exec(n[0]))&&me(e,"ill-formed argument of the YAML directive"),r=parseInt(i[1],10),o=parseInt(i[2],10),1!==r&&me(e,"unacceptable YAML version of the document"),e.version=n[0],e.checkLineBreaks=o<2,1!==o&&2!==o&&ye(e,"unsupported YAML version of the document")},TAG:function(e,t,n){var i,r;2!==n.length&&me(e,"TAG directive accepts exactly two arguments"),i=n[0],r=n[1],te.test(i)||me(e,"ill-formed tag handle (first argument) of the TAG directive"),P.call(e.tagMap,i)&&me(e,'there is a previously declared suffix for "'+i+'" tag handle'),ne.test(r)||me(e,"ill-formed tag prefix (second argument) of the TAG directive"),e.tagMap[i]=r}};function Ae(e,t,n,i){var r,o,a,l;if(t1&&(e.result+=i.repeat("\n",t-1))}function Ie(e,t){var n,i,r=e.tag,o=e.anchor,a=[],l=!1;for(null!==e.anchor&&(e.anchorMap[e.anchor]=a),i=e.input.charCodeAt(e.position);0!==i&&45===i&&ae(e.input.charCodeAt(e.position+1));)if(l=!0,e.position++,ke(e,!0,-1)&&e.lineIndent<=t)a.push(null),i=e.input.charCodeAt(e.position);else if(n=e.line,Oe(e,t,H,!1,!0),a.push(e.result),ke(e,!0,-1),i=e.input.charCodeAt(e.position),(e.line===n||e.lineIndent>t)&&0!==i)me(e,"bad indentation of a sequence entry");else if(e.lineIndentt?h=1:e.lineIndent===t?h=0:e.lineIndentt?h=1:e.lineIndent===t?h=0:e.lineIndentt)&&(Oe(e,t,G,!0,r)&&(g?d=e.result:h=e.result),g||(we(e,s,p,f,d,h,o,a),f=d=h=null),ke(e,!0,-1),l=e.input.charCodeAt(e.position)),e.lineIndent>t&&0!==l)me(e,"bad indentation of a mapping entry");else if(e.lineIndent=0))break;0===o?me(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):s?me(e,"repeat of an indentation width identifier"):(p=t+o-1,s=!0)}if(oe(a)){do{a=e.input.charCodeAt(++e.position)}while(oe(a));if(35===a)do{a=e.input.charCodeAt(++e.position)}while(!re(a)&&0!==a)}for(;0!==a;){for(Ce(e),e.lineIndent=0,a=e.input.charCodeAt(e.position);(!s||e.lineIndentp&&(p=e.lineIndent),re(a))f++;else{if(e.lineIndent0){for(r=a,o=0;r>0;r--)(a=ue(l=e.input.charCodeAt(++e.position)))>=0?o=(o<<4)+a:me(e,"expected hexadecimal character");e.result+=se(o),e.position++}else me(e,"unknown escape sequence");n=i=e.position}else re(l)?(Ae(e,n,i,!0),Se(e,ke(e,!1,t)),n=i=e.position):e.position===e.lineStart&&xe(e)?me(e,"unexpected end of the document within a double quoted scalar"):(e.position++,i=e.position)}me(e,"unexpected end of the stream within a double quoted scalar")}(e,f)?m=!0:!function(e){var t,n,i;if(42!==(i=e.input.charCodeAt(e.position)))return!1;for(i=e.input.charCodeAt(++e.position),t=e.position;0!==i&&!ae(i)&&!le(i);)i=e.input.charCodeAt(++e.position);return e.position===t&&me(e,"name of an alias node must contain at least one character"),n=e.input.slice(t,e.position),P.call(e.anchorMap,n)||me(e,'unidentified alias "'+n+'"'),e.result=e.anchorMap[n],ke(e,!0,-1),!0}(e)?function(e,t,n){var i,r,o,a,l,u,c,s,p=e.kind,f=e.result;if(ae(s=e.input.charCodeAt(e.position))||le(s)||35===s||38===s||42===s||33===s||124===s||62===s||39===s||34===s||37===s||64===s||96===s)return!1;if((63===s||45===s)&&(ae(i=e.input.charCodeAt(e.position+1))||n&&le(i)))return!1;for(e.kind="scalar",e.result="",r=o=e.position,a=!1;0!==s;){if(58===s){if(ae(i=e.input.charCodeAt(e.position+1))||n&&le(i))break}else if(35===s){if(ae(e.input.charCodeAt(e.position-1)))break}else{if(e.position===e.lineStart&&xe(e)||n&&le(s))break;if(re(s)){if(l=e.line,u=e.lineStart,c=e.lineIndent,ke(e,!1,-1),e.lineIndent>=t){a=!0,s=e.input.charCodeAt(e.position);continue}e.position=o,e.line=l,e.lineStart=u,e.lineIndent=c;break}}a&&(Ae(e,r,o,!1),Se(e,e.line-l),r=o=e.position,a=!1),oe(s)||(o=e.position+1),s=e.input.charCodeAt(++e.position)}return Ae(e,r,o,!1),!!e.result||(e.kind=p,e.result=f,!1)}(e,f,$===n)&&(m=!0,null===e.tag&&(e.tag="?")):(m=!0,null===e.tag&&null===e.anchor||me(e,"alias node should not have any properties")),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):0===h&&(m=u&&Ie(e,d))),null!==e.tag&&"!"!==e.tag)if("?"===e.tag){for(null!==e.result&&"scalar"!==e.kind&&me(e,'unacceptable node kind for ! tag; it should be "scalar", not "'+e.kind+'"'),c=0,s=e.implicitTypes.length;c tag; it should be "'+p.kind+'", not "'+e.kind+'"'),p.resolve(e.result)?(e.result=p.construct(e.result),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):me(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")):me(e,"unknown tag !<"+e.tag+">");return null!==e.listener&&e.listener("close",e),null!==e.tag||null!==e.anchor||m}function Fe(e){var t,n,i,r,o=e.position,a=!1;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap={},e.anchorMap={};0!==(r=e.input.charCodeAt(e.position))&&(ke(e,!0,-1),r=e.input.charCodeAt(e.position),!(e.lineIndent>0||37!==r));){for(a=!0,r=e.input.charCodeAt(++e.position),t=e.position;0!==r&&!ae(r);)r=e.input.charCodeAt(++e.position);for(i=[],(n=e.input.slice(t,e.position)).length<1&&me(e,"directive name must not be less than one character in length");0!==r;){for(;oe(r);)r=e.input.charCodeAt(++e.position);if(35===r){do{r=e.input.charCodeAt(++e.position)}while(0!==r&&!re(r));break}if(re(r))break;for(t=e.position;0!==r&&!ae(r);)r=e.input.charCodeAt(++e.position);i.push(e.input.slice(t,e.position))}0!==r&&Ce(e),P.call(ve,n)?ve[n](e,n,i):ye(e,'unknown document directive "'+n+'"')}ke(e,!0,-1),0===e.lineIndent&&45===e.input.charCodeAt(e.position)&&45===e.input.charCodeAt(e.position+1)&&45===e.input.charCodeAt(e.position+2)?(e.position+=3,ke(e,!0,-1)):a&&me(e,"directives end mark is expected"),Oe(e,e.lineIndent-1,G,!1,!0),ke(e,!0,-1),e.checkLineBreaks&&X.test(e.input.slice(o,e.position))&&ye(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&xe(e)?46===e.input.charCodeAt(e.position)&&(e.position+=3,ke(e,!0,-1)):e.position0?e.charCodeAt(o-1):null,d=d&>(a,l)}else{for(o=0;oi&&" "!==e[f+1],f=o);else if(!ht(a))return wt;l=o>0?e.charCodeAt(o-1):null,d=d&>(a,l)}s=s||p&&o-f-1>i&&" "!==e[f+1]}return c||s?n>9&&mt(e)?wt:s?bt:At:d&&!r(e)?yt:vt}function kt(e,t,n,i){e.dump=function(){if(0===t.length)return"''";if(!e.noCompatMode&&-1!==ut.indexOf(t))return"'"+t+"'";var r=e.indent*Math.max(1,n),a=-1===e.lineWidth?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-r),l=i||e.flowLevel>-1&&n>=e.flowLevel;switch(Ct(t,l,e.indent,a,(function(t){return function(e,t){var n,i;for(n=0,i=e.implicitTypes.length;n"+xt(t,e.indent)+St(pt(function(e,t){var n,i,r=/(\n+)([^\n]*)/g,o=(l=e.indexOf("\n"),l=-1!==l?l:e.length,r.lastIndex=l,It(e.slice(0,l),t)),a="\n"===e[0]||" "===e[0];var l;for(;i=r.exec(e);){var u=i[1],c=i[2];n=" "===c[0],o+=u+(a||n||""===c?"":"\n")+It(c,t),a=n}return o}(t,a),r));case wt:return'"'+function(e){for(var t,n,i,r="",o=0;o=55296&&t<=56319&&(n=e.charCodeAt(o+1))>=56320&&n<=57343?(r+=ct(1024*(t-55296)+n-56320+65536),o++):r+=!(i=lt[t])&&ht(t)?e[o]:i||ct(t);return r}(t)+'"';default:throw new o("impossible error: invalid scalar style")}}()}function xt(e,t){var n=mt(e)?String(t):"",i="\n"===e[e.length-1];return n+(i&&("\n"===e[e.length-2]||"\n"===e)?"+":i?"":"-")+"\n"}function St(e){return"\n"===e[e.length-1]?e.slice(0,-1):e}function It(e,t){if(""===e||" "===e[0])return e;for(var n,i,r=/ [^ ]/g,o=0,a=0,l=0,u="";n=r.exec(e);)(l=n.index)-o>t&&(i=a>o?a:l,u+="\n"+e.slice(o,i),o=i+1),a=l;return u+="\n",e.length-o>t&&a>o?u+=e.slice(o,a)+"\n"+e.slice(a+1):u+=e.slice(o),u.slice(1)}function Et(e,t,n){var i,r,a,l,u,c;for(a=0,l=(r=n?e.explicitTypes:e.implicitTypes).length;a tag resolver accepts not "'+c+'" style');i=u.represent[c](t,c)}e.dump=i}return!0}return!1}function jt(e,t,n,i,r,a){e.tag=null,e.dump=n,Et(e,n,!1)||Et(e,n,!0);var l=_e.call(e.dump);i&&(i=e.flowLevel<0||e.flowLevel>t);var u,c,s="[object Object]"===l||"[object Array]"===l;if(s&&(c=-1!==(u=e.duplicates.indexOf(n))),(null!==e.tag&&"?"!==e.tag||c||2!==e.indent&&t>0)&&(r=!1),c&&e.usedDuplicates[u])e.dump="*ref_"+u;else{if(s&&c&&!e.usedDuplicates[u]&&(e.usedDuplicates[u]=!0),"[object Object]"===l)i&&0!==Object.keys(e.dump).length?(!function(e,t,n,i){var r,a,l,u,c,s,p="",f=e.tag,d=Object.keys(n);if(!0===e.sortKeys)d.sort();else if("function"==typeof e.sortKeys)d.sort(e.sortKeys);else if(e.sortKeys)throw new o("sortKeys must be a boolean or a function");for(r=0,a=d.length;r1024)&&(e.dump&&qe===e.dump.charCodeAt(0)?s+="?":s+="? "),s+=e.dump,c&&(s+=ft(e,t)),jt(e,t+1,u,!0,c)&&(e.dump&&qe===e.dump.charCodeAt(0)?s+=":":s+=": ",p+=s+=e.dump));e.tag=f,e.dump=p||"{}"}(e,t,e.dump,r),c&&(e.dump="&ref_"+u+e.dump)):(!function(e,t,n){var i,r,o,a,l,u="",c=e.tag,s=Object.keys(n);for(i=0,r=s.length;i1024&&(l+="? "),l+=e.dump+(e.condenseFlow?'"':"")+":"+(e.condenseFlow?"":" "),jt(e,t,a,!1,!1)&&(u+=l+=e.dump));e.tag=c,e.dump="{"+u+"}"}(e,t,e.dump),c&&(e.dump="&ref_"+u+" "+e.dump));else if("[object Array]"===l){var p=e.noArrayIndent&&t>0?t-1:t;i&&0!==e.dump.length?(!function(e,t,n,i){var r,o,a="",l=e.tag;for(r=0,o=n.length;r "+e.dump)}return!0}function Ot(e,t){var n,i,r=[],o=[];for(Ft(e,r,o),n=0,i=o.length;n import("@mohin4/design-system/editor").then((e) => e.AcCodeEditor) + ) + }, + mixins: [r], + inject: ["providedData"], + props: { + modelValue: { + type: null, + default: () => ({}) + } + }, + emits: ["code::model-data-updated"], + computed: { + originalValueString() { + return t.safeDump(this.referenceModel, { lineWidth: 2e3 }); + }, + theme() { + return this.providedData.theme || "light"; + }, + editorModel: { + get() { + return t.safeDump(this.modelValue, { lineWidth: 2e3 }); + }, + set(e) { + let o = null; + try { + o = t.safeLoad(e, { + json: !0 + }); + } catch { + o = this.modelData; + } + this.modelData = o, this.$emit("code::model-data-updated", o); + } + } + } +}), f = { class: "vof-editor" }; +function g(e, o, d, _, V, v) { + const l = m("ac-code-editor"); + return a(), s("div", f, [ + (a(), p(l, { + key: e.theme, + modelValue: e.editorModel, + "onUpdate:modelValue": o[0] || (o[0] = (n) => e.editorModel = n), + original: e.originalValueString, + language: "yaml", + height: "70vh", + label: "YAML" + }, null, 8, ["modelValue", "original"])) + ]); +} +const M = /* @__PURE__ */ i(h, [["render", g]]); +export { + M as default +}; diff --git a/dist/YamlForm-c590504a.js b/dist/YamlForm-c590504a.js deleted file mode 100644 index 6ba34c1..0000000 --- a/dist/YamlForm-c590504a.js +++ /dev/null @@ -1 +0,0 @@ -import{m as e}from"./entry-f11f5a48.js";import{defineComponent as t,defineAsyncComponent as n,resolveComponent as i,openBlock as r,createElementBlock as o,createBlock as a}from"vue";function l(e){return null==e}var u={isNothing:l,isObject:function(e){return"object"==typeof e&&null!==e},toArray:function(e){return Array.isArray(e)?e:l(e)?[]:[e]},repeat:function(e,t){var n,i="";for(n=0;n0&&-1==="\0\r\n…\u2028\u2029".indexOf(this.buffer.charAt(i-1));)if(i-=1,this.position-i>t/2-1){n=" ... ",i+=5;break}for(r="",o=this.position;ot/2-1){r=" ... ",o-=5;break}return a=this.buffer.slice(i,o),u.repeat(" ",e)+n+a+r+"\n"+u.repeat(" ",e+this.position-i+n.length)+"^"},p.prototype.toString=function(e){var t,n="";return this.name&&(n+='in "'+this.name+'" '),n+="at line "+(this.line+1)+", column "+(this.column+1),e||(t=this.getSnippet())&&(n+=":\n"+t),n};var f=p,d=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],h=["scalar","sequence","mapping"];var g=function(e,t){if(t=t||{},Object.keys(t).forEach((function(t){if(-1===d.indexOf(t))throw new s('Unknown option "'+t+'" is met in definition of "'+e+'" YAML type.')})),this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(e){return e},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.defaultStyle=t.defaultStyle||null,this.styleAliases=function(e){var t={};return null!==e&&Object.keys(e).forEach((function(n){e[n].forEach((function(e){t[String(e)]=n}))})),t}(t.styleAliases||null),-1===h.indexOf(this.kind))throw new s('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')};function m(e,t,n){var i=[];return e.include.forEach((function(e){n=m(e,t,n)})),e[t].forEach((function(e){n.forEach((function(t,n){t.tag===e.tag&&t.kind===e.kind&&i.push(n)})),n.push(e)})),n.filter((function(e,t){return-1===i.indexOf(t)}))}function y(e){this.include=e.include||[],this.implicit=e.implicit||[],this.explicit=e.explicit||[],this.implicit.forEach((function(e){if(e.loadKind&&"scalar"!==e.loadKind)throw new s("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.")})),this.compiledImplicit=m(this,"implicit",[]),this.compiledExplicit=m(this,"explicit",[]),this.compiledTypeMap=function(){var e,t,n={scalar:{},sequence:{},mapping:{},fallback:{}};function i(e){n[e.kind][e.tag]=n.fallback[e.tag]=e}for(e=0,t=arguments.length;e=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0"+e.toString(8):"-0"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),S=new RegExp("^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");var I=/^[-+]?[0-9]+e/;var j=new v({include:[A],implicit:[b,w,x,new g("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(e){return null!==e&&!(!S.test(e)||"_"===e[e.length-1])},construct:function(e){var t,n,i,r;return n="-"===(t=e.replace(/_/g,"").toLowerCase())[0]?-1:1,r=[],"+-".indexOf(t[0])>=0&&(t=t.slice(1)),".inf"===t?1===n?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:".nan"===t?NaN:t.indexOf(":")>=0?(t.split(":").forEach((function(e){r.unshift(parseFloat(e,10))})),t=0,i=1,r.forEach((function(e){t+=e*i,i*=60})),n*t):n*parseFloat(t,10)},predicate:function(e){return"[object Number]"===Object.prototype.toString.call(e)&&(e%1!=0||u.isNegativeZero(e))},represent:function(e,t){var n;if(isNaN(e))switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(u.isNegativeZero(e))return"-0.0";return n=e.toString(10),I.test(n)?n.replace("e",".e"):n},defaultStyle:"lowercase"})]}),E=new v({include:[j]}),O=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),F=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");var M=new g("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(e){return null!==e&&(null!==O.exec(e)||null!==F.exec(e))},construct:function(e){var t,n,i,r,o,a,l,u,c=0,s=null;if(null===(t=O.exec(e))&&(t=F.exec(e)),null===t)throw new Error("Date resolve error");if(n=+t[1],i=+t[2]-1,r=+t[3],!t[4])return new Date(Date.UTC(n,i,r));if(o=+t[4],a=+t[5],l=+t[6],t[7]){for(c=t[7].slice(0,3);c.length<3;)c+="0";c=+c}return t[9]&&(s=6e4*(60*+t[10]+ +(t[11]||0)),"-"===t[9]&&(s=-s)),u=new Date(Date.UTC(n,i,r,o,a,l,c)),s&&u.setTime(u.getTime()-s),u},instanceOf:Date,represent:function(e){return e.toISOString()}});var N,T=new g("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(e){return"<<"===e||null===e}});function L(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets option of @rollup/plugin-commonjs appropriately for this require call to behave properly.')}try{N=L("buffer").Buffer}catch(e){}var _="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";var D=new g("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(e){if(null===e)return!1;var t,n,i=0,r=e.length,o=_;for(n=0;n64)){if(t<0)return!1;i+=6}return i%8==0},construct:function(e){var t,n,i=e.replace(/[\r\n=]/g,""),r=i.length,o=_,a=0,l=[];for(t=0;t>16&255),l.push(a>>8&255),l.push(255&a)),a=a<<6|o.indexOf(i.charAt(t));return 0===(n=r%4*6)?(l.push(a>>16&255),l.push(a>>8&255),l.push(255&a)):18===n?(l.push(a>>10&255),l.push(a>>2&255)):12===n&&l.push(a>>4&255),N?N.from?N.from(l):new N(l):l},predicate:function(e){return N&&N.isBuffer(e)},represent:function(e){var t,n,i="",r=0,o=e.length,a=_;for(t=0;t>18&63],i+=a[r>>12&63],i+=a[r>>6&63],i+=a[63&r]),r=(r<<8)+e[t];return 0===(n=o%3)?(i+=a[r>>18&63],i+=a[r>>12&63],i+=a[r>>6&63],i+=a[63&r]):2===n?(i+=a[r>>10&63],i+=a[r>>4&63],i+=a[r<<2&63],i+=a[64]):1===n&&(i+=a[r>>2&63],i+=a[r<<4&63],i+=a[64],i+=a[64]),i}}),U=Object.prototype.hasOwnProperty,Y=Object.prototype.toString;var q=new g("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(e){if(null===e)return!0;var t,n,i,r,o,a=[],l=e;for(t=0,n=l.length;t3)return!1;if("/"!==t[t.length-i.length-1])return!1}return!0},construct:function(e){var t=e,n=/\/([gim]*)$/.exec(e),i="";return"/"===t[0]&&(n&&(i=n[1]),t=t.slice(1,t.length-i.length-1)),new RegExp(t,i)},predicate:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},represent:function(e){var t="/"+e.source+"/";return e.global&&(t+="g"),e.multiline&&(t+="m"),e.ignoreCase&&(t+="i"),t}});try{$=L("esprima")}catch(e){"undefined"!=typeof window&&($=window.esprima)}var H=new g("tag:yaml.org,2002:js/function",{kind:"scalar",resolve:function(e){if(null===e)return!1;try{var t="("+e+")",n=$.parse(t,{range:!0});return"Program"===n.type&&1===n.body.length&&"ExpressionStatement"===n.body[0].type&&("ArrowFunctionExpression"===n.body[0].expression.type||"FunctionExpression"===n.body[0].expression.type)}catch(e){return!1}},construct:function(e){var t,n="("+e+")",i=$.parse(n,{range:!0}),r=[];if("Program"!==i.type||1!==i.body.length||"ExpressionStatement"!==i.body[0].type||"ArrowFunctionExpression"!==i.body[0].expression.type&&"FunctionExpression"!==i.body[0].expression.type)throw new Error("Failed to resolve function");return i.body[0].expression.params.forEach((function(e){r.push(e.name)})),t=i.body[0].expression.body.range,"BlockStatement"===i.body[0].expression.body.type?new Function(r,n.slice(t[0]+1,t[1]-1)):new Function(r,"return "+n.slice(t[0],t[1]))},predicate:function(e){return"[object Function]"===Object.prototype.toString.call(e)},represent:function(e){return e.toString()}}),G=v.DEFAULT=new v({include:[B],explicit:[P,K,H]}),Z=Object.prototype.hasOwnProperty,z=1,J=2,Q=3,X=4,ee=1,te=2,ne=3,ie=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,re=/[\x85\u2028\u2029]/,oe=/[,\[\]\{\}]/,ae=/^(?:!|!!|![a-z\-]+!)$/i,le=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function ue(e){return Object.prototype.toString.call(e)}function ce(e){return 10===e||13===e}function se(e){return 9===e||32===e}function pe(e){return 9===e||32===e||10===e||13===e}function fe(e){return 44===e||91===e||93===e||123===e||125===e}function de(e){var t;return 48<=e&&e<=57?e-48:97<=(t=32|e)&&t<=102?t-97+10:-1}function he(e){return 48===e?"\0":97===e?"":98===e?"\b":116===e||9===e?"\t":110===e?"\n":118===e?"\v":102===e?"\f":114===e?"\r":101===e?"":32===e?" ":34===e?'"':47===e?"/":92===e?"\\":78===e?"…":95===e?" ":76===e?"\u2028":80===e?"\u2029":""}function ge(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(55296+(e-65536>>10),56320+(e-65536&1023))}for(var me=new Array(256),ye=new Array(256),ve=0;ve<256;ve++)me[ve]=he(ve)?1:0,ye[ve]=he(ve);function Ae(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||G,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.documents=[]}function be(e,t){return new s(t,new f(e.filename,e.input,e.position,e.line,e.position-e.lineStart))}function we(e,t){throw be(e,t)}function Ce(e,t){e.onWarning&&e.onWarning.call(null,be(e,t))}var ke={YAML:function(e,t,n){var i,r,o;null!==e.version&&we(e,"duplication of %YAML directive"),1!==n.length&&we(e,"YAML directive accepts exactly one argument"),null===(i=/^([0-9]+)\.([0-9]+)$/.exec(n[0]))&&we(e,"ill-formed argument of the YAML directive"),r=parseInt(i[1],10),o=parseInt(i[2],10),1!==r&&we(e,"unacceptable YAML version of the document"),e.version=n[0],e.checkLineBreaks=o<2,1!==o&&2!==o&&Ce(e,"unsupported YAML version of the document")},TAG:function(e,t,n){var i,r;2!==n.length&&we(e,"TAG directive accepts exactly two arguments"),i=n[0],r=n[1],ae.test(i)||we(e,"ill-formed tag handle (first argument) of the TAG directive"),Z.call(e.tagMap,i)&&we(e,'there is a previously declared suffix for "'+i+'" tag handle'),le.test(r)||we(e,"ill-formed tag prefix (second argument) of the TAG directive"),e.tagMap[i]=r}};function xe(e,t,n,i){var r,o,a,l;if(t1&&(e.result+=u.repeat("\n",t-1))}function Me(e,t){var n,i,r=e.tag,o=e.anchor,a=[],l=!1;for(null!==e.anchor&&(e.anchorMap[e.anchor]=a),i=e.input.charCodeAt(e.position);0!==i&&45===i&&pe(e.input.charCodeAt(e.position+1));)if(l=!0,e.position++,Ee(e,!0,-1)&&e.lineIndent<=t)a.push(null),i=e.input.charCodeAt(e.position);else if(n=e.line,Le(e,t,Q,!1,!0),a.push(e.result),Ee(e,!0,-1),i=e.input.charCodeAt(e.position),(e.line===n||e.lineIndent>t)&&0!==i)we(e,"bad indentation of a sequence entry");else if(e.lineIndentt?h=1:e.lineIndent===t?h=0:e.lineIndentt?h=1:e.lineIndent===t?h=0:e.lineIndentt)&&(Le(e,t,X,!0,r)&&(g?d=e.result:h=e.result),g||(Ie(e,s,p,f,d,h,o,a),f=d=h=null),Ee(e,!0,-1),l=e.input.charCodeAt(e.position)),e.lineIndent>t&&0!==l)we(e,"bad indentation of a mapping entry");else if(e.lineIndent=0))break;0===r?we(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):s?we(e,"repeat of an indentation width identifier"):(p=t+r-1,s=!0)}if(se(o)){do{o=e.input.charCodeAt(++e.position)}while(se(o));if(35===o)do{o=e.input.charCodeAt(++e.position)}while(!ce(o)&&0!==o)}for(;0!==o;){for(je(e),e.lineIndent=0,o=e.input.charCodeAt(e.position);(!s||e.lineIndentp&&(p=e.lineIndent),ce(o))f++;else{if(e.lineIndent0){for(r=a,o=0;r>0;r--)(a=de(l=e.input.charCodeAt(++e.position)))>=0?o=(o<<4)+a:we(e,"expected hexadecimal character");e.result+=ge(o),e.position++}else we(e,"unknown escape sequence");n=i=e.position}else ce(l)?(xe(e,n,i,!0),Fe(e,Ee(e,!1,t)),n=i=e.position):e.position===e.lineStart&&Oe(e)?we(e,"unexpected end of the document within a double quoted scalar"):(e.position++,i=e.position)}we(e,"unexpected end of the stream within a double quoted scalar")}(e,f)?m=!0:!function(e){var t,n,i;if(42!==(i=e.input.charCodeAt(e.position)))return!1;for(i=e.input.charCodeAt(++e.position),t=e.position;0!==i&&!pe(i)&&!fe(i);)i=e.input.charCodeAt(++e.position);return e.position===t&&we(e,"name of an alias node must contain at least one character"),n=e.input.slice(t,e.position),Z.call(e.anchorMap,n)||we(e,'unidentified alias "'+n+'"'),e.result=e.anchorMap[n],Ee(e,!0,-1),!0}(e)?function(e,t,n){var i,r,o,a,l,u,c,s,p=e.kind,f=e.result;if(pe(s=e.input.charCodeAt(e.position))||fe(s)||35===s||38===s||42===s||33===s||124===s||62===s||39===s||34===s||37===s||64===s||96===s)return!1;if((63===s||45===s)&&(pe(i=e.input.charCodeAt(e.position+1))||n&&fe(i)))return!1;for(e.kind="scalar",e.result="",r=o=e.position,a=!1;0!==s;){if(58===s){if(pe(i=e.input.charCodeAt(e.position+1))||n&&fe(i))break}else if(35===s){if(pe(e.input.charCodeAt(e.position-1)))break}else{if(e.position===e.lineStart&&Oe(e)||n&&fe(s))break;if(ce(s)){if(l=e.line,u=e.lineStart,c=e.lineIndent,Ee(e,!1,-1),e.lineIndent>=t){a=!0,s=e.input.charCodeAt(e.position);continue}e.position=o,e.line=l,e.lineStart=u,e.lineIndent=c;break}}a&&(xe(e,r,o,!1),Fe(e,e.line-l),r=o=e.position,a=!1),se(s)||(o=e.position+1),s=e.input.charCodeAt(++e.position)}return xe(e,r,o,!1),!!e.result||(e.kind=p,e.result=f,!1)}(e,f,z===n)&&(m=!0,null===e.tag&&(e.tag="?")):(m=!0,null===e.tag&&null===e.anchor||we(e,"alias node should not have any properties")),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):0===h&&(m=l&&Me(e,d))),null!==e.tag&&"!"!==e.tag)if("?"===e.tag){for(null!==e.result&&"scalar"!==e.kind&&we(e,'unacceptable node kind for ! tag; it should be "scalar", not "'+e.kind+'"'),c=0,s=e.implicitTypes.length;c tag; it should be "'+p.kind+'", not "'+e.kind+'"'),p.resolve(e.result)?(e.result=p.construct(e.result),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):we(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")):we(e,"unknown tag !<"+e.tag+">");return null!==e.listener&&e.listener("close",e),null!==e.tag||null!==e.anchor||m}function _e(e){var t,n,i,r,o=e.position,a=!1;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap={},e.anchorMap={};0!==(r=e.input.charCodeAt(e.position))&&(Ee(e,!0,-1),r=e.input.charCodeAt(e.position),!(e.lineIndent>0||37!==r));){for(a=!0,r=e.input.charCodeAt(++e.position),t=e.position;0!==r&&!pe(r);)r=e.input.charCodeAt(++e.position);for(i=[],(n=e.input.slice(t,e.position)).length<1&&we(e,"directive name must not be less than one character in length");0!==r;){for(;se(r);)r=e.input.charCodeAt(++e.position);if(35===r){do{r=e.input.charCodeAt(++e.position)}while(0!==r&&!ce(r));break}if(ce(r))break;for(t=e.position;0!==r&&!pe(r);)r=e.input.charCodeAt(++e.position);i.push(e.input.slice(t,e.position))}0!==r&&je(e),Z.call(ke,n)?ke[n](e,n,i):Ce(e,'unknown document directive "'+n+'"')}Ee(e,!0,-1),0===e.lineIndent&&45===e.input.charCodeAt(e.position)&&45===e.input.charCodeAt(e.position+1)&&45===e.input.charCodeAt(e.position+2)?(e.position+=3,Ee(e,!0,-1)):a&&we(e,"directives end mark is expected"),Le(e,e.lineIndent-1,X,!1,!0),Ee(e,!0,-1),e.checkLineBreaks&&re.test(e.input.slice(o,e.position))&&Ce(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&Oe(e)?46===e.input.charCodeAt(e.position)&&(e.position+=3,Ee(e,!0,-1)):e.position0?e.charCodeAt(o-1):null,d=d&&bt(a,l)}else{for(o=0;oi&&" "!==e[f+1],f=o);else if(!At(a))return It;l=o>0?e.charCodeAt(o-1):null,d=d&&bt(a,l)}s=s||p&&o-f-1>i&&" "!==e[f+1]}return c||s?n>9&&wt(e)?It:s?St:xt:d&&!r(e)?Ct:kt}function Et(e,t,n,i){e.dump=function(){if(0===t.length)return"''";if(!e.noCompatMode&&-1!==dt.indexOf(t))return"'"+t+"'";var r=e.indent*Math.max(1,n),o=-1===e.lineWidth?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-r),a=i||e.flowLevel>-1&&n>=e.flowLevel;switch(jt(t,a,e.indent,o,(function(t){return function(e,t){var n,i;for(n=0,i=e.implicitTypes.length;n"+Ot(t,e.indent)+Ft(mt(function(e,t){var n,i,r=/(\n+)([^\n]*)/g,o=(l=e.indexOf("\n"),l=-1!==l?l:e.length,r.lastIndex=l,Mt(e.slice(0,l),t)),a="\n"===e[0]||" "===e[0];var l;for(;i=r.exec(e);){var u=i[1],c=i[2];n=" "===c[0],o+=u+(a||n||""===c?"":"\n")+Mt(c,t),a=n}return o}(t,o),r));case It:return'"'+function(e){for(var t,n,i,r="",o=0;o=55296&&t<=56319&&(n=e.charCodeAt(o+1))>=56320&&n<=57343?(r+=ht(1024*(t-55296)+n-56320+65536),o++):r+=!(i=ft[t])&&At(t)?e[o]:i||ht(t);return r}(t)+'"';default:throw new s("impossible error: invalid scalar style")}}()}function Ot(e,t){var n=wt(e)?String(t):"",i="\n"===e[e.length-1];return n+(i&&("\n"===e[e.length-2]||"\n"===e)?"+":i?"":"-")+"\n"}function Ft(e){return"\n"===e[e.length-1]?e.slice(0,-1):e}function Mt(e,t){if(""===e||" "===e[0])return e;for(var n,i,r=/ [^ ]/g,o=0,a=0,l=0,u="";n=r.exec(e);)(l=n.index)-o>t&&(i=a>o?a:l,u+="\n"+e.slice(o,i),o=i+1),a=l;return u+="\n",e.length-o>t&&a>o?u+=e.slice(o,a)+"\n"+e.slice(a+1):u+=e.slice(o),u.slice(1)}function Nt(e,t,n){var i,r,o,a,l,u;for(o=0,a=(r=n?e.explicitTypes:e.implicitTypes).length;o tag resolver accepts not "'+u+'" style');i=l.represent[u](t,u)}e.dump=i}return!0}return!1}function Tt(e,t,n,i,r,o){e.tag=null,e.dump=n,Nt(e,n,!1)||Nt(e,n,!0);var a=Re.call(e.dump);i&&(i=e.flowLevel<0||e.flowLevel>t);var l,u,c="[object Object]"===a||"[object Array]"===a;if(c&&(u=-1!==(l=e.duplicates.indexOf(n))),(null!==e.tag&&"?"!==e.tag||u||2!==e.indent&&t>0)&&(r=!1),u&&e.usedDuplicates[l])e.dump="*ref_"+l;else{if(c&&u&&!e.usedDuplicates[l]&&(e.usedDuplicates[l]=!0),"[object Object]"===a)i&&0!==Object.keys(e.dump).length?(!function(e,t,n,i){var r,o,a,l,u,c,p="",f=e.tag,d=Object.keys(n);if(!0===e.sortKeys)d.sort();else if("function"==typeof e.sortKeys)d.sort(e.sortKeys);else if(e.sortKeys)throw new s("sortKeys must be a boolean or a function");for(r=0,o=d.length;r1024)&&(e.dump&&Be===e.dump.charCodeAt(0)?c+="?":c+="? "),c+=e.dump,u&&(c+=yt(e,t)),Tt(e,t+1,l,!0,u)&&(e.dump&&Be===e.dump.charCodeAt(0)?c+=":":c+=": ",p+=c+=e.dump));e.tag=f,e.dump=p||"{}"}(e,t,e.dump,r),u&&(e.dump="&ref_"+l+e.dump)):(!function(e,t,n){var i,r,o,a,l,u="",c=e.tag,s=Object.keys(n);for(i=0,r=s.length;i1024&&(l+="? "),l+=e.dump+(e.condenseFlow?'"':"")+":"+(e.condenseFlow?"":" "),Tt(e,t,a,!1,!1)&&(u+=l+=e.dump));e.tag=c,e.dump="{"+u+"}"}(e,t,e.dump),u&&(e.dump="&ref_"+l+" "+e.dump));else if("[object Array]"===a){var p=e.noArrayIndent&&t>0?t-1:t;i&&0!==e.dump.length?(!function(e,t,n,i){var r,o,a="",l=e.tag;for(r=0,o=n.length;r "+e.dump)}return!0}function Lt(e,t){var n,i,r=[],o=[];for(_t(e,r,o),n=0,i=o.length;n=0;--a){var o=this.tryEntries[a],l=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var u=r.call(o,"catchLoc"),s=r.call(o,"finallyLoc");if(u&&s){if(this.prev=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),_(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;_(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:I(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),m}},t}function I(e){return I="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},I(e)}function M(e,t,n,r,i,a,o){try{var l=e[a](o),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,i)}function B(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var a=e.apply(t,n);function o(e){M(a,r,i,o,l,"next",e)}function l(e){M(a,r,i,o,l,"throw",e)}o(void 0)}))}}function T(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function C(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,a,o,l=[],u=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);u=!0);}catch(e){s=!0,i=e}finally{try{if(!u&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(s)throw i}}return l}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return U(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return U(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function U(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0||"array"===this.type&&this.modelValue.length>0?this.modelData=JSON.parse(JSON.stringify(this.modelValue)):"boolean"===this.type&&null!==this.modelValue||"string"===this.type||"number"===this.type||"integer"===this.type?this.modelData=this.modelValue:this.modelData=this.initWithBlank():this.modelData=this.initWithBlank()},initWithBlank:function(){return"object"===this.type||"key-value-pairs"===this.type?{}:"array"===this.type?[]:"boolean"!==this.type&&("number"===this.type||"integer"===this.type?null:"")},clean:function(e){if("object"===this.type||"key-value-pairs"===this.type)Object.keys(e).forEach((function(t){var n="";void 0!==(n="string"!=typeof e[t]?JSON.stringify(e[t]):e[t])&&"null"!==n&&""!==n&&"{}"!==n&&"[]"!==n||delete e[t]}));else if("array"===this.type){e.map((function(e,t){return{item:e,idx:t}})).filter((function(e){var t=e.item,n="";return void 0===(n="string"!=typeof t?JSON.stringify(t):t)||"null"===n||""===n||"{}"===n||"[]"===n})).map((function(e){return e.idx})).forEach((function(t){return e.splice(t,1)}))}}}}),R=e({name:"VueOpenapiForm",components:{AcForm:t((function(){return import("./Form-75fe67e1.js")})),FormFooterControl:t((function(){return import("./FormFooterControl-eec1f0a9.js")}))},mixins:[L,D],provide:function(){var e=this,t={};return Object.defineProperty(t,"theme",{enumerable:!0,get:function(){return e.themeMode}}),{providedData:t}},props:{schema:{type:Object,default:function(){return{}}},modelValue:{type:Object,default:function(){return{}}},formTitle:{type:String,default:""},onlyJson:{type:Boolean,default:!1},size:{type:String,default:"small"},themeMode:{type:String,default:"light"}},computed:{extendedSchema:function(){return $(this.schema,this.formTitle)}}}); -/** - * vee-validate v4.11.8 - * (c) 2023 Abdelrahman Awad - * @license MIT - */ -function z(e){return"function"==typeof e}function q(e){return null==e}R.render=function(e,t,c,d,f,v){var p=n("object-form-wrapper"),h=n("v-field"),m=n("form-footer-control"),y=n("ac-form"),g=n("v-form");return r(),i(g,{ref:"v-form",as:""},{default:a((function(n){var r=n.meta,i=n.validate,c=n.errors;return[o(y,null,{"form-left-controls":a((function(){return[o(m,null,{default:a((function(){return[l(e.$slots,"left-controls",{validate:i,formStatus:r,errors:c})]})),_:2},1024)]})),"form-right-controls":a((function(){return[o(m,null,{default:a((function(){return[l(e.$slots,"right-controls",{validate:i,formStatus:r,errors:c})]})),_:2},1024)]})),default:a((function(){return[u("div",{class:s(["vue-openapi-form pl-20",{"is-medium":"medium"===e.size}])},[o(h,{modelValue:e.modelData,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.modelData=t}),name:e.extendedSchema.title,label:e.extendedSchema.title,rules:e.ruleObject(!0),as:""},{default:a((function(t){var n=t.field,r=t.handleChange;return[o(p,{"field-name":"$","model-value":n.value,"expand-form":!0,"is-root":!0,level:1,"is-self-required":!0,"only-json":e.onlyJson,schema:e.extendedSchema,"reference-model":e.referenceModel||{},errors:c,"onUpdate:modelValue":r},null,8,["model-value","only-json","schema","reference-model","errors","onUpdate:modelValue"])]})),_:2},1032,["modelValue","name","label","rules"])],2)]})),_:2},1024)]})),_:3},512)};const W=e=>null!==e&&!!e&&"object"==typeof e&&!Array.isArray(e);function G(e){return Number(e)>=0}function J(e){if(!function(e){return"object"==typeof e&&null!==e}(e)||"[object Object]"!==function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}(e))return!1;if(null===Object.getPrototypeOf(e))return!0;let t=e;for(;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function K(e,t){return Object.keys(t).forEach((n=>{if(J(t[n]))return e[n]||(e[n]={}),void K(e[n],t[n]);e[n]=t[n]})),e}function Z(e){const t=e.split(".");if(!t.length)return"";let n=String(t[0]);for(let e=1;e{return(W(r=e)||Array.isArray(r))&&t in e?e[t]:n;var r}),e)}function ge(e,t,n){if(ue(t))return void(e[me(t)]=n);const r=t.split(/\.|\[(\d+)\]/).filter(Boolean);let i=e;for(let e=0;eye(e,n.slice(0,r).join("."))));for(let t=i.length-1;t>=0;t--)a=i[t],(Array.isArray(a)?0===a.length:W(a)&&0===Object.keys(a).length)&&(0!==t?be(i[t-1],n[t-1]):be(e,n[0]));var a}function je(e){return Object.keys(e)}function Ve(e,t=void 0){const n=p();return(null==n?void 0:n.provides[e])||A(e,t)}function Se(e,t,n){if(Array.isArray(e)){const n=[...e],r=n.findIndex((e=>pe(e,t)));return r>=0?n.splice(r,1):n.push(t),n}return pe(e,t)?n:t}function Ae(e,t=0){let n=null,r=[];return function(...i){return n&&clearTimeout(n),n=setTimeout((()=>{const t=e(...i);r.forEach((e=>e(t))),r=[]}),t),new Promise((e=>r.push(e)))}}function we(e,t){return W(t)&&t.number?function(e){const t=parseFloat(e);return isNaN(t)?e:t}(e):e}function Fe(e,t){let n;return async function(...r){const i=e(...r);n=i;const a=await i;return i!==n||(n=void 0,t(a,r)),a}}function Ee({get:e,set:t}){const n=b(Q(e()));return y(e,(e=>{pe(e,n.value)||(n.value=Q(e))}),{deep:!0}),y(n,(n=>{pe(n,e())||t(Q(n))}),{deep:!0}),n}function ke(e){return Array.isArray(e)?e:e?[e]:[]}function _e(e){const t=Ve(ee),n=e?c((()=>null==t?void 0:t.getPathState(d(e)))):void 0,r=e?void 0:A(te);return!r&&(null==n||n.value),n||r}function xe(e,t){const n={};for(const r in e)t.includes(r)||(n[r]=e[r]);return n}function Pe(e,t,n){return t.slots.default?"string"!=typeof e&&e?{default:()=>{var e,r;return null===(r=(e=t.slots).default)||void 0===r?void 0:r.call(e,n())}}:t.slots.default(n()):t.slots.default}function Ie(e){if(Me(e))return e._value}function Me(e){return"_value"in e}function Be(e){if(!fe(e))return e;const t=e.target;if(le(t.type)&&Me(t))return Ie(t);if("file"===t.type&&t.files){const e=Array.from(t.files);return t.multiple?e:e[0]}if(se(n=t)&&n.multiple)return Array.from(t.options).filter((e=>e.selected&&!e.disabled)).map(Ie);var n;if(se(t)){const e=Array.from(t.options).find((e=>e.selected));return e?Ie(e):t.value}return function(e){return"number"===e.type||"range"===e.type?Number.isNaN(e.valueAsNumber)?e.value:e.valueAsNumber:e.value}(t)}function Te(e){const t={};return Object.defineProperty(t,"_$$isNormalized",{value:!0,writable:!1,enumerable:!1,configurable:!1}),e?W(e)&&e._$$isNormalized?e:W(e)?Object.keys(e).reduce(((t,n)=>{const r=function(e){if(!0===e)return[];if(Array.isArray(e))return e;if(W(e))return e;return[e]}(e[n]);return!1!==e[n]&&(t[n]=Ce(r)),t}),t):"string"!=typeof e?t:e.split("|").reduce(((e,t)=>{const n=Ue(t);return n.name?(e[n.name]=Ce(n.params),e):e}),t):t}function Ce(e){const t=e=>"string"==typeof e&&"@"===e[0]?function(e){const t=t=>ye(t,e)||t[e];return t.__locatorRef=e,t}(e.slice(1)):e;return Array.isArray(e)?e.map(t):e instanceof RegExp?[e]:Object.keys(e).reduce(((n,r)=>(n[r]=t(e[r]),n)),{})}const Ue=e=>{let t=[];const n=e.split(":")[0];return e.includes(":")&&(t=e.split(":").slice(1).join(":").split(",")),{name:n,params:t}};let Ne=Object.assign({},{generateMessage:({field:e})=>`${e} is not valid.`,bails:!0,validateOnBlur:!0,validateOnChange:!0,validateOnInput:!1,validateOnModelUpdate:!0});const $e=()=>Ne,De=e=>{Ne=Object.assign(Object.assign({},Ne),e)};async function Le(e,t,n={}){const r=null==n?void 0:n.bails,i={name:(null==n?void 0:n.name)||"{field}",rules:t,label:null==n?void 0:n.label,bails:null==r||r,formData:(null==n?void 0:n.values)||{}},a=await async function(e,t){if(ae(e.rules)||oe(e.rules))return async function(e,t){const n=ae(t)?t:Re(t),r=await n.parse(e),i=[];for(const e of r.errors)e.errors.length&&i.push(...e.errors);return{errors:i}}(t,e.rules);if(z(e.rules)||Array.isArray(e.rules)){const n={field:e.label||e.name,name:e.name,label:e.label,form:e.formData,value:t},r=Array.isArray(e.rules)?e.rules:[e.rules],i=r.length,a=[];for(let o=0;o{const n=t.path||"";return e[n]||(e[n]={errors:[],path:n}),e[n].errors.push(...t.errors),e}),{});return{errors:Object.values(t)}}}}}async function ze(e,t,n){const r=(i=n.name,Y[i]);var i;if(!r)throw new Error(`No such validator '${n.name}' exists.`);const a=function(e,t){const n=e=>ie(e)?e(t):e;if(Array.isArray(e))return e.map(n);return Object.keys(e).reduce(((t,r)=>(t[r]=n(e[r]),t)),{})}(n.params,e.formData),o={field:e.label||e.name,name:e.name,label:e.label,value:t,form:e.formData,rule:Object.assign(Object.assign({},n),{params:a})},l=await r(t,a,o);return"string"==typeof l?{error:l}:{error:l?void 0:qe(o)}}function qe(e){const t=$e().generateMessage;return t?t(e):"Field is invalid"}async function We(e,t,n){const r=je(e).map((async r=>{var i,a,o;const l=null===(i=null==n?void 0:n.names)||void 0===i?void 0:i[r],u=await Le(ye(t,r),e[r],{name:(null==l?void 0:l.name)||r,label:null==l?void 0:l.label,values:t,bails:null===(o=null===(a=null==n?void 0:n.bailsMap)||void 0===a?void 0:a[r])||void 0===o||o});return Object.assign(Object.assign({},u),{path:r})}));let i=!0;const a=await Promise.all(r),o={},l={};for(const e of a)o[e.path]={valid:e.valid,errors:e.errors},e.valid||(i=!1,l[e.path]=e.errors[0]);return{valid:i,results:o,errors:l}}let Ge=0;function Je(e,t){const{value:n,initialValue:r,setInitialValue:i}=function(e,t,n){const r=b(f(t));function i(){return n?ye(n.initialValues.value,f(e),f(r)):f(r)}function a(t){n?n.stageInitialValue(f(e),t,!0):r.value=t}const o=c(i);if(!n){return{value:b(i()),initialValue:o,setInitialValue:a}}const l=function(e,t,n,r){if(m(e))return f(e);if(void 0!==e)return e;return ye(t.values,f(r),f(n))}(t,n,o,e);n.stageInitialValue(f(e),l,!0);const u=c({get:()=>ye(n.values,f(e)),set(t){n.setFieldValue(f(e),t,!1)}});return{value:u,initialValue:o,setInitialValue:a}}(e,t.modelValue,t.form);if(!t.form){const{errors:l,setErrors:u}=function(){const e=b([]);return{errors:e,setErrors:t=>{e.value=ke(t)}}}(),s=Ge>=Number.MAX_SAFE_INTEGER?0:++Ge,d=function(e,t,n){const r=O({touched:!1,pending:!1,valid:!0,validated:!!f(n).length,initialValue:c((()=>f(t))),dirty:c((()=>!pe(f(e),f(t))))});return y(n,(e=>{r.valid=!e.length}),{immediate:!0,flush:"sync"}),r}(n,r,l);function v(e){var t;"value"in e&&(n.value=e.value),"errors"in e&&u(e.errors),"touched"in e&&(d.touched=null!==(t=e.touched)&&void 0!==t?t:d.touched),"initialValue"in e&&i(e.initialValue)}return{id:s,path:e,value:n,initialValue:r,meta:d,flags:{pendingUnmount:{[s]:!1},pendingReset:!1},errors:l,setState:v}}const a=t.form.createPathState(e,{bails:t.bails,label:t.label,type:t.type,validate:t.validate}),o=c((()=>a.errors));return{id:Array.isArray(a.id)?a.id[a.id.length-1]:a.id,path:e,value:n,errors:o,meta:a,initialValue:r,flags:a.__flags,setState:function(r){var a,o,l;"value"in r&&(n.value=r.value),"errors"in r&&(null===(a=t.form)||void 0===a||a.setFieldError(f(e),r.errors)),"touched"in r&&(null===(o=t.form)||void 0===o||o.setFieldTouched(f(e),null!==(l=r.touched)&&void 0!==l&&l)),"initialValue"in r&&i(r.initialValue)}}}function Ke(e,t,n){return le(null==n?void 0:n.type)?function(e,t,n){const r=(null==n?void 0:n.standalone)?void 0:Ve(ee),i=null==n?void 0:n.checkedValue,a=null==n?void 0:n.uncheckedValue;function o(t){const o=t.handleChange,l=c((()=>{const e=d(t.value),n=d(i);return Array.isArray(e)?e.findIndex((e=>pe(e,n)))>=0:pe(n,e)}));function u(u,s=!0){var c,f;if(l.value===(null===(c=null==u?void 0:u.target)||void 0===c?void 0:c.checked))return void(s&&t.validate());const v=d(e),p=null==r?void 0:r.getPathState(v),h=Be(u);let m=null!==(f=d(i))&&void 0!==f?f:h;r&&(null==p?void 0:p.multiple)&&"checkbox"===p.type?m=Se(ye(r.values,v)||[],m,void 0):"checkbox"===(null==n?void 0:n.type)&&(m=Se(d(t.value),m,d(a))),o(m,s)}return Object.assign(Object.assign({},t),{checked:l,checkedValue:i,uncheckedValue:a,handleChange:u})}return o(Ze(e,t,n))}(e,t,n):Ze(e,t,n)}function Ze(e,t,n){const{initialValue:r,validateOnMount:i,bails:a,type:o,checkedValue:l,label:u,validateOnValueUpdate:s,uncheckedValue:b,controlled:O,keepValueOnUnmount:j,syncVModel:V,form:S}=function(e){const t=()=>({initialValue:void 0,validateOnMount:!1,bails:!0,label:void 0,validateOnValueUpdate:!0,keepValueOnUnmount:void 0,syncVModel:!1,controlled:!0}),n=!!(null==e?void 0:e.syncVModel),r="string"==typeof(null==e?void 0:e.syncVModel)?e.syncVModel:(null==e?void 0:e.modelPropName)||"modelValue",i=n&&!("initialValue"in(e||{}))?Ye(p(),r):null==e?void 0:e.initialValue;if(!e)return Object.assign(Object.assign({},t()),{initialValue:i});const a="valueProp"in e?e.valueProp:e.checkedValue,o="standalone"in e?!e.standalone:e.controlled,l=(null==e?void 0:e.modelPropName)||(null==e?void 0:e.syncVModel)||!1;return Object.assign(Object.assign(Object.assign({},t()),e||{}),{initialValue:i,controlled:null==o||o,checkedValue:a,syncVModel:l})}(n),A=O?Ve(ee):void 0,w=S||A,F=c((()=>Z(d(e)))),E=c((()=>{if(d(null==w?void 0:w.schema))return;const e=f(t);return oe(e)||ae(e)||z(e)||Array.isArray(e)?e:Te(e)})),{id:k,value:_,initialValue:x,meta:P,setState:I,errors:M,flags:B}=Je(F,{modelValue:r,form:w,bails:a,label:u,type:o,validate:E.value?$:void 0}),T=c((()=>M.value[0]));V&&function({prop:e,value:t,handleChange:n,shouldValidate:r}){const i=p();if(!i||!e)return;const a="string"==typeof e?e:"modelValue",o=`update:${a}`;if(!(a in i.props))return;y(t,(e=>{pe(e,Ye(i,a))||i.emit(o,e)})),y((()=>Ye(i,a)),(e=>{if(e===ne&&void 0===t.value)return;const i=e===ne?void 0:e;pe(i,t.value)||n(i,r())}))}({value:_,prop:V,handleChange:D,shouldValidate:()=>s&&!B.pendingReset});async function C(e){var t,n;return(null==w?void 0:w.validateSchema)?null!==(t=(await w.validateSchema(e)).results[d(F)])&&void 0!==t?t:{valid:!0,errors:[]}:E.value?Le(_.value,E.value,{name:d(F),label:d(u),values:null!==(n=null==w?void 0:w.values)&&void 0!==n?n:{},bails:a}):{valid:!0,errors:[]}}const U=Fe((async()=>(P.pending=!0,P.validated=!0,C("validated-only"))),(e=>{if(!B.pendingUnmount[G.id])return I({errors:e.errors}),P.pending=!1,P.valid=e.valid,e})),N=Fe((async()=>C("silent")),(e=>(P.valid=e.valid,e)));function $(e){return"silent"===(null==e?void 0:e.mode)?N():U()}function D(e,t=!0){q(Be(e),t)}function L(e){var t;const n=e&&"value"in e?e.value:x.value;I({value:Q(n),initialValue:Q(n),touched:null!==(t=null==e?void 0:e.touched)&&void 0!==t&&t,errors:(null==e?void 0:e.errors)||[]}),P.pending=!1,P.validated=!1,N()}v((()=>{if(i)return U();w&&w.validateSchema||N()}));const R=p();function q(e,t=!0){_.value=R&&V?we(e,R.props.modelModifiers):e;(t?U:N)()}const W=c({get:()=>_.value,set(e){q(e,s)}}),G={id:k,name:F,label:u,value:W,meta:P,errors:M,errorMessage:T,type:o,checkedValue:l,uncheckedValue:b,bails:a,keepValueOnUnmount:j,resetField:L,handleReset:()=>L(),validate:$,handleChange:D,handleBlur:(e,t=!1)=>{P.touched=!0,t&&U()},setState:I,setTouched:function(e){P.touched=e},setErrors:function(e){I({errors:Array.isArray(e)?e:[e]})},setValue:q};if(h(te,G),m(t)&&"function"!=typeof f(t)&&y(t,((e,t)=>{pe(e,t)||(P.validated?U():N())}),{deep:!0}),!w)return G;const J=c((()=>{const e=E.value;return!e||z(e)||oe(e)||ae(e)||Array.isArray(e)?{}:Object.keys(e).reduce(((t,n)=>{const r=(i=e[n],Array.isArray(i)?i.filter(ie):je(i).filter((e=>ie(i[e]))).map((e=>i[e]))).map((e=>e.__locatorRef)).reduce(((e,t)=>{const n=ye(w.values,t)||w.values[t];return void 0!==n&&(e[t]=n),e}),{});var i;return Object.assign(t,r),t}),{})}));return y(J,((e,t)=>{if(!Object.keys(e).length)return;!pe(e,t)&&(P.validated?U():N())})),g((()=>{var e;const t=null!==(e=d(G.keepValueOnUnmount))&&void 0!==e?e:d(w.keepValuesOnUnmount),n=d(F);if(t||!w||B.pendingUnmount[G.id])return void(null==w||w.removePathState(n,k));B.pendingUnmount[G.id]=!0;const r=w.getPathState(n);if(Array.isArray(null==r?void 0:r.id)&&(null==r?void 0:r.multiple)?null==r?void 0:r.id.includes(G.id):(null==r?void 0:r.id)===G.id){if((null==r?void 0:r.multiple)&&Array.isArray(r.value)){const e=r.value.findIndex((e=>pe(e,d(G.checkedValue))));if(e>-1){const t=[...r.value];t.splice(e,1),w.setFieldValue(n,t)}Array.isArray(r.id)&&r.id.splice(r.id.indexOf(G.id),1)}else w.unsetPathValue(d(F));w.removePathState(n,k)}})),G}function Ye(e,t){if(e)return e.props[t]}function Xe(e,t){let n=e.as||"";return e.as||t.slots.default||(n="input"),n}function He(e,t){return le(t.attrs.type)?ve(e,"modelValue")?e.modelValue:void 0:ve(e,"modelValue")?e.modelValue:t.attrs.value}const Qe=e({name:"Field",inheritAttrs:!1,props:{as:{type:[String,Object],default:void 0},name:{type:String,required:!0},rules:{type:[Object,String,Function],default:void 0},validateOnMount:{type:Boolean,default:!1},validateOnBlur:{type:Boolean,default:void 0},validateOnChange:{type:Boolean,default:void 0},validateOnInput:{type:Boolean,default:void 0},validateOnModelUpdate:{type:Boolean,default:void 0},bails:{type:Boolean,default:()=>$e().bails},label:{type:String,default:void 0},uncheckedValue:{type:null,default:void 0},modelValue:{type:null,default:ne},modelModifiers:{type:null,default:()=>({})},"onUpdate:modelValue":{type:null,default:void 0},standalone:{type:Boolean,default:!1},keepValue:{type:Boolean,default:void 0}},setup(e,t){const n=w(e,"rules"),r=w(e,"name"),i=w(e,"label"),a=w(e,"uncheckedValue"),o=w(e,"keepValue"),{errors:l,value:u,errorMessage:s,validate:d,handleChange:f,handleBlur:v,setTouched:p,resetField:h,handleReset:m,meta:y,checked:g,setErrors:b}=Ke(r,n,{validateOnMount:e.validateOnMount,bails:e.bails,standalone:e.standalone,type:t.attrs.type,initialValue:He(e,t),checkedValue:t.attrs.value,uncheckedValue:a,label:i,validateOnValueUpdate:e.validateOnModelUpdate,keepValueOnUnmount:o,syncVModel:!0}),O=function(e,t=!0){f(e,t)},j=c((()=>{const{validateOnInput:n,validateOnChange:r,validateOnBlur:i,validateOnModelUpdate:a}=function(e){var t,n,r,i;const{validateOnInput:a,validateOnChange:o,validateOnBlur:l,validateOnModelUpdate:u}=$e();return{validateOnInput:null!==(t=e.validateOnInput)&&void 0!==t?t:a,validateOnChange:null!==(n=e.validateOnChange)&&void 0!==n?n:o,validateOnBlur:null!==(r=e.validateOnBlur)&&void 0!==r?r:l,validateOnModelUpdate:null!==(i=e.validateOnModelUpdate)&&void 0!==i?i:u}}(e);const o={name:e.name,onBlur:function(e){v(e,i),z(t.attrs.onBlur)&&t.attrs.onBlur(e)},onInput:function(e){O(e,n),z(t.attrs.onInput)&&t.attrs.onInput(e)},onChange:function(e){O(e,r),z(t.attrs.onChange)&&t.attrs.onChange(e)},"onUpdate:modelValue":e=>O(e,a)};return o})),V=c((()=>{const n=Object.assign({},j.value);le(t.attrs.type)&&g&&(n.checked=g.value);return ce(Xe(e,t),t.attrs)&&(n.value=u.value),n})),S=c((()=>Object.assign(Object.assign({},j.value),{modelValue:u.value})));function A(){return{field:V.value,componentField:S.value,value:u.value,meta:y,errors:l.value,errorMessage:s.value,validate:d,resetField:h,handleChange:O,handleInput:e=>O(e,!1),handleReset:m,handleBlur:j.value.onBlur,setTouched:p,setErrors:b}}return t.expose({setErrors:b,setTouched:p,reset:h,validate:d,handleChange:f}),()=>{const n=F(Xe(e,t)),r=Pe(n,t,A);return n?E(n,Object.assign(Object.assign({},t.attrs),V.value),r):r}}});let et=0;const tt=["bails","fieldsCount","id","multiple","type","validate"];function nt(e){const t=f(null==e?void 0:e.initialValues)||{},n=f(null==e?void 0:e.validationSchema);return n&&ae(n)&&z(n.cast)?Q(n.cast(t)||{}):Q(t)}function rt(e){var t;const n=et++;let r=0;const i=b(!1),a=b(!1),o=b(0),l=[],u=O(nt(e)),s=b([]),p=b({}),g=b({}),A=function(e){let t=null,n=[];return function(...r){const i=j((()=>{if(t!==i)return;const a=e(...r);n.forEach((e=>e(a))),n=[],t=null}));return t=i,new Promise((e=>n.push(e)))}}((()=>{g.value=s.value.reduce(((e,t)=>(e[Z(d(t.path))]=t,e)),{})}));function w(e,t){const n=G(e);if(n){if("string"==typeof e){const t=Z(e);p.value[t]&&delete p.value[t]}n.errors=ke(t),n.valid=!n.errors.length}else"string"==typeof e&&(p.value[Z(e)]=ke(t))}function F(e){je(e).forEach((t=>{w(t,e[t])}))}(null==e?void 0:e.initialErrors)&&F(e.initialErrors);const E=c((()=>{const e=s.value.reduce(((e,t)=>(t.errors.length&&(e[t.path]=t.errors),e)),{});return Object.assign(Object.assign({},p.value),e)})),_=c((()=>je(E.value).reduce(((e,t)=>{const n=E.value[t];return(null==n?void 0:n.length)&&(e[t]=n[0]),e}),{}))),x=c((()=>s.value.reduce(((e,t)=>(e[t.path]={name:t.path||"",label:t.label||""},e)),{}))),P=c((()=>s.value.reduce(((e,t)=>{var n;return e[t.path]=null===(n=t.bails)||void 0===n||n,e}),{}))),I=Object.assign({},(null==e?void 0:e.initialErrors)||{}),M=null!==(t=null==e?void 0:e.keepValuesOnUnmount)&&void 0!==t&&t,{initialValues:B,originalInitialValues:T,setInitialValues:C}=function(e,t,n){const r=nt(n),i=null==n?void 0:n.initialValues,a=b(r),o=b(Q(r));function l(n,r=!1){a.value=K(Q(a.value)||{},Q(n)),o.value=K(Q(o.value)||{},Q(n)),r&&e.value.forEach((e=>{if(e.touched)return;const n=ye(a.value,e.path);ge(t,e.path,Q(n))}))}m(i)&&y(i,(e=>{e&&l(e,!0)}),{deep:!0});return{initialValues:a,originalInitialValues:o,setInitialValues:l}}(s,u,e),U=function(e,t,n,r){const i={touched:"some",pending:"some",valid:"every"},a=c((()=>!pe(t,f(n))));function o(){const t=e.value;return je(i).reduce(((e,n)=>{const r=i[n];return e[n]=t[r]((e=>e[n])),e}),{})}const l=O(o());return S((()=>{const e=o();l.touched=e.touched,l.valid=e.valid,l.pending=e.pending})),c((()=>Object.assign(Object.assign({initialValues:f(n)},l),{valid:l.valid&&!je(r.value).length,dirty:a.value})))}(s,u,T,_),N=c((()=>s.value.reduce(((e,t)=>{const n=ye(u,t.path);return ge(e,t.path,n),e}),{}))),$=null==e?void 0:e.validationSchema;function D(e,t){var n,i;const a=c((()=>ye(B.value,d(e)))),o=g.value[d(e)];if(o){"checkbox"!==(null==t?void 0:t.type)&&"radio"!==(null==t?void 0:t.type)||(o.multiple=!0);const e=r++;return Array.isArray(o.id)?o.id.push(e):o.id=[o.id,e],o.fieldsCount++,o.__flags.pendingUnmount[e]=!1,o}const l=c((()=>ye(u,d(e)))),v=d(e),p=r++,h=O({id:p,path:e,touched:!1,pending:!1,valid:!0,validated:!!(null===(n=I[v])||void 0===n?void 0:n.length),initialValue:a,errors:k([]),bails:null!==(i=null==t?void 0:t.bails)&&void 0!==i&&i,label:null==t?void 0:t.label,type:(null==t?void 0:t.type)||"default",value:l,multiple:!1,__flags:{pendingUnmount:{[p]:!1},pendingReset:!1},fieldsCount:1,validate:null==t?void 0:t.validate,dirty:c((()=>!pe(f(l),f(a))))});return s.value.push(h),g.value[v]=h,A(),_.value[v]&&!I[v]&&j((()=>{ve(v,{mode:"silent"})})),m(e)&&y(e,(e=>{A();const t=Q(l.value);g.value[e]=h,j((()=>{ge(u,e,t)}))})),h}const L=Ae(be,5),R=Ae(be,5),q=Fe((async e=>"silent"===await e?L():R()),((e,[t])=>{const n=je(te.errorBag.value);return[...new Set([...je(e.results),...s.value.map((e=>e.path)),...n])].sort().reduce(((n,r)=>{const i=r,a=G(i)||function(e){const t=s.value.filter((t=>e.startsWith(t.path)));return t.reduce(((e,t)=>e?t.path.length>e.path.length?t:e:t),void 0)}(i),o=(e.results[i]||{errors:[]}).errors,l={errors:o,valid:!o.length};return n.results[i]=l,l.valid||(n.errors[i]=l.errors[0]),a&&p.value[i]&&delete p.value[i],a?(a.valid=l.valid,"silent"===t?n:"validated-only"!==t||a.validated?(w(a,l.errors),n):n):(w(i,o),n)}),{valid:e.valid,results:{},errors:{}})}));function W(e){s.value.forEach(e)}function G(e){const t="string"==typeof e?Z(e):e;return"string"==typeof t?g.value[t]:t}let J,Y=[];function X(e){return function(t,n){return function(r){return r instanceof Event&&(r.preventDefault(),r.stopPropagation()),W((e=>e.touched=!0)),i.value=!0,o.value++,fe().then((i=>{const a=Q(u);if(i.valid&&"function"==typeof t){const n=Q(N.value);let o=e?n:a;return i.values&&(o=i.values),t(o,{evt:r,controlledValues:n,setErrors:F,setFieldError:w,setTouched:ue,setFieldTouched:le,setValues:re,setFieldValue:ne,resetForm:ce,resetField:se})}i.valid||"function"!=typeof n||n({values:a,evt:r,errors:i.errors,results:i.results})})).then((e=>(i.value=!1,e)),(e=>{throw i.value=!1,e}))}}}const H=X(!1);H.withControlled=X(!0);const te={formId:n,values:u,controlledValues:N,errorBag:E,errors:_,schema:$,submitCount:o,meta:U,isSubmitting:i,isValidating:a,fieldArrays:l,keepValuesOnUnmount:M,validateSchema:f($)?q:void 0,validate:fe,setFieldError:w,validateField:ve,setFieldValue:ne,setValues:re,setErrors:F,setFieldTouched:le,setTouched:ue,resetForm:ce,resetField:se,handleSubmit:H,stageInitialValue:function(t,n,r=!1){me(t,n),ge(u,t,n),r&&!(null==e?void 0:e.initialValues)&&ge(T.value,t,Q(n))},unsetInitialValue:he,setFieldInitialValue:me,useFieldModel:function(e){if(!Array.isArray(e))return ie(e);return e.map(ie)},createPathState:D,getPathState:G,unsetPathValue:function(e){return Y.push(e),J||(J=j((()=>{[...Y].sort().reverse().forEach((e=>{Oe(u,e)})),Y=[],J=null}))),J},removePathState:function(e,t){const n=s.value.findIndex((t=>t.path===e)),r=s.value[n];if(-1!==n&&r){if(j((()=>{ve(e,{mode:"silent",warn:!1})})),r.multiple&&r.fieldsCount&&r.fieldsCount--,Array.isArray(r.id)){const e=r.id.indexOf(t);e>=0&&r.id.splice(e,1),delete r.__flags.pendingUnmount[t]}(!r.multiple||r.fieldsCount<=0)&&(s.value.splice(n,1),he(e),A(),delete g.value[e])}},initialValues:B,getAllPathStates:()=>s.value,markForUnmount:function(e){return W((t=>{t.path.startsWith(e)&&je(t.__flags.pendingUnmount).forEach((e=>{t.__flags.pendingUnmount[e]=!0}))}))},isFieldTouched:function(e){var t;return!!(null===(t=G(e))||void 0===t?void 0:t.touched)},isFieldDirty:function(e){var t;return!!(null===(t=G(e))||void 0===t?void 0:t.dirty)},isFieldValid:function(e){var t;return!!(null===(t=G(e))||void 0===t?void 0:t.valid)}};function ne(e,t,n=!0){const r=Q(t),i="string"==typeof e?e:e.path;G(i)||D(i),ge(u,i,r),n&&ve(i)}function re(e,t=!0){K(u,e),l.forEach((e=>e&&e.reset())),t&&fe()}function ie(e){const t=G(f(e))||D(e);return c({get:()=>t.value,set(n){const r=f(e);ne(r,n,!1),t.validated=!0,t.pending=!0,ve(r).then((()=>{t.pending=!1}))}})}function le(e,t){const n=G(e);n&&(n.touched=t)}function ue(e){"boolean"!=typeof e?je(e).forEach((t=>{le(t,!!e[t])})):W((t=>{t.touched=e}))}function se(e,t){var n;const r=t&&"value"in t?t.value:ye(B.value,e),i=G(e);i&&(i.__flags.pendingReset=!0),me(e,Q(r)),ne(e,r,!1),le(e,null!==(n=null==t?void 0:t.touched)&&void 0!==n&&n),w(e,(null==t?void 0:t.errors)||[]),j((()=>{i&&(i.__flags.pendingReset=!1)}))}function ce(e,t){let n=(null==e?void 0:e.values)?e.values:T.value;n=ae($)&&z($.cast)?$.cast(n):n,C(n),W((t=>{var r;t.__flags.pendingReset=!0,t.validated=!1,t.touched=(null===(r=null==e?void 0:e.touched)||void 0===r?void 0:r[t.path])||!1,ne(t.path,ye(n,t.path),!1),w(t.path,void 0)})),(null==t?void 0:t.force)?function(e,t=!0){je(u).forEach((e=>{delete u[e]})),je(e).forEach((t=>{ne(t,e[t],!1)})),t&&fe()}(n,!1):re(n,!1),F((null==e?void 0:e.errors)||{}),o.value=(null==e?void 0:e.submitCount)||0,j((()=>{fe({mode:"silent"}),W((e=>{e.__flags.pendingReset=!1}))}))}async function fe(e){const t=(null==e?void 0:e.mode)||"force";if("force"===t&&W((e=>e.validated=!0)),te.validateSchema)return te.validateSchema(t);a.value=!0;const n=await Promise.all(s.value.map((t=>t.validate?t.validate(e).then((e=>({key:t.path,valid:e.valid,errors:e.errors}))):Promise.resolve({key:t.path,valid:!0,errors:[]}))));a.value=!1;const r={},i={};for(const e of n)r[e.key]={valid:e.valid,errors:e.errors},e.errors.length&&(i[e.key]=e.errors[0]);return{valid:n.every((e=>e.valid)),results:r,errors:i}}async function ve(e,t){const n=G(e);if(n&&"silent"!==(null==t?void 0:t.mode)&&(n.validated=!0),$){const{results:n}=await q((null==t?void 0:t.mode)||"validated-only");return n[e]||{errors:[],valid:!0}}return(null==n?void 0:n.validate)?n.validate(t):(!n&&(null==t?void 0:t.warn),Promise.resolve({errors:[],valid:!0}))}function he(e){Oe(B.value,e)}function me(e,t){ge(B.value,e,Q(t))}async function be(){const e=f($);if(!e)return{valid:!0,results:{},errors:{}};a.value=!0;const t=oe(e)||ae(e)?await async function(e,t){const n=ae(e)?e:Re(e),r=await n.parse(Q(t)),i={},a={};for(const e of r.errors){const t=e.errors,n=(e.path||"").replace(/\["(\d+)"\]/g,((e,t)=>`[${t}]`));i[n]={valid:!t.length,errors:t},t.length&&(a[n]=t[0])}return{valid:!r.errors.length,results:i,errors:a,values:r.value}}(e,u):await We(e,u,{names:x.value,bailsMap:P.value});return a.value=!1,t}const Ve=H(((e,{evt:t})=>{de(t)&&t.target.submit()}));return v((()=>{(null==e?void 0:e.initialErrors)&&F(e.initialErrors),(null==e?void 0:e.initialTouched)&&ue(e.initialTouched),(null==e?void 0:e.validateOnMount)?fe():te.validateSchema&&te.validateSchema("silent")})),m($)&&y($,(()=>{var e;null===(e=te.validateSchema)||void 0===e||e.call(te,"validated-only")})),h(ee,te),Object.assign(Object.assign({},te),{values:V(u),handleReset:()=>ce(),submitForm:Ve,defineComponentBinds:function(e,t){const n=G(d(e))||D(e),r=()=>z(t)?t(xe(n,tt)):t||{};function i(){var e;n.touched=!0;(null!==(e=r().validateOnBlur)&&void 0!==e?e:$e().validateOnBlur)&&ve(n.path)}function a(e){var t;const i=null!==(t=r().validateOnModelUpdate)&&void 0!==t?t:$e().validateOnModelUpdate;ne(n.path,e,i)}const o=c((()=>{if(z(t)){const e=t(n),r=e.model||"modelValue";return Object.assign({onBlur:i,[r]:n.value,[`onUpdate:${r}`]:a},e.props||{})}const e=(null==t?void 0:t.model)||"modelValue",r={onBlur:i,[e]:n.value,[`onUpdate:${e}`]:a};return(null==t?void 0:t.mapProps)?Object.assign(Object.assign({},r),t.mapProps(xe(n,tt))):r}));return o},defineInputBinds:function(e,t){const n=G(d(e))||D(e),r=()=>z(t)?t(xe(n,tt)):t||{};function i(){var e;n.touched=!0;(null!==(e=r().validateOnBlur)&&void 0!==e?e:$e().validateOnBlur)&&ve(n.path)}function a(e){var t;const i=Be(e),a=null!==(t=r().validateOnInput)&&void 0!==t?t:$e().validateOnInput;ne(n.path,i,a)}function o(e){var t;const i=Be(e),a=null!==(t=r().validateOnChange)&&void 0!==t?t:$e().validateOnChange;ne(n.path,i,a)}return c((()=>{const e={value:n.value,onChange:o,onInput:a,onBlur:i};return z(t)?Object.assign(Object.assign({},e),t(xe(n,tt)).attrs||{}):(null==t?void 0:t.mapAttrs)?Object.assign(Object.assign({},e),t.mapAttrs(xe(n,tt))):e}))}})}const it=e({name:"Form",inheritAttrs:!1,props:{as:{type:null,default:"form"},validationSchema:{type:Object,default:void 0},initialValues:{type:Object,default:void 0},initialErrors:{type:Object,default:void 0},initialTouched:{type:Object,default:void 0},validateOnMount:{type:Boolean,default:!1},onSubmit:{type:Function,default:void 0},onInvalidSubmit:{type:Function,default:void 0},keepValues:{type:Boolean,default:!1}},setup(e,t){const n=w(e,"initialValues"),r=w(e,"validationSchema"),i=w(e,"keepValues"),{errors:a,errorBag:o,values:l,meta:u,isSubmitting:s,isValidating:c,submitCount:d,controlledValues:f,validate:v,validateField:p,handleReset:h,resetForm:m,handleSubmit:y,setErrors:g,setFieldError:b,setFieldValue:O,setValues:j,setFieldTouched:V,setTouched:S,resetField:A}=rt({validationSchema:r.value?r:void 0,initialValues:n,initialErrors:e.initialErrors,initialTouched:e.initialTouched,validateOnMount:e.validateOnMount,keepValuesOnUnmount:i}),k=y(((e,{evt:t})=>{de(t)&&t.target.submit()}),e.onInvalidSubmit),_=e.onSubmit?y(e.onSubmit,e.onInvalidSubmit):k;function x(e){fe(e)&&e.preventDefault(),h(),"function"==typeof t.attrs.onReset&&t.attrs.onReset()}function P(t,n){return y("function"!=typeof t||n?n:t,e.onInvalidSubmit)(t)}function I(){return Q(l)}function M(){return Q(u.value)}function B(){return Q(a.value)}function T(){return{meta:u.value,errors:a.value,errorBag:o.value,values:l,isSubmitting:s.value,isValidating:c.value,submitCount:d.value,controlledValues:f.value,validate:v,validateField:p,handleSubmit:P,handleReset:h,submitForm:k,setErrors:g,setFieldError:b,setFieldValue:O,setValues:j,setFieldTouched:V,setTouched:S,resetForm:m,resetField:A,getValues:I,getMeta:M,getErrors:B}}return t.expose({setFieldError:b,setErrors:g,setFieldValue:O,setValues:j,setFieldTouched:V,setTouched:S,resetForm:m,validate:v,validateField:p,resetField:A,getValues:I,getMeta:M,getErrors:B}),function(){const n="form"===e.as?e.as:e.as?F(e.as):null,r=Pe(n,t,T);if(!n)return r;const i="form"===n?{novalidate:!0}:{};return E(n,Object.assign(Object.assign(Object.assign({},i),t.attrs),{onSubmit:_,onReset:x}),r)}}}),at=it;function ot(e){const t=Ve(ee,void 0),n=b([]),r=()=>{},i={fields:n,remove:r,push:r,swap:r,insert:r,update:r,replace:r,prepend:r,move:r};if(!t)return i;if(!f(e))return i;const a=t.fieldArrays.find((t=>f(t.path)===f(e)));if(a)return a;let o=0;function l(){return ye(null==t?void 0:t.values,f(e),[])||[]}function u(){const e=l();Array.isArray(e)&&(n.value=e.map(((e,t)=>c(e,t,n.value))),s())}function s(){const e=n.value.length;for(let t=0;te.key===l));return-1===a?r:i[a]},set(e){const t=n.value.findIndex((e=>e.key===l));-1!==t&&v(t,e)}}),isFirst:!1,isLast:!1};return u}function d(){s(),null==t||t.validate({mode:"silent"})}function v(n,r){const i=f(e),a=ye(null==t?void 0:t.values,i);!Array.isArray(a)||a.length-1{const n=t.fieldArrays.findIndex((t=>f(t.path)===f(e)));n>=0&&t.fieldArrays.splice(n,1)})),y(l,(e=>{pe(e,n.value.map((e=>e.value)))||u()})),p}const lt=e({name:"FieldArray",inheritAttrs:!1,props:{name:{type:String,required:!0}},setup(e,t){const{push:n,remove:r,swap:i,insert:a,replace:o,update:l,prepend:u,move:s,fields:c}=ot(w(e,"name"));function d(){return{fields:c.value,push:n,remove:r,swap:i,insert:a,update:l,replace:o,prepend:u,move:s}}return t.expose({push:n,remove:r,swap:i,insert:a,update:l,replace:o,prepend:u,move:s}),()=>Pe(void 0,t,d)}}),ut=e({name:"ErrorMessage",props:{as:{type:String,default:void 0},name:{type:String,required:!0}},setup(e,t){const n=A(ee,void 0),r=c((()=>null==n?void 0:n.errors.value[e.name]));function i(){return{message:r.value}}return()=>{if(!r.value)return;const n=e.as?F(e.as):e.as,a=Pe(n,t,i),o=Object.assign({role:"alert"},t.attrs);return n||!Array.isArray(a)&&a||!(null==a?void 0:a.length)?!Array.isArray(a)&&a||(null==a?void 0:a.length)?E(n,o,a):E(n||"span",o,r.value):a}}});var st=Object.freeze({__proto__:null,ErrorMessage:ut,Field:Qe,FieldArray:lt,FieldContextKey:te,Form:at,FormContextKey:ee,IS_ABSENT:ne,configure:De,defineRule:X,normalizeRules:Te,useField:Ke,useFieldArray:ot,useFieldError:function(e){const t=Ve(ee),n=e?void 0:A(te);return c((()=>e?null==t?void 0:t.errors.value[d(e)]:null==n?void 0:n.errorMessage.value))},useFieldValue:function(e){const t=Ve(ee),n=e?void 0:A(te);return c((()=>e?ye(null==t?void 0:t.values,d(e)):d(null==n?void 0:n.value)))},useForm:rt,useFormErrors:function(){const e=Ve(ee);return c((()=>(null==e?void 0:e.errors.value)||{}))},useFormValues:function(){const e=Ve(ee);return c((()=>(null==e?void 0:e.values)||{}))},useIsFieldDirty:function(e){const t=_e(e);return c((()=>{var e,n;return!!t&&(null!==(n="meta"in t?t.meta.dirty:null===(e=null==t?void 0:t.value)||void 0===e?void 0:e.dirty)&&void 0!==n&&n)}))},useIsFieldTouched:function(e){const t=_e(e);return c((()=>{var e,n;return!!t&&(null!==(n="meta"in t?t.meta.touched:null===(e=null==t?void 0:t.value)||void 0===e?void 0:e.touched)&&void 0!==n&&n)}))},useIsFieldValid:function(e){const t=_e(e);return c((()=>{var e,n;return!!t&&(null!==(n="meta"in t?t.meta.valid:null===(e=null==t?void 0:t.value)||void 0===e?void 0:e.valid)&&void 0!==n&&n)}))},useIsFormDirty:function(){const e=Ve(ee);return c((()=>{var t;return null!==(t=null==e?void 0:e.meta.value.dirty)&&void 0!==t&&t}))},useIsFormTouched:function(){const e=Ve(ee);return c((()=>{var t;return null!==(t=null==e?void 0:e.meta.value.touched)&&void 0!==t&&t}))},useIsFormValid:function(){const e=Ve(ee);return c((()=>{var t;return null!==(t=null==e?void 0:e.meta.value.valid)&&void 0!==t&&t}))},useIsSubmitting:function(){const e=Ve(ee);return c((()=>{var t;return null!==(t=null==e?void 0:e.isSubmitting.value)&&void 0!==t&&t}))},useIsValidating:function(){const e=Ve(ee);return c((()=>{var t;return null!==(t=null==e?void 0:e.isValidating.value)&&void 0!==t&&t}))},useResetForm:function(){const e=Ve(ee);return function(t){if(e)return e.resetForm(t)}},useSetFieldError:function(e){const t=Ve(ee),n=e?void 0:A(te);return function(r){e&&t?t.setFieldError(d(e),r):n&&n.setErrors(r||[])}},useSetFieldTouched:function(e){const t=Ve(ee),n=e?void 0:A(te);return function(r){e&&t?t.setFieldTouched(d(e),r):n&&n.setTouched(r)}},useSetFieldValue:function(e){const t=Ve(ee),n=e?void 0:A(te);return function(r,i=!0){e&&t?t.setFieldValue(d(e),r,i):n&&n.setValue(r,i)}},useSetFormErrors:function(){const e=Ve(ee);return function(t){e&&e.setErrors(t)}},useSetFormTouched:function(){const e=Ve(ee);return function(t){e&&e.setTouched(t)}},useSetFormValues:function(){const e=Ve(ee);return function(t,n=!0){e&&e.setValues(t,n)}},useSubmitCount:function(){const e=Ve(ee);return c((()=>{var t;return null!==(t=null==e?void 0:e.submitCount.value)&&void 0!==t?t:0}))},useSubmitForm:function(e){const t=Ve(ee),n=t?t.handleSubmit(e):void 0;return function(e){if(n)return n(e)}},useValidateField:function(e){const t=Ve(ee),n=e?void 0:A(te);return function(){return n?n.validate():t&&e?null==t?void 0:t.validateField(d(e)):Promise.resolve({errors:[],valid:!0})}},useValidateForm:function(){const e=Ve(ee);return function(){return e?e.validate():Promise.resolve({results:{},errors:{},valid:!0})}},validate:Le,validateObject:We}); -/** - * vee-validate v4.11.8 - * (c) 2023 Abdelrahman Awad - * @license MIT - */function ct(e){return null==e||""===e||!(!Array.isArray(e)||0!==e.length)}const dt=e=>{if(ct(e))return!0;const t=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;return Array.isArray(e)?e.every((e=>t.test(String(e)))):t.test(String(e))},ft=e=>{if(ct(e))return!0;const t=/\.(jpg|svg|jpeg|png|bmp|gif|webp)$/i;return Array.isArray(e)?e.every((e=>t.test(e.name))):t.test(e.name)};const vt=e=>{return!function(e){return null==e}(e)&&(t=e,!Array.isArray(t)||0!==t.length)&&!1!==e&&!!String(e).trim().length;var t};var pt={install:function(e,t){X("required",vt),X("requiredArray",(function(e){return!(null!==e&&"object"===I(e)&&Array.isArray(e)&&e.length<2)||"{_field_} array must contain more than one element"})),X("requiredOb",(function(e){return null===e||"object"!==I(e)||0!==Object.keys(e).length||"{_field_} object must not be empty"})),X("email",dt),X("image",ft),X("private_username",function(){var e=B(P().mark((function e(t){var n,r,i,a,o,l,u;return P().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=p(),r=n.app,i=null==r?void 0:r.appContext.config.globalProperties.$axios,!((a=t.length)<5||a>40)){e.next=7;break}return e.abrupt("return","{_field_} length must be between 5 and 40 characters");case 7:return(o=new FormData).set("user_name",t),e.next=11,i.post("/user/validate/username",o);case 11:if(l=e.sent,(u=l.data).valid){e.next=17;break}return e.abrupt("return",u.message);case 17:return e.abrupt("return",!0);case 18:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),X("password",(function(e,t){if(e!==C(t,1)[0])return"The passwords do not match."})),e.mixin({data:function(){return{get cleanObject(){return t.cleanObject||!1}}}})}},ht=null;"undefined"!=typeof window?ht=window.Vue:"undefined"!=typeof global&&(ht=global.Vue),ht&&ht.use(pt);export{x as _,B as a,P as b,T as c,L as m,pt as p,R as s,D as v}; \ No newline at end of file diff --git a/dist/entry-46a6dd07.js b/dist/entry-46a6dd07.js deleted file mode 100644 index f2ad41c..0000000 --- a/dist/entry-46a6dd07.js +++ /dev/null @@ -1,12 +0,0 @@ -"use strict";var e=require("vue");function t(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function n(e){for(var n=1;n=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var l=o.call(a,"catchLoc"),s=o.call(a,"finallyLoc");if(l&&s){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),C(n),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;C(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:P(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),y}},t}function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function i(e,t,n,r,o,i,a){try{var u=e[i](a),l=u.value}catch(e){return void n(e)}u.done?t(l):Promise.resolve(l).then(r,o)}function a(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var a=e.apply(t,n);function u(e){i(a,r,o,u,l,"next",e)}function l(e){i(a,r,o,u,l,"throw",e)}u(void 0)}))}}function u(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,u=[],l=!0,s=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(u.push(r.value),u.length!==t);l=!0);}catch(e){s=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw o}}return u}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0||"array"===this.type&&this.modelValue.length>0?this.modelData=JSON.parse(JSON.stringify(this.modelValue)):"boolean"===this.type&&null!==this.modelValue||"string"===this.type||"number"===this.type||"integer"===this.type?this.modelData=this.modelValue:this.modelData=this.initWithBlank():this.modelData=this.initWithBlank()},initWithBlank:function(){return"object"===this.type||"key-value-pairs"===this.type?{}:"array"===this.type?[]:"boolean"!==this.type&&("number"===this.type||"integer"===this.type?null:"")},clean:function(e){if("object"===this.type||"key-value-pairs"===this.type)Object.keys(e).forEach((function(t){var n="";void 0!==(n="string"!=typeof e[t]?JSON.stringify(e[t]):e[t])&&"null"!==n&&""!==n&&"{}"!==n&&"[]"!==n||delete e[t]}));else if("array"===this.type){e.map((function(e,t){return{item:e,idx:t}})).filter((function(e){var t=e.item,n="";return void 0===(n="string"!=typeof t?JSON.stringify(t):t)||"null"===n||""===n||"{}"===n||"[]"===n})).map((function(e){return e.idx})).forEach((function(t){return e.splice(t,1)}))}}}}),p=e.defineComponent({name:"VueOpenapiForm",components:{AcForm:e.defineAsyncComponent((function(){return Promise.resolve().then((function(){return require("./Form-0dec9ace.js")}))})),FormFooterControl:e.defineAsyncComponent((function(){return Promise.resolve().then((function(){return require("./FormFooterControl-9c8c3f48.js")}))}))},mixins:[v,f],provide:function(){var e=this,t={};return Object.defineProperty(t,"theme",{enumerable:!0,get:function(){return e.themeMode}}),{providedData:t}},props:{schema:{type:Object,default:function(){return{}}},modelValue:{type:Object,default:function(){return{}}},formTitle:{type:String,default:""},onlyJson:{type:Boolean,default:!1},size:{type:String,default:"small"},themeMode:{type:String,default:"light"}},computed:{extendedSchema:function(){return d(this.schema,this.formTitle)}}}); -/** - * vee-validate v4.11.8 - * (c) 2023 Abdelrahman Awad - * @license MIT - */ -function h(e){return"function"==typeof e}function m(e){return null==e}p.render=function(t,n,r,o,i,a){var u=e.resolveComponent("object-form-wrapper"),l=e.resolveComponent("v-field"),s=e.resolveComponent("form-footer-control"),c=e.resolveComponent("ac-form"),d=e.resolveComponent("v-form");return e.openBlock(),e.createBlock(d,{ref:"v-form",as:""},{default:e.withCtx((function(r){var o=r.meta,i=r.validate,a=r.errors;return[e.createVNode(c,null,{"form-left-controls":e.withCtx((function(){return[e.createVNode(s,null,{default:e.withCtx((function(){return[e.renderSlot(t.$slots,"left-controls",{validate:i,formStatus:o,errors:a})]})),_:2},1024)]})),"form-right-controls":e.withCtx((function(){return[e.createVNode(s,null,{default:e.withCtx((function(){return[e.renderSlot(t.$slots,"right-controls",{validate:i,formStatus:o,errors:a})]})),_:2},1024)]})),default:e.withCtx((function(){return[e.createElementVNode("div",{class:e.normalizeClass(["vue-openapi-form pl-20",{"is-medium":"medium"===t.size}])},[e.createVNode(l,{modelValue:t.modelData,"onUpdate:modelValue":n[0]||(n[0]=function(e){return t.modelData=e}),name:t.extendedSchema.title,label:t.extendedSchema.title,rules:t.ruleObject(!0),as:""},{default:e.withCtx((function(n){var r=n.field,o=n.handleChange;return[e.createVNode(u,{"field-name":"$","model-value":r.value,"expand-form":!0,"is-root":!0,level:1,"is-self-required":!0,"only-json":t.onlyJson,schema:t.extendedSchema,"reference-model":t.referenceModel||{},errors:a,"onUpdate:modelValue":o},null,8,["model-value","only-json","schema","reference-model","errors","onUpdate:modelValue"])]})),_:2},1032,["modelValue","name","label","rules"])],2)]})),_:2},1024)]})),_:3},512)};const y=e=>null!==e&&!!e&&"object"==typeof e&&!Array.isArray(e);function g(e){return Number(e)>=0}function b(e){if(!function(e){return"object"==typeof e&&null!==e}(e)||"[object Object]"!==function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}(e))return!1;if(null===Object.getPrototypeOf(e))return!0;let t=e;for(;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function O(e,t){return Object.keys(t).forEach((n=>{if(b(t[n]))return e[n]||(e[n]={}),void O(e[n],t[n]);e[n]=t[n]})),e}function V(e){const t=e.split(".");if(!t.length)return"";let n=String(t[0]);for(let e=1;e{return(y(r=e)||Array.isArray(r))&&t in e?e[t]:n;var r}),e)}function z(e,t,n){if(M(t))return void(e[L(t)]=n);const r=t.split(/\.|\[(\d+)\]/).filter(Boolean);let o=e;for(let e=0;eq(e,n.slice(0,r).join("."))));for(let t=o.length-1;t>=0;t--)i=o[t],(Array.isArray(i)?0===i.length:y(i)&&0===Object.keys(i).length)&&(0!==t?W(o[t-1],n[t-1]):W(e,n[0]));var i}function J(e){return Object.keys(e)}function K(t,n=void 0){const r=e.getCurrentInstance();return(null==r?void 0:r.provides[t])||e.inject(t,n)}function Z(e,t,n){if(Array.isArray(e)){const n=[...e],r=n.findIndex((e=>D(e,t)));return r>=0?n.splice(r,1):n.push(t),n}return D(e,t)?n:t}function Y(e,t=0){let n=null,r=[];return function(...o){return n&&clearTimeout(n),n=setTimeout((()=>{const t=e(...o);r.forEach((e=>e(t))),r=[]}),t),new Promise((e=>r.push(e)))}}function X(e,t){return y(t)&&t.number?function(e){const t=parseFloat(e);return isNaN(t)?e:t}(e):e}function H(e,t){let n;return async function(...r){const o=e(...r);n=o;const i=await o;return o!==n||(n=void 0,t(i,r)),i}}function Q({get:t,set:n}){const r=e.ref(S(t()));return e.watch(t,(e=>{D(e,r.value)||(r.value=S(e))}),{deep:!0}),e.watch(r,(e=>{D(e,t())||n(S(e))}),{deep:!0}),r}function ee(e){return Array.isArray(e)?e:e?[e]:[]}function te(t){const n=K(F),r=t?e.computed((()=>null==n?void 0:n.getPathState(e.toValue(t)))):void 0,o=t?void 0:e.inject(E);return!o&&(null==r||r.value),r||o}function ne(e,t){const n={};for(const r in e)t.includes(r)||(n[r]=e[r]);return n}function re(e,t,n){return t.slots.default?"string"!=typeof e&&e?{default:()=>{var e,r;return null===(r=(e=t.slots).default)||void 0===r?void 0:r.call(e,n())}}:t.slots.default(n()):t.slots.default}function oe(e){if(ie(e))return e._value}function ie(e){return"_value"in e}function ae(e){if(!N(e))return e;const t=e.target;if(I(t.type)&&ie(t))return oe(t);if("file"===t.type&&t.files){const e=Array.from(t.files);return t.multiple?e:e[0]}if(T(n=t)&&n.multiple)return Array.from(t.options).filter((e=>e.selected&&!e.disabled)).map(oe);var n;if(T(t)){const e=Array.from(t.options).find((e=>e.selected));return e?oe(e):t.value}return function(e){return"number"===e.type||"range"===e.type?Number.isNaN(e.valueAsNumber)?e.value:e.valueAsNumber:e.value}(t)}function ue(e){const t={};return Object.defineProperty(t,"_$$isNormalized",{value:!0,writable:!1,enumerable:!1,configurable:!1}),e?y(e)&&e._$$isNormalized?e:y(e)?Object.keys(e).reduce(((t,n)=>{const r=function(e){if(!0===e)return[];if(Array.isArray(e))return e;if(y(e))return e;return[e]}(e[n]);return!1!==e[n]&&(t[n]=le(r)),t}),t):"string"!=typeof e?t:e.split("|").reduce(((e,t)=>{const n=se(t);return n.name?(e[n.name]=le(n.params),e):e}),t):t}function le(e){const t=e=>"string"==typeof e&&"@"===e[0]?function(e){const t=t=>q(t,e)||t[e];return t.__locatorRef=e,t}(e.slice(1)):e;return Array.isArray(e)?e.map(t):e instanceof RegExp?[e]:Object.keys(e).reduce(((n,r)=>(n[r]=t(e[r]),n)),{})}const se=e=>{let t=[];const n=e.split(":")[0];return e.includes(":")&&(t=e.split(":").slice(1).join(":").split(",")),{name:n,params:t}};let ce=Object.assign({},{generateMessage:({field:e})=>`${e} is not valid.`,bails:!0,validateOnBlur:!0,validateOnChange:!0,validateOnInput:!1,validateOnModelUpdate:!0});const de=()=>ce,fe=e=>{ce=Object.assign(Object.assign({},ce),e)};async function ve(e,t,n={}){const r=null==n?void 0:n.bails,o={name:(null==n?void 0:n.name)||"{field}",rules:t,label:null==n?void 0:n.label,bails:null==r||r,formData:(null==n?void 0:n.values)||{}},i=await async function(e,t){if(_(e.rules)||P(e.rules))return async function(e,t){const n=_(t)?t:pe(t),r=await n.parse(e),o=[];for(const e of r.errors)e.errors.length&&o.push(...e.errors);return{errors:o}}(t,e.rules);if(h(e.rules)||Array.isArray(e.rules)){const n={field:e.label||e.name,name:e.name,label:e.label,form:e.formData,value:t},r=Array.isArray(e.rules)?e.rules:[e.rules],o=r.length,i=[];for(let a=0;a{const n=t.path||"";return e[n]||(e[n]={errors:[],path:n}),e[n].errors.push(...t.errors),e}),{});return{errors:Object.values(t)}}}}}async function he(e,t,n){const r=(o=n.name,j[o]);var o;if(!r)throw new Error(`No such validator '${n.name}' exists.`);const i=function(e,t){const n=e=>C(e)?e(t):e;if(Array.isArray(e))return e.map(n);return Object.keys(e).reduce(((t,r)=>(t[r]=n(e[r]),t)),{})}(n.params,e.formData),a={field:e.label||e.name,name:e.name,label:e.label,value:t,form:e.formData,rule:Object.assign(Object.assign({},n),{params:i})},u=await r(t,i,a);return"string"==typeof u?{error:u}:{error:u?void 0:me(a)}}function me(e){const t=de().generateMessage;return t?t(e):"Field is invalid"}async function ye(e,t,n){const r=J(e).map((async r=>{var o,i,a;const u=null===(o=null==n?void 0:n.names)||void 0===o?void 0:o[r],l=await ve(q(t,r),e[r],{name:(null==u?void 0:u.name)||r,label:null==u?void 0:u.label,values:t,bails:null===(a=null===(i=null==n?void 0:n.bailsMap)||void 0===i?void 0:i[r])||void 0===a||a});return Object.assign(Object.assign({},l),{path:r})}));let o=!0;const i=await Promise.all(r),a={},u={};for(const e of i)a[e.path]={valid:e.valid,errors:e.errors},e.valid||(o=!1,u[e.path]=e.errors[0]);return{valid:o,results:a,errors:u}}let ge=0;function be(t,n){const{value:r,initialValue:o,setInitialValue:i}=function(t,n,r){const o=e.ref(e.unref(n));function i(){return r?q(r.initialValues.value,e.unref(t),e.unref(o)):e.unref(o)}function a(n){r?r.stageInitialValue(e.unref(t),n,!0):o.value=n}const u=e.computed(i);if(!r){return{value:e.ref(i()),initialValue:u,setInitialValue:a}}const l=function(t,n,r,o){if(e.isRef(t))return e.unref(t);if(void 0!==t)return t;return q(n.values,e.unref(o),e.unref(r))}(n,r,u,t);r.stageInitialValue(e.unref(t),l,!0);const s=e.computed({get:()=>q(r.values,e.unref(t)),set(n){r.setFieldValue(e.unref(t),n,!1)}});return{value:s,initialValue:u,setInitialValue:a}}(t,n.modelValue,n.form);if(!n.form){const{errors:l,setErrors:s}=function(){const t=e.ref([]);return{errors:t,setErrors:e=>{t.value=ee(e)}}}(),c=ge>=Number.MAX_SAFE_INTEGER?0:++ge,d=function(t,n,r){const o=e.reactive({touched:!1,pending:!1,valid:!0,validated:!!e.unref(r).length,initialValue:e.computed((()=>e.unref(n))),dirty:e.computed((()=>!D(e.unref(t),e.unref(n))))});return e.watch(r,(e=>{o.valid=!e.length}),{immediate:!0,flush:"sync"}),o}(r,o,l);function f(e){var t;"value"in e&&(r.value=e.value),"errors"in e&&s(e.errors),"touched"in e&&(d.touched=null!==(t=e.touched)&&void 0!==t?t:d.touched),"initialValue"in e&&i(e.initialValue)}return{id:c,path:t,value:r,initialValue:o,meta:d,flags:{pendingUnmount:{[c]:!1},pendingReset:!1},errors:l,setState:f}}const a=n.form.createPathState(t,{bails:n.bails,label:n.label,type:n.type,validate:n.validate}),u=e.computed((()=>a.errors));return{id:Array.isArray(a.id)?a.id[a.id.length-1]:a.id,path:t,value:r,errors:u,meta:a,initialValue:o,flags:a.__flags,setState:function(o){var a,u,l;"value"in o&&(r.value=o.value),"errors"in o&&(null===(a=n.form)||void 0===a||a.setFieldError(e.unref(t),o.errors)),"touched"in o&&(null===(u=n.form)||void 0===u||u.setFieldTouched(e.unref(t),null!==(l=o.touched)&&void 0!==l&&l)),"initialValue"in o&&i(o.initialValue)}}}function Oe(t,n,r){return I(null==r?void 0:r.type)?function(t,n,r){const o=(null==r?void 0:r.standalone)?void 0:K(F),i=null==r?void 0:r.checkedValue,a=null==r?void 0:r.uncheckedValue;function u(n){const u=n.handleChange,l=e.computed((()=>{const t=e.toValue(n.value),r=e.toValue(i);return Array.isArray(t)?t.findIndex((e=>D(e,r)))>=0:D(r,t)}));function s(s,c=!0){var d,f;if(l.value===(null===(d=null==s?void 0:s.target)||void 0===d?void 0:d.checked))return void(c&&n.validate());const v=e.toValue(t),p=null==o?void 0:o.getPathState(v),h=ae(s);let m=null!==(f=e.toValue(i))&&void 0!==f?f:h;o&&(null==p?void 0:p.multiple)&&"checkbox"===p.type?m=Z(q(o.values,v)||[],m,void 0):"checkbox"===(null==r?void 0:r.type)&&(m=Z(e.toValue(n.value),m,e.toValue(a))),u(m,c)}return Object.assign(Object.assign({},n),{checked:l,checkedValue:i,uncheckedValue:a,handleChange:s})}return u(Ve(t,n,r))}(t,n,r):Ve(t,n,r)}function Ve(t,n,r){const{initialValue:o,validateOnMount:i,bails:a,type:u,checkedValue:l,label:s,validateOnValueUpdate:c,uncheckedValue:d,controlled:f,keepValueOnUnmount:v,syncVModel:p,form:m}=function(t){const n=()=>({initialValue:void 0,validateOnMount:!1,bails:!0,label:void 0,validateOnValueUpdate:!0,keepValueOnUnmount:void 0,syncVModel:!1,controlled:!0}),r=!!(null==t?void 0:t.syncVModel),o="string"==typeof(null==t?void 0:t.syncVModel)?t.syncVModel:(null==t?void 0:t.modelPropName)||"modelValue",i=r&&!("initialValue"in(t||{}))?je(e.getCurrentInstance(),o):null==t?void 0:t.initialValue;if(!t)return Object.assign(Object.assign({},n()),{initialValue:i});const a="valueProp"in t?t.valueProp:t.checkedValue,u="standalone"in t?!t.standalone:t.controlled,l=(null==t?void 0:t.modelPropName)||(null==t?void 0:t.syncVModel)||!1;return Object.assign(Object.assign(Object.assign({},n()),t||{}),{initialValue:i,controlled:null==u||u,checkedValue:a,syncVModel:l})}(r),y=f?K(F):void 0,g=m||y,b=e.computed((()=>V(e.toValue(t)))),O=e.computed((()=>{if(e.toValue(null==g?void 0:g.schema))return;const t=e.unref(n);return P(t)||_(t)||h(t)||Array.isArray(t)?t:ue(t)})),{id:j,value:w,initialValue:A,meta:x,setState:I,errors:M,flags:T}=be(b,{modelValue:o,form:g,bails:a,label:s,type:u,validate:O.value?$:void 0}),B=e.computed((()=>M.value[0]));p&&function({prop:t,value:n,handleChange:r,shouldValidate:o}){const i=e.getCurrentInstance();if(!i||!t)return;const a="string"==typeof t?t:"modelValue",u=`update:${a}`;if(!(a in i.props))return;e.watch(n,(e=>{D(e,je(i,a))||i.emit(u,e)})),e.watch((()=>je(i,a)),(e=>{if(e===k&&void 0===n.value)return;const t=e===k?void 0:e;D(t,n.value)||r(t,o())}))}({value:w,prop:p,handleChange:L,shouldValidate:()=>c&&!T.pendingReset});async function R(t){var n,r;return(null==g?void 0:g.validateSchema)?null!==(n=(await g.validateSchema(t)).results[e.toValue(b)])&&void 0!==n?n:{valid:!0,errors:[]}:O.value?ve(w.value,O.value,{name:e.toValue(b),label:e.toValue(s),values:null!==(r=null==g?void 0:g.values)&&void 0!==r?r:{},bails:a}):{valid:!0,errors:[]}}const N=H((async()=>(x.pending=!0,x.validated=!0,R("validated-only"))),(e=>{if(!T.pendingUnmount[Y.id])return I({errors:e.errors}),x.pending=!1,x.valid=e.valid,e})),U=H((async()=>R("silent")),(e=>(x.valid=e.valid,e)));function $(e){return"silent"===(null==e?void 0:e.mode)?U():N()}function L(e,t=!0){G(ae(e),t)}function z(e){var t;const n=e&&"value"in e?e.value:A.value;I({value:S(n),initialValue:S(n),touched:null!==(t=null==e?void 0:e.touched)&&void 0!==t&&t,errors:(null==e?void 0:e.errors)||[]}),x.pending=!1,x.validated=!1,U()}e.onMounted((()=>{if(i)return N();g&&g.validateSchema||U()}));const W=e.getCurrentInstance();function G(e,t=!0){w.value=W&&p?X(e,W.props.modelModifiers):e;(t?N:U)()}const Z=e.computed({get:()=>w.value,set(e){G(e,c)}}),Y={id:j,name:b,label:s,value:Z,meta:x,errors:M,errorMessage:B,type:u,checkedValue:l,uncheckedValue:d,bails:a,keepValueOnUnmount:v,resetField:z,handleReset:()=>z(),validate:$,handleChange:L,handleBlur:(e,t=!1)=>{x.touched=!0,t&&N()},setState:I,setTouched:function(e){x.touched=e},setErrors:function(e){I({errors:Array.isArray(e)?e:[e]})},setValue:G};if(e.provide(E,Y),e.isRef(n)&&"function"!=typeof e.unref(n)&&e.watch(n,((e,t)=>{D(e,t)||(x.validated?N():U())}),{deep:!0}),!g)return Y;const Q=e.computed((()=>{const e=O.value;return!e||h(e)||P(e)||_(e)||Array.isArray(e)?{}:Object.keys(e).reduce(((t,n)=>{const r=(o=e[n],Array.isArray(o)?o.filter(C):J(o).filter((e=>C(o[e]))).map((e=>o[e]))).map((e=>e.__locatorRef)).reduce(((e,t)=>{const n=q(g.values,t)||g.values[t];return void 0!==n&&(e[t]=n),e}),{});var o;return Object.assign(t,r),t}),{})}));return e.watch(Q,((e,t)=>{if(!Object.keys(e).length)return;!D(e,t)&&(x.validated?N():U())})),e.onBeforeUnmount((()=>{var t;const n=null!==(t=e.toValue(Y.keepValueOnUnmount))&&void 0!==t?t:e.toValue(g.keepValuesOnUnmount),r=e.toValue(b);if(n||!g||T.pendingUnmount[Y.id])return void(null==g||g.removePathState(r,j));T.pendingUnmount[Y.id]=!0;const o=g.getPathState(r);if(Array.isArray(null==o?void 0:o.id)&&(null==o?void 0:o.multiple)?null==o?void 0:o.id.includes(Y.id):(null==o?void 0:o.id)===Y.id){if((null==o?void 0:o.multiple)&&Array.isArray(o.value)){const t=o.value.findIndex((t=>D(t,e.toValue(Y.checkedValue))));if(t>-1){const e=[...o.value];e.splice(t,1),g.setFieldValue(r,e)}Array.isArray(o.id)&&o.id.splice(o.id.indexOf(Y.id),1)}else g.unsetPathValue(e.toValue(b));g.removePathState(r,j)}})),Y}function je(e,t){if(e)return e.props[t]}function we(e,t){let n=e.as||"";return e.as||t.slots.default||(n="input"),n}function Ae(e,t){return I(t.attrs.type)?U(e,"modelValue")?e.modelValue:void 0:U(e,"modelValue")?e.modelValue:t.attrs.value}const Se=e.defineComponent({name:"Field",inheritAttrs:!1,props:{as:{type:[String,Object],default:void 0},name:{type:String,required:!0},rules:{type:[Object,String,Function],default:void 0},validateOnMount:{type:Boolean,default:!1},validateOnBlur:{type:Boolean,default:void 0},validateOnChange:{type:Boolean,default:void 0},validateOnInput:{type:Boolean,default:void 0},validateOnModelUpdate:{type:Boolean,default:void 0},bails:{type:Boolean,default:()=>de().bails},label:{type:String,default:void 0},uncheckedValue:{type:null,default:void 0},modelValue:{type:null,default:k},modelModifiers:{type:null,default:()=>({})},"onUpdate:modelValue":{type:null,default:void 0},standalone:{type:Boolean,default:!1},keepValue:{type:Boolean,default:void 0}},setup(t,n){const r=e.toRef(t,"rules"),o=e.toRef(t,"name"),i=e.toRef(t,"label"),a=e.toRef(t,"uncheckedValue"),u=e.toRef(t,"keepValue"),{errors:l,value:s,errorMessage:c,validate:d,handleChange:f,handleBlur:v,setTouched:p,resetField:m,handleReset:y,meta:g,checked:b,setErrors:O}=Oe(o,r,{validateOnMount:t.validateOnMount,bails:t.bails,standalone:t.standalone,type:n.attrs.type,initialValue:Ae(t,n),checkedValue:n.attrs.value,uncheckedValue:a,label:i,validateOnValueUpdate:t.validateOnModelUpdate,keepValueOnUnmount:u,syncVModel:!0}),V=function(e,t=!0){f(e,t)},j=e.computed((()=>{const{validateOnInput:e,validateOnChange:r,validateOnBlur:o,validateOnModelUpdate:i}=function(e){var t,n,r,o;const{validateOnInput:i,validateOnChange:a,validateOnBlur:u,validateOnModelUpdate:l}=de();return{validateOnInput:null!==(t=e.validateOnInput)&&void 0!==t?t:i,validateOnChange:null!==(n=e.validateOnChange)&&void 0!==n?n:a,validateOnBlur:null!==(r=e.validateOnBlur)&&void 0!==r?r:u,validateOnModelUpdate:null!==(o=e.validateOnModelUpdate)&&void 0!==o?o:l}}(t);const a={name:t.name,onBlur:function(e){v(e,o),h(n.attrs.onBlur)&&n.attrs.onBlur(e)},onInput:function(t){V(t,e),h(n.attrs.onInput)&&n.attrs.onInput(t)},onChange:function(e){V(e,r),h(n.attrs.onChange)&&n.attrs.onChange(e)},"onUpdate:modelValue":e=>V(e,i)};return a})),w=e.computed((()=>{const e=Object.assign({},j.value);I(n.attrs.type)&&b&&(e.checked=b.value);return B(we(t,n),n.attrs)&&(e.value=s.value),e})),A=e.computed((()=>Object.assign(Object.assign({},j.value),{modelValue:s.value})));function S(){return{field:w.value,componentField:A.value,value:s.value,meta:g,errors:l.value,errorMessage:c.value,validate:d,resetField:m,handleChange:V,handleInput:e=>V(e,!1),handleReset:y,handleBlur:j.value.onBlur,setTouched:p,setErrors:O}}return n.expose({setErrors:O,setTouched:p,reset:m,validate:d,handleChange:f}),()=>{const r=e.resolveDynamicComponent(we(t,n)),o=re(r,n,S);return r?e.h(r,Object.assign(Object.assign({},n.attrs),w.value),o):o}}});let Fe=0;const Ee=["bails","fieldsCount","id","multiple","type","validate"];function ke(t){const n=e.unref(null==t?void 0:t.initialValues)||{},r=e.unref(null==t?void 0:t.validationSchema);return r&&_(r)&&h(r.cast)?S(r.cast(n)||{}):S(n)}function xe(t){var n;const r=Fe++;let o=0;const i=e.ref(!1),a=e.ref(!1),u=e.ref(0),l=[],s=e.reactive(ke(t)),c=e.ref([]),d=e.ref({}),f=e.ref({}),v=function(t){let n=null,r=[];return function(...o){const i=e.nextTick((()=>{if(n!==i)return;const e=t(...o);r.forEach((t=>t(e))),r=[],n=null}));return n=i,new Promise((e=>r.push(e)))}}((()=>{f.value=c.value.reduce(((t,n)=>(t[V(e.toValue(n.path))]=n,t)),{})}));function p(e,t){const n=L(e);if(n){if("string"==typeof e){const t=V(e);d.value[t]&&delete d.value[t]}n.errors=ee(t),n.valid=!n.errors.length}else"string"==typeof e&&(d.value[V(e)]=ee(t))}function m(e){J(e).forEach((t=>{p(t,e[t])}))}(null==t?void 0:t.initialErrors)&&m(t.initialErrors);const y=e.computed((()=>{const e=c.value.reduce(((e,t)=>(t.errors.length&&(e[t.path]=t.errors),e)),{});return Object.assign(Object.assign({},d.value),e)})),g=e.computed((()=>J(y.value).reduce(((e,t)=>{const n=y.value[t];return(null==n?void 0:n.length)&&(e[t]=n[0]),e}),{}))),b=e.computed((()=>c.value.reduce(((e,t)=>(e[t.path]={name:t.path||"",label:t.label||""},e)),{}))),j=e.computed((()=>c.value.reduce(((e,t)=>{var n;return e[t.path]=null===(n=t.bails)||void 0===n||n,e}),{}))),w=Object.assign({},(null==t?void 0:t.initialErrors)||{}),A=null!==(n=null==t?void 0:t.keepValuesOnUnmount)&&void 0!==n&&n,{initialValues:E,originalInitialValues:k,setInitialValues:x}=function(t,n,r){const o=ke(r),i=null==r?void 0:r.initialValues,a=e.ref(o),u=e.ref(S(o));function l(e,r=!1){a.value=O(S(a.value)||{},S(e)),u.value=O(S(u.value)||{},S(e)),r&&t.value.forEach((e=>{if(e.touched)return;const t=q(a.value,e.path);z(n,e.path,S(t))}))}e.isRef(i)&&e.watch(i,(e=>{e&&l(e,!0)}),{deep:!0});return{initialValues:a,originalInitialValues:u,setInitialValues:l}}(c,s,t),C=function(t,n,r,o){const i={touched:"some",pending:"some",valid:"every"},a=e.computed((()=>!D(n,e.unref(r))));function u(){const e=t.value;return J(i).reduce(((t,n)=>{const r=i[n];return t[n]=e[r]((e=>e[n])),t}),{})}const l=e.reactive(u());return e.watchEffect((()=>{const e=u();l.touched=e.touched,l.valid=e.valid,l.pending=e.pending})),e.computed((()=>Object.assign(Object.assign({initialValues:e.unref(r)},l),{valid:l.valid&&!J(o.value).length,dirty:a.value})))}(c,s,k,g),I=e.computed((()=>c.value.reduce(((e,t)=>{const n=q(s,t.path);return z(e,t.path,n),e}),{}))),M=null==t?void 0:t.validationSchema;function T(t,n){var r,i;const a=e.computed((()=>q(E.value,e.toValue(t)))),u=f.value[e.toValue(t)];if(u){"checkbox"!==(null==n?void 0:n.type)&&"radio"!==(null==n?void 0:n.type)||(u.multiple=!0);const e=o++;return Array.isArray(u.id)?u.id.push(e):u.id=[u.id,e],u.fieldsCount++,u.__flags.pendingUnmount[e]=!1,u}const l=e.computed((()=>q(s,e.toValue(t)))),d=e.toValue(t),p=o++,h=e.reactive({id:p,path:t,touched:!1,pending:!1,valid:!0,validated:!!(null===(r=w[d])||void 0===r?void 0:r.length),initialValue:a,errors:e.shallowRef([]),bails:null!==(i=null==n?void 0:n.bails)&&void 0!==i&&i,label:null==n?void 0:n.label,type:(null==n?void 0:n.type)||"default",value:l,multiple:!1,__flags:{pendingUnmount:{[p]:!1},pendingReset:!1},fieldsCount:1,validate:null==n?void 0:n.validate,dirty:e.computed((()=>!D(e.unref(l),e.unref(a))))});return c.value.push(h),f.value[d]=h,v(),g.value[d]&&!w[d]&&e.nextTick((()=>{fe(d,{mode:"silent"})})),e.isRef(t)&&e.watch(t,(t=>{v();const n=S(l.value);f.value[t]=h,e.nextTick((()=>{z(s,t,n)}))})),h}const B=Y(me,5),N=Y(me,5),U=H((async e=>"silent"===await e?B():N()),((e,[t])=>{const n=J(Q.errorBag.value);return[...new Set([...J(e.results),...c.value.map((e=>e.path)),...n])].sort().reduce(((n,r)=>{const o=r,i=L(o)||function(e){const t=c.value.filter((t=>e.startsWith(t.path)));return t.reduce(((e,t)=>e?t.path.length>e.path.length?t:e:t),void 0)}(o),a=(e.results[o]||{errors:[]}).errors,u={errors:a,valid:!a.length};return n.results[o]=u,u.valid||(n.errors[o]=u.errors[0]),i&&d.value[o]&&delete d.value[o],i?(i.valid=u.valid,"silent"===t?n:"validated-only"!==t||i.validated?(p(i,u.errors),n):n):(p(o,a),n)}),{valid:e.valid,results:{},errors:{}})}));function $(e){c.value.forEach(e)}function L(e){const t="string"==typeof e?V(e):e;return"string"==typeof t?f.value[t]:t}let W,K=[];function Z(e){return function(t,n){return function(r){return r instanceof Event&&(r.preventDefault(),r.stopPropagation()),$((e=>e.touched=!0)),i.value=!0,u.value++,ce().then((o=>{const i=S(s);if(o.valid&&"function"==typeof t){const n=S(I.value);let a=e?n:i;return o.values&&(a=o.values),t(a,{evt:r,controlledValues:n,setErrors:m,setFieldError:p,setTouched:ue,setFieldTouched:ie,setValues:re,setFieldValue:te,resetForm:se,resetField:le})}o.valid||"function"!=typeof n||n({values:i,evt:r,errors:o.errors,results:o.results})})).then((e=>(i.value=!1,e)),(e=>{throw i.value=!1,e}))}}}const X=Z(!1);X.withControlled=Z(!0);const Q={formId:r,values:s,controlledValues:I,errorBag:y,errors:g,schema:M,submitCount:u,meta:C,isSubmitting:i,isValidating:a,fieldArrays:l,keepValuesOnUnmount:A,validateSchema:e.unref(M)?U:void 0,validate:ce,setFieldError:p,validateField:fe,setFieldValue:te,setValues:re,setErrors:m,setFieldTouched:ie,setTouched:ue,resetForm:se,resetField:le,handleSubmit:X,stageInitialValue:function(e,n,r=!1){he(e,n),z(s,e,n),r&&!(null==t?void 0:t.initialValues)&&z(k.value,e,S(n))},unsetInitialValue:ve,setFieldInitialValue:he,useFieldModel:function(e){if(!Array.isArray(e))return oe(e);return e.map(oe)},createPathState:T,getPathState:L,unsetPathValue:function(t){return K.push(t),W||(W=e.nextTick((()=>{[...K].sort().reverse().forEach((e=>{G(s,e)})),K=[],W=null}))),W},removePathState:function(t,n){const r=c.value.findIndex((e=>e.path===t)),o=c.value[r];if(-1!==r&&o){if(e.nextTick((()=>{fe(t,{mode:"silent",warn:!1})})),o.multiple&&o.fieldsCount&&o.fieldsCount--,Array.isArray(o.id)){const e=o.id.indexOf(n);e>=0&&o.id.splice(e,1),delete o.__flags.pendingUnmount[n]}(!o.multiple||o.fieldsCount<=0)&&(c.value.splice(r,1),ve(t),v(),delete f.value[t])}},initialValues:E,getAllPathStates:()=>c.value,markForUnmount:function(e){return $((t=>{t.path.startsWith(e)&&J(t.__flags.pendingUnmount).forEach((e=>{t.__flags.pendingUnmount[e]=!0}))}))},isFieldTouched:function(e){var t;return!!(null===(t=L(e))||void 0===t?void 0:t.touched)},isFieldDirty:function(e){var t;return!!(null===(t=L(e))||void 0===t?void 0:t.dirty)},isFieldValid:function(e){var t;return!!(null===(t=L(e))||void 0===t?void 0:t.valid)}};function te(e,t,n=!0){const r=S(t),o="string"==typeof e?e:e.path;L(o)||T(o),z(s,o,r),n&&fe(o)}function re(e,t=!0){O(s,e),l.forEach((e=>e&&e.reset())),t&&ce()}function oe(t){const n=L(e.unref(t))||T(t);return e.computed({get:()=>n.value,set(r){const o=e.unref(t);te(o,r,!1),n.validated=!0,n.pending=!0,fe(o).then((()=>{n.pending=!1}))}})}function ie(e,t){const n=L(e);n&&(n.touched=t)}function ue(e){"boolean"!=typeof e?J(e).forEach((t=>{ie(t,!!e[t])})):$((t=>{t.touched=e}))}function le(t,n){var r;const o=n&&"value"in n?n.value:q(E.value,t),i=L(t);i&&(i.__flags.pendingReset=!0),he(t,S(o)),te(t,o,!1),ie(t,null!==(r=null==n?void 0:n.touched)&&void 0!==r&&r),p(t,(null==n?void 0:n.errors)||[]),e.nextTick((()=>{i&&(i.__flags.pendingReset=!1)}))}function se(t,n){let r=(null==t?void 0:t.values)?t.values:k.value;r=_(M)&&h(M.cast)?M.cast(r):r,x(r),$((e=>{var n;e.__flags.pendingReset=!0,e.validated=!1,e.touched=(null===(n=null==t?void 0:t.touched)||void 0===n?void 0:n[e.path])||!1,te(e.path,q(r,e.path),!1),p(e.path,void 0)})),(null==n?void 0:n.force)?function(e,t=!0){J(s).forEach((e=>{delete s[e]})),J(e).forEach((t=>{te(t,e[t],!1)})),t&&ce()}(r,!1):re(r,!1),m((null==t?void 0:t.errors)||{}),u.value=(null==t?void 0:t.submitCount)||0,e.nextTick((()=>{ce({mode:"silent"}),$((e=>{e.__flags.pendingReset=!1}))}))}async function ce(e){const t=(null==e?void 0:e.mode)||"force";if("force"===t&&$((e=>e.validated=!0)),Q.validateSchema)return Q.validateSchema(t);a.value=!0;const n=await Promise.all(c.value.map((t=>t.validate?t.validate(e).then((e=>({key:t.path,valid:e.valid,errors:e.errors}))):Promise.resolve({key:t.path,valid:!0,errors:[]}))));a.value=!1;const r={},o={};for(const e of n)r[e.key]={valid:e.valid,errors:e.errors},e.errors.length&&(o[e.key]=e.errors[0]);return{valid:n.every((e=>e.valid)),results:r,errors:o}}async function fe(e,t){const n=L(e);if(n&&"silent"!==(null==t?void 0:t.mode)&&(n.validated=!0),M){const{results:n}=await U((null==t?void 0:t.mode)||"validated-only");return n[e]||{errors:[],valid:!0}}return(null==n?void 0:n.validate)?n.validate(t):(!n&&(null==t?void 0:t.warn),Promise.resolve({errors:[],valid:!0}))}function ve(e){G(E.value,e)}function he(e,t){z(E.value,e,S(t))}async function me(){const t=e.unref(M);if(!t)return{valid:!0,results:{},errors:{}};a.value=!0;const n=P(t)||_(t)?await async function(e,t){const n=_(e)?e:pe(e),r=await n.parse(S(t)),o={},i={};for(const e of r.errors){const t=e.errors,n=(e.path||"").replace(/\["(\d+)"\]/g,((e,t)=>`[${t}]`));o[n]={valid:!t.length,errors:t},t.length&&(i[n]=t[0])}return{valid:!r.errors.length,results:o,errors:i,values:r.value}}(t,s):await ye(t,s,{names:b.value,bailsMap:j.value});return a.value=!1,n}const ge=X(((e,{evt:t})=>{R(t)&&t.target.submit()}));return e.onMounted((()=>{(null==t?void 0:t.initialErrors)&&m(t.initialErrors),(null==t?void 0:t.initialTouched)&&ue(t.initialTouched),(null==t?void 0:t.validateOnMount)?ce():Q.validateSchema&&Q.validateSchema("silent")})),e.isRef(M)&&e.watch(M,(()=>{var e;null===(e=Q.validateSchema)||void 0===e||e.call(Q,"validated-only")})),e.provide(F,Q),Object.assign(Object.assign({},Q),{values:e.readonly(s),handleReset:()=>se(),submitForm:ge,defineComponentBinds:function(t,n){const r=L(e.toValue(t))||T(t),o=()=>h(n)?n(ne(r,Ee)):n||{};function i(){var e;r.touched=!0;(null!==(e=o().validateOnBlur)&&void 0!==e?e:de().validateOnBlur)&&fe(r.path)}function a(e){var t;const n=null!==(t=o().validateOnModelUpdate)&&void 0!==t?t:de().validateOnModelUpdate;te(r.path,e,n)}const u=e.computed((()=>{if(h(n)){const e=n(r),t=e.model||"modelValue";return Object.assign({onBlur:i,[t]:r.value,[`onUpdate:${t}`]:a},e.props||{})}const e=(null==n?void 0:n.model)||"modelValue",t={onBlur:i,[e]:r.value,[`onUpdate:${e}`]:a};return(null==n?void 0:n.mapProps)?Object.assign(Object.assign({},t),n.mapProps(ne(r,Ee))):t}));return u},defineInputBinds:function(t,n){const r=L(e.toValue(t))||T(t),o=()=>h(n)?n(ne(r,Ee)):n||{};function i(){var e;r.touched=!0;(null!==(e=o().validateOnBlur)&&void 0!==e?e:de().validateOnBlur)&&fe(r.path)}function a(e){var t;const n=ae(e),i=null!==(t=o().validateOnInput)&&void 0!==t?t:de().validateOnInput;te(r.path,n,i)}function u(e){var t;const n=ae(e),i=null!==(t=o().validateOnChange)&&void 0!==t?t:de().validateOnChange;te(r.path,n,i)}return e.computed((()=>{const e={value:r.value,onChange:u,onInput:a,onBlur:i};return h(n)?Object.assign(Object.assign({},e),n(ne(r,Ee)).attrs||{}):(null==n?void 0:n.mapAttrs)?Object.assign(Object.assign({},e),n.mapAttrs(ne(r,Ee))):e}))}})}const Ce=e.defineComponent({name:"Form",inheritAttrs:!1,props:{as:{type:null,default:"form"},validationSchema:{type:Object,default:void 0},initialValues:{type:Object,default:void 0},initialErrors:{type:Object,default:void 0},initialTouched:{type:Object,default:void 0},validateOnMount:{type:Boolean,default:!1},onSubmit:{type:Function,default:void 0},onInvalidSubmit:{type:Function,default:void 0},keepValues:{type:Boolean,default:!1}},setup(t,n){const r=e.toRef(t,"initialValues"),o=e.toRef(t,"validationSchema"),i=e.toRef(t,"keepValues"),{errors:a,errorBag:u,values:l,meta:s,isSubmitting:c,isValidating:d,submitCount:f,controlledValues:v,validate:p,validateField:h,handleReset:m,resetForm:y,handleSubmit:g,setErrors:b,setFieldError:O,setFieldValue:V,setValues:j,setFieldTouched:w,setTouched:A,resetField:F}=xe({validationSchema:o.value?o:void 0,initialValues:r,initialErrors:t.initialErrors,initialTouched:t.initialTouched,validateOnMount:t.validateOnMount,keepValuesOnUnmount:i}),E=g(((e,{evt:t})=>{R(t)&&t.target.submit()}),t.onInvalidSubmit),k=t.onSubmit?g(t.onSubmit,t.onInvalidSubmit):E;function x(e){N(e)&&e.preventDefault(),m(),"function"==typeof n.attrs.onReset&&n.attrs.onReset()}function C(e,n){return g("function"!=typeof e||n?n:e,t.onInvalidSubmit)(e)}function _(){return S(l)}function P(){return S(s.value)}function I(){return S(a.value)}function M(){return{meta:s.value,errors:a.value,errorBag:u.value,values:l,isSubmitting:c.value,isValidating:d.value,submitCount:f.value,controlledValues:v.value,validate:p,validateField:h,handleSubmit:C,handleReset:m,submitForm:E,setErrors:b,setFieldError:O,setFieldValue:V,setValues:j,setFieldTouched:w,setTouched:A,resetForm:y,resetField:F,getValues:_,getMeta:P,getErrors:I}}return n.expose({setFieldError:O,setErrors:b,setFieldValue:V,setValues:j,setFieldTouched:w,setTouched:A,resetForm:y,validate:p,validateField:h,resetField:F,getValues:_,getMeta:P,getErrors:I}),function(){const r="form"===t.as?t.as:t.as?e.resolveDynamicComponent(t.as):null,o=re(r,n,M);if(!r)return o;const i="form"===r?{novalidate:!0}:{};return e.h(r,Object.assign(Object.assign(Object.assign({},i),n.attrs),{onSubmit:k,onReset:x}),o)}}}),_e=Ce;function Pe(t){const n=K(F,void 0),r=e.ref([]),o=()=>{},i={fields:r,remove:o,push:o,swap:o,insert:o,update:o,replace:o,prepend:o,move:o};if(!n)return i;if(!e.unref(t))return i;const a=n.fieldArrays.find((n=>e.unref(n.path)===e.unref(t)));if(a)return a;let u=0;function l(){return q(null==n?void 0:n.values,e.unref(t),[])||[]}function s(){const e=l();Array.isArray(e)&&(r.value=e.map(((e,t)=>d(e,t,r.value))),c())}function c(){const e=r.value.length;for(let t=0;te.key===l));return-1===a?o:i[a]},set(e){const t=r.value.findIndex((e=>e.key===l));-1!==t&&v(t,e)}}),isFirst:!1,isLast:!1};return s}function f(){c(),null==n||n.validate({mode:"silent"})}function v(r,o){const i=e.unref(t),a=q(null==n?void 0:n.values,i);!Array.isArray(a)||a.length-1{const r=n.fieldArrays.findIndex((n=>e.unref(n.path)===e.unref(t)));r>=0&&n.fieldArrays.splice(r,1)})),e.watch(l,(e=>{D(e,r.value.map((e=>e.value)))||s()})),p}const Ie=e.defineComponent({name:"FieldArray",inheritAttrs:!1,props:{name:{type:String,required:!0}},setup(t,n){const{push:r,remove:o,swap:i,insert:a,replace:u,update:l,prepend:s,move:c,fields:d}=Pe(e.toRef(t,"name"));function f(){return{fields:d.value,push:r,remove:o,swap:i,insert:a,update:l,replace:u,prepend:s,move:c}}return n.expose({push:r,remove:o,swap:i,insert:a,update:l,replace:u,prepend:s,move:c}),()=>re(void 0,n,f)}}),Me=e.defineComponent({name:"ErrorMessage",props:{as:{type:String,default:void 0},name:{type:String,required:!0}},setup(t,n){const r=e.inject(F,void 0),o=e.computed((()=>null==r?void 0:r.errors.value[t.name]));function i(){return{message:o.value}}return()=>{if(!o.value)return;const r=t.as?e.resolveDynamicComponent(t.as):t.as,a=re(r,n,i),u=Object.assign({role:"alert"},n.attrs);return r||!Array.isArray(a)&&a||!(null==a?void 0:a.length)?!Array.isArray(a)&&a||(null==a?void 0:a.length)?e.h(r,u,a):e.h(r||"span",u,o.value):a}}});var Te=Object.freeze({__proto__:null,ErrorMessage:Me,Field:Se,FieldArray:Ie,FieldContextKey:E,Form:_e,FormContextKey:F,IS_ABSENT:k,configure:fe,defineRule:w,normalizeRules:ue,useField:Oe,useFieldArray:Pe,useFieldError:function(t){const n=K(F),r=t?void 0:e.inject(E);return e.computed((()=>t?null==n?void 0:n.errors.value[e.toValue(t)]:null==r?void 0:r.errorMessage.value))},useFieldValue:function(t){const n=K(F),r=t?void 0:e.inject(E);return e.computed((()=>t?q(null==n?void 0:n.values,e.toValue(t)):e.toValue(null==r?void 0:r.value)))},useForm:xe,useFormErrors:function(){const t=K(F);return e.computed((()=>(null==t?void 0:t.errors.value)||{}))},useFormValues:function(){const t=K(F);return e.computed((()=>(null==t?void 0:t.values)||{}))},useIsFieldDirty:function(t){const n=te(t);return e.computed((()=>{var e,t;return!!n&&(null!==(t="meta"in n?n.meta.dirty:null===(e=null==n?void 0:n.value)||void 0===e?void 0:e.dirty)&&void 0!==t&&t)}))},useIsFieldTouched:function(t){const n=te(t);return e.computed((()=>{var e,t;return!!n&&(null!==(t="meta"in n?n.meta.touched:null===(e=null==n?void 0:n.value)||void 0===e?void 0:e.touched)&&void 0!==t&&t)}))},useIsFieldValid:function(t){const n=te(t);return e.computed((()=>{var e,t;return!!n&&(null!==(t="meta"in n?n.meta.valid:null===(e=null==n?void 0:n.value)||void 0===e?void 0:e.valid)&&void 0!==t&&t)}))},useIsFormDirty:function(){const t=K(F);return e.computed((()=>{var e;return null!==(e=null==t?void 0:t.meta.value.dirty)&&void 0!==e&&e}))},useIsFormTouched:function(){const t=K(F);return e.computed((()=>{var e;return null!==(e=null==t?void 0:t.meta.value.touched)&&void 0!==e&&e}))},useIsFormValid:function(){const t=K(F);return e.computed((()=>{var e;return null!==(e=null==t?void 0:t.meta.value.valid)&&void 0!==e&&e}))},useIsSubmitting:function(){const t=K(F);return e.computed((()=>{var e;return null!==(e=null==t?void 0:t.isSubmitting.value)&&void 0!==e&&e}))},useIsValidating:function(){const t=K(F);return e.computed((()=>{var e;return null!==(e=null==t?void 0:t.isValidating.value)&&void 0!==e&&e}))},useResetForm:function(){const e=K(F);return function(t){if(e)return e.resetForm(t)}},useSetFieldError:function(t){const n=K(F),r=t?void 0:e.inject(E);return function(o){t&&n?n.setFieldError(e.toValue(t),o):r&&r.setErrors(o||[])}},useSetFieldTouched:function(t){const n=K(F),r=t?void 0:e.inject(E);return function(o){t&&n?n.setFieldTouched(e.toValue(t),o):r&&r.setTouched(o)}},useSetFieldValue:function(t){const n=K(F),r=t?void 0:e.inject(E);return function(o,i=!0){t&&n?n.setFieldValue(e.toValue(t),o,i):r&&r.setValue(o,i)}},useSetFormErrors:function(){const e=K(F);return function(t){e&&e.setErrors(t)}},useSetFormTouched:function(){const e=K(F);return function(t){e&&e.setTouched(t)}},useSetFormValues:function(){const e=K(F);return function(t,n=!0){e&&e.setValues(t,n)}},useSubmitCount:function(){const t=K(F);return e.computed((()=>{var e;return null!==(e=null==t?void 0:t.submitCount.value)&&void 0!==e?e:0}))},useSubmitForm:function(e){const t=K(F),n=t?t.handleSubmit(e):void 0;return function(e){if(n)return n(e)}},useValidateField:function(t){const n=K(F),r=t?void 0:e.inject(E);return function(){return r?r.validate():n&&t?null==n?void 0:n.validateField(e.toValue(t)):Promise.resolve({errors:[],valid:!0})}},useValidateForm:function(){const e=K(F);return function(){return e?e.validate():Promise.resolve({results:{},errors:{},valid:!0})}},validate:ve,validateObject:ye}); -/** - * vee-validate v4.11.8 - * (c) 2023 Abdelrahman Awad - * @license MIT - */function Be(e){return null==e||""===e||!(!Array.isArray(e)||0!==e.length)}const Re=e=>{if(Be(e))return!0;const t=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;return Array.isArray(e)?e.every((e=>t.test(String(e)))):t.test(String(e))},Ne=e=>{if(Be(e))return!0;const t=/\.(jpg|svg|jpeg|png|bmp|gif|webp)$/i;return Array.isArray(e)?e.every((e=>t.test(e.name))):t.test(e.name)};const Ue=e=>{return!function(e){return null==e}(e)&&(t=e,!Array.isArray(t)||0!==t.length)&&!1!==e&&!!String(e).trim().length;var t};var De={install:function(t,n){w("required",Ue),w("requiredArray",(function(e){return!(null!==e&&"object"===o(e)&&Array.isArray(e)&&e.length<2)||"{_field_} array must contain more than one element"})),w("requiredOb",(function(e){return null===e||"object"!==o(e)||0!==Object.keys(e).length||"{_field_} object must not be empty"})),w("email",Re),w("image",Ne),w("private_username",function(){var t=a(r().mark((function t(n){var o,i,a,u,l,s,c;return r().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(o=e.getCurrentInstance(),i=o.app,a=null==i?void 0:i.appContext.config.globalProperties.$axios,!((u=n.length)<5||u>40)){t.next=7;break}return t.abrupt("return","{_field_} length must be between 5 and 40 characters");case 7:return(l=new FormData).set("user_name",n),t.next=11,a.post("/user/validate/username",l);case 11:if(s=t.sent,(c=s.data).valid){t.next=17;break}return t.abrupt("return",c.message);case 17:return t.abrupt("return",!0);case 18:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),w("password",(function(e,t){if(e!==l(t,1)[0])return"The passwords do not match."})),t.mixin({data:function(){return{get cleanObject(){return n.cleanObject||!1}}}})}},$e=null;"undefined"!=typeof window?$e=window.Vue:"undefined"!=typeof global&&($e=global.Vue),$e&&$e.use(De),exports._=n,exports.a=a,exports.b=r,exports.c=u,exports.m=v,exports.p=De,exports.s=p,exports.v=f; \ No newline at end of file diff --git a/dist/entry-5480607d.js b/dist/entry-5480607d.js deleted file mode 100644 index 9727b53..0000000 --- a/dist/entry-5480607d.js +++ /dev/null @@ -1,12 +0,0 @@ -"use strict";var e=require("vue");function t(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function n(e){for(var n=1;n=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var l=o.call(a,"catchLoc"),s=o.call(a,"finallyLoc");if(l&&s){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),C(n),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;C(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:P(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),y}},t}function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function i(e,t,n,r,o,i,a){try{var u=e[i](a),l=u.value}catch(e){return void n(e)}u.done?t(l):Promise.resolve(l).then(r,o)}function a(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var a=e.apply(t,n);function u(e){i(a,r,o,u,l,"next",e)}function l(e){i(a,r,o,u,l,"throw",e)}u(void 0)}))}}function u(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,u=[],l=!0,s=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(u.push(r.value),u.length!==t);l=!0);}catch(e){s=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw o}}return u}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0||"array"===this.type&&this.modelValue.length>0?this.modelData=JSON.parse(JSON.stringify(this.modelValue)):"boolean"===this.type&&null!==this.modelValue||"string"===this.type||"number"===this.type||"integer"===this.type?this.modelData=this.modelValue:this.modelData=this.initWithBlank():this.modelData=this.initWithBlank()},initWithBlank:function(){return"object"===this.type||"key-value-pairs"===this.type?{}:"array"===this.type?[]:"boolean"!==this.type&&("number"===this.type||"integer"===this.type?null:"")},clean:function(e){if("object"===this.type||"key-value-pairs"===this.type)Object.keys(e).forEach((function(t){var n="";void 0!==(n="string"!=typeof e[t]?JSON.stringify(e[t]):e[t])&&"null"!==n&&""!==n&&"{}"!==n&&"[]"!==n||delete e[t]}));else if("array"===this.type){e.map((function(e,t){return{item:e,idx:t}})).filter((function(e){var t=e.item,n="";return void 0===(n="string"!=typeof t?JSON.stringify(t):t)||"null"===n||""===n||"{}"===n||"[]"===n})).map((function(e){return e.idx})).forEach((function(t){return e.splice(t,1)}))}}}}),p=e.defineComponent({name:"VueOpenapiForm",components:{AcForm:e.defineAsyncComponent((function(){return Promise.resolve().then((function(){return require("./Form-0dec9ace.js")}))})),FormFooterControl:e.defineAsyncComponent((function(){return Promise.resolve().then((function(){return require("./FormFooterControl-9c8c3f48.js")}))}))},mixins:[v,f],provide:function(){var e=this,t={};return Object.defineProperty(t,"theme",{enumerable:!0,get:function(){return e.themeMode}}),{providedData:t}},props:{schema:{type:Object,default:function(){return{}}},modelValue:{type:Object,default:function(){return{}}},formTitle:{type:String,default:""},onlyJson:{type:Boolean,default:!1},size:{type:String,default:"small"},themeMode:{type:String,default:"light"}},computed:{extendedSchema:function(){return d(this.schema,this.formTitle)}}}); -/** - * vee-validate v4.11.8 - * (c) 2023 Abdelrahman Awad - * @license MIT - */ -function h(e){return"function"==typeof e}function m(e){return null==e}p.render=function(t,n,r,o,i,a){var u=e.resolveComponent("object-form-wrapper"),l=e.resolveComponent("v-field"),s=e.resolveComponent("form-footer-control"),c=e.resolveComponent("ac-form"),d=e.resolveComponent("v-form");return e.openBlock(),e.createBlock(d,{ref:"v-form",as:""},{default:e.withCtx((function(r){var o=r.meta,i=r.validate,a=r.errors;return[e.createVNode(c,null,{"form-left-controls":e.withCtx((function(){return[e.createVNode(s,null,{default:e.withCtx((function(){return[e.renderSlot(t.$slots,"left-controls",{validate:i,formStatus:o,errors:a})]})),_:2},1024)]})),"form-right-controls":e.withCtx((function(){return[e.createVNode(s,null,{default:e.withCtx((function(){return[e.renderSlot(t.$slots,"right-controls",{validate:i,formStatus:o,errors:a})]})),_:2},1024)]})),default:e.withCtx((function(){return[e.createElementVNode("div",{class:e.normalizeClass(["vue-openapi-form pl-20",{"is-medium":"medium"===t.size}])},[e.createVNode(l,{modelValue:t.modelData,"onUpdate:modelValue":n[0]||(n[0]=function(e){return t.modelData=e}),name:t.extendedSchema.title,label:t.extendedSchema.title,rules:t.ruleObject(!0),as:""},{default:e.withCtx((function(n){var r=n.field,o=n.handleChange;return[e.createVNode(u,{"field-name":"$","model-value":r.value,"expand-form":!0,"is-root":!0,level:1,"is-self-required":!0,"only-json":t.onlyJson,schema:t.extendedSchema,"reference-model":t.referenceModel||{},errors:a,showRootTab:!0,"onUpdate:modelValue":o},null,8,["model-value","only-json","schema","reference-model","errors","onUpdate:modelValue"])]})),_:2},1032,["modelValue","name","label","rules"])],2)]})),_:2},1024)]})),_:3},512)};const y=e=>null!==e&&!!e&&"object"==typeof e&&!Array.isArray(e);function g(e){return Number(e)>=0}function b(e){if(!function(e){return"object"==typeof e&&null!==e}(e)||"[object Object]"!==function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}(e))return!1;if(null===Object.getPrototypeOf(e))return!0;let t=e;for(;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function O(e,t){return Object.keys(t).forEach((n=>{if(b(t[n]))return e[n]||(e[n]={}),void O(e[n],t[n]);e[n]=t[n]})),e}function V(e){const t=e.split(".");if(!t.length)return"";let n=String(t[0]);for(let e=1;e{return(y(r=e)||Array.isArray(r))&&t in e?e[t]:n;var r}),e)}function z(e,t,n){if(M(t))return void(e[L(t)]=n);const r=t.split(/\.|\[(\d+)\]/).filter(Boolean);let o=e;for(let e=0;eq(e,n.slice(0,r).join("."))));for(let t=o.length-1;t>=0;t--)i=o[t],(Array.isArray(i)?0===i.length:y(i)&&0===Object.keys(i).length)&&(0!==t?W(o[t-1],n[t-1]):W(e,n[0]));var i}function J(e){return Object.keys(e)}function K(t,n=void 0){const r=e.getCurrentInstance();return(null==r?void 0:r.provides[t])||e.inject(t,n)}function Z(e,t,n){if(Array.isArray(e)){const n=[...e],r=n.findIndex((e=>D(e,t)));return r>=0?n.splice(r,1):n.push(t),n}return D(e,t)?n:t}function Y(e,t=0){let n=null,r=[];return function(...o){return n&&clearTimeout(n),n=setTimeout((()=>{const t=e(...o);r.forEach((e=>e(t))),r=[]}),t),new Promise((e=>r.push(e)))}}function X(e,t){return y(t)&&t.number?function(e){const t=parseFloat(e);return isNaN(t)?e:t}(e):e}function H(e,t){let n;return async function(...r){const o=e(...r);n=o;const i=await o;return o!==n||(n=void 0,t(i,r)),i}}function Q({get:t,set:n}){const r=e.ref(S(t()));return e.watch(t,(e=>{D(e,r.value)||(r.value=S(e))}),{deep:!0}),e.watch(r,(e=>{D(e,t())||n(S(e))}),{deep:!0}),r}function ee(e){return Array.isArray(e)?e:e?[e]:[]}function te(t){const n=K(F),r=t?e.computed((()=>null==n?void 0:n.getPathState(e.toValue(t)))):void 0,o=t?void 0:e.inject(E);return!o&&(null==r||r.value),r||o}function ne(e,t){const n={};for(const r in e)t.includes(r)||(n[r]=e[r]);return n}function re(e,t,n){return t.slots.default?"string"!=typeof e&&e?{default:()=>{var e,r;return null===(r=(e=t.slots).default)||void 0===r?void 0:r.call(e,n())}}:t.slots.default(n()):t.slots.default}function oe(e){if(ie(e))return e._value}function ie(e){return"_value"in e}function ae(e){if(!N(e))return e;const t=e.target;if(I(t.type)&&ie(t))return oe(t);if("file"===t.type&&t.files){const e=Array.from(t.files);return t.multiple?e:e[0]}if(T(n=t)&&n.multiple)return Array.from(t.options).filter((e=>e.selected&&!e.disabled)).map(oe);var n;if(T(t)){const e=Array.from(t.options).find((e=>e.selected));return e?oe(e):t.value}return function(e){return"number"===e.type||"range"===e.type?Number.isNaN(e.valueAsNumber)?e.value:e.valueAsNumber:e.value}(t)}function ue(e){const t={};return Object.defineProperty(t,"_$$isNormalized",{value:!0,writable:!1,enumerable:!1,configurable:!1}),e?y(e)&&e._$$isNormalized?e:y(e)?Object.keys(e).reduce(((t,n)=>{const r=function(e){if(!0===e)return[];if(Array.isArray(e))return e;if(y(e))return e;return[e]}(e[n]);return!1!==e[n]&&(t[n]=le(r)),t}),t):"string"!=typeof e?t:e.split("|").reduce(((e,t)=>{const n=se(t);return n.name?(e[n.name]=le(n.params),e):e}),t):t}function le(e){const t=e=>"string"==typeof e&&"@"===e[0]?function(e){const t=t=>q(t,e)||t[e];return t.__locatorRef=e,t}(e.slice(1)):e;return Array.isArray(e)?e.map(t):e instanceof RegExp?[e]:Object.keys(e).reduce(((n,r)=>(n[r]=t(e[r]),n)),{})}const se=e=>{let t=[];const n=e.split(":")[0];return e.includes(":")&&(t=e.split(":").slice(1).join(":").split(",")),{name:n,params:t}};let ce=Object.assign({},{generateMessage:({field:e})=>`${e} is not valid.`,bails:!0,validateOnBlur:!0,validateOnChange:!0,validateOnInput:!1,validateOnModelUpdate:!0});const de=()=>ce,fe=e=>{ce=Object.assign(Object.assign({},ce),e)};async function ve(e,t,n={}){const r=null==n?void 0:n.bails,o={name:(null==n?void 0:n.name)||"{field}",rules:t,label:null==n?void 0:n.label,bails:null==r||r,formData:(null==n?void 0:n.values)||{}},i=await async function(e,t){if(_(e.rules)||P(e.rules))return async function(e,t){const n=_(t)?t:pe(t),r=await n.parse(e),o=[];for(const e of r.errors)e.errors.length&&o.push(...e.errors);return{errors:o}}(t,e.rules);if(h(e.rules)||Array.isArray(e.rules)){const n={field:e.label||e.name,name:e.name,label:e.label,form:e.formData,value:t},r=Array.isArray(e.rules)?e.rules:[e.rules],o=r.length,i=[];for(let a=0;a{const n=t.path||"";return e[n]||(e[n]={errors:[],path:n}),e[n].errors.push(...t.errors),e}),{});return{errors:Object.values(t)}}}}}async function he(e,t,n){const r=(o=n.name,j[o]);var o;if(!r)throw new Error(`No such validator '${n.name}' exists.`);const i=function(e,t){const n=e=>C(e)?e(t):e;if(Array.isArray(e))return e.map(n);return Object.keys(e).reduce(((t,r)=>(t[r]=n(e[r]),t)),{})}(n.params,e.formData),a={field:e.label||e.name,name:e.name,label:e.label,value:t,form:e.formData,rule:Object.assign(Object.assign({},n),{params:i})},u=await r(t,i,a);return"string"==typeof u?{error:u}:{error:u?void 0:me(a)}}function me(e){const t=de().generateMessage;return t?t(e):"Field is invalid"}async function ye(e,t,n){const r=J(e).map((async r=>{var o,i,a;const u=null===(o=null==n?void 0:n.names)||void 0===o?void 0:o[r],l=await ve(q(t,r),e[r],{name:(null==u?void 0:u.name)||r,label:null==u?void 0:u.label,values:t,bails:null===(a=null===(i=null==n?void 0:n.bailsMap)||void 0===i?void 0:i[r])||void 0===a||a});return Object.assign(Object.assign({},l),{path:r})}));let o=!0;const i=await Promise.all(r),a={},u={};for(const e of i)a[e.path]={valid:e.valid,errors:e.errors},e.valid||(o=!1,u[e.path]=e.errors[0]);return{valid:o,results:a,errors:u}}let ge=0;function be(t,n){const{value:r,initialValue:o,setInitialValue:i}=function(t,n,r){const o=e.ref(e.unref(n));function i(){return r?q(r.initialValues.value,e.unref(t),e.unref(o)):e.unref(o)}function a(n){r?r.stageInitialValue(e.unref(t),n,!0):o.value=n}const u=e.computed(i);if(!r){return{value:e.ref(i()),initialValue:u,setInitialValue:a}}const l=function(t,n,r,o){if(e.isRef(t))return e.unref(t);if(void 0!==t)return t;return q(n.values,e.unref(o),e.unref(r))}(n,r,u,t);r.stageInitialValue(e.unref(t),l,!0);const s=e.computed({get:()=>q(r.values,e.unref(t)),set(n){r.setFieldValue(e.unref(t),n,!1)}});return{value:s,initialValue:u,setInitialValue:a}}(t,n.modelValue,n.form);if(!n.form){const{errors:l,setErrors:s}=function(){const t=e.ref([]);return{errors:t,setErrors:e=>{t.value=ee(e)}}}(),c=ge>=Number.MAX_SAFE_INTEGER?0:++ge,d=function(t,n,r){const o=e.reactive({touched:!1,pending:!1,valid:!0,validated:!!e.unref(r).length,initialValue:e.computed((()=>e.unref(n))),dirty:e.computed((()=>!D(e.unref(t),e.unref(n))))});return e.watch(r,(e=>{o.valid=!e.length}),{immediate:!0,flush:"sync"}),o}(r,o,l);function f(e){var t;"value"in e&&(r.value=e.value),"errors"in e&&s(e.errors),"touched"in e&&(d.touched=null!==(t=e.touched)&&void 0!==t?t:d.touched),"initialValue"in e&&i(e.initialValue)}return{id:c,path:t,value:r,initialValue:o,meta:d,flags:{pendingUnmount:{[c]:!1},pendingReset:!1},errors:l,setState:f}}const a=n.form.createPathState(t,{bails:n.bails,label:n.label,type:n.type,validate:n.validate}),u=e.computed((()=>a.errors));return{id:Array.isArray(a.id)?a.id[a.id.length-1]:a.id,path:t,value:r,errors:u,meta:a,initialValue:o,flags:a.__flags,setState:function(o){var a,u,l;"value"in o&&(r.value=o.value),"errors"in o&&(null===(a=n.form)||void 0===a||a.setFieldError(e.unref(t),o.errors)),"touched"in o&&(null===(u=n.form)||void 0===u||u.setFieldTouched(e.unref(t),null!==(l=o.touched)&&void 0!==l&&l)),"initialValue"in o&&i(o.initialValue)}}}function Oe(t,n,r){return I(null==r?void 0:r.type)?function(t,n,r){const o=(null==r?void 0:r.standalone)?void 0:K(F),i=null==r?void 0:r.checkedValue,a=null==r?void 0:r.uncheckedValue;function u(n){const u=n.handleChange,l=e.computed((()=>{const t=e.toValue(n.value),r=e.toValue(i);return Array.isArray(t)?t.findIndex((e=>D(e,r)))>=0:D(r,t)}));function s(s,c=!0){var d,f;if(l.value===(null===(d=null==s?void 0:s.target)||void 0===d?void 0:d.checked))return void(c&&n.validate());const v=e.toValue(t),p=null==o?void 0:o.getPathState(v),h=ae(s);let m=null!==(f=e.toValue(i))&&void 0!==f?f:h;o&&(null==p?void 0:p.multiple)&&"checkbox"===p.type?m=Z(q(o.values,v)||[],m,void 0):"checkbox"===(null==r?void 0:r.type)&&(m=Z(e.toValue(n.value),m,e.toValue(a))),u(m,c)}return Object.assign(Object.assign({},n),{checked:l,checkedValue:i,uncheckedValue:a,handleChange:s})}return u(Ve(t,n,r))}(t,n,r):Ve(t,n,r)}function Ve(t,n,r){const{initialValue:o,validateOnMount:i,bails:a,type:u,checkedValue:l,label:s,validateOnValueUpdate:c,uncheckedValue:d,controlled:f,keepValueOnUnmount:v,syncVModel:p,form:m}=function(t){const n=()=>({initialValue:void 0,validateOnMount:!1,bails:!0,label:void 0,validateOnValueUpdate:!0,keepValueOnUnmount:void 0,syncVModel:!1,controlled:!0}),r=!!(null==t?void 0:t.syncVModel),o="string"==typeof(null==t?void 0:t.syncVModel)?t.syncVModel:(null==t?void 0:t.modelPropName)||"modelValue",i=r&&!("initialValue"in(t||{}))?je(e.getCurrentInstance(),o):null==t?void 0:t.initialValue;if(!t)return Object.assign(Object.assign({},n()),{initialValue:i});const a="valueProp"in t?t.valueProp:t.checkedValue,u="standalone"in t?!t.standalone:t.controlled,l=(null==t?void 0:t.modelPropName)||(null==t?void 0:t.syncVModel)||!1;return Object.assign(Object.assign(Object.assign({},n()),t||{}),{initialValue:i,controlled:null==u||u,checkedValue:a,syncVModel:l})}(r),y=f?K(F):void 0,g=m||y,b=e.computed((()=>V(e.toValue(t)))),O=e.computed((()=>{if(e.toValue(null==g?void 0:g.schema))return;const t=e.unref(n);return P(t)||_(t)||h(t)||Array.isArray(t)?t:ue(t)})),{id:j,value:w,initialValue:A,meta:x,setState:I,errors:M,flags:T}=be(b,{modelValue:o,form:g,bails:a,label:s,type:u,validate:O.value?$:void 0}),B=e.computed((()=>M.value[0]));p&&function({prop:t,value:n,handleChange:r,shouldValidate:o}){const i=e.getCurrentInstance();if(!i||!t)return;const a="string"==typeof t?t:"modelValue",u=`update:${a}`;if(!(a in i.props))return;e.watch(n,(e=>{D(e,je(i,a))||i.emit(u,e)})),e.watch((()=>je(i,a)),(e=>{if(e===k&&void 0===n.value)return;const t=e===k?void 0:e;D(t,n.value)||r(t,o())}))}({value:w,prop:p,handleChange:L,shouldValidate:()=>c&&!T.pendingReset});async function R(t){var n,r;return(null==g?void 0:g.validateSchema)?null!==(n=(await g.validateSchema(t)).results[e.toValue(b)])&&void 0!==n?n:{valid:!0,errors:[]}:O.value?ve(w.value,O.value,{name:e.toValue(b),label:e.toValue(s),values:null!==(r=null==g?void 0:g.values)&&void 0!==r?r:{},bails:a}):{valid:!0,errors:[]}}const N=H((async()=>(x.pending=!0,x.validated=!0,R("validated-only"))),(e=>{if(!T.pendingUnmount[Y.id])return I({errors:e.errors}),x.pending=!1,x.valid=e.valid,e})),U=H((async()=>R("silent")),(e=>(x.valid=e.valid,e)));function $(e){return"silent"===(null==e?void 0:e.mode)?U():N()}function L(e,t=!0){G(ae(e),t)}function z(e){var t;const n=e&&"value"in e?e.value:A.value;I({value:S(n),initialValue:S(n),touched:null!==(t=null==e?void 0:e.touched)&&void 0!==t&&t,errors:(null==e?void 0:e.errors)||[]}),x.pending=!1,x.validated=!1,U()}e.onMounted((()=>{if(i)return N();g&&g.validateSchema||U()}));const W=e.getCurrentInstance();function G(e,t=!0){w.value=W&&p?X(e,W.props.modelModifiers):e;(t?N:U)()}const Z=e.computed({get:()=>w.value,set(e){G(e,c)}}),Y={id:j,name:b,label:s,value:Z,meta:x,errors:M,errorMessage:B,type:u,checkedValue:l,uncheckedValue:d,bails:a,keepValueOnUnmount:v,resetField:z,handleReset:()=>z(),validate:$,handleChange:L,handleBlur:(e,t=!1)=>{x.touched=!0,t&&N()},setState:I,setTouched:function(e){x.touched=e},setErrors:function(e){I({errors:Array.isArray(e)?e:[e]})},setValue:G};if(e.provide(E,Y),e.isRef(n)&&"function"!=typeof e.unref(n)&&e.watch(n,((e,t)=>{D(e,t)||(x.validated?N():U())}),{deep:!0}),!g)return Y;const Q=e.computed((()=>{const e=O.value;return!e||h(e)||P(e)||_(e)||Array.isArray(e)?{}:Object.keys(e).reduce(((t,n)=>{const r=(o=e[n],Array.isArray(o)?o.filter(C):J(o).filter((e=>C(o[e]))).map((e=>o[e]))).map((e=>e.__locatorRef)).reduce(((e,t)=>{const n=q(g.values,t)||g.values[t];return void 0!==n&&(e[t]=n),e}),{});var o;return Object.assign(t,r),t}),{})}));return e.watch(Q,((e,t)=>{if(!Object.keys(e).length)return;!D(e,t)&&(x.validated?N():U())})),e.onBeforeUnmount((()=>{var t;const n=null!==(t=e.toValue(Y.keepValueOnUnmount))&&void 0!==t?t:e.toValue(g.keepValuesOnUnmount),r=e.toValue(b);if(n||!g||T.pendingUnmount[Y.id])return void(null==g||g.removePathState(r,j));T.pendingUnmount[Y.id]=!0;const o=g.getPathState(r);if(Array.isArray(null==o?void 0:o.id)&&(null==o?void 0:o.multiple)?null==o?void 0:o.id.includes(Y.id):(null==o?void 0:o.id)===Y.id){if((null==o?void 0:o.multiple)&&Array.isArray(o.value)){const t=o.value.findIndex((t=>D(t,e.toValue(Y.checkedValue))));if(t>-1){const e=[...o.value];e.splice(t,1),g.setFieldValue(r,e)}Array.isArray(o.id)&&o.id.splice(o.id.indexOf(Y.id),1)}else g.unsetPathValue(e.toValue(b));g.removePathState(r,j)}})),Y}function je(e,t){if(e)return e.props[t]}function we(e,t){let n=e.as||"";return e.as||t.slots.default||(n="input"),n}function Ae(e,t){return I(t.attrs.type)?U(e,"modelValue")?e.modelValue:void 0:U(e,"modelValue")?e.modelValue:t.attrs.value}const Se=e.defineComponent({name:"Field",inheritAttrs:!1,props:{as:{type:[String,Object],default:void 0},name:{type:String,required:!0},rules:{type:[Object,String,Function],default:void 0},validateOnMount:{type:Boolean,default:!1},validateOnBlur:{type:Boolean,default:void 0},validateOnChange:{type:Boolean,default:void 0},validateOnInput:{type:Boolean,default:void 0},validateOnModelUpdate:{type:Boolean,default:void 0},bails:{type:Boolean,default:()=>de().bails},label:{type:String,default:void 0},uncheckedValue:{type:null,default:void 0},modelValue:{type:null,default:k},modelModifiers:{type:null,default:()=>({})},"onUpdate:modelValue":{type:null,default:void 0},standalone:{type:Boolean,default:!1},keepValue:{type:Boolean,default:void 0}},setup(t,n){const r=e.toRef(t,"rules"),o=e.toRef(t,"name"),i=e.toRef(t,"label"),a=e.toRef(t,"uncheckedValue"),u=e.toRef(t,"keepValue"),{errors:l,value:s,errorMessage:c,validate:d,handleChange:f,handleBlur:v,setTouched:p,resetField:m,handleReset:y,meta:g,checked:b,setErrors:O}=Oe(o,r,{validateOnMount:t.validateOnMount,bails:t.bails,standalone:t.standalone,type:n.attrs.type,initialValue:Ae(t,n),checkedValue:n.attrs.value,uncheckedValue:a,label:i,validateOnValueUpdate:t.validateOnModelUpdate,keepValueOnUnmount:u,syncVModel:!0}),V=function(e,t=!0){f(e,t)},j=e.computed((()=>{const{validateOnInput:e,validateOnChange:r,validateOnBlur:o,validateOnModelUpdate:i}=function(e){var t,n,r,o;const{validateOnInput:i,validateOnChange:a,validateOnBlur:u,validateOnModelUpdate:l}=de();return{validateOnInput:null!==(t=e.validateOnInput)&&void 0!==t?t:i,validateOnChange:null!==(n=e.validateOnChange)&&void 0!==n?n:a,validateOnBlur:null!==(r=e.validateOnBlur)&&void 0!==r?r:u,validateOnModelUpdate:null!==(o=e.validateOnModelUpdate)&&void 0!==o?o:l}}(t);const a={name:t.name,onBlur:function(e){v(e,o),h(n.attrs.onBlur)&&n.attrs.onBlur(e)},onInput:function(t){V(t,e),h(n.attrs.onInput)&&n.attrs.onInput(t)},onChange:function(e){V(e,r),h(n.attrs.onChange)&&n.attrs.onChange(e)},"onUpdate:modelValue":e=>V(e,i)};return a})),w=e.computed((()=>{const e=Object.assign({},j.value);I(n.attrs.type)&&b&&(e.checked=b.value);return B(we(t,n),n.attrs)&&(e.value=s.value),e})),A=e.computed((()=>Object.assign(Object.assign({},j.value),{modelValue:s.value})));function S(){return{field:w.value,componentField:A.value,value:s.value,meta:g,errors:l.value,errorMessage:c.value,validate:d,resetField:m,handleChange:V,handleInput:e=>V(e,!1),handleReset:y,handleBlur:j.value.onBlur,setTouched:p,setErrors:O}}return n.expose({setErrors:O,setTouched:p,reset:m,validate:d,handleChange:f}),()=>{const r=e.resolveDynamicComponent(we(t,n)),o=re(r,n,S);return r?e.h(r,Object.assign(Object.assign({},n.attrs),w.value),o):o}}});let Fe=0;const Ee=["bails","fieldsCount","id","multiple","type","validate"];function ke(t){const n=e.unref(null==t?void 0:t.initialValues)||{},r=e.unref(null==t?void 0:t.validationSchema);return r&&_(r)&&h(r.cast)?S(r.cast(n)||{}):S(n)}function xe(t){var n;const r=Fe++;let o=0;const i=e.ref(!1),a=e.ref(!1),u=e.ref(0),l=[],s=e.reactive(ke(t)),c=e.ref([]),d=e.ref({}),f=e.ref({}),v=function(t){let n=null,r=[];return function(...o){const i=e.nextTick((()=>{if(n!==i)return;const e=t(...o);r.forEach((t=>t(e))),r=[],n=null}));return n=i,new Promise((e=>r.push(e)))}}((()=>{f.value=c.value.reduce(((t,n)=>(t[V(e.toValue(n.path))]=n,t)),{})}));function p(e,t){const n=L(e);if(n){if("string"==typeof e){const t=V(e);d.value[t]&&delete d.value[t]}n.errors=ee(t),n.valid=!n.errors.length}else"string"==typeof e&&(d.value[V(e)]=ee(t))}function m(e){J(e).forEach((t=>{p(t,e[t])}))}(null==t?void 0:t.initialErrors)&&m(t.initialErrors);const y=e.computed((()=>{const e=c.value.reduce(((e,t)=>(t.errors.length&&(e[t.path]=t.errors),e)),{});return Object.assign(Object.assign({},d.value),e)})),g=e.computed((()=>J(y.value).reduce(((e,t)=>{const n=y.value[t];return(null==n?void 0:n.length)&&(e[t]=n[0]),e}),{}))),b=e.computed((()=>c.value.reduce(((e,t)=>(e[t.path]={name:t.path||"",label:t.label||""},e)),{}))),j=e.computed((()=>c.value.reduce(((e,t)=>{var n;return e[t.path]=null===(n=t.bails)||void 0===n||n,e}),{}))),w=Object.assign({},(null==t?void 0:t.initialErrors)||{}),A=null!==(n=null==t?void 0:t.keepValuesOnUnmount)&&void 0!==n&&n,{initialValues:E,originalInitialValues:k,setInitialValues:x}=function(t,n,r){const o=ke(r),i=null==r?void 0:r.initialValues,a=e.ref(o),u=e.ref(S(o));function l(e,r=!1){a.value=O(S(a.value)||{},S(e)),u.value=O(S(u.value)||{},S(e)),r&&t.value.forEach((e=>{if(e.touched)return;const t=q(a.value,e.path);z(n,e.path,S(t))}))}e.isRef(i)&&e.watch(i,(e=>{e&&l(e,!0)}),{deep:!0});return{initialValues:a,originalInitialValues:u,setInitialValues:l}}(c,s,t),C=function(t,n,r,o){const i={touched:"some",pending:"some",valid:"every"},a=e.computed((()=>!D(n,e.unref(r))));function u(){const e=t.value;return J(i).reduce(((t,n)=>{const r=i[n];return t[n]=e[r]((e=>e[n])),t}),{})}const l=e.reactive(u());return e.watchEffect((()=>{const e=u();l.touched=e.touched,l.valid=e.valid,l.pending=e.pending})),e.computed((()=>Object.assign(Object.assign({initialValues:e.unref(r)},l),{valid:l.valid&&!J(o.value).length,dirty:a.value})))}(c,s,k,g),I=e.computed((()=>c.value.reduce(((e,t)=>{const n=q(s,t.path);return z(e,t.path,n),e}),{}))),M=null==t?void 0:t.validationSchema;function T(t,n){var r,i;const a=e.computed((()=>q(E.value,e.toValue(t)))),u=f.value[e.toValue(t)];if(u){"checkbox"!==(null==n?void 0:n.type)&&"radio"!==(null==n?void 0:n.type)||(u.multiple=!0);const e=o++;return Array.isArray(u.id)?u.id.push(e):u.id=[u.id,e],u.fieldsCount++,u.__flags.pendingUnmount[e]=!1,u}const l=e.computed((()=>q(s,e.toValue(t)))),d=e.toValue(t),p=o++,h=e.reactive({id:p,path:t,touched:!1,pending:!1,valid:!0,validated:!!(null===(r=w[d])||void 0===r?void 0:r.length),initialValue:a,errors:e.shallowRef([]),bails:null!==(i=null==n?void 0:n.bails)&&void 0!==i&&i,label:null==n?void 0:n.label,type:(null==n?void 0:n.type)||"default",value:l,multiple:!1,__flags:{pendingUnmount:{[p]:!1},pendingReset:!1},fieldsCount:1,validate:null==n?void 0:n.validate,dirty:e.computed((()=>!D(e.unref(l),e.unref(a))))});return c.value.push(h),f.value[d]=h,v(),g.value[d]&&!w[d]&&e.nextTick((()=>{fe(d,{mode:"silent"})})),e.isRef(t)&&e.watch(t,(t=>{v();const n=S(l.value);f.value[t]=h,e.nextTick((()=>{z(s,t,n)}))})),h}const B=Y(me,5),N=Y(me,5),U=H((async e=>"silent"===await e?B():N()),((e,[t])=>{const n=J(Q.errorBag.value);return[...new Set([...J(e.results),...c.value.map((e=>e.path)),...n])].sort().reduce(((n,r)=>{const o=r,i=L(o)||function(e){const t=c.value.filter((t=>e.startsWith(t.path)));return t.reduce(((e,t)=>e?t.path.length>e.path.length?t:e:t),void 0)}(o),a=(e.results[o]||{errors:[]}).errors,u={errors:a,valid:!a.length};return n.results[o]=u,u.valid||(n.errors[o]=u.errors[0]),i&&d.value[o]&&delete d.value[o],i?(i.valid=u.valid,"silent"===t?n:"validated-only"!==t||i.validated?(p(i,u.errors),n):n):(p(o,a),n)}),{valid:e.valid,results:{},errors:{}})}));function $(e){c.value.forEach(e)}function L(e){const t="string"==typeof e?V(e):e;return"string"==typeof t?f.value[t]:t}let W,K=[];function Z(e){return function(t,n){return function(r){return r instanceof Event&&(r.preventDefault(),r.stopPropagation()),$((e=>e.touched=!0)),i.value=!0,u.value++,ce().then((o=>{const i=S(s);if(o.valid&&"function"==typeof t){const n=S(I.value);let a=e?n:i;return o.values&&(a=o.values),t(a,{evt:r,controlledValues:n,setErrors:m,setFieldError:p,setTouched:ue,setFieldTouched:ie,setValues:re,setFieldValue:te,resetForm:se,resetField:le})}o.valid||"function"!=typeof n||n({values:i,evt:r,errors:o.errors,results:o.results})})).then((e=>(i.value=!1,e)),(e=>{throw i.value=!1,e}))}}}const X=Z(!1);X.withControlled=Z(!0);const Q={formId:r,values:s,controlledValues:I,errorBag:y,errors:g,schema:M,submitCount:u,meta:C,isSubmitting:i,isValidating:a,fieldArrays:l,keepValuesOnUnmount:A,validateSchema:e.unref(M)?U:void 0,validate:ce,setFieldError:p,validateField:fe,setFieldValue:te,setValues:re,setErrors:m,setFieldTouched:ie,setTouched:ue,resetForm:se,resetField:le,handleSubmit:X,stageInitialValue:function(e,n,r=!1){he(e,n),z(s,e,n),r&&!(null==t?void 0:t.initialValues)&&z(k.value,e,S(n))},unsetInitialValue:ve,setFieldInitialValue:he,useFieldModel:function(e){if(!Array.isArray(e))return oe(e);return e.map(oe)},createPathState:T,getPathState:L,unsetPathValue:function(t){return K.push(t),W||(W=e.nextTick((()=>{[...K].sort().reverse().forEach((e=>{G(s,e)})),K=[],W=null}))),W},removePathState:function(t,n){const r=c.value.findIndex((e=>e.path===t)),o=c.value[r];if(-1!==r&&o){if(e.nextTick((()=>{fe(t,{mode:"silent",warn:!1})})),o.multiple&&o.fieldsCount&&o.fieldsCount--,Array.isArray(o.id)){const e=o.id.indexOf(n);e>=0&&o.id.splice(e,1),delete o.__flags.pendingUnmount[n]}(!o.multiple||o.fieldsCount<=0)&&(c.value.splice(r,1),ve(t),v(),delete f.value[t])}},initialValues:E,getAllPathStates:()=>c.value,markForUnmount:function(e){return $((t=>{t.path.startsWith(e)&&J(t.__flags.pendingUnmount).forEach((e=>{t.__flags.pendingUnmount[e]=!0}))}))},isFieldTouched:function(e){var t;return!!(null===(t=L(e))||void 0===t?void 0:t.touched)},isFieldDirty:function(e){var t;return!!(null===(t=L(e))||void 0===t?void 0:t.dirty)},isFieldValid:function(e){var t;return!!(null===(t=L(e))||void 0===t?void 0:t.valid)}};function te(e,t,n=!0){const r=S(t),o="string"==typeof e?e:e.path;L(o)||T(o),z(s,o,r),n&&fe(o)}function re(e,t=!0){O(s,e),l.forEach((e=>e&&e.reset())),t&&ce()}function oe(t){const n=L(e.unref(t))||T(t);return e.computed({get:()=>n.value,set(r){const o=e.unref(t);te(o,r,!1),n.validated=!0,n.pending=!0,fe(o).then((()=>{n.pending=!1}))}})}function ie(e,t){const n=L(e);n&&(n.touched=t)}function ue(e){"boolean"!=typeof e?J(e).forEach((t=>{ie(t,!!e[t])})):$((t=>{t.touched=e}))}function le(t,n){var r;const o=n&&"value"in n?n.value:q(E.value,t),i=L(t);i&&(i.__flags.pendingReset=!0),he(t,S(o)),te(t,o,!1),ie(t,null!==(r=null==n?void 0:n.touched)&&void 0!==r&&r),p(t,(null==n?void 0:n.errors)||[]),e.nextTick((()=>{i&&(i.__flags.pendingReset=!1)}))}function se(t,n){let r=(null==t?void 0:t.values)?t.values:k.value;r=_(M)&&h(M.cast)?M.cast(r):r,x(r),$((e=>{var n;e.__flags.pendingReset=!0,e.validated=!1,e.touched=(null===(n=null==t?void 0:t.touched)||void 0===n?void 0:n[e.path])||!1,te(e.path,q(r,e.path),!1),p(e.path,void 0)})),(null==n?void 0:n.force)?function(e,t=!0){J(s).forEach((e=>{delete s[e]})),J(e).forEach((t=>{te(t,e[t],!1)})),t&&ce()}(r,!1):re(r,!1),m((null==t?void 0:t.errors)||{}),u.value=(null==t?void 0:t.submitCount)||0,e.nextTick((()=>{ce({mode:"silent"}),$((e=>{e.__flags.pendingReset=!1}))}))}async function ce(e){const t=(null==e?void 0:e.mode)||"force";if("force"===t&&$((e=>e.validated=!0)),Q.validateSchema)return Q.validateSchema(t);a.value=!0;const n=await Promise.all(c.value.map((t=>t.validate?t.validate(e).then((e=>({key:t.path,valid:e.valid,errors:e.errors}))):Promise.resolve({key:t.path,valid:!0,errors:[]}))));a.value=!1;const r={},o={};for(const e of n)r[e.key]={valid:e.valid,errors:e.errors},e.errors.length&&(o[e.key]=e.errors[0]);return{valid:n.every((e=>e.valid)),results:r,errors:o}}async function fe(e,t){const n=L(e);if(n&&"silent"!==(null==t?void 0:t.mode)&&(n.validated=!0),M){const{results:n}=await U((null==t?void 0:t.mode)||"validated-only");return n[e]||{errors:[],valid:!0}}return(null==n?void 0:n.validate)?n.validate(t):(!n&&(null==t?void 0:t.warn),Promise.resolve({errors:[],valid:!0}))}function ve(e){G(E.value,e)}function he(e,t){z(E.value,e,S(t))}async function me(){const t=e.unref(M);if(!t)return{valid:!0,results:{},errors:{}};a.value=!0;const n=P(t)||_(t)?await async function(e,t){const n=_(e)?e:pe(e),r=await n.parse(S(t)),o={},i={};for(const e of r.errors){const t=e.errors,n=(e.path||"").replace(/\["(\d+)"\]/g,((e,t)=>`[${t}]`));o[n]={valid:!t.length,errors:t},t.length&&(i[n]=t[0])}return{valid:!r.errors.length,results:o,errors:i,values:r.value}}(t,s):await ye(t,s,{names:b.value,bailsMap:j.value});return a.value=!1,n}const ge=X(((e,{evt:t})=>{R(t)&&t.target.submit()}));return e.onMounted((()=>{(null==t?void 0:t.initialErrors)&&m(t.initialErrors),(null==t?void 0:t.initialTouched)&&ue(t.initialTouched),(null==t?void 0:t.validateOnMount)?ce():Q.validateSchema&&Q.validateSchema("silent")})),e.isRef(M)&&e.watch(M,(()=>{var e;null===(e=Q.validateSchema)||void 0===e||e.call(Q,"validated-only")})),e.provide(F,Q),Object.assign(Object.assign({},Q),{values:e.readonly(s),handleReset:()=>se(),submitForm:ge,defineComponentBinds:function(t,n){const r=L(e.toValue(t))||T(t),o=()=>h(n)?n(ne(r,Ee)):n||{};function i(){var e;r.touched=!0;(null!==(e=o().validateOnBlur)&&void 0!==e?e:de().validateOnBlur)&&fe(r.path)}function a(e){var t;const n=null!==(t=o().validateOnModelUpdate)&&void 0!==t?t:de().validateOnModelUpdate;te(r.path,e,n)}const u=e.computed((()=>{if(h(n)){const e=n(r),t=e.model||"modelValue";return Object.assign({onBlur:i,[t]:r.value,[`onUpdate:${t}`]:a},e.props||{})}const e=(null==n?void 0:n.model)||"modelValue",t={onBlur:i,[e]:r.value,[`onUpdate:${e}`]:a};return(null==n?void 0:n.mapProps)?Object.assign(Object.assign({},t),n.mapProps(ne(r,Ee))):t}));return u},defineInputBinds:function(t,n){const r=L(e.toValue(t))||T(t),o=()=>h(n)?n(ne(r,Ee)):n||{};function i(){var e;r.touched=!0;(null!==(e=o().validateOnBlur)&&void 0!==e?e:de().validateOnBlur)&&fe(r.path)}function a(e){var t;const n=ae(e),i=null!==(t=o().validateOnInput)&&void 0!==t?t:de().validateOnInput;te(r.path,n,i)}function u(e){var t;const n=ae(e),i=null!==(t=o().validateOnChange)&&void 0!==t?t:de().validateOnChange;te(r.path,n,i)}return e.computed((()=>{const e={value:r.value,onChange:u,onInput:a,onBlur:i};return h(n)?Object.assign(Object.assign({},e),n(ne(r,Ee)).attrs||{}):(null==n?void 0:n.mapAttrs)?Object.assign(Object.assign({},e),n.mapAttrs(ne(r,Ee))):e}))}})}const Ce=e.defineComponent({name:"Form",inheritAttrs:!1,props:{as:{type:null,default:"form"},validationSchema:{type:Object,default:void 0},initialValues:{type:Object,default:void 0},initialErrors:{type:Object,default:void 0},initialTouched:{type:Object,default:void 0},validateOnMount:{type:Boolean,default:!1},onSubmit:{type:Function,default:void 0},onInvalidSubmit:{type:Function,default:void 0},keepValues:{type:Boolean,default:!1}},setup(t,n){const r=e.toRef(t,"initialValues"),o=e.toRef(t,"validationSchema"),i=e.toRef(t,"keepValues"),{errors:a,errorBag:u,values:l,meta:s,isSubmitting:c,isValidating:d,submitCount:f,controlledValues:v,validate:p,validateField:h,handleReset:m,resetForm:y,handleSubmit:g,setErrors:b,setFieldError:O,setFieldValue:V,setValues:j,setFieldTouched:w,setTouched:A,resetField:F}=xe({validationSchema:o.value?o:void 0,initialValues:r,initialErrors:t.initialErrors,initialTouched:t.initialTouched,validateOnMount:t.validateOnMount,keepValuesOnUnmount:i}),E=g(((e,{evt:t})=>{R(t)&&t.target.submit()}),t.onInvalidSubmit),k=t.onSubmit?g(t.onSubmit,t.onInvalidSubmit):E;function x(e){N(e)&&e.preventDefault(),m(),"function"==typeof n.attrs.onReset&&n.attrs.onReset()}function C(e,n){return g("function"!=typeof e||n?n:e,t.onInvalidSubmit)(e)}function _(){return S(l)}function P(){return S(s.value)}function I(){return S(a.value)}function M(){return{meta:s.value,errors:a.value,errorBag:u.value,values:l,isSubmitting:c.value,isValidating:d.value,submitCount:f.value,controlledValues:v.value,validate:p,validateField:h,handleSubmit:C,handleReset:m,submitForm:E,setErrors:b,setFieldError:O,setFieldValue:V,setValues:j,setFieldTouched:w,setTouched:A,resetForm:y,resetField:F,getValues:_,getMeta:P,getErrors:I}}return n.expose({setFieldError:O,setErrors:b,setFieldValue:V,setValues:j,setFieldTouched:w,setTouched:A,resetForm:y,validate:p,validateField:h,resetField:F,getValues:_,getMeta:P,getErrors:I}),function(){const r="form"===t.as?t.as:t.as?e.resolveDynamicComponent(t.as):null,o=re(r,n,M);if(!r)return o;const i="form"===r?{novalidate:!0}:{};return e.h(r,Object.assign(Object.assign(Object.assign({},i),n.attrs),{onSubmit:k,onReset:x}),o)}}}),_e=Ce;function Pe(t){const n=K(F,void 0),r=e.ref([]),o=()=>{},i={fields:r,remove:o,push:o,swap:o,insert:o,update:o,replace:o,prepend:o,move:o};if(!n)return i;if(!e.unref(t))return i;const a=n.fieldArrays.find((n=>e.unref(n.path)===e.unref(t)));if(a)return a;let u=0;function l(){return q(null==n?void 0:n.values,e.unref(t),[])||[]}function s(){const e=l();Array.isArray(e)&&(r.value=e.map(((e,t)=>d(e,t,r.value))),c())}function c(){const e=r.value.length;for(let t=0;te.key===l));return-1===a?o:i[a]},set(e){const t=r.value.findIndex((e=>e.key===l));-1!==t&&v(t,e)}}),isFirst:!1,isLast:!1};return s}function f(){c(),null==n||n.validate({mode:"silent"})}function v(r,o){const i=e.unref(t),a=q(null==n?void 0:n.values,i);!Array.isArray(a)||a.length-1{const r=n.fieldArrays.findIndex((n=>e.unref(n.path)===e.unref(t)));r>=0&&n.fieldArrays.splice(r,1)})),e.watch(l,(e=>{D(e,r.value.map((e=>e.value)))||s()})),p}const Ie=e.defineComponent({name:"FieldArray",inheritAttrs:!1,props:{name:{type:String,required:!0}},setup(t,n){const{push:r,remove:o,swap:i,insert:a,replace:u,update:l,prepend:s,move:c,fields:d}=Pe(e.toRef(t,"name"));function f(){return{fields:d.value,push:r,remove:o,swap:i,insert:a,update:l,replace:u,prepend:s,move:c}}return n.expose({push:r,remove:o,swap:i,insert:a,update:l,replace:u,prepend:s,move:c}),()=>re(void 0,n,f)}}),Me=e.defineComponent({name:"ErrorMessage",props:{as:{type:String,default:void 0},name:{type:String,required:!0}},setup(t,n){const r=e.inject(F,void 0),o=e.computed((()=>null==r?void 0:r.errors.value[t.name]));function i(){return{message:o.value}}return()=>{if(!o.value)return;const r=t.as?e.resolveDynamicComponent(t.as):t.as,a=re(r,n,i),u=Object.assign({role:"alert"},n.attrs);return r||!Array.isArray(a)&&a||!(null==a?void 0:a.length)?!Array.isArray(a)&&a||(null==a?void 0:a.length)?e.h(r,u,a):e.h(r||"span",u,o.value):a}}});var Te=Object.freeze({__proto__:null,ErrorMessage:Me,Field:Se,FieldArray:Ie,FieldContextKey:E,Form:_e,FormContextKey:F,IS_ABSENT:k,configure:fe,defineRule:w,normalizeRules:ue,useField:Oe,useFieldArray:Pe,useFieldError:function(t){const n=K(F),r=t?void 0:e.inject(E);return e.computed((()=>t?null==n?void 0:n.errors.value[e.toValue(t)]:null==r?void 0:r.errorMessage.value))},useFieldValue:function(t){const n=K(F),r=t?void 0:e.inject(E);return e.computed((()=>t?q(null==n?void 0:n.values,e.toValue(t)):e.toValue(null==r?void 0:r.value)))},useForm:xe,useFormErrors:function(){const t=K(F);return e.computed((()=>(null==t?void 0:t.errors.value)||{}))},useFormValues:function(){const t=K(F);return e.computed((()=>(null==t?void 0:t.values)||{}))},useIsFieldDirty:function(t){const n=te(t);return e.computed((()=>{var e,t;return!!n&&(null!==(t="meta"in n?n.meta.dirty:null===(e=null==n?void 0:n.value)||void 0===e?void 0:e.dirty)&&void 0!==t&&t)}))},useIsFieldTouched:function(t){const n=te(t);return e.computed((()=>{var e,t;return!!n&&(null!==(t="meta"in n?n.meta.touched:null===(e=null==n?void 0:n.value)||void 0===e?void 0:e.touched)&&void 0!==t&&t)}))},useIsFieldValid:function(t){const n=te(t);return e.computed((()=>{var e,t;return!!n&&(null!==(t="meta"in n?n.meta.valid:null===(e=null==n?void 0:n.value)||void 0===e?void 0:e.valid)&&void 0!==t&&t)}))},useIsFormDirty:function(){const t=K(F);return e.computed((()=>{var e;return null!==(e=null==t?void 0:t.meta.value.dirty)&&void 0!==e&&e}))},useIsFormTouched:function(){const t=K(F);return e.computed((()=>{var e;return null!==(e=null==t?void 0:t.meta.value.touched)&&void 0!==e&&e}))},useIsFormValid:function(){const t=K(F);return e.computed((()=>{var e;return null!==(e=null==t?void 0:t.meta.value.valid)&&void 0!==e&&e}))},useIsSubmitting:function(){const t=K(F);return e.computed((()=>{var e;return null!==(e=null==t?void 0:t.isSubmitting.value)&&void 0!==e&&e}))},useIsValidating:function(){const t=K(F);return e.computed((()=>{var e;return null!==(e=null==t?void 0:t.isValidating.value)&&void 0!==e&&e}))},useResetForm:function(){const e=K(F);return function(t){if(e)return e.resetForm(t)}},useSetFieldError:function(t){const n=K(F),r=t?void 0:e.inject(E);return function(o){t&&n?n.setFieldError(e.toValue(t),o):r&&r.setErrors(o||[])}},useSetFieldTouched:function(t){const n=K(F),r=t?void 0:e.inject(E);return function(o){t&&n?n.setFieldTouched(e.toValue(t),o):r&&r.setTouched(o)}},useSetFieldValue:function(t){const n=K(F),r=t?void 0:e.inject(E);return function(o,i=!0){t&&n?n.setFieldValue(e.toValue(t),o,i):r&&r.setValue(o,i)}},useSetFormErrors:function(){const e=K(F);return function(t){e&&e.setErrors(t)}},useSetFormTouched:function(){const e=K(F);return function(t){e&&e.setTouched(t)}},useSetFormValues:function(){const e=K(F);return function(t,n=!0){e&&e.setValues(t,n)}},useSubmitCount:function(){const t=K(F);return e.computed((()=>{var e;return null!==(e=null==t?void 0:t.submitCount.value)&&void 0!==e?e:0}))},useSubmitForm:function(e){const t=K(F),n=t?t.handleSubmit(e):void 0;return function(e){if(n)return n(e)}},useValidateField:function(t){const n=K(F),r=t?void 0:e.inject(E);return function(){return r?r.validate():n&&t?null==n?void 0:n.validateField(e.toValue(t)):Promise.resolve({errors:[],valid:!0})}},useValidateForm:function(){const e=K(F);return function(){return e?e.validate():Promise.resolve({results:{},errors:{},valid:!0})}},validate:ve,validateObject:ye}); -/** - * vee-validate v4.11.8 - * (c) 2023 Abdelrahman Awad - * @license MIT - */function Be(e){return null==e||""===e||!(!Array.isArray(e)||0!==e.length)}const Re=e=>{if(Be(e))return!0;const t=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;return Array.isArray(e)?e.every((e=>t.test(String(e)))):t.test(String(e))},Ne=e=>{if(Be(e))return!0;const t=/\.(jpg|svg|jpeg|png|bmp|gif|webp)$/i;return Array.isArray(e)?e.every((e=>t.test(e.name))):t.test(e.name)};const Ue=e=>{return!function(e){return null==e}(e)&&(t=e,!Array.isArray(t)||0!==t.length)&&!1!==e&&!!String(e).trim().length;var t};var De={install:function(t,n){w("required",Ue),w("requiredArray",(function(e){return!(null!==e&&"object"===o(e)&&Array.isArray(e)&&e.length<2)||"{_field_} array must contain more than one element"})),w("requiredOb",(function(e){return null===e||"object"!==o(e)||0!==Object.keys(e).length||"{_field_} object must not be empty"})),w("email",Re),w("image",Ne),w("private_username",function(){var t=a(r().mark((function t(n){var o,i,a,u,l,s,c;return r().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(o=e.getCurrentInstance(),i=o.app,a=null==i?void 0:i.appContext.config.globalProperties.$axios,!((u=n.length)<5||u>40)){t.next=7;break}return t.abrupt("return","{_field_} length must be between 5 and 40 characters");case 7:return(l=new FormData).set("user_name",n),t.next=11,a.post("/user/validate/username",l);case 11:if(s=t.sent,(c=s.data).valid){t.next=17;break}return t.abrupt("return",c.message);case 17:return t.abrupt("return",!0);case 18:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),w("password",(function(e,t){if(e!==l(t,1)[0])return"The passwords do not match."})),t.mixin({data:function(){return{get cleanObject(){return n.cleanObject||!1}}}})}},$e=null;"undefined"!=typeof window?$e=window.Vue:"undefined"!=typeof global&&($e=global.Vue),$e&&$e.use(De),exports._=n,exports.a=a,exports.b=r,exports.c=u,exports.m=v,exports.p=De,exports.s=p,exports.v=f; \ No newline at end of file diff --git a/dist/entry-CiSu1Krq.js b/dist/entry-CiSu1Krq.js new file mode 100644 index 0000000..d8c93a8 --- /dev/null +++ b/dist/entry-CiSu1Krq.js @@ -0,0 +1,331 @@ +import { defineComponent as y, defineAsyncComponent as o, resolveComponent as a, openBlock as $, createBlock as D, withCtx as u, createVNode as h, createElementVNode as d, normalizeClass as w, renderSlot as j, getCurrentInstance as k } from "vue"; +import { AcForm as x } from "@mohin4/design-system"; +import { defineRule as s } from "vee-validate"; +import { required as P, email as F, image as J } from "@vee-validate/rules"; +const N = function(e) { + return e = e.charAt(0).toUpperCase() + e.slice(1), e.replace(/([a-z0-9])([A-Z])/g, "$1 $2"); +}, p = function(e, t) { + let r = Object.assign({}, { title: t }, { ...e }); + if (e.type === "object") { + let i = {}; + try { + e.properties ? (Object.keys(e.properties).forEach((n) => { + const l = N(n); + i = Object.assign( + {}, + { ...i }, + { [`${n}`]: { ...p(e.properties[n], l) } } + ); + }), r = Object.assign( + {}, + { ...r }, + { properties: { ...i } } + )) : e.additionalProperties && (r = Object.assign( + {}, + { ...r }, + { type: "key-value-pairs" } + ), r.additionalProperties = Object.assign( + {}, + { ...e.additionalProperties }, + { + ...p(e.additionalProperties, "Value") + } + )); + } catch { + } + } else if (e.type === "array") { + let i = {}; + i = Object.assign( + {}, + { ...i }, + { ...p(e.items, "") } + ), r = Object.assign({}, { ...r }, { items: { ...i } }); + } else { + let i = ""; + e.type === "number" || e.type === "integer" ? i = "number" : e.type === "boolean" ? i = "checkbox" : i = "text", r = Object.assign( + {}, + { ...r }, + { + ui: { + tag: "input", + type: i + } + } + ); + } + return r; +}; +function q(e, t) { + return p(e, t); +} +const A = y({ + components: { + VForm: o( + () => import("vee-validate").then(({ Form: e }) => e) + ), + VField: o( + () => import("vee-validate").then(({ Field: e }) => e) + ), + ComponentErrors: o( + () => import("./ComponentErrors-CGc_fDk0.js").then( + (e) => e.default + ) + ), + RightWrongSigns: o( + () => import("./RightWrongSigns-CiCUyqiY.js").then( + (e) => e.default + ) + ) + }, + props: { + isSelfRequired: { + type: Boolean, + default: !1 + } + }, + methods: { + ruleString(e) { + let t = ""; + return e && (t += "required"), t; + }, + ruleArray(e) { + let t = {}; + return e && (t.required = !0), t; + }, + ruleObject(e) { + let t = {}; + return e && (t.requiredOb = !0), t; + }, + calcFormErrors(e, t) { + return Object.keys(e).filter((r) => r.startsWith(t)).map((r) => { + const i = r.replace(/^(\$\/)/, ""), n = t.replace(/^(\$\/)/, ""), l = i.replace(n + "/", ""); + return `${l.includes("/") ? `${l}: ` : ""}${e[r]}`; + }); + } + } +}), C = y({ + components: { + ObjectFormWrapper: o( + () => import("./ObjectFormWrapper-D0yT9-aL.js").then( + (e) => e.default + ) + ), + ObjectForm: o( + () => import("./ObjectForm-pvbq9e18.js").then((e) => e.default) + ), + ArrayInput: o( + () => import("./ArrayInput-CUWo9Srt.js").then((e) => e.default) + ), + KeyValuePairs: o( + () => import("./KeyValuePairs-DL8T9ma9.js").then((e) => e.default) + ), + SimpleInput: o( + () => import("./SimpleInput-Bs9EFM3I.js").then((e) => e.default) + ) + }, + props: { + type: { + type: String, + default: "string" + }, + referenceModel: { + type: null, + default: () => ({}) + } + }, + emits: ["update:modelValue"], + data() { + return { + modelData: null + }; + }, + watch: { + modelData: { + immediate: !0, + deep: !0, + handler(e, t) { + t != null && (this.cleanObject && this.clean(e), this.type === "number" || this.type === "integer" ? e === "" ? this.$emit("update:modelValue", null) : this.$emit("update:modelValue", +e) : this.$emit("update:modelValue", e)); + } + }, + modelValue: { + deep: !0, + handler(e, t) { + JSON.stringify(t) !== JSON.stringify(e) && this.initModelData(); + } + } + }, + created() { + this.initModelData(); + }, + methods: { + initModelData() { + this.modelValue ? (this.type === "object" || this.type === "key-value-pairs") && Object.keys(this.modelValue).length > 0 ? this.modelData = JSON.parse(JSON.stringify(this.modelValue)) : this.type === "array" && this.modelValue.length > 0 ? this.modelData = JSON.parse(JSON.stringify(this.modelValue)) : this.type === "boolean" && this.modelValue !== null ? this.modelData = this.modelValue : this.type === "string" || this.type === "number" || this.type === "integer" ? this.modelData = this.modelValue : this.modelData = this.initWithBlank() : this.modelData = this.initWithBlank(); + }, + initWithBlank() { + return this.type === "object" || this.type === "key-value-pairs" ? {} : this.type === "array" ? [] : this.type === "boolean" ? !1 : this.type === "number" || this.type === "integer" ? null : ""; + }, + clean(e) { + this.type === "object" || this.type === "key-value-pairs" ? Object.keys(e).forEach((t) => { + let r = ""; + typeof e[t] != "string" ? r = JSON.stringify(e[t]) : r = e[t], (r === void 0 || r === "null" || r === "" || r === "{}" || r === "[]") && delete e[t]; + }) : this.type === "array" && e.map((r, i) => ({ item: r, idx: i })).filter((r) => { + const i = r.item; + let n = ""; + return typeof i != "string" ? n = JSON.stringify(i) : n = i, n === void 0 || n === "null" || n === "" || n === "{}" || n === "[]"; + }).map((r) => r.idx).forEach((r) => e.splice(r, 1)); + } + } +}), B = (e, t) => { + const r = e.__vccOpts || e; + for (const [i, n] of t) + r[i] = n; + return r; +}, E = y({ + name: "VueOpenapiForm", + components: { + AcForm: x + }, + mixins: [C, A], + provide() { + const e = {}; + return Object.defineProperty(e, "theme", { + enumerable: !0, + get: () => this.themeMode + }), { + providedData: e + }; + }, + props: { + schema: { + type: Object, + default: () => ({}) + }, + modelValue: { + type: Object, + default: () => ({}) + }, + formTitle: { + type: String, + default: "" + }, + onlyJson: { + type: Boolean, + default: !1 + }, + size: { + type: String, + default: "small" + }, + themeMode: { + type: String, + default: "light" + } + }, + computed: { + extendedSchema() { + return q(this.schema, this.formTitle); + } + } +}), M = { class: "vof-footer" }, I = { class: "vof-footer-group" }, W = { class: "vof-footer-group" }; +function R(e, t, r, i, n, l) { + const g = a("object-form-wrapper"), v = a("v-field"), V = a("ac-form"), _ = a("v-form"); + return $(), D(_, { + ref: "v-form", + as: "" + }, { + default: u(({ meta: b, validate: O, errors: m }) => [ + h(V, { width: "full" }, { + footer: u(() => [ + d("div", M, [ + d("div", I, [ + j(e.$slots, "left-controls", { + validate: O, + formStatus: b, + errors: m + }) + ]), + d("div", W, [ + j(e.$slots, "right-controls", { + validate: O, + formStatus: b, + errors: m + }) + ]) + ]) + ]), + default: u(() => [ + d("div", { + class: w(["vue-openapi-form vof-root", { "is-medium": e.size === "medium" }]) + }, [ + h(v, { + modelValue: e.modelData, + "onUpdate:modelValue": t[0] || (t[0] = (c) => e.modelData = c), + name: e.extendedSchema.title, + label: e.extendedSchema.title, + rules: e.ruleObject(!0), + as: "" + }, { + default: u(({ field: c, handleChange: S }) => [ + h(g, { + "field-name": "$", + "model-value": c.value, + "expand-form": !0, + "is-root": !0, + level: 1, + "is-self-required": !0, + "only-json": e.onlyJson, + schema: e.extendedSchema, + "reference-model": e.referenceModel || {}, + errors: m, + showRootTab: !0, + "onUpdate:modelValue": S + }, null, 8, ["model-value", "only-json", "schema", "reference-model", "errors", "onUpdate:modelValue"]) + ]), + _: 2 + }, 1032, ["modelValue", "name", "label", "rules"]) + ], 2) + ]), + _: 2 + }, 1024) + ]), + _: 3 + }, 512); +} +const L = /* @__PURE__ */ B(E, [["render", R]]), T = function() { + s("required", P), s("requiredArray", (e) => e !== null && typeof e == "object" && Array.isArray(e) && e.length < 2 ? "{_field_} array must contain more than one element" : !0), s("requiredOb", (e) => e !== null && typeof e == "object" && Object.keys(e).length === 0 ? "{_field_} object must not be empty" : !0), s("email", F), s("image", J), s("private_username", async (e) => { + const { app: t } = k(), r = t?.appContext.config.globalProperties.$axios, i = e.length; + if (i < 5 || i > 40) + return "{_field_} length must be between 5 and 40 characters"; + { + const n = new FormData(); + n.set("user_name", e); + const { data: l } = await r.post("/user/validate/username", n); + return l.valid ? !0 : l.message; + } + }), s("password", (e, [t]) => { + if (e !== t) + return "The passwords do not match."; + }); +}, z = (e, t) => { + T(), e.mixin({ + data: function() { + return { + get cleanObject() { + return t.cleanObject || !1; + } + }; + } + }); +}, U = { + install: z +}; +let f = null; +typeof window < "u" ? f = window.Vue : typeof global < "u" && (f = global.Vue); +f && f.use(U); +export { + L as V, + B as _, + C as m, + U as p, + A as v +}; diff --git a/dist/entry-a6929ab2.js b/dist/entry-a6929ab2.js deleted file mode 100644 index c1b67ef..0000000 --- a/dist/entry-a6929ab2.js +++ /dev/null @@ -1,12 +0,0 @@ -import{defineComponent as e,defineAsyncComponent as t,resolveComponent as n,openBlock as r,createBlock as i,withCtx as a,createVNode as o,renderSlot as l,createElementVNode as u,normalizeClass as s,computed as c,toValue as d,unref as f,onMounted as v,getCurrentInstance as p,provide as h,isRef as m,watch as y,onBeforeUnmount as g,ref as b,reactive as O,nextTick as j,readonly as V,watchEffect as S,inject as A,toRef as w,resolveDynamicComponent as F,h as E,shallowRef as k}from"vue";function _(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function x(e){for(var t=1;t=0;--a){var o=this.tryEntries[a],l=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var u=r.call(o,"catchLoc"),s=r.call(o,"finallyLoc");if(u&&s){if(this.prev=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),_(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;_(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:I(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),m}},t}function I(e){return I="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},I(e)}function M(e,t,n,r,i,a,o){try{var l=e[a](o),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,i)}function B(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var a=e.apply(t,n);function o(e){M(a,r,i,o,l,"next",e)}function l(e){M(a,r,i,o,l,"throw",e)}o(void 0)}))}}function T(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function C(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,a,o,l=[],u=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);u=!0);}catch(e){s=!0,i=e}finally{try{if(!u&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(s)throw i}}return l}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return U(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return U(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function U(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0||"array"===this.type&&this.modelValue.length>0?this.modelData=JSON.parse(JSON.stringify(this.modelValue)):"boolean"===this.type&&null!==this.modelValue||"string"===this.type||"number"===this.type||"integer"===this.type?this.modelData=this.modelValue:this.modelData=this.initWithBlank():this.modelData=this.initWithBlank()},initWithBlank:function(){return"object"===this.type||"key-value-pairs"===this.type?{}:"array"===this.type?[]:"boolean"!==this.type&&("number"===this.type||"integer"===this.type?null:"")},clean:function(e){if("object"===this.type||"key-value-pairs"===this.type)Object.keys(e).forEach((function(t){var n="";void 0!==(n="string"!=typeof e[t]?JSON.stringify(e[t]):e[t])&&"null"!==n&&""!==n&&"{}"!==n&&"[]"!==n||delete e[t]}));else if("array"===this.type){e.map((function(e,t){return{item:e,idx:t}})).filter((function(e){var t=e.item,n="";return void 0===(n="string"!=typeof t?JSON.stringify(t):t)||"null"===n||""===n||"{}"===n||"[]"===n})).map((function(e){return e.idx})).forEach((function(t){return e.splice(t,1)}))}}}}),R=e({name:"VueOpenapiForm",components:{AcForm:t((function(){return import("./Form-75fe67e1.js")})),FormFooterControl:t((function(){return import("./FormFooterControl-eec1f0a9.js")}))},mixins:[L,D],provide:function(){var e=this,t={};return Object.defineProperty(t,"theme",{enumerable:!0,get:function(){return e.themeMode}}),{providedData:t}},props:{schema:{type:Object,default:function(){return{}}},modelValue:{type:Object,default:function(){return{}}},formTitle:{type:String,default:""},onlyJson:{type:Boolean,default:!1},size:{type:String,default:"small"},themeMode:{type:String,default:"light"}},computed:{extendedSchema:function(){return $(this.schema,this.formTitle)}}}); -/** - * vee-validate v4.11.8 - * (c) 2023 Abdelrahman Awad - * @license MIT - */ -function z(e){return"function"==typeof e}function q(e){return null==e}R.render=function(e,t,c,d,f,v){var p=n("object-form-wrapper"),h=n("v-field"),m=n("form-footer-control"),y=n("ac-form"),g=n("v-form");return r(),i(g,{ref:"v-form",as:""},{default:a((function(n){var r=n.meta,i=n.validate,c=n.errors;return[o(y,null,{"form-left-controls":a((function(){return[o(m,null,{default:a((function(){return[l(e.$slots,"left-controls",{validate:i,formStatus:r,errors:c})]})),_:2},1024)]})),"form-right-controls":a((function(){return[o(m,null,{default:a((function(){return[l(e.$slots,"right-controls",{validate:i,formStatus:r,errors:c})]})),_:2},1024)]})),default:a((function(){return[u("div",{class:s(["vue-openapi-form pl-20",{"is-medium":"medium"===e.size}])},[o(h,{modelValue:e.modelData,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.modelData=t}),name:e.extendedSchema.title,label:e.extendedSchema.title,rules:e.ruleObject(!0),as:""},{default:a((function(t){var n=t.field,r=t.handleChange;return[o(p,{"field-name":"$","model-value":n.value,"expand-form":!0,"is-root":!0,level:1,"is-self-required":!0,"only-json":e.onlyJson,schema:e.extendedSchema,"reference-model":e.referenceModel||{},errors:c,showRootTab:!0,"onUpdate:modelValue":r},null,8,["model-value","only-json","schema","reference-model","errors","onUpdate:modelValue"])]})),_:2},1032,["modelValue","name","label","rules"])],2)]})),_:2},1024)]})),_:3},512)};const W=e=>null!==e&&!!e&&"object"==typeof e&&!Array.isArray(e);function G(e){return Number(e)>=0}function J(e){if(!function(e){return"object"==typeof e&&null!==e}(e)||"[object Object]"!==function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}(e))return!1;if(null===Object.getPrototypeOf(e))return!0;let t=e;for(;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function K(e,t){return Object.keys(t).forEach((n=>{if(J(t[n]))return e[n]||(e[n]={}),void K(e[n],t[n]);e[n]=t[n]})),e}function Z(e){const t=e.split(".");if(!t.length)return"";let n=String(t[0]);for(let e=1;e{return(W(r=e)||Array.isArray(r))&&t in e?e[t]:n;var r}),e)}function ge(e,t,n){if(ue(t))return void(e[me(t)]=n);const r=t.split(/\.|\[(\d+)\]/).filter(Boolean);let i=e;for(let e=0;eye(e,n.slice(0,r).join("."))));for(let t=i.length-1;t>=0;t--)a=i[t],(Array.isArray(a)?0===a.length:W(a)&&0===Object.keys(a).length)&&(0!==t?be(i[t-1],n[t-1]):be(e,n[0]));var a}function je(e){return Object.keys(e)}function Ve(e,t=void 0){const n=p();return(null==n?void 0:n.provides[e])||A(e,t)}function Se(e,t,n){if(Array.isArray(e)){const n=[...e],r=n.findIndex((e=>pe(e,t)));return r>=0?n.splice(r,1):n.push(t),n}return pe(e,t)?n:t}function Ae(e,t=0){let n=null,r=[];return function(...i){return n&&clearTimeout(n),n=setTimeout((()=>{const t=e(...i);r.forEach((e=>e(t))),r=[]}),t),new Promise((e=>r.push(e)))}}function we(e,t){return W(t)&&t.number?function(e){const t=parseFloat(e);return isNaN(t)?e:t}(e):e}function Fe(e,t){let n;return async function(...r){const i=e(...r);n=i;const a=await i;return i!==n||(n=void 0,t(a,r)),a}}function Ee({get:e,set:t}){const n=b(Q(e()));return y(e,(e=>{pe(e,n.value)||(n.value=Q(e))}),{deep:!0}),y(n,(n=>{pe(n,e())||t(Q(n))}),{deep:!0}),n}function ke(e){return Array.isArray(e)?e:e?[e]:[]}function _e(e){const t=Ve(ee),n=e?c((()=>null==t?void 0:t.getPathState(d(e)))):void 0,r=e?void 0:A(te);return!r&&(null==n||n.value),n||r}function xe(e,t){const n={};for(const r in e)t.includes(r)||(n[r]=e[r]);return n}function Pe(e,t,n){return t.slots.default?"string"!=typeof e&&e?{default:()=>{var e,r;return null===(r=(e=t.slots).default)||void 0===r?void 0:r.call(e,n())}}:t.slots.default(n()):t.slots.default}function Ie(e){if(Me(e))return e._value}function Me(e){return"_value"in e}function Be(e){if(!fe(e))return e;const t=e.target;if(le(t.type)&&Me(t))return Ie(t);if("file"===t.type&&t.files){const e=Array.from(t.files);return t.multiple?e:e[0]}if(se(n=t)&&n.multiple)return Array.from(t.options).filter((e=>e.selected&&!e.disabled)).map(Ie);var n;if(se(t)){const e=Array.from(t.options).find((e=>e.selected));return e?Ie(e):t.value}return function(e){return"number"===e.type||"range"===e.type?Number.isNaN(e.valueAsNumber)?e.value:e.valueAsNumber:e.value}(t)}function Te(e){const t={};return Object.defineProperty(t,"_$$isNormalized",{value:!0,writable:!1,enumerable:!1,configurable:!1}),e?W(e)&&e._$$isNormalized?e:W(e)?Object.keys(e).reduce(((t,n)=>{const r=function(e){if(!0===e)return[];if(Array.isArray(e))return e;if(W(e))return e;return[e]}(e[n]);return!1!==e[n]&&(t[n]=Ce(r)),t}),t):"string"!=typeof e?t:e.split("|").reduce(((e,t)=>{const n=Ue(t);return n.name?(e[n.name]=Ce(n.params),e):e}),t):t}function Ce(e){const t=e=>"string"==typeof e&&"@"===e[0]?function(e){const t=t=>ye(t,e)||t[e];return t.__locatorRef=e,t}(e.slice(1)):e;return Array.isArray(e)?e.map(t):e instanceof RegExp?[e]:Object.keys(e).reduce(((n,r)=>(n[r]=t(e[r]),n)),{})}const Ue=e=>{let t=[];const n=e.split(":")[0];return e.includes(":")&&(t=e.split(":").slice(1).join(":").split(",")),{name:n,params:t}};let Ne=Object.assign({},{generateMessage:({field:e})=>`${e} is not valid.`,bails:!0,validateOnBlur:!0,validateOnChange:!0,validateOnInput:!1,validateOnModelUpdate:!0});const $e=()=>Ne,De=e=>{Ne=Object.assign(Object.assign({},Ne),e)};async function Le(e,t,n={}){const r=null==n?void 0:n.bails,i={name:(null==n?void 0:n.name)||"{field}",rules:t,label:null==n?void 0:n.label,bails:null==r||r,formData:(null==n?void 0:n.values)||{}},a=await async function(e,t){if(ae(e.rules)||oe(e.rules))return async function(e,t){const n=ae(t)?t:Re(t),r=await n.parse(e),i=[];for(const e of r.errors)e.errors.length&&i.push(...e.errors);return{errors:i}}(t,e.rules);if(z(e.rules)||Array.isArray(e.rules)){const n={field:e.label||e.name,name:e.name,label:e.label,form:e.formData,value:t},r=Array.isArray(e.rules)?e.rules:[e.rules],i=r.length,a=[];for(let o=0;o{const n=t.path||"";return e[n]||(e[n]={errors:[],path:n}),e[n].errors.push(...t.errors),e}),{});return{errors:Object.values(t)}}}}}async function ze(e,t,n){const r=(i=n.name,Y[i]);var i;if(!r)throw new Error(`No such validator '${n.name}' exists.`);const a=function(e,t){const n=e=>ie(e)?e(t):e;if(Array.isArray(e))return e.map(n);return Object.keys(e).reduce(((t,r)=>(t[r]=n(e[r]),t)),{})}(n.params,e.formData),o={field:e.label||e.name,name:e.name,label:e.label,value:t,form:e.formData,rule:Object.assign(Object.assign({},n),{params:a})},l=await r(t,a,o);return"string"==typeof l?{error:l}:{error:l?void 0:qe(o)}}function qe(e){const t=$e().generateMessage;return t?t(e):"Field is invalid"}async function We(e,t,n){const r=je(e).map((async r=>{var i,a,o;const l=null===(i=null==n?void 0:n.names)||void 0===i?void 0:i[r],u=await Le(ye(t,r),e[r],{name:(null==l?void 0:l.name)||r,label:null==l?void 0:l.label,values:t,bails:null===(o=null===(a=null==n?void 0:n.bailsMap)||void 0===a?void 0:a[r])||void 0===o||o});return Object.assign(Object.assign({},u),{path:r})}));let i=!0;const a=await Promise.all(r),o={},l={};for(const e of a)o[e.path]={valid:e.valid,errors:e.errors},e.valid||(i=!1,l[e.path]=e.errors[0]);return{valid:i,results:o,errors:l}}let Ge=0;function Je(e,t){const{value:n,initialValue:r,setInitialValue:i}=function(e,t,n){const r=b(f(t));function i(){return n?ye(n.initialValues.value,f(e),f(r)):f(r)}function a(t){n?n.stageInitialValue(f(e),t,!0):r.value=t}const o=c(i);if(!n){return{value:b(i()),initialValue:o,setInitialValue:a}}const l=function(e,t,n,r){if(m(e))return f(e);if(void 0!==e)return e;return ye(t.values,f(r),f(n))}(t,n,o,e);n.stageInitialValue(f(e),l,!0);const u=c({get:()=>ye(n.values,f(e)),set(t){n.setFieldValue(f(e),t,!1)}});return{value:u,initialValue:o,setInitialValue:a}}(e,t.modelValue,t.form);if(!t.form){const{errors:l,setErrors:u}=function(){const e=b([]);return{errors:e,setErrors:t=>{e.value=ke(t)}}}(),s=Ge>=Number.MAX_SAFE_INTEGER?0:++Ge,d=function(e,t,n){const r=O({touched:!1,pending:!1,valid:!0,validated:!!f(n).length,initialValue:c((()=>f(t))),dirty:c((()=>!pe(f(e),f(t))))});return y(n,(e=>{r.valid=!e.length}),{immediate:!0,flush:"sync"}),r}(n,r,l);function v(e){var t;"value"in e&&(n.value=e.value),"errors"in e&&u(e.errors),"touched"in e&&(d.touched=null!==(t=e.touched)&&void 0!==t?t:d.touched),"initialValue"in e&&i(e.initialValue)}return{id:s,path:e,value:n,initialValue:r,meta:d,flags:{pendingUnmount:{[s]:!1},pendingReset:!1},errors:l,setState:v}}const a=t.form.createPathState(e,{bails:t.bails,label:t.label,type:t.type,validate:t.validate}),o=c((()=>a.errors));return{id:Array.isArray(a.id)?a.id[a.id.length-1]:a.id,path:e,value:n,errors:o,meta:a,initialValue:r,flags:a.__flags,setState:function(r){var a,o,l;"value"in r&&(n.value=r.value),"errors"in r&&(null===(a=t.form)||void 0===a||a.setFieldError(f(e),r.errors)),"touched"in r&&(null===(o=t.form)||void 0===o||o.setFieldTouched(f(e),null!==(l=r.touched)&&void 0!==l&&l)),"initialValue"in r&&i(r.initialValue)}}}function Ke(e,t,n){return le(null==n?void 0:n.type)?function(e,t,n){const r=(null==n?void 0:n.standalone)?void 0:Ve(ee),i=null==n?void 0:n.checkedValue,a=null==n?void 0:n.uncheckedValue;function o(t){const o=t.handleChange,l=c((()=>{const e=d(t.value),n=d(i);return Array.isArray(e)?e.findIndex((e=>pe(e,n)))>=0:pe(n,e)}));function u(u,s=!0){var c,f;if(l.value===(null===(c=null==u?void 0:u.target)||void 0===c?void 0:c.checked))return void(s&&t.validate());const v=d(e),p=null==r?void 0:r.getPathState(v),h=Be(u);let m=null!==(f=d(i))&&void 0!==f?f:h;r&&(null==p?void 0:p.multiple)&&"checkbox"===p.type?m=Se(ye(r.values,v)||[],m,void 0):"checkbox"===(null==n?void 0:n.type)&&(m=Se(d(t.value),m,d(a))),o(m,s)}return Object.assign(Object.assign({},t),{checked:l,checkedValue:i,uncheckedValue:a,handleChange:u})}return o(Ze(e,t,n))}(e,t,n):Ze(e,t,n)}function Ze(e,t,n){const{initialValue:r,validateOnMount:i,bails:a,type:o,checkedValue:l,label:u,validateOnValueUpdate:s,uncheckedValue:b,controlled:O,keepValueOnUnmount:j,syncVModel:V,form:S}=function(e){const t=()=>({initialValue:void 0,validateOnMount:!1,bails:!0,label:void 0,validateOnValueUpdate:!0,keepValueOnUnmount:void 0,syncVModel:!1,controlled:!0}),n=!!(null==e?void 0:e.syncVModel),r="string"==typeof(null==e?void 0:e.syncVModel)?e.syncVModel:(null==e?void 0:e.modelPropName)||"modelValue",i=n&&!("initialValue"in(e||{}))?Ye(p(),r):null==e?void 0:e.initialValue;if(!e)return Object.assign(Object.assign({},t()),{initialValue:i});const a="valueProp"in e?e.valueProp:e.checkedValue,o="standalone"in e?!e.standalone:e.controlled,l=(null==e?void 0:e.modelPropName)||(null==e?void 0:e.syncVModel)||!1;return Object.assign(Object.assign(Object.assign({},t()),e||{}),{initialValue:i,controlled:null==o||o,checkedValue:a,syncVModel:l})}(n),A=O?Ve(ee):void 0,w=S||A,F=c((()=>Z(d(e)))),E=c((()=>{if(d(null==w?void 0:w.schema))return;const e=f(t);return oe(e)||ae(e)||z(e)||Array.isArray(e)?e:Te(e)})),{id:k,value:_,initialValue:x,meta:P,setState:I,errors:M,flags:B}=Je(F,{modelValue:r,form:w,bails:a,label:u,type:o,validate:E.value?$:void 0}),T=c((()=>M.value[0]));V&&function({prop:e,value:t,handleChange:n,shouldValidate:r}){const i=p();if(!i||!e)return;const a="string"==typeof e?e:"modelValue",o=`update:${a}`;if(!(a in i.props))return;y(t,(e=>{pe(e,Ye(i,a))||i.emit(o,e)})),y((()=>Ye(i,a)),(e=>{if(e===ne&&void 0===t.value)return;const i=e===ne?void 0:e;pe(i,t.value)||n(i,r())}))}({value:_,prop:V,handleChange:D,shouldValidate:()=>s&&!B.pendingReset});async function C(e){var t,n;return(null==w?void 0:w.validateSchema)?null!==(t=(await w.validateSchema(e)).results[d(F)])&&void 0!==t?t:{valid:!0,errors:[]}:E.value?Le(_.value,E.value,{name:d(F),label:d(u),values:null!==(n=null==w?void 0:w.values)&&void 0!==n?n:{},bails:a}):{valid:!0,errors:[]}}const U=Fe((async()=>(P.pending=!0,P.validated=!0,C("validated-only"))),(e=>{if(!B.pendingUnmount[G.id])return I({errors:e.errors}),P.pending=!1,P.valid=e.valid,e})),N=Fe((async()=>C("silent")),(e=>(P.valid=e.valid,e)));function $(e){return"silent"===(null==e?void 0:e.mode)?N():U()}function D(e,t=!0){q(Be(e),t)}function L(e){var t;const n=e&&"value"in e?e.value:x.value;I({value:Q(n),initialValue:Q(n),touched:null!==(t=null==e?void 0:e.touched)&&void 0!==t&&t,errors:(null==e?void 0:e.errors)||[]}),P.pending=!1,P.validated=!1,N()}v((()=>{if(i)return U();w&&w.validateSchema||N()}));const R=p();function q(e,t=!0){_.value=R&&V?we(e,R.props.modelModifiers):e;(t?U:N)()}const W=c({get:()=>_.value,set(e){q(e,s)}}),G={id:k,name:F,label:u,value:W,meta:P,errors:M,errorMessage:T,type:o,checkedValue:l,uncheckedValue:b,bails:a,keepValueOnUnmount:j,resetField:L,handleReset:()=>L(),validate:$,handleChange:D,handleBlur:(e,t=!1)=>{P.touched=!0,t&&U()},setState:I,setTouched:function(e){P.touched=e},setErrors:function(e){I({errors:Array.isArray(e)?e:[e]})},setValue:q};if(h(te,G),m(t)&&"function"!=typeof f(t)&&y(t,((e,t)=>{pe(e,t)||(P.validated?U():N())}),{deep:!0}),!w)return G;const J=c((()=>{const e=E.value;return!e||z(e)||oe(e)||ae(e)||Array.isArray(e)?{}:Object.keys(e).reduce(((t,n)=>{const r=(i=e[n],Array.isArray(i)?i.filter(ie):je(i).filter((e=>ie(i[e]))).map((e=>i[e]))).map((e=>e.__locatorRef)).reduce(((e,t)=>{const n=ye(w.values,t)||w.values[t];return void 0!==n&&(e[t]=n),e}),{});var i;return Object.assign(t,r),t}),{})}));return y(J,((e,t)=>{if(!Object.keys(e).length)return;!pe(e,t)&&(P.validated?U():N())})),g((()=>{var e;const t=null!==(e=d(G.keepValueOnUnmount))&&void 0!==e?e:d(w.keepValuesOnUnmount),n=d(F);if(t||!w||B.pendingUnmount[G.id])return void(null==w||w.removePathState(n,k));B.pendingUnmount[G.id]=!0;const r=w.getPathState(n);if(Array.isArray(null==r?void 0:r.id)&&(null==r?void 0:r.multiple)?null==r?void 0:r.id.includes(G.id):(null==r?void 0:r.id)===G.id){if((null==r?void 0:r.multiple)&&Array.isArray(r.value)){const e=r.value.findIndex((e=>pe(e,d(G.checkedValue))));if(e>-1){const t=[...r.value];t.splice(e,1),w.setFieldValue(n,t)}Array.isArray(r.id)&&r.id.splice(r.id.indexOf(G.id),1)}else w.unsetPathValue(d(F));w.removePathState(n,k)}})),G}function Ye(e,t){if(e)return e.props[t]}function Xe(e,t){let n=e.as||"";return e.as||t.slots.default||(n="input"),n}function He(e,t){return le(t.attrs.type)?ve(e,"modelValue")?e.modelValue:void 0:ve(e,"modelValue")?e.modelValue:t.attrs.value}const Qe=e({name:"Field",inheritAttrs:!1,props:{as:{type:[String,Object],default:void 0},name:{type:String,required:!0},rules:{type:[Object,String,Function],default:void 0},validateOnMount:{type:Boolean,default:!1},validateOnBlur:{type:Boolean,default:void 0},validateOnChange:{type:Boolean,default:void 0},validateOnInput:{type:Boolean,default:void 0},validateOnModelUpdate:{type:Boolean,default:void 0},bails:{type:Boolean,default:()=>$e().bails},label:{type:String,default:void 0},uncheckedValue:{type:null,default:void 0},modelValue:{type:null,default:ne},modelModifiers:{type:null,default:()=>({})},"onUpdate:modelValue":{type:null,default:void 0},standalone:{type:Boolean,default:!1},keepValue:{type:Boolean,default:void 0}},setup(e,t){const n=w(e,"rules"),r=w(e,"name"),i=w(e,"label"),a=w(e,"uncheckedValue"),o=w(e,"keepValue"),{errors:l,value:u,errorMessage:s,validate:d,handleChange:f,handleBlur:v,setTouched:p,resetField:h,handleReset:m,meta:y,checked:g,setErrors:b}=Ke(r,n,{validateOnMount:e.validateOnMount,bails:e.bails,standalone:e.standalone,type:t.attrs.type,initialValue:He(e,t),checkedValue:t.attrs.value,uncheckedValue:a,label:i,validateOnValueUpdate:e.validateOnModelUpdate,keepValueOnUnmount:o,syncVModel:!0}),O=function(e,t=!0){f(e,t)},j=c((()=>{const{validateOnInput:n,validateOnChange:r,validateOnBlur:i,validateOnModelUpdate:a}=function(e){var t,n,r,i;const{validateOnInput:a,validateOnChange:o,validateOnBlur:l,validateOnModelUpdate:u}=$e();return{validateOnInput:null!==(t=e.validateOnInput)&&void 0!==t?t:a,validateOnChange:null!==(n=e.validateOnChange)&&void 0!==n?n:o,validateOnBlur:null!==(r=e.validateOnBlur)&&void 0!==r?r:l,validateOnModelUpdate:null!==(i=e.validateOnModelUpdate)&&void 0!==i?i:u}}(e);const o={name:e.name,onBlur:function(e){v(e,i),z(t.attrs.onBlur)&&t.attrs.onBlur(e)},onInput:function(e){O(e,n),z(t.attrs.onInput)&&t.attrs.onInput(e)},onChange:function(e){O(e,r),z(t.attrs.onChange)&&t.attrs.onChange(e)},"onUpdate:modelValue":e=>O(e,a)};return o})),V=c((()=>{const n=Object.assign({},j.value);le(t.attrs.type)&&g&&(n.checked=g.value);return ce(Xe(e,t),t.attrs)&&(n.value=u.value),n})),S=c((()=>Object.assign(Object.assign({},j.value),{modelValue:u.value})));function A(){return{field:V.value,componentField:S.value,value:u.value,meta:y,errors:l.value,errorMessage:s.value,validate:d,resetField:h,handleChange:O,handleInput:e=>O(e,!1),handleReset:m,handleBlur:j.value.onBlur,setTouched:p,setErrors:b}}return t.expose({setErrors:b,setTouched:p,reset:h,validate:d,handleChange:f}),()=>{const n=F(Xe(e,t)),r=Pe(n,t,A);return n?E(n,Object.assign(Object.assign({},t.attrs),V.value),r):r}}});let et=0;const tt=["bails","fieldsCount","id","multiple","type","validate"];function nt(e){const t=f(null==e?void 0:e.initialValues)||{},n=f(null==e?void 0:e.validationSchema);return n&&ae(n)&&z(n.cast)?Q(n.cast(t)||{}):Q(t)}function rt(e){var t;const n=et++;let r=0;const i=b(!1),a=b(!1),o=b(0),l=[],u=O(nt(e)),s=b([]),p=b({}),g=b({}),A=function(e){let t=null,n=[];return function(...r){const i=j((()=>{if(t!==i)return;const a=e(...r);n.forEach((e=>e(a))),n=[],t=null}));return t=i,new Promise((e=>n.push(e)))}}((()=>{g.value=s.value.reduce(((e,t)=>(e[Z(d(t.path))]=t,e)),{})}));function w(e,t){const n=G(e);if(n){if("string"==typeof e){const t=Z(e);p.value[t]&&delete p.value[t]}n.errors=ke(t),n.valid=!n.errors.length}else"string"==typeof e&&(p.value[Z(e)]=ke(t))}function F(e){je(e).forEach((t=>{w(t,e[t])}))}(null==e?void 0:e.initialErrors)&&F(e.initialErrors);const E=c((()=>{const e=s.value.reduce(((e,t)=>(t.errors.length&&(e[t.path]=t.errors),e)),{});return Object.assign(Object.assign({},p.value),e)})),_=c((()=>je(E.value).reduce(((e,t)=>{const n=E.value[t];return(null==n?void 0:n.length)&&(e[t]=n[0]),e}),{}))),x=c((()=>s.value.reduce(((e,t)=>(e[t.path]={name:t.path||"",label:t.label||""},e)),{}))),P=c((()=>s.value.reduce(((e,t)=>{var n;return e[t.path]=null===(n=t.bails)||void 0===n||n,e}),{}))),I=Object.assign({},(null==e?void 0:e.initialErrors)||{}),M=null!==(t=null==e?void 0:e.keepValuesOnUnmount)&&void 0!==t&&t,{initialValues:B,originalInitialValues:T,setInitialValues:C}=function(e,t,n){const r=nt(n),i=null==n?void 0:n.initialValues,a=b(r),o=b(Q(r));function l(n,r=!1){a.value=K(Q(a.value)||{},Q(n)),o.value=K(Q(o.value)||{},Q(n)),r&&e.value.forEach((e=>{if(e.touched)return;const n=ye(a.value,e.path);ge(t,e.path,Q(n))}))}m(i)&&y(i,(e=>{e&&l(e,!0)}),{deep:!0});return{initialValues:a,originalInitialValues:o,setInitialValues:l}}(s,u,e),U=function(e,t,n,r){const i={touched:"some",pending:"some",valid:"every"},a=c((()=>!pe(t,f(n))));function o(){const t=e.value;return je(i).reduce(((e,n)=>{const r=i[n];return e[n]=t[r]((e=>e[n])),e}),{})}const l=O(o());return S((()=>{const e=o();l.touched=e.touched,l.valid=e.valid,l.pending=e.pending})),c((()=>Object.assign(Object.assign({initialValues:f(n)},l),{valid:l.valid&&!je(r.value).length,dirty:a.value})))}(s,u,T,_),N=c((()=>s.value.reduce(((e,t)=>{const n=ye(u,t.path);return ge(e,t.path,n),e}),{}))),$=null==e?void 0:e.validationSchema;function D(e,t){var n,i;const a=c((()=>ye(B.value,d(e)))),o=g.value[d(e)];if(o){"checkbox"!==(null==t?void 0:t.type)&&"radio"!==(null==t?void 0:t.type)||(o.multiple=!0);const e=r++;return Array.isArray(o.id)?o.id.push(e):o.id=[o.id,e],o.fieldsCount++,o.__flags.pendingUnmount[e]=!1,o}const l=c((()=>ye(u,d(e)))),v=d(e),p=r++,h=O({id:p,path:e,touched:!1,pending:!1,valid:!0,validated:!!(null===(n=I[v])||void 0===n?void 0:n.length),initialValue:a,errors:k([]),bails:null!==(i=null==t?void 0:t.bails)&&void 0!==i&&i,label:null==t?void 0:t.label,type:(null==t?void 0:t.type)||"default",value:l,multiple:!1,__flags:{pendingUnmount:{[p]:!1},pendingReset:!1},fieldsCount:1,validate:null==t?void 0:t.validate,dirty:c((()=>!pe(f(l),f(a))))});return s.value.push(h),g.value[v]=h,A(),_.value[v]&&!I[v]&&j((()=>{ve(v,{mode:"silent"})})),m(e)&&y(e,(e=>{A();const t=Q(l.value);g.value[e]=h,j((()=>{ge(u,e,t)}))})),h}const L=Ae(be,5),R=Ae(be,5),q=Fe((async e=>"silent"===await e?L():R()),((e,[t])=>{const n=je(te.errorBag.value);return[...new Set([...je(e.results),...s.value.map((e=>e.path)),...n])].sort().reduce(((n,r)=>{const i=r,a=G(i)||function(e){const t=s.value.filter((t=>e.startsWith(t.path)));return t.reduce(((e,t)=>e?t.path.length>e.path.length?t:e:t),void 0)}(i),o=(e.results[i]||{errors:[]}).errors,l={errors:o,valid:!o.length};return n.results[i]=l,l.valid||(n.errors[i]=l.errors[0]),a&&p.value[i]&&delete p.value[i],a?(a.valid=l.valid,"silent"===t?n:"validated-only"!==t||a.validated?(w(a,l.errors),n):n):(w(i,o),n)}),{valid:e.valid,results:{},errors:{}})}));function W(e){s.value.forEach(e)}function G(e){const t="string"==typeof e?Z(e):e;return"string"==typeof t?g.value[t]:t}let J,Y=[];function X(e){return function(t,n){return function(r){return r instanceof Event&&(r.preventDefault(),r.stopPropagation()),W((e=>e.touched=!0)),i.value=!0,o.value++,fe().then((i=>{const a=Q(u);if(i.valid&&"function"==typeof t){const n=Q(N.value);let o=e?n:a;return i.values&&(o=i.values),t(o,{evt:r,controlledValues:n,setErrors:F,setFieldError:w,setTouched:ue,setFieldTouched:le,setValues:re,setFieldValue:ne,resetForm:ce,resetField:se})}i.valid||"function"!=typeof n||n({values:a,evt:r,errors:i.errors,results:i.results})})).then((e=>(i.value=!1,e)),(e=>{throw i.value=!1,e}))}}}const H=X(!1);H.withControlled=X(!0);const te={formId:n,values:u,controlledValues:N,errorBag:E,errors:_,schema:$,submitCount:o,meta:U,isSubmitting:i,isValidating:a,fieldArrays:l,keepValuesOnUnmount:M,validateSchema:f($)?q:void 0,validate:fe,setFieldError:w,validateField:ve,setFieldValue:ne,setValues:re,setErrors:F,setFieldTouched:le,setTouched:ue,resetForm:ce,resetField:se,handleSubmit:H,stageInitialValue:function(t,n,r=!1){me(t,n),ge(u,t,n),r&&!(null==e?void 0:e.initialValues)&&ge(T.value,t,Q(n))},unsetInitialValue:he,setFieldInitialValue:me,useFieldModel:function(e){if(!Array.isArray(e))return ie(e);return e.map(ie)},createPathState:D,getPathState:G,unsetPathValue:function(e){return Y.push(e),J||(J=j((()=>{[...Y].sort().reverse().forEach((e=>{Oe(u,e)})),Y=[],J=null}))),J},removePathState:function(e,t){const n=s.value.findIndex((t=>t.path===e)),r=s.value[n];if(-1!==n&&r){if(j((()=>{ve(e,{mode:"silent",warn:!1})})),r.multiple&&r.fieldsCount&&r.fieldsCount--,Array.isArray(r.id)){const e=r.id.indexOf(t);e>=0&&r.id.splice(e,1),delete r.__flags.pendingUnmount[t]}(!r.multiple||r.fieldsCount<=0)&&(s.value.splice(n,1),he(e),A(),delete g.value[e])}},initialValues:B,getAllPathStates:()=>s.value,markForUnmount:function(e){return W((t=>{t.path.startsWith(e)&&je(t.__flags.pendingUnmount).forEach((e=>{t.__flags.pendingUnmount[e]=!0}))}))},isFieldTouched:function(e){var t;return!!(null===(t=G(e))||void 0===t?void 0:t.touched)},isFieldDirty:function(e){var t;return!!(null===(t=G(e))||void 0===t?void 0:t.dirty)},isFieldValid:function(e){var t;return!!(null===(t=G(e))||void 0===t?void 0:t.valid)}};function ne(e,t,n=!0){const r=Q(t),i="string"==typeof e?e:e.path;G(i)||D(i),ge(u,i,r),n&&ve(i)}function re(e,t=!0){K(u,e),l.forEach((e=>e&&e.reset())),t&&fe()}function ie(e){const t=G(f(e))||D(e);return c({get:()=>t.value,set(n){const r=f(e);ne(r,n,!1),t.validated=!0,t.pending=!0,ve(r).then((()=>{t.pending=!1}))}})}function le(e,t){const n=G(e);n&&(n.touched=t)}function ue(e){"boolean"!=typeof e?je(e).forEach((t=>{le(t,!!e[t])})):W((t=>{t.touched=e}))}function se(e,t){var n;const r=t&&"value"in t?t.value:ye(B.value,e),i=G(e);i&&(i.__flags.pendingReset=!0),me(e,Q(r)),ne(e,r,!1),le(e,null!==(n=null==t?void 0:t.touched)&&void 0!==n&&n),w(e,(null==t?void 0:t.errors)||[]),j((()=>{i&&(i.__flags.pendingReset=!1)}))}function ce(e,t){let n=(null==e?void 0:e.values)?e.values:T.value;n=ae($)&&z($.cast)?$.cast(n):n,C(n),W((t=>{var r;t.__flags.pendingReset=!0,t.validated=!1,t.touched=(null===(r=null==e?void 0:e.touched)||void 0===r?void 0:r[t.path])||!1,ne(t.path,ye(n,t.path),!1),w(t.path,void 0)})),(null==t?void 0:t.force)?function(e,t=!0){je(u).forEach((e=>{delete u[e]})),je(e).forEach((t=>{ne(t,e[t],!1)})),t&&fe()}(n,!1):re(n,!1),F((null==e?void 0:e.errors)||{}),o.value=(null==e?void 0:e.submitCount)||0,j((()=>{fe({mode:"silent"}),W((e=>{e.__flags.pendingReset=!1}))}))}async function fe(e){const t=(null==e?void 0:e.mode)||"force";if("force"===t&&W((e=>e.validated=!0)),te.validateSchema)return te.validateSchema(t);a.value=!0;const n=await Promise.all(s.value.map((t=>t.validate?t.validate(e).then((e=>({key:t.path,valid:e.valid,errors:e.errors}))):Promise.resolve({key:t.path,valid:!0,errors:[]}))));a.value=!1;const r={},i={};for(const e of n)r[e.key]={valid:e.valid,errors:e.errors},e.errors.length&&(i[e.key]=e.errors[0]);return{valid:n.every((e=>e.valid)),results:r,errors:i}}async function ve(e,t){const n=G(e);if(n&&"silent"!==(null==t?void 0:t.mode)&&(n.validated=!0),$){const{results:n}=await q((null==t?void 0:t.mode)||"validated-only");return n[e]||{errors:[],valid:!0}}return(null==n?void 0:n.validate)?n.validate(t):(!n&&(null==t?void 0:t.warn),Promise.resolve({errors:[],valid:!0}))}function he(e){Oe(B.value,e)}function me(e,t){ge(B.value,e,Q(t))}async function be(){const e=f($);if(!e)return{valid:!0,results:{},errors:{}};a.value=!0;const t=oe(e)||ae(e)?await async function(e,t){const n=ae(e)?e:Re(e),r=await n.parse(Q(t)),i={},a={};for(const e of r.errors){const t=e.errors,n=(e.path||"").replace(/\["(\d+)"\]/g,((e,t)=>`[${t}]`));i[n]={valid:!t.length,errors:t},t.length&&(a[n]=t[0])}return{valid:!r.errors.length,results:i,errors:a,values:r.value}}(e,u):await We(e,u,{names:x.value,bailsMap:P.value});return a.value=!1,t}const Ve=H(((e,{evt:t})=>{de(t)&&t.target.submit()}));return v((()=>{(null==e?void 0:e.initialErrors)&&F(e.initialErrors),(null==e?void 0:e.initialTouched)&&ue(e.initialTouched),(null==e?void 0:e.validateOnMount)?fe():te.validateSchema&&te.validateSchema("silent")})),m($)&&y($,(()=>{var e;null===(e=te.validateSchema)||void 0===e||e.call(te,"validated-only")})),h(ee,te),Object.assign(Object.assign({},te),{values:V(u),handleReset:()=>ce(),submitForm:Ve,defineComponentBinds:function(e,t){const n=G(d(e))||D(e),r=()=>z(t)?t(xe(n,tt)):t||{};function i(){var e;n.touched=!0;(null!==(e=r().validateOnBlur)&&void 0!==e?e:$e().validateOnBlur)&&ve(n.path)}function a(e){var t;const i=null!==(t=r().validateOnModelUpdate)&&void 0!==t?t:$e().validateOnModelUpdate;ne(n.path,e,i)}const o=c((()=>{if(z(t)){const e=t(n),r=e.model||"modelValue";return Object.assign({onBlur:i,[r]:n.value,[`onUpdate:${r}`]:a},e.props||{})}const e=(null==t?void 0:t.model)||"modelValue",r={onBlur:i,[e]:n.value,[`onUpdate:${e}`]:a};return(null==t?void 0:t.mapProps)?Object.assign(Object.assign({},r),t.mapProps(xe(n,tt))):r}));return o},defineInputBinds:function(e,t){const n=G(d(e))||D(e),r=()=>z(t)?t(xe(n,tt)):t||{};function i(){var e;n.touched=!0;(null!==(e=r().validateOnBlur)&&void 0!==e?e:$e().validateOnBlur)&&ve(n.path)}function a(e){var t;const i=Be(e),a=null!==(t=r().validateOnInput)&&void 0!==t?t:$e().validateOnInput;ne(n.path,i,a)}function o(e){var t;const i=Be(e),a=null!==(t=r().validateOnChange)&&void 0!==t?t:$e().validateOnChange;ne(n.path,i,a)}return c((()=>{const e={value:n.value,onChange:o,onInput:a,onBlur:i};return z(t)?Object.assign(Object.assign({},e),t(xe(n,tt)).attrs||{}):(null==t?void 0:t.mapAttrs)?Object.assign(Object.assign({},e),t.mapAttrs(xe(n,tt))):e}))}})}const it=e({name:"Form",inheritAttrs:!1,props:{as:{type:null,default:"form"},validationSchema:{type:Object,default:void 0},initialValues:{type:Object,default:void 0},initialErrors:{type:Object,default:void 0},initialTouched:{type:Object,default:void 0},validateOnMount:{type:Boolean,default:!1},onSubmit:{type:Function,default:void 0},onInvalidSubmit:{type:Function,default:void 0},keepValues:{type:Boolean,default:!1}},setup(e,t){const n=w(e,"initialValues"),r=w(e,"validationSchema"),i=w(e,"keepValues"),{errors:a,errorBag:o,values:l,meta:u,isSubmitting:s,isValidating:c,submitCount:d,controlledValues:f,validate:v,validateField:p,handleReset:h,resetForm:m,handleSubmit:y,setErrors:g,setFieldError:b,setFieldValue:O,setValues:j,setFieldTouched:V,setTouched:S,resetField:A}=rt({validationSchema:r.value?r:void 0,initialValues:n,initialErrors:e.initialErrors,initialTouched:e.initialTouched,validateOnMount:e.validateOnMount,keepValuesOnUnmount:i}),k=y(((e,{evt:t})=>{de(t)&&t.target.submit()}),e.onInvalidSubmit),_=e.onSubmit?y(e.onSubmit,e.onInvalidSubmit):k;function x(e){fe(e)&&e.preventDefault(),h(),"function"==typeof t.attrs.onReset&&t.attrs.onReset()}function P(t,n){return y("function"!=typeof t||n?n:t,e.onInvalidSubmit)(t)}function I(){return Q(l)}function M(){return Q(u.value)}function B(){return Q(a.value)}function T(){return{meta:u.value,errors:a.value,errorBag:o.value,values:l,isSubmitting:s.value,isValidating:c.value,submitCount:d.value,controlledValues:f.value,validate:v,validateField:p,handleSubmit:P,handleReset:h,submitForm:k,setErrors:g,setFieldError:b,setFieldValue:O,setValues:j,setFieldTouched:V,setTouched:S,resetForm:m,resetField:A,getValues:I,getMeta:M,getErrors:B}}return t.expose({setFieldError:b,setErrors:g,setFieldValue:O,setValues:j,setFieldTouched:V,setTouched:S,resetForm:m,validate:v,validateField:p,resetField:A,getValues:I,getMeta:M,getErrors:B}),function(){const n="form"===e.as?e.as:e.as?F(e.as):null,r=Pe(n,t,T);if(!n)return r;const i="form"===n?{novalidate:!0}:{};return E(n,Object.assign(Object.assign(Object.assign({},i),t.attrs),{onSubmit:_,onReset:x}),r)}}}),at=it;function ot(e){const t=Ve(ee,void 0),n=b([]),r=()=>{},i={fields:n,remove:r,push:r,swap:r,insert:r,update:r,replace:r,prepend:r,move:r};if(!t)return i;if(!f(e))return i;const a=t.fieldArrays.find((t=>f(t.path)===f(e)));if(a)return a;let o=0;function l(){return ye(null==t?void 0:t.values,f(e),[])||[]}function u(){const e=l();Array.isArray(e)&&(n.value=e.map(((e,t)=>c(e,t,n.value))),s())}function s(){const e=n.value.length;for(let t=0;te.key===l));return-1===a?r:i[a]},set(e){const t=n.value.findIndex((e=>e.key===l));-1!==t&&v(t,e)}}),isFirst:!1,isLast:!1};return u}function d(){s(),null==t||t.validate({mode:"silent"})}function v(n,r){const i=f(e),a=ye(null==t?void 0:t.values,i);!Array.isArray(a)||a.length-1{const n=t.fieldArrays.findIndex((t=>f(t.path)===f(e)));n>=0&&t.fieldArrays.splice(n,1)})),y(l,(e=>{pe(e,n.value.map((e=>e.value)))||u()})),p}const lt=e({name:"FieldArray",inheritAttrs:!1,props:{name:{type:String,required:!0}},setup(e,t){const{push:n,remove:r,swap:i,insert:a,replace:o,update:l,prepend:u,move:s,fields:c}=ot(w(e,"name"));function d(){return{fields:c.value,push:n,remove:r,swap:i,insert:a,update:l,replace:o,prepend:u,move:s}}return t.expose({push:n,remove:r,swap:i,insert:a,update:l,replace:o,prepend:u,move:s}),()=>Pe(void 0,t,d)}}),ut=e({name:"ErrorMessage",props:{as:{type:String,default:void 0},name:{type:String,required:!0}},setup(e,t){const n=A(ee,void 0),r=c((()=>null==n?void 0:n.errors.value[e.name]));function i(){return{message:r.value}}return()=>{if(!r.value)return;const n=e.as?F(e.as):e.as,a=Pe(n,t,i),o=Object.assign({role:"alert"},t.attrs);return n||!Array.isArray(a)&&a||!(null==a?void 0:a.length)?!Array.isArray(a)&&a||(null==a?void 0:a.length)?E(n,o,a):E(n||"span",o,r.value):a}}});var st=Object.freeze({__proto__:null,ErrorMessage:ut,Field:Qe,FieldArray:lt,FieldContextKey:te,Form:at,FormContextKey:ee,IS_ABSENT:ne,configure:De,defineRule:X,normalizeRules:Te,useField:Ke,useFieldArray:ot,useFieldError:function(e){const t=Ve(ee),n=e?void 0:A(te);return c((()=>e?null==t?void 0:t.errors.value[d(e)]:null==n?void 0:n.errorMessage.value))},useFieldValue:function(e){const t=Ve(ee),n=e?void 0:A(te);return c((()=>e?ye(null==t?void 0:t.values,d(e)):d(null==n?void 0:n.value)))},useForm:rt,useFormErrors:function(){const e=Ve(ee);return c((()=>(null==e?void 0:e.errors.value)||{}))},useFormValues:function(){const e=Ve(ee);return c((()=>(null==e?void 0:e.values)||{}))},useIsFieldDirty:function(e){const t=_e(e);return c((()=>{var e,n;return!!t&&(null!==(n="meta"in t?t.meta.dirty:null===(e=null==t?void 0:t.value)||void 0===e?void 0:e.dirty)&&void 0!==n&&n)}))},useIsFieldTouched:function(e){const t=_e(e);return c((()=>{var e,n;return!!t&&(null!==(n="meta"in t?t.meta.touched:null===(e=null==t?void 0:t.value)||void 0===e?void 0:e.touched)&&void 0!==n&&n)}))},useIsFieldValid:function(e){const t=_e(e);return c((()=>{var e,n;return!!t&&(null!==(n="meta"in t?t.meta.valid:null===(e=null==t?void 0:t.value)||void 0===e?void 0:e.valid)&&void 0!==n&&n)}))},useIsFormDirty:function(){const e=Ve(ee);return c((()=>{var t;return null!==(t=null==e?void 0:e.meta.value.dirty)&&void 0!==t&&t}))},useIsFormTouched:function(){const e=Ve(ee);return c((()=>{var t;return null!==(t=null==e?void 0:e.meta.value.touched)&&void 0!==t&&t}))},useIsFormValid:function(){const e=Ve(ee);return c((()=>{var t;return null!==(t=null==e?void 0:e.meta.value.valid)&&void 0!==t&&t}))},useIsSubmitting:function(){const e=Ve(ee);return c((()=>{var t;return null!==(t=null==e?void 0:e.isSubmitting.value)&&void 0!==t&&t}))},useIsValidating:function(){const e=Ve(ee);return c((()=>{var t;return null!==(t=null==e?void 0:e.isValidating.value)&&void 0!==t&&t}))},useResetForm:function(){const e=Ve(ee);return function(t){if(e)return e.resetForm(t)}},useSetFieldError:function(e){const t=Ve(ee),n=e?void 0:A(te);return function(r){e&&t?t.setFieldError(d(e),r):n&&n.setErrors(r||[])}},useSetFieldTouched:function(e){const t=Ve(ee),n=e?void 0:A(te);return function(r){e&&t?t.setFieldTouched(d(e),r):n&&n.setTouched(r)}},useSetFieldValue:function(e){const t=Ve(ee),n=e?void 0:A(te);return function(r,i=!0){e&&t?t.setFieldValue(d(e),r,i):n&&n.setValue(r,i)}},useSetFormErrors:function(){const e=Ve(ee);return function(t){e&&e.setErrors(t)}},useSetFormTouched:function(){const e=Ve(ee);return function(t){e&&e.setTouched(t)}},useSetFormValues:function(){const e=Ve(ee);return function(t,n=!0){e&&e.setValues(t,n)}},useSubmitCount:function(){const e=Ve(ee);return c((()=>{var t;return null!==(t=null==e?void 0:e.submitCount.value)&&void 0!==t?t:0}))},useSubmitForm:function(e){const t=Ve(ee),n=t?t.handleSubmit(e):void 0;return function(e){if(n)return n(e)}},useValidateField:function(e){const t=Ve(ee),n=e?void 0:A(te);return function(){return n?n.validate():t&&e?null==t?void 0:t.validateField(d(e)):Promise.resolve({errors:[],valid:!0})}},useValidateForm:function(){const e=Ve(ee);return function(){return e?e.validate():Promise.resolve({results:{},errors:{},valid:!0})}},validate:Le,validateObject:We}); -/** - * vee-validate v4.11.8 - * (c) 2023 Abdelrahman Awad - * @license MIT - */function ct(e){return null==e||""===e||!(!Array.isArray(e)||0!==e.length)}const dt=e=>{if(ct(e))return!0;const t=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;return Array.isArray(e)?e.every((e=>t.test(String(e)))):t.test(String(e))},ft=e=>{if(ct(e))return!0;const t=/\.(jpg|svg|jpeg|png|bmp|gif|webp)$/i;return Array.isArray(e)?e.every((e=>t.test(e.name))):t.test(e.name)};const vt=e=>{return!function(e){return null==e}(e)&&(t=e,!Array.isArray(t)||0!==t.length)&&!1!==e&&!!String(e).trim().length;var t};var pt={install:function(e,t){X("required",vt),X("requiredArray",(function(e){return!(null!==e&&"object"===I(e)&&Array.isArray(e)&&e.length<2)||"{_field_} array must contain more than one element"})),X("requiredOb",(function(e){return null===e||"object"!==I(e)||0!==Object.keys(e).length||"{_field_} object must not be empty"})),X("email",dt),X("image",ft),X("private_username",function(){var e=B(P().mark((function e(t){var n,r,i,a,o,l,u;return P().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=p(),r=n.app,i=null==r?void 0:r.appContext.config.globalProperties.$axios,!((a=t.length)<5||a>40)){e.next=7;break}return e.abrupt("return","{_field_} length must be between 5 and 40 characters");case 7:return(o=new FormData).set("user_name",t),e.next=11,i.post("/user/validate/username",o);case 11:if(l=e.sent,(u=l.data).valid){e.next=17;break}return e.abrupt("return",u.message);case 17:return e.abrupt("return",!0);case 18:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),X("password",(function(e,t){if(e!==C(t,1)[0])return"The passwords do not match."})),e.mixin({data:function(){return{get cleanObject(){return t.cleanObject||!1}}}})}},ht=null;"undefined"!=typeof window?ht=window.Vue:"undefined"!=typeof global&&(ht=global.Vue),ht&&ht.use(pt);export{x as _,B as a,P as b,T as c,L as m,pt as p,R as s,D as v}; \ No newline at end of file diff --git a/dist/entry-c1fde67d.js b/dist/entry-c1fde67d.js deleted file mode 100644 index 04cd0c5..0000000 --- a/dist/entry-c1fde67d.js +++ /dev/null @@ -1,12 +0,0 @@ -"use strict";var e=require("vue");function t(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function n(e){for(var n=1;n=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var l=o.call(a,"catchLoc"),s=o.call(a,"finallyLoc");if(l&&s){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),C(n),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;C(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:P(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),y}},t}function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function i(e,t,n,r,o,i,a){try{var u=e[i](a),l=u.value}catch(e){return void n(e)}u.done?t(l):Promise.resolve(l).then(r,o)}function a(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var a=e.apply(t,n);function u(e){i(a,r,o,u,l,"next",e)}function l(e){i(a,r,o,u,l,"throw",e)}u(void 0)}))}}function u(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,u=[],l=!0,s=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(u.push(r.value),u.length!==t);l=!0);}catch(e){s=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw o}}return u}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0||"array"===this.type&&this.modelValue.length>0?this.modelData=JSON.parse(JSON.stringify(this.modelValue)):"boolean"===this.type&&null!==this.modelValue||"string"===this.type||"number"===this.type||"integer"===this.type?this.modelData=this.modelValue:this.modelData=this.initWithBlank():this.modelData=this.initWithBlank()},initWithBlank:function(){return"object"===this.type||"key-value-pairs"===this.type?{}:"array"===this.type?[]:"boolean"!==this.type&&("number"===this.type||"integer"===this.type?null:"")},clean:function(e){if("object"===this.type||"key-value-pairs"===this.type)Object.keys(e).forEach((function(t){var n="";void 0!==(n="string"!=typeof e[t]?JSON.stringify(e[t]):e[t])&&"null"!==n&&""!==n&&"{}"!==n&&"[]"!==n||delete e[t]}));else if("array"===this.type){e.map((function(e,t){return{item:e,idx:t}})).filter((function(e){var t=e.item,n="";return void 0===(n="string"!=typeof t?JSON.stringify(t):t)||"null"===n||""===n||"{}"===n||"[]"===n})).map((function(e){return e.idx})).forEach((function(t){return e.splice(t,1)}))}}}}),p=e.defineComponent({name:"VueOpenapiForm",components:{AcForm:e.defineAsyncComponent((function(){return Promise.resolve().then((function(){return require("./Form-0dec9ace.js")}))})),FormFooterControl:e.defineAsyncComponent((function(){return Promise.resolve().then((function(){return require("./FormFooterControl-9c8c3f48.js")}))}))},mixins:[v,f],provide:function(){var e=this,t={};return Object.defineProperty(t,"theme",{enumerable:!0,get:function(){return e.themeMode}}),{providedData:t}},props:{schema:{type:Object,default:function(){return{}}},modelValue:{type:Object,default:function(){return{}}},formTitle:{type:String,default:""},onlyJson:{type:Boolean,default:!1},size:{type:String,default:"small"},themeMode:{type:String,default:"light"}},computed:{extendedSchema:function(){return d(this.schema,this.formTitle)}}}); -/** - * vee-validate v4.11.8 - * (c) 2023 Abdelrahman Awad - * @license MIT - */ -function h(e){return"function"==typeof e}function m(e){return null==e}p.render=function(t,n,r,o,i,a){var u=e.resolveComponent("object-form-wrapper"),l=e.resolveComponent("v-field"),s=e.resolveComponent("form-footer-control"),c=e.resolveComponent("ac-form"),d=e.resolveComponent("v-form");return e.openBlock(),e.createBlock(d,{ref:"v-form",as:""},{default:e.withCtx((function(r){var o=r.meta,i=r.validate,a=r.errors;return[e.createVNode(c,null,{"form-left-controls":e.withCtx((function(){return[e.createVNode(s,null,{default:e.withCtx((function(){return[e.renderSlot(t.$slots,"left-controls",{validate:i,formStatus:o,errors:a})]})),_:2},1024)]})),"form-right-controls":e.withCtx((function(){return[e.createVNode(s,null,{default:e.withCtx((function(){return[e.renderSlot(t.$slots,"right-controls",{validate:i,formStatus:o,errors:a})]})),_:2},1024)]})),default:e.withCtx((function(){return[e.createElementVNode("div",{class:e.normalizeClass(["vue-openapi-form pl-20",{"is-medium":"medium"===t.size}])},[e.createVNode(l,{modelValue:t.modelData,"onUpdate:modelValue":n[0]||(n[0]=function(e){return t.modelData=e}),name:t.extendedSchema.title,label:t.extendedSchema.title,rules:t.ruleObject(!0),as:""},{default:e.withCtx((function(n){var r=n.field,o=n.handleChange;return[e.createVNode(u,{"field-name":"$","model-value":r.value,"expand-form":!0,"is-root":!0,level:1,"is-self-required":!0,"only-json":t.onlyJson,schema:t.extendedSchema,"reference-model":t.referenceModel||{},errors:a,showRootTab:!0,"onUpdate:modelValue":o},null,8,["model-value","only-json","schema","reference-model","errors","onUpdate:modelValue"])]})),_:2},1032,["modelValue","name","label","rules"])],2)]})),_:2},1024)]})),_:3},512)};const y=e=>null!==e&&!!e&&"object"==typeof e&&!Array.isArray(e);function g(e){return Number(e)>=0}function b(e){if(!function(e){return"object"==typeof e&&null!==e}(e)||"[object Object]"!==function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}(e))return!1;if(null===Object.getPrototypeOf(e))return!0;let t=e;for(;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function O(e,t){return Object.keys(t).forEach((n=>{if(b(t[n]))return e[n]||(e[n]={}),void O(e[n],t[n]);e[n]=t[n]})),e}function V(e){const t=e.split(".");if(!t.length)return"";let n=String(t[0]);for(let e=1;e{return(y(r=e)||Array.isArray(r))&&t in e?e[t]:n;var r}),e)}function z(e,t,n){if(M(t))return void(e[L(t)]=n);const r=t.split(/\.|\[(\d+)\]/).filter(Boolean);let o=e;for(let e=0;eq(e,n.slice(0,r).join("."))));for(let t=o.length-1;t>=0;t--)i=o[t],(Array.isArray(i)?0===i.length:y(i)&&0===Object.keys(i).length)&&(0!==t?W(o[t-1],n[t-1]):W(e,n[0]));var i}function J(e){return Object.keys(e)}function K(t,n=void 0){const r=e.getCurrentInstance();return(null==r?void 0:r.provides[t])||e.inject(t,n)}function Z(e,t,n){if(Array.isArray(e)){const n=[...e],r=n.findIndex((e=>D(e,t)));return r>=0?n.splice(r,1):n.push(t),n}return D(e,t)?n:t}function Y(e,t=0){let n=null,r=[];return function(...o){return n&&clearTimeout(n),n=setTimeout((()=>{const t=e(...o);r.forEach((e=>e(t))),r=[]}),t),new Promise((e=>r.push(e)))}}function X(e,t){return y(t)&&t.number?function(e){const t=parseFloat(e);return isNaN(t)?e:t}(e):e}function H(e,t){let n;return async function(...r){const o=e(...r);n=o;const i=await o;return o!==n||(n=void 0,t(i,r)),i}}function Q({get:t,set:n}){const r=e.ref(S(t()));return e.watch(t,(e=>{D(e,r.value)||(r.value=S(e))}),{deep:!0}),e.watch(r,(e=>{D(e,t())||n(S(e))}),{deep:!0}),r}function ee(e){return Array.isArray(e)?e:e?[e]:[]}function te(t){const n=K(F),r=t?e.computed((()=>null==n?void 0:n.getPathState(e.toValue(t)))):void 0,o=t?void 0:e.inject(E);return!o&&(null==r||r.value),r||o}function ne(e,t){const n={};for(const r in e)t.includes(r)||(n[r]=e[r]);return n}function re(e,t,n){return t.slots.default?"string"!=typeof e&&e?{default:()=>{var e,r;return null===(r=(e=t.slots).default)||void 0===r?void 0:r.call(e,n())}}:t.slots.default(n()):t.slots.default}function oe(e){if(ie(e))return e._value}function ie(e){return"_value"in e}function ae(e){if(!N(e))return e;const t=e.target;if(I(t.type)&&ie(t))return oe(t);if("file"===t.type&&t.files){const e=Array.from(t.files);return t.multiple?e:e[0]}if(T(n=t)&&n.multiple)return Array.from(t.options).filter((e=>e.selected&&!e.disabled)).map(oe);var n;if(T(t)){const e=Array.from(t.options).find((e=>e.selected));return e?oe(e):t.value}return function(e){return"number"===e.type||"range"===e.type?Number.isNaN(e.valueAsNumber)?e.value:e.valueAsNumber:e.value}(t)}function ue(e){const t={};return Object.defineProperty(t,"_$$isNormalized",{value:!0,writable:!1,enumerable:!1,configurable:!1}),e?y(e)&&e._$$isNormalized?e:y(e)?Object.keys(e).reduce(((t,n)=>{const r=function(e){if(!0===e)return[];if(Array.isArray(e))return e;if(y(e))return e;return[e]}(e[n]);return!1!==e[n]&&(t[n]=le(r)),t}),t):"string"!=typeof e?t:e.split("|").reduce(((e,t)=>{const n=se(t);return n.name?(e[n.name]=le(n.params),e):e}),t):t}function le(e){const t=e=>"string"==typeof e&&"@"===e[0]?function(e){const t=t=>q(t,e)||t[e];return t.__locatorRef=e,t}(e.slice(1)):e;return Array.isArray(e)?e.map(t):e instanceof RegExp?[e]:Object.keys(e).reduce(((n,r)=>(n[r]=t(e[r]),n)),{})}const se=e=>{let t=[];const n=e.split(":")[0];return e.includes(":")&&(t=e.split(":").slice(1).join(":").split(",")),{name:n,params:t}};let ce=Object.assign({},{generateMessage:({field:e})=>`${e} is not valid.`,bails:!0,validateOnBlur:!0,validateOnChange:!0,validateOnInput:!1,validateOnModelUpdate:!0});const de=()=>ce,fe=e=>{ce=Object.assign(Object.assign({},ce),e)};async function ve(e,t,n={}){const r=null==n?void 0:n.bails,o={name:(null==n?void 0:n.name)||"{field}",rules:t,label:null==n?void 0:n.label,bails:null==r||r,formData:(null==n?void 0:n.values)||{}},i=await async function(e,t){if(_(e.rules)||P(e.rules))return async function(e,t){const n=_(t)?t:pe(t),r=await n.parse(e),o=[];for(const e of r.errors)e.errors.length&&o.push(...e.errors);return{errors:o}}(t,e.rules);if(h(e.rules)||Array.isArray(e.rules)){const n={field:e.label||e.name,name:e.name,label:e.label,form:e.formData,value:t},r=Array.isArray(e.rules)?e.rules:[e.rules],o=r.length,i=[];for(let a=0;a{const n=t.path||"";return e[n]||(e[n]={errors:[],path:n}),e[n].errors.push(...t.errors),e}),{});return{errors:Object.values(t)}}}}}async function he(e,t,n){const r=(o=n.name,j[o]);var o;if(!r)throw new Error(`No such validator '${n.name}' exists.`);const i=function(e,t){const n=e=>C(e)?e(t):e;if(Array.isArray(e))return e.map(n);return Object.keys(e).reduce(((t,r)=>(t[r]=n(e[r]),t)),{})}(n.params,e.formData),a={field:e.label||e.name,name:e.name,label:e.label,value:t,form:e.formData,rule:Object.assign(Object.assign({},n),{params:i})},u=await r(t,i,a);return"string"==typeof u?{error:u}:{error:u?void 0:me(a)}}function me(e){const t=de().generateMessage;return t?t(e):"Field is invalid"}async function ye(e,t,n){const r=J(e).map((async r=>{var o,i,a;const u=null===(o=null==n?void 0:n.names)||void 0===o?void 0:o[r],l=await ve(q(t,r),e[r],{name:(null==u?void 0:u.name)||r,label:null==u?void 0:u.label,values:t,bails:null===(a=null===(i=null==n?void 0:n.bailsMap)||void 0===i?void 0:i[r])||void 0===a||a});return Object.assign(Object.assign({},l),{path:r})}));let o=!0;const i=await Promise.all(r),a={},u={};for(const e of i)a[e.path]={valid:e.valid,errors:e.errors},e.valid||(o=!1,u[e.path]=e.errors[0]);return{valid:o,results:a,errors:u}}let ge=0;function be(t,n){const{value:r,initialValue:o,setInitialValue:i}=function(t,n,r){const o=e.ref(e.unref(n));function i(){return r?q(r.initialValues.value,e.unref(t),e.unref(o)):e.unref(o)}function a(n){r?r.stageInitialValue(e.unref(t),n,!0):o.value=n}const u=e.computed(i);if(!r){return{value:e.ref(i()),initialValue:u,setInitialValue:a}}const l=function(t,n,r,o){if(e.isRef(t))return e.unref(t);if(void 0!==t)return t;return q(n.values,e.unref(o),e.unref(r))}(n,r,u,t);r.stageInitialValue(e.unref(t),l,!0);const s=e.computed({get:()=>q(r.values,e.unref(t)),set(n){r.setFieldValue(e.unref(t),n,!1)}});return{value:s,initialValue:u,setInitialValue:a}}(t,n.modelValue,n.form);if(!n.form){const{errors:l,setErrors:s}=function(){const t=e.ref([]);return{errors:t,setErrors:e=>{t.value=ee(e)}}}(),c=ge>=Number.MAX_SAFE_INTEGER?0:++ge,d=function(t,n,r){const o=e.reactive({touched:!1,pending:!1,valid:!0,validated:!!e.unref(r).length,initialValue:e.computed((()=>e.unref(n))),dirty:e.computed((()=>!D(e.unref(t),e.unref(n))))});return e.watch(r,(e=>{o.valid=!e.length}),{immediate:!0,flush:"sync"}),o}(r,o,l);function f(e){var t;"value"in e&&(r.value=e.value),"errors"in e&&s(e.errors),"touched"in e&&(d.touched=null!==(t=e.touched)&&void 0!==t?t:d.touched),"initialValue"in e&&i(e.initialValue)}return{id:c,path:t,value:r,initialValue:o,meta:d,flags:{pendingUnmount:{[c]:!1},pendingReset:!1},errors:l,setState:f}}const a=n.form.createPathState(t,{bails:n.bails,label:n.label,type:n.type,validate:n.validate}),u=e.computed((()=>a.errors));return{id:Array.isArray(a.id)?a.id[a.id.length-1]:a.id,path:t,value:r,errors:u,meta:a,initialValue:o,flags:a.__flags,setState:function(o){var a,u,l;"value"in o&&(r.value=o.value),"errors"in o&&(null===(a=n.form)||void 0===a||a.setFieldError(e.unref(t),o.errors)),"touched"in o&&(null===(u=n.form)||void 0===u||u.setFieldTouched(e.unref(t),null!==(l=o.touched)&&void 0!==l&&l)),"initialValue"in o&&i(o.initialValue)}}}function Oe(t,n,r){return I(null==r?void 0:r.type)?function(t,n,r){const o=(null==r?void 0:r.standalone)?void 0:K(F),i=null==r?void 0:r.checkedValue,a=null==r?void 0:r.uncheckedValue;function u(n){const u=n.handleChange,l=e.computed((()=>{const t=e.toValue(n.value),r=e.toValue(i);return Array.isArray(t)?t.findIndex((e=>D(e,r)))>=0:D(r,t)}));function s(s,c=!0){var d,f;if(l.value===(null===(d=null==s?void 0:s.target)||void 0===d?void 0:d.checked))return void(c&&n.validate());const v=e.toValue(t),p=null==o?void 0:o.getPathState(v),h=ae(s);let m=null!==(f=e.toValue(i))&&void 0!==f?f:h;o&&(null==p?void 0:p.multiple)&&"checkbox"===p.type?m=Z(q(o.values,v)||[],m,void 0):"checkbox"===(null==r?void 0:r.type)&&(m=Z(e.toValue(n.value),m,e.toValue(a))),u(m,c)}return Object.assign(Object.assign({},n),{checked:l,checkedValue:i,uncheckedValue:a,handleChange:s})}return u(Ve(t,n,r))}(t,n,r):Ve(t,n,r)}function Ve(t,n,r){const{initialValue:o,validateOnMount:i,bails:a,type:u,checkedValue:l,label:s,validateOnValueUpdate:c,uncheckedValue:d,controlled:f,keepValueOnUnmount:v,syncVModel:p,form:m}=function(t){const n=()=>({initialValue:void 0,validateOnMount:!1,bails:!0,label:void 0,validateOnValueUpdate:!0,keepValueOnUnmount:void 0,syncVModel:!1,controlled:!0}),r=!!(null==t?void 0:t.syncVModel),o="string"==typeof(null==t?void 0:t.syncVModel)?t.syncVModel:(null==t?void 0:t.modelPropName)||"modelValue",i=r&&!("initialValue"in(t||{}))?je(e.getCurrentInstance(),o):null==t?void 0:t.initialValue;if(!t)return Object.assign(Object.assign({},n()),{initialValue:i});const a="valueProp"in t?t.valueProp:t.checkedValue,u="standalone"in t?!t.standalone:t.controlled,l=(null==t?void 0:t.modelPropName)||(null==t?void 0:t.syncVModel)||!1;return Object.assign(Object.assign(Object.assign({},n()),t||{}),{initialValue:i,controlled:null==u||u,checkedValue:a,syncVModel:l})}(r),y=f?K(F):void 0,g=m||y,b=e.computed((()=>V(e.toValue(t)))),O=e.computed((()=>{if(e.toValue(null==g?void 0:g.schema))return;const t=e.unref(n);return P(t)||_(t)||h(t)||Array.isArray(t)?t:ue(t)})),{id:j,value:w,initialValue:A,meta:x,setState:I,errors:M,flags:T}=be(b,{modelValue:o,form:g,bails:a,label:s,type:u,validate:O.value?$:void 0}),B=e.computed((()=>M.value[0]));p&&function({prop:t,value:n,handleChange:r,shouldValidate:o}){const i=e.getCurrentInstance();if(!i||!t)return;const a="string"==typeof t?t:"modelValue",u=`update:${a}`;if(!(a in i.props))return;e.watch(n,(e=>{D(e,je(i,a))||i.emit(u,e)})),e.watch((()=>je(i,a)),(e=>{if(e===k&&void 0===n.value)return;const t=e===k?void 0:e;D(t,n.value)||r(t,o())}))}({value:w,prop:p,handleChange:L,shouldValidate:()=>c&&!T.pendingReset});async function R(t){var n,r;return(null==g?void 0:g.validateSchema)?null!==(n=(await g.validateSchema(t)).results[e.toValue(b)])&&void 0!==n?n:{valid:!0,errors:[]}:O.value?ve(w.value,O.value,{name:e.toValue(b),label:e.toValue(s),values:null!==(r=null==g?void 0:g.values)&&void 0!==r?r:{},bails:a}):{valid:!0,errors:[]}}const N=H((async()=>(x.pending=!0,x.validated=!0,R("validated-only"))),(e=>{if(!T.pendingUnmount[Y.id])return I({errors:e.errors}),x.pending=!1,x.valid=e.valid,e})),U=H((async()=>R("silent")),(e=>(x.valid=e.valid,e)));function $(e){return"silent"===(null==e?void 0:e.mode)?U():N()}function L(e,t=!0){G(ae(e),t)}function z(e){var t;const n=e&&"value"in e?e.value:A.value;I({value:S(n),initialValue:S(n),touched:null!==(t=null==e?void 0:e.touched)&&void 0!==t&&t,errors:(null==e?void 0:e.errors)||[]}),x.pending=!1,x.validated=!1,U()}e.onMounted((()=>{if(i)return N();g&&g.validateSchema||U()}));const W=e.getCurrentInstance();function G(e,t=!0){w.value=W&&p?X(e,W.props.modelModifiers):e;(t?N:U)()}const Z=e.computed({get:()=>w.value,set(e){G(e,c)}}),Y={id:j,name:b,label:s,value:Z,meta:x,errors:M,errorMessage:B,type:u,checkedValue:l,uncheckedValue:d,bails:a,keepValueOnUnmount:v,resetField:z,handleReset:()=>z(),validate:$,handleChange:L,handleBlur:(e,t=!1)=>{x.touched=!0,t&&N()},setState:I,setTouched:function(e){x.touched=e},setErrors:function(e){I({errors:Array.isArray(e)?e:[e]})},setValue:G};if(e.provide(E,Y),e.isRef(n)&&"function"!=typeof e.unref(n)&&e.watch(n,((e,t)=>{D(e,t)||(x.validated?N():U())}),{deep:!0}),!g)return Y;const Q=e.computed((()=>{const e=O.value;return!e||h(e)||P(e)||_(e)||Array.isArray(e)?{}:Object.keys(e).reduce(((t,n)=>{const r=(o=e[n],Array.isArray(o)?o.filter(C):J(o).filter((e=>C(o[e]))).map((e=>o[e]))).map((e=>e.__locatorRef)).reduce(((e,t)=>{const n=q(g.values,t)||g.values[t];return void 0!==n&&(e[t]=n),e}),{});var o;return Object.assign(t,r),t}),{})}));return e.watch(Q,((e,t)=>{if(!Object.keys(e).length)return;!D(e,t)&&(x.validated?N():U())})),e.onBeforeUnmount((()=>{var t;const n=null!==(t=e.toValue(Y.keepValueOnUnmount))&&void 0!==t?t:e.toValue(g.keepValuesOnUnmount),r=e.toValue(b);if(n||!g||T.pendingUnmount[Y.id])return void(null==g||g.removePathState(r,j));T.pendingUnmount[Y.id]=!0;const o=g.getPathState(r);if(Array.isArray(null==o?void 0:o.id)&&(null==o?void 0:o.multiple)?null==o?void 0:o.id.includes(Y.id):(null==o?void 0:o.id)===Y.id){if((null==o?void 0:o.multiple)&&Array.isArray(o.value)){const t=o.value.findIndex((t=>D(t,e.toValue(Y.checkedValue))));if(t>-1){const e=[...o.value];e.splice(t,1),g.setFieldValue(r,e)}Array.isArray(o.id)&&o.id.splice(o.id.indexOf(Y.id),1)}else g.unsetPathValue(e.toValue(b));g.removePathState(r,j)}})),Y}function je(e,t){if(e)return e.props[t]}function we(e,t){let n=e.as||"";return e.as||t.slots.default||(n="input"),n}function Ae(e,t){return I(t.attrs.type)?U(e,"modelValue")?e.modelValue:void 0:U(e,"modelValue")?e.modelValue:t.attrs.value}const Se=e.defineComponent({name:"Field",inheritAttrs:!1,props:{as:{type:[String,Object],default:void 0},name:{type:String,required:!0},rules:{type:[Object,String,Function],default:void 0},validateOnMount:{type:Boolean,default:!1},validateOnBlur:{type:Boolean,default:void 0},validateOnChange:{type:Boolean,default:void 0},validateOnInput:{type:Boolean,default:void 0},validateOnModelUpdate:{type:Boolean,default:void 0},bails:{type:Boolean,default:()=>de().bails},label:{type:String,default:void 0},uncheckedValue:{type:null,default:void 0},modelValue:{type:null,default:k},modelModifiers:{type:null,default:()=>({})},"onUpdate:modelValue":{type:null,default:void 0},standalone:{type:Boolean,default:!1},keepValue:{type:Boolean,default:void 0}},setup(t,n){const r=e.toRef(t,"rules"),o=e.toRef(t,"name"),i=e.toRef(t,"label"),a=e.toRef(t,"uncheckedValue"),u=e.toRef(t,"keepValue"),{errors:l,value:s,errorMessage:c,validate:d,handleChange:f,handleBlur:v,setTouched:p,resetField:m,handleReset:y,meta:g,checked:b,setErrors:O}=Oe(o,r,{validateOnMount:t.validateOnMount,bails:t.bails,standalone:t.standalone,type:n.attrs.type,initialValue:Ae(t,n),checkedValue:n.attrs.value,uncheckedValue:a,label:i,validateOnValueUpdate:t.validateOnModelUpdate,keepValueOnUnmount:u,syncVModel:!0}),V=function(e,t=!0){f(e,t)},j=e.computed((()=>{const{validateOnInput:e,validateOnChange:r,validateOnBlur:o,validateOnModelUpdate:i}=function(e){var t,n,r,o;const{validateOnInput:i,validateOnChange:a,validateOnBlur:u,validateOnModelUpdate:l}=de();return{validateOnInput:null!==(t=e.validateOnInput)&&void 0!==t?t:i,validateOnChange:null!==(n=e.validateOnChange)&&void 0!==n?n:a,validateOnBlur:null!==(r=e.validateOnBlur)&&void 0!==r?r:u,validateOnModelUpdate:null!==(o=e.validateOnModelUpdate)&&void 0!==o?o:l}}(t);const a={name:t.name,onBlur:function(e){v(e,o),h(n.attrs.onBlur)&&n.attrs.onBlur(e)},onInput:function(t){V(t,e),h(n.attrs.onInput)&&n.attrs.onInput(t)},onChange:function(e){V(e,r),h(n.attrs.onChange)&&n.attrs.onChange(e)},"onUpdate:modelValue":e=>V(e,i)};return a})),w=e.computed((()=>{const e=Object.assign({},j.value);I(n.attrs.type)&&b&&(e.checked=b.value);return B(we(t,n),n.attrs)&&(e.value=s.value),e})),A=e.computed((()=>Object.assign(Object.assign({},j.value),{modelValue:s.value})));function S(){return{field:w.value,componentField:A.value,value:s.value,meta:g,errors:l.value,errorMessage:c.value,validate:d,resetField:m,handleChange:V,handleInput:e=>V(e,!1),handleReset:y,handleBlur:j.value.onBlur,setTouched:p,setErrors:O}}return n.expose({setErrors:O,setTouched:p,reset:m,validate:d,handleChange:f}),()=>{const r=e.resolveDynamicComponent(we(t,n)),o=re(r,n,S);return r?e.h(r,Object.assign(Object.assign({},n.attrs),w.value),o):o}}});let Fe=0;const Ee=["bails","fieldsCount","id","multiple","type","validate"];function ke(t){const n=e.unref(null==t?void 0:t.initialValues)||{},r=e.unref(null==t?void 0:t.validationSchema);return r&&_(r)&&h(r.cast)?S(r.cast(n)||{}):S(n)}function xe(t){var n;const r=Fe++;let o=0;const i=e.ref(!1),a=e.ref(!1),u=e.ref(0),l=[],s=e.reactive(ke(t)),c=e.ref([]),d=e.ref({}),f=e.ref({}),v=function(t){let n=null,r=[];return function(...o){const i=e.nextTick((()=>{if(n!==i)return;const e=t(...o);r.forEach((t=>t(e))),r=[],n=null}));return n=i,new Promise((e=>r.push(e)))}}((()=>{f.value=c.value.reduce(((t,n)=>(t[V(e.toValue(n.path))]=n,t)),{})}));function p(e,t){const n=L(e);if(n){if("string"==typeof e){const t=V(e);d.value[t]&&delete d.value[t]}n.errors=ee(t),n.valid=!n.errors.length}else"string"==typeof e&&(d.value[V(e)]=ee(t))}function m(e){J(e).forEach((t=>{p(t,e[t])}))}(null==t?void 0:t.initialErrors)&&m(t.initialErrors);const y=e.computed((()=>{const e=c.value.reduce(((e,t)=>(t.errors.length&&(e[t.path]=t.errors),e)),{});return Object.assign(Object.assign({},d.value),e)})),g=e.computed((()=>J(y.value).reduce(((e,t)=>{const n=y.value[t];return(null==n?void 0:n.length)&&(e[t]=n[0]),e}),{}))),b=e.computed((()=>c.value.reduce(((e,t)=>(e[t.path]={name:t.path||"",label:t.label||""},e)),{}))),j=e.computed((()=>c.value.reduce(((e,t)=>{var n;return e[t.path]=null===(n=t.bails)||void 0===n||n,e}),{}))),w=Object.assign({},(null==t?void 0:t.initialErrors)||{}),A=null!==(n=null==t?void 0:t.keepValuesOnUnmount)&&void 0!==n&&n,{initialValues:E,originalInitialValues:k,setInitialValues:x}=function(t,n,r){const o=ke(r),i=null==r?void 0:r.initialValues,a=e.ref(o),u=e.ref(S(o));function l(e,r=!1){a.value=O(S(a.value)||{},S(e)),u.value=O(S(u.value)||{},S(e)),r&&t.value.forEach((e=>{if(e.touched)return;const t=q(a.value,e.path);z(n,e.path,S(t))}))}e.isRef(i)&&e.watch(i,(e=>{e&&l(e,!0)}),{deep:!0});return{initialValues:a,originalInitialValues:u,setInitialValues:l}}(c,s,t),C=function(t,n,r,o){const i={touched:"some",pending:"some",valid:"every"},a=e.computed((()=>!D(n,e.unref(r))));function u(){const e=t.value;return J(i).reduce(((t,n)=>{const r=i[n];return t[n]=e[r]((e=>e[n])),t}),{})}const l=e.reactive(u());return e.watchEffect((()=>{const e=u();l.touched=e.touched,l.valid=e.valid,l.pending=e.pending})),e.computed((()=>Object.assign(Object.assign({initialValues:e.unref(r)},l),{valid:l.valid&&!J(o.value).length,dirty:a.value})))}(c,s,k,g),I=e.computed((()=>c.value.reduce(((e,t)=>{const n=q(s,t.path);return z(e,t.path,n),e}),{}))),M=null==t?void 0:t.validationSchema;function T(t,n){var r,i;const a=e.computed((()=>q(E.value,e.toValue(t)))),u=f.value[e.toValue(t)];if(u){"checkbox"!==(null==n?void 0:n.type)&&"radio"!==(null==n?void 0:n.type)||(u.multiple=!0);const e=o++;return Array.isArray(u.id)?u.id.push(e):u.id=[u.id,e],u.fieldsCount++,u.__flags.pendingUnmount[e]=!1,u}const l=e.computed((()=>q(s,e.toValue(t)))),d=e.toValue(t),p=o++,h=e.reactive({id:p,path:t,touched:!1,pending:!1,valid:!0,validated:!!(null===(r=w[d])||void 0===r?void 0:r.length),initialValue:a,errors:e.shallowRef([]),bails:null!==(i=null==n?void 0:n.bails)&&void 0!==i&&i,label:null==n?void 0:n.label,type:(null==n?void 0:n.type)||"default",value:l,multiple:!1,__flags:{pendingUnmount:{[p]:!1},pendingReset:!1},fieldsCount:1,validate:null==n?void 0:n.validate,dirty:e.computed((()=>!D(e.unref(l),e.unref(a))))});return c.value.push(h),f.value[d]=h,v(),g.value[d]&&!w[d]&&e.nextTick((()=>{fe(d,{mode:"silent"})})),e.isRef(t)&&e.watch(t,(t=>{v();const n=S(l.value);f.value[t]=h,e.nextTick((()=>{z(s,t,n)}))})),h}const B=Y(me,5),N=Y(me,5),U=H((async e=>"silent"===await e?B():N()),((e,[t])=>{const n=J(Q.errorBag.value);return[...new Set([...J(e.results),...c.value.map((e=>e.path)),...n])].sort().reduce(((n,r)=>{const o=r,i=L(o)||function(e){const t=c.value.filter((t=>e.startsWith(t.path)));return t.reduce(((e,t)=>e?t.path.length>e.path.length?t:e:t),void 0)}(o),a=(e.results[o]||{errors:[]}).errors,u={errors:a,valid:!a.length};return n.results[o]=u,u.valid||(n.errors[o]=u.errors[0]),i&&d.value[o]&&delete d.value[o],i?(i.valid=u.valid,"silent"===t?n:"validated-only"!==t||i.validated?(p(i,u.errors),n):n):(p(o,a),n)}),{valid:e.valid,results:{},errors:{}})}));function $(e){c.value.forEach(e)}function L(e){const t="string"==typeof e?V(e):e;return"string"==typeof t?f.value[t]:t}let W,K=[];function Z(e){return function(t,n){return function(r){return r instanceof Event&&(r.preventDefault(),r.stopPropagation()),$((e=>e.touched=!0)),i.value=!0,u.value++,ce().then((o=>{const i=S(s);if(o.valid&&"function"==typeof t){const n=S(I.value);let a=e?n:i;return o.values&&(a=o.values),t(a,{evt:r,controlledValues:n,setErrors:m,setFieldError:p,setTouched:ue,setFieldTouched:ie,setValues:re,setFieldValue:te,resetForm:se,resetField:le})}o.valid||"function"!=typeof n||n({values:i,evt:r,errors:o.errors,results:o.results})})).then((e=>(i.value=!1,e)),(e=>{throw i.value=!1,e}))}}}const X=Z(!1);X.withControlled=Z(!0);const Q={formId:r,values:s,controlledValues:I,errorBag:y,errors:g,schema:M,submitCount:u,meta:C,isSubmitting:i,isValidating:a,fieldArrays:l,keepValuesOnUnmount:A,validateSchema:e.unref(M)?U:void 0,validate:ce,setFieldError:p,validateField:fe,setFieldValue:te,setValues:re,setErrors:m,setFieldTouched:ie,setTouched:ue,resetForm:se,resetField:le,handleSubmit:X,stageInitialValue:function(e,n,r=!1){he(e,n),z(s,e,n),r&&!(null==t?void 0:t.initialValues)&&z(k.value,e,S(n))},unsetInitialValue:ve,setFieldInitialValue:he,useFieldModel:function(e){if(!Array.isArray(e))return oe(e);return e.map(oe)},createPathState:T,getPathState:L,unsetPathValue:function(t){return K.push(t),W||(W=e.nextTick((()=>{[...K].sort().reverse().forEach((e=>{G(s,e)})),K=[],W=null}))),W},removePathState:function(t,n){const r=c.value.findIndex((e=>e.path===t)),o=c.value[r];if(-1!==r&&o){if(e.nextTick((()=>{fe(t,{mode:"silent",warn:!1})})),o.multiple&&o.fieldsCount&&o.fieldsCount--,Array.isArray(o.id)){const e=o.id.indexOf(n);e>=0&&o.id.splice(e,1),delete o.__flags.pendingUnmount[n]}(!o.multiple||o.fieldsCount<=0)&&(c.value.splice(r,1),ve(t),v(),delete f.value[t])}},initialValues:E,getAllPathStates:()=>c.value,markForUnmount:function(e){return $((t=>{t.path.startsWith(e)&&J(t.__flags.pendingUnmount).forEach((e=>{t.__flags.pendingUnmount[e]=!0}))}))},isFieldTouched:function(e){var t;return!!(null===(t=L(e))||void 0===t?void 0:t.touched)},isFieldDirty:function(e){var t;return!!(null===(t=L(e))||void 0===t?void 0:t.dirty)},isFieldValid:function(e){var t;return!!(null===(t=L(e))||void 0===t?void 0:t.valid)}};function te(e,t,n=!0){const r=S(t),o="string"==typeof e?e:e.path;L(o)||T(o),z(s,o,r),n&&fe(o)}function re(e,t=!0){O(s,e),l.forEach((e=>e&&e.reset())),t&&ce()}function oe(t){const n=L(e.unref(t))||T(t);return e.computed({get:()=>n.value,set(r){const o=e.unref(t);te(o,r,!1),n.validated=!0,n.pending=!0,fe(o).then((()=>{n.pending=!1}))}})}function ie(e,t){const n=L(e);n&&(n.touched=t)}function ue(e){"boolean"!=typeof e?J(e).forEach((t=>{ie(t,!!e[t])})):$((t=>{t.touched=e}))}function le(t,n){var r;const o=n&&"value"in n?n.value:q(E.value,t),i=L(t);i&&(i.__flags.pendingReset=!0),he(t,S(o)),te(t,o,!1),ie(t,null!==(r=null==n?void 0:n.touched)&&void 0!==r&&r),p(t,(null==n?void 0:n.errors)||[]),e.nextTick((()=>{i&&(i.__flags.pendingReset=!1)}))}function se(t,n){let r=(null==t?void 0:t.values)?t.values:k.value;r=_(M)&&h(M.cast)?M.cast(r):r,x(r),$((e=>{var n;e.__flags.pendingReset=!0,e.validated=!1,e.touched=(null===(n=null==t?void 0:t.touched)||void 0===n?void 0:n[e.path])||!1,te(e.path,q(r,e.path),!1),p(e.path,void 0)})),(null==n?void 0:n.force)?function(e,t=!0){J(s).forEach((e=>{delete s[e]})),J(e).forEach((t=>{te(t,e[t],!1)})),t&&ce()}(r,!1):re(r,!1),m((null==t?void 0:t.errors)||{}),u.value=(null==t?void 0:t.submitCount)||0,e.nextTick((()=>{ce({mode:"silent"}),$((e=>{e.__flags.pendingReset=!1}))}))}async function ce(e){const t=(null==e?void 0:e.mode)||"force";if("force"===t&&$((e=>e.validated=!0)),Q.validateSchema)return Q.validateSchema(t);a.value=!0;const n=await Promise.all(c.value.map((t=>t.validate?t.validate(e).then((e=>({key:t.path,valid:e.valid,errors:e.errors}))):Promise.resolve({key:t.path,valid:!0,errors:[]}))));a.value=!1;const r={},o={};for(const e of n)r[e.key]={valid:e.valid,errors:e.errors},e.errors.length&&(o[e.key]=e.errors[0]);return{valid:n.every((e=>e.valid)),results:r,errors:o}}async function fe(e,t){const n=L(e);if(n&&"silent"!==(null==t?void 0:t.mode)&&(n.validated=!0),M){const{results:n}=await U((null==t?void 0:t.mode)||"validated-only");return n[e]||{errors:[],valid:!0}}return(null==n?void 0:n.validate)?n.validate(t):(!n&&(null==t?void 0:t.warn),Promise.resolve({errors:[],valid:!0}))}function ve(e){G(E.value,e)}function he(e,t){z(E.value,e,S(t))}async function me(){const t=e.unref(M);if(!t)return{valid:!0,results:{},errors:{}};a.value=!0;const n=P(t)||_(t)?await async function(e,t){const n=_(e)?e:pe(e),r=await n.parse(S(t)),o={},i={};for(const e of r.errors){const t=e.errors,n=(e.path||"").replace(/\["(\d+)"\]/g,((e,t)=>`[${t}]`));o[n]={valid:!t.length,errors:t},t.length&&(i[n]=t[0])}return{valid:!r.errors.length,results:o,errors:i,values:r.value}}(t,s):await ye(t,s,{names:b.value,bailsMap:j.value});return a.value=!1,n}const ge=X(((e,{evt:t})=>{R(t)&&t.target.submit()}));return e.onMounted((()=>{(null==t?void 0:t.initialErrors)&&m(t.initialErrors),(null==t?void 0:t.initialTouched)&&ue(t.initialTouched),(null==t?void 0:t.validateOnMount)?ce():Q.validateSchema&&Q.validateSchema("silent")})),e.isRef(M)&&e.watch(M,(()=>{var e;null===(e=Q.validateSchema)||void 0===e||e.call(Q,"validated-only")})),e.provide(F,Q),Object.assign(Object.assign({},Q),{values:e.readonly(s),handleReset:()=>se(),submitForm:ge,defineComponentBinds:function(t,n){const r=L(e.toValue(t))||T(t),o=()=>h(n)?n(ne(r,Ee)):n||{};function i(){var e;r.touched=!0;(null!==(e=o().validateOnBlur)&&void 0!==e?e:de().validateOnBlur)&&fe(r.path)}function a(e){var t;const n=null!==(t=o().validateOnModelUpdate)&&void 0!==t?t:de().validateOnModelUpdate;te(r.path,e,n)}const u=e.computed((()=>{if(h(n)){const e=n(r),t=e.model||"modelValue";return Object.assign({onBlur:i,[t]:r.value,[`onUpdate:${t}`]:a},e.props||{})}const e=(null==n?void 0:n.model)||"modelValue",t={onBlur:i,[e]:r.value,[`onUpdate:${e}`]:a};return(null==n?void 0:n.mapProps)?Object.assign(Object.assign({},t),n.mapProps(ne(r,Ee))):t}));return u},defineInputBinds:function(t,n){const r=L(e.toValue(t))||T(t),o=()=>h(n)?n(ne(r,Ee)):n||{};function i(){var e;r.touched=!0;(null!==(e=o().validateOnBlur)&&void 0!==e?e:de().validateOnBlur)&&fe(r.path)}function a(e){var t;const n=ae(e),i=null!==(t=o().validateOnInput)&&void 0!==t?t:de().validateOnInput;te(r.path,n,i)}function u(e){var t;const n=ae(e),i=null!==(t=o().validateOnChange)&&void 0!==t?t:de().validateOnChange;te(r.path,n,i)}return e.computed((()=>{const e={value:r.value,onChange:u,onInput:a,onBlur:i};return h(n)?Object.assign(Object.assign({},e),n(ne(r,Ee)).attrs||{}):(null==n?void 0:n.mapAttrs)?Object.assign(Object.assign({},e),n.mapAttrs(ne(r,Ee))):e}))}})}const Ce=e.defineComponent({name:"Form",inheritAttrs:!1,props:{as:{type:null,default:"form"},validationSchema:{type:Object,default:void 0},initialValues:{type:Object,default:void 0},initialErrors:{type:Object,default:void 0},initialTouched:{type:Object,default:void 0},validateOnMount:{type:Boolean,default:!1},onSubmit:{type:Function,default:void 0},onInvalidSubmit:{type:Function,default:void 0},keepValues:{type:Boolean,default:!1}},setup(t,n){const r=e.toRef(t,"initialValues"),o=e.toRef(t,"validationSchema"),i=e.toRef(t,"keepValues"),{errors:a,errorBag:u,values:l,meta:s,isSubmitting:c,isValidating:d,submitCount:f,controlledValues:v,validate:p,validateField:h,handleReset:m,resetForm:y,handleSubmit:g,setErrors:b,setFieldError:O,setFieldValue:V,setValues:j,setFieldTouched:w,setTouched:A,resetField:F}=xe({validationSchema:o.value?o:void 0,initialValues:r,initialErrors:t.initialErrors,initialTouched:t.initialTouched,validateOnMount:t.validateOnMount,keepValuesOnUnmount:i}),E=g(((e,{evt:t})=>{R(t)&&t.target.submit()}),t.onInvalidSubmit),k=t.onSubmit?g(t.onSubmit,t.onInvalidSubmit):E;function x(e){N(e)&&e.preventDefault(),m(),"function"==typeof n.attrs.onReset&&n.attrs.onReset()}function C(e,n){return g("function"!=typeof e||n?n:e,t.onInvalidSubmit)(e)}function _(){return S(l)}function P(){return S(s.value)}function I(){return S(a.value)}function M(){return{meta:s.value,errors:a.value,errorBag:u.value,values:l,isSubmitting:c.value,isValidating:d.value,submitCount:f.value,controlledValues:v.value,validate:p,validateField:h,handleSubmit:C,handleReset:m,submitForm:E,setErrors:b,setFieldError:O,setFieldValue:V,setValues:j,setFieldTouched:w,setTouched:A,resetForm:y,resetField:F,getValues:_,getMeta:P,getErrors:I}}return n.expose({setFieldError:O,setErrors:b,setFieldValue:V,setValues:j,setFieldTouched:w,setTouched:A,resetForm:y,validate:p,validateField:h,resetField:F,getValues:_,getMeta:P,getErrors:I}),function(){const r="form"===t.as?t.as:t.as?e.resolveDynamicComponent(t.as):null,o=re(r,n,M);if(!r)return o;const i="form"===r?{novalidate:!0}:{};return e.h(r,Object.assign(Object.assign(Object.assign({},i),n.attrs),{onSubmit:k,onReset:x}),o)}}}),_e=Ce;function Pe(t){const n=K(F,void 0),r=e.ref([]),o=()=>{},i={fields:r,remove:o,push:o,swap:o,insert:o,update:o,replace:o,prepend:o,move:o};if(!n)return i;if(!e.unref(t))return i;const a=n.fieldArrays.find((n=>e.unref(n.path)===e.unref(t)));if(a)return a;let u=0;function l(){return q(null==n?void 0:n.values,e.unref(t),[])||[]}function s(){const e=l();Array.isArray(e)&&(r.value=e.map(((e,t)=>d(e,t,r.value))),c())}function c(){const e=r.value.length;for(let t=0;te.key===l));return-1===a?o:i[a]},set(e){const t=r.value.findIndex((e=>e.key===l));-1!==t&&v(t,e)}}),isFirst:!1,isLast:!1};return s}function f(){c(),null==n||n.validate({mode:"silent"})}function v(r,o){const i=e.unref(t),a=q(null==n?void 0:n.values,i);!Array.isArray(a)||a.length-1{const r=n.fieldArrays.findIndex((n=>e.unref(n.path)===e.unref(t)));r>=0&&n.fieldArrays.splice(r,1)})),e.watch(l,(e=>{D(e,r.value.map((e=>e.value)))||s()})),p}const Ie=e.defineComponent({name:"FieldArray",inheritAttrs:!1,props:{name:{type:String,required:!0}},setup(t,n){const{push:r,remove:o,swap:i,insert:a,replace:u,update:l,prepend:s,move:c,fields:d}=Pe(e.toRef(t,"name"));function f(){return{fields:d.value,push:r,remove:o,swap:i,insert:a,update:l,replace:u,prepend:s,move:c}}return n.expose({push:r,remove:o,swap:i,insert:a,update:l,replace:u,prepend:s,move:c}),()=>re(void 0,n,f)}}),Me=e.defineComponent({name:"ErrorMessage",props:{as:{type:String,default:void 0},name:{type:String,required:!0}},setup(t,n){const r=e.inject(F,void 0),o=e.computed((()=>null==r?void 0:r.errors.value[t.name]));function i(){return{message:o.value}}return()=>{if(!o.value)return;const r=t.as?e.resolveDynamicComponent(t.as):t.as,a=re(r,n,i),u=Object.assign({role:"alert"},n.attrs);return r||!Array.isArray(a)&&a||!(null==a?void 0:a.length)?!Array.isArray(a)&&a||(null==a?void 0:a.length)?e.h(r,u,a):e.h(r||"span",u,o.value):a}}});var Te=Object.freeze({__proto__:null,ErrorMessage:Me,Field:Se,FieldArray:Ie,FieldContextKey:E,Form:_e,FormContextKey:F,IS_ABSENT:k,configure:fe,defineRule:w,normalizeRules:ue,useField:Oe,useFieldArray:Pe,useFieldError:function(t){const n=K(F),r=t?void 0:e.inject(E);return e.computed((()=>t?null==n?void 0:n.errors.value[e.toValue(t)]:null==r?void 0:r.errorMessage.value))},useFieldValue:function(t){const n=K(F),r=t?void 0:e.inject(E);return e.computed((()=>t?q(null==n?void 0:n.values,e.toValue(t)):e.toValue(null==r?void 0:r.value)))},useForm:xe,useFormErrors:function(){const t=K(F);return e.computed((()=>(null==t?void 0:t.errors.value)||{}))},useFormValues:function(){const t=K(F);return e.computed((()=>(null==t?void 0:t.values)||{}))},useIsFieldDirty:function(t){const n=te(t);return e.computed((()=>{var e,t;return!!n&&(null!==(t="meta"in n?n.meta.dirty:null===(e=null==n?void 0:n.value)||void 0===e?void 0:e.dirty)&&void 0!==t&&t)}))},useIsFieldTouched:function(t){const n=te(t);return e.computed((()=>{var e,t;return!!n&&(null!==(t="meta"in n?n.meta.touched:null===(e=null==n?void 0:n.value)||void 0===e?void 0:e.touched)&&void 0!==t&&t)}))},useIsFieldValid:function(t){const n=te(t);return e.computed((()=>{var e,t;return!!n&&(null!==(t="meta"in n?n.meta.valid:null===(e=null==n?void 0:n.value)||void 0===e?void 0:e.valid)&&void 0!==t&&t)}))},useIsFormDirty:function(){const t=K(F);return e.computed((()=>{var e;return null!==(e=null==t?void 0:t.meta.value.dirty)&&void 0!==e&&e}))},useIsFormTouched:function(){const t=K(F);return e.computed((()=>{var e;return null!==(e=null==t?void 0:t.meta.value.touched)&&void 0!==e&&e}))},useIsFormValid:function(){const t=K(F);return e.computed((()=>{var e;return null!==(e=null==t?void 0:t.meta.value.valid)&&void 0!==e&&e}))},useIsSubmitting:function(){const t=K(F);return e.computed((()=>{var e;return null!==(e=null==t?void 0:t.isSubmitting.value)&&void 0!==e&&e}))},useIsValidating:function(){const t=K(F);return e.computed((()=>{var e;return null!==(e=null==t?void 0:t.isValidating.value)&&void 0!==e&&e}))},useResetForm:function(){const e=K(F);return function(t){if(e)return e.resetForm(t)}},useSetFieldError:function(t){const n=K(F),r=t?void 0:e.inject(E);return function(o){t&&n?n.setFieldError(e.toValue(t),o):r&&r.setErrors(o||[])}},useSetFieldTouched:function(t){const n=K(F),r=t?void 0:e.inject(E);return function(o){t&&n?n.setFieldTouched(e.toValue(t),o):r&&r.setTouched(o)}},useSetFieldValue:function(t){const n=K(F),r=t?void 0:e.inject(E);return function(o,i=!0){t&&n?n.setFieldValue(e.toValue(t),o,i):r&&r.setValue(o,i)}},useSetFormErrors:function(){const e=K(F);return function(t){e&&e.setErrors(t)}},useSetFormTouched:function(){const e=K(F);return function(t){e&&e.setTouched(t)}},useSetFormValues:function(){const e=K(F);return function(t,n=!0){e&&e.setValues(t,n)}},useSubmitCount:function(){const t=K(F);return e.computed((()=>{var e;return null!==(e=null==t?void 0:t.submitCount.value)&&void 0!==e?e:0}))},useSubmitForm:function(e){const t=K(F),n=t?t.handleSubmit(e):void 0;return function(e){if(n)return n(e)}},useValidateField:function(t){const n=K(F),r=t?void 0:e.inject(E);return function(){return r?r.validate():n&&t?null==n?void 0:n.validateField(e.toValue(t)):Promise.resolve({errors:[],valid:!0})}},useValidateForm:function(){const e=K(F);return function(){return e?e.validate():Promise.resolve({results:{},errors:{},valid:!0})}},validate:ve,validateObject:ye}); -/** - * vee-validate v4.11.8 - * (c) 2023 Abdelrahman Awad - * @license MIT - */function Be(e){return null==e||""===e||!(!Array.isArray(e)||0!==e.length)}const Re=e=>{if(Be(e))return!0;const t=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;return Array.isArray(e)?e.every((e=>t.test(String(e)))):t.test(String(e))},Ne=e=>{if(Be(e))return!0;const t=/\.(jpg|svg|jpeg|png|bmp|gif|webp)$/i;return Array.isArray(e)?e.every((e=>t.test(e.name))):t.test(e.name)};const Ue=e=>{return!function(e){return null==e}(e)&&(t=e,!Array.isArray(t)||0!==t.length)&&!1!==e&&!!String(e).trim().length;var t};var De={install:function(t,n){w("required",Ue),w("requiredArray",(function(e){return!(null!==e&&"object"===o(e)&&Array.isArray(e)&&e.length<2)||"{_field_} array must contain more than one element"})),w("requiredOb",(function(e){return null===e||"object"!==o(e)||0!==Object.keys(e).length||"{_field_} object must not be empty"})),w("email",Re),w("image",Ne),w("private_username",function(){var t=a(r().mark((function t(n){var o,i,a,u,l,s,c;return r().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(o=e.getCurrentInstance(),i=o.app,a=null==i?void 0:i.appContext.config.globalProperties.$axios,!((u=n.length)<5||u>40)){t.next=7;break}return t.abrupt("return","{_field_} length must be between 5 and 40 characters");case 7:return(l=new FormData).set("user_name",n),t.next=11,a.post("/user/validate/username",l);case 11:if(s=t.sent,(c=s.data).valid){t.next=17;break}return t.abrupt("return",c.message);case 17:return t.abrupt("return",!0);case 18:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),w("password",(function(e,t){if(e!==l(t,1)[0])return"The passwords do not match."})),t.mixin({data:function(){return{get cleanObject(){return n.cleanObject||!1}}}})}},$e=null;"undefined"!=typeof window?$e=window.Vue:"undefined"!=typeof global&&($e=global.Vue),$e&&$e.use(De),exports._=n,exports.a=a,exports.b=r,exports.c=u,exports.m=v,exports.p=De,exports.s=p,exports.v=f; \ No newline at end of file diff --git a/dist/entry-f11f5a48.js b/dist/entry-f11f5a48.js deleted file mode 100644 index eab309f..0000000 --- a/dist/entry-f11f5a48.js +++ /dev/null @@ -1,12 +0,0 @@ -import{defineComponent as e,defineAsyncComponent as t,resolveComponent as n,openBlock as r,createBlock as i,withCtx as a,createVNode as o,renderSlot as l,createElementVNode as u,normalizeClass as s,computed as c,toValue as d,unref as f,onMounted as v,getCurrentInstance as p,provide as h,isRef as m,watch as y,onBeforeUnmount as g,ref as b,reactive as O,nextTick as j,readonly as V,watchEffect as S,inject as A,toRef as w,resolveDynamicComponent as F,h as E,shallowRef as k}from"vue";function _(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function x(e){for(var t=1;t=0;--a){var o=this.tryEntries[a],l=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var u=r.call(o,"catchLoc"),s=r.call(o,"finallyLoc");if(u&&s){if(this.prev=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),_(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;_(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:I(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),m}},t}function I(e){return I="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},I(e)}function M(e,t,n,r,i,a,o){try{var l=e[a](o),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,i)}function B(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var a=e.apply(t,n);function o(e){M(a,r,i,o,l,"next",e)}function l(e){M(a,r,i,o,l,"throw",e)}o(void 0)}))}}function T(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function C(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,a,o,l=[],u=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);u=!0);}catch(e){s=!0,i=e}finally{try{if(!u&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(s)throw i}}return l}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return U(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return U(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function U(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0||"array"===this.type&&this.modelValue.length>0?this.modelData=JSON.parse(JSON.stringify(this.modelValue)):"boolean"===this.type&&null!==this.modelValue||"string"===this.type||"number"===this.type||"integer"===this.type?this.modelData=this.modelValue:this.modelData=this.initWithBlank():this.modelData=this.initWithBlank()},initWithBlank:function(){return"object"===this.type||"key-value-pairs"===this.type?{}:"array"===this.type?[]:"boolean"!==this.type&&("number"===this.type||"integer"===this.type?null:"")},clean:function(e){if("object"===this.type||"key-value-pairs"===this.type)Object.keys(e).forEach((function(t){var n="";void 0!==(n="string"!=typeof e[t]?JSON.stringify(e[t]):e[t])&&"null"!==n&&""!==n&&"{}"!==n&&"[]"!==n||delete e[t]}));else if("array"===this.type){e.map((function(e,t){return{item:e,idx:t}})).filter((function(e){var t=e.item,n="";return void 0===(n="string"!=typeof t?JSON.stringify(t):t)||"null"===n||""===n||"{}"===n||"[]"===n})).map((function(e){return e.idx})).forEach((function(t){return e.splice(t,1)}))}}}}),R=e({name:"VueOpenapiForm",components:{AcForm:t((function(){return import("./Form-75fe67e1.js")})),FormFooterControl:t((function(){return import("./FormFooterControl-eec1f0a9.js")}))},mixins:[L,D],provide:function(){var e=this,t={};return Object.defineProperty(t,"theme",{enumerable:!0,get:function(){return e.themeMode}}),{providedData:t}},props:{schema:{type:Object,default:function(){return{}}},modelValue:{type:Object,default:function(){return{}}},formTitle:{type:String,default:""},onlyJson:{type:Boolean,default:!1},size:{type:String,default:"small"},themeMode:{type:String,default:"light"}},computed:{extendedSchema:function(){return $(this.schema,this.formTitle)}}}); -/** - * vee-validate v4.11.8 - * (c) 2023 Abdelrahman Awad - * @license MIT - */ -function z(e){return"function"==typeof e}function q(e){return null==e}R.render=function(e,t,c,d,f,v){var p=n("object-form-wrapper"),h=n("v-field"),m=n("form-footer-control"),y=n("ac-form"),g=n("v-form");return r(),i(g,{ref:"v-form",as:""},{default:a((function(n){var r=n.meta,i=n.validate,c=n.errors;return[o(y,null,{"form-left-controls":a((function(){return[o(m,null,{default:a((function(){return[l(e.$slots,"left-controls",{validate:i,formStatus:r,errors:c})]})),_:2},1024)]})),"form-right-controls":a((function(){return[o(m,null,{default:a((function(){return[l(e.$slots,"right-controls",{validate:i,formStatus:r,errors:c})]})),_:2},1024)]})),default:a((function(){return[u("div",{class:s(["vue-openapi-form pl-20",{"is-medium":"medium"===e.size}])},[o(h,{modelValue:e.modelData,"onUpdate:modelValue":t[0]||(t[0]=function(t){return e.modelData=t}),name:e.extendedSchema.title,label:e.extendedSchema.title,rules:e.ruleObject(!0),as:""},{default:a((function(t){var n=t.field,r=t.handleChange;return[o(p,{"field-name":"$","model-value":n.value,"expand-form":!0,"is-root":!0,level:1,"is-self-required":!0,"only-json":e.onlyJson,schema:e.extendedSchema,"reference-model":e.referenceModel||{},errors:c,showRootTab:!0,"onUpdate:modelValue":r},null,8,["model-value","only-json","schema","reference-model","errors","onUpdate:modelValue"])]})),_:2},1032,["modelValue","name","label","rules"])],2)]})),_:2},1024)]})),_:3},512)};const W=e=>null!==e&&!!e&&"object"==typeof e&&!Array.isArray(e);function G(e){return Number(e)>=0}function J(e){if(!function(e){return"object"==typeof e&&null!==e}(e)||"[object Object]"!==function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}(e))return!1;if(null===Object.getPrototypeOf(e))return!0;let t=e;for(;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function K(e,t){return Object.keys(t).forEach((n=>{if(J(t[n]))return e[n]||(e[n]={}),void K(e[n],t[n]);e[n]=t[n]})),e}function Z(e){const t=e.split(".");if(!t.length)return"";let n=String(t[0]);for(let e=1;e{return(W(r=e)||Array.isArray(r))&&t in e?e[t]:n;var r}),e)}function ge(e,t,n){if(ue(t))return void(e[me(t)]=n);const r=t.split(/\.|\[(\d+)\]/).filter(Boolean);let i=e;for(let e=0;eye(e,n.slice(0,r).join("."))));for(let t=i.length-1;t>=0;t--)a=i[t],(Array.isArray(a)?0===a.length:W(a)&&0===Object.keys(a).length)&&(0!==t?be(i[t-1],n[t-1]):be(e,n[0]));var a}function je(e){return Object.keys(e)}function Ve(e,t=void 0){const n=p();return(null==n?void 0:n.provides[e])||A(e,t)}function Se(e,t,n){if(Array.isArray(e)){const n=[...e],r=n.findIndex((e=>pe(e,t)));return r>=0?n.splice(r,1):n.push(t),n}return pe(e,t)?n:t}function Ae(e,t=0){let n=null,r=[];return function(...i){return n&&clearTimeout(n),n=setTimeout((()=>{const t=e(...i);r.forEach((e=>e(t))),r=[]}),t),new Promise((e=>r.push(e)))}}function we(e,t){return W(t)&&t.number?function(e){const t=parseFloat(e);return isNaN(t)?e:t}(e):e}function Fe(e,t){let n;return async function(...r){const i=e(...r);n=i;const a=await i;return i!==n||(n=void 0,t(a,r)),a}}function Ee({get:e,set:t}){const n=b(Q(e()));return y(e,(e=>{pe(e,n.value)||(n.value=Q(e))}),{deep:!0}),y(n,(n=>{pe(n,e())||t(Q(n))}),{deep:!0}),n}function ke(e){return Array.isArray(e)?e:e?[e]:[]}function _e(e){const t=Ve(ee),n=e?c((()=>null==t?void 0:t.getPathState(d(e)))):void 0,r=e?void 0:A(te);return!r&&(null==n||n.value),n||r}function xe(e,t){const n={};for(const r in e)t.includes(r)||(n[r]=e[r]);return n}function Pe(e,t,n){return t.slots.default?"string"!=typeof e&&e?{default:()=>{var e,r;return null===(r=(e=t.slots).default)||void 0===r?void 0:r.call(e,n())}}:t.slots.default(n()):t.slots.default}function Ie(e){if(Me(e))return e._value}function Me(e){return"_value"in e}function Be(e){if(!fe(e))return e;const t=e.target;if(le(t.type)&&Me(t))return Ie(t);if("file"===t.type&&t.files){const e=Array.from(t.files);return t.multiple?e:e[0]}if(se(n=t)&&n.multiple)return Array.from(t.options).filter((e=>e.selected&&!e.disabled)).map(Ie);var n;if(se(t)){const e=Array.from(t.options).find((e=>e.selected));return e?Ie(e):t.value}return function(e){return"number"===e.type||"range"===e.type?Number.isNaN(e.valueAsNumber)?e.value:e.valueAsNumber:e.value}(t)}function Te(e){const t={};return Object.defineProperty(t,"_$$isNormalized",{value:!0,writable:!1,enumerable:!1,configurable:!1}),e?W(e)&&e._$$isNormalized?e:W(e)?Object.keys(e).reduce(((t,n)=>{const r=function(e){if(!0===e)return[];if(Array.isArray(e))return e;if(W(e))return e;return[e]}(e[n]);return!1!==e[n]&&(t[n]=Ce(r)),t}),t):"string"!=typeof e?t:e.split("|").reduce(((e,t)=>{const n=Ue(t);return n.name?(e[n.name]=Ce(n.params),e):e}),t):t}function Ce(e){const t=e=>"string"==typeof e&&"@"===e[0]?function(e){const t=t=>ye(t,e)||t[e];return t.__locatorRef=e,t}(e.slice(1)):e;return Array.isArray(e)?e.map(t):e instanceof RegExp?[e]:Object.keys(e).reduce(((n,r)=>(n[r]=t(e[r]),n)),{})}const Ue=e=>{let t=[];const n=e.split(":")[0];return e.includes(":")&&(t=e.split(":").slice(1).join(":").split(",")),{name:n,params:t}};let Ne=Object.assign({},{generateMessage:({field:e})=>`${e} is not valid.`,bails:!0,validateOnBlur:!0,validateOnChange:!0,validateOnInput:!1,validateOnModelUpdate:!0});const $e=()=>Ne,De=e=>{Ne=Object.assign(Object.assign({},Ne),e)};async function Le(e,t,n={}){const r=null==n?void 0:n.bails,i={name:(null==n?void 0:n.name)||"{field}",rules:t,label:null==n?void 0:n.label,bails:null==r||r,formData:(null==n?void 0:n.values)||{}},a=await async function(e,t){if(ae(e.rules)||oe(e.rules))return async function(e,t){const n=ae(t)?t:Re(t),r=await n.parse(e),i=[];for(const e of r.errors)e.errors.length&&i.push(...e.errors);return{errors:i}}(t,e.rules);if(z(e.rules)||Array.isArray(e.rules)){const n={field:e.label||e.name,name:e.name,label:e.label,form:e.formData,value:t},r=Array.isArray(e.rules)?e.rules:[e.rules],i=r.length,a=[];for(let o=0;o{const n=t.path||"";return e[n]||(e[n]={errors:[],path:n}),e[n].errors.push(...t.errors),e}),{});return{errors:Object.values(t)}}}}}async function ze(e,t,n){const r=(i=n.name,Y[i]);var i;if(!r)throw new Error(`No such validator '${n.name}' exists.`);const a=function(e,t){const n=e=>ie(e)?e(t):e;if(Array.isArray(e))return e.map(n);return Object.keys(e).reduce(((t,r)=>(t[r]=n(e[r]),t)),{})}(n.params,e.formData),o={field:e.label||e.name,name:e.name,label:e.label,value:t,form:e.formData,rule:Object.assign(Object.assign({},n),{params:a})},l=await r(t,a,o);return"string"==typeof l?{error:l}:{error:l?void 0:qe(o)}}function qe(e){const t=$e().generateMessage;return t?t(e):"Field is invalid"}async function We(e,t,n){const r=je(e).map((async r=>{var i,a,o;const l=null===(i=null==n?void 0:n.names)||void 0===i?void 0:i[r],u=await Le(ye(t,r),e[r],{name:(null==l?void 0:l.name)||r,label:null==l?void 0:l.label,values:t,bails:null===(o=null===(a=null==n?void 0:n.bailsMap)||void 0===a?void 0:a[r])||void 0===o||o});return Object.assign(Object.assign({},u),{path:r})}));let i=!0;const a=await Promise.all(r),o={},l={};for(const e of a)o[e.path]={valid:e.valid,errors:e.errors},e.valid||(i=!1,l[e.path]=e.errors[0]);return{valid:i,results:o,errors:l}}let Ge=0;function Je(e,t){const{value:n,initialValue:r,setInitialValue:i}=function(e,t,n){const r=b(f(t));function i(){return n?ye(n.initialValues.value,f(e),f(r)):f(r)}function a(t){n?n.stageInitialValue(f(e),t,!0):r.value=t}const o=c(i);if(!n){return{value:b(i()),initialValue:o,setInitialValue:a}}const l=function(e,t,n,r){if(m(e))return f(e);if(void 0!==e)return e;return ye(t.values,f(r),f(n))}(t,n,o,e);n.stageInitialValue(f(e),l,!0);const u=c({get:()=>ye(n.values,f(e)),set(t){n.setFieldValue(f(e),t,!1)}});return{value:u,initialValue:o,setInitialValue:a}}(e,t.modelValue,t.form);if(!t.form){const{errors:l,setErrors:u}=function(){const e=b([]);return{errors:e,setErrors:t=>{e.value=ke(t)}}}(),s=Ge>=Number.MAX_SAFE_INTEGER?0:++Ge,d=function(e,t,n){const r=O({touched:!1,pending:!1,valid:!0,validated:!!f(n).length,initialValue:c((()=>f(t))),dirty:c((()=>!pe(f(e),f(t))))});return y(n,(e=>{r.valid=!e.length}),{immediate:!0,flush:"sync"}),r}(n,r,l);function v(e){var t;"value"in e&&(n.value=e.value),"errors"in e&&u(e.errors),"touched"in e&&(d.touched=null!==(t=e.touched)&&void 0!==t?t:d.touched),"initialValue"in e&&i(e.initialValue)}return{id:s,path:e,value:n,initialValue:r,meta:d,flags:{pendingUnmount:{[s]:!1},pendingReset:!1},errors:l,setState:v}}const a=t.form.createPathState(e,{bails:t.bails,label:t.label,type:t.type,validate:t.validate}),o=c((()=>a.errors));return{id:Array.isArray(a.id)?a.id[a.id.length-1]:a.id,path:e,value:n,errors:o,meta:a,initialValue:r,flags:a.__flags,setState:function(r){var a,o,l;"value"in r&&(n.value=r.value),"errors"in r&&(null===(a=t.form)||void 0===a||a.setFieldError(f(e),r.errors)),"touched"in r&&(null===(o=t.form)||void 0===o||o.setFieldTouched(f(e),null!==(l=r.touched)&&void 0!==l&&l)),"initialValue"in r&&i(r.initialValue)}}}function Ke(e,t,n){return le(null==n?void 0:n.type)?function(e,t,n){const r=(null==n?void 0:n.standalone)?void 0:Ve(ee),i=null==n?void 0:n.checkedValue,a=null==n?void 0:n.uncheckedValue;function o(t){const o=t.handleChange,l=c((()=>{const e=d(t.value),n=d(i);return Array.isArray(e)?e.findIndex((e=>pe(e,n)))>=0:pe(n,e)}));function u(u,s=!0){var c,f;if(l.value===(null===(c=null==u?void 0:u.target)||void 0===c?void 0:c.checked))return void(s&&t.validate());const v=d(e),p=null==r?void 0:r.getPathState(v),h=Be(u);let m=null!==(f=d(i))&&void 0!==f?f:h;r&&(null==p?void 0:p.multiple)&&"checkbox"===p.type?m=Se(ye(r.values,v)||[],m,void 0):"checkbox"===(null==n?void 0:n.type)&&(m=Se(d(t.value),m,d(a))),o(m,s)}return Object.assign(Object.assign({},t),{checked:l,checkedValue:i,uncheckedValue:a,handleChange:u})}return o(Ze(e,t,n))}(e,t,n):Ze(e,t,n)}function Ze(e,t,n){const{initialValue:r,validateOnMount:i,bails:a,type:o,checkedValue:l,label:u,validateOnValueUpdate:s,uncheckedValue:b,controlled:O,keepValueOnUnmount:j,syncVModel:V,form:S}=function(e){const t=()=>({initialValue:void 0,validateOnMount:!1,bails:!0,label:void 0,validateOnValueUpdate:!0,keepValueOnUnmount:void 0,syncVModel:!1,controlled:!0}),n=!!(null==e?void 0:e.syncVModel),r="string"==typeof(null==e?void 0:e.syncVModel)?e.syncVModel:(null==e?void 0:e.modelPropName)||"modelValue",i=n&&!("initialValue"in(e||{}))?Ye(p(),r):null==e?void 0:e.initialValue;if(!e)return Object.assign(Object.assign({},t()),{initialValue:i});const a="valueProp"in e?e.valueProp:e.checkedValue,o="standalone"in e?!e.standalone:e.controlled,l=(null==e?void 0:e.modelPropName)||(null==e?void 0:e.syncVModel)||!1;return Object.assign(Object.assign(Object.assign({},t()),e||{}),{initialValue:i,controlled:null==o||o,checkedValue:a,syncVModel:l})}(n),A=O?Ve(ee):void 0,w=S||A,F=c((()=>Z(d(e)))),E=c((()=>{if(d(null==w?void 0:w.schema))return;const e=f(t);return oe(e)||ae(e)||z(e)||Array.isArray(e)?e:Te(e)})),{id:k,value:_,initialValue:x,meta:P,setState:I,errors:M,flags:B}=Je(F,{modelValue:r,form:w,bails:a,label:u,type:o,validate:E.value?$:void 0}),T=c((()=>M.value[0]));V&&function({prop:e,value:t,handleChange:n,shouldValidate:r}){const i=p();if(!i||!e)return;const a="string"==typeof e?e:"modelValue",o=`update:${a}`;if(!(a in i.props))return;y(t,(e=>{pe(e,Ye(i,a))||i.emit(o,e)})),y((()=>Ye(i,a)),(e=>{if(e===ne&&void 0===t.value)return;const i=e===ne?void 0:e;pe(i,t.value)||n(i,r())}))}({value:_,prop:V,handleChange:D,shouldValidate:()=>s&&!B.pendingReset});async function C(e){var t,n;return(null==w?void 0:w.validateSchema)?null!==(t=(await w.validateSchema(e)).results[d(F)])&&void 0!==t?t:{valid:!0,errors:[]}:E.value?Le(_.value,E.value,{name:d(F),label:d(u),values:null!==(n=null==w?void 0:w.values)&&void 0!==n?n:{},bails:a}):{valid:!0,errors:[]}}const U=Fe((async()=>(P.pending=!0,P.validated=!0,C("validated-only"))),(e=>{if(!B.pendingUnmount[G.id])return I({errors:e.errors}),P.pending=!1,P.valid=e.valid,e})),N=Fe((async()=>C("silent")),(e=>(P.valid=e.valid,e)));function $(e){return"silent"===(null==e?void 0:e.mode)?N():U()}function D(e,t=!0){q(Be(e),t)}function L(e){var t;const n=e&&"value"in e?e.value:x.value;I({value:Q(n),initialValue:Q(n),touched:null!==(t=null==e?void 0:e.touched)&&void 0!==t&&t,errors:(null==e?void 0:e.errors)||[]}),P.pending=!1,P.validated=!1,N()}v((()=>{if(i)return U();w&&w.validateSchema||N()}));const R=p();function q(e,t=!0){_.value=R&&V?we(e,R.props.modelModifiers):e;(t?U:N)()}const W=c({get:()=>_.value,set(e){q(e,s)}}),G={id:k,name:F,label:u,value:W,meta:P,errors:M,errorMessage:T,type:o,checkedValue:l,uncheckedValue:b,bails:a,keepValueOnUnmount:j,resetField:L,handleReset:()=>L(),validate:$,handleChange:D,handleBlur:(e,t=!1)=>{P.touched=!0,t&&U()},setState:I,setTouched:function(e){P.touched=e},setErrors:function(e){I({errors:Array.isArray(e)?e:[e]})},setValue:q};if(h(te,G),m(t)&&"function"!=typeof f(t)&&y(t,((e,t)=>{pe(e,t)||(P.validated?U():N())}),{deep:!0}),!w)return G;const J=c((()=>{const e=E.value;return!e||z(e)||oe(e)||ae(e)||Array.isArray(e)?{}:Object.keys(e).reduce(((t,n)=>{const r=(i=e[n],Array.isArray(i)?i.filter(ie):je(i).filter((e=>ie(i[e]))).map((e=>i[e]))).map((e=>e.__locatorRef)).reduce(((e,t)=>{const n=ye(w.values,t)||w.values[t];return void 0!==n&&(e[t]=n),e}),{});var i;return Object.assign(t,r),t}),{})}));return y(J,((e,t)=>{if(!Object.keys(e).length)return;!pe(e,t)&&(P.validated?U():N())})),g((()=>{var e;const t=null!==(e=d(G.keepValueOnUnmount))&&void 0!==e?e:d(w.keepValuesOnUnmount),n=d(F);if(t||!w||B.pendingUnmount[G.id])return void(null==w||w.removePathState(n,k));B.pendingUnmount[G.id]=!0;const r=w.getPathState(n);if(Array.isArray(null==r?void 0:r.id)&&(null==r?void 0:r.multiple)?null==r?void 0:r.id.includes(G.id):(null==r?void 0:r.id)===G.id){if((null==r?void 0:r.multiple)&&Array.isArray(r.value)){const e=r.value.findIndex((e=>pe(e,d(G.checkedValue))));if(e>-1){const t=[...r.value];t.splice(e,1),w.setFieldValue(n,t)}Array.isArray(r.id)&&r.id.splice(r.id.indexOf(G.id),1)}else w.unsetPathValue(d(F));w.removePathState(n,k)}})),G}function Ye(e,t){if(e)return e.props[t]}function Xe(e,t){let n=e.as||"";return e.as||t.slots.default||(n="input"),n}function He(e,t){return le(t.attrs.type)?ve(e,"modelValue")?e.modelValue:void 0:ve(e,"modelValue")?e.modelValue:t.attrs.value}const Qe=e({name:"Field",inheritAttrs:!1,props:{as:{type:[String,Object],default:void 0},name:{type:String,required:!0},rules:{type:[Object,String,Function],default:void 0},validateOnMount:{type:Boolean,default:!1},validateOnBlur:{type:Boolean,default:void 0},validateOnChange:{type:Boolean,default:void 0},validateOnInput:{type:Boolean,default:void 0},validateOnModelUpdate:{type:Boolean,default:void 0},bails:{type:Boolean,default:()=>$e().bails},label:{type:String,default:void 0},uncheckedValue:{type:null,default:void 0},modelValue:{type:null,default:ne},modelModifiers:{type:null,default:()=>({})},"onUpdate:modelValue":{type:null,default:void 0},standalone:{type:Boolean,default:!1},keepValue:{type:Boolean,default:void 0}},setup(e,t){const n=w(e,"rules"),r=w(e,"name"),i=w(e,"label"),a=w(e,"uncheckedValue"),o=w(e,"keepValue"),{errors:l,value:u,errorMessage:s,validate:d,handleChange:f,handleBlur:v,setTouched:p,resetField:h,handleReset:m,meta:y,checked:g,setErrors:b}=Ke(r,n,{validateOnMount:e.validateOnMount,bails:e.bails,standalone:e.standalone,type:t.attrs.type,initialValue:He(e,t),checkedValue:t.attrs.value,uncheckedValue:a,label:i,validateOnValueUpdate:e.validateOnModelUpdate,keepValueOnUnmount:o,syncVModel:!0}),O=function(e,t=!0){f(e,t)},j=c((()=>{const{validateOnInput:n,validateOnChange:r,validateOnBlur:i,validateOnModelUpdate:a}=function(e){var t,n,r,i;const{validateOnInput:a,validateOnChange:o,validateOnBlur:l,validateOnModelUpdate:u}=$e();return{validateOnInput:null!==(t=e.validateOnInput)&&void 0!==t?t:a,validateOnChange:null!==(n=e.validateOnChange)&&void 0!==n?n:o,validateOnBlur:null!==(r=e.validateOnBlur)&&void 0!==r?r:l,validateOnModelUpdate:null!==(i=e.validateOnModelUpdate)&&void 0!==i?i:u}}(e);const o={name:e.name,onBlur:function(e){v(e,i),z(t.attrs.onBlur)&&t.attrs.onBlur(e)},onInput:function(e){O(e,n),z(t.attrs.onInput)&&t.attrs.onInput(e)},onChange:function(e){O(e,r),z(t.attrs.onChange)&&t.attrs.onChange(e)},"onUpdate:modelValue":e=>O(e,a)};return o})),V=c((()=>{const n=Object.assign({},j.value);le(t.attrs.type)&&g&&(n.checked=g.value);return ce(Xe(e,t),t.attrs)&&(n.value=u.value),n})),S=c((()=>Object.assign(Object.assign({},j.value),{modelValue:u.value})));function A(){return{field:V.value,componentField:S.value,value:u.value,meta:y,errors:l.value,errorMessage:s.value,validate:d,resetField:h,handleChange:O,handleInput:e=>O(e,!1),handleReset:m,handleBlur:j.value.onBlur,setTouched:p,setErrors:b}}return t.expose({setErrors:b,setTouched:p,reset:h,validate:d,handleChange:f}),()=>{const n=F(Xe(e,t)),r=Pe(n,t,A);return n?E(n,Object.assign(Object.assign({},t.attrs),V.value),r):r}}});let et=0;const tt=["bails","fieldsCount","id","multiple","type","validate"];function nt(e){const t=f(null==e?void 0:e.initialValues)||{},n=f(null==e?void 0:e.validationSchema);return n&&ae(n)&&z(n.cast)?Q(n.cast(t)||{}):Q(t)}function rt(e){var t;const n=et++;let r=0;const i=b(!1),a=b(!1),o=b(0),l=[],u=O(nt(e)),s=b([]),p=b({}),g=b({}),A=function(e){let t=null,n=[];return function(...r){const i=j((()=>{if(t!==i)return;const a=e(...r);n.forEach((e=>e(a))),n=[],t=null}));return t=i,new Promise((e=>n.push(e)))}}((()=>{g.value=s.value.reduce(((e,t)=>(e[Z(d(t.path))]=t,e)),{})}));function w(e,t){const n=G(e);if(n){if("string"==typeof e){const t=Z(e);p.value[t]&&delete p.value[t]}n.errors=ke(t),n.valid=!n.errors.length}else"string"==typeof e&&(p.value[Z(e)]=ke(t))}function F(e){je(e).forEach((t=>{w(t,e[t])}))}(null==e?void 0:e.initialErrors)&&F(e.initialErrors);const E=c((()=>{const e=s.value.reduce(((e,t)=>(t.errors.length&&(e[t.path]=t.errors),e)),{});return Object.assign(Object.assign({},p.value),e)})),_=c((()=>je(E.value).reduce(((e,t)=>{const n=E.value[t];return(null==n?void 0:n.length)&&(e[t]=n[0]),e}),{}))),x=c((()=>s.value.reduce(((e,t)=>(e[t.path]={name:t.path||"",label:t.label||""},e)),{}))),P=c((()=>s.value.reduce(((e,t)=>{var n;return e[t.path]=null===(n=t.bails)||void 0===n||n,e}),{}))),I=Object.assign({},(null==e?void 0:e.initialErrors)||{}),M=null!==(t=null==e?void 0:e.keepValuesOnUnmount)&&void 0!==t&&t,{initialValues:B,originalInitialValues:T,setInitialValues:C}=function(e,t,n){const r=nt(n),i=null==n?void 0:n.initialValues,a=b(r),o=b(Q(r));function l(n,r=!1){a.value=K(Q(a.value)||{},Q(n)),o.value=K(Q(o.value)||{},Q(n)),r&&e.value.forEach((e=>{if(e.touched)return;const n=ye(a.value,e.path);ge(t,e.path,Q(n))}))}m(i)&&y(i,(e=>{e&&l(e,!0)}),{deep:!0});return{initialValues:a,originalInitialValues:o,setInitialValues:l}}(s,u,e),U=function(e,t,n,r){const i={touched:"some",pending:"some",valid:"every"},a=c((()=>!pe(t,f(n))));function o(){const t=e.value;return je(i).reduce(((e,n)=>{const r=i[n];return e[n]=t[r]((e=>e[n])),e}),{})}const l=O(o());return S((()=>{const e=o();l.touched=e.touched,l.valid=e.valid,l.pending=e.pending})),c((()=>Object.assign(Object.assign({initialValues:f(n)},l),{valid:l.valid&&!je(r.value).length,dirty:a.value})))}(s,u,T,_),N=c((()=>s.value.reduce(((e,t)=>{const n=ye(u,t.path);return ge(e,t.path,n),e}),{}))),$=null==e?void 0:e.validationSchema;function D(e,t){var n,i;const a=c((()=>ye(B.value,d(e)))),o=g.value[d(e)];if(o){"checkbox"!==(null==t?void 0:t.type)&&"radio"!==(null==t?void 0:t.type)||(o.multiple=!0);const e=r++;return Array.isArray(o.id)?o.id.push(e):o.id=[o.id,e],o.fieldsCount++,o.__flags.pendingUnmount[e]=!1,o}const l=c((()=>ye(u,d(e)))),v=d(e),p=r++,h=O({id:p,path:e,touched:!1,pending:!1,valid:!0,validated:!!(null===(n=I[v])||void 0===n?void 0:n.length),initialValue:a,errors:k([]),bails:null!==(i=null==t?void 0:t.bails)&&void 0!==i&&i,label:null==t?void 0:t.label,type:(null==t?void 0:t.type)||"default",value:l,multiple:!1,__flags:{pendingUnmount:{[p]:!1},pendingReset:!1},fieldsCount:1,validate:null==t?void 0:t.validate,dirty:c((()=>!pe(f(l),f(a))))});return s.value.push(h),g.value[v]=h,A(),_.value[v]&&!I[v]&&j((()=>{ve(v,{mode:"silent"})})),m(e)&&y(e,(e=>{A();const t=Q(l.value);g.value[e]=h,j((()=>{ge(u,e,t)}))})),h}const L=Ae(be,5),R=Ae(be,5),q=Fe((async e=>"silent"===await e?L():R()),((e,[t])=>{const n=je(te.errorBag.value);return[...new Set([...je(e.results),...s.value.map((e=>e.path)),...n])].sort().reduce(((n,r)=>{const i=r,a=G(i)||function(e){const t=s.value.filter((t=>e.startsWith(t.path)));return t.reduce(((e,t)=>e?t.path.length>e.path.length?t:e:t),void 0)}(i),o=(e.results[i]||{errors:[]}).errors,l={errors:o,valid:!o.length};return n.results[i]=l,l.valid||(n.errors[i]=l.errors[0]),a&&p.value[i]&&delete p.value[i],a?(a.valid=l.valid,"silent"===t?n:"validated-only"!==t||a.validated?(w(a,l.errors),n):n):(w(i,o),n)}),{valid:e.valid,results:{},errors:{}})}));function W(e){s.value.forEach(e)}function G(e){const t="string"==typeof e?Z(e):e;return"string"==typeof t?g.value[t]:t}let J,Y=[];function X(e){return function(t,n){return function(r){return r instanceof Event&&(r.preventDefault(),r.stopPropagation()),W((e=>e.touched=!0)),i.value=!0,o.value++,fe().then((i=>{const a=Q(u);if(i.valid&&"function"==typeof t){const n=Q(N.value);let o=e?n:a;return i.values&&(o=i.values),t(o,{evt:r,controlledValues:n,setErrors:F,setFieldError:w,setTouched:ue,setFieldTouched:le,setValues:re,setFieldValue:ne,resetForm:ce,resetField:se})}i.valid||"function"!=typeof n||n({values:a,evt:r,errors:i.errors,results:i.results})})).then((e=>(i.value=!1,e)),(e=>{throw i.value=!1,e}))}}}const H=X(!1);H.withControlled=X(!0);const te={formId:n,values:u,controlledValues:N,errorBag:E,errors:_,schema:$,submitCount:o,meta:U,isSubmitting:i,isValidating:a,fieldArrays:l,keepValuesOnUnmount:M,validateSchema:f($)?q:void 0,validate:fe,setFieldError:w,validateField:ve,setFieldValue:ne,setValues:re,setErrors:F,setFieldTouched:le,setTouched:ue,resetForm:ce,resetField:se,handleSubmit:H,stageInitialValue:function(t,n,r=!1){me(t,n),ge(u,t,n),r&&!(null==e?void 0:e.initialValues)&&ge(T.value,t,Q(n))},unsetInitialValue:he,setFieldInitialValue:me,useFieldModel:function(e){if(!Array.isArray(e))return ie(e);return e.map(ie)},createPathState:D,getPathState:G,unsetPathValue:function(e){return Y.push(e),J||(J=j((()=>{[...Y].sort().reverse().forEach((e=>{Oe(u,e)})),Y=[],J=null}))),J},removePathState:function(e,t){const n=s.value.findIndex((t=>t.path===e)),r=s.value[n];if(-1!==n&&r){if(j((()=>{ve(e,{mode:"silent",warn:!1})})),r.multiple&&r.fieldsCount&&r.fieldsCount--,Array.isArray(r.id)){const e=r.id.indexOf(t);e>=0&&r.id.splice(e,1),delete r.__flags.pendingUnmount[t]}(!r.multiple||r.fieldsCount<=0)&&(s.value.splice(n,1),he(e),A(),delete g.value[e])}},initialValues:B,getAllPathStates:()=>s.value,markForUnmount:function(e){return W((t=>{t.path.startsWith(e)&&je(t.__flags.pendingUnmount).forEach((e=>{t.__flags.pendingUnmount[e]=!0}))}))},isFieldTouched:function(e){var t;return!!(null===(t=G(e))||void 0===t?void 0:t.touched)},isFieldDirty:function(e){var t;return!!(null===(t=G(e))||void 0===t?void 0:t.dirty)},isFieldValid:function(e){var t;return!!(null===(t=G(e))||void 0===t?void 0:t.valid)}};function ne(e,t,n=!0){const r=Q(t),i="string"==typeof e?e:e.path;G(i)||D(i),ge(u,i,r),n&&ve(i)}function re(e,t=!0){K(u,e),l.forEach((e=>e&&e.reset())),t&&fe()}function ie(e){const t=G(f(e))||D(e);return c({get:()=>t.value,set(n){const r=f(e);ne(r,n,!1),t.validated=!0,t.pending=!0,ve(r).then((()=>{t.pending=!1}))}})}function le(e,t){const n=G(e);n&&(n.touched=t)}function ue(e){"boolean"!=typeof e?je(e).forEach((t=>{le(t,!!e[t])})):W((t=>{t.touched=e}))}function se(e,t){var n;const r=t&&"value"in t?t.value:ye(B.value,e),i=G(e);i&&(i.__flags.pendingReset=!0),me(e,Q(r)),ne(e,r,!1),le(e,null!==(n=null==t?void 0:t.touched)&&void 0!==n&&n),w(e,(null==t?void 0:t.errors)||[]),j((()=>{i&&(i.__flags.pendingReset=!1)}))}function ce(e,t){let n=(null==e?void 0:e.values)?e.values:T.value;n=ae($)&&z($.cast)?$.cast(n):n,C(n),W((t=>{var r;t.__flags.pendingReset=!0,t.validated=!1,t.touched=(null===(r=null==e?void 0:e.touched)||void 0===r?void 0:r[t.path])||!1,ne(t.path,ye(n,t.path),!1),w(t.path,void 0)})),(null==t?void 0:t.force)?function(e,t=!0){je(u).forEach((e=>{delete u[e]})),je(e).forEach((t=>{ne(t,e[t],!1)})),t&&fe()}(n,!1):re(n,!1),F((null==e?void 0:e.errors)||{}),o.value=(null==e?void 0:e.submitCount)||0,j((()=>{fe({mode:"silent"}),W((e=>{e.__flags.pendingReset=!1}))}))}async function fe(e){const t=(null==e?void 0:e.mode)||"force";if("force"===t&&W((e=>e.validated=!0)),te.validateSchema)return te.validateSchema(t);a.value=!0;const n=await Promise.all(s.value.map((t=>t.validate?t.validate(e).then((e=>({key:t.path,valid:e.valid,errors:e.errors}))):Promise.resolve({key:t.path,valid:!0,errors:[]}))));a.value=!1;const r={},i={};for(const e of n)r[e.key]={valid:e.valid,errors:e.errors},e.errors.length&&(i[e.key]=e.errors[0]);return{valid:n.every((e=>e.valid)),results:r,errors:i}}async function ve(e,t){const n=G(e);if(n&&"silent"!==(null==t?void 0:t.mode)&&(n.validated=!0),$){const{results:n}=await q((null==t?void 0:t.mode)||"validated-only");return n[e]||{errors:[],valid:!0}}return(null==n?void 0:n.validate)?n.validate(t):(!n&&(null==t?void 0:t.warn),Promise.resolve({errors:[],valid:!0}))}function he(e){Oe(B.value,e)}function me(e,t){ge(B.value,e,Q(t))}async function be(){const e=f($);if(!e)return{valid:!0,results:{},errors:{}};a.value=!0;const t=oe(e)||ae(e)?await async function(e,t){const n=ae(e)?e:Re(e),r=await n.parse(Q(t)),i={},a={};for(const e of r.errors){const t=e.errors,n=(e.path||"").replace(/\["(\d+)"\]/g,((e,t)=>`[${t}]`));i[n]={valid:!t.length,errors:t},t.length&&(a[n]=t[0])}return{valid:!r.errors.length,results:i,errors:a,values:r.value}}(e,u):await We(e,u,{names:x.value,bailsMap:P.value});return a.value=!1,t}const Ve=H(((e,{evt:t})=>{de(t)&&t.target.submit()}));return v((()=>{(null==e?void 0:e.initialErrors)&&F(e.initialErrors),(null==e?void 0:e.initialTouched)&&ue(e.initialTouched),(null==e?void 0:e.validateOnMount)?fe():te.validateSchema&&te.validateSchema("silent")})),m($)&&y($,(()=>{var e;null===(e=te.validateSchema)||void 0===e||e.call(te,"validated-only")})),h(ee,te),Object.assign(Object.assign({},te),{values:V(u),handleReset:()=>ce(),submitForm:Ve,defineComponentBinds:function(e,t){const n=G(d(e))||D(e),r=()=>z(t)?t(xe(n,tt)):t||{};function i(){var e;n.touched=!0;(null!==(e=r().validateOnBlur)&&void 0!==e?e:$e().validateOnBlur)&&ve(n.path)}function a(e){var t;const i=null!==(t=r().validateOnModelUpdate)&&void 0!==t?t:$e().validateOnModelUpdate;ne(n.path,e,i)}const o=c((()=>{if(z(t)){const e=t(n),r=e.model||"modelValue";return Object.assign({onBlur:i,[r]:n.value,[`onUpdate:${r}`]:a},e.props||{})}const e=(null==t?void 0:t.model)||"modelValue",r={onBlur:i,[e]:n.value,[`onUpdate:${e}`]:a};return(null==t?void 0:t.mapProps)?Object.assign(Object.assign({},r),t.mapProps(xe(n,tt))):r}));return o},defineInputBinds:function(e,t){const n=G(d(e))||D(e),r=()=>z(t)?t(xe(n,tt)):t||{};function i(){var e;n.touched=!0;(null!==(e=r().validateOnBlur)&&void 0!==e?e:$e().validateOnBlur)&&ve(n.path)}function a(e){var t;const i=Be(e),a=null!==(t=r().validateOnInput)&&void 0!==t?t:$e().validateOnInput;ne(n.path,i,a)}function o(e){var t;const i=Be(e),a=null!==(t=r().validateOnChange)&&void 0!==t?t:$e().validateOnChange;ne(n.path,i,a)}return c((()=>{const e={value:n.value,onChange:o,onInput:a,onBlur:i};return z(t)?Object.assign(Object.assign({},e),t(xe(n,tt)).attrs||{}):(null==t?void 0:t.mapAttrs)?Object.assign(Object.assign({},e),t.mapAttrs(xe(n,tt))):e}))}})}const it=e({name:"Form",inheritAttrs:!1,props:{as:{type:null,default:"form"},validationSchema:{type:Object,default:void 0},initialValues:{type:Object,default:void 0},initialErrors:{type:Object,default:void 0},initialTouched:{type:Object,default:void 0},validateOnMount:{type:Boolean,default:!1},onSubmit:{type:Function,default:void 0},onInvalidSubmit:{type:Function,default:void 0},keepValues:{type:Boolean,default:!1}},setup(e,t){const n=w(e,"initialValues"),r=w(e,"validationSchema"),i=w(e,"keepValues"),{errors:a,errorBag:o,values:l,meta:u,isSubmitting:s,isValidating:c,submitCount:d,controlledValues:f,validate:v,validateField:p,handleReset:h,resetForm:m,handleSubmit:y,setErrors:g,setFieldError:b,setFieldValue:O,setValues:j,setFieldTouched:V,setTouched:S,resetField:A}=rt({validationSchema:r.value?r:void 0,initialValues:n,initialErrors:e.initialErrors,initialTouched:e.initialTouched,validateOnMount:e.validateOnMount,keepValuesOnUnmount:i}),k=y(((e,{evt:t})=>{de(t)&&t.target.submit()}),e.onInvalidSubmit),_=e.onSubmit?y(e.onSubmit,e.onInvalidSubmit):k;function x(e){fe(e)&&e.preventDefault(),h(),"function"==typeof t.attrs.onReset&&t.attrs.onReset()}function P(t,n){return y("function"!=typeof t||n?n:t,e.onInvalidSubmit)(t)}function I(){return Q(l)}function M(){return Q(u.value)}function B(){return Q(a.value)}function T(){return{meta:u.value,errors:a.value,errorBag:o.value,values:l,isSubmitting:s.value,isValidating:c.value,submitCount:d.value,controlledValues:f.value,validate:v,validateField:p,handleSubmit:P,handleReset:h,submitForm:k,setErrors:g,setFieldError:b,setFieldValue:O,setValues:j,setFieldTouched:V,setTouched:S,resetForm:m,resetField:A,getValues:I,getMeta:M,getErrors:B}}return t.expose({setFieldError:b,setErrors:g,setFieldValue:O,setValues:j,setFieldTouched:V,setTouched:S,resetForm:m,validate:v,validateField:p,resetField:A,getValues:I,getMeta:M,getErrors:B}),function(){const n="form"===e.as?e.as:e.as?F(e.as):null,r=Pe(n,t,T);if(!n)return r;const i="form"===n?{novalidate:!0}:{};return E(n,Object.assign(Object.assign(Object.assign({},i),t.attrs),{onSubmit:_,onReset:x}),r)}}}),at=it;function ot(e){const t=Ve(ee,void 0),n=b([]),r=()=>{},i={fields:n,remove:r,push:r,swap:r,insert:r,update:r,replace:r,prepend:r,move:r};if(!t)return i;if(!f(e))return i;const a=t.fieldArrays.find((t=>f(t.path)===f(e)));if(a)return a;let o=0;function l(){return ye(null==t?void 0:t.values,f(e),[])||[]}function u(){const e=l();Array.isArray(e)&&(n.value=e.map(((e,t)=>c(e,t,n.value))),s())}function s(){const e=n.value.length;for(let t=0;te.key===l));return-1===a?r:i[a]},set(e){const t=n.value.findIndex((e=>e.key===l));-1!==t&&v(t,e)}}),isFirst:!1,isLast:!1};return u}function d(){s(),null==t||t.validate({mode:"silent"})}function v(n,r){const i=f(e),a=ye(null==t?void 0:t.values,i);!Array.isArray(a)||a.length-1{const n=t.fieldArrays.findIndex((t=>f(t.path)===f(e)));n>=0&&t.fieldArrays.splice(n,1)})),y(l,(e=>{pe(e,n.value.map((e=>e.value)))||u()})),p}const lt=e({name:"FieldArray",inheritAttrs:!1,props:{name:{type:String,required:!0}},setup(e,t){const{push:n,remove:r,swap:i,insert:a,replace:o,update:l,prepend:u,move:s,fields:c}=ot(w(e,"name"));function d(){return{fields:c.value,push:n,remove:r,swap:i,insert:a,update:l,replace:o,prepend:u,move:s}}return t.expose({push:n,remove:r,swap:i,insert:a,update:l,replace:o,prepend:u,move:s}),()=>Pe(void 0,t,d)}}),ut=e({name:"ErrorMessage",props:{as:{type:String,default:void 0},name:{type:String,required:!0}},setup(e,t){const n=A(ee,void 0),r=c((()=>null==n?void 0:n.errors.value[e.name]));function i(){return{message:r.value}}return()=>{if(!r.value)return;const n=e.as?F(e.as):e.as,a=Pe(n,t,i),o=Object.assign({role:"alert"},t.attrs);return n||!Array.isArray(a)&&a||!(null==a?void 0:a.length)?!Array.isArray(a)&&a||(null==a?void 0:a.length)?E(n,o,a):E(n||"span",o,r.value):a}}});var st=Object.freeze({__proto__:null,ErrorMessage:ut,Field:Qe,FieldArray:lt,FieldContextKey:te,Form:at,FormContextKey:ee,IS_ABSENT:ne,configure:De,defineRule:X,normalizeRules:Te,useField:Ke,useFieldArray:ot,useFieldError:function(e){const t=Ve(ee),n=e?void 0:A(te);return c((()=>e?null==t?void 0:t.errors.value[d(e)]:null==n?void 0:n.errorMessage.value))},useFieldValue:function(e){const t=Ve(ee),n=e?void 0:A(te);return c((()=>e?ye(null==t?void 0:t.values,d(e)):d(null==n?void 0:n.value)))},useForm:rt,useFormErrors:function(){const e=Ve(ee);return c((()=>(null==e?void 0:e.errors.value)||{}))},useFormValues:function(){const e=Ve(ee);return c((()=>(null==e?void 0:e.values)||{}))},useIsFieldDirty:function(e){const t=_e(e);return c((()=>{var e,n;return!!t&&(null!==(n="meta"in t?t.meta.dirty:null===(e=null==t?void 0:t.value)||void 0===e?void 0:e.dirty)&&void 0!==n&&n)}))},useIsFieldTouched:function(e){const t=_e(e);return c((()=>{var e,n;return!!t&&(null!==(n="meta"in t?t.meta.touched:null===(e=null==t?void 0:t.value)||void 0===e?void 0:e.touched)&&void 0!==n&&n)}))},useIsFieldValid:function(e){const t=_e(e);return c((()=>{var e,n;return!!t&&(null!==(n="meta"in t?t.meta.valid:null===(e=null==t?void 0:t.value)||void 0===e?void 0:e.valid)&&void 0!==n&&n)}))},useIsFormDirty:function(){const e=Ve(ee);return c((()=>{var t;return null!==(t=null==e?void 0:e.meta.value.dirty)&&void 0!==t&&t}))},useIsFormTouched:function(){const e=Ve(ee);return c((()=>{var t;return null!==(t=null==e?void 0:e.meta.value.touched)&&void 0!==t&&t}))},useIsFormValid:function(){const e=Ve(ee);return c((()=>{var t;return null!==(t=null==e?void 0:e.meta.value.valid)&&void 0!==t&&t}))},useIsSubmitting:function(){const e=Ve(ee);return c((()=>{var t;return null!==(t=null==e?void 0:e.isSubmitting.value)&&void 0!==t&&t}))},useIsValidating:function(){const e=Ve(ee);return c((()=>{var t;return null!==(t=null==e?void 0:e.isValidating.value)&&void 0!==t&&t}))},useResetForm:function(){const e=Ve(ee);return function(t){if(e)return e.resetForm(t)}},useSetFieldError:function(e){const t=Ve(ee),n=e?void 0:A(te);return function(r){e&&t?t.setFieldError(d(e),r):n&&n.setErrors(r||[])}},useSetFieldTouched:function(e){const t=Ve(ee),n=e?void 0:A(te);return function(r){e&&t?t.setFieldTouched(d(e),r):n&&n.setTouched(r)}},useSetFieldValue:function(e){const t=Ve(ee),n=e?void 0:A(te);return function(r,i=!0){e&&t?t.setFieldValue(d(e),r,i):n&&n.setValue(r,i)}},useSetFormErrors:function(){const e=Ve(ee);return function(t){e&&e.setErrors(t)}},useSetFormTouched:function(){const e=Ve(ee);return function(t){e&&e.setTouched(t)}},useSetFormValues:function(){const e=Ve(ee);return function(t,n=!0){e&&e.setValues(t,n)}},useSubmitCount:function(){const e=Ve(ee);return c((()=>{var t;return null!==(t=null==e?void 0:e.submitCount.value)&&void 0!==t?t:0}))},useSubmitForm:function(e){const t=Ve(ee),n=t?t.handleSubmit(e):void 0;return function(e){if(n)return n(e)}},useValidateField:function(e){const t=Ve(ee),n=e?void 0:A(te);return function(){return n?n.validate():t&&e?null==t?void 0:t.validateField(d(e)):Promise.resolve({errors:[],valid:!0})}},useValidateForm:function(){const e=Ve(ee);return function(){return e?e.validate():Promise.resolve({results:{},errors:{},valid:!0})}},validate:Le,validateObject:We}); -/** - * vee-validate v4.11.8 - * (c) 2023 Abdelrahman Awad - * @license MIT - */function ct(e){return null==e||""===e||!(!Array.isArray(e)||0!==e.length)}const dt=e=>{if(ct(e))return!0;const t=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;return Array.isArray(e)?e.every((e=>t.test(String(e)))):t.test(String(e))},ft=e=>{if(ct(e))return!0;const t=/\.(jpg|svg|jpeg|png|bmp|gif|webp)$/i;return Array.isArray(e)?e.every((e=>t.test(e.name))):t.test(e.name)};const vt=e=>{return!function(e){return null==e}(e)&&(t=e,!Array.isArray(t)||0!==t.length)&&!1!==e&&!!String(e).trim().length;var t};var pt={install:function(e,t){X("required",vt),X("requiredArray",(function(e){return!(null!==e&&"object"===I(e)&&Array.isArray(e)&&e.length<2)||"{_field_} array must contain more than one element"})),X("requiredOb",(function(e){return null===e||"object"!==I(e)||0!==Object.keys(e).length||"{_field_} object must not be empty"})),X("email",dt),X("image",ft),X("private_username",function(){var e=B(P().mark((function e(t){var n,r,i,a,o,l,u;return P().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=p(),r=n.app,i=null==r?void 0:r.appContext.config.globalProperties.$axios,!((a=t.length)<5||a>40)){e.next=7;break}return e.abrupt("return","{_field_} length must be between 5 and 40 characters");case 7:return(o=new FormData).set("user_name",t),e.next=11,i.post("/user/validate/username",o);case 11:if(l=e.sent,(u=l.data).valid){e.next=17;break}return e.abrupt("return",u.message);case 17:return e.abrupt("return",!0);case 18:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),X("password",(function(e,t){if(e!==C(t,1)[0])return"The passwords do not match."})),e.mixin({data:function(){return{get cleanObject(){return t.cleanObject||!1}}}})}},ht=null;"undefined"!=typeof window?ht=window.Vue:"undefined"!=typeof global&&(ht=global.Vue),ht&&ht.use(pt);export{x as _,B as a,P as b,T as c,L as m,pt as p,R as s,D as v}; \ No newline at end of file diff --git a/dist/fold-D-kLFRsg.js b/dist/fold-D-kLFRsg.js new file mode 100644 index 0000000..7fda3fe --- /dev/null +++ b/dist/fold-D-kLFRsg.js @@ -0,0 +1,34 @@ +import { defineComponent as o } from "vue"; +const t = o({ + props: { + isSelfFolded: { + type: Boolean, + default: () => !1 + }, + expandForm: { + type: Boolean, + default: () => !1 + } + }, + data() { + return { + isFolded: !0 + }; + }, + watch: { + expandForm: { + immediate: !0, + handler(e) { + this.isFolded = !e; + } + } + }, + methods: { + toggleFold() { + this.isFolded = !this.isFolded; + } + } +}); +export { + t as f +}; diff --git a/dist/fold-ab363a66.js b/dist/fold-ab363a66.js deleted file mode 100644 index 402ce62..0000000 --- a/dist/fold-ab363a66.js +++ /dev/null @@ -1 +0,0 @@ -import{defineComponent as e}from"vue";var o=e({props:{isSelfFolded:{type:Boolean,default:function(){return!1}},expandForm:{type:Boolean,default:function(){return!1}}},data:function(){return{isFolded:!0}},watch:{expandForm:{immediate:!0,handler:function(e){this.isFolded=!e}}},methods:{toggleFold:function(){this.isFolded=!this.isFolded}}});export{o as f}; \ No newline at end of file diff --git a/dist/fold-e405c002.js b/dist/fold-e405c002.js deleted file mode 100644 index e2cb6a8..0000000 --- a/dist/fold-e405c002.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";var e=require("vue").defineComponent({props:{isSelfFolded:{type:Boolean,default:function(){return!1}},expandForm:{type:Boolean,default:function(){return!1}}},data:function(){return{isFolded:!0}},watch:{expandForm:{immediate:!0,handler:function(e){this.isFolded=!e}}},methods:{toggleFold:function(){this.isFolded=!this.isFolded}}});exports.f=e; \ No newline at end of file diff --git a/dist/size-27a9a503.js b/dist/size-27a9a503.js deleted file mode 100644 index 35af511..0000000 --- a/dist/size-27a9a503.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";var e=require("vue").defineComponent({data:function(){return{isMedium:!1}},mounted:function(){document.querySelector(".vue-openapi-form").classList.contains("is-medium")&&(this.isMedium=!0)}});exports.s=e; \ No newline at end of file diff --git a/dist/size-BtoaE7vX.js b/dist/size-BtoaE7vX.js new file mode 100644 index 0000000..ee726ec --- /dev/null +++ b/dist/size-BtoaE7vX.js @@ -0,0 +1,14 @@ +import { defineComponent as e } from "vue"; +const s = e({ + data() { + return { + isMedium: !1 + }; + }, + mounted() { + document.querySelector(".vue-openapi-form").classList.contains("is-medium") && (this.isMedium = !0); + } +}); +export { + s +}; diff --git a/dist/size-d02f66d9.js b/dist/size-d02f66d9.js deleted file mode 100644 index 22ecce5..0000000 --- a/dist/size-d02f66d9.js +++ /dev/null @@ -1 +0,0 @@ -import{defineComponent as e}from"vue";var i=e({data:function(){return{isMedium:!1}},mounted:function(){document.querySelector(".vue-openapi-form").classList.contains("is-medium")&&(this.isMedium=!0)}});export{i as s}; \ No newline at end of file diff --git a/dist/tabs-1a22f292.js b/dist/tabs-1a22f292.js deleted file mode 100644 index 3b9e727..0000000 --- a/dist/tabs-1a22f292.js +++ /dev/null @@ -1 +0,0 @@ -import{defineComponent as t,defineAsyncComponent as n}from"vue";var r=t({components:{Tabs:n((function(){return import("./Tabs-8b79b1b8.js").then((function(t){return t.default}))})),JsonForm:n((function(){return import("./JsonForm-bfde48ef.js").then((function(t){return t.default}))})),YamlForm:n((function(){return import("./YamlForm-20ecc51a.js").then((function(t){return t.default}))}))},data:function(){return{activeTab:"form"}}});export{r as t}; \ No newline at end of file diff --git a/dist/tabs-693e2862.js b/dist/tabs-693e2862.js deleted file mode 100644 index 7cc573e..0000000 --- a/dist/tabs-693e2862.js +++ /dev/null @@ -1 +0,0 @@ -import{defineComponent as t,defineAsyncComponent as n}from"vue";var r=t({components:{Tabs:n((function(){return import("./Tabs-8b79b1b8.js").then((function(t){return t.default}))})),JsonForm:n((function(){return import("./JsonForm-cff18cd0.js").then((function(t){return t.default}))})),YamlForm:n((function(){return import("./YamlForm-c590504a.js").then((function(t){return t.default}))}))},data:function(){return{activeTab:"form"}}});export{r as t}; \ No newline at end of file diff --git a/dist/tabs-714485d5.js b/dist/tabs-714485d5.js deleted file mode 100644 index c295853..0000000 --- a/dist/tabs-714485d5.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";var n=require("vue"),e=n.defineComponent({components:{Tabs:n.defineAsyncComponent((function(){return Promise.resolve().then((function(){return require("./Tabs-99642040.js")})).then((function(n){return n.default}))})),JsonForm:n.defineAsyncComponent((function(){return Promise.resolve().then((function(){return require("./JsonForm-c1cf3ad9.js")})).then((function(n){return n.default}))})),YamlForm:n.defineAsyncComponent((function(){return Promise.resolve().then((function(){return require("./YamlForm-7007fb43.js")})).then((function(n){return n.default}))}))},data:function(){return{activeTab:"form"}}});exports.t=e; \ No newline at end of file diff --git a/dist/tabs-DnKM5ngn.js b/dist/tabs-DnKM5ngn.js new file mode 100644 index 0000000..67efe7f --- /dev/null +++ b/dist/tabs-DnKM5ngn.js @@ -0,0 +1,22 @@ +import { defineComponent as e, defineAsyncComponent as o } from "vue"; +const m = e({ + components: { + Tabs: o( + () => import("./Tabs-GSZCVuZM.js").then((t) => t.default) + ), + JsonForm: o( + () => import("./JsonForm-DwCycdll.js").then((t) => t.default) + ), + YamlForm: o( + () => import("./YamlForm-9EaWJGqc.js").then((t) => t.default) + ) + }, + data() { + return { + activeTab: "form" + }; + } +}); +export { + m as t +}; diff --git a/dist/tabs-ae6e6a83.js b/dist/tabs-ae6e6a83.js deleted file mode 100644 index d10451b..0000000 --- a/dist/tabs-ae6e6a83.js +++ /dev/null @@ -1 +0,0 @@ -import{defineComponent as t,defineAsyncComponent as n}from"vue";var r=t({components:{Tabs:n((function(){return import("./Tabs-877aa47f.js").then((function(t){return t.default}))})),JsonForm:n((function(){return import("./JsonForm-9e1eac41.js").then((function(t){return t.default}))})),YamlForm:n((function(){return import("./YamlForm-0ab70977.js").then((function(t){return t.default}))}))},data:function(){return{activeTab:"form"}}});export{r as t}; \ No newline at end of file diff --git a/dist/tabs-e549bda7.js b/dist/tabs-e549bda7.js deleted file mode 100644 index 00f5c97..0000000 --- a/dist/tabs-e549bda7.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";var e=require("vue"),n=e.defineComponent({components:{Tabs:e.defineAsyncComponent((function(){return Promise.resolve().then((function(){return require("./Tabs-724892f9.js")})).then((function(e){return e.default}))})),JsonForm:e.defineAsyncComponent((function(){return Promise.resolve().then((function(){return require("./JsonForm-e91fe6e6.js")})).then((function(e){return e.default}))})),YamlForm:e.defineAsyncComponent((function(){return Promise.resolve().then((function(){return require("./YamlForm-35516ac8.js")})).then((function(e){return e.default}))}))},data:function(){return{activeTab:"form"}}});exports.t=n; \ No newline at end of file diff --git a/dist/tabs-f0820640.js b/dist/tabs-f0820640.js deleted file mode 100644 index 6c441fd..0000000 --- a/dist/tabs-f0820640.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";var n=require("vue"),e=n.defineComponent({components:{Tabs:n.defineAsyncComponent((function(){return Promise.resolve().then((function(){return require("./Tabs-724892f9.js")})).then((function(n){return n.default}))})),JsonForm:n.defineAsyncComponent((function(){return Promise.resolve().then((function(){return require("./JsonForm-802cdc31.js")})).then((function(n){return n.default}))})),YamlForm:n.defineAsyncComponent((function(){return Promise.resolve().then((function(){return require("./YamlForm-44242511.js")})).then((function(n){return n.default}))}))},data:function(){return{activeTab:"form"}}});exports.t=e; \ No newline at end of file diff --git a/dist/vue-openapi-form.cjs.js b/dist/vue-openapi-form.cjs.js deleted file mode 100644 index 41cbe1e..0000000 --- a/dist/vue-openapi-form.cjs.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./entry-5480607d.js");require("vue"),exports.VueOpenapiForm=e.s,exports.default=e.p; \ No newline at end of file diff --git a/dist/vue-openapi-form.esm.js b/dist/vue-openapi-form.esm.js deleted file mode 100644 index 66842ae..0000000 --- a/dist/vue-openapi-form.esm.js +++ /dev/null @@ -1 +0,0 @@ -export{s as VueOpenapiForm,p as default}from"./entry-f11f5a48.js";import"vue"; \ No newline at end of file diff --git a/dist/vue-openapi-form.js b/dist/vue-openapi-form.js new file mode 100644 index 0000000..e515179 --- /dev/null +++ b/dist/vue-openapi-form.js @@ -0,0 +1,5 @@ +import { V as p, p as o } from "./entry-CiSu1Krq.js"; +export { + p as VueOpenapiForm, + o as default +}; diff --git a/dist/vue-openapi-form.min.js b/dist/vue-openapi-form.min.js deleted file mode 100644 index 171f4ad..0000000 --- a/dist/vue-openapi-form.min.js +++ /dev/null @@ -1,12 +0,0 @@ -var VueOpenapiForm=function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var o=r(n);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t=0;--a){var i=this.tryEntries[a],l=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var u=r.call(i,"catchLoc"),s=r.call(i,"finallyLoc");if(u&&s){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),S(n),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;S(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:_(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),y}},t}function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function s(e,t,n,r,o,a,i){try{var l=e[a](i),u=l.value}catch(e){return void n(e)}l.done?t(u):Promise.resolve(u).then(r,o)}function c(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var a=e.apply(t,n);function i(e){s(a,r,o,i,l,"next",e)}function l(e){s(a,r,o,i,l,"throw",e)}i(void 0)}))}}function d(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function f(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,l=[],u=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=a.call(n)).done)&&(l.push(r.value),l.length!==t);u=!0);}catch(e){s=!0,o=e}finally{try{if(!u&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return p(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0||"array"===this.type&&this.modelValue.length>0?this.modelData=JSON.parse(JSON.stringify(this.modelValue)):"boolean"===this.type&&null!==this.modelValue||"string"===this.type||"number"===this.type||"integer"===this.type?this.modelData=this.modelValue:this.modelData=this.initWithBlank():this.modelData=this.initWithBlank()},initWithBlank:function(){return"object"===this.type||"key-value-pairs"===this.type?{}:"array"===this.type?[]:"boolean"!==this.type&&("number"===this.type||"integer"===this.type?null:"")},clean:function(e){if("object"===this.type||"key-value-pairs"===this.type)Object.keys(e).forEach((function(t){var n="";void 0!==(n="string"!=typeof e[t]?JSON.stringify(e[t]):e[t])&&"null"!==n&&""!==n&&"{}"!==n&&"[]"!==n||delete e[t]}));else if("array"===this.type){e.map((function(e,t){return{item:e,idx:t}})).filter((function(e){var t=e.item,n="";return void 0===(n="string"!=typeof t?JSON.stringify(t):t)||"null"===n||""===n||"{}"===n||"[]"===n})).map((function(e){return e.idx})).forEach((function(t){return e.splice(t,1)}))}}}}),g=t.defineComponent({name:"VueOpenapiForm",components:{AcForm:t.defineAsyncComponent((function(){return Promise.resolve().then((function(){return an}))})),FormFooterControl:t.defineAsyncComponent((function(){return Promise.resolve().then((function(){return sn}))}))},mixins:[y,v],provide:function(){var e=this,t={};return Object.defineProperty(t,"theme",{enumerable:!0,get:function(){return e.themeMode}}),{providedData:t}},props:{schema:{type:Object,default:function(){return{}}},modelValue:{type:Object,default:function(){return{}}},formTitle:{type:String,default:""},onlyJson:{type:Boolean,default:!1},size:{type:String,default:"small"},themeMode:{type:String,default:"light"}},computed:{extendedSchema:function(){return h(this.schema,this.formTitle)}}}); -/** - * vee-validate v4.11.8 - * (c) 2023 Abdelrahman Awad - * @license MIT - */ -function b(e){return"function"==typeof e}function V(e){return null==e}g.render=function(e,n,r,o,a,i){var l=t.resolveComponent("object-form-wrapper"),u=t.resolveComponent("v-field"),s=t.resolveComponent("form-footer-control"),c=t.resolveComponent("ac-form"),d=t.resolveComponent("v-form");return t.openBlock(),t.createBlock(d,{ref:"v-form",as:""},{default:t.withCtx((function(r){var o=r.meta,a=r.validate,i=r.errors;return[t.createVNode(c,null,{"form-left-controls":t.withCtx((function(){return[t.createVNode(s,null,{default:t.withCtx((function(){return[t.renderSlot(e.$slots,"left-controls",{validate:a,formStatus:o,errors:i})]})),_:2},1024)]})),"form-right-controls":t.withCtx((function(){return[t.createVNode(s,null,{default:t.withCtx((function(){return[t.renderSlot(e.$slots,"right-controls",{validate:a,formStatus:o,errors:i})]})),_:2},1024)]})),default:t.withCtx((function(){return[t.createElementVNode("div",{class:t.normalizeClass(["vue-openapi-form pl-20",{"is-medium":"medium"===e.size}])},[t.createVNode(u,{modelValue:e.modelData,"onUpdate:modelValue":n[0]||(n[0]=function(t){return e.modelData=t}),name:e.extendedSchema.title,label:e.extendedSchema.title,rules:e.ruleObject(!0),as:""},{default:t.withCtx((function(n){var r=n.field,o=n.handleChange;return[t.createVNode(l,{"field-name":"$","model-value":r.value,"expand-form":!0,"is-root":!0,level:1,"is-self-required":!0,"only-json":e.onlyJson,schema:e.extendedSchema,"reference-model":e.referenceModel||{},errors:i,showRootTab:!0,"onUpdate:modelValue":o},null,8,["model-value","only-json","schema","reference-model","errors","onUpdate:modelValue"])]})),_:2},1032,["modelValue","name","label","rules"])],2)]})),_:2},1024)]})),_:3},512)};const w=e=>null!==e&&!!e&&"object"==typeof e&&!Array.isArray(e);function k(e){return Number(e)>=0}function C(e){if(!function(e){return"object"==typeof e&&null!==e}(e)||"[object Object]"!==function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}(e))return!1;if(null===Object.getPrototypeOf(e))return!0;let t=e;for(;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function O(e,t){return Object.keys(t).forEach((n=>{if(C(t[n]))return e[n]||(e[n]={}),void O(e[n],t[n]);e[n]=t[n]})),e}function A(e){const t=e.split(".");if(!t.length)return"";let n=String(t[0]);for(let e=1;e{return(w(r=e)||Array.isArray(r))&&t in e?e[t]:n;var r}),e)}function W(e,t,n){if(P(t))return void(e[Y(t)]=n);const r=t.split(/\.|\[(\d+)\]/).filter(Boolean);let o=e;for(let e=0;eJ(e,n.slice(0,r).join("."))));for(let t=o.length-1;t>=0;t--)a=o[t],(Array.isArray(a)?0===a.length:w(a)&&0===Object.keys(a).length)&&(0!==t?G(o[t-1],n[t-1]):G(e,n[0]));var a}function Z(e){return Object.keys(e)}function X(e,n=void 0){const r=t.getCurrentInstance();return(null==r?void 0:r.provides[e])||t.inject(e,n)}function Q(e,t,n){if(Array.isArray(e)){const n=[...e],r=n.findIndex((e=>z(e,t)));return r>=0?n.splice(r,1):n.push(t),n}return z(e,t)?n:t}function ee(e,t=0){let n=null,r=[];return function(...o){return n&&clearTimeout(n),n=setTimeout((()=>{const t=e(...o);r.forEach((e=>e(t))),r=[]}),t),new Promise((e=>r.push(e)))}}function te(e,t){return w(t)&&t.number?function(e){const t=parseFloat(e);return isNaN(t)?e:t}(e):e}function ne(e,t){let n;return async function(...r){const o=e(...r);n=o;const a=await o;return o!==n||(n=void 0,t(a,r)),a}}function re({get:e,set:n}){const r=t.ref(N(e()));return t.watch(e,(e=>{z(e,r.value)||(r.value=N(e))}),{deep:!0}),t.watch(r,(t=>{z(t,e())||n(N(t))}),{deep:!0}),r}function oe(e){return Array.isArray(e)?e:e?[e]:[]}function ae(e){const n=X(S),r=e?t.computed((()=>null==n?void 0:n.getPathState(t.toValue(e)))):void 0,o=e?void 0:t.inject(B);return!o&&(null==r||r.value),r||o}function ie(e,t){const n={};for(const r in e)t.includes(r)||(n[r]=e[r]);return n}function le(e,t,n){return t.slots.default?"string"!=typeof e&&e?{default:()=>{var e,r;return null===(r=(e=t.slots).default)||void 0===r?void 0:r.call(e,n())}}:t.slots.default(n()):t.slots.default}function ue(e){if(se(e))return e._value}function se(e){return"_value"in e}function ce(e){if(!R(e))return e;const t=e.target;if(T(t.type)&&se(t))return ue(t);if("file"===t.type&&t.files){const e=Array.from(t.files);return t.multiple?e:e[0]}if(U(n=t)&&n.multiple)return Array.from(t.options).filter((e=>e.selected&&!e.disabled)).map(ue);var n;if(U(t)){const e=Array.from(t.options).find((e=>e.selected));return e?ue(e):t.value}return function(e){return"number"===e.type||"range"===e.type?Number.isNaN(e.valueAsNumber)?e.value:e.valueAsNumber:e.value}(t)}function de(e){const t={};return Object.defineProperty(t,"_$$isNormalized",{value:!0,writable:!1,enumerable:!1,configurable:!1}),e?w(e)&&e._$$isNormalized?e:w(e)?Object.keys(e).reduce(((t,n)=>{const r=function(e){if(!0===e)return[];if(Array.isArray(e))return e;if(w(e))return e;return[e]}(e[n]);return!1!==e[n]&&(t[n]=fe(r)),t}),t):"string"!=typeof e?t:e.split("|").reduce(((e,t)=>{const n=pe(t);return n.name?(e[n.name]=fe(n.params),e):e}),t):t}function fe(e){const t=e=>"string"==typeof e&&"@"===e[0]?function(e){const t=t=>J(t,e)||t[e];return t.__locatorRef=e,t}(e.slice(1)):e;return Array.isArray(e)?e.map(t):e instanceof RegExp?[e]:Object.keys(e).reduce(((n,r)=>(n[r]=t(e[r]),n)),{})}const pe=e=>{let t=[];const n=e.split(":")[0];return e.includes(":")&&(t=e.split(":").slice(1).join(":").split(",")),{name:n,params:t}};let me=Object.assign({},{generateMessage:({field:e})=>`${e} is not valid.`,bails:!0,validateOnBlur:!0,validateOnChange:!0,validateOnInput:!1,validateOnModelUpdate:!0});const he=()=>me,ve=e=>{me=Object.assign(Object.assign({},me),e)};async function ye(e,t,n={}){const r=null==n?void 0:n.bails,o={name:(null==n?void 0:n.name)||"{field}",rules:t,label:null==n?void 0:n.label,bails:null==r||r,formData:(null==n?void 0:n.values)||{}},a=await async function(e,t){if(M(e.rules)||I(e.rules))return async function(e,t){const n=M(t)?t:ge(t),r=await n.parse(e),o=[];for(const e of r.errors)e.errors.length&&o.push(...e.errors);return{errors:o}}(t,e.rules);if(b(e.rules)||Array.isArray(e.rules)){const n={field:e.label||e.name,name:e.name,label:e.label,form:e.formData,value:t},r=Array.isArray(e.rules)?e.rules:[e.rules],o=r.length,a=[];for(let i=0;i{const n=t.path||"";return e[n]||(e[n]={errors:[],path:n}),e[n].errors.push(...t.errors),e}),{});return{errors:Object.values(t)}}}}}async function be(e,t,n){const r=(o=n.name,j[o]);var o;if(!r)throw new Error(`No such validator '${n.name}' exists.`);const a=function(e,t){const n=e=>D(e)?e(t):e;if(Array.isArray(e))return e.map(n);return Object.keys(e).reduce(((t,r)=>(t[r]=n(e[r]),t)),{})}(n.params,e.formData),i={field:e.label||e.name,name:e.name,label:e.label,value:t,form:e.formData,rule:Object.assign(Object.assign({},n),{params:a})},l=await r(t,a,i);return"string"==typeof l?{error:l}:{error:l?void 0:Ve(i)}}function Ve(e){const t=he().generateMessage;return t?t(e):"Field is invalid"}async function we(e,t,n){const r=Z(e).map((async r=>{var o,a,i;const l=null===(o=null==n?void 0:n.names)||void 0===o?void 0:o[r],u=await ye(J(t,r),e[r],{name:(null==l?void 0:l.name)||r,label:null==l?void 0:l.label,values:t,bails:null===(i=null===(a=null==n?void 0:n.bailsMap)||void 0===a?void 0:a[r])||void 0===i||i});return Object.assign(Object.assign({},u),{path:r})}));let o=!0;const a=await Promise.all(r),i={},l={};for(const e of a)i[e.path]={valid:e.valid,errors:e.errors},e.valid||(o=!1,l[e.path]=e.errors[0]);return{valid:o,results:i,errors:l}}let ke=0;function Ce(e,n){const{value:r,initialValue:o,setInitialValue:a}=function(e,n,r){const o=t.ref(t.unref(n));function a(){return r?J(r.initialValues.value,t.unref(e),t.unref(o)):t.unref(o)}function i(n){r?r.stageInitialValue(t.unref(e),n,!0):o.value=n}const l=t.computed(a);if(!r){return{value:t.ref(a()),initialValue:l,setInitialValue:i}}const u=function(e,n,r,o){if(t.isRef(e))return t.unref(e);if(void 0!==e)return e;return J(n.values,t.unref(o),t.unref(r))}(n,r,l,e);r.stageInitialValue(t.unref(e),u,!0);const s=t.computed({get:()=>J(r.values,t.unref(e)),set(n){r.setFieldValue(t.unref(e),n,!1)}});return{value:s,initialValue:l,setInitialValue:i}}(e,n.modelValue,n.form);if(!n.form){const{errors:u,setErrors:s}=function(){const e=t.ref([]);return{errors:e,setErrors:t=>{e.value=oe(t)}}}(),c=ke>=Number.MAX_SAFE_INTEGER?0:++ke,d=function(e,n,r){const o=t.reactive({touched:!1,pending:!1,valid:!0,validated:!!t.unref(r).length,initialValue:t.computed((()=>t.unref(n))),dirty:t.computed((()=>!z(t.unref(e),t.unref(n))))});return t.watch(r,(e=>{o.valid=!e.length}),{immediate:!0,flush:"sync"}),o}(r,o,u);function f(e){var t;"value"in e&&(r.value=e.value),"errors"in e&&s(e.errors),"touched"in e&&(d.touched=null!==(t=e.touched)&&void 0!==t?t:d.touched),"initialValue"in e&&a(e.initialValue)}return{id:c,path:e,value:r,initialValue:o,meta:d,flags:{pendingUnmount:{[c]:!1},pendingReset:!1},errors:u,setState:f}}const i=n.form.createPathState(e,{bails:n.bails,label:n.label,type:n.type,validate:n.validate}),l=t.computed((()=>i.errors));return{id:Array.isArray(i.id)?i.id[i.id.length-1]:i.id,path:e,value:r,errors:l,meta:i,initialValue:o,flags:i.__flags,setState:function(o){var i,l,u;"value"in o&&(r.value=o.value),"errors"in o&&(null===(i=n.form)||void 0===i||i.setFieldError(t.unref(e),o.errors)),"touched"in o&&(null===(l=n.form)||void 0===l||l.setFieldTouched(t.unref(e),null!==(u=o.touched)&&void 0!==u&&u)),"initialValue"in o&&a(o.initialValue)}}}function Oe(e,n,r){return T(null==r?void 0:r.type)?function(e,n,r){const o=(null==r?void 0:r.standalone)?void 0:X(S),a=null==r?void 0:r.checkedValue,i=null==r?void 0:r.uncheckedValue;function l(n){const l=n.handleChange,u=t.computed((()=>{const e=t.toValue(n.value),r=t.toValue(a);return Array.isArray(e)?e.findIndex((e=>z(e,r)))>=0:z(r,e)}));function s(s,c=!0){var d,f;if(u.value===(null===(d=null==s?void 0:s.target)||void 0===d?void 0:d.checked))return void(c&&n.validate());const p=t.toValue(e),m=null==o?void 0:o.getPathState(p),h=ce(s);let v=null!==(f=t.toValue(a))&&void 0!==f?f:h;o&&(null==m?void 0:m.multiple)&&"checkbox"===m.type?v=Q(J(o.values,p)||[],v,void 0):"checkbox"===(null==r?void 0:r.type)&&(v=Q(t.toValue(n.value),v,t.toValue(i))),l(v,c)}return Object.assign(Object.assign({},n),{checked:u,checkedValue:a,uncheckedValue:i,handleChange:s})}return l(Ae(e,n,r))}(e,n,r):Ae(e,n,r)}function Ae(e,n,r){const{initialValue:o,validateOnMount:a,bails:i,type:l,checkedValue:u,label:s,validateOnValueUpdate:c,uncheckedValue:d,controlled:f,keepValueOnUnmount:p,syncVModel:m,form:h}=function(e){const n=()=>({initialValue:void 0,validateOnMount:!1,bails:!0,label:void 0,validateOnValueUpdate:!0,keepValueOnUnmount:void 0,syncVModel:!1,controlled:!0}),r=!!(null==e?void 0:e.syncVModel),o="string"==typeof(null==e?void 0:e.syncVModel)?e.syncVModel:(null==e?void 0:e.modelPropName)||"modelValue",a=r&&!("initialValue"in(e||{}))?je(t.getCurrentInstance(),o):null==e?void 0:e.initialValue;if(!e)return Object.assign(Object.assign({},n()),{initialValue:a});const i="valueProp"in e?e.valueProp:e.checkedValue,l="standalone"in e?!e.standalone:e.controlled,u=(null==e?void 0:e.modelPropName)||(null==e?void 0:e.syncVModel)||!1;return Object.assign(Object.assign(Object.assign({},n()),e||{}),{initialValue:a,controlled:null==l||l,checkedValue:i,syncVModel:u})}(r),v=f?X(S):void 0,y=h||v,g=t.computed((()=>A(t.toValue(e)))),V=t.computed((()=>{if(t.toValue(null==y?void 0:y.schema))return;const e=t.unref(n);return I(e)||M(e)||b(e)||Array.isArray(e)?e:de(e)})),{id:w,value:k,initialValue:C,meta:O,setState:j,errors:x,flags:E}=Ce(g,{modelValue:o,form:y,bails:i,label:s,type:l,validate:V.value?L:void 0}),F=t.computed((()=>x.value[0]));m&&function({prop:e,value:n,handleChange:r,shouldValidate:o}){const a=t.getCurrentInstance();if(!a||!e)return;const i="string"==typeof e?e:"modelValue",l=`update:${i}`;if(!(i in a.props))return;t.watch(n,(e=>{z(e,je(a,i))||a.emit(l,e)})),t.watch((()=>je(a,i)),(e=>{if(e===_&&void 0===n.value)return;const t=e===_?void 0:e;z(t,n.value)||r(t,o())}))}({value:k,prop:m,handleChange:$,shouldValidate:()=>c&&!E.pendingReset});async function T(e){var n,r;return(null==y?void 0:y.validateSchema)?null!==(n=(await y.validateSchema(e)).results[t.toValue(g)])&&void 0!==n?n:{valid:!0,errors:[]}:V.value?ye(k.value,V.value,{name:t.toValue(g),label:t.toValue(s),values:null!==(r=null==y?void 0:y.values)&&void 0!==r?r:{},bails:i}):{valid:!0,errors:[]}}const P=ne((async()=>(O.pending=!0,O.validated=!0,T("validated-only"))),(e=>{if(!E.pendingUnmount[W.id])return j({errors:e.errors}),O.pending=!1,O.valid=e.valid,e})),U=ne((async()=>T("silent")),(e=>(O.valid=e.valid,e)));function L(e){return"silent"===(null==e?void 0:e.mode)?U():P()}function $(e,t=!0){K(ce(e),t)}function R(e){var t;const n=e&&"value"in e?e.value:C.value;j({value:N(n),initialValue:N(n),touched:null!==(t=null==e?void 0:e.touched)&&void 0!==t&&t,errors:(null==e?void 0:e.errors)||[]}),O.pending=!1,O.validated=!1,U()}t.onMounted((()=>{if(a)return P();y&&y.validateSchema||U()}));const q=t.getCurrentInstance();function K(e,t=!0){k.value=q&&m?te(e,q.props.modelModifiers):e;(t?P:U)()}const Y=t.computed({get:()=>k.value,set(e){K(e,c)}}),W={id:w,name:g,label:s,value:Y,meta:O,errors:x,errorMessage:F,type:l,checkedValue:u,uncheckedValue:d,bails:i,keepValueOnUnmount:p,resetField:R,handleReset:()=>R(),validate:L,handleChange:$,handleBlur:(e,t=!1)=>{O.touched=!0,t&&P()},setState:j,setTouched:function(e){O.touched=e},setErrors:function(e){j({errors:Array.isArray(e)?e:[e]})},setValue:K};if(t.provide(B,W),t.isRef(n)&&"function"!=typeof t.unref(n)&&t.watch(n,((e,t)=>{z(e,t)||(O.validated?P():U())}),{deep:!0}),!y)return W;const G=t.computed((()=>{const e=V.value;return!e||b(e)||I(e)||M(e)||Array.isArray(e)?{}:Object.keys(e).reduce(((t,n)=>{const r=(o=e[n],Array.isArray(o)?o.filter(D):Z(o).filter((e=>D(o[e]))).map((e=>o[e]))).map((e=>e.__locatorRef)).reduce(((e,t)=>{const n=J(y.values,t)||y.values[t];return void 0!==n&&(e[t]=n),e}),{});var o;return Object.assign(t,r),t}),{})}));return t.watch(G,((e,t)=>{if(!Object.keys(e).length)return;!z(e,t)&&(O.validated?P():U())})),t.onBeforeUnmount((()=>{var e;const n=null!==(e=t.toValue(W.keepValueOnUnmount))&&void 0!==e?e:t.toValue(y.keepValuesOnUnmount),r=t.toValue(g);if(n||!y||E.pendingUnmount[W.id])return void(null==y||y.removePathState(r,w));E.pendingUnmount[W.id]=!0;const o=y.getPathState(r);if(Array.isArray(null==o?void 0:o.id)&&(null==o?void 0:o.multiple)?null==o?void 0:o.id.includes(W.id):(null==o?void 0:o.id)===W.id){if((null==o?void 0:o.multiple)&&Array.isArray(o.value)){const e=o.value.findIndex((e=>z(e,t.toValue(W.checkedValue))));if(e>-1){const t=[...o.value];t.splice(e,1),y.setFieldValue(r,t)}Array.isArray(o.id)&&o.id.splice(o.id.indexOf(W.id),1)}else y.unsetPathValue(t.toValue(g));y.removePathState(r,w)}})),W}function je(e,t){if(e)return e.props[t]}function xe(e,t){let n=e.as||"";return e.as||t.slots.default||(n="input"),n}function Ee(e,t){return T(t.attrs.type)?q(e,"modelValue")?e.modelValue:void 0:q(e,"modelValue")?e.modelValue:t.attrs.value}const Ne=t.defineComponent({name:"Field",inheritAttrs:!1,props:{as:{type:[String,Object],default:void 0},name:{type:String,required:!0},rules:{type:[Object,String,Function],default:void 0},validateOnMount:{type:Boolean,default:!1},validateOnBlur:{type:Boolean,default:void 0},validateOnChange:{type:Boolean,default:void 0},validateOnInput:{type:Boolean,default:void 0},validateOnModelUpdate:{type:Boolean,default:void 0},bails:{type:Boolean,default:()=>he().bails},label:{type:String,default:void 0},uncheckedValue:{type:null,default:void 0},modelValue:{type:null,default:_},modelModifiers:{type:null,default:()=>({})},"onUpdate:modelValue":{type:null,default:void 0},standalone:{type:Boolean,default:!1},keepValue:{type:Boolean,default:void 0}},setup(e,n){const r=t.toRef(e,"rules"),o=t.toRef(e,"name"),a=t.toRef(e,"label"),i=t.toRef(e,"uncheckedValue"),l=t.toRef(e,"keepValue"),{errors:u,value:s,errorMessage:c,validate:d,handleChange:f,handleBlur:p,setTouched:m,resetField:h,handleReset:v,meta:y,checked:g,setErrors:V}=Oe(o,r,{validateOnMount:e.validateOnMount,bails:e.bails,standalone:e.standalone,type:n.attrs.type,initialValue:Ee(e,n),checkedValue:n.attrs.value,uncheckedValue:i,label:a,validateOnValueUpdate:e.validateOnModelUpdate,keepValueOnUnmount:l,syncVModel:!0}),w=function(e,t=!0){f(e,t)},k=t.computed((()=>{const{validateOnInput:t,validateOnChange:r,validateOnBlur:o,validateOnModelUpdate:a}=function(e){var t,n,r,o;const{validateOnInput:a,validateOnChange:i,validateOnBlur:l,validateOnModelUpdate:u}=he();return{validateOnInput:null!==(t=e.validateOnInput)&&void 0!==t?t:a,validateOnChange:null!==(n=e.validateOnChange)&&void 0!==n?n:i,validateOnBlur:null!==(r=e.validateOnBlur)&&void 0!==r?r:l,validateOnModelUpdate:null!==(o=e.validateOnModelUpdate)&&void 0!==o?o:u}}(e);const i={name:e.name,onBlur:function(e){p(e,o),b(n.attrs.onBlur)&&n.attrs.onBlur(e)},onInput:function(e){w(e,t),b(n.attrs.onInput)&&n.attrs.onInput(e)},onChange:function(e){w(e,r),b(n.attrs.onChange)&&n.attrs.onChange(e)},"onUpdate:modelValue":e=>w(e,a)};return i})),C=t.computed((()=>{const t=Object.assign({},k.value);T(n.attrs.type)&&g&&(t.checked=g.value);return L(xe(e,n),n.attrs)&&(t.value=s.value),t})),O=t.computed((()=>Object.assign(Object.assign({},k.value),{modelValue:s.value})));function A(){return{field:C.value,componentField:O.value,value:s.value,meta:y,errors:u.value,errorMessage:c.value,validate:d,resetField:h,handleChange:w,handleInput:e=>w(e,!1),handleReset:v,handleBlur:k.value.onBlur,setTouched:m,setErrors:V}}return n.expose({setErrors:V,setTouched:m,reset:h,validate:d,handleChange:f}),()=>{const r=t.resolveDynamicComponent(xe(e,n)),o=le(r,n,A);return r?t.h(r,Object.assign(Object.assign({},n.attrs),C.value),o):o}}});let Se=0;const Be=["bails","fieldsCount","id","multiple","type","validate"];function _e(e){const n=t.unref(null==e?void 0:e.initialValues)||{},r=t.unref(null==e?void 0:e.validationSchema);return r&&M(r)&&b(r.cast)?N(r.cast(n)||{}):N(n)}function Fe(e){var n;const r=Se++;let o=0;const a=t.ref(!1),i=t.ref(!1),l=t.ref(0),u=[],s=t.reactive(_e(e)),c=t.ref([]),d=t.ref({}),f=t.ref({}),p=function(e){let n=null,r=[];return function(...o){const a=t.nextTick((()=>{if(n!==a)return;const t=e(...o);r.forEach((e=>e(t))),r=[],n=null}));return n=a,new Promise((e=>r.push(e)))}}((()=>{f.value=c.value.reduce(((e,n)=>(e[A(t.toValue(n.path))]=n,e)),{})}));function m(e,t){const n=L(e);if(n){if("string"==typeof e){const t=A(e);d.value[t]&&delete d.value[t]}n.errors=oe(t),n.valid=!n.errors.length}else"string"==typeof e&&(d.value[A(e)]=oe(t))}function h(e){Z(e).forEach((t=>{m(t,e[t])}))}(null==e?void 0:e.initialErrors)&&h(e.initialErrors);const v=t.computed((()=>{const e=c.value.reduce(((e,t)=>(t.errors.length&&(e[t.path]=t.errors),e)),{});return Object.assign(Object.assign({},d.value),e)})),y=t.computed((()=>Z(v.value).reduce(((e,t)=>{const n=v.value[t];return(null==n?void 0:n.length)&&(e[t]=n[0]),e}),{}))),g=t.computed((()=>c.value.reduce(((e,t)=>(e[t.path]={name:t.path||"",label:t.label||""},e)),{}))),V=t.computed((()=>c.value.reduce(((e,t)=>{var n;return e[t.path]=null===(n=t.bails)||void 0===n||n,e}),{}))),w=Object.assign({},(null==e?void 0:e.initialErrors)||{}),k=null!==(n=null==e?void 0:e.keepValuesOnUnmount)&&void 0!==n&&n,{initialValues:C,originalInitialValues:j,setInitialValues:x}=function(e,n,r){const o=_e(r),a=null==r?void 0:r.initialValues,i=t.ref(o),l=t.ref(N(o));function u(t,r=!1){i.value=O(N(i.value)||{},N(t)),l.value=O(N(l.value)||{},N(t)),r&&e.value.forEach((e=>{if(e.touched)return;const t=J(i.value,e.path);W(n,e.path,N(t))}))}t.isRef(a)&&t.watch(a,(e=>{e&&u(e,!0)}),{deep:!0});return{initialValues:i,originalInitialValues:l,setInitialValues:u}}(c,s,e),E=function(e,n,r,o){const a={touched:"some",pending:"some",valid:"every"},i=t.computed((()=>!z(n,t.unref(r))));function l(){const t=e.value;return Z(a).reduce(((e,n)=>{const r=a[n];return e[n]=t[r]((e=>e[n])),e}),{})}const u=t.reactive(l());return t.watchEffect((()=>{const e=l();u.touched=e.touched,u.valid=e.valid,u.pending=e.pending})),t.computed((()=>Object.assign(Object.assign({initialValues:t.unref(r)},u),{valid:u.valid&&!Z(o.value).length,dirty:i.value})))}(c,s,j,y),B=t.computed((()=>c.value.reduce(((e,t)=>{const n=J(s,t.path);return W(e,t.path,n),e}),{}))),_=null==e?void 0:e.validationSchema;function F(e,n){var r,a;const i=t.computed((()=>J(C.value,t.toValue(e)))),l=f.value[t.toValue(e)];if(l){"checkbox"!==(null==n?void 0:n.type)&&"radio"!==(null==n?void 0:n.type)||(l.multiple=!0);const e=o++;return Array.isArray(l.id)?l.id.push(e):l.id=[l.id,e],l.fieldsCount++,l.__flags.pendingUnmount[e]=!1,l}const u=t.computed((()=>J(s,t.toValue(e)))),d=t.toValue(e),m=o++,h=t.reactive({id:m,path:e,touched:!1,pending:!1,valid:!0,validated:!!(null===(r=w[d])||void 0===r?void 0:r.length),initialValue:i,errors:t.shallowRef([]),bails:null!==(a=null==n?void 0:n.bails)&&void 0!==a&&a,label:null==n?void 0:n.label,type:(null==n?void 0:n.type)||"default",value:u,multiple:!1,__flags:{pendingUnmount:{[m]:!1},pendingReset:!1},fieldsCount:1,validate:null==n?void 0:n.validate,dirty:t.computed((()=>!z(t.unref(u),t.unref(i))))});return c.value.push(h),f.value[d]=h,p(),y.value[d]&&!w[d]&&t.nextTick((()=>{de(d,{mode:"silent"})})),t.isRef(e)&&t.watch(e,(e=>{p();const n=N(u.value);f.value[e]=h,t.nextTick((()=>{W(s,e,n)}))})),h}const D=ee(me,5),T=ee(me,5),P=ne((async e=>"silent"===await e?D():T()),((e,[t])=>{const n=Z(G.errorBag.value);return[...new Set([...Z(e.results),...c.value.map((e=>e.path)),...n])].sort().reduce(((n,r)=>{const o=r,a=L(o)||function(e){const t=c.value.filter((t=>e.startsWith(t.path)));return t.reduce(((e,t)=>e?t.path.length>e.path.length?t:e:t),void 0)}(o),i=(e.results[o]||{errors:[]}).errors,l={errors:i,valid:!i.length};return n.results[o]=l,l.valid||(n.errors[o]=l.errors[0]),a&&d.value[o]&&delete d.value[o],a?(a.valid=l.valid,"silent"===t?n:"validated-only"!==t||a.validated?(m(a,l.errors),n):n):(m(o,i),n)}),{valid:e.valid,results:{},errors:{}})}));function U(e){c.value.forEach(e)}function L(e){const t="string"==typeof e?A(e):e;return"string"==typeof t?f.value[t]:t}let R,q=[];function K(e){return function(t,n){return function(r){return r instanceof Event&&(r.preventDefault(),r.stopPropagation()),U((e=>e.touched=!0)),a.value=!0,l.value++,se().then((o=>{const a=N(s);if(o.valid&&"function"==typeof t){const n=N(B.value);let i=e?n:a;return o.values&&(i=o.values),t(i,{evt:r,controlledValues:n,setErrors:h,setFieldError:m,setTouched:ae,setFieldTouched:re,setValues:Q,setFieldValue:X,resetForm:ue,resetField:le})}o.valid||"function"!=typeof n||n({values:a,evt:r,errors:o.errors,results:o.results})})).then((e=>(a.value=!1,e)),(e=>{throw a.value=!1,e}))}}}const Y=K(!1);Y.withControlled=K(!0);const G={formId:r,values:s,controlledValues:B,errorBag:v,errors:y,schema:_,submitCount:l,meta:E,isSubmitting:a,isValidating:i,fieldArrays:u,keepValuesOnUnmount:k,validateSchema:t.unref(_)?P:void 0,validate:se,setFieldError:m,validateField:de,setFieldValue:X,setValues:Q,setErrors:h,setFieldTouched:re,setTouched:ae,resetForm:ue,resetField:le,handleSubmit:Y,stageInitialValue:function(t,n,r=!1){pe(t,n),W(s,t,n),r&&!(null==e?void 0:e.initialValues)&&W(j.value,t,N(n))},unsetInitialValue:fe,setFieldInitialValue:pe,useFieldModel:function(e){if(!Array.isArray(e))return te(e);return e.map(te)},createPathState:F,getPathState:L,unsetPathValue:function(e){return q.push(e),R||(R=t.nextTick((()=>{[...q].sort().reverse().forEach((e=>{H(s,e)})),q=[],R=null}))),R},removePathState:function(e,n){const r=c.value.findIndex((t=>t.path===e)),o=c.value[r];if(-1!==r&&o){if(t.nextTick((()=>{de(e,{mode:"silent",warn:!1})})),o.multiple&&o.fieldsCount&&o.fieldsCount--,Array.isArray(o.id)){const e=o.id.indexOf(n);e>=0&&o.id.splice(e,1),delete o.__flags.pendingUnmount[n]}(!o.multiple||o.fieldsCount<=0)&&(c.value.splice(r,1),fe(e),p(),delete f.value[e])}},initialValues:C,getAllPathStates:()=>c.value,markForUnmount:function(e){return U((t=>{t.path.startsWith(e)&&Z(t.__flags.pendingUnmount).forEach((e=>{t.__flags.pendingUnmount[e]=!0}))}))},isFieldTouched:function(e){var t;return!!(null===(t=L(e))||void 0===t?void 0:t.touched)},isFieldDirty:function(e){var t;return!!(null===(t=L(e))||void 0===t?void 0:t.dirty)},isFieldValid:function(e){var t;return!!(null===(t=L(e))||void 0===t?void 0:t.valid)}};function X(e,t,n=!0){const r=N(t),o="string"==typeof e?e:e.path;L(o)||F(o),W(s,o,r),n&&de(o)}function Q(e,t=!0){O(s,e),u.forEach((e=>e&&e.reset())),t&&se()}function te(e){const n=L(t.unref(e))||F(e);return t.computed({get:()=>n.value,set(r){const o=t.unref(e);X(o,r,!1),n.validated=!0,n.pending=!0,de(o).then((()=>{n.pending=!1}))}})}function re(e,t){const n=L(e);n&&(n.touched=t)}function ae(e){"boolean"!=typeof e?Z(e).forEach((t=>{re(t,!!e[t])})):U((t=>{t.touched=e}))}function le(e,n){var r;const o=n&&"value"in n?n.value:J(C.value,e),a=L(e);a&&(a.__flags.pendingReset=!0),pe(e,N(o)),X(e,o,!1),re(e,null!==(r=null==n?void 0:n.touched)&&void 0!==r&&r),m(e,(null==n?void 0:n.errors)||[]),t.nextTick((()=>{a&&(a.__flags.pendingReset=!1)}))}function ue(e,n){let r=(null==e?void 0:e.values)?e.values:j.value;r=M(_)&&b(_.cast)?_.cast(r):r,x(r),U((t=>{var n;t.__flags.pendingReset=!0,t.validated=!1,t.touched=(null===(n=null==e?void 0:e.touched)||void 0===n?void 0:n[t.path])||!1,X(t.path,J(r,t.path),!1),m(t.path,void 0)})),(null==n?void 0:n.force)?function(e,t=!0){Z(s).forEach((e=>{delete s[e]})),Z(e).forEach((t=>{X(t,e[t],!1)})),t&&se()}(r,!1):Q(r,!1),h((null==e?void 0:e.errors)||{}),l.value=(null==e?void 0:e.submitCount)||0,t.nextTick((()=>{se({mode:"silent"}),U((e=>{e.__flags.pendingReset=!1}))}))}async function se(e){const t=(null==e?void 0:e.mode)||"force";if("force"===t&&U((e=>e.validated=!0)),G.validateSchema)return G.validateSchema(t);i.value=!0;const n=await Promise.all(c.value.map((t=>t.validate?t.validate(e).then((e=>({key:t.path,valid:e.valid,errors:e.errors}))):Promise.resolve({key:t.path,valid:!0,errors:[]}))));i.value=!1;const r={},o={};for(const e of n)r[e.key]={valid:e.valid,errors:e.errors},e.errors.length&&(o[e.key]=e.errors[0]);return{valid:n.every((e=>e.valid)),results:r,errors:o}}async function de(e,t){const n=L(e);if(n&&"silent"!==(null==t?void 0:t.mode)&&(n.validated=!0),_){const{results:n}=await P((null==t?void 0:t.mode)||"validated-only");return n[e]||{errors:[],valid:!0}}return(null==n?void 0:n.validate)?n.validate(t):(!n&&(null==t?void 0:t.warn),Promise.resolve({errors:[],valid:!0}))}function fe(e){H(C.value,e)}function pe(e,t){W(C.value,e,N(t))}async function me(){const e=t.unref(_);if(!e)return{valid:!0,results:{},errors:{}};i.value=!0;const n=I(e)||M(e)?await async function(e,t){const n=M(e)?e:ge(e),r=await n.parse(N(t)),o={},a={};for(const e of r.errors){const t=e.errors,n=(e.path||"").replace(/\["(\d+)"\]/g,((e,t)=>`[${t}]`));o[n]={valid:!t.length,errors:t},t.length&&(a[n]=t[0])}return{valid:!r.errors.length,results:o,errors:a,values:r.value}}(e,s):await we(e,s,{names:g.value,bailsMap:V.value});return i.value=!1,n}const ve=Y(((e,{evt:t})=>{$(t)&&t.target.submit()}));return t.onMounted((()=>{(null==e?void 0:e.initialErrors)&&h(e.initialErrors),(null==e?void 0:e.initialTouched)&&ae(e.initialTouched),(null==e?void 0:e.validateOnMount)?se():G.validateSchema&&G.validateSchema("silent")})),t.isRef(_)&&t.watch(_,(()=>{var e;null===(e=G.validateSchema)||void 0===e||e.call(G,"validated-only")})),t.provide(S,G),Object.assign(Object.assign({},G),{values:t.readonly(s),handleReset:()=>ue(),submitForm:ve,defineComponentBinds:function(e,n){const r=L(t.toValue(e))||F(e),o=()=>b(n)?n(ie(r,Be)):n||{};function a(){var e;r.touched=!0;(null!==(e=o().validateOnBlur)&&void 0!==e?e:he().validateOnBlur)&&de(r.path)}function i(e){var t;const n=null!==(t=o().validateOnModelUpdate)&&void 0!==t?t:he().validateOnModelUpdate;X(r.path,e,n)}const l=t.computed((()=>{if(b(n)){const e=n(r),t=e.model||"modelValue";return Object.assign({onBlur:a,[t]:r.value,[`onUpdate:${t}`]:i},e.props||{})}const e=(null==n?void 0:n.model)||"modelValue",t={onBlur:a,[e]:r.value,[`onUpdate:${e}`]:i};return(null==n?void 0:n.mapProps)?Object.assign(Object.assign({},t),n.mapProps(ie(r,Be))):t}));return l},defineInputBinds:function(e,n){const r=L(t.toValue(e))||F(e),o=()=>b(n)?n(ie(r,Be)):n||{};function a(){var e;r.touched=!0;(null!==(e=o().validateOnBlur)&&void 0!==e?e:he().validateOnBlur)&&de(r.path)}function i(e){var t;const n=ce(e),a=null!==(t=o().validateOnInput)&&void 0!==t?t:he().validateOnInput;X(r.path,n,a)}function l(e){var t;const n=ce(e),a=null!==(t=o().validateOnChange)&&void 0!==t?t:he().validateOnChange;X(r.path,n,a)}return t.computed((()=>{const e={value:r.value,onChange:l,onInput:i,onBlur:a};return b(n)?Object.assign(Object.assign({},e),n(ie(r,Be)).attrs||{}):(null==n?void 0:n.mapAttrs)?Object.assign(Object.assign({},e),n.mapAttrs(ie(r,Be))):e}))}})}const De=t.defineComponent({name:"Form",inheritAttrs:!1,props:{as:{type:null,default:"form"},validationSchema:{type:Object,default:void 0},initialValues:{type:Object,default:void 0},initialErrors:{type:Object,default:void 0},initialTouched:{type:Object,default:void 0},validateOnMount:{type:Boolean,default:!1},onSubmit:{type:Function,default:void 0},onInvalidSubmit:{type:Function,default:void 0},keepValues:{type:Boolean,default:!1}},setup(e,n){const r=t.toRef(e,"initialValues"),o=t.toRef(e,"validationSchema"),a=t.toRef(e,"keepValues"),{errors:i,errorBag:l,values:u,meta:s,isSubmitting:c,isValidating:d,submitCount:f,controlledValues:p,validate:m,validateField:h,handleReset:v,resetForm:y,handleSubmit:g,setErrors:b,setFieldError:V,setFieldValue:w,setValues:k,setFieldTouched:C,setTouched:O,resetField:A}=Fe({validationSchema:o.value?o:void 0,initialValues:r,initialErrors:e.initialErrors,initialTouched:e.initialTouched,validateOnMount:e.validateOnMount,keepValuesOnUnmount:a}),j=g(((e,{evt:t})=>{$(t)&&t.target.submit()}),e.onInvalidSubmit),x=e.onSubmit?g(e.onSubmit,e.onInvalidSubmit):j;function E(e){R(e)&&e.preventDefault(),v(),"function"==typeof n.attrs.onReset&&n.attrs.onReset()}function S(t,n){return g("function"!=typeof t||n?n:t,e.onInvalidSubmit)(t)}function B(){return N(u)}function _(){return N(s.value)}function F(){return N(i.value)}function D(){return{meta:s.value,errors:i.value,errorBag:l.value,values:u,isSubmitting:c.value,isValidating:d.value,submitCount:f.value,controlledValues:p.value,validate:m,validateField:h,handleSubmit:S,handleReset:v,submitForm:j,setErrors:b,setFieldError:V,setFieldValue:w,setValues:k,setFieldTouched:C,setTouched:O,resetForm:y,resetField:A,getValues:B,getMeta:_,getErrors:F}}return n.expose({setFieldError:V,setErrors:b,setFieldValue:w,setValues:k,setFieldTouched:C,setTouched:O,resetForm:y,validate:m,validateField:h,resetField:A,getValues:B,getMeta:_,getErrors:F}),function(){const r="form"===e.as?e.as:e.as?t.resolveDynamicComponent(e.as):null,o=le(r,n,D);if(!r)return o;const a="form"===r?{novalidate:!0}:{};return t.h(r,Object.assign(Object.assign(Object.assign({},a),n.attrs),{onSubmit:x,onReset:E}),o)}}}),Me=De;function Ie(e){const n=X(S,void 0),r=t.ref([]),o=()=>{},a={fields:r,remove:o,push:o,swap:o,insert:o,update:o,replace:o,prepend:o,move:o};if(!n)return a;if(!t.unref(e))return a;const i=n.fieldArrays.find((n=>t.unref(n.path)===t.unref(e)));if(i)return i;let l=0;function u(){return J(null==n?void 0:n.values,t.unref(e),[])||[]}function s(){const e=u();Array.isArray(e)&&(r.value=e.map(((e,t)=>d(e,t,r.value))),c())}function c(){const e=r.value.length;for(let t=0;te.key===u));return-1===i?o:a[i]},set(e){const t=r.value.findIndex((e=>e.key===u));-1!==t&&p(t,e)}}),isFirst:!1,isLast:!1};return s}function f(){c(),null==n||n.validate({mode:"silent"})}function p(r,o){const a=t.unref(e),i=J(null==n?void 0:n.values,a);!Array.isArray(i)||i.length-1{const r=n.fieldArrays.findIndex((n=>t.unref(n.path)===t.unref(e)));r>=0&&n.fieldArrays.splice(r,1)})),t.watch(u,(e=>{z(e,r.value.map((e=>e.value)))||s()})),m}const Te=t.defineComponent({name:"FieldArray",inheritAttrs:!1,props:{name:{type:String,required:!0}},setup(e,n){const{push:r,remove:o,swap:a,insert:i,replace:l,update:u,prepend:s,move:c,fields:d}=Ie(t.toRef(e,"name"));function f(){return{fields:d.value,push:r,remove:o,swap:a,insert:i,update:u,replace:l,prepend:s,move:c}}return n.expose({push:r,remove:o,swap:a,insert:i,update:u,replace:l,prepend:s,move:c}),()=>le(void 0,n,f)}}),Pe=t.defineComponent({name:"ErrorMessage",props:{as:{type:String,default:void 0},name:{type:String,required:!0}},setup(e,n){const r=t.inject(S,void 0),o=t.computed((()=>null==r?void 0:r.errors.value[e.name]));function a(){return{message:o.value}}return()=>{if(!o.value)return;const r=e.as?t.resolveDynamicComponent(e.as):e.as,i=le(r,n,a),l=Object.assign({role:"alert"},n.attrs);return r||!Array.isArray(i)&&i||!(null==i?void 0:i.length)?!Array.isArray(i)&&i||(null==i?void 0:i.length)?t.h(r,l,i):t.h(r||"span",l,o.value):i}}});var Ue=Object.freeze({__proto__:null,ErrorMessage:Pe,Field:Ne,FieldArray:Te,FieldContextKey:B,Form:Me,FormContextKey:S,IS_ABSENT:_,configure:ve,defineRule:x,normalizeRules:de,useField:Oe,useFieldArray:Ie,useFieldError:function(e){const n=X(S),r=e?void 0:t.inject(B);return t.computed((()=>e?null==n?void 0:n.errors.value[t.toValue(e)]:null==r?void 0:r.errorMessage.value))},useFieldValue:function(e){const n=X(S),r=e?void 0:t.inject(B);return t.computed((()=>e?J(null==n?void 0:n.values,t.toValue(e)):t.toValue(null==r?void 0:r.value)))},useForm:Fe,useFormErrors:function(){const e=X(S);return t.computed((()=>(null==e?void 0:e.errors.value)||{}))},useFormValues:function(){const e=X(S);return t.computed((()=>(null==e?void 0:e.values)||{}))},useIsFieldDirty:function(e){const n=ae(e);return t.computed((()=>{var e,t;return!!n&&(null!==(t="meta"in n?n.meta.dirty:null===(e=null==n?void 0:n.value)||void 0===e?void 0:e.dirty)&&void 0!==t&&t)}))},useIsFieldTouched:function(e){const n=ae(e);return t.computed((()=>{var e,t;return!!n&&(null!==(t="meta"in n?n.meta.touched:null===(e=null==n?void 0:n.value)||void 0===e?void 0:e.touched)&&void 0!==t&&t)}))},useIsFieldValid:function(e){const n=ae(e);return t.computed((()=>{var e,t;return!!n&&(null!==(t="meta"in n?n.meta.valid:null===(e=null==n?void 0:n.value)||void 0===e?void 0:e.valid)&&void 0!==t&&t)}))},useIsFormDirty:function(){const e=X(S);return t.computed((()=>{var t;return null!==(t=null==e?void 0:e.meta.value.dirty)&&void 0!==t&&t}))},useIsFormTouched:function(){const e=X(S);return t.computed((()=>{var t;return null!==(t=null==e?void 0:e.meta.value.touched)&&void 0!==t&&t}))},useIsFormValid:function(){const e=X(S);return t.computed((()=>{var t;return null!==(t=null==e?void 0:e.meta.value.valid)&&void 0!==t&&t}))},useIsSubmitting:function(){const e=X(S);return t.computed((()=>{var t;return null!==(t=null==e?void 0:e.isSubmitting.value)&&void 0!==t&&t}))},useIsValidating:function(){const e=X(S);return t.computed((()=>{var t;return null!==(t=null==e?void 0:e.isValidating.value)&&void 0!==t&&t}))},useResetForm:function(){const e=X(S);return function(t){if(e)return e.resetForm(t)}},useSetFieldError:function(e){const n=X(S),r=e?void 0:t.inject(B);return function(o){e&&n?n.setFieldError(t.toValue(e),o):r&&r.setErrors(o||[])}},useSetFieldTouched:function(e){const n=X(S),r=e?void 0:t.inject(B);return function(o){e&&n?n.setFieldTouched(t.toValue(e),o):r&&r.setTouched(o)}},useSetFieldValue:function(e){const n=X(S),r=e?void 0:t.inject(B);return function(o,a=!0){e&&n?n.setFieldValue(t.toValue(e),o,a):r&&r.setValue(o,a)}},useSetFormErrors:function(){const e=X(S);return function(t){e&&e.setErrors(t)}},useSetFormTouched:function(){const e=X(S);return function(t){e&&e.setTouched(t)}},useSetFormValues:function(){const e=X(S);return function(t,n=!0){e&&e.setValues(t,n)}},useSubmitCount:function(){const e=X(S);return t.computed((()=>{var t;return null!==(t=null==e?void 0:e.submitCount.value)&&void 0!==t?t:0}))},useSubmitForm:function(e){const t=X(S),n=t?t.handleSubmit(e):void 0;return function(e){if(n)return n(e)}},useValidateField:function(e){const n=X(S),r=e?void 0:t.inject(B);return function(){return r?r.validate():n&&e?null==n?void 0:n.validateField(t.toValue(e)):Promise.resolve({errors:[],valid:!0})}},useValidateForm:function(){const e=X(S);return function(){return e?e.validate():Promise.resolve({results:{},errors:{},valid:!0})}},validate:ye,validateObject:we}); -/** - * vee-validate v4.11.8 - * (c) 2023 Abdelrahman Awad - * @license MIT - */function Le(e){return null==e||""===e||!(!Array.isArray(e)||0!==e.length)}const $e=e=>{if(Le(e))return!0;const t=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;return Array.isArray(e)?e.every((e=>t.test(String(e)))):t.test(String(e))},Re=e=>{if(Le(e))return!0;const t=/\.(jpg|svg|jpeg|png|bmp|gif|webp)$/i;return Array.isArray(e)?e.every((e=>t.test(e.name))):t.test(e.name)};const qe=e=>{return!function(e){return null==e}(e)&&(t=e,!Array.isArray(t)||0!==t.length)&&!1!==e&&!!String(e).trim().length;var t};var ze={install:function(e,n){x("required",qe),x("requiredArray",(function(e){return!(null!==e&&"object"===u(e)&&Array.isArray(e)&&e.length<2)||"{_field_} array must contain more than one element"})),x("requiredOb",(function(e){return null===e||"object"!==u(e)||0!==Object.keys(e).length||"{_field_} object must not be empty"})),x("email",$e),x("image",Re),x("private_username",function(){var e=c(l().mark((function e(n){var r,o,a,i,u,s,c;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t.getCurrentInstance(),o=r.app,a=null==o?void 0:o.appContext.config.globalProperties.$axios,!((i=n.length)<5||i>40)){e.next=7;break}return e.abrupt("return","{_field_} length must be between 5 and 40 characters");case 7:return(u=new FormData).set("user_name",n),e.next=11,a.post("/user/validate/username",u);case 11:if(s=e.sent,(c=s.data).valid){e.next=17;break}return e.abrupt("return",c.message);case 17:return e.abrupt("return",!0);case 18:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),x("password",(function(e,t){if(e!==f(t,1)[0])return"The passwords do not match."})),e.mixin({data:function(){return{get cleanObject(){return n.cleanObject||!1}}}})}},Ke=null;"undefined"!=typeof window?Ke=window.Vue:"undefined"!=typeof global&&(Ke=global.Vue),Ke&&Ke.use(ze);var Ye=t.defineComponent({name:"ComponentErrors",props:{errors:{type:Array,default:function(){return[]}}},computed:{tooltipObj:function(){return{content:this.htmlContent,html:!0}},htmlContent:function(){var e="
    ";return this.errors.forEach((function(t){e+='
  • '.concat(t,"
  • ")})),e+="
"}}}),Je={class:"has-text-danger has-text-weight-normal is-italic is-size-6 pl-8"},We=t.createElementVNode("i",{class:"fa fa-warning"},null,-1);Ye.render=function(e,n,r,o,a,i){var l=t.resolveDirective("tooltip");return t.withDirectives((t.openBlock(),t.createElementBlock("span",Je,[We,t.createTextVNode(" Error in "+t.toDisplayString(e.errors.length)+" field"+t.toDisplayString(e.errors.length>1?"s":""),1)])),[[t.vShow,e.errors.length>0],[l,e.tooltipObj]])};var Ge=Object.freeze({__proto__:null,default:Ye}),He=t.defineComponent({name:"RightWrongSigns",props:{valid:{type:Boolean,default:!0},invalid:{type:Boolean,default:!0}}}),Ze={key:0,class:"button is-information is-success"},Xe=[t.createElementVNode("span",{class:"icon"},[t.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6"},[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M4.5 12.75l6 6 9-13.5"})])],-1)],Qe={key:1,class:"button is-information is-warning"},et=[t.createElementVNode("span",{class:"icon"},[t.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6"},[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6 18L18 6M6 6l12 12"})])],-1)];He.render=function(e,n,r,o,a,i){return t.openBlock(),t.createElementBlock("div",null,[e.valid?(t.openBlock(),t.createElementBlock("button",Ze,Xe)):t.createCommentVNode("",!0),e.invalid?(t.openBlock(),t.createElementBlock("button",Qe,et)):t.createCommentVNode("",!0)])};var tt=Object.freeze({__proto__:null,default:He}),nt=t.defineComponent({props:{isSelfFolded:{type:Boolean,default:function(){return!1}},expandForm:{type:Boolean,default:function(){return!1}}},data:function(){return{isFolded:!0}},watch:{expandForm:{immediate:!0,handler:function(e){this.isFolded=!e}}},methods:{toggleFold:function(){this.isFolded=!this.isFolded}}}),rt=t.defineComponent({components:{Tabs:t.defineAsyncComponent((function(){return Promise.resolve().then((function(){return mn})).then((function(e){return e.default}))})),JsonForm:t.defineAsyncComponent((function(){return Promise.resolve().then((function(){return yn})).then((function(e){return e.default}))})),YamlForm:t.defineAsyncComponent((function(){return Promise.resolve().then((function(){return ea})).then((function(e){return e.default}))}))},data:function(){return{activeTab:"form"}}}),ot=t.defineComponent({name:"ObjectFormWrapper",mixins:[y,nt,rt,v],props:{schema:{type:Object,default:function(){return{}}},fieldName:{type:String,default:""},modelValue:{type:Object,default:function(){return{}}},isRoot:{type:Boolean,default:!1},errors:{type:Object,default:function(){return{}}},isLastChild:{type:Boolean,default:!1},onlyJson:{type:Boolean,default:!1},level:{type:Number,default:1},showRootTab:{type:Boolean,default:!1}}}),at={class:"nested-header mb-5"},it=["disabled"];ot.render=function(e,n,r,o,a,i){var l=t.resolveComponent("component-errors"),u=t.resolveComponent("tabs"),s=t.resolveComponent("object-form"),c=t.resolveComponent("yaml-form"),d=t.resolveComponent("json-form");return t.openBlock(),t.createElementBlock("form",{class:t.normalizeClass(["ac-nested-elements object-form-wrapper",{"stop-line":e.isLastChild,"is-collapsed":e.isFolded}])},[t.createElementVNode("div",at,[t.createElementVNode("h6",{class:"is-flex is-semi-normal",onClick:n[0]||(n[0]=t.withModifiers((function(t){return e.toggleFold()}),["prevent"]))},[e.isRoot?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",{key:0,class:"collaps-icon",disabled:"form"!==e.activeTab},[t.createElementVNode("i",{class:t.normalizeClass(["fa",e.isFolded?"fa-plus":"fa-minus"]),"aria-hidden":"true"},null,2)],8,it)),t.createTextVNode(" "+t.toDisplayString(e.schema.title||"Array Item Description")+" ",1),t.createVNode(l,{errors:e.calcFormErrors(e.errors,e.fieldName)},null,8,["errors"])]),e.onlyJson?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(u,{key:0,modelValue:e.activeTab,"onUpdate:modelValue":n[1]||(n[1]=function(t){return e.activeTab=t}),showTab:e.showRootTab},null,8,["modelValue","showTab"]))]),t.withDirectives((t.openBlock(),t.createBlock(s,{key:"".concat(e.schema.title,"-form"),modelValue:e.modelData,"onUpdate:modelValue":n[2]||(n[2]=function(t){return e.modelData=t}),"field-name":e.fieldName,properties:e.schema.properties,title:e.schema.title,required:e.schema.required,"is-self-required":e.isSelfRequired,type:e.schema.type,level:e.level,"is-self-folded":e.isFolded,"reference-model":e.referenceModel||{},errors:e.errors},null,8,["modelValue","field-name","properties","title","required","is-self-required","type","level","is-self-folded","reference-model","errors"])),[[t.vShow,!e.onlyJson&&"form"===e.activeTab]]),"yaml"===e.activeTab?(t.openBlock(),t.createBlock(c,{key:0,modelValue:e.modelData,"onUpdate:modelValue":n[3]||(n[3]=function(t){return e.modelData=t}),"reference-model":e.referenceModel||{}},null,8,["modelValue","reference-model"])):"json"===e.activeTab?(t.openBlock(),t.createBlock(d,{key:1,modelValue:e.modelData,"onUpdate:modelValue":n[4]||(n[4]=function(t){return e.modelData=t}),"reference-model":e.referenceModel||{}},null,8,["modelValue","reference-model"])):t.createCommentVNode("",!0)],2)};var lt=Object.freeze({__proto__:null,default:ot}),ut=t.defineComponent({name:"ObjectForm",mixins:[y,nt,v],props:{properties:{type:Object,default:function(){return{}}},fieldName:{type:String,default:""},errors:{type:Object,default:function(){return{}}},title:{type:String,default:""},modelValue:{type:Object,default:function(){return{}}},required:{type:Array,default:function(){return[]}},level:{type:Number,default:1}},computed:{propertiesRequired:function(){return this.isSelfRequired||Object.keys(this.modelData).length>0}},methods:{isRequired:function(e){return!!this.required.find((function(t){return t===e}))}}});ut.render=function(e,n,r,o,a,l){var u=t.resolveComponent("object-form-wrapper"),s=t.resolveComponent("v-field"),c=t.resolveComponent("key-value-pairs"),d=t.resolveComponent("array-input"),f=t.resolveComponent("simple-input");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["mb-15",{"is-hidden":e.isSelfFolded}])},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(Object.keys(e.properties),(function(n,r){return t.openBlock(),t.createElementBlock(t.Fragment,null,["object"===e.properties[n].type?(t.openBlock(),t.createBlock(s,{key:n+"-object",modelValue:e.modelData[n],"onUpdate:modelValue":function(t){return e.modelData[n]=t},name:"".concat(e.fieldName,"/").concat(n),rules:e.ruleObject(e.propertiesRequired&&e.isRequired(n)),label:"".concat(e.properties[n].title),as:""},{default:t.withCtx((function(o){var a=o.field,i=o.handleChange;return[t.createVNode(u,{"model-value":a.value,"field-name":"".concat(e.fieldName,"/").concat(n),"expand-form":e.level<2,"is-last-child":r===Object.keys(e.properties).length-1,level:e.level+1,type:e.properties[n].type,"is-self-required":e.propertiesRequired&&e.isRequired(n),schema:e.properties[n],errors:e.errors,"reference-model":e.referenceModel[n]||{},showRootTab:!1,"onUpdate:modelValue":i},null,8,["model-value","field-name","expand-form","is-last-child","level","type","is-self-required","schema","errors","reference-model","onUpdate:modelValue"])]})),_:2},1032,["modelValue","onUpdate:modelValue","name","rules","label"])):"key-value-pairs"===e.properties[n].type?(t.openBlock(),t.createBlock(s,{key:n+"-key-value-pairs",modelValue:e.modelData[n],"onUpdate:modelValue":function(t){return e.modelData[n]=t},name:"".concat(e.fieldName,"/").concat(n),rules:e.ruleObject(e.propertiesRequired&&e.isRequired(n)),label:"".concat(e.properties[n].title),as:""},{default:t.withCtx((function(o){var a=o.field,i=o.handleChange;return[t.createVNode(c,{"model-value":a.value,"field-name":"".concat(e.fieldName,"/").concat(n),"is-last-child":r===Object.keys(e.properties).length-1,type:e.properties[n].type,schema:e.properties[n],errors:e.errors,"reference-model":e.referenceModel[n]||{},"onUpdate:modelValue":i},null,8,["model-value","field-name","is-last-child","type","schema","errors","reference-model","onUpdate:modelValue"])]})),_:2},1032,["modelValue","onUpdate:modelValue","name","rules","label"])):"array"===e.properties[n].type?(t.openBlock(),t.createBlock(s,{key:n+"-array",modelValue:e.modelData[n],"onUpdate:modelValue":function(t){return e.modelData[n]=t},name:"".concat(e.fieldName,"/").concat(n),rules:e.ruleArray(e.propertiesRequired&&e.isRequired(n)),label:"".concat(e.properties[n].title),as:""},{default:t.withCtx((function(o){var a=o.field,i=o.handleChange;return[t.createVNode(d,{"model-value":a.value,"field-name":"".concat(e.fieldName,"/").concat(n),"is-last-child":r===Object.keys(e.properties).length-1,type:e.properties[n].type,schema:e.properties[n],errors:e.errors,"reference-model":e.referenceModel[n]||[],"onUpdate:modelValue":i},null,8,["model-value","field-name","is-last-child","type","schema","errors","reference-model","onUpdate:modelValue"])]})),_:2},1032,["modelValue","onUpdate:modelValue","name","rules","label"])):(t.openBlock(),t.createBlock(s,{key:n,modelValue:e.modelData[n],"onUpdate:modelValue":function(t){return e.modelData[n]=t},rules:e.ruleString(e.propertiesRequired&&e.isRequired(n)),name:"".concat(e.fieldName,"/").concat(n),label:"".concat(e.properties[n].title),as:""},{default:t.withCtx((function(r){var o=r.field,a=r.handleChange,l=r.errors,u=r.meta;return[(t.openBlock(),t.createBlock(f,{key:n,"model-value":o.value,type:e.properties[n].type,schema:e.properties[n],"validation-ob":i({errors:l},u),"reference-model":e.referenceModel[n]||"","onUpdate:modelValue":a},null,8,["model-value","type","schema","validation-ob","reference-model","onUpdate:modelValue"]))]})),_:2},1032,["modelValue","onUpdate:modelValue","rules","name","label"]))],64)})),256))],2)};var st=Object.freeze({__proto__:null,default:ut}),ct=t.defineComponent({data:function(){return{isMedium:!1}},mounted:function(){document.querySelector(".vue-openapi-form").classList.contains("is-medium")&&(this.isMedium=!0)}}),dt=t.defineComponent({name:"ArrayInput",components:{ArrayInputItems:t.defineAsyncComponent((function(){return Promise.resolve().then((function(){return ra})).then((function(e){return e.default}))}))},mixins:[y,rt,v,ct],props:{schema:{type:Object,default:function(){return{}}},fieldName:{type:String,default:""},modelValue:{type:null,default:function(){return[]}},errors:{type:Object,default:function(){return{}}},isLastChild:{type:Boolean,default:!1}},data:function(){return{newData:null,updatePass:0}},computed:{items:function(){return this.schema.items||{}}},methods:{swapElems:function(e,t){var n=JSON.parse(JSON.stringify(this.modelData[e]));this.modelData[e]=JSON.parse(JSON.stringify(this.modelData[t])),this.modelData[t]=n,this.updatePass+=1},addNewValue:function(e){var t=this;return c(l().mark((function n(){var r;return l().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,e();case 2:r=n.sent,r.valid&&(t.modelData.push(t.newData),t.newData=null,t.updatePass+=1);case 5:case"end":return n.stop()}}),n)})))()},deleteValue:function(e){this.modelData.splice(e,1),this.updatePass+=1}}}),ft={class:"nested-header mb-5"},pt={class:"is-flex is-semi-normal"},mt=t.createElementVNode("div",{class:"collaps-icon is-disabled"},[t.createElementVNode("i",{class:"fa fa-minus"})],-1),ht={key:0,class:"is-flex gap-16 is-flex-direction-column"},vt={class:"form-right-item"},yt={class:"buttons",style:{gap:"16px"}},gt=["disabled","onClick"],bt=[t.createElementVNode("span",{class:"icon is-small"},[t.createElementVNode("i",{class:"fa fa-angle-up"})],-1)],Vt=["disabled","onClick"],wt=[t.createElementVNode("span",{class:"icon is-small"},[t.createElementVNode("i",{class:"fa fa-angle-down"})],-1)],kt=["onClick"],Ct=[t.createElementVNode("span",{class:"icon"},[t.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6"},[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M14.74 9l-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 01-2.244 2.077H8.084a2.25 2.25 0 01-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 00-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 013.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 00-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 00-7.5 0"})])],-1)],Ot={class:"value-list-save"},At=["onClick"],jt=[t.createElementVNode("div",{class:"icon"},[t.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6"},[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 4.5v15m7.5-7.5h-15"})])],-1)];dt.render=function(e,n,r,o,a,l){var u=t.resolveComponent("component-errors"),s=t.resolveComponent("tabs"),c=t.resolveComponent("array-input-items"),d=t.resolveComponent("object-form-wrapper"),f=t.resolveComponent("v-field"),p=t.resolveComponent("key-value-pairs"),m=t.resolveComponent("array-input",!0),h=t.resolveComponent("simple-input"),v=t.resolveComponent("v-form"),y=t.resolveComponent("yaml-form"),g=t.resolveComponent("json-form"),b=t.resolveDirective("tooltip");return t.openBlock(),t.createElementBlock("div",{as:"div",class:t.normalizeClass(["ac-nested-elements vue-schema-form-array array-input",{"stop-line":e.isLastChild}])},[t.createElementVNode("div",ft,[t.createElementVNode("h6",pt,[mt,t.createTextVNode(" "+t.toDisplayString(e.schema.title||"Array Item Description")+" ",1),t.createVNode(u,{errors:e.calcFormErrors(e.errors,e.fieldName)},null,8,["errors"])]),t.createVNode(s,{modelValue:e.activeTab,"onUpdate:modelValue":n[0]||(n[0]=function(t){return e.activeTab=t})},null,8,["modelValue"])]),"form"===e.activeTab?(t.openBlock(),t.createElementBlock("div",ht,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.modelData,(function(n,r){return t.openBlock(),t.createElementBlock("div",{key:"".concat(r,"-").concat(e.schema.title,"-form"),class:"nested-body"},[t.createVNode(c,{"field-name":e.fieldName,items:e.items,schema:e.schema,index:r,"model-value":JSON.parse(JSON.stringify(e.modelData)),errors:e.errors,"reference-model":e.referenceModel||[]},null,8,["field-name","items","schema","index","model-value","errors","reference-model"]),t.createElementVNode("div",vt,[t.createElementVNode("div",yt,[t.createElementVNode("div",{class:t.normalizeClass(["buttons up-down-buttons",{"is-small":!e.isMedium}])},[t.withDirectives((t.openBlock(),t.createElementBlock("button",{class:t.normalizeClass(["up-down-button",{"is-primary":0!==r}]),disabled:0===r,onClick:t.withModifiers((function(t){return e.swapElems(r-1,r)}),["prevent"])},bt,10,gt)),[[b,{content:"move up",placement:"top",classes:["is-primary"],targetClasses:["up-down-button"]}]]),t.withDirectives((t.openBlock(),t.createElementBlock("button",{class:t.normalizeClass(["up-down-button",{"is-primary":r!==e.modelData.length-1}]),disabled:r===e.modelData.length-1,onClick:t.withModifiers((function(t){return e.swapElems(r,r+1)}),["prevent"])},wt,10,Vt)),[[b,{content:"move down",placement:"bottom",classes:["is-primary"],targetClasses:["up-down-button"]}]])],2),t.createElementVNode("button",{class:"button ac-button is-medium is-square is-danger is-outlined mb-0",onClick:t.withModifiers((function(t){return e.deleteValue(r)}),["prevent"])},Ct,8,kt)])])])})),128)),(t.openBlock(),t.createBlock(v,{key:e.updatePass,as:""},{default:t.withCtx((function(r){var o=r.validate,a=r.errors;return[t.createElementVNode("div",Ot,["object"===e.items.type?(t.openBlock(),t.createBlock(f,{key:0,modelValue:e.newData,"onUpdate:modelValue":n[1]||(n[1]=function(t){return e.newData=t}),rules:e.ruleObject(!0),name:"newItem",label:"".concat(e.schema.title," new value"),as:""},{default:t.withCtx((function(n){var r=n.field,o=n.handleChange;return[t.createVNode(d,{"field-name":"newItem","model-value":r.value,"is-last-child":!0,"expand-form":!0,"is-self-required":!0,schema:i(i({},e.items),{title:"".concat(e.schema.title," new value")}),type:e.items.type,errors:a,"reference-model":{},"onUpdate:modelValue":o},null,8,["model-value","schema","type","errors","onUpdate:modelValue"])]})),_:2},1032,["modelValue","rules","label"])):"key-value-pairs"===e.items.type?(t.openBlock(),t.createBlock(f,{key:1,modelValue:e.newData,"onUpdate:modelValue":n[2]||(n[2]=function(t){return e.newData=t}),rules:e.ruleObject(!0),name:"newItem",label:"".concat(e.schema.title," new value"),as:""},{default:t.withCtx((function(n){var r=n.field,o=n.handleChange;return[t.createVNode(p,{"field-name":"newItem","model-value":r.value,"is-last-child":!0,schema:i(i({},e.items),{title:"".concat(e.schema.title," new value")}),errors:a,type:e.items.type,"reference-model":{},"onUpdate:modelValue":o},null,8,["model-value","schema","errors","type","onUpdate:modelValue"])]})),_:2},1032,["modelValue","rules","label"])):"array"===e.items.type?(t.openBlock(),t.createBlock(f,{key:2,modelValue:e.newData,"onUpdate:modelValue":n[3]||(n[3]=function(t){return e.newData=t}),rules:e.ruleArray(!0),name:"newItem",label:"".concat(e.schema.title," new value"),as:""},{default:t.withCtx((function(n){var r=n.field,o=n.handleChange;return[t.createVNode(m,{"field-name":"newItem","model-value":r.value,"is-last-child":!0,schema:i(i({},e.items),{title:"".concat(e.schema.title," new value")}),errors:a,type:e.items.type,"reference-model":[],"onUpdate:modelValue":o},null,8,["model-value","schema","errors","type","onUpdate:modelValue"])]})),_:2},1032,["modelValue","rules","label"])):(t.openBlock(),t.createBlock(f,{key:3,modelValue:e.newData,"onUpdate:modelValue":n[4]||(n[4]=function(t){return e.newData=t}),rules:e.ruleString(!0),name:"newItem",label:"".concat(e.schema.title," new value"),as:""},{default:t.withCtx((function(n){var r=n.field,o=n.handleChange,a=n.errors,l=n.meta;return[t.createVNode(h,{"model-value":r.value,schema:i(i({},e.items),{title:"".concat(e.schema.title," new value")}),required:!0,type:e.items.type,"validation-ob":i({errors:a},l),"reference-model":"","onUpdate:modelValue":o},null,8,["model-value","schema","type","validation-ob","onUpdate:modelValue"])]})),_:1},8,["modelValue","rules","label"])),t.createElementVNode("button",{class:"button ac-button is-medium is-square is-primary is-outlined",onClick:t.withModifiers((function(t){return e.addNewValue(o)}),["prevent"])},jt,8,At)])]})),_:1}))])):"yaml"===e.activeTab?(t.openBlock(),t.createBlock(y,{key:1,modelValue:e.modelData,"onUpdate:modelValue":n[5]||(n[5]=function(t){return e.modelData=t}),"reference-model":e.referenceModel||[]},null,8,["modelValue","reference-model"])):"json"===e.activeTab?(t.openBlock(),t.createBlock(g,{key:2,modelValue:e.modelData,"onUpdate:modelValue":n[6]||(n[6]=function(t){return e.modelData=t}),"reference-model":e.referenceModel||[]},null,8,["modelValue","reference-model"])):t.createCommentVNode("",!0)],2)};var xt=Object.freeze({__proto__:null,default:dt}),Et=t.defineComponent({name:"KeyValuePairs",components:{KeyValuePairItems:t.defineAsyncComponent((function(){return Promise.resolve().then((function(){return la})).then((function(e){return e.default}))}))},mixins:[y,rt,v,ct],props:{schema:{type:Object,default:function(){return{}}},fieldName:{type:String,default:""},modelValue:{type:Object,default:function(){return{}}},errors:{type:Object,default:function(){return{}}},isLastChild:{type:Boolean,default:!1}},data:function(){return{newData:null,updatePass:0,keyValueArray:null,referencekeyValueArray:null,newKey:"",newValue:null}},computed:{additionalProperties:function(){return this.schema.additionalProperties||{}}},watch:{keyValueArray:{immediate:!0,deep:!0,handler:function(e,t){if(null!=t){var n=JSON.stringify(e);this.modelData=this.reconstructObject(JSON.parse(n))}}},activeTab:function(){this.initKeyValueArray(),this.initReferenceKeyValueArray()},modelValue:{deep:!0,immediate:!0,handler:function(e,t){JSON.stringify(e)!==JSON.stringify(t)&&this.initKeyValueArray(),this.initReferenceKeyValueArray()}}},methods:{initKeyValueArray:function(){var e=this;this.keyValueArray=Object.keys(this.modelValue).map((function(t){return{key:t,value:e.modelValue[t]||null}}))},initReferenceKeyValueArray:function(){var e=this;this.referencekeyValueArray=Object.keys(this.referenceModel).map((function(t){return{key:t,value:e.referenceModel[t]||null}}))},updateKeyValueArray:function(e){this.keyValueArray=Object.keys(e).map((function(t){return{key:t,value:e[t]}}))},reconstructObject:function(e){var t={};return e.forEach((function(e){t=Object.assign({},i({},t),d({},"".concat(e.key),e.value))})),t},addProp:function(e){var t=this;return c(l().mark((function n(){var r;return l().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,e();case 2:r=n.sent,r.valid&&(t.keyValueArray.push({key:t.newKey,value:t.newValue}),t.newKey="",t.newValue=null,t.updatePass+=1);case 5:case"end":return n.stop()}}),n)})))()},deleteProp:function(e){this.keyValueArray.splice(e,1),this.updatePass+=1}}}),Nt={class:"nested-header mb-5"},St={class:"is-flex is-semi-normal"},Bt=t.createElementVNode("div",{class:"collaps-icon is-disabled"},[t.createElementVNode("i",{"aria-hidden":"true",class:"fa fa-minus"})],-1),_t=["onClick"],Ft=[t.createElementVNode("span",{class:"icon"},[t.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6"},[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 4.5v15m7.5-7.5h-15"})])],-1)];Et.render=function(e,n,r,o,a,l){var u=t.resolveComponent("component-errors"),s=t.resolveComponent("tabs"),c=t.resolveComponent("key-value-pair-items"),d=t.resolveComponent("simple-input"),f=t.resolveComponent("v-field"),p=t.resolveComponent("object-form-wrapper"),m=t.resolveComponent("key-value-pairs",!0),h=t.resolveComponent("array-input"),v=t.resolveComponent("v-form"),y=t.resolveComponent("yaml-form"),g=t.resolveComponent("json-form");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["ac-nested-elements key-value-pairs is-flex is-flex-direction-column gap-8",{"stop-line":e.isLastChild}])},[t.createElementVNode("div",Nt,[t.createElementVNode("h6",St,[Bt,t.createTextVNode(" "+t.toDisplayString(e.schema.title||"Array Item Description"),1),t.createVNode(u,{errors:e.calcFormErrors(e.errors,e.fieldName)},null,8,["errors"])]),t.createVNode(s,{modelValue:e.activeTab,"onUpdate:modelValue":n[0]||(n[0]=function(t){return e.activeTab=t})},null,8,["modelValue"])]),"form"===e.activeTab?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.keyValueArray,(function(n,r){return t.openBlock(),t.createElementBlock("div",{key:"".concat(r,"-").concat(e.schema.title,"-form")},[t.createVNode(c,{modelValue:e.keyValueArray[r],"onUpdate:modelValue":function(t){return e.keyValueArray[r]=t},"field-name":e.fieldName,"reference-model":e.referencekeyValueArray[r]||{},index:r,schema:e.schema,"additional-properties":e.additionalProperties,errors:e.errors,onDeleteKeyValue:e.deleteProp},null,8,["modelValue","onUpdate:modelValue","field-name","reference-model","index","schema","additional-properties","errors","onDeleteKeyValue"])])})),128)),(t.openBlock(),t.createBlock(v,{id:"".concat(e.schema.title.replace(/ /g,"-"),"-new-observer"),key:e.updatePass,as:"div",class:"key-value-save"},{default:t.withCtx((function(r){var o=r.validate,a=r.errors;return[t.createVNode(f,{id:"".concat(e.schema.title.replace(/ /g,"-"),"-key-provider"),modelValue:e.newKey,"onUpdate:modelValue":n[1]||(n[1]=function(t){return e.newKey=t}),rules:"required",name:"newKey",label:"".concat(e.schema.title," new key"),as:"div"},{default:t.withCtx((function(e){var n=e.field,r=e.handleChange,o=e.errors,a=e.meta;return[t.createVNode(d,{"model-value":n.value,schema:{title:"Key",type:"string",ui:{tag:"input",type:"text"}},type:"string","validation-ob":i({errors:o},a),"reference-model":"","onUpdate:modelValue":r},null,8,["model-value","validation-ob","onUpdate:modelValue"])]})),_:1},8,["id","modelValue","label"]),"object"===e.additionalProperties.type?(t.openBlock(),t.createBlock(f,{key:0,id:"".concat(e.schema.title.replace(/ /g,"-"),"-value-provider"),modelValue:e.newValue,"onUpdate:modelValue":n[2]||(n[2]=function(t){return e.newValue=t}),rules:"required",name:"newValue",label:"".concat(e.schema.title," new value"),as:""},{default:t.withCtx((function(n){var r=n.field,o=n.handleChange;return[t.createVNode(p,{"field-name":"newValue","model-value":r.value,"is-last-child":!0,"is-self-required":!0,schema:e.additionalProperties,type:e.additionalProperties.type,errors:a,"reference-model":{},"onUpdate:modelValue":o},null,8,["model-value","schema","type","errors","onUpdate:modelValue"])]})),_:2},1032,["id","modelValue","label"])):"key-value-pairs"===e.additionalProperties.type?(t.openBlock(),t.createBlock(f,{key:1,id:"".concat(e.schema.title.replace(/ /g,"-"),"-value-provider"),modelValue:e.newValue,"onUpdate:modelValue":n[3]||(n[3]=function(t){return e.newValue=t}),rules:"required",name:"newValue",label:"".concat(e.schema.title," new value"),as:""},{default:t.withCtx((function(n){var r=n.field,o=n.handleChange;return[t.createVNode(m,{"field-name":"newValue","model-value":r.value,"is-last-child":!0,schema:e.additionalProperties,type:e.additionalProperties.type,errors:a,"reference-model":{},"onUpdate:modelValue":o},null,8,["model-value","schema","type","errors","onUpdate:modelValue"])]})),_:2},1032,["id","modelValue","label"])):"array"===e.additionalProperties.type?(t.openBlock(),t.createBlock(f,{key:2,id:"".concat(e.schema.title.replace(/ /g,"-"),"-value-provider"),modelValue:e.newValue,"onUpdate:modelValue":n[4]||(n[4]=function(t){return e.newValue=t}),rules:"required",name:"newValue",label:"".concat(e.schema.title," new value"),as:""},{default:t.withCtx((function(n){var r=n.field,o=n.handleChange;return[t.createVNode(h,{"field-name":"newValue","model-value":r.value,"is-last-child":!0,schema:e.additionalProperties,type:e.additionalProperties.type,errors:a,"reference-model":[],"onUpdate:modelValue":o},null,8,["model-value","schema","type","errors","onUpdate:modelValue"])]})),_:2},1032,["id","modelValue","label"])):(t.openBlock(),t.createBlock(f,{key:3,id:"".concat(e.schema.title.replace(/ /g,"-"),"-value-provider"),modelValue:e.newValue,"onUpdate:modelValue":n[5]||(n[5]=function(t){return e.newValue=t}),rules:"required",name:"newValue",label:"".concat(e.schema.title," new value"),as:""},{default:t.withCtx((function(n){var r=n.field,o=n.handleChange,a=n.errors,l=n.meta;return[t.createVNode(d,{"model-value":r.value,schema:e.additionalProperties,type:e.additionalProperties.type,"validation-ob":i({errors:a},l),"reference-model":"","onUpdate:modelValue":o},null,8,["model-value","schema","type","validation-ob","onUpdate:modelValue"])]})),_:1},8,["id","modelValue","label"])),t.createElementVNode("button",{class:"button ac-button is-medium is-square is-primary is-outlined",onClick:t.withModifiers((function(t){return e.addProp(o)}),["prevent"])},Ft,8,_t)]})),_:1},8,["id"]))],64)):t.createCommentVNode("",!0),"yaml"===e.activeTab?(t.openBlock(),t.createBlock(y,{key:1,modelValue:e.modelData,"onUpdate:modelValue":n[6]||(n[6]=function(t){return e.modelData=t}),"reference-model":e.referenceModel||{},"onCode::modelDataUpdated":e.updateKeyValueArray},null,8,["modelValue","reference-model","onCode::modelDataUpdated"])):"json"===e.activeTab?(t.openBlock(),t.createBlock(g,{key:2,modelValue:e.modelData,"onUpdate:modelValue":n[7]||(n[7]=function(t){return e.modelData=t}),"reference-model":e.referenceModel||{},"onCode::modelDataUpdated":e.updateKeyValueArray},null,8,["modelValue","reference-model","onCode::modelDataUpdated"])):t.createCommentVNode("",!0)],2)};var Dt=Object.freeze({__proto__:null,default:Et}),Mt=t.defineComponent({name:"SimpleInput",mixins:[y,v,ct],props:{schema:{type:Object,default:function(){return{}}},modelValue:{type:null,default:""},validationOb:{type:Object,default:function(){return{}}}},emits:["update:modelValue"],data:function(){return{labelShow:!1,isIntegerSetToNull:!1,isMultilineValue:!1}},computed:{ui:function(){return this.schema.ui||{tag:"input",type:"text"}},identifier:function(){return"id-".concat(this.schema.title.replace(" ","-"),"-").concat(JSON.stringify((new Date).valueOf()))}},watch:{modelData:{immediate:!0,deep:!0,handler:function(e,t){var n=this;this.isMultilineValue&&setTimeout((function(){n.$refs.textareaField.focus()}),0),"string"==typeof e&&e.includes("\n")&&(this.isMultilineValue=!0),this.labelShow=!!e,(this.isIntegerSetToNull||null!=t)&&(this.isIntegerSetToNull&&e&&(this.isIntegerSetToNull=!1),"number"===this.type||"integer"===this.type?""===e?(this.isIntegerSetToNull=!0,this.$emit("update:modelValue",null)):this.$emit("update:modelValue",+e):this.$emit("update:modelValue",e))}}},mounted:function(){var e;this.modelData&&(this.labelShow=!0),null===(e=this.$refs.inputField)||void 0===e||e.addEventListener("keydown",this.handleKeyDownEvent)},destroyed:function(){var e;null===(e=this.$refs.inputField)||void 0===e||e.removeEventListener("keydown",this.handleKeyDownEvent)},methods:{triggerInput:function(){this.labelShow=!0},unTriggerInput:function(){this.modelData||(this.labelShow=!1)},focusInput:function(){this.labelShow=!0,this.$refs.inputField.focus()},onPaste:function(e){var t=(e.clipboardData||window.clipboardData).getData("text"),n=this.updatedModelDataAfterPasteAndKeyDown(e.target,t);t.includes("\n")&&(this.isMultilineValue=!0,this.modelData=n)},handleKeyDownEvent:function(e){if("Enter"===e.code&&e.shiftKey){e.preventDefault();var t=this.updatedModelDataAfterPasteAndKeyDown(e.target);this.isMultilineValue=!0,this.modelData=t}},updatedModelDataAfterPasteAndKeyDown:function(e,t){var n=e.selectionStart,r=e.selectionEnd;return this.modelData.substring(0,n)+(t=t||"\n")+this.modelData.substring(r,this.modelData.length)}}}),It={class:"ac-single-input is-small is-information"},Tt={key:0,class:"ac-single-switch is-small is-flex pb-10"},Pt=["id"],Ut=["for"],Lt={key:0},$t=["type","placeholder"],Rt=["type","placeholder"],qt={key:0,class:"button is-information"},zt=[t.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6"},[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M4.5 12.75l6 6 9-13.5"})],-1)],Kt={key:1,class:"button is-information is-warning"},Yt=[t.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6"},[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6 18L18 6M6 6l12 12"})],-1)],Jt={key:3,class:"is-flex gap-4 mt-4 has-text-danger"},Wt=["type","placeholder"],Gt={key:0,class:"button is-information is-success"},Ht=[t.createElementVNode("span",{class:"icon"},[t.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6"},[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M4.5 12.75l6 6 9-13.5"})])],-1)],Zt={key:1,class:"button is-information is-warning"},Xt=[t.createElementVNode("span",{class:"icon"},[t.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6"},[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6 18L18 6M6 6l12 12"})])],-1)],Qt={key:1,class:"is-warning"},en=t.createElementVNode("i",{class:"fa fa-warning warning"},null,-1);Mt.render=function(e,n,r,o,a,i){return t.openBlock(),t.createElementBlock("div",It,["input"===e.ui.tag?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},["checkbox"===e.ui.type?(t.openBlock(),t.createElementBlock("div",Tt,[t.withDirectives(t.createElementVNode("input",{id:e.identifier,"onUpdate:modelValue":n[0]||(n[0]=function(t){return e.modelData=t}),type:"checkbox",name:"switchRoundedDefault",class:"switch ac-switch is-rounded is-primary"},null,8,Pt),[[t.vModelCheckbox,e.modelData]]),t.createElementVNode("label",{class:"switch-label",for:e.identifier},t.toDisplayString(e.schema.title),9,Ut)])):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createElementVNode("label",{class:t.normalizeClass([e.labelShow?"show-label":"","ac-label"]),onClick:n[1]||(n[1]=t.withModifiers((function(t){return e.focusInput()}),["prevent"]))},t.toDisplayString(e.schema.title),3),"input"===e.ui.tag?(t.openBlock(),t.createElementBlock("div",Lt,[e.isMultilineValue?t.withDirectives((t.openBlock(),t.createElementBlock("textarea",{key:0,ref:"textareaField","onUpdate:modelValue":n[2]||(n[2]=function(t){return e.modelData=t}),class:t.normalizeClass(["ac-input",{"is-success":e.validationOb.dirty&&e.validationOb.valid,"is-danger":e.validationOb.dirty&&!e.validationOb.valid,"bg-white":e.modelData}]),style:{"min-height":"100px"},type:e.ui.type,placeholder:e.ui.placeholder||"",onChange:n[3]||(n[3]=function(t){return e.modelData=t.target.value}),onFocus:n[4]||(n[4]=function(t){return e.triggerInput()}),onFocusout:n[5]||(n[5]=function(t){return e.unTriggerInput()}),onPaste:n[6]||(n[6]=function(){return e.onPaste&&e.onPaste.apply(e,arguments)})},null,42,$t)),[[t.vModelText,e.modelData]]):t.withDirectives((t.openBlock(),t.createElementBlock("input",{key:1,ref:"inputField","onUpdate:modelValue":n[7]||(n[7]=function(t){return e.modelData=t}),class:t.normalizeClass(["ac-input",{"is-success":e.validationOb.dirty&&e.validationOb.valid,"is-danger":e.validationOb.dirty&&!e.validationOb.valid,"bg-white":e.modelData}]),type:e.ui.type,placeholder:e.ui.placeholder||"",onChange:n[8]||(n[8]=function(t){return e.modelData=t.target.value}),onFocus:n[9]||(n[9]=function(t){return e.triggerInput()}),onFocusout:n[10]||(n[10]=function(t){return e.unTriggerInput()}),onPaste:n[11]||(n[11]=function(){return e.onPaste&&e.onPaste.apply(e,arguments)})},null,42,Rt)),[[t.vModelDynamic,e.modelData]]),e.validationOb.dirty?(t.openBlock(),t.createElementBlock(t.Fragment,{key:2},[e.validationOb.valid?(t.openBlock(),t.createElementBlock("span",qt,zt)):t.createCommentVNode("",!0),e.validationOb.valid?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("span",Kt,Yt))],64)):t.createCommentVNode("",!0),e.validationOb&&e.validationOb.errors&&e.validationOb.errors.length>0?(t.openBlock(),t.createElementBlock("p",Jt,t.toDisplayString(e.validationOb.errors[0]),1)):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0)],64))],64)):t.createCommentVNode("",!0),"textarea"===e.ui.tag?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.withDirectives(t.createElementVNode("textarea",{"onUpdate:modelValue":n[12]||(n[12]=function(t){return e.modelData=t}),class:t.normalizeClass(["input",{"is-success":e.validationOb.dirty&&e.validationOb.valid,"is-danger":e.validationOb.dirty&&!e.validationOb.valid}]),type:e.ui.type,placeholder:e.ui.placeholder||"",onChange:n[13]||(n[13]=function(t){return e.modelData=t.target.value})},null,42,Wt),[[t.vModelText,e.modelData]]),e.validationOb.dirty?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[e.valid?(t.openBlock(),t.createElementBlock("button",Gt,Ht)):t.createCommentVNode("",!0),e.invalid?(t.openBlock(),t.createElementBlock("button",Zt,Xt)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0),e.validationOb.errors.length>0?(t.openBlock(),t.createElementBlock("span",Qt,[en,t.createTextVNode(" "+t.toDisplayString(e.validationOb.errors[0]),1)])):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0)])};var tn=Object.freeze({__proto__:null,default:Mt});const nn={class:"form-wrapper"},rn={key:0,class:"form-footer pt-8 pb-8 pl-20 mt-16 b-t-1"};var on=t.defineComponent({__name:"Form",props:{isContainer:{type:Boolean,default:!1},hasFooter:{type:Boolean,default:!0},reducePaddingTop:{type:Boolean,default:!1}},setup(e){const n=t.defineAsyncComponent((()=>Promise.resolve().then((function(){return sn}))));return(e,r)=>(t.openBlock(),t.createElementBlock("div",nn,[t.createElementVNode("div",{class:t.normalizeClass({"form-content":!e.isContainer,container:e.isContainer})},[t.renderSlot(e.$slots,"default")],2),e.hasFooter?(t.openBlock(),t.createElementBlock("div",rn,[t.createElementVNode("div",{class:t.normalizeClass(["ac-vcentered",{"form-content":!e.isContainer,container:e.isContainer}])},[t.createVNode(t.unref(n),null,{default:t.withCtx((()=>[t.renderSlot(e.$slots,"form-left-controls")])),_:3}),t.createVNode(t.unref(n),null,{default:t.withCtx((()=>[t.renderSlot(e.$slots,"form-right-controls")])),_:3})],2)])):t.createCommentVNode("",!0)]))}}),an=Object.freeze({__proto__:null,default:on});const ln={class:"form-footer-control"};const un={render:function(e,n){return t.openBlock(),t.createElementBlock("div",ln,[t.renderSlot(e.$slots,"default")])}};var sn=Object.freeze({__proto__:null,default:un}),cn=t.defineComponent({name:"Tabs",props:{modelValue:{type:String,default:"form"},showTab:{type:Boolean,default:!1}},emits:["update:modelValue"],data:function(){return{activeTab:"form"}},methods:{showForm:function(){this.activeTab="form",this.$emit("update:modelValue","form")},showJson:function(){this.activeTab="json",this.$emit("update:modelValue","json")},showYaml:function(){this.activeTab="yaml",this.$emit("update:modelValue","yaml")}}}),dn=[t.createElementVNode("span",{class:"icon is-small"},[t.createElementVNode("i",{class:"fa fa-file-text fa-flip-horizontal","aria-hidden":"true"})],-1),t.createElementVNode("span",null,"Form",-1)],fn=[t.createElementVNode("span",{class:"icon is-small"},[t.createElementVNode("i",{class:"fa fa-code","aria-hidden":"true"})],-1),t.createElementVNode("span",null,"YAML",-1)],pn=[t.createElementVNode("span",{class:"icon is-small"},[t.createElementVNode("i",{class:"fa fa-code","aria-hidden":"true"})],-1),t.createElementVNode("span",null,"JSON",-1)];cn.render=function(e,n,r,o,a,i){return t.openBlock(),t.createElementBlock("div",{class:"tabs ac-tabs is-line",style:t.normalizeStyle(e.showTab?"opacity: 1; visibility: visible;":"")},[t.createElementVNode("ul",null,[t.createElementVNode("li",{class:t.normalizeClass({"is-active":"form"===e.activeTab})},[t.createElementVNode("a",{onClick:n[0]||(n[0]=t.withModifiers((function(t){return e.showForm()}),["prevent"]))},dn)],2),t.createElementVNode("li",{class:t.normalizeClass({"is-active":"yaml"===e.activeTab})},[t.createElementVNode("a",{onClick:n[1]||(n[1]=t.withModifiers((function(t){return e.showYaml()}),["prevent"]))},fn)],2),t.createElementVNode("li",{class:t.normalizeClass({"is-active":"json"===e.activeTab})},[t.createElementVNode("a",{onClick:n[2]||(n[2]=t.withModifiers((function(t){return e.showJson()}),["prevent"]))},pn)],2)])],4)};var mn=Object.freeze({__proto__:null,default:cn}),hn=t.defineComponent({name:"YamlForm",components:{Editor:t.defineAsyncComponent((function(){return Promise.resolve().then((function(){return sa}))}))},mixins:[y],inject:["providedData"],props:{modelValue:{type:null,default:function(){return{}}}},emits:["code::model-data-updated"],computed:{originalValueString:function(){return JSON.stringify(this.referenceModel,null,2)},theme:function(){return this.providedData.theme||"light"},editorModel:{get:function(){return JSON.stringify(this.modelValue,null,2)},set:function(e){var t=null;try{t=JSON.parse(e)}catch(e){t=this.modelData}this.modelData=t,this.$emit("code::model-data-updated",t)}}}}),vn={class:"ml-30"};hn.render=function(e,n,r,o,a,i){var l=t.resolveComponent("editor");return t.openBlock(),t.createElementBlock("div",vn,[(t.openBlock(),t.createBlock(l,{key:e.theme,modelValue:e.editorModel,"onUpdate:modelValue":n[0]||(n[0]=function(t){return e.editorModel=t}),"original-value":e.originalValueString,language:"json","editor-height":70},null,8,["modelValue","original-value"]))])};var yn=Object.freeze({__proto__:null,default:hn});function gn(e){return null==e}var bn={isNothing:gn,isObject:function(e){return"object"==typeof e&&null!==e},toArray:function(e){return Array.isArray(e)?e:gn(e)?[]:[e]},repeat:function(e,t){var n,r="";for(n=0;n0&&-1==="\0\r\n…\u2028\u2029".indexOf(this.buffer.charAt(r-1));)if(r-=1,this.position-r>t/2-1){n=" ... ",r+=5;break}for(o="",a=this.position;at/2-1){o=" ... ",a-=5;break}return i=this.buffer.slice(r,a),bn.repeat(" ",e)+n+i+o+"\n"+bn.repeat(" ",e+this.position-r+n.length)+"^"},kn.prototype.toString=function(e){var t,n="";return this.name&&(n+='in "'+this.name+'" '),n+="at line "+(this.line+1)+", column "+(this.column+1),e||(t=this.getSnippet())&&(n+=":\n"+t),n};var Cn=kn,On=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],An=["scalar","sequence","mapping"];var jn=function(e,t){if(t=t||{},Object.keys(t).forEach((function(t){if(-1===On.indexOf(t))throw new wn('Unknown option "'+t+'" is met in definition of "'+e+'" YAML type.')})),this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(e){return e},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.defaultStyle=t.defaultStyle||null,this.styleAliases=function(e){var t={};return null!==e&&Object.keys(e).forEach((function(n){e[n].forEach((function(e){t[String(e)]=n}))})),t}(t.styleAliases||null),-1===An.indexOf(this.kind))throw new wn('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')};function xn(e,t,n){var r=[];return e.include.forEach((function(e){n=xn(e,t,n)})),e[t].forEach((function(e){n.forEach((function(t,n){t.tag===e.tag&&t.kind===e.kind&&r.push(n)})),n.push(e)})),n.filter((function(e,t){return-1===r.indexOf(t)}))}function En(e){this.include=e.include||[],this.implicit=e.implicit||[],this.explicit=e.explicit||[],this.implicit.forEach((function(e){if(e.loadKind&&"scalar"!==e.loadKind)throw new wn("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.")})),this.compiledImplicit=xn(this,"implicit",[]),this.compiledExplicit=xn(this,"explicit",[]),this.compiledTypeMap=function(){var e,t,n={scalar:{},sequence:{},mapping:{},fallback:{}};function r(e){n[e.kind][e.tag]=n.fallback[e.tag]=e}for(e=0,t=arguments.length;e=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0"+e.toString(8):"-0"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),In=new RegExp("^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\.[0-9_]*|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");var Tn=/^[-+]?[0-9]+e/;var Pn=new Nn({include:[Sn],implicit:[Bn,_n,Mn,new jn("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(e){return null!==e&&!(!In.test(e)||"_"===e[e.length-1])},construct:function(e){var t,n,r,o;return n="-"===(t=e.replace(/_/g,"").toLowerCase())[0]?-1:1,o=[],"+-".indexOf(t[0])>=0&&(t=t.slice(1)),".inf"===t?1===n?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:".nan"===t?NaN:t.indexOf(":")>=0?(t.split(":").forEach((function(e){o.unshift(parseFloat(e,10))})),t=0,r=1,o.forEach((function(e){t+=e*r,r*=60})),n*t):n*parseFloat(t,10)},predicate:function(e){return"[object Number]"===Object.prototype.toString.call(e)&&(e%1!=0||bn.isNegativeZero(e))},represent:function(e,t){var n;if(isNaN(e))switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(bn.isNegativeZero(e))return"-0.0";return n=e.toString(10),Tn.test(n)?n.replace("e",".e"):n},defaultStyle:"lowercase"})]}),Un=new Nn({include:[Pn]}),Ln=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),$n=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");var Rn=new jn("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(e){return null!==e&&(null!==Ln.exec(e)||null!==$n.exec(e))},construct:function(e){var t,n,r,o,a,i,l,u,s=0,c=null;if(null===(t=Ln.exec(e))&&(t=$n.exec(e)),null===t)throw new Error("Date resolve error");if(n=+t[1],r=+t[2]-1,o=+t[3],!t[4])return new Date(Date.UTC(n,r,o));if(a=+t[4],i=+t[5],l=+t[6],t[7]){for(s=t[7].slice(0,3);s.length<3;)s+="0";s=+s}return t[9]&&(c=6e4*(60*+t[10]+ +(t[11]||0)),"-"===t[9]&&(c=-c)),u=new Date(Date.UTC(n,r,o,a,i,l,s)),c&&u.setTime(u.getTime()-c),u},instanceOf:Date,represent:function(e){return e.toISOString()}});var qn,zn=new jn("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(e){return"<<"===e||null===e}});function Kn(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets option of @rollup/plugin-commonjs appropriately for this require call to behave properly.')}try{qn=Kn("buffer").Buffer}catch(e){}var Yn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";var Jn=new jn("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(e){if(null===e)return!1;var t,n,r=0,o=e.length,a=Yn;for(n=0;n64)){if(t<0)return!1;r+=6}return r%8==0},construct:function(e){var t,n,r=e.replace(/[\r\n=]/g,""),o=r.length,a=Yn,i=0,l=[];for(t=0;t>16&255),l.push(i>>8&255),l.push(255&i)),i=i<<6|a.indexOf(r.charAt(t));return 0===(n=o%4*6)?(l.push(i>>16&255),l.push(i>>8&255),l.push(255&i)):18===n?(l.push(i>>10&255),l.push(i>>2&255)):12===n&&l.push(i>>4&255),qn?qn.from?qn.from(l):new qn(l):l},predicate:function(e){return qn&&qn.isBuffer(e)},represent:function(e){var t,n,r="",o=0,a=e.length,i=Yn;for(t=0;t>18&63],r+=i[o>>12&63],r+=i[o>>6&63],r+=i[63&o]),o=(o<<8)+e[t];return 0===(n=a%3)?(r+=i[o>>18&63],r+=i[o>>12&63],r+=i[o>>6&63],r+=i[63&o]):2===n?(r+=i[o>>10&63],r+=i[o>>4&63],r+=i[o<<2&63],r+=i[64]):1===n&&(r+=i[o>>2&63],r+=i[o<<4&63],r+=i[64],r+=i[64]),r}}),Wn=Object.prototype.hasOwnProperty,Gn=Object.prototype.toString;var Hn=new jn("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(e){if(null===e)return!0;var t,n,r,o,a,i=[],l=e;for(t=0,n=l.length;t3)return!1;if("/"!==t[t.length-r.length-1])return!1}return!0},construct:function(e){var t=e,n=/\/([gim]*)$/.exec(e),r="";return"/"===t[0]&&(n&&(r=n[1]),t=t.slice(1,t.length-r.length-1)),new RegExp(t,r)},predicate:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},represent:function(e){var t="/"+e.source+"/";return e.global&&(t+="g"),e.multiline&&(t+="m"),e.ignoreCase&&(t+="i"),t}});try{nr=Kn("esprima")}catch(e){"undefined"!=typeof window&&(nr=window.esprima)}var or=new jn("tag:yaml.org,2002:js/function",{kind:"scalar",resolve:function(e){if(null===e)return!1;try{var t="("+e+")",n=nr.parse(t,{range:!0});return"Program"===n.type&&1===n.body.length&&"ExpressionStatement"===n.body[0].type&&("ArrowFunctionExpression"===n.body[0].expression.type||"FunctionExpression"===n.body[0].expression.type)}catch(e){return!1}},construct:function(e){var t,n="("+e+")",r=nr.parse(n,{range:!0}),o=[];if("Program"!==r.type||1!==r.body.length||"ExpressionStatement"!==r.body[0].type||"ArrowFunctionExpression"!==r.body[0].expression.type&&"FunctionExpression"!==r.body[0].expression.type)throw new Error("Failed to resolve function");return r.body[0].expression.params.forEach((function(e){o.push(e.name)})),t=r.body[0].expression.body.range,"BlockStatement"===r.body[0].expression.body.type?new Function(o,n.slice(t[0]+1,t[1]-1)):new Function(o,"return "+n.slice(t[0],t[1]))},predicate:function(e){return"[object Function]"===Object.prototype.toString.call(e)},represent:function(e){return e.toString()}}),ar=Nn.DEFAULT=new Nn({include:[er],explicit:[tr,rr,or]}),ir=Object.prototype.hasOwnProperty,lr=1,ur=2,sr=3,cr=4,dr=1,fr=2,pr=3,mr=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,hr=/[\x85\u2028\u2029]/,vr=/[,\[\]\{\}]/,yr=/^(?:!|!!|![a-z\-]+!)$/i,gr=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function br(e){return Object.prototype.toString.call(e)}function Vr(e){return 10===e||13===e}function wr(e){return 9===e||32===e}function kr(e){return 9===e||32===e||10===e||13===e}function Cr(e){return 44===e||91===e||93===e||123===e||125===e}function Or(e){var t;return 48<=e&&e<=57?e-48:97<=(t=32|e)&&t<=102?t-97+10:-1}function Ar(e){return 48===e?"\0":97===e?"":98===e?"\b":116===e||9===e?"\t":110===e?"\n":118===e?"\v":102===e?"\f":114===e?"\r":101===e?"":32===e?" ":34===e?'"':47===e?"/":92===e?"\\":78===e?"…":95===e?" ":76===e?"\u2028":80===e?"\u2029":""}function jr(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(55296+(e-65536>>10),56320+(e-65536&1023))}for(var xr=new Array(256),Er=new Array(256),Nr=0;Nr<256;Nr++)xr[Nr]=Ar(Nr)?1:0,Er[Nr]=Ar(Nr);function Sr(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||ar,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.documents=[]}function Br(e,t){return new wn(t,new Cn(e.filename,e.input,e.position,e.line,e.position-e.lineStart))}function _r(e,t){throw Br(e,t)}function Fr(e,t){e.onWarning&&e.onWarning.call(null,Br(e,t))}var Dr={YAML:function(e,t,n){var r,o,a;null!==e.version&&_r(e,"duplication of %YAML directive"),1!==n.length&&_r(e,"YAML directive accepts exactly one argument"),null===(r=/^([0-9]+)\.([0-9]+)$/.exec(n[0]))&&_r(e,"ill-formed argument of the YAML directive"),o=parseInt(r[1],10),a=parseInt(r[2],10),1!==o&&_r(e,"unacceptable YAML version of the document"),e.version=n[0],e.checkLineBreaks=a<2,1!==a&&2!==a&&Fr(e,"unsupported YAML version of the document")},TAG:function(e,t,n){var r,o;2!==n.length&&_r(e,"TAG directive accepts exactly two arguments"),r=n[0],o=n[1],yr.test(r)||_r(e,"ill-formed tag handle (first argument) of the TAG directive"),ir.call(e.tagMap,r)&&_r(e,'there is a previously declared suffix for "'+r+'" tag handle'),gr.test(o)||_r(e,"ill-formed tag prefix (second argument) of the TAG directive"),e.tagMap[r]=o}};function Mr(e,t,n,r){var o,a,i,l;if(t1&&(e.result+=bn.repeat("\n",t-1))}function Rr(e,t){var n,r,o=e.tag,a=e.anchor,i=[],l=!1;for(null!==e.anchor&&(e.anchorMap[e.anchor]=i),r=e.input.charCodeAt(e.position);0!==r&&45===r&&kr(e.input.charCodeAt(e.position+1));)if(l=!0,e.position++,Ur(e,!0,-1)&&e.lineIndent<=t)i.push(null),r=e.input.charCodeAt(e.position);else if(n=e.line,Kr(e,t,sr,!1,!0),i.push(e.result),Ur(e,!0,-1),r=e.input.charCodeAt(e.position),(e.line===n||e.lineIndent>t)&&0!==r)_r(e,"bad indentation of a sequence entry");else if(e.lineIndentt?p=1:e.lineIndent===t?p=0:e.lineIndentt?p=1:e.lineIndent===t?p=0:e.lineIndentt)&&(Kr(e,t,cr,!0,o)&&(h?p=e.result:m=e.result),h||(Tr(e,c,d,f,p,m,a,i),f=p=m=null),Ur(e,!0,-1),l=e.input.charCodeAt(e.position)),e.lineIndent>t&&0!==l)_r(e,"bad indentation of a mapping entry");else if(e.lineIndent=0))break;0===o?_r(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):s?_r(e,"repeat of an indentation width identifier"):(c=t+o-1,s=!0)}if(wr(a)){do{a=e.input.charCodeAt(++e.position)}while(wr(a));if(35===a)do{a=e.input.charCodeAt(++e.position)}while(!Vr(a)&&0!==a)}for(;0!==a;){for(Pr(e),e.lineIndent=0,a=e.input.charCodeAt(e.position);(!s||e.lineIndentc&&(c=e.lineIndent),Vr(a))d++;else{if(e.lineIndent0){for(o=i,a=0;o>0;o--)(i=Or(l=e.input.charCodeAt(++e.position)))>=0?a=(a<<4)+i:_r(e,"expected hexadecimal character");e.result+=jr(a),e.position++}else _r(e,"unknown escape sequence");n=r=e.position}else Vr(l)?(Mr(e,n,r,!0),$r(e,Ur(e,!1,t)),n=r=e.position):e.position===e.lineStart&&Lr(e)?_r(e,"unexpected end of the document within a double quoted scalar"):(e.position++,r=e.position)}_r(e,"unexpected end of the stream within a double quoted scalar")}(e,d)?h=!0:!function(e){var t,n,r;if(42!==(r=e.input.charCodeAt(e.position)))return!1;for(r=e.input.charCodeAt(++e.position),t=e.position;0!==r&&!kr(r)&&!Cr(r);)r=e.input.charCodeAt(++e.position);return e.position===t&&_r(e,"name of an alias node must contain at least one character"),n=e.input.slice(t,e.position),ir.call(e.anchorMap,n)||_r(e,'unidentified alias "'+n+'"'),e.result=e.anchorMap[n],Ur(e,!0,-1),!0}(e)?function(e,t,n){var r,o,a,i,l,u,s,c,d=e.kind,f=e.result;if(kr(c=e.input.charCodeAt(e.position))||Cr(c)||35===c||38===c||42===c||33===c||124===c||62===c||39===c||34===c||37===c||64===c||96===c)return!1;if((63===c||45===c)&&(kr(r=e.input.charCodeAt(e.position+1))||n&&Cr(r)))return!1;for(e.kind="scalar",e.result="",o=a=e.position,i=!1;0!==c;){if(58===c){if(kr(r=e.input.charCodeAt(e.position+1))||n&&Cr(r))break}else if(35===c){if(kr(e.input.charCodeAt(e.position-1)))break}else{if(e.position===e.lineStart&&Lr(e)||n&&Cr(c))break;if(Vr(c)){if(l=e.line,u=e.lineStart,s=e.lineIndent,Ur(e,!1,-1),e.lineIndent>=t){i=!0,c=e.input.charCodeAt(e.position);continue}e.position=a,e.line=l,e.lineStart=u,e.lineIndent=s;break}}i&&(Mr(e,o,a,!1),$r(e,e.line-l),o=a=e.position,i=!1),wr(c)||(a=e.position+1),c=e.input.charCodeAt(++e.position)}return Mr(e,o,a,!1),!!e.result||(e.kind=d,e.result=f,!1)}(e,d,lr===n)&&(h=!0,null===e.tag&&(e.tag="?")):(h=!0,null===e.tag&&null===e.anchor||_r(e,"alias node should not have any properties")),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):0===p&&(h=l&&Rr(e,f))),null!==e.tag&&"!"!==e.tag)if("?"===e.tag){for(null!==e.result&&"scalar"!==e.kind&&_r(e,'unacceptable node kind for ! tag; it should be "scalar", not "'+e.kind+'"'),u=0,s=e.implicitTypes.length;u tag; it should be "'+c.kind+'", not "'+e.kind+'"'),c.resolve(e.result)?(e.result=c.construct(e.result),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):_r(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")):_r(e,"unknown tag !<"+e.tag+">");return null!==e.listener&&e.listener("close",e),null!==e.tag||null!==e.anchor||h}function Yr(e){var t,n,r,o,a=e.position,i=!1;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap={},e.anchorMap={};0!==(o=e.input.charCodeAt(e.position))&&(Ur(e,!0,-1),o=e.input.charCodeAt(e.position),!(e.lineIndent>0||37!==o));){for(i=!0,o=e.input.charCodeAt(++e.position),t=e.position;0!==o&&!kr(o);)o=e.input.charCodeAt(++e.position);for(r=[],(n=e.input.slice(t,e.position)).length<1&&_r(e,"directive name must not be less than one character in length");0!==o;){for(;wr(o);)o=e.input.charCodeAt(++e.position);if(35===o){do{o=e.input.charCodeAt(++e.position)}while(0!==o&&!Vr(o));break}if(Vr(o))break;for(t=e.position;0!==o&&!kr(o);)o=e.input.charCodeAt(++e.position);r.push(e.input.slice(t,e.position))}0!==o&&Pr(e),ir.call(Dr,n)?Dr[n](e,n,r):Fr(e,'unknown document directive "'+n+'"')}Ur(e,!0,-1),0===e.lineIndent&&45===e.input.charCodeAt(e.position)&&45===e.input.charCodeAt(e.position+1)&&45===e.input.charCodeAt(e.position+2)?(e.position+=3,Ur(e,!0,-1)):i&&_r(e,"directives end mark is expected"),Kr(e,e.lineIndent-1,cr,!1,!0),Ur(e,!0,-1),e.checkLineBreaks&&hr.test(e.input.slice(a,e.position))&&Fr(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&Lr(e)?46===e.input.charCodeAt(e.position)&&(e.position+=3,Ur(e,!0,-1)):e.position0?e.charCodeAt(a-1):null,p=p&&_o(i,l)}else{for(a=0;ar&&" "!==e[f+1],f=a);else if(!Bo(i))return Po;l=a>0?e.charCodeAt(a-1):null,p=p&&_o(i,l)}c=c||d&&a-f-1>r&&" "!==e[f+1]}return s||c?n>9&&Fo(e)?Po:c?To:Io:p&&!o(e)?Do:Mo}function Lo(e,t,n,r){e.dump=function(){if(0===t.length)return"''";if(!e.noCompatMode&&-1!==Ao.indexOf(t))return"'"+t+"'";var o=e.indent*Math.max(1,n),a=-1===e.lineWidth?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-o),i=r||e.flowLevel>-1&&n>=e.flowLevel;switch(Uo(t,i,e.indent,a,(function(t){return function(e,t){var n,r;for(n=0,r=e.implicitTypes.length;n"+$o(t,e.indent)+Ro(Eo(function(e,t){var n,r,o=/(\n+)([^\n]*)/g,a=(l=e.indexOf("\n"),l=-1!==l?l:e.length,o.lastIndex=l,qo(e.slice(0,l),t)),i="\n"===e[0]||" "===e[0];var l;for(;r=o.exec(e);){var u=r[1],s=r[2];n=" "===s[0],a+=u+(i||n||""===s?"":"\n")+qo(s,t),i=n}return a}(t,a),o));case Po:return'"'+function(e){for(var t,n,r,o="",a=0;a=55296&&t<=56319&&(n=e.charCodeAt(a+1))>=56320&&n<=57343?(o+=jo(1024*(t-55296)+n-56320+65536),a++):o+=!(r=Oo[t])&&Bo(t)?e[a]:r||jo(t);return o}(t)+'"';default:throw new wn("impossible error: invalid scalar style")}}()}function $o(e,t){var n=Fo(e)?String(t):"",r="\n"===e[e.length-1];return n+(r&&("\n"===e[e.length-2]||"\n"===e)?"+":r?"":"-")+"\n"}function Ro(e){return"\n"===e[e.length-1]?e.slice(0,-1):e}function qo(e,t){if(""===e||" "===e[0])return e;for(var n,r,o=/ [^ ]/g,a=0,i=0,l=0,u="";n=o.exec(e);)(l=n.index)-a>t&&(r=i>a?i:l,u+="\n"+e.slice(a,r),a=r+1),i=l;return u+="\n",e.length-a>t&&i>a?u+=e.slice(a,i)+"\n"+e.slice(i+1):u+=e.slice(a),u.slice(1)}function zo(e,t,n){var r,o,a,i,l,u;for(a=0,i=(o=n?e.explicitTypes:e.implicitTypes).length;a tag resolver accepts not "'+u+'" style');r=l.represent[u](t,u)}e.dump=r}return!0}return!1}function Ko(e,t,n,r,o,a){e.tag=null,e.dump=n,zo(e,n,!1)||zo(e,n,!0);var i=Zr.call(e.dump);r&&(r=e.flowLevel<0||e.flowLevel>t);var l,u,s="[object Object]"===i||"[object Array]"===i;if(s&&(u=-1!==(l=e.duplicates.indexOf(n))),(null!==e.tag&&"?"!==e.tag||u||2!==e.indent&&t>0)&&(o=!1),u&&e.usedDuplicates[l])e.dump="*ref_"+l;else{if(s&&u&&!e.usedDuplicates[l]&&(e.usedDuplicates[l]=!0),"[object Object]"===i)r&&0!==Object.keys(e.dump).length?(!function(e,t,n,r){var o,a,i,l,u,s,c="",d=e.tag,f=Object.keys(n);if(!0===e.sortKeys)f.sort();else if("function"==typeof e.sortKeys)f.sort(e.sortKeys);else if(e.sortKeys)throw new wn("sortKeys must be a boolean or a function");for(o=0,a=f.length;o1024)&&(e.dump&&eo===e.dump.charCodeAt(0)?s+="?":s+="? "),s+=e.dump,u&&(s+=No(e,t)),Ko(e,t+1,l,!0,u)&&(e.dump&&eo===e.dump.charCodeAt(0)?s+=":":s+=": ",c+=s+=e.dump));e.tag=d,e.dump=c||"{}"}(e,t,e.dump,o),u&&(e.dump="&ref_"+l+e.dump)):(!function(e,t,n){var r,o,a,i,l,u="",s=e.tag,c=Object.keys(n);for(r=0,o=c.length;r1024&&(l+="? "),l+=e.dump+(e.condenseFlow?'"':"")+":"+(e.condenseFlow?"":" "),Ko(e,t,i,!1,!1)&&(u+=l+=e.dump));e.tag=s,e.dump="{"+u+"}"}(e,t,e.dump),u&&(e.dump="&ref_"+l+" "+e.dump));else if("[object Array]"===i){var c=e.noArrayIndent&&t>0?t-1:t;r&&0!==e.dump.length?(!function(e,t,n,r){var o,a,i="",l=e.tag;for(o=0,a=n.length;o "+e.dump)}return!0}function Yo(e,t){var n,r,o=[],a=[];for(Jo(e,o,a),n=0,r=a.length;n({uri:""})}},emits:["update:modelValue"],setup(e,{emit:n}){const r=e,o=n,a=t.defineAsyncComponent((()=>Promise.resolve().then((function(){return da})))),i=t.defineAsyncComponent((()=>Promise.resolve().then((function(){return va})))),l=t.defineAsyncComponent((()=>Promise.resolve().then((function(){return wa})))),u=t.defineAsyncComponent({loader:()=>Promise.resolve().then((function(){return Ca})),loadingComponent:i,delay:200,errorComponent:l,timeout:1e5}),s=t.ref("edit"),c=t.ref(""),d=t.ref(""),f=t.computed((()=>{const e=c.value.split("\n").length;return r.showMinimap&&e>25})),p=t.computed((()=>r.editorTheme||(document.documentElement.classList.contains("is-dark-theme")?"vs-dark":"vs"))),m=e=>{"string"==typeof e&&(c.value=e)},h=e=>{e.onDidBlurEditorText instanceof Function&&e.onDidBlurEditorText((()=>{o("update:modelValue",c.value)}))},v=t.computed((()=>"number"==typeof r.editorHeight?`vh-${r.editorHeight}`:"")),y=t.computed((()=>"string"==typeof r.editorHeight?{height:r.editorHeight}:{}));return t.watch((()=>r.modelValue),(e=>{c.value!==e&&(c.value=e)}),{immediate:!0}),t.watch((()=>r.originalValue),(e=>{d.value!==e&&(d.value=e)}),{immediate:!0}),(e,n)=>(t.openBlock(),t.createElementBlock("div",null,[e.readOnly?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(t.unref(a),{key:0,onTabchange:n[0]||(n[0]=e=>s.value=e),"active-tab":s.value},null,8,["active-tab"])),"edit"===s.value?(t.openBlock(),t.createBlock(t.unref(u),{onEditorDidMount:h,key:"edit",class:t.normalizeClass(["is-clipped",v.value]),style:t.normalizeStyle(y.value),value:c.value,onChange:m,language:e.language,options:{minimap:{enabled:f.value},theme:p.value,readOnly:e.readOnly,wordWrap:e.wordWrap,scrollBeyondLastLine:!1},validation:e.validation,"data-testid":"monaco-editor-edit-section"},null,8,["class","style","value","language","options","validation"])):t.createCommentVNode("",!0),"preview"===s.value?(t.openBlock(),t.createBlock(t.unref(u),{key:"preview",class:t.normalizeClass(["is-clipped",v.value]),style:t.normalizeStyle(y.value),value:c.value,language:e.language,options:{minimap:{enabled:f.value},theme:p.value,readOnly:!0,wordWrap:e.wordWrap,scrollBeyondLastLine:!1},original:d.value,"diff-editor":!0,validation:e.validation,"data-testid":"monaco-editor-preview-section"},null,8,["class","style","value","language","options","original","validation"])):t.createCommentVNode("",!0)]))}}),sa=Object.freeze({__proto__:null,default:ua}),ca=t.defineComponent({__name:"EditorTabs",props:{activeTab:{default:""}},emits:["tabchange"],setup(e){const n=t.defineAsyncComponent((()=>Promise.resolve().then((function(){return ja})))),r=t.defineAsyncComponent((()=>Promise.resolve().then((function(){return Na})))),o=t.defineAsyncComponent((()=>Promise.resolve().then((function(){return Ba}))));return(e,a)=>(t.openBlock(),t.createBlock(t.unref(n),null,{default:t.withCtx((()=>[t.createVNode(t.unref(r),{class:"is-line"},{default:t.withCtx((()=>[t.createVNode(t.unref(o),{"is-active":"edit"===e.activeTab},{default:t.withCtx((()=>[t.createElementVNode("a",{onClick:a[0]||(a[0]=t.withModifiers((t=>e.$emit("tabchange","edit")),["prevent"]))},"Edit")])),_:1},8,["is-active"]),t.createVNode(t.unref(o),{"is-active":"preview"===e.activeTab},{default:t.withCtx((()=>[t.createElementVNode("a",{onClick:a[1]||(a[1]=t.withModifiers((t=>e.$emit("tabchange","preview")),["prevent"]))},"Preview Changes")])),_:1},8,["is-active"])])),_:1})])),_:1}))}}),da=Object.freeze({__proto__:null,default:ca});const fa={class:"is-flex is-justify-content-center is-align-items-center is-flex-direction-column ac-preloader page-loader",style:{height:"calc(100vh - 200px)"}},pa={key:0,class:"spinner"},ma={class:"font-size-12 mt-10 pl-5"};var ha=t.defineComponent({__name:"Preloader",props:{showSpinner:{type:Boolean,default:!0},message:{default:"Loading ... "}},setup:e=>(e,n)=>(t.openBlock(),t.createElementBlock("div",fa,[e.showSpinner?(t.openBlock(),t.createElementBlock("span",pa)):t.createCommentVNode("",!0),t.createElementVNode("p",ma,t.toDisplayString(e.message),1)]))}),va=Object.freeze({__proto__:null,default:ha});const ya={class:"sign-up-notification mb-20"},ga={class:"has-text-centered"},ba=t.createElementVNode("p",null,"Oops!! There was an error while loading!",-1);var Va=t.defineComponent({__name:"Banner",props:{bannerClass:{default:"has-text-danger"}},setup:e=>(e,n)=>(t.openBlock(),t.createElementBlock("div",ya,[t.createElementVNode("div",ga,[t.createElementVNode("h3",{class:t.normalizeClass(e.bannerClass)},[t.renderSlot(e.$slots,"banner-title",{},(()=>[t.createTextVNode("Error!")]))],2),t.renderSlot(e.$slots,"default",{},(()=>[ba]))])]))}),wa=Object.freeze({__proto__:null,default:Va}),ka=t.defineComponent({name:"MonacoEditor",props:{diffEditor:{type:Boolean,default:!1},width:{type:[String,Number],default:"100%"},height:{type:[String,Number],default:"100%"},original:String,value:String,language:{type:String,default:"javascript"},theme:{type:String,default:"vs"},options:{type:Object,default:()=>({})},validation:{type:Object,default:()=>({})}},emits:["editorWillMount","editorDidMount","change"],setup(e){const{width:n,height:r}=t.toRefs(e),o=t.computed((()=>({width:n.value.toString().includes("%")?n.value:`${n.value}px`,height:r.value.toString().includes("%")?r.value:`${r.value}px`,"text-align":"left"}))),a=t.ref("");return{style:o,modelId:a,updateModelId:function(){a.value=`file:///file-${(new Date).getTime()}.yaml`}}},mounted(){this.initMonaco()},beforeUnmount(){o.editor.getModel(this.modelId)?.dispose(),this.$monacoValidationOptions&&(this.$monacoValidationOptions.schemas=this.$monacoValidationOptions.schemas.filter((e=>!e.fileMatch.includes(this.modelId)))),this.editor&&this.editor.dispose()},methods:{async initMonaco(){this.updateModelId(),this.$emit("editorWillMount",this.monaco);const{value:e,language:t,theme:n,options:r,original:a,validation:i}=this;if(this.diffEditor){const i=o.editor.createModel(a,t),l=o.editor.createModel(e,t);this.editor=o.editor.createDiffEditor(this.$el,{automaticLayout:!0,theme:n,fixedOverflowWidgets:!0,...r}),this.editor.setModel({original:i,modified:l})}else{const a=o.editor.createModel(e,t,o.Uri.parse(this.modelId));if(i.uri)if(i.schema?.type){const e=[...this.$monacoValidationOptions?.schemas||[],{fileMatch:[this.modelId],schema:i.schema,uri:i.uri}];this.$monacoValidationOptions&&(this.$monacoValidationOptions.schemas=e),this.$monacoYaml&&this.$monacoYaml.update({schemas:e}),o.languages.json.jsonDefaults.setDiagnosticsOptions({validate:!0,enableSchemaRequest:!1,schemas:e,allowComments:!0})}else{const e=await fetch(i.uri);if(e.ok){const t=await e.json(),n=[...this.$monacoValidationOptions?.schemas||[],{fileMatch:[this.modelId],schema:t,uri:i.uri}];this.$monacoValidationOptions&&(this.$monacoValidationOptions.schemas=n),this.$monacoYaml&&this.$monacoYaml.update({schemas:n,enableSchemaRequest:!0}),o.languages.json.jsonDefaults.setDiagnosticsOptions({validate:!0,enableSchemaRequest:!0,schemas:n,allowComments:!0})}else this.$monacoYaml&&this.$monacoYaml.update({validate:!1}),o.languages.json.jsonDefaults.setDiagnosticsOptions({validate:!1})}this.editor=o.editor.create(this.$el,{automaticLayout:!0,model:a,theme:n,fixedOverflowWidgets:!0,...r})}const l=this._getEditor();l.onDidChangeModelContent((e=>{const t=l.getValue();this.value!==t&&this.$emit("change",t,e)})),this.$emit("editorDidMount",this.editor)},_setValue(e){const t=this._getEditor();if(t)return t.setValue(e)},_getValue(){const e=this._getEditor();return e?e.getValue():""},_getEditor(){return this.editor?this.diffEditor?this.editor.getModifiedEditor():this.editor:null},_setOriginal(){const{original:e}=this.editor.getModel();e.setValue(this.original)}},watch:{options:{deep:!0,handler(e){this.editor.updateOptions(e)}},value(){this.value!==this._getValue()&&this._setValue(this.value)},original(){this._setOriginal()},language(){if(this.editor)if(this.diffEditor){const{original:e,modified:t}=this.editor.getModel();o.editor.setModelLanguage(e,this.language),o.editor.setModelLanguage(t,this.language)}else o.editor.setModelLanguage(this.editor.getModel(),this.language)},theme(){o.editor.setTheme(this.theme)}}});ka.render=function(e,n,r,o,a,i){return t.openBlock(),t.createElementBlock("div",{class:"monaco-editor-vue3",style:t.normalizeStyle(e.style)},null,4)};var Ca=Object.freeze({__proto__:null,default:ka});const Oa={class:"ac-tabs-body is-content-available"};const Aa={render:function(e,n){return t.openBlock(),t.createElementBlock("div",Oa,[t.renderSlot(e.$slots,"default")])}};var ja=Object.freeze({__proto__:null,default:Aa});const xa={class:"tabs ac-tabs"};const Ea={render:function(e,n){return t.openBlock(),t.createElementBlock("div",xa,[t.createElementVNode("ul",null,[t.renderSlot(e.$slots,"default")])])}};var Na=Object.freeze({__proto__:null,default:Ea}),Sa=t.defineComponent({__name:"TabItem",props:{isActive:{type:Boolean,default:!1}},setup:e=>(e,n)=>(t.openBlock(),t.createElementBlock("li",{class:t.normalizeClass({"is-active":e.isActive}),"data-testid":"tab-item"},[t.renderSlot(e.$slots,"default")],2))}),Ba=Object.freeze({__proto__:null,default:Sa});return e.VueOpenapiForm=g,e.default=ze,Object.defineProperty(e,"__esModule",{value:!0}),e}({},Vue,monaco); \ No newline at end of file diff --git a/dist/vue-openapi-form.umd.cjs b/dist/vue-openapi-form.umd.cjs new file mode 100644 index 0000000..3c11db8 --- /dev/null +++ b/dist/vue-openapi-form.umd.cjs @@ -0,0 +1,4 @@ +(function(k,o){typeof exports=="object"&&typeof module<"u"?o(exports,require("vue"),require("@mohin4/design-system"),require("vee-validate"),require("@vee-validate/rules"),require("lucide-vue-next"),require("js-yaml")):typeof define=="function"&&define.amd?define(["exports","vue","@mohin4/design-system","vee-validate","@vee-validate/rules","lucide-vue-next","js-yaml"],o):(k=typeof globalThis<"u"?globalThis:k||self,o(k.VueOpenapiForm={},k.Vue,k.MohinDesignSystem,k.VeeValidate,k.VeeValidateRules,k.LucideVueNext,k.jsyaml))})(this,(function(k,o,N,P,v,y,E){"use strict";const W=function(e){return e=e.charAt(0).toUpperCase()+e.slice(1),e.replace(/([a-z0-9])([A-Z])/g,"$1 $2")},M=function(e,l){let a=Object.assign({},{title:l},{...e});if(e.type==="object"){let n={};try{e.properties?(Object.keys(e.properties).forEach(i=>{const u=W(i);n=Object.assign({},{...n},{[`${i}`]:{...M(e.properties[i],u)}})}),a=Object.assign({},{...a},{properties:{...n}})):e.additionalProperties&&(a=Object.assign({},{...a},{type:"key-value-pairs"}),a.additionalProperties=Object.assign({},{...e.additionalProperties},{...M(e.additionalProperties,"Value")}))}catch{}}else if(e.type==="array"){let n={};n=Object.assign({},{...n},{...M(e.items,"")}),a=Object.assign({},{...a},{items:{...n}})}else{let n="";e.type==="number"||e.type==="integer"?n="number":e.type==="boolean"?n="checkbox":n="text",a=Object.assign({},{...a},{ui:{tag:"input",type:n}})}return a};function L(e,l){return M(e,l)}const S=o.defineComponent({components:{VForm:o.defineAsyncComponent(()=>import("vee-validate").then(({Form:e})=>e)),VField:o.defineAsyncComponent(()=>import("vee-validate").then(({Field:e})=>e)),ComponentErrors:o.defineAsyncComponent(()=>Promise.resolve().then(()=>te).then(e=>e.default)),RightWrongSigns:o.defineAsyncComponent(()=>Promise.resolve().then(()=>ie).then(e=>e.default))},props:{isSelfRequired:{type:Boolean,default:!1}},methods:{ruleString(e){let l="";return e&&(l+="required"),l},ruleArray(e){let l={};return e&&(l.required=!0),l},ruleObject(e){let l={};return e&&(l.requiredOb=!0),l},calcFormErrors(e,l){return Object.keys(e).filter(a=>a.startsWith(l)).map(a=>{const n=a.replace(/^(\$\/)/,""),i=l.replace(/^(\$\/)/,""),u=n.replace(i+"/","");return`${u.includes("/")?`${u}: `:""}${e[a]}`})}}}),j=o.defineComponent({components:{ObjectFormWrapper:o.defineAsyncComponent(()=>Promise.resolve().then(()=>ce).then(e=>e.default)),ObjectForm:o.defineAsyncComponent(()=>Promise.resolve().then(()=>ye).then(e=>e.default)),ArrayInput:o.defineAsyncComponent(()=>Promise.resolve().then(()=>Se).then(e=>e.default)),KeyValuePairs:o.defineAsyncComponent(()=>Promise.resolve().then(()=>Ee).then(e=>e.default)),SimpleInput:o.defineAsyncComponent(()=>Promise.resolve().then(()=>ze).then(e=>e.default))},props:{type:{type:String,default:"string"},referenceModel:{type:null,default:()=>({})}},emits:["update:modelValue"],data(){return{modelData:null}},watch:{modelData:{immediate:!0,deep:!0,handler(e,l){l!=null&&(this.cleanObject&&this.clean(e),this.type==="number"||this.type==="integer"?e===""?this.$emit("update:modelValue",null):this.$emit("update:modelValue",+e):this.$emit("update:modelValue",e))}},modelValue:{deep:!0,handler(e,l){JSON.stringify(l)!==JSON.stringify(e)&&this.initModelData()}}},created(){this.initModelData()},methods:{initModelData(){this.modelValue?(this.type==="object"||this.type==="key-value-pairs")&&Object.keys(this.modelValue).length>0?this.modelData=JSON.parse(JSON.stringify(this.modelValue)):this.type==="array"&&this.modelValue.length>0?this.modelData=JSON.parse(JSON.stringify(this.modelValue)):this.type==="boolean"&&this.modelValue!==null?this.modelData=this.modelValue:this.type==="string"||this.type==="number"||this.type==="integer"?this.modelData=this.modelValue:this.modelData=this.initWithBlank():this.modelData=this.initWithBlank()},initWithBlank(){return this.type==="object"||this.type==="key-value-pairs"?{}:this.type==="array"?[]:this.type==="boolean"?!1:this.type==="number"||this.type==="integer"?null:""},clean(e){this.type==="object"||this.type==="key-value-pairs"?Object.keys(e).forEach(l=>{let a="";typeof e[l]!="string"?a=JSON.stringify(e[l]):a=e[l],(a===void 0||a==="null"||a===""||a==="{}"||a==="[]")&&delete e[l]}):this.type==="array"&&e.map((a,n)=>({item:a,idx:n})).filter(a=>{const n=a.item;let i="";return typeof n!="string"?i=JSON.stringify(n):i=n,i===void 0||i==="null"||i===""||i==="{}"||i==="[]"}).map(a=>a.idx).forEach(a=>e.splice(a,1))}}}),g=(e,l)=>{const a=e.__vccOpts||e;for(const[n,i]of l)a[n]=i;return a},X=o.defineComponent({name:"VueOpenapiForm",components:{AcForm:N.AcForm},mixins:[j,S],provide(){const e={};return Object.defineProperty(e,"theme",{enumerable:!0,get:()=>this.themeMode}),{providedData:e}},props:{schema:{type:Object,default:()=>({})},modelValue:{type:Object,default:()=>({})},formTitle:{type:String,default:""},onlyJson:{type:Boolean,default:!1},size:{type:String,default:"small"},themeMode:{type:String,default:"light"}},computed:{extendedSchema(){return L(this.schema,this.formTitle)}}}),Y={class:"vof-footer"},G={class:"vof-footer-group"},Z={class:"vof-footer-group"};function H(e,l,a,n,i,u){const d=o.resolveComponent("object-form-wrapper"),s=o.resolveComponent("v-field"),b=o.resolveComponent("ac-form"),$=o.resolveComponent("v-form");return o.openBlock(),o.createBlock($,{ref:"v-form",as:""},{default:o.withCtx(({meta:V,validate:t,errors:c})=>[o.createVNode(b,{width:"full"},{footer:o.withCtx(()=>[o.createElementVNode("div",Y,[o.createElementVNode("div",G,[o.renderSlot(e.$slots,"left-controls",{validate:t,formStatus:V,errors:c})]),o.createElementVNode("div",Z,[o.renderSlot(e.$slots,"right-controls",{validate:t,formStatus:V,errors:c})])])]),default:o.withCtx(()=>[o.createElementVNode("div",{class:o.normalizeClass(["vue-openapi-form vof-root",{"is-medium":e.size==="medium"}])},[o.createVNode(s,{modelValue:e.modelData,"onUpdate:modelValue":l[0]||(l[0]=r=>e.modelData=r),name:e.extendedSchema.title,label:e.extendedSchema.title,rules:e.ruleObject(!0),as:""},{default:o.withCtx(({field:r,handleChange:m})=>[o.createVNode(d,{"field-name":"$","model-value":r.value,"expand-form":!0,"is-root":!0,level:1,"is-self-required":!0,"only-json":e.onlyJson,schema:e.extendedSchema,"reference-model":e.referenceModel||{},errors:c,showRootTab:!0,"onUpdate:modelValue":m},null,8,["model-value","only-json","schema","reference-model","errors","onUpdate:modelValue"])]),_:2},1032,["modelValue","name","label","rules"])],2)]),_:2},1024)]),_:3},512)}const Q=g(X,[["render",H]]),_=function(){P.defineRule("required",v.required),P.defineRule("requiredArray",e=>e!==null&&typeof e=="object"&&Array.isArray(e)&&e.length<2?"{_field_} array must contain more than one element":!0),P.defineRule("requiredOb",e=>e!==null&&typeof e=="object"&&Object.keys(e).length===0?"{_field_} object must not be empty":!0),P.defineRule("email",v.email),P.defineRule("image",v.image),P.defineRule("private_username",async e=>{const{app:l}=o.getCurrentInstance(),a=l?.appContext.config.globalProperties.$axios,n=e.length;if(n<5||n>40)return"{_field_} length must be between 5 and 40 characters";{const i=new FormData;i.set("user_name",e);const{data:u}=await a.post("/user/validate/username",i);return u.valid?!0:u.message}}),P.defineRule("password",(e,[l])=>{if(e!==l)return"The passwords do not match."})},J={install:(e,l)=>{_(),e.mixin({data:function(){return{get cleanObject(){return l.cleanObject||!1}}}})}};let T=null;typeof window<"u"?T=window.Vue:typeof global<"u"&&(T=global.Vue),T&&T.use(J);const x='',ee=o.defineComponent({name:"ComponentErrors",components:{TriangleAlert:y.TriangleAlert},props:{errors:{type:Array,default:()=>[]}},computed:{tooltipObj(){return{content:this.htmlContent,html:!0}},htmlContent(){let e="
    ";return this.errors.forEach(l=>{e+=`
  • ${x}${l}
  • `}),e+="
",e}}}),oe={class:"vof-error-count"};function le(e,l,a,n,i,u){const d=o.resolveComponent("TriangleAlert"),s=o.resolveDirective("tooltip");return o.withDirectives((o.openBlock(),o.createElementBlock("span",oe,[o.createVNode(d,{"aria-hidden":"true"}),o.createTextVNode(" Error in "+o.toDisplayString(e.errors.length)+" field"+o.toDisplayString(e.errors.length>1?"s":""),1)])),[[o.vShow,e.errors.length>0],[s,e.tooltipObj]])}const te=Object.freeze(Object.defineProperty({__proto__:null,default:g(ee,[["render",le]])},Symbol.toStringTag,{value:"Module"})),ae=o.defineComponent({name:"RightWrongSigns",components:{Check:y.Check,X:y.X},props:{valid:{type:Boolean,default:!0},invalid:{type:Boolean,default:!0}}}),re={key:0,class:"vof-status-ok"},ne={key:1,class:"vof-status-bad"};function se(e,l,a,n,i,u){const d=o.resolveComponent("Check"),s=o.resolveComponent("X");return o.openBlock(),o.createElementBlock("div",null,[e.valid?(o.openBlock(),o.createElementBlock("span",re,[o.createVNode(d,{"aria-hidden":"true"})])):o.createCommentVNode("",!0),e.invalid?(o.openBlock(),o.createElementBlock("span",ne,[o.createVNode(s,{"aria-hidden":"true"})])):o.createCommentVNode("",!0)])}const ie=Object.freeze(Object.defineProperty({__proto__:null,default:g(ae,[["render",se]])},Symbol.toStringTag,{value:"Module"})),z=o.defineComponent({props:{isSelfFolded:{type:Boolean,default:()=>!1},expandForm:{type:Boolean,default:()=>!1}},data(){return{isFolded:!0}},watch:{expandForm:{immediate:!0,handler(e){this.isFolded=!e}}},methods:{toggleFold(){this.isFolded=!this.isFolded}}}),F=o.defineComponent({components:{Tabs:o.defineAsyncComponent(()=>Promise.resolve().then(()=>Xe).then(e=>e.default)),JsonForm:o.defineAsyncComponent(()=>Promise.resolve().then(()=>He).then(e=>e.default)),YamlForm:o.defineAsyncComponent(()=>Promise.resolve().then(()=>eo).then(e=>e.default))},data(){return{activeTab:"form"}}}),de=o.defineComponent({name:"ObjectFormWrapper",components:{Minus:y.Minus,Plus:y.Plus},mixins:[j,z,F,S],props:{schema:{type:Object,default:()=>({})},fieldName:{type:String,default:""},modelValue:{type:Object,default:()=>({})},isRoot:{type:Boolean,default:!1},errors:{type:Object,default:()=>({})},isLastChild:{type:Boolean,default:!1},onlyJson:{type:Boolean,default:!1},level:{type:Number,default:1},showRootTab:{type:Boolean,default:!1}}}),me={class:"vof-nested-header"},pe=["disabled"];function ue(e,l,a,n,i,u){const d=o.resolveComponent("component-errors"),s=o.resolveComponent("tabs"),b=o.resolveComponent("object-form"),$=o.resolveComponent("yaml-form"),V=o.resolveComponent("json-form");return o.openBlock(),o.createElementBlock("form",{class:o.normalizeClass(["vof-nested",{"vof-collapsed":e.isFolded}])},[o.createElementVNode("div",me,[o.createElementVNode("h6",{class:"vof-nested-title",onClick:l[0]||(l[0]=o.withModifiers(t=>e.toggleFold(),["prevent"]))},[e.isRoot?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",{key:0,class:"vof-collapse-icon",disabled:e.activeTab!=="form"},[(o.openBlock(),o.createBlock(o.resolveDynamicComponent(e.isFolded?"Plus":"Minus"),{"aria-hidden":"true"}))],8,pe)),o.createTextVNode(" "+o.toDisplayString(e.schema.title||"Array Item Description")+" ",1),o.createVNode(d,{errors:e.calcFormErrors(e.errors,e.fieldName)},null,8,["errors"])]),e.onlyJson?o.createCommentVNode("",!0):(o.openBlock(),o.createBlock(s,{key:0,modelValue:e.activeTab,"onUpdate:modelValue":l[1]||(l[1]=t=>e.activeTab=t),showTab:e.showRootTab},null,8,["modelValue","showTab"]))]),o.withDirectives((o.openBlock(),o.createBlock(b,{key:`${e.schema.title}-form`,modelValue:e.modelData,"onUpdate:modelValue":l[2]||(l[2]=t=>e.modelData=t),"field-name":e.fieldName,properties:e.schema.properties,title:e.schema.title,required:e.schema.required,"is-self-required":e.isSelfRequired,type:e.schema.type,level:e.level,"is-self-folded":e.isFolded,"reference-model":e.referenceModel||{},errors:e.errors},null,8,["modelValue","field-name","properties","title","required","is-self-required","type","level","is-self-folded","reference-model","errors"])),[[o.vShow,!e.onlyJson&&e.activeTab==="form"]]),e.activeTab==="yaml"?(o.openBlock(),o.createBlock($,{key:0,modelValue:e.modelData,"onUpdate:modelValue":l[3]||(l[3]=t=>e.modelData=t),"reference-model":e.referenceModel||{}},null,8,["modelValue","reference-model"])):e.activeTab==="json"?(o.openBlock(),o.createBlock(V,{key:1,modelValue:e.modelData,"onUpdate:modelValue":l[4]||(l[4]=t=>e.modelData=t),"reference-model":e.referenceModel||{}},null,8,["modelValue","reference-model"])):o.createCommentVNode("",!0)],2)}const ce=Object.freeze(Object.defineProperty({__proto__:null,default:g(de,[["render",ue]])},Symbol.toStringTag,{value:"Module"})),fe=o.defineComponent({name:"ObjectForm",mixins:[j,z,S],props:{properties:{type:Object,default:()=>({})},fieldName:{type:String,default:""},errors:{type:Object,default:()=>({})},title:{type:String,default:""},modelValue:{type:Object,default:()=>({})},required:{type:Array,default:()=>[]},level:{type:Number,default:1}},computed:{propertiesRequired(){return this.isSelfRequired||Object.keys(this.modelData).length>0}},methods:{isRequired(e){return!!this.required.find(a=>a===e)}}});function he(e,l,a,n,i,u){const d=o.resolveComponent("object-form-wrapper"),s=o.resolveComponent("v-field"),b=o.resolveComponent("key-value-pairs"),$=o.resolveComponent("array-input"),V=o.resolveComponent("simple-input");return o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["vof-nested-fields",{"vof-hidden":e.isSelfFolded}])},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(Object.keys(e.properties),(t,c)=>(o.openBlock(),o.createElementBlock(o.Fragment,null,[e.properties[t].type==="object"?(o.openBlock(),o.createBlock(s,{key:t+"-object",modelValue:e.modelData[t],"onUpdate:modelValue":r=>e.modelData[t]=r,name:`${e.fieldName}/${t}`,rules:e.ruleObject(e.propertiesRequired&&e.isRequired(t)),label:`${e.properties[t].title}`,as:""},{default:o.withCtx(({field:r,handleChange:m})=>[o.createVNode(d,{"model-value":r.value,"field-name":`${e.fieldName}/${t}`,"expand-form":e.level<2,"is-last-child":c===Object.keys(e.properties).length-1,level:e.level+1,type:e.properties[t].type,"is-self-required":e.propertiesRequired&&e.isRequired(t),schema:e.properties[t],errors:e.errors,"reference-model":e.referenceModel[t]||{},showRootTab:!1,"onUpdate:modelValue":m},null,8,["model-value","field-name","expand-form","is-last-child","level","type","is-self-required","schema","errors","reference-model","onUpdate:modelValue"])]),_:2},1032,["modelValue","onUpdate:modelValue","name","rules","label"])):e.properties[t].type==="key-value-pairs"?(o.openBlock(),o.createBlock(s,{key:t+"-key-value-pairs",modelValue:e.modelData[t],"onUpdate:modelValue":r=>e.modelData[t]=r,name:`${e.fieldName}/${t}`,rules:e.ruleObject(e.propertiesRequired&&e.isRequired(t)),label:`${e.properties[t].title}`,as:""},{default:o.withCtx(({field:r,handleChange:m})=>[o.createVNode(b,{"model-value":r.value,"field-name":`${e.fieldName}/${t}`,"is-last-child":c===Object.keys(e.properties).length-1,type:e.properties[t].type,schema:e.properties[t],errors:e.errors,"reference-model":e.referenceModel[t]||{},"onUpdate:modelValue":m},null,8,["model-value","field-name","is-last-child","type","schema","errors","reference-model","onUpdate:modelValue"])]),_:2},1032,["modelValue","onUpdate:modelValue","name","rules","label"])):e.properties[t].type==="array"?(o.openBlock(),o.createBlock(s,{key:t+"-array",modelValue:e.modelData[t],"onUpdate:modelValue":r=>e.modelData[t]=r,name:`${e.fieldName}/${t}`,rules:e.ruleArray(e.propertiesRequired&&e.isRequired(t)),label:`${e.properties[t].title}`,as:""},{default:o.withCtx(({field:r,handleChange:m})=>[o.createVNode($,{"model-value":r.value,"field-name":`${e.fieldName}/${t}`,"is-last-child":c===Object.keys(e.properties).length-1,type:e.properties[t].type,schema:e.properties[t],errors:e.errors,"reference-model":e.referenceModel[t]||[],"onUpdate:modelValue":m},null,8,["model-value","field-name","is-last-child","type","schema","errors","reference-model","onUpdate:modelValue"])]),_:2},1032,["modelValue","onUpdate:modelValue","name","rules","label"])):(o.openBlock(),o.createBlock(s,{key:t,modelValue:e.modelData[t],"onUpdate:modelValue":r=>e.modelData[t]=r,rules:e.ruleString(e.propertiesRequired&&e.isRequired(t)),name:`${e.fieldName}/${t}`,label:`${e.properties[t].title}`,as:""},{default:o.withCtx(({field:r,handleChange:m,errors:C,meta:U})=>[(o.openBlock(),o.createBlock(V,{key:t,"model-value":r.value,type:e.properties[t].type,schema:e.properties[t],"validation-ob":{errors:C,...U},"reference-model":e.referenceModel[t]||"","onUpdate:modelValue":m},null,8,["model-value","type","schema","validation-ob","reference-model","onUpdate:modelValue"]))]),_:2},1032,["modelValue","onUpdate:modelValue","rules","name","label"]))],64))),256))],2)}const ye=Object.freeze(Object.defineProperty({__proto__:null,default:g(fe,[["render",he]])},Symbol.toStringTag,{value:"Module"})),q=o.defineComponent({data(){return{isMedium:!1}},mounted(){document.querySelector(".vue-openapi-form").classList.contains("is-medium")&&(this.isMedium=!0)}}),Ve=o.defineComponent({name:"ArrayInput",components:{AcButton:N.AcButton,ChevronDown:y.ChevronDown,ChevronUp:y.ChevronUp,Minus:y.Minus,Plus:y.Plus,Trash2:y.Trash2,ArrayInputItems:o.defineAsyncComponent(()=>Promise.resolve().then(()=>ao).then(e=>e.default))},mixins:[j,F,S,q],props:{schema:{type:Object,default:()=>({})},fieldName:{type:String,default:""},modelValue:{type:null,default:()=>[]},errors:{type:Object,default:()=>({})},isLastChild:{type:Boolean,default:!1}},data(){return{newData:null,updatePass:0}},computed:{items(){return this.schema.items||{}}},methods:{swapElems(e,l){const a=JSON.parse(JSON.stringify(this.modelData[e]));this.modelData[e]=JSON.parse(JSON.stringify(this.modelData[l])),this.modelData[l]=a,this.updatePass+=1},async addNewValue(e){const{valid:l}=await e();l&&(this.modelData.push(this.newData),this.newData=null,this.updatePass+=1)},deleteValue(e){this.modelData.splice(e,1),this.updatePass+=1}}}),be={class:"vof-nested"},$e={class:"vof-nested-header"},ke={class:"vof-nested-title"},ge={class:"vof-collapse-icon is-disabled"},Ce={key:0,class:"vof-array-body"},we={class:"vof-array-item-controls"},Be={class:"vof-updown"},De=["disabled","onClick"],je=["disabled","onClick"],Oe={class:"vof-value-list-save"};function Ne(e,l,a,n,i,u){const d=o.resolveComponent("Minus"),s=o.resolveComponent("component-errors"),b=o.resolveComponent("tabs"),$=o.resolveComponent("array-input-items"),V=o.resolveComponent("ChevronUp"),t=o.resolveComponent("ChevronDown"),c=o.resolveComponent("Trash2"),r=o.resolveComponent("ac-button"),m=o.resolveComponent("object-form-wrapper"),C=o.resolveComponent("v-field"),U=o.resolveComponent("key-value-pairs"),I=o.resolveComponent("array-input",!0),R=o.resolveComponent("simple-input"),K=o.resolveComponent("Plus"),O=o.resolveComponent("v-form"),D=o.resolveComponent("yaml-form"),p=o.resolveComponent("json-form"),w=o.resolveDirective("tooltip");return o.openBlock(),o.createElementBlock("div",be,[o.createElementVNode("div",$e,[o.createElementVNode("h6",ke,[o.createElementVNode("div",ge,[o.createVNode(d,{"aria-hidden":"true"})]),o.createTextVNode(" "+o.toDisplayString(e.schema.title||"Array Item Description")+" ",1),o.createVNode(s,{errors:e.calcFormErrors(e.errors,e.fieldName)},null,8,["errors"])]),o.createVNode(b,{modelValue:e.activeTab,"onUpdate:modelValue":l[0]||(l[0]=B=>e.activeTab=B)},null,8,["modelValue"])]),e.activeTab==="form"?(o.openBlock(),o.createElementBlock("div",Ce,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(e.modelData,(B,f)=>(o.openBlock(),o.createElementBlock("div",{key:`${f}-${e.schema.title}-form`,class:"vof-array-item"},[o.createVNode($,{"field-name":e.fieldName,items:e.items,schema:e.schema,index:f,"model-value":JSON.parse(JSON.stringify(e.modelData)),errors:e.errors,"reference-model":e.referenceModel||[]},null,8,["field-name","items","schema","index","model-value","errors","reference-model"]),o.createElementVNode("div",null,[o.createElementVNode("div",we,[o.createElementVNode("div",Be,[o.withDirectives((o.openBlock(),o.createElementBlock("button",{type:"button","aria-label":"Move up",class:o.normalizeClass({"is-primary":f!==0}),disabled:f===0,onClick:o.withModifiers(h=>e.swapElems(f-1,f),["prevent"])},[o.createVNode(V,{"aria-hidden":"true"})],10,De)),[[w,{content:"move up",placement:"top"}]]),o.withDirectives((o.openBlock(),o.createElementBlock("button",{type:"button","aria-label":"Move down",class:o.normalizeClass({"is-primary":f!==e.modelData.length-1}),disabled:f===e.modelData.length-1,onClick:o.withModifiers(h=>e.swapElems(f,f+1),["prevent"])},[o.createVNode(t,{"aria-hidden":"true"})],10,je)),[[w,{content:"move down",placement:"bottom"}]])]),o.createVNode(r,{class:"vof-icon-btn",color:"danger",variant:"outlined","aria-label":"Delete",onClick:o.withModifiers(h=>e.deleteValue(f),["prevent"])},{icon:o.withCtx(()=>[o.createVNode(c,{"aria-hidden":"true"})]),_:1},8,["onClick"])])])]))),128)),(o.openBlock(),o.createBlock(O,{key:e.updatePass,as:""},{default:o.withCtx(({validate:B,errors:f})=>[o.createElementVNode("div",Oe,[e.items.type==="object"?(o.openBlock(),o.createBlock(C,{key:0,modelValue:e.newData,"onUpdate:modelValue":l[1]||(l[1]=h=>e.newData=h),rules:e.ruleObject(!0),name:"newItem",label:`${e.schema.title} new value`,as:""},{default:o.withCtx(({field:h,handleChange:A})=>[o.createVNode(m,{"field-name":"newItem","model-value":h.value,"is-last-child":!0,"expand-form":!0,"is-self-required":!0,schema:{...e.items,title:`${e.schema.title} new value`},type:e.items.type,errors:f,"reference-model":{},"onUpdate:modelValue":A},null,8,["model-value","schema","type","errors","onUpdate:modelValue"])]),_:2},1032,["modelValue","rules","label"])):e.items.type==="key-value-pairs"?(o.openBlock(),o.createBlock(C,{key:1,modelValue:e.newData,"onUpdate:modelValue":l[2]||(l[2]=h=>e.newData=h),rules:e.ruleObject(!0),name:"newItem",label:`${e.schema.title} new value`,as:""},{default:o.withCtx(({field:h,handleChange:A})=>[o.createVNode(U,{"field-name":"newItem","model-value":h.value,"is-last-child":!0,schema:{...e.items,title:`${e.schema.title} new value`},errors:f,type:e.items.type,"reference-model":{},"onUpdate:modelValue":A},null,8,["model-value","schema","errors","type","onUpdate:modelValue"])]),_:2},1032,["modelValue","rules","label"])):e.items.type==="array"?(o.openBlock(),o.createBlock(C,{key:2,modelValue:e.newData,"onUpdate:modelValue":l[3]||(l[3]=h=>e.newData=h),rules:e.ruleArray(!0),name:"newItem",label:`${e.schema.title} new value`,as:""},{default:o.withCtx(({field:h,handleChange:A})=>[o.createVNode(I,{"field-name":"newItem","model-value":h.value,"is-last-child":!0,schema:{...e.items,title:`${e.schema.title} new value`},errors:f,type:e.items.type,"reference-model":[],"onUpdate:modelValue":A},null,8,["model-value","schema","errors","type","onUpdate:modelValue"])]),_:2},1032,["modelValue","rules","label"])):(o.openBlock(),o.createBlock(C,{key:3,modelValue:e.newData,"onUpdate:modelValue":l[4]||(l[4]=h=>e.newData=h),rules:e.ruleString(!0),name:"newItem",label:`${e.schema.title} new value`,as:""},{default:o.withCtx(({field:h,handleChange:A,errors:mo,meta:po})=>[o.createVNode(R,{"model-value":h.value,schema:{...e.items,title:`${e.schema.title} new value`},required:!0,type:e.items.type,"validation-ob":{errors:mo,...po},"reference-model":"","onUpdate:modelValue":A},null,8,["model-value","schema","type","validation-ob","onUpdate:modelValue"])]),_:1},8,["modelValue","rules","label"])),o.createVNode(r,{class:"vof-icon-btn",color:"primary",variant:"outlined","aria-label":"Add",onClick:o.withModifiers(h=>e.addNewValue(B),["prevent"])},{icon:o.withCtx(()=>[o.createVNode(K,{"aria-hidden":"true"})]),_:1},8,["onClick"])])]),_:1}))])):e.activeTab==="yaml"?(o.openBlock(),o.createBlock(D,{key:1,modelValue:e.modelData,"onUpdate:modelValue":l[5]||(l[5]=B=>e.modelData=B),"reference-model":e.referenceModel||[]},null,8,["modelValue","reference-model"])):e.activeTab==="json"?(o.openBlock(),o.createBlock(p,{key:2,modelValue:e.modelData,"onUpdate:modelValue":l[6]||(l[6]=B=>e.modelData=B),"reference-model":e.referenceModel||[]},null,8,["modelValue","reference-model"])):o.createCommentVNode("",!0)])}const Se=Object.freeze(Object.defineProperty({__proto__:null,default:g(Ve,[["render",Ne]])},Symbol.toStringTag,{value:"Module"})),Pe=o.defineComponent({name:"KeyValuePairs",components:{AcButton:N.AcButton,Minus:y.Minus,Plus:y.Plus,KeyValuePairItems:o.defineAsyncComponent(()=>Promise.resolve().then(()=>io).then(e=>e.default))},mixins:[j,F,S,q],props:{schema:{type:Object,default:()=>({})},fieldName:{type:String,default:""},modelValue:{type:Object,default:()=>({})},errors:{type:Object,default:()=>({})},isLastChild:{type:Boolean,default:!1}},data(){return{newData:null,updatePass:0,keyValueArray:null,referencekeyValueArray:null,newKey:"",newValue:null}},computed:{additionalProperties(){return this.schema.additionalProperties||{}}},watch:{keyValueArray:{immediate:!0,deep:!0,handler(e,l){if(l!=null){const a=JSON.stringify(e);this.modelData=this.reconstructObject(JSON.parse(a))}}},activeTab(){this.initKeyValueArray(),this.initReferenceKeyValueArray()},modelValue:{deep:!0,immediate:!0,handler(e,l){const a=JSON.stringify(e),n=JSON.stringify(l);a!==n&&this.initKeyValueArray(),this.initReferenceKeyValueArray()}}},methods:{initKeyValueArray(){this.keyValueArray=Object.keys(this.modelValue).map(e=>({key:e,value:this.modelValue[e]||null}))},initReferenceKeyValueArray(){this.referencekeyValueArray=Object.keys(this.referenceModel).map(e=>({key:e,value:this.referenceModel[e]||null}))},updateKeyValueArray(e){this.keyValueArray=Object.keys(e).map(l=>({key:l,value:e[l]}))},reconstructObject(e){let l={};return e.forEach(a=>{l=Object.assign({},{...l},{[`${a.key}`]:a.value})}),l},async addProp(e){const{valid:l}=await e();l&&(this.keyValueArray.push({key:this.newKey,value:this.newValue}),this.newKey="",this.newValue=null,this.updatePass+=1)},deleteProp(e){this.keyValueArray.splice(e,1),this.updatePass+=1}}}),Ue={class:"vof-nested vof-key-value-pairs"},Ae={class:"vof-nested-header"},Me={class:"vof-nested-title"},Te={class:"vof-collapse-icon is-disabled"};function ve(e,l,a,n,i,u){const d=o.resolveComponent("Minus"),s=o.resolveComponent("component-errors"),b=o.resolveComponent("tabs"),$=o.resolveComponent("key-value-pair-items"),V=o.resolveComponent("simple-input"),t=o.resolveComponent("v-field"),c=o.resolveComponent("object-form-wrapper"),r=o.resolveComponent("key-value-pairs",!0),m=o.resolveComponent("array-input"),C=o.resolveComponent("Plus"),U=o.resolveComponent("ac-button"),I=o.resolveComponent("v-form"),R=o.resolveComponent("yaml-form"),K=o.resolveComponent("json-form");return o.openBlock(),o.createElementBlock("div",Ue,[o.createElementVNode("div",Ae,[o.createElementVNode("h6",Me,[o.createElementVNode("div",Te,[o.createVNode(d,{"aria-hidden":"true"})]),o.createTextVNode(" "+o.toDisplayString(e.schema.title||"Array Item Description")+" ",1),o.createVNode(s,{errors:e.calcFormErrors(e.errors,e.fieldName)},null,8,["errors"])]),o.createVNode(b,{modelValue:e.activeTab,"onUpdate:modelValue":l[0]||(l[0]=O=>e.activeTab=O)},null,8,["modelValue"])]),e.activeTab==="form"?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(e.keyValueArray,(O,D)=>(o.openBlock(),o.createElementBlock("div",{key:`${D}-${e.schema.title}-form`},[o.createVNode($,{modelValue:e.keyValueArray[D],"onUpdate:modelValue":p=>e.keyValueArray[D]=p,"field-name":e.fieldName,"reference-model":e.referencekeyValueArray[D]||{},index:D,schema:e.schema,"additional-properties":e.additionalProperties,errors:e.errors,onDeleteKeyValue:e.deleteProp},null,8,["modelValue","onUpdate:modelValue","field-name","reference-model","index","schema","additional-properties","errors","onDeleteKeyValue"])]))),128)),(o.openBlock(),o.createBlock(I,{id:`${e.schema.title.replace(/ /g,"-")}-new-observer`,key:e.updatePass,as:"div",class:"vof-key-value-save"},{default:o.withCtx(({validate:O,errors:D})=>[o.createVNode(t,{id:`${e.schema.title.replace(/ /g,"-")}-key-provider`,modelValue:e.newKey,"onUpdate:modelValue":l[1]||(l[1]=p=>e.newKey=p),rules:"required",name:"newKey",label:`${e.schema.title} new key`,as:"div"},{default:o.withCtx(({field:p,handleChange:w,errors:B,meta:f})=>[o.createVNode(V,{"model-value":p.value,schema:{title:"Key",type:"string",ui:{tag:"input",type:"text"}},type:"string","validation-ob":{errors:B,...f},"reference-model":"","onUpdate:modelValue":w},null,8,["model-value","validation-ob","onUpdate:modelValue"])]),_:1},8,["id","modelValue","label"]),e.additionalProperties.type==="object"?(o.openBlock(),o.createBlock(t,{key:0,id:`${e.schema.title.replace(/ /g,"-")}-value-provider`,modelValue:e.newValue,"onUpdate:modelValue":l[2]||(l[2]=p=>e.newValue=p),rules:"required",name:"newValue",label:`${e.schema.title} new value`,as:""},{default:o.withCtx(({field:p,handleChange:w})=>[o.createVNode(c,{"field-name":"newValue","model-value":p.value,"is-last-child":!0,"is-self-required":!0,schema:e.additionalProperties,type:e.additionalProperties.type,errors:D,"reference-model":{},"onUpdate:modelValue":w},null,8,["model-value","schema","type","errors","onUpdate:modelValue"])]),_:2},1032,["id","modelValue","label"])):e.additionalProperties.type==="key-value-pairs"?(o.openBlock(),o.createBlock(t,{key:1,id:`${e.schema.title.replace(/ /g,"-")}-value-provider`,modelValue:e.newValue,"onUpdate:modelValue":l[3]||(l[3]=p=>e.newValue=p),rules:"required",name:"newValue",label:`${e.schema.title} new value`,as:""},{default:o.withCtx(({field:p,handleChange:w})=>[o.createVNode(r,{"field-name":"newValue","model-value":p.value,"is-last-child":!0,schema:e.additionalProperties,type:e.additionalProperties.type,errors:D,"reference-model":{},"onUpdate:modelValue":w},null,8,["model-value","schema","type","errors","onUpdate:modelValue"])]),_:2},1032,["id","modelValue","label"])):e.additionalProperties.type==="array"?(o.openBlock(),o.createBlock(t,{key:2,id:`${e.schema.title.replace(/ /g,"-")}-value-provider`,modelValue:e.newValue,"onUpdate:modelValue":l[4]||(l[4]=p=>e.newValue=p),rules:"required",name:"newValue",label:`${e.schema.title} new value`,as:""},{default:o.withCtx(({field:p,handleChange:w})=>[o.createVNode(m,{"field-name":"newValue","model-value":p.value,"is-last-child":!0,schema:e.additionalProperties,type:e.additionalProperties.type,errors:D,"reference-model":[],"onUpdate:modelValue":w},null,8,["model-value","schema","type","errors","onUpdate:modelValue"])]),_:2},1032,["id","modelValue","label"])):(o.openBlock(),o.createBlock(t,{key:3,id:`${e.schema.title.replace(/ /g,"-")}-value-provider`,modelValue:e.newValue,"onUpdate:modelValue":l[5]||(l[5]=p=>e.newValue=p),rules:"required",name:"newValue",label:`${e.schema.title} new value`,as:""},{default:o.withCtx(({field:p,handleChange:w,errors:B,meta:f})=>[o.createVNode(V,{"model-value":p.value,schema:e.additionalProperties,type:e.additionalProperties.type,"validation-ob":{errors:B,...f},"reference-model":"","onUpdate:modelValue":w},null,8,["model-value","schema","type","validation-ob","onUpdate:modelValue"])]),_:1},8,["id","modelValue","label"])),o.createVNode(U,{class:"vof-icon-btn",color:"primary",variant:"outlined","aria-label":"Add",onClick:o.withModifiers(p=>e.addProp(O),["prevent"])},{icon:o.withCtx(()=>[o.createVNode(C,{"aria-hidden":"true"})]),_:1},8,["onClick"])]),_:1},8,["id"]))],64)):o.createCommentVNode("",!0),e.activeTab==="yaml"?(o.openBlock(),o.createBlock(R,{key:1,modelValue:e.modelData,"onUpdate:modelValue":l[6]||(l[6]=O=>e.modelData=O),"reference-model":e.referenceModel||{},"onCode::modelDataUpdated":e.updateKeyValueArray},null,8,["modelValue","reference-model","onCode::modelDataUpdated"])):e.activeTab==="json"?(o.openBlock(),o.createBlock(K,{key:2,modelValue:e.modelData,"onUpdate:modelValue":l[7]||(l[7]=O=>e.modelData=O),"reference-model":e.referenceModel||{},"onCode::modelDataUpdated":e.updateKeyValueArray},null,8,["modelValue","reference-model","onCode::modelDataUpdated"])):o.createCommentVNode("",!0)])}const Ee=Object.freeze(Object.defineProperty({__proto__:null,default:g(Pe,[["render",ve]])},Symbol.toStringTag,{value:"Module"})),Fe=o.defineComponent({name:"SimpleInput",components:{AcInput:N.AcInput,AcSwitch:N.AcSwitch,AcTextarea:N.AcTextarea,Check:y.Check,X:y.X},mixins:[j,S,q],props:{schema:{type:Object,default:()=>({})},modelValue:{type:null,default:""},validationOb:{type:Object,default:()=>({})}},emits:["update:modelValue"],data(){return{isIntegerSetToNull:!1,isMultilineValue:!1}},computed:{ui(){return this.schema.ui||{tag:"input",type:"text"}},errorMessage(){const e=this.validationOb&&this.validationOb.errors;return e&&e.length>0?e[0]:""}},watch:{modelData:{immediate:!0,deep:!0,handler(e,l){this.isMultilineValue&&setTimeout(()=>{this.$refs.textareaField?.focus()},0),typeof e=="string"&&e.includes(` +`)&&(this.isMultilineValue=!0),(this.isIntegerSetToNull||l!=null)&&(this.isIntegerSetToNull&&e&&(this.isIntegerSetToNull=!1),this.type==="number"||this.type==="integer"?e===""?(this.isIntegerSetToNull=!0,this.$emit("update:modelValue",null)):this.$emit("update:modelValue",+e):this.$emit("update:modelValue",e))}}},methods:{onPaste(e){let l=(e.clipboardData||window.clipboardData).getData("text");const a=this.updatedModelDataAfterPasteAndKeyDown(e.target,l);l.includes(` +`)&&(this.isMultilineValue=!0,this.modelData=a)},handleKeyDownEvent(e){if(e.code==="Enter"&&e.shiftKey){e.preventDefault();const l=this.updatedModelDataAfterPasteAndKeyDown(e.target);this.isMultilineValue=!0,this.modelData=l}},updatedModelDataAfterPasteAndKeyDown(e,l){const{selectionStart:a,selectionEnd:n}=e,i=this.modelData.substring(0,a),u=this.modelData.substring(n,this.modelData.length);return l=l||` +`,i+l+u}}}),qe={class:"vof-single"},Ie={key:0,class:"vof-single-switch"},Re={key:0,class:"vof-status-ok"},Ke={key:1,class:"vof-status-bad"};function Je(e,l,a,n,i,u){const d=o.resolveComponent("ac-switch"),s=o.resolveComponent("ac-textarea"),b=o.resolveComponent("Check"),$=o.resolveComponent("X"),V=o.resolveComponent("ac-input");return o.openBlock(),o.createElementBlock("div",qe,[e.ui.tag==="input"?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[e.ui.type==="checkbox"?(o.openBlock(),o.createElementBlock("div",Ie,[o.createVNode(d,{modelValue:e.modelData,"onUpdate:modelValue":l[0]||(l[0]=t=>e.modelData=t),label:e.schema.title},null,8,["modelValue","label"])])):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[e.isMultilineValue?(o.openBlock(),o.createBlock(s,{key:0,ref:"textareaField",modelValue:e.modelData,"onUpdate:modelValue":l[1]||(l[1]=t=>e.modelData=t),label:e.schema.title,rows:4,"error-msg":e.errorMessage,onPaste:e.onPaste},null,8,["modelValue","label","error-msg","onPaste"])):(o.openBlock(),o.createBlock(V,{key:1,ref:"inputField",modelValue:e.modelData,"onUpdate:modelValue":l[2]||(l[2]=t=>e.modelData=t),label:e.schema.title,type:e.ui.type,"error-msg":e.errorMessage,onPaste:e.onPaste,onKeydown:e.handleKeyDownEvent},o.createSlots({_:2},[e.validationOb.dirty?{name:"suffix",fn:o.withCtx(()=>[e.validationOb.valid?(o.openBlock(),o.createElementBlock("span",Re,[o.createVNode(b,{"aria-hidden":"true"})])):(o.openBlock(),o.createElementBlock("span",Ke,[o.createVNode($,{"aria-hidden":"true"})]))]),key:"0"}:void 0]),1032,["modelValue","label","type","error-msg","onPaste","onKeydown"]))],64))],64)):o.createCommentVNode("",!0),e.ui.tag==="textarea"?(o.openBlock(),o.createBlock(s,{key:1,modelValue:e.modelData,"onUpdate:modelValue":l[3]||(l[3]=t=>e.modelData=t),label:e.schema.title,rows:4,"error-msg":e.errorMessage},null,8,["modelValue","label","error-msg"])):o.createCommentVNode("",!0)])}const ze=Object.freeze(Object.defineProperty({__proto__:null,default:g(Fe,[["render",Je]])},Symbol.toStringTag,{value:"Module"})),We=o.defineComponent({name:"Tabs",components:{AcSegmentedControl:N.AcSegmentedControl},props:{modelValue:{type:String,default:"form"},showTab:{type:Boolean,default:!1}},emits:["update:modelValue"],data(){return{activeTab:"form",options:[{value:"form",label:"Form",icon:y.FileText},{value:"yaml",label:"YAML",icon:y.Code},{value:"json",label:"JSON",icon:y.Code}]}},methods:{onChange(e){this.$emit("update:modelValue",e)}}});function Le(e,l,a,n,i,u){const d=o.resolveComponent("ac-segmented-control");return o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["vof-tabs",{"is-visible":e.showTab}])},[o.createVNode(d,{modelValue:e.activeTab,"onUpdate:modelValue":l[0]||(l[0]=s=>e.activeTab=s),size:"small",label:"Editor mode",options:e.options,onChange:e.onChange},null,8,["modelValue","options","onChange"])],2)}const Xe=Object.freeze(Object.defineProperty({__proto__:null,default:g(We,[["render",Le]])},Symbol.toStringTag,{value:"Module"})),Ye=o.defineComponent({name:"YamlForm",components:{AcCodeEditor:o.defineAsyncComponent(()=>import("@mohin4/design-system/editor").then(e=>e.AcCodeEditor))},mixins:[j],inject:["providedData"],props:{modelValue:{type:null,default:()=>({})}},emits:["code::model-data-updated"],computed:{originalValueString(){return JSON.stringify(this.referenceModel,null,2)},theme(){return this.providedData.theme||"light"},editorModel:{get(){return JSON.stringify(this.modelValue,null,2)},set(e){let l=null;try{l=JSON.parse(e)}catch{l=this.modelData}this.modelData=l,this.$emit("code::model-data-updated",l)}}}}),Ge={class:"vof-editor"};function Ze(e,l,a,n,i,u){const d=o.resolveComponent("ac-code-editor");return o.openBlock(),o.createElementBlock("div",Ge,[(o.openBlock(),o.createBlock(d,{key:e.theme,modelValue:e.editorModel,"onUpdate:modelValue":l[0]||(l[0]=s=>e.editorModel=s),original:e.originalValueString,language:"json",height:"70vh",label:"JSON"},null,8,["modelValue","original"]))])}const He=Object.freeze(Object.defineProperty({__proto__:null,default:g(Ye,[["render",Ze]])},Symbol.toStringTag,{value:"Module"})),Qe=o.defineComponent({name:"YamlForm",components:{AcCodeEditor:o.defineAsyncComponent(()=>import("@mohin4/design-system/editor").then(e=>e.AcCodeEditor))},mixins:[j],inject:["providedData"],props:{modelValue:{type:null,default:()=>({})}},emits:["code::model-data-updated"],computed:{originalValueString(){return E.safeDump(this.referenceModel,{lineWidth:2e3})},theme(){return this.providedData.theme||"light"},editorModel:{get(){return E.safeDump(this.modelValue,{lineWidth:2e3})},set(e){let l=null;try{l=E.safeLoad(e,{json:!0})}catch{l=this.modelData}this.modelData=l,this.$emit("code::model-data-updated",l)}}}}),_e={class:"vof-editor"};function xe(e,l,a,n,i,u){const d=o.resolveComponent("ac-code-editor");return o.openBlock(),o.createElementBlock("div",_e,[(o.openBlock(),o.createBlock(d,{key:e.theme,modelValue:e.editorModel,"onUpdate:modelValue":l[0]||(l[0]=s=>e.editorModel=s),original:e.originalValueString,language:"yaml",height:"70vh",label:"YAML"},null,8,["modelValue","original"]))])}const eo=Object.freeze(Object.defineProperty({__proto__:null,default:g(Qe,[["render",xe]])},Symbol.toStringTag,{value:"Module"})),oo=o.defineComponent({name:"ArrayInputItems",mixins:[j,S],props:{items:{type:Object,default:()=>({})},schema:{type:Object,default:()=>({})},index:{type:Number,default:0},modelValue:{type:null,default:()=>[]},fieldName:{type:String,default:""},errors:{type:Object,default:()=>({})}}}),lo={class:"vof-array-item-fields"};function to(e,l,a,n,i,u){const d=o.resolveComponent("object-form-wrapper"),s=o.resolveComponent("v-field"),b=o.resolveComponent("key-value-pairs"),$=o.resolveComponent("array-input"),V=o.resolveComponent("simple-input");return o.openBlock(),o.createElementBlock("div",lo,[e.items.type==="object"?(o.openBlock(),o.createBlock(s,{key:0,modelValue:e.modelData[e.index],"onUpdate:modelValue":l[0]||(l[0]=t=>e.modelData[e.index]=t),rules:e.ruleObject(!0),name:`${e.fieldName}/${e.index+1}`,label:`${e.schema.title} ${e.index+1}`,as:""},{default:o.withCtx(({field:t,handleChange:c})=>[o.createVNode(d,{"field-name":`${e.fieldName}/${e.index+1}`,"model-value":t.value,schema:{...e.items,title:`${e.schema.title} ${e.index+1}`},"is-self-required":!0,type:e.items.type,errors:e.errors,"reference-model":e.referenceModel[e.index]||{},"onUpdate:modelValue":c},null,8,["field-name","model-value","schema","type","errors","reference-model","onUpdate:modelValue"])]),_:1},8,["modelValue","rules","name","label"])):e.items.type==="key-value-pairs"?(o.openBlock(),o.createBlock(s,{key:1,modelValue:e.modelData[e.index],"onUpdate:modelValue":l[1]||(l[1]=t=>e.modelData[e.index]=t),rules:e.ruleObject(!0),name:`${e.fieldName}/${e.index+1}`,label:`${e.schema.title} ${e.index+1}`,as:""},{default:o.withCtx(({field:t,handleChange:c})=>[o.createVNode(b,{"field-name":`${e.fieldName}/${e.index+1}`,"model-value":t.value,errors:e.errors,schema:{...e.items,title:`${e.schema.title} ${e.index+1}`},type:e.items.type,"reference-model":e.referenceModel[e.index]||{},"onUpdate:modelValue":c},null,8,["field-name","model-value","errors","schema","type","reference-model","onUpdate:modelValue"])]),_:1},8,["modelValue","rules","name","label"])):e.items.type==="array"?(o.openBlock(),o.createBlock(s,{key:2,modelValue:e.modelData[e.index],"onUpdate:modelValue":l[2]||(l[2]=t=>e.modelData[e.index]=t),rules:e.ruleArray(!0),name:`${e.fieldName}/${e.index+1}`,label:`${e.schema.title} ${e.index+1}`,as:""},{default:o.withCtx(({field:t,handleChange:c})=>[o.createVNode($,{"field-name":`${e.fieldName}/${e.index+1}`,"model-value":t.value,schema:{...e.items,title:`${e.schema.title} ${e.index+1}`},type:e.items.type,errors:e.errors,"reference-model":e.referenceModel[e.index]||[],"onUpdate:modelValue":c},null,8,["field-name","model-value","schema","type","errors","reference-model","onUpdate:modelValue"])]),_:1},8,["modelValue","rules","name","label"])):(o.openBlock(),o.createBlock(s,{key:3,modelValue:e.modelData[e.index],"onUpdate:modelValue":l[3]||(l[3]=t=>e.modelData[e.index]=t),rules:e.ruleString(!0),name:`${e.fieldName}/${e.index+1}`,label:`${e.schema.title} ${e.index+1}`,as:""},{default:o.withCtx(({field:t,handleChange:c,errors:r,meta:m})=>[o.createVNode(V,{"model-value":t.value,schema:{...e.items,title:`${e.schema.title} ${e.index+1}`},type:e.items.type,required:!0,"validation-ob":{errors:r,...m},"reference-model":e.referenceModel[e.index]||"","onUpdate:modelValue":c},null,8,["model-value","schema","type","validation-ob","reference-model","onUpdate:modelValue"])]),_:1},8,["modelValue","rules","name","label"]))])}const ao=Object.freeze(Object.defineProperty({__proto__:null,default:g(oo,[["render",to]])},Symbol.toStringTag,{value:"Module"})),ro=o.defineComponent({name:"KeyValuePairItems",components:{AcButton:N.AcButton,Trash2:y.Trash2},mixins:[j,S],props:{modelValue:{type:Object,default:()=>({})},fieldName:{type:String,default:""},errors:{type:Object,default:()=>({})},index:{type:Number,default:0},schema:{type:Object,default:()=>({})},additionalProperties:{type:Object,default:()=>({})}},emits:["delete-key-value"],methods:{deleteProp(e){this.$emit("delete-key-value",e)}}}),no={class:"vof-key-value-save"};function so(e,l,a,n,i,u){const d=o.resolveComponent("simple-input"),s=o.resolveComponent("v-field"),b=o.resolveComponent("object-form-wrapper"),$=o.resolveComponent("key-value-pairs"),V=o.resolveComponent("array-input"),t=o.resolveComponent("Trash2"),c=o.resolveComponent("ac-button");return o.openBlock(),o.createElementBlock("div",no,[o.createVNode(s,{id:`${e.schema.title.replace(/ /g,"-")}-key-${e.index+1}-provider`,modelValue:e.modelData.key,"onUpdate:modelValue":l[0]||(l[0]=r=>e.modelData.key=r),rules:"required",name:`${e.fieldName}/key/${e.index+1}`,label:`${e.schema.title} key ${e.index+1}`,as:"div"},{default:o.withCtx(({componentField:r,errors:m,meta:C})=>[o.createVNode(d,o.mergeProps(r,{schema:{title:"Key",type:"string",ui:{tag:"input",type:"text"}},type:"string","validation-ob":{errors:m,...C},"reference-model":e.referenceModel.key||""}),null,16,["validation-ob","reference-model"])]),_:1},8,["id","modelValue","name","label"]),e.additionalProperties.type==="object"?(o.openBlock(),o.createBlock(s,{key:0,id:`${e.schema.title.replace(/ /g,"-")}-value-${e.index+1}-provider`,modelValue:e.modelData.value,"onUpdate:modelValue":l[1]||(l[1]=r=>e.modelData.value=r),rules:e.ruleObject(!0),name:`${e.fieldName}/value/${e.index+1}`,label:`${e.schema.title} value ${e.index+1}`,as:""},{default:o.withCtx(({field:r,handleChange:m})=>[o.createVNode(b,{"field-name":`${e.fieldName}/value/${e.index+1}`,"model-value":r.value,schema:e.additionalProperties,"is-self-required":!0,type:e.additionalProperties.type,errors:e.errors,"reference-model":e.referenceModel.value||{},"onUpdate:modelValue":m},null,8,["field-name","model-value","schema","type","errors","reference-model","onUpdate:modelValue"])]),_:1},8,["id","modelValue","rules","name","label"])):e.additionalProperties.type==="key-value-pairs"?(o.openBlock(),o.createBlock(s,{key:1,id:`${e.schema.title.replace(/ /g,"-")}-value-${e.index+1}-provider`,modelValue:e.modelData.value,"onUpdate:modelValue":l[2]||(l[2]=r=>e.modelData.value=r),rules:e.ruleObject(!0),name:`${e.fieldName}/value/${e.index+1}`,label:`${e.schema.title} value ${e.index+1}`,as:""},{default:o.withCtx(({field:r,handleChange:m})=>[o.createVNode($,{"field-name":`${e.fieldName}/value/${e.index+1}`,"model-value":r.value,schema:e.additionalProperties,type:e.additionalProperties.type,errors:e.errors,"reference-model":e.referenceModel.value||{},"onUpdate:modelValue":m},null,8,["field-name","model-value","schema","type","errors","reference-model","onUpdate:modelValue"])]),_:1},8,["id","modelValue","rules","name","label"])):e.additionalProperties.type==="array"?(o.openBlock(),o.createBlock(s,{key:2,id:`${e.schema.title.replace(/ /g,"-")}-value-${e.index+1}-provider`,modelValue:e.modelData.value,"onUpdate:modelValue":l[3]||(l[3]=r=>e.modelData.value=r),rules:e.ruleArray(!0),name:`${e.fieldName}/value/${e.index+1}`,label:`${e.schema.title} value ${e.index+1}`,as:""},{default:o.withCtx(({field:r,handleChange:m})=>[o.createVNode(V,{"field-name":`${e.fieldName}/value/${e.index+1}`,"model-value":r.value,schema:e.additionalProperties,type:e.additionalProperties.type,errors:e.errors,"reference-model":e.referenceModel.value||[],"onUpdate:modelValue":m},null,8,["field-name","model-value","schema","type","errors","reference-model","onUpdate:modelValue"])]),_:1},8,["id","modelValue","rules","name","label"])):(o.openBlock(),o.createBlock(s,{key:3,id:`${e.schema.title.replace(/ /g,"-")}-value-${e.index+1}-provider`,modelValue:e.modelData.value,"onUpdate:modelValue":l[4]||(l[4]=r=>e.modelData.value=r),rules:e.ruleString(!0),name:`${e.fieldName}/value/${e.index+1}`,label:`${e.schema.title} value ${e.index+1}`,as:""},{default:o.withCtx(({field:r,handleChange:m,errors:C,meta:U})=>[o.createVNode(d,{"model-value":r.value,schema:e.additionalProperties,type:e.additionalProperties.type,"validation-ob":{errors:C,...U},"reference-model":e.referenceModel.value||"","onUpdate:modelValue":m},null,8,["model-value","schema","type","validation-ob","reference-model","onUpdate:modelValue"])]),_:1},8,["id","modelValue","rules","name","label"])),o.createVNode(c,{class:"vof-icon-btn",color:"danger",variant:"outlined","aria-label":"Delete",onClick:l[5]||(l[5]=o.withModifiers(r=>e.deleteProp(e.index),["prevent"]))},{icon:o.withCtx(()=>[o.createVNode(t,{"aria-hidden":"true"})]),_:1})])}const io=Object.freeze(Object.defineProperty({__proto__:null,default:g(ro,[["render",so]])},Symbol.toStringTag,{value:"Module"}));k.VueOpenapiForm=Q,k.default=J,Object.defineProperties(k,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})})); diff --git a/firebase.json b/firebase.json index ce24348..ebb2a90 100644 --- a/firebase.json +++ b/firebase.json @@ -1,7 +1,7 @@ { "hosting": { "target": "form", - "public": "dist", + "public": "dist-app", "ignore": [ "firebase.json", "**/.*", diff --git a/index.html b/index.html index 3b7d395..54f1d3f 100644 --- a/index.html +++ b/index.html @@ -3,7 +3,7 @@ - + diff --git a/package-lock.json b/package-lock.json index 6c92252..d0c95f7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,3323 +8,2322 @@ "name": "@appscode/vue-openapi-form", "version": "1.2.0", "license": "Apache-2.0", - "dependencies": { - "@appscode/design-system": "^2.6.0", - "@appscode/design-system-images": "0.0.13", - "@vee-validate/rules": "^4.5.11", - "bulma": "^0.9.4", - "bulma-checkradio": "^2.1.3", - "bulma-switch": "^2.0.4", - "bulma-tooltip": "^3.0.2", - "floating-vue": "^2.0.0-beta.15", - "font-awesome": "^4.7.0", - "js-yaml": "^3.14.1", - "monaco-editor": "^0.41.0", - "monaco-yaml": "^5.0.0", - "vee-validate": "^4.4.7", - "vue": "^3.0.5" - }, "devDependencies": { - "@babel/core": "^7.12.10", - "@babel/preset-env": "^7.13.5", - "@rollup/plugin-alias": "^3.1.1", - "@rollup/plugin-babel": "^5.2.2", - "@rollup/plugin-commonjs": "^17.0.0", - "@rollup/plugin-json": "^4.1.0", - "@rollup/plugin-node-resolve": "^11.0.1", - "@rollup/plugin-replace": "^2.3.4", - "@vitejs/plugin-vue": "^1.2.3", - "@vue/compiler-sfc": "^3.0.5", - "cross-env": "^7.0.3", - "eslint": "^8.13.0", + "@fontsource-variable/geist": "^5.3.0", + "@fontsource-variable/geist-mono": "^5.3.0", + "@mohin4/design-system": "~0.0.4", + "@tailwindcss/vite": "^4.3.3", + "@vee-validate/rules": "^4.5.11", + "@vitejs/plugin-vue": "^6.0.3", + "eslint": "^8.57.0", "eslint-config-prettier": "^8.5.0", "eslint-plugin-html": "^6.2.0", - "eslint-plugin-vue": "^8.6.0", - "minimist": "^1.2.5", + "eslint-plugin-vue": "^9.23.0", + "floating-vue": "^2.0.0-beta.15", + "js-yaml": "^3.14.1", + "lucide-vue-next": "^1.0.0", "prettier": "2.6.2", - "rollup": "^2.23.0", - "rollup-plugin-scss": "^3.0.0", - "rollup-plugin-terser": "^7.0.2", - "rollup-plugin-typescript": "^1.0.1", - "rollup-plugin-vue": "^6.0.0", - "sass": "^1.50.0", - "tslib": "^2.5.3", - "typescript": "~4.7.0", - "vite": "^2.3.8", - "vue-tsc": "^1.0.9", + "tailwindcss": "^4.3.3", + "vee-validate": "^4.4.7", + "vite": "^7.3.1", + "vue": "^3.5.0", "vuex": "^4.0.2" }, "engines": { "node": ">=22" }, "peerDependencies": { - "vue": "^3.0.5" - } - }, - "node_modules/@aashutoshrathi/word-wrap": { - "version": "1.2.6", - "resolved": "https://registry.npmjs.org/@aashutoshrathi/word-wrap/-/word-wrap-1.2.6.tgz", - "integrity": "sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/@ampproject/remapping": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.2.1.tgz", - "integrity": "sha512-lFMjJTrFL3j7L9yBxwYfCq2k6qqwHyzuUl/XBnif78PWTJYyL/dfowQHWE3sp6U6ZzqWiiIZnpTMO96zhkjwtg==", - "dev": true, - "dependencies": { - "@jridgewell/gen-mapping": "^0.3.0", - "@jridgewell/trace-mapping": "^0.3.9" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@appscode/design-system": { - "version": "2.6.0", - "resolved": "https://registry.npmjs.org/@appscode/design-system/-/design-system-2.6.0.tgz", - "integrity": "sha512-1C4a5450yina3isVy21qUWd0uxzJd/pLW0WjKNApTdjubbWpzHSh7aNqcbbNmi3Pwfb+/8YG72lpeW6Xx802dA==", - "license": "Apache-2.0", - "dependencies": { - "@appscode/design-system-images": "^0.0.13" + "@mohin4/design-system": "~0.0.4", + "@vee-validate/rules": "^4.5.11", + "floating-vue": "^2.0.0-beta.15", + "js-yaml": "^3.14.1", + "lucide-vue-next": "^1.0.0", + "vee-validate": "^4.4.7", + "vue": "^3.5.0" } }, - "node_modules/@appscode/design-system-images": { - "version": "0.0.13", - "resolved": "https://registry.npmjs.org/@appscode/design-system-images/-/design-system-images-0.0.13.tgz", - "integrity": "sha512-pJ0iiaD5xMtZ0fCtrGmyWAglO0kfZ6rOx/qLzk6OJkyMI0yRCH/fQRn5cO48F+sdKKF08KXXeMmvgsf1Y+ycUw==" - }, - "node_modules/@babel/code-frame": { - "version": "7.22.13", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.22.13.tgz", - "integrity": "sha512-XktuhWlJ5g+3TJXc5upd9Ks1HutSArik6jf2eAjYFyIOf4ej3RN+184cZbzDvbPnuTJIUhPKKJE3cIsYTiAT3w==", + "node_modules/@babel/helper-string-parser": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.29.7.tgz", + "integrity": "sha512-Pb5ijPrZ89GDH8223L4UP8i6QApWxs04RbPQJTeWDV0/keR2E36MeKnyr6LYmUUvqRRI+Iv87SuF1W6ErINzYw==", "dev": true, - "dependencies": { - "@babel/highlight": "^7.22.13", - "chalk": "^2.4.2" - }, + "license": "MIT", "engines": { "node": ">=6.9.0" } }, - "node_modules/@babel/compat-data": { - "version": "7.23.2", - "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.23.2.tgz", - "integrity": "sha512-0S9TQMmDHlqAZ2ITT95irXKfxN9bncq8ZCoJhun3nHL/lLUxd2NKBJYoNGWH7S0hz6fRQwWlAWn/ILM0C70KZQ==", + "node_modules/@babel/helper-validator-identifier": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.29.7.tgz", + "integrity": "sha512-qehxGkRj55h/ff8EMaJ+cYhyaKlHIxqYDn682wQD7RNp9UujOQsHog2uS0r2vzr4pW+sXf90NeeayjcNaX3fFg==", "dev": true, + "license": "MIT", "engines": { "node": ">=6.9.0" } }, - "node_modules/@babel/core": { - "version": "7.23.2", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.23.2.tgz", - "integrity": "sha512-n7s51eWdaWZ3vGT2tD4T7J6eJs3QoBXydv7vkUM06Bf1cbVD2Kc2UrkzhiQwobfV7NwOnQXYL7UBJ5VPU+RGoQ==", + "node_modules/@babel/parser": { + "version": "7.29.9", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.29.9.tgz", + "integrity": "sha512-CjXrNHTnvqBVqHgdBysY3vk2T8tpJHb5/RMeHJBTyVa9xgugCB0CJTx/3oO8RV2QRQP391RWpB7D6hLjm8V9uA==", "dev": true, + "license": "MIT", "dependencies": { - "@ampproject/remapping": "^2.2.0", - "@babel/code-frame": "^7.22.13", - "@babel/generator": "^7.23.0", - "@babel/helper-compilation-targets": "^7.22.15", - "@babel/helper-module-transforms": "^7.23.0", - "@babel/helpers": "^7.23.2", - "@babel/parser": "^7.23.0", - "@babel/template": "^7.22.15", - "@babel/traverse": "^7.23.2", - "@babel/types": "^7.23.0", - "convert-source-map": "^2.0.0", - "debug": "^4.1.0", - "gensync": "^1.0.0-beta.2", - "json5": "^2.2.3", - "semver": "^6.3.1" + "@babel/types": "^7.29.8" }, - "engines": { - "node": ">=6.9.0" + "bin": { + "parser": "bin/babel-parser.js" }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/babel" + "engines": { + "node": ">=6.0.0" } }, - "node_modules/@babel/generator": { - "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.23.0.tgz", - "integrity": "sha512-lN85QRR+5IbYrMWM6Y4pE/noaQtg4pNiqeNGX60eqOfo6gtEj6uw/JagelB8vVztSd7R6M5n1+PQkDbHbBRU4g==", + "node_modules/@babel/types": { + "version": "7.29.8", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.29.8.tgz", + "integrity": "sha512-Vj1jF3cPfxg7OAfoI7QnVKLoILlm2JF9pnVHrX8qx7AHMiYWT+NDAA7jChlNgRS4WTLc/fD1lXLmPixluj+3Gg==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/types": "^7.23.0", - "@jridgewell/gen-mapping": "^0.3.2", - "@jridgewell/trace-mapping": "^0.3.17", - "jsesc": "^2.5.1" + "@babel/helper-string-parser": "^7.29.7", + "@babel/helper-validator-identifier": "^7.29.7" }, "engines": { "node": ">=6.9.0" } }, - "node_modules/@babel/helper-annotate-as-pure": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.22.5.tgz", - "integrity": "sha512-LvBTxu8bQSQkcyKOU+a1btnNFQ1dMAd0R6PyW3arXes06F6QLWLIrd681bxRPIXlrMGR3XYnW9JyML7dP3qgxg==", + "node_modules/@codemirror/autocomplete": { + "version": "6.20.3", + "resolved": "https://registry.npmjs.org/@codemirror/autocomplete/-/autocomplete-6.20.3.tgz", + "integrity": "sha512-tlosUqb+3BbxCxZdu4tKeRghPFC+QM7q4X5YhKV2eCmPG+1r2F3f4AaSz5sCrFqUtX4Jh20VFTKecl16MgiV9g==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/types": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" + "@codemirror/language": "^6.0.0", + "@codemirror/state": "^6.0.0", + "@codemirror/view": "^6.17.0", + "@lezer/common": "^1.0.0" } }, - "node_modules/@babel/helper-builder-binary-assignment-operator-visitor": { - "version": "7.22.15", - "resolved": "https://registry.npmjs.org/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.22.15.tgz", - "integrity": "sha512-QkBXwGgaoC2GtGZRoma6kv7Szfv06khvhFav67ZExau2RaXzy8MpHSMO2PNoP2XtmQphJQRHFfg77Bq731Yizw==", + "node_modules/@codemirror/commands": { + "version": "6.11.1", + "resolved": "https://registry.npmjs.org/@codemirror/commands/-/commands-6.11.1.tgz", + "integrity": "sha512-O/4hG3SC1YwcmQ0d2UVNDs+AsaNWd1iHVxbTeEBuqH+6bExAiPK3iS/BvpY6rZGURALv4ZD3sIgcCmRvw3ehBg==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/types": "^7.22.15" - }, - "engines": { - "node": ">=6.9.0" + "@codemirror/language": "^6.0.0", + "@codemirror/state": "^6.7.0", + "@codemirror/view": "^6.27.0", + "@lezer/common": "^1.1.0" } }, - "node_modules/@babel/helper-compilation-targets": { - "version": "7.22.15", - "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.22.15.tgz", - "integrity": "sha512-y6EEzULok0Qvz8yyLkCvVX+02ic+By2UdOhylwUOvOn9dvYc9mKICJuuU1n1XBI02YWsNsnrY1kc6DVbjcXbtw==", + "node_modules/@codemirror/lang-json": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/@codemirror/lang-json/-/lang-json-6.0.2.tgz", + "integrity": "sha512-x2OtO+AvwEHrEwR0FyyPtfDUiloG3rnVTSZV1W8UteaLL8/MajQd8DpvUb2YVzC+/T18aSDv0H9mu+xw0EStoQ==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/compat-data": "^7.22.9", - "@babel/helper-validator-option": "^7.22.15", - "browserslist": "^4.21.9", - "lru-cache": "^5.1.1", - "semver": "^6.3.1" - }, - "engines": { - "node": ">=6.9.0" + "@codemirror/language": "^6.0.0", + "@lezer/json": "^1.0.0" } }, - "node_modules/@babel/helper-create-class-features-plugin": { - "version": "7.22.15", - "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.22.15.tgz", - "integrity": "sha512-jKkwA59IXcvSaiK2UN45kKwSC9o+KuoXsBDvHvU/7BecYIp8GQ2UwrVvFgJASUT+hBnwJx6MhvMCuMzwZZ7jlg==", + "node_modules/@codemirror/lang-yaml": { + "version": "6.1.3", + "resolved": "https://registry.npmjs.org/@codemirror/lang-yaml/-/lang-yaml-6.1.3.tgz", + "integrity": "sha512-AZ8DJBuXGVHybpBQhmZtgew5//4hv3tdkXnr3vDmOUMJRuB6vn/uuwtmTOTlqEaQFg3hQSVeA90NmvIQyUV6FQ==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-annotate-as-pure": "^7.22.5", - "@babel/helper-environment-visitor": "^7.22.5", - "@babel/helper-function-name": "^7.22.5", - "@babel/helper-member-expression-to-functions": "^7.22.15", - "@babel/helper-optimise-call-expression": "^7.22.5", - "@babel/helper-replace-supers": "^7.22.9", - "@babel/helper-skip-transparent-expression-wrappers": "^7.22.5", - "@babel/helper-split-export-declaration": "^7.22.6", - "semver": "^6.3.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" + "@codemirror/autocomplete": "^6.0.0", + "@codemirror/language": "^6.0.0", + "@codemirror/state": "^6.0.0", + "@lezer/common": "^1.2.0", + "@lezer/highlight": "^1.2.0", + "@lezer/lr": "^1.0.0", + "@lezer/yaml": "^1.0.0" } }, - "node_modules/@babel/helper-create-regexp-features-plugin": { - "version": "7.22.15", - "resolved": "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.22.15.tgz", - "integrity": "sha512-29FkPLFjn4TPEa3RE7GpW+qbE8tlsu3jntNYNfcGsc49LphF1PQIiD+vMZ1z1xVOKt+93khA9tc2JBs3kBjA7w==", + "node_modules/@codemirror/language": { + "version": "6.12.4", + "resolved": "https://registry.npmjs.org/@codemirror/language/-/language-6.12.4.tgz", + "integrity": "sha512-1q4PaT+o6PbgpkJt4Q8Fv5XJxTy4FUZ4MWETtyiDw3J0Pyr9E2vqcKL+k9wcvjNTIsauxvE7OfmWj3FRPHQ76A==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-annotate-as-pure": "^7.22.5", - "regexpu-core": "^5.3.1", - "semver": "^6.3.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" + "@codemirror/state": "^6.0.0", + "@codemirror/view": "^6.23.0", + "@lezer/common": "^1.5.0", + "@lezer/highlight": "^1.0.0", + "@lezer/lr": "^1.0.0", + "style-mod": "^4.0.0" } }, - "node_modules/@babel/helper-define-polyfill-provider": { - "version": "0.4.3", - "resolved": "https://registry.npmjs.org/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.4.3.tgz", - "integrity": "sha512-WBrLmuPP47n7PNwsZ57pqam6G/RGo1vw/87b0Blc53tZNGZ4x7YvZ6HgQe2vo1W/FR20OgjeZuGXzudPiXHFug==", + "node_modules/@codemirror/legacy-modes": { + "version": "6.5.4", + "resolved": "https://registry.npmjs.org/@codemirror/legacy-modes/-/legacy-modes-6.5.4.tgz", + "integrity": "sha512-/cZr6qZyl08iYNLGsJ862CXXNI51LryRFRE40ejgoIjXZz0C1rGkD3/Ek5jM/8w1ceRjqtt4qx/KLMh4zBTgew==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-compilation-targets": "^7.22.6", - "@babel/helper-plugin-utils": "^7.22.5", - "debug": "^4.1.1", - "lodash.debounce": "^4.0.8", - "resolve": "^1.14.2" - }, - "peerDependencies": { - "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0" + "@codemirror/language": "^6.0.0" } }, - "node_modules/@babel/helper-environment-visitor": { - "version": "7.22.20", - "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.20.tgz", - "integrity": "sha512-zfedSIzFhat/gFhWfHtgWvlec0nqB9YEIVrpuwjruLlXfUSnA8cJB0miHKwqDnQ7d32aKo2xt88/xZptwxbfhA==", + "node_modules/@codemirror/lint": { + "version": "6.9.7", + "resolved": "https://registry.npmjs.org/@codemirror/lint/-/lint-6.9.7.tgz", + "integrity": "sha512-28/+iWLYxKxsvGYhSYL7zaCZqLz5+FFFDq9tVsvGv9kv8RY4fFAchJ5WX9M3YrrRlTIsECjsXPqeNgnSmNP2dg==", "dev": true, - "engines": { - "node": ">=6.9.0" + "license": "MIT", + "dependencies": { + "@codemirror/state": "^6.0.0", + "@codemirror/view": "^6.42.0", + "crelt": "^1.0.5" } }, - "node_modules/@babel/helper-function-name": { - "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.23.0.tgz", - "integrity": "sha512-OErEqsrxjZTJciZ4Oo+eoZqeW9UIiOcuYKRJA4ZAgV9myA+pOXhhmpfNCKjEH/auVfEYVFJ6y1Tc4r0eIApqiw==", + "node_modules/@codemirror/merge": { + "version": "6.12.2", + "resolved": "https://registry.npmjs.org/@codemirror/merge/-/merge-6.12.2.tgz", + "integrity": "sha512-V8JvyAPjHbPupqP7BeMcsdsYCbyPij74jxIbaIJDORI+VZzW44zFmon8bF+oxGWvOKhcRmkiUMXd8MxHr3YA2w==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/template": "^7.22.15", - "@babel/types": "^7.23.0" - }, - "engines": { - "node": ">=6.9.0" + "@codemirror/language": "^6.0.0", + "@codemirror/state": "^6.0.0", + "@codemirror/view": "^6.17.0", + "@lezer/highlight": "^1.0.0", + "style-mod": "^4.1.0" } }, - "node_modules/@babel/helper-hoist-variables": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.22.5.tgz", - "integrity": "sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw==", + "node_modules/@codemirror/search": { + "version": "6.7.2", + "resolved": "https://registry.npmjs.org/@codemirror/search/-/search-6.7.2.tgz", + "integrity": "sha512-gUYkYhT2+n/+VGZ+8EzE5WFkYZUZYm1VOKDudIsNqh42uRVQJ0a6Yss9sdKT3MeOYfuL1N6AZA57oza0Oyr0LA==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/types": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" + "@codemirror/state": "^6.0.0", + "@codemirror/view": "^6.37.0", + "crelt": "^1.0.5" } }, - "node_modules/@babel/helper-member-expression-to-functions": { - "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.23.0.tgz", - "integrity": "sha512-6gfrPwh7OuT6gZyJZvd6WbTfrqAo7vm4xCzAXOusKqq/vWdKXphTpj5klHKNmRUU6/QRGlBsyU9mAIPaWHlqJA==", + "node_modules/@codemirror/state": { + "version": "6.7.6", + "resolved": "https://registry.npmjs.org/@codemirror/state/-/state-6.7.6.tgz", + "integrity": "sha512-kAz+AncRtKuIknedxT1bq4XwXv4UowhbkHU1myPrtVb/jZtImWuV5BXzv5vK6i3kYACsdiZiQKFQQ5Mq7elW8w==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/types": "^7.23.0" - }, - "engines": { - "node": ">=6.9.0" + "@marijn/find-cluster-break": "^1.0.0" } }, - "node_modules/@babel/helper-module-imports": { - "version": "7.22.15", - "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.22.15.tgz", - "integrity": "sha512-0pYVBnDKZO2fnSPCrgM/6WMc7eS20Fbok+0r88fp+YtWVLZrp4CkafFGIp+W0VKw4a22sgebPT99y+FDNMdP4w==", + "node_modules/@codemirror/view": { + "version": "6.43.13", + "resolved": "https://registry.npmjs.org/@codemirror/view/-/view-6.43.13.tgz", + "integrity": "sha512-sihaFrUzAsYBQsL9J2t69y8nfMQGwcYmggAZsk+kjPbjYZMyuf2hU8tUNTZ+P+isb6XRr8JE22TZlJxBoVdH1A==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/types": "^7.22.15" - }, - "engines": { - "node": ">=6.9.0" + "@codemirror/state": "^6.7.0", + "crelt": "^1.0.6", + "style-mod": "^4.1.0", + "w3c-keyname": "^2.2.4" } }, - "node_modules/@babel/helper-module-transforms": { - "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.23.0.tgz", - "integrity": "sha512-WhDWw1tdrlT0gMgUJSlX0IQvoO1eN279zrAUbVB+KpV2c3Tylz8+GnKOLllCS6Z/iZQEyVYxhZVUdPTqs2YYPw==", + "node_modules/@esbuild/aix-ppc64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.28.2.tgz", + "integrity": "sha512-XExcO+dvLKvVtNTibSTBej1NCAbaGhWn9Ww1ZPx80qsahhPFe/8jgWP0IchNe0F3HwkU7n8ejhH8bjonqht8mQ==", + "cpu": [ + "ppc64" + ], "dev": true, - "dependencies": { - "@babel/helper-environment-visitor": "^7.22.20", - "@babel/helper-module-imports": "^7.22.15", - "@babel/helper-simple-access": "^7.22.5", - "@babel/helper-split-export-declaration": "^7.22.6", - "@babel/helper-validator-identifier": "^7.22.20" - }, + "license": "MIT", + "optional": true, + "os": [ + "aix" + ], "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" + "node": ">=18" } }, - "node_modules/@babel/helper-optimise-call-expression": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.22.5.tgz", - "integrity": "sha512-HBwaojN0xFRx4yIvpwGqxiV2tUfl7401jlok564NgB9EHS1y6QT17FmKWm4ztqjeVdXLuC4fSvHc5ePpQjoTbw==", + "node_modules/@esbuild/android-arm": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.28.2.tgz", + "integrity": "sha512-kXXoiPVVGQcnIYGOeaovwOURpniDBpSq4A03qkQ+BMQqtGG6HYap3xne9C1O1yo4TR3qxlCX5IqqmX6fFo2Lqg==", + "cpu": [ + "arm" + ], "dev": true, - "dependencies": { - "@babel/types": "^7.22.5" - }, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], "engines": { - "node": ">=6.9.0" + "node": ">=18" } }, - "node_modules/@babel/helper-plugin-utils": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.22.5.tgz", - "integrity": "sha512-uLls06UVKgFG9QD4OeFYLEGteMIAa5kpTPcFL28yuCIIzsf6ZyKZMllKVOCZFhiZ5ptnwX4mtKdWCBE/uT4amg==", + "node_modules/@esbuild/android-arm64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.28.2.tgz", + "integrity": "sha512-5YfKeeI8qWfBZIX+u2xZC3Zlb3Os/gLS2sbEKM+I4ZOcsWmHS2WLysCcQZDAFRslDUU5Oiq44gf6PYN1vGwG5A==", + "cpu": [ + "arm64" + ], "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], "engines": { - "node": ">=6.9.0" + "node": ">=18" } }, - "node_modules/@babel/helper-remap-async-to-generator": { - "version": "7.22.20", - "resolved": "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.22.20.tgz", - "integrity": "sha512-pBGyV4uBqOns+0UvhsTO8qgl8hO89PmiDYv+/COyp1aeMcmfrfruz+/nCMFiYyFF/Knn0yfrC85ZzNFjembFTw==", + "node_modules/@esbuild/android-x64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.28.2.tgz", + "integrity": "sha512-O387ite7SzUyCcy3JQX4P4bLtEA7bLLkx+esve5JHnyYfNTxcVpXZo9jhdB0lTKN44gztELTdU7nS8Nr16Fs1Q==", + "cpu": [ + "x64" + ], "dev": true, - "dependencies": { - "@babel/helper-annotate-as-pure": "^7.22.5", - "@babel/helper-environment-visitor": "^7.22.20", - "@babel/helper-wrap-function": "^7.22.20" - }, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" + "node": ">=18" } }, - "node_modules/@babel/helper-replace-supers": { - "version": "7.22.20", - "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.22.20.tgz", - "integrity": "sha512-qsW0In3dbwQUbK8kejJ4R7IHVGwHJlV6lpG6UA7a9hSa2YEiAib+N1T2kr6PEeUT+Fl7najmSOS6SmAwCHK6Tw==", + "node_modules/@esbuild/darwin-arm64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.28.2.tgz", + "integrity": "sha512-n4KqkOQrraxHJcgjM1RvwbigfQKIKJVpM7xp+KsxiyUSrRdIXnt73VhrPAx0fV44hgfmIVKjxMN9J1t5jySVkw==", + "cpu": [ + "arm64" + ], "dev": true, - "dependencies": { - "@babel/helper-environment-visitor": "^7.22.20", - "@babel/helper-member-expression-to-functions": "^7.22.15", - "@babel/helper-optimise-call-expression": "^7.22.5" - }, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" + "node": ">=18" } }, - "node_modules/@babel/helper-simple-access": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.22.5.tgz", - "integrity": "sha512-n0H99E/K+Bika3++WNL17POvo4rKWZ7lZEp1Q+fStVbUi8nxPQEBOlTmCOxW/0JsS56SKKQ+ojAe2pHKJHN35w==", + "node_modules/@esbuild/darwin-x64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.28.2.tgz", + "integrity": "sha512-uq6suIWYP37qzGddBKPw5QEQPi6HiLGsO7UmkpfyaYNQ3D+rN6w6WfwH+nuqcGXWvawGwxOEroO4YGnFh95azw==", + "cpu": [ + "x64" + ], "dev": true, - "dependencies": { - "@babel/types": "^7.22.5" - }, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], "engines": { - "node": ">=6.9.0" + "node": ">=18" } }, - "node_modules/@babel/helper-skip-transparent-expression-wrappers": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.22.5.tgz", - "integrity": "sha512-tK14r66JZKiC43p8Ki33yLBVJKlQDFoA8GYN67lWCDCqoL6EMMSuM9b+Iff2jHaM/RRFYl7K+iiru7hbRqNx8Q==", + "node_modules/@esbuild/freebsd-arm64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.28.2.tgz", + "integrity": "sha512-n+I0BTSRIoy+d6RPKnEVwql5UwBJolytvY4mAOIEJorKlqgPII8ix6slVVrfZ5Tnj7glIZvloylbB/EJPMWEXw==", + "cpu": [ + "arm64" + ], "dev": true, - "dependencies": { - "@babel/types": "^7.22.5" - }, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], "engines": { - "node": ">=6.9.0" + "node": ">=18" } }, - "node_modules/@babel/helper-split-export-declaration": { - "version": "7.22.6", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.22.6.tgz", - "integrity": "sha512-AsUnxuLhRYsisFiaJwvp1QF+I3KjD5FOxut14q/GzovUe6orHLesW2C7d754kRm53h5gqrz6sFl6sxc4BVtE/g==", + "node_modules/@esbuild/freebsd-x64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.28.2.tgz", + "integrity": "sha512-78XJTJkvPs0kz2w61301PJjXl4g7q3JqiYMZ/M/yVI73EHBrCRTgkhu9oqG7vPqq+a/yadEW8aD+agKlk5xrmg==", + "cpu": [ + "x64" + ], "dev": true, - "dependencies": { - "@babel/types": "^7.22.5" - }, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], "engines": { - "node": ">=6.9.0" + "node": ">=18" } }, - "node_modules/@babel/helper-string-parser": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.22.5.tgz", - "integrity": "sha512-mM4COjgZox8U+JcXQwPijIZLElkgEpO5rsERVDJTc2qfCDfERyob6k5WegS14SX18IIjv+XD+GrqNumY5JRCDw==", + "node_modules/@esbuild/linux-arm": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.28.2.tgz", + "integrity": "sha512-XlDnu2q5yoqems+xay6wSAcg9DDD7K9RLKZEBOMZm3ckNpJBvOX20tSfby8KfrrhINDyv9V2YVZKY/SpoGJI8w==", + "cpu": [ + "arm" + ], "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], "engines": { - "node": ">=6.9.0" + "node": ">=18" } }, - "node_modules/@babel/helper-validator-identifier": { - "version": "7.22.20", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz", - "integrity": "sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==", + "node_modules/@esbuild/linux-arm64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.28.2.tgz", + "integrity": "sha512-pW4AC0P3it8c7do9MVM4p51FzHzdM/TZrerurgRcHJ2WTa1VQ1CIq18xncfpBJw4ojkiZZrKW2yIBWBP92j6Ug==", + "cpu": [ + "arm64" + ], "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], "engines": { - "node": ">=6.9.0" + "node": ">=18" } }, - "node_modules/@babel/helper-validator-option": { - "version": "7.22.15", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.22.15.tgz", - "integrity": "sha512-bMn7RmyFjY/mdECUbgn9eoSY4vqvacUnS9i9vGAGttgFWesO6B4CYWA7XlpbWgBt71iv/hfbPlynohStqnu5hA==", + "node_modules/@esbuild/linux-ia32": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.28.2.tgz", + "integrity": "sha512-CYbnj78HsIeA+DhgUKgFCfvNsTHFhMMrinUrMZpDXJXKN8T3XViTZ/+wtHeVxEWY8ewSzTFN+nRmSwO2tZaLUQ==", + "cpu": [ + "ia32" + ], "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], "engines": { - "node": ">=6.9.0" + "node": ">=18" } }, - "node_modules/@babel/helper-wrap-function": { - "version": "7.22.20", - "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.22.20.tgz", - "integrity": "sha512-pms/UwkOpnQe/PDAEdV/d7dVCoBbB+R4FvYoHGZz+4VPcg7RtYy2KP7S2lbuWM6FCSgob5wshfGESbC/hzNXZw==", + "node_modules/@esbuild/linux-loong64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.28.2.tgz", + "integrity": "sha512-buwkd8nsph4R+ajRvw0qM5Hja/TXQow3ptzWO2EbG/cqcIkHloRrdlBtQlshyYGTNFvfkfJ5tpPLVkY4DtsPfQ==", + "cpu": [ + "loong64" + ], "dev": true, - "dependencies": { - "@babel/helper-function-name": "^7.22.5", - "@babel/template": "^7.22.15", - "@babel/types": "^7.22.19" - }, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], "engines": { - "node": ">=6.9.0" + "node": ">=18" } }, - "node_modules/@babel/helpers": { - "version": "7.23.2", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.23.2.tgz", - "integrity": "sha512-lzchcp8SjTSVe/fPmLwtWVBFC7+Tbn8LGHDVfDp9JGxpAY5opSaEFgt8UQvrnECWOTdji2mOWMz1rOhkHscmGQ==", + "node_modules/@esbuild/linux-mips64el": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.28.2.tgz", + "integrity": "sha512-ZVykbDyk7519VwiNb9Lcj9m8XM6v5V9uKPvrEMkkEedVewf+0itkhahp4HDpgERXhwLRpWFypsGbG/J8s0QjJA==", + "cpu": [ + "mips64el" + ], "dev": true, - "dependencies": { - "@babel/template": "^7.22.15", - "@babel/traverse": "^7.23.2", - "@babel/types": "^7.23.0" - }, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], "engines": { - "node": ">=6.9.0" + "node": ">=18" } }, - "node_modules/@babel/highlight": { - "version": "7.22.20", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.22.20.tgz", - "integrity": "sha512-dkdMCN3py0+ksCgYmGG8jKeGA/8Tk+gJwSYYlFGxG5lmhfKNoAy004YpLxpS1W2J8m/EK2Ew+yOs9pVRwO89mg==", + "node_modules/@esbuild/linux-ppc64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.28.2.tgz", + "integrity": "sha512-CAXl+Dtd9UUuJd8pKKdwh6MLm3MUMiqMPmhZ3tTSXPqfyQ3vDl6R5hZdZ/kYojK4ofXtdfSv1tFq8XzWx3heNQ==", + "cpu": [ + "ppc64" + ], "dev": true, - "dependencies": { - "@babel/helper-validator-identifier": "^7.22.20", - "chalk": "^2.4.2", - "js-tokens": "^4.0.0" - }, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], "engines": { - "node": ">=6.9.0" + "node": ">=18" } }, - "node_modules/@babel/parser": { - "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.23.0.tgz", - "integrity": "sha512-vvPKKdMemU85V9WE/l5wZEmImpCtLqbnTvqDS2U1fJ96KrxoW7KrXhNsNCblQlg8Ck4b85yxdTyelsMUgFUXiw==", - "bin": { - "parser": "bin/babel-parser.js" - }, + "node_modules/@esbuild/linux-riscv64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.28.2.tgz", + "integrity": "sha512-GeXCej4IQtU1B+QlDV8W/RRvbzI3O/Stss+/bCXv4lZls5WGRtu2a+3JkA3i4qIUlMXpcHebWpF8AkJhATowuA==", + "cpu": [ + "riscv64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], "engines": { - "node": ">=6.0.0" + "node": ">=18" } }, - "node_modules/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": { - "version": "7.22.15", - "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.22.15.tgz", - "integrity": "sha512-FB9iYlz7rURmRJyXRKEnalYPPdn87H5no108cyuQQyMwlpJ2SJtpIUBI27kdTin956pz+LPypkPVPUTlxOmrsg==", + "node_modules/@esbuild/linux-s390x": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.28.2.tgz", + "integrity": "sha512-3H1weTYZPxt/WOhByszQZybS9w5lKzUn1FDMsgEChbHWQwHYQQRfBxgCcZvPhjHfKyJjIievvMmEUawJrdY9Dg==", + "cpu": [ + "s390x" + ], "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5" - }, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" + "node": ">=18" } }, - "node_modules/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": { - "version": "7.22.15", - "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.22.15.tgz", - "integrity": "sha512-Hyph9LseGvAeeXzikV88bczhsrLrIZqDPxO+sSmAunMPaGrBGhfMWzCPYTtiW9t+HzSE2wtV8e5cc5P6r1xMDQ==", + "node_modules/@esbuild/linux-x64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.28.2.tgz", + "integrity": "sha512-4xTZr1FUmSoQW4XIWmit3tzQrUTZM+N3P0XV8xROKYF50XfI7xeO90+1bZvNwxIufQ9hDQVRJH5YhgPVF8A/HQ==", + "cpu": [ + "x64" + ], "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5", - "@babel/helper-skip-transparent-expression-wrappers": "^7.22.5", - "@babel/plugin-transform-optional-chaining": "^7.22.15" - }, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.13.0" + "node": ">=18" } }, - "node_modules/@babel/plugin-proposal-private-property-in-object": { - "version": "7.21.0-placeholder-for-preset-env.2", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.21.0-placeholder-for-preset-env.2.tgz", - "integrity": "sha512-SOSkfJDddaM7mak6cPEpswyTRnuRltl429hMraQEglW+OkovnCzsiszTmsrlY//qLFjCpQDFRvjdm2wA5pPm9w==", + "node_modules/@esbuild/netbsd-arm64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.28.2.tgz", + "integrity": "sha512-sSATRjPeDBg3pdgHoQfoYBob11Kk1FGa9lui5RIHZCoCkJa9QKlvl3/vKz2usCmYYjs7ymJR/2Nnsqe+Hjt5nw==", + "cpu": [ + "arm64" + ], "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "netbsd" + ], "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" + "node": ">=18" } }, - "node_modules/@babel/plugin-syntax-async-generators": { - "version": "7.8.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz", - "integrity": "sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==", + "node_modules/@esbuild/netbsd-x64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.28.2.tgz", + "integrity": "sha512-lqnzCV+mM0gIADaKihiCg6ifgfU2L3h5E33rNQBN1Y4MaVGnzryzmvvf7UHxprpQdE8hpqLolJ9Rl+SkIRDpyw==", + "cpu": [ + "x64" + ], "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" + "license": "MIT", + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=18" } }, - "node_modules/@babel/plugin-syntax-class-properties": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz", - "integrity": "sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==", + "node_modules/@esbuild/openbsd-arm64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.28.2.tgz", + "integrity": "sha512-AL2qJILH7lNjrDmCQDvdxMfAUIv8KMNZOvrwAQ8i8//ntL9FflhOyMJ8OZSMBb8/AWXe3/5v5S20y3zCoZWKoQ==", + "cpu": [ + "arm64" + ], "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.12.13" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=18" } }, - "node_modules/@babel/plugin-syntax-class-static-block": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-static-block/-/plugin-syntax-class-static-block-7.14.5.tgz", - "integrity": "sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw==", + "node_modules/@esbuild/openbsd-x64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.28.2.tgz", + "integrity": "sha512-QtiuPytchRyC4rwUKhexJdQKvDuZ6hWloi3igqPQNUJCS1/v9EiO3UTOXR6A3FoMo4fnAKbWJdqaIwhOzh8qEw==", + "cpu": [ + "x64" + ], "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" - }, + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ], "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" + "node": ">=18" } }, - "node_modules/@babel/plugin-syntax-dynamic-import": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.8.3.tgz", - "integrity": "sha512-5gdGbFon+PszYzqs83S3E5mpi7/y/8M9eC90MRTZfduQOYW76ig6SOSPNe41IG5LoP3FGBn2N0RjVDSQiS94kQ==", + "node_modules/@esbuild/openharmony-arm64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/openharmony-arm64/-/openharmony-arm64-0.28.2.tgz", + "integrity": "sha512-WkhYDmpTjLvGlScA1rwjRUmhl4k8oXR3cIbtqWmELgU/dFeHHlEllxDvdWcNJV9rbzCexB5vz8gtNewWLgCT7Q==", + "cpu": [ + "arm64" + ], "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" + "license": "MIT", + "optional": true, + "os": [ + "openharmony" + ], + "engines": { + "node": ">=18" } }, - "node_modules/@babel/plugin-syntax-export-namespace-from": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-export-namespace-from/-/plugin-syntax-export-namespace-from-7.8.3.tgz", - "integrity": "sha512-MXf5laXo6c1IbEbegDmzGPwGNTsHZmEy6QGznu5Sh2UCWvueywb2ee+CCE4zQiZstxU9BMoQO9i6zUFSY0Kj0Q==", + "node_modules/@esbuild/sunos-x64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.28.2.tgz", + "integrity": "sha512-GPMSkTOtMnv2U2F8gxe4Io6qmVs+YKyp832Etqqxr0hFngmXQ3rzwytelm3GIn7T4VviRUlf3sOgBOiTdvaf7g==", + "cpu": [ + "x64" + ], "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.3" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" + "license": "MIT", + "optional": true, + "os": [ + "sunos" + ], + "engines": { + "node": ">=18" } }, - "node_modules/@babel/plugin-syntax-import-assertions": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-assertions/-/plugin-syntax-import-assertions-7.22.5.tgz", - "integrity": "sha512-rdV97N7KqsRzeNGoWUOK6yUsWarLjE5Su/Snk9IYPU9CwkWHs4t+rTGOvffTR8XGkJMTAdLfO0xVnXm8wugIJg==", + "node_modules/@esbuild/win32-arm64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.28.2.tgz", + "integrity": "sha512-PIhhEkE9uPBleRBrQEJpUn7MBnibZzbGzYWPmY3x+YoVg/95zbjB4CxPPOQ8l5tYYM4mMaCthF8/1DIfBQQyWQ==", + "cpu": [ + "arm64" + ], "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5" - }, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" + "node": ">=18" } }, - "node_modules/@babel/plugin-syntax-import-attributes": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-attributes/-/plugin-syntax-import-attributes-7.22.5.tgz", - "integrity": "sha512-KwvoWDeNKPETmozyFE0P2rOLqh39EoQHNjqizrI5B8Vt0ZNS7M56s7dAiAqbYfiAYOuIzIh96z3iR2ktgu3tEg==", + "node_modules/@esbuild/win32-ia32": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.28.2.tgz", + "integrity": "sha512-YmJbfTlvU7Sdn9BB+4PRES4oB6pxgS37MAONj+hBr/cpXS1aBPKXxNnDbu+QCWPj0o9dgyxeq79g6c5P8KeuYA==", + "cpu": [ + "ia32" + ], "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5" - }, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" + "node": ">=18" } }, - "node_modules/@babel/plugin-syntax-import-meta": { - "version": "7.10.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.10.4.tgz", - "integrity": "sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==", + "node_modules/@esbuild/win32-x64": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.28.2.tgz", + "integrity": "sha512-5ebpxr3nWMzrL/rnUI755Jkuee0bHL/Gq0WTF9lvcpv73wAp5eu8MfBUgWK9bhWvZjj7yX8etf/8tI8Ney695g==", + "cpu": [ + "x64" + ], "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.10.4" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" } }, - "node_modules/@babel/plugin-syntax-json-strings": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz", - "integrity": "sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==", + "node_modules/@eslint-community/eslint-utils": { + "version": "4.10.1", + "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.10.1.tgz", + "integrity": "sha512-cuadcxVFE8sDK6iWJbs8Sn0av2Nrh2QSGQhVlBW9AaAHqHwjWsZHT8LJ4hFGPh7ASBV2deFdM7H/DPjulmh8rg==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" + "eslint-visitor-keys": "^3.4.3" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" }, "peerDependencies": { - "@babel/core": "^7.0.0-0" + "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0" } }, - "node_modules/@babel/plugin-syntax-logical-assignment-operators": { - "version": "7.10.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz", - "integrity": "sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==", + "node_modules/@eslint-community/regexpp": { + "version": "4.12.2", + "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.12.2.tgz", + "integrity": "sha512-EriSTlt5OC9/7SXkRSCAhfSxxoSUgBm33OH+IkwbdpgoqsSsUg7y3uh+IICI/Qg4BBWr3U2i39RpmycbxMq4ew==", "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.10.4" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" + "license": "MIT", + "engines": { + "node": "^12.0.0 || ^14.0.0 || >=16.0.0" } }, - "node_modules/@babel/plugin-syntax-nullish-coalescing-operator": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz", - "integrity": "sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==", + "node_modules/@eslint/eslintrc": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.4.tgz", + "integrity": "sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" + "ajv": "^6.12.4", + "debug": "^4.3.2", + "espree": "^9.6.0", + "globals": "^13.19.0", + "ignore": "^5.2.0", + "import-fresh": "^3.2.1", + "js-yaml": "^4.1.0", + "minimatch": "^3.1.2", + "strip-json-comments": "^3.1.1" }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" } }, - "node_modules/@babel/plugin-syntax-numeric-separator": { - "version": "7.10.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz", - "integrity": "sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==", + "node_modules/@eslint/eslintrc/node_modules/ajv": { + "version": "6.15.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.15.0.tgz", + "integrity": "sha512-fgFx7Hfoq60ytK2c7DhnF8jIvzYgOMxfugjLOSMHjLIPgenqa7S7oaagATUq99mV6IYvN2tRmC0wnTYX6iPbMw==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.10.4" + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" } }, - "node_modules/@babel/plugin-syntax-object-rest-spread": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz", - "integrity": "sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==", + "node_modules/@eslint/eslintrc/node_modules/argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } + "license": "Python-2.0" }, - "node_modules/@babel/plugin-syntax-optional-catch-binding": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz", - "integrity": "sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==", + "node_modules/@eslint/eslintrc/node_modules/js-yaml": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.3.2.tgz", + "integrity": "sha512-SFNOvSJ+Dgf/9An904Yx+CgSlIPCkIpao4qo51lpee25TIRejdH3rhR4EZMGoNx3/TP3O+wzWuiTFl4sqbltzA==", "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/puzrin" + }, + { + "type": "github", + "url": "https://github.com/sponsors/nodeca" + } + ], + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" + "argparse": "^2.0.1" }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" + "bin": { + "js-yaml": "bin/js-yaml.js" } }, - "node_modules/@babel/plugin-syntax-optional-chaining": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz", - "integrity": "sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==", + "node_modules/@eslint/eslintrc/node_modules/json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } + "license": "MIT" }, - "node_modules/@babel/plugin-syntax-private-property-in-object": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-private-property-in-object/-/plugin-syntax-private-property-in-object-7.14.5.tgz", - "integrity": "sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg==", + "node_modules/@eslint/js": { + "version": "8.57.1", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.57.1.tgz", + "integrity": "sha512-d9zaMRSTIKDLhctzH12MtXvJKSSUhaHcjV+2Z+GK+EEY7XKpP5yR4x+N3TAcHTcu963nIr+TMcCb4DBCYX1z6Q==", "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" - }, + "license": "MIT", "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" } }, - "node_modules/@babel/plugin-syntax-top-level-await": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz", - "integrity": "sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==", + "node_modules/@floating-ui/core": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/@floating-ui/core/-/core-1.8.0.tgz", + "integrity": "sha512-0CIZ5itps/8x7BG8dEIhs53BvCUH2PCoogtakwRTut+Arm58sJooJ0AuZhLw2HJYIR5cMLNPBSS728sPho2khQ==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" + "@floating-ui/utils": "^0.2.12" } }, - "node_modules/@babel/plugin-syntax-unicode-sets-regex": { - "version": "7.18.6", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-unicode-sets-regex/-/plugin-syntax-unicode-sets-regex-7.18.6.tgz", - "integrity": "sha512-727YkEAPwSIQTv5im8QHz3upqp92JTWhidIC81Tdx4VJYIte/VndKf1qKrfnnhPLiPghStWfvC/iFaMCQu7Nqg==", + "node_modules/@floating-ui/dom": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.1.1.tgz", + "integrity": "sha512-TpIO93+DIujg3g7SykEAGZMDtbJRrmnYRCNYSjJlvIbGhBjRSNTLVbNeDQBrzy9qDgUbiWdc7KA0uZHZ2tJmiw==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.18.6", - "@babel/helper-plugin-utils": "^7.18.6" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" + "@floating-ui/core": "^1.1.0" } }, - "node_modules/@babel/plugin-transform-arrow-functions": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.22.5.tgz", - "integrity": "sha512-26lTNXoVRdAnsaDXPpvCNUq+OVWEVC6bx7Vvz9rC53F2bagUWW4u4ii2+h8Fejfh7RYqPxn+libeFBBck9muEw==", + "node_modules/@floating-ui/utils": { + "version": "0.2.12", + "resolved": "https://registry.npmjs.org/@floating-ui/utils/-/utils-0.2.12.tgz", + "integrity": "sha512-HpCo8tmWzLVad5s2d19EhAz5zqrrQ6s69qd6moPMQvkOuSwDT1YgRfWSVuc4ennqrgv3OHppiOGMQ7oC13yIww==", "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" + "license": "MIT" + }, + "node_modules/@fontsource-variable/geist": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/@fontsource-variable/geist/-/geist-5.3.0.tgz", + "integrity": "sha512-j0m+vLQuG5XAYoHtGCVu0spvlGreR3EzpECUVzkFmI1mTVnAO38l/NEPDCFgZ177JxzYJCLSmTQibIiYPilGrA==", + "dev": true, + "license": "OFL-1.1", + "funding": { + "url": "https://github.com/sponsors/ayuhito" } }, - "node_modules/@babel/plugin-transform-async-generator-functions": { - "version": "7.23.2", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-generator-functions/-/plugin-transform-async-generator-functions-7.23.2.tgz", - "integrity": "sha512-BBYVGxbDVHfoeXbOwcagAkOQAm9NxoTdMGfTqghu1GrvadSaw6iW3Je6IcL5PNOw8VwjxqBECXy50/iCQSY/lQ==", + "node_modules/@fontsource-variable/geist-mono": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/@fontsource-variable/geist-mono/-/geist-mono-5.3.0.tgz", + "integrity": "sha512-vBbuwDEo9AkrqADMXOrlAR3DFcJi4/JxeuU43FoiQERnNwsfXNnvxvReZG02cQKmyk4DZkZdBZX3oTDvy2zBAw==", "dev": true, - "dependencies": { - "@babel/helper-environment-visitor": "^7.22.20", - "@babel/helper-plugin-utils": "^7.22.5", - "@babel/helper-remap-async-to-generator": "^7.22.20", - "@babel/plugin-syntax-async-generators": "^7.8.4" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" + "license": "OFL-1.1", + "funding": { + "url": "https://github.com/sponsors/ayuhito" } }, - "node_modules/@babel/plugin-transform-async-to-generator": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.22.5.tgz", - "integrity": "sha512-b1A8D8ZzE/VhNDoV1MSJTnpKkCG5bJo+19R4o4oy03zM7ws8yEMK755j61Dc3EyvdysbqH5BOOTquJ7ZX9C6vQ==", + "node_modules/@humanwhocodes/config-array": { + "version": "0.13.0", + "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.13.0.tgz", + "integrity": "sha512-DZLEEqFWQFiyK6h5YIeynKx7JlvCYWL0cImfSRXZ9l4Sg2efkFGTuFf6vzXjK1cq6IYkU+Eg/JizXw+TD2vRNw==", + "deprecated": "Use @eslint/config-array instead", "dev": true, + "license": "Apache-2.0", "dependencies": { - "@babel/helper-module-imports": "^7.22.5", - "@babel/helper-plugin-utils": "^7.22.5", - "@babel/helper-remap-async-to-generator": "^7.22.5" + "@humanwhocodes/object-schema": "^2.0.3", + "debug": "^4.3.1", + "minimatch": "^3.0.5" }, "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" + "node": ">=10.10.0" } }, - "node_modules/@babel/plugin-transform-block-scoped-functions": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.22.5.tgz", - "integrity": "sha512-tdXZ2UdknEKQWKJP1KMNmuF5Lx3MymtMN/pvA+p/VEkhK8jVcQ1fzSy8KM9qRYhAf2/lV33hoMPKI/xaI9sADA==", + "node_modules/@humanwhocodes/module-importer": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz", + "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==", "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5" - }, + "license": "Apache-2.0", "engines": { - "node": ">=6.9.0" + "node": ">=12.22" }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" + "funding": { + "type": "github", + "url": "https://github.com/sponsors/nzakas" } }, - "node_modules/@babel/plugin-transform-block-scoping": { - "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.23.0.tgz", - "integrity": "sha512-cOsrbmIOXmf+5YbL99/S49Y3j46k/T16b9ml8bm9lP6N9US5iQ2yBK7gpui1pg0V/WMcXdkfKbTb7HXq9u+v4g==", + "node_modules/@humanwhocodes/object-schema": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.3.tgz", + "integrity": "sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA==", + "deprecated": "Use @eslint/object-schema instead", + "dev": true, + "license": "BSD-3-Clause" + }, + "node_modules/@jridgewell/gen-mapping": { + "version": "0.3.13", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz", + "integrity": "sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" + "@jridgewell/sourcemap-codec": "^1.5.0", + "@jridgewell/trace-mapping": "^0.3.24" } }, - "node_modules/@babel/plugin-transform-class-properties": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-class-properties/-/plugin-transform-class-properties-7.22.5.tgz", - "integrity": "sha512-nDkQ0NfkOhPTq8YCLiWNxp1+f9fCobEjCb0n8WdbNUBc4IB5V7P1QnX9IjpSoquKrXF5SKojHleVNs2vGeHCHQ==", + "node_modules/@jridgewell/remapping": { + "version": "2.3.5", + "resolved": "https://registry.npmjs.org/@jridgewell/remapping/-/remapping-2.3.5.tgz", + "integrity": "sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-create-class-features-plugin": "^7.22.5", - "@babel/helper-plugin-utils": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" + "@jridgewell/gen-mapping": "^0.3.5", + "@jridgewell/trace-mapping": "^0.3.24" } }, - "node_modules/@babel/plugin-transform-class-static-block": { - "version": "7.22.11", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-class-static-block/-/plugin-transform-class-static-block-7.22.11.tgz", - "integrity": "sha512-GMM8gGmqI7guS/llMFk1bJDkKfn3v3C4KHK9Yg1ey5qcHcOlKb0QvcMrgzvxo+T03/4szNh5lghY+fEC98Kq9g==", + "node_modules/@jridgewell/resolve-uri": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", + "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==", "dev": true, - "dependencies": { - "@babel/helper-create-class-features-plugin": "^7.22.11", - "@babel/helper-plugin-utils": "^7.22.5", - "@babel/plugin-syntax-class-static-block": "^7.14.5" - }, + "license": "MIT", "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.12.0" + "node": ">=6.0.0" } }, - "node_modules/@babel/plugin-transform-classes": { - "version": "7.22.15", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.22.15.tgz", - "integrity": "sha512-VbbC3PGjBdE0wAWDdHM9G8Gm977pnYI0XpqMd6LrKISj8/DJXEsWqgRuTYaNE9Bv0JGhTZUzHDlMk18IpOuoqw==", + "node_modules/@jridgewell/sourcemap-codec": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.6.0.tgz", + "integrity": "sha512-T7jf+5zgsZHwNJ4lvQ7/aezbyk0nNX+zJVWpmHA7VYsEx7a7qr5Rg5IbtJFqkgze5Y2sruq1RUY8Q837Od7iFw==", "dev": true, - "dependencies": { - "@babel/helper-annotate-as-pure": "^7.22.5", - "@babel/helper-compilation-targets": "^7.22.15", - "@babel/helper-environment-visitor": "^7.22.5", - "@babel/helper-function-name": "^7.22.5", - "@babel/helper-optimise-call-expression": "^7.22.5", - "@babel/helper-plugin-utils": "^7.22.5", - "@babel/helper-replace-supers": "^7.22.9", - "@babel/helper-split-export-declaration": "^7.22.6", - "globals": "^11.1.0" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } + "license": "MIT" }, - "node_modules/@babel/plugin-transform-computed-properties": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.22.5.tgz", - "integrity": "sha512-4GHWBgRf0krxPX+AaPtgBAlTgTeZmqDynokHOX7aqqAB4tHs3U2Y02zH6ETFdLZGcg9UQSD1WCmkVrE9ErHeOg==", + "node_modules/@jridgewell/trace-mapping": { + "version": "0.3.31", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.31.tgz", + "integrity": "sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5", - "@babel/template": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" + "@jridgewell/resolve-uri": "^3.1.0", + "@jridgewell/sourcemap-codec": "^1.4.14" } }, - "node_modules/@babel/plugin-transform-destructuring": { - "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.23.0.tgz", - "integrity": "sha512-vaMdgNXFkYrB+8lbgniSYWHsgqK5gjaMNcc84bMIOMRLH0L9AqYq3hwMdvnyqj1OPqea8UtjPEuS/DCenah1wg==", + "node_modules/@lezer/common": { + "version": "1.5.3", + "resolved": "https://registry.npmjs.org/@lezer/common/-/common-1.5.3.tgz", + "integrity": "sha512-H0iErY4e43LpXbYDyBci5W4v/RwTgGV3YzYOlJPiGZ8RY8w51kVE+xLn1tg3Z6UmSfyETvtsUK3r7YsgDQEI7Q==", "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } + "license": "MIT" }, - "node_modules/@babel/plugin-transform-dotall-regex": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.22.5.tgz", - "integrity": "sha512-5/Yk9QxCQCl+sOIB1WelKnVRxTJDSAIxtJLL2/pqL14ZVlbH0fUQUZa/T5/UnQtBNgghR7mfB8ERBKyKPCi7Vw==", + "node_modules/@lezer/highlight": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/@lezer/highlight/-/highlight-1.2.5.tgz", + "integrity": "sha512-O1GMVKgtf5YspFaRzpmqkVgMtIk2HG9uMAbH6wdAIdNh3TVzCsch/+cRi+6l2//UGDKe6NB9BW3cvuR5ezMQ0w==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.22.5", - "@babel/helper-plugin-utils": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" + "@lezer/common": "^1.3.0" } }, - "node_modules/@babel/plugin-transform-duplicate-keys": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.22.5.tgz", - "integrity": "sha512-dEnYD+9BBgld5VBXHnF/DbYGp3fqGMsyxKbtD1mDyIA7AkTSpKXFhCVuj/oQVOoALfBs77DudA0BE4d5mcpmqw==", + "node_modules/@lezer/json": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@lezer/json/-/json-1.0.3.tgz", + "integrity": "sha512-BP9KzdF9Y35PDpv04r0VeSTKDeox5vVr3efE7eBbx3r4s3oNLfunchejZhjArmeieBH+nVOpgIiBJpEAv8ilqQ==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" + "@lezer/common": "^1.2.0", + "@lezer/highlight": "^1.0.0", + "@lezer/lr": "^1.0.0" } }, - "node_modules/@babel/plugin-transform-dynamic-import": { - "version": "7.22.11", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dynamic-import/-/plugin-transform-dynamic-import-7.22.11.tgz", - "integrity": "sha512-g/21plo58sfteWjaO0ZNVb+uEOkJNjAaHhbejrnBmu011l/eNDScmkbjCC3l4FKb10ViaGU4aOkFznSu2zRHgA==", + "node_modules/@lezer/lr": { + "version": "1.4.10", + "resolved": "https://registry.npmjs.org/@lezer/lr/-/lr-1.4.10.tgz", + "integrity": "sha512-rnCpTIBafOx4mRp43xOxDJbFipJm/c0cia/V5TiGlhmMa+wsSdoGmUN3w5Bqrks/09Q/D4tNAmWaT8p6NRi77A==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5", - "@babel/plugin-syntax-dynamic-import": "^7.8.3" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" + "@lezer/common": "^1.0.0" } }, - "node_modules/@babel/plugin-transform-exponentiation-operator": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.22.5.tgz", - "integrity": "sha512-vIpJFNM/FjZ4rh1myqIya9jXwrwwgFRHPjT3DkUA9ZLHuzox8jiXkOLvwm1H+PQIP3CqfC++WPKeuDi0Sjdj1g==", + "node_modules/@lezer/yaml": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@lezer/yaml/-/yaml-1.0.4.tgz", + "integrity": "sha512-2lrrHqxalACEbxIbsjhqGpSW8kWpUKuY6RHgnSAFZa6qK62wvnPxA8hGOwOoDbwHcOFs5M4o27mjGu+P7TvBmw==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-builder-binary-assignment-operator-visitor": "^7.22.5", - "@babel/helper-plugin-utils": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" + "@lezer/common": "^1.2.0", + "@lezer/highlight": "^1.0.0", + "@lezer/lr": "^1.4.0" } }, - "node_modules/@babel/plugin-transform-export-namespace-from": { - "version": "7.22.11", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-export-namespace-from/-/plugin-transform-export-namespace-from-7.22.11.tgz", - "integrity": "sha512-xa7aad7q7OiT8oNZ1mU7NrISjlSkVdMbNxn9IuLZyL9AJEhs1Apba3I+u5riX1dIkdptP5EKDG5XDPByWxtehw==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5", - "@babel/plugin-syntax-export-namespace-from": "^7.8.3" - }, - "engines": { - "node": ">=6.9.0" + "node_modules/@marijn/find-cluster-break": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@marijn/find-cluster-break/-/find-cluster-break-1.0.4.tgz", + "integrity": "sha512-Wy0V7+SGUjnF9/TkiM1hKVDPj7jKXduPNboMVtHTA8dySMURWqfg/JZ9E2Sq8JgSJmkl7k7Qe9FLeMSrSraWmQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/@mohin4/design-system": { + "version": "0.0.4", + "resolved": "https://registry.npmjs.org/@mohin4/design-system/-/design-system-0.0.4.tgz", + "integrity": "sha512-DbLO0vcVD5Xa30AUu1QTfm61wBq7pXBPVutjpfGrxHyozLkEzPwxHNTfQ2EuH82FTKFGftMN1oisyx+PlsdFRQ==", + "dev": true, + "dependencies": { + "@codemirror/autocomplete": "^6.20.3", + "@codemirror/commands": "^6.11.1", + "@codemirror/lang-json": "^6.0.2", + "@codemirror/lang-yaml": "^6.1.3", + "@codemirror/language": "^6.12.4", + "@codemirror/legacy-modes": "^6.5.4", + "@codemirror/lint": "^6.9.7", + "@codemirror/merge": "^6.12.2", + "@codemirror/search": "^6.7.2", + "@codemirror/state": "^6.7.6", + "@codemirror/view": "^6.43.13", + "@fontsource-variable/geist": "^5.3.0", + "@fontsource-variable/geist-mono": "^5.3.0", + "@lezer/highlight": "^1.2.5", + "ajv": "^8.20.0", + "yaml": "^2.9.1" }, "peerDependencies": { - "@babel/core": "^7.0.0-0" + "lucide-vue-next": "^1.0.0", + "vue": "^3.5.0" } }, - "node_modules/@babel/plugin-transform-for-of": { - "version": "7.22.15", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.22.15.tgz", - "integrity": "sha512-me6VGeHsx30+xh9fbDLLPi0J1HzmeIIyenoOQHuw2D4m2SAU3NrspX5XxJLBpqn5yrLzrlw2Iy3RA//Bx27iOA==", + "node_modules/@napi-rs/lzma-linux-x64-gnu": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/@napi-rs/lzma-linux-x64-gnu/-/lzma-linux-x64-gnu-1.5.1.tgz", + "integrity": "sha512-oTXEIha4SsuXdTA4Iyskj0kpdx2yVXdhd75c2v3xGrHFfVMsbhTPZU/nMPL4sWKo4pBHm3aucLaqGlF696dTyQ==", + "cpu": [ + "x64" + ], "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5" - }, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" + "node": "^22.20 || ^24.12 || >=25" } }, - "node_modules/@babel/plugin-transform-function-name": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.22.5.tgz", - "integrity": "sha512-UIzQNMS0p0HHiQm3oelztj+ECwFnj+ZRV4KnguvlsD2of1whUeM6o7wGNj6oLwcDoAXQ8gEqfgC24D+VdIcevg==", + "node_modules/@nodelib/fs.scandir": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", + "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-compilation-targets": "^7.22.5", - "@babel/helper-function-name": "^7.22.5", - "@babel/helper-plugin-utils": "^7.22.5" + "@nodelib/fs.stat": "2.0.5", + "run-parallel": "^1.1.9" }, "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" + "node": ">= 8" } }, - "node_modules/@babel/plugin-transform-json-strings": { - "version": "7.22.11", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-json-strings/-/plugin-transform-json-strings-7.22.11.tgz", - "integrity": "sha512-CxT5tCqpA9/jXFlme9xIBCc5RPtdDq3JpkkhgHQqtDdiTnTI0jtZ0QzXhr5DILeYifDPp2wvY2ad+7+hLMW5Pw==", + "node_modules/@nodelib/fs.stat": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", + "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5", - "@babel/plugin-syntax-json-strings": "^7.8.3" - }, + "license": "MIT", "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" + "node": ">= 8" } }, - "node_modules/@babel/plugin-transform-literals": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.22.5.tgz", - "integrity": "sha512-fTLj4D79M+mepcw3dgFBTIDYpbcB9Sm0bpm4ppXPaO+U+PKFFyV9MGRvS0gvGw62sd10kT5lRMKXAADb9pWy8g==", + "node_modules/@nodelib/fs.walk": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", + "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5" + "@nodelib/fs.scandir": "2.1.5", + "fastq": "^1.6.0" }, "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" + "node": ">= 8" } }, - "node_modules/@babel/plugin-transform-logical-assignment-operators": { - "version": "7.22.11", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-logical-assignment-operators/-/plugin-transform-logical-assignment-operators-7.22.11.tgz", - "integrity": "sha512-qQwRTP4+6xFCDV5k7gZBF3C31K34ut0tbEcTKxlX/0KXxm9GLcO14p570aWxFvVzx6QAfPgq7gaeIHXJC8LswQ==", + "node_modules/@rolldown/pluginutils": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@rolldown/pluginutils/-/pluginutils-1.0.1.tgz", + "integrity": "sha512-2j9bGt5Jh8hj+vPtgzPtl72j0yRxHAyumoo6TNfAjsLB04UtpSvPbPcDcBMxz7n+9CYB0c1GxQFxYRg2jimqGw==", "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5", - "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } + "license": "MIT" }, - "node_modules/@babel/plugin-transform-member-expression-literals": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.22.5.tgz", - "integrity": "sha512-RZEdkNtzzYCFl9SE9ATaUMTj2hqMb4StarOJLrZRbqqU4HSBE7UlBw9WBWQiDzrJZJdUWiMTVDI6Gv/8DPvfew==", + "node_modules/@rollup/rollup-android-arm-eabi": { + "version": "4.64.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.64.0.tgz", + "integrity": "sha512-FLLpX941CD/7aBvX3GqLGBM9OvY5PGXTryPJkG5r5/OuBpZpV5k45Uo3RxAvqd35tsyc3hH1bhtz921IKzoIzg==", + "cpu": [ + "arm" + ], "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } + "license": "MIT", + "optional": true, + "os": [ + "android" + ] }, - "node_modules/@babel/plugin-transform-modules-amd": { - "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.23.0.tgz", - "integrity": "sha512-xWT5gefv2HGSm4QHtgc1sYPbseOyf+FFDo2JbpE25GWl5BqTGO9IMwTYJRoIdjsF85GE+VegHxSCUt5EvoYTAw==", + "node_modules/@rollup/rollup-android-arm64": { + "version": "4.64.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.64.0.tgz", + "integrity": "sha512-iI32XM/jnDYJsvx5ai/za/7gWO9XoSeFFtU06/ZCaRgyilfJOjaopD3nOpk2WrTCGOyeDt4hleUiGOAnd5tHNg==", + "cpu": [ + "arm64" + ], "dev": true, - "dependencies": { - "@babel/helper-module-transforms": "^7.23.0", - "@babel/helper-plugin-utils": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } + "license": "MIT", + "optional": true, + "os": [ + "android" + ] }, - "node_modules/@babel/plugin-transform-modules-commonjs": { - "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.23.0.tgz", - "integrity": "sha512-32Xzss14/UVc7k9g775yMIvkVK8xwKE0DPdP5JTapr3+Z9w4tzeOuLNY6BXDQR6BdnzIlXnCGAzsk/ICHBLVWQ==", + "node_modules/@rollup/rollup-darwin-arm64": { + "version": "4.64.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.64.0.tgz", + "integrity": "sha512-dRBZlbt2sEtF8Mn4MODThze9fIPdDoOhVSlXMAKy5dQbOYK9pOOoPY4Fat3OTtr0+8zbJo5TTZwlsfxY/kDNJg==", + "cpu": [ + "arm64" + ], "dev": true, - "dependencies": { - "@babel/helper-module-transforms": "^7.23.0", - "@babel/helper-plugin-utils": "^7.22.5", - "@babel/helper-simple-access": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ] }, - "node_modules/@babel/plugin-transform-modules-systemjs": { - "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.23.0.tgz", - "integrity": "sha512-qBej6ctXZD2f+DhlOC9yO47yEYgUh5CZNz/aBoH4j/3NOlRfJXJbY7xDQCqQVf9KbrqGzIWER1f23doHGrIHFg==", + "node_modules/@rollup/rollup-darwin-x64": { + "version": "4.64.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.64.0.tgz", + "integrity": "sha512-Y3whrJOMucfkhgNkvcM93M6j8C53iEAMmPMYD99C6G1kUy4ELigLWk9ar2/4aCBSRgsql0zdlOemLgW2m5GZgQ==", + "cpu": [ + "x64" + ], "dev": true, - "dependencies": { - "@babel/helper-hoist-variables": "^7.22.5", - "@babel/helper-module-transforms": "^7.23.0", - "@babel/helper-plugin-utils": "^7.22.5", - "@babel/helper-validator-identifier": "^7.22.20" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ] }, - "node_modules/@babel/plugin-transform-modules-umd": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.22.5.tgz", - "integrity": "sha512-+S6kzefN/E1vkSsKx8kmQuqeQsvCKCd1fraCM7zXm4SFoggI099Tr4G8U81+5gtMdUeMQ4ipdQffbKLX0/7dBQ==", + "node_modules/@rollup/rollup-freebsd-arm64": { + "version": "4.64.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.64.0.tgz", + "integrity": "sha512-S6S1GEzPjFF6IONYJX3AKt/799+8RgBgCcwRnUo+Ep1IvBxUbw5M51iU0TDdK2NWWVnSvCQ8yi6Em0fGASMOng==", + "cpu": [ + "arm64" + ], "dev": true, - "dependencies": { - "@babel/helper-module-transforms": "^7.22.5", - "@babel/helper-plugin-utils": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ] }, - "node_modules/@babel/plugin-transform-named-capturing-groups-regex": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.22.5.tgz", - "integrity": "sha512-YgLLKmS3aUBhHaxp5hi1WJTgOUb/NCuDHzGT9z9WTt3YG+CPRhJs6nprbStx6DnWM4dh6gt7SU3sZodbZ08adQ==", + "node_modules/@rollup/rollup-freebsd-x64": { + "version": "4.64.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.64.0.tgz", + "integrity": "sha512-Ed1DPoFENkXj4IGzSB12SesV40iP6LxCCrbTIkSGIQBpOOxpBM+0kj62lmaeIHfMWTDoddqTOtqc7s8LYfn+Pw==", + "cpu": [ + "x64" + ], "dev": true, - "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.22.5", - "@babel/helper-plugin-utils": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" - } + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ] }, - "node_modules/@babel/plugin-transform-new-target": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.22.5.tgz", - "integrity": "sha512-AsF7K0Fx/cNKVyk3a+DW0JLo+Ua598/NxMRvxDnkpCIGFh43+h/v2xyhRUYf6oD8gE4QtL83C7zZVghMjHd+iw==", + "node_modules/@rollup/rollup-linux-arm-gnueabihf": { + "version": "4.64.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.64.0.tgz", + "integrity": "sha512-J/6xhutJPtFyIkmHdf4olOdHHKH5kOJNumojdWn+Elv5ICEYTVOa362Vw27TxsK0BLzb1le3EDlO3UbvFK1lnQ==", + "cpu": [ + "arm" + ], "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] }, - "node_modules/@babel/plugin-transform-nullish-coalescing-operator": { - "version": "7.22.11", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-nullish-coalescing-operator/-/plugin-transform-nullish-coalescing-operator-7.22.11.tgz", - "integrity": "sha512-YZWOw4HxXrotb5xsjMJUDlLgcDXSfO9eCmdl1bgW4+/lAGdkjaEvOnQ4p5WKKdUgSzO39dgPl0pTnfxm0OAXcg==", + "node_modules/@rollup/rollup-linux-arm-musleabihf": { + "version": "4.64.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.64.0.tgz", + "integrity": "sha512-G4L/Nnx59d2LvDoV/P4S5lZ7oVLT6hodOHMacqjiq2LL2gts86KbkEBTYL53+fBt0odhf7XPIbIATGoYiJctxg==", + "cpu": [ + "arm" + ], "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5", - "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] }, - "node_modules/@babel/plugin-transform-numeric-separator": { - "version": "7.22.11", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-numeric-separator/-/plugin-transform-numeric-separator-7.22.11.tgz", - "integrity": "sha512-3dzU4QGPsILdJbASKhF/V2TVP+gJya1PsueQCxIPCEcerqF21oEcrob4mzjsp2Py/1nLfF5m+xYNMDpmA8vffg==", + "node_modules/@rollup/rollup-linux-arm64-gnu": { + "version": "4.64.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.64.0.tgz", + "integrity": "sha512-zF16pvJDEUksGYRbfnXne7pdklAyj2XDmJeYKgP93oq0cUyX9Y8O7lUo1R+IY1GagP/YBvCEDCe7eEcAKpw//g==", + "cpu": [ + "arm64" + ], "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5", - "@babel/plugin-syntax-numeric-separator": "^7.10.4" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] }, - "node_modules/@babel/plugin-transform-object-rest-spread": { - "version": "7.22.15", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-rest-spread/-/plugin-transform-object-rest-spread-7.22.15.tgz", - "integrity": "sha512-fEB+I1+gAmfAyxZcX1+ZUwLeAuuf8VIg67CTznZE0MqVFumWkh8xWtn58I4dxdVf080wn7gzWoF8vndOViJe9Q==", + "node_modules/@rollup/rollup-linux-arm64-musl": { + "version": "4.64.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.64.0.tgz", + "integrity": "sha512-nIggWn8n+w12+R5lsV+PYYoUY8vuObxPAQqJI7WES+9v0qspYuAHoZMfYM0yLxlipasT5BY9ht5W8t5c/rSCkg==", + "cpu": [ + "arm64" + ], "dev": true, - "dependencies": { - "@babel/compat-data": "^7.22.9", - "@babel/helper-compilation-targets": "^7.22.15", - "@babel/helper-plugin-utils": "^7.22.5", - "@babel/plugin-syntax-object-rest-spread": "^7.8.3", - "@babel/plugin-transform-parameters": "^7.22.15" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] }, - "node_modules/@babel/plugin-transform-object-super": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.22.5.tgz", - "integrity": "sha512-klXqyaT9trSjIUrcsYIfETAzmOEZL3cBYqOYLJxBHfMFFggmXOv+NYSX/Jbs9mzMVESw/WycLFPRx8ba/b2Ipw==", + "node_modules/@rollup/rollup-linux-loong64-gnu": { + "version": "4.64.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-gnu/-/rollup-linux-loong64-gnu-4.64.0.tgz", + "integrity": "sha512-WLOTiHPzszP0dxIMsHpFeDSOSB5I49Mj8K4+yKE3H1X/D0JRG5XZ5jrctJLMjnUc/LUzaKiwq6EHWNJ8pup8PA==", + "cpu": [ + "loong64" + ], "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5", - "@babel/helper-replace-supers": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] }, - "node_modules/@babel/plugin-transform-optional-catch-binding": { - "version": "7.22.11", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-optional-catch-binding/-/plugin-transform-optional-catch-binding-7.22.11.tgz", - "integrity": "sha512-rli0WxesXUeCJnMYhzAglEjLWVDF6ahb45HuprcmQuLidBJFWjNnOzssk2kuc6e33FlLaiZhG/kUIzUMWdBKaQ==", + "node_modules/@rollup/rollup-linux-loong64-musl": { + "version": "4.64.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-musl/-/rollup-linux-loong64-musl-4.64.0.tgz", + "integrity": "sha512-35RK9aRhh7g7Pmeu5gQ01aCvrhXzj9LoBE6xtUcEH1ns+nyTaSzxSpADmBQINu4QiTDGvmQYwo1j5hlg1rRXFw==", + "cpu": [ + "loong64" + ], "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5", - "@babel/plugin-syntax-optional-catch-binding": "^7.8.3" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-optional-chaining": { - "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-optional-chaining/-/plugin-transform-optional-chaining-7.23.0.tgz", - "integrity": "sha512-sBBGXbLJjxTzLBF5rFWaikMnOGOk/BmK6vVByIdEggZ7Vn6CvWXZyRkkLFK6WE0IF8jSliyOkUN6SScFgzCM0g==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5", - "@babel/helper-skip-transparent-expression-wrappers": "^7.22.5", - "@babel/plugin-syntax-optional-chaining": "^7.8.3" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-parameters": { - "version": "7.22.15", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.22.15.tgz", - "integrity": "sha512-hjk7qKIqhyzhhUvRT683TYQOFa/4cQKwQy7ALvTpODswN40MljzNDa0YldevS6tGbxwaEKVn502JmY0dP7qEtQ==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-private-methods": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-private-methods/-/plugin-transform-private-methods-7.22.5.tgz", - "integrity": "sha512-PPjh4gyrQnGe97JTalgRGMuU4icsZFnWkzicB/fUtzlKUqvsWBKEpPPfr5a2JiyirZkHxnAqkQMO5Z5B2kK3fA==", - "dev": true, - "dependencies": { - "@babel/helper-create-class-features-plugin": "^7.22.5", - "@babel/helper-plugin-utils": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-private-property-in-object": { - "version": "7.22.11", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-private-property-in-object/-/plugin-transform-private-property-in-object-7.22.11.tgz", - "integrity": "sha512-sSCbqZDBKHetvjSwpyWzhuHkmW5RummxJBVbYLkGkaiTOWGxml7SXt0iWa03bzxFIx7wOj3g/ILRd0RcJKBeSQ==", - "dev": true, - "dependencies": { - "@babel/helper-annotate-as-pure": "^7.22.5", - "@babel/helper-create-class-features-plugin": "^7.22.11", - "@babel/helper-plugin-utils": "^7.22.5", - "@babel/plugin-syntax-private-property-in-object": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-property-literals": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.22.5.tgz", - "integrity": "sha512-TiOArgddK3mK/x1Qwf5hay2pxI6wCZnvQqrFSqbtg1GLl2JcNMitVH/YnqjP+M31pLUeTfzY1HAXFDnUBV30rQ==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-regenerator": { - "version": "7.22.10", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.22.10.tgz", - "integrity": "sha512-F28b1mDt8KcT5bUyJc/U9nwzw6cV+UmTeRlXYIl2TNqMMJif0Jeey9/RQ3C4NOd2zp0/TRsDns9ttj2L523rsw==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5", - "regenerator-transform": "^0.15.2" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-reserved-words": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.22.5.tgz", - "integrity": "sha512-DTtGKFRQUDm8svigJzZHzb/2xatPc6TzNvAIJ5GqOKDsGFYgAskjRulbR/vGsPKq3OPqtexnz327qYpP57RFyA==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-shorthand-properties": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.22.5.tgz", - "integrity": "sha512-vM4fq9IXHscXVKzDv5itkO1X52SmdFBFcMIBZ2FRn2nqVYqw6dBexUgMvAjHW+KXpPPViD/Yo3GrDEBaRC0QYA==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-spread": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.22.5.tgz", - "integrity": "sha512-5ZzDQIGyvN4w8+dMmpohL6MBo+l2G7tfC/O2Dg7/hjpgeWvUx8FzfeOKxGog9IimPa4YekaQ9PlDqTLOljkcxg==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5", - "@babel/helper-skip-transparent-expression-wrappers": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-sticky-regex": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.22.5.tgz", - "integrity": "sha512-zf7LuNpHG0iEeiyCNwX4j3gDg1jgt1k3ZdXBKbZSoA3BbGQGvMiSvfbZRR3Dr3aeJe3ooWFZxOOG3IRStYp2Bw==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-template-literals": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.22.5.tgz", - "integrity": "sha512-5ciOehRNf+EyUeewo8NkbQiUs4d6ZxiHo6BcBcnFlgiJfu16q0bQUw9Jvo0b0gBKFG1SMhDSjeKXSYuJLeFSMA==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-typeof-symbol": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.22.5.tgz", - "integrity": "sha512-bYkI5lMzL4kPii4HHEEChkD0rkc+nvnlR6+o/qdqR6zrm0Sv/nodmyLhlq2DO0YKLUNd2VePmPRjJXSBh9OIdA==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-unicode-escapes": { - "version": "7.22.10", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.22.10.tgz", - "integrity": "sha512-lRfaRKGZCBqDlRU3UIFovdp9c9mEvlylmpod0/OatICsSfuQ9YFthRo1tpTkGsklEefZdqlEFdY4A2dwTb6ohg==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-unicode-property-regex": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-property-regex/-/plugin-transform-unicode-property-regex-7.22.5.tgz", - "integrity": "sha512-HCCIb+CbJIAE6sXn5CjFQXMwkCClcOfPCzTlilJ8cUatfzwHlWQkbtV0zD338u9dZskwvuOYTuuaMaA8J5EI5A==", - "dev": true, - "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.22.5", - "@babel/helper-plugin-utils": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-unicode-regex": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.22.5.tgz", - "integrity": "sha512-028laaOKptN5vHJf9/Arr/HiJekMd41hOEZYvNsrsXqJ7YPYuX2bQxh31fkZzGmq3YqHRJzYFFAVYvKfMPKqyg==", - "dev": true, - "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.22.5", - "@babel/helper-plugin-utils": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-unicode-sets-regex": { - "version": "7.22.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-sets-regex/-/plugin-transform-unicode-sets-regex-7.22.5.tgz", - "integrity": "sha512-lhMfi4FC15j13eKrh3DnYHjpGj6UKQHtNKTbtc1igvAhRy4+kLhV07OpLcsN0VgDEw/MjAvJO4BdMJsHwMhzCg==", - "dev": true, - "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.22.5", - "@babel/helper-plugin-utils": "^7.22.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" - } - }, - "node_modules/@babel/preset-env": { - "version": "7.23.2", - "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.23.2.tgz", - "integrity": "sha512-BW3gsuDD+rvHL2VO2SjAUNTBe5YrjsTiDyqamPDWY723na3/yPQ65X5oQkFVJZ0o50/2d+svm1rkPoJeR1KxVQ==", - "dev": true, - "dependencies": { - "@babel/compat-data": "^7.23.2", - "@babel/helper-compilation-targets": "^7.22.15", - "@babel/helper-plugin-utils": "^7.22.5", - "@babel/helper-validator-option": "^7.22.15", - "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "^7.22.15", - "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.22.15", - "@babel/plugin-proposal-private-property-in-object": "7.21.0-placeholder-for-preset-env.2", - "@babel/plugin-syntax-async-generators": "^7.8.4", - "@babel/plugin-syntax-class-properties": "^7.12.13", - "@babel/plugin-syntax-class-static-block": "^7.14.5", - "@babel/plugin-syntax-dynamic-import": "^7.8.3", - "@babel/plugin-syntax-export-namespace-from": "^7.8.3", - "@babel/plugin-syntax-import-assertions": "^7.22.5", - "@babel/plugin-syntax-import-attributes": "^7.22.5", - "@babel/plugin-syntax-import-meta": "^7.10.4", - "@babel/plugin-syntax-json-strings": "^7.8.3", - "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4", - "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3", - "@babel/plugin-syntax-numeric-separator": "^7.10.4", - "@babel/plugin-syntax-object-rest-spread": "^7.8.3", - "@babel/plugin-syntax-optional-catch-binding": "^7.8.3", - "@babel/plugin-syntax-optional-chaining": "^7.8.3", - "@babel/plugin-syntax-private-property-in-object": "^7.14.5", - "@babel/plugin-syntax-top-level-await": "^7.14.5", - "@babel/plugin-syntax-unicode-sets-regex": "^7.18.6", - "@babel/plugin-transform-arrow-functions": "^7.22.5", - "@babel/plugin-transform-async-generator-functions": "^7.23.2", - "@babel/plugin-transform-async-to-generator": "^7.22.5", - "@babel/plugin-transform-block-scoped-functions": "^7.22.5", - "@babel/plugin-transform-block-scoping": "^7.23.0", - "@babel/plugin-transform-class-properties": "^7.22.5", - "@babel/plugin-transform-class-static-block": "^7.22.11", - "@babel/plugin-transform-classes": "^7.22.15", - "@babel/plugin-transform-computed-properties": "^7.22.5", - "@babel/plugin-transform-destructuring": "^7.23.0", - "@babel/plugin-transform-dotall-regex": "^7.22.5", - "@babel/plugin-transform-duplicate-keys": "^7.22.5", - "@babel/plugin-transform-dynamic-import": "^7.22.11", - "@babel/plugin-transform-exponentiation-operator": "^7.22.5", - "@babel/plugin-transform-export-namespace-from": "^7.22.11", - "@babel/plugin-transform-for-of": "^7.22.15", - "@babel/plugin-transform-function-name": "^7.22.5", - "@babel/plugin-transform-json-strings": "^7.22.11", - "@babel/plugin-transform-literals": "^7.22.5", - "@babel/plugin-transform-logical-assignment-operators": "^7.22.11", - "@babel/plugin-transform-member-expression-literals": "^7.22.5", - "@babel/plugin-transform-modules-amd": "^7.23.0", - "@babel/plugin-transform-modules-commonjs": "^7.23.0", - "@babel/plugin-transform-modules-systemjs": "^7.23.0", - "@babel/plugin-transform-modules-umd": "^7.22.5", - "@babel/plugin-transform-named-capturing-groups-regex": "^7.22.5", - "@babel/plugin-transform-new-target": "^7.22.5", - "@babel/plugin-transform-nullish-coalescing-operator": "^7.22.11", - "@babel/plugin-transform-numeric-separator": "^7.22.11", - "@babel/plugin-transform-object-rest-spread": "^7.22.15", - "@babel/plugin-transform-object-super": "^7.22.5", - "@babel/plugin-transform-optional-catch-binding": "^7.22.11", - "@babel/plugin-transform-optional-chaining": "^7.23.0", - "@babel/plugin-transform-parameters": "^7.22.15", - "@babel/plugin-transform-private-methods": "^7.22.5", - "@babel/plugin-transform-private-property-in-object": "^7.22.11", - "@babel/plugin-transform-property-literals": "^7.22.5", - "@babel/plugin-transform-regenerator": "^7.22.10", - "@babel/plugin-transform-reserved-words": "^7.22.5", - "@babel/plugin-transform-shorthand-properties": "^7.22.5", - "@babel/plugin-transform-spread": "^7.22.5", - "@babel/plugin-transform-sticky-regex": "^7.22.5", - "@babel/plugin-transform-template-literals": "^7.22.5", - "@babel/plugin-transform-typeof-symbol": "^7.22.5", - "@babel/plugin-transform-unicode-escapes": "^7.22.10", - "@babel/plugin-transform-unicode-property-regex": "^7.22.5", - "@babel/plugin-transform-unicode-regex": "^7.22.5", - "@babel/plugin-transform-unicode-sets-regex": "^7.22.5", - "@babel/preset-modules": "0.1.6-no-external-plugins", - "@babel/types": "^7.23.0", - "babel-plugin-polyfill-corejs2": "^0.4.6", - "babel-plugin-polyfill-corejs3": "^0.8.5", - "babel-plugin-polyfill-regenerator": "^0.5.3", - "core-js-compat": "^3.31.0", - "semver": "^6.3.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/preset-modules": { - "version": "0.1.6-no-external-plugins", - "resolved": "https://registry.npmjs.org/@babel/preset-modules/-/preset-modules-0.1.6-no-external-plugins.tgz", - "integrity": "sha512-HrcgcIESLm9aIR842yhJ5RWan/gebQUJ6E/E5+rf0y9o6oj7w0Br+sWuL6kEQ/o/AdfvR1Je9jG18/gnpwjEyA==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.0.0", - "@babel/types": "^7.4.4", - "esutils": "^2.0.2" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0 || ^8.0.0-0 <8.0.0" - } - }, - "node_modules/@babel/regjsgen": { - "version": "0.8.0", - "resolved": "https://registry.npmjs.org/@babel/regjsgen/-/regjsgen-0.8.0.tgz", - "integrity": "sha512-x/rqGMdzj+fWZvCOYForTghzbtqPDZ5gPwaoNGHdgDfF2QA/XZbCBp4Moo5scrkAMPhB7z26XM/AaHuIJdgauA==", - "dev": true - }, - "node_modules/@babel/runtime": { - "version": "7.23.2", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.23.2.tgz", - "integrity": "sha512-mM8eg4yl5D6i3lu2QKPuPH4FArvJ8KhTofbE7jwMUv9KX5mBvwPAqnV3MlyBNqdp9RyRKP6Yck8TrfYrPvX3bg==", - "dev": true, - "dependencies": { - "regenerator-runtime": "^0.14.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/template": { - "version": "7.22.15", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.22.15.tgz", - "integrity": "sha512-QPErUVm4uyJa60rkI73qneDacvdvzxshT3kksGqlGWYdOTIUOwJ7RDUL8sGqslY1uXWSL6xMFKEXDS3ox2uF0w==", - "dev": true, - "dependencies": { - "@babel/code-frame": "^7.22.13", - "@babel/parser": "^7.22.15", - "@babel/types": "^7.22.15" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/traverse": { - "version": "7.23.2", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.23.2.tgz", - "integrity": "sha512-azpe59SQ48qG6nu2CzcMLbxUudtN+dOM9kDbUqGq3HXUJRlo7i8fvPoxQUzYgLZ4cMVmuZgm8vvBpNeRhd6XSw==", - "dev": true, - "dependencies": { - "@babel/code-frame": "^7.22.13", - "@babel/generator": "^7.23.0", - "@babel/helper-environment-visitor": "^7.22.20", - "@babel/helper-function-name": "^7.23.0", - "@babel/helper-hoist-variables": "^7.22.5", - "@babel/helper-split-export-declaration": "^7.22.6", - "@babel/parser": "^7.23.0", - "@babel/types": "^7.23.0", - "debug": "^4.1.0", - "globals": "^11.1.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/types": { - "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.23.0.tgz", - "integrity": "sha512-0oIyUfKoI3mSqMvsxBdclDwxXKXAUA8v/apZbc+iSyARYou1o8ZGDxbUYyLFoW2arqS2jDGqJuZvv1d/io1axg==", - "dev": true, - "dependencies": { - "@babel/helper-string-parser": "^7.22.5", - "@babel/helper-validator-identifier": "^7.22.20", - "to-fast-properties": "^2.0.0" - }, - "engines": { - "node": ">=6.9.0" - } + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] }, - "node_modules/@esbuild/linux-loong64": { - "version": "0.14.54", - "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.14.54.tgz", - "integrity": "sha512-bZBrLAIX1kpWelV0XemxBZllyRmM6vgFQQG2GdNb+r3Fkp0FOh1NJSvekXDs7jq70k4euu1cryLMfU+mTXlEpw==", + "node_modules/@rollup/rollup-linux-ppc64-gnu": { + "version": "4.64.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.64.0.tgz", + "integrity": "sha512-RqTfnpoTjuWfPAmqK5p2edt2AMCDJWm6oTn7sKfmyx+6tRga0ip05SJ977o6udTcIiDeF/CJMUfkaN4gtWt6Aw==", "cpu": [ - "loong64" + "ppc64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@eslint-community/eslint-utils": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz", - "integrity": "sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==", - "dev": true, - "dependencies": { - "eslint-visitor-keys": "^3.3.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "peerDependencies": { - "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0" - } - }, - "node_modules/@eslint-community/regexpp": { - "version": "4.10.0", - "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.10.0.tgz", - "integrity": "sha512-Cu96Sd2By9mCNTx2iyKOmq10v22jUVQv0lQnlGNy16oE9589yE+QADPbrMGCkA51cKZSg3Pu/aTJVTGfL/qjUA==", - "dev": true, - "engines": { - "node": "^12.0.0 || ^14.0.0 || >=16.0.0" - } - }, - "node_modules/@eslint/eslintrc": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.3.tgz", - "integrity": "sha512-yZzuIG+jnVu6hNSzFEN07e8BxF3uAzYtQb6uDkaYZLo6oYZDCq454c5kB8zxnzfCYyP4MIuyBn10L0DqwujTmA==", - "dev": true, - "dependencies": { - "ajv": "^6.12.4", - "debug": "^4.3.2", - "espree": "^9.6.0", - "globals": "^13.19.0", - "ignore": "^5.2.0", - "import-fresh": "^3.2.1", - "js-yaml": "^4.1.0", - "minimatch": "^3.1.2", - "strip-json-comments": "^3.1.1" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "url": "https://opencollective.com/eslint" - } - }, - "node_modules/@eslint/eslintrc/node_modules/argparse": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", - "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", - "dev": true - }, - "node_modules/@eslint/eslintrc/node_modules/globals": { - "version": "13.23.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-13.23.0.tgz", - "integrity": "sha512-XAmF0RjlrjY23MA51q3HltdlGxUpXPvg0GioKiD9X6HD28iMjo2dKC8Vqwm7lne4GNr78+RHTfliktR6ZH09wA==", - "dev": true, - "dependencies": { - "type-fest": "^0.20.2" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@eslint/eslintrc/node_modules/js-yaml": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", - "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", - "dev": true, - "dependencies": { - "argparse": "^2.0.1" - }, - "bin": { - "js-yaml": "bin/js-yaml.js" - } - }, - "node_modules/@eslint/eslintrc/node_modules/type-fest": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", - "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", - "dev": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@eslint/js": { - "version": "8.53.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.53.0.tgz", - "integrity": "sha512-Kn7K8dx/5U6+cT1yEhpX1w4PCSg0M+XyRILPgvwcEBjerFWCwQj5sbr3/VmxqV0JGHCBCzyd6LxypEuehypY1w==", - "dev": true, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - } - }, - "node_modules/@floating-ui/core": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/@floating-ui/core/-/core-1.5.0.tgz", - "integrity": "sha512-kK1h4m36DQ0UHGj5Ah4db7R0rHemTqqO0QLvUqi1/mUUp3LuAWbWxdxSIf/XsnH9VS6rRVPLJCncjRzUvyCLXg==", - "dependencies": { - "@floating-ui/utils": "^0.1.3" - } - }, - "node_modules/@floating-ui/dom": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.1.1.tgz", - "integrity": "sha512-TpIO93+DIujg3g7SykEAGZMDtbJRrmnYRCNYSjJlvIbGhBjRSNTLVbNeDQBrzy9qDgUbiWdc7KA0uZHZ2tJmiw==", - "dependencies": { - "@floating-ui/core": "^1.1.0" - } - }, - "node_modules/@floating-ui/utils": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/@floating-ui/utils/-/utils-0.1.6.tgz", - "integrity": "sha512-OfX7E2oUDYxtBvsuS4e/jSn4Q9Qb6DzgeYtsAdkPZ47znpoNsMgZw0+tVijiv3uGNR6dgNlty6r9rzIzHjtd/A==" - }, - "node_modules/@humanwhocodes/config-array": { - "version": "0.11.13", - "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.13.tgz", - "integrity": "sha512-JSBDMiDKSzQVngfRjOdFXgFfklaXI4K9nLF49Auh21lmBWRLIK3+xTErTWD4KU54pb6coM6ESE7Awz/FNU3zgQ==", - "dev": true, - "dependencies": { - "@humanwhocodes/object-schema": "^2.0.1", - "debug": "^4.1.1", - "minimatch": "^3.0.5" - }, - "engines": { - "node": ">=10.10.0" - } - }, - "node_modules/@humanwhocodes/module-importer": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz", - "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==", - "dev": true, - "engines": { - "node": ">=12.22" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/nzakas" - } - }, - "node_modules/@humanwhocodes/object-schema": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.1.tgz", - "integrity": "sha512-dvuCeX5fC9dXgJn9t+X5atfmgQAzUOWqS1254Gh0m6i8wKd10ebXkfNKiRK+1GWi/yTvvLDHpoxLr0xxxeslWw==", - "dev": true - }, - "node_modules/@jridgewell/gen-mapping": { - "version": "0.3.3", - "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz", - "integrity": "sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==", - "dev": true, - "dependencies": { - "@jridgewell/set-array": "^1.0.1", - "@jridgewell/sourcemap-codec": "^1.4.10", - "@jridgewell/trace-mapping": "^0.3.9" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@jridgewell/resolve-uri": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.1.tgz", - "integrity": "sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA==", - "dev": true, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@jridgewell/set-array": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.2.tgz", - "integrity": "sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==", - "dev": true, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@jridgewell/source-map": { - "version": "0.3.5", - "resolved": "https://registry.npmjs.org/@jridgewell/source-map/-/source-map-0.3.5.tgz", - "integrity": "sha512-UTYAUj/wviwdsMfzoSJspJxbkH5o1snzwX0//0ENX1u/55kkZZkcTZP6u9bwKGkv+dkk9at4m1Cpt0uY80kcpQ==", - "dev": true, - "dependencies": { - "@jridgewell/gen-mapping": "^0.3.0", - "@jridgewell/trace-mapping": "^0.3.9" - } - }, - "node_modules/@jridgewell/sourcemap-codec": { - "version": "1.4.15", - "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz", - "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==" - }, - "node_modules/@jridgewell/trace-mapping": { - "version": "0.3.20", - "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.20.tgz", - "integrity": "sha512-R8LcPeWZol2zR8mmH3JeKQ6QRCFb7XgUhV9ZlGhHLGyg4wpPiPZNQOOWhFZhxKw8u//yTbNGI42Bx/3paXEQ+Q==", - "dev": true, - "dependencies": { - "@jridgewell/resolve-uri": "^3.1.0", - "@jridgewell/sourcemap-codec": "^1.4.14" - } - }, - "node_modules/@nodelib/fs.scandir": { - "version": "2.1.5", - "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", - "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", - "dev": true, - "dependencies": { - "@nodelib/fs.stat": "2.0.5", - "run-parallel": "^1.1.9" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/@nodelib/fs.stat": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", - "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", - "dev": true, - "engines": { - "node": ">= 8" - } - }, - "node_modules/@nodelib/fs.walk": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", - "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", - "dev": true, - "dependencies": { - "@nodelib/fs.scandir": "2.1.5", - "fastq": "^1.6.0" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/@rollup/plugin-alias": { - "version": "3.1.9", - "resolved": "https://registry.npmjs.org/@rollup/plugin-alias/-/plugin-alias-3.1.9.tgz", - "integrity": "sha512-QI5fsEvm9bDzt32k39wpOwZhVzRcL5ydcffUHMyLVaVaLeC70I8TJZ17F1z1eMoLu4E/UOcH9BWVkKpIKdrfiw==", - "dev": true, - "dependencies": { - "slash": "^3.0.0" - }, - "engines": { - "node": ">=8.0.0" - }, - "peerDependencies": { - "rollup": "^1.20.0||^2.0.0" - } - }, - "node_modules/@rollup/plugin-babel": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/@rollup/plugin-babel/-/plugin-babel-5.3.1.tgz", - "integrity": "sha512-WFfdLWU/xVWKeRQnKmIAQULUI7Il0gZnBIH/ZFO069wYIfPu+8zrfp/KMW0atmELoRDq8FbiP3VCss9MhCut7Q==", - "dev": true, - "dependencies": { - "@babel/helper-module-imports": "^7.10.4", - "@rollup/pluginutils": "^3.1.0" - }, - "engines": { - "node": ">= 10.0.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0", - "@types/babel__core": "^7.1.9", - "rollup": "^1.20.0||^2.0.0" - }, - "peerDependenciesMeta": { - "@types/babel__core": { - "optional": true - } - } - }, - "node_modules/@rollup/plugin-commonjs": { - "version": "17.1.0", - "resolved": "https://registry.npmjs.org/@rollup/plugin-commonjs/-/plugin-commonjs-17.1.0.tgz", - "integrity": "sha512-PoMdXCw0ZyvjpCMT5aV4nkL0QywxP29sODQsSGeDpr/oI49Qq9tRtAsb/LbYbDzFlOydVEqHmmZWFtXJEAX9ew==", - "dev": true, - "dependencies": { - "@rollup/pluginutils": "^3.1.0", - "commondir": "^1.0.1", - "estree-walker": "^2.0.1", - "glob": "^7.1.6", - "is-reference": "^1.2.1", - "magic-string": "^0.25.7", - "resolve": "^1.17.0" - }, - "engines": { - "node": ">= 8.0.0" - }, - "peerDependencies": { - "rollup": "^2.30.0" - } - }, - "node_modules/@rollup/plugin-json": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/@rollup/plugin-json/-/plugin-json-4.1.0.tgz", - "integrity": "sha512-yfLbTdNS6amI/2OpmbiBoW12vngr5NW2jCJVZSBEz+H5KfUJZ2M7sDjk0U6GOOdCWFVScShte29o9NezJ53TPw==", - "dev": true, - "dependencies": { - "@rollup/pluginutils": "^3.0.8" - }, - "peerDependencies": { - "rollup": "^1.20.0 || ^2.0.0" - } + ] }, - "node_modules/@rollup/plugin-node-resolve": { - "version": "11.2.1", - "resolved": "https://registry.npmjs.org/@rollup/plugin-node-resolve/-/plugin-node-resolve-11.2.1.tgz", - "integrity": "sha512-yc2n43jcqVyGE2sqV5/YCmocy9ArjVAP/BeXyTtADTBBX6V0e5UMqwO8CdQ0kzjb6zu5P1qMzsScCMRvE9OlVg==", + "node_modules/@rollup/rollup-linux-ppc64-musl": { + "version": "4.64.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-musl/-/rollup-linux-ppc64-musl-4.64.0.tgz", + "integrity": "sha512-RQjZPigjxFvFZDijG6rjlSXxhRaTf9zLYVpGK+lVcga64oMqP1GbgVqCb46eHTTceSIgp89Ja0y5aPe3GFBYHg==", + "cpu": [ + "ppc64" + ], "dev": true, - "dependencies": { - "@rollup/pluginutils": "^3.1.0", - "@types/resolve": "1.17.1", - "builtin-modules": "^3.1.0", - "deepmerge": "^4.2.2", - "is-module": "^1.0.0", - "resolve": "^1.19.0" - }, - "engines": { - "node": ">= 10.0.0" - }, - "peerDependencies": { - "rollup": "^1.20.0||^2.0.0" - } + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] }, - "node_modules/@rollup/plugin-replace": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/@rollup/plugin-replace/-/plugin-replace-2.4.2.tgz", - "integrity": "sha512-IGcu+cydlUMZ5En85jxHH4qj2hta/11BHq95iHEyb2sbgiN0eCdzvUcHw5gt9pBL5lTi4JDYJ1acCoMGpTvEZg==", + "node_modules/@rollup/rollup-linux-riscv64-gnu": { + "version": "4.64.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.64.0.tgz", + "integrity": "sha512-tjL58mgQcTRnDRpeky+Sth1MKQeYi2Ct6r3Luq9E5aTSjnM/i/JbozqZkKqp9thM5+oDSZxo+05f9kdQedfTGA==", + "cpu": [ + "riscv64" + ], "dev": true, - "dependencies": { - "@rollup/pluginutils": "^3.1.0", - "magic-string": "^0.25.7" - }, - "peerDependencies": { - "rollup": "^1.20.0 || ^2.0.0" - } + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] }, - "node_modules/@rollup/pluginutils": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-3.1.0.tgz", - "integrity": "sha512-GksZ6pr6TpIjHm8h9lSQ8pi8BE9VeubNT0OMJ3B5uZJ8pz73NPiqOtCog/x2/QzM1ENChPKxMDhiQuRHsqc+lg==", + "node_modules/@rollup/rollup-linux-riscv64-musl": { + "version": "4.64.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.64.0.tgz", + "integrity": "sha512-ictoRyVaoZ8C67myHef+8hhCa6IplXJJ/xUCkVCxziV4zxMZh+jvhkhGsPBLqj1S72fnqD0QH5zL4lcaa4X7DQ==", + "cpu": [ + "riscv64" + ], "dev": true, - "dependencies": { - "@types/estree": "0.0.39", - "estree-walker": "^1.0.1", - "picomatch": "^2.2.2" - }, - "engines": { - "node": ">= 8.0.0" - }, - "peerDependencies": { - "rollup": "^1.20.0||^2.0.0" - } - }, - "node_modules/@rollup/pluginutils/node_modules/estree-walker": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-1.0.1.tgz", - "integrity": "sha512-1fMXF3YP4pZZVozF8j/ZLfvnR8NSIljt56UhbZ5PeeDmmGHpgpdwQt7ITlGvYaQukCvuBRMLEiKiYC+oeIg4cg==", - "dev": true - }, - "node_modules/@types/estree": { - "version": "0.0.39", - "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.39.tgz", - "integrity": "sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw==", - "dev": true - }, - "node_modules/@types/json-schema": { - "version": "7.0.14", - "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.14.tgz", - "integrity": "sha512-U3PUjAudAdJBeC2pgN8uTIKgxrb4nlDF3SF0++EldXQvQBGkpFZMSnwQiIoDU77tv45VgNkl/L4ouD+rEomujw==" + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] }, - "node_modules/@types/node": { - "version": "20.8.10", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.8.10.tgz", - "integrity": "sha512-TlgT8JntpcbmKUFzjhsyhGfP2fsiz1Mv56im6enJ905xG1DAYesxJaeSbGqQmAw8OWPdhyJGhGSQGKRNJ45u9w==", + "node_modules/@rollup/rollup-linux-s390x-gnu": { + "version": "4.64.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.64.0.tgz", + "integrity": "sha512-8aVvZ2hfr9RLFzBQkQNmYeHLDja8fLeQAmLt757zdKN/B+8L809KlLJKctQjS22wZotptV8G6o7fVPuAs8S1tQ==", + "cpu": [ + "s390x" + ], "dev": true, - "dependencies": { - "undici-types": "~5.26.4" - } + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] }, - "node_modules/@types/resolve": { - "version": "1.17.1", - "resolved": "https://registry.npmjs.org/@types/resolve/-/resolve-1.17.1.tgz", - "integrity": "sha512-yy7HuzQhj0dhGpD8RLXSZWEkLsV9ibvxvi6EiJ3bkqLAO1RGo0WbkWQiwpRlSFymTJRz0d3k5LM3kkx8ArDbLw==", + "node_modules/@rollup/rollup-linux-x64-gnu": { + "version": "4.64.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.64.0.tgz", + "integrity": "sha512-2dEF8GAcDKwshUfydD+GhosppNyBzhVUHkdFF3CXd3FpOkzj/RZzF5aoEtzklujklT5qFVRU2GK/cFeLaTNKVg==", + "cpu": [ + "x64" + ], "dev": true, - "dependencies": { - "@types/node": "*" - } - }, - "node_modules/@ungap/structured-clone": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.2.0.tgz", - "integrity": "sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==", - "dev": true - }, - "node_modules/@vee-validate/rules": { - "version": "4.11.8", - "resolved": "https://registry.npmjs.org/@vee-validate/rules/-/rules-4.11.8.tgz", - "integrity": "sha512-0qpYMCylja/bKe5VXBXLdCceJNz5PDcD1LN0ukh28MVWCDT/RE6d/laUE1LyXXwJwVTFLOvfz2ynoeatj+LLNg==", - "dependencies": { - "vee-validate": "4.11.8" - } + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] }, - "node_modules/@vitejs/plugin-vue": { - "version": "1.10.2", - "resolved": "https://registry.npmjs.org/@vitejs/plugin-vue/-/plugin-vue-1.10.2.tgz", - "integrity": "sha512-/QJ0Z9qfhAFtKRY+r57ziY4BSbGUTGsPRMpB/Ron3QPwBZM4OZAZHdTa4a8PafCwU5DTatXG8TMDoP8z+oDqJw==", + "node_modules/@rollup/rollup-linux-x64-musl": { + "version": "4.64.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.64.0.tgz", + "integrity": "sha512-3XHTvoo2hKkh0MiOfS7SkhHjMaaWF7P4F3drocZZaho/Z8w7h/jpnuBHm91BOQLfvrKHs1yR+zir4E8RI3XzTQ==", + "cpu": [ + "x64" + ], "dev": true, - "engines": { - "node": ">=12.0.0" - }, - "peerDependencies": { - "vite": "^2.5.10" - } + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] }, - "node_modules/@volar/language-core": { - "version": "1.10.10", - "resolved": "https://registry.npmjs.org/@volar/language-core/-/language-core-1.10.10.tgz", - "integrity": "sha512-nsV1o3AZ5n5jaEAObrS3MWLBWaGwUj/vAsc15FVNIv+DbpizQRISg9wzygsHBr56ELRH8r4K75vkYNMtsSNNWw==", + "node_modules/@rollup/rollup-openbsd-x64": { + "version": "4.64.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-openbsd-x64/-/rollup-openbsd-x64-4.64.0.tgz", + "integrity": "sha512-HKtkzodL4a3KFWDXDoO61cRynAWTR3LnAE0oGtfG9lcNFpNuVYUFOByxDgNqEvic9rvaQbAj+SFwTEWDptRaIw==", + "cpu": [ + "x64" + ], "dev": true, - "dependencies": { - "@volar/source-map": "1.10.10" - } + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ] }, - "node_modules/@volar/source-map": { - "version": "1.10.10", - "resolved": "https://registry.npmjs.org/@volar/source-map/-/source-map-1.10.10.tgz", - "integrity": "sha512-GVKjLnifV4voJ9F0vhP56p4+F3WGf+gXlRtjFZsv6v3WxBTWU3ZVeaRaEHJmWrcv5LXmoYYpk/SC25BKemPRkg==", + "node_modules/@rollup/rollup-openharmony-arm64": { + "version": "4.64.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-openharmony-arm64/-/rollup-openharmony-arm64-4.64.0.tgz", + "integrity": "sha512-JBsxqiY16uyyCujtoC3s7zL+SrYyNElptD7K4V+KUoJ2V8/XG3hPWpheK+SuPwNh1cikJvIZmIdsrYXvD6PLJw==", + "cpu": [ + "arm64" + ], "dev": true, - "dependencies": { - "muggle-string": "^0.3.1" - } + "license": "MIT", + "optional": true, + "os": [ + "openharmony" + ] }, - "node_modules/@volar/typescript": { - "version": "1.10.10", - "resolved": "https://registry.npmjs.org/@volar/typescript/-/typescript-1.10.10.tgz", - "integrity": "sha512-4a2r5bdUub2m+mYVnLu2wt59fuoYWe7nf0uXtGHU8QQ5LDNfzAR0wK7NgDiQ9rcl2WT3fxT2AA9AylAwFtj50A==", + "node_modules/@rollup/rollup-win32-arm64-msvc": { + "version": "4.64.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.64.0.tgz", + "integrity": "sha512-S5Qrijh37qhnUYQ0ay8WN3LuWeKjow7wTUyCOPMZtnXiBXYXdsZETI6ZLfYnQAKovltckPLBFdNeD61P2rJc7g==", + "cpu": [ + "arm64" + ], "dev": true, - "dependencies": { - "@volar/language-core": "1.10.10", - "path-browserify": "^1.0.1" - } - }, - "node_modules/@vue/compiler-core": { - "version": "3.3.7", - "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.3.7.tgz", - "integrity": "sha512-pACdY6YnTNVLXsB86YD8OF9ihwpolzhhtdLVHhBL6do/ykr6kKXNYABRtNMGrsQXpEXXyAdwvWWkuTbs4MFtPQ==", - "dependencies": { - "@babel/parser": "^7.23.0", - "@vue/shared": "3.3.7", - "estree-walker": "^2.0.2", - "source-map-js": "^1.0.2" - } - }, - "node_modules/@vue/compiler-dom": { - "version": "3.3.7", - "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.3.7.tgz", - "integrity": "sha512-0LwkyJjnUPssXv/d1vNJ0PKfBlDoQs7n81CbO6Q0zdL7H1EzqYRrTVXDqdBVqro0aJjo/FOa1qBAPVI4PGSHBw==", - "dependencies": { - "@vue/compiler-core": "3.3.7", - "@vue/shared": "3.3.7" - } - }, - "node_modules/@vue/compiler-sfc": { - "version": "3.3.7", - "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.3.7.tgz", - "integrity": "sha512-7pfldWy/J75U/ZyYIXRVqvLRw3vmfxDo2YLMwVtWVNew8Sm8d6wodM+OYFq4ll/UxfqVr0XKiVwti32PCrruAw==", - "dependencies": { - "@babel/parser": "^7.23.0", - "@vue/compiler-core": "3.3.7", - "@vue/compiler-dom": "3.3.7", - "@vue/compiler-ssr": "3.3.7", - "@vue/reactivity-transform": "3.3.7", - "@vue/shared": "3.3.7", - "estree-walker": "^2.0.2", - "magic-string": "^0.30.5", - "postcss": "^8.4.31", - "source-map-js": "^1.0.2" - } - }, - "node_modules/@vue/compiler-sfc/node_modules/magic-string": { - "version": "0.30.5", - "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.5.tgz", - "integrity": "sha512-7xlpfBaQaP/T6Vh8MO/EqXSW5En6INHEvEXQiuff7Gku0PWjU3uf6w/j9o7O+SpB5fOAkrI5HeoNgwjEO0pFsA==", - "dependencies": { - "@jridgewell/sourcemap-codec": "^1.4.15" - }, - "engines": { - "node": ">=12" - } + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] }, - "node_modules/@vue/compiler-ssr": { - "version": "3.3.7", - "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.3.7.tgz", - "integrity": "sha512-TxOfNVVeH3zgBc82kcUv+emNHo+vKnlRrkv8YvQU5+Y5LJGJwSNzcmLUoxD/dNzv0bhQ/F0s+InlgV0NrApJZg==", - "dependencies": { - "@vue/compiler-dom": "3.3.7", - "@vue/shared": "3.3.7" - } + "node_modules/@rollup/rollup-win32-ia32-msvc": { + "version": "4.64.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.64.0.tgz", + "integrity": "sha512-zbZ6iMmLFEsCtTdc2/y1F/cDFVNNCPF7Ae8PCT/wdPE//hGwYp6r+MyCLMFX+kOeIe09Pz6ASfnnfpSTN1FJQQ==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] }, - "node_modules/@vue/devtools-api": { - "version": "6.5.1", - "resolved": "https://registry.npmjs.org/@vue/devtools-api/-/devtools-api-6.5.1.tgz", - "integrity": "sha512-+KpckaAQyfbvshdDW5xQylLni1asvNSGme1JFs8I1+/H5pHEhqUKMEQD/qn3Nx5+/nycBq11qAEi8lk+LXI2dA==" + "node_modules/@rollup/rollup-win32-x64-gnu": { + "version": "4.64.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-gnu/-/rollup-win32-x64-gnu-4.64.0.tgz", + "integrity": "sha512-L6Hw69oNpuYaOr1zCG30v0/DqKYCSRwodPGwIcVZ/6f8SOzq9rxtL/xNVI5MO4wjli+Ko0ErK9uHJL3mNPt8wQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] }, - "node_modules/@vue/language-core": { - "version": "1.8.22", - "resolved": "https://registry.npmjs.org/@vue/language-core/-/language-core-1.8.22.tgz", - "integrity": "sha512-bsMoJzCrXZqGsxawtUea1cLjUT9dZnDsy5TuZ+l1fxRMzUGQUG9+Ypq4w//CqpWmrx7nIAJpw2JVF/t258miRw==", + "node_modules/@rollup/rollup-win32-x64-msvc": { + "version": "4.64.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.64.0.tgz", + "integrity": "sha512-nl+CTWIgOGszQmUz/kanfgrfFZ4qiwxKIfT/ryl3N3Ewk5tqizmYtNXiqb7Bu/fDtNgu1kyxdFiAUJNur3iysg==", + "cpu": [ + "x64" + ], "dev": true, - "dependencies": { - "@volar/language-core": "~1.10.5", - "@volar/source-map": "~1.10.5", - "@vue/compiler-dom": "^3.3.0", - "@vue/shared": "^3.3.0", - "computeds": "^0.0.1", - "minimatch": "^9.0.3", - "muggle-string": "^0.3.1", - "vue-template-compiler": "^2.7.14" - }, - "peerDependencies": { - "typescript": "*" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] }, - "node_modules/@vue/language-core/node_modules/brace-expansion": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "node_modules/@tailwindcss/node": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/@tailwindcss/node/-/node-4.3.3.tgz", + "integrity": "sha512-/T8IKEsf9VTU6tLjgC7+sv2mOPtQxzE2jMw7u4Tt40Tx+QSZxpzh95/H6cMKoja9XuW7iMdLJYBB0o9G1CaAgg==", "dev": true, + "license": "MIT", "dependencies": { - "balanced-match": "^1.0.0" + "@jridgewell/remapping": "^2.3.5", + "enhanced-resolve": "^5.24.1", + "jiti": "^2.7.0", + "lightningcss": "1.32.0", + "magic-string": "^0.30.21", + "source-map-js": "^1.2.1", + "tailwindcss": "4.3.3" } }, - "node_modules/@vue/language-core/node_modules/minimatch": { - "version": "9.0.3", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz", - "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==", + "node_modules/@tailwindcss/oxide": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide/-/oxide-4.3.3.tgz", + "integrity": "sha512-krXjAikiaFSPaK/FkAQT5UTx3VormQaiZ5hBFlJZ9UFQGB/rwg1MZIhHAG9smMQRTdyJxP6Qt5MwMtdyU5FWrA==", "dev": true, - "dependencies": { - "brace-expansion": "^2.0.1" - }, + "license": "MIT", "engines": { - "node": ">=16 || 14 >=14.17" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/@vue/reactivity": { - "version": "3.3.7", - "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.3.7.tgz", - "integrity": "sha512-cZNVjWiw00708WqT0zRpyAgduG79dScKEPYJXq2xj/aMtk3SKvL3FBt2QKUlh6EHBJ1m8RhBY+ikBUzwc7/khg==", - "dependencies": { - "@vue/shared": "3.3.7" - } - }, - "node_modules/@vue/reactivity-transform": { - "version": "3.3.7", - "resolved": "https://registry.npmjs.org/@vue/reactivity-transform/-/reactivity-transform-3.3.7.tgz", - "integrity": "sha512-APhRmLVbgE1VPGtoLQoWBJEaQk4V8JUsqrQihImVqKT+8U6Qi3t5ATcg4Y9wGAPb3kIhetpufyZ1RhwbZCIdDA==", - "dependencies": { - "@babel/parser": "^7.23.0", - "@vue/compiler-core": "3.3.7", - "@vue/shared": "3.3.7", - "estree-walker": "^2.0.2", - "magic-string": "^0.30.5" - } - }, - "node_modules/@vue/reactivity-transform/node_modules/magic-string": { - "version": "0.30.5", - "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.5.tgz", - "integrity": "sha512-7xlpfBaQaP/T6Vh8MO/EqXSW5En6INHEvEXQiuff7Gku0PWjU3uf6w/j9o7O+SpB5fOAkrI5HeoNgwjEO0pFsA==", - "dependencies": { - "@jridgewell/sourcemap-codec": "^1.4.15" + "node": ">= 20" }, + "optionalDependencies": { + "@tailwindcss/oxide-android-arm64": "4.3.3", + "@tailwindcss/oxide-darwin-arm64": "4.3.3", + "@tailwindcss/oxide-darwin-x64": "4.3.3", + "@tailwindcss/oxide-freebsd-x64": "4.3.3", + "@tailwindcss/oxide-linux-arm-gnueabihf": "4.3.3", + "@tailwindcss/oxide-linux-arm64-gnu": "4.3.3", + "@tailwindcss/oxide-linux-arm64-musl": "4.3.3", + "@tailwindcss/oxide-linux-x64-gnu": "4.3.3", + "@tailwindcss/oxide-linux-x64-musl": "4.3.3", + "@tailwindcss/oxide-wasm32-wasi": "4.3.3", + "@tailwindcss/oxide-win32-arm64-msvc": "4.3.3", + "@tailwindcss/oxide-win32-x64-msvc": "4.3.3" + } + }, + "node_modules/@tailwindcss/oxide-android-arm64": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-android-arm64/-/oxide-android-arm64-4.3.3.tgz", + "integrity": "sha512-Y85A2gmPSkl5Ve5qR86GL4HT509cFqQh1aes9p3sSkyTPwt0Pppf3GkwGe4JPACcRYjgJIEhQgM6dBClnr0NYw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], "engines": { - "node": ">=12" + "node": ">= 20" } }, - "node_modules/@vue/runtime-core": { - "version": "3.3.7", - "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.3.7.tgz", - "integrity": "sha512-LHq9du3ubLZFdK/BP0Ysy3zhHqRfBn80Uc+T5Hz3maFJBGhci1MafccnL3rpd5/3wVfRHAe6c+PnlO2PAavPTQ==", - "dependencies": { - "@vue/reactivity": "3.3.7", - "@vue/shared": "3.3.7" + "node_modules/@tailwindcss/oxide-darwin-arm64": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-darwin-arm64/-/oxide-darwin-arm64-4.3.3.tgz", + "integrity": "sha512-BiaWatpBcERQFDlOjRDpIVXuFK5PJez5SA4JMg6VYZdBYU+qKfV/vqjcIs+IYmtitf1xYQZTwXvU/8y4lfZUGw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 20" } }, - "node_modules/@vue/runtime-dom": { - "version": "3.3.7", - "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.3.7.tgz", - "integrity": "sha512-PFQU1oeJxikdDmrfoNQay5nD4tcPNYixUBruZzVX/l0eyZvFKElZUjW4KctCcs52nnpMGO6UDK+jF5oV4GT5Lw==", - "dependencies": { - "@vue/runtime-core": "3.3.7", - "@vue/shared": "3.3.7", - "csstype": "^3.1.2" + "node_modules/@tailwindcss/oxide-darwin-x64": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-darwin-x64/-/oxide-darwin-x64-4.3.3.tgz", + "integrity": "sha512-fAeUqfV5ndhxRwai8cXGzdLvul9utWOmeTkv69unv4ZXixjn61Z+p9lCWdwOwA3TYboG3BwdVuN/RDjhBRl0mw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 20" } }, - "node_modules/@vue/server-renderer": { - "version": "3.3.7", - "resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.3.7.tgz", - "integrity": "sha512-UlpKDInd1hIZiNuVVVvLgxpfnSouxKQOSE2bOfQpBuGwxRV/JqqTCyyjXUWiwtVMyeRaZhOYYqntxElk8FhBhw==", - "dependencies": { - "@vue/compiler-ssr": "3.3.7", - "@vue/shared": "3.3.7" - }, - "peerDependencies": { - "vue": "3.3.7" + "node_modules/@tailwindcss/oxide-freebsd-x64": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-freebsd-x64/-/oxide-freebsd-x64-4.3.3.tgz", + "integrity": "sha512-iyf5bV6+wnAlflVeEy7R25dupxTNECZN5QMI0qNT6eT+EgaGdZcKhGkr5SdoaWiLJ3spLqIY9VCeSGrwmtg4kw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">= 20" } }, - "node_modules/@vue/shared": { - "version": "3.3.7", - "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.3.7.tgz", - "integrity": "sha512-N/tbkINRUDExgcPTBvxNkvHGu504k8lzlNQRITVnm6YjOjwa4r0nnbd4Jb01sNpur5hAllyRJzSK5PvB9PPwRg==" - }, - "node_modules/acorn": { - "version": "8.11.2", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.2.tgz", - "integrity": "sha512-nc0Axzp/0FILLEVsm4fNwLCwMttvhEI263QtVPQcbpfZZ3ts0hLsZGOpE6czNlid7CJ9MlyH8reXkpsf3YUY4w==", + "node_modules/@tailwindcss/oxide-linux-arm-gnueabihf": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm-gnueabihf/-/oxide-linux-arm-gnueabihf-4.3.3.tgz", + "integrity": "sha512-aAYUprJAJQWWbRrPvtjdroZ56Md+JM8pMiopS6xGEwDfLhqj+2ver2p4nU4Mb3CRqcMmNBjo8KkUgcxhkzVQGQ==", + "cpu": [ + "arm" + ], "dev": true, - "bin": { - "acorn": "bin/acorn" - }, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], "engines": { - "node": ">=0.4.0" + "node": ">= 20" } }, - "node_modules/acorn-jsx": { - "version": "5.3.2", - "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", - "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", + "node_modules/@tailwindcss/oxide-linux-arm64-gnu": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm64-gnu/-/oxide-linux-arm64-gnu-4.3.3.tgz", + "integrity": "sha512-nDxldcEENOxZRzC2uu9jrutZdAAQtb+8WWDCSnWL1zvBk1+FN+x6MtDViPB5AJMfttVCUhehGWus3XBPgatM/w==", + "cpu": [ + "arm64" + ], "dev": true, - "peerDependencies": { - "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 20" } }, - "node_modules/ajv": { - "version": "6.12.6", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", - "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "node_modules/@tailwindcss/oxide-linux-arm64-musl": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-arm64-musl/-/oxide-linux-arm64-musl-4.3.3.tgz", + "integrity": "sha512-Md44bD6veX/PC5iyF8cDVnw4HBIANZepRZZ7a8DQOvkfo5WUBwcp6iAuCUz23u+4SUkhJlD3eL7hNdW8ezd/kA==", + "cpu": [ + "arm64" + ], "dev": true, - "dependencies": { - "fast-deep-equal": "^3.1.1", - "fast-json-stable-stringify": "^2.0.0", - "json-schema-traverse": "^0.4.1", - "uri-js": "^4.2.2" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/epoberezkin" + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 20" } }, - "node_modules/ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "node_modules/@tailwindcss/oxide-linux-x64-gnu": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-x64-gnu/-/oxide-linux-x64-gnu-4.3.3.tgz", + "integrity": "sha512-tx7us1muwOKAKWao2v/GaafFeQboE6aj88vC6ziN2NCGcRm8gWUhwjzg+YdVB1e4boAtdtma4L43onunI6NS4w==", + "cpu": [ + "x64" + ], "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], "engines": { - "node": ">=8" + "node": ">= 20" } }, - "node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "node_modules/@tailwindcss/oxide-linux-x64-musl": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-linux-x64-musl/-/oxide-linux-x64-musl-4.3.3.tgz", + "integrity": "sha512-SJxX60smvHgasZoBy11dX6YRjXJFovwWBoedhbQPOBzgFWBHGB+TVPWB9BxzR7TTxU8FQZAI2AyiNCMzFm8Img==", + "cpu": [ + "x64" + ], "dev": true, - "dependencies": { - "color-convert": "^1.9.0" - }, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], "engines": { - "node": ">=4" + "node": ">= 20" } }, - "node_modules/anymatch": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", - "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", + "node_modules/@tailwindcss/oxide-wasm32-wasi": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-wasm32-wasi/-/oxide-wasm32-wasi-4.3.3.tgz", + "integrity": "sha512-jx1+rPhY/5Ympkktd656HBWEBLxP7dH06losBLjjf5vgCODXvi9KhtftWcMIwTFIDqBr7cRnQkdLnAG+IOlGvQ==", + "bundleDependencies": [ + "@napi-rs/wasm-runtime", + "@emnapi/core", + "@emnapi/runtime", + "@tybys/wasm-util", + "@emnapi/wasi-threads", + "tslib" + ], + "cpu": [ + "wasm32" + ], "dev": true, + "license": "MIT", + "optional": true, "dependencies": { - "normalize-path": "^3.0.0", - "picomatch": "^2.0.4" + "@emnapi/core": "^1.11.1", + "@emnapi/runtime": "^1.11.1", + "@emnapi/wasi-threads": "^1.2.2", + "@napi-rs/wasm-runtime": "^1.1.4", + "@tybys/wasm-util": "^0.10.2", + "tslib": "^2.8.1" }, "engines": { - "node": ">= 8" - } - }, - "node_modules/argparse": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", - "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", - "dependencies": { - "sprintf-js": "~1.0.2" + "node": ">=14.0.0" } }, - "node_modules/babel-plugin-polyfill-corejs2": { - "version": "0.4.6", - "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.4.6.tgz", - "integrity": "sha512-jhHiWVZIlnPbEUKSSNb9YoWcQGdlTLq7z1GHL4AjFxaoOUMuuEVJ+Y4pAaQUGOGk93YsVCKPbqbfw3m0SM6H8Q==", + "node_modules/@tailwindcss/oxide-win32-arm64-msvc": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-win32-arm64-msvc/-/oxide-win32-arm64-msvc-4.3.3.tgz", + "integrity": "sha512-3rc292Ca2ceK6Ulcc/bAVnTs/3nDtoPhyEKlgPv+yQJQi/JS/AMJlqzxvlDacL1nekbrcf6bTqp/jV4qgnPxNQ==", + "cpu": [ + "arm64" + ], "dev": true, - "dependencies": { - "@babel/compat-data": "^7.22.6", - "@babel/helper-define-polyfill-provider": "^0.4.3", - "semver": "^6.3.1" - }, - "peerDependencies": { - "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0" + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 20" } }, - "node_modules/babel-plugin-polyfill-corejs3": { - "version": "0.8.6", - "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.8.6.tgz", - "integrity": "sha512-leDIc4l4tUgU7str5BWLS2h8q2N4Nf6lGZP6UrNDxdtfF2g69eJ5L0H7S8A5Ln/arfFAfHor5InAdZuIOwZdgQ==", + "node_modules/@tailwindcss/oxide-win32-x64-msvc": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/@tailwindcss/oxide-win32-x64-msvc/-/oxide-win32-x64-msvc-4.3.3.tgz", + "integrity": "sha512-yJ0pwIVc/nYeGoV02WtsN8KYyLQv7kyI2wDnkezyJlGGjkd4QLwDGAwl47YpPJeuI0M0ObaXGSPjvWDPeTPggw==", + "cpu": [ + "x64" + ], "dev": true, - "dependencies": { - "@babel/helper-define-polyfill-provider": "^0.4.3", - "core-js-compat": "^3.33.1" - }, - "peerDependencies": { - "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0" + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 20" } }, - "node_modules/babel-plugin-polyfill-regenerator": { - "version": "0.5.3", - "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.5.3.tgz", - "integrity": "sha512-8sHeDOmXC8csczMrYEOf0UTNa4yE2SxV5JGeT/LP1n0OYVDUUFPxG9vdk2AlDlIit4t+Kf0xCtpgXPBwnn/9pw==", + "node_modules/@tailwindcss/vite": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/@tailwindcss/vite/-/vite-4.3.3.tgz", + "integrity": "sha512-yYU8cogLeSh/ms2jh8Fj7jaba/EWa7Ja6GoUqYZaraEuCI5YS6ms6ObZgjjedm+jm6XZjdNRWBpPP6Z86oOxcw==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-define-polyfill-provider": "^0.4.3" + "@tailwindcss/node": "4.3.3", + "@tailwindcss/oxide": "4.3.3", + "tailwindcss": "4.3.3" }, "peerDependencies": { - "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0" + "vite": "^5.2.0 || ^6 || ^7 || ^8" } }, - "node_modules/balanced-match": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", - "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", - "dev": true - }, - "node_modules/binary-extensions": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", - "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", + "node_modules/@types/estree": { + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.9.tgz", + "integrity": "sha512-GhdPgy1el4/ImP05X05Uw4cw2/M93BCUmnEvWZNStlCzEKME4Fkk+YpoA5OiHNQmoS7Cafb8Xa3Pya8m1Qrzeg==", "dev": true, - "engines": { - "node": ">=8" - } + "license": "MIT" }, - "node_modules/boolbase": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz", - "integrity": "sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==", - "dev": true + "node_modules/@ungap/structured-clone": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.4.0.tgz", + "integrity": "sha512-1mEZtMKPM09vDmQt5y7YvmN2+DFTP7Tg0EWXdic8/C6VRnpb33e4ghisCIE3WZjsE2N8mf+QV1Zqh7ZFYLWInQ==", + "dev": true, + "license": "ISC" }, - "node_modules/brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "node_modules/@vee-validate/rules": { + "version": "4.15.1", + "resolved": "https://registry.npmjs.org/@vee-validate/rules/-/rules-4.15.1.tgz", + "integrity": "sha512-2TGXq2MYt21nT8ysuxyFY/LBVQDcMPKn1hY0w3uIDmG333vzBkOtXAylmvrS93AsJ7N5coHMJjcCGG4JxCO2hQ==", "dev": true, + "license": "MIT", "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" + "vee-validate": "4.15.1" } }, - "node_modules/braces": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", - "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "node_modules/@vitejs/plugin-vue": { + "version": "6.0.9", + "resolved": "https://registry.npmjs.org/@vitejs/plugin-vue/-/plugin-vue-6.0.9.tgz", + "integrity": "sha512-rD/MORlhaZMlXWW0rEn4FB4wMinWC0z/D7Ye160S5+Rs1mC8ZDAdcDp4SjKfUhG5t8q1ktcPVw4xuTkPRlzrSA==", "dev": true, + "license": "MIT", "dependencies": { - "fill-range": "^7.0.1" + "@rolldown/pluginutils": "^1.0.1" }, "engines": { - "node": ">=8" + "node": "^20.19.0 || >=22.12.0" + }, + "peerDependencies": { + "vite": "^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0", + "vue": "^3.2.25" } }, - "node_modules/browserslist": { - "version": "4.22.1", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.22.1.tgz", - "integrity": "sha512-FEVc202+2iuClEhZhrWy6ZiAcRLvNMyYcxZ8raemul1DYVOVdFsbqckWLdsixQZCpJlwe77Z3UTalE7jsjnKfQ==", + "node_modules/@vue/compiler-core": { + "version": "3.5.43", + "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.5.43.tgz", + "integrity": "sha512-zdiLhnbe1QQqgDT8xZMpNmyqZ3qlI+/Q/FHQco57Kwl/b05HhCzN6eVGN9QU9rbga4CrS0H5SYY8VGHZCt/1Hg==", "dev": true, - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/browserslist" - }, - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], + "license": "MIT", "dependencies": { - "caniuse-lite": "^1.0.30001541", - "electron-to-chromium": "^1.4.535", - "node-releases": "^2.0.13", - "update-browserslist-db": "^1.0.13" - }, - "bin": { - "browserslist": "cli.js" - }, - "engines": { - "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" + "@babel/parser": "^7.29.8", + "@vue/shared": "3.5.43", + "entities": "^7.0.1", + "estree-walker": "^2.0.2", + "source-map-js": "^1.2.1" } }, - "node_modules/buffer-from": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", - "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", - "dev": true - }, - "node_modules/builtin-modules": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-3.3.0.tgz", - "integrity": "sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw==", + "node_modules/@vue/compiler-core/node_modules/entities": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/entities/-/entities-7.0.1.tgz", + "integrity": "sha512-TWrgLOFUQTH994YUyl1yT4uyavY5nNB5muff+RtWaqNVCAK408b5ZnnbNAUEWLTCpum9w6arT70i1XdQ4UeOPA==", "dev": true, + "license": "BSD-2-Clause", "engines": { - "node": ">=6" + "node": ">=0.12" }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/bulma": { - "version": "0.9.4", - "resolved": "https://registry.npmjs.org/bulma/-/bulma-0.9.4.tgz", - "integrity": "sha512-86FlT5+1GrsgKbPLRRY7cGDg8fsJiP/jzTqXXVqiUZZ2aZT8uemEOHlU1CDU+TxklPEZ11HZNNWclRBBecP4CQ==" - }, - "node_modules/bulma-checkradio": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/bulma-checkradio/-/bulma-checkradio-2.1.3.tgz", - "integrity": "sha512-8OmZ7PURyftNLGXSTNAYNTJHIe0OkoH/8z9iWfSXGxiv3AlrKneMtiVpBKofXsvc9ZHBUI1YjefiW5WFhgFgAQ==", - "dependencies": { - "bulma": "^0.9.3" + "url": "https://github.com/fb55/entities?sponsor=1" } }, - "node_modules/bulma-switch": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/bulma-switch/-/bulma-switch-2.0.4.tgz", - "integrity": "sha512-kMu4H0Pr0VjvfsnT6viRDCgptUq0Rvy7y7PX6q+IHg1xUynsjszPjhAdal5ysAlCG5HNO+5YXxeiu92qYGQolw==" - }, - "node_modules/bulma-tooltip": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/bulma-tooltip/-/bulma-tooltip-3.0.2.tgz", - "integrity": "sha512-CsT3APjhlZScskFg38n8HYL8oYNUHQtcu4sz6ERarxkUpBRbk9v0h/5KAvXeKapVSn2dp9l7bOGit5SECP8EWQ==" - }, - "node_modules/callsites": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", - "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", + "node_modules/@vue/compiler-dom": { + "version": "3.5.43", + "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.5.43.tgz", + "integrity": "sha512-PEZoAk3NQmsn/ejMzSOCyTYqwGqczrWm70PuhBKjjv1+TCoQAaO/zOqNwjV+honlNstT5ILxtc+8r8UUfj+iEQ==", "dev": true, - "engines": { - "node": ">=6" + "license": "MIT", + "dependencies": { + "@vue/compiler-core": "3.5.43", + "@vue/shared": "3.5.43" } }, - "node_modules/caniuse-lite": { - "version": "1.0.30001690", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001690.tgz", - "integrity": "sha512-5ExiE3qQN6oF8Clf8ifIDcMRCRE/dMGcETG/XGMD8/XiXm6HXQgQTh1yZYLXXpSOsEUlJm1Xr7kGULZTuGtP/w==", - "dev": true, - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/caniuse-lite" - }, - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], - "license": "CC-BY-4.0" - }, - "node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "node_modules/@vue/compiler-sfc": { + "version": "3.5.43", + "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.5.43.tgz", + "integrity": "sha512-FCbrG3XNCRl+js3huuKx4IVHBLTvMkJhVepjbxSPu1gn4yWLaYtGNQdjJGZaMytXB6qb76qQDDmDSLy/vkmleQ==", "dev": true, + "license": "MIT", "dependencies": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "engines": { - "node": ">=4" + "@babel/parser": "^7.29.8", + "@vue/compiler-core": "3.5.43", + "@vue/compiler-dom": "3.5.43", + "@vue/compiler-ssr": "3.5.43", + "@vue/shared": "3.5.43", + "estree-walker": "^2.0.2", + "magic-string": "^0.30.21", + "postcss": "^8.5.28", + "source-map-js": "^1.2.1" } }, - "node_modules/chokidar": { - "version": "3.5.3", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", - "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", + "node_modules/@vue/compiler-ssr": { + "version": "3.5.43", + "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.5.43.tgz", + "integrity": "sha512-GF62orf7KiJX9RqrHNGrYBudsQGD0OhJ5nDs90O8UiDuS40+YMYomiXu6w6EuvtXuRDc3MSNis3EaaSKAVSWpg==", "dev": true, - "funding": [ - { - "type": "individual", - "url": "https://paulmillr.com/funding/" - } - ], + "license": "MIT", "dependencies": { - "anymatch": "~3.1.2", - "braces": "~3.0.2", - "glob-parent": "~5.1.2", - "is-binary-path": "~2.1.0", - "is-glob": "~4.0.1", - "normalize-path": "~3.0.0", - "readdirp": "~3.6.0" - }, - "engines": { - "node": ">= 8.10.0" - }, - "optionalDependencies": { - "fsevents": "~2.3.2" + "@vue/compiler-dom": "3.5.43", + "@vue/shared": "3.5.43" } }, - "node_modules/chokidar/node_modules/glob-parent": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", - "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "node_modules/@vue/devtools-api": { + "version": "7.7.10", + "resolved": "https://registry.npmjs.org/@vue/devtools-api/-/devtools-api-7.7.10.tgz", + "integrity": "sha512-KxtEpUOOpFz/qOGRrAwA36QF7DqIA+FXgCYit9mk9wjbaZt0sXOFz81ElOZtKA4HbWHUdwNjZHBFsFFyp5BZiA==", "dev": true, + "license": "MIT", "dependencies": { - "is-glob": "^4.0.1" - }, - "engines": { - "node": ">= 6" + "@vue/devtools-kit": "^7.7.10" } }, - "node_modules/color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "node_modules/@vue/devtools-kit": { + "version": "7.7.10", + "resolved": "https://registry.npmjs.org/@vue/devtools-kit/-/devtools-kit-7.7.10.tgz", + "integrity": "sha512-3WNi2Kq4tbpVbmhml7RiphmAt0279oh3fKNeWMQIrltfX8Q91b4i5PL8DtyNKdwmcsGrV4fg+erwWOmD05CLIw==", "dev": true, + "license": "MIT", "dependencies": { - "color-name": "1.1.3" + "@vue/devtools-shared": "^7.7.10", + "birpc": "^2.3.0", + "hookable": "^5.5.3", + "mitt": "^3.0.1", + "perfect-debounce": "^1.0.0", + "speakingurl": "^14.0.1", + "superjson": "^2.2.2" } }, - "node_modules/color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", - "dev": true - }, - "node_modules/commander": { - "version": "2.20.3", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", - "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", - "dev": true - }, - "node_modules/commondir": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz", - "integrity": "sha512-W9pAhw0ja1Edb5GVdIF1mjZw/ASI0AlShXM83UUGe2DVr5TdAPEA1OA8m/g8zWp9x6On7gqufY+FatDbC3MDQg==", - "dev": true - }, - "node_modules/computeds": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/computeds/-/computeds-0.0.1.tgz", - "integrity": "sha512-7CEBgcMjVmitjYo5q8JTJVra6X5mQ20uTThdK+0kR7UEaDrAWEQcRiBtWJzga4eRpP6afNwwLsX2SET2JhVB1Q==", - "dev": true - }, - "node_modules/concat-map": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", - "dev": true - }, - "node_modules/convert-source-map": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", - "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", - "dev": true - }, - "node_modules/core-js-compat": { - "version": "3.33.2", - "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.33.2.tgz", - "integrity": "sha512-axfo+wxFVxnqf8RvxTzoAlzW4gRoacrHeoFlc9n0x50+7BEyZL/Rt3hicaED1/CEd7I6tPCPVUYcJwCMO5XUYw==", + "node_modules/@vue/devtools-shared": { + "version": "7.7.10", + "resolved": "https://registry.npmjs.org/@vue/devtools-shared/-/devtools-shared-7.7.10.tgz", + "integrity": "sha512-wOPslzB8vTvpxwdaOcR2qAbwmuSP0L+rhpoC6Cf56V3Jip+HWb7PQQXOUPgBNQARpXsbQX/+mvi8kKucmBGRwQ==", "dev": true, + "license": "MIT", "dependencies": { - "browserslist": "^4.22.1" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/core-js" + "rfdc": "^1.4.1" } }, - "node_modules/cross-env": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/cross-env/-/cross-env-7.0.3.tgz", - "integrity": "sha512-+/HKd6EgcQCJGh2PSjZuUitQBQynKor4wrFbRg4DtAgS1aWO+gU52xpH7M9ScGgXSYmAVS9bIJ8EzuaGw0oNAw==", + "node_modules/@vue/reactivity": { + "version": "3.5.43", + "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.5.43.tgz", + "integrity": "sha512-G/c9GyOZNI2jVaaS6OX1EF1SSFSv7H0ERqNTl4+DTFMlZmB5eVAB53aLQNam/7NL2NPtaDD7RdVrzf8uJzMuOA==", "dev": true, + "license": "MIT", "dependencies": { - "cross-spawn": "^7.0.1" - }, - "bin": { - "cross-env": "src/bin/cross-env.js", - "cross-env-shell": "src/bin/cross-env-shell.js" - }, - "engines": { - "node": ">=10.14", - "npm": ">=6", - "yarn": ">=1" + "@vue/shared": "3.5.43" } }, - "node_modules/cross-spawn": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", - "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "node_modules/@vue/runtime-core": { + "version": "3.5.43", + "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.5.43.tgz", + "integrity": "sha512-hU6U6VnVhBGQDpvlnnDlIB8ZGJBiOcgk2lh/0InltHiz3D8oSkluvuvY+do1G2H3+udeKFsmaBlgVYP7gXQzEw==", "dev": true, + "license": "MIT", "dependencies": { - "path-key": "^3.1.0", - "shebang-command": "^2.0.0", - "which": "^2.0.1" - }, - "engines": { - "node": ">= 8" + "@vue/reactivity": "3.5.43", + "@vue/shared": "3.5.43" } }, - "node_modules/cssesc": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz", - "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==", + "node_modules/@vue/runtime-dom": { + "version": "3.5.43", + "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.5.43.tgz", + "integrity": "sha512-Bb2Jc0YjjJdMt1SJmb9b2L/IWd3I8lIT9x9eS/xvvP9CiVgna0ffua74xKRmt4/uSJ+0r4iN8ex1jrqkhQGWQw==", "dev": true, - "bin": { - "cssesc": "bin/cssesc" - }, - "engines": { - "node": ">=4" + "license": "MIT", + "dependencies": { + "@vue/reactivity": "3.5.43", + "@vue/runtime-core": "3.5.43", + "@vue/shared": "3.5.43", + "csstype": "^3.2.3" } }, - "node_modules/csstype": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.2.tgz", - "integrity": "sha512-I7K1Uu0MBPzaFKg4nI5Q7Vs2t+3gWWW648spaF+Rg7pI9ds18Ugn+lvg4SHczUdKlHI5LWBXyqfS8+DufyBsgQ==" - }, - "node_modules/de-indent": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/de-indent/-/de-indent-1.0.2.tgz", - "integrity": "sha512-e/1zu3xH5MQryN2zdVaF0OrdNLUbvWxzMbi+iNA6Bky7l1RoP8a2fIbRocyHclXt/arDrrR6lL3TqFD9pMQTsg==", - "dev": true - }, - "node_modules/debug": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", - "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "node_modules/@vue/server-renderer": { + "version": "3.5.43", + "resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.5.43.tgz", + "integrity": "sha512-l2Ygjv9NehV94PSBxNWsAHC0j/eIIKbn92mBuWXAPGLnn6HfJ6MH5ubsd+Nk0YoZ5FRuxWI1P2VSoh+dbPQhCQ==", "dev": true, + "license": "MIT", "dependencies": { - "ms": "2.1.2" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } + "@vue/compiler-ssr": "3.5.43", + "@vue/runtime-dom": "3.5.43", + "@vue/shared": "3.5.43" } }, - "node_modules/deep-is": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", - "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", - "dev": true + "node_modules/@vue/shared": { + "version": "3.5.43", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.5.43.tgz", + "integrity": "sha512-uksS7YGMR5NZyr4JNq0Rp+QyLns0ueaz20KwzIPW9R0LH1Vnt4E+XUM29PNseEbf1www2gOuhuDi5AKOIXag9Q==", + "dev": true, + "license": "MIT" }, - "node_modules/deepmerge": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.3.1.tgz", - "integrity": "sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==", + "node_modules/acorn": { + "version": "8.19.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.19.0.tgz", + "integrity": "sha512-oJlA3XiRm7Cyk6qFD2Jn8ak9B7jSy0qy00ADO3+8dpT0LSjFihQYv4C02LFCSYJV3Q37xYwwRy5m+IpIiUzqWw==", "dev": true, + "license": "MIT", + "bin": { + "acorn": "bin/acorn" + }, "engines": { - "node": ">=0.10.0" + "node": ">=0.4.0" } }, - "node_modules/doctrine": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", - "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", + "node_modules/acorn-jsx": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", + "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", "dev": true, - "dependencies": { - "esutils": "^2.0.2" - }, - "engines": { - "node": ">=6.0.0" + "license": "MIT", + "peerDependencies": { + "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" } }, - "node_modules/dom-serializer": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-1.4.1.tgz", - "integrity": "sha512-VHwB3KfrcOOkelEG2ZOfxqLZdfkil8PtJi4P8N2MMXucZq2yLp75ClViUlOVwyoHEDjYU433Aq+5zWP61+RGag==", + "node_modules/ajv": { + "version": "8.20.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.20.0.tgz", + "integrity": "sha512-Thbli+OlOj+iMPYFBVBfJ3OmCAnaSyNn4M1vz9T6Gka5Jt9ba/HIR56joy65tY6kx/FCF5VXNB819Y7/GUrBGA==", "dev": true, + "license": "MIT", "dependencies": { - "domelementtype": "^2.0.1", - "domhandler": "^4.2.0", - "entities": "^2.0.0" + "fast-deep-equal": "^3.1.3", + "fast-uri": "^3.0.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2" }, "funding": { - "url": "https://github.com/cheeriojs/dom-serializer?sponsor=1" + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" } }, - "node_modules/dom-serializer/node_modules/entities": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/entities/-/entities-2.2.0.tgz", - "integrity": "sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A==", + "node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", "dev": true, - "funding": { - "url": "https://github.com/fb55/entities?sponsor=1" + "license": "MIT", + "engines": { + "node": ">=8" } }, - "node_modules/domelementtype": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.3.0.tgz", - "integrity": "sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/fb55" - } - ] - }, - "node_modules/domhandler": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-4.3.1.tgz", - "integrity": "sha512-GrwoxYN+uWlzO8uhUXRl0P+kHE4GtVPfYzVLcUxPL7KNdHKj66vvlhiweIHqYYXWlw+T8iLMp42Lm67ghw4WMQ==", + "node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dev": true, + "license": "MIT", "dependencies": { - "domelementtype": "^2.2.0" + "color-convert": "^2.0.1" }, "engines": { - "node": ">= 4" + "node": ">=8" }, "funding": { - "url": "https://github.com/fb55/domhandler?sponsor=1" + "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, - "node_modules/domutils": { - "version": "2.8.0", - "resolved": "https://registry.npmjs.org/domutils/-/domutils-2.8.0.tgz", - "integrity": "sha512-w96Cjofp72M5IIhpjgobBimYEfoPjx1Vx0BSX9P30WBdZW2WIKU0T1Bd0kz2eNZ9ikjKgHbEyKx8BB6H1L3h3A==", + "node_modules/argparse": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", + "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", "dev": true, + "license": "MIT", "dependencies": { - "dom-serializer": "^1.0.1", - "domelementtype": "^2.2.0", - "domhandler": "^4.2.0" - }, - "funding": { - "url": "https://github.com/fb55/domutils?sponsor=1" + "sprintf-js": "~1.0.2" } }, - "node_modules/electron-to-chromium": { - "version": "1.4.576", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.576.tgz", - "integrity": "sha512-yXsZyXJfAqzWk1WKryr0Wl0MN2D47xodPvEEwlVePBnhU5E7raevLQR+E6b9JAD3GfL/7MbAL9ZtWQQPcLx7wA==", - "dev": true + "node_modules/balanced-match": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", + "dev": true, + "license": "MIT" }, - "node_modules/entities": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/entities/-/entities-3.0.1.tgz", - "integrity": "sha512-WiyBqoomrwMdFG1e0kqvASYfnlb0lp8M5o5Fw2OFq1hNZxxcNk8Ik0Xm7LxzBhuidnZB/UtBqVCgUz3kBOP51Q==", + "node_modules/birpc": { + "version": "2.9.0", + "resolved": "https://registry.npmjs.org/birpc/-/birpc-2.9.0.tgz", + "integrity": "sha512-KrayHS5pBi69Xi9JmvoqrIgYGDkD6mcSe/i6YKi3w5kekCLzrX4+nawcXqrj2tIp50Kw/mT/s3p+GVK0A0sKxw==", "dev": true, - "engines": { - "node": ">=0.12" - }, + "license": "MIT", "funding": { - "url": "https://github.com/fb55/entities?sponsor=1" + "url": "https://github.com/sponsors/antfu" } }, - "node_modules/esbuild": { - "version": "0.14.54", - "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.14.54.tgz", - "integrity": "sha512-Cy9llcy8DvET5uznocPyqL3BFRrFXSVqbgpMJ9Wz8oVjZlh/zUSNbPRbov0VX7VxN2JH1Oa0uNxZ7eLRb62pJA==", + "node_modules/boolbase": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz", + "integrity": "sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==", "dev": true, - "hasInstallScript": true, - "bin": { - "esbuild": "bin/esbuild" - }, - "engines": { - "node": ">=12" - }, - "optionalDependencies": { - "@esbuild/linux-loong64": "0.14.54", - "esbuild-android-64": "0.14.54", - "esbuild-android-arm64": "0.14.54", - "esbuild-darwin-64": "0.14.54", - "esbuild-darwin-arm64": "0.14.54", - "esbuild-freebsd-64": "0.14.54", - "esbuild-freebsd-arm64": "0.14.54", - "esbuild-linux-32": "0.14.54", - "esbuild-linux-64": "0.14.54", - "esbuild-linux-arm": "0.14.54", - "esbuild-linux-arm64": "0.14.54", - "esbuild-linux-mips64le": "0.14.54", - "esbuild-linux-ppc64le": "0.14.54", - "esbuild-linux-riscv64": "0.14.54", - "esbuild-linux-s390x": "0.14.54", - "esbuild-netbsd-64": "0.14.54", - "esbuild-openbsd-64": "0.14.54", - "esbuild-sunos-64": "0.14.54", - "esbuild-windows-32": "0.14.54", - "esbuild-windows-64": "0.14.54", - "esbuild-windows-arm64": "0.14.54" - } - }, - "node_modules/esbuild-android-64": { - "version": "0.14.54", - "resolved": "https://registry.npmjs.org/esbuild-android-64/-/esbuild-android-64-0.14.54.tgz", - "integrity": "sha512-Tz2++Aqqz0rJ7kYBfz+iqyE3QMycD4vk7LBRyWaAVFgFtQ/O8EJOnVmTOiDWYZ/uYzB4kvP+bqejYdVKzE5lAQ==", - "cpu": [ - "x64" - ], + "license": "ISC" + }, + "node_modules/brace-expansion": { + "version": "1.1.21", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.21.tgz", + "integrity": "sha512-9zeA+KLZNNzglF2TPKRQEDyx6Yby7daAkuy8MiPzpXPsYDWi/DRM8jmwUDxokQjYqBpv5DgPiwD4h4ZZSy1Ujw==", "dev": true, - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">=12" + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" } }, - "node_modules/esbuild-android-arm64": { - "version": "0.14.54", - "resolved": "https://registry.npmjs.org/esbuild-android-arm64/-/esbuild-android-arm64-0.14.54.tgz", - "integrity": "sha512-F9E+/QDi9sSkLaClO8SOV6etqPd+5DgJje1F9lOWoNncDdOBL2YF59IhsWATSt0TLZbYCf3pNlTHvVV5VfHdvg==", - "cpu": [ - "arm64" - ], + "node_modules/callsites": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", + "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", "dev": true, - "optional": true, - "os": [ - "android" - ], + "license": "MIT", "engines": { - "node": ">=12" + "node": ">=6" } }, - "node_modules/esbuild-darwin-64": { - "version": "0.14.54", - "resolved": "https://registry.npmjs.org/esbuild-darwin-64/-/esbuild-darwin-64-0.14.54.tgz", - "integrity": "sha512-jtdKWV3nBviOd5v4hOpkVmpxsBy90CGzebpbO9beiqUYVMBtSc0AL9zGftFuBon7PNDcdvNCEuQqw2x0wP9yug==", - "cpu": [ - "x64" - ], + "node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "dev": true, - "optional": true, - "os": [ - "darwin" - ], + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, "engines": { - "node": ">=12" + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" } }, - "node_modules/esbuild-darwin-arm64": { - "version": "0.14.54", - "resolved": "https://registry.npmjs.org/esbuild-darwin-arm64/-/esbuild-darwin-arm64-0.14.54.tgz", - "integrity": "sha512-OPafJHD2oUPyvJMrsCvDGkRrVCar5aVyHfWGQzY1dWnzErjrDuSETxwA2HSsyg2jORLY8yBfzc1MIpUkXlctmw==", - "cpu": [ - "arm64" - ], + "node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "dev": true, - "optional": true, - "os": [ - "darwin" - ], + "license": "MIT", + "dependencies": { + "color-name": "~1.1.4" + }, "engines": { - "node": ">=12" + "node": ">=7.0.0" } }, - "node_modules/esbuild-freebsd-64": { - "version": "0.14.54", - "resolved": "https://registry.npmjs.org/esbuild-freebsd-64/-/esbuild-freebsd-64-0.14.54.tgz", - "integrity": "sha512-OKwd4gmwHqOTp4mOGZKe/XUlbDJ4Q9TjX0hMPIDBUWWu/kwhBAudJdBoxnjNf9ocIB6GN6CPowYpR/hRCbSYAg==", - "cpu": [ - "x64" - ], + "node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", "dev": true, - "optional": true, - "os": [ - "freebsd" - ], - "engines": { - "node": ">=12" - } + "license": "MIT" }, - "node_modules/esbuild-freebsd-arm64": { - "version": "0.14.54", - "resolved": "https://registry.npmjs.org/esbuild-freebsd-arm64/-/esbuild-freebsd-arm64-0.14.54.tgz", - "integrity": "sha512-sFwueGr7OvIFiQT6WeG0jRLjkjdqWWSrfbVwZp8iMP+8UHEHRBvlaxL6IuKNDwAozNUmbb8nIMXa7oAOARGs1Q==", - "cpu": [ - "arm64" - ], + "node_modules/concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", "dev": true, - "optional": true, - "os": [ - "freebsd" - ], - "engines": { - "node": ">=12" - } + "license": "MIT" }, - "node_modules/esbuild-linux-32": { - "version": "0.14.54", - "resolved": "https://registry.npmjs.org/esbuild-linux-32/-/esbuild-linux-32-0.14.54.tgz", - "integrity": "sha512-1ZuY+JDI//WmklKlBgJnglpUL1owm2OX+8E1syCD6UAxcMM/XoWd76OHSjl/0MR0LisSAXDqgjT3uJqT67O3qw==", - "cpu": [ - "ia32" - ], + "node_modules/copy-anything": { + "version": "4.1.5", + "resolved": "https://registry.npmjs.org/copy-anything/-/copy-anything-4.1.5.tgz", + "integrity": "sha512-vePst2VLTSqPglW7Q98VwFpGiGpOHTyXIo81MO5VyLecA5zMbZw/P/V1vmwD1jksa2iJpn/YkDrJ3XhTfzUyhQ==", "dev": true, - "optional": true, - "os": [ - "linux" - ], + "license": "MIT", "engines": { - "node": ">=12" + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/mesqueeb" } }, - "node_modules/esbuild-linux-64": { - "version": "0.14.54", - "resolved": "https://registry.npmjs.org/esbuild-linux-64/-/esbuild-linux-64-0.14.54.tgz", - "integrity": "sha512-EgjAgH5HwTbtNsTqQOXWApBaPVdDn7XcK+/PtJwZLT1UmpLoznPd8c5CxqsH2dQK3j05YsB3L17T8vE7cp4cCg==", - "cpu": [ - "x64" - ], + "node_modules/crelt": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/crelt/-/crelt-1.0.7.tgz", + "integrity": "sha512-aK6BbWfhf4U/wCcLHKPJl/xa6VkVstRaPywWtMKGwuOLc/wZTyQYuoxgvZnNsBvv7Kg3YTBQYYBCggcviQczuA==", "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } + "license": "MIT" }, - "node_modules/esbuild-linux-arm": { - "version": "0.14.54", - "resolved": "https://registry.npmjs.org/esbuild-linux-arm/-/esbuild-linux-arm-0.14.54.tgz", - "integrity": "sha512-qqz/SjemQhVMTnvcLGoLOdFpCYbz4v4fUo+TfsWG+1aOu70/80RV6bgNpR2JCrppV2moUQkww+6bWxXRL9YMGw==", - "cpu": [ - "arm" - ], + "node_modules/cross-spawn": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", + "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", "dev": true, - "optional": true, - "os": [ - "linux" - ], + "license": "MIT", + "dependencies": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + }, "engines": { - "node": ">=12" + "node": ">= 8" } }, - "node_modules/esbuild-linux-arm64": { - "version": "0.14.54", - "resolved": "https://registry.npmjs.org/esbuild-linux-arm64/-/esbuild-linux-arm64-0.14.54.tgz", - "integrity": "sha512-WL71L+0Rwv+Gv/HTmxTEmpv0UgmxYa5ftZILVi2QmZBgX3q7+tDeOQNqGtdXSdsL8TQi1vIaVFHUPDe0O0kdig==", - "cpu": [ - "arm64" - ], + "node_modules/cssesc": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz", + "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==", "dev": true, - "optional": true, - "os": [ - "linux" - ], + "license": "MIT", + "bin": { + "cssesc": "bin/cssesc" + }, "engines": { - "node": ">=12" + "node": ">=4" } }, - "node_modules/esbuild-linux-mips64le": { - "version": "0.14.54", - "resolved": "https://registry.npmjs.org/esbuild-linux-mips64le/-/esbuild-linux-mips64le-0.14.54.tgz", - "integrity": "sha512-qTHGQB8D1etd0u1+sB6p0ikLKRVuCWhYQhAHRPkO+OF3I/iSlTKNNS0Lh2Oc0g0UFGguaFZZiPJdJey3AGpAlw==", - "cpu": [ - "mips64el" - ], + "node_modules/csstype": { + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.2.3.tgz", + "integrity": "sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ==", "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } + "license": "MIT" }, - "node_modules/esbuild-linux-ppc64le": { - "version": "0.14.54", - "resolved": "https://registry.npmjs.org/esbuild-linux-ppc64le/-/esbuild-linux-ppc64le-0.14.54.tgz", - "integrity": "sha512-j3OMlzHiqwZBDPRCDFKcx595XVfOfOnv68Ax3U4UKZ3MTYQB5Yz3X1mn5GnodEVYzhtZgxEBidLWeIs8FDSfrQ==", - "cpu": [ - "ppc64" - ], + "node_modules/debug": { + "version": "4.4.3", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz", + "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==", "dev": true, - "optional": true, - "os": [ - "linux" - ], + "license": "MIT", + "dependencies": { + "ms": "^2.1.3" + }, "engines": { - "node": ">=12" + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } } }, - "node_modules/esbuild-linux-riscv64": { - "version": "0.14.54", - "resolved": "https://registry.npmjs.org/esbuild-linux-riscv64/-/esbuild-linux-riscv64-0.14.54.tgz", - "integrity": "sha512-y7Vt7Wl9dkOGZjxQZnDAqqn+XOqFD7IMWiewY5SPlNlzMX39ocPQlOaoxvT4FllA5viyV26/QzHtvTjVNOxHZg==", - "cpu": [ - "riscv64" - ], + "node_modules/deep-is": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", + "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", "dev": true, - "optional": true, - "os": [ - "linux" - ], + "license": "MIT" + }, + "node_modules/detect-libc": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz", + "integrity": "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==", + "dev": true, + "license": "Apache-2.0", "engines": { - "node": ">=12" + "node": ">=8" } }, - "node_modules/esbuild-linux-s390x": { - "version": "0.14.54", - "resolved": "https://registry.npmjs.org/esbuild-linux-s390x/-/esbuild-linux-s390x-0.14.54.tgz", - "integrity": "sha512-zaHpW9dziAsi7lRcyV4r8dhfG1qBidQWUXweUjnw+lliChJqQr+6XD71K41oEIC3Mx1KStovEmlzm+MkGZHnHA==", - "cpu": [ - "s390x" - ], + "node_modules/doctrine": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", + "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", "dev": true, - "optional": true, - "os": [ - "linux" - ], + "license": "Apache-2.0", + "dependencies": { + "esutils": "^2.0.2" + }, "engines": { - "node": ">=12" + "node": ">=6.0.0" } }, - "node_modules/esbuild-netbsd-64": { - "version": "0.14.54", - "resolved": "https://registry.npmjs.org/esbuild-netbsd-64/-/esbuild-netbsd-64-0.14.54.tgz", - "integrity": "sha512-PR01lmIMnfJTgeU9VJTDY9ZerDWVFIUzAtJuDHwwceppW7cQWjBBqP48NdeRtoP04/AtO9a7w3viI+PIDr6d+w==", - "cpu": [ - "x64" - ], + "node_modules/dom-serializer": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-1.4.1.tgz", + "integrity": "sha512-VHwB3KfrcOOkelEG2ZOfxqLZdfkil8PtJi4P8N2MMXucZq2yLp75ClViUlOVwyoHEDjYU433Aq+5zWP61+RGag==", "dev": true, - "optional": true, - "os": [ - "netbsd" - ], - "engines": { - "node": ">=12" + "license": "MIT", + "dependencies": { + "domelementtype": "^2.0.1", + "domhandler": "^4.2.0", + "entities": "^2.0.0" + }, + "funding": { + "url": "https://github.com/cheeriojs/dom-serializer?sponsor=1" + } + }, + "node_modules/dom-serializer/node_modules/entities": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/entities/-/entities-2.2.0.tgz", + "integrity": "sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A==", + "dev": true, + "license": "BSD-2-Clause", + "funding": { + "url": "https://github.com/fb55/entities?sponsor=1" } }, - "node_modules/esbuild-openbsd-64": { - "version": "0.14.54", - "resolved": "https://registry.npmjs.org/esbuild-openbsd-64/-/esbuild-openbsd-64-0.14.54.tgz", - "integrity": "sha512-Qyk7ikT2o7Wu76UsvvDS5q0amJvmRzDyVlL0qf5VLsLchjCa1+IAvd8kTBgUxD7VBUUVgItLkk609ZHUc1oCaw==", - "cpu": [ - "x64" - ], + "node_modules/domelementtype": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.3.0.tgz", + "integrity": "sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==", "dev": true, - "optional": true, - "os": [ - "openbsd" + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/fb55" + } ], - "engines": { - "node": ">=12" - } + "license": "BSD-2-Clause" }, - "node_modules/esbuild-sunos-64": { - "version": "0.14.54", - "resolved": "https://registry.npmjs.org/esbuild-sunos-64/-/esbuild-sunos-64-0.14.54.tgz", - "integrity": "sha512-28GZ24KmMSeKi5ueWzMcco6EBHStL3B6ubM7M51RmPwXQGLe0teBGJocmWhgwccA1GeFXqxzILIxXpHbl9Q/Kw==", - "cpu": [ - "x64" - ], + "node_modules/domhandler": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-4.3.1.tgz", + "integrity": "sha512-GrwoxYN+uWlzO8uhUXRl0P+kHE4GtVPfYzVLcUxPL7KNdHKj66vvlhiweIHqYYXWlw+T8iLMp42Lm67ghw4WMQ==", "dev": true, - "optional": true, - "os": [ - "sunos" - ], + "license": "BSD-2-Clause", + "dependencies": { + "domelementtype": "^2.2.0" + }, "engines": { - "node": ">=12" + "node": ">= 4" + }, + "funding": { + "url": "https://github.com/fb55/domhandler?sponsor=1" } }, - "node_modules/esbuild-windows-32": { - "version": "0.14.54", - "resolved": "https://registry.npmjs.org/esbuild-windows-32/-/esbuild-windows-32-0.14.54.tgz", - "integrity": "sha512-T+rdZW19ql9MjS7pixmZYVObd9G7kcaZo+sETqNH4RCkuuYSuv9AGHUVnPoP9hhuE1WM1ZimHz1CIBHBboLU7w==", - "cpu": [ - "ia32" - ], + "node_modules/domutils": { + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/domutils/-/domutils-2.8.0.tgz", + "integrity": "sha512-w96Cjofp72M5IIhpjgobBimYEfoPjx1Vx0BSX9P30WBdZW2WIKU0T1Bd0kz2eNZ9ikjKgHbEyKx8BB6H1L3h3A==", "dev": true, - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=12" + "license": "BSD-2-Clause", + "dependencies": { + "dom-serializer": "^1.0.1", + "domelementtype": "^2.2.0", + "domhandler": "^4.2.0" + }, + "funding": { + "url": "https://github.com/fb55/domutils?sponsor=1" } }, - "node_modules/esbuild-windows-64": { - "version": "0.14.54", - "resolved": "https://registry.npmjs.org/esbuild-windows-64/-/esbuild-windows-64-0.14.54.tgz", - "integrity": "sha512-AoHTRBUuYwXtZhjXZbA1pGfTo8cJo3vZIcWGLiUcTNgHpJJMC1rVA44ZereBHMJtotyN71S8Qw0npiCIkW96cQ==", - "cpu": [ - "x64" - ], + "node_modules/enhanced-resolve": { + "version": "5.26.0", + "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.26.0.tgz", + "integrity": "sha512-9vhedylFonb2YGogzUKX6+Ja72gOJbN1QHAqdrvqLwhdl/QWbKopzoUC9EbQNVsAns/bx/4uyqalrQAoy1IByw==", "dev": true, - "optional": true, - "os": [ - "win32" - ], + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.2.4", + "tapable": "^2.3.3" + }, "engines": { - "node": ">=12" + "node": ">=10.13.0" } }, - "node_modules/esbuild-windows-arm64": { - "version": "0.14.54", - "resolved": "https://registry.npmjs.org/esbuild-windows-arm64/-/esbuild-windows-arm64-0.14.54.tgz", - "integrity": "sha512-M0kuUvXhot1zOISQGXwWn6YtS+Y/1RT9WrVIOywZnJHo3jCDyewAc79aKNQWFCQm+xNHVTq9h8dZKvygoXQQRg==", - "cpu": [ - "arm64" - ], + "node_modules/entities": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/entities/-/entities-3.0.1.tgz", + "integrity": "sha512-WiyBqoomrwMdFG1e0kqvASYfnlb0lp8M5o5Fw2OFq1hNZxxcNk8Ik0Xm7LxzBhuidnZB/UtBqVCgUz3kBOP51Q==", "dev": true, - "optional": true, - "os": [ - "win32" - ], + "license": "BSD-2-Clause", "engines": { - "node": ">=12" + "node": ">=0.12" + }, + "funding": { + "url": "https://github.com/fb55/entities?sponsor=1" } }, - "node_modules/escalade": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", - "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", + "node_modules/esbuild": { + "version": "0.28.2", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.28.2.tgz", + "integrity": "sha512-HKVLS8dvII+xoKW9kmqxbRKrnWEXfJJr/FZhhJmiqIB0e053QNYFqOBouTMO/k5sID4MvCiUCvv8b9M4h32wIA==", "dev": true, + "hasInstallScript": true, + "license": "MIT", + "bin": { + "esbuild": "bin/esbuild" + }, "engines": { - "node": ">=6" + "node": ">=18" + }, + "optionalDependencies": { + "@esbuild/aix-ppc64": "0.28.2", + "@esbuild/android-arm": "0.28.2", + "@esbuild/android-arm64": "0.28.2", + "@esbuild/android-x64": "0.28.2", + "@esbuild/darwin-arm64": "0.28.2", + "@esbuild/darwin-x64": "0.28.2", + "@esbuild/freebsd-arm64": "0.28.2", + "@esbuild/freebsd-x64": "0.28.2", + "@esbuild/linux-arm": "0.28.2", + "@esbuild/linux-arm64": "0.28.2", + "@esbuild/linux-ia32": "0.28.2", + "@esbuild/linux-loong64": "0.28.2", + "@esbuild/linux-mips64el": "0.28.2", + "@esbuild/linux-ppc64": "0.28.2", + "@esbuild/linux-riscv64": "0.28.2", + "@esbuild/linux-s390x": "0.28.2", + "@esbuild/linux-x64": "0.28.2", + "@esbuild/netbsd-arm64": "0.28.2", + "@esbuild/netbsd-x64": "0.28.2", + "@esbuild/openbsd-arm64": "0.28.2", + "@esbuild/openbsd-x64": "0.28.2", + "@esbuild/openharmony-arm64": "0.28.2", + "@esbuild/sunos-x64": "0.28.2", + "@esbuild/win32-arm64": "0.28.2", + "@esbuild/win32-ia32": "0.28.2", + "@esbuild/win32-x64": "0.28.2" } }, "node_modules/escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", + "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", "dev": true, + "license": "MIT", "engines": { - "node": ">=0.8.0" + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/eslint": { - "version": "8.53.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.53.0.tgz", - "integrity": "sha512-N4VuiPjXDUa4xVeV/GC/RV3hQW9Nw+Y463lkWaKKXKYMvmRiRDAtfpuPFLN+E1/6ZhyR8J2ig+eVREnYgUsiag==", + "version": "8.57.1", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.57.1.tgz", + "integrity": "sha512-ypowyDxpVSYpkXr9WPv2PAZCtNip1Mv5KTW0SCurXv/9iOpcrH9PaqUElksqEB6pChqHGDRCFTyrZlGhnLNGiA==", + "deprecated": "This version is no longer supported. Please see https://eslint.org/version-support for other options.", "dev": true, + "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.6.1", - "@eslint/eslintrc": "^2.1.3", - "@eslint/js": "8.53.0", - "@humanwhocodes/config-array": "^0.11.13", + "@eslint/eslintrc": "^2.1.4", + "@eslint/js": "8.57.1", + "@humanwhocodes/config-array": "^0.13.0", "@humanwhocodes/module-importer": "^1.0.1", "@nodelib/fs.walk": "^1.2.8", "@ungap/structured-clone": "^1.2.0", @@ -3370,10 +2369,11 @@ } }, "node_modules/eslint-config-prettier": { - "version": "8.10.0", - "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-8.10.0.tgz", - "integrity": "sha512-SM8AMJdeQqRYT9O9zguiruQZaN7+z+E4eAP9oiLNGKMtomwaB1E9dcgUD6ZAn/eQAb52USbvezbiljfZUhbJcg==", + "version": "8.10.2", + "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-8.10.2.tgz", + "integrity": "sha512-/IGJ6+Dka158JnP5n5YFMOszjDWrXggGz1LaK/guZq9vZTmniaKlHcsscvkAhn9y4U+BU3JuUdYvtAMcv30y4A==", "dev": true, + "license": "MIT", "bin": { "eslint-config-prettier": "bin/cli.js" }, @@ -3386,68 +2386,40 @@ "resolved": "https://registry.npmjs.org/eslint-plugin-html/-/eslint-plugin-html-6.2.0.tgz", "integrity": "sha512-vi3NW0E8AJombTvt8beMwkL1R/fdRWl4QSNRNMhVQKWm36/X0KF0unGNAY4mqUF06mnwVWZcIcerrCnfn9025g==", "dev": true, + "license": "ISC", "dependencies": { "htmlparser2": "^7.1.2" } }, "node_modules/eslint-plugin-vue": { - "version": "8.7.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-vue/-/eslint-plugin-vue-8.7.1.tgz", - "integrity": "sha512-28sbtm4l4cOzoO1LtzQPxfxhQABararUb1JtqusQqObJpWX2e/gmVyeYVfepizPFne0Q5cILkYGiBoV36L12Wg==", + "version": "9.33.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-vue/-/eslint-plugin-vue-9.33.0.tgz", + "integrity": "sha512-174lJKuNsuDIlLpjeXc5E2Tss8P44uIimAfGD0b90k0NoirJqpG7stLuU9Vp/9ioTOrQdWVREc4mRd1BD+CvGw==", "dev": true, + "license": "MIT", "dependencies": { - "eslint-utils": "^3.0.0", + "@eslint-community/eslint-utils": "^4.4.0", + "globals": "^13.24.0", "natural-compare": "^1.4.0", - "nth-check": "^2.0.1", - "postcss-selector-parser": "^6.0.9", - "semver": "^7.3.5", - "vue-eslint-parser": "^8.0.1" + "nth-check": "^2.1.1", + "postcss-selector-parser": "^6.0.15", + "semver": "^7.6.3", + "vue-eslint-parser": "^9.4.3", + "xml-name-validator": "^4.0.0" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "^14.17.0 || >=16.0.0" }, "peerDependencies": { - "eslint": "^6.2.0 || ^7.0.0 || ^8.0.0" - } - }, - "node_modules/eslint-plugin-vue/node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/eslint-plugin-vue/node_modules/semver": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", - "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", - "dev": true, - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" + "eslint": "^6.2.0 || ^7.0.0 || ^8.0.0 || ^9.0.0" } }, - "node_modules/eslint-plugin-vue/node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true - }, "node_modules/eslint-scope": { "version": "7.2.2", "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz", "integrity": "sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { "esrecurse": "^4.3.0", "estraverse": "^5.2.0" @@ -3459,38 +2431,12 @@ "url": "https://opencollective.com/eslint" } }, - "node_modules/eslint-utils": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-3.0.0.tgz", - "integrity": "sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA==", - "dev": true, - "dependencies": { - "eslint-visitor-keys": "^2.0.0" - }, - "engines": { - "node": "^10.0.0 || ^12.0.0 || >= 14.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/mysticatea" - }, - "peerDependencies": { - "eslint": ">=5" - } - }, - "node_modules/eslint-utils/node_modules/eslint-visitor-keys": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz", - "integrity": "sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==", - "dev": true, - "engines": { - "node": ">=10" - } - }, "node_modules/eslint-visitor-keys": { "version": "3.4.3", "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", "dev": true, + "license": "Apache-2.0", "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" }, @@ -3498,102 +2444,46 @@ "url": "https://opencollective.com/eslint" } }, - "node_modules/eslint/node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "node_modules/eslint/node_modules/ajv": { + "version": "6.15.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.15.0.tgz", + "integrity": "sha512-fgFx7Hfoq60ytK2c7DhnF8jIvzYgOMxfugjLOSMHjLIPgenqa7S7oaagATUq99mV6IYvN2tRmC0wnTYX6iPbMw==", "dev": true, + "license": "MIT", "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" }, "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" } }, "node_modules/eslint/node_modules/argparse": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", - "dev": true - }, - "node_modules/eslint/node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dev": true, - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "node_modules/eslint/node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/eslint/node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true - }, - "node_modules/eslint/node_modules/escape-string-regexp": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", - "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", - "dev": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/eslint/node_modules/globals": { - "version": "13.23.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-13.23.0.tgz", - "integrity": "sha512-XAmF0RjlrjY23MA51q3HltdlGxUpXPvg0GioKiD9X6HD28iMjo2dKC8Vqwm7lne4GNr78+RHTfliktR6ZH09wA==", - "dev": true, - "dependencies": { - "type-fest": "^0.20.2" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/eslint/node_modules/has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true, - "engines": { - "node": ">=8" - } + "license": "Python-2.0" }, "node_modules/eslint/node_modules/js-yaml": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", - "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.3.2.tgz", + "integrity": "sha512-SFNOvSJ+Dgf/9An904Yx+CgSlIPCkIpao4qo51lpee25TIRejdH3rhR4EZMGoNx3/TP3O+wzWuiTFl4sqbltzA==", "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/puzrin" + }, + { + "type": "github", + "url": "https://github.com/sponsors/nodeca" + } + ], + "license": "MIT", "dependencies": { "argparse": "^2.0.1" }, @@ -3601,35 +2491,19 @@ "js-yaml": "bin/js-yaml.js" } }, - "node_modules/eslint/node_modules/supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/eslint/node_modules/type-fest": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", - "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", + "node_modules/eslint/node_modules/json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", "dev": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } + "license": "MIT" }, "node_modules/espree": { "version": "9.6.1", "resolved": "https://registry.npmjs.org/espree/-/espree-9.6.1.tgz", "integrity": "sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { "acorn": "^8.9.0", "acorn-jsx": "^5.3.2", @@ -3646,6 +2520,8 @@ "version": "4.0.1", "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", + "dev": true, + "license": "BSD-2-Clause", "bin": { "esparse": "bin/esparse.js", "esvalidate": "bin/esvalidate.js" @@ -3655,10 +2531,11 @@ } }, "node_modules/esquery": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.5.0.tgz", - "integrity": "sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==", + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.7.0.tgz", + "integrity": "sha512-Ap6G0WQwcU/LHsvLwON1fAQX9Zp0A2Y6Y/cJBl9r/JbW90Zyg4/zbG6zzKa2OTALELarYHmKu0GhpM5EO+7T0g==", "dev": true, + "license": "BSD-3-Clause", "dependencies": { "estraverse": "^5.1.0" }, @@ -3671,6 +2548,7 @@ "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { "estraverse": "^5.2.0" }, @@ -3683,6 +2561,7 @@ "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", "dev": true, + "license": "BSD-2-Clause", "engines": { "node": ">=4.0" } @@ -3690,13 +2569,16 @@ "node_modules/estree-walker": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz", - "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==" + "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==", + "dev": true, + "license": "MIT" }, "node_modules/esutils": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", "dev": true, + "license": "BSD-2-Clause", "engines": { "node": ">=0.10.0" } @@ -3705,34 +2587,74 @@ "version": "3.1.3", "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/fast-json-stable-stringify": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/fast-levenshtein": { "version": "2.0.6", "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", - "dev": true + "dev": true, + "license": "MIT" + }, + "node_modules/fast-uri": { + "version": "3.1.8", + "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.1.8.tgz", + "integrity": "sha512-GZMtZUTNRpOVIECoXwLNZS5xUGE+mVNbTB8h/7Rwh2TFWcBQiPzTgyZi05BF9UMZKkLJv8XBRJTlU7zg8+ZfMg==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/fastify" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/fastify" + } + ], + "license": "BSD-3-Clause" }, "node_modules/fastq": { - "version": "1.15.0", - "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.15.0.tgz", - "integrity": "sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw==", + "version": "1.20.3", + "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.20.3.tgz", + "integrity": "sha512-XKv5nnLs6nLF71NgiKJLIZFLkPyIEuOselLG7ujZnGrRfQK8HpvY+WqKhAJUAdLomwVHErVS4LfxFlPq0/FTAw==", "dev": true, + "license": "ISC", "dependencies": { "reusify": "^1.0.4" } }, + "node_modules/fdir": { + "version": "6.5.0", + "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz", + "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12.0.0" + }, + "peerDependencies": { + "picomatch": "^3 || ^4" + }, + "peerDependenciesMeta": { + "picomatch": { + "optional": true + } + } + }, "node_modules/file-entry-cache": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz", "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==", "dev": true, + "license": "MIT", "dependencies": { "flat-cache": "^3.0.4" }, @@ -3740,23 +2662,12 @@ "node": "^10.12.0 || >=12.0.0" } }, - "node_modules/fill-range": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", - "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", - "dev": true, - "dependencies": { - "to-regex-range": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, "node_modules/find-up": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", "dev": true, + "license": "MIT", "dependencies": { "locate-path": "^6.0.0", "path-exists": "^4.0.0" @@ -3769,29 +2680,33 @@ } }, "node_modules/flat-cache": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.1.1.tgz", - "integrity": "sha512-/qM2b3LUIaIgviBQovTLvijfyOQXPtSRnRK26ksj2J7rzPIecePUIpJsZ4T02Qg+xiAEKIs5K8dsHEd+VaKa/Q==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.2.0.tgz", + "integrity": "sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw==", "dev": true, + "license": "MIT", "dependencies": { "flatted": "^3.2.9", "keyv": "^4.5.3", "rimraf": "^3.0.2" }, "engines": { - "node": ">=12.0.0" + "node": "^10.12.0 || >=12.0.0" } }, "node_modules/flatted": { - "version": "3.2.9", - "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.9.tgz", - "integrity": "sha512-36yxDn5H7OFZQla0/jFJmbIKTdZAQHngCedGxiMmpNfEZM0sdEeT+WczLQrjK6D7o2aiyLYDnkw0R3JK0Qv1RQ==", - "dev": true + "version": "3.4.4", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.4.4.tgz", + "integrity": "sha512-5+ybhBZANEJxaH3X5evAFatUxLfEHSr7n6kYJ+1Qd0mUqr4eu9gIf6GDbWHf8RJijHrjjO8G+la14SlL2SeS1Q==", + "dev": true, + "license": "ISC" }, "node_modules/floating-vue": { - "version": "2.0.0-beta.24", - "resolved": "https://registry.npmjs.org/floating-vue/-/floating-vue-2.0.0-beta.24.tgz", - "integrity": "sha512-URSzP6YXaF4u1oZ9XGL8Sn8puuM7ivp5jkOUrpy5Q1mfo9BfGppJOn+ierTmsSUfJEeHBae8KT7r5DeI3vQIEw==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/floating-vue/-/floating-vue-2.0.0.tgz", + "integrity": "sha512-YSffLYOjoaaPPBZc7VQR2qMCQ7xeXuh7i8a2u8WOdSmkjTtKtZpj2aaJnLtZRHmehrMHyCgtSxLu8jFNNX2sVw==", + "dev": true, + "license": "MIT", "dependencies": { "@floating-ui/dom": "~1.1.1", "vue-resize": "^2.0.0-alpha.1" @@ -3806,19 +2721,12 @@ } } }, - "node_modules/font-awesome": { - "version": "4.7.0", - "resolved": "https://registry.npmjs.org/font-awesome/-/font-awesome-4.7.0.tgz", - "integrity": "sha512-U6kGnykA/6bFmg1M/oT9EkFeIYv7JlX3bozwQJWiiLz6L0w3F5vBVPxHlwyX/vtNq1ckcpRKOB9f2Qal/VtFpg==", - "engines": { - "node": ">=0.10.3" - } - }, "node_modules/fs.realpath": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/fsevents": { "version": "2.3.3", @@ -3826,6 +2734,7 @@ "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", "dev": true, "hasInstallScript": true, + "license": "MIT", "optional": true, "os": [ "darwin" @@ -3834,29 +2743,13 @@ "node": "^8.16.0 || ^10.6.0 || >=11.0.0" } }, - "node_modules/function-bind": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", - "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", - "dev": true, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/gensync": { - "version": "1.0.0-beta.2", - "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", - "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==", - "dev": true, - "engines": { - "node": ">=6.9.0" - } - }, "node_modules/glob": { "version": "7.2.3", "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "deprecated": "Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me", "dev": true, + "license": "ISC", "dependencies": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", @@ -3877,6 +2770,7 @@ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", "dev": true, + "license": "ISC", "dependencies": { "is-glob": "^4.0.3" }, @@ -3885,55 +2779,51 @@ } }, "node_modules/globals": { - "version": "11.12.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", - "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", + "version": "13.24.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-13.24.0.tgz", + "integrity": "sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==", "dev": true, + "license": "MIT", + "dependencies": { + "type-fest": "^0.20.2" + }, "engines": { - "node": ">=4" + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/graceful-fs": { + "version": "4.2.11", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", + "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", + "dev": true, + "license": "ISC" + }, "node_modules/graphemer": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz", "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==", - "dev": true - }, - "node_modules/has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", "dev": true, - "engines": { - "node": ">=4" - } + "license": "MIT" }, - "node_modules/hash-sum": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/hash-sum/-/hash-sum-2.0.0.tgz", - "integrity": "sha512-WdZTbAByD+pHfl/g9QSsBIIwy8IT+EsPiKDs0KNX+zSHhdDLFKdZu0BQHljvO+0QI/BasbMSUa8wYNCZTvhslg==", - "dev": true - }, - "node_modules/hasown": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.0.tgz", - "integrity": "sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA==", + "node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true, - "dependencies": { - "function-bind": "^1.1.2" - }, + "license": "MIT", "engines": { - "node": ">= 0.4" + "node": ">=8" } }, - "node_modules/he": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz", - "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==", + "node_modules/hookable": { + "version": "5.5.3", + "resolved": "https://registry.npmjs.org/hookable/-/hookable-5.5.3.tgz", + "integrity": "sha512-Yc+BQe8SvoXH1643Qez1zqLRmbA5rCL+sSmk6TVos0LWVfNIB7PGncdlId77WzLGSIB5KaWgTaNTs2lNVEI6VQ==", "dev": true, - "bin": { - "he": "bin/he" - } + "license": "MIT" }, "node_modules/htmlparser2": { "version": "7.2.0", @@ -3947,6 +2837,7 @@ "url": "https://github.com/sponsors/fb55" } ], + "license": "MIT", "dependencies": { "domelementtype": "^2.0.1", "domhandler": "^4.2.2", @@ -3955,25 +2846,21 @@ } }, "node_modules/ignore": { - "version": "5.2.4", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.4.tgz", - "integrity": "sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==", + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", + "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==", "dev": true, + "license": "MIT", "engines": { "node": ">= 4" } }, - "node_modules/immutable": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/immutable/-/immutable-4.3.4.tgz", - "integrity": "sha512-fsXeu4J4i6WNWSikpI88v/PcVflZz+6kMhUfIwc5SY+poQRPnaf5V7qds6SUyUN3cVxEzuCab7QIoLOQ+DQ1wA==", - "dev": true - }, "node_modules/import-fresh": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", - "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.1.tgz", + "integrity": "sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==", "dev": true, + "license": "MIT", "dependencies": { "parent-module": "^1.0.0", "resolve-from": "^4.0.0" @@ -3990,6 +2877,7 @@ "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.8.19" } @@ -3998,7 +2886,9 @@ "version": "1.0.6", "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", + "deprecated": "This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.", "dev": true, + "license": "ISC", "dependencies": { "once": "^1.3.0", "wrappy": "1" @@ -4008,37 +2898,15 @@ "version": "2.0.4", "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", - "dev": true - }, - "node_modules/is-binary-path": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", - "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", - "dev": true, - "dependencies": { - "binary-extensions": "^2.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/is-core-module": { - "version": "2.13.1", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.1.tgz", - "integrity": "sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==", "dev": true, - "dependencies": { - "hasown": "^2.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } + "license": "ISC" }, "node_modules/is-extglob": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } @@ -4048,6 +2916,7 @@ "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", "dev": true, + "license": "MIT", "dependencies": { "is-extglob": "^2.1.1" }, @@ -4055,165 +2924,351 @@ "node": ">=0.10.0" } }, - "node_modules/is-module": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-module/-/is-module-1.0.0.tgz", - "integrity": "sha512-51ypPSPCoTEIN9dy5Oy+h4pShgJmPCygKfyRCISBI+JoWT/2oJvK8QPxmwv7b/p239jXrm9M1mlQbyKJ5A152g==", - "dev": true - }, - "node_modules/is-number": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", - "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", - "dev": true, - "engines": { - "node": ">=0.12.0" - } - }, "node_modules/is-path-inside": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz", "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } }, - "node_modules/is-reference": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/is-reference/-/is-reference-1.2.1.tgz", - "integrity": "sha512-U82MsXXiFIrjCK4otLT+o2NA2Cd2g5MLoOVXUZjIOhLurrRxpEXzI8O0KZHr3IjLvlAH1kTPYSuqer5T9ZVBKQ==", - "dev": true, - "dependencies": { - "@types/estree": "*" - } - }, "node_modules/isexe": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", - "dev": true + "dev": true, + "license": "ISC" }, - "node_modules/jest-worker": { - "version": "26.6.2", - "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-26.6.2.tgz", - "integrity": "sha512-KWYVV1c4i+jbMpaBC+U++4Va0cp8OisU185o73T1vo99hqi7w8tSJfUXYswwqqrjzwxa6KpRK54WhPvwf5w6PQ==", + "node_modules/jiti": { + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/jiti/-/jiti-2.7.0.tgz", + "integrity": "sha512-AC/7JofJvZGrrneWNaEnJeOLUx+JlGt7tNa0wZiRPT4MY1wmfKjt2+6O2p2uz2+skll8OZZmJMNqeke7kKbNgQ==", "dev": true, + "license": "MIT", + "bin": { + "jiti": "lib/jiti-cli.mjs" + } + }, + "node_modules/js-yaml": { + "version": "3.15.2", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.15.2.tgz", + "integrity": "sha512-6EuL879VkRA+1Cz578mKMiKvjPNEuk6+r1JaFzoSWejZmtf7xWbIyw1e3KkxlkzTIt9Taw6JBhEppG7utc1P+w==", + "dev": true, + "license": "MIT", "dependencies": { - "@types/node": "*", - "merge-stream": "^2.0.0", - "supports-color": "^7.0.0" + "argparse": "^1.0.7", + "esprima": "^4.0.0" }, - "engines": { - "node": ">= 10.13.0" + "bin": { + "js-yaml": "bin/js-yaml.js" } }, - "node_modules/jest-worker/node_modules/has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "node_modules/json-buffer": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz", + "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/json-schema-traverse": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", + "dev": true, + "license": "MIT" + }, + "node_modules/json-stable-stringify-without-jsonify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", + "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==", + "dev": true, + "license": "MIT" + }, + "node_modules/keyv": { + "version": "4.5.4", + "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz", + "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==", + "dev": true, + "license": "MIT", + "dependencies": { + "json-buffer": "3.0.1" + } + }, + "node_modules/levn": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", + "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", "dev": true, + "license": "MIT", + "dependencies": { + "prelude-ls": "^1.2.1", + "type-check": "~0.4.0" + }, "engines": { - "node": ">=8" + "node": ">= 0.8.0" } }, - "node_modules/jest-worker/node_modules/supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "node_modules/lightningcss": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss/-/lightningcss-1.32.0.tgz", + "integrity": "sha512-NXYBzinNrblfraPGyrbPoD19C1h9lfI/1mzgWYvXUTe414Gz/X1FD2XBZSZM7rRTrMA8JL3OtAaGifrIKhQ5yQ==", "dev": true, + "license": "MPL-2.0", "dependencies": { - "has-flag": "^4.0.0" + "detect-libc": "^2.0.3" }, "engines": { - "node": ">=8" + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + }, + "optionalDependencies": { + "lightningcss-android-arm64": "1.32.0", + "lightningcss-darwin-arm64": "1.32.0", + "lightningcss-darwin-x64": "1.32.0", + "lightningcss-freebsd-x64": "1.32.0", + "lightningcss-linux-arm-gnueabihf": "1.32.0", + "lightningcss-linux-arm64-gnu": "1.32.0", + "lightningcss-linux-arm64-musl": "1.32.0", + "lightningcss-linux-x64-gnu": "1.32.0", + "lightningcss-linux-x64-musl": "1.32.0", + "lightningcss-win32-arm64-msvc": "1.32.0", + "lightningcss-win32-x64-msvc": "1.32.0" + } + }, + "node_modules/lightningcss-android-arm64": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-android-arm64/-/lightningcss-android-arm64-1.32.0.tgz", + "integrity": "sha512-YK7/ClTt4kAK0vo6w3X+Pnm0D2cf2vPHbhOXdoNti1Ga0al1P4TBZhwjATvjNwLEBCnKvjJc2jQgHXH0NEwlAg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" } }, - "node_modules/js-tokens": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", - "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", - "dev": true + "node_modules/lightningcss-darwin-arm64": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-darwin-arm64/-/lightningcss-darwin-arm64-1.32.0.tgz", + "integrity": "sha512-RzeG9Ju5bag2Bv1/lwlVJvBE3q6TtXskdZLLCyfg5pt+HLz9BqlICO7LZM7VHNTTn/5PRhHFBSjk5lc4cmscPQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } }, - "node_modules/js-yaml": { - "version": "3.14.1", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", - "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", - "dependencies": { - "argparse": "^1.0.7", - "esprima": "^4.0.0" + "node_modules/lightningcss-darwin-x64": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-darwin-x64/-/lightningcss-darwin-x64-1.32.0.tgz", + "integrity": "sha512-U+QsBp2m/s2wqpUYT/6wnlagdZbtZdndSmut/NJqlCcMLTWp5muCrID+K5UJ6jqD2BFshejCYXniPDbNh73V8w==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-freebsd-x64": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-freebsd-x64/-/lightningcss-freebsd-x64-1.32.0.tgz", + "integrity": "sha512-JCTigedEksZk3tHTTthnMdVfGf61Fky8Ji2E4YjUTEQX14xiy/lTzXnu1vwiZe3bYe0q+SpsSH/CTeDXK6WHig==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-linux-arm-gnueabihf": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-arm-gnueabihf/-/lightningcss-linux-arm-gnueabihf-1.32.0.tgz", + "integrity": "sha512-x6rnnpRa2GL0zQOkt6rts3YDPzduLpWvwAF6EMhXFVZXD4tPrBkEFqzGowzCsIWsPjqSK+tyNEODUBXeeVHSkw==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-linux-arm64-gnu": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-gnu/-/lightningcss-linux-arm64-gnu-1.32.0.tgz", + "integrity": "sha512-0nnMyoyOLRJXfbMOilaSRcLH3Jw5z9HDNGfT/gwCPgaDjnx0i8w7vBzFLFR1f6CMLKF8gVbebmkUN3fa/kQJpQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/lightningcss-linux-arm64-musl": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-musl/-/lightningcss-linux-arm64-musl-1.32.0.tgz", + "integrity": "sha512-UpQkoenr4UJEzgVIYpI80lDFvRmPVg6oqboNHfoH4CQIfNA+HOrZ7Mo7KZP02dC6LjghPQJeBsvXhJod/wnIBg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 12.0.0" }, - "bin": { - "js-yaml": "bin/js-yaml.js" + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" } }, - "node_modules/jsesc": { - "version": "2.5.2", - "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", - "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", + "node_modules/lightningcss-linux-x64-gnu": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-gnu/-/lightningcss-linux-x64-gnu-1.32.0.tgz", + "integrity": "sha512-V7Qr52IhZmdKPVr+Vtw8o+WLsQJYCTd8loIfpDaMRWGUZfBOYEJeyJIkqGIDMZPwPx24pUMfwSxxI8phr/MbOA==", + "cpu": [ + "x64" + ], "dev": true, - "bin": { - "jsesc": "bin/jsesc" - }, + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], "engines": { - "node": ">=4" + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" } }, - "node_modules/json-buffer": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz", - "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==", - "dev": true - }, - "node_modules/json-schema-traverse": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", - "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", - "dev": true - }, - "node_modules/json-stable-stringify-without-jsonify": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", - "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==", - "dev": true - }, - "node_modules/json5": { - "version": "2.2.3", - "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", - "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", + "node_modules/lightningcss-linux-x64-musl": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-musl/-/lightningcss-linux-x64-musl-1.32.0.tgz", + "integrity": "sha512-bYcLp+Vb0awsiXg/80uCRezCYHNg1/l3mt0gzHnWV9XP1W5sKa5/TCdGWaR/zBM2PeF/HbsQv/j2URNOiVuxWg==", + "cpu": [ + "x64" + ], "dev": true, - "bin": { - "json5": "lib/cli.js" - }, + "license": "MPL-2.0", + "optional": true, + "os": [ + "linux" + ], "engines": { - "node": ">=6" + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" } }, - "node_modules/jsonc-parser": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.2.0.tgz", - "integrity": "sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w==" - }, - "node_modules/keyv": { - "version": "4.5.4", - "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz", - "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==", + "node_modules/lightningcss-win32-arm64-msvc": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-win32-arm64-msvc/-/lightningcss-win32-arm64-msvc-1.32.0.tgz", + "integrity": "sha512-8SbC8BR40pS6baCM8sbtYDSwEVQd4JlFTOlaD3gWGHfThTcABnNDBda6eTZeqbofalIJhFx0qKzgHJmcPTnGdw==", + "cpu": [ + "arm64" + ], "dev": true, - "dependencies": { - "json-buffer": "3.0.1" + "license": "MPL-2.0", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" } }, - "node_modules/levn": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", - "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", + "node_modules/lightningcss-win32-x64-msvc": { + "version": "1.32.0", + "resolved": "https://registry.npmjs.org/lightningcss-win32-x64-msvc/-/lightningcss-win32-x64-msvc-1.32.0.tgz", + "integrity": "sha512-Amq9B/SoZYdDi1kFrojnoqPLxYhQ4Wo5XiL8EVJrVsB8ARoC1PWW6VGtT0WKCemjy8aC+louJnjS7U18x3b06Q==", + "cpu": [ + "x64" + ], "dev": true, - "dependencies": { - "prelude-ls": "^1.2.1", - "type-check": "~0.4.0" - }, + "license": "MPL-2.0", + "optional": true, + "os": [ + "win32" + ], "engines": { - "node": ">= 0.8.0" + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" } }, "node_modules/locate-path": { @@ -4221,6 +3276,7 @@ "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", "dev": true, + "license": "MIT", "dependencies": { "p-locate": "^5.0.0" }, @@ -4232,52 +3288,46 @@ } }, "node_modules/lodash": { - "version": "4.17.21", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", - "dev": true - }, - "node_modules/lodash.debounce": { - "version": "4.0.8", - "resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz", - "integrity": "sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow==", - "dev": true + "version": "4.18.1", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.18.1.tgz", + "integrity": "sha512-dMInicTPVE8d1e5otfwmmjlxkZoUpiVLwyeTdUsi/Caj/gfzzblBcCE5sRHV/AsjuCmxWrte2TNGSYuCeCq+0Q==", + "dev": true, + "license": "MIT" }, "node_modules/lodash.merge": { "version": "4.6.2", "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", - "dev": true + "dev": true, + "license": "MIT" }, - "node_modules/lru-cache": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", - "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", + "node_modules/lucide-vue-next": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/lucide-vue-next/-/lucide-vue-next-1.0.0.tgz", + "integrity": "sha512-V6SPvx1IHTj/UY+FrIYWV5faISsPSb8BnWSFDxAtezWKvWc9ZZ40PDrdu1/Qb5vg4lHWr1hs1BAMGVGm6V1Xdg==", + "deprecated": "Package deprecated. Please use @lucide/vue instead.", "dev": true, - "dependencies": { - "yallist": "^3.0.2" + "license": "ISC", + "peerDependencies": { + "vue": ">=3.0.1" } }, "node_modules/magic-string": { - "version": "0.25.9", - "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.25.9.tgz", - "integrity": "sha512-RmF0AsMzgt25qzqqLc1+MbHmhdx0ojF2Fvs4XnOqz2ZOBXzzkEwc/dJQZCYHAn7v1jbVOjAZfK8msRn4BxO4VQ==", + "version": "0.30.21", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.21.tgz", + "integrity": "sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==", "dev": true, + "license": "MIT", "dependencies": { - "sourcemap-codec": "^1.4.8" + "@jridgewell/sourcemap-codec": "^1.5.5" } }, - "node_modules/merge-stream": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", - "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", - "dev": true - }, "node_modules/minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "version": "3.1.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.5.tgz", + "integrity": "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==", "dev": true, + "license": "ISC", "dependencies": { "brace-expansion": "^1.1.7" }, @@ -4285,106 +3335,32 @@ "node": "*" } }, - "node_modules/minimist": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", - "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", + "node_modules/mitt": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/mitt/-/mitt-3.0.1.tgz", + "integrity": "sha512-vKivATfr97l2/QBCYAkXYDbrIWPM2IIKEl7YPhjCvKlG3kE2gm+uBo6nEXK3M5/Ffh/FLpKExzOQ3JJoJGFKBw==", "dev": true, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/monaco-editor": { - "version": "0.41.0", - "resolved": "https://registry.npmjs.org/monaco-editor/-/monaco-editor-0.41.0.tgz", - "integrity": "sha512-1o4olnZJsiLmv5pwLEAmzHTE/5geLKQ07BrGxlF4Ri/AXAc2yyDGZwHjiTqD8D/ROKUZmwMA28A+yEowLNOEcA==" - }, - "node_modules/monaco-languageserver-types": { - "version": "0.2.3", - "resolved": "https://registry.npmjs.org/monaco-languageserver-types/-/monaco-languageserver-types-0.2.3.tgz", - "integrity": "sha512-QyV5R7s+rJ87bX1sRioMJZULWiTnMp0Vm+RLILgMEL0SqWuBsQBSW0EZunr4xMZhv6Qun3UZNCN4JrCCLURcgQ==", - "dependencies": { - "monaco-types": "^0.1.0", - "vscode-languageserver-protocol": "^3.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/remcohaszing" - } - }, - "node_modules/monaco-marker-data-provider": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/monaco-marker-data-provider/-/monaco-marker-data-provider-1.1.1.tgz", - "integrity": "sha512-PGB7TJSZE5tmHzkxv/OEwK2RGNC2A7dcq4JRJnnj31CUAsfmw0Gl+1QTrH0W0deKhcQmQM0YVPaqgQ+0wCt8Mg==", - "funding": { - "url": "https://github.com/sponsors/remcohaszing" - }, - "peerDependencies": { - "monaco-editor": ">=0.30.0" - } - }, - "node_modules/monaco-types": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/monaco-types/-/monaco-types-0.1.0.tgz", - "integrity": "sha512-aWK7SN9hAqNYi0WosPoMjenMeXJjwCxDibOqWffyQ/qXdzB/86xshGQobRferfmNz7BSNQ8GB0MD0oby9/5fTQ==", - "funding": { - "url": "https://github.com/sponsors/remcohaszing" - } - }, - "node_modules/monaco-worker-manager": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/monaco-worker-manager/-/monaco-worker-manager-2.0.1.tgz", - "integrity": "sha512-kdPL0yvg5qjhKPNVjJoym331PY/5JC11aPJXtCZNwWRvBr6jhkIamvYAyiY5P1AWFmNOy0aRDRoMdZfa71h8kg==", - "peerDependencies": { - "monaco-editor": ">=0.30.0" - } - }, - "node_modules/monaco-yaml": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/monaco-yaml/-/monaco-yaml-5.1.0.tgz", - "integrity": "sha512-DU+cgXSJdOFKQ4I4oLg0V+mHKq1dJX+7hbIE4fJsgegUf1zEHW3PNlGj6qabUU2HZIPJ5NmXEf005GU9YDzTYQ==", - "dependencies": { - "@types/json-schema": "^7.0.0", - "jsonc-parser": "^3.0.0", - "monaco-languageserver-types": "^0.2.0", - "monaco-marker-data-provider": "^1.0.0", - "monaco-types": "^0.1.0", - "monaco-worker-manager": "^2.0.0", - "path-browserify": "^1.0.0", - "prettier": "^2.0.0", - "vscode-languageserver-textdocument": "^1.0.0", - "vscode-languageserver-types": "^3.0.0", - "vscode-uri": "^3.0.0", - "yaml": "^2.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/remcohaszing" - }, - "peerDependencies": { - "monaco-editor": ">=0.36" - } + "license": "MIT" }, "node_modules/ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true - }, - "node_modules/muggle-string": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/muggle-string/-/muggle-string-0.3.1.tgz", - "integrity": "sha512-ckmWDJjphvd/FvZawgygcUeQCxzvohjFO5RxTjj4eq8kw359gFF3E1brjfI+viLMxss5JrHTDRHZvu2/tuy0Qg==", - "dev": true + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "dev": true, + "license": "MIT" }, "node_modules/nanoid": { - "version": "3.3.7", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz", - "integrity": "sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==", + "version": "3.3.20", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.20.tgz", + "integrity": "sha512-uKdg2G3GNCKQn9byYOpxbGqrT2fGO5KRt5J/8b3pok8rT6qxGWF6hxMyJiEYtAf+FVyYuD9hRaDqX5uPFYJ4ZQ==", + "dev": true, "funding": [ { "type": "github", "url": "https://github.com/sponsors/ai" } ], + "license": "MIT", "bin": { "nanoid": "bin/nanoid.cjs" }, @@ -4396,28 +3372,15 @@ "version": "1.4.0", "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==", - "dev": true - }, - "node_modules/node-releases": { - "version": "2.0.13", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.13.tgz", - "integrity": "sha512-uYr7J37ae/ORWdZeQ1xxMJe3NtdmqMC/JZK+geofDrkLUApKRHPd18/TxtBOJ4A0/+uUIliorNrfYV6s1b02eQ==", - "dev": true - }, - "node_modules/normalize-path": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", - "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", "dev": true, - "engines": { - "node": ">=0.10.0" - } + "license": "MIT" }, "node_modules/nth-check": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-2.1.1.tgz", "integrity": "sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { "boolbase": "^1.0.0" }, @@ -4430,22 +3393,24 @@ "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", "dev": true, + "license": "ISC", "dependencies": { "wrappy": "1" } }, "node_modules/optionator": { - "version": "0.9.3", - "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.3.tgz", - "integrity": "sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg==", + "version": "0.9.4", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.4.tgz", + "integrity": "sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==", "dev": true, + "license": "MIT", "dependencies": { - "@aashutoshrathi/word-wrap": "^1.2.3", "deep-is": "^0.1.3", "fast-levenshtein": "^2.0.6", "levn": "^0.4.1", "prelude-ls": "^1.2.1", - "type-check": "^0.4.0" + "type-check": "^0.4.0", + "word-wrap": "^1.2.5" }, "engines": { "node": ">= 0.8.0" @@ -4456,6 +3421,7 @@ "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", "dev": true, + "license": "MIT", "dependencies": { "yocto-queue": "^0.1.0" }, @@ -4471,6 +3437,7 @@ "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", "dev": true, + "license": "MIT", "dependencies": { "p-limit": "^3.0.2" }, @@ -4486,6 +3453,7 @@ "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", "dev": true, + "license": "MIT", "dependencies": { "callsites": "^3.0.0" }, @@ -4493,16 +3461,12 @@ "node": ">=6" } }, - "node_modules/path-browserify": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-browserify/-/path-browserify-1.0.1.tgz", - "integrity": "sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g==" - }, "node_modules/path-exists": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } @@ -4512,6 +3476,7 @@ "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } @@ -4521,37 +3486,43 @@ "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } }, - "node_modules/path-parse": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", - "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", - "dev": true + "node_modules/perfect-debounce": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/perfect-debounce/-/perfect-debounce-1.0.0.tgz", + "integrity": "sha512-xCy9V055GLEqoFaHoC1SoLIaLmWctgCUaBaWxDZ7/Zx4CTyX7cJQLJOok/orfjZAh9kEYpjJa4d0KcJmCbctZA==", + "dev": true, + "license": "MIT" }, "node_modules/picocolors": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", - "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==" + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", + "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", + "dev": true, + "license": "ISC" }, "node_modules/picomatch": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", - "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.7.tgz", + "integrity": "sha512-qcJu88Q2IWqJsDD529JKMdwGm/dvInW4HvQnRwiH9JtihJvzGOscDtHE3x1pBKeUOTysQ8kVmLnJ2kJu7yhcGA==", "dev": true, + "license": "MIT", "engines": { - "node": ">=8.6" + "node": ">=12" }, "funding": { "url": "https://github.com/sponsors/jonschlinkert" } }, "node_modules/postcss": { - "version": "8.4.31", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.31.tgz", - "integrity": "sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ==", + "version": "8.5.29", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.29.tgz", + "integrity": "sha512-49cGhUbXj8Qenv0iTMxA1cFBzxXoctpC9Ujd77t1WcbJIr6nF/eI7g/8MgxrYldFRuAXvja7xQRwavoW7kgrxQ==", + "dev": true, "funding": [ { "type": "opencollective", @@ -4566,20 +3537,22 @@ "url": "https://github.com/sponsors/ai" } ], + "license": "MIT", "dependencies": { - "nanoid": "^3.3.6", - "picocolors": "^1.0.0", - "source-map-js": "^1.0.2" + "nanoid": "^3.3.19", + "picocolors": "^1.1.1", + "source-map-js": "^1.2.2" }, "engines": { "node": "^10 || ^12 || >=14" } }, "node_modules/postcss-selector-parser": { - "version": "6.0.13", - "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.13.tgz", - "integrity": "sha512-EaV1Gl4mUEV4ddhDnv/xtj7sxwrwxdetHdWUGnT4VJQf+4d05v6lHYZr8N573k5Z0BViss7BDhfWtKS3+sfAqQ==", + "version": "6.1.4", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.1.4.tgz", + "integrity": "sha512-bIoJLOmjCO1S9XdY/DcnR5hJxvrDir1PbGChrzXG3vw0/FOliy/fA3dmdhQ441kah4gKv+TwckGzex6wNS5cnQ==", "dev": true, + "license": "MIT", "dependencies": { "cssesc": "^3.0.0", "util-deprecate": "^1.0.2" @@ -4593,6 +3566,7 @@ "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", "dev": true, + "license": "MIT", "engines": { "node": ">= 0.8.0" } @@ -4601,6 +3575,8 @@ "version": "2.6.2", "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.6.2.tgz", "integrity": "sha512-PkUpF+qoXTqhOeWL9fu7As8LXsIUZ1WYaJiY/a7McAQzxjk82OF0tibkFXVCDImZtWxbvojFjerkiLb0/q8mew==", + "dev": true, + "license": "MIT", "bin": { "prettier": "bin-prettier.js" }, @@ -4616,6 +3592,7 @@ "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", "dev": true, + "license": "MIT", "engines": { "node": ">=6" } @@ -4638,115 +3615,17 @@ "type": "consulting", "url": "https://feross.org/support" } - ] - }, - "node_modules/randombytes": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", - "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", - "dev": true, - "dependencies": { - "safe-buffer": "^5.1.0" - } - }, - "node_modules/readdirp": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", - "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", - "dev": true, - "dependencies": { - "picomatch": "^2.2.1" - }, - "engines": { - "node": ">=8.10.0" - } - }, - "node_modules/regenerate": { - "version": "1.4.2", - "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.4.2.tgz", - "integrity": "sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A==", - "dev": true - }, - "node_modules/regenerate-unicode-properties": { - "version": "10.1.1", - "resolved": "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-10.1.1.tgz", - "integrity": "sha512-X007RyZLsCJVVrjgEFVpLUTZwyOZk3oiL75ZcuYjlIWd6rNJtOjkBwQc5AsRrpbKVkxN6sklw/k/9m2jJYOf8Q==", - "dev": true, - "dependencies": { - "regenerate": "^1.4.2" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/regenerator-runtime": { - "version": "0.14.0", - "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.14.0.tgz", - "integrity": "sha512-srw17NI0TUWHuGa5CFGGmhfNIeja30WMBfbslPNhf6JrqQlLN5gcrvig1oqPxiVaXb0oW0XRKtH6Nngs5lKCIA==", - "dev": true - }, - "node_modules/regenerator-transform": { - "version": "0.15.2", - "resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.15.2.tgz", - "integrity": "sha512-hfMp2BoF0qOk3uc5V20ALGDS2ddjQaLrdl7xrGXvAIow7qeWRM2VA2HuCHkUKk9slq3VwEwLNK3DFBqDfPGYtg==", - "dev": true, - "dependencies": { - "@babel/runtime": "^7.8.4" - } + ], + "license": "MIT" }, - "node_modules/regexpu-core": { - "version": "5.3.2", - "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-5.3.2.tgz", - "integrity": "sha512-RAM5FlZz+Lhmo7db9L298p2vHP5ZywrVXmVXpmAD9GuL5MPH6t9ROw1iA/wfHkQ76Qe7AaPF0nGuim96/IrQMQ==", + "node_modules/require-from-string": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", + "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", "dev": true, - "dependencies": { - "@babel/regjsgen": "^0.8.0", - "regenerate": "^1.4.2", - "regenerate-unicode-properties": "^10.1.0", - "regjsparser": "^0.9.1", - "unicode-match-property-ecmascript": "^2.0.0", - "unicode-match-property-value-ecmascript": "^2.1.0" - }, + "license": "MIT", "engines": { - "node": ">=4" - } - }, - "node_modules/regjsparser": { - "version": "0.9.1", - "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.9.1.tgz", - "integrity": "sha512-dQUtn90WanSNl+7mQKcXAgZxvUe7Z0SqXlgzv0za4LwiUhyzBC58yQO3liFoUgu8GiJVInAhJjkj1N0EtQ5nkQ==", - "dev": true, - "dependencies": { - "jsesc": "~0.5.0" - }, - "bin": { - "regjsparser": "bin/parser" - } - }, - "node_modules/regjsparser/node_modules/jsesc": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz", - "integrity": "sha512-uZz5UnB7u4T9LvwmFqXii7pZSouaRPorGs5who1Ip7VO0wxanFvBL7GkM6dTHlgX+jhBApRetaWpnDabOeTcnA==", - "dev": true, - "bin": { - "jsesc": "bin/jsesc" - } - }, - "node_modules/resolve": { - "version": "1.22.8", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz", - "integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==", - "dev": true, - "dependencies": { - "is-core-module": "^2.13.0", - "path-parse": "^1.0.7", - "supports-preserve-symlinks-flag": "^1.0.0" - }, - "bin": { - "resolve": "bin/resolve" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "node": ">=0.10.0" } }, "node_modules/resolve-from": { @@ -4754,25 +3633,36 @@ "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } }, "node_modules/reusify": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", - "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.1.0.tgz", + "integrity": "sha512-g6QUff04oZpHs0eG5p83rFLhHeV00ug/Yf9nZM6fLeUrPguBTkTQOdpAWWspMh55TZfVQDPaN3NQJfbVRAxdIw==", "dev": true, + "license": "MIT", "engines": { "iojs": ">=1.0.0", "node": ">=0.10.0" } }, + "node_modules/rfdc": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/rfdc/-/rfdc-1.4.1.tgz", + "integrity": "sha512-q1b3N5QkRUWUl7iyylaaj3kOpIT0N2i9MqIEQXP73GVsN9cw3fdx8X63cEmWhJGi2PPCF23Ijp7ktmd39rawIA==", + "dev": true, + "license": "MIT" + }, "node_modules/rimraf": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "deprecated": "Rimraf versions prior to v4 are no longer supported", "dev": true, + "license": "ISC", "dependencies": { "glob": "^7.1.3" }, @@ -4784,89 +3674,51 @@ } }, "node_modules/rollup": { - "version": "2.79.1", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.79.1.tgz", - "integrity": "sha512-uKxbd0IhMZOhjAiD5oAFp7BqvkA4Dv47qpOCtaNvng4HBwdbWtdOh8f5nZNuk2rp51PMGk3bzfWu5oayNEuYnw==", + "version": "4.64.0", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.64.0.tgz", + "integrity": "sha512-gjA/kFeDfffII8COoPsvLPvE16hWDTEc1+0QKQNKUkuV8iJjqsC4xXs8/FzuL0v9EV39kuxTbAgcFoTRyy2TGQ==", "dev": true, + "license": "MIT", + "dependencies": { + "@types/estree": "1.0.9" + }, "bin": { "rollup": "dist/bin/rollup" }, "engines": { - "node": ">=10.0.0" + "node": ">=18.0.0", + "npm": ">=8.0.0" }, "optionalDependencies": { + "@napi-rs/lzma-linux-x64-gnu": "1.5.1", + "@rollup/rollup-android-arm-eabi": "4.64.0", + "@rollup/rollup-android-arm64": "4.64.0", + "@rollup/rollup-darwin-arm64": "4.64.0", + "@rollup/rollup-darwin-x64": "4.64.0", + "@rollup/rollup-freebsd-arm64": "4.64.0", + "@rollup/rollup-freebsd-x64": "4.64.0", + "@rollup/rollup-linux-arm-gnueabihf": "4.64.0", + "@rollup/rollup-linux-arm-musleabihf": "4.64.0", + "@rollup/rollup-linux-arm64-gnu": "4.64.0", + "@rollup/rollup-linux-arm64-musl": "4.64.0", + "@rollup/rollup-linux-loong64-gnu": "4.64.0", + "@rollup/rollup-linux-loong64-musl": "4.64.0", + "@rollup/rollup-linux-ppc64-gnu": "4.64.0", + "@rollup/rollup-linux-ppc64-musl": "4.64.0", + "@rollup/rollup-linux-riscv64-gnu": "4.64.0", + "@rollup/rollup-linux-riscv64-musl": "4.64.0", + "@rollup/rollup-linux-s390x-gnu": "4.64.0", + "@rollup/rollup-linux-x64-gnu": "4.64.0", + "@rollup/rollup-linux-x64-musl": "4.64.0", + "@rollup/rollup-openbsd-x64": "4.64.0", + "@rollup/rollup-openharmony-arm64": "4.64.0", + "@rollup/rollup-win32-arm64-msvc": "4.64.0", + "@rollup/rollup-win32-ia32-msvc": "4.64.0", + "@rollup/rollup-win32-x64-gnu": "4.64.0", + "@rollup/rollup-win32-x64-msvc": "4.64.0", "fsevents": "~2.3.2" } }, - "node_modules/rollup-plugin-scss": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/rollup-plugin-scss/-/rollup-plugin-scss-3.0.0.tgz", - "integrity": "sha512-UldNaNHEon2a5IusHvj/Nnwc7q13YDvbFxz5pfNbHBNStxGoUNyM+0XwAA/UafJ1u8XRPGdBMrhWFthrrGZdWQ==", - "dev": true, - "dependencies": { - "rollup-pluginutils": "^2.3.3" - } - }, - "node_modules/rollup-plugin-terser": { - "version": "7.0.2", - "resolved": "https://registry.npmjs.org/rollup-plugin-terser/-/rollup-plugin-terser-7.0.2.tgz", - "integrity": "sha512-w3iIaU4OxcF52UUXiZNsNeuXIMDvFrr+ZXK6bFZ0Q60qyVfq4uLptoS4bbq3paG3x216eQllFZX7zt6TIImguQ==", - "deprecated": "This package has been deprecated and is no longer maintained. Please use @rollup/plugin-terser", - "dev": true, - "dependencies": { - "@babel/code-frame": "^7.10.4", - "jest-worker": "^26.2.1", - "serialize-javascript": "^4.0.0", - "terser": "^5.0.0" - }, - "peerDependencies": { - "rollup": "^2.0.0" - } - }, - "node_modules/rollup-plugin-typescript": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/rollup-plugin-typescript/-/rollup-plugin-typescript-1.0.1.tgz", - "integrity": "sha512-rwJDNn9jv/NsKZuyBb/h0jsclP4CJ58qbvZt2Q9zDIGILF2LtdtvCqMOL+Gq9IVq5MTrTlHZNrn8h7VjQgd8tw==", - "deprecated": "This package has been deprecated and is no longer maintained. Please use @rollup/plugin-typescript.", - "dev": true, - "dependencies": { - "resolve": "^1.10.0", - "rollup-pluginutils": "^2.5.0" - }, - "peerDependencies": { - "tslib": "*", - "typescript": ">=2.1.0" - } - }, - "node_modules/rollup-plugin-vue": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/rollup-plugin-vue/-/rollup-plugin-vue-6.0.0.tgz", - "integrity": "sha512-oVvUd84d5u73M2HYM3XsMDLtZRIA/tw2U0dmHlXU2UWP5JARYHzh/U9vcxaN/x/9MrepY7VH3pHFeOhrWpxs/Q==", - "dev": true, - "dependencies": { - "debug": "^4.1.1", - "hash-sum": "^2.0.0", - "rollup-pluginutils": "^2.8.2" - }, - "peerDependencies": { - "@vue/compiler-sfc": "*" - } - }, - "node_modules/rollup-pluginutils": { - "version": "2.8.2", - "resolved": "https://registry.npmjs.org/rollup-pluginutils/-/rollup-pluginutils-2.8.2.tgz", - "integrity": "sha512-EEp9NhnUkwY8aif6bxgovPHMoMoNr2FulJziTndpt5H9RdwC47GSGuII9XxpSdzVGM0GWrNPHV6ie1LTNJPaLQ==", - "dev": true, - "dependencies": { - "estree-walker": "^0.6.1" - } - }, - "node_modules/rollup-pluginutils/node_modules/estree-walker": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-0.6.1.tgz", - "integrity": "sha512-SqmZANLWS0mnatqbSfRP5g8OXZC12Fgg1IwNtLsyHDzJizORW4khDfjPqJZsemPWBB2uqykUah5YpQ6epsqC/w==", - "dev": true - }, "node_modules/run-parallel": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", @@ -4885,64 +3737,23 @@ "type": "consulting", "url": "https://feross.org/support" } - ], - "dependencies": { - "queue-microtask": "^1.2.2" - } - }, - "node_modules/safe-buffer": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] - }, - "node_modules/sass": { - "version": "1.69.5", - "resolved": "https://registry.npmjs.org/sass/-/sass-1.69.5.tgz", - "integrity": "sha512-qg2+UCJibLr2LCVOt3OlPhr/dqVHWOa9XtZf2OjbLs/T4VPSJ00udtgJxH3neXZm+QqX8B+3cU7RaLqp1iVfcQ==", - "dev": true, + ], + "license": "MIT", "dependencies": { - "chokidar": ">=3.0.0 <4.0.0", - "immutable": "^4.0.0", - "source-map-js": ">=0.6.2 <2.0.0" - }, - "bin": { - "sass": "sass.js" - }, - "engines": { - "node": ">=14.0.0" + "queue-microtask": "^1.2.2" } }, "node_modules/semver": { - "version": "6.3.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", - "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "version": "7.8.5", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.5.tgz", + "integrity": "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==", "dev": true, + "license": "ISC", "bin": { "semver": "bin/semver.js" - } - }, - "node_modules/serialize-javascript": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-4.0.0.tgz", - "integrity": "sha512-GaNA54380uFefWghODBWEGisLZFj00nS5ACs6yHa9nLqlLpVLO8ChDGeKRjZnV4Nh4n0Qi7nhYZD/9fCPzEqkw==", - "dev": true, - "dependencies": { - "randombytes": "^2.1.0" + }, + "engines": { + "node": ">=10" } }, "node_modules/shebang-command": { @@ -4950,6 +3761,7 @@ "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", "dev": true, + "license": "MIT", "dependencies": { "shebang-regex": "^3.0.0" }, @@ -4962,63 +3774,44 @@ "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } }, - "node_modules/slash": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", - "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "node_modules/source-map-js": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.2.tgz", + "integrity": "sha512-KGj/8Y43x35aZVDtt+J4mK1hoLGHULMYfSkODJNQjNDC3oW1PqPoxMwo0pLUsWM/UEGzON/NxeHywEfNXNP3Vw==", "dev": true, + "license": "BSD-3-Clause", "engines": { "node": ">=0.10.0" } }, - "node_modules/source-map-js": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz", - "integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==", + "node_modules/speakingurl": { + "version": "14.0.1", + "resolved": "https://registry.npmjs.org/speakingurl/-/speakingurl-14.0.1.tgz", + "integrity": "sha512-1POYv7uv2gXoyGFpBCmpDVSNV74IfsWlDW216UPjbWufNf+bSU6GdbDsxdcxtfwb4xlI3yxzOTKClUosxARYrQ==", + "dev": true, + "license": "BSD-3-Clause", "engines": { "node": ">=0.10.0" } }, - "node_modules/source-map-support": { - "version": "0.5.21", - "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", - "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==", - "dev": true, - "dependencies": { - "buffer-from": "^1.0.0", - "source-map": "^0.6.0" - } - }, - "node_modules/sourcemap-codec": { - "version": "1.4.8", - "resolved": "https://registry.npmjs.org/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz", - "integrity": "sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==", - "deprecated": "Please use @jridgewell/sourcemap-codec instead", - "dev": true - }, "node_modules/sprintf-js": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", - "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==" + "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==", + "dev": true, + "license": "BSD-3-Clause" }, "node_modules/strip-ansi": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", "dev": true, + "license": "MIT", "dependencies": { "ansi-regex": "^5.0.1" }, @@ -5031,6 +3824,7 @@ "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" }, @@ -5038,86 +3832,90 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "node_modules/style-mod": { + "version": "4.1.4", + "resolved": "https://registry.npmjs.org/style-mod/-/style-mod-4.1.4.tgz", + "integrity": "sha512-XXWIQt633/EpAFx8aZDOTjBzrCaGmhvEQlQo6MVPfa2OzO2cWo+4hV9h+6UkHYlXGfy+ODXKUdP7Pthmcu5ATw==", "dev": true, + "license": "MIT" + }, + "node_modules/superjson": { + "version": "2.2.6", + "resolved": "https://registry.npmjs.org/superjson/-/superjson-2.2.6.tgz", + "integrity": "sha512-H+ue8Zo4vJmV2nRjpx86P35lzwDT3nItnIsocgumgr0hHMQ+ZGq5vrERg9kJBo5AWGmxZDhzDo+WVIJqkB0cGA==", + "dev": true, + "license": "MIT", "dependencies": { - "has-flag": "^3.0.0" + "copy-anything": "^4" }, "engines": { - "node": ">=4" + "node": ">=16" } }, - "node_modules/supports-preserve-symlinks-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", - "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", + "node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "dev": true, - "engines": { - "node": ">= 0.4" + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "engines": { + "node": ">=8" } }, - "node_modules/terser": { - "version": "5.24.0", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.24.0.tgz", - "integrity": "sha512-ZpGR4Hy3+wBEzVEnHvstMvqpD/nABNelQn/z2r0fjVWGQsN3bpOLzQlqDxmb4CDZnXq5lpjnQ+mHQLAOpfM5iw==", + "node_modules/tailwindcss": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-4.3.3.tgz", + "integrity": "sha512-gOhV3P7ufE62QDGg1zVaTgCR+EtPv92k2nIhVcVKcLmxT1sUBsQGhnZj175j+MqRt4zLF7ic+sCYjfhxMxj7YQ==", "dev": true, - "dependencies": { - "@jridgewell/source-map": "^0.3.3", - "acorn": "^8.8.2", - "commander": "^2.20.0", - "source-map-support": "~0.5.20" - }, - "bin": { - "terser": "bin/terser" - }, + "license": "MIT" + }, + "node_modules/tapable": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.3.3.tgz", + "integrity": "sha512-uxc/zpqFg6x7C8vOE7lh6Lbda8eEL9zmVm/PLeTPBRhh1xCgdWaQ+J1CUieGpIfm2HdtsUpRv+HshiasBMcc6A==", + "dev": true, + "license": "MIT", "engines": { - "node": ">=10" + "node": ">=6" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" } }, "node_modules/text-table": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==", - "dev": true - }, - "node_modules/to-fast-properties": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", - "integrity": "sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==", "dev": true, - "engines": { - "node": ">=4" - } + "license": "MIT" }, - "node_modules/to-regex-range": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", - "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "node_modules/tinyglobby": { + "version": "0.2.17", + "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.17.tgz", + "integrity": "sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g==", "dev": true, + "license": "MIT", "dependencies": { - "is-number": "^7.0.0" + "fdir": "^6.5.0", + "picomatch": "^4.0.4" }, "engines": { - "node": ">=8.0" + "node": ">=12.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/SuperchupuDev" } }, - "node_modules/tslib": { - "version": "2.6.2", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", - "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==", - "dev": true - }, "node_modules/type-check": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", "dev": true, + "license": "MIT", "dependencies": { "prelude-ls": "^1.2.1" }, @@ -5126,110 +3924,24 @@ } }, "node_modules/type-fest": { - "version": "4.6.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.6.0.tgz", - "integrity": "sha512-rLjWJzQFOq4xw7MgJrCZ6T1jIOvvYElXT12r+y0CC6u67hegDHaxcPqb2fZHOGlqxugGQPNB1EnTezjBetkwkw==", + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", + "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", + "dev": true, + "license": "(MIT OR CC0-1.0)", "engines": { - "node": ">=16" + "node": ">=10" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/typescript": { - "version": "4.7.4", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.7.4.tgz", - "integrity": "sha512-C0WQT0gezHuw6AdY1M2jxUO83Rjf0HP7Sk1DtXj6j1EwkQNZrHAg2XPWlq62oqEhYvONq5pkC2Y9oPljWToLmQ==", - "devOptional": true, - "bin": { - "tsc": "bin/tsc", - "tsserver": "bin/tsserver" - }, - "engines": { - "node": ">=4.2.0" - } - }, - "node_modules/undici-types": { - "version": "5.26.5", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", - "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==", - "dev": true - }, - "node_modules/unicode-canonical-property-names-ecmascript": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz", - "integrity": "sha512-yY5PpDlfVIU5+y/BSCxAJRBIS1Zc2dDG3Ujq+sR0U+JjUevW2JhocOF+soROYDSaAezOzOKuyyixhD6mBknSmQ==", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/unicode-match-property-ecmascript": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/unicode-match-property-ecmascript/-/unicode-match-property-ecmascript-2.0.0.tgz", - "integrity": "sha512-5kaZCrbp5mmbz5ulBkDkbY0SsPOjKqVS35VpL9ulMPfSl0J0Xsm+9Evphv9CoIZFwre7aJoa94AY6seMKGVN5Q==", - "dev": true, - "dependencies": { - "unicode-canonical-property-names-ecmascript": "^2.0.0", - "unicode-property-aliases-ecmascript": "^2.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/unicode-match-property-value-ecmascript": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-2.1.0.tgz", - "integrity": "sha512-qxkjQt6qjg/mYscYMC0XKRn3Rh0wFPlfxB0xkt9CfyTvpX1Ra0+rAmdX2QyAobptSEvuy4RtpPRui6XkV+8wjA==", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/unicode-property-aliases-ecmascript": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-2.1.0.tgz", - "integrity": "sha512-6t3foTQI9qne+OZoVQB/8x8rk2k1eVy1gRXhV3oFQ5T6R1dqQ1xtin3XqSlx3+ATBkliTaR/hHyJBm+LVPNM8w==", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/update-browserslist-db": { - "version": "1.0.13", - "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.13.tgz", - "integrity": "sha512-xebP81SNcPuNpPP3uzeW1NYXxI3rxyJzF3pD6sH4jE7o/IX+WtSpwnVU+qIsDPyk0d3hmFQ7mjqc6AtV604hbg==", - "dev": true, - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/browserslist" - }, - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], - "dependencies": { - "escalade": "^3.1.1", - "picocolors": "^1.0.0" - }, - "bin": { - "update-browserslist-db": "cli.js" - }, - "peerDependencies": { - "browserslist": ">= 4.21.0" - } - }, "node_modules/uri-js": { "version": "4.4.1", "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { "punycode": "^2.1.0" } @@ -5238,114 +3950,123 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/vee-validate": { - "version": "4.11.8", - "resolved": "https://registry.npmjs.org/vee-validate/-/vee-validate-4.11.8.tgz", - "integrity": "sha512-ZuVpw0axWYBM3aVTD/bm94hcWHumqeUgNjptOqfBT0gyqyHaGYCrm0tSD/0bygEbWUDwEPJOQaEKaUGM82j8TQ==", + "version": "4.15.1", + "resolved": "https://registry.npmjs.org/vee-validate/-/vee-validate-4.15.1.tgz", + "integrity": "sha512-DkFsiTwEKau8VIxyZBGdO6tOudD+QoUBPuHj3e6QFqmbfCRj1ArmYWue9lEp6jLSWBIw4XPlDLjFIZNLdRAMSg==", + "dev": true, + "license": "MIT", "dependencies": { - "@vue/devtools-api": "^6.5.0", - "type-fest": "^4.3.1" + "@vue/devtools-api": "^7.5.2", + "type-fest": "^4.8.3" }, "peerDependencies": { - "vue": "^3.3.4" + "vue": "^3.4.26" + } + }, + "node_modules/vee-validate/node_modules/type-fest": { + "version": "4.41.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.41.0.tgz", + "integrity": "sha512-TeTSQ6H5YHvpqVwBRcnLDCBnDOHWYu7IvGbHT6N8AOymcr9PJGjc1GTtiWZTYg0NCgYwvnYWEkVChQAr9bjfwA==", + "dev": true, + "license": "(MIT OR CC0-1.0)", + "engines": { + "node": ">=16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/vite": { - "version": "2.9.16", - "resolved": "https://registry.npmjs.org/vite/-/vite-2.9.16.tgz", - "integrity": "sha512-X+6q8KPyeuBvTQV8AVSnKDvXoBMnTx8zxh54sOwmmuOdxkjMmEJXH2UEchA+vTMps1xw9vL64uwJOWryULg7nA==", + "version": "7.3.7", + "resolved": "https://registry.npmjs.org/vite/-/vite-7.3.7.tgz", + "integrity": "sha512-AHEzTORMbi7/7aXp7w7KZ5+DCUdSeLsJz0grY8xHpc9DHdYb0vQu6DqJfm2tOw3gDExNgPgnJTXxM6syYFHaCA==", "dev": true, + "license": "MIT", "dependencies": { - "esbuild": "^0.14.27", - "postcss": "^8.4.13", - "resolve": "^1.22.0", - "rollup": ">=2.59.0 <2.78.0" + "esbuild": "^0.27.0 || ^0.28.0", + "fdir": "^6.5.0", + "picomatch": "^4.0.3", + "postcss": "^8.5.6", + "rollup": "^4.43.0", + "tinyglobby": "^0.2.15" }, "bin": { "vite": "bin/vite.js" }, "engines": { - "node": ">=12.2.0" + "node": "^20.19.0 || >=22.12.0" + }, + "funding": { + "url": "https://github.com/vitejs/vite?sponsor=1" }, "optionalDependencies": { - "fsevents": "~2.3.2" + "fsevents": "~2.3.3" }, "peerDependencies": { - "less": "*", - "sass": "*", - "stylus": "*" + "@types/node": "^20.19.0 || >=22.12.0", + "jiti": ">=1.21.0", + "less": "^4.0.0", + "lightningcss": "^1.21.0", + "sass": "^1.70.0", + "sass-embedded": "^1.70.0", + "stylus": ">=0.54.8", + "sugarss": "^5.0.0", + "terser": "^5.16.0", + "tsx": "^4.8.1", + "yaml": "^2.4.2" }, "peerDependenciesMeta": { + "@types/node": { + "optional": true + }, + "jiti": { + "optional": true + }, "less": { "optional": true }, + "lightningcss": { + "optional": true + }, "sass": { "optional": true }, + "sass-embedded": { + "optional": true + }, "stylus": { "optional": true + }, + "sugarss": { + "optional": true + }, + "terser": { + "optional": true + }, + "tsx": { + "optional": true + }, + "yaml": { + "optional": true } } }, - "node_modules/vite/node_modules/rollup": { - "version": "2.77.3", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.77.3.tgz", - "integrity": "sha512-/qxNTG7FbmefJWoeeYJFbHehJ2HNWnjkAFRKzWN/45eNBBF/r8lo992CwcJXEzyVxs5FmfId+vTSTQDb+bxA+g==", - "dev": true, - "bin": { - "rollup": "dist/bin/rollup" - }, - "engines": { - "node": ">=10.0.0" - }, - "optionalDependencies": { - "fsevents": "~2.3.2" - } - }, - "node_modules/vscode-jsonrpc": { - "version": "8.2.0", - "resolved": "https://registry.npmjs.org/vscode-jsonrpc/-/vscode-jsonrpc-8.2.0.tgz", - "integrity": "sha512-C+r0eKJUIfiDIfwJhria30+TYWPtuHJXHtI7J0YlOmKAo7ogxP20T0zxB7HZQIFhIyvoBPwWskjxrvAtfjyZfA==", - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/vscode-languageserver-protocol": { - "version": "3.17.5", - "resolved": "https://registry.npmjs.org/vscode-languageserver-protocol/-/vscode-languageserver-protocol-3.17.5.tgz", - "integrity": "sha512-mb1bvRJN8SVznADSGWM9u/b07H7Ecg0I3OgXDuLdn307rl/J3A9YD6/eYOssqhecL27hK1IPZAsaqh00i/Jljg==", - "dependencies": { - "vscode-jsonrpc": "8.2.0", - "vscode-languageserver-types": "3.17.5" - } - }, - "node_modules/vscode-languageserver-textdocument": { - "version": "1.0.11", - "resolved": "https://registry.npmjs.org/vscode-languageserver-textdocument/-/vscode-languageserver-textdocument-1.0.11.tgz", - "integrity": "sha512-X+8T3GoiwTVlJbicx/sIAF+yuJAqz8VvwJyoMVhwEMoEKE/fkDmrqUgDMyBECcM2A2frVZIUj5HI/ErRXCfOeA==" - }, - "node_modules/vscode-languageserver-types": { - "version": "3.17.5", - "resolved": "https://registry.npmjs.org/vscode-languageserver-types/-/vscode-languageserver-types-3.17.5.tgz", - "integrity": "sha512-Ld1VelNuX9pdF39h2Hgaeb5hEZM2Z3jUrrMgWQAu82jMtZp7p3vJT3BzToKtZI7NgQssZje5o0zryOrhQvzQAg==" - }, - "node_modules/vscode-uri": { - "version": "3.0.8", - "resolved": "https://registry.npmjs.org/vscode-uri/-/vscode-uri-3.0.8.tgz", - "integrity": "sha512-AyFQ0EVmsOZOlAnxoFOGOq1SQDWAB7C6aqMGS23svWAllfOaxbuFvcT8D1i8z3Gyn8fraVeZNNmN6e9bxxXkKw==" - }, "node_modules/vue": { - "version": "3.3.7", - "resolved": "https://registry.npmjs.org/vue/-/vue-3.3.7.tgz", - "integrity": "sha512-YEMDia1ZTv1TeBbnu6VybatmSteGOS3A3YgfINOfraCbf85wdKHzscD6HSS/vB4GAtI7sa1XPX7HcQaJ1l24zA==", + "version": "3.5.43", + "resolved": "https://registry.npmjs.org/vue/-/vue-3.5.43.tgz", + "integrity": "sha512-o5qZoksdnjIKvW1srZ3ab7pcDNYAerBjRe54D0LBLfRdCYFrSgBHVXokMas35czQc0//lmx4/tuY4ZNQ+Rf2Ng==", + "dev": true, + "license": "MIT", "dependencies": { - "@vue/compiler-dom": "3.3.7", - "@vue/compiler-sfc": "3.3.7", - "@vue/runtime-dom": "3.3.7", - "@vue/server-renderer": "3.3.7", - "@vue/shared": "3.3.7" + "@vue/compiler-dom": "3.5.43", + "@vue/compiler-sfc": "3.5.43", + "@vue/runtime-dom": "3.5.43", + "@vue/server-renderer": "3.5.43", + "@vue/shared": "3.5.43" }, "peerDependencies": { "typescript": "*" @@ -5357,21 +4078,22 @@ } }, "node_modules/vue-eslint-parser": { - "version": "8.3.0", - "resolved": "https://registry.npmjs.org/vue-eslint-parser/-/vue-eslint-parser-8.3.0.tgz", - "integrity": "sha512-dzHGG3+sYwSf6zFBa0Gi9ZDshD7+ad14DGOdTLjruRVgZXe2J+DcZ9iUhyR48z5g1PqRa20yt3Njna/veLJL/g==", + "version": "9.4.3", + "resolved": "https://registry.npmjs.org/vue-eslint-parser/-/vue-eslint-parser-9.4.3.tgz", + "integrity": "sha512-2rYRLWlIpaiN8xbPiDyXZXRgLGOtWxERV7ND5fFAv5qo1D2N9Fu9MNajBNc6o13lZ+24DAWCkQCvj4klgmcITg==", "dev": true, + "license": "MIT", "dependencies": { - "debug": "^4.3.2", - "eslint-scope": "^7.0.0", - "eslint-visitor-keys": "^3.1.0", - "espree": "^9.0.0", + "debug": "^4.3.4", + "eslint-scope": "^7.1.1", + "eslint-visitor-keys": "^3.3.0", + "espree": "^9.3.1", "esquery": "^1.4.0", "lodash": "^4.17.21", - "semver": "^7.3.5" + "semver": "^7.3.6" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "^14.17.0 || >=16.0.0" }, "funding": { "url": "https://github.com/sponsors/mysticatea" @@ -5380,112 +4102,22 @@ "eslint": ">=6.0.0" } }, - "node_modules/vue-eslint-parser/node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/vue-eslint-parser/node_modules/semver": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", - "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", - "dev": true, - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/vue-eslint-parser/node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true - }, "node_modules/vue-resize": { "version": "2.0.0-alpha.1", "resolved": "https://registry.npmjs.org/vue-resize/-/vue-resize-2.0.0-alpha.1.tgz", "integrity": "sha512-7+iqOueLU7uc9NrMfrzbG8hwMqchfVfSzpVlCMeJQe4pyibqyoifDNbKTZvwxZKDvGkB+PdFeKvnGZMoEb8esg==", - "peerDependencies": { - "vue": "^3.0.0" - } - }, - "node_modules/vue-template-compiler": { - "version": "2.7.15", - "resolved": "https://registry.npmjs.org/vue-template-compiler/-/vue-template-compiler-2.7.15.tgz", - "integrity": "sha512-yQxjxMptBL7UAog00O8sANud99C6wJF+7kgbcwqkvA38vCGF7HWE66w0ZFnS/kX5gSoJr/PQ4/oS3Ne2pW37Og==", - "dev": true, - "dependencies": { - "de-indent": "^1.0.2", - "he": "^1.2.0" - } - }, - "node_modules/vue-tsc": { - "version": "1.8.22", - "resolved": "https://registry.npmjs.org/vue-tsc/-/vue-tsc-1.8.22.tgz", - "integrity": "sha512-j9P4kHtW6eEE08aS5McFZE/ivmipXy0JzrnTgbomfABMaVKx37kNBw//irL3+LlE3kOo63XpnRigyPC3w7+z+A==", "dev": true, - "dependencies": { - "@volar/typescript": "~1.10.5", - "@vue/language-core": "1.8.22", - "semver": "^7.5.4" - }, - "bin": { - "vue-tsc": "bin/vue-tsc.js" - }, + "license": "MIT", "peerDependencies": { - "typescript": "*" - } - }, - "node_modules/vue-tsc/node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/vue-tsc/node_modules/semver": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", - "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", - "dev": true, - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" + "vue": "^3.0.0" } }, - "node_modules/vue-tsc/node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true - }, "node_modules/vuex": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/vuex/-/vuex-4.1.0.tgz", "integrity": "sha512-hmV6UerDrPcgbSy9ORAtNXDr9M4wlNP4pEFKye4ujJF8oqgFFuxDCdOLS3eNoRTtq5O3hoBDh9Doj1bQMYHRbQ==", "dev": true, + "license": "MIT", "dependencies": { "@vue/devtools-api": "^6.0.0-beta.11" }, @@ -5493,11 +4125,26 @@ "vue": "^3.2.0" } }, + "node_modules/vuex/node_modules/@vue/devtools-api": { + "version": "6.6.4", + "resolved": "https://registry.npmjs.org/@vue/devtools-api/-/devtools-api-6.6.4.tgz", + "integrity": "sha512-sGhTPMuXqZ1rVOk32RylztWkfXTRhuS7vgAKv0zjqk8gbsHkJ7xfFf+jbySxt7tWObEJwyKaHMikV/WGDiQm8g==", + "dev": true, + "license": "MIT" + }, + "node_modules/w3c-keyname": { + "version": "2.2.8", + "resolved": "https://registry.npmjs.org/w3c-keyname/-/w3c-keyname-2.2.8.tgz", + "integrity": "sha512-dpojBhNsCNN7T82Tm7k26A6G9ML3NkhDsnw9n/eoxSRlVBB4CEtIQ/KTCLI2Fwf3ataSXRhYFkQi3SlnFwPvPQ==", + "dev": true, + "license": "MIT" + }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", "dev": true, + "license": "ISC", "dependencies": { "isexe": "^2.0.0" }, @@ -5508,24 +4155,47 @@ "node": ">= 8" } }, + "node_modules/word-wrap": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz", + "integrity": "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", - "dev": true + "dev": true, + "license": "ISC" }, - "node_modules/yallist": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", - "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==", - "dev": true + "node_modules/xml-name-validator": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/xml-name-validator/-/xml-name-validator-4.0.0.tgz", + "integrity": "sha512-ICP2e+jsHvAj2E2lIHxa5tjXRlKDJo4IdvPvCXbXQGdzSfmSpNVyIKMvoZHjDY9DP0zV17iI85o90vRFXNccRw==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=12" + } }, "node_modules/yaml": { - "version": "2.3.4", - "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.3.4.tgz", - "integrity": "sha512-8aAvwVUSHpfEqTQ4w/KMlf3HcRdt50E5ODIQJBw1fQ5RL34xabzxtUlzTXVqc4rkZsPbvrXKWnABCD7kWSmocA==", + "version": "2.9.1", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.9.1.tgz", + "integrity": "sha512-3NxN8+78OdzbT7C/WjGsyfPAtJaN3FNDsWxv7Y7mcDsT/oOmgW8BpyQQFFBnvZE3j9Y2Sdz1ULFLezL7Eb2yFw==", + "dev": true, + "license": "ISC", + "bin": { + "yaml": "bin.mjs" + }, "engines": { - "node": ">= 14" + "node": ">= 14.6" + }, + "funding": { + "url": "https://github.com/sponsors/eemeli" } }, "node_modules/yocto-queue": { @@ -5533,6 +4203,7 @@ "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", "dev": true, + "license": "MIT", "engines": { "node": ">=10" }, diff --git a/package.json b/package.json index 40dd6d8..f3f0c50 100644 --- a/package.json +++ b/package.json @@ -1,69 +1,47 @@ { "name": "@appscode/vue-openapi-form", "version": "1.2.0", - "main": "dist/vue-openapi-form.ssr.js", - "browser": "dist/vue-openapi-form.esm.js", - "module": "dist/vue-openapi-form.esm.js", - "unpkg": "dist/vue-openapi-form.min.js", + "main": "./dist/vue-openapi-form.umd.cjs", + "module": "./dist/vue-openapi-form.js", "scripts": { "dev": "vite", "build": "vite build", + "pkg": "MODE=lib vite build", + "build:lib": "MODE=lib vite build", "serve": "vite preview", - "lint": "eslint --fix --ext .ts,vue --ignore-path .gitignore .", - "pkg": "cross-env NODE_ENV=production rollup --config rollup.config.js", - "pkg:ssr": "cross-env NODE_ENV=production rollup --config rollup.config.js --format cjs", - "pkg:es": "cross-env NODE_ENV=production rollup --config rollup.config.js --format es", - "pkg:unpkg": "cross-env NODE_ENV=production rollup --config rollup.config.js --format iife", + "lint": "eslint --ext .js,.vue --ignore-path .gitignore src", "deploy": "firebase use default && firebase deploy" }, - "dependencies": { - "@appscode/design-system": "^2.6.0", - "@appscode/design-system-images": "0.0.13", - "@vee-validate/rules": "^4.5.11", - "bulma": "^0.9.4", - "bulma-checkradio": "^2.1.3", - "bulma-switch": "^2.0.4", - "bulma-tooltip": "^3.0.2", - "floating-vue": "^2.0.0-beta.15", - "font-awesome": "^4.7.0", - "js-yaml": "^3.14.1", - "monaco-editor": "^0.41.0", - "monaco-yaml": "^5.0.0", - "vee-validate": "^4.4.7", - "vue": "^3.0.5" - }, + "dependencies": {}, "devDependencies": { - "@babel/core": "^7.12.10", - "@babel/preset-env": "^7.13.5", - "@rollup/plugin-alias": "^3.1.1", - "@rollup/plugin-babel": "^5.2.2", - "@rollup/plugin-commonjs": "^17.0.0", - "@rollup/plugin-json": "^4.1.0", - "@rollup/plugin-node-resolve": "^11.0.1", - "@rollup/plugin-replace": "^2.3.4", - "@vitejs/plugin-vue": "^1.2.3", - "@vue/compiler-sfc": "^3.0.5", - "cross-env": "^7.0.3", - "eslint": "^8.13.0", + "@mohin4/design-system": "~0.0.4", + "@tailwindcss/vite": "^4.3.3", + "@vee-validate/rules": "^4.5.11", + "@vitejs/plugin-vue": "^6.0.3", + "eslint": "^8.57.0", "eslint-config-prettier": "^8.5.0", "eslint-plugin-html": "^6.2.0", - "eslint-plugin-vue": "^8.6.0", - "minimist": "^1.2.5", + "eslint-plugin-vue": "^9.23.0", + "floating-vue": "^2.0.0-beta.15", + "js-yaml": "^3.14.1", + "lucide-vue-next": "^1.0.0", "prettier": "2.6.2", - "rollup": "^2.23.0", - "rollup-plugin-scss": "^3.0.0", - "rollup-plugin-terser": "^7.0.2", - "rollup-plugin-typescript": "^1.0.1", - "rollup-plugin-vue": "^6.0.0", - "sass": "^1.50.0", - "tslib": "^2.5.3", - "typescript": "~4.7.0", - "vite": "^2.3.8", - "vue-tsc": "^1.0.9", - "vuex": "^4.0.2" + "tailwindcss": "^4.3.3", + "vee-validate": "^4.4.7", + "vite": "^7.3.1", + "vue": "^3.5.0", + "vuex": "^4.0.2", + "@fontsource-variable/geist": "^5.3.0", + "@fontsource-variable/geist-mono": "^5.3.0" }, "peerDependencies": { - "vue": "^3.0.5" + "@mohin4/design-system": "~0.0.4", + "@vee-validate/rules": "^4.5.11", + "floating-vue": "^2.0.0-beta.15", + "js-yaml": "^3.14.1", + "lucide-vue-next": "^1.0.0", + "vee-validate": "^4.4.7", + "vue": "^3.5.0" }, "engines": { "node": ">=22" @@ -84,5 +62,23 @@ "bugs": { "url": "https://github.com/appscode/vue-openapi-form/issues" }, - "homepage": "https://github.com/appscode/vue-openapi-form#readme" + "homepage": "https://github.com/appscode/vue-openapi-form#readme", + "type": "module", + "exports": { + ".": { + "import": "./dist/vue-openapi-form.js", + "require": "./dist/vue-openapi-form.umd.cjs" + }, + "./next.css": "./src/assets/vof-next.css" + }, + "files": [ + "dist", + "src" + ], + "sideEffects": [ + "*.css" + ], + "overrides": { + "vite": "^7.3.1" + } } diff --git a/rollup.config.js b/rollup.config.js deleted file mode 100644 index 484d390..0000000 --- a/rollup.config.js +++ /dev/null @@ -1,197 +0,0 @@ -// rollup.config.js -import fs from 'fs'; -import path from 'path'; -import vue from 'rollup-plugin-vue'; -import alias from '@rollup/plugin-alias'; -import commonjs from '@rollup/plugin-commonjs'; -import replace from '@rollup/plugin-replace'; -import resolve from '@rollup/plugin-node-resolve'; -import json from '@rollup/plugin-json'; -import babel from '@rollup/plugin-babel'; -import scss from 'rollup-plugin-scss'; -import { terser } from 'rollup-plugin-terser'; -import minimist from 'minimist'; -import typescript from 'rollup-plugin-typescript' - -// Get browserslist config and remove ie from es build targets -const esbrowserslist = fs - .readFileSync('./.browserslistrc') - .toString() - .split('\n') - .filter((entry) => entry && entry.substring(0, 2) !== 'ie'); - -const babelPresetEnvConfig = require('./babel.config').presets.filter( - (entry) => entry[0] === '@babel/preset-env' -)[0][1]; - -const argv = minimist(process.argv.slice(2)); - -const projectRoot = path.resolve(__dirname, ''); - -const baseConfig = { - input: 'src/entry.js', - plugins: { - preVue: [ - json(), - alias({ - entries: [ - { - find: '@', - replacement: `${path.resolve(projectRoot, 'src')}`, - }, - ], - }), - ], - replace: { - preventAssignment: true, - 'process.env.NODE_ENV': JSON.stringify('production'), - }, - vue: { - css: false, - template: { - isProduction: true, - }, - preprocessStyles: true, - preprocessOptions: { - scss: { - additionalData: `@import "@appscode/design-system/vue-components/styles/base/utilities/colors";`, - }, - }, - }, - postVue: [ - resolve({ - preferBuiltins: false, - extensions: ['.js', '.jsx', '.ts', '.tsx', '.vue'], - }), - commonjs(), - typescript(), - scss(), - ], - babel: { - exclude: 'node_modules/**', - extensions: ['.js', '.jsx', '.ts', '.tsx', '.vue'], - babelHelpers: 'bundled', - }, - }, -}; - -// ESM/UMD/IIFE shared settings: externals -// Refer to https://rollupjs.org/guide/en/#warning-treating-module-as-external-dependency -const external = [ - // list external dependencies, exactly the way it is written in the import statement. - // eg. 'jquery' - 'vue', - "qs", - "monaco-editor", -]; - -// UMD/IIFE shared settings: output.globals -// Refer to https://rollupjs.org/guide/en#output-globals for details -const globals = { - // Provide global variable names to replace your external imports - // eg. jquery: '$' - vue: 'Vue', - qs: 'qs', - 'monaco-editor': 'monaco', -}; - -// Customize configs for individual targets -const buildFormats = []; -if (!argv.format || argv.format === 'es') { - const esConfig = { - ...baseConfig, - external, - output: { - compact: true, - dir: 'dist', - format: 'esm', - name: 'VueOpenapiForm', - entryFileNames: 'vue-openapi-form.esm.js', - exports: 'named', - globals, - }, - plugins: [ - replace(baseConfig.plugins.replace), - ...baseConfig.plugins.preVue, - vue(baseConfig.plugins.vue), - ...baseConfig.plugins.postVue, - babel({ - ...baseConfig.plugins.babel, - presets: [ - [ - '@babel/preset-env', - { - ...babelPresetEnvConfig, - targets: esbrowserslist, - }, - ], - ], - }), - terser(), - ], - }; - buildFormats.push(esConfig); -} - -if (!argv.format || argv.format === 'cjs') { - const umdConfig = { - ...baseConfig, - external, - output: { - compact: true, - dir: 'dist', - format: 'cjs', - name: 'VueOpenapiForm', - entryFileNames: 'vue-openapi-form.[format].js', - exports: 'named', - globals, - }, - plugins: [ - replace(baseConfig.plugins.replace), - ...baseConfig.plugins.preVue, - vue({ - ...baseConfig.plugins.vue, - template: { - ...baseConfig.plugins.vue.template, - optimizeSSR: true, - }, - }), - ...baseConfig.plugins.postVue, - babel({ ...baseConfig.plugins.babel }), - terser(), - ], - }; - buildFormats.push(umdConfig); -} - -if (!argv.format || argv.format === 'iife') { - const unpkgConfig = { - ...baseConfig, - external, - output: { - compact: true, - file: 'dist/vue-openapi-form.min.js', - inlineDynamicImports: true, - format: 'iife', - name: 'VueOpenapiForm', - exports: 'named', - globals, - }, - plugins: [ - replace(baseConfig.plugins.replace), - ...baseConfig.plugins.preVue, - vue(baseConfig.plugins.vue), - ...baseConfig.plugins.postVue, - babel({ ...baseConfig.plugins.babel }), - terser({ - output: { - ecma: 5, - }, - }), - ], - }; - buildFormats.push(unpkgConfig); -} - -// Export config -export default buildFormats; diff --git a/src/App.vue b/src/App.vue index 4056b0f..05440ef 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,107 +1,83 @@