@simsustech/quasar-components 0.11.24 → 0.11.26
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 +13 -0
- package/dist/{LocaleSelect.vue_vue_type_script_setup_true_lang-DThzjchm.js → LocaleSelect.vue_vue_type_script_setup_true_lang-DFwcmPnu.js} +1 -1
- package/dist/form.js +2 -2
- package/dist/general.js +5 -5
- package/dist/md3.js +9 -4
- package/dist/types/ui/md3/NavigationRailFabs.vue.d.ts +1 -0
- package/package.json +15 -15
- package/src/ui/form/LocaleSelect.vue +1 -1
- package/src/ui/general/ResponsiveDialog.vue +4 -4
- package/src/ui/md3/NavigationRailFabs.vue +5 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @simsustech/quasar-components
|
|
2
2
|
|
|
3
|
+
## 0.11.26
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 16439cd: feat(components): add disable prop to NavigationRailFabs
|
|
8
|
+
- 89c6493: feat(ResponsiveDialog): use css variables for colors
|
|
9
|
+
|
|
10
|
+
## 0.11.25
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- 82b94b4: fix(LocaleSelect): fix update model value
|
|
15
|
+
|
|
3
16
|
## 0.11.24
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
|
@@ -513,7 +513,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
513
513
|
filled: false,
|
|
514
514
|
"emit-value": "",
|
|
515
515
|
"map-options": "",
|
|
516
|
-
|
|
516
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = (val) => emit("update:modelValue", val))
|
|
517
517
|
}), {
|
|
518
518
|
"selected-item": withCtx((scope) => [
|
|
519
519
|
scope.opt && __props.isItem ? (openBlock(), createBlock(_component_q_item, { key: 0 }, {
|
package/dist/form.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, useAttrs, withAsyncContext, watch, ref, openBlock, createBlock, unref, mergeProps, normalizeProps, guardReactiveProps, withCtx, createVNode, createTextVNode, toDisplayString, toRefs, computed, useSlots, renderSlot, createCommentVNode, createSlots, renderList, resolveDirective, createElementVNode, withDirectives, createElementBlock, Fragment, resolveDynamicComponent } from "vue";
|
|
2
2
|
import { useQuasar, QSelect, QItem, QItemSection, QItemLabel, QInput, QField, QIcon, QTooltip, QPopupProxy, QDate, QBtn, QEditor } from "quasar";
|
|
3
|
-
import { l as loadLang, u as useLang } from "./LocaleSelect.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { _ } from "./LocaleSelect.vue_vue_type_script_setup_true_lang-
|
|
3
|
+
import { l as loadLang, u as useLang } from "./LocaleSelect.vue_vue_type_script_setup_true_lang-DFwcmPnu.js";
|
|
4
|
+
import { _ } from "./LocaleSelect.vue_vue_type_script_setup_true_lang-DFwcmPnu.js";
|
|
5
5
|
const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "GenderSelect",
|
|
7
7
|
props: {
|
package/dist/general.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { l as loadLang, u as useLang, _ as _sfc_main$5 } from "./QSubmitButton.vue_vue_type_script_setup_true_lang-D-I0Gws4.js";
|
|
2
2
|
import { useQuasar, QCard, QCardSection, QCardActions, QDialog, QLayout, QHeader, QToolbar, QBtn, QToolbarTitle, QPageContainer, QPage, QPageSticky, QSpace, QList } from "quasar";
|
|
3
3
|
import { defineComponent, watch, ref, openBlock, createBlock, unref, withCtx, renderSlot, createVNode, createElementVNode, normalizeProps, guardReactiveProps, createCommentVNode, toRefs, normalizeClass, createElementBlock } from "vue";
|
|
4
|
-
import { _ as _sfc_main$6 } from "./LocaleSelect.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { _ as _sfc_main$6 } from "./LocaleSelect.vue_vue_type_script_setup_true_lang-DFwcmPnu.js";
|
|
5
5
|
const _hoisted_1$1 = { class: "text-h6" };
|
|
6
6
|
const _hoisted_2$1 = { class: "text-subtitle2" };
|
|
7
7
|
const __default__$2 = {
|
|
@@ -132,17 +132,17 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
132
132
|
createVNode(_component_q_layout, {
|
|
133
133
|
view: "LHh lpR fff",
|
|
134
134
|
container: "",
|
|
135
|
-
class: "bg
|
|
135
|
+
class: "bg-$light-surface dark:bg-$dark-surface",
|
|
136
136
|
style: { "min-width": "85vw" }
|
|
137
137
|
}, {
|
|
138
138
|
default: withCtx(() => [
|
|
139
|
-
createVNode(_component_q_header, { class: "bg
|
|
139
|
+
createVNode(_component_q_header, { class: "bg-$light-surface-container-high dark:bg-$dark-surface-container-high" }, {
|
|
140
140
|
default: withCtx(() => [
|
|
141
141
|
createVNode(_component_q_toolbar, null, {
|
|
142
142
|
default: withCtx(() => [
|
|
143
143
|
createVNode(_component_q_btn, {
|
|
144
144
|
icon: __props.icons.close,
|
|
145
|
-
class: "text
|
|
145
|
+
class: "text-$light-on-surface dark:text-$dark-on-surface",
|
|
146
146
|
flat: "",
|
|
147
147
|
round: "",
|
|
148
148
|
dense: "",
|
|
@@ -157,7 +157,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
157
157
|
!__props.display ? (openBlock(), createBlock(_sfc_main$5, {
|
|
158
158
|
key: 0,
|
|
159
159
|
flat: "",
|
|
160
|
-
class: "text
|
|
160
|
+
class: "text-$light-primary dark:text-$dark-primary",
|
|
161
161
|
type: __props.buttonType,
|
|
162
162
|
onSubmit: submit
|
|
163
163
|
}, null, 8, ["type"])) : createCommentVNode("", true)
|
package/dist/md3.js
CHANGED
|
@@ -7,6 +7,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
7
7
|
type: {},
|
|
8
8
|
showSticky: { type: Boolean },
|
|
9
9
|
seekAttention: { type: Boolean },
|
|
10
|
+
disable: { type: Boolean },
|
|
10
11
|
busEmits: {},
|
|
11
12
|
icons: {}
|
|
12
13
|
},
|
|
@@ -37,8 +38,9 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
37
38
|
}),
|
|
38
39
|
fab: "",
|
|
39
40
|
icon: unref(addIcon),
|
|
41
|
+
disable: __props.disable,
|
|
40
42
|
onClick: _cache[0] || (_cache[0] = ($event) => unref(bus).emit(__props.busEmits.add))
|
|
41
|
-
}, null, 8, ["class", "icon"])) : createCommentVNode("", true),
|
|
43
|
+
}, null, 8, ["class", "icon", "disable"])) : createCommentVNode("", true),
|
|
42
44
|
__props.busEmits.edit && unref(type) === "edit" ? (openBlock(), createBlock(_component_q_btn, {
|
|
43
45
|
key: 1,
|
|
44
46
|
id: "fabEdit",
|
|
@@ -50,8 +52,9 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
50
52
|
}),
|
|
51
53
|
fab: "",
|
|
52
54
|
icon: unref(editIcon),
|
|
55
|
+
disable: __props.disable,
|
|
53
56
|
onClick: _cache[1] || (_cache[1] = ($event) => unref(bus).emit(__props.busEmits.edit))
|
|
54
|
-
}, null, 8, ["class", "icon"])) : createCommentVNode("", true)
|
|
57
|
+
}, null, 8, ["class", "icon", "disable"])) : createCommentVNode("", true)
|
|
55
58
|
])) : createCommentVNode("", true),
|
|
56
59
|
__props.showSticky ? (openBlock(), createBlock(_component_q_page_sticky, {
|
|
57
60
|
key: 1,
|
|
@@ -69,8 +72,9 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
69
72
|
}),
|
|
70
73
|
fab: "",
|
|
71
74
|
icon: unref(addIcon),
|
|
75
|
+
disable: __props.disable,
|
|
72
76
|
onClick: _cache[2] || (_cache[2] = ($event) => unref(bus).emit(__props.busEmits.add))
|
|
73
|
-
}, null, 8, ["class", "icon"])) : createCommentVNode("", true),
|
|
77
|
+
}, null, 8, ["class", "icon", "disable"])) : createCommentVNode("", true),
|
|
74
78
|
__props.busEmits.edit && unref(type) === "edit" ? (openBlock(), createBlock(_component_q_btn, {
|
|
75
79
|
key: 1,
|
|
76
80
|
class: normalizeClass({
|
|
@@ -81,8 +85,9 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
81
85
|
}),
|
|
82
86
|
fab: "",
|
|
83
87
|
icon: unref(editIcon),
|
|
88
|
+
disable: __props.disable,
|
|
84
89
|
onClick: _cache[3] || (_cache[3] = ($event) => unref(bus).emit(__props.busEmits.edit))
|
|
85
|
-
}, null, 8, ["class", "icon"])) : createCommentVNode("", true)
|
|
90
|
+
}, null, 8, ["class", "icon", "disable"])) : createCommentVNode("", true)
|
|
86
91
|
]),
|
|
87
92
|
_: 1
|
|
88
93
|
})) : createCommentVNode("", true)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@simsustech/quasar-components",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.26",
|
|
4
4
|
"author": "Stefan van Herwijnen",
|
|
5
5
|
"description": "High level components for Quasar Framework",
|
|
6
6
|
"license": "MIT",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
},
|
|
52
52
|
"bugs": "https://github.com/simsusech/quasar-components/issues",
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@vueuse/core": "^14.1
|
|
54
|
+
"@vueuse/core": "^14.2.1",
|
|
55
55
|
"validator": "^13.15.26"
|
|
56
56
|
},
|
|
57
57
|
"peerDependencies": {
|
|
@@ -59,30 +59,30 @@
|
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"@iconify-json/flagpack": "^1.2.7",
|
|
62
|
-
"@types/node": "^25.
|
|
62
|
+
"@types/node": "^25.3.0",
|
|
63
63
|
"@types/validator": "^13.15.10",
|
|
64
64
|
"@types/ws": "^8.18.1",
|
|
65
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
66
|
-
"@typescript-eslint/parser": "^8.
|
|
67
|
-
"@vitejs/plugin-vue": "^6.0.
|
|
68
|
-
"@vue/server-renderer": "^3.5.
|
|
69
|
-
"eslint": "^
|
|
65
|
+
"@typescript-eslint/eslint-plugin": "^8.56.0",
|
|
66
|
+
"@typescript-eslint/parser": "^8.56.0",
|
|
67
|
+
"@vitejs/plugin-vue": "^6.0.4",
|
|
68
|
+
"@vue/server-renderer": "^3.5.28",
|
|
69
|
+
"eslint": "^10.0.0",
|
|
70
70
|
"eslint-config-prettier": "^10.1.8",
|
|
71
71
|
"eslint-plugin-prettier": "^5.5.5",
|
|
72
72
|
"eslint-plugin-prettier-vue": "^5.0.0",
|
|
73
|
-
"eslint-plugin-vue": "^10.
|
|
74
|
-
"glob": "^13.0.
|
|
73
|
+
"eslint-plugin-vue": "^10.8.0",
|
|
74
|
+
"glob": "^13.0.5",
|
|
75
75
|
"local-pkg": "^1.1.2",
|
|
76
76
|
"prettier": "^3.8.1",
|
|
77
77
|
"quasar": "^2.18.6",
|
|
78
|
-
"rimraf": "^6.1.
|
|
78
|
+
"rimraf": "^6.1.3",
|
|
79
79
|
"typescript": "5.9.3",
|
|
80
|
-
"typescript-eslint": "^8.
|
|
80
|
+
"typescript-eslint": "^8.56.0",
|
|
81
81
|
"unplugin-vue-components": "^31.0.0",
|
|
82
82
|
"vite": "^7.3.1",
|
|
83
|
-
"vue": "^3.5.
|
|
84
|
-
"vue-eslint-parser": "^10.
|
|
85
|
-
"vue-router": "^
|
|
83
|
+
"vue": "^3.5.28",
|
|
84
|
+
"vue-eslint-parser": "^10.4.0",
|
|
85
|
+
"vue-router": "^5.0.2",
|
|
86
86
|
"vue-tsc": "^3.2.4"
|
|
87
87
|
},
|
|
88
88
|
"scripts": {
|
|
@@ -3,16 +3,16 @@
|
|
|
3
3
|
<q-layout
|
|
4
4
|
view="LHh lpR fff"
|
|
5
5
|
container
|
|
6
|
-
class="bg
|
|
6
|
+
class="bg-$light-surface dark:bg-$dark-surface"
|
|
7
7
|
style="min-width: 85vw"
|
|
8
8
|
>
|
|
9
9
|
<q-header
|
|
10
|
-
class="bg
|
|
10
|
+
class="bg-$light-surface-container-high dark:bg-$dark-surface-container-high"
|
|
11
11
|
>
|
|
12
12
|
<q-toolbar>
|
|
13
13
|
<q-btn
|
|
14
14
|
:icon="icons.close"
|
|
15
|
-
class="text
|
|
15
|
+
class="text-$light-on-surface dark:text-$dark-on-surface"
|
|
16
16
|
flat
|
|
17
17
|
round
|
|
18
18
|
dense
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
<q-submit-button
|
|
25
25
|
v-if="!display"
|
|
26
26
|
flat
|
|
27
|
-
class="text
|
|
27
|
+
class="text-$light-primary dark:text-$dark-primary"
|
|
28
28
|
:type="buttonType"
|
|
29
29
|
@submit="submit"
|
|
30
30
|
></q-submit-button>
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
}"
|
|
12
12
|
fab
|
|
13
13
|
:icon="addIcon"
|
|
14
|
+
:disable="disable"
|
|
14
15
|
@click="bus.emit(busEmits.add)"
|
|
15
16
|
/>
|
|
16
17
|
<q-btn
|
|
@@ -24,6 +25,7 @@
|
|
|
24
25
|
}"
|
|
25
26
|
fab
|
|
26
27
|
:icon="editIcon"
|
|
28
|
+
:disable="disable"
|
|
27
29
|
@click="bus.emit(busEmits.edit)"
|
|
28
30
|
/>
|
|
29
31
|
</div>
|
|
@@ -38,6 +40,7 @@
|
|
|
38
40
|
}"
|
|
39
41
|
fab
|
|
40
42
|
:icon="addIcon"
|
|
43
|
+
:disable="disable"
|
|
41
44
|
@click="bus.emit(busEmits.add)"
|
|
42
45
|
/>
|
|
43
46
|
<q-btn
|
|
@@ -50,6 +53,7 @@
|
|
|
50
53
|
}"
|
|
51
54
|
fab
|
|
52
55
|
:icon="editIcon"
|
|
56
|
+
:disable="disable"
|
|
53
57
|
@click="bus.emit(busEmits.edit)"
|
|
54
58
|
/>
|
|
55
59
|
</q-page-sticky>
|
|
@@ -63,6 +67,7 @@ interface Props {
|
|
|
63
67
|
type?: 'add' | 'edit'
|
|
64
68
|
showSticky?: boolean
|
|
65
69
|
seekAttention?: boolean
|
|
70
|
+
disable?: boolean
|
|
66
71
|
busEmits: {
|
|
67
72
|
add?: string
|
|
68
73
|
edit?: string
|