@opentiny/tiny-engine-setting-events 2.1.0 → 2.2.0-rc.0
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/LICENSE +22 -22
- package/dist/index.js +8 -8
- package/dist/style.css +1 -1
- package/package.json +7 -7
package/LICENSE
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2023 - present TinyEngine Authors.
|
|
4
|
-
Copyright (c) 2023 - present Huawei Cloud Computing Technologies Co., Ltd.
|
|
5
|
-
|
|
6
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
8
|
-
in the Software without restriction, including without limitation the rights
|
|
9
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
11
|
-
furnished to do so, subject to the following conditions:
|
|
12
|
-
|
|
13
|
-
The above copyright notice and this permission notice shall be included in all
|
|
14
|
-
copies or substantial portions of the Software.
|
|
15
|
-
|
|
16
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2023 - present TinyEngine Authors.
|
|
4
|
+
Copyright (c) 2023 - present Huawei Cloud Computing Technologies Co., Ltd.
|
|
5
|
+
|
|
6
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
8
|
+
in the Software without restriction, including without limitation the rights
|
|
9
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
11
|
+
furnished to do so, subject to the following conditions:
|
|
12
|
+
|
|
13
|
+
The above copyright notice and this permission notice shall be included in all
|
|
14
|
+
copies or substantial portions of the Software.
|
|
15
|
+
|
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
|
+
SOFTWARE.
|
package/dist/index.js
CHANGED
|
@@ -170,7 +170,7 @@ function pn(u, o, r, e, d, b) {
|
|
|
170
170
|
_: 1
|
|
171
171
|
}, 8, ["visible", "onClose", "onOpened"]);
|
|
172
172
|
}
|
|
173
|
-
const un = /* @__PURE__ */ F(rn, [["render", pn], ["__scopeId", "data-v-
|
|
173
|
+
const un = /* @__PURE__ */ F(rn, [["render", pn], ["__scopeId", "data-v-c1779b8d"]]), vn = {
|
|
174
174
|
onClick: {
|
|
175
175
|
label: {
|
|
176
176
|
zh_CN: "点击事件"
|
|
@@ -423,7 +423,7 @@ const un = /* @__PURE__ */ F(rn, [["render", pn], ["__scopeId", "data-v-98e32e3c
|
|
|
423
423
|
ref: b,
|
|
424
424
|
model: d,
|
|
425
425
|
rules: v,
|
|
426
|
-
"label-width": "
|
|
426
|
+
"label-width": "80px",
|
|
427
427
|
"inline-message": !0,
|
|
428
428
|
"validate-type": "text",
|
|
429
429
|
"label-position": "left",
|
|
@@ -464,7 +464,7 @@ const un = /* @__PURE__ */ F(rn, [["render", pn], ["__scopeId", "data-v-98e32e3c
|
|
|
464
464
|
_: 1
|
|
465
465
|
}, 8, ["visible"]));
|
|
466
466
|
}
|
|
467
|
-
}, hn = /* @__PURE__ */ F(bn, [["__scopeId", "data-v-
|
|
467
|
+
}, hn = /* @__PURE__ */ F(bn, [["__scopeId", "data-v-87e15e51"]]), yn = {
|
|
468
468
|
components: {
|
|
469
469
|
BlockLinkEvent: qe,
|
|
470
470
|
BindEventsDialog: un,
|
|
@@ -689,7 +689,7 @@ function Mn(u, o, r, e, d, b) {
|
|
|
689
689
|
}, null, 8, ["visible", "componentEvents", "onAddEvent"])
|
|
690
690
|
], 64);
|
|
691
691
|
}
|
|
692
|
-
const wn = /* @__PURE__ */ F(yn, [["render", Mn], ["__scopeId", "data-v-
|
|
692
|
+
const wn = /* @__PURE__ */ F(yn, [["render", Mn], ["__scopeId", "data-v-d2c5d4fa"]]), { DEFAULT_LOOP_NAME: j } = an, { string2Obj: Ln } = ln, On = {
|
|
693
693
|
components: {
|
|
694
694
|
SwitchConfigurator: nn,
|
|
695
695
|
TinyTooltip: je,
|
|
@@ -796,7 +796,7 @@ const wn = /* @__PURE__ */ F(yn, [["render", Mn], ["__scopeId", "data-v-d0cfb0b6
|
|
|
796
796
|
getIndexName: e
|
|
797
797
|
};
|
|
798
798
|
}
|
|
799
|
-
}, Sn = { class: "advanced-config-container" }, Tn = { class: "advnce-config" }, Un = { class: "advanced-config-form-item" }, jn = ["title"], zn = { class: "advnce-config" }, Rn = { class: "advanced-config-form-item" }, Jn = ["title"], Fn = { class: "advnce-config" }, Xn = { class: "advanced-config-form-item" }, Kn = { class: "advnce-config" }, Hn = { class: "advanced-config-form-item" }, $n = { class: "advnce-config" }, Yn = { class: "advanced-config-form-item" };
|
|
799
|
+
}, Sn = { class: "advanced-config-container" }, Tn = { class: "advnce-config" }, Un = { class: "advanced-config-form-item" }, jn = ["title"], zn = { class: "advnce-config loop-data-item" }, Rn = { class: "advanced-config-form-item" }, Jn = ["title"], Fn = { class: "advnce-config" }, Xn = { class: "advanced-config-form-item" }, Kn = { class: "advnce-config" }, Hn = { class: "advanced-config-form-item" }, $n = { class: "advnce-config" }, Yn = { class: "advanced-config-form-item" };
|
|
800
800
|
function qn(u, o, r, e, d, b) {
|
|
801
801
|
var n, a;
|
|
802
802
|
const h = x("switch-configurator"), v = x("variable-configurator"), c = x("code-configurator"), i = x("input-configurator"), E = x("tiny-tooltip");
|
|
@@ -896,7 +896,7 @@ function qn(u, o, r, e, d, b) {
|
|
|
896
896
|
])
|
|
897
897
|
]);
|
|
898
898
|
}
|
|
899
|
-
const Zn = /* @__PURE__ */ F(On, [["render", qn], ["__scopeId", "data-v-
|
|
899
|
+
const Zn = /* @__PURE__ */ F(On, [["render", qn], ["__scopeId", "data-v-f44b8182"]]), Gn = {
|
|
900
900
|
__name: "Main",
|
|
901
901
|
setup(u) {
|
|
902
902
|
const o = J(["bindEvent", "advancedConfig"]);
|
|
@@ -1032,7 +1032,7 @@ function ro(u, o, r, e, d, b) {
|
|
|
1032
1032
|
], 2)
|
|
1033
1033
|
]);
|
|
1034
1034
|
}
|
|
1035
|
-
const co = /* @__PURE__ */ F(eo, [["render", ro], ["__scopeId", "data-v-
|
|
1035
|
+
const co = /* @__PURE__ */ F(eo, [["render", ro], ["__scopeId", "data-v-2807a818"]]), mo = {
|
|
1036
1036
|
components: {
|
|
1037
1037
|
TinySearch: Je,
|
|
1038
1038
|
IconYes: Qe()
|
|
@@ -1103,7 +1103,7 @@ function _o(u, o, r, e, d, b) {
|
|
|
1103
1103
|
])
|
|
1104
1104
|
]);
|
|
1105
1105
|
}
|
|
1106
|
-
const bo = /* @__PURE__ */ F(mo, [["render", _o], ["__scopeId", "data-v-
|
|
1106
|
+
const bo = /* @__PURE__ */ F(mo, [["render", _o], ["__scopeId", "data-v-1d973569"]]), Po = {
|
|
1107
1107
|
...te,
|
|
1108
1108
|
entry: Gn,
|
|
1109
1109
|
options: {
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.bind-event-dialog[data-v-
|
|
1
|
+
.bind-event-dialog[data-v-c1779b8d]{z-index:99}.bind-event-dialog[data-v-c1779b8d] .tiny-dialog-box{min-width:760px}.bind-event-dialog-tip[data-v-c1779b8d]{padding:var(--te-common-vertical-item-spacing-normal) 14px;margin-bottom:var(--te-common-vertical-item-spacing-normal);background-color:var(--te-common-bg-container);color:var(--te-common-text-weaken)}.bind-event-dialog-content[data-v-c1779b8d]{display:flex;min-width:700px}.add-custom-event-form.add-custom-event-form[data-v-87e15e51] .tiny-form-item__label{padding-left:0}.footer[data-v-87e15e51]{display:flex;justify-content:flex-end}.custom-event[data-v-d2c5d4fa]{padding:10px 20px 10px 10px}.custom-event footer[data-v-d2c5d4fa]{text-align:center}.bind-action-list .bind-actions[data-v-d2c5d4fa]{margin-top:20px}.bind-action-list .bind-actions .binding-name[data-v-d2c5d4fa]{word-break:break-all}.bind-action-list .bind-actions .action-buttons[data-v-d2c5d4fa]{display:flex;align-items:center;justify-content:center}.bind-action-list .bind-actions .action-buttons .item[data-v-d2c5d4fa]{margin-right:10px}.bind-action-list .bind-actions .event-bind[data-v-d2c5d4fa]{color:var(--ti-lowcode-events-event-bind-color)}.bind-action-list .bind-actions .bind-action-item[data-v-d2c5d4fa]{display:flex;justify-content:space-between;padding:8px 12px;cursor:pointer;color:var(--ti-lowcode-events-bind-action-item-color);border-bottom:1px solid var(--ti-lowcode-events-bind-action-item-border-color)}.bind-action-list .bind-actions .bind-action-item[data-v-d2c5d4fa]:first-child{border-top:1px solid var(--ti-lowcode-events-bind-action-item-border-color)}.bind-action-list .bind-actions .bind-action-item[data-v-d2c5d4fa]:hover{background:var(--ti-lowcode-events-bind-action-item-hover-bg-color)}.bind-action-list .bind-actions .bind-action-item .linked[data-v-d2c5d4fa]{background-color:var(--ti-lowcode-events-bind-action-item-linked-bg-color);color:var(--ti-lowcode-events-bind-action-item-linked-color)}.bind-action-list .popover-head[data-v-d2c5d4fa]{display:flex;justify-content:space-between;margin-top:12px}.bind-action-list .popover-head .bind-action-button-item[data-v-d2c5d4fa]{width:50%}.bind-action-list .popover-head .bind-action-button-item[data-v-d2c5d4fa]:not(:last-child){margin-right:12px}.bind-action-list .popover-head .add-custom-event-button[data-v-d2c5d4fa]{margin-right:0}.bind-action-list .popover-head .bind-event-btn[data-v-d2c5d4fa]{padding:0 16px;width:100%}.bind-action-list .popover-head .bind-event-btn .bind-event-btn-icon[data-v-d2c5d4fa]{margin-right:0;margin-left:4px}.bind-action-list .empty-action[data-v-d2c5d4fa]{display:flex;flex-direction:column;align-items:center;background-color:var(--ti-lowcode-events-empty-action-bg-color);color:var(--ti-lowcode-events-empty-action-color);padding:24px 18px;margin-top:var(--te-common-vertical-item-spacing-normal)}.bind-action-list .empty-action .empty-action-icon[data-v-d2c5d4fa]{font-size:48px}.bind-action-list .empty-action .icon[data-v-d2c5d4fa]{text-align:center;opacity:.4}.bind-action-list .empty-action .center[data-v-d2c5d4fa]{margin-top:4px}.bind-action-list .empty-action .text[data-v-d2c5d4fa]{margin-top:12px}.bind-action-list .empty-action .empty-bind-event-tip[data-v-d2c5d4fa]{color:var(--ti-lowcode-events-empty-action-tips-strong-color)}.bind-event-list[data-v-d2c5d4fa]{color:var(--ti-lowcode-events-bind-event-list-color)}.bind-event-list-item-notallow[data-v-d2c5d4fa]{cursor:not-allowed;pointer-events:none;color:var(--ti-lowcode-events-bind-event-list-item-disabled-color)}.bind-event-list-item[data-v-d2c5d4fa]{padding:0 16px;margin:0 -16px;line-height:24px}.bind-event-list-item[data-v-d2c5d4fa]:hover{cursor:pointer;background:var(--lowcode-events-bind-event-list-item-hover-bg-color)}.add-custom-event-tip[data-v-d2c5d4fa]{color:var(--ti-lowcode-events-add-custom-event-tips-color)}.add-custom-event-tip .event-tip-highlight[data-v-d2c5d4fa]{color:var(--ti-lowcode-event-add-custom-event-tips-highlight-color)}.advanced-config-container .advnce-config[data-v-f44b8182]{align-items:center;display:flex;column-gap:12px;color:var(--ti-lowcode-events-advanced-config-color)}.advanced-config-container .advnce-config[data-v-f44b8182]:not(:last-child){margin-bottom:var(--te-common-vertical-item-spacing-normal)}.advanced-config-container .advnce-config label[data-v-f44b8182]{width:80px;word-break:keep-all;color:var(--ti-lowcode-events-advanced-label-color);flex-shrink:0}.advanced-config-container .advnce-config .advanced-config-form-item[data-v-f44b8182]{display:grid;grid-template-columns:1fr auto;flex:1}.advanced-config-container .advnce-config .binding-state[data-v-f44b8182]{box-sizing:border-box;background:var(--ti-lowcode-events-advanced-binding-state-bg-color);color:var(--ti-lowcode-events-advanced-binding-state-color);font-size:12px;height:30px;line-height:22px;padding:4px 8px;--ellipsis-line: 1;border-radius:6px}.advanced-config-container .advnce-config .advance-config-loop-wrap .advance-item[data-v-f44b8182]{width:100%}.advanced-config-container .loop-data-item[data-v-f44b8182]{display:block}.advanced-config-container .loop-data-item label[data-v-f44b8182]{margin-bottom:5px}.content-right[data-v-2807a818]{width:68%}.content-right .content-right-top .new-action-tip[data-v-2807a818]{margin:8px 0;color:var(--ti-lowcode-bind-event-dialog-new-action-tip-color)}.content-right .content-right-bottom .content-right-monaco[data-v-2807a818]{border:1px solid var(--ti-lowcode-bind-event-dialog-content-right-monaco-border-color);overflow:hidden;position:relative}.content-right .content-right-bottom .content-right-monaco .monaco-editor[data-v-2807a818]{width:100%;height:216px;padding:12px 8px;color:var(--te-common-text-secondary)}.content-right .content-right-bottom .content-right-monaco .mark[data-v-2807a818]{width:100%;height:216px;position:absolute;z-index:1;top:0;background-color:var(--ti-lowcode-bind-event-dialog-mark-bg-color)}.content-right .content-right-bottom .params-tip[data-v-2807a818]{margin:8px 0;color:var(--te-common-color-error)}.content-right .content-right-top .content-right-title[data-v-2807a818],.content-right .content-right-bottom .content-right-title[data-v-2807a818]{margin-bottom:var(--te-common-vertical-item-spacing-normal)}.content-right .content-right-top .content-right-title .set-params-tip[data-v-2807a818],.content-right .content-right-bottom .content-right-title .set-params-tip[data-v-2807a818]{margin-top:6px;font-weight:400;color:var(--te-common-text-weaken)}.content-right .tip-error .content-right-monaco[data-v-2807a818]{border:1px solid var(--te-common-color-error)}.content-right .tip-error .params-tip[data-v-2807a818],.content-right .tip-error .new-action-tip[data-v-2807a818]{color:var(--te-common-color-error)}.dialog-content-left[data-v-1d973569]{margin-right:30px;width:30%;display:flex;flex-direction:column}.dialog-content-left .left-title[data-v-1d973569]{font-weight:400}.dialog-content-left .left-list-wrap[data-v-1d973569]{border:1px solid var(--ti-lowcode-bind-event-dialog-content-left-border-color);border-radius:4px;height:300px;margin-top:var(--te-common-vertical-item-spacing-normal);display:flex;flex:1}.dialog-content-left .left-list-wrap .left-action-list[data-v-1d973569]{flex:1;padding:12px}.dialog-content-left .left-list-wrap .left-action-list .action-list-wrap[data-v-1d973569]{height:250px;margin-top:8px;overflow:auto}.dialog-content-left .left-list-wrap .left-action-list .action-name[data-v-1d973569]{display:flex;justify-content:space-between;padding:8px 12px;cursor:pointer;color:var(--ti-lowcode-bind-event-dialog-color)}.dialog-content-left .left-list-wrap .left-action-list .action-name.active[data-v-1d973569]{background:var(--ti-lowcode-bind-event-dialog-content-left-list-item-active-bg-color)}.dialog-content-left .left-list-wrap .left-action-list .action-name .action-selected-icon[data-v-1d973569]{font-size:14px;color:var(--ti-lowcode-bind-event-dialog-action-selected-icon-color)}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opentiny/tiny-engine-setting-events",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.2.0-rc.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -25,13 +25,13 @@
|
|
|
25
25
|
"license": "MIT",
|
|
26
26
|
"homepage": "https://opentiny.design/tiny-engine",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@opentiny/tiny-engine-common": "2.
|
|
29
|
-
"@opentiny/tiny-engine-configurator": "2.
|
|
30
|
-
"@opentiny/tiny-engine-meta-register": "2.
|
|
31
|
-
"@opentiny/tiny-engine-utils": "2.
|
|
28
|
+
"@opentiny/tiny-engine-common": "2.2.0-rc.0",
|
|
29
|
+
"@opentiny/tiny-engine-configurator": "2.2.0-rc.0",
|
|
30
|
+
"@opentiny/tiny-engine-meta-register": "2.2.0-rc.0",
|
|
31
|
+
"@opentiny/tiny-engine-utils": "2.2.0-rc.0"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@opentiny/tiny-engine-vite-plugin-meta-comments": "2.
|
|
34
|
+
"@opentiny/tiny-engine-vite-plugin-meta-comments": "2.2.0-rc.0",
|
|
35
35
|
"@vitejs/plugin-vue": "^5.1.2",
|
|
36
36
|
"@vitejs/plugin-vue-jsx": "^4.0.1",
|
|
37
37
|
"vite": "^5.4.2"
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
"@opentiny/vue-icon": "^3.14.0",
|
|
42
42
|
"vue": "^3.4.15"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "dd8ae425bcdb6b34773d9f5b2dd59a474dacabd1"
|
|
45
45
|
}
|