dolphin-components 2.1.2 → 2.1.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 CHANGED
@@ -173,8 +173,8 @@ export declare interface IconProps {
173
173
  }
174
174
 
175
175
  export declare const Icons: DefineComponent<IconProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<IconProps> & Readonly<{}>, {
176
- color: string;
177
176
  size: number;
177
+ color: string;
178
178
  strokeWidth: number;
179
179
  absoluteStrokeWidth: boolean;
180
180
  classValue: string;
@@ -235,15 +235,12 @@ paginationSizeSelector: number[];
235
235
  actionButtons: TabulatorAction_2[];
236
236
  heightOffset: number;
237
237
  actionMode: "frontend" | "api";
238
- }, {}, {}, {}, string, ComponentProvideOptions, false, {
239
- table: HTMLDivElement;
240
- }, HTMLDivElement>;
238
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
241
239
 
242
240
  export declare interface TabulatorAction {
243
241
  name: string;
244
242
  emit: string;
245
- class: string;
246
- hide: boolean;
243
+ class?: string;
247
244
  }
248
245
 
249
246
  export declare interface TabulatorData {
@@ -284,13 +281,13 @@ export declare interface TabulatorModalSettings {
284
281
  export declare interface TabulatorProps {
285
282
  data: TabulatorData[];
286
283
  columns: TabulatorHeader[];
287
- placeholder: string;
288
- paginationSize: number;
289
- paginationSizeSelector: number[];
290
- action: boolean;
291
- actionButtons: TabulatorAction[];
292
- heightOffset: number;
293
- actionMode: 'frontend' | 'api';
284
+ placeholder?: string;
285
+ paginationSize?: number;
286
+ paginationSizeSelector?: number[];
287
+ action?: boolean;
288
+ actionButtons?: TabulatorAction[];
289
+ heightOffset?: number;
290
+ actionMode?: "frontend" | "api";
294
291
  }
295
292
 
296
293
  export declare const Toast: {
@@ -357,8 +354,8 @@ export declare class WebSocketWrapper {
357
354
  export { }
358
355
 
359
356
 
360
- declare module '@vue/runtime-core' {
361
- interface ComponentCustomProperties {
362
- $focusNext: (nextElementId: string) => void;
363
- }
364
- }
357
+ declare module "@vue/runtime-core" {
358
+ interface ComponentCustomProperties {
359
+ $focusNext: (nextElementId: string) => void;
360
+ }
361
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "dolphin-components",
3
3
  "private": false,
4
- "version": "2.1.2",
4
+ "version": "2.1.4",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"
@@ -23,6 +23,8 @@
23
23
  "scripts": {
24
24
  "dev": "vite",
25
25
  "build": "vite build && vue-tsc --declaration --emitDeclarationOnly",
26
+ "format": "prettier --write src/",
27
+ "format:check": "prettier --check src/",
26
28
  "preview": "vite preview"
27
29
  },
28
30
  "dependencies": {
@@ -48,6 +50,7 @@
48
50
  "@vitejs/plugin-vue": "^5.2.1",
49
51
  "@vue/tsconfig": "^0.7.0",
50
52
  "path": "^0.12.7",
53
+ "prettier": "3.5.3",
51
54
  "rollup-plugin-typescript2": "^0.36.0",
52
55
  "typescript": "~5.7.3",
53
56
  "vite": "^6.1.0",