rayyy-vue-table-components 1.2.27 → 1.2.29

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.
@@ -12,7 +12,11 @@ export * from './utils/tableStyles';
12
12
  export { BaseTable, BaseBtn, BaseInput, FilterBtn, BaseDialog, SortTable, SearchBar };
13
13
  export type { BaseTableProps, BaseTableEmits, BaseTableInstance, BaseBtnProps, BaseBtnEmits, BaseBtnInstance, BaseDialogProps, BaseDialogEmits, BaseDialogInstance, PluginOptions, VueTableComponentsPlugin, } from './types/components';
14
14
  export * from './components';
15
- export declare function install(app: App): void;
15
+ export declare function install(app: App, options?: {
16
+ locale?: any;
17
+ autoImportStyles?: boolean;
18
+ prefix?: string;
19
+ }): void;
16
20
  declare const _default: {
17
21
  length: number;
18
22
  toString(): string;
@@ -758,6 +758,8 @@ export interface PluginOptions {
758
758
  autoImportStyles?: boolean
759
759
  /** 自定義前綴 */
760
760
  prefix?: string
761
+ /** Element Plus 語系設定 */
762
+ locale?: any
761
763
  }
762
764
 
763
765
  /** 插件實例類型 */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rayyy-vue-table-components",
3
- "version": "1.2.27",
3
+ "version": "1.2.29",
4
4
  "description": "Vue 3 + Element Plus 表格組件庫",
5
5
  "type": "module",
6
6
  "main": "./dist/index.umd.js",
@@ -20,7 +20,7 @@ const props = withDefaults(
20
20
  <template>
21
21
  <function-header :title="props.title" :showBack="props.showBack" :depth="props.depth" />
22
22
 
23
- <el-scrollbar :max-height="maxHeight" class="max-w-screen-xl overflow-auto">
23
+ <el-scrollbar :max-height="maxHeight" class="max-h-fit max-w-screen-xl overflow-auto">
24
24
  <div v-if="$slots.searchBar" class="px-4 pt-1.5">
25
25
  <slot name="searchBar" />
26
26
  </div>
@@ -759,6 +759,8 @@ export interface PluginOptions {
759
759
  autoImportStyles?: boolean
760
760
  /** 自定義前綴 */
761
761
  prefix?: string
762
+ /** Element Plus 語系設定 */
763
+ locale?: any
762
764
  }
763
765
 
764
766
  /** 插件實例類型 */