@sitecore-content-sdk/core 1.3.0-canary.9 → 1.4.0-canary.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 +7 -7
- package/dist/cjs/cache-client.js +55 -54
- package/dist/cjs/client/constants.js +7 -7
- package/dist/cjs/client/edge-proxy.js +24 -22
- package/dist/cjs/client/index.js +15 -15
- package/dist/cjs/client/models.js +2 -2
- package/dist/cjs/client/sitecore-client.js +421 -419
- package/dist/cjs/client/utils.js +47 -46
- package/dist/cjs/config/define-config.js +194 -193
- package/dist/cjs/config/index.js +7 -7
- package/dist/cjs/config/models.js +12 -11
- package/dist/cjs/config-cli/define-cli-config.js +23 -22
- package/dist/cjs/config-cli/index.js +7 -7
- package/dist/cjs/config-cli/models.js +8 -7
- package/dist/cjs/constants.js +49 -17
- package/dist/cjs/debug.js +48 -46
- package/dist/cjs/editing/codegen/index.js +14 -9
- package/dist/cjs/editing/codegen/preview.js +277 -193
- package/dist/cjs/editing/component-layout-service.js +62 -61
- package/dist/cjs/editing/design-library.js +183 -126
- package/dist/cjs/editing/editing-service.js +75 -74
- package/dist/cjs/editing/index.js +33 -27
- package/dist/cjs/editing/metadata.js +42 -42
- package/dist/cjs/editing/models.js +44 -38
- package/dist/cjs/editing/utils.js +108 -90
- package/dist/cjs/form/form.js +81 -78
- package/dist/cjs/form/index.js +7 -7
- package/dist/cjs/graphql-request-client.js +108 -107
- package/dist/cjs/i18n/dictionary-service.js +122 -121
- package/dist/cjs/i18n/index.js +7 -7
- package/dist/cjs/i18n/utils.js +16 -15
- package/dist/cjs/index.js +60 -60
- package/dist/cjs/layout/content-styles.js +72 -71
- package/dist/cjs/layout/index.js +24 -24
- package/dist/cjs/layout/layout-service.js +62 -57
- package/dist/cjs/layout/models.js +39 -34
- package/dist/cjs/layout/themes.js +76 -75
- package/dist/cjs/layout/utils.js +117 -110
- package/dist/cjs/media/index.js +38 -38
- package/dist/cjs/media/media-api.js +100 -96
- package/dist/cjs/models.js +2 -2
- package/dist/cjs/native-fetcher.js +194 -179
- package/dist/cjs/personalize/index.js +15 -15
- package/dist/cjs/personalize/layout-personalizer.js +98 -97
- package/dist/cjs/personalize/personalize-service.js +98 -94
- package/dist/cjs/personalize/utils.js +143 -136
- package/dist/cjs/retries.js +43 -42
- package/dist/cjs/site/error-pages-service.js +65 -64
- package/dist/cjs/site/index.js +26 -26
- package/dist/cjs/site/models.js +2 -2
- package/dist/cjs/site/redirects-service.js +94 -81
- package/dist/cjs/site/robots-service.js +66 -65
- package/dist/cjs/site/site-resolver.js +73 -72
- package/dist/cjs/site/siteinfo-service.js +84 -80
- package/dist/cjs/site/sitemap-xml-service.js +84 -83
- package/dist/cjs/site/sitepath-service.js +165 -164
- package/dist/cjs/site/utils.js +55 -47
- package/dist/cjs/sitecore-service-base.js +36 -36
- package/dist/cjs/tools/auth/flow.js +65 -64
- package/dist/cjs/tools/auth/index.js +5 -5
- package/dist/cjs/tools/auth/models.js +2 -2
- package/dist/cjs/tools/auth/tenant-store.js +38 -38
- package/dist/cjs/tools/codegen/component-generation.js +52 -50
- package/dist/cjs/tools/codegen/extract-files.js +105 -107
- package/dist/cjs/tools/codegen/import-map.js +401 -349
- package/dist/cjs/tools/codegen/utils.js +418 -418
- package/dist/cjs/tools/generate-map.js +2 -2
- package/dist/cjs/tools/generateMetadata.js +36 -35
- package/dist/cjs/tools/generateSites.js +59 -58
- package/dist/cjs/tools/index.js +75 -73
- package/dist/cjs/tools/scaffold.js +60 -59
- package/dist/cjs/tools/templating/components.js +96 -266
- package/dist/cjs/tools/templating/index.js +11 -14
- package/dist/cjs/tools/templating/plugins.js +80 -78
- package/dist/cjs/tools/templating/utils.js +67 -66
- package/dist/cjs/utils/ensurePath.js +20 -20
- package/dist/cjs/utils/env.js +28 -27
- package/dist/cjs/utils/globalCache.js +55 -0
- package/dist/cjs/utils/index.js +26 -21
- package/dist/cjs/utils/is-server.js +11 -10
- package/dist/cjs/utils/normalize-url.js +5 -5
- package/dist/cjs/utils/timeout-promise.js +31 -31
- package/dist/cjs/utils/utils.js +254 -229
- package/dist/esm/cache-client.js +51 -50
- package/dist/esm/client/constants.js +4 -4
- package/dist/esm/client/edge-proxy.js +19 -17
- package/dist/esm/client/index.js +5 -5
- package/dist/esm/client/models.js +1 -1
- package/dist/esm/client/sitecore-client.js +414 -412
- package/dist/esm/client/utils.js +43 -42
- package/dist/esm/config/define-config.js +188 -187
- package/dist/esm/config/index.js +2 -2
- package/dist/esm/config/models.js +9 -8
- package/dist/esm/config-cli/define-cli-config.js +19 -18
- package/dist/esm/config-cli/index.js +2 -2
- package/dist/esm/config-cli/models.js +5 -4
- package/dist/esm/constants.js +46 -14
- package/dist/esm/debug.js +41 -39
- package/dist/esm/editing/codegen/index.js +1 -1
- package/dist/esm/editing/codegen/preview.js +263 -185
- package/dist/esm/editing/component-layout-service.js +55 -54
- package/dist/esm/editing/design-library.js +171 -117
- package/dist/esm/editing/editing-service.js +68 -67
- package/dist/esm/editing/index.js +6 -5
- package/dist/esm/editing/metadata.js +39 -39
- package/dist/esm/editing/models.js +41 -35
- package/dist/esm/editing/utils.js +98 -80
- package/dist/esm/form/form.js +72 -69
- package/dist/esm/form/index.js +1 -1
- package/dist/esm/graphql-request-client.js +101 -100
- package/dist/esm/i18n/dictionary-service.js +115 -114
- package/dist/esm/i18n/index.js +2 -2
- package/dist/esm/i18n/utils.js +13 -12
- package/dist/esm/index.js +13 -13
- package/dist/esm/layout/content-styles.js +64 -63
- package/dist/esm/layout/index.js +6 -6
- package/dist/esm/layout/layout-service.js +55 -50
- package/dist/esm/layout/models.js +36 -31
- package/dist/esm/layout/themes.js +71 -70
- package/dist/esm/layout/utils.js +109 -102
- package/dist/esm/media/index.js +2 -2
- package/dist/esm/media/media-api.js +90 -86
- package/dist/esm/models.js +1 -1
- package/dist/esm/native-fetcher.js +187 -172
- package/dist/esm/personalize/index.js +3 -3
- package/dist/esm/personalize/layout-personalizer.js +93 -92
- package/dist/esm/personalize/personalize-service.js +91 -87
- package/dist/esm/personalize/utils.js +135 -128
- package/dist/esm/retries.js +39 -38
- package/dist/esm/site/error-pages-service.js +58 -57
- package/dist/esm/site/index.js +8 -8
- package/dist/esm/site/models.js +1 -1
- package/dist/esm/site/redirects-service.js +87 -74
- package/dist/esm/site/robots-service.js +59 -58
- package/dist/esm/site/site-resolver.js +69 -68
- package/dist/esm/site/siteinfo-service.js +77 -73
- package/dist/esm/site/sitemap-xml-service.js +77 -76
- package/dist/esm/site/sitepath-service.js +157 -156
- package/dist/esm/site/utils.js +49 -41
- package/dist/esm/sitecore-service-base.js +29 -29
- package/dist/esm/tools/auth/flow.js +62 -61
- package/dist/esm/tools/auth/index.js +1 -1
- package/dist/esm/tools/auth/models.js +1 -1
- package/dist/esm/tools/auth/tenant-store.js +35 -35
- package/dist/esm/tools/codegen/component-generation.js +44 -42
- package/dist/esm/tools/codegen/extract-files.js +99 -101
- package/dist/esm/tools/codegen/import-map.js +358 -306
- package/dist/esm/tools/codegen/utils.js +373 -373
- package/dist/esm/tools/generate-map.js +1 -1
- package/dist/esm/tools/generateMetadata.js +29 -28
- package/dist/esm/tools/generateSites.js +52 -51
- package/dist/esm/tools/index.js +28 -27
- package/dist/esm/tools/scaffold.js +52 -51
- package/dist/esm/tools/templating/components.js +59 -223
- package/dist/esm/tools/templating/index.js +3 -3
- package/dist/esm/tools/templating/plugins.js +72 -70
- package/dist/esm/tools/templating/utils.js +59 -58
- package/dist/esm/utils/ensurePath.js +13 -13
- package/dist/esm/utils/env.js +24 -23
- package/dist/esm/utils/globalCache.js +49 -0
- package/dist/esm/utils/index.js +4 -3
- package/dist/esm/utils/is-server.js +9 -8
- package/dist/esm/utils/normalize-url.js +1 -1
- package/dist/esm/utils/timeout-promise.js +28 -28
- package/dist/esm/utils/utils.js +238 -213
- package/package.json +73 -5
- package/types/cache-client.d.ts +68 -64
- package/types/cache-client.d.ts.map +1 -0
- package/types/client/constants.d.ts +5 -4
- package/types/client/constants.d.ts.map +1 -0
- package/types/client/edge-proxy.d.ts +18 -15
- package/types/client/edge-proxy.d.ts.map +1 -0
- package/types/client/index.d.ts +8 -7
- package/types/client/index.d.ts.map +1 -0
- package/types/client/models.d.ts +21 -19
- package/types/client/models.d.ts.map +1 -0
- package/types/client/sitecore-client.d.ts +338 -327
- package/types/client/sitecore-client.d.ts.map +1 -0
- package/types/client/utils.d.ts +15 -9
- package/types/client/utils.d.ts.map +1 -0
- package/types/config/define-config.d.ts +20 -18
- package/types/config/define-config.d.ts.map +1 -0
- package/types/config/index.d.ts +3 -2
- package/types/config/index.d.ts.map +1 -0
- package/types/config/models.d.ts +287 -268
- package/types/config/models.d.ts.map +1 -0
- package/types/config-cli/define-cli-config.d.ts +9 -7
- package/types/config-cli/define-cli-config.d.ts.map +1 -0
- package/types/config-cli/index.d.ts +3 -2
- package/types/config-cli/index.d.ts.map +1 -0
- package/types/config-cli/models.d.ts +6 -4
- package/types/config-cli/models.d.ts.map +1 -0
- package/types/constants.d.ts +44 -11
- package/types/constants.d.ts.map +1 -0
- package/types/debug.d.ts +35 -28
- package/types/debug.d.ts.map +1 -0
- package/types/editing/codegen/index.d.ts +2 -1
- package/types/editing/codegen/index.d.ts.map +1 -0
- package/types/editing/codegen/preview.d.ts +256 -195
- package/types/editing/codegen/preview.d.ts.map +1 -0
- package/types/editing/component-layout-service.d.ts +84 -80
- package/types/editing/component-layout-service.d.ts.map +1 -0
- package/types/editing/design-library.d.ts +111 -63
- package/types/editing/design-library.d.ts.map +1 -0
- package/types/editing/editing-service.d.ts +72 -62
- package/types/editing/editing-service.d.ts.map +1 -0
- package/types/editing/index.d.ts +7 -6
- package/types/editing/index.d.ts.map +1 -0
- package/types/editing/metadata.d.ts +8 -7
- package/types/editing/metadata.d.ts.map +1 -0
- package/types/editing/models.d.ts +103 -92
- package/types/editing/models.d.ts.map +1 -0
- package/types/editing/utils.d.ts +91 -74
- package/types/editing/utils.d.ts.map +1 -0
- package/types/form/form.d.ts +25 -21
- package/types/form/form.d.ts.map +1 -0
- package/types/form/index.d.ts +2 -1
- package/types/form/index.d.ts.map +1 -0
- package/types/graphql-request-client.d.ts +112 -105
- package/types/graphql-request-client.d.ts.map +1 -0
- package/types/i18n/dictionary-service.d.ts +135 -131
- package/types/i18n/dictionary-service.d.ts.map +1 -0
- package/types/i18n/index.d.ts +3 -2
- package/types/i18n/index.d.ts.map +1 -0
- package/types/i18n/utils.d.ts +9 -7
- package/types/i18n/utils.d.ts.map +1 -0
- package/types/index.d.ts +13 -12
- package/types/index.d.ts.map +1 -0
- package/types/layout/content-styles.d.ts +20 -18
- package/types/layout/content-styles.d.ts.map +1 -0
- package/types/layout/index.d.ts +6 -5
- package/types/layout/index.d.ts.map +1 -0
- package/types/layout/layout-service.d.ts +45 -35
- package/types/layout/layout-service.d.ts.map +1 -0
- package/types/layout/models.d.ts +174 -151
- package/types/layout/models.d.ts.map +1 -0
- package/types/layout/themes.d.ts +13 -11
- package/types/layout/themes.d.ts.map +1 -0
- package/types/layout/utils.d.ts +56 -41
- package/types/layout/utils.d.ts.map +1 -0
- package/types/media/index.d.ts +3 -2
- package/types/media/index.d.ts.map +1 -0
- package/types/media/media-api.d.ts +60 -55
- package/types/media/media-api.d.ts.map +1 -0
- package/types/models.d.ts +94 -84
- package/types/models.d.ts.map +1 -0
- package/types/native-fetcher.d.ts +124 -114
- package/types/native-fetcher.d.ts.map +1 -0
- package/types/personalize/index.d.ts +4 -3
- package/types/personalize/index.d.ts.map +1 -0
- package/types/personalize/layout-personalizer.d.ts +29 -27
- package/types/personalize/layout-personalizer.d.ts.map +1 -0
- package/types/personalize/personalize-service.d.ts +90 -80
- package/types/personalize/personalize-service.d.ts.map +1 -0
- package/types/personalize/utils.d.ts +78 -69
- package/types/personalize/utils.d.ts.map +1 -0
- package/types/retries.d.ts +26 -24
- package/types/retries.d.ts.map +1 -0
- package/types/site/error-pages-service.d.ts +64 -57
- package/types/site/error-pages-service.d.ts.map +1 -0
- package/types/site/index.d.ts +10 -9
- package/types/site/index.d.ts.map +1 -0
- package/types/site/models.d.ts +23 -18
- package/types/site/models.d.ts.map +1 -0
- package/types/site/redirects-service.d.ts +92 -69
- package/types/site/redirects-service.d.ts.map +1 -0
- package/types/site/robots-service.d.ts +57 -50
- package/types/site/robots-service.d.ts.map +1 -0
- package/types/site/site-resolver.d.ts +28 -26
- package/types/site/site-resolver.d.ts.map +1 -0
- package/types/site/siteinfo-service.d.ts +65 -52
- package/types/site/siteinfo-service.d.ts.map +1 -0
- package/types/site/sitemap-xml-service.d.ts +63 -56
- package/types/site/sitemap-xml-service.d.ts.map +1 -0
- package/types/site/sitepath-service.d.ts +137 -134
- package/types/site/sitepath-service.d.ts.map +1 -0
- package/types/site/utils.d.ts +41 -28
- package/types/site/utils.d.ts.map +1 -0
- package/types/sitecore-service-base.d.ts +31 -30
- package/types/sitecore-service-base.d.ts.map +1 -0
- package/types/tools/auth/flow.d.ts +29 -27
- package/types/tools/auth/flow.d.ts.map +1 -0
- package/types/tools/auth/index.d.ts +2 -1
- package/types/tools/auth/index.d.ts.map +1 -0
- package/types/tools/auth/models.d.ts +35 -33
- package/types/tools/auth/models.d.ts.map +1 -0
- package/types/tools/auth/tenant-store.d.ts +12 -11
- package/types/tools/auth/tenant-store.d.ts.map +1 -0
- package/types/tools/codegen/component-generation.d.ts +50 -47
- package/types/tools/codegen/component-generation.d.ts.map +1 -0
- package/types/tools/codegen/extract-files.d.ts +24 -22
- package/types/tools/codegen/extract-files.d.ts.map +1 -0
- package/types/tools/codegen/import-map.d.ts +103 -70
- package/types/tools/codegen/import-map.d.ts.map +1 -0
- package/types/tools/codegen/utils.d.ts +76 -75
- package/types/tools/codegen/utils.d.ts.map +1 -0
- package/types/tools/generate-map.d.ts +36 -26
- package/types/tools/generate-map.d.ts.map +1 -0
- package/types/tools/generateMetadata.d.ts +24 -22
- package/types/tools/generateMetadata.d.ts.map +1 -0
- package/types/tools/generateSites.d.ts +25 -22
- package/types/tools/generateSites.d.ts.map +1 -0
- package/types/tools/index.d.ts +22 -20
- package/types/tools/index.d.ts.map +1 -0
- package/types/tools/scaffold.d.ts +27 -25
- package/types/tools/scaffold.d.ts.map +1 -0
- package/types/tools/templating/components.d.ts +104 -103
- package/types/tools/templating/components.d.ts.map +1 -0
- package/types/tools/templating/index.d.ts +4 -3
- package/types/tools/templating/index.d.ts.map +1 -0
- package/types/tools/templating/plugins.d.ts +71 -67
- package/types/tools/templating/plugins.d.ts.map +1 -0
- package/types/tools/templating/utils.d.ts +42 -40
- package/types/tools/templating/utils.d.ts.map +1 -0
- package/types/utils/ensurePath.d.ts +7 -6
- package/types/utils/ensurePath.d.ts.map +1 -0
- package/types/utils/env.d.ts +9 -7
- package/types/utils/env.d.ts.map +1 -0
- package/types/utils/globalCache.d.ts +37 -0
- package/types/utils/globalCache.d.ts.map +1 -0
- package/types/utils/index.d.ts +5 -3
- package/types/utils/index.d.ts.map +1 -0
- package/types/utils/is-server.d.ts +8 -6
- package/types/utils/is-server.d.ts.map +1 -0
- package/types/utils/normalize-url.d.ts +2 -1
- package/types/utils/normalize-url.d.ts.map +1 -0
- package/types/utils/timeout-promise.d.ts +18 -17
- package/types/utils/timeout-promise.d.ts.map +1 -0
- package/types/utils/utils.d.ts +104 -79
- package/types/utils/utils.d.ts.map +1 -0
- package/client.js +0 -1
- package/codegen.js +0 -1
- package/config-cli.js +0 -1
- package/config.js +0 -1
- package/editing.js +0 -1
- package/i18n.js +0 -1
- package/layout.js +0 -1
- package/media.js +0 -1
- package/personalize.js +0 -1
- package/site.js +0 -1
- package/tools.js +0 -1
- package/utils.js +0 -1
package/types/constants.d.ts
CHANGED
|
@@ -1,11 +1,44 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export declare
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Sitecore template IDs
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export declare enum SitecoreTemplateId {
|
|
6
|
+
ContentSdkApp = "061cba1554744b918a0617903b102b82",
|
|
7
|
+
DictionaryEntry = "6d1cd89719364a3aa511289a94c2a7b1"
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Site name error
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
export declare const siteNameError = "The siteName cannot be empty";
|
|
14
|
+
/**
|
|
15
|
+
* Default Sitecore edge URL
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export declare const SITECORE_EDGE_URL_DEFAULT = "https://edge-platform.sitecorecloud.io";
|
|
19
|
+
/**
|
|
20
|
+
* Hidden rendering name
|
|
21
|
+
* @internal
|
|
22
|
+
*/
|
|
23
|
+
export declare const HIDDEN_RENDERING_NAME = "Hidden Rendering";
|
|
24
|
+
/**
|
|
25
|
+
* Claims URL
|
|
26
|
+
* @internal
|
|
27
|
+
*/
|
|
28
|
+
export declare const CLAIMS = "https://auth.sitecorecloud.io/claims";
|
|
29
|
+
/**
|
|
30
|
+
* Default Sitecore auth domain
|
|
31
|
+
* @internal
|
|
32
|
+
*/
|
|
33
|
+
export declare const DEFAULT_SITECORE_AUTH_DOMAIN = "https://auth.sitecorecloud.io";
|
|
34
|
+
/**
|
|
35
|
+
* Default Sitecore auth audience
|
|
36
|
+
* @internal
|
|
37
|
+
*/
|
|
38
|
+
export declare const DEFAULT_SITECORE_AUTH_AUDIENCE = "https://api.sitecorecloud.io";
|
|
39
|
+
/**
|
|
40
|
+
* Default Sitecore auth base URL
|
|
41
|
+
* @internal
|
|
42
|
+
*/
|
|
43
|
+
export declare const DEFAULT_SITECORE_AUTH_BASE_URL = "https://edge-platform.sitecorecloud.io/cs/api";
|
|
44
|
+
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,oBAAY,kBAAkB;IAE5B,aAAa,qCAAqC;IAGlD,eAAe,qCAAqC;CACrD;AAED;;;GAGG;AACH,eAAO,MAAM,aAAa,iCAAiC,CAAC;AAE5D;;;GAGG;AACH,eAAO,MAAM,yBAAyB,2CAA2C,CAAC;AAElF;;;GAGG;AACH,eAAO,MAAM,qBAAqB,qBAAqB,CAAC;AAExD;;;GAGG;AACH,eAAO,MAAM,MAAM,yCAAyC,CAAC;AAC7D;;;GAGG;AACH,eAAO,MAAM,4BAA4B,kCAAkC,CAAC;AAC5E;;;GAGG;AACH,eAAO,MAAM,8BAA8B,iCAAiC,CAAC;AAC7E;;;GAGG;AACH,eAAO,MAAM,8BAA8B,kDAAkD,CAAC"}
|
package/types/debug.d.ts
CHANGED
|
@@ -1,28 +1,35 @@
|
|
|
1
|
-
import debug from 'debug';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
*
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*/
|
|
12
|
-
declare const
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
1
|
+
import debug from 'debug';
|
|
2
|
+
/**
|
|
3
|
+
* Debugger type
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type Debugger = debug.Debugger;
|
|
7
|
+
/**
|
|
8
|
+
* Enable debug logging dynamically
|
|
9
|
+
* @param {string} namespaces space-separated list of namespaces to enable
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
export declare const enableDebug: (namespaces: string) => void;
|
|
13
|
+
/**
|
|
14
|
+
* Default Sitecore Content SDK 'debug' module debuggers. Uses namespace prefix 'content-sdk:'.
|
|
15
|
+
* See {@link https://www.npmjs.com/package/debug} for details.
|
|
16
|
+
*/
|
|
17
|
+
declare const _default: {
|
|
18
|
+
search: debug.Debugger;
|
|
19
|
+
common: debug.Debugger;
|
|
20
|
+
form: debug.Debugger;
|
|
21
|
+
http: debug.Debugger;
|
|
22
|
+
layout: debug.Debugger;
|
|
23
|
+
dictionary: debug.Debugger;
|
|
24
|
+
editing: debug.Debugger;
|
|
25
|
+
sitemap: debug.Debugger;
|
|
26
|
+
multisite: debug.Debugger;
|
|
27
|
+
robots: debug.Debugger;
|
|
28
|
+
redirects: debug.Debugger;
|
|
29
|
+
personalize: debug.Debugger;
|
|
30
|
+
locale: debug.Debugger;
|
|
31
|
+
errorpages: debug.Debugger;
|
|
32
|
+
proxy: debug.Debugger;
|
|
33
|
+
};
|
|
34
|
+
export default _default;
|
|
35
|
+
//# sourceMappingURL=debug.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"debug.d.ts","sourceRoot":"","sources":["../src/debug.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B;;;GAGG;AACH,MAAM,MAAM,QAAQ,GAAG,KAAK,CAAC,QAAQ,CAAC;AActC;;;;GAIG;AACH,eAAO,MAAM,WAAW,GAAI,YAAY,MAAM,SAA6B,CAAC;AAE5E;;;GAGG;;;;;;;;;;;;;;;;;;AACH,wBAgBE"}
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export { addComponentPreviewHandler, getDesignLibraryComponentPreviewErrorEvent, getDesignLibraryComponentPropsEvent, getDesignLibraryImportMapEvent, DesignLibraryPreviewError, ImportEntry, } from './preview';
|
|
1
|
+
export { addComponentPreviewHandler, addServerComponentPreviewHandler, getDesignLibraryComponentPreviewErrorEvent, getDesignLibraryComponentPropsEvent, getDesignLibraryImportMapEvent, getImportMapInfo, addStyleElement, createComponentInstance, sendErrorEvent, DesignLibraryPreviewError, ImportEntry, ImportEntryInfo, ComponentPreviewEventArgs, } from './preview';
|
|
2
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/editing/codegen/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,0BAA0B,EAC1B,gCAAgC,EAChC,0CAA0C,EAC1C,mCAAmC,EACnC,8BAA8B,EAC9B,gBAAgB,EAChB,eAAe,EACf,uBAAuB,EACvB,cAAc,EACd,yBAAyB,EACzB,WAAW,EACX,eAAe,EACf,yBAAyB,GAC1B,MAAM,WAAW,CAAC"}
|
|
@@ -1,195 +1,256 @@
|
|
|
1
|
-
import { ComponentFields, ComponentParams } from '../../layout/models';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* The
|
|
44
|
-
* e.g. '
|
|
45
|
-
*/
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
export
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
/**
|
|
66
|
-
* The
|
|
67
|
-
*/
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
};
|
|
117
|
-
}
|
|
118
|
-
/**
|
|
119
|
-
* Represents an event indicating the
|
|
120
|
-
*/
|
|
121
|
-
export interface
|
|
122
|
-
name: typeof
|
|
123
|
-
message: {
|
|
124
|
-
uid: string;
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
};
|
|
128
|
-
}
|
|
129
|
-
/**
|
|
130
|
-
*
|
|
131
|
-
*/
|
|
132
|
-
export
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
};
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
*
|
|
182
|
-
* @
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
*
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
1
|
+
import { ComponentFields, ComponentParams } from '../../layout/models';
|
|
2
|
+
import { DesignLibraryEvent } from '../design-library';
|
|
3
|
+
/**
|
|
4
|
+
* Event to send import map to design library
|
|
5
|
+
*/
|
|
6
|
+
declare const DESIGN_LIBRARY_IMPORT_MAP_EVENT_NAME = "component:generation:import-map";
|
|
7
|
+
/**
|
|
8
|
+
* Event to send component props to design library
|
|
9
|
+
*/
|
|
10
|
+
declare const DESIGN_LIBRARY_COMPONENT_PROPS_EVENT_NAME = "component:generation:component-props";
|
|
11
|
+
/**
|
|
12
|
+
* Event to receive component data from design library
|
|
13
|
+
*/
|
|
14
|
+
declare const DESIGN_LIBRARY_COMPONENT_PREVIEW_EVENT_NAME = "component:generation:component-preview";
|
|
15
|
+
/**
|
|
16
|
+
* Event to send component error to design library
|
|
17
|
+
*/
|
|
18
|
+
declare const DESIGN_LIBRARY_COMPONENT_PREVIEW_ERROR_EVENT_NAME = "component:generation:component-preview-error";
|
|
19
|
+
/**
|
|
20
|
+
* Represents an import map entry.
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
23
|
+
export interface ImportEntry {
|
|
24
|
+
module: string;
|
|
25
|
+
exports: {
|
|
26
|
+
name: string | 'default' | '*';
|
|
27
|
+
value: unknown;
|
|
28
|
+
}[];
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Represents the info for the import entry to be sent to design library.
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
export interface ImportEntryInfo {
|
|
35
|
+
module: string;
|
|
36
|
+
exports: string[];
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Represents a component import.
|
|
40
|
+
*/
|
|
41
|
+
export type ComponentImport = {
|
|
42
|
+
/**
|
|
43
|
+
* The name of the module to be imported.
|
|
44
|
+
* e.g. 'react'
|
|
45
|
+
*/
|
|
46
|
+
module: string;
|
|
47
|
+
/**
|
|
48
|
+
* The name of the export to be imported.
|
|
49
|
+
* e.g. 'useMemo'
|
|
50
|
+
*/
|
|
51
|
+
export: string;
|
|
52
|
+
/**
|
|
53
|
+
* The alias of the import.
|
|
54
|
+
* e.g. 'useMemoFn'
|
|
55
|
+
*/
|
|
56
|
+
alias: string;
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
* Represents a component preview event data sent from design library
|
|
60
|
+
* @internal
|
|
61
|
+
*/
|
|
62
|
+
export interface ComponentPreviewEventArgs extends DesignLibraryEvent {
|
|
63
|
+
name: typeof DESIGN_LIBRARY_COMPONENT_PREVIEW_EVENT_NAME;
|
|
64
|
+
message: {
|
|
65
|
+
/**
|
|
66
|
+
* The unique identifier for the component.
|
|
67
|
+
*/
|
|
68
|
+
uid: string;
|
|
69
|
+
/**
|
|
70
|
+
* The code of the component.
|
|
71
|
+
*/
|
|
72
|
+
code: {
|
|
73
|
+
type: 'function';
|
|
74
|
+
content: string;
|
|
75
|
+
};
|
|
76
|
+
/**
|
|
77
|
+
* The styles of the component.
|
|
78
|
+
*/
|
|
79
|
+
styles: {
|
|
80
|
+
type: 'style-element';
|
|
81
|
+
/**
|
|
82
|
+
* The styles content to be attached to the DOM.
|
|
83
|
+
*/
|
|
84
|
+
content: string;
|
|
85
|
+
/**
|
|
86
|
+
* The CSS module import
|
|
87
|
+
*/
|
|
88
|
+
styleImport: {
|
|
89
|
+
/**
|
|
90
|
+
* The name of the style import.
|
|
91
|
+
*/
|
|
92
|
+
name: string;
|
|
93
|
+
/**
|
|
94
|
+
* The value of the style import
|
|
95
|
+
*/
|
|
96
|
+
content: unknown;
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
/**
|
|
100
|
+
* The imports of the component.
|
|
101
|
+
*/
|
|
102
|
+
imports: ComponentImport[];
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* Represents an event indicating the import map to be sent to design library
|
|
107
|
+
*/
|
|
108
|
+
export interface DesignLibraryImportMapEvent extends DesignLibraryEvent {
|
|
109
|
+
name: typeof DESIGN_LIBRARY_IMPORT_MAP_EVENT_NAME;
|
|
110
|
+
message: {
|
|
111
|
+
uid: string;
|
|
112
|
+
importMap: {
|
|
113
|
+
module: string;
|
|
114
|
+
exports: string[];
|
|
115
|
+
}[];
|
|
116
|
+
};
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* Represents an event indicating the component props to be sent to design library
|
|
120
|
+
*/
|
|
121
|
+
export interface DesignLibraryComponentPropsEvent extends DesignLibraryEvent {
|
|
122
|
+
name: typeof DESIGN_LIBRARY_COMPONENT_PROPS_EVENT_NAME;
|
|
123
|
+
message: {
|
|
124
|
+
uid: string;
|
|
125
|
+
fields: ComponentFields;
|
|
126
|
+
parameters: ComponentParams;
|
|
127
|
+
};
|
|
128
|
+
}
|
|
129
|
+
/**
|
|
130
|
+
* Represents an event indicating the preview error to be sent to design library.
|
|
131
|
+
*/
|
|
132
|
+
export interface DesignLibraryComponentPreviewErrorEvent extends DesignLibraryEvent {
|
|
133
|
+
name: typeof DESIGN_LIBRARY_COMPONENT_PREVIEW_ERROR_EVENT_NAME;
|
|
134
|
+
message: {
|
|
135
|
+
uid: string;
|
|
136
|
+
error: unknown;
|
|
137
|
+
type: DesignLibraryPreviewError;
|
|
138
|
+
};
|
|
139
|
+
}
|
|
140
|
+
/**
|
|
141
|
+
* Enumeration of error types for the design library preview.
|
|
142
|
+
* @internal
|
|
143
|
+
*/
|
|
144
|
+
export declare enum DesignLibraryPreviewError {
|
|
145
|
+
/**
|
|
146
|
+
* Error occurred during component rendering.
|
|
147
|
+
*/
|
|
148
|
+
Render = "render",
|
|
149
|
+
/**
|
|
150
|
+
* Error occurred during component and event handlers initialization.
|
|
151
|
+
*/
|
|
152
|
+
RenderInit = "render-init"
|
|
153
|
+
}
|
|
154
|
+
/**
|
|
155
|
+
* Builds the component dependencies from the component imports and the import map.
|
|
156
|
+
* @param {ComponentImport[]} componentImports - The component imports.
|
|
157
|
+
* @param {ImportEntry[]} importMap - The import map to be used for the component.
|
|
158
|
+
* @returns {Array<{ name: string; value: unknown }>} The component dependencies.
|
|
159
|
+
*/
|
|
160
|
+
export declare function buildComponentDependencies(componentImports: ComponentImport[], importMap: ImportEntry[]): {
|
|
161
|
+
successful: {
|
|
162
|
+
name: string;
|
|
163
|
+
value: unknown;
|
|
164
|
+
}[];
|
|
165
|
+
missing: {
|
|
166
|
+
modules: {
|
|
167
|
+
module: string;
|
|
168
|
+
alias: string;
|
|
169
|
+
}[];
|
|
170
|
+
exports: {
|
|
171
|
+
alias: string;
|
|
172
|
+
export: string;
|
|
173
|
+
module: string;
|
|
174
|
+
}[];
|
|
175
|
+
};
|
|
176
|
+
};
|
|
177
|
+
/**
|
|
178
|
+
* Adds the browser-side event handler for 'component:generation:component-preview' message used in Design Library
|
|
179
|
+
* The event should contain the component code, styles and imports.
|
|
180
|
+
* @param {ImportEntry[]} importMap - The import map to be used for the component.
|
|
181
|
+
* @param {Function} callback callback to be called after component is received
|
|
182
|
+
* @internal
|
|
183
|
+
*/
|
|
184
|
+
export declare const addComponentPreviewHandler: (importMap: ImportEntry[], callback: (error: unknown | null, Component: unknown) => void) => (() => void) | undefined;
|
|
185
|
+
/**
|
|
186
|
+
* Adds the browser-side event handler for 'component:generation:component-preview' message used in Design Library for server components
|
|
187
|
+
* The event should contain the component code, styles and imports.
|
|
188
|
+
* @param {Function} callback callback to be called after component is received
|
|
189
|
+
* @internal
|
|
190
|
+
*/
|
|
191
|
+
export declare const addServerComponentPreviewHandler: (callback: (eventArgs: ComponentPreviewEventArgs) => void) => () => void;
|
|
192
|
+
/**
|
|
193
|
+
* Adds <style> element in the document head with the provided CSS.
|
|
194
|
+
* If an existing style element with the id "content-sdk-style-preview" is found, it is removed
|
|
195
|
+
* to prevent duplicates
|
|
196
|
+
* @param {string} stylesContent - The raw CSS text to inject into the style element.
|
|
197
|
+
* @internal
|
|
198
|
+
*/
|
|
199
|
+
export declare function addStyleElement(stylesContent: string): void;
|
|
200
|
+
/**
|
|
201
|
+
* Dynamically creates a React component instance from provided importMap and from code, styles, and dependencies provided in the preview event.
|
|
202
|
+
* @param {ImportEntry[]} importMap - The import map containing module and export references that might be injected as dependencies in the provided code.
|
|
203
|
+
* @param {ComponentPreviewEventArgs} previewEventArgs - The event arguments containing the component code, styles, and import definitions.
|
|
204
|
+
* @returns The dynamically created React component instance.
|
|
205
|
+
* @throws If any required modules or exports are missing from the import map, an error is thrown describing the missing dependencies.
|
|
206
|
+
* @internal
|
|
207
|
+
*/
|
|
208
|
+
export declare const createComponentInstance: (importMap: ImportEntry[], previewEventArgs: ComponentPreviewEventArgs) => unknown;
|
|
209
|
+
/**
|
|
210
|
+
* Generates a DesignLibraryComponentPreviewErrorEvent with the given uid and error.
|
|
211
|
+
* @param {string} uid - The unique identifier for the event.
|
|
212
|
+
* @param {unknown} error - The error to be sent.
|
|
213
|
+
* @param {DesignLibraryPreviewError} type - The type of error.
|
|
214
|
+
* @returns An object representing the DesignLibraryComponentPreviewErrorEvent.
|
|
215
|
+
* @internal
|
|
216
|
+
*/
|
|
217
|
+
export declare function getDesignLibraryComponentPreviewErrorEvent(uid: string, error: unknown, type: DesignLibraryPreviewError): DesignLibraryComponentPreviewErrorEvent;
|
|
218
|
+
/**
|
|
219
|
+
* Generates a DesignLibraryComponentPropsEvent with the given uid, fields and parameters.
|
|
220
|
+
* @param {string} uid - The unique identifier for the event.
|
|
221
|
+
* @param {ComponentFields} fields - The fields of the component.
|
|
222
|
+
* @param {ComponentParams} parameters - The parameters of the component.
|
|
223
|
+
* @returns An object representing the DesignLibraryComponentPropsEvent.
|
|
224
|
+
* @internal
|
|
225
|
+
*/
|
|
226
|
+
export declare function getDesignLibraryComponentPropsEvent(uid: string, fields?: ComponentFields, parameters?: ComponentParams): DesignLibraryComponentPropsEvent;
|
|
227
|
+
/**
|
|
228
|
+
* Generates a DesignLibraryImportMapEvent with the given uid and importMap.
|
|
229
|
+
* @param {string} uid - The unique identifier for the event.
|
|
230
|
+
* @param {ImportEntry[]} importMap - The imports map to be sent.
|
|
231
|
+
* @returns An object representing the DesignLibraryImportMapEvent.
|
|
232
|
+
* @internal
|
|
233
|
+
*/
|
|
234
|
+
export declare function getDesignLibraryImportMapEvent(uid: string, importMap: ImportEntry[] | ImportEntryInfo[]): DesignLibraryImportMapEvent;
|
|
235
|
+
/**
|
|
236
|
+
* Generates the payload for the import map to be sent to design library.
|
|
237
|
+
* @param {ImportEntry[]} importMap - The imports map to be sent.
|
|
238
|
+
* @internal
|
|
239
|
+
*/
|
|
240
|
+
export declare function getImportMapInfo(importMap: ImportEntry[]): ImportEntryInfo[];
|
|
241
|
+
/**
|
|
242
|
+
* Type guard for ImportEntryInfo[]
|
|
243
|
+
* @param {unknown} data import entry data to check
|
|
244
|
+
* @returns true if the data is ImportEntryInfo array
|
|
245
|
+
*/
|
|
246
|
+
export declare function isImportEntryInfoArray(data: unknown): data is ImportEntryInfo[];
|
|
247
|
+
/**
|
|
248
|
+
* Sends a component preview error event to the design library
|
|
249
|
+
* @param {string} uid - The unique identifier of the component that's being edited.
|
|
250
|
+
* @param {unknown} error - The error object or message to be sent.
|
|
251
|
+
* @param {DesignLibraryPreviewError} type - The type of error, as defined in DesignLibraryPreviewError.
|
|
252
|
+
* @internal
|
|
253
|
+
*/
|
|
254
|
+
export declare const sendErrorEvent: (uid: string, error: unknown, type: DesignLibraryPreviewError) => void;
|
|
255
|
+
export {};
|
|
256
|
+
//# sourceMappingURL=preview.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"preview.d.ts","sourceRoot":"","sources":["../../../src/editing/codegen/preview.ts"],"names":[],"mappings":"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"}
|