cabloy 5.1.10 → 5.1.12
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 +13 -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,380 +0,0 @@
|
|
|
1
|
-
import { n as __esmMin } from "./rolldown-runtime-lkMnaVCm.js";
|
|
2
|
-
import { c as createTextVNode, p as h } from "./vue-1Y5FbPzj.js";
|
|
3
|
-
import { n as init_vue_runtime_esm_bundler } from "./vue-C-LVj1DU.js";
|
|
4
|
-
import { $ as isEmptyObject, G as evaluateExpressions, N as compose, P as init_dist, R as celEnvBase, Y as getProperty, Z as init_dist$1, et as isNil, nt as isPromise } from "./zova-BYPEGx1T.js";
|
|
5
|
-
import { d as _objectSpread2, f as init_objectSpread2 } from "./fecha-DvkbkxAQ.js";
|
|
6
|
-
import { K as BeanSimple, U as objectAssignReactive, Y as cast, t as init_src$1 } from "./zova-DQbBsEtS.js";
|
|
7
|
-
import { s as toUpperCaseFirstChar, t as init_src$2 } from "./zova-6Abekb1F.js";
|
|
8
|
-
//#region packages-utils/zova-jsx/src/lib/const.ts
|
|
9
|
-
var renderFieldJsxPropsSystem;
|
|
10
|
-
var init_const = __esmMin((() => {
|
|
11
|
-
renderFieldJsxPropsSystem = [
|
|
12
|
-
"children",
|
|
13
|
-
"v-slot",
|
|
14
|
-
"v-slot-scope",
|
|
15
|
-
"v-if",
|
|
16
|
-
"v-for",
|
|
17
|
-
"v-each"
|
|
18
|
-
];
|
|
19
|
-
}));
|
|
20
|
-
//#endregion
|
|
21
|
-
//#region packages-utils/zova-jsx/src/lib/utils.ts
|
|
22
|
-
function isNativeElement(Component) {
|
|
23
|
-
return typeof Component === "string" && !Component.includes(":") && Component.charAt(0) >= "a" && Component.charAt(0) <= "z";
|
|
24
|
-
}
|
|
25
|
-
function isZovaComponent(Component) {
|
|
26
|
-
return typeof Component === "string" && Component.includes(":");
|
|
27
|
-
}
|
|
28
|
-
function isJsxComponent(Component) {
|
|
29
|
-
return typeof Component === "object" && (Component === null || Component === void 0 ? void 0 : Component.$$typeof) === "zova-jsx:component";
|
|
30
|
-
}
|
|
31
|
-
function isJsxEvent(Component) {
|
|
32
|
-
return typeof Component === "object" && (Component === null || Component === void 0 ? void 0 : Component.$$typeof) === "zova-jsx:event";
|
|
33
|
-
}
|
|
34
|
-
function invokeProp(prop) {
|
|
35
|
-
if (typeof prop === "function") return prop();
|
|
36
|
-
return prop;
|
|
37
|
-
}
|
|
38
|
-
function normalizePropName(name) {
|
|
39
|
-
var _propsMapper$name;
|
|
40
|
-
return (_propsMapper$name = __propsMapper[name]) !== null && _propsMapper$name !== void 0 ? _propsMapper$name : name;
|
|
41
|
-
}
|
|
42
|
-
var __propsMapper;
|
|
43
|
-
var init_utils = __esmMin((() => {
|
|
44
|
-
__propsMapper = { className: "class" };
|
|
45
|
-
}));
|
|
46
|
-
//#endregion
|
|
47
|
-
//#region packages-utils/zova-jsx/src/lib/zovaJsx.ts
|
|
48
|
-
var ZovaJsx;
|
|
49
|
-
var init_zovaJsx = __esmMin((() => {
|
|
50
|
-
init_dist();
|
|
51
|
-
init_dist$1();
|
|
52
|
-
init_src$2();
|
|
53
|
-
init_vue_runtime_esm_bundler();
|
|
54
|
-
init_src$1();
|
|
55
|
-
init_const();
|
|
56
|
-
init_utils();
|
|
57
|
-
init_objectSpread2();
|
|
58
|
-
ZovaJsx = class extends BeanSimple {
|
|
59
|
-
constructor(components, celEnv) {
|
|
60
|
-
super();
|
|
61
|
-
this._components = void 0;
|
|
62
|
-
this._celEnv = void 0;
|
|
63
|
-
this._transientObject = void 0;
|
|
64
|
-
this._components = components;
|
|
65
|
-
this._celEnv = this._prepareCelEnv(celEnv !== null && celEnv !== void 0 ? celEnv : celEnvBase);
|
|
66
|
-
}
|
|
67
|
-
_prepareCelEnv(celEnv) {
|
|
68
|
-
celEnv = celEnv.clone();
|
|
69
|
-
celEnv.registerFunction("getEvent():dyn", () => {
|
|
70
|
-
var _this$transientObject;
|
|
71
|
-
return (_this$transientObject = this.transientObject.eventObject) !== null && _this$transientObject !== void 0 ? _this$transientObject : null;
|
|
72
|
-
});
|
|
73
|
-
celEnv.registerFunction("getEventProp(string):dyn", (prop) => {
|
|
74
|
-
var _getProperty;
|
|
75
|
-
return (_getProperty = getProperty(this.transientObject.eventObject, prop)) !== null && _getProperty !== void 0 ? _getProperty : null;
|
|
76
|
-
});
|
|
77
|
-
return celEnv;
|
|
78
|
-
}
|
|
79
|
-
setTransientObject(transientObject, fnMethod) {
|
|
80
|
-
const transientObjectPrev = this._transientObject;
|
|
81
|
-
this._transientObject = transientObject;
|
|
82
|
-
try {
|
|
83
|
-
return fnMethod();
|
|
84
|
-
} finally {
|
|
85
|
-
this._transientObject = transientObjectPrev;
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
get transientObject() {
|
|
89
|
-
return this._transientObject;
|
|
90
|
-
}
|
|
91
|
-
get event() {
|
|
92
|
-
var _this$transientObject2;
|
|
93
|
-
return (_this$transientObject2 = this.transientObject) === null || _this$transientObject2 === void 0 ? void 0 : _this$transientObject2.eventObject;
|
|
94
|
-
}
|
|
95
|
-
get components() {
|
|
96
|
-
return this._components;
|
|
97
|
-
}
|
|
98
|
-
get celEnv() {
|
|
99
|
-
return this._celEnv;
|
|
100
|
-
}
|
|
101
|
-
evaluateExpression(expression, celScope) {
|
|
102
|
-
return evaluateExpressions(expression, celScope, this.celEnv);
|
|
103
|
-
}
|
|
104
|
-
renderJsxOrCel(componentJsx, props, celScope, renderContext) {
|
|
105
|
-
if (isJsxComponent(componentJsx)) {
|
|
106
|
-
const transientObject = this.transientObject;
|
|
107
|
-
const renderFn = () => {
|
|
108
|
-
return this.setTransientObject(transientObject, () => {
|
|
109
|
-
return this.render(componentJsx, props, celScope, renderContext);
|
|
110
|
-
});
|
|
111
|
-
};
|
|
112
|
-
renderFn["zova-jsx:component"] = componentJsx.type;
|
|
113
|
-
return renderFn;
|
|
114
|
-
}
|
|
115
|
-
if (isJsxEvent(componentJsx)) {
|
|
116
|
-
let transientObject = this.transientObject;
|
|
117
|
-
return (event) => {
|
|
118
|
-
transientObject = _objectSpread2(_objectSpread2({}, transientObject), {}, { eventObject: event });
|
|
119
|
-
return this.setTransientObject(transientObject, () => {
|
|
120
|
-
return this.renderEvent(event, componentJsx, celScope, renderContext);
|
|
121
|
-
});
|
|
122
|
-
};
|
|
123
|
-
}
|
|
124
|
-
return this.evaluateExpression(componentJsx, celScope);
|
|
125
|
-
}
|
|
126
|
-
renderEvent(event, componentJsx, celScope, renderContext) {
|
|
127
|
-
if (event && event instanceof Event) {
|
|
128
|
-
const props = this.renderJsxProps(componentJsx.props, {}, celScope, renderContext);
|
|
129
|
-
if (props.stop) event.stopPropagation();
|
|
130
|
-
if (props.prevent) event.preventDefault();
|
|
131
|
-
}
|
|
132
|
-
const eventRes = [];
|
|
133
|
-
celScope = objectAssignReactive({}, celScope, { res: eventRes });
|
|
134
|
-
return this.renderEventDirect(componentJsx, celScope, renderContext, eventRes);
|
|
135
|
-
}
|
|
136
|
-
renderEventDirect(componentJsx, celScope, renderContext, eventRes, next) {
|
|
137
|
-
const actions = this._collectEventActions(componentJsx, celScope, renderContext, eventRes);
|
|
138
|
-
if (!actions || actions.length === 0) return next ? next(void 0) : void 0;
|
|
139
|
-
const transientObject = this.transientObject;
|
|
140
|
-
return compose(actions)(void 0, (actionRes) => {
|
|
141
|
-
if (!next) return actionRes;
|
|
142
|
-
return this.setTransientObject(transientObject, () => {
|
|
143
|
-
return next(actionRes);
|
|
144
|
-
});
|
|
145
|
-
});
|
|
146
|
-
}
|
|
147
|
-
_collectEventActions(componentJsx, celScope, renderContext, eventRes) {
|
|
148
|
-
var _componentJsx$props;
|
|
149
|
-
let actionChildren = (_componentJsx$props = componentJsx.props) === null || _componentJsx$props === void 0 ? void 0 : _componentJsx$props.children;
|
|
150
|
-
if (!actionChildren) return;
|
|
151
|
-
if (!Array.isArray(actionChildren)) actionChildren = [actionChildren];
|
|
152
|
-
const actions = [];
|
|
153
|
-
const transientObject = this.transientObject;
|
|
154
|
-
for (let index = 0; index < actionChildren.length; index++) {
|
|
155
|
-
const actionChild = actionChildren[index];
|
|
156
|
-
const action = (actionRes, next) => {
|
|
157
|
-
if (isPromise(actionRes)) return actionRes.then((actionRes) => {
|
|
158
|
-
return this._actionHandler(index, actionChild, actionRes, next, actionChildren, celScope, renderContext, eventRes, transientObject);
|
|
159
|
-
});
|
|
160
|
-
else return this._actionHandler(index, actionChild, actionRes, next, actionChildren, celScope, renderContext, eventRes, transientObject);
|
|
161
|
-
};
|
|
162
|
-
actions.push(action);
|
|
163
|
-
}
|
|
164
|
-
return actions;
|
|
165
|
-
}
|
|
166
|
-
_actionHandler(index, actionChild, actionRes, next, actionChildren, celScope, renderContext, eventRes, transientObject) {
|
|
167
|
-
return this.setTransientObject(transientObject, () => {
|
|
168
|
-
var _actionChild$props;
|
|
169
|
-
if (index > 0) {
|
|
170
|
-
var _cast;
|
|
171
|
-
if (actionRes === void 0) actionRes = null;
|
|
172
|
-
eventRes[index - 1] = actionRes;
|
|
173
|
-
const actionChildPrev = actionChildren[index - 1];
|
|
174
|
-
const resName = (_cast = cast(actionChildPrev.props)) === null || _cast === void 0 ? void 0 : _cast.res;
|
|
175
|
-
if (resName) celScope[resName] = actionRes;
|
|
176
|
-
}
|
|
177
|
-
if (this.evaluateExpression((_actionChild$props = actionChild.props) === null || _actionChild$props === void 0 ? void 0 : _actionChild$props["v-if"], celScope) === false) return next(void 0);
|
|
178
|
-
if (actionChild.type === "ZovaCommands") {
|
|
179
|
-
eventRes[index] = [];
|
|
180
|
-
return this.renderEventDirect(actionChild, objectAssignReactive({}, celScope), renderContext, eventRes[index], next);
|
|
181
|
-
} else return this._renderEventActionNormal(actionChild, celScope, renderContext, next);
|
|
182
|
-
});
|
|
183
|
-
}
|
|
184
|
-
_renderEventActionNormal(actionChild, celScope, renderContext, next) {
|
|
185
|
-
const beanFullName = actionChild.type;
|
|
186
|
-
const beanInstance = this.sys.bean._getBeanSyncOnly(beanFullName);
|
|
187
|
-
if (beanInstance) return this._renderEventActionNormal_inner(beanInstance, actionChild, celScope, renderContext, next);
|
|
188
|
-
const transientObject = this.transientObject;
|
|
189
|
-
return this.sys.bean._getBean(beanFullName, false).then((beanInstance) => {
|
|
190
|
-
return this.setTransientObject(transientObject, () => {
|
|
191
|
-
return this._renderEventActionNormal_inner(beanInstance, actionChild, celScope, renderContext, next);
|
|
192
|
-
});
|
|
193
|
-
});
|
|
194
|
-
}
|
|
195
|
-
_renderEventActionNormal_inner(beanInstance, actionChild, celScope, renderContext, next) {
|
|
196
|
-
const onionOptions = beanInstance.$onionOptions;
|
|
197
|
-
let props = this.renderJsxProps(cast(actionChild.props).options, {}, celScope, renderContext);
|
|
198
|
-
if (!isEmptyObject(onionOptions)) props = Object.assign({}, onionOptions, props);
|
|
199
|
-
if (!renderContext) throw new Error("should provide renderContext");
|
|
200
|
-
return beanInstance.execute(props, renderContext, next);
|
|
201
|
-
}
|
|
202
|
-
render(componentJsx, propsInit, celScope, renderContext) {
|
|
203
|
-
if (!componentJsx) throw new Error(`render component should not ${componentJsx}`);
|
|
204
|
-
componentJsx = this.normalizeComponenJsx(componentJsx, propsInit);
|
|
205
|
-
const componentProps = componentJsx.props;
|
|
206
|
-
const props = {};
|
|
207
|
-
if (this.evaluateExpression(componentProps === null || componentProps === void 0 ? void 0 : componentProps["v-if"], celScope) === false) return;
|
|
208
|
-
const Component = this.normalizeComponent(componentJsx.type);
|
|
209
|
-
const vFor = this.evaluateExpression(componentProps === null || componentProps === void 0 ? void 0 : componentProps["v-for"], celScope);
|
|
210
|
-
if (!vFor) return this._renderJsxSingle(Component, componentJsx, props, celScope, renderContext);
|
|
211
|
-
const children = [];
|
|
212
|
-
for (let index = 0; index < vFor.length; index++) {
|
|
213
|
-
var _this$evaluateExpress, _componentJsx$props2;
|
|
214
|
-
const each = vFor[index];
|
|
215
|
-
const eachName = (_this$evaluateExpress = this.evaluateExpression((_componentJsx$props2 = componentJsx.props) === null || _componentJsx$props2 === void 0 ? void 0 : _componentJsx$props2["v-each"], celScope)) !== null && _this$evaluateExpress !== void 0 ? _this$evaluateExpress : "each";
|
|
216
|
-
const celScopeEach = objectAssignReactive({}, celScope, {
|
|
217
|
-
[eachName]: each,
|
|
218
|
-
[`${eachName}Index`]: index
|
|
219
|
-
});
|
|
220
|
-
const propsEach = _objectSpread2({}, props);
|
|
221
|
-
const child = this._renderJsxSingle(Component, componentJsx, propsEach, celScopeEach, renderContext);
|
|
222
|
-
if (child) children.push(child);
|
|
223
|
-
}
|
|
224
|
-
return children;
|
|
225
|
-
}
|
|
226
|
-
normalizeComponenJsx(componentJsx, propsInit) {
|
|
227
|
-
if (typeof componentJsx === "object") {
|
|
228
|
-
var _cast$key, _cast2;
|
|
229
|
-
return Object.assign({}, componentJsx, {
|
|
230
|
-
key: (_cast$key = (_cast2 = cast(propsInit)) === null || _cast2 === void 0 ? void 0 : _cast2.key) !== null && _cast$key !== void 0 ? _cast$key : componentJsx.key,
|
|
231
|
-
props: Object.assign({}, componentJsx.props, propsInit)
|
|
232
|
-
});
|
|
233
|
-
}
|
|
234
|
-
return {
|
|
235
|
-
type: componentJsx,
|
|
236
|
-
props: propsInit
|
|
237
|
-
};
|
|
238
|
-
}
|
|
239
|
-
normalizeComponent(type) {
|
|
240
|
-
if (typeof type === "function") return type;
|
|
241
|
-
if (typeof type === "string" && !isNativeElement(type)) {
|
|
242
|
-
var _this$components$type, _this$components;
|
|
243
|
-
type = (_this$components$type = (_this$components = this.components) === null || _this$components === void 0 ? void 0 : _this$components[type]) !== null && _this$components$type !== void 0 ? _this$components$type : type;
|
|
244
|
-
}
|
|
245
|
-
if (typeof type === "string" && [
|
|
246
|
-
"script",
|
|
247
|
-
"style",
|
|
248
|
-
"link"
|
|
249
|
-
].includes(type)) throw new Error(`not valid zova jsx component: ${type}`);
|
|
250
|
-
return type;
|
|
251
|
-
}
|
|
252
|
-
_renderJsxSingle(Component, componentJsx, props, celScope, renderContext) {
|
|
253
|
-
var _componentJsx$props3;
|
|
254
|
-
const _isZovaComponent = isZovaComponent(Component);
|
|
255
|
-
if (!isNil(componentJsx.key)) cast(props).key = this.evaluateExpression(componentJsx.key, celScope);
|
|
256
|
-
this.renderJsxProps(componentJsx.props, props, celScope, renderContext);
|
|
257
|
-
if (cast(props).class || cast(props).style) {
|
|
258
|
-
const controller = this.ctx.bean._getBeanSyncOnly("$$c");
|
|
259
|
-
cast(props).class = controller.$cssMerge(cast(props).class, controller.$style(cast(props).style));
|
|
260
|
-
delete cast(props).style;
|
|
261
|
-
}
|
|
262
|
-
let children;
|
|
263
|
-
if (!((_componentJsx$props3 = componentJsx.props) === null || _componentJsx$props3 === void 0 ? void 0 : _componentJsx$props3.children)) children = void 0;
|
|
264
|
-
else if (isNativeElement(Component)) children = this.renderJsxChildrenDirect(componentJsx.props.children, celScope, renderContext);
|
|
265
|
-
else {
|
|
266
|
-
const childrenCollect = this._renderJsxChildrenCollect(componentJsx.props.children, celScope, renderContext);
|
|
267
|
-
if (_isZovaComponent) for (const key in childrenCollect) {
|
|
268
|
-
const slot = childrenCollect[key];
|
|
269
|
-
if (key === "default") children = slot;
|
|
270
|
-
else props[`slot${toUpperCaseFirstChar(key)}`] = slot;
|
|
271
|
-
}
|
|
272
|
-
else children = childrenCollect;
|
|
273
|
-
}
|
|
274
|
-
if (_isZovaComponent) Component = this.sys.meta.component.getZovaComponent(Component);
|
|
275
|
-
const vnode = h(Component, props, children);
|
|
276
|
-
if (_isZovaComponent && renderContext) cast(vnode).zovaHostProviders = { $$renderContext: renderContext };
|
|
277
|
-
return vnode;
|
|
278
|
-
}
|
|
279
|
-
renderJsxProps(jsxProps, props, celScope, renderContext) {
|
|
280
|
-
if (!jsxProps) return props;
|
|
281
|
-
const keys = Object.keys(jsxProps).filter((item) => !renderFieldJsxPropsSystem.includes(item));
|
|
282
|
-
if (keys.length === 0) return props;
|
|
283
|
-
for (const key of keys) {
|
|
284
|
-
const keyValue = this.renderJsxOrCel(jsxProps[key], void 0, celScope, renderContext);
|
|
285
|
-
const propName = normalizePropName(key);
|
|
286
|
-
props[propName] = keyValue;
|
|
287
|
-
}
|
|
288
|
-
return props;
|
|
289
|
-
}
|
|
290
|
-
_renderJsxChildrenCollect(jsxChildren, celScope, renderContext) {
|
|
291
|
-
if (!Array.isArray(jsxChildren)) jsxChildren = [jsxChildren];
|
|
292
|
-
const children = [];
|
|
293
|
-
const slots = {};
|
|
294
|
-
const transientObject = this.transientObject;
|
|
295
|
-
for (const jsxChild of jsxChildren) {
|
|
296
|
-
var _jsxChild$props;
|
|
297
|
-
if (jsxChild && typeof jsxChild === "object" && ((_jsxChild$props = jsxChild.props) === null || _jsxChild$props === void 0 ? void 0 : _jsxChild$props["v-slot"])) {
|
|
298
|
-
var _jsxChild$props2, _jsxChild$props3;
|
|
299
|
-
const slotName = (_jsxChild$props2 = jsxChild.props) === null || _jsxChild$props2 === void 0 ? void 0 : _jsxChild$props2["v-slot"];
|
|
300
|
-
const slotScopeName = (_jsxChild$props3 = jsxChild.props) === null || _jsxChild$props3 === void 0 ? void 0 : _jsxChild$props3["v-slot-scope"];
|
|
301
|
-
let slot;
|
|
302
|
-
if (slotScopeName) slot = (slotScope) => {
|
|
303
|
-
return this.setTransientObject(transientObject, () => {
|
|
304
|
-
const celScopeSub = objectAssignReactive({}, celScope, { [slotScopeName]: slotScope });
|
|
305
|
-
return this.renderJsxChildrenDirect(jsxChild, celScopeSub, renderContext);
|
|
306
|
-
});
|
|
307
|
-
};
|
|
308
|
-
else slot = () => {
|
|
309
|
-
return this.setTransientObject(transientObject, () => {
|
|
310
|
-
return this.renderJsxChildrenDirect(jsxChild, celScope, renderContext);
|
|
311
|
-
});
|
|
312
|
-
};
|
|
313
|
-
slots[slotName] = slot;
|
|
314
|
-
} else children.push(jsxChild);
|
|
315
|
-
}
|
|
316
|
-
const slotDefault = children.length === 0 ? void 0 : () => {
|
|
317
|
-
return this.setTransientObject(transientObject, () => {
|
|
318
|
-
return this.renderJsxChildrenDirect(children, celScope, renderContext);
|
|
319
|
-
});
|
|
320
|
-
};
|
|
321
|
-
return _objectSpread2(_objectSpread2({}, slots), {}, { default: slotDefault });
|
|
322
|
-
}
|
|
323
|
-
renderJsxChildrenDirect(jsxChildren, celScope, renderContext) {
|
|
324
|
-
if (!Array.isArray(jsxChildren)) jsxChildren = [jsxChildren];
|
|
325
|
-
const children = [];
|
|
326
|
-
for (let index = 0; index < jsxChildren.length; index++) {
|
|
327
|
-
const jsxChild = jsxChildren[index];
|
|
328
|
-
let child;
|
|
329
|
-
if (isJsxComponent(jsxChild)) if (jsxChild.type === "var") {
|
|
330
|
-
const props = this.renderJsxProps(jsxChild.props, {}, celScope, renderContext);
|
|
331
|
-
celScope[cast(props).name] = cast(props).value;
|
|
332
|
-
child = void 0;
|
|
333
|
-
} else if (jsxChild.type === "log") {
|
|
334
|
-
{
|
|
335
|
-
const props = this.renderJsxProps(jsxChild.props, {}, celScope, renderContext);
|
|
336
|
-
const name = cast(props).name;
|
|
337
|
-
const message = cast(props).message;
|
|
338
|
-
if (isNil(name)) console.log(message);
|
|
339
|
-
else console.log(name, message);
|
|
340
|
-
}
|
|
341
|
-
child = void 0;
|
|
342
|
-
} else {
|
|
343
|
-
var _jsxChild$key;
|
|
344
|
-
const propsInit = { key: (_jsxChild$key = jsxChild.key) !== null && _jsxChild$key !== void 0 ? _jsxChild$key : index };
|
|
345
|
-
child = this.render(jsxChild, propsInit, celScope, renderContext);
|
|
346
|
-
}
|
|
347
|
-
else {
|
|
348
|
-
const childText = this.evaluateExpression(jsxChild, celScope);
|
|
349
|
-
child = createTextVNode(childText !== null && childText !== void 0 ? childText : "");
|
|
350
|
-
}
|
|
351
|
-
if (child) if (Array.isArray(child)) children.push(...child);
|
|
352
|
-
else children.push(child);
|
|
353
|
-
}
|
|
354
|
-
return children;
|
|
355
|
-
}
|
|
356
|
-
};
|
|
357
|
-
}));
|
|
358
|
-
//#endregion
|
|
359
|
-
//#region packages-utils/zova-jsx/src/lib/index.ts
|
|
360
|
-
var init_lib = __esmMin((() => {
|
|
361
|
-
init_const();
|
|
362
|
-
init_utils();
|
|
363
|
-
init_zovaJsx();
|
|
364
|
-
}));
|
|
365
|
-
//#endregion
|
|
366
|
-
//#region packages-utils/zova-jsx/src/types/rest.ts
|
|
367
|
-
var init_rest = __esmMin((() => {}));
|
|
368
|
-
//#endregion
|
|
369
|
-
//#region packages-utils/zova-jsx/src/types/index.ts
|
|
370
|
-
var init_types = __esmMin((() => {
|
|
371
|
-
init_rest();
|
|
372
|
-
}));
|
|
373
|
-
//#endregion
|
|
374
|
-
//#region packages-utils/zova-jsx/src/index.ts
|
|
375
|
-
var init_src = __esmMin((() => {
|
|
376
|
-
init_lib();
|
|
377
|
-
init_types();
|
|
378
|
-
}));
|
|
379
|
-
//#endregion
|
|
380
|
-
export { isJsxComponent as i, ZovaJsx as n, invokeProp as r, init_src as t };
|