@simsustech/quasar-components 0.11.6 → 0.11.7
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/CHANGELOG.md
CHANGED
package/dist/form.js
CHANGED
|
@@ -276,7 +276,9 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
276
276
|
]),
|
|
277
277
|
_: 1
|
|
278
278
|
}),
|
|
279
|
-
createVNode(unref(QItemLabel),
|
|
279
|
+
createVNode(unref(QItemLabel), { style: {
|
|
280
|
+
"word-wrap": "anywhere"
|
|
281
|
+
} }, {
|
|
280
282
|
default: withCtx(() => [
|
|
281
283
|
createTextVNode(toDisplayString(_ctx.modelValue || "-"), 1)
|
|
282
284
|
]),
|
package/dist/general.js
CHANGED
|
@@ -84,7 +84,8 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
84
84
|
...__default__$1,
|
|
85
85
|
props: {
|
|
86
86
|
display: { type: Boolean },
|
|
87
|
-
buttonType: {}
|
|
87
|
+
buttonType: { default: "submit" },
|
|
88
|
+
closeIcon: { default: "close" }
|
|
88
89
|
},
|
|
89
90
|
emits: ["submit"],
|
|
90
91
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
@@ -155,12 +156,12 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
155
156
|
createVNode(_component_q_toolbar, null, {
|
|
156
157
|
default: withCtx(() => [
|
|
157
158
|
createVNode(_component_q_btn, {
|
|
158
|
-
icon:
|
|
159
|
+
icon: _ctx.closeIcon,
|
|
159
160
|
flat: "",
|
|
160
161
|
round: "",
|
|
161
162
|
dense: "",
|
|
162
163
|
onClick: close
|
|
163
|
-
}),
|
|
164
|
+
}, null, 8, ["icon"]),
|
|
164
165
|
createVNode(_component_q_toolbar_title, null, {
|
|
165
166
|
default: withCtx(() => [
|
|
166
167
|
renderSlot(_ctx.$slots, "title")
|
|
@@ -181,7 +182,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
181
182
|
}),
|
|
182
183
|
createVNode(_component_q_page_container, { style: { "padding-bottom": "-50px" } }, {
|
|
183
184
|
default: withCtx(() => [
|
|
184
|
-
createVNode(_component_q_page, { class: "q-
|
|
185
|
+
createVNode(_component_q_page, { class: "q-pb-xl" }, {
|
|
185
186
|
default: withCtx(() => [
|
|
186
187
|
renderSlot(_ctx.$slots, "default")
|
|
187
188
|
]),
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export interface Props {
|
|
2
2
|
display?: boolean;
|
|
3
3
|
buttonType?: 'submit' | 'send';
|
|
4
|
+
closeIcon?: string;
|
|
4
5
|
}
|
|
5
6
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<Props, {
|
|
6
7
|
variables: import("vue").Ref<{}, {}>;
|
|
@@ -25,7 +26,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<Pr
|
|
|
25
26
|
onSubmit?: ((args_0: {
|
|
26
27
|
done: (success?: boolean) => void;
|
|
27
28
|
}) => any) | undefined;
|
|
28
|
-
}>, {
|
|
29
|
+
}>, {
|
|
30
|
+
buttonType: "submit" | "send";
|
|
31
|
+
closeIcon: string;
|
|
32
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
29
33
|
title?(_: {}): any;
|
|
30
34
|
default?(_: {}): any;
|
|
31
35
|
}>;
|
package/package.json
CHANGED
package/src/ui/form/FormItem.vue
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
>
|
|
9
9
|
<q-header class="bg-primary">
|
|
10
10
|
<q-toolbar>
|
|
11
|
-
<q-btn icon="
|
|
11
|
+
<q-btn :icon="closeIcon" flat round dense @click="close" />
|
|
12
12
|
<q-toolbar-title>
|
|
13
13
|
<slot name="title" />
|
|
14
14
|
</q-toolbar-title>
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
</q-header>
|
|
23
23
|
|
|
24
24
|
<q-page-container style="padding-bottom: -50px">
|
|
25
|
-
<q-page class="q-
|
|
25
|
+
<q-page class="q-pb-xl">
|
|
26
26
|
<slot></slot>
|
|
27
27
|
</q-page>
|
|
28
28
|
</q-page-container>
|
|
@@ -45,8 +45,9 @@ import QSubmitButton from './QSubmitButton.vue'
|
|
|
45
45
|
export interface Props {
|
|
46
46
|
display?: boolean
|
|
47
47
|
buttonType?: 'submit' | 'send'
|
|
48
|
+
closeIcon?: string
|
|
48
49
|
}
|
|
49
|
-
defineProps<Props>()
|
|
50
|
+
withDefaults(defineProps<Props>(), { buttonType: 'submit', closeIcon: 'close' })
|
|
50
51
|
// const attrs = useAttrs();
|
|
51
52
|
const emit = defineEmits<{
|
|
52
53
|
(
|