@cyberpunk-vue/components 1.7.8 → 1.7.9

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.
@@ -551,6 +551,18 @@ export declare const CpUpload: import('../utils').SFCWithInstall<{
551
551
  placeholder?(_: {
552
552
  mode: string;
553
553
  }): any;
554
+ 'card-actions'?(_: {
555
+ file: import('.').UploadFile;
556
+ handleRemove: (file: import('.').UploadFile) => void;
557
+ handlePreview: (file: import('.').UploadFile) => void;
558
+ handleReplace: () => void;
559
+ }): any;
560
+ 'card-actions'?(_: {
561
+ file: import('.').UploadFile;
562
+ handleRemove: (file: import('.').UploadFile) => void;
563
+ handlePreview: (file: import('.').UploadFile) => void;
564
+ handleReplace: () => void;
565
+ }): any;
554
566
  };
555
567
  })>;
556
568
  export default CpUpload;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../upload/index.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAsB,CAAA;AAC3C,eAAe,QAAQ,CAAA;AAEvB,cAAc,cAAc,CAAA;AAC5B,YAAY,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../upload/index.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAsB,CAAA;AAC3C,eAAe,QAAQ,CAAA;AAEvB,cAAc,cAAc,CAAA;AAC5B,YAAY,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA"}
@@ -1,5 +1,8 @@
1
1
  import { UploadFile, UploadRequestOptions } from './upload';
2
+ declare function handleClick(): void;
3
+ declare function handleRemove(file: UploadFile): void;
2
4
  declare function submit(): void;
5
+ declare function handlePreview(file: UploadFile): void;
3
6
  declare function __VLS_template(): {
4
7
  attrs: Partial<{}>;
5
8
  slots: {
@@ -13,6 +16,18 @@ declare function __VLS_template(): {
13
16
  placeholder?(_: {
14
17
  mode: string;
15
18
  }): any;
19
+ 'card-actions'?(_: {
20
+ file: UploadFile;
21
+ handleRemove: typeof handleRemove;
22
+ handlePreview: typeof handlePreview;
23
+ handleReplace: typeof handleClick;
24
+ }): any;
25
+ 'card-actions'?(_: {
26
+ file: UploadFile;
27
+ handleRemove: typeof handleRemove;
28
+ handlePreview: typeof handlePreview;
29
+ handleReplace: typeof handleClick;
30
+ }): any;
16
31
  };
17
32
  refs: {
18
33
  inputRef: HTMLInputElement;
@@ -1 +1 @@
1
- {"version":3,"file":"upload.vue.d.ts","sourceRoot":"","sources":["../../../upload/src/upload.vue"],"names":[],"mappings":"AA+xBA,OAAO,KAAK,EAAE,UAAU,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAA;AAqXhE,iBAAS,MAAM,SAId;AA6DD,iBAAS,cAAc;WAy5BT,OAAO,IAA6B;;yBAfrB,GAAG;;;YACC,GAAG;;;YACF,GAAG;;;YACH,GAAG;;;;;;EAiBpC;AAqCD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA39BjB,aAAa;;IAEb,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAk+Bf,CAAC;wBACkB,uBAAuB,CAAC,OAAO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G,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cyberpunk-vue/components",
3
- "version": "1.7.8",
3
+ "version": "1.7.9",
4
4
  "description": "Cyberpunk Vue components - A futuristic Vue 3 component library",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -23,9 +23,9 @@
23
23
  "vue": "^3.5.0"
24
24
  },
25
25
  "dependencies": {
26
- "@cyberpunk-vue/hooks": "1.7.8",
27
- "@cyberpunk-vue/theme-chalk": "1.7.8",
28
- "@cyberpunk-vue/constants": "1.7.8"
26
+ "@cyberpunk-vue/hooks": "1.7.9",
27
+ "@cyberpunk-vue/theme-chalk": "1.7.9",
28
+ "@cyberpunk-vue/constants": "1.7.9"
29
29
  },
30
30
  "author": "Juxest",
31
31
  "license": "MIT",