@candy-kingdom/bonnie-cms 0.1.8 → 0.3.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/esm2022/index.mjs +3 -5
- package/esm2022/lib/bonnie-cms.module.mjs +45 -22
- package/esm2022/lib/core-components/form-base.component.mjs +4 -7
- package/esm2022/lib/file-uploader/file-uploader.component.mjs +118 -0
- package/esm2022/lib/file-uploader/index.mjs +2 -0
- package/esm2022/lib/forms/file-form/file-form.component.mjs +43 -0
- package/esm2022/lib/forms/file-form/index.mjs +2 -0
- package/esm2022/lib/forms/index.mjs +8 -0
- package/esm2022/lib/forms/lottie-form/index.mjs +2 -0
- package/esm2022/lib/forms/lottie-form/lottie-form.component.mjs +45 -0
- package/esm2022/lib/forms/seo-form/index.mjs +2 -0
- package/esm2022/lib/{seo-form → forms/seo-form}/seo-form.component.mjs +6 -6
- package/esm2022/lib/forms/svg-form/index.mjs +2 -0
- package/esm2022/lib/forms/svg-form/svg-form.component.mjs +49 -0
- package/esm2022/lib/forms/text-form/TextInputStyle.mjs +7 -0
- package/esm2022/lib/forms/text-form/index.mjs +3 -0
- package/esm2022/lib/forms/text-form/text-form.component.mjs +33 -0
- package/esm2022/lib/forms/translation-form/index.mjs +2 -0
- package/esm2022/lib/forms/translation-form/translation-form.component.mjs +32 -0
- package/esm2022/lib/forms/unknown-form/index.mjs +2 -0
- package/esm2022/lib/forms/unknown-form/unknown-form.component.mjs +23 -0
- package/esm2022/lib/generated/file-setting-data.mjs +6 -0
- package/esm2022/lib/generated/i-setting.mjs +1 -1
- package/esm2022/lib/generated/index.mjs +4 -1
- package/esm2022/lib/generated/lottie-setting-data.mjs +6 -0
- package/esm2022/lib/generated/svg-setting-data.mjs +6 -0
- package/esm2022/lib/media-uploader/media-uploader.component.mjs +3 -3
- package/esm2022/lib/translation-textarea/translation-textarea.component.mjs +1 -1
- package/fesm2022/candy-kingdom-bonnie-cms.mjs +528 -273
- package/fesm2022/candy-kingdom-bonnie-cms.mjs.map +1 -1
- package/index.d.ts +2 -4
- package/lib/bonnie-cms.module.d.ts +26 -21
- package/lib/core-components/form-base.component.d.ts +3 -5
- package/lib/file-uploader/file-uploader.component.d.ts +32 -0
- package/lib/file-uploader/index.d.ts +1 -0
- package/lib/forms/file-form/file-form.component.d.ts +14 -0
- package/lib/forms/file-form/index.d.ts +1 -0
- package/lib/forms/index.d.ts +7 -0
- package/lib/forms/lottie-form/index.d.ts +1 -0
- package/lib/forms/lottie-form/lottie-form.component.d.ts +16 -0
- package/lib/{seo-form → forms/seo-form}/seo-form.component.d.ts +2 -2
- package/lib/forms/svg-form/index.d.ts +1 -0
- package/lib/forms/svg-form/svg-form.component.d.ts +19 -0
- package/lib/{text-form → forms/text-form}/text-form.component.d.ts +3 -3
- package/lib/{translation-form → forms/translation-form}/translation-form.component.d.ts +4 -4
- package/lib/{unknown-form → forms/unknown-form}/unknown-form.component.d.ts +2 -2
- package/lib/generated/file-setting-data.d.ts +10 -0
- package/lib/generated/i-setting.d.ts +2 -0
- package/lib/generated/index.d.ts +3 -0
- package/lib/generated/lottie-setting-data.d.ts +9 -0
- package/lib/generated/svg-setting-data.d.ts +9 -0
- package/package.json +1 -1
- package/styles/admin-variables.scss +286 -280
- package/esm2022/lib/seo-form/index.mjs +0 -2
- package/esm2022/lib/text-form/TextInputStyle.mjs +0 -7
- package/esm2022/lib/text-form/index.mjs +0 -3
- package/esm2022/lib/text-form/text-form.component.mjs +0 -33
- package/esm2022/lib/translation-form/index.mjs +0 -2
- package/esm2022/lib/translation-form/translation-form.component.mjs +0 -32
- package/esm2022/lib/unknown-form/index.mjs +0 -2
- package/esm2022/lib/unknown-form/unknown-form.component.mjs +0 -23
- /package/lib/{seo-form → forms/seo-form}/index.d.ts +0 -0
- /package/lib/{text-form → forms/text-form}/TextInputStyle.d.ts +0 -0
- /package/lib/{text-form → forms/text-form}/index.d.ts +0 -0
- /package/lib/{translation-form → forms/translation-form}/index.d.ts +0 -0
- /package/lib/{unknown-form → forms/unknown-form}/index.d.ts +0 -0
package/index.d.ts
CHANGED
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
export * from './lib/generated';
|
|
2
2
|
export * from './lib/core';
|
|
3
|
+
export * from './lib/forms';
|
|
3
4
|
export * from './lib/services';
|
|
4
5
|
export * from './lib/core-components';
|
|
5
6
|
export * from './lib/admin-controls';
|
|
6
7
|
export * from './lib/form-controls';
|
|
8
|
+
export * from './lib/file-uploader';
|
|
7
9
|
export * from './lib/media-uploader';
|
|
8
|
-
export * from './lib/text-form';
|
|
9
|
-
export * from './lib/seo-form';
|
|
10
|
-
export * from './lib/unknown-form';
|
|
11
|
-
export * from './lib/translation-form';
|
|
12
10
|
export * from './lib/translation-input';
|
|
13
11
|
export * from './lib/translation-textarea';
|
|
14
12
|
export * from './lib/skeleton-editor';
|
|
@@ -1,26 +1,31 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./translation-
|
|
3
|
-
import * as i2 from "./
|
|
4
|
-
import * as i3 from "./
|
|
5
|
-
import * as i4 from "./
|
|
6
|
-
import * as i5 from "./form-
|
|
7
|
-
import * as i6 from "./
|
|
8
|
-
import * as i7 from "./
|
|
9
|
-
import * as i8 from "./
|
|
10
|
-
import * as i9 from "./
|
|
11
|
-
import * as i10 from "./
|
|
12
|
-
import * as i11 from "./
|
|
13
|
-
import * as i12 from "./
|
|
14
|
-
import * as i13 from "./
|
|
15
|
-
import * as i14 from "./
|
|
16
|
-
import * as i15 from "./
|
|
17
|
-
import * as i16 from "
|
|
18
|
-
import * as i17 from "
|
|
19
|
-
import * as i18 from "
|
|
20
|
-
import * as i19 from "
|
|
21
|
-
import * as i20 from "
|
|
2
|
+
import * as i1 from "./forms/translation-form/translation-form.component";
|
|
3
|
+
import * as i2 from "./forms/text-form/text-form.component";
|
|
4
|
+
import * as i3 from "./forms/seo-form/seo-form.component";
|
|
5
|
+
import * as i4 from "./forms/svg-form/svg-form.component";
|
|
6
|
+
import * as i5 from "./forms/file-form/file-form.component";
|
|
7
|
+
import * as i6 from "./forms/lottie-form/lottie-form.component";
|
|
8
|
+
import * as i7 from "./forms/unknown-form/unknown-form.component";
|
|
9
|
+
import * as i8 from "./translation-input/translation-input.component";
|
|
10
|
+
import * as i9 from "./translation-textarea/translation-textarea.component";
|
|
11
|
+
import * as i10 from "./admin-controls/admin-controls.component";
|
|
12
|
+
import * as i11 from "./core-components/editable-group";
|
|
13
|
+
import * as i12 from "./form-controls/form-controls.component";
|
|
14
|
+
import * as i13 from "./skeleton-editor/skeleton-editor.component";
|
|
15
|
+
import * as i14 from "./skeleton-editor/skeleton-editor-anchor.directive";
|
|
16
|
+
import * as i15 from "./skeleton-editor/bone-editor-container/bone-editor-container.component";
|
|
17
|
+
import * as i16 from "./bone-editors/unknown-bone-editor/unknown-bone-editor.component";
|
|
18
|
+
import * as i17 from "./media-uploader/media-uploader.component";
|
|
19
|
+
import * as i18 from "./file-uploader/file-uploader.component";
|
|
20
|
+
import * as i19 from "./core-components/link-popup/link-popup.component";
|
|
21
|
+
import * as i20 from "@angular/common";
|
|
22
|
+
import * as i21 from "@angular/forms";
|
|
23
|
+
import * as i22 from "@angular/cdk/text-field";
|
|
24
|
+
import * as i23 from "@candy-kingdom/bonnie";
|
|
25
|
+
import * as i24 from "ngx-lottie";
|
|
26
|
+
import * as i25 from "./core-components/editable.directive";
|
|
22
27
|
export declare class BonnieCmsModule {
|
|
23
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<BonnieCmsModule, never>;
|
|
24
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<BonnieCmsModule, [typeof i1.
|
|
29
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BonnieCmsModule, [typeof i1.TranslationFormComponent, typeof i2.TextFormComponent, typeof i3.SeoFormComponent, typeof i4.SvgFormComponent, typeof i5.FileFormComponent, typeof i6.LottieFormComponent, typeof i7.UnknownFormComponent, typeof i8.TranslationInputComponent, typeof i9.TranslationTextareaComponent, typeof i10.AdminControlsComponent, typeof i11.EditableGroupComponent, typeof i12.FormControlsComponent, typeof i13.SkeletonEditorComponent, typeof i14.SkeletonEditorAnchorDirective, typeof i15.BoneEditorContainerComponent, typeof i16.UnknownBoneEditorComponent, typeof i17.MediaUploaderComponent, typeof i18.FileUploaderComponent, typeof i19.LinkPopupComponent], [typeof i20.CommonModule, typeof i21.FormsModule, typeof i22.CdkTextareaAutosize, typeof i23.BonnieModule, typeof i24.LottieComponent, typeof i25.EditableDirective], [typeof i20.CommonModule, typeof i21.FormsModule, typeof i23.BonnieModule, typeof i6.LottieFormComponent, typeof i1.TranslationFormComponent, typeof i2.TextFormComponent, typeof i3.SeoFormComponent, typeof i4.SvgFormComponent, typeof i5.FileFormComponent, typeof i6.LottieFormComponent, typeof i7.UnknownFormComponent, typeof i8.TranslationInputComponent, typeof i9.TranslationTextareaComponent, typeof i10.AdminControlsComponent, typeof i11.EditableGroupComponent, typeof i12.FormControlsComponent, typeof i13.SkeletonEditorComponent, typeof i14.SkeletonEditorAnchorDirective, typeof i15.BoneEditorContainerComponent, typeof i16.UnknownBoneEditorComponent, typeof i17.MediaUploaderComponent, typeof i18.FileUploaderComponent, typeof i19.LinkPopupComponent, typeof i25.EditableDirective]>;
|
|
25
30
|
static ɵinj: i0.ɵɵInjectorDeclaration<BonnieCmsModule>;
|
|
26
31
|
}
|
|
@@ -1,15 +1,13 @@
|
|
|
1
|
-
import { HttpClient } from '@angular/common/http';
|
|
2
1
|
import { EditableDirective } from './editable.directive';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
export declare abstract class FormBaseComponent<TData = unknown> {
|
|
5
|
-
editable: EditableDirective<TData>;
|
|
6
|
-
readonly http: HttpClient;
|
|
4
|
+
readonly editable: EditableDirective<TData>;
|
|
7
5
|
static readonly inputs: string[];
|
|
8
6
|
protected name: string;
|
|
9
7
|
private _locale;
|
|
10
|
-
constructor(editable: EditableDirective<TData
|
|
8
|
+
constructor(editable: EditableDirective<TData>);
|
|
11
9
|
set locale(value: string);
|
|
12
10
|
get locale(): string;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormBaseComponent<any>, [{ host: true; }
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormBaseComponent<any>, [{ host: true; }]>;
|
|
14
12
|
static ɵcmp: i0.ɵɵComponentDeclaration<FormBaseComponent<any>, "ng-component", never, { "locale": { "alias": "locale"; "required": false; }; }, {}, never, never, false, never>;
|
|
15
13
|
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, EventEmitter } from '@angular/core';
|
|
2
|
+
import { DomSanitizer, SafeStyle } from '@angular/platform-browser';
|
|
3
|
+
import { HttpClient } from '@angular/common/http';
|
|
4
|
+
import { FileMeta, FileSrc } from '@candy-kingdom/bonnie';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class FileUploaderComponent {
|
|
7
|
+
private sanitizer;
|
|
8
|
+
private http;
|
|
9
|
+
private readonly cd;
|
|
10
|
+
fileInput: ElementRef<HTMLInputElement>;
|
|
11
|
+
srcChange: EventEmitter<FileSrc<FileMeta>>;
|
|
12
|
+
uploadUrlMap: ReadonlyMap<string, string>;
|
|
13
|
+
progress: number;
|
|
14
|
+
isUploading: boolean;
|
|
15
|
+
autoplay: boolean;
|
|
16
|
+
clipStyle?: SafeStyle;
|
|
17
|
+
fileTypeMask?: string;
|
|
18
|
+
private _uploadTypes;
|
|
19
|
+
private _src?;
|
|
20
|
+
constructor(sanitizer: DomSanitizer, http: HttpClient, cd: ChangeDetectorRef);
|
|
21
|
+
set src(newSrc: FileSrc<FileMeta> | undefined);
|
|
22
|
+
get src(): FileSrc<FileMeta> | undefined;
|
|
23
|
+
set uploadTypes(newUploadType: string[]);
|
|
24
|
+
get uploadTypes(): string[];
|
|
25
|
+
onFileSelect(fileInput: HTMLInputElement): void;
|
|
26
|
+
selectFile(event: Event): void;
|
|
27
|
+
private getEventMessage;
|
|
28
|
+
private updateClip;
|
|
29
|
+
private handleError;
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FileUploaderComponent, never>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FileUploaderComponent, "bonc-file-uploader", never, { "uploadUrlMap": { "alias": "uploadUrlMap"; "required": true; }; "src": { "alias": "src"; "required": false; }; "uploadTypes": { "alias": "uploadTypes"; "required": false; }; }, { "srcChange": "srcChange"; }, never, ["*"], false, never>;
|
|
32
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './file-uploader.component';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { FormBaseComponent } from '../../core-components/form-base.component';
|
|
3
|
+
import { FileMeta, FileSrc } from '@candy-kingdom/bonnie';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "../../core-components/editable.directive";
|
|
6
|
+
export declare class FileFormComponent extends FormBaseComponent<FileSrc<FileMeta>> implements OnInit {
|
|
7
|
+
label: string;
|
|
8
|
+
ngOnInit(): void;
|
|
9
|
+
uploadTypes: string[];
|
|
10
|
+
uploadMap: Map<string, string>;
|
|
11
|
+
onFileUploaded(fileSrc: FileSrc<FileMeta>): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FileFormComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FileFormComponent, "bonc-file-form", never, { "label": { "alias": "label"; "required": false; }; "uploadTypes": { "alias": "uploadTypes"; "required": true; }; "uploadMap": { "alias": "uploadMap"; "required": true; }; }, {}, never, never, false, [{ directive: typeof i1.EditableDirective; inputs: {}; outputs: {}; }]>;
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './file-form.component';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './lottie-form.component';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { FileMeta, FileSrc } from '@candy-kingdom/bonnie';
|
|
3
|
+
import { FormBaseComponent } from '../../core-components/form-base.component';
|
|
4
|
+
import { AnimationOptions } from 'ngx-lottie';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "../../core-components/editable.directive";
|
|
7
|
+
export declare class LottieFormComponent extends FormBaseComponent<FileSrc<FileMeta>> implements OnInit {
|
|
8
|
+
readonly LottieMimeType = "application/json";
|
|
9
|
+
animOptions?: AnimationOptions;
|
|
10
|
+
label: string;
|
|
11
|
+
ngOnInit(): void;
|
|
12
|
+
uploadMap: Map<string, string>;
|
|
13
|
+
onFileUploaded(fileSrc: FileSrc<FileMeta>): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LottieFormComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LottieFormComponent, "bonc-lottie-form", never, { "label": { "alias": "label"; "required": false; }; "uploadMap": { "alias": "uploadMap"; "required": true; }; }, {}, never, never, false, [{ directive: typeof i1.EditableDirective; inputs: {}; outputs: {}; }]>;
|
|
16
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { OpenGraphData } from '@candy-kingdom/bonnie';
|
|
3
|
-
import { FormBaseComponent } from '
|
|
3
|
+
import { FormBaseComponent } from '../../core-components';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "
|
|
5
|
+
import * as i1 from "../../core-components/editable.directive";
|
|
6
6
|
export declare class SeoFormComponent extends FormBaseComponent<OpenGraphData> implements OnInit {
|
|
7
7
|
private _pageId;
|
|
8
8
|
ogImageUploadUrl: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './svg-form.component';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { FormBaseComponent } from '../../core-components/form-base.component';
|
|
3
|
+
import { EditableDirective } from '../../core-components';
|
|
4
|
+
import { FileMeta, FileSrc, SvgMeta } from '@candy-kingdom/bonnie';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "../../core-components/editable.directive";
|
|
7
|
+
export declare class SvgFormComponent extends FormBaseComponent<FileSrc<SvgMeta>> implements OnInit {
|
|
8
|
+
private readonly cd;
|
|
9
|
+
readonly SvgMime = "image/svg+xml";
|
|
10
|
+
label: string;
|
|
11
|
+
uploadMap: Map<string, string>;
|
|
12
|
+
private _uploadUrl;
|
|
13
|
+
constructor(editable: EditableDirective<FileSrc<SvgMeta>>);
|
|
14
|
+
ngOnInit(): void;
|
|
15
|
+
set uploadUrl(newValue: string);
|
|
16
|
+
onFileUploaded(fileSrc: FileSrc<FileMeta>): void;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SvgFormComponent, [{ host: true; }]>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SvgFormComponent, "bonc-svg-form", never, { "label": { "alias": "label"; "required": false; }; "uploadUrl": { "alias": "uploadUrl"; "required": false; }; }, {}, never, never, false, [{ directive: typeof i1.EditableDirective; inputs: {}; outputs: {}; }]>;
|
|
19
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { TextInputStyle } from './TextInputStyle';
|
|
3
|
-
import { FormBaseComponent } from '
|
|
3
|
+
import { FormBaseComponent } from '../../core-components/form-base.component';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "
|
|
5
|
+
import * as i1 from "../../core-components/editable.directive";
|
|
6
6
|
export declare class TextFormComponent extends FormBaseComponent<string> implements OnInit {
|
|
7
7
|
readonly TextInputStyle: typeof TextInputStyle;
|
|
8
8
|
label: string;
|
|
9
9
|
type: TextInputStyle;
|
|
10
10
|
ngOnInit(): void;
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<TextFormComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TextFormComponent, "bonc-text-form", never, { "
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TextFormComponent, "bonc-text-form", never, { "label": { "alias": "label"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, {}, never, never, false, [{ directive: typeof i1.EditableDirective; inputs: {}; outputs: {}; }]>;
|
|
13
13
|
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { LocalizedString } from '@candy-kingdom/bonnie';
|
|
3
|
-
import { FormBaseComponent } from '
|
|
4
|
-
import { TextEditorField } from '
|
|
3
|
+
import { FormBaseComponent } from '../../core-components';
|
|
4
|
+
import { TextEditorField } from '../../core';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "
|
|
6
|
+
import * as i1 from "../../core-components/editable.directive";
|
|
7
7
|
export declare class TranslationFormComponent extends FormBaseComponent<LocalizedString> implements OnInit {
|
|
8
8
|
readonly TextEditorField: typeof TextEditorField;
|
|
9
9
|
field: TextEditorField;
|
|
10
10
|
label?: string;
|
|
11
11
|
ngOnInit(): void;
|
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<TranslationFormComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TranslationFormComponent, "bonc-translation-form", never, { "
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TranslationFormComponent, "bonc-translation-form", never, { "field": { "alias": "field"; "required": true; }; "label": { "alias": "label"; "required": false; }; }, {}, never, never, false, [{ directive: typeof i1.EditableDirective; inputs: {}; outputs: {}; }]>;
|
|
14
14
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
|
-
import { FormBaseComponent } from '
|
|
2
|
+
import { FormBaseComponent } from '../../core-components/form-base.component';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class UnknownFormComponent extends FormBaseComponent<string> implements OnInit {
|
|
5
5
|
label: string;
|
|
6
6
|
ngOnInit(): void;
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<UnknownFormComponent, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UnknownFormComponent, "bonc-unknown-form", never, { "
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UnknownFormComponent, "bonc-unknown-form", never, { "label": { "alias": "label"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
9
9
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This is a TypeGen auto-generated file.
|
|
3
|
+
* Any changes made to this file can be lost when this file is regenerated.
|
|
4
|
+
*/
|
|
5
|
+
import { SettingData } from "./setting-data";
|
|
6
|
+
import { FileSrcFileMeta } from "@candy-kingdom/bonnie";
|
|
7
|
+
export interface FileSettingData extends SettingData {
|
|
8
|
+
allowedMimeTypes: string[];
|
|
9
|
+
src: FileSrcFileMeta;
|
|
10
|
+
}
|
package/lib/generated/index.d.ts
CHANGED
|
@@ -2,12 +2,15 @@
|
|
|
2
2
|
* This is a TypeGen auto-generated file.
|
|
3
3
|
* Any changes made to this file can be lost when this file is regenerated.
|
|
4
4
|
*/
|
|
5
|
+
export * from './file-setting-data';
|
|
5
6
|
export * from './i-equatable';
|
|
6
7
|
export * from './i-setting';
|
|
7
8
|
export * from './localized-text-setting-data';
|
|
9
|
+
export * from './lottie-setting-data';
|
|
8
10
|
export * from './setting-base';
|
|
9
11
|
export * from './setting-data';
|
|
10
12
|
export * from './setting-group';
|
|
11
13
|
export * from './setting';
|
|
14
|
+
export * from './svg-setting-data';
|
|
12
15
|
export * from './text-setting-data';
|
|
13
16
|
export * from './text-setting-type';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This is a TypeGen auto-generated file.
|
|
3
|
+
* Any changes made to this file can be lost when this file is regenerated.
|
|
4
|
+
*/
|
|
5
|
+
import { SettingData } from "./setting-data";
|
|
6
|
+
import { FileSrcFileMeta } from "@candy-kingdom/bonnie";
|
|
7
|
+
export interface LottieSettingData extends SettingData {
|
|
8
|
+
src: FileSrcFileMeta;
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This is a TypeGen auto-generated file.
|
|
3
|
+
* Any changes made to this file can be lost when this file is regenerated.
|
|
4
|
+
*/
|
|
5
|
+
import { SettingData } from "./setting-data";
|
|
6
|
+
import { FileSrcImageMeta } from "@candy-kingdom/bonnie";
|
|
7
|
+
export interface SvgSettingData extends SettingData {
|
|
8
|
+
src: FileSrcImageMeta;
|
|
9
|
+
}
|