businesslens 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.output/nitro.json +15 -0
- package/.output/public/_nuxt/ANTr5GBv.js +1 -0
- package/.output/public/_nuxt/B3Z-Zt7l.js +37 -0
- package/.output/public/_nuxt/Bd76-HGM.js +1 -0
- package/.output/public/_nuxt/Bf4VrETn.js +1 -0
- package/.output/public/_nuxt/CR3jGlpM.js +1 -0
- package/.output/public/_nuxt/CntoM1kL.js +1 -0
- package/.output/public/_nuxt/DogqooqX.js +1 -0
- package/.output/public/_nuxt/Zsu92SSr.js +1 -0
- package/.output/public/_nuxt/builds/latest.json +1 -0
- package/.output/public/_nuxt/builds/meta/e74555da-0c18-4e95-b959-2bdcc538677b.json +1 -0
- package/.output/public/_nuxt/default.CRZmPCG_.css +1 -0
- package/.output/public/_nuxt/e3lOfLH3.js +1 -0
- package/.output/public/_nuxt/entry.SgkJh-3P.css +1 -0
- package/.output/public/_nuxt/error-404.CTIGkQtd.css +1 -0
- package/.output/public/_nuxt/error-500.CKBWIF4V.css +1 -0
- package/.output/public/_nuxt/fCd72uLR.js +1 -0
- package/.output/public/_nuxt/inter-cyrillic-ext-wght-normal.BOeWTOD4.woff2 +0 -0
- package/.output/public/_nuxt/inter-cyrillic-wght-normal.DqGufNeO.woff2 +0 -0
- package/.output/public/_nuxt/inter-greek-ext-wght-normal.DlzME5K_.woff2 +0 -0
- package/.output/public/_nuxt/inter-greek-wght-normal.CkhJZR-_.woff2 +0 -0
- package/.output/public/_nuxt/inter-latin-ext-wght-normal.DO1Apj_S.woff2 +0 -0
- package/.output/public/_nuxt/inter-latin-wght-normal.Dx4kXJAl.woff2 +0 -0
- package/.output/public/_nuxt/inter-vietnamese-wght-normal.CBcvBZtf.woff2 +0 -0
- package/.output/public/_nuxt/vk0fkBN0.js +1 -0
- package/.output/public/_nuxt/zg6VsE4d.js +39 -0
- package/.output/public/brand/logo/businesslens-mark.svg +20 -0
- package/.output/public/favicon.svg +13 -0
- package/.output/server/chunks/_/error-500.mjs +19 -0
- package/.output/server/chunks/_/error-500.mjs.map +1 -0
- package/.output/server/chunks/_/icons.mjs +6150 -0
- package/.output/server/chunks/_/icons.mjs.map +1 -0
- package/.output/server/chunks/build/Card-DJ5Lo0Cn.mjs +161 -0
- package/.output/server/chunks/build/Card-DJ5Lo0Cn.mjs.map +1 -0
- package/.output/server/chunks/build/EntityInspector-fTjbuYoq.mjs +4412 -0
- package/.output/server/chunks/build/EntityInspector-fTjbuYoq.mjs.map +1 -0
- package/.output/server/chunks/build/Slideover-KOfskX1l.mjs +4226 -0
- package/.output/server/chunks/build/Slideover-KOfskX1l.mjs.map +1 -0
- package/.output/server/chunks/build/Tooltip-DkxwLaX6.mjs +1338 -0
- package/.output/server/chunks/build/Tooltip-DkxwLaX6.mjs.map +1 -0
- package/.output/server/chunks/build/client.precomputed.mjs +4 -0
- package/.output/server/chunks/build/client.precomputed.mjs.map +1 -0
- package/.output/server/chunks/build/default-BJSthw3t.mjs +8999 -0
- package/.output/server/chunks/build/default-BJSthw3t.mjs.map +1 -0
- package/.output/server/chunks/build/default-styles.BYgqaNao.mjs +8 -0
- package/.output/server/chunks/build/default-styles.BYgqaNao.mjs.map +1 -0
- package/.output/server/chunks/build/error-404-BOiGLcfP.mjs +96 -0
- package/.output/server/chunks/build/error-404-BOiGLcfP.mjs.map +1 -0
- package/.output/server/chunks/build/error-404-styles.DA-UkGXW.mjs +8 -0
- package/.output/server/chunks/build/error-404-styles.DA-UkGXW.mjs.map +1 -0
- package/.output/server/chunks/build/error-500-Bwyw373t.mjs +79 -0
- package/.output/server/chunks/build/error-500-Bwyw373t.mjs.map +1 -0
- package/.output/server/chunks/build/error-500-styles.De7qbKJ2.mjs +8 -0
- package/.output/server/chunks/build/error-500-styles.De7qbKJ2.mjs.map +1 -0
- package/.output/server/chunks/build/index-BuhKSZfH.mjs +313 -0
- package/.output/server/chunks/build/index-BuhKSZfH.mjs.map +1 -0
- package/.output/server/chunks/build/journeys-DHHOyxCM.mjs +244 -0
- package/.output/server/chunks/build/journeys-DHHOyxCM.mjs.map +1 -0
- package/.output/server/chunks/build/server.mjs +14099 -0
- package/.output/server/chunks/build/server.mjs.map +1 -0
- package/.output/server/chunks/build/styles.mjs +9 -0
- package/.output/server/chunks/build/styles.mjs.map +1 -0
- package/.output/server/chunks/build/topology-BJfDB_jA.mjs +295 -0
- package/.output/server/chunks/build/topology-BJfDB_jA.mjs.map +1 -0
- package/.output/server/chunks/build/useReport-pDAk-ETG.mjs +406 -0
- package/.output/server/chunks/build/useReport-pDAk-ETG.mjs.map +1 -0
- package/.output/server/chunks/nitro/nitro.mjs +5770 -0
- package/.output/server/chunks/nitro/nitro.mjs.map +1 -0
- package/.output/server/chunks/routes/api/report.get.mjs +617 -0
- package/.output/server/chunks/routes/api/report.get.mjs.map +1 -0
- package/.output/server/chunks/routes/renderer.mjs +451 -0
- package/.output/server/chunks/routes/renderer.mjs.map +1 -0
- package/.output/server/chunks/virtual/_virtual_spa-template.mjs +4 -0
- package/.output/server/chunks/virtual/_virtual_spa-template.mjs.map +1 -0
- package/.output/server/index.mjs +12 -0
- package/.output/server/index.mjs.map +1 -0
- package/.output/server/node_modules/.nitro/hookable@5.5.3/dist/index.mjs +290 -0
- package/.output/server/node_modules/.nitro/hookable@5.5.3/package.json +49 -0
- package/.output/server/node_modules/.nitro/hookable@6.1.1/dist/index.mjs +257 -0
- package/.output/server/node_modules/.nitro/hookable@6.1.1/package.json +53 -0
- package/.output/server/node_modules/@babel/parser/lib/index.js +14599 -0
- package/.output/server/node_modules/@babel/parser/package.json +50 -0
- package/.output/server/node_modules/@iconify/utils/lib/colors/index.js +295 -0
- package/.output/server/node_modules/@iconify/utils/lib/colors/keywords.js +701 -0
- package/.output/server/node_modules/@iconify/utils/lib/css/common.js +75 -0
- package/.output/server/node_modules/@iconify/utils/lib/css/format.js +39 -0
- package/.output/server/node_modules/@iconify/utils/lib/css/icon.js +47 -0
- package/.output/server/node_modules/@iconify/utils/lib/css/icons.js +128 -0
- package/.output/server/node_modules/@iconify/utils/lib/customisations/bool.js +19 -0
- package/.output/server/node_modules/@iconify/utils/lib/customisations/defaults.js +13 -0
- package/.output/server/node_modules/@iconify/utils/lib/customisations/flip.js +17 -0
- package/.output/server/node_modules/@iconify/utils/lib/customisations/merge.js +16 -0
- package/.output/server/node_modules/@iconify/utils/lib/customisations/rotate.js +30 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/cleanup.js +78 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/convert.js +100 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/data.js +28 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/format.js +58 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/parse.js +48 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/base.js +203 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/create.js +33 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/numbers.js +132 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/similar.js +165 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/tree.js +79 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/replace/find.js +92 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/replace/replace.js +26 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/components.js +76 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/missing.js +66 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/name.js +45 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/parse.js +103 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/similar.js +36 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/tree.js +92 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/variations.js +62 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon/defaults.js +25 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon/merge.js +16 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon/name.js +57 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon/square.js +33 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon/transformations.js +12 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/convert-info.js +125 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/expand.js +19 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/get-icon.js +25 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/get-icons.js +36 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/minify.js +91 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/parse.js +46 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/tree.js +23 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/validate-basic.js +42 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/validate.js +123 -0
- package/.output/server/node_modules/@iconify/utils/lib/index.js +52 -0
- package/.output/server/node_modules/@iconify/utils/lib/loader/custom.js +30 -0
- package/.output/server/node_modules/@iconify/utils/lib/loader/loader.js +26 -0
- package/.output/server/node_modules/@iconify/utils/lib/loader/modern.js +27 -0
- package/.output/server/node_modules/@iconify/utils/lib/loader/utils.js +105 -0
- package/.output/server/node_modules/@iconify/utils/lib/misc/objects.js +26 -0
- package/.output/server/node_modules/@iconify/utils/lib/misc/strings.js +26 -0
- package/.output/server/node_modules/@iconify/utils/lib/misc/title.js +9 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/build.js +113 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/defs.js +31 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/encode-svg-for-css.js +13 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/html.js +9 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/id.js +41 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/inner-html.js +22 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/parse.js +67 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/pretty.js +54 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/size.js +27 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/trim.js +7 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/url.js +22 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/viewbox.js +8 -0
- package/.output/server/node_modules/@iconify/utils/package.json +119 -0
- package/.output/server/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.js +6759 -0
- package/.output/server/node_modules/@vue/compiler-core/package.json +58 -0
- package/.output/server/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.prod.js +689 -0
- package/.output/server/node_modules/@vue/compiler-dom/package.json +57 -0
- package/.output/server/node_modules/@vue/compiler-ssr/dist/compiler-ssr.cjs.js +1413 -0
- package/.output/server/node_modules/@vue/compiler-ssr/package.json +34 -0
- package/.output/server/node_modules/@vue/devtools-api/dist/index.js +2 -0
- package/.output/server/node_modules/@vue/devtools-api/package.json +34 -0
- package/.output/server/node_modules/@vue/devtools-kit/dist/index.js +5670 -0
- package/.output/server/node_modules/@vue/devtools-kit/package.json +44 -0
- package/.output/server/node_modules/@vue/devtools-shared/dist/index.js +239 -0
- package/.output/server/node_modules/@vue/devtools-shared/package.json +33 -0
- package/.output/server/node_modules/@vue/reactivity/dist/reactivity.cjs.prod.js +1899 -0
- package/.output/server/node_modules/@vue/reactivity/package.json +55 -0
- package/.output/server/node_modules/@vue/runtime-core/dist/runtime-core.cjs.prod.js +6940 -0
- package/.output/server/node_modules/@vue/runtime-core/package.json +52 -0
- package/.output/server/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.prod.js +1822 -0
- package/.output/server/node_modules/@vue/runtime-dom/package.json +60 -0
- package/.output/server/node_modules/@vue/server-renderer/dist/server-renderer.cjs.prod.js +896 -0
- package/.output/server/node_modules/@vue/server-renderer/package.json +55 -0
- package/.output/server/node_modules/@vue/shared/dist/shared.cjs.prod.js +604 -0
- package/.output/server/node_modules/@vue/shared/package.json +47 -0
- package/.output/server/node_modules/@vue-flow/core/dist/vue-flow-core.mjs +10186 -0
- package/.output/server/node_modules/@vue-flow/core/package.json +95 -0
- package/.output/server/node_modules/ajv/dist/2020.js +55 -0
- package/.output/server/node_modules/ajv/dist/ajv.js +50 -0
- package/.output/server/node_modules/ajv/dist/compile/codegen/code.js +156 -0
- package/.output/server/node_modules/ajv/dist/compile/codegen/index.js +697 -0
- package/.output/server/node_modules/ajv/dist/compile/codegen/scope.js +143 -0
- package/.output/server/node_modules/ajv/dist/compile/errors.js +123 -0
- package/.output/server/node_modules/ajv/dist/compile/index.js +242 -0
- package/.output/server/node_modules/ajv/dist/compile/names.js +28 -0
- package/.output/server/node_modules/ajv/dist/compile/ref_error.js +12 -0
- package/.output/server/node_modules/ajv/dist/compile/resolve.js +155 -0
- package/.output/server/node_modules/ajv/dist/compile/rules.js +26 -0
- package/.output/server/node_modules/ajv/dist/compile/util.js +178 -0
- package/.output/server/node_modules/ajv/dist/compile/validate/applicability.js +19 -0
- package/.output/server/node_modules/ajv/dist/compile/validate/boolSchema.js +50 -0
- package/.output/server/node_modules/ajv/dist/compile/validate/dataType.js +203 -0
- package/.output/server/node_modules/ajv/dist/compile/validate/defaults.js +35 -0
- package/.output/server/node_modules/ajv/dist/compile/validate/index.js +520 -0
- package/.output/server/node_modules/ajv/dist/compile/validate/keyword.js +124 -0
- package/.output/server/node_modules/ajv/dist/compile/validate/subschema.js +81 -0
- package/.output/server/node_modules/ajv/dist/core.js +618 -0
- package/.output/server/node_modules/ajv/dist/refs/data.json +13 -0
- package/.output/server/node_modules/ajv/dist/refs/json-schema-2020-12/index.js +30 -0
- package/.output/server/node_modules/ajv/dist/refs/json-schema-2020-12/meta/applicator.json +48 -0
- package/.output/server/node_modules/ajv/dist/refs/json-schema-2020-12/meta/content.json +17 -0
- package/.output/server/node_modules/ajv/dist/refs/json-schema-2020-12/meta/core.json +51 -0
- package/.output/server/node_modules/ajv/dist/refs/json-schema-2020-12/meta/format-annotation.json +14 -0
- package/.output/server/node_modules/ajv/dist/refs/json-schema-2020-12/meta/meta-data.json +37 -0
- package/.output/server/node_modules/ajv/dist/refs/json-schema-2020-12/meta/unevaluated.json +15 -0
- package/.output/server/node_modules/ajv/dist/refs/json-schema-2020-12/meta/validation.json +90 -0
- package/.output/server/node_modules/ajv/dist/refs/json-schema-2020-12/schema.json +55 -0
- package/.output/server/node_modules/ajv/dist/refs/json-schema-draft-07.json +151 -0
- package/.output/server/node_modules/ajv/dist/runtime/equal.js +7 -0
- package/.output/server/node_modules/ajv/dist/runtime/ucs2length.js +24 -0
- package/.output/server/node_modules/ajv/dist/runtime/uri.js +6 -0
- package/.output/server/node_modules/ajv/dist/runtime/validation_error.js +11 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +49 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +106 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/allOf.js +23 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +12 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/contains.js +95 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +85 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js +11 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/if.js +66 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/index.js +44 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/items.js +52 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/items2020.js +30 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/not.js +26 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +60 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +75 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +12 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/properties.js +54 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +38 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +13 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/code.js +131 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/core/id.js +10 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/core/index.js +16 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/core/ref.js +122 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/discriminator/index.js +104 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/discriminator/types.js +9 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/draft2020.js +23 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/draft7.js +17 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js +30 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js +51 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/dynamic/index.js +9 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js +16 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js +10 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/format/format.js +92 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/format/index.js +6 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/metadata.js +18 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/next.js +8 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/unevaluated/index.js +7 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js +40 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js +65 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/validation/const.js +25 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js +12 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/validation/enum.js +48 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/validation/index.js +33 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/validation/limitContains.js +15 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/validation/limitItems.js +24 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/validation/limitLength.js +27 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +27 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +24 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +26 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/validation/pattern.js +24 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/validation/required.js +79 -0
- package/.output/server/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +64 -0
- package/.output/server/node_modules/ajv/package.json +126 -0
- package/.output/server/node_modules/ajv-formats/dist/formats.js +208 -0
- package/.output/server/node_modules/ajv-formats/dist/index.js +37 -0
- package/.output/server/node_modules/ajv-formats/dist/limit.js +69 -0
- package/.output/server/node_modules/ajv-formats/package.json +74 -0
- package/.output/server/node_modules/birpc/dist/index.mjs +291 -0
- package/.output/server/node_modules/birpc/package.json +57 -0
- package/.output/server/node_modules/consola/dist/chunks/prompt.mjs +280 -0
- package/.output/server/node_modules/consola/dist/core.mjs +512 -0
- package/.output/server/node_modules/consola/dist/index.mjs +651 -0
- package/.output/server/node_modules/consola/dist/shared/consola.DRwqZj3T.mjs +72 -0
- package/.output/server/node_modules/consola/dist/shared/consola.DXBYu-KD.mjs +288 -0
- package/.output/server/node_modules/consola/package.json +136 -0
- package/.output/server/node_modules/devalue/index.js +4 -0
- package/.output/server/node_modules/devalue/package.json +40 -0
- package/.output/server/node_modules/devalue/src/base64.js +60 -0
- package/.output/server/node_modules/devalue/src/constants.js +12 -0
- package/.output/server/node_modules/devalue/src/parse.js +283 -0
- package/.output/server/node_modules/devalue/src/stringify.js +401 -0
- package/.output/server/node_modules/devalue/src/uneval.js +552 -0
- package/.output/server/node_modules/devalue/src/utils.js +160 -0
- package/.output/server/node_modules/entities/dist/commonjs/decode-codepoint.js +77 -0
- package/.output/server/node_modules/entities/dist/commonjs/decode.js +568 -0
- package/.output/server/node_modules/entities/dist/commonjs/generated/decode-data-html.js +7 -0
- package/.output/server/node_modules/entities/dist/commonjs/generated/decode-data-xml.js +7 -0
- package/.output/server/node_modules/entities/dist/commonjs/internal/bin-trie-flags.js +21 -0
- package/.output/server/node_modules/entities/dist/commonjs/internal/decode-shared.js +31 -0
- package/.output/server/node_modules/entities/dist/commonjs/package.json +3 -0
- package/.output/server/node_modules/entities/package.json +120 -0
- package/.output/server/node_modules/estree-walker/dist/umd/estree-walker.js +344 -0
- package/.output/server/node_modules/estree-walker/package.json +37 -0
- package/.output/server/node_modules/fast-deep-equal/index.js +46 -0
- package/.output/server/node_modules/fast-deep-equal/package.json +61 -0
- package/.output/server/node_modules/fast-uri/index.js +406 -0
- package/.output/server/node_modules/fast-uri/lib/schemes.js +267 -0
- package/.output/server/node_modules/fast-uri/lib/utils.js +443 -0
- package/.output/server/node_modules/fast-uri/package.json +68 -0
- package/.output/server/node_modules/json-schema-traverse/index.js +93 -0
- package/.output/server/node_modules/json-schema-traverse/package.json +43 -0
- package/.output/server/node_modules/perfect-debounce/dist/index.mjs +89 -0
- package/.output/server/node_modules/perfect-debounce/package.json +41 -0
- package/.output/server/node_modules/source-map-js/lib/array-set.js +121 -0
- package/.output/server/node_modules/source-map-js/lib/base64-vlq.js +140 -0
- package/.output/server/node_modules/source-map-js/lib/base64.js +67 -0
- package/.output/server/node_modules/source-map-js/lib/binary-search.js +111 -0
- package/.output/server/node_modules/source-map-js/lib/mapping-list.js +79 -0
- package/.output/server/node_modules/source-map-js/lib/quick-sort.js +132 -0
- package/.output/server/node_modules/source-map-js/lib/source-map-consumer.js +1188 -0
- package/.output/server/node_modules/source-map-js/lib/source-map-generator.js +444 -0
- package/.output/server/node_modules/source-map-js/lib/source-node.js +413 -0
- package/.output/server/node_modules/source-map-js/lib/util.js +594 -0
- package/.output/server/node_modules/source-map-js/package.json +71 -0
- package/.output/server/node_modules/source-map-js/source-map.js +8 -0
- package/.output/server/node_modules/tailwindcss/dist/chunk-X4GG3EDV.mjs +1 -0
- package/.output/server/node_modules/tailwindcss/dist/colors.mjs +1 -0
- package/.output/server/node_modules/tailwindcss/package.json +89 -0
- package/.output/server/node_modules/ufo/dist/index.mjs +645 -0
- package/.output/server/node_modules/ufo/package.json +48 -0
- package/.output/server/node_modules/unhead/dist/index.mjs +9 -0
- package/.output/server/node_modules/unhead/dist/parser.mjs +508 -0
- package/.output/server/node_modules/unhead/dist/plugins.mjs +101 -0
- package/.output/server/node_modules/unhead/dist/scripts.mjs +30 -0
- package/.output/server/node_modules/unhead/dist/server.mjs +180 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.B3VbJo7Y.mjs +207 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.BYvz9V1x.mjs +43 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.BnoAbrHA.mjs +269 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.CaI5ZD4O.mjs +182 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.CbpEuj3y.mjs +71 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.D4vSFytZ.mjs +236 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.DQc16pHI.mjs +196 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.Dh1cQCTe.mjs +44 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.TxTMM7cM.mjs +166 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.yem5I2v_.mjs +38 -0
- package/.output/server/node_modules/unhead/dist/utils.mjs +5 -0
- package/.output/server/node_modules/unhead/package.json +105 -0
- package/.output/server/node_modules/vue/dist/vue.cjs.js +80 -0
- package/.output/server/node_modules/vue/dist/vue.cjs.prod.js +66 -0
- package/.output/server/node_modules/vue/index.js +7 -0
- package/.output/server/node_modules/vue/index.mjs +1 -0
- package/.output/server/node_modules/vue/package.json +112 -0
- package/.output/server/node_modules/vue/server-renderer/index.mjs +1 -0
- package/.output/server/node_modules/vue-bundle-renderer/dist/runtime.mjs +249 -0
- package/.output/server/node_modules/vue-bundle-renderer/package.json +57 -0
- package/.output/server/node_modules/vue-router/dist/devtools-DCoWQoU_.js +1034 -0
- package/.output/server/node_modules/vue-router/dist/useApi-s_02lHjl.js +181 -0
- package/.output/server/node_modules/vue-router/dist/vue-router.js +1499 -0
- package/.output/server/node_modules/vue-router/package.json +226 -0
- package/.output/server/node_modules/vue-router/vue-router.node.mjs +2 -0
- package/.output/server/package.json +41 -0
- package/README.md +114 -0
- package/THIRD_PARTY_NOTICES.md +28 -0
- package/bin/businesslens.mjs +181 -0
- package/package.json +68 -0
- package/packages/report-schema/schemas/report.schema.json +235 -0
- package/packages/report-schema/types/index.ts +1 -0
- package/packages/report-schema/types/report.ts +101 -0
- package/packages/report-schema/validate.mjs +111 -0
|
@@ -0,0 +1,406 @@
|
|
|
1
|
+
import { computed, useSlots, unref, mergeProps, withCtx, renderSlot, openBlock, createBlock, createCommentVNode, toDisplayString, useSSRContext } from 'vue';
|
|
2
|
+
import { ssrRenderComponent, ssrRenderSlot, ssrRenderClass, ssrInterpolate } from 'vue/server-renderer';
|
|
3
|
+
import { af as useAsyncData, t as useComponentProps, v as useAppConfig, x as useFieldGroup, y as useComponentIcons, z as tv, P as Primitive, e as _sfc_main$d, A as _sfc_main$b } from './server.mjs';
|
|
4
|
+
|
|
5
|
+
const theme = {
|
|
6
|
+
"slots": {
|
|
7
|
+
"base": "font-medium inline-flex items-center",
|
|
8
|
+
"label": "truncate",
|
|
9
|
+
"leadingIcon": "shrink-0",
|
|
10
|
+
"leadingAvatar": "shrink-0",
|
|
11
|
+
"leadingAvatarSize": "",
|
|
12
|
+
"trailingIcon": "shrink-0"
|
|
13
|
+
},
|
|
14
|
+
"variants": {
|
|
15
|
+
"fieldGroup": {
|
|
16
|
+
"horizontal": "not-only:first:rounded-e-none not-only:last:rounded-s-none not-last:not-first:rounded-none focus-visible:z-[1]",
|
|
17
|
+
"vertical": "not-only:first:rounded-b-none not-only:last:rounded-t-none not-last:not-first:rounded-none focus-visible:z-[1]"
|
|
18
|
+
},
|
|
19
|
+
"color": {
|
|
20
|
+
"primary": "",
|
|
21
|
+
"secondary": "",
|
|
22
|
+
"success": "",
|
|
23
|
+
"info": "",
|
|
24
|
+
"warning": "",
|
|
25
|
+
"error": "",
|
|
26
|
+
"neutral": ""
|
|
27
|
+
},
|
|
28
|
+
"variant": {
|
|
29
|
+
"solid": "",
|
|
30
|
+
"outline": "",
|
|
31
|
+
"soft": "",
|
|
32
|
+
"subtle": ""
|
|
33
|
+
},
|
|
34
|
+
"size": {
|
|
35
|
+
"xs": {
|
|
36
|
+
"base": "text-[8px]/3 px-1 py-0.5 gap-1 rounded-sm",
|
|
37
|
+
"leadingIcon": "size-3",
|
|
38
|
+
"leadingAvatarSize": "3xs",
|
|
39
|
+
"trailingIcon": "size-3"
|
|
40
|
+
},
|
|
41
|
+
"sm": {
|
|
42
|
+
"base": "text-[10px]/3 px-1.5 py-1 gap-1 rounded-sm",
|
|
43
|
+
"leadingIcon": "size-3",
|
|
44
|
+
"leadingAvatarSize": "3xs",
|
|
45
|
+
"trailingIcon": "size-3"
|
|
46
|
+
},
|
|
47
|
+
"md": {
|
|
48
|
+
"base": "text-xs px-2 py-1 gap-1 rounded-md",
|
|
49
|
+
"leadingIcon": "size-4",
|
|
50
|
+
"leadingAvatarSize": "3xs",
|
|
51
|
+
"trailingIcon": "size-4"
|
|
52
|
+
},
|
|
53
|
+
"lg": {
|
|
54
|
+
"base": "text-sm px-2 py-1 gap-1.5 rounded-md",
|
|
55
|
+
"leadingIcon": "size-5",
|
|
56
|
+
"leadingAvatarSize": "2xs",
|
|
57
|
+
"trailingIcon": "size-5"
|
|
58
|
+
},
|
|
59
|
+
"xl": {
|
|
60
|
+
"base": "text-base px-2.5 py-1 gap-1.5 rounded-md",
|
|
61
|
+
"leadingIcon": "size-6",
|
|
62
|
+
"leadingAvatarSize": "2xs",
|
|
63
|
+
"trailingIcon": "size-6"
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"square": {
|
|
67
|
+
"true": ""
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
"compoundVariants": [
|
|
71
|
+
{
|
|
72
|
+
"color": "primary",
|
|
73
|
+
"variant": "solid",
|
|
74
|
+
"class": "bg-primary text-inverted"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"color": "secondary",
|
|
78
|
+
"variant": "solid",
|
|
79
|
+
"class": "bg-secondary text-inverted"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"color": "success",
|
|
83
|
+
"variant": "solid",
|
|
84
|
+
"class": "bg-success text-inverted"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"color": "info",
|
|
88
|
+
"variant": "solid",
|
|
89
|
+
"class": "bg-info text-inverted"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"color": "warning",
|
|
93
|
+
"variant": "solid",
|
|
94
|
+
"class": "bg-warning text-inverted"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"color": "error",
|
|
98
|
+
"variant": "solid",
|
|
99
|
+
"class": "bg-error text-inverted"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"color": "primary",
|
|
103
|
+
"variant": "outline",
|
|
104
|
+
"class": "text-primary ring ring-inset ring-primary/50"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"color": "secondary",
|
|
108
|
+
"variant": "outline",
|
|
109
|
+
"class": "text-secondary ring ring-inset ring-secondary/50"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"color": "success",
|
|
113
|
+
"variant": "outline",
|
|
114
|
+
"class": "text-success ring ring-inset ring-success/50"
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"color": "info",
|
|
118
|
+
"variant": "outline",
|
|
119
|
+
"class": "text-info ring ring-inset ring-info/50"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"color": "warning",
|
|
123
|
+
"variant": "outline",
|
|
124
|
+
"class": "text-warning ring ring-inset ring-warning/50"
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"color": "error",
|
|
128
|
+
"variant": "outline",
|
|
129
|
+
"class": "text-error ring ring-inset ring-error/50"
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"color": "primary",
|
|
133
|
+
"variant": "soft",
|
|
134
|
+
"class": "bg-primary/10 text-primary"
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"color": "secondary",
|
|
138
|
+
"variant": "soft",
|
|
139
|
+
"class": "bg-secondary/10 text-secondary"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"color": "success",
|
|
143
|
+
"variant": "soft",
|
|
144
|
+
"class": "bg-success/10 text-success"
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"color": "info",
|
|
148
|
+
"variant": "soft",
|
|
149
|
+
"class": "bg-info/10 text-info"
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"color": "warning",
|
|
153
|
+
"variant": "soft",
|
|
154
|
+
"class": "bg-warning/10 text-warning"
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
"color": "error",
|
|
158
|
+
"variant": "soft",
|
|
159
|
+
"class": "bg-error/10 text-error"
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"color": "primary",
|
|
163
|
+
"variant": "subtle",
|
|
164
|
+
"class": "bg-primary/10 text-primary ring ring-inset ring-primary/25"
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"color": "secondary",
|
|
168
|
+
"variant": "subtle",
|
|
169
|
+
"class": "bg-secondary/10 text-secondary ring ring-inset ring-secondary/25"
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"color": "success",
|
|
173
|
+
"variant": "subtle",
|
|
174
|
+
"class": "bg-success/10 text-success ring ring-inset ring-success/25"
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
"color": "info",
|
|
178
|
+
"variant": "subtle",
|
|
179
|
+
"class": "bg-info/10 text-info ring ring-inset ring-info/25"
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
"color": "warning",
|
|
183
|
+
"variant": "subtle",
|
|
184
|
+
"class": "bg-warning/10 text-warning ring ring-inset ring-warning/25"
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"color": "error",
|
|
188
|
+
"variant": "subtle",
|
|
189
|
+
"class": "bg-error/10 text-error ring ring-inset ring-error/25"
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"color": "neutral",
|
|
193
|
+
"variant": "solid",
|
|
194
|
+
"class": "text-inverted bg-inverted"
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"color": "neutral",
|
|
198
|
+
"variant": "outline",
|
|
199
|
+
"class": "ring ring-inset ring-accented text-default bg-default"
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
"color": "neutral",
|
|
203
|
+
"variant": "soft",
|
|
204
|
+
"class": "text-default bg-elevated"
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"color": "neutral",
|
|
208
|
+
"variant": "subtle",
|
|
209
|
+
"class": "ring ring-inset ring-accented text-default bg-elevated"
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"size": "xs",
|
|
213
|
+
"square": true,
|
|
214
|
+
"class": "p-0.5"
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
"size": "sm",
|
|
218
|
+
"square": true,
|
|
219
|
+
"class": "p-1"
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
"size": "md",
|
|
223
|
+
"square": true,
|
|
224
|
+
"class": "p-1"
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"size": "lg",
|
|
228
|
+
"square": true,
|
|
229
|
+
"class": "p-1"
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
"size": "xl",
|
|
233
|
+
"square": true,
|
|
234
|
+
"class": "p-1"
|
|
235
|
+
}
|
|
236
|
+
],
|
|
237
|
+
"defaultVariants": {
|
|
238
|
+
"color": "primary",
|
|
239
|
+
"variant": "solid",
|
|
240
|
+
"size": "md"
|
|
241
|
+
}
|
|
242
|
+
};
|
|
243
|
+
const _sfc_main = {
|
|
244
|
+
__name: "UBadge",
|
|
245
|
+
__ssrInlineRender: true,
|
|
246
|
+
props: {
|
|
247
|
+
as: { type: null, required: false, default: "span" },
|
|
248
|
+
label: { type: [String, Number], required: false },
|
|
249
|
+
color: { type: null, required: false },
|
|
250
|
+
variant: { type: null, required: false },
|
|
251
|
+
size: { type: null, required: false },
|
|
252
|
+
square: { type: Boolean, required: false },
|
|
253
|
+
class: { type: null, required: false },
|
|
254
|
+
ui: { type: Object, required: false },
|
|
255
|
+
icon: { type: null, required: false },
|
|
256
|
+
avatar: { type: Object, required: false },
|
|
257
|
+
leading: { type: Boolean, required: false },
|
|
258
|
+
leadingIcon: { type: null, required: false },
|
|
259
|
+
trailing: { type: Boolean, required: false },
|
|
260
|
+
trailingIcon: { type: null, required: false }
|
|
261
|
+
},
|
|
262
|
+
setup(__props) {
|
|
263
|
+
const _props = __props;
|
|
264
|
+
const slots = useSlots();
|
|
265
|
+
const props = useComponentProps("badge", _props);
|
|
266
|
+
const appConfig = useAppConfig();
|
|
267
|
+
const { orientation, size: fieldGroupSize } = useFieldGroup(_props);
|
|
268
|
+
const { isLeading, isTrailing, leadingIconName, trailingIconName } = useComponentIcons(props);
|
|
269
|
+
const ui = computed(() => tv({ extend: tv(theme), ...appConfig.ui?.badge || {} })({
|
|
270
|
+
color: props.color,
|
|
271
|
+
variant: props.variant,
|
|
272
|
+
size: fieldGroupSize.value ?? props.size,
|
|
273
|
+
square: props.square || !slots.default && !props.label,
|
|
274
|
+
fieldGroup: orientation.value
|
|
275
|
+
}));
|
|
276
|
+
return (_ctx, _push, _parent, _attrs) => {
|
|
277
|
+
_push(ssrRenderComponent(unref(Primitive), mergeProps({
|
|
278
|
+
as: unref(props).as,
|
|
279
|
+
"data-slot": "base",
|
|
280
|
+
class: ui.value.base({ class: [unref(props).ui?.base, unref(props).class] })
|
|
281
|
+
}, _attrs), {
|
|
282
|
+
default: withCtx((_, _push2, _parent2, _scopeId) => {
|
|
283
|
+
if (_push2) {
|
|
284
|
+
ssrRenderSlot(_ctx.$slots, "leading", { ui: ui.value }, () => {
|
|
285
|
+
if (unref(isLeading) && unref(leadingIconName)) {
|
|
286
|
+
_push2(ssrRenderComponent(_sfc_main$d, {
|
|
287
|
+
name: unref(leadingIconName),
|
|
288
|
+
"data-slot": "leadingIcon",
|
|
289
|
+
class: ui.value.leadingIcon({ class: unref(props).ui?.leadingIcon })
|
|
290
|
+
}, null, _parent2, _scopeId));
|
|
291
|
+
} else if (!!unref(props).avatar) {
|
|
292
|
+
_push2(ssrRenderComponent(_sfc_main$b, mergeProps({
|
|
293
|
+
size: unref(props).ui?.leadingAvatarSize || ui.value.leadingAvatarSize()
|
|
294
|
+
}, unref(props).avatar, {
|
|
295
|
+
"data-slot": "leadingAvatar",
|
|
296
|
+
class: ui.value.leadingAvatar({ class: unref(props).ui?.leadingAvatar })
|
|
297
|
+
}), null, _parent2, _scopeId));
|
|
298
|
+
} else {
|
|
299
|
+
_push2(`<!---->`);
|
|
300
|
+
}
|
|
301
|
+
}, _push2, _parent2, _scopeId);
|
|
302
|
+
ssrRenderSlot(_ctx.$slots, "default", { ui: ui.value }, () => {
|
|
303
|
+
if (unref(props).label !== void 0 && unref(props).label !== null) {
|
|
304
|
+
_push2(`<span data-slot="label" class="${ssrRenderClass(ui.value.label({ class: unref(props).ui?.label }))}"${_scopeId}>${ssrInterpolate(unref(props).label)}</span>`);
|
|
305
|
+
} else {
|
|
306
|
+
_push2(`<!---->`);
|
|
307
|
+
}
|
|
308
|
+
}, _push2, _parent2, _scopeId);
|
|
309
|
+
ssrRenderSlot(_ctx.$slots, "trailing", { ui: ui.value }, () => {
|
|
310
|
+
if (unref(isTrailing) && unref(trailingIconName)) {
|
|
311
|
+
_push2(ssrRenderComponent(_sfc_main$d, {
|
|
312
|
+
name: unref(trailingIconName),
|
|
313
|
+
"data-slot": "trailingIcon",
|
|
314
|
+
class: ui.value.trailingIcon({ class: unref(props).ui?.trailingIcon })
|
|
315
|
+
}, null, _parent2, _scopeId));
|
|
316
|
+
} else {
|
|
317
|
+
_push2(`<!---->`);
|
|
318
|
+
}
|
|
319
|
+
}, _push2, _parent2, _scopeId);
|
|
320
|
+
} else {
|
|
321
|
+
return [
|
|
322
|
+
renderSlot(_ctx.$slots, "leading", { ui: ui.value }, () => [
|
|
323
|
+
unref(isLeading) && unref(leadingIconName) ? (openBlock(), createBlock(_sfc_main$d, {
|
|
324
|
+
key: 0,
|
|
325
|
+
name: unref(leadingIconName),
|
|
326
|
+
"data-slot": "leadingIcon",
|
|
327
|
+
class: ui.value.leadingIcon({ class: unref(props).ui?.leadingIcon })
|
|
328
|
+
}, null, 8, ["name", "class"])) : !!unref(props).avatar ? (openBlock(), createBlock(_sfc_main$b, mergeProps({
|
|
329
|
+
key: 1,
|
|
330
|
+
size: unref(props).ui?.leadingAvatarSize || ui.value.leadingAvatarSize()
|
|
331
|
+
}, unref(props).avatar, {
|
|
332
|
+
"data-slot": "leadingAvatar",
|
|
333
|
+
class: ui.value.leadingAvatar({ class: unref(props).ui?.leadingAvatar })
|
|
334
|
+
}), null, 16, ["size", "class"])) : createCommentVNode("", true)
|
|
335
|
+
]),
|
|
336
|
+
renderSlot(_ctx.$slots, "default", { ui: ui.value }, () => [
|
|
337
|
+
unref(props).label !== void 0 && unref(props).label !== null ? (openBlock(), createBlock("span", {
|
|
338
|
+
key: 0,
|
|
339
|
+
"data-slot": "label",
|
|
340
|
+
class: ui.value.label({ class: unref(props).ui?.label })
|
|
341
|
+
}, toDisplayString(unref(props).label), 3)) : createCommentVNode("", true)
|
|
342
|
+
]),
|
|
343
|
+
renderSlot(_ctx.$slots, "trailing", { ui: ui.value }, () => [
|
|
344
|
+
unref(isTrailing) && unref(trailingIconName) ? (openBlock(), createBlock(_sfc_main$d, {
|
|
345
|
+
key: 0,
|
|
346
|
+
name: unref(trailingIconName),
|
|
347
|
+
"data-slot": "trailingIcon",
|
|
348
|
+
class: ui.value.trailingIcon({ class: unref(props).ui?.trailingIcon })
|
|
349
|
+
}, null, 8, ["name", "class"])) : createCommentVNode("", true)
|
|
350
|
+
])
|
|
351
|
+
];
|
|
352
|
+
}
|
|
353
|
+
}),
|
|
354
|
+
_: 3
|
|
355
|
+
}, _parent));
|
|
356
|
+
};
|
|
357
|
+
}
|
|
358
|
+
};
|
|
359
|
+
const _sfc_setup = _sfc_main.setup;
|
|
360
|
+
_sfc_main.setup = (props, ctx) => {
|
|
361
|
+
const ssrContext = useSSRContext();
|
|
362
|
+
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("../node_modules/.pnpm/@nuxt+ui@4.9.0_fc567bb539fc22c96f06ec9e35286506/node_modules/@nuxt/ui/dist/runtime/components/Badge.vue");
|
|
363
|
+
return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
|
|
364
|
+
};
|
|
365
|
+
function byId(items) {
|
|
366
|
+
return Object.fromEntries(items.map((item) => [item.id, item]));
|
|
367
|
+
}
|
|
368
|
+
function useReport() {
|
|
369
|
+
const asyncReport = useAsyncData(
|
|
370
|
+
"businesslens-report",
|
|
371
|
+
() => $fetch("/api/report", { cache: "no-store" })
|
|
372
|
+
);
|
|
373
|
+
const report = computed(() => asyncReport.data.value);
|
|
374
|
+
const model = computed(() => report.value?.model);
|
|
375
|
+
const actorById = computed(() => byId(model.value?.actors || []));
|
|
376
|
+
const domainById = computed(() => byId(model.value?.domains || []));
|
|
377
|
+
const journeyById = computed(() => byId(model.value?.journeys || []));
|
|
378
|
+
const scenarioById = computed(() => byId(model.value?.scenarios || []));
|
|
379
|
+
const scenarioKindById = computed(() => byId(model.value?.taxonomies.scenarioKinds || []));
|
|
380
|
+
const scenariosByJourney = computed(() => Object.fromEntries((model.value?.journeys || []).map((journey) => [
|
|
381
|
+
journey.id,
|
|
382
|
+
(model.value?.scenarios || []).filter((scenario) => scenario.journeyId === journey.id)
|
|
383
|
+
])));
|
|
384
|
+
function categoryColor(slot = 1) {
|
|
385
|
+
return `var(--category-${Math.max(1, Math.min(12, slot))})`;
|
|
386
|
+
}
|
|
387
|
+
function domainColor(domainId) {
|
|
388
|
+
return categoryColor(domainById.value[domainId]?.colorSlot || 1);
|
|
389
|
+
}
|
|
390
|
+
return {
|
|
391
|
+
...asyncReport,
|
|
392
|
+
report,
|
|
393
|
+
model,
|
|
394
|
+
actorById,
|
|
395
|
+
domainById,
|
|
396
|
+
journeyById,
|
|
397
|
+
scenarioById,
|
|
398
|
+
scenarioKindById,
|
|
399
|
+
scenariosByJourney,
|
|
400
|
+
categoryColor,
|
|
401
|
+
domainColor
|
|
402
|
+
};
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
export { _sfc_main as _, useReport as u };
|
|
406
|
+
//# sourceMappingURL=useReport-pDAk-ETG.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useReport-pDAk-ETG.mjs","sources":["../../../../node_modules/.cache/nuxt/.nuxt/dist/server/_nuxt/useReport-pDAk-ETG.js"],"names":["_sfc_main$1","_sfc_main$2"],"mappings":"","x_google_ignoreList":[0]}
|