quasar-ui-danx 0.4.8 → 0.4.9
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/danx.es.js +4584 -4605
- package/dist/danx.es.js.map +1 -1
- package/dist/danx.umd.js +6 -6
- package/dist/danx.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/ActionTable/Form/Fields/FieldLabel.vue +2 -2
- package/src/components/ActionTable/Form/Fields/MultiFileField.vue +0 -1
- package/src/components/ActionTable/Form/Fields/SelectField.vue +0 -1
- package/src/components/ActionTable/Form/Fields/TextField.vue +0 -1
- package/src/components/ActionTable/Form/Fields/WysiwygField.vue +12 -13
- package/src/styles/quasar-reset.scss +2 -1
- package/src/styles/themes/danx/forms.scss +8 -0
package/package.json
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
<template>
|
2
|
-
<span>
|
2
|
+
<span class="dx-field-label">
|
3
3
|
<slot>
|
4
4
|
{{ labelText }}
|
5
5
|
<template v-if="showName">({{ field?.name }})</template>
|
6
6
|
</slot>
|
7
7
|
<span
|
8
8
|
v-if="requiredLabel"
|
9
|
-
class="
|
9
|
+
class="dx-field-required"
|
10
10
|
>{{ requiredLabel }}</span>
|
11
11
|
</span>
|
12
12
|
</template>
|
@@ -4,7 +4,6 @@
|
|
4
4
|
v-if="!noLabel"
|
5
5
|
:field="field"
|
6
6
|
:show-name="showName"
|
7
|
-
class="text-sm font-semibold text-gray-700 block mb-2"
|
8
7
|
/>
|
9
8
|
<template v-if="readonly">
|
10
9
|
<div
|
@@ -30,17 +29,17 @@ import FieldLabel from "./FieldLabel";
|
|
30
29
|
|
31
30
|
defineEmits(["update:model-value"]);
|
32
31
|
defineProps({
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
32
|
+
modelValue: {
|
33
|
+
type: [String, Number],
|
34
|
+
default: null
|
35
|
+
},
|
36
|
+
field: {
|
37
|
+
type: Object,
|
38
|
+
required: true
|
39
|
+
},
|
40
|
+
noLabel: Boolean,
|
41
|
+
showName: Boolean,
|
42
|
+
disable: Boolean,
|
43
|
+
readonly: Boolean
|
45
44
|
});
|
46
45
|
</script>
|