@pdfme/ui 5.4.0-dev.4 → 5.4.0-dev.5
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.es.js +9 -9
- package/dist/index.umd.js +9 -9
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
@@ -79901,7 +79901,7 @@ const DEFAULT_OPACITY = 1, HEX_COLOR_PATTERN = "^#(?:[A-Fa-f0-9]{6})$", getBody$
|
|
79901
79901
|
});
|
79902
79902
|
};
|
79903
79903
|
/**
|
79904
|
-
* @license lucide v0.
|
79904
|
+
* @license lucide v0.511.0 - ISC
|
79905
79905
|
*
|
79906
79906
|
* This source code is licensed under the ISC license.
|
79907
79907
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -79912,7 +79912,7 @@ const AlignCenter = [
|
|
79912
79912
|
["path", { d: "M21 6H3" }]
|
79913
79913
|
];
|
79914
79914
|
/**
|
79915
|
-
* @license lucide v0.
|
79915
|
+
* @license lucide v0.511.0 - ISC
|
79916
79916
|
*
|
79917
79917
|
* This source code is licensed under the ISC license.
|
79918
79918
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -79923,7 +79923,7 @@ const AlignJustify = [
|
|
79923
79923
|
["path", { d: "M3 6h18" }]
|
79924
79924
|
];
|
79925
79925
|
/**
|
79926
|
-
* @license lucide v0.
|
79926
|
+
* @license lucide v0.511.0 - ISC
|
79927
79927
|
*
|
79928
79928
|
* This source code is licensed under the ISC license.
|
79929
79929
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -79934,7 +79934,7 @@ const AlignLeft = [
|
|
79934
79934
|
["path", { d: "M21 6H3" }]
|
79935
79935
|
];
|
79936
79936
|
/**
|
79937
|
-
* @license lucide v0.
|
79937
|
+
* @license lucide v0.511.0 - ISC
|
79938
79938
|
*
|
79939
79939
|
* This source code is licensed under the ISC license.
|
79940
79940
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -79945,7 +79945,7 @@ const AlignRight = [
|
|
79945
79945
|
["path", { d: "M21 6H3" }]
|
79946
79946
|
];
|
79947
79947
|
/**
|
79948
|
-
* @license lucide v0.
|
79948
|
+
* @license lucide v0.511.0 - ISC
|
79949
79949
|
*
|
79950
79950
|
* This source code is licensed under the ISC license.
|
79951
79951
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -79956,7 +79956,7 @@ const ArrowDownToLine = [
|
|
79956
79956
|
["path", { d: "M19 21H5" }]
|
79957
79957
|
];
|
79958
79958
|
/**
|
79959
|
-
* @license lucide v0.
|
79959
|
+
* @license lucide v0.511.0 - ISC
|
79960
79960
|
*
|
79961
79961
|
* This source code is licensed under the ISC license.
|
79962
79962
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -79967,7 +79967,7 @@ const ArrowUpToLine = [
|
|
79967
79967
|
["path", { d: "M12 7v14" }]
|
79968
79968
|
];
|
79969
79969
|
/**
|
79970
|
-
* @license lucide v0.
|
79970
|
+
* @license lucide v0.511.0 - ISC
|
79971
79971
|
*
|
79972
79972
|
* This source code is licensed under the ISC license.
|
79973
79973
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -79978,7 +79978,7 @@ const Strikethrough = [
|
|
79978
79978
|
["line", { x1: "4", x2: "20", y1: "12", y2: "12" }]
|
79979
79979
|
];
|
79980
79980
|
/**
|
79981
|
-
* @license lucide v0.
|
79981
|
+
* @license lucide v0.511.0 - ISC
|
79982
79982
|
*
|
79983
79983
|
* This source code is licensed under the ISC license.
|
79984
79984
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -79991,7 +79991,7 @@ const TextCursorInput = [
|
|
79991
79991
|
["path", { d: "M9 6v12" }]
|
79992
79992
|
];
|
79993
79993
|
/**
|
79994
|
-
* @license lucide v0.
|
79994
|
+
* @license lucide v0.511.0 - ISC
|
79995
79995
|
*
|
79996
79996
|
* This source code is licensed under the ISC license.
|
79997
79997
|
* See the LICENSE file in the root directory of this source tree.
|
package/dist/index.umd.js
CHANGED
@@ -138,47 +138,47 @@ endstream`,s}copyBytesInto(s,c){this.updateDict();const u=c;c+=this.dict.copyByt
|
|
138
138
|
`,""),V=widthOfTextAtSize(K,y,m,_),q=heightOfFontAtSize(y,m),Z=I*m*z;O===""&&(O=`\r
|
139
139
|
`);let J=M;S==="center"?J+=(R-V)/2:S==="right"&&(J+=R-V);let te=E-mm2pt(v.position.y)-F-Z;if(v.strikethrough&&V>0){const G=J+V+1,Y=te+q/3;d.drawLine({start:rotatePoint({x:J,y:Y},U,B.angle),end:rotatePoint({x:G,y:Y},U,B.angle),thickness:1/12*m,color:C,opacity:D})}if(v.underline&&V>0){const G=J+V+1,Y=te-q/12;d.drawLine({start:rotatePoint({x:J,y:Y},U,B.angle),end:rotatePoint({x:G,y:Y},U,B.angle),thickness:1/12*m,color:C,opacity:D})}if(B.angle!==0){const G=rotatePoint({x:J,y:te},U,B.angle);J=G.x,te=G.y}let ne=_;if(S==="justify"&&O.slice(-1)!==`
|
140
140
|
`){const G=N.segment(K)[Symbol.iterator](),Y=Array.from(G).length;ne+=(R-V)/Y}d.pushOperators(u.setCharacterSpacing(ne)),d.drawText(K,{x:J,y:te,rotate:B,size:m,color:C,lineHeight:I*m,font:P,opacity:D})})};/**
|
141
|
-
* @license lucide v0.
|
141
|
+
* @license lucide v0.511.0 - ISC
|
142
142
|
*
|
143
143
|
* This source code is licensed under the ISC license.
|
144
144
|
* See the LICENSE file in the root directory of this source tree.
|
145
145
|
*/const AlignCenter=[["path",{d:"M17 12H7"}],["path",{d:"M19 18H5"}],["path",{d:"M21 6H3"}]];/**
|
146
|
-
* @license lucide v0.
|
146
|
+
* @license lucide v0.511.0 - ISC
|
147
147
|
*
|
148
148
|
* This source code is licensed under the ISC license.
|
149
149
|
* See the LICENSE file in the root directory of this source tree.
|
150
150
|
*/const AlignJustify=[["path",{d:"M3 12h18"}],["path",{d:"M3 18h18"}],["path",{d:"M3 6h18"}]];/**
|
151
|
-
* @license lucide v0.
|
151
|
+
* @license lucide v0.511.0 - ISC
|
152
152
|
*
|
153
153
|
* This source code is licensed under the ISC license.
|
154
154
|
* See the LICENSE file in the root directory of this source tree.
|
155
155
|
*/const AlignLeft=[["path",{d:"M15 12H3"}],["path",{d:"M17 18H3"}],["path",{d:"M21 6H3"}]];/**
|
156
|
-
* @license lucide v0.
|
156
|
+
* @license lucide v0.511.0 - ISC
|
157
157
|
*
|
158
158
|
* This source code is licensed under the ISC license.
|
159
159
|
* See the LICENSE file in the root directory of this source tree.
|
160
160
|
*/const AlignRight=[["path",{d:"M21 12H9"}],["path",{d:"M21 18H7"}],["path",{d:"M21 6H3"}]];/**
|
161
|
-
* @license lucide v0.
|
161
|
+
* @license lucide v0.511.0 - ISC
|
162
162
|
*
|
163
163
|
* This source code is licensed under the ISC license.
|
164
164
|
* See the LICENSE file in the root directory of this source tree.
|
165
165
|
*/const ArrowDownToLine=[["path",{d:"M12 17V3"}],["path",{d:"m6 11 6 6 6-6"}],["path",{d:"M19 21H5"}]];/**
|
166
|
-
* @license lucide v0.
|
166
|
+
* @license lucide v0.511.0 - ISC
|
167
167
|
*
|
168
168
|
* This source code is licensed under the ISC license.
|
169
169
|
* See the LICENSE file in the root directory of this source tree.
|
170
170
|
*/const ArrowUpToLine=[["path",{d:"M5 3h14"}],["path",{d:"m18 13-6-6-6 6"}],["path",{d:"M12 7v14"}]];/**
|
171
|
-
* @license lucide v0.
|
171
|
+
* @license lucide v0.511.0 - ISC
|
172
172
|
*
|
173
173
|
* This source code is licensed under the ISC license.
|
174
174
|
* See the LICENSE file in the root directory of this source tree.
|
175
175
|
*/const Strikethrough=[["path",{d:"M16 4H9a3 3 0 0 0-2.83 4"}],["path",{d:"M14 12a4 4 0 0 1 0 8H6"}],["line",{x1:"4",x2:"20",y1:"12",y2:"12"}]];/**
|
176
|
-
* @license lucide v0.
|
176
|
+
* @license lucide v0.511.0 - ISC
|
177
177
|
*
|
178
178
|
* This source code is licensed under the ISC license.
|
179
179
|
* See the LICENSE file in the root directory of this source tree.
|
180
180
|
*/const TextCursorInput=[["path",{d:"M12 20h-1a2 2 0 0 1-2-2 2 2 0 0 1-2 2H6"}],["path",{d:"M13 8h7a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-7"}],["path",{d:"M5 16H4a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2h1"}],["path",{d:"M6 4h1a2 2 0 0 1 2 2 2 2 0 0 1 2-2h1"}],["path",{d:"M9 6v12"}]];/**
|
181
|
-
* @license lucide v0.
|
181
|
+
* @license lucide v0.511.0 - ISC
|
182
182
|
*
|
183
183
|
* This source code is licensed under the ISC license.
|
184
184
|
* See the LICENSE file in the root directory of this source tree.
|