@1urso/generic-editor 0.1.75 → 0.1.77
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/editor/utils/helpers.d.ts +2 -0
- package/dist/generic-editor.js +1541 -1451
- package/dist/generic-editor.umd.cjs +21 -20
- package/package.json +1 -1
|
@@ -11,4 +11,6 @@ export declare const normalizeFontWeightForSelect: (value: string | number | und
|
|
|
11
11
|
/** Ensures font is in the list. If not, adds it at the beginning for Radix Select. */
|
|
12
12
|
export declare const ensureFontInOptions: (currentFont: string, fontList: string[]) => string[];
|
|
13
13
|
export declare const formatValue: (value: unknown, formatting: IElementFormatting) => string;
|
|
14
|
+
/** Verifica se o valor parece ser uma URL válida para imagem (http, https, data:, ou caminho relativo). */
|
|
15
|
+
export declare const isValidImageUrl: (value: unknown) => boolean;
|
|
14
16
|
export declare const checkCondition: (propValue: unknown, operator: string, ruleValue: string) => boolean;
|