@thisisagile/easy 15.27.0 → 15.27.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-SGSU4KYT.mjs → chunk-2BXKHPA2.mjs} +3 -3
- package/dist/{chunk-G7QSW2EB.mjs → chunk-3P7J7XPW.mjs} +3 -3
- package/dist/{chunk-SS3C77DP.mjs → chunk-44GVWK5Q.mjs} +4 -6
- package/dist/{chunk-SS3C77DP.mjs.map → chunk-44GVWK5Q.mjs.map} +1 -1
- package/dist/{chunk-GDD652NR.mjs → chunk-4OQNWUOH.mjs} +2 -2
- package/dist/{chunk-GVX6S54O.mjs → chunk-5FFXP2S2.mjs} +3 -3
- package/dist/{chunk-4EVQZKMK.mjs → chunk-AJMFM4WW.mjs} +2 -2
- package/dist/{chunk-V62IOKST.mjs → chunk-AQ7VCOZV.mjs} +2 -2
- package/dist/{chunk-QOGUHAMC.mjs → chunk-CN756KJF.mjs} +3 -5
- package/dist/{chunk-QOGUHAMC.mjs.map → chunk-CN756KJF.mjs.map} +1 -1
- package/dist/{chunk-PLIJ2CRV.mjs → chunk-CQFW65RV.mjs} +2 -2
- package/dist/{chunk-7EP6VCI3.mjs → chunk-DO2JKVJC.mjs} +3 -3
- package/dist/{chunk-SJGDB24D.mjs → chunk-EDT4SIWF.mjs} +2 -2
- package/dist/{chunk-WEXSGVXZ.mjs → chunk-FZ3RGBVB.mjs} +3 -3
- package/dist/{chunk-7RIXMU5L.mjs → chunk-GWPYA4FN.mjs} +6 -6
- package/dist/{chunk-LV7HNQ3N.mjs → chunk-GY5U2EMP.mjs} +4 -4
- package/dist/{chunk-YTWFWQNB.mjs → chunk-GZ4W5NPB.mjs} +39 -3
- package/dist/chunk-GZ4W5NPB.mjs.map +1 -0
- package/dist/{chunk-H6GKGVYF.mjs → chunk-HWJY57VM.mjs} +2 -2
- package/dist/{chunk-LB7OMB5S.mjs → chunk-IDVKM57Y.mjs} +4 -4
- package/dist/{chunk-H22IHXDC.mjs → chunk-IDYINFVS.mjs} +2 -2
- package/dist/{chunk-4AP5H3OQ.mjs → chunk-IOLGWNHS.mjs} +4 -4
- package/dist/{chunk-GGC4TWMF.mjs → chunk-IOSZQN37.mjs} +4 -4
- package/dist/{chunk-FSK4W6I2.mjs → chunk-LPPJKRX6.mjs} +2 -2
- package/dist/{chunk-O62PGEQ7.mjs → chunk-MDBZV377.mjs} +2 -2
- package/dist/{chunk-M4UUIOW6.mjs → chunk-MHEEKAJP.mjs} +3 -3
- package/dist/{chunk-3WOYFN2Q.mjs → chunk-MXVK2OXS.mjs} +2 -2
- package/dist/{chunk-LD64IICE.mjs → chunk-OLZQGTHX.mjs} +2 -2
- package/dist/{chunk-IJFQ7PRU.mjs → chunk-OPRP2CJ4.mjs} +2 -2
- package/dist/{chunk-CLKUH5JA.mjs → chunk-P6WU6SWZ.mjs} +5 -5
- package/dist/{chunk-7NYZAGM3.mjs → chunk-P76FDCQK.mjs} +2 -2
- package/dist/{chunk-ZHAJLP7P.mjs → chunk-PLDACKJ3.mjs} +2 -2
- package/dist/{chunk-EZC3HAYN.mjs → chunk-QCRJIUXC.mjs} +2 -2
- package/dist/{chunk-3HTSHJPL.mjs → chunk-QXQDFZ7B.mjs} +3 -3
- package/dist/{chunk-NF7FTEE7.mjs → chunk-S232OWAN.mjs} +3 -3
- package/dist/{chunk-UDLMLGTS.mjs → chunk-S3VRHUDC.mjs} +2 -2
- package/dist/{chunk-SP4KAT3N.mjs → chunk-SIEX4MPW.mjs} +2 -2
- package/dist/{chunk-D54TPU6G.mjs → chunk-TGX44YE7.mjs} +2 -2
- package/dist/{chunk-74AOBBOZ.mjs → chunk-TMH4PWZS.mjs} +2 -2
- package/dist/{chunk-LCDQWW2Y.mjs → chunk-U5XK45SM.mjs} +2 -2
- package/dist/{chunk-6OW7KEN5.mjs → chunk-U7RLT5MZ.mjs} +2 -2
- package/dist/{chunk-NYTGMBLK.mjs → chunk-W36ZTL43.mjs} +2 -2
- package/dist/{chunk-JER7KLEK.mjs → chunk-W4LMCXTM.mjs} +4 -4
- package/dist/{chunk-I3VZW3XF.mjs → chunk-XBACKQ4V.mjs} +6 -6
- package/dist/{chunk-L2BMMXCX.mjs → chunk-XDCE35QQ.mjs} +4 -4
- package/dist/{chunk-HNB4RM5S.mjs → chunk-XLB3EVKK.mjs} +6 -8
- package/dist/{chunk-HNB4RM5S.mjs.map → chunk-XLB3EVKK.mjs.map} +1 -1
- package/dist/{chunk-6NOTDYUE.mjs → chunk-YD2WQWXL.mjs} +2 -2
- package/dist/{chunk-ZNWOAXMK.mjs → chunk-YNQ6HDJA.mjs} +3 -3
- package/dist/{chunk-A7OYYR2S.mjs → chunk-ZBIJKCDP.mjs} +3 -3
- package/dist/{chunk-WUFQM7VZ.mjs → chunk-ZVTPK2NJ.mjs} +2 -2
- package/dist/data/Condition.mjs +3 -4
- package/dist/data/Database.mjs +2 -3
- package/dist/data/Field.mjs +4 -5
- package/dist/data/Field.mjs.map +1 -1
- package/dist/data/InMemoryGateway.mjs +3 -4
- package/dist/data/InMemoryGateway.mjs.map +1 -1
- package/dist/domain/Audit.mjs +5 -6
- package/dist/domain/Child.mjs +4 -5
- package/dist/domain/Child.mjs.map +1 -1
- package/dist/domain/Entity.mjs +8 -9
- package/dist/domain/Entity.mjs.map +1 -1
- package/dist/domain/Repo.mjs +3 -5
- package/dist/domain/Repo.mjs.map +1 -1
- package/dist/domain/Struct.mjs +2 -3
- package/dist/domain/Typo.mjs +2 -3
- package/dist/domain/Typo.mjs.map +1 -1
- package/dist/domain/enums/Country.mjs +2 -3
- package/dist/domain/enums/Currency.mjs +4 -5
- package/dist/domain/enums/Environment.mjs +1 -2
- package/dist/domain/enums/Environment.mjs.map +1 -1
- package/dist/domain/enums/Locale.mjs +1 -2
- package/dist/domain/enums/Locale.mjs.map +1 -1
- package/dist/domain/enums/UnitOfMeasurement.mjs +2 -3
- package/dist/domain/enums/UnitOfWeight.mjs +2 -3
- package/dist/domain/structs/Address.mjs +5 -6
- package/dist/domain/structs/Address.mjs.map +1 -1
- package/dist/domain/structs/Box.mjs +5 -6
- package/dist/domain/structs/Box.mjs.map +1 -1
- package/dist/domain/structs/Dimension.mjs +5 -6
- package/dist/domain/structs/Money.mjs +4 -5
- package/dist/domain/structs/Name.mjs +3 -4
- package/dist/domain/structs/Name.mjs.map +1 -1
- package/dist/domain/structs/Weight.mjs +4 -5
- package/dist/domain/structs/Weight.mjs.map +1 -1
- package/dist/domain/values/DateTime.mjs +2 -3
- package/dist/domain/values/EAN.mjs +1 -2
- package/dist/domain/values/EAN.mjs.map +1 -1
- package/dist/domain/values/Email.mjs +1 -2
- package/dist/domain/values/Email.mjs.map +1 -1
- package/dist/domain/values/IBAN.mjs +1 -2
- package/dist/domain/values/IBAN.mjs.map +1 -1
- package/dist/domain/values/PostalCode.mjs +3 -4
- package/dist/domain/values/Slug.mjs +1 -2
- package/dist/domain/values/Slug.mjs.map +1 -1
- package/dist/domain/values/Url.mjs +1 -2
- package/dist/domain/values/Url.mjs.map +1 -1
- package/dist/health/HealthResource.mjs +11 -12
- package/dist/health/HealthResource.mjs.map +1 -1
- package/dist/health/HealthUri.mjs +3 -4
- package/dist/http/CacheControl.mjs +4 -5
- package/dist/http/ContentType.mjs +2 -3
- package/dist/http/HttpStatus.mjs +2 -3
- package/dist/http/HttpVerb.mjs +2 -3
- package/dist/http/LocalRequestStore.mjs +1 -2
- package/dist/http/LocalRequestStore.mjs.map +1 -1
- package/dist/http/RequestOptions.mjs +3 -4
- package/dist/http/Response.mjs +3 -4
- package/dist/http/RestResult.mjs +3 -4
- package/dist/http/Verb.mjs +8 -9
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/process/App.mjs +2 -3
- package/dist/process/App.mjs.map +1 -1
- package/dist/process/Manage.mjs +3 -4
- package/dist/process/Manage.mjs.map +1 -1
- package/dist/process/Scope.mjs +2 -3
- package/dist/process/Search.mjs +3 -4
- package/dist/process/UseCase.mjs +1 -2
- package/dist/process/UseCase.mjs.map +1 -1
- package/dist/resources/Req.mjs +2 -3
- package/dist/resources/Req.mjs.map +1 -1
- package/dist/resources/Requires.mjs +1 -2
- package/dist/resources/Requires.mjs.map +1 -1
- package/dist/resources/Route.mjs +2 -3
- package/dist/resources/Service.mjs +1 -2
- package/dist/resources/Service.mjs.map +1 -1
- package/dist/security/Jwt.mjs +1 -2
- package/dist/security/Jwt.mjs.map +1 -1
- package/dist/services/Api.mjs +10 -11
- package/dist/services/ApiGateway.mjs +13 -14
- package/dist/services/AxiosProvider.mjs +8 -9
- package/dist/services/MappedRouteGateway.mjs +17 -18
- package/dist/services/MappedRouteGateway.mjs.map +1 -1
- package/dist/services/RouteGateway.mjs +14 -15
- package/dist/services/ViewRouteGateway.mjs +16 -17
- package/dist/services/ViewRouteGateway.mjs.map +1 -1
- package/dist/sql/Clause.mjs +3 -4
- package/dist/sql/Column.mjs +5 -6
- package/dist/sql/Count.mjs +4 -5
- package/dist/sql/Delete.mjs +3 -4
- package/dist/sql/Insert.mjs +5 -6
- package/dist/sql/Select.mjs +3 -4
- package/dist/sql/SqlQuery.mjs +2 -3
- package/dist/sql/Table.mjs +13 -14
- package/dist/sql/Table.mjs.map +1 -1
- package/dist/sql/TableGateway.mjs +3 -4
- package/dist/sql/TableGateway.mjs.map +1 -1
- package/dist/sql/Update.mjs +5 -6
- package/dist/types/Builder.mjs +1 -2
- package/dist/types/Builder.mjs.map +1 -1
- package/dist/types/Cache.mjs +1 -2
- package/dist/types/Cache.mjs.map +1 -1
- package/dist/types/CacheAge.mjs +3 -4
- package/dist/types/Case.mjs +1 -2
- package/dist/types/Context.mjs +1 -2
- package/dist/types/Enum.mjs +1 -2
- package/dist/types/Exception.mjs +1 -2
- package/dist/types/Gateway.mjs +2 -3
- package/dist/types/IsEqual.mjs +2 -3
- package/dist/types/Json.d.ts +1 -0
- package/dist/types/Json.mjs +3 -1
- package/dist/types/List.mjs +1 -2
- package/dist/types/Meta.mjs +1 -2
- package/dist/types/Number.mjs +2 -3
- package/dist/types/PageList.mjs +2 -3
- package/dist/types/Parser.mjs +1 -2
- package/dist/types/Parser.mjs.map +1 -1
- package/dist/types/Repository.mjs +2 -3
- package/dist/types/Result.mjs +1 -2
- package/dist/types/Results.mjs +1 -2
- package/dist/types/Tag.mjs +1 -2
- package/dist/types/Tag.mjs.map +1 -1
- package/dist/types/Template.mjs +1 -2
- package/dist/types/Text.mjs +1 -2
- package/dist/types/Try.mjs +1 -2
- package/dist/types/Uri.mjs +2 -3
- package/dist/types/Value.mjs +1 -2
- package/dist/utils/Convert.mjs +2 -3
- package/dist/utils/Mapper.mjs +4 -5
- package/dist/utils/Promise.mjs +1 -2
- package/dist/utils/Property.mjs +3 -4
- package/dist/utils/Sentence.mjs +1 -2
- package/dist/utils/Sentence.mjs.map +1 -1
- package/dist/utils/View.mjs +4 -5
- package/dist/validation/Contraints.mjs +2 -3
- package/dist/validation/Validate.mjs +1 -2
- package/dist/validation/When.mjs +1 -2
- package/package.json +2 -2
- package/src/types/Json.ts +2 -0
- package/dist/chunk-5AF55QCJ.mjs +0 -51
- package/dist/chunk-5AF55QCJ.mjs.map +0 -1
- package/dist/chunk-YTWFWQNB.mjs.map +0 -1
- /package/dist/{chunk-SGSU4KYT.mjs.map → chunk-2BXKHPA2.mjs.map} +0 -0
- /package/dist/{chunk-G7QSW2EB.mjs.map → chunk-3P7J7XPW.mjs.map} +0 -0
- /package/dist/{chunk-GDD652NR.mjs.map → chunk-4OQNWUOH.mjs.map} +0 -0
- /package/dist/{chunk-GVX6S54O.mjs.map → chunk-5FFXP2S2.mjs.map} +0 -0
- /package/dist/{chunk-4EVQZKMK.mjs.map → chunk-AJMFM4WW.mjs.map} +0 -0
- /package/dist/{chunk-V62IOKST.mjs.map → chunk-AQ7VCOZV.mjs.map} +0 -0
- /package/dist/{chunk-PLIJ2CRV.mjs.map → chunk-CQFW65RV.mjs.map} +0 -0
- /package/dist/{chunk-7EP6VCI3.mjs.map → chunk-DO2JKVJC.mjs.map} +0 -0
- /package/dist/{chunk-SJGDB24D.mjs.map → chunk-EDT4SIWF.mjs.map} +0 -0
- /package/dist/{chunk-WEXSGVXZ.mjs.map → chunk-FZ3RGBVB.mjs.map} +0 -0
- /package/dist/{chunk-7RIXMU5L.mjs.map → chunk-GWPYA4FN.mjs.map} +0 -0
- /package/dist/{chunk-LV7HNQ3N.mjs.map → chunk-GY5U2EMP.mjs.map} +0 -0
- /package/dist/{chunk-H6GKGVYF.mjs.map → chunk-HWJY57VM.mjs.map} +0 -0
- /package/dist/{chunk-LB7OMB5S.mjs.map → chunk-IDVKM57Y.mjs.map} +0 -0
- /package/dist/{chunk-H22IHXDC.mjs.map → chunk-IDYINFVS.mjs.map} +0 -0
- /package/dist/{chunk-4AP5H3OQ.mjs.map → chunk-IOLGWNHS.mjs.map} +0 -0
- /package/dist/{chunk-GGC4TWMF.mjs.map → chunk-IOSZQN37.mjs.map} +0 -0
- /package/dist/{chunk-FSK4W6I2.mjs.map → chunk-LPPJKRX6.mjs.map} +0 -0
- /package/dist/{chunk-O62PGEQ7.mjs.map → chunk-MDBZV377.mjs.map} +0 -0
- /package/dist/{chunk-M4UUIOW6.mjs.map → chunk-MHEEKAJP.mjs.map} +0 -0
- /package/dist/{chunk-3WOYFN2Q.mjs.map → chunk-MXVK2OXS.mjs.map} +0 -0
- /package/dist/{chunk-LD64IICE.mjs.map → chunk-OLZQGTHX.mjs.map} +0 -0
- /package/dist/{chunk-IJFQ7PRU.mjs.map → chunk-OPRP2CJ4.mjs.map} +0 -0
- /package/dist/{chunk-CLKUH5JA.mjs.map → chunk-P6WU6SWZ.mjs.map} +0 -0
- /package/dist/{chunk-7NYZAGM3.mjs.map → chunk-P76FDCQK.mjs.map} +0 -0
- /package/dist/{chunk-ZHAJLP7P.mjs.map → chunk-PLDACKJ3.mjs.map} +0 -0
- /package/dist/{chunk-EZC3HAYN.mjs.map → chunk-QCRJIUXC.mjs.map} +0 -0
- /package/dist/{chunk-3HTSHJPL.mjs.map → chunk-QXQDFZ7B.mjs.map} +0 -0
- /package/dist/{chunk-NF7FTEE7.mjs.map → chunk-S232OWAN.mjs.map} +0 -0
- /package/dist/{chunk-UDLMLGTS.mjs.map → chunk-S3VRHUDC.mjs.map} +0 -0
- /package/dist/{chunk-SP4KAT3N.mjs.map → chunk-SIEX4MPW.mjs.map} +0 -0
- /package/dist/{chunk-D54TPU6G.mjs.map → chunk-TGX44YE7.mjs.map} +0 -0
- /package/dist/{chunk-74AOBBOZ.mjs.map → chunk-TMH4PWZS.mjs.map} +0 -0
- /package/dist/{chunk-LCDQWW2Y.mjs.map → chunk-U5XK45SM.mjs.map} +0 -0
- /package/dist/{chunk-6OW7KEN5.mjs.map → chunk-U7RLT5MZ.mjs.map} +0 -0
- /package/dist/{chunk-NYTGMBLK.mjs.map → chunk-W36ZTL43.mjs.map} +0 -0
- /package/dist/{chunk-JER7KLEK.mjs.map → chunk-W4LMCXTM.mjs.map} +0 -0
- /package/dist/{chunk-I3VZW3XF.mjs.map → chunk-XBACKQ4V.mjs.map} +0 -0
- /package/dist/{chunk-L2BMMXCX.mjs.map → chunk-XDCE35QQ.mjs.map} +0 -0
- /package/dist/{chunk-6NOTDYUE.mjs.map → chunk-YD2WQWXL.mjs.map} +0 -0
- /package/dist/{chunk-ZNWOAXMK.mjs.map → chunk-YNQ6HDJA.mjs.map} +0 -0
- /package/dist/{chunk-A7OYYR2S.mjs.map → chunk-ZBIJKCDP.mjs.map} +0 -0
- /package/dist/{chunk-WUFQM7VZ.mjs.map → chunk-ZVTPK2NJ.mjs.map} +0 -0
package/dist/sql/Table.mjs
CHANGED
|
@@ -1,44 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Update
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-S232OWAN.mjs";
|
|
4
4
|
import {
|
|
5
5
|
Count
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-U5XK45SM.mjs";
|
|
7
7
|
import {
|
|
8
8
|
Delete
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-MXVK2OXS.mjs";
|
|
10
10
|
import {
|
|
11
11
|
Insert
|
|
12
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-3P7J7XPW.mjs";
|
|
13
13
|
import {
|
|
14
14
|
Join
|
|
15
15
|
} from "../chunk-OQNZEKWO.mjs";
|
|
16
16
|
import {
|
|
17
17
|
Select
|
|
18
|
-
} from "../chunk-
|
|
19
|
-
import "../chunk-
|
|
18
|
+
} from "../chunk-5FFXP2S2.mjs";
|
|
19
|
+
import "../chunk-MDBZV377.mjs";
|
|
20
20
|
import {
|
|
21
21
|
Mapper,
|
|
22
22
|
mappings
|
|
23
|
-
} from "../chunk-
|
|
23
|
+
} from "../chunk-44GVWK5Q.mjs";
|
|
24
24
|
import "../chunk-35PSIDGU.mjs";
|
|
25
25
|
import {
|
|
26
26
|
Column
|
|
27
|
-
} from "../chunk-
|
|
28
|
-
import "../chunk-
|
|
27
|
+
} from "../chunk-W4LMCXTM.mjs";
|
|
28
|
+
import "../chunk-EDT4SIWF.mjs";
|
|
29
29
|
import {
|
|
30
30
|
toUuid
|
|
31
31
|
} from "../chunk-AKYA7FHU.mjs";
|
|
32
32
|
import {
|
|
33
33
|
Database
|
|
34
|
-
} from "../chunk-
|
|
35
|
-
import "../chunk-
|
|
36
|
-
import "../chunk-
|
|
34
|
+
} from "../chunk-SIEX4MPW.mjs";
|
|
35
|
+
import "../chunk-CQFW65RV.mjs";
|
|
36
|
+
import "../chunk-W36ZTL43.mjs";
|
|
37
37
|
import {
|
|
38
38
|
toList
|
|
39
|
-
} from "../chunk-
|
|
39
|
+
} from "../chunk-GZ4W5NPB.mjs";
|
|
40
40
|
import "../chunk-CMRS457E.mjs";
|
|
41
|
-
import "../chunk-5AF55QCJ.mjs";
|
|
42
41
|
import "../chunk-JXJ5LRH3.mjs";
|
|
43
42
|
import "../chunk-4QX4EMLL.mjs";
|
|
44
43
|
import "../chunk-SJGQU3OG.mjs";
|
package/dist/sql/Table.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/sql/Table.ts"],"sourcesContent":["import { Column } from './Column';\nimport { MapOptions, Mapper, mappings, PropertyOptions } from '../utils';\nimport { Database } from '../data';\nimport { Json, toList, toUuid } from '../types';\nimport { Select } from './Select';\nimport { Insert } from './Insert';\nimport { Update } from './Update';\nimport { Delete } from './Delete';\nimport { Join } from './Join';\nimport { Count } from './Count';\n\nexport class Table extends Mapper {\n protected readonly map = {\n ...mappings,\n column: <T = unknown>(name: string, options?: PropertyOptions<T>): Column => new Column(this, name, options),\n };\n\n readonly id = this.map.column('', { dflt: toUuid });\n\n constructor(options: MapOptions = { startFrom: 'source' }) {\n super(options);\n }\n\n get db(): Database {\n return Database.Default;\n }\n\n get count(): Count {\n return new Count(this);\n }\n\n /**\n * @deprecated Deprecated since version 6.2. Please use map.column instead.\n */\n prop = <T = unknown>(name: string, options?: PropertyOptions<T>): Column => this.map.column(name, options);\n\n select = (...columns: Column[]): Select => new Select(this, toList(columns));\n\n insert = (fields: Json): Insert => new Insert(this, this.out(fields));\n update = (fields: Json): Update => new Update(this, this.out(fields));\n delete = (): Delete => new Delete(this, toList());\n\n readonly join = (t: Table): Join => new Join(this, t);\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/sql/Table.ts"],"sourcesContent":["import { Column } from './Column';\nimport { MapOptions, Mapper, mappings, PropertyOptions } from '../utils';\nimport { Database } from '../data';\nimport { Json, toList, toUuid } from '../types';\nimport { Select } from './Select';\nimport { Insert } from './Insert';\nimport { Update } from './Update';\nimport { Delete } from './Delete';\nimport { Join } from './Join';\nimport { Count } from './Count';\n\nexport class Table extends Mapper {\n protected readonly map = {\n ...mappings,\n column: <T = unknown>(name: string, options?: PropertyOptions<T>): Column => new Column(this, name, options),\n };\n\n readonly id = this.map.column('', { dflt: toUuid });\n\n constructor(options: MapOptions = { startFrom: 'source' }) {\n super(options);\n }\n\n get db(): Database {\n return Database.Default;\n }\n\n get count(): Count {\n return new Count(this);\n }\n\n /**\n * @deprecated Deprecated since version 6.2. Please use map.column instead.\n */\n prop = <T = unknown>(name: string, options?: PropertyOptions<T>): Column => this.map.column(name, options);\n\n select = (...columns: Column[]): Select => new Select(this, toList(columns));\n\n insert = (fields: Json): Insert => new Insert(this, this.out(fields));\n update = (fields: Json): Update => new Update(this, this.out(fields));\n delete = (): Delete => new Delete(this, toList());\n\n readonly join = (t: Table): Join => new Join(this, t);\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAWO,IAAM,QAAN,cAAoB,OAAO;AAAA,EACb,MAAM;AAAA,IACvB,GAAG;AAAA,IACH,QAAQ,CAAc,MAAc,YAAyC,IAAI,OAAO,MAAM,MAAM,OAAO;AAAA,EAC7G;AAAA,EAES,KAAK,KAAK,IAAI,OAAO,IAAI,EAAE,MAAM,OAAO,CAAC;AAAA,EAElD,YAAY,UAAsB,EAAE,WAAW,SAAS,GAAG;AACzD,UAAM,OAAO;AAAA,EACf;AAAA,EAEA,IAAI,KAAe;AACjB,WAAO,SAAS;AAAA,EAClB;AAAA,EAEA,IAAI,QAAe;AACjB,WAAO,IAAI,MAAM,IAAI;AAAA,EACvB;AAAA;AAAA;AAAA;AAAA,EAKA,OAAO,CAAc,MAAc,YAAyC,KAAK,IAAI,OAAO,MAAM,OAAO;AAAA,EAEzG,SAAS,IAAI,YAA8B,IAAI,OAAO,MAAM,OAAO,OAAO,CAAC;AAAA,EAE3E,SAAS,CAAC,WAAyB,IAAI,OAAO,MAAM,KAAK,IAAI,MAAM,CAAC;AAAA,EACpE,SAAS,CAAC,WAAyB,IAAI,OAAO,MAAM,KAAK,IAAI,MAAM,CAAC;AAAA,EACpE,SAAS,MAAc,IAAI,OAAO,MAAM,OAAO,CAAC;AAAA,EAEvC,OAAO,CAAC,MAAmB,IAAI,KAAK,MAAM,CAAC;AACtD;","names":[]}
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Gateway
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-S3VRHUDC.mjs";
|
|
4
4
|
import {
|
|
5
5
|
toPageList
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-P76FDCQK.mjs";
|
|
7
7
|
import {
|
|
8
8
|
when
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-GZ4W5NPB.mjs";
|
|
10
10
|
import "../chunk-CMRS457E.mjs";
|
|
11
|
-
import "../chunk-5AF55QCJ.mjs";
|
|
12
11
|
import {
|
|
13
12
|
ifDefined
|
|
14
13
|
} from "../chunk-JXJ5LRH3.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/sql/TableGateway.ts"],"sourcesContent":["import { Gateway, Id, isDefined, Json, Optional, PageList, PageOptions, toPageList } from '../types';\nimport { QueryProvider } from '../data';\nimport { when } from '../validation';\nimport { ifDefined } from '../utils';\nimport { Table } from './Table';\n\nexport type TableOptions = PageOptions & { provider?: QueryProvider };\n\nexport class TableGateway<T extends Table> extends Gateway<PageOptions> {\n constructor(readonly table: T, readonly provider = table.db.provide<QueryProvider>()) {\n super();\n }\n\n protected provide = ({ provider }: TableOptions = {}): QueryProvider => provider ?? this.provider;\n\n all(options?: TableOptions): Promise<PageList<Json>> {\n return this.provide(options)\n .query(this.table.select())\n .then(js =>\n toPageList(\n js.map(j => this.table.in(j)),\n options\n )\n );\n }\n\n byId(id: Id, options?: TableOptions): Promise<Optional<Json>> {\n return this.provide(options)\n .query(this.table.select().where(this.table.id.is(id)))\n .then(js => js.first())\n .then(j => ifDefined(j, this.table.in(j)));\n }\n\n exists(id: Id, options?: TableOptions): Promise<boolean> {\n return this.byId(id).then(j => isDefined(j));\n }\n\n add(item: Json, options?: TableOptions): Promise<Json> {\n return this.provide(options)\n .query(this.table.insert(item))\n .then(js => when(js.first()).not.isDefined.reject(`Could not add items with id ${item.id}`))\n .then(j => this.table.in(j));\n }\n\n remove(id: Id, options?: TableOptions): Promise<boolean> {\n return this.provide(options)\n .command(this.table.delete().where(this.table.id.is(id)))\n .then(() => true);\n }\n\n update(item: Json, options?: TableOptions): Promise<Json> {\n return this.provide(options)\n .query(this.table.update(item).where(this.table.id.is(item.id)))\n .then(js => when(js.first()).not.isDefined.reject(`Could not update item with id ${item.id}`))\n .then(j => this.table.in(j));\n }\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/sql/TableGateway.ts"],"sourcesContent":["import { Gateway, Id, isDefined, Json, Optional, PageList, PageOptions, toPageList } from '../types';\nimport { QueryProvider } from '../data';\nimport { when } from '../validation';\nimport { ifDefined } from '../utils';\nimport { Table } from './Table';\n\nexport type TableOptions = PageOptions & { provider?: QueryProvider };\n\nexport class TableGateway<T extends Table> extends Gateway<PageOptions> {\n constructor(readonly table: T, readonly provider = table.db.provide<QueryProvider>()) {\n super();\n }\n\n protected provide = ({ provider }: TableOptions = {}): QueryProvider => provider ?? this.provider;\n\n all(options?: TableOptions): Promise<PageList<Json>> {\n return this.provide(options)\n .query(this.table.select())\n .then(js =>\n toPageList(\n js.map(j => this.table.in(j)),\n options\n )\n );\n }\n\n byId(id: Id, options?: TableOptions): Promise<Optional<Json>> {\n return this.provide(options)\n .query(this.table.select().where(this.table.id.is(id)))\n .then(js => js.first())\n .then(j => ifDefined(j, this.table.in(j)));\n }\n\n exists(id: Id, options?: TableOptions): Promise<boolean> {\n return this.byId(id).then(j => isDefined(j));\n }\n\n add(item: Json, options?: TableOptions): Promise<Json> {\n return this.provide(options)\n .query(this.table.insert(item))\n .then(js => when(js.first()).not.isDefined.reject(`Could not add items with id ${item.id}`))\n .then(j => this.table.in(j));\n }\n\n remove(id: Id, options?: TableOptions): Promise<boolean> {\n return this.provide(options)\n .command(this.table.delete().where(this.table.id.is(id)))\n .then(() => true);\n }\n\n update(item: Json, options?: TableOptions): Promise<Json> {\n return this.provide(options)\n .query(this.table.update(item).where(this.table.id.is(item.id)))\n .then(js => when(js.first()).not.isDefined.reject(`Could not update item with id ${item.id}`))\n .then(j => this.table.in(j));\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAQO,IAAM,eAAN,cAA4C,QAAqB;AAAA,EACtE,YAAqB,OAAmB,WAAW,MAAM,GAAG,QAAuB,GAAG;AACpF,UAAM;AADa;AAAmB;AAAA,EAExC;AAAA,EAEU,UAAU,CAAC,EAAE,SAAS,IAAkB,CAAC,MAAqB,YAAY,KAAK;AAAA,EAEzF,IAAI,SAAiD;AACnD,WAAO,KAAK,QAAQ,OAAO,EACxB,MAAM,KAAK,MAAM,OAAO,CAAC,EACzB;AAAA,MAAK,QACJ;AAAA,QACE,GAAG,IAAI,OAAK,KAAK,MAAM,GAAG,CAAC,CAAC;AAAA,QAC5B;AAAA,MACF;AAAA,IACF;AAAA,EACJ;AAAA,EAEA,KAAK,IAAQ,SAAiD;AAC5D,WAAO,KAAK,QAAQ,OAAO,EACxB,MAAM,KAAK,MAAM,OAAO,EAAE,MAAM,KAAK,MAAM,GAAG,GAAG,EAAE,CAAC,CAAC,EACrD,KAAK,QAAM,GAAG,MAAM,CAAC,EACrB,KAAK,OAAK,UAAU,GAAG,KAAK,MAAM,GAAG,CAAC,CAAC,CAAC;AAAA,EAC7C;AAAA,EAEA,OAAO,IAAQ,SAA0C;AACvD,WAAO,KAAK,KAAK,EAAE,EAAE,KAAK,OAAK,UAAU,CAAC,CAAC;AAAA,EAC7C;AAAA,EAEA,IAAI,MAAY,SAAuC;AACrD,WAAO,KAAK,QAAQ,OAAO,EACxB,MAAM,KAAK,MAAM,OAAO,IAAI,CAAC,EAC7B,KAAK,QAAM,KAAK,GAAG,MAAM,CAAC,EAAE,IAAI,UAAU,OAAO,+BAA+B,KAAK,EAAE,EAAE,CAAC,EAC1F,KAAK,OAAK,KAAK,MAAM,GAAG,CAAC,CAAC;AAAA,EAC/B;AAAA,EAEA,OAAO,IAAQ,SAA0C;AACvD,WAAO,KAAK,QAAQ,OAAO,EACxB,QAAQ,KAAK,MAAM,OAAO,EAAE,MAAM,KAAK,MAAM,GAAG,GAAG,EAAE,CAAC,CAAC,EACvD,KAAK,MAAM,IAAI;AAAA,EACpB;AAAA,EAEA,OAAO,MAAY,SAAuC;AACxD,WAAO,KAAK,QAAQ,OAAO,EACxB,MAAM,KAAK,MAAM,OAAO,IAAI,EAAE,MAAM,KAAK,MAAM,GAAG,GAAG,KAAK,EAAE,CAAC,CAAC,EAC9D,KAAK,QAAM,KAAK,GAAG,MAAM,CAAC,EAAE,IAAI,UAAU,OAAO,iCAAiC,KAAK,EAAE,EAAE,CAAC,EAC5F,KAAK,OAAK,KAAK,MAAM,GAAG,CAAC,CAAC;AAAA,EAC/B;AACF;","names":[]}
|
package/dist/sql/Update.mjs
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Update
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-S232OWAN.mjs";
|
|
4
|
+
import "../chunk-MDBZV377.mjs";
|
|
5
|
+
import "../chunk-EDT4SIWF.mjs";
|
|
6
|
+
import "../chunk-W36ZTL43.mjs";
|
|
7
|
+
import "../chunk-GZ4W5NPB.mjs";
|
|
8
8
|
import "../chunk-CMRS457E.mjs";
|
|
9
|
-
import "../chunk-5AF55QCJ.mjs";
|
|
10
9
|
import "../chunk-JXJ5LRH3.mjs";
|
|
11
10
|
import "../chunk-4QX4EMLL.mjs";
|
|
12
11
|
import "../chunk-SJGQU3OG.mjs";
|
package/dist/types/Builder.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/types/Builder.ts"],"sourcesContent":["import { Constructor } from './Constructor';\nimport { asString } from './Text';\n\nclass builder {\n private static state: any = {};\n static singleton = <T>(ctr: Constructor<T>, ...args: any[]): T => builder.state[asString(ctr)] ?? (builder.state[asString(ctr)] = new ctr(...args));\n static reset = (): void => {\n builder.state = {};\n };\n}\n\nexport const build = {\n singleton: <T>(ctr: Constructor<T>, ...args: any[]): T => builder.singleton(ctr, ...args),\n reset: (): void => builder.reset(),\n};\n\nexport const singleton = <T>(ctr: Constructor<T>, ...args: any[]): T => build.singleton(ctr, ...args);\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/types/Builder.ts"],"sourcesContent":["import { Constructor } from './Constructor';\nimport { asString } from './Text';\n\nclass builder {\n private static state: any = {};\n static singleton = <T>(ctr: Constructor<T>, ...args: any[]): T => builder.state[asString(ctr)] ?? (builder.state[asString(ctr)] = new ctr(...args));\n static reset = (): void => {\n builder.state = {};\n };\n}\n\nexport const build = {\n singleton: <T>(ctr: Constructor<T>, ...args: any[]): T => builder.singleton(ctr, ...args),\n reset: (): void => builder.reset(),\n};\n\nexport const singleton = <T>(ctr: Constructor<T>, ...args: any[]): T => build.singleton(ctr, ...args);\n"],"mappings":";;;;;;;;;;;;;;;AAGA,IAAM,UAAN,MAAM,SAAQ;AAAA,EACZ,OAAe,QAAa,CAAC;AAAA,EAC7B,OAAO,YAAY,CAAI,QAAwB,SAAmB,SAAQ,MAAM,SAAS,GAAG,CAAC,MAAM,SAAQ,MAAM,SAAS,GAAG,CAAC,IAAI,IAAI,IAAI,GAAG,IAAI;AAAA,EACjJ,OAAO,QAAQ,MAAY;AACzB,aAAQ,QAAQ,CAAC;AAAA,EACnB;AACF;AAEO,IAAM,QAAQ;AAAA,EACnB,WAAW,CAAI,QAAwB,SAAmB,QAAQ,UAAU,KAAK,GAAG,IAAI;AAAA,EACxF,OAAO,MAAY,QAAQ,MAAM;AACnC;AAEO,IAAM,YAAY,CAAI,QAAwB,SAAmB,MAAM,UAAU,KAAK,GAAG,IAAI;","names":[]}
|
package/dist/types/Cache.mjs
CHANGED
package/dist/types/Cache.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/types/Cache.ts"],"sourcesContent":["import { Func } from './Func';\nimport { CacheAge } from './CacheAge';\nimport { Construct } from './Constructor';\nimport { meta } from './Meta';\n\nexport interface Store<To = any, From = any> {\n execute: (fetch: From, f: Func<Promise<To>, From>) => Promise<To>;\n}\n\nexport type CacheOptions = {\n expiresIn?: CacheAge;\n store?: Construct<Store>;\n};\n\nexport const toCacheOptions = (co: Partial<CacheOptions>): CacheOptions => ({\n expiresIn: co.expiresIn ?? '5m',\n store: co.store,\n});\n\nexport const cache =\n (options: Partial<CacheOptions>): ClassDecorator =>\n (subject: unknown): void => {\n meta(subject).set('cache', toCacheOptions(options));\n };\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/types/Cache.ts"],"sourcesContent":["import { Func } from './Func';\nimport { CacheAge } from './CacheAge';\nimport { Construct } from './Constructor';\nimport { meta } from './Meta';\n\nexport interface Store<To = any, From = any> {\n execute: (fetch: From, f: Func<Promise<To>, From>) => Promise<To>;\n}\n\nexport type CacheOptions = {\n expiresIn?: CacheAge;\n store?: Construct<Store>;\n};\n\nexport const toCacheOptions = (co: Partial<CacheOptions>): CacheOptions => ({\n expiresIn: co.expiresIn ?? '5m',\n store: co.store,\n});\n\nexport const cache =\n (options: Partial<CacheOptions>): ClassDecorator =>\n (subject: unknown): void => {\n meta(subject).set('cache', toCacheOptions(options));\n };\n"],"mappings":";;;;;;;;;;;;;;;AAcO,IAAM,iBAAiB,CAAC,QAA6C;AAAA,EAC1E,WAAW,GAAG,aAAa;AAAA,EAC3B,OAAO,GAAG;AACZ;AAEO,IAAM,QACX,CAAC,YACD,CAAC,YAA2B;AAC1B,OAAK,OAAO,EAAE,IAAI,SAAS,eAAe,OAAO,CAAC;AACpD;","names":[]}
|
package/dist/types/CacheAge.mjs
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cacheAge
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-2BXKHPA2.mjs";
|
|
4
|
+
import "../chunk-HWJY57VM.mjs";
|
|
5
|
+
import "../chunk-GZ4W5NPB.mjs";
|
|
6
6
|
import "../chunk-CMRS457E.mjs";
|
|
7
|
-
import "../chunk-5AF55QCJ.mjs";
|
|
8
7
|
import "../chunk-JXJ5LRH3.mjs";
|
|
9
8
|
import "../chunk-4QX4EMLL.mjs";
|
|
10
9
|
import "../chunk-SJGQU3OG.mjs";
|
package/dist/types/Case.mjs
CHANGED
package/dist/types/Context.mjs
CHANGED
|
@@ -4,9 +4,8 @@ import {
|
|
|
4
4
|
Context,
|
|
5
5
|
DotEnvContext,
|
|
6
6
|
ctx
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-GZ4W5NPB.mjs";
|
|
8
8
|
import "../chunk-CMRS457E.mjs";
|
|
9
|
-
import "../chunk-5AF55QCJ.mjs";
|
|
10
9
|
import "../chunk-JXJ5LRH3.mjs";
|
|
11
10
|
import "../chunk-4QX4EMLL.mjs";
|
|
12
11
|
import "../chunk-SJGQU3OG.mjs";
|
package/dist/types/Enum.mjs
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Enum,
|
|
3
3
|
isEnum
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-GZ4W5NPB.mjs";
|
|
5
5
|
import "../chunk-CMRS457E.mjs";
|
|
6
|
-
import "../chunk-5AF55QCJ.mjs";
|
|
7
6
|
import "../chunk-JXJ5LRH3.mjs";
|
|
8
7
|
import "../chunk-4QX4EMLL.mjs";
|
|
9
8
|
import "../chunk-SJGQU3OG.mjs";
|
package/dist/types/Exception.mjs
CHANGED
|
@@ -2,9 +2,8 @@ import {
|
|
|
2
2
|
Exception,
|
|
3
3
|
isDoesNotExist,
|
|
4
4
|
isException
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-GZ4W5NPB.mjs";
|
|
6
6
|
import "../chunk-CMRS457E.mjs";
|
|
7
|
-
import "../chunk-5AF55QCJ.mjs";
|
|
8
7
|
import "../chunk-JXJ5LRH3.mjs";
|
|
9
8
|
import "../chunk-4QX4EMLL.mjs";
|
|
10
9
|
import "../chunk-SJGQU3OG.mjs";
|
package/dist/types/Gateway.mjs
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Gateway
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-S3VRHUDC.mjs";
|
|
4
|
+
import "../chunk-GZ4W5NPB.mjs";
|
|
5
5
|
import "../chunk-CMRS457E.mjs";
|
|
6
|
-
import "../chunk-5AF55QCJ.mjs";
|
|
7
6
|
import "../chunk-JXJ5LRH3.mjs";
|
|
8
7
|
import "../chunk-4QX4EMLL.mjs";
|
|
9
8
|
import "../chunk-SJGQU3OG.mjs";
|
package/dist/types/IsEqual.mjs
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isEqual
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-IDYINFVS.mjs";
|
|
4
|
+
import "../chunk-GZ4W5NPB.mjs";
|
|
5
5
|
import "../chunk-CMRS457E.mjs";
|
|
6
|
-
import "../chunk-5AF55QCJ.mjs";
|
|
7
6
|
import "../chunk-JXJ5LRH3.mjs";
|
|
8
7
|
import "../chunk-4QX4EMLL.mjs";
|
|
9
8
|
import "../chunk-SJGQU3OG.mjs";
|
package/dist/types/Json.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ export declare const json: {
|
|
|
14
14
|
set: <T_2 extends Json = Json>(subject: T_2, key?: string, value?: unknown) => T_2;
|
|
15
15
|
omit: <T_3 extends Json = Json>(subject: T_3, ...keys: string[]) => T_3;
|
|
16
16
|
defaults: <T_4 extends Json = Json>(options?: Partial<T_4>, defaults?: Partial<T_4>) => T_4;
|
|
17
|
+
isSubset: (subject: Json, subset: Json) => boolean;
|
|
17
18
|
};
|
|
18
19
|
export declare const toJson: (...subjects: unknown[]) => Json;
|
|
19
20
|
export declare const asJson: (j?: unknown, alt?: Get<Json>) => Json;
|
package/dist/types/Json.mjs
CHANGED
|
@@ -4,10 +4,12 @@ import {
|
|
|
4
4
|
isJson,
|
|
5
5
|
json,
|
|
6
6
|
toJson
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-GZ4W5NPB.mjs";
|
|
8
|
+
import "../chunk-CMRS457E.mjs";
|
|
8
9
|
import "../chunk-JXJ5LRH3.mjs";
|
|
9
10
|
import "../chunk-4QX4EMLL.mjs";
|
|
10
11
|
import "../chunk-SJGQU3OG.mjs";
|
|
12
|
+
import "../chunk-FAAERRP2.mjs";
|
|
11
13
|
import "../chunk-GI5TZOAG.mjs";
|
|
12
14
|
import "../chunk-PSIJUWZT.mjs";
|
|
13
15
|
import "../chunk-PIRWVOO2.mjs";
|
package/dist/types/List.mjs
CHANGED
|
@@ -5,9 +5,8 @@ import {
|
|
|
5
5
|
maxValue,
|
|
6
6
|
minValue,
|
|
7
7
|
toList
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-GZ4W5NPB.mjs";
|
|
9
9
|
import "../chunk-CMRS457E.mjs";
|
|
10
|
-
import "../chunk-5AF55QCJ.mjs";
|
|
11
10
|
import "../chunk-JXJ5LRH3.mjs";
|
|
12
11
|
import "../chunk-4QX4EMLL.mjs";
|
|
13
12
|
import "../chunk-SJGQU3OG.mjs";
|
package/dist/types/Meta.mjs
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
entries,
|
|
3
3
|
meta
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-GZ4W5NPB.mjs";
|
|
5
5
|
import "../chunk-CMRS457E.mjs";
|
|
6
|
-
import "../chunk-5AF55QCJ.mjs";
|
|
7
6
|
import "../chunk-JXJ5LRH3.mjs";
|
|
8
7
|
import "../chunk-4QX4EMLL.mjs";
|
|
9
8
|
import "../chunk-SJGQU3OG.mjs";
|
package/dist/types/Number.mjs
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
asNumber
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-HWJY57VM.mjs";
|
|
4
|
+
import "../chunk-GZ4W5NPB.mjs";
|
|
5
5
|
import "../chunk-CMRS457E.mjs";
|
|
6
|
-
import "../chunk-5AF55QCJ.mjs";
|
|
7
6
|
import "../chunk-JXJ5LRH3.mjs";
|
|
8
7
|
import "../chunk-4QX4EMLL.mjs";
|
|
9
8
|
import "../chunk-SJGQU3OG.mjs";
|
package/dist/types/PageList.mjs
CHANGED
|
@@ -5,10 +5,9 @@ import {
|
|
|
5
5
|
toFilter,
|
|
6
6
|
toPageList,
|
|
7
7
|
toShortFilter
|
|
8
|
-
} from "../chunk-
|
|
9
|
-
import "../chunk-
|
|
8
|
+
} from "../chunk-P76FDCQK.mjs";
|
|
9
|
+
import "../chunk-GZ4W5NPB.mjs";
|
|
10
10
|
import "../chunk-CMRS457E.mjs";
|
|
11
|
-
import "../chunk-5AF55QCJ.mjs";
|
|
12
11
|
import "../chunk-JXJ5LRH3.mjs";
|
|
13
12
|
import "../chunk-4QX4EMLL.mjs";
|
|
14
13
|
import "../chunk-SJGQU3OG.mjs";
|
package/dist/types/Parser.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/types/Parser.ts"],"sourcesContent":["import { Get, ofGet, Predicate } from './Get';\nimport { isDefined, isEmpty, isIn, isObject, isString, isTrue } from './Is';\nimport { isValid } from '../validation';\nimport { Constructor, on } from './Constructor';\nimport { toArray } from './Array';\n\nexport class Parser<T, V> {\n if = {\n equals: (pred?: Predicate<T>): this => this.evaluate(isTrue, pred),\n empty: <U>(pred?: Get<U, T>): this => this.evaluate(isEmpty, pred),\n defined: <U>(pred?: Get<U, T>): this => this.evaluate(isDefined, pred),\n valid: <U>(pred?: Get<U, T>): this => this.evaluate(isValid, pred),\n in: (...items: T[]): this => this.evaluate(() => isIn(this.value, toArray(...items))),\n is: {\n object: <U>(pred?: Get<U, T>): this => this.evaluate(isObject, pred),\n string: <U>(pred?: Get<U, T>): this => this.evaluate(isString, pred),\n instance: <U>(c: Constructor<U>, pred?: Get<U, T>): this => this.evaluate(() => this.value instanceof c, pred),\n },\n not: {\n empty: <U>(pred?: Get<U, T>): this => this.evaluateNot(isEmpty, pred),\n defined: <U>(pred?: Get<U, T>): this => this.evaluateNot(isDefined, pred),\n valid: <U>(pred?: Get<U, T>): this => this.evaluateNot(isValid, pred),\n isObject: <U>(pred?: Get<U, T>): this => this.evaluateNot(isObject, pred),\n in: (...items: T[]): this => this.evaluate(() => !isIn(this.value, toArray(...items))),\n is: {\n object: <U>(pred?: Get<U, T>): this => this.evaluateNot(isObject, pred),\n string: <U>(pred?: Get<U, T>): this => this.evaluateNot(isString, pred),\n instance: <U>(c: Constructor<U>, pred?: Get<U, T>): this => this.evaluate(() => !(this.value instanceof c), pred),\n },\n },\n };\n\n constructor(\n protected value: T,\n protected valid = true\n ) {}\n\n protected evaluate<U>(meta: Get<boolean>, pred?: Get<U, T>): this {\n return on(this, t => (t.valid = ofGet(meta, pred ? ofGet(pred, this.value) : this.value)));\n }\n\n protected evaluateNot<U>(meta: Get<boolean>, pred?: Get<U, T>): this {\n return on(this, t => (t.valid = !ofGet(meta, pred ? ofGet(pred, this.value) : this.value)));\n }\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/types/Parser.ts"],"sourcesContent":["import { Get, ofGet, Predicate } from './Get';\nimport { isDefined, isEmpty, isIn, isObject, isString, isTrue } from './Is';\nimport { isValid } from '../validation';\nimport { Constructor, on } from './Constructor';\nimport { toArray } from './Array';\n\nexport class Parser<T, V> {\n if = {\n equals: (pred?: Predicate<T>): this => this.evaluate(isTrue, pred),\n empty: <U>(pred?: Get<U, T>): this => this.evaluate(isEmpty, pred),\n defined: <U>(pred?: Get<U, T>): this => this.evaluate(isDefined, pred),\n valid: <U>(pred?: Get<U, T>): this => this.evaluate(isValid, pred),\n in: (...items: T[]): this => this.evaluate(() => isIn(this.value, toArray(...items))),\n is: {\n object: <U>(pred?: Get<U, T>): this => this.evaluate(isObject, pred),\n string: <U>(pred?: Get<U, T>): this => this.evaluate(isString, pred),\n instance: <U>(c: Constructor<U>, pred?: Get<U, T>): this => this.evaluate(() => this.value instanceof c, pred),\n },\n not: {\n empty: <U>(pred?: Get<U, T>): this => this.evaluateNot(isEmpty, pred),\n defined: <U>(pred?: Get<U, T>): this => this.evaluateNot(isDefined, pred),\n valid: <U>(pred?: Get<U, T>): this => this.evaluateNot(isValid, pred),\n isObject: <U>(pred?: Get<U, T>): this => this.evaluateNot(isObject, pred),\n in: (...items: T[]): this => this.evaluate(() => !isIn(this.value, toArray(...items))),\n is: {\n object: <U>(pred?: Get<U, T>): this => this.evaluateNot(isObject, pred),\n string: <U>(pred?: Get<U, T>): this => this.evaluateNot(isString, pred),\n instance: <U>(c: Constructor<U>, pred?: Get<U, T>): this => this.evaluate(() => !(this.value instanceof c), pred),\n },\n },\n };\n\n constructor(\n protected value: T,\n protected valid = true\n ) {}\n\n protected evaluate<U>(meta: Get<boolean>, pred?: Get<U, T>): this {\n return on(this, t => (t.valid = ofGet(meta, pred ? ofGet(pred, this.value) : this.value)));\n }\n\n protected evaluateNot<U>(meta: Get<boolean>, pred?: Get<U, T>): this {\n return on(this, t => (t.valid = !ofGet(meta, pred ? ofGet(pred, this.value) : this.value)));\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMO,IAAM,SAAN,MAAmB;AAAA,EA0BxB,YACY,OACA,QAAQ,MAClB;AAFU;AACA;AAAA,EACT;AAAA,EA5BH,KAAK;AAAA,IACH,QAAQ,CAAC,SAA8B,KAAK,SAAS,QAAQ,IAAI;AAAA,IACjE,OAAO,CAAI,SAA2B,KAAK,SAAS,SAAS,IAAI;AAAA,IACjE,SAAS,CAAI,SAA2B,KAAK,SAAS,WAAW,IAAI;AAAA,IACrE,OAAO,CAAI,SAA2B,KAAK,SAAS,SAAS,IAAI;AAAA,IACjE,IAAI,IAAI,UAAqB,KAAK,SAAS,MAAM,KAAK,KAAK,OAAO,QAAQ,GAAG,KAAK,CAAC,CAAC;AAAA,IACpF,IAAI;AAAA,MACF,QAAQ,CAAI,SAA2B,KAAK,SAAS,UAAU,IAAI;AAAA,MACnE,QAAQ,CAAI,SAA2B,KAAK,SAAS,UAAU,IAAI;AAAA,MACnE,UAAU,CAAI,GAAmB,SAA2B,KAAK,SAAS,MAAM,KAAK,iBAAiB,GAAG,IAAI;AAAA,IAC/G;AAAA,IACA,KAAK;AAAA,MACH,OAAO,CAAI,SAA2B,KAAK,YAAY,SAAS,IAAI;AAAA,MACpE,SAAS,CAAI,SAA2B,KAAK,YAAY,WAAW,IAAI;AAAA,MACxE,OAAO,CAAI,SAA2B,KAAK,YAAY,SAAS,IAAI;AAAA,MACpE,UAAU,CAAI,SAA2B,KAAK,YAAY,UAAU,IAAI;AAAA,MACxE,IAAI,IAAI,UAAqB,KAAK,SAAS,MAAM,CAAC,KAAK,KAAK,OAAO,QAAQ,GAAG,KAAK,CAAC,CAAC;AAAA,MACrF,IAAI;AAAA,QACF,QAAQ,CAAI,SAA2B,KAAK,YAAY,UAAU,IAAI;AAAA,QACtE,QAAQ,CAAI,SAA2B,KAAK,YAAY,UAAU,IAAI;AAAA,QACtE,UAAU,CAAI,GAAmB,SAA2B,KAAK,SAAS,MAAM,EAAE,KAAK,iBAAiB,IAAI,IAAI;AAAA,MAClH;AAAA,IACF;AAAA,EACF;AAAA,EAOU,SAAY,MAAoB,MAAwB;AAChE,WAAO,GAAG,MAAM,OAAM,EAAE,QAAQ,MAAM,MAAM,OAAO,MAAM,MAAM,KAAK,KAAK,IAAI,KAAK,KAAK,CAAE;AAAA,EAC3F;AAAA,EAEU,YAAe,MAAoB,MAAwB;AACnE,WAAO,GAAG,MAAM,OAAM,EAAE,QAAQ,CAAC,MAAM,MAAM,OAAO,MAAM,MAAM,KAAK,KAAK,IAAI,KAAK,KAAK,CAAE;AAAA,EAC5F;AACF;","names":[]}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Repository
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-PLDACKJ3.mjs";
|
|
4
|
+
import "../chunk-GZ4W5NPB.mjs";
|
|
5
5
|
import "../chunk-CMRS457E.mjs";
|
|
6
|
-
import "../chunk-5AF55QCJ.mjs";
|
|
7
6
|
import "../chunk-JXJ5LRH3.mjs";
|
|
8
7
|
import "../chunk-4QX4EMLL.mjs";
|
|
9
8
|
import "../chunk-SJGQU3OG.mjs";
|
package/dist/types/Result.mjs
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isResult,
|
|
3
3
|
toResult
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-GZ4W5NPB.mjs";
|
|
5
5
|
import "../chunk-CMRS457E.mjs";
|
|
6
|
-
import "../chunk-5AF55QCJ.mjs";
|
|
7
6
|
import "../chunk-JXJ5LRH3.mjs";
|
|
8
7
|
import "../chunk-4QX4EMLL.mjs";
|
|
9
8
|
import "../chunk-SJGQU3OG.mjs";
|
package/dist/types/Results.mjs
CHANGED
|
@@ -2,9 +2,8 @@ import {
|
|
|
2
2
|
Results,
|
|
3
3
|
isResults,
|
|
4
4
|
toResults
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-GZ4W5NPB.mjs";
|
|
6
6
|
import "../chunk-CMRS457E.mjs";
|
|
7
|
-
import "../chunk-5AF55QCJ.mjs";
|
|
8
7
|
import "../chunk-JXJ5LRH3.mjs";
|
|
9
8
|
import "../chunk-4QX4EMLL.mjs";
|
|
10
9
|
import "../chunk-SJGQU3OG.mjs";
|
package/dist/types/Tag.mjs
CHANGED
package/dist/types/Tag.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/types/Tag.ts"],"sourcesContent":["import { meta } from './Meta';\n\nexport const tag =\n (name: string): PropertyDecorator =>\n (subject: unknown, property: string | symbol): void => {\n meta(subject).property(property).set(name, property);\n };\n\nexport const searchable = (): PropertyDecorator => tag(searchable.name);\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/types/Tag.ts"],"sourcesContent":["import { meta } from './Meta';\n\nexport const tag =\n (name: string): PropertyDecorator =>\n (subject: unknown, property: string | symbol): void => {\n meta(subject).property(property).set(name, property);\n };\n\nexport const searchable = (): PropertyDecorator => tag(searchable.name);\n"],"mappings":";;;;;;;;;;;;;;;AAEO,IAAM,MACX,CAAC,SACD,CAAC,SAAkB,aAAoC;AACrD,OAAK,OAAO,EAAE,SAAS,QAAQ,EAAE,IAAI,MAAM,QAAQ;AACrD;AAEK,IAAM,aAAa,MAAyB,IAAI,WAAW,IAAI;","names":[]}
|
package/dist/types/Template.mjs
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Template,
|
|
3
3
|
template
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-GZ4W5NPB.mjs";
|
|
5
5
|
import "../chunk-CMRS457E.mjs";
|
|
6
|
-
import "../chunk-5AF55QCJ.mjs";
|
|
7
6
|
import "../chunk-JXJ5LRH3.mjs";
|
|
8
7
|
import "../chunk-4QX4EMLL.mjs";
|
|
9
8
|
import "../chunk-SJGQU3OG.mjs";
|
package/dist/types/Text.mjs
CHANGED
|
@@ -6,9 +6,8 @@ import {
|
|
|
6
6
|
replaceAll,
|
|
7
7
|
text,
|
|
8
8
|
toWords
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-GZ4W5NPB.mjs";
|
|
10
10
|
import "../chunk-CMRS457E.mjs";
|
|
11
|
-
import "../chunk-5AF55QCJ.mjs";
|
|
12
11
|
import "../chunk-JXJ5LRH3.mjs";
|
|
13
12
|
import "../chunk-4QX4EMLL.mjs";
|
|
14
13
|
import "../chunk-SJGQU3OG.mjs";
|
package/dist/types/Try.mjs
CHANGED
package/dist/types/Uri.mjs
CHANGED
|
@@ -2,10 +2,9 @@ import {
|
|
|
2
2
|
EasyUri,
|
|
3
3
|
toSegment,
|
|
4
4
|
uri
|
|
5
|
-
} from "../chunk-
|
|
6
|
-
import "../chunk-
|
|
5
|
+
} from "../chunk-4OQNWUOH.mjs";
|
|
6
|
+
import "../chunk-GZ4W5NPB.mjs";
|
|
7
7
|
import "../chunk-CMRS457E.mjs";
|
|
8
|
-
import "../chunk-5AF55QCJ.mjs";
|
|
9
8
|
import "../chunk-JXJ5LRH3.mjs";
|
|
10
9
|
import "../chunk-4QX4EMLL.mjs";
|
|
11
10
|
import "../chunk-SJGQU3OG.mjs";
|
package/dist/types/Value.mjs
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Value,
|
|
3
3
|
isValue
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-GZ4W5NPB.mjs";
|
|
5
5
|
import "../chunk-CMRS457E.mjs";
|
|
6
|
-
import "../chunk-5AF55QCJ.mjs";
|
|
7
6
|
import "../chunk-JXJ5LRH3.mjs";
|
|
8
7
|
import "../chunk-4QX4EMLL.mjs";
|
|
9
8
|
import "../chunk-SJGQU3OG.mjs";
|
package/dist/utils/Convert.mjs
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Convert,
|
|
3
3
|
convert
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-W36ZTL43.mjs";
|
|
5
|
+
import "../chunk-GZ4W5NPB.mjs";
|
|
6
6
|
import "../chunk-CMRS457E.mjs";
|
|
7
|
-
import "../chunk-5AF55QCJ.mjs";
|
|
8
7
|
import "../chunk-JXJ5LRH3.mjs";
|
|
9
8
|
import "../chunk-4QX4EMLL.mjs";
|
|
10
9
|
import "../chunk-SJGQU3OG.mjs";
|
package/dist/utils/Mapper.mjs
CHANGED
|
@@ -2,13 +2,12 @@ import {
|
|
|
2
2
|
Mapper,
|
|
3
3
|
isMapping,
|
|
4
4
|
mappings
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-44GVWK5Q.mjs";
|
|
6
6
|
import "../chunk-35PSIDGU.mjs";
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-CQFW65RV.mjs";
|
|
8
|
+
import "../chunk-W36ZTL43.mjs";
|
|
9
|
+
import "../chunk-GZ4W5NPB.mjs";
|
|
10
10
|
import "../chunk-CMRS457E.mjs";
|
|
11
|
-
import "../chunk-5AF55QCJ.mjs";
|
|
12
11
|
import "../chunk-JXJ5LRH3.mjs";
|
|
13
12
|
import "../chunk-4QX4EMLL.mjs";
|
|
14
13
|
import "../chunk-SJGQU3OG.mjs";
|
package/dist/utils/Promise.mjs
CHANGED
|
@@ -6,9 +6,8 @@ import {
|
|
|
6
6
|
tuple3,
|
|
7
7
|
tuple4,
|
|
8
8
|
tuple5
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-GZ4W5NPB.mjs";
|
|
10
10
|
import "../chunk-CMRS457E.mjs";
|
|
11
|
-
import "../chunk-5AF55QCJ.mjs";
|
|
12
11
|
import "../chunk-JXJ5LRH3.mjs";
|
|
13
12
|
import "../chunk-4QX4EMLL.mjs";
|
|
14
13
|
import "../chunk-SJGQU3OG.mjs";
|
package/dist/utils/Property.mjs
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Property
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-CQFW65RV.mjs";
|
|
4
|
+
import "../chunk-W36ZTL43.mjs";
|
|
5
|
+
import "../chunk-GZ4W5NPB.mjs";
|
|
6
6
|
import "../chunk-CMRS457E.mjs";
|
|
7
|
-
import "../chunk-5AF55QCJ.mjs";
|
|
8
7
|
import "../chunk-JXJ5LRH3.mjs";
|
|
9
8
|
import "../chunk-4QX4EMLL.mjs";
|
|
10
9
|
import "../chunk-SJGQU3OG.mjs";
|
package/dist/utils/Sentence.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/utils/Sentence.ts"],"sourcesContent":["import { Id, text, Text } from '../types';\n\nexport class Sentence implements Text {\n constructor(word: Text, pre?: Sentence, private sentence: Text[] = (pre?.sentence ?? []).concat(word)) {}\n\n toString(): string {\n return text(this.sentence.join(' ')).sentence.toString();\n }\n}\n\nclass Topic extends Sentence {\n it = new Sentence('it', this);\n anything = new Sentence('anything', this);\n id = (id: Id) => new Sentence(`id '${id}'`, this);\n your = (subject?: Text) => new Sentence(`your ${subject ?? 'item'}`, this);\n a = (subject?: Text) => new Sentence(subject ? `a ${subject}` : 'an item', this);\n an = (subject?: Text) => new Sentence(`an ${subject ?? 'item'}`, this);\n any = (subjects?: Text) => new Sentence(`any ${subjects ?? 'items'}`, this);\n}\n\nclass Verb extends Sentence {\n add = new Topic('add', this);\n check = new Topic('check', this);\n fetch = new Topic('fetch', this);\n find = new Topic('find', this);\n like = new Topic('like', this);\n process = new Topic('process', this);\n remove = new Topic('remove', this);\n translate = new Topic('translate', this);\n update = new Topic('update', this);\n validate = new Topic('validate', this);\n}\n\nclass Not extends Verb {}\n\nclass SupportVerb extends Verb {\n not = new Not('not', this);\n}\n\nclass We extends Sentence {\n could = new SupportVerb('could', this);\n did = new SupportVerb('did', this);\n\n added = new Topic('added', this);\n checked = new Topic('checked', this);\n fetched = new Topic('fetched', this);\n found = new Topic('found', this);\n liked = new Topic('liked', this);\n processed = new Topic('processed', this);\n removed = new Topic('removed', this);\n translated = new Topic('translated', this);\n updated = new Topic('updated', this);\n validated = new Topic('validated', this);\n}\n\nexport const we = new We('we');\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/utils/Sentence.ts"],"sourcesContent":["import { Id, text, Text } from '../types';\n\nexport class Sentence implements Text {\n constructor(word: Text, pre?: Sentence, private sentence: Text[] = (pre?.sentence ?? []).concat(word)) {}\n\n toString(): string {\n return text(this.sentence.join(' ')).sentence.toString();\n }\n}\n\nclass Topic extends Sentence {\n it = new Sentence('it', this);\n anything = new Sentence('anything', this);\n id = (id: Id) => new Sentence(`id '${id}'`, this);\n your = (subject?: Text) => new Sentence(`your ${subject ?? 'item'}`, this);\n a = (subject?: Text) => new Sentence(subject ? `a ${subject}` : 'an item', this);\n an = (subject?: Text) => new Sentence(`an ${subject ?? 'item'}`, this);\n any = (subjects?: Text) => new Sentence(`any ${subjects ?? 'items'}`, this);\n}\n\nclass Verb extends Sentence {\n add = new Topic('add', this);\n check = new Topic('check', this);\n fetch = new Topic('fetch', this);\n find = new Topic('find', this);\n like = new Topic('like', this);\n process = new Topic('process', this);\n remove = new Topic('remove', this);\n translate = new Topic('translate', this);\n update = new Topic('update', this);\n validate = new Topic('validate', this);\n}\n\nclass Not extends Verb {}\n\nclass SupportVerb extends Verb {\n not = new Not('not', this);\n}\n\nclass We extends Sentence {\n could = new SupportVerb('could', this);\n did = new SupportVerb('did', this);\n\n added = new Topic('added', this);\n checked = new Topic('checked', this);\n fetched = new Topic('fetched', this);\n found = new Topic('found', this);\n liked = new Topic('liked', this);\n processed = new Topic('processed', this);\n removed = new Topic('removed', this);\n translated = new Topic('translated', this);\n updated = new Topic('updated', this);\n validated = new Topic('validated', this);\n}\n\nexport const we = new We('we');\n"],"mappings":";;;;;;;;;;;;;;;AAEO,IAAM,WAAN,MAA+B;AAAA,EACpC,YAAY,MAAY,KAAwB,YAAoB,KAAK,YAAY,CAAC,GAAG,OAAO,IAAI,GAAG;AAAvD;AAAA,EAAwD;AAAA,EAExG,WAAmB;AACjB,WAAO,KAAK,KAAK,SAAS,KAAK,GAAG,CAAC,EAAE,SAAS,SAAS;AAAA,EACzD;AACF;AAEA,IAAM,QAAN,cAAoB,SAAS;AAAA,EAC3B,KAAK,IAAI,SAAS,MAAM,IAAI;AAAA,EAC5B,WAAW,IAAI,SAAS,YAAY,IAAI;AAAA,EACxC,KAAK,CAAC,OAAW,IAAI,SAAS,OAAO,EAAE,KAAK,IAAI;AAAA,EAChD,OAAO,CAAC,YAAmB,IAAI,SAAS,QAAQ,WAAW,MAAM,IAAI,IAAI;AAAA,EACzE,IAAI,CAAC,YAAmB,IAAI,SAAS,UAAU,KAAK,OAAO,KAAK,WAAW,IAAI;AAAA,EAC/E,KAAK,CAAC,YAAmB,IAAI,SAAS,MAAM,WAAW,MAAM,IAAI,IAAI;AAAA,EACrE,MAAM,CAAC,aAAoB,IAAI,SAAS,OAAO,YAAY,OAAO,IAAI,IAAI;AAC5E;AAEA,IAAM,OAAN,cAAmB,SAAS;AAAA,EAC1B,MAAM,IAAI,MAAM,OAAO,IAAI;AAAA,EAC3B,QAAQ,IAAI,MAAM,SAAS,IAAI;AAAA,EAC/B,QAAQ,IAAI,MAAM,SAAS,IAAI;AAAA,EAC/B,OAAO,IAAI,MAAM,QAAQ,IAAI;AAAA,EAC7B,OAAO,IAAI,MAAM,QAAQ,IAAI;AAAA,EAC7B,UAAU,IAAI,MAAM,WAAW,IAAI;AAAA,EACnC,SAAS,IAAI,MAAM,UAAU,IAAI;AAAA,EACjC,YAAY,IAAI,MAAM,aAAa,IAAI;AAAA,EACvC,SAAS,IAAI,MAAM,UAAU,IAAI;AAAA,EACjC,WAAW,IAAI,MAAM,YAAY,IAAI;AACvC;AAEA,IAAM,MAAN,cAAkB,KAAK;AAAC;AAExB,IAAM,cAAN,cAA0B,KAAK;AAAA,EAC7B,MAAM,IAAI,IAAI,OAAO,IAAI;AAC3B;AAEA,IAAM,KAAN,cAAiB,SAAS;AAAA,EACxB,QAAQ,IAAI,YAAY,SAAS,IAAI;AAAA,EACrC,MAAM,IAAI,YAAY,OAAO,IAAI;AAAA,EAEjC,QAAQ,IAAI,MAAM,SAAS,IAAI;AAAA,EAC/B,UAAU,IAAI,MAAM,WAAW,IAAI;AAAA,EACnC,UAAU,IAAI,MAAM,WAAW,IAAI;AAAA,EACnC,QAAQ,IAAI,MAAM,SAAS,IAAI;AAAA,EAC/B,QAAQ,IAAI,MAAM,SAAS,IAAI;AAAA,EAC/B,YAAY,IAAI,MAAM,aAAa,IAAI;AAAA,EACvC,UAAU,IAAI,MAAM,WAAW,IAAI;AAAA,EACnC,aAAa,IAAI,MAAM,cAAc,IAAI;AAAA,EACzC,UAAU,IAAI,MAAM,WAAW,IAAI;AAAA,EACnC,YAAY,IAAI,MAAM,aAAa,IAAI;AACzC;AAEO,IAAM,KAAK,IAAI,GAAG,IAAI;","names":[]}
|
package/dist/utils/View.mjs
CHANGED
|
@@ -4,13 +4,12 @@ import {
|
|
|
4
4
|
toViewer,
|
|
5
5
|
view,
|
|
6
6
|
views
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-XLB3EVKK.mjs";
|
|
8
8
|
import "../chunk-DICMUQFL.mjs";
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-IDYINFVS.mjs";
|
|
10
|
+
import "../chunk-P76FDCQK.mjs";
|
|
11
|
+
import "../chunk-GZ4W5NPB.mjs";
|
|
12
12
|
import "../chunk-CMRS457E.mjs";
|
|
13
|
-
import "../chunk-5AF55QCJ.mjs";
|
|
14
13
|
import "../chunk-JXJ5LRH3.mjs";
|
|
15
14
|
import "../chunk-4QX4EMLL.mjs";
|
|
16
15
|
import "../chunk-SJGQU3OG.mjs";
|
|
@@ -17,11 +17,10 @@ import {
|
|
|
17
17
|
required,
|
|
18
18
|
rule,
|
|
19
19
|
valid
|
|
20
|
-
} from "../chunk-
|
|
20
|
+
} from "../chunk-QCRJIUXC.mjs";
|
|
21
21
|
import "../chunk-ADJAEGCT.mjs";
|
|
22
|
-
import "../chunk-
|
|
22
|
+
import "../chunk-GZ4W5NPB.mjs";
|
|
23
23
|
import "../chunk-CMRS457E.mjs";
|
|
24
|
-
import "../chunk-5AF55QCJ.mjs";
|
|
25
24
|
import "../chunk-JXJ5LRH3.mjs";
|
|
26
25
|
import "../chunk-4QX4EMLL.mjs";
|
|
27
26
|
import "../chunk-SJGQU3OG.mjs";
|
|
@@ -3,9 +3,8 @@ import {
|
|
|
3
3
|
isValid,
|
|
4
4
|
validate,
|
|
5
5
|
validateReject
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-GZ4W5NPB.mjs";
|
|
7
7
|
import "../chunk-CMRS457E.mjs";
|
|
8
|
-
import "../chunk-5AF55QCJ.mjs";
|
|
9
8
|
import "../chunk-JXJ5LRH3.mjs";
|
|
10
9
|
import "../chunk-4QX4EMLL.mjs";
|
|
11
10
|
import "../chunk-SJGQU3OG.mjs";
|