@hostlink/nuxt-light 1.55.0 → 1.55.2
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/README.md +120 -120
- package/dist/module.json +1 -1
- package/dist/runtime/components/L/CustomField/Add.vue +40 -42
- package/dist/runtime/components/L/CustomField/List.vue +5 -5
- package/dist/runtime/components/L/Database/create-table-dialog.vue +33 -34
- package/dist/runtime/components/L/Fieldset.vue +8 -11
- package/dist/runtime/components/L/ForgetPasswordDialog.vue +26 -27
- package/dist/runtime/components/L/Revision.vue +89 -93
- package/dist/runtime/components/L/Storage.vue +7 -7
- package/dist/runtime/components/L/System/Setting/authentication.d.vue.ts +1 -5
- package/dist/runtime/components/L/System/Setting/authentication.vue +16 -16
- package/dist/runtime/components/L/System/Setting/authentication.vue.d.ts +1 -5
- package/dist/runtime/components/L/System/Setting/developer.vue +10 -11
- package/dist/runtime/components/L/System/Setting/forget-password.vue +9 -9
- package/dist/runtime/components/L/System/Setting/general.vue +9 -9
- package/dist/runtime/components/L/System/Setting/mail.d.vue.ts +1 -5
- package/dist/runtime/components/L/System/Setting/mail.vue +28 -32
- package/dist/runtime/components/L/System/Setting/mail.vue.d.ts +1 -5
- package/dist/runtime/components/L/System/Setting/modules.d.vue.ts +1 -5
- package/dist/runtime/components/L/System/Setting/modules.vue +6 -6
- package/dist/runtime/components/L/System/Setting/modules.vue.d.ts +1 -5
- package/dist/runtime/components/L/System/Setting/security.d.vue.ts +1 -5
- package/dist/runtime/components/L/System/Setting/security.vue +38 -41
- package/dist/runtime/components/L/System/Setting/security.vue.d.ts +1 -5
- package/dist/runtime/components/L/User/eventlog.vue +5 -5
- package/dist/runtime/components/L/User/overview.vue +19 -19
- package/dist/runtime/components/L/User/userlog.vue +1 -1
- package/dist/runtime/components/L/ValidationInput.vue +14 -14
- package/dist/runtime/components/MyTest.vue +3 -3
- package/dist/runtime/components/l-action-btn.vue +4 -4
- package/dist/runtime/components/l-add-btn.vue +3 -3
- package/dist/runtime/components/l-alert.vue +8 -8
- package/dist/runtime/components/l-app-main.d.vue.ts +1 -5
- package/dist/runtime/components/l-app-main.vue +170 -171
- package/dist/runtime/components/l-app-main.vue.d.ts +1 -5
- package/dist/runtime/components/l-app.vue +27 -27
- package/dist/runtime/components/l-audit-card.vue +8 -8
- package/dist/runtime/components/l-back-btn.vue +6 -6
- package/dist/runtime/components/l-banner.d.vue.ts +1 -1
- package/dist/runtime/components/l-banner.vue +10 -10
- package/dist/runtime/components/l-banner.vue.d.ts +1 -1
- package/dist/runtime/components/l-bar.vue +3 -3
- package/dist/runtime/components/l-btn.vue +4 -4
- package/dist/runtime/components/l-card.d.vue.ts +1 -9
- package/dist/runtime/components/l-card.vue +31 -31
- package/dist/runtime/components/l-card.vue.d.ts +1 -9
- package/dist/runtime/components/l-checkbox.vue +3 -3
- package/dist/runtime/components/l-col.vue +5 -5
- package/dist/runtime/components/l-customizer.d.vue.ts +2 -2
- package/dist/runtime/components/l-customizer.vue +95 -96
- package/dist/runtime/components/l-customizer.vue.d.ts +2 -2
- package/dist/runtime/components/l-date-picker.d.vue.ts +1 -1
- package/dist/runtime/components/l-date-picker.vue +17 -17
- package/dist/runtime/components/l-date-picker.vue.d.ts +1 -1
- package/dist/runtime/components/l-delete-btn.vue +1 -1
- package/dist/runtime/components/l-dialog-database-field-add.vue +25 -26
- package/dist/runtime/components/l-drag-drop-container.vue +5 -5
- package/dist/runtime/components/l-drag-drop-group.vue +1 -1
- package/dist/runtime/components/l-drag-drop.vue +6 -6
- package/dist/runtime/components/l-edit-btn.vue +2 -2
- package/dist/runtime/components/l-editor.d.vue.ts +1 -5
- package/dist/runtime/components/l-editor.vue +41 -41
- package/dist/runtime/components/l-editor.vue.d.ts +1 -5
- package/dist/runtime/components/l-facebook-button.vue +2 -2
- package/dist/runtime/components/l-fav-menu.vue +14 -14
- package/dist/runtime/components/l-field.vue +3 -3
- package/dist/runtime/components/l-file-manager-labels.vue +11 -11
- package/dist/runtime/components/l-file-manager-move.vue +67 -67
- package/dist/runtime/components/l-file-manager-preview.vue +22 -22
- package/dist/runtime/components/l-file-manager.vue +243 -248
- package/dist/runtime/components/l-file-upload.d.vue.ts +1 -1
- package/dist/runtime/components/l-file-upload.vue +25 -25
- package/dist/runtime/components/l-file-upload.vue.d.ts +1 -1
- package/dist/runtime/components/l-file.d.vue.ts +1 -5
- package/dist/runtime/components/l-file.vue +8 -8
- package/dist/runtime/components/l-file.vue.d.ts +1 -5
- package/dist/runtime/components/l-form-dialog.vue +27 -27
- package/dist/runtime/components/l-form.d.vue.ts +1 -33
- package/dist/runtime/components/l-form.vue +11 -11
- package/dist/runtime/components/l-form.vue.d.ts +1 -33
- package/dist/runtime/components/l-group-select.vue +22 -22
- package/dist/runtime/components/l-icon-picker.vue +35 -38
- package/dist/runtime/components/l-input-select.vue +4 -4
- package/dist/runtime/components/l-input-xlsx.vue +30 -31
- package/dist/runtime/components/l-input.d.vue.ts +1 -1
- package/dist/runtime/components/l-input.vue +23 -23
- package/dist/runtime/components/l-input.vue.d.ts +1 -1
- package/dist/runtime/components/l-item.vue +18 -18
- package/dist/runtime/components/l-link.vue +3 -3
- package/dist/runtime/components/l-list.vue +12 -12
- package/dist/runtime/components/l-login.d.vue.ts +1 -5
- package/dist/runtime/components/l-login.vue +57 -57
- package/dist/runtime/components/l-login.vue.d.ts +1 -5
- package/dist/runtime/components/l-menu.vue +33 -34
- package/dist/runtime/components/l-microsoft-button.d.vue.ts +1 -11
- package/dist/runtime/components/l-microsoft-button.vue +68 -68
- package/dist/runtime/components/l-microsoft-button.vue.d.ts +1 -11
- package/dist/runtime/components/l-page.vue +21 -21
- package/dist/runtime/components/l-repeater.d.vue.ts +3 -3
- package/dist/runtime/components/l-repeater.vue +35 -35
- package/dist/runtime/components/l-repeater.vue.d.ts +3 -3
- package/dist/runtime/components/l-row.vue +5 -5
- package/dist/runtime/components/l-save-btn.vue +2 -2
- package/dist/runtime/components/l-select.vue +1 -1
- package/dist/runtime/components/l-small-box.vue +9 -9
- package/dist/runtime/components/l-statistic.vue +9 -9
- package/dist/runtime/components/l-tab.vue +10 -10
- package/dist/runtime/components/l-table.d.vue.ts +1 -1
- package/dist/runtime/components/l-table.vue +176 -190
- package/dist/runtime/components/l-table.vue.d.ts +1 -1
- package/dist/runtime/components/l-tabs.vue +9 -9
- package/dist/runtime/components/l-test2.vue +3 -3
- package/dist/runtime/components/l-time-picker.d.vue.ts +1 -1
- package/dist/runtime/components/l-time-picker.vue +18 -18
- package/dist/runtime/components/l-time-picker.vue.d.ts +1 -1
- package/dist/runtime/components/l-view-btn.vue +2 -2
- package/dist/runtime/components/user-list.vue +3 -3
- package/dist/runtime/composables/mytest.js +2 -2
- package/dist/runtime/composables/tc2sc.js +85 -85
- package/dist/runtime/formkit/Checkbox.d.vue.ts +0 -1
- package/dist/runtime/formkit/Checkbox.vue +6 -6
- package/dist/runtime/formkit/Checkbox.vue.d.ts +0 -1
- package/dist/runtime/formkit/DatePicker.d.vue.ts +0 -1
- package/dist/runtime/formkit/DatePicker.vue +11 -11
- package/dist/runtime/formkit/DatePicker.vue.d.ts +0 -1
- package/dist/runtime/formkit/Editor.vue +7 -7
- package/dist/runtime/formkit/File.d.vue.ts +0 -1
- package/dist/runtime/formkit/File.vue +6 -6
- package/dist/runtime/formkit/File.vue.d.ts +0 -1
- package/dist/runtime/formkit/FilePicker.d.vue.ts +0 -1
- package/dist/runtime/formkit/FilePicker.vue +6 -6
- package/dist/runtime/formkit/FilePicker.vue.d.ts +0 -1
- package/dist/runtime/formkit/FileUpload.d.vue.ts +0 -1
- package/dist/runtime/formkit/FileUpload.vue +6 -6
- package/dist/runtime/formkit/FileUpload.vue.d.ts +0 -1
- package/dist/runtime/formkit/Form.d.vue.ts +1 -3
- package/dist/runtime/formkit/Form.vue +11 -11
- package/dist/runtime/formkit/Form.vue.d.ts +1 -3
- package/dist/runtime/formkit/GroupSelect.d.vue.ts +0 -1
- package/dist/runtime/formkit/GroupSelect.vue +7 -7
- package/dist/runtime/formkit/GroupSelect.vue.d.ts +0 -1
- package/dist/runtime/formkit/Input.d.vue.ts +1 -1
- package/dist/runtime/formkit/Input.vue +11 -11
- package/dist/runtime/formkit/Input.vue.d.ts +1 -1
- package/dist/runtime/formkit/InputSelect.d.vue.ts +1 -1
- package/dist/runtime/formkit/InputSelect.vue +7 -7
- package/dist/runtime/formkit/InputSelect.vue.d.ts +1 -1
- package/dist/runtime/formkit/InputXlsx.vue +4 -4
- package/dist/runtime/formkit/OptionGroup.vue +5 -5
- package/dist/runtime/formkit/Radio.vue +4 -4
- package/dist/runtime/formkit/Repeater.d.vue.ts +1 -1
- package/dist/runtime/formkit/Repeater.vue +37 -37
- package/dist/runtime/formkit/Repeater.vue.d.ts +1 -1
- package/dist/runtime/formkit/Select.d.vue.ts +0 -1
- package/dist/runtime/formkit/Select.vue +6 -6
- package/dist/runtime/formkit/Select.vue.d.ts +0 -1
- package/dist/runtime/formkit/Textarea.d.vue.ts +1 -1
- package/dist/runtime/formkit/Textarea.vue +11 -11
- package/dist/runtime/formkit/Textarea.vue.d.ts +1 -1
- package/dist/runtime/formkit/TimePicker.d.vue.ts +0 -1
- package/dist/runtime/formkit/TimePicker.vue +10 -10
- package/dist/runtime/formkit/TimePicker.vue.d.ts +0 -1
- package/dist/runtime/formkit/Toggle.vue +3 -3
- package/dist/runtime/index.d.ts +39 -39
- package/dist/runtime/locales/en.json +9 -9
- package/dist/runtime/locales/zh-hk.json +213 -213
- package/dist/runtime/pages/CustomField/[custom_field_id]/edit.vue +33 -38
- package/dist/runtime/pages/CustomField/index.vue +12 -14
- package/dist/runtime/pages/EventLog/_eventlog_id/view.vue +36 -36
- package/dist/runtime/pages/EventLog/index.vue +7 -7
- package/dist/runtime/pages/FileManager/index.vue +4 -4
- package/dist/runtime/pages/MailLog/index.vue +18 -18
- package/dist/runtime/pages/Permission/add.vue +13 -13
- package/dist/runtime/pages/Permission/all.vue +63 -63
- package/dist/runtime/pages/Permission/export.vue +9 -10
- package/dist/runtime/pages/Permission/index.vue +4 -4
- package/dist/runtime/pages/Role/_name/update-child.vue +4 -4
- package/dist/runtime/pages/Role/add.vue +7 -7
- package/dist/runtime/pages/Role/add2.vue +30 -30
- package/dist/runtime/pages/Role/index.vue +27 -27
- package/dist/runtime/pages/System/database/backup.vue +72 -72
- package/dist/runtime/pages/System/database/check.vue +72 -72
- package/dist/runtime/pages/System/database/event.vue +51 -51
- package/dist/runtime/pages/System/database/process.vue +21 -21
- package/dist/runtime/pages/System/database/restore.vue +110 -110
- package/dist/runtime/pages/System/database/table.vue +67 -69
- package/dist/runtime/pages/System/fs.vue +99 -99
- package/dist/runtime/pages/System/index.vue +16 -18
- package/dist/runtime/pages/System/mailtest.vue +12 -12
- package/dist/runtime/pages/System/menu/index.vue +142 -144
- package/dist/runtime/pages/System/package.vue +11 -11
- package/dist/runtime/pages/System/phpinfo.vue +3 -3
- package/dist/runtime/pages/System/setting.vue +28 -30
- package/dist/runtime/pages/System/test.vue +12 -12
- package/dist/runtime/pages/System/view_as.vue +21 -22
- package/dist/runtime/pages/SystemValue/_systemvalue_id/edit.vue +6 -6
- package/dist/runtime/pages/SystemValue/add.vue +7 -7
- package/dist/runtime/pages/SystemValue/index.vue +4 -4
- package/dist/runtime/pages/Translate/index.vue +38 -38
- package/dist/runtime/pages/User/_user_id/change-password.vue +17 -18
- package/dist/runtime/pages/User/_user_id/edit.vue +28 -28
- package/dist/runtime/pages/User/_user_id/update-role.vue +7 -8
- package/dist/runtime/pages/User/_user_id/view.vue +27 -30
- package/dist/runtime/pages/User/add.vue +35 -35
- package/dist/runtime/pages/User/index.vue +11 -11
- package/dist/runtime/pages/User/profile.vue +45 -46
- package/dist/runtime/pages/User/setting/bio-auth.vue +22 -22
- package/dist/runtime/pages/User/setting/favorite.vue +61 -62
- package/dist/runtime/pages/User/setting/index.vue +6 -6
- package/dist/runtime/pages/User/setting/information.vue +6 -6
- package/dist/runtime/pages/User/setting/menu.vue +165 -165
- package/dist/runtime/pages/User/setting/open_id.vue +161 -161
- package/dist/runtime/pages/User/setting/password.vue +19 -19
- package/dist/runtime/pages/User/setting/style.vue +104 -106
- package/dist/runtime/pages/User/setting/two-factor-auth.vue +176 -176
- package/dist/runtime/pages/User/setting.vue +32 -32
- package/dist/runtime/pages/UserLog/index.vue +4 -4
- package/package.json +63 -63
|
@@ -12,8 +12,8 @@ const value = computed({
|
|
|
12
12
|
</script>
|
|
13
13
|
|
|
14
14
|
<template>
|
|
15
|
-
<l-input-xlsx v-model="value" :label="context.label" v-bind="context.attrs" :error="error" :type="context.inputType"
|
|
16
|
-
:error-message="errorMessage">
|
|
17
|
-
<slot></slot>
|
|
18
|
-
</l-input-xlsx>
|
|
15
|
+
<l-input-xlsx v-model="value" :label="context.label" v-bind="context.attrs" :error="error" :type="context.inputType"
|
|
16
|
+
:error-message="errorMessage">
|
|
17
|
+
<slot></slot>
|
|
18
|
+
</l-input-xlsx>
|
|
19
19
|
</template>
|
|
@@ -17,9 +17,9 @@ const outlined = computed(() => {
|
|
|
17
17
|
</script>
|
|
18
18
|
|
|
19
19
|
<template>
|
|
20
|
-
<l-field stack-label :label="context.label" :error="error" :error-message="errorMessage" :outlined="outlined"
|
|
21
|
-
hide-bottom-space>
|
|
22
|
-
<q-option-group type="checkbox" :options="context.options" v-model="value" inline v-bind="context.attrs">
|
|
23
|
-
</q-option-group>
|
|
24
|
-
</l-field>
|
|
20
|
+
<l-field stack-label :label="context.label" :error="error" :error-message="errorMessage" :outlined="outlined"
|
|
21
|
+
hide-bottom-space>
|
|
22
|
+
<q-option-group type="checkbox" :options="context.options" v-model="value" inline v-bind="context.attrs">
|
|
23
|
+
</q-option-group>
|
|
24
|
+
</l-field>
|
|
25
25
|
</template>
|
|
@@ -12,8 +12,8 @@ const value = computed({
|
|
|
12
12
|
</script>
|
|
13
13
|
|
|
14
14
|
<template>
|
|
15
|
-
<q-radio v-model="value" :label="context.label" v-bind="context.attrs" :error="error" :type="context.inputType"
|
|
16
|
-
:error-message="errorMessage">
|
|
17
|
-
<slot></slot>
|
|
18
|
-
</q-radio>
|
|
15
|
+
<q-radio v-model="value" :label="context.label" v-bind="context.attrs" :error="error" :type="context.inputType"
|
|
16
|
+
:error-message="errorMessage">
|
|
17
|
+
<slot></slot>
|
|
18
|
+
</q-radio>
|
|
19
19
|
</template>
|
|
@@ -102,41 +102,41 @@ const cursor = ref("cursor-grab");
|
|
|
102
102
|
</style>
|
|
103
103
|
|
|
104
104
|
<template>
|
|
105
|
-
<FormKit type="list" v-model="localValue" dynamic #default="{ items, node }" :name="node.name">
|
|
106
|
-
<div class="col col-12">
|
|
107
|
-
<q-list :bordered="bordered" :separator="separator" ref="parent">
|
|
108
|
-
<FormKit type="group" v-for="(item, index) in items" :index="index" :key="item" #default="{ node }">
|
|
109
|
-
<q-item :class="{ 'q-pa-xs': !dense, 'q-pa-none': dense }">
|
|
110
|
-
<q-item-section avatar v-if="sortable">
|
|
111
|
-
<div class="l-repeater-handle" :class="cursor"
|
|
112
|
-
@mousedown="cursor = 'cursor-grabbing'" @mouseup="cursor = 'cursor-grab'"
|
|
113
|
-
@mouseleave="cursor = 'cursor-grab'">
|
|
114
|
-
<q-icon name="sym_o_drag_indicator" size="sm" />
|
|
115
|
-
</div>
|
|
116
|
-
</q-item-section>
|
|
117
|
-
|
|
118
|
-
<q-item-section>
|
|
119
|
-
<slot v-bind="{ value: localValue[index], index: index, node: node }"></slot>
|
|
120
|
-
</q-item-section>
|
|
121
|
-
|
|
122
|
-
<q-item-section side>
|
|
123
|
-
<div class="column q-gutter-xs">
|
|
124
|
-
<!-- up -->
|
|
125
|
-
<q-btn type="button" @click="onMoveUp(index)" icon="sym_o_arrow_upward" color="primary"
|
|
126
|
-
:dense="dense" flat :disable="!isAllowMoveUp(index)" size="sm" />
|
|
127
|
-
|
|
128
|
-
<q-btn type="button" @click="onRemove(index)" icon="sym_o_delete" color="negative"
|
|
129
|
-
:dense="dense" :disable="!isAllowRemove" flat size="sm" />
|
|
130
|
-
<!-- down -->
|
|
131
|
-
<q-btn type="button" @click="onMoveDown(index)" icon="sym_o_arrow_downward" color="primary"
|
|
132
|
-
:dense="dense" flat :disable="!isAllowMoveDown(index)" size="sm" />
|
|
133
|
-
</div>
|
|
134
|
-
</q-item-section>
|
|
135
|
-
</q-item>
|
|
136
|
-
</FormKit>
|
|
137
|
-
</q-list>
|
|
138
|
-
<q-btn @click="onAdd" :label="addLabel" icon="sym_o_add" color="primary" outline class="q-mt-sm"
|
|
139
|
-
:disable="localValue.length >= max" />
|
|
140
|
-
</div>
|
|
141
|
-
</FormKit>
|
|
105
|
+
<FormKit type="list" v-model="localValue" dynamic #default="{ items, node }" :name="node.name">
|
|
106
|
+
<div class="col col-12">
|
|
107
|
+
<q-list :bordered="bordered" :separator="separator" ref="parent">
|
|
108
|
+
<FormKit type="group" v-for="(item, index) in items" :index="index" :key="item" #default="{ node }">
|
|
109
|
+
<q-item :class="{ 'q-pa-xs': !dense, 'q-pa-none': dense }">
|
|
110
|
+
<q-item-section avatar v-if="sortable">
|
|
111
|
+
<div class="l-repeater-handle" :class="cursor"
|
|
112
|
+
@mousedown="cursor = 'cursor-grabbing'" @mouseup="cursor = 'cursor-grab'"
|
|
113
|
+
@mouseleave="cursor = 'cursor-grab'">
|
|
114
|
+
<q-icon name="sym_o_drag_indicator" size="sm" />
|
|
115
|
+
</div>
|
|
116
|
+
</q-item-section>
|
|
117
|
+
|
|
118
|
+
<q-item-section>
|
|
119
|
+
<slot v-bind="{ value: localValue[index], index: index, node: node }"></slot>
|
|
120
|
+
</q-item-section>
|
|
121
|
+
|
|
122
|
+
<q-item-section side>
|
|
123
|
+
<div class="column q-gutter-xs">
|
|
124
|
+
<!-- up -->
|
|
125
|
+
<q-btn type="button" @click="onMoveUp(index)" icon="sym_o_arrow_upward" color="primary"
|
|
126
|
+
:dense="dense" flat :disable="!isAllowMoveUp(index)" size="sm" />
|
|
127
|
+
|
|
128
|
+
<q-btn type="button" @click="onRemove(index)" icon="sym_o_delete" color="negative"
|
|
129
|
+
:dense="dense" :disable="!isAllowRemove" flat size="sm" />
|
|
130
|
+
<!-- down -->
|
|
131
|
+
<q-btn type="button" @click="onMoveDown(index)" icon="sym_o_arrow_downward" color="primary"
|
|
132
|
+
:dense="dense" flat :disable="!isAllowMoveDown(index)" size="sm" />
|
|
133
|
+
</div>
|
|
134
|
+
</q-item-section>
|
|
135
|
+
</q-item>
|
|
136
|
+
</FormKit>
|
|
137
|
+
</q-list>
|
|
138
|
+
<q-btn @click="onAdd" :label="addLabel" icon="sym_o_add" color="primary" outline class="q-mt-sm"
|
|
139
|
+
:disable="localValue.length >= max" />
|
|
140
|
+
</div>
|
|
141
|
+
</FormKit>
|
|
142
142
|
</template>
|
|
@@ -10,7 +10,6 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
10
10
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
11
11
|
type __VLS_Slots = {
|
|
12
12
|
[x: string]: ((props: any) => any) | undefined;
|
|
13
|
-
[x: number]: ((props: any) => any) | undefined;
|
|
14
13
|
};
|
|
15
14
|
declare const props: {
|
|
16
15
|
readonly context?: Record<string, any> | undefined;
|
|
@@ -18,10 +18,10 @@ if (props.context.state.required) {
|
|
|
18
18
|
</script>
|
|
19
19
|
|
|
20
20
|
<template>
|
|
21
|
-
<l-select v-model="value" :label="context.label" v-bind="context.attrs" :error="error" :error-message="errorMessage"
|
|
22
|
-
:clearable="clearable" :required="context.state.required" :disable="context.disabled">
|
|
23
|
-
<template v-for="(s, name) in $slots" v-slot:[name]="props" :key="name">
|
|
24
|
-
<slot :name="name" v-bind="props ?? {}"></slot>
|
|
25
|
-
</template>
|
|
26
|
-
</l-select>
|
|
21
|
+
<l-select v-model="value" :label="context.label" v-bind="context.attrs" :error="error" :error-message="errorMessage"
|
|
22
|
+
:clearable="clearable" :required="context.state.required" :disable="context.disabled">
|
|
23
|
+
<template v-for="(s, name) in $slots" v-slot:[name]="props" :key="name">
|
|
24
|
+
<slot :name="name" v-bind="props ?? {}"></slot>
|
|
25
|
+
</template>
|
|
26
|
+
</l-select>
|
|
27
27
|
</template>
|
|
@@ -10,7 +10,6 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
10
10
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
11
11
|
type __VLS_Slots = {
|
|
12
12
|
[x: string]: ((props: any) => any) | undefined;
|
|
13
|
-
[x: number]: ((props: any) => any) | undefined;
|
|
14
13
|
};
|
|
15
14
|
declare const props: {
|
|
16
15
|
readonly context?: Record<string, any> | undefined;
|
|
@@ -33,15 +33,15 @@ const label = computed(() => {
|
|
|
33
33
|
</script>
|
|
34
34
|
|
|
35
35
|
<template>
|
|
36
|
-
<l-input v-model="value" v-bind="context?.attrs" :label="label" :error="error" type="textarea"
|
|
37
|
-
:error-message="errorMessage" @blur="onBlur" :disable="context.disabled">
|
|
38
|
-
|
|
39
|
-
<template v-for="(s, name) in $slots" v-slot:[name]="props" :key="name">
|
|
40
|
-
<slot :name="name" v-bind="props ?? {}"></slot>
|
|
41
|
-
</template>
|
|
42
|
-
|
|
43
|
-
<template v-if="context.help" #hint>
|
|
44
|
-
{{ context.help }}
|
|
45
|
-
</template>
|
|
46
|
-
</l-input>
|
|
36
|
+
<l-input v-model="value" v-bind="context?.attrs" :label="label" :error="error" type="textarea"
|
|
37
|
+
:error-message="errorMessage" @blur="onBlur" :disable="context.disabled">
|
|
38
|
+
|
|
39
|
+
<template v-for="(s, name) in $slots" v-slot:[name]="props" :key="name">
|
|
40
|
+
<slot :name="name" v-bind="props ?? {}"></slot>
|
|
41
|
+
</template>
|
|
42
|
+
|
|
43
|
+
<template v-if="context.help" #hint>
|
|
44
|
+
{{ context.help }}
|
|
45
|
+
</template>
|
|
46
|
+
</l-input>
|
|
47
47
|
</template>
|
|
@@ -10,7 +10,6 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
10
10
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
11
11
|
type __VLS_Slots = {
|
|
12
12
|
[x: string]: ((props: any) => any) | undefined;
|
|
13
|
-
[x: number]: ((props: any) => any) | undefined;
|
|
14
13
|
};
|
|
15
14
|
declare const props: {
|
|
16
15
|
readonly context?: Record<string, any> | undefined;
|
|
@@ -12,14 +12,14 @@ const value = computed({
|
|
|
12
12
|
</script>
|
|
13
13
|
|
|
14
14
|
<template>
|
|
15
|
-
<l-time-picker v-model="value" v-bind="context.attrs" :label="context.label" :error="error" :type="context.inputType"
|
|
16
|
-
:error-message="errorMessage" :disable="context.disabled" :required="context.state.required">
|
|
17
|
-
<template v-for="(s, name) in $slots" v-slot:[name]="props" :key="name">
|
|
18
|
-
<slot :name="name" v-bind="props ?? {}"></slot>
|
|
19
|
-
</template>
|
|
20
|
-
|
|
21
|
-
<template v-if="context.help" #hint>
|
|
22
|
-
{{ context.help }}
|
|
23
|
-
</template>
|
|
24
|
-
</l-time-picker>
|
|
15
|
+
<l-time-picker v-model="value" v-bind="context.attrs" :label="context.label" :error="error" :type="context.inputType"
|
|
16
|
+
:error-message="errorMessage" :disable="context.disabled" :required="context.state.required">
|
|
17
|
+
<template v-for="(s, name) in $slots" v-slot:[name]="props" :key="name">
|
|
18
|
+
<slot :name="name" v-bind="props ?? {}"></slot>
|
|
19
|
+
</template>
|
|
20
|
+
|
|
21
|
+
<template v-if="context.help" #hint>
|
|
22
|
+
{{ context.help }}
|
|
23
|
+
</template>
|
|
24
|
+
</l-time-picker>
|
|
25
25
|
</template>
|
|
@@ -10,7 +10,6 @@ declare const __VLS_base: import("vue").DefineComponent<{}, {
|
|
|
10
10
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
11
11
|
type __VLS_Slots = {
|
|
12
12
|
[x: string]: ((props: any) => any) | undefined;
|
|
13
|
-
[x: number]: ((props: any) => any) | undefined;
|
|
14
13
|
};
|
|
15
14
|
declare const props: {
|
|
16
15
|
readonly context?: Record<string, any> | undefined;
|
|
@@ -10,7 +10,7 @@ const value = computed({
|
|
|
10
10
|
</script>
|
|
11
11
|
|
|
12
12
|
<template>
|
|
13
|
-
<q-toggle v-model="value" :label="context.label" :disable="context.disabled" v-bind="context.attrs">
|
|
14
|
-
<slot></slot>
|
|
15
|
-
</q-toggle>
|
|
13
|
+
<q-toggle v-model="value" :label="context.label" :disable="context.disabled" v-bind="context.attrs">
|
|
14
|
+
<slot></slot>
|
|
15
|
+
</q-toggle>
|
|
16
16
|
</template>
|
package/dist/runtime/index.d.ts
CHANGED
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
import type { FormKitInputs } from '@formkit/inputs';
|
|
2
|
-
|
|
3
|
-
declare module '@formkit/inputs' {
|
|
4
|
-
export interface FormKitInputProps<Props extends FormKitInputs<Props>> {
|
|
5
|
-
lInput: {
|
|
6
|
-
type: 'l-input';
|
|
7
|
-
name: string;
|
|
8
|
-
label: string;
|
|
9
|
-
number?: string;
|
|
10
|
-
dense?: boolean;
|
|
11
|
-
},
|
|
12
|
-
lCheckbox: {
|
|
13
|
-
type: 'l-checkbox';
|
|
14
|
-
name: string;
|
|
15
|
-
label: string;
|
|
16
|
-
dense?: boolean;
|
|
17
|
-
},
|
|
18
|
-
lDatePicker: {
|
|
19
|
-
type: 'l-date-picker';
|
|
20
|
-
name: string;
|
|
21
|
-
label: string;
|
|
22
|
-
dense?: boolean;
|
|
23
|
-
},
|
|
24
|
-
lForm: {
|
|
25
|
-
type: 'l-form';
|
|
26
|
-
gutter?: 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
27
|
-
bordered?: boolean;
|
|
28
|
-
noDirtyCheck?: boolean;
|
|
29
|
-
},
|
|
30
|
-
lSelect: {
|
|
31
|
-
type: 'l-select';
|
|
32
|
-
name: string;
|
|
33
|
-
label: string;
|
|
34
|
-
options: Array<any>;
|
|
35
|
-
dense?: boolean;
|
|
36
|
-
optionsDense?: boolean;
|
|
37
|
-
},
|
|
38
|
-
}
|
|
39
|
-
}
|
|
1
|
+
import type { FormKitInputs } from '@formkit/inputs';
|
|
2
|
+
|
|
3
|
+
declare module '@formkit/inputs' {
|
|
4
|
+
export interface FormKitInputProps<Props extends FormKitInputs<Props>> {
|
|
5
|
+
lInput: {
|
|
6
|
+
type: 'l-input';
|
|
7
|
+
name: string;
|
|
8
|
+
label: string;
|
|
9
|
+
number?: string;
|
|
10
|
+
dense?: boolean;
|
|
11
|
+
},
|
|
12
|
+
lCheckbox: {
|
|
13
|
+
type: 'l-checkbox';
|
|
14
|
+
name: string;
|
|
15
|
+
label: string;
|
|
16
|
+
dense?: boolean;
|
|
17
|
+
},
|
|
18
|
+
lDatePicker: {
|
|
19
|
+
type: 'l-date-picker';
|
|
20
|
+
name: string;
|
|
21
|
+
label: string;
|
|
22
|
+
dense?: boolean;
|
|
23
|
+
},
|
|
24
|
+
lForm: {
|
|
25
|
+
type: 'l-form';
|
|
26
|
+
gutter?: 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
27
|
+
bordered?: boolean;
|
|
28
|
+
noDirtyCheck?: boolean;
|
|
29
|
+
},
|
|
30
|
+
lSelect: {
|
|
31
|
+
type: 'l-select';
|
|
32
|
+
name: string;
|
|
33
|
+
label: string;
|
|
34
|
+
options: Array<any>;
|
|
35
|
+
dense?: boolean;
|
|
36
|
+
optionsDense?: boolean;
|
|
37
|
+
},
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
{
|
|
2
|
-
"Must contain at least {0} characters": "Must contain at least {0} characters",
|
|
3
|
-
"contains_uppercase": "Must contain at least one uppercase letter",
|
|
4
|
-
"contains_lowercase": "Must contain at least one lowercase letter",
|
|
5
|
-
"contains_numeric": "Must contain at least one number",
|
|
6
|
-
"contains_symbol": "Must contain at least one special character",
|
|
7
|
-
"storage_usage": "{0} free of {1}",
|
|
8
|
-
"input_required": "Please input {0}",
|
|
9
|
-
"input_min": "Please input at least {0} characters"
|
|
1
|
+
{
|
|
2
|
+
"Must contain at least {0} characters": "Must contain at least {0} characters",
|
|
3
|
+
"contains_uppercase": "Must contain at least one uppercase letter",
|
|
4
|
+
"contains_lowercase": "Must contain at least one lowercase letter",
|
|
5
|
+
"contains_numeric": "Must contain at least one number",
|
|
6
|
+
"contains_symbol": "Must contain at least one special character",
|
|
7
|
+
"storage_usage": "{0} free of {1}",
|
|
8
|
+
"input_required": "Please input {0}",
|
|
9
|
+
"input_min": "Please input at least {0} characters"
|
|
10
10
|
}
|