@hankchen/canvas-editor-vue 0.6.0 → 0.7.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/{useDataSourceSchema-YV8g-lo0.js → DropdownMenu-CeUNKMDQ.js} +70 -78
- package/dist/ExpressionPathPicker-DchGsK70.js +739 -0
- package/dist/{canvas-CX1RdlFC.js → canvas-D3fFnBqG.js} +526 -527
- package/dist/canvas.js +1 -1
- package/dist/index.js +14 -15
- package/dist/layer-panel/TemplateTableForm.d.ts +1 -27
- package/dist/{layer-panel-Cd1e8xNB.js → layer-panel-BouAYiDq.js} +231 -257
- package/dist/layer-panel.js +1 -1
- package/dist/property-panel/PropertyField.d.ts +9 -2
- package/dist/property-panel/fieldSchema.d.ts +16 -10
- package/dist/property-panel/fields/RowsPathField.d.ts +17 -0
- package/dist/property-panel/fields/index.d.ts +1 -0
- package/dist/property-panel/usePropertyPanel.d.ts +11 -2
- package/dist/{property-panel-B32ZBQdf.js → property-panel-DJQJzioT.js} +403 -341
- package/dist/property-panel.js +2 -2
- package/dist/resourceTemplate-D-DKEo7Z.js +33 -0
- package/dist/shared/ExpressionPathPicker.d.ts +9 -2
- package/dist/shared/index.d.ts +13 -10
- package/dist/shared/pathPickerModel.d.ts +16 -3
- package/dist/shared/popupPosition.d.ts +2 -2
- package/dist/shared/rowsPathPickerSource.d.ts +15 -0
- package/dist/shared/useDataSourceSchema.d.ts +9 -1
- package/dist/shared/useExpressionDiagnostics.d.ts +11 -0
- package/dist/{shared-wuupBoZg.js → shared-CRDKDSpa.js} +22 -22
- package/dist/shared.js +9 -10
- package/dist/{status-bar-XMVbRLY9.js → status-bar-DBf5kIXY.js} +69 -67
- package/dist/status-bar.js +1 -1
- package/dist/style.css +1 -1
- package/dist/uploadFile-mXJVPEzm.js +653 -0
- package/dist/{useTransientFeedback-CTjmMmFF.js → useTransientFeedback-BN_O7V2w.js} +43 -28
- package/package.json +2 -2
- package/dist/popupPosition-Ck5Gsvjy.js +0 -526
- package/dist/resourceTemplate-cdcQtp9a.js +0 -246
- package/dist/shared/rowsPathCompletionSource.d.ts +0 -3
- package/dist/shared/usePathCompletion.d.ts +0 -18
- package/dist/uploadFile-D1RY-ji0.js +0 -516
- package/dist/usePathCompletion-Do17CQ6l.js +0 -220
package/dist/canvas.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as e, a as t, c as n, d as r, f as i, g as a, h as o, i as s, l as c, m as l, n as u, o as d, p as f, r as p, s as m, t as h, u as g } from "./canvas-
|
|
1
|
+
import { _ as e, a as t, c as n, d as r, f as i, g as a, h as o, i as s, l as c, m as l, n as u, o as d, p as f, r as p, s as m, t as h, u as g } from "./canvas-D3fFnBqG.js";
|
|
2
2
|
export { e as AlignFloatBar, n as CanvasSurface, a as ContextMenu, f as EditOverlayToolbar, l as FindBar, m as GuidesOverlay, d as Ruler, c as TextEditingOverlay, u as createGizmoOverlayPainter, h as createRafScheduler, t as drawCreateRubberBand, s as drawFindMatches, p as drawSelectionGizmo, r as useDpr, o as useFindSession, g as useTextEditing, i as watchDprChanges };
|
package/dist/index.js
CHANGED
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import { _ as e, a as t, c as n, d as r, f as i, g as a, h as o, i as s, l as c, m as l, n as u, o as d, p as f, r as p, s as m, t as h, u as g } from "./canvas-
|
|
2
|
-
import { a as _, c as v, i as y, l as b, n as x, o as S, r as C, s as w, t as T } from "./layer-panel-
|
|
3
|
-
import { a as E, c as D, d as O, f as k, i as A, l as j, n as M, o as N, r as P, s as F, t as I, u as L } from "./property-panel-
|
|
4
|
-
import { a as R,
|
|
5
|
-
import {
|
|
6
|
-
import { a as
|
|
7
|
-
import { i as ae,
|
|
8
|
-
import { n as
|
|
9
|
-
import { n as
|
|
10
|
-
import { n as
|
|
11
|
-
import {
|
|
12
|
-
import { t as
|
|
13
|
-
import { n as be, r as xe, t as Se } from "./shared-wuupBoZg.js";
|
|
1
|
+
import { _ as e, a as t, c as n, d as r, f as i, g as a, h as o, i as s, l as c, m as l, n as u, o as d, p as f, r as p, s as m, t as h, u as g } from "./canvas-D3fFnBqG.js";
|
|
2
|
+
import { a as _, c as v, i as y, l as b, n as x, o as S, r as C, s as w, t as T } from "./layer-panel-BouAYiDq.js";
|
|
3
|
+
import { a as E, c as D, d as O, f as k, i as A, l as j, n as M, o as N, r as P, s as F, t as I, u as L } from "./property-panel-DJQJzioT.js";
|
|
4
|
+
import { a as R, c as z, i as B, n as V, o as H, r as U, s as W, t as G } from "./ExpressionPathPicker-DchGsK70.js";
|
|
5
|
+
import { n as K, t as q } from "./resourceTemplate-D-DKEo7Z.js";
|
|
6
|
+
import { a as J, d as Y, i as X, n as Z, o as Q, s as $, t as ee, u as te } from "./useTransientFeedback-BN_O7V2w.js";
|
|
7
|
+
import { c as ne, d as re, f as ie, i as ae, l as oe, m as se, n as ce, o as le, p as ue, r as de, t as fe, u as pe } from "./uploadFile-mXJVPEzm.js";
|
|
8
|
+
import { n as me, t as he } from "./useViewport-D9Ipevzs.js";
|
|
9
|
+
import { n as ge, t as _e } from "./DropdownMenu-CeUNKMDQ.js";
|
|
10
|
+
import { n as ve, r as ye, t as be } from "./status-bar-DBf5kIXY.js";
|
|
11
|
+
import { t as xe } from "./useShortcutsHelp-CsyarO2P.js";
|
|
12
|
+
import { n as Se, r as Ce, t as we } from "./shared-CRDKDSpa.js";
|
|
14
13
|
//#region src/index.ts
|
|
15
|
-
var
|
|
14
|
+
var Te = "@hankchen/canvas-editor-vue";
|
|
16
15
|
//#endregion
|
|
17
|
-
export { _ as ADD_LAYER_MENU, S as ADD_MENU, w as ADD_RATIO_PRESET_MENU, v as ADD_TEXT_PRESET_MENU,
|
|
16
|
+
export { _ as ADD_LAYER_MENU, S as ADD_MENU, w as ADD_RATIO_PRESET_MENU, v as ADD_TEXT_PRESET_MENU, $ as ARM_LAYER_CREATE_HINT, e as AlignFloatBar, F as CANVAS_FIELD_SECTIONS, n as CanvasSurface, a as ContextMenu, X as DATA_SOURCE_GATE_HINT, _e as DropdownMenu, f as EditOverlayToolbar, se as ExpressionCompletionPopup, G as ExpressionPathPicker, D as FIELD_SECTIONS_BY_TYPE, de as FONT_PICKER_KEY, l as FindBar, m as GuidesOverlay, Ce as HelpDialog, E as IMAGE_UPLOAD_KEY, T as LayerPanel, Te as PACKAGE_NAME, b as PANEL_ADD_MENU, V as POPUP_GAP, U as POPUP_MARGIN, z as PanelIcon, M as PropertyField, I as PropertyPanel, d as Ruler, be as StatusBar, y as TemplateTableForm, c as TextEditingOverlay, re as applyCompletion, q as attachResourceTemplate, A as controlRegistry, u as createGizmoOverlayPainter, h as createRafScheduler, te as detectShortcutPlatform, t as drawCreateRubberBand, s as drawFindMatches, p as drawSelectionGizmo, ie as expressionCompletionSource, le as expressionDiagnosticHint, ue as expressionFieldContext, j as fieldSectionsForPath, L as fieldSectionsForType, ve as formatLayerGeometry, ye as formatLayerPath, ae as injectFontPicker, N as injectImageUpload, Z as isEditableEventTarget, x as isUpperHalf, O as layerRoleAt, pe as measureCursorAnchor, R as pathPickerEntries, B as placePopupInViewport, k as readField, H as rowsPathPickerSource, W as rowsPathValueDrifts, ce as selectionFieldMergeKey, Y as shortcutActionLabel, K as stripResourceTemplate, fe as uploadFileFromDom, J as useDataSourceSchema, Q as useDataSourceSchemaRejection, r as useDpr, ge as useDropdownMenu, oe as useExpressionCompletion, ne as useExpressionDiagnostics, o as useFindSession, Se as useHistory, C as useLayerPanel, P as usePropertyPanel, me as useSelection, we as useShortcuts, xe as useShortcutsHelp, g as useTextEditing, ee as useTransientFeedback, he as useViewport, i as watchDprChanges };
|
|
@@ -8,31 +8,5 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
8
8
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
9
9
|
onCancel?: (() => any) | undefined;
|
|
10
10
|
onConfirm?: ((rowsPath: string) => any) | undefined;
|
|
11
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
12
|
-
rowsPathInputEl: HTMLInputElement;
|
|
13
|
-
pathPopupRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
14
|
-
state: import('..').ExpressionCompletionState;
|
|
15
|
-
}> & Readonly<{
|
|
16
|
-
onSelect?: ((index: number) => any) | undefined;
|
|
17
|
-
}>, {
|
|
18
|
-
rootEl: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
19
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
20
|
-
select: (index: number) => any;
|
|
21
|
-
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
22
|
-
rootRef: HTMLDivElement;
|
|
23
|
-
}, any, import('vue').ComponentProvideOptions, {
|
|
24
|
-
P: {};
|
|
25
|
-
B: {};
|
|
26
|
-
D: {};
|
|
27
|
-
C: {};
|
|
28
|
-
M: {};
|
|
29
|
-
Defaults: {};
|
|
30
|
-
}, Readonly<{
|
|
31
|
-
state: import('..').ExpressionCompletionState;
|
|
32
|
-
}> & Readonly<{
|
|
33
|
-
onSelect?: ((index: number) => any) | undefined;
|
|
34
|
-
}>, {
|
|
35
|
-
rootEl: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
36
|
-
}, {}, {}, {}, {}> | null;
|
|
37
|
-
}, HTMLDivElement>;
|
|
11
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
38
12
|
export default _default;
|