@pdfme/ui 2.2.0 → 3.0.0-beta.2
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 +33 -35
- package/__mocks__/form-render.js +7 -0
- package/dist/index.js +1 -1
- package/dist/index.js.LICENSE.txt +42 -4
- package/dist/index.js.map +1 -1
- package/dist/types/Designer.d.ts +3 -0
- package/dist/types/builtInPropPanel.d.ts +3 -0
- package/dist/types/builtInRenderer.d.ts +3 -0
- package/dist/types/class.d.ts +18 -38
- package/dist/types/components/CtlBar/Pager.d.ts +3 -2
- package/dist/types/components/CtlBar/Zoom.d.ts +3 -2
- package/dist/types/components/CtlBar/index.d.ts +3 -2
- package/dist/types/components/Designer/{Main → Canvas}/Guides.d.ts +2 -2
- package/dist/types/components/Designer/Canvas/Mask.d.ts +4 -0
- package/dist/types/components/Designer/Canvas/Moveable.d.ts +37 -0
- package/dist/types/components/Designer/{Main → Canvas}/Selecto.d.ts +2 -1
- package/dist/types/components/Designer/{Main → Canvas}/index.d.ts +3 -6
- package/dist/types/components/Designer/Sidebar/DetailView/AlignWidget.d.ts +4 -0
- package/dist/types/components/Designer/Sidebar/DetailView/WidgetRenderer.d.ts +7 -0
- package/dist/types/components/Designer/Sidebar/DetailView/index.d.ts +5 -4
- package/dist/types/components/Designer/Sidebar/ListView/SelectableSortableContainer.d.ts +3 -2
- package/dist/types/components/Designer/Sidebar/ListView/SelectableSortableItem.d.ts +1 -1
- package/dist/types/components/Designer/Sidebar/ListView/index.d.ts +3 -2
- package/dist/types/components/Designer/Sidebar/index.d.ts +3 -23
- package/dist/types/components/Designer/index.d.ts +6 -107
- package/dist/types/components/Divider.d.ts +2 -1
- package/dist/types/components/ErrorScreen.d.ts +7 -0
- package/dist/types/components/Paper.d.ts +3 -2
- package/dist/types/components/Preview.d.ts +10 -2
- package/dist/types/components/Renderer.d.ts +10 -0
- package/dist/types/components/Root.d.ts +1 -1
- package/dist/types/components/Spinner.d.ts +2 -1
- package/dist/types/components/UnitPager.d.ts +3 -2
- package/dist/types/constants.d.ts +3 -3
- package/dist/types/contexts.d.ts +4 -1
- package/dist/types/helper.d.ts +4 -46
- package/dist/types/hooks.d.ts +2 -2
- package/dist/types/i18n.d.ts +4 -2
- package/dist/types/index.d.ts +1 -4
- package/dist/types/types.d.ts +25 -0
- package/package.json +19 -8
- package/src/Designer.tsx +69 -21
- package/src/Form.tsx +18 -14
- package/src/Viewer.tsx +6 -2
- package/src/builtInPropPanel.ts +5 -0
- package/src/builtInRenderer.ts +5 -0
- package/src/class.ts +25 -2
- package/src/components/CtlBar/index.tsx +4 -7
- package/src/components/Designer/{Main → Canvas}/Guides.tsx +2 -2
- package/src/components/Designer/{Main → Canvas}/Moveable.tsx +23 -19
- package/src/components/Designer/{Main → Canvas}/index.tsx +77 -30
- package/src/components/Designer/Sidebar/DetailView/AlignWidget.tsx +182 -0
- package/src/components/Designer/Sidebar/DetailView/WidgetRenderer.tsx +28 -0
- package/src/components/Designer/Sidebar/DetailView/index.tsx +153 -22
- package/src/components/Designer/Sidebar/ListView/Item.tsx +1 -1
- package/src/components/Designer/Sidebar/ListView/SelectableSortableContainer.tsx +6 -6
- package/src/components/Designer/Sidebar/ListView/index.tsx +1 -4
- package/src/components/Designer/Sidebar/index.tsx +26 -60
- package/src/components/Designer/index.tsx +53 -32
- package/src/components/{Error.tsx → ErrorScreen.tsx} +2 -2
- package/src/components/Paper.tsx +35 -9
- package/src/components/Preview.tsx +48 -50
- package/src/components/Renderer.tsx +90 -0
- package/src/components/Root.tsx +5 -1
- package/src/constants.ts +4 -4
- package/src/contexts.ts +7 -0
- package/src/helper.ts +19 -122
- package/src/hooks.ts +6 -5
- package/src/i18n.ts +48 -11
- package/src/index.ts +1 -76
- package/src/types.ts +36 -0
- package/tsconfig.json +2 -1
- package/webpack.config.js +6 -1
- package/dist/types/components/Designer/Main/Mask.d.ts +0 -3
- package/dist/types/components/Designer/Main/Moveable.d.ts +0 -31
- package/dist/types/components/Designer/Sidebar/DetailView/ExampleInputEditor.d.ts +0 -6
- package/dist/types/components/Designer/Sidebar/DetailView/PositionAndSizeEditor.d.ts +0 -6
- package/dist/types/components/Designer/Sidebar/DetailView/TextPropEditor.d.ts +0 -6
- package/dist/types/components/Designer/Sidebar/DetailView/TypeAndKeyEditor.d.ts +0 -6
- package/dist/types/components/Error.d.ts +0 -6
- package/dist/types/components/Schemas/BarcodeSchema.d.ts +0 -15
- package/dist/types/components/Schemas/ImageSchema.d.ts +0 -15
- package/dist/types/components/Schemas/SchemaUI.d.ts +0 -15
- package/dist/types/components/Schemas/TextSchema.d.ts +0 -28
- package/src/components/Designer/Sidebar/DetailView/ExampleInputEditor.tsx +0 -85
- package/src/components/Designer/Sidebar/DetailView/PositionAndSizeEditor.tsx +0 -275
- package/src/components/Designer/Sidebar/DetailView/TextPropEditor.tsx +0 -357
- package/src/components/Designer/Sidebar/DetailView/TypeAndKeyEditor.tsx +0 -87
- package/src/components/Schemas/BarcodeSchema.tsx +0 -124
- package/src/components/Schemas/ImageSchema.tsx +0 -87
- package/src/components/Schemas/SchemaUI.tsx +0 -62
- package/src/components/Schemas/TextSchema.tsx +0 -175
- /package/src/components/Designer/{Main → Canvas}/Mask.tsx +0 -0
- /package/src/components/Designer/{Main → Canvas}/Selecto.tsx +0 -0
@@ -4,9 +4,15 @@ object-assign
|
|
4
4
|
@license MIT
|
5
5
|
*/
|
6
6
|
|
7
|
+
/*!
|
8
|
+
Copyright (c) 2018 Jed Watson.
|
9
|
+
Licensed under the MIT License (MIT), see
|
10
|
+
http://jedwatson.github.io/classnames
|
11
|
+
*/
|
12
|
+
|
7
13
|
/*!
|
8
14
|
* @name @pdfme/ui
|
9
|
-
* @version
|
15
|
+
* @version 3.0.0-beta.2 | Sun Oct 29 2023
|
10
16
|
* @author hand-dot
|
11
17
|
* @license MIT
|
12
18
|
*/
|
@@ -54,6 +60,38 @@ and limitations under the License.
|
|
54
60
|
|
55
61
|
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
56
62
|
|
63
|
+
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
64
|
+
|
65
|
+
/**
|
66
|
+
* @license React
|
67
|
+
* react-is.production.min.js
|
68
|
+
*
|
69
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
70
|
+
*
|
71
|
+
* This source code is licensed under the MIT license found in the
|
72
|
+
* LICENSE file in the root directory of this source tree.
|
73
|
+
*/
|
74
|
+
|
75
|
+
/**
|
76
|
+
* @license React
|
77
|
+
* use-sync-external-store-shim.production.min.js
|
78
|
+
*
|
79
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
80
|
+
*
|
81
|
+
* This source code is licensed under the MIT license found in the
|
82
|
+
* LICENSE file in the root directory of this source tree.
|
83
|
+
*/
|
84
|
+
|
85
|
+
/**
|
86
|
+
* @license React
|
87
|
+
* use-sync-external-store-shim/with-selector.production.min.js
|
88
|
+
*
|
89
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
90
|
+
*
|
91
|
+
* This source code is licensed under the MIT license found in the
|
92
|
+
* LICENSE file in the root directory of this source tree.
|
93
|
+
*/
|
94
|
+
|
57
95
|
/**
|
58
96
|
* @licstart The following is the entire license notice for the
|
59
97
|
* Javascript code in this page
|
@@ -76,7 +114,7 @@ and limitations under the License.
|
|
76
114
|
* Javascript code in this page
|
77
115
|
*/
|
78
116
|
|
79
|
-
/** @license React v0.
|
117
|
+
/** @license React v0.19.1
|
80
118
|
* scheduler.production.min.js
|
81
119
|
*
|
82
120
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
@@ -85,7 +123,7 @@ and limitations under the License.
|
|
85
123
|
* LICENSE file in the root directory of this source tree.
|
86
124
|
*/
|
87
125
|
|
88
|
-
/** @license React
|
126
|
+
/** @license React v16.14.0
|
89
127
|
* react-dom.production.min.js
|
90
128
|
*
|
91
129
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
@@ -94,7 +132,7 @@ and limitations under the License.
|
|
94
132
|
* LICENSE file in the root directory of this source tree.
|
95
133
|
*/
|
96
134
|
|
97
|
-
/** @license React
|
135
|
+
/** @license React v16.14.0
|
98
136
|
* react.production.min.js
|
99
137
|
*
|
100
138
|
* Copyright (c) Facebook, Inc. and its affiliates.
|