@cocoar/vue-ui 1.12.1 → 1.13.0-beta.6

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.
Files changed (34) hide show
  1. package/dist/components/badge/CoarBadge.vue.d.ts +1 -1
  2. package/dist/components/badge/CoarBadge.vue.d.ts.map +1 -1
  3. package/dist/components/card/CoarCard.vue.d.ts +1 -1
  4. package/dist/components/card/CoarCard.vue.d.ts.map +1 -1
  5. package/dist/components/code-block/CoarCodeBlock.vue.d.ts +1 -1
  6. package/dist/components/code-block/CoarCodeBlock.vue.d.ts.map +1 -1
  7. package/dist/components/icon/CoarIcon.vue.d.ts +3 -3
  8. package/dist/components/icon/CoarIcon.vue.d.ts.map +1 -1
  9. package/dist/components/icon/core-icons.d.ts +20 -0
  10. package/dist/components/icon/core-icons.d.ts.map +1 -1
  11. package/dist/components/note/CoarNote.vue.d.ts +1 -1
  12. package/dist/components/note/CoarNote.vue.d.ts.map +1 -1
  13. package/dist/components/number-input/CoarNumberInput.vue.d.ts +2 -2
  14. package/dist/components/password-input/CoarPasswordInput.vue.d.ts +2 -2
  15. package/dist/components/popconfirm/CoarPopconfirm.vue.d.ts +1 -1
  16. package/dist/components/popover/CoarPopover.vue.d.ts +1 -1
  17. package/dist/components/select/useSelectBase.d.ts +1 -1
  18. package/dist/components/sidebar/CoarSidebar.vue.d.ts +1 -1
  19. package/dist/components/sidebar/CoarSidebar.vue.d.ts.map +1 -1
  20. package/dist/components/tabs/CoarTabGroup.vue.d.ts +12 -0
  21. package/dist/components/tabs/CoarTabGroup.vue.d.ts.map +1 -1
  22. package/dist/components/text-input/CoarTextInput.vue.d.ts +3 -3
  23. package/dist/components/text-input/CoarTextInput.vue.d.ts.map +1 -1
  24. package/dist/components/transitions/CoarSlide.vue.d.ts +1 -1
  25. package/dist/components/transitions/CoarSlide.vue.d.ts.map +1 -1
  26. package/dist/composables/index.d.ts +2 -0
  27. package/dist/composables/index.d.ts.map +1 -1
  28. package/dist/composables/useDragImage.d.ts +48 -0
  29. package/dist/composables/useDragImage.d.ts.map +1 -0
  30. package/dist/index.css +1 -1
  31. package/dist/index.d.ts +2 -2
  32. package/dist/index.d.ts.map +1 -1
  33. package/dist/index.js +1363 -1321
  34. package/package.json +2 -2
@@ -20,9 +20,9 @@ export interface CoarBadgeProps {
20
20
  bordered?: boolean;
21
21
  }
22
22
  declare const _default: import('vue').DefineComponent<CoarBadgeProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CoarBadgeProps> & Readonly<{}>, {
23
+ content: string | number;
23
24
  size: BadgeSize;
24
25
  variant: BadgeVariant;
25
- content: string | number;
26
26
  pulse: boolean;
27
27
  dot: boolean;
28
28
  max: number | null;
@@ -1 +1 @@
1
- {"version":3,"file":"CoarBadge.vue.d.ts","sourceRoot":"","sources":["../../../src/components/badge/CoarBadge.vue"],"names":[],"mappings":"AAiOA,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,WAAW,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,CAAC;AAC9F,MAAM,MAAM,SAAS,GAAG,IAAI,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,IAAI,CAAC;AAEtD,MAAM,WAAW,cAAc;IAC7B,kDAAkD;IAClD,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC1B,4BAA4B;IAC5B,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB,kBAAkB;IAClB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,8CAA8C;IAC9C,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,gDAAgD;IAChD,GAAG,CAAC,EAAE,OAAO,CAAC;IACd;;;OAGG;IACH,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,iDAAiD;IACjD,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;;UAZQ,SAAS;aAFN,YAAY;aAFZ,MAAM,GAAG,MAAM;WAMjB,OAAO;SAET,OAAO;SAKP,MAAM,GAAG,IAAI;cAER,OAAO;;AAgIpB,wBAQG"}
1
+ {"version":3,"file":"CoarBadge.vue.d.ts","sourceRoot":"","sources":["../../../src/components/badge/CoarBadge.vue"],"names":[],"mappings":"AAiOA,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,WAAW,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,CAAC;AAC9F,MAAM,MAAM,SAAS,GAAG,IAAI,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,IAAI,CAAC;AAEtD,MAAM,WAAW,cAAc;IAC7B,kDAAkD;IAClD,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC1B,4BAA4B;IAC5B,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB,kBAAkB;IAClB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,8CAA8C;IAC9C,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,gDAAgD;IAChD,GAAG,CAAC,EAAE,OAAO,CAAC;IACd;;;OAGG;IACH,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,iDAAiD;IACjD,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;;aAhBW,MAAM,GAAG,MAAM;UAIlB,SAAS;aAFN,YAAY;WAId,OAAO;SAET,OAAO;SAKP,MAAM,GAAG,IAAI;cAER,OAAO;;AAgIpB,wBAQG"}
@@ -23,8 +23,8 @@ declare function __VLS_template(): {
23
23
  };
24
24
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
25
25
  declare const __VLS_component: import('vue').DefineComponent<CoarCardProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CoarCardProps> & Readonly<{}>, {
26
- variant: CardVariant;
27
26
  padding: CardPadding;
27
+ variant: CardVariant;
28
28
  elevated: boolean;
29
29
  borderless: boolean;
30
30
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
@@ -1 +1 @@
1
- {"version":3,"file":"CoarCard.vue.d.ts","sourceRoot":"","sources":["../../../src/components/card/CoarCard.vue"],"names":[],"mappings":"AAmIA,MAAM,MAAM,WAAW,GAAG,SAAS,GAAG,UAAU,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,QAAQ,CAAC;AACvG,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;AAEnD,MAAM,WAAW,aAAa;IAC5B,sBAAsB;IACtB,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB,6BAA6B;IAC7B,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB,wCAAwC;IACxC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,kCAAkC;IAClC,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AA8BD,iBAAS,cAAc;WAqET,OAAO,IAA6B;;wBAbtB,GAAG;yBACF,GAAG;wBACJ,GAAG;uBACJ,GAAG;;;;EAe7B;AAWD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;aA3HT,WAAW;aAEX,WAAW;cAEV,OAAO;gBAEL,OAAO;wFA6HpB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"CoarCard.vue.d.ts","sourceRoot":"","sources":["../../../src/components/card/CoarCard.vue"],"names":[],"mappings":"AAmIA,MAAM,MAAM,WAAW,GAAG,SAAS,GAAG,UAAU,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,QAAQ,CAAC;AACvG,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;AAEnD,MAAM,WAAW,aAAa;IAC5B,sBAAsB;IACtB,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB,6BAA6B;IAC7B,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB,wCAAwC;IACxC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,kCAAkC;IAClC,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AA8BD,iBAAS,cAAc;WAqET,OAAO,IAA6B;;wBAbtB,GAAG;yBACF,GAAG;wBACJ,GAAG;uBACJ,GAAG;;;;EAe7B;AAWD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;aAzHT,WAAW;aAFX,WAAW;cAIV,OAAO;gBAEL,OAAO;wFA6HpB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -31,6 +31,7 @@ declare const _default: import('vue').DefineComponent<CoarCodeBlockProps, {
31
31
  lines: import('vue').ComputedRef<number[]>;
32
32
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CoarCodeBlockProps> & Readonly<{}>, {
33
33
  title: string;
34
+ maxHeight: number;
34
35
  variant: CodeBlockVariant;
35
36
  elevated: boolean;
36
37
  borderless: boolean;
@@ -39,7 +40,6 @@ declare const _default: import('vue').DefineComponent<CoarCodeBlockProps, {
39
40
  collapsed: boolean;
40
41
  showCopy: boolean;
41
42
  showLineNumbers: boolean;
42
- maxHeight: number;
43
43
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
44
44
  export default _default;
45
45
  //# sourceMappingURL=CoarCodeBlock.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CoarCodeBlock.vue.d.ts","sourceRoot":"","sources":["../../../src/components/code-block/CoarCodeBlock.vue"],"names":[],"mappings":"AA+iBA,OAAO,qCAAqC,CAAC;AAC7C,OAAO,qCAAqC,CAAC;AAC7C,OAAO,8BAA8B,CAAC;AACtC,OAAO,+BAA+B,CAAC;AACvC,OAAO,+BAA+B,CAAC;AACvC,OAAO,+BAA+B,CAAC;AACvC,OAAO,iCAAiC,CAAC;AAEzC,MAAM,MAAM,gBAAgB,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,QAAQ,CAAC;AAE/F,MAAM,WAAW,kBAAkB;IACjC,2BAA2B;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,wCAAwC;IACxC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,sCAAsC;IACtC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,+CAA+C;IAC/C,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,+CAA+C;IAC/C,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,uCAAuC;IACvC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,oCAAoC;IACpC,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,sDAAsD;IACtD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,4CAA4C;IAC5C,OAAO,CAAC,EAAE,gBAAgB,CAAC;IAC3B,oDAAoD;IACpD,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,6CAA6C;IAC7C,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAiFD,iBAAe,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC,CASvC;;;;;;;WA3GS,MAAM;aAYJ,gB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FL,OAAO;cAhBT,MAAM;iBAIH,OAAO;eAET,OAAO;cAER,OAAO;qBAEA,OAAO;;AA6U3B,wBASG"}
@@ -22,13 +22,13 @@ export interface CoarIconProps {
22
22
  declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<CoarIconProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CoarIconProps> & Readonly<{}>, {
23
23
  label: string | number;
24
24
  source: string;
25
+ color: string;
26
+ rotate: number;
27
+ strokeWidth: number;
25
28
  name: string;
26
29
  size: CoarIconSize | string;
27
- strokeWidth: number;
28
- rotate: number;
29
30
  rotateTransition: number | string;
30
31
  spin: boolean;
31
- color: string;
32
32
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>, {
33
33
  default?(_: {}): any;
34
34
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"CoarIcon.vue.d.ts","sourceRoot":"","sources":["../../../src/components/icon/CoarIcon.vue"],"names":[],"mappings":"AAgSA,OAAO,EAGL,KAAK,YAAY,EAClB,MAAM,gBAAgB,CAAC;AAExB,MAAM,WAAW,aAAa;IAC5B,gDAAgD;IAChD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,6DAA6D;IAC7D,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,yEAAyE;IACzE,IAAI,CAAC,EAAE,YAAY,GAAG,MAAM,CAAC;IAC7B,yFAAyF;IACzF,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gCAAgC;IAChC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,iEAAiE;IACjE,gBAAgB,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACnC,2CAA2C;IAC3C,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,+EAA+E;IAC/E,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,qDAAqD;IACrD,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CAC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ACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -18,6 +18,11 @@ export declare const CORE_ICONS: {
18
18
  'arrow-up': string;
19
19
  'at-sign': string;
20
20
  bell: string;
21
+ 'between-horizontal-end': string;
22
+ 'between-horizontal-start': string;
23
+ 'between-vertical-end': string;
24
+ 'between-vertical-start': string;
25
+ bold: string;
21
26
  bookmark: string;
22
27
  'calendar-days': string;
23
28
  calendar: string;
@@ -36,10 +41,12 @@ export declare const CORE_ICONS: {
36
41
  clipboard: string;
37
42
  clock: string;
38
43
  code: string;
44
+ columns: string;
39
45
  copy: string;
40
46
  database: string;
41
47
  download: string;
42
48
  ellipsis: string;
49
+ eraser: string;
43
50
  'external-link': string;
44
51
  'eye-off': string;
45
52
  eye: string;
@@ -50,13 +57,18 @@ export declare const CORE_ICONS: {
50
57
  globe: string;
51
58
  'grip-vertical': string;
52
59
  hash: string;
60
+ heading: string;
53
61
  heart: string;
54
62
  home: string;
55
63
  image: string;
64
+ 'indent-decrease': string;
65
+ 'indent-increase': string;
56
66
  info: string;
67
+ italic: string;
57
68
  'key-round': string;
58
69
  'layout-grid': string;
59
70
  link: string;
71
+ 'list-ordered': string;
60
72
  list: string;
61
73
  'loader-circle': string;
62
74
  lock: string;
@@ -79,11 +91,13 @@ export declare const CORE_ICONS: {
79
91
  'panel-left': string;
80
92
  'panel-right': string;
81
93
  pencil: string;
94
+ pilcrow: string;
82
95
  plus: string;
83
96
  printer: string;
84
97
  'qr-code': string;
85
98
  'redo-2': string;
86
99
  'refresh-cw': string;
100
+ rows: string;
87
101
  save: string;
88
102
  'scan-line': string;
89
103
  search: string;
@@ -93,11 +107,17 @@ export declare const CORE_ICONS: {
93
107
  shield: string;
94
108
  'sort-asc': string;
95
109
  'sort-desc': string;
110
+ 'square-code': string;
96
111
  'square-dashed': string;
97
112
  star: string;
113
+ strikethrough: string;
98
114
  sun: string;
115
+ 'table-cells-merge': string;
116
+ 'table-cells-split': string;
117
+ table: string;
99
118
  tag: string;
100
119
  terminal: string;
120
+ 'text-quote': string;
101
121
  'trash-2': string;
102
122
  'triangle-alert': string;
103
123
  'undo-2': string;
@@ -1 +1 @@
1
- {"version":3,"file":"core-icons.d.ts","sourceRoot":"","sources":["../../../src/components/icon/core-icons.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoGtB,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG,MAAM,OAAO,UAAU,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC"}
1
+ {"version":3,"file":"core-icons.d.ts","sourceRoot":"","sources":["../../../src/components/icon/core-icons.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwHtB,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG,MAAM,OAAO,UAAU,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC"}
@@ -16,8 +16,8 @@ declare function __VLS_template(): {
16
16
  };
17
17
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
18
18
  declare const __VLS_component: import('vue').DefineComponent<CoarNoteProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CoarNoteProps> & Readonly<{}>, {
19
- variant: NoteVariant;
20
19
  padding: NotePadding;
20
+ variant: NoteVariant;
21
21
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
22
22
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
23
23
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"CoarNote.vue.d.ts","sourceRoot":"","sources":["../../../src/components/note/CoarNote.vue"],"names":[],"mappings":"AAuEA,MAAM,MAAM,WAAW,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,QAAQ,CAAC;AAC1F,MAAM,MAAM,WAAW,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;AAE1C,MAAM,WAAW,aAAa;IAC5B,+EAA+E;IAC/E,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB,yBAAyB;IACzB,OAAO,CAAC,EAAE,WAAW,CAAC;CACvB;AAoBD,iBAAS,cAAc;WAqCT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AAUD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;aA5ET,WAAW;aAEX,WAAW;wFAkFrB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"CoarNote.vue.d.ts","sourceRoot":"","sources":["../../../src/components/note/CoarNote.vue"],"names":[],"mappings":"AAuEA,MAAM,MAAM,WAAW,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,QAAQ,CAAC;AAC1F,MAAM,MAAM,WAAW,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;AAE1C,MAAM,WAAW,aAAa;IAC5B,+EAA+E;IAC/E,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB,yBAAyB;IACzB,OAAO,CAAC,EAAE,WAAW,CAAC;CACvB;AAoBD,iBAAS,cAAc;WAqCT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AAUD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;aA1ET,WAAW;aAFX,WAAW;wFAoFrB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -60,14 +60,14 @@ declare function __VLS_template(): {
60
60
  };
61
61
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
62
62
  declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
63
+ clear: () => any;
63
64
  focused: (event: FocusEvent) => any;
64
65
  blurred: (event: FocusEvent) => any;
65
- clear: () => any;
66
66
  "update:modelValue": (value: number | null) => any;
67
67
  }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
68
+ onClear?: (() => any) | undefined;
68
69
  onFocused?: ((event: FocusEvent) => any) | undefined;
69
70
  onBlurred?: ((event: FocusEvent) => any) | undefined;
70
- onClear?: (() => any) | undefined;
71
71
  "onUpdate:modelValue"?: ((value: number | null) => any) | undefined;
72
72
  }>, {
73
73
  error: boolean;
@@ -28,14 +28,14 @@ type __VLS_PublicProps = {
28
28
  modelValue?: string;
29
29
  } & __VLS_Props;
30
30
  declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
31
+ clear: () => any;
31
32
  focused: (event: FocusEvent) => any;
32
33
  blurred: (event: FocusEvent) => any;
33
- clear: () => any;
34
34
  "update:modelValue": (value: string) => any;
35
35
  }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
36
+ onClear?: (() => any) | undefined;
36
37
  onFocused?: ((event: FocusEvent) => any) | undefined;
37
38
  onBlurred?: ((event: FocusEvent) => any) | undefined;
38
- onClear?: (() => any) | undefined;
39
39
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
40
40
  }>, {
41
41
  error: boolean;
@@ -91,8 +91,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
91
91
  onConfirmed?: (() => any) | undefined;
92
92
  onCancelled?: (() => any) | undefined;
93
93
  }>, {
94
- disabled: boolean;
95
94
  title: string;
95
+ disabled: boolean;
96
96
  placement: PopconfirmPlacement;
97
97
  confirmText: string;
98
98
  cancelText: string;
@@ -56,9 +56,9 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
56
56
  default: number;
57
57
  };
58
58
  }>> & Readonly<{}>, {
59
+ offset: number;
59
60
  disabled: boolean;
60
61
  mode: PopoverMode;
61
- offset: number;
62
62
  interactive: boolean;
63
63
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
64
64
  triggerRef: HTMLSpanElement;
@@ -17,7 +17,7 @@ export declare function useSelectBase<T = unknown>(opts: UseSelectBaseOptions<T>
17
17
  isFocused: Ref<boolean, boolean>;
18
18
  searchQuery: Ref<string, string>;
19
19
  highlightedIndex: Ref<number, number>;
20
- dropdownPosition: Ref<"top" | "bottom", "top" | "bottom">;
20
+ dropdownPosition: Ref<"bottom" | "top", "bottom" | "top">;
21
21
  inputId: import('vue').ComputedRef<string>;
22
22
  messageId: import('vue').ComputedRef<string>;
23
23
  listboxId: import('vue').ComputedRef<string>;
@@ -38,13 +38,13 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
38
38
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
39
39
  "onUpdate:collapsed"?: ((value: boolean) => any) | undefined;
40
40
  }>, {
41
+ position: "left" | "right";
41
42
  size: SidebarSize;
42
43
  variant: SidebarVariant;
43
44
  ariaLabel: string;
44
45
  elevated: boolean;
45
46
  borderless: boolean;
46
47
  collapsed: boolean;
47
- position: "left" | "right";
48
48
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLElement>;
49
49
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
50
50
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"CoarSidebar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/sidebar/CoarSidebar.vue"],"names":[],"mappings":"AAwLA,KAAK,cAAc,GAAG,SAAS,GAAG,WAAW,CAAC;AAC9C,KAAK,WAAW,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;AAEnC,KAAK,WAAW,GAAG;IACf,2CAA2C;IAC3C,QAAQ,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAC5B,mDAAmD;IACnD,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,6DAA6D;IAC7D,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,yBAAyB;IACzB,OAAO,CAAC,EAAE,cAAc,CAAC;IACzB,uCAAuC;IACvC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,sBAAsB;IACtB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,gDAAgD;IAChD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AA4CJ,iBAAS,cAAc;WA8DT,OAAO,IAA6B;;;;YAZtB,GAAG;;;YACF,GAAG;;;YACJ,GAAG;;;;EAe9B;AAYD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;UArIV,WAAW;aAER,cAAc;eAMZ,MAAM;cAJP,OAAO;gBAEL,OAAO;eARR,OAAO;cAFR,MAAM,GAAG,OAAO;qFAkJ7B,CAAC;wBACkB,uBAAuB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,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -7,8 +7,20 @@ declare function __VLS_template(): {
7
7
  attrs: Partial<{}>;
8
8
  slots: Readonly<{
9
9
  default?(): VNode[];
10
+ /**
11
+ * Optional right-aligned action area that sits on the same row as the tab
12
+ * labels — useful for "undo/redo", "overflow menu", "filter toggles" etc.
13
+ * Rendered only when populated, so untouched consumers see the old layout.
14
+ */
15
+ actions?(): VNode[];
10
16
  }> & {
11
17
  default?(): VNode[];
18
+ /**
19
+ * Optional right-aligned action area that sits on the same row as the tab
20
+ * labels — useful for "undo/redo", "overflow menu", "filter toggles" etc.
21
+ * Rendered only when populated, so untouched consumers see the old layout.
22
+ */
23
+ actions?(): VNode[];
12
24
  };
13
25
  refs: {};
14
26
  rootEl: HTMLDivElement;
@@ -1 +1 @@
1
- {"version":3,"file":"CoarTabGroup.vue.d.ts","sourceRoot":"","sources":["../../../src/components/tabs/CoarTabGroup.vue"],"names":[],"mappings":"AA4RA,OAAO,EAAwB,KAAK,KAAK,EAAE,MAAM,KAAK,CAAC;AAGvD,KAAK,WAAW,GAAG;IACf,gDAAgD;IAChD,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAkKJ,iBAAS,cAAc;WAsFT,OAAO,IAA6B;;oBA5OpC,KAAK,EAAE;;oBAAP,KAAK,EAAE;;;;EAiPpB;AAeD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;gBA9QJ,MAAM;wFAuRrB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"CoarTabGroup.vue.d.ts","sourceRoot":"","sources":["../../../src/components/tabs/CoarTabGroup.vue"],"names":[],"mappings":"AAiTA,OAAO,EAAwB,KAAK,KAAK,EAAE,MAAM,KAAK,CAAC;AAGvD,KAAK,WAAW,GAAG;IACf,gDAAgD;IAChD,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAwKJ,iBAAS,cAAc;WA8FT,OAAO,IAA6B;;oBA1PpC,KAAK,EAAE;QACnB;;;;WAIG;oBACS,KAAK,EAAE;;oBANP,KAAK,EAAE;QACnB;;;;WAIG;oBACS,KAAK,EAAE;;;;EAyPpB;AAeD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;gBA5RJ,MAAM;wFAqSrB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -47,14 +47,14 @@ declare function __VLS_template(): {
47
47
  };
48
48
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
49
49
  declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
50
+ clear: () => any;
50
51
  focused: (event: FocusEvent) => any;
51
52
  blurred: (event: FocusEvent) => any;
52
- clear: () => any;
53
53
  "update:modelValue": (value: string) => any;
54
54
  }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
55
+ onClear?: (() => any) | undefined;
55
56
  onFocused?: ((event: FocusEvent) => any) | undefined;
56
57
  onBlurred?: ((event: FocusEvent) => any) | undefined;
57
- onClear?: (() => any) | undefined;
58
58
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
59
59
  }>, {
60
60
  error: boolean;
@@ -63,8 +63,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
63
63
  id: string;
64
64
  name: string;
65
65
  placeholder: string;
66
- size: CoarTextInputSize;
67
66
  rows: number;
67
+ size: CoarTextInputSize;
68
68
  readonly: boolean;
69
69
  clearable: boolean;
70
70
  prefix: string;
@@ -1 +1 @@
1
- {"version":3,"file":"CoarTextInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/text-input/CoarTextInput.vue"],"names":[],"mappings":"AAucA,MAAM,MAAM,iBAAiB,GAAG,IAAI,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;AAEvD,MAAM,WAAW,kBAAkB;IACjC,iDAAiD;IACjD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,iBAAiB;IACjB,IAAI,CAAC,EAAE,iBAAiB,CAAC;IACzB,mEAAmE;IACnE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,yBAAyB;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,gCAAgC;IAChC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,kCAAkC;IAClC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,iFAAiF;IACjF,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,6CAA6C;IAC7C,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,4CAA4C;IAC5C,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,2CAA2C;IAC3C,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,wBAAwB;IACxB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,0BAA0B;IAC1B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,kCAAkC;IAClC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,+BAA+B;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,KAAK,WAAW,GAAG,kBA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VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
19
+ direction: "up" | "down" | "left" | "right";
19
20
  duration: "fast" | "normal" | "slow";
20
21
  appear: boolean;
21
- direction: "up" | "down" | "left" | "right";
22
22
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
23
23
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
24
24
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"CoarSlide.vue.d.ts","sourceRoot":"","sources":["../../../src/components/transitions/CoarSlide.vue"],"names":[],"mappings":"AA2EA,KAAK,WAAW,GAAG;IACf,sBAAsB;IACtB,SAAS,CAAC,EAAE,IAAI,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;IAC7C,+BAA+B;IAC/B,QAAQ,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,MAAM,CAAC;IACtC,2CAA2C;IAC3C,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC;AAwDJ,iBAAS,cAAc;WAqDT,OAAO,IAA6B;;yBAVpB,GAAG;;;;EAehC;AAaD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;cAnIN,MAAM,GAAG,QAAQ,GAAG,MAAM;YAE5B,OAAO;eAJJ,IAAI,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO;6EA6I9C,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"CoarSlide.vue.d.ts","sourceRoot":"","sources":["../../../src/components/transitions/CoarSlide.vue"],"names":[],"mappings":"AA2EA,KAAK,WAAW,GAAG;IACf,sBAAsB;IACtB,SAAS,CAAC,EAAE,IAAI,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;IAC7C,+BAA+B;IAC/B,QAAQ,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,MAAM,CAAC;IACtC,2CAA2C;IAC3C,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC;AAwDJ,iBAAS,cAAc;WAqDT,OAAO,IAA6B;;yBAVpB,GAAG;;;;EAehC;AAaD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;eArIL,IAAI,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO;cAEjC,MAAM,GAAG,QAAQ,GAAG,MAAM;YAE5B,OAAO;6EAyIlB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -2,6 +2,8 @@ export { useVirtualList } from './useVirtualList';
2
2
  export type { UseVirtualListOptions, UseVirtualListReturn, VirtualRow, } from './useVirtualList';
3
3
  export { useDragDrop } from './useDragDrop';
4
4
  export type { UseDragDropOptions, UseDragDropReturn, DropPayload, } from './useDragDrop';
5
+ export { setCoarDragImageFromElement, setCoarDragImageFromHtml, } from './useDragImage';
6
+ export type { CoarDragImageOptions } from './useDragImage';
5
7
  export { DRAG_MIME, registerDrag, getDrag, getActiveDrag, deleteDrag, } from './dragRegistry';
6
8
  export type { DragEntry } from './dragRegistry';
7
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/composables/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,YAAY,EACV,qBAAqB,EACrB,oBAAoB,EACpB,UAAU,GACX,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,YAAY,EACV,kBAAkB,EAClB,iBAAiB,EACjB,WAAW,GACZ,MAAM,eAAe,CAAC;AAEvB,OAAO,EACL,SAAS,EACT,YAAY,EACZ,OAAO,EACP,aAAa,EACb,UAAU,GACX,MAAM,gBAAgB,CAAC;AACxB,YAAY,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/composables/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,YAAY,EACV,qBAAqB,EACrB,oBAAoB,EACpB,UAAU,GACX,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,YAAY,EACV,kBAAkB,EAClB,iBAAiB,EACjB,WAAW,GACZ,MAAM,eAAe,CAAC;AAEvB,OAAO,EACL,2BAA2B,EAC3B,wBAAwB,GACzB,MAAM,gBAAgB,CAAC;AACxB,YAAY,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EACL,SAAS,EACT,YAAY,EACZ,OAAO,EACP,aAAa,EACb,UAAU,GACX,MAAM,gBAAgB,CAAC;AACxB,YAAY,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC"}
@@ -0,0 +1,48 @@
1
+ /**
2
+ * Thin wrapper around `DataTransfer.setDragImage()` that lets callers ship a nicely
3
+ * styled "ghost" next to the cursor during an HTML5 drag — without each consumer
4
+ * having to re-derive the "create offscreen clone, set, clean up on next tick"
5
+ * dance.
6
+ *
7
+ * The browser captures the drag image **synchronously during `dragstart`** and
8
+ * keeps its own snapshot — so we only need to keep the element alive in the DOM
9
+ * for a single paint. We append it far off-screen, call `setDragImage`, then
10
+ * schedule removal on the next microtask.
11
+ *
12
+ * Scope: pure helper — no Vue reactivity, no state. Safe to call from any
13
+ * `dragstart` handler, including inside `useDragDrop` consumers.
14
+ */
15
+ export interface CoarDragImageOptions {
16
+ /** X offset of the cursor within the ghost (px). Default: 12 */
17
+ offsetX?: number;
18
+ /** Y offset of the cursor within the ghost (px). Default: 12 */
19
+ offsetY?: number;
20
+ /** CSS class applied to the generated wrapper, so consumers can theme the ghost. */
21
+ className?: string;
22
+ /** Inline styles to merge onto the wrapper — use sparingly; prefer `className`. */
23
+ style?: Partial<CSSStyleDeclaration>;
24
+ /** When true, the wrapper receives a subtle default ghost appearance (rounded,
25
+ * slight drop shadow, reduced opacity). Defaults to `true`. Pass `false` when
26
+ * the caller handles all styling via `className`. */
27
+ applyDefaultStyle?: boolean;
28
+ }
29
+ /**
30
+ * Use an existing DOM element as the drag image, optionally cloned so the live
31
+ * element isn't visually disturbed.
32
+ *
33
+ * The clone is sized to match the source's rendered bounding box so the ghost
34
+ * stays the same shape as what the user grabbed — block-level elements default
35
+ * to 100% container width and would otherwise produce an absurdly wide ghost.
36
+ *
37
+ * @example
38
+ * function onDragStart(e: DragEvent) {
39
+ * setCoarDragImageFromElement(e, e.currentTarget as HTMLElement);
40
+ * }
41
+ */
42
+ export declare function setCoarDragImageFromElement(event: DragEvent, source: HTMLElement, options?: CoarDragImageOptions): void;
43
+ /**
44
+ * Build an arbitrary drag image from raw HTML. The caller owns the markup;
45
+ * the helper just handles the "attach off-screen → setDragImage → detach" loop.
46
+ */
47
+ export declare function setCoarDragImageFromHtml(event: DragEvent, html: string, options?: CoarDragImageOptions): void;
48
+ //# sourceMappingURL=useDragImage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useDragImage.d.ts","sourceRoot":"","sources":["../../src/composables/useDragImage.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,MAAM,WAAW,oBAAoB;IACnC,gEAAgE;IAChE,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,gEAAgE;IAChE,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,oFAAoF;IACpF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,mFAAmF;IACnF,KAAK,CAAC,EAAE,OAAO,CAAC,mBAAmB,CAAC,CAAC;IACrC;;yDAEqD;IACrD,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B;AAID;;;;;;;;;;;;GAYG;AACH,wBAAgB,2BAA2B,CACzC,KAAK,EAAE,SAAS,EAChB,MAAM,EAAE,WAAW,EACnB,OAAO,GAAE,oBAAyB,GACjC,IAAI,CAON;AAED;;;GAGG;AACH,wBAAgB,wBAAwB,CACtC,KAAK,EAAE,SAAS,EAChB,IAAI,EAAE,MAAM,EACZ,OAAO,GAAE,oBAAyB,GACjC,IAAI,CAKN"}