@hankchen/canvas-editor-vue 2.1.0 → 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.
- package/README.md +43 -2
- package/dist/{ExpressionPathPicker-DchGsK70.js → Tooltip-9lQOwB7r.js} +260 -195
- package/dist/_plugin-vue_export-helper-CBNdHDnS.js +98 -0
- package/dist/canvas/EditOverlayToolbar.d.ts +1 -1
- package/dist/{canvas-DuvO27sj.js → canvas-DIcS64ZV.js} +614 -554
- package/dist/canvas.js +1 -1
- package/dist/index.js +14 -14
- package/dist/{layer-panel-BouAYiDq.js → layer-panel-DPhB8OJp.js} +246 -240
- package/dist/layer-panel.js +1 -1
- package/dist/panel-theme.css +6 -276
- package/dist/{property-panel-CwdTufiP.js → property-panel-BzpaxWLB.js} +214 -213
- package/dist/property-panel.js +2 -2
- package/dist/{resourceTemplate-D-DKEo7Z.js → resourceTemplate-DLEZMwZl.js} +1 -1
- package/dist/shared/Tooltip.d.ts +24 -0
- package/dist/shared/index.d.ts +8 -1
- package/dist/shared/useCnTheme.d.ts +12 -0
- package/dist/shared/useDropdownMenu.d.ts +13 -1
- package/dist/{shared-CRDKDSpa.js → shared-5EY0LNSa.js} +76 -31
- package/dist/shared.js +9 -9
- package/dist/{status-bar-DBf5kIXY.js → status-bar-CJJSr9Ua.js} +9 -10
- package/dist/status-bar.js +1 -1
- package/dist/style.css +1 -1
- package/dist/theme.css +428 -0
- package/dist/{uploadFile-mXJVPEzm.js → uploadFile-DnW3L-8J.js} +33 -33
- package/dist/useTransientFeedback-CI3j6r7y.js +956 -0
- package/package.json +4 -3
- package/dist/DropdownMenu-CeUNKMDQ.js +0 -450
- package/dist/layerPath-uy2ywyld.js +0 -76
- package/dist/useTransientFeedback-BN_O7V2w.js +0 -498
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-DIcS64ZV.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,16 +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 {
|
|
5
|
-
import { n as
|
|
6
|
-
import {
|
|
7
|
-
import { c as
|
|
8
|
-
import { n as me, t as he } from "./
|
|
9
|
-
import { n as
|
|
10
|
-
import { n as
|
|
11
|
-
import { t as
|
|
12
|
-
import { n as
|
|
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-DIcS64ZV.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-DPhB8OJp.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-BzpaxWLB.js";
|
|
4
|
+
import { n as R } from "./_plugin-vue_export-helper-CBNdHDnS.js";
|
|
5
|
+
import { a as z, c as B, i as V, n as H, o as U, r as W, s as G, t as K } from "./Tooltip-9lQOwB7r.js";
|
|
6
|
+
import { n as q, t as J } from "./resourceTemplate-DLEZMwZl.js";
|
|
7
|
+
import { c as Y, f as X, i as Z, l as Q, n as $, o as ee, p as te, r as ne, s as re, t as ie } from "./useTransientFeedback-CI3j6r7y.js";
|
|
8
|
+
import { c as ae, d as oe, f as se, i as ce, l as le, m as ue, n as de, o as fe, p as pe, r as me, t as he, u as ge } from "./uploadFile-DnW3L-8J.js";
|
|
9
|
+
import { n as _e, t as ve } from "./useViewport-D9Ipevzs.js";
|
|
10
|
+
import { n as ye, r as be, t as xe } from "./status-bar-CJJSr9Ua.js";
|
|
11
|
+
import { t as Se } from "./useShortcutsHelp-CsyarO2P.js";
|
|
12
|
+
import { i as Ce, n as we, r as Te, t as Ee } from "./shared-5EY0LNSa.js";
|
|
13
13
|
//#region src/index.ts
|
|
14
|
-
var
|
|
14
|
+
var De = "@hankchen/canvas-editor-vue";
|
|
15
15
|
//#endregion
|
|
16
|
-
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, Q as ARM_LAYER_CREATE_HINT, e as AlignFloatBar, F as CANVAS_FIELD_SECTIONS, n as CanvasSurface, a as ContextMenu, ee as DATA_SOURCE_GATE_HINT, $ as DropdownMenu, f as EditOverlayToolbar, ue as ExpressionCompletionPopup, H as ExpressionPathPicker, D as FIELD_SECTIONS_BY_TYPE, me as FONT_PICKER_KEY, l as FindBar, m as GuidesOverlay, Ce as HelpDialog, E as IMAGE_UPLOAD_KEY, T as LayerPanel, De as PACKAGE_NAME, b as PANEL_ADD_MENU, W as POPUP_GAP, V as POPUP_MARGIN, R as PanelIcon, M as PropertyField, I as PropertyPanel, d as Ruler, xe as StatusBar, y as TemplateTableForm, c as TextEditingOverlay, K as Tooltip, oe as applyCompletion, J as attachResourceTemplate, A as controlRegistry, u as createGizmoOverlayPainter, h as createRafScheduler, X as detectShortcutPlatform, t as drawCreateRubberBand, s as drawFindMatches, p as drawSelectionGizmo, se as expressionCompletionSource, fe as expressionDiagnosticHint, pe as expressionFieldContext, j as fieldSectionsForPath, L as fieldSectionsForType, ye as formatLayerGeometry, be as formatLayerPath, ce as injectFontPicker, N as injectImageUpload, Z as isEditableEventTarget, x as isUpperHalf, O as layerRoleAt, ge as measureCursorAnchor, U as pathPickerEntries, z as placePopupInViewport, k as readField, G as rowsPathPickerSource, B as rowsPathValueDrifts, de as selectionFieldMergeKey, te as shortcutActionLabel, q as stripResourceTemplate, he as uploadFileFromDom, we as useCnTheme, re as useDataSourceSchema, Y as useDataSourceSchemaRejection, r as useDpr, ne as useDropdownMenu, le as useExpressionCompletion, ae as useExpressionDiagnostics, o as useFindSession, Te as useHistory, C as useLayerPanel, P as usePropertyPanel, _e as useSelection, Ee as useShortcuts, Se as useShortcutsHelp, g as useTextEditing, ie as useTransientFeedback, ve as useViewport, i as watchDprChanges };
|