ra-element 0.2.3 → 0.2.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.
@@ -1,4 +1,4 @@
1
- import { Plugin } from 'vue';
1
+ import { App } from 'vue';
2
2
  import { default as RaAutoScroll } from './ra-auto-scroll/index.vue';
3
3
  import { default as RaButton } from './ra-button/index.vue';
4
4
  import { default as RaCheckboxGroup } from './ra-checkbox-group/index.vue';
@@ -19,7 +19,12 @@ import { default as RaToolTip } from './ra-tool-tip/index.vue';
19
19
  import { default as RaTreeSelect } from './ra-tree-select/index.vue';
20
20
  import { default as RaUpload } from './ra-upload/index.vue';
21
21
  import { setGlobalDefaultCssStyle } from '../utils';
22
- declare const install: Plugin;
22
+ interface RaElementPlugin {
23
+ (app: App, options?: {
24
+ defaultCssStyle?: string;
25
+ }): void;
26
+ }
27
+ declare const install: RaElementPlugin;
23
28
  export { RaAutoScroll, RaButton, RaCheckboxGroup, RaDatePicker, RaDialog, RaDialogSelect, RaForm, RaFormItem, RaHelpTip, RaInput, RaPagination, RaRadioGroup, RaSelect, RaSvg, RaTable, RaTextarea, RaToolTip, RaTreeSelect, RaUpload, setGlobalDefaultCssStyle, };
24
29
  export default install;
25
30
  declare module 'vue' {
@@ -3262,7 +3262,7 @@ const ja = (e, t = "label", a = "value", n = "children", l = "1") => !Array.isAr
3262
3262
  De,
3263
3263
  ji
3264
3264
  ], Ui = (e, t) => {
3265
- sn(t?.defaultCssStyle ?? "1"), Li.forEach((a) => {
3265
+ sn(t?.defaultCssStyle ?? ""), Li.forEach((a) => {
3266
3266
  e.component(a.name, a);
3267
3267
  });
3268
3268
  };