@m3ui-vue/m3ui-vue 1.7.0 → 1.8.1
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/API.md +579 -4
- package/dist/{MButton-CN3wYwIG.js → MButton-B6eZTfFV.js} +2 -2
- package/dist/{MButton-CN3wYwIG.js.map → MButton-B6eZTfFV.js.map} +1 -1
- package/dist/{MColorPickerModal-BKM1CHxr.js → MColorPickerModal-Dajjf6tH.js} +4 -4
- package/dist/{MColorPickerModal-BKM1CHxr.js.map → MColorPickerModal-Dajjf6tH.js.map} +1 -1
- package/dist/{MDialog-1LAk9WAO.js → MDialog-DQvE_JBv.js} +2 -2
- package/dist/{MDialog-1LAk9WAO.js.map → MDialog-DQvE_JBv.js.map} +1 -1
- package/dist/{MListItem-BU5KDRCB.js → MListItem-DiOAxaN7.js} +102 -102
- package/dist/{MListItem-BU5KDRCB.js.map → MListItem-DiOAxaN7.js.map} +1 -1
- package/dist/{MLoadingIndicator-RykOo5tf.js → MLoadingIndicator-CuTZYFFj.js} +2 -2
- package/dist/{MLoadingIndicator-RykOo5tf.js.map → MLoadingIndicator-CuTZYFFj.js.map} +1 -1
- package/dist/MPdfViewer-C5ngKPRM.js +1866 -0
- package/dist/MPdfViewer-C5ngKPRM.js.map +1 -0
- package/dist/{MSeekBar-B_Y3MpVz.js → MSeekBar-BCDQTx2t.js} +2 -2
- package/dist/{MSeekBar-B_Y3MpVz.js.map → MSeekBar-BCDQTx2t.js.map} +1 -1
- package/dist/{MSegmentedButton-CiOOY1-N.js → MSegmentedButton-BXzRsg1S.js} +2 -2
- package/dist/{MSegmentedButton-CiOOY1-N.js.map → MSegmentedButton-BXzRsg1S.js.map} +1 -1
- package/dist/MSignaturePad-CxOtelzE.js +140 -0
- package/dist/MSignaturePad-CxOtelzE.js.map +1 -0
- package/dist/{MSlider-BCeVIxcq.js → MSlider-D_O8J9YH.js} +3 -3
- package/dist/{MSlider-BCeVIxcq.js.map → MSlider-D_O8J9YH.js.map} +1 -1
- package/dist/{MSpinner-Cs03qoqE.js → MSpinner-UCdtSOHP.js} +2 -2
- package/dist/{MSpinner-Cs03qoqE.js.map → MSpinner-UCdtSOHP.js.map} +1 -1
- package/dist/{MTextField-NaFbMkjv.js → MTextField-CYk9yFvi.js} +3 -3
- package/dist/{MTextField-NaFbMkjv.js.map → MTextField-CYk9yFvi.js.map} +1 -1
- package/dist/{_useFieldValidation-Bz34IAQY.js → _useFieldValidation-B0B44M_t.js} +2 -2
- package/dist/{_useFieldValidation-Bz34IAQY.js.map → _useFieldValidation-B0B44M_t.js.map} +1 -1
- package/dist/api.json +1 -1
- package/dist/code-editor.js +2 -2
- package/dist/components/MFormBuilder.vue.d.ts +22 -0
- package/dist/components/MFormRenderer.vue.d.ts +151 -0
- package/dist/components/MMapRoute.vue.d.ts +13 -5
- package/dist/components/MPdfSigner.vue.d.ts +499 -0
- package/dist/components/MPdfViewer.vue.d.ts +12 -0
- package/dist/components/MPosKeypad.vue.d.ts +1 -1
- package/dist/components/MSpreadsheet.vue.d.ts +137 -0
- package/dist/components/MStack.vue.d.ts +1 -1
- package/dist/composables/pdfSign.d.ts +52 -0
- package/dist/composables/spreadsheetFormula.d.ts +55 -0
- package/dist/composables/useLocale.d.ts +154 -0
- package/dist/draw.js +2 -2
- package/dist/flow.js +1 -1
- package/dist/gantt.js +2 -2
- package/dist/index.d.ts +7 -0
- package/dist/locales/index.js +539 -0
- package/dist/locales/index.js.map +1 -1
- package/dist/m3ui-vue.css +1 -1
- package/dist/m3ui.js +16968 -15042
- package/dist/m3ui.js.map +1 -1
- package/dist/map.js +601 -585
- package/dist/map.js.map +1 -1
- package/dist/media.js +4 -4
- package/dist/pdf-sign.d.ts +3 -0
- package/dist/pdf-sign.js +548 -0
- package/dist/pdf-sign.js.map +1 -0
- package/dist/pdf.js +1 -1859
- package/dist/rich-text-editor.js +5 -5
- package/dist/styles.css +1 -1
- package/dist/{useLocale-Dh1xZZ8i.js → useLocale-DL96OFgr.js} +78 -1
- package/dist/useLocale-DL96OFgr.js.map +1 -0
- package/package.json +9 -1
- package/src/__tests__/MFormRenderer.test.ts +157 -0
- package/src/__tests__/MMapRoute.test.ts +34 -0
- package/src/__tests__/MPdfSigner.test.ts +175 -0
- package/src/__tests__/MSpreadsheet.test.ts +223 -0
- package/src/__tests__/spreadsheetFormula.test.ts +77 -0
- package/src/__tests__/ssr.test.ts +3 -0
- package/src/components/MFormBuilder.vue +417 -0
- package/src/components/MFormRenderer.vue +324 -0
- package/src/components/MMapRoute.vue +64 -11
- package/src/components/MPdfSigner.vue +433 -0
- package/src/components/MPdfViewer.vue +12 -0
- package/src/components/MSpreadsheet.vue +992 -0
- package/src/composables/pdfSign.ts +141 -0
- package/src/composables/spreadsheetFormula.ts +459 -0
- package/src/composables/useLocale.ts +231 -0
- package/src/index.ts +7 -0
- package/src/locales/de.ts +77 -0
- package/src/locales/es.ts +77 -0
- package/src/locales/fr.ts +77 -0
- package/src/locales/ja.ts +77 -0
- package/src/locales/ko.ts +77 -0
- package/src/locales/pt.ts +77 -0
- package/src/locales/zh.ts +77 -0
- package/src/pdf-sign.ts +5 -0
- package/dist/pdf.js.map +0 -1
- package/dist/useLocale-Dh1xZZ8i.js.map +0 -1
|
@@ -26,8 +26,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
26
26
|
align: "center" | "start" | "end" | "stretch" | "baseline";
|
|
27
27
|
direction: "row" | "column";
|
|
28
28
|
inline: boolean;
|
|
29
|
-
justify: "between" | "center" | "start" | "end" | "around" | "evenly";
|
|
30
29
|
divider: boolean;
|
|
30
|
+
justify: "between" | "center" | "start" | "end" | "around" | "evenly";
|
|
31
31
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
32
32
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
33
33
|
declare const _default: typeof __VLS_export;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/** A field placed on a page to sign or fill */
|
|
2
|
+
export interface PdfSignField {
|
|
3
|
+
id: string;
|
|
4
|
+
type: 'signature' | 'initials' | 'name' | 'date' | 'text' | 'checkbox';
|
|
5
|
+
/** 1-based page */
|
|
6
|
+
page: number;
|
|
7
|
+
/** Where it is, as fractions (0–1) of the page as shown (its own rotation included): left, top, width, height */
|
|
8
|
+
x: number;
|
|
9
|
+
y: number;
|
|
10
|
+
width: number;
|
|
11
|
+
height: number;
|
|
12
|
+
/** What it asks for (shown in the empty field, and to screen readers) */
|
|
13
|
+
label?: string;
|
|
14
|
+
/** Must be filled before the document is complete. Default true for signature fields */
|
|
15
|
+
required?: boolean;
|
|
16
|
+
/** Who fills it, for documents several people sign; `signer` on MPdfSigner picks whose fields are active */
|
|
17
|
+
signer?: string;
|
|
18
|
+
/** What it holds: a PNG data URL for a signature or initials, text otherwise, `'true'` for a ticked checkbox */
|
|
19
|
+
value?: string;
|
|
20
|
+
}
|
|
21
|
+
/** Whether a field needs filling and is empty */
|
|
22
|
+
export declare const fieldMissing: (f: PdfSignField) => boolean;
|
|
23
|
+
type Rect = {
|
|
24
|
+
x: number;
|
|
25
|
+
y: number;
|
|
26
|
+
width: number;
|
|
27
|
+
height: number;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* A rectangle on the page as shown (top-left origin, y down, in points) to PDF user space (bottom-left origin):
|
|
31
|
+
* where to anchor something drawn upright on screen, and the rotation to draw it with, for a page with its own
|
|
32
|
+
* `/Rotate` and a crop box. `box` is the crop box, `rotate` the page's rotation in degrees
|
|
33
|
+
*/
|
|
34
|
+
export declare function shownToUser(r: Rect, box: Rect, rotate: number): {
|
|
35
|
+
x: number;
|
|
36
|
+
y: number;
|
|
37
|
+
rotate: number;
|
|
38
|
+
};
|
|
39
|
+
export interface SignPdfOptions {
|
|
40
|
+
/** The font for text fields (a CSS font list). Default the page's sans-serif */
|
|
41
|
+
font?: string;
|
|
42
|
+
/** Written into the document's metadata */
|
|
43
|
+
producer?: string;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Writes the filled fields into a copy of the PDF and returns its bytes: signatures and initials as the images
|
|
47
|
+
* drawn, text, dates and ticks drawn the same way. A visual signature (what an e-signature flow shows and prints),
|
|
48
|
+
* not a cryptographic one: for a certificate-based digital signature (PAdES), sign the result on your server.
|
|
49
|
+
* Needs the `pdf-lib` package
|
|
50
|
+
*/
|
|
51
|
+
export declare function signPdf(pdf: ArrayBuffer | Uint8Array, fields: PdfSignField[], options?: SignPdfOptions): Promise<Uint8Array>;
|
|
52
|
+
export {};
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/** What a cell holds: what was typed. A string starting with `=` is a formula */
|
|
2
|
+
export type SpreadsheetCell = string | number | boolean | null;
|
|
3
|
+
/** A formula error, shown in the cell as its code (`#DIV/0!`, `#REF!`…) */
|
|
4
|
+
export declare class FormulaError {
|
|
5
|
+
code: '#DIV/0!' | '#REF!' | '#NAME?' | '#VALUE!' | '#CIRC!' | '#ERROR!' | '#N/A';
|
|
6
|
+
constructor(code: '#DIV/0!' | '#REF!' | '#NAME?' | '#VALUE!' | '#CIRC!' | '#ERROR!' | '#N/A');
|
|
7
|
+
toString(): "#DIV/0!" | "#REF!" | "#NAME?" | "#VALUE!" | "#CIRC!" | "#ERROR!" | "#N/A";
|
|
8
|
+
}
|
|
9
|
+
/** What a cell shows once its formula is worked out */
|
|
10
|
+
export type SpreadsheetValue = number | string | boolean | null | FormulaError;
|
|
11
|
+
/** `0 → A`, `25 → Z`, `26 → AA` */
|
|
12
|
+
export declare function columnName(index: number): string;
|
|
13
|
+
/** `A → 0`, `AA → 26` */
|
|
14
|
+
export declare function columnIndex(name: string): number;
|
|
15
|
+
/** `{ row: 0, col: 0 } → A1` */
|
|
16
|
+
export declare function cellName(row: number, col: number): string;
|
|
17
|
+
/** `B3 → { row: 2, col: 1 }`, or null if it isn't a reference */
|
|
18
|
+
export declare function parseCellName(ref: string): {
|
|
19
|
+
row: number;
|
|
20
|
+
col: number;
|
|
21
|
+
} | null;
|
|
22
|
+
type Val = SpreadsheetValue;
|
|
23
|
+
type Arg = Val | Val[];
|
|
24
|
+
/** The functions a formula can call. Add your own with `functions` on MSpreadsheet */
|
|
25
|
+
export type SpreadsheetFunction = (args: Arg[]) => Val;
|
|
26
|
+
export declare const spreadsheetFunctions: Record<string, SpreadsheetFunction>;
|
|
27
|
+
/** Where a formula reads cells from: their values (formulas already worked out) */
|
|
28
|
+
export interface FormulaContext {
|
|
29
|
+
get(row: number, col: number): Val;
|
|
30
|
+
functions?: Record<string, SpreadsheetFunction>;
|
|
31
|
+
/** Rows and columns the sheet has: a reference outside them is `#REF!` */
|
|
32
|
+
rows?: number;
|
|
33
|
+
cols?: number;
|
|
34
|
+
}
|
|
35
|
+
/** Works out a formula (without its leading `=`). Errors come back as a `FormulaError`, never thrown */
|
|
36
|
+
export declare function evaluateFormula(formula: string, ctx: FormulaContext): SpreadsheetValue;
|
|
37
|
+
/**
|
|
38
|
+
* Evaluates a whole sheet lazily: `value(row, col)` works a cell out the first time it's asked for (and whatever it
|
|
39
|
+
* reads), then remembers it. Circular references come out as `#CIRC!`. Make a new one when the cells change.
|
|
40
|
+
*/
|
|
41
|
+
export declare function createSheetEvaluator(cells: SpreadsheetCell[][], options?: {
|
|
42
|
+
functions?: Record<string, SpreadsheetFunction>;
|
|
43
|
+
rows?: number;
|
|
44
|
+
cols?: number;
|
|
45
|
+
}): {
|
|
46
|
+
value(row: number, col: number): SpreadsheetValue;
|
|
47
|
+
};
|
|
48
|
+
/**
|
|
49
|
+
* The formula moved by some rows and columns, as when it's copied or filled into another cell: relative references
|
|
50
|
+
* move, `$`-locked parts stay. A reference pushed off the sheet becomes `#REF!`.
|
|
51
|
+
*/
|
|
52
|
+
export declare function shiftFormula(formula: string, dRow: number, dCol: number): string;
|
|
53
|
+
/** A number as a cell shows it: no float noise (`0.1 + 0.2` shows 0.3) */
|
|
54
|
+
export declare function formatNumber(n: number): string;
|
|
55
|
+
export {};
|
|
@@ -225,6 +225,160 @@ export interface M3Locale {
|
|
|
225
225
|
mapRouteStop: string;
|
|
226
226
|
/** MMapRoute: the vehicle marker's accessible name */
|
|
227
227
|
mapRouteVehicle: string;
|
|
228
|
+
/** MSpreadsheet: the grid's accessible name */
|
|
229
|
+
spreadsheet: string;
|
|
230
|
+
/** MSpreadsheet: the formula bar's input */
|
|
231
|
+
spreadsheetFormula: string;
|
|
232
|
+
/** MSpreadsheet: the box showing the selected cell's name (B3, A1:C4) */
|
|
233
|
+
spreadsheetName: string;
|
|
234
|
+
/** MFormRenderer: the submit button */
|
|
235
|
+
formSubmit: string;
|
|
236
|
+
/** MFormBuilder: the editing view */
|
|
237
|
+
formBuilderEdit: string;
|
|
238
|
+
/** MFormBuilder: the form as it will look */
|
|
239
|
+
formBuilderPreview: string;
|
|
240
|
+
/** MFormBuilder: the schema as JSON */
|
|
241
|
+
formBuilderJson: string;
|
|
242
|
+
/** MFormBuilder: the field palette */
|
|
243
|
+
formBuilderAddField: string;
|
|
244
|
+
/** MFormBuilder: an empty form */
|
|
245
|
+
formBuilderEmpty: string;
|
|
246
|
+
/** MFormBuilder: the form settings */
|
|
247
|
+
formBuilderForm: string;
|
|
248
|
+
/** MFormBuilder */
|
|
249
|
+
formBuilderTitle: string;
|
|
250
|
+
/** MFormBuilder */
|
|
251
|
+
formBuilderDescription: string;
|
|
252
|
+
/** MFormBuilder */
|
|
253
|
+
formBuilderSubmitLabel: string;
|
|
254
|
+
/** MFormBuilder */
|
|
255
|
+
formBuilderLabel: string;
|
|
256
|
+
/** MFormBuilder: the value key */
|
|
257
|
+
formBuilderName: string;
|
|
258
|
+
/** MFormBuilder */
|
|
259
|
+
formBuilderPlaceholder: string;
|
|
260
|
+
/** MFormBuilder */
|
|
261
|
+
formBuilderHint: string;
|
|
262
|
+
/** MFormBuilder */
|
|
263
|
+
formBuilderRequired: string;
|
|
264
|
+
/** MFormBuilder */
|
|
265
|
+
formBuilderWidth: string;
|
|
266
|
+
/** MFormBuilder */
|
|
267
|
+
formBuilderWidthFull: string;
|
|
268
|
+
/** MFormBuilder */
|
|
269
|
+
formBuilderWidthHalf: string;
|
|
270
|
+
/** MFormBuilder */
|
|
271
|
+
formBuilderWidthThird: string;
|
|
272
|
+
/** MFormBuilder */
|
|
273
|
+
formBuilderWidthTwoThirds: string;
|
|
274
|
+
/** MFormBuilder */
|
|
275
|
+
formBuilderOptions: string;
|
|
276
|
+
/** MFormBuilder */
|
|
277
|
+
formBuilderMin: string;
|
|
278
|
+
/** MFormBuilder */
|
|
279
|
+
formBuilderMax: string;
|
|
280
|
+
/** MFormBuilder */
|
|
281
|
+
formBuilderStep: string;
|
|
282
|
+
/** MFormBuilder */
|
|
283
|
+
formBuilderMinLength: string;
|
|
284
|
+
/** MFormBuilder */
|
|
285
|
+
formBuilderMaxLength: string;
|
|
286
|
+
/** MFormBuilder */
|
|
287
|
+
formBuilderPattern: string;
|
|
288
|
+
/** MFormBuilder */
|
|
289
|
+
formBuilderPatternMessage: string;
|
|
290
|
+
/** MFormBuilder: textarea lines */
|
|
291
|
+
formBuilderRows: string;
|
|
292
|
+
/** MFormBuilder: conditional field */
|
|
293
|
+
formBuilderShowWhen: string;
|
|
294
|
+
/** MFormBuilder: no condition */
|
|
295
|
+
formBuilderAlways: string;
|
|
296
|
+
/** MFormBuilder: the condition value */
|
|
297
|
+
formBuilderEquals: string;
|
|
298
|
+
/** MFormBuilder */
|
|
299
|
+
formBuilderDuplicate: string;
|
|
300
|
+
/** MFormBuilder */
|
|
301
|
+
formBuilderDelete: string;
|
|
302
|
+
/** MFormBuilder: copy the JSON */
|
|
303
|
+
formBuilderCopy: string;
|
|
304
|
+
/** MFormBuilder */
|
|
305
|
+
formBuilderCopied: string;
|
|
306
|
+
/** MFormBuilder: what the preview submitted */
|
|
307
|
+
formBuilderSubmitted: string;
|
|
308
|
+
/** MFormBuilder: the inspector with nothing selected */
|
|
309
|
+
formBuilderSelectField: string;
|
|
310
|
+
/** MFormBuilder: field type */
|
|
311
|
+
formFieldText: string;
|
|
312
|
+
/** MFormBuilder: field type */
|
|
313
|
+
formFieldEmail: string;
|
|
314
|
+
/** MFormBuilder: field type */
|
|
315
|
+
formFieldPassword: string;
|
|
316
|
+
/** MFormBuilder: field type */
|
|
317
|
+
formFieldTel: string;
|
|
318
|
+
/** MFormBuilder: field type */
|
|
319
|
+
formFieldUrl: string;
|
|
320
|
+
/** MFormBuilder: field type */
|
|
321
|
+
formFieldTextarea: string;
|
|
322
|
+
/** MFormBuilder: field type */
|
|
323
|
+
formFieldNumber: string;
|
|
324
|
+
/** MFormBuilder: field type */
|
|
325
|
+
formFieldSelect: string;
|
|
326
|
+
/** MFormBuilder: field type */
|
|
327
|
+
formFieldAutocomplete: string;
|
|
328
|
+
/** MFormBuilder: field type */
|
|
329
|
+
formFieldRadio: string;
|
|
330
|
+
/** MFormBuilder: field type */
|
|
331
|
+
formFieldCheckbox: string;
|
|
332
|
+
/** MFormBuilder: field type */
|
|
333
|
+
formFieldSwitch: string;
|
|
334
|
+
/** MFormBuilder: field type */
|
|
335
|
+
formFieldDate: string;
|
|
336
|
+
/** MFormBuilder: field type */
|
|
337
|
+
formFieldTime: string;
|
|
338
|
+
/** MFormBuilder: field type */
|
|
339
|
+
formFieldSlider: string;
|
|
340
|
+
/** MFormBuilder: field type */
|
|
341
|
+
formFieldRating: string;
|
|
342
|
+
/** MFormBuilder: field type */
|
|
343
|
+
formFieldPhone: string;
|
|
344
|
+
/** MFormBuilder: field type */
|
|
345
|
+
formFieldHeading: string;
|
|
346
|
+
/** MFormBuilder: field type */
|
|
347
|
+
formFieldDivider: string;
|
|
348
|
+
/** MPdfSigner: field type */
|
|
349
|
+
pdfSignSignature: string;
|
|
350
|
+
/** MPdfSigner: field type */
|
|
351
|
+
pdfSignInitials: string;
|
|
352
|
+
/** MPdfSigner: field type */
|
|
353
|
+
pdfSignName: string;
|
|
354
|
+
/** MPdfSigner: field type */
|
|
355
|
+
pdfSignDate: string;
|
|
356
|
+
/** MPdfSigner: field type */
|
|
357
|
+
pdfSignText: string;
|
|
358
|
+
/** MPdfSigner: field type */
|
|
359
|
+
pdfSignCheckbox: string;
|
|
360
|
+
/** MPdfSigner: an empty signature field */
|
|
361
|
+
pdfSignHere: string;
|
|
362
|
+
/** MPdfSigner: go to the next empty field */
|
|
363
|
+
pdfSignNext: string;
|
|
364
|
+
/** MPdfSigner: done signing */
|
|
365
|
+
pdfSignFinish: string;
|
|
366
|
+
/** MPdfSigner: {done} and {total} are replaced */
|
|
367
|
+
pdfSignProgress: string;
|
|
368
|
+
/** MPdfSigner: draw a signature */
|
|
369
|
+
pdfSignDraw: string;
|
|
370
|
+
/** MPdfSigner: type a signature */
|
|
371
|
+
pdfSignTypeIt: string;
|
|
372
|
+
/** MPdfSigner: use this signature */
|
|
373
|
+
pdfSignAdopt: string;
|
|
374
|
+
/** MPdfSigner: the field palette */
|
|
375
|
+
pdfSignAddField: string;
|
|
376
|
+
/** MPdfSigner */
|
|
377
|
+
pdfSignRequired: string;
|
|
378
|
+
/** MPdfSigner */
|
|
379
|
+
pdfSignDelete: string;
|
|
380
|
+
/** MPdfSigner: every field is filled */
|
|
381
|
+
pdfSignComplete: string;
|
|
228
382
|
trackingArrives: string;
|
|
229
383
|
trackingArrivingNow: string;
|
|
230
384
|
trackingDelivered: string;
|
package/dist/draw.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { i as e } from "./useLocale-
|
|
1
|
+
import { i as e } from "./useLocale-DL96OFgr.js";
|
|
2
2
|
import { t } from "./MIconButton-BBggVwBV.js";
|
|
3
3
|
import { n, t as r } from "./MMenuItem-BuxYoASE.js";
|
|
4
4
|
import { t as i } from "./MTooltip-CK39Zon4.js";
|
|
5
|
-
import { t as a } from "./MColorPickerModal-
|
|
5
|
+
import { t as a } from "./MColorPickerModal-Dajjf6tH.js";
|
|
6
6
|
import { Fragment as o, computed as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createTextVNode as f, createVNode as p, defineComponent as m, inject as h, mergeModels as g, mergeProps as _, nextTick as v, normalizeClass as y, normalizeStyle as b, onBeforeUnmount as x, onMounted as S, openBlock as C, provide as ee, ref as w, renderList as T, renderSlot as E, shallowRef as D, toDisplayString as te, unref as O, useId as ne, useModel as k, vModelText as re, watch as ie, withCtx as A, withDirectives as j, withKeys as ae, withModifiers as M } from "vue";
|
|
7
7
|
// src/composables/drawGeometry.ts
|
|
8
8
|
var N = 0, oe = () => `d${Date.now().toString(36)}${(N++).toString(36)}`, se = {
|
package/dist/flow.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as e, c as t, d as n, i as r, l as i, n as a, o, r as s, s as c, t as l, u } from "./flowPaths-BaH7yaUM.js";
|
|
2
2
|
import { r as d, t as f, u as p } from "./MIconButton-BBggVwBV.js";
|
|
3
|
-
import { i as m } from "./useLocale-
|
|
3
|
+
import { i as m } from "./useLocale-DL96OFgr.js";
|
|
4
4
|
import { Fragment as h, Transition as g, computed as _, createBlock as v, createCommentVNode as y, createElementBlock as b, createElementVNode as x, createTextVNode as S, createVNode as C, defineComponent as w, inject as T, mergeProps as ee, nextTick as E, normalizeClass as D, normalizeStyle as O, onBeforeUnmount as te, onMounted as ne, openBlock as k, provide as re, reactive as ie, ref as A, renderList as ae, renderSlot as oe, shallowReactive as se, shallowRef as ce, toDisplayString as le, toRaw as ue, unref as j, useSlots as de, vShow as fe, watch as pe, withCtx as me, withDirectives as M, withModifiers as he } from "vue";
|
|
5
5
|
// src/composables/useFlow.ts
|
|
6
6
|
var ge = Symbol("m3-flow"), _e = Symbol("m3-flow-node");
|
package/dist/gantt.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./flowPaths-BaH7yaUM.js";
|
|
2
2
|
import { f as t, l as n, t as r, u as i } from "./MIconButton-BBggVwBV.js";
|
|
3
|
-
import { i as a } from "./useLocale-
|
|
4
|
-
import { t as o } from "./MSegmentedButton-
|
|
3
|
+
import { i as a } from "./useLocale-DL96OFgr.js";
|
|
4
|
+
import { t as o } from "./MSegmentedButton-BXzRsg1S.js";
|
|
5
5
|
import { Fragment as s, Teleport as c, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createTextVNode as m, createVNode as h, defineComponent as g, inject as _, nextTick as v, normalizeClass as y, normalizeStyle as b, onBeforeUnmount as ee, onBeforeUpdate as te, onMounted as ne, onUpdated as re, openBlock as x, provide as ie, ref as S, renderList as C, renderSlot as ae, shallowRef as oe, toDisplayString as w, toRaw as se, unref as T, useSlots as ce, vModelText as le, watch as E, withDirectives as ue, withKeys as de, withModifiers as fe } from "vue";
|
|
6
6
|
// src/composables/useGantt.ts
|
|
7
7
|
var pe = Symbol("m3-gantt"), me = Symbol("m3-timeline-controls");
|
package/dist/index.d.ts
CHANGED
|
@@ -39,6 +39,8 @@ export type { Notification, NotificationVariant, NotificationPosition, Notificat
|
|
|
39
39
|
export { useDebounce } from './composables/useDebounce';
|
|
40
40
|
export { required, email, url, minLength, maxLength, min, max, pattern, sameAs, isEmpty } from './composables/validation';
|
|
41
41
|
export type { ValidationRule, ValidationResult, ValidationContext, ValidateOn, StandardSchemaV1, StandardSchemaIssue, StandardSchemaResult } from './composables/validation';
|
|
42
|
+
export { evaluateFormula, createSheetEvaluator, shiftFormula, columnName, columnIndex, cellName, parseCellName, spreadsheetFunctions, FormulaError, formatNumber } from './composables/spreadsheetFormula';
|
|
43
|
+
export type { SpreadsheetCell, SpreadsheetValue, SpreadsheetFunction, FormulaContext } from './composables/spreadsheetFormula';
|
|
42
44
|
export { usePageProgress } from './composables/usePageProgress';
|
|
43
45
|
export { useSpring } from './composables/_useSpring';
|
|
44
46
|
export { motionSprings, motionEasings, motionDurations, cubicBezier } from './composables/motion';
|
|
@@ -128,6 +130,9 @@ export { default as MFab } from './components/MFab.vue';
|
|
|
128
130
|
export { default as MFabMenu } from './components/MFabMenu.vue';
|
|
129
131
|
export { default as MFileUpload } from './components/MFileUpload.vue';
|
|
130
132
|
export { default as MForm } from './components/MForm.vue';
|
|
133
|
+
export { default as MFormRenderer, isValueField, fieldVisible, emptyValue, normalizeOptions } from './components/MFormRenderer.vue';
|
|
134
|
+
export type { FormSchema, FormFieldSchema, FormFieldType, FormFieldOption, FormFieldCondition } from './components/MFormRenderer.vue';
|
|
135
|
+
export { default as MFormBuilder } from './components/MFormBuilder.vue';
|
|
131
136
|
export { default as MFloorPlan } from './components/MFloorPlan.vue';
|
|
132
137
|
export { default as MFloorPlanToolbar } from './components/MFloorPlanToolbar.vue';
|
|
133
138
|
export type { FloorTablePreset } from './components/MFloorPlanToolbar.vue';
|
|
@@ -256,6 +261,8 @@ export { default as MSearchField } from './components/MSearchField.vue';
|
|
|
256
261
|
export { default as MSection } from './components/MSection.vue';
|
|
257
262
|
export { default as MSeekBar } from './components/MSeekBar.vue';
|
|
258
263
|
export { default as MSegmentedButton } from './components/MSegmentedButton.vue';
|
|
264
|
+
export { default as MSpreadsheet } from './components/MSpreadsheet.vue';
|
|
265
|
+
export type { SpreadsheetPosition, SpreadsheetRange, SpreadsheetChange } from './components/MSpreadsheet.vue';
|
|
259
266
|
export { default as MScrollField } from './components/MScrollField.vue';
|
|
260
267
|
export { default as MSelect } from './components/MSelect.vue';
|
|
261
268
|
export type { SelectOption } from './components/MSelect.vue';
|