@expcat/tigercat-vue 2.1.4 → 2.2.0

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 (46) hide show
  1. package/dist/{chunk-4KFAGTGA.mjs → chunk-3GNK4XIP.mjs} +1 -1
  2. package/dist/{chunk-MWYNO42Z.mjs → chunk-5IVN54XY.mjs} +1 -1
  3. package/dist/{chunk-BFIYTA3E.mjs → chunk-72XR5ZIW.mjs} +6 -2
  4. package/dist/{chunk-XCIQNTJN.mjs → chunk-77L52YWC.mjs} +37 -5
  5. package/dist/chunk-7L5MXXHC.mjs +85 -0
  6. package/dist/{chunk-FZQAYEIU.mjs → chunk-AIONRIMJ.mjs} +1 -1
  7. package/dist/{chunk-ETJ4QD6U.mjs → chunk-AYCK22RG.mjs} +1 -1
  8. package/dist/{chunk-35JLHFUT.mjs → chunk-ETW3MBHS.mjs} +22 -1
  9. package/dist/{chunk-ZHAIO7DA.mjs → chunk-GAIFRCYZ.mjs} +6 -3
  10. package/dist/chunk-GFSZU7EJ.mjs +98 -0
  11. package/dist/{chunk-TQEN6GDE.mjs → chunk-IKM3NBMK.mjs} +5 -6
  12. package/dist/chunk-JUSJUVFQ.mjs +76 -0
  13. package/dist/chunk-OEHI4BZZ.mjs +168 -0
  14. package/dist/{chunk-ZW2VXGO3.mjs → chunk-RBST5GCI.mjs} +6 -3
  15. package/dist/{chunk-HSKBYNCP.mjs → chunk-ZMSGID63.mjs} +7 -5
  16. package/dist/components/ActivityFeed.mjs +2 -2
  17. package/dist/components/Anchor.mjs +1 -1
  18. package/dist/components/BackTop.mjs +1 -1
  19. package/dist/components/Calendar.d.mts +12 -3
  20. package/dist/components/Calendar.mjs +1 -1
  21. package/dist/components/Code.d.mts +19 -1
  22. package/dist/components/Code.mjs +1 -1
  23. package/dist/components/CodeEditor.d.mts +2 -2
  24. package/dist/components/CommentThread.mjs +2 -2
  25. package/dist/components/DataTableWithToolbar.mjs +1 -1
  26. package/dist/components/DatePicker.mjs +2 -2
  27. package/dist/components/Drag.d.mts +62 -0
  28. package/dist/components/Drag.mjs +9 -0
  29. package/dist/components/Footer.d.mts +10 -0
  30. package/dist/components/Footer.mjs +1 -1
  31. package/dist/components/FullscreenButton.d.mts +58 -0
  32. package/dist/components/FullscreenButton.mjs +10 -0
  33. package/dist/components/Icon.d.mts +3 -3
  34. package/dist/components/Loading.d.mts +1 -1
  35. package/dist/components/Menu.d.mts +4 -4
  36. package/dist/components/Menu.mjs +1 -1
  37. package/dist/components/NotificationCenter.mjs +2 -2
  38. package/dist/components/ScrollSpy.mjs +1 -1
  39. package/dist/components/Text.d.mts +23 -73
  40. package/dist/components/Text.mjs +2 -1
  41. package/dist/composables/useFullscreen.d.mts +14 -0
  42. package/dist/composables/useFullscreen.mjs +6 -0
  43. package/dist/index.d.mts +5 -2
  44. package/dist/index.mjs +37 -0
  45. package/package.json +17 -2
  46. package/dist/chunk-I77GUQV4.mjs +0 -93
@@ -0,0 +1,168 @@
1
+ import {
2
+ useTigerConfig
3
+ } from "./chunk-4GOTWNOO.mjs";
4
+
5
+ // src/components/Text.ts
6
+ import { defineComponent, computed, h, onBeforeUnmount, ref } from "vue";
7
+ import {
8
+ copyTextToClipboard,
9
+ createCopyStatusReset,
10
+ getCodeLabels,
11
+ getIconDefinition,
12
+ getTextClasses,
13
+ isTextCopyable,
14
+ mergeTigerLocale,
15
+ resolveLocaleText,
16
+ resolveTextCopyableOptions,
17
+ resolveTextCopyContent,
18
+ resolveTextTag,
19
+ textCopyableBodyClasses,
20
+ textCopyableButtonClasses,
21
+ textCopyableLiveClasses,
22
+ textCopyableRootClasses
23
+ } from "@expcat/tigercat-core";
24
+ var copyIcon = getIconDefinition("copy");
25
+ var Text = defineComponent({
26
+ name: "TigerText",
27
+ inheritAttrs: false,
28
+ props: {
29
+ tag: {
30
+ type: String,
31
+ default: "p"
32
+ },
33
+ size: {
34
+ type: String,
35
+ default: "base"
36
+ },
37
+ weight: {
38
+ type: String,
39
+ default: "normal"
40
+ },
41
+ align: {
42
+ type: String
43
+ },
44
+ color: {
45
+ type: String,
46
+ default: "default"
47
+ },
48
+ truncate: {
49
+ type: Boolean,
50
+ default: false
51
+ },
52
+ italic: {
53
+ type: Boolean,
54
+ default: false
55
+ },
56
+ underline: {
57
+ type: Boolean,
58
+ default: false
59
+ },
60
+ lineThrough: {
61
+ type: Boolean,
62
+ default: false
63
+ },
64
+ copyable: {
65
+ type: [Boolean, Object],
66
+ default: false
67
+ },
68
+ locale: {
69
+ type: Object,
70
+ default: void 0
71
+ }
72
+ },
73
+ emits: ["copy"],
74
+ setup(props, { slots, attrs, emit }) {
75
+ const config = useTigerConfig();
76
+ const textClasses = computed(() => getTextClasses(props));
77
+ const resolvedTag = computed(() => resolveTextTag(props.tag));
78
+ const copyable = computed(() => isTextCopyable(props.copyable));
79
+ const copyOptions = computed(() => resolveTextCopyableOptions(props.copyable));
80
+ const bodyRef = ref(null);
81
+ const copyStatus = ref("idle");
82
+ const reset = createCopyStatusReset((status) => {
83
+ copyStatus.value = status;
84
+ });
85
+ const mergedLocale = computed(() => mergeTigerLocale(config.value.locale, props.locale));
86
+ const labels = computed(() => getCodeLabels(mergedLocale.value));
87
+ const idleLabel = computed(
88
+ () => resolveLocaleText(labels.value.copyLabel, copyOptions.value?.tooltip)
89
+ );
90
+ const buttonLabel = computed(() => {
91
+ if (copyStatus.value === "failed") return labels.value.copyFailedLabel;
92
+ if (copyStatus.value === "copied") return labels.value.copiedLabel;
93
+ return idleLabel.value;
94
+ });
95
+ const liveText = computed(() => copyStatus.value === "idle" ? "" : buttonLabel.value);
96
+ const handleCopy = async () => {
97
+ const options = copyOptions.value;
98
+ if (!options) return;
99
+ const fallback = bodyRef.value?.textContent ?? "";
100
+ const text = resolveTextCopyContent(options, fallback);
101
+ const ok = await copyTextToClipboard(text);
102
+ if (ok) {
103
+ reset.schedule("copied");
104
+ options.onCopy?.(text);
105
+ emit("copy", text);
106
+ } else {
107
+ reset.schedule("failed");
108
+ }
109
+ };
110
+ onBeforeUnmount(() => {
111
+ reset.dispose();
112
+ });
113
+ return () => {
114
+ const content = slots.default?.();
115
+ if (!copyable.value) {
116
+ return h(resolvedTag.value, { ...attrs, class: [textClasses.value, attrs.class] }, content);
117
+ }
118
+ const bodyClass = [
119
+ textCopyableBodyClasses,
120
+ props.truncate ? "truncate" : void 0,
121
+ textClasses.value
122
+ ];
123
+ const copySvg = copyIcon ? h(
124
+ "svg",
125
+ {
126
+ xmlns: "http://www.w3.org/2000/svg",
127
+ viewBox: copyIcon.viewBox,
128
+ fill: "none",
129
+ stroke: "currentColor",
130
+ "stroke-width": "1.5",
131
+ "stroke-linecap": "round",
132
+ "stroke-linejoin": "round",
133
+ class: "h-3.5 w-3.5",
134
+ "aria-hidden": "true"
135
+ },
136
+ copyIcon.paths.map((d) => h("path", { d }))
137
+ ) : void 0;
138
+ return h(resolvedTag.value, { ...attrs, class: [textCopyableRootClasses, attrs.class] }, [
139
+ h(
140
+ "span",
141
+ {
142
+ ref: bodyRef,
143
+ class: bodyClass
144
+ },
145
+ content
146
+ ),
147
+ h(
148
+ "button",
149
+ {
150
+ type: "button",
151
+ class: textCopyableButtonClasses,
152
+ "aria-label": buttonLabel.value,
153
+ title: buttonLabel.value,
154
+ onClick: handleCopy
155
+ },
156
+ copySvg
157
+ ),
158
+ h("span", { class: textCopyableLiveClasses, "aria-live": "polite" }, liveText.value)
159
+ ]);
160
+ };
161
+ }
162
+ });
163
+ var Text_default = Text;
164
+
165
+ export {
166
+ Text,
167
+ Text_default
168
+ };
@@ -83,8 +83,10 @@ var BackTop = defineComponent({
83
83
  const config = useTigerConfig();
84
84
  const mergedLocale = computed(() => mergeTigerLocale(config.value.locale, props.locale));
85
85
  const labelSet = computed(() => getBackTopLabels(mergedLocale.value, props.labels));
86
+ const hostRef = ref(null);
87
+ const resolveRoot = () => resolveScrollRoot(props.target, { from: hostRef.value });
86
88
  const resolvedKey = computed(() => {
87
- const root = resolveScrollRoot(props.target);
89
+ const root = resolveRoot();
88
90
  return root.isWindow ? "window" : root.target;
89
91
  });
90
92
  let visibilityController;
@@ -99,7 +101,7 @@ var BackTop = defineComponent({
99
101
  };
100
102
  const bind = () => {
101
103
  unbind();
102
- const root = resolveScrollRoot(props.target);
104
+ const root = resolveRoot();
103
105
  const eventTarget = getScrollRootEventTarget(root);
104
106
  const scrollNode = root.target;
105
107
  if (!eventTarget || !scrollNode) return;
@@ -115,7 +117,7 @@ var BackTop = defineComponent({
115
117
  visibilityController.update();
116
118
  };
117
119
  const handleClick = (event) => {
118
- const root = resolveScrollRoot(props.target);
120
+ const root = resolveRoot();
119
121
  if (!root.target) {
120
122
  emit("click", event);
121
123
  return;
@@ -165,6 +167,7 @@ var BackTop = defineComponent({
165
167
  "button",
166
168
  {
167
169
  ...attrs,
170
+ ref: hostRef,
168
171
  type: "button",
169
172
  class: buttonClasses.value,
170
173
  style: mergedStyle.value,
@@ -110,10 +110,10 @@ var ScrollSpy = defineComponent({
110
110
  () => currentActiveKey.value === void 0 ? "" : getScrollSpyKeyString(currentActiveKey.value)
111
111
  );
112
112
  const flatItems = computed(() => flattenScrollSpyItems(props.items));
113
+ const hostRef = ref(null);
113
114
  let stopObserver = null;
114
- const scrollLock = createProgrammaticScrollLock(
115
- () => resolveScrollSpyContainer(props.getContainer)
116
- );
115
+ const resolveContainer = () => resolveScrollSpyContainer(props.getContainer, hostRef.value);
116
+ const scrollLock = createProgrammaticScrollLock(() => resolveContainer());
117
117
  const emitActive = (item, source) => {
118
118
  const nextKeyString = getScrollSpyKeyString(item.key);
119
119
  if (nextKeyString === activeKeyString.value) return;
@@ -126,6 +126,7 @@ var ScrollSpy = defineComponent({
126
126
  stopObserver?.();
127
127
  stopObserver = createScrollSpyObserver(props.items, {
128
128
  container: props.getContainer,
129
+ from: hostRef.value,
129
130
  offsetTop: offset.value,
130
131
  bounds: props.bounds,
131
132
  onChange: (item) => {
@@ -144,7 +145,7 @@ var ScrollSpy = defineComponent({
144
145
  emit("click", item, event);
145
146
  emitActive(item, "click");
146
147
  scrollLock.lock();
147
- activateScrollSpyClick(item, resolveScrollSpyContainer(props.getContainer), offset.value);
148
+ activateScrollSpyClick(item, resolveContainer(), offset.value);
148
149
  };
149
150
  onMounted(() => {
150
151
  nextTick(() => setupObserver());
@@ -155,7 +156,7 @@ var ScrollSpy = defineComponent({
155
156
  offset,
156
157
  () => props.bounds,
157
158
  () => {
158
- const container = resolveScrollSpyContainer(props.getContainer);
159
+ const container = resolveContainer();
159
160
  return container === window ? "window" : container;
160
161
  }
161
162
  ],
@@ -212,6 +213,7 @@ var ScrollSpy = defineComponent({
212
213
  "nav",
213
214
  {
214
215
  ...attrs,
216
+ ref: hostRef,
215
217
  class: classNames(
216
218
  getScrollSpyRootClasses(props.sticky, props.className),
217
219
  coerceClassValue(attrsRecord.class)
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  ActivityFeed,
3
3
  ActivityFeed_default
4
- } from "../chunk-MWYNO42Z.mjs";
4
+ } from "../chunk-5IVN54XY.mjs";
5
5
  import "../chunk-K46SNCCE.mjs";
6
6
  import "../chunk-2HP6DX7Q.mjs";
7
7
  import "../chunk-NWPALCKN.mjs";
8
8
  import "../chunk-7PLYHGMY.mjs";
9
- import "../chunk-I77GUQV4.mjs";
9
+ import "../chunk-OEHI4BZZ.mjs";
10
10
  import "../chunk-W4A6L2TC.mjs";
11
11
  import "../chunk-OGXSLKXD.mjs";
12
12
  import "../chunk-PVJDEAOW.mjs";
@@ -3,7 +3,7 @@ import {
3
3
  AnchorContextKey,
4
4
  AnchorLink,
5
5
  Anchor_default
6
- } from "../chunk-TQEN6GDE.mjs";
6
+ } from "../chunk-IKM3NBMK.mjs";
7
7
  import "../chunk-S3A7X7PP.mjs";
8
8
  import "../chunk-4GOTWNOO.mjs";
9
9
  export {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  BackTop,
3
3
  BackTop_default
4
- } from "../chunk-ZW2VXGO3.mjs";
4
+ } from "../chunk-RBST5GCI.mjs";
5
5
  import "../chunk-4GOTWNOO.mjs";
6
6
  export {
7
7
  BackTop,
@@ -1,8 +1,8 @@
1
1
  import * as vue from 'vue';
2
2
  import { PropType } from 'vue';
3
- import { CalendarMode, WeekStartsOn, TigerLocale, CalendarProps as CalendarProps$1 } from '@expcat/tigercat-core';
3
+ import { CalendarMode, WeekStartsOn, TigerLocale, CalendarEvent, CalendarProps as CalendarProps$1 } from '@expcat/tigercat-core';
4
4
 
5
- interface VueCalendarProps extends Omit<CalendarProps$1, 'value' | 'onChange' | 'onPanelChange'> {
5
+ interface VueCalendarProps extends Omit<CalendarProps$1, 'value' | 'onChange' | 'onPanelChange' | 'dateCellRender'> {
6
6
  modelValue?: Date | string | null;
7
7
  }
8
8
  type CalendarProps = VueCalendarProps;
@@ -51,6 +51,10 @@ declare const Calendar: vue.DefineComponent<vue.ExtractPropTypes<{
51
51
  type: StringConstructor;
52
52
  default: undefined;
53
53
  };
54
+ events: {
55
+ type: PropType<CalendarEvent[]>;
56
+ default: undefined;
57
+ };
54
58
  }>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
55
59
  [key: string]: any;
56
60
  }>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, ("change" | "update:modelValue" | "update:mode" | "panel-change")[], "change" | "update:modelValue" | "update:mode" | "panel-change", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
@@ -98,6 +102,10 @@ declare const Calendar: vue.DefineComponent<vue.ExtractPropTypes<{
98
102
  type: StringConstructor;
99
103
  default: undefined;
100
104
  };
105
+ events: {
106
+ type: PropType<CalendarEvent[]>;
107
+ default: undefined;
108
+ };
101
109
  }>> & Readonly<{
102
110
  onChange?: ((...args: any[]) => any) | undefined;
103
111
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
@@ -105,16 +113,17 @@ declare const Calendar: vue.DefineComponent<vue.ExtractPropTypes<{
105
113
  "onPanel-change"?: ((...args: any[]) => any) | undefined;
106
114
  }>, {
107
115
  locale: Partial<TigerLocale>;
116
+ fullscreen: boolean;
108
117
  mode: CalendarMode;
109
118
  now: Date;
110
119
  className: string;
111
120
  modelValue: string | Date | null;
112
121
  defaultValue: string | Date | null;
113
122
  defaultMode: CalendarMode;
114
- fullscreen: boolean;
115
123
  disabledDate: (date: Date) => boolean;
116
124
  weekStartsOn: WeekStartsOn;
117
125
  rangeValue: [Date | null, Date | null];
126
+ events: CalendarEvent[];
118
127
  }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
119
128
 
120
129
  export { Calendar, type CalendarProps, type VueCalendarProps, Calendar as default };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Calendar,
3
3
  Calendar_default
4
- } from "../chunk-XCIQNTJN.mjs";
4
+ } from "../chunk-77L52YWC.mjs";
5
5
  import "../chunk-4GOTWNOO.mjs";
6
6
  export {
7
7
  Calendar,
@@ -1,6 +1,6 @@
1
1
  import * as vue from 'vue';
2
2
  import { PropType } from 'vue';
3
- import { TigerLocale, TigerLocaleCode, CodeProps } from '@expcat/tigercat-core';
3
+ import { CodeHighlighter, TigerLocale, TigerLocaleCode, CodeProps } from '@expcat/tigercat-core';
4
4
 
5
5
  interface VueCodeProps extends CodeProps {
6
6
  className?: string;
@@ -15,6 +15,14 @@ declare const Code: vue.DefineComponent<vue.ExtractPropTypes<{
15
15
  type: BooleanConstructor;
16
16
  default: boolean;
17
17
  };
18
+ language: {
19
+ type: StringConstructor;
20
+ default: undefined;
21
+ };
22
+ highlighter: {
23
+ type: PropType<CodeHighlighter>;
24
+ default: undefined;
25
+ };
18
26
  copyLabel: {
19
27
  type: StringConstructor;
20
28
  default: undefined;
@@ -54,6 +62,14 @@ declare const Code: vue.DefineComponent<vue.ExtractPropTypes<{
54
62
  type: BooleanConstructor;
55
63
  default: boolean;
56
64
  };
65
+ language: {
66
+ type: StringConstructor;
67
+ default: undefined;
68
+ };
69
+ highlighter: {
70
+ type: PropType<CodeHighlighter>;
71
+ default: undefined;
72
+ };
57
73
  copyLabel: {
58
74
  type: StringConstructor;
59
75
  default: undefined;
@@ -93,6 +109,8 @@ declare const Code: vue.DefineComponent<vue.ExtractPropTypes<{
93
109
  copyFailedLabel: string;
94
110
  className: string;
95
111
  copyable: boolean;
112
+ language: string;
113
+ highlighter: CodeHighlighter;
96
114
  }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
97
115
 
98
116
  export { Code, type VueCodeProps, Code as default };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Code,
3
3
  Code_default
4
- } from "../chunk-35JLHFUT.mjs";
4
+ } from "../chunk-ETW3MBHS.mjs";
5
5
  import "../chunk-4GOTWNOO.mjs";
6
6
  export {
7
7
  Code,
@@ -217,15 +217,15 @@ declare const CodeEditor: vue.DefineComponent<vue.ExtractPropTypes<{
217
217
  id: string;
218
218
  modelValue: string;
219
219
  defaultValue: string;
220
+ language: CodeLanguage;
221
+ highlighter: CodeHighlighter;
220
222
  maxLines: number;
221
223
  tabSize: number;
222
224
  wordWrap: boolean;
223
225
  readOnly: boolean;
224
- language: CodeLanguage;
225
226
  lineNumbers: boolean;
226
227
  highlightActiveLine: boolean;
227
228
  minLines: number;
228
- highlighter: CodeHighlighter;
229
229
  }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
230
230
 
231
231
  export { CodeEditor, type VueCodeEditorProps, CodeEditor as default };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  CommentThread,
3
3
  CommentThread_default
4
- } from "../chunk-ETJ4QD6U.mjs";
4
+ } from "../chunk-AYCK22RG.mjs";
5
5
  import "../chunk-ZQCKZXQI.mjs";
6
6
  import "../chunk-7PLYHGMY.mjs";
7
- import "../chunk-I77GUQV4.mjs";
7
+ import "../chunk-OEHI4BZZ.mjs";
8
8
  import "../chunk-OGXSLKXD.mjs";
9
9
  import "../chunk-PVJDEAOW.mjs";
10
10
  import "../chunk-FEVDV3I6.mjs";
@@ -4,9 +4,9 @@ import {
4
4
  } from "../chunk-I4BT2CJO.mjs";
5
5
  import "../chunk-5XIHKQL7.mjs";
6
6
  import "../chunk-FM2P4ENM.mjs";
7
+ import "../chunk-KIGQEL2O.mjs";
7
8
  import "../chunk-AFNJO6KJ.mjs";
8
9
  import "../chunk-63I4VHHU.mjs";
9
- import "../chunk-KIGQEL2O.mjs";
10
10
  import "../chunk-IOSUZR6Z.mjs";
11
11
  import "../chunk-OZZKYZD6.mjs";
12
12
  import "../chunk-CMYPAPF2.mjs";
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  DatePicker,
3
3
  DatePicker_default
4
- } from "../chunk-4KFAGTGA.mjs";
5
- import "../chunk-XCIQNTJN.mjs";
4
+ } from "../chunk-3GNK4XIP.mjs";
5
+ import "../chunk-77L52YWC.mjs";
6
6
  import "../chunk-J4HGCSOE.mjs";
7
7
  import "../chunk-P2LZ2MR5.mjs";
8
8
  import "../chunk-VFRB5L7W.mjs";
@@ -0,0 +1,62 @@
1
+ import * as vue from 'vue';
2
+ import { PropType } from 'vue';
3
+ import { DragItem, DragConfig } from '@expcat/tigercat-core';
4
+
5
+ interface VueDragProps {
6
+ items?: DragItem[];
7
+ config?: DragConfig;
8
+ containerId?: string;
9
+ className?: string;
10
+ }
11
+ type DragProps = VueDragProps;
12
+ declare const Drag: vue.DefineComponent<vue.ExtractPropTypes<{
13
+ items: {
14
+ type: PropType<DragItem[]>;
15
+ default: () => never[];
16
+ };
17
+ config: {
18
+ type: PropType<DragConfig>;
19
+ default: undefined;
20
+ };
21
+ containerId: {
22
+ type: StringConstructor;
23
+ default: undefined;
24
+ };
25
+ className: {
26
+ type: StringConstructor;
27
+ default: undefined;
28
+ };
29
+ }>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
30
+ [key: string]: any;
31
+ }>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, ("drop" | "update:items" | "items-change" | "drag-start" | "drag-over" | "drag-end")[], "drop" | "update:items" | "items-change" | "drag-start" | "drag-over" | "drag-end", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
32
+ items: {
33
+ type: PropType<DragItem[]>;
34
+ default: () => never[];
35
+ };
36
+ config: {
37
+ type: PropType<DragConfig>;
38
+ default: undefined;
39
+ };
40
+ containerId: {
41
+ type: StringConstructor;
42
+ default: undefined;
43
+ };
44
+ className: {
45
+ type: StringConstructor;
46
+ default: undefined;
47
+ };
48
+ }>> & Readonly<{
49
+ onDrop?: ((...args: any[]) => any) | undefined;
50
+ "onUpdate:items"?: ((...args: any[]) => any) | undefined;
51
+ "onItems-change"?: ((...args: any[]) => any) | undefined;
52
+ "onDrag-start"?: ((...args: any[]) => any) | undefined;
53
+ "onDrag-over"?: ((...args: any[]) => any) | undefined;
54
+ "onDrag-end"?: ((...args: any[]) => any) | undefined;
55
+ }>, {
56
+ className: string;
57
+ items: DragItem[];
58
+ config: DragConfig;
59
+ containerId: string;
60
+ }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
61
+
62
+ export { Drag, type DragProps, type VueDragProps, Drag as default };
@@ -0,0 +1,9 @@
1
+ import {
2
+ Drag,
3
+ Drag_default
4
+ } from "../chunk-7L5MXXHC.mjs";
5
+ import "../chunk-DXL3YHRP.mjs";
6
+ export {
7
+ Drag,
8
+ Drag_default as default
9
+ };
@@ -5,6 +5,7 @@ interface VueFooterProps {
5
5
  className?: string;
6
6
  as?: string;
7
7
  height?: string;
8
+ size?: 'default' | 'compact';
8
9
  style?: Record<string, string | number>;
9
10
  }
10
11
  declare const Footer: vue.DefineComponent<vue.ExtractPropTypes<{
@@ -20,6 +21,10 @@ declare const Footer: vue.DefineComponent<vue.ExtractPropTypes<{
20
21
  type: PropType<string>;
21
22
  default: undefined;
22
23
  };
24
+ size: {
25
+ type: PropType<"default" | "compact">;
26
+ default: string;
27
+ };
23
28
  style: {
24
29
  type: PropType<Record<string, string | number>>;
25
30
  default: undefined;
@@ -39,12 +44,17 @@ declare const Footer: vue.DefineComponent<vue.ExtractPropTypes<{
39
44
  type: PropType<string>;
40
45
  default: undefined;
41
46
  };
47
+ size: {
48
+ type: PropType<"default" | "compact">;
49
+ default: string;
50
+ };
42
51
  style: {
43
52
  type: PropType<Record<string, string | number>>;
44
53
  default: undefined;
45
54
  };
46
55
  }>> & Readonly<{}>, {
47
56
  style: Record<string, string | number>;
57
+ size: "default" | "compact";
48
58
  className: string;
49
59
  height: string;
50
60
  as: string;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Footer,
3
3
  Footer_default
4
- } from "../chunk-BFIYTA3E.mjs";
4
+ } from "../chunk-72XR5ZIW.mjs";
5
5
  export {
6
6
  Footer,
7
7
  Footer_default as default
@@ -0,0 +1,58 @@
1
+ import * as vue from 'vue';
2
+ import { PropType } from 'vue';
3
+ import { TigerLocale, TigerLocaleFullscreen } from '@expcat/tigercat-core';
4
+
5
+ interface VueFullscreenButtonProps {
6
+ target?: Element | (() => Element | null | undefined) | null;
7
+ locale?: Partial<TigerLocale>;
8
+ labels?: Partial<TigerLocaleFullscreen>;
9
+ className?: string;
10
+ }
11
+ type FullscreenButtonProps = VueFullscreenButtonProps;
12
+ declare const FullscreenButton: vue.DefineComponent<vue.ExtractPropTypes<{
13
+ target: {
14
+ type: PropType<Element | (() => Element | null | undefined) | null>;
15
+ default: undefined;
16
+ };
17
+ locale: {
18
+ type: PropType<Partial<TigerLocale>>;
19
+ default: undefined;
20
+ };
21
+ labels: {
22
+ type: PropType<Partial<TigerLocaleFullscreen>>;
23
+ default: undefined;
24
+ };
25
+ className: {
26
+ type: StringConstructor;
27
+ default: undefined;
28
+ };
29
+ }>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
30
+ [key: string]: any;
31
+ }>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, ("change" | "error")[], "change" | "error", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
32
+ target: {
33
+ type: PropType<Element | (() => Element | null | undefined) | null>;
34
+ default: undefined;
35
+ };
36
+ locale: {
37
+ type: PropType<Partial<TigerLocale>>;
38
+ default: undefined;
39
+ };
40
+ labels: {
41
+ type: PropType<Partial<TigerLocaleFullscreen>>;
42
+ default: undefined;
43
+ };
44
+ className: {
45
+ type: StringConstructor;
46
+ default: undefined;
47
+ };
48
+ }>> & Readonly<{
49
+ onChange?: ((...args: any[]) => any) | undefined;
50
+ onError?: ((...args: any[]) => any) | undefined;
51
+ }>, {
52
+ locale: Partial<TigerLocale>;
53
+ labels: Partial<TigerLocaleFullscreen>;
54
+ className: string;
55
+ target: Element | (() => Element | null | undefined) | null;
56
+ }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
57
+
58
+ export { FullscreenButton, type FullscreenButtonProps, type VueFullscreenButtonProps, FullscreenButton as default };
@@ -0,0 +1,10 @@
1
+ import {
2
+ FullscreenButton,
3
+ FullscreenButton_default
4
+ } from "../chunk-GFSZU7EJ.mjs";
5
+ import "../chunk-JUSJUVFQ.mjs";
6
+ import "../chunk-4GOTWNOO.mjs";
7
+ export {
8
+ FullscreenButton,
9
+ FullscreenButton_default as default
10
+ };