@pdfme/common 1.0.0 → 1.0.3
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.js +1 -1
- package/dist/index.js.LICENSE.txt +1 -1
- package/dist/index.js.map +1 -1
- package/dist/types/schema.d.ts +2 -2
- package/package.json +1 -1
- package/src/helper.ts +1 -1
package/dist/types/schema.d.ts
CHANGED
@@ -2150,8 +2150,8 @@ export declare const PreviewProps: z.ZodObject<z.extendShape<z.extendShape<{
|
|
2150
2150
|
}>[];
|
2151
2151
|
basePdf: string | ArrayBuffer | Uint8Array;
|
2152
2152
|
};
|
2153
|
-
inputs: Record<string, string>[];
|
2154
2153
|
domContainer: HTMLElement;
|
2154
|
+
inputs: Record<string, string>[];
|
2155
2155
|
}, {
|
2156
2156
|
options?: {
|
2157
2157
|
font?: Record<string, {
|
@@ -2201,8 +2201,8 @@ export declare const PreviewProps: z.ZodObject<z.extendShape<z.extendShape<{
|
|
2201
2201
|
}>[];
|
2202
2202
|
basePdf: string | ArrayBuffer | Uint8Array;
|
2203
2203
|
};
|
2204
|
-
inputs: Record<string, string>[];
|
2205
2204
|
domContainer: HTMLElement;
|
2205
|
+
inputs: Record<string, string>[];
|
2206
2206
|
}>;
|
2207
2207
|
export declare const PreviewReactProps: z.ZodObject<z.extendShape<{
|
2208
2208
|
options: z.ZodOptional<z.ZodObject<z.extendShape<{
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@pdfme/common",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.3",
|
4
4
|
"author": "hand-dot",
|
5
5
|
"license": "MIT",
|
6
6
|
"description": "TypeScript base PDF generator and React base UI. Open source, developed by the community, and completely free to use under the MIT license!",
|
package/src/helper.ts
CHANGED
@@ -206,7 +206,7 @@ export const validateBarcodeInput = (type: BarCodeType, input: string) => {
|
|
206
206
|
// 有効文字は漢字、ひらがな、カタカナ以外。
|
207
207
|
// https://qiita.com/graminume/items/2ac8dd9c32277fa9da64
|
208
208
|
return !input.match(
|
209
|
-
/([\u30a0-\u30ff\u3040-\u309f\u3005-\u3006\u30e0-\u9fcf]|[A-Za-z0-9!"#$%&'()*+,-./:;<=>?@[\]^_`{|}〜])+/
|
209
|
+
/([\u30a0-\u30ff\u3040-\u309f\u3005-\u3006\u30e0-\u9fcf]|[A-Za-z0-9!"#$%&'()*+,-./:;<=>?@[\]^_`{|}〜 ])+/
|
210
210
|
);
|
211
211
|
}
|
212
212
|
if (type === 'nw7') {
|