@deskhero/dh_ui 1.48.2 → 1.48.3
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/dh_ui.es.js +13 -6
- package/dist/dh_ui.umd.js +1 -1
- package/dist/src/components/InputGroup.vue.d.ts +5 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/dh_ui.es.js
CHANGED
|
@@ -24896,10 +24896,14 @@ const _sfc_main$c = {
|
|
|
24896
24896
|
};
|
|
24897
24897
|
var InputGroup_vue_vue_type_style_index_0_lang = "";
|
|
24898
24898
|
const _hoisted_1$b = { class: "input__group" };
|
|
24899
|
-
const _hoisted_2$b = ["placeholder", "type"];
|
|
24899
|
+
const _hoisted_2$b = ["placeholder", "type", "value"];
|
|
24900
24900
|
const _sfc_main$b = {
|
|
24901
24901
|
__name: "InputGroup",
|
|
24902
24902
|
props: {
|
|
24903
|
+
modelValue: {
|
|
24904
|
+
type: [String, Number],
|
|
24905
|
+
default: ""
|
|
24906
|
+
},
|
|
24903
24907
|
inputType: {
|
|
24904
24908
|
type: String,
|
|
24905
24909
|
default: "text"
|
|
@@ -24925,12 +24929,13 @@ const _sfc_main$b = {
|
|
|
24925
24929
|
default: "type here"
|
|
24926
24930
|
}
|
|
24927
24931
|
},
|
|
24932
|
+
emits: ["update:modelValue"],
|
|
24928
24933
|
setup(__props) {
|
|
24929
24934
|
const props = __props;
|
|
24930
24935
|
useCssVars((_ctx) => ({
|
|
24931
|
-
"
|
|
24932
|
-
"
|
|
24933
|
-
"
|
|
24936
|
+
"9bbc973e": flexDir.value,
|
|
24937
|
+
"17a45996": __props.widthProp,
|
|
24938
|
+
"d5af8106": __props.heightProp
|
|
24934
24939
|
}));
|
|
24935
24940
|
const flexDir = ref("row");
|
|
24936
24941
|
onMounted(() => {
|
|
@@ -24943,8 +24948,10 @@ const _sfc_main$b = {
|
|
|
24943
24948
|
createElementVNode("input", {
|
|
24944
24949
|
class: "input__group_field",
|
|
24945
24950
|
placeholder: __props.placeholder,
|
|
24946
|
-
type: __props.inputType
|
|
24947
|
-
|
|
24951
|
+
type: __props.inputType,
|
|
24952
|
+
value: __props.modelValue,
|
|
24953
|
+
onInput: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:modelValue", $event.target.value))
|
|
24954
|
+
}, null, 40, _hoisted_2$b),
|
|
24948
24955
|
createVNode(DhIcon, {
|
|
24949
24956
|
class: "input__group_icon",
|
|
24950
24957
|
"icon-name": __props.iconName
|