@sheetwrite/vue 0.1.0 → 0.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.
- package/dist/index.d.ts +64 -274
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +8 -1
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
package/dist/index.d.ts
CHANGED
|
@@ -1,304 +1,94 @@
|
|
|
1
1
|
import { type CellRenderer, type CellScalar, type ChangeEvent, type ColumnarData, type DataSource, type DataSourceStorageOptions, type Grid, type GridEvents, type GridOptions, type Selection, type Theme, type Workbook } from "@sheetwrite/core";
|
|
2
|
-
import { type GridReadyEvent, type SheetwriteInitializationProps } from "@sheetwrite/core/adapter";
|
|
3
|
-
import { type
|
|
2
|
+
import { type GridReadyEvent, type SheetwriteInitializationProps, type SimpleColumn } from "@sheetwrite/core/adapter";
|
|
3
|
+
import { type AllowedComponentProps, type ComponentPublicInstance, type VNodeProps } from "vue";
|
|
4
4
|
/** Imperative Grid handle exposed by the Vue advanced component. */
|
|
5
5
|
export interface SheetwriteGridExpose {
|
|
6
6
|
/** Live Grid after readiness, or `null` before initialization and during teardown. */
|
|
7
7
|
grid: Grid | null;
|
|
8
8
|
}
|
|
9
|
-
|
|
9
|
+
/** Advanced Vue adapter props for workbook data or datasource ownership. */
|
|
10
|
+
export interface SheetwriteGridProps {
|
|
10
11
|
/** Live workbook schema adopted by the Grid. */
|
|
11
|
-
workbook:
|
|
12
|
-
type: PropType<Workbook>;
|
|
13
|
-
required: true;
|
|
14
|
-
};
|
|
12
|
+
workbook: Workbook;
|
|
15
13
|
/** Eager column-major values for the active sheet. */
|
|
16
|
-
data
|
|
17
|
-
type: PropType<ColumnarData>;
|
|
18
|
-
default: undefined;
|
|
19
|
-
};
|
|
14
|
+
data?: ColumnarData;
|
|
20
15
|
/** Lazy row provider requested for visible windows. */
|
|
21
|
-
datasource
|
|
22
|
-
type: PropType<DataSource>;
|
|
23
|
-
default: undefined;
|
|
24
|
-
};
|
|
25
|
-
/** Allocation and cache policy for datasource storage. */
|
|
26
|
-
datasourceStorage: {
|
|
27
|
-
type: PropType<DataSourceStorageOptions>;
|
|
28
|
-
default: undefined;
|
|
29
|
-
};
|
|
30
|
-
/** Paint backend; defaults to main-thread canvas. */
|
|
31
|
-
renderer: {
|
|
32
|
-
type: PropType<GridOptions["renderer"]>;
|
|
33
|
-
default: undefined;
|
|
34
|
-
};
|
|
35
|
-
/** Browser-fetchable worker module URL. */
|
|
36
|
-
workerUrl: {
|
|
37
|
-
type: PropType<GridOptions["workerUrl"]>;
|
|
38
|
-
default: undefined;
|
|
39
|
-
};
|
|
40
|
-
/** Live overrides merged into the resolved Grid theme. */
|
|
41
|
-
theme: {
|
|
42
|
-
type: PropType<Partial<Theme>>;
|
|
43
|
-
default: undefined;
|
|
44
|
-
};
|
|
45
|
-
/** Disables mutation while preserving navigation and selection. */
|
|
46
|
-
readOnly: {
|
|
47
|
-
type: BooleanConstructor;
|
|
48
|
-
default: undefined;
|
|
49
|
-
};
|
|
50
|
-
/** Host-owned client permission check for protected ranges. */
|
|
51
|
-
protectionResolver: {
|
|
52
|
-
type: PropType<GridOptions["protectionResolver"]>;
|
|
53
|
-
default: undefined;
|
|
54
|
-
};
|
|
55
|
-
/** Atomic or partial handling for denied local operations. */
|
|
56
|
-
mutationPolicy: {
|
|
57
|
-
type: PropType<GridOptions["mutationPolicy"]>;
|
|
58
|
-
default: undefined;
|
|
59
|
-
};
|
|
60
|
-
/** Named custom renderers registered when the Grid is created. */
|
|
61
|
-
renderers: {
|
|
62
|
-
type: PropType<Record<string, CellRenderer>>;
|
|
63
|
-
default: undefined;
|
|
64
|
-
};
|
|
65
|
-
/** Extra rows painted above and below the viewport. */
|
|
66
|
-
overscan: {
|
|
67
|
-
type: NumberConstructor;
|
|
68
|
-
default: undefined;
|
|
69
|
-
};
|
|
70
|
-
/** Minimum rendered column count, including empty padding columns. */
|
|
71
|
-
minColumns: {
|
|
72
|
-
type: NumberConstructor;
|
|
73
|
-
default: undefined;
|
|
74
|
-
};
|
|
75
|
-
/** Built-in toolbar, menu, keyboard, find, and tab controls. */
|
|
76
|
-
config: {
|
|
77
|
-
type: PropType<GridOptions["config"]>;
|
|
78
|
-
default: undefined;
|
|
79
|
-
};
|
|
80
|
-
/** Explicit source passed to process-wide WASM initialization. */
|
|
81
|
-
wasmSource: {
|
|
82
|
-
type: PropType<SheetwriteInitializationProps["wasmSource"]>;
|
|
83
|
-
default: undefined;
|
|
84
|
-
};
|
|
85
|
-
/** Host height in CSS pixels for numbers or any CSS length string. */
|
|
86
|
-
height: {
|
|
87
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
88
|
-
default: undefined;
|
|
89
|
-
};
|
|
90
|
-
/** Fills the parent's available width and height. */
|
|
91
|
-
fill: {
|
|
92
|
-
type: BooleanConstructor;
|
|
93
|
-
default: undefined;
|
|
94
|
-
};
|
|
95
|
-
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
96
|
-
[key: string]: any;
|
|
97
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
98
|
-
"grid-change": (_event: ChangeEvent) => boolean;
|
|
99
|
-
"selection-change": (_selection: Selection | null) => boolean;
|
|
100
|
-
"viewport-change": (_event: GridEvents["scroll"]) => boolean;
|
|
101
|
-
"edit-begin": (_event: GridEvents["edit-begin"]) => boolean;
|
|
102
|
-
"edit-commit": (_event: GridEvents["edit-commit"]) => boolean;
|
|
103
|
-
search: (_result: GridEvents["search"]) => boolean;
|
|
104
|
-
"active-sheet-change": (_event: GridEvents["active-sheet"]) => boolean;
|
|
105
|
-
ready: (_event: GridReadyEvent) => boolean;
|
|
106
|
-
"initialization-error": (_error: unknown) => boolean;
|
|
107
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
108
|
-
/** Live workbook schema adopted by the Grid. */
|
|
109
|
-
workbook: {
|
|
110
|
-
type: PropType<Workbook>;
|
|
111
|
-
required: true;
|
|
112
|
-
};
|
|
113
|
-
/** Eager column-major values for the active sheet. */
|
|
114
|
-
data: {
|
|
115
|
-
type: PropType<ColumnarData>;
|
|
116
|
-
default: undefined;
|
|
117
|
-
};
|
|
118
|
-
/** Lazy row provider requested for visible windows. */
|
|
119
|
-
datasource: {
|
|
120
|
-
type: PropType<DataSource>;
|
|
121
|
-
default: undefined;
|
|
122
|
-
};
|
|
16
|
+
datasource?: DataSource;
|
|
123
17
|
/** Allocation and cache policy for datasource storage. */
|
|
124
|
-
datasourceStorage
|
|
125
|
-
type: PropType<DataSourceStorageOptions>;
|
|
126
|
-
default: undefined;
|
|
127
|
-
};
|
|
18
|
+
datasourceStorage?: DataSourceStorageOptions;
|
|
128
19
|
/** Paint backend; defaults to main-thread canvas. */
|
|
129
|
-
renderer
|
|
130
|
-
type: PropType<GridOptions["renderer"]>;
|
|
131
|
-
default: undefined;
|
|
132
|
-
};
|
|
20
|
+
renderer?: GridOptions["renderer"];
|
|
133
21
|
/** Browser-fetchable worker module URL. */
|
|
134
|
-
workerUrl
|
|
135
|
-
type: PropType<GridOptions["workerUrl"]>;
|
|
136
|
-
default: undefined;
|
|
137
|
-
};
|
|
22
|
+
workerUrl?: GridOptions["workerUrl"];
|
|
138
23
|
/** Live overrides merged into the resolved Grid theme. */
|
|
139
|
-
theme
|
|
140
|
-
type: PropType<Partial<Theme>>;
|
|
141
|
-
default: undefined;
|
|
142
|
-
};
|
|
24
|
+
theme?: Partial<Theme>;
|
|
143
25
|
/** Disables mutation while preserving navigation and selection. */
|
|
144
|
-
readOnly
|
|
145
|
-
type: BooleanConstructor;
|
|
146
|
-
default: undefined;
|
|
147
|
-
};
|
|
26
|
+
readOnly?: boolean;
|
|
148
27
|
/** Host-owned client permission check for protected ranges. */
|
|
149
|
-
protectionResolver
|
|
150
|
-
type: PropType<GridOptions["protectionResolver"]>;
|
|
151
|
-
default: undefined;
|
|
152
|
-
};
|
|
28
|
+
protectionResolver?: GridOptions["protectionResolver"];
|
|
153
29
|
/** Atomic or partial handling for denied local operations. */
|
|
154
|
-
mutationPolicy
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
};
|
|
30
|
+
mutationPolicy?: GridOptions["mutationPolicy"];
|
|
31
|
+
/** Overrides inclusive operation-count and encoded-byte ceilings for every atomic mutation. */
|
|
32
|
+
transactionResourceLimits?: GridOptions["transactionResourceLimits"];
|
|
158
33
|
/** Named custom renderers registered when the Grid is created. */
|
|
159
|
-
renderers
|
|
160
|
-
type: PropType<Record<string, CellRenderer>>;
|
|
161
|
-
default: undefined;
|
|
162
|
-
};
|
|
34
|
+
renderers?: Record<string, CellRenderer>;
|
|
163
35
|
/** Extra rows painted above and below the viewport. */
|
|
164
|
-
overscan
|
|
165
|
-
type: NumberConstructor;
|
|
166
|
-
default: undefined;
|
|
167
|
-
};
|
|
36
|
+
overscan?: number;
|
|
168
37
|
/** Minimum rendered column count, including empty padding columns. */
|
|
169
|
-
minColumns
|
|
170
|
-
type: NumberConstructor;
|
|
171
|
-
default: undefined;
|
|
172
|
-
};
|
|
38
|
+
minColumns?: number;
|
|
173
39
|
/** Built-in toolbar, menu, keyboard, find, and tab controls. */
|
|
174
|
-
config
|
|
175
|
-
type: PropType<GridOptions["config"]>;
|
|
176
|
-
default: undefined;
|
|
177
|
-
};
|
|
40
|
+
config?: GridOptions["config"];
|
|
178
41
|
/** Explicit source passed to process-wide WASM initialization. */
|
|
179
|
-
wasmSource
|
|
180
|
-
type: PropType<SheetwriteInitializationProps["wasmSource"]>;
|
|
181
|
-
default: undefined;
|
|
182
|
-
};
|
|
42
|
+
wasmSource?: SheetwriteInitializationProps["wasmSource"];
|
|
183
43
|
/** Host height in CSS pixels for numbers or any CSS length string. */
|
|
184
|
-
height
|
|
185
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
186
|
-
default: undefined;
|
|
187
|
-
};
|
|
44
|
+
height?: number | string;
|
|
188
45
|
/** Fills the parent's available width and height. */
|
|
189
|
-
fill
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
}>> & Readonly<{
|
|
194
|
-
"onActive-sheet-change"?: ((_event: {
|
|
195
|
-
sheet: import("@sheetwrite/core").SheetId;
|
|
196
|
-
}) => any) | undefined;
|
|
197
|
-
"onEdit-begin"?: ((_event: {
|
|
198
|
-
addr: import("@sheetwrite/core").CellAddress;
|
|
199
|
-
}) => any) | undefined;
|
|
200
|
-
"onEdit-commit"?: ((_event: {
|
|
201
|
-
addr: import("@sheetwrite/core").CellAddress;
|
|
202
|
-
value: import("@sheetwrite/core").CellValue;
|
|
203
|
-
}) => any) | undefined;
|
|
204
|
-
"onGrid-change"?: ((_event: ChangeEvent) => any) | undefined;
|
|
205
|
-
"onInitialization-error"?: ((_error: unknown) => any) | undefined;
|
|
206
|
-
onReady?: ((_event: GridReadyEvent) => any) | undefined;
|
|
207
|
-
onSearch?: ((_result: import("@sheetwrite/core").SearchResult) => any) | undefined;
|
|
208
|
-
"onSelection-change"?: ((_selection: Selection | null) => any) | undefined;
|
|
209
|
-
"onViewport-change"?: ((_event: {
|
|
210
|
-
scrollTop: number;
|
|
211
|
-
firstRow: number;
|
|
212
|
-
lastRow: number;
|
|
213
|
-
}) => any) | undefined;
|
|
214
|
-
}>, {
|
|
215
|
-
data: ColumnarData;
|
|
216
|
-
datasource: DataSource;
|
|
217
|
-
datasourceStorage: DataSourceStorageOptions;
|
|
218
|
-
renderer: "canvas" | "worker" | undefined;
|
|
219
|
-
workerUrl: string | URL | undefined;
|
|
220
|
-
theme: Partial<Theme>;
|
|
221
|
-
readOnly: boolean;
|
|
222
|
-
protectionResolver: import("@sheetwrite/core").ProtectionResolver | undefined;
|
|
223
|
-
mutationPolicy: import("@sheetwrite/core").MutationPolicyMode | undefined;
|
|
224
|
-
renderers: Record<string, CellRenderer>;
|
|
225
|
-
overscan: number;
|
|
226
|
-
minColumns: number;
|
|
227
|
-
config: import("@sheetwrite/core").GridConfig | undefined;
|
|
228
|
-
wasmSource: string | WebAssembly.Module | Request | URL | BufferSource | undefined;
|
|
229
|
-
height: string | number;
|
|
230
|
-
fill: boolean;
|
|
231
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
232
|
-
/** Advanced framework component for workbook data or datasource input. */
|
|
233
|
-
export declare const SheetwriteGrid: typeof SheetwriteGridComponent & {
|
|
234
|
-
new (): InstanceType<typeof SheetwriteGridComponent> & SheetwriteGridExpose;
|
|
235
|
-
};
|
|
236
|
-
/** Convenience component for local object rows with live option updates. */
|
|
237
|
-
export declare const Sheetwrite: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
238
|
-
/** Ordered schema used to derive the component-owned sheet. */
|
|
239
|
-
columns: {
|
|
240
|
-
type: PropType<readonly {
|
|
241
|
-
key: string;
|
|
242
|
-
title: string;
|
|
243
|
-
}[]>;
|
|
244
|
-
required: true;
|
|
245
|
-
};
|
|
246
|
-
/** Rows converted to initial columnar data; missing keys become `null`. */
|
|
247
|
-
defaultRows: {
|
|
248
|
-
type: PropType<readonly Record<string, CellScalar>[]>;
|
|
249
|
-
required: true;
|
|
250
|
-
};
|
|
251
|
-
/** Generated sheet name; defaults to `Sheet 1`. */
|
|
252
|
-
sheetName: {
|
|
253
|
-
type: StringConstructor;
|
|
254
|
-
default: undefined;
|
|
255
|
-
};
|
|
256
|
-
/** Host height in CSS pixels for numbers or any CSS length string. */
|
|
257
|
-
height: {
|
|
258
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
259
|
-
default: undefined;
|
|
260
|
-
};
|
|
261
|
-
/** Fills the parent; exactly one of `fill` or `height` is required. */
|
|
262
|
-
fill: {
|
|
263
|
-
type: BooleanConstructor;
|
|
264
|
-
default: undefined;
|
|
265
|
-
};
|
|
266
|
-
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
267
|
-
[key: string]: any;
|
|
268
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
46
|
+
fill?: boolean;
|
|
47
|
+
}
|
|
48
|
+
/** Simple Vue adapter props for columns and default row objects. */
|
|
49
|
+
export interface SheetwriteProps extends Omit<SheetwriteGridProps, "workbook" | "data" | "datasource"> {
|
|
269
50
|
/** Ordered schema used to derive the component-owned sheet. */
|
|
270
|
-
columns:
|
|
271
|
-
type: PropType<readonly {
|
|
272
|
-
key: string;
|
|
273
|
-
title: string;
|
|
274
|
-
}[]>;
|
|
275
|
-
required: true;
|
|
276
|
-
};
|
|
51
|
+
columns: readonly SimpleColumn<Record<string, CellScalar>>[];
|
|
277
52
|
/** Rows converted to initial columnar data; missing keys become `null`. */
|
|
278
|
-
defaultRows:
|
|
279
|
-
type: PropType<readonly Record<string, CellScalar>[]>;
|
|
280
|
-
required: true;
|
|
281
|
-
};
|
|
53
|
+
defaultRows: readonly Record<string, CellScalar>[];
|
|
282
54
|
/** Generated sheet name; defaults to `Sheet 1`. */
|
|
283
|
-
sheetName
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
/**
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
55
|
+
sheetName?: string;
|
|
56
|
+
}
|
|
57
|
+
/** Event payloads emitted by the Vue components, keyed by template event name. */
|
|
58
|
+
export interface SheetwriteGridEmits {
|
|
59
|
+
/** Committed Grid change, including its applied transaction. */
|
|
60
|
+
"grid-change": ChangeEvent;
|
|
61
|
+
/** Current selection, or `null` after it is cleared. */
|
|
62
|
+
"selection-change": Selection | null;
|
|
63
|
+
/** Visible row bounds and vertical scroll offset after scrolling. */
|
|
64
|
+
"viewport-change": GridEvents["scroll"];
|
|
65
|
+
/** Cell editing began. */
|
|
66
|
+
"edit-begin": GridEvents["edit-begin"];
|
|
67
|
+
/** An edit committed its parsed cell value. */
|
|
68
|
+
"edit-commit": GridEvents["edit-commit"];
|
|
69
|
+
/** Refreshed search matches and active-match index. */
|
|
70
|
+
search: GridEvents["search"];
|
|
71
|
+
/** The visible sheet changed. */
|
|
72
|
+
"active-sheet-change": GridEvents["active-sheet"];
|
|
73
|
+
/** The adapter published a ready Grid generation. */
|
|
74
|
+
ready: GridReadyEvent;
|
|
75
|
+
/** WASM initialization failed while the component stayed mounted. */
|
|
76
|
+
"initialization-error": unknown;
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Vue constructor type for Sheetwrite components: Sheetwrite-owned props,
|
|
80
|
+
* emitted events exposed as `on*` listener props, and the exposed instance
|
|
81
|
+
* surface reachable through a template ref.
|
|
82
|
+
*/
|
|
83
|
+
export type SheetwriteComponentConstructor<Props, Emits, Expose = object> = new () => Expose & ComponentPublicInstance & {
|
|
84
|
+
$props: AllowedComponentProps & Props & VNodeProps & {
|
|
85
|
+
[EventName in keyof Emits & string as `on${Capitalize<EventName>}`]?: (payload: Emits[EventName]) => void;
|
|
296
86
|
};
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
87
|
+
};
|
|
88
|
+
/** Advanced framework component for workbook data or datasource input. */
|
|
89
|
+
export declare const SheetwriteGrid: SheetwriteComponentConstructor<SheetwriteGridProps, SheetwriteGridEmits, SheetwriteGridExpose>;
|
|
90
|
+
/** Convenience component for local object rows with live option updates. */
|
|
91
|
+
export declare const Sheetwrite: SheetwriteComponentConstructor<SheetwriteProps, SheetwriteGridEmits>;
|
|
302
92
|
export type { CellScalar, Grid } from "@sheetwrite/core";
|
|
303
93
|
export type { GridReadyEvent, SimpleColumn } from "@sheetwrite/core/adapter";
|
|
304
94
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,YAAY,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ist/index.js
CHANGED
|
@@ -24,6 +24,10 @@ const gridProps = {
|
|
|
24
24
|
type: String,
|
|
25
25
|
default: undefined,
|
|
26
26
|
},
|
|
27
|
+
transactionResourceLimits: {
|
|
28
|
+
type: Object,
|
|
29
|
+
default: undefined,
|
|
30
|
+
},
|
|
27
31
|
renderers: { type: Object, default: undefined },
|
|
28
32
|
overscan: { type: Number, default: undefined },
|
|
29
33
|
minColumns: { type: Number, default: undefined },
|
|
@@ -80,6 +84,7 @@ const SheetwriteGridComponent = defineComponent({
|
|
|
80
84
|
readOnly: props.readOnly,
|
|
81
85
|
protectionResolver: props.protectionResolver,
|
|
82
86
|
mutationPolicy: props.mutationPolicy,
|
|
87
|
+
transactionResourceLimits: props.transactionResourceLimits,
|
|
83
88
|
renderers: props.renderers,
|
|
84
89
|
overscan: props.overscan,
|
|
85
90
|
minColumns: props.minColumns,
|
|
@@ -147,6 +152,7 @@ const SheetwriteGridComponent = defineComponent({
|
|
|
147
152
|
props.workerUrl,
|
|
148
153
|
props.protectionResolver,
|
|
149
154
|
props.mutationPolicy,
|
|
155
|
+
props.transactionResourceLimits,
|
|
150
156
|
props.renderers,
|
|
151
157
|
], () => {
|
|
152
158
|
if (isSheetwriteReady())
|
|
@@ -168,7 +174,7 @@ const SheetwriteGridComponent = defineComponent({
|
|
|
168
174
|
},
|
|
169
175
|
});
|
|
170
176
|
export const SheetwriteGrid = SheetwriteGridComponent;
|
|
171
|
-
|
|
177
|
+
const SheetwriteSimpleComponent = defineComponent({
|
|
172
178
|
name: "SheetwriteComponent",
|
|
173
179
|
inheritAttrs: false,
|
|
174
180
|
props: {
|
|
@@ -205,4 +211,5 @@ export const Sheetwrite = defineComponent({
|
|
|
205
211
|
};
|
|
206
212
|
},
|
|
207
213
|
});
|
|
214
|
+
export const Sheetwrite = SheetwriteSimpleComponent;
|
|
208
215
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAUL,cAAc,EACd,iBAAiB,GAIlB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,oBAAoB,EACpB,qBAAqB,EAKrB,kBAAkB,EAClB,aAAa,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAUL,cAAc,EACd,iBAAiB,GAIlB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,oBAAoB,EACpB,qBAAqB,EAKrB,kBAAkB,EAClB,aAAa,GAId,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAGL,eAAe,EACf,CAAC,EACD,QAAQ,EACR,eAAe,EACf,SAAS,EAET,GAAG,EACH,UAAU,EAEV,KAAK,GACN,MAAM,KAAK,CAAC;AAgGb,MAAM,SAAS,GAAG;IAEhB,QAAQ,EAAE,EAAE,IAAI,EAAE,MAA4B,EAAE,QAAQ,EAAE,IAAa,EAAE;IAEzE,IAAI,EAAE,EAAE,IAAI,EAAE,MAAgC,EAAE,OAAO,EAAE,SAAS,EAAE;IAEpE,UAAU,EAAE,EAAE,IAAI,EAAE,MAA8B,EAAE,OAAO,EAAE,SAAS,EAAE;IAExE,iBAAiB,EAAE;QACjB,IAAI,EAAE,MAA4C;QAClD,OAAO,EAAE,SAAS;KACnB;IAED,QAAQ,EAAE,EAAE,IAAI,EAAE,MAA2C,EAAE,OAAO,EAAE,SAAS,EAAE;IAEnF,SAAS,EAAE;QACT,IAAI,EAAE,CAAC,MAAM,EAAE,GAAG,CAAkD;QACpE,OAAO,EAAE,SAAS;KACnB;IAED,KAAK,EAAE,EAAE,IAAI,EAAE,MAAkC,EAAE,OAAO,EAAE,SAAS,EAAE;IAEvE,QAAQ,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE;IAE/C,kBAAkB,EAAE;QAClB,IAAI,EAAE,QAAuD;QAC7D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CAAC;QAEvC,OAAO,GAAG,EAAE;YACV,IACE,CAAC,KAAK,CAAC,MAAM,KAAK,SAAS,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC;gBAC3C,CAAC,KAAK,CAAC,MAAM,KAAK,SAAS,IAAI,KAAK,CAAC,IAAI,CAAC,EAC1C,CAAC;gBACD,MAAM,IAAI,KAAK,CAAC,mDAAmD,CAAC,CAAC;YACvE,CAAC;YACD,IACE,KAAK,KAAK,IAAI;gBACd,YAAY,KAAK,KAAK,CAAC,OAAO;gBAC9B,SAAS,KAAK,KAAK,CAAC,WAAW;gBAC/B,cAAc,KAAK,KAAK,CAAC,SAAS,EAClC,CAAC;gBACD,KAAK,GAAG,qBAAqB,CAAC;oBAC5B,OAAO,EAAE,KAAK,CAAC,OAAO;oBACtB,WAAW,EAAE,KAAK,CAAC,WAAW;oBAC9B,SAAS,EAAE,KAAK,CAAC,SAAS;iBAC3B,CAAC,CAAC;gBACH,YAAY,GAAG,KAAK,CAAC,OAAO,CAAC;gBAC7B,SAAS,GAAG,KAAK,CAAC,WAAW,CAAC;gBAC9B,cAAc,GAAG,KAAK,CAAC,SAAS,CAAC;YACnC,CAAC;YACD,OAAO,CAAC,CAAC,cAAc,EAAE,EAAE,GAAG,KAAK,EAAE,GAAG,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,CAAC;QACpE,CAAC,CAAC;IACJ,CAAC;CACF,CAAC,CAAC;AAGH,MAAM,CAAC,MAAM,UAAU,GAAG,yBAGzB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sheetwrite/vue",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Vue adapter for Sheetwrite.",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
9
|
-
"url": "git+https://github.com/chh-ay/
|
|
9
|
+
"url": "git+https://github.com/chh-ay/sheetwrite.git",
|
|
10
10
|
"directory": "packages/vue"
|
|
11
11
|
},
|
|
12
|
-
"homepage": "https://
|
|
12
|
+
"homepage": "https://sheetwrite.vercel.app/",
|
|
13
13
|
"bugs": {
|
|
14
|
-
"url": "https://github.com/chh-ay/
|
|
14
|
+
"url": "https://github.com/chh-ay/sheetwrite/issues"
|
|
15
15
|
},
|
|
16
16
|
"keywords": [
|
|
17
17
|
"spreadsheet",
|
|
@@ -45,6 +45,6 @@
|
|
|
45
45
|
"vue": ">=3.4"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@sheetwrite/core": "0.
|
|
48
|
+
"@sheetwrite/core": "0.2.0"
|
|
49
49
|
}
|
|
50
50
|
}
|