@ikas/component-cli 1.4.0-beta.23 → 1.4.0-beta.231
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/build-tools.d.ts +37 -0
- package/dist/build-tools.d.ts.map +1 -0
- package/dist/build-tools.js +36 -0
- package/dist/build-tools.js.map +1 -0
- package/dist/commands/add-sections-to-page.d.ts +3 -0
- package/dist/commands/add-sections-to-page.d.ts.map +1 -0
- package/dist/commands/add-sections-to-page.js +39 -0
- package/dist/commands/add-sections-to-page.js.map +1 -0
- package/dist/commands/add-to-page.js +1 -1
- package/dist/commands/add-to-page.js.map +1 -1
- package/dist/commands/add.d.ts.map +1 -1
- package/dist/commands/add.js +11 -2
- package/dist/commands/add.js.map +1 -1
- package/dist/commands/build.d.ts.map +1 -1
- package/dist/commands/build.js +23 -170
- package/dist/commands/build.js.map +1 -1
- package/dist/commands/config-texts.d.ts +39 -0
- package/dist/commands/config-texts.d.ts.map +1 -0
- package/dist/commands/config-texts.js +192 -0
- package/dist/commands/config-texts.js.map +1 -0
- package/dist/commands/config.d.ts +45 -0
- package/dist/commands/config.d.ts.map +1 -1
- package/dist/commands/config.js +1205 -154
- package/dist/commands/config.js.map +1 -1
- package/dist/commands/create-design-tokens.d.ts +24 -0
- package/dist/commands/create-design-tokens.d.ts.map +1 -0
- package/dist/commands/create-design-tokens.js +388 -0
- package/dist/commands/create-design-tokens.js.map +1 -0
- package/dist/commands/create-global-variable.d.ts +3 -0
- package/dist/commands/create-global-variable.d.ts.map +1 -0
- package/dist/commands/create-global-variable.js +73 -0
- package/dist/commands/create-global-variable.js.map +1 -0
- package/dist/commands/create-page.d.ts +3 -0
- package/dist/commands/create-page.d.ts.map +1 -0
- package/dist/commands/create-page.js +31 -0
- package/dist/commands/create-page.js.map +1 -0
- package/dist/commands/delete-page.d.ts +3 -0
- package/dist/commands/delete-page.d.ts.map +1 -0
- package/dist/commands/delete-page.js +28 -0
- package/dist/commands/delete-page.js.map +1 -0
- package/dist/commands/delete-theme-globals.d.ts +4 -0
- package/dist/commands/delete-theme-globals.d.ts.map +1 -0
- package/dist/commands/delete-theme-globals.js +50 -0
- package/dist/commands/delete-theme-globals.js.map +1 -0
- package/dist/commands/dev.d.ts.map +1 -1
- package/dist/commands/dev.js +328 -39
- package/dist/commands/dev.js.map +1 -1
- package/dist/commands/enable-builtin-pages.d.ts +3 -0
- package/dist/commands/enable-builtin-pages.d.ts.map +1 -0
- package/dist/commands/enable-builtin-pages.js +28 -0
- package/dist/commands/enable-builtin-pages.js.map +1 -0
- package/dist/commands/get-component-props.d.ts +3 -0
- package/dist/commands/get-component-props.d.ts.map +1 -0
- package/dist/commands/get-component-props.js +32 -0
- package/dist/commands/get-component-props.js.map +1 -0
- package/dist/commands/get-page-by-type.d.ts +3 -0
- package/dist/commands/get-page-by-type.d.ts.map +1 -0
- package/dist/commands/get-page-by-type.js +25 -0
- package/dist/commands/get-page-by-type.js.map +1 -0
- package/dist/commands/get-section-values.d.ts +3 -0
- package/dist/commands/get-section-values.d.ts.map +1 -0
- package/dist/commands/get-section-values.js +43 -0
- package/dist/commands/get-section-values.js.map +1 -0
- package/dist/commands/import.js +1 -1
- package/dist/commands/import.js.map +1 -1
- package/dist/commands/list-builtin-pages.d.ts +3 -0
- package/dist/commands/list-builtin-pages.d.ts.map +1 -0
- package/dist/commands/list-builtin-pages.js +28 -0
- package/dist/commands/list-builtin-pages.js.map +1 -0
- package/dist/commands/list-entities.d.ts +3 -0
- package/dist/commands/list-entities.d.ts.map +1 -0
- package/dist/commands/list-entities.js +32 -0
- package/dist/commands/list-entities.js.map +1 -0
- package/dist/commands/list-imported.js +1 -1
- package/dist/commands/list-imported.js.map +1 -1
- package/dist/commands/list-page-sections.d.ts +3 -0
- package/dist/commands/list-page-sections.d.ts.map +1 -0
- package/dist/commands/list-page-sections.js +31 -0
- package/dist/commands/list-page-sections.js.map +1 -0
- package/dist/commands/list-pages.js +1 -1
- package/dist/commands/list-pages.js.map +1 -1
- package/dist/commands/list-theme-globals.d.ts +3 -0
- package/dist/commands/list-theme-globals.d.ts.map +1 -0
- package/dist/commands/list-theme-globals.js +22 -0
- package/dist/commands/list-theme-globals.js.map +1 -0
- package/dist/commands/list-translations.d.ts +3 -0
- package/dist/commands/list-translations.d.ts.map +1 -0
- package/dist/commands/list-translations.js +33 -0
- package/dist/commands/list-translations.js.map +1 -0
- package/dist/commands/move-page-section.d.ts +3 -0
- package/dist/commands/move-page-section.d.ts.map +1 -0
- package/dist/commands/move-page-section.js +62 -0
- package/dist/commands/move-page-section.js.map +1 -0
- package/dist/commands/publish-theme.d.ts +3 -0
- package/dist/commands/publish-theme.d.ts.map +1 -0
- package/dist/commands/publish-theme.js +29 -0
- package/dist/commands/publish-theme.js.map +1 -0
- package/dist/commands/publish.d.ts.map +1 -1
- package/dist/commands/publish.js +72 -3
- package/dist/commands/publish.js.map +1 -1
- package/dist/commands/remove-page-section.d.ts +3 -0
- package/dist/commands/remove-page-section.d.ts.map +1 -0
- package/dist/commands/remove-page-section.js +40 -0
- package/dist/commands/remove-page-section.js.map +1 -0
- package/dist/commands/search-products.d.ts +3 -0
- package/dist/commands/search-products.d.ts.map +1 -0
- package/dist/commands/search-products.js +40 -0
- package/dist/commands/search-products.js.map +1 -0
- package/dist/commands/translation-languages.d.ts +3 -0
- package/dist/commands/translation-languages.d.ts.map +1 -0
- package/dist/commands/translation-languages.js +43 -0
- package/dist/commands/translation-languages.js.map +1 -0
- package/dist/commands/update-builtin-page-prop.d.ts +3 -0
- package/dist/commands/update-builtin-page-prop.d.ts.map +1 -0
- package/dist/commands/update-builtin-page-prop.js +49 -0
- package/dist/commands/update-builtin-page-prop.js.map +1 -0
- package/dist/commands/update-global-variable.d.ts +3 -0
- package/dist/commands/update-global-variable.d.ts.map +1 -0
- package/dist/commands/update-global-variable.js +70 -0
- package/dist/commands/update-global-variable.js.map +1 -0
- package/dist/commands/update-page-sections.d.ts +3 -0
- package/dist/commands/update-page-sections.d.ts.map +1 -0
- package/dist/commands/update-page-sections.js +42 -0
- package/dist/commands/update-page-sections.js.map +1 -0
- package/dist/commands/update-section-prop.d.ts +3 -0
- package/dist/commands/update-section-prop.d.ts.map +1 -0
- package/dist/commands/update-section-prop.js +81 -0
- package/dist/commands/update-section-prop.js.map +1 -0
- package/dist/commands/update-translations.d.ts +3 -0
- package/dist/commands/update-translations.d.ts.map +1 -0
- package/dist/commands/update-translations.js +45 -0
- package/dist/commands/update-translations.js.map +1 -0
- package/dist/commands/upload-image.d.ts +3 -0
- package/dist/commands/upload-image.d.ts.map +1 -0
- package/dist/commands/upload-image.js +38 -0
- package/dist/commands/upload-image.js.map +1 -0
- package/dist/commands/upload-images.d.ts +3 -0
- package/dist/commands/upload-images.d.ts.map +1 -0
- package/dist/commands/upload-images.js +48 -0
- package/dist/commands/upload-images.js.map +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +66 -1
- package/dist/index.js.map +1 -1
- package/dist/types.d.ts +77 -0
- package/dist/types.d.ts.map +1 -1
- package/dist/utils/archive-project.d.ts +50 -0
- package/dist/utils/archive-project.d.ts.map +1 -0
- package/dist/utils/archive-project.js +178 -0
- package/dist/utils/archive-project.js.map +1 -0
- package/dist/utils/compile.d.ts +17 -2
- package/dist/utils/compile.d.ts.map +1 -1
- package/dist/utils/compile.js +742 -109
- package/dist/utils/compile.js.map +1 -1
- package/dist/utils/component-helpers.d.ts +236 -4
- package/dist/utils/component-helpers.d.ts.map +1 -1
- package/dist/utils/component-helpers.js +656 -37
- package/dist/utils/component-helpers.js.map +1 -1
- package/dist/utils/css-import-resolver.d.ts +4 -1
- package/dist/utils/css-import-resolver.d.ts.map +1 -1
- package/dist/utils/css-import-resolver.js +9 -1
- package/dist/utils/css-import-resolver.js.map +1 -1
- package/dist/utils/dev-server-auth.d.ts +28 -0
- package/dist/utils/dev-server-auth.d.ts.map +1 -0
- package/dist/utils/dev-server-auth.js +79 -0
- package/dist/utils/dev-server-auth.js.map +1 -0
- package/dist/utils/editor-action-client.d.ts +20 -3
- package/dist/utils/editor-action-client.d.ts.map +1 -1
- package/dist/utils/editor-action-client.js +81 -19
- package/dist/utils/editor-action-client.js.map +1 -1
- package/dist/utils/esm-transform.d.ts +30 -0
- package/dist/utils/esm-transform.d.ts.map +1 -1
- package/dist/utils/esm-transform.js +169 -2
- package/dist/utils/esm-transform.js.map +1 -1
- package/dist/utils/find-component-for-file.d.ts +12 -0
- package/dist/utils/find-component-for-file.d.ts.map +1 -0
- package/dist/utils/find-component-for-file.js +24 -0
- package/dist/utils/find-component-for-file.js.map +1 -0
- package/dist/utils/forbid-deep-imports.d.ts +3 -0
- package/dist/utils/forbid-deep-imports.d.ts.map +1 -0
- package/dist/utils/forbid-deep-imports.js +54 -0
- package/dist/utils/forbid-deep-imports.js.map +1 -0
- package/dist/utils/forbid-external-packages.d.ts +26 -0
- package/dist/utils/forbid-external-packages.d.ts.map +1 -0
- package/dist/utils/forbid-external-packages.js +99 -0
- package/dist/utils/forbid-external-packages.js.map +1 -0
- package/dist/utils/i18n.d.ts +98 -0
- package/dist/utils/i18n.d.ts.map +1 -0
- package/dist/utils/i18n.js +408 -0
- package/dist/utils/i18n.js.map +1 -0
- package/dist/utils/load-image.d.ts +16 -0
- package/dist/utils/load-image.d.ts.map +1 -0
- package/dist/utils/load-image.js +50 -0
- package/dist/utils/load-image.js.map +1 -0
- package/dist/utils/storefront-t.d.ts +17 -0
- package/dist/utils/storefront-t.d.ts.map +1 -0
- package/dist/utils/storefront-t.js +187 -0
- package/dist/utils/storefront-t.js.map +1 -0
- package/dist/utils/vendor-storefront.d.ts +13 -0
- package/dist/utils/vendor-storefront.d.ts.map +1 -0
- package/dist/utils/vendor-storefront.js +91 -0
- package/dist/utils/vendor-storefront.js.map +1 -0
- package/dist/utils/websocket-server.d.ts +165 -7
- package/dist/utils/websocket-server.d.ts.map +1 -1
- package/dist/utils/websocket-server.js +326 -45
- package/dist/utils/websocket-server.js.map +1 -1
- package/package.json +19 -2
- package/templates/add/section.css +11 -0
- package/dist/commands/create.d.ts +0 -4
- package/dist/commands/create.d.ts.map +0 -1
- package/dist/commands/create.js +0 -176
- package/dist/commands/create.js.map +0 -1
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
import * as path from "path";
|
|
2
|
+
import { checkLocaleTexts, I18N_DEFAULT_FILE, I18N_SEGMENT_PATTERN, i18nDir, isLanguageCode, loadProjectI18n, localeKeys, malformedParams, readI18n, writeI18nFile, } from "../utils/i18n.js";
|
|
3
|
+
/** Where a project keeps its UI texts when its config names no folder yet. */
|
|
4
|
+
export const DEFAULT_I18N_DIR = "./src/i18n";
|
|
5
|
+
/** The texts as they are on disk; refused when a file breaks the rules, so a write never drops what it could not read. */
|
|
6
|
+
function readTexts(config, root) {
|
|
7
|
+
const dir = i18nDir(config, root);
|
|
8
|
+
if (!dir)
|
|
9
|
+
return {
|
|
10
|
+
error: "No UI texts yet: the config names no i18n folder.",
|
|
11
|
+
};
|
|
12
|
+
const read = readI18n(dir);
|
|
13
|
+
if (read.errors.length)
|
|
14
|
+
return {
|
|
15
|
+
error: `Fix the UI texts files first: ${read.errors.join(" ")}`,
|
|
16
|
+
};
|
|
17
|
+
return { dir, ...read };
|
|
18
|
+
}
|
|
19
|
+
/** Writes the generated `index.d.ts` (its typed keys) after a change. */
|
|
20
|
+
const regenerate = (config, root) => loadProjectI18n(config, undefined, root);
|
|
21
|
+
/**
|
|
22
|
+
* Adds or changes a UI text: the base text (`default.json`), or with `locale` a language's. Keys are dotted paths of
|
|
23
|
+
* identifiers (`common.addToCart`); a language's text needs the key in the base (or a plural form its rules add, see
|
|
24
|
+
* `localeBaseText`) and the base text's `{{params}}`.
|
|
25
|
+
*/
|
|
26
|
+
export function setText(config, options, root) {
|
|
27
|
+
const { key, text, locale } = options;
|
|
28
|
+
const segments = key.split(".");
|
|
29
|
+
if (segments.some((segment) => !I18N_SEGMENT_PATTERN.test(segment)))
|
|
30
|
+
return {
|
|
31
|
+
success: false,
|
|
32
|
+
error: `Key "${key}": each dotted part must be an identifier (letters, digits, _; not starting with a digit).`,
|
|
33
|
+
};
|
|
34
|
+
if (!text.trim())
|
|
35
|
+
return { success: false, error: `Key "${key}" needs a text.` };
|
|
36
|
+
if (malformedParams(text).length)
|
|
37
|
+
return {
|
|
38
|
+
success: false,
|
|
39
|
+
error: `Key "${key}": ${malformedParams(text).join(", ")} is no {{param}} (letters, digits, _; not starting with a digit).`,
|
|
40
|
+
};
|
|
41
|
+
if (locale !== undefined &&
|
|
42
|
+
(locale === I18N_DEFAULT_FILE || !isLanguageCode(locale)))
|
|
43
|
+
return {
|
|
44
|
+
success: false,
|
|
45
|
+
error: `"${locale}" is not a language code (en, de, pt-BR).`,
|
|
46
|
+
};
|
|
47
|
+
const configChanged = !config.i18n;
|
|
48
|
+
if (configChanged)
|
|
49
|
+
config.i18n = DEFAULT_I18N_DIR;
|
|
50
|
+
const read = readTexts(config, root);
|
|
51
|
+
if ("error" in read)
|
|
52
|
+
return { success: false, error: read.error };
|
|
53
|
+
if (locale) {
|
|
54
|
+
const checked = checkLocaleTexts(read.base, { [key]: text }, locale);
|
|
55
|
+
if (checked.errors.length)
|
|
56
|
+
return { success: false, error: checked.errors.join(" ") };
|
|
57
|
+
writeI18nFile(read.dir, locale, { ...read.locales[locale], [key]: text });
|
|
58
|
+
}
|
|
59
|
+
else {
|
|
60
|
+
// A path is a text or a group, never both
|
|
61
|
+
const clash = Object.keys(read.base).find((other) => other !== key &&
|
|
62
|
+
(other.startsWith(`${key}.`) || key.startsWith(`${other}.`)));
|
|
63
|
+
if (clash)
|
|
64
|
+
return {
|
|
65
|
+
success: false,
|
|
66
|
+
error: `Key "${key}" clashes with "${clash}": a key is a text or a group, not both.`,
|
|
67
|
+
};
|
|
68
|
+
// The languages' texts must keep using the base's params
|
|
69
|
+
const broken = Object.entries(read.locales).flatMap(([other, texts]) => key in texts
|
|
70
|
+
? checkLocaleTexts({ [key]: text }, { [key]: texts[key] }, other).errors
|
|
71
|
+
: []);
|
|
72
|
+
if (broken.length)
|
|
73
|
+
return {
|
|
74
|
+
success: false,
|
|
75
|
+
error: `Change the languages' texts first: ${broken.join(" ")}`,
|
|
76
|
+
};
|
|
77
|
+
writeI18nFile(read.dir, I18N_DEFAULT_FILE, { ...read.base, [key]: text });
|
|
78
|
+
}
|
|
79
|
+
regenerate(config, root);
|
|
80
|
+
return {
|
|
81
|
+
success: true,
|
|
82
|
+
key,
|
|
83
|
+
text,
|
|
84
|
+
...(locale ? { locale } : {}),
|
|
85
|
+
file: path.relative(root, path.join(read.dir, `${locale ?? I18N_DEFAULT_FILE}.json`)),
|
|
86
|
+
configChanged,
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
/** Removes a UI text: from the base and every language, or with `locale` only that language's. */
|
|
90
|
+
export function removeText(config, options, root) {
|
|
91
|
+
const { key, locale } = options;
|
|
92
|
+
const read = readTexts(config, root);
|
|
93
|
+
if ("error" in read)
|
|
94
|
+
return { success: false, error: read.error };
|
|
95
|
+
const texts = locale ? read.locales[locale] : read.base;
|
|
96
|
+
if (!texts || !(key in texts))
|
|
97
|
+
return {
|
|
98
|
+
success: false,
|
|
99
|
+
error: `No UI text "${key}"${locale ? ` in ${locale}` : ""}. Keys: ${Object.keys(texts ?? {}).join(", ") || "none"}.`,
|
|
100
|
+
};
|
|
101
|
+
const without = (from) => Object.fromEntries(Object.entries(from).filter(([other]) => other !== key));
|
|
102
|
+
if (locale)
|
|
103
|
+
writeI18nFile(read.dir, locale, without(texts));
|
|
104
|
+
else {
|
|
105
|
+
writeI18nFile(read.dir, I18N_DEFAULT_FILE, without(read.base));
|
|
106
|
+
Object.entries(read.locales).forEach(([other, otherTexts]) => {
|
|
107
|
+
if (key in otherTexts)
|
|
108
|
+
writeI18nFile(read.dir, other, without(otherTexts));
|
|
109
|
+
});
|
|
110
|
+
}
|
|
111
|
+
regenerate(config, root);
|
|
112
|
+
return { success: true, removed: key, ...(locale ? { locale } : {}) };
|
|
113
|
+
}
|
|
114
|
+
/**
|
|
115
|
+
* Renames a UI text, or a group with every text under it (`product` → `item`), in the base and every language. The
|
|
116
|
+
* code's `t()` calls keep the old key until changed: the type check reports them.
|
|
117
|
+
*/
|
|
118
|
+
export function renameText(config, options, root) {
|
|
119
|
+
const { key, to } = options;
|
|
120
|
+
if (to.split(".").some((segment) => !I18N_SEGMENT_PATTERN.test(segment)))
|
|
121
|
+
return {
|
|
122
|
+
success: false,
|
|
123
|
+
error: `Key "${to}": each dotted part must be an identifier (letters, digits, _; not starting with a digit).`,
|
|
124
|
+
};
|
|
125
|
+
const read = readTexts(config, root);
|
|
126
|
+
if ("error" in read)
|
|
127
|
+
return { success: false, error: read.error };
|
|
128
|
+
const moved = Object.keys(read.base).filter((other) => other === key || other.startsWith(`${key}.`));
|
|
129
|
+
if (!moved.length)
|
|
130
|
+
return {
|
|
131
|
+
success: false,
|
|
132
|
+
error: `No UI text or group "${key}". Keys: ${Object.keys(read.base).join(", ") || "none"}.`,
|
|
133
|
+
};
|
|
134
|
+
if (to === key)
|
|
135
|
+
return { success: false, error: "The new key is the same." };
|
|
136
|
+
const rename = (other) => to + other.slice(key.length);
|
|
137
|
+
// A path is a text or a group, never both: the new keys must not meet the texts that stay
|
|
138
|
+
const staying = Object.keys(read.base).filter((other) => !moved.includes(other));
|
|
139
|
+
const clash = moved
|
|
140
|
+
.map(rename)
|
|
141
|
+
.flatMap((next) => staying
|
|
142
|
+
.filter((other) => other === next ||
|
|
143
|
+
other.startsWith(`${next}.`) ||
|
|
144
|
+
next.startsWith(`${other}.`))
|
|
145
|
+
.map((other) => `"${next}" clashes with "${other}"`));
|
|
146
|
+
if (clash.length)
|
|
147
|
+
return {
|
|
148
|
+
success: false,
|
|
149
|
+
error: `${clash.join(", ")}: a key is a text or a group, not both.`,
|
|
150
|
+
};
|
|
151
|
+
const renamed = (texts) => Object.fromEntries(Object.entries(texts).map(([other, text]) => [
|
|
152
|
+
moved.includes(other) ? rename(other) : other,
|
|
153
|
+
text,
|
|
154
|
+
]));
|
|
155
|
+
writeI18nFile(read.dir, I18N_DEFAULT_FILE, renamed(read.base));
|
|
156
|
+
Object.entries(read.locales).forEach(([locale, texts]) => {
|
|
157
|
+
if (moved.some((other) => other in texts))
|
|
158
|
+
writeI18nFile(read.dir, locale, renamed(texts));
|
|
159
|
+
});
|
|
160
|
+
regenerate(config, root);
|
|
161
|
+
return {
|
|
162
|
+
success: true,
|
|
163
|
+
renamed: Object.fromEntries(moved.map((other) => [other, rename(other)])),
|
|
164
|
+
note: "Change the t() calls to the new keys: the type check (tsc, build) reports the old ones.",
|
|
165
|
+
};
|
|
166
|
+
}
|
|
167
|
+
/** The UI texts: the base ones, each language's, and the keys a language lacks. */
|
|
168
|
+
export function listTexts(config, root) {
|
|
169
|
+
const dir = i18nDir(config, root);
|
|
170
|
+
if (!dir)
|
|
171
|
+
return {
|
|
172
|
+
success: true,
|
|
173
|
+
dir: null,
|
|
174
|
+
base: {},
|
|
175
|
+
locales: {},
|
|
176
|
+
missing: {},
|
|
177
|
+
errors: [],
|
|
178
|
+
};
|
|
179
|
+
const read = readI18n(dir);
|
|
180
|
+
return {
|
|
181
|
+
success: true,
|
|
182
|
+
dir: path.relative(root, dir),
|
|
183
|
+
base: read.base,
|
|
184
|
+
locales: read.locales,
|
|
185
|
+
missing: Object.fromEntries(Object.entries(read.locales).map(([locale, texts]) => [
|
|
186
|
+
locale,
|
|
187
|
+
localeKeys(read.base, locale).filter((key) => !(key in texts)),
|
|
188
|
+
])),
|
|
189
|
+
errors: read.errors,
|
|
190
|
+
};
|
|
191
|
+
}
|
|
192
|
+
//# sourceMappingURL=config-texts.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config-texts.js","sourceRoot":"","sources":["../../src/commands/config-texts.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,IAAI,MAAM,MAAM,CAAC;AAG7B,OAAO,EACL,gBAAgB,EAChB,iBAAiB,EACjB,oBAAoB,EACpB,OAAO,EACP,cAAc,EACd,e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mFAAmF;AACnF,MAAM,UAAU,SAAS,CAAC,MAA2B,EAAE,IAAY;IACjE,MAAM,GAAG,GAAG,OAAO,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;IAClC,IAAI,CAAC,GAAG;QACN,OAAO;YACL,OAAO,EAAE,IAAI;YACb,GAAG,EAAE,IAAI;YACT,IAAI,EAAE,EAAE;YACR,OAAO,EAAE,EAAE;YACX,OAAO,EAAE,EAAE;YACX,MAAM,EAAE,EAAE;SACX,CAAC;IACJ,MAAM,IAAI,GAAG,QAAQ,CAAC,GAAG,CAAC,CAAC;IAC3B,OAAO;QACL,OAAO,EAAE,IAAI;QACb,GAAG,EAAE,IAAI,CAAC,QAAQ,CAAC,IAAI,EAAE,GAAG,CAAC;QAC7B,IAAI,EAAE,IAAI,CAAC,IAAI;QACf,OAAO,EAAE,IAAI,CAAC,OAAO;QACrB,OAAO,EAAE,MAAM,CAAC,WAAW,CACzB,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,MAAM,EAAE,KAAK,CAAC,EAAE,EAAE,CAAC;YACpD,MAAM;YACN,UAAU,CAAC,IAAI,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,CAAC,GAAG,IAAI,KAAK,CAAC,CAAC;SAC/D,CAAC,CACH;QACD,MAAM,EAAE,IAAI,CAAC,MAAM;KACpB,CAAC;AACJ,CAAC"}
|
|
@@ -1,3 +1,48 @@
|
|
|
1
1
|
import { Command } from "commander";
|
|
2
|
+
export declare const isNumberRangeComplete: (data: {
|
|
3
|
+
min?: number;
|
|
4
|
+
max?: number;
|
|
5
|
+
}) => boolean;
|
|
6
|
+
/**
|
|
7
|
+
* A NUMBER_RANGE prop must carry a slider config with at least min and max — the editor UI marks
|
|
8
|
+
* Minimum/Maksimum Değer as required, so a prop authored without them yields a half-configured
|
|
9
|
+
* slider. Enforce it at creation time: reject when numberRangeData is absent or missing min/max.
|
|
10
|
+
*/
|
|
11
|
+
export declare function requireNumberRangeData(raw: unknown, propName: string): {
|
|
12
|
+
min?: number;
|
|
13
|
+
max?: number;
|
|
14
|
+
interval?: number;
|
|
15
|
+
unit?: string;
|
|
16
|
+
};
|
|
17
|
+
export declare function parseDefaultValue(value: string, propType: string): unknown;
|
|
18
|
+
export declare const DYNAMIC_PROP_TYPES: string[];
|
|
19
|
+
export declare const rejectDynamicDefault: (propName: string, propType: string, defaultValue: unknown) => void;
|
|
20
|
+
export declare function validateLinkDefaultValue(propType: string, value: unknown, propName: string): string | null;
|
|
21
|
+
/**
|
|
22
|
+
* Validate a COMPONENT / COMPONENT_LIST defaultValue. Reference-only: each entry must name a code
|
|
23
|
+
* component via `codeComponentId`. Rejects non-CC (`componentId`) children, missing ids, more than
|
|
24
|
+
* one entry for a single COMPONENT, and ids outside the prop's filteredComponentIds allowlist.
|
|
25
|
+
* Returns an error message, or null if valid.
|
|
26
|
+
*/
|
|
27
|
+
export declare function validateComponentDefaultValue(propType: string, value: unknown, propName: string, filteredComponentIds?: string[], existingComponentIds?: Set<string>): string | null;
|
|
28
|
+
export declare function validateSvgDefaultValue(propType: string, value: unknown, propName: string): string | null;
|
|
29
|
+
export declare function validateNumberRangeDefaultValue(value: unknown, numberRangeData: {
|
|
30
|
+
min?: number;
|
|
31
|
+
max?: number;
|
|
32
|
+
interval?: number;
|
|
33
|
+
unit?: string;
|
|
34
|
+
} | undefined, propName: string): string | null;
|
|
35
|
+
export declare function validateNumberDefaultValue(value: unknown, propName: string): string | null;
|
|
36
|
+
export declare function validateTypeDefaultValue(value: unknown, propName: string, typeId: unknown): string | null;
|
|
37
|
+
/**
|
|
38
|
+
* Why `component`'s folder may not be deleted, or null: only its own folder directly under src/components
|
|
39
|
+
* (where components are created), never one holding another component — so a hand-edited entry can not
|
|
40
|
+
* point the removal at the project, a folder outside it, or any other project folder.
|
|
41
|
+
*/
|
|
42
|
+
export declare function componentDirRemovalError(components: {
|
|
43
|
+
entry: string;
|
|
44
|
+
}[], component: {
|
|
45
|
+
entry: string;
|
|
46
|
+
}, root: string): string | null;
|
|
2
47
|
export declare function createConfigCommand(): Command;
|
|
3
48
|
//# sourceMappingURL=config.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/commands/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/commands/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAwXpC,eAAO,MAAM,qBAAqB,SAAU;IAC1C,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;CACd,KAAG,OAA2D,CAAC;AAEhE;;;;GAIG;AACH,wBAAgB,sBAAsB,CACpC,GAAG,EAAE,OAAO,EACZ,QAAQ,EAAE,MAAM,GACf;IAAE,GAAG,CAAC,EAAE,MAAM,CAAC;IAAC,GAAG,CAAC,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAA;CAAE,CAqBlE;AA2yBD,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CA0B1E;AAMD,eAAO,MAAM,kBAAkB,UAkB9B,CAAC;AAOF,eAAO,MAAM,oBAAoB,aACrB,MAAM,YACN,MAAM,gBACF,OAAO,KACpB,IAUF,CAAC;AAmGF,wBAAgB,wBAAwB,CACtC,QAAQ,EAAE,MAAM,EAChB,KAAK,EAAE,OAAO,EACd,QAAQ,EAAE,MAAM,GACf,MAAM,GAAG,IAAI,CAwBf;AAOD;;;;;GAKG;AACH,wBAAgB,6BAA6B,CAC3C,QAAQ,EAAE,MAAM,EAChB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