@sitecore-jss/sitecore-jss-angular 20.3.2-canary.2 → 20.3.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/LICENSE.txt +202 -202
- package/README.md +8 -8
- package/dist/README.md +8 -8
- package/dist/bundles/sitecore-jss-sitecore-jss-angular.umd.js +1440 -1440
- package/dist/components/date.directive.d.ts +17 -17
- package/dist/components/file.directive.d.ts +14 -14
- package/dist/components/generic-link.directive.d.ts +18 -18
- package/dist/components/hidden-rendering.component.d.ts +4 -4
- package/dist/components/image.directive.d.ts +32 -32
- package/dist/components/link.directive.d.ts +22 -22
- package/dist/components/missing-component.component.d.ts +4 -4
- package/dist/components/placeholder-loading.directive.d.ts +5 -5
- package/dist/components/placeholder.component.d.ts +46 -46
- package/dist/components/placeholder.token.d.ts +31 -31
- package/dist/components/raw.component.d.ts +9 -9
- package/dist/components/render-component.component.d.ts +31 -31
- package/dist/components/render-each.directive.d.ts +5 -5
- package/dist/components/render-empty.directive.d.ts +5 -5
- package/dist/components/rendering-field.d.ts +40 -40
- package/dist/components/rendering.d.ts +5 -5
- package/dist/components/rich-text.directive.d.ts +12 -12
- package/dist/components/router-link.directive.d.ts +16 -16
- package/dist/components/text.directive.d.ts +13 -13
- package/dist/esm2015/components/date.directive.js +52 -52
- package/dist/esm2015/components/file.directive.js +44 -44
- package/dist/esm2015/components/generic-link.directive.js +57 -57
- package/dist/esm2015/components/hidden-rendering.component.js +16 -16
- package/dist/esm2015/components/image.directive.js +122 -122
- package/dist/esm2015/components/link.directive.js +101 -101
- package/dist/esm2015/components/missing-component.component.js +12 -12
- package/dist/esm2015/components/placeholder-loading.directive.js +14 -14
- package/dist/esm2015/components/placeholder.component.js +197 -197
- package/dist/esm2015/components/placeholder.token.js +21 -21
- package/dist/esm2015/components/raw.component.js +36 -36
- package/dist/esm2015/components/render-component.component.js +88 -88
- package/dist/esm2015/components/render-each.directive.js +14 -14
- package/dist/esm2015/components/render-empty.directive.js +14 -14
- package/dist/esm2015/components/rendering-field.js +1 -1
- package/dist/esm2015/components/rendering.js +7 -7
- package/dist/esm2015/components/rich-text.directive.js +40 -40
- package/dist/esm2015/components/router-link.directive.js +43 -43
- package/dist/esm2015/components/text.directive.js +53 -53
- package/dist/esm2015/jss-component-factory.service.js +87 -87
- package/dist/esm2015/lib.module.js +114 -114
- package/dist/esm2015/public_api.js +18 -18
- package/dist/esm2015/sitecore-jss-sitecore-jss-angular.js +13 -13
- package/dist/fesm2015/sitecore-jss-sitecore-jss-angular.js +1050 -1050
- package/dist/jss-component-factory.service.d.ts +21 -21
- package/dist/lib.module.d.ts +24 -24
- package/dist/package.json +2 -2
- package/dist/public_api.d.ts +19 -19
- package/dist/sitecore-jss-sitecore-jss-angular.d.ts +13 -13
- package/package.json +3 -3
- package/typings/README.md +2 -2
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { ComponentFactory, Injector, Type, Compiler } from '@angular/core';
|
|
2
|
-
import { ComponentRendering, HtmlElementRendering } from '@sitecore-jss/sitecore-jss/layout';
|
|
3
|
-
import { ComponentNameAndModule, ComponentNameAndType } from './components/placeholder.token';
|
|
4
|
-
export interface ComponentFactoryResult {
|
|
5
|
-
componentImplementation?: Type<any>;
|
|
6
|
-
componentDefinition: ComponentRendering | HtmlElementRendering;
|
|
7
|
-
componentFactory?: ComponentFactory<any>;
|
|
8
|
-
}
|
|
9
|
-
export declare class JssComponentFactoryService {
|
|
10
|
-
private injector;
|
|
11
|
-
private compiler;
|
|
12
|
-
private components;
|
|
13
|
-
private lazyComponents;
|
|
14
|
-
private componentMap;
|
|
15
|
-
private lazyComponentMap;
|
|
16
|
-
constructor(injector: Injector, compiler: Compiler, components: ComponentNameAndType[], lazyComponents: ComponentNameAndModule[]);
|
|
17
|
-
private loadModuleFactory;
|
|
18
|
-
getComponent(component: ComponentRendering): Promise<ComponentFactoryResult>;
|
|
19
|
-
getComponents(components: Array<ComponentRendering | HtmlElementRendering>): Promise<ComponentFactoryResult[]>;
|
|
20
|
-
private getRawComponent;
|
|
21
|
-
}
|
|
1
|
+
import { ComponentFactory, Injector, Type, Compiler } from '@angular/core';
|
|
2
|
+
import { ComponentRendering, HtmlElementRendering } from '@sitecore-jss/sitecore-jss/layout';
|
|
3
|
+
import { ComponentNameAndModule, ComponentNameAndType } from './components/placeholder.token';
|
|
4
|
+
export interface ComponentFactoryResult {
|
|
5
|
+
componentImplementation?: Type<any>;
|
|
6
|
+
componentDefinition: ComponentRendering | HtmlElementRendering;
|
|
7
|
+
componentFactory?: ComponentFactory<any>;
|
|
8
|
+
}
|
|
9
|
+
export declare class JssComponentFactoryService {
|
|
10
|
+
private injector;
|
|
11
|
+
private compiler;
|
|
12
|
+
private components;
|
|
13
|
+
private lazyComponents;
|
|
14
|
+
private componentMap;
|
|
15
|
+
private lazyComponentMap;
|
|
16
|
+
constructor(injector: Injector, compiler: Compiler, components: ComponentNameAndType[], lazyComponents: ComponentNameAndModule[]);
|
|
17
|
+
private loadModuleFactory;
|
|
18
|
+
getComponent(component: ComponentRendering): Promise<ComponentFactoryResult>;
|
|
19
|
+
getComponents(components: Array<ComponentRendering | HtmlElementRendering>): Promise<ComponentFactoryResult[]>;
|
|
20
|
+
private getRawComponent;
|
|
21
|
+
}
|
package/dist/lib.module.d.ts
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { ModuleWithProviders, Type } from '@angular/core';
|
|
2
|
-
import { ComponentNameAndModule, ComponentNameAndType } from './components/placeholder.token';
|
|
3
|
-
export declare class JssModule {
|
|
4
|
-
/**
|
|
5
|
-
* Instantiates the JSS module with no component factory.
|
|
6
|
-
* Useful for using it from libraries. Most of the time you'd want withComponents()
|
|
7
|
-
* @returns {ModuleWithProviders<JssModule>} module
|
|
8
|
-
*/
|
|
9
|
-
static forRoot(): ModuleWithProviders<JssModule>;
|
|
10
|
-
/**
|
|
11
|
-
* Instantiates a module for a lazy-loaded JSS component
|
|
12
|
-
* @param {Type<unknown>} component
|
|
13
|
-
* @returns {ModuleWithProviders<JssModule>} module
|
|
14
|
-
*/
|
|
15
|
-
static forChild(component: Type<unknown>): ModuleWithProviders<JssModule>;
|
|
16
|
-
/**
|
|
17
|
-
* Instantiates the JSS module and specifies the mapping from component name to component implementation.
|
|
18
|
-
* Appropriate when defining the set of JSS components that your app is aware of.
|
|
19
|
-
* @param {ComponentNameAndType[]} components
|
|
20
|
-
* @param {ComponentNameAndModule[]} [lazyComponents]
|
|
21
|
-
* @returns {ModuleWithProviders<JssModule>} module
|
|
22
|
-
*/
|
|
23
|
-
static withComponents(components: ComponentNameAndType[], lazyComponents?: ComponentNameAndModule[]): ModuleWithProviders<JssModule>;
|
|
24
|
-
}
|
|
1
|
+
import { ModuleWithProviders, Type } from '@angular/core';
|
|
2
|
+
import { ComponentNameAndModule, ComponentNameAndType } from './components/placeholder.token';
|
|
3
|
+
export declare class JssModule {
|
|
4
|
+
/**
|
|
5
|
+
* Instantiates the JSS module with no component factory.
|
|
6
|
+
* Useful for using it from libraries. Most of the time you'd want withComponents()
|
|
7
|
+
* @returns {ModuleWithProviders<JssModule>} module
|
|
8
|
+
*/
|
|
9
|
+
static forRoot(): ModuleWithProviders<JssModule>;
|
|
10
|
+
/**
|
|
11
|
+
* Instantiates a module for a lazy-loaded JSS component
|
|
12
|
+
* @param {Type<unknown>} component
|
|
13
|
+
* @returns {ModuleWithProviders<JssModule>} module
|
|
14
|
+
*/
|
|
15
|
+
static forChild(component: Type<unknown>): ModuleWithProviders<JssModule>;
|
|
16
|
+
/**
|
|
17
|
+
* Instantiates the JSS module and specifies the mapping from component name to component implementation.
|
|
18
|
+
* Appropriate when defining the set of JSS components that your app is aware of.
|
|
19
|
+
* @param {ComponentNameAndType[]} components
|
|
20
|
+
* @param {ComponentNameAndModule[]} [lazyComponents]
|
|
21
|
+
* @returns {ModuleWithProviders<JssModule>} module
|
|
22
|
+
*/
|
|
23
|
+
static withComponents(components: ComponentNameAndType[], lazyComponents?: ComponentNameAndModule[]): ModuleWithProviders<JssModule>;
|
|
24
|
+
}
|
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sitecore-jss/sitecore-jss-angular",
|
|
3
|
-
"version": "20.3.2-canary.
|
|
3
|
+
"version": "20.3.2-canary.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=12",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"rxjs": "~6.6.6"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@sitecore-jss/sitecore-jss": "^20.3.2-canary.
|
|
25
|
+
"@sitecore-jss/sitecore-jss": "^20.3.2-canary.2",
|
|
26
26
|
"tslib": "^2.0.0"
|
|
27
27
|
},
|
|
28
28
|
"main": "bundles/sitecore-jss-sitecore-jss-angular.umd.js",
|
package/dist/public_api.d.ts
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
export { FileDirective } from './components/file.directive';
|
|
2
|
-
export { ImageDirective } from './components/image.directive';
|
|
3
|
-
export { LinkDirective } from './components/link.directive';
|
|
4
|
-
export { RouterLinkDirective } from './components/router-link.directive';
|
|
5
|
-
export { GenericLinkDirective } from './components/generic-link.directive';
|
|
6
|
-
export { PlaceholderComponent } from './components/placeholder.component';
|
|
7
|
-
export { PlaceholderLoadingDirective } from './components/placeholder-loading.directive';
|
|
8
|
-
export { ComponentNameAndType, DYNAMIC_COMPONENT } from './components/placeholder.token';
|
|
9
|
-
export { isRawRendering } from './components/rendering';
|
|
10
|
-
export { FileField, ImageField, LinkField, RenderingField, RichTextField, TextField, } from './components/rendering-field';
|
|
11
|
-
export { RichTextDirective } from './components/rich-text.directive';
|
|
12
|
-
export { TextDirective } from './components/text.directive';
|
|
13
|
-
export { JssModule } from './lib.module';
|
|
14
|
-
export { mediaApi } from '@sitecore-jss/sitecore-jss/media';
|
|
15
|
-
export { DictionaryService, GraphQLDictionaryService, RestDictionaryService, } from '@sitecore-jss/sitecore-jss/i18n';
|
|
16
|
-
export { LayoutService, LayoutServiceData, LayoutServiceContextData, GraphQLLayoutService, RestLayoutService, PlaceholdersData, RouteData, Field, HtmlElementRendering, getChildPlaceholder, getFieldValue, ComponentRendering, ComponentFields, ComponentParams, } from '@sitecore-jss/sitecore-jss/layout';
|
|
17
|
-
export { RetryStrategy, DefaultRetryStrategy } from '@sitecore-jss/sitecore-jss/graphql';
|
|
18
|
-
export { constants, HttpDataFetcher, HttpResponse, ClientError } from '@sitecore-jss/sitecore-jss';
|
|
19
|
-
export { isServer, isExperienceEditorActive, resetExperienceEditorChromes, isEditorActive, resetEditorChromes, handleEditorAnchors, } from '@sitecore-jss/sitecore-jss/utils';
|
|
1
|
+
export { FileDirective } from './components/file.directive';
|
|
2
|
+
export { ImageDirective } from './components/image.directive';
|
|
3
|
+
export { LinkDirective } from './components/link.directive';
|
|
4
|
+
export { RouterLinkDirective } from './components/router-link.directive';
|
|
5
|
+
export { GenericLinkDirective } from './components/generic-link.directive';
|
|
6
|
+
export { PlaceholderComponent } from './components/placeholder.component';
|
|
7
|
+
export { PlaceholderLoadingDirective } from './components/placeholder-loading.directive';
|
|
8
|
+
export { ComponentNameAndType, DYNAMIC_COMPONENT } from './components/placeholder.token';
|
|
9
|
+
export { isRawRendering } from './components/rendering';
|
|
10
|
+
export { FileField, ImageField, LinkField, RenderingField, RichTextField, TextField, } from './components/rendering-field';
|
|
11
|
+
export { RichTextDirective } from './components/rich-text.directive';
|
|
12
|
+
export { TextDirective } from './components/text.directive';
|
|
13
|
+
export { JssModule } from './lib.module';
|
|
14
|
+
export { mediaApi } from '@sitecore-jss/sitecore-jss/media';
|
|
15
|
+
export { DictionaryService, GraphQLDictionaryService, RestDictionaryService, } from '@sitecore-jss/sitecore-jss/i18n';
|
|
16
|
+
export { LayoutService, LayoutServiceData, LayoutServiceContextData, GraphQLLayoutService, RestLayoutService, PlaceholdersData, RouteData, Field, HtmlElementRendering, getChildPlaceholder, getFieldValue, ComponentRendering, ComponentFields, ComponentParams, } from '@sitecore-jss/sitecore-jss/layout';
|
|
17
|
+
export { RetryStrategy, DefaultRetryStrategy } from '@sitecore-jss/sitecore-jss/graphql';
|
|
18
|
+
export { constants, HttpDataFetcher, HttpResponse, ClientError } from '@sitecore-jss/sitecore-jss';
|
|
19
|
+
export { isServer, isExperienceEditorActive, resetExperienceEditorChromes, isEditorActive, resetEditorChromes, handleEditorAnchors, } from '@sitecore-jss/sitecore-jss/utils';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
export * from './public_api';
|
|
5
|
-
export { DateDirective as ɵi } from './components/date.directive';
|
|
6
|
-
export { HiddenRenderingComponent as ɵm } from './components/hidden-rendering.component';
|
|
7
|
-
export { MissingComponentComponent as ɵl } from './components/missing-component.component';
|
|
8
|
-
export { ComponentNameAndModule as ɵa, PLACEHOLDER_COMPONENTS as ɵb, PLACEHOLDER_HIDDEN_RENDERING_COMPONENT as ɵe, PLACEHOLDER_LAZY_COMPONENTS as ɵc, PLACEHOLDER_MISSING_COMPONENT_COMPONENT as ɵd } from './components/placeholder.token';
|
|
9
|
-
export { RawComponent as ɵk } from './components/raw.component';
|
|
10
|
-
export { RenderComponentComponent as ɵj } from './components/render-component.component';
|
|
11
|
-
export { RenderEachDirective as ɵf } from './components/render-each.directive';
|
|
12
|
-
export { RenderEmptyDirective as ɵg } from './components/render-empty.directive';
|
|
13
|
-
export { JssComponentFactoryService as ɵh } from './jss-component-factory.service';
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
export * from './public_api';
|
|
5
|
+
export { DateDirective as ɵi } from './components/date.directive';
|
|
6
|
+
export { HiddenRenderingComponent as ɵm } from './components/hidden-rendering.component';
|
|
7
|
+
export { MissingComponentComponent as ɵl } from './components/missing-component.component';
|
|
8
|
+
export { ComponentNameAndModule as ɵa, PLACEHOLDER_COMPONENTS as ɵb, PLACEHOLDER_HIDDEN_RENDERING_COMPONENT as ɵe, PLACEHOLDER_LAZY_COMPONENTS as ɵc, PLACEHOLDER_MISSING_COMPONENT_COMPONENT as ɵd } from './components/placeholder.token';
|
|
9
|
+
export { RawComponent as ɵk } from './components/raw.component';
|
|
10
|
+
export { RenderComponentComponent as ɵj } from './components/render-component.component';
|
|
11
|
+
export { RenderEachDirective as ɵf } from './components/render-each.directive';
|
|
12
|
+
export { RenderEmptyDirective as ɵg } from './components/render-empty.directive';
|
|
13
|
+
export { JssComponentFactoryService as ɵh } from './jss-component-factory.service';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sitecore-jss/sitecore-jss-angular",
|
|
3
|
-
"version": "20.3.2
|
|
3
|
+
"version": "20.3.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "ng-packagr -p ng-package.json",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"rxjs": "~6.6.6"
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|
|
61
|
-
"@sitecore-jss/sitecore-jss": "
|
|
61
|
+
"@sitecore-jss/sitecore-jss": "20.3.2"
|
|
62
62
|
},
|
|
63
63
|
"main": "dist/bundles/sitecore-jss-sitecore-jss-angular.umd.js",
|
|
64
64
|
"module": "dist/fesm2015/sitecore-jss-sitecore-jss-angular.js",
|
|
@@ -71,5 +71,5 @@
|
|
|
71
71
|
"es2015_ivy_ngcc": "dist/__ivy_ngcc__/fesm2015/sitecore-jss-sitecore-jss-angular.js",
|
|
72
72
|
"fesm2015_ivy_ngcc": "dist/__ivy_ngcc__/fesm2015/sitecore-jss-sitecore-jss-angular.js",
|
|
73
73
|
"sideEffects": false,
|
|
74
|
-
"gitHead": "
|
|
74
|
+
"gitHead": "92c1cbb12020b0fe7fbaed10df0656827362ca33"
|
|
75
75
|
}
|
package/typings/README.md
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
This folder is not a TypeScript v1 typings folder (which was a generated folder of typings).
|
|
2
|
-
This is a manually maintained typings folder.
|
|
1
|
+
This folder is not a TypeScript v1 typings folder (which was a generated folder of typings).
|
|
2
|
+
This is a manually maintained typings folder.
|