@opengis/form 0.0.94 → 0.0.95
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.
|
@@ -4,6 +4,7 @@ type __VLS_Props = {
|
|
|
4
4
|
button?: string;
|
|
5
5
|
error?: string;
|
|
6
6
|
value?: any;
|
|
7
|
+
auto?: boolean;
|
|
7
8
|
};
|
|
8
9
|
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
10
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"behavior.vue.d.ts","sourceRoot":"","sources":["../../src/components/behavior.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"behavior.vue.d.ts","sourceRoot":"","sources":["../../src/components/behavior.vue"],"names":[],"mappings":"AA6DA,KAAK,WAAW,GAAG;IACjB,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,GAAG,CAAA;IACX,IAAI,CAAC,EAAE,OAAO,CAAA;CACf,CAAC;;AAwGF,wBAMG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vs-compact-form-layout.vue.d.ts","sourceRoot":"","sources":["../../../src/components/layouts/vs-compact-form-layout.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"vs-compact-form-layout.vue.d.ts","sourceRoot":"","sources":["../../../src/components/layouts/vs-compact-form-layout.vue"],"names":[],"mappings":"AAqKA,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAEhD,KAAK,WAAW,GAAG,YAAY,CAAC;AAmIhC,KAAK,iBAAiB,GAAG,WAAW,GAAG;IACvC,UAAU,CAAC,EAAE,GAAG,CAAC;CAChB,CAAC;;;;;;;;;;;;;;;;;;AAiHF,wBAQG"}
|
package/dist/index.js
CHANGED
|
@@ -5965,7 +5965,8 @@ const rd = /* @__PURE__ */ re(ad, [["render", od]]), sd = { class: "vs-dataform
|
|
|
5965
5965
|
set: {},
|
|
5966
5966
|
button: {},
|
|
5967
5967
|
error: {},
|
|
5968
|
-
value: {}
|
|
5968
|
+
value: {},
|
|
5969
|
+
auto: { type: Boolean }
|
|
5969
5970
|
},
|
|
5970
5971
|
setup(e) {
|
|
5971
5972
|
const t = e, l = He("values");
|
|
@@ -5985,7 +5986,9 @@ const rd = /* @__PURE__ */ re(ad, [["render", od]]), sd = { class: "vs-dataform
|
|
|
5985
5986
|
console.error(t.error, o);
|
|
5986
5987
|
}
|
|
5987
5988
|
}
|
|
5988
|
-
return (
|
|
5989
|
+
return ie(() => t.value, (o, r) => {
|
|
5990
|
+
(t.auto || !t.button) && o != null && o !== r && n();
|
|
5991
|
+
}, { immediate: !1 }), (o, r) => (d(), p("button", {
|
|
5989
5992
|
onClick: n,
|
|
5990
5993
|
class: "vs-button relative inline-flex border-solid justify-center items-center gap-2 rounded-md font-semibold focus:outline-none text-sm transition-all border !border-gray-200 hover:text-white bg-white text-blue-500 hover:border-blue-500 hover:bg-blue-500 focus:ring-blue-500 py-1.5 px-5 focus:ring-1 focus:ring-offset-1 ml-0 md:ml-2 mt-2 md:mt-0 py-[8px] md:w-2/4 whitespace-nowrap w-full"
|
|
5991
5994
|
}, Z(o.button), 1));
|
|
@@ -6086,7 +6089,10 @@ const rd = /* @__PURE__ */ re(ad, [["render", od]]), sd = { class: "vs-dataform
|
|
|
6086
6089
|
innerHTML: f.value.description
|
|
6087
6090
|
}, null, 8, wd)) : N("", !0)
|
|
6088
6091
|
]),
|
|
6089
|
-
f.value.behavior?.
|
|
6092
|
+
f.value.behavior?.set ? (d(), de(yd, Je({ key: 0 }, f.value.behavior, {
|
|
6093
|
+
value: n.value,
|
|
6094
|
+
auto: !!f.value.behavior?.set
|
|
6095
|
+
}), null, 16, ["value", "auto"])) : N("", !0)
|
|
6090
6096
|
], 2)
|
|
6091
6097
|
]),
|
|
6092
6098
|
_: 1
|