survey-creator-angular 1.9.77 → 1.9.79
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/bundles/survey-creator-angular.umd.js +22 -1
- package/bundles/survey-creator-angular.umd.js.map +1 -1
- package/esm2015/string-editor.component.js +11 -2
- package/fesm2015/survey-creator-angular.js +10 -1
- package/fesm2015/survey-creator-angular.js.map +1 -1
- package/package.json +1 -1
- package/string-editor.component.d.ts +4 -1
|
@@ -1917,6 +1917,27 @@
|
|
|
1917
1917
|
enumerable: false,
|
|
1918
1918
|
configurable: true
|
|
1919
1919
|
});
|
|
1920
|
+
Object.defineProperty(StringEditorComponent.prototype, "characterCounter", {
|
|
1921
|
+
get: function () {
|
|
1922
|
+
return this.baseModel.characterCounter;
|
|
1923
|
+
},
|
|
1924
|
+
enumerable: false,
|
|
1925
|
+
configurable: true
|
|
1926
|
+
});
|
|
1927
|
+
Object.defineProperty(StringEditorComponent.prototype, "showCharacterCounter", {
|
|
1928
|
+
get: function () {
|
|
1929
|
+
return this.baseModel.showCharacterCounter;
|
|
1930
|
+
},
|
|
1931
|
+
enumerable: false,
|
|
1932
|
+
configurable: true
|
|
1933
|
+
});
|
|
1934
|
+
Object.defineProperty(StringEditorComponent.prototype, "getCharacterCounterClass", {
|
|
1935
|
+
get: function () {
|
|
1936
|
+
return this.baseModel.getCharacterCounterClass;
|
|
1937
|
+
},
|
|
1938
|
+
enumerable: false,
|
|
1939
|
+
configurable: true
|
|
1940
|
+
});
|
|
1920
1941
|
Object.defineProperty(StringEditorComponent.prototype, "className", {
|
|
1921
1942
|
get: function () {
|
|
1922
1943
|
return this.baseModel.className(this.locString.renderedHtml);
|
|
@@ -1974,7 +1995,7 @@
|
|
|
1974
1995
|
return StringEditorComponent;
|
|
1975
1996
|
}(CreatorModelComponent));
|
|
1976
1997
|
StringEditorComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: StringEditorComponent, deps: [{ token: i0__namespace.ChangeDetectorRef }, { token: i0__namespace.ViewContainerRef }, { token: i0__namespace.NgZone }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1977
|
-
StringEditorComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: StringEditorComponent, selector: "svc-string-edtior", inputs: { model: "model" }, viewQueries: [{ propertyName: "container", first: true, predicate: ["container"], descendants: true }], usesInheritance: true, ngImport: i0__namespace, template: "<ng-template #template>\n <span [class]=\"className\">\n <span class=\"svc-string-editor__content\">\n <div class=\"svc-string-editor__border\">\n <svg [iconName]=\"'icon-arrow-up'\" class=\"svc-string-editor__button svc-string-editor__button--edit\" [size]=\"24\" sv-ng-svg-icon \n (click)=\"edit($event)\" [iconName]=\"'icon-edit'\" [size]=\"16\"></svg>\n </div>\n <span role=\"textbox\" *ngIf=\"!locString.hasHtml\" class=\"sv-string-editor\" spellcheck=\"false\"\n
|
|
1998
|
+
StringEditorComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: StringEditorComponent, selector: "svc-string-edtior", inputs: { model: "model" }, viewQueries: [{ propertyName: "container", first: true, predicate: ["container"], descendants: true }], usesInheritance: true, ngImport: i0__namespace, template: "<ng-template #template>\n <span [class]=\"className\">\n <span class=\"svc-string-editor__content\">\n <div class=\"svc-string-editor__border\">\n <svg [iconName]=\"'icon-arrow-up'\" class=\"svc-string-editor__button svc-string-editor__button--edit\" [size]=\"24\" sv-ng-svg-icon \n (click)=\"edit($event)\" [iconName]=\"'icon-edit'\" [size]=\"16\"></svg>\n </div>\n <span class=\"svc-string-editor__input\">\n <span role=\"textbox\" *ngIf=\"!locString.hasHtml\" class=\"sv-string-editor\" spellcheck=\"false\"\n (focus)=\"onFocus($event)\" (blur)=\"onBlur($event)\" (input)=\"baseModel.onInput($event)\" (keydown)=\"baseModel.onKeyDown($event)\" (keyup)=\"baseModel.onKeyUp($event)\" (mouseup)=\"baseModel.onMouseUp($event)\" (click)=\"edit($event)\" [attr.aria-placeholder]=\"placeholder\" [attr.contenteditable]=\"contentEditable\" [innerText]=\"editValue\" #container></span>\n <span role=\"textbox\" *ngIf=\"locString.hasHtml\" class=\"sv-string-editor\" spellcheck=\"false\"\n (focus)=\"onFocus($event)\" (blur)=\"onBlur($event)\" (keydown)=\"baseModel.onKeyDown($event)\" (keyup)=\"baseModel.onKeyUp($event)\" (mouseup)=\"baseModel.onMouseUp($event)\"\n (click)=\"edit($event)\" [attr.aria-placeholder]=\"placeholder\" [attr.contenteditable]=\"contentEditable\" [innerHtml]=\"editValue\" #container></span>\n <sv-ng-character-counter *ngIf=\"showCharacterCounter\" [counter]=\"characterCounter\" [remainingCharacterCounter]=\"getCharacterCounterClass\"></sv-ng-character-counter>\n </span>\n </span>\n <span *ngIf=\"errorText\" class=\"svc-string-editor__error\">{{errorText}}</span>\n </span>\n</ng-template>", styles: [":host { display: none; }"], components: [{ type: i1__namespace.SvgIconComponent, selector: "'[sv-ng-svg-icon]'", inputs: ["size", "width", "height", "iconName", "partCss", "css", "title"] }, { type: i1__namespace.CharacterCounterComponent, selector: "sv-ng-character-counter", inputs: ["counter", "remainingCharacterCounter"] }], directives: [{ type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
1978
1999
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: StringEditorComponent, decorators: [{
|
|
1979
2000
|
type: i0.Component,
|
|
1980
2001
|
args: [{
|