form-custom-test 3.0.60 → 3.0.61
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/designer.es.js +15 -4
- package/dist/designer.style.css +1 -1
- package/dist/designer.umd.js +2 -2
- package/dist/render.es.js +15 -4
- package/dist/render.style.css +1 -1
- package/dist/render.umd.js +2 -2
- package/package.json +1 -1
package/dist/render.es.js
CHANGED
|
@@ -23607,6 +23607,7 @@ const _sfc_main$z = {
|
|
|
23607
23607
|
this.initFieldModel();
|
|
23608
23608
|
this.registerToRefList();
|
|
23609
23609
|
this.initEventHandler();
|
|
23610
|
+
this.buildFieldRules();
|
|
23610
23611
|
this.handleOnCreated();
|
|
23611
23612
|
},
|
|
23612
23613
|
mounted() {
|
|
@@ -23615,7 +23616,17 @@ const _sfc_main$z = {
|
|
|
23615
23616
|
beforeUnmount() {
|
|
23616
23617
|
this.unregisterFromRefList();
|
|
23617
23618
|
},
|
|
23618
|
-
methods: {}
|
|
23619
|
+
methods: {},
|
|
23620
|
+
watch: {
|
|
23621
|
+
"field.options.textContent": {
|
|
23622
|
+
handler(newVal) {
|
|
23623
|
+
if (newVal === void 0)
|
|
23624
|
+
return;
|
|
23625
|
+
this.fieldModel = newVal;
|
|
23626
|
+
},
|
|
23627
|
+
immediate: true
|
|
23628
|
+
}
|
|
23629
|
+
}
|
|
23619
23630
|
};
|
|
23620
23631
|
function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
23621
23632
|
const _component_form_item_wrapper = resolveComponent("form-item-wrapper");
|
|
@@ -23644,7 +23655,7 @@ function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23644
23655
|
_: 1
|
|
23645
23656
|
}, 8, ["designer", "field", "rules", "design-state", "parent-widget", "parent-list", "index-of-parent-list", "sub-form-row-index", "sub-form-col-index", "sub-form-row-id"]);
|
|
23646
23657
|
}
|
|
23647
|
-
var staticTextWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$z, [["render", _sfc_render$z], ["__scopeId", "data-v-
|
|
23658
|
+
var staticTextWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$z, [["render", _sfc_render$z], ["__scopeId", "data-v-5ec8f7a0"]]);
|
|
23648
23659
|
var __glob_0_21 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
23649
23660
|
__proto__: null,
|
|
23650
23661
|
"default": staticTextWidget
|
|
@@ -25883,13 +25894,13 @@ function registerIcon(app) {
|
|
|
25883
25894
|
if (typeof window !== "undefined") {
|
|
25884
25895
|
let loadSvg = function() {
|
|
25885
25896
|
var body = document.body;
|
|
25886
|
-
var svgDom = document.getElementById("
|
|
25897
|
+
var svgDom = document.getElementById("__svg__icons__dom__1773813915885__");
|
|
25887
25898
|
if (!svgDom) {
|
|
25888
25899
|
svgDom = document.createElementNS("http://www.w3.org/2000/svg", "svg");
|
|
25889
25900
|
svgDom.style.position = "absolute";
|
|
25890
25901
|
svgDom.style.width = "0";
|
|
25891
25902
|
svgDom.style.height = "0";
|
|
25892
|
-
svgDom.id = "
|
|
25903
|
+
svgDom.id = "__svg__icons__dom__1773813915885__";
|
|
25893
25904
|
svgDom.setAttribute("xmlns", "http://www.w3.org/2000/svg");
|
|
25894
25905
|
svgDom.setAttribute("xmlns:link", "http://www.w3.org/1999/xlink");
|
|
25895
25906
|
}
|