@sitecore-jss/sitecore-jss-angular 18.0.1 → 18.0.2-canary.0
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 +5 -5
- package/dist/README.md +5 -5
- package/dist/bundles/sitecore-jss-sitecore-jss-angular.umd.js +1421 -1421
- package/dist/components/date.directive.d.ts +17 -22
- package/dist/components/file.directive.d.ts +14 -19
- package/dist/components/generic-link.directive.d.ts +14 -19
- package/dist/components/image.directive.d.ts +28 -33
- package/dist/components/link.directive.d.ts +18 -23
- package/dist/components/missing-component.component.d.ts +3 -8
- package/dist/components/placeholder-loading.directive.d.ts +5 -10
- package/dist/components/placeholder.component.d.ts +45 -50
- package/dist/components/placeholder.token.d.ts +30 -30
- package/dist/components/raw.component.d.ts +9 -14
- package/dist/components/render-component.component.d.ts +29 -34
- package/dist/components/render-each.directive.d.ts +5 -10
- package/dist/components/render-empty.directive.d.ts +5 -10
- package/dist/components/rendering-field.d.ts +20 -20
- package/dist/components/rendering.d.ts +5 -5
- package/dist/components/rich-text.directive.d.ts +12 -17
- package/dist/components/router-link.directive.d.ts +12 -17
- package/dist/components/text.directive.d.ts +13 -18
- package/dist/esm2015/components/date.directive.js +52 -52
- package/dist/esm2015/components/file.directive.js +42 -42
- package/dist/esm2015/components/generic-link.directive.js +57 -57
- package/dist/esm2015/components/image.directive.js +122 -122
- package/dist/esm2015/components/link.directive.js +98 -98
- 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 +191 -191
- package/dist/esm2015/components/placeholder.token.js +20 -20
- 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 +86 -86
- package/dist/esm2015/layout-service-error.js +2 -2
- package/dist/esm2015/layout.service.js +28 -28
- package/dist/esm2015/lib.module.js +111 -111
- package/dist/esm2015/public_api.js +16 -16
- package/dist/esm2015/sitecore-jss-sitecore-jss-angular.js +12 -12
- package/dist/esm2015/utils.js +37 -37
- package/dist/fesm2015/sitecore-jss-sitecore-jss-angular.js +1079 -1079
- package/dist/jss-component-factory.service.d.ts +21 -26
- package/dist/layout-service-error.d.ts +8 -8
- package/dist/layout.service.d.ts +8 -13
- package/dist/lib.module.d.ts +24 -46
- package/dist/package.json +7 -16
- package/dist/public_api.d.ts +17 -17
- package/dist/sitecore-jss-sitecore-jss-angular.d.ts +12 -14
- package/dist/utils.d.ts +10 -10
- package/package.json +3 -3
- package/typings/README.md +2 -2
- package/dist/__ivy_ngcc__/fesm2015/sitecore-jss-sitecore-jss-angular.js +0 -1391
- package/dist/__ivy_ngcc__/fesm2015/sitecore-jss-sitecore-jss-angular.js.map +0 -1
- package/dist/components/date.directive.d.ts.__ivy_ngcc_bak +0 -17
- package/dist/components/date.directive.d.ts.map +0 -1
- package/dist/components/file.directive.d.ts.__ivy_ngcc_bak +0 -14
- package/dist/components/file.directive.d.ts.map +0 -1
- package/dist/components/generic-link.directive.d.ts.__ivy_ngcc_bak +0 -14
- package/dist/components/generic-link.directive.d.ts.map +0 -1
- package/dist/components/image.directive.d.ts.__ivy_ngcc_bak +0 -28
- package/dist/components/image.directive.d.ts.map +0 -1
- package/dist/components/link.directive.d.ts.__ivy_ngcc_bak +0 -18
- package/dist/components/link.directive.d.ts.map +0 -1
- package/dist/components/missing-component.component.d.ts.__ivy_ngcc_bak +0 -3
- package/dist/components/missing-component.component.d.ts.map +0 -1
- package/dist/components/placeholder-loading.directive.d.ts.__ivy_ngcc_bak +0 -5
- package/dist/components/placeholder-loading.directive.d.ts.map +0 -1
- package/dist/components/placeholder.component.d.ts.__ivy_ngcc_bak +0 -45
- package/dist/components/placeholder.component.d.ts.map +0 -1
- package/dist/components/raw.component.d.ts.__ivy_ngcc_bak +0 -9
- package/dist/components/raw.component.d.ts.map +0 -1
- package/dist/components/render-component.component.d.ts.__ivy_ngcc_bak +0 -29
- package/dist/components/render-component.component.d.ts.map +0 -1
- package/dist/components/render-each.directive.d.ts.__ivy_ngcc_bak +0 -5
- package/dist/components/render-each.directive.d.ts.map +0 -1
- package/dist/components/render-empty.directive.d.ts.__ivy_ngcc_bak +0 -5
- package/dist/components/render-empty.directive.d.ts.map +0 -1
- package/dist/components/rich-text.directive.d.ts.__ivy_ngcc_bak +0 -12
- package/dist/components/rich-text.directive.d.ts.map +0 -1
- package/dist/components/router-link.directive.d.ts.__ivy_ngcc_bak +0 -12
- package/dist/components/router-link.directive.d.ts.map +0 -1
- package/dist/components/text.directive.d.ts.__ivy_ngcc_bak +0 -13
- package/dist/components/text.directive.d.ts.map +0 -1
- package/dist/jss-component-factory.service.d.ts.__ivy_ngcc_bak +0 -21
- package/dist/jss-component-factory.service.d.ts.map +0 -1
- package/dist/layout.service.d.ts.__ivy_ngcc_bak +0 -8
- package/dist/layout.service.d.ts.map +0 -1
- package/dist/lib.module.d.ts.__ivy_ngcc_bak +0 -24
- package/dist/lib.module.d.ts.map +0 -1
- package/dist/sitecore-jss-sitecore-jss-angular.d.ts.__ivy_ngcc_bak +0 -12
- package/dist/sitecore-jss-sitecore-jss-angular.d.ts.map +0 -1
|
@@ -1,26 +1,21 @@
|
|
|
1
|
-
import { ComponentFactory, Injector, Type, Compiler } from '@angular/core';
|
|
2
|
-
import { ComponentRendering, HtmlElementRendering } from '@sitecore-jss/sitecore-jss';
|
|
3
|
-
import { ComponentNameAndModule, ComponentNameAndType } from './components/placeholder.token';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
private
|
|
12
|
-
private
|
|
13
|
-
private
|
|
14
|
-
private
|
|
15
|
-
private
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
static ɵfac: ɵngcc0.ɵɵFactoryDef<JssComponentFactoryService, never>;
|
|
23
|
-
static ɵprov: ɵngcc0.ɵɵInjectableDef<JssComponentFactoryService>;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
//# sourceMappingURL=jss-component-factory.service.d.ts.map
|
|
1
|
+
import { ComponentFactory, Injector, Type, Compiler } from '@angular/core';
|
|
2
|
+
import { ComponentRendering, HtmlElementRendering } from '@sitecore-jss/sitecore-jss';
|
|
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,8 +1,8 @@
|
|
|
1
|
-
import { LayoutServiceContextData } from '@sitecore-jss/sitecore-jss';
|
|
2
|
-
export declare class LayoutServiceError {
|
|
3
|
-
status: number;
|
|
4
|
-
statusText: string;
|
|
5
|
-
data?: {
|
|
6
|
-
sitecore?: LayoutServiceContextData;
|
|
7
|
-
};
|
|
8
|
-
}
|
|
1
|
+
import { LayoutServiceContextData } from '@sitecore-jss/sitecore-jss';
|
|
2
|
+
export declare class LayoutServiceError {
|
|
3
|
+
status: number;
|
|
4
|
+
statusText: string;
|
|
5
|
+
data?: {
|
|
6
|
+
sitecore?: LayoutServiceContextData;
|
|
7
|
+
};
|
|
8
|
+
}
|
package/dist/layout.service.d.ts
CHANGED
|
@@ -1,13 +1,8 @@
|
|
|
1
|
-
import { LayoutServiceData, LayoutServiceRequestOptions, PlaceholderData } from '@sitecore-jss/sitecore-jss';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { LayoutServiceError } from './layout-service-error';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
static ɵfac: ɵngcc0.ɵɵFactoryDef<LayoutService, never>;
|
|
10
|
-
static ɵprov: ɵngcc0.ɵɵInjectableDef<LayoutService>;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
//# sourceMappingURL=layout.service.d.ts.map
|
|
1
|
+
import { LayoutServiceData, LayoutServiceRequestOptions, PlaceholderData } from '@sitecore-jss/sitecore-jss';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { LayoutServiceError } from './layout-service-error';
|
|
4
|
+
export declare class LayoutService {
|
|
5
|
+
private static getLayoutServiceError;
|
|
6
|
+
getRouteData(route: string, options: LayoutServiceRequestOptions<LayoutServiceData>): Observable<LayoutServiceData | LayoutServiceError>;
|
|
7
|
+
getPlaceholderData(route: string, placeholderName: string, options: LayoutServiceRequestOptions<PlaceholderData>): Observable<PlaceholderData | LayoutServiceError>;
|
|
8
|
+
}
|
package/dist/lib.module.d.ts
CHANGED
|
@@ -1,46 +1,24 @@
|
|
|
1
|
-
import { ModuleWithProviders, Type } from '@angular/core';
|
|
2
|
-
import { ComponentNameAndModule, ComponentNameAndType } from './components/placeholder.token';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
*/
|
|
26
|
-
static forRoot(): ModuleWithProviders<JssModule>;
|
|
27
|
-
/**
|
|
28
|
-
* Instantiates a module for a lazy-loaded JSS component
|
|
29
|
-
* @param {Type<any>} component
|
|
30
|
-
* @returns {ModuleWithProviders<JssModule>} module
|
|
31
|
-
*/
|
|
32
|
-
static forChild(component: Type<any>): ModuleWithProviders<JssModule>;
|
|
33
|
-
/**
|
|
34
|
-
* Instantiates the JSS module and specifies the mapping from component name to component implementation.
|
|
35
|
-
* Appropriate when defining the set of JSS components that your app is aware of.
|
|
36
|
-
* @param {ComponentNameAndType[]} components
|
|
37
|
-
* @param {ComponentNameAndModule[]} [lazyComponents]
|
|
38
|
-
* @returns {ModuleWithProviders<JssModule>} module
|
|
39
|
-
*/
|
|
40
|
-
static withComponents(components: ComponentNameAndType[], lazyComponents?: ComponentNameAndModule[]): ModuleWithProviders<JssModule>;
|
|
41
|
-
static ɵfac: ɵngcc0.ɵɵFactoryDef<JssModule, never>;
|
|
42
|
-
static ɵmod: ɵngcc0.ɵɵNgModuleDefWithMeta<JssModule, [typeof ɵngcc1.FileDirective, typeof ɵngcc2.ImageDirective, typeof ɵngcc3.LinkDirective, typeof ɵngcc4.RouterLinkDirective, typeof ɵngcc5.GenericLinkDirective, typeof ɵngcc6.DateDirective, typeof ɵngcc7.RenderEachDirective, typeof ɵngcc8.RenderEmptyDirective, typeof ɵngcc9.PlaceholderLoadingDirective, typeof ɵngcc10.RenderComponentComponent, typeof ɵngcc11.PlaceholderComponent, typeof ɵngcc12.RawComponent, typeof ɵngcc13.RichTextDirective, typeof ɵngcc14.TextDirective, typeof ɵngcc15.MissingComponentComponent], [typeof ɵngcc16.CommonModule], [typeof ɵngcc1.FileDirective, typeof ɵngcc2.ImageDirective, typeof ɵngcc6.DateDirective, typeof ɵngcc3.LinkDirective, typeof ɵngcc4.RouterLinkDirective, typeof ɵngcc5.GenericLinkDirective, typeof ɵngcc7.RenderEachDirective, typeof ɵngcc8.RenderEmptyDirective, typeof ɵngcc10.RenderComponentComponent, typeof ɵngcc11.PlaceholderComponent, typeof ɵngcc9.PlaceholderLoadingDirective, typeof ɵngcc13.RichTextDirective, typeof ɵngcc14.TextDirective]>;
|
|
43
|
-
static ɵinj: ɵngcc0.ɵɵInjectorDef<JssModule>;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
//# sourceMappingURL=lib.module.d.ts.map
|
|
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<any>} component
|
|
13
|
+
* @returns {ModuleWithProviders<JssModule>} module
|
|
14
|
+
*/
|
|
15
|
+
static forChild(component: Type<any>): 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": "18.0.
|
|
3
|
+
"version": "18.0.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Sitecore Corporation",
|
|
@@ -18,28 +18,19 @@
|
|
|
18
18
|
"rxjs": "~6.6.6"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@sitecore-jss/sitecore-jss": "^18.0.
|
|
21
|
+
"@sitecore-jss/sitecore-jss": "^18.0.1",
|
|
22
22
|
"tslib": "^2.0.0"
|
|
23
23
|
},
|
|
24
24
|
"main": "bundles/sitecore-jss-sitecore-jss-angular.umd.js",
|
|
25
|
-
"module_ivy_ngcc": "__ivy_ngcc__/fesm2015/sitecore-jss-sitecore-jss-angular.js",
|
|
26
25
|
"module": "fesm2015/sitecore-jss-sitecore-jss-angular.js",
|
|
27
|
-
"es2015_ivy_ngcc": "__ivy_ngcc__/fesm2015/sitecore-jss-sitecore-jss-angular.js",
|
|
28
26
|
"es2015": "fesm2015/sitecore-jss-sitecore-jss-angular.js",
|
|
29
27
|
"typings": "sitecore-jss-sitecore-jss-angular.d.ts",
|
|
30
28
|
"metadata": "sitecore-jss-sitecore-jss-angular.metadata.json",
|
|
31
29
|
"esm2015": "esm2015/sitecore-jss-sitecore-jss-angular.js",
|
|
32
|
-
"fesm2015_ivy_ngcc": "__ivy_ngcc__/fesm2015/sitecore-jss-sitecore-jss-angular.js",
|
|
33
30
|
"fesm2015": "fesm2015/sitecore-jss-sitecore-jss-angular.js",
|
|
31
|
+
"module_ivy_ngcc": "dist/__ivy_ngcc__/fesm2015/sitecore-jss-sitecore-jss-angular.js",
|
|
32
|
+
"es2015_ivy_ngcc": "dist/__ivy_ngcc__/fesm2015/sitecore-jss-sitecore-jss-angular.js",
|
|
33
|
+
"fesm2015_ivy_ngcc": "dist/__ivy_ngcc__/fesm2015/sitecore-jss-sitecore-jss-angular.js",
|
|
34
34
|
"sideEffects": false,
|
|
35
|
-
"gitHead": "2f4820efddf4454eeee58ed1b2cc251969efdf5b"
|
|
36
|
-
|
|
37
|
-
"es2015": "11.2.6",
|
|
38
|
-
"fesm2015": "11.2.6",
|
|
39
|
-
"module": "11.2.6",
|
|
40
|
-
"typings": "11.2.6"
|
|
41
|
-
},
|
|
42
|
-
"scripts": {
|
|
43
|
-
"prepublishOnly": "node --eval \"console.error('ERROR: Trying to publish a package that has been compiled by NGCC. This is not allowed.\\nPlease delete and rebuild the package, without compiling with NGCC, before attempting to publish.\\nNote that NGCC may have been run by importing this package into another project that is being built with Ivy enabled.\\n')\" && exit 1"
|
|
44
|
-
}
|
|
45
|
-
}
|
|
35
|
+
"gitHead": "2f4820efddf4454eeee58ed1b2cc251969efdf5b"
|
|
36
|
+
}
|
package/dist/public_api.d.ts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
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 { LayoutService } from './layout.service';
|
|
14
|
-
export { LayoutServiceError } from './layout-service-error';
|
|
15
|
-
export { JssModule } from './lib.module';
|
|
16
|
-
export { handleEditorAnchors } from './utils';
|
|
17
|
-
export { dataApi, mediaApi, isExperienceEditorActive, resetExperienceEditorChromes, LayoutServiceData, LayoutServiceContextData, RouteData, Field, HtmlElementRendering, LayoutServiceRequestOptions, getChildPlaceholder, getFieldValue, ComponentRendering, ComponentFields, ComponentParams, HttpDataFetcher, HttpResponse, isServer, } from '@sitecore-jss/sitecore-jss';
|
|
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 { LayoutService } from './layout.service';
|
|
14
|
+
export { LayoutServiceError } from './layout-service-error';
|
|
15
|
+
export { JssModule } from './lib.module';
|
|
16
|
+
export { handleEditorAnchors } from './utils';
|
|
17
|
+
export { dataApi, mediaApi, isExperienceEditorActive, resetExperienceEditorChromes, LayoutServiceData, LayoutServiceContextData, RouteData, Field, HtmlElementRendering, LayoutServiceRequestOptions, getChildPlaceholder, getFieldValue, ComponentRendering, ComponentFields, ComponentParams, HttpDataFetcher, HttpResponse, isServer, } from '@sitecore-jss/sitecore-jss';
|
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
export * from './public_api';
|
|
5
|
-
export { DateDirective as ɵh } from './components/date.directive';
|
|
6
|
-
export { MissingComponentComponent as ɵk } from './components/missing-component.component';
|
|
7
|
-
export { ComponentNameAndModule as ɵa, PLACEHOLDER_COMPONENTS as ɵb, PLACEHOLDER_LAZY_COMPONENTS as ɵc, PLACEHOLDER_MISSING_COMPONENT_COMPONENT as ɵd } from './components/placeholder.token';
|
|
8
|
-
export { RawComponent as ɵj } from './components/raw.component';
|
|
9
|
-
export { RenderComponentComponent as ɵi } from './components/render-component.component';
|
|
10
|
-
export { RenderEachDirective as ɵe } from './components/render-each.directive';
|
|
11
|
-
export { RenderEmptyDirective as ɵf } from './components/render-empty.directive';
|
|
12
|
-
export { JssComponentFactoryService as ɵg } from './jss-component-factory.service';
|
|
13
|
-
|
|
14
|
-
//# sourceMappingURL=sitecore-jss-sitecore-jss-angular.d.ts.map
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
export * from './public_api';
|
|
5
|
+
export { DateDirective as ɵh } from './components/date.directive';
|
|
6
|
+
export { MissingComponentComponent as ɵk } from './components/missing-component.component';
|
|
7
|
+
export { ComponentNameAndModule as ɵa, PLACEHOLDER_COMPONENTS as ɵb, PLACEHOLDER_LAZY_COMPONENTS as ɵc, PLACEHOLDER_MISSING_COMPONENT_COMPONENT as ɵd } from './components/placeholder.token';
|
|
8
|
+
export { RawComponent as ɵj } from './components/raw.component';
|
|
9
|
+
export { RenderComponentComponent as ɵi } from './components/render-component.component';
|
|
10
|
+
export { RenderEachDirective as ɵe } from './components/render-each.directive';
|
|
11
|
+
export { RenderEmptyDirective as ɵf } from './components/render-empty.directive';
|
|
12
|
+
export { JssComponentFactoryService as ɵg } from './jss-component-factory.service';
|
package/dist/utils.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @description in Experience Editor with an Angular sample app, anchor tags
|
|
3
|
-
* with both onclick and href attributes will use the href, blocking the onclick from firing.
|
|
4
|
-
* This function makes it so the anchor tags function as intended in an Angular sample when using Experience Editor
|
|
5
|
-
*
|
|
6
|
-
* The Mutation Observer API is used to observe changes to the body, then select all elements with href="#" and an onclick,
|
|
7
|
-
* and replaces the # value with javascript:void(0); which prevents the anchor tag from blocking the onclick event handler.
|
|
8
|
-
* @see Mutation Observer API: https://developer.mozilla.org/en-US/docs/Web/API/MutationObserver/MutationObserver
|
|
9
|
-
*/
|
|
10
|
-
export declare const handleEditorAnchors: () => void;
|
|
1
|
+
/**
|
|
2
|
+
* @description in Experience Editor with an Angular sample app, anchor tags
|
|
3
|
+
* with both onclick and href attributes will use the href, blocking the onclick from firing.
|
|
4
|
+
* This function makes it so the anchor tags function as intended in an Angular sample when using Experience Editor
|
|
5
|
+
*
|
|
6
|
+
* The Mutation Observer API is used to observe changes to the body, then select all elements with href="#" and an onclick,
|
|
7
|
+
* and replaces the # value with javascript:void(0); which prevents the anchor tag from blocking the onclick event handler.
|
|
8
|
+
* @see Mutation Observer API: https://developer.mozilla.org/en-US/docs/Web/API/MutationObserver/MutationObserver
|
|
9
|
+
*/
|
|
10
|
+
export declare const handleEditorAnchors: () => void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sitecore-jss/sitecore-jss-angular",
|
|
3
|
-
"version": "18.0.
|
|
3
|
+
"version": "18.0.2-canary.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "ng-packagr -p ng-package.json",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"rxjs": "~6.6.6"
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
|
-
"@sitecore-jss/sitecore-jss": "^18.0.
|
|
55
|
+
"@sitecore-jss/sitecore-jss": "^18.0.2-canary.0"
|
|
56
56
|
},
|
|
57
57
|
"main": "dist/bundles/sitecore-jss-sitecore-jss-angular.umd.js",
|
|
58
58
|
"module": "dist/fesm2015/sitecore-jss-sitecore-jss-angular.js",
|
|
@@ -65,5 +65,5 @@
|
|
|
65
65
|
"es2015_ivy_ngcc": "dist/__ivy_ngcc__/fesm2015/sitecore-jss-sitecore-jss-angular.js",
|
|
66
66
|
"fesm2015_ivy_ngcc": "dist/__ivy_ngcc__/fesm2015/sitecore-jss-sitecore-jss-angular.js",
|
|
67
67
|
"sideEffects": false,
|
|
68
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "5b42cfc872a84ccdcf1d34809286e5f3f33bbe1b"
|
|
69
69
|
}
|
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.
|