From 1ea959bd54708d889aa0d8d9d9e2df0cfcd90d32 Mon Sep 17 00:00:00 2001 From: WebDevNerdStuff Date: Wed, 6 Dec 2023 19:01:36 -0800 Subject: [PATCH 01/16] Trying to fix ts stuff that's a bit out of my knowledge --- src/plugin/types/index.ts | 22 ++++++++++++++++++++++ src/plugin/types/inline-fields.d.ts | 21 --------------------- 2 files changed, 22 insertions(+), 21 deletions(-) delete mode 100644 src/plugin/types/inline-fields.d.ts diff --git a/src/plugin/types/index.ts b/src/plugin/types/index.ts index 0fd8d77..a9ca729 100644 --- a/src/plugin/types/index.ts +++ b/src/plugin/types/index.ts @@ -17,6 +17,16 @@ import type { } from 'vuetify/components'; import type { IconOptions, ThemeInstance } from 'vuetify'; import type { EventBusKey } from '@vueuse/core'; +import type { + VInlineCheckbox, + VInlineCustomField, + VInlineSelect, + VInlineSwitch, + VInlineTextField, + VInlineTextarea, +} from '../'; + +export * from '../index'; // -------------------------------------------------- Misc // @@ -463,3 +473,15 @@ export interface UseTruthyModelValue { } ): boolean; } + + +declare module 'vue' { + export interface GlobalComponents { + VInlineCheckbox: typeof VInlineCheckbox; + VInlineCustomField: typeof VInlineCustomField; + VInlineSelect: typeof VInlineSelect; + VInlineSwitch: typeof VInlineSwitch; + VInlineTextField: typeof VInlineTextField; + VInlineTextarea: typeof VInlineTextarea; + } +} diff --git a/src/plugin/types/inline-fields.d.ts b/src/plugin/types/inline-fields.d.ts deleted file mode 100644 index 6817205..0000000 --- a/src/plugin/types/inline-fields.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { - VInlineCheckbox, - VInlineCustomField, - VInlineSelect, - VInlineSwitch, - VInlineTextField, - VInlineTextarea, -} from '../'; - -export * from '../index'; - -declare module "vue" { - interface GlobalComponents { - VInlineCheckbox: typeof VInlineCheckbox; - VInlineCustomField: typeof VInlineCustomField; - VInlineSelect: typeof VInlineSelect; - VInlineSwitch: typeof VInlineSwitch; - VInlineTextField: typeof VInlineTextField; - VInlineTextarea: typeof VInlineTextarea; - } -} From 7720fc0f599795e769ef098bc208a996a0ee0a8b Mon Sep 17 00:00:00 2001 From: WebDevNerdStuff Date: Thu, 7 Dec 2023 16:02:49 -0800 Subject: [PATCH 02/16] Add vitest --- package.json | 6 +- pnpm-lock.yaml | 951 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 956 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 02713ac..81a26ba 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,8 @@ "deploy": "gh-pages -d docs", "prepublishOnly": "npm run build", "lint": "eslint src/**/*.{ts,vue} --max-warnings 20", - "prepare": "husky install" + "prepare": "husky install", + "test:unit": "vitest" }, "lint-staged": { "src/**/*.{js,ts,vue}": [ @@ -88,6 +89,7 @@ "@vue/cli-service": "^5.0.8", "@vue/compiler-sfc": "^3.3.10", "@vue/eslint-config-typescript": "^12.0.0", + "@vue/test-utils": "^2.4.3", "@wdns/vue-code-block": "^2.3.1", "autoprefixer": "^10.4.16", "eslint": "^8.55.0", @@ -97,6 +99,7 @@ "eslint-plugin-vue": "^9.19.2", "gh-pages": "^6.1.0", "husky": "^8.0.3", + "jsdom": "^23.0.1", "lint-staged": "^15.2.0", "miragejs": "^0.1.48", "pinia": "^2.1.7", @@ -126,6 +129,7 @@ "vite-plugin-static-copy": "^0.17.1", "vite-plugin-stylelint": "^5.2.1", "vite-plugin-vuetify": "^1.0.2", + "vitest": "^1.0.2", "vue-tsc": "^1.8.25", "webfontloader": "^1.6.28" } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a7f936d..40accd1 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -67,6 +67,9 @@ devDependencies: '@vue/eslint-config-typescript': specifier: ^12.0.0 version: 12.0.0(eslint-plugin-vue@9.19.2)(eslint@8.55.0)(typescript@5.3.3) + '@vue/test-utils': + specifier: ^2.4.3 + version: 2.4.3(vue@3.3.10) '@wdns/vue-code-block': specifier: ^2.3.1 version: 2.3.1(typescript@5.3.3) @@ -94,6 +97,9 @@ devDependencies: husky: specifier: ^8.0.3 version: 8.0.3 + jsdom: + specifier: ^23.0.1 + version: 23.0.1 lint-staged: specifier: ^15.2.0 version: 15.2.0 @@ -181,6 +187,9 @@ devDependencies: vite-plugin-vuetify: specifier: ^1.0.2 version: 1.0.2(vite@4.5.0)(vue@3.3.10)(vuetify@3.4.6) + vitest: + specifier: ^1.0.2 + version: 1.0.2(@types/node@20.10.3)(jsdom@23.0.1)(sass@1.69.5) vue-tsc: specifier: ^1.8.25 version: 1.8.25(typescript@5.3.3) @@ -491,6 +500,15 @@ packages: requiresBuild: true optional: true + /@esbuild/android-arm64@0.19.8: + resolution: {integrity: sha512-B8JbS61bEunhfx8kasogFENgQfr/dIp+ggYXwTqdbMAgGDhRa3AaPpQMuQU0rNxDLECj6FhDzk1cF9WHMVwrtA==} + engines: {node: '>=12'} + cpu: [arm64] + os: [android] + requiresBuild: true + dev: true + optional: true + /@esbuild/android-arm@0.18.20: resolution: {integrity: sha512-fyi7TDI/ijKKNZTUJAQqiG5T7YjJXgnzkURqmGj13C6dCqckZBLdl4h7bkhHt/t0WP+zO9/zwroDvANaOqO5Sw==} engines: {node: '>=12'} @@ -499,6 +517,15 @@ packages: requiresBuild: true optional: true + /@esbuild/android-arm@0.19.8: + resolution: {integrity: sha512-31E2lxlGM1KEfivQl8Yf5aYU/mflz9g06H6S15ITUFQueMFtFjESRMoDSkvMo8thYvLBax+VKTPlpnx+sPicOA==} + engines: {node: '>=12'} + cpu: [arm] + os: [android] + requiresBuild: true + dev: true + optional: true + /@esbuild/android-x64@0.18.20: resolution: {integrity: sha512-8GDdlePJA8D6zlZYJV/jnrRAi6rOiNaCC/JclcXpB+KIuvfBN4owLtgzY2bsxnx666XjJx2kDPUmnTtR8qKQUg==} engines: {node: '>=12'} @@ -507,6 +534,15 @@ packages: requiresBuild: true optional: true + /@esbuild/android-x64@0.19.8: + resolution: {integrity: sha512-rdqqYfRIn4jWOp+lzQttYMa2Xar3OK9Yt2fhOhzFXqg0rVWEfSclJvZq5fZslnz6ypHvVf3CT7qyf0A5pM682A==} + engines: {node: '>=12'} + cpu: [x64] + os: [android] + requiresBuild: true + dev: true + optional: true + /@esbuild/darwin-arm64@0.18.20: resolution: {integrity: sha512-bxRHW5kHU38zS2lPTPOyuyTm+S+eobPUnTNkdJEfAddYgEcll4xkT8DB9d2008DtTbl7uJag2HuE5NZAZgnNEA==} engines: {node: '>=12'} @@ -515,6 +551,15 @@ packages: requiresBuild: true optional: true + /@esbuild/darwin-arm64@0.19.8: + resolution: {integrity: sha512-RQw9DemMbIq35Bprbboyf8SmOr4UXsRVxJ97LgB55VKKeJOOdvsIPy0nFyF2l8U+h4PtBx/1kRf0BelOYCiQcw==} + engines: {node: '>=12'} + cpu: [arm64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + /@esbuild/darwin-x64@0.18.20: resolution: {integrity: sha512-pc5gxlMDxzm513qPGbCbDukOdsGtKhfxD1zJKXjCCcU7ju50O7MeAZ8c4krSJcOIJGFR+qx21yMMVYwiQvyTyQ==} engines: {node: '>=12'} @@ -523,6 +568,15 @@ packages: requiresBuild: true optional: true + /@esbuild/darwin-x64@0.19.8: + resolution: {integrity: sha512-3sur80OT9YdeZwIVgERAysAbwncom7b4bCI2XKLjMfPymTud7e/oY4y+ci1XVp5TfQp/bppn7xLw1n/oSQY3/Q==} + engines: {node: '>=12'} + cpu: [x64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + /@esbuild/freebsd-arm64@0.18.20: resolution: {integrity: sha512-yqDQHy4QHevpMAaxhhIwYPMv1NECwOvIpGCZkECn8w2WFHXjEwrBn3CeNIYsibZ/iZEUemj++M26W3cNR5h+Tw==} engines: {node: '>=12'} @@ -531,6 +585,15 @@ packages: requiresBuild: true optional: true + /@esbuild/freebsd-arm64@0.19.8: + resolution: {integrity: sha512-WAnPJSDattvS/XtPCTj1tPoTxERjcTpH6HsMr6ujTT+X6rylVe8ggxk8pVxzf5U1wh5sPODpawNicF5ta/9Tmw==} + engines: {node: '>=12'} + cpu: [arm64] + os: [freebsd] + requiresBuild: true + dev: true + optional: true + /@esbuild/freebsd-x64@0.18.20: resolution: {integrity: sha512-tgWRPPuQsd3RmBZwarGVHZQvtzfEBOreNuxEMKFcd5DaDn2PbBxfwLcj4+aenoh7ctXcbXmOQIn8HI6mCSw5MQ==} engines: {node: '>=12'} @@ -539,6 +602,15 @@ packages: requiresBuild: true optional: true + /@esbuild/freebsd-x64@0.19.8: + resolution: {integrity: sha512-ICvZyOplIjmmhjd6mxi+zxSdpPTKFfyPPQMQTK/w+8eNK6WV01AjIztJALDtwNNfFhfZLux0tZLC+U9nSyA5Zg==} + engines: {node: '>=12'} + cpu: [x64] + os: [freebsd] + requiresBuild: true + dev: true + optional: true + /@esbuild/linux-arm64@0.18.20: resolution: {integrity: sha512-2YbscF+UL7SQAVIpnWvYwM+3LskyDmPhe31pE7/aoTMFKKzIc9lLbyGUpmmb8a8AixOL61sQ/mFh3jEjHYFvdA==} engines: {node: '>=12'} @@ -547,6 +619,15 @@ packages: requiresBuild: true optional: true + /@esbuild/linux-arm64@0.19.8: + resolution: {integrity: sha512-z1zMZivxDLHWnyGOctT9JP70h0beY54xDDDJt4VpTX+iwA77IFsE1vCXWmprajJGa+ZYSqkSbRQ4eyLCpCmiCQ==} + engines: {node: '>=12'} + cpu: [arm64] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@esbuild/linux-arm@0.18.20: resolution: {integrity: sha512-/5bHkMWnq1EgKr1V+Ybz3s1hWXok7mDFUMQ4cG10AfW3wL02PSZi5kFpYKrptDsgb2WAJIvRcDm+qIvXf/apvg==} engines: {node: '>=12'} @@ -555,6 +636,15 @@ packages: requiresBuild: true optional: true + /@esbuild/linux-arm@0.19.8: + resolution: {integrity: sha512-H4vmI5PYqSvosPaTJuEppU9oz1dq2A7Mr2vyg5TF9Ga+3+MGgBdGzcyBP7qK9MrwFQZlvNyJrvz6GuCaj3OukQ==} + engines: {node: '>=12'} + cpu: [arm] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@esbuild/linux-ia32@0.18.20: resolution: {integrity: sha512-P4etWwq6IsReT0E1KHU40bOnzMHoH73aXp96Fs8TIT6z9Hu8G6+0SHSw9i2isWrD2nbx2qo5yUqACgdfVGx7TA==} engines: {node: '>=12'} @@ -563,6 +653,15 @@ packages: requiresBuild: true optional: true + /@esbuild/linux-ia32@0.19.8: + resolution: {integrity: sha512-1a8suQiFJmZz1khm/rDglOc8lavtzEMRo0v6WhPgxkrjcU0LkHj+TwBrALwoz/OtMExvsqbbMI0ChyelKabSvQ==} + engines: {node: '>=12'} + cpu: [ia32] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@esbuild/linux-loong64@0.18.20: resolution: {integrity: sha512-nXW8nqBTrOpDLPgPY9uV+/1DjxoQ7DoB2N8eocyq8I9XuqJ7BiAMDMf9n1xZM9TgW0J8zrquIb/A7s3BJv7rjg==} engines: {node: '>=12'} @@ -571,6 +670,15 @@ packages: requiresBuild: true optional: true + /@esbuild/linux-loong64@0.19.8: + resolution: {integrity: sha512-fHZWS2JJxnXt1uYJsDv9+b60WCc2RlvVAy1F76qOLtXRO+H4mjt3Tr6MJ5l7Q78X8KgCFudnTuiQRBhULUyBKQ==} + engines: {node: '>=12'} + cpu: [loong64] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@esbuild/linux-mips64el@0.18.20: resolution: {integrity: sha512-d5NeaXZcHp8PzYy5VnXV3VSd2D328Zb+9dEq5HE6bw6+N86JVPExrA6O68OPwobntbNJ0pzCpUFZTo3w0GyetQ==} engines: {node: '>=12'} @@ -579,6 +687,15 @@ packages: requiresBuild: true optional: true + /@esbuild/linux-mips64el@0.19.8: + resolution: {integrity: sha512-Wy/z0EL5qZYLX66dVnEg9riiwls5IYnziwuju2oUiuxVc+/edvqXa04qNtbrs0Ukatg5HEzqT94Zs7J207dN5Q==} + engines: {node: '>=12'} + cpu: [mips64el] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@esbuild/linux-ppc64@0.18.20: resolution: {integrity: sha512-WHPyeScRNcmANnLQkq6AfyXRFr5D6N2sKgkFo2FqguP44Nw2eyDlbTdZwd9GYk98DZG9QItIiTlFLHJHjxP3FA==} engines: {node: '>=12'} @@ -587,6 +704,15 @@ packages: requiresBuild: true optional: true + /@esbuild/linux-ppc64@0.19.8: + resolution: {integrity: sha512-ETaW6245wK23YIEufhMQ3HSeHO7NgsLx8gygBVldRHKhOlD1oNeNy/P67mIh1zPn2Hr2HLieQrt6tWrVwuqrxg==} + engines: {node: '>=12'} + cpu: [ppc64] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@esbuild/linux-riscv64@0.18.20: resolution: {integrity: sha512-WSxo6h5ecI5XH34KC7w5veNnKkju3zBRLEQNY7mv5mtBmrP/MjNBCAlsM2u5hDBlS3NGcTQpoBvRzqBcRtpq1A==} engines: {node: '>=12'} @@ -595,6 +721,15 @@ packages: requiresBuild: true optional: true + /@esbuild/linux-riscv64@0.19.8: + resolution: {integrity: sha512-T2DRQk55SgoleTP+DtPlMrxi/5r9AeFgkhkZ/B0ap99zmxtxdOixOMI570VjdRCs9pE4Wdkz7JYrsPvsl7eESg==} + engines: {node: '>=12'} + cpu: [riscv64] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@esbuild/linux-s390x@0.18.20: resolution: {integrity: sha512-+8231GMs3mAEth6Ja1iK0a1sQ3ohfcpzpRLH8uuc5/KVDFneH6jtAJLFGafpzpMRO6DzJ6AvXKze9LfFMrIHVQ==} engines: {node: '>=12'} @@ -603,6 +738,15 @@ packages: requiresBuild: true optional: true + /@esbuild/linux-s390x@0.19.8: + resolution: {integrity: sha512-NPxbdmmo3Bk7mbNeHmcCd7R7fptJaczPYBaELk6NcXxy7HLNyWwCyDJ/Xx+/YcNH7Im5dHdx9gZ5xIwyliQCbg==} + engines: {node: '>=12'} + cpu: [s390x] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@esbuild/linux-x64@0.18.20: resolution: {integrity: sha512-UYqiqemphJcNsFEskc73jQ7B9jgwjWrSayxawS6UVFZGWrAAtkzjxSqnoclCXxWtfwLdzU+vTpcNYhpn43uP1w==} engines: {node: '>=12'} @@ -611,6 +755,15 @@ packages: requiresBuild: true optional: true + /@esbuild/linux-x64@0.19.8: + resolution: {integrity: sha512-lytMAVOM3b1gPypL2TRmZ5rnXl7+6IIk8uB3eLsV1JwcizuolblXRrc5ShPrO9ls/b+RTp+E6gbsuLWHWi2zGg==} + engines: {node: '>=12'} + cpu: [x64] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@esbuild/netbsd-x64@0.18.20: resolution: {integrity: sha512-iO1c++VP6xUBUmltHZoMtCUdPlnPGdBom6IrO4gyKPFFVBKioIImVooR5I83nTew5UOYrk3gIJhbZh8X44y06A==} engines: {node: '>=12'} @@ -619,6 +772,15 @@ packages: requiresBuild: true optional: true + /@esbuild/netbsd-x64@0.19.8: + resolution: {integrity: sha512-hvWVo2VsXz/8NVt1UhLzxwAfo5sioj92uo0bCfLibB0xlOmimU/DeAEsQILlBQvkhrGjamP0/el5HU76HAitGw==} + engines: {node: '>=12'} + cpu: [x64] + os: [netbsd] + requiresBuild: true + dev: true + optional: true + /@esbuild/openbsd-x64@0.18.20: resolution: {integrity: sha512-e5e4YSsuQfX4cxcygw/UCPIEP6wbIL+se3sxPdCiMbFLBWu0eiZOJ7WoD+ptCLrmjZBK1Wk7I6D/I3NglUGOxg==} engines: {node: '>=12'} @@ -627,6 +789,15 @@ packages: requiresBuild: true optional: true + /@esbuild/openbsd-x64@0.19.8: + resolution: {integrity: sha512-/7Y7u77rdvmGTxR83PgaSvSBJCC2L3Kb1M/+dmSIvRvQPXXCuC97QAwMugBNG0yGcbEGfFBH7ojPzAOxfGNkwQ==} + engines: {node: '>=12'} + cpu: [x64] + os: [openbsd] + requiresBuild: true + dev: true + optional: true + /@esbuild/sunos-x64@0.18.20: resolution: {integrity: sha512-kDbFRFp0YpTQVVrqUd5FTYmWo45zGaXe0X8E1G/LKFC0v8x0vWrhOWSLITcCn63lmZIxfOMXtCfti/RxN/0wnQ==} engines: {node: '>=12'} @@ -635,6 +806,15 @@ packages: requiresBuild: true optional: true + /@esbuild/sunos-x64@0.19.8: + resolution: {integrity: sha512-9Lc4s7Oi98GqFA4HzA/W2JHIYfnXbUYgekUP/Sm4BG9sfLjyv6GKKHKKVs83SMicBF2JwAX6A1PuOLMqpD001w==} + engines: {node: '>=12'} + cpu: [x64] + os: [sunos] + requiresBuild: true + dev: true + optional: true + /@esbuild/win32-arm64@0.18.20: resolution: {integrity: sha512-ddYFR6ItYgoaq4v4JmQQaAI5s7npztfV4Ag6NrhiaW0RrnOXqBkgwZLofVTlq1daVTQNhtI5oieTvkRPfZrePg==} engines: {node: '>=12'} @@ -643,6 +823,15 @@ packages: requiresBuild: true optional: true + /@esbuild/win32-arm64@0.19.8: + resolution: {integrity: sha512-rq6WzBGjSzihI9deW3fC2Gqiak68+b7qo5/3kmB6Gvbh/NYPA0sJhrnp7wgV4bNwjqM+R2AApXGxMO7ZoGhIJg==} + engines: {node: '>=12'} + cpu: [arm64] + os: [win32] + requiresBuild: true + dev: true + optional: true + /@esbuild/win32-ia32@0.18.20: resolution: {integrity: sha512-Wv7QBi3ID/rROT08SABTS7eV4hX26sVduqDOTe1MvGMjNd3EjOz4b7zeexIR62GTIEKrfJXKL9LFxTYgkyeu7g==} engines: {node: '>=12'} @@ -651,6 +840,15 @@ packages: requiresBuild: true optional: true + /@esbuild/win32-ia32@0.19.8: + resolution: {integrity: sha512-AIAbverbg5jMvJznYiGhrd3sumfwWs8572mIJL5NQjJa06P8KfCPWZQ0NwZbPQnbQi9OWSZhFVSUWjjIrn4hSw==} + engines: {node: '>=12'} + cpu: [ia32] + os: [win32] + requiresBuild: true + dev: true + optional: true + /@esbuild/win32-x64@0.18.20: resolution: {integrity: sha512-kTdfRcSiDfQca/y9QIkng02avJ+NCaQvrMejlsB3RRv5sE9rRoeBPISaZpKxHELzRxZyLvNts1P27W3wV+8geQ==} engines: {node: '>=12'} @@ -659,6 +857,15 @@ packages: requiresBuild: true optional: true + /@esbuild/win32-x64@0.19.8: + resolution: {integrity: sha512-bfZ0cQ1uZs2PqpulNL5j/3w+GDhP36k1K5c38QdQg+Swy51jFZWWeIkteNsufkQxp986wnqRRsb/bHbY1WQ7TA==} + engines: {node: '>=12'} + cpu: [x64] + os: [win32] + requiresBuild: true + dev: true + optional: true + /@eslint-community/eslint-utils@4.4.0(eslint@8.55.0): resolution: {integrity: sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -774,6 +981,25 @@ packages: resolution: {integrity: sha512-dvuCeX5fC9dXgJn9t+X5atfmgQAzUOWqS1254Gh0m6i8wKd10ebXkfNKiRK+1GWi/yTvvLDHpoxLr0xxxeslWw==} dev: true + /@isaacs/cliui@8.0.2: + resolution: {integrity: sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==} + engines: {node: '>=12'} + dependencies: + string-width: 5.1.2 + string-width-cjs: /string-width@4.2.3 + strip-ansi: 7.1.0 + strip-ansi-cjs: /strip-ansi@6.0.1 + wrap-ansi: 8.1.0 + wrap-ansi-cjs: /wrap-ansi@7.0.0 + dev: true + + /@jest/schemas@29.6.3: + resolution: {integrity: sha512-mo5j5X+jIZmJQveBKeS/clAueipV7KgiX1vMgCxam1RNYiqE1w62n0/tJJnHtjW8ZHcQco5gY85jA3mi0L+nSA==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + dependencies: + '@sinclair/typebox': 0.27.8 + dev: true + /@jridgewell/gen-mapping@0.3.3: resolution: {integrity: sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==} engines: {node: '>=6.0.0'} @@ -893,6 +1119,17 @@ packages: fastq: 1.15.0 dev: true + /@one-ini/wasm@0.1.1: + resolution: {integrity: sha512-XuySG1E38YScSJoMlqovLru4KTUNSjgVTIjyh7qMX6aNN5HY5Ct5LhRJdxO79JtTzKfzV/bnWpz+zquYrISsvw==} + dev: true + + /@pkgjs/parseargs@0.11.0: + resolution: {integrity: sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==} + engines: {node: '>=14'} + requiresBuild: true + dev: true + optional: true + /@pkgr/utils@2.4.2: resolution: {integrity: sha512-POgTXhjrTfbTV63DiFXav4lBHiICLKKwDeaKn9Nphwj7WH6m0hMMCaJkMyRWjgtPFyRKRVoMXXjczsTQRDEhYw==} engines: {node: ^12.20.0 || ^14.18.0 || >=16.0.0} @@ -1157,6 +1394,10 @@ packages: resolution: {integrity: sha512-RNiOoTPkptFtSVzQevY/yWtZwf/RxyVnPy/OcA9HBM3MlGDnBEYL5B41H0MTn0Uec8Hi+2qUtTfG2WWZBmMejQ==} dev: true + /@sinclair/typebox@0.27.8: + resolution: {integrity: sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==} + dev: true + /@soda/friendly-errors-webpack-plugin@1.8.1(webpack@5.82.1): resolution: {integrity: sha512-h2ooWqP8XuFqTXT+NyAFbrArzfQA7R6HTezADrvD9Re8fxMLTPPniLdqVTdDaO0eIoLaAwKT+d6w+5GeTk7Vbg==} engines: {node: '>=8.0.0'} @@ -1513,6 +1754,44 @@ packages: vue: 3.3.10(typescript@5.3.3) dev: true + /@vitest/expect@1.0.2: + resolution: {integrity: sha512-mAIo/8uddSWkjQMLFcjqZP3WmkwvvN0OtlyZIu33jFnwme3vZds8m8EDMxtj+Uzni2DwtPfHNjJcTM8zTV1f4A==} + dependencies: + '@vitest/spy': 1.0.2 + '@vitest/utils': 1.0.2 + chai: 4.3.10 + dev: true + + /@vitest/runner@1.0.2: + resolution: {integrity: sha512-ZcHJXPT2kg/9Hc4fNkCbItlsgZSs3m4vQbxB8LCSdzpbG85bExCmSvu6K9lWpMNdoKfAr1Jn0BwS9SWUcGnbTQ==} + dependencies: + '@vitest/utils': 1.0.2 + p-limit: 5.0.0 + pathe: 1.1.1 + dev: true + + /@vitest/snapshot@1.0.2: + resolution: {integrity: sha512-9ClDz2/aV5TfWA4reV7XR9p+hE0e7bifhwxlURugj3Fw0YXeTFzHmKCNEHd6wOIFMfthbGGwhlq7TOJ2jDO4/g==} + dependencies: + magic-string: 0.30.5 + pathe: 1.1.1 + pretty-format: 29.7.0 + dev: true + + /@vitest/spy@1.0.2: + resolution: {integrity: sha512-YlnHmDntp+zNV3QoTVFI5EVHV0AXpiThd7+xnDEbWnD6fw0TH/J4/+3GFPClLimR39h6nA5m0W4Bjm5Edg4A/A==} + dependencies: + tinyspy: 2.2.0 + dev: true + + /@vitest/utils@1.0.2: + resolution: {integrity: sha512-GPQkGHAnFAP/+seSbB9pCsj339yRrMgILoI5H2sPevTLCYgBq0VRjF8QSllmnQyvf0EontF6KUIt2t5s2SmqoQ==} + dependencies: + diff-sequences: 29.6.3 + loupe: 2.3.7 + pretty-format: 29.7.0 + dev: true + /@volar/language-core@1.11.1: resolution: {integrity: sha512-dOcNn3i9GgZAcJt43wuaEykSluAuOkQgzni1cuxLxTV0nJKanQztp7FxyswdRILaKH+P2XZMPRp2S4MV/pElCw==} dependencies: @@ -1939,6 +2218,20 @@ packages: /@vue/shared@3.3.10: resolution: {integrity: sha512-2y3Y2J1a3RhFa0WisHvACJR2ncvWiVHcP8t0Inxo+NKz+8RKO4ZV8eZgCxRgQoA6ITfV12L4E6POOL9HOU5nqw==} + /@vue/test-utils@2.4.3(vue@3.3.10): + resolution: {integrity: sha512-F4K7mF+ad++VlTrxMJVRnenKSJmO6fkQt2wpRDiKDesQMkfpniGWsqEi/JevxGBo2qEkwwjvTUAoiGJLNx++CA==} + peerDependencies: + '@vue/server-renderer': ^3.0.1 + vue: ^3.0.1 + peerDependenciesMeta: + '@vue/server-renderer': + optional: true + dependencies: + js-beautify: 1.14.11 + vue: 3.3.10(typescript@5.3.3) + vue-component-type-helpers: 1.8.25 + dev: true + /@vue/web-component-wrapper@1.3.0: resolution: {integrity: sha512-Iu8Tbg3f+emIIMmI2ycSI8QcEuAUgPTgHwesDU1eKMLE4YC/c/sFbGc70QgMq31ijRftV0R7vCm9co6rldCeOA==} dev: true @@ -2101,6 +2394,11 @@ packages: resolution: {integrity: sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==} dev: true + /abbrev@2.0.0: + resolution: {integrity: sha512-6/mh1E2u2YgEsCHdY0Yx5oW+61gZU+1vXaoiHHrpKeuRNNgFvS+/jrwHiQhB5apAf5oB7UB7E19ol2R2LKH8hQ==} + engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} + dev: true + /accepts@1.3.8: resolution: {integrity: sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==} engines: {node: '>= 0.6'} @@ -2130,6 +2428,11 @@ packages: engines: {node: '>=0.4.0'} dev: true + /acorn-walk@8.3.1: + resolution: {integrity: sha512-TgUZgYvqZprrl7YldZNoa9OciCAyZR+Ejm9eXzKCmjsF5IKp/wgQ7Z/ZpjpGTIUPwrHQIcYeI8qDh4PsEwxMbw==} + engines: {node: '>=0.4.0'} + dev: true + /acorn@8.11.2: resolution: {integrity: sha512-nc0Axzp/0FILLEVsm4fNwLCwMttvhEI263QtVPQcbpfZZ3ts0hLsZGOpE6czNlid7CJ9MlyH8reXkpsf3YUY4w==} engines: {node: '>=0.4.0'} @@ -2147,6 +2450,15 @@ packages: engines: {node: '>= 10.0.0'} dev: true + /agent-base@7.1.0: + resolution: {integrity: sha512-o/zjMZRhJxny7OyEF+Op8X+efiELC7k7yOjMzgfzVqOzXqkBkWI79YoTdOtsuWd5BWhAGAuOY/Xa6xpiaWXiNg==} + engines: {node: '>= 14'} + dependencies: + debug: 4.3.4 + transitivePeerDependencies: + - supports-color + dev: true + /ajv-formats@2.1.1(ajv@8.12.0): resolution: {integrity: sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA==} peerDependencies: @@ -2240,6 +2552,11 @@ packages: color-convert: 2.0.1 dev: true + /ansi-styles@5.2.0: + resolution: {integrity: sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==} + engines: {node: '>=10'} + dev: true + /ansi-styles@6.2.1: resolution: {integrity: sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==} engines: {node: '>=12'} @@ -2362,6 +2679,10 @@ packages: engines: {node: '>=0.10.0'} dev: true + /assertion-error@1.1.0: + resolution: {integrity: sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==} + dev: true + /astral-regex@2.0.0: resolution: {integrity: sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==} engines: {node: '>=8'} @@ -2377,6 +2698,10 @@ packages: resolution: {integrity: sha512-baNZyqaaLhyLVKm/DlvdW051MSgO6b8eVfIezl9E5PqWxFgzLm/wQntEW4zOytVburDEr0JlALEpdOFwvErLsg==} dev: true + /asynckit@0.4.0: + resolution: {integrity: sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==} + dev: true + /at-least-node@1.0.0: resolution: {integrity: sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg==} engines: {node: '>= 4.0.0'} @@ -2569,6 +2894,11 @@ packages: engines: {node: '>= 0.8'} dev: true + /cac@6.7.14: + resolution: {integrity: sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==} + engines: {node: '>=8'} + dev: true + /call-bind@1.0.5: resolution: {integrity: sha512-C3nQxfFZxFRVoJoGKKI8y3MOEo129NQ+FgQ08iye+Mk4zNZZGdjfs06bVTr+DBSlA66Q2VEcMki/cUCP4SercQ==} dependencies: @@ -2626,6 +2956,19 @@ packages: engines: {node: '>=4'} dev: true + /chai@4.3.10: + resolution: {integrity: sha512-0UXG04VuVbruMUYbJ6JctvH0YnC/4q3/AkT18q4NaITo91CUm0liMS9VqzT9vZhVQ/1eqPanMWjBM+Juhfb/9g==} + engines: {node: '>=4'} + dependencies: + assertion-error: 1.1.0 + check-error: 1.0.3 + deep-eql: 4.1.3 + get-func-name: 2.0.2 + loupe: 2.3.7 + pathval: 1.1.1 + type-detect: 4.0.8 + dev: true + /chalk@2.4.2: resolution: {integrity: sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==} engines: {node: '>=4'} @@ -2656,6 +2999,12 @@ packages: engines: {node: ^12.17.0 || ^14.13 || >=16.0.0} dev: true + /check-error@1.0.3: + resolution: {integrity: sha512-iKEoDYaRmd1mxM90a2OEfWhjsjPpYPuQ+lMYsoxB126+t8fw7ySEO48nmDg5COTjxDI65/Y2OWpeEHk3ZOe8zg==} + dependencies: + get-func-name: 2.0.2 + dev: true + /chokidar@3.5.3: resolution: {integrity: sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==} engines: {node: '>= 8.10.0'} @@ -2798,6 +3147,18 @@ packages: engines: {node: '>=0.1.90'} dev: true + /combined-stream@1.0.8: + resolution: {integrity: sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==} + engines: {node: '>= 0.8'} + dependencies: + delayed-stream: 1.0.0 + dev: true + + /commander@10.0.1: + resolution: {integrity: sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug==} + engines: {node: '>=14'} + dev: true + /commander@11.1.0: resolution: {integrity: sha512-yPVavfyCcRhmorC7rWlkHn15b4wDVgVmBA7kV4QVBsF7kv/9TKJAbAXVTxvTnwP8HHKjRCJDClKbciiYS7p0DQ==} engines: {node: '>=16'} @@ -2863,6 +3224,13 @@ packages: source-map: 0.6.1 dev: true + /config-chain@1.1.13: + resolution: {integrity: sha512-qj+f8APARXHrM0hraqXYb2/bOVSV4PvJQlNZ/DVj0QrmNM2q2euizkeuVckQ57J+W0mRH6Hvi+k50M4Jul2VRQ==} + dependencies: + ini: 1.3.8 + proto-list: 1.2.4 + dev: true + /connect-history-api-fallback@2.0.0: resolution: {integrity: sha512-U73+6lQFmfiNPrYbXqr6kZ1i1wiRqXnp2nhMsINseWXO8lDau0LGEffJ8kQi4EjLZympVgRdvqjAgiZ1tgzDDA==} engines: {node: '>=0.8'} @@ -3297,9 +3665,24 @@ packages: css-tree: 1.1.3 dev: true + /cssstyle@3.0.0: + resolution: {integrity: sha512-N4u2ABATi3Qplzf0hWbVCdjenim8F3ojEXpBDF5hBpjzW182MjNGLqfmQ0SkSPeQ+V86ZXgeH8aXj6kayd4jgg==} + engines: {node: '>=14'} + dependencies: + rrweb-cssom: 0.6.0 + dev: true + /csstype@3.1.2: resolution: {integrity: sha512-I7K1Uu0MBPzaFKg4nI5Q7Vs2t+3gWWW648spaF+Rg7pI9ds18Ugn+lvg4SHczUdKlHI5LWBXyqfS8+DufyBsgQ==} + /data-urls@5.0.0: + resolution: {integrity: sha512-ZYP5VBHshaDAiVZxjbRVcFJpc+4xGgT0bK3vzy1HLN8jTO975HEbuYzZJcHoQEY5K1a0z8YayJkyVETa08eNTg==} + engines: {node: '>=18'} + dependencies: + whatwg-mimetype: 4.0.0 + whatwg-url: 14.0.0 + dev: true + /de-indent@1.0.2: resolution: {integrity: sha512-e/1zu3xH5MQryN2zdVaF0OrdNLUbvWxzMbi+iNA6Bky7l1RoP8a2fIbRocyHclXt/arDrrR6lL3TqFD9pMQTsg==} dev: true @@ -3355,6 +3738,17 @@ packages: engines: {node: '>=10'} dev: true + /decimal.js@10.4.3: + resolution: {integrity: sha512-VBBaLc1MgL5XpzgIP7ny5Z6Nx3UrRkIViUkPUdtl9aya5amy3De1gsUUSB1g3+3sExYNjCAsAznmukyxCb1GRA==} + dev: true + + /deep-eql@4.1.3: + resolution: {integrity: sha512-WaEtAOpRA1MQ0eohqZjpGD8zdI0Ovsm8mmFhaDN8dvDZzyoUMcYDnf5Y6iu7HTXxf8JDS23qWa4a+hKCDyOPzw==} + engines: {node: '>=6'} + dependencies: + type-detect: 4.0.8 + dev: true + /deep-is@0.1.4: resolution: {integrity: sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==} dev: true @@ -3428,6 +3822,11 @@ packages: object-keys: 1.1.1 dev: true + /delayed-stream@1.0.0: + resolution: {integrity: sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==} + engines: {node: '>=0.4.0'} + dev: true + /depd@1.1.2: resolution: {integrity: sha512-7emPTl6Dpo6JRXOXjLRxck+FlLRX5847cLKEn00PLAgc3g2hTZZgr+e4c2v6QpSmLeFP3n5yUo7ft6avBK/5jQ==} engines: {node: '>= 0.6'} @@ -3447,6 +3846,11 @@ packages: resolution: {integrity: sha512-T0NIuQpnTvFDATNuHN5roPwSBG83rFsuO+MXXH9/3N1eFbn4wcPjttvjMLEPWJ0RGUYgQE7cGgS3tNxbqCGM7g==} dev: true + /diff-sequences@29.6.3: + resolution: {integrity: sha512-EjePK1srD3P08o2j4f0ExnylqRs5B9tJjcp9t1krH2qRi8CCdsYfwe9JgSLurFBWwq4uOlipzfk5fHNvwFKr8Q==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + dev: true + /dir-glob@3.0.1: resolution: {integrity: sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==} engines: {node: '>=8'} @@ -3555,11 +3959,26 @@ packages: resolution: {integrity: sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg==} dev: true + /eastasianwidth@0.2.0: + resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==} + dev: true + /easy-stack@1.0.1: resolution: {integrity: sha512-wK2sCs4feiiJeFXn3zvY0p41mdU5VUgbgs1rNsc/y5ngFUijdWd+iIN8eoyuZHKB8xN6BL4PdWmzqFmxNg6V2w==} engines: {node: '>=6.0.0'} dev: true + /editorconfig@1.0.4: + resolution: {integrity: sha512-L9Qe08KWTlqYMVvMcTIvMAdl1cDUubzRNYL+WfA4bLDMHe4nemKkpmYzkznE1FwLKu0EEmy6obgQKzMJrg4x9Q==} + engines: {node: '>=14'} + hasBin: true + dependencies: + '@one-ini/wasm': 0.1.1 + commander: 10.0.1 + minimatch: 9.0.1 + semver: 7.5.4 + dev: true + /ee-first@1.1.1: resolution: {integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==} dev: true @@ -3588,6 +4007,10 @@ packages: resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==} dev: true + /emoji-regex@9.2.2: + resolution: {integrity: sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==} + dev: true + /emojis-list@3.0.0: resolution: {integrity: sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q==} engines: {node: '>= 4'} @@ -3735,6 +4158,36 @@ packages: '@esbuild/win32-ia32': 0.18.20 '@esbuild/win32-x64': 0.18.20 + /esbuild@0.19.8: + resolution: {integrity: sha512-l7iffQpT2OrZfH2rXIp7/FkmaeZM0vxbxN9KfiCwGYuZqzMg/JdvX26R31Zxn/Pxvsrg3Y9N6XTcnknqDyyv4w==} + engines: {node: '>=12'} + hasBin: true + requiresBuild: true + optionalDependencies: + '@esbuild/android-arm': 0.19.8 + '@esbuild/android-arm64': 0.19.8 + '@esbuild/android-x64': 0.19.8 + '@esbuild/darwin-arm64': 0.19.8 + '@esbuild/darwin-x64': 0.19.8 + '@esbuild/freebsd-arm64': 0.19.8 + '@esbuild/freebsd-x64': 0.19.8 + '@esbuild/linux-arm': 0.19.8 + '@esbuild/linux-arm64': 0.19.8 + '@esbuild/linux-ia32': 0.19.8 + '@esbuild/linux-loong64': 0.19.8 + '@esbuild/linux-mips64el': 0.19.8 + '@esbuild/linux-ppc64': 0.19.8 + '@esbuild/linux-riscv64': 0.19.8 + '@esbuild/linux-s390x': 0.19.8 + '@esbuild/linux-x64': 0.19.8 + '@esbuild/netbsd-x64': 0.19.8 + '@esbuild/openbsd-x64': 0.19.8 + '@esbuild/sunos-x64': 0.19.8 + '@esbuild/win32-arm64': 0.19.8 + '@esbuild/win32-ia32': 0.19.8 + '@esbuild/win32-x64': 0.19.8 + dev: true + /escalade@3.1.1: resolution: {integrity: sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==} engines: {node: '>=6'} @@ -4333,6 +4786,23 @@ packages: is-callable: 1.2.7 dev: true + /foreground-child@3.1.1: + resolution: {integrity: sha512-TMKDUnIte6bfb5nWv7V/caI169OHgvwjb7V4WkeUvbQQdjr5rWKqHFiKWb/fcOwB+CzBT+qbWjvj+DVwRskpIg==} + engines: {node: '>=14'} + dependencies: + cross-spawn: 7.0.3 + signal-exit: 4.1.0 + dev: true + + /form-data@4.0.0: + resolution: {integrity: sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==} + engines: {node: '>= 6'} + dependencies: + asynckit: 0.4.0 + combined-stream: 1.0.8 + mime-types: 2.1.35 + dev: true + /forwarded@0.2.0: resolution: {integrity: sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==} engines: {node: '>= 0.6'} @@ -4451,6 +4921,10 @@ packages: engines: {node: '>=18'} dev: true + /get-func-name@2.0.2: + resolution: {integrity: sha512-8vXOvuE167CtIc3OyItco7N/dpRtBbYOsPsXCz7X/PMnlGjYjSGuZJgM1Y7mmew7BKf9BqvLX2tnOVy1BBUsxQ==} + dev: true + /get-intrinsic@1.2.2: resolution: {integrity: sha512-0gSo4ml/0j98Y3lngkFEot/zhiCeWsbYIlZ+uZOVgzLyLaUw7wxUL+nCTP0XJvJg1AXulJRI3UJi8GsbDuxdGA==} dependencies: @@ -4521,6 +4995,18 @@ packages: resolution: {integrity: sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==} dev: true + /glob@10.3.10: + resolution: {integrity: sha512-fa46+tv1Ak0UPK1TOy/pZrIybNNt4HCv7SDzwyfiOZkvZLEbjsZkJBPtDHVshZjbecAoAGSC20MjLDG/qr679g==} + engines: {node: '>=16 || 14 >=14.17'} + hasBin: true + dependencies: + foreground-child: 3.1.1 + jackspeak: 2.3.6 + minimatch: 9.0.3 + minipass: 7.0.4 + path-scurry: 1.10.1 + dev: true + /glob@7.2.3: resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==} dependencies: @@ -4728,6 +5214,13 @@ packages: wbuf: 1.7.3 dev: true + /html-encoding-sniffer@4.0.0: + resolution: {integrity: sha512-Y22oTqIU4uuPgEemfz7NDJz6OeKf12Lsu+QC+s3BVpda64lTiMYCyGwg5ki4vFxkMwQdeZDl2adZoqUgdFuTgQ==} + engines: {node: '>=18'} + dependencies: + whatwg-encoding: 3.1.1 + dev: true + /html-entities@2.3.3: resolution: {integrity: sha512-DV5Ln36z34NNTDgnz0EWGBLZENelNAtkiFA4kyNOG2tDI6Mz1uSWiq1wAKdyjnJwyDiDO7Fa2SO1CTxPXL8VxA==} dev: true @@ -4812,6 +5305,16 @@ packages: resolution: {integrity: sha512-SGeBX54F94Wgu5RH3X5jsDtf4eHyRogWX1XGT3b4HuW3tQPM4AaBzoUji/4AAJNXCEOWZ5O0DgZmJw1947gD5Q==} dev: true + /http-proxy-agent@7.0.0: + resolution: {integrity: sha512-+ZT+iBxVUQ1asugqnD6oWoRiS25AkjNfG085dKJGtGxkdwLQrMKU5wJr2bOOFAXzKcTuqq+7fZlTMgG3SRfIYQ==} + engines: {node: '>= 14'} + dependencies: + agent-base: 7.1.0 + debug: 4.3.4 + transitivePeerDependencies: + - supports-color + dev: true + /http-proxy-middleware@2.0.6(@types/express@4.17.17)(debug@4.3.4): resolution: {integrity: sha512-ya/UeJ6HVBYxrgYotAZo1KvPWlgB48kUJLDePFeneHsVujFaW5WNj2NgWCAE//B1Dl02BIfYlpNgBy8Kf8Rjmw==} engines: {node: '>=12.0.0'} @@ -4842,6 +5345,16 @@ packages: - debug dev: true + /https-proxy-agent@7.0.2: + resolution: {integrity: sha512-NmLNjm6ucYwtcUmL7JQC1ZQ57LmHP4lT15FQ8D61nak1rO6DH+fz5qNK2Ap5UN4ZapYICE3/0KodcLYSPsPbaA==} + engines: {node: '>= 14'} + dependencies: + agent-base: 7.1.0 + debug: 4.3.4 + transitivePeerDependencies: + - supports-color + dev: true + /human-signals@2.1.0: resolution: {integrity: sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==} engines: {node: '>=10.17.0'} @@ -4870,6 +5383,13 @@ packages: safer-buffer: 2.1.2 dev: true + /iconv-lite@0.6.3: + resolution: {integrity: sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==} + engines: {node: '>=0.10.0'} + dependencies: + safer-buffer: 2.1.2 + dev: true + /icss-replace-symbols@1.1.0: resolution: {integrity: sha512-chIaY3Vh2mh2Q3RGXttaDIzeiPvaVXJ+C4DAh/w3c37SKZ/U6PGMmuicR2EQQp9bKG8zLMCl7I+PtIoOOPp8Gg==} dev: true @@ -5159,6 +5679,10 @@ packages: engines: {node: '>=0.10.0'} dev: true + /is-potential-custom-element-name@1.0.1: + resolution: {integrity: sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ==} + dev: true + /is-reference@1.2.1: resolution: {integrity: sha512-U82MsXXiFIrjCK4otLT+o2NA2Cd2g5MLoOVXUZjIOhLurrRxpEXzI8O0KZHr3IjLvlAH1kTPYSuqer5T9ZVBKQ==} dependencies: @@ -5250,6 +5774,15 @@ packages: engines: {node: '>=0.10.0'} dev: true + /jackspeak@2.3.6: + resolution: {integrity: sha512-N3yCS/NegsOBokc8GAdM8UcmfsKiSS8cipheD/nivzr700H+nsMOxJjQnvwOcRYVuFkdH0wGUvW2WbXGmrZGbQ==} + engines: {node: '>=14'} + dependencies: + '@isaacs/cliui': 8.0.2 + optionalDependencies: + '@pkgjs/parseargs': 0.11.0 + dev: true + /javascript-stringify@2.1.0: resolution: {integrity: sha512-JVAfqNPTvNq3sB/VHQJAFxN/sPgKnsKrCwyRt15zwNCdrMMJDdcEOdubuy+DuJYYdm0ox1J4uzEuYKkN+9yhVg==} dev: true @@ -5286,6 +5819,17 @@ packages: '@sideway/pinpoint': 2.0.0 dev: true + /js-beautify@1.14.11: + resolution: {integrity: sha512-rPogWqAfoYh1Ryqqh2agUpVfbxAhbjuN1SmU86dskQUKouRiggUTCO4+2ym9UPXllc2WAp0J+T5qxn7Um3lCdw==} + engines: {node: '>=14'} + hasBin: true + dependencies: + config-chain: 1.1.13 + editorconfig: 1.0.4 + glob: 10.3.10 + nopt: 7.2.0 + dev: true + /js-message@1.0.7: resolution: {integrity: sha512-efJLHhLjIyKRewNS9EGZ4UpI8NguuL6fKkhRxVuMmrGV2xN/0APGdQYwLFky5w9naebSZ0OwAGp0G6/2Cg90rA==} engines: {node: '>=0.6.0'} @@ -5306,6 +5850,42 @@ packages: argparse: 2.0.1 dev: true + /jsdom@23.0.1: + resolution: {integrity: sha512-2i27vgvlUsGEBO9+/kJQRbtqtm+191b5zAZrU/UezVmnC2dlDAFLgDYJvAEi94T4kjsRKkezEtLQTgsNEsW2lQ==} + engines: {node: '>=18'} + peerDependencies: + canvas: ^2.11.2 + peerDependenciesMeta: + canvas: + optional: true + dependencies: + cssstyle: 3.0.0 + data-urls: 5.0.0 + decimal.js: 10.4.3 + form-data: 4.0.0 + html-encoding-sniffer: 4.0.0 + http-proxy-agent: 7.0.0 + https-proxy-agent: 7.0.2 + is-potential-custom-element-name: 1.0.1 + nwsapi: 2.2.7 + parse5: 7.1.2 + rrweb-cssom: 0.6.0 + saxes: 6.0.0 + symbol-tree: 3.2.4 + tough-cookie: 4.1.3 + w3c-xmlserializer: 5.0.0 + webidl-conversions: 7.0.0 + whatwg-encoding: 3.1.1 + whatwg-mimetype: 4.0.0 + whatwg-url: 14.0.0 + ws: 8.14.2 + xml-name-validator: 5.0.0 + transitivePeerDependencies: + - bufferutil + - supports-color + - utf-8-validate + dev: true + /jsesc@2.5.2: resolution: {integrity: sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==} engines: {node: '>=4'} @@ -5574,12 +6154,23 @@ packages: wrap-ansi: 9.0.0 dev: true + /loupe@2.3.7: + resolution: {integrity: sha512-zSMINGVYkdpYSOBmLi0D1Uo7JU9nVdQKrHxC8eYlV+9YKK9WePqAlL7lSlorG/U2Fw1w0hTBmaa/jrQ3UbPHtA==} + dependencies: + get-func-name: 2.0.2 + dev: true + /lower-case@2.0.2: resolution: {integrity: sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==} dependencies: tslib: 2.6.2 dev: true + /lru-cache@10.1.0: + resolution: {integrity: sha512-/1clY/ui8CzjKFyjdvwPWJUYKiFVXG2I2cY0ssG7h4+hwk+XOIX7ZSG9Q7TW8TW3Kp3BUSqgFWBLgL4PJ+Blag==} + engines: {node: 14 || >=16.14} + dev: true + /lru-cache@4.1.5: resolution: {integrity: sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g==} dependencies: @@ -5761,6 +6352,13 @@ packages: brace-expansion: 2.0.1 dev: true + /minimatch@9.0.1: + resolution: {integrity: sha512-0jWhJpD/MdhPXwPuiRkCbfYfSKp2qnn2eOc279qI7f+osl/l+prKSrvhg157zSYvx/1nmgn2NqdT6k2Z7zSH9w==} + engines: {node: '>=16 || 14 >=14.17'} + dependencies: + brace-expansion: 2.0.1 + dev: true + /minimatch@9.0.3: resolution: {integrity: sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==} engines: {node: '>=16 || 14 >=14.17'} @@ -5788,6 +6386,11 @@ packages: yallist: 4.0.0 dev: true + /minipass@7.0.4: + resolution: {integrity: sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==} + engines: {node: '>=16 || 14 >=14.17'} + dev: true + /miragejs@0.1.48: resolution: {integrity: sha512-MGZAq0Q3OuRYgZKvlB69z4gLN4G3PvgC4A2zhkCXCXrLD5wm2cCnwNB59xOBVA+srZ0zEes6u+VylcPIkB4SqA==} engines: {node: 6.* || 8.* || >= 10.*} @@ -5912,6 +6515,14 @@ packages: resolution: {integrity: sha512-y10wOWt8yZpqXmOgRo77WaHEmhYQYGNA6y421PKsKYWEK8aW+cqAphborZDhqfyKrbZEN92CN1X2KbafY2s7Yw==} dev: true + /nopt@7.2.0: + resolution: {integrity: sha512-CVDtwCdhYIvnAzFoJ6NJ6dX3oga9/HyciQDnG1vQDjSLMeKLJ4A93ZqYKDrgYSr1FBY5/hMYC+2VCi24pgpkGA==} + engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} + hasBin: true + dependencies: + abbrev: 2.0.0 + dev: true + /normalize-package-data@2.5.0: resolution: {integrity: sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==} dependencies: @@ -5977,6 +6588,10 @@ packages: boolbase: 1.0.0 dev: true + /nwsapi@2.2.7: + resolution: {integrity: sha512-ub5E4+FBPKwAZx0UwIQOjYWGHTEq5sPqHQNRN8Z9e4A7u3Tj1weLJsL59yH9vmvqEtBHaOmT6cYQKIZOxp35FQ==} + dev: true + /object-assign@4.1.1: resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==} engines: {node: '>=0.10.0'} @@ -6144,6 +6759,13 @@ packages: yocto-queue: 0.1.0 dev: true + /p-limit@5.0.0: + resolution: {integrity: sha512-/Eaoq+QyLSiXQ4lyYV23f14mZRQcXnxfHrN0vCai+ak9G0pp9iEQukIIZq5NccEvwRB8PUnZT0KsOoDCINS1qQ==} + engines: {node: '>=18'} + dependencies: + yocto-queue: 1.0.0 + dev: true + /p-locate@4.1.0: resolution: {integrity: sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==} engines: {node: '>=8'} @@ -6222,6 +6844,12 @@ packages: resolution: {integrity: sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw==} dev: true + /parse5@7.1.2: + resolution: {integrity: sha512-Czj1WaSVpaoj0wbhMzLmWD69anp2WH7FXMB9n1Sy8/ZFF9jolSQVMu1Ij5WIyGmcBmhk7EOndpO4mIpihVqAXw==} + dependencies: + entities: 4.5.0 + dev: true + /parseurl@1.3.3: resolution: {integrity: sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==} engines: {node: '>= 0.8'} @@ -6266,6 +6894,14 @@ packages: resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==} dev: true + /path-scurry@1.10.1: + resolution: {integrity: sha512-MkhCqzzBEpPvxxQ71Md0b1Kk51W01lrYvlMzSUaIzNsODdd7mqhiimSZlr+VegAz5Z6Vzt9Xg2ttE//XBhH3EQ==} + engines: {node: '>=16 || 14 >=14.17'} + dependencies: + lru-cache: 10.1.0 + minipass: 7.0.4 + dev: true + /path-to-regexp@0.1.7: resolution: {integrity: sha512-5DFkuoqlv1uYQKxy8omFBeJPQcdoE07Kv2sferDCrAq1ohOU+MSDswDIbnx3YAM60qIOnYa53wBhXW0EbMonrQ==} dev: true @@ -6279,6 +6915,10 @@ packages: resolution: {integrity: sha512-d+RQGp0MAYTIaDBIMmOfMwz3E+LOZnxx1HZd5R18mmCZY0QBlK0LDZfPc8FW8Ed2DlvsuE6PRjroDY+wg4+j/Q==} dev: true + /pathval@1.1.1: + resolution: {integrity: sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==} + dev: true + /picocolors@0.2.1: resolution: {integrity: sha512-cMlDqaLEqfSaW8Z7N5Jw+lyIW869EzT73/F5lhtY9cLGoVxSXznfgfXMO0Z5K0o0Q2TkTXq+0KFsdnSe3jDViA==} dev: true @@ -6843,6 +7483,15 @@ packages: renderkid: 3.0.0 dev: true + /pretty-format@29.7.0: + resolution: {integrity: sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + dependencies: + '@jest/schemas': 29.6.3 + ansi-styles: 5.2.0 + react-is: 18.2.0 + dev: true + /prismjs@1.29.0: resolution: {integrity: sha512-Kx/1w86q/epKcmte75LNrEoT+lX8pBpavuAbvJWRXar7Hz8jrtF+e3vY751p0R8H9HdArwaCTNDDzHg/ScJK1Q==} engines: {node: '>=6'} @@ -6869,6 +7518,10 @@ packages: engines: {node: '>=0.12'} dev: true + /proto-list@1.2.4: + resolution: {integrity: sha512-vtK/94akxsTMhe0/cbfpR+syPuszcuwhqVjJq26CuNDgFGj682oRBXOP5MJpv2r7JtE8MsiepGIqvvOTBwn2vA==} + dev: true + /proxy-addr@2.0.7: resolution: {integrity: sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==} engines: {node: '>= 0.10'} @@ -6881,6 +7534,10 @@ packages: resolution: {integrity: sha512-b/YwNhb8lk1Zz2+bXXpS/LK9OisiZZ1SNsSLxN1x2OXVEhW2Ckr/7mWE5vrC1ZTiJlD9g19jWszTmJsB+oEpFQ==} dev: true + /psl@1.9.0: + resolution: {integrity: sha512-E/ZsdU4HLs/68gYzgGTkMicWTLPdAftJLfJFlLUAAKZGkStNU72sZjT66SnMDVOfOWY/YAoiD7Jxa9iHvngcag==} + dev: true + /pump@3.0.0: resolution: {integrity: sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==} dependencies: @@ -6893,6 +7550,11 @@ packages: engines: {node: '>=6'} dev: true + /punycode@2.3.1: + resolution: {integrity: sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==} + engines: {node: '>=6'} + dev: true + /qs@6.11.0: resolution: {integrity: sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q==} engines: {node: '>=0.6'} @@ -6900,6 +7562,10 @@ packages: side-channel: 1.0.4 dev: true + /querystringify@2.2.0: + resolution: {integrity: sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ==} + dev: true + /queue-microtask@1.2.3: resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==} dev: true @@ -6930,6 +7596,10 @@ packages: unpipe: 1.0.0 dev: true + /react-is@18.2.0: + resolution: {integrity: sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==} + dev: true + /read-pkg-up@7.0.1: resolution: {integrity: sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==} engines: {node: '>=8'} @@ -7224,6 +7894,10 @@ packages: resolution: {integrity: sha512-2+MhsfPhvauN1O8KaXpXAOfR/fwe8dnUXVM+xw7yt40lJRfPVQxV6yryZm0cgRvAj5fMF/mdRZbL2ptwbs5i2g==} dev: true + /rrweb-cssom@0.6.0: + resolution: {integrity: sha512-APM0Gt1KoXBz0iIkkdB/kfvGOwC4UuJFeG/c+yV7wSc7q96cG/kJ0HiYCnzivD9SB53cLV1MlHFNfOuPaadYSw==} + dev: true + /run-applescript@5.0.0: resolution: {integrity: sha512-XcT5rBksx1QdIhlFOCtgZkB99ZEouFZ1E2Kc2LHqNW13U3/74YGdkQRmThTwxy4QIyookibDKYZOPqX//6BlAg==} engines: {node: '>=12'} @@ -7280,6 +7954,13 @@ packages: immutable: 4.3.4 source-map-js: 1.0.2 + /saxes@6.0.0: + resolution: {integrity: sha512-xAg7SOnEhrm5zI3puOOKyy1OMcMlIJZYNJY7xLBwSze0UjhPLnWfj2GF2EpT0jmzaJKIWKHLsaSSajf35bcYnA==} + engines: {node: '>=v12.22.7'} + dependencies: + xmlchars: 2.2.0 + dev: true + /schema-utils@3.1.2: resolution: {integrity: sha512-pvjEHOgWc9OWA/f/DE3ohBWTD6EleVLf7iFUkoSwAxttdBhB9QUebQgxER2kWueOvRJXPHNnyrvvh9eZINB8Eg==} engines: {node: '>= 10.13.0'} @@ -7455,6 +8136,10 @@ packages: object-inspect: 1.12.3 dev: true + /siginfo@2.0.0: + resolution: {integrity: sha512-ybx0WO1/8bSBLEWXZvEd7gMW3Sn3JFlW3TvX1nREbDLRNQNaeNN8WK0meBwPdAaOI7TtRRRJn/Es1zhrrCHu7g==} + dev: true + /signal-exit@3.0.7: resolution: {integrity: sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==} dev: true @@ -7595,6 +8280,10 @@ packages: deprecated: 'Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility' dev: true + /stackback@0.0.2: + resolution: {integrity: sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw==} + dev: true + /stackframe@1.3.4: resolution: {integrity: sha512-oeVtt7eWQS+Na6F//S4kJ2K2VbRlS9D43mAlMyVpVWovy9o+jfgH8O9agzANzaiLjclA0oYzUXEM4PurhSUChw==} dev: true @@ -7609,6 +8298,10 @@ packages: engines: {node: '>= 0.8'} dev: true + /std-env@3.6.0: + resolution: {integrity: sha512-aFZ19IgVmhdB2uX599ve2kE6BIE3YMnQ6Gp6BURhW/oIzpXGKr878TQfAQZn1+i0Flcc/UKUy1gOlcfaUBCryg==} + dev: true + /string-argv@0.3.2: resolution: {integrity: sha512-aqD2Q0144Z+/RqG52NeHEkZauTAUWJO8c6yTftGJKO3Tja5tUgIfmIl6kExvhtxSDP7fXB6DvzkfMpCd/F3G+Q==} engines: {node: '>=0.6.19'} @@ -7635,6 +8328,15 @@ packages: strip-ansi: 6.0.1 dev: true + /string-width@5.1.2: + resolution: {integrity: sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==} + engines: {node: '>=12'} + dependencies: + eastasianwidth: 0.2.0 + emoji-regex: 9.2.2 + strip-ansi: 7.1.0 + dev: true + /string-width@7.0.0: resolution: {integrity: sha512-GPQHj7row82Hjo9hKZieKcHIhaAIKOJvFSIZXuCU9OASVZrMNUaZuz++SPVrBjnLsnk4k+z9f2EIypgxf2vNFw==} engines: {node: '>=18'} @@ -7915,6 +8617,10 @@ packages: stable: 0.1.8 dev: true + /symbol-tree@3.2.4: + resolution: {integrity: sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==} + dev: true + /synckit@0.8.5: resolution: {integrity: sha512-L1dapNV6vu2s/4Sputv8xGsCdAVlb5nRDMFU/E27D44l5U6cw1g0dGd45uLc+OXjNMmF4ntiMdCimzcjFKQI8Q==} engines: {node: ^14.18.0 || >=16.0.0} @@ -8009,6 +8715,20 @@ packages: resolution: {integrity: sha512-eHY7nBftgThBqOyHGVN+l8gF0BucP09fMo0oO/Lb0w1OF80dJv+lDVpXG60WMQvkcxAkNybKsrEIE3ZtKGmPrA==} dev: true + /tinybench@2.5.1: + resolution: {integrity: sha512-65NKvSuAVDP/n4CqH+a9w2kTlLReS9vhsAP06MWx+/89nMinJyB2icyl58RIcqCmIggpojIGeuJGhjU1aGMBSg==} + dev: true + + /tinypool@0.8.1: + resolution: {integrity: sha512-zBTCK0cCgRROxvs9c0CGK838sPkeokNGdQVUUwHAbynHFlmyJYj825f/oRs528HaIJ97lo0pLIlDUzwN+IorWg==} + engines: {node: '>=14.0.0'} + dev: true + + /tinyspy@2.2.0: + resolution: {integrity: sha512-d2eda04AN/cPOR89F7Xv5bK/jrQEhmcLFe6HFldoeO9AJtps+fqEnh486vnT/8y4bw38pSyxDcTCAq+Ks2aJTg==} + engines: {node: '>=14.0.0'} + dev: true + /titleize@3.0.0: resolution: {integrity: sha512-KxVu8EYHDPBdUYdKZdKtU2aj2XfEx9AfjXxE/Aj0vT06w2icA09Vus1rh6eSu1y01akYg6BjIK/hxyLJINoMLQ==} engines: {node: '>=12'} @@ -8034,10 +8754,27 @@ packages: engines: {node: '>=6'} dev: true + /tough-cookie@4.1.3: + resolution: {integrity: sha512-aX/y5pVRkfRnfmuX+OdbSdXvPe6ieKX/G2s7e98f4poJHnqH3281gDPm/metm6E/WRamfx7WC4HUqkWHfQHprw==} + engines: {node: '>=6'} + dependencies: + psl: 1.9.0 + punycode: 2.3.0 + universalify: 0.2.0 + url-parse: 1.5.10 + dev: true + /tr46@0.0.3: resolution: {integrity: sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==} dev: true + /tr46@5.0.0: + resolution: {integrity: sha512-tk2G5R2KRwBd+ZN0zaEXpmzdKyOYksXwywulIX95MBODjSzMIuQnQ3m8JxgbhnL1LeVo7lqQKsYa1O3Htl7K5g==} + engines: {node: '>=18'} + dependencies: + punycode: 2.3.1 + dev: true + /trim-newlines@4.1.1: resolution: {integrity: sha512-jRKj0n0jXWo6kh62nA5TEh3+4igKDXLvzBJcPpiizP7oOolUrYIxmVBG9TOtHYFHoddUk6YvAkGeGoSVTXfQXQ==} engines: {node: '>=12'} @@ -8079,6 +8816,11 @@ packages: prelude-ls: 1.2.1 dev: true + /type-detect@4.0.8: + resolution: {integrity: sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==} + engines: {node: '>=4'} + dev: true + /type-fest@0.20.2: resolution: {integrity: sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==} engines: {node: '>=10'} @@ -8204,6 +8946,11 @@ packages: engines: {node: '>= 4.0.0'} dev: true + /universalify@0.2.0: + resolution: {integrity: sha512-CJ1QgKmNg3CwvAv/kOFmtnEN05f0D/cn9QntgNOQlQF9dgvVTHj3t+8JPdjqawCHk7V/KA+fbUqzZ9XWhcqPUg==} + engines: {node: '>= 4.0.0'} + dev: true + /universalify@2.0.0: resolution: {integrity: sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==} engines: {node: '>= 10.0.0'} @@ -8301,6 +9048,13 @@ packages: punycode: 2.3.0 dev: true + /url-parse@1.5.10: + resolution: {integrity: sha512-WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ==} + dependencies: + querystringify: 2.2.0 + requires-port: 1.0.0 + dev: true + /util-deprecate@1.0.2: resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} dev: true @@ -8336,6 +9090,27 @@ packages: engines: {node: '>= 0.8'} dev: true + /vite-node@1.0.2(@types/node@20.10.3)(sass@1.69.5): + resolution: {integrity: sha512-h7BbMJf46fLvFW/9Ygo3snkIBEHFh6fHpB4lge98H5quYrDhPFeI3S0LREz328uqPWSnii2yeJXktQ+Pmqk5BQ==} + engines: {node: ^18.0.0 || >=20.0.0} + hasBin: true + dependencies: + cac: 6.7.14 + debug: 4.3.4 + pathe: 1.1.1 + picocolors: 1.0.0 + vite: 5.0.6(@types/node@20.10.3)(sass@1.69.5) + transitivePeerDependencies: + - '@types/node' + - less + - lightningcss + - sass + - stylus + - sugarss + - supports-color + - terser + dev: true + /vite-plugin-babel@1.1.3(@babel/core@7.23.5)(vite@4.5.0): resolution: {integrity: sha512-WE8ORQm8530kj0geiDL1r/+P2MaU0b+5wL5E8Jq07aounFwRIUeJXziGiMr2DFQs78vaefB5GRKh257M8Z6gFQ==} peerDependencies: @@ -8484,6 +9259,105 @@ packages: optionalDependencies: fsevents: 2.3.3 + /vite@5.0.6(@types/node@20.10.3)(sass@1.69.5): + resolution: {integrity: sha512-MD3joyAEBtV7QZPl2JVVUai6zHms3YOmLR+BpMzLlX2Yzjfcc4gTgNi09d/Rua3F4EtC8zdwPU8eQYyib4vVMQ==} + engines: {node: ^18.0.0 || >=20.0.0} + hasBin: true + peerDependencies: + '@types/node': ^18.0.0 || >=20.0.0 + less: '*' + lightningcss: ^1.21.0 + sass: '*' + stylus: '*' + sugarss: '*' + terser: ^5.4.0 + peerDependenciesMeta: + '@types/node': + optional: true + less: + optional: true + lightningcss: + optional: true + sass: + optional: true + stylus: + optional: true + sugarss: + optional: true + terser: + optional: true + dependencies: + '@types/node': 20.10.3 + esbuild: 0.19.8 + postcss: 8.4.32 + rollup: 4.6.1 + sass: 1.69.5 + optionalDependencies: + fsevents: 2.3.3 + dev: true + + /vitest@1.0.2(@types/node@20.10.3)(jsdom@23.0.1)(sass@1.69.5): + resolution: {integrity: sha512-F3NVwwpXfRSDnJmyv+ALPwSRVt0zDkRRE18pwUHSUPXAlWQ47rY1dc99ziMW5bBHyqwK2ERjMisLNoef64qk9w==} + engines: {node: ^18.0.0 || >=20.0.0} + hasBin: true + peerDependencies: + '@edge-runtime/vm': '*' + '@types/node': ^18.0.0 || >=20.0.0 + '@vitest/browser': ^1.0.0 + '@vitest/ui': ^1.0.0 + happy-dom: '*' + jsdom: '*' + peerDependenciesMeta: + '@edge-runtime/vm': + optional: true + '@types/node': + optional: true + '@vitest/browser': + optional: true + '@vitest/ui': + optional: true + happy-dom: + optional: true + jsdom: + optional: true + dependencies: + '@types/node': 20.10.3 + '@vitest/expect': 1.0.2 + '@vitest/runner': 1.0.2 + '@vitest/snapshot': 1.0.2 + '@vitest/spy': 1.0.2 + '@vitest/utils': 1.0.2 + acorn-walk: 8.3.1 + cac: 6.7.14 + chai: 4.3.10 + debug: 4.3.4 + execa: 8.0.1 + jsdom: 23.0.1 + local-pkg: 0.5.0 + magic-string: 0.30.5 + pathe: 1.1.1 + picocolors: 1.0.0 + std-env: 3.6.0 + strip-literal: 1.3.0 + tinybench: 2.5.1 + tinypool: 0.8.1 + vite: 5.0.6(@types/node@20.10.3)(sass@1.69.5) + vite-node: 1.0.2(@types/node@20.10.3)(sass@1.69.5) + why-is-node-running: 2.2.2 + transitivePeerDependencies: + - less + - lightningcss + - sass + - stylus + - sugarss + - supports-color + - terser + dev: true + + /vue-component-type-helpers@1.8.25: + resolution: {integrity: sha512-NCA6sekiJIMnMs4DdORxATXD+/NRkQpS32UC+I1KQJUasx+Z7MZUb3Y+MsKsFmX+PgyTYSteb73JW77AibaCCw==} + dev: true + /vue-demi@0.14.6(vue@3.3.10): resolution: {integrity: sha512-8QA7wrYSHKaYgUxDA5ZC24w+eHm3sYCbp0EzcDwKqN3p6HqtTCGR/GVsPyZW92unff4UlcSh++lmqDWN3ZIq4w==} engines: {node: '>=12'} @@ -8710,6 +9584,13 @@ packages: vite-plugin-vuetify: 1.0.2(vite@4.5.0)(vue@3.3.10)(vuetify@3.4.6) vue: 3.3.10(typescript@5.3.3) + /w3c-xmlserializer@5.0.0: + resolution: {integrity: sha512-o8qghlI8NZHU1lLPrpi2+Uq7abh4GGPpYANlalzWxyWteJOCsr/P+oPBA49TOLu5FTZO4d3F9MnWJfiMo4BkmA==} + engines: {node: '>=18'} + dependencies: + xml-name-validator: 5.0.0 + dev: true + /watchpack@2.4.0: resolution: {integrity: sha512-Lcvm7MGST/4fup+ifyKi2hjyIAwcdI4HRgtvTpIUxBRhB+RFtUh8XtDOxUfctVCnhVi+QQj49i91OyvzkJl6cg==} engines: {node: '>=10.13.0'} @@ -8738,6 +9619,11 @@ packages: resolution: {integrity: sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==} dev: true + /webidl-conversions@7.0.0: + resolution: {integrity: sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g==} + engines: {node: '>=12'} + dev: true + /webpack-bundle-analyzer@4.8.0: resolution: {integrity: sha512-ZzoSBePshOKhr+hd8u6oCkZVwpVaXgpw23ScGLFpR6SjYI7+7iIWYarjN6OEYOfRt8o7ZyZZQk0DuMizJ+LEIg==} engines: {node: '>= 10.13.0'} @@ -8906,10 +9792,30 @@ packages: engines: {node: '>=0.8.0'} dev: true + /whatwg-encoding@3.1.1: + resolution: {integrity: sha512-6qN4hJdMwfYBtE3YBTTHhoeuUrDBPZmbQaxWAqSALV/MeEnR5z1xd8UKud2RAkFoPkmB+hli1TZSnyi84xz1vQ==} + engines: {node: '>=18'} + dependencies: + iconv-lite: 0.6.3 + dev: true + /whatwg-fetch@3.6.2: resolution: {integrity: sha512-bJlen0FcuU/0EMLrdbJ7zOnW6ITZLrZMIarMUVmdKtsGvZna8vxKYaexICWPfZ8qwf9fzNq+UEIZrnSaApt6RA==} dev: true + /whatwg-mimetype@4.0.0: + resolution: {integrity: sha512-QaKxh0eNIi2mE9p2vEdzfagOKHCcj1pJ56EEHGQOVxp8r9/iszLUUV7v89x9O1p/T+NlTM5W7jW6+cz4Fq1YVg==} + engines: {node: '>=18'} + dev: true + + /whatwg-url@14.0.0: + resolution: {integrity: sha512-1lfMEm2IEr7RIV+f4lUNPOqfFL+pO+Xw3fJSqmjX9AbXcXcYOkCe1P6+9VBZB6n94af16NfZf+sSk0JCBZC9aw==} + engines: {node: '>=18'} + dependencies: + tr46: 5.0.0 + webidl-conversions: 7.0.0 + dev: true + /whatwg-url@5.0.0: resolution: {integrity: sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==} dependencies: @@ -8953,6 +9859,15 @@ packages: isexe: 2.0.0 dev: true + /why-is-node-running@2.2.2: + resolution: {integrity: sha512-6tSwToZxTOcotxHeA+qGCq1mVzKR3CwcJGmVcY+QE8SHy6TnpFnh8PAvPNHYr7EcuVeG0QSMxtYCuO1ta/G/oA==} + engines: {node: '>=8'} + hasBin: true + dependencies: + siginfo: 2.0.0 + stackback: 0.0.2 + dev: true + /wildcard@2.0.1: resolution: {integrity: sha512-CC1bOL87PIWSBhDcTrdeLo6eGT7mCFtrg0uIJtqJUFyK+eJnzl8A1niH56uu7KMa5XFrtiV+AQuHO3n7DsHnLQ==} dev: true @@ -8974,6 +9889,15 @@ packages: strip-ansi: 6.0.1 dev: true + /wrap-ansi@8.1.0: + resolution: {integrity: sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==} + engines: {node: '>=12'} + dependencies: + ansi-styles: 6.2.1 + string-width: 5.1.2 + strip-ansi: 7.1.0 + dev: true + /wrap-ansi@9.0.0: resolution: {integrity: sha512-G8ura3S+3Z2G+mkgNRq8dqaFZAuxfsxpBB8OCTGRTCtp+l/v9nbFNmCUP1BZMts3G1142MsZfn6eeUKrr4PD1Q==} engines: {node: '>=18'} @@ -9021,11 +9945,33 @@ packages: optional: true dev: true + /ws@8.14.2: + resolution: {integrity: sha512-wEBG1ftX4jcglPxgFCMJmZ2PLtSbJ2Peg6TmpJFTbe9GZYOQCDPdMYu/Tm0/bGZkw8paZnJY45J4K2PZrLYq8g==} + engines: {node: '>=10.0.0'} + peerDependencies: + bufferutil: ^4.0.1 + utf-8-validate: '>=5.0.2' + peerDependenciesMeta: + bufferutil: + optional: true + utf-8-validate: + optional: true + dev: true + /xml-name-validator@4.0.0: resolution: {integrity: sha512-ICP2e+jsHvAj2E2lIHxa5tjXRlKDJo4IdvPvCXbXQGdzSfmSpNVyIKMvoZHjDY9DP0zV17iI85o90vRFXNccRw==} engines: {node: '>=12'} dev: true + /xml-name-validator@5.0.0: + resolution: {integrity: sha512-EvGK8EJ3DhaHfbRlETOWAS5pO9MZITeauHKJyb8wyajUfQUenkIg2MvLDTZ4T/TgIcm3HU0TFBgWWboAZ30UHg==} + engines: {node: '>=18'} + dev: true + + /xmlchars@2.2.0: + resolution: {integrity: sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==} + dev: true + /y18n@5.0.8: resolution: {integrity: sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==} engines: {node: '>=10'} @@ -9076,6 +10022,11 @@ packages: engines: {node: '>=10'} dev: true + /yocto-queue@1.0.0: + resolution: {integrity: sha512-9bnSc/HEW2uRy67wc+T8UwauLuPJVn28jb+GtJY16iiKWyvmYJRXVT4UamsAEGQfPohgr2q4Tq0sQbQlxTfi1g==} + engines: {node: '>=12.20'} + dev: true + /yorkie@2.0.0: resolution: {integrity: sha512-jcKpkthap6x63MB4TxwCyuIGkV0oYP/YRyuQU5UO0Yz/E/ZAu+653/uov+phdmO54n6BcvFRyyt0RRrWdN2mpw==} engines: {node: '>=4'} From 3d1a2342897e41cf135fd91bbf3d29b1e7ac5d55 Mon Sep 17 00:00:00 2001 From: WebDevNerdStuff Date: Thu, 7 Dec 2023 16:03:08 -0800 Subject: [PATCH 03/16] Add install function internally --- src/plugin/index.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/plugin/index.ts b/src/plugin/index.ts index fd40232..d5a03f9 100644 --- a/src/plugin/index.ts +++ b/src/plugin/index.ts @@ -14,7 +14,7 @@ export const globalOptions = Symbol(); export function createVInlineFields(options: Omit = {}) { - return (app: App) => { + const install = (app: App) => { app.provide(globalOptions, options); app.component('VInlineCheckbox', VInlineCheckbox); app.component('VInlineCustomField', VInlineCustomField); @@ -23,6 +23,8 @@ export function createVInlineFields(options: Omit Date: Thu, 7 Dec 2023 16:03:19 -0800 Subject: [PATCH 04/16] Add vitest config --- vitest.config.ts | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 vitest.config.ts diff --git a/vitest.config.ts b/vitest.config.ts new file mode 100644 index 0000000..b345358 --- /dev/null +++ b/vitest.config.ts @@ -0,0 +1,19 @@ +import { fileURLToPath } from 'node:url'; +import { mergeConfig, defineConfig, configDefaults } from 'vitest/config'; +import viteConfig from './vite.config'; + +export default mergeConfig( + viteConfig, + defineConfig({ + test: { + environment: 'jsdom', + exclude: [...configDefaults.exclude, 'e2e/*'], + root: fileURLToPath(new URL('./', import.meta.url)), + server: { + deps: { + inline: ['element-plus', 'vuetify-inline-fields', 'vuetify'] + } + } + } + }) +); From 5db0ccfacb043faad6a239130d8c9771b4f64980 Mon Sep 17 00:00:00 2001 From: WebDevNerdStuff Date: Thu, 7 Dec 2023 16:03:29 -0800 Subject: [PATCH 05/16] Add tests --- src/plugin/__tests__/index.spec.ts | 14 +++ src/plugin/composables/tests/helpers.spec.ts | 114 +++++++++++++++++++ 2 files changed, 128 insertions(+) create mode 100644 src/plugin/__tests__/index.spec.ts create mode 100644 src/plugin/composables/tests/helpers.spec.ts diff --git a/src/plugin/__tests__/index.spec.ts b/src/plugin/__tests__/index.spec.ts new file mode 100644 index 0000000..48cbe31 --- /dev/null +++ b/src/plugin/__tests__/index.spec.ts @@ -0,0 +1,14 @@ +// Utilities +import { describe, it, expect } from 'vitest'; +// import { mount } from '@vue/test-utils'; +import { createVInlineFields } from '@/plugin'; + +describe('framework', () => { + describe('install', () => { + it('should return install function', () => { + const vInlineFields = createVInlineFields(); + + expect('install' in vInlineFields).toBe(true); + }); + }); +}); diff --git a/src/plugin/composables/tests/helpers.spec.ts b/src/plugin/composables/tests/helpers.spec.ts new file mode 100644 index 0000000..169f9cf --- /dev/null +++ b/src/plugin/composables/tests/helpers.spec.ts @@ -0,0 +1,114 @@ +import { describe, it, expect } from 'vitest'; +import { + useConvertToUnit, + useGetFieldCoordinates, + useTruthyModelValue, +} from '../helpers'; + +describe('helpers', () => { + + describe('useConvertToUnit', () => { + it('should return string with a default px unit', () => { + const unit = useConvertToUnit({ str: '10' }); + expect(unit).toBe('10px'); + }); + + it('should return number with a default px unit', () => { + const unit = useConvertToUnit({ str: 10 }); + expect(unit).toBe('10px'); + }); + + it('should return string with a supplied unit', () => { + const unit = useConvertToUnit({ str: '10', unit: 'em' }); + expect(unit).toBe('10em'); + }); + + it('should return number with a supplied unit', () => { + const unit = useConvertToUnit({ str: 10, unit: 'em' }); + expect(unit).toBe('10em'); + }); + }); + + + describe('useGetFieldCoordinates', () => { + const div = document.createElement('div'); + const testInput = { cardOffsetX: 10, cardOffsetY: 10, field: div }; + let coordinates = useGetFieldCoordinates(testInput); + + it('should return field coordinates as an object', () => { + expect(coordinates).toBeTypeOf('object'); + }); + + it('should return field coordinates as an object equal to coordinates object', () => { + expect(coordinates).toEqual({ + bottom: '10px', + height: 0, + left: '10px', + right: '10px', + top: '12px', + width: '0', + x: 0, + y: 0 + }); + }); + + it('should return field (as null) coordinates as an object equal to', () => { + coordinates = useGetFieldCoordinates({ cardOffsetX: 10, cardOffsetY: 10, field: null }); + + expect(coordinates).toEqual({ + bottom: 0, + height: 0, + left: 0, + right: 0, + top: 0, + width: 0, + x: 0, + y: 0, + }); + }); + }); + + describe('useTruthyModelValue', () => { + it('should return modelValue = "1" as true', () => { + const value = useTruthyModelValue({ modelValue: '1' }); + expect(value).toBeTruthy(); + }); + + it('should return modelValue = 1 as true', () => { + const value = useTruthyModelValue({ modelValue: 1 }); + expect(value).toBeTruthy(); + }); + + it('should return modelValue = true as true', () => { + const value = useTruthyModelValue({ modelValue: true }); + expect(value).toBeTruthy(); + }); + + it('should return modelValue = "true" as true', () => { + const value = useTruthyModelValue({ modelValue: 'true' }); + expect(value).toBeTruthy(); + }); + + it('should return modelValue = trueValue as true using numbers', () => { + const value = useTruthyModelValue({ modelValue: 10, trueValue: 10 }); + expect(value).toBeTruthy(); + }); + + it('should return modelValue = trueValue as true using number/string', () => { + const value = useTruthyModelValue({ modelValue: 10, trueValue: '10' }); + expect(value).toBeTruthy(); + }); + + it('should return modelValue != trueValue as false using numbers', () => { + const value = useTruthyModelValue({ modelValue: 10, trueValue: 20 }); + expect(value).toBeFalsy(); + }); + + it('should return modelValue != trueValue as false using number/string', () => { + const value = useTruthyModelValue({ modelValue: 10, trueValue: '20' }); + + expect(value).toBeFalsy(); + }); + }); + +}); From 4829a15396a29abc70094f5ab4cbb05cf6574136 Mon Sep 17 00:00:00 2001 From: WebDevNerdStuff Date: Thu, 7 Dec 2023 17:35:40 -0800 Subject: [PATCH 06/16] Add tests --- .eslintrc.js | 1 + package.json | 3 +- src/plugin/VInlineCheckbox.vue | 14 +++---- src/plugin/__tests__/VInlineCheckbox.spec.ts | 29 +++++++++++++++ src/plugin/__tests__/VInlineSelect.spec.ts | 28 ++++++++++++++ src/plugin/__tests__/VInlineSwitch.spec.ts | 29 +++++++++++++++ src/plugin/__tests__/VInlineTextField.spec.ts | 27 ++++++++++++++ src/plugin/__tests__/VInlineTextarea.spec.ts | 27 ++++++++++++++ src/plugin/__tests__/index.spec.ts | 3 +- src/plugin/composables/tests/colors.spec.ts | 37 +++++++++++++++++++ src/plugin/composables/tests/helpers.spec.ts | 6 +-- src/plugin/utils/props.ts | 1 + src/plugins/theme.ts | 4 +- vitest.config.ts | 4 +- 14 files changed, 195 insertions(+), 18 deletions(-) create mode 100644 src/plugin/__tests__/VInlineCheckbox.spec.ts create mode 100644 src/plugin/__tests__/VInlineSelect.spec.ts create mode 100644 src/plugin/__tests__/VInlineSwitch.spec.ts create mode 100644 src/plugin/__tests__/VInlineTextField.spec.ts create mode 100644 src/plugin/__tests__/VInlineTextarea.spec.ts create mode 100644 src/plugin/composables/tests/colors.spec.ts diff --git a/.eslintrc.js b/.eslintrc.js index ce1228e..6e692d4 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -16,6 +16,7 @@ module.exports = { 'vite.build.config.ts', 'vite.config.ts', '*.bk.vue', + '*.spec.ts', ], overrides: [ { diff --git a/package.json b/package.json index 81a26ba..f4e7fa1 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,8 @@ "prepublishOnly": "npm run build", "lint": "eslint src/**/*.{ts,vue} --max-warnings 20", "prepare": "husky install", - "test:unit": "vitest" + "test:dev": "vitest", + "test:all": "vitest --run" }, "lint-staged": { "src/**/*.{js,ts,vue}": [ diff --git a/src/plugin/VInlineCheckbox.vue b/src/plugin/VInlineCheckbox.vue index 6eb7d7c..8446299 100644 --- a/src/plugin/VInlineCheckbox.vue +++ b/src/plugin/VInlineCheckbox.vue @@ -5,7 +5,7 @@ :style="inlineFieldsContainerStyle" >
@@ -22,12 +22,12 @@ >
diff --git a/src/plugin/__tests__/VInlineCheckbox.spec.ts b/src/plugin/__tests__/VInlineCheckbox.spec.ts new file mode 100644 index 0000000..e009b2f --- /dev/null +++ b/src/plugin/__tests__/VInlineCheckbox.spec.ts @@ -0,0 +1,29 @@ +import VInlineCheckbox from '../VInlineCheckbox.vue'; +import { checkboxProps } from '@/plugin/utils/props'; +import { createVuetify } from 'vuetify'; +import { describe, it, expect } from 'vitest'; +import { mount } from '@vue/test-utils'; + + +const vuetify = createVuetify(); + +const componentProps = Object.assign(checkboxProps, { + cardProps: {}, + item: undefined, + modelValue: undefined, + required: false, +}); + +describe('VInlineCheckbox', () => { + const wrapper = mount(VInlineCheckbox, { + global: { + plugins: [vuetify], + }, + }); + + it('testing default component props', () => { + const returnedProps = wrapper.getComponent(VInlineCheckbox).props(); + + expect(returnedProps).toEqual(componentProps); + }); +}); diff --git a/src/plugin/__tests__/VInlineSelect.spec.ts b/src/plugin/__tests__/VInlineSelect.spec.ts new file mode 100644 index 0000000..18978f0 --- /dev/null +++ b/src/plugin/__tests__/VInlineSelect.spec.ts @@ -0,0 +1,28 @@ +import VInlineSelect from '../VInlineSelect.vue'; +import { createVuetify } from 'vuetify'; +import { describe, it, expect } from 'vitest'; +import { mount } from '@vue/test-utils'; +import { selectProps } from '@/plugin/utils/props'; + + +const vuetify = createVuetify(); + +const componentProps = Object.assign(selectProps, { + cardProps: {}, + items: [], + required: false, +}); + +describe('VInlineSelect', () => { + const wrapper = mount(VInlineSelect, { + global: { + plugins: [vuetify], + }, + }); + + it('testing default component props', () => { + const returnedProps = wrapper.getComponent(VInlineSelect).props(); + + expect(returnedProps).toEqual(componentProps); + }); +}); diff --git a/src/plugin/__tests__/VInlineSwitch.spec.ts b/src/plugin/__tests__/VInlineSwitch.spec.ts new file mode 100644 index 0000000..2c60e49 --- /dev/null +++ b/src/plugin/__tests__/VInlineSwitch.spec.ts @@ -0,0 +1,29 @@ +import VInlineSwitch from '../VInlineSwitch.vue'; +import { createVuetify } from 'vuetify'; +import { describe, it, expect } from 'vitest'; +import { mount } from '@vue/test-utils'; +import { switchProps } from '@/plugin/utils/props'; + + +const vuetify = createVuetify(); + +const componentProps = Object.assign(switchProps, { + cardProps: {}, + item: undefined, + modelValue: undefined, + required: false, +}); + +describe('VInlineSwitch', () => { + const wrapper = mount(VInlineSwitch, { + global: { + plugins: [vuetify], + }, + }); + + it('testing default component props', () => { + const returnedProps = wrapper.getComponent(VInlineSwitch).props(); + + expect(returnedProps).toEqual(componentProps); + }); +}); diff --git a/src/plugin/__tests__/VInlineTextField.spec.ts b/src/plugin/__tests__/VInlineTextField.spec.ts new file mode 100644 index 0000000..5337089 --- /dev/null +++ b/src/plugin/__tests__/VInlineTextField.spec.ts @@ -0,0 +1,27 @@ +import VInlineTextField from '../VInlineTextField.vue'; +import { createVuetify } from 'vuetify'; +import { describe, it, expect } from 'vitest'; +import { mount } from '@vue/test-utils'; +import { textFieldProps } from '@/plugin/utils/props'; + + +const vuetify = createVuetify(); + +const componentProps = Object.assign(textFieldProps, { + cardProps: {}, + required: false, +}); + +describe('VInlineTextField', () => { + const wrapper = mount(VInlineTextField, { + global: { + plugins: [vuetify], + }, + }); + + it('testing default component props', () => { + const returnedProps = wrapper.getComponent(VInlineTextField).props(); + + expect(returnedProps).toEqual(componentProps); + }); +}); diff --git a/src/plugin/__tests__/VInlineTextarea.spec.ts b/src/plugin/__tests__/VInlineTextarea.spec.ts new file mode 100644 index 0000000..e2f3e7b --- /dev/null +++ b/src/plugin/__tests__/VInlineTextarea.spec.ts @@ -0,0 +1,27 @@ +import VInlineTextarea from '../VInlineTextarea.vue'; +import { createVuetify } from 'vuetify'; +import { describe, it, expect } from 'vitest'; +import { mount } from '@vue/test-utils'; +import { textareaProps } from '@/plugin/utils/props'; + + +const vuetify = createVuetify(); + +const componentProps = Object.assign(textareaProps, { + cardProps: {}, + required: false, +}); + +describe('VInlineTextarea', () => { + const wrapper = mount(VInlineTextarea, { + global: { + plugins: [vuetify], + }, + }); + + it('testing default component props', () => { + const returnedProps = wrapper.getComponent(VInlineTextarea).props(); + + expect(returnedProps).toEqual(componentProps); + }); +}); diff --git a/src/plugin/__tests__/index.spec.ts b/src/plugin/__tests__/index.spec.ts index 48cbe31..bd535bf 100644 --- a/src/plugin/__tests__/index.spec.ts +++ b/src/plugin/__tests__/index.spec.ts @@ -1,8 +1,7 @@ -// Utilities import { describe, it, expect } from 'vitest'; -// import { mount } from '@vue/test-utils'; import { createVInlineFields } from '@/plugin'; + describe('framework', () => { describe('install', () => { it('should return install function', () => { diff --git a/src/plugin/composables/tests/colors.spec.ts b/src/plugin/composables/tests/colors.spec.ts new file mode 100644 index 0000000..ec0c86d --- /dev/null +++ b/src/plugin/composables/tests/colors.spec.ts @@ -0,0 +1,37 @@ +import { describe, it, expect } from 'vitest'; +import { createVuetify } from 'vuetify'; +import defaultThemes from '@/plugins/theme'; +import { useGetColor } from '@/plugin/composables/colors'; + + +describe('Colors Composable', () => { + const vuetify = createVuetify({ + theme: { + defaultTheme: 'light', + themes: { + ...defaultThemes, + }, + }, + }); + + const { theme } = vuetify; + const hslRed = 'hsl(0 100% 50% / 100%)'; + + const checkColors = [ + 'error', + 'red', + '#f00', + 'rgb(255, 0, 0)', + 'rgba(255, 0, 0, 100)', + ]; + + describe('useGetColor', () => { + checkColors.forEach((color) => { + it(`should return HSLA using color string "${color}"`, () => { + const responseColor = useGetColor(color, theme); + + expect(responseColor).toBe(hslRed); + }); + }); + }); +}); diff --git a/src/plugin/composables/tests/helpers.spec.ts b/src/plugin/composables/tests/helpers.spec.ts index 169f9cf..c5b1224 100644 --- a/src/plugin/composables/tests/helpers.spec.ts +++ b/src/plugin/composables/tests/helpers.spec.ts @@ -3,10 +3,9 @@ import { useConvertToUnit, useGetFieldCoordinates, useTruthyModelValue, -} from '../helpers'; - -describe('helpers', () => { +} from '@/plugin/composables/helpers'; +describe('Helpers Composable', () => { describe('useConvertToUnit', () => { it('should return string with a default px unit', () => { const unit = useConvertToUnit({ str: '10' }); @@ -29,7 +28,6 @@ describe('helpers', () => { }); }); - describe('useGetFieldCoordinates', () => { const div = document.createElement('div'); const testInput = { cardOffsetX: 10, cardOffsetY: 10, field: div }; diff --git a/src/plugin/utils/props.ts b/src/plugin/utils/props.ts index 54c5073..5528b04 100644 --- a/src/plugin/utils/props.ts +++ b/src/plugin/utils/props.ts @@ -35,6 +35,7 @@ export const sharedProps = { displayPrependInnerIconColor: undefined, displayPrependInnerIconSize: 'x-small', emptyText: 'empty', + error: false, fieldOnly: false, hideCancelIcon: false, hideDetails: true, diff --git a/src/plugins/theme.ts b/src/plugins/theme.ts index de17815..07180f7 100644 --- a/src/plugins/theme.ts +++ b/src/plugins/theme.ts @@ -4,7 +4,7 @@ export const dark = { colors: { accent: '#d00274', danger: colors.red.base, - error: colors.red.base, + error: '#ff0000', info: colors.teal.base, primary: colors.blue.darken2, secondary: colors.purple.base, @@ -18,7 +18,7 @@ export const light = { colors: { accent: '#905', danger: colors.red.base, - error: colors.red.base, + error: '#ff0000', info: colors.teal.darken1, primary: colors.blue.base, secondary: colors.purple.lighten1, diff --git a/vitest.config.ts b/vitest.config.ts index b345358..08801fd 100644 --- a/vitest.config.ts +++ b/vitest.config.ts @@ -7,13 +7,13 @@ export default mergeConfig( defineConfig({ test: { environment: 'jsdom', - exclude: [...configDefaults.exclude, 'e2e/*'], + // exclude: [...configDefaults.exclude, 'e2e/*'], root: fileURLToPath(new URL('./', import.meta.url)), server: { deps: { inline: ['element-plus', 'vuetify-inline-fields', 'vuetify'] } - } + }, } }) ); From c71b5f77cebeef7fd453e8c564895cf479105ccc Mon Sep 17 00:00:00 2001 From: WebDevNerdStuff Date: Thu, 7 Dec 2023 17:38:54 -0800 Subject: [PATCH 07/16] Husky test --- .husky/pre-commit | 2 +- package.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index d24fdfc..ba329e1 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1,4 @@ #!/usr/bin/env sh . "$(dirname -- "$0")/_/husky.sh" -npx lint-staged +npx lint-staged && npm run test:deploy diff --git a/package.json b/package.json index f4e7fa1..a669865 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,8 @@ "lint": "eslint src/**/*.{ts,vue} --max-warnings 20", "prepare": "husky install", "test:dev": "vitest", - "test:all": "vitest --run" + "test:all": "vitest --run", + "test:deploy": "vitest --run --bail 1" }, "lint-staged": { "src/**/*.{js,ts,vue}": [ From 5bdab8fe057c629e49d9bbac99cbde4829b98b9d Mon Sep 17 00:00:00 2001 From: WebDevNerdStuff Date: Thu, 7 Dec 2023 17:44:12 -0800 Subject: [PATCH 08/16] Update config --- vitest.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vitest.config.ts b/vitest.config.ts index 08801fd..fb8c339 100644 --- a/vitest.config.ts +++ b/vitest.config.ts @@ -7,7 +7,7 @@ export default mergeConfig( defineConfig({ test: { environment: 'jsdom', - // exclude: [...configDefaults.exclude, 'e2e/*'], + exclude: [...configDefaults.exclude], root: fileURLToPath(new URL('./', import.meta.url)), server: { deps: { From 290b6d33b5efc0c2904e589b7b6710cc0a38ec08 Mon Sep 17 00:00:00 2001 From: WebDevNerdStuff Date: Thu, 7 Dec 2023 17:44:44 -0800 Subject: [PATCH 09/16] Rename dir --- src/plugin/composables/{tests => _tests_}/colors.spec.ts | 0 src/plugin/composables/{tests => _tests_}/helpers.spec.ts | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename src/plugin/composables/{tests => _tests_}/colors.spec.ts (100%) rename src/plugin/composables/{tests => _tests_}/helpers.spec.ts (100%) diff --git a/src/plugin/composables/tests/colors.spec.ts b/src/plugin/composables/_tests_/colors.spec.ts similarity index 100% rename from src/plugin/composables/tests/colors.spec.ts rename to src/plugin/composables/_tests_/colors.spec.ts diff --git a/src/plugin/composables/tests/helpers.spec.ts b/src/plugin/composables/_tests_/helpers.spec.ts similarity index 100% rename from src/plugin/composables/tests/helpers.spec.ts rename to src/plugin/composables/_tests_/helpers.spec.ts From 27a6b706da164c0e8d1bcfc746b0695e67e52030 Mon Sep 17 00:00:00 2001 From: WebDevNerdStuff Date: Thu, 7 Dec 2023 17:48:52 -0800 Subject: [PATCH 10/16] Exclude spec.ts files --- tsconfig.json | 1 + 1 file changed, 1 insertion(+) diff --git a/tsconfig.json b/tsconfig.json index 4ad6b9c..717c5eb 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -50,6 +50,7 @@ "src/stores/**/*.ts", "src/playground/**/*.ts", "src/plugins/**/*.ts", + "src/**/*.spec.ts", "node_modules" ], "include": [ From f711a0fb8a982061cc83f4c3507ba98d174bc1a4 Mon Sep 17 00:00:00 2001 From: WebDevNerdStuff Date: Thu, 7 Dec 2023 17:49:12 -0800 Subject: [PATCH 11/16] Add vitest to build --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index a669865..c273ed3 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "dev": "vite", "watch": "pnpm dev", "play": "sh src/playground/configs/build.sh && NODE_ENV=playground vite", - "build": "vue-tsc && vite build --config vite.build.config.ts", + "build": "vue-tsc && npm run test:deploy && vite build --config vite.build.config.ts", "build:docs": "vite build", "predeploy": "npm run build", "deploy": "gh-pages -d docs", From 0720991f2b66b8b19412631e241e002a4ac36619 Mon Sep 17 00:00:00 2001 From: WebDevNerdStuff Date: Thu, 7 Dec 2023 17:50:32 -0800 Subject: [PATCH 12/16] Update script name --- .husky/pre-commit | 2 +- package.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index ba329e1..539f9e3 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1,4 @@ #!/usr/bin/env sh . "$(dirname -- "$0")/_/husky.sh" -npx lint-staged && npm run test:deploy +npx lint-staged && npm run test:build diff --git a/package.json b/package.json index c273ed3..cfe4b10 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "dev": "vite", "watch": "pnpm dev", "play": "sh src/playground/configs/build.sh && NODE_ENV=playground vite", - "build": "vue-tsc && npm run test:deploy && vite build --config vite.build.config.ts", + "build": "vue-tsc && npm run test:build && vite build --config vite.build.config.ts", "build:docs": "vite build", "predeploy": "npm run build", "deploy": "gh-pages -d docs", @@ -22,7 +22,7 @@ "prepare": "husky install", "test:dev": "vitest", "test:all": "vitest --run", - "test:deploy": "vitest --run --bail 1" + "test:build": "vitest --run --bail 1" }, "lint-staged": { "src/**/*.{js,ts,vue}": [ From c00c4e2cff030d3950843e9f06b48b57e9af526d Mon Sep 17 00:00:00 2001 From: WebDevNerdStuff Date: Fri, 8 Dec 2023 15:13:46 -0800 Subject: [PATCH 13/16] Reorganizing --- .gitignore | 1 + .../VInlineCheckbox}/VInlineCheckbox.vue.d.ts | 375 +- .../components/VInlineCheckbox/index.d.ts | 10 + .../VInlineCustomField.vue.d.ts | 231 +- .../components/VInlineCustomField/index.d.ts | 6 + .../VInlineSelect}/VInlineSelect.vue.d.ts | 287 +- .../components/VInlineSelect/index.d.ts | 17 + .../VInlineSwitch}/VInlineSwitch.vue.d.ts | 365 +- .../components/VInlineSwitch/index.d.ts | 9 + .../VInlineTextField.vue.d.ts | 219 +- .../components/VInlineTextField/index.d.ts | 11 + .../VInlineTextarea}/VInlineTextarea.vue.d.ts | 245 +- .../components/VInlineTextarea/index.d.ts | 13 + .../{ => common}/BooleanIcons.vue.d.ts | 0 .../{ => common}/DisplayedValue.vue.d.ts | 2 +- .../{ => common}/SaveFieldButtons.vue.d.ts | 2 +- dist/plugin/components/common/index.d.ts | 28 + dist/plugin/components/index.d.ts | 17 +- dist/plugin/index.d.ts | 7212 +---------------- dist/plugin/types/index.d.ts | 86 +- dist/plugin/utils/props.d.ts | 6 + dist/vuetify-inline-fields.cjs.js | 8 +- dist/vuetify-inline-fields.es.js | 4132 +++++----- .../configs/templates/PlaygroundPage.vue | 2 +- src/plugin/__tests__/index.spec.ts | 13 - src/plugin/__tests__/index.test.ts | 13 + .../VInlineCheckbox}/VInlineCheckbox.vue | 26 +- .../__tests__/VInlineCheckbox.test.ts} | 2 +- .../components/VInlineCheckbox/index.ts | 17 + .../VInlineCustomField.vue | 19 +- .../__tests__/VInlineCustomField.spec.ts | 27 + .../components/VInlineCustomField/index.ts | 9 + .../VInlineSelect}/VInlineSelect.vue | 21 +- .../__tests__/VInlineSelect.spec.ts | 2 +- src/plugin/components/VInlineSelect/index.ts | 24 + .../VInlineSwitch}/VInlineSwitch.vue | 24 +- .../__tests__/VInlineSwitch.test.ts} | 2 +- src/plugin/components/VInlineSwitch/index.ts | 16 + .../VInlineTextField}/VInlineTextField.vue | 21 +- .../__tests__/VInlineTextField.test.ts} | 2 +- .../components/VInlineTextField/index.ts | 18 + .../VInlineTextarea}/VInlineTextarea.vue | 21 +- .../__tests__/VInlineTextarea.test.ts} | 2 +- .../components/VInlineTextarea/index.ts | 20 + .../components/{ => common}/BooleanIcons.vue | 4 +- .../{ => common}/DisplayedValue.vue | 6 +- .../{ => common}/SaveFieldButtons.vue | 6 +- .../common/__tests__/common.test.ts | 61 + src/plugin/components/common/index.ts | 64 + src/plugin/components/index.ts | 25 +- .../colors.test.ts} | 16 +- .../helpers.test.ts} | 47 +- .../composables/__tests__/icons.test.ts | 51 + src/plugin/index.ts | 36 +- src/plugin/types/index.ts | 133 +- tsconfig.json | 21 +- vite.build.config.ts | 7 +- vite.config.ts | 5 + vitest.config.ts | 6 +- 59 files changed, 3578 insertions(+), 10493 deletions(-) rename dist/plugin/{ => components/VInlineCheckbox}/VInlineCheckbox.vue.d.ts (95%) create mode 100644 dist/plugin/components/VInlineCheckbox/index.d.ts rename dist/plugin/{ => components/VInlineCustomField}/VInlineCustomField.vue.d.ts (93%) create mode 100644 dist/plugin/components/VInlineCustomField/index.d.ts rename dist/plugin/{ => components/VInlineSelect}/VInlineSelect.vue.d.ts (94%) create mode 100644 dist/plugin/components/VInlineSelect/index.d.ts rename dist/plugin/{ => components/VInlineSwitch}/VInlineSwitch.vue.d.ts (95%) create mode 100644 dist/plugin/components/VInlineSwitch/index.d.ts rename dist/plugin/{ => components/VInlineTextField}/VInlineTextField.vue.d.ts (93%) create mode 100644 dist/plugin/components/VInlineTextField/index.d.ts rename dist/plugin/{ => components/VInlineTextarea}/VInlineTextarea.vue.d.ts (93%) create mode 100644 dist/plugin/components/VInlineTextarea/index.d.ts rename dist/plugin/components/{ => common}/BooleanIcons.vue.d.ts (100%) rename dist/plugin/components/{ => common}/DisplayedValue.vue.d.ts (96%) rename dist/plugin/components/{ => common}/SaveFieldButtons.vue.d.ts (95%) create mode 100644 dist/plugin/components/common/index.d.ts delete mode 100644 src/plugin/__tests__/index.spec.ts create mode 100644 src/plugin/__tests__/index.test.ts rename src/plugin/{ => components/VInlineCheckbox}/VInlineCheckbox.vue (94%) rename src/plugin/{__tests__/VInlineCheckbox.spec.ts => components/VInlineCheckbox/__tests__/VInlineCheckbox.test.ts} (92%) create mode 100644 src/plugin/components/VInlineCheckbox/index.ts rename src/plugin/{ => components/VInlineCustomField}/VInlineCustomField.vue (95%) create mode 100644 src/plugin/components/VInlineCustomField/__tests__/VInlineCustomField.spec.ts create mode 100644 src/plugin/components/VInlineCustomField/index.ts rename src/plugin/{ => components/VInlineSelect}/VInlineSelect.vue (95%) rename src/plugin/{ => components/VInlineSelect}/__tests__/VInlineSelect.spec.ts (92%) create mode 100644 src/plugin/components/VInlineSelect/index.ts rename src/plugin/{ => components/VInlineSwitch}/VInlineSwitch.vue (94%) rename src/plugin/{__tests__/VInlineSwitch.spec.ts => components/VInlineSwitch/__tests__/VInlineSwitch.test.ts} (92%) create mode 100644 src/plugin/components/VInlineSwitch/index.ts rename src/plugin/{ => components/VInlineTextField}/VInlineTextField.vue (95%) rename src/plugin/{__tests__/VInlineTextField.spec.ts => components/VInlineTextField/__tests__/VInlineTextField.test.ts} (91%) create mode 100644 src/plugin/components/VInlineTextField/index.ts rename src/plugin/{ => components/VInlineTextarea}/VInlineTextarea.vue (95%) rename src/plugin/{__tests__/VInlineTextarea.spec.ts => components/VInlineTextarea/__tests__/VInlineTextarea.test.ts} (91%) create mode 100644 src/plugin/components/VInlineTextarea/index.ts rename src/plugin/components/{ => common}/BooleanIcons.vue (90%) rename src/plugin/components/{ => common}/DisplayedValue.vue (95%) rename src/plugin/components/{ => common}/SaveFieldButtons.vue (95%) create mode 100644 src/plugin/components/common/__tests__/common.test.ts create mode 100644 src/plugin/components/common/index.ts rename src/plugin/composables/{_tests_/colors.spec.ts => __tests__/colors.test.ts} (56%) rename src/plugin/composables/{_tests_/helpers.spec.ts => __tests__/helpers.test.ts} (86%) create mode 100644 src/plugin/composables/__tests__/icons.test.ts diff --git a/.gitignore b/.gitignore index 962dc16..a96def1 100644 --- a/.gitignore +++ b/.gitignore @@ -26,3 +26,4 @@ dist-ssr src/plugin/**/*.bk.* +src/plugin/components/VInlineAutocomplete diff --git a/dist/plugin/VInlineCheckbox.vue.d.ts b/dist/plugin/components/VInlineCheckbox/VInlineCheckbox.vue.d.ts similarity index 95% rename from dist/plugin/VInlineCheckbox.vue.d.ts rename to dist/plugin/components/VInlineCheckbox/VInlineCheckbox.vue.d.ts index 43d7d3f..88c12ee 100644 --- a/dist/plugin/VInlineCheckbox.vue.d.ts +++ b/dist/plugin/components/VInlineCheckbox/VInlineCheckbox.vue.d.ts @@ -1,90 +1,5 @@ declare const _default: __VLS_WithTemplateSlots; - error: { - type: globalThis.PropType; - }; - name: { - type: globalThis.PropType; - default: string; - }; - color: { - type: globalThis.PropType; - default: string; - }; - label: { - type: globalThis.PropType; - default: string; - }; - disabled: { - type: globalThis.PropType; - default: boolean; - }; - density: { - type: globalThis.PropType<"default" | "comfortable" | "compact" | null>; - default: "compact"; - }; - falseIcon: { - type: globalThis.PropType; - default: undefined; - }; - trueIcon: { - type: globalThis.PropType; - default: undefined; - }; - trueValue: { - type: globalThis.PropType; - default: boolean; - }; - falseValue: { - type: globalThis.PropType; - default: boolean; - }; - hideDetails: { - type: globalThis.PropType; - default: boolean; - }; - loading: { - type: globalThis.PropType; - default: boolean; - }; - underlined: { - type: globalThis.PropType; - default: boolean; - }; - item: { - type: globalThis.PropType>; - }; - required: { - type: globalThis.PropType; - }; - iconFalse: { - type: globalThis.PropType; - default: undefined; - }; - iconFalseColor: { - type: globalThis.PropType; - default: string; - }; - iconFalseTitle: { - type: globalThis.PropType; - default: string; - }; - iconTrue: { - type: globalThis.PropType; - default: undefined; - }; - iconTrueColor: { - type: globalThis.PropType; - default: string; - }; - iconTrueTitle: { - type: globalThis.PropType; - default: string; - }; - icons: { - type: globalThis.PropType; - default: boolean; - }; cancelButtonColor: { type: globalThis.PropType; default: string; @@ -98,7 +13,7 @@ declare const _default: __VLS_WithTemplateSlots>; + type: globalThis.PropType>; default: "text"; }; cancelIcon: { @@ -137,6 +52,14 @@ declare const _default: __VLS_WithTemplateSlots; default: boolean; }; + color: { + type: globalThis.PropType; + default: string; + }; + disabled: { + type: globalThis.PropType; + default: boolean; + }; displayAppendIcon: { type: globalThis.PropType; default: undefined; @@ -189,6 +112,14 @@ declare const _default: __VLS_WithTemplateSlots; default: string; }; + error: { + type: globalThis.PropType; + default: boolean; + }; + falseValue: { + type: globalThis.PropType; + default: boolean; + }; fieldOnly: { type: globalThis.PropType; default: boolean; @@ -197,10 +128,53 @@ declare const _default: __VLS_WithTemplateSlots; default: boolean; }; + hideDetails: { + type: globalThis.PropType; + default: boolean; + }; hideSaveIcon: { type: globalThis.PropType; default: boolean; }; + iconFalse: { + type: globalThis.PropType; + default: undefined; + }; + iconFalseColor: { + type: globalThis.PropType; + default: string; + }; + iconFalseTitle: { + type: globalThis.PropType; + default: string; + }; + iconTrue: { + type: globalThis.PropType; + default: undefined; + }; + iconTrueColor: { + type: globalThis.PropType; + default: string; + }; + iconTrueTitle: { + type: globalThis.PropType; + default: string; + }; + icons: { + type: globalThis.PropType; + default: boolean; + }; + item: { + type: globalThis.PropType>; + }; + label: { + type: globalThis.PropType; + default: string; + }; + loading: { + type: globalThis.PropType; + default: boolean; + }; loadingIcon: { type: globalThis.PropType; default: undefined; @@ -213,6 +187,13 @@ declare const _default: __VLS_WithTemplateSlots; default: boolean; }; + name: { + type: globalThis.PropType; + default: string; + }; + required: { + type: globalThis.PropType; + }; saveButtonColor: { type: globalThis.PropType; default: string; @@ -226,7 +207,7 @@ declare const _default: __VLS_WithTemplateSlots>; + type: globalThis.PropType>; default: "text"; }; saveIcon: { @@ -241,6 +222,10 @@ declare const _default: __VLS_WithTemplateSlots; default: boolean; }; + trueValue: { + type: globalThis.PropType; + default: boolean; + }; underlineColor: { type: globalThis.PropType; default: string; @@ -253,33 +238,14 @@ declare const _default: __VLS_WithTemplateSlots; default: string; }; - valueColor: { - type: globalThis.PropType; - default: string; - }; -}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { - [x: string]: (...args: any[]) => void; -}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly; - error: { + underlined: { type: globalThis.PropType; + default: boolean; }; - name: { - type: globalThis.PropType; - default: string; - }; - color: { - type: globalThis.PropType; - default: string; - }; - label: { + valueColor: { type: globalThis.PropType; default: string; }; - disabled: { - type: globalThis.PropType; - default: boolean; - }; density: { type: globalThis.PropType<"default" | "comfortable" | "compact" | null>; default: "compact"; @@ -292,60 +258,10 @@ declare const _default: __VLS_WithTemplateSlots; default: undefined; }; - trueValue: { - type: globalThis.PropType; - default: boolean; - }; - falseValue: { - type: globalThis.PropType; - default: boolean; - }; - hideDetails: { - type: globalThis.PropType; - default: boolean; - }; - loading: { - type: globalThis.PropType; - default: boolean; - }; - underlined: { - type: globalThis.PropType; - default: boolean; - }; - item: { - type: globalThis.PropType>; - }; - required: { - type: globalThis.PropType; - }; - iconFalse: { - type: globalThis.PropType; - default: undefined; - }; - iconFalseColor: { - type: globalThis.PropType; - default: string; - }; - iconFalseTitle: { - type: globalThis.PropType; - default: string; - }; - iconTrue: { - type: globalThis.PropType; - default: undefined; - }; - iconTrueColor: { - type: globalThis.PropType; - default: string; - }; - iconTrueTitle: { - type: globalThis.PropType; - default: string; - }; - icons: { - type: globalThis.PropType; - default: boolean; - }; +}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { + [x: string]: (...args: any[]) => void; +}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly; cancelButtonColor: { type: globalThis.PropType; default: string; @@ -359,7 +275,7 @@ declare const _default: __VLS_WithTemplateSlots>; + type: globalThis.PropType>; default: "text"; }; cancelIcon: { @@ -398,6 +314,14 @@ declare const _default: __VLS_WithTemplateSlots; default: boolean; }; + color: { + type: globalThis.PropType; + default: string; + }; + disabled: { + type: globalThis.PropType; + default: boolean; + }; displayAppendIcon: { type: globalThis.PropType; default: undefined; @@ -450,6 +374,14 @@ declare const _default: __VLS_WithTemplateSlots; default: string; }; + error: { + type: globalThis.PropType; + default: boolean; + }; + falseValue: { + type: globalThis.PropType; + default: boolean; + }; fieldOnly: { type: globalThis.PropType; default: boolean; @@ -458,10 +390,53 @@ declare const _default: __VLS_WithTemplateSlots; default: boolean; }; + hideDetails: { + type: globalThis.PropType; + default: boolean; + }; hideSaveIcon: { type: globalThis.PropType; default: boolean; }; + iconFalse: { + type: globalThis.PropType; + default: undefined; + }; + iconFalseColor: { + type: globalThis.PropType; + default: string; + }; + iconFalseTitle: { + type: globalThis.PropType; + default: string; + }; + iconTrue: { + type: globalThis.PropType; + default: undefined; + }; + iconTrueColor: { + type: globalThis.PropType; + default: string; + }; + iconTrueTitle: { + type: globalThis.PropType; + default: string; + }; + icons: { + type: globalThis.PropType; + default: boolean; + }; + item: { + type: globalThis.PropType>; + }; + label: { + type: globalThis.PropType; + default: string; + }; + loading: { + type: globalThis.PropType; + default: boolean; + }; loadingIcon: { type: globalThis.PropType; default: undefined; @@ -474,6 +449,13 @@ declare const _default: __VLS_WithTemplateSlots; default: boolean; }; + name: { + type: globalThis.PropType; + default: string; + }; + required: { + type: globalThis.PropType; + }; saveButtonColor: { type: globalThis.PropType; default: string; @@ -487,7 +469,7 @@ declare const _default: __VLS_WithTemplateSlots>; + type: globalThis.PropType>; default: "text"; }; saveIcon: { @@ -502,6 +484,10 @@ declare const _default: __VLS_WithTemplateSlots; default: boolean; }; + trueValue: { + type: globalThis.PropType; + default: boolean; + }; underlineColor: { type: globalThis.PropType; default: string; @@ -514,34 +500,31 @@ declare const _default: __VLS_WithTemplateSlots; default: string; }; + underlined: { + type: globalThis.PropType; + default: boolean; + }; valueColor: { type: globalThis.PropType; default: string; }; + density: { + type: globalThis.PropType<"default" | "comfortable" | "compact" | null>; + default: "compact"; + }; + falseIcon: { + type: globalThis.PropType; + default: undefined; + }; + trueIcon: { + type: globalThis.PropType; + default: undefined; + }; }>>, { - name: string; - color: string; - label: string; - disabled: boolean; - density: "default" | "comfortable" | "compact" | null; - falseIcon: string; - trueIcon: string; - trueValue: string | boolean; - falseValue: string | boolean; - hideDetails: boolean; - loading: boolean; - underlined: boolean; - iconFalse: string; - iconFalseColor: string; - iconFalseTitle: string; - iconTrue: string; - iconTrueColor: string; - iconTrueTitle: string; - icons: boolean; cancelButtonColor: string; cancelButtonSize: string | number; cancelButtonTitle: string; - cancelButtonVariant: NonNullable<"flat" | "outlined" | "plain" | "text" | "elevated" | "tonal">; + cancelButtonVariant: NonNullable<"flat" | "text" | "elevated" | "tonal" | "outlined" | "plain">; cancelIcon: string; cancelIconColor: string; cardField: boolean; @@ -551,6 +534,8 @@ declare const _default: __VLS_WithTemplateSlots; + saveButtonVariant: NonNullable<"flat" | "text" | "elevated" | "tonal" | "outlined" | "plain">; saveIcon: string; saveIconColor: string; tableField: boolean; + trueValue: string | boolean; underlineColor: string; underlineStyle: string; underlineWidth: string; + underlined: boolean; valueColor: string; + density: "default" | "comfortable" | "compact" | null; + falseIcon: string; + trueIcon: string; }, {}>, Partial, (_: any) => any>>>; export default _default; type __VLS_WithTemplateSlots = T & { diff --git a/dist/plugin/components/VInlineCheckbox/index.d.ts b/dist/plugin/components/VInlineCheckbox/index.d.ts new file mode 100644 index 0000000..849630b --- /dev/null +++ b/dist/plugin/components/VInlineCheckbox/index.d.ts @@ -0,0 +1,10 @@ +import type { VCheckbox } from 'vuetify/components'; +import type { SharedProps } from '../../../plugin/types'; +import type VInlineCheckbox from './VInlineCheckbox.vue'; +export interface VInlineCheckboxProps extends Omit { + density?: VCheckbox['$props']['density']; + falseIcon?: string | undefined; + trueIcon?: string | undefined; +} +export type VInlineCheckbox = InstanceType; +export default VInlineCheckbox; diff --git a/dist/plugin/VInlineCustomField.vue.d.ts b/dist/plugin/components/VInlineCustomField/VInlineCustomField.vue.d.ts similarity index 93% rename from dist/plugin/VInlineCustomField.vue.d.ts rename to dist/plugin/components/VInlineCustomField/VInlineCustomField.vue.d.ts index 1ae0d0d..484fe05 100644 --- a/dist/plugin/VInlineCustomField.vue.d.ts +++ b/dist/plugin/components/VInlineCustomField/VInlineCustomField.vue.d.ts @@ -1,60 +1,9 @@ declare const _default: __VLS_WithTemplateSlots; - error: { - type: globalThis.PropType; - }; - name: { - type: globalThis.PropType; - default: string; - }; - color: { - type: globalThis.PropType; - default: string; - }; - label: { - type: globalThis.PropType; - default: string; - }; - disabled: { - type: globalThis.PropType; - default: boolean; - }; - density: { - type: globalThis.PropType<"default" | "comfortable" | "compact" | null>; - default: "compact"; - }; - rules: { - type: globalThis.PropType | ((value: any) => string | boolean) | ((value: any) => PromiseLike))[]>; - }; - hideDetails: { - type: globalThis.PropType; - default: boolean; - }; - variant: { - type: globalThis.PropType<"filled" | "outlined" | "plain" | "underlined" | "solo" | "solo-inverted" | "solo-filled">; - default: "underlined"; - }; - loading: { - type: globalThis.PropType; - default: boolean; - }; autofocus: { type: globalThis.PropType; default: boolean; }; - clearIcon: { - type: globalThis.PropType; - }; - underlined: { - type: globalThis.PropType; - default: boolean; - }; - item: { - type: globalThis.PropType>; - }; - required: { - type: globalThis.PropType; - }; truncateLength: { type: globalThis.PropType; default: undefined; @@ -76,7 +25,7 @@ declare const _default: __VLS_WithTemplateSlots>; + type: globalThis.PropType>; default: "text"; }; cancelIcon: { @@ -115,6 +64,14 @@ declare const _default: __VLS_WithTemplateSlots; default: boolean; }; + color: { + type: globalThis.PropType; + default: string; + }; + disabled: { + type: globalThis.PropType; + default: boolean; + }; displayAppendIcon: { type: globalThis.PropType; default: undefined; @@ -167,6 +124,10 @@ declare const _default: __VLS_WithTemplateSlots; default: string; }; + error: { + type: globalThis.PropType; + default: boolean; + }; fieldOnly: { type: globalThis.PropType; default: boolean; @@ -175,10 +136,25 @@ declare const _default: __VLS_WithTemplateSlots; default: boolean; }; + hideDetails: { + type: globalThis.PropType; + default: boolean; + }; hideSaveIcon: { type: globalThis.PropType; default: boolean; }; + item: { + type: globalThis.PropType>; + }; + label: { + type: globalThis.PropType; + default: string; + }; + loading: { + type: globalThis.PropType; + default: boolean; + }; loadingIcon: { type: globalThis.PropType; default: undefined; @@ -191,6 +167,13 @@ declare const _default: __VLS_WithTemplateSlots; default: boolean; }; + name: { + type: globalThis.PropType; + default: string; + }; + required: { + type: globalThis.PropType; + }; saveButtonColor: { type: globalThis.PropType; default: string; @@ -204,7 +187,7 @@ declare const _default: __VLS_WithTemplateSlots>; + type: globalThis.PropType>; default: "text"; }; saveIcon: { @@ -231,33 +214,14 @@ declare const _default: __VLS_WithTemplateSlots; default: string; }; - valueColor: { - type: globalThis.PropType; - default: string; - }; -}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { - [x: string]: (...args: any[]) => void; -}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly; - error: { + underlined: { type: globalThis.PropType; + default: boolean; }; - name: { - type: globalThis.PropType; - default: string; - }; - color: { - type: globalThis.PropType; - default: string; - }; - label: { + valueColor: { type: globalThis.PropType; default: string; }; - disabled: { - type: globalThis.PropType; - default: boolean; - }; density: { type: globalThis.PropType<"default" | "comfortable" | "compact" | null>; default: "compact"; @@ -265,35 +229,21 @@ declare const _default: __VLS_WithTemplateSlots | ((value: any) => string | boolean) | ((value: any) => PromiseLike))[]>; }; - hideDetails: { - type: globalThis.PropType; - default: boolean; - }; variant: { - type: globalThis.PropType<"filled" | "outlined" | "plain" | "underlined" | "solo" | "solo-inverted" | "solo-filled">; + type: globalThis.PropType<"underlined" | "outlined" | "plain" | "filled" | "solo" | "solo-inverted" | "solo-filled">; default: "underlined"; }; - loading: { - type: globalThis.PropType; - default: boolean; - }; - autofocus: { - type: globalThis.PropType; - default: boolean; - }; clearIcon: { type: globalThis.PropType; }; - underlined: { +}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { + [x: string]: (...args: any[]) => void; +}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly; + autofocus: { type: globalThis.PropType; default: boolean; }; - item: { - type: globalThis.PropType>; - }; - required: { - type: globalThis.PropType; - }; truncateLength: { type: globalThis.PropType; default: undefined; @@ -315,7 +265,7 @@ declare const _default: __VLS_WithTemplateSlots>; + type: globalThis.PropType>; default: "text"; }; cancelIcon: { @@ -354,6 +304,14 @@ declare const _default: __VLS_WithTemplateSlots; default: boolean; }; + color: { + type: globalThis.PropType; + default: string; + }; + disabled: { + type: globalThis.PropType; + default: boolean; + }; displayAppendIcon: { type: globalThis.PropType; default: undefined; @@ -406,6 +364,10 @@ declare const _default: __VLS_WithTemplateSlots; default: string; }; + error: { + type: globalThis.PropType; + default: boolean; + }; fieldOnly: { type: globalThis.PropType; default: boolean; @@ -414,10 +376,25 @@ declare const _default: __VLS_WithTemplateSlots; default: boolean; }; + hideDetails: { + type: globalThis.PropType; + default: boolean; + }; hideSaveIcon: { type: globalThis.PropType; default: boolean; }; + item: { + type: globalThis.PropType>; + }; + label: { + type: globalThis.PropType; + default: string; + }; + loading: { + type: globalThis.PropType; + default: boolean; + }; loadingIcon: { type: globalThis.PropType; default: undefined; @@ -430,6 +407,13 @@ declare const _default: __VLS_WithTemplateSlots; default: boolean; }; + name: { + type: globalThis.PropType; + default: string; + }; + required: { + type: globalThis.PropType; + }; saveButtonColor: { type: globalThis.PropType; default: string; @@ -443,7 +427,7 @@ declare const _default: __VLS_WithTemplateSlots>; + type: globalThis.PropType>; default: "text"; }; saveIcon: { @@ -470,27 +454,36 @@ declare const _default: __VLS_WithTemplateSlots; default: string; }; + underlined: { + type: globalThis.PropType; + default: boolean; + }; valueColor: { type: globalThis.PropType; default: string; }; + density: { + type: globalThis.PropType<"default" | "comfortable" | "compact" | null>; + default: "compact"; + }; + rules: { + type: globalThis.PropType | ((value: any) => string | boolean) | ((value: any) => PromiseLike))[]>; + }; + variant: { + type: globalThis.PropType<"underlined" | "outlined" | "plain" | "filled" | "solo" | "solo-inverted" | "solo-filled">; + default: "underlined"; + }; + clearIcon: { + type: globalThis.PropType; + }; }>>, { - name: string; - color: string; - label: string; - disabled: boolean; - density: "default" | "comfortable" | "compact" | null; - hideDetails: boolean; - variant: "filled" | "outlined" | "plain" | "underlined" | "solo" | "solo-inverted" | "solo-filled"; - loading: boolean; autofocus: boolean; - underlined: boolean; truncateLength: number; truncateSuffix: string; cancelButtonColor: string; cancelButtonSize: string | number; cancelButtonTitle: string; - cancelButtonVariant: NonNullable<"flat" | "outlined" | "plain" | "text" | "elevated" | "tonal">; + cancelButtonVariant: NonNullable<"flat" | "text" | "elevated" | "tonal" | "outlined" | "plain">; cancelIcon: string; cancelIconColor: string; cardField: boolean; @@ -500,6 +493,8 @@ declare const _default: __VLS_WithTemplateSlots; + saveButtonVariant: NonNullable<"flat" | "text" | "elevated" | "tonal" | "outlined" | "plain">; saveIcon: string; saveIconColor: string; tableField: boolean; underlineColor: string; underlineStyle: string; underlineWidth: string; + underlined: boolean; valueColor: string; + density: "default" | "comfortable" | "compact" | null; + variant: "underlined" | "outlined" | "plain" | "filled" | "solo" | "solo-inverted" | "solo-filled"; }, {}>, Partial, (_: any) => any>> & { default?(_: { loading: boolean; modelValue: any; originalValue: any; - error: boolean; + item: Record | undefined; + required: boolean; rules: readonly ((string | boolean) | ((value: any) => string | boolean) | ((value: any) => PromiseLike) | { then: (onfulfilled?: ((value: string | boolean) => TResult1 | PromiseLike) | null | undefined, onrejected?: ((reason: any) => TResult2 | PromiseLike) | null | undefined) => PromiseLike; })[] | undefined; clearIcon: string | undefined; - item: Record | undefined; - required: boolean; truncateLength: number | undefined; truncateSuffix: string; - variant: "filled" | "outlined" | "plain" | "underlined" | "solo" | "solo-inverted" | "solo-filled"; + variant: "underlined" | "outlined" | "plain" | "filled" | "solo" | "solo-inverted" | "solo-filled"; hideCancelIcon: boolean; hideSaveIcon: boolean; loadingIcon: string | undefined; @@ -552,14 +554,14 @@ declare const _default: __VLS_WithTemplateSlots; + saveButtonVariant: NonNullable<"flat" | "text" | "elevated" | "tonal" | "outlined" | "plain">; saveIcon: string | undefined; saveIconColor: string; autofocus: boolean; cancelButtonColor: string; cancelButtonSize: string | number; cancelButtonTitle: string; - cancelButtonVariant: NonNullable<"flat" | "outlined" | "plain" | "text" | "elevated" | "tonal">; + cancelButtonVariant: NonNullable<"flat" | "text" | "elevated" | "tonal" | "outlined" | "plain">; cancelIcon: string | undefined; cancelIconColor: string; cardField: boolean; @@ -585,6 +587,7 @@ declare const _default: __VLS_WithTemplateSlots; +export default VInlineCustomField; diff --git a/dist/plugin/VInlineSelect.vue.d.ts b/dist/plugin/components/VInlineSelect/VInlineSelect.vue.d.ts similarity index 94% rename from dist/plugin/VInlineSelect.vue.d.ts rename to dist/plugin/components/VInlineSelect/VInlineSelect.vue.d.ts index d8ea15a..4633a83 100644 --- a/dist/plugin/VInlineSelect.vue.d.ts +++ b/dist/plugin/components/VInlineSelect/VInlineSelect.vue.d.ts @@ -1,85 +1,9 @@ declare const _default: __VLS_WithTemplateSlots; - error: { - type: globalThis.PropType; - }; - name: { - type: globalThis.PropType; - default: string; - }; - color: { - type: globalThis.PropType; - default: string; - }; - label: { - type: globalThis.PropType; - default: string; - }; - disabled: { - type: globalThis.PropType; - default: boolean; - }; - density: { - type: globalThis.PropType<"default" | "comfortable" | "compact" | null>; - default: "compact"; - }; - rules: { - type: globalThis.PropType | ((value: any) => string | boolean) | ((value: any) => PromiseLike))[]>; - }; - hideDetails: { - type: globalThis.PropType; - default: boolean; - }; - items: { - type: globalThis.PropType; - default: () => never[]; - }; - itemTitle: { - type: globalThis.PropType any) | null>; - default: string; - }; - itemValue: { - type: globalThis.PropType any) | null>; - default: string; - }; - variant: { - type: globalThis.PropType<"filled" | "outlined" | "plain" | "underlined" | "solo" | "solo-inverted" | "solo-filled">; - default: "underlined"; - }; - loading: { - type: globalThis.PropType; - default: boolean; - }; autofocus: { type: globalThis.PropType; default: boolean; }; - clearIcon: { - type: globalThis.PropType; - default: undefined; - }; - clearable: { - type: globalThis.PropType; - default: boolean; - }; - hideSelected: { - type: globalThis.PropType; - default: boolean; - }; - menu: { - type: globalThis.PropType; - default: boolean; - }; - underlined: { - type: globalThis.PropType; - default: boolean; - }; - item: { - type: globalThis.PropType>; - }; - required: { - type: globalThis.PropType; - }; cancelButtonColor: { type: globalThis.PropType; default: string; @@ -93,7 +17,7 @@ declare const _default: __VLS_WithTemplateSlots>; + type: globalThis.PropType>; default: "text"; }; cancelIcon: { @@ -132,6 +56,14 @@ declare const _default: __VLS_WithTemplateSlots; default: boolean; }; + color: { + type: globalThis.PropType; + default: string; + }; + disabled: { + type: globalThis.PropType; + default: boolean; + }; displayAppendIcon: { type: globalThis.PropType; default: undefined; @@ -184,6 +116,10 @@ declare const _default: __VLS_WithTemplateSlots; default: string; }; + error: { + type: globalThis.PropType; + default: boolean; + }; fieldOnly: { type: globalThis.PropType; default: boolean; @@ -192,10 +128,25 @@ declare const _default: __VLS_WithTemplateSlots; default: boolean; }; + hideDetails: { + type: globalThis.PropType; + default: boolean; + }; hideSaveIcon: { type: globalThis.PropType; default: boolean; }; + item: { + type: globalThis.PropType>; + }; + label: { + type: globalThis.PropType; + default: string; + }; + loading: { + type: globalThis.PropType; + default: boolean; + }; loadingIcon: { type: globalThis.PropType; default: undefined; @@ -208,6 +159,13 @@ declare const _default: __VLS_WithTemplateSlots; default: boolean; }; + name: { + type: globalThis.PropType; + default: string; + }; + required: { + type: globalThis.PropType; + }; saveButtonColor: { type: globalThis.PropType; default: string; @@ -221,7 +179,7 @@ declare const _default: __VLS_WithTemplateSlots>; + type: globalThis.PropType>; default: "text"; }; saveIcon: { @@ -248,33 +206,14 @@ declare const _default: __VLS_WithTemplateSlots; default: string; }; - valueColor: { - type: globalThis.PropType; - default: string; - }; -}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { - [x: string]: (...args: any[]) => void; -}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly; - error: { + underlined: { type: globalThis.PropType; + default: boolean; }; - name: { - type: globalThis.PropType; - default: string; - }; - color: { - type: globalThis.PropType; - default: string; - }; - label: { + valueColor: { type: globalThis.PropType; default: string; }; - disabled: { - type: globalThis.PropType; - default: boolean; - }; density: { type: globalThis.PropType<"default" | "comfortable" | "compact" | null>; default: "compact"; @@ -282,9 +221,9 @@ declare const _default: __VLS_WithTemplateSlots | ((value: any) => string | boolean) | ((value: any) => PromiseLike))[]>; }; - hideDetails: { - type: globalThis.PropType; - default: boolean; + variant: { + type: globalThis.PropType<"underlined" | "outlined" | "plain" | "filled" | "solo" | "solo-inverted" | "solo-filled">; + default: "underlined"; }; items: { type: globalThis.PropType; @@ -298,18 +237,6 @@ declare const _default: __VLS_WithTemplateSlots any) | null>; default: string; }; - variant: { - type: globalThis.PropType<"filled" | "outlined" | "plain" | "underlined" | "solo" | "solo-inverted" | "solo-filled">; - default: "underlined"; - }; - loading: { - type: globalThis.PropType; - default: boolean; - }; - autofocus: { - type: globalThis.PropType; - default: boolean; - }; clearIcon: { type: globalThis.PropType; default: undefined; @@ -326,16 +253,14 @@ declare const _default: __VLS_WithTemplateSlots; default: boolean; }; - underlined: { +}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { + [x: string]: (...args: any[]) => void; +}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly; + autofocus: { type: globalThis.PropType; default: boolean; }; - item: { - type: globalThis.PropType>; - }; - required: { - type: globalThis.PropType; - }; cancelButtonColor: { type: globalThis.PropType; default: string; @@ -349,7 +274,7 @@ declare const _default: __VLS_WithTemplateSlots>; + type: globalThis.PropType>; default: "text"; }; cancelIcon: { @@ -388,6 +313,14 @@ declare const _default: __VLS_WithTemplateSlots; default: boolean; }; + color: { + type: globalThis.PropType; + default: string; + }; + disabled: { + type: globalThis.PropType; + default: boolean; + }; displayAppendIcon: { type: globalThis.PropType; default: undefined; @@ -440,6 +373,10 @@ declare const _default: __VLS_WithTemplateSlots; default: string; }; + error: { + type: globalThis.PropType; + default: boolean; + }; fieldOnly: { type: globalThis.PropType; default: boolean; @@ -448,10 +385,25 @@ declare const _default: __VLS_WithTemplateSlots; default: boolean; }; + hideDetails: { + type: globalThis.PropType; + default: boolean; + }; hideSaveIcon: { type: globalThis.PropType; default: boolean; }; + item: { + type: globalThis.PropType>; + }; + label: { + type: globalThis.PropType; + default: string; + }; + loading: { + type: globalThis.PropType; + default: boolean; + }; loadingIcon: { type: globalThis.PropType; default: undefined; @@ -464,6 +416,13 @@ declare const _default: __VLS_WithTemplateSlots; default: boolean; }; + name: { + type: globalThis.PropType; + default: string; + }; + required: { + type: globalThis.PropType; + }; saveButtonColor: { type: globalThis.PropType; default: string; @@ -477,7 +436,7 @@ declare const _default: __VLS_WithTemplateSlots>; + type: globalThis.PropType>; default: "text"; }; saveIcon: { @@ -504,32 +463,59 @@ declare const _default: __VLS_WithTemplateSlots; default: string; }; + underlined: { + type: globalThis.PropType; + default: boolean; + }; valueColor: { type: globalThis.PropType; default: string; }; + density: { + type: globalThis.PropType<"default" | "comfortable" | "compact" | null>; + default: "compact"; + }; + rules: { + type: globalThis.PropType | ((value: any) => string | boolean) | ((value: any) => PromiseLike))[]>; + }; + variant: { + type: globalThis.PropType<"underlined" | "outlined" | "plain" | "filled" | "solo" | "solo-inverted" | "solo-filled">; + default: "underlined"; + }; + items: { + type: globalThis.PropType; + default: () => never[]; + }; + itemTitle: { + type: globalThis.PropType any) | null>; + default: string; + }; + itemValue: { + type: globalThis.PropType any) | null>; + default: string; + }; + clearIcon: { + type: globalThis.PropType; + default: undefined; + }; + clearable: { + type: globalThis.PropType; + default: boolean; + }; + hideSelected: { + type: globalThis.PropType; + default: boolean; + }; + menu: { + type: globalThis.PropType; + default: boolean; + }; }>>, { - name: string; - color: string; - label: string; - disabled: boolean; - density: "default" | "comfortable" | "compact" | null; - hideDetails: boolean; - items: readonly any[]; - itemTitle: string | boolean | readonly (string | number)[] | ((item: any, fallback?: any) => any) | null; - itemValue: string | boolean | readonly (string | number)[] | ((item: any, fallback?: any) => any) | null; - variant: "filled" | "outlined" | "plain" | "underlined" | "solo" | "solo-inverted" | "solo-filled"; - loading: boolean; autofocus: boolean; - clearIcon: string; - clearable: boolean; - hideSelected: boolean; - menu: boolean; - underlined: boolean; cancelButtonColor: string; cancelButtonSize: string | number; cancelButtonTitle: string; - cancelButtonVariant: NonNullable<"flat" | "outlined" | "plain" | "text" | "elevated" | "tonal">; + cancelButtonVariant: NonNullable<"flat" | "text" | "elevated" | "tonal" | "outlined" | "plain">; cancelIcon: string; cancelIconColor: string; cardField: boolean; @@ -539,6 +525,8 @@ declare const _default: __VLS_WithTemplateSlots; + saveButtonVariant: NonNullable<"flat" | "text" | "elevated" | "tonal" | "outlined" | "plain">; saveIcon: string; saveIconColor: string; tableField: boolean; underlineColor: string; underlineStyle: string; underlineWidth: string; + underlined: boolean; valueColor: string; + density: "default" | "comfortable" | "compact" | null; + variant: "underlined" | "outlined" | "plain" | "filled" | "solo" | "solo-inverted" | "solo-filled"; + items: readonly any[]; + itemTitle: string | boolean | readonly (string | number)[] | ((item: any, fallback?: any) => any) | null; + itemValue: string | boolean | readonly (string | number)[] | ((item: any, fallback?: any) => any) | null; + clearIcon: string; + clearable: boolean; + hideSelected: boolean; + menu: boolean; }, {}>, Partial, (_: any) => any>> & Partial, (_: any) => any>>>; export default _default; type __VLS_WithTemplateSlots = T & { diff --git a/dist/plugin/components/VInlineSelect/index.d.ts b/dist/plugin/components/VInlineSelect/index.d.ts new file mode 100644 index 0000000..a42bfd5 --- /dev/null +++ b/dist/plugin/components/VInlineSelect/index.d.ts @@ -0,0 +1,17 @@ +import type { VSelect } from 'vuetify/components'; +import type { SharedProps } from '../../../plugin/types'; +import type VInlineSelect from './VInlineSelect.vue'; +export interface VInlineSelectProps extends Omit { + clearIcon?: string | undefined; + clearable?: VSelect['$props']['clearable']; + density?: VSelect['$props']['density']; + hideSelected?: VSelect['$props']['hideSelected']; + itemTitle?: VSelect['$props']['itemTitle']; + itemValue?: VSelect['$props']['itemValue']; + items?: VSelect['$props']['items']; + menu?: VSelect['$props']['menu']; + rules?: VSelect['$props']['rules']; + variant?: VSelect['$props']['variant']; +} +export type VInlineSelect = InstanceType; +export default VInlineSelect; diff --git a/dist/plugin/VInlineSwitch.vue.d.ts b/dist/plugin/components/VInlineSwitch/VInlineSwitch.vue.d.ts similarity index 95% rename from dist/plugin/VInlineSwitch.vue.d.ts rename to dist/plugin/components/VInlineSwitch/VInlineSwitch.vue.d.ts index a803287..f36b8a2 100644 --- a/dist/plugin/VInlineSwitch.vue.d.ts +++ b/dist/plugin/components/VInlineSwitch/VInlineSwitch.vue.d.ts @@ -1,86 +1,5 @@ declare const _default: __VLS_WithTemplateSlots; - error: { - type: globalThis.PropType; - }; - name: { - type: globalThis.PropType; - default: string; - }; - color: { - type: globalThis.PropType; - default: string; - }; - label: { - type: globalThis.PropType; - default: string; - }; - disabled: { - type: globalThis.PropType; - default: boolean; - }; - density: { - type: globalThis.PropType<"default" | "comfortable" | "compact" | null>; - default: "compact"; - }; - falseIcon: { - type: globalThis.PropType; - default: string; - }; - trueValue: { - type: globalThis.PropType; - default: boolean; - }; - falseValue: { - type: globalThis.PropType; - default: boolean; - }; - hideDetails: { - type: globalThis.PropType; - default: boolean; - }; - loading: { - type: globalThis.PropType; - default: boolean; - }; - underlined: { - type: globalThis.PropType; - default: boolean; - }; - item: { - type: globalThis.PropType>; - }; - required: { - type: globalThis.PropType; - }; - iconFalse: { - type: globalThis.PropType; - default: undefined; - }; - iconFalseColor: { - type: globalThis.PropType; - default: string; - }; - iconFalseTitle: { - type: globalThis.PropType; - default: string; - }; - iconTrue: { - type: globalThis.PropType; - default: undefined; - }; - iconTrueColor: { - type: globalThis.PropType; - default: string; - }; - iconTrueTitle: { - type: globalThis.PropType; - default: string; - }; - icons: { - type: globalThis.PropType; - default: boolean; - }; cancelButtonColor: { type: globalThis.PropType; default: string; @@ -94,7 +13,7 @@ declare const _default: __VLS_WithTemplateSlots>; + type: globalThis.PropType>; default: "text"; }; cancelIcon: { @@ -133,6 +52,14 @@ declare const _default: __VLS_WithTemplateSlots; default: boolean; }; + color: { + type: globalThis.PropType; + default: string; + }; + disabled: { + type: globalThis.PropType; + default: boolean; + }; displayAppendIcon: { type: globalThis.PropType; default: undefined; @@ -185,6 +112,14 @@ declare const _default: __VLS_WithTemplateSlots; default: string; }; + error: { + type: globalThis.PropType; + default: boolean; + }; + falseValue: { + type: globalThis.PropType; + default: boolean; + }; fieldOnly: { type: globalThis.PropType; default: boolean; @@ -193,151 +128,136 @@ declare const _default: __VLS_WithTemplateSlots; default: boolean; }; + hideDetails: { + type: globalThis.PropType; + default: boolean; + }; hideSaveIcon: { type: globalThis.PropType; default: boolean; }; - loadingIcon: { + iconFalse: { type: globalThis.PropType; default: undefined; }; - loadingIconColor: { + iconFalseColor: { type: globalThis.PropType; default: string; }; - loadingWait: { - type: globalThis.PropType; - default: boolean; - }; - saveButtonColor: { + iconFalseTitle: { type: globalThis.PropType; default: string; }; - saveButtonSize: { - type: globalThis.PropType; + iconTrue: { + type: globalThis.PropType; + default: undefined; + }; + iconTrueColor: { + type: globalThis.PropType; default: string; }; - saveButtonTitle: { + iconTrueTitle: { type: globalThis.PropType; default: string; }; - saveButtonVariant: { - type: globalThis.PropType>; - default: "text"; + icons: { + type: globalThis.PropType; + default: boolean; }; - saveIcon: { - type: globalThis.PropType; - default: undefined; + item: { + type: globalThis.PropType>; }; - saveIconColor: { + label: { type: globalThis.PropType; default: string; }; - tableField: { + loading: { type: globalThis.PropType; default: boolean; }; - underlineColor: { + loadingIcon: { type: globalThis.PropType; - default: string; + default: undefined; }; - underlineStyle: { + loadingIconColor: { type: globalThis.PropType; default: string; }; - underlineWidth: { - type: globalThis.PropType; - default: string; + loadingWait: { + type: globalThis.PropType; + default: boolean; }; - valueColor: { + name: { type: globalThis.PropType; default: string; }; -}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { - [x: string]: (...args: any[]) => void; -}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly; - error: { + required: { type: globalThis.PropType; }; - name: { + saveButtonColor: { type: globalThis.PropType; default: string; }; - color: { - type: globalThis.PropType; + saveButtonSize: { + type: globalThis.PropType; default: string; }; - label: { + saveButtonTitle: { type: globalThis.PropType; default: string; }; - disabled: { - type: globalThis.PropType; - default: boolean; + saveButtonVariant: { + type: globalThis.PropType>; + default: "text"; }; - density: { - type: globalThis.PropType<"default" | "comfortable" | "compact" | null>; - default: "compact"; + saveIcon: { + type: globalThis.PropType; + default: undefined; }; - falseIcon: { - type: globalThis.PropType; + saveIconColor: { + type: globalThis.PropType; default: string; }; - trueValue: { - type: globalThis.PropType; - default: boolean; - }; - falseValue: { - type: globalThis.PropType; - default: boolean; - }; - hideDetails: { - type: globalThis.PropType; - default: boolean; - }; - loading: { + tableField: { type: globalThis.PropType; default: boolean; }; - underlined: { - type: globalThis.PropType; + trueValue: { + type: globalThis.PropType; default: boolean; }; - item: { - type: globalThis.PropType>; - }; - required: { - type: globalThis.PropType; - }; - iconFalse: { + underlineColor: { type: globalThis.PropType; - default: undefined; + default: string; }; - iconFalseColor: { + underlineStyle: { type: globalThis.PropType; default: string; }; - iconFalseTitle: { + underlineWidth: { type: globalThis.PropType; default: string; }; - iconTrue: { - type: globalThis.PropType; - default: undefined; + underlined: { + type: globalThis.PropType; + default: boolean; }; - iconTrueColor: { + valueColor: { type: globalThis.PropType; default: string; }; - iconTrueTitle: { - type: globalThis.PropType; - default: string; + density: { + type: globalThis.PropType<"default" | "comfortable" | "compact" | null>; + default: "compact"; }; - icons: { - type: globalThis.PropType; - default: boolean; + falseIcon: { + type: globalThis.PropType; + default: string; }; +}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { + [x: string]: (...args: any[]) => void; +}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly; cancelButtonColor: { type: globalThis.PropType; default: string; @@ -351,7 +271,7 @@ declare const _default: __VLS_WithTemplateSlots>; + type: globalThis.PropType>; default: "text"; }; cancelIcon: { @@ -390,6 +310,14 @@ declare const _default: __VLS_WithTemplateSlots; default: boolean; }; + color: { + type: globalThis.PropType; + default: string; + }; + disabled: { + type: globalThis.PropType; + default: boolean; + }; displayAppendIcon: { type: globalThis.PropType; default: undefined; @@ -442,6 +370,14 @@ declare const _default: __VLS_WithTemplateSlots; default: string; }; + error: { + type: globalThis.PropType; + default: boolean; + }; + falseValue: { + type: globalThis.PropType; + default: boolean; + }; fieldOnly: { type: globalThis.PropType; default: boolean; @@ -450,10 +386,53 @@ declare const _default: __VLS_WithTemplateSlots; default: boolean; }; + hideDetails: { + type: globalThis.PropType; + default: boolean; + }; hideSaveIcon: { type: globalThis.PropType; default: boolean; }; + iconFalse: { + type: globalThis.PropType; + default: undefined; + }; + iconFalseColor: { + type: globalThis.PropType; + default: string; + }; + iconFalseTitle: { + type: globalThis.PropType; + default: string; + }; + iconTrue: { + type: globalThis.PropType; + default: undefined; + }; + iconTrueColor: { + type: globalThis.PropType; + default: string; + }; + iconTrueTitle: { + type: globalThis.PropType; + default: string; + }; + icons: { + type: globalThis.PropType; + default: boolean; + }; + item: { + type: globalThis.PropType>; + }; + label: { + type: globalThis.PropType; + default: string; + }; + loading: { + type: globalThis.PropType; + default: boolean; + }; loadingIcon: { type: globalThis.PropType; default: undefined; @@ -466,6 +445,13 @@ declare const _default: __VLS_WithTemplateSlots; default: boolean; }; + name: { + type: globalThis.PropType; + default: string; + }; + required: { + type: globalThis.PropType; + }; saveButtonColor: { type: globalThis.PropType; default: string; @@ -479,7 +465,7 @@ declare const _default: __VLS_WithTemplateSlots>; + type: globalThis.PropType>; default: "text"; }; saveIcon: { @@ -494,6 +480,10 @@ declare const _default: __VLS_WithTemplateSlots; default: boolean; }; + trueValue: { + type: globalThis.PropType; + default: boolean; + }; underlineColor: { type: globalThis.PropType; default: string; @@ -506,33 +496,27 @@ declare const _default: __VLS_WithTemplateSlots; default: string; }; + underlined: { + type: globalThis.PropType; + default: boolean; + }; valueColor: { type: globalThis.PropType; default: string; }; + density: { + type: globalThis.PropType<"default" | "comfortable" | "compact" | null>; + default: "compact"; + }; + falseIcon: { + type: globalThis.PropType; + default: string; + }; }>>, { - name: string; - color: string; - label: string; - disabled: boolean; - density: "default" | "comfortable" | "compact" | null; - falseIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; - trueValue: string | boolean; - falseValue: string | boolean; - hideDetails: boolean; - loading: boolean; - underlined: boolean; - iconFalse: string; - iconFalseColor: string; - iconFalseTitle: string; - iconTrue: string; - iconTrueColor: string; - iconTrueTitle: string; - icons: boolean; cancelButtonColor: string; cancelButtonSize: string | number; cancelButtonTitle: string; - cancelButtonVariant: NonNullable<"flat" | "outlined" | "plain" | "text" | "elevated" | "tonal">; + cancelButtonVariant: NonNullable<"flat" | "text" | "elevated" | "tonal" | "outlined" | "plain">; cancelIcon: string; cancelIconColor: string; cardField: boolean; @@ -542,6 +526,8 @@ declare const _default: __VLS_WithTemplateSlots; + saveButtonVariant: NonNullable<"flat" | "text" | "elevated" | "tonal" | "outlined" | "plain">; saveIcon: string; saveIconColor: string; tableField: boolean; + trueValue: string | boolean; underlineColor: string; underlineStyle: string; underlineWidth: string; + underlined: boolean; valueColor: string; + density: "default" | "comfortable" | "compact" | null; + falseIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; }, {}>, Partial, (_: any) => any>>>; export default _default; type __VLS_WithTemplateSlots = T & { diff --git a/dist/plugin/components/VInlineSwitch/index.d.ts b/dist/plugin/components/VInlineSwitch/index.d.ts new file mode 100644 index 0000000..e3f04f0 --- /dev/null +++ b/dist/plugin/components/VInlineSwitch/index.d.ts @@ -0,0 +1,9 @@ +import type { VSwitch } from 'vuetify/components'; +import type { SharedProps } from '../../../plugin/types'; +import type VInlineSwitch from './VInlineSwitch.vue'; +export interface VInlineSwitchProps extends Omit { + density?: VSwitch['$props']['density']; + falseIcon?: VSwitch['$props']['falseIcon']; +} +export type VInlineSwitch = InstanceType; +export default VInlineSwitch; diff --git a/dist/plugin/VInlineTextField.vue.d.ts b/dist/plugin/components/VInlineTextField/VInlineTextField.vue.d.ts similarity index 93% rename from dist/plugin/VInlineTextField.vue.d.ts rename to dist/plugin/components/VInlineTextField/VInlineTextField.vue.d.ts index 25c56d7..58b6f36 100644 --- a/dist/plugin/VInlineTextField.vue.d.ts +++ b/dist/plugin/components/VInlineTextField/VInlineTextField.vue.d.ts @@ -1,60 +1,9 @@ declare const _default: __VLS_WithTemplateSlots; - error: { - type: globalThis.PropType; - }; - name: { - type: globalThis.PropType; - default: string; - }; - color: { - type: globalThis.PropType; - default: string; - }; - label: { - type: globalThis.PropType; - default: string; - }; - disabled: { - type: globalThis.PropType; - default: boolean; - }; - density: { - type: globalThis.PropType<"default" | "comfortable" | "compact" | null>; - default: "compact"; - }; - rules: { - type: globalThis.PropType | ((value: any) => string | boolean) | ((value: any) => PromiseLike))[]>; - }; - hideDetails: { - type: globalThis.PropType; - default: boolean; - }; - variant: { - type: globalThis.PropType<"filled" | "outlined" | "plain" | "underlined" | "solo" | "solo-inverted" | "solo-filled">; - default: "underlined"; - }; - loading: { - type: globalThis.PropType; - default: boolean; - }; autofocus: { type: globalThis.PropType; default: boolean; }; - clearIcon: { - type: globalThis.PropType; - }; - underlined: { - type: globalThis.PropType; - default: boolean; - }; - item: { - type: globalThis.PropType>; - }; - required: { - type: globalThis.PropType; - }; truncateLength: { type: globalThis.PropType; default: undefined; @@ -76,7 +25,7 @@ declare const _default: __VLS_WithTemplateSlots>; + type: globalThis.PropType>; default: "text"; }; cancelIcon: { @@ -115,6 +64,14 @@ declare const _default: __VLS_WithTemplateSlots; default: boolean; }; + color: { + type: globalThis.PropType; + default: string; + }; + disabled: { + type: globalThis.PropType; + default: boolean; + }; displayAppendIcon: { type: globalThis.PropType; default: undefined; @@ -167,6 +124,10 @@ declare const _default: __VLS_WithTemplateSlots; default: string; }; + error: { + type: globalThis.PropType; + default: boolean; + }; fieldOnly: { type: globalThis.PropType; default: boolean; @@ -175,10 +136,25 @@ declare const _default: __VLS_WithTemplateSlots; default: boolean; }; + hideDetails: { + type: globalThis.PropType; + default: boolean; + }; hideSaveIcon: { type: globalThis.PropType; default: boolean; }; + item: { + type: globalThis.PropType>; + }; + label: { + type: globalThis.PropType; + default: string; + }; + loading: { + type: globalThis.PropType; + default: boolean; + }; loadingIcon: { type: globalThis.PropType; default: undefined; @@ -191,6 +167,13 @@ declare const _default: __VLS_WithTemplateSlots; default: boolean; }; + name: { + type: globalThis.PropType; + default: string; + }; + required: { + type: globalThis.PropType; + }; saveButtonColor: { type: globalThis.PropType; default: string; @@ -204,7 +187,7 @@ declare const _default: __VLS_WithTemplateSlots>; + type: globalThis.PropType>; default: "text"; }; saveIcon: { @@ -231,33 +214,14 @@ declare const _default: __VLS_WithTemplateSlots; default: string; }; - valueColor: { - type: globalThis.PropType; - default: string; - }; -}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { - [x: string]: (...args: any[]) => void; -}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly; - error: { + underlined: { type: globalThis.PropType; + default: boolean; }; - name: { - type: globalThis.PropType; - default: string; - }; - color: { - type: globalThis.PropType; - default: string; - }; - label: { + valueColor: { type: globalThis.PropType; default: string; }; - disabled: { - type: globalThis.PropType; - default: boolean; - }; density: { type: globalThis.PropType<"default" | "comfortable" | "compact" | null>; default: "compact"; @@ -265,35 +229,21 @@ declare const _default: __VLS_WithTemplateSlots | ((value: any) => string | boolean) | ((value: any) => PromiseLike))[]>; }; - hideDetails: { - type: globalThis.PropType; - default: boolean; - }; variant: { - type: globalThis.PropType<"filled" | "outlined" | "plain" | "underlined" | "solo" | "solo-inverted" | "solo-filled">; + type: globalThis.PropType<"underlined" | "outlined" | "plain" | "filled" | "solo" | "solo-inverted" | "solo-filled">; default: "underlined"; }; - loading: { - type: globalThis.PropType; - default: boolean; - }; - autofocus: { - type: globalThis.PropType; - default: boolean; - }; clearIcon: { type: globalThis.PropType; }; - underlined: { +}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { + [x: string]: (...args: any[]) => void; +}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly; + autofocus: { type: globalThis.PropType; default: boolean; }; - item: { - type: globalThis.PropType>; - }; - required: { - type: globalThis.PropType; - }; truncateLength: { type: globalThis.PropType; default: undefined; @@ -315,7 +265,7 @@ declare const _default: __VLS_WithTemplateSlots>; + type: globalThis.PropType>; default: "text"; }; cancelIcon: { @@ -354,6 +304,14 @@ declare const _default: __VLS_WithTemplateSlots; default: boolean; }; + color: { + type: globalThis.PropType; + default: string; + }; + disabled: { + type: globalThis.PropType; + default: boolean; + }; displayAppendIcon: { type: globalThis.PropType; default: undefined; @@ -406,6 +364,10 @@ declare const _default: __VLS_WithTemplateSlots; default: string; }; + error: { + type: globalThis.PropType; + default: boolean; + }; fieldOnly: { type: globalThis.PropType; default: boolean; @@ -414,10 +376,25 @@ declare const _default: __VLS_WithTemplateSlots; default: boolean; }; + hideDetails: { + type: globalThis.PropType; + default: boolean; + }; hideSaveIcon: { type: globalThis.PropType; default: boolean; }; + item: { + type: globalThis.PropType>; + }; + label: { + type: globalThis.PropType; + default: string; + }; + loading: { + type: globalThis.PropType; + default: boolean; + }; loadingIcon: { type: globalThis.PropType; default: undefined; @@ -430,6 +407,13 @@ declare const _default: __VLS_WithTemplateSlots; default: boolean; }; + name: { + type: globalThis.PropType; + default: string; + }; + required: { + type: globalThis.PropType; + }; saveButtonColor: { type: globalThis.PropType; default: string; @@ -443,7 +427,7 @@ declare const _default: __VLS_WithTemplateSlots>; + type: globalThis.PropType>; default: "text"; }; saveIcon: { @@ -470,27 +454,36 @@ declare const _default: __VLS_WithTemplateSlots; default: string; }; + underlined: { + type: globalThis.PropType; + default: boolean; + }; valueColor: { type: globalThis.PropType; default: string; }; + density: { + type: globalThis.PropType<"default" | "comfortable" | "compact" | null>; + default: "compact"; + }; + rules: { + type: globalThis.PropType | ((value: any) => string | boolean) | ((value: any) => PromiseLike))[]>; + }; + variant: { + type: globalThis.PropType<"underlined" | "outlined" | "plain" | "filled" | "solo" | "solo-inverted" | "solo-filled">; + default: "underlined"; + }; + clearIcon: { + type: globalThis.PropType; + }; }>>, { - name: string; - color: string; - label: string; - disabled: boolean; - density: "default" | "comfortable" | "compact" | null; - hideDetails: boolean; - variant: "filled" | "outlined" | "plain" | "underlined" | "solo" | "solo-inverted" | "solo-filled"; - loading: boolean; autofocus: boolean; - underlined: boolean; truncateLength: number; truncateSuffix: string; cancelButtonColor: string; cancelButtonSize: string | number; cancelButtonTitle: string; - cancelButtonVariant: NonNullable<"flat" | "outlined" | "plain" | "text" | "elevated" | "tonal">; + cancelButtonVariant: NonNullable<"flat" | "text" | "elevated" | "tonal" | "outlined" | "plain">; cancelIcon: string; cancelIconColor: string; cardField: boolean; @@ -500,6 +493,8 @@ declare const _default: __VLS_WithTemplateSlots; + saveButtonVariant: NonNullable<"flat" | "text" | "elevated" | "tonal" | "outlined" | "plain">; saveIcon: string; saveIconColor: string; tableField: boolean; underlineColor: string; underlineStyle: string; underlineWidth: string; + underlined: boolean; valueColor: string; + density: "default" | "comfortable" | "compact" | null; + variant: "underlined" | "outlined" | "plain" | "filled" | "solo" | "solo-inverted" | "solo-filled"; }, {}>, Partial, (_: any) => any>> & Partial, (_: any) => any>>>; export default _default; type __VLS_WithTemplateSlots = T & { diff --git a/dist/plugin/components/VInlineTextField/index.d.ts b/dist/plugin/components/VInlineTextField/index.d.ts new file mode 100644 index 0000000..98de8b9 --- /dev/null +++ b/dist/plugin/components/VInlineTextField/index.d.ts @@ -0,0 +1,11 @@ +import type { VTextField } from 'vuetify/components'; +import type { SharedProps } from '../../../plugin/types'; +import type VInlineTextField from './VInlineTextField.vue'; +export interface VInlineTextFieldProps extends Omit { + clearIcon?: string | undefined; + density?: VTextField['$props']['density']; + rules?: VTextField['$props']['rules']; + variant?: VTextField['$props']['variant']; +} +export type VInlineTextField = InstanceType; +export default VInlineTextField; diff --git a/dist/plugin/VInlineTextarea.vue.d.ts b/dist/plugin/components/VInlineTextarea/VInlineTextarea.vue.d.ts similarity index 93% rename from dist/plugin/VInlineTextarea.vue.d.ts rename to dist/plugin/components/VInlineTextarea/VInlineTextarea.vue.d.ts index cfa1382..9d98a5c 100644 --- a/dist/plugin/VInlineTextarea.vue.d.ts +++ b/dist/plugin/components/VInlineTextarea/VInlineTextarea.vue.d.ts @@ -1,68 +1,9 @@ declare const _default: __VLS_WithTemplateSlots; - error: { - type: globalThis.PropType; - }; - name: { - type: globalThis.PropType; - default: string; - }; - color: { - type: globalThis.PropType; - default: string; - }; - label: { - type: globalThis.PropType; - default: string; - }; - disabled: { - type: globalThis.PropType; - default: boolean; - }; - density: { - type: globalThis.PropType<"default" | "comfortable" | "compact" | null>; - default: "compact"; - }; - rules: { - type: globalThis.PropType | ((value: any) => string | boolean) | ((value: any) => PromiseLike))[]>; - }; - hideDetails: { - type: globalThis.PropType; - default: boolean; - }; - variant: { - type: globalThis.PropType<"filled" | "outlined" | "plain" | "underlined" | "solo" | "solo-inverted" | "solo-filled">; - default: "underlined"; - }; - loading: { - type: globalThis.PropType; - default: boolean; - }; autofocus: { type: globalThis.PropType; default: boolean; }; - clearIcon: { - type: globalThis.PropType; - }; - underlined: { - type: globalThis.PropType; - default: boolean; - }; - item: { - type: globalThis.PropType>; - }; - required: { - type: globalThis.PropType; - }; - autoGrow: { - type: globalThis.PropType; - default: boolean; - }; - rows: { - type: globalThis.PropType; - default: number; - }; truncateLength: { type: globalThis.PropType; default: undefined; @@ -84,7 +25,7 @@ declare const _default: __VLS_WithTemplateSlots>; + type: globalThis.PropType>; default: "text"; }; cancelIcon: { @@ -123,6 +64,14 @@ declare const _default: __VLS_WithTemplateSlots; default: boolean; }; + color: { + type: globalThis.PropType; + default: string; + }; + disabled: { + type: globalThis.PropType; + default: boolean; + }; displayAppendIcon: { type: globalThis.PropType; default: undefined; @@ -175,6 +124,10 @@ declare const _default: __VLS_WithTemplateSlots; default: string; }; + error: { + type: globalThis.PropType; + default: boolean; + }; fieldOnly: { type: globalThis.PropType; default: boolean; @@ -183,10 +136,25 @@ declare const _default: __VLS_WithTemplateSlots; default: boolean; }; + hideDetails: { + type: globalThis.PropType; + default: boolean; + }; hideSaveIcon: { type: globalThis.PropType; default: boolean; }; + item: { + type: globalThis.PropType>; + }; + label: { + type: globalThis.PropType; + default: string; + }; + loading: { + type: globalThis.PropType; + default: boolean; + }; loadingIcon: { type: globalThis.PropType; default: undefined; @@ -199,6 +167,13 @@ declare const _default: __VLS_WithTemplateSlots; default: boolean; }; + name: { + type: globalThis.PropType; + default: string; + }; + required: { + type: globalThis.PropType; + }; saveButtonColor: { type: globalThis.PropType; default: string; @@ -212,7 +187,7 @@ declare const _default: __VLS_WithTemplateSlots>; + type: globalThis.PropType>; default: "text"; }; saveIcon: { @@ -239,33 +214,14 @@ declare const _default: __VLS_WithTemplateSlots; default: string; }; - valueColor: { - type: globalThis.PropType; - default: string; - }; -}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { - [x: string]: (...args: any[]) => void; -}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly; - error: { + underlined: { type: globalThis.PropType; + default: boolean; }; - name: { - type: globalThis.PropType; - default: string; - }; - color: { - type: globalThis.PropType; - default: string; - }; - label: { + valueColor: { type: globalThis.PropType; default: string; }; - disabled: { - type: globalThis.PropType; - default: boolean; - }; density: { type: globalThis.PropType<"default" | "comfortable" | "compact" | null>; default: "compact"; @@ -273,35 +229,13 @@ declare const _default: __VLS_WithTemplateSlots | ((value: any) => string | boolean) | ((value: any) => PromiseLike))[]>; }; - hideDetails: { - type: globalThis.PropType; - default: boolean; - }; variant: { - type: globalThis.PropType<"filled" | "outlined" | "plain" | "underlined" | "solo" | "solo-inverted" | "solo-filled">; + type: globalThis.PropType<"underlined" | "outlined" | "plain" | "filled" | "solo" | "solo-inverted" | "solo-filled">; default: "underlined"; }; - loading: { - type: globalThis.PropType; - default: boolean; - }; - autofocus: { - type: globalThis.PropType; - default: boolean; - }; clearIcon: { type: globalThis.PropType; }; - underlined: { - type: globalThis.PropType; - default: boolean; - }; - item: { - type: globalThis.PropType>; - }; - required: { - type: globalThis.PropType; - }; autoGrow: { type: globalThis.PropType; default: boolean; @@ -310,6 +244,14 @@ declare const _default: __VLS_WithTemplateSlots; default: number; }; +}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { + [x: string]: (...args: any[]) => void; +}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly; + autofocus: { + type: globalThis.PropType; + default: boolean; + }; truncateLength: { type: globalThis.PropType; default: undefined; @@ -331,7 +273,7 @@ declare const _default: __VLS_WithTemplateSlots>; + type: globalThis.PropType>; default: "text"; }; cancelIcon: { @@ -370,6 +312,14 @@ declare const _default: __VLS_WithTemplateSlots; default: boolean; }; + color: { + type: globalThis.PropType; + default: string; + }; + disabled: { + type: globalThis.PropType; + default: boolean; + }; displayAppendIcon: { type: globalThis.PropType; default: undefined; @@ -422,6 +372,10 @@ declare const _default: __VLS_WithTemplateSlots; default: string; }; + error: { + type: globalThis.PropType; + default: boolean; + }; fieldOnly: { type: globalThis.PropType; default: boolean; @@ -430,10 +384,25 @@ declare const _default: __VLS_WithTemplateSlots; default: boolean; }; + hideDetails: { + type: globalThis.PropType; + default: boolean; + }; hideSaveIcon: { type: globalThis.PropType; default: boolean; }; + item: { + type: globalThis.PropType>; + }; + label: { + type: globalThis.PropType; + default: string; + }; + loading: { + type: globalThis.PropType; + default: boolean; + }; loadingIcon: { type: globalThis.PropType; default: undefined; @@ -446,6 +415,13 @@ declare const _default: __VLS_WithTemplateSlots; default: boolean; }; + name: { + type: globalThis.PropType; + default: string; + }; + required: { + type: globalThis.PropType; + }; saveButtonColor: { type: globalThis.PropType; default: string; @@ -459,7 +435,7 @@ declare const _default: __VLS_WithTemplateSlots>; + type: globalThis.PropType>; default: "text"; }; saveIcon: { @@ -486,29 +462,44 @@ declare const _default: __VLS_WithTemplateSlots; default: string; }; + underlined: { + type: globalThis.PropType; + default: boolean; + }; valueColor: { type: globalThis.PropType; default: string; }; + density: { + type: globalThis.PropType<"default" | "comfortable" | "compact" | null>; + default: "compact"; + }; + rules: { + type: globalThis.PropType | ((value: any) => string | boolean) | ((value: any) => PromiseLike))[]>; + }; + variant: { + type: globalThis.PropType<"underlined" | "outlined" | "plain" | "filled" | "solo" | "solo-inverted" | "solo-filled">; + default: "underlined"; + }; + clearIcon: { + type: globalThis.PropType; + }; + autoGrow: { + type: globalThis.PropType; + default: boolean; + }; + rows: { + type: globalThis.PropType; + default: number; + }; }>>, { - name: string; - color: string; - label: string; - disabled: boolean; - density: "default" | "comfortable" | "compact" | null; - hideDetails: boolean; - variant: "filled" | "outlined" | "plain" | "underlined" | "solo" | "solo-inverted" | "solo-filled"; - loading: boolean; autofocus: boolean; - underlined: boolean; - autoGrow: boolean; - rows: string | number; truncateLength: number; truncateSuffix: string; cancelButtonColor: string; cancelButtonSize: string | number; cancelButtonTitle: string; - cancelButtonVariant: NonNullable<"flat" | "outlined" | "plain" | "text" | "elevated" | "tonal">; + cancelButtonVariant: NonNullable<"flat" | "text" | "elevated" | "tonal" | "outlined" | "plain">; cancelIcon: string; cancelIconColor: string; cardField: boolean; @@ -518,6 +509,8 @@ declare const _default: __VLS_WithTemplateSlots; + saveButtonVariant: NonNullable<"flat" | "text" | "elevated" | "tonal" | "outlined" | "plain">; saveIcon: string; saveIconColor: string; tableField: boolean; underlineColor: string; underlineStyle: string; underlineWidth: string; + underlined: boolean; valueColor: string; + density: "default" | "comfortable" | "compact" | null; + variant: "underlined" | "outlined" | "plain" | "filled" | "solo" | "solo-inverted" | "solo-filled"; + autoGrow: boolean; + rows: string | number; }, {}>, Partial, (_: any) => any>> & Partial, (_: any) => any>>>; export default _default; type __VLS_WithTemplateSlots = T & { diff --git a/dist/plugin/components/VInlineTextarea/index.d.ts b/dist/plugin/components/VInlineTextarea/index.d.ts new file mode 100644 index 0000000..a0142e9 --- /dev/null +++ b/dist/plugin/components/VInlineTextarea/index.d.ts @@ -0,0 +1,13 @@ +import type { VTextarea } from 'vuetify/components'; +import type { SharedProps } from '../../../plugin/types'; +import type VInlineTextarea from './VInlineTextarea.vue'; +export interface VInlineTextareaProps extends Omit { + autoGrow?: VTextarea['$props']['autoGrow']; + clearIcon?: string | undefined; + density?: VTextarea['$props']['density']; + rows?: VTextarea['$props']['rows']; + rules?: VTextarea['$props']['rules']; + variant?: VTextarea['$props']['variant']; +} +export type VInlineTextarea = InstanceType; +export default VInlineTextarea; diff --git a/dist/plugin/components/BooleanIcons.vue.d.ts b/dist/plugin/components/common/BooleanIcons.vue.d.ts similarity index 100% rename from dist/plugin/components/BooleanIcons.vue.d.ts rename to dist/plugin/components/common/BooleanIcons.vue.d.ts diff --git a/dist/plugin/components/DisplayedValue.vue.d.ts b/dist/plugin/components/common/DisplayedValue.vue.d.ts similarity index 96% rename from dist/plugin/components/DisplayedValue.vue.d.ts rename to dist/plugin/components/common/DisplayedValue.vue.d.ts index 450706f..190bc02 100644 --- a/dist/plugin/components/DisplayedValue.vue.d.ts +++ b/dist/plugin/components/common/DisplayedValue.vue.d.ts @@ -1,4 +1,4 @@ -import { DisplayValueProps } from '../../plugin/types'; +import { DisplayValueProps } from './'; declare const _default: __VLS_WithTemplateSlots, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { toggleField: (...args: any[]) => void; }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly>> & { diff --git a/dist/plugin/components/SaveFieldButtons.vue.d.ts b/dist/plugin/components/common/SaveFieldButtons.vue.d.ts similarity index 95% rename from dist/plugin/components/SaveFieldButtons.vue.d.ts rename to dist/plugin/components/common/SaveFieldButtons.vue.d.ts index e8716c0..36b76ea 100644 --- a/dist/plugin/components/SaveFieldButtons.vue.d.ts +++ b/dist/plugin/components/common/SaveFieldButtons.vue.d.ts @@ -1,4 +1,4 @@ -import { SaveFieldButtons } from '../../plugin/types'; +import { SaveFieldButtons } from './'; declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps, {}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { close: (...args: any[]) => void; save: (...args: any[]) => void; diff --git a/dist/plugin/components/common/index.d.ts b/dist/plugin/components/common/index.d.ts new file mode 100644 index 0000000..512ae4b --- /dev/null +++ b/dist/plugin/components/common/index.d.ts @@ -0,0 +1,28 @@ +import type { MaybeRef, Ref } from 'vue'; +import type { SharedProps } from '../../../plugin/types'; +export interface BooleanIcons extends Required>, Pick { +} +export interface DisplayValueProps { + [key: string]: any; + color: SharedProps['color']; + displayAppendIcon: SharedProps['displayAppendIcon']; + displayAppendIconColor: SharedProps['displayAppendIconColor']; + displayAppendInnerIcon: SharedProps['displayAppendInnerIcon']; + displayAppendInnerIconColor: SharedProps['displayAppendInnerIconColor']; + displayPrependIcon: SharedProps['displayPrependIcon']; + displayPrependIconColor: SharedProps['displayPrependIconColor']; + displayPrependInnerIcon: SharedProps['displayPrependInnerIcon']; + displayPrependInnerIconColor: SharedProps['displayPrependInnerIconColor']; + displayValue: any; + empty?: Ref | boolean; + error?: MaybeRef | boolean | undefined; + field: string; + underlineColor?: SharedProps['underlineColor']; + underlineStyle?: SharedProps['underlineStyle']; + underlineWidth?: SharedProps['underlineWidth']; + underlined?: SharedProps['underlined']; + valueColor?: SharedProps['valueColor']; +} +export interface SaveFieldButtons extends Required>, Pick { + loading: boolean; +} diff --git a/dist/plugin/components/index.d.ts b/dist/plugin/components/index.d.ts index dde3efe..2e9346a 100644 --- a/dist/plugin/components/index.d.ts +++ b/dist/plugin/components/index.d.ts @@ -1,4 +1,13 @@ -import BooleanIcons from './BooleanIcons.vue'; -import DisplayedValue from './DisplayedValue.vue'; -import SaveFieldButtons from './SaveFieldButtons.vue'; -export { BooleanIcons, DisplayedValue, SaveFieldButtons, }; +import VInlineCheckbox from './VInlineCheckbox/VInlineCheckbox.vue'; +import VInlineCustomField from './VInlineCustomField/VInlineCustomField.vue'; +import VInlineSelect from './VInlineSelect/VInlineSelect.vue'; +import VInlineSwitch from './VInlineSwitch/VInlineSwitch.vue'; +import VInlineTextField from './VInlineTextField/VInlineTextField.vue'; +import VInlineTextarea from './VInlineTextarea/VInlineTextarea.vue'; +export { VInlineCheckbox, VInlineCustomField, VInlineSelect, VInlineSwitch, VInlineTextField, VInlineTextarea, }; +export * from './VInlineCheckbox'; +export * from './VInlineCustomField'; +export * from './VInlineSelect'; +export * from './VInlineSwitch'; +export * from './VInlineTextField'; +export * from './VInlineTextarea'; diff --git a/dist/plugin/index.d.ts b/dist/plugin/index.d.ts index 72cbb3b..a1d1c4b 100644 --- a/dist/plugin/index.d.ts +++ b/dist/plugin/index.d.ts @@ -1,7211 +1,9 @@ import { App } from 'vue'; -import VInlineCheckbox from './VInlineCheckbox.vue'; -import VInlineCustomField from './VInlineCustomField.vue'; -import VInlineSelect from './VInlineSelect.vue'; -import VInlineSwitch from './VInlineSwitch.vue'; -import VInlineTextField from './VInlineTextField.vue'; -import VInlineTextarea from './VInlineTextarea.vue'; import type { SharedProps } from './types'; +import * as VInlineFields from './components/index'; export declare const globalOptions: unique symbol; -export declare function createVInlineFields(options?: Omit): (app: App) => void; -declare const _default: { - VInlineCheckbox: { - new (...args: any[]): import("vue").CreateComponentPublicInstance; - error: { - type: globalThis.PropType; - }; - name: { - type: globalThis.PropType; - default: string; - }; - color: { - type: globalThis.PropType; - default: string; - }; - label: { - type: globalThis.PropType; - default: string; - }; - disabled: { - type: globalThis.PropType; - default: boolean; - }; - density: { - type: globalThis.PropType<"default" | "comfortable" | "compact" | null>; - default: "compact"; - }; - falseIcon: { - type: globalThis.PropType; - default: undefined; - }; - trueIcon: { - type: globalThis.PropType; - default: undefined; - }; - trueValue: { - type: globalThis.PropType; - default: boolean; - }; - falseValue: { - type: globalThis.PropType; - default: boolean; - }; - hideDetails: { - type: globalThis.PropType; - default: boolean; - }; - loading: { - type: globalThis.PropType; - default: boolean; - }; - underlined: { - type: globalThis.PropType; - default: boolean; - }; - item: { - type: globalThis.PropType>; - }; - required: { - type: globalThis.PropType; - }; - iconFalse: { - type: globalThis.PropType; - default: undefined; - }; - iconFalseColor: { - type: globalThis.PropType; - default: string; - }; - iconFalseTitle: { - type: globalThis.PropType; - default: string; - }; - iconTrue: { - type: globalThis.PropType; - default: undefined; - }; - iconTrueColor: { - type: globalThis.PropType; - default: string; - }; - iconTrueTitle: { - type: globalThis.PropType; - default: string; - }; - icons: { - type: globalThis.PropType; - default: boolean; - }; - cancelButtonColor: { - type: globalThis.PropType; - default: string; - }; - cancelButtonSize: { - type: globalThis.PropType; - default: string; - }; - cancelButtonTitle: { - type: globalThis.PropType; - default: string; - }; - cancelButtonVariant: { - type: globalThis.PropType>; - default: "text"; - }; - cancelIcon: { - type: globalThis.PropType; - default: undefined; - }; - cancelIconColor: { - type: globalThis.PropType; - default: string; - }; - cardField: { - type: globalThis.PropType; - default: boolean; - }; - cardOffsetX: { - type: globalThis.PropType; - default: number; - }; - cardOffsetY: { - type: globalThis.PropType; - default: number; - }; - cardProps: { - type: globalThis.PropType; - default: () => {}; - }; - cell: { - type: globalThis.PropType; - default: boolean; - }; - cellUnderlineFullWidth: { - type: globalThis.PropType; - default: boolean; - }; - closeSiblings: { - type: globalThis.PropType; - default: boolean; - }; - displayAppendIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendIconSize: { - type: globalThis.PropType; - default: string; - }; - displayAppendInnerIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendInnerIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendInnerIconSize: { - type: globalThis.PropType; - default: string; - }; - displayPrependIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependIconSize: { - type: globalThis.PropType; - default: string; - }; - displayPrependInnerIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependInnerIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependInnerIconSize: { - type: globalThis.PropType; - default: string; - }; - emptyText: { - type: globalThis.PropType; - default: string; - }; - fieldOnly: { - type: globalThis.PropType; - default: boolean; - }; - hideCancelIcon: { - type: globalThis.PropType; - default: boolean; - }; - hideSaveIcon: { - type: globalThis.PropType; - default: boolean; - }; - loadingIcon: { - type: globalThis.PropType; - default: undefined; - }; - loadingIconColor: { - type: globalThis.PropType; - default: string; - }; - loadingWait: { - type: globalThis.PropType; - default: boolean; - }; - saveButtonColor: { - type: globalThis.PropType; - default: string; - }; - saveButtonSize: { - type: globalThis.PropType; - default: string; - }; - saveButtonTitle: { - type: globalThis.PropType; - default: string; - }; - saveButtonVariant: { - type: globalThis.PropType>; - default: "text"; - }; - saveIcon: { - type: globalThis.PropType; - default: undefined; - }; - saveIconColor: { - type: globalThis.PropType; - default: string; - }; - tableField: { - type: globalThis.PropType; - default: boolean; - }; - underlineColor: { - type: globalThis.PropType; - default: string; - }; - underlineStyle: { - type: globalThis.PropType; - default: string; - }; - underlineWidth: { - type: globalThis.PropType; - default: string; - }; - valueColor: { - type: globalThis.PropType; - default: string; - }; - }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { - [x: string]: (...args: any[]) => void; - }, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly; - error: { - type: globalThis.PropType; - }; - name: { - type: globalThis.PropType; - default: string; - }; - color: { - type: globalThis.PropType; - default: string; - }; - label: { - type: globalThis.PropType; - default: string; - }; - disabled: { - type: globalThis.PropType; - default: boolean; - }; - density: { - type: globalThis.PropType<"default" | "comfortable" | "compact" | null>; - default: "compact"; - }; - falseIcon: { - type: globalThis.PropType; - default: undefined; - }; - trueIcon: { - type: globalThis.PropType; - default: undefined; - }; - trueValue: { - type: globalThis.PropType; - default: boolean; - }; - falseValue: { - type: globalThis.PropType; - default: boolean; - }; - hideDetails: { - type: globalThis.PropType; - default: boolean; - }; - loading: { - type: globalThis.PropType; - default: boolean; - }; - underlined: { - type: globalThis.PropType; - default: boolean; - }; - item: { - type: globalThis.PropType>; - }; - required: { - type: globalThis.PropType; - }; - iconFalse: { - type: globalThis.PropType; - default: undefined; - }; - iconFalseColor: { - type: globalThis.PropType; - default: string; - }; - iconFalseTitle: { - type: globalThis.PropType; - default: string; - }; - iconTrue: { - type: globalThis.PropType; - default: undefined; - }; - iconTrueColor: { - type: globalThis.PropType; - default: string; - }; - iconTrueTitle: { - type: globalThis.PropType; - default: string; - }; - icons: { - type: globalThis.PropType; - default: boolean; - }; - cancelButtonColor: { - type: globalThis.PropType; - default: string; - }; - cancelButtonSize: { - type: globalThis.PropType; - default: string; - }; - cancelButtonTitle: { - type: globalThis.PropType; - default: string; - }; - cancelButtonVariant: { - type: globalThis.PropType>; - default: "text"; - }; - cancelIcon: { - type: globalThis.PropType; - default: undefined; - }; - cancelIconColor: { - type: globalThis.PropType; - default: string; - }; - cardField: { - type: globalThis.PropType; - default: boolean; - }; - cardOffsetX: { - type: globalThis.PropType; - default: number; - }; - cardOffsetY: { - type: globalThis.PropType; - default: number; - }; - cardProps: { - type: globalThis.PropType; - default: () => {}; - }; - cell: { - type: globalThis.PropType; - default: boolean; - }; - cellUnderlineFullWidth: { - type: globalThis.PropType; - default: boolean; - }; - closeSiblings: { - type: globalThis.PropType; - default: boolean; - }; - displayAppendIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendIconSize: { - type: globalThis.PropType; - default: string; - }; - displayAppendInnerIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendInnerIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendInnerIconSize: { - type: globalThis.PropType; - default: string; - }; - displayPrependIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependIconSize: { - type: globalThis.PropType; - default: string; - }; - displayPrependInnerIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependInnerIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependInnerIconSize: { - type: globalThis.PropType; - default: string; - }; - emptyText: { - type: globalThis.PropType; - default: string; - }; - fieldOnly: { - type: globalThis.PropType; - default: boolean; - }; - hideCancelIcon: { - type: globalThis.PropType; - default: boolean; - }; - hideSaveIcon: { - type: globalThis.PropType; - default: boolean; - }; - loadingIcon: { - type: globalThis.PropType; - default: undefined; - }; - loadingIconColor: { - type: globalThis.PropType; - default: string; - }; - loadingWait: { - type: globalThis.PropType; - default: boolean; - }; - saveButtonColor: { - type: globalThis.PropType; - default: string; - }; - saveButtonSize: { - type: globalThis.PropType; - default: string; - }; - saveButtonTitle: { - type: globalThis.PropType; - default: string; - }; - saveButtonVariant: { - type: globalThis.PropType>; - default: "text"; - }; - saveIcon: { - type: globalThis.PropType; - default: undefined; - }; - saveIconColor: { - type: globalThis.PropType; - default: string; - }; - tableField: { - type: globalThis.PropType; - default: boolean; - }; - underlineColor: { - type: globalThis.PropType; - default: string; - }; - underlineStyle: { - type: globalThis.PropType; - default: string; - }; - underlineWidth: { - type: globalThis.PropType; - default: string; - }; - valueColor: { - type: globalThis.PropType; - default: string; - }; - }>>, { - name: string; - color: string; - label: string; - disabled: boolean; - density: "default" | "comfortable" | "compact" | null; - falseIcon: string; - trueIcon: string; - trueValue: string | boolean; - falseValue: string | boolean; - hideDetails: boolean; - loading: boolean; - underlined: boolean; - iconFalse: string; - iconFalseColor: string; - iconFalseTitle: string; - iconTrue: string; - iconTrueColor: string; - iconTrueTitle: string; - icons: boolean; - cancelButtonColor: string; - cancelButtonSize: string | number; - cancelButtonTitle: string; - cancelButtonVariant: NonNullable<"flat" | "outlined" | "plain" | "text" | "elevated" | "tonal">; - cancelIcon: string; - cancelIconColor: string; - cardField: boolean; - cardOffsetX: number; - cardOffsetY: number; - cardProps: any; - cell: boolean; - cellUnderlineFullWidth: boolean; - closeSiblings: boolean; - displayAppendIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; - displayAppendIconColor: string; - displayAppendIconSize: string | number; - displayAppendInnerIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; - displayAppendInnerIconColor: string; - displayAppendInnerIconSize: string | number; - displayPrependIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; - displayPrependIconColor: string; - displayPrependIconSize: string | number; - displayPrependInnerIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; - displayPrependInnerIconColor: string; - displayPrependInnerIconSize: string | number; - emptyText: string; - fieldOnly: boolean; - hideCancelIcon: boolean; - hideSaveIcon: boolean; - loadingIcon: string; - loadingIconColor: string; - loadingWait: boolean; - saveButtonColor: string; - saveButtonSize: string | number; - saveButtonTitle: string; - saveButtonVariant: NonNullable<"flat" | "outlined" | "plain" | "text" | "elevated" | "tonal">; - saveIcon: string; - saveIconColor: string; - tableField: boolean; - underlineColor: string; - underlineStyle: string; - underlineWidth: string; - valueColor: string; - }, true, {}, {}, { - P: {}; - B: {}; - D: {}; - C: {}; - M: {}; - Defaults: {}; - }, Readonly; - error: { - type: globalThis.PropType; - }; - name: { - type: globalThis.PropType; - default: string; - }; - color: { - type: globalThis.PropType; - default: string; - }; - label: { - type: globalThis.PropType; - default: string; - }; - disabled: { - type: globalThis.PropType; - default: boolean; - }; - density: { - type: globalThis.PropType<"default" | "comfortable" | "compact" | null>; - default: "compact"; - }; - falseIcon: { - type: globalThis.PropType; - default: undefined; - }; - trueIcon: { - type: globalThis.PropType; - default: undefined; - }; - trueValue: { - type: globalThis.PropType; - default: boolean; - }; - falseValue: { - type: globalThis.PropType; - default: boolean; - }; - hideDetails: { - type: globalThis.PropType; - default: boolean; - }; - loading: { - type: globalThis.PropType; - default: boolean; - }; - underlined: { - type: globalThis.PropType; - default: boolean; - }; - item: { - type: globalThis.PropType>; - }; - required: { - type: globalThis.PropType; - }; - iconFalse: { - type: globalThis.PropType; - default: undefined; - }; - iconFalseColor: { - type: globalThis.PropType; - default: string; - }; - iconFalseTitle: { - type: globalThis.PropType; - default: string; - }; - iconTrue: { - type: globalThis.PropType; - default: undefined; - }; - iconTrueColor: { - type: globalThis.PropType; - default: string; - }; - iconTrueTitle: { - type: globalThis.PropType; - default: string; - }; - icons: { - type: globalThis.PropType; - default: boolean; - }; - cancelButtonColor: { - type: globalThis.PropType; - default: string; - }; - cancelButtonSize: { - type: globalThis.PropType; - default: string; - }; - cancelButtonTitle: { - type: globalThis.PropType; - default: string; - }; - cancelButtonVariant: { - type: globalThis.PropType>; - default: "text"; - }; - cancelIcon: { - type: globalThis.PropType; - default: undefined; - }; - cancelIconColor: { - type: globalThis.PropType; - default: string; - }; - cardField: { - type: globalThis.PropType; - default: boolean; - }; - cardOffsetX: { - type: globalThis.PropType; - default: number; - }; - cardOffsetY: { - type: globalThis.PropType; - default: number; - }; - cardProps: { - type: globalThis.PropType; - default: () => {}; - }; - cell: { - type: globalThis.PropType; - default: boolean; - }; - cellUnderlineFullWidth: { - type: globalThis.PropType; - default: boolean; - }; - closeSiblings: { - type: globalThis.PropType; - default: boolean; - }; - displayAppendIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendIconSize: { - type: globalThis.PropType; - default: string; - }; - displayAppendInnerIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendInnerIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendInnerIconSize: { - type: globalThis.PropType; - default: string; - }; - displayPrependIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependIconSize: { - type: globalThis.PropType; - default: string; - }; - displayPrependInnerIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependInnerIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependInnerIconSize: { - type: globalThis.PropType; - default: string; - }; - emptyText: { - type: globalThis.PropType; - default: string; - }; - fieldOnly: { - type: globalThis.PropType; - default: boolean; - }; - hideCancelIcon: { - type: globalThis.PropType; - default: boolean; - }; - hideSaveIcon: { - type: globalThis.PropType; - default: boolean; - }; - loadingIcon: { - type: globalThis.PropType; - default: undefined; - }; - loadingIconColor: { - type: globalThis.PropType; - default: string; - }; - loadingWait: { - type: globalThis.PropType; - default: boolean; - }; - saveButtonColor: { - type: globalThis.PropType; - default: string; - }; - saveButtonSize: { - type: globalThis.PropType; - default: string; - }; - saveButtonTitle: { - type: globalThis.PropType; - default: string; - }; - saveButtonVariant: { - type: globalThis.PropType>; - default: "text"; - }; - saveIcon: { - type: globalThis.PropType; - default: undefined; - }; - saveIconColor: { - type: globalThis.PropType; - default: string; - }; - tableField: { - type: globalThis.PropType; - default: boolean; - }; - underlineColor: { - type: globalThis.PropType; - default: string; - }; - underlineStyle: { - type: globalThis.PropType; - default: string; - }; - underlineWidth: { - type: globalThis.PropType; - default: string; - }; - valueColor: { - type: globalThis.PropType; - default: string; - }; - }>>, {}, {}, {}, {}, { - name: string; - color: string; - label: string; - disabled: boolean; - density: "default" | "comfortable" | "compact" | null; - falseIcon: string; - trueIcon: string; - trueValue: string | boolean; - falseValue: string | boolean; - hideDetails: boolean; - loading: boolean; - underlined: boolean; - iconFalse: string; - iconFalseColor: string; - iconFalseTitle: string; - iconTrue: string; - iconTrueColor: string; - iconTrueTitle: string; - icons: boolean; - cancelButtonColor: string; - cancelButtonSize: string | number; - cancelButtonTitle: string; - cancelButtonVariant: NonNullable<"flat" | "outlined" | "plain" | "text" | "elevated" | "tonal">; - cancelIcon: string; - cancelIconColor: string; - cardField: boolean; - cardOffsetX: number; - cardOffsetY: number; - cardProps: any; - cell: boolean; - cellUnderlineFullWidth: boolean; - closeSiblings: boolean; - displayAppendIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; - displayAppendIconColor: string; - displayAppendIconSize: string | number; - displayAppendInnerIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; - displayAppendInnerIconColor: string; - displayAppendInnerIconSize: string | number; - displayPrependIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; - displayPrependIconColor: string; - displayPrependIconSize: string | number; - displayPrependInnerIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; - displayPrependInnerIconColor: string; - displayPrependInnerIconSize: string | number; - emptyText: string; - fieldOnly: boolean; - hideCancelIcon: boolean; - hideSaveIcon: boolean; - loadingIcon: string; - loadingIconColor: string; - loadingWait: boolean; - saveButtonColor: string; - saveButtonSize: string | number; - saveButtonTitle: string; - saveButtonVariant: NonNullable<"flat" | "outlined" | "plain" | "text" | "elevated" | "tonal">; - saveIcon: string; - saveIconColor: string; - tableField: boolean; - underlineColor: string; - underlineStyle: string; - underlineWidth: string; - valueColor: string; - }>; - __isFragment?: undefined; - __isTeleport?: undefined; - __isSuspense?: undefined; - } & import("vue").ComponentOptionsBase; - error: { - type: globalThis.PropType; - }; - name: { - type: globalThis.PropType; - default: string; - }; - color: { - type: globalThis.PropType; - default: string; - }; - label: { - type: globalThis.PropType; - default: string; - }; - disabled: { - type: globalThis.PropType; - default: boolean; - }; - density: { - type: globalThis.PropType<"default" | "comfortable" | "compact" | null>; - default: "compact"; - }; - falseIcon: { - type: globalThis.PropType; - default: undefined; - }; - trueIcon: { - type: globalThis.PropType; - default: undefined; - }; - trueValue: { - type: globalThis.PropType; - default: boolean; - }; - falseValue: { - type: globalThis.PropType; - default: boolean; - }; - hideDetails: { - type: globalThis.PropType; - default: boolean; - }; - loading: { - type: globalThis.PropType; - default: boolean; - }; - underlined: { - type: globalThis.PropType; - default: boolean; - }; - item: { - type: globalThis.PropType>; - }; - required: { - type: globalThis.PropType; - }; - iconFalse: { - type: globalThis.PropType; - default: undefined; - }; - iconFalseColor: { - type: globalThis.PropType; - default: string; - }; - iconFalseTitle: { - type: globalThis.PropType; - default: string; - }; - iconTrue: { - type: globalThis.PropType; - default: undefined; - }; - iconTrueColor: { - type: globalThis.PropType; - default: string; - }; - iconTrueTitle: { - type: globalThis.PropType; - default: string; - }; - icons: { - type: globalThis.PropType; - default: boolean; - }; - cancelButtonColor: { - type: globalThis.PropType; - default: string; - }; - cancelButtonSize: { - type: globalThis.PropType; - default: string; - }; - cancelButtonTitle: { - type: globalThis.PropType; - default: string; - }; - cancelButtonVariant: { - type: globalThis.PropType>; - default: "text"; - }; - cancelIcon: { - type: globalThis.PropType; - default: undefined; - }; - cancelIconColor: { - type: globalThis.PropType; - default: string; - }; - cardField: { - type: globalThis.PropType; - default: boolean; - }; - cardOffsetX: { - type: globalThis.PropType; - default: number; - }; - cardOffsetY: { - type: globalThis.PropType; - default: number; - }; - cardProps: { - type: globalThis.PropType; - default: () => {}; - }; - cell: { - type: globalThis.PropType; - default: boolean; - }; - cellUnderlineFullWidth: { - type: globalThis.PropType; - default: boolean; - }; - closeSiblings: { - type: globalThis.PropType; - default: boolean; - }; - displayAppendIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendIconSize: { - type: globalThis.PropType; - default: string; - }; - displayAppendInnerIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendInnerIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendInnerIconSize: { - type: globalThis.PropType; - default: string; - }; - displayPrependIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependIconSize: { - type: globalThis.PropType; - default: string; - }; - displayPrependInnerIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependInnerIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependInnerIconSize: { - type: globalThis.PropType; - default: string; - }; - emptyText: { - type: globalThis.PropType; - default: string; - }; - fieldOnly: { - type: globalThis.PropType; - default: boolean; - }; - hideCancelIcon: { - type: globalThis.PropType; - default: boolean; - }; - hideSaveIcon: { - type: globalThis.PropType; - default: boolean; - }; - loadingIcon: { - type: globalThis.PropType; - default: undefined; - }; - loadingIconColor: { - type: globalThis.PropType; - default: string; - }; - loadingWait: { - type: globalThis.PropType; - default: boolean; - }; - saveButtonColor: { - type: globalThis.PropType; - default: string; - }; - saveButtonSize: { - type: globalThis.PropType; - default: string; - }; - saveButtonTitle: { - type: globalThis.PropType; - default: string; - }; - saveButtonVariant: { - type: globalThis.PropType>; - default: "text"; - }; - saveIcon: { - type: globalThis.PropType; - default: undefined; - }; - saveIconColor: { - type: globalThis.PropType; - default: string; - }; - tableField: { - type: globalThis.PropType; - default: boolean; - }; - underlineColor: { - type: globalThis.PropType; - default: string; - }; - underlineStyle: { - type: globalThis.PropType; - default: string; - }; - underlineWidth: { - type: globalThis.PropType; - default: string; - }; - valueColor: { - type: globalThis.PropType; - default: string; - }; - }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { - [x: string]: (...args: any[]) => void; - }, string, { - name: string; - color: string; - label: string; - disabled: boolean; - density: "default" | "comfortable" | "compact" | null; - falseIcon: string; - trueIcon: string; - trueValue: string | boolean; - falseValue: string | boolean; - hideDetails: boolean; - loading: boolean; - underlined: boolean; - iconFalse: string; - iconFalseColor: string; - iconFalseTitle: string; - iconTrue: string; - iconTrueColor: string; - iconTrueTitle: string; - icons: boolean; - cancelButtonColor: string; - cancelButtonSize: string | number; - cancelButtonTitle: string; - cancelButtonVariant: NonNullable<"flat" | "outlined" | "plain" | "text" | "elevated" | "tonal">; - cancelIcon: string; - cancelIconColor: string; - cardField: boolean; - cardOffsetX: number; - cardOffsetY: number; - cardProps: any; - cell: boolean; - cellUnderlineFullWidth: boolean; - closeSiblings: boolean; - displayAppendIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; - displayAppendIconColor: string; - displayAppendIconSize: string | number; - displayAppendInnerIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; - displayAppendInnerIconColor: string; - displayAppendInnerIconSize: string | number; - displayPrependIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; - displayPrependIconColor: string; - displayPrependIconSize: string | number; - displayPrependInnerIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; - displayPrependInnerIconColor: string; - displayPrependInnerIconSize: string | number; - emptyText: string; - fieldOnly: boolean; - hideCancelIcon: boolean; - hideSaveIcon: boolean; - loadingIcon: string; - loadingIconColor: string; - loadingWait: boolean; - saveButtonColor: string; - saveButtonSize: string | number; - saveButtonTitle: string; - saveButtonVariant: NonNullable<"flat" | "outlined" | "plain" | "text" | "elevated" | "tonal">; - saveIcon: string; - saveIconColor: string; - tableField: boolean; - underlineColor: string; - underlineStyle: string; - underlineWidth: string; - valueColor: string; - }, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => { - $slots: Partial, (_: any) => any>>; - }); - VInlineCustomField: { - new (...args: any[]): import("vue").CreateComponentPublicInstance; - error: { - type: globalThis.PropType; - }; - name: { - type: globalThis.PropType; - default: string; - }; - color: { - type: globalThis.PropType; - default: string; - }; - label: { - type: globalThis.PropType; - default: string; - }; - disabled: { - type: globalThis.PropType; - default: boolean; - }; - density: { - type: globalThis.PropType<"default" | "comfortable" | "compact" | null>; - default: "compact"; - }; - rules: { - type: globalThis.PropType | ((value: any) => string | boolean) | ((value: any) => PromiseLike))[]>; - }; - hideDetails: { - type: globalThis.PropType; - default: boolean; - }; - variant: { - type: globalThis.PropType<"filled" | "outlined" | "plain" | "underlined" | "solo" | "solo-inverted" | "solo-filled">; - default: "underlined"; - }; - loading: { - type: globalThis.PropType; - default: boolean; - }; - autofocus: { - type: globalThis.PropType; - default: boolean; - }; - clearIcon: { - type: globalThis.PropType; - }; - underlined: { - type: globalThis.PropType; - default: boolean; - }; - item: { - type: globalThis.PropType>; - }; - required: { - type: globalThis.PropType; - }; - truncateLength: { - type: globalThis.PropType; - default: undefined; - }; - truncateSuffix: { - type: globalThis.PropType; - default: string; - }; - cancelButtonColor: { - type: globalThis.PropType; - default: string; - }; - cancelButtonSize: { - type: globalThis.PropType; - default: string; - }; - cancelButtonTitle: { - type: globalThis.PropType; - default: string; - }; - cancelButtonVariant: { - type: globalThis.PropType>; - default: "text"; - }; - cancelIcon: { - type: globalThis.PropType; - default: undefined; - }; - cancelIconColor: { - type: globalThis.PropType; - default: string; - }; - cardField: { - type: globalThis.PropType; - default: boolean; - }; - cardOffsetX: { - type: globalThis.PropType; - default: number; - }; - cardOffsetY: { - type: globalThis.PropType; - default: number; - }; - cardProps: { - type: globalThis.PropType; - default: () => {}; - }; - cell: { - type: globalThis.PropType; - default: boolean; - }; - cellUnderlineFullWidth: { - type: globalThis.PropType; - default: boolean; - }; - closeSiblings: { - type: globalThis.PropType; - default: boolean; - }; - displayAppendIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendIconSize: { - type: globalThis.PropType; - default: string; - }; - displayAppendInnerIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendInnerIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendInnerIconSize: { - type: globalThis.PropType; - default: string; - }; - displayPrependIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependIconSize: { - type: globalThis.PropType; - default: string; - }; - displayPrependInnerIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependInnerIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependInnerIconSize: { - type: globalThis.PropType; - default: string; - }; - emptyText: { - type: globalThis.PropType; - default: string; - }; - fieldOnly: { - type: globalThis.PropType; - default: boolean; - }; - hideCancelIcon: { - type: globalThis.PropType; - default: boolean; - }; - hideSaveIcon: { - type: globalThis.PropType; - default: boolean; - }; - loadingIcon: { - type: globalThis.PropType; - default: undefined; - }; - loadingIconColor: { - type: globalThis.PropType; - default: string; - }; - loadingWait: { - type: globalThis.PropType; - default: boolean; - }; - saveButtonColor: { - type: globalThis.PropType; - default: string; - }; - saveButtonSize: { - type: globalThis.PropType; - default: string; - }; - saveButtonTitle: { - type: globalThis.PropType; - default: string; - }; - saveButtonVariant: { - type: globalThis.PropType>; - default: "text"; - }; - saveIcon: { - type: globalThis.PropType; - default: undefined; - }; - saveIconColor: { - type: globalThis.PropType; - default: string; - }; - tableField: { - type: globalThis.PropType; - default: boolean; - }; - underlineColor: { - type: globalThis.PropType; - default: string; - }; - underlineStyle: { - type: globalThis.PropType; - default: string; - }; - underlineWidth: { - type: globalThis.PropType; - default: string; - }; - valueColor: { - type: globalThis.PropType; - default: string; - }; - }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { - [x: string]: (...args: any[]) => void; - }, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly; - error: { - type: globalThis.PropType; - }; - name: { - type: globalThis.PropType; - default: string; - }; - color: { - type: globalThis.PropType; - default: string; - }; - label: { - type: globalThis.PropType; - default: string; - }; - disabled: { - type: globalThis.PropType; - default: boolean; - }; - density: { - type: globalThis.PropType<"default" | "comfortable" | "compact" | null>; - default: "compact"; - }; - rules: { - type: globalThis.PropType | ((value: any) => string | boolean) | ((value: any) => PromiseLike))[]>; - }; - hideDetails: { - type: globalThis.PropType; - default: boolean; - }; - variant: { - type: globalThis.PropType<"filled" | "outlined" | "plain" | "underlined" | "solo" | "solo-inverted" | "solo-filled">; - default: "underlined"; - }; - loading: { - type: globalThis.PropType; - default: boolean; - }; - autofocus: { - type: globalThis.PropType; - default: boolean; - }; - clearIcon: { - type: globalThis.PropType; - }; - underlined: { - type: globalThis.PropType; - default: boolean; - }; - item: { - type: globalThis.PropType>; - }; - required: { - type: globalThis.PropType; - }; - truncateLength: { - type: globalThis.PropType; - default: undefined; - }; - truncateSuffix: { - type: globalThis.PropType; - default: string; - }; - cancelButtonColor: { - type: globalThis.PropType; - default: string; - }; - cancelButtonSize: { - type: globalThis.PropType; - default: string; - }; - cancelButtonTitle: { - type: globalThis.PropType; - default: string; - }; - cancelButtonVariant: { - type: globalThis.PropType>; - default: "text"; - }; - cancelIcon: { - type: globalThis.PropType; - default: undefined; - }; - cancelIconColor: { - type: globalThis.PropType; - default: string; - }; - cardField: { - type: globalThis.PropType; - default: boolean; - }; - cardOffsetX: { - type: globalThis.PropType; - default: number; - }; - cardOffsetY: { - type: globalThis.PropType; - default: number; - }; - cardProps: { - type: globalThis.PropType; - default: () => {}; - }; - cell: { - type: globalThis.PropType; - default: boolean; - }; - cellUnderlineFullWidth: { - type: globalThis.PropType; - default: boolean; - }; - closeSiblings: { - type: globalThis.PropType; - default: boolean; - }; - displayAppendIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendIconSize: { - type: globalThis.PropType; - default: string; - }; - displayAppendInnerIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendInnerIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendInnerIconSize: { - type: globalThis.PropType; - default: string; - }; - displayPrependIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependIconSize: { - type: globalThis.PropType; - default: string; - }; - displayPrependInnerIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependInnerIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependInnerIconSize: { - type: globalThis.PropType; - default: string; - }; - emptyText: { - type: globalThis.PropType; - default: string; - }; - fieldOnly: { - type: globalThis.PropType; - default: boolean; - }; - hideCancelIcon: { - type: globalThis.PropType; - default: boolean; - }; - hideSaveIcon: { - type: globalThis.PropType; - default: boolean; - }; - loadingIcon: { - type: globalThis.PropType; - default: undefined; - }; - loadingIconColor: { - type: globalThis.PropType; - default: string; - }; - loadingWait: { - type: globalThis.PropType; - default: boolean; - }; - saveButtonColor: { - type: globalThis.PropType; - default: string; - }; - saveButtonSize: { - type: globalThis.PropType; - default: string; - }; - saveButtonTitle: { - type: globalThis.PropType; - default: string; - }; - saveButtonVariant: { - type: globalThis.PropType>; - default: "text"; - }; - saveIcon: { - type: globalThis.PropType; - default: undefined; - }; - saveIconColor: { - type: globalThis.PropType; - default: string; - }; - tableField: { - type: globalThis.PropType; - default: boolean; - }; - underlineColor: { - type: globalThis.PropType; - default: string; - }; - underlineStyle: { - type: globalThis.PropType; - default: string; - }; - underlineWidth: { - type: globalThis.PropType; - default: string; - }; - valueColor: { - type: globalThis.PropType; - default: string; - }; - }>>, { - name: string; - color: string; - label: string; - disabled: boolean; - density: "default" | "comfortable" | "compact" | null; - hideDetails: boolean; - variant: "filled" | "outlined" | "plain" | "underlined" | "solo" | "solo-inverted" | "solo-filled"; - loading: boolean; - autofocus: boolean; - underlined: boolean; - truncateLength: number; - truncateSuffix: string; - cancelButtonColor: string; - cancelButtonSize: string | number; - cancelButtonTitle: string; - cancelButtonVariant: NonNullable<"flat" | "outlined" | "plain" | "text" | "elevated" | "tonal">; - cancelIcon: string; - cancelIconColor: string; - cardField: boolean; - cardOffsetX: number; - cardOffsetY: number; - cardProps: any; - cell: boolean; - cellUnderlineFullWidth: boolean; - closeSiblings: boolean; - displayAppendIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; - displayAppendIconColor: string; - displayAppendIconSize: string | number; - displayAppendInnerIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; - displayAppendInnerIconColor: string; - displayAppendInnerIconSize: string | number; - displayPrependIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; - displayPrependIconColor: string; - displayPrependIconSize: string | number; - displayPrependInnerIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; - displayPrependInnerIconColor: string; - displayPrependInnerIconSize: string | number; - emptyText: string; - fieldOnly: boolean; - hideCancelIcon: boolean; - hideSaveIcon: boolean; - loadingIcon: string; - loadingIconColor: string; - loadingWait: boolean; - saveButtonColor: string; - saveButtonSize: string | number; - saveButtonTitle: string; - saveButtonVariant: NonNullable<"flat" | "outlined" | "plain" | "text" | "elevated" | "tonal">; - saveIcon: string; - saveIconColor: string; - tableField: boolean; - underlineColor: string; - underlineStyle: string; - underlineWidth: string; - valueColor: string; - }, true, {}, {}, { - P: {}; - B: {}; - D: {}; - C: {}; - M: {}; - Defaults: {}; - }, Readonly; - error: { - type: globalThis.PropType; - }; - name: { - type: globalThis.PropType; - default: string; - }; - color: { - type: globalThis.PropType; - default: string; - }; - label: { - type: globalThis.PropType; - default: string; - }; - disabled: { - type: globalThis.PropType; - default: boolean; - }; - density: { - type: globalThis.PropType<"default" | "comfortable" | "compact" | null>; - default: "compact"; - }; - rules: { - type: globalThis.PropType | ((value: any) => string | boolean) | ((value: any) => PromiseLike))[]>; - }; - hideDetails: { - type: globalThis.PropType; - default: boolean; - }; - variant: { - type: globalThis.PropType<"filled" | "outlined" | "plain" | "underlined" | "solo" | "solo-inverted" | "solo-filled">; - default: "underlined"; - }; - loading: { - type: globalThis.PropType; - default: boolean; - }; - autofocus: { - type: globalThis.PropType; - default: boolean; - }; - clearIcon: { - type: globalThis.PropType; - }; - underlined: { - type: globalThis.PropType; - default: boolean; - }; - item: { - type: globalThis.PropType>; - }; - required: { - type: globalThis.PropType; - }; - truncateLength: { - type: globalThis.PropType; - default: undefined; - }; - truncateSuffix: { - type: globalThis.PropType; - default: string; - }; - cancelButtonColor: { - type: globalThis.PropType; - default: string; - }; - cancelButtonSize: { - type: globalThis.PropType; - default: string; - }; - cancelButtonTitle: { - type: globalThis.PropType; - default: string; - }; - cancelButtonVariant: { - type: globalThis.PropType>; - default: "text"; - }; - cancelIcon: { - type: globalThis.PropType; - default: undefined; - }; - cancelIconColor: { - type: globalThis.PropType; - default: string; - }; - cardField: { - type: globalThis.PropType; - default: boolean; - }; - cardOffsetX: { - type: globalThis.PropType; - default: number; - }; - cardOffsetY: { - type: globalThis.PropType; - default: number; - }; - cardProps: { - type: globalThis.PropType; - default: () => {}; - }; - cell: { - type: globalThis.PropType; - default: boolean; - }; - cellUnderlineFullWidth: { - type: globalThis.PropType; - default: boolean; - }; - closeSiblings: { - type: globalThis.PropType; - default: boolean; - }; - displayAppendIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendIconSize: { - type: globalThis.PropType; - default: string; - }; - displayAppendInnerIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendInnerIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendInnerIconSize: { - type: globalThis.PropType; - default: string; - }; - displayPrependIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependIconSize: { - type: globalThis.PropType; - default: string; - }; - displayPrependInnerIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependInnerIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependInnerIconSize: { - type: globalThis.PropType; - default: string; - }; - emptyText: { - type: globalThis.PropType; - default: string; - }; - fieldOnly: { - type: globalThis.PropType; - default: boolean; - }; - hideCancelIcon: { - type: globalThis.PropType; - default: boolean; - }; - hideSaveIcon: { - type: globalThis.PropType; - default: boolean; - }; - loadingIcon: { - type: globalThis.PropType; - default: undefined; - }; - loadingIconColor: { - type: globalThis.PropType; - default: string; - }; - loadingWait: { - type: globalThis.PropType; - default: boolean; - }; - saveButtonColor: { - type: globalThis.PropType; - default: string; - }; - saveButtonSize: { - type: globalThis.PropType; - default: string; - }; - saveButtonTitle: { - type: globalThis.PropType; - default: string; - }; - saveButtonVariant: { - type: globalThis.PropType>; - default: "text"; - }; - saveIcon: { - type: globalThis.PropType; - default: undefined; - }; - saveIconColor: { - type: globalThis.PropType; - default: string; - }; - tableField: { - type: globalThis.PropType; - default: boolean; - }; - underlineColor: { - type: globalThis.PropType; - default: string; - }; - underlineStyle: { - type: globalThis.PropType; - default: string; - }; - underlineWidth: { - type: globalThis.PropType; - default: string; - }; - valueColor: { - type: globalThis.PropType; - default: string; - }; - }>>, {}, {}, {}, {}, { - name: string; - color: string; - label: string; - disabled: boolean; - density: "default" | "comfortable" | "compact" | null; - hideDetails: boolean; - variant: "filled" | "outlined" | "plain" | "underlined" | "solo" | "solo-inverted" | "solo-filled"; - loading: boolean; - autofocus: boolean; - underlined: boolean; - truncateLength: number; - truncateSuffix: string; - cancelButtonColor: string; - cancelButtonSize: string | number; - cancelButtonTitle: string; - cancelButtonVariant: NonNullable<"flat" | "outlined" | "plain" | "text" | "elevated" | "tonal">; - cancelIcon: string; - cancelIconColor: string; - cardField: boolean; - cardOffsetX: number; - cardOffsetY: number; - cardProps: any; - cell: boolean; - cellUnderlineFullWidth: boolean; - closeSiblings: boolean; - displayAppendIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; - displayAppendIconColor: string; - displayAppendIconSize: string | number; - displayAppendInnerIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; - displayAppendInnerIconColor: string; - displayAppendInnerIconSize: string | number; - displayPrependIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; - displayPrependIconColor: string; - displayPrependIconSize: string | number; - displayPrependInnerIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; - displayPrependInnerIconColor: string; - displayPrependInnerIconSize: string | number; - emptyText: string; - fieldOnly: boolean; - hideCancelIcon: boolean; - hideSaveIcon: boolean; - loadingIcon: string; - loadingIconColor: string; - loadingWait: boolean; - saveButtonColor: string; - saveButtonSize: string | number; - saveButtonTitle: string; - saveButtonVariant: NonNullable<"flat" | "outlined" | "plain" | "text" | "elevated" | "tonal">; - saveIcon: string; - saveIconColor: string; - tableField: boolean; - underlineColor: string; - underlineStyle: string; - underlineWidth: string; - valueColor: string; - }>; - __isFragment?: undefined; - __isTeleport?: undefined; - __isSuspense?: undefined; - } & import("vue").ComponentOptionsBase; - error: { - type: globalThis.PropType; - }; - name: { - type: globalThis.PropType; - default: string; - }; - color: { - type: globalThis.PropType; - default: string; - }; - label: { - type: globalThis.PropType; - default: string; - }; - disabled: { - type: globalThis.PropType; - default: boolean; - }; - density: { - type: globalThis.PropType<"default" | "comfortable" | "compact" | null>; - default: "compact"; - }; - rules: { - type: globalThis.PropType | ((value: any) => string | boolean) | ((value: any) => PromiseLike))[]>; - }; - hideDetails: { - type: globalThis.PropType; - default: boolean; - }; - variant: { - type: globalThis.PropType<"filled" | "outlined" | "plain" | "underlined" | "solo" | "solo-inverted" | "solo-filled">; - default: "underlined"; - }; - loading: { - type: globalThis.PropType; - default: boolean; - }; - autofocus: { - type: globalThis.PropType; - default: boolean; - }; - clearIcon: { - type: globalThis.PropType; - }; - underlined: { - type: globalThis.PropType; - default: boolean; - }; - item: { - type: globalThis.PropType>; - }; - required: { - type: globalThis.PropType; - }; - truncateLength: { - type: globalThis.PropType; - default: undefined; - }; - truncateSuffix: { - type: globalThis.PropType; - default: string; - }; - cancelButtonColor: { - type: globalThis.PropType; - default: string; - }; - cancelButtonSize: { - type: globalThis.PropType; - default: string; - }; - cancelButtonTitle: { - type: globalThis.PropType; - default: string; - }; - cancelButtonVariant: { - type: globalThis.PropType>; - default: "text"; - }; - cancelIcon: { - type: globalThis.PropType; - default: undefined; - }; - cancelIconColor: { - type: globalThis.PropType; - default: string; - }; - cardField: { - type: globalThis.PropType; - default: boolean; - }; - cardOffsetX: { - type: globalThis.PropType; - default: number; - }; - cardOffsetY: { - type: globalThis.PropType; - default: number; - }; - cardProps: { - type: globalThis.PropType; - default: () => {}; - }; - cell: { - type: globalThis.PropType; - default: boolean; - }; - cellUnderlineFullWidth: { - type: globalThis.PropType; - default: boolean; - }; - closeSiblings: { - type: globalThis.PropType; - default: boolean; - }; - displayAppendIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendIconSize: { - type: globalThis.PropType; - default: string; - }; - displayAppendInnerIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendInnerIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendInnerIconSize: { - type: globalThis.PropType; - default: string; - }; - displayPrependIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependIconSize: { - type: globalThis.PropType; - default: string; - }; - displayPrependInnerIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependInnerIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependInnerIconSize: { - type: globalThis.PropType; - default: string; - }; - emptyText: { - type: globalThis.PropType; - default: string; - }; - fieldOnly: { - type: globalThis.PropType; - default: boolean; - }; - hideCancelIcon: { - type: globalThis.PropType; - default: boolean; - }; - hideSaveIcon: { - type: globalThis.PropType; - default: boolean; - }; - loadingIcon: { - type: globalThis.PropType; - default: undefined; - }; - loadingIconColor: { - type: globalThis.PropType; - default: string; - }; - loadingWait: { - type: globalThis.PropType; - default: boolean; - }; - saveButtonColor: { - type: globalThis.PropType; - default: string; - }; - saveButtonSize: { - type: globalThis.PropType; - default: string; - }; - saveButtonTitle: { - type: globalThis.PropType; - default: string; - }; - saveButtonVariant: { - type: globalThis.PropType>; - default: "text"; - }; - saveIcon: { - type: globalThis.PropType; - default: undefined; - }; - saveIconColor: { - type: globalThis.PropType; - default: string; - }; - tableField: { - type: globalThis.PropType; - default: boolean; - }; - underlineColor: { - type: globalThis.PropType; - default: string; - }; - underlineStyle: { - type: globalThis.PropType; - default: string; - }; - underlineWidth: { - type: globalThis.PropType; - default: string; - }; - valueColor: { - type: globalThis.PropType; - default: string; - }; - }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { - [x: string]: (...args: any[]) => void; - }, string, { - name: string; - color: string; - label: string; - disabled: boolean; - density: "default" | "comfortable" | "compact" | null; - hideDetails: boolean; - variant: "filled" | "outlined" | "plain" | "underlined" | "solo" | "solo-inverted" | "solo-filled"; - loading: boolean; - autofocus: boolean; - underlined: boolean; - truncateLength: number; - truncateSuffix: string; - cancelButtonColor: string; - cancelButtonSize: string | number; - cancelButtonTitle: string; - cancelButtonVariant: NonNullable<"flat" | "outlined" | "plain" | "text" | "elevated" | "tonal">; - cancelIcon: string; - cancelIconColor: string; - cardField: boolean; - cardOffsetX: number; - cardOffsetY: number; - cardProps: any; - cell: boolean; - cellUnderlineFullWidth: boolean; - closeSiblings: boolean; - displayAppendIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; - displayAppendIconColor: string; - displayAppendIconSize: string | number; - displayAppendInnerIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; - displayAppendInnerIconColor: string; - displayAppendInnerIconSize: string | number; - displayPrependIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; - displayPrependIconColor: string; - displayPrependIconSize: string | number; - displayPrependInnerIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; - displayPrependInnerIconColor: string; - displayPrependInnerIconSize: string | number; - emptyText: string; - fieldOnly: boolean; - hideCancelIcon: boolean; - hideSaveIcon: boolean; - loadingIcon: string; - loadingIconColor: string; - loadingWait: boolean; - saveButtonColor: string; - saveButtonSize: string | number; - saveButtonTitle: string; - saveButtonVariant: NonNullable<"flat" | "outlined" | "plain" | "text" | "elevated" | "tonal">; - saveIcon: string; - saveIconColor: string; - tableField: boolean; - underlineColor: string; - underlineStyle: string; - underlineWidth: string; - valueColor: string; - }, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => { - $slots: Partial, (_: any) => any>> & { - default?(_: { - loading: boolean; - modelValue: any; - originalValue: any; - error: boolean; - rules: readonly ((string | boolean) | ((value: any) => string | boolean) | ((value: any) => PromiseLike) | { - then: (onfulfilled?: ((value: string | boolean) => TResult1 | PromiseLike) | null | undefined, onrejected?: ((reason: any) => TResult2 | PromiseLike) | null | undefined) => PromiseLike; - })[] | undefined; - clearIcon: string | undefined; - item: Record | undefined; - required: boolean; - truncateLength: number | undefined; - truncateSuffix: string; - variant: "filled" | "outlined" | "plain" | "underlined" | "solo" | "solo-inverted" | "solo-filled"; - hideCancelIcon: boolean; - hideSaveIcon: boolean; - loadingIcon: string | undefined; - loadingIconColor: string; - saveButtonColor: string; - saveButtonSize: string | number; - saveButtonTitle: string; - saveButtonVariant: NonNullable<"flat" | "outlined" | "plain" | "text" | "elevated" | "tonal">; - saveIcon: string | undefined; - saveIconColor: string; - autofocus: boolean; - cancelButtonColor: string; - cancelButtonSize: string | number; - cancelButtonTitle: string; - cancelButtonVariant: NonNullable<"flat" | "outlined" | "plain" | "text" | "elevated" | "tonal">; - cancelIcon: string | undefined; - cancelIconColor: string; - cardField: boolean; - cardOffsetX: number; - cardOffsetY: number; - cardProps: any; - cell: boolean; - cellUnderlineFullWidth: boolean; - closeSiblings: boolean; - color: string; - density: "default" | "comfortable" | "compact" | null; - disabled: boolean; - displayAppendIcon: (string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent) | undefined; - displayAppendIconColor: string | undefined; - displayAppendIconSize: string | number; - displayAppendInnerIcon: (string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent) | undefined; - displayAppendInnerIconColor: string | undefined; - displayAppendInnerIconSize: string | number; - displayPrependIcon: (string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent) | undefined; - displayPrependIconColor: string | undefined; - displayPrependIconSize: string | number; - displayPrependInnerIcon: (string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent) | undefined; - displayPrependInnerIconColor: string | undefined; - displayPrependInnerIconSize: string | number; - emptyText: string; - fieldOnly: boolean; - hideDetails: boolean; - label: string; - loadingWait: boolean; - name: string; - tableField: boolean; - underlineColor: string; - underlineStyle: string; - underlineWidth: string; - underlined: boolean; - valueColor: string; - }): any; - }; - }); - VInlineSelect: { - new (...args: any[]): import("vue").CreateComponentPublicInstance; - error: { - type: globalThis.PropType; - }; - name: { - type: globalThis.PropType; - default: string; - }; - color: { - type: globalThis.PropType; - default: string; - }; - label: { - type: globalThis.PropType; - default: string; - }; - disabled: { - type: globalThis.PropType; - default: boolean; - }; - density: { - type: globalThis.PropType<"default" | "comfortable" | "compact" | null>; - default: "compact"; - }; - rules: { - type: globalThis.PropType | ((value: any) => string | boolean) | ((value: any) => PromiseLike))[]>; - }; - hideDetails: { - type: globalThis.PropType; - default: boolean; - }; - items: { - type: globalThis.PropType; - default: () => never[]; - }; - itemTitle: { - type: globalThis.PropType any) | null>; - default: string; - }; - itemValue: { - type: globalThis.PropType any) | null>; - default: string; - }; - variant: { - type: globalThis.PropType<"filled" | "outlined" | "plain" | "underlined" | "solo" | "solo-inverted" | "solo-filled">; - default: "underlined"; - }; - loading: { - type: globalThis.PropType; - default: boolean; - }; - autofocus: { - type: globalThis.PropType; - default: boolean; - }; - clearIcon: { - type: globalThis.PropType; - default: undefined; - }; - clearable: { - type: globalThis.PropType; - default: boolean; - }; - hideSelected: { - type: globalThis.PropType; - default: boolean; - }; - menu: { - type: globalThis.PropType; - default: boolean; - }; - underlined: { - type: globalThis.PropType; - default: boolean; - }; - item: { - type: globalThis.PropType>; - }; - required: { - type: globalThis.PropType; - }; - cancelButtonColor: { - type: globalThis.PropType; - default: string; - }; - cancelButtonSize: { - type: globalThis.PropType; - default: string; - }; - cancelButtonTitle: { - type: globalThis.PropType; - default: string; - }; - cancelButtonVariant: { - type: globalThis.PropType>; - default: "text"; - }; - cancelIcon: { - type: globalThis.PropType; - default: undefined; - }; - cancelIconColor: { - type: globalThis.PropType; - default: string; - }; - cardField: { - type: globalThis.PropType; - default: boolean; - }; - cardOffsetX: { - type: globalThis.PropType; - default: number; - }; - cardOffsetY: { - type: globalThis.PropType; - default: number; - }; - cardProps: { - type: globalThis.PropType; - default: () => {}; - }; - cell: { - type: globalThis.PropType; - default: boolean; - }; - cellUnderlineFullWidth: { - type: globalThis.PropType; - default: boolean; - }; - closeSiblings: { - type: globalThis.PropType; - default: boolean; - }; - displayAppendIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendIconSize: { - type: globalThis.PropType; - default: string; - }; - displayAppendInnerIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendInnerIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendInnerIconSize: { - type: globalThis.PropType; - default: string; - }; - displayPrependIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependIconSize: { - type: globalThis.PropType; - default: string; - }; - displayPrependInnerIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependInnerIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependInnerIconSize: { - type: globalThis.PropType; - default: string; - }; - emptyText: { - type: globalThis.PropType; - default: string; - }; - fieldOnly: { - type: globalThis.PropType; - default: boolean; - }; - hideCancelIcon: { - type: globalThis.PropType; - default: boolean; - }; - hideSaveIcon: { - type: globalThis.PropType; - default: boolean; - }; - loadingIcon: { - type: globalThis.PropType; - default: undefined; - }; - loadingIconColor: { - type: globalThis.PropType; - default: string; - }; - loadingWait: { - type: globalThis.PropType; - default: boolean; - }; - saveButtonColor: { - type: globalThis.PropType; - default: string; - }; - saveButtonSize: { - type: globalThis.PropType; - default: string; - }; - saveButtonTitle: { - type: globalThis.PropType; - default: string; - }; - saveButtonVariant: { - type: globalThis.PropType>; - default: "text"; - }; - saveIcon: { - type: globalThis.PropType; - default: undefined; - }; - saveIconColor: { - type: globalThis.PropType; - default: string; - }; - tableField: { - type: globalThis.PropType; - default: boolean; - }; - underlineColor: { - type: globalThis.PropType; - default: string; - }; - underlineStyle: { - type: globalThis.PropType; - default: string; - }; - underlineWidth: { - type: globalThis.PropType; - default: string; - }; - valueColor: { - type: globalThis.PropType; - default: string; - }; - }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { - [x: string]: (...args: any[]) => void; - }, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly; - error: { - type: globalThis.PropType; - }; - name: { - type: globalThis.PropType; - default: string; - }; - color: { - type: globalThis.PropType; - default: string; - }; - label: { - type: globalThis.PropType; - default: string; - }; - disabled: { - type: globalThis.PropType; - default: boolean; - }; - density: { - type: globalThis.PropType<"default" | "comfortable" | "compact" | null>; - default: "compact"; - }; - rules: { - type: globalThis.PropType | ((value: any) => string | boolean) | ((value: any) => PromiseLike))[]>; - }; - hideDetails: { - type: globalThis.PropType; - default: boolean; - }; - items: { - type: globalThis.PropType; - default: () => never[]; - }; - itemTitle: { - type: globalThis.PropType any) | null>; - default: string; - }; - itemValue: { - type: globalThis.PropType any) | null>; - default: string; - }; - variant: { - type: globalThis.PropType<"filled" | "outlined" | "plain" | "underlined" | "solo" | "solo-inverted" | "solo-filled">; - default: "underlined"; - }; - loading: { - type: globalThis.PropType; - default: boolean; - }; - autofocus: { - type: globalThis.PropType; - default: boolean; - }; - clearIcon: { - type: globalThis.PropType; - default: undefined; - }; - clearable: { - type: globalThis.PropType; - default: boolean; - }; - hideSelected: { - type: globalThis.PropType; - default: boolean; - }; - menu: { - type: globalThis.PropType; - default: boolean; - }; - underlined: { - type: globalThis.PropType; - default: boolean; - }; - item: { - type: globalThis.PropType>; - }; - required: { - type: globalThis.PropType; - }; - cancelButtonColor: { - type: globalThis.PropType; - default: string; - }; - cancelButtonSize: { - type: globalThis.PropType; - default: string; - }; - cancelButtonTitle: { - type: globalThis.PropType; - default: string; - }; - cancelButtonVariant: { - type: globalThis.PropType>; - default: "text"; - }; - cancelIcon: { - type: globalThis.PropType; - default: undefined; - }; - cancelIconColor: { - type: globalThis.PropType; - default: string; - }; - cardField: { - type: globalThis.PropType; - default: boolean; - }; - cardOffsetX: { - type: globalThis.PropType; - default: number; - }; - cardOffsetY: { - type: globalThis.PropType; - default: number; - }; - cardProps: { - type: globalThis.PropType; - default: () => {}; - }; - cell: { - type: globalThis.PropType; - default: boolean; - }; - cellUnderlineFullWidth: { - type: globalThis.PropType; - default: boolean; - }; - closeSiblings: { - type: globalThis.PropType; - default: boolean; - }; - displayAppendIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendIconSize: { - type: globalThis.PropType; - default: string; - }; - displayAppendInnerIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendInnerIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendInnerIconSize: { - type: globalThis.PropType; - default: string; - }; - displayPrependIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependIconSize: { - type: globalThis.PropType; - default: string; - }; - displayPrependInnerIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependInnerIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependInnerIconSize: { - type: globalThis.PropType; - default: string; - }; - emptyText: { - type: globalThis.PropType; - default: string; - }; - fieldOnly: { - type: globalThis.PropType; - default: boolean; - }; - hideCancelIcon: { - type: globalThis.PropType; - default: boolean; - }; - hideSaveIcon: { - type: globalThis.PropType; - default: boolean; - }; - loadingIcon: { - type: globalThis.PropType; - default: undefined; - }; - loadingIconColor: { - type: globalThis.PropType; - default: string; - }; - loadingWait: { - type: globalThis.PropType; - default: boolean; - }; - saveButtonColor: { - type: globalThis.PropType; - default: string; - }; - saveButtonSize: { - type: globalThis.PropType; - default: string; - }; - saveButtonTitle: { - type: globalThis.PropType; - default: string; - }; - saveButtonVariant: { - type: globalThis.PropType>; - default: "text"; - }; - saveIcon: { - type: globalThis.PropType; - default: undefined; - }; - saveIconColor: { - type: globalThis.PropType; - default: string; - }; - tableField: { - type: globalThis.PropType; - default: boolean; - }; - underlineColor: { - type: globalThis.PropType; - default: string; - }; - underlineStyle: { - type: globalThis.PropType; - default: string; - }; - underlineWidth: { - type: globalThis.PropType; - default: string; - }; - valueColor: { - type: globalThis.PropType; - default: string; - }; - }>>, { - name: string; - color: string; - label: string; - disabled: boolean; - density: "default" | "comfortable" | "compact" | null; - hideDetails: boolean; - items: readonly any[]; - itemTitle: string | boolean | readonly (string | number)[] | ((item: any, fallback?: any) => any) | null; - itemValue: string | boolean | readonly (string | number)[] | ((item: any, fallback?: any) => any) | null; - variant: "filled" | "outlined" | "plain" | "underlined" | "solo" | "solo-inverted" | "solo-filled"; - loading: boolean; - autofocus: boolean; - clearIcon: string; - clearable: boolean; - hideSelected: boolean; - menu: boolean; - underlined: boolean; - cancelButtonColor: string; - cancelButtonSize: string | number; - cancelButtonTitle: string; - cancelButtonVariant: NonNullable<"flat" | "outlined" | "plain" | "text" | "elevated" | "tonal">; - cancelIcon: string; - cancelIconColor: string; - cardField: boolean; - cardOffsetX: number; - cardOffsetY: number; - cardProps: any; - cell: boolean; - cellUnderlineFullWidth: boolean; - closeSiblings: boolean; - displayAppendIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; - displayAppendIconColor: string; - displayAppendIconSize: string | number; - displayAppendInnerIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; - displayAppendInnerIconColor: string; - displayAppendInnerIconSize: string | number; - displayPrependIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; - displayPrependIconColor: string; - displayPrependIconSize: string | number; - displayPrependInnerIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; - displayPrependInnerIconColor: string; - displayPrependInnerIconSize: string | number; - emptyText: string; - fieldOnly: boolean; - hideCancelIcon: boolean; - hideSaveIcon: boolean; - loadingIcon: string; - loadingIconColor: string; - loadingWait: boolean; - saveButtonColor: string; - saveButtonSize: string | number; - saveButtonTitle: string; - saveButtonVariant: NonNullable<"flat" | "outlined" | "plain" | "text" | "elevated" | "tonal">; - saveIcon: string; - saveIconColor: string; - tableField: boolean; - underlineColor: string; - underlineStyle: string; - underlineWidth: string; - valueColor: string; - }, true, {}, {}, { - P: {}; - B: {}; - D: {}; - C: {}; - M: {}; - Defaults: {}; - }, Readonly; - error: { - type: globalThis.PropType; - }; - name: { - type: globalThis.PropType; - default: string; - }; - color: { - type: globalThis.PropType; - default: string; - }; - label: { - type: globalThis.PropType; - default: string; - }; - disabled: { - type: globalThis.PropType; - default: boolean; - }; - density: { - type: globalThis.PropType<"default" | "comfortable" | "compact" | null>; - default: "compact"; - }; - rules: { - type: globalThis.PropType | ((value: any) => string | boolean) | ((value: any) => PromiseLike))[]>; - }; - hideDetails: { - type: globalThis.PropType; - default: boolean; - }; - items: { - type: globalThis.PropType; - default: () => never[]; - }; - itemTitle: { - type: globalThis.PropType any) | null>; - default: string; - }; - itemValue: { - type: globalThis.PropType any) | null>; - default: string; - }; - variant: { - type: globalThis.PropType<"filled" | "outlined" | "plain" | "underlined" | "solo" | "solo-inverted" | "solo-filled">; - default: "underlined"; - }; - loading: { - type: globalThis.PropType; - default: boolean; - }; - autofocus: { - type: globalThis.PropType; - default: boolean; - }; - clearIcon: { - type: globalThis.PropType; - default: undefined; - }; - clearable: { - type: globalThis.PropType; - default: boolean; - }; - hideSelected: { - type: globalThis.PropType; - default: boolean; - }; - menu: { - type: globalThis.PropType; - default: boolean; - }; - underlined: { - type: globalThis.PropType; - default: boolean; - }; - item: { - type: globalThis.PropType>; - }; - required: { - type: globalThis.PropType; - }; - cancelButtonColor: { - type: globalThis.PropType; - default: string; - }; - cancelButtonSize: { - type: globalThis.PropType; - default: string; - }; - cancelButtonTitle: { - type: globalThis.PropType; - default: string; - }; - cancelButtonVariant: { - type: globalThis.PropType>; - default: "text"; - }; - cancelIcon: { - type: globalThis.PropType; - default: undefined; - }; - cancelIconColor: { - type: globalThis.PropType; - default: string; - }; - cardField: { - type: globalThis.PropType; - default: boolean; - }; - cardOffsetX: { - type: globalThis.PropType; - default: number; - }; - cardOffsetY: { - type: globalThis.PropType; - default: number; - }; - cardProps: { - type: globalThis.PropType; - default: () => {}; - }; - cell: { - type: globalThis.PropType; - default: boolean; - }; - cellUnderlineFullWidth: { - type: globalThis.PropType; - default: boolean; - }; - closeSiblings: { - type: globalThis.PropType; - default: boolean; - }; - displayAppendIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendIconSize: { - type: globalThis.PropType; - default: string; - }; - displayAppendInnerIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendInnerIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendInnerIconSize: { - type: globalThis.PropType; - default: string; - }; - displayPrependIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependIconSize: { - type: globalThis.PropType; - default: string; - }; - displayPrependInnerIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependInnerIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependInnerIconSize: { - type: globalThis.PropType; - default: string; - }; - emptyText: { - type: globalThis.PropType; - default: string; - }; - fieldOnly: { - type: globalThis.PropType; - default: boolean; - }; - hideCancelIcon: { - type: globalThis.PropType; - default: boolean; - }; - hideSaveIcon: { - type: globalThis.PropType; - default: boolean; - }; - loadingIcon: { - type: globalThis.PropType; - default: undefined; - }; - loadingIconColor: { - type: globalThis.PropType; - default: string; - }; - loadingWait: { - type: globalThis.PropType; - default: boolean; - }; - saveButtonColor: { - type: globalThis.PropType; - default: string; - }; - saveButtonSize: { - type: globalThis.PropType; - default: string; - }; - saveButtonTitle: { - type: globalThis.PropType; - default: string; - }; - saveButtonVariant: { - type: globalThis.PropType>; - default: "text"; - }; - saveIcon: { - type: globalThis.PropType; - default: undefined; - }; - saveIconColor: { - type: globalThis.PropType; - default: string; - }; - tableField: { - type: globalThis.PropType; - default: boolean; - }; - underlineColor: { - type: globalThis.PropType; - default: string; - }; - underlineStyle: { - type: globalThis.PropType; - default: string; - }; - underlineWidth: { - type: globalThis.PropType; - default: string; - }; - valueColor: { - type: globalThis.PropType; - default: string; - }; - }>>, {}, {}, {}, {}, { - name: string; - color: string; - label: string; - disabled: boolean; - density: "default" | "comfortable" | "compact" | null; - hideDetails: boolean; - items: readonly any[]; - itemTitle: string | boolean | readonly (string | number)[] | ((item: any, fallback?: any) => any) | null; - itemValue: string | boolean | readonly (string | number)[] | ((item: any, fallback?: any) => any) | null; - variant: "filled" | "outlined" | "plain" | "underlined" | "solo" | "solo-inverted" | "solo-filled"; - loading: boolean; - autofocus: boolean; - clearIcon: string; - clearable: boolean; - hideSelected: boolean; - menu: boolean; - underlined: boolean; - cancelButtonColor: string; - cancelButtonSize: string | number; - cancelButtonTitle: string; - cancelButtonVariant: NonNullable<"flat" | "outlined" | "plain" | "text" | "elevated" | "tonal">; - cancelIcon: string; - cancelIconColor: string; - cardField: boolean; - cardOffsetX: number; - cardOffsetY: number; - cardProps: any; - cell: boolean; - cellUnderlineFullWidth: boolean; - closeSiblings: boolean; - displayAppendIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; - displayAppendIconColor: string; - displayAppendIconSize: string | number; - displayAppendInnerIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; - displayAppendInnerIconColor: string; - displayAppendInnerIconSize: string | number; - displayPrependIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; - displayPrependIconColor: string; - displayPrependIconSize: string | number; - displayPrependInnerIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; - displayPrependInnerIconColor: string; - displayPrependInnerIconSize: string | number; - emptyText: string; - fieldOnly: boolean; - hideCancelIcon: boolean; - hideSaveIcon: boolean; - loadingIcon: string; - loadingIconColor: string; - loadingWait: boolean; - saveButtonColor: string; - saveButtonSize: string | number; - saveButtonTitle: string; - saveButtonVariant: NonNullable<"flat" | "outlined" | "plain" | "text" | "elevated" | "tonal">; - saveIcon: string; - saveIconColor: string; - tableField: boolean; - underlineColor: string; - underlineStyle: string; - underlineWidth: string; - valueColor: string; - }>; - __isFragment?: undefined; - __isTeleport?: undefined; - __isSuspense?: undefined; - } & import("vue").ComponentOptionsBase; - error: { - type: globalThis.PropType; - }; - name: { - type: globalThis.PropType; - default: string; - }; - color: { - type: globalThis.PropType; - default: string; - }; - label: { - type: globalThis.PropType; - default: string; - }; - disabled: { - type: globalThis.PropType; - default: boolean; - }; - density: { - type: globalThis.PropType<"default" | "comfortable" | "compact" | null>; - default: "compact"; - }; - rules: { - type: globalThis.PropType | ((value: any) => string | boolean) | ((value: any) => PromiseLike))[]>; - }; - hideDetails: { - type: globalThis.PropType; - default: boolean; - }; - items: { - type: globalThis.PropType; - default: () => never[]; - }; - itemTitle: { - type: globalThis.PropType any) | null>; - default: string; - }; - itemValue: { - type: globalThis.PropType any) | null>; - default: string; - }; - variant: { - type: globalThis.PropType<"filled" | "outlined" | "plain" | "underlined" | "solo" | "solo-inverted" | "solo-filled">; - default: "underlined"; - }; - loading: { - type: globalThis.PropType; - default: boolean; - }; - autofocus: { - type: globalThis.PropType; - default: boolean; - }; - clearIcon: { - type: globalThis.PropType; - default: undefined; - }; - clearable: { - type: globalThis.PropType; - default: boolean; - }; - hideSelected: { - type: globalThis.PropType; - default: boolean; - }; - menu: { - type: globalThis.PropType; - default: boolean; - }; - underlined: { - type: globalThis.PropType; - default: boolean; - }; - item: { - type: globalThis.PropType>; - }; - required: { - type: globalThis.PropType; - }; - cancelButtonColor: { - type: globalThis.PropType; - default: string; - }; - cancelButtonSize: { - type: globalThis.PropType; - default: string; - }; - cancelButtonTitle: { - type: globalThis.PropType; - default: string; - }; - cancelButtonVariant: { - type: globalThis.PropType>; - default: "text"; - }; - cancelIcon: { - type: globalThis.PropType; - default: undefined; - }; - cancelIconColor: { - type: globalThis.PropType; - default: string; - }; - cardField: { - type: globalThis.PropType; - default: boolean; - }; - cardOffsetX: { - type: globalThis.PropType; - default: number; - }; - cardOffsetY: { - type: globalThis.PropType; - default: number; - }; - cardProps: { - type: globalThis.PropType; - default: () => {}; - }; - cell: { - type: globalThis.PropType; - default: boolean; - }; - cellUnderlineFullWidth: { - type: globalThis.PropType; - default: boolean; - }; - closeSiblings: { - type: globalThis.PropType; - default: boolean; - }; - displayAppendIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendIconSize: { - type: globalThis.PropType; - default: string; - }; - displayAppendInnerIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendInnerIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendInnerIconSize: { - type: globalThis.PropType; - default: string; - }; - displayPrependIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependIconSize: { - type: globalThis.PropType; - default: string; - }; - displayPrependInnerIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependInnerIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependInnerIconSize: { - type: globalThis.PropType; - default: string; - }; - emptyText: { - type: globalThis.PropType; - default: string; - }; - fieldOnly: { - type: globalThis.PropType; - default: boolean; - }; - hideCancelIcon: { - type: globalThis.PropType; - default: boolean; - }; - hideSaveIcon: { - type: globalThis.PropType; - default: boolean; - }; - loadingIcon: { - type: globalThis.PropType; - default: undefined; - }; - loadingIconColor: { - type: globalThis.PropType; - default: string; - }; - loadingWait: { - type: globalThis.PropType; - default: boolean; - }; - saveButtonColor: { - type: globalThis.PropType; - default: string; - }; - saveButtonSize: { - type: globalThis.PropType; - default: string; - }; - saveButtonTitle: { - type: globalThis.PropType; - default: string; - }; - saveButtonVariant: { - type: globalThis.PropType>; - default: "text"; - }; - saveIcon: { - type: globalThis.PropType; - default: undefined; - }; - saveIconColor: { - type: globalThis.PropType; - default: string; - }; - tableField: { - type: globalThis.PropType; - default: boolean; - }; - underlineColor: { - type: globalThis.PropType; - default: string; - }; - underlineStyle: { - type: globalThis.PropType; - default: string; - }; - underlineWidth: { - type: globalThis.PropType; - default: string; - }; - valueColor: { - type: globalThis.PropType; - default: string; - }; - }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { - [x: string]: (...args: any[]) => void; - }, string, { - name: string; - color: string; - label: string; - disabled: boolean; - density: "default" | "comfortable" | "compact" | null; - hideDetails: boolean; - items: readonly any[]; - itemTitle: string | boolean | readonly (string | number)[] | ((item: any, fallback?: any) => any) | null; - itemValue: string | boolean | readonly (string | number)[] | ((item: any, fallback?: any) => any) | null; - variant: "filled" | "outlined" | "plain" | "underlined" | "solo" | "solo-inverted" | "solo-filled"; - loading: boolean; - autofocus: boolean; - clearIcon: string; - clearable: boolean; - hideSelected: boolean; - menu: boolean; - underlined: boolean; - cancelButtonColor: string; - cancelButtonSize: string | number; - cancelButtonTitle: string; - cancelButtonVariant: NonNullable<"flat" | "outlined" | "plain" | "text" | "elevated" | "tonal">; - cancelIcon: string; - cancelIconColor: string; - cardField: boolean; - cardOffsetX: number; - cardOffsetY: number; - cardProps: any; - cell: boolean; - cellUnderlineFullWidth: boolean; - closeSiblings: boolean; - displayAppendIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; - displayAppendIconColor: string; - displayAppendIconSize: string | number; - displayAppendInnerIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; - displayAppendInnerIconColor: string; - displayAppendInnerIconSize: string | number; - displayPrependIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; - displayPrependIconColor: string; - displayPrependIconSize: string | number; - displayPrependInnerIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; - displayPrependInnerIconColor: string; - displayPrependInnerIconSize: string | number; - emptyText: string; - fieldOnly: boolean; - hideCancelIcon: boolean; - hideSaveIcon: boolean; - loadingIcon: string; - loadingIconColor: string; - loadingWait: boolean; - saveButtonColor: string; - saveButtonSize: string | number; - saveButtonTitle: string; - saveButtonVariant: NonNullable<"flat" | "outlined" | "plain" | "text" | "elevated" | "tonal">; - saveIcon: string; - saveIconColor: string; - tableField: boolean; - underlineColor: string; - underlineStyle: string; - underlineWidth: string; - valueColor: string; - }, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => { - $slots: Partial, (_: any) => any>> & Partial, (_: any) => any>>; - }); - VInlineSwitch: { - new (...args: any[]): import("vue").CreateComponentPublicInstance; - error: { - type: globalThis.PropType; - }; - name: { - type: globalThis.PropType; - default: string; - }; - color: { - type: globalThis.PropType; - default: string; - }; - label: { - type: globalThis.PropType; - default: string; - }; - disabled: { - type: globalThis.PropType; - default: boolean; - }; - density: { - type: globalThis.PropType<"default" | "comfortable" | "compact" | null>; - default: "compact"; - }; - falseIcon: { - type: globalThis.PropType; - default: string; - }; - trueValue: { - type: globalThis.PropType; - default: boolean; - }; - falseValue: { - type: globalThis.PropType; - default: boolean; - }; - hideDetails: { - type: globalThis.PropType; - default: boolean; - }; - loading: { - type: globalThis.PropType; - default: boolean; - }; - underlined: { - type: globalThis.PropType; - default: boolean; - }; - item: { - type: globalThis.PropType>; - }; - required: { - type: globalThis.PropType; - }; - iconFalse: { - type: globalThis.PropType; - default: undefined; - }; - iconFalseColor: { - type: globalThis.PropType; - default: string; - }; - iconFalseTitle: { - type: globalThis.PropType; - default: string; - }; - iconTrue: { - type: globalThis.PropType; - default: undefined; - }; - iconTrueColor: { - type: globalThis.PropType; - default: string; - }; - iconTrueTitle: { - type: globalThis.PropType; - default: string; - }; - icons: { - type: globalThis.PropType; - default: boolean; - }; - cancelButtonColor: { - type: globalThis.PropType; - default: string; - }; - cancelButtonSize: { - type: globalThis.PropType; - default: string; - }; - cancelButtonTitle: { - type: globalThis.PropType; - default: string; - }; - cancelButtonVariant: { - type: globalThis.PropType>; - default: "text"; - }; - cancelIcon: { - type: globalThis.PropType; - default: undefined; - }; - cancelIconColor: { - type: globalThis.PropType; - default: string; - }; - cardField: { - type: globalThis.PropType; - default: boolean; - }; - cardOffsetX: { - type: globalThis.PropType; - default: number; - }; - cardOffsetY: { - type: globalThis.PropType; - default: number; - }; - cardProps: { - type: globalThis.PropType; - default: () => {}; - }; - cell: { - type: globalThis.PropType; - default: boolean; - }; - cellUnderlineFullWidth: { - type: globalThis.PropType; - default: boolean; - }; - closeSiblings: { - type: globalThis.PropType; - default: boolean; - }; - displayAppendIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendIconSize: { - type: globalThis.PropType; - default: string; - }; - displayAppendInnerIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendInnerIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendInnerIconSize: { - type: globalThis.PropType; - default: string; - }; - displayPrependIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependIconSize: { - type: globalThis.PropType; - default: string; - }; - displayPrependInnerIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependInnerIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependInnerIconSize: { - type: globalThis.PropType; - default: string; - }; - emptyText: { - type: globalThis.PropType; - default: string; - }; - fieldOnly: { - type: globalThis.PropType; - default: boolean; - }; - hideCancelIcon: { - type: globalThis.PropType; - default: boolean; - }; - hideSaveIcon: { - type: globalThis.PropType; - default: boolean; - }; - loadingIcon: { - type: globalThis.PropType; - default: undefined; - }; - loadingIconColor: { - type: globalThis.PropType; - default: string; - }; - loadingWait: { - type: globalThis.PropType; - default: boolean; - }; - saveButtonColor: { - type: globalThis.PropType; - default: string; - }; - saveButtonSize: { - type: globalThis.PropType; - default: string; - }; - saveButtonTitle: { - type: globalThis.PropType; - default: string; - }; - saveButtonVariant: { - type: globalThis.PropType>; - default: "text"; - }; - saveIcon: { - type: globalThis.PropType; - default: undefined; - }; - saveIconColor: { - type: globalThis.PropType; - default: string; - }; - tableField: { - type: globalThis.PropType; - default: boolean; - }; - underlineColor: { - type: globalThis.PropType; - default: string; - }; - underlineStyle: { - type: globalThis.PropType; - default: string; - }; - underlineWidth: { - type: globalThis.PropType; - default: string; - }; - valueColor: { - type: globalThis.PropType; - default: string; - }; - }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { - [x: string]: (...args: any[]) => void; - }, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly; - error: { - type: globalThis.PropType; - }; - name: { - type: globalThis.PropType; - default: string; - }; - color: { - type: globalThis.PropType; - default: string; - }; - label: { - type: globalThis.PropType; - default: string; - }; - disabled: { - type: globalThis.PropType; - default: boolean; - }; - density: { - type: globalThis.PropType<"default" | "comfortable" | "compact" | null>; - default: "compact"; - }; - falseIcon: { - type: globalThis.PropType; - default: string; - }; - trueValue: { - type: globalThis.PropType; - default: boolean; - }; - falseValue: { - type: globalThis.PropType; - default: boolean; - }; - hideDetails: { - type: globalThis.PropType; - default: boolean; - }; - loading: { - type: globalThis.PropType; - default: boolean; - }; - underlined: { - type: globalThis.PropType; - default: boolean; - }; - item: { - type: globalThis.PropType>; - }; - required: { - type: globalThis.PropType; - }; - iconFalse: { - type: globalThis.PropType; - default: undefined; - }; - iconFalseColor: { - type: globalThis.PropType; - default: string; - }; - iconFalseTitle: { - type: globalThis.PropType; - default: string; - }; - iconTrue: { - type: globalThis.PropType; - default: undefined; - }; - iconTrueColor: { - type: globalThis.PropType; - default: string; - }; - iconTrueTitle: { - type: globalThis.PropType; - default: string; - }; - icons: { - type: globalThis.PropType; - default: boolean; - }; - cancelButtonColor: { - type: globalThis.PropType; - default: string; - }; - cancelButtonSize: { - type: globalThis.PropType; - default: string; - }; - cancelButtonTitle: { - type: globalThis.PropType; - default: string; - }; - cancelButtonVariant: { - type: globalThis.PropType>; - default: "text"; - }; - cancelIcon: { - type: globalThis.PropType; - default: undefined; - }; - cancelIconColor: { - type: globalThis.PropType; - default: string; - }; - cardField: { - type: globalThis.PropType; - default: boolean; - }; - cardOffsetX: { - type: globalThis.PropType; - default: number; - }; - cardOffsetY: { - type: globalThis.PropType; - default: number; - }; - cardProps: { - type: globalThis.PropType; - default: () => {}; - }; - cell: { - type: globalThis.PropType; - default: boolean; - }; - cellUnderlineFullWidth: { - type: globalThis.PropType; - default: boolean; - }; - closeSiblings: { - type: globalThis.PropType; - default: boolean; - }; - displayAppendIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendIconSize: { - type: globalThis.PropType; - default: string; - }; - displayAppendInnerIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendInnerIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendInnerIconSize: { - type: globalThis.PropType; - default: string; - }; - displayPrependIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependIconSize: { - type: globalThis.PropType; - default: string; - }; - displayPrependInnerIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependInnerIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependInnerIconSize: { - type: globalThis.PropType; - default: string; - }; - emptyText: { - type: globalThis.PropType; - default: string; - }; - fieldOnly: { - type: globalThis.PropType; - default: boolean; - }; - hideCancelIcon: { - type: globalThis.PropType; - default: boolean; - }; - hideSaveIcon: { - type: globalThis.PropType; - default: boolean; - }; - loadingIcon: { - type: globalThis.PropType; - default: undefined; - }; - loadingIconColor: { - type: globalThis.PropType; - default: string; - }; - loadingWait: { - type: globalThis.PropType; - default: boolean; - }; - saveButtonColor: { - type: globalThis.PropType; - default: string; - }; - saveButtonSize: { - type: globalThis.PropType; - default: string; - }; - saveButtonTitle: { - type: globalThis.PropType; - default: string; - }; - saveButtonVariant: { - type: globalThis.PropType>; - default: "text"; - }; - saveIcon: { - type: globalThis.PropType; - default: undefined; - }; - saveIconColor: { - type: globalThis.PropType; - default: string; - }; - tableField: { - type: globalThis.PropType; - default: boolean; - }; - underlineColor: { - type: globalThis.PropType; - default: string; - }; - underlineStyle: { - type: globalThis.PropType; - default: string; - }; - underlineWidth: { - type: globalThis.PropType; - default: string; - }; - valueColor: { - type: globalThis.PropType; - default: string; - }; - }>>, { - name: string; - color: string; - label: string; - disabled: boolean; - density: "default" | "comfortable" | "compact" | null; - falseIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; - trueValue: string | boolean; - falseValue: string | boolean; - hideDetails: boolean; - loading: boolean; - underlined: boolean; - iconFalse: string; - iconFalseColor: string; - iconFalseTitle: string; - iconTrue: string; - iconTrueColor: string; - iconTrueTitle: string; - icons: boolean; - cancelButtonColor: string; - cancelButtonSize: string | number; - cancelButtonTitle: string; - cancelButtonVariant: NonNullable<"flat" | "outlined" | "plain" | "text" | "elevated" | "tonal">; - cancelIcon: string; - cancelIconColor: string; - cardField: boolean; - cardOffsetX: number; - cardOffsetY: number; - cardProps: any; - cell: boolean; - cellUnderlineFullWidth: boolean; - closeSiblings: boolean; - displayAppendIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; - displayAppendIconColor: string; - displayAppendIconSize: string | number; - displayAppendInnerIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; - displayAppendInnerIconColor: string; - displayAppendInnerIconSize: string | number; - displayPrependIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; - displayPrependIconColor: string; - displayPrependIconSize: string | number; - displayPrependInnerIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; - displayPrependInnerIconColor: string; - displayPrependInnerIconSize: string | number; - emptyText: string; - fieldOnly: boolean; - hideCancelIcon: boolean; - hideSaveIcon: boolean; - loadingIcon: string; - loadingIconColor: string; - loadingWait: boolean; - saveButtonColor: string; - saveButtonSize: string | number; - saveButtonTitle: string; - saveButtonVariant: NonNullable<"flat" | "outlined" | "plain" | "text" | "elevated" | "tonal">; - saveIcon: string; - saveIconColor: string; - tableField: boolean; - underlineColor: string; - underlineStyle: string; - underlineWidth: string; - valueColor: string; - }, true, {}, {}, { - P: {}; - B: {}; - D: {}; - C: {}; - M: {}; - Defaults: {}; - }, Readonly; - error: { - type: globalThis.PropType; - }; - name: { - type: globalThis.PropType; - default: string; - }; - color: { - type: globalThis.PropType; - default: string; - }; - label: { - type: globalThis.PropType; - default: string; - }; - disabled: { - type: globalThis.PropType; - default: boolean; - }; - density: { - type: globalThis.PropType<"default" | "comfortable" | "compact" | null>; - default: "compact"; - }; - falseIcon: { - type: globalThis.PropType; - default: string; - }; - trueValue: { - type: globalThis.PropType; - default: boolean; - }; - falseValue: { - type: globalThis.PropType; - default: boolean; - }; - hideDetails: { - type: globalThis.PropType; - default: boolean; - }; - loading: { - type: globalThis.PropType; - default: boolean; - }; - underlined: { - type: globalThis.PropType; - default: boolean; - }; - item: { - type: globalThis.PropType>; - }; - required: { - type: globalThis.PropType; - }; - iconFalse: { - type: globalThis.PropType; - default: undefined; - }; - iconFalseColor: { - type: globalThis.PropType; - default: string; - }; - iconFalseTitle: { - type: globalThis.PropType; - default: string; - }; - iconTrue: { - type: globalThis.PropType; - default: undefined; - }; - iconTrueColor: { - type: globalThis.PropType; - default: string; - }; - iconTrueTitle: { - type: globalThis.PropType; - default: string; - }; - icons: { - type: globalThis.PropType; - default: boolean; - }; - cancelButtonColor: { - type: globalThis.PropType; - default: string; - }; - cancelButtonSize: { - type: globalThis.PropType; - default: string; - }; - cancelButtonTitle: { - type: globalThis.PropType; - default: string; - }; - cancelButtonVariant: { - type: globalThis.PropType>; - default: "text"; - }; - cancelIcon: { - type: globalThis.PropType; - default: undefined; - }; - cancelIconColor: { - type: globalThis.PropType; - default: string; - }; - cardField: { - type: globalThis.PropType; - default: boolean; - }; - cardOffsetX: { - type: globalThis.PropType; - default: number; - }; - cardOffsetY: { - type: globalThis.PropType; - default: number; - }; - cardProps: { - type: globalThis.PropType; - default: () => {}; - }; - cell: { - type: globalThis.PropType; - default: boolean; - }; - cellUnderlineFullWidth: { - type: globalThis.PropType; - default: boolean; - }; - closeSiblings: { - type: globalThis.PropType; - default: boolean; - }; - displayAppendIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendIconSize: { - type: globalThis.PropType; - default: string; - }; - displayAppendInnerIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendInnerIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendInnerIconSize: { - type: globalThis.PropType; - default: string; - }; - displayPrependIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependIconSize: { - type: globalThis.PropType; - default: string; - }; - displayPrependInnerIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependInnerIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependInnerIconSize: { - type: globalThis.PropType; - default: string; - }; - emptyText: { - type: globalThis.PropType; - default: string; - }; - fieldOnly: { - type: globalThis.PropType; - default: boolean; - }; - hideCancelIcon: { - type: globalThis.PropType; - default: boolean; - }; - hideSaveIcon: { - type: globalThis.PropType; - default: boolean; - }; - loadingIcon: { - type: globalThis.PropType; - default: undefined; - }; - loadingIconColor: { - type: globalThis.PropType; - default: string; - }; - loadingWait: { - type: globalThis.PropType; - default: boolean; - }; - saveButtonColor: { - type: globalThis.PropType; - default: string; - }; - saveButtonSize: { - type: globalThis.PropType; - default: string; - }; - saveButtonTitle: { - type: globalThis.PropType; - default: string; - }; - saveButtonVariant: { - type: globalThis.PropType>; - default: "text"; - }; - saveIcon: { - type: globalThis.PropType; - default: undefined; - }; - saveIconColor: { - type: globalThis.PropType; - default: string; - }; - tableField: { - type: globalThis.PropType; - default: boolean; - }; - underlineColor: { - type: globalThis.PropType; - default: string; - }; - underlineStyle: { - type: globalThis.PropType; - default: string; - }; - underlineWidth: { - type: globalThis.PropType; - default: string; - }; - valueColor: { - type: globalThis.PropType; - default: string; - }; - }>>, {}, {}, {}, {}, { - name: string; - color: string; - label: string; - disabled: boolean; - density: "default" | "comfortable" | "compact" | null; - falseIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; - trueValue: string | boolean; - falseValue: string | boolean; - hideDetails: boolean; - loading: boolean; - underlined: boolean; - iconFalse: string; - iconFalseColor: string; - iconFalseTitle: string; - iconTrue: string; - iconTrueColor: string; - iconTrueTitle: string; - icons: boolean; - cancelButtonColor: string; - cancelButtonSize: string | number; - cancelButtonTitle: string; - cancelButtonVariant: NonNullable<"flat" | "outlined" | "plain" | "text" | "elevated" | "tonal">; - cancelIcon: string; - cancelIconColor: string; - cardField: boolean; - cardOffsetX: number; - cardOffsetY: number; - cardProps: any; - cell: boolean; - cellUnderlineFullWidth: boolean; - closeSiblings: boolean; - displayAppendIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; - displayAppendIconColor: string; - displayAppendIconSize: string | number; - displayAppendInnerIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; - displayAppendInnerIconColor: string; - displayAppendInnerIconSize: string | number; - displayPrependIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; - displayPrependIconColor: string; - displayPrependIconSize: string | number; - displayPrependInnerIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; - displayPrependInnerIconColor: string; - displayPrependInnerIconSize: string | number; - emptyText: string; - fieldOnly: boolean; - hideCancelIcon: boolean; - hideSaveIcon: boolean; - loadingIcon: string; - loadingIconColor: string; - loadingWait: boolean; - saveButtonColor: string; - saveButtonSize: string | number; - saveButtonTitle: string; - saveButtonVariant: NonNullable<"flat" | "outlined" | "plain" | "text" | "elevated" | "tonal">; - saveIcon: string; - saveIconColor: string; - tableField: boolean; - underlineColor: string; - underlineStyle: string; - underlineWidth: string; - valueColor: string; - }>; - __isFragment?: undefined; - __isTeleport?: undefined; - __isSuspense?: undefined; - } & import("vue").ComponentOptionsBase; - error: { - type: globalThis.PropType; - }; - name: { - type: globalThis.PropType; - default: string; - }; - color: { - type: globalThis.PropType; - default: string; - }; - label: { - type: globalThis.PropType; - default: string; - }; - disabled: { - type: globalThis.PropType; - default: boolean; - }; - density: { - type: globalThis.PropType<"default" | "comfortable" | "compact" | null>; - default: "compact"; - }; - falseIcon: { - type: globalThis.PropType; - default: string; - }; - trueValue: { - type: globalThis.PropType; - default: boolean; - }; - falseValue: { - type: globalThis.PropType; - default: boolean; - }; - hideDetails: { - type: globalThis.PropType; - default: boolean; - }; - loading: { - type: globalThis.PropType; - default: boolean; - }; - underlined: { - type: globalThis.PropType; - default: boolean; - }; - item: { - type: globalThis.PropType>; - }; - required: { - type: globalThis.PropType; - }; - iconFalse: { - type: globalThis.PropType; - default: undefined; - }; - iconFalseColor: { - type: globalThis.PropType; - default: string; - }; - iconFalseTitle: { - type: globalThis.PropType; - default: string; - }; - iconTrue: { - type: globalThis.PropType; - default: undefined; - }; - iconTrueColor: { - type: globalThis.PropType; - default: string; - }; - iconTrueTitle: { - type: globalThis.PropType; - default: string; - }; - icons: { - type: globalThis.PropType; - default: boolean; - }; - cancelButtonColor: { - type: globalThis.PropType; - default: string; - }; - cancelButtonSize: { - type: globalThis.PropType; - default: string; - }; - cancelButtonTitle: { - type: globalThis.PropType; - default: string; - }; - cancelButtonVariant: { - type: globalThis.PropType>; - default: "text"; - }; - cancelIcon: { - type: globalThis.PropType; - default: undefined; - }; - cancelIconColor: { - type: globalThis.PropType; - default: string; - }; - cardField: { - type: globalThis.PropType; - default: boolean; - }; - cardOffsetX: { - type: globalThis.PropType; - default: number; - }; - cardOffsetY: { - type: globalThis.PropType; - default: number; - }; - cardProps: { - type: globalThis.PropType; - default: () => {}; - }; - cell: { - type: globalThis.PropType; - default: boolean; - }; - cellUnderlineFullWidth: { - type: globalThis.PropType; - default: boolean; - }; - closeSiblings: { - type: globalThis.PropType; - default: boolean; - }; - displayAppendIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendIconSize: { - type: globalThis.PropType; - default: string; - }; - displayAppendInnerIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendInnerIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendInnerIconSize: { - type: globalThis.PropType; - default: string; - }; - displayPrependIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependIconSize: { - type: globalThis.PropType; - default: string; - }; - displayPrependInnerIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependInnerIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependInnerIconSize: { - type: globalThis.PropType; - default: string; - }; - emptyText: { - type: globalThis.PropType; - default: string; - }; - fieldOnly: { - type: globalThis.PropType; - default: boolean; - }; - hideCancelIcon: { - type: globalThis.PropType; - default: boolean; - }; - hideSaveIcon: { - type: globalThis.PropType; - default: boolean; - }; - loadingIcon: { - type: globalThis.PropType; - default: undefined; - }; - loadingIconColor: { - type: globalThis.PropType; - default: string; - }; - loadingWait: { - type: globalThis.PropType; - default: boolean; - }; - saveButtonColor: { - type: globalThis.PropType; - default: string; - }; - saveButtonSize: { - type: globalThis.PropType; - default: string; - }; - saveButtonTitle: { - type: globalThis.PropType; - default: string; - }; - saveButtonVariant: { - type: globalThis.PropType>; - default: "text"; - }; - saveIcon: { - type: globalThis.PropType; - default: undefined; - }; - saveIconColor: { - type: globalThis.PropType; - default: string; - }; - tableField: { - type: globalThis.PropType; - default: boolean; - }; - underlineColor: { - type: globalThis.PropType; - default: string; - }; - underlineStyle: { - type: globalThis.PropType; - default: string; - }; - underlineWidth: { - type: globalThis.PropType; - default: string; - }; - valueColor: { - type: globalThis.PropType; - default: string; - }; - }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { - [x: string]: (...args: any[]) => void; - }, string, { - name: string; - color: string; - label: string; - disabled: boolean; - density: "default" | "comfortable" | "compact" | null; - falseIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; - trueValue: string | boolean; - falseValue: string | boolean; - hideDetails: boolean; - loading: boolean; - underlined: boolean; - iconFalse: string; - iconFalseColor: string; - iconFalseTitle: string; - iconTrue: string; - iconTrueColor: string; - iconTrueTitle: string; - icons: boolean; - cancelButtonColor: string; - cancelButtonSize: string | number; - cancelButtonTitle: string; - cancelButtonVariant: NonNullable<"flat" | "outlined" | "plain" | "text" | "elevated" | "tonal">; - cancelIcon: string; - cancelIconColor: string; - cardField: boolean; - cardOffsetX: number; - cardOffsetY: number; - cardProps: any; - cell: boolean; - cellUnderlineFullWidth: boolean; - closeSiblings: boolean; - displayAppendIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; - displayAppendIconColor: string; - displayAppendIconSize: string | number; - displayAppendInnerIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; - displayAppendInnerIconColor: string; - displayAppendInnerIconSize: string | number; - displayPrependIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; - displayPrependIconColor: string; - displayPrependIconSize: string | number; - displayPrependInnerIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; - displayPrependInnerIconColor: string; - displayPrependInnerIconSize: string | number; - emptyText: string; - fieldOnly: boolean; - hideCancelIcon: boolean; - hideSaveIcon: boolean; - loadingIcon: string; - loadingIconColor: string; - loadingWait: boolean; - saveButtonColor: string; - saveButtonSize: string | number; - saveButtonTitle: string; - saveButtonVariant: NonNullable<"flat" | "outlined" | "plain" | "text" | "elevated" | "tonal">; - saveIcon: string; - saveIconColor: string; - tableField: boolean; - underlineColor: string; - underlineStyle: string; - underlineWidth: string; - valueColor: string; - }, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => { - $slots: Partial, (_: any) => any>>; - }); - VInlineTextField: { - new (...args: any[]): import("vue").CreateComponentPublicInstance; - error: { - type: globalThis.PropType; - }; - name: { - type: globalThis.PropType; - default: string; - }; - color: { - type: globalThis.PropType; - default: string; - }; - label: { - type: globalThis.PropType; - default: string; - }; - disabled: { - type: globalThis.PropType; - default: boolean; - }; - density: { - type: globalThis.PropType<"default" | "comfortable" | "compact" | null>; - default: "compact"; - }; - rules: { - type: globalThis.PropType | ((value: any) => string | boolean) | ((value: any) => PromiseLike))[]>; - }; - hideDetails: { - type: globalThis.PropType; - default: boolean; - }; - variant: { - type: globalThis.PropType<"filled" | "outlined" | "plain" | "underlined" | "solo" | "solo-inverted" | "solo-filled">; - default: "underlined"; - }; - loading: { - type: globalThis.PropType; - default: boolean; - }; - autofocus: { - type: globalThis.PropType; - default: boolean; - }; - clearIcon: { - type: globalThis.PropType; - }; - underlined: { - type: globalThis.PropType; - default: boolean; - }; - item: { - type: globalThis.PropType>; - }; - required: { - type: globalThis.PropType; - }; - truncateLength: { - type: globalThis.PropType; - default: undefined; - }; - truncateSuffix: { - type: globalThis.PropType; - default: string; - }; - cancelButtonColor: { - type: globalThis.PropType; - default: string; - }; - cancelButtonSize: { - type: globalThis.PropType; - default: string; - }; - cancelButtonTitle: { - type: globalThis.PropType; - default: string; - }; - cancelButtonVariant: { - type: globalThis.PropType>; - default: "text"; - }; - cancelIcon: { - type: globalThis.PropType; - default: undefined; - }; - cancelIconColor: { - type: globalThis.PropType; - default: string; - }; - cardField: { - type: globalThis.PropType; - default: boolean; - }; - cardOffsetX: { - type: globalThis.PropType; - default: number; - }; - cardOffsetY: { - type: globalThis.PropType; - default: number; - }; - cardProps: { - type: globalThis.PropType; - default: () => {}; - }; - cell: { - type: globalThis.PropType; - default: boolean; - }; - cellUnderlineFullWidth: { - type: globalThis.PropType; - default: boolean; - }; - closeSiblings: { - type: globalThis.PropType; - default: boolean; - }; - displayAppendIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendIconSize: { - type: globalThis.PropType; - default: string; - }; - displayAppendInnerIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendInnerIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendInnerIconSize: { - type: globalThis.PropType; - default: string; - }; - displayPrependIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependIconSize: { - type: globalThis.PropType; - default: string; - }; - displayPrependInnerIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependInnerIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependInnerIconSize: { - type: globalThis.PropType; - default: string; - }; - emptyText: { - type: globalThis.PropType; - default: string; - }; - fieldOnly: { - type: globalThis.PropType; - default: boolean; - }; - hideCancelIcon: { - type: globalThis.PropType; - default: boolean; - }; - hideSaveIcon: { - type: globalThis.PropType; - default: boolean; - }; - loadingIcon: { - type: globalThis.PropType; - default: undefined; - }; - loadingIconColor: { - type: globalThis.PropType; - default: string; - }; - loadingWait: { - type: globalThis.PropType; - default: boolean; - }; - saveButtonColor: { - type: globalThis.PropType; - default: string; - }; - saveButtonSize: { - type: globalThis.PropType; - default: string; - }; - saveButtonTitle: { - type: globalThis.PropType; - default: string; - }; - saveButtonVariant: { - type: globalThis.PropType>; - default: "text"; - }; - saveIcon: { - type: globalThis.PropType; - default: undefined; - }; - saveIconColor: { - type: globalThis.PropType; - default: string; - }; - tableField: { - type: globalThis.PropType; - default: boolean; - }; - underlineColor: { - type: globalThis.PropType; - default: string; - }; - underlineStyle: { - type: globalThis.PropType; - default: string; - }; - underlineWidth: { - type: globalThis.PropType; - default: string; - }; - valueColor: { - type: globalThis.PropType; - default: string; - }; - }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { - [x: string]: (...args: any[]) => void; - }, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly; - error: { - type: globalThis.PropType; - }; - name: { - type: globalThis.PropType; - default: string; - }; - color: { - type: globalThis.PropType; - default: string; - }; - label: { - type: globalThis.PropType; - default: string; - }; - disabled: { - type: globalThis.PropType; - default: boolean; - }; - density: { - type: globalThis.PropType<"default" | "comfortable" | "compact" | null>; - default: "compact"; - }; - rules: { - type: globalThis.PropType | ((value: any) => string | boolean) | ((value: any) => PromiseLike))[]>; - }; - hideDetails: { - type: globalThis.PropType; - default: boolean; - }; - variant: { - type: globalThis.PropType<"filled" | "outlined" | "plain" | "underlined" | "solo" | "solo-inverted" | "solo-filled">; - default: "underlined"; - }; - loading: { - type: globalThis.PropType; - default: boolean; - }; - autofocus: { - type: globalThis.PropType; - default: boolean; - }; - clearIcon: { - type: globalThis.PropType; - }; - underlined: { - type: globalThis.PropType; - default: boolean; - }; - item: { - type: globalThis.PropType>; - }; - required: { - type: globalThis.PropType; - }; - truncateLength: { - type: globalThis.PropType; - default: undefined; - }; - truncateSuffix: { - type: globalThis.PropType; - default: string; - }; - cancelButtonColor: { - type: globalThis.PropType; - default: string; - }; - cancelButtonSize: { - type: globalThis.PropType; - default: string; - }; - cancelButtonTitle: { - type: globalThis.PropType; - default: string; - }; - cancelButtonVariant: { - type: globalThis.PropType>; - default: "text"; - }; - cancelIcon: { - type: globalThis.PropType; - default: undefined; - }; - cancelIconColor: { - type: globalThis.PropType; - default: string; - }; - cardField: { - type: globalThis.PropType; - default: boolean; - }; - cardOffsetX: { - type: globalThis.PropType; - default: number; - }; - cardOffsetY: { - type: globalThis.PropType; - default: number; - }; - cardProps: { - type: globalThis.PropType; - default: () => {}; - }; - cell: { - type: globalThis.PropType; - default: boolean; - }; - cellUnderlineFullWidth: { - type: globalThis.PropType; - default: boolean; - }; - closeSiblings: { - type: globalThis.PropType; - default: boolean; - }; - displayAppendIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendIconSize: { - type: globalThis.PropType; - default: string; - }; - displayAppendInnerIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendInnerIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendInnerIconSize: { - type: globalThis.PropType; - default: string; - }; - displayPrependIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependIconSize: { - type: globalThis.PropType; - default: string; - }; - displayPrependInnerIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependInnerIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependInnerIconSize: { - type: globalThis.PropType; - default: string; - }; - emptyText: { - type: globalThis.PropType; - default: string; - }; - fieldOnly: { - type: globalThis.PropType; - default: boolean; - }; - hideCancelIcon: { - type: globalThis.PropType; - default: boolean; - }; - hideSaveIcon: { - type: globalThis.PropType; - default: boolean; - }; - loadingIcon: { - type: globalThis.PropType; - default: undefined; - }; - loadingIconColor: { - type: globalThis.PropType; - default: string; - }; - loadingWait: { - type: globalThis.PropType; - default: boolean; - }; - saveButtonColor: { - type: globalThis.PropType; - default: string; - }; - saveButtonSize: { - type: globalThis.PropType; - default: string; - }; - saveButtonTitle: { - type: globalThis.PropType; - default: string; - }; - saveButtonVariant: { - type: globalThis.PropType>; - default: "text"; - }; - saveIcon: { - type: globalThis.PropType; - default: undefined; - }; - saveIconColor: { - type: globalThis.PropType; - default: string; - }; - tableField: { - type: globalThis.PropType; - default: boolean; - }; - underlineColor: { - type: globalThis.PropType; - default: string; - }; - underlineStyle: { - type: globalThis.PropType; - default: string; - }; - underlineWidth: { - type: globalThis.PropType; - default: string; - }; - valueColor: { - type: globalThis.PropType; - default: string; - }; - }>>, { - name: string; - color: string; - label: string; - disabled: boolean; - density: "default" | "comfortable" | "compact" | null; - hideDetails: boolean; - variant: "filled" | "outlined" | "plain" | "underlined" | "solo" | "solo-inverted" | "solo-filled"; - loading: boolean; - autofocus: boolean; - underlined: boolean; - truncateLength: number; - truncateSuffix: string; - cancelButtonColor: string; - cancelButtonSize: string | number; - cancelButtonTitle: string; - cancelButtonVariant: NonNullable<"flat" | "outlined" | "plain" | "text" | "elevated" | "tonal">; - cancelIcon: string; - cancelIconColor: string; - cardField: boolean; - cardOffsetX: number; - cardOffsetY: number; - cardProps: any; - cell: boolean; - cellUnderlineFullWidth: boolean; - closeSiblings: boolean; - displayAppendIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; - displayAppendIconColor: string; - displayAppendIconSize: string | number; - displayAppendInnerIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; - displayAppendInnerIconColor: string; - displayAppendInnerIconSize: string | number; - displayPrependIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; - displayPrependIconColor: string; - displayPrependIconSize: string | number; - displayPrependInnerIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; - displayPrependInnerIconColor: string; - displayPrependInnerIconSize: string | number; - emptyText: string; - fieldOnly: boolean; - hideCancelIcon: boolean; - hideSaveIcon: boolean; - loadingIcon: string; - loadingIconColor: string; - loadingWait: boolean; - saveButtonColor: string; - saveButtonSize: string | number; - saveButtonTitle: string; - saveButtonVariant: NonNullable<"flat" | "outlined" | "plain" | "text" | "elevated" | "tonal">; - saveIcon: string; - saveIconColor: string; - tableField: boolean; - underlineColor: string; - underlineStyle: string; - underlineWidth: string; - valueColor: string; - }, true, {}, {}, { - P: {}; - B: {}; - D: {}; - C: {}; - M: {}; - Defaults: {}; - }, Readonly; - error: { - type: globalThis.PropType; - }; - name: { - type: globalThis.PropType; - default: string; - }; - color: { - type: globalThis.PropType; - default: string; - }; - label: { - type: globalThis.PropType; - default: string; - }; - disabled: { - type: globalThis.PropType; - default: boolean; - }; - density: { - type: globalThis.PropType<"default" | "comfortable" | "compact" | null>; - default: "compact"; - }; - rules: { - type: globalThis.PropType | ((value: any) => string | boolean) | ((value: any) => PromiseLike))[]>; - }; - hideDetails: { - type: globalThis.PropType; - default: boolean; - }; - variant: { - type: globalThis.PropType<"filled" | "outlined" | "plain" | "underlined" | "solo" | "solo-inverted" | "solo-filled">; - default: "underlined"; - }; - loading: { - type: globalThis.PropType; - default: boolean; - }; - autofocus: { - type: globalThis.PropType; - default: boolean; - }; - clearIcon: { - type: globalThis.PropType; - }; - underlined: { - type: globalThis.PropType; - default: boolean; - }; - item: { - type: globalThis.PropType>; - }; - required: { - type: globalThis.PropType; - }; - truncateLength: { - type: globalThis.PropType; - default: undefined; - }; - truncateSuffix: { - type: globalThis.PropType; - default: string; - }; - cancelButtonColor: { - type: globalThis.PropType; - default: string; - }; - cancelButtonSize: { - type: globalThis.PropType; - default: string; - }; - cancelButtonTitle: { - type: globalThis.PropType; - default: string; - }; - cancelButtonVariant: { - type: globalThis.PropType>; - default: "text"; - }; - cancelIcon: { - type: globalThis.PropType; - default: undefined; - }; - cancelIconColor: { - type: globalThis.PropType; - default: string; - }; - cardField: { - type: globalThis.PropType; - default: boolean; - }; - cardOffsetX: { - type: globalThis.PropType; - default: number; - }; - cardOffsetY: { - type: globalThis.PropType; - default: number; - }; - cardProps: { - type: globalThis.PropType; - default: () => {}; - }; - cell: { - type: globalThis.PropType; - default: boolean; - }; - cellUnderlineFullWidth: { - type: globalThis.PropType; - default: boolean; - }; - closeSiblings: { - type: globalThis.PropType; - default: boolean; - }; - displayAppendIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendIconSize: { - type: globalThis.PropType; - default: string; - }; - displayAppendInnerIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendInnerIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendInnerIconSize: { - type: globalThis.PropType; - default: string; - }; - displayPrependIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependIconSize: { - type: globalThis.PropType; - default: string; - }; - displayPrependInnerIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependInnerIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependInnerIconSize: { - type: globalThis.PropType; - default: string; - }; - emptyText: { - type: globalThis.PropType; - default: string; - }; - fieldOnly: { - type: globalThis.PropType; - default: boolean; - }; - hideCancelIcon: { - type: globalThis.PropType; - default: boolean; - }; - hideSaveIcon: { - type: globalThis.PropType; - default: boolean; - }; - loadingIcon: { - type: globalThis.PropType; - default: undefined; - }; - loadingIconColor: { - type: globalThis.PropType; - default: string; - }; - loadingWait: { - type: globalThis.PropType; - default: boolean; - }; - saveButtonColor: { - type: globalThis.PropType; - default: string; - }; - saveButtonSize: { - type: globalThis.PropType; - default: string; - }; - saveButtonTitle: { - type: globalThis.PropType; - default: string; - }; - saveButtonVariant: { - type: globalThis.PropType>; - default: "text"; - }; - saveIcon: { - type: globalThis.PropType; - default: undefined; - }; - saveIconColor: { - type: globalThis.PropType; - default: string; - }; - tableField: { - type: globalThis.PropType; - default: boolean; - }; - underlineColor: { - type: globalThis.PropType; - default: string; - }; - underlineStyle: { - type: globalThis.PropType; - default: string; - }; - underlineWidth: { - type: globalThis.PropType; - default: string; - }; - valueColor: { - type: globalThis.PropType; - default: string; - }; - }>>, {}, {}, {}, {}, { - name: string; - color: string; - label: string; - disabled: boolean; - density: "default" | "comfortable" | "compact" | null; - hideDetails: boolean; - variant: "filled" | "outlined" | "plain" | "underlined" | "solo" | "solo-inverted" | "solo-filled"; - loading: boolean; - autofocus: boolean; - underlined: boolean; - truncateLength: number; - truncateSuffix: string; - cancelButtonColor: string; - cancelButtonSize: string | number; - cancelButtonTitle: string; - cancelButtonVariant: NonNullable<"flat" | "outlined" | "plain" | "text" | "elevated" | "tonal">; - cancelIcon: string; - cancelIconColor: string; - cardField: boolean; - cardOffsetX: number; - cardOffsetY: number; - cardProps: any; - cell: boolean; - cellUnderlineFullWidth: boolean; - closeSiblings: boolean; - displayAppendIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; - displayAppendIconColor: string; - displayAppendIconSize: string | number; - displayAppendInnerIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; - displayAppendInnerIconColor: string; - displayAppendInnerIconSize: string | number; - displayPrependIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; - displayPrependIconColor: string; - displayPrependIconSize: string | number; - displayPrependInnerIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; - displayPrependInnerIconColor: string; - displayPrependInnerIconSize: string | number; - emptyText: string; - fieldOnly: boolean; - hideCancelIcon: boolean; - hideSaveIcon: boolean; - loadingIcon: string; - loadingIconColor: string; - loadingWait: boolean; - saveButtonColor: string; - saveButtonSize: string | number; - saveButtonTitle: string; - saveButtonVariant: NonNullable<"flat" | "outlined" | "plain" | "text" | "elevated" | "tonal">; - saveIcon: string; - saveIconColor: string; - tableField: boolean; - underlineColor: string; - underlineStyle: string; - underlineWidth: string; - valueColor: string; - }>; - __isFragment?: undefined; - __isTeleport?: undefined; - __isSuspense?: undefined; - } & import("vue").ComponentOptionsBase; - error: { - type: globalThis.PropType; - }; - name: { - type: globalThis.PropType; - default: string; - }; - color: { - type: globalThis.PropType; - default: string; - }; - label: { - type: globalThis.PropType; - default: string; - }; - disabled: { - type: globalThis.PropType; - default: boolean; - }; - density: { - type: globalThis.PropType<"default" | "comfortable" | "compact" | null>; - default: "compact"; - }; - rules: { - type: globalThis.PropType | ((value: any) => string | boolean) | ((value: any) => PromiseLike))[]>; - }; - hideDetails: { - type: globalThis.PropType; - default: boolean; - }; - variant: { - type: globalThis.PropType<"filled" | "outlined" | "plain" | "underlined" | "solo" | "solo-inverted" | "solo-filled">; - default: "underlined"; - }; - loading: { - type: globalThis.PropType; - default: boolean; - }; - autofocus: { - type: globalThis.PropType; - default: boolean; - }; - clearIcon: { - type: globalThis.PropType; - }; - underlined: { - type: globalThis.PropType; - default: boolean; - }; - item: { - type: globalThis.PropType>; - }; - required: { - type: globalThis.PropType; - }; - truncateLength: { - type: globalThis.PropType; - default: undefined; - }; - truncateSuffix: { - type: globalThis.PropType; - default: string; - }; - cancelButtonColor: { - type: globalThis.PropType; - default: string; - }; - cancelButtonSize: { - type: globalThis.PropType; - default: string; - }; - cancelButtonTitle: { - type: globalThis.PropType; - default: string; - }; - cancelButtonVariant: { - type: globalThis.PropType>; - default: "text"; - }; - cancelIcon: { - type: globalThis.PropType; - default: undefined; - }; - cancelIconColor: { - type: globalThis.PropType; - default: string; - }; - cardField: { - type: globalThis.PropType; - default: boolean; - }; - cardOffsetX: { - type: globalThis.PropType; - default: number; - }; - cardOffsetY: { - type: globalThis.PropType; - default: number; - }; - cardProps: { - type: globalThis.PropType; - default: () => {}; - }; - cell: { - type: globalThis.PropType; - default: boolean; - }; - cellUnderlineFullWidth: { - type: globalThis.PropType; - default: boolean; - }; - closeSiblings: { - type: globalThis.PropType; - default: boolean; - }; - displayAppendIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendIconSize: { - type: globalThis.PropType; - default: string; - }; - displayAppendInnerIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendInnerIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendInnerIconSize: { - type: globalThis.PropType; - default: string; - }; - displayPrependIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependIconSize: { - type: globalThis.PropType; - default: string; - }; - displayPrependInnerIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependInnerIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependInnerIconSize: { - type: globalThis.PropType; - default: string; - }; - emptyText: { - type: globalThis.PropType; - default: string; - }; - fieldOnly: { - type: globalThis.PropType; - default: boolean; - }; - hideCancelIcon: { - type: globalThis.PropType; - default: boolean; - }; - hideSaveIcon: { - type: globalThis.PropType; - default: boolean; - }; - loadingIcon: { - type: globalThis.PropType; - default: undefined; - }; - loadingIconColor: { - type: globalThis.PropType; - default: string; - }; - loadingWait: { - type: globalThis.PropType; - default: boolean; - }; - saveButtonColor: { - type: globalThis.PropType; - default: string; - }; - saveButtonSize: { - type: globalThis.PropType; - default: string; - }; - saveButtonTitle: { - type: globalThis.PropType; - default: string; - }; - saveButtonVariant: { - type: globalThis.PropType>; - default: "text"; - }; - saveIcon: { - type: globalThis.PropType; - default: undefined; - }; - saveIconColor: { - type: globalThis.PropType; - default: string; - }; - tableField: { - type: globalThis.PropType; - default: boolean; - }; - underlineColor: { - type: globalThis.PropType; - default: string; - }; - underlineStyle: { - type: globalThis.PropType; - default: string; - }; - underlineWidth: { - type: globalThis.PropType; - default: string; - }; - valueColor: { - type: globalThis.PropType; - default: string; - }; - }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { - [x: string]: (...args: any[]) => void; - }, string, { - name: string; - color: string; - label: string; - disabled: boolean; - density: "default" | "comfortable" | "compact" | null; - hideDetails: boolean; - variant: "filled" | "outlined" | "plain" | "underlined" | "solo" | "solo-inverted" | "solo-filled"; - loading: boolean; - autofocus: boolean; - underlined: boolean; - truncateLength: number; - truncateSuffix: string; - cancelButtonColor: string; - cancelButtonSize: string | number; - cancelButtonTitle: string; - cancelButtonVariant: NonNullable<"flat" | "outlined" | "plain" | "text" | "elevated" | "tonal">; - cancelIcon: string; - cancelIconColor: string; - cardField: boolean; - cardOffsetX: number; - cardOffsetY: number; - cardProps: any; - cell: boolean; - cellUnderlineFullWidth: boolean; - closeSiblings: boolean; - displayAppendIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; - displayAppendIconColor: string; - displayAppendIconSize: string | number; - displayAppendInnerIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; - displayAppendInnerIconColor: string; - displayAppendInnerIconSize: string | number; - displayPrependIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; - displayPrependIconColor: string; - displayPrependIconSize: string | number; - displayPrependInnerIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; - displayPrependInnerIconColor: string; - displayPrependInnerIconSize: string | number; - emptyText: string; - fieldOnly: boolean; - hideCancelIcon: boolean; - hideSaveIcon: boolean; - loadingIcon: string; - loadingIconColor: string; - loadingWait: boolean; - saveButtonColor: string; - saveButtonSize: string | number; - saveButtonTitle: string; - saveButtonVariant: NonNullable<"flat" | "outlined" | "plain" | "text" | "elevated" | "tonal">; - saveIcon: string; - saveIconColor: string; - tableField: boolean; - underlineColor: string; - underlineStyle: string; - underlineWidth: string; - valueColor: string; - }, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => { - $slots: Partial, (_: any) => any>> & Partial, (_: any) => any>>; - }); - VInlineTextarea: { - new (...args: any[]): import("vue").CreateComponentPublicInstance; - error: { - type: globalThis.PropType; - }; - name: { - type: globalThis.PropType; - default: string; - }; - color: { - type: globalThis.PropType; - default: string; - }; - label: { - type: globalThis.PropType; - default: string; - }; - disabled: { - type: globalThis.PropType; - default: boolean; - }; - density: { - type: globalThis.PropType<"default" | "comfortable" | "compact" | null>; - default: "compact"; - }; - rules: { - type: globalThis.PropType | ((value: any) => string | boolean) | ((value: any) => PromiseLike))[]>; - }; - hideDetails: { - type: globalThis.PropType; - default: boolean; - }; - variant: { - type: globalThis.PropType<"filled" | "outlined" | "plain" | "underlined" | "solo" | "solo-inverted" | "solo-filled">; - default: "underlined"; - }; - loading: { - type: globalThis.PropType; - default: boolean; - }; - autofocus: { - type: globalThis.PropType; - default: boolean; - }; - clearIcon: { - type: globalThis.PropType; - }; - underlined: { - type: globalThis.PropType; - default: boolean; - }; - item: { - type: globalThis.PropType>; - }; - required: { - type: globalThis.PropType; - }; - autoGrow: { - type: globalThis.PropType; - default: boolean; - }; - rows: { - type: globalThis.PropType; - default: number; - }; - truncateLength: { - type: globalThis.PropType; - default: undefined; - }; - truncateSuffix: { - type: globalThis.PropType; - default: string; - }; - cancelButtonColor: { - type: globalThis.PropType; - default: string; - }; - cancelButtonSize: { - type: globalThis.PropType; - default: string; - }; - cancelButtonTitle: { - type: globalThis.PropType; - default: string; - }; - cancelButtonVariant: { - type: globalThis.PropType>; - default: "text"; - }; - cancelIcon: { - type: globalThis.PropType; - default: undefined; - }; - cancelIconColor: { - type: globalThis.PropType; - default: string; - }; - cardField: { - type: globalThis.PropType; - default: boolean; - }; - cardOffsetX: { - type: globalThis.PropType; - default: number; - }; - cardOffsetY: { - type: globalThis.PropType; - default: number; - }; - cardProps: { - type: globalThis.PropType; - default: () => {}; - }; - cell: { - type: globalThis.PropType; - default: boolean; - }; - cellUnderlineFullWidth: { - type: globalThis.PropType; - default: boolean; - }; - closeSiblings: { - type: globalThis.PropType; - default: boolean; - }; - displayAppendIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendIconSize: { - type: globalThis.PropType; - default: string; - }; - displayAppendInnerIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendInnerIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendInnerIconSize: { - type: globalThis.PropType; - default: string; - }; - displayPrependIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependIconSize: { - type: globalThis.PropType; - default: string; - }; - displayPrependInnerIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependInnerIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependInnerIconSize: { - type: globalThis.PropType; - default: string; - }; - emptyText: { - type: globalThis.PropType; - default: string; - }; - fieldOnly: { - type: globalThis.PropType; - default: boolean; - }; - hideCancelIcon: { - type: globalThis.PropType; - default: boolean; - }; - hideSaveIcon: { - type: globalThis.PropType; - default: boolean; - }; - loadingIcon: { - type: globalThis.PropType; - default: undefined; - }; - loadingIconColor: { - type: globalThis.PropType; - default: string; - }; - loadingWait: { - type: globalThis.PropType; - default: boolean; - }; - saveButtonColor: { - type: globalThis.PropType; - default: string; - }; - saveButtonSize: { - type: globalThis.PropType; - default: string; - }; - saveButtonTitle: { - type: globalThis.PropType; - default: string; - }; - saveButtonVariant: { - type: globalThis.PropType>; - default: "text"; - }; - saveIcon: { - type: globalThis.PropType; - default: undefined; - }; - saveIconColor: { - type: globalThis.PropType; - default: string; - }; - tableField: { - type: globalThis.PropType; - default: boolean; - }; - underlineColor: { - type: globalThis.PropType; - default: string; - }; - underlineStyle: { - type: globalThis.PropType; - default: string; - }; - underlineWidth: { - type: globalThis.PropType; - default: string; - }; - valueColor: { - type: globalThis.PropType; - default: string; - }; - }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { - [x: string]: (...args: any[]) => void; - }, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly; - error: { - type: globalThis.PropType; - }; - name: { - type: globalThis.PropType; - default: string; - }; - color: { - type: globalThis.PropType; - default: string; - }; - label: { - type: globalThis.PropType; - default: string; - }; - disabled: { - type: globalThis.PropType; - default: boolean; - }; - density: { - type: globalThis.PropType<"default" | "comfortable" | "compact" | null>; - default: "compact"; - }; - rules: { - type: globalThis.PropType | ((value: any) => string | boolean) | ((value: any) => PromiseLike))[]>; - }; - hideDetails: { - type: globalThis.PropType; - default: boolean; - }; - variant: { - type: globalThis.PropType<"filled" | "outlined" | "plain" | "underlined" | "solo" | "solo-inverted" | "solo-filled">; - default: "underlined"; - }; - loading: { - type: globalThis.PropType; - default: boolean; - }; - autofocus: { - type: globalThis.PropType; - default: boolean; - }; - clearIcon: { - type: globalThis.PropType; - }; - underlined: { - type: globalThis.PropType; - default: boolean; - }; - item: { - type: globalThis.PropType>; - }; - required: { - type: globalThis.PropType; - }; - autoGrow: { - type: globalThis.PropType; - default: boolean; - }; - rows: { - type: globalThis.PropType; - default: number; - }; - truncateLength: { - type: globalThis.PropType; - default: undefined; - }; - truncateSuffix: { - type: globalThis.PropType; - default: string; - }; - cancelButtonColor: { - type: globalThis.PropType; - default: string; - }; - cancelButtonSize: { - type: globalThis.PropType; - default: string; - }; - cancelButtonTitle: { - type: globalThis.PropType; - default: string; - }; - cancelButtonVariant: { - type: globalThis.PropType>; - default: "text"; - }; - cancelIcon: { - type: globalThis.PropType; - default: undefined; - }; - cancelIconColor: { - type: globalThis.PropType; - default: string; - }; - cardField: { - type: globalThis.PropType; - default: boolean; - }; - cardOffsetX: { - type: globalThis.PropType; - default: number; - }; - cardOffsetY: { - type: globalThis.PropType; - default: number; - }; - cardProps: { - type: globalThis.PropType; - default: () => {}; - }; - cell: { - type: globalThis.PropType; - default: boolean; - }; - cellUnderlineFullWidth: { - type: globalThis.PropType; - default: boolean; - }; - closeSiblings: { - type: globalThis.PropType; - default: boolean; - }; - displayAppendIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendIconSize: { - type: globalThis.PropType; - default: string; - }; - displayAppendInnerIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendInnerIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendInnerIconSize: { - type: globalThis.PropType; - default: string; - }; - displayPrependIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependIconSize: { - type: globalThis.PropType; - default: string; - }; - displayPrependInnerIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependInnerIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependInnerIconSize: { - type: globalThis.PropType; - default: string; - }; - emptyText: { - type: globalThis.PropType; - default: string; - }; - fieldOnly: { - type: globalThis.PropType; - default: boolean; - }; - hideCancelIcon: { - type: globalThis.PropType; - default: boolean; - }; - hideSaveIcon: { - type: globalThis.PropType; - default: boolean; - }; - loadingIcon: { - type: globalThis.PropType; - default: undefined; - }; - loadingIconColor: { - type: globalThis.PropType; - default: string; - }; - loadingWait: { - type: globalThis.PropType; - default: boolean; - }; - saveButtonColor: { - type: globalThis.PropType; - default: string; - }; - saveButtonSize: { - type: globalThis.PropType; - default: string; - }; - saveButtonTitle: { - type: globalThis.PropType; - default: string; - }; - saveButtonVariant: { - type: globalThis.PropType>; - default: "text"; - }; - saveIcon: { - type: globalThis.PropType; - default: undefined; - }; - saveIconColor: { - type: globalThis.PropType; - default: string; - }; - tableField: { - type: globalThis.PropType; - default: boolean; - }; - underlineColor: { - type: globalThis.PropType; - default: string; - }; - underlineStyle: { - type: globalThis.PropType; - default: string; - }; - underlineWidth: { - type: globalThis.PropType; - default: string; - }; - valueColor: { - type: globalThis.PropType; - default: string; - }; - }>>, { - name: string; - color: string; - label: string; - disabled: boolean; - density: "default" | "comfortable" | "compact" | null; - hideDetails: boolean; - variant: "filled" | "outlined" | "plain" | "underlined" | "solo" | "solo-inverted" | "solo-filled"; - loading: boolean; - autofocus: boolean; - underlined: boolean; - autoGrow: boolean; - rows: string | number; - truncateLength: number; - truncateSuffix: string; - cancelButtonColor: string; - cancelButtonSize: string | number; - cancelButtonTitle: string; - cancelButtonVariant: NonNullable<"flat" | "outlined" | "plain" | "text" | "elevated" | "tonal">; - cancelIcon: string; - cancelIconColor: string; - cardField: boolean; - cardOffsetX: number; - cardOffsetY: number; - cardProps: any; - cell: boolean; - cellUnderlineFullWidth: boolean; - closeSiblings: boolean; - displayAppendIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; - displayAppendIconColor: string; - displayAppendIconSize: string | number; - displayAppendInnerIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; - displayAppendInnerIconColor: string; - displayAppendInnerIconSize: string | number; - displayPrependIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; - displayPrependIconColor: string; - displayPrependIconSize: string | number; - displayPrependInnerIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; - displayPrependInnerIconColor: string; - displayPrependInnerIconSize: string | number; - emptyText: string; - fieldOnly: boolean; - hideCancelIcon: boolean; - hideSaveIcon: boolean; - loadingIcon: string; - loadingIconColor: string; - loadingWait: boolean; - saveButtonColor: string; - saveButtonSize: string | number; - saveButtonTitle: string; - saveButtonVariant: NonNullable<"flat" | "outlined" | "plain" | "text" | "elevated" | "tonal">; - saveIcon: string; - saveIconColor: string; - tableField: boolean; - underlineColor: string; - underlineStyle: string; - underlineWidth: string; - valueColor: string; - }, true, {}, {}, { - P: {}; - B: {}; - D: {}; - C: {}; - M: {}; - Defaults: {}; - }, Readonly; - error: { - type: globalThis.PropType; - }; - name: { - type: globalThis.PropType; - default: string; - }; - color: { - type: globalThis.PropType; - default: string; - }; - label: { - type: globalThis.PropType; - default: string; - }; - disabled: { - type: globalThis.PropType; - default: boolean; - }; - density: { - type: globalThis.PropType<"default" | "comfortable" | "compact" | null>; - default: "compact"; - }; - rules: { - type: globalThis.PropType | ((value: any) => string | boolean) | ((value: any) => PromiseLike))[]>; - }; - hideDetails: { - type: globalThis.PropType; - default: boolean; - }; - variant: { - type: globalThis.PropType<"filled" | "outlined" | "plain" | "underlined" | "solo" | "solo-inverted" | "solo-filled">; - default: "underlined"; - }; - loading: { - type: globalThis.PropType; - default: boolean; - }; - autofocus: { - type: globalThis.PropType; - default: boolean; - }; - clearIcon: { - type: globalThis.PropType; - }; - underlined: { - type: globalThis.PropType; - default: boolean; - }; - item: { - type: globalThis.PropType>; - }; - required: { - type: globalThis.PropType; - }; - autoGrow: { - type: globalThis.PropType; - default: boolean; - }; - rows: { - type: globalThis.PropType; - default: number; - }; - truncateLength: { - type: globalThis.PropType; - default: undefined; - }; - truncateSuffix: { - type: globalThis.PropType; - default: string; - }; - cancelButtonColor: { - type: globalThis.PropType; - default: string; - }; - cancelButtonSize: { - type: globalThis.PropType; - default: string; - }; - cancelButtonTitle: { - type: globalThis.PropType; - default: string; - }; - cancelButtonVariant: { - type: globalThis.PropType>; - default: "text"; - }; - cancelIcon: { - type: globalThis.PropType; - default: undefined; - }; - cancelIconColor: { - type: globalThis.PropType; - default: string; - }; - cardField: { - type: globalThis.PropType; - default: boolean; - }; - cardOffsetX: { - type: globalThis.PropType; - default: number; - }; - cardOffsetY: { - type: globalThis.PropType; - default: number; - }; - cardProps: { - type: globalThis.PropType; - default: () => {}; - }; - cell: { - type: globalThis.PropType; - default: boolean; - }; - cellUnderlineFullWidth: { - type: globalThis.PropType; - default: boolean; - }; - closeSiblings: { - type: globalThis.PropType; - default: boolean; - }; - displayAppendIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendIconSize: { - type: globalThis.PropType; - default: string; - }; - displayAppendInnerIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendInnerIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendInnerIconSize: { - type: globalThis.PropType; - default: string; - }; - displayPrependIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependIconSize: { - type: globalThis.PropType; - default: string; - }; - displayPrependInnerIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependInnerIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependInnerIconSize: { - type: globalThis.PropType; - default: string; - }; - emptyText: { - type: globalThis.PropType; - default: string; - }; - fieldOnly: { - type: globalThis.PropType; - default: boolean; - }; - hideCancelIcon: { - type: globalThis.PropType; - default: boolean; - }; - hideSaveIcon: { - type: globalThis.PropType; - default: boolean; - }; - loadingIcon: { - type: globalThis.PropType; - default: undefined; - }; - loadingIconColor: { - type: globalThis.PropType; - default: string; - }; - loadingWait: { - type: globalThis.PropType; - default: boolean; - }; - saveButtonColor: { - type: globalThis.PropType; - default: string; - }; - saveButtonSize: { - type: globalThis.PropType; - default: string; - }; - saveButtonTitle: { - type: globalThis.PropType; - default: string; - }; - saveButtonVariant: { - type: globalThis.PropType>; - default: "text"; - }; - saveIcon: { - type: globalThis.PropType; - default: undefined; - }; - saveIconColor: { - type: globalThis.PropType; - default: string; - }; - tableField: { - type: globalThis.PropType; - default: boolean; - }; - underlineColor: { - type: globalThis.PropType; - default: string; - }; - underlineStyle: { - type: globalThis.PropType; - default: string; - }; - underlineWidth: { - type: globalThis.PropType; - default: string; - }; - valueColor: { - type: globalThis.PropType; - default: string; - }; - }>>, {}, {}, {}, {}, { - name: string; - color: string; - label: string; - disabled: boolean; - density: "default" | "comfortable" | "compact" | null; - hideDetails: boolean; - variant: "filled" | "outlined" | "plain" | "underlined" | "solo" | "solo-inverted" | "solo-filled"; - loading: boolean; - autofocus: boolean; - underlined: boolean; - autoGrow: boolean; - rows: string | number; - truncateLength: number; - truncateSuffix: string; - cancelButtonColor: string; - cancelButtonSize: string | number; - cancelButtonTitle: string; - cancelButtonVariant: NonNullable<"flat" | "outlined" | "plain" | "text" | "elevated" | "tonal">; - cancelIcon: string; - cancelIconColor: string; - cardField: boolean; - cardOffsetX: number; - cardOffsetY: number; - cardProps: any; - cell: boolean; - cellUnderlineFullWidth: boolean; - closeSiblings: boolean; - displayAppendIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; - displayAppendIconColor: string; - displayAppendIconSize: string | number; - displayAppendInnerIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; - displayAppendInnerIconColor: string; - displayAppendInnerIconSize: string | number; - displayPrependIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; - displayPrependIconColor: string; - displayPrependIconSize: string | number; - displayPrependInnerIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; - displayPrependInnerIconColor: string; - displayPrependInnerIconSize: string | number; - emptyText: string; - fieldOnly: boolean; - hideCancelIcon: boolean; - hideSaveIcon: boolean; - loadingIcon: string; - loadingIconColor: string; - loadingWait: boolean; - saveButtonColor: string; - saveButtonSize: string | number; - saveButtonTitle: string; - saveButtonVariant: NonNullable<"flat" | "outlined" | "plain" | "text" | "elevated" | "tonal">; - saveIcon: string; - saveIconColor: string; - tableField: boolean; - underlineColor: string; - underlineStyle: string; - underlineWidth: string; - valueColor: string; - }>; - __isFragment?: undefined; - __isTeleport?: undefined; - __isSuspense?: undefined; - } & import("vue").ComponentOptionsBase; - error: { - type: globalThis.PropType; - }; - name: { - type: globalThis.PropType; - default: string; - }; - color: { - type: globalThis.PropType; - default: string; - }; - label: { - type: globalThis.PropType; - default: string; - }; - disabled: { - type: globalThis.PropType; - default: boolean; - }; - density: { - type: globalThis.PropType<"default" | "comfortable" | "compact" | null>; - default: "compact"; - }; - rules: { - type: globalThis.PropType | ((value: any) => string | boolean) | ((value: any) => PromiseLike))[]>; - }; - hideDetails: { - type: globalThis.PropType; - default: boolean; - }; - variant: { - type: globalThis.PropType<"filled" | "outlined" | "plain" | "underlined" | "solo" | "solo-inverted" | "solo-filled">; - default: "underlined"; - }; - loading: { - type: globalThis.PropType; - default: boolean; - }; - autofocus: { - type: globalThis.PropType; - default: boolean; - }; - clearIcon: { - type: globalThis.PropType; - }; - underlined: { - type: globalThis.PropType; - default: boolean; - }; - item: { - type: globalThis.PropType>; - }; - required: { - type: globalThis.PropType; - }; - autoGrow: { - type: globalThis.PropType; - default: boolean; - }; - rows: { - type: globalThis.PropType; - default: number; - }; - truncateLength: { - type: globalThis.PropType; - default: undefined; - }; - truncateSuffix: { - type: globalThis.PropType; - default: string; - }; - cancelButtonColor: { - type: globalThis.PropType; - default: string; - }; - cancelButtonSize: { - type: globalThis.PropType; - default: string; - }; - cancelButtonTitle: { - type: globalThis.PropType; - default: string; - }; - cancelButtonVariant: { - type: globalThis.PropType>; - default: "text"; - }; - cancelIcon: { - type: globalThis.PropType; - default: undefined; - }; - cancelIconColor: { - type: globalThis.PropType; - default: string; - }; - cardField: { - type: globalThis.PropType; - default: boolean; - }; - cardOffsetX: { - type: globalThis.PropType; - default: number; - }; - cardOffsetY: { - type: globalThis.PropType; - default: number; - }; - cardProps: { - type: globalThis.PropType; - default: () => {}; - }; - cell: { - type: globalThis.PropType; - default: boolean; - }; - cellUnderlineFullWidth: { - type: globalThis.PropType; - default: boolean; - }; - closeSiblings: { - type: globalThis.PropType; - default: boolean; - }; - displayAppendIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendIconSize: { - type: globalThis.PropType; - default: string; - }; - displayAppendInnerIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendInnerIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayAppendInnerIconSize: { - type: globalThis.PropType; - default: string; - }; - displayPrependIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependIconSize: { - type: globalThis.PropType; - default: string; - }; - displayPrependInnerIcon: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependInnerIconColor: { - type: globalThis.PropType; - default: undefined; - }; - displayPrependInnerIconSize: { - type: globalThis.PropType; - default: string; - }; - emptyText: { - type: globalThis.PropType; - default: string; - }; - fieldOnly: { - type: globalThis.PropType; - default: boolean; - }; - hideCancelIcon: { - type: globalThis.PropType; - default: boolean; - }; - hideSaveIcon: { - type: globalThis.PropType; - default: boolean; - }; - loadingIcon: { - type: globalThis.PropType; - default: undefined; - }; - loadingIconColor: { - type: globalThis.PropType; - default: string; - }; - loadingWait: { - type: globalThis.PropType; - default: boolean; - }; - saveButtonColor: { - type: globalThis.PropType; - default: string; - }; - saveButtonSize: { - type: globalThis.PropType; - default: string; - }; - saveButtonTitle: { - type: globalThis.PropType; - default: string; - }; - saveButtonVariant: { - type: globalThis.PropType>; - default: "text"; - }; - saveIcon: { - type: globalThis.PropType; - default: undefined; - }; - saveIconColor: { - type: globalThis.PropType; - default: string; - }; - tableField: { - type: globalThis.PropType; - default: boolean; - }; - underlineColor: { - type: globalThis.PropType; - default: string; - }; - underlineStyle: { - type: globalThis.PropType; - default: string; - }; - underlineWidth: { - type: globalThis.PropType; - default: string; - }; - valueColor: { - type: globalThis.PropType; - default: string; - }; - }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { - [x: string]: (...args: any[]) => void; - }, string, { - name: string; - color: string; - label: string; - disabled: boolean; - density: "default" | "comfortable" | "compact" | null; - hideDetails: boolean; - variant: "filled" | "outlined" | "plain" | "underlined" | "solo" | "solo-inverted" | "solo-filled"; - loading: boolean; - autofocus: boolean; - underlined: boolean; - autoGrow: boolean; - rows: string | number; - truncateLength: number; - truncateSuffix: string; - cancelButtonColor: string; - cancelButtonSize: string | number; - cancelButtonTitle: string; - cancelButtonVariant: NonNullable<"flat" | "outlined" | "plain" | "text" | "elevated" | "tonal">; - cancelIcon: string; - cancelIconColor: string; - cardField: boolean; - cardOffsetX: number; - cardOffsetY: number; - cardProps: any; - cell: boolean; - cellUnderlineFullWidth: boolean; - closeSiblings: boolean; - displayAppendIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; - displayAppendIconColor: string; - displayAppendIconSize: string | number; - displayAppendInnerIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; - displayAppendInnerIconColor: string; - displayAppendInnerIconSize: string | number; - displayPrependIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; - displayPrependIconColor: string; - displayPrependIconSize: string | number; - displayPrependInnerIcon: string | (string | [path: string, opacity: number])[] | import("vue").JSXComponent; - displayPrependInnerIconColor: string; - displayPrependInnerIconSize: string | number; - emptyText: string; - fieldOnly: boolean; - hideCancelIcon: boolean; - hideSaveIcon: boolean; - loadingIcon: string; - loadingIconColor: string; - loadingWait: boolean; - saveButtonColor: string; - saveButtonSize: string | number; - saveButtonTitle: string; - saveButtonVariant: NonNullable<"flat" | "outlined" | "plain" | "text" | "elevated" | "tonal">; - saveIcon: string; - saveIconColor: string; - tableField: boolean; - underlineColor: string; - underlineStyle: string; - underlineWidth: string; - valueColor: string; - }, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => { - $slots: Partial, (_: any) => any>> & Partial, (_: any) => any>>; - }); +export declare function createVInlineFields(options?: Omit): { + install: (app: App) => void; }; -export default _default; -export { VInlineCheckbox, VInlineCustomField, VInlineSelect, VInlineSwitch, VInlineTextField, VInlineTextarea, }; +export default VInlineFields; +export * from './components/index'; diff --git a/dist/plugin/types/index.d.ts b/dist/plugin/types/index.d.ts index 7877af8..89fd617 100644 --- a/dist/plugin/types/index.d.ts +++ b/dist/plugin/types/index.d.ts @@ -1,5 +1,6 @@ import type { CSSProperties, MaybeRef, Ref } from 'vue'; import type { VBtn, VCard, VCheckbox, VIcon, VSelect, VSwitch, VTextField, VTextarea } from 'vuetify/components'; +import type { VInlineCheckbox, VInlineCustomField, VInlineSelect, VInlineSwitch, VInlineTextField, VInlineTextarea } from '../components/index'; import type { IconOptions, ThemeInstance } from 'vuetify'; import type { EventBusKey } from '@vueuse/core'; export interface KeyStringAny { @@ -85,53 +86,6 @@ export interface SharedProps { underlined?: boolean; valueColor?: string; } -export interface VInlineAutocompleteProps extends Omit { - clearIcon?: string | undefined; - clearable?: VSelect['$props']['clearable']; - density?: VSelect['$props']['density']; - hideSelected?: VSelect['$props']['hideSelected']; - itemTitle?: VSelect['$props']['itemTitle']; - itemValue?: VSelect['$props']['itemValue']; - items?: VSelect['$props']['items']; - menu?: VSelect['$props']['menu']; - rules?: VSelect['$props']['rules']; - variant?: VSelect['$props']['variant']; -} -export interface VInlineCheckboxProps extends Omit { - density?: VCheckbox['$props']['density']; - falseIcon?: string | undefined; - trueIcon?: string | undefined; -} -export interface VInlineSelectProps extends Omit { - clearIcon?: string | undefined; - clearable?: VSelect['$props']['clearable']; - density?: VSelect['$props']['density']; - hideSelected?: VSelect['$props']['hideSelected']; - itemTitle?: VSelect['$props']['itemTitle']; - itemValue?: VSelect['$props']['itemValue']; - items?: VSelect['$props']['items']; - menu?: VSelect['$props']['menu']; - rules?: VSelect['$props']['rules']; - variant?: VSelect['$props']['variant']; -} -export interface VInlineSwitchProps extends Omit { - density?: VSwitch['$props']['density']; - falseIcon?: VSwitch['$props']['falseIcon']; -} -export interface VInlineTextareaProps extends Omit { - autoGrow?: VTextarea['$props']['autoGrow']; - clearIcon?: string | undefined; - density?: VTextarea['$props']['density']; - rows?: VTextarea['$props']['rows']; - rules?: VTextarea['$props']['rules']; - variant?: VTextarea['$props']['variant']; -} -export interface VInlineTextFieldProps extends Omit { - clearIcon?: string | undefined; - density?: VTextField['$props']['density']; - rules?: VTextField['$props']['rules']; - variant?: VTextField['$props']['variant']; -} export interface UseCardContainerStyle { (options: { field: HTMLElement | null; @@ -142,32 +96,6 @@ export interface UseCardContainerStyle { name?: string; }): CSSProperties; } -export interface BooleanIcons extends Required>, Pick { -} -export interface DisplayValueProps { - [key: string]: any; - color: SharedProps['color']; - displayAppendIcon: SharedProps['displayAppendIcon']; - displayAppendIconColor: SharedProps['displayAppendIconColor']; - displayAppendInnerIcon: SharedProps['displayAppendInnerIcon']; - displayAppendInnerIconColor: SharedProps['displayAppendInnerIconColor']; - displayPrependIcon: SharedProps['displayPrependIcon']; - displayPrependIconColor: SharedProps['displayPrependIconColor']; - displayPrependInnerIcon: SharedProps['displayPrependInnerIcon']; - displayPrependInnerIconColor: SharedProps['displayPrependInnerIconColor']; - displayValue: any; - empty?: Ref | boolean; - error?: MaybeRef | boolean | undefined; - field: string; - underlineColor?: SharedProps['underlineColor']; - underlineStyle?: SharedProps['underlineStyle']; - underlineWidth?: SharedProps['underlineWidth']; - underlined?: SharedProps['underlined']; - valueColor?: SharedProps['valueColor']; -} -export interface SaveFieldButtons extends Required>, Pick { - loading: boolean; -} export interface UseCancelButtonClass { (options: { cancelButtonVariant?: SharedProps['cancelButtonVariant']; @@ -305,3 +233,15 @@ export interface UseTruthyModelValue { trueValue?: any; }): boolean; } +export * from '../index'; +export * from '../components/index'; +declare module 'vue' { + interface GlobalComponents { + VInlineCheckbox: typeof VInlineCheckbox; + VInlineCustomField: typeof VInlineCustomField; + VInlineSelect: typeof VInlineSelect; + VInlineSwitch: typeof VInlineSwitch; + VInlineTextField: typeof VInlineTextField; + VInlineTextarea: typeof VInlineTextarea; + } +} diff --git a/dist/plugin/utils/props.d.ts b/dist/plugin/utils/props.d.ts index bf75fe5..0e158c4 100644 --- a/dist/plugin/utils/props.d.ts +++ b/dist/plugin/utils/props.d.ts @@ -32,6 +32,7 @@ export declare const sharedProps: { displayPrependInnerIconColor: undefined; displayPrependInnerIconSize: string; emptyText: string; + error: boolean; fieldOnly: boolean; hideCancelIcon: boolean; hideDetails: boolean; @@ -97,6 +98,7 @@ declare const checkboxProps: { displayPrependInnerIconColor: undefined; displayPrependInnerIconSize: string; emptyText: string; + error: boolean; fieldOnly: boolean; hideDetails: boolean; label: string; @@ -159,6 +161,7 @@ declare const selectProps: { displayPrependInnerIconColor: undefined; displayPrependInnerIconSize: string; emptyText: string; + error: boolean; fieldOnly: boolean; hideDetails: boolean; label: string; @@ -222,6 +225,7 @@ declare const switchProps: { displayPrependInnerIconColor: undefined; displayPrependInnerIconSize: string; emptyText: string; + error: boolean; fieldOnly: boolean; hideDetails: boolean; label: string; @@ -270,6 +274,7 @@ declare const textareaProps: { displayPrependInnerIconColor: undefined; displayPrependInnerIconSize: string; emptyText: string; + error: boolean; fieldOnly: boolean; hideCancelIcon: boolean; hideDetails: boolean; @@ -338,6 +343,7 @@ declare const textFieldProps: { displayPrependInnerIconColor: undefined; displayPrependInnerIconSize: string; emptyText: string; + error: boolean; fieldOnly: boolean; hideDetails: boolean; label: string; diff --git a/dist/vuetify-inline-fields.cjs.js b/dist/vuetify-inline-fields.cjs.js index fc5ce58..ccd665c 100644 --- a/dist/vuetify-inline-fields.cjs.js +++ b/dist/vuetify-inline-fields.cjs.js @@ -1,4 +1,4 @@ -"use strict";var Ba=Object.create;var ho=Object.defineProperty;var wa=Object.getOwnPropertyDescriptor;var ka=Object.getOwnPropertyNames;var xa=Object.getPrototypeOf,Fa=Object.prototype.hasOwnProperty;var Na=(n,o,t,l)=>{if(o&&typeof o=="object"||typeof o=="function")for(let a of ka(o))!Fa.call(n,a)&&a!==t&&ho(n,a,{get:()=>o[a],enumerable:!(l=wa(o,a))||l.enumerable});return n};var en=(n,o,t)=>(t=n!=null?Ba(xa(n)):{},Na(o||!n||!n.__esModule?ho(t,"default",{value:n,enumerable:!0}):t,n));/** +"use strict";var wa=Object.create;var vo=Object.defineProperty;var ka=Object.getOwnPropertyDescriptor;var xa=Object.getOwnPropertyNames;var Fa=Object.getPrototypeOf,Na=Object.prototype.hasOwnProperty;var Aa=(n,o,t,l)=>{if(o&&typeof o=="object"||typeof o=="function")for(let a of xa(o))!Na.call(n,a)&&a!==t&&vo(n,a,{get:()=>o[a],enumerable:!(l=ka(o,a))||l.enumerable});return n};var en=(n,o,t)=>(t=n!=null?wa(Fa(n)):{},Aa(o||!n||!n.__esModule?vo(t,"default",{value:n,enumerable:!0}):t,n));/** * @name @wdns/vuetify-inline-fields * @version 1.0.3 * @description Vuetify Inline Fields Component Library offers a comprehensive collection of reusable UI components to create elegant and efficient inline form fields within your applications. @@ -7,6 +7,6 @@ * @homepage https://webdevnerdstuff.github.io/vuetify-inline-fields/ * @repository https://github.com/webdevnerdstuff/vuetify-inline-fields * @license MIT License - */Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),Kt=require("vuetify"),Aa=require("@vueuse/core"),sn=Symbol("identifier"),un={elevation:5,variant:"flat"},On={cancelButtonColor:"default",cancelButtonSize:"x-small",cancelButtonTitle:"Cancel",cancelButtonVariant:"text",cancelIcon:void 0,cancelIconColor:"default",cardField:!1,cardOffsetX:0,cardOffsetY:0,cardProps:()=>({}),cell:!1,cellUnderlineFullWidth:!0,closeSiblings:!1,color:"primary",density:"compact",disabled:!1,displayAppendIcon:void 0,displayAppendIconColor:void 0,displayAppendIconSize:"x-small",displayAppendInnerIcon:void 0,displayAppendInnerIconColor:void 0,displayAppendInnerIconSize:"x-small",displayPrependIcon:void 0,displayPrependIconColor:void 0,displayPrependIconSize:"x-small",displayPrependInnerIcon:void 0,displayPrependInnerIconColor:void 0,displayPrependInnerIconSize:"x-small",emptyText:"empty",fieldOnly:!1,hideCancelIcon:!1,hideDetails:!0,label:"",loading:!1,loadingWait:!0,name:"",tableField:!0,underlineColor:"primary",underlineStyle:"dotted",underlineWidth:"2px",underlined:!0,valueColor:"default"},Jt={autofocus:!0},zn={hideCancelIcon:!1,hideSaveIcon:!1,loadingIcon:void 0,loadingIconColor:"primary",saveButtonColor:"primary",saveButtonSize:"x-small",saveButtonTitle:"Save",saveButtonVariant:"text",saveIcon:void 0,saveIconColor:"primary"},dl={falseValue:!1,iconFalse:void 0,iconFalseColor:"danger",iconFalseTitle:"No",iconTrue:void 0,iconTrueColor:"success",iconTrueTitle:"Yes",icons:!0,trueValue:!0},Pa={...On,...dl,...zn,falseIcon:void 0,icons:!0,trueIcon:void 0},_a={...On,...Jt,...zn,clearIcon:void 0,clearable:!1,hideSelected:!0,itemTitle:"title",itemValue:"value",items:()=>[],menu:!0,variant:"underlined"},Ea={...On,...dl,...zn,icons:!0,falseIcon:""},Oa={...Jt,...zn,...On,autoGrow:!0,rows:1,truncateLength:void 0,truncateSuffix:"...",variant:"underlined"},pl={...On,...Jt,...zn,truncateLength:void 0,truncateSuffix:"...",variant:"underlined"},za={fa:{checkboxFalse:"$checkboxOff",checkboxTrue:"far fa-square-check",clear:"$clear",false:"$close",loading:"fa-circle-notch",save:"fa-floppy-disk",true:"$complete"},mdi:{checkboxFalse:"$checkboxOff",checkboxTrue:"mdi:mdi-checkbox-outline",clear:"$clear",false:"$close",loading:"mdi-loading",save:"mdi-content-save",true:"$complete"}},_e=n=>{const{icon:o,iconOptions:t,name:l}=n;if(o)return o;const a=za[t==null?void 0:t.defaultSet];if(!a)throw new Error(`VInlineFields: No VInlineFields default ${t==null?void 0:t.defaultSet} icon set found for ${l}. Please set the icon prop.`);const r=a[l];if(!r)throw new Error(`VInlineFields: No ${l} icon found. Please set the icon prop, or set the default icon set to 'mdi' or 'fa'`);return r};function U(n,o){return t=>Object.keys(n).reduce((l,a)=>{const r=typeof n[a]=="object"&&n[a]!=null&&!Array.isArray(n[a])?n[a]:{type:n[a]};return l[a]=t&&a in t?{...r,default:t[a]}:r,o&&!l[a].source&&(l[a].source=o),l},{})}const ae=U({class:[String,Array],style:{type:[String,Array,Object],default:null}},"component"),xe=typeof window<"u",Zt=xe&&"IntersectionObserver"in window;function bo(n,o,t){const l=o.length-1;if(l<0)return n===void 0?t:n;for(let a=0;acn(n[l],o[l]))}function Te(n,o,t){if(o===!0)return n===void 0?t:n;if(o==null||typeof o=="boolean")return t;if(n!==Object(n)){if(typeof o!="function")return t;const a=o(n,t);return a===void 0?t:a}if(typeof o=="string")return function(a,r,c){return a!=null&&r&&typeof r=="string"?a[r]!==void 0?a[r]:bo(a,(r=(r=r.replace(/\[(\w+)\]/g,".$1")).replace(/^\./,"")).split("."),c):c}(n,o,t);if(Array.isArray(o))return bo(n,o,t);if(typeof o!="function")return t;const l=o(n,t);return l===void 0?t:l}function J(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"px";return n==null||n===""?void 0:isNaN(+n)?String(n):isFinite(+n)?`${Number(n)}${o}`:void 0}function At(n){return n!==null&&typeof n=="object"&&!Array.isArray(n)}function nt(n){if(n&&"$el"in n){const o=n.$el;return(o==null?void 0:o.nodeType)===Node.TEXT_NODE?o.nextElementSibling:o}return n}const Co=Object.freeze({enter:13,tab:9,delete:46,esc:27,space:32,up:38,down:40,left:37,right:39,end:35,home:36,del:46,backspace:8,insert:45,pageup:33,pagedown:34,shift:16});function St(n,o){return o.every(t=>n.hasOwnProperty(t))}function vl(n,o){const t={},l=new Set(Object.keys(n));for(const a of o)l.has(a)&&(t[a]=n[a]);return t}function So(n,o,t){const l=Object.create(null),a=Object.create(null);for(const r in n)o.some(c=>c instanceof RegExp?c.test(r):c===r)&&!(t!=null&&t.some(c=>c===r))?l[r]=n[r]:a[r]=n[r];return[l,a]}function Ke(n,o){const t={...n};return o.forEach(l=>delete t[l]),t}const fl=/^on[^a-z]/,Pt=n=>fl.test(n),Ta=["onAfterscriptexecute","onAnimationcancel","onAnimationend","onAnimationiteration","onAnimationstart","onAuxclick","onBeforeinput","onBeforescriptexecute","onChange","onClick","onCompositionend","onCompositionstart","onCompositionupdate","onContextmenu","onCopy","onCut","onDblclick","onFocusin","onFocusout","onFullscreenchange","onFullscreenerror","onGesturechange","onGestureend","onGesturestart","onGotpointercapture","onInput","onKeydown","onKeypress","onKeyup","onLostpointercapture","onMousedown","onMousemove","onMouseout","onMouseover","onMouseup","onMousewheel","onPaste","onPointercancel","onPointerdown","onPointerenter","onPointerleave","onPointermove","onPointerout","onPointerover","onPointerup","onReset","onSelect","onSubmit","onTouchcancel","onTouchend","onTouchmove","onTouchstart","onTransitioncancel","onTransitionend","onTransitionrun","onTransitionstart","onWheel"];function Tn(n){const[o,t]=So(n,[fl]),l=Ke(o,Ta),[a,r]=So(t,["class","style","id",/^data-/]);return Object.assign(a,o),Object.assign(r,l),[a,r]}function $e(n){return n==null?[]:Array.isArray(n)?n:[n]}function ln(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1;return Math.max(o,Math.min(t,n))}function Io(n,o){return n+(arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0").repeat(Math.max(0,o-n.length))}function tn(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=arguments.length>2?arguments[2]:void 0;const l={};for(const a in n)l[a]=n[a];for(const a in o){const r=n[a],c=o[a];At(r)&&At(c)?l[a]=tn(r,c,t):Array.isArray(r)&&Array.isArray(c)&&t?l[a]=t(r,c):l[a]=c}return l}function ml(n){return n.map(o=>o.type===e.Fragment?ml(o.children):o).flat()}function qe(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";if(qe.cache.has(n))return qe.cache.get(n);const o=n.replace(/[^a-z]/gi,"-").replace(/\B([A-Z])/g,"-$1").toLowerCase();return qe.cache.set(n,o),o}function Zn(n,o){if(!o||typeof o!="object")return[];if(Array.isArray(o))return o.map(t=>Zn(n,t)).flat(1);if(Array.isArray(o.children))return o.children.map(t=>Zn(n,t)).flat(1);if(o.component){if(Object.getOwnPropertySymbols(o.component.provides).includes(n))return[o.component];if(o.component.subTree)return Zn(n,o.component.subTree).flat(1)}return[]}function Qt(n){const o=e.reactive({}),t=e.computed(n);return e.watchEffect(()=>{for(const l in t.value)o[l]=t.value[l]},{flush:"sync"}),e.toRefs(o)}function tt(n,o){return n.includes(o)}function Vo(n){return n[2].toLowerCase()+n.slice(3)}qe.cache=new Map;const Ee=()=>[Function,Array];function Bo(n,o){return!!(n[o="on"+e.capitalize(o)]||n[`${o}Once`]||n[`${o}Capture`]||n[`${o}OnceCapture`]||n[`${o}CaptureOnce`])}function yl(n){for(var o=arguments.length,t=new Array(o>1?o-1:0),l=1;l1&&arguments[1]!==void 0)||arguments[1];const t=["button","[href]",'input:not([type="hidden"])',"select","textarea","[tabindex]"].map(l=>`${l}${o?':not([tabindex="-1"])':""}:not([disabled])`).join(", ");return[...n.querySelectorAll(t)]}function gl(n,o,t){let l,a=n.indexOf(document.activeElement);const r=o==="next"?1:-1;do a+=r,l=n[a];while((!l||l.offsetParent==null||!((t==null?void 0:t(l))??1))&&a=0);return l}function ot(n,o){var l,a,r,c;const t=_t(n);if(o)if(o==="first")(l=t[0])==null||l.focus();else if(o==="last")(a=t.at(-1))==null||a.focus();else if(typeof o=="number")(r=t[o])==null||r.focus();else{const u=gl(t,o);u?u.focus():ot(n,o==="next"?"first":"last")}else n!==document.activeElement&&n.contains(document.activeElement)||((c=t[0])==null||c.focus())}function lt(n,o){if(!(xe&&typeof CSS<"u"&&CSS.supports!==void 0&&CSS.supports(`selector(${o})`)))return null;try{return!!n&&n.matches(o)}catch{return null}}function hl(n){return n.some(o=>!e.isVNode(o)||o.type!==e.Comment&&(o.type!==e.Fragment||hl(o.children)))?n:null}const bl=["top","bottom"],$a=["start","end","left","right"];function Et(n,o){let[t,l]=n.split(" ");return l||(l=tt(bl,t)?"start":tt($a,t)?"top":"center"),{side:wo(t,o),align:wo(l,o)}}function wo(n,o){return n==="start"?o?"right":"left":n==="end"?o?"left":"right":n}function It(n){return{side:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[n.side],align:n.align}}function Vt(n){return{side:n.side,align:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[n.align]}}function ko(n){return{side:n.align,align:n.side}}function xo(n){return tt(bl,n.side)?"y":"x"}class He{constructor(o){let{x:t,y:l,width:a,height:r}=o;this.x=t,this.y=l,this.width=a,this.height=r}get top(){return this.y}get bottom(){return this.y+this.height}get left(){return this.x}get right(){return this.x+this.width}}function Fo(n,o){return{x:{before:Math.max(0,o.left-n.left),after:Math.max(0,n.right-o.right)},y:{before:Math.max(0,o.top-n.top),after:Math.max(0,n.bottom-o.bottom)}}}function Cl(n){return Array.isArray(n)?new He({x:n[0],y:n[1],width:0,height:0}):n.getBoundingClientRect()}function eo(n){const o=n.getBoundingClientRect(),t=getComputedStyle(n),l=t.transform;if(l){let a,r,c,u,s;if(l.startsWith("matrix3d("))a=l.slice(9,-1).split(/, /),r=+a[0],c=+a[5],u=+a[12],s=+a[13];else{if(!l.startsWith("matrix("))return new He(o);a=l.slice(7,-1).split(/, /),r=+a[0],c=+a[3],u=+a[4],s=+a[5]}const i=t.transformOrigin,d=o.x-u-(1-r)*parseFloat(i),v=o.y-s-(1-c)*parseFloat(i.slice(i.indexOf(" ")+1)),p=r?o.width/r:n.offsetWidth+1,f=c?o.height/c:n.offsetHeight+1;return new He({x:d,y:v,width:p,height:f})}return new He(o)}function on(n,o,t){if(n.animate===void 0)return{finished:Promise.resolve()};let l;try{l=n.animate(o,t)}catch{return{finished:Promise.resolve()}}return l.finished===void 0&&(l.finished=new Promise(a=>{l.onfinish=()=>{a(l)}})),l}const Yn=new WeakMap,nn=2.4,No=.2126729,Ao=.7151522,Po=.072175,Ra=.55,Da=.58,La=.57,Ma=.62,Xn=.03,_o=1.45,Wa=5e-4,ja=1.25,Ua=1.25,Eo=.078,Oo=12.82051282051282,Kn=.06,zo=.001;function To(n,o){const t=(n.r/255)**nn,l=(n.g/255)**nn,a=(n.b/255)**nn,r=(o.r/255)**nn,c=(o.g/255)**nn,u=(o.b/255)**nn;let s,i=t*No+l*Ao+a*Po,d=r*No+c*Ao+u*Po;if(i<=Xn&&(i+=(Xn-i)**_o),d<=Xn&&(d+=(Xn-d)**_o),Math.abs(d-i)i){const v=(d**Ra-i**Da)*ja;s=v-zo?0:v>-Eo?v-v*Oo*Kn:v+Kn}return 100*s}function Fn(n){e.warn(`Vuetify: ${n}`)}function Bt(n){return!!n&&/^(#|var\(--|(rgb|hsl)a?\()/.test(n)}const $o=/^(?(?:rgb|hsl)a?)\((?.+)\)/,Ga={rgb:(n,o,t,l)=>({r:n,g:o,b:t,a:l}),rgba:(n,o,t,l)=>({r:n,g:o,b:t,a:l}),hsl:(n,o,t,l)=>Ro({h:n,s:o,l:t,a:l}),hsla:(n,o,t,l)=>Ro({h:n,s:o,l:t,a:l}),hsv:(n,o,t,l)=>Nn({h:n,s:o,v:t,a:l}),hsva:(n,o,t,l)=>Nn({h:n,s:o,v:t,a:l})};function wn(n){if(typeof n=="number")return(isNaN(n)||n<0||n>16777215)&&Fn(`'${n}' is not a valid hex color`),{r:(16711680&n)>>16,g:(65280&n)>>8,b:255&n};if(typeof n=="string"&&$o.test(n)){const{groups:o}=n.match($o),{fn:t,values:l}=o,a=l.split(/,\s*/).map(r=>r.endsWith("%")&&["hsl","hsla","hsv","hsva"].includes(t)?parseFloat(r)/100:parseFloat(r));return Ga[t](...a)}if(typeof n=="string"){let o=n.startsWith("#")?n.slice(1):n;[3,4].includes(o.length)?o=o.split("").map(l=>l+l).join(""):[6,8].includes(o.length)||Fn(`'${n}' is not a valid hex(a) color`);const t=parseInt(o,16);return(isNaN(t)||t<0||t>4294967295)&&Fn(`'${n}' is not a valid hex(a) color`),function(l){l=function(s){return s.startsWith("#")&&(s=s.slice(1)),s=s.replace(/([^0-9a-f])/gi,"F"),(s.length===3||s.length===4)&&(s=s.split("").map(i=>i+i).join("")),s.length!==6&&(s=Io(Io(s,6),8,"F")),s}(l);let[a,r,c,u]=function(s){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;const d=[];let v=0;for(;vparseInt(s,16));return u=u===void 0?u:u/255,{r:a,g:r,b:c,a:u}}(o)}if(typeof n=="object"){if(St(n,["r","g","b"]))return n;if(St(n,["h","s","l"]))return Nn(Sl(n));if(St(n,["h","s","v"]))return Nn(n)}throw new TypeError(`Invalid color: ${n==null?n:String(n)||n.constructor.name} -Expected #hex, #hexa, rgb(), rgba(), hsl(), hsla(), object or number`)}function Nn(n){const{h:o,s:t,v:l,a}=n,r=u=>{const s=(u+o/60)%6;return l-l*t*Math.max(Math.min(s,4-s,1),0)},c=[r(5),r(3),r(1)].map(u=>Math.round(255*u));return{r:c[0],g:c[1],b:c[2],a}}function Ro(n){return Nn(Sl(n))}function Sl(n){const{h:o,s:t,l,a}=n,r=l+t*Math.min(l,1-l);return{h:o,s:r===0?0:2-2*l/r,v:r,a}}const at=Symbol.for("vuetify:defaults");function no(){const n=e.inject(at);if(!n)throw new Error("[Vuetify] Could not find defaults instance");return n}function dn(n,o){const t=no(),l=e.ref(n),a=e.computed(()=>{if(e.unref(o==null?void 0:o.disabled))return t.value;const r=e.unref(o==null?void 0:o.scoped),c=e.unref(o==null?void 0:o.reset),u=e.unref(o==null?void 0:o.root);if(l.value==null&&!(r||c||u))return t.value;let s=tn(l.value,{prev:t.value});if(r)return s;if(c||u){const i=Number(c||1/0);for(let d=0;d<=i&&s&&"prev"in s;d++)s=s.prev;return s&&typeof u=="string"&&u in s&&(s=tn(tn(s,{prev:s}),s[u])),s}return s.prev?tn(s.prev,s):s});return e.provide(at,a),a}function qa(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0,t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:no();const l=Se("useDefaults");if(o=o??l.type.name??l.type.__name,!o)throw new Error("[Vuetify] Could not determine component name");const a=e.computed(()=>{var u;return(u=t.value)==null?void 0:u[n._as??o]}),r=new Proxy(n,{get(u,s){var d,v,p,f;const i=Reflect.get(u,s);return s==="class"||s==="style"?[(d=a.value)==null?void 0:d[s],i].filter(y=>y!=null):typeof s!="string"||function(y,g){var m,b;return((m=y.props)==null?void 0:m[g])!==void 0||((b=y.props)==null?void 0:b[qe(g)])!==void 0}(l.vnode,s)?i:((v=a.value)==null?void 0:v[s])??((f=(p=t.value)==null?void 0:p.global)==null?void 0:f[s])??i}}),c=e.shallowRef();return e.watchEffect(()=>{if(a.value){const u=Object.entries(a.value).filter(s=>{let[i]=s;return i.startsWith(i[0].toUpperCase())});c.value=u.length?Object.fromEntries(u):void 0}else c.value=void 0}),{props:r,provideSubDefaults:function(){const u=function(s){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Se("injectSelf");const{provides:d}=i;if(d&&s in d)return d[s]}(at,l);e.provide(at,e.computed(()=>c.value?tn((u==null?void 0:u.value)??{},c.value):u==null?void 0:u.value))}}}function An(n){if(n._setup=n._setup??n.setup,!n.name)return Fn("The component is missing an explicit name, unable to generate default prop value"),n;if(n._setup){n.props=U(n.props??{},n.name)();const o=Object.keys(n.props).filter(t=>t!=="class"&&t!=="style");n.filterProps=function(t){return vl(t,o)},n.props._as=String,n.setup=function(t,l){const a=no();if(!a.value)return n._setup(t,l);const{props:r,provideSubDefaults:c}=qa(t,t._as??n.name,a),u=n._setup(r,l);return c(),u}}return n}function X(){let n=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0];return o=>(n?An:e.defineComponent)(o)}function $n(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"div",t=arguments.length>2?arguments[2]:void 0;return X()({name:t??e.capitalize(e.camelize(n.replace(/__/g,"-"))),props:{tag:{type:String,default:o},...ae()},setup(l,a){let{slots:r}=a;return()=>{var c;return e.h(l.tag,{class:[n,l.class],style:l.style},(c=r.default)==null?void 0:c.call(r))}}})}function Il(n){if(typeof n.getRootNode!="function"){for(;n.parentNode;)n=n.parentNode;return n!==document?null:document}const o=n.getRootNode();return o!==document&&o.getRootNode({composed:!0})!==document?null:o}const rt="cubic-bezier(0.4, 0, 0.2, 1)";function Se(n,o){const t=e.getCurrentInstance();if(!t)throw new Error(`[Vuetify] ${n} ${o||"must be called from inside a setup function"}`);return t}function Oe(){const n=Se(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"composables").type;return qe((n==null?void 0:n.aliasName)||(n==null?void 0:n.name))}let Vl=0,Qn=new WeakMap;function Pe(){const n=Se("getUid");if(Qn.has(n))return Qn.get(n);{const o=Vl++;return Qn.set(n,o),o}}function Bl(n){let o=arguments.length>1&&arguments[1]!==void 0&&arguments[1];for(;n;){if(o?Ha(n):to(n))return n;n=n.parentElement}return document.scrollingElement}function it(n,o){const t=[];if(o&&n&&!o.contains(n))return t;for(;n&&(to(n)&&t.push(n),n!==o);)n=n.parentElement;return t}function to(n){if(!n||n.nodeType!==Node.ELEMENT_NODE)return!1;const o=window.getComputedStyle(n);return o.overflowY==="scroll"||o.overflowY==="auto"&&n.scrollHeight>n.clientHeight}function Ha(n){if(!n||n.nodeType!==Node.ELEMENT_NODE)return!1;const o=window.getComputedStyle(n);return["scroll","auto"].includes(o.overflowY)}function ee(n){Se("useRender").render=n}function oo(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"content";const t=e.ref(),l=e.ref();if(xe){const a=new ResizeObserver(r=>{n==null||n(r,a),r.length&&(l.value=o==="content"?r[0].contentRect:r[0].target.getBoundingClientRect())});e.onBeforeUnmount(()=>{a.disconnect()}),e.watch(t,(r,c)=>{c&&(a.unobserve(nt(c)),l.value=void 0),r&&a.observe(nt(r))},{flush:"post"})}return{resizeRef:t,contentRect:e.readonly(l)}}function Ye(n,o){let t;function l(){t=e.effectScope(),t.run(()=>o.length?o(()=>{t==null||t.stop(),l()}):o())}e.watch(n,a=>{a&&!t?l():a||(t==null||t.stop(),t=void 0)},{immediate:!0}),e.onScopeDispose(()=>{t==null||t.stop()})}function he(n,o,t){let l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:d=>d,a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:d=>d;const r=Se("useProxiedModel"),c=e.ref(n[o]!==void 0?n[o]:t),u=qe(o),s=u!==o?e.computed(()=>{var d,v,p,f;return n[o],!(!((d=r.vnode.props)!=null&&d.hasOwnProperty(o))&&!((v=r.vnode.props)!=null&&v.hasOwnProperty(u))||!((p=r.vnode.props)!=null&&p.hasOwnProperty(`onUpdate:${o}`))&&!((f=r.vnode.props)!=null&&f.hasOwnProperty(`onUpdate:${u}`)))}):e.computed(()=>{var d,v;return n[o],!(!((d=r.vnode.props)!=null&&d.hasOwnProperty(o))||!((v=r.vnode.props)!=null&&v.hasOwnProperty(`onUpdate:${o}`)))});Ye(()=>!s.value,()=>{e.watch(()=>n[o],d=>{c.value=d})});const i=e.computed({get(){const d=n[o];return l(s.value?d:c.value)},set(d){const v=a(d),p=e.toRaw(s.value?n[o]:c.value);p!==v&&l(p)!==d&&(c.value=v,r==null||r.emit(`update:${o}`,v))}});return Object.defineProperty(i,"externalValue",{get:()=>s.value?n[o]:c.value}),i}Pe.reset=()=>{Vl=0,Qn=new WeakMap};const wl=Symbol.for("vuetify:locale");function lo(){const n=e.inject(wl);if(!n)throw new Error("[Vuetify] Could not find injected locale instance");return n}function Rn(){const n=e.inject(wl);if(!n)throw new Error("[Vuetify] Could not find injected rtl instance");return{isRtl:n.isRtl,rtlClasses:n.rtlClasses}}const Do=Symbol.for("vuetify:theme"),Ve=U({theme:String},"theme");function ke(n){Se("provideTheme");const o=e.inject(Do,null);if(!o)throw new Error("Could not find Vuetify theme injection");const t=e.computed(()=>n.theme??o.name.value),l=e.computed(()=>o.themes.value[t.value]),a=e.computed(()=>o.isDisabled?void 0:`v-theme--${t.value}`),r={...o,name:t,current:l,themeClasses:a};return e.provide(Do,r),r}const Ae=U({tag:{type:String,default:"div"}},"tag"),Ya=U({disabled:Boolean,group:Boolean,hideOnLeave:Boolean,leaveAbsolute:Boolean,mode:String,origin:String},"transition");function Fe(n,o,t){return X()({name:n,props:Ya({mode:t,origin:o}),setup(l,a){let{slots:r}=a;const c={onBeforeEnter(u){l.origin&&(u.style.transformOrigin=l.origin)},onLeave(u){if(l.leaveAbsolute){const{offsetTop:s,offsetLeft:i,offsetWidth:d,offsetHeight:v}=u;u._transitionInitialStyles={position:u.style.position,top:u.style.top,left:u.style.left,width:u.style.width,height:u.style.height},u.style.position="absolute",u.style.top=`${s}px`,u.style.left=`${i}px`,u.style.width=`${d}px`,u.style.height=`${v}px`}l.hideOnLeave&&u.style.setProperty("display","none","important")},onAfterLeave(u){if(l.leaveAbsolute&&(u!=null&&u._transitionInitialStyles)){const{position:s,top:i,left:d,width:v,height:p}=u._transitionInitialStyles;delete u._transitionInitialStyles,u.style.position=s||"",u.style.top=i||"",u.style.left=d||"",u.style.width=v||"",u.style.height=p||""}}};return()=>{const u=l.group?e.TransitionGroup:e.Transition;return e.h(u,{name:l.disabled?"":n,css:!l.disabled,...l.group?void 0:{mode:l.mode},...l.disabled?{}:c},r.default)}}})}function kl(n,o){let t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"in-out";return X()({name:n,props:{mode:{type:String,default:t},disabled:Boolean},setup(l,a){let{slots:r}=a;return()=>e.h(e.Transition,{name:l.disabled?"":n,css:!l.disabled,...l.disabled?{}:o},r.default)}})}function xl(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";const o=arguments.length>1&&arguments[1]!==void 0&&arguments[1]?"width":"height",t=e.camelize(`offset-${o}`);return{onBeforeEnter(r){r._parent=r.parentNode,r._initialStyle={transition:r.style.transition,overflow:r.style.overflow,[o]:r.style[o]}},onEnter(r){const c=r._initialStyle;r.style.setProperty("transition","none","important"),r.style.overflow="hidden";const u=`${r[t]}px`;r.style[o]="0",r.offsetHeight,r.style.transition=c.transition,n&&r._parent&&r._parent.classList.add(n),requestAnimationFrame(()=>{r.style[o]=u})},onAfterEnter:a,onEnterCancelled:a,onLeave(r){r._initialStyle={transition:"",overflow:r.style.overflow,[o]:r.style[o]},r.style.overflow="hidden",r.style[o]=`${r[t]}px`,r.offsetHeight,requestAnimationFrame(()=>r.style[o]="0")},onAfterLeave:l,onLeaveCancelled:l};function l(r){n&&r._parent&&r._parent.classList.remove(n),a(r)}function a(r){const c=r._initialStyle[o];r.style.overflow=r._initialStyle.overflow,c!=null&&(r.style[o]=c),delete r._initialStyle}}const Xa=U({target:[Object,Array]},"v-dialog-transition"),Fl=X()({name:"VDialogTransition",props:Xa(),setup(n,o){let{slots:t}=o;const l={onBeforeEnter(a){a.style.pointerEvents="none",a.style.visibility="hidden"},async onEnter(a,r){var p;await new Promise(f=>requestAnimationFrame(f)),await new Promise(f=>requestAnimationFrame(f)),a.style.visibility="";const{x:c,y:u,sx:s,sy:i,speed:d}=Mo(n.target,a),v=on(a,[{transform:`translate(${c}px, ${u}px) scale(${s}, ${i})`,opacity:0},{}],{duration:225*d,easing:"cubic-bezier(0.0, 0, 0.2, 1)"});(p=Lo(a))==null||p.forEach(f=>{on(f,[{opacity:0},{opacity:0,offset:.33},{}],{duration:450*d,easing:rt})}),v.finished.then(()=>r())},onAfterEnter(a){a.style.removeProperty("pointer-events")},onBeforeLeave(a){a.style.pointerEvents="none"},async onLeave(a,r){var v;await new Promise(p=>requestAnimationFrame(p));const{x:c,y:u,sx:s,sy:i,speed:d}=Mo(n.target,a);on(a,[{},{transform:`translate(${c}px, ${u}px) scale(${s}, ${i})`,opacity:0}],{duration:125*d,easing:"cubic-bezier(0.4, 0, 1, 1)"}).finished.then(()=>r()),(v=Lo(a))==null||v.forEach(p=>{on(p,[{},{opacity:0,offset:.2},{opacity:0}],{duration:250*d,easing:rt})})},onAfterLeave(a){a.style.removeProperty("pointer-events")}};return()=>n.target?e.createVNode(e.Transition,e.mergeProps({name:"dialog-transition"},l,{css:!1}),t):e.createVNode(e.Transition,{name:"dialog-transition"},t)}});function Lo(n){var t;const o=(t=n.querySelector(":scope > .v-card, :scope > .v-sheet, :scope > .v-list"))==null?void 0:t.children;return o&&[...o]}function Mo(n,o){const t=Cl(n),l=eo(o),[a,r]=getComputedStyle(o).transformOrigin.split(" ").map(b=>parseFloat(b)),[c,u]=getComputedStyle(o).getPropertyValue("--v-overlay-anchor-origin").split(" ");let s=t.left+t.width/2;c==="left"||u==="left"?s-=t.width/2:c!=="right"&&u!=="right"||(s+=t.width/2);let i=t.top+t.height/2;c==="top"||u==="top"?i-=t.height/2:c!=="bottom"&&u!=="bottom"||(i+=t.height/2);const d=t.width/l.width,v=t.height/l.height,p=Math.max(1,d,v),f=d/p||0,y=v/p||0,g=l.width*l.height/(window.innerWidth*window.innerHeight),m=g>.12?Math.min(1.5,10*(g-.12)+1):1;return{x:s-(a+l.left),y:i-(r+l.top),sx:f,sy:y,speed:m}}Fe("fab-transition","center center","out-in"),Fe("dialog-bottom-transition"),Fe("dialog-top-transition"),Fe("fade-transition");const Ka=Fe("scale-transition");Fe("scroll-x-transition"),Fe("scroll-x-reverse-transition"),Fe("scroll-y-transition"),Fe("scroll-y-reverse-transition"),Fe("slide-x-transition"),Fe("slide-x-reverse-transition");const Nl=Fe("slide-y-transition");Fe("slide-y-reverse-transition");const Ja=kl("expand-transition",xl()),Al=kl("expand-x-transition",xl("",!0)),Za=U({defaults:Object,disabled:Boolean,reset:[Number,String],root:[Boolean,String],scoped:Boolean},"VDefaultsProvider"),Be=X(!1)({name:"VDefaultsProvider",props:Za(),setup(n,o){let{slots:t}=o;const{defaults:l,disabled:a,reset:r,root:c,scoped:u}=e.toRefs(n);return dn(l,{reset:r,root:c,scoped:u,disabled:a}),()=>{var s;return(s=t.default)==null?void 0:s.call(t)}}}),Je=U({height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},"dimension");function Ze(n){return{dimensionStyles:e.computed(()=>({height:J(n.height),maxHeight:J(n.maxHeight),maxWidth:J(n.maxWidth),minHeight:J(n.minHeight),minWidth:J(n.minWidth),width:J(n.width)}))}}const Pl=U({aspectRatio:[String,Number],contentClass:String,inline:Boolean,...ae(),...Je()},"VResponsive"),Wo=X()({name:"VResponsive",props:Pl(),setup(n,o){let{slots:t}=o;const{aspectStyles:l}=function(r){return{aspectStyles:e.computed(()=>{const c=Number(r.aspectRatio);return c?{paddingBottom:String(1/c*100)+"%"}:void 0})}}(n),{dimensionStyles:a}=Ze(n);return ee(()=>{var r;return e.createVNode("div",{class:["v-responsive",{"v-responsive--inline":n.inline},n.class],style:[a.value,n.style]},[e.createVNode("div",{class:"v-responsive__sizer",style:l.value},null),(r=t.additional)==null?void 0:r.call(t),t.default&&e.createVNode("div",{class:["v-responsive__content",n.contentClass]},[t.default()])])}),{}}}),Dn=U({transition:{type:[Boolean,String,Object],default:"fade-transition",validator:n=>n!==!0}},"transition"),We=(n,o)=>{let{slots:t}=o;const{transition:l,disabled:a,...r}=n,{component:c=e.Transition,...u}=typeof l=="object"?l:{};return e.h(c,e.mergeProps(typeof l=="string"?{name:a?"":l}:u,r,{disabled:a}),t)};function jo(n,o){var l;const t=(l=n._observe)==null?void 0:l[o.instance.$.uid];t&&(t.observer.unobserve(n),delete n._observe[o.instance.$.uid])}const ao={mounted:function(n,o){if(!Zt)return;const t=o.modifiers||{},l=o.value,{handler:a,options:r}=typeof l=="object"?l:{handler:l,options:{}},c=new IntersectionObserver(function(){var v;let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],s=arguments.length>1?arguments[1]:void 0;const i=(v=n._observe)==null?void 0:v[o.instance.$.uid];if(!i)return;const d=u.some(p=>p.isIntersecting);!a||t.quiet&&!i.init||t.once&&!d&&!i.init||a(d,u,s),d&&t.once?jo(n,o):i.init=!0},r);n._observe=Object(n._observe),n._observe[o.instance.$.uid]={init:!1,observer:c},c.observe(n)},unmounted:jo},Qa=U({alt:String,cover:Boolean,draggable:{type:[Boolean,String],default:void 0},eager:Boolean,gradient:String,lazySrc:String,options:{type:Object,default:()=>({root:void 0,rootMargin:void 0,threshold:void 0})},sizes:String,src:{type:[String,Object],default:""},crossorigin:String,referrerpolicy:String,srcset:String,position:String,...Pl(),...ae(),...Dn()},"VImg"),_l=X()({name:"VImg",directives:{intersect:ao},props:Qa(),emits:{loadstart:n=>!0,load:n=>!0,error:n=>!0},setup(n,o){let{emit:t,slots:l}=o;const a=Se("VImg"),r=e.shallowRef(""),c=e.ref(),u=e.shallowRef(n.eager?"loading":"idle"),s=e.shallowRef(),i=e.shallowRef(),d=e.computed(()=>n.src&&typeof n.src=="object"?{src:n.src.src,srcset:n.srcset||n.src.srcset,lazySrc:n.lazySrc||n.src.lazySrc,aspect:Number(n.aspectRatio||n.src.aspect||0)}:{src:n.src,srcset:n.srcset,lazySrc:n.lazySrc,aspect:Number(n.aspectRatio||0)}),v=e.computed(()=>d.value.aspect||s.value/i.value||0);function p(I){if((!n.eager||!I)&&(!Zt||I||n.eager)){if(u.value="loading",d.value.lazySrc){const k=new Image;k.src=d.value.lazySrc,b(k,null)}d.value.src&&e.nextTick(()=>{var k;t("loadstart",((k=c.value)==null?void 0:k.currentSrc)||d.value.src),setTimeout(()=>{var C;if(!a.isUnmounted)if((C=c.value)!=null&&C.complete){if(c.value.naturalWidth||y(),u.value==="error")return;v.value||b(c.value,null),u.value==="loading"&&f()}else v.value||b(c.value),g()})})}}function f(){var I;a.isUnmounted||(g(),b(c.value),u.value="loaded",t("load",((I=c.value)==null?void 0:I.currentSrc)||d.value.src))}function y(){var I;a.isUnmounted||(u.value="error",t("error",((I=c.value)==null?void 0:I.currentSrc)||d.value.src))}function g(){const I=c.value;I&&(r.value=I.currentSrc||I.src)}e.watch(()=>n.src,()=>{p(u.value!=="idle")}),e.watch(v,(I,k)=>{!I&&k&&c.value&&b(c.value)}),e.onBeforeMount(()=>p());let m=-1;function b(I){let k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:100;const C=()=>{if(clearTimeout(m),a.isUnmounted)return;const{naturalHeight:V,naturalWidth:B}=I;V||B?(s.value=B,i.value=V):I.complete||u.value!=="loading"||k==null?(I.currentSrc.endsWith(".svg")||I.currentSrc.startsWith("data:image/svg+xml"))&&(s.value=1,i.value=1):m=window.setTimeout(C,k)};C()}e.onBeforeUnmount(()=>{clearTimeout(m)});const w=e.computed(()=>({"v-img__img--cover":n.cover,"v-img__img--contain":!n.cover})),N=()=>{var C;if(!d.value.src||u.value==="idle")return null;const I=e.createVNode("img",{class:["v-img__img",w.value],style:{objectPosition:n.position},src:d.value.src,srcset:d.value.srcset,alt:n.alt,crossorigin:n.crossorigin,referrerpolicy:n.referrerpolicy,draggable:n.draggable,sizes:n.sizes,ref:c,onLoad:f,onError:y},null),k=(C=l.sources)==null?void 0:C.call(l);return e.createVNode(We,{transition:n.transition,appear:!0},{default:()=>[e.withDirectives(k?e.createVNode("picture",{class:"v-img__picture"},[k,I]):I,[[e.vShow,u.value==="loaded"]])]})},M=()=>e.createVNode(We,{transition:n.transition},{default:()=>[d.value.lazySrc&&u.value!=="loaded"&&e.createVNode("img",{class:["v-img__img","v-img__img--preload",w.value],style:{objectPosition:n.position},src:d.value.lazySrc,alt:n.alt,crossorigin:n.crossorigin,referrerpolicy:n.referrerpolicy,draggable:n.draggable},null)]}),E=()=>l.placeholder?e.createVNode(We,{transition:n.transition,appear:!0},{default:()=>[(u.value==="loading"||u.value==="error"&&!l.error)&&e.createVNode("div",{class:"v-img__placeholder"},[l.placeholder()])]}):null,P=()=>l.error?e.createVNode(We,{transition:n.transition,appear:!0},{default:()=>[u.value==="error"&&e.createVNode("div",{class:"v-img__error"},[l.error()])]}):null,L=()=>n.gradient?e.createVNode("div",{class:"v-img__gradient",style:{backgroundImage:`linear-gradient(${n.gradient})`}},null):null,A=e.shallowRef(!1);{const I=e.watch(v,k=>{k&&(requestAnimationFrame(()=>{requestAnimationFrame(()=>{A.value=!0})}),I())})}return ee(()=>{const I=Wo.filterProps(n);return e.withDirectives(e.createVNode(Wo,e.mergeProps({class:["v-img",{"v-img--booting":!A.value},n.class],style:[{width:J(n.width==="auto"?s.value:n.width)},n.style]},I,{aspectRatio:v.value,"aria-label":n.alt,role:n.alt?"img":void 0}),{additional:()=>e.createVNode(e.Fragment,null,[e.createVNode(N,null,null),e.createVNode(M,null,null),e.createVNode(L,null,null),e.createVNode(E,null,null),e.createVNode(P,null,null)]),default:l.default}),[[e.resolveDirective("intersect"),{handler:p,options:n.options},null,{once:!0}]])}),{currentSrc:r,image:c,state:u,naturalWidth:s,naturalHeight:i}}}),pn=U({border:[Boolean,Number,String]},"border");function vn(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Oe();return{borderClasses:e.computed(()=>{const t=e.isRef(n)?n.value:n.border,l=[];if(t===!0||t==="")l.push(`${o}--border`);else if(typeof t=="string"||t===0)for(const a of String(t).split(" "))l.push(`border-${a}`);return l})}}function ro(n){return Qt(()=>{const o=[],t={};if(n.value.background)if(Bt(n.value.background)){if(t.backgroundColor=n.value.background,!n.value.text&&Bt(l=n.value.background)&&!/^((rgb|hsl)a?\()?var\(--/.test(l)){const a=wn(n.value.background);if(a.a==null||a.a===1){const r=function(c){const u=Math.abs(To(wn(0),wn(c)));return Math.abs(To(wn(16777215),wn(c)))>Math.min(u,50)?"#fff":"#000"}(a);t.color=r,t.caretColor=r}}}else o.push(`bg-${n.value.background}`);var l;return n.value.text&&(Bt(n.value.text)?(t.color=n.value.text,t.caretColor=n.value.text):o.push(`text-${n.value.text}`)),{colorClasses:o,colorStyles:t}})}function Re(n,o){const t=e.computed(()=>({text:e.isRef(n)?n.value:o?n[o]:null})),{colorClasses:l,colorStyles:a}=ro(t);return{textColorClasses:l,textColorStyles:a}}function an(n,o){const t=e.computed(()=>({background:e.isRef(n)?n.value:o?n[o]:null})),{colorClasses:l,colorStyles:a}=ro(t);return{backgroundColorClasses:l,backgroundColorStyles:a}}const fn=U({elevation:{type:[Number,String],validator(n){const o=parseInt(n);return!isNaN(o)&&o>=0&&o<=24}}},"elevation");function mn(n){return{elevationClasses:e.computed(()=>{const o=e.isRef(n)?n.value:n.elevation,t=[];return o==null||t.push(`elevation-${o}`),t})}}const De=U({rounded:{type:[Boolean,Number,String],default:void 0}},"rounded");function Le(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Oe();return{roundedClasses:e.computed(()=>{const t=e.isRef(n)?n.value:n.rounded,l=[];if(t===!0||t==="")l.push(`${o}--rounded`);else if(typeof t=="string"||t===0)for(const a of String(t).split(" "))l.push(`rounded-${a}`);return l})}}const er=[null,"default","comfortable","compact"],ze=U({density:{type:String,default:"default",validator:n=>er.includes(n)}},"density");function Me(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Oe();return{densityClasses:e.computed(()=>`${o}--density-${n.density}`)}}const nr=["elevated","flat","tonal","outlined","text","plain"];function Ln(n,o){return e.createVNode(e.Fragment,null,[n&&e.createVNode("span",{key:"overlay",class:`${o}__overlay`},null),e.createVNode("span",{key:"underlay",class:`${o}__underlay`},null)])}const Ge=U({color:String,variant:{type:String,default:"elevated",validator:n=>nr.includes(n)}},"variant");function Mn(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Oe();const t=e.computed(()=>{const{variant:r}=e.unref(n);return`${o}--variant-${r}`}),{colorClasses:l,colorStyles:a}=ro(e.computed(()=>{const{variant:r,color:c}=e.unref(n);return{[["elevated","flat"].includes(r)?"background":"text"]:c}}));return{colorClasses:l,colorStyles:a,variantClasses:t}}const El=U({divided:Boolean,...pn(),...ae(),...ze(),...fn(),...De(),...Ae(),...Ve(),...Ge()},"VBtnGroup"),Uo=X()({name:"VBtnGroup",props:El(),setup(n,o){let{slots:t}=o;const{themeClasses:l}=ke(n),{densityClasses:a}=Me(n),{borderClasses:r}=vn(n),{elevationClasses:c}=mn(n),{roundedClasses:u}=Le(n);dn({VBtn:{height:"auto",color:e.toRef(n,"color"),density:e.toRef(n,"density"),flat:!0,variant:e.toRef(n,"variant")}}),ee(()=>e.createVNode(n.tag,{class:["v-btn-group",{"v-btn-group--divided":n.divided},l.value,r.value,a.value,c.value,u.value,n.class],style:n.style},t))}}),Ol=U({modelValue:{type:null,default:void 0},multiple:Boolean,mandatory:[Boolean,String],max:Number,selectedClass:String,disabled:Boolean},"group"),zl=U({value:null,disabled:Boolean,selectedClass:String},"group-item");function Tl(n,o){let t=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2];const l=Se("useGroupItem");if(!l)throw new Error("[Vuetify] useGroupItem composable must be used inside a component setup function");const a=Pe();e.provide(Symbol.for(`${o.description}:id`),a);const r=e.inject(o,null);if(!r){if(!t)return r;throw new Error(`[Vuetify] Could not find useGroup injection with symbol ${o.description}`)}const c=e.toRef(n,"value"),u=e.computed(()=>!(!r.disabled.value&&!n.disabled));r.register({id:a,value:c,disabled:u},l),e.onBeforeUnmount(()=>{r.unregister(a)});const s=e.computed(()=>r.isSelected(a)),i=e.computed(()=>s.value&&[r.selectedClass.value,n.selectedClass]);return e.watch(s,d=>{l.emit("group:selected",{value:d})}),{id:a,isSelected:s,toggle:()=>r.select(a,!s.value),select:d=>r.select(a,d),selectedClass:i,value:c,disabled:u,group:r}}function $l(n,o){let t=!1;const l=e.reactive([]),a=he(n,"modelValue",[],i=>i==null?[]:Go(l,$e(i)),i=>{const d=function(v,p){const f=[];return p.forEach(y=>{const g=v.findIndex(m=>m.id===y);if(~g){const m=v[g];f.push(m.value!=null?m.value:g)}}),f}(l,i);return n.multiple?d:d[0]}),r=Se("useGroup");function c(){const i=l.find(d=>!d.disabled);i&&n.mandatory==="force"&&!a.value.length&&(a.value=[i.id])}function u(i){if(n.multiple&&Fn('This method is not supported when using "multiple" prop'),a.value.length){const d=a.value[0],v=l.findIndex(y=>y.id===d);let p=(v+i)%l.length,f=l[p];for(;f.disabled&&p!==v;)p=(p+i)%l.length,f=l[p];if(f.disabled)return;a.value=[l[p].id]}else{const d=l.find(v=>!v.disabled);d&&(a.value=[d.id])}}e.onMounted(()=>{c()}),e.onBeforeUnmount(()=>{t=!0});const s={register:function(i,d){const v=i,p=Zn(Symbol.for(`${o.description}:id`),r==null?void 0:r.vnode).indexOf(d);p>-1?l.splice(p,0,v):l.push(v)},unregister:function(i){if(t)return;c();const d=l.findIndex(v=>v.id===i);l.splice(d,1)},selected:a,select:function(i,d){const v=l.find(p=>p.id===i);if(!d||!(v!=null&&v.disabled))if(n.multiple){const p=a.value.slice(),f=p.findIndex(g=>g===i),y=~f;if(d=d??!y,y&&n.mandatory&&p.length<=1||!y&&n.max!=null&&p.length+1>n.max)return;f<0&&d?p.push(i):f>=0&&!d&&p.splice(f,1),a.value=p}else{const p=a.value.includes(i);if(n.mandatory&&p)return;a.value=d??!p?[i]:[]}},disabled:e.toRef(n,"disabled"),prev:()=>u(l.length-1),next:()=>u(1),isSelected:i=>a.value.includes(i),selectedClass:e.computed(()=>n.selectedClass),items:e.computed(()=>l),getItemIndex:i=>function(d,v){const p=Go(d,[v]);return p.length?d.findIndex(f=>f.id===p[0]):-1}(l,i)};return e.provide(o,s),s}function Go(n,o){const t=[];return o.forEach(l=>{const a=n.find(c=>cn(l,c.value)),r=n[l];(a==null?void 0:a.value)!=null?t.push(a.id):r!=null&&t.push(r.id)}),t}const Rl=Symbol.for("vuetify:v-btn-toggle"),tr=U({...El(),...Ol()},"VBtnToggle");X()({name:"VBtnToggle",props:tr(),emits:{"update:modelValue":n=>!0},setup(n,o){let{slots:t}=o;const{isSelected:l,next:a,prev:r,select:c,selected:u}=$l(n,Rl);return ee(()=>{const s=Uo.filterProps(n);return e.createVNode(Uo,e.mergeProps({class:["v-btn-toggle",n.class]},s,{style:n.style}),{default:()=>{var i;return[(i=t.default)==null?void 0:i.call(t,{isSelected:l,next:a,prev:r,select:c,selected:u})]}})}),{next:a,prev:r,select:c}}});const se=[String,Function,Object,Array],or=Symbol.for("vuetify:icons"),st=U({icon:{type:se},tag:{type:String,required:!0}},"icon"),qo=X()({name:"VComponentIcon",props:st(),setup(n,o){let{slots:t}=o;return()=>{const l=n.icon;return e.createVNode(n.tag,null,{default:()=>{var a;return[n.icon?e.createVNode(l,null,null):(a=t.default)==null?void 0:a.call(t)]}})}}}),lr=An({name:"VSvgIcon",inheritAttrs:!1,props:st(),setup(n,o){let{attrs:t}=o;return()=>e.createVNode(n.tag,e.mergeProps(t,{style:null}),{default:()=>[e.createVNode("svg",{class:"v-icon__svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":"true"},[Array.isArray(n.icon)?n.icon.map(l=>Array.isArray(l)?e.createVNode("path",{d:l[0],"fill-opacity":l[1]},null):e.createVNode("path",{d:l},null)):e.createVNode("path",{d:n.icon},null)])]})}});An({name:"VLigatureIcon",props:st(),setup:n=>()=>e.createVNode(n.tag,null,{default:()=>[n.icon]})}),An({name:"VClassIcon",props:st(),setup:n=>()=>e.createVNode(n.tag,{class:n.icon},null)});const ar=["x-small","small","default","large","x-large"],Wn=U({size:{type:[String,Number],default:"default"}},"size");function jn(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Oe();return Qt(()=>{let t,l;return tt(ar,n.size)?t=`${o}--size-${n.size}`:n.size&&(l={width:J(n.size),height:J(n.size)}),{sizeClasses:t,sizeStyles:l}})}const rr=U({color:String,start:Boolean,end:Boolean,icon:se,...ae(),...Wn(),...Ae({tag:"i"}),...Ve()},"VIcon"),ce=X()({name:"VIcon",props:rr(),setup(n,o){let{attrs:t,slots:l}=o;const a=e.ref(),{themeClasses:r}=ke(n),{iconData:c}=(d=>{const v=e.inject(or);if(!v)throw new Error("Missing Vuetify Icons provide!");return{iconData:e.computed(()=>{var m;const p=e.unref(d);if(!p)return{component:qo};let f=p;if(typeof f=="string"&&(f=f.trim(),f.startsWith("$")&&(f=(m=v.aliases)==null?void 0:m[f.slice(1)])),!f)throw new Error(`Could not find aliased icon "${p}"`);if(Array.isArray(f))return{component:lr,icon:f};if(typeof f!="string")return{component:qo,icon:f};const y=Object.keys(v.sets).find(b=>typeof f=="string"&&f.startsWith(`${b}:`)),g=y?f.slice(y.length+1):f;return{component:v.sets[y??v.defaultSet].component,icon:g}})}})(e.computed(()=>a.value||n.icon)),{sizeClasses:u}=jn(n),{textColorClasses:s,textColorStyles:i}=Re(e.toRef(n,"color"));return ee(()=>{var v,p;const d=(v=l.default)==null?void 0:v.call(l);return d&&(a.value=(p=ml(d).filter(f=>f.type===e.Text&&f.children&&typeof f.children=="string")[0])==null?void 0:p.children),e.createVNode(c.value.component,{tag:n.tag,icon:c.value.icon,class:["v-icon","notranslate",r.value,u.value,s.value,{"v-icon--clickable":!!t.onClick,"v-icon--start":n.start,"v-icon--end":n.end},n.class],style:[u.value?void 0:{fontSize:J(n.size),height:J(n.size),width:J(n.size)},i.value,n.style],role:t.onClick?"button":void 0,"aria-hidden":!t.onClick},{default:()=>[d]})}),{}}});function Dl(n,o){const t=e.ref(),l=e.shallowRef(!1);if(Zt){const a=new IntersectionObserver(r=>{n==null||n(r,a),l.value=!!r.find(c=>c.isIntersecting)},o);e.onBeforeUnmount(()=>{a.disconnect()}),e.watch(t,(r,c)=>{c&&(a.unobserve(c),l.value=!1),r&&a.observe(r)},{flush:"post"})}return{intersectionRef:t,isIntersecting:l}}const ir=U({bgColor:String,color:String,indeterminate:[Boolean,String],modelValue:{type:[Number,String],default:0},rotate:{type:[Number,String],default:0},width:{type:[Number,String],default:4},...ae(),...Wn(),...Ae({tag:"div"}),...Ve()},"VProgressCircular"),Ll=X()({name:"VProgressCircular",props:ir(),setup(n,o){let{slots:t}=o;const l=2*Math.PI*20,a=e.ref(),{themeClasses:r}=ke(n),{sizeClasses:c,sizeStyles:u}=jn(n),{textColorClasses:s,textColorStyles:i}=Re(e.toRef(n,"color")),{textColorClasses:d,textColorStyles:v}=Re(e.toRef(n,"bgColor")),{intersectionRef:p,isIntersecting:f}=Dl(),{resizeRef:y,contentRect:g}=oo(),m=e.computed(()=>Math.max(0,Math.min(100,parseFloat(n.modelValue)))),b=e.computed(()=>Number(n.width)),w=e.computed(()=>u.value?Number(n.size):g.value?g.value.width:Math.max(b.value,32)),N=e.computed(()=>20/(1-b.value/w.value)*2),M=e.computed(()=>b.value/w.value*N.value),E=e.computed(()=>J((100-m.value)/100*l));return e.watchEffect(()=>{p.value=a.value,y.value=a.value}),ee(()=>e.createVNode(n.tag,{ref:a,class:["v-progress-circular",{"v-progress-circular--indeterminate":!!n.indeterminate,"v-progress-circular--visible":f.value,"v-progress-circular--disable-shrink":n.indeterminate==="disable-shrink"},r.value,c.value,s.value,n.class],style:[u.value,i.value,n.style],role:"progressbar","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":n.indeterminate?void 0:m.value},{default:()=>[e.createVNode("svg",{style:{transform:`rotate(calc(-90deg + ${Number(n.rotate)}deg))`},xmlns:"http://www.w3.org/2000/svg",viewBox:`0 0 ${N.value} ${N.value}`},[e.createVNode("circle",{class:["v-progress-circular__underlay",d.value],style:v.value,fill:"transparent",cx:"50%",cy:"50%",r:20,"stroke-width":M.value,"stroke-dasharray":l,"stroke-dashoffset":0},null),e.createVNode("circle",{class:"v-progress-circular__overlay",fill:"transparent",cx:"50%",cy:"50%",r:20,"stroke-width":M.value,"stroke-dasharray":l,"stroke-dashoffset":E.value},null)]),t.default&&e.createVNode("div",{class:"v-progress-circular__content"},[t.default({value:m.value})])]})),{}}}),Ho={center:"center",top:"bottom",bottom:"top",left:"right",right:"left"},io=U({location:String},"location");function so(n){let o=arguments.length>1&&arguments[1]!==void 0&&arguments[1],t=arguments.length>2?arguments[2]:void 0;const{isRtl:l}=Rn();return{locationStyles:e.computed(()=>{if(!n.location)return{};const{side:r,align:c}=Et(n.location.split(" ").length>1?n.location:`${n.location} center`,l.value);function u(i){return t?t(i):0}const s={};return r!=="center"&&(o?s[Ho[r]]=`calc(100% - ${u(r)}px)`:s[r]=0),c!=="center"?o?s[Ho[c]]=`calc(100% - ${u(c)}px)`:s[c]=0:(r==="center"?s.top=s.left="50%":s[{top:"left",bottom:"left",left:"top",right:"top"}[r]]="50%",s.transform={top:"translateX(-50%)",bottom:"translateX(-50%)",left:"translateY(-50%)",right:"translateY(-50%)",center:"translate(-50%, -50%)"}[r]),s})}}const sr=U({absolute:Boolean,active:{type:Boolean,default:!0},bgColor:String,bgOpacity:[Number,String],bufferValue:{type:[Number,String],default:0},clickable:Boolean,color:String,height:{type:[Number,String],default:4},indeterminate:Boolean,max:{type:[Number,String],default:100},modelValue:{type:[Number,String],default:0},reverse:Boolean,stream:Boolean,striped:Boolean,roundedBar:Boolean,...ae(),...io({location:"top"}),...De(),...Ae(),...Ve()},"VProgressLinear"),ur=X()({name:"VProgressLinear",props:sr(),emits:{"update:modelValue":n=>!0},setup(n,o){let{slots:t}=o;const l=he(n,"modelValue"),{isRtl:a,rtlClasses:r}=Rn(),{themeClasses:c}=ke(n),{locationStyles:u}=so(n),{textColorClasses:s,textColorStyles:i}=Re(n,"color"),{backgroundColorClasses:d,backgroundColorStyles:v}=an(e.computed(()=>n.bgColor||n.color)),{backgroundColorClasses:p,backgroundColorStyles:f}=an(n,"color"),{roundedClasses:y}=Le(n),{intersectionRef:g,isIntersecting:m}=Dl(),b=e.computed(()=>parseInt(n.max,10)),w=e.computed(()=>parseInt(n.height,10)),N=e.computed(()=>parseFloat(n.bufferValue)/b.value*100),M=e.computed(()=>parseFloat(l.value)/b.value*100),E=e.computed(()=>a.value!==n.reverse),P=e.computed(()=>n.indeterminate?"fade-transition":"slide-x-transition"),L=e.computed(()=>n.bgOpacity==null?n.bgOpacity:parseFloat(n.bgOpacity));function A(I){if(!g.value)return;const{left:k,right:C,width:V}=g.value.getBoundingClientRect(),B=E.value?V-I.clientX+(C-V):I.clientX-k;l.value=Math.round(B/V*b.value)}return ee(()=>e.createVNode(n.tag,{ref:g,class:["v-progress-linear",{"v-progress-linear--absolute":n.absolute,"v-progress-linear--active":n.active&&m.value,"v-progress-linear--reverse":E.value,"v-progress-linear--rounded":n.rounded,"v-progress-linear--rounded-bar":n.roundedBar,"v-progress-linear--striped":n.striped},y.value,c.value,r.value,n.class],style:[{bottom:n.location==="bottom"?0:void 0,top:n.location==="top"?0:void 0,height:n.active?J(w.value):0,"--v-progress-linear-height":J(w.value),...u.value},n.style],role:"progressbar","aria-hidden":n.active?"false":"true","aria-valuemin":"0","aria-valuemax":n.max,"aria-valuenow":n.indeterminate?void 0:M.value,onClick:n.clickable&&A},{default:()=>[n.stream&&e.createVNode("div",{key:"stream",class:["v-progress-linear__stream",s.value],style:{...i.value,[E.value?"left":"right"]:J(-w.value),borderTop:`${J(w.value/2)} dotted`,opacity:L.value,top:`calc(50% - ${J(w.value/4)})`,width:J(100-N.value,"%"),"--v-progress-linear-stream-to":J(w.value*(E.value?1:-1))}},null),e.createVNode("div",{class:["v-progress-linear__background",d.value],style:[v.value,{opacity:L.value,width:J(n.stream?N.value:100,"%")}]},null),e.createVNode(e.Transition,{name:P.value},{default:()=>[n.indeterminate?e.createVNode("div",{class:"v-progress-linear__indeterminate"},[["long","short"].map(I=>e.createVNode("div",{key:I,class:["v-progress-linear__indeterminate",I,p.value],style:f.value},null))]):e.createVNode("div",{class:["v-progress-linear__determinate",p.value],style:[f.value,{width:J(M.value,"%")}]},null)]}),t.default&&e.createVNode("div",{class:"v-progress-linear__content"},[t.default({value:M.value,buffer:N.value})])]})),{}}}),uo=U({loading:[Boolean,String]},"loader");function vt(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Oe();return{loaderClasses:e.computed(()=>({[`${o}--loading`]:n.loading}))}}function co(n,o){var l;let{slots:t}=o;return e.createVNode("div",{class:`${n.name}__loader`},[((l=t.default)==null?void 0:l.call(t,{color:n.color,isActive:n.active}))||e.createVNode(ur,{absolute:n.absolute,active:n.active,color:n.color,height:"2",indeterminate:!0},null)])}const cr=["static","relative","fixed","absolute","sticky"],Ml=U({position:{type:String,validator:n=>cr.includes(n)}},"position");function Wl(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Oe();return{positionClasses:e.computed(()=>n.position?`${o}--${n.position}`:void 0)}}function ft(n,o){const t=e.resolveDynamicComponent("RouterLink"),l=e.computed(()=>!(!n.href&&!n.to)),a=e.computed(()=>(l==null?void 0:l.value)||Bo(o,"click")||Bo(n,"click"));if(typeof t=="string")return{isLink:l,isClickable:a,href:e.toRef(n,"href")};const r=n.to?t.useLink(n):void 0,c=function(){const u=Se("useRoute");return e.computed(()=>{var s;return(s=u==null?void 0:u.proxy)==null?void 0:s.$route})}();return{isLink:l,isClickable:a,route:r==null?void 0:r.route,navigate:r==null?void 0:r.navigate,isActive:r&&e.computed(()=>{var u,s,i;return n.exact?c.value?((u=r.isExactActive)==null?void 0:u.value)&&cn(r.route.value.query,c.value.query):(s=r.isExactActive)==null?void 0:s.value:(i=r.isActive)==null?void 0:i.value}),href:e.computed(()=>n.to?r==null?void 0:r.route.value.href:n.href)}}const mt=U({href:String,replace:Boolean,to:[String,Object],exact:Boolean},"router");let wt=!1;const Ot=Symbol("rippleStop"),dr=80;function Yo(n,o){n.style.transform=o,n.style.webkitTransform=o}function zt(n){return n.constructor.name==="TouchEvent"}function jl(n){return n.constructor.name==="KeyboardEvent"}const ut={show(n,o){var f;let t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!((f=o==null?void 0:o._ripple)!=null&&f.enabled))return;const l=document.createElement("span"),a=document.createElement("span");l.appendChild(a),l.className="v-ripple__container",t.class&&(l.className+=` ${t.class}`);const{radius:r,scale:c,x:u,y:s,centerX:i,centerY:d}=function(y,g){var L;let m=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},b=0,w=0;if(!jl(y)){const A=g.getBoundingClientRect(),I=zt(y)?y.touches[y.touches.length-1]:y;b=I.clientX-A.left,w=I.clientY-A.top}let N=0,M=.3;(L=g._ripple)!=null&&L.circle?(M=.15,N=g.clientWidth/2,N=m.center?N:N+Math.sqrt((b-N)**2+(w-N)**2)/4):N=Math.sqrt(g.clientWidth**2+g.clientHeight**2)/2;const E=(g.clientWidth-2*N)/2+"px",P=(g.clientHeight-2*N)/2+"px";return{radius:N,scale:M,x:m.center?E:b-N+"px",y:m.center?P:w-N+"px",centerX:E,centerY:P}}(n,o,t),v=2*r+"px";a.className="v-ripple__animation",a.style.width=v,a.style.height=v,o.appendChild(l);const p=window.getComputedStyle(o);p&&p.position==="static"&&(o.style.position="relative",o.dataset.previousPosition="static"),a.classList.add("v-ripple__animation--enter"),a.classList.add("v-ripple__animation--visible"),Yo(a,`translate(${u}, ${s}) scale3d(${c},${c},${c})`),a.dataset.activated=String(performance.now()),setTimeout(()=>{a.classList.remove("v-ripple__animation--enter"),a.classList.add("v-ripple__animation--in"),Yo(a,`translate(${i}, ${d}) scale3d(1,1,1)`)},0)},hide(n){var r;if(!((r=n==null?void 0:n._ripple)!=null&&r.enabled))return;const o=n.getElementsByClassName("v-ripple__animation");if(o.length===0)return;const t=o[o.length-1];if(t.dataset.isHiding)return;t.dataset.isHiding="true";const l=performance.now()-Number(t.dataset.activated),a=Math.max(250-l,0);setTimeout(()=>{t.classList.remove("v-ripple__animation--in"),t.classList.add("v-ripple__animation--out"),setTimeout(()=>{var c;n.getElementsByClassName("v-ripple__animation").length===1&&n.dataset.previousPosition&&(n.style.position=n.dataset.previousPosition,delete n.dataset.previousPosition),((c=t.parentNode)==null?void 0:c.parentNode)===n&&n.removeChild(t.parentNode)},300)},a)}};function Ul(n){return n===void 0||!!n}function Pn(n){const o={},t=n.currentTarget;if(t!=null&&t._ripple&&!t._ripple.touched&&!n[Ot]){if(n[Ot]=!0,zt(n))t._ripple.touched=!0,t._ripple.isTouch=!0;else if(t._ripple.isTouch)return;if(o.center=t._ripple.centered||jl(n),t._ripple.class&&(o.class=t._ripple.class),zt(n)){if(t._ripple.showTimerCommit)return;t._ripple.showTimerCommit=()=>{ut.show(n,t,o)},t._ripple.showTimer=window.setTimeout(()=>{var l;(l=t==null?void 0:t._ripple)!=null&&l.showTimerCommit&&(t._ripple.showTimerCommit(),t._ripple.showTimerCommit=null)},dr)}else ut.show(n,t,o)}}function Xo(n){n[Ot]=!0}function Ne(n){const o=n.currentTarget;if(o!=null&&o._ripple){if(window.clearTimeout(o._ripple.showTimer),n.type==="touchend"&&o._ripple.showTimerCommit)return o._ripple.showTimerCommit(),o._ripple.showTimerCommit=null,void(o._ripple.showTimer=window.setTimeout(()=>{Ne(n)}));window.setTimeout(()=>{o._ripple&&(o._ripple.touched=!1)}),ut.hide(o)}}function Gl(n){const o=n.currentTarget;o!=null&&o._ripple&&(o._ripple.showTimerCommit&&(o._ripple.showTimerCommit=null),window.clearTimeout(o._ripple.showTimer))}let _n=!1;function ql(n){_n||n.keyCode!==Co.enter&&n.keyCode!==Co.space||(_n=!0,Pn(n))}function Hl(n){_n=!1,Ne(n)}function Yl(n){_n&&(_n=!1,Ne(n))}function Ko(n,o,t){const{value:l,modifiers:a}=o,r=Ul(l);if(r||ut.hide(n),n._ripple=n._ripple??{},n._ripple.enabled=r,n._ripple.centered=a.center,n._ripple.circle=a.circle,At(l)&&l.class&&(n._ripple.class=l.class),r&&!t){if(a.stop)return n.addEventListener("touchstart",Xo,{passive:!0}),void n.addEventListener("mousedown",Xo);n.addEventListener("touchstart",Pn,{passive:!0}),n.addEventListener("touchend",Ne,{passive:!0}),n.addEventListener("touchmove",Gl,{passive:!0}),n.addEventListener("touchcancel",Ne),n.addEventListener("mousedown",Pn),n.addEventListener("mouseup",Ne),n.addEventListener("mouseleave",Ne),n.addEventListener("keydown",ql),n.addEventListener("keyup",Hl),n.addEventListener("blur",Yl),n.addEventListener("dragstart",Ne,{passive:!0})}else!r&&t&&Xl(n)}function Xl(n){n.removeEventListener("mousedown",Pn),n.removeEventListener("touchstart",Pn),n.removeEventListener("touchend",Ne),n.removeEventListener("touchmove",Gl),n.removeEventListener("touchcancel",Ne),n.removeEventListener("mouseup",Ne),n.removeEventListener("mouseleave",Ne),n.removeEventListener("keydown",ql),n.removeEventListener("keyup",Hl),n.removeEventListener("dragstart",Ne),n.removeEventListener("blur",Yl)}const Un={mounted:function(n,o){Ko(n,o,!1)},unmounted:function(n){delete n._ripple,Xl(n)},updated:function(n,o){o.value!==o.oldValue&&Ko(n,o,Ul(o.oldValue))}},pr=U({active:{type:Boolean,default:void 0},symbol:{type:null,default:Rl},flat:Boolean,icon:[Boolean,String,Function,Object],prependIcon:se,appendIcon:se,block:Boolean,slim:Boolean,stacked:Boolean,ripple:{type:[Boolean,Object],default:!0},text:String,...pn(),...ae(),...ze(),...Je(),...fn(),...zl(),...uo(),...io(),...Ml(),...De(),...mt(),...Wn(),...Ae({tag:"button"}),...Ve(),...Ge({variant:"elevated"})},"VBtn"),Jo=X()({name:"VBtn",directives:{Ripple:Un},props:pr(),emits:{"group:selected":n=>!0},setup(n,o){let{attrs:t,slots:l}=o;const{themeClasses:a}=ke(n),{borderClasses:r}=vn(n),{colorClasses:c,colorStyles:u,variantClasses:s}=Mn(n),{densityClasses:i}=Me(n),{dimensionStyles:d}=Ze(n),{elevationClasses:v}=mn(n),{loaderClasses:p}=vt(n),{locationStyles:f}=so(n),{positionClasses:y}=Wl(n),{roundedClasses:g}=Le(n),{sizeClasses:m,sizeStyles:b}=jn(n),w=Tl(n,n.symbol,!1),N=ft(n,t),M=e.computed(()=>{var I;return n.active!==void 0?n.active:N.isLink.value?(I=N.isActive)==null?void 0:I.value:w==null?void 0:w.isSelected.value}),E=e.computed(()=>(w==null?void 0:w.disabled.value)||n.disabled),P=e.computed(()=>n.variant==="elevated"&&!(n.disabled||n.flat||n.border)),L=e.computed(()=>{if(n.value!==void 0&&typeof n.value!="symbol")return Object(n.value)===n.value?JSON.stringify(n.value,null,0):n.value});function A(I){var k;E.value||N.isLink.value&&(I.metaKey||I.ctrlKey||I.shiftKey||I.button!==0||t.target==="_blank")||((k=N.navigate)==null||k.call(N,I),w==null||w.toggle())}return function(I,k){e.watch(()=>{var C;return(C=I.isActive)==null?void 0:C.value},C=>{I.isLink.value&&C&&k&&e.nextTick(()=>{k(!0)})},{immediate:!0})}(N,w==null?void 0:w.select),ee(()=>{var D,$;const I=N.isLink.value?"a":n.tag,k=!(!n.prependIcon&&!l.prepend),C=!(!n.appendIcon&&!l.append),V=!(!n.icon||n.icon===!0),B=(w==null?void 0:w.isSelected.value)&&(!N.isLink.value||((D=N.isActive)==null?void 0:D.value))||!w||(($=N.isActive)==null?void 0:$.value);return e.withDirectives(e.createVNode(I,{type:I==="a"?void 0:"button",class:["v-btn",w==null?void 0:w.selectedClass.value,{"v-btn--active":M.value,"v-btn--block":n.block,"v-btn--disabled":E.value,"v-btn--elevated":P.value,"v-btn--flat":n.flat,"v-btn--icon":!!n.icon,"v-btn--loading":n.loading,"v-btn--slim":n.slim,"v-btn--stacked":n.stacked},a.value,r.value,B?c.value:void 0,i.value,v.value,p.value,y.value,g.value,m.value,s.value,n.class],style:[B?u.value:void 0,d.value,f.value,b.value,n.style],disabled:E.value||void 0,href:N.href.value,onClick:A,value:L.value},{default:()=>{var F;return[Ln(!0,"v-btn"),!n.icon&&k&&e.createVNode("span",{key:"prepend",class:"v-btn__prepend"},[l.prepend?e.createVNode(Be,{key:"prepend-defaults",disabled:!n.prependIcon,defaults:{VIcon:{icon:n.prependIcon}}},l.prepend):e.createVNode(ce,{key:"prepend-icon",icon:n.prependIcon},null)]),e.createVNode("span",{class:"v-btn__content","data-no-activator":""},[!l.default&&V?e.createVNode(ce,{key:"content-icon",icon:n.icon},null):e.createVNode(Be,{key:"content-defaults",disabled:!V,defaults:{VIcon:{icon:n.icon}}},{default:()=>{var h;return[((h=l.default)==null?void 0:h.call(l))??n.text]}})]),!n.icon&&C&&e.createVNode("span",{key:"append",class:"v-btn__append"},[l.append?e.createVNode(Be,{key:"append-defaults",disabled:!n.appendIcon,defaults:{VIcon:{icon:n.appendIcon}}},l.append):e.createVNode(ce,{key:"append-icon",icon:n.appendIcon},null)]),!!n.loading&&e.createVNode("span",{key:"loader",class:"v-btn__loader"},[((F=l.loader)==null?void 0:F.call(l))??e.createVNode(Ll,{color:typeof n.loading=="boolean"?void 0:n.loading,indeterminate:!0,size:"23",width:"2"},null)])]}}),[[e.resolveDirective("ripple"),!E.value&&n.ripple,null]])}),{}}}),vr=U({text:String,clickable:Boolean,...ae(),...Ve()},"VLabel"),Kl=X()({name:"VLabel",props:vr(),setup(n,o){let{slots:t}=o;return ee(()=>{var l;return e.createVNode("label",{class:["v-label",{"v-label--clickable":n.clickable},n.class],style:n.style},[n.text,(l=t.default)==null?void 0:l.call(t)])}),{}}}),Jl=Symbol.for("vuetify:selection-control-group"),Zl=U({color:String,disabled:{type:Boolean,default:null},defaultsTarget:String,error:Boolean,id:String,inline:Boolean,falseIcon:se,trueIcon:se,ripple:{type:Boolean,default:!0},multiple:{type:Boolean,default:null},name:String,readonly:{type:Boolean,default:null},modelValue:null,type:String,valueComparator:{type:Function,default:cn},...ae(),...ze(),...Ve()},"SelectionControlGroup"),fr=U({...Zl({defaultsTarget:"VSelectionControl"})},"VSelectionControlGroup");X()({name:"VSelectionControlGroup",props:fr(),emits:{"update:modelValue":n=>!0},setup(n,o){let{slots:t}=o;const l=he(n,"modelValue"),a=Pe(),r=e.computed(()=>n.id||`v-selection-control-group-${a}`),c=e.computed(()=>n.name||r.value),u=new Set;return e.provide(Jl,{modelValue:l,forceUpdate:()=>{u.forEach(s=>s())},onForceUpdate:s=>{u.add(s),e.onScopeDispose(()=>{u.delete(s)})}}),dn({[n.defaultsTarget]:{color:e.toRef(n,"color"),disabled:e.toRef(n,"disabled"),density:e.toRef(n,"density"),error:e.toRef(n,"error"),inline:e.toRef(n,"inline"),modelValue:l,multiple:e.computed(()=>!!n.multiple||n.multiple==null&&Array.isArray(l.value)),name:c,falseIcon:e.toRef(n,"falseIcon"),trueIcon:e.toRef(n,"trueIcon"),readonly:e.toRef(n,"readonly"),ripple:e.toRef(n,"ripple"),type:e.toRef(n,"type"),valueComparator:e.toRef(n,"valueComparator")}}),ee(()=>{var s;return e.createVNode("div",{class:["v-selection-control-group",{"v-selection-control-group--inline":n.inline},n.class],style:n.style,role:n.type==="radio"?"radiogroup":void 0},[(s=t.default)==null?void 0:s.call(t)])}),{}}});const po=U({label:String,baseColor:String,trueValue:null,falseValue:null,value:null,...ae(),...Zl()},"VSelectionControl"),ct=X()({name:"VSelectionControl",directives:{Ripple:Un},inheritAttrs:!1,props:po(),emits:{"update:modelValue":n=>!0},setup(n,o){let{attrs:t,slots:l}=o;const{group:a,densityClasses:r,icon:c,model:u,textColorClasses:s,textColorStyles:i,backgroundColorClasses:d,backgroundColorStyles:v,trueValue:p}=function(E){const P=e.inject(Jl,void 0),{densityClasses:L}=Me(E),A=he(E,"modelValue"),I=e.computed(()=>E.trueValue!==void 0?E.trueValue:E.value===void 0||E.value),k=e.computed(()=>E.falseValue!==void 0&&E.falseValue),C=e.computed(()=>!!E.multiple||E.multiple==null&&Array.isArray(A.value)),V=e.computed({get(){const S=P?P.modelValue.value:A.value;return C.value?$e(S).some(x=>E.valueComparator(x,I.value)):E.valueComparator(S,I.value)},set(S){if(E.readonly)return;const x=S?I.value:k.value;let z=x;C.value&&(z=S?[...$e(A.value),x]:$e(A.value).filter(T=>!E.valueComparator(T,I.value))),P?P.modelValue.value=z:A.value=z}}),{textColorClasses:B,textColorStyles:D}=Re(e.computed(()=>{if(!E.error&&!E.disabled)return V.value?E.color:E.baseColor})),{backgroundColorClasses:$,backgroundColorStyles:F}=an(e.computed(()=>!V.value||E.error||E.disabled?void 0:E.color)),h=e.computed(()=>V.value?E.trueIcon:E.falseIcon);return{group:P,densityClasses:L,trueValue:I,falseValue:k,model:V,textColorClasses:B,textColorStyles:D,backgroundColorClasses:$,backgroundColorStyles:F,icon:h}}(n),f=Pe(),y=e.computed(()=>n.id||`input-${f}`),g=e.shallowRef(!1),m=e.shallowRef(!1),b=e.ref();function w(E){g.value=!0,lt(E.target,":focus-visible")!==!1&&(m.value=!0)}function N(){g.value=!1,m.value=!1}function M(E){n.readonly&&a&&e.nextTick(()=>a.forceUpdate()),u.value=E.target.checked}return a==null||a.onForceUpdate(()=>{b.value&&(b.value.checked=u.value)}),ee(()=>{var I,k;const E=l.label?l.label({label:n.label,props:{for:y.value}}):n.label,[P,L]=Tn(t),A=e.createVNode("input",e.mergeProps({ref:b,checked:u.value,disabled:!(!n.readonly&&!n.disabled),id:y.value,onBlur:N,onFocus:w,onInput:M,"aria-disabled":!(!n.readonly&&!n.disabled),type:n.type,value:p.value,name:n.name,"aria-checked":n.type==="checkbox"?u.value:void 0},L),null);return e.createVNode("div",e.mergeProps({class:["v-selection-control",{"v-selection-control--dirty":u.value,"v-selection-control--disabled":n.disabled,"v-selection-control--error":n.error,"v-selection-control--focused":g.value,"v-selection-control--focus-visible":m.value,"v-selection-control--inline":n.inline},r.value,n.class]},P,{style:n.style}),[e.createVNode("div",{class:["v-selection-control__wrapper",s.value],style:i.value},[(I=l.default)==null?void 0:I.call(l,{backgroundColorClasses:d,backgroundColorStyles:v}),e.withDirectives(e.createVNode("div",{class:["v-selection-control__input"]},[((k=l.input)==null?void 0:k.call(l,{model:u,textColorClasses:s,textColorStyles:i,backgroundColorClasses:d,backgroundColorStyles:v,inputNode:A,icon:c.value,props:{onFocus:w,onBlur:N,id:y.value}}))??e.createVNode(e.Fragment,null,[c.value&&e.createVNode(ce,{key:"icon",icon:c.value},null),A])]),[[e.resolveDirective("ripple"),n.ripple&&[!n.disabled&&!n.readonly,null,["center","circle"]]]])]),E&&e.createVNode(Kl,{for:y.value,clickable:!0,onClick:C=>C.stopPropagation()},{default:()=>[E]})])}),{isFocused:g,input:b}}}),Ql=U({indeterminate:Boolean,indeterminateIcon:{type:se,default:"$checkboxIndeterminate"},...po({falseIcon:"$checkboxOff",trueIcon:"$checkboxOn"})},"VCheckboxBtn"),Tt=X()({name:"VCheckboxBtn",props:Ql(),emits:{"update:modelValue":n=>!0,"update:indeterminate":n=>!0},setup(n,o){let{slots:t}=o;const l=he(n,"indeterminate"),a=he(n,"modelValue");function r(s){l.value&&(l.value=!1)}const c=e.computed(()=>l.value?n.indeterminateIcon:n.falseIcon),u=e.computed(()=>l.value?n.indeterminateIcon:n.trueIcon);return ee(()=>{const s=Ke(ct.filterProps(n),["modelValue"]);return e.createVNode(ct,e.mergeProps(s,{modelValue:a.value,"onUpdate:modelValue":[i=>a.value=i,r],class:["v-checkbox-btn",n.class],style:n.style,type:"checkbox",falseIcon:c.value,trueIcon:u.value,"aria-checked":l.value?"mixed":void 0}),t)}),{}}});function ea(n){const{t:o}=lo();return{InputIcon:function(t){let{name:l}=t;const a={prepend:"prependAction",prependInner:"prependAction",append:"appendAction",appendInner:"appendAction",clear:"clear"}[l],r=n[`onClick:${l}`],c=r&&a?o(`$vuetify.input.${a}`,n.label??""):void 0;return e.createVNode(ce,{icon:n[`${l}Icon`],"aria-label":c,onClick:r},null)}}}const mr=U({active:Boolean,color:String,messages:{type:[Array,String],default:()=>[]},...ae(),...Dn({transition:{component:Nl,leaveAbsolute:!0,group:!0}})},"VMessages"),yr=X()({name:"VMessages",props:mr(),setup(n,o){let{slots:t}=o;const l=e.computed(()=>$e(n.messages)),{textColorClasses:a,textColorStyles:r}=Re(e.computed(()=>n.color));return ee(()=>e.createVNode(We,{transition:n.transition,tag:"div",class:["v-messages",a.value,n.class],style:[r.value,n.style],role:"alert","aria-live":"polite"},{default:()=>[n.active&&l.value.map((c,u)=>e.createVNode("div",{class:"v-messages__message",key:`${u}-${l.value}`},[t.message?t.message({message:c}):c]))]})),{}}}),na=U({focused:Boolean,"onUpdate:focused":Ee()},"focus");function Gn(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Oe();const t=he(n,"focused");return{focusClasses:e.computed(()=>({[`${o}--focused`]:t.value})),isFocused:t,focus:function(){t.value=!0},blur:function(){t.value=!1}}}const gr=Symbol.for("vuetify:form");function ta(){return e.inject(gr,null)}const hr=U({disabled:{type:Boolean,default:null},error:Boolean,errorMessages:{type:[Array,String],default:()=>[]},maxErrors:{type:[Number,String],default:1},name:String,label:String,readonly:{type:Boolean,default:null},rules:{type:Array,default:()=>[]},modelValue:null,validateOn:String,validationValue:null,...na()},"validation"),qn=U({id:String,appendIcon:se,centerAffix:{type:Boolean,default:!0},prependIcon:se,hideDetails:[Boolean,String],hideSpinButtons:Boolean,hint:String,persistentHint:Boolean,messages:{type:[Array,String],default:()=>[]},direction:{type:String,default:"horizontal",validator:n=>["horizontal","vertical"].includes(n)},"onClick:prepend":Ee(),"onClick:append":Ee(),...ae(),...ze(),...hr()},"VInput"),je=X()({name:"VInput",props:{...qn()},emits:{"update:modelValue":n=>!0},setup(n,o){let{attrs:t,slots:l,emit:a}=o;const{densityClasses:r}=Me(n),{rtlClasses:c}=Rn(),{InputIcon:u}=ea(n),s=Pe(),i=e.computed(()=>n.id||`input-${s}`),d=e.computed(()=>`${i.value}-messages`),{errorMessages:v,isDirty:p,isDisabled:f,isReadonly:y,isPristine:g,isValid:m,isValidating:b,reset:w,resetValidation:N,validate:M,validationClasses:E}=function(A){let I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Oe(),k=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Pe();const C=he(A,"modelValue"),V=e.computed(()=>A.validationValue===void 0?C.value:A.validationValue),B=ta(),D=e.ref([]),$=e.shallowRef(!0),F=e.computed(()=>!(!$e(C.value===""?null:C.value).length&&!$e(V.value===""?null:V.value).length)),h=e.computed(()=>!!(A.disabled??(B==null?void 0:B.isDisabled.value))),S=e.computed(()=>!!(A.readonly??(B==null?void 0:B.isReadonly.value))),x=e.computed(()=>{var G;return(G=A.errorMessages)!=null&&G.length?$e(A.errorMessages).concat(D.value).slice(0,Math.max(0,+A.maxErrors)):D.value}),z=e.computed(()=>{let G=(A.validateOn??(B==null?void 0:B.validateOn.value))||"input";G==="lazy"&&(G="input lazy");const Y=new Set((G==null?void 0:G.split(" "))??[]);return{blur:Y.has("blur")||Y.has("input"),input:Y.has("input"),submit:Y.has("submit"),lazy:Y.has("lazy")}}),T=e.computed(()=>{var G;return!A.error&&!((G=A.errorMessages)!=null&&G.length)&&(!A.rules.length||($.value?!D.value.length&&!z.value.lazy||null:!D.value.length))}),O=e.shallowRef(!1),H=e.computed(()=>({[`${I}--error`]:T.value===!1,[`${I}--dirty`]:F.value,[`${I}--disabled`]:h.value,[`${I}--readonly`]:S.value})),_=e.computed(()=>A.name??e.unref(k));function W(){C.value=null,e.nextTick(R)}function R(){$.value=!0,z.value.lazy?D.value=[]:j(!0)}async function j(){let G=arguments.length>0&&arguments[0]!==void 0&&arguments[0];const Y=[];O.value=!0;for(const te of A.rules){if(Y.length>=+(A.maxErrors??1))break;const ie=typeof te=="function"?te:()=>te,re=await ie(V.value);re!==!0&&(re===!1||typeof re=="string"?Y.push(re||""):console.warn(`${re} is not a valid value. Rule functions must return boolean true or a string.`))}return D.value=Y,O.value=!1,$.value=G,D.value}return e.onBeforeMount(()=>{B==null||B.register({id:_.value,validate:j,reset:W,resetValidation:R})}),e.onBeforeUnmount(()=>{B==null||B.unregister(_.value)}),e.onMounted(async()=>{z.value.lazy||await j(!0),B==null||B.update(_.value,T.value,x.value)}),Ye(()=>z.value.input,()=>{e.watch(V,()=>{if(V.value!=null)j();else if(A.focused){const G=e.watch(()=>A.focused,Y=>{Y||j(),G()})}})}),Ye(()=>z.value.blur,()=>{e.watch(()=>A.focused,G=>{G||j()})}),e.watch(T,()=>{B==null||B.update(_.value,T.value,x.value)}),{errorMessages:x,isDirty:F,isDisabled:h,isReadonly:S,isPristine:$,isValid:T,isValidating:O,reset:W,resetValidation:R,validate:j,validationClasses:H}}(n,"v-input",i),P=e.computed(()=>({id:i,messagesId:d,isDirty:p,isDisabled:f,isReadonly:y,isPristine:g,isValid:m,isValidating:b,reset:w,resetValidation:N,validate:M})),L=e.computed(()=>{var A;return(A=n.errorMessages)!=null&&A.length||!g.value&&v.value.length?v.value:n.hint&&(n.persistentHint||n.focused)?n.hint:n.messages});return ee(()=>{var V,B,D,$;const A=!(!l.prepend&&!n.prependIcon),I=!(!l.append&&!n.appendIcon),k=L.value.length>0,C=!n.hideDetails||n.hideDetails==="auto"&&(k||!!l.details);return e.createVNode("div",{class:["v-input",`v-input--${n.direction}`,{"v-input--center-affix":n.centerAffix,"v-input--hide-spin-buttons":n.hideSpinButtons},r.value,c.value,E.value,n.class],style:n.style},[A&&e.createVNode("div",{key:"prepend",class:"v-input__prepend"},[(V=l.prepend)==null?void 0:V.call(l,P.value),n.prependIcon&&e.createVNode(u,{key:"prepend-icon",name:"prepend"},null)]),l.default&&e.createVNode("div",{class:"v-input__control"},[(B=l.default)==null?void 0:B.call(l,P.value)]),I&&e.createVNode("div",{key:"append",class:"v-input__append"},[n.appendIcon&&e.createVNode(u,{key:"append-icon",name:"append"},null),(D=l.append)==null?void 0:D.call(l,P.value)]),C&&e.createVNode("div",{class:"v-input__details"},[e.createVNode(yr,{id:d.value,active:k,messages:L.value},{message:l.message}),($=l.details)==null?void 0:$.call(l,P.value)])])}),{reset:w,resetValidation:N,validate:M,isValid:m,errorMessages:v}}}),br=U({...qn(),...Ke(Ql(),["inline"])},"VCheckbox"),Cr=X()({name:"VCheckbox",inheritAttrs:!1,props:br(),emits:{"update:modelValue":n=>!0,"update:focused":n=>!0},setup(n,o){let{attrs:t,slots:l}=o;const a=he(n,"modelValue"),{isFocused:r,focus:c,blur:u}=Gn(n),s=Pe(),i=e.computed(()=>n.id||`checkbox-${s}`);return ee(()=>{const[d,v]=Tn(t),p=je.filterProps(n),f=Tt.filterProps(n);return e.createVNode(je,e.mergeProps({class:["v-checkbox",n.class]},d,p,{modelValue:a.value,"onUpdate:modelValue":y=>a.value=y,id:i.value,focused:r.value,style:n.style}),{...l,default:y=>{let{id:g,messagesId:m,isDisabled:b,isReadonly:w}=y;return e.createVNode(Tt,e.mergeProps(f,{id:g.value,"aria-describedby":m.value,disabled:b.value,readonly:w.value},v,{modelValue:a.value,"onUpdate:modelValue":N=>a.value=N,onFocus:c,onBlur:u}),l)}})}),{}}}),Sr=U({start:Boolean,end:Boolean,icon:se,image:String,text:String,...ae(),...ze(),...De(),...Wn(),...Ae(),...Ve(),...Ge({variant:"flat"})},"VAvatar"),rn=X()({name:"VAvatar",props:Sr(),setup(n,o){let{slots:t}=o;const{themeClasses:l}=ke(n),{colorClasses:a,colorStyles:r,variantClasses:c}=Mn(n),{densityClasses:u}=Me(n),{roundedClasses:s}=Le(n),{sizeClasses:i,sizeStyles:d}=jn(n);return ee(()=>e.createVNode(n.tag,{class:["v-avatar",{"v-avatar--start":n.start,"v-avatar--end":n.end},l.value,a.value,u.value,s.value,i.value,c.value,n.class],style:[r.value,d.value,n.style]},{default:()=>{var v;return[n.image?e.createVNode(_l,{key:"image",src:n.image,alt:"",cover:!0},null):n.icon?e.createVNode(ce,{key:"icon",icon:n.icon},null):((v=t.default)==null?void 0:v.call(t))??n.text,Ln(!1,"v-avatar")]}})),{}}}),oa=Symbol.for("vuetify:v-chip-group"),Ir=U({column:Boolean,filter:Boolean,valueComparator:{type:Function,default:cn},...ae(),...Ol({selectedClass:"v-chip--selected"}),...Ae(),...Ve(),...Ge({variant:"tonal"})},"VChipGroup");X()({name:"VChipGroup",props:Ir(),emits:{"update:modelValue":n=>!0},setup(n,o){let{slots:t}=o;const{themeClasses:l}=ke(n),{isSelected:a,select:r,next:c,prev:u,selected:s}=$l(n,oa);return dn({VChip:{color:e.toRef(n,"color"),disabled:e.toRef(n,"disabled"),filter:e.toRef(n,"filter"),variant:e.toRef(n,"variant")}}),ee(()=>e.createVNode(n.tag,{class:["v-chip-group",{"v-chip-group--column":n.column},l.value,n.class],style:n.style},{default:()=>{var i;return[(i=t.default)==null?void 0:i.call(t,{isSelected:a,select:r,next:c,prev:u,selected:s.value})]}})),{}}});const Vr=U({activeClass:String,appendAvatar:String,appendIcon:se,closable:Boolean,closeIcon:{type:se,default:"$delete"},closeLabel:{type:String,default:"$vuetify.close"},draggable:Boolean,filter:Boolean,filterIcon:{type:String,default:"$complete"},label:Boolean,link:{type:Boolean,default:void 0},pill:Boolean,prependAvatar:String,prependIcon:se,ripple:{type:[Boolean,Object],default:!0},text:String,modelValue:{type:Boolean,default:!0},onClick:Ee(),onClickOnce:Ee(),...pn(),...ae(),...ze(),...fn(),...zl(),...De(),...mt(),...Wn(),...Ae({tag:"span"}),...Ve(),...Ge({variant:"tonal"})},"VChip"),Br=X()({name:"VChip",directives:{Ripple:Un},props:Vr(),emits:{"click:close":n=>!0,"update:modelValue":n=>!0,"group:selected":n=>!0,click:n=>!0},setup(n,o){let{attrs:t,emit:l,slots:a}=o;const{t:r}=lo(),{borderClasses:c}=vn(n),{colorClasses:u,colorStyles:s,variantClasses:i}=Mn(n),{densityClasses:d}=Me(n),{elevationClasses:v}=mn(n),{roundedClasses:p}=Le(n),{sizeClasses:f}=jn(n),{themeClasses:y}=ke(n),g=he(n,"modelValue"),m=Tl(n,oa,!1),b=ft(n,t),w=e.computed(()=>n.link!==!1&&b.isLink.value),N=e.computed(()=>!n.disabled&&n.link!==!1&&(!!m||n.link||b.isClickable.value)),M=e.computed(()=>({"aria-label":r(n.closeLabel),onClick(L){L.stopPropagation(),g.value=!1,l("click:close",L)}}));function E(L){var A;l("click",L),N.value&&((A=b.navigate)==null||A.call(b,L),m==null||m.toggle())}function P(L){L.key!=="Enter"&&L.key!==" "||(L.preventDefault(),E(L))}return()=>{const L=b.isLink.value?"a":n.tag,A=!(!n.appendIcon&&!n.appendAvatar),I=!(!A&&!a.append),k=!(!a.close&&!n.closable),C=!(!a.filter&&!n.filter)&&m,V=!(!n.prependIcon&&!n.prependAvatar),B=!(!V&&!a.prepend),D=!m||m.isSelected.value;return g.value&&e.withDirectives(e.createVNode(L,{class:["v-chip",{"v-chip--disabled":n.disabled,"v-chip--label":n.label,"v-chip--link":N.value,"v-chip--filter":C,"v-chip--pill":n.pill},y.value,c.value,D?u.value:void 0,d.value,v.value,p.value,f.value,i.value,m==null?void 0:m.selectedClass.value,n.class],style:[D?s.value:void 0,n.style],disabled:n.disabled||void 0,draggable:n.draggable,href:b.href.value,tabindex:N.value?0:void 0,onClick:E,onKeydown:N.value&&!w.value&&P},{default:()=>{var $;return[Ln(N.value,"v-chip"),C&&e.createVNode(Al,{key:"filter"},{default:()=>[e.withDirectives(e.createVNode("div",{class:"v-chip__filter"},[a.filter?e.createVNode(Be,{key:"filter-defaults",disabled:!n.filterIcon,defaults:{VIcon:{icon:n.filterIcon}}},a.filter):e.createVNode(ce,{key:"filter-icon",icon:n.filterIcon},null)]),[[e.vShow,m.isSelected.value]])]}),B&&e.createVNode("div",{key:"prepend",class:"v-chip__prepend"},[a.prepend?e.createVNode(Be,{key:"prepend-defaults",disabled:!V,defaults:{VAvatar:{image:n.prependAvatar,start:!0},VIcon:{icon:n.prependIcon,start:!0}}},a.prepend):e.createVNode(e.Fragment,null,[n.prependIcon&&e.createVNode(ce,{key:"prepend-icon",icon:n.prependIcon,start:!0},null),n.prependAvatar&&e.createVNode(rn,{key:"prepend-avatar",image:n.prependAvatar,start:!0},null)])]),e.createVNode("div",{class:"v-chip__content"},[(($=a.default)==null?void 0:$.call(a,{isSelected:m==null?void 0:m.isSelected.value,selectedClass:m==null?void 0:m.selectedClass.value,select:m==null?void 0:m.select,toggle:m==null?void 0:m.toggle,value:m==null?void 0:m.value.value,disabled:n.disabled}))??n.text]),I&&e.createVNode("div",{key:"append",class:"v-chip__append"},[a.append?e.createVNode(Be,{key:"append-defaults",disabled:!A,defaults:{VAvatar:{end:!0,image:n.appendAvatar},VIcon:{end:!0,icon:n.appendIcon}}},a.append):e.createVNode(e.Fragment,null,[n.appendIcon&&e.createVNode(ce,{key:"append-icon",end:!0,icon:n.appendIcon},null),n.appendAvatar&&e.createVNode(rn,{key:"append-avatar",end:!0,image:n.appendAvatar},null)])]),k&&e.createVNode("div",e.mergeProps({key:"close",class:"v-chip__close"},M.value),[a.close?e.createVNode(Be,{key:"close-defaults",defaults:{VIcon:{icon:n.closeIcon,size:"x-small"}}},a.close):e.createVNode(ce,{key:"close-icon",icon:n.closeIcon,size:"x-small"},null)])]}}),[[e.resolveDirective("ripple"),N.value&&n.ripple,null]])}}}),$t=Symbol.for("vuetify:list");function la(){const n=e.inject($t,{hasPrepend:e.shallowRef(!1),updateHasPrepend:()=>null}),o={hasPrepend:e.shallowRef(!1),updateHasPrepend:t=>{t&&(o.hasPrepend.value=t)}};return e.provide($t,o),n}function aa(){return e.inject($t,null)}const wr={open:n=>{let{id:o,value:t,opened:l,parents:a}=n;if(t){const r=new Set;r.add(o);let c=a.get(o);for(;c!=null;)r.add(c),c=a.get(c);return r}return l.delete(o),l},select:()=>null},ra={open:n=>{let{id:o,value:t,opened:l,parents:a}=n;if(t){let r=a.get(o);for(l.add(o);r!=null&&r!==o;)l.add(r),r=a.get(r);return l}return l.delete(o),l},select:()=>null},kr={open:ra.open,select:n=>{let{id:o,value:t,opened:l,parents:a}=n;if(!t)return l;const r=[];let c=a.get(o);for(;c!=null;)r.push(c),c=a.get(c);return new Set(r)}},Rt=n=>{const o={select:t=>{let{id:l,value:a,selected:r}=t;if(l=e.toRaw(l),n&&!a){const c=Array.from(r.entries()).reduce((u,s)=>{let[i,d]=s;return d==="on"?[...u,i]:u},[]);if(c.length===1&&c[0]===l)return r}return r.set(l,a?"on":"off"),r},in:(t,l,a)=>{let r=new Map;for(const c of t||[])r=o.select({id:c,value:!0,selected:new Map(r),children:l,parents:a});return r},out:t=>{const l=[];for(const[a,r]of t.entries())r==="on"&&l.push(a);return l}};return o},Zo=n=>{const o=Rt(n);return{select:t=>{let{selected:l,id:a,...r}=t;a=e.toRaw(a);const c=l.has(a)?new Map([[a,l.get(a)]]):new Map;return o.select({...r,id:a,selected:c})},in:(t,l,a)=>{let r=new Map;return t!=null&&t.length&&(r=o.in(t.slice(0,1),l,a)),r},out:(t,l,a)=>o.out(t,l,a)}},En=Symbol.for("vuetify:nested"),ia={id:e.shallowRef(),root:{register:()=>null,unregister:()=>null,parents:e.ref(new Map),children:e.ref(new Map),open:()=>null,openOnSelect:()=>null,select:()=>null,opened:e.ref(new Set),selected:e.ref(new Map),selectedValues:e.ref([])}},xr=U({selectStrategy:[String,Function],openStrategy:[String,Object],opened:Array,selected:Array,mandatory:Boolean},"nested"),Fr=n=>{let o=!1;const t=e.ref(new Map),l=e.ref(new Map),a=he(n,"opened",n.opened,v=>new Set(v),v=>[...v.values()]),r=e.computed(()=>{if(typeof n.selectStrategy=="object")return n.selectStrategy;switch(n.selectStrategy){case"single-leaf":return(v=>{const p=Zo(v);return{select:f=>{let{id:y,selected:g,children:m,...b}=f;return y=e.toRaw(y),m.has(y)?g:p.select({id:y,selected:g,children:m,...b})},in:p.in,out:p.out}})(n.mandatory);case"leaf":return(v=>{const p=Rt(v);return{select:f=>{let{id:y,selected:g,children:m,...b}=f;return y=e.toRaw(y),m.has(y)?g:p.select({id:y,selected:g,children:m,...b})},in:p.in,out:p.out}})(n.mandatory);case"independent":return Rt(n.mandatory);case"single-independent":return Zo(n.mandatory);default:return(v=>{const p={select:f=>{let{id:y,value:g,selected:m,children:b,parents:w}=f;y=e.toRaw(y);const N=new Map(m),M=[y];for(;M.length;){const P=M.shift();m.set(P,g?"on":"off"),b.has(P)&&M.push(...b.get(P))}let E=w.get(y);for(;E;){const P=b.get(E),L=P.every(I=>m.get(I)==="on"),A=P.every(I=>!m.has(I)||m.get(I)==="off");m.set(E,L?"on":A?"off":"indeterminate"),E=w.get(E)}return v&&!g&&Array.from(m.entries()).reduce((L,A)=>{let[I,k]=A;return k==="on"?[...L,I]:L},[]).length===0?N:m},in:(f,y,g)=>{let m=new Map;for(const b of f||[])m=p.select({id:b,value:!0,selected:new Map(m),children:y,parents:g});return m},out:(f,y)=>{const g=[];for(const[m,b]of f.entries())b!=="on"||y.has(m)||g.push(m);return g}};return p})(n.mandatory)}}),c=e.computed(()=>{if(typeof n.openStrategy=="object")return n.openStrategy;switch(n.openStrategy){case"list":return kr;case"single":return wr;default:return ra}}),u=he(n,"selected",n.selected,v=>r.value.in(v,t.value,l.value),v=>r.value.out(v,t.value,l.value));function s(v){const p=[];let f=v;for(;f!=null;)p.unshift(f),f=l.value.get(f);return p}e.onBeforeUnmount(()=>{o=!0});const i=Se("nested"),d={id:e.shallowRef(),root:{opened:a,selected:u,selectedValues:e.computed(()=>{const v=[];for(const[p,f]of u.value.entries())f==="on"&&v.push(p);return v}),register:(v,p,f)=>{p&&v!==p&&l.value.set(v,p),f&&t.value.set(v,[]),p!=null&&t.value.set(p,[...t.value.get(p)||[],v])},unregister:v=>{if(o)return;t.value.delete(v);const p=l.value.get(v);if(p){const f=t.value.get(p)??[];t.value.set(p,f.filter(y=>y!==v))}l.value.delete(v),a.value.delete(v)},open:(v,p,f)=>{i.emit("click:open",{id:v,value:p,path:s(v),event:f});const y=c.value.open({id:v,value:p,opened:new Set(a.value),children:t.value,parents:l.value,event:f});y&&(a.value=y)},openOnSelect:(v,p,f)=>{const y=c.value.select({id:v,value:p,selected:new Map(u.value),opened:new Set(a.value),children:t.value,parents:l.value,event:f});y&&(a.value=y)},select:(v,p,f)=>{i.emit("click:select",{id:v,value:p,path:s(v),event:f});const y=r.value.select({id:v,value:p,selected:new Map(u.value),children:t.value,parents:l.value,event:f});y&&(u.value=y),d.root.openOnSelect(v,p,f)},children:t,parents:l}};return e.provide(En,d),d.root},sa=(n,o)=>{const t=e.inject(En,ia),l=Symbol(Pe()),a=e.computed(()=>n.value!==void 0?n.value:l),r={...t,id:a,open:(c,u)=>t.root.open(a.value,c,u),openOnSelect:(c,u)=>t.root.openOnSelect(a.value,c,u),isOpen:e.computed(()=>t.root.opened.value.has(a.value)),parent:e.computed(()=>t.root.parents.value.get(a.value)),select:(c,u)=>t.root.select(a.value,c,u),isSelected:e.computed(()=>t.root.selected.value.get(e.toRaw(a.value))==="on"),isIndeterminate:e.computed(()=>t.root.selected.value.get(a.value)==="indeterminate"),isLeaf:e.computed(()=>!t.root.children.value.get(a.value)),isGroupActivator:t.isGroupActivator};return!t.isGroupActivator&&t.root.register(a.value,t.id.value,o),e.onBeforeUnmount(()=>{!t.isGroupActivator&&t.root.unregister(a.value)}),o&&e.provide(En,r),r},Nr=An({name:"VListGroupActivator",setup(n,o){let{slots:t}=o;return(()=>{const l=e.inject(En,ia);e.provide(En,{...l,isGroupActivator:!0})})(),()=>{var l;return(l=t.default)==null?void 0:l.call(t)}}}),Ar=U({activeColor:String,baseColor:String,color:String,collapseIcon:{type:se,default:"$collapse"},expandIcon:{type:se,default:"$expand"},prependIcon:se,appendIcon:se,fluid:Boolean,subgroup:Boolean,title:String,value:null,...ae(),...Ae()},"VListGroup"),Qo=X()({name:"VListGroup",props:Ar(),setup(n,o){let{slots:t}=o;const{isOpen:l,open:a,id:r}=sa(e.toRef(n,"value"),!0),c=e.computed(()=>`v-list-group--id-${String(r.value)}`),u=aa(),{isBooted:s}=function(){const f=e.shallowRef(!1);return e.onMounted(()=>{window.requestAnimationFrame(()=>{f.value=!0})}),{ssrBootStyles:e.computed(()=>f.value?void 0:{transition:"none !important"}),isBooted:e.readonly(f)}}();function i(f){a(!l.value,f)}const d=e.computed(()=>({onClick:i,class:"v-list-group__header",id:c.value})),v=e.computed(()=>l.value?n.collapseIcon:n.expandIcon),p=e.computed(()=>({VListItem:{active:l.value,activeColor:n.activeColor,baseColor:n.baseColor,color:n.color,prependIcon:n.prependIcon||n.subgroup&&v.value,appendIcon:n.appendIcon||!n.subgroup&&v.value,title:n.title,value:n.value}}));return ee(()=>e.createVNode(n.tag,{class:["v-list-group",{"v-list-group--prepend":u==null?void 0:u.hasPrepend.value,"v-list-group--fluid":n.fluid,"v-list-group--subgroup":n.subgroup,"v-list-group--open":l.value},n.class],style:n.style},{default:()=>[t.activator&&e.createVNode(Be,{defaults:p.value},{default:()=>[e.createVNode(Nr,null,{default:()=>[t.activator({props:d.value,isOpen:l.value})]})]}),e.createVNode(We,{transition:{component:Ja},disabled:!s.value},{default:()=>{var f;return[e.withDirectives(e.createVNode("div",{class:"v-list-group__items",role:"group","aria-labelledby":c.value},[(f=t.default)==null?void 0:f.call(t)]),[[e.vShow,l.value]])]}})]})),{}}}),Pr=$n("v-list-item-subtitle"),_r=$n("v-list-item-title"),Er=U({active:{type:Boolean,default:void 0},activeClass:String,activeColor:String,appendAvatar:String,appendIcon:se,baseColor:String,disabled:Boolean,lines:String,link:{type:Boolean,default:void 0},nav:Boolean,prependAvatar:String,prependIcon:se,ripple:{type:[Boolean,Object],default:!0},slim:Boolean,subtitle:[String,Number],title:[String,Number],value:null,onClick:Ee(),onClickOnce:Ee(),...pn(),...ae(),...ze(),...Je(),...fn(),...De(),...mt(),...Ae(),...Ve(),...Ge({variant:"text"})},"VListItem"),dt=X()({name:"VListItem",directives:{Ripple:Un},props:Er(),emits:{click:n=>!0},setup(n,o){let{attrs:t,slots:l,emit:a}=o;const r=ft(n,t),c=e.computed(()=>n.value===void 0?r.href.value:n.value),{select:u,isSelected:s,isIndeterminate:i,isGroupActivator:d,root:v,parent:p,openOnSelect:f}=sa(c,!1),y=aa(),g=e.computed(()=>{var S;return n.active!==!1&&(n.active||((S=r.isActive)==null?void 0:S.value)||s.value)}),m=e.computed(()=>n.link!==!1&&r.isLink.value),b=e.computed(()=>!n.disabled&&n.link!==!1&&(n.link||r.isClickable.value||n.value!=null&&!!y)),w=e.computed(()=>n.rounded||n.nav),N=e.computed(()=>n.color??n.activeColor),M=e.computed(()=>({color:g.value?N.value??n.baseColor:n.baseColor,variant:n.variant}));e.watch(()=>{var S;return(S=r.isActive)==null?void 0:S.value},S=>{S&&p.value!=null&&v.open(p.value,!0),S&&f(S)},{immediate:!0});const{themeClasses:E}=ke(n),{borderClasses:P}=vn(n),{colorClasses:L,colorStyles:A,variantClasses:I}=Mn(M),{densityClasses:k}=Me(n),{dimensionStyles:C}=Ze(n),{elevationClasses:V}=mn(n),{roundedClasses:B}=Le(w),D=e.computed(()=>n.lines?`v-list-item--${n.lines}-line`:void 0),$=e.computed(()=>({isActive:g.value,select:u,isSelected:s.value,isIndeterminate:i.value}));function F(S){var x;a("click",S),!d&&b.value&&((x=r.navigate)==null||x.call(r,S),n.value!=null&&u(!s.value,S))}function h(S){S.key!=="Enter"&&S.key!==" "||(S.preventDefault(),F(S))}return ee(()=>{const S=m.value?"a":n.tag,x=l.title||n.title!=null,z=l.subtitle||n.subtitle!=null,T=!(!n.appendAvatar&&!n.appendIcon),O=!(!T&&!l.append),H=!(!n.prependAvatar&&!n.prependIcon),_=!(!H&&!l.prepend);var W,R;return y==null||y.updateHasPrepend(_),n.activeColor&&(W="active-color",R=["color","base-color"],R=Array.isArray(R)?R.slice(0,-1).map(j=>`'${j}'`).join(", ")+` or '${R.at(-1)}'`:`'${R}'`,e.warn(`[Vuetify UPGRADE] '${W}' is deprecated, use ${R} instead.`)),e.withDirectives(e.createVNode(S,{class:["v-list-item",{"v-list-item--active":g.value,"v-list-item--disabled":n.disabled,"v-list-item--link":b.value,"v-list-item--nav":n.nav,"v-list-item--prepend":!_&&(y==null?void 0:y.hasPrepend.value),"v-list-item--slim":n.slim,[`${n.activeClass}`]:n.activeClass&&g.value},E.value,P.value,L.value,k.value,V.value,D.value,B.value,I.value,n.class],style:[A.value,C.value,n.style],href:r.href.value,tabindex:b.value?y?-2:0:void 0,onClick:F,onKeydown:b.value&&!m.value&&h},{default:()=>{var j;return[Ln(b.value||g.value,"v-list-item"),_&&e.createVNode("div",{key:"prepend",class:"v-list-item__prepend"},[l.prepend?e.createVNode(Be,{key:"prepend-defaults",disabled:!H,defaults:{VAvatar:{density:n.density,image:n.prependAvatar},VIcon:{density:n.density,icon:n.prependIcon},VListItemAction:{start:!0}}},{default:()=>{var G;return[(G=l.prepend)==null?void 0:G.call(l,$.value)]}}):e.createVNode(e.Fragment,null,[n.prependAvatar&&e.createVNode(rn,{key:"prepend-avatar",density:n.density,image:n.prependAvatar},null),n.prependIcon&&e.createVNode(ce,{key:"prepend-icon",density:n.density,icon:n.prependIcon},null)]),e.createVNode("div",{class:"v-list-item__spacer"},null)]),e.createVNode("div",{class:"v-list-item__content","data-no-activator":""},[x&&e.createVNode(_r,{key:"title"},{default:()=>{var G;return[((G=l.title)==null?void 0:G.call(l,{title:n.title}))??n.title]}}),z&&e.createVNode(Pr,{key:"subtitle"},{default:()=>{var G;return[((G=l.subtitle)==null?void 0:G.call(l,{subtitle:n.subtitle}))??n.subtitle]}}),(j=l.default)==null?void 0:j.call(l,$.value)]),O&&e.createVNode("div",{key:"append",class:"v-list-item__append"},[l.append?e.createVNode(Be,{key:"append-defaults",disabled:!T,defaults:{VAvatar:{density:n.density,image:n.appendAvatar},VIcon:{density:n.density,icon:n.appendIcon},VListItemAction:{end:!0}}},{default:()=>{var G;return[(G=l.append)==null?void 0:G.call(l,$.value)]}}):e.createVNode(e.Fragment,null,[n.appendIcon&&e.createVNode(ce,{key:"append-icon",density:n.density,icon:n.appendIcon},null),n.appendAvatar&&e.createVNode(rn,{key:"append-avatar",density:n.density,image:n.appendAvatar},null)]),e.createVNode("div",{class:"v-list-item__spacer"},null)])]}}),[[e.resolveDirective("ripple"),b.value&&n.ripple]])}),{}}}),Or=U({color:String,inset:Boolean,sticky:Boolean,title:String,...ae(),...Ae()},"VListSubheader"),zr=X()({name:"VListSubheader",props:Or(),setup(n,o){let{slots:t}=o;const{textColorClasses:l,textColorStyles:a}=Re(e.toRef(n,"color"));return ee(()=>{const r=!(!t.default&&!n.title);return e.createVNode(n.tag,{class:["v-list-subheader",{"v-list-subheader--inset":n.inset,"v-list-subheader--sticky":n.sticky},l.value,n.class],style:[{textColorStyles:a},n.style]},{default:()=>{var c;return[r&&e.createVNode("div",{class:"v-list-subheader__text"},[((c=t.default)==null?void 0:c.call(t))??n.title])]}})}),{}}}),Tr=U({color:String,inset:Boolean,length:[Number,String],thickness:[Number,String],vertical:Boolean,...ae(),...Ve()},"VDivider"),$r=X()({name:"VDivider",props:Tr(),setup(n,o){let{attrs:t}=o;const{themeClasses:l}=ke(n),{textColorClasses:a,textColorStyles:r}=Re(e.toRef(n,"color")),c=e.computed(()=>{const u={};return n.length&&(u[n.vertical?"maxHeight":"maxWidth"]=J(n.length)),n.thickness&&(u[n.vertical?"borderRightWidth":"borderTopWidth"]=J(n.thickness)),u});return ee(()=>e.createVNode("hr",{class:[{"v-divider":!0,"v-divider--inset":n.inset,"v-divider--vertical":n.vertical},l.value,a.value,n.class],style:[c.value,r.value,n.style],"aria-orientation":t.role&&t.role!=="separator"?void 0:n.vertical?"vertical":"horizontal",role:`${t.role||"separator"}`},null)),{}}}),Rr=U({items:Array,returnObject:Boolean},"VListChildren"),ua=X()({name:"VListChildren",props:Rr(),setup(n,o){let{slots:t}=o;return la(),()=>{var l,a;return((l=t.default)==null?void 0:l.call(t))??((a=n.items)==null?void 0:a.map(r=>{var p,f;let{children:c,props:u,type:s,raw:i}=r;if(s==="divider")return((p=t.divider)==null?void 0:p.call(t,{props:u}))??e.createVNode($r,u,null);if(s==="subheader")return((f=t.subheader)==null?void 0:f.call(t,{props:u}))??e.createVNode(zr,u,null);const d={subtitle:t.subtitle?y=>{var g;return(g=t.subtitle)==null?void 0:g.call(t,{...y,item:i})}:void 0,prepend:t.prepend?y=>{var g;return(g=t.prepend)==null?void 0:g.call(t,{...y,item:i})}:void 0,append:t.append?y=>{var g;return(g=t.append)==null?void 0:g.call(t,{...y,item:i})}:void 0,title:t.title?y=>{var g;return(g=t.title)==null?void 0:g.call(t,{...y,item:i})}:void 0},v=Qo.filterProps(u);return c?e.createVNode(Qo,e.mergeProps({value:u==null?void 0:u.value},v),{activator:y=>{let{props:g}=y;const m={...u,...g,value:n.returnObject?i:u.value};return t.header?t.header({props:m}):e.createVNode(dt,m,d)},default:()=>e.createVNode(ua,{items:c},t)}):t.item?t.item({props:u}):e.createVNode(dt,e.mergeProps(u,{value:n.returnObject?i:u.value}),d)}))}}}),ca=U({items:{type:Array,default:()=>[]},itemTitle:{type:[String,Array,Function],default:"title"},itemValue:{type:[String,Array,Function],default:"value"},itemChildren:{type:[Boolean,String,Array,Function],default:"children"},itemProps:{type:[Boolean,String,Array,Function],default:"props"},returnObject:Boolean,valueComparator:{type:Function,default:cn}},"list-items");function Dt(n,o){const t=Te(o,n.itemTitle,o),l=Te(o,n.itemValue,t),a=Te(o,n.itemChildren),r={title:t,value:l,...n.itemProps===!0?typeof o!="object"||o==null||Array.isArray(o)?void 0:"children"in o?Ke(o,["children"]):o:Te(o,n.itemProps)};return{title:String(r.title??""),value:r.value,props:r,children:Array.isArray(a)?da(n,a):void 0,raw:o}}function da(n,o){const t=[];for(const l of o)t.push(Dt(n,l));return t}function Dr(n,o){const t=Te(o,n.itemType,"item"),l=function(u){return typeof u=="string"||typeof u=="number"||typeof u=="boolean"}(o)?o:Te(o,n.itemTitle),a=Te(o,n.itemValue,void 0),r=Te(o,n.itemChildren),c={title:l,value:a,...n.itemProps===!0?Ke(o,["children"]):Te(o,n.itemProps)};return{type:t,title:c.title,value:c.value,props:c,children:t==="item"&&r?pa(n,r):void 0,raw:o}}function pa(n,o){const t=[];for(const l of o)t.push(Dr(n,l));return t}const Lr=U({baseColor:String,activeColor:String,activeClass:String,bgColor:String,disabled:Boolean,lines:{type:[Boolean,String],default:"one"},slim:Boolean,nav:Boolean,...xr({selectStrategy:"single-leaf",openStrategy:"list"}),...pn(),...ae(),...ze(),...Je(),...fn(),itemType:{type:String,default:"type"},...ca(),...De(),...Ae(),...Ve(),...Ge({variant:"text"})},"VList"),Mr=X()({name:"VList",props:Lr(),emits:{"update:selected":n=>!0,"update:opened":n=>!0,"click:open":n=>!0,"click:select":n=>!0},setup(n,o){let{slots:t}=o;const{items:l}=function(I){return{items:e.computed(()=>pa(I,I.items))}}(n),{themeClasses:a}=ke(n),{backgroundColorClasses:r,backgroundColorStyles:c}=an(e.toRef(n,"bgColor")),{borderClasses:u}=vn(n),{densityClasses:s}=Me(n),{dimensionStyles:i}=Ze(n),{elevationClasses:d}=mn(n),{roundedClasses:v}=Le(n),{open:p,select:f}=Fr(n),y=e.computed(()=>n.lines?`v-list--${n.lines}-line`:void 0),g=e.toRef(n,"activeColor"),m=e.toRef(n,"baseColor"),b=e.toRef(n,"color");la(),dn({VListGroup:{activeColor:g,baseColor:m,color:b},VListItem:{activeClass:e.toRef(n,"activeClass"),activeColor:g,baseColor:m,color:b,density:e.toRef(n,"density"),disabled:e.toRef(n,"disabled"),lines:e.toRef(n,"lines"),nav:e.toRef(n,"nav"),slim:e.toRef(n,"slim"),variant:e.toRef(n,"variant")}});const w=e.shallowRef(!1),N=e.ref();function M(I){w.value=!0}function E(I){w.value=!1}function P(I){var k;w.value||I.relatedTarget&&((k=N.value)!=null&&k.contains(I.relatedTarget))||A()}function L(I){if(N.value){if(I.key==="ArrowDown")A("next");else if(I.key==="ArrowUp")A("prev");else if(I.key==="Home")A("first");else{if(I.key!=="End")return;A("last")}I.preventDefault()}}function A(I){if(N.value)return ot(N.value,I)}return ee(()=>e.createVNode(n.tag,{ref:N,class:["v-list",{"v-list--disabled":n.disabled,"v-list--nav":n.nav},a.value,r.value,u.value,s.value,d.value,y.value,v.value,n.class],style:[c.value,i.value,n.style],tabindex:n.disabled||w.value?-1:0,role:"listbox","aria-activedescendant":void 0,onFocusin:M,onFocusout:E,onFocus:P,onKeydown:L},{default:()=>[e.createVNode(ua,{items:l.value,returnObject:n.returnObject},t)]})),{open:p,select:f,focus:A}}});function kt(n,o){return{x:n.x+o.x,y:n.y+o.y}}function el(n,o){if(n.side==="top"||n.side==="bottom"){const{side:t,align:l}=n;return kt({x:l==="left"?0:l==="center"?o.width/2:l==="right"?o.width:l,y:t==="top"?0:t==="bottom"?o.height:t},o)}if(n.side==="left"||n.side==="right"){const{side:t,align:l}=n;return kt({x:t==="left"?0:t==="right"?o.width:t,y:l==="top"?0:l==="center"?o.height/2:l==="bottom"?o.height:l},o)}return kt({x:o.width/2,y:o.height/2},o)}const va={static:function(){},connected:function(n,o,t){(Array.isArray(n.target.value)||function(f){for(;f;){if(window.getComputedStyle(f).position==="fixed")return!0;f=f.offsetParent}return!1}(n.target.value))&&Object.assign(t.value,{position:"fixed",top:0,[n.isRtl.value?"right":"left"]:0});const{preferredAnchor:l,preferredOrigin:a}=Qt(()=>{const f=Et(o.location,n.isRtl.value),y=o.origin==="overlap"?f:o.origin==="auto"?It(f):Et(o.origin,n.isRtl.value);return f.side===y.side&&f.align===Vt(y).align?{preferredAnchor:ko(f),preferredOrigin:ko(y)}:{preferredAnchor:f,preferredOrigin:y}}),[r,c,u,s]=["minWidth","minHeight","maxWidth","maxHeight"].map(f=>e.computed(()=>{const y=parseFloat(o[f]);return isNaN(y)?1/0:y})),i=e.computed(()=>{if(Array.isArray(o.offset))return o.offset;if(typeof o.offset=="string"){const f=o.offset.split(" ").map(parseFloat);return f.length<2&&f.push(0),f}return typeof o.offset=="number"?[o.offset,0]:[0,0]});let d=!1;const v=new ResizeObserver(()=>{d&&p()});function p(){if(d=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>d=!0)}),!n.target.value||!n.contentEl.value)return;const f=Cl(n.target.value),y=function(k,C){C?k.style.removeProperty("left"):k.style.removeProperty("right");const V=eo(k);return C?V.x+=parseFloat(k.style.right||0):V.x-=parseFloat(k.style.left||0),V.y-=parseFloat(k.style.top||0),V}(n.contentEl.value,n.isRtl.value),g=it(n.contentEl.value);g.length||(g.push(document.documentElement),n.contentEl.value.style.top&&n.contentEl.value.style.left||(y.x-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x")||0),y.y-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y")||0)));const m=g.reduce((k,C)=>{const V=C.getBoundingClientRect(),B=new He({x:C===document.documentElement?0:V.x,y:C===document.documentElement?0:V.y,width:C.clientWidth,height:C.clientHeight});return k?new He({x:Math.max(k.left,B.left),y:Math.max(k.top,B.top),width:Math.min(k.right,B.right)-Math.max(k.left,B.left),height:Math.min(k.bottom,B.bottom)-Math.max(k.top,B.top)}):B},void 0);m.x+=12,m.y+=12,m.width-=24,m.height-=24;let b={anchor:l.value,origin:a.value};function w(k){const C=new He(y),V=el(k.anchor,f),B=el(k.origin,C);let{x:D,y:$}=(h=B,{x:(F=V).x-h.x,y:F.y-h.y});var F,h;switch(k.anchor.side){case"top":$-=i.value[0];break;case"bottom":$+=i.value[0];break;case"left":D-=i.value[0];break;case"right":D+=i.value[0]}switch(k.anchor.align){case"top":$-=i.value[1];break;case"bottom":$+=i.value[1];break;case"left":D-=i.value[1];break;case"right":D+=i.value[1]}return C.x+=D,C.y+=$,C.width=Math.min(C.width,u.value),C.height=Math.min(C.height,s.value),{overflows:Fo(C,m),x:D,y:$}}let N=0,M=0;const E={x:0,y:0},P={x:!1,y:!1};let L=-1;for(;;){if(L++>10){A="Infinite loop detected in connectedLocationStrategy",e.warn(`Vuetify error: ${A}`);break}const{x:k,y:C,overflows:V}=w(b);N+=k,M+=C,y.x+=k,y.y+=C;{const B=xo(b.anchor),D=V.x.before||V.x.after,$=V.y.before||V.y.after;let F=!1;if(["x","y"].forEach(h=>{if(h==="x"&&D&&!P.x||h==="y"&&$&&!P.y){const S={anchor:{...b.anchor},origin:{...b.origin}},x=h==="x"?B==="y"?Vt:It:B==="y"?It:Vt;S.anchor=x(S.anchor),S.origin=x(S.origin);const{overflows:z}=w(S);(z[h].before<=V[h].before&&z[h].after<=V[h].after||z[h].before+z[h].after<(V[h].before+V[h].after)/2)&&(b=S,F=P[h]=!0)}}),F)continue}V.x.before&&(N+=V.x.before,y.x+=V.x.before),V.x.after&&(N-=V.x.after,y.x-=V.x.after),V.y.before&&(M+=V.y.before,y.y+=V.y.before),V.y.after&&(M-=V.y.after,y.y-=V.y.after);{const B=Fo(y,m);E.x=m.width-B.x.before-B.x.after,E.y=m.height-B.y.before-B.y.after,N+=B.x.before,y.x+=B.x.before,M+=B.y.before,y.y+=B.y.before}break}var A;const I=xo(b.anchor);return Object.assign(t.value,{"--v-overlay-anchor-origin":`${b.anchor.side} ${b.anchor.align}`,transformOrigin:`${b.origin.side} ${b.origin.align}`,top:J(xt(M)),left:n.isRtl.value?void 0:J(xt(N)),right:n.isRtl.value?J(xt(-N)):void 0,minWidth:J(I==="y"?Math.min(r.value,f.width):r.value),maxWidth:J(nl(ln(E.x,r.value===1/0?0:r.value,u.value))),maxHeight:J(nl(ln(E.y,c.value===1/0?0:c.value,s.value)))}),{available:E,contentBox:y}}return e.watch([n.target,n.contentEl],(f,y)=>{let[g,m]=f,[b,w]=y;b&&!Array.isArray(b)&&v.unobserve(b),g&&!Array.isArray(g)&&v.observe(g),w&&v.unobserve(w),m&&v.observe(m)},{immediate:!0}),e.onScopeDispose(()=>{v.disconnect()}),e.watch(()=>[l.value,a.value,o.offset,o.minWidth,o.minHeight,o.maxWidth,o.maxHeight],()=>p()),e.nextTick(()=>{const f=p();if(!f)return;const{available:y,contentBox:g}=f;g.height>y.y&&requestAnimationFrame(()=>{p(),requestAnimationFrame(()=>{p()})})}),{updateLocation:p}}},Wr=U({locationStrategy:{type:[String,Function],default:"static",validator:n=>typeof n=="function"||n in va},location:{type:String,default:"bottom"},origin:{type:String,default:"auto"},offset:[Number,String,Array]},"VOverlay-location-strategies");function xt(n){return Math.round(n*devicePixelRatio)/devicePixelRatio}function nl(n){return Math.ceil(n*devicePixelRatio)/devicePixelRatio}let Lt=!0;const pt=[];let tl=-1;function Mt(){cancelAnimationFrame(tl),tl=requestAnimationFrame(()=>{const n=pt.shift();n&&n(),pt.length?Mt():Lt=!0})}const et={none:null,close:function(n){ol(n.targetEl.value??n.contentEl.value,function(o){n.isActive.value=!1})},block:function(n,o){var u;const t=(u=n.root.value)==null?void 0:u.offsetParent,l=[...new Set([...it(n.targetEl.value,o.contained?t:void 0),...it(n.contentEl.value,o.contained?t:void 0)])].filter(s=>!s.classList.contains("v-overlay-scroll-blocked")),a=window.innerWidth-document.documentElement.offsetWidth,r=(c=t||document.documentElement,to(c)&&c);var c;r&&n.root.value.classList.add("v-overlay--scroll-blocked"),l.forEach((s,i)=>{s.style.setProperty("--v-body-scroll-x",J(-s.scrollLeft)),s.style.setProperty("--v-body-scroll-y",J(-s.scrollTop)),s!==document.documentElement&&s.style.setProperty("--v-scrollbar-offset",J(a)),s.classList.add("v-overlay-scroll-blocked")}),e.onScopeDispose(()=>{l.forEach((s,i)=>{const d=parseFloat(s.style.getPropertyValue("--v-body-scroll-x")),v=parseFloat(s.style.getPropertyValue("--v-body-scroll-y"));s.style.removeProperty("--v-body-scroll-x"),s.style.removeProperty("--v-body-scroll-y"),s.style.removeProperty("--v-scrollbar-offset"),s.classList.remove("v-overlay-scroll-blocked"),s.scrollLeft=-d,s.scrollTop=-v}),r&&n.root.value.classList.remove("v-overlay--scroll-blocked")})},reposition:function(n,o,t){let l=!1,a=-1,r=-1;function c(u){var s;s=()=>{var v,p;const i=performance.now();(p=(v=n.updateLocation).value)==null||p.call(v,u),l=(performance.now()-i)/(1e3/60)>2},!Lt||pt.length?(pt.push(s),Mt()):(Lt=!1,s(),Mt())}r=(typeof requestIdleCallback>"u"?u=>u():requestIdleCallback)(()=>{t.run(()=>{ol(n.targetEl.value??n.contentEl.value,u=>{l?(cancelAnimationFrame(a),a=requestAnimationFrame(()=>{a=requestAnimationFrame(()=>{c(u)})})):c(u)})})}),e.onScopeDispose(()=>{typeof cancelIdleCallback<"u"&&cancelIdleCallback(r),cancelAnimationFrame(a)})}},jr=U({scrollStrategy:{type:[String,Function],default:"block",validator:n=>typeof n=="function"||n in et}},"VOverlay-scroll-strategies");function ol(n,o){const t=[document,...it(n)];t.forEach(l=>{l.addEventListener("scroll",o,{passive:!0})}),e.onScopeDispose(()=>{t.forEach(l=>{l.removeEventListener("scroll",o)})})}const Wt=Symbol.for("vuetify:v-menu"),Ur=U({closeDelay:[Number,String],openDelay:[Number,String]},"delay"),Gr=U({target:[String,Object],activator:[String,Object],activatorProps:{type:Object,default:()=>({})},openOnClick:{type:Boolean,default:void 0},openOnHover:Boolean,openOnFocus:{type:Boolean,default:void 0},closeOnContentClick:Boolean,...Ur()},"VOverlay-activator");function qr(n,o){let{isActive:t,isTop:l}=o;const a=Se("useActivator"),r=e.ref();let c=!1,u=!1,s=!0;const i=e.computed(()=>n.openOnFocus||n.openOnFocus==null&&n.openOnHover),d=e.computed(()=>n.openOnClick||n.openOnClick==null&&!n.openOnHover&&!i.value),{runOpenDelay:v,runCloseDelay:p}=function(C,V){const B={},D=$=>()=>{if(!xe)return Promise.resolve(!0);const F=$==="openDelay";return B.closeDelay&&window.clearTimeout(B.closeDelay),delete B.closeDelay,B.openDelay&&window.clearTimeout(B.openDelay),delete B.openDelay,new Promise(h=>{const S=parseInt(C[$]??0,10);B[$]=window.setTimeout(()=>{V==null||V(F),h(F)},S)})};return{runCloseDelay:D("closeDelay"),runOpenDelay:D("openDelay")}}(n,C=>{C!==(n.openOnHover&&c||i.value&&u)||n.openOnHover&&t.value&&!l.value||(t.value!==C&&(s=!0),t.value=C)}),f=e.ref(),y=C=>{C.stopPropagation(),r.value=C.currentTarget||C.target,t.value||(f.value=[C.clientX,C.clientY]),t.value=!t.value},g=C=>{var V;(V=C.sourceCapabilities)!=null&&V.firesTouchEvents||(c=!0,r.value=C.currentTarget||C.target,v())},m=C=>{c=!1,p()},b=C=>{lt(C.target,":focus-visible")!==!1&&(u=!0,C.stopPropagation(),r.value=C.currentTarget||C.target,v())},w=C=>{u=!1,C.stopPropagation(),p()},N=e.computed(()=>{const C={};return d.value&&(C.onClick=y),n.openOnHover&&(C.onMouseenter=g,C.onMouseleave=m),i.value&&(C.onFocus=b,C.onBlur=w),C}),M=e.computed(()=>{const C={};if(n.openOnHover&&(C.onMouseenter=()=>{c=!0,v()},C.onMouseleave=()=>{c=!1,p()}),i.value&&(C.onFocusin=()=>{u=!0,v()},C.onFocusout=()=>{u=!1,p()}),n.closeOnContentClick){const V=e.inject(Wt,null);C.onClick=()=>{t.value=!1,V==null||V.closeParents()}}return C}),E=e.computed(()=>{const C={};return n.openOnHover&&(C.onMouseenter=()=>{s&&(c=!0,s=!1,v())},C.onMouseleave=()=>{c=!1,p()}),C});e.watch(l,C=>{!C||(!n.openOnHover||c||i.value&&u)&&(!i.value||u||n.openOnHover&&c)||(t.value=!1)}),e.watch(t,C=>{C||setTimeout(()=>{f.value=void 0})},{flush:"post"});const P=e.ref();e.watchEffect(()=>{P.value&&e.nextTick(()=>{r.value=nt(P.value)})});const L=e.ref(),A=e.computed(()=>n.target==="cursor"&&f.value?f.value:L.value?nt(L.value):ll(n.target,a)||r.value),I=e.computed(()=>Array.isArray(A.value)?void 0:A.value);let k;return e.watch(()=>!!n.activator,C=>{C&&xe?(k=e.effectScope(),k.run(()=>{(function(V,B,D){let{activatorEl:$,activatorEvents:F}=D;function h(){let z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:x(),T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:V.activatorProps;z&&function(O,H){Object.keys(H).forEach(_=>{if(Pt(_)){const W=Vo(_),R=Yn.get(O);if(H[_]==null)R==null||R.forEach(j=>{const[G,Y]=j;G===W&&(O.removeEventListener(W,Y),R.delete(j))});else if(!R||![...R].some(j=>j[0]===W&&j[1]===H[_])){O.addEventListener(W,H[_]);const j=R||new Set;j.add([W,H[_]]),Yn.has(O)||Yn.set(O,j)}}else H[_]==null?O.removeAttribute(_):O.setAttribute(_,H[_])})}(z,e.mergeProps(F.value,T))}function S(){let z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:x(),T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:V.activatorProps;z&&function(O,H){Object.keys(H).forEach(_=>{if(Pt(_)){const W=Vo(_),R=Yn.get(O);R==null||R.forEach(j=>{const[G,Y]=j;G===W&&(O.removeEventListener(W,Y),R.delete(j))})}else O.removeAttribute(_)})}(z,e.mergeProps(F.value,T))}function x(){const z=ll(arguments.length>0&&arguments[0]!==void 0?arguments[0]:V.activator,B);return $.value=(z==null?void 0:z.nodeType)===Node.ELEMENT_NODE?z:void 0,$.value}e.watch(()=>V.activator,(z,T)=>{if(T&&z!==T){const O=x(T);O&&S(O)}z&&e.nextTick(()=>h())},{immediate:!0}),e.watch(()=>V.activatorProps,()=>{h()}),e.onScopeDispose(()=>{S()})})(n,a,{activatorEl:r,activatorEvents:N})})):k&&k.stop()},{flush:"post",immediate:!0}),e.onScopeDispose(()=>{k==null||k.stop()}),{activatorEl:r,activatorRef:P,target:A,targetEl:I,targetRef:L,activatorEvents:N,contentEvents:M,scrimEvents:E}}function ll(n,o){var l,a;if(!n)return;let t;if(n==="parent"){let r=(a=(l=o==null?void 0:o.proxy)==null?void 0:l.$el)==null?void 0:a.parentNode;for(;r!=null&&r.hasAttribute("data-no-activator");)r=r.parentNode;t=r}else t=typeof n=="string"?document.querySelector(n):"$el"in n?n.$el:n;return t}const Hr=Symbol.for("vuetify:display");function fa(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Oe();const t=e.inject(Hr);if(!t)throw new Error("Could not find Vuetify display injection");const l=e.computed(()=>{if(!n.mobileBreakpoint)return t.mobile.value;const r=typeof n.mobileBreakpoint=="number"?n.mobileBreakpoint:t.thresholds.value[n.mobileBreakpoint];return t.width.valueo?{[`${o}--mobile`]:l.value}:{});return{...t,displayClasses:a,mobile:l}}const Yr=U({eager:Boolean},"lazy");function ma(){const n=Se("useScopeId").vnode.scopeId;return{scopeId:n?{[n]:""}:void 0}}const al=Symbol.for("vuetify:stack"),kn=e.reactive([]);function Xr(){return!0}function rl(n,o,t){if(!n||ya(n,t)===!1)return!1;const l=Il(o);if(typeof ShadowRoot<"u"&&l instanceof ShadowRoot&&l.host===n.target)return!1;const a=(typeof t.value=="object"&&t.value.include||(()=>[]))();return a.push(o),!a.some(r=>r==null?void 0:r.contains(n.target))}function ya(n,o){return(typeof o.value=="object"&&o.value.closeConditional||Xr)(n)}function il(n,o){const t=Il(n);o(document),typeof ShadowRoot<"u"&&t instanceof ShadowRoot&&o(t)}const Kr={mounted(n,o){const t=a=>function(r,c,u){const s=typeof u.value=="function"?u.value:u.value.handler;c._clickOutside.lastMousedownWasOutside&&rl(r,c,u)&&setTimeout(()=>{ya(r,u)&&s&&s(r)},0)}(a,n,o),l=a=>{n._clickOutside.lastMousedownWasOutside=rl(a,n,o)};il(n,a=>{a.addEventListener("click",t,!0),a.addEventListener("mousedown",l,!0)}),n._clickOutside||(n._clickOutside={lastMousedownWasOutside:!1}),n._clickOutside[o.instance.$.uid]={onClick:t,onMousedown:l}},unmounted(n,o){n._clickOutside&&(il(n,t=>{var r;if(!t||!((r=n._clickOutside)!=null&&r[o.instance.$.uid]))return;const{onClick:l,onMousedown:a}=n._clickOutside[o.instance.$.uid];t.removeEventListener("click",l,!0),t.removeEventListener("mousedown",a,!0)}),delete n._clickOutside[o.instance.$.uid])}};function Jr(n){const{modelValue:o,color:t,...l}=n;return e.createVNode(e.Transition,{name:"fade-transition",appear:!0},{default:()=>[n.modelValue&&e.createVNode("div",e.mergeProps({class:["v-overlay__scrim",n.color.backgroundColorClasses.value],style:n.color.backgroundColorStyles.value},l),null)]})}const ga=U({absolute:Boolean,attach:[Boolean,String,Object],closeOnBack:{type:Boolean,default:!0},contained:Boolean,contentClass:null,contentProps:null,disabled:Boolean,noClickAnimation:Boolean,modelValue:Boolean,persistent:Boolean,scrim:{type:[Boolean,String],default:!0},zIndex:{type:[Number,String],default:2e3},...Gr(),...ae(),...Je(),...Yr(),...Wr(),...jr(),...Ve(),...Dn()},"VOverlay"),sl=X()({name:"VOverlay",directives:{ClickOutside:Kr},inheritAttrs:!1,props:{_disableGlobalStack:Boolean,...ga()},emits:{"click:outside":n=>!0,"update:modelValue":n=>!0,afterLeave:()=>!0},setup(n,o){var O,H;let{slots:t,attrs:l,emit:a}=o;const r=he(n,"modelValue"),c=e.computed({get:()=>r.value,set:_=>{_&&n.disabled||(r.value=_)}}),{teleportTarget:u}=function(_){return{teleportTarget:e.computed(()=>{const W=_.value;if(W===!0||!xe)return;const R=W===!1?document.body:typeof W=="string"?document.querySelector(W):W;if(R==null)return void e.warn(`Unable to locate target ${W}`);let j=R.querySelector(":scope > .v-overlay-container");return j||(j=document.createElement("div"),j.className="v-overlay-container",R.appendChild(j)),j})}}(e.computed(()=>n.attach||n.contained)),{themeClasses:s}=ke(n),{rtlClasses:i,isRtl:d}=Rn(),{hasContent:v,onAfterLeave:p}=function(_,W){const R=e.shallowRef(!1),j=e.computed(()=>R.value||_.eager||W.value);return e.watch(W,()=>R.value=!0),{isBooted:R,hasContent:j,onAfterLeave:function(){_.eager||(R.value=!1)}}}(n,c),f=an(e.computed(()=>typeof n.scrim=="string"?n.scrim:null)),{globalTop:y,localTop:g,stackStyles:m}=function(_,W,R){const j=Se("useStack"),G=!R,Y=e.inject(al,void 0),te=e.reactive({activeChildren:new Set});e.provide(al,te);const ie=e.shallowRef(+W.value);Ye(_,()=>{var pe;const fe=(pe=kn.at(-1))==null?void 0:pe[1];ie.value=fe?fe+10:+W.value,G&&kn.push([j.uid,ie.value]),Y==null||Y.activeChildren.add(j.uid),e.onScopeDispose(()=>{if(G){const de=e.toRaw(kn).findIndex(ge=>ge[0]===j.uid);kn.splice(de,1)}Y==null||Y.activeChildren.delete(j.uid)})});const re=e.shallowRef(!0);G&&e.watchEffect(()=>{var pe;const fe=((pe=kn.at(-1))==null?void 0:pe[0])===j.uid;setTimeout(()=>re.value=fe)});const Ie=e.computed(()=>!te.activeChildren.size);return{globalTop:e.readonly(re),localTop:Ie,stackStyles:e.computed(()=>({zIndex:ie.value}))}}(c,e.toRef(n,"zIndex"),n._disableGlobalStack),{activatorEl:b,activatorRef:w,target:N,targetEl:M,targetRef:E,activatorEvents:P,contentEvents:L,scrimEvents:A}=qr(n,{isActive:c,isTop:g}),{dimensionStyles:I}=Ze(n),k=function(){if(!xe)return e.shallowRef(!1);const{ssr:_}=fa();if(_){const W=e.shallowRef(!1);return e.onMounted(()=>{W.value=!0}),W}return e.shallowRef(!0)}(),{scopeId:C}=ma();e.watch(()=>n.disabled,_=>{_&&(c.value=!1)});const V=e.ref(),B=e.ref(),{contentStyles:D,updateLocation:$}=function(_,W){const R=e.ref({}),j=e.ref();function G(Y){var te;(te=j.value)==null||te.call(j,Y)}return xe&&Ye(()=>!(!W.isActive.value||!_.locationStrategy),Y=>{var te,ie;e.watch(()=>_.locationStrategy,Y),e.onScopeDispose(()=>{window.removeEventListener("resize",G),j.value=void 0}),window.addEventListener("resize",G,{passive:!0}),typeof _.locationStrategy=="function"?j.value=(te=_.locationStrategy(W,_,R))==null?void 0:te.updateLocation:j.value=(ie=va[_.locationStrategy](W,_,R))==null?void 0:ie.updateLocation}),{contentStyles:R,updateLocation:j}}(n,{isRtl:d,contentEl:B,target:N,isActive:c});function F(_){a("click:outside",_),n.persistent?T():c.value=!1}function h(){return c.value&&y.value}function S(_){var W,R;_.key==="Escape"&&y.value&&(n.persistent?T():(c.value=!1,(W=B.value)!=null&&W.contains(document.activeElement)&&((R=b.value)==null||R.focus())))}(function(_,W){if(!xe)return;let R;e.watchEffect(async()=>{R==null||R.stop(),W.isActive.value&&_.scrollStrategy&&(R=e.effectScope(),await e.nextTick(),R.active&&R.run(()=>{var j;typeof _.scrollStrategy=="function"?_.scrollStrategy(W,_,R):(j=et[_.scrollStrategy])==null||j.call(et,W,_,R)}))}),e.onScopeDispose(()=>{R==null||R.stop()})})(n,{root:V,contentEl:B,targetEl:M,isActive:c,updateLocation:$}),xe&&e.watch(c,_=>{_?window.addEventListener("keydown",S):window.removeEventListener("keydown",S)},{immediate:!0});const x=(H=(O=Se("useRouter"))==null?void 0:O.proxy)==null?void 0:H.$router;Ye(()=>n.closeOnBack,()=>{(function(_,W){let R,j,G=!1;function Y(te){var ie;(ie=te.state)!=null&&ie.replaced||(G=!0,setTimeout(()=>G=!1))}xe&&(e.nextTick(()=>{window.addEventListener("popstate",Y),R=_==null?void 0:_.beforeEach((te,ie,re)=>{wt?G?W(re):re():setTimeout(()=>G?W(re):re()),wt=!0}),j=_==null?void 0:_.afterEach(()=>{wt=!1})}),e.onScopeDispose(()=>{window.removeEventListener("popstate",Y),R==null||R(),j==null||j()}))})(x,_=>{y.value&&c.value?(_(!1),n.persistent?T():c.value=!1):_()})});const z=e.ref();function T(){n.noClickAnimation||B.value&&on(B.value,[{transformOrigin:"center"},{transform:"scale(1.03)"},{transformOrigin:"center"}],{duration:150,easing:rt})}return e.watch(()=>c.value&&(n.absolute||n.contained)&&u.value==null,_=>{if(_){const W=Bl(V.value);W&&W!==document.scrollingElement&&(z.value=W.scrollTop)}}),ee(()=>{var _;return e.createVNode(e.Fragment,null,[(_=t.activator)==null?void 0:_.call(t,{isActive:c.value,props:e.mergeProps({ref:w,targetRef:E},P.value,n.activatorProps)}),k.value&&v.value&&e.createVNode(e.Teleport,{disabled:!u.value,to:u.value},{default:()=>[e.createVNode("div",e.mergeProps({class:["v-overlay",{"v-overlay--absolute":n.absolute||n.contained,"v-overlay--active":c.value,"v-overlay--contained":n.contained},s.value,i.value,n.class],style:[m.value,{top:J(z.value)},n.style],ref:V},C,l),[e.createVNode(Jr,e.mergeProps({color:f,modelValue:c.value&&!!n.scrim},A.value),null),e.createVNode(We,{appear:!0,persisted:!0,transition:n.transition,target:N.value,onAfterLeave:()=>{p(),a("afterLeave")}},{default:()=>{var W;return[e.withDirectives(e.createVNode("div",e.mergeProps({ref:B,class:["v-overlay__content",n.contentClass],style:[I.value,D.value]},L.value,n.contentProps),[(W=t.default)==null?void 0:W.call(t,{isActive:c})]),[[e.vShow,c.value],[e.resolveDirective("click-outside"),{handler:F,closeConditional:h,include:()=>[b.value]}]])]}})])]})])}),{activatorEl:b,target:N,animateClick:T,contentEl:B,globalTop:y,localTop:g,updateLocation:$}}}),Ft=Symbol("Forwarded refs");function Nt(n,o){let t=n;for(;t;){const l=Reflect.getOwnPropertyDescriptor(t,o);if(l)return l;t=Object.getPrototypeOf(t)}}function yt(n){for(var o=arguments.length,t=new Array(o>1?o-1:0),l=1;l!0},setup(n,o){let{slots:t}=o;const l=he(n,"modelValue"),{scopeId:a}=ma(),r=Pe(),c=e.computed(()=>n.id||`v-menu-${r}`),u=e.ref(),s=e.inject(Wt,null),i=e.shallowRef(0);async function d(g){var w,N,M;const m=g.relatedTarget,b=g.target;await e.nextTick(),l.value&&m!==b&&((w=u.value)!=null&&w.contentEl)&&((N=u.value)!=null&&N.globalTop)&&![document,u.value.contentEl].includes(b)&&!u.value.contentEl.contains(b)&&((M=_t(u.value.contentEl)[0])==null||M.focus())}function v(){s==null||s.closeParents()}function p(g){var m,b,w;!n.disabled&&g.key==="Tab"&&(gl(_t((m=u.value)==null?void 0:m.contentEl,!1),g.shiftKey?"prev":"next",N=>N.tabIndex>=0)||(l.value=!1,(w=(b=u.value)==null?void 0:b.activatorEl)==null||w.focus()))}function f(g){var b;if(n.disabled)return;const m=(b=u.value)==null?void 0:b.contentEl;m&&l.value?g.key==="ArrowDown"?(g.preventDefault(),ot(m,"next")):g.key==="ArrowUp"&&(g.preventDefault(),ot(m,"prev")):["ArrowDown","ArrowUp"].includes(g.key)&&(l.value=!0,g.preventDefault(),setTimeout(()=>setTimeout(()=>f(g))))}e.provide(Wt,{register(){++i.value},unregister(){--i.value},closeParents(){setTimeout(()=>{i.value||(l.value=!1,s==null||s.closeParents())},40)}}),e.watch(l,g=>{g?(s==null||s.register(),document.addEventListener("focusin",d,{once:!0})):(s==null||s.unregister(),document.removeEventListener("focusin",d))});const y=e.computed(()=>e.mergeProps({"aria-haspopup":"menu","aria-expanded":String(l.value),"aria-owns":c.value,onKeydown:f},n.activatorProps));return ee(()=>{const g=sl.filterProps(n);return e.createVNode(sl,e.mergeProps({ref:u,class:["v-menu",n.class],style:n.style},g,{modelValue:l.value,"onUpdate:modelValue":m=>l.value=m,absolute:!0,activatorProps:y.value,"onClick:outside":v,onKeydown:p},a),{activator:t.activator,default:function(){for(var m=arguments.length,b=new Array(m),w=0;w{var N;return[(N=t.default)==null?void 0:N.call(t,...b)]}})}})}),yt({id:c,ΨopenChildren:i},u)}}),ei=U({active:Boolean,max:[Number,String],value:{type:[Number,String],default:0},...ae(),...Dn({transition:{component:Nl}})},"VCounter"),ha=X()({name:"VCounter",functional:!0,props:ei(),setup(n,o){let{slots:t}=o;const l=e.computed(()=>n.max?`${n.value} / ${n.max}`:String(n.value));return ee(()=>e.createVNode(We,{transition:n.transition},{default:()=>[e.withDirectives(e.createVNode("div",{class:["v-counter",n.class],style:n.style},[t.default?t.default({counter:l.value,max:n.max,value:n.value}):l.value]),[[e.vShow,n.active]])]})),{}}}),ni=U({floating:Boolean,...ae()},"VFieldLabel"),Jn=X()({name:"VFieldLabel",props:ni(),setup(n,o){let{slots:t}=o;return ee(()=>e.createVNode(Kl,{class:["v-field-label",{"v-field-label--floating":n.floating},n.class],style:n.style,"aria-hidden":n.floating||void 0},t)),{}}}),ti=["underlined","outlined","filled","solo","solo-inverted","solo-filled","plain"],vo=U({appendInnerIcon:se,bgColor:String,clearable:Boolean,clearIcon:{type:se,default:"$clear"},active:Boolean,centerAffix:{type:Boolean,default:void 0},color:String,baseColor:String,dirty:Boolean,disabled:{type:Boolean,default:null},error:Boolean,flat:Boolean,label:String,persistentClear:Boolean,prependInnerIcon:se,reverse:Boolean,singleLine:Boolean,variant:{type:String,default:"filled",validator:n=>ti.includes(n)},"onClick:clear":Ee(),"onClick:appendInner":Ee(),"onClick:prependInner":Ee(),...ae(),...uo(),...De(),...Ve()},"VField"),fo=X()({name:"VField",inheritAttrs:!1,props:{id:String,...na(),...vo()},emits:{"update:focused":n=>!0,"update:modelValue":n=>!0},setup(n,o){let{attrs:t,emit:l,slots:a}=o;const{themeClasses:r}=ke(n),{loaderClasses:c}=vt(n),{focusClasses:u,isFocused:s,focus:i,blur:d}=Gn(n),{InputIcon:v}=ea(n),{roundedClasses:p}=Le(n),{rtlClasses:f}=Rn(),y=e.computed(()=>n.dirty||n.active),g=e.computed(()=>!(n.singleLine||!n.label&&!a.label)),m=Pe(),b=e.computed(()=>n.id||`input-${m}`),w=e.computed(()=>`${b.value}-messages`),N=e.ref(),M=e.ref(),E=e.ref(),P=e.computed(()=>["plain","underlined"].includes(n.variant)),{backgroundColorClasses:L,backgroundColorStyles:A}=an(e.toRef(n,"bgColor")),{textColorClasses:I,textColorStyles:k}=Re(e.computed(()=>n.error||n.disabled?void 0:y.value&&s.value?n.color:n.baseColor));e.watch(y,B=>{if(g.value){const D=N.value.$el,$=M.value.$el;requestAnimationFrame(()=>{const F=eo(D),h=$.getBoundingClientRect(),S=h.x-F.x,x=h.y-F.y-(F.height/2-h.height/2),z=h.width/.75,T=Math.abs(z-F.width)>1?{maxWidth:J(z)}:void 0,O=getComputedStyle(D),H=getComputedStyle($),_=1e3*parseFloat(O.transitionDuration)||150,W=parseFloat(H.getPropertyValue("--v-field-label-scale")),R=H.getPropertyValue("color");D.style.visibility="visible",$.style.visibility="hidden",on(D,{transform:`translate(${S}px, ${x}px) scale(${W})`,color:R,...T},{duration:_,easing:rt,direction:B?"normal":"reverse"}).finished.then(()=>{D.style.removeProperty("visibility"),$.style.removeProperty("visibility")})})}},{flush:"post"});const C=e.computed(()=>({isActive:y,isFocused:s,controlRef:E,blur:d,focus:i}));function V(B){B.target!==document.activeElement&&B.preventDefault()}return ee(()=>{var S,x,z;const B=n.variant==="outlined",D=a["prepend-inner"]||n.prependInnerIcon,$=!(!n.clearable&&!a.clear),F=!!(a["append-inner"]||n.appendInnerIcon||$),h=()=>a.label?a.label({...C.value,label:n.label,props:{for:b.value}}):n.label;return e.createVNode("div",e.mergeProps({class:["v-field",{"v-field--active":y.value,"v-field--appended":F,"v-field--center-affix":n.centerAffix??!P.value,"v-field--disabled":n.disabled,"v-field--dirty":n.dirty,"v-field--error":n.error,"v-field--flat":n.flat,"v-field--has-background":!!n.bgColor,"v-field--persistent-clear":n.persistentClear,"v-field--prepended":D,"v-field--reverse":n.reverse,"v-field--single-line":n.singleLine,"v-field--no-label":!h(),[`v-field--variant-${n.variant}`]:!0},r.value,L.value,u.value,c.value,p.value,f.value,n.class],style:[A.value,n.style],onClick:V},t),[e.createVNode("div",{class:"v-field__overlay"},null),e.createVNode(co,{name:"v-field",active:!!n.loading,color:n.error?"error":typeof n.loading=="string"?n.loading:n.color},{default:a.loader}),D&&e.createVNode("div",{key:"prepend",class:"v-field__prepend-inner"},[n.prependInnerIcon&&e.createVNode(v,{key:"prepend-icon",name:"prependInner"},null),(S=a["prepend-inner"])==null?void 0:S.call(a,C.value)]),e.createVNode("div",{class:"v-field__field","data-no-activator":""},[["filled","solo","solo-inverted","solo-filled"].includes(n.variant)&&g.value&&e.createVNode(Jn,{key:"floating-label",ref:M,class:[I.value],floating:!0,for:b.value,style:k.value},{default:()=>[h()]}),e.createVNode(Jn,{ref:N,for:b.value},{default:()=>[h()]}),(x=a.default)==null?void 0:x.call(a,{...C.value,props:{id:b.value,class:"v-field__input","aria-describedby":w.value},focus:i,blur:d})]),$&&e.createVNode(Al,{key:"clear"},{default:()=>[e.withDirectives(e.createVNode("div",{class:"v-field__clearable",onMousedown:T=>{T.preventDefault(),T.stopPropagation()}},[a.clear?a.clear():e.createVNode(v,{name:"clear"},null)]),[[e.vShow,n.dirty]])]}),F&&e.createVNode("div",{key:"append",class:"v-field__append-inner"},[(z=a["append-inner"])==null?void 0:z.call(a,C.value),n.appendInnerIcon&&e.createVNode(v,{key:"append-icon",name:"appendInner"},null)]),e.createVNode("div",{class:["v-field__outline",I.value],style:k.value},[B&&e.createVNode(e.Fragment,null,[e.createVNode("div",{class:"v-field__outline__start"},null),g.value&&e.createVNode("div",{class:"v-field__outline__notch"},[e.createVNode(Jn,{ref:M,floating:!0,for:b.value},{default:()=>[h()]})]),e.createVNode("div",{class:"v-field__outline__end"},null)]),P.value&&g.value&&e.createVNode(Jn,{ref:M,floating:!0,for:b.value},{default:()=>[h()]})])])}),{controlRef:E}}});function ba(n){return vl(n,Object.keys(fo.props).filter(o=>!Pt(o)&&o!=="class"&&o!=="style"))}const oi=["color","file","time","date","datetime-local","week","month"],Ca=U({autofocus:Boolean,counter:[Boolean,Number,String],counterValue:[Number,Function],prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,suffix:String,role:String,type:{type:String,default:"text"},modelModifiers:Object,...qn(),...vo()},"VTextField"),jt=X()({name:"VTextField",directives:{Intersect:ao},inheritAttrs:!1,props:Ca(),emits:{"click:control":n=>!0,"mousedown:control":n=>!0,"update:focused":n=>!0,"update:modelValue":n=>!0},setup(n,o){let{attrs:t,emit:l,slots:a}=o;const r=he(n,"modelValue"),{isFocused:c,focus:u,blur:s}=Gn(n),i=e.computed(()=>typeof n.counterValue=="function"?n.counterValue(r.value):typeof n.counterValue=="number"?n.counterValue:(r.value??"").toString().length),d=e.computed(()=>t.maxlength?t.maxlength:!n.counter||typeof n.counter!="number"&&typeof n.counter!="string"?void 0:n.counter),v=e.computed(()=>["plain","underlined"].includes(n.variant));function p(P,L){var A,I;n.autofocus&&P&&((I=(A=L[0].target)==null?void 0:A.focus)==null||I.call(A))}const f=e.ref(),y=e.ref(),g=e.ref(),m=e.computed(()=>oi.includes(n.type)||n.persistentPlaceholder||c.value||n.active);function b(){var P;g.value!==document.activeElement&&((P=g.value)==null||P.focus()),c.value||u()}function w(P){l("mousedown:control",P),P.target!==g.value&&(b(),P.preventDefault())}function N(P){b(),l("click:control",P)}function M(P){P.stopPropagation(),b(),e.nextTick(()=>{r.value=null,yl(n["onClick:clear"],P)})}function E(P){var A;const L=P.target;if(r.value=L.value,((A=n.modelModifiers)==null?void 0:A.trim)&&["text","search","password","tel","url"].includes(n.type)){const I=[L.selectionStart,L.selectionEnd];e.nextTick(()=>{L.selectionStart=I[0],L.selectionEnd=I[1]})}}return ee(()=>{const P=!!(a.counter||n.counter!==!1&&n.counter!=null),L=!(!P&&!a.details),[A,I]=Tn(t),{modelValue:k,...C}=je.filterProps(n),V=ba(n);return e.createVNode(je,e.mergeProps({ref:f,modelValue:r.value,"onUpdate:modelValue":B=>r.value=B,class:["v-text-field",{"v-text-field--prefixed":n.prefix,"v-text-field--suffixed":n.suffix,"v-input--plain-underlined":v.value},n.class],style:n.style},A,C,{centerAffix:!v.value,focused:c.value}),{...a,default:B=>{let{id:D,isDisabled:$,isDirty:F,isReadonly:h,isValid:S}=B;return e.createVNode(fo,e.mergeProps({ref:y,onMousedown:w,onClick:N,"onClick:clear":M,"onClick:prependInner":n["onClick:prependInner"],"onClick:appendInner":n["onClick:appendInner"],role:n.role},V,{id:D.value,active:m.value||F.value,dirty:F.value||n.dirty,disabled:$.value,focused:c.value,error:S.value===!1}),{...a,default:x=>{let{props:{class:z,...T}}=x;const O=e.withDirectives(e.createVNode("input",e.mergeProps({ref:g,value:r.value,onInput:E,autofocus:n.autofocus,readonly:h.value,disabled:$.value,name:n.name,placeholder:n.placeholder,size:1,type:n.type,onFocus:b,onBlur:s},T,I),null),[[e.resolveDirective("intersect"),{handler:p},null,{once:!0}]]);return e.createVNode(e.Fragment,null,[n.prefix&&e.createVNode("span",{class:"v-text-field__prefix"},[e.createVNode("span",{class:"v-text-field__prefix__text"},[n.prefix])]),a.default?e.createVNode("div",{class:z,"data-no-activator":""},[a.default(),O]):e.cloneVNode(O,{class:z}),n.suffix&&e.createVNode("span",{class:"v-text-field__suffix"},[e.createVNode("span",{class:"v-text-field__suffix__text"},[n.suffix])])])}})},details:L?B=>{var D;return e.createVNode(e.Fragment,null,[(D=a.details)==null?void 0:D.call(a,B),P&&e.createVNode(e.Fragment,null,[e.createVNode("span",null,null),e.createVNode(ha,{active:n.persistentCounter||c.value,value:i.value,max:d.value},a.counter)])])}:void 0})}),yt({},f,y,g)}}),li=U({renderless:Boolean,...ae()},"VVirtualScrollItem"),ai=X()({name:"VVirtualScrollItem",inheritAttrs:!1,props:li(),emits:{"update:height":n=>!0},setup(n,o){let{attrs:t,emit:l,slots:a}=o;const{resizeRef:r,contentRect:c}=oo(void 0,"border");e.watch(()=>{var u;return(u=c.value)==null?void 0:u.height},u=>{u!=null&&l("update:height",u)}),ee(()=>{var u,s;return n.renderless?e.createVNode(e.Fragment,null,[(u=a.default)==null?void 0:u.call(a,{itemRef:r})]):e.createVNode("div",e.mergeProps({ref:r,class:["v-virtual-scroll__item",n.class],style:n.style},t),[(s=a.default)==null?void 0:s.call(a)])})}}),ri=U({itemHeight:{type:[Number,String],default:null},height:[Number,String]},"virtual");function ii(n,o){const t=fa(),l=e.shallowRef(0);e.watchEffect(()=>{l.value=parseFloat(n.itemHeight||0)});const a=e.shallowRef(0),r=e.shallowRef(Math.ceil((parseInt(n.height)||t.height.value)/(l.value||16))||1),c=e.shallowRef(0),u=e.shallowRef(0),s=e.ref(),i=e.ref();let d=0;const{resizeRef:v,contentRect:p}=oo();e.watchEffect(()=>{v.value=s.value});const f=e.computed(()=>{var F;return s.value===document.documentElement?t.height.value:((F=p.value)==null?void 0:F.height)||parseInt(n.height)||0}),y=e.computed(()=>!!(s.value&&i.value&&f.value&&l.value));let g=Array.from({length:o.value.length}),m=Array.from({length:o.value.length});const b=e.shallowRef(0);let w=-1;function N(F){return g[F]||l.value}const M=function(F,h){let S=0;const x=function(){for(var z=arguments.length,T=new Array(z),O=0;OF(...T),e.unref(h))};return x.clear=()=>{clearTimeout(S)},x.immediate=F,x}(()=>{const F=performance.now();m[0]=0;const h=o.value.length;for(let S=1;S<=h-1;S++)m[S]=(m[S-1]||0)+N(S-1);b.value=Math.max(b.value,performance.now()-F)},b),E=e.watch(y,F=>{F&&(E(),d=i.value.offsetTop,M.immediate(),V(),~w&&e.nextTick(()=>{xe&&window.requestAnimationFrame(()=>{D(w),w=-1})}))});function P(F){return F=ln(F,0,o.value.length-1),m[F]||0}function L(F){return function(h,S){let x=h.length-1,z=0,T=0,O=null,H=-1;if(h[x]>1,O=h[T],O>S)x=T-1;else{if(!(O{h&&V()}),e.onScopeDispose(()=>{M.clear()});let A=0,I=0,k=0,C=-1;function V(){cancelAnimationFrame(C),C=requestAnimationFrame(B)}function B(){if(!s.value||!f.value)return;const F=A-d,h=Math.sign(I),S=ln(L(Math.max(0,F-100)),0,o.value.length),x=ln(L(F+f.value+100)+1,S+1,o.value.length);if((h!==-1||Sr.value)){const z=P(a.value)-P(S),T=P(x)-P(r.value);Math.max(z,T)>100?(a.value=S,r.value=x):(S<=0&&(a.value=S),x>=o.value.length&&(r.value=x))}c.value=P(a.value),u.value=P(o.value.length)-P(r.value)}function D(F){const h=P(F);!s.value||F&&!h?w=F:s.value.scrollTop=h}const $=e.computed(()=>o.value.slice(a.value,r.value).map((F,h)=>({raw:F,index:h+a.value})));return e.watch(o,()=>{g=Array.from({length:o.value.length}),m=Array.from({length:o.value.length}),M.immediate(),V()},{deep:!0}),{containerRef:s,markerRef:i,computedItems:$,paddingTop:c,paddingBottom:u,scrollToIndex:D,handleScroll:function(){if(!s.value||!i.value)return;const F=s.value.scrollTop,h=performance.now();h-k>500?(I=Math.sign(F-A),d=i.value.offsetTop):I=F-A,A=F,k=h,V()},handleScrollend:function(){s.value&&i.value&&(I=0,k=0,V())},handleItemResize:function(F,h){const S=g[F],x=l.value;l.value=x?Math.min(l.value,h):h,S===h&&x===l.value||(g[F]=h,M())}}}const si=U({items:{type:Array,default:()=>[]},renderless:Boolean,...ri(),...ae(),...Je()},"VVirtualScroll"),ui=X()({name:"VVirtualScroll",props:si(),setup(n,o){let{slots:t}=o;const l=Se("VVirtualScroll"),{dimensionStyles:a}=Ze(n),{containerRef:r,markerRef:c,handleScroll:u,handleScrollend:s,handleItemResize:i,scrollToIndex:d,paddingTop:v,paddingBottom:p,computedItems:f}=ii(n,e.toRef(n,"items"));return Ye(()=>n.renderless,()=>{function y(){var m,b;const g=arguments.length>0&&arguments[0]!==void 0&&arguments[0]?"addEventListener":"removeEventListener";r.value===document.documentElement?(document[g]("scroll",u,{passive:!0}),document[g]("scrollend",s)):((m=r.value)==null||m[g]("scroll",u,{passive:!0}),(b=r.value)==null||b[g]("scrollend",s))}e.onMounted(()=>{r.value=Bl(l.vnode.el,!0),y(!0)}),e.onScopeDispose(y)}),ee(()=>{const y=f.value.map(g=>e.createVNode(ai,{key:g.index,renderless:n.renderless,"onUpdate:height":m=>i(g.index,m)},{default:m=>{var b;return(b=t.default)==null?void 0:b.call(t,{item:g.raw,index:g.index,...m})}}));return n.renderless?e.createVNode(e.Fragment,null,[e.createVNode("div",{ref:c,class:"v-virtual-scroll__spacer",style:{paddingTop:J(v.value)}},null),y,e.createVNode("div",{class:"v-virtual-scroll__spacer",style:{paddingBottom:J(p.value)}},null)]):e.createVNode("div",{ref:r,class:["v-virtual-scroll",n.class],onScrollPassive:u,onScrollend:s,style:[a.value,n.style]},[e.createVNode("div",{ref:c,class:"v-virtual-scroll__container",style:{paddingTop:J(v.value),paddingBottom:J(p.value)}},[y])])}),{scrollToIndex:d}}});function ci(n,o){const t=e.shallowRef(!1);let l;return{onListScroll:function(a){cancelAnimationFrame(l),t.value=!0,l=requestAnimationFrame(()=>{l=requestAnimationFrame(()=>{t.value=!1})})},onListKeydown:async function(a){var u,s;if(a.key==="Tab"&&((u=o.value)==null||u.focus()),!["PageDown","PageUp","Home","End"].includes(a.key))return;const r=(s=n.value)==null?void 0:s.$el;if(!r)return;a.key!=="Home"&&a.key!=="End"||r.scrollTo({top:a.key==="Home"?0:r.scrollHeight,behavior:"smooth"}),await async function(){await new Promise(i=>requestAnimationFrame(i)),await new Promise(i=>requestAnimationFrame(i)),await new Promise(i=>requestAnimationFrame(i)),await new Promise(i=>{if(t.value){const d=e.watch(t,()=>{d(),i()})}else i()})}();const c=r.querySelectorAll(":scope > :not(.v-virtual-scroll__spacer)");if(a.key==="PageDown"||a.key==="Home"){const i=r.getBoundingClientRect().top;for(const d of c)if(d.getBoundingClientRect().top>=i){d.focus();break}}else{const i=r.getBoundingClientRect().bottom;for(const d of[...c].reverse())if(d.getBoundingClientRect().bottom<=i){d.focus();break}}}}}const di=U({chips:Boolean,closableChips:Boolean,closeText:{type:String,default:"$vuetify.close"},openText:{type:String,default:"$vuetify.open"},eager:Boolean,hideNoData:Boolean,hideSelected:Boolean,menu:Boolean,menuIcon:{type:se,default:"$dropdown"},menuProps:{type:Object},multiple:Boolean,noDataText:{type:String,default:"$vuetify.noDataText"},openOnClear:Boolean,itemColor:String,...ca({itemChildren:!1})},"Select"),pi=U({...di(),...Ke(Ca({modelValue:null,role:"button"}),["validationValue","dirty","appendInnerIcon"]),...Dn({transition:{component:Fl}})},"VSelect"),vi=X()({name:"VSelect",props:pi(),emits:{"update:focused":n=>!0,"update:modelValue":n=>!0,"update:menu":n=>!0},setup(n,o){let{slots:t}=o;const{t:l}=lo(),a=e.ref(),r=e.ref(),c=e.ref(),u=he(n,"menu"),s=e.computed({get:()=>u.value,set:h=>{var S;u.value&&!h&&((S=r.value)!=null&&S.ΨopenChildren)||(u.value=h)}}),{items:i,transformIn:d,transformOut:v}=function(h){const S=e.computed(()=>da(h,h.items)),x=e.computed(()=>S.value.some(z=>z.value===null));return{items:S,transformIn:function(z){return x.value||(z=z.filter(T=>T!==null)),z.map(T=>h.returnObject&&typeof T=="string"?Dt(h,T):S.value.find(O=>h.valueComparator(T,O.value))||Dt(h,T))},transformOut:function(z){return h.returnObject?z.map(T=>{let{raw:O}=T;return O}):z.map(T=>{let{value:O}=T;return O})}}}(n),p=he(n,"modelValue",[],h=>d(h===null?[null]:$e(h)),h=>{const S=v(h);return n.multiple?S:S[0]??null}),f=e.computed(()=>typeof n.counterValue=="function"?n.counterValue(p.value):typeof n.counterValue=="number"?n.counterValue:p.value.length),y=ta(),g=e.computed(()=>p.value.map(h=>h.value)),m=e.shallowRef(!1),b=e.computed(()=>s.value?n.closeText:n.openText);let w,N="";const M=e.computed(()=>n.hideSelected?i.value.filter(h=>!p.value.some(S=>S===h)):i.value),E=e.computed(()=>n.hideNoData&&!i.value.length||n.readonly||(y==null?void 0:y.isReadonly.value)),P=e.ref(),{onListScroll:L,onListKeydown:A}=ci(P,a);function I(h){n.openOnClear&&(s.value=!0)}function k(){E.value||(s.value=!s.value)}function C(h){var z,T;if(!h.key||n.readonly||y!=null&&y.isReadonly.value||(["Enter"," ","ArrowDown","ArrowUp","Home","End"].includes(h.key)&&h.preventDefault(),["Enter","ArrowDown"," "].includes(h.key)&&(s.value=!0),["Escape","Tab"].includes(h.key)&&(s.value=!1),h.key==="Home"?(z=P.value)==null||z.focus("first"):h.key==="End"&&((T=P.value)==null||T.focus("last")),n.multiple||!function(O){const H=O.key.length===1,_=!O.ctrlKey&&!O.metaKey&&!O.altKey;return H&&_}(h)))return;const S=performance.now();S-w>1e3&&(N=""),N+=h.key.toLowerCase(),w=S;const x=i.value.find(O=>O.title.toLowerCase().startsWith(N));x!==void 0&&(p.value=[x])}function V(h){if(n.multiple){const S=p.value.findIndex(x=>n.valueComparator(x.value,h.value));if(S===-1)p.value=[...p.value,h];else{const x=[...p.value];x.splice(S,1),p.value=x}}else p.value=[h],s.value=!1}function B(h){var S;(S=P.value)!=null&&S.$el.contains(h.relatedTarget)||(s.value=!1)}function D(){var h;m.value&&((h=a.value)==null||h.focus())}function $(h){m.value=!0}function F(h){if(h==null)p.value=[];else if(lt(a.value,":autofill")||lt(a.value,":-webkit-autofill")){const S=i.value.find(x=>x.title===h);S&&V(S)}else a.value&&(a.value.value="")}return e.watch(s,()=>{if(!n.hideSelected&&s.value&&p.value.length){const h=M.value.findIndex(S=>p.value.some(x=>n.valueComparator(x.value,S.value)));xe&&window.requestAnimationFrame(()=>{var S;h>=0&&((S=c.value)==null||S.scrollToIndex(h))})}}),ee(()=>{const h=!(!n.chips&&!t.chip),S=!!(!n.hideNoData||M.value.length||t["prepend-item"]||t["append-item"]||t["no-data"]),x=p.value.length>0,z=jt.filterProps(n),T=x||!m.value&&n.label&&!n.persistentPlaceholder?void 0:n.placeholder;return e.createVNode(jt,e.mergeProps({ref:a},z,{modelValue:p.value.map(O=>O.props.value).join(", "),"onUpdate:modelValue":F,focused:m.value,"onUpdate:focused":O=>m.value=O,validationValue:p.externalValue,counterValue:f.value,dirty:x,class:["v-select",{"v-select--active-menu":s.value,"v-select--chips":!!n.chips,["v-select--"+(n.multiple?"multiple":"single")]:!0,"v-select--selected":p.value.length,"v-select--selection-slot":!!t.selection},n.class],style:n.style,inputmode:"none",placeholder:T,"onClick:clear":I,"onMousedown:control":k,onBlur:B,onKeydown:C,"aria-label":l(b.value),title:l(b.value)}),{...t,default:()=>e.createVNode(e.Fragment,null,[e.createVNode(Qr,e.mergeProps({ref:r,modelValue:s.value,"onUpdate:modelValue":O=>s.value=O,activator:"parent",contentClass:"v-select__content",disabled:E.value,eager:n.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:n.transition,onAfterLeave:D},n.menuProps),{default:()=>[S&&e.createVNode(Mr,{ref:P,selected:g.value,selectStrategy:n.multiple?"independent":"single-independent",onMousedown:O=>O.preventDefault(),onKeydown:A,onFocusin:$,onScrollPassive:L,tabindex:"-1",color:n.itemColor??n.color},{default:()=>{var O,H,_;return[(O=t["prepend-item"])==null?void 0:O.call(t),!M.value.length&&!n.hideNoData&&(((H=t["no-data"])==null?void 0:H.call(t))??e.createVNode(dt,{title:l(n.noDataText)},null)),e.createVNode(ui,{ref:c,renderless:!0,items:M.value},{default:W=>{var te;let{item:R,index:j,itemRef:G}=W;const Y=e.mergeProps(R.props,{ref:G,key:j,onClick:()=>V(R)});return((te=t.item)==null?void 0:te.call(t,{item:R,index:j,props:Y}))??e.createVNode(dt,e.mergeProps(Y,{role:"option"}),{prepend:ie=>{let{isSelected:re}=ie;return e.createVNode(e.Fragment,null,[n.multiple&&!n.hideSelected?e.createVNode(Tt,{key:R.value,modelValue:re,ripple:!1,tabindex:"-1"},null):void 0,R.props.prependIcon&&e.createVNode(ce,{icon:R.props.prependIcon},null)])}})}}),(_=t["append-item"])==null?void 0:_.call(t)]}})]}),p.value.map((O,H)=>{const _={"onClick:close":function(j){j.stopPropagation(),j.preventDefault(),V(O)},onMousedown(j){j.preventDefault(),j.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0},W=h?!!t.chip:!!t.selection,R=W?hl(h?t.chip({item:O,index:H,props:_}):t.selection({item:O,index:H})):void 0;if(!W||R)return e.createVNode("div",{key:O.value,class:"v-select__selection"},[h?t.chip?e.createVNode(Be,{key:"chip-defaults",defaults:{VChip:{closable:n.closableChips,size:"small",text:O.title}}},{default:()=>[R]}):e.createVNode(Br,e.mergeProps({key:"chip",closable:n.closableChips,size:"small",text:O.title,disabled:O.props.disabled},_),null):R??e.createVNode("span",{class:"v-select__selection-text"},[O.title,n.multiple&&H{var l;return e.createVNode("div",{class:["v-card-actions",n.class],style:n.style},[(l=t.default)==null?void 0:l.call(t)])}),{}}}),mi=$n("v-card-subtitle"),yi=$n("v-card-title"),gi=U({appendAvatar:String,appendIcon:se,prependAvatar:String,prependIcon:se,subtitle:[String,Number],title:[String,Number],...ae(),...ze()},"VCardItem"),hi=X()({name:"VCardItem",props:gi(),setup(n,o){let{slots:t}=o;return ee(()=>{var i;const l=!(!n.prependAvatar&&!n.prependIcon),a=!(!l&&!t.prepend),r=!(!n.appendAvatar&&!n.appendIcon),c=!(!r&&!t.append),u=!(n.title==null&&!t.title),s=!(n.subtitle==null&&!t.subtitle);return e.createVNode("div",{class:["v-card-item",n.class],style:n.style},[a&&e.createVNode("div",{key:"prepend",class:"v-card-item__prepend"},[t.prepend?e.createVNode(Be,{key:"prepend-defaults",disabled:!l,defaults:{VAvatar:{density:n.density,icon:n.prependIcon,image:n.prependAvatar}}},t.prepend):l&&e.createVNode(rn,{key:"prepend-avatar",density:n.density,icon:n.prependIcon,image:n.prependAvatar},null)]),e.createVNode("div",{class:"v-card-item__content"},[u&&e.createVNode(yi,{key:"title"},{default:()=>{var d;return[((d=t.title)==null?void 0:d.call(t))??n.title]}}),s&&e.createVNode(mi,{key:"subtitle"},{default:()=>{var d;return[((d=t.subtitle)==null?void 0:d.call(t))??n.subtitle]}}),(i=t.default)==null?void 0:i.call(t)]),c&&e.createVNode("div",{key:"append",class:"v-card-item__append"},[t.append?e.createVNode(Be,{key:"append-defaults",disabled:!r,defaults:{VAvatar:{density:n.density,icon:n.appendIcon,image:n.appendAvatar}}},t.append):r&&e.createVNode(rn,{key:"append-avatar",density:n.density,icon:n.appendIcon,image:n.appendAvatar},null)])])}),{}}}),Qe=$n("v-card-text"),bi=U({appendAvatar:String,appendIcon:se,disabled:Boolean,flat:Boolean,hover:Boolean,image:String,link:{type:Boolean,default:void 0},prependAvatar:String,prependIcon:se,ripple:{type:[Boolean,Object],default:!0},subtitle:[String,Number],text:[String,Number],title:[String,Number],...pn(),...ae(),...ze(),...Je(),...fn(),...uo(),...io(),...Ml(),...De(),...mt(),...Ae(),...Ve(),...Ge({variant:"elevated"})},"VCard"),yn=X()({name:"VCard",directives:{Ripple:Un},props:bi(),setup(n,o){let{attrs:t,slots:l}=o;const{themeClasses:a}=ke(n),{borderClasses:r}=vn(n),{colorClasses:c,colorStyles:u,variantClasses:s}=Mn(n),{densityClasses:i}=Me(n),{dimensionStyles:d}=Ze(n),{elevationClasses:v}=mn(n),{loaderClasses:p}=vt(n),{locationStyles:f}=so(n),{positionClasses:y}=Wl(n),{roundedClasses:g}=Le(n),m=ft(n,t),b=e.computed(()=>n.link!==!1&&m.isLink.value),w=e.computed(()=>!n.disabled&&n.link!==!1&&(n.link||m.isClickable.value));return ee(()=>{const N=b.value?"a":n.tag,M=!(!l.title&&n.title==null),E=!(!l.subtitle&&n.subtitle==null),P=M||E,L=!!(l.append||n.appendAvatar||n.appendIcon),A=!!(l.prepend||n.prependAvatar||n.prependIcon),I=!(!l.image&&!n.image),k=P||A||L,C=!(!l.text&&n.text==null);return e.withDirectives(e.createVNode(N,{class:["v-card",{"v-card--disabled":n.disabled,"v-card--flat":n.flat,"v-card--hover":n.hover&&!(n.disabled||n.flat),"v-card--link":w.value},a.value,r.value,c.value,i.value,v.value,p.value,y.value,g.value,s.value,n.class],style:[u.value,d.value,f.value,n.style],href:m.href.value,onClick:w.value&&m.navigate,tabindex:n.disabled?-1:void 0},{default:()=>{var V;return[I&&e.createVNode("div",{key:"image",class:"v-card__image"},[l.image?e.createVNode(Be,{key:"image-defaults",disabled:!n.image,defaults:{VImg:{cover:!0,src:n.image}}},l.image):e.createVNode(_l,{key:"image-img",cover:!0,src:n.image},null)]),e.createVNode(co,{name:"v-card",active:!!n.loading,color:typeof n.loading=="boolean"?void 0:n.loading},{default:l.loader}),k&&e.createVNode(hi,{key:"item",prependAvatar:n.prependAvatar,prependIcon:n.prependIcon,title:n.title,subtitle:n.subtitle,appendAvatar:n.appendAvatar,appendIcon:n.appendIcon},{default:l.item,prepend:l.prepend,title:l.title,subtitle:l.subtitle,append:l.append}),C&&e.createVNode(Qe,{key:"text"},{default:()=>{var B;return[((B=l.text)==null?void 0:B.call(l))??n.text]}}),(V=l.default)==null?void 0:V.call(l),l.actions&&e.createVNode(fi,null,{default:l.actions}),Ln(w.value,"v-card")]}}),[[e.resolveDirective("ripple"),w.value&&n.ripple]])}),{}}}),Ci=U({indeterminate:Boolean,inset:Boolean,flat:Boolean,loading:{type:[Boolean,String],default:!1},...qn(),...po()},"VSwitch"),Si=X()({name:"VSwitch",inheritAttrs:!1,props:Ci(),emits:{"update:focused":n=>!0,"update:modelValue":n=>!0,"update:indeterminate":n=>!0},setup(n,o){let{attrs:t,slots:l}=o;const a=he(n,"indeterminate"),r=he(n,"modelValue"),{loaderClasses:c}=vt(n),{isFocused:u,focus:s,blur:i}=Gn(n),d=e.ref(),v=e.computed(()=>typeof n.loading=="string"&&n.loading!==""?n.loading:n.color),p=Pe(),f=e.computed(()=>n.id||`switch-${p}`);function y(){a.value&&(a.value=!1)}function g(m){var b,w;m.stopPropagation(),m.preventDefault(),(w=(b=d.value)==null?void 0:b.input)==null||w.click()}return ee(()=>{const[m,b]=Tn(t),w=je.filterProps(n),N=ct.filterProps(n);return e.createVNode(je,e.mergeProps({class:["v-switch",{"v-switch--inset":n.inset},{"v-switch--indeterminate":a.value},c.value,n.class]},m,w,{modelValue:r.value,"onUpdate:modelValue":M=>r.value=M,id:f.value,focused:u.value,style:n.style}),{...l,default:M=>{let{id:E,messagesId:P,isDisabled:L,isReadonly:A,isValid:I}=M;return e.createVNode(ct,e.mergeProps({ref:d},N,{modelValue:r.value,"onUpdate:modelValue":[k=>r.value=k,y],id:E.value,"aria-describedby":P.value,type:"checkbox","aria-checked":a.value?"mixed":void 0,disabled:L.value,readonly:A.value,onFocus:s,onBlur:i},b),{...l,default:k=>{let{backgroundColorClasses:C,backgroundColorStyles:V}=k;return e.createVNode("div",{class:["v-switch__track",...C.value],style:V.value,onClick:g},null)},input:k=>{let{inputNode:C,icon:V,backgroundColorClasses:B,backgroundColorStyles:D}=k;return e.createVNode(e.Fragment,null,[C,e.createVNode("div",{class:["v-switch__thumb",{"v-switch__thumb--filled":V||n.loading},n.inset?void 0:B.value],style:n.inset?void 0:D.value},[e.createVNode(Ka,null,{default:()=>[n.loading?e.createVNode(co,{name:"v-switch",active:!0,color:I.value===!1?void 0:v.value},{default:$=>l.loader?l.loader($):e.createVNode(Ll,{active:$.isActive,color:$.color,indeterminate:!0,size:"16",width:"2"},null)}):V&&e.createVNode(ce,{key:V,icon:V,size:"x-small"},null)]})])])}})}})}),{}}}),Ii=U({autoGrow:Boolean,autofocus:Boolean,counter:[Boolean,Number,String],counterValue:Function,prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,noResize:Boolean,rows:{type:[Number,String],default:5,validator:n=>!isNaN(parseFloat(n))},maxRows:{type:[Number,String],validator:n=>!isNaN(parseFloat(n))},suffix:String,modelModifiers:Object,...qn(),...vo()},"VTextarea"),Vi=X()({name:"VTextarea",directives:{Intersect:ao},inheritAttrs:!1,props:Ii(),emits:{"click:control":n=>!0,"mousedown:control":n=>!0,"update:focused":n=>!0,"update:modelValue":n=>!0},setup(n,o){let{attrs:t,emit:l,slots:a}=o;const r=he(n,"modelValue"),{isFocused:c,focus:u,blur:s}=Gn(n),i=e.computed(()=>typeof n.counterValue=="function"?n.counterValue(r.value):(r.value||"").toString().length),d=e.computed(()=>t.maxlength?t.maxlength:!n.counter||typeof n.counter!="number"&&typeof n.counter!="string"?void 0:n.counter);function v(C,V){var B,D;n.autofocus&&C&&((D=(B=V[0].target)==null?void 0:B.focus)==null||D.call(B))}const p=e.ref(),f=e.ref(),y=e.shallowRef(""),g=e.ref(),m=e.computed(()=>n.persistentPlaceholder||c.value||n.active);function b(){var C;g.value!==document.activeElement&&((C=g.value)==null||C.focus()),c.value||u()}function w(C){b(),l("click:control",C)}function N(C){l("mousedown:control",C)}function M(C){C.stopPropagation(),b(),e.nextTick(()=>{r.value="",yl(n["onClick:clear"],C)})}function E(C){var B;const V=C.target;if(r.value=V.value,(B=n.modelModifiers)==null?void 0:B.trim){const D=[V.selectionStart,V.selectionEnd];e.nextTick(()=>{V.selectionStart=D[0],V.selectionEnd=D[1]})}}const P=e.ref(),L=e.ref(+n.rows),A=e.computed(()=>["plain","underlined"].includes(n.variant));function I(){n.autoGrow&&e.nextTick(()=>{if(!P.value||!f.value)return;const C=getComputedStyle(P.value),V=getComputedStyle(f.value.$el),B=parseFloat(C.getPropertyValue("--v-field-padding-top"))+parseFloat(C.getPropertyValue("--v-input-padding-top"))+parseFloat(C.getPropertyValue("--v-field-padding-bottom")),D=P.value.scrollHeight,$=parseFloat(C.lineHeight),F=ln(D??0,Math.max(parseFloat(n.rows)*$+B,parseFloat(V.getPropertyValue("--v-input-control-height"))),parseFloat(n.maxRows)*$+B||1/0);L.value=Math.floor((F-B)/$),y.value=J(F)})}let k;return e.watchEffect(()=>{n.autoGrow||(L.value=+n.rows)}),e.onMounted(I),e.watch(r,I),e.watch(()=>n.rows,I),e.watch(()=>n.maxRows,I),e.watch(()=>n.density,I),e.watch(P,C=>{C?(k=new ResizeObserver(I),k.observe(P.value)):k==null||k.disconnect()}),e.onBeforeUnmount(()=>{k==null||k.disconnect()}),ee(()=>{const C=!!(a.counter||n.counter||n.counterValue),V=!(!C&&!a.details),[B,D]=Tn(t),{modelValue:$,...F}=je.filterProps(n),h=ba(n);return e.createVNode(je,e.mergeProps({ref:p,modelValue:r.value,"onUpdate:modelValue":S=>r.value=S,class:["v-textarea v-text-field",{"v-textarea--prefixed":n.prefix,"v-textarea--suffixed":n.suffix,"v-text-field--prefixed":n.prefix,"v-text-field--suffixed":n.suffix,"v-textarea--auto-grow":n.autoGrow,"v-textarea--no-resize":n.noResize||n.autoGrow,"v-input--plain-underlined":A.value},n.class],style:n.style},B,F,{centerAffix:L.value===1&&!A.value,focused:c.value}),{...a,default:S=>{let{id:x,isDisabled:z,isDirty:T,isReadonly:O,isValid:H}=S;return e.createVNode(fo,e.mergeProps({ref:f,style:{"--v-textarea-control-height":y.value},onClick:w,onMousedown:N,"onClick:clear":M,"onClick:prependInner":n["onClick:prependInner"],"onClick:appendInner":n["onClick:appendInner"]},h,{id:x.value,active:m.value||T.value,centerAffix:L.value===1&&!A.value,dirty:T.value||n.dirty,disabled:z.value,focused:c.value,error:H.value===!1}),{...a,default:_=>{let{props:{class:W,...R}}=_;return e.createVNode(e.Fragment,null,[n.prefix&&e.createVNode("span",{class:"v-text-field__prefix"},[n.prefix]),e.withDirectives(e.createVNode("textarea",e.mergeProps({ref:g,class:W,value:r.value,onInput:E,autofocus:n.autofocus,readonly:O.value,disabled:z.value,placeholder:n.placeholder,rows:n.rows,name:n.name,onFocus:b,onBlur:s},R,D),null),[[e.resolveDirective("intersect"),{handler:v},null,{once:!0}]]),n.autoGrow&&e.withDirectives(e.createVNode("textarea",{class:[W,"v-textarea__sizer"],id:`${R.id}-sizer`,"onUpdate:modelValue":j=>r.value=j,ref:P,readonly:!0,"aria-hidden":"true"},null),[[e.vModelText,r.value]]),n.suffix&&e.createVNode("span",{class:"v-text-field__suffix"},[n.suffix])])}})},details:V?S=>{var x;return e.createVNode(e.Fragment,null,[(x=a.details)==null?void 0:x.call(a,S),C&&e.createVNode(e.Fragment,null,[e.createVNode("span",null,null),e.createVNode(ha,{active:n.persistentCounter||c.value,value:i.value,max:d.value},a.counter)])])}:void 0})}),yt({},p,f,g)}}),Sa=e.defineComponent({__name:"BooleanIcons",props:e.mergeModels({iconFalseColor:{},iconFalseTitle:{},iconTrueColor:{},iconTrueTitle:{},iconFalse:{},iconTrue:{}},{modelValue:{}}),emits:["update:modelValue"],setup(n){const o=n,t=e.inject(Symbol.for("vuetify:icons")),l=e.useModel(n,"modelValue"),a=e.computed(()=>_e({icon:o.iconFalse,iconOptions:t,name:"false"})),r=e.computed(()=>_e({icon:o.iconTrue,iconOptions:t,name:"true"}));return(c,u)=>l.value?(e.openBlock(),e.createBlock(e.unref(ce),{key:0,class:"v-inline-fields--boolean-icons fa-fw",color:c.iconTrueColor,icon:e.unref(r),size:"x-small",title:c.iconTrueTitle},null,8,["color","icon","title"])):(e.openBlock(),e.createBlock(e.unref(ce),{key:1,class:"v-inline-fields--boolean-icons fa-fw",color:c.iconFalseColor,icon:e.unref(a),size:"x-small",title:c.iconFalseTitle},null,8,["color","icon","title"]))}}),Z="v-inline-fields",gn=n=>{const{cell:o=!1,field:t="",density:l="",disabled:a=!1,iconSet:r="mdi",loading:c=!1,loadingWait:u,tableField:s=!1,variant:i}=n,d=l&&i;return{[`${Z}`]:!0,[`${Z}--container`]:!0,[`${Z}--container-cell`]:o,[`${Z}--container-disabled`]:e.unref(a),[`${Z}--container-table`]:s,[`${Z}--container-icon-set-${r}`]:!0,[`${Z}--container-loading`]:c&&u,[`${Z}--container-${t}`]:!0,[`${Z}--container-${t}-${l}`]:!0,[`${Z}--container-${t}-${l}-${i}`]:d,[`${Z}--container-${t}-${i}`]:i,[`${Z}--container-${t}-${i}-${l}`]:d,[`${Z}--container-${l}`]:l,[`${Z}--container-${l}-${t}`]:l,[`${Z}--container-${l}-${i}`]:d,[`${Z}--container-${i}`]:i,[`${Z}--container-${i}-${l}`]:d,[`${Z}--container-${i}-${t}`]:i}},hn=n=>{const{cell:o=!1,cellUnderlineFullWidth:t=!0,field:l="",density:a=""}=n;return{[`${Z}--display-container-cell`]:o,[`${Z}--display-container-cell-underline-full-width`]:o&&t,[`${Z}--display-container`]:!0,[`${Z}--display-wrapper-value`]:!0,[`${l}`]:!0,"v-input":!0,[`v-input--density-${a}`]:!0,"v-input--horizontal":!0}},gt=n=>{const{density:o="",variant:t=""}=n;return{"v-input":!0,"v-input--dirty":!0,"v-input--horizontal":!0,"v-text-field":!0,[`v-input--density-${o}`]:!0,[`v-text-field--plain-${t}`]:!0}},Ia=n=>{const{density:o=""}=n;return{[`${Z}--selection-control`]:!0,[`v-selection-control--density-${o}`]:!0}},mo=(n,o,t)=>{const{error:l=!1,empty:a=!1}=t;return{[`${Z}`]:!0,[`${Z}--display-value-${n}`]:!0,[`${Z}--display-value`]:!0,[`${Z}--display-value-empty`]:e.unref(a),[`text-${o}`]:!e.unref(l),"text-danger":e.unref(l)}},bn=n=>{const{name:o,active:t=!1}=n;return{[`${Z}`]:!0,[`${Z}--field`]:!0,[`${Z}--field-${o}`]:!0,[`${Z}--field-active`]:t}},Cn=n=>{const{name:o,showField:t}=n;return{[`${Z}--card-container`]:!0,[`${Z}--card-container-${o}`]:!0,"d-none":!t}};function ul(n){if(!n)return 100;if(n.toString().includes(".")){const o=100*Number(n);return o>=100?100:o}return Number(n)>=100?100:Number(n)}function cl(n){let o=function(v){const p={AliceBlue:"#F0F8FF",AntiqueWhite:"#FAEBD7",Aqua:"#00FFFF",Aquamarine:"#7FFFD4",Azure:"#F0FFFF",Beige:"#F5F5DC",Bisque:"#FFE4C4",Black:"#000000",BlanchedAlmond:"#FFEBCD",Blue:"#0000FF",BlueViolet:"#8A2BE2",Brown:"#A52A2A",BurlyWood:"#DEB887",CadetBlue:"#5F9EA0",Chartreuse:"#7FFF00",Chocolate:"#D2691E",Coral:"#FF7F50",CornflowerBlue:"#6495ED",Cornsilk:"#FFF8DC",Crimson:"#DC143C",Cyan:"#00FFFF",DarkBlue:"#00008B",DarkCyan:"#008B8B",DarkGoldenRod:"#B8860B",DarkGray:"#A9A9A9",DarkGreen:"#006400",DarkGrey:"#A9A9A9",DarkKhaki:"#BDB76B",DarkMagenta:"#8B008B",DarkOliveGreen:"#556B2F",DarkOrange:"#FF8C00",DarkOrchid:"#9932CC",DarkRed:"#8B0000",DarkSalmon:"#E9967A",DarkSeaGreen:"#8FBC8F",DarkSlateBlue:"#483D8B",DarkSlateGray:"#2F4F4F",DarkSlateGrey:"#2F4F4F",DarkTurquoise:"#00CED1",DarkViolet:"#9400D3",DeepPink:"#FF1493",DeepSkyBlue:"#00BFFF",DimGray:"#696969",DimGrey:"#696969",DodgerBlue:"#1E90FF",FireBrick:"#B22222",FloralWhite:"#FFFAF0",ForestGreen:"#228B22",Fuchsia:"#FF00FF",Gainsboro:"#DCDCDC",GhostWhite:"#F8F8FF",Gold:"#FFD700",GoldenRod:"#DAA520",Gray:"#808080",Green:"#008000",GreenYellow:"#ADFF2F",Grey:"#808080",HoneyDew:"#F0FFF0",HotPink:"#FF69B4",IndianRed:"#CD5C5C",Indigo:"#4B0082",Ivory:"#FFFFF0",Khaki:"#F0E68C",Lavender:"#E6E6FA",LavenderBlush:"#FFF0F5",LawnGreen:"#7CFC00",LemonChiffon:"#FFFACD",LightBlue:"#ADD8E6",LightCoral:"#F08080",LightCyan:"#E0FFFF",LightGoldenRodYellow:"#FAFAD2",LightGray:"#D3D3D3",LightGreen:"#90EE90",LightGrey:"#D3D3D3",LightPink:"#FFB6C1",LightSalmon:"#FFA07A",LightSeaGreen:"#20B2AA",LightSkyBlue:"#87CEFA",LightSlateGray:"#778899",LightSlateGrey:"#778899",LightSteelBlue:"#B0C4DE",LightYellow:"#FFFFE0",Lime:"#00FF00",LimeGreen:"#32CD32",Linen:"#FAF0E6",Magenta:"#FF00FF",Maroon:"#800000",MediumAquaMarine:"#66CDAA",MediumBlue:"#0000CD",MediumOrchid:"#BA55D3",MediumPurple:"#9370DB",MediumSeaGreen:"#3CB371",MediumSlateBlue:"#7B68EE",MediumSpringGreen:"#00FA9A",MediumTurquoise:"#48D1CC",MediumVioletRed:"#C71585",MidnightBlue:"#191970",MintCream:"#F5FFFA",MistyRose:"#FFE4E1",Moccasin:"#FFE4B5",NavajoWhite:"#FFDEAD",Navy:"#000080",OldLace:"#FDF5E6",Olive:"#808000",OliveDrab:"#6B8E23",Orange:"#FFA500",OrangeRed:"#FF4500",Orchid:"#DA70D6",PaleGoldenRod:"#EEE8AA",PaleGreen:"#98FB98",PaleTurquoise:"#AFEEEE",PaleVioletRed:"#DB7093",PapayaWhip:"#FFEFD5",PeachPuff:"#FFDAB9",Peru:"#CD853F",Pink:"#FFC0CB",Plum:"#DDA0DD",PowderBlue:"#B0E0E6",Purple:"#800080",RebeccaPurple:"#663399",Red:"#FF0000",RosyBrown:"#BC8F8F",RoyalBlue:"#4169E1",SaddleBrown:"#8B4513",Salmon:"#FA8072",SandyBrown:"#F4A460",SeaGreen:"#2E8B57",SeaShell:"#FFF5EE",Sienna:"#A0522D",Silver:"#C0C0C0",SkyBlue:"#87CEEB",SlateBlue:"#6A5ACD",SlateGray:"#708090",SlateGrey:"#708090",Snow:"#FFFAFA",SpringGreen:"#00FF7F",SteelBlue:"#4682B4",Tan:"#D2B48C",Teal:"#008080",Thistle:"#D8BFD8",Tomato:"#FF6347",Turquoise:"#40E0D0",Violet:"#EE82EE",Wheat:"#F5DEB3",White:"#FFFFFF",WhiteSmoke:"#F5F5F5",Yellow:"#FFFF00",YellowGreen:"#9ACD32"};let f=v;return Object.entries(p).forEach(([y,g])=>{v.toLowerCase()!=y.toLowerCase()||(f=g)}),f}(n),t=0,l=0,a=0,r=100,c=0,u=0,s=0;if(o.substring(0,1)==="#")o=function(v){let p=v.replace("#","");p.length===3&&(p=p.split("").map(b=>b+b).join(""));const f=parseInt(p.substring(0,2),16),y=parseInt(p.substring(2,4),16),g=parseInt(p.substring(4,6),16);return[f,y,g,100]}(o);else if(o.includes("rgb"))o=[...o.matchAll(/[\d+.\d+]+/g)].map(Number);else if(o.includes("hsl"))return o=[...o.matchAll(/[\d+.\d+]+/g)].map(String),t=o[0],l=o[1],a=o[2],r=ul(o[3]),`${t} ${l}% ${a}% / ${r}%`;[c,u,s,r]=o,c/=255,u/=255,s/=255,r=ul(r);const i=Math.max(c,u,s),d=Math.min(c,u,s);if(i===null||!d===null||isNaN(i)||isNaN(d)){const v="0 0% 100% / 12%";return console.warn(`[VuetifyInlineFields: The "color" prop value using "${o}" doesn't exist. Using the value "hsl(${v})" in it's place.`),v}if(t=(i+d)/2,l=(i+d)/2,a=(i+d)/2,i==d)t=l=0;else{const v=i-d;switch(l=a>.5?v/(2-i-d):v/(i+d),i){case c:t=(u-s)/v+(u{if(function(l){return l==="transparent"||l==="none"||l==="inherit"||l==="currentColor"||l==="initial"||l==="unset"}(n))return n;if(function(l){return l.includes("--v-theme")}(n))return`rgb(var(${n}))`;const t=function(l,a){const r=a.global.current.value.colors;return Object.entries(r).find(([c])=>c===l)}(n,o);return t?`hsl(${cl(t[1])})`:`hsl(${cl(n)})`},xn=n=>{const{str:o,unit:t="px"}=n;if(o!=null&&o!=="")return+o?`${Number(o)}${t}`:String(o)},Va=n=>{var a;const{modelValue:o,trueValue:t}=n,l=e.unref(o);return((a=l==null?void 0:l.toLowerCase)==null?void 0:a.call(l))==="true"||l==="1"||l=="1"||l===!0||l==t||l===t},yo=n=>{const{underlineStyle:o,underlineWidth:t,color:l,error:a,theme:r,underlined:c}=n;let{underlineColor:u}=n;u=u||l;const s={"border-bottom-color":Bi(u,r),"border-bottom-style":o,"border-bottom-width":t};return e.unref(a)&&(s["border-bottom-color"]="rgb(var(--v-theme-danger))"),c||(s["border-bottom"]="none"),s},Xe=n=>{const{cardMinWidth:o,cardOffsetX:t,cardOffsetY:l,cardWidth:a,field:r,name:c=""}=n,u=(d=>{const{cardOffsetX:v,cardOffsetY:p,field:f}=d;if(!f)return{bottom:0,height:0,left:0,right:0,top:0,width:0,x:0,y:0};const{x:y,y:g}=f.getBoundingClientRect(),{width:m,height:b}=f.getBoundingClientRect(),{right:w,bottom:N}=f.getBoundingClientRect();return{bottom:xn({str:N+Number(p)}),height:b,left:xn({str:0+Number(v)}),right:xn({str:w+Number(v)}),top:xn({str:2+Number(p)}),width:xn({str:m}),x:y,y:g}})({cardOffsetX:t,cardOffsetY:l,field:r});let s=o,i=a;return i||(i=c==="checkbox"?"fit-content":u.width),s||(s=c==="checkbox"?"fit-content":u.width),{left:u.left,top:u.top,width:i,zIndex:10}},ht=e.defineComponent({__name:"DisplayedValue",props:{color:{},displayAppendIcon:{},displayAppendIconColor:{},displayAppendInnerIcon:{},displayAppendInnerIconColor:{},displayPrependIcon:{},displayPrependIconColor:{},displayPrependInnerIcon:{},displayPrependInnerIconColor:{},displayValue:{},empty:{type:Boolean},error:{type:Boolean},field:{},underlineColor:{},underlineStyle:{},underlineWidth:{},underlined:{type:Boolean},valueColor:{}},emits:["toggleField"],setup(n,{emit:o}){const t=o,l=n,a=e.useSlots(),r=Kt.useTheme(),c={displayValue:l.displayValue,empty:l.empty,error:l.error},u=e.computed(()=>mo(l.field,l.valueColor,{empty:l.empty,error:l.error})),s=e.computed(()=>yo({color:l.color,error:l.error,theme:r,underlineColor:l.underlineColor,underlineStyle:l.underlineStyle,underlineWidth:l.underlineWidth,underlined:l.underlined})),i=e.computed(()=>(p=>{const{underlineWidth:f}=p;return{borderBottom:`${f||"0px"} solid transparent`}})({underlineWidth:l.underlineWidth})),d=(p,f=!1)=>(y=>{const{inner:g=!1,position:m}=y;return{[`${Z}--display-icon`]:!g,[`${Z}--display-${m}-icon`]:!g,[`${Z}--display-${m}-inner-icon`]:g,"me-1":m==="prepend","ms-1":m==="append"}})({inner:f,position:p});function v(){t("toggleField")}return(p,f)=>(e.openBlock(),e.createElementBlock("div",{class:"v-inline-fields--display-wrapper",onClick:v},[p.displayPrependIcon||e.unref(a)["display.prepend"]?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(d("prepend")),style:e.normalizeStyle(e.unref(i))},[e.unref(a)["display.prepend"]?e.renderSlot(p.$slots,"display.prepend",e.normalizeProps(e.mergeProps({key:0},c))):(e.openBlock(),e.createBlock(ce,{key:1,color:p.displayPrependIconColor,icon:p.displayPrependIcon,size:"x-small"},null,8,["color","icon"]))],6)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["d-inline-flex",e.unref(u)]),style:e.normalizeStyle(e.unref(s))},[p.displayPrependInnerIcon||e.unref(a)["display.prependInner"]?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(d("prepend",!0))},[e.unref(a)["display.prependInner"]?e.renderSlot(p.$slots,"display.prependInner",e.normalizeProps(e.mergeProps({key:0},c))):(e.openBlock(),e.createBlock(ce,{key:1,color:p.displayPrependInnerIconColor,icon:p.displayPrependInnerIcon,size:"x-small"},null,8,["color","icon"]))],2)):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(p.displayValue)+" ",1),p.displayAppendInnerIcon||e.unref(a)["display.appendInner"]?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(d("append",!0))},[e.unref(a)["display.appendInner"]?e.renderSlot(p.$slots,"display.appendInner",e.normalizeProps(e.mergeProps({key:0},c))):(e.openBlock(),e.createBlock(ce,{key:1,color:p.displayAppendInnerIconColor,icon:p.displayAppendInnerIcon,size:"x-small"},null,8,["color","icon"]))],2)):e.createCommentVNode("",!0)],6),p.displayAppendIcon||e.unref(a)["display.append"]?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(d("append")),style:e.normalizeStyle(e.unref(i))},[e.unref(a)["display.append"]?e.renderSlot(p.$slots,"display.append",e.normalizeProps(e.mergeProps({key:0},c))):(e.openBlock(),e.createBlock(ce,{key:1,color:p.displayAppendIconColor,icon:p.displayAppendIcon,size:"x-small"},null,8,["color","icon"]))],6)):e.createCommentVNode("",!0)]))}}),Sn=e.defineComponent({__name:"SaveFieldButtons",props:{loading:{type:Boolean},cancelButtonColor:{},cancelButtonSize:{},cancelButtonVariant:{},cancelButtonTitle:{},cancelIconColor:{},error:{type:Boolean},fieldOnly:{type:Boolean},hideCancelIcon:{type:Boolean},hideSaveIcon:{type:Boolean},cancelIcon:{},loadingIcon:{},loadingIconColor:{},saveButtonColor:{},saveButtonSize:{},saveButtonTitle:{},saveButtonVariant:{},saveIconColor:{},saveIcon:{}},emits:["close","save"],setup(n,{emit:o}){const t=e.useAttrs(),l=o,a=n,r=e.inject(Symbol.for("vuetify:icons")),c=e.computed(()=>a.error),u=e.computed(()=>({[`${Z}--save-fields-container`]:!0})),s=e.computed(()=>a.loading),i=e.reactive({...t,...a}),d=e.computed(()=>(r==null?void 0:r.defaultSet)==="fa"?"fa-spin":(r==null?void 0:r.defaultSet)==="mdi"?"mdi-spin":""),v=e.computed(()=>(b=>{const{cancelButtonVariant:w}=b;return{"me-1":w==="elevated","ms-1":!0}})({cancelButtonVariant:i.cancelButtonVariant})),p=e.computed(()=>_e({icon:a.cancelIcon,iconOptions:r,name:"false"})),f=e.computed(()=>_e({icon:a.loadingIcon,iconOptions:r,name:"loading"})),y=e.computed(()=>_e({icon:a.saveIcon,iconOptions:r,name:"save"}));function g(){l("close")}function m(){l("save")}return(b,w)=>(e.openBlock(),e.createElementBlock("div",e.mergeProps({class:e.unref(u)},b.$attrs),[e.unref(i).hideSaveIcon?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Jo,{key:0,class:"ms-1",color:e.unref(i).saveButtonColor,disabled:e.unref(c),icon:"",size:e.unref(i).saveButtonSize,title:e.unref(s)?"Loading":e.unref(i).saveButtonTitle,variant:e.unref(i).saveButtonVariant,onClick:m},{default:e.withCtx(()=>[e.unref(s)?(e.openBlock(),e.createBlock(ce,{key:1,class:e.normalizeClass(e.unref(d)),color:e.unref(i).loadingIconColor,icon:e.unref(f)},null,8,["class","color","icon"])):(e.openBlock(),e.createBlock(ce,{key:0,color:e.unref(c)?"error":e.unref(i).saveIconColor,icon:e.unref(y)},null,8,["color","icon"]))]),_:1},8,["color","disabled","size","title","variant"])),e.unref(i).hideCancelIcon?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Jo,{key:1,class:e.normalizeClass(e.unref(v)),color:e.unref(i).cancelButtonColor,icon:"",size:e.unref(i).cancelButtonSize,title:e.unref(i).cancelButtonTitle,variant:e.unref(i).cancelButtonVariant,onClick:g},{default:e.withCtx(()=>[e.unref(i).hideSaveIcon&&e.unref(s)?(e.openBlock(),e.createBlock(ce,{key:0,class:e.normalizeClass(e.unref(d)),color:e.unref(i).loadingIconColor,icon:e.unref(f)},null,8,["class","color","icon"])):(e.openBlock(),e.createBlock(ce,{key:1,class:"text-default",color:e.unref(i).cancelIconColor,icon:e.unref(p)},null,8,["color","icon"]))]),_:1},8,["class","color","size","title","variant"]))],16))}}),bt=n=>{const{required:o,rules:t}=n;let{value:l}=n;l=e.unref(l);const a=[];let r=!1;if(o&&!l)return a.push("Field is required."),{errors:!0,results:a};if(t){for(const c of t){const u=(typeof c=="function"?c:()=>c)(l);u!==!0&&(typeof u=="string"?a.push(u):console.warn(`${u} is not a valid value. Rule functions must return boolean true or a string.`))}r=a.length>0}return{errors:r,results:a}},In=n=>{const{attrs:o,closeSiblings:t,fieldOnly:l,props:a,showField:r,timeOpened:c}=n;let u=c;return t&&!l&&(u=new Date),{settings:{...o,...a},showField:!e.unref(r),timeOpened:u}},go=n=>{const{length:o=0}=n;let{suffix:t,text:l}=n;return l=l.toString(),t=t||"...",l.length>o?`${l.substring(0,o)}${t}`:l},Vn=["error","update","update:closeSiblingFields","update:model-value"],wi=["cancelButtonColor","cancelButtonSize","cancelButtonTitle","cancelButtonVariant","cancelIcon","cancelIconColor","closeSiblings","displayAppendIcon","displayAppendIconColor","displayAppendIconSize","displayAppendInnerIcon","displayAppendInnerIconColor","displayAppendInnerIconSize","displayPrependIcon","displayPrependIconColor","displayPrependIconSize","displayPrependInnerIcon","displayPrependInnerIconColor","displayPrependInnerIconSize","emptyText","fieldOnly","hideSaveIcon","item","loadingIcon","loadingIconColor","loadingWait","saveButtonColor","saveButtonSize","saveButtonTitle","saveButtonVariant","saveIcon","saveIconColor","tableField","truncateLength","truncateSuffix","underlineColor","underlineStyle","underlineWidth","underlined","valueColor"],Hn=n=>{let o=n;return o=Object.entries(o).filter(([t])=>!wi.includes(t)),Object.fromEntries(o)},ki={class:"v-selection-control__wrapper"},Ut=e.defineComponent({__name:"VInlineCheckbox",props:e.mergeModels(e.mergeDefaults({density:{},falseIcon:{},trueIcon:{},cancelButtonColor:{},cancelButtonSize:{},cancelButtonTitle:{},cancelButtonVariant:{},cancelIcon:{},cancelIconColor:{},cardField:{type:Boolean},cardOffsetX:{},cardOffsetY:{},cardProps:{},cell:{type:Boolean},cellUnderlineFullWidth:{type:Boolean},closeSiblings:{type:Boolean},color:{},disabled:{type:Boolean},displayAppendIcon:{},displayAppendIconColor:{},displayAppendIconSize:{},displayAppendInnerIcon:{},displayAppendInnerIconColor:{},displayAppendInnerIconSize:{},displayPrependIcon:{},displayPrependIconColor:{},displayPrependIconSize:{},displayPrependInnerIcon:{},displayPrependInnerIconColor:{},displayPrependInnerIconSize:{},emptyText:{},error:{type:Boolean},falseValue:{type:[Boolean,String]},fieldOnly:{type:Boolean},hideCancelIcon:{type:Boolean},hideDetails:{type:Boolean},hideSaveIcon:{type:Boolean},iconFalse:{},iconFalseColor:{},iconFalseTitle:{},iconTrue:{},iconTrueColor:{},iconTrueTitle:{},icons:{type:Boolean},item:{},label:{},loading:{type:Boolean},loadingIcon:{},loadingIconColor:{},loadingWait:{type:Boolean},name:{},required:{type:Boolean},saveButtonColor:{},saveButtonSize:{},saveButtonTitle:{},saveButtonVariant:{},saveIcon:{},saveIconColor:{},tableField:{type:Boolean},trueValue:{type:[Boolean,String]},underlineColor:{},underlineStyle:{},underlineWidth:{},underlined:{type:Boolean},valueColor:{}},{...Pa}),{modelValue:{}}),emits:e.mergeModels([...Vn],["update:modelValue"]),setup(n,{emit:o}){const t=e.useModel(n,"modelValue"),l=e.useAttrs(),a=e.useSlots(),r=o,c=e.inject(Ue,{}),u=e.inject(Symbol.for("vuetify:icons")),s=Kt.useTheme(),i=n;let d=e.reactive({...l,...i,...c});const{cancelButtonColor:v,cancelButtonSize:p,cancelButtonTitle:f,cancelButtonVariant:y,cancelIcon:g,cancelIconColor:m,cardField:b,closeSiblings:w,color:N,fieldOnly:M,hideCancelIcon:E,hideDetails:P,loadingIcon:L,loadingIconColor:A,saveButtonColor:I,saveButtonSize:k,saveButtonTitle:C,saveButtonVariant:V,saveIcon:B,saveIconColor:D}=e.toRefs(d),$=e.computed(()=>i.disabled),F=e.computed(()=>i.loading),h=e.ref(!1),S=e.ref(!1),x=e.ref(null),z=e.computed(()=>Hn(d)),T=e.computed(()=>({...un,...i.cardProps}));e.watch(()=>F.value,(Q,q)=>{!Q&&q&&S.value&&me()});const O=e.computed(()=>_e({icon:i.trueIcon,iconOptions:u,name:"checkboxFalse"})),H=e.computed(()=>_e({icon:i.iconTrue,iconOptions:u,name:"checkboxTrue"})),_=e.computed(()=>t.value==d.trueValue),W=e.computed(()=>Va({modelValue:t,trueValue:d.trueValue})),R=e.computed(()=>gn({cell:d.cell&&!S.value,density:d.density,disabled:$.value,field:"v-checkbox",loading:F.value,loadingWait:d.loadingWait,tableField:d.tableField})),j=e.computed(()=>hn({cell:d.cell,cellUnderlineFullWidth:d.cellUnderlineFullWidth,density:d.density,field:"v-checkbox"})),G=Ia({density:d.density}),Y=e.computed(()=>bn({active:S.value,name:"checkbox"})),te=e.computed(()=>mo("checkbox",d.valueColor,{error:h})),ie=e.computed(()=>Cn({name:"checkbox",showField:S.value})),re=e.computed(()=>({})),Ie=e.computed(()=>yo({color:d.color,error:h,theme:s,underlineColor:d.underlineColor,underlineStyle:d.underlineStyle,underlineWidth:d.underlineWidth,underlined:d.underlined})),fe=e.computed(()=>de.value);function pe(){h.value=!1,me()}const de=e.ref(),ge=e.ref(null),ve=e.ref("body"),be=Aa.useWindowSize();function me(){var q,ue;if($.value||d.loadingWait&&F.value)return;de.value=Xe({cardMinWidth:(q=d.cardProps)==null?void 0:q.minWidth,cardOffsetX:d.cardOffsetX,cardOffsetY:d.cardOffsetY,cardWidth:(ue=d.cardProps)==null?void 0:ue.width,field:ge.value,name:"checkbox"});const Q=In({attrs:l,closeSiblings:w.value,fieldOnly:d.fieldOnly,props:i,showField:S,timeOpened:x.value});d={...d,...Q.settings},S.value=Q.showField,x.value=Q.timeOpened,K!==null&&w.value&&S.value&&!d.fieldOnly&&K.emit(Q.timeOpened)}function oe(Q){t.value=Q,r("update",Q),d.loadingWait||me()}let K,le;function Ce(Q){r("update:closeSiblingFields",x),S.value&&x.value!==Q&&me()}return e.watch(()=>be,()=>{var Q,q;de.value=Xe({cardMinWidth:(Q=d.cardProps)==null?void 0:Q.minWidth,cardOffsetX:d.cardOffsetX,cardOffsetY:d.cardOffsetY,cardWidth:(q=d.cardProps)==null?void 0:q.width,field:ge.value,name:"checkbox"})},{deep:!0}),w.value&&import("@vueuse/core").then(({useEventBus:Q})=>{K=Q(sn),le=K.on(Ce)}),e.onUnmounted(()=>{le!==void 0&&K.off(Ce)}),(Q,q)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"inlineFieldsContainer",ref:ge,class:e.normalizeClass(e.unref(R)),style:e.normalizeStyle(e.unref(re))},[!e.unref(S)&&!e.unref(d).fieldOnly||e.unref(b)?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(j)),onClick:q[2]||(q[2]=ue=>e.unref(d).cell?me():void 0)},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(G)),onClick:q[1]||(q[1]=ue=>e.unref(d).cell?void 0:me())},[e.createElementVNode("div",ki,[Q.icons?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["v-inline-fields--boolean-icons-container",e.unref(te)]),style:e.normalizeStyle(e.unref(Ie))},[e.createVNode(e.unref(Sa),{modelValue:e.unref(W),"onUpdate:modelValue":q[0]||(q[0]=ue=>e.isRef(W)?W.value=ue:null),"icon-false":e.unref(d).iconFalse,"icon-false-color":e.unref(d).iconFalseColor,"icon-false-title":e.unref(d).iconFalseTitle,"icon-true":e.unref(d).iconTrue,"icon-true-color":e.unref(d).iconTrueColor,"icon-true-title":e.unref(d).iconTrueTitle},null,8,["modelValue","icon-false","icon-false-color","icon-false-title","icon-true","icon-true-color","icon-true-title"])],6)):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["d-inline-flex align-center justify-center",e.unref(te)]),style:e.normalizeStyle(e.unref(Ie))},e.toDisplayString(e.unref(_)),7))])],2)],2)):e.createCommentVNode("",!0),e.unref(S)||e.unref(M)||e.unref(b)?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(Y))},[(e.openBlock(),e.createBlock(e.Teleport,{disabled:!e.unref(b),to:e.unref(ve)},[e.createVNode(Cr,e.mergeProps(e.unref(z),{color:e.unref(N),density:e.unref(d).density,disabled:e.unref(F)||e.unref($),error:e.unref(h),"false-icon":e.unref(O),"false-value":e.unref(d).falseValue,"hide-details":e.unref(P),label:e.unref(d).label,"model-value":e.unref(W),"true-icon":e.unref(H),"true-value":e.unref(d).trueValue,"onUpdate:modelValue":oe}),e.createSlots({_:2},[e.renderList(e.unref(a),(ue,ne)=>({name:ne,fn:e.withCtx(ye=>[e.renderSlot(Q.$slots,ne,e.normalizeProps(e.guardReactiveProps({...ye})))])})),e.unref(a).append?void 0:{name:"append",fn:e.withCtx(()=>[e.createVNode(e.unref(Sn),{"cancel-button-color":e.unref(v),"cancel-button-size":e.unref(p),"cancel-button-title":e.unref(f),"cancel-button-variant":e.unref(y),"cancel-icon":e.unref(g),"cancel-icon-color":e.unref(m),error:e.unref(h),"field-only":e.unref(M),"hide-cancel-icon":e.unref(E),"hide-save-icon":!0,loading:e.unref(F),"loading-icon":e.unref(L),"loading-icon-color":e.unref(A),"save-button-color":e.unref(I),"save-button-size":e.unref(k),"save-button-title":e.unref(C),"save-button-variant":e.unref(V),"save-icon":e.unref(B),"save-icon-color":e.unref(D),onClose:pe,onSave:oe},null,8,["cancel-button-color","cancel-button-size","cancel-button-title","cancel-button-variant","cancel-icon","cancel-icon-color","error","field-only","hide-cancel-icon","loading","loading-icon","loading-icon-color","save-button-color","save-button-size","save-button-title","save-button-variant","save-icon","save-icon-color"])]),key:"0"}]),1040,["color","density","disabled","error","false-icon","false-value","hide-details","label","model-value","true-icon","true-value"])],8,["disabled","to"]))],2)):e.createCommentVNode("",!0),e.unref(b)?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(e.unref(ie)),style:e.normalizeStyle(e.unref(fe))},[e.createVNode(yn,e.normalizeProps(e.guardReactiveProps(e.unref(T))),{default:e.withCtx(()=>[e.createVNode(Qe,null,{default:e.withCtx(()=>[e.createElementVNode("div",{ref_key:"cardFieldRef",ref:ve},null,512)]),_:1})]),_:1},16)],6)):e.createCommentVNode("",!0)],6))}}),Gt=e.defineComponent({__name:"VInlineCustomField",props:e.mergeModels(e.mergeDefaults({clearIcon:{},density:{},rules:{},variant:{},autofocus:{type:Boolean},cancelButtonColor:{},cancelButtonSize:{},cancelButtonTitle:{},cancelButtonVariant:{},cancelIcon:{},cancelIconColor:{},cardField:{type:Boolean},cardOffsetX:{},cardOffsetY:{},cardProps:{},cell:{type:Boolean},cellUnderlineFullWidth:{type:Boolean},closeSiblings:{type:Boolean},color:{},disabled:{type:Boolean},displayAppendIcon:{},displayAppendIconColor:{},displayAppendIconSize:{},displayAppendInnerIcon:{},displayAppendInnerIconColor:{},displayAppendInnerIconSize:{},displayPrependIcon:{},displayPrependIconColor:{},displayPrependIconSize:{},displayPrependInnerIcon:{},displayPrependInnerIconColor:{},displayPrependInnerIconSize:{},emptyText:{},error:{type:Boolean},fieldOnly:{type:Boolean},hideCancelIcon:{type:Boolean},hideDetails:{type:Boolean},hideSaveIcon:{type:Boolean},item:{},label:{},loading:{type:Boolean},loadingIcon:{},loadingIconColor:{},loadingWait:{type:Boolean},name:{},required:{type:Boolean},saveButtonColor:{},saveButtonSize:{},saveButtonTitle:{},saveButtonVariant:{},saveIcon:{},saveIconColor:{},tableField:{type:Boolean},truncateLength:{},truncateSuffix:{},underlineColor:{},underlineStyle:{},underlineWidth:{},underlined:{type:Boolean},valueColor:{}},{...pl}),{modelValue:{}}),emits:e.mergeModels([...Vn],["update:modelValue"]),setup(n,{emit:o}){const t=e.useModel(n,"modelValue"),l=e.useAttrs(),a=e.useSlots(),r=o,c=e.inject(Ue,{}),u=e.inject(Symbol.for("vuetify:icons")),s=n;let i=e.reactive({...l,...s,...c});const{cancelButtonColor:d,cancelButtonSize:v,cancelButtonTitle:p,cancelButtonVariant:f,cancelIcon:y,cancelIconColor:g,cardField:m,closeSiblings:b,fieldOnly:w,hideCancelIcon:N,hideSaveIcon:M,loadingIcon:E,loadingIconColor:P,saveButtonColor:L,saveButtonSize:A,saveButtonTitle:I,saveButtonVariant:k,saveIcon:C,saveIconColor:V}=e.toRefs(i),B=e.computed(()=>s.disabled),D=e.computed(()=>s.loading),$=e.ref(!1),F=e.ref(!1),h=e.ref(!1),S=e.ref(null);let x=t.value;e.watch(()=>D.value,(K,le)=>{!K&&le&&h.value&&pe()});const z=e.computed(()=>t.value?($.value=!1,i.truncateLength?go({length:i.truncateLength,suffix:i.truncateSuffix,text:t.value}):t.value):($.value=!0,i.emptyText)),T=e.computed(()=>({...i,loading:D.value,modelValue:t.value,originalValue:x})),O=e.computed(()=>({color:i.color,displayAppendIcon:s.displayAppendIcon,displayAppendIconColor:s.displayAppendIconColor,displayAppendIconSize:s.displayAppendIconSize,displayAppendInnerIcon:s.displayAppendInnerIcon,displayAppendInnerIconColor:s.displayAppendInnerIconColor,displayAppendInnerIconSize:s.displayAppendInnerIconSize,displayPrependIcon:s.displayPrependIcon,displayPrependIconColor:s.displayPrependIconColor,displayPrependIconSize:s.displayPrependIconSize,displayPrependInnerIcon:s.displayPrependInnerIcon,displayPrependInnerIconColor:s.displayPrependInnerIconColor,displayPrependInnerIconSize:s.displayPrependInnerIconSize,displayValue:z.value,empty:$.value,error:F.value,field:"v-text-field",underlineColor:i.underlineColor,underlineStyle:i.underlineStyle,underlineWidth:i.underlineWidth,underlined:i.underlined,valueColor:i.valueColor})),H=e.computed(()=>({...un,...s.cardProps})),_=e.computed(()=>gn({cell:i.cell&&!h.value,density:i.density,disabled:B.value,field:"v-text-field",iconSet:u==null?void 0:u.defaultSet,loading:D.value,loadingWait:i.loadingWait,tableField:i.tableField,variant:i.variant})),W=e.computed(()=>hn({cell:i.cell,cellUnderlineFullWidth:i.cellUnderlineFullWidth,density:i.density,field:"v-text-field"})),R=gt({density:i.density,variant:i.variant}),j=e.computed(()=>bn({active:h.value,name:"text-field"})),G=e.computed(()=>Cn({name:"custom-field",showField:h.value})),Y=e.computed(()=>({})),te=e.computed(()=>re.value);function ie(){F.value=!1,t.value=x,pe()}const re=e.ref(),Ie=e.ref(null),fe=e.ref("body");function pe(){var le,Ce;if(B.value||i.loadingWait&&D.value)return;re.value=Xe({cardMinWidth:(le=i.cardProps)==null?void 0:le.minWidth,cardOffsetX:i.cardOffsetX,cardOffsetY:i.cardOffsetY,cardWidth:(Ce=i.cardProps)==null?void 0:Ce.width,field:Ie.value});const K=In({attrs:l,closeSiblings:b.value,fieldOnly:i.fieldOnly,props:s,showField:h,timeOpened:S.value});i={...i,...K.settings},h.value=K.showField,S.value=K.timeOpened,be!==null&&b.value&&h.value&&!i.fieldOnly&&be.emit(K.timeOpened)}const de=e.ref();function ge(){const K=bt({required:i.required,rules:i.rules,value:t});return F.value=K.errors,de.value=K.results,K.results}function ve(){F.value?F.value=!0:(x=t.value,r("update",t.value),i.loadingWait||pe())}let be,me;function oe(K){r("update:closeSiblingFields",S),h.value&&S.value!==K&&ie()}return e.watch(()=>h.value,()=>{h.value&&ge()}),e.watch(()=>t.value,()=>{h.value&&ge()}),b.value&&import("@vueuse/core").then(({useEventBus:K})=>{be=K(sn),me=be.on(oe)}),e.onUnmounted(()=>{me!==void 0&&be.off(oe)}),(K,le)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"inlineFieldsContainer",ref:Ie,class:e.normalizeClass(e.unref(_)),style:e.normalizeStyle(e.unref(Y))},[!e.unref(h)&&!e.unref(i).fieldOnly||e.unref(m)?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(W))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(R))},[e.createVNode(e.unref(ht),e.mergeProps(e.unref(O),{onToggleField:pe}),e.createSlots({_:2},[e.renderList(e.unref(a),(Ce,Q)=>({name:Q,fn:e.withCtx(q=>[e.renderSlot(K.$slots,Q,e.normalizeProps(e.guardReactiveProps({...q})))])}))]),1040)],2)],2)):e.createCommentVNode("",!0),e.unref(h)||e.unref(i).fieldOnly||e.unref(m)?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["d-flex align-center py-2",e.unref(j)])},[(e.openBlock(),e.createBlock(e.Teleport,{disabled:!e.unref(m),to:e.unref(fe)},[e.renderSlot(K.$slots,"default",e.normalizeProps(e.guardReactiveProps(e.unref(T)))),e.createVNode(e.unref(Sn),{"cancel-button-color":e.unref(d),"cancel-button-size":e.unref(v),"cancel-button-title":e.unref(p),"cancel-button-variant":e.unref(f),"cancel-icon":e.unref(y),"cancel-icon-color":e.unref(g),error:e.unref(F),"field-only":e.unref(w),"hide-cancel-icon":e.unref(N),"hide-save-icon":e.unref(M),loading:e.unref(D),"loading-icon":e.unref(E),"loading-icon-color":e.unref(P),"save-button-color":e.unref(L),"save-button-size":e.unref(A),"save-button-title":e.unref(I),"save-button-variant":e.unref(k),"save-icon":e.unref(C),"save-icon-color":e.unref(V),onClose:ie,onSave:ve},null,8,["cancel-button-color","cancel-button-size","cancel-button-title","cancel-button-variant","cancel-icon","cancel-icon-color","error","field-only","hide-cancel-icon","hide-save-icon","loading","loading-icon","loading-icon-color","save-button-color","save-button-size","save-button-title","save-button-variant","save-icon","save-icon-color"])],8,["disabled","to"]))],2)):e.createCommentVNode("",!0),e.unref(m)?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(e.unref(G)),style:e.normalizeStyle(e.unref(te))},[e.createVNode(yn,e.normalizeProps(e.guardReactiveProps(e.unref(H))),{default:e.withCtx(()=>[e.createVNode(Qe,null,{default:e.withCtx(()=>[e.createElementVNode("div",{ref_key:"cardFieldRef",ref:fe},null,512)]),_:1})]),_:1},16)],6)):e.createCommentVNode("",!0)],6))}}),qt=((n,o)=>{const t=n.__vccOpts||n;for(const[l,a]of o)t[l]=a;return t})(e.defineComponent({__name:"VInlineSelect",props:e.mergeModels(e.mergeDefaults({clearIcon:{},clearable:{},density:{},hideSelected:{},itemTitle:{},itemValue:{},items:{},menu:{},rules:{},variant:{},autofocus:{type:Boolean},cancelButtonColor:{},cancelButtonSize:{},cancelButtonTitle:{},cancelButtonVariant:{},cancelIcon:{},cancelIconColor:{},cardField:{type:Boolean},cardOffsetX:{},cardOffsetY:{},cardProps:{},cell:{type:Boolean},cellUnderlineFullWidth:{type:Boolean},closeSiblings:{type:Boolean},color:{},disabled:{type:Boolean},displayAppendIcon:{},displayAppendIconColor:{},displayAppendIconSize:{},displayAppendInnerIcon:{},displayAppendInnerIconColor:{},displayAppendInnerIconSize:{},displayPrependIcon:{},displayPrependIconColor:{},displayPrependIconSize:{},displayPrependInnerIcon:{},displayPrependInnerIconColor:{},displayPrependInnerIconSize:{},emptyText:{},error:{type:Boolean},fieldOnly:{type:Boolean},hideCancelIcon:{type:Boolean},hideDetails:{type:Boolean},hideSaveIcon:{type:Boolean},item:{},label:{},loading:{type:Boolean},loadingIcon:{},loadingIconColor:{},loadingWait:{type:Boolean},name:{},required:{type:Boolean},saveButtonColor:{},saveButtonSize:{},saveButtonTitle:{},saveButtonVariant:{},saveIcon:{},saveIconColor:{},tableField:{type:Boolean},underlineColor:{},underlineStyle:{},underlineWidth:{},underlined:{type:Boolean},valueColor:{}},{..._a}),{modelValue:{}}),emits:e.mergeModels([...Vn],["update:modelValue"]),setup(n,{emit:o}){const t=e.useModel(n,"modelValue"),l=e.useAttrs(),a=e.useSlots(),r=o,c=e.inject(Ue,{}),u=e.inject(Symbol.for("vuetify:icons")),s=n;let i=e.reactive({...l,...s,...c});const{cancelButtonColor:d,cancelButtonSize:v,cancelButtonTitle:p,cancelButtonVariant:f,cancelIcon:y,cancelIconColor:g,cardField:m,closeSiblings:b,color:w,fieldOnly:N,hideCancelIcon:M,hideDetails:E,hideSaveIcon:P,loadingIcon:L,loadingIconColor:A,saveButtonColor:I,saveButtonSize:k,saveButtonTitle:C,saveButtonVariant:V,saveIcon:B,saveIconColor:D,valueColor:$}=e.toRefs(i),F=e.computed(()=>s.disabled),h=e.computed(()=>s.loading),S=e.ref(!1),x=e.ref(!1),z=e.ref(),T=e.ref(!1),O=e.ref(null);let H=t.value;e.watch(()=>h.value,(ne,ye)=>{!ne&&ye&&T.value&&me()});const _=e.computed(()=>_e({icon:s.clearIcon,iconOptions:u,name:"clear"})),W=e.computed(()=>t.value&&t.value[i.itemTitle]?(S.value=!1,t.value[i.itemTitle]):t.value?t.value:(S.value=!0,i.emptyText)),R=e.computed(()=>Hn(i)),j=e.computed(()=>({color:i.color,displayAppendIcon:s.displayAppendIcon,displayAppendIconColor:s.displayAppendIconColor,displayAppendIconSize:s.displayAppendIconSize,displayAppendInnerIcon:s.displayAppendInnerIcon,displayAppendInnerIconColor:s.displayAppendInnerIconColor,displayAppendInnerIconSize:s.displayAppendInnerIconSize,displayPrependIcon:s.displayPrependIcon,displayPrependIconColor:s.displayPrependIconColor,displayPrependIconSize:s.displayPrependIconSize,displayPrependInnerIcon:s.displayPrependInnerIcon,displayPrependInnerIconColor:s.displayPrependInnerIconColor,displayPrependInnerIconSize:s.displayPrependInnerIconSize,displayValue:W.value,empty:S.value,error:x.value,field:"v-text-field",underlineColor:i.underlineColor,underlineStyle:i.underlineStyle,underlineWidth:i.underlineWidth,underlined:i.underlined,valueColor:$.value})),G=e.computed(()=>({...un,...s.cardProps}));e.watchEffect(()=>{z.value=i.items||[]});const Y=e.computed(()=>gn({cell:i.cell&&!T.value,density:i.density,disabled:F.value,field:"v-select",iconSet:u==null?void 0:u.defaultSet,loading:h.value,loadingWait:i.loadingWait,tableField:i.tableField,variant:i.variant})),te=e.computed(()=>hn({cell:i.cell,cellUnderlineFullWidth:i.cellUnderlineFullWidth,density:i.density,field:"v-select"})),ie=gt({density:i.density,variant:i.variant}),re=e.computed(()=>bn({active:T.value,name:"select"})),Ie=e.computed(()=>Cn({name:"select",showField:T.value})),fe=e.computed(()=>({})),pe=e.computed(()=>ge.value);function de(){x.value=!1,t.value=H,me()}const ge=e.ref(),ve=e.ref(null),be=e.ref("body");function me(){var ye,we;if(F.value||i.loadingWait&&h.value)return;ge.value=Xe({cardMinWidth:(ye=i.cardProps)==null?void 0:ye.minWidth,cardOffsetX:i.cardOffsetX,cardOffsetY:i.cardOffsetY,cardWidth:(we=i.cardProps)==null?void 0:we.width,field:ve.value});const ne=In({attrs:l,closeSiblings:b.value,fieldOnly:i.fieldOnly,props:s,showField:T,timeOpened:O.value});i={...i,...ne.settings},T.value=ne.showField,O.value=ne.timeOpened,Q!==null&&b.value&&T.value&&!i.fieldOnly&&Q.emit(ne.timeOpened)}const oe=e.ref(),K=e.computed(()=>oe.value);function le(){const ne=bt({required:i.required,rules:i.rules,value:t});return x.value=ne.errors,oe.value=ne.results,ne.results}function Ce(){H=t.value,r("update",t.value),i.loadingWait||me()}let Q,q;function ue(ne){r("update:closeSiblingFields",O),T.value&&O.value!==ne&&de()}return e.watch(()=>T.value,()=>{T.value&&le()}),e.watch(()=>t.value,()=>{T.value&&le()}),b.value&&import("@vueuse/core").then(({useEventBus:ne})=>{Q=ne(sn),q=Q.on(ue)}),e.onUnmounted(()=>{q!==void 0&&Q.off(ue)}),(ne,ye)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"inlineFieldsContainer",ref:ve,class:e.normalizeClass(e.unref(Y)),style:e.normalizeStyle(e.unref(fe))},[!e.unref(T)&&!e.unref(i).fieldOnly||e.unref(m)?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(te))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(ie))},[e.createVNode(e.unref(ht),e.mergeProps(e.unref(j),{onToggleField:me}),e.createSlots({_:2},[e.renderList(e.unref(a),(we,Bn)=>({name:Bn,fn:e.withCtx(Ct=>[e.renderSlot(ne.$slots,Bn,e.normalizeProps(e.guardReactiveProps({...Ct})),void 0,!0)])}))]),1040)],2)],2)):e.createCommentVNode("",!0),e.unref(T)||e.unref(i).fieldOnly||e.unref(m)?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(re))},[(e.openBlock(),e.createBlock(e.Teleport,{disabled:!e.unref(m),to:e.unref(be)},[e.createVNode(vi,e.mergeProps(e.unref(R),{modelValue:t.value,"onUpdate:modelValue":ye[0]||(ye[0]=we=>t.value=we),autofocus:!e.unref(i).fieldOnly||e.unref(i).autofocus,"clear-icon":e.unref(_),clearable:e.unref(i).clearable,color:e.unref(w),density:e.unref(i).density,disabled:e.unref(h)||e.unref(F),error:e.unref(x),"error-messages":e.unref(K),"hide-details":e.unref(E),"hide-selected":e.unref(i).hideSelected,"item-title":e.unref(i).itemTitle,"item-value":e.unref(i).itemValue,items:e.unref(z),label:e.unref(i).label,loading:e.unref(h),menu:e.unref(i).menu&&!e.unref(i).fieldOnly&&e.unref(T),variant:e.unref(i).variant,width:"100%",onKeyup:e.withKeys(de,["esc"])}),e.createSlots({_:2},[e.renderList(e.unref(a),(we,Bn)=>({name:Bn,fn:e.withCtx(Ct=>[e.renderSlot(ne.$slots,Bn,e.normalizeProps(e.guardReactiveProps({...Ct})),void 0,!0)])})),e.unref(a).append?void 0:{name:"append",fn:e.withCtx(()=>[e.createVNode(e.unref(Sn),{"cancel-button-color":e.unref(d),"cancel-button-size":e.unref(v),"cancel-button-title":e.unref(p),"cancel-button-variant":e.unref(f),"cancel-icon":e.unref(y),"cancel-icon-color":e.unref(g),error:e.unref(x),"field-only":e.unref(N),"hide-cancel-icon":e.unref(M),"hide-save-icon":e.unref(P),loading:e.unref(h),"loading-icon":e.unref(L),"loading-icon-color":e.unref(A),"save-button-color":e.unref(I),"save-button-size":e.unref(k),"save-button-title":e.unref(C),"save-button-variant":e.unref(V),"save-icon":e.unref(B),"save-icon-color":e.unref(D),onClose:de,onSave:Ce},null,8,["cancel-button-color","cancel-button-size","cancel-button-title","cancel-button-variant","cancel-icon","cancel-icon-color","error","field-only","hide-cancel-icon","hide-save-icon","loading","loading-icon","loading-icon-color","save-button-color","save-button-size","save-button-title","save-button-variant","save-icon","save-icon-color"])]),key:"0"}]),1040,["modelValue","autofocus","clear-icon","clearable","color","density","disabled","error","error-messages","hide-details","hide-selected","item-title","item-value","items","label","loading","menu","variant"])],8,["disabled","to"]))],2)):e.createCommentVNode("",!0),e.unref(m)?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(e.unref(Ie)),style:e.normalizeStyle(e.unref(pe))},[e.createVNode(yn,e.normalizeProps(e.guardReactiveProps(e.unref(G))),{default:e.withCtx(()=>[e.createVNode(Qe,null,{default:e.withCtx(()=>[e.createElementVNode("div",{ref_key:"cardFieldRef",ref:be},null,512)]),_:1})]),_:1},16)],6)):e.createCommentVNode("",!0)],6))}}),[["__scopeId","data-v-0716e076"]]),xi={class:"v-selection-control__wrapper"},Ht=e.defineComponent({__name:"VInlineSwitch",props:e.mergeModels(e.mergeDefaults({density:{},falseIcon:{},cancelButtonColor:{},cancelButtonSize:{},cancelButtonTitle:{},cancelButtonVariant:{},cancelIcon:{},cancelIconColor:{},cardField:{type:Boolean},cardOffsetX:{},cardOffsetY:{},cardProps:{},cell:{type:Boolean},cellUnderlineFullWidth:{type:Boolean},closeSiblings:{type:Boolean},color:{},disabled:{type:Boolean},displayAppendIcon:{},displayAppendIconColor:{},displayAppendIconSize:{},displayAppendInnerIcon:{},displayAppendInnerIconColor:{},displayAppendInnerIconSize:{},displayPrependIcon:{},displayPrependIconColor:{},displayPrependIconSize:{},displayPrependInnerIcon:{},displayPrependInnerIconColor:{},displayPrependInnerIconSize:{},emptyText:{},error:{type:Boolean},falseValue:{type:[Boolean,String]},fieldOnly:{type:Boolean},hideCancelIcon:{type:Boolean},hideDetails:{type:Boolean},hideSaveIcon:{type:Boolean},iconFalse:{},iconFalseColor:{},iconFalseTitle:{},iconTrue:{},iconTrueColor:{},iconTrueTitle:{},icons:{type:Boolean},item:{},label:{},loading:{type:Boolean},loadingIcon:{},loadingIconColor:{},loadingWait:{type:Boolean},name:{},required:{type:Boolean},saveButtonColor:{},saveButtonSize:{},saveButtonTitle:{},saveButtonVariant:{},saveIcon:{},saveIconColor:{},tableField:{type:Boolean},trueValue:{type:[Boolean,String]},underlineColor:{},underlineStyle:{},underlineWidth:{},underlined:{type:Boolean},valueColor:{}},{...Ea}),{modelValue:{}}),emits:e.mergeModels([...Vn],["update:modelValue"]),setup(n,{emit:o}){const t=e.useModel(n,"modelValue"),l=e.useAttrs(),a=e.useSlots(),r=o,c=e.inject(Ue,{}),u=Kt.useTheme(),s=n;let i=e.reactive({...l,...s,...c});const{cancelButtonColor:d,cancelButtonSize:v,cancelButtonTitle:p,cancelButtonVariant:f,cancelIcon:y,cancelIconColor:g,cardField:m,closeSiblings:b,color:w,fieldOnly:N,hideCancelIcon:M,hideDetails:E,loadingIcon:P,loadingIconColor:L,saveButtonColor:A,saveButtonSize:I,saveButtonTitle:k,saveButtonVariant:C,saveIcon:V,saveIconColor:B}=e.toRefs(i),D=e.computed(()=>s.disabled),$=e.computed(()=>s.loading),F=e.ref(!1),h=e.ref(!1),S=e.ref(null),x=e.computed(()=>Hn(i)),z=e.computed(()=>({...un,...s.cardProps}));e.watch(()=>$.value,(oe,K)=>{!oe&&K&&h.value&&de()});const T=e.computed(()=>t.value==i.trueValue),O=e.computed(()=>Va({modelValue:t,trueValue:i.trueValue})),H=e.computed(()=>gn({cell:i.cell&&!h.value,density:i.density,disabled:D.value,field:"v-switch",loading:$.value,loadingWait:i.loadingWait,tableField:i.tableField})),_=e.computed(()=>hn({cell:i.cell,cellUnderlineFullWidth:i.cellUnderlineFullWidth,density:i.density,field:"v-switch"})),W=Ia({density:i.density}),R=e.computed(()=>bn({active:h.value,name:"switch"})),j=e.computed(()=>mo("switch",i.valueColor,{error:F})),G=e.computed(()=>Cn({name:"switch",showField:h.value})),Y=e.computed(()=>({})),te=e.computed(()=>yo({color:i.color,error:F,theme:u,underlineColor:i.underlineColor,underlineStyle:i.underlineStyle,underlineWidth:i.underlineWidth,underlined:i.underlined})),ie=e.computed(()=>Ie.value);function re(){F.value=!1,de()}const Ie=e.ref(),fe=e.ref(null),pe=e.ref("body");function de(){var K,le;if(D.value||i.loadingWait&&$.value)return;Ie.value=Xe({cardMinWidth:(K=i.cardProps)==null?void 0:K.minWidth,cardOffsetX:i.cardOffsetX,cardOffsetY:i.cardOffsetY,cardWidth:(le=i.cardProps)==null?void 0:le.width,field:fe.value});const oe=In({attrs:l,closeSiblings:b.value,fieldOnly:i.fieldOnly,props:s,showField:h.value,timeOpened:S.value});i={...i,...oe.settings},h.value=oe.showField,S.value=oe.timeOpened,ve!==null&&b.value&&h.value&&!i.fieldOnly&&ve.emit(oe.timeOpened)}function ge(oe){t.value=oe,r("update",oe),i.loadingWait||de()}let ve,be;function me(oe){r("update:closeSiblingFields",S),h.value&&S.value!==oe&&de()}return b.value&&import("@vueuse/core").then(({useEventBus:oe})=>{ve=oe(sn),be=ve.on(me)}),e.onUnmounted(()=>{be!==void 0&&ve.off(me)}),(oe,K)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"inlineFieldsContainer",ref:fe,class:e.normalizeClass(e.unref(H)),style:e.normalizeStyle(e.unref(Y))},[!e.unref(h)&&!e.unref(i).fieldOnly||e.unref(i).cardField?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(_)),onClick:K[2]||(K[2]=le=>e.unref(i).cell?de():void 0)},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(W)),onClick:K[1]||(K[1]=le=>e.unref(i).cell?void 0:de())},[e.createElementVNode("div",xi,[oe.icons?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["v-inline-fields--boolean-icons-container",e.unref(j)]),style:e.normalizeStyle(e.unref(te))},[e.createVNode(e.unref(Sa),{modelValue:e.unref(O),"onUpdate:modelValue":K[0]||(K[0]=le=>e.isRef(O)?O.value=le:null),"icon-false":e.unref(i).iconFalse,"icon-false-color":e.unref(i).iconFalseColor,"icon-false-title":e.unref(i).iconFalseTitle,"icon-true":e.unref(i).iconTrue,"icon-true-color":e.unref(i).iconTrueColor,"icon-true-title":e.unref(i).iconTrueTitle},null,8,["modelValue","icon-false","icon-false-color","icon-false-title","icon-true","icon-true-color","icon-true-title"])],6)):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["d-inline-flex align-center justify-center",e.unref(j)]),style:e.normalizeStyle(e.unref(te))},e.toDisplayString(e.unref(T)),7))])],2)],2)):e.createCommentVNode("",!0),e.unref(h)||e.unref(i).fieldOnly||e.unref(m)?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(R))},[(e.openBlock(),e.createBlock(e.Teleport,{disabled:!e.unref(m),to:e.unref(pe)},[e.createVNode(Si,e.mergeProps(e.unref(x),{color:e.unref(w),density:e.unref(i).density,disabled:e.unref($)||e.unref(D),error:e.unref(F),"false-icon":e.unref(i).falseIcon,"false-value":e.unref(i).falseValue,"hide-details":e.unref(E),label:e.unref(i).label,loading:e.unref($),"model-value":e.unref(O),"true-value":e.unref(i).trueValue,"onUpdate:modelValue":ge}),e.createSlots({_:2},[e.renderList(e.unref(a),(le,Ce)=>({name:Ce,fn:e.withCtx(Q=>[e.renderSlot(oe.$slots,Ce,e.normalizeProps(e.guardReactiveProps({...Q})))])})),e.unref(a).append?void 0:{name:"append",fn:e.withCtx(()=>[e.createVNode(e.unref(Sn),{"cancel-button-color":e.unref(d),"cancel-button-size":e.unref(v),"cancel-button-title":e.unref(p),"cancel-button-variant":e.unref(f),"cancel-icon":e.unref(y),"cancel-icon-color":e.unref(g),class:"ms-3",error:e.unref(F),"field-only":e.unref(N),"hide-cancel-icon":e.unref(M),"hide-save-icon":!0,loading:e.unref($),"loading-icon":e.unref(P),"loading-icon-color":e.unref(L),"save-button-color":e.unref(A),"save-button-size":e.unref(I),"save-button-title":e.unref(k),"save-button-variant":e.unref(C),"save-icon":e.unref(V),"save-icon-color":e.unref(B),onClose:re,onSave:ge},null,8,["cancel-button-color","cancel-button-size","cancel-button-title","cancel-button-variant","cancel-icon","cancel-icon-color","error","field-only","hide-cancel-icon","loading","loading-icon","loading-icon-color","save-button-color","save-button-size","save-button-title","save-button-variant","save-icon","save-icon-color"])]),key:"0"}]),1040,["color","density","disabled","error","false-icon","false-value","hide-details","label","loading","model-value","true-value"])],8,["disabled","to"]))],2)):e.createCommentVNode("",!0),e.unref(m)?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(e.unref(G)),style:e.normalizeStyle(e.unref(ie))},[e.createVNode(yn,e.normalizeProps(e.guardReactiveProps(e.unref(z))),{default:e.withCtx(()=>[e.createVNode(Qe,null,{default:e.withCtx(()=>[e.createElementVNode("div",{ref_key:"cardFieldRef",ref:pe},null,512)]),_:1})]),_:1},16)],6)):e.createCommentVNode("",!0)],6))}}),Yt=e.defineComponent({__name:"VInlineTextField",props:e.mergeModels(e.mergeDefaults({clearIcon:{},density:{},rules:{},variant:{},autofocus:{type:Boolean},cancelButtonColor:{},cancelButtonSize:{},cancelButtonTitle:{},cancelButtonVariant:{},cancelIcon:{},cancelIconColor:{},cardField:{type:Boolean},cardOffsetX:{},cardOffsetY:{},cardProps:{},cell:{type:Boolean},cellUnderlineFullWidth:{type:Boolean},closeSiblings:{type:Boolean},color:{},disabled:{type:Boolean},displayAppendIcon:{},displayAppendIconColor:{},displayAppendIconSize:{},displayAppendInnerIcon:{},displayAppendInnerIconColor:{},displayAppendInnerIconSize:{},displayPrependIcon:{},displayPrependIconColor:{},displayPrependIconSize:{},displayPrependInnerIcon:{},displayPrependInnerIconColor:{},displayPrependInnerIconSize:{},emptyText:{},error:{type:Boolean},fieldOnly:{type:Boolean},hideCancelIcon:{type:Boolean},hideDetails:{type:Boolean},hideSaveIcon:{type:Boolean},item:{},label:{},loading:{type:Boolean},loadingIcon:{},loadingIconColor:{},loadingWait:{type:Boolean},name:{},required:{type:Boolean},saveButtonColor:{},saveButtonSize:{},saveButtonTitle:{},saveButtonVariant:{},saveIcon:{},saveIconColor:{},tableField:{type:Boolean},truncateLength:{},truncateSuffix:{},underlineColor:{},underlineStyle:{},underlineWidth:{},underlined:{type:Boolean},valueColor:{}},{...pl}),{modelValue:{}}),emits:e.mergeModels([...Vn],["update:modelValue"]),setup(n,{emit:o}){const t=e.useModel(n,"modelValue"),l=e.useAttrs(),a=e.useSlots(),r=o,c=e.inject(Ue,{}),u=e.inject(Symbol.for("vuetify:icons")),s=n;let i=e.reactive({...l,...s,...c});const{cancelButtonColor:d,cancelButtonSize:v,cancelButtonTitle:p,cancelButtonVariant:f,cancelIcon:y,cancelIconColor:g,cardField:m,closeSiblings:b,color:w,fieldOnly:N,hideCancelIcon:M,hideDetails:E,hideSaveIcon:P,loadingIcon:L,loadingIconColor:A,saveButtonColor:I,saveButtonSize:k,saveButtonTitle:C,saveButtonVariant:V,saveIcon:B,saveIconColor:D}=e.toRefs(i),$=e.computed(()=>s.disabled),F=e.computed(()=>s.loading),h=e.ref(!1),S=e.ref(!1),x=e.ref(!1),z=e.ref(null);let T=t.value;e.watch(()=>F.value,(q,ue)=>{!q&&ue&&x.value&&ve()});const O=e.computed(()=>_e({icon:s.clearIcon,iconOptions:u,name:"clear"})),H=e.computed(()=>t.value?(h.value=!1,i.truncateLength?go({length:i.truncateLength,suffix:i.truncateSuffix,text:t.value}):t.value):(h.value=!0,i.emptyText)),_=e.computed(()=>Hn(i)),W=e.computed(()=>({color:i.color,displayAppendIcon:s.displayAppendIcon,displayAppendIconColor:s.displayAppendIconColor,displayAppendIconSize:s.displayAppendIconSize,displayAppendInnerIcon:s.displayAppendInnerIcon,displayAppendInnerIconColor:s.displayAppendInnerIconColor,displayAppendInnerIconSize:s.displayAppendInnerIconSize,displayPrependIcon:s.displayPrependIcon,displayPrependIconColor:s.displayPrependIconColor,displayPrependIconSize:s.displayPrependIconSize,displayPrependInnerIcon:s.displayPrependInnerIcon,displayPrependInnerIconColor:s.displayPrependInnerIconColor,displayPrependInnerIconSize:s.displayPrependInnerIconSize,displayValue:H.value,empty:h.value,error:S.value,field:"v-text-field",underlineColor:i.underlineColor,underlineStyle:i.underlineStyle,underlineWidth:i.underlineWidth,underlined:i.underlined,valueColor:i.valueColor})),R=e.computed(()=>({...un,...s.cardProps})),j=e.computed(()=>gn({cell:i.cell&&!x.value,density:i.density,disabled:$.value,field:"v-text-field",iconSet:u==null?void 0:u.defaultSet,loading:F.value,loadingWait:i.loadingWait,tableField:i.tableField,variant:i.variant})),G=e.computed(()=>hn({cell:i.cell,cellUnderlineFullWidth:i.cellUnderlineFullWidth,density:i.density,field:"v-text-field"})),Y=gt({density:i.density,variant:i.variant}),te=e.computed(()=>bn({active:x.value,name:"text-field"})),ie=e.computed(()=>Cn({name:"text-field",showField:x.value})),re=e.computed(()=>({})),Ie=e.computed(()=>pe.value);function fe(){S.value=!1,t.value=T,ve()}const pe=e.ref(),de=e.ref(null),ge=e.ref("body");function ve(){var ue,ne;if($.value||i.loadingWait&&F.value)return;pe.value=Xe({cardMinWidth:(ue=i.cardProps)==null?void 0:ue.minWidth,cardOffsetX:i.cardOffsetX,cardOffsetY:i.cardOffsetY,cardWidth:(ne=i.cardProps)==null?void 0:ne.width,field:de.value});const q=In({attrs:l,closeSiblings:b.value,fieldOnly:i.fieldOnly,props:s,showField:x,timeOpened:z.value});i={...i,...q.settings},x.value=q.showField,z.value=q.timeOpened,le!==null&&b.value&&x.value&&!i.fieldOnly&&le.emit(q.timeOpened)}const be=e.ref(),me=e.computed(()=>be.value);function oe(){const q=bt({required:i.required,rules:i.rules,value:t});return S.value=q.errors,be.value=q.results,q.results}function K(){S.value?S.value=!0:(T=t.value,r("update",t.value),i.loadingWait||ve())}let le,Ce;function Q(q){r("update:closeSiblingFields",z),x.value&&z.value!==q&&fe()}return e.watch(()=>x.value,()=>{x.value&&oe()}),e.watch(()=>t.value,()=>{x.value&&oe()}),b.value&&import("@vueuse/core").then(({useEventBus:q})=>{le=q(sn),Ce=le.on(Q)}),e.onUnmounted(()=>{Ce!==void 0&&le.off(Q)}),(q,ue)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"inlineFieldsContainer",ref:de,class:e.normalizeClass(e.unref(j)),style:e.normalizeStyle(e.unref(re))},[!e.unref(x)&&!e.unref(i).fieldOnly||e.unref(m)?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(G))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(Y))},[e.createVNode(e.unref(ht),e.mergeProps(e.unref(W),{onToggleField:ve}),e.createSlots({_:2},[e.renderList(e.unref(a),(ne,ye)=>({name:ye,fn:e.withCtx(we=>[e.renderSlot(q.$slots,ye,e.normalizeProps(e.guardReactiveProps({...we})))])}))]),1040)],2)],2)):e.createCommentVNode("",!0),e.unref(x)||e.unref(i).fieldOnly||e.unref(m)?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(te))},[(e.openBlock(),e.createBlock(e.Teleport,{disabled:!e.unref(m),to:e.unref(ge)},[e.createVNode(jt,e.mergeProps(e.unref(_),{modelValue:t.value,"onUpdate:modelValue":ue[0]||(ue[0]=ne=>t.value=ne),autofocus:!e.unref(i).fieldOnly||e.unref(i).autofocus,"clear-icon":e.unref(O),color:e.unref(w),density:e.unref(i).density,disabled:e.unref(F)||e.unref($),error:e.unref(S),"error-messages":e.unref(me),"hide-details":e.unref(E),label:e.unref(i).label,loading:e.unref(F),variant:e.unref(i).variant,width:"100%",onKeyup:[e.withKeys(K,["enter"]),e.withKeys(fe,["esc"])]}),e.createSlots({_:2},[e.renderList(e.unref(a),(ne,ye)=>({name:ye,fn:e.withCtx(we=>[e.renderSlot(q.$slots,ye,e.normalizeProps(e.guardReactiveProps({...we})))])})),e.unref(a).append?void 0:{name:"append",fn:e.withCtx(()=>[e.createVNode(e.unref(Sn),{"cancel-button-color":e.unref(d),"cancel-button-size":e.unref(v),"cancel-button-title":e.unref(p),"cancel-button-variant":e.unref(f),"cancel-icon":e.unref(y),"cancel-icon-color":e.unref(g),error:e.unref(S),"field-only":e.unref(N),"hide-cancel-icon":e.unref(M),"hide-save-icon":e.unref(P),loading:e.unref(F),"loading-icon":e.unref(L),"loading-icon-color":e.unref(A),"save-button-color":e.unref(I),"save-button-size":e.unref(k),"save-button-title":e.unref(C),"save-button-variant":e.unref(V),"save-icon":e.unref(B),"save-icon-color":e.unref(D),onClose:fe,onSave:K},null,8,["cancel-button-color","cancel-button-size","cancel-button-title","cancel-button-variant","cancel-icon","cancel-icon-color","error","field-only","hide-cancel-icon","hide-save-icon","loading","loading-icon","loading-icon-color","save-button-color","save-button-size","save-button-title","save-button-variant","save-icon","save-icon-color"])]),key:"0"}]),1040,["modelValue","autofocus","clear-icon","color","density","disabled","error","error-messages","hide-details","label","loading","variant"])],8,["disabled","to"]))],2)):e.createCommentVNode("",!0),e.unref(m)?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(e.unref(ie)),style:e.normalizeStyle(e.unref(Ie))},[e.createVNode(yn,e.normalizeProps(e.guardReactiveProps(e.unref(R))),{default:e.withCtx(()=>[e.createVNode(Qe,null,{default:e.withCtx(()=>[e.createElementVNode("div",{ref_key:"cardFieldRef",ref:ge},null,512)]),_:1})]),_:1},16)],6)):e.createCommentVNode("",!0)],6))}}),Xt=e.defineComponent({__name:"VInlineTextarea",props:e.mergeModels(e.mergeDefaults({autoGrow:{},clearIcon:{},density:{},rows:{},rules:{},variant:{},autofocus:{type:Boolean},cancelButtonColor:{},cancelButtonSize:{},cancelButtonTitle:{},cancelButtonVariant:{},cancelIcon:{},cancelIconColor:{},cardField:{type:Boolean},cardOffsetX:{},cardOffsetY:{},cardProps:{},cell:{type:Boolean},cellUnderlineFullWidth:{type:Boolean},closeSiblings:{type:Boolean},color:{},disabled:{type:Boolean},displayAppendIcon:{},displayAppendIconColor:{},displayAppendIconSize:{},displayAppendInnerIcon:{},displayAppendInnerIconColor:{},displayAppendInnerIconSize:{},displayPrependIcon:{},displayPrependIconColor:{},displayPrependIconSize:{},displayPrependInnerIcon:{},displayPrependInnerIconColor:{},displayPrependInnerIconSize:{},emptyText:{},error:{type:Boolean},fieldOnly:{type:Boolean},hideCancelIcon:{type:Boolean},hideDetails:{type:Boolean},hideSaveIcon:{type:Boolean},item:{},label:{},loading:{type:Boolean},loadingIcon:{},loadingIconColor:{},loadingWait:{type:Boolean},name:{},required:{type:Boolean},saveButtonColor:{},saveButtonSize:{},saveButtonTitle:{},saveButtonVariant:{},saveIcon:{},saveIconColor:{},tableField:{type:Boolean},truncateLength:{},truncateSuffix:{},underlineColor:{},underlineStyle:{},underlineWidth:{},underlined:{type:Boolean},valueColor:{}},{...Oa}),{modelValue:{}}),emits:e.mergeModels([...Vn],["update:modelValue"]),setup(n,{emit:o}){const t=e.useModel(n,"modelValue"),l=e.useAttrs(),a=e.useSlots(),r=o,c=e.inject(Ue,{}),u=e.inject(Symbol.for("vuetify:icons")),s=n;let i=e.reactive({...l,...s,...c});const{cancelButtonColor:d,cancelButtonSize:v,cancelButtonTitle:p,cancelButtonVariant:f,cancelIcon:y,cancelIconColor:g,cardField:m,closeSiblings:b,color:w,fieldOnly:N,hideCancelIcon:M,hideDetails:E,hideSaveIcon:P,loadingIcon:L,loadingIconColor:A,saveButtonColor:I,saveButtonSize:k,saveButtonTitle:C,saveButtonVariant:V,saveIcon:B,saveIconColor:D}=e.toRefs(i),$=e.computed(()=>s.disabled),F=e.computed(()=>s.loading),h=e.ref(!1),S=e.ref(!1),x=e.ref(!1),z=e.ref(null);let T=t.value;e.watch(()=>F.value,(q,ue)=>{!q&&ue&&x.value&&ve()});const O=e.computed(()=>_e({icon:s.clearIcon,iconOptions:u,name:"clear"})),H=e.computed(()=>t.value?(h.value=!1,i.truncateLength?go({length:i.truncateLength,suffix:i.truncateSuffix,text:t.value}):t.value):(h.value=!0,i.emptyText)),_=e.computed(()=>Hn(i)),W=e.computed(()=>({color:i.color,displayAppendIcon:s.displayAppendIcon,displayAppendIconColor:s.displayAppendIconColor,displayAppendIconSize:s.displayAppendIconSize,displayAppendInnerIcon:s.displayAppendInnerIcon,displayAppendInnerIconColor:s.displayAppendInnerIconColor,displayAppendInnerIconSize:s.displayAppendInnerIconSize,displayPrependIcon:s.displayPrependIcon,displayPrependIconColor:s.displayPrependIconColor,displayPrependIconSize:s.displayPrependIconSize,displayPrependInnerIcon:s.displayPrependInnerIcon,displayPrependInnerIconColor:s.displayPrependInnerIconColor,displayPrependInnerIconSize:s.displayPrependInnerIconSize,displayValue:H.value,empty:h.value,error:S.value,field:"v-text-field",underlineColor:i.underlineColor,underlineStyle:i.underlineStyle,underlineWidth:i.underlineWidth,underlined:i.underlined,valueColor:i.valueColor})),R=e.computed(()=>({...un,...s.cardProps})),j=e.computed(()=>gn({cell:i.cell&&!x.value,density:i.density,disabled:$.value,field:"v-textarea",iconSet:u==null?void 0:u.defaultSet,loading:F.value,loadingWait:i.loadingWait,tableField:i.tableField,variant:i.variant})),G=e.computed(()=>hn({cell:i.cell,cellUnderlineFullWidth:i.cellUnderlineFullWidth,density:i.density,field:"v-textarea"})),Y=gt({density:i.density,variant:i.variant}),te=e.computed(()=>bn({active:x.value,name:"textarea"})),ie=e.computed(()=>Cn({name:"textarea",showField:x.value})),re=e.computed(()=>({})),Ie=e.computed(()=>pe.value);function fe(){S.value=!1,t.value=T,ve()}const pe=e.ref(),de=e.ref(null),ge=e.ref("body");function ve(){var ue,ne;if($.value||i.loadingWait&&F.value)return;pe.value=Xe({cardMinWidth:(ue=i.cardProps)==null?void 0:ue.minWidth,cardOffsetX:i.cardOffsetX,cardOffsetY:i.cardOffsetY,cardWidth:(ne=i.cardProps)==null?void 0:ne.width,field:de.value});const q=In({attrs:l,closeSiblings:b.value,fieldOnly:i.fieldOnly,props:s,showField:x,timeOpened:z.value});i={...i,...q.settings},x.value=q.showField,z.value=q.timeOpened,le!==null&&b.value&&x.value&&!i.fieldOnly&&le.emit(q.timeOpened)}const be=e.ref(),me=e.computed(()=>be.value);function oe(){const q=bt({required:i.required,rules:i.rules,value:t});return S.value=q.errors,be.value=q.results,q.results}function K(){T=t.value,r("update",t.value),i.loadingWait||ve()}let le,Ce;function Q(q){r("update:closeSiblingFields",z),x.value&&z.value!==q&&fe()}return e.watch(()=>x.value,()=>{x.value&&oe()}),e.watch(()=>t.value,()=>{x.value&&oe()}),b.value&&import("@vueuse/core").then(({useEventBus:q})=>{le=q(sn),Ce=le.on(Q)}),e.onUnmounted(()=>{Ce!==void 0&&le.off(Q)}),(q,ue)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"inlineFieldsContainer",ref:de,class:e.normalizeClass(e.unref(j)),style:e.normalizeStyle(e.unref(re))},[!e.unref(x)&&!e.unref(i).fieldOnly||e.unref(m)?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(G))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(Y))},[e.createVNode(e.unref(ht),e.mergeProps(e.unref(W),{onToggleField:ve}),e.createSlots({_:2},[e.renderList(e.unref(a),(ne,ye)=>({name:ye,fn:e.withCtx(we=>[e.renderSlot(q.$slots,ye,e.normalizeProps(e.guardReactiveProps({...we})))])}))]),1040)],2)],2)):e.createCommentVNode("",!0),e.unref(x)||e.unref(i).fieldOnly||e.unref(m)?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(te))},[(e.openBlock(),e.createBlock(e.Teleport,{disabled:!e.unref(m),to:e.unref(ge)},[e.createVNode(Vi,e.mergeProps(e.unref(_),{modelValue:t.value,"onUpdate:modelValue":ue[0]||(ue[0]=ne=>t.value=ne),"auto-grow":e.unref(i).autoGrow,autofocus:!e.unref(i).fieldOnly||e.unref(i).autofocus,"clear-icon":e.unref(O),color:e.unref(w),density:e.unref(i).density,disabled:e.unref(F)||e.unref($),error:e.unref(S),"error-messages":e.unref(me),"hide-details":e.unref(E),label:e.unref(i).label,loading:e.unref(F),rows:e.unref(i).rows,variant:e.unref(i).variant,width:"100%",onKeyup:e.withKeys(fe,["esc"])}),e.createSlots({_:2},[e.renderList(e.unref(a),(ne,ye)=>({name:ye,fn:e.withCtx(we=>[e.renderSlot(q.$slots,ye,e.normalizeProps(e.guardReactiveProps({...we})))])})),e.unref(a).append?void 0:{name:"append",fn:e.withCtx(()=>[e.createVNode(e.unref(Sn),{"cancel-button-color":e.unref(d),"cancel-button-size":e.unref(v),"cancel-button-title":e.unref(p),"cancel-button-variant":e.unref(f),"cancel-icon":e.unref(y),"cancel-icon-color":e.unref(g),error:e.unref(S),"field-only":e.unref(N),"hide-cancel-icon":e.unref(M),"hide-save-icon":e.unref(P),loading:e.unref(F),"loading-icon":e.unref(L),"loading-icon-color":e.unref(A),"save-button-color":e.unref(I),"save-button-size":e.unref(k),"save-button-title":e.unref(C),"save-button-variant":e.unref(V),"save-icon":e.unref(B),"save-icon-color":e.unref(D),onClose:fe,onSave:K},null,8,["cancel-button-color","cancel-button-size","cancel-button-title","cancel-button-variant","cancel-icon","cancel-icon-color","error","field-only","hide-cancel-icon","hide-save-icon","loading","loading-icon","loading-icon-color","save-button-color","save-button-size","save-button-title","save-button-variant","save-icon","save-icon-color"])]),key:"0"}]),1040,["modelValue","auto-grow","autofocus","clear-icon","color","density","disabled","error","error-messages","hide-details","label","loading","rows","variant"])],8,["disabled","to"]))],2)):e.createCommentVNode("",!0),e.unref(m)?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(e.unref(ie)),style:e.normalizeStyle(e.unref(Ie))},[e.createVNode(yn,e.normalizeProps(e.guardReactiveProps(e.unref(R))),{default:e.withCtx(()=>[e.createVNode(Qe,null,{default:e.withCtx(()=>[e.createElementVNode("div",{ref_key:"cardFieldRef",ref:ge},null,512)]),_:1})]),_:1},16)],6)):e.createCommentVNode("",!0)],6))}}),Ue=Symbol(),Fi={VInlineCheckbox:Ut,VInlineCustomField:Gt,VInlineSelect:qt,VInlineSwitch:Ht,VInlineTextField:Yt,VInlineTextarea:Xt};exports.VInlineCheckbox=Ut,exports.VInlineCustomField=Gt,exports.VInlineSelect=qt,exports.VInlineSwitch=Ht,exports.VInlineTextField=Yt,exports.VInlineTextarea=Xt,exports.createVInlineFields=function(n={}){return o=>{o.provide(Ue,n),o.component("VInlineCheckbox",Ut),o.component("VInlineCustomField",Gt),o.component("VInlineSelect",qt),o.component("VInlineSwitch",Ht),o.component("VInlineTextField",Yt),o.component("VInlineTextarea",Xt)}},exports.default=Fi,exports.globalOptions=Ue; -(function(){"use strict";try{if(typeof document<"u"){var i=document.createElement("style");i.appendChild(document.createTextNode(":root{--v-inline-fields-top-padding-compact: 13px;--v-inline-fields-top-padding-comfortable: 17px;--v-inline-fields-top-padding-default: 21px;--v-inline-fields-input-height: 24px;--v-inline-fields-density-compact-height: 32px;--v-inline-fields-density-comfortable-height: 40px;--v-inline-fields-grey: #909090}.v-inline-fields--container-v-select-comfortable-plain .v-input__control .v-field__clearable,.v-inline-fields--container-v-select-comfortable-underlined .v-input__control .v-field__clearable,.v-inline-fields--container-v-text-field-comfortable-plain .v-input__control .v-field__clearable,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input__control .v-field__clearable,.v-inline-fields--container-v-select-compact-plain .v-input__control .v-field__clearable,.v-inline-fields--container-v-select-compact-underlined .v-input__control .v-field__clearable,.v-inline-fields--container-v-text-field-compact-plain .v-input__control .v-field__clearable,.v-inline-fields--container-v-text-field-compact-underlined .v-input__control .v-field__clearable,.v-inline-fields--container-v-select-comfortable-plain .v-input__control .v-input__append,.v-inline-fields--container-v-select-comfortable-underlined .v-input__control .v-input__append,.v-inline-fields--container-v-text-field-comfortable-plain .v-input__control .v-input__append,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input__control .v-input__append,.v-inline-fields--container-v-select-compact-plain .v-input__control .v-input__append,.v-inline-fields--container-v-select-compact-underlined .v-input__control .v-input__append,.v-inline-fields--container-v-text-field-compact-plain .v-input__control .v-input__append,.v-inline-fields--container-v-text-field-compact-underlined .v-input__control .v-input__append{padding-top:0!important}.v-inline-fields--container-v-select-comfortable-plain .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-select-comfortable-underlined .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-text-field-comfortable-plain .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-select-compact-plain .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-select-compact-underlined .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-text-field-compact-plain .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-text-field-compact-underlined .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-select-comfortable-plain .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-select-comfortable-underlined .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-text-field-comfortable-plain .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-select-compact-plain .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-select-compact-underlined .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-text-field-compact-plain .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-text-field-compact-underlined .v-input__control .v-input__append .v-icon{font-size:1rem!important}.v-inline-fields{position:relative}.v-inline-fields--display-container *{align-items:center;display:flex}.v-inline-fields--display-container-cell{cursor:pointer;display:block;max-height:unset!important}.v-inline-fields--display-container-cell>div{width:100%}.v-inline-fields--display-container-cell-underline-full-width .v-inline-fields--display-value{width:100%}.v-inline-fields--display-container-cell .v-inline-fields--selection-control .v-inline-fields--display-value{justify-content:center}.v-inline-fields--display-container-cell,.v-inline-fields--display-container-cell .v-input,.v-inline-fields--display-container-cell .v-inline-fields--display-wrapper,.v-inline-fields--display-container-cell .v-selection-control__wrapper{height:100%!important;width:100%}.v-inline-fields--display-value{cursor:pointer;letter-spacing:.009375em!important}.v-inline-fields--display-value-empty{color:var(--v-inline-fields-grey);font-style:italic}.v-inline-fields--display-value-checkbox,.v-inline-fields--display-value-switch{padding-bottom:2px;padding-top:6px}.v-inline-fields--display-append-icon,.v-inline-fields--display-prepend-icon,.v-inline-fields--display-append-inner-icon,.v-inline-fields--display-prepend-inner-icon{align-items:flex-end;display:inline-flex}.v-inline-fields--container-cell{height:100%;width:100%}.v-inline-fields--container-disabled .v-inline-fields--display-value{cursor:default!important;opacity:var(--v-disabled-opacity)}.v-inline-fields--container-loading .v-inline-fields--display-value{cursor:wait!important}.v-inline-fields--container-icon-set-fa .v-field__clearable{font-size:.8rem}.v-inline-fields--container-icon-set-fa .v-field__append-inner{align-items:flex-end;padding-bottom:0!important}.v-inline-fields--container-v-select-compact-plain .v-input,.v-inline-fields--container-v-select-compact-underlined .v-input,.v-inline-fields--container-v-text-field-compact-plain .v-input,.v-inline-fields--container-v-text-field-compact-underlined .v-input{height:var(--v-inline-fields-density-compact-height);max-height:var(--v-inline-fields-density-compact-height)}.v-inline-fields--container-v-select-compact-plain .v-input__control,.v-inline-fields--container-v-select-compact-underlined .v-input__control,.v-inline-fields--container-v-text-field-compact-plain .v-input__control,.v-inline-fields--container-v-text-field-compact-underlined .v-input__control{padding-bottom:4px}.v-inline-fields--container-v-select-compact-plain .v-input>div,.v-inline-fields--container-v-select-compact-underlined .v-input>div,.v-inline-fields--container-v-text-field-compact-plain .v-input>div,.v-inline-fields--container-v-text-field-compact-underlined .v-input>div{height:inherit!important;max-height:inherit!important}.v-inline-fields--container-v-select-compact-plain .v-input .v-field__input,.v-inline-fields--container-v-select-compact-underlined .v-input .v-field__input,.v-inline-fields--container-v-text-field-compact-plain .v-input .v-field__input,.v-inline-fields--container-v-text-field-compact-underlined .v-input .v-field__input{padding-top:0}.v-inline-fields--container-v-select-compact-plain .v-input .v-field__input input,.v-inline-fields--container-v-select-compact-underlined .v-input .v-field__input input,.v-inline-fields--container-v-text-field-compact-plain .v-input .v-field__input input,.v-inline-fields--container-v-text-field-compact-underlined .v-input .v-field__input input{padding-bottom:10px}.v-inline-fields--container-v-select-compact-plain .v-input .v-select__selection,.v-inline-fields--container-v-select-compact-underlined .v-input .v-select__selection,.v-inline-fields--container-v-text-field-compact-plain .v-input .v-select__selection,.v-inline-fields--container-v-text-field-compact-underlined .v-input .v-select__selection{align-items:center;padding-bottom:10px}.v-inline-fields--container-v-select-comfortable-plain .v-input,.v-inline-fields--container-v-select-comfortable-underlined .v-input,.v-inline-fields--container-v-text-field-comfortable-plain .v-input,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input{height:var(--v-inline-fields-density-comfortable-height);max-height:var(--v-inline-fields-density-comfortable-height)}.v-inline-fields--container-v-select-comfortable-plain .v-input__control,.v-inline-fields--container-v-select-comfortable-underlined .v-input__control,.v-inline-fields--container-v-text-field-comfortable-plain .v-input__control,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input__control{padding-bottom:8px}.v-inline-fields--container-v-select-comfortable-plain .v-input>div,.v-inline-fields--container-v-select-comfortable-underlined .v-input>div,.v-inline-fields--container-v-text-field-comfortable-plain .v-input>div,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input>div{height:inherit!important;max-height:inherit!important}.v-inline-fields--container-v-select-comfortable-plain .v-input .v-field__input,.v-inline-fields--container-v-select-comfortable-underlined .v-input .v-field__input,.v-inline-fields--container-v-text-field-comfortable-plain .v-input .v-field__input,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input .v-field__input{padding-top:0}.v-inline-fields--container-v-select-comfortable-plain .v-input .v-field__input input,.v-inline-fields--container-v-select-comfortable-underlined .v-input .v-field__input input,.v-inline-fields--container-v-text-field-comfortable-plain .v-input .v-field__input input,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input .v-field__input input{padding-bottom:6px}.v-inline-fields--container-v-select-comfortable-plain .v-input .v-select__selection,.v-inline-fields--container-v-select-comfortable-underlined .v-input .v-select__selection,.v-inline-fields--container-v-text-field-comfortable-plain .v-input .v-select__selection,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input .v-select__selection{align-items:center;padding-bottom:6px}.v-inline-fields--container-v-select-compact-plain .v-field__append-inner,.v-inline-fields--container-v-select-compact-underlined .v-field__append-inner{padding-top:4px!important}.v-inline-fields--container-v-select-comfortable-plain .v-field__append-inner,.v-inline-fields--container-v-select-comfortable-underlined .v-field__append-inner{padding-top:8px!important}.v-inline-fields--container-v-textarea .v-inline-fields--save-fields-container{align-items:flex-end}.v-inline-fields--container-v-select,.v-inline-fields--container-v-textarea,.v-inline-fields--container-v-text-field{width:100%}.v-inline-fields--container-v-checkbox .v-input,.v-inline-fields--container-v-switch .v-input{align-items:center;display:flex;padding-bottom:0}.v-inline-fields--container-v-checkbox .v-input__append,.v-inline-fields--container-v-switch .v-input__append{margin-inline-start:0!important;margin-left:0;padding-bottom:0!important}.v-inline-fields--container-v-checkbox .v-selection-control,.v-inline-fields--container-v-switch .v-selection-control{min-height:unset}.v-inline-fields--container-v-checkbox .v-inline-fields--save-fields-container,.v-inline-fields--container-v-switch .v-inline-fields--save-fields-container{align-items:center!important}.v-inline-fields--container .v-input__append,.v-inline-fields--container .v-input__prepend,.v-inline-fields--container .v-field__append-inner,.v-inline-fields--container .v-field__prepend-inner{padding-top:0!important}.v-inline-fields--container .v-input__append .v-icon,.v-inline-fields--container .v-input__prepend .v-icon,.v-inline-fields--container .v-field__append-inner .v-icon,.v-inline-fields--container .v-field__prepend-inner .v-icon{font-size:1rem!important}.v-inline-fields--container .v-field__append-inner,.v-inline-fields--container .v-field__prepend-inner{padding-bottom:10px!important}.v-inline-fields--container-compact .v-input__append,.v-inline-fields--container-compact .v-input__prepend,.v-inline-fields--container-compact .v-field__append-inner,.v-inline-fields--container-compact .v-field__prepend-inner{align-items:center!important}.v-inline-fields--container-compact .v-field__append-inner,.v-inline-fields--container-compact .v-field__prepend-inner{padding-bottom:10px!important}.v-inline-fields--container-comfortable .v-input__append,.v-inline-fields--container-comfortable .v-input__prepend,.v-inline-fields--container-comfortable .v-field__append-inner,.v-inline-fields--container-comfortable .v-field__prepend-inner{align-items:center!important}.v-inline-fields--container-comfortable .v-field__append-inner,.v-inline-fields--container-comfortable .v-field__prepend-inner{padding-bottom:6px!important}.v-inline-fields--container-default .v-input__append,.v-inline-fields--container-default .v-input__prepend,.v-inline-fields--container-default .v-field__append-inner,.v-inline-fields--container-default .v-field__prepend-inner{align-items:flex-end!important;padding-bottom:0!important}.v-inline-fields--container-default .v-input__append .v-icon,.v-inline-fields--container-default .v-input__prepend .v-icon,.v-inline-fields--container-default .v-field__append-inner .v-icon,.v-inline-fields--container-default .v-field__prepend-inner .v-icon{font-size:calc(var(--v-icon-size-multiplier) * 1.5em)!important}.v-inline-fields--container-default .v-inline-fields--save-fields-container{align-items:flex-end!important}.v-inline-fields--card-container{height:fit-content;min-width:fit-content!important;position:absolute}.v-inline-fields--card-container .v-card{border:1px solid hsla(0,0%,50%,.5)}.v-inline-fields--card-container .v-card .v-card-text{padding:5px 10px}.v-inline-fields--card-container .v-card .v-card-text>div{align-items:center;display:flex}.v-inline-fields--card-container-checkbox .v-card .v-card-text .v-input__append{margin-inline-start:0}.v-inline-fields--save-fields-container{align-items:center;display:flex;height:100%;margin-left:.1rem}.v-inline-fields--boolean-icons{font-size:calc(var(--v-icon-size-multiplier) * 1em)}.v-inline-fields .truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:250px}.v-inline-fields .v-input__append{padding-top:0}[data-v-0716e076] .v-field__field{align-items:flex-end!important}")),document.head.appendChild(i)}}catch(n){console.error("vite-plugin-css-injected-by-js",n)}})(); + */Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),Gt=require("vuetify"),Pa=require("@vueuse/core"),sn=Symbol("identifier"),un={elevation:5,variant:"flat"},On={cancelButtonColor:"default",cancelButtonSize:"x-small",cancelButtonTitle:"Cancel",cancelButtonVariant:"text",cancelIcon:void 0,cancelIconColor:"default",cardField:!1,cardOffsetX:0,cardOffsetY:0,cardProps:()=>({}),cell:!1,cellUnderlineFullWidth:!0,closeSiblings:!1,color:"primary",density:"compact",disabled:!1,displayAppendIcon:void 0,displayAppendIconColor:void 0,displayAppendIconSize:"x-small",displayAppendInnerIcon:void 0,displayAppendInnerIconColor:void 0,displayAppendInnerIconSize:"x-small",displayPrependIcon:void 0,displayPrependIconColor:void 0,displayPrependIconSize:"x-small",displayPrependInnerIcon:void 0,displayPrependInnerIconColor:void 0,displayPrependInnerIconSize:"x-small",emptyText:"empty",error:!1,fieldOnly:!1,hideCancelIcon:!1,hideDetails:!0,label:"",loading:!1,loadingWait:!0,name:"",tableField:!0,underlineColor:"primary",underlineStyle:"dotted",underlineWidth:"2px",underlined:!0,valueColor:"default"},qt={autofocus:!0},zn={hideCancelIcon:!1,hideSaveIcon:!1,loadingIcon:void 0,loadingIconColor:"primary",saveButtonColor:"primary",saveButtonSize:"x-small",saveButtonTitle:"Save",saveButtonVariant:"text",saveIcon:void 0,saveIconColor:"primary"},rl={falseValue:!1,iconFalse:void 0,iconFalseColor:"danger",iconFalseTitle:"No",iconTrue:void 0,iconTrueColor:"success",iconTrueTitle:"Yes",icons:!0,trueValue:!0},_a={...On,...rl,...zn,falseIcon:void 0,icons:!0,trueIcon:void 0},Ea={...On,...qt,...zn,clearIcon:void 0,clearable:!1,hideSelected:!0,itemTitle:"title",itemValue:"value",items:()=>[],menu:!0,variant:"underlined"},Oa={...On,...rl,...zn,icons:!0,falseIcon:""},za={...qt,...zn,...On,autoGrow:!0,rows:1,truncateLength:void 0,truncateSuffix:"...",variant:"underlined"},il={...On,...qt,...zn,truncateLength:void 0,truncateSuffix:"...",variant:"underlined"},Q="v-inline-fields",cn=n=>{const{cell:o=!1,field:t="",density:l="",disabled:a=!1,iconSet:r="mdi",loading:c=!1,loadingWait:u,tableField:s=!1,variant:i}=n,d=l&&i;return{[`${Q}`]:!0,[`${Q}--container`]:!0,[`${Q}--container-cell`]:o,[`${Q}--container-disabled`]:e.unref(a),[`${Q}--container-table`]:s,[`${Q}--container-icon-set-${r}`]:!0,[`${Q}--container-loading`]:c&&u,[`${Q}--container-${t}`]:!0,[`${Q}--container-${t}-${l}`]:!0,[`${Q}--container-${t}-${l}-${i}`]:d,[`${Q}--container-${t}-${i}`]:i,[`${Q}--container-${t}-${i}-${l}`]:d,[`${Q}--container-${l}`]:l,[`${Q}--container-${l}-${t}`]:l,[`${Q}--container-${l}-${i}`]:d,[`${Q}--container-${i}`]:i,[`${Q}--container-${i}-${l}`]:d,[`${Q}--container-${i}-${t}`]:i}},dn=n=>{const{cell:o=!1,cellUnderlineFullWidth:t=!0,field:l="",density:a=""}=n;return{[`${Q}--display-container-cell`]:o,[`${Q}--display-container-cell-underline-full-width`]:o&&t,[`${Q}--display-container`]:!0,[`${Q}--display-wrapper-value`]:!0,[`${l}`]:!0,"v-input":!0,[`v-input--density-${a}`]:!0,"v-input--horizontal":!0}},vt=n=>{const{density:o="",variant:t=""}=n;return{"v-input":!0,"v-input--dirty":!0,"v-input--horizontal":!0,"v-text-field":!0,[`v-input--density-${o}`]:!0,[`v-text-field--plain-${t}`]:!0}},sl=n=>{const{density:o=""}=n;return{[`${Q}--selection-control`]:!0,[`v-selection-control--density-${o}`]:!0}},Ht=(n,o,t)=>{const{error:l=!1,empty:a=!1}=t;return{[`${Q}`]:!0,[`${Q}--display-value-${n}`]:!0,[`${Q}--display-value`]:!0,[`${Q}--display-value-empty`]:e.unref(a),[`text-${o}`]:!e.unref(l),"text-danger":e.unref(l)}},pn=n=>{const{name:o,active:t=!1}=n;return{[`${Q}`]:!0,[`${Q}--field`]:!0,[`${Q}--field-${o}`]:!0,[`${Q}--field-active`]:t}},vn=n=>{const{name:o,showField:t}=n;return{[`${Q}--card-container`]:!0,[`${Q}--card-container-${o}`]:!0,"d-none":!t}},Ta={fa:{checkboxFalse:"$checkboxOff",checkboxTrue:"far fa-square-check",clear:"$clear",false:"$close",loading:"fa-circle-notch",save:"fa-floppy-disk",true:"$complete"},mdi:{checkboxFalse:"$checkboxOff",checkboxTrue:"mdi:mdi-checkbox-outline",clear:"$clear",false:"$close",loading:"mdi-loading",save:"mdi-content-save",true:"$complete"}},_e=n=>{const{icon:o,iconOptions:t,name:l}=n;if(o)return o;const a=Ta[t==null?void 0:t.defaultSet];if(!a)throw new Error(`VInlineFields: No VInlineFields default ${t==null?void 0:t.defaultSet} icon set found for ${l}. Please set the icon prop.`);const r=a[l];if(!r)throw new Error(`VInlineFields: No ${l} icon found. Please set the icon prop, or set the default icon set to 'mdi' or 'fa'`);return r},xe=typeof window<"u",Yt=xe&&"IntersectionObserver"in window;function fo(n,o,t){const l=o.length-1;if(l<0)return n===void 0?t:n;for(let a=0;afn(n[l],o[l]))}function Te(n,o,t){if(o===!0)return n===void 0?t:n;if(o==null||typeof o=="boolean")return t;if(n!==Object(n)){if(typeof o!="function")return t;const a=o(n,t);return a===void 0?t:a}if(typeof o=="string")return function(a,r,c){return a!=null&&r&&typeof r=="string"?a[r]!==void 0?a[r]:fo(a,(r=(r=r.replace(/\[(\w+)\]/g,".$1")).replace(/^\./,"")).split("."),c):c}(n,o,t);if(Array.isArray(o))return fo(n,o,t);if(typeof o!="function")return t;const l=o(n,t);return l===void 0?t:l}function Z(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"px";return n==null||n===""?void 0:isNaN(+n)?String(n):isFinite(+n)?`${Number(n)}${o}`:void 0}function Pt(n){return n!==null&&typeof n=="object"&&!Array.isArray(n)}function nt(n){if(n&&"$el"in n){const o=n.$el;return(o==null?void 0:o.nodeType)===Node.TEXT_NODE?o.nextElementSibling:o}return n}const mo=Object.freeze({enter:13,tab:9,delete:46,esc:27,space:32,up:38,down:40,left:37,right:39,end:35,home:36,del:46,backspace:8,insert:45,pageup:33,pagedown:34,shift:16});function St(n,o){return o.every(t=>n.hasOwnProperty(t))}function ul(n,o){const t={},l=new Set(Object.keys(n));for(const a of o)l.has(a)&&(t[a]=n[a]);return t}function yo(n,o,t){const l=Object.create(null),a=Object.create(null);for(const r in n)o.some(c=>c instanceof RegExp?c.test(r):c===r)&&!(t!=null&&t.some(c=>c===r))?l[r]=n[r]:a[r]=n[r];return[l,a]}function Ke(n,o){const t={...n};return o.forEach(l=>delete t[l]),t}const cl=/^on[^a-z]/,_t=n=>cl.test(n),$a=["onAfterscriptexecute","onAnimationcancel","onAnimationend","onAnimationiteration","onAnimationstart","onAuxclick","onBeforeinput","onBeforescriptexecute","onChange","onClick","onCompositionend","onCompositionstart","onCompositionupdate","onContextmenu","onCopy","onCut","onDblclick","onFocusin","onFocusout","onFullscreenchange","onFullscreenerror","onGesturechange","onGestureend","onGesturestart","onGotpointercapture","onInput","onKeydown","onKeypress","onKeyup","onLostpointercapture","onMousedown","onMousemove","onMouseout","onMouseover","onMouseup","onMousewheel","onPaste","onPointercancel","onPointerdown","onPointerenter","onPointerleave","onPointermove","onPointerout","onPointerover","onPointerup","onReset","onSelect","onSubmit","onTouchcancel","onTouchend","onTouchmove","onTouchstart","onTransitioncancel","onTransitionend","onTransitionrun","onTransitionstart","onWheel"];function Tn(n){const[o,t]=yo(n,[cl]),l=Ke(o,$a),[a,r]=yo(t,["class","style","id",/^data-/]);return Object.assign(a,o),Object.assign(r,l),[a,r]}function $e(n){return n==null?[]:Array.isArray(n)?n:[n]}function ln(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1;return Math.max(o,Math.min(t,n))}function go(n,o){return n+(arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0").repeat(Math.max(0,o-n.length))}function tn(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=arguments.length>2?arguments[2]:void 0;const l={};for(const a in n)l[a]=n[a];for(const a in o){const r=n[a],c=o[a];Pt(r)&&Pt(c)?l[a]=tn(r,c,t):Array.isArray(r)&&Array.isArray(c)&&t?l[a]=t(r,c):l[a]=c}return l}function dl(n){return n.map(o=>o.type===e.Fragment?dl(o.children):o).flat()}function qe(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";if(qe.cache.has(n))return qe.cache.get(n);const o=n.replace(/[^a-z]/gi,"-").replace(/\B([A-Z])/g,"-$1").toLowerCase();return qe.cache.set(n,o),o}function Zn(n,o){if(!o||typeof o!="object")return[];if(Array.isArray(o))return o.map(t=>Zn(n,t)).flat(1);if(Array.isArray(o.children))return o.children.map(t=>Zn(n,t)).flat(1);if(o.component){if(Object.getOwnPropertySymbols(o.component.provides).includes(n))return[o.component];if(o.component.subTree)return Zn(n,o.component.subTree).flat(1)}return[]}function Xt(n){const o=e.reactive({}),t=e.computed(n);return e.watchEffect(()=>{for(const l in t.value)o[l]=t.value[l]},{flush:"sync"}),e.toRefs(o)}function tt(n,o){return n.includes(o)}function ho(n){return n[2].toLowerCase()+n.slice(3)}qe.cache=new Map;const Ee=()=>[Function,Array];function bo(n,o){return!!(n[o="on"+e.capitalize(o)]||n[`${o}Once`]||n[`${o}Capture`]||n[`${o}OnceCapture`]||n[`${o}CaptureOnce`])}function pl(n){for(var o=arguments.length,t=new Array(o>1?o-1:0),l=1;l1&&arguments[1]!==void 0)||arguments[1];const t=["button","[href]",'input:not([type="hidden"])',"select","textarea","[tabindex]"].map(l=>`${l}${o?':not([tabindex="-1"])':""}:not([disabled])`).join(", ");return[...n.querySelectorAll(t)]}function vl(n,o,t){let l,a=n.indexOf(document.activeElement);const r=o==="next"?1:-1;do a+=r,l=n[a];while((!l||l.offsetParent==null||!((t==null?void 0:t(l))??1))&&a=0);return l}function ot(n,o){var l,a,r,c;const t=Et(n);if(o)if(o==="first")(l=t[0])==null||l.focus();else if(o==="last")(a=t.at(-1))==null||a.focus();else if(typeof o=="number")(r=t[o])==null||r.focus();else{const u=vl(t,o);u?u.focus():ot(n,o==="next"?"first":"last")}else n!==document.activeElement&&n.contains(document.activeElement)||((c=t[0])==null||c.focus())}function lt(n,o){if(!(xe&&typeof CSS<"u"&&CSS.supports!==void 0&&CSS.supports(`selector(${o})`)))return null;try{return!!n&&n.matches(o)}catch{return null}}function fl(n){return n.some(o=>!e.isVNode(o)||o.type!==e.Comment&&(o.type!==e.Fragment||fl(o.children)))?n:null}const ml=["top","bottom"],Ra=["start","end","left","right"];function Ot(n,o){let[t,l]=n.split(" ");return l||(l=tt(ml,t)?"start":tt(Ra,t)?"top":"center"),{side:Co(t,o),align:Co(l,o)}}function Co(n,o){return n==="start"?o?"right":"left":n==="end"?o?"left":"right":n}function It(n){return{side:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[n.side],align:n.align}}function Vt(n){return{side:n.side,align:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[n.align]}}function So(n){return{side:n.align,align:n.side}}function Io(n){return tt(ml,n.side)?"y":"x"}class He{constructor(o){let{x:t,y:l,width:a,height:r}=o;this.x=t,this.y=l,this.width=a,this.height=r}get top(){return this.y}get bottom(){return this.y+this.height}get left(){return this.x}get right(){return this.x+this.width}}function Vo(n,o){return{x:{before:Math.max(0,o.left-n.left),after:Math.max(0,n.right-o.right)},y:{before:Math.max(0,o.top-n.top),after:Math.max(0,n.bottom-o.bottom)}}}function yl(n){return Array.isArray(n)?new He({x:n[0],y:n[1],width:0,height:0}):n.getBoundingClientRect()}function Kt(n){const o=n.getBoundingClientRect(),t=getComputedStyle(n),l=t.transform;if(l){let a,r,c,u,s;if(l.startsWith("matrix3d("))a=l.slice(9,-1).split(/, /),r=+a[0],c=+a[5],u=+a[12],s=+a[13];else{if(!l.startsWith("matrix("))return new He(o);a=l.slice(7,-1).split(/, /),r=+a[0],c=+a[3],u=+a[4],s=+a[5]}const i=t.transformOrigin,d=o.x-u-(1-r)*parseFloat(i),v=o.y-s-(1-c)*parseFloat(i.slice(i.indexOf(" ")+1)),p=r?o.width/r:n.offsetWidth+1,f=c?o.height/c:n.offsetHeight+1;return new He({x:d,y:v,width:p,height:f})}return new He(o)}function on(n,o,t){if(n.animate===void 0)return{finished:Promise.resolve()};let l;try{l=n.animate(o,t)}catch{return{finished:Promise.resolve()}}return l.finished===void 0&&(l.finished=new Promise(a=>{l.onfinish=()=>{a(l)}})),l}const Yn=new WeakMap,nn=2.4,Bo=.2126729,wo=.7151522,ko=.072175,Da=.55,La=.58,Ma=.57,Wa=.62,Xn=.03,xo=1.45,ja=5e-4,Ua=1.25,Ga=1.25,Fo=.078,No=12.82051282051282,Kn=.06,Ao=.001;function Po(n,o){const t=(n.r/255)**nn,l=(n.g/255)**nn,a=(n.b/255)**nn,r=(o.r/255)**nn,c=(o.g/255)**nn,u=(o.b/255)**nn;let s,i=t*Bo+l*wo+a*ko,d=r*Bo+c*wo+u*ko;if(i<=Xn&&(i+=(Xn-i)**xo),d<=Xn&&(d+=(Xn-d)**xo),Math.abs(d-i)i){const v=(d**Da-i**La)*Ua;s=v-Ao?0:v>-Fo?v-v*No*Kn:v+Kn}return 100*s}function Fn(n){e.warn(`Vuetify: ${n}`)}function Bt(n){return!!n&&/^(#|var\(--|(rgb|hsl)a?\()/.test(n)}const _o=/^(?(?:rgb|hsl)a?)\((?.+)\)/,qa={rgb:(n,o,t,l)=>({r:n,g:o,b:t,a:l}),rgba:(n,o,t,l)=>({r:n,g:o,b:t,a:l}),hsl:(n,o,t,l)=>Eo({h:n,s:o,l:t,a:l}),hsla:(n,o,t,l)=>Eo({h:n,s:o,l:t,a:l}),hsv:(n,o,t,l)=>Nn({h:n,s:o,v:t,a:l}),hsva:(n,o,t,l)=>Nn({h:n,s:o,v:t,a:l})};function wn(n){if(typeof n=="number")return(isNaN(n)||n<0||n>16777215)&&Fn(`'${n}' is not a valid hex color`),{r:(16711680&n)>>16,g:(65280&n)>>8,b:255&n};if(typeof n=="string"&&_o.test(n)){const{groups:o}=n.match(_o),{fn:t,values:l}=o,a=l.split(/,\s*/).map(r=>r.endsWith("%")&&["hsl","hsla","hsv","hsva"].includes(t)?parseFloat(r)/100:parseFloat(r));return qa[t](...a)}if(typeof n=="string"){let o=n.startsWith("#")?n.slice(1):n;[3,4].includes(o.length)?o=o.split("").map(l=>l+l).join(""):[6,8].includes(o.length)||Fn(`'${n}' is not a valid hex(a) color`);const t=parseInt(o,16);return(isNaN(t)||t<0||t>4294967295)&&Fn(`'${n}' is not a valid hex(a) color`),function(l){l=function(s){return s.startsWith("#")&&(s=s.slice(1)),s=s.replace(/([^0-9a-f])/gi,"F"),(s.length===3||s.length===4)&&(s=s.split("").map(i=>i+i).join("")),s.length!==6&&(s=go(go(s,6),8,"F")),s}(l);let[a,r,c,u]=function(s){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;const d=[];let v=0;for(;vparseInt(s,16));return u=u===void 0?u:u/255,{r:a,g:r,b:c,a:u}}(o)}if(typeof n=="object"){if(St(n,["r","g","b"]))return n;if(St(n,["h","s","l"]))return Nn(gl(n));if(St(n,["h","s","v"]))return Nn(n)}throw new TypeError(`Invalid color: ${n==null?n:String(n)||n.constructor.name} +Expected #hex, #hexa, rgb(), rgba(), hsl(), hsla(), object or number`)}function Nn(n){const{h:o,s:t,v:l,a}=n,r=u=>{const s=(u+o/60)%6;return l-l*t*Math.max(Math.min(s,4-s,1),0)},c=[r(5),r(3),r(1)].map(u=>Math.round(255*u));return{r:c[0],g:c[1],b:c[2],a}}function Eo(n){return Nn(gl(n))}function gl(n){const{h:o,s:t,l,a}=n,r=l+t*Math.min(l,1-l);return{h:o,s:r===0?0:2-2*l/r,v:r,a}}function U(n,o){return t=>Object.keys(n).reduce((l,a)=>{const r=typeof n[a]=="object"&&n[a]!=null&&!Array.isArray(n[a])?n[a]:{type:n[a]};return l[a]=t&&a in t?{...r,default:t[a]}:r,o&&!l[a].source&&(l[a].source=o),l},{})}const ae=U({class:[String,Array],style:{type:[String,Array,Object],default:null}},"component"),at=Symbol.for("vuetify:defaults");function Jt(){const n=e.inject(at);if(!n)throw new Error("[Vuetify] Could not find defaults instance");return n}function mn(n,o){const t=Jt(),l=e.ref(n),a=e.computed(()=>{if(e.unref(o==null?void 0:o.disabled))return t.value;const r=e.unref(o==null?void 0:o.scoped),c=e.unref(o==null?void 0:o.reset),u=e.unref(o==null?void 0:o.root);if(l.value==null&&!(r||c||u))return t.value;let s=tn(l.value,{prev:t.value});if(r)return s;if(c||u){const i=Number(c||1/0);for(let d=0;d<=i&&s&&"prev"in s;d++)s=s.prev;return s&&typeof u=="string"&&u in s&&(s=tn(tn(s,{prev:s}),s[u])),s}return s.prev?tn(s.prev,s):s});return e.provide(at,a),a}function Ha(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0,t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Jt();const l=Se("useDefaults");if(o=o??l.type.name??l.type.__name,!o)throw new Error("[Vuetify] Could not determine component name");const a=e.computed(()=>{var u;return(u=t.value)==null?void 0:u[n._as??o]}),r=new Proxy(n,{get(u,s){var d,v,p,f;const i=Reflect.get(u,s);return s==="class"||s==="style"?[(d=a.value)==null?void 0:d[s],i].filter(y=>y!=null):typeof s!="string"||function(y,g){var m,h;return((m=y.props)==null?void 0:m[g])!==void 0||((h=y.props)==null?void 0:h[qe(g)])!==void 0}(l.vnode,s)?i:((v=a.value)==null?void 0:v[s])??((f=(p=t.value)==null?void 0:p.global)==null?void 0:f[s])??i}}),c=e.shallowRef();return e.watchEffect(()=>{if(a.value){const u=Object.entries(a.value).filter(s=>{let[i]=s;return i.startsWith(i[0].toUpperCase())});c.value=u.length?Object.fromEntries(u):void 0}else c.value=void 0}),{props:r,provideSubDefaults:function(){const u=function(s){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Se("injectSelf");const{provides:d}=i;if(d&&s in d)return d[s]}(at,l);e.provide(at,e.computed(()=>c.value?tn((u==null?void 0:u.value)??{},c.value):u==null?void 0:u.value))}}}function An(n){if(n._setup=n._setup??n.setup,!n.name)return Fn("The component is missing an explicit name, unable to generate default prop value"),n;if(n._setup){n.props=U(n.props??{},n.name)();const o=Object.keys(n.props).filter(t=>t!=="class"&&t!=="style");n.filterProps=function(t){return ul(t,o)},n.props._as=String,n.setup=function(t,l){const a=Jt();if(!a.value)return n._setup(t,l);const{props:r,provideSubDefaults:c}=Ha(t,t._as??n.name,a),u=n._setup(r,l);return c(),u}}return n}function X(){let n=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0];return o=>(n?An:e.defineComponent)(o)}function $n(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"div",t=arguments.length>2?arguments[2]:void 0;return X()({name:t??e.capitalize(e.camelize(n.replace(/__/g,"-"))),props:{tag:{type:String,default:o},...ae()},setup(l,a){let{slots:r}=a;return()=>{var c;return e.h(l.tag,{class:[n,l.class],style:l.style},(c=r.default)==null?void 0:c.call(r))}}})}function hl(n){if(typeof n.getRootNode!="function"){for(;n.parentNode;)n=n.parentNode;return n!==document?null:document}const o=n.getRootNode();return o!==document&&o.getRootNode({composed:!0})!==document?null:o}const rt="cubic-bezier(0.4, 0, 0.2, 1)";function Se(n,o){const t=e.getCurrentInstance();if(!t)throw new Error(`[Vuetify] ${n} ${o||"must be called from inside a setup function"}`);return t}function Oe(){const n=Se(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"composables").type;return qe((n==null?void 0:n.aliasName)||(n==null?void 0:n.name))}let bl=0,Qn=new WeakMap;function Pe(){const n=Se("getUid");if(Qn.has(n))return Qn.get(n);{const o=bl++;return Qn.set(n,o),o}}function Cl(n){let o=arguments.length>1&&arguments[1]!==void 0&&arguments[1];for(;n;){if(o?Ya(n):Zt(n))return n;n=n.parentElement}return document.scrollingElement}function it(n,o){const t=[];if(o&&n&&!o.contains(n))return t;for(;n&&(Zt(n)&&t.push(n),n!==o);)n=n.parentElement;return t}function Zt(n){if(!n||n.nodeType!==Node.ELEMENT_NODE)return!1;const o=window.getComputedStyle(n);return o.overflowY==="scroll"||o.overflowY==="auto"&&n.scrollHeight>n.clientHeight}function Ya(n){if(!n||n.nodeType!==Node.ELEMENT_NODE)return!1;const o=window.getComputedStyle(n);return["scroll","auto"].includes(o.overflowY)}function ee(n){Se("useRender").render=n}Pe.reset=()=>{bl=0,Qn=new WeakMap};const yn=U({border:[Boolean,Number,String]},"border");function gn(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Oe();return{borderClasses:e.computed(()=>{const t=e.isRef(n)?n.value:n.border,l=[];if(t===!0||t==="")l.push(`${o}--border`);else if(typeof t=="string"||t===0)for(const a of String(t).split(" "))l.push(`border-${a}`);return l})}}const Xa=[null,"default","comfortable","compact"],ze=U({density:{type:String,default:"default",validator:n=>Xa.includes(n)}},"density");function De(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Oe();return{densityClasses:e.computed(()=>`${o}--density-${n.density}`)}}const hn=U({elevation:{type:[Number,String],validator(n){const o=parseInt(n);return!isNaN(o)&&o>=0&&o<=24}}},"elevation");function bn(n){return{elevationClasses:e.computed(()=>{const o=e.isRef(n)?n.value:n.elevation,t=[];return o==null||t.push(`elevation-${o}`),t})}}const Le=U({rounded:{type:[Boolean,Number,String],default:void 0}},"rounded");function Me(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Oe();return{roundedClasses:e.computed(()=>{const t=e.isRef(n)?n.value:n.rounded,l=[];if(t===!0||t==="")l.push(`${o}--rounded`);else if(typeof t=="string"||t===0)for(const a of String(t).split(" "))l.push(`rounded-${a}`);return l})}}const Ae=U({tag:{type:String,default:"div"}},"tag"),Oo=Symbol.for("vuetify:theme"),Ve=U({theme:String},"theme");function ke(n){Se("provideTheme");const o=e.inject(Oo,null);if(!o)throw new Error("Could not find Vuetify theme injection");const t=e.computed(()=>n.theme??o.name.value),l=e.computed(()=>o.themes.value[t.value]),a=e.computed(()=>o.isDisabled?void 0:`v-theme--${t.value}`),r={...o,name:t,current:l,themeClasses:a};return e.provide(Oo,r),r}function Qt(n){return Xt(()=>{const o=[],t={};if(n.value.background)if(Bt(n.value.background)){if(t.backgroundColor=n.value.background,!n.value.text&&Bt(l=n.value.background)&&!/^((rgb|hsl)a?\()?var\(--/.test(l)){const a=wn(n.value.background);if(a.a==null||a.a===1){const r=function(c){const u=Math.abs(Po(wn(0),wn(c)));return Math.abs(Po(wn(16777215),wn(c)))>Math.min(u,50)?"#fff":"#000"}(a);t.color=r,t.caretColor=r}}}else o.push(`bg-${n.value.background}`);var l;return n.value.text&&(Bt(n.value.text)?(t.color=n.value.text,t.caretColor=n.value.text):o.push(`text-${n.value.text}`)),{colorClasses:o,colorStyles:t}})}function Re(n,o){const t=e.computed(()=>({text:e.isRef(n)?n.value:o?n[o]:null})),{colorClasses:l,colorStyles:a}=Qt(t);return{textColorClasses:l,textColorStyles:a}}function an(n,o){const t=e.computed(()=>({background:e.isRef(n)?n.value:o?n[o]:null})),{colorClasses:l,colorStyles:a}=Qt(t);return{backgroundColorClasses:l,backgroundColorStyles:a}}const Ka=["elevated","flat","tonal","outlined","text","plain"];function Rn(n,o){return e.createVNode(e.Fragment,null,[n&&e.createVNode("span",{key:"overlay",class:`${o}__overlay`},null),e.createVNode("span",{key:"underlay",class:`${o}__underlay`},null)])}const Ge=U({color:String,variant:{type:String,default:"elevated",validator:n=>Ka.includes(n)}},"variant");function Dn(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Oe();const t=e.computed(()=>{const{variant:r}=e.unref(n);return`${o}--variant-${r}`}),{colorClasses:l,colorStyles:a}=Qt(e.computed(()=>{const{variant:r,color:c}=e.unref(n);return{[["elevated","flat"].includes(r)?"background":"text"]:c}}));return{colorClasses:l,colorStyles:a,variantClasses:t}}const Sl=U({divided:Boolean,...yn(),...ae(),...ze(),...hn(),...Le(),...Ae(),...Ve(),...Ge()},"VBtnGroup"),zo=X()({name:"VBtnGroup",props:Sl(),setup(n,o){let{slots:t}=o;const{themeClasses:l}=ke(n),{densityClasses:a}=De(n),{borderClasses:r}=gn(n),{elevationClasses:c}=bn(n),{roundedClasses:u}=Me(n);mn({VBtn:{height:"auto",color:e.toRef(n,"color"),density:e.toRef(n,"density"),flat:!0,variant:e.toRef(n,"variant")}}),ee(()=>e.createVNode(n.tag,{class:["v-btn-group",{"v-btn-group--divided":n.divided},l.value,r.value,a.value,c.value,u.value,n.class],style:n.style},t))}});function Ye(n,o){let t;function l(){t=e.effectScope(),t.run(()=>o.length?o(()=>{t==null||t.stop(),l()}):o())}e.watch(n,a=>{a&&!t?l():a||(t==null||t.stop(),t=void 0)},{immediate:!0}),e.onScopeDispose(()=>{t==null||t.stop()})}function he(n,o,t){let l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:d=>d,a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:d=>d;const r=Se("useProxiedModel"),c=e.ref(n[o]!==void 0?n[o]:t),u=qe(o),s=u!==o?e.computed(()=>{var d,v,p,f;return n[o],!(!((d=r.vnode.props)!=null&&d.hasOwnProperty(o))&&!((v=r.vnode.props)!=null&&v.hasOwnProperty(u))||!((p=r.vnode.props)!=null&&p.hasOwnProperty(`onUpdate:${o}`))&&!((f=r.vnode.props)!=null&&f.hasOwnProperty(`onUpdate:${u}`)))}):e.computed(()=>{var d,v;return n[o],!(!((d=r.vnode.props)!=null&&d.hasOwnProperty(o))||!((v=r.vnode.props)!=null&&v.hasOwnProperty(`onUpdate:${o}`)))});Ye(()=>!s.value,()=>{e.watch(()=>n[o],d=>{c.value=d})});const i=e.computed({get(){const d=n[o];return l(s.value?d:c.value)},set(d){const v=a(d),p=e.toRaw(s.value?n[o]:c.value);p!==v&&l(p)!==d&&(c.value=v,r==null||r.emit(`update:${o}`,v))}});return Object.defineProperty(i,"externalValue",{get:()=>s.value?n[o]:c.value}),i}const Il=U({modelValue:{type:null,default:void 0},multiple:Boolean,mandatory:[Boolean,String],max:Number,selectedClass:String,disabled:Boolean},"group"),Vl=U({value:null,disabled:Boolean,selectedClass:String},"group-item");function Bl(n,o){let t=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2];const l=Se("useGroupItem");if(!l)throw new Error("[Vuetify] useGroupItem composable must be used inside a component setup function");const a=Pe();e.provide(Symbol.for(`${o.description}:id`),a);const r=e.inject(o,null);if(!r){if(!t)return r;throw new Error(`[Vuetify] Could not find useGroup injection with symbol ${o.description}`)}const c=e.toRef(n,"value"),u=e.computed(()=>!(!r.disabled.value&&!n.disabled));r.register({id:a,value:c,disabled:u},l),e.onBeforeUnmount(()=>{r.unregister(a)});const s=e.computed(()=>r.isSelected(a)),i=e.computed(()=>s.value&&[r.selectedClass.value,n.selectedClass]);return e.watch(s,d=>{l.emit("group:selected",{value:d})}),{id:a,isSelected:s,toggle:()=>r.select(a,!s.value),select:d=>r.select(a,d),selectedClass:i,value:c,disabled:u,group:r}}function wl(n,o){let t=!1;const l=e.reactive([]),a=he(n,"modelValue",[],i=>i==null?[]:To(l,$e(i)),i=>{const d=function(v,p){const f=[];return p.forEach(y=>{const g=v.findIndex(m=>m.id===y);if(~g){const m=v[g];f.push(m.value!=null?m.value:g)}}),f}(l,i);return n.multiple?d:d[0]}),r=Se("useGroup");function c(){const i=l.find(d=>!d.disabled);i&&n.mandatory==="force"&&!a.value.length&&(a.value=[i.id])}function u(i){if(n.multiple&&Fn('This method is not supported when using "multiple" prop'),a.value.length){const d=a.value[0],v=l.findIndex(y=>y.id===d);let p=(v+i)%l.length,f=l[p];for(;f.disabled&&p!==v;)p=(p+i)%l.length,f=l[p];if(f.disabled)return;a.value=[l[p].id]}else{const d=l.find(v=>!v.disabled);d&&(a.value=[d.id])}}e.onMounted(()=>{c()}),e.onBeforeUnmount(()=>{t=!0});const s={register:function(i,d){const v=i,p=Zn(Symbol.for(`${o.description}:id`),r==null?void 0:r.vnode).indexOf(d);p>-1?l.splice(p,0,v):l.push(v)},unregister:function(i){if(t)return;c();const d=l.findIndex(v=>v.id===i);l.splice(d,1)},selected:a,select:function(i,d){const v=l.find(p=>p.id===i);if(!d||!(v!=null&&v.disabled))if(n.multiple){const p=a.value.slice(),f=p.findIndex(g=>g===i),y=~f;if(d=d??!y,y&&n.mandatory&&p.length<=1||!y&&n.max!=null&&p.length+1>n.max)return;f<0&&d?p.push(i):f>=0&&!d&&p.splice(f,1),a.value=p}else{const p=a.value.includes(i);if(n.mandatory&&p)return;a.value=d??!p?[i]:[]}},disabled:e.toRef(n,"disabled"),prev:()=>u(l.length-1),next:()=>u(1),isSelected:i=>a.value.includes(i),selectedClass:e.computed(()=>n.selectedClass),items:e.computed(()=>l),getItemIndex:i=>function(d,v){const p=To(d,[v]);return p.length?d.findIndex(f=>f.id===p[0]):-1}(l,i)};return e.provide(o,s),s}function To(n,o){const t=[];return o.forEach(l=>{const a=n.find(c=>fn(l,c.value)),r=n[l];(a==null?void 0:a.value)!=null?t.push(a.id):r!=null&&t.push(r.id)}),t}const kl=Symbol.for("vuetify:v-btn-toggle"),Ja=U({...Sl(),...Il()},"VBtnToggle");X()({name:"VBtnToggle",props:Ja(),emits:{"update:modelValue":n=>!0},setup(n,o){let{slots:t}=o;const{isSelected:l,next:a,prev:r,select:c,selected:u}=wl(n,kl);return ee(()=>{const s=zo.filterProps(n);return e.createVNode(zo,e.mergeProps({class:["v-btn-toggle",n.class]},s,{style:n.style}),{default:()=>{var i;return[(i=t.default)==null?void 0:i.call(t,{isSelected:l,next:a,prev:r,select:c,selected:u})]}})}),{next:a,prev:r,select:c}}});const Za=U({defaults:Object,disabled:Boolean,reset:[Number,String],root:[Boolean,String],scoped:Boolean},"VDefaultsProvider"),Be=X(!1)({name:"VDefaultsProvider",props:Za(),setup(n,o){let{slots:t}=o;const{defaults:l,disabled:a,reset:r,root:c,scoped:u}=e.toRefs(n);return mn(l,{reset:r,root:c,scoped:u,disabled:a}),()=>{var s;return(s=t.default)==null?void 0:s.call(t)}}}),se=[String,Function,Object,Array],Qa=Symbol.for("vuetify:icons"),st=U({icon:{type:se},tag:{type:String,required:!0}},"icon"),$o=X()({name:"VComponentIcon",props:st(),setup(n,o){let{slots:t}=o;return()=>{const l=n.icon;return e.createVNode(n.tag,null,{default:()=>{var a;return[n.icon?e.createVNode(l,null,null):(a=t.default)==null?void 0:a.call(t)]}})}}}),er=An({name:"VSvgIcon",inheritAttrs:!1,props:st(),setup(n,o){let{attrs:t}=o;return()=>e.createVNode(n.tag,e.mergeProps(t,{style:null}),{default:()=>[e.createVNode("svg",{class:"v-icon__svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":"true"},[Array.isArray(n.icon)?n.icon.map(l=>Array.isArray(l)?e.createVNode("path",{d:l[0],"fill-opacity":l[1]},null):e.createVNode("path",{d:l},null)):e.createVNode("path",{d:n.icon},null)])]})}});An({name:"VLigatureIcon",props:st(),setup:n=>()=>e.createVNode(n.tag,null,{default:()=>[n.icon]})}),An({name:"VClassIcon",props:st(),setup:n=>()=>e.createVNode(n.tag,{class:n.icon},null)});const nr=["x-small","small","default","large","x-large"],Ln=U({size:{type:[String,Number],default:"default"}},"size");function Mn(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Oe();return Xt(()=>{let t,l;return tt(nr,n.size)?t=`${o}--size-${n.size}`:n.size&&(l={width:Z(n.size),height:Z(n.size)}),{sizeClasses:t,sizeStyles:l}})}const tr=U({color:String,start:Boolean,end:Boolean,icon:se,...ae(),...Ln(),...Ae({tag:"i"}),...Ve()},"VIcon"),ce=X()({name:"VIcon",props:tr(),setup(n,o){let{attrs:t,slots:l}=o;const a=e.ref(),{themeClasses:r}=ke(n),{iconData:c}=(d=>{const v=e.inject(Qa);if(!v)throw new Error("Missing Vuetify Icons provide!");return{iconData:e.computed(()=>{var m;const p=e.unref(d);if(!p)return{component:$o};let f=p;if(typeof f=="string"&&(f=f.trim(),f.startsWith("$")&&(f=(m=v.aliases)==null?void 0:m[f.slice(1)])),!f)throw new Error(`Could not find aliased icon "${p}"`);if(Array.isArray(f))return{component:er,icon:f};if(typeof f!="string")return{component:$o,icon:f};const y=Object.keys(v.sets).find(h=>typeof f=="string"&&f.startsWith(`${h}:`)),g=y?f.slice(y.length+1):f;return{component:v.sets[y??v.defaultSet].component,icon:g}})}})(e.computed(()=>a.value||n.icon)),{sizeClasses:u}=Mn(n),{textColorClasses:s,textColorStyles:i}=Re(e.toRef(n,"color"));return ee(()=>{var v,p;const d=(v=l.default)==null?void 0:v.call(l);return d&&(a.value=(p=dl(d).filter(f=>f.type===e.Text&&f.children&&typeof f.children=="string")[0])==null?void 0:p.children),e.createVNode(c.value.component,{tag:n.tag,icon:c.value.icon,class:["v-icon","notranslate",r.value,u.value,s.value,{"v-icon--clickable":!!t.onClick,"v-icon--start":n.start,"v-icon--end":n.end},n.class],style:[u.value?void 0:{fontSize:Z(n.size),height:Z(n.size),width:Z(n.size)},i.value,n.style],role:t.onClick?"button":void 0,"aria-hidden":!t.onClick},{default:()=>[d]})}),{}}});function xl(n,o){const t=e.ref(),l=e.shallowRef(!1);if(Yt){const a=new IntersectionObserver(r=>{n==null||n(r,a),l.value=!!r.find(c=>c.isIntersecting)},o);e.onBeforeUnmount(()=>{a.disconnect()}),e.watch(t,(r,c)=>{c&&(a.unobserve(c),l.value=!1),r&&a.observe(r)},{flush:"post"})}return{intersectionRef:t,isIntersecting:l}}function eo(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"content";const t=e.ref(),l=e.ref();if(xe){const a=new ResizeObserver(r=>{n==null||n(r,a),r.length&&(l.value=o==="content"?r[0].contentRect:r[0].target.getBoundingClientRect())});e.onBeforeUnmount(()=>{a.disconnect()}),e.watch(t,(r,c)=>{c&&(a.unobserve(nt(c)),l.value=void 0),r&&a.observe(nt(r))},{flush:"post"})}return{resizeRef:t,contentRect:e.readonly(l)}}const or=U({bgColor:String,color:String,indeterminate:[Boolean,String],modelValue:{type:[Number,String],default:0},rotate:{type:[Number,String],default:0},width:{type:[Number,String],default:4},...ae(),...Ln(),...Ae({tag:"div"}),...Ve()},"VProgressCircular"),Fl=X()({name:"VProgressCircular",props:or(),setup(n,o){let{slots:t}=o;const l=2*Math.PI*20,a=e.ref(),{themeClasses:r}=ke(n),{sizeClasses:c,sizeStyles:u}=Mn(n),{textColorClasses:s,textColorStyles:i}=Re(e.toRef(n,"color")),{textColorClasses:d,textColorStyles:v}=Re(e.toRef(n,"bgColor")),{intersectionRef:p,isIntersecting:f}=xl(),{resizeRef:y,contentRect:g}=eo(),m=e.computed(()=>Math.max(0,Math.min(100,parseFloat(n.modelValue)))),h=e.computed(()=>Number(n.width)),w=e.computed(()=>u.value?Number(n.size):g.value?g.value.width:Math.max(h.value,32)),x=e.computed(()=>20/(1-h.value/w.value)*2),j=e.computed(()=>h.value/w.value*x.value),A=e.computed(()=>Z((100-m.value)/100*l));return e.watchEffect(()=>{p.value=a.value,y.value=a.value}),ee(()=>e.createVNode(n.tag,{ref:a,class:["v-progress-circular",{"v-progress-circular--indeterminate":!!n.indeterminate,"v-progress-circular--visible":f.value,"v-progress-circular--disable-shrink":n.indeterminate==="disable-shrink"},r.value,c.value,s.value,n.class],style:[u.value,i.value,n.style],role:"progressbar","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":n.indeterminate?void 0:m.value},{default:()=>[e.createVNode("svg",{style:{transform:`rotate(calc(-90deg + ${Number(n.rotate)}deg))`},xmlns:"http://www.w3.org/2000/svg",viewBox:`0 0 ${x.value} ${x.value}`},[e.createVNode("circle",{class:["v-progress-circular__underlay",d.value],style:v.value,fill:"transparent",cx:"50%",cy:"50%",r:20,"stroke-width":j.value,"stroke-dasharray":l,"stroke-dashoffset":0},null),e.createVNode("circle",{class:"v-progress-circular__overlay",fill:"transparent",cx:"50%",cy:"50%",r:20,"stroke-width":j.value,"stroke-dasharray":l,"stroke-dashoffset":A.value},null)]),t.default&&e.createVNode("div",{class:"v-progress-circular__content"},[t.default({value:m.value})])]})),{}}}),Je=U({height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},"dimension");function Ze(n){return{dimensionStyles:e.computed(()=>({height:Z(n.height),maxHeight:Z(n.maxHeight),maxWidth:Z(n.maxWidth),minHeight:Z(n.minHeight),minWidth:Z(n.minWidth),width:Z(n.width)}))}}const Nl=Symbol.for("vuetify:locale");function no(){const n=e.inject(Nl);if(!n)throw new Error("[Vuetify] Could not find injected locale instance");return n}function Wn(){const n=e.inject(Nl);if(!n)throw new Error("[Vuetify] Could not find injected rtl instance");return{isRtl:n.isRtl,rtlClasses:n.rtlClasses}}const Ro={center:"center",top:"bottom",bottom:"top",left:"right",right:"left"},to=U({location:String},"location");function oo(n){let o=arguments.length>1&&arguments[1]!==void 0&&arguments[1],t=arguments.length>2?arguments[2]:void 0;const{isRtl:l}=Wn();return{locationStyles:e.computed(()=>{if(!n.location)return{};const{side:r,align:c}=Ot(n.location.split(" ").length>1?n.location:`${n.location} center`,l.value);function u(i){return t?t(i):0}const s={};return r!=="center"&&(o?s[Ro[r]]=`calc(100% - ${u(r)}px)`:s[r]=0),c!=="center"?o?s[Ro[c]]=`calc(100% - ${u(c)}px)`:s[c]=0:(r==="center"?s.top=s.left="50%":s[{top:"left",bottom:"left",left:"top",right:"top"}[r]]="50%",s.transform={top:"translateX(-50%)",bottom:"translateX(-50%)",left:"translateY(-50%)",right:"translateY(-50%)",center:"translate(-50%, -50%)"}[r]),s})}}const lr=U({absolute:Boolean,active:{type:Boolean,default:!0},bgColor:String,bgOpacity:[Number,String],bufferValue:{type:[Number,String],default:0},clickable:Boolean,color:String,height:{type:[Number,String],default:4},indeterminate:Boolean,max:{type:[Number,String],default:100},modelValue:{type:[Number,String],default:0},reverse:Boolean,stream:Boolean,striped:Boolean,roundedBar:Boolean,...ae(),...to({location:"top"}),...Le(),...Ae(),...Ve()},"VProgressLinear"),ar=X()({name:"VProgressLinear",props:lr(),emits:{"update:modelValue":n=>!0},setup(n,o){let{slots:t}=o;const l=he(n,"modelValue"),{isRtl:a,rtlClasses:r}=Wn(),{themeClasses:c}=ke(n),{locationStyles:u}=oo(n),{textColorClasses:s,textColorStyles:i}=Re(n,"color"),{backgroundColorClasses:d,backgroundColorStyles:v}=an(e.computed(()=>n.bgColor||n.color)),{backgroundColorClasses:p,backgroundColorStyles:f}=an(n,"color"),{roundedClasses:y}=Me(n),{intersectionRef:g,isIntersecting:m}=xl(),h=e.computed(()=>parseInt(n.max,10)),w=e.computed(()=>parseInt(n.height,10)),x=e.computed(()=>parseFloat(n.bufferValue)/h.value*100),j=e.computed(()=>parseFloat(l.value)/h.value*100),A=e.computed(()=>a.value!==n.reverse),O=e.computed(()=>n.indeterminate?"fade-transition":"slide-x-transition"),R=e.computed(()=>n.bgOpacity==null?n.bgOpacity:parseFloat(n.bgOpacity));function N(I){if(!g.value)return;const{left:F,right:C,width:B}=g.value.getBoundingClientRect(),V=A.value?B-I.clientX+(C-B):I.clientX-F;l.value=Math.round(V/B*h.value)}return ee(()=>e.createVNode(n.tag,{ref:g,class:["v-progress-linear",{"v-progress-linear--absolute":n.absolute,"v-progress-linear--active":n.active&&m.value,"v-progress-linear--reverse":A.value,"v-progress-linear--rounded":n.rounded,"v-progress-linear--rounded-bar":n.roundedBar,"v-progress-linear--striped":n.striped},y.value,c.value,r.value,n.class],style:[{bottom:n.location==="bottom"?0:void 0,top:n.location==="top"?0:void 0,height:n.active?Z(w.value):0,"--v-progress-linear-height":Z(w.value),...u.value},n.style],role:"progressbar","aria-hidden":n.active?"false":"true","aria-valuemin":"0","aria-valuemax":n.max,"aria-valuenow":n.indeterminate?void 0:j.value,onClick:n.clickable&&N},{default:()=>[n.stream&&e.createVNode("div",{key:"stream",class:["v-progress-linear__stream",s.value],style:{...i.value,[A.value?"left":"right"]:Z(-w.value),borderTop:`${Z(w.value/2)} dotted`,opacity:R.value,top:`calc(50% - ${Z(w.value/4)})`,width:Z(100-x.value,"%"),"--v-progress-linear-stream-to":Z(w.value*(A.value?1:-1))}},null),e.createVNode("div",{class:["v-progress-linear__background",d.value],style:[v.value,{opacity:R.value,width:Z(n.stream?x.value:100,"%")}]},null),e.createVNode(e.Transition,{name:O.value},{default:()=>[n.indeterminate?e.createVNode("div",{class:"v-progress-linear__indeterminate"},[["long","short"].map(I=>e.createVNode("div",{key:I,class:["v-progress-linear__indeterminate",I,p.value],style:f.value},null))]):e.createVNode("div",{class:["v-progress-linear__determinate",p.value],style:[f.value,{width:Z(j.value,"%")}]},null)]}),t.default&&e.createVNode("div",{class:"v-progress-linear__content"},[t.default({value:j.value,buffer:x.value})])]})),{}}}),lo=U({loading:[Boolean,String]},"loader");function ft(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Oe();return{loaderClasses:e.computed(()=>({[`${o}--loading`]:n.loading}))}}function ao(n,o){var l;let{slots:t}=o;return e.createVNode("div",{class:`${n.name}__loader`},[((l=t.default)==null?void 0:l.call(t,{color:n.color,isActive:n.active}))||e.createVNode(ar,{absolute:n.absolute,active:n.active,color:n.color,height:"2",indeterminate:!0},null)])}const rr=["static","relative","fixed","absolute","sticky"],Al=U({position:{type:String,validator:n=>rr.includes(n)}},"position");function Pl(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Oe();return{positionClasses:e.computed(()=>n.position?`${o}--${n.position}`:void 0)}}function mt(n,o){const t=e.resolveDynamicComponent("RouterLink"),l=e.computed(()=>!(!n.href&&!n.to)),a=e.computed(()=>(l==null?void 0:l.value)||bo(o,"click")||bo(n,"click"));if(typeof t=="string")return{isLink:l,isClickable:a,href:e.toRef(n,"href")};const r=n.to?t.useLink(n):void 0,c=function(){const u=Se("useRoute");return e.computed(()=>{var s;return(s=u==null?void 0:u.proxy)==null?void 0:s.$route})}();return{isLink:l,isClickable:a,route:r==null?void 0:r.route,navigate:r==null?void 0:r.navigate,isActive:r&&e.computed(()=>{var u,s,i;return n.exact?c.value?((u=r.isExactActive)==null?void 0:u.value)&&fn(r.route.value.query,c.value.query):(s=r.isExactActive)==null?void 0:s.value:(i=r.isActive)==null?void 0:i.value}),href:e.computed(()=>n.to?r==null?void 0:r.route.value.href:n.href)}}const yt=U({href:String,replace:Boolean,to:[String,Object],exact:Boolean},"router");let wt=!1;const zt=Symbol("rippleStop"),ir=80;function Do(n,o){n.style.transform=o,n.style.webkitTransform=o}function Tt(n){return n.constructor.name==="TouchEvent"}function _l(n){return n.constructor.name==="KeyboardEvent"}const ut={show(n,o){var f;let t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!((f=o==null?void 0:o._ripple)!=null&&f.enabled))return;const l=document.createElement("span"),a=document.createElement("span");l.appendChild(a),l.className="v-ripple__container",t.class&&(l.className+=` ${t.class}`);const{radius:r,scale:c,x:u,y:s,centerX:i,centerY:d}=function(y,g){var R;let m=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},h=0,w=0;if(!_l(y)){const N=g.getBoundingClientRect(),I=Tt(y)?y.touches[y.touches.length-1]:y;h=I.clientX-N.left,w=I.clientY-N.top}let x=0,j=.3;(R=g._ripple)!=null&&R.circle?(j=.15,x=g.clientWidth/2,x=m.center?x:x+Math.sqrt((h-x)**2+(w-x)**2)/4):x=Math.sqrt(g.clientWidth**2+g.clientHeight**2)/2;const A=(g.clientWidth-2*x)/2+"px",O=(g.clientHeight-2*x)/2+"px";return{radius:x,scale:j,x:m.center?A:h-x+"px",y:m.center?O:w-x+"px",centerX:A,centerY:O}}(n,o,t),v=2*r+"px";a.className="v-ripple__animation",a.style.width=v,a.style.height=v,o.appendChild(l);const p=window.getComputedStyle(o);p&&p.position==="static"&&(o.style.position="relative",o.dataset.previousPosition="static"),a.classList.add("v-ripple__animation--enter"),a.classList.add("v-ripple__animation--visible"),Do(a,`translate(${u}, ${s}) scale3d(${c},${c},${c})`),a.dataset.activated=String(performance.now()),setTimeout(()=>{a.classList.remove("v-ripple__animation--enter"),a.classList.add("v-ripple__animation--in"),Do(a,`translate(${i}, ${d}) scale3d(1,1,1)`)},0)},hide(n){var r;if(!((r=n==null?void 0:n._ripple)!=null&&r.enabled))return;const o=n.getElementsByClassName("v-ripple__animation");if(o.length===0)return;const t=o[o.length-1];if(t.dataset.isHiding)return;t.dataset.isHiding="true";const l=performance.now()-Number(t.dataset.activated),a=Math.max(250-l,0);setTimeout(()=>{t.classList.remove("v-ripple__animation--in"),t.classList.add("v-ripple__animation--out"),setTimeout(()=>{var c;n.getElementsByClassName("v-ripple__animation").length===1&&n.dataset.previousPosition&&(n.style.position=n.dataset.previousPosition,delete n.dataset.previousPosition),((c=t.parentNode)==null?void 0:c.parentNode)===n&&n.removeChild(t.parentNode)},300)},a)}};function El(n){return n===void 0||!!n}function Pn(n){const o={},t=n.currentTarget;if(t!=null&&t._ripple&&!t._ripple.touched&&!n[zt]){if(n[zt]=!0,Tt(n))t._ripple.touched=!0,t._ripple.isTouch=!0;else if(t._ripple.isTouch)return;if(o.center=t._ripple.centered||_l(n),t._ripple.class&&(o.class=t._ripple.class),Tt(n)){if(t._ripple.showTimerCommit)return;t._ripple.showTimerCommit=()=>{ut.show(n,t,o)},t._ripple.showTimer=window.setTimeout(()=>{var l;(l=t==null?void 0:t._ripple)!=null&&l.showTimerCommit&&(t._ripple.showTimerCommit(),t._ripple.showTimerCommit=null)},ir)}else ut.show(n,t,o)}}function Lo(n){n[zt]=!0}function Ne(n){const o=n.currentTarget;if(o!=null&&o._ripple){if(window.clearTimeout(o._ripple.showTimer),n.type==="touchend"&&o._ripple.showTimerCommit)return o._ripple.showTimerCommit(),o._ripple.showTimerCommit=null,void(o._ripple.showTimer=window.setTimeout(()=>{Ne(n)}));window.setTimeout(()=>{o._ripple&&(o._ripple.touched=!1)}),ut.hide(o)}}function Ol(n){const o=n.currentTarget;o!=null&&o._ripple&&(o._ripple.showTimerCommit&&(o._ripple.showTimerCommit=null),window.clearTimeout(o._ripple.showTimer))}let _n=!1;function zl(n){_n||n.keyCode!==mo.enter&&n.keyCode!==mo.space||(_n=!0,Pn(n))}function Tl(n){_n=!1,Ne(n)}function $l(n){_n&&(_n=!1,Ne(n))}function Mo(n,o,t){const{value:l,modifiers:a}=o,r=El(l);if(r||ut.hide(n),n._ripple=n._ripple??{},n._ripple.enabled=r,n._ripple.centered=a.center,n._ripple.circle=a.circle,Pt(l)&&l.class&&(n._ripple.class=l.class),r&&!t){if(a.stop)return n.addEventListener("touchstart",Lo,{passive:!0}),void n.addEventListener("mousedown",Lo);n.addEventListener("touchstart",Pn,{passive:!0}),n.addEventListener("touchend",Ne,{passive:!0}),n.addEventListener("touchmove",Ol,{passive:!0}),n.addEventListener("touchcancel",Ne),n.addEventListener("mousedown",Pn),n.addEventListener("mouseup",Ne),n.addEventListener("mouseleave",Ne),n.addEventListener("keydown",zl),n.addEventListener("keyup",Tl),n.addEventListener("blur",$l),n.addEventListener("dragstart",Ne,{passive:!0})}else!r&&t&&Rl(n)}function Rl(n){n.removeEventListener("mousedown",Pn),n.removeEventListener("touchstart",Pn),n.removeEventListener("touchend",Ne),n.removeEventListener("touchmove",Ol),n.removeEventListener("touchcancel",Ne),n.removeEventListener("mouseup",Ne),n.removeEventListener("mouseleave",Ne),n.removeEventListener("keydown",zl),n.removeEventListener("keyup",Tl),n.removeEventListener("dragstart",Ne),n.removeEventListener("blur",$l)}const jn={mounted:function(n,o){Mo(n,o,!1)},unmounted:function(n){delete n._ripple,Rl(n)},updated:function(n,o){o.value!==o.oldValue&&Mo(n,o,El(o.oldValue))}},sr=U({active:{type:Boolean,default:void 0},symbol:{type:null,default:kl},flat:Boolean,icon:[Boolean,String,Function,Object],prependIcon:se,appendIcon:se,block:Boolean,slim:Boolean,stacked:Boolean,ripple:{type:[Boolean,Object],default:!0},text:String,...yn(),...ae(),...ze(),...Je(),...hn(),...Vl(),...lo(),...to(),...Al(),...Le(),...yt(),...Ln(),...Ae({tag:"button"}),...Ve(),...Ge({variant:"elevated"})},"VBtn"),Wo=X()({name:"VBtn",directives:{Ripple:jn},props:sr(),emits:{"group:selected":n=>!0},setup(n,o){let{attrs:t,slots:l}=o;const{themeClasses:a}=ke(n),{borderClasses:r}=gn(n),{colorClasses:c,colorStyles:u,variantClasses:s}=Dn(n),{densityClasses:i}=De(n),{dimensionStyles:d}=Ze(n),{elevationClasses:v}=bn(n),{loaderClasses:p}=ft(n),{locationStyles:f}=oo(n),{positionClasses:y}=Pl(n),{roundedClasses:g}=Me(n),{sizeClasses:m,sizeStyles:h}=Mn(n),w=Bl(n,n.symbol,!1),x=mt(n,t),j=e.computed(()=>{var I;return n.active!==void 0?n.active:x.isLink.value?(I=x.isActive)==null?void 0:I.value:w==null?void 0:w.isSelected.value}),A=e.computed(()=>(w==null?void 0:w.disabled.value)||n.disabled),O=e.computed(()=>n.variant==="elevated"&&!(n.disabled||n.flat||n.border)),R=e.computed(()=>{if(n.value!==void 0&&typeof n.value!="symbol")return Object(n.value)===n.value?JSON.stringify(n.value,null,0):n.value});function N(I){var F;A.value||x.isLink.value&&(I.metaKey||I.ctrlKey||I.shiftKey||I.button!==0||t.target==="_blank")||((F=x.navigate)==null||F.call(x,I),w==null||w.toggle())}return function(I,F){e.watch(()=>{var C;return(C=I.isActive)==null?void 0:C.value},C=>{I.isLink.value&&C&&F&&e.nextTick(()=>{F(!0)})},{immediate:!0})}(x,w==null?void 0:w.select),ee(()=>{var L,k;const I=x.isLink.value?"a":n.tag,F=!(!n.prependIcon&&!l.prepend),C=!(!n.appendIcon&&!l.append),B=!(!n.icon||n.icon===!0),V=(w==null?void 0:w.isSelected.value)&&(!x.isLink.value||((L=x.isActive)==null?void 0:L.value))||!w||((k=x.isActive)==null?void 0:k.value);return e.withDirectives(e.createVNode(I,{type:I==="a"?void 0:"button",class:["v-btn",w==null?void 0:w.selectedClass.value,{"v-btn--active":j.value,"v-btn--block":n.block,"v-btn--disabled":A.value,"v-btn--elevated":O.value,"v-btn--flat":n.flat,"v-btn--icon":!!n.icon,"v-btn--loading":n.loading,"v-btn--slim":n.slim,"v-btn--stacked":n.stacked},a.value,r.value,V?c.value:void 0,i.value,v.value,p.value,y.value,g.value,m.value,s.value,n.class],style:[V?u.value:void 0,d.value,f.value,h.value,n.style],disabled:A.value||void 0,href:x.href.value,onClick:N,value:R.value},{default:()=>{var _;return[Rn(!0,"v-btn"),!n.icon&&F&&e.createVNode("span",{key:"prepend",class:"v-btn__prepend"},[l.prepend?e.createVNode(Be,{key:"prepend-defaults",disabled:!n.prependIcon,defaults:{VIcon:{icon:n.prependIcon}}},l.prepend):e.createVNode(ce,{key:"prepend-icon",icon:n.prependIcon},null)]),e.createVNode("span",{class:"v-btn__content","data-no-activator":""},[!l.default&&B?e.createVNode(ce,{key:"content-icon",icon:n.icon},null):e.createVNode(Be,{key:"content-defaults",disabled:!B,defaults:{VIcon:{icon:n.icon}}},{default:()=>{var b;return[((b=l.default)==null?void 0:b.call(l))??n.text]}})]),!n.icon&&C&&e.createVNode("span",{key:"append",class:"v-btn__append"},[l.append?e.createVNode(Be,{key:"append-defaults",disabled:!n.appendIcon,defaults:{VIcon:{icon:n.appendIcon}}},l.append):e.createVNode(ce,{key:"append-icon",icon:n.appendIcon},null)]),!!n.loading&&e.createVNode("span",{key:"loader",class:"v-btn__loader"},[((_=l.loader)==null?void 0:_.call(l))??e.createVNode(Fl,{color:typeof n.loading=="boolean"?void 0:n.loading,indeterminate:!0,size:"23",width:"2"},null)])]}}),[[e.resolveDirective("ripple"),!A.value&&n.ripple,null]])}),{}}}),Cn=e.defineComponent({__name:"SaveFieldButtons",props:{loading:{type:Boolean},cancelButtonColor:{},cancelButtonSize:{},cancelButtonVariant:{},cancelButtonTitle:{},cancelIconColor:{},error:{type:Boolean},fieldOnly:{type:Boolean},hideCancelIcon:{type:Boolean},hideSaveIcon:{type:Boolean},cancelIcon:{},loadingIcon:{},loadingIconColor:{},saveButtonColor:{},saveButtonSize:{},saveButtonTitle:{},saveButtonVariant:{},saveIconColor:{},saveIcon:{}},emits:["close","save"],setup(n,{emit:o}){const t=e.useAttrs(),l=o,a=n,r=e.inject(Symbol.for("vuetify:icons")),c=e.computed(()=>a.error),u=e.computed(()=>({[`${Q}--save-fields-container`]:!0})),s=e.computed(()=>a.loading),i=e.reactive({...t,...a}),d=e.computed(()=>(r==null?void 0:r.defaultSet)==="fa"?"fa-spin":(r==null?void 0:r.defaultSet)==="mdi"?"mdi-spin":""),v=e.computed(()=>(h=>{const{cancelButtonVariant:w}=h;return{"me-1":w==="elevated","ms-1":!0}})({cancelButtonVariant:i.cancelButtonVariant})),p=e.computed(()=>_e({icon:a.cancelIcon,iconOptions:r,name:"false"})),f=e.computed(()=>_e({icon:a.loadingIcon,iconOptions:r,name:"loading"})),y=e.computed(()=>_e({icon:a.saveIcon,iconOptions:r,name:"save"}));function g(){l("close")}function m(){l("save")}return(h,w)=>(e.openBlock(),e.createElementBlock("div",e.mergeProps({class:e.unref(u)},h.$attrs),[e.unref(i).hideSaveIcon?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Wo,{key:0,class:"ms-1",color:e.unref(i).saveButtonColor,disabled:e.unref(c),icon:"",size:e.unref(i).saveButtonSize,title:e.unref(s)?"Loading":e.unref(i).saveButtonTitle,variant:e.unref(i).saveButtonVariant,onClick:m},{default:e.withCtx(()=>[e.unref(s)?(e.openBlock(),e.createBlock(ce,{key:1,class:e.normalizeClass(e.unref(d)),color:e.unref(i).loadingIconColor,icon:e.unref(f)},null,8,["class","color","icon"])):(e.openBlock(),e.createBlock(ce,{key:0,color:e.unref(c)?"error":e.unref(i).saveIconColor,icon:e.unref(y)},null,8,["color","icon"]))]),_:1},8,["color","disabled","size","title","variant"])),e.unref(i).hideCancelIcon?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Wo,{key:1,class:e.normalizeClass(e.unref(v)),color:e.unref(i).cancelButtonColor,icon:"",size:e.unref(i).cancelButtonSize,title:e.unref(i).cancelButtonTitle,variant:e.unref(i).cancelButtonVariant,onClick:g},{default:e.withCtx(()=>[e.unref(i).hideSaveIcon&&e.unref(s)?(e.openBlock(),e.createBlock(ce,{key:0,class:e.normalizeClass(e.unref(d)),color:e.unref(i).loadingIconColor,icon:e.unref(f)},null,8,["class","color","icon"])):(e.openBlock(),e.createBlock(ce,{key:1,class:"text-default",color:e.unref(i).cancelIconColor,icon:e.unref(p)},null,8,["color","icon"]))]),_:1},8,["class","color","size","title","variant"]))],16))}}),ur=U({disabled:Boolean,group:Boolean,hideOnLeave:Boolean,leaveAbsolute:Boolean,mode:String,origin:String},"transition");function Fe(n,o,t){return X()({name:n,props:ur({mode:t,origin:o}),setup(l,a){let{slots:r}=a;const c={onBeforeEnter(u){l.origin&&(u.style.transformOrigin=l.origin)},onLeave(u){if(l.leaveAbsolute){const{offsetTop:s,offsetLeft:i,offsetWidth:d,offsetHeight:v}=u;u._transitionInitialStyles={position:u.style.position,top:u.style.top,left:u.style.left,width:u.style.width,height:u.style.height},u.style.position="absolute",u.style.top=`${s}px`,u.style.left=`${i}px`,u.style.width=`${d}px`,u.style.height=`${v}px`}l.hideOnLeave&&u.style.setProperty("display","none","important")},onAfterLeave(u){if(l.leaveAbsolute&&(u!=null&&u._transitionInitialStyles)){const{position:s,top:i,left:d,width:v,height:p}=u._transitionInitialStyles;delete u._transitionInitialStyles,u.style.position=s||"",u.style.top=i||"",u.style.left=d||"",u.style.width=v||"",u.style.height=p||""}}};return()=>{const u=l.group?e.TransitionGroup:e.Transition;return e.h(u,{name:l.disabled?"":n,css:!l.disabled,...l.group?void 0:{mode:l.mode},...l.disabled?{}:c},r.default)}}})}function Dl(n,o){let t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"in-out";return X()({name:n,props:{mode:{type:String,default:t},disabled:Boolean},setup(l,a){let{slots:r}=a;return()=>e.h(e.Transition,{name:l.disabled?"":n,css:!l.disabled,...l.disabled?{}:o},r.default)}})}function Ll(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";const o=arguments.length>1&&arguments[1]!==void 0&&arguments[1]?"width":"height",t=e.camelize(`offset-${o}`);return{onBeforeEnter(r){r._parent=r.parentNode,r._initialStyle={transition:r.style.transition,overflow:r.style.overflow,[o]:r.style[o]}},onEnter(r){const c=r._initialStyle;r.style.setProperty("transition","none","important"),r.style.overflow="hidden";const u=`${r[t]}px`;r.style[o]="0",r.offsetHeight,r.style.transition=c.transition,n&&r._parent&&r._parent.classList.add(n),requestAnimationFrame(()=>{r.style[o]=u})},onAfterEnter:a,onEnterCancelled:a,onLeave(r){r._initialStyle={transition:"",overflow:r.style.overflow,[o]:r.style[o]},r.style.overflow="hidden",r.style[o]=`${r[t]}px`,r.offsetHeight,requestAnimationFrame(()=>r.style[o]="0")},onAfterLeave:l,onLeaveCancelled:l};function l(r){n&&r._parent&&r._parent.classList.remove(n),a(r)}function a(r){const c=r._initialStyle[o];r.style.overflow=r._initialStyle.overflow,c!=null&&(r.style[o]=c),delete r._initialStyle}}const cr=U({target:[Object,Array]},"v-dialog-transition"),Ml=X()({name:"VDialogTransition",props:cr(),setup(n,o){let{slots:t}=o;const l={onBeforeEnter(a){a.style.pointerEvents="none",a.style.visibility="hidden"},async onEnter(a,r){var p;await new Promise(f=>requestAnimationFrame(f)),await new Promise(f=>requestAnimationFrame(f)),a.style.visibility="";const{x:c,y:u,sx:s,sy:i,speed:d}=Uo(n.target,a),v=on(a,[{transform:`translate(${c}px, ${u}px) scale(${s}, ${i})`,opacity:0},{}],{duration:225*d,easing:"cubic-bezier(0.0, 0, 0.2, 1)"});(p=jo(a))==null||p.forEach(f=>{on(f,[{opacity:0},{opacity:0,offset:.33},{}],{duration:450*d,easing:rt})}),v.finished.then(()=>r())},onAfterEnter(a){a.style.removeProperty("pointer-events")},onBeforeLeave(a){a.style.pointerEvents="none"},async onLeave(a,r){var v;await new Promise(p=>requestAnimationFrame(p));const{x:c,y:u,sx:s,sy:i,speed:d}=Uo(n.target,a);on(a,[{},{transform:`translate(${c}px, ${u}px) scale(${s}, ${i})`,opacity:0}],{duration:125*d,easing:"cubic-bezier(0.4, 0, 1, 1)"}).finished.then(()=>r()),(v=jo(a))==null||v.forEach(p=>{on(p,[{},{opacity:0,offset:.2},{opacity:0}],{duration:250*d,easing:rt})})},onAfterLeave(a){a.style.removeProperty("pointer-events")}};return()=>n.target?e.createVNode(e.Transition,e.mergeProps({name:"dialog-transition"},l,{css:!1}),t):e.createVNode(e.Transition,{name:"dialog-transition"},t)}});function jo(n){var t;const o=(t=n.querySelector(":scope > .v-card, :scope > .v-sheet, :scope > .v-list"))==null?void 0:t.children;return o&&[...o]}function Uo(n,o){const t=yl(n),l=Kt(o),[a,r]=getComputedStyle(o).transformOrigin.split(" ").map(h=>parseFloat(h)),[c,u]=getComputedStyle(o).getPropertyValue("--v-overlay-anchor-origin").split(" ");let s=t.left+t.width/2;c==="left"||u==="left"?s-=t.width/2:c!=="right"&&u!=="right"||(s+=t.width/2);let i=t.top+t.height/2;c==="top"||u==="top"?i-=t.height/2:c!=="bottom"&&u!=="bottom"||(i+=t.height/2);const d=t.width/l.width,v=t.height/l.height,p=Math.max(1,d,v),f=d/p||0,y=v/p||0,g=l.width*l.height/(window.innerWidth*window.innerHeight),m=g>.12?Math.min(1.5,10*(g-.12)+1):1;return{x:s-(a+l.left),y:i-(r+l.top),sx:f,sy:y,speed:m}}Fe("fab-transition","center center","out-in"),Fe("dialog-bottom-transition"),Fe("dialog-top-transition"),Fe("fade-transition");const dr=Fe("scale-transition");Fe("scroll-x-transition"),Fe("scroll-x-reverse-transition"),Fe("scroll-y-transition"),Fe("scroll-y-reverse-transition"),Fe("slide-x-transition"),Fe("slide-x-reverse-transition");const Wl=Fe("slide-y-transition");Fe("slide-y-reverse-transition");const pr=Dl("expand-transition",Ll()),jl=Dl("expand-x-transition",Ll("",!0)),Ul=U({aspectRatio:[String,Number],contentClass:String,inline:Boolean,...ae(),...Je()},"VResponsive"),Go=X()({name:"VResponsive",props:Ul(),setup(n,o){let{slots:t}=o;const{aspectStyles:l}=function(r){return{aspectStyles:e.computed(()=>{const c=Number(r.aspectRatio);return c?{paddingBottom:String(1/c*100)+"%"}:void 0})}}(n),{dimensionStyles:a}=Ze(n);return ee(()=>{var r;return e.createVNode("div",{class:["v-responsive",{"v-responsive--inline":n.inline},n.class],style:[a.value,n.style]},[e.createVNode("div",{class:"v-responsive__sizer",style:l.value},null),(r=t.additional)==null?void 0:r.call(t),t.default&&e.createVNode("div",{class:["v-responsive__content",n.contentClass]},[t.default()])])}),{}}}),Un=U({transition:{type:[Boolean,String,Object],default:"fade-transition",validator:n=>n!==!0}},"transition"),We=(n,o)=>{let{slots:t}=o;const{transition:l,disabled:a,...r}=n,{component:c=e.Transition,...u}=typeof l=="object"?l:{};return e.h(c,e.mergeProps(typeof l=="string"?{name:a?"":l}:u,r,{disabled:a}),t)};function qo(n,o){var l;const t=(l=n._observe)==null?void 0:l[o.instance.$.uid];t&&(t.observer.unobserve(n),delete n._observe[o.instance.$.uid])}const ro={mounted:function(n,o){if(!Yt)return;const t=o.modifiers||{},l=o.value,{handler:a,options:r}=typeof l=="object"?l:{handler:l,options:{}},c=new IntersectionObserver(function(){var v;let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],s=arguments.length>1?arguments[1]:void 0;const i=(v=n._observe)==null?void 0:v[o.instance.$.uid];if(!i)return;const d=u.some(p=>p.isIntersecting);!a||t.quiet&&!i.init||t.once&&!d&&!i.init||a(d,u,s),d&&t.once?qo(n,o):i.init=!0},r);n._observe=Object(n._observe),n._observe[o.instance.$.uid]={init:!1,observer:c},c.observe(n)},unmounted:qo},vr=U({alt:String,cover:Boolean,draggable:{type:[Boolean,String],default:void 0},eager:Boolean,gradient:String,lazySrc:String,options:{type:Object,default:()=>({root:void 0,rootMargin:void 0,threshold:void 0})},sizes:String,src:{type:[String,Object],default:""},crossorigin:String,referrerpolicy:String,srcset:String,position:String,...Ul(),...ae(),...Un()},"VImg"),Gl=X()({name:"VImg",directives:{intersect:ro},props:vr(),emits:{loadstart:n=>!0,load:n=>!0,error:n=>!0},setup(n,o){let{emit:t,slots:l}=o;const a=Se("VImg"),r=e.shallowRef(""),c=e.ref(),u=e.shallowRef(n.eager?"loading":"idle"),s=e.shallowRef(),i=e.shallowRef(),d=e.computed(()=>n.src&&typeof n.src=="object"?{src:n.src.src,srcset:n.srcset||n.src.srcset,lazySrc:n.lazySrc||n.src.lazySrc,aspect:Number(n.aspectRatio||n.src.aspect||0)}:{src:n.src,srcset:n.srcset,lazySrc:n.lazySrc,aspect:Number(n.aspectRatio||0)}),v=e.computed(()=>d.value.aspect||s.value/i.value||0);function p(I){if((!n.eager||!I)&&(!Yt||I||n.eager)){if(u.value="loading",d.value.lazySrc){const F=new Image;F.src=d.value.lazySrc,h(F,null)}d.value.src&&e.nextTick(()=>{var F;t("loadstart",((F=c.value)==null?void 0:F.currentSrc)||d.value.src),setTimeout(()=>{var C;if(!a.isUnmounted)if((C=c.value)!=null&&C.complete){if(c.value.naturalWidth||y(),u.value==="error")return;v.value||h(c.value,null),u.value==="loading"&&f()}else v.value||h(c.value),g()})})}}function f(){var I;a.isUnmounted||(g(),h(c.value),u.value="loaded",t("load",((I=c.value)==null?void 0:I.currentSrc)||d.value.src))}function y(){var I;a.isUnmounted||(u.value="error",t("error",((I=c.value)==null?void 0:I.currentSrc)||d.value.src))}function g(){const I=c.value;I&&(r.value=I.currentSrc||I.src)}e.watch(()=>n.src,()=>{p(u.value!=="idle")}),e.watch(v,(I,F)=>{!I&&F&&c.value&&h(c.value)}),e.onBeforeMount(()=>p());let m=-1;function h(I){let F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:100;const C=()=>{if(clearTimeout(m),a.isUnmounted)return;const{naturalHeight:B,naturalWidth:V}=I;B||V?(s.value=V,i.value=B):I.complete||u.value!=="loading"||F==null?(I.currentSrc.endsWith(".svg")||I.currentSrc.startsWith("data:image/svg+xml"))&&(s.value=1,i.value=1):m=window.setTimeout(C,F)};C()}e.onBeforeUnmount(()=>{clearTimeout(m)});const w=e.computed(()=>({"v-img__img--cover":n.cover,"v-img__img--contain":!n.cover})),x=()=>{var C;if(!d.value.src||u.value==="idle")return null;const I=e.createVNode("img",{class:["v-img__img",w.value],style:{objectPosition:n.position},src:d.value.src,srcset:d.value.srcset,alt:n.alt,crossorigin:n.crossorigin,referrerpolicy:n.referrerpolicy,draggable:n.draggable,sizes:n.sizes,ref:c,onLoad:f,onError:y},null),F=(C=l.sources)==null?void 0:C.call(l);return e.createVNode(We,{transition:n.transition,appear:!0},{default:()=>[e.withDirectives(F?e.createVNode("picture",{class:"v-img__picture"},[F,I]):I,[[e.vShow,u.value==="loaded"]])]})},j=()=>e.createVNode(We,{transition:n.transition},{default:()=>[d.value.lazySrc&&u.value!=="loaded"&&e.createVNode("img",{class:["v-img__img","v-img__img--preload",w.value],style:{objectPosition:n.position},src:d.value.lazySrc,alt:n.alt,crossorigin:n.crossorigin,referrerpolicy:n.referrerpolicy,draggable:n.draggable},null)]}),A=()=>l.placeholder?e.createVNode(We,{transition:n.transition,appear:!0},{default:()=>[(u.value==="loading"||u.value==="error"&&!l.error)&&e.createVNode("div",{class:"v-img__placeholder"},[l.placeholder()])]}):null,O=()=>l.error?e.createVNode(We,{transition:n.transition,appear:!0},{default:()=>[u.value==="error"&&e.createVNode("div",{class:"v-img__error"},[l.error()])]}):null,R=()=>n.gradient?e.createVNode("div",{class:"v-img__gradient",style:{backgroundImage:`linear-gradient(${n.gradient})`}},null):null,N=e.shallowRef(!1);{const I=e.watch(v,F=>{F&&(requestAnimationFrame(()=>{requestAnimationFrame(()=>{N.value=!0})}),I())})}return ee(()=>{const I=Go.filterProps(n);return e.withDirectives(e.createVNode(Go,e.mergeProps({class:["v-img",{"v-img--booting":!N.value},n.class],style:[{width:Z(n.width==="auto"?s.value:n.width)},n.style]},I,{aspectRatio:v.value,"aria-label":n.alt,role:n.alt?"img":void 0}),{additional:()=>e.createVNode(e.Fragment,null,[e.createVNode(x,null,null),e.createVNode(j,null,null),e.createVNode(R,null,null),e.createVNode(A,null,null),e.createVNode(O,null,null)]),default:l.default}),[[e.resolveDirective("intersect"),{handler:p,options:n.options},null,{once:!0}]])}),{currentSrc:r,image:c,state:u,naturalWidth:s,naturalHeight:i}}}),fr=U({text:String,clickable:Boolean,...ae(),...Ve()},"VLabel"),ql=X()({name:"VLabel",props:fr(),setup(n,o){let{slots:t}=o;return ee(()=>{var l;return e.createVNode("label",{class:["v-label",{"v-label--clickable":n.clickable},n.class],style:n.style},[n.text,(l=t.default)==null?void 0:l.call(t)])}),{}}}),Hl=Symbol.for("vuetify:selection-control-group"),Yl=U({color:String,disabled:{type:Boolean,default:null},defaultsTarget:String,error:Boolean,id:String,inline:Boolean,falseIcon:se,trueIcon:se,ripple:{type:Boolean,default:!0},multiple:{type:Boolean,default:null},name:String,readonly:{type:Boolean,default:null},modelValue:null,type:String,valueComparator:{type:Function,default:fn},...ae(),...ze(),...Ve()},"SelectionControlGroup"),mr=U({...Yl({defaultsTarget:"VSelectionControl"})},"VSelectionControlGroup");X()({name:"VSelectionControlGroup",props:mr(),emits:{"update:modelValue":n=>!0},setup(n,o){let{slots:t}=o;const l=he(n,"modelValue"),a=Pe(),r=e.computed(()=>n.id||`v-selection-control-group-${a}`),c=e.computed(()=>n.name||r.value),u=new Set;return e.provide(Hl,{modelValue:l,forceUpdate:()=>{u.forEach(s=>s())},onForceUpdate:s=>{u.add(s),e.onScopeDispose(()=>{u.delete(s)})}}),mn({[n.defaultsTarget]:{color:e.toRef(n,"color"),disabled:e.toRef(n,"disabled"),density:e.toRef(n,"density"),error:e.toRef(n,"error"),inline:e.toRef(n,"inline"),modelValue:l,multiple:e.computed(()=>!!n.multiple||n.multiple==null&&Array.isArray(l.value)),name:c,falseIcon:e.toRef(n,"falseIcon"),trueIcon:e.toRef(n,"trueIcon"),readonly:e.toRef(n,"readonly"),ripple:e.toRef(n,"ripple"),type:e.toRef(n,"type"),valueComparator:e.toRef(n,"valueComparator")}}),ee(()=>{var s;return e.createVNode("div",{class:["v-selection-control-group",{"v-selection-control-group--inline":n.inline},n.class],style:n.style,role:n.type==="radio"?"radiogroup":void 0},[(s=t.default)==null?void 0:s.call(t)])}),{}}});const io=U({label:String,baseColor:String,trueValue:null,falseValue:null,value:null,...ae(),...Yl()},"VSelectionControl"),ct=X()({name:"VSelectionControl",directives:{Ripple:jn},inheritAttrs:!1,props:io(),emits:{"update:modelValue":n=>!0},setup(n,o){let{attrs:t,slots:l}=o;const{group:a,densityClasses:r,icon:c,model:u,textColorClasses:s,textColorStyles:i,backgroundColorClasses:d,backgroundColorStyles:v,trueValue:p}=function(A){const O=e.inject(Hl,void 0),{densityClasses:R}=De(A),N=he(A,"modelValue"),I=e.computed(()=>A.trueValue!==void 0?A.trueValue:A.value===void 0||A.value),F=e.computed(()=>A.falseValue!==void 0&&A.falseValue),C=e.computed(()=>!!A.multiple||A.multiple==null&&Array.isArray(N.value)),B=e.computed({get(){const S=O?O.modelValue.value:N.value;return C.value?$e(S).some(P=>A.valueComparator(P,I.value)):A.valueComparator(S,I.value)},set(S){if(A.readonly)return;const P=S?I.value:F.value;let z=P;C.value&&(z=S?[...$e(N.value),P]:$e(N.value).filter(D=>!A.valueComparator(D,I.value))),O?O.modelValue.value=z:N.value=z}}),{textColorClasses:V,textColorStyles:L}=Re(e.computed(()=>{if(!A.error&&!A.disabled)return B.value?A.color:A.baseColor})),{backgroundColorClasses:k,backgroundColorStyles:_}=an(e.computed(()=>!B.value||A.error||A.disabled?void 0:A.color)),b=e.computed(()=>B.value?A.trueIcon:A.falseIcon);return{group:O,densityClasses:R,trueValue:I,falseValue:F,model:B,textColorClasses:V,textColorStyles:L,backgroundColorClasses:k,backgroundColorStyles:_,icon:b}}(n),f=Pe(),y=e.computed(()=>n.id||`input-${f}`),g=e.shallowRef(!1),m=e.shallowRef(!1),h=e.ref();function w(A){g.value=!0,lt(A.target,":focus-visible")!==!1&&(m.value=!0)}function x(){g.value=!1,m.value=!1}function j(A){n.readonly&&a&&e.nextTick(()=>a.forceUpdate()),u.value=A.target.checked}return a==null||a.onForceUpdate(()=>{h.value&&(h.value.checked=u.value)}),ee(()=>{var I,F;const A=l.label?l.label({label:n.label,props:{for:y.value}}):n.label,[O,R]=Tn(t),N=e.createVNode("input",e.mergeProps({ref:h,checked:u.value,disabled:!(!n.readonly&&!n.disabled),id:y.value,onBlur:x,onFocus:w,onInput:j,"aria-disabled":!(!n.readonly&&!n.disabled),type:n.type,value:p.value,name:n.name,"aria-checked":n.type==="checkbox"?u.value:void 0},R),null);return e.createVNode("div",e.mergeProps({class:["v-selection-control",{"v-selection-control--dirty":u.value,"v-selection-control--disabled":n.disabled,"v-selection-control--error":n.error,"v-selection-control--focused":g.value,"v-selection-control--focus-visible":m.value,"v-selection-control--inline":n.inline},r.value,n.class]},O,{style:n.style}),[e.createVNode("div",{class:["v-selection-control__wrapper",s.value],style:i.value},[(I=l.default)==null?void 0:I.call(l,{backgroundColorClasses:d,backgroundColorStyles:v}),e.withDirectives(e.createVNode("div",{class:["v-selection-control__input"]},[((F=l.input)==null?void 0:F.call(l,{model:u,textColorClasses:s,textColorStyles:i,backgroundColorClasses:d,backgroundColorStyles:v,inputNode:N,icon:c.value,props:{onFocus:w,onBlur:x,id:y.value}}))??e.createVNode(e.Fragment,null,[c.value&&e.createVNode(ce,{key:"icon",icon:c.value},null),N])]),[[e.resolveDirective("ripple"),n.ripple&&[!n.disabled&&!n.readonly,null,["center","circle"]]]])]),A&&e.createVNode(ql,{for:y.value,clickable:!0,onClick:C=>C.stopPropagation()},{default:()=>[A]})])}),{isFocused:g,input:h}}}),Xl=U({indeterminate:Boolean,indeterminateIcon:{type:se,default:"$checkboxIndeterminate"},...io({falseIcon:"$checkboxOff",trueIcon:"$checkboxOn"})},"VCheckboxBtn"),$t=X()({name:"VCheckboxBtn",props:Xl(),emits:{"update:modelValue":n=>!0,"update:indeterminate":n=>!0},setup(n,o){let{slots:t}=o;const l=he(n,"indeterminate"),a=he(n,"modelValue");function r(s){l.value&&(l.value=!1)}const c=e.computed(()=>l.value?n.indeterminateIcon:n.falseIcon),u=e.computed(()=>l.value?n.indeterminateIcon:n.trueIcon);return ee(()=>{const s=Ke(ct.filterProps(n),["modelValue"]);return e.createVNode(ct,e.mergeProps(s,{modelValue:a.value,"onUpdate:modelValue":[i=>a.value=i,r],class:["v-checkbox-btn",n.class],style:n.style,type:"checkbox",falseIcon:c.value,trueIcon:u.value,"aria-checked":l.value?"mixed":void 0}),t)}),{}}});function Kl(n){const{t:o}=no();return{InputIcon:function(t){let{name:l}=t;const a={prepend:"prependAction",prependInner:"prependAction",append:"appendAction",appendInner:"appendAction",clear:"clear"}[l],r=n[`onClick:${l}`],c=r&&a?o(`$vuetify.input.${a}`,n.label??""):void 0;return e.createVNode(ce,{icon:n[`${l}Icon`],"aria-label":c,onClick:r},null)}}}const yr=U({active:Boolean,color:String,messages:{type:[Array,String],default:()=>[]},...ae(),...Un({transition:{component:Wl,leaveAbsolute:!0,group:!0}})},"VMessages"),gr=X()({name:"VMessages",props:yr(),setup(n,o){let{slots:t}=o;const l=e.computed(()=>$e(n.messages)),{textColorClasses:a,textColorStyles:r}=Re(e.computed(()=>n.color));return ee(()=>e.createVNode(We,{transition:n.transition,tag:"div",class:["v-messages",a.value,n.class],style:[r.value,n.style],role:"alert","aria-live":"polite"},{default:()=>[n.active&&l.value.map((c,u)=>e.createVNode("div",{class:"v-messages__message",key:`${u}-${l.value}`},[t.message?t.message({message:c}):c]))]})),{}}}),Jl=U({focused:Boolean,"onUpdate:focused":Ee()},"focus");function Gn(n){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Oe();const t=he(n,"focused");return{focusClasses:e.computed(()=>({[`${o}--focused`]:t.value})),isFocused:t,focus:function(){t.value=!0},blur:function(){t.value=!1}}}const hr=Symbol.for("vuetify:form");function Zl(){return e.inject(hr,null)}const br=U({disabled:{type:Boolean,default:null},error:Boolean,errorMessages:{type:[Array,String],default:()=>[]},maxErrors:{type:[Number,String],default:1},name:String,label:String,readonly:{type:Boolean,default:null},rules:{type:Array,default:()=>[]},modelValue:null,validateOn:String,validationValue:null,...Jl()},"validation"),qn=U({id:String,appendIcon:se,centerAffix:{type:Boolean,default:!0},prependIcon:se,hideDetails:[Boolean,String],hideSpinButtons:Boolean,hint:String,persistentHint:Boolean,messages:{type:[Array,String],default:()=>[]},direction:{type:String,default:"horizontal",validator:n=>["horizontal","vertical"].includes(n)},"onClick:prepend":Ee(),"onClick:append":Ee(),...ae(),...ze(),...br()},"VInput"),je=X()({name:"VInput",props:{...qn()},emits:{"update:modelValue":n=>!0},setup(n,o){let{attrs:t,slots:l,emit:a}=o;const{densityClasses:r}=De(n),{rtlClasses:c}=Wn(),{InputIcon:u}=Kl(n),s=Pe(),i=e.computed(()=>n.id||`input-${s}`),d=e.computed(()=>`${i.value}-messages`),{errorMessages:v,isDirty:p,isDisabled:f,isReadonly:y,isPristine:g,isValid:m,isValidating:h,reset:w,resetValidation:x,validate:j,validationClasses:A}=function(N){let I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Oe(),F=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Pe();const C=he(N,"modelValue"),B=e.computed(()=>N.validationValue===void 0?C.value:N.validationValue),V=Zl(),L=e.ref([]),k=e.shallowRef(!0),_=e.computed(()=>!(!$e(C.value===""?null:C.value).length&&!$e(B.value===""?null:B.value).length)),b=e.computed(()=>!!(N.disabled??(V==null?void 0:V.isDisabled.value))),S=e.computed(()=>!!(N.readonly??(V==null?void 0:V.isReadonly.value))),P=e.computed(()=>{var G;return(G=N.errorMessages)!=null&&G.length?$e(N.errorMessages).concat(L.value).slice(0,Math.max(0,+N.maxErrors)):L.value}),z=e.computed(()=>{let G=(N.validateOn??(V==null?void 0:V.validateOn.value))||"input";G==="lazy"&&(G="input lazy");const Y=new Set((G==null?void 0:G.split(" "))??[]);return{blur:Y.has("blur")||Y.has("input"),input:Y.has("input"),submit:Y.has("submit"),lazy:Y.has("lazy")}}),D=e.computed(()=>{var G;return!N.error&&!((G=N.errorMessages)!=null&&G.length)&&(!N.rules.length||(k.value?!L.value.length&&!z.value.lazy||null:!L.value.length))}),T=e.shallowRef(!1),H=e.computed(()=>({[`${I}--error`]:D.value===!1,[`${I}--dirty`]:_.value,[`${I}--disabled`]:b.value,[`${I}--readonly`]:S.value})),E=e.computed(()=>N.name??e.unref(F));function M(){C.value=null,e.nextTick($)}function $(){k.value=!0,z.value.lazy?L.value=[]:W(!0)}async function W(){let G=arguments.length>0&&arguments[0]!==void 0&&arguments[0];const Y=[];T.value=!0;for(const te of N.rules){if(Y.length>=+(N.maxErrors??1))break;const ie=typeof te=="function"?te:()=>te,re=await ie(B.value);re!==!0&&(re===!1||typeof re=="string"?Y.push(re||""):console.warn(`${re} is not a valid value. Rule functions must return boolean true or a string.`))}return L.value=Y,T.value=!1,k.value=G,L.value}return e.onBeforeMount(()=>{V==null||V.register({id:E.value,validate:W,reset:M,resetValidation:$})}),e.onBeforeUnmount(()=>{V==null||V.unregister(E.value)}),e.onMounted(async()=>{z.value.lazy||await W(!0),V==null||V.update(E.value,D.value,P.value)}),Ye(()=>z.value.input,()=>{e.watch(B,()=>{if(B.value!=null)W();else if(N.focused){const G=e.watch(()=>N.focused,Y=>{Y||W(),G()})}})}),Ye(()=>z.value.blur,()=>{e.watch(()=>N.focused,G=>{G||W()})}),e.watch(D,()=>{V==null||V.update(E.value,D.value,P.value)}),{errorMessages:P,isDirty:_,isDisabled:b,isReadonly:S,isPristine:k,isValid:D,isValidating:T,reset:M,resetValidation:$,validate:W,validationClasses:H}}(n,"v-input",i),O=e.computed(()=>({id:i,messagesId:d,isDirty:p,isDisabled:f,isReadonly:y,isPristine:g,isValid:m,isValidating:h,reset:w,resetValidation:x,validate:j})),R=e.computed(()=>{var N;return(N=n.errorMessages)!=null&&N.length||!g.value&&v.value.length?v.value:n.hint&&(n.persistentHint||n.focused)?n.hint:n.messages});return ee(()=>{var B,V,L,k;const N=!(!l.prepend&&!n.prependIcon),I=!(!l.append&&!n.appendIcon),F=R.value.length>0,C=!n.hideDetails||n.hideDetails==="auto"&&(F||!!l.details);return e.createVNode("div",{class:["v-input",`v-input--${n.direction}`,{"v-input--center-affix":n.centerAffix,"v-input--hide-spin-buttons":n.hideSpinButtons},r.value,c.value,A.value,n.class],style:n.style},[N&&e.createVNode("div",{key:"prepend",class:"v-input__prepend"},[(B=l.prepend)==null?void 0:B.call(l,O.value),n.prependIcon&&e.createVNode(u,{key:"prepend-icon",name:"prepend"},null)]),l.default&&e.createVNode("div",{class:"v-input__control"},[(V=l.default)==null?void 0:V.call(l,O.value)]),I&&e.createVNode("div",{key:"append",class:"v-input__append"},[n.appendIcon&&e.createVNode(u,{key:"append-icon",name:"append"},null),(L=l.append)==null?void 0:L.call(l,O.value)]),C&&e.createVNode("div",{class:"v-input__details"},[e.createVNode(gr,{id:d.value,active:F,messages:R.value},{message:l.message}),(k=l.details)==null?void 0:k.call(l,O.value)])])}),{reset:w,resetValidation:x,validate:j,isValid:m,errorMessages:v}}}),Cr=U({...qn(),...Ke(Xl(),["inline"])},"VCheckbox"),Sr=X()({name:"VCheckbox",inheritAttrs:!1,props:Cr(),emits:{"update:modelValue":n=>!0,"update:focused":n=>!0},setup(n,o){let{attrs:t,slots:l}=o;const a=he(n,"modelValue"),{isFocused:r,focus:c,blur:u}=Gn(n),s=Pe(),i=e.computed(()=>n.id||`checkbox-${s}`);return ee(()=>{const[d,v]=Tn(t),p=je.filterProps(n),f=$t.filterProps(n);return e.createVNode(je,e.mergeProps({class:["v-checkbox",n.class]},d,p,{modelValue:a.value,"onUpdate:modelValue":y=>a.value=y,id:i.value,focused:r.value,style:n.style}),{...l,default:y=>{let{id:g,messagesId:m,isDisabled:h,isReadonly:w}=y;return e.createVNode($t,e.mergeProps(f,{id:g.value,"aria-describedby":m.value,disabled:h.value,readonly:w.value},v,{modelValue:a.value,"onUpdate:modelValue":x=>a.value=x,onFocus:c,onBlur:u}),l)}})}),{}}}),Ir=U({start:Boolean,end:Boolean,icon:se,image:String,text:String,...ae(),...ze(),...Le(),...Ln(),...Ae(),...Ve(),...Ge({variant:"flat"})},"VAvatar"),rn=X()({name:"VAvatar",props:Ir(),setup(n,o){let{slots:t}=o;const{themeClasses:l}=ke(n),{colorClasses:a,colorStyles:r,variantClasses:c}=Dn(n),{densityClasses:u}=De(n),{roundedClasses:s}=Me(n),{sizeClasses:i,sizeStyles:d}=Mn(n);return ee(()=>e.createVNode(n.tag,{class:["v-avatar",{"v-avatar--start":n.start,"v-avatar--end":n.end},l.value,a.value,u.value,s.value,i.value,c.value,n.class],style:[r.value,d.value,n.style]},{default:()=>{var v;return[n.image?e.createVNode(Gl,{key:"image",src:n.image,alt:"",cover:!0},null):n.icon?e.createVNode(ce,{key:"icon",icon:n.icon},null):((v=t.default)==null?void 0:v.call(t))??n.text,Rn(!1,"v-avatar")]}})),{}}}),Ql=Symbol.for("vuetify:v-chip-group"),Vr=U({column:Boolean,filter:Boolean,valueComparator:{type:Function,default:fn},...ae(),...Il({selectedClass:"v-chip--selected"}),...Ae(),...Ve(),...Ge({variant:"tonal"})},"VChipGroup");X()({name:"VChipGroup",props:Vr(),emits:{"update:modelValue":n=>!0},setup(n,o){let{slots:t}=o;const{themeClasses:l}=ke(n),{isSelected:a,select:r,next:c,prev:u,selected:s}=wl(n,Ql);return mn({VChip:{color:e.toRef(n,"color"),disabled:e.toRef(n,"disabled"),filter:e.toRef(n,"filter"),variant:e.toRef(n,"variant")}}),ee(()=>e.createVNode(n.tag,{class:["v-chip-group",{"v-chip-group--column":n.column},l.value,n.class],style:n.style},{default:()=>{var i;return[(i=t.default)==null?void 0:i.call(t,{isSelected:a,select:r,next:c,prev:u,selected:s.value})]}})),{}}});const Br=U({activeClass:String,appendAvatar:String,appendIcon:se,closable:Boolean,closeIcon:{type:se,default:"$delete"},closeLabel:{type:String,default:"$vuetify.close"},draggable:Boolean,filter:Boolean,filterIcon:{type:String,default:"$complete"},label:Boolean,link:{type:Boolean,default:void 0},pill:Boolean,prependAvatar:String,prependIcon:se,ripple:{type:[Boolean,Object],default:!0},text:String,modelValue:{type:Boolean,default:!0},onClick:Ee(),onClickOnce:Ee(),...yn(),...ae(),...ze(),...hn(),...Vl(),...Le(),...yt(),...Ln(),...Ae({tag:"span"}),...Ve(),...Ge({variant:"tonal"})},"VChip"),wr=X()({name:"VChip",directives:{Ripple:jn},props:Br(),emits:{"click:close":n=>!0,"update:modelValue":n=>!0,"group:selected":n=>!0,click:n=>!0},setup(n,o){let{attrs:t,emit:l,slots:a}=o;const{t:r}=no(),{borderClasses:c}=gn(n),{colorClasses:u,colorStyles:s,variantClasses:i}=Dn(n),{densityClasses:d}=De(n),{elevationClasses:v}=bn(n),{roundedClasses:p}=Me(n),{sizeClasses:f}=Mn(n),{themeClasses:y}=ke(n),g=he(n,"modelValue"),m=Bl(n,Ql,!1),h=mt(n,t),w=e.computed(()=>n.link!==!1&&h.isLink.value),x=e.computed(()=>!n.disabled&&n.link!==!1&&(!!m||n.link||h.isClickable.value)),j=e.computed(()=>({"aria-label":r(n.closeLabel),onClick(R){R.stopPropagation(),g.value=!1,l("click:close",R)}}));function A(R){var N;l("click",R),x.value&&((N=h.navigate)==null||N.call(h,R),m==null||m.toggle())}function O(R){R.key!=="Enter"&&R.key!==" "||(R.preventDefault(),A(R))}return()=>{const R=h.isLink.value?"a":n.tag,N=!(!n.appendIcon&&!n.appendAvatar),I=!(!N&&!a.append),F=!(!a.close&&!n.closable),C=!(!a.filter&&!n.filter)&&m,B=!(!n.prependIcon&&!n.prependAvatar),V=!(!B&&!a.prepend),L=!m||m.isSelected.value;return g.value&&e.withDirectives(e.createVNode(R,{class:["v-chip",{"v-chip--disabled":n.disabled,"v-chip--label":n.label,"v-chip--link":x.value,"v-chip--filter":C,"v-chip--pill":n.pill},y.value,c.value,L?u.value:void 0,d.value,v.value,p.value,f.value,i.value,m==null?void 0:m.selectedClass.value,n.class],style:[L?s.value:void 0,n.style],disabled:n.disabled||void 0,draggable:n.draggable,href:h.href.value,tabindex:x.value?0:void 0,onClick:A,onKeydown:x.value&&!w.value&&O},{default:()=>{var k;return[Rn(x.value,"v-chip"),C&&e.createVNode(jl,{key:"filter"},{default:()=>[e.withDirectives(e.createVNode("div",{class:"v-chip__filter"},[a.filter?e.createVNode(Be,{key:"filter-defaults",disabled:!n.filterIcon,defaults:{VIcon:{icon:n.filterIcon}}},a.filter):e.createVNode(ce,{key:"filter-icon",icon:n.filterIcon},null)]),[[e.vShow,m.isSelected.value]])]}),V&&e.createVNode("div",{key:"prepend",class:"v-chip__prepend"},[a.prepend?e.createVNode(Be,{key:"prepend-defaults",disabled:!B,defaults:{VAvatar:{image:n.prependAvatar,start:!0},VIcon:{icon:n.prependIcon,start:!0}}},a.prepend):e.createVNode(e.Fragment,null,[n.prependIcon&&e.createVNode(ce,{key:"prepend-icon",icon:n.prependIcon,start:!0},null),n.prependAvatar&&e.createVNode(rn,{key:"prepend-avatar",image:n.prependAvatar,start:!0},null)])]),e.createVNode("div",{class:"v-chip__content"},[((k=a.default)==null?void 0:k.call(a,{isSelected:m==null?void 0:m.isSelected.value,selectedClass:m==null?void 0:m.selectedClass.value,select:m==null?void 0:m.select,toggle:m==null?void 0:m.toggle,value:m==null?void 0:m.value.value,disabled:n.disabled}))??n.text]),I&&e.createVNode("div",{key:"append",class:"v-chip__append"},[a.append?e.createVNode(Be,{key:"append-defaults",disabled:!N,defaults:{VAvatar:{end:!0,image:n.appendAvatar},VIcon:{end:!0,icon:n.appendIcon}}},a.append):e.createVNode(e.Fragment,null,[n.appendIcon&&e.createVNode(ce,{key:"append-icon",end:!0,icon:n.appendIcon},null),n.appendAvatar&&e.createVNode(rn,{key:"append-avatar",end:!0,image:n.appendAvatar},null)])]),F&&e.createVNode("div",e.mergeProps({key:"close",class:"v-chip__close"},j.value),[a.close?e.createVNode(Be,{key:"close-defaults",defaults:{VIcon:{icon:n.closeIcon,size:"x-small"}}},a.close):e.createVNode(ce,{key:"close-icon",icon:n.closeIcon,size:"x-small"},null)])]}}),[[e.resolveDirective("ripple"),x.value&&n.ripple,null]])}}}),Rt=Symbol.for("vuetify:list");function ea(){const n=e.inject(Rt,{hasPrepend:e.shallowRef(!1),updateHasPrepend:()=>null}),o={hasPrepend:e.shallowRef(!1),updateHasPrepend:t=>{t&&(o.hasPrepend.value=t)}};return e.provide(Rt,o),n}function na(){return e.inject(Rt,null)}const kr={open:n=>{let{id:o,value:t,opened:l,parents:a}=n;if(t){const r=new Set;r.add(o);let c=a.get(o);for(;c!=null;)r.add(c),c=a.get(c);return r}return l.delete(o),l},select:()=>null},ta={open:n=>{let{id:o,value:t,opened:l,parents:a}=n;if(t){let r=a.get(o);for(l.add(o);r!=null&&r!==o;)l.add(r),r=a.get(r);return l}return l.delete(o),l},select:()=>null},xr={open:ta.open,select:n=>{let{id:o,value:t,opened:l,parents:a}=n;if(!t)return l;const r=[];let c=a.get(o);for(;c!=null;)r.push(c),c=a.get(c);return new Set(r)}},Dt=n=>{const o={select:t=>{let{id:l,value:a,selected:r}=t;if(l=e.toRaw(l),n&&!a){const c=Array.from(r.entries()).reduce((u,s)=>{let[i,d]=s;return d==="on"?[...u,i]:u},[]);if(c.length===1&&c[0]===l)return r}return r.set(l,a?"on":"off"),r},in:(t,l,a)=>{let r=new Map;for(const c of t||[])r=o.select({id:c,value:!0,selected:new Map(r),children:l,parents:a});return r},out:t=>{const l=[];for(const[a,r]of t.entries())r==="on"&&l.push(a);return l}};return o},Ho=n=>{const o=Dt(n);return{select:t=>{let{selected:l,id:a,...r}=t;a=e.toRaw(a);const c=l.has(a)?new Map([[a,l.get(a)]]):new Map;return o.select({...r,id:a,selected:c})},in:(t,l,a)=>{let r=new Map;return t!=null&&t.length&&(r=o.in(t.slice(0,1),l,a)),r},out:(t,l,a)=>o.out(t,l,a)}},En=Symbol.for("vuetify:nested"),oa={id:e.shallowRef(),root:{register:()=>null,unregister:()=>null,parents:e.ref(new Map),children:e.ref(new Map),open:()=>null,openOnSelect:()=>null,select:()=>null,opened:e.ref(new Set),selected:e.ref(new Map),selectedValues:e.ref([])}},Fr=U({selectStrategy:[String,Function],openStrategy:[String,Object],opened:Array,selected:Array,mandatory:Boolean},"nested"),Nr=n=>{let o=!1;const t=e.ref(new Map),l=e.ref(new Map),a=he(n,"opened",n.opened,v=>new Set(v),v=>[...v.values()]),r=e.computed(()=>{if(typeof n.selectStrategy=="object")return n.selectStrategy;switch(n.selectStrategy){case"single-leaf":return(v=>{const p=Ho(v);return{select:f=>{let{id:y,selected:g,children:m,...h}=f;return y=e.toRaw(y),m.has(y)?g:p.select({id:y,selected:g,children:m,...h})},in:p.in,out:p.out}})(n.mandatory);case"leaf":return(v=>{const p=Dt(v);return{select:f=>{let{id:y,selected:g,children:m,...h}=f;return y=e.toRaw(y),m.has(y)?g:p.select({id:y,selected:g,children:m,...h})},in:p.in,out:p.out}})(n.mandatory);case"independent":return Dt(n.mandatory);case"single-independent":return Ho(n.mandatory);default:return(v=>{const p={select:f=>{let{id:y,value:g,selected:m,children:h,parents:w}=f;y=e.toRaw(y);const x=new Map(m),j=[y];for(;j.length;){const O=j.shift();m.set(O,g?"on":"off"),h.has(O)&&j.push(...h.get(O))}let A=w.get(y);for(;A;){const O=h.get(A),R=O.every(I=>m.get(I)==="on"),N=O.every(I=>!m.has(I)||m.get(I)==="off");m.set(A,R?"on":N?"off":"indeterminate"),A=w.get(A)}return v&&!g&&Array.from(m.entries()).reduce((R,N)=>{let[I,F]=N;return F==="on"?[...R,I]:R},[]).length===0?x:m},in:(f,y,g)=>{let m=new Map;for(const h of f||[])m=p.select({id:h,value:!0,selected:new Map(m),children:y,parents:g});return m},out:(f,y)=>{const g=[];for(const[m,h]of f.entries())h!=="on"||y.has(m)||g.push(m);return g}};return p})(n.mandatory)}}),c=e.computed(()=>{if(typeof n.openStrategy=="object")return n.openStrategy;switch(n.openStrategy){case"list":return xr;case"single":return kr;default:return ta}}),u=he(n,"selected",n.selected,v=>r.value.in(v,t.value,l.value),v=>r.value.out(v,t.value,l.value));function s(v){const p=[];let f=v;for(;f!=null;)p.unshift(f),f=l.value.get(f);return p}e.onBeforeUnmount(()=>{o=!0});const i=Se("nested"),d={id:e.shallowRef(),root:{opened:a,selected:u,selectedValues:e.computed(()=>{const v=[];for(const[p,f]of u.value.entries())f==="on"&&v.push(p);return v}),register:(v,p,f)=>{p&&v!==p&&l.value.set(v,p),f&&t.value.set(v,[]),p!=null&&t.value.set(p,[...t.value.get(p)||[],v])},unregister:v=>{if(o)return;t.value.delete(v);const p=l.value.get(v);if(p){const f=t.value.get(p)??[];t.value.set(p,f.filter(y=>y!==v))}l.value.delete(v),a.value.delete(v)},open:(v,p,f)=>{i.emit("click:open",{id:v,value:p,path:s(v),event:f});const y=c.value.open({id:v,value:p,opened:new Set(a.value),children:t.value,parents:l.value,event:f});y&&(a.value=y)},openOnSelect:(v,p,f)=>{const y=c.value.select({id:v,value:p,selected:new Map(u.value),opened:new Set(a.value),children:t.value,parents:l.value,event:f});y&&(a.value=y)},select:(v,p,f)=>{i.emit("click:select",{id:v,value:p,path:s(v),event:f});const y=r.value.select({id:v,value:p,selected:new Map(u.value),children:t.value,parents:l.value,event:f});y&&(u.value=y),d.root.openOnSelect(v,p,f)},children:t,parents:l}};return e.provide(En,d),d.root},la=(n,o)=>{const t=e.inject(En,oa),l=Symbol(Pe()),a=e.computed(()=>n.value!==void 0?n.value:l),r={...t,id:a,open:(c,u)=>t.root.open(a.value,c,u),openOnSelect:(c,u)=>t.root.openOnSelect(a.value,c,u),isOpen:e.computed(()=>t.root.opened.value.has(a.value)),parent:e.computed(()=>t.root.parents.value.get(a.value)),select:(c,u)=>t.root.select(a.value,c,u),isSelected:e.computed(()=>t.root.selected.value.get(e.toRaw(a.value))==="on"),isIndeterminate:e.computed(()=>t.root.selected.value.get(a.value)==="indeterminate"),isLeaf:e.computed(()=>!t.root.children.value.get(a.value)),isGroupActivator:t.isGroupActivator};return!t.isGroupActivator&&t.root.register(a.value,t.id.value,o),e.onBeforeUnmount(()=>{!t.isGroupActivator&&t.root.unregister(a.value)}),o&&e.provide(En,r),r},Ar=An({name:"VListGroupActivator",setup(n,o){let{slots:t}=o;return(()=>{const l=e.inject(En,oa);e.provide(En,{...l,isGroupActivator:!0})})(),()=>{var l;return(l=t.default)==null?void 0:l.call(t)}}}),Pr=U({activeColor:String,baseColor:String,color:String,collapseIcon:{type:se,default:"$collapse"},expandIcon:{type:se,default:"$expand"},prependIcon:se,appendIcon:se,fluid:Boolean,subgroup:Boolean,title:String,value:null,...ae(),...Ae()},"VListGroup"),Yo=X()({name:"VListGroup",props:Pr(),setup(n,o){let{slots:t}=o;const{isOpen:l,open:a,id:r}=la(e.toRef(n,"value"),!0),c=e.computed(()=>`v-list-group--id-${String(r.value)}`),u=na(),{isBooted:s}=function(){const f=e.shallowRef(!1);return e.onMounted(()=>{window.requestAnimationFrame(()=>{f.value=!0})}),{ssrBootStyles:e.computed(()=>f.value?void 0:{transition:"none !important"}),isBooted:e.readonly(f)}}();function i(f){a(!l.value,f)}const d=e.computed(()=>({onClick:i,class:"v-list-group__header",id:c.value})),v=e.computed(()=>l.value?n.collapseIcon:n.expandIcon),p=e.computed(()=>({VListItem:{active:l.value,activeColor:n.activeColor,baseColor:n.baseColor,color:n.color,prependIcon:n.prependIcon||n.subgroup&&v.value,appendIcon:n.appendIcon||!n.subgroup&&v.value,title:n.title,value:n.value}}));return ee(()=>e.createVNode(n.tag,{class:["v-list-group",{"v-list-group--prepend":u==null?void 0:u.hasPrepend.value,"v-list-group--fluid":n.fluid,"v-list-group--subgroup":n.subgroup,"v-list-group--open":l.value},n.class],style:n.style},{default:()=>[t.activator&&e.createVNode(Be,{defaults:p.value},{default:()=>[e.createVNode(Ar,null,{default:()=>[t.activator({props:d.value,isOpen:l.value})]})]}),e.createVNode(We,{transition:{component:pr},disabled:!s.value},{default:()=>{var f;return[e.withDirectives(e.createVNode("div",{class:"v-list-group__items",role:"group","aria-labelledby":c.value},[(f=t.default)==null?void 0:f.call(t)]),[[e.vShow,l.value]])]}})]})),{}}}),_r=$n("v-list-item-subtitle"),Er=$n("v-list-item-title"),Or=U({active:{type:Boolean,default:void 0},activeClass:String,activeColor:String,appendAvatar:String,appendIcon:se,baseColor:String,disabled:Boolean,lines:String,link:{type:Boolean,default:void 0},nav:Boolean,prependAvatar:String,prependIcon:se,ripple:{type:[Boolean,Object],default:!0},slim:Boolean,subtitle:[String,Number],title:[String,Number],value:null,onClick:Ee(),onClickOnce:Ee(),...yn(),...ae(),...ze(),...Je(),...hn(),...Le(),...yt(),...Ae(),...Ve(),...Ge({variant:"text"})},"VListItem"),dt=X()({name:"VListItem",directives:{Ripple:jn},props:Or(),emits:{click:n=>!0},setup(n,o){let{attrs:t,slots:l,emit:a}=o;const r=mt(n,t),c=e.computed(()=>n.value===void 0?r.href.value:n.value),{select:u,isSelected:s,isIndeterminate:i,isGroupActivator:d,root:v,parent:p,openOnSelect:f}=la(c,!1),y=na(),g=e.computed(()=>{var S;return n.active!==!1&&(n.active||((S=r.isActive)==null?void 0:S.value)||s.value)}),m=e.computed(()=>n.link!==!1&&r.isLink.value),h=e.computed(()=>!n.disabled&&n.link!==!1&&(n.link||r.isClickable.value||n.value!=null&&!!y)),w=e.computed(()=>n.rounded||n.nav),x=e.computed(()=>n.color??n.activeColor),j=e.computed(()=>({color:g.value?x.value??n.baseColor:n.baseColor,variant:n.variant}));e.watch(()=>{var S;return(S=r.isActive)==null?void 0:S.value},S=>{S&&p.value!=null&&v.open(p.value,!0),S&&f(S)},{immediate:!0});const{themeClasses:A}=ke(n),{borderClasses:O}=gn(n),{colorClasses:R,colorStyles:N,variantClasses:I}=Dn(j),{densityClasses:F}=De(n),{dimensionStyles:C}=Ze(n),{elevationClasses:B}=bn(n),{roundedClasses:V}=Me(w),L=e.computed(()=>n.lines?`v-list-item--${n.lines}-line`:void 0),k=e.computed(()=>({isActive:g.value,select:u,isSelected:s.value,isIndeterminate:i.value}));function _(S){var P;a("click",S),!d&&h.value&&((P=r.navigate)==null||P.call(r,S),n.value!=null&&u(!s.value,S))}function b(S){S.key!=="Enter"&&S.key!==" "||(S.preventDefault(),_(S))}return ee(()=>{const S=m.value?"a":n.tag,P=l.title||n.title!=null,z=l.subtitle||n.subtitle!=null,D=!(!n.appendAvatar&&!n.appendIcon),T=!(!D&&!l.append),H=!(!n.prependAvatar&&!n.prependIcon),E=!(!H&&!l.prepend);var M,$;return y==null||y.updateHasPrepend(E),n.activeColor&&(M="active-color",$=["color","base-color"],$=Array.isArray($)?$.slice(0,-1).map(W=>`'${W}'`).join(", ")+` or '${$.at(-1)}'`:`'${$}'`,e.warn(`[Vuetify UPGRADE] '${M}' is deprecated, use ${$} instead.`)),e.withDirectives(e.createVNode(S,{class:["v-list-item",{"v-list-item--active":g.value,"v-list-item--disabled":n.disabled,"v-list-item--link":h.value,"v-list-item--nav":n.nav,"v-list-item--prepend":!E&&(y==null?void 0:y.hasPrepend.value),"v-list-item--slim":n.slim,[`${n.activeClass}`]:n.activeClass&&g.value},A.value,O.value,R.value,F.value,B.value,L.value,V.value,I.value,n.class],style:[N.value,C.value,n.style],href:r.href.value,tabindex:h.value?y?-2:0:void 0,onClick:_,onKeydown:h.value&&!m.value&&b},{default:()=>{var W;return[Rn(h.value||g.value,"v-list-item"),E&&e.createVNode("div",{key:"prepend",class:"v-list-item__prepend"},[l.prepend?e.createVNode(Be,{key:"prepend-defaults",disabled:!H,defaults:{VAvatar:{density:n.density,image:n.prependAvatar},VIcon:{density:n.density,icon:n.prependIcon},VListItemAction:{start:!0}}},{default:()=>{var G;return[(G=l.prepend)==null?void 0:G.call(l,k.value)]}}):e.createVNode(e.Fragment,null,[n.prependAvatar&&e.createVNode(rn,{key:"prepend-avatar",density:n.density,image:n.prependAvatar},null),n.prependIcon&&e.createVNode(ce,{key:"prepend-icon",density:n.density,icon:n.prependIcon},null)]),e.createVNode("div",{class:"v-list-item__spacer"},null)]),e.createVNode("div",{class:"v-list-item__content","data-no-activator":""},[P&&e.createVNode(Er,{key:"title"},{default:()=>{var G;return[((G=l.title)==null?void 0:G.call(l,{title:n.title}))??n.title]}}),z&&e.createVNode(_r,{key:"subtitle"},{default:()=>{var G;return[((G=l.subtitle)==null?void 0:G.call(l,{subtitle:n.subtitle}))??n.subtitle]}}),(W=l.default)==null?void 0:W.call(l,k.value)]),T&&e.createVNode("div",{key:"append",class:"v-list-item__append"},[l.append?e.createVNode(Be,{key:"append-defaults",disabled:!D,defaults:{VAvatar:{density:n.density,image:n.appendAvatar},VIcon:{density:n.density,icon:n.appendIcon},VListItemAction:{end:!0}}},{default:()=>{var G;return[(G=l.append)==null?void 0:G.call(l,k.value)]}}):e.createVNode(e.Fragment,null,[n.appendIcon&&e.createVNode(ce,{key:"append-icon",density:n.density,icon:n.appendIcon},null),n.appendAvatar&&e.createVNode(rn,{key:"append-avatar",density:n.density,image:n.appendAvatar},null)]),e.createVNode("div",{class:"v-list-item__spacer"},null)])]}}),[[e.resolveDirective("ripple"),h.value&&n.ripple]])}),{}}}),zr=U({color:String,inset:Boolean,sticky:Boolean,title:String,...ae(),...Ae()},"VListSubheader"),Tr=X()({name:"VListSubheader",props:zr(),setup(n,o){let{slots:t}=o;const{textColorClasses:l,textColorStyles:a}=Re(e.toRef(n,"color"));return ee(()=>{const r=!(!t.default&&!n.title);return e.createVNode(n.tag,{class:["v-list-subheader",{"v-list-subheader--inset":n.inset,"v-list-subheader--sticky":n.sticky},l.value,n.class],style:[{textColorStyles:a},n.style]},{default:()=>{var c;return[r&&e.createVNode("div",{class:"v-list-subheader__text"},[((c=t.default)==null?void 0:c.call(t))??n.title])]}})}),{}}}),$r=U({color:String,inset:Boolean,length:[Number,String],thickness:[Number,String],vertical:Boolean,...ae(),...Ve()},"VDivider"),Rr=X()({name:"VDivider",props:$r(),setup(n,o){let{attrs:t}=o;const{themeClasses:l}=ke(n),{textColorClasses:a,textColorStyles:r}=Re(e.toRef(n,"color")),c=e.computed(()=>{const u={};return n.length&&(u[n.vertical?"maxHeight":"maxWidth"]=Z(n.length)),n.thickness&&(u[n.vertical?"borderRightWidth":"borderTopWidth"]=Z(n.thickness)),u});return ee(()=>e.createVNode("hr",{class:[{"v-divider":!0,"v-divider--inset":n.inset,"v-divider--vertical":n.vertical},l.value,a.value,n.class],style:[c.value,r.value,n.style],"aria-orientation":t.role&&t.role!=="separator"?void 0:n.vertical?"vertical":"horizontal",role:`${t.role||"separator"}`},null)),{}}}),Dr=U({items:Array,returnObject:Boolean},"VListChildren"),aa=X()({name:"VListChildren",props:Dr(),setup(n,o){let{slots:t}=o;return ea(),()=>{var l,a;return((l=t.default)==null?void 0:l.call(t))??((a=n.items)==null?void 0:a.map(r=>{var p,f;let{children:c,props:u,type:s,raw:i}=r;if(s==="divider")return((p=t.divider)==null?void 0:p.call(t,{props:u}))??e.createVNode(Rr,u,null);if(s==="subheader")return((f=t.subheader)==null?void 0:f.call(t,{props:u}))??e.createVNode(Tr,u,null);const d={subtitle:t.subtitle?y=>{var g;return(g=t.subtitle)==null?void 0:g.call(t,{...y,item:i})}:void 0,prepend:t.prepend?y=>{var g;return(g=t.prepend)==null?void 0:g.call(t,{...y,item:i})}:void 0,append:t.append?y=>{var g;return(g=t.append)==null?void 0:g.call(t,{...y,item:i})}:void 0,title:t.title?y=>{var g;return(g=t.title)==null?void 0:g.call(t,{...y,item:i})}:void 0},v=Yo.filterProps(u);return c?e.createVNode(Yo,e.mergeProps({value:u==null?void 0:u.value},v),{activator:y=>{let{props:g}=y;const m={...u,...g,value:n.returnObject?i:u.value};return t.header?t.header({props:m}):e.createVNode(dt,m,d)},default:()=>e.createVNode(aa,{items:c},t)}):t.item?t.item({props:u}):e.createVNode(dt,e.mergeProps(u,{value:n.returnObject?i:u.value}),d)}))}}}),ra=U({items:{type:Array,default:()=>[]},itemTitle:{type:[String,Array,Function],default:"title"},itemValue:{type:[String,Array,Function],default:"value"},itemChildren:{type:[Boolean,String,Array,Function],default:"children"},itemProps:{type:[Boolean,String,Array,Function],default:"props"},returnObject:Boolean,valueComparator:{type:Function,default:fn}},"list-items");function Lt(n,o){const t=Te(o,n.itemTitle,o),l=Te(o,n.itemValue,t),a=Te(o,n.itemChildren),r={title:t,value:l,...n.itemProps===!0?typeof o!="object"||o==null||Array.isArray(o)?void 0:"children"in o?Ke(o,["children"]):o:Te(o,n.itemProps)};return{title:String(r.title??""),value:r.value,props:r,children:Array.isArray(a)?ia(n,a):void 0,raw:o}}function ia(n,o){const t=[];for(const l of o)t.push(Lt(n,l));return t}function Lr(n,o){const t=Te(o,n.itemType,"item"),l=function(u){return typeof u=="string"||typeof u=="number"||typeof u=="boolean"}(o)?o:Te(o,n.itemTitle),a=Te(o,n.itemValue,void 0),r=Te(o,n.itemChildren),c={title:l,value:a,...n.itemProps===!0?Ke(o,["children"]):Te(o,n.itemProps)};return{type:t,title:c.title,value:c.value,props:c,children:t==="item"&&r?sa(n,r):void 0,raw:o}}function sa(n,o){const t=[];for(const l of o)t.push(Lr(n,l));return t}const Mr=U({baseColor:String,activeColor:String,activeClass:String,bgColor:String,disabled:Boolean,lines:{type:[Boolean,String],default:"one"},slim:Boolean,nav:Boolean,...Fr({selectStrategy:"single-leaf",openStrategy:"list"}),...yn(),...ae(),...ze(),...Je(),...hn(),itemType:{type:String,default:"type"},...ra(),...Le(),...Ae(),...Ve(),...Ge({variant:"text"})},"VList"),Wr=X()({name:"VList",props:Mr(),emits:{"update:selected":n=>!0,"update:opened":n=>!0,"click:open":n=>!0,"click:select":n=>!0},setup(n,o){let{slots:t}=o;const{items:l}=function(I){return{items:e.computed(()=>sa(I,I.items))}}(n),{themeClasses:a}=ke(n),{backgroundColorClasses:r,backgroundColorStyles:c}=an(e.toRef(n,"bgColor")),{borderClasses:u}=gn(n),{densityClasses:s}=De(n),{dimensionStyles:i}=Ze(n),{elevationClasses:d}=bn(n),{roundedClasses:v}=Me(n),{open:p,select:f}=Nr(n),y=e.computed(()=>n.lines?`v-list--${n.lines}-line`:void 0),g=e.toRef(n,"activeColor"),m=e.toRef(n,"baseColor"),h=e.toRef(n,"color");ea(),mn({VListGroup:{activeColor:g,baseColor:m,color:h},VListItem:{activeClass:e.toRef(n,"activeClass"),activeColor:g,baseColor:m,color:h,density:e.toRef(n,"density"),disabled:e.toRef(n,"disabled"),lines:e.toRef(n,"lines"),nav:e.toRef(n,"nav"),slim:e.toRef(n,"slim"),variant:e.toRef(n,"variant")}});const w=e.shallowRef(!1),x=e.ref();function j(I){w.value=!0}function A(I){w.value=!1}function O(I){var F;w.value||I.relatedTarget&&((F=x.value)!=null&&F.contains(I.relatedTarget))||N()}function R(I){if(x.value){if(I.key==="ArrowDown")N("next");else if(I.key==="ArrowUp")N("prev");else if(I.key==="Home")N("first");else{if(I.key!=="End")return;N("last")}I.preventDefault()}}function N(I){if(x.value)return ot(x.value,I)}return ee(()=>e.createVNode(n.tag,{ref:x,class:["v-list",{"v-list--disabled":n.disabled,"v-list--nav":n.nav},a.value,r.value,u.value,s.value,d.value,y.value,v.value,n.class],style:[c.value,i.value,n.style],tabindex:n.disabled||w.value?-1:0,role:"listbox","aria-activedescendant":void 0,onFocusin:j,onFocusout:A,onFocus:O,onKeydown:R},{default:()=>[e.createVNode(aa,{items:l.value,returnObject:n.returnObject},t)]})),{open:p,select:f,focus:N}}});function kt(n,o){return{x:n.x+o.x,y:n.y+o.y}}function Xo(n,o){if(n.side==="top"||n.side==="bottom"){const{side:t,align:l}=n;return kt({x:l==="left"?0:l==="center"?o.width/2:l==="right"?o.width:l,y:t==="top"?0:t==="bottom"?o.height:t},o)}if(n.side==="left"||n.side==="right"){const{side:t,align:l}=n;return kt({x:t==="left"?0:t==="right"?o.width:t,y:l==="top"?0:l==="center"?o.height/2:l==="bottom"?o.height:l},o)}return kt({x:o.width/2,y:o.height/2},o)}const ua={static:function(){},connected:function(n,o,t){(Array.isArray(n.target.value)||function(f){for(;f;){if(window.getComputedStyle(f).position==="fixed")return!0;f=f.offsetParent}return!1}(n.target.value))&&Object.assign(t.value,{position:"fixed",top:0,[n.isRtl.value?"right":"left"]:0});const{preferredAnchor:l,preferredOrigin:a}=Xt(()=>{const f=Ot(o.location,n.isRtl.value),y=o.origin==="overlap"?f:o.origin==="auto"?It(f):Ot(o.origin,n.isRtl.value);return f.side===y.side&&f.align===Vt(y).align?{preferredAnchor:So(f),preferredOrigin:So(y)}:{preferredAnchor:f,preferredOrigin:y}}),[r,c,u,s]=["minWidth","minHeight","maxWidth","maxHeight"].map(f=>e.computed(()=>{const y=parseFloat(o[f]);return isNaN(y)?1/0:y})),i=e.computed(()=>{if(Array.isArray(o.offset))return o.offset;if(typeof o.offset=="string"){const f=o.offset.split(" ").map(parseFloat);return f.length<2&&f.push(0),f}return typeof o.offset=="number"?[o.offset,0]:[0,0]});let d=!1;const v=new ResizeObserver(()=>{d&&p()});function p(){if(d=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>d=!0)}),!n.target.value||!n.contentEl.value)return;const f=yl(n.target.value),y=function(F,C){C?F.style.removeProperty("left"):F.style.removeProperty("right");const B=Kt(F);return C?B.x+=parseFloat(F.style.right||0):B.x-=parseFloat(F.style.left||0),B.y-=parseFloat(F.style.top||0),B}(n.contentEl.value,n.isRtl.value),g=it(n.contentEl.value);g.length||(g.push(document.documentElement),n.contentEl.value.style.top&&n.contentEl.value.style.left||(y.x-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x")||0),y.y-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y")||0)));const m=g.reduce((F,C)=>{const B=C.getBoundingClientRect(),V=new He({x:C===document.documentElement?0:B.x,y:C===document.documentElement?0:B.y,width:C.clientWidth,height:C.clientHeight});return F?new He({x:Math.max(F.left,V.left),y:Math.max(F.top,V.top),width:Math.min(F.right,V.right)-Math.max(F.left,V.left),height:Math.min(F.bottom,V.bottom)-Math.max(F.top,V.top)}):V},void 0);m.x+=12,m.y+=12,m.width-=24,m.height-=24;let h={anchor:l.value,origin:a.value};function w(F){const C=new He(y),B=Xo(F.anchor,f),V=Xo(F.origin,C);let{x:L,y:k}=(b=V,{x:(_=B).x-b.x,y:_.y-b.y});var _,b;switch(F.anchor.side){case"top":k-=i.value[0];break;case"bottom":k+=i.value[0];break;case"left":L-=i.value[0];break;case"right":L+=i.value[0]}switch(F.anchor.align){case"top":k-=i.value[1];break;case"bottom":k+=i.value[1];break;case"left":L-=i.value[1];break;case"right":L+=i.value[1]}return C.x+=L,C.y+=k,C.width=Math.min(C.width,u.value),C.height=Math.min(C.height,s.value),{overflows:Vo(C,m),x:L,y:k}}let x=0,j=0;const A={x:0,y:0},O={x:!1,y:!1};let R=-1;for(;;){if(R++>10){N="Infinite loop detected in connectedLocationStrategy",e.warn(`Vuetify error: ${N}`);break}const{x:F,y:C,overflows:B}=w(h);x+=F,j+=C,y.x+=F,y.y+=C;{const V=Io(h.anchor),L=B.x.before||B.x.after,k=B.y.before||B.y.after;let _=!1;if(["x","y"].forEach(b=>{if(b==="x"&&L&&!O.x||b==="y"&&k&&!O.y){const S={anchor:{...h.anchor},origin:{...h.origin}},P=b==="x"?V==="y"?Vt:It:V==="y"?It:Vt;S.anchor=P(S.anchor),S.origin=P(S.origin);const{overflows:z}=w(S);(z[b].before<=B[b].before&&z[b].after<=B[b].after||z[b].before+z[b].after<(B[b].before+B[b].after)/2)&&(h=S,_=O[b]=!0)}}),_)continue}B.x.before&&(x+=B.x.before,y.x+=B.x.before),B.x.after&&(x-=B.x.after,y.x-=B.x.after),B.y.before&&(j+=B.y.before,y.y+=B.y.before),B.y.after&&(j-=B.y.after,y.y-=B.y.after);{const V=Vo(y,m);A.x=m.width-V.x.before-V.x.after,A.y=m.height-V.y.before-V.y.after,x+=V.x.before,y.x+=V.x.before,j+=V.y.before,y.y+=V.y.before}break}var N;const I=Io(h.anchor);return Object.assign(t.value,{"--v-overlay-anchor-origin":`${h.anchor.side} ${h.anchor.align}`,transformOrigin:`${h.origin.side} ${h.origin.align}`,top:Z(xt(j)),left:n.isRtl.value?void 0:Z(xt(x)),right:n.isRtl.value?Z(xt(-x)):void 0,minWidth:Z(I==="y"?Math.min(r.value,f.width):r.value),maxWidth:Z(Ko(ln(A.x,r.value===1/0?0:r.value,u.value))),maxHeight:Z(Ko(ln(A.y,c.value===1/0?0:c.value,s.value)))}),{available:A,contentBox:y}}return e.watch([n.target,n.contentEl],(f,y)=>{let[g,m]=f,[h,w]=y;h&&!Array.isArray(h)&&v.unobserve(h),g&&!Array.isArray(g)&&v.observe(g),w&&v.unobserve(w),m&&v.observe(m)},{immediate:!0}),e.onScopeDispose(()=>{v.disconnect()}),e.watch(()=>[l.value,a.value,o.offset,o.minWidth,o.minHeight,o.maxWidth,o.maxHeight],()=>p()),e.nextTick(()=>{const f=p();if(!f)return;const{available:y,contentBox:g}=f;g.height>y.y&&requestAnimationFrame(()=>{p(),requestAnimationFrame(()=>{p()})})}),{updateLocation:p}}},jr=U({locationStrategy:{type:[String,Function],default:"static",validator:n=>typeof n=="function"||n in ua},location:{type:String,default:"bottom"},origin:{type:String,default:"auto"},offset:[Number,String,Array]},"VOverlay-location-strategies");function xt(n){return Math.round(n*devicePixelRatio)/devicePixelRatio}function Ko(n){return Math.ceil(n*devicePixelRatio)/devicePixelRatio}let Mt=!0;const pt=[];let Jo=-1;function Wt(){cancelAnimationFrame(Jo),Jo=requestAnimationFrame(()=>{const n=pt.shift();n&&n(),pt.length?Wt():Mt=!0})}const et={none:null,close:function(n){Zo(n.targetEl.value??n.contentEl.value,function(o){n.isActive.value=!1})},block:function(n,o){var u;const t=(u=n.root.value)==null?void 0:u.offsetParent,l=[...new Set([...it(n.targetEl.value,o.contained?t:void 0),...it(n.contentEl.value,o.contained?t:void 0)])].filter(s=>!s.classList.contains("v-overlay-scroll-blocked")),a=window.innerWidth-document.documentElement.offsetWidth,r=(c=t||document.documentElement,Zt(c)&&c);var c;r&&n.root.value.classList.add("v-overlay--scroll-blocked"),l.forEach((s,i)=>{s.style.setProperty("--v-body-scroll-x",Z(-s.scrollLeft)),s.style.setProperty("--v-body-scroll-y",Z(-s.scrollTop)),s!==document.documentElement&&s.style.setProperty("--v-scrollbar-offset",Z(a)),s.classList.add("v-overlay-scroll-blocked")}),e.onScopeDispose(()=>{l.forEach((s,i)=>{const d=parseFloat(s.style.getPropertyValue("--v-body-scroll-x")),v=parseFloat(s.style.getPropertyValue("--v-body-scroll-y"));s.style.removeProperty("--v-body-scroll-x"),s.style.removeProperty("--v-body-scroll-y"),s.style.removeProperty("--v-scrollbar-offset"),s.classList.remove("v-overlay-scroll-blocked"),s.scrollLeft=-d,s.scrollTop=-v}),r&&n.root.value.classList.remove("v-overlay--scroll-blocked")})},reposition:function(n,o,t){let l=!1,a=-1,r=-1;function c(u){var s;s=()=>{var v,p;const i=performance.now();(p=(v=n.updateLocation).value)==null||p.call(v,u),l=(performance.now()-i)/(1e3/60)>2},!Mt||pt.length?(pt.push(s),Wt()):(Mt=!1,s(),Wt())}r=(typeof requestIdleCallback>"u"?u=>u():requestIdleCallback)(()=>{t.run(()=>{Zo(n.targetEl.value??n.contentEl.value,u=>{l?(cancelAnimationFrame(a),a=requestAnimationFrame(()=>{a=requestAnimationFrame(()=>{c(u)})})):c(u)})})}),e.onScopeDispose(()=>{typeof cancelIdleCallback<"u"&&cancelIdleCallback(r),cancelAnimationFrame(a)})}},Ur=U({scrollStrategy:{type:[String,Function],default:"block",validator:n=>typeof n=="function"||n in et}},"VOverlay-scroll-strategies");function Zo(n,o){const t=[document,...it(n)];t.forEach(l=>{l.addEventListener("scroll",o,{passive:!0})}),e.onScopeDispose(()=>{t.forEach(l=>{l.removeEventListener("scroll",o)})})}const jt=Symbol.for("vuetify:v-menu"),Gr=U({closeDelay:[Number,String],openDelay:[Number,String]},"delay"),qr=U({target:[String,Object],activator:[String,Object],activatorProps:{type:Object,default:()=>({})},openOnClick:{type:Boolean,default:void 0},openOnHover:Boolean,openOnFocus:{type:Boolean,default:void 0},closeOnContentClick:Boolean,...Gr()},"VOverlay-activator");function Hr(n,o){let{isActive:t,isTop:l}=o;const a=Se("useActivator"),r=e.ref();let c=!1,u=!1,s=!0;const i=e.computed(()=>n.openOnFocus||n.openOnFocus==null&&n.openOnHover),d=e.computed(()=>n.openOnClick||n.openOnClick==null&&!n.openOnHover&&!i.value),{runOpenDelay:v,runCloseDelay:p}=function(C,B){const V={},L=k=>()=>{if(!xe)return Promise.resolve(!0);const _=k==="openDelay";return V.closeDelay&&window.clearTimeout(V.closeDelay),delete V.closeDelay,V.openDelay&&window.clearTimeout(V.openDelay),delete V.openDelay,new Promise(b=>{const S=parseInt(C[k]??0,10);V[k]=window.setTimeout(()=>{B==null||B(_),b(_)},S)})};return{runCloseDelay:L("closeDelay"),runOpenDelay:L("openDelay")}}(n,C=>{C!==(n.openOnHover&&c||i.value&&u)||n.openOnHover&&t.value&&!l.value||(t.value!==C&&(s=!0),t.value=C)}),f=e.ref(),y=C=>{C.stopPropagation(),r.value=C.currentTarget||C.target,t.value||(f.value=[C.clientX,C.clientY]),t.value=!t.value},g=C=>{var B;(B=C.sourceCapabilities)!=null&&B.firesTouchEvents||(c=!0,r.value=C.currentTarget||C.target,v())},m=C=>{c=!1,p()},h=C=>{lt(C.target,":focus-visible")!==!1&&(u=!0,C.stopPropagation(),r.value=C.currentTarget||C.target,v())},w=C=>{u=!1,C.stopPropagation(),p()},x=e.computed(()=>{const C={};return d.value&&(C.onClick=y),n.openOnHover&&(C.onMouseenter=g,C.onMouseleave=m),i.value&&(C.onFocus=h,C.onBlur=w),C}),j=e.computed(()=>{const C={};if(n.openOnHover&&(C.onMouseenter=()=>{c=!0,v()},C.onMouseleave=()=>{c=!1,p()}),i.value&&(C.onFocusin=()=>{u=!0,v()},C.onFocusout=()=>{u=!1,p()}),n.closeOnContentClick){const B=e.inject(jt,null);C.onClick=()=>{t.value=!1,B==null||B.closeParents()}}return C}),A=e.computed(()=>{const C={};return n.openOnHover&&(C.onMouseenter=()=>{s&&(c=!0,s=!1,v())},C.onMouseleave=()=>{c=!1,p()}),C});e.watch(l,C=>{!C||(!n.openOnHover||c||i.value&&u)&&(!i.value||u||n.openOnHover&&c)||(t.value=!1)}),e.watch(t,C=>{C||setTimeout(()=>{f.value=void 0})},{flush:"post"});const O=e.ref();e.watchEffect(()=>{O.value&&e.nextTick(()=>{r.value=nt(O.value)})});const R=e.ref(),N=e.computed(()=>n.target==="cursor"&&f.value?f.value:R.value?nt(R.value):Qo(n.target,a)||r.value),I=e.computed(()=>Array.isArray(N.value)?void 0:N.value);let F;return e.watch(()=>!!n.activator,C=>{C&&xe?(F=e.effectScope(),F.run(()=>{(function(B,V,L){let{activatorEl:k,activatorEvents:_}=L;function b(){let z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:P(),D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:B.activatorProps;z&&function(T,H){Object.keys(H).forEach(E=>{if(_t(E)){const M=ho(E),$=Yn.get(T);if(H[E]==null)$==null||$.forEach(W=>{const[G,Y]=W;G===M&&(T.removeEventListener(M,Y),$.delete(W))});else if(!$||![...$].some(W=>W[0]===M&&W[1]===H[E])){T.addEventListener(M,H[E]);const W=$||new Set;W.add([M,H[E]]),Yn.has(T)||Yn.set(T,W)}}else H[E]==null?T.removeAttribute(E):T.setAttribute(E,H[E])})}(z,e.mergeProps(_.value,D))}function S(){let z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:P(),D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:B.activatorProps;z&&function(T,H){Object.keys(H).forEach(E=>{if(_t(E)){const M=ho(E),$=Yn.get(T);$==null||$.forEach(W=>{const[G,Y]=W;G===M&&(T.removeEventListener(M,Y),$.delete(W))})}else T.removeAttribute(E)})}(z,e.mergeProps(_.value,D))}function P(){const z=Qo(arguments.length>0&&arguments[0]!==void 0?arguments[0]:B.activator,V);return k.value=(z==null?void 0:z.nodeType)===Node.ELEMENT_NODE?z:void 0,k.value}e.watch(()=>B.activator,(z,D)=>{if(D&&z!==D){const T=P(D);T&&S(T)}z&&e.nextTick(()=>b())},{immediate:!0}),e.watch(()=>B.activatorProps,()=>{b()}),e.onScopeDispose(()=>{S()})})(n,a,{activatorEl:r,activatorEvents:x})})):F&&F.stop()},{flush:"post",immediate:!0}),e.onScopeDispose(()=>{F==null||F.stop()}),{activatorEl:r,activatorRef:O,target:N,targetEl:I,targetRef:R,activatorEvents:x,contentEvents:j,scrimEvents:A}}function Qo(n,o){var l,a;if(!n)return;let t;if(n==="parent"){let r=(a=(l=o==null?void 0:o.proxy)==null?void 0:l.$el)==null?void 0:a.parentNode;for(;r!=null&&r.hasAttribute("data-no-activator");)r=r.parentNode;t=r}else t=typeof n=="string"?document.querySelector(n):"$el"in n?n.$el:n;return t}const Yr=Symbol.for("vuetify:display");function ca(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Oe();const t=e.inject(Yr);if(!t)throw new Error("Could not find Vuetify display injection");const l=e.computed(()=>{if(!n.mobileBreakpoint)return t.mobile.value;const r=typeof n.mobileBreakpoint=="number"?n.mobileBreakpoint:t.thresholds.value[n.mobileBreakpoint];return t.width.valueo?{[`${o}--mobile`]:l.value}:{});return{...t,displayClasses:a,mobile:l}}const Xr=U({eager:Boolean},"lazy");function da(){const n=Se("useScopeId").vnode.scopeId;return{scopeId:n?{[n]:""}:void 0}}const el=Symbol.for("vuetify:stack"),kn=e.reactive([]);function Kr(){return!0}function nl(n,o,t){if(!n||pa(n,t)===!1)return!1;const l=hl(o);if(typeof ShadowRoot<"u"&&l instanceof ShadowRoot&&l.host===n.target)return!1;const a=(typeof t.value=="object"&&t.value.include||(()=>[]))();return a.push(o),!a.some(r=>r==null?void 0:r.contains(n.target))}function pa(n,o){return(typeof o.value=="object"&&o.value.closeConditional||Kr)(n)}function tl(n,o){const t=hl(n);o(document),typeof ShadowRoot<"u"&&t instanceof ShadowRoot&&o(t)}const Jr={mounted(n,o){const t=a=>function(r,c,u){const s=typeof u.value=="function"?u.value:u.value.handler;c._clickOutside.lastMousedownWasOutside&&nl(r,c,u)&&setTimeout(()=>{pa(r,u)&&s&&s(r)},0)}(a,n,o),l=a=>{n._clickOutside.lastMousedownWasOutside=nl(a,n,o)};tl(n,a=>{a.addEventListener("click",t,!0),a.addEventListener("mousedown",l,!0)}),n._clickOutside||(n._clickOutside={lastMousedownWasOutside:!1}),n._clickOutside[o.instance.$.uid]={onClick:t,onMousedown:l}},unmounted(n,o){n._clickOutside&&(tl(n,t=>{var r;if(!t||!((r=n._clickOutside)!=null&&r[o.instance.$.uid]))return;const{onClick:l,onMousedown:a}=n._clickOutside[o.instance.$.uid];t.removeEventListener("click",l,!0),t.removeEventListener("mousedown",a,!0)}),delete n._clickOutside[o.instance.$.uid])}};function Zr(n){const{modelValue:o,color:t,...l}=n;return e.createVNode(e.Transition,{name:"fade-transition",appear:!0},{default:()=>[n.modelValue&&e.createVNode("div",e.mergeProps({class:["v-overlay__scrim",n.color.backgroundColorClasses.value],style:n.color.backgroundColorStyles.value},l),null)]})}const va=U({absolute:Boolean,attach:[Boolean,String,Object],closeOnBack:{type:Boolean,default:!0},contained:Boolean,contentClass:null,contentProps:null,disabled:Boolean,noClickAnimation:Boolean,modelValue:Boolean,persistent:Boolean,scrim:{type:[Boolean,String],default:!0},zIndex:{type:[Number,String],default:2e3},...qr(),...ae(),...Je(),...Xr(),...jr(),...Ur(),...Ve(),...Un()},"VOverlay"),ol=X()({name:"VOverlay",directives:{ClickOutside:Jr},inheritAttrs:!1,props:{_disableGlobalStack:Boolean,...va()},emits:{"click:outside":n=>!0,"update:modelValue":n=>!0,afterLeave:()=>!0},setup(n,o){var T,H;let{slots:t,attrs:l,emit:a}=o;const r=he(n,"modelValue"),c=e.computed({get:()=>r.value,set:E=>{E&&n.disabled||(r.value=E)}}),{teleportTarget:u}=function(E){return{teleportTarget:e.computed(()=>{const M=E.value;if(M===!0||!xe)return;const $=M===!1?document.body:typeof M=="string"?document.querySelector(M):M;if($==null)return void e.warn(`Unable to locate target ${M}`);let W=$.querySelector(":scope > .v-overlay-container");return W||(W=document.createElement("div"),W.className="v-overlay-container",$.appendChild(W)),W})}}(e.computed(()=>n.attach||n.contained)),{themeClasses:s}=ke(n),{rtlClasses:i,isRtl:d}=Wn(),{hasContent:v,onAfterLeave:p}=function(E,M){const $=e.shallowRef(!1),W=e.computed(()=>$.value||E.eager||M.value);return e.watch(M,()=>$.value=!0),{isBooted:$,hasContent:W,onAfterLeave:function(){E.eager||($.value=!1)}}}(n,c),f=an(e.computed(()=>typeof n.scrim=="string"?n.scrim:null)),{globalTop:y,localTop:g,stackStyles:m}=function(E,M,$){const W=Se("useStack"),G=!$,Y=e.inject(el,void 0),te=e.reactive({activeChildren:new Set});e.provide(el,te);const ie=e.shallowRef(+M.value);Ye(E,()=>{var pe;const fe=(pe=kn.at(-1))==null?void 0:pe[1];ie.value=fe?fe+10:+M.value,G&&kn.push([W.uid,ie.value]),Y==null||Y.activeChildren.add(W.uid),e.onScopeDispose(()=>{if(G){const de=e.toRaw(kn).findIndex(ge=>ge[0]===W.uid);kn.splice(de,1)}Y==null||Y.activeChildren.delete(W.uid)})});const re=e.shallowRef(!0);G&&e.watchEffect(()=>{var pe;const fe=((pe=kn.at(-1))==null?void 0:pe[0])===W.uid;setTimeout(()=>re.value=fe)});const Ie=e.computed(()=>!te.activeChildren.size);return{globalTop:e.readonly(re),localTop:Ie,stackStyles:e.computed(()=>({zIndex:ie.value}))}}(c,e.toRef(n,"zIndex"),n._disableGlobalStack),{activatorEl:h,activatorRef:w,target:x,targetEl:j,targetRef:A,activatorEvents:O,contentEvents:R,scrimEvents:N}=Hr(n,{isActive:c,isTop:g}),{dimensionStyles:I}=Ze(n),F=function(){if(!xe)return e.shallowRef(!1);const{ssr:E}=ca();if(E){const M=e.shallowRef(!1);return e.onMounted(()=>{M.value=!0}),M}return e.shallowRef(!0)}(),{scopeId:C}=da();e.watch(()=>n.disabled,E=>{E&&(c.value=!1)});const B=e.ref(),V=e.ref(),{contentStyles:L,updateLocation:k}=function(E,M){const $=e.ref({}),W=e.ref();function G(Y){var te;(te=W.value)==null||te.call(W,Y)}return xe&&Ye(()=>!(!M.isActive.value||!E.locationStrategy),Y=>{var te,ie;e.watch(()=>E.locationStrategy,Y),e.onScopeDispose(()=>{window.removeEventListener("resize",G),W.value=void 0}),window.addEventListener("resize",G,{passive:!0}),typeof E.locationStrategy=="function"?W.value=(te=E.locationStrategy(M,E,$))==null?void 0:te.updateLocation:W.value=(ie=ua[E.locationStrategy](M,E,$))==null?void 0:ie.updateLocation}),{contentStyles:$,updateLocation:W}}(n,{isRtl:d,contentEl:V,target:x,isActive:c});function _(E){a("click:outside",E),n.persistent?D():c.value=!1}function b(){return c.value&&y.value}function S(E){var M,$;E.key==="Escape"&&y.value&&(n.persistent?D():(c.value=!1,(M=V.value)!=null&&M.contains(document.activeElement)&&(($=h.value)==null||$.focus())))}(function(E,M){if(!xe)return;let $;e.watchEffect(async()=>{$==null||$.stop(),M.isActive.value&&E.scrollStrategy&&($=e.effectScope(),await e.nextTick(),$.active&&$.run(()=>{var W;typeof E.scrollStrategy=="function"?E.scrollStrategy(M,E,$):(W=et[E.scrollStrategy])==null||W.call(et,M,E,$)}))}),e.onScopeDispose(()=>{$==null||$.stop()})})(n,{root:B,contentEl:V,targetEl:j,isActive:c,updateLocation:k}),xe&&e.watch(c,E=>{E?window.addEventListener("keydown",S):window.removeEventListener("keydown",S)},{immediate:!0});const P=(H=(T=Se("useRouter"))==null?void 0:T.proxy)==null?void 0:H.$router;Ye(()=>n.closeOnBack,()=>{(function(E,M){let $,W,G=!1;function Y(te){var ie;(ie=te.state)!=null&&ie.replaced||(G=!0,setTimeout(()=>G=!1))}xe&&(e.nextTick(()=>{window.addEventListener("popstate",Y),$=E==null?void 0:E.beforeEach((te,ie,re)=>{wt?G?M(re):re():setTimeout(()=>G?M(re):re()),wt=!0}),W=E==null?void 0:E.afterEach(()=>{wt=!1})}),e.onScopeDispose(()=>{window.removeEventListener("popstate",Y),$==null||$(),W==null||W()}))})(P,E=>{y.value&&c.value?(E(!1),n.persistent?D():c.value=!1):E()})});const z=e.ref();function D(){n.noClickAnimation||V.value&&on(V.value,[{transformOrigin:"center"},{transform:"scale(1.03)"},{transformOrigin:"center"}],{duration:150,easing:rt})}return e.watch(()=>c.value&&(n.absolute||n.contained)&&u.value==null,E=>{if(E){const M=Cl(B.value);M&&M!==document.scrollingElement&&(z.value=M.scrollTop)}}),ee(()=>{var E;return e.createVNode(e.Fragment,null,[(E=t.activator)==null?void 0:E.call(t,{isActive:c.value,props:e.mergeProps({ref:w,targetRef:A},O.value,n.activatorProps)}),F.value&&v.value&&e.createVNode(e.Teleport,{disabled:!u.value,to:u.value},{default:()=>[e.createVNode("div",e.mergeProps({class:["v-overlay",{"v-overlay--absolute":n.absolute||n.contained,"v-overlay--active":c.value,"v-overlay--contained":n.contained},s.value,i.value,n.class],style:[m.value,{top:Z(z.value)},n.style],ref:B},C,l),[e.createVNode(Zr,e.mergeProps({color:f,modelValue:c.value&&!!n.scrim},N.value),null),e.createVNode(We,{appear:!0,persisted:!0,transition:n.transition,target:x.value,onAfterLeave:()=>{p(),a("afterLeave")}},{default:()=>{var M;return[e.withDirectives(e.createVNode("div",e.mergeProps({ref:V,class:["v-overlay__content",n.contentClass],style:[I.value,L.value]},R.value,n.contentProps),[(M=t.default)==null?void 0:M.call(t,{isActive:c})]),[[e.vShow,c.value],[e.resolveDirective("click-outside"),{handler:_,closeConditional:b,include:()=>[h.value]}]])]}})])]})])}),{activatorEl:h,target:x,animateClick:D,contentEl:V,globalTop:y,localTop:g,updateLocation:k}}}),Ft=Symbol("Forwarded refs");function Nt(n,o){let t=n;for(;t;){const l=Reflect.getOwnPropertyDescriptor(t,o);if(l)return l;t=Object.getPrototypeOf(t)}}function gt(n){for(var o=arguments.length,t=new Array(o>1?o-1:0),l=1;l!0},setup(n,o){let{slots:t}=o;const l=he(n,"modelValue"),{scopeId:a}=da(),r=Pe(),c=e.computed(()=>n.id||`v-menu-${r}`),u=e.ref(),s=e.inject(jt,null),i=e.shallowRef(0);async function d(g){var w,x,j;const m=g.relatedTarget,h=g.target;await e.nextTick(),l.value&&m!==h&&((w=u.value)!=null&&w.contentEl)&&((x=u.value)!=null&&x.globalTop)&&![document,u.value.contentEl].includes(h)&&!u.value.contentEl.contains(h)&&((j=Et(u.value.contentEl)[0])==null||j.focus())}function v(){s==null||s.closeParents()}function p(g){var m,h,w;!n.disabled&&g.key==="Tab"&&(vl(Et((m=u.value)==null?void 0:m.contentEl,!1),g.shiftKey?"prev":"next",x=>x.tabIndex>=0)||(l.value=!1,(w=(h=u.value)==null?void 0:h.activatorEl)==null||w.focus()))}function f(g){var h;if(n.disabled)return;const m=(h=u.value)==null?void 0:h.contentEl;m&&l.value?g.key==="ArrowDown"?(g.preventDefault(),ot(m,"next")):g.key==="ArrowUp"&&(g.preventDefault(),ot(m,"prev")):["ArrowDown","ArrowUp"].includes(g.key)&&(l.value=!0,g.preventDefault(),setTimeout(()=>setTimeout(()=>f(g))))}e.provide(jt,{register(){++i.value},unregister(){--i.value},closeParents(){setTimeout(()=>{i.value||(l.value=!1,s==null||s.closeParents())},40)}}),e.watch(l,g=>{g?(s==null||s.register(),document.addEventListener("focusin",d,{once:!0})):(s==null||s.unregister(),document.removeEventListener("focusin",d))});const y=e.computed(()=>e.mergeProps({"aria-haspopup":"menu","aria-expanded":String(l.value),"aria-owns":c.value,onKeydown:f},n.activatorProps));return ee(()=>{const g=ol.filterProps(n);return e.createVNode(ol,e.mergeProps({ref:u,class:["v-menu",n.class],style:n.style},g,{modelValue:l.value,"onUpdate:modelValue":m=>l.value=m,absolute:!0,activatorProps:y.value,"onClick:outside":v,onKeydown:p},a),{activator:t.activator,default:function(){for(var m=arguments.length,h=new Array(m),w=0;w{var x;return[(x=t.default)==null?void 0:x.call(t,...h)]}})}})}),gt({id:c,ΨopenChildren:i},u)}}),ni=U({active:Boolean,max:[Number,String],value:{type:[Number,String],default:0},...ae(),...Un({transition:{component:Wl}})},"VCounter"),fa=X()({name:"VCounter",functional:!0,props:ni(),setup(n,o){let{slots:t}=o;const l=e.computed(()=>n.max?`${n.value} / ${n.max}`:String(n.value));return ee(()=>e.createVNode(We,{transition:n.transition},{default:()=>[e.withDirectives(e.createVNode("div",{class:["v-counter",n.class],style:n.style},[t.default?t.default({counter:l.value,max:n.max,value:n.value}):l.value]),[[e.vShow,n.active]])]})),{}}}),ti=U({floating:Boolean,...ae()},"VFieldLabel"),Jn=X()({name:"VFieldLabel",props:ti(),setup(n,o){let{slots:t}=o;return ee(()=>e.createVNode(ql,{class:["v-field-label",{"v-field-label--floating":n.floating},n.class],style:n.style,"aria-hidden":n.floating||void 0},t)),{}}}),oi=["underlined","outlined","filled","solo","solo-inverted","solo-filled","plain"],so=U({appendInnerIcon:se,bgColor:String,clearable:Boolean,clearIcon:{type:se,default:"$clear"},active:Boolean,centerAffix:{type:Boolean,default:void 0},color:String,baseColor:String,dirty:Boolean,disabled:{type:Boolean,default:null},error:Boolean,flat:Boolean,label:String,persistentClear:Boolean,prependInnerIcon:se,reverse:Boolean,singleLine:Boolean,variant:{type:String,default:"filled",validator:n=>oi.includes(n)},"onClick:clear":Ee(),"onClick:appendInner":Ee(),"onClick:prependInner":Ee(),...ae(),...lo(),...Le(),...Ve()},"VField"),uo=X()({name:"VField",inheritAttrs:!1,props:{id:String,...Jl(),...so()},emits:{"update:focused":n=>!0,"update:modelValue":n=>!0},setup(n,o){let{attrs:t,emit:l,slots:a}=o;const{themeClasses:r}=ke(n),{loaderClasses:c}=ft(n),{focusClasses:u,isFocused:s,focus:i,blur:d}=Gn(n),{InputIcon:v}=Kl(n),{roundedClasses:p}=Me(n),{rtlClasses:f}=Wn(),y=e.computed(()=>n.dirty||n.active),g=e.computed(()=>!(n.singleLine||!n.label&&!a.label)),m=Pe(),h=e.computed(()=>n.id||`input-${m}`),w=e.computed(()=>`${h.value}-messages`),x=e.ref(),j=e.ref(),A=e.ref(),O=e.computed(()=>["plain","underlined"].includes(n.variant)),{backgroundColorClasses:R,backgroundColorStyles:N}=an(e.toRef(n,"bgColor")),{textColorClasses:I,textColorStyles:F}=Re(e.computed(()=>n.error||n.disabled?void 0:y.value&&s.value?n.color:n.baseColor));e.watch(y,V=>{if(g.value){const L=x.value.$el,k=j.value.$el;requestAnimationFrame(()=>{const _=Kt(L),b=k.getBoundingClientRect(),S=b.x-_.x,P=b.y-_.y-(_.height/2-b.height/2),z=b.width/.75,D=Math.abs(z-_.width)>1?{maxWidth:Z(z)}:void 0,T=getComputedStyle(L),H=getComputedStyle(k),E=1e3*parseFloat(T.transitionDuration)||150,M=parseFloat(H.getPropertyValue("--v-field-label-scale")),$=H.getPropertyValue("color");L.style.visibility="visible",k.style.visibility="hidden",on(L,{transform:`translate(${S}px, ${P}px) scale(${M})`,color:$,...D},{duration:E,easing:rt,direction:V?"normal":"reverse"}).finished.then(()=>{L.style.removeProperty("visibility"),k.style.removeProperty("visibility")})})}},{flush:"post"});const C=e.computed(()=>({isActive:y,isFocused:s,controlRef:A,blur:d,focus:i}));function B(V){V.target!==document.activeElement&&V.preventDefault()}return ee(()=>{var S,P,z;const V=n.variant==="outlined",L=a["prepend-inner"]||n.prependInnerIcon,k=!(!n.clearable&&!a.clear),_=!!(a["append-inner"]||n.appendInnerIcon||k),b=()=>a.label?a.label({...C.value,label:n.label,props:{for:h.value}}):n.label;return e.createVNode("div",e.mergeProps({class:["v-field",{"v-field--active":y.value,"v-field--appended":_,"v-field--center-affix":n.centerAffix??!O.value,"v-field--disabled":n.disabled,"v-field--dirty":n.dirty,"v-field--error":n.error,"v-field--flat":n.flat,"v-field--has-background":!!n.bgColor,"v-field--persistent-clear":n.persistentClear,"v-field--prepended":L,"v-field--reverse":n.reverse,"v-field--single-line":n.singleLine,"v-field--no-label":!b(),[`v-field--variant-${n.variant}`]:!0},r.value,R.value,u.value,c.value,p.value,f.value,n.class],style:[N.value,n.style],onClick:B},t),[e.createVNode("div",{class:"v-field__overlay"},null),e.createVNode(ao,{name:"v-field",active:!!n.loading,color:n.error?"error":typeof n.loading=="string"?n.loading:n.color},{default:a.loader}),L&&e.createVNode("div",{key:"prepend",class:"v-field__prepend-inner"},[n.prependInnerIcon&&e.createVNode(v,{key:"prepend-icon",name:"prependInner"},null),(S=a["prepend-inner"])==null?void 0:S.call(a,C.value)]),e.createVNode("div",{class:"v-field__field","data-no-activator":""},[["filled","solo","solo-inverted","solo-filled"].includes(n.variant)&&g.value&&e.createVNode(Jn,{key:"floating-label",ref:j,class:[I.value],floating:!0,for:h.value,style:F.value},{default:()=>[b()]}),e.createVNode(Jn,{ref:x,for:h.value},{default:()=>[b()]}),(P=a.default)==null?void 0:P.call(a,{...C.value,props:{id:h.value,class:"v-field__input","aria-describedby":w.value},focus:i,blur:d})]),k&&e.createVNode(jl,{key:"clear"},{default:()=>[e.withDirectives(e.createVNode("div",{class:"v-field__clearable",onMousedown:D=>{D.preventDefault(),D.stopPropagation()}},[a.clear?a.clear():e.createVNode(v,{name:"clear"},null)]),[[e.vShow,n.dirty]])]}),_&&e.createVNode("div",{key:"append",class:"v-field__append-inner"},[(z=a["append-inner"])==null?void 0:z.call(a,C.value),n.appendInnerIcon&&e.createVNode(v,{key:"append-icon",name:"appendInner"},null)]),e.createVNode("div",{class:["v-field__outline",I.value],style:F.value},[V&&e.createVNode(e.Fragment,null,[e.createVNode("div",{class:"v-field__outline__start"},null),g.value&&e.createVNode("div",{class:"v-field__outline__notch"},[e.createVNode(Jn,{ref:j,floating:!0,for:h.value},{default:()=>[b()]})]),e.createVNode("div",{class:"v-field__outline__end"},null)]),O.value&&g.value&&e.createVNode(Jn,{ref:j,floating:!0,for:h.value},{default:()=>[b()]})])])}),{controlRef:A}}});function ma(n){return ul(n,Object.keys(uo.props).filter(o=>!_t(o)&&o!=="class"&&o!=="style"))}const li=["color","file","time","date","datetime-local","week","month"],ya=U({autofocus:Boolean,counter:[Boolean,Number,String],counterValue:[Number,Function],prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,suffix:String,role:String,type:{type:String,default:"text"},modelModifiers:Object,...qn(),...so()},"VTextField"),Ut=X()({name:"VTextField",directives:{Intersect:ro},inheritAttrs:!1,props:ya(),emits:{"click:control":n=>!0,"mousedown:control":n=>!0,"update:focused":n=>!0,"update:modelValue":n=>!0},setup(n,o){let{attrs:t,emit:l,slots:a}=o;const r=he(n,"modelValue"),{isFocused:c,focus:u,blur:s}=Gn(n),i=e.computed(()=>typeof n.counterValue=="function"?n.counterValue(r.value):typeof n.counterValue=="number"?n.counterValue:(r.value??"").toString().length),d=e.computed(()=>t.maxlength?t.maxlength:!n.counter||typeof n.counter!="number"&&typeof n.counter!="string"?void 0:n.counter),v=e.computed(()=>["plain","underlined"].includes(n.variant));function p(O,R){var N,I;n.autofocus&&O&&((I=(N=R[0].target)==null?void 0:N.focus)==null||I.call(N))}const f=e.ref(),y=e.ref(),g=e.ref(),m=e.computed(()=>li.includes(n.type)||n.persistentPlaceholder||c.value||n.active);function h(){var O;g.value!==document.activeElement&&((O=g.value)==null||O.focus()),c.value||u()}function w(O){l("mousedown:control",O),O.target!==g.value&&(h(),O.preventDefault())}function x(O){h(),l("click:control",O)}function j(O){O.stopPropagation(),h(),e.nextTick(()=>{r.value=null,pl(n["onClick:clear"],O)})}function A(O){var N;const R=O.target;if(r.value=R.value,((N=n.modelModifiers)==null?void 0:N.trim)&&["text","search","password","tel","url"].includes(n.type)){const I=[R.selectionStart,R.selectionEnd];e.nextTick(()=>{R.selectionStart=I[0],R.selectionEnd=I[1]})}}return ee(()=>{const O=!!(a.counter||n.counter!==!1&&n.counter!=null),R=!(!O&&!a.details),[N,I]=Tn(t),{modelValue:F,...C}=je.filterProps(n),B=ma(n);return e.createVNode(je,e.mergeProps({ref:f,modelValue:r.value,"onUpdate:modelValue":V=>r.value=V,class:["v-text-field",{"v-text-field--prefixed":n.prefix,"v-text-field--suffixed":n.suffix,"v-input--plain-underlined":v.value},n.class],style:n.style},N,C,{centerAffix:!v.value,focused:c.value}),{...a,default:V=>{let{id:L,isDisabled:k,isDirty:_,isReadonly:b,isValid:S}=V;return e.createVNode(uo,e.mergeProps({ref:y,onMousedown:w,onClick:x,"onClick:clear":j,"onClick:prependInner":n["onClick:prependInner"],"onClick:appendInner":n["onClick:appendInner"],role:n.role},B,{id:L.value,active:m.value||_.value,dirty:_.value||n.dirty,disabled:k.value,focused:c.value,error:S.value===!1}),{...a,default:P=>{let{props:{class:z,...D}}=P;const T=e.withDirectives(e.createVNode("input",e.mergeProps({ref:g,value:r.value,onInput:A,autofocus:n.autofocus,readonly:b.value,disabled:k.value,name:n.name,placeholder:n.placeholder,size:1,type:n.type,onFocus:h,onBlur:s},D,I),null),[[e.resolveDirective("intersect"),{handler:p},null,{once:!0}]]);return e.createVNode(e.Fragment,null,[n.prefix&&e.createVNode("span",{class:"v-text-field__prefix"},[e.createVNode("span",{class:"v-text-field__prefix__text"},[n.prefix])]),a.default?e.createVNode("div",{class:z,"data-no-activator":""},[a.default(),T]):e.cloneVNode(T,{class:z}),n.suffix&&e.createVNode("span",{class:"v-text-field__suffix"},[e.createVNode("span",{class:"v-text-field__suffix__text"},[n.suffix])])])}})},details:R?V=>{var L;return e.createVNode(e.Fragment,null,[(L=a.details)==null?void 0:L.call(a,V),O&&e.createVNode(e.Fragment,null,[e.createVNode("span",null,null),e.createVNode(fa,{active:n.persistentCounter||c.value,value:i.value,max:d.value},a.counter)])])}:void 0})}),gt({},f,y,g)}}),ai=U({renderless:Boolean,...ae()},"VVirtualScrollItem"),ri=X()({name:"VVirtualScrollItem",inheritAttrs:!1,props:ai(),emits:{"update:height":n=>!0},setup(n,o){let{attrs:t,emit:l,slots:a}=o;const{resizeRef:r,contentRect:c}=eo(void 0,"border");e.watch(()=>{var u;return(u=c.value)==null?void 0:u.height},u=>{u!=null&&l("update:height",u)}),ee(()=>{var u,s;return n.renderless?e.createVNode(e.Fragment,null,[(u=a.default)==null?void 0:u.call(a,{itemRef:r})]):e.createVNode("div",e.mergeProps({ref:r,class:["v-virtual-scroll__item",n.class],style:n.style},t),[(s=a.default)==null?void 0:s.call(a)])})}}),ii=U({itemHeight:{type:[Number,String],default:null},height:[Number,String]},"virtual");function si(n,o){const t=ca(),l=e.shallowRef(0);e.watchEffect(()=>{l.value=parseFloat(n.itemHeight||0)});const a=e.shallowRef(0),r=e.shallowRef(Math.ceil((parseInt(n.height)||t.height.value)/(l.value||16))||1),c=e.shallowRef(0),u=e.shallowRef(0),s=e.ref(),i=e.ref();let d=0;const{resizeRef:v,contentRect:p}=eo();e.watchEffect(()=>{v.value=s.value});const f=e.computed(()=>{var k;return s.value===document.documentElement?t.height.value:((k=p.value)==null?void 0:k.height)||parseInt(n.height)||0}),y=e.computed(()=>!!(s.value&&i.value&&f.value&&l.value));let g=Array.from({length:o.value.length}),m=Array.from({length:o.value.length});const h=e.shallowRef(0);let w=-1;const x=function(k,_){let b=0;const S=function(){for(var P=arguments.length,z=new Array(P),D=0;Dk(...z),e.unref(_))};return S.clear=()=>{clearTimeout(b)},S.immediate=k,S}(()=>{const k=performance.now();m[0]=0;const _=o.value.length;for(let b=1;b<=_-1;b++)m[b]=(m[b-1]||0)+(g[b-1]||l.value);h.value=Math.max(h.value,performance.now()-k)},h),j=e.watch(y,k=>{k&&(j(),d=i.value.offsetTop,x.immediate(),C(),~w&&e.nextTick(()=>{xe&&window.requestAnimationFrame(()=>{V(w),w=-1})}))});function A(k){return k=ln(k,0,o.value.length-1),m[k]||0}function O(k){return function(_,b){let S=_.length-1,P=0,z=0,D=null,T=-1;if(_[S]>1,D=_[z],D>b)S=z-1;else{if(!(D{_&&C()}),e.onScopeDispose(()=>{x.clear()});let R=0,N=0,I=0,F=-1;function C(){cancelAnimationFrame(F),F=requestAnimationFrame(B)}function B(){if(!s.value||!f.value)return;const k=R-d,_=Math.sign(N),b=ln(O(Math.max(0,k-100)),0,o.value.length),S=ln(O(k+f.value+100)+1,b+1,o.value.length);if((_!==-1||br.value)){const P=A(a.value)-A(b),z=A(S)-A(r.value);Math.max(P,z)>100?(a.value=b,r.value=S):(b<=0&&(a.value=b),S>=o.value.length&&(r.value=S))}c.value=A(a.value),u.value=A(o.value.length)-A(r.value)}function V(k){const _=A(k);!s.value||k&&!_?w=k:s.value.scrollTop=_}const L=e.computed(()=>o.value.slice(a.value,r.value).map((k,_)=>({raw:k,index:_+a.value})));return e.watch(o,()=>{g=Array.from({length:o.value.length}),m=Array.from({length:o.value.length}),x.immediate(),C()},{deep:!0}),{containerRef:s,markerRef:i,computedItems:L,paddingTop:c,paddingBottom:u,scrollToIndex:V,handleScroll:function(){if(!s.value||!i.value)return;const k=s.value.scrollTop,_=performance.now();_-I>500?(N=Math.sign(k-R),d=i.value.offsetTop):N=k-R,R=k,I=_,C()},handleScrollend:function(){s.value&&i.value&&(N=0,I=0,C())},handleItemResize:function(k,_){const b=g[k],S=l.value;l.value=S?Math.min(l.value,_):_,b===_&&S===l.value||(g[k]=_,x())}}}const ui=U({items:{type:Array,default:()=>[]},renderless:Boolean,...ii(),...ae(),...Je()},"VVirtualScroll"),ci=X()({name:"VVirtualScroll",props:ui(),setup(n,o){let{slots:t}=o;const l=Se("VVirtualScroll"),{dimensionStyles:a}=Ze(n),{containerRef:r,markerRef:c,handleScroll:u,handleScrollend:s,handleItemResize:i,scrollToIndex:d,paddingTop:v,paddingBottom:p,computedItems:f}=si(n,e.toRef(n,"items"));return Ye(()=>n.renderless,()=>{function y(){var m,h;const g=arguments.length>0&&arguments[0]!==void 0&&arguments[0]?"addEventListener":"removeEventListener";r.value===document.documentElement?(document[g]("scroll",u,{passive:!0}),document[g]("scrollend",s)):((m=r.value)==null||m[g]("scroll",u,{passive:!0}),(h=r.value)==null||h[g]("scrollend",s))}e.onMounted(()=>{r.value=Cl(l.vnode.el,!0),y(!0)}),e.onScopeDispose(y)}),ee(()=>{const y=f.value.map(g=>e.createVNode(ri,{key:g.index,renderless:n.renderless,"onUpdate:height":m=>i(g.index,m)},{default:m=>{var h;return(h=t.default)==null?void 0:h.call(t,{item:g.raw,index:g.index,...m})}}));return n.renderless?e.createVNode(e.Fragment,null,[e.createVNode("div",{ref:c,class:"v-virtual-scroll__spacer",style:{paddingTop:Z(v.value)}},null),y,e.createVNode("div",{class:"v-virtual-scroll__spacer",style:{paddingBottom:Z(p.value)}},null)]):e.createVNode("div",{ref:r,class:["v-virtual-scroll",n.class],onScrollPassive:u,onScrollend:s,style:[a.value,n.style]},[e.createVNode("div",{ref:c,class:"v-virtual-scroll__container",style:{paddingTop:Z(v.value),paddingBottom:Z(p.value)}},[y])])}),{scrollToIndex:d}}});function di(n,o){const t=e.shallowRef(!1);let l;return{onListScroll:function(a){cancelAnimationFrame(l),t.value=!0,l=requestAnimationFrame(()=>{l=requestAnimationFrame(()=>{t.value=!1})})},onListKeydown:async function(a){var u,s;if(a.key==="Tab"&&((u=o.value)==null||u.focus()),!["PageDown","PageUp","Home","End"].includes(a.key))return;const r=(s=n.value)==null?void 0:s.$el;if(!r)return;a.key!=="Home"&&a.key!=="End"||r.scrollTo({top:a.key==="Home"?0:r.scrollHeight,behavior:"smooth"}),await async function(){await new Promise(i=>requestAnimationFrame(i)),await new Promise(i=>requestAnimationFrame(i)),await new Promise(i=>requestAnimationFrame(i)),await new Promise(i=>{if(t.value){const d=e.watch(t,()=>{d(),i()})}else i()})}();const c=r.querySelectorAll(":scope > :not(.v-virtual-scroll__spacer)");if(a.key==="PageDown"||a.key==="Home"){const i=r.getBoundingClientRect().top;for(const d of c)if(d.getBoundingClientRect().top>=i){d.focus();break}}else{const i=r.getBoundingClientRect().bottom;for(const d of[...c].reverse())if(d.getBoundingClientRect().bottom<=i){d.focus();break}}}}}const pi=U({chips:Boolean,closableChips:Boolean,closeText:{type:String,default:"$vuetify.close"},openText:{type:String,default:"$vuetify.open"},eager:Boolean,hideNoData:Boolean,hideSelected:Boolean,menu:Boolean,menuIcon:{type:se,default:"$dropdown"},menuProps:{type:Object},multiple:Boolean,noDataText:{type:String,default:"$vuetify.noDataText"},openOnClear:Boolean,itemColor:String,...ra({itemChildren:!1})},"Select"),vi=U({...pi(),...Ke(ya({modelValue:null,role:"button"}),["validationValue","dirty","appendInnerIcon"]),...Un({transition:{component:Ml}})},"VSelect"),fi=X()({name:"VSelect",props:vi(),emits:{"update:focused":n=>!0,"update:modelValue":n=>!0,"update:menu":n=>!0},setup(n,o){let{slots:t}=o;const{t:l}=no(),a=e.ref(),r=e.ref(),c=e.ref(),u=he(n,"menu"),s=e.computed({get:()=>u.value,set:b=>{var S;u.value&&!b&&((S=r.value)!=null&&S.ΨopenChildren)||(u.value=b)}}),{items:i,transformIn:d,transformOut:v}=function(b){const S=e.computed(()=>ia(b,b.items)),P=e.computed(()=>S.value.some(z=>z.value===null));return{items:S,transformIn:function(z){return P.value||(z=z.filter(D=>D!==null)),z.map(D=>b.returnObject&&typeof D=="string"?Lt(b,D):S.value.find(T=>b.valueComparator(D,T.value))||Lt(b,D))},transformOut:function(z){return b.returnObject?z.map(D=>{let{raw:T}=D;return T}):z.map(D=>{let{value:T}=D;return T})}}}(n),p=he(n,"modelValue",[],b=>d(b===null?[null]:$e(b)),b=>{const S=v(b);return n.multiple?S:S[0]??null}),f=e.computed(()=>typeof n.counterValue=="function"?n.counterValue(p.value):typeof n.counterValue=="number"?n.counterValue:p.value.length),y=Zl(),g=e.computed(()=>p.value.map(b=>b.value)),m=e.shallowRef(!1),h=e.computed(()=>s.value?n.closeText:n.openText);let w,x="";const j=e.computed(()=>n.hideSelected?i.value.filter(b=>!p.value.some(S=>S===b)):i.value),A=e.computed(()=>n.hideNoData&&!i.value.length||n.readonly||(y==null?void 0:y.isReadonly.value)),O=e.ref(),{onListScroll:R,onListKeydown:N}=di(O,a);function I(b){n.openOnClear&&(s.value=!0)}function F(){A.value||(s.value=!s.value)}function C(b){var z,D;if(!b.key||n.readonly||y!=null&&y.isReadonly.value||(["Enter"," ","ArrowDown","ArrowUp","Home","End"].includes(b.key)&&b.preventDefault(),["Enter","ArrowDown"," "].includes(b.key)&&(s.value=!0),["Escape","Tab"].includes(b.key)&&(s.value=!1),b.key==="Home"?(z=O.value)==null||z.focus("first"):b.key==="End"&&((D=O.value)==null||D.focus("last")),n.multiple||!function(T){const H=T.key.length===1,E=!T.ctrlKey&&!T.metaKey&&!T.altKey;return H&&E}(b)))return;const S=performance.now();S-w>1e3&&(x=""),x+=b.key.toLowerCase(),w=S;const P=i.value.find(T=>T.title.toLowerCase().startsWith(x));P!==void 0&&(p.value=[P])}function B(b){if(n.multiple){const S=p.value.findIndex(P=>n.valueComparator(P.value,b.value));if(S===-1)p.value=[...p.value,b];else{const P=[...p.value];P.splice(S,1),p.value=P}}else p.value=[b],s.value=!1}function V(b){var S;(S=O.value)!=null&&S.$el.contains(b.relatedTarget)||(s.value=!1)}function L(){var b;m.value&&((b=a.value)==null||b.focus())}function k(b){m.value=!0}function _(b){if(b==null)p.value=[];else if(lt(a.value,":autofill")||lt(a.value,":-webkit-autofill")){const S=i.value.find(P=>P.title===b);S&&B(S)}else a.value&&(a.value.value="")}return e.watch(s,()=>{if(!n.hideSelected&&s.value&&p.value.length){const b=j.value.findIndex(S=>p.value.some(P=>n.valueComparator(P.value,S.value)));xe&&window.requestAnimationFrame(()=>{var S;b>=0&&((S=c.value)==null||S.scrollToIndex(b))})}}),ee(()=>{const b=!(!n.chips&&!t.chip),S=!!(!n.hideNoData||j.value.length||t["prepend-item"]||t["append-item"]||t["no-data"]),P=p.value.length>0,z=Ut.filterProps(n),D=P||!m.value&&n.label&&!n.persistentPlaceholder?void 0:n.placeholder;return e.createVNode(Ut,e.mergeProps({ref:a},z,{modelValue:p.value.map(T=>T.props.value).join(", "),"onUpdate:modelValue":_,focused:m.value,"onUpdate:focused":T=>m.value=T,validationValue:p.externalValue,counterValue:f.value,dirty:P,class:["v-select",{"v-select--active-menu":s.value,"v-select--chips":!!n.chips,["v-select--"+(n.multiple?"multiple":"single")]:!0,"v-select--selected":p.value.length,"v-select--selection-slot":!!t.selection},n.class],style:n.style,inputmode:"none",placeholder:D,"onClick:clear":I,"onMousedown:control":F,onBlur:V,onKeydown:C,"aria-label":l(h.value),title:l(h.value)}),{...t,default:()=>e.createVNode(e.Fragment,null,[e.createVNode(ei,e.mergeProps({ref:r,modelValue:s.value,"onUpdate:modelValue":T=>s.value=T,activator:"parent",contentClass:"v-select__content",disabled:A.value,eager:n.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:n.transition,onAfterLeave:L},n.menuProps),{default:()=>[S&&e.createVNode(Wr,{ref:O,selected:g.value,selectStrategy:n.multiple?"independent":"single-independent",onMousedown:T=>T.preventDefault(),onKeydown:N,onFocusin:k,onScrollPassive:R,tabindex:"-1",color:n.itemColor??n.color},{default:()=>{var T,H,E;return[(T=t["prepend-item"])==null?void 0:T.call(t),!j.value.length&&!n.hideNoData&&(((H=t["no-data"])==null?void 0:H.call(t))??e.createVNode(dt,{title:l(n.noDataText)},null)),e.createVNode(ci,{ref:c,renderless:!0,items:j.value},{default:M=>{var te;let{item:$,index:W,itemRef:G}=M;const Y=e.mergeProps($.props,{ref:G,key:W,onClick:()=>B($)});return((te=t.item)==null?void 0:te.call(t,{item:$,index:W,props:Y}))??e.createVNode(dt,e.mergeProps(Y,{role:"option"}),{prepend:ie=>{let{isSelected:re}=ie;return e.createVNode(e.Fragment,null,[n.multiple&&!n.hideSelected?e.createVNode($t,{key:$.value,modelValue:re,ripple:!1,tabindex:"-1"},null):void 0,$.props.prependIcon&&e.createVNode(ce,{icon:$.props.prependIcon},null)])}})}}),(E=t["append-item"])==null?void 0:E.call(t)]}})]}),p.value.map((T,H)=>{const E={"onClick:close":function(W){W.stopPropagation(),W.preventDefault(),B(T)},onMousedown(W){W.preventDefault(),W.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0},M=b?!!t.chip:!!t.selection,$=M?fl(b?t.chip({item:T,index:H,props:E}):t.selection({item:T,index:H})):void 0;if(!M||$)return e.createVNode("div",{key:T.value,class:"v-select__selection"},[b?t.chip?e.createVNode(Be,{key:"chip-defaults",defaults:{VChip:{closable:n.closableChips,size:"small",text:T.title}}},{default:()=>[$]}):e.createVNode(wr,e.mergeProps({key:"chip",closable:n.closableChips,size:"small",text:T.title,disabled:T.props.disabled},E),null):$??e.createVNode("span",{class:"v-select__selection-text"},[T.title,n.multiple&&H{var l;return e.createVNode("div",{class:["v-card-actions",n.class],style:n.style},[(l=t.default)==null?void 0:l.call(t)])}),{}}}),yi=$n("v-card-subtitle"),gi=$n("v-card-title"),hi=U({appendAvatar:String,appendIcon:se,prependAvatar:String,prependIcon:se,subtitle:[String,Number],title:[String,Number],...ae(),...ze()},"VCardItem"),bi=X()({name:"VCardItem",props:hi(),setup(n,o){let{slots:t}=o;return ee(()=>{var i;const l=!(!n.prependAvatar&&!n.prependIcon),a=!(!l&&!t.prepend),r=!(!n.appendAvatar&&!n.appendIcon),c=!(!r&&!t.append),u=!(n.title==null&&!t.title),s=!(n.subtitle==null&&!t.subtitle);return e.createVNode("div",{class:["v-card-item",n.class],style:n.style},[a&&e.createVNode("div",{key:"prepend",class:"v-card-item__prepend"},[t.prepend?e.createVNode(Be,{key:"prepend-defaults",disabled:!l,defaults:{VAvatar:{density:n.density,icon:n.prependIcon,image:n.prependAvatar}}},t.prepend):l&&e.createVNode(rn,{key:"prepend-avatar",density:n.density,icon:n.prependIcon,image:n.prependAvatar},null)]),e.createVNode("div",{class:"v-card-item__content"},[u&&e.createVNode(gi,{key:"title"},{default:()=>{var d;return[((d=t.title)==null?void 0:d.call(t))??n.title]}}),s&&e.createVNode(yi,{key:"subtitle"},{default:()=>{var d;return[((d=t.subtitle)==null?void 0:d.call(t))??n.subtitle]}}),(i=t.default)==null?void 0:i.call(t)]),c&&e.createVNode("div",{key:"append",class:"v-card-item__append"},[t.append?e.createVNode(Be,{key:"append-defaults",disabled:!r,defaults:{VAvatar:{density:n.density,icon:n.appendIcon,image:n.appendAvatar}}},t.append):r&&e.createVNode(rn,{key:"append-avatar",density:n.density,icon:n.appendIcon,image:n.appendAvatar},null)])])}),{}}}),Qe=$n("v-card-text"),Ci=U({appendAvatar:String,appendIcon:se,disabled:Boolean,flat:Boolean,hover:Boolean,image:String,link:{type:Boolean,default:void 0},prependAvatar:String,prependIcon:se,ripple:{type:[Boolean,Object],default:!0},subtitle:[String,Number],text:[String,Number],title:[String,Number],...yn(),...ae(),...ze(),...Je(),...hn(),...lo(),...to(),...Al(),...Le(),...yt(),...Ae(),...Ve(),...Ge({variant:"elevated"})},"VCard"),Sn=X()({name:"VCard",directives:{Ripple:jn},props:Ci(),setup(n,o){let{attrs:t,slots:l}=o;const{themeClasses:a}=ke(n),{borderClasses:r}=gn(n),{colorClasses:c,colorStyles:u,variantClasses:s}=Dn(n),{densityClasses:i}=De(n),{dimensionStyles:d}=Ze(n),{elevationClasses:v}=bn(n),{loaderClasses:p}=ft(n),{locationStyles:f}=oo(n),{positionClasses:y}=Pl(n),{roundedClasses:g}=Me(n),m=mt(n,t),h=e.computed(()=>n.link!==!1&&m.isLink.value),w=e.computed(()=>!n.disabled&&n.link!==!1&&(n.link||m.isClickable.value));return ee(()=>{const x=h.value?"a":n.tag,j=!(!l.title&&n.title==null),A=!(!l.subtitle&&n.subtitle==null),O=j||A,R=!!(l.append||n.appendAvatar||n.appendIcon),N=!!(l.prepend||n.prependAvatar||n.prependIcon),I=!(!l.image&&!n.image),F=O||N||R,C=!(!l.text&&n.text==null);return e.withDirectives(e.createVNode(x,{class:["v-card",{"v-card--disabled":n.disabled,"v-card--flat":n.flat,"v-card--hover":n.hover&&!(n.disabled||n.flat),"v-card--link":w.value},a.value,r.value,c.value,i.value,v.value,p.value,y.value,g.value,s.value,n.class],style:[u.value,d.value,f.value,n.style],href:m.href.value,onClick:w.value&&m.navigate,tabindex:n.disabled?-1:void 0},{default:()=>{var B;return[I&&e.createVNode("div",{key:"image",class:"v-card__image"},[l.image?e.createVNode(Be,{key:"image-defaults",disabled:!n.image,defaults:{VImg:{cover:!0,src:n.image}}},l.image):e.createVNode(Gl,{key:"image-img",cover:!0,src:n.image},null)]),e.createVNode(ao,{name:"v-card",active:!!n.loading,color:typeof n.loading=="boolean"?void 0:n.loading},{default:l.loader}),F&&e.createVNode(bi,{key:"item",prependAvatar:n.prependAvatar,prependIcon:n.prependIcon,title:n.title,subtitle:n.subtitle,appendAvatar:n.appendAvatar,appendIcon:n.appendIcon},{default:l.item,prepend:l.prepend,title:l.title,subtitle:l.subtitle,append:l.append}),C&&e.createVNode(Qe,{key:"text"},{default:()=>{var V;return[((V=l.text)==null?void 0:V.call(l))??n.text]}}),(B=l.default)==null?void 0:B.call(l),l.actions&&e.createVNode(mi,null,{default:l.actions}),Rn(w.value,"v-card")]}}),[[e.resolveDirective("ripple"),w.value&&n.ripple]])}),{}}}),Si=U({indeterminate:Boolean,inset:Boolean,flat:Boolean,loading:{type:[Boolean,String],default:!1},...qn(),...io()},"VSwitch"),Ii=X()({name:"VSwitch",inheritAttrs:!1,props:Si(),emits:{"update:focused":n=>!0,"update:modelValue":n=>!0,"update:indeterminate":n=>!0},setup(n,o){let{attrs:t,slots:l}=o;const a=he(n,"indeterminate"),r=he(n,"modelValue"),{loaderClasses:c}=ft(n),{isFocused:u,focus:s,blur:i}=Gn(n),d=e.ref(),v=e.computed(()=>typeof n.loading=="string"&&n.loading!==""?n.loading:n.color),p=Pe(),f=e.computed(()=>n.id||`switch-${p}`);function y(){a.value&&(a.value=!1)}function g(m){var h,w;m.stopPropagation(),m.preventDefault(),(w=(h=d.value)==null?void 0:h.input)==null||w.click()}return ee(()=>{const[m,h]=Tn(t),w=je.filterProps(n),x=ct.filterProps(n);return e.createVNode(je,e.mergeProps({class:["v-switch",{"v-switch--inset":n.inset},{"v-switch--indeterminate":a.value},c.value,n.class]},m,w,{modelValue:r.value,"onUpdate:modelValue":j=>r.value=j,id:f.value,focused:u.value,style:n.style}),{...l,default:j=>{let{id:A,messagesId:O,isDisabled:R,isReadonly:N,isValid:I}=j;return e.createVNode(ct,e.mergeProps({ref:d},x,{modelValue:r.value,"onUpdate:modelValue":[F=>r.value=F,y],id:A.value,"aria-describedby":O.value,type:"checkbox","aria-checked":a.value?"mixed":void 0,disabled:R.value,readonly:N.value,onFocus:s,onBlur:i},h),{...l,default:F=>{let{backgroundColorClasses:C,backgroundColorStyles:B}=F;return e.createVNode("div",{class:["v-switch__track",...C.value],style:B.value,onClick:g},null)},input:F=>{let{inputNode:C,icon:B,backgroundColorClasses:V,backgroundColorStyles:L}=F;return e.createVNode(e.Fragment,null,[C,e.createVNode("div",{class:["v-switch__thumb",{"v-switch__thumb--filled":B||n.loading},n.inset?void 0:V.value],style:n.inset?void 0:L.value},[e.createVNode(dr,null,{default:()=>[n.loading?e.createVNode(ao,{name:"v-switch",active:!0,color:I.value===!1?void 0:v.value},{default:k=>l.loader?l.loader(k):e.createVNode(Fl,{active:k.isActive,color:k.color,indeterminate:!0,size:"16",width:"2"},null)}):B&&e.createVNode(ce,{key:B,icon:B,size:"x-small"},null)]})])])}})}})}),{}}}),Vi=U({autoGrow:Boolean,autofocus:Boolean,counter:[Boolean,Number,String],counterValue:Function,prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,noResize:Boolean,rows:{type:[Number,String],default:5,validator:n=>!isNaN(parseFloat(n))},maxRows:{type:[Number,String],validator:n=>!isNaN(parseFloat(n))},suffix:String,modelModifiers:Object,...qn(),...so()},"VTextarea"),Bi=X()({name:"VTextarea",directives:{Intersect:ro},inheritAttrs:!1,props:Vi(),emits:{"click:control":n=>!0,"mousedown:control":n=>!0,"update:focused":n=>!0,"update:modelValue":n=>!0},setup(n,o){let{attrs:t,emit:l,slots:a}=o;const r=he(n,"modelValue"),{isFocused:c,focus:u,blur:s}=Gn(n),i=e.computed(()=>typeof n.counterValue=="function"?n.counterValue(r.value):(r.value||"").toString().length),d=e.computed(()=>t.maxlength?t.maxlength:!n.counter||typeof n.counter!="number"&&typeof n.counter!="string"?void 0:n.counter);function v(C,B){var V,L;n.autofocus&&C&&((L=(V=B[0].target)==null?void 0:V.focus)==null||L.call(V))}const p=e.ref(),f=e.ref(),y=e.shallowRef(""),g=e.ref(),m=e.computed(()=>n.persistentPlaceholder||c.value||n.active);function h(){var C;g.value!==document.activeElement&&((C=g.value)==null||C.focus()),c.value||u()}function w(C){h(),l("click:control",C)}function x(C){l("mousedown:control",C)}function j(C){C.stopPropagation(),h(),e.nextTick(()=>{r.value="",pl(n["onClick:clear"],C)})}function A(C){var V;const B=C.target;if(r.value=B.value,(V=n.modelModifiers)==null?void 0:V.trim){const L=[B.selectionStart,B.selectionEnd];e.nextTick(()=>{B.selectionStart=L[0],B.selectionEnd=L[1]})}}const O=e.ref(),R=e.ref(+n.rows),N=e.computed(()=>["plain","underlined"].includes(n.variant));function I(){n.autoGrow&&e.nextTick(()=>{if(!O.value||!f.value)return;const C=getComputedStyle(O.value),B=getComputedStyle(f.value.$el),V=parseFloat(C.getPropertyValue("--v-field-padding-top"))+parseFloat(C.getPropertyValue("--v-input-padding-top"))+parseFloat(C.getPropertyValue("--v-field-padding-bottom")),L=O.value.scrollHeight,k=parseFloat(C.lineHeight),_=ln(L??0,Math.max(parseFloat(n.rows)*k+V,parseFloat(B.getPropertyValue("--v-input-control-height"))),parseFloat(n.maxRows)*k+V||1/0);R.value=Math.floor((_-V)/k),y.value=Z(_)})}let F;return e.watchEffect(()=>{n.autoGrow||(R.value=+n.rows)}),e.onMounted(I),e.watch(r,I),e.watch(()=>n.rows,I),e.watch(()=>n.maxRows,I),e.watch(()=>n.density,I),e.watch(O,C=>{C?(F=new ResizeObserver(I),F.observe(O.value)):F==null||F.disconnect()}),e.onBeforeUnmount(()=>{F==null||F.disconnect()}),ee(()=>{const C=!!(a.counter||n.counter||n.counterValue),B=!(!C&&!a.details),[V,L]=Tn(t),{modelValue:k,..._}=je.filterProps(n),b=ma(n);return e.createVNode(je,e.mergeProps({ref:p,modelValue:r.value,"onUpdate:modelValue":S=>r.value=S,class:["v-textarea v-text-field",{"v-textarea--prefixed":n.prefix,"v-textarea--suffixed":n.suffix,"v-text-field--prefixed":n.prefix,"v-text-field--suffixed":n.suffix,"v-textarea--auto-grow":n.autoGrow,"v-textarea--no-resize":n.noResize||n.autoGrow,"v-input--plain-underlined":N.value},n.class],style:n.style},V,_,{centerAffix:R.value===1&&!N.value,focused:c.value}),{...a,default:S=>{let{id:P,isDisabled:z,isDirty:D,isReadonly:T,isValid:H}=S;return e.createVNode(uo,e.mergeProps({ref:f,style:{"--v-textarea-control-height":y.value},onClick:w,onMousedown:x,"onClick:clear":j,"onClick:prependInner":n["onClick:prependInner"],"onClick:appendInner":n["onClick:appendInner"]},b,{id:P.value,active:m.value||D.value,centerAffix:R.value===1&&!N.value,dirty:D.value||n.dirty,disabled:z.value,focused:c.value,error:H.value===!1}),{...a,default:E=>{let{props:{class:M,...$}}=E;return e.createVNode(e.Fragment,null,[n.prefix&&e.createVNode("span",{class:"v-text-field__prefix"},[n.prefix]),e.withDirectives(e.createVNode("textarea",e.mergeProps({ref:g,class:M,value:r.value,onInput:A,autofocus:n.autofocus,readonly:T.value,disabled:z.value,placeholder:n.placeholder,rows:n.rows,name:n.name,onFocus:h,onBlur:s},$,L),null),[[e.resolveDirective("intersect"),{handler:v},null,{once:!0}]]),n.autoGrow&&e.withDirectives(e.createVNode("textarea",{class:[M,"v-textarea__sizer"],id:`${$.id}-sizer`,"onUpdate:modelValue":W=>r.value=W,ref:O,readonly:!0,"aria-hidden":"true"},null),[[e.vModelText,r.value]]),n.suffix&&e.createVNode("span",{class:"v-text-field__suffix"},[n.suffix])])}})},details:B?S=>{var P;return e.createVNode(e.Fragment,null,[(P=a.details)==null?void 0:P.call(a,S),C&&e.createVNode(e.Fragment,null,[e.createVNode("span",null,null),e.createVNode(fa,{active:n.persistentCounter||c.value,value:i.value,max:d.value},a.counter)])])}:void 0})}),gt({},p,f,g)}}),ga=e.defineComponent({__name:"BooleanIcons",props:e.mergeModels({iconFalseColor:{},iconFalseTitle:{},iconTrueColor:{},iconTrueTitle:{},iconFalse:{},iconTrue:{}},{modelValue:{}}),emits:["update:modelValue"],setup(n){const o=n,t=e.inject(Symbol.for("vuetify:icons")),l=e.useModel(n,"modelValue"),a=e.computed(()=>_e({icon:o.iconFalse,iconOptions:t,name:"false"})),r=e.computed(()=>_e({icon:o.iconTrue,iconOptions:t,name:"true"}));return(c,u)=>l.value?(e.openBlock(),e.createBlock(e.unref(ce),{key:0,class:"v-inline-fields--boolean-icons fa-fw",color:c.iconTrueColor,icon:e.unref(r),size:"x-small",title:c.iconTrueTitle},null,8,["color","icon","title"])):(e.openBlock(),e.createBlock(e.unref(ce),{key:1,class:"v-inline-fields--boolean-icons fa-fw",color:c.iconFalseColor,icon:e.unref(a),size:"x-small",title:c.iconFalseTitle},null,8,["color","icon","title"]))}}),xn=n=>{const{str:o,unit:t="px"}=n;if(o!=null&&o!=="")return+o?`${Number(o)}${t}`:String(o)},ha=n=>{var a;const{modelValue:o,trueValue:t}=n,l=e.unref(o);return((a=l==null?void 0:l.toLowerCase)==null?void 0:a.call(l))==="true"||l==="1"||l=="1"||l===!0||l==t||l===t},ht=n=>{const{required:o,rules:t}=n;let{value:l}=n;l=e.unref(l);const a=[];let r=!1;if(o&&!l)return a.push("Field is required."),{errors:!0,results:a};if(t){for(const c of t){const u=(typeof c=="function"?c:()=>c)(l);u!==!0&&(typeof u=="string"?a.push(u):console.warn(`${u} is not a valid value. Rule functions must return boolean true or a string.`))}r=a.length>0}return{errors:r,results:a}},In=n=>{const{attrs:o,closeSiblings:t,fieldOnly:l,props:a,showField:r,timeOpened:c}=n;let u=c;return t&&!l&&(u=new Date),{settings:{...o,...a},showField:!e.unref(r),timeOpened:u}},co=n=>{const{length:o=0}=n;let{suffix:t,text:l}=n;return l=l.toString(),t=t||"...",l.length>o?`${l.substring(0,o)}${t}`:l};function ll(n){if(!n)return 100;if(n.toString().includes(".")){const o=100*Number(n);return o>=100?100:o}return Number(n)>=100?100:Number(n)}function al(n){let o=function(v){const p={AliceBlue:"#F0F8FF",AntiqueWhite:"#FAEBD7",Aqua:"#00FFFF",Aquamarine:"#7FFFD4",Azure:"#F0FFFF",Beige:"#F5F5DC",Bisque:"#FFE4C4",Black:"#000000",BlanchedAlmond:"#FFEBCD",Blue:"#0000FF",BlueViolet:"#8A2BE2",Brown:"#A52A2A",BurlyWood:"#DEB887",CadetBlue:"#5F9EA0",Chartreuse:"#7FFF00",Chocolate:"#D2691E",Coral:"#FF7F50",CornflowerBlue:"#6495ED",Cornsilk:"#FFF8DC",Crimson:"#DC143C",Cyan:"#00FFFF",DarkBlue:"#00008B",DarkCyan:"#008B8B",DarkGoldenRod:"#B8860B",DarkGray:"#A9A9A9",DarkGreen:"#006400",DarkGrey:"#A9A9A9",DarkKhaki:"#BDB76B",DarkMagenta:"#8B008B",DarkOliveGreen:"#556B2F",DarkOrange:"#FF8C00",DarkOrchid:"#9932CC",DarkRed:"#8B0000",DarkSalmon:"#E9967A",DarkSeaGreen:"#8FBC8F",DarkSlateBlue:"#483D8B",DarkSlateGray:"#2F4F4F",DarkSlateGrey:"#2F4F4F",DarkTurquoise:"#00CED1",DarkViolet:"#9400D3",DeepPink:"#FF1493",DeepSkyBlue:"#00BFFF",DimGray:"#696969",DimGrey:"#696969",DodgerBlue:"#1E90FF",FireBrick:"#B22222",FloralWhite:"#FFFAF0",ForestGreen:"#228B22",Fuchsia:"#FF00FF",Gainsboro:"#DCDCDC",GhostWhite:"#F8F8FF",Gold:"#FFD700",GoldenRod:"#DAA520",Gray:"#808080",Green:"#008000",GreenYellow:"#ADFF2F",Grey:"#808080",HoneyDew:"#F0FFF0",HotPink:"#FF69B4",IndianRed:"#CD5C5C",Indigo:"#4B0082",Ivory:"#FFFFF0",Khaki:"#F0E68C",Lavender:"#E6E6FA",LavenderBlush:"#FFF0F5",LawnGreen:"#7CFC00",LemonChiffon:"#FFFACD",LightBlue:"#ADD8E6",LightCoral:"#F08080",LightCyan:"#E0FFFF",LightGoldenRodYellow:"#FAFAD2",LightGray:"#D3D3D3",LightGreen:"#90EE90",LightGrey:"#D3D3D3",LightPink:"#FFB6C1",LightSalmon:"#FFA07A",LightSeaGreen:"#20B2AA",LightSkyBlue:"#87CEFA",LightSlateGray:"#778899",LightSlateGrey:"#778899",LightSteelBlue:"#B0C4DE",LightYellow:"#FFFFE0",Lime:"#00FF00",LimeGreen:"#32CD32",Linen:"#FAF0E6",Magenta:"#FF00FF",Maroon:"#800000",MediumAquaMarine:"#66CDAA",MediumBlue:"#0000CD",MediumOrchid:"#BA55D3",MediumPurple:"#9370DB",MediumSeaGreen:"#3CB371",MediumSlateBlue:"#7B68EE",MediumSpringGreen:"#00FA9A",MediumTurquoise:"#48D1CC",MediumVioletRed:"#C71585",MidnightBlue:"#191970",MintCream:"#F5FFFA",MistyRose:"#FFE4E1",Moccasin:"#FFE4B5",NavajoWhite:"#FFDEAD",Navy:"#000080",OldLace:"#FDF5E6",Olive:"#808000",OliveDrab:"#6B8E23",Orange:"#FFA500",OrangeRed:"#FF4500",Orchid:"#DA70D6",PaleGoldenRod:"#EEE8AA",PaleGreen:"#98FB98",PaleTurquoise:"#AFEEEE",PaleVioletRed:"#DB7093",PapayaWhip:"#FFEFD5",PeachPuff:"#FFDAB9",Peru:"#CD853F",Pink:"#FFC0CB",Plum:"#DDA0DD",PowderBlue:"#B0E0E6",Purple:"#800080",RebeccaPurple:"#663399",Red:"#FF0000",RosyBrown:"#BC8F8F",RoyalBlue:"#4169E1",SaddleBrown:"#8B4513",Salmon:"#FA8072",SandyBrown:"#F4A460",SeaGreen:"#2E8B57",SeaShell:"#FFF5EE",Sienna:"#A0522D",Silver:"#C0C0C0",SkyBlue:"#87CEEB",SlateBlue:"#6A5ACD",SlateGray:"#708090",SlateGrey:"#708090",Snow:"#FFFAFA",SpringGreen:"#00FF7F",SteelBlue:"#4682B4",Tan:"#D2B48C",Teal:"#008080",Thistle:"#D8BFD8",Tomato:"#FF6347",Turquoise:"#40E0D0",Violet:"#EE82EE",Wheat:"#F5DEB3",White:"#FFFFFF",WhiteSmoke:"#F5F5F5",Yellow:"#FFFF00",YellowGreen:"#9ACD32"};let f=v;return Object.entries(p).forEach(([y,g])=>{v.toLowerCase()!=y.toLowerCase()||(f=g)}),f}(n),t=0,l=0,a=0,r=100,c=0,u=0,s=0;if(o.substring(0,1)==="#")o=function(v){let p=v.replace("#","");p.length===3&&(p=p.split("").map(h=>h+h).join(""));const f=parseInt(p.substring(0,2),16),y=parseInt(p.substring(2,4),16),g=parseInt(p.substring(4,6),16);return[f,y,g,100]}(o);else if(o.includes("rgb"))o=[...o.matchAll(/[\d+.\d+]+/g)].map(Number);else if(o.includes("hsl"))return o=[...o.matchAll(/[\d+.\d+]+/g)].map(String),t=o[0],l=o[1],a=o[2],r=ll(o[3]),`${t} ${l}% ${a}% / ${r}%`;[c,u,s,r]=o,c/=255,u/=255,s/=255,r=ll(r);const i=Math.max(c,u,s),d=Math.min(c,u,s);if(i===null||!d===null||isNaN(i)||isNaN(d)){const v="0 0% 100% / 12%";return console.warn(`[VuetifyInlineFields: The "color" prop value using "${o}" doesn't exist. Using the value "hsl(${v})" in it's place.`),v}if(t=(i+d)/2,l=(i+d)/2,a=(i+d)/2,i==d)t=l=0;else{const v=i-d;switch(l=a>.5?v/(2-i-d):v/(i+d),i){case c:t=(u-s)/v+(u{if(function(l){return l==="transparent"||l==="none"||l==="inherit"||l==="currentColor"||l==="initial"||l==="unset"}(n))return n;if(function(l){return l.includes("--v-theme")}(n))return`rgb(var(${n}))`;const t=function(l,a){const r=a.global.current.value.colors;return Object.entries(r).find(([c])=>c===l)}(n,o);return t?`hsl(${al(t[1])})`:`hsl(${al(n)})`},po=n=>{const{underlineStyle:o,underlineWidth:t,color:l,error:a,theme:r,underlined:c}=n;let{underlineColor:u}=n;u=u||l;const s={"border-bottom-color":wi(u,r),"border-bottom-style":o,"border-bottom-width":t};return e.unref(a)&&(s["border-bottom-color"]="rgb(var(--v-theme-danger))"),c||(s["border-bottom"]="none"),s},Xe=n=>{const{cardMinWidth:o,cardOffsetX:t,cardOffsetY:l,cardWidth:a,field:r,name:c=""}=n,u=(d=>{const{cardOffsetX:v,cardOffsetY:p,field:f}=d;if(!f)return{bottom:0,height:0,left:0,right:0,top:0,width:0,x:0,y:0};const{x:y,y:g}=f.getBoundingClientRect(),{width:m,height:h}=f.getBoundingClientRect(),{right:w,bottom:x}=f.getBoundingClientRect();return{bottom:xn({str:x+Number(p)}),height:h,left:xn({str:0+Number(v)}),right:xn({str:w+Number(v)}),top:xn({str:2+Number(p)}),width:xn({str:m}),x:y,y:g}})({cardOffsetX:t,cardOffsetY:l,field:r});let s=o,i=a;return i||(i=c==="checkbox"?"fit-content":u.width),s||(s=c==="checkbox"?"fit-content":u.width),{left:u.left,top:u.top,width:i,zIndex:10}},Vn=["error","update","update:closeSiblingFields","update:model-value"],ki=["cancelButtonColor","cancelButtonSize","cancelButtonTitle","cancelButtonVariant","cancelIcon","cancelIconColor","closeSiblings","displayAppendIcon","displayAppendIconColor","displayAppendIconSize","displayAppendInnerIcon","displayAppendInnerIconColor","displayAppendInnerIconSize","displayPrependIcon","displayPrependIconColor","displayPrependIconSize","displayPrependInnerIcon","displayPrependInnerIconColor","displayPrependInnerIconSize","emptyText","fieldOnly","hideSaveIcon","item","loadingIcon","loadingIconColor","loadingWait","saveButtonColor","saveButtonSize","saveButtonTitle","saveButtonVariant","saveIcon","saveIconColor","tableField","truncateLength","truncateSuffix","underlineColor","underlineStyle","underlineWidth","underlined","valueColor"],Hn=n=>{let o=n;return o=Object.entries(o).filter(([t])=>!ki.includes(t)),Object.fromEntries(o)},xi={class:"v-selection-control__wrapper"},ba=e.defineComponent({__name:"VInlineCheckbox",props:e.mergeModels(e.mergeDefaults({density:{},falseIcon:{},trueIcon:{},cancelButtonColor:{},cancelButtonSize:{},cancelButtonTitle:{},cancelButtonVariant:{},cancelIcon:{},cancelIconColor:{},cardField:{type:Boolean},cardOffsetX:{},cardOffsetY:{},cardProps:{},cell:{type:Boolean},cellUnderlineFullWidth:{type:Boolean},closeSiblings:{type:Boolean},color:{},disabled:{type:Boolean},displayAppendIcon:{},displayAppendIconColor:{},displayAppendIconSize:{},displayAppendInnerIcon:{},displayAppendInnerIconColor:{},displayAppendInnerIconSize:{},displayPrependIcon:{},displayPrependIconColor:{},displayPrependIconSize:{},displayPrependInnerIcon:{},displayPrependInnerIconColor:{},displayPrependInnerIconSize:{},emptyText:{},error:{type:Boolean},falseValue:{type:[Boolean,String]},fieldOnly:{type:Boolean},hideCancelIcon:{type:Boolean},hideDetails:{type:Boolean},hideSaveIcon:{type:Boolean},iconFalse:{},iconFalseColor:{},iconFalseTitle:{},iconTrue:{},iconTrueColor:{},iconTrueTitle:{},icons:{type:Boolean},item:{},label:{},loading:{type:Boolean},loadingIcon:{},loadingIconColor:{},loadingWait:{type:Boolean},name:{},required:{type:Boolean},saveButtonColor:{},saveButtonSize:{},saveButtonTitle:{},saveButtonVariant:{},saveIcon:{},saveIconColor:{},tableField:{type:Boolean},trueValue:{type:[Boolean,String]},underlineColor:{},underlineStyle:{},underlineWidth:{},underlined:{type:Boolean},valueColor:{}},{..._a}),{modelValue:{}}),emits:e.mergeModels([...Vn],["update:modelValue"]),setup(n,{emit:o}){const t=e.useModel(n,"modelValue"),l=e.useAttrs(),a=e.useSlots(),r=o,c=e.inject(Ue,{}),u=e.inject(Symbol.for("vuetify:icons")),s=Gt.useTheme(),i=n;let d=e.reactive({...l,...i,...c});const{cancelButtonColor:v,cancelButtonSize:p,cancelButtonTitle:f,cancelButtonVariant:y,cancelIcon:g,cancelIconColor:m,cardField:h,closeSiblings:w,color:x,fieldOnly:j,hideCancelIcon:A,hideDetails:O,loadingIcon:R,loadingIconColor:N,saveButtonColor:I,saveButtonSize:F,saveButtonTitle:C,saveButtonVariant:B,saveIcon:V,saveIconColor:L}=e.toRefs(d),k=e.computed(()=>i.disabled),_=e.computed(()=>i.loading),b=e.ref(!1),S=e.ref(!1),P=e.ref(null),z=e.computed(()=>Hn(d)),D=e.computed(()=>({...un,...i.cardProps}));e.watch(()=>_.value,(J,q)=>{!J&&q&&S.value&&me()});const T=e.computed(()=>_e({icon:i.trueIcon,iconOptions:u,name:"checkboxFalse"})),H=e.computed(()=>_e({icon:i.iconTrue,iconOptions:u,name:"checkboxTrue"})),E=e.computed(()=>t.value==d.trueValue),M=e.computed(()=>ha({modelValue:t,trueValue:d.trueValue})),$=e.computed(()=>cn({cell:d.cell&&!S.value,density:d.density,disabled:k.value,field:"v-checkbox",loading:_.value,loadingWait:d.loadingWait,tableField:d.tableField})),W=e.computed(()=>dn({cell:d.cell,cellUnderlineFullWidth:d.cellUnderlineFullWidth,density:d.density,field:"v-checkbox"})),G=sl({density:d.density}),Y=e.computed(()=>pn({active:S.value,name:"checkbox"})),te=e.computed(()=>Ht("checkbox",d.valueColor,{error:b})),ie=e.computed(()=>vn({name:"checkbox",showField:S.value})),re=e.computed(()=>({})),Ie=e.computed(()=>po({color:d.color,error:b,theme:s,underlineColor:d.underlineColor,underlineStyle:d.underlineStyle,underlineWidth:d.underlineWidth,underlined:d.underlined})),fe=e.computed(()=>de.value);function pe(){b.value=!1,me()}const de=e.ref(),ge=e.ref(null),ve=e.ref("body"),be=Pa.useWindowSize();function me(){var q,ue;if(k.value||d.loadingWait&&_.value)return;de.value=Xe({cardMinWidth:(q=d.cardProps)==null?void 0:q.minWidth,cardOffsetX:d.cardOffsetX,cardOffsetY:d.cardOffsetY,cardWidth:(ue=d.cardProps)==null?void 0:ue.width,field:ge.value,name:"checkbox"});const J=In({attrs:l,closeSiblings:w.value,fieldOnly:d.fieldOnly,props:i,showField:S,timeOpened:P.value});d={...d,...J.settings},S.value=J.showField,P.value=J.timeOpened,K!==null&&w.value&&S.value&&!d.fieldOnly&&K.emit(J.timeOpened)}function oe(J){t.value=J,r("update",J),d.loadingWait||me()}let K,le;function Ce(J){r("update:closeSiblingFields",P),S.value&&P.value!==J&&me()}return e.watch(()=>be,()=>{var J,q;de.value=Xe({cardMinWidth:(J=d.cardProps)==null?void 0:J.minWidth,cardOffsetX:d.cardOffsetX,cardOffsetY:d.cardOffsetY,cardWidth:(q=d.cardProps)==null?void 0:q.width,field:ge.value,name:"checkbox"})},{deep:!0}),w.value&&import("@vueuse/core").then(({useEventBus:J})=>{K=J(sn),le=K.on(Ce)}),e.onUnmounted(()=>{le!==void 0&&K.off(Ce)}),(J,q)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"inlineFieldsContainer",ref:ge,class:e.normalizeClass(e.unref($)),style:e.normalizeStyle(e.unref(re))},[!e.unref(S)&&!e.unref(j)||e.unref(h)?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(W)),onClick:q[2]||(q[2]=ue=>e.unref(d).cell?me():void 0)},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(G)),onClick:q[1]||(q[1]=ue=>e.unref(d).cell?void 0:me())},[e.createElementVNode("div",xi,[J.icons?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["v-inline-fields--boolean-icons-container",e.unref(te)]),style:e.normalizeStyle(e.unref(Ie))},[e.createVNode(ga,{modelValue:e.unref(M),"onUpdate:modelValue":q[0]||(q[0]=ue=>e.isRef(M)?M.value=ue:null),"icon-false":J.iconFalse,"icon-false-color":J.iconFalseColor,"icon-false-title":J.iconFalseTitle,"icon-true":J.iconTrue,"icon-true-color":J.iconTrueColor,"icon-true-title":J.iconTrueTitle},null,8,["modelValue","icon-false","icon-false-color","icon-false-title","icon-true","icon-true-color","icon-true-title"])],6)):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["d-inline-flex align-center justify-center",e.unref(te)]),style:e.normalizeStyle(e.unref(Ie))},e.toDisplayString(e.unref(E)),7))])],2)],2)):e.createCommentVNode("",!0),e.unref(S)||e.unref(j)||e.unref(h)?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(Y))},[(e.openBlock(),e.createBlock(e.Teleport,{disabled:!e.unref(h),to:e.unref(ve)},[e.createVNode(Sr,e.mergeProps(e.unref(z),{color:e.unref(x),density:e.unref(d).density,disabled:e.unref(_)||e.unref(k),error:e.unref(b),"false-icon":e.unref(T),"false-value":e.unref(d).falseValue,"hide-details":e.unref(O),label:e.unref(d).label,"model-value":e.unref(M),"true-icon":e.unref(H),"true-value":e.unref(d).trueValue,"onUpdate:modelValue":oe}),e.createSlots({_:2},[e.renderList(e.unref(a),(ue,ne)=>({name:ne,fn:e.withCtx(ye=>[e.renderSlot(J.$slots,ne,e.normalizeProps(e.guardReactiveProps({...ye})))])})),e.unref(a).append?void 0:{name:"append",fn:e.withCtx(()=>[e.createVNode(Cn,{"cancel-button-color":e.unref(v),"cancel-button-size":e.unref(p),"cancel-button-title":e.unref(f),"cancel-button-variant":e.unref(y),"cancel-icon":e.unref(g),"cancel-icon-color":e.unref(m),error:e.unref(b),"field-only":e.unref(j),"hide-cancel-icon":e.unref(A),"hide-save-icon":!0,loading:e.unref(_),"loading-icon":e.unref(R),"loading-icon-color":e.unref(N),"save-button-color":e.unref(I),"save-button-size":e.unref(F),"save-button-title":e.unref(C),"save-button-variant":e.unref(B),"save-icon":e.unref(V),"save-icon-color":e.unref(L),onClose:pe,onSave:oe},null,8,["cancel-button-color","cancel-button-size","cancel-button-title","cancel-button-variant","cancel-icon","cancel-icon-color","error","field-only","hide-cancel-icon","loading","loading-icon","loading-icon-color","save-button-color","save-button-size","save-button-title","save-button-variant","save-icon","save-icon-color"])]),key:"0"}]),1040,["color","density","disabled","error","false-icon","false-value","hide-details","label","model-value","true-icon","true-value"])],8,["disabled","to"]))],2)):e.createCommentVNode("",!0),e.unref(h)?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(e.unref(ie)),style:e.normalizeStyle(e.unref(fe))},[e.createVNode(Sn,e.normalizeProps(e.guardReactiveProps(e.unref(D))),{default:e.withCtx(()=>[e.createVNode(Qe,null,{default:e.withCtx(()=>[e.createElementVNode("div",{ref_key:"cardFieldRef",ref:ve},null,512)]),_:1})]),_:1},16)],6)):e.createCommentVNode("",!0)],6))}}),bt=e.defineComponent({__name:"DisplayedValue",props:{color:{},displayAppendIcon:{},displayAppendIconColor:{},displayAppendInnerIcon:{},displayAppendInnerIconColor:{},displayPrependIcon:{},displayPrependIconColor:{},displayPrependInnerIcon:{},displayPrependInnerIconColor:{},displayValue:{},empty:{type:Boolean},error:{type:Boolean},field:{},underlineColor:{},underlineStyle:{},underlineWidth:{},underlined:{type:Boolean},valueColor:{}},emits:["toggleField"],setup(n,{emit:o}){const t=o,l=n,a=e.useSlots(),r=Gt.useTheme(),c={displayValue:l.displayValue,empty:l.empty,error:l.error},u=e.computed(()=>Ht(l.field,l.valueColor,{empty:l.empty,error:l.error})),s=e.computed(()=>po({color:l.color,error:l.error,theme:r,underlineColor:l.underlineColor,underlineStyle:l.underlineStyle,underlineWidth:l.underlineWidth,underlined:l.underlined})),i=e.computed(()=>(p=>{const{underlineWidth:f}=p;return{borderBottom:`${f||"0px"} solid transparent`}})({underlineWidth:l.underlineWidth})),d=(p,f=!1)=>(y=>{const{inner:g=!1,position:m}=y;return{[`${Q}--display-icon`]:!g,[`${Q}--display-${m}-icon`]:!g,[`${Q}--display-${m}-inner-icon`]:g,"me-1":m==="prepend","ms-1":m==="append"}})({inner:f,position:p});function v(){t("toggleField")}return(p,f)=>(e.openBlock(),e.createElementBlock("div",{class:"v-inline-fields--display-wrapper",onClick:v},[p.displayPrependIcon||e.unref(a)["display.prepend"]?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(d("prepend")),style:e.normalizeStyle(e.unref(i))},[e.unref(a)["display.prepend"]?e.renderSlot(p.$slots,"display.prepend",e.normalizeProps(e.mergeProps({key:0},c))):(e.openBlock(),e.createBlock(ce,{key:1,color:p.displayPrependIconColor,icon:p.displayPrependIcon,size:"x-small"},null,8,["color","icon"]))],6)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["d-inline-flex",e.unref(u)]),style:e.normalizeStyle(e.unref(s))},[p.displayPrependInnerIcon||e.unref(a)["display.prependInner"]?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(d("prepend",!0))},[e.unref(a)["display.prependInner"]?e.renderSlot(p.$slots,"display.prependInner",e.normalizeProps(e.mergeProps({key:0},c))):(e.openBlock(),e.createBlock(ce,{key:1,color:p.displayPrependInnerIconColor,icon:p.displayPrependInnerIcon,size:"x-small"},null,8,["color","icon"]))],2)):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(p.displayValue)+" ",1),p.displayAppendInnerIcon||e.unref(a)["display.appendInner"]?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(d("append",!0))},[e.unref(a)["display.appendInner"]?e.renderSlot(p.$slots,"display.appendInner",e.normalizeProps(e.mergeProps({key:0},c))):(e.openBlock(),e.createBlock(ce,{key:1,color:p.displayAppendInnerIconColor,icon:p.displayAppendInnerIcon,size:"x-small"},null,8,["color","icon"]))],2)):e.createCommentVNode("",!0)],6),p.displayAppendIcon||e.unref(a)["display.append"]?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(d("append")),style:e.normalizeStyle(e.unref(i))},[e.unref(a)["display.append"]?e.renderSlot(p.$slots,"display.append",e.normalizeProps(e.mergeProps({key:0},c))):(e.openBlock(),e.createBlock(ce,{key:1,color:p.displayAppendIconColor,icon:p.displayAppendIcon,size:"x-small"},null,8,["color","icon"]))],6)):e.createCommentVNode("",!0)]))}}),Ca=e.defineComponent({__name:"VInlineCustomField",props:e.mergeModels(e.mergeDefaults({clearIcon:{},density:{},rules:{},variant:{},autofocus:{type:Boolean},cancelButtonColor:{},cancelButtonSize:{},cancelButtonTitle:{},cancelButtonVariant:{},cancelIcon:{},cancelIconColor:{},cardField:{type:Boolean},cardOffsetX:{},cardOffsetY:{},cardProps:{},cell:{type:Boolean},cellUnderlineFullWidth:{type:Boolean},closeSiblings:{type:Boolean},color:{},disabled:{type:Boolean},displayAppendIcon:{},displayAppendIconColor:{},displayAppendIconSize:{},displayAppendInnerIcon:{},displayAppendInnerIconColor:{},displayAppendInnerIconSize:{},displayPrependIcon:{},displayPrependIconColor:{},displayPrependIconSize:{},displayPrependInnerIcon:{},displayPrependInnerIconColor:{},displayPrependInnerIconSize:{},emptyText:{},error:{type:Boolean},fieldOnly:{type:Boolean},hideCancelIcon:{type:Boolean},hideDetails:{type:Boolean},hideSaveIcon:{type:Boolean},item:{},label:{},loading:{type:Boolean},loadingIcon:{},loadingIconColor:{},loadingWait:{type:Boolean},name:{},required:{type:Boolean},saveButtonColor:{},saveButtonSize:{},saveButtonTitle:{},saveButtonVariant:{},saveIcon:{},saveIconColor:{},tableField:{type:Boolean},truncateLength:{},truncateSuffix:{},underlineColor:{},underlineStyle:{},underlineWidth:{},underlined:{type:Boolean},valueColor:{}},{...il}),{modelValue:{}}),emits:e.mergeModels([...Vn],["update:modelValue"]),setup(n,{emit:o}){const t=e.useModel(n,"modelValue"),l=e.useAttrs(),a=e.useSlots(),r=o,c=e.inject(Ue,{}),u=e.inject(Symbol.for("vuetify:icons")),s=n;let i=e.reactive({...l,...s,...c});const{cancelButtonColor:d,cancelButtonSize:v,cancelButtonTitle:p,cancelButtonVariant:f,cancelIcon:y,cancelIconColor:g,cardField:m,closeSiblings:h,fieldOnly:w,hideCancelIcon:x,hideSaveIcon:j,loadingIcon:A,loadingIconColor:O,saveButtonColor:R,saveButtonSize:N,saveButtonTitle:I,saveButtonVariant:F,saveIcon:C,saveIconColor:B}=e.toRefs(i),V=e.computed(()=>s.disabled),L=e.computed(()=>s.loading),k=e.ref(!1),_=e.ref(!1),b=e.ref(!1),S=e.ref(null);let P=t.value;e.watch(()=>L.value,(K,le)=>{!K&&le&&b.value&&pe()});const z=e.computed(()=>t.value?(k.value=!1,i.truncateLength?co({length:i.truncateLength,suffix:i.truncateSuffix,text:t.value}):t.value):(k.value=!0,i.emptyText)),D=e.computed(()=>({...i,loading:L.value,modelValue:t.value,originalValue:P})),T=e.computed(()=>({color:i.color,displayAppendIcon:s.displayAppendIcon,displayAppendIconColor:s.displayAppendIconColor,displayAppendIconSize:s.displayAppendIconSize,displayAppendInnerIcon:s.displayAppendInnerIcon,displayAppendInnerIconColor:s.displayAppendInnerIconColor,displayAppendInnerIconSize:s.displayAppendInnerIconSize,displayPrependIcon:s.displayPrependIcon,displayPrependIconColor:s.displayPrependIconColor,displayPrependIconSize:s.displayPrependIconSize,displayPrependInnerIcon:s.displayPrependInnerIcon,displayPrependInnerIconColor:s.displayPrependInnerIconColor,displayPrependInnerIconSize:s.displayPrependInnerIconSize,displayValue:z.value,empty:k.value,error:_.value,field:"v-text-field",underlineColor:i.underlineColor,underlineStyle:i.underlineStyle,underlineWidth:i.underlineWidth,underlined:i.underlined,valueColor:i.valueColor})),H=e.computed(()=>({...un,...s.cardProps})),E=e.computed(()=>cn({cell:i.cell&&!b.value,density:i.density,disabled:V.value,field:"v-text-field",iconSet:u==null?void 0:u.defaultSet,loading:L.value,loadingWait:i.loadingWait,tableField:i.tableField,variant:i.variant})),M=e.computed(()=>dn({cell:i.cell,cellUnderlineFullWidth:i.cellUnderlineFullWidth,density:i.density,field:"v-text-field"})),$=vt({density:i.density,variant:i.variant}),W=e.computed(()=>pn({active:b.value,name:"text-field"})),G=e.computed(()=>vn({name:"custom-field",showField:b.value})),Y=e.computed(()=>({})),te=e.computed(()=>re.value);function ie(){_.value=!1,t.value=P,pe()}const re=e.ref(),Ie=e.ref(null),fe=e.ref("body");function pe(){var le,Ce;if(V.value||i.loadingWait&&L.value)return;re.value=Xe({cardMinWidth:(le=i.cardProps)==null?void 0:le.minWidth,cardOffsetX:i.cardOffsetX,cardOffsetY:i.cardOffsetY,cardWidth:(Ce=i.cardProps)==null?void 0:Ce.width,field:Ie.value});const K=In({attrs:l,closeSiblings:h.value,fieldOnly:i.fieldOnly,props:s,showField:b,timeOpened:S.value});i={...i,...K.settings},b.value=K.showField,S.value=K.timeOpened,be!==null&&h.value&&b.value&&!i.fieldOnly&&be.emit(K.timeOpened)}const de=e.ref();function ge(){const K=ht({required:i.required,rules:i.rules,value:t});return _.value=K.errors,de.value=K.results,K.results}function ve(){_.value?_.value=!0:(P=t.value,r("update",t.value),i.loadingWait||pe())}let be,me;function oe(K){r("update:closeSiblingFields",S),b.value&&S.value!==K&&ie()}return e.watch(()=>b.value,()=>{b.value&&ge()}),e.watch(()=>t.value,()=>{b.value&&ge()}),h.value&&import("@vueuse/core").then(({useEventBus:K})=>{be=K(sn),me=be.on(oe)}),e.onUnmounted(()=>{me!==void 0&&be.off(oe)}),(K,le)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"inlineFieldsContainer",ref:Ie,class:e.normalizeClass(e.unref(E)),style:e.normalizeStyle(e.unref(Y))},[!e.unref(b)&&!e.unref(i).fieldOnly||e.unref(m)?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(M))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref($))},[e.createVNode(bt,e.mergeProps(e.unref(T),{onToggleField:pe}),e.createSlots({_:2},[e.renderList(e.unref(a),(Ce,J)=>({name:J,fn:e.withCtx(q=>[e.renderSlot(K.$slots,J,e.normalizeProps(e.guardReactiveProps({...q})))])}))]),1040)],2)],2)):e.createCommentVNode("",!0),e.unref(b)||e.unref(i).fieldOnly||e.unref(m)?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["d-flex align-center py-2",e.unref(W)])},[(e.openBlock(),e.createBlock(e.Teleport,{disabled:!e.unref(m),to:e.unref(fe)},[e.renderSlot(K.$slots,"default",e.normalizeProps(e.guardReactiveProps(e.unref(D)))),e.createVNode(Cn,{"cancel-button-color":e.unref(d),"cancel-button-size":e.unref(v),"cancel-button-title":e.unref(p),"cancel-button-variant":e.unref(f),"cancel-icon":e.unref(y),"cancel-icon-color":e.unref(g),error:e.unref(_),"field-only":e.unref(w),"hide-cancel-icon":e.unref(x),"hide-save-icon":e.unref(j),loading:e.unref(L),"loading-icon":e.unref(A),"loading-icon-color":e.unref(O),"save-button-color":e.unref(R),"save-button-size":e.unref(N),"save-button-title":e.unref(I),"save-button-variant":e.unref(F),"save-icon":e.unref(C),"save-icon-color":e.unref(B),onClose:ie,onSave:ve},null,8,["cancel-button-color","cancel-button-size","cancel-button-title","cancel-button-variant","cancel-icon","cancel-icon-color","error","field-only","hide-cancel-icon","hide-save-icon","loading","loading-icon","loading-icon-color","save-button-color","save-button-size","save-button-title","save-button-variant","save-icon","save-icon-color"])],8,["disabled","to"]))],2)):e.createCommentVNode("",!0),e.unref(m)?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(e.unref(G)),style:e.normalizeStyle(e.unref(te))},[e.createVNode(Sn,e.normalizeProps(e.guardReactiveProps(e.unref(H))),{default:e.withCtx(()=>[e.createVNode(Qe,null,{default:e.withCtx(()=>[e.createElementVNode("div",{ref_key:"cardFieldRef",ref:fe},null,512)]),_:1})]),_:1},16)],6)):e.createCommentVNode("",!0)],6))}}),Sa=((n,o)=>{const t=n.__vccOpts||n;for(const[l,a]of o)t[l]=a;return t})(e.defineComponent({__name:"VInlineSelect",props:e.mergeModels(e.mergeDefaults({clearIcon:{},clearable:{},density:{},hideSelected:{},itemTitle:{},itemValue:{},items:{},menu:{},rules:{},variant:{},autofocus:{type:Boolean},cancelButtonColor:{},cancelButtonSize:{},cancelButtonTitle:{},cancelButtonVariant:{},cancelIcon:{},cancelIconColor:{},cardField:{type:Boolean},cardOffsetX:{},cardOffsetY:{},cardProps:{},cell:{type:Boolean},cellUnderlineFullWidth:{type:Boolean},closeSiblings:{type:Boolean},color:{},disabled:{type:Boolean},displayAppendIcon:{},displayAppendIconColor:{},displayAppendIconSize:{},displayAppendInnerIcon:{},displayAppendInnerIconColor:{},displayAppendInnerIconSize:{},displayPrependIcon:{},displayPrependIconColor:{},displayPrependIconSize:{},displayPrependInnerIcon:{},displayPrependInnerIconColor:{},displayPrependInnerIconSize:{},emptyText:{},error:{type:Boolean},fieldOnly:{type:Boolean},hideCancelIcon:{type:Boolean},hideDetails:{type:Boolean},hideSaveIcon:{type:Boolean},item:{},label:{},loading:{type:Boolean},loadingIcon:{},loadingIconColor:{},loadingWait:{type:Boolean},name:{},required:{type:Boolean},saveButtonColor:{},saveButtonSize:{},saveButtonTitle:{},saveButtonVariant:{},saveIcon:{},saveIconColor:{},tableField:{type:Boolean},underlineColor:{},underlineStyle:{},underlineWidth:{},underlined:{type:Boolean},valueColor:{}},{...Ea}),{modelValue:{}}),emits:e.mergeModels([...Vn],["update:modelValue"]),setup(n,{emit:o}){const t=e.useModel(n,"modelValue"),l=e.useAttrs(),a=e.useSlots(),r=o,c=e.inject(Ue,{}),u=e.inject(Symbol.for("vuetify:icons")),s=n;let i=e.reactive({...l,...s,...c});const{cancelButtonColor:d,cancelButtonSize:v,cancelButtonTitle:p,cancelButtonVariant:f,cancelIcon:y,cancelIconColor:g,cardField:m,closeSiblings:h,color:w,fieldOnly:x,hideCancelIcon:j,hideDetails:A,hideSaveIcon:O,loadingIcon:R,loadingIconColor:N,saveButtonColor:I,saveButtonSize:F,saveButtonTitle:C,saveButtonVariant:B,saveIcon:V,saveIconColor:L,valueColor:k}=e.toRefs(i),_=e.computed(()=>s.disabled),b=e.computed(()=>s.loading),S=e.ref(!1),P=e.ref(!1),z=e.ref(),D=e.ref(!1),T=e.ref(null);let H=t.value;e.watch(()=>b.value,(ne,ye)=>{!ne&&ye&&D.value&&me()});const E=e.computed(()=>_e({icon:s.clearIcon,iconOptions:u,name:"clear"})),M=e.computed(()=>t.value&&t.value[i.itemTitle]?(S.value=!1,t.value[i.itemTitle]):t.value?t.value:(S.value=!0,i.emptyText)),$=e.computed(()=>Hn(i)),W=e.computed(()=>({color:i.color,displayAppendIcon:s.displayAppendIcon,displayAppendIconColor:s.displayAppendIconColor,displayAppendIconSize:s.displayAppendIconSize,displayAppendInnerIcon:s.displayAppendInnerIcon,displayAppendInnerIconColor:s.displayAppendInnerIconColor,displayAppendInnerIconSize:s.displayAppendInnerIconSize,displayPrependIcon:s.displayPrependIcon,displayPrependIconColor:s.displayPrependIconColor,displayPrependIconSize:s.displayPrependIconSize,displayPrependInnerIcon:s.displayPrependInnerIcon,displayPrependInnerIconColor:s.displayPrependInnerIconColor,displayPrependInnerIconSize:s.displayPrependInnerIconSize,displayValue:M.value,empty:S.value,error:P.value,field:"v-text-field",underlineColor:i.underlineColor,underlineStyle:i.underlineStyle,underlineWidth:i.underlineWidth,underlined:i.underlined,valueColor:k.value})),G=e.computed(()=>({...un,...s.cardProps}));e.watchEffect(()=>{z.value=i.items||[]});const Y=e.computed(()=>cn({cell:i.cell&&!D.value,density:i.density,disabled:_.value,field:"v-select",iconSet:u==null?void 0:u.defaultSet,loading:b.value,loadingWait:i.loadingWait,tableField:i.tableField,variant:i.variant})),te=e.computed(()=>dn({cell:i.cell,cellUnderlineFullWidth:i.cellUnderlineFullWidth,density:i.density,field:"v-select"})),ie=vt({density:i.density,variant:i.variant}),re=e.computed(()=>pn({active:D.value,name:"select"})),Ie=e.computed(()=>vn({name:"select",showField:D.value})),fe=e.computed(()=>({})),pe=e.computed(()=>ge.value);function de(){P.value=!1,t.value=H,me()}const ge=e.ref(),ve=e.ref(null),be=e.ref("body");function me(){var ye,we;if(_.value||i.loadingWait&&b.value)return;ge.value=Xe({cardMinWidth:(ye=i.cardProps)==null?void 0:ye.minWidth,cardOffsetX:i.cardOffsetX,cardOffsetY:i.cardOffsetY,cardWidth:(we=i.cardProps)==null?void 0:we.width,field:ve.value});const ne=In({attrs:l,closeSiblings:h.value,fieldOnly:i.fieldOnly,props:s,showField:D,timeOpened:T.value});i={...i,...ne.settings},D.value=ne.showField,T.value=ne.timeOpened,J!==null&&h.value&&D.value&&!i.fieldOnly&&J.emit(ne.timeOpened)}const oe=e.ref(),K=e.computed(()=>oe.value);function le(){const ne=ht({required:i.required,rules:i.rules,value:t});return P.value=ne.errors,oe.value=ne.results,ne.results}function Ce(){H=t.value,r("update",t.value),i.loadingWait||me()}let J,q;function ue(ne){r("update:closeSiblingFields",T),D.value&&T.value!==ne&&de()}return e.watch(()=>D.value,()=>{D.value&&le()}),e.watch(()=>t.value,()=>{D.value&&le()}),h.value&&import("@vueuse/core").then(({useEventBus:ne})=>{J=ne(sn),q=J.on(ue)}),e.onUnmounted(()=>{q!==void 0&&J.off(ue)}),(ne,ye)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"inlineFieldsContainer",ref:ve,class:e.normalizeClass(e.unref(Y)),style:e.normalizeStyle(e.unref(fe))},[!e.unref(D)&&!e.unref(i).fieldOnly||e.unref(m)?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(te))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(ie))},[e.createVNode(bt,e.mergeProps(e.unref(W),{onToggleField:me}),e.createSlots({_:2},[e.renderList(e.unref(a),(we,Bn)=>({name:Bn,fn:e.withCtx(Ct=>[e.renderSlot(ne.$slots,Bn,e.normalizeProps(e.guardReactiveProps({...Ct})),void 0,!0)])}))]),1040)],2)],2)):e.createCommentVNode("",!0),e.unref(D)||e.unref(i).fieldOnly||e.unref(m)?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(re))},[(e.openBlock(),e.createBlock(e.Teleport,{disabled:!e.unref(m),to:e.unref(be)},[e.createVNode(fi,e.mergeProps(e.unref($),{modelValue:t.value,"onUpdate:modelValue":ye[0]||(ye[0]=we=>t.value=we),autofocus:!e.unref(i).fieldOnly||e.unref(i).autofocus,"clear-icon":e.unref(E),clearable:e.unref(i).clearable,color:e.unref(w),density:e.unref(i).density,disabled:e.unref(b)||e.unref(_),error:e.unref(P),"error-messages":e.unref(K),"hide-details":e.unref(A),"hide-selected":e.unref(i).hideSelected,"item-title":e.unref(i).itemTitle,"item-value":e.unref(i).itemValue,items:e.unref(z),label:e.unref(i).label,loading:e.unref(b),menu:e.unref(i).menu&&!e.unref(i).fieldOnly&&e.unref(D),variant:e.unref(i).variant,width:"100%",onKeyup:e.withKeys(de,["esc"])}),e.createSlots({_:2},[e.renderList(e.unref(a),(we,Bn)=>({name:Bn,fn:e.withCtx(Ct=>[e.renderSlot(ne.$slots,Bn,e.normalizeProps(e.guardReactiveProps({...Ct})),void 0,!0)])})),e.unref(a).append?void 0:{name:"append",fn:e.withCtx(()=>[e.createVNode(Cn,{"cancel-button-color":e.unref(d),"cancel-button-size":e.unref(v),"cancel-button-title":e.unref(p),"cancel-button-variant":e.unref(f),"cancel-icon":e.unref(y),"cancel-icon-color":e.unref(g),error:e.unref(P),"field-only":e.unref(x),"hide-cancel-icon":e.unref(j),"hide-save-icon":e.unref(O),loading:e.unref(b),"loading-icon":e.unref(R),"loading-icon-color":e.unref(N),"save-button-color":e.unref(I),"save-button-size":e.unref(F),"save-button-title":e.unref(C),"save-button-variant":e.unref(B),"save-icon":e.unref(V),"save-icon-color":e.unref(L),onClose:de,onSave:Ce},null,8,["cancel-button-color","cancel-button-size","cancel-button-title","cancel-button-variant","cancel-icon","cancel-icon-color","error","field-only","hide-cancel-icon","hide-save-icon","loading","loading-icon","loading-icon-color","save-button-color","save-button-size","save-button-title","save-button-variant","save-icon","save-icon-color"])]),key:"0"}]),1040,["modelValue","autofocus","clear-icon","clearable","color","density","disabled","error","error-messages","hide-details","hide-selected","item-title","item-value","items","label","loading","menu","variant"])],8,["disabled","to"]))],2)):e.createCommentVNode("",!0),e.unref(m)?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(e.unref(Ie)),style:e.normalizeStyle(e.unref(pe))},[e.createVNode(Sn,e.normalizeProps(e.guardReactiveProps(e.unref(G))),{default:e.withCtx(()=>[e.createVNode(Qe,null,{default:e.withCtx(()=>[e.createElementVNode("div",{ref_key:"cardFieldRef",ref:be},null,512)]),_:1})]),_:1},16)],6)):e.createCommentVNode("",!0)],6))}}),[["__scopeId","data-v-bf7fbbc3"]]),Fi={class:"v-selection-control__wrapper"},Ia=e.defineComponent({__name:"VInlineSwitch",props:e.mergeModels(e.mergeDefaults({density:{},falseIcon:{},cancelButtonColor:{},cancelButtonSize:{},cancelButtonTitle:{},cancelButtonVariant:{},cancelIcon:{},cancelIconColor:{},cardField:{type:Boolean},cardOffsetX:{},cardOffsetY:{},cardProps:{},cell:{type:Boolean},cellUnderlineFullWidth:{type:Boolean},closeSiblings:{type:Boolean},color:{},disabled:{type:Boolean},displayAppendIcon:{},displayAppendIconColor:{},displayAppendIconSize:{},displayAppendInnerIcon:{},displayAppendInnerIconColor:{},displayAppendInnerIconSize:{},displayPrependIcon:{},displayPrependIconColor:{},displayPrependIconSize:{},displayPrependInnerIcon:{},displayPrependInnerIconColor:{},displayPrependInnerIconSize:{},emptyText:{},error:{type:Boolean},falseValue:{type:[Boolean,String]},fieldOnly:{type:Boolean},hideCancelIcon:{type:Boolean},hideDetails:{type:Boolean},hideSaveIcon:{type:Boolean},iconFalse:{},iconFalseColor:{},iconFalseTitle:{},iconTrue:{},iconTrueColor:{},iconTrueTitle:{},icons:{type:Boolean},item:{},label:{},loading:{type:Boolean},loadingIcon:{},loadingIconColor:{},loadingWait:{type:Boolean},name:{},required:{type:Boolean},saveButtonColor:{},saveButtonSize:{},saveButtonTitle:{},saveButtonVariant:{},saveIcon:{},saveIconColor:{},tableField:{type:Boolean},trueValue:{type:[Boolean,String]},underlineColor:{},underlineStyle:{},underlineWidth:{},underlined:{type:Boolean},valueColor:{}},{...Oa}),{modelValue:{}}),emits:e.mergeModels([...Vn],["update:modelValue"]),setup(n,{emit:o}){const t=e.useModel(n,"modelValue"),l=e.useAttrs(),a=e.useSlots(),r=o,c=e.inject(Ue,{}),u=Gt.useTheme(),s=n;let i=e.reactive({...l,...s,...c});const{cancelButtonColor:d,cancelButtonSize:v,cancelButtonTitle:p,cancelButtonVariant:f,cancelIcon:y,cancelIconColor:g,cardField:m,closeSiblings:h,color:w,fieldOnly:x,hideCancelIcon:j,hideDetails:A,loadingIcon:O,loadingIconColor:R,saveButtonColor:N,saveButtonSize:I,saveButtonTitle:F,saveButtonVariant:C,saveIcon:B,saveIconColor:V}=e.toRefs(i),L=e.computed(()=>s.disabled),k=e.computed(()=>s.loading),_=e.ref(!1),b=e.ref(!1),S=e.ref(null),P=e.computed(()=>Hn(i)),z=e.computed(()=>({...un,...s.cardProps}));e.watch(()=>k.value,(oe,K)=>{!oe&&K&&b.value&&de()});const D=e.computed(()=>t.value==i.trueValue),T=e.computed(()=>ha({modelValue:t,trueValue:i.trueValue})),H=e.computed(()=>cn({cell:i.cell&&!b.value,density:i.density,disabled:L.value,field:"v-switch",loading:k.value,loadingWait:i.loadingWait,tableField:i.tableField})),E=e.computed(()=>dn({cell:i.cell,cellUnderlineFullWidth:i.cellUnderlineFullWidth,density:i.density,field:"v-switch"})),M=sl({density:i.density}),$=e.computed(()=>pn({active:b.value,name:"switch"})),W=e.computed(()=>Ht("switch",i.valueColor,{error:_})),G=e.computed(()=>vn({name:"switch",showField:b.value})),Y=e.computed(()=>({})),te=e.computed(()=>po({color:i.color,error:_,theme:u,underlineColor:i.underlineColor,underlineStyle:i.underlineStyle,underlineWidth:i.underlineWidth,underlined:i.underlined})),ie=e.computed(()=>Ie.value);function re(){_.value=!1,de()}const Ie=e.ref(),fe=e.ref(null),pe=e.ref("body");function de(){var K,le;if(L.value||i.loadingWait&&k.value)return;Ie.value=Xe({cardMinWidth:(K=i.cardProps)==null?void 0:K.minWidth,cardOffsetX:i.cardOffsetX,cardOffsetY:i.cardOffsetY,cardWidth:(le=i.cardProps)==null?void 0:le.width,field:fe.value});const oe=In({attrs:l,closeSiblings:h.value,fieldOnly:i.fieldOnly,props:s,showField:b.value,timeOpened:S.value});i={...i,...oe.settings},b.value=oe.showField,S.value=oe.timeOpened,ve!==null&&h.value&&b.value&&!i.fieldOnly&&ve.emit(oe.timeOpened)}function ge(oe){t.value=oe,r("update",oe),i.loadingWait||de()}let ve,be;function me(oe){r("update:closeSiblingFields",S),b.value&&S.value!==oe&&de()}return h.value&&import("@vueuse/core").then(({useEventBus:oe})=>{ve=oe(sn),be=ve.on(me)}),e.onUnmounted(()=>{be!==void 0&&ve.off(me)}),(oe,K)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"inlineFieldsContainer",ref:fe,class:e.normalizeClass(e.unref(H)),style:e.normalizeStyle(e.unref(Y))},[!e.unref(b)&&!e.unref(i).fieldOnly||e.unref(i).cardField?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(E)),onClick:K[2]||(K[2]=le=>e.unref(i).cell?de():void 0)},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(M)),onClick:K[1]||(K[1]=le=>e.unref(i).cell?void 0:de())},[e.createElementVNode("div",Fi,[oe.icons?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["v-inline-fields--boolean-icons-container",e.unref(W)]),style:e.normalizeStyle(e.unref(te))},[e.createVNode(ga,{modelValue:e.unref(T),"onUpdate:modelValue":K[0]||(K[0]=le=>e.isRef(T)?T.value=le:null),"icon-false":e.unref(i).iconFalse,"icon-false-color":e.unref(i).iconFalseColor,"icon-false-title":e.unref(i).iconFalseTitle,"icon-true":e.unref(i).iconTrue,"icon-true-color":e.unref(i).iconTrueColor,"icon-true-title":e.unref(i).iconTrueTitle},null,8,["modelValue","icon-false","icon-false-color","icon-false-title","icon-true","icon-true-color","icon-true-title"])],6)):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["d-inline-flex align-center justify-center",e.unref(W)]),style:e.normalizeStyle(e.unref(te))},e.toDisplayString(e.unref(D)),7))])],2)],2)):e.createCommentVNode("",!0),e.unref(b)||e.unref(i).fieldOnly||e.unref(m)?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref($))},[(e.openBlock(),e.createBlock(e.Teleport,{disabled:!e.unref(m),to:e.unref(pe)},[e.createVNode(Ii,e.mergeProps(e.unref(P),{color:e.unref(w),density:e.unref(i).density,disabled:e.unref(k)||e.unref(L),error:e.unref(_),"false-icon":e.unref(i).falseIcon,"false-value":e.unref(i).falseValue,"hide-details":e.unref(A),label:e.unref(i).label,loading:e.unref(k),"model-value":e.unref(T),"true-value":e.unref(i).trueValue,"onUpdate:modelValue":ge}),e.createSlots({_:2},[e.renderList(e.unref(a),(le,Ce)=>({name:Ce,fn:e.withCtx(J=>[e.renderSlot(oe.$slots,Ce,e.normalizeProps(e.guardReactiveProps({...J})))])})),e.unref(a).append?void 0:{name:"append",fn:e.withCtx(()=>[e.createVNode(Cn,{"cancel-button-color":e.unref(d),"cancel-button-size":e.unref(v),"cancel-button-title":e.unref(p),"cancel-button-variant":e.unref(f),"cancel-icon":e.unref(y),"cancel-icon-color":e.unref(g),class:"ms-3",error:e.unref(_),"field-only":e.unref(x),"hide-cancel-icon":e.unref(j),"hide-save-icon":!0,loading:e.unref(k),"loading-icon":e.unref(O),"loading-icon-color":e.unref(R),"save-button-color":e.unref(N),"save-button-size":e.unref(I),"save-button-title":e.unref(F),"save-button-variant":e.unref(C),"save-icon":e.unref(B),"save-icon-color":e.unref(V),onClose:re,onSave:ge},null,8,["cancel-button-color","cancel-button-size","cancel-button-title","cancel-button-variant","cancel-icon","cancel-icon-color","error","field-only","hide-cancel-icon","loading","loading-icon","loading-icon-color","save-button-color","save-button-size","save-button-title","save-button-variant","save-icon","save-icon-color"])]),key:"0"}]),1040,["color","density","disabled","error","false-icon","false-value","hide-details","label","loading","model-value","true-value"])],8,["disabled","to"]))],2)):e.createCommentVNode("",!0),e.unref(m)?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(e.unref(G)),style:e.normalizeStyle(e.unref(ie))},[e.createVNode(Sn,e.normalizeProps(e.guardReactiveProps(e.unref(z))),{default:e.withCtx(()=>[e.createVNode(Qe,null,{default:e.withCtx(()=>[e.createElementVNode("div",{ref_key:"cardFieldRef",ref:pe},null,512)]),_:1})]),_:1},16)],6)):e.createCommentVNode("",!0)],6))}}),Va=e.defineComponent({__name:"VInlineTextField",props:e.mergeModels(e.mergeDefaults({clearIcon:{},density:{},rules:{},variant:{},autofocus:{type:Boolean},cancelButtonColor:{},cancelButtonSize:{},cancelButtonTitle:{},cancelButtonVariant:{},cancelIcon:{},cancelIconColor:{},cardField:{type:Boolean},cardOffsetX:{},cardOffsetY:{},cardProps:{},cell:{type:Boolean},cellUnderlineFullWidth:{type:Boolean},closeSiblings:{type:Boolean},color:{},disabled:{type:Boolean},displayAppendIcon:{},displayAppendIconColor:{},displayAppendIconSize:{},displayAppendInnerIcon:{},displayAppendInnerIconColor:{},displayAppendInnerIconSize:{},displayPrependIcon:{},displayPrependIconColor:{},displayPrependIconSize:{},displayPrependInnerIcon:{},displayPrependInnerIconColor:{},displayPrependInnerIconSize:{},emptyText:{},error:{type:Boolean},fieldOnly:{type:Boolean},hideCancelIcon:{type:Boolean},hideDetails:{type:Boolean},hideSaveIcon:{type:Boolean},item:{},label:{},loading:{type:Boolean},loadingIcon:{},loadingIconColor:{},loadingWait:{type:Boolean},name:{},required:{type:Boolean},saveButtonColor:{},saveButtonSize:{},saveButtonTitle:{},saveButtonVariant:{},saveIcon:{},saveIconColor:{},tableField:{type:Boolean},truncateLength:{},truncateSuffix:{},underlineColor:{},underlineStyle:{},underlineWidth:{},underlined:{type:Boolean},valueColor:{}},{...il}),{modelValue:{}}),emits:e.mergeModels([...Vn],["update:modelValue"]),setup(n,{emit:o}){const t=e.useModel(n,"modelValue"),l=e.useAttrs(),a=e.useSlots(),r=o,c=e.inject(Ue,{}),u=e.inject(Symbol.for("vuetify:icons")),s=n;let i=e.reactive({...l,...s,...c});const{cancelButtonColor:d,cancelButtonSize:v,cancelButtonTitle:p,cancelButtonVariant:f,cancelIcon:y,cancelIconColor:g,cardField:m,closeSiblings:h,color:w,fieldOnly:x,hideCancelIcon:j,hideDetails:A,hideSaveIcon:O,loadingIcon:R,loadingIconColor:N,saveButtonColor:I,saveButtonSize:F,saveButtonTitle:C,saveButtonVariant:B,saveIcon:V,saveIconColor:L}=e.toRefs(i),k=e.computed(()=>s.disabled),_=e.computed(()=>s.loading),b=e.ref(!1),S=e.ref(!1),P=e.ref(!1),z=e.ref(null);let D=t.value;e.watch(()=>_.value,(q,ue)=>{!q&&ue&&P.value&&ve()});const T=e.computed(()=>_e({icon:s.clearIcon,iconOptions:u,name:"clear"})),H=e.computed(()=>t.value?(b.value=!1,i.truncateLength?co({length:i.truncateLength,suffix:i.truncateSuffix,text:t.value}):t.value):(b.value=!0,i.emptyText)),E=e.computed(()=>Hn(i)),M=e.computed(()=>({color:i.color,displayAppendIcon:s.displayAppendIcon,displayAppendIconColor:s.displayAppendIconColor,displayAppendIconSize:s.displayAppendIconSize,displayAppendInnerIcon:s.displayAppendInnerIcon,displayAppendInnerIconColor:s.displayAppendInnerIconColor,displayAppendInnerIconSize:s.displayAppendInnerIconSize,displayPrependIcon:s.displayPrependIcon,displayPrependIconColor:s.displayPrependIconColor,displayPrependIconSize:s.displayPrependIconSize,displayPrependInnerIcon:s.displayPrependInnerIcon,displayPrependInnerIconColor:s.displayPrependInnerIconColor,displayPrependInnerIconSize:s.displayPrependInnerIconSize,displayValue:H.value,empty:b.value,error:S.value,field:"v-text-field",underlineColor:i.underlineColor,underlineStyle:i.underlineStyle,underlineWidth:i.underlineWidth,underlined:i.underlined,valueColor:i.valueColor})),$=e.computed(()=>({...un,...s.cardProps})),W=e.computed(()=>cn({cell:i.cell&&!P.value,density:i.density,disabled:k.value,field:"v-text-field",iconSet:u==null?void 0:u.defaultSet,loading:_.value,loadingWait:i.loadingWait,tableField:i.tableField,variant:i.variant})),G=e.computed(()=>dn({cell:i.cell,cellUnderlineFullWidth:i.cellUnderlineFullWidth,density:i.density,field:"v-text-field"})),Y=vt({density:i.density,variant:i.variant}),te=e.computed(()=>pn({active:P.value,name:"text-field"})),ie=e.computed(()=>vn({name:"text-field",showField:P.value})),re=e.computed(()=>({})),Ie=e.computed(()=>pe.value);function fe(){S.value=!1,t.value=D,ve()}const pe=e.ref(),de=e.ref(null),ge=e.ref("body");function ve(){var ue,ne;if(k.value||i.loadingWait&&_.value)return;pe.value=Xe({cardMinWidth:(ue=i.cardProps)==null?void 0:ue.minWidth,cardOffsetX:i.cardOffsetX,cardOffsetY:i.cardOffsetY,cardWidth:(ne=i.cardProps)==null?void 0:ne.width,field:de.value});const q=In({attrs:l,closeSiblings:h.value,fieldOnly:i.fieldOnly,props:s,showField:P,timeOpened:z.value});i={...i,...q.settings},P.value=q.showField,z.value=q.timeOpened,le!==null&&h.value&&P.value&&!i.fieldOnly&&le.emit(q.timeOpened)}const be=e.ref(),me=e.computed(()=>be.value);function oe(){const q=ht({required:i.required,rules:i.rules,value:t});return S.value=q.errors,be.value=q.results,q.results}function K(){S.value?S.value=!0:(D=t.value,r("update",t.value),i.loadingWait||ve())}let le,Ce;function J(q){r("update:closeSiblingFields",z),P.value&&z.value!==q&&fe()}return e.watch(()=>P.value,()=>{P.value&&oe()}),e.watch(()=>t.value,()=>{P.value&&oe()}),h.value&&import("@vueuse/core").then(({useEventBus:q})=>{le=q(sn),Ce=le.on(J)}),e.onUnmounted(()=>{Ce!==void 0&&le.off(J)}),(q,ue)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"inlineFieldsContainer",ref:de,class:e.normalizeClass(e.unref(W)),style:e.normalizeStyle(e.unref(re))},[!e.unref(P)&&!e.unref(i).fieldOnly||e.unref(m)?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(G))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(Y))},[e.createVNode(bt,e.mergeProps(e.unref(M),{onToggleField:ve}),e.createSlots({_:2},[e.renderList(e.unref(a),(ne,ye)=>({name:ye,fn:e.withCtx(we=>[e.renderSlot(q.$slots,ye,e.normalizeProps(e.guardReactiveProps({...we})))])}))]),1040)],2)],2)):e.createCommentVNode("",!0),e.unref(P)||e.unref(i).fieldOnly||e.unref(m)?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(te))},[(e.openBlock(),e.createBlock(e.Teleport,{disabled:!e.unref(m),to:e.unref(ge)},[e.createVNode(Ut,e.mergeProps(e.unref(E),{modelValue:t.value,"onUpdate:modelValue":ue[0]||(ue[0]=ne=>t.value=ne),autofocus:!e.unref(i).fieldOnly||e.unref(i).autofocus,"clear-icon":e.unref(T),color:e.unref(w),density:e.unref(i).density,disabled:e.unref(_)||e.unref(k),error:e.unref(S),"error-messages":e.unref(me),"hide-details":e.unref(A),label:e.unref(i).label,loading:e.unref(_),variant:e.unref(i).variant,width:"100%",onKeyup:[e.withKeys(K,["enter"]),e.withKeys(fe,["esc"])]}),e.createSlots({_:2},[e.renderList(e.unref(a),(ne,ye)=>({name:ye,fn:e.withCtx(we=>[e.renderSlot(q.$slots,ye,e.normalizeProps(e.guardReactiveProps({...we})))])})),e.unref(a).append?void 0:{name:"append",fn:e.withCtx(()=>[e.createVNode(Cn,{"cancel-button-color":e.unref(d),"cancel-button-size":e.unref(v),"cancel-button-title":e.unref(p),"cancel-button-variant":e.unref(f),"cancel-icon":e.unref(y),"cancel-icon-color":e.unref(g),error:e.unref(S),"field-only":e.unref(x),"hide-cancel-icon":e.unref(j),"hide-save-icon":e.unref(O),loading:e.unref(_),"loading-icon":e.unref(R),"loading-icon-color":e.unref(N),"save-button-color":e.unref(I),"save-button-size":e.unref(F),"save-button-title":e.unref(C),"save-button-variant":e.unref(B),"save-icon":e.unref(V),"save-icon-color":e.unref(L),onClose:fe,onSave:K},null,8,["cancel-button-color","cancel-button-size","cancel-button-title","cancel-button-variant","cancel-icon","cancel-icon-color","error","field-only","hide-cancel-icon","hide-save-icon","loading","loading-icon","loading-icon-color","save-button-color","save-button-size","save-button-title","save-button-variant","save-icon","save-icon-color"])]),key:"0"}]),1040,["modelValue","autofocus","clear-icon","color","density","disabled","error","error-messages","hide-details","label","loading","variant"])],8,["disabled","to"]))],2)):e.createCommentVNode("",!0),e.unref(m)?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(e.unref(ie)),style:e.normalizeStyle(e.unref(Ie))},[e.createVNode(Sn,e.normalizeProps(e.guardReactiveProps(e.unref($))),{default:e.withCtx(()=>[e.createVNode(Qe,null,{default:e.withCtx(()=>[e.createElementVNode("div",{ref_key:"cardFieldRef",ref:ge},null,512)]),_:1})]),_:1},16)],6)):e.createCommentVNode("",!0)],6))}}),Ba=e.defineComponent({__name:"VInlineTextarea",props:e.mergeModels(e.mergeDefaults({autoGrow:{},clearIcon:{},density:{},rows:{},rules:{},variant:{},autofocus:{type:Boolean},cancelButtonColor:{},cancelButtonSize:{},cancelButtonTitle:{},cancelButtonVariant:{},cancelIcon:{},cancelIconColor:{},cardField:{type:Boolean},cardOffsetX:{},cardOffsetY:{},cardProps:{},cell:{type:Boolean},cellUnderlineFullWidth:{type:Boolean},closeSiblings:{type:Boolean},color:{},disabled:{type:Boolean},displayAppendIcon:{},displayAppendIconColor:{},displayAppendIconSize:{},displayAppendInnerIcon:{},displayAppendInnerIconColor:{},displayAppendInnerIconSize:{},displayPrependIcon:{},displayPrependIconColor:{},displayPrependIconSize:{},displayPrependInnerIcon:{},displayPrependInnerIconColor:{},displayPrependInnerIconSize:{},emptyText:{},error:{type:Boolean},fieldOnly:{type:Boolean},hideCancelIcon:{type:Boolean},hideDetails:{type:Boolean},hideSaveIcon:{type:Boolean},item:{},label:{},loading:{type:Boolean},loadingIcon:{},loadingIconColor:{},loadingWait:{type:Boolean},name:{},required:{type:Boolean},saveButtonColor:{},saveButtonSize:{},saveButtonTitle:{},saveButtonVariant:{},saveIcon:{},saveIconColor:{},tableField:{type:Boolean},truncateLength:{},truncateSuffix:{},underlineColor:{},underlineStyle:{},underlineWidth:{},underlined:{type:Boolean},valueColor:{}},{...za}),{modelValue:{}}),emits:e.mergeModels([...Vn],["update:modelValue"]),setup(n,{emit:o}){const t=e.useModel(n,"modelValue"),l=e.useAttrs(),a=e.useSlots(),r=o,c=e.inject(Ue,{}),u=e.inject(Symbol.for("vuetify:icons")),s=n;let i=e.reactive({...l,...s,...c});const{cancelButtonColor:d,cancelButtonSize:v,cancelButtonTitle:p,cancelButtonVariant:f,cancelIcon:y,cancelIconColor:g,cardField:m,closeSiblings:h,color:w,fieldOnly:x,hideCancelIcon:j,hideDetails:A,hideSaveIcon:O,loadingIcon:R,loadingIconColor:N,saveButtonColor:I,saveButtonSize:F,saveButtonTitle:C,saveButtonVariant:B,saveIcon:V,saveIconColor:L}=e.toRefs(i),k=e.computed(()=>s.disabled),_=e.computed(()=>s.loading),b=e.ref(!1),S=e.ref(!1),P=e.ref(!1),z=e.ref(null);let D=t.value;e.watch(()=>_.value,(q,ue)=>{!q&&ue&&P.value&&ve()});const T=e.computed(()=>_e({icon:s.clearIcon,iconOptions:u,name:"clear"})),H=e.computed(()=>t.value?(b.value=!1,i.truncateLength?co({length:i.truncateLength,suffix:i.truncateSuffix,text:t.value}):t.value):(b.value=!0,i.emptyText)),E=e.computed(()=>Hn(i)),M=e.computed(()=>({color:i.color,displayAppendIcon:s.displayAppendIcon,displayAppendIconColor:s.displayAppendIconColor,displayAppendIconSize:s.displayAppendIconSize,displayAppendInnerIcon:s.displayAppendInnerIcon,displayAppendInnerIconColor:s.displayAppendInnerIconColor,displayAppendInnerIconSize:s.displayAppendInnerIconSize,displayPrependIcon:s.displayPrependIcon,displayPrependIconColor:s.displayPrependIconColor,displayPrependIconSize:s.displayPrependIconSize,displayPrependInnerIcon:s.displayPrependInnerIcon,displayPrependInnerIconColor:s.displayPrependInnerIconColor,displayPrependInnerIconSize:s.displayPrependInnerIconSize,displayValue:H.value,empty:b.value,error:S.value,field:"v-text-field",underlineColor:i.underlineColor,underlineStyle:i.underlineStyle,underlineWidth:i.underlineWidth,underlined:i.underlined,valueColor:i.valueColor})),$=e.computed(()=>({...un,...s.cardProps})),W=e.computed(()=>cn({cell:i.cell&&!P.value,density:i.density,disabled:k.value,field:"v-textarea",iconSet:u==null?void 0:u.defaultSet,loading:_.value,loadingWait:i.loadingWait,tableField:i.tableField,variant:i.variant})),G=e.computed(()=>dn({cell:i.cell,cellUnderlineFullWidth:i.cellUnderlineFullWidth,density:i.density,field:"v-textarea"})),Y=vt({density:i.density,variant:i.variant}),te=e.computed(()=>pn({active:P.value,name:"textarea"})),ie=e.computed(()=>vn({name:"textarea",showField:P.value})),re=e.computed(()=>({})),Ie=e.computed(()=>pe.value);function fe(){S.value=!1,t.value=D,ve()}const pe=e.ref(),de=e.ref(null),ge=e.ref("body");function ve(){var ue,ne;if(k.value||i.loadingWait&&_.value)return;pe.value=Xe({cardMinWidth:(ue=i.cardProps)==null?void 0:ue.minWidth,cardOffsetX:i.cardOffsetX,cardOffsetY:i.cardOffsetY,cardWidth:(ne=i.cardProps)==null?void 0:ne.width,field:de.value});const q=In({attrs:l,closeSiblings:h.value,fieldOnly:i.fieldOnly,props:s,showField:P,timeOpened:z.value});i={...i,...q.settings},P.value=q.showField,z.value=q.timeOpened,le!==null&&h.value&&P.value&&!i.fieldOnly&&le.emit(q.timeOpened)}const be=e.ref(),me=e.computed(()=>be.value);function oe(){const q=ht({required:i.required,rules:i.rules,value:t});return S.value=q.errors,be.value=q.results,q.results}function K(){D=t.value,r("update",t.value),i.loadingWait||ve()}let le,Ce;function J(q){r("update:closeSiblingFields",z),P.value&&z.value!==q&&fe()}return e.watch(()=>P.value,()=>{P.value&&oe()}),e.watch(()=>t.value,()=>{P.value&&oe()}),h.value&&import("@vueuse/core").then(({useEventBus:q})=>{le=q(sn),Ce=le.on(J)}),e.onUnmounted(()=>{Ce!==void 0&&le.off(J)}),(q,ue)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"inlineFieldsContainer",ref:de,class:e.normalizeClass(e.unref(W)),style:e.normalizeStyle(e.unref(re))},[!e.unref(P)&&!e.unref(i).fieldOnly||e.unref(m)?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(G))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(Y))},[e.createVNode(bt,e.mergeProps(e.unref(M),{onToggleField:ve}),e.createSlots({_:2},[e.renderList(e.unref(a),(ne,ye)=>({name:ye,fn:e.withCtx(we=>[e.renderSlot(q.$slots,ye,e.normalizeProps(e.guardReactiveProps({...we})))])}))]),1040)],2)],2)):e.createCommentVNode("",!0),e.unref(P)||e.unref(i).fieldOnly||e.unref(m)?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(te))},[(e.openBlock(),e.createBlock(e.Teleport,{disabled:!e.unref(m),to:e.unref(ge)},[e.createVNode(Bi,e.mergeProps(e.unref(E),{modelValue:t.value,"onUpdate:modelValue":ue[0]||(ue[0]=ne=>t.value=ne),"auto-grow":e.unref(i).autoGrow,autofocus:!e.unref(i).fieldOnly||e.unref(i).autofocus,"clear-icon":e.unref(T),color:e.unref(w),density:e.unref(i).density,disabled:e.unref(_)||e.unref(k),error:e.unref(S),"error-messages":e.unref(me),"hide-details":e.unref(A),label:e.unref(i).label,loading:e.unref(_),rows:e.unref(i).rows,variant:e.unref(i).variant,width:"100%",onKeyup:e.withKeys(fe,["esc"])}),e.createSlots({_:2},[e.renderList(e.unref(a),(ne,ye)=>({name:ye,fn:e.withCtx(we=>[e.renderSlot(q.$slots,ye,e.normalizeProps(e.guardReactiveProps({...we})))])})),e.unref(a).append?void 0:{name:"append",fn:e.withCtx(()=>[e.createVNode(Cn,{"cancel-button-color":e.unref(d),"cancel-button-size":e.unref(v),"cancel-button-title":e.unref(p),"cancel-button-variant":e.unref(f),"cancel-icon":e.unref(y),"cancel-icon-color":e.unref(g),error:e.unref(S),"field-only":e.unref(x),"hide-cancel-icon":e.unref(j),"hide-save-icon":e.unref(O),loading:e.unref(_),"loading-icon":e.unref(R),"loading-icon-color":e.unref(N),"save-button-color":e.unref(I),"save-button-size":e.unref(F),"save-button-title":e.unref(C),"save-button-variant":e.unref(B),"save-icon":e.unref(V),"save-icon-color":e.unref(L),onClose:fe,onSave:K},null,8,["cancel-button-color","cancel-button-size","cancel-button-title","cancel-button-variant","cancel-icon","cancel-icon-color","error","field-only","hide-cancel-icon","hide-save-icon","loading","loading-icon","loading-icon-color","save-button-color","save-button-size","save-button-title","save-button-variant","save-icon","save-icon-color"])]),key:"0"}]),1040,["modelValue","auto-grow","autofocus","clear-icon","color","density","disabled","error","error-messages","hide-details","label","loading","rows","variant"])],8,["disabled","to"]))],2)):e.createCommentVNode("",!0),e.unref(m)?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(e.unref(ie)),style:e.normalizeStyle(e.unref(Ie))},[e.createVNode(Sn,e.normalizeProps(e.guardReactiveProps(e.unref($))),{default:e.withCtx(()=>[e.createVNode(Qe,null,{default:e.withCtx(()=>[e.createElementVNode("div",{ref_key:"cardFieldRef",ref:ge},null,512)]),_:1})]),_:1},16)],6)):e.createCommentVNode("",!0)],6))}}),At=Object.freeze(Object.defineProperty({__proto__:null,VInlineCheckbox:ba,VInlineCustomField:Ca,VInlineSelect:Sa,VInlineSwitch:Ia,VInlineTextField:Va,VInlineTextarea:Ba},Symbol.toStringTag,{value:"Module"})),Ue=Symbol();exports.VInlineCheckbox=ba,exports.VInlineCustomField=Ca,exports.VInlineSelect=Sa,exports.VInlineSwitch=Ia,exports.VInlineTextField=Va,exports.VInlineTextarea=Ba,exports.createVInlineFields=function(n={}){return{install:o=>{o.provide(Ue,n);for(const t in At)o.component(t,At[t])}}},exports.default=At,exports.globalOptions=Ue; +(function(){"use strict";try{if(typeof document<"u"){var i=document.createElement("style");i.appendChild(document.createTextNode(":root{--v-inline-fields-top-padding-compact: 13px;--v-inline-fields-top-padding-comfortable: 17px;--v-inline-fields-top-padding-default: 21px;--v-inline-fields-input-height: 24px;--v-inline-fields-density-compact-height: 32px;--v-inline-fields-density-comfortable-height: 40px;--v-inline-fields-grey: #909090}.v-inline-fields--container-v-select-comfortable-plain .v-input__control .v-field__clearable,.v-inline-fields--container-v-select-comfortable-underlined .v-input__control .v-field__clearable,.v-inline-fields--container-v-text-field-comfortable-plain .v-input__control .v-field__clearable,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input__control .v-field__clearable,.v-inline-fields--container-v-select-compact-plain .v-input__control .v-field__clearable,.v-inline-fields--container-v-select-compact-underlined .v-input__control .v-field__clearable,.v-inline-fields--container-v-text-field-compact-plain .v-input__control .v-field__clearable,.v-inline-fields--container-v-text-field-compact-underlined .v-input__control .v-field__clearable,.v-inline-fields--container-v-select-comfortable-plain .v-input__control .v-input__append,.v-inline-fields--container-v-select-comfortable-underlined .v-input__control .v-input__append,.v-inline-fields--container-v-text-field-comfortable-plain .v-input__control .v-input__append,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input__control .v-input__append,.v-inline-fields--container-v-select-compact-plain .v-input__control .v-input__append,.v-inline-fields--container-v-select-compact-underlined .v-input__control .v-input__append,.v-inline-fields--container-v-text-field-compact-plain .v-input__control .v-input__append,.v-inline-fields--container-v-text-field-compact-underlined .v-input__control .v-input__append{padding-top:0!important}.v-inline-fields--container-v-select-comfortable-plain .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-select-comfortable-underlined .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-text-field-comfortable-plain .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-select-compact-plain .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-select-compact-underlined .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-text-field-compact-plain .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-text-field-compact-underlined .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-select-comfortable-plain .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-select-comfortable-underlined .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-text-field-comfortable-plain .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-select-compact-plain .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-select-compact-underlined .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-text-field-compact-plain .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-text-field-compact-underlined .v-input__control .v-input__append .v-icon{font-size:1rem!important}.v-inline-fields{position:relative}.v-inline-fields--display-container *{align-items:center;display:flex}.v-inline-fields--display-container-cell{cursor:pointer;display:block;max-height:unset!important}.v-inline-fields--display-container-cell>div{width:100%}.v-inline-fields--display-container-cell-underline-full-width .v-inline-fields--display-value{width:100%}.v-inline-fields--display-container-cell .v-inline-fields--selection-control .v-inline-fields--display-value{justify-content:center}.v-inline-fields--display-container-cell,.v-inline-fields--display-container-cell .v-input,.v-inline-fields--display-container-cell .v-inline-fields--display-wrapper,.v-inline-fields--display-container-cell .v-selection-control__wrapper{height:100%!important;width:100%}.v-inline-fields--display-value{cursor:pointer;letter-spacing:.009375em!important}.v-inline-fields--display-value-empty{color:var(--v-inline-fields-grey);font-style:italic}.v-inline-fields--display-value-checkbox,.v-inline-fields--display-value-switch{padding-bottom:2px;padding-top:6px}.v-inline-fields--display-append-icon,.v-inline-fields--display-prepend-icon,.v-inline-fields--display-append-inner-icon,.v-inline-fields--display-prepend-inner-icon{align-items:flex-end;display:inline-flex}.v-inline-fields--container-cell{height:100%;width:100%}.v-inline-fields--container-disabled .v-inline-fields--display-value{cursor:default!important;opacity:var(--v-disabled-opacity)}.v-inline-fields--container-loading .v-inline-fields--display-value{cursor:wait!important}.v-inline-fields--container-icon-set-fa .v-field__clearable{font-size:.8rem}.v-inline-fields--container-icon-set-fa .v-field__append-inner{align-items:flex-end;padding-bottom:0!important}.v-inline-fields--container-v-select-compact-plain .v-input,.v-inline-fields--container-v-select-compact-underlined .v-input,.v-inline-fields--container-v-text-field-compact-plain .v-input,.v-inline-fields--container-v-text-field-compact-underlined .v-input{height:var(--v-inline-fields-density-compact-height);max-height:var(--v-inline-fields-density-compact-height)}.v-inline-fields--container-v-select-compact-plain .v-input__control,.v-inline-fields--container-v-select-compact-underlined .v-input__control,.v-inline-fields--container-v-text-field-compact-plain .v-input__control,.v-inline-fields--container-v-text-field-compact-underlined .v-input__control{padding-bottom:4px}.v-inline-fields--container-v-select-compact-plain .v-input>div,.v-inline-fields--container-v-select-compact-underlined .v-input>div,.v-inline-fields--container-v-text-field-compact-plain .v-input>div,.v-inline-fields--container-v-text-field-compact-underlined .v-input>div{height:inherit!important;max-height:inherit!important}.v-inline-fields--container-v-select-compact-plain .v-input .v-field__input,.v-inline-fields--container-v-select-compact-underlined .v-input .v-field__input,.v-inline-fields--container-v-text-field-compact-plain .v-input .v-field__input,.v-inline-fields--container-v-text-field-compact-underlined .v-input .v-field__input{padding-top:0}.v-inline-fields--container-v-select-compact-plain .v-input .v-field__input input,.v-inline-fields--container-v-select-compact-underlined .v-input .v-field__input input,.v-inline-fields--container-v-text-field-compact-plain .v-input .v-field__input input,.v-inline-fields--container-v-text-field-compact-underlined .v-input .v-field__input input{padding-bottom:10px}.v-inline-fields--container-v-select-compact-plain .v-input .v-select__selection,.v-inline-fields--container-v-select-compact-underlined .v-input .v-select__selection,.v-inline-fields--container-v-text-field-compact-plain .v-input .v-select__selection,.v-inline-fields--container-v-text-field-compact-underlined .v-input .v-select__selection{align-items:center;padding-bottom:10px}.v-inline-fields--container-v-select-comfortable-plain .v-input,.v-inline-fields--container-v-select-comfortable-underlined .v-input,.v-inline-fields--container-v-text-field-comfortable-plain .v-input,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input{height:var(--v-inline-fields-density-comfortable-height);max-height:var(--v-inline-fields-density-comfortable-height)}.v-inline-fields--container-v-select-comfortable-plain .v-input__control,.v-inline-fields--container-v-select-comfortable-underlined .v-input__control,.v-inline-fields--container-v-text-field-comfortable-plain .v-input__control,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input__control{padding-bottom:8px}.v-inline-fields--container-v-select-comfortable-plain .v-input>div,.v-inline-fields--container-v-select-comfortable-underlined .v-input>div,.v-inline-fields--container-v-text-field-comfortable-plain .v-input>div,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input>div{height:inherit!important;max-height:inherit!important}.v-inline-fields--container-v-select-comfortable-plain .v-input .v-field__input,.v-inline-fields--container-v-select-comfortable-underlined .v-input .v-field__input,.v-inline-fields--container-v-text-field-comfortable-plain .v-input .v-field__input,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input .v-field__input{padding-top:0}.v-inline-fields--container-v-select-comfortable-plain .v-input .v-field__input input,.v-inline-fields--container-v-select-comfortable-underlined .v-input .v-field__input input,.v-inline-fields--container-v-text-field-comfortable-plain .v-input .v-field__input input,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input .v-field__input input{padding-bottom:6px}.v-inline-fields--container-v-select-comfortable-plain .v-input .v-select__selection,.v-inline-fields--container-v-select-comfortable-underlined .v-input .v-select__selection,.v-inline-fields--container-v-text-field-comfortable-plain .v-input .v-select__selection,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input .v-select__selection{align-items:center;padding-bottom:6px}.v-inline-fields--container-v-select-compact-plain .v-field__append-inner,.v-inline-fields--container-v-select-compact-underlined .v-field__append-inner{padding-top:4px!important}.v-inline-fields--container-v-select-comfortable-plain .v-field__append-inner,.v-inline-fields--container-v-select-comfortable-underlined .v-field__append-inner{padding-top:8px!important}.v-inline-fields--container-v-textarea .v-inline-fields--save-fields-container{align-items:flex-end}.v-inline-fields--container-v-select,.v-inline-fields--container-v-textarea,.v-inline-fields--container-v-text-field{width:100%}.v-inline-fields--container-v-checkbox .v-input,.v-inline-fields--container-v-switch .v-input{align-items:center;display:flex;padding-bottom:0}.v-inline-fields--container-v-checkbox .v-input__append,.v-inline-fields--container-v-switch .v-input__append{margin-inline-start:0!important;margin-left:0;padding-bottom:0!important}.v-inline-fields--container-v-checkbox .v-selection-control,.v-inline-fields--container-v-switch .v-selection-control{min-height:unset}.v-inline-fields--container-v-checkbox .v-inline-fields--save-fields-container,.v-inline-fields--container-v-switch .v-inline-fields--save-fields-container{align-items:center!important}.v-inline-fields--container .v-input__append,.v-inline-fields--container .v-input__prepend,.v-inline-fields--container .v-field__append-inner,.v-inline-fields--container .v-field__prepend-inner{padding-top:0!important}.v-inline-fields--container .v-input__append .v-icon,.v-inline-fields--container .v-input__prepend .v-icon,.v-inline-fields--container .v-field__append-inner .v-icon,.v-inline-fields--container .v-field__prepend-inner .v-icon{font-size:1rem!important}.v-inline-fields--container .v-field__append-inner,.v-inline-fields--container .v-field__prepend-inner{padding-bottom:10px!important}.v-inline-fields--container-compact .v-input__append,.v-inline-fields--container-compact .v-input__prepend,.v-inline-fields--container-compact .v-field__append-inner,.v-inline-fields--container-compact .v-field__prepend-inner{align-items:center!important}.v-inline-fields--container-compact .v-field__append-inner,.v-inline-fields--container-compact .v-field__prepend-inner{padding-bottom:10px!important}.v-inline-fields--container-comfortable .v-input__append,.v-inline-fields--container-comfortable .v-input__prepend,.v-inline-fields--container-comfortable .v-field__append-inner,.v-inline-fields--container-comfortable .v-field__prepend-inner{align-items:center!important}.v-inline-fields--container-comfortable .v-field__append-inner,.v-inline-fields--container-comfortable .v-field__prepend-inner{padding-bottom:6px!important}.v-inline-fields--container-default .v-input__append,.v-inline-fields--container-default .v-input__prepend,.v-inline-fields--container-default .v-field__append-inner,.v-inline-fields--container-default .v-field__prepend-inner{align-items:flex-end!important;padding-bottom:0!important}.v-inline-fields--container-default .v-input__append .v-icon,.v-inline-fields--container-default .v-input__prepend .v-icon,.v-inline-fields--container-default .v-field__append-inner .v-icon,.v-inline-fields--container-default .v-field__prepend-inner .v-icon{font-size:calc(var(--v-icon-size-multiplier) * 1.5em)!important}.v-inline-fields--container-default .v-inline-fields--save-fields-container{align-items:flex-end!important}.v-inline-fields--card-container{height:fit-content;min-width:fit-content!important;position:absolute}.v-inline-fields--card-container .v-card{border:1px solid hsla(0,0%,50%,.5)}.v-inline-fields--card-container .v-card .v-card-text{padding:5px 10px}.v-inline-fields--card-container .v-card .v-card-text>div{align-items:center;display:flex}.v-inline-fields--card-container-checkbox .v-card .v-card-text .v-input__append{margin-inline-start:0}.v-inline-fields--save-fields-container{align-items:center;display:flex;height:100%;margin-left:.1rem}.v-inline-fields--boolean-icons{font-size:calc(var(--v-icon-size-multiplier) * 1em)}.v-inline-fields .truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:250px}.v-inline-fields .v-input__append{padding-top:0}[data-v-bf7fbbc3] .v-field__field{align-items:flex-end!important}")),document.head.appendChild(i)}}catch(n){console.error("vite-plugin-css-injected-by-js",n)}})(); diff --git a/dist/vuetify-inline-fields.es.js b/dist/vuetify-inline-fields.es.js index 47b706d..44f46a9 100644 --- a/dist/vuetify-inline-fields.es.js +++ b/dist/vuetify-inline-fields.es.js @@ -1,6 +1,6 @@ -import { Fragment as Fe, reactive as ln, computed as v, watchEffect as rn, toRefs as xn, capitalize as Qo, isVNode as Si, Comment as Bi, unref as r, warn as ll, inject as me, ref as D, provide as nn, shallowRef as de, defineComponent as sn, camelize as ea, h as ol, getCurrentInstance as xi, onBeforeUnmount as mn, watch as K, readonly as zl, onScopeDispose as He, effectScope as Dl, toRaw as Sn, TransitionGroup as ki, Transition as An, createVNode as d, mergeProps as Z, onBeforeMount as na, nextTick as Me, withDirectives as Ue, resolveDirective as gn, vShow as Hn, isRef as On, onMounted as Yn, toRef as oe, Text as wi, resolveDynamicComponent as Fi, Teleport as Pn, cloneVNode as Vi, createTextVNode as ta, vModelText as Ai, mergeModels as Qe, useModel as $n, openBlock as J, createBlock as ze, useSlots as En, createElementBlock as ce, normalizeClass as le, normalizeStyle as Te, renderSlot as Ye, normalizeProps as Pe, createCommentVNode as xe, createElementVNode as Ge, toDisplayString as Ll, useAttrs as Tn, withCtx as he, mergeDefaults as Xn, onUnmounted as Kn, createSlots as vn, renderList as fn, guardReactiveProps as Re, withKeys as Gt } from "vue"; +import { unref as r, Fragment as Fe, reactive as lt, computed as v, watchEffect as it, toRefs as Bt, capitalize as ea, isVNode as gi, Comment as hi, warn as ll, inject as me, ref as D, provide as tt, shallowRef as de, defineComponent as rt, camelize as ta, h as ol, getCurrentInstance as bi, isRef as _t, createVNode as d, toRef as ae, watch as K, onScopeDispose as He, effectScope as zl, toRaw as It, onBeforeUnmount as yt, onMounted as qt, mergeProps as Z, Text as Ci, readonly as Dl, Transition as At, resolveDynamicComponent as Ii, nextTick as Me, withDirectives as Ue, resolveDirective as mt, useAttrs as Ot, openBlock as J, createElementBlock as ce, createBlock as ze, withCtx as he, normalizeClass as oe, createCommentVNode as xe, TransitionGroup as Si, onBeforeMount as na, vShow as Ht, Teleport as Pt, cloneVNode as Bi, createTextVNode as la, vModelText as xi, mergeModels as Qe, useModel as $t, mergeDefaults as Yt, useSlots as Et, onUnmounted as Xt, normalizeStyle as Te, createElementVNode as Ge, toDisplayString as Ll, createSlots as pt, renderList as vt, renderSlot as Ye, normalizeProps as Pe, guardReactiveProps as Re, withKeys as Gn } from "vue"; import { useTheme as Wl } from "vuetify"; -import { useWindowSize as _i } from "@vueuse/core"; +import { useWindowSize as ki } from "@vueuse/core"; /** * @name @wdns/vuetify-inline-fields * @version 1.0.3 @@ -11,227 +11,241 @@ import { useWindowSize as _i } from "@vueuse/core"; * @repository https://github.com/webdevnerdstuff/vuetify-inline-fields * @license MIT License */ -const Jn = Symbol("identifier"), Zn = { elevation: 5, variant: "flat" }, Bt = { cancelButtonColor: "default", cancelButtonSize: "x-small", cancelButtonTitle: "Cancel", cancelButtonVariant: "text", cancelIcon: void 0, cancelIconColor: "default", cardField: !1, cardOffsetX: 0, cardOffsetY: 0, cardProps: () => ({}), cell: !1, cellUnderlineFullWidth: !0, closeSiblings: !1, color: "primary", density: "compact", disabled: !1, displayAppendIcon: void 0, displayAppendIconColor: void 0, displayAppendIconSize: "x-small", displayAppendInnerIcon: void 0, displayAppendInnerIconColor: void 0, displayAppendInnerIconSize: "x-small", displayPrependIcon: void 0, displayPrependIconColor: void 0, displayPrependIconSize: "x-small", displayPrependInnerIcon: void 0, displayPrependInnerIconColor: void 0, displayPrependInnerIconSize: "x-small", emptyText: "empty", fieldOnly: !1, hideCancelIcon: !1, hideDetails: !0, label: "", loading: !1, loadingWait: !0, name: "", tableField: !0, underlineColor: "primary", underlineStyle: "dotted", underlineWidth: "2px", underlined: !0, valueColor: "default" }, Ml = { autofocus: !0 }, xt = { hideCancelIcon: !1, hideSaveIcon: !1, loadingIcon: void 0, loadingIconColor: "primary", saveButtonColor: "primary", saveButtonSize: "x-small", saveButtonTitle: "Save", saveButtonVariant: "text", saveIcon: void 0, saveIconColor: "primary" }, la = { falseValue: !1, iconFalse: void 0, iconFalseColor: "danger", iconFalseTitle: "No", iconTrue: void 0, iconTrueColor: "success", iconTrueTitle: "Yes", icons: !0, trueValue: !0 }, Oi = { ...Bt, ...la, ...xt, falseIcon: void 0, icons: !0, trueIcon: void 0 }, Pi = { ...Bt, ...Ml, ...xt, clearIcon: void 0, clearable: !1, hideSelected: !0, itemTitle: "title", itemValue: "value", items: () => [], menu: !0, variant: "underlined" }, $i = { ...Bt, ...la, ...xt, icons: !0, falseIcon: "" }, Ei = { ...Ml, ...xt, ...Bt, autoGrow: !0, rows: 1, truncateLength: void 0, truncateSuffix: "...", variant: "underlined" }, oa = { ...Bt, ...Ml, ...xt, truncateLength: void 0, truncateSuffix: "...", variant: "underlined" }, Ti = { fa: { checkboxFalse: "$checkboxOff", checkboxTrue: "far fa-square-check", clear: "$clear", false: "$close", loading: "fa-circle-notch", save: "fa-floppy-disk", true: "$complete" }, mdi: { checkboxFalse: "$checkboxOff", checkboxTrue: "mdi:mdi-checkbox-outline", clear: "$clear", false: "$close", loading: "mdi-loading", save: "mdi-content-save", true: "$complete" } }, on = (e) => { - const { icon: t, iconOptions: n, name: l } = e; - if (t) - return t; - const o = Ti[n == null ? void 0 : n.defaultSet]; +const Kt = Symbol("identifier"), Jt = { elevation: 5, variant: "flat" }, Bn = { cancelButtonColor: "default", cancelButtonSize: "x-small", cancelButtonTitle: "Cancel", cancelButtonVariant: "text", cancelIcon: void 0, cancelIconColor: "default", cardField: !1, cardOffsetX: 0, cardOffsetY: 0, cardProps: () => ({}), cell: !1, cellUnderlineFullWidth: !0, closeSiblings: !1, color: "primary", density: "compact", disabled: !1, displayAppendIcon: void 0, displayAppendIconColor: void 0, displayAppendIconSize: "x-small", displayAppendInnerIcon: void 0, displayAppendInnerIconColor: void 0, displayAppendInnerIconSize: "x-small", displayPrependIcon: void 0, displayPrependIconColor: void 0, displayPrependIconSize: "x-small", displayPrependInnerIcon: void 0, displayPrependInnerIconColor: void 0, displayPrependInnerIconSize: "x-small", emptyText: "empty", error: !1, fieldOnly: !1, hideCancelIcon: !1, hideDetails: !0, label: "", loading: !1, loadingWait: !0, name: "", tableField: !0, underlineColor: "primary", underlineStyle: "dotted", underlineWidth: "2px", underlined: !0, valueColor: "default" }, Ml = { autofocus: !0 }, xn = { hideCancelIcon: !1, hideSaveIcon: !1, loadingIcon: void 0, loadingIconColor: "primary", saveButtonColor: "primary", saveButtonSize: "x-small", saveButtonTitle: "Save", saveButtonVariant: "text", saveIcon: void 0, saveIconColor: "primary" }, oa = { falseValue: !1, iconFalse: void 0, iconFalseColor: "danger", iconFalseTitle: "No", iconTrue: void 0, iconTrueColor: "success", iconTrueTitle: "Yes", icons: !0, trueValue: !0 }, wi = { ...Bn, ...oa, ...xn, falseIcon: void 0, icons: !0, trueIcon: void 0 }, Fi = { ...Bn, ...Ml, ...xn, clearIcon: void 0, clearable: !1, hideSelected: !0, itemTitle: "title", itemValue: "value", items: () => [], menu: !0, variant: "underlined" }, Ai = { ...Bn, ...oa, ...xn, icons: !0, falseIcon: "" }, Vi = { ...Ml, ...xn, ...Bn, autoGrow: !0, rows: 1, truncateLength: void 0, truncateSuffix: "...", variant: "underlined" }, aa = { ...Bn, ...Ml, ...xn, truncateLength: void 0, truncateSuffix: "...", variant: "underlined" }, re = "v-inline-fields", Zt = (e) => { + const { cell: n = !1, field: t = "", density: l = "", disabled: o = !1, iconSet: a = "mdi", loading: c = !1, loadingWait: u, tableField: s = !1, variant: i } = e, p = l && i; + return { [`${re}`]: !0, [`${re}--container`]: !0, [`${re}--container-cell`]: n, [`${re}--container-disabled`]: r(o), [`${re}--container-table`]: s, [`${re}--container-icon-set-${a}`]: !0, [`${re}--container-loading`]: c && u, [`${re}--container-${t}`]: !0, [`${re}--container-${t}-${l}`]: !0, [`${re}--container-${t}-${l}-${i}`]: p, [`${re}--container-${t}-${i}`]: i, [`${re}--container-${t}-${i}-${l}`]: p, [`${re}--container-${l}`]: l, [`${re}--container-${l}-${t}`]: l, [`${re}--container-${l}-${i}`]: p, [`${re}--container-${i}`]: i, [`${re}--container-${i}-${l}`]: p, [`${re}--container-${i}-${t}`]: i }; +}, Qt = (e) => { + const { cell: n = !1, cellUnderlineFullWidth: t = !0, field: l = "", density: o = "" } = e; + return { [`${re}--display-container-cell`]: n, [`${re}--display-container-cell-underline-full-width`]: n && t, [`${re}--display-container`]: !0, [`${re}--display-wrapper-value`]: !0, [`${l}`]: !0, "v-input": !0, [`v-input--density-${o}`]: !0, "v-input--horizontal": !0 }; +}, al = (e) => { + const { density: n = "", variant: t = "" } = e; + return { "v-input": !0, "v-input--dirty": !0, "v-input--horizontal": !0, "v-text-field": !0, [`v-input--density-${n}`]: !0, [`v-text-field--plain-${t}`]: !0 }; +}, ia = (e) => { + const { density: n = "" } = e; + return { [`${re}--selection-control`]: !0, [`v-selection-control--density-${n}`]: !0 }; +}, Rl = (e, n, t) => { + const { error: l = !1, empty: o = !1 } = t; + return { [`${re}`]: !0, [`${re}--display-value-${e}`]: !0, [`${re}--display-value`]: !0, [`${re}--display-value-empty`]: r(o), [`text-${n}`]: !r(l), "text-danger": r(l) }; +}, en = (e) => { + const { name: n, active: t = !1 } = e; + return { [`${re}`]: !0, [`${re}--field`]: !0, [`${re}--field-${n}`]: !0, [`${re}--field-active`]: t }; +}, tn = (e) => { + const { name: n, showField: t } = e; + return { [`${re}--card-container`]: !0, [`${re}--card-container-${n}`]: !0, "d-none": !t }; +}, _i = { fa: { checkboxFalse: "$checkboxOff", checkboxTrue: "far fa-square-check", clear: "$clear", false: "$close", loading: "fa-circle-notch", save: "fa-floppy-disk", true: "$complete" }, mdi: { checkboxFalse: "$checkboxOff", checkboxTrue: "mdi:mdi-checkbox-outline", clear: "$clear", false: "$close", loading: "mdi-loading", save: "mdi-content-save", true: "$complete" } }, ot = (e) => { + const { icon: n, iconOptions: t, name: l } = e; + if (n) + return n; + const o = _i[t == null ? void 0 : t.defaultSet]; if (!o) - throw new Error(`VInlineFields: No VInlineFields default ${n == null ? void 0 : n.defaultSet} icon set found for ${l}. Please set the icon prop.`); + throw new Error(`VInlineFields: No VInlineFields default ${t == null ? void 0 : t.defaultSet} icon set found for ${l}. Please set the icon prop.`); const a = o[l]; if (!a) throw new Error(`VInlineFields: No ${l} icon found. Please set the icon prop, or set the default icon set to 'mdi' or 'fa'`); return a; -}; -function H(e, t) { - return (n) => Object.keys(e).reduce((l, o) => { - const a = typeof e[o] == "object" && e[o] != null && !Array.isArray(e[o]) ? e[o] : { type: e[o] }; - return l[o] = n && o in n ? { ...a, default: n[o] } : a, t && !l[o].source && (l[o].source = t), l; - }, {}); -} -const ye = H({ class: [String, Array], style: { type: [String, Array, Object], default: null } }, "component"), Ke = typeof window < "u", Rl = Ke && "IntersectionObserver" in window; -function io(e, t, n) { - const l = t.length - 1; +}, Ke = typeof window < "u", Nl = Ke && "IntersectionObserver" in window; +function io(e, n, t) { + const l = n.length - 1; if (l < 0) - return e === void 0 ? n : e; + return e === void 0 ? t : e; for (let o = 0; o < l; o++) { if (e == null) - return n; - e = e[t[o]]; + return t; + e = e[n[o]]; } - return e == null || e[t[l]] === void 0 ? n : e[t[l]]; + return e == null || e[n[l]] === void 0 ? t : e[n[l]]; } -function Qn(e, t) { - if (e === t) +function nn(e, n) { + if (e === n) return !0; - if (e instanceof Date && t instanceof Date && e.getTime() !== t.getTime() || e !== Object(e) || t !== Object(t)) + if (e instanceof Date && n instanceof Date && e.getTime() !== n.getTime() || e !== Object(e) || n !== Object(n)) return !1; - const n = Object.keys(e); - return n.length === Object.keys(t).length && n.every((l) => Qn(e[l], t[l])); + const t = Object.keys(e); + return t.length === Object.keys(n).length && t.every((l) => nn(e[l], n[l])); } -function dn(e, t, n) { - if (t === !0) - return e === void 0 ? n : e; - if (t == null || typeof t == "boolean") - return n; +function ct(e, n, t) { + if (n === !0) + return e === void 0 ? t : e; + if (n == null || typeof n == "boolean") + return t; if (e !== Object(e)) { - if (typeof t != "function") - return n; - const o = t(e, n); - return o === void 0 ? n : o; + if (typeof n != "function") + return t; + const o = n(e, t); + return o === void 0 ? t : o; } - if (typeof t == "string") + if (typeof n == "string") return function(o, a, c) { return o != null && a && typeof a == "string" ? o[a] !== void 0 ? o[a] : io(o, (a = (a = a.replace(/\[(\w+)\]/g, ".$1")).replace(/^\./, "")).split("."), c) : c; - }(e, t, n); - if (Array.isArray(t)) - return io(e, t, n); - if (typeof t != "function") - return n; - const l = t(e, n); - return l === void 0 ? n : l; + }(e, n, t); + if (Array.isArray(n)) + return io(e, n, t); + if (typeof n != "function") + return t; + const l = n(e, t); + return l === void 0 ? t : l; } -function ae(e) { - let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "px"; - return e == null || e === "" ? void 0 : isNaN(+e) ? String(e) : isFinite(+e) ? `${Number(e)}${t}` : void 0; +function ie(e) { + let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "px"; + return e == null || e === "" ? void 0 : isNaN(+e) ? String(e) : isFinite(+e) ? `${Number(e)}${n}` : void 0; } function Sl(e) { return e !== null && typeof e == "object" && !Array.isArray(e); } -function Ut(e) { +function Un(e) { if (e && "$el" in e) { - const t = e.$el; - return (t == null ? void 0 : t.nodeType) === Node.TEXT_NODE ? t.nextElementSibling : t; + const n = e.$el; + return (n == null ? void 0 : n.nodeType) === Node.TEXT_NODE ? n.nextElementSibling : n; } return e; } const ro = Object.freeze({ enter: 13, tab: 9, delete: 46, esc: 27, space: 32, up: 38, down: 40, left: 37, right: 39, end: 35, home: 36, del: 46, backspace: 8, insert: 45, pageup: 33, pagedown: 34, shift: 16 }); -function vl(e, t) { - return t.every((n) => e.hasOwnProperty(n)); +function vl(e, n) { + return n.every((t) => e.hasOwnProperty(t)); } -function aa(e, t) { - const n = {}, l = new Set(Object.keys(e)); - for (const o of t) - l.has(o) && (n[o] = e[o]); - return n; +function ra(e, n) { + const t = {}, l = new Set(Object.keys(e)); + for (const o of n) + l.has(o) && (t[o] = e[o]); + return t; } -function so(e, t, n) { +function so(e, n, t) { const l = /* @__PURE__ */ Object.create(null), o = /* @__PURE__ */ Object.create(null); for (const a in e) - t.some((c) => c instanceof RegExp ? c.test(a) : c === a) && !(n != null && n.some((c) => c === a)) ? l[a] = e[a] : o[a] = e[a]; + n.some((c) => c instanceof RegExp ? c.test(a) : c === a) && !(t != null && t.some((c) => c === a)) ? l[a] = e[a] : o[a] = e[a]; return [l, o]; } -function zn(e, t) { - const n = { ...e }; - return t.forEach((l) => delete n[l]), n; +function Tt(e, n) { + const t = { ...e }; + return n.forEach((l) => delete t[l]), t; } -const ia = /^on[^a-z]/, Bl = (e) => ia.test(e), zi = ["onAfterscriptexecute", "onAnimationcancel", "onAnimationend", "onAnimationiteration", "onAnimationstart", "onAuxclick", "onBeforeinput", "onBeforescriptexecute", "onChange", "onClick", "onCompositionend", "onCompositionstart", "onCompositionupdate", "onContextmenu", "onCopy", "onCut", "onDblclick", "onFocusin", "onFocusout", "onFullscreenchange", "onFullscreenerror", "onGesturechange", "onGestureend", "onGesturestart", "onGotpointercapture", "onInput", "onKeydown", "onKeypress", "onKeyup", "onLostpointercapture", "onMousedown", "onMousemove", "onMouseout", "onMouseover", "onMouseup", "onMousewheel", "onPaste", "onPointercancel", "onPointerdown", "onPointerenter", "onPointerleave", "onPointermove", "onPointerout", "onPointerover", "onPointerup", "onReset", "onSelect", "onSubmit", "onTouchcancel", "onTouchend", "onTouchmove", "onTouchstart", "onTransitioncancel", "onTransitionend", "onTransitionrun", "onTransitionstart", "onWheel"]; -function kt(e) { - const [t, n] = so(e, [ia]), l = zn(t, zi), [o, a] = so(n, ["class", "style", "id", /^data-/]); - return Object.assign(o, t), Object.assign(a, l), [o, a]; +const sa = /^on[^a-z]/, Bl = (e) => sa.test(e), Oi = ["onAfterscriptexecute", "onAnimationcancel", "onAnimationend", "onAnimationiteration", "onAnimationstart", "onAuxclick", "onBeforeinput", "onBeforescriptexecute", "onChange", "onClick", "onCompositionend", "onCompositionstart", "onCompositionupdate", "onContextmenu", "onCopy", "onCut", "onDblclick", "onFocusin", "onFocusout", "onFullscreenchange", "onFullscreenerror", "onGesturechange", "onGestureend", "onGesturestart", "onGotpointercapture", "onInput", "onKeydown", "onKeypress", "onKeyup", "onLostpointercapture", "onMousedown", "onMousemove", "onMouseout", "onMouseover", "onMouseup", "onMousewheel", "onPaste", "onPointercancel", "onPointerdown", "onPointerenter", "onPointerleave", "onPointermove", "onPointerout", "onPointerover", "onPointerup", "onReset", "onSelect", "onSubmit", "onTouchcancel", "onTouchend", "onTouchmove", "onTouchstart", "onTransitioncancel", "onTransitionend", "onTransitionrun", "onTransitionstart", "onWheel"]; +function kn(e) { + const [n, t] = so(e, [sa]), l = Tt(n, Oi), [o, a] = so(t, ["class", "style", "id", /^data-/]); + return Object.assign(o, n), Object.assign(a, l), [o, a]; } -function pn(e) { +function dt(e) { return e == null ? [] : Array.isArray(e) ? e : [e]; } -function Gn(e) { - let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 1; - return Math.max(t, Math.min(n, e)); +function jt(e) { + let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 1; + return Math.max(n, Math.min(t, e)); } -function uo(e, t) { - return e + (arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "0").repeat(Math.max(0, t - e.length)); +function uo(e, n) { + return e + (arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "0").repeat(Math.max(0, n - e.length)); } -function Nn() { - let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = arguments.length > 2 ? arguments[2] : void 0; +function Rt() { + let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, t = arguments.length > 2 ? arguments[2] : void 0; const l = {}; for (const o in e) l[o] = e[o]; - for (const o in t) { - const a = e[o], c = t[o]; - Sl(a) && Sl(c) ? l[o] = Nn(a, c, n) : Array.isArray(a) && Array.isArray(c) && n ? l[o] = n(a, c) : l[o] = c; + for (const o in n) { + const a = e[o], c = n[o]; + Sl(a) && Sl(c) ? l[o] = Rt(a, c, t) : Array.isArray(a) && Array.isArray(c) && t ? l[o] = t(a, c) : l[o] = c; } return l; } -function ra(e) { - return e.map((t) => t.type === Fe ? ra(t.children) : t).flat(); +function ua(e) { + return e.map((n) => n.type === Fe ? ua(n.children) : n).flat(); } -function wn() { +function kt() { let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : ""; - if (wn.cache.has(e)) - return wn.cache.get(e); - const t = e.replace(/[^a-z]/gi, "-").replace(/\B([A-Z])/g, "-$1").toLowerCase(); - return wn.cache.set(e, t), t; + if (kt.cache.has(e)) + return kt.cache.get(e); + const n = e.replace(/[^a-z]/gi, "-").replace(/\B([A-Z])/g, "-$1").toLowerCase(); + return kt.cache.set(e, n), n; } -function Rt(e, t) { - if (!t || typeof t != "object") +function Rn(e, n) { + if (!n || typeof n != "object") return []; - if (Array.isArray(t)) - return t.map((n) => Rt(e, n)).flat(1); - if (Array.isArray(t.children)) - return t.children.map((n) => Rt(e, n)).flat(1); - if (t.component) { - if (Object.getOwnPropertySymbols(t.component.provides).includes(e)) - return [t.component]; - if (t.component.subTree) - return Rt(e, t.component.subTree).flat(1); + if (Array.isArray(n)) + return n.map((t) => Rn(e, t)).flat(1); + if (Array.isArray(n.children)) + return n.children.map((t) => Rn(e, t)).flat(1); + if (n.component) { + if (Object.getOwnPropertySymbols(n.component.provides).includes(e)) + return [n.component]; + if (n.component.subTree) + return Rn(e, n.component.subTree).flat(1); } return []; } -function Nl(e) { - const t = ln({}), n = v(e); - return rn(() => { - for (const l in n.value) - t[l] = n.value[l]; - }, { flush: "sync" }), xn(t); +function jl(e) { + const n = lt({}), t = v(e); + return it(() => { + for (const l in t.value) + n[l] = t.value[l]; + }, { flush: "sync" }), Bt(n); } -function qt(e, t) { - return e.includes(t); +function qn(e, n) { + return e.includes(n); } function co(e) { return e[2].toLowerCase() + e.slice(3); } -wn.cache = /* @__PURE__ */ new Map(); -const an = () => [Function, Array]; -function po(e, t) { - return !!(e[t = "on" + Qo(t)] || e[`${t}Once`] || e[`${t}Capture`] || e[`${t}OnceCapture`] || e[`${t}CaptureOnce`]); +kt.cache = /* @__PURE__ */ new Map(); +const at = () => [Function, Array]; +function po(e, n) { + return !!(e[n = "on" + ea(n)] || e[`${n}Once`] || e[`${n}Capture`] || e[`${n}OnceCapture`] || e[`${n}CaptureOnce`]); } -function sa(e) { - for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), l = 1; l < t; l++) - n[l - 1] = arguments[l]; +function ca(e) { + for (var n = arguments.length, t = new Array(n > 1 ? n - 1 : 0), l = 1; l < n; l++) + t[l - 1] = arguments[l]; if (Array.isArray(e)) for (const o of e) - o(...n); + o(...t); else - typeof e == "function" && e(...n); + typeof e == "function" && e(...t); } function xl(e) { - let t = !(arguments.length > 1 && arguments[1] !== void 0) || arguments[1]; - const n = ["button", "[href]", 'input:not([type="hidden"])', "select", "textarea", "[tabindex]"].map((l) => `${l}${t ? ':not([tabindex="-1"])' : ""}:not([disabled])`).join(", "); - return [...e.querySelectorAll(n)]; + let n = !(arguments.length > 1 && arguments[1] !== void 0) || arguments[1]; + const t = ["button", "[href]", 'input:not([type="hidden"])', "select", "textarea", "[tabindex]"].map((l) => `${l}${n ? ':not([tabindex="-1"])' : ""}:not([disabled])`).join(", "); + return [...e.querySelectorAll(t)]; } -function ua(e, t, n) { +function da(e, n, t) { let l, o = e.indexOf(document.activeElement); - const a = t === "next" ? 1 : -1; + const a = n === "next" ? 1 : -1; do o += a, l = e[o]; - while ((!l || l.offsetParent == null || !((n == null ? void 0 : n(l)) ?? 1)) && o < e.length && o >= 0); + while ((!l || l.offsetParent == null || !((t == null ? void 0 : t(l)) ?? 1)) && o < e.length && o >= 0); return l; } -function Ht(e, t) { +function Hn(e, n) { var l, o, a, c; - const n = xl(e); - if (t) - if (t === "first") - (l = n[0]) == null || l.focus(); - else if (t === "last") - (o = n.at(-1)) == null || o.focus(); - else if (typeof t == "number") - (a = n[t]) == null || a.focus(); + const t = xl(e); + if (n) + if (n === "first") + (l = t[0]) == null || l.focus(); + else if (n === "last") + (o = t.at(-1)) == null || o.focus(); + else if (typeof n == "number") + (a = t[n]) == null || a.focus(); else { - const u = ua(n, t); - u ? u.focus() : Ht(e, t === "next" ? "first" : "last"); + const u = da(t, n); + u ? u.focus() : Hn(e, n === "next" ? "first" : "last"); } else - e !== document.activeElement && e.contains(document.activeElement) || ((c = n[0]) == null || c.focus()); + e !== document.activeElement && e.contains(document.activeElement) || ((c = t[0]) == null || c.focus()); } -function Yt(e, t) { - if (!(Ke && typeof CSS < "u" && CSS.supports !== void 0 && CSS.supports(`selector(${t})`))) +function Yn(e, n) { + if (!(Ke && typeof CSS < "u" && CSS.supports !== void 0 && CSS.supports(`selector(${n})`))) return null; try { - return !!e && e.matches(t); + return !!e && e.matches(n); } catch { return null; } } -function ca(e) { - return e.some((t) => !Si(t) || t.type !== Bi && (t.type !== Fe || ca(t.children))) ? e : null; +function pa(e) { + return e.some((n) => !gi(n) || n.type !== hi && (n.type !== Fe || pa(n.children))) ? e : null; } -const da = ["top", "bottom"], Di = ["start", "end", "left", "right"]; -function kl(e, t) { - let [n, l] = e.split(" "); - return l || (l = qt(da, n) ? "start" : qt(Di, n) ? "top" : "center"), { side: vo(n, t), align: vo(l, t) }; +const va = ["top", "bottom"], Pi = ["start", "end", "left", "right"]; +function kl(e, n) { + let [t, l] = e.split(" "); + return l || (l = qn(va, t) ? "start" : qn(Pi, t) ? "top" : "center"), { side: vo(t, n), align: vo(l, n) }; } -function vo(e, t) { - return e === "start" ? t ? "right" : "left" : e === "end" ? t ? "left" : "right" : e; +function vo(e, n) { + return e === "start" ? n ? "right" : "left" : e === "end" ? n ? "left" : "right" : e; } function fl(e) { return { side: { center: "center", top: "bottom", bottom: "top", left: "right", right: "left" }[e.side], align: e.align }; @@ -243,12 +257,12 @@ function fo(e) { return { side: e.align, align: e.side }; } function yo(e) { - return qt(da, e.side) ? "y" : "x"; + return qn(va, e.side) ? "y" : "x"; } -class Fn { - constructor(t) { - let { x: n, y: l, width: o, height: a } = t; - this.x = n, this.y = l, this.width = o, this.height = a; +class wt { + constructor(n) { + let { x: t, y: l, width: o, height: a } = n; + this.x = t, this.y = l, this.width = o, this.height = a; } get top() { return this.y; @@ -263,34 +277,34 @@ class Fn { return this.x + this.width; } } -function mo(e, t) { - return { x: { before: Math.max(0, t.left - e.left), after: Math.max(0, e.right - t.right) }, y: { before: Math.max(0, t.top - e.top), after: Math.max(0, e.bottom - t.bottom) } }; +function mo(e, n) { + return { x: { before: Math.max(0, n.left - e.left), after: Math.max(0, e.right - n.right) }, y: { before: Math.max(0, n.top - e.top), after: Math.max(0, e.bottom - n.bottom) } }; } -function pa(e) { - return Array.isArray(e) ? new Fn({ x: e[0], y: e[1], width: 0, height: 0 }) : e.getBoundingClientRect(); +function fa(e) { + return Array.isArray(e) ? new wt({ x: e[0], y: e[1], width: 0, height: 0 }) : e.getBoundingClientRect(); } -function jl(e) { - const t = e.getBoundingClientRect(), n = getComputedStyle(e), l = n.transform; +function Gl(e) { + const n = e.getBoundingClientRect(), t = getComputedStyle(e), l = t.transform; if (l) { let o, a, c, u, s; if (l.startsWith("matrix3d(")) o = l.slice(9, -1).split(/, /), a = +o[0], c = +o[5], u = +o[12], s = +o[13]; else { if (!l.startsWith("matrix(")) - return new Fn(t); + return new wt(n); o = l.slice(7, -1).split(/, /), a = +o[0], c = +o[3], u = +o[4], s = +o[5]; } - const i = n.transformOrigin, p = t.x - u - (1 - a) * parseFloat(i), y = t.y - s - (1 - c) * parseFloat(i.slice(i.indexOf(" ") + 1)), f = a ? t.width / a : e.offsetWidth + 1, m = c ? t.height / c : e.offsetHeight + 1; - return new Fn({ x: p, y, width: f, height: m }); + const i = t.transformOrigin, p = n.x - u - (1 - a) * parseFloat(i), y = n.y - s - (1 - c) * parseFloat(i.slice(i.indexOf(" ") + 1)), f = a ? n.width / a : e.offsetWidth + 1, m = c ? n.height / c : e.offsetHeight + 1; + return new wt({ x: p, y, width: f, height: m }); } - return new Fn(t); + return new wt(n); } -function jn(e, t, n) { +function Nt(e, n, t) { if (e.animate === void 0) return { finished: Promise.resolve() }; let l; try { - l = e.animate(t, n); + l = e.animate(n, t); } catch { return { finished: Promise.resolve() }; } @@ -300,40 +314,40 @@ function jn(e, t, n) { }; })), l; } -const Dt = /* @__PURE__ */ new WeakMap(), Rn = 2.4, go = 0.2126729, ho = 0.7151522, bo = 0.072175, Li = 0.55, Wi = 0.58, Mi = 0.57, Ri = 0.62, Lt = 0.03, Co = 1.45, Ni = 5e-4, ji = 1.25, Gi = 1.25, Io = 0.078, So = 12.82051282051282, Wt = 0.06, Bo = 1e-3; -function xo(e, t) { - const n = (e.r / 255) ** Rn, l = (e.g / 255) ** Rn, o = (e.b / 255) ** Rn, a = (t.r / 255) ** Rn, c = (t.g / 255) ** Rn, u = (t.b / 255) ** Rn; - let s, i = n * go + l * ho + o * bo, p = a * go + c * ho + u * bo; - if (i <= Lt && (i += (Lt - i) ** Co), p <= Lt && (p += (Lt - p) ** Co), Math.abs(p - i) < Ni) +const Dn = /* @__PURE__ */ new WeakMap(), Mt = 2.4, go = 0.2126729, ho = 0.7151522, bo = 0.072175, $i = 0.55, Ei = 0.58, Ti = 0.57, zi = 0.62, Ln = 0.03, Co = 1.45, Di = 5e-4, Li = 1.25, Wi = 1.25, Io = 0.078, So = 12.82051282051282, Wn = 0.06, Bo = 1e-3; +function xo(e, n) { + const t = (e.r / 255) ** Mt, l = (e.g / 255) ** Mt, o = (e.b / 255) ** Mt, a = (n.r / 255) ** Mt, c = (n.g / 255) ** Mt, u = (n.b / 255) ** Mt; + let s, i = t * go + l * ho + o * bo, p = a * go + c * ho + u * bo; + if (i <= Ln && (i += (Ln - i) ** Co), p <= Ln && (p += (Ln - p) ** Co), Math.abs(p - i) < Di) return 0; if (p > i) { - const y = (p ** Li - i ** Wi) * ji; - s = y < Bo ? 0 : y < Io ? y - y * So * Wt : y - Wt; + const y = (p ** $i - i ** Ei) * Li; + s = y < Bo ? 0 : y < Io ? y - y * So * Wn : y - Wn; } else { - const y = (p ** Ri - i ** Mi) * Gi; - s = y > -Bo ? 0 : y > -Io ? y - y * So * Wt : y + Wt; + const y = (p ** zi - i ** Ti) * Wi; + s = y > -Bo ? 0 : y > -Io ? y - y * So * Wn : y + Wn; } return 100 * s; } -function gt(e) { +function gn(e) { ll(`Vuetify: ${e}`); } function ml(e) { return !!e && /^(#|var\(--|(rgb|hsl)a?\()/.test(e); } -const ko = /^(?(?:rgb|hsl)a?)\((?.+)\)/, Ui = { rgb: (e, t, n, l) => ({ r: e, g: t, b: n, a: l }), rgba: (e, t, n, l) => ({ r: e, g: t, b: n, a: l }), hsl: (e, t, n, l) => wo({ h: e, s: t, l: n, a: l }), hsla: (e, t, n, l) => wo({ h: e, s: t, l: n, a: l }), hsv: (e, t, n, l) => ht({ h: e, s: t, v: n, a: l }), hsva: (e, t, n, l) => ht({ h: e, s: t, v: n, a: l }) }; -function ft(e) { +const ko = /^(?(?:rgb|hsl)a?)\((?.+)\)/, Mi = { rgb: (e, n, t, l) => ({ r: e, g: n, b: t, a: l }), rgba: (e, n, t, l) => ({ r: e, g: n, b: t, a: l }), hsl: (e, n, t, l) => wo({ h: e, s: n, l: t, a: l }), hsla: (e, n, t, l) => wo({ h: e, s: n, l: t, a: l }), hsv: (e, n, t, l) => hn({ h: e, s: n, v: t, a: l }), hsva: (e, n, t, l) => hn({ h: e, s: n, v: t, a: l }) }; +function fn(e) { if (typeof e == "number") - return (isNaN(e) || e < 0 || e > 16777215) && gt(`'${e}' is not a valid hex color`), { r: (16711680 & e) >> 16, g: (65280 & e) >> 8, b: 255 & e }; + return (isNaN(e) || e < 0 || e > 16777215) && gn(`'${e}' is not a valid hex color`), { r: (16711680 & e) >> 16, g: (65280 & e) >> 8, b: 255 & e }; if (typeof e == "string" && ko.test(e)) { - const { groups: t } = e.match(ko), { fn: n, values: l } = t, o = l.split(/,\s*/).map((a) => a.endsWith("%") && ["hsl", "hsla", "hsv", "hsva"].includes(n) ? parseFloat(a) / 100 : parseFloat(a)); - return Ui[n](...o); + const { groups: n } = e.match(ko), { fn: t, values: l } = n, o = l.split(/,\s*/).map((a) => a.endsWith("%") && ["hsl", "hsla", "hsv", "hsva"].includes(t) ? parseFloat(a) / 100 : parseFloat(a)); + return Mi[t](...o); } if (typeof e == "string") { - let t = e.startsWith("#") ? e.slice(1) : e; - [3, 4].includes(t.length) ? t = t.split("").map((l) => l + l).join("") : [6, 8].includes(t.length) || gt(`'${e}' is not a valid hex(a) color`); - const n = parseInt(t, 16); - return (isNaN(n) || n < 0 || n > 4294967295) && gt(`'${e}' is not a valid hex(a) color`), function(l) { + let n = e.startsWith("#") ? e.slice(1) : e; + [3, 4].includes(n.length) ? n = n.split("").map((l) => l + l).join("") : [6, 8].includes(n.length) || gn(`'${e}' is not a valid hex(a) color`); + const t = parseInt(n, 16); + return (isNaN(t) || t < 0 || t > 4294967295) && gn(`'${e}' is not a valid hex(a) color`), function(l) { l = function(s) { return s.startsWith("#") && (s = s.slice(1)), s = s.replace(/([^0-9a-f])/gi, "F"), (s.length === 3 || s.length === 4) && (s = s.split("").map((i) => i + i).join("")), s.length !== 6 && (s = uo(uo(s, 6), 8, "F")), s; }(l); @@ -346,77 +360,83 @@ function ft(e) { return p; }(l, 2).map((s) => parseInt(s, 16)); return u = u === void 0 ? u : u / 255, { r: o, g: a, b: c, a: u }; - }(t); + }(n); } if (typeof e == "object") { if (vl(e, ["r", "g", "b"])) return e; if (vl(e, ["h", "s", "l"])) - return ht(va(e)); + return hn(ya(e)); if (vl(e, ["h", "s", "v"])) - return ht(e); + return hn(e); } throw new TypeError(`Invalid color: ${e == null ? e : String(e) || e.constructor.name} Expected #hex, #hexa, rgb(), rgba(), hsl(), hsla(), object or number`); } -function ht(e) { - const { h: t, s: n, v: l, a: o } = e, a = (u) => { - const s = (u + t / 60) % 6; - return l - l * n * Math.max(Math.min(s, 4 - s, 1), 0); +function hn(e) { + const { h: n, s: t, v: l, a: o } = e, a = (u) => { + const s = (u + n / 60) % 6; + return l - l * t * Math.max(Math.min(s, 4 - s, 1), 0); }, c = [a(5), a(3), a(1)].map((u) => Math.round(255 * u)); return { r: c[0], g: c[1], b: c[2], a: o }; } function wo(e) { - return ht(va(e)); + return hn(ya(e)); } -function va(e) { - const { h: t, s: n, l, a: o } = e, a = l + n * Math.min(l, 1 - l); - return { h: t, s: a === 0 ? 0 : 2 - 2 * l / a, v: a, a: o }; +function ya(e) { + const { h: n, s: t, l, a: o } = e, a = l + t * Math.min(l, 1 - l); + return { h: n, s: a === 0 ? 0 : 2 - 2 * l / a, v: a, a: o }; } -const Xt = Symbol.for("vuetify:defaults"); -function Gl() { - const e = me(Xt); +function H(e, n) { + return (t) => Object.keys(e).reduce((l, o) => { + const a = typeof e[o] == "object" && e[o] != null && !Array.isArray(e[o]) ? e[o] : { type: e[o] }; + return l[o] = t && o in t ? { ...a, default: t[o] } : a, n && !l[o].source && (l[o].source = n), l; + }, {}); +} +const ye = H({ class: [String, Array], style: { type: [String, Array, Object], default: null } }, "component"), Xn = Symbol.for("vuetify:defaults"); +function Ul() { + const e = me(Xn); if (!e) throw new Error("[Vuetify] Could not find defaults instance"); return e; } -function et(e, t) { - const n = Gl(), l = D(e), o = v(() => { - if (r(t == null ? void 0 : t.disabled)) - return n.value; - const a = r(t == null ? void 0 : t.scoped), c = r(t == null ? void 0 : t.reset), u = r(t == null ? void 0 : t.root); +function ln(e, n) { + const t = Ul(), l = D(e), o = v(() => { + if (r(n == null ? void 0 : n.disabled)) + return t.value; + const a = r(n == null ? void 0 : n.scoped), c = r(n == null ? void 0 : n.reset), u = r(n == null ? void 0 : n.root); if (l.value == null && !(a || c || u)) - return n.value; - let s = Nn(l.value, { prev: n.value }); + return t.value; + let s = Rt(l.value, { prev: t.value }); if (a) return s; if (c || u) { const i = Number(c || 1 / 0); for (let p = 0; p <= i && s && "prev" in s; p++) s = s.prev; - return s && typeof u == "string" && u in s && (s = Nn(Nn(s, { prev: s }), s[u])), s; + return s && typeof u == "string" && u in s && (s = Rt(Rt(s, { prev: s }), s[u])), s; } - return s.prev ? Nn(s.prev, s) : s; + return s.prev ? Rt(s.prev, s) : s; }); - return nn(Xt, o), o; + return tt(Xn, o), o; } -function qi() { - let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0, n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Gl(); +function Ri() { + let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = arguments.length > 1 ? arguments[1] : void 0, t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Ul(); const l = Le("useDefaults"); - if (t = t ?? l.type.name ?? l.type.__name, !t) + if (n = n ?? l.type.name ?? l.type.__name, !n) throw new Error("[Vuetify] Could not determine component name"); const o = v(() => { var u; - return (u = n.value) == null ? void 0 : u[e._as ?? t]; + return (u = t.value) == null ? void 0 : u[e._as ?? n]; }), a = new Proxy(e, { get(u, s) { var p, y, f, m; const i = Reflect.get(u, s); return s === "class" || s === "style" ? [(p = o.value) == null ? void 0 : p[s], i].filter((h) => h != null) : typeof s != "string" || function(h, b) { - var g, C; - return ((g = h.props) == null ? void 0 : g[b]) !== void 0 || ((C = h.props) == null ? void 0 : C[wn(b)]) !== void 0; - }(l.vnode, s) ? i : ((y = o.value) == null ? void 0 : y[s]) ?? ((m = (f = n.value) == null ? void 0 : f.global) == null ? void 0 : m[s]) ?? i; + var g, I; + return ((g = h.props) == null ? void 0 : g[b]) !== void 0 || ((I = h.props) == null ? void 0 : I[kt(b)]) !== void 0; + }(l.vnode, s) ? i : ((y = o.value) == null ? void 0 : y[s]) ?? ((m = (f = t.value) == null ? void 0 : f.global) == null ? void 0 : m[s]) ?? i; } }), c = de(); - return rn(() => { + return it(() => { if (o.value) { const u = Object.entries(o.value).filter((s) => { let [i] = s; @@ -431,35 +451,35 @@ function qi() { const { provides: p } = i; if (p && s in p) return p[s]; - }(Xt, l); - nn(Xt, v(() => c.value ? Nn((u == null ? void 0 : u.value) ?? {}, c.value) : u == null ? void 0 : u.value)); + }(Xn, l); + tt(Xn, v(() => c.value ? Rt((u == null ? void 0 : u.value) ?? {}, c.value) : u == null ? void 0 : u.value)); } }; } -function bt(e) { +function bn(e) { if (e._setup = e._setup ?? e.setup, !e.name) - return gt("The component is missing an explicit name, unable to generate default prop value"), e; + return gn("The component is missing an explicit name, unable to generate default prop value"), e; if (e._setup) { e.props = H(e.props ?? {}, e.name)(); - const t = Object.keys(e.props).filter((n) => n !== "class" && n !== "style"); - e.filterProps = function(n) { - return aa(n, t); - }, e.props._as = String, e.setup = function(n, l) { - const o = Gl(); + const n = Object.keys(e.props).filter((t) => t !== "class" && t !== "style"); + e.filterProps = function(t) { + return ra(t, n); + }, e.props._as = String, e.setup = function(t, l) { + const o = Ul(); if (!o.value) - return e._setup(n, l); - const { props: a, provideSubDefaults: c } = qi(n, n._as ?? e.name, o), u = e._setup(a, l); + return e._setup(t, l); + const { props: a, provideSubDefaults: c } = Ri(t, t._as ?? e.name, o), u = e._setup(a, l); return c(), u; }; } return e; } -function ne() { +function te() { let e = !(arguments.length > 0 && arguments[0] !== void 0) || arguments[0]; - return (t) => (e ? bt : sn)(t); + return (n) => (e ? bn : rt)(n); } -function wt(e) { - let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "div", n = arguments.length > 2 ? arguments[2] : void 0; - return ne()({ name: n ?? Qo(ea(e.replace(/__/g, "-"))), props: { tag: { type: String, default: t }, ...ye() }, setup(l, o) { +function wn(e) { + let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "div", t = arguments.length > 2 ? arguments[2] : void 0; + return te()({ name: t ?? ea(ta(e.replace(/__/g, "-"))), props: { tag: { type: String, default: n }, ...ye() }, setup(l, o) { let { slots: a } = o; return () => { var c; @@ -467,471 +487,223 @@ function wt(e) { }; } }); } -function fa(e) { +function ma(e) { if (typeof e.getRootNode != "function") { for (; e.parentNode; ) e = e.parentNode; return e !== document ? null : document; } - const t = e.getRootNode(); - return t !== document && t.getRootNode({ composed: !0 }) !== document ? null : t; + const n = e.getRootNode(); + return n !== document && n.getRootNode({ composed: !0 }) !== document ? null : n; } -const Kt = "cubic-bezier(0.4, 0, 0.2, 1)"; -function Le(e, t) { - const n = xi(); - if (!n) - throw new Error(`[Vuetify] ${e} ${t || "must be called from inside a setup function"}`); - return n; +const Kn = "cubic-bezier(0.4, 0, 0.2, 1)"; +function Le(e, n) { + const t = bi(); + if (!t) + throw new Error(`[Vuetify] ${e} ${n || "must be called from inside a setup function"}`); + return t; } -function un() { +function st() { const e = Le(arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "composables").type; - return wn((e == null ? void 0 : e.aliasName) || (e == null ? void 0 : e.name)); + return kt((e == null ? void 0 : e.aliasName) || (e == null ? void 0 : e.name)); } -let ya = 0, Nt = /* @__PURE__ */ new WeakMap(); -function tn() { +let ga = 0, Nn = /* @__PURE__ */ new WeakMap(); +function nt() { const e = Le("getUid"); - if (Nt.has(e)) - return Nt.get(e); + if (Nn.has(e)) + return Nn.get(e); { - const t = ya++; - return Nt.set(e, t), t; + const n = ga++; + return Nn.set(e, n), n; } } -function ma(e) { - let t = arguments.length > 1 && arguments[1] !== void 0 && arguments[1]; +function ha(e) { + let n = arguments.length > 1 && arguments[1] !== void 0 && arguments[1]; for (; e; ) { - if (t ? Hi(e) : Ul(e)) + if (n ? Ni(e) : ql(e)) return e; e = e.parentElement; } return document.scrollingElement; } -function Jt(e, t) { - const n = []; - if (t && e && !t.contains(e)) - return n; - for (; e && (Ul(e) && n.push(e), e !== t); ) +function Jn(e, n) { + const t = []; + if (n && e && !n.contains(e)) + return t; + for (; e && (ql(e) && t.push(e), e !== n); ) e = e.parentElement; - return n; + return t; } -function Ul(e) { +function ql(e) { if (!e || e.nodeType !== Node.ELEMENT_NODE) return !1; - const t = window.getComputedStyle(e); - return t.overflowY === "scroll" || t.overflowY === "auto" && e.scrollHeight > e.clientHeight; + const n = window.getComputedStyle(e); + return n.overflowY === "scroll" || n.overflowY === "auto" && e.scrollHeight > e.clientHeight; } -function Hi(e) { +function Ni(e) { if (!e || e.nodeType !== Node.ELEMENT_NODE) return !1; - const t = window.getComputedStyle(e); - return ["scroll", "auto"].includes(t.overflowY); + const n = window.getComputedStyle(e); + return ["scroll", "auto"].includes(n.overflowY); } function se(e) { Le("useRender").render = e; } -function ql(e) { - let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "content"; - const n = D(), l = D(); - if (Ke) { - const o = new ResizeObserver((a) => { - e == null || e(a, o), a.length && (l.value = t === "content" ? a[0].contentRect : a[0].target.getBoundingClientRect()); - }); - mn(() => { - o.disconnect(); - }), K(n, (a, c) => { - c && (o.unobserve(Ut(c)), l.value = void 0), a && o.observe(Ut(a)); - }, { flush: "post" }); - } - return { resizeRef: n, contentRect: zl(l) }; -} -function Vn(e, t) { - let n; - function l() { - n = Dl(), n.run(() => t.length ? t(() => { - n == null || n.stop(), l(); - }) : t()); - } - K(e, (o) => { - o && !n ? l() : o || (n == null || n.stop(), n = void 0); - }, { immediate: !0 }), He(() => { - n == null || n.stop(); - }); +nt.reset = () => { + ga = 0, Nn = /* @__PURE__ */ new WeakMap(); +}; +const on = H({ border: [Boolean, Number, String] }, "border"); +function an(e) { + let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : st(); + return { borderClasses: v(() => { + const t = _t(e) ? e.value : e.border, l = []; + if (t === !0 || t === "") + l.push(`${n}--border`); + else if (typeof t == "string" || t === 0) + for (const o of String(t).split(" ")) + l.push(`border-${o}`); + return l; + }) }; } -function $e(e, t, n) { - let l = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : (p) => p, o = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : (p) => p; - const a = Le("useProxiedModel"), c = D(e[t] !== void 0 ? e[t] : n), u = wn(t), s = v(u !== t ? () => { - var p, y, f, m; - return e[t], !(!((p = a.vnode.props) != null && p.hasOwnProperty(t)) && !((y = a.vnode.props) != null && y.hasOwnProperty(u)) || !((f = a.vnode.props) != null && f.hasOwnProperty(`onUpdate:${t}`)) && !((m = a.vnode.props) != null && m.hasOwnProperty(`onUpdate:${u}`))); - } : () => { - var p, y; - return e[t], !(!((p = a.vnode.props) != null && p.hasOwnProperty(t)) || !((y = a.vnode.props) != null && y.hasOwnProperty(`onUpdate:${t}`))); - }); - Vn(() => !s.value, () => { - K(() => e[t], (p) => { - c.value = p; - }); - }); - const i = v({ get() { - const p = e[t]; - return l(s.value ? p : c.value); - }, set(p) { - const y = o(p), f = Sn(s.value ? e[t] : c.value); - f !== y && l(f) !== p && (c.value = y, a == null || a.emit(`update:${t}`, y)); - } }); - return Object.defineProperty(i, "externalValue", { get: () => s.value ? e[t] : c.value }), i; +const ji = [null, "default", "comfortable", "compact"], ut = H({ density: { type: String, default: "default", validator: (e) => ji.includes(e) } }, "density"); +function gt(e) { + let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : st(); + return { densityClasses: v(() => `${n}--density-${e.density}`) }; } -tn.reset = () => { - ya = 0, Nt = /* @__PURE__ */ new WeakMap(); -}; -const ga = Symbol.for("vuetify:locale"); -function Hl() { - const e = me(ga); - if (!e) - throw new Error("[Vuetify] Could not find injected locale instance"); - return e; +const rn = H({ elevation: { type: [Number, String], validator(e) { + const n = parseInt(e); + return !isNaN(n) && n >= 0 && n <= 24; +} } }, "elevation"); +function sn(e) { + return { elevationClasses: v(() => { + const n = _t(e) ? e.value : e.elevation, t = []; + return n == null || t.push(`elevation-${n}`), t; + }) }; } -function Ft() { - const e = me(ga); - if (!e) - throw new Error("[Vuetify] Could not find injected rtl instance"); - return { isRtl: e.isRtl, rtlClasses: e.rtlClasses }; +const ht = H({ rounded: { type: [Boolean, Number, String], default: void 0 } }, "rounded"); +function bt(e) { + let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : st(); + return { roundedClasses: v(() => { + const t = _t(e) ? e.value : e.rounded, l = []; + if (t === !0 || t === "") + l.push(`${n}--rounded`); + else if (typeof t == "string" || t === 0) + for (const o of String(t).split(" ")) + l.push(`rounded-${o}`); + return l; + }) }; } -const Fo = Symbol.for("vuetify:theme"), Ne = H({ theme: String }, "theme"); +const et = H({ tag: { type: String, default: "div" } }, "tag"), Fo = Symbol.for("vuetify:theme"), Ne = H({ theme: String }, "theme"); function Xe(e) { Le("provideTheme"); - const t = me(Fo, null); - if (!t) + const n = me(Fo, null); + if (!n) throw new Error("Could not find Vuetify theme injection"); - const n = v(() => e.theme ?? t.name.value), l = v(() => t.themes.value[n.value]), o = v(() => t.isDisabled ? void 0 : `v-theme--${n.value}`), a = { ...t, name: n, current: l, themeClasses: o }; - return nn(Fo, a), a; -} -const en = H({ tag: { type: String, default: "div" } }, "tag"), Yi = H({ disabled: Boolean, group: Boolean, hideOnLeave: Boolean, leaveAbsolute: Boolean, mode: String, origin: String }, "transition"); -function Je(e, t, n) { - return ne()({ name: e, props: Yi({ mode: n, origin: t }), setup(l, o) { - let { slots: a } = o; - const c = { onBeforeEnter(u) { - l.origin && (u.style.transformOrigin = l.origin); - }, onLeave(u) { - if (l.leaveAbsolute) { - const { offsetTop: s, offsetLeft: i, offsetWidth: p, offsetHeight: y } = u; - u._transitionInitialStyles = { position: u.style.position, top: u.style.top, left: u.style.left, width: u.style.width, height: u.style.height }, u.style.position = "absolute", u.style.top = `${s}px`, u.style.left = `${i}px`, u.style.width = `${p}px`, u.style.height = `${y}px`; - } - l.hideOnLeave && u.style.setProperty("display", "none", "important"); - }, onAfterLeave(u) { - if (l.leaveAbsolute && (u != null && u._transitionInitialStyles)) { - const { position: s, top: i, left: p, width: y, height: f } = u._transitionInitialStyles; - delete u._transitionInitialStyles, u.style.position = s || "", u.style.top = i || "", u.style.left = p || "", u.style.width = y || "", u.style.height = f || ""; - } - } }; - return () => { - const u = l.group ? ki : An; - return ol(u, { name: l.disabled ? "" : e, css: !l.disabled, ...l.group ? void 0 : { mode: l.mode }, ...l.disabled ? {} : c }, a.default); - }; - } }); -} -function ha(e, t) { - let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "in-out"; - return ne()({ name: e, props: { mode: { type: String, default: n }, disabled: Boolean }, setup(l, o) { - let { slots: a } = o; - return () => ol(An, { name: l.disabled ? "" : e, css: !l.disabled, ...l.disabled ? {} : t }, a.default); - } }); -} -function ba() { - let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : ""; - const t = arguments.length > 1 && arguments[1] !== void 0 && arguments[1] ? "width" : "height", n = ea(`offset-${t}`); - return { onBeforeEnter(a) { - a._parent = a.parentNode, a._initialStyle = { transition: a.style.transition, overflow: a.style.overflow, [t]: a.style[t] }; - }, onEnter(a) { - const c = a._initialStyle; - a.style.setProperty("transition", "none", "important"), a.style.overflow = "hidden"; - const u = `${a[n]}px`; - a.style[t] = "0", a.offsetHeight, a.style.transition = c.transition, e && a._parent && a._parent.classList.add(e), requestAnimationFrame(() => { - a.style[t] = u; - }); - }, onAfterEnter: o, onEnterCancelled: o, onLeave(a) { - a._initialStyle = { transition: "", overflow: a.style.overflow, [t]: a.style[t] }, a.style.overflow = "hidden", a.style[t] = `${a[n]}px`, a.offsetHeight, requestAnimationFrame(() => a.style[t] = "0"); - }, onAfterLeave: l, onLeaveCancelled: l }; - function l(a) { - e && a._parent && a._parent.classList.remove(e), o(a); - } - function o(a) { - const c = a._initialStyle[t]; - a.style.overflow = a._initialStyle.overflow, c != null && (a.style[t] = c), delete a._initialStyle; - } -} -const Xi = H({ target: [Object, Array] }, "v-dialog-transition"), Ca = ne()({ name: "VDialogTransition", props: Xi(), setup(e, t) { - let { slots: n } = t; - const l = { onBeforeEnter(o) { - o.style.pointerEvents = "none", o.style.visibility = "hidden"; - }, async onEnter(o, a) { - var f; - await new Promise((m) => requestAnimationFrame(m)), await new Promise((m) => requestAnimationFrame(m)), o.style.visibility = ""; - const { x: c, y: u, sx: s, sy: i, speed: p } = Ao(e.target, o), y = jn(o, [{ transform: `translate(${c}px, ${u}px) scale(${s}, ${i})`, opacity: 0 }, {}], { duration: 225 * p, easing: "cubic-bezier(0.0, 0, 0.2, 1)" }); - (f = Vo(o)) == null || f.forEach((m) => { - jn(m, [{ opacity: 0 }, { opacity: 0, offset: 0.33 }, {}], { duration: 450 * p, easing: Kt }); - }), y.finished.then(() => a()); - }, onAfterEnter(o) { - o.style.removeProperty("pointer-events"); - }, onBeforeLeave(o) { - o.style.pointerEvents = "none"; - }, async onLeave(o, a) { - var y; - await new Promise((f) => requestAnimationFrame(f)); - const { x: c, y: u, sx: s, sy: i, speed: p } = Ao(e.target, o); - jn(o, [{}, { transform: `translate(${c}px, ${u}px) scale(${s}, ${i})`, opacity: 0 }], { duration: 125 * p, easing: "cubic-bezier(0.4, 0, 1, 1)" }).finished.then(() => a()), (y = Vo(o)) == null || y.forEach((f) => { - jn(f, [{}, { opacity: 0, offset: 0.2 }, { opacity: 0 }], { duration: 250 * p, easing: Kt }); - }); - }, onAfterLeave(o) { - o.style.removeProperty("pointer-events"); - } }; - return () => e.target ? d(An, Z({ name: "dialog-transition" }, l, { css: !1 }), n) : d(An, { name: "dialog-transition" }, n); -} }); -function Vo(e) { - var n; - const t = (n = e.querySelector(":scope > .v-card, :scope > .v-sheet, :scope > .v-list")) == null ? void 0 : n.children; - return t && [...t]; -} -function Ao(e, t) { - const n = pa(e), l = jl(t), [o, a] = getComputedStyle(t).transformOrigin.split(" ").map((C) => parseFloat(C)), [c, u] = getComputedStyle(t).getPropertyValue("--v-overlay-anchor-origin").split(" "); - let s = n.left + n.width / 2; - c === "left" || u === "left" ? s -= n.width / 2 : c !== "right" && u !== "right" || (s += n.width / 2); - let i = n.top + n.height / 2; - c === "top" || u === "top" ? i -= n.height / 2 : c !== "bottom" && u !== "bottom" || (i += n.height / 2); - const p = n.width / l.width, y = n.height / l.height, f = Math.max(1, p, y), m = p / f || 0, h = y / f || 0, b = l.width * l.height / (window.innerWidth * window.innerHeight), g = b > 0.12 ? Math.min(1.5, 10 * (b - 0.12) + 1) : 1; - return { x: s - (o + l.left), y: i - (a + l.top), sx: m, sy: h, speed: g }; -} -Je("fab-transition", "center center", "out-in"), Je("dialog-bottom-transition"), Je("dialog-top-transition"), Je("fade-transition"); -const Ki = Je("scale-transition"); -Je("scroll-x-transition"), Je("scroll-x-reverse-transition"), Je("scroll-y-transition"), Je("scroll-y-reverse-transition"), Je("slide-x-transition"), Je("slide-x-reverse-transition"); -const Ia = Je("slide-y-transition"); -Je("slide-y-reverse-transition"); -const Ji = ha("expand-transition", ba()), Sa = ha("expand-x-transition", ba("", !0)), Zi = H({ defaults: Object, disabled: Boolean, reset: [Number, String], root: [Boolean, String], scoped: Boolean }, "VDefaultsProvider"), je = ne(!1)({ name: "VDefaultsProvider", props: Zi(), setup(e, t) { - let { slots: n } = t; - const { defaults: l, disabled: o, reset: a, root: c, scoped: u } = xn(e); - return et(l, { reset: a, root: c, scoped: u, disabled: o }), () => { - var s; - return (s = n.default) == null ? void 0 : s.call(n); - }; -} }), Dn = H({ height: [Number, String], maxHeight: [Number, String], maxWidth: [Number, String], minHeight: [Number, String], minWidth: [Number, String], width: [Number, String] }, "dimension"); -function Ln(e) { - return { dimensionStyles: v(() => ({ height: ae(e.height), maxHeight: ae(e.maxHeight), maxWidth: ae(e.maxWidth), minHeight: ae(e.minHeight), minWidth: ae(e.minWidth), width: ae(e.width) })) }; -} -const Ba = H({ aspectRatio: [String, Number], contentClass: String, inline: Boolean, ...ye(), ...Dn() }, "VResponsive"), _o = ne()({ name: "VResponsive", props: Ba(), setup(e, t) { - let { slots: n } = t; - const { aspectStyles: l } = function(a) { - return { aspectStyles: v(() => { - const c = Number(a.aspectRatio); - return c ? { paddingBottom: String(1 / c * 100) + "%" } : void 0; - }) }; - }(e), { dimensionStyles: o } = Ln(e); - return se(() => { - var a; - return d("div", { class: ["v-responsive", { "v-responsive--inline": e.inline }, e.class], style: [o.value, e.style] }, [d("div", { class: "v-responsive__sizer", style: l.value }, null), (a = n.additional) == null ? void 0 : a.call(n), n.default && d("div", { class: ["v-responsive__content", e.contentClass] }, [n.default()])]); - }), {}; -} }), Vt = H({ transition: { type: [Boolean, String, Object], default: "fade-transition", validator: (e) => e !== !0 } }, "transition"), In = (e, t) => { - let { slots: n } = t; - const { transition: l, disabled: o, ...a } = e, { component: c = An, ...u } = typeof l == "object" ? l : {}; - return ol(c, Z(typeof l == "string" ? { name: o ? "" : l } : u, a, { disabled: o }), n); -}; -function Oo(e, t) { - var l; - const n = (l = e._observe) == null ? void 0 : l[t.instance.$.uid]; - n && (n.observer.unobserve(e), delete e._observe[t.instance.$.uid]); -} -const Yl = { mounted: function(e, t) { - if (!Rl) - return; - const n = t.modifiers || {}, l = t.value, { handler: o, options: a } = typeof l == "object" ? l : { handler: l, options: {} }, c = new IntersectionObserver(function() { - var y; - let u = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], s = arguments.length > 1 ? arguments[1] : void 0; - const i = (y = e._observe) == null ? void 0 : y[t.instance.$.uid]; - if (!i) - return; - const p = u.some((f) => f.isIntersecting); - !o || n.quiet && !i.init || n.once && !p && !i.init || o(p, u, s), p && n.once ? Oo(e, t) : i.init = !0; - }, a); - e._observe = Object(e._observe), e._observe[t.instance.$.uid] = { init: !1, observer: c }, c.observe(e); -}, unmounted: Oo }, Qi = H({ alt: String, cover: Boolean, draggable: { type: [Boolean, String], default: void 0 }, eager: Boolean, gradient: String, lazySrc: String, options: { type: Object, default: () => ({ root: void 0, rootMargin: void 0, threshold: void 0 }) }, sizes: String, src: { type: [String, Object], default: "" }, crossorigin: String, referrerpolicy: String, srcset: String, position: String, ...Ba(), ...ye(), ...Vt() }, "VImg"), xa = ne()({ name: "VImg", directives: { intersect: Yl }, props: Qi(), emits: { loadstart: (e) => !0, load: (e) => !0, error: (e) => !0 }, setup(e, t) { - let { emit: n, slots: l } = t; - const o = Le("VImg"), a = de(""), c = D(), u = de(e.eager ? "loading" : "idle"), s = de(), i = de(), p = v(() => e.src && typeof e.src == "object" ? { src: e.src.src, srcset: e.srcset || e.src.srcset, lazySrc: e.lazySrc || e.src.lazySrc, aspect: Number(e.aspectRatio || e.src.aspect || 0) } : { src: e.src, srcset: e.srcset, lazySrc: e.lazySrc, aspect: Number(e.aspectRatio || 0) }), y = v(() => p.value.aspect || s.value / i.value || 0); - function f(S) { - if ((!e.eager || !S) && (!Rl || S || e.eager)) { - if (u.value = "loading", p.value.lazySrc) { - const A = new Image(); - A.src = p.value.lazySrc, C(A, null); - } - p.value.src && Me(() => { - var A; - n("loadstart", ((A = c.value) == null ? void 0 : A.currentSrc) || p.value.src), setTimeout(() => { - var I; - if (!o.isUnmounted) - if ((I = c.value) != null && I.complete) { - if (c.value.naturalWidth || h(), u.value === "error") - return; - y.value || C(c.value, null), u.value === "loading" && m(); - } else - y.value || C(c.value), b(); - }); - }); - } - } - function m() { - var S; - o.isUnmounted || (b(), C(c.value), u.value = "loaded", n("load", ((S = c.value) == null ? void 0 : S.currentSrc) || p.value.src)); - } - function h() { - var S; - o.isUnmounted || (u.value = "error", n("error", ((S = c.value) == null ? void 0 : S.currentSrc) || p.value.src)); - } - function b() { - const S = c.value; - S && (a.value = S.currentSrc || S.src); - } - K(() => e.src, () => { - f(u.value !== "idle"); - }), K(y, (S, A) => { - !S && A && c.value && C(c.value); - }), na(() => f()); - let g = -1; - function C(S) { - let A = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 100; - const I = () => { - if (clearTimeout(g), o.isUnmounted) - return; - const { naturalHeight: F, naturalWidth: _ } = S; - F || _ ? (s.value = _, i.value = F) : S.complete || u.value !== "loading" || A == null ? (S.currentSrc.endsWith(".svg") || S.currentSrc.startsWith("data:image/svg+xml")) && (s.value = 1, i.value = 1) : g = window.setTimeout(I, A); - }; - I(); - } - mn(() => { - clearTimeout(g); - }); - const w = v(() => ({ "v-img__img--cover": e.cover, "v-img__img--contain": !e.cover })), O = () => { - var I; - if (!p.value.src || u.value === "idle") - return null; - const S = d("img", { class: ["v-img__img", w.value], style: { objectPosition: e.position }, src: p.value.src, srcset: p.value.srcset, alt: e.alt, crossorigin: e.crossorigin, referrerpolicy: e.referrerpolicy, draggable: e.draggable, sizes: e.sizes, ref: c, onLoad: m, onError: h }, null), A = (I = l.sources) == null ? void 0 : I.call(l); - return d(In, { transition: e.transition, appear: !0 }, { default: () => [Ue(A ? d("picture", { class: "v-img__picture" }, [A, S]) : S, [[Hn, u.value === "loaded"]])] }); - }, G = () => d(In, { transition: e.transition }, { default: () => [p.value.lazySrc && u.value !== "loaded" && d("img", { class: ["v-img__img", "v-img__img--preload", w.value], style: { objectPosition: e.position }, src: p.value.lazySrc, alt: e.alt, crossorigin: e.crossorigin, referrerpolicy: e.referrerpolicy, draggable: e.draggable }, null)] }), T = () => l.placeholder ? d(In, { transition: e.transition, appear: !0 }, { default: () => [(u.value === "loading" || u.value === "error" && !l.error) && d("div", { class: "v-img__placeholder" }, [l.placeholder()])] }) : null, $ = () => l.error ? d(In, { transition: e.transition, appear: !0 }, { default: () => [u.value === "error" && d("div", { class: "v-img__error" }, [l.error()])] }) : null, R = () => e.gradient ? d("div", { class: "v-img__gradient", style: { backgroundImage: `linear-gradient(${e.gradient})` } }, null) : null, P = de(!1); - { - const S = K(y, (A) => { - A && (requestAnimationFrame(() => { - requestAnimationFrame(() => { - P.value = !0; - }); - }), S()); - }); - } - return se(() => { - const S = _o.filterProps(e); - return Ue(d(_o, Z({ class: ["v-img", { "v-img--booting": !P.value }, e.class], style: [{ width: ae(e.width === "auto" ? s.value : e.width) }, e.style] }, S, { aspectRatio: y.value, "aria-label": e.alt, role: e.alt ? "img" : void 0 }), { additional: () => d(Fe, null, [d(O, null, null), d(G, null, null), d(R, null, null), d(T, null, null), d($, null, null)]), default: l.default }), [[gn("intersect"), { handler: f, options: e.options }, null, { once: !0 }]]); - }), { currentSrc: a, image: c, state: u, naturalWidth: s, naturalHeight: i }; -} }), nt = H({ border: [Boolean, Number, String] }, "border"); -function tt(e) { - let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : un(); - return { borderClasses: v(() => { - const n = On(e) ? e.value : e.border, l = []; - if (n === !0 || n === "") - l.push(`${t}--border`); - else if (typeof n == "string" || n === 0) - for (const o of String(n).split(" ")) - l.push(`border-${o}`); - return l; - }) }; + const t = v(() => e.theme ?? n.name.value), l = v(() => n.themes.value[t.value]), o = v(() => n.isDisabled ? void 0 : `v-theme--${t.value}`), a = { ...n, name: t, current: l, themeClasses: o }; + return tt(Fo, a), a; } -function Xl(e) { - return Nl(() => { - const t = [], n = {}; +function Hl(e) { + return jl(() => { + const n = [], t = {}; if (e.value.background) if (ml(e.value.background)) { - if (n.backgroundColor = e.value.background, !e.value.text && ml(l = e.value.background) && !/^((rgb|hsl)a?\()?var\(--/.test(l)) { - const o = ft(e.value.background); + if (t.backgroundColor = e.value.background, !e.value.text && ml(l = e.value.background) && !/^((rgb|hsl)a?\()?var\(--/.test(l)) { + const o = fn(e.value.background); if (o.a == null || o.a === 1) { const a = function(c) { - const u = Math.abs(xo(ft(0), ft(c))); - return Math.abs(xo(ft(16777215), ft(c))) > Math.min(u, 50) ? "#fff" : "#000"; + const u = Math.abs(xo(fn(0), fn(c))); + return Math.abs(xo(fn(16777215), fn(c))) > Math.min(u, 50) ? "#fff" : "#000"; }(o); - n.color = a, n.caretColor = a; + t.color = a, t.caretColor = a; } } } else - t.push(`bg-${e.value.background}`); + n.push(`bg-${e.value.background}`); var l; - return e.value.text && (ml(e.value.text) ? (n.color = e.value.text, n.caretColor = e.value.text) : t.push(`text-${e.value.text}`)), { colorClasses: t, colorStyles: n }; + return e.value.text && (ml(e.value.text) ? (t.color = e.value.text, t.caretColor = e.value.text) : n.push(`text-${e.value.text}`)), { colorClasses: n, colorStyles: t }; }); } -function yn(e, t) { - const n = v(() => ({ text: On(e) ? e.value : t ? e[t] : null })), { colorClasses: l, colorStyles: o } = Xl(n); +function ft(e, n) { + const t = v(() => ({ text: _t(e) ? e.value : n ? e[n] : null })), { colorClasses: l, colorStyles: o } = Hl(t); return { textColorClasses: l, textColorStyles: o }; } -function Un(e, t) { - const n = v(() => ({ background: On(e) ? e.value : t ? e[t] : null })), { colorClasses: l, colorStyles: o } = Xl(n); +function Gt(e, n) { + const t = v(() => ({ background: _t(e) ? e.value : n ? e[n] : null })), { colorClasses: l, colorStyles: o } = Hl(t); return { backgroundColorClasses: l, backgroundColorStyles: o }; } -const lt = H({ elevation: { type: [Number, String], validator(e) { - const t = parseInt(e); - return !isNaN(t) && t >= 0 && t <= 24; -} } }, "elevation"); -function ot(e) { - return { elevationClasses: v(() => { - const t = On(e) ? e.value : e.elevation, n = []; - return t == null || n.push(`elevation-${t}`), n; - }) }; -} -const hn = H({ rounded: { type: [Boolean, Number, String], default: void 0 } }, "rounded"); -function bn(e) { - let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : un(); - return { roundedClasses: v(() => { - const n = On(e) ? e.value : e.rounded, l = []; - if (n === !0 || n === "") - l.push(`${t}--rounded`); - else if (typeof n == "string" || n === 0) - for (const o of String(n).split(" ")) - l.push(`rounded-${o}`); - return l; - }) }; -} -const er = [null, "default", "comfortable", "compact"], cn = H({ density: { type: String, default: "default", validator: (e) => er.includes(e) } }, "density"); -function Cn(e) { - let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : un(); - return { densityClasses: v(() => `${t}--density-${e.density}`) }; -} -const nr = ["elevated", "flat", "tonal", "outlined", "text", "plain"]; -function At(e, t) { - return d(Fe, null, [e && d("span", { key: "overlay", class: `${t}__overlay` }, null), d("span", { key: "underlay", class: `${t}__underlay` }, null)]); +const Gi = ["elevated", "flat", "tonal", "outlined", "text", "plain"]; +function Fn(e, n) { + return d(Fe, null, [e && d("span", { key: "overlay", class: `${n}__overlay` }, null), d("span", { key: "underlay", class: `${n}__underlay` }, null)]); } -const kn = H({ color: String, variant: { type: String, default: "elevated", validator: (e) => nr.includes(e) } }, "variant"); -function _t(e) { - let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : un(); - const n = v(() => { +const xt = H({ color: String, variant: { type: String, default: "elevated", validator: (e) => Gi.includes(e) } }, "variant"); +function An(e) { + let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : st(); + const t = v(() => { const { variant: a } = r(e); - return `${t}--variant-${a}`; - }), { colorClasses: l, colorStyles: o } = Xl(v(() => { + return `${n}--variant-${a}`; + }), { colorClasses: l, colorStyles: o } = Hl(v(() => { const { variant: a, color: c } = r(e); return { [["elevated", "flat"].includes(a) ? "background" : "text"]: c }; })); - return { colorClasses: l, colorStyles: o, variantClasses: n }; -} -const ka = H({ divided: Boolean, ...nt(), ...ye(), ...cn(), ...lt(), ...hn(), ...en(), ...Ne(), ...kn() }, "VBtnGroup"), Po = ne()({ name: "VBtnGroup", props: ka(), setup(e, t) { - let { slots: n } = t; - const { themeClasses: l } = Xe(e), { densityClasses: o } = Cn(e), { borderClasses: a } = tt(e), { elevationClasses: c } = ot(e), { roundedClasses: u } = bn(e); - et({ VBtn: { height: "auto", color: oe(e, "color"), density: oe(e, "density"), flat: !0, variant: oe(e, "variant") } }), se(() => d(e.tag, { class: ["v-btn-group", { "v-btn-group--divided": e.divided }, l.value, a.value, o.value, c.value, u.value, e.class], style: e.style }, n)); -} }), wa = H({ modelValue: { type: null, default: void 0 }, multiple: Boolean, mandatory: [Boolean, String], max: Number, selectedClass: String, disabled: Boolean }, "group"), Fa = H({ value: null, disabled: Boolean, selectedClass: String }, "group-item"); -function Va(e, t) { - let n = !(arguments.length > 2 && arguments[2] !== void 0) || arguments[2]; + return { colorClasses: l, colorStyles: o, variantClasses: t }; +} +const ba = H({ divided: Boolean, ...on(), ...ye(), ...ut(), ...rn(), ...ht(), ...et(), ...Ne(), ...xt() }, "VBtnGroup"), Ao = te()({ name: "VBtnGroup", props: ba(), setup(e, n) { + let { slots: t } = n; + const { themeClasses: l } = Xe(e), { densityClasses: o } = gt(e), { borderClasses: a } = an(e), { elevationClasses: c } = sn(e), { roundedClasses: u } = bt(e); + ln({ VBtn: { height: "auto", color: ae(e, "color"), density: ae(e, "density"), flat: !0, variant: ae(e, "variant") } }), se(() => d(e.tag, { class: ["v-btn-group", { "v-btn-group--divided": e.divided }, l.value, a.value, o.value, c.value, u.value, e.class], style: e.style }, t)); +} }); +function Ft(e, n) { + let t; + function l() { + t = zl(), t.run(() => n.length ? n(() => { + t == null || t.stop(), l(); + }) : n()); + } + K(e, (o) => { + o && !t ? l() : o || (t == null || t.stop(), t = void 0); + }, { immediate: !0 }), He(() => { + t == null || t.stop(); + }); +} +function $e(e, n, t) { + let l = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : (p) => p, o = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : (p) => p; + const a = Le("useProxiedModel"), c = D(e[n] !== void 0 ? e[n] : t), u = kt(n), s = v(u !== n ? () => { + var p, y, f, m; + return e[n], !(!((p = a.vnode.props) != null && p.hasOwnProperty(n)) && !((y = a.vnode.props) != null && y.hasOwnProperty(u)) || !((f = a.vnode.props) != null && f.hasOwnProperty(`onUpdate:${n}`)) && !((m = a.vnode.props) != null && m.hasOwnProperty(`onUpdate:${u}`))); + } : () => { + var p, y; + return e[n], !(!((p = a.vnode.props) != null && p.hasOwnProperty(n)) || !((y = a.vnode.props) != null && y.hasOwnProperty(`onUpdate:${n}`))); + }); + Ft(() => !s.value, () => { + K(() => e[n], (p) => { + c.value = p; + }); + }); + const i = v({ get() { + const p = e[n]; + return l(s.value ? p : c.value); + }, set(p) { + const y = o(p), f = It(s.value ? e[n] : c.value); + f !== y && l(f) !== p && (c.value = y, a == null || a.emit(`update:${n}`, y)); + } }); + return Object.defineProperty(i, "externalValue", { get: () => s.value ? e[n] : c.value }), i; +} +const Ca = H({ modelValue: { type: null, default: void 0 }, multiple: Boolean, mandatory: [Boolean, String], max: Number, selectedClass: String, disabled: Boolean }, "group"), Ia = H({ value: null, disabled: Boolean, selectedClass: String }, "group-item"); +function Sa(e, n) { + let t = !(arguments.length > 2 && arguments[2] !== void 0) || arguments[2]; const l = Le("useGroupItem"); if (!l) throw new Error("[Vuetify] useGroupItem composable must be used inside a component setup function"); - const o = tn(); - nn(Symbol.for(`${t.description}:id`), o); - const a = me(t, null); + const o = nt(); + tt(Symbol.for(`${n.description}:id`), o); + const a = me(n, null); if (!a) { - if (!n) + if (!t) return a; - throw new Error(`[Vuetify] Could not find useGroup injection with symbol ${t.description}`); + throw new Error(`[Vuetify] Could not find useGroup injection with symbol ${n.description}`); } - const c = oe(e, "value"), u = v(() => !(!a.disabled.value && !e.disabled)); - a.register({ id: o, value: c, disabled: u }, l), mn(() => { + const c = ae(e, "value"), u = v(() => !(!a.disabled.value && !e.disabled)); + a.register({ id: o, value: c, disabled: u }, l), yt(() => { a.unregister(o); }); const s = v(() => a.isSelected(o)), i = v(() => s.value && [a.selectedClass.value, e.selectedClass]); @@ -939,9 +711,9 @@ function Va(e, t) { l.emit("group:selected", { value: p }); }), { id: o, isSelected: s, toggle: () => a.select(o, !s.value), select: (p) => a.select(o, p), selectedClass: i, value: c, disabled: u, group: a }; } -function Aa(e, t) { - let n = !1; - const l = ln([]), o = $e(e, "modelValue", [], (i) => i == null ? [] : $o(l, pn(i)), (i) => { +function Ba(e, n) { + let t = !1; + const l = lt([]), o = $e(e, "modelValue", [], (i) => i == null ? [] : Vo(l, dt(i)), (i) => { const p = function(y, f) { const m = []; return f.forEach((h) => { @@ -959,7 +731,7 @@ function Aa(e, t) { i && e.mandatory === "force" && !o.value.length && (o.value = [i.id]); } function u(i) { - if (e.multiple && gt('This method is not supported when using "multiple" prop'), o.value.length) { + if (e.multiple && gn('This method is not supported when using "multiple" prop'), o.value.length) { const p = o.value[0], y = l.findIndex((h) => h.id === p); let f = (y + i) % l.length, m = l[f]; for (; m.disabled && f !== y; ) @@ -972,16 +744,16 @@ function Aa(e, t) { p && (o.value = [p.id]); } } - Yn(() => { + qt(() => { c(); - }), mn(() => { - n = !0; + }), yt(() => { + t = !0; }); const s = { register: function(i, p) { - const y = i, f = Rt(Symbol.for(`${t.description}:id`), a == null ? void 0 : a.vnode).indexOf(p); + const y = i, f = Rn(Symbol.for(`${n.description}:id`), a == null ? void 0 : a.vnode).indexOf(p); f > -1 ? l.splice(f, 0, y) : l.push(y); }, unregister: function(i) { - if (n) + if (t) return; c(); const p = l.findIndex((y) => y.id === i); @@ -1000,146 +772,185 @@ function Aa(e, t) { return; o.value = p ?? !f ? [i] : []; } - }, disabled: oe(e, "disabled"), prev: () => u(l.length - 1), next: () => u(1), isSelected: (i) => o.value.includes(i), selectedClass: v(() => e.selectedClass), items: v(() => l), getItemIndex: (i) => function(p, y) { - const f = $o(p, [y]); + }, disabled: ae(e, "disabled"), prev: () => u(l.length - 1), next: () => u(1), isSelected: (i) => o.value.includes(i), selectedClass: v(() => e.selectedClass), items: v(() => l), getItemIndex: (i) => function(p, y) { + const f = Vo(p, [y]); return f.length ? p.findIndex((m) => m.id === f[0]) : -1; }(l, i) }; - return nn(t, s), s; -} -function $o(e, t) { - const n = []; - return t.forEach((l) => { - const o = e.find((c) => Qn(l, c.value)), a = e[l]; - (o == null ? void 0 : o.value) != null ? n.push(o.id) : a != null && n.push(a.id); - }), n; -} -const _a = Symbol.for("vuetify:v-btn-toggle"), tr = H({ ...ka(), ...wa() }, "VBtnToggle"); -ne()({ name: "VBtnToggle", props: tr(), emits: { "update:modelValue": (e) => !0 }, setup(e, t) { - let { slots: n } = t; - const { isSelected: l, next: o, prev: a, select: c, selected: u } = Aa(e, _a); + return tt(n, s), s; +} +function Vo(e, n) { + const t = []; + return n.forEach((l) => { + const o = e.find((c) => nn(l, c.value)), a = e[l]; + (o == null ? void 0 : o.value) != null ? t.push(o.id) : a != null && t.push(a.id); + }), t; +} +const xa = Symbol.for("vuetify:v-btn-toggle"), Ui = H({ ...ba(), ...Ca() }, "VBtnToggle"); +te()({ name: "VBtnToggle", props: Ui(), emits: { "update:modelValue": (e) => !0 }, setup(e, n) { + let { slots: t } = n; + const { isSelected: l, next: o, prev: a, select: c, selected: u } = Ba(e, xa); return se(() => { - const s = Po.filterProps(e); - return d(Po, Z({ class: ["v-btn-toggle", e.class] }, s, { style: e.style }), { default: () => { + const s = Ao.filterProps(e); + return d(Ao, Z({ class: ["v-btn-toggle", e.class] }, s, { style: e.style }), { default: () => { var i; - return [(i = n.default) == null ? void 0 : i.call(n, { isSelected: l, next: o, prev: a, select: c, selected: u })]; + return [(i = t.default) == null ? void 0 : i.call(t, { isSelected: l, next: o, prev: a, select: c, selected: u })]; } }); }), { next: o, prev: a, select: c }; } }); -const Ce = [String, Function, Object, Array], lr = Symbol.for("vuetify:icons"), Zt = H({ icon: { type: Ce }, tag: { type: String, required: !0 } }, "icon"), Eo = ne()({ name: "VComponentIcon", props: Zt(), setup(e, t) { - let { slots: n } = t; +const qi = H({ defaults: Object, disabled: Boolean, reset: [Number, String], root: [Boolean, String], scoped: Boolean }, "VDefaultsProvider"), je = te(!1)({ name: "VDefaultsProvider", props: qi(), setup(e, n) { + let { slots: t } = n; + const { defaults: l, disabled: o, reset: a, root: c, scoped: u } = Bt(e); + return ln(l, { reset: a, root: c, scoped: u, disabled: o }), () => { + var s; + return (s = t.default) == null ? void 0 : s.call(t); + }; +} }), Ce = [String, Function, Object, Array], Hi = Symbol.for("vuetify:icons"), Zn = H({ icon: { type: Ce }, tag: { type: String, required: !0 } }, "icon"), _o = te()({ name: "VComponentIcon", props: Zn(), setup(e, n) { + let { slots: t } = n; return () => { const l = e.icon; return d(e.tag, null, { default: () => { var o; - return [e.icon ? d(l, null, null) : (o = n.default) == null ? void 0 : o.call(n)]; + return [e.icon ? d(l, null, null) : (o = t.default) == null ? void 0 : o.call(t)]; } }); }; -} }), or = bt({ name: "VSvgIcon", inheritAttrs: !1, props: Zt(), setup(e, t) { - let { attrs: n } = t; - return () => d(e.tag, Z(n, { style: null }), { default: () => [d("svg", { class: "v-icon__svg", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", role: "img", "aria-hidden": "true" }, [Array.isArray(e.icon) ? e.icon.map((l) => Array.isArray(l) ? d("path", { d: l[0], "fill-opacity": l[1] }, null) : d("path", { d: l }, null)) : d("path", { d: e.icon }, null)])] }); +} }), Yi = bn({ name: "VSvgIcon", inheritAttrs: !1, props: Zn(), setup(e, n) { + let { attrs: t } = n; + return () => d(e.tag, Z(t, { style: null }), { default: () => [d("svg", { class: "v-icon__svg", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", role: "img", "aria-hidden": "true" }, [Array.isArray(e.icon) ? e.icon.map((l) => Array.isArray(l) ? d("path", { d: l[0], "fill-opacity": l[1] }, null) : d("path", { d: l }, null)) : d("path", { d: e.icon }, null)])] }); } }); -bt({ name: "VLigatureIcon", props: Zt(), setup: (e) => () => d(e.tag, null, { default: () => [e.icon] }) }), bt({ name: "VClassIcon", props: Zt(), setup: (e) => () => d(e.tag, { class: e.icon }, null) }); -const ar = ["x-small", "small", "default", "large", "x-large"], Ot = H({ size: { type: [String, Number], default: "default" } }, "size"); -function Pt(e) { - let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : un(); - return Nl(() => { - let n, l; - return qt(ar, e.size) ? n = `${t}--size-${e.size}` : e.size && (l = { width: ae(e.size), height: ae(e.size) }), { sizeClasses: n, sizeStyles: l }; +bn({ name: "VLigatureIcon", props: Zn(), setup: (e) => () => d(e.tag, null, { default: () => [e.icon] }) }), bn({ name: "VClassIcon", props: Zn(), setup: (e) => () => d(e.tag, { class: e.icon }, null) }); +const Xi = ["x-small", "small", "default", "large", "x-large"], Vn = H({ size: { type: [String, Number], default: "default" } }, "size"); +function _n(e) { + let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : st(); + return jl(() => { + let t, l; + return qn(Xi, e.size) ? t = `${n}--size-${e.size}` : e.size && (l = { width: ie(e.size), height: ie(e.size) }), { sizeClasses: t, sizeStyles: l }; }); } -const ir = H({ color: String, start: Boolean, end: Boolean, icon: Ce, ...ye(), ...Ot(), ...en({ tag: "i" }), ...Ne() }, "VIcon"), Se = ne()({ name: "VIcon", props: ir(), setup(e, t) { - let { attrs: n, slots: l } = t; +const Ki = H({ color: String, start: Boolean, end: Boolean, icon: Ce, ...ye(), ...Vn(), ...et({ tag: "i" }), ...Ne() }, "VIcon"), Se = te()({ name: "VIcon", props: Ki(), setup(e, n) { + let { attrs: t, slots: l } = n; const o = D(), { themeClasses: a } = Xe(e), { iconData: c } = ((p) => { - const y = me(lr); + const y = me(Hi); if (!y) throw new Error("Missing Vuetify Icons provide!"); return { iconData: v(() => { var g; const f = r(p); if (!f) - return { component: Eo }; + return { component: _o }; let m = f; if (typeof m == "string" && (m = m.trim(), m.startsWith("$") && (m = (g = y.aliases) == null ? void 0 : g[m.slice(1)])), !m) throw new Error(`Could not find aliased icon "${f}"`); if (Array.isArray(m)) - return { component: or, icon: m }; + return { component: Yi, icon: m }; if (typeof m != "string") - return { component: Eo, icon: m }; - const h = Object.keys(y.sets).find((C) => typeof m == "string" && m.startsWith(`${C}:`)), b = h ? m.slice(h.length + 1) : m; + return { component: _o, icon: m }; + const h = Object.keys(y.sets).find((I) => typeof m == "string" && m.startsWith(`${I}:`)), b = h ? m.slice(h.length + 1) : m; return { component: y.sets[h ?? y.defaultSet].component, icon: b }; }) }; - })(v(() => o.value || e.icon)), { sizeClasses: u } = Pt(e), { textColorClasses: s, textColorStyles: i } = yn(oe(e, "color")); + })(v(() => o.value || e.icon)), { sizeClasses: u } = _n(e), { textColorClasses: s, textColorStyles: i } = ft(ae(e, "color")); return se(() => { var y, f; const p = (y = l.default) == null ? void 0 : y.call(l); - return p && (o.value = (f = ra(p).filter((m) => m.type === wi && m.children && typeof m.children == "string")[0]) == null ? void 0 : f.children), d(c.value.component, { tag: e.tag, icon: c.value.icon, class: ["v-icon", "notranslate", a.value, u.value, s.value, { "v-icon--clickable": !!n.onClick, "v-icon--start": e.start, "v-icon--end": e.end }, e.class], style: [u.value ? void 0 : { fontSize: ae(e.size), height: ae(e.size), width: ae(e.size) }, i.value, e.style], role: n.onClick ? "button" : void 0, "aria-hidden": !n.onClick }, { default: () => [p] }); + return p && (o.value = (f = ua(p).filter((m) => m.type === Ci && m.children && typeof m.children == "string")[0]) == null ? void 0 : f.children), d(c.value.component, { tag: e.tag, icon: c.value.icon, class: ["v-icon", "notranslate", a.value, u.value, s.value, { "v-icon--clickable": !!t.onClick, "v-icon--start": e.start, "v-icon--end": e.end }, e.class], style: [u.value ? void 0 : { fontSize: ie(e.size), height: ie(e.size), width: ie(e.size) }, i.value, e.style], role: t.onClick ? "button" : void 0, "aria-hidden": !t.onClick }, { default: () => [p] }); }), {}; } }); -function Oa(e, t) { - const n = D(), l = de(!1); - if (Rl) { +function ka(e, n) { + const t = D(), l = de(!1); + if (Nl) { const o = new IntersectionObserver((a) => { e == null || e(a, o), l.value = !!a.find((c) => c.isIntersecting); - }, t); - mn(() => { + }, n); + yt(() => { o.disconnect(); - }), K(n, (a, c) => { + }), K(t, (a, c) => { c && (o.unobserve(c), l.value = !1), a && o.observe(a); }, { flush: "post" }); } - return { intersectionRef: n, isIntersecting: l }; + return { intersectionRef: t, isIntersecting: l }; } -const rr = H({ bgColor: String, color: String, indeterminate: [Boolean, String], modelValue: { type: [Number, String], default: 0 }, rotate: { type: [Number, String], default: 0 }, width: { type: [Number, String], default: 4 }, ...ye(), ...Ot(), ...en({ tag: "div" }), ...Ne() }, "VProgressCircular"), Pa = ne()({ name: "VProgressCircular", props: rr(), setup(e, t) { - let { slots: n } = t; - const l = 2 * Math.PI * 20, o = D(), { themeClasses: a } = Xe(e), { sizeClasses: c, sizeStyles: u } = Pt(e), { textColorClasses: s, textColorStyles: i } = yn(oe(e, "color")), { textColorClasses: p, textColorStyles: y } = yn(oe(e, "bgColor")), { intersectionRef: f, isIntersecting: m } = Oa(), { resizeRef: h, contentRect: b } = ql(), g = v(() => Math.max(0, Math.min(100, parseFloat(e.modelValue)))), C = v(() => Number(e.width)), w = v(() => u.value ? Number(e.size) : b.value ? b.value.width : Math.max(C.value, 32)), O = v(() => 20 / (1 - C.value / w.value) * 2), G = v(() => C.value / w.value * O.value), T = v(() => ae((100 - g.value) / 100 * l)); - return rn(() => { +function Yl(e) { + let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "content"; + const t = D(), l = D(); + if (Ke) { + const o = new ResizeObserver((a) => { + e == null || e(a, o), a.length && (l.value = n === "content" ? a[0].contentRect : a[0].target.getBoundingClientRect()); + }); + yt(() => { + o.disconnect(); + }), K(t, (a, c) => { + c && (o.unobserve(Un(c)), l.value = void 0), a && o.observe(Un(a)); + }, { flush: "post" }); + } + return { resizeRef: t, contentRect: Dl(l) }; +} +const Ji = H({ bgColor: String, color: String, indeterminate: [Boolean, String], modelValue: { type: [Number, String], default: 0 }, rotate: { type: [Number, String], default: 0 }, width: { type: [Number, String], default: 4 }, ...ye(), ...Vn(), ...et({ tag: "div" }), ...Ne() }, "VProgressCircular"), wa = te()({ name: "VProgressCircular", props: Ji(), setup(e, n) { + let { slots: t } = n; + const l = 2 * Math.PI * 20, o = D(), { themeClasses: a } = Xe(e), { sizeClasses: c, sizeStyles: u } = _n(e), { textColorClasses: s, textColorStyles: i } = ft(ae(e, "color")), { textColorClasses: p, textColorStyles: y } = ft(ae(e, "bgColor")), { intersectionRef: f, isIntersecting: m } = ka(), { resizeRef: h, contentRect: b } = Yl(), g = v(() => Math.max(0, Math.min(100, parseFloat(e.modelValue)))), I = v(() => Number(e.width)), k = v(() => u.value ? Number(e.size) : b.value ? b.value.width : Math.max(I.value, 32)), w = v(() => 20 / (1 - I.value / k.value) * 2), q = v(() => I.value / k.value * w.value), P = v(() => ie((100 - g.value) / 100 * l)); + return it(() => { f.value = o.value, h.value = o.value; - }), se(() => d(e.tag, { ref: o, class: ["v-progress-circular", { "v-progress-circular--indeterminate": !!e.indeterminate, "v-progress-circular--visible": m.value, "v-progress-circular--disable-shrink": e.indeterminate === "disable-shrink" }, a.value, c.value, s.value, e.class], style: [u.value, i.value, e.style], role: "progressbar", "aria-valuemin": "0", "aria-valuemax": "100", "aria-valuenow": e.indeterminate ? void 0 : g.value }, { default: () => [d("svg", { style: { transform: `rotate(calc(-90deg + ${Number(e.rotate)}deg))` }, xmlns: "http://www.w3.org/2000/svg", viewBox: `0 0 ${O.value} ${O.value}` }, [d("circle", { class: ["v-progress-circular__underlay", p.value], style: y.value, fill: "transparent", cx: "50%", cy: "50%", r: 20, "stroke-width": G.value, "stroke-dasharray": l, "stroke-dashoffset": 0 }, null), d("circle", { class: "v-progress-circular__overlay", fill: "transparent", cx: "50%", cy: "50%", r: 20, "stroke-width": G.value, "stroke-dasharray": l, "stroke-dashoffset": T.value }, null)]), n.default && d("div", { class: "v-progress-circular__content" }, [n.default({ value: g.value })])] })), {}; -} }), To = { center: "center", top: "bottom", bottom: "top", left: "right", right: "left" }, Kl = H({ location: String }, "location"); + }), se(() => d(e.tag, { ref: o, class: ["v-progress-circular", { "v-progress-circular--indeterminate": !!e.indeterminate, "v-progress-circular--visible": m.value, "v-progress-circular--disable-shrink": e.indeterminate === "disable-shrink" }, a.value, c.value, s.value, e.class], style: [u.value, i.value, e.style], role: "progressbar", "aria-valuemin": "0", "aria-valuemax": "100", "aria-valuenow": e.indeterminate ? void 0 : g.value }, { default: () => [d("svg", { style: { transform: `rotate(calc(-90deg + ${Number(e.rotate)}deg))` }, xmlns: "http://www.w3.org/2000/svg", viewBox: `0 0 ${w.value} ${w.value}` }, [d("circle", { class: ["v-progress-circular__underlay", p.value], style: y.value, fill: "transparent", cx: "50%", cy: "50%", r: 20, "stroke-width": q.value, "stroke-dasharray": l, "stroke-dashoffset": 0 }, null), d("circle", { class: "v-progress-circular__overlay", fill: "transparent", cx: "50%", cy: "50%", r: 20, "stroke-width": q.value, "stroke-dasharray": l, "stroke-dashoffset": P.value }, null)]), t.default && d("div", { class: "v-progress-circular__content" }, [t.default({ value: g.value })])] })), {}; +} }), zt = H({ height: [Number, String], maxHeight: [Number, String], maxWidth: [Number, String], minHeight: [Number, String], minWidth: [Number, String], width: [Number, String] }, "dimension"); +function Dt(e) { + return { dimensionStyles: v(() => ({ height: ie(e.height), maxHeight: ie(e.maxHeight), maxWidth: ie(e.maxWidth), minHeight: ie(e.minHeight), minWidth: ie(e.minWidth), width: ie(e.width) })) }; +} +const Fa = Symbol.for("vuetify:locale"); +function Xl() { + const e = me(Fa); + if (!e) + throw new Error("[Vuetify] Could not find injected locale instance"); + return e; +} +function On() { + const e = me(Fa); + if (!e) + throw new Error("[Vuetify] Could not find injected rtl instance"); + return { isRtl: e.isRtl, rtlClasses: e.rtlClasses }; +} +const Oo = { center: "center", top: "bottom", bottom: "top", left: "right", right: "left" }, Kl = H({ location: String }, "location"); function Jl(e) { - let t = arguments.length > 1 && arguments[1] !== void 0 && arguments[1], n = arguments.length > 2 ? arguments[2] : void 0; - const { isRtl: l } = Ft(); + let n = arguments.length > 1 && arguments[1] !== void 0 && arguments[1], t = arguments.length > 2 ? arguments[2] : void 0; + const { isRtl: l } = On(); return { locationStyles: v(() => { if (!e.location) return {}; const { side: a, align: c } = kl(e.location.split(" ").length > 1 ? e.location : `${e.location} center`, l.value); function u(i) { - return n ? n(i) : 0; + return t ? t(i) : 0; } const s = {}; - return a !== "center" && (t ? s[To[a]] = `calc(100% - ${u(a)}px)` : s[a] = 0), c !== "center" ? t ? s[To[c]] = `calc(100% - ${u(c)}px)` : s[c] = 0 : (a === "center" ? s.top = s.left = "50%" : s[{ top: "left", bottom: "left", left: "top", right: "top" }[a]] = "50%", s.transform = { top: "translateX(-50%)", bottom: "translateX(-50%)", left: "translateY(-50%)", right: "translateY(-50%)", center: "translate(-50%, -50%)" }[a]), s; + return a !== "center" && (n ? s[Oo[a]] = `calc(100% - ${u(a)}px)` : s[a] = 0), c !== "center" ? n ? s[Oo[c]] = `calc(100% - ${u(c)}px)` : s[c] = 0 : (a === "center" ? s.top = s.left = "50%" : s[{ top: "left", bottom: "left", left: "top", right: "top" }[a]] = "50%", s.transform = { top: "translateX(-50%)", bottom: "translateX(-50%)", left: "translateY(-50%)", right: "translateY(-50%)", center: "translate(-50%, -50%)" }[a]), s; }) }; } -const sr = H({ absolute: Boolean, active: { type: Boolean, default: !0 }, bgColor: String, bgOpacity: [Number, String], bufferValue: { type: [Number, String], default: 0 }, clickable: Boolean, color: String, height: { type: [Number, String], default: 4 }, indeterminate: Boolean, max: { type: [Number, String], default: 100 }, modelValue: { type: [Number, String], default: 0 }, reverse: Boolean, stream: Boolean, striped: Boolean, roundedBar: Boolean, ...ye(), ...Kl({ location: "top" }), ...hn(), ...en(), ...Ne() }, "VProgressLinear"), ur = ne()({ name: "VProgressLinear", props: sr(), emits: { "update:modelValue": (e) => !0 }, setup(e, t) { - let { slots: n } = t; - const l = $e(e, "modelValue"), { isRtl: o, rtlClasses: a } = Ft(), { themeClasses: c } = Xe(e), { locationStyles: u } = Jl(e), { textColorClasses: s, textColorStyles: i } = yn(e, "color"), { backgroundColorClasses: p, backgroundColorStyles: y } = Un(v(() => e.bgColor || e.color)), { backgroundColorClasses: f, backgroundColorStyles: m } = Un(e, "color"), { roundedClasses: h } = bn(e), { intersectionRef: b, isIntersecting: g } = Oa(), C = v(() => parseInt(e.max, 10)), w = v(() => parseInt(e.height, 10)), O = v(() => parseFloat(e.bufferValue) / C.value * 100), G = v(() => parseFloat(l.value) / C.value * 100), T = v(() => o.value !== e.reverse), $ = v(() => e.indeterminate ? "fade-transition" : "slide-x-transition"), R = v(() => e.bgOpacity == null ? e.bgOpacity : parseFloat(e.bgOpacity)); - function P(S) { +const Zi = H({ absolute: Boolean, active: { type: Boolean, default: !0 }, bgColor: String, bgOpacity: [Number, String], bufferValue: { type: [Number, String], default: 0 }, clickable: Boolean, color: String, height: { type: [Number, String], default: 4 }, indeterminate: Boolean, max: { type: [Number, String], default: 100 }, modelValue: { type: [Number, String], default: 0 }, reverse: Boolean, stream: Boolean, striped: Boolean, roundedBar: Boolean, ...ye(), ...Kl({ location: "top" }), ...ht(), ...et(), ...Ne() }, "VProgressLinear"), Qi = te()({ name: "VProgressLinear", props: Zi(), emits: { "update:modelValue": (e) => !0 }, setup(e, n) { + let { slots: t } = n; + const l = $e(e, "modelValue"), { isRtl: o, rtlClasses: a } = On(), { themeClasses: c } = Xe(e), { locationStyles: u } = Jl(e), { textColorClasses: s, textColorStyles: i } = ft(e, "color"), { backgroundColorClasses: p, backgroundColorStyles: y } = Gt(v(() => e.bgColor || e.color)), { backgroundColorClasses: f, backgroundColorStyles: m } = Gt(e, "color"), { roundedClasses: h } = bt(e), { intersectionRef: b, isIntersecting: g } = ka(), I = v(() => parseInt(e.max, 10)), k = v(() => parseInt(e.height, 10)), w = v(() => parseFloat(e.bufferValue) / I.value * 100), q = v(() => parseFloat(l.value) / I.value * 100), P = v(() => o.value !== e.reverse), z = v(() => e.indeterminate ? "fade-transition" : "slide-x-transition"), M = v(() => e.bgOpacity == null ? e.bgOpacity : parseFloat(e.bgOpacity)); + function $(S) { if (!b.value) return; - const { left: A, right: I, width: F } = b.value.getBoundingClientRect(), _ = T.value ? F - S.clientX + (I - F) : S.clientX - A; - l.value = Math.round(_ / F * C.value); + const { left: O, right: C, width: F } = b.value.getBoundingClientRect(), V = P.value ? F - S.clientX + (C - F) : S.clientX - O; + l.value = Math.round(V / F * I.value); } - return se(() => d(e.tag, { ref: b, class: ["v-progress-linear", { "v-progress-linear--absolute": e.absolute, "v-progress-linear--active": e.active && g.value, "v-progress-linear--reverse": T.value, "v-progress-linear--rounded": e.rounded, "v-progress-linear--rounded-bar": e.roundedBar, "v-progress-linear--striped": e.striped }, h.value, c.value, a.value, e.class], style: [{ bottom: e.location === "bottom" ? 0 : void 0, top: e.location === "top" ? 0 : void 0, height: e.active ? ae(w.value) : 0, "--v-progress-linear-height": ae(w.value), ...u.value }, e.style], role: "progressbar", "aria-hidden": e.active ? "false" : "true", "aria-valuemin": "0", "aria-valuemax": e.max, "aria-valuenow": e.indeterminate ? void 0 : G.value, onClick: e.clickable && P }, { default: () => [e.stream && d("div", { key: "stream", class: ["v-progress-linear__stream", s.value], style: { ...i.value, [T.value ? "left" : "right"]: ae(-w.value), borderTop: `${ae(w.value / 2)} dotted`, opacity: R.value, top: `calc(50% - ${ae(w.value / 4)})`, width: ae(100 - O.value, "%"), "--v-progress-linear-stream-to": ae(w.value * (T.value ? 1 : -1)) } }, null), d("div", { class: ["v-progress-linear__background", p.value], style: [y.value, { opacity: R.value, width: ae(e.stream ? O.value : 100, "%") }] }, null), d(An, { name: $.value }, { default: () => [e.indeterminate ? d("div", { class: "v-progress-linear__indeterminate" }, [["long", "short"].map((S) => d("div", { key: S, class: ["v-progress-linear__indeterminate", S, f.value], style: m.value }, null))]) : d("div", { class: ["v-progress-linear__determinate", f.value], style: [m.value, { width: ae(G.value, "%") }] }, null)] }), n.default && d("div", { class: "v-progress-linear__content" }, [n.default({ value: G.value, buffer: O.value })])] })), {}; + return se(() => d(e.tag, { ref: b, class: ["v-progress-linear", { "v-progress-linear--absolute": e.absolute, "v-progress-linear--active": e.active && g.value, "v-progress-linear--reverse": P.value, "v-progress-linear--rounded": e.rounded, "v-progress-linear--rounded-bar": e.roundedBar, "v-progress-linear--striped": e.striped }, h.value, c.value, a.value, e.class], style: [{ bottom: e.location === "bottom" ? 0 : void 0, top: e.location === "top" ? 0 : void 0, height: e.active ? ie(k.value) : 0, "--v-progress-linear-height": ie(k.value), ...u.value }, e.style], role: "progressbar", "aria-hidden": e.active ? "false" : "true", "aria-valuemin": "0", "aria-valuemax": e.max, "aria-valuenow": e.indeterminate ? void 0 : q.value, onClick: e.clickable && $ }, { default: () => [e.stream && d("div", { key: "stream", class: ["v-progress-linear__stream", s.value], style: { ...i.value, [P.value ? "left" : "right"]: ie(-k.value), borderTop: `${ie(k.value / 2)} dotted`, opacity: M.value, top: `calc(50% - ${ie(k.value / 4)})`, width: ie(100 - w.value, "%"), "--v-progress-linear-stream-to": ie(k.value * (P.value ? 1 : -1)) } }, null), d("div", { class: ["v-progress-linear__background", p.value], style: [y.value, { opacity: M.value, width: ie(e.stream ? w.value : 100, "%") }] }, null), d(At, { name: z.value }, { default: () => [e.indeterminate ? d("div", { class: "v-progress-linear__indeterminate" }, [["long", "short"].map((S) => d("div", { key: S, class: ["v-progress-linear__indeterminate", S, f.value], style: m.value }, null))]) : d("div", { class: ["v-progress-linear__determinate", f.value], style: [m.value, { width: ie(q.value, "%") }] }, null)] }), t.default && d("div", { class: "v-progress-linear__content" }, [t.default({ value: q.value, buffer: w.value })])] })), {}; } }), Zl = H({ loading: [Boolean, String] }, "loader"); -function al(e) { - let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : un(); - return { loaderClasses: v(() => ({ [`${t}--loading`]: e.loading })) }; +function il(e) { + let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : st(); + return { loaderClasses: v(() => ({ [`${n}--loading`]: e.loading })) }; } -function Ql(e, t) { +function Ql(e, n) { var l; - let { slots: n } = t; - return d("div", { class: `${e.name}__loader` }, [((l = n.default) == null ? void 0 : l.call(n, { color: e.color, isActive: e.active })) || d(ur, { absolute: e.absolute, active: e.active, color: e.color, height: "2", indeterminate: !0 }, null)]); + let { slots: t } = n; + return d("div", { class: `${e.name}__loader` }, [((l = t.default) == null ? void 0 : l.call(t, { color: e.color, isActive: e.active })) || d(Qi, { absolute: e.absolute, active: e.active, color: e.color, height: "2", indeterminate: !0 }, null)]); } -const cr = ["static", "relative", "fixed", "absolute", "sticky"], $a = H({ position: { type: String, validator: (e) => cr.includes(e) } }, "position"); -function Ea(e) { - let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : un(); - return { positionClasses: v(() => e.position ? `${t}--${e.position}` : void 0) }; +const er = ["static", "relative", "fixed", "absolute", "sticky"], Aa = H({ position: { type: String, validator: (e) => er.includes(e) } }, "position"); +function Va(e) { + let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : st(); + return { positionClasses: v(() => e.position ? `${n}--${e.position}` : void 0) }; } -function il(e, t) { - const n = Fi("RouterLink"), l = v(() => !(!e.href && !e.to)), o = v(() => (l == null ? void 0 : l.value) || po(t, "click") || po(e, "click")); - if (typeof n == "string") - return { isLink: l, isClickable: o, href: oe(e, "href") }; - const a = e.to ? n.useLink(e) : void 0, c = function() { +function rl(e, n) { + const t = Ii("RouterLink"), l = v(() => !(!e.href && !e.to)), o = v(() => (l == null ? void 0 : l.value) || po(n, "click") || po(e, "click")); + if (typeof t == "string") + return { isLink: l, isClickable: o, href: ae(e, "href") }; + const a = e.to ? t.useLink(e) : void 0, c = function() { const u = Le("useRoute"); return v(() => { var s; @@ -1148,414 +959,636 @@ function il(e, t) { }(); return { isLink: l, isClickable: o, route: a == null ? void 0 : a.route, navigate: a == null ? void 0 : a.navigate, isActive: a && v(() => { var u, s, i; - return e.exact ? c.value ? ((u = a.isExactActive) == null ? void 0 : u.value) && Qn(a.route.value.query, c.value.query) : (s = a.isExactActive) == null ? void 0 : s.value : (i = a.isActive) == null ? void 0 : i.value; + return e.exact ? c.value ? ((u = a.isExactActive) == null ? void 0 : u.value) && nn(a.route.value.query, c.value.query) : (s = a.isExactActive) == null ? void 0 : s.value : (i = a.isActive) == null ? void 0 : i.value; }), href: v(() => e.to ? a == null ? void 0 : a.route.value.href : e.href) }; } -const rl = H({ href: String, replace: Boolean, to: [String, Object], exact: Boolean }, "router"); +const sl = H({ href: String, replace: Boolean, to: [String, Object], exact: Boolean }, "router"); let gl = !1; -const wl = Symbol("rippleStop"), dr = 80; -function zo(e, t) { - e.style.transform = t, e.style.webkitTransform = t; +const wl = Symbol("rippleStop"), tr = 80; +function Po(e, n) { + e.style.transform = n, e.style.webkitTransform = n; } function Fl(e) { return e.constructor.name === "TouchEvent"; } -function Ta(e) { +function _a(e) { return e.constructor.name === "KeyboardEvent"; } -const Qt = { show(e, t) { +const Qn = { show(e, n) { var m; - let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}; - if (!((m = t == null ? void 0 : t._ripple) != null && m.enabled)) + let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}; + if (!((m = n == null ? void 0 : n._ripple) != null && m.enabled)) return; const l = document.createElement("span"), o = document.createElement("span"); - l.appendChild(o), l.className = "v-ripple__container", n.class && (l.className += ` ${n.class}`); + l.appendChild(o), l.className = "v-ripple__container", t.class && (l.className += ` ${t.class}`); const { radius: a, scale: c, x: u, y: s, centerX: i, centerY: p } = function(h, b) { - var R; - let g = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, C = 0, w = 0; - if (!Ta(h)) { - const P = b.getBoundingClientRect(), S = Fl(h) ? h.touches[h.touches.length - 1] : h; - C = S.clientX - P.left, w = S.clientY - P.top; + var M; + let g = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, I = 0, k = 0; + if (!_a(h)) { + const $ = b.getBoundingClientRect(), S = Fl(h) ? h.touches[h.touches.length - 1] : h; + I = S.clientX - $.left, k = S.clientY - $.top; } - let O = 0, G = 0.3; - (R = b._ripple) != null && R.circle ? (G = 0.15, O = b.clientWidth / 2, O = g.center ? O : O + Math.sqrt((C - O) ** 2 + (w - O) ** 2) / 4) : O = Math.sqrt(b.clientWidth ** 2 + b.clientHeight ** 2) / 2; - const T = (b.clientWidth - 2 * O) / 2 + "px", $ = (b.clientHeight - 2 * O) / 2 + "px"; - return { radius: O, scale: G, x: g.center ? T : C - O + "px", y: g.center ? $ : w - O + "px", centerX: T, centerY: $ }; - }(e, t, n), y = 2 * a + "px"; - o.className = "v-ripple__animation", o.style.width = y, o.style.height = y, t.appendChild(l); - const f = window.getComputedStyle(t); - f && f.position === "static" && (t.style.position = "relative", t.dataset.previousPosition = "static"), o.classList.add("v-ripple__animation--enter"), o.classList.add("v-ripple__animation--visible"), zo(o, `translate(${u}, ${s}) scale3d(${c},${c},${c})`), o.dataset.activated = String(performance.now()), setTimeout(() => { - o.classList.remove("v-ripple__animation--enter"), o.classList.add("v-ripple__animation--in"), zo(o, `translate(${i}, ${p}) scale3d(1,1,1)`); + let w = 0, q = 0.3; + (M = b._ripple) != null && M.circle ? (q = 0.15, w = b.clientWidth / 2, w = g.center ? w : w + Math.sqrt((I - w) ** 2 + (k - w) ** 2) / 4) : w = Math.sqrt(b.clientWidth ** 2 + b.clientHeight ** 2) / 2; + const P = (b.clientWidth - 2 * w) / 2 + "px", z = (b.clientHeight - 2 * w) / 2 + "px"; + return { radius: w, scale: q, x: g.center ? P : I - w + "px", y: g.center ? z : k - w + "px", centerX: P, centerY: z }; + }(e, n, t), y = 2 * a + "px"; + o.className = "v-ripple__animation", o.style.width = y, o.style.height = y, n.appendChild(l); + const f = window.getComputedStyle(n); + f && f.position === "static" && (n.style.position = "relative", n.dataset.previousPosition = "static"), o.classList.add("v-ripple__animation--enter"), o.classList.add("v-ripple__animation--visible"), Po(o, `translate(${u}, ${s}) scale3d(${c},${c},${c})`), o.dataset.activated = String(performance.now()), setTimeout(() => { + o.classList.remove("v-ripple__animation--enter"), o.classList.add("v-ripple__animation--in"), Po(o, `translate(${i}, ${p}) scale3d(1,1,1)`); }, 0); }, hide(e) { var a; if (!((a = e == null ? void 0 : e._ripple) != null && a.enabled)) return; - const t = e.getElementsByClassName("v-ripple__animation"); - if (t.length === 0) + const n = e.getElementsByClassName("v-ripple__animation"); + if (n.length === 0) return; - const n = t[t.length - 1]; - if (n.dataset.isHiding) + const t = n[n.length - 1]; + if (t.dataset.isHiding) return; - n.dataset.isHiding = "true"; - const l = performance.now() - Number(n.dataset.activated), o = Math.max(250 - l, 0); + t.dataset.isHiding = "true"; + const l = performance.now() - Number(t.dataset.activated), o = Math.max(250 - l, 0); setTimeout(() => { - n.classList.remove("v-ripple__animation--in"), n.classList.add("v-ripple__animation--out"), setTimeout(() => { + t.classList.remove("v-ripple__animation--in"), t.classList.add("v-ripple__animation--out"), setTimeout(() => { var c; - e.getElementsByClassName("v-ripple__animation").length === 1 && e.dataset.previousPosition && (e.style.position = e.dataset.previousPosition, delete e.dataset.previousPosition), ((c = n.parentNode) == null ? void 0 : c.parentNode) === e && e.removeChild(n.parentNode); + e.getElementsByClassName("v-ripple__animation").length === 1 && e.dataset.previousPosition && (e.style.position = e.dataset.previousPosition, delete e.dataset.previousPosition), ((c = t.parentNode) == null ? void 0 : c.parentNode) === e && e.removeChild(t.parentNode); }, 300); }, o); } }; -function za(e) { +function Oa(e) { return e === void 0 || !!e; } -function Ct(e) { - const t = {}, n = e.currentTarget; - if (n != null && n._ripple && !n._ripple.touched && !e[wl]) { +function Cn(e) { + const n = {}, t = e.currentTarget; + if (t != null && t._ripple && !t._ripple.touched && !e[wl]) { if (e[wl] = !0, Fl(e)) - n._ripple.touched = !0, n._ripple.isTouch = !0; - else if (n._ripple.isTouch) + t._ripple.touched = !0, t._ripple.isTouch = !0; + else if (t._ripple.isTouch) return; - if (t.center = n._ripple.centered || Ta(e), n._ripple.class && (t.class = n._ripple.class), Fl(e)) { - if (n._ripple.showTimerCommit) + if (n.center = t._ripple.centered || _a(e), t._ripple.class && (n.class = t._ripple.class), Fl(e)) { + if (t._ripple.showTimerCommit) return; - n._ripple.showTimerCommit = () => { - Qt.show(e, n, t); - }, n._ripple.showTimer = window.setTimeout(() => { + t._ripple.showTimerCommit = () => { + Qn.show(e, t, n); + }, t._ripple.showTimer = window.setTimeout(() => { var l; - (l = n == null ? void 0 : n._ripple) != null && l.showTimerCommit && (n._ripple.showTimerCommit(), n._ripple.showTimerCommit = null); - }, dr); + (l = t == null ? void 0 : t._ripple) != null && l.showTimerCommit && (t._ripple.showTimerCommit(), t._ripple.showTimerCommit = null); + }, tr); } else - Qt.show(e, n, t); + Qn.show(e, t, n); } } -function Do(e) { +function $o(e) { e[wl] = !0; } function Ze(e) { - const t = e.currentTarget; - if (t != null && t._ripple) { - if (window.clearTimeout(t._ripple.showTimer), e.type === "touchend" && t._ripple.showTimerCommit) - return t._ripple.showTimerCommit(), t._ripple.showTimerCommit = null, void (t._ripple.showTimer = window.setTimeout(() => { + const n = e.currentTarget; + if (n != null && n._ripple) { + if (window.clearTimeout(n._ripple.showTimer), e.type === "touchend" && n._ripple.showTimerCommit) + return n._ripple.showTimerCommit(), n._ripple.showTimerCommit = null, void (n._ripple.showTimer = window.setTimeout(() => { Ze(e); })); window.setTimeout(() => { - t._ripple && (t._ripple.touched = !1); - }), Qt.hide(t); + n._ripple && (n._ripple.touched = !1); + }), Qn.hide(n); } } -function Da(e) { - const t = e.currentTarget; - t != null && t._ripple && (t._ripple.showTimerCommit && (t._ripple.showTimerCommit = null), window.clearTimeout(t._ripple.showTimer)); +function Pa(e) { + const n = e.currentTarget; + n != null && n._ripple && (n._ripple.showTimerCommit && (n._ripple.showTimerCommit = null), window.clearTimeout(n._ripple.showTimer)); } -let It = !1; -function La(e) { - It || e.keyCode !== ro.enter && e.keyCode !== ro.space || (It = !0, Ct(e)); +let In = !1; +function $a(e) { + In || e.keyCode !== ro.enter && e.keyCode !== ro.space || (In = !0, Cn(e)); } -function Wa(e) { - It = !1, Ze(e); +function Ea(e) { + In = !1, Ze(e); } -function Ma(e) { - It && (It = !1, Ze(e)); +function Ta(e) { + In && (In = !1, Ze(e)); } -function Lo(e, t, n) { - const { value: l, modifiers: o } = t, a = za(l); - if (a || Qt.hide(e), e._ripple = e._ripple ?? {}, e._ripple.enabled = a, e._ripple.centered = o.center, e._ripple.circle = o.circle, Sl(l) && l.class && (e._ripple.class = l.class), a && !n) { +function Eo(e, n, t) { + const { value: l, modifiers: o } = n, a = Oa(l); + if (a || Qn.hide(e), e._ripple = e._ripple ?? {}, e._ripple.enabled = a, e._ripple.centered = o.center, e._ripple.circle = o.circle, Sl(l) && l.class && (e._ripple.class = l.class), a && !t) { if (o.stop) - return e.addEventListener("touchstart", Do, { passive: !0 }), void e.addEventListener("mousedown", Do); - e.addEventListener("touchstart", Ct, { passive: !0 }), e.addEventListener("touchend", Ze, { passive: !0 }), e.addEventListener("touchmove", Da, { passive: !0 }), e.addEventListener("touchcancel", Ze), e.addEventListener("mousedown", Ct), e.addEventListener("mouseup", Ze), e.addEventListener("mouseleave", Ze), e.addEventListener("keydown", La), e.addEventListener("keyup", Wa), e.addEventListener("blur", Ma), e.addEventListener("dragstart", Ze, { passive: !0 }); + return e.addEventListener("touchstart", $o, { passive: !0 }), void e.addEventListener("mousedown", $o); + e.addEventListener("touchstart", Cn, { passive: !0 }), e.addEventListener("touchend", Ze, { passive: !0 }), e.addEventListener("touchmove", Pa, { passive: !0 }), e.addEventListener("touchcancel", Ze), e.addEventListener("mousedown", Cn), e.addEventListener("mouseup", Ze), e.addEventListener("mouseleave", Ze), e.addEventListener("keydown", $a), e.addEventListener("keyup", Ea), e.addEventListener("blur", Ta), e.addEventListener("dragstart", Ze, { passive: !0 }); } else - !a && n && Ra(e); + !a && t && za(e); } -function Ra(e) { - e.removeEventListener("mousedown", Ct), e.removeEventListener("touchstart", Ct), e.removeEventListener("touchend", Ze), e.removeEventListener("touchmove", Da), e.removeEventListener("touchcancel", Ze), e.removeEventListener("mouseup", Ze), e.removeEventListener("mouseleave", Ze), e.removeEventListener("keydown", La), e.removeEventListener("keyup", Wa), e.removeEventListener("dragstart", Ze), e.removeEventListener("blur", Ma); +function za(e) { + e.removeEventListener("mousedown", Cn), e.removeEventListener("touchstart", Cn), e.removeEventListener("touchend", Ze), e.removeEventListener("touchmove", Pa), e.removeEventListener("touchcancel", Ze), e.removeEventListener("mouseup", Ze), e.removeEventListener("mouseleave", Ze), e.removeEventListener("keydown", $a), e.removeEventListener("keyup", Ea), e.removeEventListener("dragstart", Ze), e.removeEventListener("blur", Ta); } -const $t = { mounted: function(e, t) { - Lo(e, t, !1); +const Pn = { mounted: function(e, n) { + Eo(e, n, !1); }, unmounted: function(e) { - delete e._ripple, Ra(e); -}, updated: function(e, t) { - t.value !== t.oldValue && Lo(e, t, za(t.oldValue)); -} }, pr = H({ active: { type: Boolean, default: void 0 }, symbol: { type: null, default: _a }, flat: Boolean, icon: [Boolean, String, Function, Object], prependIcon: Ce, appendIcon: Ce, block: Boolean, slim: Boolean, stacked: Boolean, ripple: { type: [Boolean, Object], default: !0 }, text: String, ...nt(), ...ye(), ...cn(), ...Dn(), ...lt(), ...Fa(), ...Zl(), ...Kl(), ...$a(), ...hn(), ...rl(), ...Ot(), ...en({ tag: "button" }), ...Ne(), ...kn({ variant: "elevated" }) }, "VBtn"), Wo = ne()({ name: "VBtn", directives: { Ripple: $t }, props: pr(), emits: { "group:selected": (e) => !0 }, setup(e, t) { - let { attrs: n, slots: l } = t; - const { themeClasses: o } = Xe(e), { borderClasses: a } = tt(e), { colorClasses: c, colorStyles: u, variantClasses: s } = _t(e), { densityClasses: i } = Cn(e), { dimensionStyles: p } = Ln(e), { elevationClasses: y } = ot(e), { loaderClasses: f } = al(e), { locationStyles: m } = Jl(e), { positionClasses: h } = Ea(e), { roundedClasses: b } = bn(e), { sizeClasses: g, sizeStyles: C } = Pt(e), w = Va(e, e.symbol, !1), O = il(e, n), G = v(() => { + delete e._ripple, za(e); +}, updated: function(e, n) { + n.value !== n.oldValue && Eo(e, n, Oa(n.oldValue)); +} }, nr = H({ active: { type: Boolean, default: void 0 }, symbol: { type: null, default: xa }, flat: Boolean, icon: [Boolean, String, Function, Object], prependIcon: Ce, appendIcon: Ce, block: Boolean, slim: Boolean, stacked: Boolean, ripple: { type: [Boolean, Object], default: !0 }, text: String, ...on(), ...ye(), ...ut(), ...zt(), ...rn(), ...Ia(), ...Zl(), ...Kl(), ...Aa(), ...ht(), ...sl(), ...Vn(), ...et({ tag: "button" }), ...Ne(), ...xt({ variant: "elevated" }) }, "VBtn"), To = te()({ name: "VBtn", directives: { Ripple: Pn }, props: nr(), emits: { "group:selected": (e) => !0 }, setup(e, n) { + let { attrs: t, slots: l } = n; + const { themeClasses: o } = Xe(e), { borderClasses: a } = an(e), { colorClasses: c, colorStyles: u, variantClasses: s } = An(e), { densityClasses: i } = gt(e), { dimensionStyles: p } = Dt(e), { elevationClasses: y } = sn(e), { loaderClasses: f } = il(e), { locationStyles: m } = Jl(e), { positionClasses: h } = Va(e), { roundedClasses: b } = bt(e), { sizeClasses: g, sizeStyles: I } = _n(e), k = Sa(e, e.symbol, !1), w = rl(e, t), q = v(() => { var S; - return e.active !== void 0 ? e.active : O.isLink.value ? (S = O.isActive) == null ? void 0 : S.value : w == null ? void 0 : w.isSelected.value; - }), T = v(() => (w == null ? void 0 : w.disabled.value) || e.disabled), $ = v(() => e.variant === "elevated" && !(e.disabled || e.flat || e.border)), R = v(() => { + return e.active !== void 0 ? e.active : w.isLink.value ? (S = w.isActive) == null ? void 0 : S.value : k == null ? void 0 : k.isSelected.value; + }), P = v(() => (k == null ? void 0 : k.disabled.value) || e.disabled), z = v(() => e.variant === "elevated" && !(e.disabled || e.flat || e.border)), M = v(() => { if (e.value !== void 0 && typeof e.value != "symbol") return Object(e.value) === e.value ? JSON.stringify(e.value, null, 0) : e.value; }); - function P(S) { - var A; - T.value || O.isLink.value && (S.metaKey || S.ctrlKey || S.shiftKey || S.button !== 0 || n.target === "_blank") || ((A = O.navigate) == null || A.call(O, S), w == null || w.toggle()); + function $(S) { + var O; + P.value || w.isLink.value && (S.metaKey || S.ctrlKey || S.shiftKey || S.button !== 0 || t.target === "_blank") || ((O = w.navigate) == null || O.call(w, S), k == null || k.toggle()); } - return function(S, A) { + return function(S, O) { K(() => { - var I; - return (I = S.isActive) == null ? void 0 : I.value; - }, (I) => { - S.isLink.value && I && A && Me(() => { - A(!0); + var C; + return (C = S.isActive) == null ? void 0 : C.value; + }, (C) => { + S.isLink.value && C && O && Me(() => { + O(!0); }); }, { immediate: !0 }); - }(O, w == null ? void 0 : w.select), se(() => { - var M, N; - const S = O.isLink.value ? "a" : e.tag, A = !(!e.prependIcon && !l.prepend), I = !(!e.appendIcon && !l.append), F = !(!e.icon || e.icon === !0), _ = (w == null ? void 0 : w.isSelected.value) && (!O.isLink.value || ((M = O.isActive) == null ? void 0 : M.value)) || !w || ((N = O.isActive) == null ? void 0 : N.value); - return Ue(d(S, { type: S === "a" ? void 0 : "button", class: ["v-btn", w == null ? void 0 : w.selectedClass.value, { "v-btn--active": G.value, "v-btn--block": e.block, "v-btn--disabled": T.value, "v-btn--elevated": $.value, "v-btn--flat": e.flat, "v-btn--icon": !!e.icon, "v-btn--loading": e.loading, "v-btn--slim": e.slim, "v-btn--stacked": e.stacked }, o.value, a.value, _ ? c.value : void 0, i.value, y.value, f.value, h.value, b.value, g.value, s.value, e.class], style: [_ ? u.value : void 0, p.value, m.value, C.value, e.style], disabled: T.value || void 0, href: O.href.value, onClick: P, value: R.value }, { default: () => { - var k; - return [At(!0, "v-btn"), !e.icon && A && d("span", { key: "prepend", class: "v-btn__prepend" }, [l.prepend ? d(je, { key: "prepend-defaults", disabled: !e.prependIcon, defaults: { VIcon: { icon: e.prependIcon } } }, l.prepend) : d(Se, { key: "prepend-icon", icon: e.prependIcon }, null)]), d("span", { class: "v-btn__content", "data-no-activator": "" }, [!l.default && F ? d(Se, { key: "content-icon", icon: e.icon }, null) : d(je, { key: "content-defaults", disabled: !F, defaults: { VIcon: { icon: e.icon } } }, { default: () => { + }(w, k == null ? void 0 : k.select), se(() => { + var j, _; + const S = w.isLink.value ? "a" : e.tag, O = !(!e.prependIcon && !l.prepend), C = !(!e.appendIcon && !l.append), F = !(!e.icon || e.icon === !0), V = (k == null ? void 0 : k.isSelected.value) && (!w.isLink.value || ((j = w.isActive) == null ? void 0 : j.value)) || !k || ((_ = w.isActive) == null ? void 0 : _.value); + return Ue(d(S, { type: S === "a" ? void 0 : "button", class: ["v-btn", k == null ? void 0 : k.selectedClass.value, { "v-btn--active": q.value, "v-btn--block": e.block, "v-btn--disabled": P.value, "v-btn--elevated": z.value, "v-btn--flat": e.flat, "v-btn--icon": !!e.icon, "v-btn--loading": e.loading, "v-btn--slim": e.slim, "v-btn--stacked": e.stacked }, o.value, a.value, V ? c.value : void 0, i.value, y.value, f.value, h.value, b.value, g.value, s.value, e.class], style: [V ? u.value : void 0, p.value, m.value, I.value, e.style], disabled: P.value || void 0, href: w.href.value, onClick: $, value: M.value }, { default: () => { + var A; + return [Fn(!0, "v-btn"), !e.icon && O && d("span", { key: "prepend", class: "v-btn__prepend" }, [l.prepend ? d(je, { key: "prepend-defaults", disabled: !e.prependIcon, defaults: { VIcon: { icon: e.prependIcon } } }, l.prepend) : d(Se, { key: "prepend-icon", icon: e.prependIcon }, null)]), d("span", { class: "v-btn__content", "data-no-activator": "" }, [!l.default && F ? d(Se, { key: "content-icon", icon: e.icon }, null) : d(je, { key: "content-defaults", disabled: !F, defaults: { VIcon: { icon: e.icon } } }, { default: () => { var B; return [((B = l.default) == null ? void 0 : B.call(l)) ?? e.text]; - } })]), !e.icon && I && d("span", { key: "append", class: "v-btn__append" }, [l.append ? d(je, { key: "append-defaults", disabled: !e.appendIcon, defaults: { VIcon: { icon: e.appendIcon } } }, l.append) : d(Se, { key: "append-icon", icon: e.appendIcon }, null)]), !!e.loading && d("span", { key: "loader", class: "v-btn__loader" }, [((k = l.loader) == null ? void 0 : k.call(l)) ?? d(Pa, { color: typeof e.loading == "boolean" ? void 0 : e.loading, indeterminate: !0, size: "23", width: "2" }, null)])]; - } }), [[gn("ripple"), !T.value && e.ripple, null]]); + } })]), !e.icon && C && d("span", { key: "append", class: "v-btn__append" }, [l.append ? d(je, { key: "append-defaults", disabled: !e.appendIcon, defaults: { VIcon: { icon: e.appendIcon } } }, l.append) : d(Se, { key: "append-icon", icon: e.appendIcon }, null)]), !!e.loading && d("span", { key: "loader", class: "v-btn__loader" }, [((A = l.loader) == null ? void 0 : A.call(l)) ?? d(wa, { color: typeof e.loading == "boolean" ? void 0 : e.loading, indeterminate: !0, size: "23", width: "2" }, null)])]; + } }), [[mt("ripple"), !P.value && e.ripple, null]]); + }), {}; +} }), un = rt({ __name: "SaveFieldButtons", props: { loading: { type: Boolean }, cancelButtonColor: {}, cancelButtonSize: {}, cancelButtonVariant: {}, cancelButtonTitle: {}, cancelIconColor: {}, error: { type: Boolean }, fieldOnly: { type: Boolean }, hideCancelIcon: { type: Boolean }, hideSaveIcon: { type: Boolean }, cancelIcon: {}, loadingIcon: {}, loadingIconColor: {}, saveButtonColor: {}, saveButtonSize: {}, saveButtonTitle: {}, saveButtonVariant: {}, saveIconColor: {}, saveIcon: {} }, emits: ["close", "save"], setup(e, { emit: n }) { + const t = Ot(), l = n, o = e, a = me(Symbol.for("vuetify:icons")), c = v(() => o.error), u = v(() => ({ [`${re}--save-fields-container`]: !0 })), s = v(() => o.loading), i = lt({ ...t, ...o }), p = v(() => (a == null ? void 0 : a.defaultSet) === "fa" ? "fa-spin" : (a == null ? void 0 : a.defaultSet) === "mdi" ? "mdi-spin" : ""), y = v(() => ((I) => { + const { cancelButtonVariant: k } = I; + return { "me-1": k === "elevated", "ms-1": !0 }; + })({ cancelButtonVariant: i.cancelButtonVariant })), f = v(() => ot({ icon: o.cancelIcon, iconOptions: a, name: "false" })), m = v(() => ot({ icon: o.loadingIcon, iconOptions: a, name: "loading" })), h = v(() => ot({ icon: o.saveIcon, iconOptions: a, name: "save" })); + function b() { + l("close"); + } + function g() { + l("save"); + } + return (I, k) => (J(), ce("div", Z({ class: r(u) }, I.$attrs), [r(i).hideSaveIcon ? xe("", !0) : (J(), ze(To, { key: 0, class: "ms-1", color: r(i).saveButtonColor, disabled: r(c), icon: "", size: r(i).saveButtonSize, title: r(s) ? "Loading" : r(i).saveButtonTitle, variant: r(i).saveButtonVariant, onClick: g }, { default: he(() => [r(s) ? (J(), ze(Se, { key: 1, class: oe(r(p)), color: r(i).loadingIconColor, icon: r(m) }, null, 8, ["class", "color", "icon"])) : (J(), ze(Se, { key: 0, color: r(c) ? "error" : r(i).saveIconColor, icon: r(h) }, null, 8, ["color", "icon"]))]), _: 1 }, 8, ["color", "disabled", "size", "title", "variant"])), r(i).hideCancelIcon ? xe("", !0) : (J(), ze(To, { key: 1, class: oe(r(y)), color: r(i).cancelButtonColor, icon: "", size: r(i).cancelButtonSize, title: r(i).cancelButtonTitle, variant: r(i).cancelButtonVariant, onClick: b }, { default: he(() => [r(i).hideSaveIcon && r(s) ? (J(), ze(Se, { key: 0, class: oe(r(p)), color: r(i).loadingIconColor, icon: r(m) }, null, 8, ["class", "color", "icon"])) : (J(), ze(Se, { key: 1, class: "text-default", color: r(i).cancelIconColor, icon: r(f) }, null, 8, ["color", "icon"]))]), _: 1 }, 8, ["class", "color", "size", "title", "variant"]))], 16)); +} }), lr = H({ disabled: Boolean, group: Boolean, hideOnLeave: Boolean, leaveAbsolute: Boolean, mode: String, origin: String }, "transition"); +function Je(e, n, t) { + return te()({ name: e, props: lr({ mode: t, origin: n }), setup(l, o) { + let { slots: a } = o; + const c = { onBeforeEnter(u) { + l.origin && (u.style.transformOrigin = l.origin); + }, onLeave(u) { + if (l.leaveAbsolute) { + const { offsetTop: s, offsetLeft: i, offsetWidth: p, offsetHeight: y } = u; + u._transitionInitialStyles = { position: u.style.position, top: u.style.top, left: u.style.left, width: u.style.width, height: u.style.height }, u.style.position = "absolute", u.style.top = `${s}px`, u.style.left = `${i}px`, u.style.width = `${p}px`, u.style.height = `${y}px`; + } + l.hideOnLeave && u.style.setProperty("display", "none", "important"); + }, onAfterLeave(u) { + if (l.leaveAbsolute && (u != null && u._transitionInitialStyles)) { + const { position: s, top: i, left: p, width: y, height: f } = u._transitionInitialStyles; + delete u._transitionInitialStyles, u.style.position = s || "", u.style.top = i || "", u.style.left = p || "", u.style.width = y || "", u.style.height = f || ""; + } + } }; + return () => { + const u = l.group ? Si : At; + return ol(u, { name: l.disabled ? "" : e, css: !l.disabled, ...l.group ? void 0 : { mode: l.mode }, ...l.disabled ? {} : c }, a.default); + }; + } }); +} +function Da(e, n) { + let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "in-out"; + return te()({ name: e, props: { mode: { type: String, default: t }, disabled: Boolean }, setup(l, o) { + let { slots: a } = o; + return () => ol(At, { name: l.disabled ? "" : e, css: !l.disabled, ...l.disabled ? {} : n }, a.default); + } }); +} +function La() { + let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : ""; + const n = arguments.length > 1 && arguments[1] !== void 0 && arguments[1] ? "width" : "height", t = ta(`offset-${n}`); + return { onBeforeEnter(a) { + a._parent = a.parentNode, a._initialStyle = { transition: a.style.transition, overflow: a.style.overflow, [n]: a.style[n] }; + }, onEnter(a) { + const c = a._initialStyle; + a.style.setProperty("transition", "none", "important"), a.style.overflow = "hidden"; + const u = `${a[t]}px`; + a.style[n] = "0", a.offsetHeight, a.style.transition = c.transition, e && a._parent && a._parent.classList.add(e), requestAnimationFrame(() => { + a.style[n] = u; + }); + }, onAfterEnter: o, onEnterCancelled: o, onLeave(a) { + a._initialStyle = { transition: "", overflow: a.style.overflow, [n]: a.style[n] }, a.style.overflow = "hidden", a.style[n] = `${a[t]}px`, a.offsetHeight, requestAnimationFrame(() => a.style[n] = "0"); + }, onAfterLeave: l, onLeaveCancelled: l }; + function l(a) { + e && a._parent && a._parent.classList.remove(e), o(a); + } + function o(a) { + const c = a._initialStyle[n]; + a.style.overflow = a._initialStyle.overflow, c != null && (a.style[n] = c), delete a._initialStyle; + } +} +const or = H({ target: [Object, Array] }, "v-dialog-transition"), Wa = te()({ name: "VDialogTransition", props: or(), setup(e, n) { + let { slots: t } = n; + const l = { onBeforeEnter(o) { + o.style.pointerEvents = "none", o.style.visibility = "hidden"; + }, async onEnter(o, a) { + var f; + await new Promise((m) => requestAnimationFrame(m)), await new Promise((m) => requestAnimationFrame(m)), o.style.visibility = ""; + const { x: c, y: u, sx: s, sy: i, speed: p } = Do(e.target, o), y = Nt(o, [{ transform: `translate(${c}px, ${u}px) scale(${s}, ${i})`, opacity: 0 }, {}], { duration: 225 * p, easing: "cubic-bezier(0.0, 0, 0.2, 1)" }); + (f = zo(o)) == null || f.forEach((m) => { + Nt(m, [{ opacity: 0 }, { opacity: 0, offset: 0.33 }, {}], { duration: 450 * p, easing: Kn }); + }), y.finished.then(() => a()); + }, onAfterEnter(o) { + o.style.removeProperty("pointer-events"); + }, onBeforeLeave(o) { + o.style.pointerEvents = "none"; + }, async onLeave(o, a) { + var y; + await new Promise((f) => requestAnimationFrame(f)); + const { x: c, y: u, sx: s, sy: i, speed: p } = Do(e.target, o); + Nt(o, [{}, { transform: `translate(${c}px, ${u}px) scale(${s}, ${i})`, opacity: 0 }], { duration: 125 * p, easing: "cubic-bezier(0.4, 0, 1, 1)" }).finished.then(() => a()), (y = zo(o)) == null || y.forEach((f) => { + Nt(f, [{}, { opacity: 0, offset: 0.2 }, { opacity: 0 }], { duration: 250 * p, easing: Kn }); + }); + }, onAfterLeave(o) { + o.style.removeProperty("pointer-events"); + } }; + return () => e.target ? d(At, Z({ name: "dialog-transition" }, l, { css: !1 }), t) : d(At, { name: "dialog-transition" }, t); +} }); +function zo(e) { + var t; + const n = (t = e.querySelector(":scope > .v-card, :scope > .v-sheet, :scope > .v-list")) == null ? void 0 : t.children; + return n && [...n]; +} +function Do(e, n) { + const t = fa(e), l = Gl(n), [o, a] = getComputedStyle(n).transformOrigin.split(" ").map((I) => parseFloat(I)), [c, u] = getComputedStyle(n).getPropertyValue("--v-overlay-anchor-origin").split(" "); + let s = t.left + t.width / 2; + c === "left" || u === "left" ? s -= t.width / 2 : c !== "right" && u !== "right" || (s += t.width / 2); + let i = t.top + t.height / 2; + c === "top" || u === "top" ? i -= t.height / 2 : c !== "bottom" && u !== "bottom" || (i += t.height / 2); + const p = t.width / l.width, y = t.height / l.height, f = Math.max(1, p, y), m = p / f || 0, h = y / f || 0, b = l.width * l.height / (window.innerWidth * window.innerHeight), g = b > 0.12 ? Math.min(1.5, 10 * (b - 0.12) + 1) : 1; + return { x: s - (o + l.left), y: i - (a + l.top), sx: m, sy: h, speed: g }; +} +Je("fab-transition", "center center", "out-in"), Je("dialog-bottom-transition"), Je("dialog-top-transition"), Je("fade-transition"); +const ar = Je("scale-transition"); +Je("scroll-x-transition"), Je("scroll-x-reverse-transition"), Je("scroll-y-transition"), Je("scroll-y-reverse-transition"), Je("slide-x-transition"), Je("slide-x-reverse-transition"); +const Ma = Je("slide-y-transition"); +Je("slide-y-reverse-transition"); +const ir = Da("expand-transition", La()), Ra = Da("expand-x-transition", La("", !0)), Na = H({ aspectRatio: [String, Number], contentClass: String, inline: Boolean, ...ye(), ...zt() }, "VResponsive"), Lo = te()({ name: "VResponsive", props: Na(), setup(e, n) { + let { slots: t } = n; + const { aspectStyles: l } = function(a) { + return { aspectStyles: v(() => { + const c = Number(a.aspectRatio); + return c ? { paddingBottom: String(1 / c * 100) + "%" } : void 0; + }) }; + }(e), { dimensionStyles: o } = Dt(e); + return se(() => { + var a; + return d("div", { class: ["v-responsive", { "v-responsive--inline": e.inline }, e.class], style: [o.value, e.style] }, [d("div", { class: "v-responsive__sizer", style: l.value }, null), (a = t.additional) == null ? void 0 : a.call(t), t.default && d("div", { class: ["v-responsive__content", e.contentClass] }, [t.default()])]); }), {}; -} }), vr = H({ text: String, clickable: Boolean, ...ye(), ...Ne() }, "VLabel"), Na = ne()({ name: "VLabel", props: vr(), setup(e, t) { - let { slots: n } = t; +} }), $n = H({ transition: { type: [Boolean, String, Object], default: "fade-transition", validator: (e) => e !== !0 } }, "transition"), Ct = (e, n) => { + let { slots: t } = n; + const { transition: l, disabled: o, ...a } = e, { component: c = At, ...u } = typeof l == "object" ? l : {}; + return ol(c, Z(typeof l == "string" ? { name: o ? "" : l } : u, a, { disabled: o }), t); +}; +function Wo(e, n) { + var l; + const t = (l = e._observe) == null ? void 0 : l[n.instance.$.uid]; + t && (t.observer.unobserve(e), delete e._observe[n.instance.$.uid]); +} +const eo = { mounted: function(e, n) { + if (!Nl) + return; + const t = n.modifiers || {}, l = n.value, { handler: o, options: a } = typeof l == "object" ? l : { handler: l, options: {} }, c = new IntersectionObserver(function() { + var y; + let u = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], s = arguments.length > 1 ? arguments[1] : void 0; + const i = (y = e._observe) == null ? void 0 : y[n.instance.$.uid]; + if (!i) + return; + const p = u.some((f) => f.isIntersecting); + !o || t.quiet && !i.init || t.once && !p && !i.init || o(p, u, s), p && t.once ? Wo(e, n) : i.init = !0; + }, a); + e._observe = Object(e._observe), e._observe[n.instance.$.uid] = { init: !1, observer: c }, c.observe(e); +}, unmounted: Wo }, rr = H({ alt: String, cover: Boolean, draggable: { type: [Boolean, String], default: void 0 }, eager: Boolean, gradient: String, lazySrc: String, options: { type: Object, default: () => ({ root: void 0, rootMargin: void 0, threshold: void 0 }) }, sizes: String, src: { type: [String, Object], default: "" }, crossorigin: String, referrerpolicy: String, srcset: String, position: String, ...Na(), ...ye(), ...$n() }, "VImg"), ja = te()({ name: "VImg", directives: { intersect: eo }, props: rr(), emits: { loadstart: (e) => !0, load: (e) => !0, error: (e) => !0 }, setup(e, n) { + let { emit: t, slots: l } = n; + const o = Le("VImg"), a = de(""), c = D(), u = de(e.eager ? "loading" : "idle"), s = de(), i = de(), p = v(() => e.src && typeof e.src == "object" ? { src: e.src.src, srcset: e.srcset || e.src.srcset, lazySrc: e.lazySrc || e.src.lazySrc, aspect: Number(e.aspectRatio || e.src.aspect || 0) } : { src: e.src, srcset: e.srcset, lazySrc: e.lazySrc, aspect: Number(e.aspectRatio || 0) }), y = v(() => p.value.aspect || s.value / i.value || 0); + function f(S) { + if ((!e.eager || !S) && (!Nl || S || e.eager)) { + if (u.value = "loading", p.value.lazySrc) { + const O = new Image(); + O.src = p.value.lazySrc, I(O, null); + } + p.value.src && Me(() => { + var O; + t("loadstart", ((O = c.value) == null ? void 0 : O.currentSrc) || p.value.src), setTimeout(() => { + var C; + if (!o.isUnmounted) + if ((C = c.value) != null && C.complete) { + if (c.value.naturalWidth || h(), u.value === "error") + return; + y.value || I(c.value, null), u.value === "loading" && m(); + } else + y.value || I(c.value), b(); + }); + }); + } + } + function m() { + var S; + o.isUnmounted || (b(), I(c.value), u.value = "loaded", t("load", ((S = c.value) == null ? void 0 : S.currentSrc) || p.value.src)); + } + function h() { + var S; + o.isUnmounted || (u.value = "error", t("error", ((S = c.value) == null ? void 0 : S.currentSrc) || p.value.src)); + } + function b() { + const S = c.value; + S && (a.value = S.currentSrc || S.src); + } + K(() => e.src, () => { + f(u.value !== "idle"); + }), K(y, (S, O) => { + !S && O && c.value && I(c.value); + }), na(() => f()); + let g = -1; + function I(S) { + let O = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 100; + const C = () => { + if (clearTimeout(g), o.isUnmounted) + return; + const { naturalHeight: F, naturalWidth: V } = S; + F || V ? (s.value = V, i.value = F) : S.complete || u.value !== "loading" || O == null ? (S.currentSrc.endsWith(".svg") || S.currentSrc.startsWith("data:image/svg+xml")) && (s.value = 1, i.value = 1) : g = window.setTimeout(C, O); + }; + C(); + } + yt(() => { + clearTimeout(g); + }); + const k = v(() => ({ "v-img__img--cover": e.cover, "v-img__img--contain": !e.cover })), w = () => { + var C; + if (!p.value.src || u.value === "idle") + return null; + const S = d("img", { class: ["v-img__img", k.value], style: { objectPosition: e.position }, src: p.value.src, srcset: p.value.srcset, alt: e.alt, crossorigin: e.crossorigin, referrerpolicy: e.referrerpolicy, draggable: e.draggable, sizes: e.sizes, ref: c, onLoad: m, onError: h }, null), O = (C = l.sources) == null ? void 0 : C.call(l); + return d(Ct, { transition: e.transition, appear: !0 }, { default: () => [Ue(O ? d("picture", { class: "v-img__picture" }, [O, S]) : S, [[Ht, u.value === "loaded"]])] }); + }, q = () => d(Ct, { transition: e.transition }, { default: () => [p.value.lazySrc && u.value !== "loaded" && d("img", { class: ["v-img__img", "v-img__img--preload", k.value], style: { objectPosition: e.position }, src: p.value.lazySrc, alt: e.alt, crossorigin: e.crossorigin, referrerpolicy: e.referrerpolicy, draggable: e.draggable }, null)] }), P = () => l.placeholder ? d(Ct, { transition: e.transition, appear: !0 }, { default: () => [(u.value === "loading" || u.value === "error" && !l.error) && d("div", { class: "v-img__placeholder" }, [l.placeholder()])] }) : null, z = () => l.error ? d(Ct, { transition: e.transition, appear: !0 }, { default: () => [u.value === "error" && d("div", { class: "v-img__error" }, [l.error()])] }) : null, M = () => e.gradient ? d("div", { class: "v-img__gradient", style: { backgroundImage: `linear-gradient(${e.gradient})` } }, null) : null, $ = de(!1); + { + const S = K(y, (O) => { + O && (requestAnimationFrame(() => { + requestAnimationFrame(() => { + $.value = !0; + }); + }), S()); + }); + } + return se(() => { + const S = Lo.filterProps(e); + return Ue(d(Lo, Z({ class: ["v-img", { "v-img--booting": !$.value }, e.class], style: [{ width: ie(e.width === "auto" ? s.value : e.width) }, e.style] }, S, { aspectRatio: y.value, "aria-label": e.alt, role: e.alt ? "img" : void 0 }), { additional: () => d(Fe, null, [d(w, null, null), d(q, null, null), d(M, null, null), d(P, null, null), d(z, null, null)]), default: l.default }), [[mt("intersect"), { handler: f, options: e.options }, null, { once: !0 }]]); + }), { currentSrc: a, image: c, state: u, naturalWidth: s, naturalHeight: i }; +} }), sr = H({ text: String, clickable: Boolean, ...ye(), ...Ne() }, "VLabel"), Ga = te()({ name: "VLabel", props: sr(), setup(e, n) { + let { slots: t } = n; return se(() => { var l; - return d("label", { class: ["v-label", { "v-label--clickable": e.clickable }, e.class], style: e.style }, [e.text, (l = n.default) == null ? void 0 : l.call(n)]); + return d("label", { class: ["v-label", { "v-label--clickable": e.clickable }, e.class], style: e.style }, [e.text, (l = t.default) == null ? void 0 : l.call(t)]); }), {}; -} }), ja = Symbol.for("vuetify:selection-control-group"), Ga = H({ color: String, disabled: { type: Boolean, default: null }, defaultsTarget: String, error: Boolean, id: String, inline: Boolean, falseIcon: Ce, trueIcon: Ce, ripple: { type: Boolean, default: !0 }, multiple: { type: Boolean, default: null }, name: String, readonly: { type: Boolean, default: null }, modelValue: null, type: String, valueComparator: { type: Function, default: Qn }, ...ye(), ...cn(), ...Ne() }, "SelectionControlGroup"), fr = H({ ...Ga({ defaultsTarget: "VSelectionControl" }) }, "VSelectionControlGroup"); -ne()({ name: "VSelectionControlGroup", props: fr(), emits: { "update:modelValue": (e) => !0 }, setup(e, t) { - let { slots: n } = t; - const l = $e(e, "modelValue"), o = tn(), a = v(() => e.id || `v-selection-control-group-${o}`), c = v(() => e.name || a.value), u = /* @__PURE__ */ new Set(); - return nn(ja, { modelValue: l, forceUpdate: () => { +} }), Ua = Symbol.for("vuetify:selection-control-group"), qa = H({ color: String, disabled: { type: Boolean, default: null }, defaultsTarget: String, error: Boolean, id: String, inline: Boolean, falseIcon: Ce, trueIcon: Ce, ripple: { type: Boolean, default: !0 }, multiple: { type: Boolean, default: null }, name: String, readonly: { type: Boolean, default: null }, modelValue: null, type: String, valueComparator: { type: Function, default: nn }, ...ye(), ...ut(), ...Ne() }, "SelectionControlGroup"), ur = H({ ...qa({ defaultsTarget: "VSelectionControl" }) }, "VSelectionControlGroup"); +te()({ name: "VSelectionControlGroup", props: ur(), emits: { "update:modelValue": (e) => !0 }, setup(e, n) { + let { slots: t } = n; + const l = $e(e, "modelValue"), o = nt(), a = v(() => e.id || `v-selection-control-group-${o}`), c = v(() => e.name || a.value), u = /* @__PURE__ */ new Set(); + return tt(Ua, { modelValue: l, forceUpdate: () => { u.forEach((s) => s()); }, onForceUpdate: (s) => { u.add(s), He(() => { u.delete(s); }); - } }), et({ [e.defaultsTarget]: { color: oe(e, "color"), disabled: oe(e, "disabled"), density: oe(e, "density"), error: oe(e, "error"), inline: oe(e, "inline"), modelValue: l, multiple: v(() => !!e.multiple || e.multiple == null && Array.isArray(l.value)), name: c, falseIcon: oe(e, "falseIcon"), trueIcon: oe(e, "trueIcon"), readonly: oe(e, "readonly"), ripple: oe(e, "ripple"), type: oe(e, "type"), valueComparator: oe(e, "valueComparator") } }), se(() => { + } }), ln({ [e.defaultsTarget]: { color: ae(e, "color"), disabled: ae(e, "disabled"), density: ae(e, "density"), error: ae(e, "error"), inline: ae(e, "inline"), modelValue: l, multiple: v(() => !!e.multiple || e.multiple == null && Array.isArray(l.value)), name: c, falseIcon: ae(e, "falseIcon"), trueIcon: ae(e, "trueIcon"), readonly: ae(e, "readonly"), ripple: ae(e, "ripple"), type: ae(e, "type"), valueComparator: ae(e, "valueComparator") } }), se(() => { var s; - return d("div", { class: ["v-selection-control-group", { "v-selection-control-group--inline": e.inline }, e.class], style: e.style, role: e.type === "radio" ? "radiogroup" : void 0 }, [(s = n.default) == null ? void 0 : s.call(n)]); + return d("div", { class: ["v-selection-control-group", { "v-selection-control-group--inline": e.inline }, e.class], style: e.style, role: e.type === "radio" ? "radiogroup" : void 0 }, [(s = t.default) == null ? void 0 : s.call(t)]); }), {}; } }); -const eo = H({ label: String, baseColor: String, trueValue: null, falseValue: null, value: null, ...ye(), ...Ga() }, "VSelectionControl"), el = ne()({ name: "VSelectionControl", directives: { Ripple: $t }, inheritAttrs: !1, props: eo(), emits: { "update:modelValue": (e) => !0 }, setup(e, t) { - let { attrs: n, slots: l } = t; - const { group: o, densityClasses: a, icon: c, model: u, textColorClasses: s, textColorStyles: i, backgroundColorClasses: p, backgroundColorStyles: y, trueValue: f } = function(T) { - const $ = me(ja, void 0), { densityClasses: R } = Cn(T), P = $e(T, "modelValue"), S = v(() => T.trueValue !== void 0 ? T.trueValue : T.value === void 0 || T.value), A = v(() => T.falseValue !== void 0 && T.falseValue), I = v(() => !!T.multiple || T.multiple == null && Array.isArray(P.value)), F = v({ get() { - const x = $ ? $.modelValue.value : P.value; - return I.value ? pn(x).some((V) => T.valueComparator(V, S.value)) : T.valueComparator(x, S.value); +const to = H({ label: String, baseColor: String, trueValue: null, falseValue: null, value: null, ...ye(), ...qa() }, "VSelectionControl"), el = te()({ name: "VSelectionControl", directives: { Ripple: Pn }, inheritAttrs: !1, props: to(), emits: { "update:modelValue": (e) => !0 }, setup(e, n) { + let { attrs: t, slots: l } = n; + const { group: o, densityClasses: a, icon: c, model: u, textColorClasses: s, textColorStyles: i, backgroundColorClasses: p, backgroundColorStyles: y, trueValue: f } = function(P) { + const z = me(Ua, void 0), { densityClasses: M } = gt(P), $ = $e(P, "modelValue"), S = v(() => P.trueValue !== void 0 ? P.trueValue : P.value === void 0 || P.value), O = v(() => P.falseValue !== void 0 && P.falseValue), C = v(() => !!P.multiple || P.multiple == null && Array.isArray($.value)), F = v({ get() { + const x = z ? z.modelValue.value : $.value; + return C.value ? dt(x).some((E) => P.valueComparator(E, S.value)) : P.valueComparator(x, S.value); }, set(x) { - if (T.readonly) + if (P.readonly) return; - const V = x ? S.value : A.value; - let j = V; - I.value && (j = x ? [...pn(P.value), V] : pn(P.value).filter((L) => !T.valueComparator(L, S.value))), $ ? $.modelValue.value = j : P.value = j; - } }), { textColorClasses: _, textColorStyles: M } = yn(v(() => { - if (!T.error && !T.disabled) - return F.value ? T.color : T.baseColor; - })), { backgroundColorClasses: N, backgroundColorStyles: k } = Un(v(() => !F.value || T.error || T.disabled ? void 0 : T.color)), B = v(() => F.value ? T.trueIcon : T.falseIcon); - return { group: $, densityClasses: R, trueValue: S, falseValue: A, model: F, textColorClasses: _, textColorStyles: M, backgroundColorClasses: N, backgroundColorStyles: k, icon: B }; - }(e), m = tn(), h = v(() => e.id || `input-${m}`), b = de(!1), g = de(!1), C = D(); - function w(T) { - b.value = !0, Yt(T.target, ":focus-visible") !== !1 && (g.value = !0); - } - function O() { + const E = x ? S.value : O.value; + let N = E; + C.value && (N = x ? [...dt($.value), E] : dt($.value).filter((R) => !P.valueComparator(R, S.value))), z ? z.modelValue.value = N : $.value = N; + } }), { textColorClasses: V, textColorStyles: j } = ft(v(() => { + if (!P.error && !P.disabled) + return F.value ? P.color : P.baseColor; + })), { backgroundColorClasses: _, backgroundColorStyles: A } = Gt(v(() => !F.value || P.error || P.disabled ? void 0 : P.color)), B = v(() => F.value ? P.trueIcon : P.falseIcon); + return { group: z, densityClasses: M, trueValue: S, falseValue: O, model: F, textColorClasses: V, textColorStyles: j, backgroundColorClasses: _, backgroundColorStyles: A, icon: B }; + }(e), m = nt(), h = v(() => e.id || `input-${m}`), b = de(!1), g = de(!1), I = D(); + function k(P) { + b.value = !0, Yn(P.target, ":focus-visible") !== !1 && (g.value = !0); + } + function w() { b.value = !1, g.value = !1; } - function G(T) { - e.readonly && o && Me(() => o.forceUpdate()), u.value = T.target.checked; + function q(P) { + e.readonly && o && Me(() => o.forceUpdate()), u.value = P.target.checked; } return o == null || o.onForceUpdate(() => { - C.value && (C.value.checked = u.value); + I.value && (I.value.checked = u.value); }), se(() => { - var S, A; - const T = l.label ? l.label({ label: e.label, props: { for: h.value } }) : e.label, [$, R] = kt(n), P = d("input", Z({ ref: C, checked: u.value, disabled: !(!e.readonly && !e.disabled), id: h.value, onBlur: O, onFocus: w, onInput: G, "aria-disabled": !(!e.readonly && !e.disabled), type: e.type, value: f.value, name: e.name, "aria-checked": e.type === "checkbox" ? u.value : void 0 }, R), null); - return d("div", Z({ class: ["v-selection-control", { "v-selection-control--dirty": u.value, "v-selection-control--disabled": e.disabled, "v-selection-control--error": e.error, "v-selection-control--focused": b.value, "v-selection-control--focus-visible": g.value, "v-selection-control--inline": e.inline }, a.value, e.class] }, $, { style: e.style }), [d("div", { class: ["v-selection-control__wrapper", s.value], style: i.value }, [(S = l.default) == null ? void 0 : S.call(l, { backgroundColorClasses: p, backgroundColorStyles: y }), Ue(d("div", { class: ["v-selection-control__input"] }, [((A = l.input) == null ? void 0 : A.call(l, { model: u, textColorClasses: s, textColorStyles: i, backgroundColorClasses: p, backgroundColorStyles: y, inputNode: P, icon: c.value, props: { onFocus: w, onBlur: O, id: h.value } })) ?? d(Fe, null, [c.value && d(Se, { key: "icon", icon: c.value }, null), P])]), [[gn("ripple"), e.ripple && [!e.disabled && !e.readonly, null, ["center", "circle"]]]])]), T && d(Na, { for: h.value, clickable: !0, onClick: (I) => I.stopPropagation() }, { default: () => [T] })]); - }), { isFocused: b, input: C }; -} }), Ua = H({ indeterminate: Boolean, indeterminateIcon: { type: Ce, default: "$checkboxIndeterminate" }, ...eo({ falseIcon: "$checkboxOff", trueIcon: "$checkboxOn" }) }, "VCheckboxBtn"), Vl = ne()({ name: "VCheckboxBtn", props: Ua(), emits: { "update:modelValue": (e) => !0, "update:indeterminate": (e) => !0 }, setup(e, t) { - let { slots: n } = t; + var S, O; + const P = l.label ? l.label({ label: e.label, props: { for: h.value } }) : e.label, [z, M] = kn(t), $ = d("input", Z({ ref: I, checked: u.value, disabled: !(!e.readonly && !e.disabled), id: h.value, onBlur: w, onFocus: k, onInput: q, "aria-disabled": !(!e.readonly && !e.disabled), type: e.type, value: f.value, name: e.name, "aria-checked": e.type === "checkbox" ? u.value : void 0 }, M), null); + return d("div", Z({ class: ["v-selection-control", { "v-selection-control--dirty": u.value, "v-selection-control--disabled": e.disabled, "v-selection-control--error": e.error, "v-selection-control--focused": b.value, "v-selection-control--focus-visible": g.value, "v-selection-control--inline": e.inline }, a.value, e.class] }, z, { style: e.style }), [d("div", { class: ["v-selection-control__wrapper", s.value], style: i.value }, [(S = l.default) == null ? void 0 : S.call(l, { backgroundColorClasses: p, backgroundColorStyles: y }), Ue(d("div", { class: ["v-selection-control__input"] }, [((O = l.input) == null ? void 0 : O.call(l, { model: u, textColorClasses: s, textColorStyles: i, backgroundColorClasses: p, backgroundColorStyles: y, inputNode: $, icon: c.value, props: { onFocus: k, onBlur: w, id: h.value } })) ?? d(Fe, null, [c.value && d(Se, { key: "icon", icon: c.value }, null), $])]), [[mt("ripple"), e.ripple && [!e.disabled && !e.readonly, null, ["center", "circle"]]]])]), P && d(Ga, { for: h.value, clickable: !0, onClick: (C) => C.stopPropagation() }, { default: () => [P] })]); + }), { isFocused: b, input: I }; +} }), Ha = H({ indeterminate: Boolean, indeterminateIcon: { type: Ce, default: "$checkboxIndeterminate" }, ...to({ falseIcon: "$checkboxOff", trueIcon: "$checkboxOn" }) }, "VCheckboxBtn"), Al = te()({ name: "VCheckboxBtn", props: Ha(), emits: { "update:modelValue": (e) => !0, "update:indeterminate": (e) => !0 }, setup(e, n) { + let { slots: t } = n; const l = $e(e, "indeterminate"), o = $e(e, "modelValue"); function a(s) { l.value && (l.value = !1); } const c = v(() => l.value ? e.indeterminateIcon : e.falseIcon), u = v(() => l.value ? e.indeterminateIcon : e.trueIcon); return se(() => { - const s = zn(el.filterProps(e), ["modelValue"]); - return d(el, Z(s, { modelValue: o.value, "onUpdate:modelValue": [(i) => o.value = i, a], class: ["v-checkbox-btn", e.class], style: e.style, type: "checkbox", falseIcon: c.value, trueIcon: u.value, "aria-checked": l.value ? "mixed" : void 0 }), n); + const s = Tt(el.filterProps(e), ["modelValue"]); + return d(el, Z(s, { modelValue: o.value, "onUpdate:modelValue": [(i) => o.value = i, a], class: ["v-checkbox-btn", e.class], style: e.style, type: "checkbox", falseIcon: c.value, trueIcon: u.value, "aria-checked": l.value ? "mixed" : void 0 }), t); }), {}; } }); -function qa(e) { - const { t } = Hl(); - return { InputIcon: function(n) { - let { name: l } = n; - const o = { prepend: "prependAction", prependInner: "prependAction", append: "appendAction", appendInner: "appendAction", clear: "clear" }[l], a = e[`onClick:${l}`], c = a && o ? t(`$vuetify.input.${o}`, e.label ?? "") : void 0; +function Ya(e) { + const { t: n } = Xl(); + return { InputIcon: function(t) { + let { name: l } = t; + const o = { prepend: "prependAction", prependInner: "prependAction", append: "appendAction", appendInner: "appendAction", clear: "clear" }[l], a = e[`onClick:${l}`], c = a && o ? n(`$vuetify.input.${o}`, e.label ?? "") : void 0; return d(Se, { icon: e[`${l}Icon`], "aria-label": c, onClick: a }, null); } }; } -const yr = H({ active: Boolean, color: String, messages: { type: [Array, String], default: () => [] }, ...ye(), ...Vt({ transition: { component: Ia, leaveAbsolute: !0, group: !0 } }) }, "VMessages"), mr = ne()({ name: "VMessages", props: yr(), setup(e, t) { - let { slots: n } = t; - const l = v(() => pn(e.messages)), { textColorClasses: o, textColorStyles: a } = yn(v(() => e.color)); - return se(() => d(In, { transition: e.transition, tag: "div", class: ["v-messages", o.value, e.class], style: [a.value, e.style], role: "alert", "aria-live": "polite" }, { default: () => [e.active && l.value.map((c, u) => d("div", { class: "v-messages__message", key: `${u}-${l.value}` }, [n.message ? n.message({ message: c }) : c]))] })), {}; -} }), Ha = H({ focused: Boolean, "onUpdate:focused": an() }, "focus"); -function Et(e) { - let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : un(); - const n = $e(e, "focused"); - return { focusClasses: v(() => ({ [`${t}--focused`]: n.value })), isFocused: n, focus: function() { - n.value = !0; +const cr = H({ active: Boolean, color: String, messages: { type: [Array, String], default: () => [] }, ...ye(), ...$n({ transition: { component: Ma, leaveAbsolute: !0, group: !0 } }) }, "VMessages"), dr = te()({ name: "VMessages", props: cr(), setup(e, n) { + let { slots: t } = n; + const l = v(() => dt(e.messages)), { textColorClasses: o, textColorStyles: a } = ft(v(() => e.color)); + return se(() => d(Ct, { transition: e.transition, tag: "div", class: ["v-messages", o.value, e.class], style: [a.value, e.style], role: "alert", "aria-live": "polite" }, { default: () => [e.active && l.value.map((c, u) => d("div", { class: "v-messages__message", key: `${u}-${l.value}` }, [t.message ? t.message({ message: c }) : c]))] })), {}; +} }), Xa = H({ focused: Boolean, "onUpdate:focused": at() }, "focus"); +function En(e) { + let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : st(); + const t = $e(e, "focused"); + return { focusClasses: v(() => ({ [`${n}--focused`]: t.value })), isFocused: t, focus: function() { + t.value = !0; }, blur: function() { - n.value = !1; + t.value = !1; } }; } -const gr = Symbol.for("vuetify:form"); -function Ya() { - return me(gr, null); +const pr = Symbol.for("vuetify:form"); +function Ka() { + return me(pr, null); } -const hr = H({ disabled: { type: Boolean, default: null }, error: Boolean, errorMessages: { type: [Array, String], default: () => [] }, maxErrors: { type: [Number, String], default: 1 }, name: String, label: String, readonly: { type: Boolean, default: null }, rules: { type: Array, default: () => [] }, modelValue: null, validateOn: String, validationValue: null, ...Ha() }, "validation"), Tt = H({ id: String, appendIcon: Ce, centerAffix: { type: Boolean, default: !0 }, prependIcon: Ce, hideDetails: [Boolean, String], hideSpinButtons: Boolean, hint: String, persistentHint: Boolean, messages: { type: [Array, String], default: () => [] }, direction: { type: String, default: "horizontal", validator: (e) => ["horizontal", "vertical"].includes(e) }, "onClick:prepend": an(), "onClick:append": an(), ...ye(), ...cn(), ...hr() }, "VInput"), Bn = ne()({ name: "VInput", props: { ...Tt() }, emits: { "update:modelValue": (e) => !0 }, setup(e, t) { - let { attrs: n, slots: l, emit: o } = t; - const { densityClasses: a } = Cn(e), { rtlClasses: c } = Ft(), { InputIcon: u } = qa(e), s = tn(), i = v(() => e.id || `input-${s}`), p = v(() => `${i.value}-messages`), { errorMessages: y, isDirty: f, isDisabled: m, isReadonly: h, isPristine: b, isValid: g, isValidating: C, reset: w, resetValidation: O, validate: G, validationClasses: T } = function(P) { - let S = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : un(), A = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : tn(); - const I = $e(P, "modelValue"), F = v(() => P.validationValue === void 0 ? I.value : P.validationValue), _ = Ya(), M = D([]), N = de(!0), k = v(() => !(!pn(I.value === "" ? null : I.value).length && !pn(F.value === "" ? null : F.value).length)), B = v(() => !!(P.disabled ?? (_ == null ? void 0 : _.isDisabled.value))), x = v(() => !!(P.readonly ?? (_ == null ? void 0 : _.isReadonly.value))), V = v(() => { +const vr = H({ disabled: { type: Boolean, default: null }, error: Boolean, errorMessages: { type: [Array, String], default: () => [] }, maxErrors: { type: [Number, String], default: 1 }, name: String, label: String, readonly: { type: Boolean, default: null }, rules: { type: Array, default: () => [] }, modelValue: null, validateOn: String, validationValue: null, ...Xa() }, "validation"), Tn = H({ id: String, appendIcon: Ce, centerAffix: { type: Boolean, default: !0 }, prependIcon: Ce, hideDetails: [Boolean, String], hideSpinButtons: Boolean, hint: String, persistentHint: Boolean, messages: { type: [Array, String], default: () => [] }, direction: { type: String, default: "horizontal", validator: (e) => ["horizontal", "vertical"].includes(e) }, "onClick:prepend": at(), "onClick:append": at(), ...ye(), ...ut(), ...vr() }, "VInput"), St = te()({ name: "VInput", props: { ...Tn() }, emits: { "update:modelValue": (e) => !0 }, setup(e, n) { + let { attrs: t, slots: l, emit: o } = n; + const { densityClasses: a } = gt(e), { rtlClasses: c } = On(), { InputIcon: u } = Ya(e), s = nt(), i = v(() => e.id || `input-${s}`), p = v(() => `${i.value}-messages`), { errorMessages: y, isDirty: f, isDisabled: m, isReadonly: h, isPristine: b, isValid: g, isValidating: I, reset: k, resetValidation: w, validate: q, validationClasses: P } = function($) { + let S = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : st(), O = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : nt(); + const C = $e($, "modelValue"), F = v(() => $.validationValue === void 0 ? C.value : $.validationValue), V = Ka(), j = D([]), _ = de(!0), A = v(() => !(!dt(C.value === "" ? null : C.value).length && !dt(F.value === "" ? null : F.value).length)), B = v(() => !!($.disabled ?? (V == null ? void 0 : V.isDisabled.value))), x = v(() => !!($.readonly ?? (V == null ? void 0 : V.isReadonly.value))), E = v(() => { var Y; - return (Y = P.errorMessages) != null && Y.length ? pn(P.errorMessages).concat(M.value).slice(0, Math.max(0, +P.maxErrors)) : M.value; - }), j = v(() => { - let Y = (P.validateOn ?? (_ == null ? void 0 : _.validateOn.value)) || "input"; + return (Y = $.errorMessages) != null && Y.length ? dt($.errorMessages).concat(j.value).slice(0, Math.max(0, +$.maxErrors)) : j.value; + }), N = v(() => { + let Y = ($.validateOn ?? (V == null ? void 0 : V.validateOn.value)) || "input"; Y === "lazy" && (Y = "input lazy"); const ee = new Set((Y == null ? void 0 : Y.split(" ")) ?? []); return { blur: ee.has("blur") || ee.has("input"), input: ee.has("input"), submit: ee.has("submit"), lazy: ee.has("lazy") }; - }), L = v(() => { + }), R = v(() => { var Y; - return !P.error && !((Y = P.errorMessages) != null && Y.length) && (!P.rules.length || (N.value ? !M.value.length && !j.value.lazy || null : !M.value.length)); - }), z = de(!1), Q = v(() => ({ [`${S}--error`]: L.value === !1, [`${S}--dirty`]: k.value, [`${S}--disabled`]: B.value, [`${S}--readonly`]: x.value })), E = v(() => P.name ?? r(A)); - function U() { - I.value = null, Me(W); + return !$.error && !((Y = $.errorMessages) != null && Y.length) && (!$.rules.length || (_.value ? !j.value.length && !N.value.lazy || null : !j.value.length)); + }), L = de(!1), Q = v(() => ({ [`${S}--error`]: R.value === !1, [`${S}--dirty`]: A.value, [`${S}--disabled`]: B.value, [`${S}--readonly`]: x.value })), T = v(() => $.name ?? r(O)); + function G() { + C.value = null, Me(W); } function W() { - N.value = !0, j.value.lazy ? M.value = [] : q(!0); + _.value = !0, N.value.lazy ? j.value = [] : U(!0); } - async function q() { + async function U() { let Y = arguments.length > 0 && arguments[0] !== void 0 && arguments[0]; const ee = []; - z.value = !0; - for (const pe of P.rules) { - if (ee.length >= +(P.maxErrors ?? 1)) + L.value = !0; + for (const pe of $.rules) { + if (ee.length >= +($.maxErrors ?? 1)) break; const be = typeof pe == "function" ? pe : () => pe, ge = await be(F.value); ge !== !0 && (ge === !1 || typeof ge == "string" ? ee.push(ge || "") : console.warn(`${ge} is not a valid value. Rule functions must return boolean true or a string.`)); } - return M.value = ee, z.value = !1, N.value = Y, M.value; + return j.value = ee, L.value = !1, _.value = Y, j.value; } return na(() => { - _ == null || _.register({ id: E.value, validate: q, reset: U, resetValidation: W }); - }), mn(() => { - _ == null || _.unregister(E.value); - }), Yn(async () => { - j.value.lazy || await q(!0), _ == null || _.update(E.value, L.value, V.value); - }), Vn(() => j.value.input, () => { + V == null || V.register({ id: T.value, validate: U, reset: G, resetValidation: W }); + }), yt(() => { + V == null || V.unregister(T.value); + }), qt(async () => { + N.value.lazy || await U(!0), V == null || V.update(T.value, R.value, E.value); + }), Ft(() => N.value.input, () => { K(F, () => { if (F.value != null) - q(); - else if (P.focused) { - const Y = K(() => P.focused, (ee) => { - ee || q(), Y(); + U(); + else if ($.focused) { + const Y = K(() => $.focused, (ee) => { + ee || U(), Y(); }); } }); - }), Vn(() => j.value.blur, () => { - K(() => P.focused, (Y) => { - Y || q(); + }), Ft(() => N.value.blur, () => { + K(() => $.focused, (Y) => { + Y || U(); }); - }), K(L, () => { - _ == null || _.update(E.value, L.value, V.value); - }), { errorMessages: V, isDirty: k, isDisabled: B, isReadonly: x, isPristine: N, isValid: L, isValidating: z, reset: U, resetValidation: W, validate: q, validationClasses: Q }; - }(e, "v-input", i), $ = v(() => ({ id: i, messagesId: p, isDirty: f, isDisabled: m, isReadonly: h, isPristine: b, isValid: g, isValidating: C, reset: w, resetValidation: O, validate: G })), R = v(() => { - var P; - return (P = e.errorMessages) != null && P.length || !b.value && y.value.length ? y.value : e.hint && (e.persistentHint || e.focused) ? e.hint : e.messages; + }), K(R, () => { + V == null || V.update(T.value, R.value, E.value); + }), { errorMessages: E, isDirty: A, isDisabled: B, isReadonly: x, isPristine: _, isValid: R, isValidating: L, reset: G, resetValidation: W, validate: U, validationClasses: Q }; + }(e, "v-input", i), z = v(() => ({ id: i, messagesId: p, isDirty: f, isDisabled: m, isReadonly: h, isPristine: b, isValid: g, isValidating: I, reset: k, resetValidation: w, validate: q })), M = v(() => { + var $; + return ($ = e.errorMessages) != null && $.length || !b.value && y.value.length ? y.value : e.hint && (e.persistentHint || e.focused) ? e.hint : e.messages; }); return se(() => { - var F, _, M, N; - const P = !(!l.prepend && !e.prependIcon), S = !(!l.append && !e.appendIcon), A = R.value.length > 0, I = !e.hideDetails || e.hideDetails === "auto" && (A || !!l.details); - return d("div", { class: ["v-input", `v-input--${e.direction}`, { "v-input--center-affix": e.centerAffix, "v-input--hide-spin-buttons": e.hideSpinButtons }, a.value, c.value, T.value, e.class], style: e.style }, [P && d("div", { key: "prepend", class: "v-input__prepend" }, [(F = l.prepend) == null ? void 0 : F.call(l, $.value), e.prependIcon && d(u, { key: "prepend-icon", name: "prepend" }, null)]), l.default && d("div", { class: "v-input__control" }, [(_ = l.default) == null ? void 0 : _.call(l, $.value)]), S && d("div", { key: "append", class: "v-input__append" }, [e.appendIcon && d(u, { key: "append-icon", name: "append" }, null), (M = l.append) == null ? void 0 : M.call(l, $.value)]), I && d("div", { class: "v-input__details" }, [d(mr, { id: p.value, active: A, messages: R.value }, { message: l.message }), (N = l.details) == null ? void 0 : N.call(l, $.value)])]); - }), { reset: w, resetValidation: O, validate: G, isValid: g, errorMessages: y }; -} }), br = H({ ...Tt(), ...zn(Ua(), ["inline"]) }, "VCheckbox"), Cr = ne()({ name: "VCheckbox", inheritAttrs: !1, props: br(), emits: { "update:modelValue": (e) => !0, "update:focused": (e) => !0 }, setup(e, t) { - let { attrs: n, slots: l } = t; - const o = $e(e, "modelValue"), { isFocused: a, focus: c, blur: u } = Et(e), s = tn(), i = v(() => e.id || `checkbox-${s}`); + var F, V, j, _; + const $ = !(!l.prepend && !e.prependIcon), S = !(!l.append && !e.appendIcon), O = M.value.length > 0, C = !e.hideDetails || e.hideDetails === "auto" && (O || !!l.details); + return d("div", { class: ["v-input", `v-input--${e.direction}`, { "v-input--center-affix": e.centerAffix, "v-input--hide-spin-buttons": e.hideSpinButtons }, a.value, c.value, P.value, e.class], style: e.style }, [$ && d("div", { key: "prepend", class: "v-input__prepend" }, [(F = l.prepend) == null ? void 0 : F.call(l, z.value), e.prependIcon && d(u, { key: "prepend-icon", name: "prepend" }, null)]), l.default && d("div", { class: "v-input__control" }, [(V = l.default) == null ? void 0 : V.call(l, z.value)]), S && d("div", { key: "append", class: "v-input__append" }, [e.appendIcon && d(u, { key: "append-icon", name: "append" }, null), (j = l.append) == null ? void 0 : j.call(l, z.value)]), C && d("div", { class: "v-input__details" }, [d(dr, { id: p.value, active: O, messages: M.value }, { message: l.message }), (_ = l.details) == null ? void 0 : _.call(l, z.value)])]); + }), { reset: k, resetValidation: w, validate: q, isValid: g, errorMessages: y }; +} }), fr = H({ ...Tn(), ...Tt(Ha(), ["inline"]) }, "VCheckbox"), yr = te()({ name: "VCheckbox", inheritAttrs: !1, props: fr(), emits: { "update:modelValue": (e) => !0, "update:focused": (e) => !0 }, setup(e, n) { + let { attrs: t, slots: l } = n; + const o = $e(e, "modelValue"), { isFocused: a, focus: c, blur: u } = En(e), s = nt(), i = v(() => e.id || `checkbox-${s}`); return se(() => { - const [p, y] = kt(n), f = Bn.filterProps(e), m = Vl.filterProps(e); - return d(Bn, Z({ class: ["v-checkbox", e.class] }, p, f, { modelValue: o.value, "onUpdate:modelValue": (h) => o.value = h, id: i.value, focused: a.value, style: e.style }), { ...l, default: (h) => { - let { id: b, messagesId: g, isDisabled: C, isReadonly: w } = h; - return d(Vl, Z(m, { id: b.value, "aria-describedby": g.value, disabled: C.value, readonly: w.value }, y, { modelValue: o.value, "onUpdate:modelValue": (O) => o.value = O, onFocus: c, onBlur: u }), l); + const [p, y] = kn(t), f = St.filterProps(e), m = Al.filterProps(e); + return d(St, Z({ class: ["v-checkbox", e.class] }, p, f, { modelValue: o.value, "onUpdate:modelValue": (h) => o.value = h, id: i.value, focused: a.value, style: e.style }), { ...l, default: (h) => { + let { id: b, messagesId: g, isDisabled: I, isReadonly: k } = h; + return d(Al, Z(m, { id: b.value, "aria-describedby": g.value, disabled: I.value, readonly: k.value }, y, { modelValue: o.value, "onUpdate:modelValue": (w) => o.value = w, onFocus: c, onBlur: u }), l); } }); }), {}; -} }), Ir = H({ start: Boolean, end: Boolean, icon: Ce, image: String, text: String, ...ye(), ...cn(), ...hn(), ...Ot(), ...en(), ...Ne(), ...kn({ variant: "flat" }) }, "VAvatar"), qn = ne()({ name: "VAvatar", props: Ir(), setup(e, t) { - let { slots: n } = t; - const { themeClasses: l } = Xe(e), { colorClasses: o, colorStyles: a, variantClasses: c } = _t(e), { densityClasses: u } = Cn(e), { roundedClasses: s } = bn(e), { sizeClasses: i, sizeStyles: p } = Pt(e); +} }), mr = H({ start: Boolean, end: Boolean, icon: Ce, image: String, text: String, ...ye(), ...ut(), ...ht(), ...Vn(), ...et(), ...Ne(), ...xt({ variant: "flat" }) }, "VAvatar"), Ut = te()({ name: "VAvatar", props: mr(), setup(e, n) { + let { slots: t } = n; + const { themeClasses: l } = Xe(e), { colorClasses: o, colorStyles: a, variantClasses: c } = An(e), { densityClasses: u } = gt(e), { roundedClasses: s } = bt(e), { sizeClasses: i, sizeStyles: p } = _n(e); return se(() => d(e.tag, { class: ["v-avatar", { "v-avatar--start": e.start, "v-avatar--end": e.end }, l.value, o.value, u.value, s.value, i.value, c.value, e.class], style: [a.value, p.value, e.style] }, { default: () => { var y; - return [e.image ? d(xa, { key: "image", src: e.image, alt: "", cover: !0 }, null) : e.icon ? d(Se, { key: "icon", icon: e.icon }, null) : ((y = n.default) == null ? void 0 : y.call(n)) ?? e.text, At(!1, "v-avatar")]; + return [e.image ? d(ja, { key: "image", src: e.image, alt: "", cover: !0 }, null) : e.icon ? d(Se, { key: "icon", icon: e.icon }, null) : ((y = t.default) == null ? void 0 : y.call(t)) ?? e.text, Fn(!1, "v-avatar")]; } })), {}; -} }), Xa = Symbol.for("vuetify:v-chip-group"), Sr = H({ column: Boolean, filter: Boolean, valueComparator: { type: Function, default: Qn }, ...ye(), ...wa({ selectedClass: "v-chip--selected" }), ...en(), ...Ne(), ...kn({ variant: "tonal" }) }, "VChipGroup"); -ne()({ name: "VChipGroup", props: Sr(), emits: { "update:modelValue": (e) => !0 }, setup(e, t) { - let { slots: n } = t; - const { themeClasses: l } = Xe(e), { isSelected: o, select: a, next: c, prev: u, selected: s } = Aa(e, Xa); - return et({ VChip: { color: oe(e, "color"), disabled: oe(e, "disabled"), filter: oe(e, "filter"), variant: oe(e, "variant") } }), se(() => d(e.tag, { class: ["v-chip-group", { "v-chip-group--column": e.column }, l.value, e.class], style: e.style }, { default: () => { +} }), Ja = Symbol.for("vuetify:v-chip-group"), gr = H({ column: Boolean, filter: Boolean, valueComparator: { type: Function, default: nn }, ...ye(), ...Ca({ selectedClass: "v-chip--selected" }), ...et(), ...Ne(), ...xt({ variant: "tonal" }) }, "VChipGroup"); +te()({ name: "VChipGroup", props: gr(), emits: { "update:modelValue": (e) => !0 }, setup(e, n) { + let { slots: t } = n; + const { themeClasses: l } = Xe(e), { isSelected: o, select: a, next: c, prev: u, selected: s } = Ba(e, Ja); + return ln({ VChip: { color: ae(e, "color"), disabled: ae(e, "disabled"), filter: ae(e, "filter"), variant: ae(e, "variant") } }), se(() => d(e.tag, { class: ["v-chip-group", { "v-chip-group--column": e.column }, l.value, e.class], style: e.style }, { default: () => { var i; - return [(i = n.default) == null ? void 0 : i.call(n, { isSelected: o, select: a, next: c, prev: u, selected: s.value })]; + return [(i = t.default) == null ? void 0 : i.call(t, { isSelected: o, select: a, next: c, prev: u, selected: s.value })]; } })), {}; } }); -const Br = H({ activeClass: String, appendAvatar: String, appendIcon: Ce, closable: Boolean, closeIcon: { type: Ce, default: "$delete" }, closeLabel: { type: String, default: "$vuetify.close" }, draggable: Boolean, filter: Boolean, filterIcon: { type: String, default: "$complete" }, label: Boolean, link: { type: Boolean, default: void 0 }, pill: Boolean, prependAvatar: String, prependIcon: Ce, ripple: { type: [Boolean, Object], default: !0 }, text: String, modelValue: { type: Boolean, default: !0 }, onClick: an(), onClickOnce: an(), ...nt(), ...ye(), ...cn(), ...lt(), ...Fa(), ...hn(), ...rl(), ...Ot(), ...en({ tag: "span" }), ...Ne(), ...kn({ variant: "tonal" }) }, "VChip"), xr = ne()({ name: "VChip", directives: { Ripple: $t }, props: Br(), emits: { "click:close": (e) => !0, "update:modelValue": (e) => !0, "group:selected": (e) => !0, click: (e) => !0 }, setup(e, t) { - let { attrs: n, emit: l, slots: o } = t; - const { t: a } = Hl(), { borderClasses: c } = tt(e), { colorClasses: u, colorStyles: s, variantClasses: i } = _t(e), { densityClasses: p } = Cn(e), { elevationClasses: y } = ot(e), { roundedClasses: f } = bn(e), { sizeClasses: m } = Pt(e), { themeClasses: h } = Xe(e), b = $e(e, "modelValue"), g = Va(e, Xa, !1), C = il(e, n), w = v(() => e.link !== !1 && C.isLink.value), O = v(() => !e.disabled && e.link !== !1 && (!!g || e.link || C.isClickable.value)), G = v(() => ({ "aria-label": a(e.closeLabel), onClick(R) { - R.stopPropagation(), b.value = !1, l("click:close", R); +const hr = H({ activeClass: String, appendAvatar: String, appendIcon: Ce, closable: Boolean, closeIcon: { type: Ce, default: "$delete" }, closeLabel: { type: String, default: "$vuetify.close" }, draggable: Boolean, filter: Boolean, filterIcon: { type: String, default: "$complete" }, label: Boolean, link: { type: Boolean, default: void 0 }, pill: Boolean, prependAvatar: String, prependIcon: Ce, ripple: { type: [Boolean, Object], default: !0 }, text: String, modelValue: { type: Boolean, default: !0 }, onClick: at(), onClickOnce: at(), ...on(), ...ye(), ...ut(), ...rn(), ...Ia(), ...ht(), ...sl(), ...Vn(), ...et({ tag: "span" }), ...Ne(), ...xt({ variant: "tonal" }) }, "VChip"), br = te()({ name: "VChip", directives: { Ripple: Pn }, props: hr(), emits: { "click:close": (e) => !0, "update:modelValue": (e) => !0, "group:selected": (e) => !0, click: (e) => !0 }, setup(e, n) { + let { attrs: t, emit: l, slots: o } = n; + const { t: a } = Xl(), { borderClasses: c } = an(e), { colorClasses: u, colorStyles: s, variantClasses: i } = An(e), { densityClasses: p } = gt(e), { elevationClasses: y } = sn(e), { roundedClasses: f } = bt(e), { sizeClasses: m } = _n(e), { themeClasses: h } = Xe(e), b = $e(e, "modelValue"), g = Sa(e, Ja, !1), I = rl(e, t), k = v(() => e.link !== !1 && I.isLink.value), w = v(() => !e.disabled && e.link !== !1 && (!!g || e.link || I.isClickable.value)), q = v(() => ({ "aria-label": a(e.closeLabel), onClick(M) { + M.stopPropagation(), b.value = !1, l("click:close", M); } })); - function T(R) { - var P; - l("click", R), O.value && ((P = C.navigate) == null || P.call(C, R), g == null || g.toggle()); + function P(M) { + var $; + l("click", M), w.value && (($ = I.navigate) == null || $.call(I, M), g == null || g.toggle()); } - function $(R) { - R.key !== "Enter" && R.key !== " " || (R.preventDefault(), T(R)); + function z(M) { + M.key !== "Enter" && M.key !== " " || (M.preventDefault(), P(M)); } return () => { - const R = C.isLink.value ? "a" : e.tag, P = !(!e.appendIcon && !e.appendAvatar), S = !(!P && !o.append), A = !(!o.close && !e.closable), I = !(!o.filter && !e.filter) && g, F = !(!e.prependIcon && !e.prependAvatar), _ = !(!F && !o.prepend), M = !g || g.isSelected.value; - return b.value && Ue(d(R, { class: ["v-chip", { "v-chip--disabled": e.disabled, "v-chip--label": e.label, "v-chip--link": O.value, "v-chip--filter": I, "v-chip--pill": e.pill }, h.value, c.value, M ? u.value : void 0, p.value, y.value, f.value, m.value, i.value, g == null ? void 0 : g.selectedClass.value, e.class], style: [M ? s.value : void 0, e.style], disabled: e.disabled || void 0, draggable: e.draggable, href: C.href.value, tabindex: O.value ? 0 : void 0, onClick: T, onKeydown: O.value && !w.value && $ }, { default: () => { - var N; - return [At(O.value, "v-chip"), I && d(Sa, { key: "filter" }, { default: () => [Ue(d("div", { class: "v-chip__filter" }, [o.filter ? d(je, { key: "filter-defaults", disabled: !e.filterIcon, defaults: { VIcon: { icon: e.filterIcon } } }, o.filter) : d(Se, { key: "filter-icon", icon: e.filterIcon }, null)]), [[Hn, g.isSelected.value]])] }), _ && d("div", { key: "prepend", class: "v-chip__prepend" }, [o.prepend ? d(je, { key: "prepend-defaults", disabled: !F, defaults: { VAvatar: { image: e.prependAvatar, start: !0 }, VIcon: { icon: e.prependIcon, start: !0 } } }, o.prepend) : d(Fe, null, [e.prependIcon && d(Se, { key: "prepend-icon", icon: e.prependIcon, start: !0 }, null), e.prependAvatar && d(qn, { key: "prepend-avatar", image: e.prependAvatar, start: !0 }, null)])]), d("div", { class: "v-chip__content" }, [((N = o.default) == null ? void 0 : N.call(o, { isSelected: g == null ? void 0 : g.isSelected.value, selectedClass: g == null ? void 0 : g.selectedClass.value, select: g == null ? void 0 : g.select, toggle: g == null ? void 0 : g.toggle, value: g == null ? void 0 : g.value.value, disabled: e.disabled })) ?? e.text]), S && d("div", { key: "append", class: "v-chip__append" }, [o.append ? d(je, { key: "append-defaults", disabled: !P, defaults: { VAvatar: { end: !0, image: e.appendAvatar }, VIcon: { end: !0, icon: e.appendIcon } } }, o.append) : d(Fe, null, [e.appendIcon && d(Se, { key: "append-icon", end: !0, icon: e.appendIcon }, null), e.appendAvatar && d(qn, { key: "append-avatar", end: !0, image: e.appendAvatar }, null)])]), A && d("div", Z({ key: "close", class: "v-chip__close" }, G.value), [o.close ? d(je, { key: "close-defaults", defaults: { VIcon: { icon: e.closeIcon, size: "x-small" } } }, o.close) : d(Se, { key: "close-icon", icon: e.closeIcon, size: "x-small" }, null)])]; - } }), [[gn("ripple"), O.value && e.ripple, null]]); + const M = I.isLink.value ? "a" : e.tag, $ = !(!e.appendIcon && !e.appendAvatar), S = !(!$ && !o.append), O = !(!o.close && !e.closable), C = !(!o.filter && !e.filter) && g, F = !(!e.prependIcon && !e.prependAvatar), V = !(!F && !o.prepend), j = !g || g.isSelected.value; + return b.value && Ue(d(M, { class: ["v-chip", { "v-chip--disabled": e.disabled, "v-chip--label": e.label, "v-chip--link": w.value, "v-chip--filter": C, "v-chip--pill": e.pill }, h.value, c.value, j ? u.value : void 0, p.value, y.value, f.value, m.value, i.value, g == null ? void 0 : g.selectedClass.value, e.class], style: [j ? s.value : void 0, e.style], disabled: e.disabled || void 0, draggable: e.draggable, href: I.href.value, tabindex: w.value ? 0 : void 0, onClick: P, onKeydown: w.value && !k.value && z }, { default: () => { + var _; + return [Fn(w.value, "v-chip"), C && d(Ra, { key: "filter" }, { default: () => [Ue(d("div", { class: "v-chip__filter" }, [o.filter ? d(je, { key: "filter-defaults", disabled: !e.filterIcon, defaults: { VIcon: { icon: e.filterIcon } } }, o.filter) : d(Se, { key: "filter-icon", icon: e.filterIcon }, null)]), [[Ht, g.isSelected.value]])] }), V && d("div", { key: "prepend", class: "v-chip__prepend" }, [o.prepend ? d(je, { key: "prepend-defaults", disabled: !F, defaults: { VAvatar: { image: e.prependAvatar, start: !0 }, VIcon: { icon: e.prependIcon, start: !0 } } }, o.prepend) : d(Fe, null, [e.prependIcon && d(Se, { key: "prepend-icon", icon: e.prependIcon, start: !0 }, null), e.prependAvatar && d(Ut, { key: "prepend-avatar", image: e.prependAvatar, start: !0 }, null)])]), d("div", { class: "v-chip__content" }, [((_ = o.default) == null ? void 0 : _.call(o, { isSelected: g == null ? void 0 : g.isSelected.value, selectedClass: g == null ? void 0 : g.selectedClass.value, select: g == null ? void 0 : g.select, toggle: g == null ? void 0 : g.toggle, value: g == null ? void 0 : g.value.value, disabled: e.disabled })) ?? e.text]), S && d("div", { key: "append", class: "v-chip__append" }, [o.append ? d(je, { key: "append-defaults", disabled: !$, defaults: { VAvatar: { end: !0, image: e.appendAvatar }, VIcon: { end: !0, icon: e.appendIcon } } }, o.append) : d(Fe, null, [e.appendIcon && d(Se, { key: "append-icon", end: !0, icon: e.appendIcon }, null), e.appendAvatar && d(Ut, { key: "append-avatar", end: !0, image: e.appendAvatar }, null)])]), O && d("div", Z({ key: "close", class: "v-chip__close" }, q.value), [o.close ? d(je, { key: "close-defaults", defaults: { VIcon: { icon: e.closeIcon, size: "x-small" } } }, o.close) : d(Se, { key: "close-icon", icon: e.closeIcon, size: "x-small" }, null)])]; + } }), [[mt("ripple"), w.value && e.ripple, null]]); }; -} }), Al = Symbol.for("vuetify:list"); -function Ka() { - const e = me(Al, { hasPrepend: de(!1), updateHasPrepend: () => null }), t = { hasPrepend: de(!1), updateHasPrepend: (n) => { - n && (t.hasPrepend.value = n); +} }), Vl = Symbol.for("vuetify:list"); +function Za() { + const e = me(Vl, { hasPrepend: de(!1), updateHasPrepend: () => null }), n = { hasPrepend: de(!1), updateHasPrepend: (t) => { + t && (n.hasPrepend.value = t); } }; - return nn(Al, t), e; + return tt(Vl, n), e; } -function Ja() { - return me(Al, null); +function Qa() { + return me(Vl, null); } -const kr = { open: (e) => { - let { id: t, value: n, opened: l, parents: o } = e; - if (n) { +const Cr = { open: (e) => { + let { id: n, value: t, opened: l, parents: o } = e; + if (t) { const a = /* @__PURE__ */ new Set(); - a.add(t); - let c = o.get(t); + a.add(n); + let c = o.get(n); for (; c != null; ) a.add(c), c = o.get(c); return a; } - return l.delete(t), l; -}, select: () => null }, Za = { open: (e) => { - let { id: t, value: n, opened: l, parents: o } = e; - if (n) { - let a = o.get(t); - for (l.add(t); a != null && a !== t; ) + return l.delete(n), l; +}, select: () => null }, ei = { open: (e) => { + let { id: n, value: t, opened: l, parents: o } = e; + if (t) { + let a = o.get(n); + for (l.add(n); a != null && a !== n; ) l.add(a), a = o.get(a); return l; } - return l.delete(t), l; -}, select: () => null }, wr = { open: Za.open, select: (e) => { - let { id: t, value: n, opened: l, parents: o } = e; - if (!n) + return l.delete(n), l; +}, select: () => null }, Ir = { open: ei.open, select: (e) => { + let { id: n, value: t, opened: l, parents: o } = e; + if (!t) return l; const a = []; - let c = o.get(t); + let c = o.get(n); for (; c != null; ) a.push(c), c = o.get(c); return new Set(a); } }, _l = (e) => { - const t = { select: (n) => { - let { id: l, value: o, selected: a } = n; - if (l = Sn(l), e && !o) { + const n = { select: (t) => { + let { id: l, value: o, selected: a } = t; + if (l = It(l), e && !o) { const c = Array.from(a.entries()).reduce((u, s) => { let [i, p] = s; return p === "on" ? [...u, i] : u; @@ -1564,32 +1597,32 @@ const kr = { open: (e) => { return a; } return a.set(l, o ? "on" : "off"), a; - }, in: (n, l, o) => { + }, in: (t, l, o) => { let a = /* @__PURE__ */ new Map(); - for (const c of n || []) - a = t.select({ id: c, value: !0, selected: new Map(a), children: l, parents: o }); + for (const c of t || []) + a = n.select({ id: c, value: !0, selected: new Map(a), children: l, parents: o }); return a; - }, out: (n) => { + }, out: (t) => { const l = []; - for (const [o, a] of n.entries()) + for (const [o, a] of t.entries()) a === "on" && l.push(o); return l; } }; - return t; + return n; }, Mo = (e) => { - const t = _l(e); - return { select: (n) => { - let { selected: l, id: o, ...a } = n; - o = Sn(o); + const n = _l(e); + return { select: (t) => { + let { selected: l, id: o, ...a } = t; + o = It(o); const c = l.has(o) ? /* @__PURE__ */ new Map([[o, l.get(o)]]) : /* @__PURE__ */ new Map(); - return t.select({ ...a, id: o, selected: c }); - }, in: (n, l, o) => { + return n.select({ ...a, id: o, selected: c }); + }, in: (t, l, o) => { let a = /* @__PURE__ */ new Map(); - return n != null && n.length && (a = t.in(n.slice(0, 1), l, o)), a; - }, out: (n, l, o) => t.out(n, l, o) }; -}, St = Symbol.for("vuetify:nested"), Qa = { id: de(), root: { register: () => null, unregister: () => null, parents: D(/* @__PURE__ */ new Map()), children: D(/* @__PURE__ */ new Map()), open: () => null, openOnSelect: () => null, select: () => null, opened: D(/* @__PURE__ */ new Set()), selected: D(/* @__PURE__ */ new Map()), selectedValues: D([]) } }, Fr = H({ selectStrategy: [String, Function], openStrategy: [String, Object], opened: Array, selected: Array, mandatory: Boolean }, "nested"), Vr = (e) => { - let t = !1; - const n = D(/* @__PURE__ */ new Map()), l = D(/* @__PURE__ */ new Map()), o = $e(e, "opened", e.opened, (y) => new Set(y), (y) => [...y.values()]), a = v(() => { + return t != null && t.length && (a = n.in(t.slice(0, 1), l, o)), a; + }, out: (t, l, o) => n.out(t, l, o) }; +}, Sn = Symbol.for("vuetify:nested"), ti = { id: de(), root: { register: () => null, unregister: () => null, parents: D(/* @__PURE__ */ new Map()), children: D(/* @__PURE__ */ new Map()), open: () => null, openOnSelect: () => null, select: () => null, opened: D(/* @__PURE__ */ new Set()), selected: D(/* @__PURE__ */ new Map()), selectedValues: D([]) } }, Sr = H({ selectStrategy: [String, Function], openStrategy: [String, Object], opened: Array, selected: Array, mandatory: Boolean }, "nested"), Br = (e) => { + let n = !1; + const t = D(/* @__PURE__ */ new Map()), l = D(/* @__PURE__ */ new Map()), o = $e(e, "opened", e.opened, (y) => new Set(y), (y) => [...y.values()]), a = v(() => { if (typeof e.selectStrategy == "object") return e.selectStrategy; switch (e.selectStrategy) { @@ -1597,16 +1630,16 @@ const kr = { open: (e) => { return ((y) => { const f = Mo(y); return { select: (m) => { - let { id: h, selected: b, children: g, ...C } = m; - return h = Sn(h), g.has(h) ? b : f.select({ id: h, selected: b, children: g, ...C }); + let { id: h, selected: b, children: g, ...I } = m; + return h = It(h), g.has(h) ? b : f.select({ id: h, selected: b, children: g, ...I }); }, in: f.in, out: f.out }; })(e.mandatory); case "leaf": return ((y) => { const f = _l(y); return { select: (m) => { - let { id: h, selected: b, children: g, ...C } = m; - return h = Sn(h), g.has(h) ? b : f.select({ id: h, selected: b, children: g, ...C }); + let { id: h, selected: b, children: g, ...I } = m; + return h = It(h), g.has(h) ? b : f.select({ id: h, selected: b, children: g, ...I }); }, in: f.in, out: f.out }; })(e.mandatory); case "independent": @@ -1616,31 +1649,31 @@ const kr = { open: (e) => { default: return ((y) => { const f = { select: (m) => { - let { id: h, value: b, selected: g, children: C, parents: w } = m; - h = Sn(h); - const O = new Map(g), G = [h]; - for (; G.length; ) { - const $ = G.shift(); - g.set($, b ? "on" : "off"), C.has($) && G.push(...C.get($)); + let { id: h, value: b, selected: g, children: I, parents: k } = m; + h = It(h); + const w = new Map(g), q = [h]; + for (; q.length; ) { + const z = q.shift(); + g.set(z, b ? "on" : "off"), I.has(z) && q.push(...I.get(z)); } - let T = w.get(h); - for (; T; ) { - const $ = C.get(T), R = $.every((S) => g.get(S) === "on"), P = $.every((S) => !g.has(S) || g.get(S) === "off"); - g.set(T, R ? "on" : P ? "off" : "indeterminate"), T = w.get(T); + let P = k.get(h); + for (; P; ) { + const z = I.get(P), M = z.every((S) => g.get(S) === "on"), $ = z.every((S) => !g.has(S) || g.get(S) === "off"); + g.set(P, M ? "on" : $ ? "off" : "indeterminate"), P = k.get(P); } - return y && !b && Array.from(g.entries()).reduce((R, P) => { - let [S, A] = P; - return A === "on" ? [...R, S] : R; - }, []).length === 0 ? O : g; + return y && !b && Array.from(g.entries()).reduce((M, $) => { + let [S, O] = $; + return O === "on" ? [...M, S] : M; + }, []).length === 0 ? w : g; }, in: (m, h, b) => { let g = /* @__PURE__ */ new Map(); - for (const C of m || []) - g = f.select({ id: C, value: !0, selected: new Map(g), children: h, parents: b }); + for (const I of m || []) + g = f.select({ id: I, value: !0, selected: new Map(g), children: h, parents: b }); return g; }, out: (m, h) => { const b = []; - for (const [g, C] of m.entries()) - C !== "on" || h.has(g) || b.push(g); + for (const [g, I] of m.entries()) + I !== "on" || h.has(g) || b.push(g); return b; } }; return f; @@ -1651,13 +1684,13 @@ const kr = { open: (e) => { return e.openStrategy; switch (e.openStrategy) { case "list": - return wr; + return Ir; case "single": - return kr; + return Cr; default: - return Za; + return ei; } - }), u = $e(e, "selected", e.selected, (y) => a.value.in(y, n.value, l.value), (y) => a.value.out(y, n.value, l.value)); + }), u = $e(e, "selected", e.selected, (y) => a.value.in(y, t.value, l.value), (y) => a.value.out(y, t.value, l.value)); function s(y) { const f = []; let m = y; @@ -1665,8 +1698,8 @@ const kr = { open: (e) => { f.unshift(m), m = l.value.get(m); return f; } - mn(() => { - t = !0; + yt(() => { + n = !0; }); const i = Le("nested"), p = { id: de(), root: { opened: o, selected: u, selectedValues: v(() => { const y = []; @@ -1674,228 +1707,228 @@ const kr = { open: (e) => { m === "on" && y.push(f); return y; }), register: (y, f, m) => { - f && y !== f && l.value.set(y, f), m && n.value.set(y, []), f != null && n.value.set(f, [...n.value.get(f) || [], y]); + f && y !== f && l.value.set(y, f), m && t.value.set(y, []), f != null && t.value.set(f, [...t.value.get(f) || [], y]); }, unregister: (y) => { - if (t) + if (n) return; - n.value.delete(y); + t.value.delete(y); const f = l.value.get(y); if (f) { - const m = n.value.get(f) ?? []; - n.value.set(f, m.filter((h) => h !== y)); + const m = t.value.get(f) ?? []; + t.value.set(f, m.filter((h) => h !== y)); } l.value.delete(y), o.value.delete(y); }, open: (y, f, m) => { i.emit("click:open", { id: y, value: f, path: s(y), event: m }); - const h = c.value.open({ id: y, value: f, opened: new Set(o.value), children: n.value, parents: l.value, event: m }); + const h = c.value.open({ id: y, value: f, opened: new Set(o.value), children: t.value, parents: l.value, event: m }); h && (o.value = h); }, openOnSelect: (y, f, m) => { - const h = c.value.select({ id: y, value: f, selected: new Map(u.value), opened: new Set(o.value), children: n.value, parents: l.value, event: m }); + const h = c.value.select({ id: y, value: f, selected: new Map(u.value), opened: new Set(o.value), children: t.value, parents: l.value, event: m }); h && (o.value = h); }, select: (y, f, m) => { i.emit("click:select", { id: y, value: f, path: s(y), event: m }); - const h = a.value.select({ id: y, value: f, selected: new Map(u.value), children: n.value, parents: l.value, event: m }); + const h = a.value.select({ id: y, value: f, selected: new Map(u.value), children: t.value, parents: l.value, event: m }); h && (u.value = h), p.root.openOnSelect(y, f, m); - }, children: n, parents: l } }; - return nn(St, p), p.root; -}, ei = (e, t) => { - const n = me(St, Qa), l = Symbol(tn()), o = v(() => e.value !== void 0 ? e.value : l), a = { ...n, id: o, open: (c, u) => n.root.open(o.value, c, u), openOnSelect: (c, u) => n.root.openOnSelect(o.value, c, u), isOpen: v(() => n.root.opened.value.has(o.value)), parent: v(() => n.root.parents.value.get(o.value)), select: (c, u) => n.root.select(o.value, c, u), isSelected: v(() => n.root.selected.value.get(Sn(o.value)) === "on"), isIndeterminate: v(() => n.root.selected.value.get(o.value) === "indeterminate"), isLeaf: v(() => !n.root.children.value.get(o.value)), isGroupActivator: n.isGroupActivator }; - return !n.isGroupActivator && n.root.register(o.value, n.id.value, t), mn(() => { - !n.isGroupActivator && n.root.unregister(o.value); - }), t && nn(St, a), a; -}, Ar = bt({ name: "VListGroupActivator", setup(e, t) { - let { slots: n } = t; + }, children: t, parents: l } }; + return tt(Sn, p), p.root; +}, ni = (e, n) => { + const t = me(Sn, ti), l = Symbol(nt()), o = v(() => e.value !== void 0 ? e.value : l), a = { ...t, id: o, open: (c, u) => t.root.open(o.value, c, u), openOnSelect: (c, u) => t.root.openOnSelect(o.value, c, u), isOpen: v(() => t.root.opened.value.has(o.value)), parent: v(() => t.root.parents.value.get(o.value)), select: (c, u) => t.root.select(o.value, c, u), isSelected: v(() => t.root.selected.value.get(It(o.value)) === "on"), isIndeterminate: v(() => t.root.selected.value.get(o.value) === "indeterminate"), isLeaf: v(() => !t.root.children.value.get(o.value)), isGroupActivator: t.isGroupActivator }; + return !t.isGroupActivator && t.root.register(o.value, t.id.value, n), yt(() => { + !t.isGroupActivator && t.root.unregister(o.value); + }), n && tt(Sn, a), a; +}, xr = bn({ name: "VListGroupActivator", setup(e, n) { + let { slots: t } = n; return (() => { - const l = me(St, Qa); - nn(St, { ...l, isGroupActivator: !0 }); + const l = me(Sn, ti); + tt(Sn, { ...l, isGroupActivator: !0 }); })(), () => { var l; - return (l = n.default) == null ? void 0 : l.call(n); + return (l = t.default) == null ? void 0 : l.call(t); }; -} }), _r = H({ activeColor: String, baseColor: String, color: String, collapseIcon: { type: Ce, default: "$collapse" }, expandIcon: { type: Ce, default: "$expand" }, prependIcon: Ce, appendIcon: Ce, fluid: Boolean, subgroup: Boolean, title: String, value: null, ...ye(), ...en() }, "VListGroup"), Ro = ne()({ name: "VListGroup", props: _r(), setup(e, t) { - let { slots: n } = t; - const { isOpen: l, open: o, id: a } = ei(oe(e, "value"), !0), c = v(() => `v-list-group--id-${String(a.value)}`), u = Ja(), { isBooted: s } = function() { +} }), kr = H({ activeColor: String, baseColor: String, color: String, collapseIcon: { type: Ce, default: "$collapse" }, expandIcon: { type: Ce, default: "$expand" }, prependIcon: Ce, appendIcon: Ce, fluid: Boolean, subgroup: Boolean, title: String, value: null, ...ye(), ...et() }, "VListGroup"), Ro = te()({ name: "VListGroup", props: kr(), setup(e, n) { + let { slots: t } = n; + const { isOpen: l, open: o, id: a } = ni(ae(e, "value"), !0), c = v(() => `v-list-group--id-${String(a.value)}`), u = Qa(), { isBooted: s } = function() { const m = de(!1); - return Yn(() => { + return qt(() => { window.requestAnimationFrame(() => { m.value = !0; }); - }), { ssrBootStyles: v(() => m.value ? void 0 : { transition: "none !important" }), isBooted: zl(m) }; + }), { ssrBootStyles: v(() => m.value ? void 0 : { transition: "none !important" }), isBooted: Dl(m) }; }(); function i(m) { o(!l.value, m); } const p = v(() => ({ onClick: i, class: "v-list-group__header", id: c.value })), y = v(() => l.value ? e.collapseIcon : e.expandIcon), f = v(() => ({ VListItem: { active: l.value, activeColor: e.activeColor, baseColor: e.baseColor, color: e.color, prependIcon: e.prependIcon || e.subgroup && y.value, appendIcon: e.appendIcon || !e.subgroup && y.value, title: e.title, value: e.value } })); - return se(() => d(e.tag, { class: ["v-list-group", { "v-list-group--prepend": u == null ? void 0 : u.hasPrepend.value, "v-list-group--fluid": e.fluid, "v-list-group--subgroup": e.subgroup, "v-list-group--open": l.value }, e.class], style: e.style }, { default: () => [n.activator && d(je, { defaults: f.value }, { default: () => [d(Ar, null, { default: () => [n.activator({ props: p.value, isOpen: l.value })] })] }), d(In, { transition: { component: Ji }, disabled: !s.value }, { default: () => { + return se(() => d(e.tag, { class: ["v-list-group", { "v-list-group--prepend": u == null ? void 0 : u.hasPrepend.value, "v-list-group--fluid": e.fluid, "v-list-group--subgroup": e.subgroup, "v-list-group--open": l.value }, e.class], style: e.style }, { default: () => [t.activator && d(je, { defaults: f.value }, { default: () => [d(xr, null, { default: () => [t.activator({ props: p.value, isOpen: l.value })] })] }), d(Ct, { transition: { component: ir }, disabled: !s.value }, { default: () => { var m; - return [Ue(d("div", { class: "v-list-group__items", role: "group", "aria-labelledby": c.value }, [(m = n.default) == null ? void 0 : m.call(n)]), [[Hn, l.value]])]; + return [Ue(d("div", { class: "v-list-group__items", role: "group", "aria-labelledby": c.value }, [(m = t.default) == null ? void 0 : m.call(t)]), [[Ht, l.value]])]; } })] })), {}; -} }), Or = wt("v-list-item-subtitle"), Pr = wt("v-list-item-title"), $r = H({ active: { type: Boolean, default: void 0 }, activeClass: String, activeColor: String, appendAvatar: String, appendIcon: Ce, baseColor: String, disabled: Boolean, lines: String, link: { type: Boolean, default: void 0 }, nav: Boolean, prependAvatar: String, prependIcon: Ce, ripple: { type: [Boolean, Object], default: !0 }, slim: Boolean, subtitle: [String, Number], title: [String, Number], value: null, onClick: an(), onClickOnce: an(), ...nt(), ...ye(), ...cn(), ...Dn(), ...lt(), ...hn(), ...rl(), ...en(), ...Ne(), ...kn({ variant: "text" }) }, "VListItem"), nl = ne()({ name: "VListItem", directives: { Ripple: $t }, props: $r(), emits: { click: (e) => !0 }, setup(e, t) { - let { attrs: n, slots: l, emit: o } = t; - const a = il(e, n), c = v(() => e.value === void 0 ? a.href.value : e.value), { select: u, isSelected: s, isIndeterminate: i, isGroupActivator: p, root: y, parent: f, openOnSelect: m } = ei(c, !1), h = Ja(), b = v(() => { +} }), wr = wn("v-list-item-subtitle"), Fr = wn("v-list-item-title"), Ar = H({ active: { type: Boolean, default: void 0 }, activeClass: String, activeColor: String, appendAvatar: String, appendIcon: Ce, baseColor: String, disabled: Boolean, lines: String, link: { type: Boolean, default: void 0 }, nav: Boolean, prependAvatar: String, prependIcon: Ce, ripple: { type: [Boolean, Object], default: !0 }, slim: Boolean, subtitle: [String, Number], title: [String, Number], value: null, onClick: at(), onClickOnce: at(), ...on(), ...ye(), ...ut(), ...zt(), ...rn(), ...ht(), ...sl(), ...et(), ...Ne(), ...xt({ variant: "text" }) }, "VListItem"), tl = te()({ name: "VListItem", directives: { Ripple: Pn }, props: Ar(), emits: { click: (e) => !0 }, setup(e, n) { + let { attrs: t, slots: l, emit: o } = n; + const a = rl(e, t), c = v(() => e.value === void 0 ? a.href.value : e.value), { select: u, isSelected: s, isIndeterminate: i, isGroupActivator: p, root: y, parent: f, openOnSelect: m } = ni(c, !1), h = Qa(), b = v(() => { var x; return e.active !== !1 && (e.active || ((x = a.isActive) == null ? void 0 : x.value) || s.value); - }), g = v(() => e.link !== !1 && a.isLink.value), C = v(() => !e.disabled && e.link !== !1 && (e.link || a.isClickable.value || e.value != null && !!h)), w = v(() => e.rounded || e.nav), O = v(() => e.color ?? e.activeColor), G = v(() => ({ color: b.value ? O.value ?? e.baseColor : e.baseColor, variant: e.variant })); + }), g = v(() => e.link !== !1 && a.isLink.value), I = v(() => !e.disabled && e.link !== !1 && (e.link || a.isClickable.value || e.value != null && !!h)), k = v(() => e.rounded || e.nav), w = v(() => e.color ?? e.activeColor), q = v(() => ({ color: b.value ? w.value ?? e.baseColor : e.baseColor, variant: e.variant })); K(() => { var x; return (x = a.isActive) == null ? void 0 : x.value; }, (x) => { x && f.value != null && y.open(f.value, !0), x && m(x); }, { immediate: !0 }); - const { themeClasses: T } = Xe(e), { borderClasses: $ } = tt(e), { colorClasses: R, colorStyles: P, variantClasses: S } = _t(G), { densityClasses: A } = Cn(e), { dimensionStyles: I } = Ln(e), { elevationClasses: F } = ot(e), { roundedClasses: _ } = bn(w), M = v(() => e.lines ? `v-list-item--${e.lines}-line` : void 0), N = v(() => ({ isActive: b.value, select: u, isSelected: s.value, isIndeterminate: i.value })); - function k(x) { - var V; - o("click", x), !p && C.value && ((V = a.navigate) == null || V.call(a, x), e.value != null && u(!s.value, x)); + const { themeClasses: P } = Xe(e), { borderClasses: z } = an(e), { colorClasses: M, colorStyles: $, variantClasses: S } = An(q), { densityClasses: O } = gt(e), { dimensionStyles: C } = Dt(e), { elevationClasses: F } = sn(e), { roundedClasses: V } = bt(k), j = v(() => e.lines ? `v-list-item--${e.lines}-line` : void 0), _ = v(() => ({ isActive: b.value, select: u, isSelected: s.value, isIndeterminate: i.value })); + function A(x) { + var E; + o("click", x), !p && I.value && ((E = a.navigate) == null || E.call(a, x), e.value != null && u(!s.value, x)); } function B(x) { - x.key !== "Enter" && x.key !== " " || (x.preventDefault(), k(x)); + x.key !== "Enter" && x.key !== " " || (x.preventDefault(), A(x)); } return se(() => { - const x = g.value ? "a" : e.tag, V = l.title || e.title != null, j = l.subtitle || e.subtitle != null, L = !(!e.appendAvatar && !e.appendIcon), z = !(!L && !l.append), Q = !(!e.prependAvatar && !e.prependIcon), E = !(!Q && !l.prepend); - var U, W; - return h == null || h.updateHasPrepend(E), e.activeColor && (U = "active-color", W = ["color", "base-color"], W = Array.isArray(W) ? W.slice(0, -1).map((q) => `'${q}'`).join(", ") + ` or '${W.at(-1)}'` : `'${W}'`, ll(`[Vuetify UPGRADE] '${U}' is deprecated, use ${W} instead.`)), Ue(d(x, { class: ["v-list-item", { "v-list-item--active": b.value, "v-list-item--disabled": e.disabled, "v-list-item--link": C.value, "v-list-item--nav": e.nav, "v-list-item--prepend": !E && (h == null ? void 0 : h.hasPrepend.value), "v-list-item--slim": e.slim, [`${e.activeClass}`]: e.activeClass && b.value }, T.value, $.value, R.value, A.value, F.value, M.value, _.value, S.value, e.class], style: [P.value, I.value, e.style], href: a.href.value, tabindex: C.value ? h ? -2 : 0 : void 0, onClick: k, onKeydown: C.value && !g.value && B }, { default: () => { - var q; - return [At(C.value || b.value, "v-list-item"), E && d("div", { key: "prepend", class: "v-list-item__prepend" }, [l.prepend ? d(je, { key: "prepend-defaults", disabled: !Q, defaults: { VAvatar: { density: e.density, image: e.prependAvatar }, VIcon: { density: e.density, icon: e.prependIcon }, VListItemAction: { start: !0 } } }, { default: () => { + const x = g.value ? "a" : e.tag, E = l.title || e.title != null, N = l.subtitle || e.subtitle != null, R = !(!e.appendAvatar && !e.appendIcon), L = !(!R && !l.append), Q = !(!e.prependAvatar && !e.prependIcon), T = !(!Q && !l.prepend); + var G, W; + return h == null || h.updateHasPrepend(T), e.activeColor && (G = "active-color", W = ["color", "base-color"], W = Array.isArray(W) ? W.slice(0, -1).map((U) => `'${U}'`).join(", ") + ` or '${W.at(-1)}'` : `'${W}'`, ll(`[Vuetify UPGRADE] '${G}' is deprecated, use ${W} instead.`)), Ue(d(x, { class: ["v-list-item", { "v-list-item--active": b.value, "v-list-item--disabled": e.disabled, "v-list-item--link": I.value, "v-list-item--nav": e.nav, "v-list-item--prepend": !T && (h == null ? void 0 : h.hasPrepend.value), "v-list-item--slim": e.slim, [`${e.activeClass}`]: e.activeClass && b.value }, P.value, z.value, M.value, O.value, F.value, j.value, V.value, S.value, e.class], style: [$.value, C.value, e.style], href: a.href.value, tabindex: I.value ? h ? -2 : 0 : void 0, onClick: A, onKeydown: I.value && !g.value && B }, { default: () => { + var U; + return [Fn(I.value || b.value, "v-list-item"), T && d("div", { key: "prepend", class: "v-list-item__prepend" }, [l.prepend ? d(je, { key: "prepend-defaults", disabled: !Q, defaults: { VAvatar: { density: e.density, image: e.prependAvatar }, VIcon: { density: e.density, icon: e.prependIcon }, VListItemAction: { start: !0 } } }, { default: () => { var Y; - return [(Y = l.prepend) == null ? void 0 : Y.call(l, N.value)]; - } }) : d(Fe, null, [e.prependAvatar && d(qn, { key: "prepend-avatar", density: e.density, image: e.prependAvatar }, null), e.prependIcon && d(Se, { key: "prepend-icon", density: e.density, icon: e.prependIcon }, null)]), d("div", { class: "v-list-item__spacer" }, null)]), d("div", { class: "v-list-item__content", "data-no-activator": "" }, [V && d(Pr, { key: "title" }, { default: () => { + return [(Y = l.prepend) == null ? void 0 : Y.call(l, _.value)]; + } }) : d(Fe, null, [e.prependAvatar && d(Ut, { key: "prepend-avatar", density: e.density, image: e.prependAvatar }, null), e.prependIcon && d(Se, { key: "prepend-icon", density: e.density, icon: e.prependIcon }, null)]), d("div", { class: "v-list-item__spacer" }, null)]), d("div", { class: "v-list-item__content", "data-no-activator": "" }, [E && d(Fr, { key: "title" }, { default: () => { var Y; return [((Y = l.title) == null ? void 0 : Y.call(l, { title: e.title })) ?? e.title]; - } }), j && d(Or, { key: "subtitle" }, { default: () => { + } }), N && d(wr, { key: "subtitle" }, { default: () => { var Y; return [((Y = l.subtitle) == null ? void 0 : Y.call(l, { subtitle: e.subtitle })) ?? e.subtitle]; - } }), (q = l.default) == null ? void 0 : q.call(l, N.value)]), z && d("div", { key: "append", class: "v-list-item__append" }, [l.append ? d(je, { key: "append-defaults", disabled: !L, defaults: { VAvatar: { density: e.density, image: e.appendAvatar }, VIcon: { density: e.density, icon: e.appendIcon }, VListItemAction: { end: !0 } } }, { default: () => { + } }), (U = l.default) == null ? void 0 : U.call(l, _.value)]), L && d("div", { key: "append", class: "v-list-item__append" }, [l.append ? d(je, { key: "append-defaults", disabled: !R, defaults: { VAvatar: { density: e.density, image: e.appendAvatar }, VIcon: { density: e.density, icon: e.appendIcon }, VListItemAction: { end: !0 } } }, { default: () => { var Y; - return [(Y = l.append) == null ? void 0 : Y.call(l, N.value)]; - } }) : d(Fe, null, [e.appendIcon && d(Se, { key: "append-icon", density: e.density, icon: e.appendIcon }, null), e.appendAvatar && d(qn, { key: "append-avatar", density: e.density, image: e.appendAvatar }, null)]), d("div", { class: "v-list-item__spacer" }, null)])]; - } }), [[gn("ripple"), C.value && e.ripple]]); + return [(Y = l.append) == null ? void 0 : Y.call(l, _.value)]; + } }) : d(Fe, null, [e.appendIcon && d(Se, { key: "append-icon", density: e.density, icon: e.appendIcon }, null), e.appendAvatar && d(Ut, { key: "append-avatar", density: e.density, image: e.appendAvatar }, null)]), d("div", { class: "v-list-item__spacer" }, null)])]; + } }), [[mt("ripple"), I.value && e.ripple]]); }), {}; -} }), Er = H({ color: String, inset: Boolean, sticky: Boolean, title: String, ...ye(), ...en() }, "VListSubheader"), Tr = ne()({ name: "VListSubheader", props: Er(), setup(e, t) { - let { slots: n } = t; - const { textColorClasses: l, textColorStyles: o } = yn(oe(e, "color")); +} }), Vr = H({ color: String, inset: Boolean, sticky: Boolean, title: String, ...ye(), ...et() }, "VListSubheader"), _r = te()({ name: "VListSubheader", props: Vr(), setup(e, n) { + let { slots: t } = n; + const { textColorClasses: l, textColorStyles: o } = ft(ae(e, "color")); return se(() => { - const a = !(!n.default && !e.title); + const a = !(!t.default && !e.title); return d(e.tag, { class: ["v-list-subheader", { "v-list-subheader--inset": e.inset, "v-list-subheader--sticky": e.sticky }, l.value, e.class], style: [{ textColorStyles: o }, e.style] }, { default: () => { var c; - return [a && d("div", { class: "v-list-subheader__text" }, [((c = n.default) == null ? void 0 : c.call(n)) ?? e.title])]; + return [a && d("div", { class: "v-list-subheader__text" }, [((c = t.default) == null ? void 0 : c.call(t)) ?? e.title])]; } }); }), {}; -} }), zr = H({ color: String, inset: Boolean, length: [Number, String], thickness: [Number, String], vertical: Boolean, ...ye(), ...Ne() }, "VDivider"), Dr = ne()({ name: "VDivider", props: zr(), setup(e, t) { - let { attrs: n } = t; - const { themeClasses: l } = Xe(e), { textColorClasses: o, textColorStyles: a } = yn(oe(e, "color")), c = v(() => { +} }), Or = H({ color: String, inset: Boolean, length: [Number, String], thickness: [Number, String], vertical: Boolean, ...ye(), ...Ne() }, "VDivider"), Pr = te()({ name: "VDivider", props: Or(), setup(e, n) { + let { attrs: t } = n; + const { themeClasses: l } = Xe(e), { textColorClasses: o, textColorStyles: a } = ft(ae(e, "color")), c = v(() => { const u = {}; - return e.length && (u[e.vertical ? "maxHeight" : "maxWidth"] = ae(e.length)), e.thickness && (u[e.vertical ? "borderRightWidth" : "borderTopWidth"] = ae(e.thickness)), u; + return e.length && (u[e.vertical ? "maxHeight" : "maxWidth"] = ie(e.length)), e.thickness && (u[e.vertical ? "borderRightWidth" : "borderTopWidth"] = ie(e.thickness)), u; }); - return se(() => d("hr", { class: [{ "v-divider": !0, "v-divider--inset": e.inset, "v-divider--vertical": e.vertical }, l.value, o.value, e.class], style: [c.value, a.value, e.style], "aria-orientation": n.role && n.role !== "separator" ? void 0 : e.vertical ? "vertical" : "horizontal", role: `${n.role || "separator"}` }, null)), {}; -} }), Lr = H({ items: Array, returnObject: Boolean }, "VListChildren"), ni = ne()({ name: "VListChildren", props: Lr(), setup(e, t) { - let { slots: n } = t; - return Ka(), () => { + return se(() => d("hr", { class: [{ "v-divider": !0, "v-divider--inset": e.inset, "v-divider--vertical": e.vertical }, l.value, o.value, e.class], style: [c.value, a.value, e.style], "aria-orientation": t.role && t.role !== "separator" ? void 0 : e.vertical ? "vertical" : "horizontal", role: `${t.role || "separator"}` }, null)), {}; +} }), $r = H({ items: Array, returnObject: Boolean }, "VListChildren"), li = te()({ name: "VListChildren", props: $r(), setup(e, n) { + let { slots: t } = n; + return Za(), () => { var l, o; - return ((l = n.default) == null ? void 0 : l.call(n)) ?? ((o = e.items) == null ? void 0 : o.map((a) => { + return ((l = t.default) == null ? void 0 : l.call(t)) ?? ((o = e.items) == null ? void 0 : o.map((a) => { var f, m; let { children: c, props: u, type: s, raw: i } = a; if (s === "divider") - return ((f = n.divider) == null ? void 0 : f.call(n, { props: u })) ?? d(Dr, u, null); + return ((f = t.divider) == null ? void 0 : f.call(t, { props: u })) ?? d(Pr, u, null); if (s === "subheader") - return ((m = n.subheader) == null ? void 0 : m.call(n, { props: u })) ?? d(Tr, u, null); - const p = { subtitle: n.subtitle ? (h) => { + return ((m = t.subheader) == null ? void 0 : m.call(t, { props: u })) ?? d(_r, u, null); + const p = { subtitle: t.subtitle ? (h) => { var b; - return (b = n.subtitle) == null ? void 0 : b.call(n, { ...h, item: i }); - } : void 0, prepend: n.prepend ? (h) => { + return (b = t.subtitle) == null ? void 0 : b.call(t, { ...h, item: i }); + } : void 0, prepend: t.prepend ? (h) => { var b; - return (b = n.prepend) == null ? void 0 : b.call(n, { ...h, item: i }); - } : void 0, append: n.append ? (h) => { + return (b = t.prepend) == null ? void 0 : b.call(t, { ...h, item: i }); + } : void 0, append: t.append ? (h) => { var b; - return (b = n.append) == null ? void 0 : b.call(n, { ...h, item: i }); - } : void 0, title: n.title ? (h) => { + return (b = t.append) == null ? void 0 : b.call(t, { ...h, item: i }); + } : void 0, title: t.title ? (h) => { var b; - return (b = n.title) == null ? void 0 : b.call(n, { ...h, item: i }); + return (b = t.title) == null ? void 0 : b.call(t, { ...h, item: i }); } : void 0 }, y = Ro.filterProps(u); return c ? d(Ro, Z({ value: u == null ? void 0 : u.value }, y), { activator: (h) => { let { props: b } = h; const g = { ...u, ...b, value: e.returnObject ? i : u.value }; - return n.header ? n.header({ props: g }) : d(nl, g, p); - }, default: () => d(ni, { items: c }, n) }) : n.item ? n.item({ props: u }) : d(nl, Z(u, { value: e.returnObject ? i : u.value }), p); + return t.header ? t.header({ props: g }) : d(tl, g, p); + }, default: () => d(li, { items: c }, t) }) : t.item ? t.item({ props: u }) : d(tl, Z(u, { value: e.returnObject ? i : u.value }), p); })); }; -} }), ti = H({ items: { type: Array, default: () => [] }, itemTitle: { type: [String, Array, Function], default: "title" }, itemValue: { type: [String, Array, Function], default: "value" }, itemChildren: { type: [Boolean, String, Array, Function], default: "children" }, itemProps: { type: [Boolean, String, Array, Function], default: "props" }, returnObject: Boolean, valueComparator: { type: Function, default: Qn } }, "list-items"); -function Ol(e, t) { - const n = dn(t, e.itemTitle, t), l = dn(t, e.itemValue, n), o = dn(t, e.itemChildren), a = { title: n, value: l, ...e.itemProps === !0 ? typeof t != "object" || t == null || Array.isArray(t) ? void 0 : "children" in t ? zn(t, ["children"]) : t : dn(t, e.itemProps) }; - return { title: String(a.title ?? ""), value: a.value, props: a, children: Array.isArray(o) ? li(e, o) : void 0, raw: t }; -} -function li(e, t) { - const n = []; - for (const l of t) - n.push(Ol(e, l)); - return n; +} }), oi = H({ items: { type: Array, default: () => [] }, itemTitle: { type: [String, Array, Function], default: "title" }, itemValue: { type: [String, Array, Function], default: "value" }, itemChildren: { type: [Boolean, String, Array, Function], default: "children" }, itemProps: { type: [Boolean, String, Array, Function], default: "props" }, returnObject: Boolean, valueComparator: { type: Function, default: nn } }, "list-items"); +function Ol(e, n) { + const t = ct(n, e.itemTitle, n), l = ct(n, e.itemValue, t), o = ct(n, e.itemChildren), a = { title: t, value: l, ...e.itemProps === !0 ? typeof n != "object" || n == null || Array.isArray(n) ? void 0 : "children" in n ? Tt(n, ["children"]) : n : ct(n, e.itemProps) }; + return { title: String(a.title ?? ""), value: a.value, props: a, children: Array.isArray(o) ? ai(e, o) : void 0, raw: n }; +} +function ai(e, n) { + const t = []; + for (const l of n) + t.push(Ol(e, l)); + return t; } -function Wr(e, t) { - const n = dn(t, e.itemType, "item"), l = function(u) { +function Er(e, n) { + const t = ct(n, e.itemType, "item"), l = function(u) { return typeof u == "string" || typeof u == "number" || typeof u == "boolean"; - }(t) ? t : dn(t, e.itemTitle), o = dn(t, e.itemValue, void 0), a = dn(t, e.itemChildren), c = { title: l, value: o, ...e.itemProps === !0 ? zn(t, ["children"]) : dn(t, e.itemProps) }; - return { type: n, title: c.title, value: c.value, props: c, children: n === "item" && a ? oi(e, a) : void 0, raw: t }; + }(n) ? n : ct(n, e.itemTitle), o = ct(n, e.itemValue, void 0), a = ct(n, e.itemChildren), c = { title: l, value: o, ...e.itemProps === !0 ? Tt(n, ["children"]) : ct(n, e.itemProps) }; + return { type: t, title: c.title, value: c.value, props: c, children: t === "item" && a ? ii(e, a) : void 0, raw: n }; } -function oi(e, t) { - const n = []; - for (const l of t) - n.push(Wr(e, l)); - return n; +function ii(e, n) { + const t = []; + for (const l of n) + t.push(Er(e, l)); + return t; } -const Mr = H({ baseColor: String, activeColor: String, activeClass: String, bgColor: String, disabled: Boolean, lines: { type: [Boolean, String], default: "one" }, slim: Boolean, nav: Boolean, ...Fr({ selectStrategy: "single-leaf", openStrategy: "list" }), ...nt(), ...ye(), ...cn(), ...Dn(), ...lt(), itemType: { type: String, default: "type" }, ...ti(), ...hn(), ...en(), ...Ne(), ...kn({ variant: "text" }) }, "VList"), Rr = ne()({ name: "VList", props: Mr(), emits: { "update:selected": (e) => !0, "update:opened": (e) => !0, "click:open": (e) => !0, "click:select": (e) => !0 }, setup(e, t) { - let { slots: n } = t; +const Tr = H({ baseColor: String, activeColor: String, activeClass: String, bgColor: String, disabled: Boolean, lines: { type: [Boolean, String], default: "one" }, slim: Boolean, nav: Boolean, ...Sr({ selectStrategy: "single-leaf", openStrategy: "list" }), ...on(), ...ye(), ...ut(), ...zt(), ...rn(), itemType: { type: String, default: "type" }, ...oi(), ...ht(), ...et(), ...Ne(), ...xt({ variant: "text" }) }, "VList"), zr = te()({ name: "VList", props: Tr(), emits: { "update:selected": (e) => !0, "update:opened": (e) => !0, "click:open": (e) => !0, "click:select": (e) => !0 }, setup(e, n) { + let { slots: t } = n; const { items: l } = function(S) { - return { items: v(() => oi(S, S.items)) }; - }(e), { themeClasses: o } = Xe(e), { backgroundColorClasses: a, backgroundColorStyles: c } = Un(oe(e, "bgColor")), { borderClasses: u } = tt(e), { densityClasses: s } = Cn(e), { dimensionStyles: i } = Ln(e), { elevationClasses: p } = ot(e), { roundedClasses: y } = bn(e), { open: f, select: m } = Vr(e), h = v(() => e.lines ? `v-list--${e.lines}-line` : void 0), b = oe(e, "activeColor"), g = oe(e, "baseColor"), C = oe(e, "color"); - Ka(), et({ VListGroup: { activeColor: b, baseColor: g, color: C }, VListItem: { activeClass: oe(e, "activeClass"), activeColor: b, baseColor: g, color: C, density: oe(e, "density"), disabled: oe(e, "disabled"), lines: oe(e, "lines"), nav: oe(e, "nav"), slim: oe(e, "slim"), variant: oe(e, "variant") } }); - const w = de(!1), O = D(); - function G(S) { - w.value = !0; + return { items: v(() => ii(S, S.items)) }; + }(e), { themeClasses: o } = Xe(e), { backgroundColorClasses: a, backgroundColorStyles: c } = Gt(ae(e, "bgColor")), { borderClasses: u } = an(e), { densityClasses: s } = gt(e), { dimensionStyles: i } = Dt(e), { elevationClasses: p } = sn(e), { roundedClasses: y } = bt(e), { open: f, select: m } = Br(e), h = v(() => e.lines ? `v-list--${e.lines}-line` : void 0), b = ae(e, "activeColor"), g = ae(e, "baseColor"), I = ae(e, "color"); + Za(), ln({ VListGroup: { activeColor: b, baseColor: g, color: I }, VListItem: { activeClass: ae(e, "activeClass"), activeColor: b, baseColor: g, color: I, density: ae(e, "density"), disabled: ae(e, "disabled"), lines: ae(e, "lines"), nav: ae(e, "nav"), slim: ae(e, "slim"), variant: ae(e, "variant") } }); + const k = de(!1), w = D(); + function q(S) { + k.value = !0; } - function T(S) { - w.value = !1; + function P(S) { + k.value = !1; } - function $(S) { - var A; - w.value || S.relatedTarget && ((A = O.value) != null && A.contains(S.relatedTarget)) || P(); + function z(S) { + var O; + k.value || S.relatedTarget && ((O = w.value) != null && O.contains(S.relatedTarget)) || $(); } - function R(S) { - if (O.value) { + function M(S) { + if (w.value) { if (S.key === "ArrowDown") - P("next"); + $("next"); else if (S.key === "ArrowUp") - P("prev"); + $("prev"); else if (S.key === "Home") - P("first"); + $("first"); else { if (S.key !== "End") return; - P("last"); + $("last"); } S.preventDefault(); } } - function P(S) { - if (O.value) - return Ht(O.value, S); + function $(S) { + if (w.value) + return Hn(w.value, S); } - return se(() => d(e.tag, { ref: O, class: ["v-list", { "v-list--disabled": e.disabled, "v-list--nav": e.nav }, o.value, a.value, u.value, s.value, p.value, h.value, y.value, e.class], style: [c.value, i.value, e.style], tabindex: e.disabled || w.value ? -1 : 0, role: "listbox", "aria-activedescendant": void 0, onFocusin: G, onFocusout: T, onFocus: $, onKeydown: R }, { default: () => [d(ni, { items: l.value, returnObject: e.returnObject }, n)] })), { open: f, select: m, focus: P }; + return se(() => d(e.tag, { ref: w, class: ["v-list", { "v-list--disabled": e.disabled, "v-list--nav": e.nav }, o.value, a.value, u.value, s.value, p.value, h.value, y.value, e.class], style: [c.value, i.value, e.style], tabindex: e.disabled || k.value ? -1 : 0, role: "listbox", "aria-activedescendant": void 0, onFocusin: q, onFocusout: P, onFocus: z, onKeydown: M }, { default: () => [d(li, { items: l.value, returnObject: e.returnObject }, t)] })), { open: f, select: m, focus: $ }; } }); -function hl(e, t) { - return { x: e.x + t.x, y: e.y + t.y }; +function hl(e, n) { + return { x: e.x + n.x, y: e.y + n.y }; } -function No(e, t) { +function No(e, n) { if (e.side === "top" || e.side === "bottom") { - const { side: n, align: l } = e; - return hl({ x: l === "left" ? 0 : l === "center" ? t.width / 2 : l === "right" ? t.width : l, y: n === "top" ? 0 : n === "bottom" ? t.height : n }, t); + const { side: t, align: l } = e; + return hl({ x: l === "left" ? 0 : l === "center" ? n.width / 2 : l === "right" ? n.width : l, y: t === "top" ? 0 : t === "bottom" ? n.height : t }, n); } if (e.side === "left" || e.side === "right") { - const { side: n, align: l } = e; - return hl({ x: n === "left" ? 0 : n === "right" ? t.width : n, y: l === "top" ? 0 : l === "center" ? t.height / 2 : l === "bottom" ? t.height : l }, t); + const { side: t, align: l } = e; + return hl({ x: t === "left" ? 0 : t === "right" ? n.width : t, y: l === "top" ? 0 : l === "center" ? n.height / 2 : l === "bottom" ? n.height : l }, n); } - return hl({ x: t.width / 2, y: t.height / 2 }, t); + return hl({ x: n.width / 2, y: n.height / 2 }, n); } -const ai = { static: function() { -}, connected: function(e, t, n) { +const ri = { static: function() { +}, connected: function(e, n, t) { (Array.isArray(e.target.value) || function(m) { for (; m; ) { if (window.getComputedStyle(m).position === "fixed") @@ -1903,21 +1936,21 @@ const ai = { static: function() { m = m.offsetParent; } return !1; - }(e.target.value)) && Object.assign(n.value, { position: "fixed", top: 0, [e.isRtl.value ? "right" : "left"]: 0 }); - const { preferredAnchor: l, preferredOrigin: o } = Nl(() => { - const m = kl(t.location, e.isRtl.value), h = t.origin === "overlap" ? m : t.origin === "auto" ? fl(m) : kl(t.origin, e.isRtl.value); + }(e.target.value)) && Object.assign(t.value, { position: "fixed", top: 0, [e.isRtl.value ? "right" : "left"]: 0 }); + const { preferredAnchor: l, preferredOrigin: o } = jl(() => { + const m = kl(n.location, e.isRtl.value), h = n.origin === "overlap" ? m : n.origin === "auto" ? fl(m) : kl(n.origin, e.isRtl.value); return m.side === h.side && m.align === yl(h).align ? { preferredAnchor: fo(m), preferredOrigin: fo(h) } : { preferredAnchor: m, preferredOrigin: h }; }), [a, c, u, s] = ["minWidth", "minHeight", "maxWidth", "maxHeight"].map((m) => v(() => { - const h = parseFloat(t[m]); + const h = parseFloat(n[m]); return isNaN(h) ? 1 / 0 : h; })), i = v(() => { - if (Array.isArray(t.offset)) - return t.offset; - if (typeof t.offset == "string") { - const m = t.offset.split(" ").map(parseFloat); + if (Array.isArray(n.offset)) + return n.offset; + if (typeof n.offset == "string") { + const m = n.offset.split(" ").map(parseFloat); return m.length < 2 && m.push(0), m; } - return typeof t.offset == "number" ? [t.offset, 0] : [0, 0]; + return typeof n.offset == "number" ? [n.offset, 0] : [0, 0]; }); let p = !1; const y = new ResizeObserver(() => { @@ -1928,89 +1961,89 @@ const ai = { static: function() { requestAnimationFrame(() => p = !0); }), !e.target.value || !e.contentEl.value) return; - const m = pa(e.target.value), h = function(S, A) { - A ? S.style.removeProperty("left") : S.style.removeProperty("right"); - const I = jl(S); - return A ? I.x += parseFloat(S.style.right || 0) : I.x -= parseFloat(S.style.left || 0), I.y -= parseFloat(S.style.top || 0), I; - }(e.contentEl.value, e.isRtl.value), b = Jt(e.contentEl.value); + const m = fa(e.target.value), h = function(S, O) { + O ? S.style.removeProperty("left") : S.style.removeProperty("right"); + const C = Gl(S); + return O ? C.x += parseFloat(S.style.right || 0) : C.x -= parseFloat(S.style.left || 0), C.y -= parseFloat(S.style.top || 0), C; + }(e.contentEl.value, e.isRtl.value), b = Jn(e.contentEl.value); b.length || (b.push(document.documentElement), e.contentEl.value.style.top && e.contentEl.value.style.left || (h.x -= parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x") || 0), h.y -= parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y") || 0))); - const g = b.reduce((S, A) => { - const I = A.getBoundingClientRect(), F = new Fn({ x: A === document.documentElement ? 0 : I.x, y: A === document.documentElement ? 0 : I.y, width: A.clientWidth, height: A.clientHeight }); - return S ? new Fn({ x: Math.max(S.left, F.left), y: Math.max(S.top, F.top), width: Math.min(S.right, F.right) - Math.max(S.left, F.left), height: Math.min(S.bottom, F.bottom) - Math.max(S.top, F.top) }) : F; + const g = b.reduce((S, O) => { + const C = O.getBoundingClientRect(), F = new wt({ x: O === document.documentElement ? 0 : C.x, y: O === document.documentElement ? 0 : C.y, width: O.clientWidth, height: O.clientHeight }); + return S ? new wt({ x: Math.max(S.left, F.left), y: Math.max(S.top, F.top), width: Math.min(S.right, F.right) - Math.max(S.left, F.left), height: Math.min(S.bottom, F.bottom) - Math.max(S.top, F.top) }) : F; }, void 0); g.x += 12, g.y += 12, g.width -= 24, g.height -= 24; - let C = { anchor: l.value, origin: o.value }; - function w(S) { - const A = new Fn(h), I = No(S.anchor, m), F = No(S.origin, A); - let { x: _, y: M } = (k = F, { x: (N = I).x - k.x, y: N.y - k.y }); - var N, k; + let I = { anchor: l.value, origin: o.value }; + function k(S) { + const O = new wt(h), C = No(S.anchor, m), F = No(S.origin, O); + let { x: V, y: j } = (A = F, { x: (_ = C).x - A.x, y: _.y - A.y }); + var _, A; switch (S.anchor.side) { case "top": - M -= i.value[0]; + j -= i.value[0]; break; case "bottom": - M += i.value[0]; + j += i.value[0]; break; case "left": - _ -= i.value[0]; + V -= i.value[0]; break; case "right": - _ += i.value[0]; + V += i.value[0]; } switch (S.anchor.align) { case "top": - M -= i.value[1]; + j -= i.value[1]; break; case "bottom": - M += i.value[1]; + j += i.value[1]; break; case "left": - _ -= i.value[1]; + V -= i.value[1]; break; case "right": - _ += i.value[1]; + V += i.value[1]; } - return A.x += _, A.y += M, A.width = Math.min(A.width, u.value), A.height = Math.min(A.height, s.value), { overflows: mo(A, g), x: _, y: M }; + return O.x += V, O.y += j, O.width = Math.min(O.width, u.value), O.height = Math.min(O.height, s.value), { overflows: mo(O, g), x: V, y: j }; } - let O = 0, G = 0; - const T = { x: 0, y: 0 }, $ = { x: !1, y: !1 }; - let R = -1; + let w = 0, q = 0; + const P = { x: 0, y: 0 }, z = { x: !1, y: !1 }; + let M = -1; for (; ; ) { - if (R++ > 10) { + if (M++ > 10) { ll("Vuetify error: Infinite loop detected in connectedLocationStrategy"); break; } - const { x: S, y: A, overflows: I } = w(C); - O += S, G += A, h.x += S, h.y += A; + const { x: S, y: O, overflows: C } = k(I); + w += S, q += O, h.x += S, h.y += O; { - const F = yo(C.anchor), _ = I.x.before || I.x.after, M = I.y.before || I.y.after; - let N = !1; - if (["x", "y"].forEach((k) => { - if (k === "x" && _ && !$.x || k === "y" && M && !$.y) { - const B = { anchor: { ...C.anchor }, origin: { ...C.origin } }, x = k === "x" ? F === "y" ? yl : fl : F === "y" ? fl : yl; + const F = yo(I.anchor), V = C.x.before || C.x.after, j = C.y.before || C.y.after; + let _ = !1; + if (["x", "y"].forEach((A) => { + if (A === "x" && V && !z.x || A === "y" && j && !z.y) { + const B = { anchor: { ...I.anchor }, origin: { ...I.origin } }, x = A === "x" ? F === "y" ? yl : fl : F === "y" ? fl : yl; B.anchor = x(B.anchor), B.origin = x(B.origin); - const { overflows: V } = w(B); - (V[k].before <= I[k].before && V[k].after <= I[k].after || V[k].before + V[k].after < (I[k].before + I[k].after) / 2) && (C = B, N = $[k] = !0); + const { overflows: E } = k(B); + (E[A].before <= C[A].before && E[A].after <= C[A].after || E[A].before + E[A].after < (C[A].before + C[A].after) / 2) && (I = B, _ = z[A] = !0); } - }), N) + }), _) continue; } - I.x.before && (O += I.x.before, h.x += I.x.before), I.x.after && (O -= I.x.after, h.x -= I.x.after), I.y.before && (G += I.y.before, h.y += I.y.before), I.y.after && (G -= I.y.after, h.y -= I.y.after); + C.x.before && (w += C.x.before, h.x += C.x.before), C.x.after && (w -= C.x.after, h.x -= C.x.after), C.y.before && (q += C.y.before, h.y += C.y.before), C.y.after && (q -= C.y.after, h.y -= C.y.after); { const F = mo(h, g); - T.x = g.width - F.x.before - F.x.after, T.y = g.height - F.y.before - F.y.after, O += F.x.before, h.x += F.x.before, G += F.y.before, h.y += F.y.before; + P.x = g.width - F.x.before - F.x.after, P.y = g.height - F.y.before - F.y.after, w += F.x.before, h.x += F.x.before, q += F.y.before, h.y += F.y.before; } break; } - const P = yo(C.anchor); - return Object.assign(n.value, { "--v-overlay-anchor-origin": `${C.anchor.side} ${C.anchor.align}`, transformOrigin: `${C.origin.side} ${C.origin.align}`, top: ae(bl(G)), left: e.isRtl.value ? void 0 : ae(bl(O)), right: e.isRtl.value ? ae(bl(-O)) : void 0, minWidth: ae(P === "y" ? Math.min(a.value, m.width) : a.value), maxWidth: ae(jo(Gn(T.x, a.value === 1 / 0 ? 0 : a.value, u.value))), maxHeight: ae(jo(Gn(T.y, c.value === 1 / 0 ? 0 : c.value, s.value))) }), { available: T, contentBox: h }; + const $ = yo(I.anchor); + return Object.assign(t.value, { "--v-overlay-anchor-origin": `${I.anchor.side} ${I.anchor.align}`, transformOrigin: `${I.origin.side} ${I.origin.align}`, top: ie(bl(q)), left: e.isRtl.value ? void 0 : ie(bl(w)), right: e.isRtl.value ? ie(bl(-w)) : void 0, minWidth: ie($ === "y" ? Math.min(a.value, m.width) : a.value), maxWidth: ie(jo(jt(P.x, a.value === 1 / 0 ? 0 : a.value, u.value))), maxHeight: ie(jo(jt(P.y, c.value === 1 / 0 ? 0 : c.value, s.value))) }), { available: P, contentBox: h }; } return K([e.target, e.contentEl], (m, h) => { - let [b, g] = m, [C, w] = h; - C && !Array.isArray(C) && y.unobserve(C), b && !Array.isArray(b) && y.observe(b), w && y.unobserve(w), g && y.observe(g); + let [b, g] = m, [I, k] = h; + I && !Array.isArray(I) && y.unobserve(I), b && !Array.isArray(b) && y.observe(b), k && y.unobserve(k), g && y.observe(g); }, { immediate: !0 }), He(() => { y.disconnect(); - }), K(() => [l.value, o.value, t.offset, t.minWidth, t.minHeight, t.maxWidth, t.maxHeight], () => f()), Me(() => { + }), K(() => [l.value, o.value, n.offset, n.minWidth, n.minHeight, n.maxWidth, n.maxHeight], () => f()), Me(() => { const m = f(); if (!m) return; @@ -2021,7 +2054,7 @@ const ai = { static: function() { }); }); }), { updateLocation: f }; -} }, Nr = H({ locationStrategy: { type: [String, Function], default: "static", validator: (e) => typeof e == "function" || e in ai }, location: { type: String, default: "bottom" }, origin: { type: String, default: "auto" }, offset: [Number, String, Array] }, "VOverlay-location-strategies"); +} }, Dr = H({ locationStrategy: { type: [String, Function], default: "static", validator: (e) => typeof e == "function" || e in ri }, location: { type: String, default: "bottom" }, origin: { type: String, default: "auto" }, offset: [Number, String, Array] }, "VOverlay-location-strategies"); function bl(e) { return Math.round(e * devicePixelRatio) / devicePixelRatio; } @@ -2029,31 +2062,31 @@ function jo(e) { return Math.ceil(e * devicePixelRatio) / devicePixelRatio; } let Pl = !0; -const tl = []; +const nl = []; let Go = -1; function $l() { cancelAnimationFrame(Go), Go = requestAnimationFrame(() => { - const e = tl.shift(); - e && e(), tl.length ? $l() : Pl = !0; + const e = nl.shift(); + e && e(), nl.length ? $l() : Pl = !0; }); } -const jt = { none: null, close: function(e) { - Uo(e.targetEl.value ?? e.contentEl.value, function(t) { +const jn = { none: null, close: function(e) { + Uo(e.targetEl.value ?? e.contentEl.value, function(n) { e.isActive.value = !1; }); -}, block: function(e, t) { +}, block: function(e, n) { var u; - const n = (u = e.root.value) == null ? void 0 : u.offsetParent, l = [.../* @__PURE__ */ new Set([...Jt(e.targetEl.value, t.contained ? n : void 0), ...Jt(e.contentEl.value, t.contained ? n : void 0)])].filter((s) => !s.classList.contains("v-overlay-scroll-blocked")), o = window.innerWidth - document.documentElement.offsetWidth, a = (c = n || document.documentElement, Ul(c) && c); + const t = (u = e.root.value) == null ? void 0 : u.offsetParent, l = [.../* @__PURE__ */ new Set([...Jn(e.targetEl.value, n.contained ? t : void 0), ...Jn(e.contentEl.value, n.contained ? t : void 0)])].filter((s) => !s.classList.contains("v-overlay-scroll-blocked")), o = window.innerWidth - document.documentElement.offsetWidth, a = (c = t || document.documentElement, ql(c) && c); var c; a && e.root.value.classList.add("v-overlay--scroll-blocked"), l.forEach((s, i) => { - s.style.setProperty("--v-body-scroll-x", ae(-s.scrollLeft)), s.style.setProperty("--v-body-scroll-y", ae(-s.scrollTop)), s !== document.documentElement && s.style.setProperty("--v-scrollbar-offset", ae(o)), s.classList.add("v-overlay-scroll-blocked"); + s.style.setProperty("--v-body-scroll-x", ie(-s.scrollLeft)), s.style.setProperty("--v-body-scroll-y", ie(-s.scrollTop)), s !== document.documentElement && s.style.setProperty("--v-scrollbar-offset", ie(o)), s.classList.add("v-overlay-scroll-blocked"); }), He(() => { l.forEach((s, i) => { const p = parseFloat(s.style.getPropertyValue("--v-body-scroll-x")), y = parseFloat(s.style.getPropertyValue("--v-body-scroll-y")); s.style.removeProperty("--v-body-scroll-x"), s.style.removeProperty("--v-body-scroll-y"), s.style.removeProperty("--v-scrollbar-offset"), s.classList.remove("v-overlay-scroll-blocked"), s.scrollLeft = -p, s.scrollTop = -y; }), a && e.root.value.classList.remove("v-overlay--scroll-blocked"); }); -}, reposition: function(e, t, n) { +}, reposition: function(e, n, t) { let l = !1, o = -1, a = -1; function c(u) { var s; @@ -2061,10 +2094,10 @@ const jt = { none: null, close: function(e) { var y, f; const i = performance.now(); (f = (y = e.updateLocation).value) == null || f.call(y, u), l = (performance.now() - i) / (1e3 / 60) > 2; - }, !Pl || tl.length ? (tl.push(s), $l()) : (Pl = !1, s(), $l()); + }, !Pl || nl.length ? (nl.push(s), $l()) : (Pl = !1, s(), $l()); } a = (typeof requestIdleCallback > "u" ? (u) => u() : requestIdleCallback)(() => { - n.run(() => { + t.run(() => { Uo(e.targetEl.value ?? e.contentEl.value, (u) => { l ? (cancelAnimationFrame(o), o = requestAnimationFrame(() => { o = requestAnimationFrame(() => { @@ -2076,384 +2109,384 @@ const jt = { none: null, close: function(e) { }), He(() => { typeof cancelIdleCallback < "u" && cancelIdleCallback(a), cancelAnimationFrame(o); }); -} }, jr = H({ scrollStrategy: { type: [String, Function], default: "block", validator: (e) => typeof e == "function" || e in jt } }, "VOverlay-scroll-strategies"); -function Uo(e, t) { - const n = [document, ...Jt(e)]; - n.forEach((l) => { - l.addEventListener("scroll", t, { passive: !0 }); +} }, Lr = H({ scrollStrategy: { type: [String, Function], default: "block", validator: (e) => typeof e == "function" || e in jn } }, "VOverlay-scroll-strategies"); +function Uo(e, n) { + const t = [document, ...Jn(e)]; + t.forEach((l) => { + l.addEventListener("scroll", n, { passive: !0 }); }), He(() => { - n.forEach((l) => { - l.removeEventListener("scroll", t); + t.forEach((l) => { + l.removeEventListener("scroll", n); }); }); } -const El = Symbol.for("vuetify:v-menu"), Gr = H({ closeDelay: [Number, String], openDelay: [Number, String] }, "delay"), Ur = H({ target: [String, Object], activator: [String, Object], activatorProps: { type: Object, default: () => ({}) }, openOnClick: { type: Boolean, default: void 0 }, openOnHover: Boolean, openOnFocus: { type: Boolean, default: void 0 }, closeOnContentClick: Boolean, ...Gr() }, "VOverlay-activator"); -function qr(e, t) { - let { isActive: n, isTop: l } = t; +const El = Symbol.for("vuetify:v-menu"), Wr = H({ closeDelay: [Number, String], openDelay: [Number, String] }, "delay"), Mr = H({ target: [String, Object], activator: [String, Object], activatorProps: { type: Object, default: () => ({}) }, openOnClick: { type: Boolean, default: void 0 }, openOnHover: Boolean, openOnFocus: { type: Boolean, default: void 0 }, closeOnContentClick: Boolean, ...Wr() }, "VOverlay-activator"); +function Rr(e, n) { + let { isActive: t, isTop: l } = n; const o = Le("useActivator"), a = D(); let c = !1, u = !1, s = !0; - const i = v(() => e.openOnFocus || e.openOnFocus == null && e.openOnHover), p = v(() => e.openOnClick || e.openOnClick == null && !e.openOnHover && !i.value), { runOpenDelay: y, runCloseDelay: f } = function(I, F) { - const _ = {}, M = (N) => () => { + const i = v(() => e.openOnFocus || e.openOnFocus == null && e.openOnHover), p = v(() => e.openOnClick || e.openOnClick == null && !e.openOnHover && !i.value), { runOpenDelay: y, runCloseDelay: f } = function(C, F) { + const V = {}, j = (_) => () => { if (!Ke) return Promise.resolve(!0); - const k = N === "openDelay"; - return _.closeDelay && window.clearTimeout(_.closeDelay), delete _.closeDelay, _.openDelay && window.clearTimeout(_.openDelay), delete _.openDelay, new Promise((B) => { - const x = parseInt(I[N] ?? 0, 10); - _[N] = window.setTimeout(() => { - F == null || F(k), B(k); + const A = _ === "openDelay"; + return V.closeDelay && window.clearTimeout(V.closeDelay), delete V.closeDelay, V.openDelay && window.clearTimeout(V.openDelay), delete V.openDelay, new Promise((B) => { + const x = parseInt(C[_] ?? 0, 10); + V[_] = window.setTimeout(() => { + F == null || F(A), B(A); }, x); }); }; - return { runCloseDelay: M("closeDelay"), runOpenDelay: M("openDelay") }; - }(e, (I) => { - I !== (e.openOnHover && c || i.value && u) || e.openOnHover && n.value && !l.value || (n.value !== I && (s = !0), n.value = I); - }), m = D(), h = (I) => { - I.stopPropagation(), a.value = I.currentTarget || I.target, n.value || (m.value = [I.clientX, I.clientY]), n.value = !n.value; - }, b = (I) => { + return { runCloseDelay: j("closeDelay"), runOpenDelay: j("openDelay") }; + }(e, (C) => { + C !== (e.openOnHover && c || i.value && u) || e.openOnHover && t.value && !l.value || (t.value !== C && (s = !0), t.value = C); + }), m = D(), h = (C) => { + C.stopPropagation(), a.value = C.currentTarget || C.target, t.value || (m.value = [C.clientX, C.clientY]), t.value = !t.value; + }, b = (C) => { var F; - (F = I.sourceCapabilities) != null && F.firesTouchEvents || (c = !0, a.value = I.currentTarget || I.target, y()); - }, g = (I) => { + (F = C.sourceCapabilities) != null && F.firesTouchEvents || (c = !0, a.value = C.currentTarget || C.target, y()); + }, g = (C) => { c = !1, f(); - }, C = (I) => { - Yt(I.target, ":focus-visible") !== !1 && (u = !0, I.stopPropagation(), a.value = I.currentTarget || I.target, y()); - }, w = (I) => { - u = !1, I.stopPropagation(), f(); - }, O = v(() => { - const I = {}; - return p.value && (I.onClick = h), e.openOnHover && (I.onMouseenter = b, I.onMouseleave = g), i.value && (I.onFocus = C, I.onBlur = w), I; - }), G = v(() => { - const I = {}; - if (e.openOnHover && (I.onMouseenter = () => { + }, I = (C) => { + Yn(C.target, ":focus-visible") !== !1 && (u = !0, C.stopPropagation(), a.value = C.currentTarget || C.target, y()); + }, k = (C) => { + u = !1, C.stopPropagation(), f(); + }, w = v(() => { + const C = {}; + return p.value && (C.onClick = h), e.openOnHover && (C.onMouseenter = b, C.onMouseleave = g), i.value && (C.onFocus = I, C.onBlur = k), C; + }), q = v(() => { + const C = {}; + if (e.openOnHover && (C.onMouseenter = () => { c = !0, y(); - }, I.onMouseleave = () => { + }, C.onMouseleave = () => { c = !1, f(); - }), i.value && (I.onFocusin = () => { + }), i.value && (C.onFocusin = () => { u = !0, y(); - }, I.onFocusout = () => { + }, C.onFocusout = () => { u = !1, f(); }), e.closeOnContentClick) { const F = me(El, null); - I.onClick = () => { - n.value = !1, F == null || F.closeParents(); + C.onClick = () => { + t.value = !1, F == null || F.closeParents(); }; } - return I; - }), T = v(() => { - const I = {}; - return e.openOnHover && (I.onMouseenter = () => { + return C; + }), P = v(() => { + const C = {}; + return e.openOnHover && (C.onMouseenter = () => { s && (c = !0, s = !1, y()); - }, I.onMouseleave = () => { + }, C.onMouseleave = () => { c = !1, f(); - }), I; + }), C; }); - K(l, (I) => { - !I || (!e.openOnHover || c || i.value && u) && (!i.value || u || e.openOnHover && c) || (n.value = !1); - }), K(n, (I) => { - I || setTimeout(() => { + K(l, (C) => { + !C || (!e.openOnHover || c || i.value && u) && (!i.value || u || e.openOnHover && c) || (t.value = !1); + }), K(t, (C) => { + C || setTimeout(() => { m.value = void 0; }); }, { flush: "post" }); - const $ = D(); - rn(() => { - $.value && Me(() => { - a.value = Ut($.value); + const z = D(); + it(() => { + z.value && Me(() => { + a.value = Un(z.value); }); }); - const R = D(), P = v(() => e.target === "cursor" && m.value ? m.value : R.value ? Ut(R.value) : qo(e.target, o) || a.value), S = v(() => Array.isArray(P.value) ? void 0 : P.value); - let A; - return K(() => !!e.activator, (I) => { - I && Ke ? (A = Dl(), A.run(() => { - (function(F, _, M) { - let { activatorEl: N, activatorEvents: k } = M; + const M = D(), $ = v(() => e.target === "cursor" && m.value ? m.value : M.value ? Un(M.value) : qo(e.target, o) || a.value), S = v(() => Array.isArray($.value) ? void 0 : $.value); + let O; + return K(() => !!e.activator, (C) => { + C && Ke ? (O = zl(), O.run(() => { + (function(F, V, j) { + let { activatorEl: _, activatorEvents: A } = j; function B() { - let j = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : V(), L = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : F.activatorProps; - j && function(z, Q) { - Object.keys(Q).forEach((E) => { - if (Bl(E)) { - const U = co(E), W = Dt.get(z); - if (Q[E] == null) - W == null || W.forEach((q) => { - const [Y, ee] = q; - Y === U && (z.removeEventListener(U, ee), W.delete(q)); + let N = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : E(), R = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : F.activatorProps; + N && function(L, Q) { + Object.keys(Q).forEach((T) => { + if (Bl(T)) { + const G = co(T), W = Dn.get(L); + if (Q[T] == null) + W == null || W.forEach((U) => { + const [Y, ee] = U; + Y === G && (L.removeEventListener(G, ee), W.delete(U)); }); - else if (!W || ![...W].some((q) => q[0] === U && q[1] === Q[E])) { - z.addEventListener(U, Q[E]); - const q = W || /* @__PURE__ */ new Set(); - q.add([U, Q[E]]), Dt.has(z) || Dt.set(z, q); + else if (!W || ![...W].some((U) => U[0] === G && U[1] === Q[T])) { + L.addEventListener(G, Q[T]); + const U = W || /* @__PURE__ */ new Set(); + U.add([G, Q[T]]), Dn.has(L) || Dn.set(L, U); } } else - Q[E] == null ? z.removeAttribute(E) : z.setAttribute(E, Q[E]); + Q[T] == null ? L.removeAttribute(T) : L.setAttribute(T, Q[T]); }); - }(j, Z(k.value, L)); + }(N, Z(A.value, R)); } function x() { - let j = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : V(), L = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : F.activatorProps; - j && function(z, Q) { - Object.keys(Q).forEach((E) => { - if (Bl(E)) { - const U = co(E), W = Dt.get(z); - W == null || W.forEach((q) => { - const [Y, ee] = q; - Y === U && (z.removeEventListener(U, ee), W.delete(q)); + let N = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : E(), R = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : F.activatorProps; + N && function(L, Q) { + Object.keys(Q).forEach((T) => { + if (Bl(T)) { + const G = co(T), W = Dn.get(L); + W == null || W.forEach((U) => { + const [Y, ee] = U; + Y === G && (L.removeEventListener(G, ee), W.delete(U)); }); } else - z.removeAttribute(E); + L.removeAttribute(T); }); - }(j, Z(k.value, L)); + }(N, Z(A.value, R)); } - function V() { - const j = qo(arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : F.activator, _); - return N.value = (j == null ? void 0 : j.nodeType) === Node.ELEMENT_NODE ? j : void 0, N.value; + function E() { + const N = qo(arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : F.activator, V); + return _.value = (N == null ? void 0 : N.nodeType) === Node.ELEMENT_NODE ? N : void 0, _.value; } - K(() => F.activator, (j, L) => { - if (L && j !== L) { - const z = V(L); - z && x(z); + K(() => F.activator, (N, R) => { + if (R && N !== R) { + const L = E(R); + L && x(L); } - j && Me(() => B()); + N && Me(() => B()); }, { immediate: !0 }), K(() => F.activatorProps, () => { B(); }), He(() => { x(); }); - })(e, o, { activatorEl: a, activatorEvents: O }); - })) : A && A.stop(); + })(e, o, { activatorEl: a, activatorEvents: w }); + })) : O && O.stop(); }, { flush: "post", immediate: !0 }), He(() => { - A == null || A.stop(); - }), { activatorEl: a, activatorRef: $, target: P, targetEl: S, targetRef: R, activatorEvents: O, contentEvents: G, scrimEvents: T }; + O == null || O.stop(); + }), { activatorEl: a, activatorRef: z, target: $, targetEl: S, targetRef: M, activatorEvents: w, contentEvents: q, scrimEvents: P }; } -function qo(e, t) { +function qo(e, n) { var l, o; if (!e) return; - let n; + let t; if (e === "parent") { - let a = (o = (l = t == null ? void 0 : t.proxy) == null ? void 0 : l.$el) == null ? void 0 : o.parentNode; + let a = (o = (l = n == null ? void 0 : n.proxy) == null ? void 0 : l.$el) == null ? void 0 : o.parentNode; for (; a != null && a.hasAttribute("data-no-activator"); ) a = a.parentNode; - n = a; + t = a; } else - n = typeof e == "string" ? document.querySelector(e) : "$el" in e ? e.$el : e; - return n; + t = typeof e == "string" ? document.querySelector(e) : "$el" in e ? e.$el : e; + return t; } -const Hr = Symbol.for("vuetify:display"); -function ii() { - let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : un(); - const n = me(Hr); - if (!n) +const Nr = Symbol.for("vuetify:display"); +function si() { + let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : st(); + const t = me(Nr); + if (!t) throw new Error("Could not find Vuetify display injection"); const l = v(() => { if (!e.mobileBreakpoint) - return n.mobile.value; - const a = typeof e.mobileBreakpoint == "number" ? e.mobileBreakpoint : n.thresholds.value[e.mobileBreakpoint]; - return n.width.value < a; - }), o = v(() => t ? { [`${t}--mobile`]: l.value } : {}); - return { ...n, displayClasses: o, mobile: l }; -} -const Yr = H({ eager: Boolean }, "lazy"); -function ri() { + return t.mobile.value; + const a = typeof e.mobileBreakpoint == "number" ? e.mobileBreakpoint : t.thresholds.value[e.mobileBreakpoint]; + return t.width.value < a; + }), o = v(() => n ? { [`${n}--mobile`]: l.value } : {}); + return { ...t, displayClasses: o, mobile: l }; +} +const jr = H({ eager: Boolean }, "lazy"); +function ui() { const e = Le("useScopeId").vnode.scopeId; return { scopeId: e ? { [e]: "" } : void 0 }; } -const Ho = Symbol.for("vuetify:stack"), yt = ln([]); -function Xr() { +const Ho = Symbol.for("vuetify:stack"), yn = lt([]); +function Gr() { return !0; } -function Yo(e, t, n) { - if (!e || si(e, n) === !1) +function Yo(e, n, t) { + if (!e || ci(e, t) === !1) return !1; - const l = fa(t); + const l = ma(n); if (typeof ShadowRoot < "u" && l instanceof ShadowRoot && l.host === e.target) return !1; - const o = (typeof n.value == "object" && n.value.include || (() => []))(); - return o.push(t), !o.some((a) => a == null ? void 0 : a.contains(e.target)); + const o = (typeof t.value == "object" && t.value.include || (() => []))(); + return o.push(n), !o.some((a) => a == null ? void 0 : a.contains(e.target)); } -function si(e, t) { - return (typeof t.value == "object" && t.value.closeConditional || Xr)(e); +function ci(e, n) { + return (typeof n.value == "object" && n.value.closeConditional || Gr)(e); } -function Xo(e, t) { - const n = fa(e); - t(document), typeof ShadowRoot < "u" && n instanceof ShadowRoot && t(n); +function Xo(e, n) { + const t = ma(e); + n(document), typeof ShadowRoot < "u" && t instanceof ShadowRoot && n(t); } -const Kr = { mounted(e, t) { - const n = (o) => function(a, c, u) { +const Ur = { mounted(e, n) { + const t = (o) => function(a, c, u) { const s = typeof u.value == "function" ? u.value : u.value.handler; c._clickOutside.lastMousedownWasOutside && Yo(a, c, u) && setTimeout(() => { - si(a, u) && s && s(a); + ci(a, u) && s && s(a); }, 0); - }(o, e, t), l = (o) => { - e._clickOutside.lastMousedownWasOutside = Yo(o, e, t); + }(o, e, n), l = (o) => { + e._clickOutside.lastMousedownWasOutside = Yo(o, e, n); }; Xo(e, (o) => { - o.addEventListener("click", n, !0), o.addEventListener("mousedown", l, !0); - }), e._clickOutside || (e._clickOutside = { lastMousedownWasOutside: !1 }), e._clickOutside[t.instance.$.uid] = { onClick: n, onMousedown: l }; -}, unmounted(e, t) { - e._clickOutside && (Xo(e, (n) => { + o.addEventListener("click", t, !0), o.addEventListener("mousedown", l, !0); + }), e._clickOutside || (e._clickOutside = { lastMousedownWasOutside: !1 }), e._clickOutside[n.instance.$.uid] = { onClick: t, onMousedown: l }; +}, unmounted(e, n) { + e._clickOutside && (Xo(e, (t) => { var a; - if (!n || !((a = e._clickOutside) != null && a[t.instance.$.uid])) + if (!t || !((a = e._clickOutside) != null && a[n.instance.$.uid])) return; - const { onClick: l, onMousedown: o } = e._clickOutside[t.instance.$.uid]; - n.removeEventListener("click", l, !0), n.removeEventListener("mousedown", o, !0); - }), delete e._clickOutside[t.instance.$.uid]); + const { onClick: l, onMousedown: o } = e._clickOutside[n.instance.$.uid]; + t.removeEventListener("click", l, !0), t.removeEventListener("mousedown", o, !0); + }), delete e._clickOutside[n.instance.$.uid]); } }; -function Jr(e) { - const { modelValue: t, color: n, ...l } = e; - return d(An, { name: "fade-transition", appear: !0 }, { default: () => [e.modelValue && d("div", Z({ class: ["v-overlay__scrim", e.color.backgroundColorClasses.value], style: e.color.backgroundColorStyles.value }, l), null)] }); -} -const ui = H({ absolute: Boolean, attach: [Boolean, String, Object], closeOnBack: { type: Boolean, default: !0 }, contained: Boolean, contentClass: null, contentProps: null, disabled: Boolean, noClickAnimation: Boolean, modelValue: Boolean, persistent: Boolean, scrim: { type: [Boolean, String], default: !0 }, zIndex: { type: [Number, String], default: 2e3 }, ...Ur(), ...ye(), ...Dn(), ...Yr(), ...Nr(), ...jr(), ...Ne(), ...Vt() }, "VOverlay"), Ko = ne()({ name: "VOverlay", directives: { ClickOutside: Kr }, inheritAttrs: !1, props: { _disableGlobalStack: Boolean, ...ui() }, emits: { "click:outside": (e) => !0, "update:modelValue": (e) => !0, afterLeave: () => !0 }, setup(e, t) { - var z, Q; - let { slots: n, attrs: l, emit: o } = t; - const a = $e(e, "modelValue"), c = v({ get: () => a.value, set: (E) => { - E && e.disabled || (a.value = E); - } }), { teleportTarget: u } = function(E) { +function qr(e) { + const { modelValue: n, color: t, ...l } = e; + return d(At, { name: "fade-transition", appear: !0 }, { default: () => [e.modelValue && d("div", Z({ class: ["v-overlay__scrim", e.color.backgroundColorClasses.value], style: e.color.backgroundColorStyles.value }, l), null)] }); +} +const di = H({ absolute: Boolean, attach: [Boolean, String, Object], closeOnBack: { type: Boolean, default: !0 }, contained: Boolean, contentClass: null, contentProps: null, disabled: Boolean, noClickAnimation: Boolean, modelValue: Boolean, persistent: Boolean, scrim: { type: [Boolean, String], default: !0 }, zIndex: { type: [Number, String], default: 2e3 }, ...Mr(), ...ye(), ...zt(), ...jr(), ...Dr(), ...Lr(), ...Ne(), ...$n() }, "VOverlay"), Ko = te()({ name: "VOverlay", directives: { ClickOutside: Ur }, inheritAttrs: !1, props: { _disableGlobalStack: Boolean, ...di() }, emits: { "click:outside": (e) => !0, "update:modelValue": (e) => !0, afterLeave: () => !0 }, setup(e, n) { + var L, Q; + let { slots: t, attrs: l, emit: o } = n; + const a = $e(e, "modelValue"), c = v({ get: () => a.value, set: (T) => { + T && e.disabled || (a.value = T); + } }), { teleportTarget: u } = function(T) { return { teleportTarget: v(() => { - const U = E.value; - if (U === !0 || !Ke) + const G = T.value; + if (G === !0 || !Ke) return; - const W = U === !1 ? document.body : typeof U == "string" ? document.querySelector(U) : U; + const W = G === !1 ? document.body : typeof G == "string" ? document.querySelector(G) : G; if (W == null) - return void ll(`Unable to locate target ${U}`); - let q = W.querySelector(":scope > .v-overlay-container"); - return q || (q = document.createElement("div"), q.className = "v-overlay-container", W.appendChild(q)), q; + return void ll(`Unable to locate target ${G}`); + let U = W.querySelector(":scope > .v-overlay-container"); + return U || (U = document.createElement("div"), U.className = "v-overlay-container", W.appendChild(U)), U; }) }; - }(v(() => e.attach || e.contained)), { themeClasses: s } = Xe(e), { rtlClasses: i, isRtl: p } = Ft(), { hasContent: y, onAfterLeave: f } = function(E, U) { - const W = de(!1), q = v(() => W.value || E.eager || U.value); - return K(U, () => W.value = !0), { isBooted: W, hasContent: q, onAfterLeave: function() { - E.eager || (W.value = !1); + }(v(() => e.attach || e.contained)), { themeClasses: s } = Xe(e), { rtlClasses: i, isRtl: p } = On(), { hasContent: y, onAfterLeave: f } = function(T, G) { + const W = de(!1), U = v(() => W.value || T.eager || G.value); + return K(G, () => W.value = !0), { isBooted: W, hasContent: U, onAfterLeave: function() { + T.eager || (W.value = !1); } }; - }(e, c), m = Un(v(() => typeof e.scrim == "string" ? e.scrim : null)), { globalTop: h, localTop: b, stackStyles: g } = function(E, U, W) { - const q = Le("useStack"), Y = !W, ee = me(Ho, void 0), pe = ln({ activeChildren: /* @__PURE__ */ new Set() }); - nn(Ho, pe); - const be = de(+U.value); - Vn(E, () => { + }(e, c), m = Gt(v(() => typeof e.scrim == "string" ? e.scrim : null)), { globalTop: h, localTop: b, stackStyles: g } = function(T, G, W) { + const U = Le("useStack"), Y = !W, ee = me(Ho, void 0), pe = lt({ activeChildren: /* @__PURE__ */ new Set() }); + tt(Ho, pe); + const be = de(+G.value); + Ft(T, () => { var ke; - const Ve = (ke = yt.at(-1)) == null ? void 0 : ke[1]; - be.value = Ve ? Ve + 10 : +U.value, Y && yt.push([q.uid, be.value]), ee == null || ee.activeChildren.add(q.uid), He(() => { + const Ae = (ke = yn.at(-1)) == null ? void 0 : ke[1]; + be.value = Ae ? Ae + 10 : +G.value, Y && yn.push([U.uid, be.value]), ee == null || ee.activeChildren.add(U.uid), He(() => { if (Y) { - const Be = Sn(yt).findIndex((Oe) => Oe[0] === q.uid); - yt.splice(Be, 1); + const Be = It(yn).findIndex((Oe) => Oe[0] === U.uid); + yn.splice(Be, 1); } - ee == null || ee.activeChildren.delete(q.uid); + ee == null || ee.activeChildren.delete(U.uid); }); }); const ge = de(!0); - Y && rn(() => { + Y && it(() => { var ke; - const Ve = ((ke = yt.at(-1)) == null ? void 0 : ke[0]) === q.uid; - setTimeout(() => ge.value = Ve); + const Ae = ((ke = yn.at(-1)) == null ? void 0 : ke[0]) === U.uid; + setTimeout(() => ge.value = Ae); }); const We = v(() => !pe.activeChildren.size); - return { globalTop: zl(ge), localTop: We, stackStyles: v(() => ({ zIndex: be.value })) }; - }(c, oe(e, "zIndex"), e._disableGlobalStack), { activatorEl: C, activatorRef: w, target: O, targetEl: G, targetRef: T, activatorEvents: $, contentEvents: R, scrimEvents: P } = qr(e, { isActive: c, isTop: b }), { dimensionStyles: S } = Ln(e), A = function() { + return { globalTop: Dl(ge), localTop: We, stackStyles: v(() => ({ zIndex: be.value })) }; + }(c, ae(e, "zIndex"), e._disableGlobalStack), { activatorEl: I, activatorRef: k, target: w, targetEl: q, targetRef: P, activatorEvents: z, contentEvents: M, scrimEvents: $ } = Rr(e, { isActive: c, isTop: b }), { dimensionStyles: S } = Dt(e), O = function() { if (!Ke) return de(!1); - const { ssr: E } = ii(); - if (E) { - const U = de(!1); - return Yn(() => { - U.value = !0; - }), U; + const { ssr: T } = si(); + if (T) { + const G = de(!1); + return qt(() => { + G.value = !0; + }), G; } return de(!0); - }(), { scopeId: I } = ri(); - K(() => e.disabled, (E) => { - E && (c.value = !1); + }(), { scopeId: C } = ui(); + K(() => e.disabled, (T) => { + T && (c.value = !1); }); - const F = D(), _ = D(), { contentStyles: M, updateLocation: N } = function(E, U) { - const W = D({}), q = D(); + const F = D(), V = D(), { contentStyles: j, updateLocation: _ } = function(T, G) { + const W = D({}), U = D(); function Y(ee) { var pe; - (pe = q.value) == null || pe.call(q, ee); + (pe = U.value) == null || pe.call(U, ee); } - return Ke && Vn(() => !(!U.isActive.value || !E.locationStrategy), (ee) => { + return Ke && Ft(() => !(!G.isActive.value || !T.locationStrategy), (ee) => { var pe, be; - K(() => E.locationStrategy, ee), He(() => { - window.removeEventListener("resize", Y), q.value = void 0; - }), window.addEventListener("resize", Y, { passive: !0 }), typeof E.locationStrategy == "function" ? q.value = (pe = E.locationStrategy(U, E, W)) == null ? void 0 : pe.updateLocation : q.value = (be = ai[E.locationStrategy](U, E, W)) == null ? void 0 : be.updateLocation; - }), { contentStyles: W, updateLocation: q }; - }(e, { isRtl: p, contentEl: _, target: O, isActive: c }); - function k(E) { - o("click:outside", E), e.persistent ? L() : c.value = !1; + K(() => T.locationStrategy, ee), He(() => { + window.removeEventListener("resize", Y), U.value = void 0; + }), window.addEventListener("resize", Y, { passive: !0 }), typeof T.locationStrategy == "function" ? U.value = (pe = T.locationStrategy(G, T, W)) == null ? void 0 : pe.updateLocation : U.value = (be = ri[T.locationStrategy](G, T, W)) == null ? void 0 : be.updateLocation; + }), { contentStyles: W, updateLocation: U }; + }(e, { isRtl: p, contentEl: V, target: w, isActive: c }); + function A(T) { + o("click:outside", T), e.persistent ? R() : c.value = !1; } function B() { return c.value && h.value; } - function x(E) { - var U, W; - E.key === "Escape" && h.value && (e.persistent ? L() : (c.value = !1, (U = _.value) != null && U.contains(document.activeElement) && ((W = C.value) == null || W.focus()))); + function x(T) { + var G, W; + T.key === "Escape" && h.value && (e.persistent ? R() : (c.value = !1, (G = V.value) != null && G.contains(document.activeElement) && ((W = I.value) == null || W.focus()))); } - (function(E, U) { + (function(T, G) { if (!Ke) return; let W; - rn(async () => { - W == null || W.stop(), U.isActive.value && E.scrollStrategy && (W = Dl(), await Me(), W.active && W.run(() => { - var q; - typeof E.scrollStrategy == "function" ? E.scrollStrategy(U, E, W) : (q = jt[E.scrollStrategy]) == null || q.call(jt, U, E, W); + it(async () => { + W == null || W.stop(), G.isActive.value && T.scrollStrategy && (W = zl(), await Me(), W.active && W.run(() => { + var U; + typeof T.scrollStrategy == "function" ? T.scrollStrategy(G, T, W) : (U = jn[T.scrollStrategy]) == null || U.call(jn, G, T, W); })); }), He(() => { W == null || W.stop(); }); - })(e, { root: F, contentEl: _, targetEl: G, isActive: c, updateLocation: N }), Ke && K(c, (E) => { - E ? window.addEventListener("keydown", x) : window.removeEventListener("keydown", x); + })(e, { root: F, contentEl: V, targetEl: q, isActive: c, updateLocation: _ }), Ke && K(c, (T) => { + T ? window.addEventListener("keydown", x) : window.removeEventListener("keydown", x); }, { immediate: !0 }); - const V = (Q = (z = Le("useRouter")) == null ? void 0 : z.proxy) == null ? void 0 : Q.$router; - Vn(() => e.closeOnBack, () => { - (function(E, U) { - let W, q, Y = !1; + const E = (Q = (L = Le("useRouter")) == null ? void 0 : L.proxy) == null ? void 0 : Q.$router; + Ft(() => e.closeOnBack, () => { + (function(T, G) { + let W, U, Y = !1; function ee(pe) { var be; (be = pe.state) != null && be.replaced || (Y = !0, setTimeout(() => Y = !1)); } Ke && (Me(() => { - window.addEventListener("popstate", ee), W = E == null ? void 0 : E.beforeEach((pe, be, ge) => { - gl ? Y ? U(ge) : ge() : setTimeout(() => Y ? U(ge) : ge()), gl = !0; - }), q = E == null ? void 0 : E.afterEach(() => { + window.addEventListener("popstate", ee), W = T == null ? void 0 : T.beforeEach((pe, be, ge) => { + gl ? Y ? G(ge) : ge() : setTimeout(() => Y ? G(ge) : ge()), gl = !0; + }), U = T == null ? void 0 : T.afterEach(() => { gl = !1; }); }), He(() => { - window.removeEventListener("popstate", ee), W == null || W(), q == null || q(); + window.removeEventListener("popstate", ee), W == null || W(), U == null || U(); })); - })(V, (E) => { - h.value && c.value ? (E(!1), e.persistent ? L() : c.value = !1) : E(); + })(E, (T) => { + h.value && c.value ? (T(!1), e.persistent ? R() : c.value = !1) : T(); }); }); - const j = D(); - function L() { - e.noClickAnimation || _.value && jn(_.value, [{ transformOrigin: "center" }, { transform: "scale(1.03)" }, { transformOrigin: "center" }], { duration: 150, easing: Kt }); - } - return K(() => c.value && (e.absolute || e.contained) && u.value == null, (E) => { - if (E) { - const U = ma(F.value); - U && U !== document.scrollingElement && (j.value = U.scrollTop); + const N = D(); + function R() { + e.noClickAnimation || V.value && Nt(V.value, [{ transformOrigin: "center" }, { transform: "scale(1.03)" }, { transformOrigin: "center" }], { duration: 150, easing: Kn }); + } + return K(() => c.value && (e.absolute || e.contained) && u.value == null, (T) => { + if (T) { + const G = ha(F.value); + G && G !== document.scrollingElement && (N.value = G.scrollTop); } }), se(() => { - var E; - return d(Fe, null, [(E = n.activator) == null ? void 0 : E.call(n, { isActive: c.value, props: Z({ ref: w, targetRef: T }, $.value, e.activatorProps) }), A.value && y.value && d(Pn, { disabled: !u.value, to: u.value }, { default: () => [d("div", Z({ class: ["v-overlay", { "v-overlay--absolute": e.absolute || e.contained, "v-overlay--active": c.value, "v-overlay--contained": e.contained }, s.value, i.value, e.class], style: [g.value, { top: ae(j.value) }, e.style], ref: F }, I, l), [d(Jr, Z({ color: m, modelValue: c.value && !!e.scrim }, P.value), null), d(In, { appear: !0, persisted: !0, transition: e.transition, target: O.value, onAfterLeave: () => { + var T; + return d(Fe, null, [(T = t.activator) == null ? void 0 : T.call(t, { isActive: c.value, props: Z({ ref: k, targetRef: P }, z.value, e.activatorProps) }), O.value && y.value && d(Pt, { disabled: !u.value, to: u.value }, { default: () => [d("div", Z({ class: ["v-overlay", { "v-overlay--absolute": e.absolute || e.contained, "v-overlay--active": c.value, "v-overlay--contained": e.contained }, s.value, i.value, e.class], style: [g.value, { top: ie(N.value) }, e.style], ref: F }, C, l), [d(qr, Z({ color: m, modelValue: c.value && !!e.scrim }, $.value), null), d(Ct, { appear: !0, persisted: !0, transition: e.transition, target: w.value, onAfterLeave: () => { f(), o("afterLeave"); } }, { default: () => { - var U; - return [Ue(d("div", Z({ ref: _, class: ["v-overlay__content", e.contentClass], style: [S.value, M.value] }, R.value, e.contentProps), [(U = n.default) == null ? void 0 : U.call(n, { isActive: c })]), [[Hn, c.value], [gn("click-outside"), { handler: k, closeConditional: B, include: () => [C.value] }]])]; + var G; + return [Ue(d("div", Z({ ref: V, class: ["v-overlay__content", e.contentClass], style: [S.value, j.value] }, M.value, e.contentProps), [(G = t.default) == null ? void 0 : G.call(t, { isActive: c })]), [[Ht, c.value], [mt("click-outside"), { handler: A, closeConditional: B, include: () => [I.value] }]])]; } })])] })]); - }), { activatorEl: C, target: O, animateClick: L, contentEl: _, globalTop: h, localTop: b, updateLocation: N }; + }), { activatorEl: I, target: w, animateClick: R, contentEl: V, globalTop: h, localTop: b, updateLocation: _ }; } }), Cl = Symbol("Forwarded refs"); -function Il(e, t) { - let n = e; - for (; n; ) { - const l = Reflect.getOwnPropertyDescriptor(n, t); +function Il(e, n) { + let t = e; + for (; t; ) { + const l = Reflect.getOwnPropertyDescriptor(t, n); if (l) return l; - n = Object.getPrototypeOf(n); + t = Object.getPrototypeOf(t); } } -function sl(e) { - for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), l = 1; l < t; l++) - n[l - 1] = arguments[l]; - return e[Cl] = n, new Proxy(e, { get(o, a) { +function ul(e) { + for (var n = arguments.length, t = new Array(n > 1 ? n - 1 : 0), l = 1; l < n; l++) + t[l - 1] = arguments[l]; + return e[Cl] = t, new Proxy(e, { get(o, a) { if (Reflect.has(o, a)) return Reflect.get(o, a); if (typeof a != "symbol" && !a.startsWith("$") && !a.startsWith("__")) { - for (const c of n) + for (const c of t) if (c.value && Reflect.has(c.value, a)) { const u = Reflect.get(c.value, a); return typeof u == "function" ? u.bind(c.value) : u; @@ -2464,7 +2497,7 @@ function sl(e) { return !0; if (typeof a == "symbol" || a.startsWith("$") || a.startsWith("__")) return !1; - for (const c of n) + for (const c of t) if (c.value && Reflect.has(c.value, a)) return !0; return !1; @@ -2473,7 +2506,7 @@ function sl(e) { return Reflect.set(o, a, c); if (typeof a == "symbol" || a.startsWith("$") || a.startsWith("__")) return !1; - for (const u of n) + for (const u of t) if (u.value && Reflect.has(u.value, a)) return Reflect.set(u.value, a, c); return !1; @@ -2483,14 +2516,14 @@ function sl(e) { if (c) return c; if (typeof a != "symbol" && !a.startsWith("$") && !a.startsWith("__")) { - for (const s of n) { + for (const s of t) { if (!s.value) continue; const i = Il(s.value, a) ?? ("_" in s.value ? Il((u = s.value._) == null ? void 0 : u.setupState, a) : void 0); if (i) return i; } - for (const s of n) { + for (const s of t) { const i = s.value && s.value[Cl]; if (!i) continue; @@ -2506,29 +2539,29 @@ function sl(e) { } } }); } -const Zr = H({ id: String, ...zn(ui({ closeDelay: 250, closeOnContentClick: !0, locationStrategy: "connected", openDelay: 300, scrim: !1, scrollStrategy: "reposition", transition: { component: Ca } }), ["absolute"]) }, "VMenu"), Qr = ne()({ name: "VMenu", props: Zr(), emits: { "update:modelValue": (e) => !0 }, setup(e, t) { - let { slots: n } = t; - const l = $e(e, "modelValue"), { scopeId: o } = ri(), a = tn(), c = v(() => e.id || `v-menu-${a}`), u = D(), s = me(El, null), i = de(0); +const Hr = H({ id: String, ...Tt(di({ closeDelay: 250, closeOnContentClick: !0, locationStrategy: "connected", openDelay: 300, scrim: !1, scrollStrategy: "reposition", transition: { component: Wa } }), ["absolute"]) }, "VMenu"), Yr = te()({ name: "VMenu", props: Hr(), emits: { "update:modelValue": (e) => !0 }, setup(e, n) { + let { slots: t } = n; + const l = $e(e, "modelValue"), { scopeId: o } = ui(), a = nt(), c = v(() => e.id || `v-menu-${a}`), u = D(), s = me(El, null), i = de(0); async function p(b) { - var w, O, G; - const g = b.relatedTarget, C = b.target; - await Me(), l.value && g !== C && ((w = u.value) != null && w.contentEl) && ((O = u.value) != null && O.globalTop) && ![document, u.value.contentEl].includes(C) && !u.value.contentEl.contains(C) && ((G = xl(u.value.contentEl)[0]) == null || G.focus()); + var k, w, q; + const g = b.relatedTarget, I = b.target; + await Me(), l.value && g !== I && ((k = u.value) != null && k.contentEl) && ((w = u.value) != null && w.globalTop) && ![document, u.value.contentEl].includes(I) && !u.value.contentEl.contains(I) && ((q = xl(u.value.contentEl)[0]) == null || q.focus()); } function y() { s == null || s.closeParents(); } function f(b) { - var g, C, w; - !e.disabled && b.key === "Tab" && (ua(xl((g = u.value) == null ? void 0 : g.contentEl, !1), b.shiftKey ? "prev" : "next", (O) => O.tabIndex >= 0) || (l.value = !1, (w = (C = u.value) == null ? void 0 : C.activatorEl) == null || w.focus())); + var g, I, k; + !e.disabled && b.key === "Tab" && (da(xl((g = u.value) == null ? void 0 : g.contentEl, !1), b.shiftKey ? "prev" : "next", (w) => w.tabIndex >= 0) || (l.value = !1, (k = (I = u.value) == null ? void 0 : I.activatorEl) == null || k.focus())); } function m(b) { - var C; + var I; if (e.disabled) return; - const g = (C = u.value) == null ? void 0 : C.contentEl; - g && l.value ? b.key === "ArrowDown" ? (b.preventDefault(), Ht(g, "next")) : b.key === "ArrowUp" && (b.preventDefault(), Ht(g, "prev")) : ["ArrowDown", "ArrowUp"].includes(b.key) && (l.value = !0, b.preventDefault(), setTimeout(() => setTimeout(() => m(b)))); + const g = (I = u.value) == null ? void 0 : I.contentEl; + g && l.value ? b.key === "ArrowDown" ? (b.preventDefault(), Hn(g, "next")) : b.key === "ArrowUp" && (b.preventDefault(), Hn(g, "prev")) : ["ArrowDown", "ArrowUp"].includes(b.key) && (l.value = !0, b.preventDefault(), setTimeout(() => setTimeout(() => m(b)))); } - nn(El, { register() { + tt(El, { register() { ++i.value; }, unregister() { --i.value; @@ -2542,101 +2575,101 @@ const Zr = H({ id: String, ...zn(ui({ closeDelay: 250, closeOnContentClick: !0, const h = v(() => Z({ "aria-haspopup": "menu", "aria-expanded": String(l.value), "aria-owns": c.value, onKeydown: m }, e.activatorProps)); return se(() => { const b = Ko.filterProps(e); - return d(Ko, Z({ ref: u, class: ["v-menu", e.class], style: e.style }, b, { modelValue: l.value, "onUpdate:modelValue": (g) => l.value = g, absolute: !0, activatorProps: h.value, "onClick:outside": y, onKeydown: f }, o), { activator: n.activator, default: function() { - for (var g = arguments.length, C = new Array(g), w = 0; w < g; w++) - C[w] = arguments[w]; + return d(Ko, Z({ ref: u, class: ["v-menu", e.class], style: e.style }, b, { modelValue: l.value, "onUpdate:modelValue": (g) => l.value = g, absolute: !0, activatorProps: h.value, "onClick:outside": y, onKeydown: f }, o), { activator: t.activator, default: function() { + for (var g = arguments.length, I = new Array(g), k = 0; k < g; k++) + I[k] = arguments[k]; return d(je, { root: "VMenu" }, { default: () => { - var O; - return [(O = n.default) == null ? void 0 : O.call(n, ...C)]; + var w; + return [(w = t.default) == null ? void 0 : w.call(t, ...I)]; } }); } }); - }), sl({ id: c, ΨopenChildren: i }, u); -} }), es = H({ active: Boolean, max: [Number, String], value: { type: [Number, String], default: 0 }, ...ye(), ...Vt({ transition: { component: Ia } }) }, "VCounter"), ci = ne()({ name: "VCounter", functional: !0, props: es(), setup(e, t) { - let { slots: n } = t; + }), ul({ id: c, ΨopenChildren: i }, u); +} }), Xr = H({ active: Boolean, max: [Number, String], value: { type: [Number, String], default: 0 }, ...ye(), ...$n({ transition: { component: Ma } }) }, "VCounter"), pi = te()({ name: "VCounter", functional: !0, props: Xr(), setup(e, n) { + let { slots: t } = n; const l = v(() => e.max ? `${e.value} / ${e.max}` : String(e.value)); - return se(() => d(In, { transition: e.transition }, { default: () => [Ue(d("div", { class: ["v-counter", e.class], style: e.style }, [n.default ? n.default({ counter: l.value, max: e.max, value: e.value }) : l.value]), [[Hn, e.active]])] })), {}; -} }), ns = H({ floating: Boolean, ...ye() }, "VFieldLabel"), Mt = ne()({ name: "VFieldLabel", props: ns(), setup(e, t) { - let { slots: n } = t; - return se(() => d(Na, { class: ["v-field-label", { "v-field-label--floating": e.floating }, e.class], style: e.style, "aria-hidden": e.floating || void 0 }, n)), {}; -} }), ts = ["underlined", "outlined", "filled", "solo", "solo-inverted", "solo-filled", "plain"], no = H({ appendInnerIcon: Ce, bgColor: String, clearable: Boolean, clearIcon: { type: Ce, default: "$clear" }, active: Boolean, centerAffix: { type: Boolean, default: void 0 }, color: String, baseColor: String, dirty: Boolean, disabled: { type: Boolean, default: null }, error: Boolean, flat: Boolean, label: String, persistentClear: Boolean, prependInnerIcon: Ce, reverse: Boolean, singleLine: Boolean, variant: { type: String, default: "filled", validator: (e) => ts.includes(e) }, "onClick:clear": an(), "onClick:appendInner": an(), "onClick:prependInner": an(), ...ye(), ...Zl(), ...hn(), ...Ne() }, "VField"), to = ne()({ name: "VField", inheritAttrs: !1, props: { id: String, ...Ha(), ...no() }, emits: { "update:focused": (e) => !0, "update:modelValue": (e) => !0 }, setup(e, t) { - let { attrs: n, emit: l, slots: o } = t; - const { themeClasses: a } = Xe(e), { loaderClasses: c } = al(e), { focusClasses: u, isFocused: s, focus: i, blur: p } = Et(e), { InputIcon: y } = qa(e), { roundedClasses: f } = bn(e), { rtlClasses: m } = Ft(), h = v(() => e.dirty || e.active), b = v(() => !(e.singleLine || !e.label && !o.label)), g = tn(), C = v(() => e.id || `input-${g}`), w = v(() => `${C.value}-messages`), O = D(), G = D(), T = D(), $ = v(() => ["plain", "underlined"].includes(e.variant)), { backgroundColorClasses: R, backgroundColorStyles: P } = Un(oe(e, "bgColor")), { textColorClasses: S, textColorStyles: A } = yn(v(() => e.error || e.disabled ? void 0 : h.value && s.value ? e.color : e.baseColor)); - K(h, (_) => { + return se(() => d(Ct, { transition: e.transition }, { default: () => [Ue(d("div", { class: ["v-counter", e.class], style: e.style }, [t.default ? t.default({ counter: l.value, max: e.max, value: e.value }) : l.value]), [[Ht, e.active]])] })), {}; +} }), Kr = H({ floating: Boolean, ...ye() }, "VFieldLabel"), Mn = te()({ name: "VFieldLabel", props: Kr(), setup(e, n) { + let { slots: t } = n; + return se(() => d(Ga, { class: ["v-field-label", { "v-field-label--floating": e.floating }, e.class], style: e.style, "aria-hidden": e.floating || void 0 }, t)), {}; +} }), Jr = ["underlined", "outlined", "filled", "solo", "solo-inverted", "solo-filled", "plain"], no = H({ appendInnerIcon: Ce, bgColor: String, clearable: Boolean, clearIcon: { type: Ce, default: "$clear" }, active: Boolean, centerAffix: { type: Boolean, default: void 0 }, color: String, baseColor: String, dirty: Boolean, disabled: { type: Boolean, default: null }, error: Boolean, flat: Boolean, label: String, persistentClear: Boolean, prependInnerIcon: Ce, reverse: Boolean, singleLine: Boolean, variant: { type: String, default: "filled", validator: (e) => Jr.includes(e) }, "onClick:clear": at(), "onClick:appendInner": at(), "onClick:prependInner": at(), ...ye(), ...Zl(), ...ht(), ...Ne() }, "VField"), lo = te()({ name: "VField", inheritAttrs: !1, props: { id: String, ...Xa(), ...no() }, emits: { "update:focused": (e) => !0, "update:modelValue": (e) => !0 }, setup(e, n) { + let { attrs: t, emit: l, slots: o } = n; + const { themeClasses: a } = Xe(e), { loaderClasses: c } = il(e), { focusClasses: u, isFocused: s, focus: i, blur: p } = En(e), { InputIcon: y } = Ya(e), { roundedClasses: f } = bt(e), { rtlClasses: m } = On(), h = v(() => e.dirty || e.active), b = v(() => !(e.singleLine || !e.label && !o.label)), g = nt(), I = v(() => e.id || `input-${g}`), k = v(() => `${I.value}-messages`), w = D(), q = D(), P = D(), z = v(() => ["plain", "underlined"].includes(e.variant)), { backgroundColorClasses: M, backgroundColorStyles: $ } = Gt(ae(e, "bgColor")), { textColorClasses: S, textColorStyles: O } = ft(v(() => e.error || e.disabled ? void 0 : h.value && s.value ? e.color : e.baseColor)); + K(h, (V) => { if (b.value) { - const M = O.value.$el, N = G.value.$el; + const j = w.value.$el, _ = q.value.$el; requestAnimationFrame(() => { - const k = jl(M), B = N.getBoundingClientRect(), x = B.x - k.x, V = B.y - k.y - (k.height / 2 - B.height / 2), j = B.width / 0.75, L = Math.abs(j - k.width) > 1 ? { maxWidth: ae(j) } : void 0, z = getComputedStyle(M), Q = getComputedStyle(N), E = 1e3 * parseFloat(z.transitionDuration) || 150, U = parseFloat(Q.getPropertyValue("--v-field-label-scale")), W = Q.getPropertyValue("color"); - M.style.visibility = "visible", N.style.visibility = "hidden", jn(M, { transform: `translate(${x}px, ${V}px) scale(${U})`, color: W, ...L }, { duration: E, easing: Kt, direction: _ ? "normal" : "reverse" }).finished.then(() => { - M.style.removeProperty("visibility"), N.style.removeProperty("visibility"); + const A = Gl(j), B = _.getBoundingClientRect(), x = B.x - A.x, E = B.y - A.y - (A.height / 2 - B.height / 2), N = B.width / 0.75, R = Math.abs(N - A.width) > 1 ? { maxWidth: ie(N) } : void 0, L = getComputedStyle(j), Q = getComputedStyle(_), T = 1e3 * parseFloat(L.transitionDuration) || 150, G = parseFloat(Q.getPropertyValue("--v-field-label-scale")), W = Q.getPropertyValue("color"); + j.style.visibility = "visible", _.style.visibility = "hidden", Nt(j, { transform: `translate(${x}px, ${E}px) scale(${G})`, color: W, ...R }, { duration: T, easing: Kn, direction: V ? "normal" : "reverse" }).finished.then(() => { + j.style.removeProperty("visibility"), _.style.removeProperty("visibility"); }); }); } }, { flush: "post" }); - const I = v(() => ({ isActive: h, isFocused: s, controlRef: T, blur: p, focus: i })); - function F(_) { - _.target !== document.activeElement && _.preventDefault(); + const C = v(() => ({ isActive: h, isFocused: s, controlRef: P, blur: p, focus: i })); + function F(V) { + V.target !== document.activeElement && V.preventDefault(); } return se(() => { - var x, V, j; - const _ = e.variant === "outlined", M = o["prepend-inner"] || e.prependInnerIcon, N = !(!e.clearable && !o.clear), k = !!(o["append-inner"] || e.appendInnerIcon || N), B = () => o.label ? o.label({ ...I.value, label: e.label, props: { for: C.value } }) : e.label; - return d("div", Z({ class: ["v-field", { "v-field--active": h.value, "v-field--appended": k, "v-field--center-affix": e.centerAffix ?? !$.value, "v-field--disabled": e.disabled, "v-field--dirty": e.dirty, "v-field--error": e.error, "v-field--flat": e.flat, "v-field--has-background": !!e.bgColor, "v-field--persistent-clear": e.persistentClear, "v-field--prepended": M, "v-field--reverse": e.reverse, "v-field--single-line": e.singleLine, "v-field--no-label": !B(), [`v-field--variant-${e.variant}`]: !0 }, a.value, R.value, u.value, c.value, f.value, m.value, e.class], style: [P.value, e.style], onClick: F }, n), [d("div", { class: "v-field__overlay" }, null), d(Ql, { name: "v-field", active: !!e.loading, color: e.error ? "error" : typeof e.loading == "string" ? e.loading : e.color }, { default: o.loader }), M && d("div", { key: "prepend", class: "v-field__prepend-inner" }, [e.prependInnerIcon && d(y, { key: "prepend-icon", name: "prependInner" }, null), (x = o["prepend-inner"]) == null ? void 0 : x.call(o, I.value)]), d("div", { class: "v-field__field", "data-no-activator": "" }, [["filled", "solo", "solo-inverted", "solo-filled"].includes(e.variant) && b.value && d(Mt, { key: "floating-label", ref: G, class: [S.value], floating: !0, for: C.value, style: A.value }, { default: () => [B()] }), d(Mt, { ref: O, for: C.value }, { default: () => [B()] }), (V = o.default) == null ? void 0 : V.call(o, { ...I.value, props: { id: C.value, class: "v-field__input", "aria-describedby": w.value }, focus: i, blur: p })]), N && d(Sa, { key: "clear" }, { default: () => [Ue(d("div", { class: "v-field__clearable", onMousedown: (L) => { - L.preventDefault(), L.stopPropagation(); - } }, [o.clear ? o.clear() : d(y, { name: "clear" }, null)]), [[Hn, e.dirty]])] }), k && d("div", { key: "append", class: "v-field__append-inner" }, [(j = o["append-inner"]) == null ? void 0 : j.call(o, I.value), e.appendInnerIcon && d(y, { key: "append-icon", name: "appendInner" }, null)]), d("div", { class: ["v-field__outline", S.value], style: A.value }, [_ && d(Fe, null, [d("div", { class: "v-field__outline__start" }, null), b.value && d("div", { class: "v-field__outline__notch" }, [d(Mt, { ref: G, floating: !0, for: C.value }, { default: () => [B()] })]), d("div", { class: "v-field__outline__end" }, null)]), $.value && b.value && d(Mt, { ref: G, floating: !0, for: C.value }, { default: () => [B()] })])]); - }), { controlRef: T }; + var x, E, N; + const V = e.variant === "outlined", j = o["prepend-inner"] || e.prependInnerIcon, _ = !(!e.clearable && !o.clear), A = !!(o["append-inner"] || e.appendInnerIcon || _), B = () => o.label ? o.label({ ...C.value, label: e.label, props: { for: I.value } }) : e.label; + return d("div", Z({ class: ["v-field", { "v-field--active": h.value, "v-field--appended": A, "v-field--center-affix": e.centerAffix ?? !z.value, "v-field--disabled": e.disabled, "v-field--dirty": e.dirty, "v-field--error": e.error, "v-field--flat": e.flat, "v-field--has-background": !!e.bgColor, "v-field--persistent-clear": e.persistentClear, "v-field--prepended": j, "v-field--reverse": e.reverse, "v-field--single-line": e.singleLine, "v-field--no-label": !B(), [`v-field--variant-${e.variant}`]: !0 }, a.value, M.value, u.value, c.value, f.value, m.value, e.class], style: [$.value, e.style], onClick: F }, t), [d("div", { class: "v-field__overlay" }, null), d(Ql, { name: "v-field", active: !!e.loading, color: e.error ? "error" : typeof e.loading == "string" ? e.loading : e.color }, { default: o.loader }), j && d("div", { key: "prepend", class: "v-field__prepend-inner" }, [e.prependInnerIcon && d(y, { key: "prepend-icon", name: "prependInner" }, null), (x = o["prepend-inner"]) == null ? void 0 : x.call(o, C.value)]), d("div", { class: "v-field__field", "data-no-activator": "" }, [["filled", "solo", "solo-inverted", "solo-filled"].includes(e.variant) && b.value && d(Mn, { key: "floating-label", ref: q, class: [S.value], floating: !0, for: I.value, style: O.value }, { default: () => [B()] }), d(Mn, { ref: w, for: I.value }, { default: () => [B()] }), (E = o.default) == null ? void 0 : E.call(o, { ...C.value, props: { id: I.value, class: "v-field__input", "aria-describedby": k.value }, focus: i, blur: p })]), _ && d(Ra, { key: "clear" }, { default: () => [Ue(d("div", { class: "v-field__clearable", onMousedown: (R) => { + R.preventDefault(), R.stopPropagation(); + } }, [o.clear ? o.clear() : d(y, { name: "clear" }, null)]), [[Ht, e.dirty]])] }), A && d("div", { key: "append", class: "v-field__append-inner" }, [(N = o["append-inner"]) == null ? void 0 : N.call(o, C.value), e.appendInnerIcon && d(y, { key: "append-icon", name: "appendInner" }, null)]), d("div", { class: ["v-field__outline", S.value], style: O.value }, [V && d(Fe, null, [d("div", { class: "v-field__outline__start" }, null), b.value && d("div", { class: "v-field__outline__notch" }, [d(Mn, { ref: q, floating: !0, for: I.value }, { default: () => [B()] })]), d("div", { class: "v-field__outline__end" }, null)]), z.value && b.value && d(Mn, { ref: q, floating: !0, for: I.value }, { default: () => [B()] })])]); + }), { controlRef: P }; } }); -function di(e) { - return aa(e, Object.keys(to.props).filter((t) => !Bl(t) && t !== "class" && t !== "style")); -} -const ls = ["color", "file", "time", "date", "datetime-local", "week", "month"], pi = H({ autofocus: Boolean, counter: [Boolean, Number, String], counterValue: [Number, Function], prefix: String, placeholder: String, persistentPlaceholder: Boolean, persistentCounter: Boolean, suffix: String, role: String, type: { type: String, default: "text" }, modelModifiers: Object, ...Tt(), ...no() }, "VTextField"), Tl = ne()({ name: "VTextField", directives: { Intersect: Yl }, inheritAttrs: !1, props: pi(), emits: { "click:control": (e) => !0, "mousedown:control": (e) => !0, "update:focused": (e) => !0, "update:modelValue": (e) => !0 }, setup(e, t) { - let { attrs: n, emit: l, slots: o } = t; - const a = $e(e, "modelValue"), { isFocused: c, focus: u, blur: s } = Et(e), i = v(() => typeof e.counterValue == "function" ? e.counterValue(a.value) : typeof e.counterValue == "number" ? e.counterValue : (a.value ?? "").toString().length), p = v(() => n.maxlength ? n.maxlength : !e.counter || typeof e.counter != "number" && typeof e.counter != "string" ? void 0 : e.counter), y = v(() => ["plain", "underlined"].includes(e.variant)); - function f($, R) { - var P, S; - e.autofocus && $ && ((S = (P = R[0].target) == null ? void 0 : P.focus) == null || S.call(P)); - } - const m = D(), h = D(), b = D(), g = v(() => ls.includes(e.type) || e.persistentPlaceholder || c.value || e.active); - function C() { - var $; - b.value !== document.activeElement && (($ = b.value) == null || $.focus()), c.value || u(); - } - function w($) { - l("mousedown:control", $), $.target !== b.value && (C(), $.preventDefault()); - } - function O($) { - C(), l("click:control", $); - } - function G($) { - $.stopPropagation(), C(), Me(() => { - a.value = null, sa(e["onClick:clear"], $); +function vi(e) { + return ra(e, Object.keys(lo.props).filter((n) => !Bl(n) && n !== "class" && n !== "style")); +} +const Zr = ["color", "file", "time", "date", "datetime-local", "week", "month"], fi = H({ autofocus: Boolean, counter: [Boolean, Number, String], counterValue: [Number, Function], prefix: String, placeholder: String, persistentPlaceholder: Boolean, persistentCounter: Boolean, suffix: String, role: String, type: { type: String, default: "text" }, modelModifiers: Object, ...Tn(), ...no() }, "VTextField"), Tl = te()({ name: "VTextField", directives: { Intersect: eo }, inheritAttrs: !1, props: fi(), emits: { "click:control": (e) => !0, "mousedown:control": (e) => !0, "update:focused": (e) => !0, "update:modelValue": (e) => !0 }, setup(e, n) { + let { attrs: t, emit: l, slots: o } = n; + const a = $e(e, "modelValue"), { isFocused: c, focus: u, blur: s } = En(e), i = v(() => typeof e.counterValue == "function" ? e.counterValue(a.value) : typeof e.counterValue == "number" ? e.counterValue : (a.value ?? "").toString().length), p = v(() => t.maxlength ? t.maxlength : !e.counter || typeof e.counter != "number" && typeof e.counter != "string" ? void 0 : e.counter), y = v(() => ["plain", "underlined"].includes(e.variant)); + function f(z, M) { + var $, S; + e.autofocus && z && ((S = ($ = M[0].target) == null ? void 0 : $.focus) == null || S.call($)); + } + const m = D(), h = D(), b = D(), g = v(() => Zr.includes(e.type) || e.persistentPlaceholder || c.value || e.active); + function I() { + var z; + b.value !== document.activeElement && ((z = b.value) == null || z.focus()), c.value || u(); + } + function k(z) { + l("mousedown:control", z), z.target !== b.value && (I(), z.preventDefault()); + } + function w(z) { + I(), l("click:control", z); + } + function q(z) { + z.stopPropagation(), I(), Me(() => { + a.value = null, ca(e["onClick:clear"], z); }); } - function T($) { - var P; - const R = $.target; - if (a.value = R.value, ((P = e.modelModifiers) == null ? void 0 : P.trim) && ["text", "search", "password", "tel", "url"].includes(e.type)) { - const S = [R.selectionStart, R.selectionEnd]; + function P(z) { + var $; + const M = z.target; + if (a.value = M.value, (($ = e.modelModifiers) == null ? void 0 : $.trim) && ["text", "search", "password", "tel", "url"].includes(e.type)) { + const S = [M.selectionStart, M.selectionEnd]; Me(() => { - R.selectionStart = S[0], R.selectionEnd = S[1]; + M.selectionStart = S[0], M.selectionEnd = S[1]; }); } } return se(() => { - const $ = !!(o.counter || e.counter !== !1 && e.counter != null), R = !(!$ && !o.details), [P, S] = kt(n), { modelValue: A, ...I } = Bn.filterProps(e), F = di(e); - return d(Bn, Z({ ref: m, modelValue: a.value, "onUpdate:modelValue": (_) => a.value = _, class: ["v-text-field", { "v-text-field--prefixed": e.prefix, "v-text-field--suffixed": e.suffix, "v-input--plain-underlined": y.value }, e.class], style: e.style }, P, I, { centerAffix: !y.value, focused: c.value }), { ...o, default: (_) => { - let { id: M, isDisabled: N, isDirty: k, isReadonly: B, isValid: x } = _; - return d(to, Z({ ref: h, onMousedown: w, onClick: O, "onClick:clear": G, "onClick:prependInner": e["onClick:prependInner"], "onClick:appendInner": e["onClick:appendInner"], role: e.role }, F, { id: M.value, active: g.value || k.value, dirty: k.value || e.dirty, disabled: N.value, focused: c.value, error: x.value === !1 }), { ...o, default: (V) => { - let { props: { class: j, ...L } } = V; - const z = Ue(d("input", Z({ ref: b, value: a.value, onInput: T, autofocus: e.autofocus, readonly: B.value, disabled: N.value, name: e.name, placeholder: e.placeholder, size: 1, type: e.type, onFocus: C, onBlur: s }, L, S), null), [[gn("intersect"), { handler: f }, null, { once: !0 }]]); - return d(Fe, null, [e.prefix && d("span", { class: "v-text-field__prefix" }, [d("span", { class: "v-text-field__prefix__text" }, [e.prefix])]), o.default ? d("div", { class: j, "data-no-activator": "" }, [o.default(), z]) : Vi(z, { class: j }), e.suffix && d("span", { class: "v-text-field__suffix" }, [d("span", { class: "v-text-field__suffix__text" }, [e.suffix])])]); + const z = !!(o.counter || e.counter !== !1 && e.counter != null), M = !(!z && !o.details), [$, S] = kn(t), { modelValue: O, ...C } = St.filterProps(e), F = vi(e); + return d(St, Z({ ref: m, modelValue: a.value, "onUpdate:modelValue": (V) => a.value = V, class: ["v-text-field", { "v-text-field--prefixed": e.prefix, "v-text-field--suffixed": e.suffix, "v-input--plain-underlined": y.value }, e.class], style: e.style }, $, C, { centerAffix: !y.value, focused: c.value }), { ...o, default: (V) => { + let { id: j, isDisabled: _, isDirty: A, isReadonly: B, isValid: x } = V; + return d(lo, Z({ ref: h, onMousedown: k, onClick: w, "onClick:clear": q, "onClick:prependInner": e["onClick:prependInner"], "onClick:appendInner": e["onClick:appendInner"], role: e.role }, F, { id: j.value, active: g.value || A.value, dirty: A.value || e.dirty, disabled: _.value, focused: c.value, error: x.value === !1 }), { ...o, default: (E) => { + let { props: { class: N, ...R } } = E; + const L = Ue(d("input", Z({ ref: b, value: a.value, onInput: P, autofocus: e.autofocus, readonly: B.value, disabled: _.value, name: e.name, placeholder: e.placeholder, size: 1, type: e.type, onFocus: I, onBlur: s }, R, S), null), [[mt("intersect"), { handler: f }, null, { once: !0 }]]); + return d(Fe, null, [e.prefix && d("span", { class: "v-text-field__prefix" }, [d("span", { class: "v-text-field__prefix__text" }, [e.prefix])]), o.default ? d("div", { class: N, "data-no-activator": "" }, [o.default(), L]) : Bi(L, { class: N }), e.suffix && d("span", { class: "v-text-field__suffix" }, [d("span", { class: "v-text-field__suffix__text" }, [e.suffix])])]); } }); - }, details: R ? (_) => { - var M; - return d(Fe, null, [(M = o.details) == null ? void 0 : M.call(o, _), $ && d(Fe, null, [d("span", null, null), d(ci, { active: e.persistentCounter || c.value, value: i.value, max: p.value }, o.counter)])]); + }, details: M ? (V) => { + var j; + return d(Fe, null, [(j = o.details) == null ? void 0 : j.call(o, V), z && d(Fe, null, [d("span", null, null), d(pi, { active: e.persistentCounter || c.value, value: i.value, max: p.value }, o.counter)])]); } : void 0 }); - }), sl({}, m, h, b); -} }), os = H({ renderless: Boolean, ...ye() }, "VVirtualScrollItem"), as = ne()({ name: "VVirtualScrollItem", inheritAttrs: !1, props: os(), emits: { "update:height": (e) => !0 }, setup(e, t) { - let { attrs: n, emit: l, slots: o } = t; - const { resizeRef: a, contentRect: c } = ql(void 0, "border"); + }), ul({}, m, h, b); +} }), Qr = H({ renderless: Boolean, ...ye() }, "VVirtualScrollItem"), es = te()({ name: "VVirtualScrollItem", inheritAttrs: !1, props: Qr(), emits: { "update:height": (e) => !0 }, setup(e, n) { + let { attrs: t, emit: l, slots: o } = n; + const { resizeRef: a, contentRect: c } = Yl(void 0, "border"); K(() => { var u; return (u = c.value) == null ? void 0 : u.height; @@ -2644,151 +2677,148 @@ const ls = ["color", "file", "time", "date", "datetime-local", "week", "month"], u != null && l("update:height", u); }), se(() => { var u, s; - return e.renderless ? d(Fe, null, [(u = o.default) == null ? void 0 : u.call(o, { itemRef: a })]) : d("div", Z({ ref: a, class: ["v-virtual-scroll__item", e.class], style: e.style }, n), [(s = o.default) == null ? void 0 : s.call(o)]); + return e.renderless ? d(Fe, null, [(u = o.default) == null ? void 0 : u.call(o, { itemRef: a })]) : d("div", Z({ ref: a, class: ["v-virtual-scroll__item", e.class], style: e.style }, t), [(s = o.default) == null ? void 0 : s.call(o)]); }); -} }), is = H({ itemHeight: { type: [Number, String], default: null }, height: [Number, String] }, "virtual"); -function rs(e, t) { - const n = ii(), l = de(0); - rn(() => { +} }), ts = H({ itemHeight: { type: [Number, String], default: null }, height: [Number, String] }, "virtual"); +function ns(e, n) { + const t = si(), l = de(0); + it(() => { l.value = parseFloat(e.itemHeight || 0); }); - const o = de(0), a = de(Math.ceil((parseInt(e.height) || n.height.value) / (l.value || 16)) || 1), c = de(0), u = de(0), s = D(), i = D(); + const o = de(0), a = de(Math.ceil((parseInt(e.height) || t.height.value) / (l.value || 16)) || 1), c = de(0), u = de(0), s = D(), i = D(); let p = 0; - const { resizeRef: y, contentRect: f } = ql(); - rn(() => { + const { resizeRef: y, contentRect: f } = Yl(); + it(() => { y.value = s.value; }); const m = v(() => { - var k; - return s.value === document.documentElement ? n.height.value : ((k = f.value) == null ? void 0 : k.height) || parseInt(e.height) || 0; + var _; + return s.value === document.documentElement ? t.height.value : ((_ = f.value) == null ? void 0 : _.height) || parseInt(e.height) || 0; }), h = v(() => !!(s.value && i.value && m.value && l.value)); - let b = Array.from({ length: t.value.length }), g = Array.from({ length: t.value.length }); - const C = de(0); - let w = -1; - function O(k) { - return b[k] || l.value; - } - const G = function(k, B) { - let x = 0; - const V = function() { - for (var j = arguments.length, L = new Array(j), z = 0; z < j; z++) - L[z] = arguments[z]; - clearTimeout(x), x = setTimeout(() => k(...L), r(B)); + let b = Array.from({ length: n.value.length }), g = Array.from({ length: n.value.length }); + const I = de(0); + let k = -1; + const w = function(_, A) { + let B = 0; + const x = function() { + for (var E = arguments.length, N = new Array(E), R = 0; R < E; R++) + N[R] = arguments[R]; + clearTimeout(B), B = setTimeout(() => _(...N), r(A)); }; - return V.clear = () => { - clearTimeout(x); - }, V.immediate = k, V; + return x.clear = () => { + clearTimeout(B); + }, x.immediate = _, x; }(() => { - const k = performance.now(); + const _ = performance.now(); g[0] = 0; - const B = t.value.length; - for (let x = 1; x <= B - 1; x++) - g[x] = (g[x - 1] || 0) + O(x - 1); - C.value = Math.max(C.value, performance.now() - k); - }, C), T = K(h, (k) => { - k && (T(), p = i.value.offsetTop, G.immediate(), F(), ~w && Me(() => { + const A = n.value.length; + for (let B = 1; B <= A - 1; B++) + g[B] = (g[B - 1] || 0) + (b[B - 1] || l.value); + I.value = Math.max(I.value, performance.now() - _); + }, I), q = K(h, (_) => { + _ && (q(), p = i.value.offsetTop, w.immediate(), C(), ~k && Me(() => { Ke && window.requestAnimationFrame(() => { - M(w), w = -1; + V(k), k = -1; }); })); }); - function $(k) { - return k = Gn(k, 0, t.value.length - 1), g[k] || 0; - } - function R(k) { - return function(B, x) { - let V = B.length - 1, j = 0, L = 0, z = null, Q = -1; - if (B[V] < x) - return V; - for (; j <= V; ) - if (L = j + V >> 1, z = B[L], z > x) - V = L - 1; + function P(_) { + return _ = jt(_, 0, n.value.length - 1), g[_] || 0; + } + function z(_) { + return function(A, B) { + let x = A.length - 1, E = 0, N = 0, R = null, L = -1; + if (A[x] < B) + return x; + for (; E <= x; ) + if (N = E + x >> 1, R = A[N], R > B) + x = N - 1; else { - if (!(z < x)) - return z === x ? L : j; - Q = L, j = L + 1; + if (!(R < B)) + return R === B ? N : E; + L = N, E = N + 1; } - return Q; - }(g, k); + return L; + }(g, _); } - K(m, (k, B) => { - B && F(); + K(m, (_, A) => { + A && C(); }), He(() => { - G.clear(); + w.clear(); }); - let P = 0, S = 0, A = 0, I = -1; - function F() { - cancelAnimationFrame(I), I = requestAnimationFrame(_); + let M = 0, $ = 0, S = 0, O = -1; + function C() { + cancelAnimationFrame(O), O = requestAnimationFrame(F); } - function _() { + function F() { if (!s.value || !m.value) return; - const k = P - p, B = Math.sign(S), x = Gn(R(Math.max(0, k - 100)), 0, t.value.length), V = Gn(R(k + m.value + 100) + 1, x + 1, t.value.length); - if ((B !== -1 || x < o.value) && (B !== 1 || V > a.value)) { - const j = $(o.value) - $(x), L = $(V) - $(a.value); - Math.max(j, L) > 100 ? (o.value = x, a.value = V) : (x <= 0 && (o.value = x), V >= t.value.length && (a.value = V)); + const _ = M - p, A = Math.sign($), B = jt(z(Math.max(0, _ - 100)), 0, n.value.length), x = jt(z(_ + m.value + 100) + 1, B + 1, n.value.length); + if ((A !== -1 || B < o.value) && (A !== 1 || x > a.value)) { + const E = P(o.value) - P(B), N = P(x) - P(a.value); + Math.max(E, N) > 100 ? (o.value = B, a.value = x) : (B <= 0 && (o.value = B), x >= n.value.length && (a.value = x)); } - c.value = $(o.value), u.value = $(t.value.length) - $(a.value); + c.value = P(o.value), u.value = P(n.value.length) - P(a.value); } - function M(k) { - const B = $(k); - !s.value || k && !B ? w = k : s.value.scrollTop = B; + function V(_) { + const A = P(_); + !s.value || _ && !A ? k = _ : s.value.scrollTop = A; } - const N = v(() => t.value.slice(o.value, a.value).map((k, B) => ({ raw: k, index: B + o.value }))); - return K(t, () => { - b = Array.from({ length: t.value.length }), g = Array.from({ length: t.value.length }), G.immediate(), F(); - }, { deep: !0 }), { containerRef: s, markerRef: i, computedItems: N, paddingTop: c, paddingBottom: u, scrollToIndex: M, handleScroll: function() { + const j = v(() => n.value.slice(o.value, a.value).map((_, A) => ({ raw: _, index: A + o.value }))); + return K(n, () => { + b = Array.from({ length: n.value.length }), g = Array.from({ length: n.value.length }), w.immediate(), C(); + }, { deep: !0 }), { containerRef: s, markerRef: i, computedItems: j, paddingTop: c, paddingBottom: u, scrollToIndex: V, handleScroll: function() { if (!s.value || !i.value) return; - const k = s.value.scrollTop, B = performance.now(); - B - A > 500 ? (S = Math.sign(k - P), p = i.value.offsetTop) : S = k - P, P = k, A = B, F(); + const _ = s.value.scrollTop, A = performance.now(); + A - S > 500 ? ($ = Math.sign(_ - M), p = i.value.offsetTop) : $ = _ - M, M = _, S = A, C(); }, handleScrollend: function() { - s.value && i.value && (S = 0, A = 0, F()); - }, handleItemResize: function(k, B) { - const x = b[k], V = l.value; - l.value = V ? Math.min(l.value, B) : B, x === B && V === l.value || (b[k] = B, G()); + s.value && i.value && ($ = 0, S = 0, C()); + }, handleItemResize: function(_, A) { + const B = b[_], x = l.value; + l.value = x ? Math.min(l.value, A) : A, B === A && x === l.value || (b[_] = A, w()); } }; } -const ss = H({ items: { type: Array, default: () => [] }, renderless: Boolean, ...is(), ...ye(), ...Dn() }, "VVirtualScroll"), us = ne()({ name: "VVirtualScroll", props: ss(), setup(e, t) { - let { slots: n } = t; - const l = Le("VVirtualScroll"), { dimensionStyles: o } = Ln(e), { containerRef: a, markerRef: c, handleScroll: u, handleScrollend: s, handleItemResize: i, scrollToIndex: p, paddingTop: y, paddingBottom: f, computedItems: m } = rs(e, oe(e, "items")); - return Vn(() => e.renderless, () => { +const ls = H({ items: { type: Array, default: () => [] }, renderless: Boolean, ...ts(), ...ye(), ...zt() }, "VVirtualScroll"), os = te()({ name: "VVirtualScroll", props: ls(), setup(e, n) { + let { slots: t } = n; + const l = Le("VVirtualScroll"), { dimensionStyles: o } = Dt(e), { containerRef: a, markerRef: c, handleScroll: u, handleScrollend: s, handleItemResize: i, scrollToIndex: p, paddingTop: y, paddingBottom: f, computedItems: m } = ns(e, ae(e, "items")); + return Ft(() => e.renderless, () => { function h() { - var g, C; + var g, I; const b = arguments.length > 0 && arguments[0] !== void 0 && arguments[0] ? "addEventListener" : "removeEventListener"; - a.value === document.documentElement ? (document[b]("scroll", u, { passive: !0 }), document[b]("scrollend", s)) : ((g = a.value) == null || g[b]("scroll", u, { passive: !0 }), (C = a.value) == null || C[b]("scrollend", s)); + a.value === document.documentElement ? (document[b]("scroll", u, { passive: !0 }), document[b]("scrollend", s)) : ((g = a.value) == null || g[b]("scroll", u, { passive: !0 }), (I = a.value) == null || I[b]("scrollend", s)); } - Yn(() => { - a.value = ma(l.vnode.el, !0), h(!0); + qt(() => { + a.value = ha(l.vnode.el, !0), h(!0); }), He(h); }), se(() => { - const h = m.value.map((b) => d(as, { key: b.index, renderless: e.renderless, "onUpdate:height": (g) => i(b.index, g) }, { default: (g) => { - var C; - return (C = n.default) == null ? void 0 : C.call(n, { item: b.raw, index: b.index, ...g }); + const h = m.value.map((b) => d(es, { key: b.index, renderless: e.renderless, "onUpdate:height": (g) => i(b.index, g) }, { default: (g) => { + var I; + return (I = t.default) == null ? void 0 : I.call(t, { item: b.raw, index: b.index, ...g }); } })); - return e.renderless ? d(Fe, null, [d("div", { ref: c, class: "v-virtual-scroll__spacer", style: { paddingTop: ae(y.value) } }, null), h, d("div", { class: "v-virtual-scroll__spacer", style: { paddingBottom: ae(f.value) } }, null)]) : d("div", { ref: a, class: ["v-virtual-scroll", e.class], onScrollPassive: u, onScrollend: s, style: [o.value, e.style] }, [d("div", { ref: c, class: "v-virtual-scroll__container", style: { paddingTop: ae(y.value), paddingBottom: ae(f.value) } }, [h])]); + return e.renderless ? d(Fe, null, [d("div", { ref: c, class: "v-virtual-scroll__spacer", style: { paddingTop: ie(y.value) } }, null), h, d("div", { class: "v-virtual-scroll__spacer", style: { paddingBottom: ie(f.value) } }, null)]) : d("div", { ref: a, class: ["v-virtual-scroll", e.class], onScrollPassive: u, onScrollend: s, style: [o.value, e.style] }, [d("div", { ref: c, class: "v-virtual-scroll__container", style: { paddingTop: ie(y.value), paddingBottom: ie(f.value) } }, [h])]); }), { scrollToIndex: p }; } }); -function cs(e, t) { - const n = de(!1); +function as(e, n) { + const t = de(!1); let l; return { onListScroll: function(o) { - cancelAnimationFrame(l), n.value = !0, l = requestAnimationFrame(() => { + cancelAnimationFrame(l), t.value = !0, l = requestAnimationFrame(() => { l = requestAnimationFrame(() => { - n.value = !1; + t.value = !1; }); }); }, onListKeydown: async function(o) { var u, s; - if (o.key === "Tab" && ((u = t.value) == null || u.focus()), !["PageDown", "PageUp", "Home", "End"].includes(o.key)) + if (o.key === "Tab" && ((u = n.value) == null || u.focus()), !["PageDown", "PageUp", "Home", "End"].includes(o.key)) return; const a = (s = e.value) == null ? void 0 : s.$el; if (!a) return; o.key !== "Home" && o.key !== "End" || a.scrollTo({ top: o.key === "Home" ? 0 : a.scrollHeight, behavior: "smooth" }), await async function() { await new Promise((i) => requestAnimationFrame(i)), await new Promise((i) => requestAnimationFrame(i)), await new Promise((i) => requestAnimationFrame(i)), await new Promise((i) => { - if (n.value) { - const p = K(n, () => { + if (t.value) { + const p = K(t, () => { p(), i(); }); } else @@ -2813,311 +2843,322 @@ function cs(e, t) { } } }; } -const ds = H({ chips: Boolean, closableChips: Boolean, closeText: { type: String, default: "$vuetify.close" }, openText: { type: String, default: "$vuetify.open" }, eager: Boolean, hideNoData: Boolean, hideSelected: Boolean, menu: Boolean, menuIcon: { type: Ce, default: "$dropdown" }, menuProps: { type: Object }, multiple: Boolean, noDataText: { type: String, default: "$vuetify.noDataText" }, openOnClear: Boolean, itemColor: String, ...ti({ itemChildren: !1 }) }, "Select"), ps = H({ ...ds(), ...zn(pi({ modelValue: null, role: "button" }), ["validationValue", "dirty", "appendInnerIcon"]), ...Vt({ transition: { component: Ca } }) }, "VSelect"), vs = ne()({ name: "VSelect", props: ps(), emits: { "update:focused": (e) => !0, "update:modelValue": (e) => !0, "update:menu": (e) => !0 }, setup(e, t) { - let { slots: n } = t; - const { t: l } = Hl(), o = D(), a = D(), c = D(), u = $e(e, "menu"), s = v({ get: () => u.value, set: (B) => { +const is = H({ chips: Boolean, closableChips: Boolean, closeText: { type: String, default: "$vuetify.close" }, openText: { type: String, default: "$vuetify.open" }, eager: Boolean, hideNoData: Boolean, hideSelected: Boolean, menu: Boolean, menuIcon: { type: Ce, default: "$dropdown" }, menuProps: { type: Object }, multiple: Boolean, noDataText: { type: String, default: "$vuetify.noDataText" }, openOnClear: Boolean, itemColor: String, ...oi({ itemChildren: !1 }) }, "Select"), rs = H({ ...is(), ...Tt(fi({ modelValue: null, role: "button" }), ["validationValue", "dirty", "appendInnerIcon"]), ...$n({ transition: { component: Wa } }) }, "VSelect"), ss = te()({ name: "VSelect", props: rs(), emits: { "update:focused": (e) => !0, "update:modelValue": (e) => !0, "update:menu": (e) => !0 }, setup(e, n) { + let { slots: t } = n; + const { t: l } = Xl(), o = D(), a = D(), c = D(), u = $e(e, "menu"), s = v({ get: () => u.value, set: (B) => { var x; u.value && !B && ((x = a.value) != null && x.ΨopenChildren) || (u.value = B); } }), { items: i, transformIn: p, transformOut: y } = function(B) { - const x = v(() => li(B, B.items)), V = v(() => x.value.some((j) => j.value === null)); - return { items: x, transformIn: function(j) { - return V.value || (j = j.filter((L) => L !== null)), j.map((L) => B.returnObject && typeof L == "string" ? Ol(B, L) : x.value.find((z) => B.valueComparator(L, z.value)) || Ol(B, L)); - }, transformOut: function(j) { - return B.returnObject ? j.map((L) => { - let { raw: z } = L; - return z; - }) : j.map((L) => { - let { value: z } = L; - return z; + const x = v(() => ai(B, B.items)), E = v(() => x.value.some((N) => N.value === null)); + return { items: x, transformIn: function(N) { + return E.value || (N = N.filter((R) => R !== null)), N.map((R) => B.returnObject && typeof R == "string" ? Ol(B, R) : x.value.find((L) => B.valueComparator(R, L.value)) || Ol(B, R)); + }, transformOut: function(N) { + return B.returnObject ? N.map((R) => { + let { raw: L } = R; + return L; + }) : N.map((R) => { + let { value: L } = R; + return L; }); } }; - }(e), f = $e(e, "modelValue", [], (B) => p(B === null ? [null] : pn(B)), (B) => { + }(e), f = $e(e, "modelValue", [], (B) => p(B === null ? [null] : dt(B)), (B) => { const x = y(B); return e.multiple ? x : x[0] ?? null; - }), m = v(() => typeof e.counterValue == "function" ? e.counterValue(f.value) : typeof e.counterValue == "number" ? e.counterValue : f.value.length), h = Ya(), b = v(() => f.value.map((B) => B.value)), g = de(!1), C = v(() => s.value ? e.closeText : e.openText); - let w, O = ""; - const G = v(() => e.hideSelected ? i.value.filter((B) => !f.value.some((x) => x === B)) : i.value), T = v(() => e.hideNoData && !i.value.length || e.readonly || (h == null ? void 0 : h.isReadonly.value)), $ = D(), { onListScroll: R, onListKeydown: P } = cs($, o); + }), m = v(() => typeof e.counterValue == "function" ? e.counterValue(f.value) : typeof e.counterValue == "number" ? e.counterValue : f.value.length), h = Ka(), b = v(() => f.value.map((B) => B.value)), g = de(!1), I = v(() => s.value ? e.closeText : e.openText); + let k, w = ""; + const q = v(() => e.hideSelected ? i.value.filter((B) => !f.value.some((x) => x === B)) : i.value), P = v(() => e.hideNoData && !i.value.length || e.readonly || (h == null ? void 0 : h.isReadonly.value)), z = D(), { onListScroll: M, onListKeydown: $ } = as(z, o); function S(B) { e.openOnClear && (s.value = !0); } - function A() { - T.value || (s.value = !s.value); + function O() { + P.value || (s.value = !s.value); } - function I(B) { - var j, L; - if (!B.key || e.readonly || h != null && h.isReadonly.value || (["Enter", " ", "ArrowDown", "ArrowUp", "Home", "End"].includes(B.key) && B.preventDefault(), ["Enter", "ArrowDown", " "].includes(B.key) && (s.value = !0), ["Escape", "Tab"].includes(B.key) && (s.value = !1), B.key === "Home" ? (j = $.value) == null || j.focus("first") : B.key === "End" && ((L = $.value) == null || L.focus("last")), e.multiple || !function(z) { - const Q = z.key.length === 1, E = !z.ctrlKey && !z.metaKey && !z.altKey; - return Q && E; + function C(B) { + var N, R; + if (!B.key || e.readonly || h != null && h.isReadonly.value || (["Enter", " ", "ArrowDown", "ArrowUp", "Home", "End"].includes(B.key) && B.preventDefault(), ["Enter", "ArrowDown", " "].includes(B.key) && (s.value = !0), ["Escape", "Tab"].includes(B.key) && (s.value = !1), B.key === "Home" ? (N = z.value) == null || N.focus("first") : B.key === "End" && ((R = z.value) == null || R.focus("last")), e.multiple || !function(L) { + const Q = L.key.length === 1, T = !L.ctrlKey && !L.metaKey && !L.altKey; + return Q && T; }(B))) return; const x = performance.now(); - x - w > 1e3 && (O = ""), O += B.key.toLowerCase(), w = x; - const V = i.value.find((z) => z.title.toLowerCase().startsWith(O)); - V !== void 0 && (f.value = [V]); + x - k > 1e3 && (w = ""), w += B.key.toLowerCase(), k = x; + const E = i.value.find((L) => L.title.toLowerCase().startsWith(w)); + E !== void 0 && (f.value = [E]); } function F(B) { if (e.multiple) { - const x = f.value.findIndex((V) => e.valueComparator(V.value, B.value)); + const x = f.value.findIndex((E) => e.valueComparator(E.value, B.value)); if (x === -1) f.value = [...f.value, B]; else { - const V = [...f.value]; - V.splice(x, 1), f.value = V; + const E = [...f.value]; + E.splice(x, 1), f.value = E; } } else f.value = [B], s.value = !1; } - function _(B) { + function V(B) { var x; - (x = $.value) != null && x.$el.contains(B.relatedTarget) || (s.value = !1); + (x = z.value) != null && x.$el.contains(B.relatedTarget) || (s.value = !1); } - function M() { + function j() { var B; g.value && ((B = o.value) == null || B.focus()); } - function N(B) { + function _(B) { g.value = !0; } - function k(B) { + function A(B) { if (B == null) f.value = []; - else if (Yt(o.value, ":autofill") || Yt(o.value, ":-webkit-autofill")) { - const x = i.value.find((V) => V.title === B); + else if (Yn(o.value, ":autofill") || Yn(o.value, ":-webkit-autofill")) { + const x = i.value.find((E) => E.title === B); x && F(x); } else o.value && (o.value.value = ""); } return K(s, () => { if (!e.hideSelected && s.value && f.value.length) { - const B = G.value.findIndex((x) => f.value.some((V) => e.valueComparator(V.value, x.value))); + const B = q.value.findIndex((x) => f.value.some((E) => e.valueComparator(E.value, x.value))); Ke && window.requestAnimationFrame(() => { var x; B >= 0 && ((x = c.value) == null || x.scrollToIndex(B)); }); } }), se(() => { - const B = !(!e.chips && !n.chip), x = !!(!e.hideNoData || G.value.length || n["prepend-item"] || n["append-item"] || n["no-data"]), V = f.value.length > 0, j = Tl.filterProps(e), L = V || !g.value && e.label && !e.persistentPlaceholder ? void 0 : e.placeholder; - return d(Tl, Z({ ref: o }, j, { modelValue: f.value.map((z) => z.props.value).join(", "), "onUpdate:modelValue": k, focused: g.value, "onUpdate:focused": (z) => g.value = z, validationValue: f.externalValue, counterValue: m.value, dirty: V, class: ["v-select", { "v-select--active-menu": s.value, "v-select--chips": !!e.chips, ["v-select--" + (e.multiple ? "multiple" : "single")]: !0, "v-select--selected": f.value.length, "v-select--selection-slot": !!n.selection }, e.class], style: e.style, inputmode: "none", placeholder: L, "onClick:clear": S, "onMousedown:control": A, onBlur: _, onKeydown: I, "aria-label": l(C.value), title: l(C.value) }), { ...n, default: () => d(Fe, null, [d(Qr, Z({ ref: a, modelValue: s.value, "onUpdate:modelValue": (z) => s.value = z, activator: "parent", contentClass: "v-select__content", disabled: T.value, eager: e.eager, maxHeight: 310, openOnClick: !1, closeOnContentClick: !1, transition: e.transition, onAfterLeave: M }, e.menuProps), { default: () => [x && d(Rr, { ref: $, selected: b.value, selectStrategy: e.multiple ? "independent" : "single-independent", onMousedown: (z) => z.preventDefault(), onKeydown: P, onFocusin: N, onScrollPassive: R, tabindex: "-1", color: e.itemColor ?? e.color }, { default: () => { - var z, Q, E; - return [(z = n["prepend-item"]) == null ? void 0 : z.call(n), !G.value.length && !e.hideNoData && (((Q = n["no-data"]) == null ? void 0 : Q.call(n)) ?? d(nl, { title: l(e.noDataText) }, null)), d(us, { ref: c, renderless: !0, items: G.value }, { default: (U) => { + const B = !(!e.chips && !t.chip), x = !!(!e.hideNoData || q.value.length || t["prepend-item"] || t["append-item"] || t["no-data"]), E = f.value.length > 0, N = Tl.filterProps(e), R = E || !g.value && e.label && !e.persistentPlaceholder ? void 0 : e.placeholder; + return d(Tl, Z({ ref: o }, N, { modelValue: f.value.map((L) => L.props.value).join(", "), "onUpdate:modelValue": A, focused: g.value, "onUpdate:focused": (L) => g.value = L, validationValue: f.externalValue, counterValue: m.value, dirty: E, class: ["v-select", { "v-select--active-menu": s.value, "v-select--chips": !!e.chips, ["v-select--" + (e.multiple ? "multiple" : "single")]: !0, "v-select--selected": f.value.length, "v-select--selection-slot": !!t.selection }, e.class], style: e.style, inputmode: "none", placeholder: R, "onClick:clear": S, "onMousedown:control": O, onBlur: V, onKeydown: C, "aria-label": l(I.value), title: l(I.value) }), { ...t, default: () => d(Fe, null, [d(Yr, Z({ ref: a, modelValue: s.value, "onUpdate:modelValue": (L) => s.value = L, activator: "parent", contentClass: "v-select__content", disabled: P.value, eager: e.eager, maxHeight: 310, openOnClick: !1, closeOnContentClick: !1, transition: e.transition, onAfterLeave: j }, e.menuProps), { default: () => [x && d(zr, { ref: z, selected: b.value, selectStrategy: e.multiple ? "independent" : "single-independent", onMousedown: (L) => L.preventDefault(), onKeydown: $, onFocusin: _, onScrollPassive: M, tabindex: "-1", color: e.itemColor ?? e.color }, { default: () => { + var L, Q, T; + return [(L = t["prepend-item"]) == null ? void 0 : L.call(t), !q.value.length && !e.hideNoData && (((Q = t["no-data"]) == null ? void 0 : Q.call(t)) ?? d(tl, { title: l(e.noDataText) }, null)), d(os, { ref: c, renderless: !0, items: q.value }, { default: (G) => { var pe; - let { item: W, index: q, itemRef: Y } = U; - const ee = Z(W.props, { ref: Y, key: q, onClick: () => F(W) }); - return ((pe = n.item) == null ? void 0 : pe.call(n, { item: W, index: q, props: ee })) ?? d(nl, Z(ee, { role: "option" }), { prepend: (be) => { + let { item: W, index: U, itemRef: Y } = G; + const ee = Z(W.props, { ref: Y, key: U, onClick: () => F(W) }); + return ((pe = t.item) == null ? void 0 : pe.call(t, { item: W, index: U, props: ee })) ?? d(tl, Z(ee, { role: "option" }), { prepend: (be) => { let { isSelected: ge } = be; - return d(Fe, null, [e.multiple && !e.hideSelected ? d(Vl, { key: W.value, modelValue: ge, ripple: !1, tabindex: "-1" }, null) : void 0, W.props.prependIcon && d(Se, { icon: W.props.prependIcon }, null)]); + return d(Fe, null, [e.multiple && !e.hideSelected ? d(Al, { key: W.value, modelValue: ge, ripple: !1, tabindex: "-1" }, null) : void 0, W.props.prependIcon && d(Se, { icon: W.props.prependIcon }, null)]); } }); - } }), (E = n["append-item"]) == null ? void 0 : E.call(n)]; - } })] }), f.value.map((z, Q) => { - const E = { "onClick:close": function(q) { - q.stopPropagation(), q.preventDefault(), F(z); - }, onMousedown(q) { - q.preventDefault(), q.stopPropagation(); - }, modelValue: !0, "onUpdate:modelValue": void 0 }, U = B ? !!n.chip : !!n.selection, W = U ? ca(B ? n.chip({ item: z, index: Q, props: E }) : n.selection({ item: z, index: Q })) : void 0; - if (!U || W) - return d("div", { key: z.value, class: "v-select__selection" }, [B ? n.chip ? d(je, { key: "chip-defaults", defaults: { VChip: { closable: e.closableChips, size: "small", text: z.title } } }, { default: () => [W] }) : d(xr, Z({ key: "chip", closable: e.closableChips, size: "small", text: z.title, disabled: z.props.disabled }, E), null) : W ?? d("span", { class: "v-select__selection-text" }, [z.title, e.multiple && Q < f.value.length - 1 && d("span", { class: "v-select__selection-comma" }, [ta(",")])])]); + } }), (T = t["append-item"]) == null ? void 0 : T.call(t)]; + } })] }), f.value.map((L, Q) => { + const T = { "onClick:close": function(U) { + U.stopPropagation(), U.preventDefault(), F(L); + }, onMousedown(U) { + U.preventDefault(), U.stopPropagation(); + }, modelValue: !0, "onUpdate:modelValue": void 0 }, G = B ? !!t.chip : !!t.selection, W = G ? pa(B ? t.chip({ item: L, index: Q, props: T }) : t.selection({ item: L, index: Q })) : void 0; + if (!G || W) + return d("div", { key: L.value, class: "v-select__selection" }, [B ? t.chip ? d(je, { key: "chip-defaults", defaults: { VChip: { closable: e.closableChips, size: "small", text: L.title } } }, { default: () => [W] }) : d(br, Z({ key: "chip", closable: e.closableChips, size: "small", text: L.title, disabled: L.props.disabled }, T), null) : W ?? d("span", { class: "v-select__selection-text" }, [L.title, e.multiple && Q < f.value.length - 1 && d("span", { class: "v-select__selection-comma" }, [la(",")])])]); })]), "append-inner": function() { - var U; - for (var z = arguments.length, Q = new Array(z), E = 0; E < z; E++) - Q[E] = arguments[E]; - return d(Fe, null, [(U = n["append-inner"]) == null ? void 0 : U.call(n, ...Q), e.menuIcon ? d(Se, { class: "v-select__menu-icon", icon: e.menuIcon }, null) : void 0]); + var G; + for (var L = arguments.length, Q = new Array(L), T = 0; T < L; T++) + Q[T] = arguments[T]; + return d(Fe, null, [(G = t["append-inner"]) == null ? void 0 : G.call(t, ...Q), e.menuIcon ? d(Se, { class: "v-select__menu-icon", icon: e.menuIcon }, null) : void 0]); } }); - }), sl({ isFocused: g, menu: s, select: F }, o); -} }), fs = ne()({ name: "VCardActions", props: ye(), setup(e, t) { - let { slots: n } = t; - return et({ VBtn: { slim: !0, variant: "text" } }), se(() => { + }), ul({ isFocused: g, menu: s, select: F }, o); +} }), us = te()({ name: "VCardActions", props: ye(), setup(e, n) { + let { slots: t } = n; + return ln({ VBtn: { slim: !0, variant: "text" } }), se(() => { var l; - return d("div", { class: ["v-card-actions", e.class], style: e.style }, [(l = n.default) == null ? void 0 : l.call(n)]); + return d("div", { class: ["v-card-actions", e.class], style: e.style }, [(l = t.default) == null ? void 0 : l.call(t)]); }), {}; -} }), ys = wt("v-card-subtitle"), ms = wt("v-card-title"), gs = H({ appendAvatar: String, appendIcon: Ce, prependAvatar: String, prependIcon: Ce, subtitle: [String, Number], title: [String, Number], ...ye(), ...cn() }, "VCardItem"), hs = ne()({ name: "VCardItem", props: gs(), setup(e, t) { - let { slots: n } = t; +} }), cs = wn("v-card-subtitle"), ds = wn("v-card-title"), ps = H({ appendAvatar: String, appendIcon: Ce, prependAvatar: String, prependIcon: Ce, subtitle: [String, Number], title: [String, Number], ...ye(), ...ut() }, "VCardItem"), vs = te()({ name: "VCardItem", props: ps(), setup(e, n) { + let { slots: t } = n; return se(() => { var i; - const l = !(!e.prependAvatar && !e.prependIcon), o = !(!l && !n.prepend), a = !(!e.appendAvatar && !e.appendIcon), c = !(!a && !n.append), u = !(e.title == null && !n.title), s = !(e.subtitle == null && !n.subtitle); - return d("div", { class: ["v-card-item", e.class], style: e.style }, [o && d("div", { key: "prepend", class: "v-card-item__prepend" }, [n.prepend ? d(je, { key: "prepend-defaults", disabled: !l, defaults: { VAvatar: { density: e.density, icon: e.prependIcon, image: e.prependAvatar } } }, n.prepend) : l && d(qn, { key: "prepend-avatar", density: e.density, icon: e.prependIcon, image: e.prependAvatar }, null)]), d("div", { class: "v-card-item__content" }, [u && d(ms, { key: "title" }, { default: () => { + const l = !(!e.prependAvatar && !e.prependIcon), o = !(!l && !t.prepend), a = !(!e.appendAvatar && !e.appendIcon), c = !(!a && !t.append), u = !(e.title == null && !t.title), s = !(e.subtitle == null && !t.subtitle); + return d("div", { class: ["v-card-item", e.class], style: e.style }, [o && d("div", { key: "prepend", class: "v-card-item__prepend" }, [t.prepend ? d(je, { key: "prepend-defaults", disabled: !l, defaults: { VAvatar: { density: e.density, icon: e.prependIcon, image: e.prependAvatar } } }, t.prepend) : l && d(Ut, { key: "prepend-avatar", density: e.density, icon: e.prependIcon, image: e.prependAvatar }, null)]), d("div", { class: "v-card-item__content" }, [u && d(ds, { key: "title" }, { default: () => { var p; - return [((p = n.title) == null ? void 0 : p.call(n)) ?? e.title]; - } }), s && d(ys, { key: "subtitle" }, { default: () => { + return [((p = t.title) == null ? void 0 : p.call(t)) ?? e.title]; + } }), s && d(cs, { key: "subtitle" }, { default: () => { var p; - return [((p = n.subtitle) == null ? void 0 : p.call(n)) ?? e.subtitle]; - } }), (i = n.default) == null ? void 0 : i.call(n)]), c && d("div", { key: "append", class: "v-card-item__append" }, [n.append ? d(je, { key: "append-defaults", disabled: !a, defaults: { VAvatar: { density: e.density, icon: e.appendIcon, image: e.appendAvatar } } }, n.append) : a && d(qn, { key: "append-avatar", density: e.density, icon: e.appendIcon, image: e.appendAvatar }, null)])]); + return [((p = t.subtitle) == null ? void 0 : p.call(t)) ?? e.subtitle]; + } }), (i = t.default) == null ? void 0 : i.call(t)]), c && d("div", { key: "append", class: "v-card-item__append" }, [t.append ? d(je, { key: "append-defaults", disabled: !a, defaults: { VAvatar: { density: e.density, icon: e.appendIcon, image: e.appendAvatar } } }, t.append) : a && d(Ut, { key: "append-avatar", density: e.density, icon: e.appendIcon, image: e.appendAvatar }, null)])]); }), {}; -} }), Wn = wt("v-card-text"), bs = H({ appendAvatar: String, appendIcon: Ce, disabled: Boolean, flat: Boolean, hover: Boolean, image: String, link: { type: Boolean, default: void 0 }, prependAvatar: String, prependIcon: Ce, ripple: { type: [Boolean, Object], default: !0 }, subtitle: [String, Number], text: [String, Number], title: [String, Number], ...nt(), ...ye(), ...cn(), ...Dn(), ...lt(), ...Zl(), ...Kl(), ...$a(), ...hn(), ...rl(), ...en(), ...Ne(), ...kn({ variant: "elevated" }) }, "VCard"), at = ne()({ name: "VCard", directives: { Ripple: $t }, props: bs(), setup(e, t) { - let { attrs: n, slots: l } = t; - const { themeClasses: o } = Xe(e), { borderClasses: a } = tt(e), { colorClasses: c, colorStyles: u, variantClasses: s } = _t(e), { densityClasses: i } = Cn(e), { dimensionStyles: p } = Ln(e), { elevationClasses: y } = ot(e), { loaderClasses: f } = al(e), { locationStyles: m } = Jl(e), { positionClasses: h } = Ea(e), { roundedClasses: b } = bn(e), g = il(e, n), C = v(() => e.link !== !1 && g.isLink.value), w = v(() => !e.disabled && e.link !== !1 && (e.link || g.isClickable.value)); +} }), Lt = wn("v-card-text"), fs = H({ appendAvatar: String, appendIcon: Ce, disabled: Boolean, flat: Boolean, hover: Boolean, image: String, link: { type: Boolean, default: void 0 }, prependAvatar: String, prependIcon: Ce, ripple: { type: [Boolean, Object], default: !0 }, subtitle: [String, Number], text: [String, Number], title: [String, Number], ...on(), ...ye(), ...ut(), ...zt(), ...rn(), ...Zl(), ...Kl(), ...Aa(), ...ht(), ...sl(), ...et(), ...Ne(), ...xt({ variant: "elevated" }) }, "VCard"), cn = te()({ name: "VCard", directives: { Ripple: Pn }, props: fs(), setup(e, n) { + let { attrs: t, slots: l } = n; + const { themeClasses: o } = Xe(e), { borderClasses: a } = an(e), { colorClasses: c, colorStyles: u, variantClasses: s } = An(e), { densityClasses: i } = gt(e), { dimensionStyles: p } = Dt(e), { elevationClasses: y } = sn(e), { loaderClasses: f } = il(e), { locationStyles: m } = Jl(e), { positionClasses: h } = Va(e), { roundedClasses: b } = bt(e), g = rl(e, t), I = v(() => e.link !== !1 && g.isLink.value), k = v(() => !e.disabled && e.link !== !1 && (e.link || g.isClickable.value)); return se(() => { - const O = C.value ? "a" : e.tag, G = !(!l.title && e.title == null), T = !(!l.subtitle && e.subtitle == null), $ = G || T, R = !!(l.append || e.appendAvatar || e.appendIcon), P = !!(l.prepend || e.prependAvatar || e.prependIcon), S = !(!l.image && !e.image), A = $ || P || R, I = !(!l.text && e.text == null); - return Ue(d(O, { class: ["v-card", { "v-card--disabled": e.disabled, "v-card--flat": e.flat, "v-card--hover": e.hover && !(e.disabled || e.flat), "v-card--link": w.value }, o.value, a.value, c.value, i.value, y.value, f.value, h.value, b.value, s.value, e.class], style: [u.value, p.value, m.value, e.style], href: g.href.value, onClick: w.value && g.navigate, tabindex: e.disabled ? -1 : void 0 }, { default: () => { + const w = I.value ? "a" : e.tag, q = !(!l.title && e.title == null), P = !(!l.subtitle && e.subtitle == null), z = q || P, M = !!(l.append || e.appendAvatar || e.appendIcon), $ = !!(l.prepend || e.prependAvatar || e.prependIcon), S = !(!l.image && !e.image), O = z || $ || M, C = !(!l.text && e.text == null); + return Ue(d(w, { class: ["v-card", { "v-card--disabled": e.disabled, "v-card--flat": e.flat, "v-card--hover": e.hover && !(e.disabled || e.flat), "v-card--link": k.value }, o.value, a.value, c.value, i.value, y.value, f.value, h.value, b.value, s.value, e.class], style: [u.value, p.value, m.value, e.style], href: g.href.value, onClick: k.value && g.navigate, tabindex: e.disabled ? -1 : void 0 }, { default: () => { var F; - return [S && d("div", { key: "image", class: "v-card__image" }, [l.image ? d(je, { key: "image-defaults", disabled: !e.image, defaults: { VImg: { cover: !0, src: e.image } } }, l.image) : d(xa, { key: "image-img", cover: !0, src: e.image }, null)]), d(Ql, { name: "v-card", active: !!e.loading, color: typeof e.loading == "boolean" ? void 0 : e.loading }, { default: l.loader }), A && d(hs, { key: "item", prependAvatar: e.prependAvatar, prependIcon: e.prependIcon, title: e.title, subtitle: e.subtitle, appendAvatar: e.appendAvatar, appendIcon: e.appendIcon }, { default: l.item, prepend: l.prepend, title: l.title, subtitle: l.subtitle, append: l.append }), I && d(Wn, { key: "text" }, { default: () => { - var _; - return [((_ = l.text) == null ? void 0 : _.call(l)) ?? e.text]; - } }), (F = l.default) == null ? void 0 : F.call(l), l.actions && d(fs, null, { default: l.actions }), At(w.value, "v-card")]; - } }), [[gn("ripple"), w.value && e.ripple]]); + return [S && d("div", { key: "image", class: "v-card__image" }, [l.image ? d(je, { key: "image-defaults", disabled: !e.image, defaults: { VImg: { cover: !0, src: e.image } } }, l.image) : d(ja, { key: "image-img", cover: !0, src: e.image }, null)]), d(Ql, { name: "v-card", active: !!e.loading, color: typeof e.loading == "boolean" ? void 0 : e.loading }, { default: l.loader }), O && d(vs, { key: "item", prependAvatar: e.prependAvatar, prependIcon: e.prependIcon, title: e.title, subtitle: e.subtitle, appendAvatar: e.appendAvatar, appendIcon: e.appendIcon }, { default: l.item, prepend: l.prepend, title: l.title, subtitle: l.subtitle, append: l.append }), C && d(Lt, { key: "text" }, { default: () => { + var V; + return [((V = l.text) == null ? void 0 : V.call(l)) ?? e.text]; + } }), (F = l.default) == null ? void 0 : F.call(l), l.actions && d(us, null, { default: l.actions }), Fn(k.value, "v-card")]; + } }), [[mt("ripple"), k.value && e.ripple]]); }), {}; -} }), Cs = H({ indeterminate: Boolean, inset: Boolean, flat: Boolean, loading: { type: [Boolean, String], default: !1 }, ...Tt(), ...eo() }, "VSwitch"), Is = ne()({ name: "VSwitch", inheritAttrs: !1, props: Cs(), emits: { "update:focused": (e) => !0, "update:modelValue": (e) => !0, "update:indeterminate": (e) => !0 }, setup(e, t) { - let { attrs: n, slots: l } = t; - const o = $e(e, "indeterminate"), a = $e(e, "modelValue"), { loaderClasses: c } = al(e), { isFocused: u, focus: s, blur: i } = Et(e), p = D(), y = v(() => typeof e.loading == "string" && e.loading !== "" ? e.loading : e.color), f = tn(), m = v(() => e.id || `switch-${f}`); +} }), ys = H({ indeterminate: Boolean, inset: Boolean, flat: Boolean, loading: { type: [Boolean, String], default: !1 }, ...Tn(), ...to() }, "VSwitch"), ms = te()({ name: "VSwitch", inheritAttrs: !1, props: ys(), emits: { "update:focused": (e) => !0, "update:modelValue": (e) => !0, "update:indeterminate": (e) => !0 }, setup(e, n) { + let { attrs: t, slots: l } = n; + const o = $e(e, "indeterminate"), a = $e(e, "modelValue"), { loaderClasses: c } = il(e), { isFocused: u, focus: s, blur: i } = En(e), p = D(), y = v(() => typeof e.loading == "string" && e.loading !== "" ? e.loading : e.color), f = nt(), m = v(() => e.id || `switch-${f}`); function h() { o.value && (o.value = !1); } function b(g) { - var C, w; - g.stopPropagation(), g.preventDefault(), (w = (C = p.value) == null ? void 0 : C.input) == null || w.click(); + var I, k; + g.stopPropagation(), g.preventDefault(), (k = (I = p.value) == null ? void 0 : I.input) == null || k.click(); } return se(() => { - const [g, C] = kt(n), w = Bn.filterProps(e), O = el.filterProps(e); - return d(Bn, Z({ class: ["v-switch", { "v-switch--inset": e.inset }, { "v-switch--indeterminate": o.value }, c.value, e.class] }, g, w, { modelValue: a.value, "onUpdate:modelValue": (G) => a.value = G, id: m.value, focused: u.value, style: e.style }), { ...l, default: (G) => { - let { id: T, messagesId: $, isDisabled: R, isReadonly: P, isValid: S } = G; - return d(el, Z({ ref: p }, O, { modelValue: a.value, "onUpdate:modelValue": [(A) => a.value = A, h], id: T.value, "aria-describedby": $.value, type: "checkbox", "aria-checked": o.value ? "mixed" : void 0, disabled: R.value, readonly: P.value, onFocus: s, onBlur: i }, C), { ...l, default: (A) => { - let { backgroundColorClasses: I, backgroundColorStyles: F } = A; - return d("div", { class: ["v-switch__track", ...I.value], style: F.value, onClick: b }, null); - }, input: (A) => { - let { inputNode: I, icon: F, backgroundColorClasses: _, backgroundColorStyles: M } = A; - return d(Fe, null, [I, d("div", { class: ["v-switch__thumb", { "v-switch__thumb--filled": F || e.loading }, e.inset ? void 0 : _.value], style: e.inset ? void 0 : M.value }, [d(Ki, null, { default: () => [e.loading ? d(Ql, { name: "v-switch", active: !0, color: S.value === !1 ? void 0 : y.value }, { default: (N) => l.loader ? l.loader(N) : d(Pa, { active: N.isActive, color: N.color, indeterminate: !0, size: "16", width: "2" }, null) }) : F && d(Se, { key: F, icon: F, size: "x-small" }, null)] })])]); + const [g, I] = kn(t), k = St.filterProps(e), w = el.filterProps(e); + return d(St, Z({ class: ["v-switch", { "v-switch--inset": e.inset }, { "v-switch--indeterminate": o.value }, c.value, e.class] }, g, k, { modelValue: a.value, "onUpdate:modelValue": (q) => a.value = q, id: m.value, focused: u.value, style: e.style }), { ...l, default: (q) => { + let { id: P, messagesId: z, isDisabled: M, isReadonly: $, isValid: S } = q; + return d(el, Z({ ref: p }, w, { modelValue: a.value, "onUpdate:modelValue": [(O) => a.value = O, h], id: P.value, "aria-describedby": z.value, type: "checkbox", "aria-checked": o.value ? "mixed" : void 0, disabled: M.value, readonly: $.value, onFocus: s, onBlur: i }, I), { ...l, default: (O) => { + let { backgroundColorClasses: C, backgroundColorStyles: F } = O; + return d("div", { class: ["v-switch__track", ...C.value], style: F.value, onClick: b }, null); + }, input: (O) => { + let { inputNode: C, icon: F, backgroundColorClasses: V, backgroundColorStyles: j } = O; + return d(Fe, null, [C, d("div", { class: ["v-switch__thumb", { "v-switch__thumb--filled": F || e.loading }, e.inset ? void 0 : V.value], style: e.inset ? void 0 : j.value }, [d(ar, null, { default: () => [e.loading ? d(Ql, { name: "v-switch", active: !0, color: S.value === !1 ? void 0 : y.value }, { default: (_) => l.loader ? l.loader(_) : d(wa, { active: _.isActive, color: _.color, indeterminate: !0, size: "16", width: "2" }, null) }) : F && d(Se, { key: F, icon: F, size: "x-small" }, null)] })])]); } }); } }); }), {}; -} }), Ss = H({ autoGrow: Boolean, autofocus: Boolean, counter: [Boolean, Number, String], counterValue: Function, prefix: String, placeholder: String, persistentPlaceholder: Boolean, persistentCounter: Boolean, noResize: Boolean, rows: { type: [Number, String], default: 5, validator: (e) => !isNaN(parseFloat(e)) }, maxRows: { type: [Number, String], validator: (e) => !isNaN(parseFloat(e)) }, suffix: String, modelModifiers: Object, ...Tt(), ...no() }, "VTextarea"), Bs = ne()({ name: "VTextarea", directives: { Intersect: Yl }, inheritAttrs: !1, props: Ss(), emits: { "click:control": (e) => !0, "mousedown:control": (e) => !0, "update:focused": (e) => !0, "update:modelValue": (e) => !0 }, setup(e, t) { - let { attrs: n, emit: l, slots: o } = t; - const a = $e(e, "modelValue"), { isFocused: c, focus: u, blur: s } = Et(e), i = v(() => typeof e.counterValue == "function" ? e.counterValue(a.value) : (a.value || "").toString().length), p = v(() => n.maxlength ? n.maxlength : !e.counter || typeof e.counter != "number" && typeof e.counter != "string" ? void 0 : e.counter); - function y(I, F) { - var _, M; - e.autofocus && I && ((M = (_ = F[0].target) == null ? void 0 : _.focus) == null || M.call(_)); +} }), gs = H({ autoGrow: Boolean, autofocus: Boolean, counter: [Boolean, Number, String], counterValue: Function, prefix: String, placeholder: String, persistentPlaceholder: Boolean, persistentCounter: Boolean, noResize: Boolean, rows: { type: [Number, String], default: 5, validator: (e) => !isNaN(parseFloat(e)) }, maxRows: { type: [Number, String], validator: (e) => !isNaN(parseFloat(e)) }, suffix: String, modelModifiers: Object, ...Tn(), ...no() }, "VTextarea"), hs = te()({ name: "VTextarea", directives: { Intersect: eo }, inheritAttrs: !1, props: gs(), emits: { "click:control": (e) => !0, "mousedown:control": (e) => !0, "update:focused": (e) => !0, "update:modelValue": (e) => !0 }, setup(e, n) { + let { attrs: t, emit: l, slots: o } = n; + const a = $e(e, "modelValue"), { isFocused: c, focus: u, blur: s } = En(e), i = v(() => typeof e.counterValue == "function" ? e.counterValue(a.value) : (a.value || "").toString().length), p = v(() => t.maxlength ? t.maxlength : !e.counter || typeof e.counter != "number" && typeof e.counter != "string" ? void 0 : e.counter); + function y(C, F) { + var V, j; + e.autofocus && C && ((j = (V = F[0].target) == null ? void 0 : V.focus) == null || j.call(V)); } const f = D(), m = D(), h = de(""), b = D(), g = v(() => e.persistentPlaceholder || c.value || e.active); - function C() { - var I; - b.value !== document.activeElement && ((I = b.value) == null || I.focus()), c.value || u(); + function I() { + var C; + b.value !== document.activeElement && ((C = b.value) == null || C.focus()), c.value || u(); } - function w(I) { - C(), l("click:control", I); + function k(C) { + I(), l("click:control", C); } - function O(I) { - l("mousedown:control", I); + function w(C) { + l("mousedown:control", C); } - function G(I) { - I.stopPropagation(), C(), Me(() => { - a.value = "", sa(e["onClick:clear"], I); + function q(C) { + C.stopPropagation(), I(), Me(() => { + a.value = "", ca(e["onClick:clear"], C); }); } - function T(I) { - var _; - const F = I.target; - if (a.value = F.value, (_ = e.modelModifiers) == null ? void 0 : _.trim) { - const M = [F.selectionStart, F.selectionEnd]; + function P(C) { + var V; + const F = C.target; + if (a.value = F.value, (V = e.modelModifiers) == null ? void 0 : V.trim) { + const j = [F.selectionStart, F.selectionEnd]; Me(() => { - F.selectionStart = M[0], F.selectionEnd = M[1]; + F.selectionStart = j[0], F.selectionEnd = j[1]; }); } } - const $ = D(), R = D(+e.rows), P = v(() => ["plain", "underlined"].includes(e.variant)); + const z = D(), M = D(+e.rows), $ = v(() => ["plain", "underlined"].includes(e.variant)); function S() { e.autoGrow && Me(() => { - if (!$.value || !m.value) + if (!z.value || !m.value) return; - const I = getComputedStyle($.value), F = getComputedStyle(m.value.$el), _ = parseFloat(I.getPropertyValue("--v-field-padding-top")) + parseFloat(I.getPropertyValue("--v-input-padding-top")) + parseFloat(I.getPropertyValue("--v-field-padding-bottom")), M = $.value.scrollHeight, N = parseFloat(I.lineHeight), k = Gn(M ?? 0, Math.max(parseFloat(e.rows) * N + _, parseFloat(F.getPropertyValue("--v-input-control-height"))), parseFloat(e.maxRows) * N + _ || 1 / 0); - R.value = Math.floor((k - _) / N), h.value = ae(k); + const C = getComputedStyle(z.value), F = getComputedStyle(m.value.$el), V = parseFloat(C.getPropertyValue("--v-field-padding-top")) + parseFloat(C.getPropertyValue("--v-input-padding-top")) + parseFloat(C.getPropertyValue("--v-field-padding-bottom")), j = z.value.scrollHeight, _ = parseFloat(C.lineHeight), A = jt(j ?? 0, Math.max(parseFloat(e.rows) * _ + V, parseFloat(F.getPropertyValue("--v-input-control-height"))), parseFloat(e.maxRows) * _ + V || 1 / 0); + M.value = Math.floor((A - V) / _), h.value = ie(A); }); } - let A; - return rn(() => { - e.autoGrow || (R.value = +e.rows); - }), Yn(S), K(a, S), K(() => e.rows, S), K(() => e.maxRows, S), K(() => e.density, S), K($, (I) => { - I ? (A = new ResizeObserver(S), A.observe($.value)) : A == null || A.disconnect(); - }), mn(() => { - A == null || A.disconnect(); + let O; + return it(() => { + e.autoGrow || (M.value = +e.rows); + }), qt(S), K(a, S), K(() => e.rows, S), K(() => e.maxRows, S), K(() => e.density, S), K(z, (C) => { + C ? (O = new ResizeObserver(S), O.observe(z.value)) : O == null || O.disconnect(); + }), yt(() => { + O == null || O.disconnect(); }), se(() => { - const I = !!(o.counter || e.counter || e.counterValue), F = !(!I && !o.details), [_, M] = kt(n), { modelValue: N, ...k } = Bn.filterProps(e), B = di(e); - return d(Bn, Z({ ref: f, modelValue: a.value, "onUpdate:modelValue": (x) => a.value = x, class: ["v-textarea v-text-field", { "v-textarea--prefixed": e.prefix, "v-textarea--suffixed": e.suffix, "v-text-field--prefixed": e.prefix, "v-text-field--suffixed": e.suffix, "v-textarea--auto-grow": e.autoGrow, "v-textarea--no-resize": e.noResize || e.autoGrow, "v-input--plain-underlined": P.value }, e.class], style: e.style }, _, k, { centerAffix: R.value === 1 && !P.value, focused: c.value }), { ...o, default: (x) => { - let { id: V, isDisabled: j, isDirty: L, isReadonly: z, isValid: Q } = x; - return d(to, Z({ ref: m, style: { "--v-textarea-control-height": h.value }, onClick: w, onMousedown: O, "onClick:clear": G, "onClick:prependInner": e["onClick:prependInner"], "onClick:appendInner": e["onClick:appendInner"] }, B, { id: V.value, active: g.value || L.value, centerAffix: R.value === 1 && !P.value, dirty: L.value || e.dirty, disabled: j.value, focused: c.value, error: Q.value === !1 }), { ...o, default: (E) => { - let { props: { class: U, ...W } } = E; - return d(Fe, null, [e.prefix && d("span", { class: "v-text-field__prefix" }, [e.prefix]), Ue(d("textarea", Z({ ref: b, class: U, value: a.value, onInput: T, autofocus: e.autofocus, readonly: z.value, disabled: j.value, placeholder: e.placeholder, rows: e.rows, name: e.name, onFocus: C, onBlur: s }, W, M), null), [[gn("intersect"), { handler: y }, null, { once: !0 }]]), e.autoGrow && Ue(d("textarea", { class: [U, "v-textarea__sizer"], id: `${W.id}-sizer`, "onUpdate:modelValue": (q) => a.value = q, ref: $, readonly: !0, "aria-hidden": "true" }, null), [[Ai, a.value]]), e.suffix && d("span", { class: "v-text-field__suffix" }, [e.suffix])]); + const C = !!(o.counter || e.counter || e.counterValue), F = !(!C && !o.details), [V, j] = kn(t), { modelValue: _, ...A } = St.filterProps(e), B = vi(e); + return d(St, Z({ ref: f, modelValue: a.value, "onUpdate:modelValue": (x) => a.value = x, class: ["v-textarea v-text-field", { "v-textarea--prefixed": e.prefix, "v-textarea--suffixed": e.suffix, "v-text-field--prefixed": e.prefix, "v-text-field--suffixed": e.suffix, "v-textarea--auto-grow": e.autoGrow, "v-textarea--no-resize": e.noResize || e.autoGrow, "v-input--plain-underlined": $.value }, e.class], style: e.style }, V, A, { centerAffix: M.value === 1 && !$.value, focused: c.value }), { ...o, default: (x) => { + let { id: E, isDisabled: N, isDirty: R, isReadonly: L, isValid: Q } = x; + return d(lo, Z({ ref: m, style: { "--v-textarea-control-height": h.value }, onClick: k, onMousedown: w, "onClick:clear": q, "onClick:prependInner": e["onClick:prependInner"], "onClick:appendInner": e["onClick:appendInner"] }, B, { id: E.value, active: g.value || R.value, centerAffix: M.value === 1 && !$.value, dirty: R.value || e.dirty, disabled: N.value, focused: c.value, error: Q.value === !1 }), { ...o, default: (T) => { + let { props: { class: G, ...W } } = T; + return d(Fe, null, [e.prefix && d("span", { class: "v-text-field__prefix" }, [e.prefix]), Ue(d("textarea", Z({ ref: b, class: G, value: a.value, onInput: P, autofocus: e.autofocus, readonly: L.value, disabled: N.value, placeholder: e.placeholder, rows: e.rows, name: e.name, onFocus: I, onBlur: s }, W, j), null), [[mt("intersect"), { handler: y }, null, { once: !0 }]]), e.autoGrow && Ue(d("textarea", { class: [G, "v-textarea__sizer"], id: `${W.id}-sizer`, "onUpdate:modelValue": (U) => a.value = U, ref: z, readonly: !0, "aria-hidden": "true" }, null), [[xi, a.value]]), e.suffix && d("span", { class: "v-text-field__suffix" }, [e.suffix])]); } }); }, details: F ? (x) => { - var V; - return d(Fe, null, [(V = o.details) == null ? void 0 : V.call(o, x), I && d(Fe, null, [d("span", null, null), d(ci, { active: e.persistentCounter || c.value, value: i.value, max: p.value }, o.counter)])]); + var E; + return d(Fe, null, [(E = o.details) == null ? void 0 : E.call(o, x), C && d(Fe, null, [d("span", null, null), d(pi, { active: e.persistentCounter || c.value, value: i.value, max: p.value }, o.counter)])]); } : void 0 }); - }), sl({}, f, m, b); -} }), vi = sn({ __name: "BooleanIcons", props: Qe({ iconFalseColor: {}, iconFalseTitle: {}, iconTrueColor: {}, iconTrueTitle: {}, iconFalse: {}, iconTrue: {} }, { modelValue: {} }), emits: ["update:modelValue"], setup(e) { - const t = e, n = me(Symbol.for("vuetify:icons")), l = $n(e, "modelValue"), o = v(() => on({ icon: t.iconFalse, iconOptions: n, name: "false" })), a = v(() => on({ icon: t.iconTrue, iconOptions: n, name: "true" })); + }), ul({}, f, m, b); +} }), yi = rt({ __name: "BooleanIcons", props: Qe({ iconFalseColor: {}, iconFalseTitle: {}, iconTrueColor: {}, iconTrueTitle: {}, iconFalse: {}, iconTrue: {} }, { modelValue: {} }), emits: ["update:modelValue"], setup(e) { + const n = e, t = me(Symbol.for("vuetify:icons")), l = $t(e, "modelValue"), o = v(() => ot({ icon: n.iconFalse, iconOptions: t, name: "false" })), a = v(() => ot({ icon: n.iconTrue, iconOptions: t, name: "true" })); return (c, u) => l.value ? (J(), ze(r(Se), { key: 0, class: "v-inline-fields--boolean-icons fa-fw", color: c.iconTrueColor, icon: r(a), size: "x-small", title: c.iconTrueTitle }, null, 8, ["color", "icon", "title"])) : (J(), ze(r(Se), { key: 1, class: "v-inline-fields--boolean-icons fa-fw", color: c.iconFalseColor, icon: r(o), size: "x-small", title: c.iconFalseTitle }, null, 8, ["color", "icon", "title"])); -} }), ie = "v-inline-fields", it = (e) => { - const { cell: t = !1, field: n = "", density: l = "", disabled: o = !1, iconSet: a = "mdi", loading: c = !1, loadingWait: u, tableField: s = !1, variant: i } = e, p = l && i; - return { [`${ie}`]: !0, [`${ie}--container`]: !0, [`${ie}--container-cell`]: t, [`${ie}--container-disabled`]: r(o), [`${ie}--container-table`]: s, [`${ie}--container-icon-set-${a}`]: !0, [`${ie}--container-loading`]: c && u, [`${ie}--container-${n}`]: !0, [`${ie}--container-${n}-${l}`]: !0, [`${ie}--container-${n}-${l}-${i}`]: p, [`${ie}--container-${n}-${i}`]: i, [`${ie}--container-${n}-${i}-${l}`]: p, [`${ie}--container-${l}`]: l, [`${ie}--container-${l}-${n}`]: l, [`${ie}--container-${l}-${i}`]: p, [`${ie}--container-${i}`]: i, [`${ie}--container-${i}-${l}`]: p, [`${ie}--container-${i}-${n}`]: i }; -}, rt = (e) => { - const { cell: t = !1, cellUnderlineFullWidth: n = !0, field: l = "", density: o = "" } = e; - return { [`${ie}--display-container-cell`]: t, [`${ie}--display-container-cell-underline-full-width`]: t && n, [`${ie}--display-container`]: !0, [`${ie}--display-wrapper-value`]: !0, [`${l}`]: !0, "v-input": !0, [`v-input--density-${o}`]: !0, "v-input--horizontal": !0 }; -}, ul = (e) => { - const { density: t = "", variant: n = "" } = e; - return { "v-input": !0, "v-input--dirty": !0, "v-input--horizontal": !0, "v-text-field": !0, [`v-input--density-${t}`]: !0, [`v-text-field--plain-${n}`]: !0 }; -}, fi = (e) => { - const { density: t = "" } = e; - return { [`${ie}--selection-control`]: !0, [`v-selection-control--density-${t}`]: !0 }; -}, lo = (e, t, n) => { - const { error: l = !1, empty: o = !1 } = n; - return { [`${ie}`]: !0, [`${ie}--display-value-${e}`]: !0, [`${ie}--display-value`]: !0, [`${ie}--display-value-empty`]: r(o), [`text-${t}`]: !r(l), "text-danger": r(l) }; -}, st = (e) => { - const { name: t, active: n = !1 } = e; - return { [`${ie}`]: !0, [`${ie}--field`]: !0, [`${ie}--field-${t}`]: !0, [`${ie}--field-active`]: n }; -}, ut = (e) => { - const { name: t, showField: n } = e; - return { [`${ie}--card-container`]: !0, [`${ie}--card-container-${t}`]: !0, "d-none": !n }; +} }), mn = (e) => { + const { str: n, unit: t = "px" } = e; + if (n != null && n !== "") + return +n ? `${Number(n)}${t}` : String(n); +}, mi = (e) => { + var o; + const { modelValue: n, trueValue: t } = e, l = r(n); + return ((o = l == null ? void 0 : l.toLowerCase) == null ? void 0 : o.call(l)) === "true" || l === "1" || l == "1" || l === !0 || l == t || l === t; +}, cl = (e) => { + const { required: n, rules: t } = e; + let { value: l } = e; + l = r(l); + const o = []; + let a = !1; + if (n && !l) + return o.push("Field is required."), { errors: !0, results: o }; + if (t) { + for (const c of t) { + const u = (typeof c == "function" ? c : () => c)(l); + u !== !0 && (typeof u == "string" ? o.push(u) : console.warn(`${u} is not a valid value. Rule functions must return boolean true or a string.`)); + } + a = o.length > 0; + } + return { errors: a, results: o }; +}, dn = (e) => { + const { attrs: n, closeSiblings: t, fieldOnly: l, props: o, showField: a, timeOpened: c } = e; + let u = c; + return t && !l && (u = /* @__PURE__ */ new Date()), { settings: { ...n, ...o }, showField: !r(a), timeOpened: u }; +}, oo = (e) => { + const { length: n = 0 } = e; + let { suffix: t, text: l } = e; + return l = l.toString(), t = t || "...", l.length > n ? `${l.substring(0, n)}${t}` : l; }; function Jo(e) { if (!e) return 100; if (e.toString().includes(".")) { - const t = 100 * Number(e); - return t >= 100 ? 100 : t; + const n = 100 * Number(e); + return n >= 100 ? 100 : n; } return Number(e) >= 100 ? 100 : Number(e); } function Zo(e) { - let t = function(y) { + let n = function(y) { const f = { AliceBlue: "#F0F8FF", AntiqueWhite: "#FAEBD7", Aqua: "#00FFFF", Aquamarine: "#7FFFD4", Azure: "#F0FFFF", Beige: "#F5F5DC", Bisque: "#FFE4C4", Black: "#000000", BlanchedAlmond: "#FFEBCD", Blue: "#0000FF", BlueViolet: "#8A2BE2", Brown: "#A52A2A", BurlyWood: "#DEB887", CadetBlue: "#5F9EA0", Chartreuse: "#7FFF00", Chocolate: "#D2691E", Coral: "#FF7F50", CornflowerBlue: "#6495ED", Cornsilk: "#FFF8DC", Crimson: "#DC143C", Cyan: "#00FFFF", DarkBlue: "#00008B", DarkCyan: "#008B8B", DarkGoldenRod: "#B8860B", DarkGray: "#A9A9A9", DarkGreen: "#006400", DarkGrey: "#A9A9A9", DarkKhaki: "#BDB76B", DarkMagenta: "#8B008B", DarkOliveGreen: "#556B2F", DarkOrange: "#FF8C00", DarkOrchid: "#9932CC", DarkRed: "#8B0000", DarkSalmon: "#E9967A", DarkSeaGreen: "#8FBC8F", DarkSlateBlue: "#483D8B", DarkSlateGray: "#2F4F4F", DarkSlateGrey: "#2F4F4F", DarkTurquoise: "#00CED1", DarkViolet: "#9400D3", DeepPink: "#FF1493", DeepSkyBlue: "#00BFFF", DimGray: "#696969", DimGrey: "#696969", DodgerBlue: "#1E90FF", FireBrick: "#B22222", FloralWhite: "#FFFAF0", ForestGreen: "#228B22", Fuchsia: "#FF00FF", Gainsboro: "#DCDCDC", GhostWhite: "#F8F8FF", Gold: "#FFD700", GoldenRod: "#DAA520", Gray: "#808080", Green: "#008000", GreenYellow: "#ADFF2F", Grey: "#808080", HoneyDew: "#F0FFF0", HotPink: "#FF69B4", IndianRed: "#CD5C5C", Indigo: "#4B0082", Ivory: "#FFFFF0", Khaki: "#F0E68C", Lavender: "#E6E6FA", LavenderBlush: "#FFF0F5", LawnGreen: "#7CFC00", LemonChiffon: "#FFFACD", LightBlue: "#ADD8E6", LightCoral: "#F08080", LightCyan: "#E0FFFF", LightGoldenRodYellow: "#FAFAD2", LightGray: "#D3D3D3", LightGreen: "#90EE90", LightGrey: "#D3D3D3", LightPink: "#FFB6C1", LightSalmon: "#FFA07A", LightSeaGreen: "#20B2AA", LightSkyBlue: "#87CEFA", LightSlateGray: "#778899", LightSlateGrey: "#778899", LightSteelBlue: "#B0C4DE", LightYellow: "#FFFFE0", Lime: "#00FF00", LimeGreen: "#32CD32", Linen: "#FAF0E6", Magenta: "#FF00FF", Maroon: "#800000", MediumAquaMarine: "#66CDAA", MediumBlue: "#0000CD", MediumOrchid: "#BA55D3", MediumPurple: "#9370DB", MediumSeaGreen: "#3CB371", MediumSlateBlue: "#7B68EE", MediumSpringGreen: "#00FA9A", MediumTurquoise: "#48D1CC", MediumVioletRed: "#C71585", MidnightBlue: "#191970", MintCream: "#F5FFFA", MistyRose: "#FFE4E1", Moccasin: "#FFE4B5", NavajoWhite: "#FFDEAD", Navy: "#000080", OldLace: "#FDF5E6", Olive: "#808000", OliveDrab: "#6B8E23", Orange: "#FFA500", OrangeRed: "#FF4500", Orchid: "#DA70D6", PaleGoldenRod: "#EEE8AA", PaleGreen: "#98FB98", PaleTurquoise: "#AFEEEE", PaleVioletRed: "#DB7093", PapayaWhip: "#FFEFD5", PeachPuff: "#FFDAB9", Peru: "#CD853F", Pink: "#FFC0CB", Plum: "#DDA0DD", PowderBlue: "#B0E0E6", Purple: "#800080", RebeccaPurple: "#663399", Red: "#FF0000", RosyBrown: "#BC8F8F", RoyalBlue: "#4169E1", SaddleBrown: "#8B4513", Salmon: "#FA8072", SandyBrown: "#F4A460", SeaGreen: "#2E8B57", SeaShell: "#FFF5EE", Sienna: "#A0522D", Silver: "#C0C0C0", SkyBlue: "#87CEEB", SlateBlue: "#6A5ACD", SlateGray: "#708090", SlateGrey: "#708090", Snow: "#FFFAFA", SpringGreen: "#00FF7F", SteelBlue: "#4682B4", Tan: "#D2B48C", Teal: "#008080", Thistle: "#D8BFD8", Tomato: "#FF6347", Turquoise: "#40E0D0", Violet: "#EE82EE", Wheat: "#F5DEB3", White: "#FFFFFF", WhiteSmoke: "#F5F5F5", Yellow: "#FFFF00", YellowGreen: "#9ACD32" }; let m = y; return Object.entries(f).forEach(([h, b]) => { y.toLowerCase() != h.toLowerCase() || (m = b); }), m; - }(e), n = 0, l = 0, o = 0, a = 100, c = 0, u = 0, s = 0; - if (t.substring(0, 1) === "#") - t = function(y) { + }(e), t = 0, l = 0, o = 0, a = 100, c = 0, u = 0, s = 0; + if (n.substring(0, 1) === "#") + n = function(y) { let f = y.replace("#", ""); - f.length === 3 && (f = f.split("").map((C) => C + C).join("")); + f.length === 3 && (f = f.split("").map((I) => I + I).join("")); const m = parseInt(f.substring(0, 2), 16), h = parseInt(f.substring(2, 4), 16), b = parseInt(f.substring(4, 6), 16); return [m, h, b, 100]; - }(t); - else if (t.includes("rgb")) - t = [...t.matchAll(/[\d+.\d+]+/g)].map(Number); - else if (t.includes("hsl")) - return t = [...t.matchAll(/[\d+.\d+]+/g)].map(String), n = t[0], l = t[1], o = t[2], a = Jo(t[3]), `${n} ${l}% ${o}% / ${a}%`; - [c, u, s, a] = t, c /= 255, u /= 255, s /= 255, a = Jo(a); + }(n); + else if (n.includes("rgb")) + n = [...n.matchAll(/[\d+.\d+]+/g)].map(Number); + else if (n.includes("hsl")) + return n = [...n.matchAll(/[\d+.\d+]+/g)].map(String), t = n[0], l = n[1], o = n[2], a = Jo(n[3]), `${t} ${l}% ${o}% / ${a}%`; + [c, u, s, a] = n, c /= 255, u /= 255, s /= 255, a = Jo(a); const i = Math.max(c, u, s), p = Math.min(c, u, s); if (i === null || !p === null || isNaN(i) || isNaN(p)) { const y = "0 0% 100% / 12%"; - return console.warn(`[VuetifyInlineFields: The "color" prop value using "${t}" doesn't exist. Using the value "hsl(${y})" in it's place.`), y; + return console.warn(`[VuetifyInlineFields: The "color" prop value using "${n}" doesn't exist. Using the value "hsl(${y})" in it's place.`), y; } - if (n = (i + p) / 2, l = (i + p) / 2, o = (i + p) / 2, i == p) - n = l = 0; + if (t = (i + p) / 2, l = (i + p) / 2, o = (i + p) / 2, i == p) + t = l = 0; else { const y = i - p; switch (l = o > 0.5 ? y / (2 - i - p) : y / (i + p), i) { case c: - n = (u - s) / y + (u < s ? 6 : 0); + t = (u - s) / y + (u < s ? 6 : 0); break; case u: - n = (s - c) / y + 2; + t = (s - c) / y + 2; break; case s: - n = (c - u) / y + 4; + t = (c - u) / y + 4; } - n /= 6; + t /= 6; } - return n = Math.round(360 * n), l = Math.round(100 * l), o = Math.round(100 * o), `${n} ${l}% ${o}% / ${a}%`; + return t = Math.round(360 * t), l = Math.round(100 * l), o = Math.round(100 * o), `${t} ${l}% ${o}% / ${a}%`; } -const xs = (e, t) => { +const bs = (e, n) => { if (function(l) { return l === "transparent" || l === "none" || l === "inherit" || l === "currentColor" || l === "initial" || l === "unset"; }(e)) @@ -3126,346 +3167,303 @@ const xs = (e, t) => { return l.includes("--v-theme"); }(e)) return `rgb(var(${e}))`; - const n = function(l, o) { + const t = function(l, o) { const a = o.global.current.value.colors; return Object.entries(a).find(([c]) => c === l); - }(e, t); - return n ? `hsl(${Zo(n[1])})` : `hsl(${Zo(e)})`; -}, mt = (e) => { - const { str: t, unit: n = "px" } = e; - if (t != null && t !== "") - return +t ? `${Number(t)}${n}` : String(t); -}, yi = (e) => { - var o; - const { modelValue: t, trueValue: n } = e, l = r(t); - return ((o = l == null ? void 0 : l.toLowerCase) == null ? void 0 : o.call(l)) === "true" || l === "1" || l == "1" || l === !0 || l == n || l === n; -}, oo = (e) => { - const { underlineStyle: t, underlineWidth: n, color: l, error: o, theme: a, underlined: c } = e; + }(e, n); + return t ? `hsl(${Zo(t[1])})` : `hsl(${Zo(e)})`; +}, ao = (e) => { + const { underlineStyle: n, underlineWidth: t, color: l, error: o, theme: a, underlined: c } = e; let { underlineColor: u } = e; u = u || l; - const s = { "border-bottom-color": xs(u, a), "border-bottom-style": t, "border-bottom-width": n }; + const s = { "border-bottom-color": bs(u, a), "border-bottom-style": n, "border-bottom-width": t }; return r(o) && (s["border-bottom-color"] = "rgb(var(--v-theme-danger))"), c || (s["border-bottom"] = "none"), s; -}, _n = (e) => { - const { cardMinWidth: t, cardOffsetX: n, cardOffsetY: l, cardWidth: o, field: a, name: c = "" } = e, u = ((p) => { +}, Vt = (e) => { + const { cardMinWidth: n, cardOffsetX: t, cardOffsetY: l, cardWidth: o, field: a, name: c = "" } = e, u = ((p) => { const { cardOffsetX: y, cardOffsetY: f, field: m } = p; if (!m) return { bottom: 0, height: 0, left: 0, right: 0, top: 0, width: 0, x: 0, y: 0 }; - const { x: h, y: b } = m.getBoundingClientRect(), { width: g, height: C } = m.getBoundingClientRect(), { right: w, bottom: O } = m.getBoundingClientRect(); - return { bottom: mt({ str: O + Number(f) }), height: C, left: mt({ str: 0 + Number(y) }), right: mt({ str: w + Number(y) }), top: mt({ str: 2 + Number(f) }), width: mt({ str: g }), x: h, y: b }; - })({ cardOffsetX: n, cardOffsetY: l, field: a }); - let s = t, i = o; + const { x: h, y: b } = m.getBoundingClientRect(), { width: g, height: I } = m.getBoundingClientRect(), { right: k, bottom: w } = m.getBoundingClientRect(); + return { bottom: mn({ str: w + Number(f) }), height: I, left: mn({ str: 0 + Number(y) }), right: mn({ str: k + Number(y) }), top: mn({ str: 2 + Number(f) }), width: mn({ str: g }), x: h, y: b }; + })({ cardOffsetX: t, cardOffsetY: l, field: a }); + let s = n, i = o; return i || (i = c === "checkbox" ? "fit-content" : u.width), s || (s = c === "checkbox" ? "fit-content" : u.width), { left: u.left, top: u.top, width: i, zIndex: 10 }; -}, cl = sn({ __name: "DisplayedValue", props: { color: {}, displayAppendIcon: {}, displayAppendIconColor: {}, displayAppendInnerIcon: {}, displayAppendInnerIconColor: {}, displayPrependIcon: {}, displayPrependIconColor: {}, displayPrependInnerIcon: {}, displayPrependInnerIconColor: {}, displayValue: {}, empty: { type: Boolean }, error: { type: Boolean }, field: {}, underlineColor: {}, underlineStyle: {}, underlineWidth: {}, underlined: { type: Boolean }, valueColor: {} }, emits: ["toggleField"], setup(e, { emit: t }) { - const n = t, l = e, o = En(), a = Wl(), c = { displayValue: l.displayValue, empty: l.empty, error: l.error }, u = v(() => lo(l.field, l.valueColor, { empty: l.empty, error: l.error })), s = v(() => oo({ color: l.color, error: l.error, theme: a, underlineColor: l.underlineColor, underlineStyle: l.underlineStyle, underlineWidth: l.underlineWidth, underlined: l.underlined })), i = v(() => ((f) => { - const { underlineWidth: m } = f; - return { borderBottom: `${m || "0px"} solid transparent` }; - })({ underlineWidth: l.underlineWidth })), p = (f, m = !1) => ((h) => { - const { inner: b = !1, position: g } = h; - return { [`${ie}--display-icon`]: !b, [`${ie}--display-${g}-icon`]: !b, [`${ie}--display-${g}-inner-icon`]: b, "me-1": g === "prepend", "ms-1": g === "append" }; - })({ inner: m, position: f }); - function y() { - n("toggleField"); - } - return (f, m) => (J(), ce("div", { class: "v-inline-fields--display-wrapper", onClick: y }, [f.displayPrependIcon || r(o)["display.prepend"] ? (J(), ce("div", { key: 0, class: le(p("prepend")), style: Te(r(i)) }, [r(o)["display.prepend"] ? Ye(f.$slots, "display.prepend", Pe(Z({ key: 0 }, c))) : (J(), ze(Se, { key: 1, color: f.displayPrependIconColor, icon: f.displayPrependIcon, size: "x-small" }, null, 8, ["color", "icon"]))], 6)) : xe("", !0), Ge("div", { class: le(["d-inline-flex", r(u)]), style: Te(r(s)) }, [f.displayPrependInnerIcon || r(o)["display.prependInner"] ? (J(), ce("div", { key: 0, class: le(p("prepend", !0)) }, [r(o)["display.prependInner"] ? Ye(f.$slots, "display.prependInner", Pe(Z({ key: 0 }, c))) : (J(), ze(Se, { key: 1, color: f.displayPrependInnerIconColor, icon: f.displayPrependInnerIcon, size: "x-small" }, null, 8, ["color", "icon"]))], 2)) : xe("", !0), ta(" " + Ll(f.displayValue) + " ", 1), f.displayAppendInnerIcon || r(o)["display.appendInner"] ? (J(), ce("div", { key: 1, class: le(p("append", !0)) }, [r(o)["display.appendInner"] ? Ye(f.$slots, "display.appendInner", Pe(Z({ key: 0 }, c))) : (J(), ze(Se, { key: 1, color: f.displayAppendInnerIconColor, icon: f.displayAppendInnerIcon, size: "x-small" }, null, 8, ["color", "icon"]))], 2)) : xe("", !0)], 6), f.displayAppendIcon || r(o)["display.append"] ? (J(), ce("div", { key: 1, class: le(p("append")), style: Te(r(i)) }, [r(o)["display.append"] ? Ye(f.$slots, "display.append", Pe(Z({ key: 0 }, c))) : (J(), ze(Se, { key: 1, color: f.displayAppendIconColor, icon: f.displayAppendIcon, size: "x-small" }, null, 8, ["color", "icon"]))], 6)) : xe("", !0)])); -} }), ct = sn({ __name: "SaveFieldButtons", props: { loading: { type: Boolean }, cancelButtonColor: {}, cancelButtonSize: {}, cancelButtonVariant: {}, cancelButtonTitle: {}, cancelIconColor: {}, error: { type: Boolean }, fieldOnly: { type: Boolean }, hideCancelIcon: { type: Boolean }, hideSaveIcon: { type: Boolean }, cancelIcon: {}, loadingIcon: {}, loadingIconColor: {}, saveButtonColor: {}, saveButtonSize: {}, saveButtonTitle: {}, saveButtonVariant: {}, saveIconColor: {}, saveIcon: {} }, emits: ["close", "save"], setup(e, { emit: t }) { - const n = Tn(), l = t, o = e, a = me(Symbol.for("vuetify:icons")), c = v(() => o.error), u = v(() => ({ [`${ie}--save-fields-container`]: !0 })), s = v(() => o.loading), i = ln({ ...n, ...o }), p = v(() => (a == null ? void 0 : a.defaultSet) === "fa" ? "fa-spin" : (a == null ? void 0 : a.defaultSet) === "mdi" ? "mdi-spin" : ""), y = v(() => ((C) => { - const { cancelButtonVariant: w } = C; - return { "me-1": w === "elevated", "ms-1": !0 }; - })({ cancelButtonVariant: i.cancelButtonVariant })), f = v(() => on({ icon: o.cancelIcon, iconOptions: a, name: "false" })), m = v(() => on({ icon: o.loadingIcon, iconOptions: a, name: "loading" })), h = v(() => on({ icon: o.saveIcon, iconOptions: a, name: "save" })); - function b() { - l("close"); - } - function g() { - l("save"); - } - return (C, w) => (J(), ce("div", Z({ class: r(u) }, C.$attrs), [r(i).hideSaveIcon ? xe("", !0) : (J(), ze(Wo, { key: 0, class: "ms-1", color: r(i).saveButtonColor, disabled: r(c), icon: "", size: r(i).saveButtonSize, title: r(s) ? "Loading" : r(i).saveButtonTitle, variant: r(i).saveButtonVariant, onClick: g }, { default: he(() => [r(s) ? (J(), ze(Se, { key: 1, class: le(r(p)), color: r(i).loadingIconColor, icon: r(m) }, null, 8, ["class", "color", "icon"])) : (J(), ze(Se, { key: 0, color: r(c) ? "error" : r(i).saveIconColor, icon: r(h) }, null, 8, ["color", "icon"]))]), _: 1 }, 8, ["color", "disabled", "size", "title", "variant"])), r(i).hideCancelIcon ? xe("", !0) : (J(), ze(Wo, { key: 1, class: le(r(y)), color: r(i).cancelButtonColor, icon: "", size: r(i).cancelButtonSize, title: r(i).cancelButtonTitle, variant: r(i).cancelButtonVariant, onClick: b }, { default: he(() => [r(i).hideSaveIcon && r(s) ? (J(), ze(Se, { key: 0, class: le(r(p)), color: r(i).loadingIconColor, icon: r(m) }, null, 8, ["class", "color", "icon"])) : (J(), ze(Se, { key: 1, class: "text-default", color: r(i).cancelIconColor, icon: r(f) }, null, 8, ["color", "icon"]))]), _: 1 }, 8, ["class", "color", "size", "title", "variant"]))], 16)); -} }), dl = (e) => { - const { required: t, rules: n } = e; - let { value: l } = e; - l = r(l); - const o = []; - let a = !1; - if (t && !l) - return o.push("Field is required."), { errors: !0, results: o }; - if (n) { - for (const c of n) { - const u = (typeof c == "function" ? c : () => c)(l); - u !== !0 && (typeof u == "string" ? o.push(u) : console.warn(`${u} is not a valid value. Rule functions must return boolean true or a string.`)); - } - a = o.length > 0; - } - return { errors: a, results: o }; -}, dt = (e) => { - const { attrs: t, closeSiblings: n, fieldOnly: l, props: o, showField: a, timeOpened: c } = e; - let u = c; - return n && !l && (u = /* @__PURE__ */ new Date()), { settings: { ...t, ...o }, showField: !r(a), timeOpened: u }; -}, ao = (e) => { - const { length: t = 0 } = e; - let { suffix: n, text: l } = e; - return l = l.toString(), n = n || "...", l.length > t ? `${l.substring(0, t)}${n}` : l; -}, pt = ["error", "update", "update:closeSiblingFields", "update:model-value"], ks = ["cancelButtonColor", "cancelButtonSize", "cancelButtonTitle", "cancelButtonVariant", "cancelIcon", "cancelIconColor", "closeSiblings", "displayAppendIcon", "displayAppendIconColor", "displayAppendIconSize", "displayAppendInnerIcon", "displayAppendInnerIconColor", "displayAppendInnerIconSize", "displayPrependIcon", "displayPrependIconColor", "displayPrependIconSize", "displayPrependInnerIcon", "displayPrependInnerIconColor", "displayPrependInnerIconSize", "emptyText", "fieldOnly", "hideSaveIcon", "item", "loadingIcon", "loadingIconColor", "loadingWait", "saveButtonColor", "saveButtonSize", "saveButtonTitle", "saveButtonVariant", "saveIcon", "saveIconColor", "tableField", "truncateLength", "truncateSuffix", "underlineColor", "underlineStyle", "underlineWidth", "underlined", "valueColor"], zt = (e) => { - let t = e; - return t = Object.entries(t).filter(([n]) => !ks.includes(n)), Object.fromEntries(t); -}, ws = { class: "v-selection-control__wrapper" }, mi = sn({ __name: "VInlineCheckbox", props: Qe(Xn({ density: {}, falseIcon: {}, trueIcon: {}, cancelButtonColor: {}, cancelButtonSize: {}, cancelButtonTitle: {}, cancelButtonVariant: {}, cancelIcon: {}, cancelIconColor: {}, cardField: { type: Boolean }, cardOffsetX: {}, cardOffsetY: {}, cardProps: {}, cell: { type: Boolean }, cellUnderlineFullWidth: { type: Boolean }, closeSiblings: { type: Boolean }, color: {}, disabled: { type: Boolean }, displayAppendIcon: {}, displayAppendIconColor: {}, displayAppendIconSize: {}, displayAppendInnerIcon: {}, displayAppendInnerIconColor: {}, displayAppendInnerIconSize: {}, displayPrependIcon: {}, displayPrependIconColor: {}, displayPrependIconSize: {}, displayPrependInnerIcon: {}, displayPrependInnerIconColor: {}, displayPrependInnerIconSize: {}, emptyText: {}, error: { type: Boolean }, falseValue: { type: [Boolean, String] }, fieldOnly: { type: Boolean }, hideCancelIcon: { type: Boolean }, hideDetails: { type: Boolean }, hideSaveIcon: { type: Boolean }, iconFalse: {}, iconFalseColor: {}, iconFalseTitle: {}, iconTrue: {}, iconTrueColor: {}, iconTrueTitle: {}, icons: { type: Boolean }, item: {}, label: {}, loading: { type: Boolean }, loadingIcon: {}, loadingIconColor: {}, loadingWait: { type: Boolean }, name: {}, required: { type: Boolean }, saveButtonColor: {}, saveButtonSize: {}, saveButtonTitle: {}, saveButtonVariant: {}, saveIcon: {}, saveIconColor: {}, tableField: { type: Boolean }, trueValue: { type: [Boolean, String] }, underlineColor: {}, underlineStyle: {}, underlineWidth: {}, underlined: { type: Boolean }, valueColor: {} }, { ...Oi }), { modelValue: {} }), emits: Qe([...pt], ["update:modelValue"]), setup(e, { emit: t }) { - const n = $n(e, "modelValue"), l = Tn(), o = En(), a = t, c = me(Mn, {}), u = me(Symbol.for("vuetify:icons")), s = Wl(), i = e; - let p = ln({ ...l, ...i, ...c }); - const { cancelButtonColor: y, cancelButtonSize: f, cancelButtonTitle: m, cancelButtonVariant: h, cancelIcon: b, cancelIconColor: g, cardField: C, closeSiblings: w, color: O, fieldOnly: G, hideCancelIcon: T, hideDetails: $, loadingIcon: R, loadingIconColor: P, saveButtonColor: S, saveButtonSize: A, saveButtonTitle: I, saveButtonVariant: F, saveIcon: _, saveIconColor: M } = xn(p), N = v(() => i.disabled), k = v(() => i.loading), B = D(!1), x = D(!1), V = D(null), j = v(() => zt(p)), L = v(() => ({ ...Zn, ...i.cardProps })); - K(() => k.value, (re, X) => { - !re && X && x.value && Ae(); +}, pn = ["error", "update", "update:closeSiblingFields", "update:model-value"], Cs = ["cancelButtonColor", "cancelButtonSize", "cancelButtonTitle", "cancelButtonVariant", "cancelIcon", "cancelIconColor", "closeSiblings", "displayAppendIcon", "displayAppendIconColor", "displayAppendIconSize", "displayAppendInnerIcon", "displayAppendInnerIconColor", "displayAppendInnerIconSize", "displayPrependIcon", "displayPrependIconColor", "displayPrependIconSize", "displayPrependInnerIcon", "displayPrependInnerIconColor", "displayPrependInnerIconSize", "emptyText", "fieldOnly", "hideSaveIcon", "item", "loadingIcon", "loadingIconColor", "loadingWait", "saveButtonColor", "saveButtonSize", "saveButtonTitle", "saveButtonVariant", "saveIcon", "saveIconColor", "tableField", "truncateLength", "truncateSuffix", "underlineColor", "underlineStyle", "underlineWidth", "underlined", "valueColor"], zn = (e) => { + let n = e; + return n = Object.entries(n).filter(([t]) => !Cs.includes(t)), Object.fromEntries(n); +}, Is = { class: "v-selection-control__wrapper" }, Ss = rt({ __name: "VInlineCheckbox", props: Qe(Yt({ density: {}, falseIcon: {}, trueIcon: {}, cancelButtonColor: {}, cancelButtonSize: {}, cancelButtonTitle: {}, cancelButtonVariant: {}, cancelIcon: {}, cancelIconColor: {}, cardField: { type: Boolean }, cardOffsetX: {}, cardOffsetY: {}, cardProps: {}, cell: { type: Boolean }, cellUnderlineFullWidth: { type: Boolean }, closeSiblings: { type: Boolean }, color: {}, disabled: { type: Boolean }, displayAppendIcon: {}, displayAppendIconColor: {}, displayAppendIconSize: {}, displayAppendInnerIcon: {}, displayAppendInnerIconColor: {}, displayAppendInnerIconSize: {}, displayPrependIcon: {}, displayPrependIconColor: {}, displayPrependIconSize: {}, displayPrependInnerIcon: {}, displayPrependInnerIconColor: {}, displayPrependInnerIconSize: {}, emptyText: {}, error: { type: Boolean }, falseValue: { type: [Boolean, String] }, fieldOnly: { type: Boolean }, hideCancelIcon: { type: Boolean }, hideDetails: { type: Boolean }, hideSaveIcon: { type: Boolean }, iconFalse: {}, iconFalseColor: {}, iconFalseTitle: {}, iconTrue: {}, iconTrueColor: {}, iconTrueTitle: {}, icons: { type: Boolean }, item: {}, label: {}, loading: { type: Boolean }, loadingIcon: {}, loadingIconColor: {}, loadingWait: { type: Boolean }, name: {}, required: { type: Boolean }, saveButtonColor: {}, saveButtonSize: {}, saveButtonTitle: {}, saveButtonVariant: {}, saveIcon: {}, saveIconColor: {}, tableField: { type: Boolean }, trueValue: { type: [Boolean, String] }, underlineColor: {}, underlineStyle: {}, underlineWidth: {}, underlined: { type: Boolean }, valueColor: {} }, { ...wi }), { modelValue: {} }), emits: Qe([...pn], ["update:modelValue"]), setup(e, { emit: n }) { + const t = $t(e, "modelValue"), l = Ot(), o = Et(), a = n, c = me(Wt, {}), u = me(Symbol.for("vuetify:icons")), s = Wl(), i = e; + let p = lt({ ...l, ...i, ...c }); + const { cancelButtonColor: y, cancelButtonSize: f, cancelButtonTitle: m, cancelButtonVariant: h, cancelIcon: b, cancelIconColor: g, cardField: I, closeSiblings: k, color: w, fieldOnly: q, hideCancelIcon: P, hideDetails: z, loadingIcon: M, loadingIconColor: $, saveButtonColor: S, saveButtonSize: O, saveButtonTitle: C, saveButtonVariant: F, saveIcon: V, saveIconColor: j } = Bt(p), _ = v(() => i.disabled), A = v(() => i.loading), B = D(!1), x = D(!1), E = D(null), N = v(() => zn(p)), R = v(() => ({ ...Jt, ...i.cardProps })); + K(() => A.value, (le, X) => { + !le && X && x.value && Ve(); }); - const z = v(() => on({ icon: i.trueIcon, iconOptions: u, name: "checkboxFalse" })), Q = v(() => on({ icon: i.iconTrue, iconOptions: u, name: "checkboxTrue" })), E = v(() => n.value == p.trueValue), U = v(() => yi({ modelValue: n, trueValue: p.trueValue })), W = v(() => it({ cell: p.cell && !x.value, density: p.density, disabled: N.value, field: "v-checkbox", loading: k.value, loadingWait: p.loadingWait, tableField: p.tableField })), q = v(() => rt({ cell: p.cell, cellUnderlineFullWidth: p.cellUnderlineFullWidth, density: p.density, field: "v-checkbox" })), Y = fi({ density: p.density }), ee = v(() => st({ active: x.value, name: "checkbox" })), pe = v(() => lo("checkbox", p.valueColor, { error: B })), be = v(() => ut({ name: "checkbox", showField: x.value })), ge = v(() => ({})), We = v(() => oo({ color: p.color, error: B, theme: s, underlineColor: p.underlineColor, underlineStyle: p.underlineStyle, underlineWidth: p.underlineWidth, underlined: p.underlined })), Ve = v(() => Be.value); + const L = v(() => ot({ icon: i.trueIcon, iconOptions: u, name: "checkboxFalse" })), Q = v(() => ot({ icon: i.iconTrue, iconOptions: u, name: "checkboxTrue" })), T = v(() => t.value == p.trueValue), G = v(() => mi({ modelValue: t, trueValue: p.trueValue })), W = v(() => Zt({ cell: p.cell && !x.value, density: p.density, disabled: _.value, field: "v-checkbox", loading: A.value, loadingWait: p.loadingWait, tableField: p.tableField })), U = v(() => Qt({ cell: p.cell, cellUnderlineFullWidth: p.cellUnderlineFullWidth, density: p.density, field: "v-checkbox" })), Y = ia({ density: p.density }), ee = v(() => en({ active: x.value, name: "checkbox" })), pe = v(() => Rl("checkbox", p.valueColor, { error: B })), be = v(() => tn({ name: "checkbox", showField: x.value })), ge = v(() => ({})), We = v(() => ao({ color: p.color, error: B, theme: s, underlineColor: p.underlineColor, underlineStyle: p.underlineStyle, underlineWidth: p.underlineWidth, underlined: p.underlined })), Ae = v(() => Be.value); function ke() { - B.value = !1, Ae(); + B.value = !1, Ve(); } - const Be = D(), Oe = D(null), we = D("body"), Ee = _i(); - function Ae() { + const Be = D(), Oe = D(null), we = D("body"), Ee = ki(); + function Ve() { var X, Ie; - if (N.value || p.loadingWait && k.value) + if (_.value || p.loadingWait && A.value) return; - Be.value = _n({ cardMinWidth: (X = p.cardProps) == null ? void 0 : X.minWidth, cardOffsetX: p.cardOffsetX, cardOffsetY: p.cardOffsetY, cardWidth: (Ie = p.cardProps) == null ? void 0 : Ie.width, field: Oe.value, name: "checkbox" }); - const re = dt({ attrs: l, closeSiblings: w.value, fieldOnly: p.fieldOnly, props: i, showField: x, timeOpened: V.value }); - p = { ...p, ...re.settings }, x.value = re.showField, V.value = re.timeOpened, te !== null && w.value && x.value && !p.fieldOnly && te.emit(re.timeOpened); + Be.value = Vt({ cardMinWidth: (X = p.cardProps) == null ? void 0 : X.minWidth, cardOffsetX: p.cardOffsetX, cardOffsetY: p.cardOffsetY, cardWidth: (Ie = p.cardProps) == null ? void 0 : Ie.width, field: Oe.value, name: "checkbox" }); + const le = dn({ attrs: l, closeSiblings: k.value, fieldOnly: p.fieldOnly, props: i, showField: x, timeOpened: E.value }); + p = { ...p, ...le.settings }, x.value = le.showField, E.value = le.timeOpened, ne !== null && k.value && x.value && !p.fieldOnly && ne.emit(le.timeOpened); } - function ve(re) { - n.value = re, a("update", re), p.loadingWait || Ae(); + function ve(le) { + t.value = le, a("update", le), p.loadingWait || Ve(); } - let te, fe; - function De(re) { - a("update:closeSiblingFields", V), x.value && V.value !== re && Ae(); + let ne, fe; + function De(le) { + a("update:closeSiblingFields", E), x.value && E.value !== le && Ve(); } return K(() => Ee, () => { - var re, X; - Be.value = _n({ cardMinWidth: (re = p.cardProps) == null ? void 0 : re.minWidth, cardOffsetX: p.cardOffsetX, cardOffsetY: p.cardOffsetY, cardWidth: (X = p.cardProps) == null ? void 0 : X.width, field: Oe.value, name: "checkbox" }); - }, { deep: !0 }), w.value && import("@vueuse/core").then(({ useEventBus: re }) => { - te = re(Jn), fe = te.on(De); - }), Kn(() => { - fe !== void 0 && te.off(De); - }), (re, X) => (J(), ce("div", { ref_key: "inlineFieldsContainer", ref: Oe, class: le(r(W)), style: Te(r(ge)) }, [!r(x) && !r(p).fieldOnly || r(C) ? (J(), ce("div", { key: 0, class: le(r(q)), onClick: X[2] || (X[2] = (Ie) => r(p).cell ? Ae() : void 0) }, [Ge("div", { class: le(r(Y)), onClick: X[1] || (X[1] = (Ie) => r(p).cell ? void 0 : Ae()) }, [Ge("div", ws, [re.icons ? (J(), ce("div", { key: 0, class: le(["v-inline-fields--boolean-icons-container", r(pe)]), style: Te(r(We)) }, [d(r(vi), { modelValue: r(U), "onUpdate:modelValue": X[0] || (X[0] = (Ie) => On(U) ? U.value = Ie : null), "icon-false": r(p).iconFalse, "icon-false-color": r(p).iconFalseColor, "icon-false-title": r(p).iconFalseTitle, "icon-true": r(p).iconTrue, "icon-true-color": r(p).iconTrueColor, "icon-true-title": r(p).iconTrueTitle }, null, 8, ["modelValue", "icon-false", "icon-false-color", "icon-false-title", "icon-true", "icon-true-color", "icon-true-title"])], 6)) : (J(), ce("div", { key: 1, class: le(["d-inline-flex align-center justify-center", r(pe)]), style: Te(r(We)) }, Ll(r(E)), 7))])], 2)], 2)) : xe("", !0), r(x) || r(G) || r(C) ? (J(), ce("div", { key: 1, class: le(r(ee)) }, [(J(), ze(Pn, { disabled: !r(C), to: r(we) }, [d(Cr, Z(r(j), { color: r(O), density: r(p).density, disabled: r(k) || r(N), error: r(B), "false-icon": r(z), "false-value": r(p).falseValue, "hide-details": r($), label: r(p).label, "model-value": r(U), "true-icon": r(Q), "true-value": r(p).trueValue, "onUpdate:modelValue": ve }), vn({ _: 2 }, [fn(r(o), (Ie, ue) => ({ name: ue, fn: he((_e) => [Ye(re.$slots, ue, Pe(Re({ ..._e })))]) })), r(o).append ? void 0 : { name: "append", fn: he(() => [d(r(ct), { "cancel-button-color": r(y), "cancel-button-size": r(f), "cancel-button-title": r(m), "cancel-button-variant": r(h), "cancel-icon": r(b), "cancel-icon-color": r(g), error: r(B), "field-only": r(G), "hide-cancel-icon": r(T), "hide-save-icon": !0, loading: r(k), "loading-icon": r(R), "loading-icon-color": r(P), "save-button-color": r(S), "save-button-size": r(A), "save-button-title": r(I), "save-button-variant": r(F), "save-icon": r(_), "save-icon-color": r(M), onClose: ke, onSave: ve }, null, 8, ["cancel-button-color", "cancel-button-size", "cancel-button-title", "cancel-button-variant", "cancel-icon", "cancel-icon-color", "error", "field-only", "hide-cancel-icon", "loading", "loading-icon", "loading-icon-color", "save-button-color", "save-button-size", "save-button-title", "save-button-variant", "save-icon", "save-icon-color"])]), key: "0" }]), 1040, ["color", "density", "disabled", "error", "false-icon", "false-value", "hide-details", "label", "model-value", "true-icon", "true-value"])], 8, ["disabled", "to"]))], 2)) : xe("", !0), r(C) ? (J(), ce("div", { key: 2, class: le(r(be)), style: Te(r(Ve)) }, [d(at, Pe(Re(r(L))), { default: he(() => [d(Wn, null, { default: he(() => [Ge("div", { ref_key: "cardFieldRef", ref: we }, null, 512)]), _: 1 })]), _: 1 }, 16)], 6)) : xe("", !0)], 6)); -} }), gi = sn({ __name: "VInlineCustomField", props: Qe(Xn({ clearIcon: {}, density: {}, rules: {}, variant: {}, autofocus: { type: Boolean }, cancelButtonColor: {}, cancelButtonSize: {}, cancelButtonTitle: {}, cancelButtonVariant: {}, cancelIcon: {}, cancelIconColor: {}, cardField: { type: Boolean }, cardOffsetX: {}, cardOffsetY: {}, cardProps: {}, cell: { type: Boolean }, cellUnderlineFullWidth: { type: Boolean }, closeSiblings: { type: Boolean }, color: {}, disabled: { type: Boolean }, displayAppendIcon: {}, displayAppendIconColor: {}, displayAppendIconSize: {}, displayAppendInnerIcon: {}, displayAppendInnerIconColor: {}, displayAppendInnerIconSize: {}, displayPrependIcon: {}, displayPrependIconColor: {}, displayPrependIconSize: {}, displayPrependInnerIcon: {}, displayPrependInnerIconColor: {}, displayPrependInnerIconSize: {}, emptyText: {}, error: { type: Boolean }, fieldOnly: { type: Boolean }, hideCancelIcon: { type: Boolean }, hideDetails: { type: Boolean }, hideSaveIcon: { type: Boolean }, item: {}, label: {}, loading: { type: Boolean }, loadingIcon: {}, loadingIconColor: {}, loadingWait: { type: Boolean }, name: {}, required: { type: Boolean }, saveButtonColor: {}, saveButtonSize: {}, saveButtonTitle: {}, saveButtonVariant: {}, saveIcon: {}, saveIconColor: {}, tableField: { type: Boolean }, truncateLength: {}, truncateSuffix: {}, underlineColor: {}, underlineStyle: {}, underlineWidth: {}, underlined: { type: Boolean }, valueColor: {} }, { ...oa }), { modelValue: {} }), emits: Qe([...pt], ["update:modelValue"]), setup(e, { emit: t }) { - const n = $n(e, "modelValue"), l = Tn(), o = En(), a = t, c = me(Mn, {}), u = me(Symbol.for("vuetify:icons")), s = e; - let i = ln({ ...l, ...s, ...c }); - const { cancelButtonColor: p, cancelButtonSize: y, cancelButtonTitle: f, cancelButtonVariant: m, cancelIcon: h, cancelIconColor: b, cardField: g, closeSiblings: C, fieldOnly: w, hideCancelIcon: O, hideSaveIcon: G, loadingIcon: T, loadingIconColor: $, saveButtonColor: R, saveButtonSize: P, saveButtonTitle: S, saveButtonVariant: A, saveIcon: I, saveIconColor: F } = xn(i), _ = v(() => s.disabled), M = v(() => s.loading), N = D(!1), k = D(!1), B = D(!1), x = D(null); - let V = n.value; - K(() => M.value, (te, fe) => { - !te && fe && B.value && ke(); + var le, X; + Be.value = Vt({ cardMinWidth: (le = p.cardProps) == null ? void 0 : le.minWidth, cardOffsetX: p.cardOffsetX, cardOffsetY: p.cardOffsetY, cardWidth: (X = p.cardProps) == null ? void 0 : X.width, field: Oe.value, name: "checkbox" }); + }, { deep: !0 }), k.value && import("@vueuse/core").then(({ useEventBus: le }) => { + ne = le(Kt), fe = ne.on(De); + }), Xt(() => { + fe !== void 0 && ne.off(De); + }), (le, X) => (J(), ce("div", { ref_key: "inlineFieldsContainer", ref: Oe, class: oe(r(W)), style: Te(r(ge)) }, [!r(x) && !r(q) || r(I) ? (J(), ce("div", { key: 0, class: oe(r(U)), onClick: X[2] || (X[2] = (Ie) => r(p).cell ? Ve() : void 0) }, [Ge("div", { class: oe(r(Y)), onClick: X[1] || (X[1] = (Ie) => r(p).cell ? void 0 : Ve()) }, [Ge("div", Is, [le.icons ? (J(), ce("div", { key: 0, class: oe(["v-inline-fields--boolean-icons-container", r(pe)]), style: Te(r(We)) }, [d(yi, { modelValue: r(G), "onUpdate:modelValue": X[0] || (X[0] = (Ie) => _t(G) ? G.value = Ie : null), "icon-false": le.iconFalse, "icon-false-color": le.iconFalseColor, "icon-false-title": le.iconFalseTitle, "icon-true": le.iconTrue, "icon-true-color": le.iconTrueColor, "icon-true-title": le.iconTrueTitle }, null, 8, ["modelValue", "icon-false", "icon-false-color", "icon-false-title", "icon-true", "icon-true-color", "icon-true-title"])], 6)) : (J(), ce("div", { key: 1, class: oe(["d-inline-flex align-center justify-center", r(pe)]), style: Te(r(We)) }, Ll(r(T)), 7))])], 2)], 2)) : xe("", !0), r(x) || r(q) || r(I) ? (J(), ce("div", { key: 1, class: oe(r(ee)) }, [(J(), ze(Pt, { disabled: !r(I), to: r(we) }, [d(yr, Z(r(N), { color: r(w), density: r(p).density, disabled: r(A) || r(_), error: r(B), "false-icon": r(L), "false-value": r(p).falseValue, "hide-details": r(z), label: r(p).label, "model-value": r(G), "true-icon": r(Q), "true-value": r(p).trueValue, "onUpdate:modelValue": ve }), pt({ _: 2 }, [vt(r(o), (Ie, ue) => ({ name: ue, fn: he((_e) => [Ye(le.$slots, ue, Pe(Re({ ..._e })))]) })), r(o).append ? void 0 : { name: "append", fn: he(() => [d(un, { "cancel-button-color": r(y), "cancel-button-size": r(f), "cancel-button-title": r(m), "cancel-button-variant": r(h), "cancel-icon": r(b), "cancel-icon-color": r(g), error: r(B), "field-only": r(q), "hide-cancel-icon": r(P), "hide-save-icon": !0, loading: r(A), "loading-icon": r(M), "loading-icon-color": r($), "save-button-color": r(S), "save-button-size": r(O), "save-button-title": r(C), "save-button-variant": r(F), "save-icon": r(V), "save-icon-color": r(j), onClose: ke, onSave: ve }, null, 8, ["cancel-button-color", "cancel-button-size", "cancel-button-title", "cancel-button-variant", "cancel-icon", "cancel-icon-color", "error", "field-only", "hide-cancel-icon", "loading", "loading-icon", "loading-icon-color", "save-button-color", "save-button-size", "save-button-title", "save-button-variant", "save-icon", "save-icon-color"])]), key: "0" }]), 1040, ["color", "density", "disabled", "error", "false-icon", "false-value", "hide-details", "label", "model-value", "true-icon", "true-value"])], 8, ["disabled", "to"]))], 2)) : xe("", !0), r(I) ? (J(), ce("div", { key: 2, class: oe(r(be)), style: Te(r(Ae)) }, [d(cn, Pe(Re(r(R))), { default: he(() => [d(Lt, null, { default: he(() => [Ge("div", { ref_key: "cardFieldRef", ref: we }, null, 512)]), _: 1 })]), _: 1 }, 16)], 6)) : xe("", !0)], 6)); +} }), dl = rt({ __name: "DisplayedValue", props: { color: {}, displayAppendIcon: {}, displayAppendIconColor: {}, displayAppendInnerIcon: {}, displayAppendInnerIconColor: {}, displayPrependIcon: {}, displayPrependIconColor: {}, displayPrependInnerIcon: {}, displayPrependInnerIconColor: {}, displayValue: {}, empty: { type: Boolean }, error: { type: Boolean }, field: {}, underlineColor: {}, underlineStyle: {}, underlineWidth: {}, underlined: { type: Boolean }, valueColor: {} }, emits: ["toggleField"], setup(e, { emit: n }) { + const t = n, l = e, o = Et(), a = Wl(), c = { displayValue: l.displayValue, empty: l.empty, error: l.error }, u = v(() => Rl(l.field, l.valueColor, { empty: l.empty, error: l.error })), s = v(() => ao({ color: l.color, error: l.error, theme: a, underlineColor: l.underlineColor, underlineStyle: l.underlineStyle, underlineWidth: l.underlineWidth, underlined: l.underlined })), i = v(() => ((f) => { + const { underlineWidth: m } = f; + return { borderBottom: `${m || "0px"} solid transparent` }; + })({ underlineWidth: l.underlineWidth })), p = (f, m = !1) => ((h) => { + const { inner: b = !1, position: g } = h; + return { [`${re}--display-icon`]: !b, [`${re}--display-${g}-icon`]: !b, [`${re}--display-${g}-inner-icon`]: b, "me-1": g === "prepend", "ms-1": g === "append" }; + })({ inner: m, position: f }); + function y() { + t("toggleField"); + } + return (f, m) => (J(), ce("div", { class: "v-inline-fields--display-wrapper", onClick: y }, [f.displayPrependIcon || r(o)["display.prepend"] ? (J(), ce("div", { key: 0, class: oe(p("prepend")), style: Te(r(i)) }, [r(o)["display.prepend"] ? Ye(f.$slots, "display.prepend", Pe(Z({ key: 0 }, c))) : (J(), ze(Se, { key: 1, color: f.displayPrependIconColor, icon: f.displayPrependIcon, size: "x-small" }, null, 8, ["color", "icon"]))], 6)) : xe("", !0), Ge("div", { class: oe(["d-inline-flex", r(u)]), style: Te(r(s)) }, [f.displayPrependInnerIcon || r(o)["display.prependInner"] ? (J(), ce("div", { key: 0, class: oe(p("prepend", !0)) }, [r(o)["display.prependInner"] ? Ye(f.$slots, "display.prependInner", Pe(Z({ key: 0 }, c))) : (J(), ze(Se, { key: 1, color: f.displayPrependInnerIconColor, icon: f.displayPrependInnerIcon, size: "x-small" }, null, 8, ["color", "icon"]))], 2)) : xe("", !0), la(" " + Ll(f.displayValue) + " ", 1), f.displayAppendInnerIcon || r(o)["display.appendInner"] ? (J(), ce("div", { key: 1, class: oe(p("append", !0)) }, [r(o)["display.appendInner"] ? Ye(f.$slots, "display.appendInner", Pe(Z({ key: 0 }, c))) : (J(), ze(Se, { key: 1, color: f.displayAppendInnerIconColor, icon: f.displayAppendInnerIcon, size: "x-small" }, null, 8, ["color", "icon"]))], 2)) : xe("", !0)], 6), f.displayAppendIcon || r(o)["display.append"] ? (J(), ce("div", { key: 1, class: oe(p("append")), style: Te(r(i)) }, [r(o)["display.append"] ? Ye(f.$slots, "display.append", Pe(Z({ key: 0 }, c))) : (J(), ze(Se, { key: 1, color: f.displayAppendIconColor, icon: f.displayAppendIcon, size: "x-small" }, null, 8, ["color", "icon"]))], 6)) : xe("", !0)])); +} }), Bs = rt({ __name: "VInlineCustomField", props: Qe(Yt({ clearIcon: {}, density: {}, rules: {}, variant: {}, autofocus: { type: Boolean }, cancelButtonColor: {}, cancelButtonSize: {}, cancelButtonTitle: {}, cancelButtonVariant: {}, cancelIcon: {}, cancelIconColor: {}, cardField: { type: Boolean }, cardOffsetX: {}, cardOffsetY: {}, cardProps: {}, cell: { type: Boolean }, cellUnderlineFullWidth: { type: Boolean }, closeSiblings: { type: Boolean }, color: {}, disabled: { type: Boolean }, displayAppendIcon: {}, displayAppendIconColor: {}, displayAppendIconSize: {}, displayAppendInnerIcon: {}, displayAppendInnerIconColor: {}, displayAppendInnerIconSize: {}, displayPrependIcon: {}, displayPrependIconColor: {}, displayPrependIconSize: {}, displayPrependInnerIcon: {}, displayPrependInnerIconColor: {}, displayPrependInnerIconSize: {}, emptyText: {}, error: { type: Boolean }, fieldOnly: { type: Boolean }, hideCancelIcon: { type: Boolean }, hideDetails: { type: Boolean }, hideSaveIcon: { type: Boolean }, item: {}, label: {}, loading: { type: Boolean }, loadingIcon: {}, loadingIconColor: {}, loadingWait: { type: Boolean }, name: {}, required: { type: Boolean }, saveButtonColor: {}, saveButtonSize: {}, saveButtonTitle: {}, saveButtonVariant: {}, saveIcon: {}, saveIconColor: {}, tableField: { type: Boolean }, truncateLength: {}, truncateSuffix: {}, underlineColor: {}, underlineStyle: {}, underlineWidth: {}, underlined: { type: Boolean }, valueColor: {} }, { ...aa }), { modelValue: {} }), emits: Qe([...pn], ["update:modelValue"]), setup(e, { emit: n }) { + const t = $t(e, "modelValue"), l = Ot(), o = Et(), a = n, c = me(Wt, {}), u = me(Symbol.for("vuetify:icons")), s = e; + let i = lt({ ...l, ...s, ...c }); + const { cancelButtonColor: p, cancelButtonSize: y, cancelButtonTitle: f, cancelButtonVariant: m, cancelIcon: h, cancelIconColor: b, cardField: g, closeSiblings: I, fieldOnly: k, hideCancelIcon: w, hideSaveIcon: q, loadingIcon: P, loadingIconColor: z, saveButtonColor: M, saveButtonSize: $, saveButtonTitle: S, saveButtonVariant: O, saveIcon: C, saveIconColor: F } = Bt(i), V = v(() => s.disabled), j = v(() => s.loading), _ = D(!1), A = D(!1), B = D(!1), x = D(null); + let E = t.value; + K(() => j.value, (ne, fe) => { + !ne && fe && B.value && ke(); }); - const j = v(() => n.value ? (N.value = !1, i.truncateLength ? ao({ length: i.truncateLength, suffix: i.truncateSuffix, text: n.value }) : n.value) : (N.value = !0, i.emptyText)), L = v(() => ({ ...i, loading: M.value, modelValue: n.value, originalValue: V })), z = v(() => ({ color: i.color, displayAppendIcon: s.displayAppendIcon, displayAppendIconColor: s.displayAppendIconColor, displayAppendIconSize: s.displayAppendIconSize, displayAppendInnerIcon: s.displayAppendInnerIcon, displayAppendInnerIconColor: s.displayAppendInnerIconColor, displayAppendInnerIconSize: s.displayAppendInnerIconSize, displayPrependIcon: s.displayPrependIcon, displayPrependIconColor: s.displayPrependIconColor, displayPrependIconSize: s.displayPrependIconSize, displayPrependInnerIcon: s.displayPrependInnerIcon, displayPrependInnerIconColor: s.displayPrependInnerIconColor, displayPrependInnerIconSize: s.displayPrependInnerIconSize, displayValue: j.value, empty: N.value, error: k.value, field: "v-text-field", underlineColor: i.underlineColor, underlineStyle: i.underlineStyle, underlineWidth: i.underlineWidth, underlined: i.underlined, valueColor: i.valueColor })), Q = v(() => ({ ...Zn, ...s.cardProps })), E = v(() => it({ cell: i.cell && !B.value, density: i.density, disabled: _.value, field: "v-text-field", iconSet: u == null ? void 0 : u.defaultSet, loading: M.value, loadingWait: i.loadingWait, tableField: i.tableField, variant: i.variant })), U = v(() => rt({ cell: i.cell, cellUnderlineFullWidth: i.cellUnderlineFullWidth, density: i.density, field: "v-text-field" })), W = ul({ density: i.density, variant: i.variant }), q = v(() => st({ active: B.value, name: "text-field" })), Y = v(() => ut({ name: "custom-field", showField: B.value })), ee = v(() => ({})), pe = v(() => ge.value); + const N = v(() => t.value ? (_.value = !1, i.truncateLength ? oo({ length: i.truncateLength, suffix: i.truncateSuffix, text: t.value }) : t.value) : (_.value = !0, i.emptyText)), R = v(() => ({ ...i, loading: j.value, modelValue: t.value, originalValue: E })), L = v(() => ({ color: i.color, displayAppendIcon: s.displayAppendIcon, displayAppendIconColor: s.displayAppendIconColor, displayAppendIconSize: s.displayAppendIconSize, displayAppendInnerIcon: s.displayAppendInnerIcon, displayAppendInnerIconColor: s.displayAppendInnerIconColor, displayAppendInnerIconSize: s.displayAppendInnerIconSize, displayPrependIcon: s.displayPrependIcon, displayPrependIconColor: s.displayPrependIconColor, displayPrependIconSize: s.displayPrependIconSize, displayPrependInnerIcon: s.displayPrependInnerIcon, displayPrependInnerIconColor: s.displayPrependInnerIconColor, displayPrependInnerIconSize: s.displayPrependInnerIconSize, displayValue: N.value, empty: _.value, error: A.value, field: "v-text-field", underlineColor: i.underlineColor, underlineStyle: i.underlineStyle, underlineWidth: i.underlineWidth, underlined: i.underlined, valueColor: i.valueColor })), Q = v(() => ({ ...Jt, ...s.cardProps })), T = v(() => Zt({ cell: i.cell && !B.value, density: i.density, disabled: V.value, field: "v-text-field", iconSet: u == null ? void 0 : u.defaultSet, loading: j.value, loadingWait: i.loadingWait, tableField: i.tableField, variant: i.variant })), G = v(() => Qt({ cell: i.cell, cellUnderlineFullWidth: i.cellUnderlineFullWidth, density: i.density, field: "v-text-field" })), W = al({ density: i.density, variant: i.variant }), U = v(() => en({ active: B.value, name: "text-field" })), Y = v(() => tn({ name: "custom-field", showField: B.value })), ee = v(() => ({})), pe = v(() => ge.value); function be() { - k.value = !1, n.value = V, ke(); + A.value = !1, t.value = E, ke(); } - const ge = D(), We = D(null), Ve = D("body"); + const ge = D(), We = D(null), Ae = D("body"); function ke() { var fe, De; - if (_.value || i.loadingWait && M.value) + if (V.value || i.loadingWait && j.value) return; - ge.value = _n({ cardMinWidth: (fe = i.cardProps) == null ? void 0 : fe.minWidth, cardOffsetX: i.cardOffsetX, cardOffsetY: i.cardOffsetY, cardWidth: (De = i.cardProps) == null ? void 0 : De.width, field: We.value }); - const te = dt({ attrs: l, closeSiblings: C.value, fieldOnly: i.fieldOnly, props: s, showField: B, timeOpened: x.value }); - i = { ...i, ...te.settings }, B.value = te.showField, x.value = te.timeOpened, Ee !== null && C.value && B.value && !i.fieldOnly && Ee.emit(te.timeOpened); + ge.value = Vt({ cardMinWidth: (fe = i.cardProps) == null ? void 0 : fe.minWidth, cardOffsetX: i.cardOffsetX, cardOffsetY: i.cardOffsetY, cardWidth: (De = i.cardProps) == null ? void 0 : De.width, field: We.value }); + const ne = dn({ attrs: l, closeSiblings: I.value, fieldOnly: i.fieldOnly, props: s, showField: B, timeOpened: x.value }); + i = { ...i, ...ne.settings }, B.value = ne.showField, x.value = ne.timeOpened, Ee !== null && I.value && B.value && !i.fieldOnly && Ee.emit(ne.timeOpened); } const Be = D(); function Oe() { - const te = dl({ required: i.required, rules: i.rules, value: n }); - return k.value = te.errors, Be.value = te.results, te.results; + const ne = cl({ required: i.required, rules: i.rules, value: t }); + return A.value = ne.errors, Be.value = ne.results, ne.results; } function we() { - k.value ? k.value = !0 : (V = n.value, a("update", n.value), i.loadingWait || ke()); + A.value ? A.value = !0 : (E = t.value, a("update", t.value), i.loadingWait || ke()); } - let Ee, Ae; - function ve(te) { - a("update:closeSiblingFields", x), B.value && x.value !== te && be(); + let Ee, Ve; + function ve(ne) { + a("update:closeSiblingFields", x), B.value && x.value !== ne && be(); } return K(() => B.value, () => { B.value && Oe(); - }), K(() => n.value, () => { + }), K(() => t.value, () => { B.value && Oe(); - }), C.value && import("@vueuse/core").then(({ useEventBus: te }) => { - Ee = te(Jn), Ae = Ee.on(ve); - }), Kn(() => { - Ae !== void 0 && Ee.off(ve); - }), (te, fe) => (J(), ce("div", { ref_key: "inlineFieldsContainer", ref: We, class: le(r(E)), style: Te(r(ee)) }, [!r(B) && !r(i).fieldOnly || r(g) ? (J(), ce("div", { key: 0, class: le(r(U)) }, [Ge("div", { class: le(r(W)) }, [d(r(cl), Z(r(z), { onToggleField: ke }), vn({ _: 2 }, [fn(r(o), (De, re) => ({ name: re, fn: he((X) => [Ye(te.$slots, re, Pe(Re({ ...X })))]) }))]), 1040)], 2)], 2)) : xe("", !0), r(B) || r(i).fieldOnly || r(g) ? (J(), ce("div", { key: 1, class: le(["d-flex align-center py-2", r(q)]) }, [(J(), ze(Pn, { disabled: !r(g), to: r(Ve) }, [Ye(te.$slots, "default", Pe(Re(r(L)))), d(r(ct), { "cancel-button-color": r(p), "cancel-button-size": r(y), "cancel-button-title": r(f), "cancel-button-variant": r(m), "cancel-icon": r(h), "cancel-icon-color": r(b), error: r(k), "field-only": r(w), "hide-cancel-icon": r(O), "hide-save-icon": r(G), loading: r(M), "loading-icon": r(T), "loading-icon-color": r($), "save-button-color": r(R), "save-button-size": r(P), "save-button-title": r(S), "save-button-variant": r(A), "save-icon": r(I), "save-icon-color": r(F), onClose: be, onSave: we }, null, 8, ["cancel-button-color", "cancel-button-size", "cancel-button-title", "cancel-button-variant", "cancel-icon", "cancel-icon-color", "error", "field-only", "hide-cancel-icon", "hide-save-icon", "loading", "loading-icon", "loading-icon-color", "save-button-color", "save-button-size", "save-button-title", "save-button-variant", "save-icon", "save-icon-color"])], 8, ["disabled", "to"]))], 2)) : xe("", !0), r(g) ? (J(), ce("div", { key: 2, class: le(r(Y)), style: Te(r(pe)) }, [d(at, Pe(Re(r(Q))), { default: he(() => [d(Wn, null, { default: he(() => [Ge("div", { ref_key: "cardFieldRef", ref: Ve }, null, 512)]), _: 1 })]), _: 1 }, 16)], 6)) : xe("", !0)], 6)); -} }), hi = ((e, t) => { - const n = e.__vccOpts || e; - for (const [l, o] of t) - n[l] = o; - return n; -})(sn({ __name: "VInlineSelect", props: Qe(Xn({ clearIcon: {}, clearable: {}, density: {}, hideSelected: {}, itemTitle: {}, itemValue: {}, items: {}, menu: {}, rules: {}, variant: {}, autofocus: { type: Boolean }, cancelButtonColor: {}, cancelButtonSize: {}, cancelButtonTitle: {}, cancelButtonVariant: {}, cancelIcon: {}, cancelIconColor: {}, cardField: { type: Boolean }, cardOffsetX: {}, cardOffsetY: {}, cardProps: {}, cell: { type: Boolean }, cellUnderlineFullWidth: { type: Boolean }, closeSiblings: { type: Boolean }, color: {}, disabled: { type: Boolean }, displayAppendIcon: {}, displayAppendIconColor: {}, displayAppendIconSize: {}, displayAppendInnerIcon: {}, displayAppendInnerIconColor: {}, displayAppendInnerIconSize: {}, displayPrependIcon: {}, displayPrependIconColor: {}, displayPrependIconSize: {}, displayPrependInnerIcon: {}, displayPrependInnerIconColor: {}, displayPrependInnerIconSize: {}, emptyText: {}, error: { type: Boolean }, fieldOnly: { type: Boolean }, hideCancelIcon: { type: Boolean }, hideDetails: { type: Boolean }, hideSaveIcon: { type: Boolean }, item: {}, label: {}, loading: { type: Boolean }, loadingIcon: {}, loadingIconColor: {}, loadingWait: { type: Boolean }, name: {}, required: { type: Boolean }, saveButtonColor: {}, saveButtonSize: {}, saveButtonTitle: {}, saveButtonVariant: {}, saveIcon: {}, saveIconColor: {}, tableField: { type: Boolean }, underlineColor: {}, underlineStyle: {}, underlineWidth: {}, underlined: { type: Boolean }, valueColor: {} }, { ...Pi }), { modelValue: {} }), emits: Qe([...pt], ["update:modelValue"]), setup(e, { emit: t }) { - const n = $n(e, "modelValue"), l = Tn(), o = En(), a = t, c = me(Mn, {}), u = me(Symbol.for("vuetify:icons")), s = e; - let i = ln({ ...l, ...s, ...c }); - const { cancelButtonColor: p, cancelButtonSize: y, cancelButtonTitle: f, cancelButtonVariant: m, cancelIcon: h, cancelIconColor: b, cardField: g, closeSiblings: C, color: w, fieldOnly: O, hideCancelIcon: G, hideDetails: T, hideSaveIcon: $, loadingIcon: R, loadingIconColor: P, saveButtonColor: S, saveButtonSize: A, saveButtonTitle: I, saveButtonVariant: F, saveIcon: _, saveIconColor: M, valueColor: N } = xn(i), k = v(() => s.disabled), B = v(() => s.loading), x = D(!1), V = D(!1), j = D(), L = D(!1), z = D(null); - let Q = n.value; + }), I.value && import("@vueuse/core").then(({ useEventBus: ne }) => { + Ee = ne(Kt), Ve = Ee.on(ve); + }), Xt(() => { + Ve !== void 0 && Ee.off(ve); + }), (ne, fe) => (J(), ce("div", { ref_key: "inlineFieldsContainer", ref: We, class: oe(r(T)), style: Te(r(ee)) }, [!r(B) && !r(i).fieldOnly || r(g) ? (J(), ce("div", { key: 0, class: oe(r(G)) }, [Ge("div", { class: oe(r(W)) }, [d(dl, Z(r(L), { onToggleField: ke }), pt({ _: 2 }, [vt(r(o), (De, le) => ({ name: le, fn: he((X) => [Ye(ne.$slots, le, Pe(Re({ ...X })))]) }))]), 1040)], 2)], 2)) : xe("", !0), r(B) || r(i).fieldOnly || r(g) ? (J(), ce("div", { key: 1, class: oe(["d-flex align-center py-2", r(U)]) }, [(J(), ze(Pt, { disabled: !r(g), to: r(Ae) }, [Ye(ne.$slots, "default", Pe(Re(r(R)))), d(un, { "cancel-button-color": r(p), "cancel-button-size": r(y), "cancel-button-title": r(f), "cancel-button-variant": r(m), "cancel-icon": r(h), "cancel-icon-color": r(b), error: r(A), "field-only": r(k), "hide-cancel-icon": r(w), "hide-save-icon": r(q), loading: r(j), "loading-icon": r(P), "loading-icon-color": r(z), "save-button-color": r(M), "save-button-size": r($), "save-button-title": r(S), "save-button-variant": r(O), "save-icon": r(C), "save-icon-color": r(F), onClose: be, onSave: we }, null, 8, ["cancel-button-color", "cancel-button-size", "cancel-button-title", "cancel-button-variant", "cancel-icon", "cancel-icon-color", "error", "field-only", "hide-cancel-icon", "hide-save-icon", "loading", "loading-icon", "loading-icon-color", "save-button-color", "save-button-size", "save-button-title", "save-button-variant", "save-icon", "save-icon-color"])], 8, ["disabled", "to"]))], 2)) : xe("", !0), r(g) ? (J(), ce("div", { key: 2, class: oe(r(Y)), style: Te(r(pe)) }, [d(cn, Pe(Re(r(Q))), { default: he(() => [d(Lt, null, { default: he(() => [Ge("div", { ref_key: "cardFieldRef", ref: Ae }, null, 512)]), _: 1 })]), _: 1 }, 16)], 6)) : xe("", !0)], 6)); +} }), xs = ((e, n) => { + const t = e.__vccOpts || e; + for (const [l, o] of n) + t[l] = o; + return t; +})(rt({ __name: "VInlineSelect", props: Qe(Yt({ clearIcon: {}, clearable: {}, density: {}, hideSelected: {}, itemTitle: {}, itemValue: {}, items: {}, menu: {}, rules: {}, variant: {}, autofocus: { type: Boolean }, cancelButtonColor: {}, cancelButtonSize: {}, cancelButtonTitle: {}, cancelButtonVariant: {}, cancelIcon: {}, cancelIconColor: {}, cardField: { type: Boolean }, cardOffsetX: {}, cardOffsetY: {}, cardProps: {}, cell: { type: Boolean }, cellUnderlineFullWidth: { type: Boolean }, closeSiblings: { type: Boolean }, color: {}, disabled: { type: Boolean }, displayAppendIcon: {}, displayAppendIconColor: {}, displayAppendIconSize: {}, displayAppendInnerIcon: {}, displayAppendInnerIconColor: {}, displayAppendInnerIconSize: {}, displayPrependIcon: {}, displayPrependIconColor: {}, displayPrependIconSize: {}, displayPrependInnerIcon: {}, displayPrependInnerIconColor: {}, displayPrependInnerIconSize: {}, emptyText: {}, error: { type: Boolean }, fieldOnly: { type: Boolean }, hideCancelIcon: { type: Boolean }, hideDetails: { type: Boolean }, hideSaveIcon: { type: Boolean }, item: {}, label: {}, loading: { type: Boolean }, loadingIcon: {}, loadingIconColor: {}, loadingWait: { type: Boolean }, name: {}, required: { type: Boolean }, saveButtonColor: {}, saveButtonSize: {}, saveButtonTitle: {}, saveButtonVariant: {}, saveIcon: {}, saveIconColor: {}, tableField: { type: Boolean }, underlineColor: {}, underlineStyle: {}, underlineWidth: {}, underlined: { type: Boolean }, valueColor: {} }, { ...Fi }), { modelValue: {} }), emits: Qe([...pn], ["update:modelValue"]), setup(e, { emit: n }) { + const t = $t(e, "modelValue"), l = Ot(), o = Et(), a = n, c = me(Wt, {}), u = me(Symbol.for("vuetify:icons")), s = e; + let i = lt({ ...l, ...s, ...c }); + const { cancelButtonColor: p, cancelButtonSize: y, cancelButtonTitle: f, cancelButtonVariant: m, cancelIcon: h, cancelIconColor: b, cardField: g, closeSiblings: I, color: k, fieldOnly: w, hideCancelIcon: q, hideDetails: P, hideSaveIcon: z, loadingIcon: M, loadingIconColor: $, saveButtonColor: S, saveButtonSize: O, saveButtonTitle: C, saveButtonVariant: F, saveIcon: V, saveIconColor: j, valueColor: _ } = Bt(i), A = v(() => s.disabled), B = v(() => s.loading), x = D(!1), E = D(!1), N = D(), R = D(!1), L = D(null); + let Q = t.value; K(() => B.value, (ue, _e) => { - !ue && _e && L.value && Ae(); + !ue && _e && R.value && Ve(); }); - const E = v(() => on({ icon: s.clearIcon, iconOptions: u, name: "clear" })), U = v(() => n.value && n.value[i.itemTitle] ? (x.value = !1, n.value[i.itemTitle]) : n.value ? n.value : (x.value = !0, i.emptyText)), W = v(() => zt(i)), q = v(() => ({ color: i.color, displayAppendIcon: s.displayAppendIcon, displayAppendIconColor: s.displayAppendIconColor, displayAppendIconSize: s.displayAppendIconSize, displayAppendInnerIcon: s.displayAppendInnerIcon, displayAppendInnerIconColor: s.displayAppendInnerIconColor, displayAppendInnerIconSize: s.displayAppendInnerIconSize, displayPrependIcon: s.displayPrependIcon, displayPrependIconColor: s.displayPrependIconColor, displayPrependIconSize: s.displayPrependIconSize, displayPrependInnerIcon: s.displayPrependInnerIcon, displayPrependInnerIconColor: s.displayPrependInnerIconColor, displayPrependInnerIconSize: s.displayPrependInnerIconSize, displayValue: U.value, empty: x.value, error: V.value, field: "v-text-field", underlineColor: i.underlineColor, underlineStyle: i.underlineStyle, underlineWidth: i.underlineWidth, underlined: i.underlined, valueColor: N.value })), Y = v(() => ({ ...Zn, ...s.cardProps })); - rn(() => { - j.value = i.items || []; + const T = v(() => ot({ icon: s.clearIcon, iconOptions: u, name: "clear" })), G = v(() => t.value && t.value[i.itemTitle] ? (x.value = !1, t.value[i.itemTitle]) : t.value ? t.value : (x.value = !0, i.emptyText)), W = v(() => zn(i)), U = v(() => ({ color: i.color, displayAppendIcon: s.displayAppendIcon, displayAppendIconColor: s.displayAppendIconColor, displayAppendIconSize: s.displayAppendIconSize, displayAppendInnerIcon: s.displayAppendInnerIcon, displayAppendInnerIconColor: s.displayAppendInnerIconColor, displayAppendInnerIconSize: s.displayAppendInnerIconSize, displayPrependIcon: s.displayPrependIcon, displayPrependIconColor: s.displayPrependIconColor, displayPrependIconSize: s.displayPrependIconSize, displayPrependInnerIcon: s.displayPrependInnerIcon, displayPrependInnerIconColor: s.displayPrependInnerIconColor, displayPrependInnerIconSize: s.displayPrependInnerIconSize, displayValue: G.value, empty: x.value, error: E.value, field: "v-text-field", underlineColor: i.underlineColor, underlineStyle: i.underlineStyle, underlineWidth: i.underlineWidth, underlined: i.underlined, valueColor: _.value })), Y = v(() => ({ ...Jt, ...s.cardProps })); + it(() => { + N.value = i.items || []; }); - const ee = v(() => it({ cell: i.cell && !L.value, density: i.density, disabled: k.value, field: "v-select", iconSet: u == null ? void 0 : u.defaultSet, loading: B.value, loadingWait: i.loadingWait, tableField: i.tableField, variant: i.variant })), pe = v(() => rt({ cell: i.cell, cellUnderlineFullWidth: i.cellUnderlineFullWidth, density: i.density, field: "v-select" })), be = ul({ density: i.density, variant: i.variant }), ge = v(() => st({ active: L.value, name: "select" })), We = v(() => ut({ name: "select", showField: L.value })), Ve = v(() => ({})), ke = v(() => Oe.value); + const ee = v(() => Zt({ cell: i.cell && !R.value, density: i.density, disabled: A.value, field: "v-select", iconSet: u == null ? void 0 : u.defaultSet, loading: B.value, loadingWait: i.loadingWait, tableField: i.tableField, variant: i.variant })), pe = v(() => Qt({ cell: i.cell, cellUnderlineFullWidth: i.cellUnderlineFullWidth, density: i.density, field: "v-select" })), be = al({ density: i.density, variant: i.variant }), ge = v(() => en({ active: R.value, name: "select" })), We = v(() => tn({ name: "select", showField: R.value })), Ae = v(() => ({})), ke = v(() => Oe.value); function Be() { - V.value = !1, n.value = Q, Ae(); + E.value = !1, t.value = Q, Ve(); } const Oe = D(), we = D(null), Ee = D("body"); - function Ae() { + function Ve() { var _e, qe; - if (k.value || i.loadingWait && B.value) + if (A.value || i.loadingWait && B.value) return; - Oe.value = _n({ cardMinWidth: (_e = i.cardProps) == null ? void 0 : _e.minWidth, cardOffsetX: i.cardOffsetX, cardOffsetY: i.cardOffsetY, cardWidth: (qe = i.cardProps) == null ? void 0 : qe.width, field: we.value }); - const ue = dt({ attrs: l, closeSiblings: C.value, fieldOnly: i.fieldOnly, props: s, showField: L, timeOpened: z.value }); - i = { ...i, ...ue.settings }, L.value = ue.showField, z.value = ue.timeOpened, re !== null && C.value && L.value && !i.fieldOnly && re.emit(ue.timeOpened); + Oe.value = Vt({ cardMinWidth: (_e = i.cardProps) == null ? void 0 : _e.minWidth, cardOffsetX: i.cardOffsetX, cardOffsetY: i.cardOffsetY, cardWidth: (qe = i.cardProps) == null ? void 0 : qe.width, field: we.value }); + const ue = dn({ attrs: l, closeSiblings: I.value, fieldOnly: i.fieldOnly, props: s, showField: R, timeOpened: L.value }); + i = { ...i, ...ue.settings }, R.value = ue.showField, L.value = ue.timeOpened, le !== null && I.value && R.value && !i.fieldOnly && le.emit(ue.timeOpened); } - const ve = D(), te = v(() => ve.value); + const ve = D(), ne = v(() => ve.value); function fe() { - const ue = dl({ required: i.required, rules: i.rules, value: n }); - return V.value = ue.errors, ve.value = ue.results, ue.results; + const ue = cl({ required: i.required, rules: i.rules, value: t }); + return E.value = ue.errors, ve.value = ue.results, ue.results; } function De() { - Q = n.value, a("update", n.value), i.loadingWait || Ae(); + Q = t.value, a("update", t.value), i.loadingWait || Ve(); } - let re, X; + let le, X; function Ie(ue) { - a("update:closeSiblingFields", z), L.value && z.value !== ue && Be(); - } - return K(() => L.value, () => { - L.value && fe(); - }), K(() => n.value, () => { - L.value && fe(); - }), C.value && import("@vueuse/core").then(({ useEventBus: ue }) => { - re = ue(Jn), X = re.on(Ie); - }), Kn(() => { - X !== void 0 && re.off(Ie); - }), (ue, _e) => (J(), ce("div", { ref_key: "inlineFieldsContainer", ref: we, class: le(r(ee)), style: Te(r(Ve)) }, [!r(L) && !r(i).fieldOnly || r(g) ? (J(), ce("div", { key: 0, class: le(r(pe)) }, [Ge("div", { class: le(r(be)) }, [d(r(cl), Z(r(q), { onToggleField: Ae }), vn({ _: 2 }, [fn(r(o), (qe, vt) => ({ name: vt, fn: he((pl) => [Ye(ue.$slots, vt, Pe(Re({ ...pl })), void 0, !0)]) }))]), 1040)], 2)], 2)) : xe("", !0), r(L) || r(i).fieldOnly || r(g) ? (J(), ce("div", { key: 1, class: le(r(ge)) }, [(J(), ze(Pn, { disabled: !r(g), to: r(Ee) }, [d(vs, Z(r(W), { modelValue: n.value, "onUpdate:modelValue": _e[0] || (_e[0] = (qe) => n.value = qe), autofocus: !r(i).fieldOnly || r(i).autofocus, "clear-icon": r(E), clearable: r(i).clearable, color: r(w), density: r(i).density, disabled: r(B) || r(k), error: r(V), "error-messages": r(te), "hide-details": r(T), "hide-selected": r(i).hideSelected, "item-title": r(i).itemTitle, "item-value": r(i).itemValue, items: r(j), label: r(i).label, loading: r(B), menu: r(i).menu && !r(i).fieldOnly && r(L), variant: r(i).variant, width: "100%", onKeyup: Gt(Be, ["esc"]) }), vn({ _: 2 }, [fn(r(o), (qe, vt) => ({ name: vt, fn: he((pl) => [Ye(ue.$slots, vt, Pe(Re({ ...pl })), void 0, !0)]) })), r(o).append ? void 0 : { name: "append", fn: he(() => [d(r(ct), { "cancel-button-color": r(p), "cancel-button-size": r(y), "cancel-button-title": r(f), "cancel-button-variant": r(m), "cancel-icon": r(h), "cancel-icon-color": r(b), error: r(V), "field-only": r(O), "hide-cancel-icon": r(G), "hide-save-icon": r($), loading: r(B), "loading-icon": r(R), "loading-icon-color": r(P), "save-button-color": r(S), "save-button-size": r(A), "save-button-title": r(I), "save-button-variant": r(F), "save-icon": r(_), "save-icon-color": r(M), onClose: Be, onSave: De }, null, 8, ["cancel-button-color", "cancel-button-size", "cancel-button-title", "cancel-button-variant", "cancel-icon", "cancel-icon-color", "error", "field-only", "hide-cancel-icon", "hide-save-icon", "loading", "loading-icon", "loading-icon-color", "save-button-color", "save-button-size", "save-button-title", "save-button-variant", "save-icon", "save-icon-color"])]), key: "0" }]), 1040, ["modelValue", "autofocus", "clear-icon", "clearable", "color", "density", "disabled", "error", "error-messages", "hide-details", "hide-selected", "item-title", "item-value", "items", "label", "loading", "menu", "variant"])], 8, ["disabled", "to"]))], 2)) : xe("", !0), r(g) ? (J(), ce("div", { key: 2, class: le(r(We)), style: Te(r(ke)) }, [d(at, Pe(Re(r(Y))), { default: he(() => [d(Wn, null, { default: he(() => [Ge("div", { ref_key: "cardFieldRef", ref: Ee }, null, 512)]), _: 1 })]), _: 1 }, 16)], 6)) : xe("", !0)], 6)); -} }), [["__scopeId", "data-v-0716e076"]]), Fs = { class: "v-selection-control__wrapper" }, bi = sn({ __name: "VInlineSwitch", props: Qe(Xn({ density: {}, falseIcon: {}, cancelButtonColor: {}, cancelButtonSize: {}, cancelButtonTitle: {}, cancelButtonVariant: {}, cancelIcon: {}, cancelIconColor: {}, cardField: { type: Boolean }, cardOffsetX: {}, cardOffsetY: {}, cardProps: {}, cell: { type: Boolean }, cellUnderlineFullWidth: { type: Boolean }, closeSiblings: { type: Boolean }, color: {}, disabled: { type: Boolean }, displayAppendIcon: {}, displayAppendIconColor: {}, displayAppendIconSize: {}, displayAppendInnerIcon: {}, displayAppendInnerIconColor: {}, displayAppendInnerIconSize: {}, displayPrependIcon: {}, displayPrependIconColor: {}, displayPrependIconSize: {}, displayPrependInnerIcon: {}, displayPrependInnerIconColor: {}, displayPrependInnerIconSize: {}, emptyText: {}, error: { type: Boolean }, falseValue: { type: [Boolean, String] }, fieldOnly: { type: Boolean }, hideCancelIcon: { type: Boolean }, hideDetails: { type: Boolean }, hideSaveIcon: { type: Boolean }, iconFalse: {}, iconFalseColor: {}, iconFalseTitle: {}, iconTrue: {}, iconTrueColor: {}, iconTrueTitle: {}, icons: { type: Boolean }, item: {}, label: {}, loading: { type: Boolean }, loadingIcon: {}, loadingIconColor: {}, loadingWait: { type: Boolean }, name: {}, required: { type: Boolean }, saveButtonColor: {}, saveButtonSize: {}, saveButtonTitle: {}, saveButtonVariant: {}, saveIcon: {}, saveIconColor: {}, tableField: { type: Boolean }, trueValue: { type: [Boolean, String] }, underlineColor: {}, underlineStyle: {}, underlineWidth: {}, underlined: { type: Boolean }, valueColor: {} }, { ...$i }), { modelValue: {} }), emits: Qe([...pt], ["update:modelValue"]), setup(e, { emit: t }) { - const n = $n(e, "modelValue"), l = Tn(), o = En(), a = t, c = me(Mn, {}), u = Wl(), s = e; - let i = ln({ ...l, ...s, ...c }); - const { cancelButtonColor: p, cancelButtonSize: y, cancelButtonTitle: f, cancelButtonVariant: m, cancelIcon: h, cancelIconColor: b, cardField: g, closeSiblings: C, color: w, fieldOnly: O, hideCancelIcon: G, hideDetails: T, loadingIcon: $, loadingIconColor: R, saveButtonColor: P, saveButtonSize: S, saveButtonTitle: A, saveButtonVariant: I, saveIcon: F, saveIconColor: _ } = xn(i), M = v(() => s.disabled), N = v(() => s.loading), k = D(!1), B = D(!1), x = D(null), V = v(() => zt(i)), j = v(() => ({ ...Zn, ...s.cardProps })); - K(() => N.value, (ve, te) => { - !ve && te && B.value && Be(); + a("update:closeSiblingFields", L), R.value && L.value !== ue && Be(); + } + return K(() => R.value, () => { + R.value && fe(); + }), K(() => t.value, () => { + R.value && fe(); + }), I.value && import("@vueuse/core").then(({ useEventBus: ue }) => { + le = ue(Kt), X = le.on(Ie); + }), Xt(() => { + X !== void 0 && le.off(Ie); + }), (ue, _e) => (J(), ce("div", { ref_key: "inlineFieldsContainer", ref: we, class: oe(r(ee)), style: Te(r(Ae)) }, [!r(R) && !r(i).fieldOnly || r(g) ? (J(), ce("div", { key: 0, class: oe(r(pe)) }, [Ge("div", { class: oe(r(be)) }, [d(dl, Z(r(U), { onToggleField: Ve }), pt({ _: 2 }, [vt(r(o), (qe, vn) => ({ name: vn, fn: he((pl) => [Ye(ue.$slots, vn, Pe(Re({ ...pl })), void 0, !0)]) }))]), 1040)], 2)], 2)) : xe("", !0), r(R) || r(i).fieldOnly || r(g) ? (J(), ce("div", { key: 1, class: oe(r(ge)) }, [(J(), ze(Pt, { disabled: !r(g), to: r(Ee) }, [d(ss, Z(r(W), { modelValue: t.value, "onUpdate:modelValue": _e[0] || (_e[0] = (qe) => t.value = qe), autofocus: !r(i).fieldOnly || r(i).autofocus, "clear-icon": r(T), clearable: r(i).clearable, color: r(k), density: r(i).density, disabled: r(B) || r(A), error: r(E), "error-messages": r(ne), "hide-details": r(P), "hide-selected": r(i).hideSelected, "item-title": r(i).itemTitle, "item-value": r(i).itemValue, items: r(N), label: r(i).label, loading: r(B), menu: r(i).menu && !r(i).fieldOnly && r(R), variant: r(i).variant, width: "100%", onKeyup: Gn(Be, ["esc"]) }), pt({ _: 2 }, [vt(r(o), (qe, vn) => ({ name: vn, fn: he((pl) => [Ye(ue.$slots, vn, Pe(Re({ ...pl })), void 0, !0)]) })), r(o).append ? void 0 : { name: "append", fn: he(() => [d(un, { "cancel-button-color": r(p), "cancel-button-size": r(y), "cancel-button-title": r(f), "cancel-button-variant": r(m), "cancel-icon": r(h), "cancel-icon-color": r(b), error: r(E), "field-only": r(w), "hide-cancel-icon": r(q), "hide-save-icon": r(z), loading: r(B), "loading-icon": r(M), "loading-icon-color": r($), "save-button-color": r(S), "save-button-size": r(O), "save-button-title": r(C), "save-button-variant": r(F), "save-icon": r(V), "save-icon-color": r(j), onClose: Be, onSave: De }, null, 8, ["cancel-button-color", "cancel-button-size", "cancel-button-title", "cancel-button-variant", "cancel-icon", "cancel-icon-color", "error", "field-only", "hide-cancel-icon", "hide-save-icon", "loading", "loading-icon", "loading-icon-color", "save-button-color", "save-button-size", "save-button-title", "save-button-variant", "save-icon", "save-icon-color"])]), key: "0" }]), 1040, ["modelValue", "autofocus", "clear-icon", "clearable", "color", "density", "disabled", "error", "error-messages", "hide-details", "hide-selected", "item-title", "item-value", "items", "label", "loading", "menu", "variant"])], 8, ["disabled", "to"]))], 2)) : xe("", !0), r(g) ? (J(), ce("div", { key: 2, class: oe(r(We)), style: Te(r(ke)) }, [d(cn, Pe(Re(r(Y))), { default: he(() => [d(Lt, null, { default: he(() => [Ge("div", { ref_key: "cardFieldRef", ref: Ee }, null, 512)]), _: 1 })]), _: 1 }, 16)], 6)) : xe("", !0)], 6)); +} }), [["__scopeId", "data-v-bf7fbbc3"]]), ks = { class: "v-selection-control__wrapper" }, ws = rt({ __name: "VInlineSwitch", props: Qe(Yt({ density: {}, falseIcon: {}, cancelButtonColor: {}, cancelButtonSize: {}, cancelButtonTitle: {}, cancelButtonVariant: {}, cancelIcon: {}, cancelIconColor: {}, cardField: { type: Boolean }, cardOffsetX: {}, cardOffsetY: {}, cardProps: {}, cell: { type: Boolean }, cellUnderlineFullWidth: { type: Boolean }, closeSiblings: { type: Boolean }, color: {}, disabled: { type: Boolean }, displayAppendIcon: {}, displayAppendIconColor: {}, displayAppendIconSize: {}, displayAppendInnerIcon: {}, displayAppendInnerIconColor: {}, displayAppendInnerIconSize: {}, displayPrependIcon: {}, displayPrependIconColor: {}, displayPrependIconSize: {}, displayPrependInnerIcon: {}, displayPrependInnerIconColor: {}, displayPrependInnerIconSize: {}, emptyText: {}, error: { type: Boolean }, falseValue: { type: [Boolean, String] }, fieldOnly: { type: Boolean }, hideCancelIcon: { type: Boolean }, hideDetails: { type: Boolean }, hideSaveIcon: { type: Boolean }, iconFalse: {}, iconFalseColor: {}, iconFalseTitle: {}, iconTrue: {}, iconTrueColor: {}, iconTrueTitle: {}, icons: { type: Boolean }, item: {}, label: {}, loading: { type: Boolean }, loadingIcon: {}, loadingIconColor: {}, loadingWait: { type: Boolean }, name: {}, required: { type: Boolean }, saveButtonColor: {}, saveButtonSize: {}, saveButtonTitle: {}, saveButtonVariant: {}, saveIcon: {}, saveIconColor: {}, tableField: { type: Boolean }, trueValue: { type: [Boolean, String] }, underlineColor: {}, underlineStyle: {}, underlineWidth: {}, underlined: { type: Boolean }, valueColor: {} }, { ...Ai }), { modelValue: {} }), emits: Qe([...pn], ["update:modelValue"]), setup(e, { emit: n }) { + const t = $t(e, "modelValue"), l = Ot(), o = Et(), a = n, c = me(Wt, {}), u = Wl(), s = e; + let i = lt({ ...l, ...s, ...c }); + const { cancelButtonColor: p, cancelButtonSize: y, cancelButtonTitle: f, cancelButtonVariant: m, cancelIcon: h, cancelIconColor: b, cardField: g, closeSiblings: I, color: k, fieldOnly: w, hideCancelIcon: q, hideDetails: P, loadingIcon: z, loadingIconColor: M, saveButtonColor: $, saveButtonSize: S, saveButtonTitle: O, saveButtonVariant: C, saveIcon: F, saveIconColor: V } = Bt(i), j = v(() => s.disabled), _ = v(() => s.loading), A = D(!1), B = D(!1), x = D(null), E = v(() => zn(i)), N = v(() => ({ ...Jt, ...s.cardProps })); + K(() => _.value, (ve, ne) => { + !ve && ne && B.value && Be(); }); - const L = v(() => n.value == i.trueValue), z = v(() => yi({ modelValue: n, trueValue: i.trueValue })), Q = v(() => it({ cell: i.cell && !B.value, density: i.density, disabled: M.value, field: "v-switch", loading: N.value, loadingWait: i.loadingWait, tableField: i.tableField })), E = v(() => rt({ cell: i.cell, cellUnderlineFullWidth: i.cellUnderlineFullWidth, density: i.density, field: "v-switch" })), U = fi({ density: i.density }), W = v(() => st({ active: B.value, name: "switch" })), q = v(() => lo("switch", i.valueColor, { error: k })), Y = v(() => ut({ name: "switch", showField: B.value })), ee = v(() => ({})), pe = v(() => oo({ color: i.color, error: k, theme: u, underlineColor: i.underlineColor, underlineStyle: i.underlineStyle, underlineWidth: i.underlineWidth, underlined: i.underlined })), be = v(() => We.value); + const R = v(() => t.value == i.trueValue), L = v(() => mi({ modelValue: t, trueValue: i.trueValue })), Q = v(() => Zt({ cell: i.cell && !B.value, density: i.density, disabled: j.value, field: "v-switch", loading: _.value, loadingWait: i.loadingWait, tableField: i.tableField })), T = v(() => Qt({ cell: i.cell, cellUnderlineFullWidth: i.cellUnderlineFullWidth, density: i.density, field: "v-switch" })), G = ia({ density: i.density }), W = v(() => en({ active: B.value, name: "switch" })), U = v(() => Rl("switch", i.valueColor, { error: A })), Y = v(() => tn({ name: "switch", showField: B.value })), ee = v(() => ({})), pe = v(() => ao({ color: i.color, error: A, theme: u, underlineColor: i.underlineColor, underlineStyle: i.underlineStyle, underlineWidth: i.underlineWidth, underlined: i.underlined })), be = v(() => We.value); function ge() { - k.value = !1, Be(); + A.value = !1, Be(); } - const We = D(), Ve = D(null), ke = D("body"); + const We = D(), Ae = D(null), ke = D("body"); function Be() { - var te, fe; - if (M.value || i.loadingWait && N.value) + var ne, fe; + if (j.value || i.loadingWait && _.value) return; - We.value = _n({ cardMinWidth: (te = i.cardProps) == null ? void 0 : te.minWidth, cardOffsetX: i.cardOffsetX, cardOffsetY: i.cardOffsetY, cardWidth: (fe = i.cardProps) == null ? void 0 : fe.width, field: Ve.value }); - const ve = dt({ attrs: l, closeSiblings: C.value, fieldOnly: i.fieldOnly, props: s, showField: B.value, timeOpened: x.value }); - i = { ...i, ...ve.settings }, B.value = ve.showField, x.value = ve.timeOpened, we !== null && C.value && B.value && !i.fieldOnly && we.emit(ve.timeOpened); + We.value = Vt({ cardMinWidth: (ne = i.cardProps) == null ? void 0 : ne.minWidth, cardOffsetX: i.cardOffsetX, cardOffsetY: i.cardOffsetY, cardWidth: (fe = i.cardProps) == null ? void 0 : fe.width, field: Ae.value }); + const ve = dn({ attrs: l, closeSiblings: I.value, fieldOnly: i.fieldOnly, props: s, showField: B.value, timeOpened: x.value }); + i = { ...i, ...ve.settings }, B.value = ve.showField, x.value = ve.timeOpened, we !== null && I.value && B.value && !i.fieldOnly && we.emit(ve.timeOpened); } function Oe(ve) { - n.value = ve, a("update", ve), i.loadingWait || Be(); + t.value = ve, a("update", ve), i.loadingWait || Be(); } let we, Ee; - function Ae(ve) { + function Ve(ve) { a("update:closeSiblingFields", x), B.value && x.value !== ve && Be(); } - return C.value && import("@vueuse/core").then(({ useEventBus: ve }) => { - we = ve(Jn), Ee = we.on(Ae); - }), Kn(() => { - Ee !== void 0 && we.off(Ae); - }), (ve, te) => (J(), ce("div", { ref_key: "inlineFieldsContainer", ref: Ve, class: le(r(Q)), style: Te(r(ee)) }, [!r(B) && !r(i).fieldOnly || r(i).cardField ? (J(), ce("div", { key: 0, class: le(r(E)), onClick: te[2] || (te[2] = (fe) => r(i).cell ? Be() : void 0) }, [Ge("div", { class: le(r(U)), onClick: te[1] || (te[1] = (fe) => r(i).cell ? void 0 : Be()) }, [Ge("div", Fs, [ve.icons ? (J(), ce("div", { key: 0, class: le(["v-inline-fields--boolean-icons-container", r(q)]), style: Te(r(pe)) }, [d(r(vi), { modelValue: r(z), "onUpdate:modelValue": te[0] || (te[0] = (fe) => On(z) ? z.value = fe : null), "icon-false": r(i).iconFalse, "icon-false-color": r(i).iconFalseColor, "icon-false-title": r(i).iconFalseTitle, "icon-true": r(i).iconTrue, "icon-true-color": r(i).iconTrueColor, "icon-true-title": r(i).iconTrueTitle }, null, 8, ["modelValue", "icon-false", "icon-false-color", "icon-false-title", "icon-true", "icon-true-color", "icon-true-title"])], 6)) : (J(), ce("div", { key: 1, class: le(["d-inline-flex align-center justify-center", r(q)]), style: Te(r(pe)) }, Ll(r(L)), 7))])], 2)], 2)) : xe("", !0), r(B) || r(i).fieldOnly || r(g) ? (J(), ce("div", { key: 1, class: le(r(W)) }, [(J(), ze(Pn, { disabled: !r(g), to: r(ke) }, [d(Is, Z(r(V), { color: r(w), density: r(i).density, disabled: r(N) || r(M), error: r(k), "false-icon": r(i).falseIcon, "false-value": r(i).falseValue, "hide-details": r(T), label: r(i).label, loading: r(N), "model-value": r(z), "true-value": r(i).trueValue, "onUpdate:modelValue": Oe }), vn({ _: 2 }, [fn(r(o), (fe, De) => ({ name: De, fn: he((re) => [Ye(ve.$slots, De, Pe(Re({ ...re })))]) })), r(o).append ? void 0 : { name: "append", fn: he(() => [d(r(ct), { "cancel-button-color": r(p), "cancel-button-size": r(y), "cancel-button-title": r(f), "cancel-button-variant": r(m), "cancel-icon": r(h), "cancel-icon-color": r(b), class: "ms-3", error: r(k), "field-only": r(O), "hide-cancel-icon": r(G), "hide-save-icon": !0, loading: r(N), "loading-icon": r($), "loading-icon-color": r(R), "save-button-color": r(P), "save-button-size": r(S), "save-button-title": r(A), "save-button-variant": r(I), "save-icon": r(F), "save-icon-color": r(_), onClose: ge, onSave: Oe }, null, 8, ["cancel-button-color", "cancel-button-size", "cancel-button-title", "cancel-button-variant", "cancel-icon", "cancel-icon-color", "error", "field-only", "hide-cancel-icon", "loading", "loading-icon", "loading-icon-color", "save-button-color", "save-button-size", "save-button-title", "save-button-variant", "save-icon", "save-icon-color"])]), key: "0" }]), 1040, ["color", "density", "disabled", "error", "false-icon", "false-value", "hide-details", "label", "loading", "model-value", "true-value"])], 8, ["disabled", "to"]))], 2)) : xe("", !0), r(g) ? (J(), ce("div", { key: 2, class: le(r(Y)), style: Te(r(be)) }, [d(at, Pe(Re(r(j))), { default: he(() => [d(Wn, null, { default: he(() => [Ge("div", { ref_key: "cardFieldRef", ref: ke }, null, 512)]), _: 1 })]), _: 1 }, 16)], 6)) : xe("", !0)], 6)); -} }), Ci = sn({ __name: "VInlineTextField", props: Qe(Xn({ clearIcon: {}, density: {}, rules: {}, variant: {}, autofocus: { type: Boolean }, cancelButtonColor: {}, cancelButtonSize: {}, cancelButtonTitle: {}, cancelButtonVariant: {}, cancelIcon: {}, cancelIconColor: {}, cardField: { type: Boolean }, cardOffsetX: {}, cardOffsetY: {}, cardProps: {}, cell: { type: Boolean }, cellUnderlineFullWidth: { type: Boolean }, closeSiblings: { type: Boolean }, color: {}, disabled: { type: Boolean }, displayAppendIcon: {}, displayAppendIconColor: {}, displayAppendIconSize: {}, displayAppendInnerIcon: {}, displayAppendInnerIconColor: {}, displayAppendInnerIconSize: {}, displayPrependIcon: {}, displayPrependIconColor: {}, displayPrependIconSize: {}, displayPrependInnerIcon: {}, displayPrependInnerIconColor: {}, displayPrependInnerIconSize: {}, emptyText: {}, error: { type: Boolean }, fieldOnly: { type: Boolean }, hideCancelIcon: { type: Boolean }, hideDetails: { type: Boolean }, hideSaveIcon: { type: Boolean }, item: {}, label: {}, loading: { type: Boolean }, loadingIcon: {}, loadingIconColor: {}, loadingWait: { type: Boolean }, name: {}, required: { type: Boolean }, saveButtonColor: {}, saveButtonSize: {}, saveButtonTitle: {}, saveButtonVariant: {}, saveIcon: {}, saveIconColor: {}, tableField: { type: Boolean }, truncateLength: {}, truncateSuffix: {}, underlineColor: {}, underlineStyle: {}, underlineWidth: {}, underlined: { type: Boolean }, valueColor: {} }, { ...oa }), { modelValue: {} }), emits: Qe([...pt], ["update:modelValue"]), setup(e, { emit: t }) { - const n = $n(e, "modelValue"), l = Tn(), o = En(), a = t, c = me(Mn, {}), u = me(Symbol.for("vuetify:icons")), s = e; - let i = ln({ ...l, ...s, ...c }); - const { cancelButtonColor: p, cancelButtonSize: y, cancelButtonTitle: f, cancelButtonVariant: m, cancelIcon: h, cancelIconColor: b, cardField: g, closeSiblings: C, color: w, fieldOnly: O, hideCancelIcon: G, hideDetails: T, hideSaveIcon: $, loadingIcon: R, loadingIconColor: P, saveButtonColor: S, saveButtonSize: A, saveButtonTitle: I, saveButtonVariant: F, saveIcon: _, saveIconColor: M } = xn(i), N = v(() => s.disabled), k = v(() => s.loading), B = D(!1), x = D(!1), V = D(!1), j = D(null); - let L = n.value; - K(() => k.value, (X, Ie) => { - !X && Ie && V.value && we(); + return I.value && import("@vueuse/core").then(({ useEventBus: ve }) => { + we = ve(Kt), Ee = we.on(Ve); + }), Xt(() => { + Ee !== void 0 && we.off(Ve); + }), (ve, ne) => (J(), ce("div", { ref_key: "inlineFieldsContainer", ref: Ae, class: oe(r(Q)), style: Te(r(ee)) }, [!r(B) && !r(i).fieldOnly || r(i).cardField ? (J(), ce("div", { key: 0, class: oe(r(T)), onClick: ne[2] || (ne[2] = (fe) => r(i).cell ? Be() : void 0) }, [Ge("div", { class: oe(r(G)), onClick: ne[1] || (ne[1] = (fe) => r(i).cell ? void 0 : Be()) }, [Ge("div", ks, [ve.icons ? (J(), ce("div", { key: 0, class: oe(["v-inline-fields--boolean-icons-container", r(U)]), style: Te(r(pe)) }, [d(yi, { modelValue: r(L), "onUpdate:modelValue": ne[0] || (ne[0] = (fe) => _t(L) ? L.value = fe : null), "icon-false": r(i).iconFalse, "icon-false-color": r(i).iconFalseColor, "icon-false-title": r(i).iconFalseTitle, "icon-true": r(i).iconTrue, "icon-true-color": r(i).iconTrueColor, "icon-true-title": r(i).iconTrueTitle }, null, 8, ["modelValue", "icon-false", "icon-false-color", "icon-false-title", "icon-true", "icon-true-color", "icon-true-title"])], 6)) : (J(), ce("div", { key: 1, class: oe(["d-inline-flex align-center justify-center", r(U)]), style: Te(r(pe)) }, Ll(r(R)), 7))])], 2)], 2)) : xe("", !0), r(B) || r(i).fieldOnly || r(g) ? (J(), ce("div", { key: 1, class: oe(r(W)) }, [(J(), ze(Pt, { disabled: !r(g), to: r(ke) }, [d(ms, Z(r(E), { color: r(k), density: r(i).density, disabled: r(_) || r(j), error: r(A), "false-icon": r(i).falseIcon, "false-value": r(i).falseValue, "hide-details": r(P), label: r(i).label, loading: r(_), "model-value": r(L), "true-value": r(i).trueValue, "onUpdate:modelValue": Oe }), pt({ _: 2 }, [vt(r(o), (fe, De) => ({ name: De, fn: he((le) => [Ye(ve.$slots, De, Pe(Re({ ...le })))]) })), r(o).append ? void 0 : { name: "append", fn: he(() => [d(un, { "cancel-button-color": r(p), "cancel-button-size": r(y), "cancel-button-title": r(f), "cancel-button-variant": r(m), "cancel-icon": r(h), "cancel-icon-color": r(b), class: "ms-3", error: r(A), "field-only": r(w), "hide-cancel-icon": r(q), "hide-save-icon": !0, loading: r(_), "loading-icon": r(z), "loading-icon-color": r(M), "save-button-color": r($), "save-button-size": r(S), "save-button-title": r(O), "save-button-variant": r(C), "save-icon": r(F), "save-icon-color": r(V), onClose: ge, onSave: Oe }, null, 8, ["cancel-button-color", "cancel-button-size", "cancel-button-title", "cancel-button-variant", "cancel-icon", "cancel-icon-color", "error", "field-only", "hide-cancel-icon", "loading", "loading-icon", "loading-icon-color", "save-button-color", "save-button-size", "save-button-title", "save-button-variant", "save-icon", "save-icon-color"])]), key: "0" }]), 1040, ["color", "density", "disabled", "error", "false-icon", "false-value", "hide-details", "label", "loading", "model-value", "true-value"])], 8, ["disabled", "to"]))], 2)) : xe("", !0), r(g) ? (J(), ce("div", { key: 2, class: oe(r(Y)), style: Te(r(be)) }, [d(cn, Pe(Re(r(N))), { default: he(() => [d(Lt, null, { default: he(() => [Ge("div", { ref_key: "cardFieldRef", ref: ke }, null, 512)]), _: 1 })]), _: 1 }, 16)], 6)) : xe("", !0)], 6)); +} }), Fs = rt({ __name: "VInlineTextField", props: Qe(Yt({ clearIcon: {}, density: {}, rules: {}, variant: {}, autofocus: { type: Boolean }, cancelButtonColor: {}, cancelButtonSize: {}, cancelButtonTitle: {}, cancelButtonVariant: {}, cancelIcon: {}, cancelIconColor: {}, cardField: { type: Boolean }, cardOffsetX: {}, cardOffsetY: {}, cardProps: {}, cell: { type: Boolean }, cellUnderlineFullWidth: { type: Boolean }, closeSiblings: { type: Boolean }, color: {}, disabled: { type: Boolean }, displayAppendIcon: {}, displayAppendIconColor: {}, displayAppendIconSize: {}, displayAppendInnerIcon: {}, displayAppendInnerIconColor: {}, displayAppendInnerIconSize: {}, displayPrependIcon: {}, displayPrependIconColor: {}, displayPrependIconSize: {}, displayPrependInnerIcon: {}, displayPrependInnerIconColor: {}, displayPrependInnerIconSize: {}, emptyText: {}, error: { type: Boolean }, fieldOnly: { type: Boolean }, hideCancelIcon: { type: Boolean }, hideDetails: { type: Boolean }, hideSaveIcon: { type: Boolean }, item: {}, label: {}, loading: { type: Boolean }, loadingIcon: {}, loadingIconColor: {}, loadingWait: { type: Boolean }, name: {}, required: { type: Boolean }, saveButtonColor: {}, saveButtonSize: {}, saveButtonTitle: {}, saveButtonVariant: {}, saveIcon: {}, saveIconColor: {}, tableField: { type: Boolean }, truncateLength: {}, truncateSuffix: {}, underlineColor: {}, underlineStyle: {}, underlineWidth: {}, underlined: { type: Boolean }, valueColor: {} }, { ...aa }), { modelValue: {} }), emits: Qe([...pn], ["update:modelValue"]), setup(e, { emit: n }) { + const t = $t(e, "modelValue"), l = Ot(), o = Et(), a = n, c = me(Wt, {}), u = me(Symbol.for("vuetify:icons")), s = e; + let i = lt({ ...l, ...s, ...c }); + const { cancelButtonColor: p, cancelButtonSize: y, cancelButtonTitle: f, cancelButtonVariant: m, cancelIcon: h, cancelIconColor: b, cardField: g, closeSiblings: I, color: k, fieldOnly: w, hideCancelIcon: q, hideDetails: P, hideSaveIcon: z, loadingIcon: M, loadingIconColor: $, saveButtonColor: S, saveButtonSize: O, saveButtonTitle: C, saveButtonVariant: F, saveIcon: V, saveIconColor: j } = Bt(i), _ = v(() => s.disabled), A = v(() => s.loading), B = D(!1), x = D(!1), E = D(!1), N = D(null); + let R = t.value; + K(() => A.value, (X, Ie) => { + !X && Ie && E.value && we(); }); - const z = v(() => on({ icon: s.clearIcon, iconOptions: u, name: "clear" })), Q = v(() => n.value ? (B.value = !1, i.truncateLength ? ao({ length: i.truncateLength, suffix: i.truncateSuffix, text: n.value }) : n.value) : (B.value = !0, i.emptyText)), E = v(() => zt(i)), U = v(() => ({ color: i.color, displayAppendIcon: s.displayAppendIcon, displayAppendIconColor: s.displayAppendIconColor, displayAppendIconSize: s.displayAppendIconSize, displayAppendInnerIcon: s.displayAppendInnerIcon, displayAppendInnerIconColor: s.displayAppendInnerIconColor, displayAppendInnerIconSize: s.displayAppendInnerIconSize, displayPrependIcon: s.displayPrependIcon, displayPrependIconColor: s.displayPrependIconColor, displayPrependIconSize: s.displayPrependIconSize, displayPrependInnerIcon: s.displayPrependInnerIcon, displayPrependInnerIconColor: s.displayPrependInnerIconColor, displayPrependInnerIconSize: s.displayPrependInnerIconSize, displayValue: Q.value, empty: B.value, error: x.value, field: "v-text-field", underlineColor: i.underlineColor, underlineStyle: i.underlineStyle, underlineWidth: i.underlineWidth, underlined: i.underlined, valueColor: i.valueColor })), W = v(() => ({ ...Zn, ...s.cardProps })), q = v(() => it({ cell: i.cell && !V.value, density: i.density, disabled: N.value, field: "v-text-field", iconSet: u == null ? void 0 : u.defaultSet, loading: k.value, loadingWait: i.loadingWait, tableField: i.tableField, variant: i.variant })), Y = v(() => rt({ cell: i.cell, cellUnderlineFullWidth: i.cellUnderlineFullWidth, density: i.density, field: "v-text-field" })), ee = ul({ density: i.density, variant: i.variant }), pe = v(() => st({ active: V.value, name: "text-field" })), be = v(() => ut({ name: "text-field", showField: V.value })), ge = v(() => ({})), We = v(() => ke.value); - function Ve() { - x.value = !1, n.value = L, we(); + const L = v(() => ot({ icon: s.clearIcon, iconOptions: u, name: "clear" })), Q = v(() => t.value ? (B.value = !1, i.truncateLength ? oo({ length: i.truncateLength, suffix: i.truncateSuffix, text: t.value }) : t.value) : (B.value = !0, i.emptyText)), T = v(() => zn(i)), G = v(() => ({ color: i.color, displayAppendIcon: s.displayAppendIcon, displayAppendIconColor: s.displayAppendIconColor, displayAppendIconSize: s.displayAppendIconSize, displayAppendInnerIcon: s.displayAppendInnerIcon, displayAppendInnerIconColor: s.displayAppendInnerIconColor, displayAppendInnerIconSize: s.displayAppendInnerIconSize, displayPrependIcon: s.displayPrependIcon, displayPrependIconColor: s.displayPrependIconColor, displayPrependIconSize: s.displayPrependIconSize, displayPrependInnerIcon: s.displayPrependInnerIcon, displayPrependInnerIconColor: s.displayPrependInnerIconColor, displayPrependInnerIconSize: s.displayPrependInnerIconSize, displayValue: Q.value, empty: B.value, error: x.value, field: "v-text-field", underlineColor: i.underlineColor, underlineStyle: i.underlineStyle, underlineWidth: i.underlineWidth, underlined: i.underlined, valueColor: i.valueColor })), W = v(() => ({ ...Jt, ...s.cardProps })), U = v(() => Zt({ cell: i.cell && !E.value, density: i.density, disabled: _.value, field: "v-text-field", iconSet: u == null ? void 0 : u.defaultSet, loading: A.value, loadingWait: i.loadingWait, tableField: i.tableField, variant: i.variant })), Y = v(() => Qt({ cell: i.cell, cellUnderlineFullWidth: i.cellUnderlineFullWidth, density: i.density, field: "v-text-field" })), ee = al({ density: i.density, variant: i.variant }), pe = v(() => en({ active: E.value, name: "text-field" })), be = v(() => tn({ name: "text-field", showField: E.value })), ge = v(() => ({})), We = v(() => ke.value); + function Ae() { + x.value = !1, t.value = R, we(); } const ke = D(), Be = D(null), Oe = D("body"); function we() { var Ie, ue; - if (N.value || i.loadingWait && k.value) + if (_.value || i.loadingWait && A.value) return; - ke.value = _n({ cardMinWidth: (Ie = i.cardProps) == null ? void 0 : Ie.minWidth, cardOffsetX: i.cardOffsetX, cardOffsetY: i.cardOffsetY, cardWidth: (ue = i.cardProps) == null ? void 0 : ue.width, field: Be.value }); - const X = dt({ attrs: l, closeSiblings: C.value, fieldOnly: i.fieldOnly, props: s, showField: V, timeOpened: j.value }); - i = { ...i, ...X.settings }, V.value = X.showField, j.value = X.timeOpened, fe !== null && C.value && V.value && !i.fieldOnly && fe.emit(X.timeOpened); + ke.value = Vt({ cardMinWidth: (Ie = i.cardProps) == null ? void 0 : Ie.minWidth, cardOffsetX: i.cardOffsetX, cardOffsetY: i.cardOffsetY, cardWidth: (ue = i.cardProps) == null ? void 0 : ue.width, field: Be.value }); + const X = dn({ attrs: l, closeSiblings: I.value, fieldOnly: i.fieldOnly, props: s, showField: E, timeOpened: N.value }); + i = { ...i, ...X.settings }, E.value = X.showField, N.value = X.timeOpened, fe !== null && I.value && E.value && !i.fieldOnly && fe.emit(X.timeOpened); } - const Ee = D(), Ae = v(() => Ee.value); + const Ee = D(), Ve = v(() => Ee.value); function ve() { - const X = dl({ required: i.required, rules: i.rules, value: n }); + const X = cl({ required: i.required, rules: i.rules, value: t }); return x.value = X.errors, Ee.value = X.results, X.results; } - function te() { - x.value ? x.value = !0 : (L = n.value, a("update", n.value), i.loadingWait || we()); + function ne() { + x.value ? x.value = !0 : (R = t.value, a("update", t.value), i.loadingWait || we()); } let fe, De; - function re(X) { - a("update:closeSiblingFields", j), V.value && j.value !== X && Ve(); - } - return K(() => V.value, () => { - V.value && ve(); - }), K(() => n.value, () => { - V.value && ve(); - }), C.value && import("@vueuse/core").then(({ useEventBus: X }) => { - fe = X(Jn), De = fe.on(re); - }), Kn(() => { - De !== void 0 && fe.off(re); - }), (X, Ie) => (J(), ce("div", { ref_key: "inlineFieldsContainer", ref: Be, class: le(r(q)), style: Te(r(ge)) }, [!r(V) && !r(i).fieldOnly || r(g) ? (J(), ce("div", { key: 0, class: le(r(Y)) }, [Ge("div", { class: le(r(ee)) }, [d(r(cl), Z(r(U), { onToggleField: we }), vn({ _: 2 }, [fn(r(o), (ue, _e) => ({ name: _e, fn: he((qe) => [Ye(X.$slots, _e, Pe(Re({ ...qe })))]) }))]), 1040)], 2)], 2)) : xe("", !0), r(V) || r(i).fieldOnly || r(g) ? (J(), ce("div", { key: 1, class: le(r(pe)) }, [(J(), ze(Pn, { disabled: !r(g), to: r(Oe) }, [d(Tl, Z(r(E), { modelValue: n.value, "onUpdate:modelValue": Ie[0] || (Ie[0] = (ue) => n.value = ue), autofocus: !r(i).fieldOnly || r(i).autofocus, "clear-icon": r(z), color: r(w), density: r(i).density, disabled: r(k) || r(N), error: r(x), "error-messages": r(Ae), "hide-details": r(T), label: r(i).label, loading: r(k), variant: r(i).variant, width: "100%", onKeyup: [Gt(te, ["enter"]), Gt(Ve, ["esc"])] }), vn({ _: 2 }, [fn(r(o), (ue, _e) => ({ name: _e, fn: he((qe) => [Ye(X.$slots, _e, Pe(Re({ ...qe })))]) })), r(o).append ? void 0 : { name: "append", fn: he(() => [d(r(ct), { "cancel-button-color": r(p), "cancel-button-size": r(y), "cancel-button-title": r(f), "cancel-button-variant": r(m), "cancel-icon": r(h), "cancel-icon-color": r(b), error: r(x), "field-only": r(O), "hide-cancel-icon": r(G), "hide-save-icon": r($), loading: r(k), "loading-icon": r(R), "loading-icon-color": r(P), "save-button-color": r(S), "save-button-size": r(A), "save-button-title": r(I), "save-button-variant": r(F), "save-icon": r(_), "save-icon-color": r(M), onClose: Ve, onSave: te }, null, 8, ["cancel-button-color", "cancel-button-size", "cancel-button-title", "cancel-button-variant", "cancel-icon", "cancel-icon-color", "error", "field-only", "hide-cancel-icon", "hide-save-icon", "loading", "loading-icon", "loading-icon-color", "save-button-color", "save-button-size", "save-button-title", "save-button-variant", "save-icon", "save-icon-color"])]), key: "0" }]), 1040, ["modelValue", "autofocus", "clear-icon", "color", "density", "disabled", "error", "error-messages", "hide-details", "label", "loading", "variant"])], 8, ["disabled", "to"]))], 2)) : xe("", !0), r(g) ? (J(), ce("div", { key: 2, class: le(r(be)), style: Te(r(We)) }, [d(at, Pe(Re(r(W))), { default: he(() => [d(Wn, null, { default: he(() => [Ge("div", { ref_key: "cardFieldRef", ref: Oe }, null, 512)]), _: 1 })]), _: 1 }, 16)], 6)) : xe("", !0)], 6)); -} }), Ii = sn({ __name: "VInlineTextarea", props: Qe(Xn({ autoGrow: {}, clearIcon: {}, density: {}, rows: {}, rules: {}, variant: {}, autofocus: { type: Boolean }, cancelButtonColor: {}, cancelButtonSize: {}, cancelButtonTitle: {}, cancelButtonVariant: {}, cancelIcon: {}, cancelIconColor: {}, cardField: { type: Boolean }, cardOffsetX: {}, cardOffsetY: {}, cardProps: {}, cell: { type: Boolean }, cellUnderlineFullWidth: { type: Boolean }, closeSiblings: { type: Boolean }, color: {}, disabled: { type: Boolean }, displayAppendIcon: {}, displayAppendIconColor: {}, displayAppendIconSize: {}, displayAppendInnerIcon: {}, displayAppendInnerIconColor: {}, displayAppendInnerIconSize: {}, displayPrependIcon: {}, displayPrependIconColor: {}, displayPrependIconSize: {}, displayPrependInnerIcon: {}, displayPrependInnerIconColor: {}, displayPrependInnerIconSize: {}, emptyText: {}, error: { type: Boolean }, fieldOnly: { type: Boolean }, hideCancelIcon: { type: Boolean }, hideDetails: { type: Boolean }, hideSaveIcon: { type: Boolean }, item: {}, label: {}, loading: { type: Boolean }, loadingIcon: {}, loadingIconColor: {}, loadingWait: { type: Boolean }, name: {}, required: { type: Boolean }, saveButtonColor: {}, saveButtonSize: {}, saveButtonTitle: {}, saveButtonVariant: {}, saveIcon: {}, saveIconColor: {}, tableField: { type: Boolean }, truncateLength: {}, truncateSuffix: {}, underlineColor: {}, underlineStyle: {}, underlineWidth: {}, underlined: { type: Boolean }, valueColor: {} }, { ...Ei }), { modelValue: {} }), emits: Qe([...pt], ["update:modelValue"]), setup(e, { emit: t }) { - const n = $n(e, "modelValue"), l = Tn(), o = En(), a = t, c = me(Mn, {}), u = me(Symbol.for("vuetify:icons")), s = e; - let i = ln({ ...l, ...s, ...c }); - const { cancelButtonColor: p, cancelButtonSize: y, cancelButtonTitle: f, cancelButtonVariant: m, cancelIcon: h, cancelIconColor: b, cardField: g, closeSiblings: C, color: w, fieldOnly: O, hideCancelIcon: G, hideDetails: T, hideSaveIcon: $, loadingIcon: R, loadingIconColor: P, saveButtonColor: S, saveButtonSize: A, saveButtonTitle: I, saveButtonVariant: F, saveIcon: _, saveIconColor: M } = xn(i), N = v(() => s.disabled), k = v(() => s.loading), B = D(!1), x = D(!1), V = D(!1), j = D(null); - let L = n.value; - K(() => k.value, (X, Ie) => { - !X && Ie && V.value && we(); + function le(X) { + a("update:closeSiblingFields", N), E.value && N.value !== X && Ae(); + } + return K(() => E.value, () => { + E.value && ve(); + }), K(() => t.value, () => { + E.value && ve(); + }), I.value && import("@vueuse/core").then(({ useEventBus: X }) => { + fe = X(Kt), De = fe.on(le); + }), Xt(() => { + De !== void 0 && fe.off(le); + }), (X, Ie) => (J(), ce("div", { ref_key: "inlineFieldsContainer", ref: Be, class: oe(r(U)), style: Te(r(ge)) }, [!r(E) && !r(i).fieldOnly || r(g) ? (J(), ce("div", { key: 0, class: oe(r(Y)) }, [Ge("div", { class: oe(r(ee)) }, [d(dl, Z(r(G), { onToggleField: we }), pt({ _: 2 }, [vt(r(o), (ue, _e) => ({ name: _e, fn: he((qe) => [Ye(X.$slots, _e, Pe(Re({ ...qe })))]) }))]), 1040)], 2)], 2)) : xe("", !0), r(E) || r(i).fieldOnly || r(g) ? (J(), ce("div", { key: 1, class: oe(r(pe)) }, [(J(), ze(Pt, { disabled: !r(g), to: r(Oe) }, [d(Tl, Z(r(T), { modelValue: t.value, "onUpdate:modelValue": Ie[0] || (Ie[0] = (ue) => t.value = ue), autofocus: !r(i).fieldOnly || r(i).autofocus, "clear-icon": r(L), color: r(k), density: r(i).density, disabled: r(A) || r(_), error: r(x), "error-messages": r(Ve), "hide-details": r(P), label: r(i).label, loading: r(A), variant: r(i).variant, width: "100%", onKeyup: [Gn(ne, ["enter"]), Gn(Ae, ["esc"])] }), pt({ _: 2 }, [vt(r(o), (ue, _e) => ({ name: _e, fn: he((qe) => [Ye(X.$slots, _e, Pe(Re({ ...qe })))]) })), r(o).append ? void 0 : { name: "append", fn: he(() => [d(un, { "cancel-button-color": r(p), "cancel-button-size": r(y), "cancel-button-title": r(f), "cancel-button-variant": r(m), "cancel-icon": r(h), "cancel-icon-color": r(b), error: r(x), "field-only": r(w), "hide-cancel-icon": r(q), "hide-save-icon": r(z), loading: r(A), "loading-icon": r(M), "loading-icon-color": r($), "save-button-color": r(S), "save-button-size": r(O), "save-button-title": r(C), "save-button-variant": r(F), "save-icon": r(V), "save-icon-color": r(j), onClose: Ae, onSave: ne }, null, 8, ["cancel-button-color", "cancel-button-size", "cancel-button-title", "cancel-button-variant", "cancel-icon", "cancel-icon-color", "error", "field-only", "hide-cancel-icon", "hide-save-icon", "loading", "loading-icon", "loading-icon-color", "save-button-color", "save-button-size", "save-button-title", "save-button-variant", "save-icon", "save-icon-color"])]), key: "0" }]), 1040, ["modelValue", "autofocus", "clear-icon", "color", "density", "disabled", "error", "error-messages", "hide-details", "label", "loading", "variant"])], 8, ["disabled", "to"]))], 2)) : xe("", !0), r(g) ? (J(), ce("div", { key: 2, class: oe(r(be)), style: Te(r(We)) }, [d(cn, Pe(Re(r(W))), { default: he(() => [d(Lt, null, { default: he(() => [Ge("div", { ref_key: "cardFieldRef", ref: Oe }, null, 512)]), _: 1 })]), _: 1 }, 16)], 6)) : xe("", !0)], 6)); +} }), As = rt({ __name: "VInlineTextarea", props: Qe(Yt({ autoGrow: {}, clearIcon: {}, density: {}, rows: {}, rules: {}, variant: {}, autofocus: { type: Boolean }, cancelButtonColor: {}, cancelButtonSize: {}, cancelButtonTitle: {}, cancelButtonVariant: {}, cancelIcon: {}, cancelIconColor: {}, cardField: { type: Boolean }, cardOffsetX: {}, cardOffsetY: {}, cardProps: {}, cell: { type: Boolean }, cellUnderlineFullWidth: { type: Boolean }, closeSiblings: { type: Boolean }, color: {}, disabled: { type: Boolean }, displayAppendIcon: {}, displayAppendIconColor: {}, displayAppendIconSize: {}, displayAppendInnerIcon: {}, displayAppendInnerIconColor: {}, displayAppendInnerIconSize: {}, displayPrependIcon: {}, displayPrependIconColor: {}, displayPrependIconSize: {}, displayPrependInnerIcon: {}, displayPrependInnerIconColor: {}, displayPrependInnerIconSize: {}, emptyText: {}, error: { type: Boolean }, fieldOnly: { type: Boolean }, hideCancelIcon: { type: Boolean }, hideDetails: { type: Boolean }, hideSaveIcon: { type: Boolean }, item: {}, label: {}, loading: { type: Boolean }, loadingIcon: {}, loadingIconColor: {}, loadingWait: { type: Boolean }, name: {}, required: { type: Boolean }, saveButtonColor: {}, saveButtonSize: {}, saveButtonTitle: {}, saveButtonVariant: {}, saveIcon: {}, saveIconColor: {}, tableField: { type: Boolean }, truncateLength: {}, truncateSuffix: {}, underlineColor: {}, underlineStyle: {}, underlineWidth: {}, underlined: { type: Boolean }, valueColor: {} }, { ...Vi }), { modelValue: {} }), emits: Qe([...pn], ["update:modelValue"]), setup(e, { emit: n }) { + const t = $t(e, "modelValue"), l = Ot(), o = Et(), a = n, c = me(Wt, {}), u = me(Symbol.for("vuetify:icons")), s = e; + let i = lt({ ...l, ...s, ...c }); + const { cancelButtonColor: p, cancelButtonSize: y, cancelButtonTitle: f, cancelButtonVariant: m, cancelIcon: h, cancelIconColor: b, cardField: g, closeSiblings: I, color: k, fieldOnly: w, hideCancelIcon: q, hideDetails: P, hideSaveIcon: z, loadingIcon: M, loadingIconColor: $, saveButtonColor: S, saveButtonSize: O, saveButtonTitle: C, saveButtonVariant: F, saveIcon: V, saveIconColor: j } = Bt(i), _ = v(() => s.disabled), A = v(() => s.loading), B = D(!1), x = D(!1), E = D(!1), N = D(null); + let R = t.value; + K(() => A.value, (X, Ie) => { + !X && Ie && E.value && we(); }); - const z = v(() => on({ icon: s.clearIcon, iconOptions: u, name: "clear" })), Q = v(() => n.value ? (B.value = !1, i.truncateLength ? ao({ length: i.truncateLength, suffix: i.truncateSuffix, text: n.value }) : n.value) : (B.value = !0, i.emptyText)), E = v(() => zt(i)), U = v(() => ({ color: i.color, displayAppendIcon: s.displayAppendIcon, displayAppendIconColor: s.displayAppendIconColor, displayAppendIconSize: s.displayAppendIconSize, displayAppendInnerIcon: s.displayAppendInnerIcon, displayAppendInnerIconColor: s.displayAppendInnerIconColor, displayAppendInnerIconSize: s.displayAppendInnerIconSize, displayPrependIcon: s.displayPrependIcon, displayPrependIconColor: s.displayPrependIconColor, displayPrependIconSize: s.displayPrependIconSize, displayPrependInnerIcon: s.displayPrependInnerIcon, displayPrependInnerIconColor: s.displayPrependInnerIconColor, displayPrependInnerIconSize: s.displayPrependInnerIconSize, displayValue: Q.value, empty: B.value, error: x.value, field: "v-text-field", underlineColor: i.underlineColor, underlineStyle: i.underlineStyle, underlineWidth: i.underlineWidth, underlined: i.underlined, valueColor: i.valueColor })), W = v(() => ({ ...Zn, ...s.cardProps })), q = v(() => it({ cell: i.cell && !V.value, density: i.density, disabled: N.value, field: "v-textarea", iconSet: u == null ? void 0 : u.defaultSet, loading: k.value, loadingWait: i.loadingWait, tableField: i.tableField, variant: i.variant })), Y = v(() => rt({ cell: i.cell, cellUnderlineFullWidth: i.cellUnderlineFullWidth, density: i.density, field: "v-textarea" })), ee = ul({ density: i.density, variant: i.variant }), pe = v(() => st({ active: V.value, name: "textarea" })), be = v(() => ut({ name: "textarea", showField: V.value })), ge = v(() => ({})), We = v(() => ke.value); - function Ve() { - x.value = !1, n.value = L, we(); + const L = v(() => ot({ icon: s.clearIcon, iconOptions: u, name: "clear" })), Q = v(() => t.value ? (B.value = !1, i.truncateLength ? oo({ length: i.truncateLength, suffix: i.truncateSuffix, text: t.value }) : t.value) : (B.value = !0, i.emptyText)), T = v(() => zn(i)), G = v(() => ({ color: i.color, displayAppendIcon: s.displayAppendIcon, displayAppendIconColor: s.displayAppendIconColor, displayAppendIconSize: s.displayAppendIconSize, displayAppendInnerIcon: s.displayAppendInnerIcon, displayAppendInnerIconColor: s.displayAppendInnerIconColor, displayAppendInnerIconSize: s.displayAppendInnerIconSize, displayPrependIcon: s.displayPrependIcon, displayPrependIconColor: s.displayPrependIconColor, displayPrependIconSize: s.displayPrependIconSize, displayPrependInnerIcon: s.displayPrependInnerIcon, displayPrependInnerIconColor: s.displayPrependInnerIconColor, displayPrependInnerIconSize: s.displayPrependInnerIconSize, displayValue: Q.value, empty: B.value, error: x.value, field: "v-text-field", underlineColor: i.underlineColor, underlineStyle: i.underlineStyle, underlineWidth: i.underlineWidth, underlined: i.underlined, valueColor: i.valueColor })), W = v(() => ({ ...Jt, ...s.cardProps })), U = v(() => Zt({ cell: i.cell && !E.value, density: i.density, disabled: _.value, field: "v-textarea", iconSet: u == null ? void 0 : u.defaultSet, loading: A.value, loadingWait: i.loadingWait, tableField: i.tableField, variant: i.variant })), Y = v(() => Qt({ cell: i.cell, cellUnderlineFullWidth: i.cellUnderlineFullWidth, density: i.density, field: "v-textarea" })), ee = al({ density: i.density, variant: i.variant }), pe = v(() => en({ active: E.value, name: "textarea" })), be = v(() => tn({ name: "textarea", showField: E.value })), ge = v(() => ({})), We = v(() => ke.value); + function Ae() { + x.value = !1, t.value = R, we(); } const ke = D(), Be = D(null), Oe = D("body"); function we() { var Ie, ue; - if (N.value || i.loadingWait && k.value) + if (_.value || i.loadingWait && A.value) return; - ke.value = _n({ cardMinWidth: (Ie = i.cardProps) == null ? void 0 : Ie.minWidth, cardOffsetX: i.cardOffsetX, cardOffsetY: i.cardOffsetY, cardWidth: (ue = i.cardProps) == null ? void 0 : ue.width, field: Be.value }); - const X = dt({ attrs: l, closeSiblings: C.value, fieldOnly: i.fieldOnly, props: s, showField: V, timeOpened: j.value }); - i = { ...i, ...X.settings }, V.value = X.showField, j.value = X.timeOpened, fe !== null && C.value && V.value && !i.fieldOnly && fe.emit(X.timeOpened); + ke.value = Vt({ cardMinWidth: (Ie = i.cardProps) == null ? void 0 : Ie.minWidth, cardOffsetX: i.cardOffsetX, cardOffsetY: i.cardOffsetY, cardWidth: (ue = i.cardProps) == null ? void 0 : ue.width, field: Be.value }); + const X = dn({ attrs: l, closeSiblings: I.value, fieldOnly: i.fieldOnly, props: s, showField: E, timeOpened: N.value }); + i = { ...i, ...X.settings }, E.value = X.showField, N.value = X.timeOpened, fe !== null && I.value && E.value && !i.fieldOnly && fe.emit(X.timeOpened); } - const Ee = D(), Ae = v(() => Ee.value); + const Ee = D(), Ve = v(() => Ee.value); function ve() { - const X = dl({ required: i.required, rules: i.rules, value: n }); + const X = cl({ required: i.required, rules: i.rules, value: t }); return x.value = X.errors, Ee.value = X.results, X.results; } - function te() { - L = n.value, a("update", n.value), i.loadingWait || we(); + function ne() { + R = t.value, a("update", t.value), i.loadingWait || we(); } let fe, De; - function re(X) { - a("update:closeSiblingFields", j), V.value && j.value !== X && Ve(); - } - return K(() => V.value, () => { - V.value && ve(); - }), K(() => n.value, () => { - V.value && ve(); - }), C.value && import("@vueuse/core").then(({ useEventBus: X }) => { - fe = X(Jn), De = fe.on(re); - }), Kn(() => { - De !== void 0 && fe.off(re); - }), (X, Ie) => (J(), ce("div", { ref_key: "inlineFieldsContainer", ref: Be, class: le(r(q)), style: Te(r(ge)) }, [!r(V) && !r(i).fieldOnly || r(g) ? (J(), ce("div", { key: 0, class: le(r(Y)) }, [Ge("div", { class: le(r(ee)) }, [d(r(cl), Z(r(U), { onToggleField: we }), vn({ _: 2 }, [fn(r(o), (ue, _e) => ({ name: _e, fn: he((qe) => [Ye(X.$slots, _e, Pe(Re({ ...qe })))]) }))]), 1040)], 2)], 2)) : xe("", !0), r(V) || r(i).fieldOnly || r(g) ? (J(), ce("div", { key: 1, class: le(r(pe)) }, [(J(), ze(Pn, { disabled: !r(g), to: r(Oe) }, [d(Bs, Z(r(E), { modelValue: n.value, "onUpdate:modelValue": Ie[0] || (Ie[0] = (ue) => n.value = ue), "auto-grow": r(i).autoGrow, autofocus: !r(i).fieldOnly || r(i).autofocus, "clear-icon": r(z), color: r(w), density: r(i).density, disabled: r(k) || r(N), error: r(x), "error-messages": r(Ae), "hide-details": r(T), label: r(i).label, loading: r(k), rows: r(i).rows, variant: r(i).variant, width: "100%", onKeyup: Gt(Ve, ["esc"]) }), vn({ _: 2 }, [fn(r(o), (ue, _e) => ({ name: _e, fn: he((qe) => [Ye(X.$slots, _e, Pe(Re({ ...qe })))]) })), r(o).append ? void 0 : { name: "append", fn: he(() => [d(r(ct), { "cancel-button-color": r(p), "cancel-button-size": r(y), "cancel-button-title": r(f), "cancel-button-variant": r(m), "cancel-icon": r(h), "cancel-icon-color": r(b), error: r(x), "field-only": r(O), "hide-cancel-icon": r(G), "hide-save-icon": r($), loading: r(k), "loading-icon": r(R), "loading-icon-color": r(P), "save-button-color": r(S), "save-button-size": r(A), "save-button-title": r(I), "save-button-variant": r(F), "save-icon": r(_), "save-icon-color": r(M), onClose: Ve, onSave: te }, null, 8, ["cancel-button-color", "cancel-button-size", "cancel-button-title", "cancel-button-variant", "cancel-icon", "cancel-icon-color", "error", "field-only", "hide-cancel-icon", "hide-save-icon", "loading", "loading-icon", "loading-icon-color", "save-button-color", "save-button-size", "save-button-title", "save-button-variant", "save-icon", "save-icon-color"])]), key: "0" }]), 1040, ["modelValue", "auto-grow", "autofocus", "clear-icon", "color", "density", "disabled", "error", "error-messages", "hide-details", "label", "loading", "rows", "variant"])], 8, ["disabled", "to"]))], 2)) : xe("", !0), r(g) ? (J(), ce("div", { key: 2, class: le(r(be)), style: Te(r(We)) }, [d(at, Pe(Re(r(W))), { default: he(() => [d(Wn, null, { default: he(() => [Ge("div", { ref_key: "cardFieldRef", ref: Oe }, null, 512)]), _: 1 })]), _: 1 }, 16)], 6)) : xe("", !0)], 6)); -} }), Mn = Symbol(); -function Os(e = {}) { - return (t) => { - t.provide(Mn, e), t.component("VInlineCheckbox", mi), t.component("VInlineCustomField", gi), t.component("VInlineSelect", hi), t.component("VInlineSwitch", bi), t.component("VInlineTextField", Ci), t.component("VInlineTextarea", Ii); - }; + function le(X) { + a("update:closeSiblingFields", N), E.value && N.value !== X && Ae(); + } + return K(() => E.value, () => { + E.value && ve(); + }), K(() => t.value, () => { + E.value && ve(); + }), I.value && import("@vueuse/core").then(({ useEventBus: X }) => { + fe = X(Kt), De = fe.on(le); + }), Xt(() => { + De !== void 0 && fe.off(le); + }), (X, Ie) => (J(), ce("div", { ref_key: "inlineFieldsContainer", ref: Be, class: oe(r(U)), style: Te(r(ge)) }, [!r(E) && !r(i).fieldOnly || r(g) ? (J(), ce("div", { key: 0, class: oe(r(Y)) }, [Ge("div", { class: oe(r(ee)) }, [d(dl, Z(r(G), { onToggleField: we }), pt({ _: 2 }, [vt(r(o), (ue, _e) => ({ name: _e, fn: he((qe) => [Ye(X.$slots, _e, Pe(Re({ ...qe })))]) }))]), 1040)], 2)], 2)) : xe("", !0), r(E) || r(i).fieldOnly || r(g) ? (J(), ce("div", { key: 1, class: oe(r(pe)) }, [(J(), ze(Pt, { disabled: !r(g), to: r(Oe) }, [d(hs, Z(r(T), { modelValue: t.value, "onUpdate:modelValue": Ie[0] || (Ie[0] = (ue) => t.value = ue), "auto-grow": r(i).autoGrow, autofocus: !r(i).fieldOnly || r(i).autofocus, "clear-icon": r(L), color: r(k), density: r(i).density, disabled: r(A) || r(_), error: r(x), "error-messages": r(Ve), "hide-details": r(P), label: r(i).label, loading: r(A), rows: r(i).rows, variant: r(i).variant, width: "100%", onKeyup: Gn(Ae, ["esc"]) }), pt({ _: 2 }, [vt(r(o), (ue, _e) => ({ name: _e, fn: he((qe) => [Ye(X.$slots, _e, Pe(Re({ ...qe })))]) })), r(o).append ? void 0 : { name: "append", fn: he(() => [d(un, { "cancel-button-color": r(p), "cancel-button-size": r(y), "cancel-button-title": r(f), "cancel-button-variant": r(m), "cancel-icon": r(h), "cancel-icon-color": r(b), error: r(x), "field-only": r(w), "hide-cancel-icon": r(q), "hide-save-icon": r(z), loading: r(A), "loading-icon": r(M), "loading-icon-color": r($), "save-button-color": r(S), "save-button-size": r(O), "save-button-title": r(C), "save-button-variant": r(F), "save-icon": r(V), "save-icon-color": r(j), onClose: Ae, onSave: ne }, null, 8, ["cancel-button-color", "cancel-button-size", "cancel-button-title", "cancel-button-variant", "cancel-icon", "cancel-icon-color", "error", "field-only", "hide-cancel-icon", "hide-save-icon", "loading", "loading-icon", "loading-icon-color", "save-button-color", "save-button-size", "save-button-title", "save-button-variant", "save-icon", "save-icon-color"])]), key: "0" }]), 1040, ["modelValue", "auto-grow", "autofocus", "clear-icon", "color", "density", "disabled", "error", "error-messages", "hide-details", "label", "loading", "rows", "variant"])], 8, ["disabled", "to"]))], 2)) : xe("", !0), r(g) ? (J(), ce("div", { key: 2, class: oe(r(be)), style: Te(r(We)) }, [d(cn, Pe(Re(r(W))), { default: he(() => [d(Lt, null, { default: he(() => [Ge("div", { ref_key: "cardFieldRef", ref: Oe }, null, 512)]), _: 1 })]), _: 1 }, 16)], 6)) : xe("", !0)], 6)); +} }), Qo = Object.freeze(Object.defineProperty({ __proto__: null, VInlineCheckbox: Ss, VInlineCustomField: Bs, VInlineSelect: xs, VInlineSwitch: ws, VInlineTextField: Fs, VInlineTextarea: As }, Symbol.toStringTag, { value: "Module" })), Wt = Symbol(); +function Ps(e = {}) { + return { install: (n) => { + n.provide(Wt, e); + for (const t in Qo) + n.component(t, Qo[t]); + } }; } -const Ps = { VInlineCheckbox: mi, VInlineCustomField: gi, VInlineSelect: hi, VInlineSwitch: bi, VInlineTextField: Ci, VInlineTextarea: Ii }; export { - mi as VInlineCheckbox, - gi as VInlineCustomField, - hi as VInlineSelect, - bi as VInlineSwitch, - Ci as VInlineTextField, - Ii as VInlineTextarea, - Os as createVInlineFields, - Ps as default, - Mn as globalOptions + Ss as VInlineCheckbox, + Bs as VInlineCustomField, + xs as VInlineSelect, + ws as VInlineSwitch, + Fs as VInlineTextField, + As as VInlineTextarea, + Ps as createVInlineFields, + Qo as default, + Wt as globalOptions }; -(function(){"use strict";try{if(typeof document<"u"){var i=document.createElement("style");i.appendChild(document.createTextNode(":root{--v-inline-fields-top-padding-compact: 13px;--v-inline-fields-top-padding-comfortable: 17px;--v-inline-fields-top-padding-default: 21px;--v-inline-fields-input-height: 24px;--v-inline-fields-density-compact-height: 32px;--v-inline-fields-density-comfortable-height: 40px;--v-inline-fields-grey: #909090}.v-inline-fields--container-v-select-comfortable-plain .v-input__control .v-field__clearable,.v-inline-fields--container-v-select-comfortable-underlined .v-input__control .v-field__clearable,.v-inline-fields--container-v-text-field-comfortable-plain .v-input__control .v-field__clearable,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input__control .v-field__clearable,.v-inline-fields--container-v-select-compact-plain .v-input__control .v-field__clearable,.v-inline-fields--container-v-select-compact-underlined .v-input__control .v-field__clearable,.v-inline-fields--container-v-text-field-compact-plain .v-input__control .v-field__clearable,.v-inline-fields--container-v-text-field-compact-underlined .v-input__control .v-field__clearable,.v-inline-fields--container-v-select-comfortable-plain .v-input__control .v-input__append,.v-inline-fields--container-v-select-comfortable-underlined .v-input__control .v-input__append,.v-inline-fields--container-v-text-field-comfortable-plain .v-input__control .v-input__append,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input__control .v-input__append,.v-inline-fields--container-v-select-compact-plain .v-input__control .v-input__append,.v-inline-fields--container-v-select-compact-underlined .v-input__control .v-input__append,.v-inline-fields--container-v-text-field-compact-plain .v-input__control .v-input__append,.v-inline-fields--container-v-text-field-compact-underlined .v-input__control .v-input__append{padding-top:0!important}.v-inline-fields--container-v-select-comfortable-plain .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-select-comfortable-underlined .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-text-field-comfortable-plain .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-select-compact-plain .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-select-compact-underlined .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-text-field-compact-plain .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-text-field-compact-underlined .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-select-comfortable-plain .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-select-comfortable-underlined .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-text-field-comfortable-plain .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-select-compact-plain .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-select-compact-underlined .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-text-field-compact-plain .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-text-field-compact-underlined .v-input__control .v-input__append .v-icon{font-size:1rem!important}.v-inline-fields{position:relative}.v-inline-fields--display-container *{align-items:center;display:flex}.v-inline-fields--display-container-cell{cursor:pointer;display:block;max-height:unset!important}.v-inline-fields--display-container-cell>div{width:100%}.v-inline-fields--display-container-cell-underline-full-width .v-inline-fields--display-value{width:100%}.v-inline-fields--display-container-cell .v-inline-fields--selection-control .v-inline-fields--display-value{justify-content:center}.v-inline-fields--display-container-cell,.v-inline-fields--display-container-cell .v-input,.v-inline-fields--display-container-cell .v-inline-fields--display-wrapper,.v-inline-fields--display-container-cell .v-selection-control__wrapper{height:100%!important;width:100%}.v-inline-fields--display-value{cursor:pointer;letter-spacing:.009375em!important}.v-inline-fields--display-value-empty{color:var(--v-inline-fields-grey);font-style:italic}.v-inline-fields--display-value-checkbox,.v-inline-fields--display-value-switch{padding-bottom:2px;padding-top:6px}.v-inline-fields--display-append-icon,.v-inline-fields--display-prepend-icon,.v-inline-fields--display-append-inner-icon,.v-inline-fields--display-prepend-inner-icon{align-items:flex-end;display:inline-flex}.v-inline-fields--container-cell{height:100%;width:100%}.v-inline-fields--container-disabled .v-inline-fields--display-value{cursor:default!important;opacity:var(--v-disabled-opacity)}.v-inline-fields--container-loading .v-inline-fields--display-value{cursor:wait!important}.v-inline-fields--container-icon-set-fa .v-field__clearable{font-size:.8rem}.v-inline-fields--container-icon-set-fa .v-field__append-inner{align-items:flex-end;padding-bottom:0!important}.v-inline-fields--container-v-select-compact-plain .v-input,.v-inline-fields--container-v-select-compact-underlined .v-input,.v-inline-fields--container-v-text-field-compact-plain .v-input,.v-inline-fields--container-v-text-field-compact-underlined .v-input{height:var(--v-inline-fields-density-compact-height);max-height:var(--v-inline-fields-density-compact-height)}.v-inline-fields--container-v-select-compact-plain .v-input__control,.v-inline-fields--container-v-select-compact-underlined .v-input__control,.v-inline-fields--container-v-text-field-compact-plain .v-input__control,.v-inline-fields--container-v-text-field-compact-underlined .v-input__control{padding-bottom:4px}.v-inline-fields--container-v-select-compact-plain .v-input>div,.v-inline-fields--container-v-select-compact-underlined .v-input>div,.v-inline-fields--container-v-text-field-compact-plain .v-input>div,.v-inline-fields--container-v-text-field-compact-underlined .v-input>div{height:inherit!important;max-height:inherit!important}.v-inline-fields--container-v-select-compact-plain .v-input .v-field__input,.v-inline-fields--container-v-select-compact-underlined .v-input .v-field__input,.v-inline-fields--container-v-text-field-compact-plain .v-input .v-field__input,.v-inline-fields--container-v-text-field-compact-underlined .v-input .v-field__input{padding-top:0}.v-inline-fields--container-v-select-compact-plain .v-input .v-field__input input,.v-inline-fields--container-v-select-compact-underlined .v-input .v-field__input input,.v-inline-fields--container-v-text-field-compact-plain .v-input .v-field__input input,.v-inline-fields--container-v-text-field-compact-underlined .v-input .v-field__input input{padding-bottom:10px}.v-inline-fields--container-v-select-compact-plain .v-input .v-select__selection,.v-inline-fields--container-v-select-compact-underlined .v-input .v-select__selection,.v-inline-fields--container-v-text-field-compact-plain .v-input .v-select__selection,.v-inline-fields--container-v-text-field-compact-underlined .v-input .v-select__selection{align-items:center;padding-bottom:10px}.v-inline-fields--container-v-select-comfortable-plain .v-input,.v-inline-fields--container-v-select-comfortable-underlined .v-input,.v-inline-fields--container-v-text-field-comfortable-plain .v-input,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input{height:var(--v-inline-fields-density-comfortable-height);max-height:var(--v-inline-fields-density-comfortable-height)}.v-inline-fields--container-v-select-comfortable-plain .v-input__control,.v-inline-fields--container-v-select-comfortable-underlined .v-input__control,.v-inline-fields--container-v-text-field-comfortable-plain .v-input__control,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input__control{padding-bottom:8px}.v-inline-fields--container-v-select-comfortable-plain .v-input>div,.v-inline-fields--container-v-select-comfortable-underlined .v-input>div,.v-inline-fields--container-v-text-field-comfortable-plain .v-input>div,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input>div{height:inherit!important;max-height:inherit!important}.v-inline-fields--container-v-select-comfortable-plain .v-input .v-field__input,.v-inline-fields--container-v-select-comfortable-underlined .v-input .v-field__input,.v-inline-fields--container-v-text-field-comfortable-plain .v-input .v-field__input,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input .v-field__input{padding-top:0}.v-inline-fields--container-v-select-comfortable-plain .v-input .v-field__input input,.v-inline-fields--container-v-select-comfortable-underlined .v-input .v-field__input input,.v-inline-fields--container-v-text-field-comfortable-plain .v-input .v-field__input input,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input .v-field__input input{padding-bottom:6px}.v-inline-fields--container-v-select-comfortable-plain .v-input .v-select__selection,.v-inline-fields--container-v-select-comfortable-underlined .v-input .v-select__selection,.v-inline-fields--container-v-text-field-comfortable-plain .v-input .v-select__selection,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input .v-select__selection{align-items:center;padding-bottom:6px}.v-inline-fields--container-v-select-compact-plain .v-field__append-inner,.v-inline-fields--container-v-select-compact-underlined .v-field__append-inner{padding-top:4px!important}.v-inline-fields--container-v-select-comfortable-plain .v-field__append-inner,.v-inline-fields--container-v-select-comfortable-underlined .v-field__append-inner{padding-top:8px!important}.v-inline-fields--container-v-textarea .v-inline-fields--save-fields-container{align-items:flex-end}.v-inline-fields--container-v-select,.v-inline-fields--container-v-textarea,.v-inline-fields--container-v-text-field{width:100%}.v-inline-fields--container-v-checkbox .v-input,.v-inline-fields--container-v-switch .v-input{align-items:center;display:flex;padding-bottom:0}.v-inline-fields--container-v-checkbox .v-input__append,.v-inline-fields--container-v-switch .v-input__append{margin-inline-start:0!important;margin-left:0;padding-bottom:0!important}.v-inline-fields--container-v-checkbox .v-selection-control,.v-inline-fields--container-v-switch .v-selection-control{min-height:unset}.v-inline-fields--container-v-checkbox .v-inline-fields--save-fields-container,.v-inline-fields--container-v-switch .v-inline-fields--save-fields-container{align-items:center!important}.v-inline-fields--container .v-input__append,.v-inline-fields--container .v-input__prepend,.v-inline-fields--container .v-field__append-inner,.v-inline-fields--container .v-field__prepend-inner{padding-top:0!important}.v-inline-fields--container .v-input__append .v-icon,.v-inline-fields--container .v-input__prepend .v-icon,.v-inline-fields--container .v-field__append-inner .v-icon,.v-inline-fields--container .v-field__prepend-inner .v-icon{font-size:1rem!important}.v-inline-fields--container .v-field__append-inner,.v-inline-fields--container .v-field__prepend-inner{padding-bottom:10px!important}.v-inline-fields--container-compact .v-input__append,.v-inline-fields--container-compact .v-input__prepend,.v-inline-fields--container-compact .v-field__append-inner,.v-inline-fields--container-compact .v-field__prepend-inner{align-items:center!important}.v-inline-fields--container-compact .v-field__append-inner,.v-inline-fields--container-compact .v-field__prepend-inner{padding-bottom:10px!important}.v-inline-fields--container-comfortable .v-input__append,.v-inline-fields--container-comfortable .v-input__prepend,.v-inline-fields--container-comfortable .v-field__append-inner,.v-inline-fields--container-comfortable .v-field__prepend-inner{align-items:center!important}.v-inline-fields--container-comfortable .v-field__append-inner,.v-inline-fields--container-comfortable .v-field__prepend-inner{padding-bottom:6px!important}.v-inline-fields--container-default .v-input__append,.v-inline-fields--container-default .v-input__prepend,.v-inline-fields--container-default .v-field__append-inner,.v-inline-fields--container-default .v-field__prepend-inner{align-items:flex-end!important;padding-bottom:0!important}.v-inline-fields--container-default .v-input__append .v-icon,.v-inline-fields--container-default .v-input__prepend .v-icon,.v-inline-fields--container-default .v-field__append-inner .v-icon,.v-inline-fields--container-default .v-field__prepend-inner .v-icon{font-size:calc(var(--v-icon-size-multiplier) * 1.5em)!important}.v-inline-fields--container-default .v-inline-fields--save-fields-container{align-items:flex-end!important}.v-inline-fields--card-container{height:fit-content;min-width:fit-content!important;position:absolute}.v-inline-fields--card-container .v-card{border:1px solid hsla(0,0%,50%,.5)}.v-inline-fields--card-container .v-card .v-card-text{padding:5px 10px}.v-inline-fields--card-container .v-card .v-card-text>div{align-items:center;display:flex}.v-inline-fields--card-container-checkbox .v-card .v-card-text .v-input__append{margin-inline-start:0}.v-inline-fields--save-fields-container{align-items:center;display:flex;height:100%;margin-left:.1rem}.v-inline-fields--boolean-icons{font-size:calc(var(--v-icon-size-multiplier) * 1em)}.v-inline-fields .truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:250px}.v-inline-fields .v-input__append{padding-top:0}[data-v-0716e076] .v-field__field{align-items:flex-end!important}")),document.head.appendChild(i)}}catch(n){console.error("vite-plugin-css-injected-by-js",n)}})(); +(function(){"use strict";try{if(typeof document<"u"){var i=document.createElement("style");i.appendChild(document.createTextNode(":root{--v-inline-fields-top-padding-compact: 13px;--v-inline-fields-top-padding-comfortable: 17px;--v-inline-fields-top-padding-default: 21px;--v-inline-fields-input-height: 24px;--v-inline-fields-density-compact-height: 32px;--v-inline-fields-density-comfortable-height: 40px;--v-inline-fields-grey: #909090}.v-inline-fields--container-v-select-comfortable-plain .v-input__control .v-field__clearable,.v-inline-fields--container-v-select-comfortable-underlined .v-input__control .v-field__clearable,.v-inline-fields--container-v-text-field-comfortable-plain .v-input__control .v-field__clearable,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input__control .v-field__clearable,.v-inline-fields--container-v-select-compact-plain .v-input__control .v-field__clearable,.v-inline-fields--container-v-select-compact-underlined .v-input__control .v-field__clearable,.v-inline-fields--container-v-text-field-compact-plain .v-input__control .v-field__clearable,.v-inline-fields--container-v-text-field-compact-underlined .v-input__control .v-field__clearable,.v-inline-fields--container-v-select-comfortable-plain .v-input__control .v-input__append,.v-inline-fields--container-v-select-comfortable-underlined .v-input__control .v-input__append,.v-inline-fields--container-v-text-field-comfortable-plain .v-input__control .v-input__append,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input__control .v-input__append,.v-inline-fields--container-v-select-compact-plain .v-input__control .v-input__append,.v-inline-fields--container-v-select-compact-underlined .v-input__control .v-input__append,.v-inline-fields--container-v-text-field-compact-plain .v-input__control .v-input__append,.v-inline-fields--container-v-text-field-compact-underlined .v-input__control .v-input__append{padding-top:0!important}.v-inline-fields--container-v-select-comfortable-plain .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-select-comfortable-underlined .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-text-field-comfortable-plain .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-select-compact-plain .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-select-compact-underlined .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-text-field-compact-plain .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-text-field-compact-underlined .v-input__control .v-field__clearable .v-icon,.v-inline-fields--container-v-select-comfortable-plain .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-select-comfortable-underlined .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-text-field-comfortable-plain .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-select-compact-plain .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-select-compact-underlined .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-text-field-compact-plain .v-input__control .v-input__append .v-icon,.v-inline-fields--container-v-text-field-compact-underlined .v-input__control .v-input__append .v-icon{font-size:1rem!important}.v-inline-fields{position:relative}.v-inline-fields--display-container *{align-items:center;display:flex}.v-inline-fields--display-container-cell{cursor:pointer;display:block;max-height:unset!important}.v-inline-fields--display-container-cell>div{width:100%}.v-inline-fields--display-container-cell-underline-full-width .v-inline-fields--display-value{width:100%}.v-inline-fields--display-container-cell .v-inline-fields--selection-control .v-inline-fields--display-value{justify-content:center}.v-inline-fields--display-container-cell,.v-inline-fields--display-container-cell .v-input,.v-inline-fields--display-container-cell .v-inline-fields--display-wrapper,.v-inline-fields--display-container-cell .v-selection-control__wrapper{height:100%!important;width:100%}.v-inline-fields--display-value{cursor:pointer;letter-spacing:.009375em!important}.v-inline-fields--display-value-empty{color:var(--v-inline-fields-grey);font-style:italic}.v-inline-fields--display-value-checkbox,.v-inline-fields--display-value-switch{padding-bottom:2px;padding-top:6px}.v-inline-fields--display-append-icon,.v-inline-fields--display-prepend-icon,.v-inline-fields--display-append-inner-icon,.v-inline-fields--display-prepend-inner-icon{align-items:flex-end;display:inline-flex}.v-inline-fields--container-cell{height:100%;width:100%}.v-inline-fields--container-disabled .v-inline-fields--display-value{cursor:default!important;opacity:var(--v-disabled-opacity)}.v-inline-fields--container-loading .v-inline-fields--display-value{cursor:wait!important}.v-inline-fields--container-icon-set-fa .v-field__clearable{font-size:.8rem}.v-inline-fields--container-icon-set-fa .v-field__append-inner{align-items:flex-end;padding-bottom:0!important}.v-inline-fields--container-v-select-compact-plain .v-input,.v-inline-fields--container-v-select-compact-underlined .v-input,.v-inline-fields--container-v-text-field-compact-plain .v-input,.v-inline-fields--container-v-text-field-compact-underlined .v-input{height:var(--v-inline-fields-density-compact-height);max-height:var(--v-inline-fields-density-compact-height)}.v-inline-fields--container-v-select-compact-plain .v-input__control,.v-inline-fields--container-v-select-compact-underlined .v-input__control,.v-inline-fields--container-v-text-field-compact-plain .v-input__control,.v-inline-fields--container-v-text-field-compact-underlined .v-input__control{padding-bottom:4px}.v-inline-fields--container-v-select-compact-plain .v-input>div,.v-inline-fields--container-v-select-compact-underlined .v-input>div,.v-inline-fields--container-v-text-field-compact-plain .v-input>div,.v-inline-fields--container-v-text-field-compact-underlined .v-input>div{height:inherit!important;max-height:inherit!important}.v-inline-fields--container-v-select-compact-plain .v-input .v-field__input,.v-inline-fields--container-v-select-compact-underlined .v-input .v-field__input,.v-inline-fields--container-v-text-field-compact-plain .v-input .v-field__input,.v-inline-fields--container-v-text-field-compact-underlined .v-input .v-field__input{padding-top:0}.v-inline-fields--container-v-select-compact-plain .v-input .v-field__input input,.v-inline-fields--container-v-select-compact-underlined .v-input .v-field__input input,.v-inline-fields--container-v-text-field-compact-plain .v-input .v-field__input input,.v-inline-fields--container-v-text-field-compact-underlined .v-input .v-field__input input{padding-bottom:10px}.v-inline-fields--container-v-select-compact-plain .v-input .v-select__selection,.v-inline-fields--container-v-select-compact-underlined .v-input .v-select__selection,.v-inline-fields--container-v-text-field-compact-plain .v-input .v-select__selection,.v-inline-fields--container-v-text-field-compact-underlined .v-input .v-select__selection{align-items:center;padding-bottom:10px}.v-inline-fields--container-v-select-comfortable-plain .v-input,.v-inline-fields--container-v-select-comfortable-underlined .v-input,.v-inline-fields--container-v-text-field-comfortable-plain .v-input,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input{height:var(--v-inline-fields-density-comfortable-height);max-height:var(--v-inline-fields-density-comfortable-height)}.v-inline-fields--container-v-select-comfortable-plain .v-input__control,.v-inline-fields--container-v-select-comfortable-underlined .v-input__control,.v-inline-fields--container-v-text-field-comfortable-plain .v-input__control,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input__control{padding-bottom:8px}.v-inline-fields--container-v-select-comfortable-plain .v-input>div,.v-inline-fields--container-v-select-comfortable-underlined .v-input>div,.v-inline-fields--container-v-text-field-comfortable-plain .v-input>div,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input>div{height:inherit!important;max-height:inherit!important}.v-inline-fields--container-v-select-comfortable-plain .v-input .v-field__input,.v-inline-fields--container-v-select-comfortable-underlined .v-input .v-field__input,.v-inline-fields--container-v-text-field-comfortable-plain .v-input .v-field__input,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input .v-field__input{padding-top:0}.v-inline-fields--container-v-select-comfortable-plain .v-input .v-field__input input,.v-inline-fields--container-v-select-comfortable-underlined .v-input .v-field__input input,.v-inline-fields--container-v-text-field-comfortable-plain .v-input .v-field__input input,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input .v-field__input input{padding-bottom:6px}.v-inline-fields--container-v-select-comfortable-plain .v-input .v-select__selection,.v-inline-fields--container-v-select-comfortable-underlined .v-input .v-select__selection,.v-inline-fields--container-v-text-field-comfortable-plain .v-input .v-select__selection,.v-inline-fields--container-v-text-field-comfortable-underlined .v-input .v-select__selection{align-items:center;padding-bottom:6px}.v-inline-fields--container-v-select-compact-plain .v-field__append-inner,.v-inline-fields--container-v-select-compact-underlined .v-field__append-inner{padding-top:4px!important}.v-inline-fields--container-v-select-comfortable-plain .v-field__append-inner,.v-inline-fields--container-v-select-comfortable-underlined .v-field__append-inner{padding-top:8px!important}.v-inline-fields--container-v-textarea .v-inline-fields--save-fields-container{align-items:flex-end}.v-inline-fields--container-v-select,.v-inline-fields--container-v-textarea,.v-inline-fields--container-v-text-field{width:100%}.v-inline-fields--container-v-checkbox .v-input,.v-inline-fields--container-v-switch .v-input{align-items:center;display:flex;padding-bottom:0}.v-inline-fields--container-v-checkbox .v-input__append,.v-inline-fields--container-v-switch .v-input__append{margin-inline-start:0!important;margin-left:0;padding-bottom:0!important}.v-inline-fields--container-v-checkbox .v-selection-control,.v-inline-fields--container-v-switch .v-selection-control{min-height:unset}.v-inline-fields--container-v-checkbox .v-inline-fields--save-fields-container,.v-inline-fields--container-v-switch .v-inline-fields--save-fields-container{align-items:center!important}.v-inline-fields--container .v-input__append,.v-inline-fields--container .v-input__prepend,.v-inline-fields--container .v-field__append-inner,.v-inline-fields--container .v-field__prepend-inner{padding-top:0!important}.v-inline-fields--container .v-input__append .v-icon,.v-inline-fields--container .v-input__prepend .v-icon,.v-inline-fields--container .v-field__append-inner .v-icon,.v-inline-fields--container .v-field__prepend-inner .v-icon{font-size:1rem!important}.v-inline-fields--container .v-field__append-inner,.v-inline-fields--container .v-field__prepend-inner{padding-bottom:10px!important}.v-inline-fields--container-compact .v-input__append,.v-inline-fields--container-compact .v-input__prepend,.v-inline-fields--container-compact .v-field__append-inner,.v-inline-fields--container-compact .v-field__prepend-inner{align-items:center!important}.v-inline-fields--container-compact .v-field__append-inner,.v-inline-fields--container-compact .v-field__prepend-inner{padding-bottom:10px!important}.v-inline-fields--container-comfortable .v-input__append,.v-inline-fields--container-comfortable .v-input__prepend,.v-inline-fields--container-comfortable .v-field__append-inner,.v-inline-fields--container-comfortable .v-field__prepend-inner{align-items:center!important}.v-inline-fields--container-comfortable .v-field__append-inner,.v-inline-fields--container-comfortable .v-field__prepend-inner{padding-bottom:6px!important}.v-inline-fields--container-default .v-input__append,.v-inline-fields--container-default .v-input__prepend,.v-inline-fields--container-default .v-field__append-inner,.v-inline-fields--container-default .v-field__prepend-inner{align-items:flex-end!important;padding-bottom:0!important}.v-inline-fields--container-default .v-input__append .v-icon,.v-inline-fields--container-default .v-input__prepend .v-icon,.v-inline-fields--container-default .v-field__append-inner .v-icon,.v-inline-fields--container-default .v-field__prepend-inner .v-icon{font-size:calc(var(--v-icon-size-multiplier) * 1.5em)!important}.v-inline-fields--container-default .v-inline-fields--save-fields-container{align-items:flex-end!important}.v-inline-fields--card-container{height:fit-content;min-width:fit-content!important;position:absolute}.v-inline-fields--card-container .v-card{border:1px solid hsla(0,0%,50%,.5)}.v-inline-fields--card-container .v-card .v-card-text{padding:5px 10px}.v-inline-fields--card-container .v-card .v-card-text>div{align-items:center;display:flex}.v-inline-fields--card-container-checkbox .v-card .v-card-text .v-input__append{margin-inline-start:0}.v-inline-fields--save-fields-container{align-items:center;display:flex;height:100%;margin-left:.1rem}.v-inline-fields--boolean-icons{font-size:calc(var(--v-icon-size-multiplier) * 1em)}.v-inline-fields .truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:250px}.v-inline-fields .v-input__append{padding-top:0}[data-v-bf7fbbc3] .v-field__field{align-items:flex-end!important}")),document.head.appendChild(i)}}catch(n){console.error("vite-plugin-css-injected-by-js",n)}})(); diff --git a/src/playground/configs/templates/PlaygroundPage.vue b/src/playground/configs/templates/PlaygroundPage.vue index 49225a2..67deef0 100644 --- a/src/playground/configs/templates/PlaygroundPage.vue +++ b/src/playground/configs/templates/PlaygroundPage.vue @@ -354,7 +354,7 @@ import type { // VIconColor, VBtnVariant, // VIconValue, -} from '../plugin/types'; +} from '@/plugin/types'; type Headers = VDataTable['$props']['headers']; diff --git a/src/plugin/__tests__/index.spec.ts b/src/plugin/__tests__/index.spec.ts deleted file mode 100644 index bd535bf..0000000 --- a/src/plugin/__tests__/index.spec.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { describe, it, expect } from 'vitest'; -import { createVInlineFields } from '@/plugin'; - - -describe('framework', () => { - describe('install', () => { - it('should return install function', () => { - const vInlineFields = createVInlineFields(); - - expect('install' in vInlineFields).toBe(true); - }); - }); -}); diff --git a/src/plugin/__tests__/index.test.ts b/src/plugin/__tests__/index.test.ts new file mode 100644 index 0000000..484490a --- /dev/null +++ b/src/plugin/__tests__/index.test.ts @@ -0,0 +1,13 @@ +import { describe, it, expect } from 'vitest'; +import { createVInlineFields } from '../'; + + +describe('Plugin Index', () => { + describe('install', () => { + it('should return install function', () => { + const VInlineFields = createVInlineFields(); + + expect('install' in VInlineFields).toBe(true); + }); + }); +}); diff --git a/src/plugin/VInlineCheckbox.vue b/src/plugin/components/VInlineCheckbox/VInlineCheckbox.vue similarity index 94% rename from src/plugin/VInlineCheckbox.vue rename to src/plugin/components/VInlineCheckbox/VInlineCheckbox.vue index 8446299..284229d 100644 --- a/src/plugin/VInlineCheckbox.vue +++ b/src/plugin/components/VInlineCheckbox/VInlineCheckbox.vue @@ -130,20 +130,18 @@ import { FieldValue, SharedProps, TimeOpened, - VInlineCheckboxProps, } from '@/plugin/types'; +import type { VInlineCheckboxProps } from './'; import { IconOptions, useTheme } from 'vuetify'; import { checkboxProps, defaultCardProps, -} from './utils/props'; -import { - BooleanIcons, - SaveFieldButtons, -} from './components/index'; -import { useTruthyModelValue } from './composables/helpers'; -import { useToggleField } from './composables/methods'; -import { useGetIcon } from './composables/icons'; +} from '@utils/props'; +import SaveFieldButtons from '@components/common/SaveFieldButtons.vue'; +import BooleanIcons from '@components/common/BooleanIcons.vue'; +import { useTruthyModelValue } from '@composables/helpers'; +import { useToggleField } from '@composables/methods'; +import { useGetIcon } from '@composables/icons'; import { useCardContainerClass, useDisplayContainerClass, @@ -151,16 +149,16 @@ import { useDisplayValueClass, useFieldContainerClass, useInlineFieldsContainerClass, -} from './composables/classes'; +} from '@composables/classes'; import { useDisplayValueStyles, useCardContainerStyle, useInlineFieldsContainerStyle, -} from './composables/styles'; -import inlineEmits from './utils/emits'; -import { useBindingSettings } from './composables/bindings'; +} from '@composables/styles'; +import inlineEmits from '@utils/emits'; +import { useBindingSettings } from '@composables/bindings'; import { useWindowSize } from '@vueuse/core'; -import { globalOptions } from './'; +import { globalOptions } from '../../'; const modelValue = defineModel(); diff --git a/src/plugin/__tests__/VInlineCheckbox.spec.ts b/src/plugin/components/VInlineCheckbox/__tests__/VInlineCheckbox.test.ts similarity index 92% rename from src/plugin/__tests__/VInlineCheckbox.spec.ts rename to src/plugin/components/VInlineCheckbox/__tests__/VInlineCheckbox.test.ts index e009b2f..0b8d241 100644 --- a/src/plugin/__tests__/VInlineCheckbox.spec.ts +++ b/src/plugin/components/VInlineCheckbox/__tests__/VInlineCheckbox.test.ts @@ -1,5 +1,5 @@ import VInlineCheckbox from '../VInlineCheckbox.vue'; -import { checkboxProps } from '@/plugin/utils/props'; +import { checkboxProps } from '../../../utils/props'; import { createVuetify } from 'vuetify'; import { describe, it, expect } from 'vitest'; import { mount } from '@vue/test-utils'; diff --git a/src/plugin/components/VInlineCheckbox/index.ts b/src/plugin/components/VInlineCheckbox/index.ts new file mode 100644 index 0000000..eaa84e0 --- /dev/null +++ b/src/plugin/components/VInlineCheckbox/index.ts @@ -0,0 +1,17 @@ +import type { VCheckbox } from 'vuetify/components'; +import type { SharedProps } from '@/plugin/types'; +import type VInlineCheckbox from './VInlineCheckbox.vue'; + + +export interface VInlineCheckboxProps extends Omit { + density?: VCheckbox['$props']['density']; + falseIcon?: string | undefined; + trueIcon?: string | undefined; +} + + +export type VInlineCheckbox = InstanceType; + +export default VInlineCheckbox; diff --git a/src/plugin/VInlineCustomField.vue b/src/plugin/components/VInlineCustomField/VInlineCustomField.vue similarity index 95% rename from src/plugin/VInlineCustomField.vue rename to src/plugin/components/VInlineCustomField/VInlineCustomField.vue index acc1bc6..c058c11 100644 --- a/src/plugin/VInlineCustomField.vue +++ b/src/plugin/components/VInlineCustomField/VInlineCustomField.vue @@ -88,32 +88,33 @@ import { FieldValue, SharedProps, TimeOpened, - VInlineTextFieldProps, } from '@/plugin/types'; +import type { VInlineCustomFieldProps } from './'; import { IconOptions } from 'vuetify'; import { defaultCardProps, textFieldProps, -} from './utils/props'; -import { DisplayedValue, SaveFieldButtons } from './components/index'; +} from '@utils/props'; +import DisplayedValue from '@components/common/DisplayedValue.vue'; +import SaveFieldButtons from '@components/common/SaveFieldButtons.vue'; import { useCheckForErrors, useToggleField, useTruncateText, -} from './composables/methods'; +} from '@composables/methods'; import { useCardContainerClass, useDisplayContainerClass, useDisplayInputControlClasses, useFieldContainerClass, useInlineFieldsContainerClass, -} from './composables/classes'; +} from '@composables/classes'; import { useCardContainerStyle, useInlineFieldsContainerStyle, -} from './composables/styles'; -import inlineEmits from './utils/emits'; -import { globalOptions } from './'; +} from '@composables/styles'; +import inlineEmits from '@utils/emits'; +import { globalOptions } from '../../'; const modelValue = defineModel(); @@ -125,7 +126,7 @@ const injectedOptions = inject(globalOptions, {}); const iconOptions = inject(Symbol.for('vuetify:icons')); -const props = withDefaults(defineProps(), { ...textFieldProps }); +const props = withDefaults(defineProps(), { ...textFieldProps }); let settings = reactive({ ...attrs, ...props, ...injectedOptions }); const { cancelButtonColor, diff --git a/src/plugin/components/VInlineCustomField/__tests__/VInlineCustomField.spec.ts b/src/plugin/components/VInlineCustomField/__tests__/VInlineCustomField.spec.ts new file mode 100644 index 0000000..3e7fa4c --- /dev/null +++ b/src/plugin/components/VInlineCustomField/__tests__/VInlineCustomField.spec.ts @@ -0,0 +1,27 @@ +import VInlineCustomField from '../VInlineCustomField.vue'; +import { createVuetify } from 'vuetify'; +import { describe, it, expect } from 'vitest'; +import { mount } from '@vue/test-utils'; +import { textFieldProps } from '../../../utils/props'; + + +const vuetify = createVuetify(); + +const componentProps = Object.assign(textFieldProps, { + cardProps: {}, + required: false, +}); + +describe('VInlineTextField', () => { + const wrapper = mount(VInlineCustomField, { + global: { + plugins: [vuetify], + }, + }); + + it('testing default component props', () => { + const returnedProps = wrapper.getComponent(VInlineCustomField).props(); + + expect(returnedProps).toEqual(componentProps); + }); +}); diff --git a/src/plugin/components/VInlineCustomField/index.ts b/src/plugin/components/VInlineCustomField/index.ts new file mode 100644 index 0000000..7c16f7e --- /dev/null +++ b/src/plugin/components/VInlineCustomField/index.ts @@ -0,0 +1,9 @@ +import type { VInlineTextFieldProps } from '@components/VInlineTextField/'; +import type VInlineCustomField from './VInlineCustomField.vue'; + + +export interface VInlineCustomFieldProps extends VInlineTextFieldProps { } + +export type VInlineCustomField = InstanceType; + +export default VInlineCustomField; diff --git a/src/plugin/VInlineSelect.vue b/src/plugin/components/VInlineSelect/VInlineSelect.vue similarity index 95% rename from src/plugin/VInlineSelect.vue rename to src/plugin/components/VInlineSelect/VInlineSelect.vue index 52a9f28..4b0f5ed 100644 --- a/src/plugin/VInlineSelect.vue +++ b/src/plugin/components/VInlineSelect/VInlineSelect.vue @@ -123,34 +123,35 @@ import { FieldValue, SharedProps, TimeOpened, - VInlineSelectProps, } from '@/plugin/types'; +import type { VInlineSelectProps } from './'; import { IconOptions } from 'vuetify'; import type { VSelect } from 'vuetify/components'; import { defaultCardProps, selectProps, -} from './utils/props'; -import { DisplayedValue, SaveFieldButtons } from './components/index'; +} from '@utils/props'; +import DisplayedValue from '@components/common/DisplayedValue.vue'; +import SaveFieldButtons from '@components/common/SaveFieldButtons.vue'; import { useCheckForErrors, useToggleField, -} from './composables/methods'; +} from '@composables/methods'; import { useCardContainerClass, useDisplayContainerClass, useDisplayInputControlClasses, useFieldContainerClass, useInlineFieldsContainerClass, -} from './composables/classes'; +} from '@composables/classes'; import { useCardContainerStyle, useInlineFieldsContainerStyle, -} from './composables/styles'; -import inlineEmits from './utils/emits'; -import { useBindingSettings } from './composables/bindings'; -import { useGetIcon } from './composables/icons'; -import { globalOptions } from './'; +} from '@composables/styles'; +import inlineEmits from '@utils/emits'; +import { useBindingSettings } from '@composables/bindings'; +import { useGetIcon } from '@composables/icons'; +import { globalOptions } from '../../'; const modelValue = defineModel(); diff --git a/src/plugin/__tests__/VInlineSelect.spec.ts b/src/plugin/components/VInlineSelect/__tests__/VInlineSelect.spec.ts similarity index 92% rename from src/plugin/__tests__/VInlineSelect.spec.ts rename to src/plugin/components/VInlineSelect/__tests__/VInlineSelect.spec.ts index 18978f0..bc06300 100644 --- a/src/plugin/__tests__/VInlineSelect.spec.ts +++ b/src/plugin/components/VInlineSelect/__tests__/VInlineSelect.spec.ts @@ -2,7 +2,7 @@ import VInlineSelect from '../VInlineSelect.vue'; import { createVuetify } from 'vuetify'; import { describe, it, expect } from 'vitest'; import { mount } from '@vue/test-utils'; -import { selectProps } from '@/plugin/utils/props'; +import { selectProps } from '../../../utils/props'; const vuetify = createVuetify(); diff --git a/src/plugin/components/VInlineSelect/index.ts b/src/plugin/components/VInlineSelect/index.ts new file mode 100644 index 0000000..6539ce4 --- /dev/null +++ b/src/plugin/components/VInlineSelect/index.ts @@ -0,0 +1,24 @@ +import type { VSelect } from 'vuetify/components'; +import type { SharedProps } from '@/plugin/types'; +import type VInlineSelect from './VInlineSelect.vue'; + + +export interface VInlineSelectProps extends Omit { + clearIcon?: string | undefined; + clearable?: VSelect['$props']['clearable']; + density?: VSelect['$props']['density']; + hideSelected?: VSelect['$props']['hideSelected']; + itemTitle?: VSelect['$props']['itemTitle']; + itemValue?: VSelect['$props']['itemValue']; + items?: VSelect['$props']['items']; + menu?: VSelect['$props']['menu']; + rules?: VSelect['$props']['rules']; + variant?: VSelect['$props']['variant']; +} + + +export type VInlineSelect = InstanceType; + +export default VInlineSelect; diff --git a/src/plugin/VInlineSwitch.vue b/src/plugin/components/VInlineSwitch/VInlineSwitch.vue similarity index 94% rename from src/plugin/VInlineSwitch.vue rename to src/plugin/components/VInlineSwitch/VInlineSwitch.vue index 52faacc..b5ea26c 100644 --- a/src/plugin/VInlineSwitch.vue +++ b/src/plugin/components/VInlineSwitch/VInlineSwitch.vue @@ -131,19 +131,17 @@ import { FieldValue, SharedProps, TimeOpened, - VInlineSwitchProps, } from '@/plugin/types'; +import type { VInlineSwitchProps } from './'; import { useTheme } from 'vuetify'; import { defaultCardProps, switchProps, -} from './utils/props'; -import { - BooleanIcons, - SaveFieldButtons, -} from './components/index'; -import { useTruthyModelValue } from './composables/helpers'; -import { useToggleField } from './composables/methods'; +} from '@utils/props'; +import BooleanIcons from '@components/common/BooleanIcons.vue'; +import SaveFieldButtons from '@components/common/SaveFieldButtons.vue'; +import { useTruthyModelValue } from '@composables/helpers'; +import { useToggleField } from '@composables/methods'; import { useCardContainerClass, useDisplayContainerClass, @@ -151,15 +149,15 @@ import { useDisplayValueClass, useFieldContainerClass, useInlineFieldsContainerClass, -} from './composables/classes'; +} from '@composables/classes'; import { useDisplayValueStyles, useCardContainerStyle, useInlineFieldsContainerStyle, -} from './composables/styles'; -import inlineEmits from './utils/emits'; -import { useBindingSettings } from './composables/bindings'; -import { globalOptions } from './'; +} from '@composables/styles'; +import inlineEmits from '@utils/emits'; +import { useBindingSettings } from '@composables/bindings'; +import { globalOptions } from '../../'; const modelValue = defineModel(); diff --git a/src/plugin/__tests__/VInlineSwitch.spec.ts b/src/plugin/components/VInlineSwitch/__tests__/VInlineSwitch.test.ts similarity index 92% rename from src/plugin/__tests__/VInlineSwitch.spec.ts rename to src/plugin/components/VInlineSwitch/__tests__/VInlineSwitch.test.ts index 2c60e49..aa0eb5a 100644 --- a/src/plugin/__tests__/VInlineSwitch.spec.ts +++ b/src/plugin/components/VInlineSwitch/__tests__/VInlineSwitch.test.ts @@ -2,7 +2,7 @@ import VInlineSwitch from '../VInlineSwitch.vue'; import { createVuetify } from 'vuetify'; import { describe, it, expect } from 'vitest'; import { mount } from '@vue/test-utils'; -import { switchProps } from '@/plugin/utils/props'; +import { switchProps } from '../../../utils/props'; const vuetify = createVuetify(); diff --git a/src/plugin/components/VInlineSwitch/index.ts b/src/plugin/components/VInlineSwitch/index.ts new file mode 100644 index 0000000..a3817ff --- /dev/null +++ b/src/plugin/components/VInlineSwitch/index.ts @@ -0,0 +1,16 @@ +import type { VSwitch } from 'vuetify/components'; +import type { SharedProps } from '@/plugin/types'; +import type VInlineSwitch from './VInlineSwitch.vue'; + + +export interface VInlineSwitchProps extends Omit { + density?: VSwitch['$props']['density']; + falseIcon?: VSwitch['$props']['falseIcon']; +} + + +export type VInlineSwitch = InstanceType; + +export default VInlineSwitch; diff --git a/src/plugin/VInlineTextField.vue b/src/plugin/components/VInlineTextField/VInlineTextField.vue similarity index 95% rename from src/plugin/VInlineTextField.vue rename to src/plugin/components/VInlineTextField/VInlineTextField.vue index 1980e16..b876678 100644 --- a/src/plugin/VInlineTextField.vue +++ b/src/plugin/components/VInlineTextField/VInlineTextField.vue @@ -118,34 +118,35 @@ import { FieldValue, SharedProps, TimeOpened, - VInlineTextFieldProps, } from '@/plugin/types'; +import type { VInlineTextFieldProps } from './'; import { IconOptions } from 'vuetify'; import { defaultCardProps, textFieldProps, -} from './utils/props'; -import { DisplayedValue, SaveFieldButtons } from './components/index'; +} from '@utils/props'; +import DisplayedValue from '@components/common/DisplayedValue.vue'; +import SaveFieldButtons from '@components/common/SaveFieldButtons.vue'; import { useCheckForErrors, useToggleField, useTruncateText, -} from './composables/methods'; +} from '@composables/methods'; import { useCardContainerClass, useDisplayContainerClass, useDisplayInputControlClasses, useFieldContainerClass, useInlineFieldsContainerClass, -} from './composables/classes'; +} from '@composables/classes'; import { useCardContainerStyle, useInlineFieldsContainerStyle, -} from './composables/styles'; -import inlineEmits from './utils/emits'; -import { useBindingSettings } from './composables/bindings'; -import { useGetIcon } from './composables/icons'; -import { globalOptions } from './'; +} from '@composables/styles'; +import inlineEmits from '@utils/emits'; +import { useBindingSettings } from '@composables/bindings'; +import { useGetIcon } from '@composables/icons'; +import { globalOptions } from '../../'; const modelValue = defineModel(); diff --git a/src/plugin/__tests__/VInlineTextField.spec.ts b/src/plugin/components/VInlineTextField/__tests__/VInlineTextField.test.ts similarity index 91% rename from src/plugin/__tests__/VInlineTextField.spec.ts rename to src/plugin/components/VInlineTextField/__tests__/VInlineTextField.test.ts index 5337089..28f869b 100644 --- a/src/plugin/__tests__/VInlineTextField.spec.ts +++ b/src/plugin/components/VInlineTextField/__tests__/VInlineTextField.test.ts @@ -2,7 +2,7 @@ import VInlineTextField from '../VInlineTextField.vue'; import { createVuetify } from 'vuetify'; import { describe, it, expect } from 'vitest'; import { mount } from '@vue/test-utils'; -import { textFieldProps } from '@/plugin/utils/props'; +import { textFieldProps } from '../../../utils/props'; const vuetify = createVuetify(); diff --git a/src/plugin/components/VInlineTextField/index.ts b/src/plugin/components/VInlineTextField/index.ts new file mode 100644 index 0000000..5bc2eba --- /dev/null +++ b/src/plugin/components/VInlineTextField/index.ts @@ -0,0 +1,18 @@ +import type { VTextField } from 'vuetify/components'; +import type { SharedProps } from '@/plugin/types'; +import type VInlineTextField from './VInlineTextField.vue'; + + +export interface VInlineTextFieldProps extends Omit { + clearIcon?: string | undefined; + density?: VTextField['$props']['density']; + rules?: VTextField['$props']['rules']; + variant?: VTextField['$props']['variant']; +} + + +export type VInlineTextField = InstanceType; + +export default VInlineTextField; diff --git a/src/plugin/VInlineTextarea.vue b/src/plugin/components/VInlineTextarea/VInlineTextarea.vue similarity index 95% rename from src/plugin/VInlineTextarea.vue rename to src/plugin/components/VInlineTextarea/VInlineTextarea.vue index b99265c..6a918b9 100644 --- a/src/plugin/VInlineTextarea.vue +++ b/src/plugin/components/VInlineTextarea/VInlineTextarea.vue @@ -119,34 +119,35 @@ import { FieldValue, SharedProps, TimeOpened, - VInlineTextareaProps, } from '@/plugin/types'; +import type { VInlineTextareaProps } from './'; import { IconOptions } from 'vuetify'; import { defaultCardProps, textareaProps, -} from './utils/props'; -import { DisplayedValue, SaveFieldButtons } from './components/index'; +} from '@utils/props'; +import DisplayedValue from '@components/common/DisplayedValue.vue'; +import SaveFieldButtons from '@components/common/SaveFieldButtons.vue'; import { useCheckForErrors, useToggleField, useTruncateText, -} from './composables/methods'; +} from '@composables/methods'; import { useCardContainerClass, useDisplayContainerClass, useDisplayInputControlClasses, useFieldContainerClass, useInlineFieldsContainerClass, -} from './composables/classes'; +} from '@composables/classes'; import { useCardContainerStyle, useInlineFieldsContainerStyle, -} from './composables/styles'; -import inlineEmits from './utils/emits'; -import { useBindingSettings } from './composables/bindings'; -import { useGetIcon } from './composables/icons'; -import { globalOptions } from './'; +} from '@composables/styles'; +import inlineEmits from '@utils/emits'; +import { useBindingSettings } from '@composables/bindings'; +import { useGetIcon } from '@composables/icons'; +import { globalOptions } from '../../'; const modelValue = defineModel(); diff --git a/src/plugin/__tests__/VInlineTextarea.spec.ts b/src/plugin/components/VInlineTextarea/__tests__/VInlineTextarea.test.ts similarity index 91% rename from src/plugin/__tests__/VInlineTextarea.spec.ts rename to src/plugin/components/VInlineTextarea/__tests__/VInlineTextarea.test.ts index e2f3e7b..132e86e 100644 --- a/src/plugin/__tests__/VInlineTextarea.spec.ts +++ b/src/plugin/components/VInlineTextarea/__tests__/VInlineTextarea.test.ts @@ -2,7 +2,7 @@ import VInlineTextarea from '../VInlineTextarea.vue'; import { createVuetify } from 'vuetify'; import { describe, it, expect } from 'vitest'; import { mount } from '@vue/test-utils'; -import { textareaProps } from '@/plugin/utils/props'; +import { textareaProps } from '../../../utils/props'; const vuetify = createVuetify(); diff --git a/src/plugin/components/VInlineTextarea/index.ts b/src/plugin/components/VInlineTextarea/index.ts new file mode 100644 index 0000000..0d7498d --- /dev/null +++ b/src/plugin/components/VInlineTextarea/index.ts @@ -0,0 +1,20 @@ +import type { VTextarea } from 'vuetify/components'; +import type { SharedProps } from '@/plugin/types'; +import type VInlineTextarea from './VInlineTextarea.vue'; + + +export interface VInlineTextareaProps extends Omit { + autoGrow?: VTextarea['$props']['autoGrow']; + clearIcon?: string | undefined; + density?: VTextarea['$props']['density']; + rows?: VTextarea['$props']['rows']; + rules?: VTextarea['$props']['rules']; + variant?: VTextarea['$props']['variant']; +} + + +export type VInlineTextarea = InstanceType; + +export default VInlineTextarea; diff --git a/src/plugin/components/BooleanIcons.vue b/src/plugin/components/common/BooleanIcons.vue similarity index 90% rename from src/plugin/components/BooleanIcons.vue rename to src/plugin/components/common/BooleanIcons.vue index 826d3f8..20bc2ca 100644 --- a/src/plugin/components/BooleanIcons.vue +++ b/src/plugin/components/common/BooleanIcons.vue @@ -19,8 +19,8 @@