cabloy 5.1.10 → 5.1.11
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/CHANGELOG.md +11 -0
- package/lint-staged.config.mjs +92 -0
- package/oxfmt.config.ts +4 -1
- package/package.json +2 -11
- package/vona/packages-utils/lint/api/tsconfig.base.esm.json +30 -2
- package/vona/packages-utils/lint/package.json +40 -5
- package/vona/packages-utils/lint/src/index.ts +3 -0
- package/vona/packages-utils/lint/{oxc/format.js → src/oxc/format.ts} +4 -2
- package/vona/packages-utils/lint/{oxc/lint.js → src/oxc/lint.ts} +7 -7
- package/vona/packages-utils/lint/{oxc/lintVue.js → src/oxc/lintVue.ts} +4 -6
- package/vona/packages-utils/lint/tsconfig.json +14 -0
- package/vona/pnpm-lock.yaml +338 -17
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/src/.metadata/index.ts +0 -78
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/src/controller/toolOne.ts +3 -1
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/src/controller/toolTwo.ts +3 -1
- package/zova/env/.env.ssr.cabloyBasicAdmin +0 -2
- package/zova/package.original.json +2 -8
- package/zova/packages-cli/cli/package.json +2 -2
- package/zova/packages-cli/cli-set-front/package.json +8 -8
- package/zova/packages-utils/babel-plugin-zova-bean-module/package.json +3 -3
- package/zova/packages-utils/babel-plugin-zova-bean-use/package.json +2 -2
- package/zova/packages-utils/babel-plugin-zova-behavior/package.json +2 -2
- package/zova/packages-utils/babel-plugin-zova-component/package.json +2 -2
- package/zova/packages-utils/logger/package.json +2 -2
- package/zova/packages-utils/mutate-on-copy/package.json +2 -2
- package/zova/packages-utils/quasar-app-extension-zova/package.json +3 -3
- package/zova/packages-utils/word-utils/package.json +2 -2
- package/zova/packages-utils/zova-jsx/package.json +4 -4
- package/zova/packages-utils/zova-openapi/package.json +2 -2
- package/zova/packages-utils/zova-vite/package.json +6 -6
- package/zova/packages-zova/zova/package.json +4 -4
- package/zova/packages-zova/zova-core/package.json +4 -4
- package/zova/pnpm-lock.yaml +67 -63
- package/zova/src/suite/a-demo/modules/demo-basic/package.json +1 -1
- package/zova/src/suite/a-demo/modules/demo-todo/package.json +1 -1
- package/zova/src/suite/a-demo/package.json +1 -1
- package/zova/src/suite/a-devui/modules/devui-adapter/package.json +1 -1
- package/zova/src/suite/a-devui/package.json +1 -1
- package/zova/src/suite/a-home/modules/home-api/package.json +1 -1
- package/zova/src/suite/a-home/modules/home-base/package.json +1 -1
- package/zova/src/suite/a-home/modules/home-icon/package.json +1 -1
- package/zova/src/suite/a-home/modules/home-index/package.json +1 -1
- package/zova/src/suite/a-home/modules/home-layoutempty/package.json +1 -1
- package/zova/src/suite/a-home/modules/home-layouttabs/package.json +1 -1
- package/zova/src/suite/a-home/modules/home-login/package.json +1 -1
- package/zova/src/suite/a-home/modules/home-passport/package.json +1 -1
- package/zova/src/suite/a-home/modules/home-theme/package.json +1 -1
- package/zova/src/suite/a-home/package.json +1 -1
- package/zova/src/suite/cabloy-basic/modules/basic-adapter/package.json +1 -1
- package/zova/src/suite/cabloy-basic/modules/basic-captcha/package.json +1 -1
- package/zova/src/suite/cabloy-basic/modules/basic-commands/package.json +1 -1
- package/zova/src/suite/cabloy-basic/modules/basic-commandssync/package.json +1 -1
- package/zova/src/suite/cabloy-basic/modules/basic-currency/package.json +1 -1
- package/zova/src/suite/cabloy-basic/modules/basic-date/package.json +1 -1
- package/zova/src/suite/cabloy-basic/modules/basic-form/package.json +1 -1
- package/zova/src/suite/cabloy-basic/modules/basic-input/package.json +1 -1
- package/zova/src/suite/cabloy-basic/modules/basic-page/package.json +1 -1
- package/zova/src/suite/cabloy-basic/modules/basic-pageentry/package.json +1 -1
- package/zova/src/suite/cabloy-basic/modules/basic-select/package.json +1 -0
- package/zova/src/suite/cabloy-basic/modules/basic-table/package.json +1 -1
- package/zova/src/suite/cabloy-basic/modules/basic-text/package.json +1 -0
- package/zova/src/suite-vendor/a-zova/modules/a-api/package.json +2 -2
- package/zova/src/suite-vendor/a-zova/modules/a-app/package.json +2 -2
- package/zova/src/suite-vendor/a-zova/modules/a-bean/package.json +2 -2
- package/zova/src/suite-vendor/a-zova/modules/a-behavior/package.json +2 -2
- package/zova/src/suite-vendor/a-zova/modules/a-behaviors/package.json +2 -2
- package/zova/src/suite-vendor/a-zova/modules/a-boundary/package.json +2 -2
- package/zova/src/suite-vendor/a-zova/modules/a-command/package.json +2 -2
- package/zova/src/suite-vendor/a-zova/modules/a-fetch/package.json +2 -2
- package/zova/src/suite-vendor/a-zova/modules/a-form/package.json +2 -2
- package/zova/src/suite-vendor/a-zova/modules/a-icon/package.json +2 -2
- package/zova/src/suite-vendor/a-zova/modules/a-interceptor/package.json +2 -2
- package/zova/src/suite-vendor/a-zova/modules/a-logger/package.json +3 -3
- package/zova/src/suite-vendor/a-zova/modules/a-meta/package.json +2 -2
- package/zova/src/suite-vendor/a-zova/modules/a-model/package.json +3 -3
- package/zova/src/suite-vendor/a-zova/modules/a-openapi/package.json +2 -2
- package/zova/src/suite-vendor/a-zova/modules/a-router/package.json +2 -2
- package/zova/src/suite-vendor/a-zova/modules/a-routerstack/package.json +2 -2
- package/zova/src/suite-vendor/a-zova/modules/a-routertabs/package.json +2 -2
- package/zova/src/suite-vendor/a-zova/modules/a-ssr/package.json +2 -2
- package/zova/src/suite-vendor/a-zova/modules/a-ssrhmr/package.json +2 -2
- package/zova/src/suite-vendor/a-zova/modules/a-ssrserver/package.json +2 -2
- package/zova/src/suite-vendor/a-zova/modules/a-style/package.json +2 -2
- package/zova/src/suite-vendor/a-zova/modules/a-table/package.json +2 -2
- package/zova/src/suite-vendor/a-zova/modules/a-zod/package.json +2 -2
- package/zova/src/suite-vendor/a-zova/modules/a-zova/package.json +5 -5
- package/zova/src/suite-vendor/a-zova/package.json +27 -27
- package/vona/packages-utils/lint/api/eslint.js +0 -41
- package/vona/packages-utils/lint/api/prettier.js +0 -8
- package/vona/packages-utils/lint/api/tsconfig.base.cjs.json +0 -32
- package/vona/packages-utils/lint/common/rules.js +0 -155
- package/vona/packages-utils/lint/common/rulesVue.js +0 -5
- package/vona/packages-utils/lint/front/eslint.js +0 -59
- package/vona/packages-utils/lint/front/prettier.js +0 -3
- package/vona/packages-utils/lint/front/tsconfig.base.cjs.json +0 -4
- package/vona/packages-utils/lint/front/tsconfig.base.esm.json +0 -9
- package/vona/packages-utils/lint/index.js +0 -3
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/-zova-config-CoKN49wO.js +0 -11
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/a-api-DmsK4zNw.js +0 -178
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/a-app-C7cTDV9C.js +0 -138
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/a-bean-qjOwLLml.js +0 -408
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/a-behavior-I9evY2QT.js +0 -454
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/a-behaviors-Dh8sE2AX.js +0 -58
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/a-boundary-DxeJURnH.js +0 -21
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/a-command-Duq9OGnp.js +0 -165
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/a-fetch-BsiDc5MA.js +0 -317
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/a-form-BSfvKLPu.js +0 -947
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/a-icon-Bx0yNmUB.js +0 -460
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/a-interceptor-CtK-mG6U.js +0 -256
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/a-logger-D6FVEo-2.js +0 -143
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/a-meta-DLAWtBzn.js +0 -47
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/a-model-Ds17NAa5.js +0 -887
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/a-openapi-Cu42a7Tj.js +0 -677
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/a-router-BEKs1P3y.js +0 -1009
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/a-routerstack-CNda3TvU.js +0 -239
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/a-routertabs-CA8KhmHx.js +0 -519
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/a-ssr-WZQfI3lD.js +0 -711
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/a-ssrhmr-DiG_2CbH.js +0 -97
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/a-style-Dcrophdv.js +0 -408
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/a-table-Cr0qHPMV.js +0 -464
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/a-zod-B5ZzHMKp.js +0 -87
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/a-zova-WAWkGLRj.js +0 -21
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/auth-Bjup4K84.svg +0 -8
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/axios-jFGAltpb.js +0 -3152
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/basic-adapter-BzdgS83E.js +0 -68
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/basic-captcha-gmlRJxbp.js +0 -209
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/basic-commands-CmuoODyc.js +0 -179
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/basic-commandssync-4uJoTYWO.js +0 -62
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/basic-currency-ljdT_mJv.js +0 -159
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/basic-date-CJtZtM5q.js +0 -251
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/basic-form-Bi-Dm8Pp.js +0 -376
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/basic-input-DugSctyu.js +0 -83
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/basic-page-C0Mpx24A.js +0 -610
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/basic-pageentry-De7Zvv7J.js +0 -443
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/basic-select-WKCF4vyo.js +0 -186
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/basic-table-B4Eyf7EC.js +0 -368
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/basic-text-CRqjMEyr.js +0 -118
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/browser-C8cI94Tr.js +0 -2409
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/business-DQeTVrBD.svg +0 -12
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/daisy-BZm4lJOy.svg +0 -4
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/default-DxTAw1iv.svg +0 -118
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/demo-basic-CiW_uKMD.js +0 -1419
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/demo-student-DpiY4dnt.js +0 -69
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/demo-todo-CM3XdLlo.js +0 -427
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/devui-adapter-B2uiKP95.js +0 -95
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/dist.es2015-BMNhwNBy.js +0 -343
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/editor-CmZexDJp.svg +0 -32
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/emoji-CLaR2GZg.svg +0 -3
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/esm-Z9BncIrt.js +0 -2574
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/extends-BSP9iXrM.js +0 -27
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/fecha-DvkbkxAQ.js +0 -9849
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/flow-DCn4s91p.svg +0 -13
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/home-api-B1NjQp7i.js +0 -374
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/home-base-DRJdeGsg.js +0 -654
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/home-icon-65b9tDB5.js +0 -125
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/home-index-KrvUKcFR.js +0 -79
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/home-layoutempty-DP2peKfC.js +0 -87
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/home-layouttabs-CRIoszHS.js +0 -980
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/home-login-z4Url6WO.js +0 -302
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/home-passport-OqpwAU0M.js +0 -293
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/home-theme-BSua63Y_.js +0 -131
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/index-B5HTgis_.css +0 -26
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/index-Cd4EYYtZ.js +0 -1331
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/localforage-e6vl49GD.js +0 -1798
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/login-Qly1YUqs.svg +0 -7
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/openapi3-jIye4jNw.js +0 -23
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/outline-C6s9io8r.svg +0 -41
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/rest-resource-CN0Ontwm.js +0 -552
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/role-fXTNmWmb.svg +0 -10
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/rolldown-runtime-lkMnaVCm.js +0 -38
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/social-DosI14Uo.svg +0 -12
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/src-BRq8dtuS.js +0 -44
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/src-CBGuKzpF.js +0 -5996
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/src-CzJSxlnS.js +0 -496
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/src-YVxhoO6F.js +0 -65
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/tanstack-form-CBq6dr_k.js +0 -122
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/tanstack-query-BJk2jOuy.js +0 -2377
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/tanstack-query-CBWe1LsT.js +0 -365
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/tanstack-query-Ch18aWTP.js +0 -212
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/tanstack-table-BvC3VgJj.js +0 -2241
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/tanstack-table-D85qomSu.js +0 -123
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/tools-Wk7SnIwE.svg +0 -4
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/typestyle-C2zp2284.js +0 -281
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/vue-1Y5FbPzj.js +0 -3221
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/vue-C-LVj1DU.js +0 -18
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/vue-ChEE2n-Y.js +0 -598
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/vue-CvF_GLFp.js +0 -190
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/vue-DHzalQTI.js +0 -1308
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/vue-router-COfHCB5q.js +0 -1775
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/wrapAsyncGenerator-zA6hqk-P.js +0 -155
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/zova-6Abekb1F.js +0 -83
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/zova-BHaXQJg22.js +0 -11
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/zova-BYPEGx1T.js +0 -15586
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/zova-BuxXrZHs.js +0 -24
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/zova-C4pGJxwQ.js +0 -1227
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/zova-CoRfsquu.js +0 -8
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/zova-CzTANp3C.js +0 -380
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/zova-DQbBsEtS.js +0 -4130
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/assets/zova-hmnYQoyt.js +0 -374
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/client/favicon.ico +0 -0
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/handler.js +0 -164729
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/index.js +0 -26236
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/assets/site/ssr-testSecond-5.0.0/quasar.manifest.json +0 -1
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/src/bean/ssrMenu.tools.ts +0 -32
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/src/bean/ssrMenuGroup.tools.ts +0 -18
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/src/bean/ssrSite.second.ts +0 -31
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/test/ssr.test.ts +0 -44
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/zovaRest/test-second/index.d.mts +0 -9107
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/zovaRest/test-second/index.mjs +0 -234
- package/vona/src/suite-vendor/a-cabloy/modules/test-ssr/zovaRest/test-second/package.json +0 -40
|
@@ -1,552 +0,0 @@
|
|
|
1
|
-
import { n as __esmMin, r as __exportAll } from "./rolldown-runtime-lkMnaVCm.js";
|
|
2
|
-
import { _ as isVNode, l as createVNode } from "./vue-1Y5FbPzj.js";
|
|
3
|
-
import { n as init_vue_runtime_esm_bundler } from "./vue-C-LVj1DU.js";
|
|
4
|
-
import { A as string, C as init_zod, X as hashkey, Z as init_dist, et as isNil, k as object } from "./zova-BYPEGx1T.js";
|
|
5
|
-
import { d as _objectSpread2, f as init_objectSpread2, m as init_asyncToGenerator, p as _asyncToGenerator } from "./fecha-DvkbkxAQ.js";
|
|
6
|
-
import { B as deepExtend, C as UseScope, S as Virtual, T as usePrepareArg, _ as BeanControllerPageBase, k as BeanInfo, m as BeanScopeBase, p as createZovaComponentAsync, s as createZovaComponentPage, t as init_src$1, w as Use } from "./zova-DQbBsEtS.js";
|
|
7
|
-
import { t as init_src$2 } from "./zova-CoRfsquu.js";
|
|
8
|
-
import { c as Controller, i as Scope, t as init_src$3 } from "./a-bean-qjOwLLml.js";
|
|
9
|
-
import { n as ZovaJsx, t as init_src$4 } from "./zova-CzTANp3C.js";
|
|
10
|
-
import { a as Model, i as $QueryAutoLoad, o as BeanModelBase, t as init_src$5 } from "./a-model-Ds17NAa5.js";
|
|
11
|
-
import { t as init_src$6 } from "./a-openapi-Cu42a7Tj.js";
|
|
12
|
-
import { i as formSceneFromFormMeta, r as formMetaFromFormScene, t as init_src$7 } from "./a-form-BSfvKLPu.js";
|
|
13
|
-
//#region src/suite-vendor/a-cabloy/modules/rest-resource/src/model/resource.ts
|
|
14
|
-
function _initializerDefineProperty(e, i, r, l) {
|
|
15
|
-
r && Object.defineProperty(e, i, {
|
|
16
|
-
enumerable: r.enumerable,
|
|
17
|
-
configurable: r.configurable,
|
|
18
|
-
writable: r.writable,
|
|
19
|
-
value: r.initializer ? r.initializer.call(l) : void 0
|
|
20
|
-
});
|
|
21
|
-
}
|
|
22
|
-
function _applyDecoratedDescriptor$2(i, e, r, n, l) {
|
|
23
|
-
var a = {};
|
|
24
|
-
return Object.keys(n).forEach(function(i) {
|
|
25
|
-
a[i] = n[i];
|
|
26
|
-
}), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, ("value" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function(r, n) {
|
|
27
|
-
return n(i, e, r) || r;
|
|
28
|
-
}, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a;
|
|
29
|
-
}
|
|
30
|
-
var _dec$4, _dec2$4, _dec3$3, _dec4$2, _class$4, _class2$2, _descriptor, ModelResource;
|
|
31
|
-
var init_resource$2 = __esmMin((() => {
|
|
32
|
-
init_asyncToGenerator();
|
|
33
|
-
init_src$2();
|
|
34
|
-
init_dist();
|
|
35
|
-
init_src$7();
|
|
36
|
-
init_src$5();
|
|
37
|
-
init_src$6();
|
|
38
|
-
ModelResource = (_dec$4 = Model({ enableSelector: true }), _dec2$4 = BeanInfo({ module: "rest-resource" }), _dec3$3 = UseScope("a-openapi"), _dec4$2 = Reflect.metadata("design:type", typeof ScopeModuleAOpenapi === "undefined" ? Object : ScopeModuleAOpenapi), _dec$4(_class$4 = _dec2$4(_class$4 = (_class2$2 = class ModelResource extends BeanModelBase {
|
|
39
|
-
constructor(...args) {
|
|
40
|
-
super(...args);
|
|
41
|
-
this.resource = void 0;
|
|
42
|
-
this.resourceApi = void 0;
|
|
43
|
-
this.permissions = void 0;
|
|
44
|
-
this.formProvider = void 0;
|
|
45
|
-
this.schemaView = void 0;
|
|
46
|
-
this.schemaCreate = void 0;
|
|
47
|
-
this.schemaUpdate = void 0;
|
|
48
|
-
this.schemaFilter = void 0;
|
|
49
|
-
this.schemaRow = void 0;
|
|
50
|
-
this.schemaPages = void 0;
|
|
51
|
-
_initializerDefineProperty(this, "$$scopeOpenapi", _descriptor, this);
|
|
52
|
-
}
|
|
53
|
-
__init__(resource) {
|
|
54
|
-
var _superprop_get__init__ = () => super.__init__, _this = this;
|
|
55
|
-
return _asyncToGenerator(function* () {
|
|
56
|
-
if (!resource) throw new Error("resource not specified");
|
|
57
|
-
yield _superprop_get__init__().call(_this, resource);
|
|
58
|
-
_this.resource = resource;
|
|
59
|
-
_this.permissions = _this.$computed(() => {
|
|
60
|
-
return _this.$sdk.getPermissions(_this.resource).data;
|
|
61
|
-
});
|
|
62
|
-
_this.formProvider = _this.$computed(() => {
|
|
63
|
-
return _this.$$scopeOpenapi.config.formProvider;
|
|
64
|
-
});
|
|
65
|
-
_this.schemaView = _this.$computed(() => {
|
|
66
|
-
return _this.apiSchemasView.responseBody;
|
|
67
|
-
});
|
|
68
|
-
_this.schemaCreate = _this.$computed(() => {
|
|
69
|
-
return _this.apiSchemasCreate.requestBody;
|
|
70
|
-
});
|
|
71
|
-
_this.schemaUpdate = _this.$computed(() => {
|
|
72
|
-
return _this.apiSchemasUpdate.requestBody;
|
|
73
|
-
});
|
|
74
|
-
_this.schemaFilter = _this.$computed(() => {
|
|
75
|
-
return _this.apiSchemasSelect.filter;
|
|
76
|
-
});
|
|
77
|
-
_this.schemaRow = _this.$computed(() => {
|
|
78
|
-
return _this.apiSchemasSelect.row;
|
|
79
|
-
});
|
|
80
|
-
_this.schemaPages = _this.$computed(() => {
|
|
81
|
-
return _this.apiSchemasSelect.paged;
|
|
82
|
-
});
|
|
83
|
-
yield _this._bootstrap();
|
|
84
|
-
})();
|
|
85
|
-
}
|
|
86
|
-
selectGeneral(actionPath, query) {
|
|
87
|
-
var _this2 = this;
|
|
88
|
-
const queryHash = hashkey(query);
|
|
89
|
-
return this.$useStateData({
|
|
90
|
-
queryKey: [
|
|
91
|
-
"select",
|
|
92
|
-
actionPath !== null && actionPath !== void 0 ? actionPath : "",
|
|
93
|
-
queryHash
|
|
94
|
-
],
|
|
95
|
-
queryFn: function() {
|
|
96
|
-
var _ref = _asyncToGenerator(function* () {
|
|
97
|
-
const apiPath = actionPath ? `${_this2.resourceApi}/${actionPath}` : _this2.resourceApi;
|
|
98
|
-
return _this2.$fetch.get(_this2.sys.util.apiActionPathTranslate(apiPath), _this2.sys.util.apiActionConfigPrepare(void 0, { query }));
|
|
99
|
-
});
|
|
100
|
-
return function queryFn() {
|
|
101
|
-
return _ref.apply(this, arguments);
|
|
102
|
-
};
|
|
103
|
-
}()
|
|
104
|
-
});
|
|
105
|
-
}
|
|
106
|
-
select(query) {
|
|
107
|
-
return this.selectGeneral(void 0, query);
|
|
108
|
-
}
|
|
109
|
-
view(id) {
|
|
110
|
-
var _this3 = this;
|
|
111
|
-
if (isNil(id)) throw new Error("row id cannot empty");
|
|
112
|
-
return this.$useStateData({
|
|
113
|
-
queryKey: ["get", id],
|
|
114
|
-
queryFn: function() {
|
|
115
|
-
var _ref2 = _asyncToGenerator(function* () {
|
|
116
|
-
const res = yield _this3.$fetch.get(_this3.sys.util.apiActionPathTranslate(`${_this3.resourceApi}/:id`, { id }), _this3.sys.util.apiActionConfigPrepare());
|
|
117
|
-
return res !== null && res !== void 0 ? res : null;
|
|
118
|
-
});
|
|
119
|
-
return function queryFn() {
|
|
120
|
-
return _ref2.apply(this, arguments);
|
|
121
|
-
};
|
|
122
|
-
}()
|
|
123
|
-
});
|
|
124
|
-
}
|
|
125
|
-
create() {
|
|
126
|
-
var _this4 = this;
|
|
127
|
-
return this.$useMutationData({
|
|
128
|
-
mutationKey: ["create"],
|
|
129
|
-
mutationFn: function() {
|
|
130
|
-
var _ref3 = _asyncToGenerator(function* (params) {
|
|
131
|
-
return _this4.$fetch.post(_this4.sys.util.apiActionPathTranslate(_this4.resourceApi), params, _this4.sys.util.apiActionConfigPrepare());
|
|
132
|
-
});
|
|
133
|
-
return function mutationFn(_x) {
|
|
134
|
-
return _ref3.apply(this, arguments);
|
|
135
|
-
};
|
|
136
|
-
}(),
|
|
137
|
-
onSuccess: () => {
|
|
138
|
-
this.$invalidateQueries({ queryKey: ["select"] });
|
|
139
|
-
}
|
|
140
|
-
});
|
|
141
|
-
}
|
|
142
|
-
update(id) {
|
|
143
|
-
var _this5 = this;
|
|
144
|
-
return this.$useMutationData({
|
|
145
|
-
mutationKey: ["update", id],
|
|
146
|
-
mutationFn: function() {
|
|
147
|
-
var _ref4 = _asyncToGenerator(function* (params) {
|
|
148
|
-
return _this5.$fetch.patch(_this5.sys.util.apiActionPathTranslate(`${_this5.resourceApi}/:id`, { id }), params, _this5.sys.util.apiActionConfigPrepare());
|
|
149
|
-
});
|
|
150
|
-
return function mutationFn(_x2) {
|
|
151
|
-
return _ref4.apply(this, arguments);
|
|
152
|
-
};
|
|
153
|
-
}(),
|
|
154
|
-
onSuccess: () => {
|
|
155
|
-
this.$invalidateQueries({ queryKey: ["select"] });
|
|
156
|
-
this.$invalidateQueries({ queryKey: ["get", id] });
|
|
157
|
-
}
|
|
158
|
-
});
|
|
159
|
-
}
|
|
160
|
-
delete(id) {
|
|
161
|
-
var _this6 = this;
|
|
162
|
-
return this.$useMutationData({
|
|
163
|
-
mutationKey: ["delete", id],
|
|
164
|
-
mutationFn: function() {
|
|
165
|
-
var _ref5 = _asyncToGenerator(function* () {
|
|
166
|
-
return _this6.$fetch.delete(_this6.sys.util.apiActionPathTranslate(`${_this6.resourceApi}/:id`, { id }), _this6.sys.util.apiActionConfigPrepare());
|
|
167
|
-
});
|
|
168
|
-
return function mutationFn() {
|
|
169
|
-
return _ref5.apply(this, arguments);
|
|
170
|
-
};
|
|
171
|
-
}(),
|
|
172
|
-
onSuccess: () => {
|
|
173
|
-
this.$invalidateQueries({ queryKey: ["select"] });
|
|
174
|
-
this.$invalidateQueries({ queryKey: ["get", id] });
|
|
175
|
-
}
|
|
176
|
-
});
|
|
177
|
-
}
|
|
178
|
-
get apiSchemasSelect() {
|
|
179
|
-
return this.$sdk.createApiSchemas(this.resourceApi, "get");
|
|
180
|
-
}
|
|
181
|
-
get apiSchemasView() {
|
|
182
|
-
return this.$sdk.createApiSchemas(`${this.resourceApi}/:id`, "get");
|
|
183
|
-
}
|
|
184
|
-
get apiSchemasCreate() {
|
|
185
|
-
return this.$sdk.createApiSchemas(this.resourceApi, "post");
|
|
186
|
-
}
|
|
187
|
-
get apiSchemasUpdate() {
|
|
188
|
-
return this.$sdk.createApiSchemas(`${this.resourceApi}/:id`, "patch");
|
|
189
|
-
}
|
|
190
|
-
getFormSchema(formMeta) {
|
|
191
|
-
var _formMeta$formScene;
|
|
192
|
-
const formScene = (_formMeta$formScene = formMeta.formScene) !== null && _formMeta$formScene !== void 0 ? _formMeta$formScene : formSceneFromFormMeta(formMeta);
|
|
193
|
-
if (formScene === "view") return this.schemaView;
|
|
194
|
-
if (formScene === "create") return this.schemaCreate;
|
|
195
|
-
if (formScene === "edit") return this.schemaUpdate;
|
|
196
|
-
}
|
|
197
|
-
getFormApiSchemas(formMeta) {
|
|
198
|
-
var _formMeta$formScene2;
|
|
199
|
-
const formScene = (_formMeta$formScene2 = formMeta.formScene) !== null && _formMeta$formScene2 !== void 0 ? _formMeta$formScene2 : formSceneFromFormMeta(formMeta);
|
|
200
|
-
if (formScene === "view") return this.apiSchemasView;
|
|
201
|
-
if (formScene === "create") return this.apiSchemasCreate;
|
|
202
|
-
if (formScene === "edit") return this.apiSchemasUpdate;
|
|
203
|
-
throw new Error("invalid parameters");
|
|
204
|
-
}
|
|
205
|
-
getFormMutationSubmit(formMeta, id) {
|
|
206
|
-
if (formMeta.formMode !== "edit") return;
|
|
207
|
-
if (formMeta.editMode === "create") return this.create();
|
|
208
|
-
else if (formMeta.editMode === "update") return this.update(id);
|
|
209
|
-
}
|
|
210
|
-
getFormData(formMeta, id) {
|
|
211
|
-
if (formMeta.formMode === "edit" && formMeta.editMode === "create") return this.getQueryDataDefaultValue(this.schemaCreate);
|
|
212
|
-
if (isNil(id)) return void 0;
|
|
213
|
-
return this.view(id).data;
|
|
214
|
-
}
|
|
215
|
-
getQueryDataDefaultValue(schemaName) {
|
|
216
|
-
if (!schemaName) return;
|
|
217
|
-
if (typeof schemaName === "object") schemaName = schemaName["__schemaName__"];
|
|
218
|
-
return this.$sdk.getSchemaDefaultValue(schemaName);
|
|
219
|
-
}
|
|
220
|
-
_bootstrap() {
|
|
221
|
-
var _this7 = this;
|
|
222
|
-
return _asyncToGenerator(function* () {
|
|
223
|
-
const queryBootstrap = yield $QueryAutoLoad(() => _this7.$sdk.getBootstrap(_this7.resource));
|
|
224
|
-
if (!(queryBootstrap === null || queryBootstrap === void 0 ? void 0 : queryBootstrap.data)) throw new Error(`not found sdk of resource: ${_this7.resource}`);
|
|
225
|
-
_this7.resourceApi = _this7.sys.util.parseResourceApi(_this7.resource, queryBootstrap.data.apiPath);
|
|
226
|
-
})();
|
|
227
|
-
}
|
|
228
|
-
}, _descriptor = _applyDecoratedDescriptor$2(_class2$2.prototype, "$$scopeOpenapi", [_dec3$3, _dec4$2], {
|
|
229
|
-
configurable: true,
|
|
230
|
-
enumerable: true,
|
|
231
|
-
writable: true,
|
|
232
|
-
initializer: null
|
|
233
|
-
}), _class2$2)) || _class$4) || _class$4);
|
|
234
|
-
}));
|
|
235
|
-
//#endregion
|
|
236
|
-
//#region src/suite-vendor/a-cabloy/modules/rest-resource/src/page/entry/controller.tsx
|
|
237
|
-
function _applyDecoratedDescriptor$1(i, e, r, n, l) {
|
|
238
|
-
var a = {};
|
|
239
|
-
return Object.keys(n).forEach(function(i) {
|
|
240
|
-
a[i] = n[i];
|
|
241
|
-
}), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, ("value" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function(r, n) {
|
|
242
|
-
return n(i, e, r) || r;
|
|
243
|
-
}, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a;
|
|
244
|
-
}
|
|
245
|
-
function _isSlot$1(s) {
|
|
246
|
-
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !isVNode(s);
|
|
247
|
-
}
|
|
248
|
-
var _dec$3, _dec2$3, _dec3$2, _dec4$1, _dec5$1, _class$3, _class2$1, ZPage$1, ControllerPageEntrySchemaParams, ControllerPageEntry;
|
|
249
|
-
var init_controller$2 = __esmMin((() => {
|
|
250
|
-
init_vue_runtime_esm_bundler();
|
|
251
|
-
init_objectSpread2();
|
|
252
|
-
init_asyncToGenerator();
|
|
253
|
-
init_src$2();
|
|
254
|
-
init_dist();
|
|
255
|
-
init_zod();
|
|
256
|
-
init_src$4();
|
|
257
|
-
init_src$3();
|
|
258
|
-
init_src$7();
|
|
259
|
-
init_src$5();
|
|
260
|
-
ZPage$1 = createZovaComponentAsync("home-base", "page");
|
|
261
|
-
ControllerPageEntrySchemaParams = object({
|
|
262
|
-
resource: string(),
|
|
263
|
-
id: string().optional(),
|
|
264
|
-
formScene: string().optional()
|
|
265
|
-
});
|
|
266
|
-
ControllerPageEntry = (_dec$3 = Controller(), _dec2$3 = BeanInfo({ module: "rest-resource" }), _dec3$2 = Use({ beanFullName: "rest-resource.model.resource" }), _dec4$1 = Reflect.metadata("design:type", Function), _dec5$1 = Reflect.metadata("design:paramtypes", []), _dec$3(_class$3 = _dec2$3(_class$3 = (_class2$1 = class ControllerPageEntry extends BeanControllerPageBase {
|
|
267
|
-
constructor(...args) {
|
|
268
|
-
super(...args);
|
|
269
|
-
this.formMeta = void 0;
|
|
270
|
-
this.formProvider = void 0;
|
|
271
|
-
this.formSchema = void 0;
|
|
272
|
-
this.jsxZova = void 0;
|
|
273
|
-
}
|
|
274
|
-
get $$modelResource() {
|
|
275
|
-
return usePrepareArg(this.$params.resource, true);
|
|
276
|
-
}
|
|
277
|
-
get resource() {
|
|
278
|
-
return this.$params.resource;
|
|
279
|
-
}
|
|
280
|
-
get entryId() {
|
|
281
|
-
return this.$params.id;
|
|
282
|
-
}
|
|
283
|
-
get formScene() {
|
|
284
|
-
var _this$$params$formSce;
|
|
285
|
-
return (_this$$params$formSce = this.$params.formScene) !== null && _this$$params$formSce !== void 0 ? _this$$params$formSce : isNil(this.entryId) ? "create" : "view";
|
|
286
|
-
}
|
|
287
|
-
__init__() {
|
|
288
|
-
var _this = this;
|
|
289
|
-
return _asyncToGenerator(function* () {
|
|
290
|
-
_this.formMeta = _this.$computed(() => {
|
|
291
|
-
const formScene = _this.formScene;
|
|
292
|
-
return _objectSpread2(_objectSpread2({}, formMetaFromFormScene(formScene)), {}, { formScene });
|
|
293
|
-
});
|
|
294
|
-
_this.formProvider = _this.$computed(() => {
|
|
295
|
-
return _this.$$modelResource.formProvider;
|
|
296
|
-
});
|
|
297
|
-
_this.formSchema = _this.$computed(() => {
|
|
298
|
-
return _this.$$modelResource.getFormSchema(_this.formMeta);
|
|
299
|
-
});
|
|
300
|
-
_this._prepareJsx();
|
|
301
|
-
yield $QueryAutoLoad(() => {
|
|
302
|
-
var _this$$$modelResource;
|
|
303
|
-
return (_this$$$modelResource = _this.$$modelResource.getFormApiSchemas(_this.formMeta)) === null || _this$$$modelResource === void 0 ? void 0 : _this$$$modelResource.sdk;
|
|
304
|
-
});
|
|
305
|
-
})();
|
|
306
|
-
}
|
|
307
|
-
_prepareJsx() {
|
|
308
|
-
this.jsxZova = this.bean._newBeanSimple(ZovaJsx, false, this.formProvider.components);
|
|
309
|
-
}
|
|
310
|
-
render() {
|
|
311
|
-
var _this$formSchema;
|
|
312
|
-
const blocks = (_this$formSchema = this.formSchema) === null || _this$formSchema === void 0 || (_this$formSchema = _this$formSchema.rest) === null || _this$formSchema === void 0 ? void 0 : _this$formSchema.blocks;
|
|
313
|
-
if (!blocks || blocks.length === 0) return;
|
|
314
|
-
const domBlocks = [];
|
|
315
|
-
blocks.forEach((block, index) => {
|
|
316
|
-
const options = deepExtend({ key: index }, {
|
|
317
|
-
resource: this.resource,
|
|
318
|
-
id: this.entryId,
|
|
319
|
-
formScene: this.formScene
|
|
320
|
-
}, block.options);
|
|
321
|
-
const domBlock = this.jsxZova.render(block.render, options);
|
|
322
|
-
if (!domBlock) return;
|
|
323
|
-
if (Array.isArray(domBlock)) domBlocks.push(...domBlock);
|
|
324
|
-
else domBlocks.push(domBlock);
|
|
325
|
-
});
|
|
326
|
-
return createVNode(ZPage$1, null, _isSlot$1(domBlocks) ? domBlocks : { default: () => [domBlocks] });
|
|
327
|
-
}
|
|
328
|
-
}, _applyDecoratedDescriptor$1(_class2$1.prototype, "$$modelResource", [
|
|
329
|
-
_dec3$2,
|
|
330
|
-
_dec4$1,
|
|
331
|
-
_dec5$1
|
|
332
|
-
], Object.getOwnPropertyDescriptor(_class2$1.prototype, "$$modelResource"), _class2$1.prototype), _class2$1)) || _class$3) || _class$3);
|
|
333
|
-
}));
|
|
334
|
-
//#endregion
|
|
335
|
-
//#region src/suite-vendor/a-cabloy/modules/rest-resource/src/page/entryCreate/controller.tsx
|
|
336
|
-
var _dec$2, _dec2$2, _dec3$1, _class$2, ControllerPageEntryCreateSchemaParams, ControllerPageEntryCreate;
|
|
337
|
-
var init_controller$1 = __esmMin((() => {
|
|
338
|
-
init_src$2();
|
|
339
|
-
init_src$1();
|
|
340
|
-
init_src$3();
|
|
341
|
-
init_controller$2();
|
|
342
|
-
ControllerPageEntryCreateSchemaParams = ControllerPageEntrySchemaParams;
|
|
343
|
-
ControllerPageEntryCreate = (_dec$2 = Controller(), _dec2$2 = Virtual(), _dec3$1 = BeanInfo({ module: "rest-resource" }), _dec$2(_class$2 = _dec2$2(_class$2 = _dec3$1(_class$2 = class ControllerPageEntryCreate extends ControllerPageEntry {}) || _class$2) || _class$2) || _class$2);
|
|
344
|
-
}));
|
|
345
|
-
//#endregion
|
|
346
|
-
//#region src/suite-vendor/a-cabloy/modules/rest-resource/src/page/resource/controller.tsx
|
|
347
|
-
function _applyDecoratedDescriptor(i, e, r, n, l) {
|
|
348
|
-
var a = {};
|
|
349
|
-
return Object.keys(n).forEach(function(i) {
|
|
350
|
-
a[i] = n[i];
|
|
351
|
-
}), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, ("value" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function(r, n) {
|
|
352
|
-
return n(i, e, r) || r;
|
|
353
|
-
}, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a;
|
|
354
|
-
}
|
|
355
|
-
function _isSlot(s) {
|
|
356
|
-
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !isVNode(s);
|
|
357
|
-
}
|
|
358
|
-
var _dec$1, _dec2$1, _dec3, _dec4, _dec5, _class$1, _class2, ZPage, ControllerPageResourceSchemaParams, ControllerPageResource;
|
|
359
|
-
var init_controller = __esmMin((() => {
|
|
360
|
-
init_vue_runtime_esm_bundler();
|
|
361
|
-
init_asyncToGenerator();
|
|
362
|
-
init_src$2();
|
|
363
|
-
init_zod();
|
|
364
|
-
init_src$4();
|
|
365
|
-
init_src$3();
|
|
366
|
-
init_src$5();
|
|
367
|
-
ZPage = createZovaComponentAsync("home-base", "page");
|
|
368
|
-
ControllerPageResourceSchemaParams = object({ resource: string() });
|
|
369
|
-
ControllerPageResource = (_dec$1 = Controller(), _dec2$1 = BeanInfo({ module: "rest-resource" }), _dec3 = Use({ beanFullName: "rest-resource.model.resource" }), _dec4 = Reflect.metadata("design:type", Function), _dec5 = Reflect.metadata("design:paramtypes", []), _dec$1(_class$1 = _dec2$1(_class$1 = (_class2 = class ControllerPageResource extends BeanControllerPageBase {
|
|
370
|
-
constructor(...args) {
|
|
371
|
-
super(...args);
|
|
372
|
-
this.jsxZova = void 0;
|
|
373
|
-
}
|
|
374
|
-
get $$modelResource() {
|
|
375
|
-
return usePrepareArg(this.$params.resource, true);
|
|
376
|
-
}
|
|
377
|
-
get resource() {
|
|
378
|
-
return this.$params.resource;
|
|
379
|
-
}
|
|
380
|
-
__init__() {
|
|
381
|
-
var _this = this;
|
|
382
|
-
return _asyncToGenerator(function* () {
|
|
383
|
-
_this._prepareJsx();
|
|
384
|
-
yield $QueryAutoLoad(() => _this.$$modelResource.apiSchemasSelect.sdk);
|
|
385
|
-
})();
|
|
386
|
-
}
|
|
387
|
-
_prepareJsx() {
|
|
388
|
-
this.jsxZova = this.bean._newBeanSimple(ZovaJsx, false);
|
|
389
|
-
}
|
|
390
|
-
get schemaRow() {
|
|
391
|
-
return this.$$modelResource.schemaRow;
|
|
392
|
-
}
|
|
393
|
-
render() {
|
|
394
|
-
var _this$schemaRow;
|
|
395
|
-
const blocks = (_this$schemaRow = this.schemaRow) === null || _this$schemaRow === void 0 || (_this$schemaRow = _this$schemaRow.rest) === null || _this$schemaRow === void 0 ? void 0 : _this$schemaRow.blocks;
|
|
396
|
-
if (!blocks || blocks.length === 0) return;
|
|
397
|
-
const domBlocks = [];
|
|
398
|
-
blocks.forEach((block, index) => {
|
|
399
|
-
const options = deepExtend({ key: index }, { resource: this.resource }, block.options);
|
|
400
|
-
const domBlock = this.jsxZova.render(block.render, options);
|
|
401
|
-
if (!domBlock) return;
|
|
402
|
-
if (Array.isArray(domBlock)) domBlocks.push(...domBlock);
|
|
403
|
-
else domBlocks.push(domBlock);
|
|
404
|
-
});
|
|
405
|
-
return createVNode(ZPage, null, _isSlot(domBlocks) ? domBlocks : { default: () => [domBlocks] });
|
|
406
|
-
}
|
|
407
|
-
}, _applyDecoratedDescriptor(_class2.prototype, "$$modelResource", [
|
|
408
|
-
_dec3,
|
|
409
|
-
_dec4,
|
|
410
|
-
_dec5
|
|
411
|
-
], Object.getOwnPropertyDescriptor(_class2.prototype, "$$modelResource"), _class2.prototype), _class2)) || _class$1) || _class$1);
|
|
412
|
-
}));
|
|
413
|
-
//#endregion
|
|
414
|
-
//#region src/suite-vendor/a-cabloy/modules/rest-resource/src/.metadata/page/entry.ts
|
|
415
|
-
var NSControllerPageEntry, ZPageEntry;
|
|
416
|
-
var init_entry = __esmMin((() => {
|
|
417
|
-
init_src$2();
|
|
418
|
-
init_controller$2();
|
|
419
|
-
(function(_NSControllerPageEntry) {
|
|
420
|
-
_NSControllerPageEntry.paramsSchema = ControllerPageEntrySchemaParams;
|
|
421
|
-
})(NSControllerPageEntry || (NSControllerPageEntry = {}));
|
|
422
|
-
ZPageEntry = createZovaComponentPage(ControllerPageEntry, void 0, void 0);
|
|
423
|
-
}));
|
|
424
|
-
//#endregion
|
|
425
|
-
//#region src/suite-vendor/a-cabloy/modules/rest-resource/src/.metadata/page/entryCreate.ts
|
|
426
|
-
var NSControllerPageEntryCreate, ZPageEntryCreate;
|
|
427
|
-
var init_entryCreate = __esmMin((() => {
|
|
428
|
-
init_src$2();
|
|
429
|
-
init_controller$1();
|
|
430
|
-
(function(_NSControllerPageEntryCreate) {
|
|
431
|
-
_NSControllerPageEntryCreate.paramsSchema = ControllerPageEntryCreateSchemaParams;
|
|
432
|
-
})(NSControllerPageEntryCreate || (NSControllerPageEntryCreate = {}));
|
|
433
|
-
ZPageEntryCreate = createZovaComponentPage(ControllerPageEntryCreate, void 0, void 0);
|
|
434
|
-
}));
|
|
435
|
-
//#endregion
|
|
436
|
-
//#region src/suite-vendor/a-cabloy/modules/rest-resource/src/.metadata/page/resource.ts
|
|
437
|
-
var NSControllerPageResource, ZPageResource;
|
|
438
|
-
var init_resource$1 = __esmMin((() => {
|
|
439
|
-
init_src$2();
|
|
440
|
-
init_controller();
|
|
441
|
-
(function(_NSControllerPageResource) {
|
|
442
|
-
_NSControllerPageResource.paramsSchema = ControllerPageResourceSchemaParams;
|
|
443
|
-
})(NSControllerPageResource || (NSControllerPageResource = {}));
|
|
444
|
-
ZPageResource = createZovaComponentPage(ControllerPageResource, void 0, void 0);
|
|
445
|
-
}));
|
|
446
|
-
//#endregion
|
|
447
|
-
//#region src/suite-vendor/a-cabloy/modules/rest-resource/src/routes.ts
|
|
448
|
-
function tabKey(route) {
|
|
449
|
-
return `/rest/resource/${encodeURIComponent(route.params.resource)}`;
|
|
450
|
-
}
|
|
451
|
-
var routes;
|
|
452
|
-
var init_routes = __esmMin((() => {
|
|
453
|
-
init_entry();
|
|
454
|
-
init_entryCreate();
|
|
455
|
-
init_resource$1();
|
|
456
|
-
routes = [
|
|
457
|
-
{
|
|
458
|
-
name: "resource",
|
|
459
|
-
path: ":resource",
|
|
460
|
-
component: ZPageResource,
|
|
461
|
-
meta: { tabKey }
|
|
462
|
-
},
|
|
463
|
-
{
|
|
464
|
-
name: "entryCreate",
|
|
465
|
-
path: ":resource/create",
|
|
466
|
-
component: ZPageEntryCreate,
|
|
467
|
-
meta: { tabKey }
|
|
468
|
-
},
|
|
469
|
-
{
|
|
470
|
-
name: "entry",
|
|
471
|
-
path: ":resource/:id/:formScene?",
|
|
472
|
-
component: ZPageEntry,
|
|
473
|
-
meta: { tabKey }
|
|
474
|
-
}
|
|
475
|
-
];
|
|
476
|
-
}));
|
|
477
|
-
//#endregion
|
|
478
|
-
//#region src/suite-vendor/a-cabloy/modules/rest-resource/src/.metadata/index.ts
|
|
479
|
-
/** pages: end */
|
|
480
|
-
/** scope: begin */
|
|
481
|
-
var _dec, _dec2, _class, pagePathSchemas, pageNameSchemas, ScopeModuleRestResource;
|
|
482
|
-
var init__metadata = __esmMin((() => {
|
|
483
|
-
init_src$2();
|
|
484
|
-
init_resource$2();
|
|
485
|
-
init_src$5();
|
|
486
|
-
init_controller$2();
|
|
487
|
-
init_controller$1();
|
|
488
|
-
init_controller();
|
|
489
|
-
init_entry();
|
|
490
|
-
init_entry();
|
|
491
|
-
init_entryCreate();
|
|
492
|
-
init_entryCreate();
|
|
493
|
-
init_resource$1();
|
|
494
|
-
init_resource$1();
|
|
495
|
-
init_routes();
|
|
496
|
-
init_src$3();
|
|
497
|
-
pagePathSchemas = {};
|
|
498
|
-
pageNameSchemas = {
|
|
499
|
-
"rest-resource:entry": { params: NSControllerPageEntry.paramsSchema },
|
|
500
|
-
"rest-resource:entryCreate": { params: NSControllerPageEntryCreate.paramsSchema },
|
|
501
|
-
"rest-resource:resource": { params: NSControllerPageResource.paramsSchema }
|
|
502
|
-
};
|
|
503
|
-
ScopeModuleRestResource = (_dec = Scope(), _dec2 = BeanInfo({ module: "rest-resource" }), _dec(_class = _dec2(_class = class ScopeModuleRestResource extends BeanScopeBase {}) || _class) || _class);
|
|
504
|
-
}));
|
|
505
|
-
/** scope: end */
|
|
506
|
-
//#endregion
|
|
507
|
-
//#region src/suite-vendor/a-cabloy/modules/rest-resource/src/types/pageEntryWrapper.ts
|
|
508
|
-
var init_pageEntryWrapper = __esmMin((() => {
|
|
509
|
-
init_src$6();
|
|
510
|
-
}));
|
|
511
|
-
//#endregion
|
|
512
|
-
//#region src/suite-vendor/a-cabloy/modules/rest-resource/src/types/pageWrapper.ts
|
|
513
|
-
var init_pageWrapper = __esmMin((() => {
|
|
514
|
-
init_src$6();
|
|
515
|
-
}));
|
|
516
|
-
//#endregion
|
|
517
|
-
//#region src/suite-vendor/a-cabloy/modules/rest-resource/src/types/resource.ts
|
|
518
|
-
var init_resource = __esmMin((() => {}));
|
|
519
|
-
//#endregion
|
|
520
|
-
//#region src/suite-vendor/a-cabloy/modules/rest-resource/src/types/index.ts
|
|
521
|
-
var init_types = __esmMin((() => {
|
|
522
|
-
init_pageEntryWrapper();
|
|
523
|
-
init_pageWrapper();
|
|
524
|
-
init_resource();
|
|
525
|
-
}));
|
|
526
|
-
//#endregion
|
|
527
|
-
//#region src/suite-vendor/a-cabloy/modules/rest-resource/src/index.ts
|
|
528
|
-
var src_exports = /* @__PURE__ */ __exportAll({
|
|
529
|
-
ControllerPageEntry: () => ControllerPageEntry,
|
|
530
|
-
ControllerPageEntryCreate: () => ControllerPageEntryCreate,
|
|
531
|
-
ControllerPageEntryCreateSchemaParams: () => ControllerPageEntryCreateSchemaParams,
|
|
532
|
-
ControllerPageEntrySchemaParams: () => ControllerPageEntrySchemaParams,
|
|
533
|
-
ControllerPageResource: () => ControllerPageResource,
|
|
534
|
-
ControllerPageResourceSchemaParams: () => ControllerPageResourceSchemaParams,
|
|
535
|
-
ModelResource: () => ModelResource,
|
|
536
|
-
NSControllerPageEntry: () => NSControllerPageEntry,
|
|
537
|
-
NSControllerPageEntryCreate: () => NSControllerPageEntryCreate,
|
|
538
|
-
NSControllerPageResource: () => NSControllerPageResource,
|
|
539
|
-
ScopeModuleRestResource: () => ScopeModuleRestResource,
|
|
540
|
-
ZPageEntry: () => ZPageEntry,
|
|
541
|
-
ZPageEntryCreate: () => ZPageEntryCreate,
|
|
542
|
-
ZPageResource: () => ZPageResource,
|
|
543
|
-
pageNameSchemas: () => pageNameSchemas,
|
|
544
|
-
pagePathSchemas: () => pagePathSchemas,
|
|
545
|
-
routes: () => routes
|
|
546
|
-
});
|
|
547
|
-
var init_src = __esmMin((() => {
|
|
548
|
-
init__metadata();
|
|
549
|
-
init_types();
|
|
550
|
-
}));
|
|
551
|
-
//#endregion
|
|
552
|
-
export { src_exports as n, init_src as t };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
2
|
-
<symbol id="zova-svg-icon-home-icon-role-collaboration" xmlns="http://www.w3.org/2000/svg"><path fill="currentColor" d="M6 21v-1H4v1a7 7 0 0 0 7 7h3v-2h-3a5 5 0 0 1-5-5m18-10v1h2v-1a7 7 0 0 0-7-7h-3v2h3a5 5 0 0 1 5 5m-13 0H5a3 3 0 0 0-3 3v2h2v-2a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v2h2v-2a3 3 0 0 0-3-3m-3-1a4 4 0 1 0-4-4 4 4 0 0 0 4 4m0-6a2 2 0 1 1-2 2 2 2 0 0 1 2-2m19 21h-6a3 3 0 0 0-3 3v2h2v-2a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v2h2v-2a3 3 0 0 0-3-3m-7-5a4 4 0 1 0 4-4 4 4 0 0 0-4 4m6 0a2 2 0 1 1-2-2 2 2 0 0 1 2 2"/></symbol>
|
|
3
|
-
<symbol id="zova-svg-icon-home-icon-role-level" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" class="iconify iconify--icon-park-outline" viewBox="0 0 48 48"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-width="4"><path stroke-linejoin="round" d="M6 8v32M24 8v32M7 24h16"/><path d="M32 24v16m0-8.976C32 28.46 34 26 37 26s5 2.358 5 5.024v8.99"/></g></symbol>
|
|
4
|
-
<symbol id="zova-svg-icon-home-icon-role-organization" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" class="iconify iconify--fluent" viewBox="0 0 24 24"><path fill="currentColor" d="M11.75 1.998a3.752 3.752 0 0 0-.75 7.43V11.5H7.75a2.25 2.25 0 0 0-2.25 2.25v.826a3.754 3.754 0 0 0 .752 7.429A3.752 3.752 0 0 0 7 14.575v-.825a.75.75 0 0 1 .75-.75h8a.75.75 0 0 1 .75.75v.826a3.754 3.754 0 0 0 .752 7.429 3.752 3.752 0 0 0 .748-7.43v-.825a2.25 2.25 0 0 0-2.25-2.25H12.5V9.428a3.754 3.754 0 0 0-.75-7.43M9.498 5.75a2.252 2.252 0 1 1 4.504 0 2.252 2.252 0 0 1-4.504 0M4 18.253a2.252 2.252 0 1 1 4.505 0 2.252 2.252 0 0 1-4.505 0M17.252 16a2.252 2.252 0 1 1 0 4.505 2.252 2.252 0 0 1 0-4.505"/></symbol>
|
|
5
|
-
<symbol id="zova-svg-icon-home-icon-role-position" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" class="iconify iconify--iconoir" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="m14.73 8.36-2.25 3a.6.6 0 0 1-.96 0l-2.25-3a.6.6 0 0 1 0-.72l2.25-3a.6.6 0 0 1 .96 0l2.25 3a.6.6 0 0 1 0 .72M3 20h18m-9-3v-2"/></symbol>
|
|
6
|
-
<symbol id="zova-svg-icon-home-icon-role-relation" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" class="iconify iconify--mdi" viewBox="0 0 24 24"><path fill="currentColor" d="M21 15v-2h-2v2h-.21a2.5 2.5 0 0 0-4.58 0H13V7H9.79a2.5 2.5 0 0 0-4.58 0H5V5H3v2H2v2h1v2h2V9h.21a2.5 2.5 0 0 0 4.58 0H11v8h3.21a2.5 2.5 0 0 0 4.58 0H19v2h2v-2h1v-2M7.5 9a1 1 0 1 1 1-1 1 1 0 0 1-1 1m9 8a1 1 0 1 1 1-1 1 1 0 0 1-1 1"/></symbol>
|
|
7
|
-
<symbol id="zova-svg-icon-home-icon-role-role" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" class="iconify iconify--ic" viewBox="0 0 24 24"><path fill="currentColor" d="M12 11c1.33 0 4 .67 4 2v.16c-.97 1.12-2.4 1.84-4 1.84s-3.03-.72-4-1.84V13c0-1.33 2.67-2 4-2m0-1c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2m6 .2C18 6.57 15.35 4 12 4s-6 2.57-6 6.2c0 2.34 1.95 5.44 6 9.14 4.05-3.7 6-6.8 6-9.14M12 2c4.2 0 8 3.22 8 8.2 0 3.32-2.67 7.25-8 11.8-5.33-4.55-8-8.48-8-11.8C4 5.22 7.8 2 12 2"/></symbol>
|
|
8
|
-
<symbol id="zova-svg-icon-home-icon-role-shield-key" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" class="iconify iconify--mdi" viewBox="0 0 24 24"><path fill="currentColor" d="M21 11c0 5.55-3.84 10.74-9 12-5.16-1.26-9-6.45-9-12V5l9-4 9 4zm-9 10c3.75-1 7-5.46 7-9.78V6.3l-7-3.12L5 6.3v4.92C5 15.54 8.25 20 12 21m0-15a3 3 0 0 1 3 3c0 1.31-.83 2.42-2 2.83V14h2v2h-2v2h-2v-6.17A2.99 2.99 0 0 1 9 9a3 3 0 0 1 3-3m0 2a1 1 0 0 0-1 1 1 1 0 0 0 1 1 1 1 0 0 0 1-1 1 1 0 0 0-1-1"/></symbol>
|
|
9
|
-
<symbol id="zova-svg-icon-home-icon-role-template" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" class="iconify iconify--ic" viewBox="0 0 24 24"><path fill="currentColor" d="M5 5.5C5 6.33 5.67 7 6.5 7h4v10.5c0 .83.67 1.5 1.5 1.5s1.5-.67 1.5-1.5V7h4c.83 0 1.5-.67 1.5-1.5S18.33 4 17.5 4h-11C5.67 4 5 4.67 5 5.5"/></symbol>
|
|
10
|
-
</svg>
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
//#region \0rolldown/runtime.js
|
|
2
|
-
var __create = Object.create;
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var __esmMin = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
|
|
9
|
-
var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
|
|
10
|
-
var __exportAll = (all, no_symbols) => {
|
|
11
|
-
let target = {};
|
|
12
|
-
for (var name in all) __defProp(target, name, {
|
|
13
|
-
get: all[name],
|
|
14
|
-
enumerable: true
|
|
15
|
-
});
|
|
16
|
-
if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
17
|
-
return target;
|
|
18
|
-
};
|
|
19
|
-
var __copyProps = (to, from, except, desc) => {
|
|
20
|
-
if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
21
|
-
key = keys[i];
|
|
22
|
-
if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
23
|
-
get: ((k) => from[k]).bind(null, key),
|
|
24
|
-
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
25
|
-
});
|
|
26
|
-
}
|
|
27
|
-
return to;
|
|
28
|
-
};
|
|
29
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
30
|
-
value: mod,
|
|
31
|
-
enumerable: true
|
|
32
|
-
}) : target, mod));
|
|
33
|
-
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, { get: (a, b) => (typeof require !== "undefined" ? require : a)[b] }) : x)(function(x) {
|
|
34
|
-
if (typeof require !== "undefined") return require.apply(this, arguments);
|
|
35
|
-
throw Error("Calling `require` for \"" + x + "\" in an environment that doesn't expose the `require` function. See https://rolldown.rs/in-depth/bundling-cjs#require-external-modules for more details.");
|
|
36
|
-
});
|
|
37
|
-
//#endregion
|
|
38
|
-
export { __toESM as a, __require as i, __esmMin as n, __exportAll as r, __commonJSMin as t };
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
2
|
-
<symbol id="zova-svg-icon-home-icon-social-cabloy" xmlns="http://www.w3.org/2000/svg" fill="none"><path fill="#FF9300" d="M14.11 0q.968 0 1.328.219.36.218.359.765v6q0 .532-.485.766-.468.219-1.578.219-.735 0-1.14-.094-.39-.11-.547-.312-.156-.204-.156-.579 0-1.562-.86-2.5-.843-.937-2.422-.937-2.172 0-3.296 1.562-1.125 1.563-1.125 4.5 0 2.907 1.187 4.5 1.203 1.58 3.39 1.579 1.36 0 2.61-.36 1.25-.375 2.719-1.125.25-.125.469-.125.734 0 1.218 1.297.219.594.219 1.063 0 .796-.719 1.14-3.344 1.656-6.672 1.656-2.562 0-4.515-1.172-1.953-1.17-3.032-3.343Q0 12.53 0 9.609q0-2.906 1.047-5.078 1.047-2.187 2.89-3.36Q5.798.002 8.142 0q2.735 0 4.062 1.969V.984q0-.531.453-.75Q13.11 0 14.11 0"/></symbol>
|
|
3
|
-
<symbol id="zova-svg-icon-home-icon-social-chat" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="m6 18-2.3 2.3q-.475.475-1.088.213T2 19.575V4q0-.825.588-1.412T4 2h16q.825 0 1.413.588T22 4v12q0 .825-.587 1.413T20 18zm1-4h6q.425 0 .713-.288T14 13t-.288-.712T13 12H7q-.425 0-.712.288T6 13t.288.713T7 14m0-3h10q.425 0 .713-.288T18 10t-.288-.712T17 9H7q-.425 0-.712.288T6 10t.288.713T7 11m0-3h10q.425 0 .713-.288T18 7t-.288-.712T17 6H7q-.425 0-.712.288T6 7t.288.713T7 8"/></symbol>
|
|
4
|
-
<symbol id="zova-svg-icon-home-icon-social-facebook" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" class="iconify iconify--ic" viewBox="0 0 24 24"><path fill="currentColor" d="M22 12c0-5.52-4.48-10-10-10S2 6.48 2 12c0 4.84 3.44 8.87 8 9.8V15H8v-3h2V9.5C10 7.57 11.57 6 13.5 6H16v3h-2c-.55 0-1 .45-1 1v2h3v3h-3v6.95c5.05-.5 9-4.76 9-9.95"/></symbol>
|
|
5
|
-
<symbol id="zova-svg-icon-home-icon-social-github" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="M12 2A10 10 0 0 0 2 12c0 4.42 2.87 8.17 6.84 9.5.5.08.66-.23.66-.5v-1.69c-2.77.6-3.36-1.34-3.36-1.34-.46-1.16-1.11-1.47-1.11-1.47-.91-.62.07-.6.07-.6 1 .07 1.53 1.03 1.53 1.03.87 1.52 2.34 1.07 2.91.83.09-.65.35-1.09.63-1.34-2.22-.25-4.55-1.11-4.55-4.92 0-1.11.38-2 1.03-2.71-.1-.25-.45-1.29.1-2.64 0 0 .84-.27 2.75 1.02.79-.22 1.65-.33 2.5-.33s1.71.11 2.5.33c1.91-1.29 2.75-1.02 2.75-1.02.55 1.35.2 2.39.1 2.64.65.71 1.03 1.6 1.03 2.71 0 3.82-2.34 4.66-4.57 4.91.36.31.69.92.69 1.85V21c0 .27.16.59.67.5C19.14 20.16 22 16.42 22 12A10 10 0 0 0 12 2"/></symbol>
|
|
6
|
-
<symbol id="zova-svg-icon-home-icon-social-public" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="M12 22q-2.075 0-3.9-.788t-3.175-2.137T2.788 15.9 2 12t.788-3.9 2.137-3.175T8.1 2.788 12 2t3.9.788 3.175 2.137T21.213 8.1 22 12t-.788 3.9-2.137 3.175-3.175 2.138T12 22m-1-2.05V18q-.825 0-1.412-.587T9 16v-1l-4.8-4.8q-.075.45-.137.9T4 12q0 3.025 1.988 5.3T11 19.95m6.9-2.55q.5-.55.9-1.187t.662-1.325.4-1.413T20 12q0-2.45-1.363-4.475T15 4.6V5q0 .825-.587 1.413T13 7h-2v2q0 .425-.288.713T10 10H8v2h6q.425 0 .713.288T15 13v3h1q.65 0 1.175.388T17.9 17.4"/></symbol>
|
|
7
|
-
<symbol id="zova-svg-icon-home-icon-social-record-voice-over" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="M19.95 15.95 18.4 14.4q1.1-1.025 1.725-2.425T20.75 9t-.625-2.95-1.725-2.4l1.55-1.6q1.4 1.325 2.225 3.125T23 9t-.825 3.825-2.225 3.125m-3.2-3.2-1.6-1.6q.45-.425.725-.962T16.15 9t-.275-1.187-.725-.963l1.6-1.6q.8.725 1.25 1.688T18.45 9 18 11.063t-1.25 1.687M9 13q-1.65 0-2.825-1.175T5 9t1.175-2.825T9 5t2.825 1.175T13 9t-1.175 2.825T9 13m-8 8v-2.8q0-.825.425-1.55t1.175-1.1q1.275-.65 2.875-1.1T9 14t3.525.45 2.875 1.1q.75.375 1.175 1.1T17 18.2V21z"/></symbol>
|
|
8
|
-
<symbol id="zova-svg-icon-home-icon-social-school" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="M21 17v-6.9L12 15 1 9l11-6 11 6v8zm-9 4-7-3.8v-5l7 3.8 7-3.8v5z"/></symbol>
|
|
9
|
-
<symbol id="zova-svg-icon-home-icon-social-twitter" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" class="iconify iconify--mdi" viewBox="0 0 24 24"><path fill="currentColor" d="M22.46 6c-.77.35-1.6.58-2.46.69.88-.53 1.56-1.37 1.88-2.38-.83.5-1.75.85-2.72 1.05C18.37 4.5 17.26 4 16 4c-2.35 0-4.27 1.92-4.27 4.29 0 .34.04.67.11.98C8.28 9.09 5.11 7.38 3 4.79c-.37.63-.58 1.37-.58 2.15 0 1.49.75 2.81 1.91 3.56-.71 0-1.37-.2-1.95-.5v.03c0 2.08 1.48 3.82 3.44 4.21a4.2 4.2 0 0 1-1.93.07 4.28 4.28 0 0 0 4 2.98 8.52 8.52 0 0 1-5.33 1.84q-.51 0-1.02-.06C3.44 20.29 5.7 21 8.12 21 16 21 20.33 14.46 20.33 8.79c0-.19 0-.37-.01-.56.84-.6 1.56-1.36 2.14-2.23"/></symbol>
|
|
10
|
-
<symbol id="zova-svg-icon-home-icon-social-vona" xmlns="http://www.w3.org/2000/svg" fill="none"><path fill="#FF9300" d="M18.516 0q.375 0 .578.14.203.126.297.47.11.343.109 1 0 .655-.11 1-.093.343-.296.468t-.578.125h-1.063l-5.672 14.672q-.219.562-.672.781-.452.235-1.406.235-.953 0-1.406-.235-.438-.234-.64-.781L2.186 3.203H.984q-.374 0-.578-.125Q.204 2.953.11 2.61 0 2.266 0 1.61q0-.655.11-1Q.202.266.405.141.61 0 .984 0h6.782q.375 0 .578.14.203.126.297.47.11.343.109 1 0 .655-.11 1-.092.343-.296.468t-.578.125H6.375l3.36 9.578 3.578-9.578h-1.11q-.375 0-.578-.125t-.312-.469q-.094-.343-.094-1 0-.655.094-1 .109-.343.312-.468.203-.141.578-.141z"/></symbol>
|
|
11
|
-
<symbol id="zova-svg-icon-home-icon-social-zova" xmlns="http://www.w3.org/2000/svg" fill="none"><path fill="#FF9300" d="M13.734 0q.375 0 .579.14.203.126.296.47.11.343.11 1 0 .953-.36 1.437l-8.968 12.14h5.734V11.72q0-.531.453-.75.454-.235 1.453-.235.97 0 1.328.22.36.217.36.765v5.812q0 .531-.235.782-.234.234-.78.234H.983q-.374 0-.578-.125-.203-.126-.312-.469-.094-.343-.094-1 0-1.031.313-1.453L9.28 3.36H4.062v3.156q0 .531-.453.765-.453.219-1.453.219-.968 0-1.328-.219-.36-.218-.36-.765v-5.5q0-.547.235-.782Q.953 0 1.484 0z"/></symbol>
|
|
12
|
-
</svg>
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { n as __esmMin } from "./rolldown-runtime-lkMnaVCm.js";
|
|
2
|
-
import { g as init_defineProperty, h as _defineProperty } from "./fecha-DvkbkxAQ.js";
|
|
3
|
-
import { a as ZFormFieldCurrency, c as currencyUpdate, i as TableCellCurrency, n as ScopeModuleBasicCurrency, o as ControllerFormFieldCurrency, r as components, s as currencyFormat, t as init_src } from "./basic-currency-ljdT_mJv.js";
|
|
4
|
-
//#region node_modules/.pnpm/@zhennann+currency@2.0.4/node_modules/@zhennann/currency/dist/index.js
|
|
5
|
-
function _trimZero(str, zero) {
|
|
6
|
-
let indexZero = str.indexOf(".");
|
|
7
|
-
if (indexZero === -1) return str;
|
|
8
|
-
for (let index = str.length - 1; index > indexZero; index--) if (str[index] === "0" && index - indexZero > zero) str = str.substring(0, str.length - 1);
|
|
9
|
-
else break;
|
|
10
|
-
if (indexZero === str.length - 1) str = str.substring(0, str.length - 1);
|
|
11
|
-
return str;
|
|
12
|
-
}
|
|
13
|
-
var Currency;
|
|
14
|
-
var init_dist = __esmMin((() => {
|
|
15
|
-
init_defineProperty();
|
|
16
|
-
Currency = class {
|
|
17
|
-
constructor(options) {
|
|
18
|
-
var _options$fixed, _options$exp, _options$zero;
|
|
19
|
-
_defineProperty(this, "fixed", void 0);
|
|
20
|
-
_defineProperty(this, "exp", void 0);
|
|
21
|
-
_defineProperty(this, "zero", void 0);
|
|
22
|
-
if (options === false) throw new Error("Currency options cannot be false");
|
|
23
|
-
if (!options || typeof options !== "object") options = {};
|
|
24
|
-
this.fixed = (_options$fixed = options.fixed) !== null && _options$fixed !== void 0 ? _options$fixed : 2;
|
|
25
|
-
this.exp = (_options$exp = options.exp) !== null && _options$exp !== void 0 ? _options$exp : this.fixed;
|
|
26
|
-
this.zero = (_options$zero = options.zero) !== null && _options$zero !== void 0 ? _options$zero : this.fixed;
|
|
27
|
-
}
|
|
28
|
-
format(value) {
|
|
29
|
-
if (value === void 0 || value === null) return "";
|
|
30
|
-
if (typeof value === "string" && value.trim() === "") return "";
|
|
31
|
-
if (isNaN(value)) return String(value);
|
|
32
|
-
return _trimZero((Number(value) / Math.pow(10, this.exp)).toFixed(this.fixed), this.zero);
|
|
33
|
-
}
|
|
34
|
-
update(value) {
|
|
35
|
-
if (value === void 0 || value === null) return void 0;
|
|
36
|
-
if (typeof value === "string" && value.trim() === "") return null;
|
|
37
|
-
if (isNaN(value)) return void 0;
|
|
38
|
-
return Number((Number(value) * Math.pow(10, this.exp)).toFixed(0));
|
|
39
|
-
}
|
|
40
|
-
};
|
|
41
|
-
}));
|
|
42
|
-
//#endregion
|
|
43
|
-
init_src();
|
|
44
|
-
export { ControllerFormFieldCurrency, ScopeModuleBasicCurrency, TableCellCurrency, ZFormFieldCurrency, components, currencyFormat, currencyUpdate, init_dist as n, Currency as t };
|