@atscript/moost-wf 0.1.189 → 0.1.191
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/index.mjs +3 -0
- package/dist/store.mjs +1 -1
- package/package.json +12 -12
- package/src/store/as-wf-state.as.d.ts +1 -1
package/dist/index.mjs
CHANGED
|
@@ -112,6 +112,9 @@ const AS_UI_MESSAGES = Object.freeze({
|
|
|
112
112
|
UI_FORM_REMOVE_VALUE: "Remove {value}",
|
|
113
113
|
UI_FORM_NO_MATCHES: "No matches",
|
|
114
114
|
UI_FORM_NO_RESULTS: "No results",
|
|
115
|
+
UI_FORM_SEE_ALL: "See all",
|
|
116
|
+
UI_FORM_BROWSE: "Browse {field}",
|
|
117
|
+
UI_FORM_PICK_HINT: "Double-click a row or press Enter to pick it.",
|
|
115
118
|
UI_FORM_SWITCH: "Switch",
|
|
116
119
|
UI_FORM_SWITCH_TYPE: "Switch type — current: {type}",
|
|
117
120
|
UI_FORM_DECIMALS_OF: "decimals of {field}",
|
package/dist/store.mjs
CHANGED
|
@@ -281,7 +281,7 @@ var AsWfStateRecord = class {
|
|
|
281
281
|
}
|
|
282
282
|
};
|
|
283
283
|
$ak("db.index.fulltext", "db.index.fulltext.language", "db.index.fulltext.match", "db.index.plain", "db.index.unique", "db.view.joins", "expect.pattern", "ui.dict.attr", "ui.form.classes", "ui.form.styles", "ui.form.validate", "ui.literalLabel", "ui.table.classes", "ui.table.selectWith", "ui.table.styles", "wf.context.pass");
|
|
284
|
-
$nr("db.agg.avg", "db.agg.count", "db.agg.countDistinct", "db.agg.max", "db.agg.min", "db.agg.sum", "db.alias", "db.amount.currency.ref", "db.column", "db.column.collate", "db.column.derived", "db.column.dimension", "db.column.filterable", "db.column.measure", "db.column.precision", "db.column.renamed", "db.column.searchable", "db.column.sortable", "db.column.version", "db.column.version.exempt", "db.compute", "db.default", "db.default.increment", "db.default.now", "db.default.uuid", "db.depth.limit", "db.encrypted", "db.http.path", "db.ignore", "db.index.fulltext", "db.index.fulltext.language", "db.index.fulltext.match", "db.index.geo", "db.index.plain", "db.index.unique", "db.json", "db.onUpdate.inc", "db.onUpdate.now", "db.patch.strategy", "db.rel.FK", "db.rel.filter", "db.rel.filterable", "db.rel.from", "db.rel.onDelete", "db.rel.onUpdate", "db.rel.to", "db.rel.via", "db.schema", "db.search.filter", "db.search.vector", "db.search.vector.threshold", "db.sort.nulls", "db.space", "db.sync.method", "db.table", "db.table.filterable", "db.table.preferredId.uniqueIndex", "db.table.renamed", "db.table.sortable", "db.unit.ref", "db.view", "db.view.filter", "db.view.for", "db.view.having", "db.view.joins", "db.view.materialized", "db.view.renamed", "db.writeOnly", "meta.default", "meta.id", "meta.readonly", "meta.required", "ui.dict.attr", "ui.dict.descr", "ui.dict.filterable", "ui.dict.label", "ui.dict.searchable", "ui.dict.sortable", "ui.form.disabled", "ui.form.hidden", "ui.form.order", "ui.form.prefix.ref", "ui.form.suffix.ref", "ui.nav.group", "ui.nav.hidden", "ui.nav.order", "ui.table.exclude", "ui.table.order", "ui.table.selectWith", "wf.store.fromContext");
|
|
284
|
+
$nr("db.agg.avg", "db.agg.count", "db.agg.countDistinct", "db.agg.max", "db.agg.min", "db.agg.sum", "db.alias", "db.amount.currency.ref", "db.column", "db.column.collate", "db.column.derived", "db.column.dimension", "db.column.filterable", "db.column.measure", "db.column.precision", "db.column.renamed", "db.column.searchable", "db.column.sortable", "db.column.version", "db.column.version.exempt", "db.column.version.token", "db.compute", "db.default", "db.default.increment", "db.default.now", "db.default.store", "db.default.uuid", "db.depth.limit", "db.encrypted", "db.http.path", "db.ignore", "db.index.fulltext", "db.index.fulltext.language", "db.index.fulltext.match", "db.index.geo", "db.index.plain", "db.index.unique", "db.json", "db.onUpdate.inc", "db.onUpdate.now", "db.patch.strategy", "db.rel.FK", "db.rel.filter", "db.rel.filterable", "db.rel.from", "db.rel.onDelete", "db.rel.onUpdate", "db.rel.store", "db.rel.to", "db.rel.via", "db.schema", "db.search.filter", "db.search.vector", "db.search.vector.threshold", "db.sort.nulls", "db.space", "db.sync.method", "db.table", "db.table.filterable", "db.table.preferredId.uniqueIndex", "db.table.renamed", "db.table.sortable", "db.unit.ref", "db.view", "db.view.filter", "db.view.for", "db.view.having", "db.view.joins", "db.view.materialized", "db.view.renamed", "db.writeOnly", "meta.default", "meta.id", "meta.readonly", "meta.required", "ui.dict.attr", "ui.dict.descr", "ui.dict.filterable", "ui.dict.label", "ui.dict.searchable", "ui.dict.sortable", "ui.form.disabled", "ui.form.hidden", "ui.form.order", "ui.form.prefix.ref", "ui.form.suffix.ref", "ui.nav.group", "ui.nav.hidden", "ui.nav.order", "ui.table.exclude", "ui.table.order", "ui.table.selectWith", "ui.valueHelp.fill", "ui.valueLabel", "wf.store.fromContext");
|
|
285
285
|
defineAnnotatedType("union", JsonValue).item(defineAnnotatedType().designType("string").tags("string").$type).item(defineAnnotatedType().designType("number").tags("number").$type).item(defineAnnotatedType().designType("boolean").tags("boolean").$type).item(defineAnnotatedType().designType("null").tags("null").$type).item(defineAnnotatedType("array").of(defineAnnotatedType().ref(JsonValue).$type).$type).item(defineAnnotatedType("object").propPattern(/^.+$/, defineAnnotatedType().ref(JsonValue).$type).$type);
|
|
286
286
|
defineAnnotatedType("object", AsWfStateRecord).prop("handle", defineAnnotatedType().designType("string").tags("string").annotate("ui.table.exclude", true).annotate("db.index.unique", "handle_idx", true).annotate("expect.maxLength", { length: 256 }).$type).prop("schemaId", defineAnnotatedType().designType("string").tags("string").annotate("db.index.plain", { name: "schema_idx" }, true).annotate("expect.maxLength", { length: 256 }).$type).prop("state", defineAnnotatedType("object").prop("context", defineAnnotatedType().ref(JsonValue).$type).prop("indexes", defineAnnotatedType("array").of(defineAnnotatedType().designType("number").tags("number").$type).$type).prop("meta", defineAnnotatedType("object").propPattern(/^.+$/, defineAnnotatedType().ref(JsonValue).$type).optional().$type).annotate("ui.table.exclude", true).annotate("db.json", true).$type).prop("expiresAt", defineAnnotatedType().designType("number").tags("timestamp", "number").annotate("db.index.plain", { name: "expires_idx" }, true).annotate("expect.int", {}).optional().$type).prop("updatedAt", defineAnnotatedType().designType("number").tags("timestamp", "number").annotate("db.default.now", true).annotate("db.index.plain", { name: "updated_idx" }, true).annotate("expect.int", {}).$type).prop("createdAt", defineAnnotatedType().designType("number").tags("timestamp", "number").annotate("expect.int", {}).$type).prop("createdBy", defineAnnotatedType().designType("string").tags("string").annotate("ui.table.exclude", true).annotate("expect.maxLength", { length: 128 }).optional().$type).prop("lastUpdatedBy", defineAnnotatedType().designType("string").tags("string").annotate("ui.table.exclude", true).annotate("expect.maxLength", { length: 128 }).optional().$type);
|
|
287
287
|
//#endregion
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atscript/moost-wf",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.191",
|
|
4
4
|
"description": "Workflow form integration for moost — decorators, interceptors, and serialization driven by atscript type metadata",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"atscript",
|
|
@@ -56,11 +56,11 @@
|
|
|
56
56
|
"access": "public"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@atscript/core": "^0.2.
|
|
60
|
-
"@atscript/db": "^0.1.
|
|
61
|
-
"@atscript/db-sql-tools": "^0.1.
|
|
62
|
-
"@atscript/db-sqlite": "^0.1.
|
|
63
|
-
"@atscript/typescript": "^0.2.
|
|
59
|
+
"@atscript/core": "^0.2.23",
|
|
60
|
+
"@atscript/db": "^0.1.196",
|
|
61
|
+
"@atscript/db-sql-tools": "^0.1.196",
|
|
62
|
+
"@atscript/db-sqlite": "^0.1.196",
|
|
63
|
+
"@atscript/typescript": "^0.2.23",
|
|
64
64
|
"@moostjs/event-wf": "^0.7.11",
|
|
65
65
|
"@prostojs/wf": "^0.3.0",
|
|
66
66
|
"@uniqu/core": "^0.2.2",
|
|
@@ -69,15 +69,15 @@
|
|
|
69
69
|
"@wooksjs/event-wf": "^0.8.7",
|
|
70
70
|
"@wooksjs/http-body": "^0.8.7",
|
|
71
71
|
"moost": "^0.7.11",
|
|
72
|
-
"unplugin-atscript": "^0.2.
|
|
72
|
+
"unplugin-atscript": "^0.2.23",
|
|
73
73
|
"vitest": "npm:@voidzero-dev/vite-plus-test@0.1.14",
|
|
74
|
-
"@atscript/ui": "^0.1.
|
|
75
|
-
"@atscript/ui
|
|
74
|
+
"@atscript/ui-fns": "^0.1.191",
|
|
75
|
+
"@atscript/ui": "^0.1.191"
|
|
76
76
|
},
|
|
77
77
|
"peerDependencies": {
|
|
78
|
-
"@atscript/core": "^0.2.
|
|
79
|
-
"@atscript/db": "^0.1.
|
|
80
|
-
"@atscript/typescript": "^0.2.
|
|
78
|
+
"@atscript/core": "^0.2.23",
|
|
79
|
+
"@atscript/db": "^0.1.196",
|
|
80
|
+
"@atscript/typescript": "^0.2.23",
|
|
81
81
|
"@moostjs/event-wf": "^0.7.11",
|
|
82
82
|
"@wooksjs/event-core": "^0.8.7",
|
|
83
83
|
"@wooksjs/event-wf": "^0.8.7",
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* Do not edit this file!
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
|
-
import type { TAtscriptTypeObject, TAtscriptTypeComplex, TAtscriptTypeFinal, TAtscriptTypeArray, TAtscriptAnnotatedType, TMetadataMap, Validator, TValidatorOptions } from "@atscript/typescript/utils"
|
|
10
|
+
import type { TAtscriptTypeObject, TAtscriptTypeComplex, TAtscriptTypeFinal, TAtscriptTypeArray, TAtscriptAnnotatedType, TAtscriptField, TMetadataMap, Validator, TValidatorOptions } from "@atscript/typescript/utils"
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
13
|
* Atscript type **JsonValue**
|