web-core-tcm 0.0.25 → 0.0.27
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/dist/node_modules/@alova/shared/dist/alova-shared.esm.js +134 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/boot.js +70 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/file.js +14 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/message.js +6 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/restore-json-names.js +10 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/create.js +136 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/descriptors.js +7 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/from-binary.js +164 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/is-message.js +6 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/proto-int64.js +75 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/error.js +8 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/guard.js +35 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/names.js +42 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/nested-types.js +17 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/reflect-check.js +156 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/reflect.js +349 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/scalar.js +39 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/reflect/unsafe.js +72 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/registry.js +551 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/to-binary.js +159 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/base64-encoding.js +58 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/binary-encoding.js +350 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/text-encoding.js +25 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/text-format.js +145 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wire/varint.js +110 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/descriptor_pb.js +107 -0
- package/dist/node_modules/@bufbuild/protobuf/dist/esm/wkt/wrappers.js +24 -0
- package/dist/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js +556 -0
- package/dist/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js +36 -0
- package/dist/node_modules/@vue/shared/dist/shared.esm-bundler.js +26 -0
- package/dist/node_modules/alova/dist/adapter/fetch.esm.js +55 -0
- package/dist/node_modules/alova/dist/alova.esm.js +414 -0
- package/dist/node_modules/alova/dist/clienthook/index.esm.js +89 -0
- package/dist/node_modules/builder-pattern/dist/index.js +22 -0
- package/dist/node_modules/jwt-decode/build/esm/index.js +52 -0
- package/dist/node_modules/pinyin/lib/esm/pinyin.js +242260 -0
- package/dist/node_modules/punycode/punycode.es6.js +139 -0
- package/dist/node_modules/quasar/src/composables/use-quasar/use-quasar.js +8 -0
- package/dist/node_modules/quasar/src/utils/private.symbols/symbols.js +4 -0
- package/dist/src/api/algorithm/comprehensiveAlgorithm.d.ts +4 -0
- package/dist/src/api/algorithm/comprehensiveAlgorithm.js +16 -0
- package/dist/src/api/algorithm/index.d.ts +10 -0
- package/dist/src/api/algorithm/index.js +62 -0
- package/dist/src/api/algorithm/inquiriesAlgorithm.d.ts +13 -0
- package/dist/src/api/algorithm/inquiriesAlgorithm.js +9 -0
- package/dist/src/api/algorithm/inspectionsAlgorithm.d.ts +2 -0
- package/dist/src/api/algorithm/inspectionsAlgorithm.js +10 -0
- package/dist/src/api/algorithm/lisemsAlgorithm.d.ts +2 -0
- package/dist/src/api/algorithm/lisemsAlgorithm.js +15 -0
- package/dist/src/api/algorithm/pulsationsAlgorithm.d.ts +4 -0
- package/dist/src/api/algorithm/pulsationsAlgorithm.js +8 -0
- package/dist/src/api/authorization/alova/apiDefinitions.d.ts +21 -0
- package/dist/src/api/authorization/alova/apiDefinitions.js +9 -0
- package/dist/src/api/authorization/alova/createApis.d.ts +10 -0
- package/dist/src/api/authorization/alova/createApis.js +51 -0
- package/dist/src/api/authorization/alova/implement/authorization.d.ts +4 -0
- package/dist/src/api/authorization/alova/implement/authorization.js +15 -0
- package/dist/src/api/authorization/alova/index.d.ts +5 -0
- package/dist/src/api/authorization/alova/index.js +18 -0
- package/dist/src/api/authorization/authorization.d.ts +8 -0
- package/dist/src/api/authorization/authorization.js +16 -0
- package/dist/src/api/authorization/index.js +9 -0
- package/dist/src/api/check/alova/apiDefinitions.d.ts +28 -0
- package/dist/src/api/check/alova/apiDefinitions.js +16 -0
- package/dist/src/api/check/alova/createApis.d.ts +10 -0
- package/dist/src/api/check/alova/createApis.js +51 -0
- package/dist/src/api/check/alova/implement/check.d.ts +27 -0
- package/dist/src/api/check/alova/implement/check.js +119 -0
- package/dist/src/api/check/alova/index.d.ts +5 -0
- package/dist/src/api/check/alova/index.js +21 -0
- package/dist/src/api/check/check.d.ts +54 -0
- package/dist/src/api/check/check.js +131 -0
- package/dist/src/api/check/index.js +11 -0
- package/dist/src/api/config/alova/index.d.ts +5 -0
- package/dist/src/api/config/alova/index.js +55 -0
- package/dist/src/api/config/index.d.ts +23 -0
- package/dist/src/api/config/index.js +106 -0
- package/dist/src/api/device/device.d.ts +5 -0
- package/dist/src/api/device/device.js +46 -0
- package/dist/src/api/doctor/alova/apiDefinitions.d.ts +26 -0
- package/dist/src/api/doctor/alova/apiDefinitions.js +14 -0
- package/dist/src/api/doctor/alova/createApis.d.ts +10 -0
- package/dist/src/api/doctor/alova/createApis.js +51 -0
- package/dist/src/api/doctor/alova/implement/doctor.d.ts +7 -0
- package/dist/src/api/doctor/alova/implement/doctor.js +42 -0
- package/dist/src/api/doctor/alova/index.d.ts +5 -0
- package/dist/src/api/doctor/alova/index.js +20 -0
- package/dist/src/api/doctor/doctor.d.ts +22 -0
- package/dist/src/api/doctor/doctor.js +29 -0
- package/dist/src/api/doctor/index.js +9 -0
- package/dist/src/api/metric/implement/metric.d.ts +24 -0
- package/dist/src/api/metric/implement/metric.js +80 -0
- package/dist/src/api/metric/index.js +6 -0
- package/dist/src/api/metric/metric.d.ts +28 -0
- package/dist/src/api/metric/metric.js +75 -0
- package/dist/src/api/oauth/alova/apiDefinitions.d.ts +24 -0
- package/dist/src/api/oauth/alova/apiDefinitions.js +12 -0
- package/dist/src/api/oauth/alova/createApis.d.ts +10 -0
- package/dist/src/api/oauth/alova/createApis.js +51 -0
- package/dist/src/api/oauth/alova/implement/oauth.d.ts +4 -0
- package/dist/src/api/oauth/alova/implement/oauth.js +15 -0
- package/dist/src/api/oauth/alova/index.d.ts +5 -0
- package/dist/src/api/oauth/alova/index.js +17 -0
- package/dist/src/api/oauth/index.js +9 -0
- package/dist/src/api/oauth/oauth.d.ts +7 -0
- package/dist/src/api/oauth/oauth.js +16 -0
- package/dist/src/api/outpatient/alova/apiDefinitions.d.ts +25 -0
- package/dist/src/api/outpatient/alova/apiDefinitions.js +13 -0
- package/dist/src/api/outpatient/alova/createApis.d.ts +10 -0
- package/dist/src/api/outpatient/alova/createApis.js +51 -0
- package/dist/src/api/outpatient/alova/implement/outpatient.d.ts +10 -0
- package/dist/src/api/outpatient/alova/implement/outpatient.js +71 -0
- package/dist/src/api/outpatient/alova/index.d.ts +5 -0
- package/dist/src/api/outpatient/alova/index.js +21 -0
- package/dist/src/api/outpatient/index.js +11 -0
- package/dist/src/api/outpatient/outpatient.d.ts +39 -0
- package/dist/src/api/outpatient/outpatient.js +45 -0
- package/dist/src/api/patient/alova/apiDefinitions.d.ts +39 -0
- package/dist/src/api/patient/alova/apiDefinitions.js +27 -0
- package/dist/src/api/patient/alova/createApis.d.ts +10 -0
- package/dist/src/api/patient/alova/createApis.js +51 -0
- package/dist/src/api/patient/alova/implement/meta.d.ts +113 -0
- package/dist/src/api/patient/alova/implement/meta.js +404 -0
- package/dist/src/api/patient/alova/implement/patient.d.ts +22 -0
- package/dist/src/api/patient/alova/implement/patient.js +72 -0
- package/dist/src/api/patient/alova/index.d.ts +5 -0
- package/dist/src/api/patient/alova/index.js +22 -0
- package/dist/src/api/patient/core.d.ts +50 -0
- package/dist/src/api/patient/core.js +109 -0
- package/dist/src/api/patient/index.js +46 -0
- package/dist/src/api/patient/meta.d.ts +238 -0
- package/dist/src/api/patient/meta.js +454 -0
- package/dist/src/api/patient/patient.d.ts +43 -0
- package/dist/src/api/patient/patient.js +42 -0
- package/dist/src/api/prescription/alova/apiDefinitions.d.ts +27 -0
- package/dist/src/api/prescription/alova/apiDefinitions.js +15 -0
- package/dist/src/api/prescription/alova/createApis.d.ts +10 -0
- package/dist/src/api/prescription/alova/createApis.js +51 -0
- package/dist/src/api/prescription/alova/implement/herbal.d.ts +15 -0
- package/dist/src/api/prescription/alova/implement/herbal.js +54 -0
- package/dist/src/api/prescription/alova/implement/prescription.d.ts +15 -0
- package/dist/src/api/prescription/alova/implement/prescription.js +49 -0
- package/dist/src/api/prescription/alova/index.d.ts +5 -0
- package/dist/src/api/prescription/alova/index.js +20 -0
- package/dist/src/api/prescription/herbal.d.ts +19 -0
- package/dist/src/api/prescription/herbal.js +34 -0
- package/dist/src/api/prescription/index.js +13 -0
- package/dist/src/api/prescription/prescription.d.ts +26 -0
- package/dist/src/api/prescription/prescription.js +49 -0
- package/dist/src/api/scientist/alova/apiDefinitions.d.ts +25 -0
- package/dist/src/api/scientist/alova/apiDefinitions.js +13 -0
- package/dist/src/api/scientist/alova/createApis.d.ts +10 -0
- package/dist/src/api/scientist/alova/createApis.js +51 -0
- package/dist/src/api/scientist/alova/implement/scientist.d.ts +6 -0
- package/dist/src/api/scientist/alova/implement/scientist.js +35 -0
- package/dist/src/api/scientist/alova/index.d.ts +6 -0
- package/dist/src/api/scientist/alova/index.js +21 -0
- package/dist/src/api/scientist/index.js +9 -0
- package/dist/src/api/scientist/scientist.d.ts +20 -0
- package/dist/src/api/scientist/scientist.js +37 -0
- package/dist/src/components/models.d.ts +7 -0
- package/dist/src/index.js +36 -0
- package/dist/src/pages/LoginPage.vue.d.ts +2 -0
- package/dist/src/proto/types/Images_pb.d.ts +34 -0
- package/dist/src/proto/types/Images_pb.js +10 -0
- package/dist/src/proto/types/WaveMap_pb.d.ts +48 -0
- package/dist/src/proto/types/WaveMap_pb.js +10 -0
- package/dist/src/router/index.d.ts +2 -0
- package/dist/src/router/routes.d.ts +3 -0
- package/dist/src/util/RichTextUtil.d.ts +1 -0
- package/dist/src/util/RichTextUtil.js +6 -0
- package/dist/src/util/datetime.d.ts +5 -0
- package/dist/src/util/export.d.ts +4 -0
- package/dist/src/util/helper.d.ts +65 -0
- package/dist/src/util/helper.js +46 -0
- package/dist/src/util/image.d.ts +2 -0
- package/dist/src/util/image.js +17 -0
- package/dist/src/util/number.d.ts +12 -0
- package/dist/src/util/s256.d.ts +2 -0
- package/dist/src/util/secret.d.ts +10 -0
- package/dist/src/util/string.d.ts +21 -0
- package/dist/src/util/string.js +10 -0
- package/package.json +5 -2
- package/.editorconfig +0 -7
- package/.github/workflows/test.yml +0 -29
- package/.prettierrc.json +0 -5
- package/.vscode/extensions.json +0 -15
- package/.vscode/settings.json +0 -9
- package/eslint.config.js +0 -83
- package/index.html +0 -24
- package/postcss.config.js +0 -29
- package/quasar.config.ts +0 -233
- package/src/App.vue +0 -7
- package/src/api/algorithm/comprehensiveAlgorithm.ts +0 -20
- package/src/api/algorithm/index.ts +0 -50
- package/src/api/algorithm/inquiriesAlgorithm.ts +0 -16
- package/src/api/algorithm/inspectionsAlgorithm.ts +0 -11
- package/src/api/algorithm/lisemsAlgorithm.ts +0 -16
- package/src/api/algorithm/pulsationsAlgorithm.ts +0 -8
- package/src/api/authorization/alova/apiDefinitions.ts +0 -23
- package/src/api/authorization/alova/createApis.ts +0 -114
- package/src/api/authorization/alova/globals.d.ts +0 -394
- package/src/api/authorization/alova/implement/authorization.ts +0 -14
- package/src/api/authorization/alova/index.ts +0 -22
- package/src/api/authorization/authorization.ts +0 -16
- package/src/api/check/alova/apiDefinitions.ts +0 -30
- package/src/api/check/alova/createApis.ts +0 -114
- package/src/api/check/alova/globals.d.ts +0 -1257
- package/src/api/check/alova/implement/check.ts +0 -165
- package/src/api/check/alova/index.ts +0 -22
- package/src/api/check/check.ts +0 -217
- package/src/api/config/alova/index.ts +0 -71
- package/src/api/config/index.ts +0 -132
- package/src/api/device/device.js +0 -58
- package/src/api/doctor/alova/apiDefinitions.ts +0 -28
- package/src/api/doctor/alova/createApis.ts +0 -114
- package/src/api/doctor/alova/globals.d.ts +0 -559
- package/src/api/doctor/alova/implement/doctor.ts +0 -51
- package/src/api/doctor/alova/index.ts +0 -23
- package/src/api/doctor/doctor.ts +0 -53
- package/src/api/metric/implement/metric.ts +0 -108
- package/src/api/metric/metric.ts +0 -114
- package/src/api/oauth/alova/apiDefinitions.ts +0 -26
- package/src/api/oauth/alova/createApis.ts +0 -114
- package/src/api/oauth/alova/globals.d.ts +0 -460
- package/src/api/oauth/alova/implement/oauth.ts +0 -24
- package/src/api/oauth/alova/index.ts +0 -21
- package/src/api/oauth/oauth.ts +0 -19
- package/src/api/outpatient/alova/apiDefinitions.ts +0 -27
- package/src/api/outpatient/alova/createApis.ts +0 -114
- package/src/api/outpatient/alova/globals.d.ts +0 -685
- package/src/api/outpatient/alova/implement/outpatient.ts +0 -91
- package/src/api/outpatient/alova/index.ts +0 -22
- package/src/api/outpatient/outpatient.ts +0 -67
- package/src/api/patient/alova/apiDefinitions.ts +0 -41
- package/src/api/patient/alova/createApis.ts +0 -114
- package/src/api/patient/alova/globals.d.ts +0 -1690
- package/src/api/patient/alova/implement/meta.ts +0 -517
- package/src/api/patient/alova/implement/patient.ts +0 -99
- package/src/api/patient/alova/index.ts +0 -22
- package/src/api/patient/core.ts +0 -133
- package/src/api/patient/meta.ts +0 -570
- package/src/api/patient/patient.ts +0 -98
- package/src/api/prescription/alova/apiDefinitions.ts +0 -29
- package/src/api/prescription/alova/createApis.ts +0 -114
- package/src/api/prescription/alova/globals.d.ts +0 -968
- package/src/api/prescription/alova/implement/herbal.ts +0 -68
- package/src/api/prescription/alova/implement/prescription.ts +0 -62
- package/src/api/prescription/alova/index.ts +0 -22
- package/src/api/prescription/herbal.ts +0 -51
- package/src/api/prescription/prescription.ts +0 -76
- package/src/api/scientist/alova/apiDefinitions.ts +0 -27
- package/src/api/scientist/alova/createApis.ts +0 -114
- package/src/api/scientist/alova/globals.d.ts +0 -447
- package/src/api/scientist/alova/implement/scientist.ts +0 -40
- package/src/api/scientist/alova/index.ts +0 -24
- package/src/api/scientist/scientist.ts +0 -49
- package/src/assets/quasar-logo-vertical.svg +0 -15
- package/src/boot/.gitkeep +0 -0
- package/src/components/ExampleComponent.vue +0 -37
- package/src/components/models.ts +0 -8
- package/src/css/app.scss +0 -1
- package/src/css/quasar.variables.scss +0 -25
- package/src/env.d.ts +0 -7
- package/src/layouts/UserLayout.vue +0 -108
- package/src/pages/LoginPage.vue +0 -29
- package/src/proto/Images.proto +0 -7
- package/src/proto/WaveMap.proto +0 -10
- package/src/proto/types/Images_pb.ts +0 -48
- package/src/proto/types/WaveMap_pb.ts +0 -59
- package/src/router/index.ts +0 -37
- package/src/router/routes.ts +0 -14
- package/src/util/RichTextUtil.ts +0 -5
- package/src/util/datetime.ts +0 -43
- package/src/util/export.ts +0 -46
- package/src/util/helper.ts +0 -159
- package/src/util/image.ts +0 -28
- package/src/util/number.ts +0 -146
- package/src/util/s256.js +0 -27
- package/src/util/secret.ts +0 -60
- package/src/util/string.ts +0 -121
- package/tsconfig.json +0 -7
- /package/{public → dist}/favicon.ico +0 -0
- /package/{public → dist}/icons/favicon-128x128.png +0 -0
- /package/{public → dist}/icons/favicon-16x16.png +0 -0
- /package/{public → dist}/icons/favicon-32x32.png +0 -0
- /package/{public → dist}/icons/favicon-96x96.png +0 -0
- /package/{src/api/authorization/alova/implement/index.ts → dist/src/api/authorization/alova/implement/index.d.ts} +0 -0
- /package/{src/api/authorization/index.ts → dist/src/api/authorization/index.d.ts} +0 -0
- /package/{src/api/check/alova/implement/index.ts → dist/src/api/check/alova/implement/index.d.ts} +0 -0
- /package/{src/api/check/index.ts → dist/src/api/check/index.d.ts} +0 -0
- /package/{src/api/doctor/alova/implement/index.ts → dist/src/api/doctor/alova/implement/index.d.ts} +0 -0
- /package/{src/api/doctor/index.ts → dist/src/api/doctor/index.d.ts} +0 -0
- /package/{src/api/index.ts → dist/src/api/index.d.ts} +0 -0
- /package/{src/api/metric/implement/index.ts → dist/src/api/metric/implement/index.d.ts} +0 -0
- /package/{src/api/metric/index.ts → dist/src/api/metric/index.d.ts} +0 -0
- /package/{src/api/oauth/alova/implement/index.ts → dist/src/api/oauth/alova/implement/index.d.ts} +0 -0
- /package/{src/api/oauth/index.ts → dist/src/api/oauth/index.d.ts} +0 -0
- /package/{src/api/outpatient/alova/implement/index.ts → dist/src/api/outpatient/alova/implement/index.d.ts} +0 -0
- /package/{src/api/outpatient/index.ts → dist/src/api/outpatient/index.d.ts} +0 -0
- /package/{src/api/patient/alova/implement/index.ts → dist/src/api/patient/alova/implement/index.d.ts} +0 -0
- /package/{src/api/patient/index.ts → dist/src/api/patient/index.d.ts} +0 -0
- /package/{src/api/prescription/alova/implement/index.ts → dist/src/api/prescription/alova/implement/index.d.ts} +0 -0
- /package/{src/api/prescription/index.ts → dist/src/api/prescription/index.d.ts} +0 -0
- /package/{src/api/scientist/alova/implement/index.ts → dist/src/api/scientist/alova/implement/index.d.ts} +0 -0
- /package/{src/api/scientist/index.ts → dist/src/api/scientist/index.d.ts} +0 -0
- /package/{src/index.ts → dist/src/index.d.ts} +0 -0
- /package/{src/proto/index.ts → dist/src/proto/index.d.ts} +0 -0
|
@@ -1,447 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* OpenAPI definition - version v0
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* OpenAPI version: 3.1.0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This file is auto generated by the alova's vscode plugin.
|
|
12
|
-
*
|
|
13
|
-
* https://alova.js.org/devtools/vscode
|
|
14
|
-
*
|
|
15
|
-
* **Do not edit the file manually.**
|
|
16
|
-
*/
|
|
17
|
-
import type { Alova, AlovaMethodCreateConfig, AlovaGenerics, Method } from 'alova';
|
|
18
|
-
import type { $$userConfigMap, alovaInstance } from './index';
|
|
19
|
-
import type apiDefinitions from './apiDefinitions';
|
|
20
|
-
|
|
21
|
-
type CollapsedAlova = typeof alovaInstance;
|
|
22
|
-
type UserMethodConfigMap = typeof $$userConfigMap;
|
|
23
|
-
|
|
24
|
-
type Alova2MethodConfig<Responded> =
|
|
25
|
-
CollapsedAlova extends Alova<
|
|
26
|
-
AlovaGenerics<
|
|
27
|
-
any,
|
|
28
|
-
any,
|
|
29
|
-
infer RequestConfig,
|
|
30
|
-
infer Response,
|
|
31
|
-
infer ResponseHeader,
|
|
32
|
-
infer L1Cache,
|
|
33
|
-
infer L2Cache,
|
|
34
|
-
infer SE
|
|
35
|
-
>
|
|
36
|
-
>
|
|
37
|
-
? Omit<
|
|
38
|
-
AlovaMethodCreateConfig<
|
|
39
|
-
AlovaGenerics<
|
|
40
|
-
Responded,
|
|
41
|
-
any,
|
|
42
|
-
RequestConfig,
|
|
43
|
-
Response,
|
|
44
|
-
ResponseHeader,
|
|
45
|
-
L1Cache,
|
|
46
|
-
L2Cache,
|
|
47
|
-
SE
|
|
48
|
-
>,
|
|
49
|
-
any,
|
|
50
|
-
Responded
|
|
51
|
-
>,
|
|
52
|
-
'params'
|
|
53
|
-
>
|
|
54
|
-
: never;
|
|
55
|
-
|
|
56
|
-
// Extract the return type of transform function that define in $$userConfigMap, if it not exists, use the default type.
|
|
57
|
-
type ExtractUserDefinedTransformed<
|
|
58
|
-
DefinitionKey extends keyof typeof apiDefinitions,
|
|
59
|
-
Default,
|
|
60
|
-
> = DefinitionKey extends keyof UserMethodConfigMap
|
|
61
|
-
? UserMethodConfigMap[DefinitionKey]['transform'] extends (...args: any[]) => any
|
|
62
|
-
? Awaited<ReturnType<UserMethodConfigMap[DefinitionKey]['transform']>>
|
|
63
|
-
: Default
|
|
64
|
-
: Default;
|
|
65
|
-
type Alova2Method<
|
|
66
|
-
Responded,
|
|
67
|
-
DefinitionKey extends keyof typeof apiDefinitions,
|
|
68
|
-
CurrentConfig extends Alova2MethodConfig<any>,
|
|
69
|
-
> =
|
|
70
|
-
CollapsedAlova extends Alova<
|
|
71
|
-
AlovaGenerics<
|
|
72
|
-
any,
|
|
73
|
-
any,
|
|
74
|
-
infer RequestConfig,
|
|
75
|
-
infer Response,
|
|
76
|
-
infer ResponseHeader,
|
|
77
|
-
infer L1Cache,
|
|
78
|
-
infer L2Cache,
|
|
79
|
-
infer SE
|
|
80
|
-
>
|
|
81
|
-
>
|
|
82
|
-
? Method<
|
|
83
|
-
AlovaGenerics<
|
|
84
|
-
CurrentConfig extends undefined
|
|
85
|
-
? ExtractUserDefinedTransformed<DefinitionKey, Responded>
|
|
86
|
-
: CurrentConfig['transform'] extends (...args: any[]) => any
|
|
87
|
-
? Awaited<ReturnType<CurrentConfig['transform']>>
|
|
88
|
-
: ExtractUserDefinedTransformed<DefinitionKey, Responded>,
|
|
89
|
-
any,
|
|
90
|
-
RequestConfig,
|
|
91
|
-
Response,
|
|
92
|
-
ResponseHeader,
|
|
93
|
-
L1Cache,
|
|
94
|
-
L2Cache,
|
|
95
|
-
SE
|
|
96
|
-
>
|
|
97
|
-
>
|
|
98
|
-
: never;
|
|
99
|
-
|
|
100
|
-
export interface ScientistState {
|
|
101
|
-
id?: string;
|
|
102
|
-
name?: string;
|
|
103
|
-
createdTimestamp?: string;
|
|
104
|
-
updatedTimestamp?: string;
|
|
105
|
-
identityNumber?: string;
|
|
106
|
-
gender?: string;
|
|
107
|
-
phoneNumber?: string;
|
|
108
|
-
birthdate?: string;
|
|
109
|
-
}
|
|
110
|
-
export interface SortObject {
|
|
111
|
-
empty?: boolean;
|
|
112
|
-
sorted?: boolean;
|
|
113
|
-
unsorted?: boolean;
|
|
114
|
-
}
|
|
115
|
-
export interface PageableObject {
|
|
116
|
-
offset?: number;
|
|
117
|
-
sort?: SortObject;
|
|
118
|
-
pageSize?: number;
|
|
119
|
-
paged?: boolean;
|
|
120
|
-
pageNumber?: number;
|
|
121
|
-
unpaged?: boolean;
|
|
122
|
-
}
|
|
123
|
-
export interface PageScientistState {
|
|
124
|
-
totalPages?: number;
|
|
125
|
-
totalElements?: number;
|
|
126
|
-
size?: number;
|
|
127
|
-
content?: ScientistState[];
|
|
128
|
-
number?: number;
|
|
129
|
-
sort?: SortObject;
|
|
130
|
-
numberOfElements?: number;
|
|
131
|
-
pageable?: PageableObject;
|
|
132
|
-
first?: boolean;
|
|
133
|
-
last?: boolean;
|
|
134
|
-
empty?: boolean;
|
|
135
|
-
}
|
|
136
|
-
declare global {
|
|
137
|
-
interface scientistApi {
|
|
138
|
-
scientistStateRestful: {
|
|
139
|
-
/**
|
|
140
|
-
* ---
|
|
141
|
-
*
|
|
142
|
-
* [GET]
|
|
143
|
-
*
|
|
144
|
-
* **path:** /科研/服务/{id}
|
|
145
|
-
*
|
|
146
|
-
* ---
|
|
147
|
-
*
|
|
148
|
-
* **Path Parameters**
|
|
149
|
-
* ```ts
|
|
150
|
-
* type PathParameters = {
|
|
151
|
-
* id: string
|
|
152
|
-
* }
|
|
153
|
-
* ```
|
|
154
|
-
*
|
|
155
|
-
* ---
|
|
156
|
-
*
|
|
157
|
-
* **Response**
|
|
158
|
-
* ```ts
|
|
159
|
-
* type Response = {
|
|
160
|
-
* id?: string
|
|
161
|
-
* name?: string
|
|
162
|
-
* createdTimestamp?: string
|
|
163
|
-
* updatedTimestamp?: string
|
|
164
|
-
* identityNumber?: string
|
|
165
|
-
* gender?: string
|
|
166
|
-
* phoneNumber?: string
|
|
167
|
-
* birthdate?: string
|
|
168
|
-
* }
|
|
169
|
-
* ```
|
|
170
|
-
*/
|
|
171
|
-
getScientistState<
|
|
172
|
-
Config extends Alova2MethodConfig<ScientistState> & {
|
|
173
|
-
pathParams: {
|
|
174
|
-
id: string;
|
|
175
|
-
};
|
|
176
|
-
},
|
|
177
|
-
>(
|
|
178
|
-
config: Config,
|
|
179
|
-
): Alova2Method<ScientistState, 'scientistStateRestful.getScientistState', Config>;
|
|
180
|
-
/**
|
|
181
|
-
* ---
|
|
182
|
-
*
|
|
183
|
-
* [PUT]
|
|
184
|
-
*
|
|
185
|
-
* **path:** /科研/服务/{id}
|
|
186
|
-
*
|
|
187
|
-
* ---
|
|
188
|
-
*
|
|
189
|
-
* **Path Parameters**
|
|
190
|
-
* ```ts
|
|
191
|
-
* type PathParameters = {
|
|
192
|
-
* id: string
|
|
193
|
-
* }
|
|
194
|
-
* ```
|
|
195
|
-
*
|
|
196
|
-
* ---
|
|
197
|
-
*
|
|
198
|
-
* **RequestBody**
|
|
199
|
-
* ```ts
|
|
200
|
-
* type RequestBody = {
|
|
201
|
-
* id?: string
|
|
202
|
-
* name?: string
|
|
203
|
-
* createdTimestamp?: string
|
|
204
|
-
* updatedTimestamp?: string
|
|
205
|
-
* identityNumber?: string
|
|
206
|
-
* gender?: string
|
|
207
|
-
* phoneNumber?: string
|
|
208
|
-
* birthdate?: string
|
|
209
|
-
* }
|
|
210
|
-
* ```
|
|
211
|
-
*
|
|
212
|
-
* ---
|
|
213
|
-
*
|
|
214
|
-
* **Response**
|
|
215
|
-
* ```ts
|
|
216
|
-
* type Response = {
|
|
217
|
-
* id?: string
|
|
218
|
-
* name?: string
|
|
219
|
-
* createdTimestamp?: string
|
|
220
|
-
* updatedTimestamp?: string
|
|
221
|
-
* identityNumber?: string
|
|
222
|
-
* gender?: string
|
|
223
|
-
* phoneNumber?: string
|
|
224
|
-
* birthdate?: string
|
|
225
|
-
* }
|
|
226
|
-
* ```
|
|
227
|
-
*/
|
|
228
|
-
putScientistState<
|
|
229
|
-
Config extends Alova2MethodConfig<ScientistState> & {
|
|
230
|
-
pathParams: {
|
|
231
|
-
id: string;
|
|
232
|
-
};
|
|
233
|
-
data: ScientistState;
|
|
234
|
-
},
|
|
235
|
-
>(
|
|
236
|
-
config: Config,
|
|
237
|
-
): Alova2Method<ScientistState, 'scientistStateRestful.putScientistState', Config>;
|
|
238
|
-
/**
|
|
239
|
-
* ---
|
|
240
|
-
*
|
|
241
|
-
* [DELETE]
|
|
242
|
-
*
|
|
243
|
-
* **path:** /科研/服务/{id}
|
|
244
|
-
*
|
|
245
|
-
* ---
|
|
246
|
-
*
|
|
247
|
-
* **Path Parameters**
|
|
248
|
-
* ```ts
|
|
249
|
-
* type PathParameters = {
|
|
250
|
-
* id: string
|
|
251
|
-
* }
|
|
252
|
-
* ```
|
|
253
|
-
*
|
|
254
|
-
* ---
|
|
255
|
-
*
|
|
256
|
-
* **Response**
|
|
257
|
-
* ```ts
|
|
258
|
-
* type Response = null
|
|
259
|
-
* ```
|
|
260
|
-
*/
|
|
261
|
-
deleteScientistState<
|
|
262
|
-
Config extends Alova2MethodConfig<null> & {
|
|
263
|
-
pathParams: {
|
|
264
|
-
id: string;
|
|
265
|
-
};
|
|
266
|
-
},
|
|
267
|
-
>(
|
|
268
|
-
config: Config,
|
|
269
|
-
): Alova2Method<null, 'scientistStateRestful.deleteScientistState', Config>;
|
|
270
|
-
/**
|
|
271
|
-
* ---
|
|
272
|
-
*
|
|
273
|
-
* [GET]
|
|
274
|
-
*
|
|
275
|
-
* **path:** /科研/服务
|
|
276
|
-
*
|
|
277
|
-
* ---
|
|
278
|
-
*
|
|
279
|
-
* **Query Parameters**
|
|
280
|
-
* ```ts
|
|
281
|
-
* type QueryParameters = {
|
|
282
|
-
* name?: string
|
|
283
|
-
* phoneNumber?: string
|
|
284
|
-
* pageSize: number
|
|
285
|
-
* page: number
|
|
286
|
-
* }
|
|
287
|
-
* ```
|
|
288
|
-
*
|
|
289
|
-
* ---
|
|
290
|
-
*
|
|
291
|
-
* **Response**
|
|
292
|
-
* ```ts
|
|
293
|
-
* type Response = {
|
|
294
|
-
* totalPages?: number
|
|
295
|
-
* totalElements?: number
|
|
296
|
-
* size?: number
|
|
297
|
-
* // [items] start
|
|
298
|
-
* // [items] end
|
|
299
|
-
* content?: Array<{
|
|
300
|
-
* id?: string
|
|
301
|
-
* name?: string
|
|
302
|
-
* createdTimestamp?: string
|
|
303
|
-
* updatedTimestamp?: string
|
|
304
|
-
* identityNumber?: string
|
|
305
|
-
* gender?: string
|
|
306
|
-
* phoneNumber?: string
|
|
307
|
-
* birthdate?: string
|
|
308
|
-
* }>
|
|
309
|
-
* number?: number
|
|
310
|
-
* sort?: {
|
|
311
|
-
* empty?: boolean
|
|
312
|
-
* sorted?: boolean
|
|
313
|
-
* unsorted?: boolean
|
|
314
|
-
* }
|
|
315
|
-
* numberOfElements?: number
|
|
316
|
-
* pageable?: {
|
|
317
|
-
* offset?: number
|
|
318
|
-
* sort?: {
|
|
319
|
-
* empty?: boolean
|
|
320
|
-
* sorted?: boolean
|
|
321
|
-
* unsorted?: boolean
|
|
322
|
-
* }
|
|
323
|
-
* pageSize?: number
|
|
324
|
-
* paged?: boolean
|
|
325
|
-
* pageNumber?: number
|
|
326
|
-
* unpaged?: boolean
|
|
327
|
-
* }
|
|
328
|
-
* first?: boolean
|
|
329
|
-
* last?: boolean
|
|
330
|
-
* empty?: boolean
|
|
331
|
-
* }
|
|
332
|
-
* ```
|
|
333
|
-
*/
|
|
334
|
-
queryScientistState<
|
|
335
|
-
Config extends Alova2MethodConfig<PageScientistState> & {
|
|
336
|
-
params: {
|
|
337
|
-
name?: string;
|
|
338
|
-
phoneNumber?: string;
|
|
339
|
-
pageSize: number;
|
|
340
|
-
page: number;
|
|
341
|
-
};
|
|
342
|
-
},
|
|
343
|
-
>(
|
|
344
|
-
config: Config,
|
|
345
|
-
): Alova2Method<PageScientistState, 'scientistStateRestful.queryScientistState', Config>;
|
|
346
|
-
/**
|
|
347
|
-
* ---
|
|
348
|
-
*
|
|
349
|
-
* [POST]
|
|
350
|
-
*
|
|
351
|
-
* **path:** /科研/服务
|
|
352
|
-
*
|
|
353
|
-
* ---
|
|
354
|
-
*
|
|
355
|
-
* **RequestBody**
|
|
356
|
-
* ```ts
|
|
357
|
-
* type RequestBody = {
|
|
358
|
-
* id?: string
|
|
359
|
-
* name?: string
|
|
360
|
-
* createdTimestamp?: string
|
|
361
|
-
* updatedTimestamp?: string
|
|
362
|
-
* identityNumber?: string
|
|
363
|
-
* gender?: string
|
|
364
|
-
* phoneNumber?: string
|
|
365
|
-
* birthdate?: string
|
|
366
|
-
* }
|
|
367
|
-
* ```
|
|
368
|
-
*
|
|
369
|
-
* ---
|
|
370
|
-
*
|
|
371
|
-
* **Response**
|
|
372
|
-
* ```ts
|
|
373
|
-
* type Response = {
|
|
374
|
-
* id?: string
|
|
375
|
-
* name?: string
|
|
376
|
-
* createdTimestamp?: string
|
|
377
|
-
* updatedTimestamp?: string
|
|
378
|
-
* identityNumber?: string
|
|
379
|
-
* gender?: string
|
|
380
|
-
* phoneNumber?: string
|
|
381
|
-
* birthdate?: string
|
|
382
|
-
* }
|
|
383
|
-
* ```
|
|
384
|
-
*/
|
|
385
|
-
postScientistState<
|
|
386
|
-
Config extends Alova2MethodConfig<ScientistState> & {
|
|
387
|
-
data: ScientistState;
|
|
388
|
-
},
|
|
389
|
-
>(
|
|
390
|
-
config: Config,
|
|
391
|
-
): Alova2Method<ScientistState, 'scientistStateRestful.postScientistState', Config>;
|
|
392
|
-
/**
|
|
393
|
-
* ---
|
|
394
|
-
*
|
|
395
|
-
* [GET]
|
|
396
|
-
*
|
|
397
|
-
* **path:** /科研/服务/统计/科研/日期
|
|
398
|
-
*
|
|
399
|
-
* ---
|
|
400
|
-
*
|
|
401
|
-
* **Response**
|
|
402
|
-
* ```ts
|
|
403
|
-
* type Response = null[][]
|
|
404
|
-
* ```
|
|
405
|
-
*/
|
|
406
|
-
datesOfScientist<Config extends Alova2MethodConfig<null[][]>>(
|
|
407
|
-
config?: Config,
|
|
408
|
-
): Alova2Method<null[][], 'scientistStateRestful.datesOfScientist', Config>;
|
|
409
|
-
/**
|
|
410
|
-
* ---
|
|
411
|
-
*
|
|
412
|
-
* [GET]
|
|
413
|
-
*
|
|
414
|
-
* **path:** /科研/服务/统计/科研/总数
|
|
415
|
-
*
|
|
416
|
-
* ---
|
|
417
|
-
*
|
|
418
|
-
* **Response**
|
|
419
|
-
* ```ts
|
|
420
|
-
* type Response = number
|
|
421
|
-
* ```
|
|
422
|
-
*/
|
|
423
|
-
totalOfScientist<Config extends Alova2MethodConfig<number>>(
|
|
424
|
-
config?: Config,
|
|
425
|
-
): Alova2Method<number, 'scientistStateRestful.totalOfScientist', Config>;
|
|
426
|
-
/**
|
|
427
|
-
* ---
|
|
428
|
-
*
|
|
429
|
-
* [GET]
|
|
430
|
-
*
|
|
431
|
-
* **path:** /科研/服务/统计/科研/今日
|
|
432
|
-
*
|
|
433
|
-
* ---
|
|
434
|
-
*
|
|
435
|
-
* **Response**
|
|
436
|
-
* ```ts
|
|
437
|
-
* type Response = number
|
|
438
|
-
* ```
|
|
439
|
-
*/
|
|
440
|
-
todayOfScientistByToday<Config extends Alova2MethodConfig<number>>(
|
|
441
|
-
config?: Config,
|
|
442
|
-
): Alova2Method<number, 'scientistStateRestful.todayOfScientistByToday', Config>;
|
|
443
|
-
};
|
|
444
|
-
}
|
|
445
|
-
|
|
446
|
-
var scientistApi: scientistApi;
|
|
447
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { Scientist } from 'src/api/scientist/scientist';
|
|
2
|
-
|
|
3
|
-
export class AlovaScientist extends Scientist {
|
|
4
|
-
override async get() {
|
|
5
|
-
return this.of(
|
|
6
|
-
await scientistApi.scientistStateRestful
|
|
7
|
-
.getScientistState({
|
|
8
|
-
pathParams: {
|
|
9
|
-
id: this.id,
|
|
10
|
-
},
|
|
11
|
-
async transform(res) {
|
|
12
|
-
return new AlovaScientist().of(res);
|
|
13
|
-
},
|
|
14
|
-
})
|
|
15
|
-
.send(),
|
|
16
|
-
);
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
override async put() {
|
|
20
|
-
return this.of(
|
|
21
|
-
await scientistApi.scientistStateRestful
|
|
22
|
-
.putScientistState({
|
|
23
|
-
pathParams: {
|
|
24
|
-
id: this.id,
|
|
25
|
-
},
|
|
26
|
-
data: this.state(),
|
|
27
|
-
})
|
|
28
|
-
.send(true),
|
|
29
|
-
);
|
|
30
|
-
}
|
|
31
|
-
async post() {
|
|
32
|
-
return this.of(
|
|
33
|
-
await scientistApi.scientistStateRestful
|
|
34
|
-
.postScientistState({
|
|
35
|
-
data: this.state(),
|
|
36
|
-
})
|
|
37
|
-
.send(true),
|
|
38
|
-
);
|
|
39
|
-
}
|
|
40
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { createAlova } from 'alova';
|
|
2
|
-
import fetchAdapter from 'alova/fetch';
|
|
3
|
-
import { createApis, withConfigType, mountApis } from './createApis';
|
|
4
|
-
import { onAuthRequired, responded } from 'src/api/config/alova';
|
|
5
|
-
import { getServiceEndpoint, ServiceType } from 'src/api/config';
|
|
6
|
-
|
|
7
|
-
export const alovaInstance = createAlova({
|
|
8
|
-
baseURL: getServiceEndpoint(ServiceType.Scientist),
|
|
9
|
-
requestAdapter: fetchAdapter(),
|
|
10
|
-
beforeRequest: onAuthRequired(() => {}),
|
|
11
|
-
cacheFor: null,
|
|
12
|
-
responded: responded,
|
|
13
|
-
});
|
|
14
|
-
|
|
15
|
-
export const $$userConfigMap = withConfigType({});
|
|
16
|
-
|
|
17
|
-
const Apis = createApis(alovaInstance, $$userConfigMap);
|
|
18
|
-
|
|
19
|
-
mountApis(Apis);
|
|
20
|
-
|
|
21
|
-
export * from './implement'
|
|
22
|
-
export default Apis;
|
|
23
|
-
|
|
24
|
-
export * from './implement';
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { NetworkObject } from 'src/api/patient/core';
|
|
2
|
-
import type { IBuilder } from 'builder-pattern';
|
|
3
|
-
import { Builder } from 'builder-pattern';
|
|
4
|
-
import type { ScientistState } from 'src/api/scientist/alova/globals';
|
|
5
|
-
import { getName } from 'src/util/string';
|
|
6
|
-
|
|
7
|
-
export abstract class Scientist extends NetworkObject {
|
|
8
|
-
static override builder(): IBuilder<Scientist> {
|
|
9
|
-
return Builder(this._default) as unknown as IBuilder<Scientist>;
|
|
10
|
-
}
|
|
11
|
-
static override default(): typeof Scientist {
|
|
12
|
-
return this._default as unknown as typeof Scientist;
|
|
13
|
-
}
|
|
14
|
-
id: string = '';
|
|
15
|
-
name: string = '';
|
|
16
|
-
createdTimestamp: string = '';
|
|
17
|
-
updatedTimestamp: string = '';
|
|
18
|
-
gender: string = '';
|
|
19
|
-
identityNumber: string = '';
|
|
20
|
-
phoneNumber: string = '';
|
|
21
|
-
birthdate: string = '';
|
|
22
|
-
|
|
23
|
-
override of(json: ScientistState) {
|
|
24
|
-
if (json.id != undefined) this.id = json.id;
|
|
25
|
-
if (json.name != undefined) this.name = getName(json.name);
|
|
26
|
-
if (json.gender != undefined) this.gender = json.gender;
|
|
27
|
-
if (json.identityNumber != undefined) this.identityNumber = json.identityNumber;
|
|
28
|
-
if (json.phoneNumber != undefined) this.phoneNumber = json.phoneNumber;
|
|
29
|
-
if (json.birthdate != undefined) this.birthdate = json.birthdate;
|
|
30
|
-
if (json.createdTimestamp != undefined) this.createdTimestamp = json.createdTimestamp;
|
|
31
|
-
if (json.updatedTimestamp != undefined) this.updatedTimestamp = json.updatedTimestamp;
|
|
32
|
-
return Promise.resolve(this);
|
|
33
|
-
}
|
|
34
|
-
override state() {
|
|
35
|
-
return {
|
|
36
|
-
id: this.id,
|
|
37
|
-
name: this.name,
|
|
38
|
-
createdTimestamp: this.createdTimestamp,
|
|
39
|
-
updatedTimestamp: this.updatedTimestamp,
|
|
40
|
-
gender: this.gender,
|
|
41
|
-
identityNumber: this.identityNumber,
|
|
42
|
-
phoneNumber: this.phoneNumber,
|
|
43
|
-
birthdate: this.birthdate,
|
|
44
|
-
} as ScientistState;
|
|
45
|
-
}
|
|
46
|
-
abstract get(): Promise<this>;
|
|
47
|
-
abstract put(): Promise<this>;
|
|
48
|
-
abstract post(): Promise<this>;
|
|
49
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 356 360">
|
|
2
|
-
<path
|
|
3
|
-
d="M43.4 303.4c0 3.8-2.3 6.3-7.1 6.3h-15v-22h14.4c4.3 0 6.2 2.2 6.2 5.2 0 2.6-1.5 4.4-3.4 5 2.8.4 4.9 2.5 4.9 5.5zm-8-13H24.1v6.9H35c2.1 0 4-1.3 4-3.8 0-2.2-1.3-3.1-3.7-3.1zm5.1 12.6c0-2.3-1.8-3.7-4-3.7H24.2v7.7h11.7c3.4 0 4.6-1.8 4.6-4zm36.3 4v2.7H56v-22h20.6v2.7H58.9v6.8h14.6v2.3H58.9v7.5h17.9zm23-5.8v8.5H97v-8.5l-11-13.4h3.4l8.9 11 8.8-11h3.4l-10.8 13.4zm19.1-1.8V298c0-7.9 5.2-10.7 12.7-10.7 7.5 0 13 2.8 13 10.7v1.4c0 7.9-5.5 10.8-13 10.8s-12.7-3-12.7-10.8zm22.7 0V298c0-5.7-3.9-8-10-8-6 0-9.8 2.3-9.8 8v1.4c0 5.8 3.8 8.1 9.8 8.1 6 0 10-2.3 10-8.1zm37.2-11.6v21.9h-2.9l-15.8-17.9v17.9h-2.8v-22h3l15.6 18v-18h2.9zm37.9 10.2v1.3c0 7.8-5.2 10.4-12.4 10.4H193v-22h11.2c7.2 0 12.4 2.8 12.4 10.3zm-3 0c0-5.3-3.3-7.6-9.4-7.6h-8.4V307h8.4c6 0 9.5-2 9.5-7.7V298zm50.8-7.6h-9.7v19.3h-3v-19.3h-9.7v-2.6h22.4v2.6zm34.4-2.6v21.9h-3v-10.1h-16.8v10h-2.8v-21.8h2.8v9.2H296v-9.2h2.9zm34.9 19.2v2.7h-20.7v-22h20.6v2.7H316v6.8h14.5v2.3H316v7.5h17.8zM24 340.2v7.3h13.9v2.4h-14v9.6H21v-22h20v2.7H24zm41.5 11.4h-9.8v7.9H53v-22h13.3c5.1 0 8 1.9 8 6.8 0 3.7-2 6.3-5.6 7l6 8.2h-3.3l-5.8-8zm-9.8-2.6H66c3.1 0 5.3-1.5 5.3-4.7 0-3.3-2.2-4.1-5.3-4.1H55.7v8.8zm47.9 6.2H89l-2 4.3h-3.2l10.7-22.2H98l10.7 22.2h-3.2l-2-4.3zm-1-2.3l-6.3-13-6 13h12.2zm46.3-15.3v21.9H146v-17.2L135.7 358h-2.1l-10.2-15.6v17h-2.8v-21.8h3l11 16.9 11.3-17h3zm35 19.3v2.6h-20.7v-22h20.6v2.7H166v6.8h14.5v2.3H166v7.6h17.8zm47-19.3l-8.3 22h-3l-7.1-18.6-7 18.6h-3l-8.2-22h3.3L204 356l6.8-18.5h3.4L221 356l6.6-18.5h3.3zm10 11.6v-1.4c0-7.8 5.2-10.7 12.7-10.7 7.6 0 13 2.9 13 10.7v1.4c0 7.9-5.4 10.8-13 10.8-7.5 0-12.7-3-12.7-10.8zm22.8 0v-1.4c0-5.7-4-8-10-8s-9.9 2.3-9.9 8v1.4c0 5.8 3.8 8.2 9.8 8.2 6.1 0 10-2.4 10-8.2zm28.3 2.4h-9.8v7.9h-2.8v-22h13.2c5.2 0 8 1.9 8 6.8 0 3.7-2 6.3-5.6 7l6 8.2h-3.3l-5.8-8zm-9.8-2.6h10.2c3 0 5.2-1.5 5.2-4.7 0-3.3-2.1-4.1-5.2-4.1h-10.2v8.8zm40.3-1.5l-6.8 5.6v6.4h-2.9v-22h2.9v12.3l15.2-12.2h3.7l-9.9 8.1 10.3 13.8h-3.6l-8.9-12z" />
|
|
4
|
-
<path fill="#050A14"
|
|
5
|
-
d="M188.4 71.7a10.4 10.4 0 01-20.8 0 10.4 10.4 0 1120.8 0zM224.2 45c-2.2-3.9-5-7.5-8.2-10.7l-12 7c-3.7-3.2-8-5.7-12.6-7.3a49.4 49.4 0 00-9.7 13.9 59 59 0 0140.1 14l7.6-4.4a57 57 0 00-5.2-12.5zM178 125.1c4.5 0 9-.6 13.4-1.7v-14a40 40 0 0012.5-7.2 47.7 47.7 0 00-7.1-15.3 59 59 0 01-32.2 27.7v8.7c4.4 1.2 8.9 1.8 13.4 1.8zM131.8 45c-2.3 4-4 8.1-5.2 12.5l12 7a40 40 0 000 14.4c5.7 1.5 11.3 2 16.9 1.5a59 59 0 01-8-41.7l-7.5-4.3c-3.2 3.2-6 6.7-8.2 10.6z" />
|
|
6
|
-
<path fill="#00B4FF"
|
|
7
|
-
d="M224.2 98.4c2.3-3.9 4-8 5.2-12.4l-12-7a40 40 0 000-14.5c-5.7-1.5-11.3-2-16.9-1.5a59 59 0 018 41.7l7.5 4.4c3.2-3.2 6-6.8 8.2-10.7zm-92.4 0c2.2 4 5 7.5 8.2 10.7l12-7a40 40 0 0012.6 7.3c4-4.1 7.3-8.8 9.7-13.8a59 59 0 01-40-14l-7.7 4.4c1.2 4.3 3 8.5 5.2 12.4zm46.2-80c-4.5 0-9 .5-13.4 1.7V34a40 40 0 00-12.5 7.2c1.5 5.7 4 10.8 7.1 15.4a59 59 0 0132.2-27.7V20a53.3 53.3 0 00-13.4-1.8z" />
|
|
8
|
-
<path fill="#00B4FF"
|
|
9
|
-
d="M178 9.2a62.6 62.6 0 11-.1 125.2A62.6 62.6 0 01178 9.2m0-9.2a71.7 71.7 0 100 143.5A71.7 71.7 0 00178 0z" />
|
|
10
|
-
<path fill="#050A14"
|
|
11
|
-
d="M96.6 212v4.3c-9.2-.8-15.4-5.8-15.4-17.8V180h4.6v18.4c0 8.6 4 12.6 10.8 13.5zm16-31.9v18.4c0 8.9-4.3 12.8-10.9 13.5v4.4c9.2-.7 15.5-5.6 15.5-18v-18.3h-4.7zM62.2 199v-2.2c0-12.7-8.8-17.4-21-17.4-12.1 0-20.7 4.7-20.7 17.4v2.2c0 12.8 8.6 17.6 20.7 17.6 1.5 0 3-.1 4.4-.3l11.8 6.2 2-3.3-8.2-4-6.4-3.1a32 32 0 01-3.6.2c-9.8 0-16-3.9-16-13.3v-2.2c0-9.3 6.2-13.1 16-13.1 9.9 0 16.3 3.8 16.3 13.1v2.2c0 5.3-2.1 8.7-5.6 10.8l4.8 2.4c3.4-2.8 5.5-7 5.5-13.2zM168 215.6h5.1L156 179.7h-4.8l17 36zM143 205l7.4-15.7-2.4-5-15.1 31.4h5.1l3.3-7h18.3l-1.8-3.7H143zm133.7 10.7h5.2l-17.3-35.9h-4.8l17 36zm-25-10.7l7.4-15.7-2.4-5-15.1 31.4h5.1l3.3-7h18.3l-1.7-3.7h-14.8zm73.8-2.5c6-1.2 9-5.4 9-11.4 0-8-4.5-10.9-12.9-10.9h-21.4v35.5h4.6v-31.3h16.5c5 0 8.5 1.4 8.5 6.7 0 5.2-3.5 7.7-8.5 7.7h-11.4v4.1h10.7l9.3 12.8h5.5l-9.9-13.2zm-117.4 9.9c-9.7 0-14.7-2.5-18.6-6.3l-2.2 3.8c5.1 5 11 6.7 21 6.7 1.6 0 3.1-.1 4.6-.3l-1.9-4h-3zm18.4-7c0-6.4-4.7-8.6-13.8-9.4l-10.1-1c-6.7-.7-9.3-2.2-9.3-5.6 0-2.5 1.4-4 4.6-5l-1.8-3.8c-4.7 1.4-7.5 4.2-7.5 8.9 0 5.2 3.4 8.7 13 9.6l11.3 1.2c6.4.6 8.9 2 8.9 5.4 0 2.7-2.1 4.7-6 5.8l1.8 3.9c5.3-1.6 8.9-4.7 8.9-10zm-20.3-21.9c7.9 0 13.3 1.8 18.1 5.7l1.8-3.9a30 30 0 00-19.6-5.9c-2 0-4 .1-5.7.3l1.9 4 3.5-.2z" />
|
|
12
|
-
<path fill="#00B4FF"
|
|
13
|
-
d="M.5 251.9c29.6-.5 59.2-.8 88.8-1l88.7-.3 88.7.3 44.4.4 44.4.6-44.4.6-44.4.4-88.7.3-88.7-.3a7981 7981 0 01-88.8-1z" />
|
|
14
|
-
<path fill="none" d="M-565.2 324H-252v15.8h-313.2z" />
|
|
15
|
-
</svg>
|
package/src/boot/.gitkeep
DELETED
|
File without changes
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div>
|
|
3
|
-
<p>{{ title }}</p>
|
|
4
|
-
<ul>
|
|
5
|
-
<li v-for="todo in todos" :key="todo.id" @click="increment">
|
|
6
|
-
{{ todo.id }} - {{ todo.content }}
|
|
7
|
-
</li>
|
|
8
|
-
</ul>
|
|
9
|
-
<p>Count: {{ todoCount }} / {{ meta.totalCount }}</p>
|
|
10
|
-
<p>Active: {{ active ? 'yes' : 'no' }}</p>
|
|
11
|
-
<p>Clicks on todos: {{ clickCount }}</p>
|
|
12
|
-
</div>
|
|
13
|
-
</template>
|
|
14
|
-
|
|
15
|
-
<script setup lang="ts">
|
|
16
|
-
import { computed, ref } from 'vue';
|
|
17
|
-
import type { Todo, Meta } from './models';
|
|
18
|
-
|
|
19
|
-
interface Props {
|
|
20
|
-
title: string;
|
|
21
|
-
todos?: Todo[];
|
|
22
|
-
meta: Meta;
|
|
23
|
-
active: boolean;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
const props = withDefaults(defineProps<Props>(), {
|
|
27
|
-
todos: () => [],
|
|
28
|
-
});
|
|
29
|
-
|
|
30
|
-
const clickCount = ref(0);
|
|
31
|
-
function increment() {
|
|
32
|
-
clickCount.value += 1;
|
|
33
|
-
return clickCount.value;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
const todoCount = computed(() => props.todos.length);
|
|
37
|
-
</script>
|
package/src/components/models.ts
DELETED
package/src/css/app.scss
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
// app global css in SCSS form
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
// Quasar SCSS (& Sass) Variables
|
|
2
|
-
// --------------------------------------------------
|
|
3
|
-
// To customize the look and feel of this app, you can override
|
|
4
|
-
// the Sass/SCSS variables found in Quasar's source Sass/SCSS files.
|
|
5
|
-
|
|
6
|
-
// Check documentation for full list of Quasar variables
|
|
7
|
-
|
|
8
|
-
// Your own variables (that are declared here) and Quasar's own
|
|
9
|
-
// ones will be available out of the box in your .vue/.scss/.sass files
|
|
10
|
-
|
|
11
|
-
// It's highly recommended to change the default colors
|
|
12
|
-
// to match your app's branding.
|
|
13
|
-
// Tip: Use the "Theme Builder" on Quasar's documentation website.
|
|
14
|
-
|
|
15
|
-
$primary: #1976d2;
|
|
16
|
-
$secondary: #26a69a;
|
|
17
|
-
$accent: #9c27b0;
|
|
18
|
-
|
|
19
|
-
$dark: #1d1d1d;
|
|
20
|
-
$dark-page: #121212;
|
|
21
|
-
|
|
22
|
-
$positive: #21ba45;
|
|
23
|
-
$negative: #c10015;
|
|
24
|
-
$info: #31ccec;
|
|
25
|
-
$warning: #f2c037;
|