@ibiz-template/runtime 0.7.41-alpha.102 → 0.7.41-alpha.103
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.esm.js +35 -9
- package/dist/index.system.min.js +1 -1
- package/out/constant/value-op.d.ts +1 -1
- package/out/constant/value-op.js +1 -1
- package/out/controller/control/grid/grid-column/grid-field-column/grid-field-column.controller.d.ts.map +1 -1
- package/out/controller/control/grid/grid-column/grid-field-column/grid-field-column.controller.js +19 -2
- package/out/controller/control/search-bar/entity-schema.js +1 -1
- package/out/locale/en/index.d.ts +1 -1
- package/out/locale/en/index.js +1 -1
- package/out/locale/zh-CN/index.d.ts +1 -1
- package/out/locale/zh-CN/index.js +1 -1
- package/out/utils/jsonschema-util/jsonschema-util.js +3 -3
- package/package.json +2 -2
package/dist/index.esm.js
CHANGED
|
@@ -20533,7 +20533,7 @@ var ValueOP = /* @__PURE__ */ ((ValueOP2) => {
|
|
|
20533
20533
|
ValueOP2["IN"] = "IN";
|
|
20534
20534
|
ValueOP2["NOT_IN"] = "NOTIN";
|
|
20535
20535
|
ValueOP2["LIKE"] = "LIKE";
|
|
20536
|
-
ValueOP2["
|
|
20536
|
+
ValueOP2["LEFT_LIKE"] = "LEFTLIKE";
|
|
20537
20537
|
ValueOP2["RIGHT_LIKE"] = "RIGHT_LIKE";
|
|
20538
20538
|
ValueOP2["CHILD_OF"] = "CHILDOF";
|
|
20539
20539
|
ValueOP2["USER_LIKE"] = "USERLIKE";
|
|
@@ -41088,7 +41088,7 @@ var typeToOPs = {
|
|
|
41088
41088
|
"ISNOTNULL" /* IS_NOT_NULL */,
|
|
41089
41089
|
"USERLIKE" /* USER_LIKE */,
|
|
41090
41090
|
"LIKE" /* LIKE */,
|
|
41091
|
-
"
|
|
41091
|
+
"LEFTLIKE" /* LEFT_LIKE */,
|
|
41092
41092
|
"RIGHT_LIKE" /* RIGHT_LIKE */
|
|
41093
41093
|
],
|
|
41094
41094
|
number: [
|
|
@@ -53134,11 +53134,37 @@ var GridFieldColumnController = class extends GridColumnController {
|
|
|
53134
53134
|
*/
|
|
53135
53135
|
async triggerAction(row, event) {
|
|
53136
53136
|
const actionId = this.model.deuiactionId;
|
|
53137
|
+
const tempContext = this.context.clone();
|
|
53138
|
+
const tempParams = clone33(this.params);
|
|
53139
|
+
const { userParam } = this.model;
|
|
53140
|
+
if (userParam) {
|
|
53141
|
+
const { navigateContexts, navigateParams } = parseUserParams(userParam);
|
|
53142
|
+
let selfContext = {};
|
|
53143
|
+
if (navigateContexts && row.data) {
|
|
53144
|
+
selfContext = convertNavData(
|
|
53145
|
+
navigateContexts,
|
|
53146
|
+
row.data,
|
|
53147
|
+
tempParams,
|
|
53148
|
+
tempContext
|
|
53149
|
+
);
|
|
53150
|
+
}
|
|
53151
|
+
Object.assign(tempContext, selfContext);
|
|
53152
|
+
let selfParams = {};
|
|
53153
|
+
if (navigateParams && row.data) {
|
|
53154
|
+
selfParams = convertNavData(
|
|
53155
|
+
navigateParams,
|
|
53156
|
+
row.data,
|
|
53157
|
+
tempParams,
|
|
53158
|
+
tempContext
|
|
53159
|
+
);
|
|
53160
|
+
}
|
|
53161
|
+
Object.assign(tempParams, selfParams);
|
|
53162
|
+
}
|
|
53137
53163
|
await UIActionUtil.execAndResolved(
|
|
53138
53164
|
actionId,
|
|
53139
53165
|
{
|
|
53140
|
-
context:
|
|
53141
|
-
params:
|
|
53166
|
+
context: tempContext,
|
|
53167
|
+
params: tempParams,
|
|
53142
53168
|
data: [row.data],
|
|
53143
53169
|
view: this.grid.view,
|
|
53144
53170
|
ctrl: this.grid,
|
|
@@ -79075,7 +79101,7 @@ var JsonSchemaUtil = class {
|
|
|
79075
79101
|
"ISNOTNULL" /* IS_NOT_NULL */,
|
|
79076
79102
|
"USERLIKE" /* USER_LIKE */,
|
|
79077
79103
|
"LIKE" /* LIKE */,
|
|
79078
|
-
"
|
|
79104
|
+
"LEFTLIKE" /* LEFT_LIKE */,
|
|
79079
79105
|
"RIGHT_LIKE" /* RIGHT_LIKE */
|
|
79080
79106
|
],
|
|
79081
79107
|
["NUMBER" /* NUMBER */]: [
|
|
@@ -79235,8 +79261,8 @@ var JsonSchemaUtil = class {
|
|
|
79235
79261
|
label: ibiz.i18n.t("runtime.controller.utils.jsonSchemaUtil.like")
|
|
79236
79262
|
},
|
|
79237
79263
|
{
|
|
79238
|
-
valueOP: "
|
|
79239
|
-
label: ibiz.i18n.t("runtime.controller.utils.jsonSchemaUtil.
|
|
79264
|
+
valueOP: "LEFTLIKE" /* LEFT_LIKE */,
|
|
79265
|
+
label: ibiz.i18n.t("runtime.controller.utils.jsonSchemaUtil.left_like")
|
|
79240
79266
|
},
|
|
79241
79267
|
{
|
|
79242
79268
|
valueOP: "RIGHT_LIKE" /* RIGHT_LIKE */,
|
|
@@ -90493,7 +90519,7 @@ var en = {
|
|
|
90493
90519
|
in: "Value In range (In)",
|
|
90494
90520
|
not_in: "Value not in range (NotIn)",
|
|
90495
90521
|
like: "Text contains (%)",
|
|
90496
|
-
|
|
90522
|
+
left_like: "Text left contained (%#)",
|
|
90497
90523
|
right_like: "Text right included (#%)",
|
|
90498
90524
|
exists: "exists(EXISTS)",
|
|
90499
90525
|
not_exists: "Does not exist (NOTEXISTS)"
|
|
@@ -91177,7 +91203,7 @@ var zhCn = {
|
|
|
91177
91203
|
in: "\u503C\u5728\u8303\u56F4\u4E2D(In)",
|
|
91178
91204
|
not_in: "\u503C\u4E0D\u5728\u8303\u56F4\u4E2D(NotIn)",
|
|
91179
91205
|
like: "\u6587\u672C\u5305\u542B(%)",
|
|
91180
|
-
|
|
91206
|
+
left_like: "\u6587\u672C\u5DE6\u5305\u542B(%#)",
|
|
91181
91207
|
right_like: "\u6587\u672C\u53F3\u5305\u542B(#%)",
|
|
91182
91208
|
exists: "\u5B58\u5728(EXISTS)",
|
|
91183
91209
|
not_exists: "\u4E0D\u5B58\u5728(NOTEXISTS)"
|