@vrojs/element-plus 0.0.2 → 0.0.4
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/index.d.ts +17 -0
- package/dist/index.js +95 -0
- package/dist/locale/index.d.ts +3 -0
- package/dist/locale/index.js +7 -0
- package/dist/locale/lang/zh-cn.d.ts +47 -0
- package/dist/locale/lang/zh-cn.js +49 -0
- package/dist/locale/types.d.ts +7 -0
- package/dist/locale/types.js +1 -0
- package/dist/locale/useLocale.d.ts +53 -0
- package/dist/locale/useLocale.js +24 -0
- package/dist/style/css.js +4 -0
- package/dist/style/deps.js +26 -0
- package/dist/style/index.css +1 -0
- package/dist/style/index.d.ts +0 -0
- package/dist/style/index.js +30 -0
- package/dist/utils/datePickerValueFormat.d.ts +1 -0
- package/dist/utils/datePickerValueFormat.js +9 -0
- package/dist/utils/index.d.ts +2 -0
- package/dist/utils/index.js +6 -0
- package/dist/vro-el-checkbox-group/index.d.ts +122 -0
- package/dist/vro-el-checkbox-group/index.js +9 -0
- package/dist/vro-el-checkbox-group/style/css.d.ts +0 -0
- package/dist/vro-el-checkbox-group/style/css.js +3 -0
- package/dist/vro-el-checkbox-group/style/deps.d.ts +0 -0
- package/dist/vro-el-checkbox-group/style/deps.js +2 -0
- package/dist/vro-el-checkbox-group/style/index.d.ts +0 -0
- package/dist/vro-el-checkbox-group/style/index.js +5 -0
- package/dist/vro-el-checkbox-group/types.d.ts +50 -0
- package/dist/vro-el-checkbox-group/types.js +16 -0
- package/dist/vro-el-checkbox-group/vro-el-checkbox-group.vue.d.ts +115 -0
- package/dist/vro-el-checkbox-group/vro-el-checkbox-group.vue.js +34 -0
- package/dist/vro-el-checkbox-group/vro-el-checkbox-group.vue2.js +4 -0
- package/dist/vro-el-config-provider/index.d.ts +46 -0
- package/dist/vro-el-config-provider/index.js +9 -0
- package/dist/vro-el-config-provider/style/css.d.ts +0 -0
- package/dist/vro-el-config-provider/style/css.js +3 -0
- package/dist/vro-el-config-provider/style/deps.d.ts +0 -0
- package/dist/vro-el-config-provider/style/deps.js +1 -0
- package/dist/vro-el-config-provider/style/index.d.ts +0 -0
- package/dist/vro-el-config-provider/style/index.js +3 -0
- package/dist/vro-el-config-provider/types.d.ts +14 -0
- package/dist/vro-el-config-provider/types.js +13 -0
- package/dist/vro-el-config-provider/vro-el-config-provider.vue.d.ts +29 -0
- package/dist/vro-el-config-provider/vro-el-config-provider.vue.js +17 -0
- package/dist/vro-el-config-provider/vro-el-config-provider.vue2.js +4 -0
- package/dist/vro-el-file-upload/index.d.ts +44 -0
- package/dist/vro-el-file-upload/index.js +12 -0
- package/dist/vro-el-file-upload/style/css.d.ts +0 -0
- package/dist/vro-el-file-upload/style/css.js +4 -0
- package/dist/vro-el-file-upload/style/deps.d.ts +0 -0
- package/dist/vro-el-file-upload/style/deps.js +2 -0
- package/dist/vro-el-file-upload/style/index.css +1 -0
- package/dist/vro-el-file-upload/style/index.d.ts +0 -0
- package/dist/vro-el-file-upload/style/index.js +6 -0
- package/dist/vro-el-file-upload/types.d.ts +39 -0
- package/dist/vro-el-file-upload/types.js +35 -0
- package/dist/vro-el-file-upload/utils.d.ts +2 -0
- package/dist/vro-el-file-upload/utils.js +6 -0
- package/dist/vro-el-file-upload/vro-el-file-upload.vue.d.ts +36 -0
- package/dist/vro-el-file-upload/vro-el-file-upload.vue.js +86 -0
- package/dist/vro-el-file-upload/vro-el-file-upload.vue2.js +4 -0
- package/dist/vro-el-icon/index.d.ts +82 -0
- package/dist/vro-el-icon/index.js +9 -0
- package/dist/vro-el-icon/style/css.d.ts +0 -0
- package/dist/vro-el-icon/style/css.js +3 -0
- package/dist/vro-el-icon/style/deps.d.ts +0 -0
- package/dist/vro-el-icon/style/deps.js +1 -0
- package/dist/vro-el-icon/style/index.d.ts +0 -0
- package/dist/vro-el-icon/style/index.js +4 -0
- package/dist/vro-el-icon/types.d.ts +20 -0
- package/dist/vro-el-icon/types.js +11 -0
- package/dist/vro-el-icon/vro-el-icon.vue.d.ts +53 -0
- package/dist/vro-el-icon/vro-el-icon.vue.js +33 -0
- package/dist/vro-el-icon/vro-el-icon.vue2.js +4 -0
- package/dist/vro-el-image/index.d.ts +207 -0
- package/dist/vro-el-image/index.js +12 -0
- package/dist/vro-el-image/style/css.d.ts +0 -0
- package/dist/vro-el-image/style/css.js +3 -0
- package/dist/vro-el-image/style/deps.d.ts +0 -0
- package/dist/vro-el-image/style/deps.js +1 -0
- package/dist/vro-el-image/style/index.d.ts +0 -0
- package/dist/vro-el-image/style/index.js +4 -0
- package/dist/vro-el-image/types.d.ts +54 -0
- package/dist/vro-el-image/types.js +15 -0
- package/dist/vro-el-image/utils.d.ts +2 -0
- package/dist/vro-el-image/utils.js +6 -0
- package/dist/vro-el-image/vro-el-image.vue.d.ts +122 -0
- package/dist/vro-el-image/vro-el-image.vue.js +32 -0
- package/dist/vro-el-image/vro-el-image.vue2.js +4 -0
- package/dist/vro-el-image-upload/index.d.ts +50 -0
- package/dist/vro-el-image-upload/index.js +12 -0
- package/dist/vro-el-image-upload/style/css.d.ts +0 -0
- package/dist/vro-el-image-upload/style/css.js +5 -0
- package/dist/vro-el-image-upload/style/deps.d.ts +0 -0
- package/dist/vro-el-image-upload/style/deps.js +4 -0
- package/dist/vro-el-image-upload/style/index.css +1 -0
- package/dist/vro-el-image-upload/style/index.d.ts +0 -0
- package/dist/vro-el-image-upload/style/index.js +9 -0
- package/dist/vro-el-image-upload/types.d.ts +40 -0
- package/dist/vro-el-image-upload/types.js +25 -0
- package/dist/vro-el-image-upload/utils.d.ts +2 -0
- package/dist/vro-el-image-upload/utils.js +6 -0
- package/dist/vro-el-image-upload/vro-el-image-upload.vue.d.ts +43 -0
- package/dist/vro-el-image-upload/vro-el-image-upload.vue.js +132 -0
- package/dist/vro-el-image-upload/vro-el-image-upload.vue2.js +4 -0
- package/dist/vro-el-radio-group/index.d.ts +79 -0
- package/dist/vro-el-radio-group/index.js +9 -0
- package/dist/vro-el-radio-group/style/css.d.ts +0 -0
- package/dist/vro-el-radio-group/style/css.js +3 -0
- package/dist/vro-el-radio-group/style/deps.d.ts +0 -0
- package/dist/vro-el-radio-group/style/deps.js +2 -0
- package/dist/vro-el-radio-group/style/index.d.ts +0 -0
- package/dist/vro-el-radio-group/style/index.js +5 -0
- package/dist/vro-el-radio-group/types.d.ts +38 -0
- package/dist/vro-el-radio-group/types.js +25 -0
- package/dist/vro-el-radio-group/vro-el-radio-group.vue.d.ts +72 -0
- package/dist/vro-el-radio-group/vro-el-radio-group.vue.js +34 -0
- package/dist/vro-el-radio-group/vro-el-radio-group.vue2.js +4 -0
- package/dist/vro-el-schema-filter/index.d.ts +594 -0
- package/dist/vro-el-schema-filter/index.js +9 -0
- package/dist/vro-el-schema-filter/style/css.d.ts +0 -0
- package/dist/vro-el-schema-filter/style/css.js +17 -0
- package/dist/vro-el-schema-filter/style/deps.d.ts +0 -0
- package/dist/vro-el-schema-filter/style/deps.js +22 -0
- package/dist/vro-el-schema-filter/style/index.css +1 -0
- package/dist/vro-el-schema-filter/style/index.d.ts +0 -0
- package/dist/vro-el-schema-filter/style/index.js +39 -0
- package/dist/vro-el-schema-filter/types.d.ts +41 -0
- package/dist/vro-el-schema-filter/types.js +26 -0
- package/dist/vro-el-schema-filter/vro-el-schema-filter.vue.d.ts +979 -0
- package/dist/vro-el-schema-filter/vro-el-schema-filter.vue.js +71 -0
- package/dist/vro-el-schema-filter/vro-el-schema-filter.vue2.js +4 -0
- package/dist/vro-el-schema-form/defineVroElSchemaFormCreateField.d.ts +2 -0
- package/dist/vro-el-schema-form/defineVroElSchemaFormCreateField.js +9 -0
- package/dist/vro-el-schema-form/defineVroElSchemaFormFieldTrigger.d.ts +9 -0
- package/dist/vro-el-schema-form/defineVroElSchemaFormFieldTrigger.js +6 -0
- package/dist/vro-el-schema-form/index.d.ts +561 -0
- package/dist/vro-el-schema-form/index.js +17 -0
- package/dist/vro-el-schema-form/style/css.d.ts +0 -0
- package/dist/vro-el-schema-form/style/css.js +15 -0
- package/dist/vro-el-schema-form/style/deps.d.ts +0 -0
- package/dist/vro-el-schema-form/style/deps.js +22 -0
- package/dist/vro-el-schema-form/style/index.css +1 -0
- package/dist/vro-el-schema-form/style/index.d.ts +0 -0
- package/dist/vro-el-schema-form/style/index.js +37 -0
- package/dist/vro-el-schema-form/types.d.ts +122 -0
- package/dist/vro-el-schema-form/types.js +42 -0
- package/dist/vro-el-schema-form/useVroElSchemaForm.d.ts +904 -0
- package/dist/vro-el-schema-form/useVroElSchemaForm.js +31 -0
- package/dist/vro-el-schema-form/vro-el-schema-form.vue.d.ts +389 -0
- package/dist/vro-el-schema-form/vro-el-schema-form.vue.js +127 -0
- package/dist/vro-el-schema-form/vro-el-schema-form.vue2.js +4 -0
- package/dist/vro-el-schema-form/vroElSchemaFormFieldManager.d.ts +2 -0
- package/dist/vro-el-schema-form/vroElSchemaFormFieldManager.js +32 -0
- package/dist/vro-el-schema-form-dialog/function-call.d.ts +3 -0
- package/dist/vro-el-schema-form-dialog/function-call.js +17 -0
- package/dist/vro-el-schema-form-dialog/index.d.ts +2174 -0
- package/dist/vro-el-schema-form-dialog/index.js +18 -0
- package/dist/vro-el-schema-form-dialog/injection.d.ts +9 -0
- package/dist/vro-el-schema-form-dialog/injection.js +9 -0
- package/dist/vro-el-schema-form-dialog/style/css.d.ts +0 -0
- package/dist/vro-el-schema-form-dialog/style/css.js +19 -0
- package/dist/vro-el-schema-form-dialog/style/deps.d.ts +0 -0
- package/dist/vro-el-schema-form-dialog/style/deps.js +24 -0
- package/dist/vro-el-schema-form-dialog/style/index.css +1 -0
- package/dist/vro-el-schema-form-dialog/style/index.d.ts +0 -0
- package/dist/vro-el-schema-form-dialog/style/index.js +43 -0
- package/dist/vro-el-schema-form-dialog/types.d.ts +79 -0
- package/dist/vro-el-schema-form-dialog/types.js +59 -0
- package/dist/vro-el-schema-form-dialog/useVroElSchemaFormDialog.d.ts +14 -0
- package/dist/vro-el-schema-form-dialog/useVroElSchemaFormDialog.js +18 -0
- package/dist/vro-el-schema-form-dialog/vro-el-schema-form-dialog.vue.d.ts +1788 -0
- package/dist/vro-el-schema-form-dialog/vro-el-schema-form-dialog.vue.js +135 -0
- package/dist/vro-el-schema-form-dialog/vro-el-schema-form-dialog.vue2.js +4 -0
- package/dist/vro-el-select/index.d.ts +259 -0
- package/dist/vro-el-select/index.js +9 -0
- package/dist/vro-el-select/style/css.d.ts +0 -0
- package/dist/vro-el-select/style/css.js +3 -0
- package/dist/vro-el-select/style/deps.d.ts +0 -0
- package/dist/vro-el-select/style/deps.js +2 -0
- package/dist/vro-el-select/style/index.d.ts +0 -0
- package/dist/vro-el-select/style/index.js +5 -0
- package/dist/vro-el-select/types.d.ts +105 -0
- package/dist/vro-el-select/types.js +16 -0
- package/dist/vro-el-select/vro-el-select.vue.d.ts +252 -0
- package/dist/vro-el-select/vro-el-select.vue.js +30 -0
- package/dist/vro-el-select/vro-el-select.vue2.js +4 -0
- package/dist/vro-el-skeleton/index.d.ts +154 -0
- package/dist/vro-el-skeleton/index.js +9 -0
- package/dist/vro-el-skeleton/style/css.d.ts +0 -0
- package/dist/vro-el-skeleton/style/css.js +5 -0
- package/dist/vro-el-skeleton/style/deps.d.ts +0 -0
- package/dist/vro-el-skeleton/style/deps.js +3 -0
- package/dist/vro-el-skeleton/style/index.css +1 -0
- package/dist/vro-el-skeleton/style/index.d.ts +0 -0
- package/dist/vro-el-skeleton/style/index.js +8 -0
- package/dist/vro-el-skeleton/types.d.ts +72 -0
- package/{src/vro-el-skeleton/types.ts → dist/vro-el-skeleton/types.js} +15 -29
- package/dist/vro-el-skeleton/vro-el-skeleton.vue.d.ts +95 -0
- package/dist/vro-el-skeleton/vro-el-skeleton.vue.js +85 -0
- package/dist/vro-el-skeleton/vro-el-skeleton.vue2.js +4 -0
- package/dist/vro-el-tags/index.d.ts +223 -0
- package/dist/vro-el-tags/index.js +9 -0
- package/dist/vro-el-tags/style/css.d.ts +0 -0
- package/dist/vro-el-tags/style/css.js +3 -0
- package/dist/vro-el-tags/style/deps.d.ts +0 -0
- package/dist/vro-el-tags/style/deps.js +3 -0
- package/dist/vro-el-tags/style/index.d.ts +0 -0
- package/dist/vro-el-tags/style/index.js +6 -0
- package/dist/vro-el-tags/types.d.ts +18 -0
- package/dist/vro-el-tags/types.js +19 -0
- package/dist/vro-el-tags/vro-el-tags.vue.d.ts +217 -0
- package/dist/vro-el-tags/vro-el-tags.vue.js +62 -0
- package/dist/vro-el-tags/vro-el-tags.vue2.js +4 -0
- package/dist/vro-el-tree/index.d.ts +86 -0
- package/dist/vro-el-tree/index.js +9 -0
- package/dist/vro-el-tree/style/css.d.ts +0 -0
- package/dist/vro-el-tree/style/css.js +4 -0
- package/dist/vro-el-tree/style/deps.d.ts +0 -0
- package/dist/vro-el-tree/style/deps.js +1 -0
- package/dist/vro-el-tree/style/index.css +1 -0
- package/dist/vro-el-tree/style/index.d.ts +0 -0
- package/dist/vro-el-tree/style/index.js +5 -0
- package/dist/vro-el-tree/types.d.ts +32 -0
- package/dist/vro-el-tree/types.js +26 -0
- package/dist/vro-el-tree/vro-el-tree.vue.d.ts +52 -0
- package/dist/vro-el-tree/vro-el-tree.vue.js +56 -0
- package/dist/vro-el-tree/vro-el-tree.vue2.js +4 -0
- package/dist/vro-el-with-config/index.d.ts +32 -0
- package/dist/vro-el-with-config/index.js +9 -0
- package/dist/vro-el-with-config/style/css.d.ts +0 -0
- package/dist/vro-el-with-config/style/css.js +4 -0
- package/dist/vro-el-with-config/style/deps.d.ts +0 -0
- package/dist/vro-el-with-config/style/deps.js +1 -0
- package/dist/vro-el-with-config/style/index.d.ts +0 -0
- package/dist/vro-el-with-config/style/index.js +5 -0
- package/dist/vro-el-with-config/types.d.ts +15 -0
- package/dist/vro-el-with-config/types.js +14 -0
- package/dist/vro-el-with-config/vro-el-with-config.vue.d.ts +25 -0
- package/dist/vro-el-with-config/vro-el-with-config.vue.js +32 -0
- package/dist/vro-el-with-config/vro-el-with-config.vue2.js +4 -0
- package/package.json +18 -12
- package/src/index.ts +0 -18
- package/src/locale/index.ts +0 -3
- package/src/locale/lang/zh-cn.ts +0 -46
- package/src/locale/types.ts +0 -8
- package/src/locale/useLocale.ts +0 -42
- package/src/style/base.scss +0 -2
- package/src/style/css.ts +0 -2
- package/src/style/deps.ts +0 -14
- package/src/style/index.scss +0 -17
- package/src/style/index.ts +0 -2
- package/src/utils/datePickerValueFormat.ts +0 -6
- package/src/utils/index.ts +0 -2
- package/src/vro-el-checkbox-group/README.md +0 -83
- package/src/vro-el-checkbox-group/index.ts +0 -16
- package/src/vro-el-checkbox-group/style/css.ts +0 -2
- package/src/vro-el-checkbox-group/style/deps.ts +0 -2
- package/src/vro-el-checkbox-group/style/index.scss +0 -1
- package/src/vro-el-checkbox-group/style/index.ts +0 -2
- package/src/vro-el-checkbox-group/types.ts +0 -18
- package/src/vro-el-checkbox-group/vro-el-checkbox-group.vue +0 -33
- package/src/vro-el-config-provider/README.md +0 -65
- package/src/vro-el-config-provider/index.ts +0 -16
- package/src/vro-el-config-provider/style/css.ts +0 -2
- package/src/vro-el-config-provider/style/index.ts +0 -2
- package/src/vro-el-config-provider/types.ts +0 -18
- package/src/vro-el-config-provider/vro-el-config-provider.vue +0 -19
- package/src/vro-el-file-upload/README.md +0 -89
- package/src/vro-el-file-upload/index.ts +0 -17
- package/src/vro-el-file-upload/style/css.ts +0 -2
- package/src/vro-el-file-upload/style/deps.ts +0 -2
- package/src/vro-el-file-upload/style/index.scss +0 -30
- package/src/vro-el-file-upload/style/index.ts +0 -2
- package/src/vro-el-file-upload/types.ts +0 -50
- package/src/vro-el-file-upload/utils.ts +0 -7
- package/src/vro-el-file-upload/vro-el-file-upload.vue +0 -95
- package/src/vro-el-icon/README.md +0 -68
- package/src/vro-el-icon/index.ts +0 -16
- package/src/vro-el-icon/style/css.ts +0 -2
- package/src/vro-el-icon/style/deps.ts +0 -1
- package/src/vro-el-icon/style/index.scss +0 -1
- package/src/vro-el-icon/style/index.ts +0 -2
- package/src/vro-el-icon/types.ts +0 -12
- package/src/vro-el-icon/vro-el-icon.vue +0 -28
- package/src/vro-el-image-upload/README.md +0 -99
- package/src/vro-el-image-upload/index.ts +0 -17
- package/src/vro-el-image-upload/style/css.ts +0 -2
- package/src/vro-el-image-upload/style/deps.ts +0 -4
- package/src/vro-el-image-upload/style/index.scss +0 -55
- package/src/vro-el-image-upload/style/index.ts +0 -2
- package/src/vro-el-image-upload/types.ts +0 -42
- package/src/vro-el-image-upload/utils.ts +0 -7
- package/src/vro-el-image-upload/vro-el-image-upload.vue +0 -134
- package/src/vro-el-radio-group/README.md +0 -83
- package/src/vro-el-radio-group/index.ts +0 -16
- package/src/vro-el-radio-group/style/css.ts +0 -2
- package/src/vro-el-radio-group/style/deps.ts +0 -2
- package/src/vro-el-radio-group/style/index.scss +0 -1
- package/src/vro-el-radio-group/style/index.ts +0 -2
- package/src/vro-el-radio-group/types.ts +0 -29
- package/src/vro-el-radio-group/vro-el-radio-group.vue +0 -34
- package/src/vro-el-schema-filter/README.md +0 -146
- package/src/vro-el-schema-filter/index.ts +0 -16
- package/src/vro-el-schema-filter/style/css.ts +0 -3
- package/src/vro-el-schema-filter/style/deps.ts +0 -4
- package/src/vro-el-schema-filter/style/index.scss +0 -20
- package/src/vro-el-schema-filter/style/index.ts +0 -2
- package/src/vro-el-schema-filter/types.ts +0 -31
- package/src/vro-el-schema-filter/vro-el-schema-filter.vue +0 -64
- package/src/vro-el-schema-form/README.md +0 -207
- package/src/vro-el-schema-form/defineVroElSchemaFormCreateField.ts +0 -12
- package/src/vro-el-schema-form/defineVroElSchemaFormFieldTrigger.ts +0 -9
- package/src/vro-el-schema-form/index.ts +0 -20
- package/src/vro-el-schema-form/style/css.ts +0 -9
- package/src/vro-el-schema-form/style/deps.ts +0 -20
- package/src/vro-el-schema-form/style/index.scss +0 -4
- package/src/vro-el-schema-form/style/index.ts +0 -2
- package/src/vro-el-schema-form/types.ts +0 -171
- package/src/vro-el-schema-form/useVroElSchemaForm.ts +0 -48
- package/src/vro-el-schema-form/vro-el-schema-form.vue +0 -177
- package/src/vro-el-schema-form/vroElSchemaFormFieldManager.ts +0 -59
- package/src/vro-el-schema-form-dialog/README.md +0 -173
- package/src/vro-el-schema-form-dialog/function-call.ts +0 -20
- package/src/vro-el-schema-form-dialog/index.ts +0 -22
- package/src/vro-el-schema-form-dialog/injection.ts +0 -10
- package/src/vro-el-schema-form-dialog/style/css.ts +0 -4
- package/src/vro-el-schema-form-dialog/style/deps.ts +0 -4
- package/src/vro-el-schema-form-dialog/style/index.scss +0 -4
- package/src/vro-el-schema-form-dialog/style/index.ts +0 -2
- package/src/vro-el-schema-form-dialog/types.ts +0 -73
- package/src/vro-el-schema-form-dialog/useVroElSchemaFormDialog.ts +0 -52
- package/src/vro-el-schema-form-dialog/vro-el-schema-form-dialog.vue +0 -142
- package/src/vro-el-select/README.md +0 -83
- package/src/vro-el-select/index.ts +0 -16
- package/src/vro-el-select/style/css.ts +0 -2
- package/src/vro-el-select/style/deps.ts +0 -2
- package/src/vro-el-select/style/index.scss +0 -1
- package/src/vro-el-select/style/index.ts +0 -2
- package/src/vro-el-select/types.ts +0 -18
- package/src/vro-el-select/vro-el-select.vue +0 -33
- package/src/vro-el-skeleton/README.md +0 -128
- package/src/vro-el-skeleton/index.ts +0 -16
- package/src/vro-el-skeleton/style/css.ts +0 -3
- package/src/vro-el-skeleton/style/deps.ts +0 -3
- package/src/vro-el-skeleton/style/index.scss +0 -24
- package/src/vro-el-skeleton/style/index.ts +0 -2
- package/src/vro-el-skeleton/vro-el-skeleton.vue +0 -73
- package/src/vro-el-tags/README.md +0 -73
- package/src/vro-el-tags/index.ts +0 -16
- package/src/vro-el-tags/style/css.ts +0 -2
- package/src/vro-el-tags/style/deps.ts +0 -3
- package/src/vro-el-tags/style/index.scss +0 -1
- package/src/vro-el-tags/style/index.ts +0 -2
- package/src/vro-el-tags/types.ts +0 -21
- package/src/vro-el-tags/vro-el-tags.vue +0 -69
- package/src/vro-el-tree/README.md +0 -85
- package/src/vro-el-tree/index.ts +0 -16
- package/src/vro-el-tree/style/css.ts +0 -2
- package/src/vro-el-tree/style/deps.ts +0 -1
- package/src/vro-el-tree/style/index.scss +0 -3
- package/src/vro-el-tree/style/index.ts +0 -2
- package/src/vro-el-tree/types.ts +0 -38
- package/src/vro-el-tree/vro-el-tree.vue +0 -78
- package/src/vro-el-with-config/README.md +0 -75
- package/src/vro-el-with-config/index.ts +0 -16
- package/src/vro-el-with-config/style/css.ts +0 -3
- package/src/vro-el-with-config/style/deps.ts +0 -2
- package/src/vro-el-with-config/style/index.ts +0 -2
- package/src/vro-el-with-config/types.ts +0 -18
- package/src/vro-el-with-config/vro-el-with-config.vue +0 -48
- /package/{src/vro-el-config-provider/style/deps.ts → dist/style/base.css} +0 -0
- /package/{src/vro-el-config-provider/style/index.scss → dist/style/css.d.ts} +0 -0
- /package/{src/vro-el-with-config/style/index.scss → dist/style/deps.d.ts} +0 -0
|
@@ -1,86 +1,72 @@
|
|
|
1
|
-
|
|
2
|
-
import type { ExtractPropTypes, PropType } from 'vue'
|
|
3
|
-
|
|
4
|
-
export const vroElSkeletonProps = {
|
|
1
|
+
const t = {
|
|
5
2
|
/**
|
|
6
3
|
* 是否显示加载状态。
|
|
7
4
|
*/
|
|
8
5
|
loading: Boolean,
|
|
9
|
-
|
|
10
6
|
/**
|
|
11
7
|
* 加载图标类型。
|
|
12
8
|
*/
|
|
13
9
|
loadingType: {
|
|
14
|
-
type: String
|
|
15
|
-
default:
|
|
10
|
+
type: String,
|
|
11
|
+
default: "circular"
|
|
16
12
|
},
|
|
17
|
-
|
|
18
13
|
/**
|
|
19
14
|
* 加载图标尺寸,传入数字时单位为 px。
|
|
20
15
|
*/
|
|
21
16
|
loadingSize: {
|
|
22
|
-
type: [String, Number]
|
|
23
|
-
default: 32
|
|
17
|
+
type: [String, Number],
|
|
18
|
+
default: 32
|
|
24
19
|
},
|
|
25
|
-
|
|
26
20
|
/**
|
|
27
21
|
* 加载图标颜色。
|
|
28
22
|
*/
|
|
29
23
|
loadingColor: {
|
|
30
24
|
type: String,
|
|
31
|
-
default:
|
|
25
|
+
default: "currentColor"
|
|
32
26
|
},
|
|
33
|
-
|
|
34
27
|
/**
|
|
35
28
|
* 加载状态描述文案,未传时使用 locale 中的 skeleton.loadingDescription。
|
|
36
29
|
*/
|
|
37
30
|
loadingDescription: String,
|
|
38
|
-
|
|
39
31
|
/**
|
|
40
32
|
* 错误信息。传入后会显示错误状态。
|
|
41
33
|
*/
|
|
42
|
-
error: [Object, String]
|
|
43
|
-
|
|
34
|
+
error: [Object, String],
|
|
44
35
|
/**
|
|
45
36
|
* 错误状态标题,未传时使用 locale 中的 skeleton.errorTitle。
|
|
46
37
|
*/
|
|
47
38
|
errorTitle: String,
|
|
48
|
-
|
|
49
39
|
/**
|
|
50
40
|
* 错误状态按钮文案,未传时使用 locale 中的 skeleton.errorBtnText。
|
|
51
41
|
*/
|
|
52
42
|
errorBtnText: String,
|
|
53
|
-
|
|
54
43
|
/**
|
|
55
44
|
* 是否显示空状态。
|
|
56
45
|
*/
|
|
57
46
|
empty: Boolean,
|
|
58
|
-
|
|
59
47
|
/**
|
|
60
48
|
* 空状态描述文案,未传时使用 locale 中的 skeleton.emptyDescription。
|
|
61
49
|
*/
|
|
62
50
|
emptyDescription: String,
|
|
63
|
-
|
|
64
51
|
/**
|
|
65
52
|
* 是否展示空状态刷新按钮。
|
|
66
53
|
*/
|
|
67
54
|
showEmptyBtn: {
|
|
68
55
|
type: Boolean,
|
|
69
|
-
default:
|
|
56
|
+
default: !0
|
|
70
57
|
},
|
|
71
|
-
|
|
72
58
|
/**
|
|
73
59
|
* 空状态按钮文案,未传时使用 locale 中的 skeleton.emptyBtnText。
|
|
74
60
|
*/
|
|
75
61
|
emptyBtnText: String,
|
|
76
|
-
|
|
77
62
|
/**
|
|
78
63
|
* 状态容器最小高度,传入数字时单位为 px。
|
|
79
64
|
*/
|
|
80
65
|
minHeight: {
|
|
81
|
-
type: [String, Number]
|
|
82
|
-
default:
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
|
|
66
|
+
type: [String, Number],
|
|
67
|
+
default: "240px"
|
|
68
|
+
}
|
|
69
|
+
};
|
|
70
|
+
export {
|
|
71
|
+
t as vroElSkeletonProps
|
|
72
|
+
};
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
loading?(_: {}): any;
|
|
5
|
+
error?(_: {
|
|
6
|
+
error: {};
|
|
7
|
+
refresh: () => void;
|
|
8
|
+
}): any;
|
|
9
|
+
empty?(_: {
|
|
10
|
+
refresh: () => void;
|
|
11
|
+
}): any;
|
|
12
|
+
default?(_: {}): any;
|
|
13
|
+
};
|
|
14
|
+
refs: {};
|
|
15
|
+
rootEl: HTMLDivElement;
|
|
16
|
+
};
|
|
17
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
19
|
+
loading: BooleanConstructor;
|
|
20
|
+
loadingType: {
|
|
21
|
+
type: import('vue').PropType<import('@vrojs/base').VroLoadingType>;
|
|
22
|
+
default: string;
|
|
23
|
+
};
|
|
24
|
+
loadingSize: {
|
|
25
|
+
type: import('vue').PropType<string | number>;
|
|
26
|
+
default: number;
|
|
27
|
+
};
|
|
28
|
+
loadingColor: {
|
|
29
|
+
type: StringConstructor;
|
|
30
|
+
default: string;
|
|
31
|
+
};
|
|
32
|
+
loadingDescription: StringConstructor;
|
|
33
|
+
error: import('vue').PropType<unknown>;
|
|
34
|
+
errorTitle: StringConstructor;
|
|
35
|
+
errorBtnText: StringConstructor;
|
|
36
|
+
empty: BooleanConstructor;
|
|
37
|
+
emptyDescription: StringConstructor;
|
|
38
|
+
showEmptyBtn: {
|
|
39
|
+
type: BooleanConstructor;
|
|
40
|
+
default: boolean;
|
|
41
|
+
};
|
|
42
|
+
emptyBtnText: StringConstructor;
|
|
43
|
+
minHeight: {
|
|
44
|
+
type: import('vue').PropType<string | number>;
|
|
45
|
+
default: string;
|
|
46
|
+
};
|
|
47
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
48
|
+
refresh: () => any;
|
|
49
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
50
|
+
loading: BooleanConstructor;
|
|
51
|
+
loadingType: {
|
|
52
|
+
type: import('vue').PropType<import('@vrojs/base').VroLoadingType>;
|
|
53
|
+
default: string;
|
|
54
|
+
};
|
|
55
|
+
loadingSize: {
|
|
56
|
+
type: import('vue').PropType<string | number>;
|
|
57
|
+
default: number;
|
|
58
|
+
};
|
|
59
|
+
loadingColor: {
|
|
60
|
+
type: StringConstructor;
|
|
61
|
+
default: string;
|
|
62
|
+
};
|
|
63
|
+
loadingDescription: StringConstructor;
|
|
64
|
+
error: import('vue').PropType<unknown>;
|
|
65
|
+
errorTitle: StringConstructor;
|
|
66
|
+
errorBtnText: StringConstructor;
|
|
67
|
+
empty: BooleanConstructor;
|
|
68
|
+
emptyDescription: StringConstructor;
|
|
69
|
+
showEmptyBtn: {
|
|
70
|
+
type: BooleanConstructor;
|
|
71
|
+
default: boolean;
|
|
72
|
+
};
|
|
73
|
+
emptyBtnText: StringConstructor;
|
|
74
|
+
minHeight: {
|
|
75
|
+
type: import('vue').PropType<string | number>;
|
|
76
|
+
default: string;
|
|
77
|
+
};
|
|
78
|
+
}>> & Readonly<{
|
|
79
|
+
onRefresh?: (() => any) | undefined;
|
|
80
|
+
}>, {
|
|
81
|
+
loading: boolean;
|
|
82
|
+
loadingType: import('@vrojs/base').VroLoadingType;
|
|
83
|
+
loadingSize: string | number;
|
|
84
|
+
loadingColor: string;
|
|
85
|
+
empty: boolean;
|
|
86
|
+
showEmptyBtn: boolean;
|
|
87
|
+
minHeight: string | number;
|
|
88
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
89
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
90
|
+
export default _default;
|
|
91
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
92
|
+
new (): {
|
|
93
|
+
$slots: S;
|
|
94
|
+
};
|
|
95
|
+
};
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { defineComponent as h, computed as g, createElementBlock as v, openBlock as m, normalizeStyle as _, renderSlot as s, createElementVNode as l, createVNode as n, unref as o, toDisplayString as p, withCtx as i, createTextVNode as d, createBlock as B, createCommentVNode as E } from "vue";
|
|
2
|
+
import { formatMessage as T } from "@daysnap/utils";
|
|
3
|
+
import { VroLoading as S } from "@vrojs/base";
|
|
4
|
+
import { ElResult as C, ElButton as y, ElEmpty as V } from "element-plus";
|
|
5
|
+
import { useLocale as D } from "../locale/useLocale.js";
|
|
6
|
+
import { vroElSkeletonProps as $ } from "./types.js";
|
|
7
|
+
const z = { class: "vro-el-skeleton__state vro-el-skeleton__loading" }, H = { class: "vro-el-skeleton__description" }, N = { class: "vro-el-skeleton__state" }, b = { class: "vro-el-skeleton__state" }, A = /* @__PURE__ */ h({
|
|
8
|
+
name: "VroElSkeleton",
|
|
9
|
+
__name: "vro-el-skeleton",
|
|
10
|
+
props: $,
|
|
11
|
+
emits: ["refresh"],
|
|
12
|
+
setup(c, { emit: k }) {
|
|
13
|
+
const f = k, a = c, { t } = D(), u = g(() => ({
|
|
14
|
+
minHeight: typeof a.minHeight == "number" ? `${a.minHeight}px` : a.minHeight
|
|
15
|
+
})), r = () => {
|
|
16
|
+
f("refresh");
|
|
17
|
+
};
|
|
18
|
+
return (e, w) => (m(), v("div", {
|
|
19
|
+
class: "vro-el-skeleton",
|
|
20
|
+
style: _(u.value)
|
|
21
|
+
}, [
|
|
22
|
+
e.loading ? s(e.$slots, "loading", { key: 0 }, () => [
|
|
23
|
+
l("div", z, [
|
|
24
|
+
n(o(S), {
|
|
25
|
+
type: e.loadingType,
|
|
26
|
+
size: e.loadingSize,
|
|
27
|
+
color: e.loadingColor
|
|
28
|
+
}, null, 8, ["type", "size", "color"]),
|
|
29
|
+
l("p", H, p(e.loadingDescription ?? o(t)("skeleton.loadingDescription")), 1)
|
|
30
|
+
])
|
|
31
|
+
]) : e.error ? s(e.$slots, "error", {
|
|
32
|
+
key: 1,
|
|
33
|
+
error: e.error,
|
|
34
|
+
refresh: r
|
|
35
|
+
}, () => [
|
|
36
|
+
l("div", N, [
|
|
37
|
+
n(o(C), {
|
|
38
|
+
icon: "error",
|
|
39
|
+
title: e.errorTitle ?? o(t)("skeleton.errorTitle"),
|
|
40
|
+
"sub-title": o(T)(e.error)
|
|
41
|
+
}, {
|
|
42
|
+
extra: i(() => [
|
|
43
|
+
n(o(y), {
|
|
44
|
+
type: "primary",
|
|
45
|
+
onClick: r
|
|
46
|
+
}, {
|
|
47
|
+
default: i(() => [
|
|
48
|
+
d(p(e.errorBtnText ?? o(t)("skeleton.errorBtnText")), 1)
|
|
49
|
+
]),
|
|
50
|
+
_: 1
|
|
51
|
+
})
|
|
52
|
+
]),
|
|
53
|
+
_: 1
|
|
54
|
+
}, 8, ["title", "sub-title"])
|
|
55
|
+
])
|
|
56
|
+
]) : e.empty ? s(e.$slots, "empty", {
|
|
57
|
+
key: 2,
|
|
58
|
+
refresh: r
|
|
59
|
+
}, () => [
|
|
60
|
+
l("div", b, [
|
|
61
|
+
n(o(V), {
|
|
62
|
+
description: e.emptyDescription ?? o(t)("skeleton.emptyDescription")
|
|
63
|
+
}, {
|
|
64
|
+
default: i(() => [
|
|
65
|
+
e.showEmptyBtn ? (m(), B(o(y), {
|
|
66
|
+
key: 0,
|
|
67
|
+
type: "primary",
|
|
68
|
+
onClick: r
|
|
69
|
+
}, {
|
|
70
|
+
default: i(() => [
|
|
71
|
+
d(p(e.emptyBtnText ?? o(t)("skeleton.emptyBtnText")), 1)
|
|
72
|
+
]),
|
|
73
|
+
_: 1
|
|
74
|
+
})) : E("", !0)
|
|
75
|
+
]),
|
|
76
|
+
_: 1
|
|
77
|
+
}, 8, ["description"])
|
|
78
|
+
])
|
|
79
|
+
]) : s(e.$slots, "default", { key: 3 })
|
|
80
|
+
], 4));
|
|
81
|
+
}
|
|
82
|
+
});
|
|
83
|
+
export {
|
|
84
|
+
A as default
|
|
85
|
+
};
|
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
export * from './types';
|
|
2
|
+
export declare const VroElTags: import('@vrojs/base').WithInstall<import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
|
+
modelValue: {
|
|
4
|
+
type: import('vue').PropType<string[]>;
|
|
5
|
+
default: () => never[];
|
|
6
|
+
};
|
|
7
|
+
disabled: {
|
|
8
|
+
type: BooleanConstructor;
|
|
9
|
+
default: boolean;
|
|
10
|
+
};
|
|
11
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
|
+
"update:modelValue": (...args: any[]) => void;
|
|
13
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
14
|
+
modelValue: {
|
|
15
|
+
type: import('vue').PropType<string[]>;
|
|
16
|
+
default: () => never[];
|
|
17
|
+
};
|
|
18
|
+
disabled: {
|
|
19
|
+
type: BooleanConstructor;
|
|
20
|
+
default: boolean;
|
|
21
|
+
};
|
|
22
|
+
}>> & Readonly<{
|
|
23
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
24
|
+
}>, {
|
|
25
|
+
disabled: boolean;
|
|
26
|
+
modelValue: string[];
|
|
27
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
28
|
+
inputRef: ({
|
|
29
|
+
$: import('vue').ComponentInternalInstance;
|
|
30
|
+
$data: {};
|
|
31
|
+
$props: {
|
|
32
|
+
readonly id?: string | undefined;
|
|
33
|
+
readonly size?: import('element-plus').ComponentSize | undefined;
|
|
34
|
+
readonly disabled?: boolean | undefined;
|
|
35
|
+
readonly modelValue?: string | number | null | undefined | undefined;
|
|
36
|
+
readonly modelModifiers?: import('element-plus').InputModelModifiers | undefined;
|
|
37
|
+
readonly maxlength?: string | number | undefined;
|
|
38
|
+
readonly minlength?: string | number | undefined;
|
|
39
|
+
readonly type?: import('element-plus').InputType | undefined;
|
|
40
|
+
readonly resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
|
|
41
|
+
readonly autosize?: import('element-plus').InputAutoSize | undefined;
|
|
42
|
+
readonly autocomplete?: string | undefined;
|
|
43
|
+
readonly formatter?: ((value: string) => string) | undefined;
|
|
44
|
+
readonly parser?: ((value: string) => string) | undefined;
|
|
45
|
+
readonly placeholder?: string | undefined;
|
|
46
|
+
readonly form?: string | undefined;
|
|
47
|
+
readonly readonly?: boolean | undefined;
|
|
48
|
+
readonly clearable?: boolean | undefined;
|
|
49
|
+
readonly clearIcon?: import('element-plus/es/utils/vue/icon.mjs').IconPropType | undefined;
|
|
50
|
+
readonly showPassword?: boolean | undefined;
|
|
51
|
+
readonly showWordLimit?: boolean | undefined;
|
|
52
|
+
readonly wordLimitPosition?: "inside" | "outside" | undefined;
|
|
53
|
+
readonly suffixIcon?: import('element-plus/es/utils/vue/icon.mjs').IconPropType | undefined;
|
|
54
|
+
readonly prefixIcon?: import('element-plus/es/utils/vue/icon.mjs').IconPropType | undefined;
|
|
55
|
+
readonly containerRole?: string | undefined;
|
|
56
|
+
readonly tabindex?: string | number | undefined;
|
|
57
|
+
readonly validateEvent?: boolean | undefined;
|
|
58
|
+
readonly inputStyle?: import('vue').StyleValue;
|
|
59
|
+
readonly autofocus?: boolean | undefined;
|
|
60
|
+
readonly rows?: number | undefined;
|
|
61
|
+
readonly ariaLabel?: string | undefined;
|
|
62
|
+
readonly inputmode?: "search" | "text" | "email" | "tel" | "url" | "decimal" | "none" | "numeric" | undefined;
|
|
63
|
+
readonly name?: string | undefined;
|
|
64
|
+
readonly countGraphemes?: ((value: string) => number) | undefined;
|
|
65
|
+
readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined | undefined;
|
|
66
|
+
readonly onInput?: ((value: string) => any) | undefined | undefined;
|
|
67
|
+
readonly onChange?: ((value: string, evt?: Event | undefined) => any) | undefined | undefined;
|
|
68
|
+
readonly onFocus?: ((evt: FocusEvent) => any) | undefined | undefined;
|
|
69
|
+
readonly onBlur?: ((evt: FocusEvent) => any) | undefined | undefined;
|
|
70
|
+
readonly onClear?: ((evt: MouseEvent | undefined) => any) | undefined | undefined;
|
|
71
|
+
readonly onMouseleave?: ((evt: MouseEvent) => any) | undefined | undefined;
|
|
72
|
+
readonly onMouseenter?: ((evt: MouseEvent) => any) | undefined | undefined;
|
|
73
|
+
readonly onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined | undefined;
|
|
74
|
+
readonly onCompositionstart?: ((evt: CompositionEvent) => any) | undefined | undefined;
|
|
75
|
+
readonly onCompositionupdate?: ((evt: CompositionEvent) => any) | undefined | undefined;
|
|
76
|
+
readonly onCompositionend?: ((evt: CompositionEvent) => any) | undefined | undefined;
|
|
77
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
78
|
+
$attrs: {
|
|
79
|
+
[x: string]: unknown;
|
|
80
|
+
};
|
|
81
|
+
$refs: {
|
|
82
|
+
[x: string]: unknown;
|
|
83
|
+
};
|
|
84
|
+
$slots: Readonly<{
|
|
85
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
86
|
+
}>;
|
|
87
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
88
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
89
|
+
$host: Element | null;
|
|
90
|
+
$emit: ((event: "input", value: string) => void) & ((event: "clear", evt: MouseEvent | undefined) => void) & ((event: "blur", evt: FocusEvent) => void) & ((event: "change", value: string, evt?: Event | undefined) => void) & ((event: "compositionend", evt: CompositionEvent) => void) & ((event: "compositionstart", evt: CompositionEvent) => void) & ((event: "compositionupdate", evt: CompositionEvent) => void) & ((event: "focus", evt: FocusEvent) => void) & ((event: "keydown", evt: Event | KeyboardEvent) => void) & ((event: "mouseenter", evt: MouseEvent) => void) & ((event: "mouseleave", evt: MouseEvent) => void) & ((event: "update:modelValue", value: string) => void);
|
|
91
|
+
$el: any;
|
|
92
|
+
$options: import('vue').ComponentOptionsBase<Readonly<import('element-plus').InputProps> & Readonly<{
|
|
93
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
94
|
+
onInput?: ((value: string) => any) | undefined;
|
|
95
|
+
onChange?: ((value: string, evt?: Event | undefined) => any) | undefined;
|
|
96
|
+
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
97
|
+
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
98
|
+
onClear?: ((evt: MouseEvent | undefined) => any) | undefined;
|
|
99
|
+
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
100
|
+
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
101
|
+
onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined;
|
|
102
|
+
onCompositionstart?: ((evt: CompositionEvent) => any) | undefined;
|
|
103
|
+
onCompositionupdate?: ((evt: CompositionEvent) => any) | undefined;
|
|
104
|
+
onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
|
|
105
|
+
}>, {
|
|
106
|
+
input: import('vue').ShallowRef<HTMLInputElement | undefined, HTMLInputElement | undefined>;
|
|
107
|
+
textarea: import('vue').ShallowRef<HTMLTextAreaElement | undefined, HTMLTextAreaElement | undefined>;
|
|
108
|
+
ref: import('vue').ComputedRef<HTMLInputElement | HTMLTextAreaElement | undefined>;
|
|
109
|
+
textareaStyle: import('vue').ComputedRef<import('vue').StyleValue>;
|
|
110
|
+
autosize: import('vue').Ref<import('element-plus').InputAutoSize | undefined, import('element-plus').InputAutoSize | undefined>;
|
|
111
|
+
isComposing: import('vue').Ref<boolean, boolean>;
|
|
112
|
+
passwordVisible: import('vue').Ref<boolean, boolean>;
|
|
113
|
+
focus: () => void | undefined;
|
|
114
|
+
blur: () => void | undefined;
|
|
115
|
+
select: () => void;
|
|
116
|
+
clear: (evt?: MouseEvent) => void;
|
|
117
|
+
resizeTextarea: () => void;
|
|
118
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
119
|
+
"update:modelValue": (value: string) => void;
|
|
120
|
+
input: (value: string) => void;
|
|
121
|
+
change: (value: string, evt?: Event | undefined) => void;
|
|
122
|
+
focus: (evt: FocusEvent) => void;
|
|
123
|
+
blur: (evt: FocusEvent) => void;
|
|
124
|
+
clear: (evt: MouseEvent | undefined) => void;
|
|
125
|
+
mouseleave: (evt: MouseEvent) => void;
|
|
126
|
+
mouseenter: (evt: MouseEvent) => void;
|
|
127
|
+
keydown: (evt: Event | KeyboardEvent) => void;
|
|
128
|
+
compositionstart: (evt: CompositionEvent) => void;
|
|
129
|
+
compositionupdate: (evt: CompositionEvent) => void;
|
|
130
|
+
compositionend: (evt: CompositionEvent) => void;
|
|
131
|
+
}, string, {
|
|
132
|
+
disabled: boolean;
|
|
133
|
+
modelValue: string | number | null;
|
|
134
|
+
modelModifiers: import('element-plus').InputModelModifiers;
|
|
135
|
+
type: import('element-plus').InputType;
|
|
136
|
+
autocomplete: string;
|
|
137
|
+
clearIcon: import('element-plus/es/utils/vue/icon.mjs').IconPropType;
|
|
138
|
+
wordLimitPosition: "inside" | "outside";
|
|
139
|
+
tabindex: string | number;
|
|
140
|
+
validateEvent: boolean;
|
|
141
|
+
inputStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
|
|
142
|
+
rows: number;
|
|
143
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
144
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
145
|
+
created?: (() => void) | (() => void)[];
|
|
146
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
147
|
+
mounted?: (() => void) | (() => void)[];
|
|
148
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
149
|
+
updated?: (() => void) | (() => void)[];
|
|
150
|
+
activated?: (() => void) | (() => void)[];
|
|
151
|
+
deactivated?: (() => void) | (() => void)[];
|
|
152
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
153
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
154
|
+
destroyed?: (() => void) | (() => void)[];
|
|
155
|
+
unmounted?: (() => void) | (() => void)[];
|
|
156
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
157
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
158
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
159
|
+
};
|
|
160
|
+
$forceUpdate: () => void;
|
|
161
|
+
$nextTick: typeof import('vue').nextTick;
|
|
162
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
163
|
+
} & Readonly<{
|
|
164
|
+
disabled: boolean;
|
|
165
|
+
modelValue: string | number | null;
|
|
166
|
+
modelModifiers: import('element-plus').InputModelModifiers;
|
|
167
|
+
type: import('element-plus').InputType;
|
|
168
|
+
autocomplete: string;
|
|
169
|
+
clearIcon: import('element-plus/es/utils/vue/icon.mjs').IconPropType;
|
|
170
|
+
wordLimitPosition: "inside" | "outside";
|
|
171
|
+
tabindex: string | number;
|
|
172
|
+
validateEvent: boolean;
|
|
173
|
+
inputStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
|
|
174
|
+
rows: number;
|
|
175
|
+
}> & Omit<Readonly<import('element-plus').InputProps> & Readonly<{
|
|
176
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
177
|
+
onInput?: ((value: string) => any) | undefined;
|
|
178
|
+
onChange?: ((value: string, evt?: Event | undefined) => any) | undefined;
|
|
179
|
+
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
180
|
+
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
181
|
+
onClear?: ((evt: MouseEvent | undefined) => any) | undefined;
|
|
182
|
+
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
183
|
+
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
184
|
+
onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined;
|
|
185
|
+
onCompositionstart?: ((evt: CompositionEvent) => any) | undefined;
|
|
186
|
+
onCompositionupdate?: ((evt: CompositionEvent) => any) | undefined;
|
|
187
|
+
onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
|
|
188
|
+
}>, "input" | "select" | "textarea" | "clear" | "type" | "blur" | "focus" | "disabled" | "modelValue" | "ref" | "validateEvent" | "tabindex" | "autocomplete" | "clearIcon" | "inputStyle" | "modelModifiers" | "autosize" | "wordLimitPosition" | "rows" | "textareaStyle" | "isComposing" | "passwordVisible" | "resizeTextarea"> & import('vue').ShallowUnwrapRef<{
|
|
189
|
+
input: import('vue').ShallowRef<HTMLInputElement | undefined, HTMLInputElement | undefined>;
|
|
190
|
+
textarea: import('vue').ShallowRef<HTMLTextAreaElement | undefined, HTMLTextAreaElement | undefined>;
|
|
191
|
+
ref: import('vue').ComputedRef<HTMLInputElement | HTMLTextAreaElement | undefined>;
|
|
192
|
+
textareaStyle: import('vue').ComputedRef<import('vue').StyleValue>;
|
|
193
|
+
autosize: import('vue').Ref<import('element-plus').InputAutoSize | undefined, import('element-plus').InputAutoSize | undefined>;
|
|
194
|
+
isComposing: import('vue').Ref<boolean, boolean>;
|
|
195
|
+
passwordVisible: import('vue').Ref<boolean, boolean>;
|
|
196
|
+
focus: () => void | undefined;
|
|
197
|
+
blur: () => void | undefined;
|
|
198
|
+
select: () => void;
|
|
199
|
+
clear: (evt?: MouseEvent) => void;
|
|
200
|
+
resizeTextarea: () => void;
|
|
201
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
202
|
+
$slots: {
|
|
203
|
+
prepend?: (props: {}) => any;
|
|
204
|
+
} & {
|
|
205
|
+
prefix?: (props: {}) => any;
|
|
206
|
+
} & {
|
|
207
|
+
suffix?: (props: {}) => any;
|
|
208
|
+
} & {
|
|
209
|
+
'password-icon'?: (props: {
|
|
210
|
+
visible: boolean;
|
|
211
|
+
}) => any;
|
|
212
|
+
} & {
|
|
213
|
+
append?: (props: {}) => any;
|
|
214
|
+
};
|
|
215
|
+
}) | null;
|
|
216
|
+
}, HTMLDivElement>>;
|
|
217
|
+
export default VroElTags;
|
|
218
|
+
export type VroElTagsInstance = InstanceType<typeof VroElTags>;
|
|
219
|
+
declare module 'vue' {
|
|
220
|
+
interface GlobalComponents {
|
|
221
|
+
VroElTags: typeof VroElTags;
|
|
222
|
+
}
|
|
223
|
+
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
export declare const vroElTagsProps: {
|
|
3
|
+
/**
|
|
4
|
+
* 标签列表。
|
|
5
|
+
*/
|
|
6
|
+
modelValue: {
|
|
7
|
+
type: PropType<string[]>;
|
|
8
|
+
default: () => never[];
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* 是否禁用新增和删除标签。
|
|
12
|
+
*/
|
|
13
|
+
disabled: {
|
|
14
|
+
type: BooleanConstructor;
|
|
15
|
+
default: boolean;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
export type VroElTagsProps = ExtractPropTypes<typeof vroElTagsProps>;
|