UNPKG

@yoyoboot/l-52abp-ng-form-generator

Version:

This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 12.2.0.

6,840 lines 577 kB
(function (global, factory) {
    typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/forms'), require('rxjs'), require('@angular/common'), require('@delon/util'), require('ng-zorro-antd/form'), require('ng-zorro-antd/button'), require('ng-zorro-antd/grid'), require('ng-zorro-antd/core/wave'), require('ng-zorro-antd/core/transition-patch'), require('ng-zorro-antd/input-number'), require('ng-zorro-antd/switch'), require('ng-zorro-antd/input'), require('ng-zorro-antd/select'), require('ng-zorro-antd/layout'), require('ng-zorro-antd/tabs'), require('ng-zorro-antd/drawer'), require('@delon/form'), require('@delon/abc/page-header'), require('@delon/abc/result'), require('@delon/abc/se'), require('@delon/abc/st'), require('@delon/abc/sv'), require('ng-zorro-antd/alert'), require('ng-zorro-antd/avatar'), require('ng-zorro-antd/card'), require('ng-zorro-antd/checkbox'), require('ng-zorro-antd/dropdown'), require('ng-zorro-antd/icon'), require('ng-zorro-antd/modal'), require('ng-zorro-antd/popconfirm'), require('ng-zorro-antd/popover'), require('ng-zorro-antd/progress'), require('ng-zorro-antd/spin'), require('ng-zorro-antd/table'), require('ng-zorro-antd/tooltip'), require('ng-zorro-antd/collapse'), require('ng-zorro-antd/radio'), require('ng-zorro-antd/empty'), require('ng-zorro-antd/date-picker'), require('ng-zorro-antd/tag'), require('ng-zorro-antd/time-picker'), require('ng-zorro-antd/image'), require('ng-zorro-antd/slider'), require('ng-zorro-antd/rate'), require('ng-zorro-antd/upload'), require('ngx-color-picker'), require('moment'), require('wangeditor'), require('ng-zorro-antd/message')) :
    typeof define === 'function' && define.amd ? define('@yoyoboot/l-52abp-ng-form-generator', ['exports', '@angular/core', '@angular/forms', 'rxjs', '@angular/common', '@delon/util', 'ng-zorro-antd/form', 'ng-zorro-antd/button', 'ng-zorro-antd/grid', 'ng-zorro-antd/core/wave', 'ng-zorro-antd/core/transition-patch', 'ng-zorro-antd/input-number', 'ng-zorro-antd/switch', 'ng-zorro-antd/input', 'ng-zorro-antd/select', 'ng-zorro-antd/layout', 'ng-zorro-antd/tabs', 'ng-zorro-antd/drawer', '@delon/form', '@delon/abc/page-header', '@delon/abc/result', '@delon/abc/se', '@delon/abc/st', '@delon/abc/sv', 'ng-zorro-antd/alert', 'ng-zorro-antd/avatar', 'ng-zorro-antd/card', 'ng-zorro-antd/checkbox', 'ng-zorro-antd/dropdown', 'ng-zorro-antd/icon', 'ng-zorro-antd/modal', 'ng-zorro-antd/popconfirm', 'ng-zorro-antd/popover', 'ng-zorro-antd/progress', 'ng-zorro-antd/spin', 'ng-zorro-antd/table', 'ng-zorro-antd/tooltip', 'ng-zorro-antd/collapse', 'ng-zorro-antd/radio', 'ng-zorro-antd/empty', 'ng-zorro-antd/date-picker', 'ng-zorro-antd/tag', 'ng-zorro-antd/time-picker', 'ng-zorro-antd/image', 'ng-zorro-antd/slider', 'ng-zorro-antd/rate', 'ng-zorro-antd/upload', 'ngx-color-picker', 'moment', 'wangeditor', 'ng-zorro-antd/message'], factory) :
    (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.yoyoboot = global.yoyoboot || {}, global.yoyoboot["l-52abp-ng-form-generator"] = {}), global.ng.core, global.ng.forms, global.rxjs, global.ng.common, global.delon.util, global["ng-zorro-antd/form"], global["ng-zorro-antd/button"], global["ng-zorro-antd/grid"], global["ng-zorro-antd/core/wave"], global["ng-zorro-antd/core/transition-patch"], global["ng-zorro-antd/input-number"], global["ng-zorro-antd/switch"], global["ng-zorro-antd/input"], global["ng-zorro-antd/select"], global["ng-zorro-antd/layout"], global["ng-zorro-antd/tabs"], global["ng-zorro-antd/drawer"], global.delon.form, global.delon.abc["page-header"], global.delon.abc.result, global.delon.abc.se, global.delon.abc.st, global.delon.abc.sv, global["ng-zorro-antd/alert"], global["ng-zorro-antd/avatar"], global["ng-zorro-antd/card"], global["ng-zorro-antd/checkbox"], global["ng-zorro-antd/dropdown"], global["ng-zorro-antd/icon"], global["ng-zorro-antd/modal"], global["ng-zorro-antd/popconfirm"], global["ng-zorro-antd/popover"], global["ng-zorro-antd/progress"], global["ng-zorro-antd/spin"], global["ng-zorro-antd/table"], global["ng-zorro-antd/tooltip"], global["ng-zorro-antd/collapse"], global["ng-zorro-antd/radio"], global["ng-zorro-antd/empty"], global["ng-zorro-antd/date-picker"], global.i34, global.i35, global.i36, global.i37, global.i38, global.i39, global.i1$3, global.moment, global.E, global.i1$4));
})(this, (function (exports, i0, i2, rxjs, i3, util, i1, i3$1, i3$2, i8, i9, i2$1, i29, i4, i2$2, i1$1, i23, i21, form, i2$3, i6, i4$1, i3$3, i5, i12, i15, i16, i4$2, i17, i25, i22, i18, i20, i13, i27, i2$4, i24, i28, i3$4, i32, i1$2, i34, i35, i36, i37, i38, i39, i1$3, moment, E, i1$4) { 'use strict';

    function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }

    function _interopNamespace(e) {
        if (e && e.__esModule) return e;
        var n = Object.create(null);
        if (e) {
            Object.keys(e).forEach(function (k) {
                if (k !== 'default') {
                    var d = Object.getOwnPropertyDescriptor(e, k);
                    Object.defineProperty(n, k, d.get ? d : {
                        enumerable: true,
                        get: function () { return e[k]; }
                    });
                }
            });
        }
        n["default"] = e;
        return Object.freeze(n);
    }

    var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
    var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
    var i3__namespace = /*#__PURE__*/_interopNamespace(i3);
    var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
    var i3__namespace$1 = /*#__PURE__*/_interopNamespace(i3$1);
    var i3__namespace$2 = /*#__PURE__*/_interopNamespace(i3$2);
    var i8__namespace = /*#__PURE__*/_interopNamespace(i8);
    var i9__namespace = /*#__PURE__*/_interopNamespace(i9);
    var i2__namespace$1 = /*#__PURE__*/_interopNamespace(i2$1);
    var i29__namespace = /*#__PURE__*/_interopNamespace(i29);
    var i4__namespace = /*#__PURE__*/_interopNamespace(i4);
    var i2__namespace$2 = /*#__PURE__*/_interopNamespace(i2$2);
    var i1__namespace$1 = /*#__PURE__*/_interopNamespace(i1$1);
    var i23__namespace = /*#__PURE__*/_interopNamespace(i23);
    var i21__namespace = /*#__PURE__*/_interopNamespace(i21);
    var i2__namespace$3 = /*#__PURE__*/_interopNamespace(i2$3);
    var i6__namespace = /*#__PURE__*/_interopNamespace(i6);
    var i4__namespace$1 = /*#__PURE__*/_interopNamespace(i4$1);
    var i3__namespace$3 = /*#__PURE__*/_interopNamespace(i3$3);
    var i5__namespace = /*#__PURE__*/_interopNamespace(i5);
    var i12__namespace = /*#__PURE__*/_interopNamespace(i12);
    var i15__namespace = /*#__PURE__*/_interopNamespace(i15);
    var i16__namespace = /*#__PURE__*/_interopNamespace(i16);
    var i4__namespace$2 = /*#__PURE__*/_interopNamespace(i4$2);
    var i17__namespace = /*#__PURE__*/_interopNamespace(i17);
    var i25__namespace = /*#__PURE__*/_interopNamespace(i25);
    var i22__namespace = /*#__PURE__*/_interopNamespace(i22);
    var i18__namespace = /*#__PURE__*/_interopNamespace(i18);
    var i20__namespace = /*#__PURE__*/_interopNamespace(i20);
    var i13__namespace = /*#__PURE__*/_interopNamespace(i13);
    var i27__namespace = /*#__PURE__*/_interopNamespace(i27);
    var i2__namespace$4 = /*#__PURE__*/_interopNamespace(i2$4);
    var i24__namespace = /*#__PURE__*/_interopNamespace(i24);
    var i28__namespace = /*#__PURE__*/_interopNamespace(i28);
    var i3__namespace$4 = /*#__PURE__*/_interopNamespace(i3$4);
    var i32__namespace = /*#__PURE__*/_interopNamespace(i32);
    var i1__namespace$2 = /*#__PURE__*/_interopNamespace(i1$2);
    var i34__namespace = /*#__PURE__*/_interopNamespace(i34);
    var i35__namespace = /*#__PURE__*/_interopNamespace(i35);
    var i36__namespace = /*#__PURE__*/_interopNamespace(i36);
    var i37__namespace = /*#__PURE__*/_interopNamespace(i37);
    var i38__namespace = /*#__PURE__*/_interopNamespace(i38);
    var i39__namespace = /*#__PURE__*/_interopNamespace(i39);
    var i1__namespace$4 = /*#__PURE__*/_interopNamespace(i1$3);
    var moment__namespace = /*#__PURE__*/_interopNamespace(moment);
    var E__default = /*#__PURE__*/_interopDefaultLegacy(E);
    var i1__namespace$3 = /*#__PURE__*/_interopNamespace(i1$4);

    /*! *****************************************************************************
    Copyright (c) Microsoft Corporation.

    Permission to use, copy, modify, and/or distribute this software for any
    purpose with or without fee is hereby granted.

    THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
    REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
    AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
    INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
    LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
    OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
    PERFORMANCE OF THIS SOFTWARE.
    ***************************************************************************** */
    /* global Reflect, Promise */
    var extendStatics = function (d, b) {
        extendStatics = Object.setPrototypeOf ||
            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
            function (d, b) { for (var p in b)
                if (Object.prototype.hasOwnProperty.call(b, p))
                    d[p] = b[p]; };
        return extendStatics(d, b);
    };
    function __extends(d, b) {
        if (typeof b !== "function" && b !== null)
            throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
        extendStatics(d, b);
        function __() { this.constructor = d; }
        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
    }
    var __assign = function () {
        __assign = Object.assign || function __assign(t) {
            for (var s, i = 1, n = arguments.length; i < n; i++) {
                s = arguments[i];
                for (var p in s)
                    if (Object.prototype.hasOwnProperty.call(s, p))
                        t[p] = s[p];
            }
            return t;
        };
        return __assign.apply(this, arguments);
    };
    function __rest(s, e) {
        var t = {};
        for (var p in s)
            if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
                t[p] = s[p];
        if (s != null && typeof Object.getOwnPropertySymbols === "function")
            for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
                if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
                    t[p[i]] = s[p[i]];
            }
        return t;
    }
    function __decorate(decorators, target, key, desc) {
        var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
        if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
            r = Reflect.decorate(decorators, target, key, desc);
        else
            for (var i = decorators.length - 1; i >= 0; i--)
                if (d = decorators[i])
                    r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
        return c > 3 && r && Object.defineProperty(target, key, r), r;
    }
    function __param(paramIndex, decorator) {
        return function (target, key) { decorator(target, key, paramIndex); };
    }
    function __metadata(metadataKey, metadataValue) {
        if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
            return Reflect.metadata(metadataKey, metadataValue);
    }
    function __awaiter(thisArg, _arguments, P, generator) {
        function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
        return new (P || (P = Promise))(function (resolve, reject) {
            function fulfilled(value) { try {
                step(generator.next(value));
            }
            catch (e) {
                reject(e);
            } }
            function rejected(value) { try {
                step(generator["throw"](value));
            }
            catch (e) {
                reject(e);
            } }
            function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
            step((generator = generator.apply(thisArg, _arguments || [])).next());
        });
    }
    function __generator(thisArg, body) {
        var _ = { label: 0, sent: function () { if (t[0] & 1)
                throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
        return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
        function verb(n) { return function (v) { return step([n, v]); }; }
        function step(op) {
            if (f)
                throw new TypeError("Generator is already executing.");
            while (_)
                try {
                    if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
                        return t;
                    if (y = 0, t)
                        op = [op[0] & 2, t.value];
                    switch (op[0]) {
                        case 0:
                        case 1:
                            t = op;
                            break;
                        case 4:
                            _.label++;
                            return { value: op[1], done: false };
                        case 5:
                            _.label++;
                            y = op[1];
                            op = [0];
                            continue;
                        case 7:
                            op = _.ops.pop();
                            _.trys.pop();
                            continue;
                        default:
                            if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
                                _ = 0;
                                continue;
                            }
                            if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
                                _.label = op[1];
                                break;
                            }
                            if (op[0] === 6 && _.label < t[1]) {
                                _.label = t[1];
                                t = op;
                                break;
                            }
                            if (t && _.label < t[2]) {
                                _.label = t[2];
                                _.ops.push(op);
                                break;
                            }
                            if (t[2])
                                _.ops.pop();
                            _.trys.pop();
                            continue;
                    }
                    op = body.call(thisArg, _);
                }
                catch (e) {
                    op = [6, e];
                    y = 0;
                }
                finally {
                    f = t = 0;
                }
            if (op[0] & 5)
                throw op[1];
            return { value: op[0] ? op[1] : void 0, done: true };
        }
    }
    var __createBinding = Object.create ? (function (o, m, k, k2) {
        if (k2 === undefined)
            k2 = k;
        Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
    }) : (function (o, m, k, k2) {
        if (k2 === undefined)
            k2 = k;
        o[k2] = m[k];
    });
    function __exportStar(m, o) {
        for (var p in m)
            if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
                __createBinding(o, m, p);
    }
    function __values(o) {
        var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
        if (m)
            return m.call(o);
        if (o && typeof o.length === "number")
            return {
                next: function () {
                    if (o && i >= o.length)
                        o = void 0;
                    return { value: o && o[i++], done: !o };
                }
            };
        throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
    }
    function __read(o, n) {
        var m = typeof Symbol === "function" && o[Symbol.iterator];
        if (!m)
            return o;
        var i = m.call(o), r, ar = [], e;
        try {
            while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
                ar.push(r.value);
        }
        catch (error) {
            e = { error: error };
        }
        finally {
            try {
                if (r && !r.done && (m = i["return"]))
                    m.call(i);
            }
            finally {
                if (e)
                    throw e.error;
            }
        }
        return ar;
    }
    /** @deprecated */
    function __spread() {
        for (var ar = [], i = 0; i < arguments.length; i++)
            ar = ar.concat(__read(arguments[i]));
        return ar;
    }
    /** @deprecated */
    function __spreadArrays() {
        for (var s = 0, i = 0, il = arguments.length; i < il; i++)
            s += arguments[i].length;
        for (var r = Array(s), k = 0, i = 0; i < il; i++)
            for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
                r[k] = a[j];
        return r;
    }
    function __spreadArray(to, from, pack) {
        if (pack || arguments.length === 2)
            for (var i = 0, l = from.length, ar; i < l; i++) {
                if (ar || !(i in from)) {
                    if (!ar)
                        ar = Array.prototype.slice.call(from, 0, i);
                    ar[i] = from[i];
                }
            }
        return to.concat(ar || from);
    }
    function __await(v) {
        return this instanceof __await ? (this.v = v, this) : new __await(v);
    }
    function __asyncGenerator(thisArg, _arguments, generator) {
        if (!Symbol.asyncIterator)
            throw new TypeError("Symbol.asyncIterator is not defined.");
        var g = generator.apply(thisArg, _arguments || []), i, q = [];
        return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
        function verb(n) { if (g[n])
            i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
        function resume(n, v) { try {
            step(g[n](v));
        }
        catch (e) {
            settle(q[0][3], e);
        } }
        function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
        function fulfill(value) { resume("next", value); }
        function reject(value) { resume("throw", value); }
        function settle(f, v) { if (f(v), q.shift(), q.length)
            resume(q[0][0], q[0][1]); }
    }
    function __asyncDelegator(o) {
        var i, p;
        return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
        function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
    }
    function __asyncValues(o) {
        if (!Symbol.asyncIterator)
            throw new TypeError("Symbol.asyncIterator is not defined.");
        var m = o[Symbol.asyncIterator], i;
        return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
        function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
        function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
    }
    function __makeTemplateObject(cooked, raw) {
        if (Object.defineProperty) {
            Object.defineProperty(cooked, "raw", { value: raw });
        }
        else {
            cooked.raw = raw;
        }
        return cooked;
    }
    ;
    var __setModuleDefault = Object.create ? (function (o, v) {
        Object.defineProperty(o, "default", { enumerable: true, value: v });
    }) : function (o, v) {
        o["default"] = v;
    };
    function __importStar(mod) {
        if (mod && mod.__esModule)
            return mod;
        var result = {};
        if (mod != null)
            for (var k in mod)
                if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
                    __createBinding(result, mod, k);
        __setModuleDefault(result, mod);
        return result;
    }
    function __importDefault(mod) {
        return (mod && mod.__esModule) ? mod : { default: mod };
    }
    function __classPrivateFieldGet(receiver, state, kind, f) {
        if (kind === "a" && !f)
            throw new TypeError("Private accessor was defined without a getter");
        if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
            throw new TypeError("Cannot read private member from an object whose class did not declare it");
        return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
    }
    function __classPrivateFieldSet(receiver, state, value, kind, f) {
        if (kind === "m")
            throw new TypeError("Private method is not writable");
        if (kind === "a" && !f)
            throw new TypeError("Private accessor was defined without a setter");
        if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
            throw new TypeError("Cannot write private member to an object whose class did not declare it");
        return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
    }

    var RWidgetFormService = /** @class */ (function () {
        function RWidgetFormService() {
            this.inputsSubject = new rxjs.Subject();
        }
        RWidgetFormService.prototype.inputsChange = function (value) {
            this.inputsSubject.next(value);
        };
        RWidgetFormService.prototype.clearSubject = function () {
            this.inputsSubject.next();
            this.inputsSubject.complete();
            this.inputsSubject = new rxjs.Subject();
        };
        return RWidgetFormService;
    }());
    RWidgetFormService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RWidgetFormService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
    RWidgetFormService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RWidgetFormService, providedIn: 'root' });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RWidgetFormService, decorators: [{
                type: i0.Injectable,
                args: [{
                        providedIn: 'root'
                    }]
            }], ctorParameters: function () { return []; } });

    var DynamicComponentBase = /** @class */ (function () {
        function DynamicComponentBase() {
            this.readyChange = new i0.EventEmitter();
            this.valueChange = new i0.EventEmitter();
            this.initConfig();
        }
        Object.defineProperty(DynamicComponentBase.prototype, "config", {
            get: function () {
                return this._config;
            },
            set: function (val) {
                this._config = val;
                if (val) {
                    this.configChange(val);
                }
            },
            enumerable: false,
            configurable: true
        });
        Object.defineProperty(DynamicComponentBase.prototype, "data", {
            get: function () {
                return this.config;
            },
            enumerable: false,
            configurable: true
        });
        DynamicComponentBase.prototype.ngOnInit = function () {
            this.imReady();
        };
        DynamicComponentBase.prototype.registerOnChange = function (fn) {
            this.valueChange.emit = fn;
        };
        DynamicComponentBase.prototype.registerOnTouched = function (fn) { };
        DynamicComponentBase.prototype.setDisabledState = function (isDisabled) {
            this.config.disabled = isDisabled;
        };
        DynamicComponentBase.prototype.writeValue = function (obj) {
            this.config.value = obj;
        };
        DynamicComponentBase.prototype.imReady = function () {
            this.ready = true;
            this.readyChange.emit(true);
        };
        DynamicComponentBase.prototype.onChange = function (val) {
            this.valueChange.emit(val);
            if (typeof this.config.onChange === 'function') {
                this.config.onChange(this.config.name, val);
            }
        };
        /** 初始化配置 */
        DynamicComponentBase.prototype.initConfig = function () { };
        return DynamicComponentBase;
    }());
    DynamicComponentBase.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DynamicComponentBase, deps: [], target: i0__namespace.ɵɵFactoryTarget.Directive });
    DynamicComponentBase.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.13", type: DynamicComponentBase, inputs: { config: "config" }, outputs: { readyChange: "readyChange", valueChange: "valueChange" }, ngImport: i0__namespace });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DynamicComponentBase, decorators: [{
                type: i0.Directive
            }], ctorParameters: function () { return []; }, propDecorators: { config: [{
                    type: i0.Input
                }], readyChange: [{
                    type: i0.Output
                }], valueChange: [{
                    type: i0.Output
                }] } });

    var RenderComponentBase = /** @class */ (function (_super) {
        __extends(RenderComponentBase, _super);
        function RenderComponentBase(injector) {
            var _this = _super.call(this) || this;
            _this._rWidgetFormService = injector.get(RWidgetFormService);
            return _this;
        }
        RenderComponentBase.prototype.ngAfterViewInit = function () {
            // console.log(this, this.parent, 'RenderComponentBase ngAfterViewInit');
            this._rWidgetFormService.inputsChange(this);
        };
        RenderComponentBase.prototype.ngOnDestroy = function () {
            // console.log(this, 'RenderComponentBase ngOnDestroy');
        };
        return RenderComponentBase;
    }(DynamicComponentBase));
    RenderComponentBase.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RenderComponentBase, deps: [{ token: i0__namespace.Injector }], target: i0__namespace.ɵɵFactoryTarget.Directive });
    RenderComponentBase.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.13", type: RenderComponentBase, viewQueries: [{ propertyName: "ngModel", first: true, predicate: i2.NgModel, descendants: true }], usesInheritance: true, ngImport: i0__namespace });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RenderComponentBase, decorators: [{
                type: i0.Directive
            }], ctorParameters: function () { return [{ type: i0__namespace.Injector }]; }, propDecorators: { ngModel: [{
                    type: i0.ViewChild,
                    args: [i2.NgModel]
                }] } });

    var DynamicComponentRegistryService = /** @class */ (function () {
        function DynamicComponentRegistryService() {
            this._componentTypes = {};
        }
        Object.defineProperty(DynamicComponentRegistryService.prototype, "componentTypes", {
            get: function () {
                return this._componentTypes;
            },
            enumerable: false,
            configurable: true
        });
        DynamicComponentRegistryService.prototype.setDefault = function (componentType) {
            this.defaultComponentType = componentType;
        };
        DynamicComponentRegistryService.prototype.register = function (type, componentType) {
            this._componentTypes[type] = componentType;
        };
        DynamicComponentRegistryService.prototype.has = function (type) {
            return this._componentTypes.hasOwnProperty(type);
        };
        DynamicComponentRegistryService.prototype.getType = function (type) {
            if (this.has(type)) {
                return this._componentTypes[type];
            }
            return this.defaultComponentType;
        };
        return DynamicComponentRegistryService;
    }());
    var DefaultDynamicComponentRegistryService = /** @class */ (function (_super) {
        __extends(DefaultDynamicComponentRegistryService, _super);
        function DefaultDynamicComponentRegistryService() {
            return _super.call(this) || this;
        }
        return DefaultDynamicComponentRegistryService;
    }(DynamicComponentRegistryService));

    var DynamicComponentFactoryService = /** @class */ (function () {
        function DynamicComponentFactoryService(registry, resolver) {
            this.registry = registry;
            this.resolver = resolver;
        }
        DynamicComponentFactoryService.prototype.createByType = function (container, componentType) {
            var componentFactory = this.resolver
                .resolveComponentFactory(componentType);
            return container.createComponent(componentFactory);
        };
        DynamicComponentFactoryService.prototype.createByName = function (container, typeName) {
            if (!this.registry.has(typeName)) {
                console.warn("dcf: No component for type \"" + typeName + "\"");
            }
            var componentClass = this.registry.getType(typeName);
            var componentFactory = this.resolver.resolveComponentFactory(componentClass);
            return container.createComponent(componentFactory);
        };
        return DynamicComponentFactoryService;
    }());
    DynamicComponentFactoryService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DynamicComponentFactoryService, deps: [{ token: DynamicComponentRegistryService }, { token: i0__namespace.ComponentFactoryResolver }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
    DynamicComponentFactoryService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DynamicComponentFactoryService });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DynamicComponentFactoryService, decorators: [{
                type: i0.Injectable
            }], ctorParameters: function () { return [{ type: DynamicComponentRegistryService }, { type: i0__namespace.ComponentFactoryResolver }]; } });

    var DynamicComponentTerminatorService = /** @class */ (function () {
        function DynamicComponentTerminatorService() {
            this.onDestroy = new rxjs.Subject();
        }
        DynamicComponentTerminatorService.prototype.destroy = function () {
            this.onDestroy.next(true);
        };
        return DynamicComponentTerminatorService;
    }());
    DynamicComponentTerminatorService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DynamicComponentTerminatorService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
    DynamicComponentTerminatorService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DynamicComponentTerminatorService });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DynamicComponentTerminatorService, decorators: [{
                type: i0.Injectable
            }], ctorParameters: function () { return []; } });

    var DynamicComponentComponent = /** @class */ (function () {
        function DynamicComponentComponent(viewContainerRef, factory, terminator) {
            this.viewContainerRef = viewContainerRef;
            this.factory = factory;
            this.terminator = terminator;
            this.unsubscribe$ = new rxjs.Subject();
        }
        DynamicComponentComponent.prototype.ngOnInit = function () {
            var _this = this;
            this.terminator.onDestroy.subscribe(function () { return _this.ngOnDestroy(); });
        };
        DynamicComponentComponent.prototype.ngOnChanges = function (changes) {
            if (changes.is && changes.is.currentValue) {
                var is = changes.is.currentValue;
                if (this.ref) {
                    this.viewContainerRef.remove(0);
                }
                if (typeof is === 'string') {
                    this.ref = this.factory.createByName(this.viewContainerRef, is);
                }
                else {
                    this.ref = this.factory.createByType(this.viewContainerRef, is);
                }
            }
            // 输入参数
            if (changes.data && changes.data.currentValue && typeof changes.data.currentValue === 'object') {
                if (this.ref) {
                    this.ref.instance.config = changes.data.currentValue;
                }
            }
        };
        DynamicComponentComponent.prototype.ngOnDestroy = function () {
            var unsubscribe$ = this.unsubscribe$;
            unsubscribe$.next();
            unsubscribe$.complete();
            this.ref.destroy();
        };
        return DynamicComponentComponent;
    }());
    DynamicComponentComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DynamicComponentComponent, deps: [{ token: i0__namespace.ViewContainerRef }, { token: DynamicComponentFactoryService }, { token: DynamicComponentTerminatorService }], target: i0__namespace.ɵɵFactoryTarget.Component });
    DynamicComponentComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: DynamicComponentComponent, selector: "[d-component]", inputs: { is: "is", data: "data" }, providers: [DynamicComponentFactoryService, DynamicComponentTerminatorService], usesOnChanges: true, ngImport: i0__namespace, template: "", isInline: true });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DynamicComponentComponent, decorators: [{
                type: i0.Component,
                args: [{
                        // eslint-disable-next-line @angular-eslint/component-selector
                        selector: '[d-component]',
                        template: "",
                        providers: [DynamicComponentFactoryService, DynamicComponentTerminatorService]
                    }]
            }], ctorParameters: function () { return [{ type: i0__namespace.ViewContainerRef }, { type: DynamicComponentFactoryService }, { type: DynamicComponentTerminatorService }]; }, propDecorators: { is: [{
                    type: i0.Input
                }], data: [{
                    type: i0.Input
                }] } });

    var DynamicComponentRComponent = /** @class */ (function () {
        function DynamicComponentRComponent(viewContainerRef, factory, terminator) {
            this.viewContainerRef = viewContainerRef;
            this.factory = factory;
            this.terminator = terminator;
            this.unsubscribe$ = new rxjs.Subject();
        }
        DynamicComponentRComponent.prototype.ngOnInit = function () {
            var _this = this;
            this.terminator.onDestroy.subscribe(function () { return _this.ngOnDestroy(); });
        };
        DynamicComponentRComponent.prototype.ngOnChanges = function (changes) {
            if (changes.is && changes.is.currentValue) {
                var is = changes.is.currentValue;
                if (this.ref) {
                    this.viewContainerRef.remove(0);
                }
                if (typeof is === 'string') {
                    this.ref = this.factory.createByName(this.viewContainerRef, is);
                }
                else {
                    this.ref = this.factory.createByType(this.viewContainerRef, is);
                }
            }
            // 输入参数
            if (changes.data && changes.data.currentValue && typeof changes.data.currentValue === 'object') {
                if (this.ref) {
                    this.ref.instance.config = changes.data.currentValue;
                }
            }
        };
        DynamicComponentRComponent.prototype.ngOnDestroy = function () {
            var unsubscribe$ = this.unsubscribe$;
            unsubscribe$.next();
            unsubscribe$.complete();
            this.ref.destroy();
        };
        return DynamicComponentRComponent;
    }());
    DynamicComponentRComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DynamicComponentRComponent, deps: [{ token: i0__namespace.ViewContainerRef }, { token: DynamicComponentFactoryService }, { token: DynamicComponentTerminatorService }], target: i0__namespace.ɵɵFactoryTarget.Component });
    DynamicComponentRComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: DynamicComponentRComponent, selector: "[d-component-r]", inputs: { is: "is", data: "data" }, providers: [DynamicComponentFactoryService, DynamicComponentTerminatorService], usesOnChanges: true, ngImport: i0__namespace, template: "", isInline: true });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DynamicComponentRComponent, decorators: [{
                type: i0.Component,
                args: [{
                        // eslint-disable-next-line @angular-eslint/component-selector
                        selector: '[d-component-r]',
                        template: "",
                        providers: [DynamicComponentFactoryService, DynamicComponentTerminatorService]
                    }]
            }], ctorParameters: function () { return [{ type: i0__namespace.ViewContainerRef }, { type: DynamicComponentFactoryService }, { type: DynamicComponentTerminatorService }]; }, propDecorators: { is: [{
                    type: i0.Input
                }], data: [{
                    type: i0.Input
                }] } });

    var ALL = [DynamicComponentComponent, DynamicComponentRComponent];
    var DynamicComponentModule = /** @class */ (function () {
        function DynamicComponentModule() {
        }
        DynamicComponentModule.forRoot = function () {
            return {
                ngModule: DynamicComponentModule,
                providers: [{ provide: DynamicComponentRegistryService, useClass: DefaultDynamicComponentRegistryService }]
            };
        };
        return DynamicComponentModule;
    }());
    DynamicComponentModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DynamicComponentModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
    DynamicComponentModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DynamicComponentModule, declarations: [DynamicComponentComponent, DynamicComponentRComponent], imports: [i3.CommonModule], exports: [DynamicComponentComponent, DynamicComponentRComponent] });
    DynamicComponentModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DynamicComponentModule, providers: [], imports: [[i3.CommonModule]] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DynamicComponentModule, decorators: [{
                type: i0.NgModule,
                args: [{
                        imports: [i3.CommonModule],
                        declarations: __spreadArray([], __read(ALL)),
                        exports: __spreadArray([], __read(ALL)),
                        providers: []
                    }]
            }] });

    exports.DataPointDataType = void 0;
    (function (DataPointDataType) {
        DataPointDataType["Boolean"] = "Boolean";
        DataPointDataType["Decimal"] = "Decimal";
        DataPointDataType["Fixed"] = "Fixed";
        DataPointDataType["Float"] = "Float";
        DataPointDataType["Integer"] = "Integer";
        DataPointDataType["String"] = "String";
        DataPointDataType["Timestamp"] = "Timestamp";
    })(exports.DataPointDataType || (exports.DataPointDataType = {}));
    exports.ValidationRuleType = void 0;
    (function (ValidationRuleType) {
        ValidationRuleType["Limit"] = "Limit";
        ValidationRuleType["Effective"] = "Effective";
    })(exports.ValidationRuleType || (exports.ValidationRuleType = {}));

    var WidgetFormRenderBase = /** @class */ (function () {
        function WidgetFormRenderBase(injector) {
            /** 要渲染的组件发生变更 */
            this.widgetChange = new i0.EventEmitter();
            /** 当前选中的组件 */
            this.selectComponent = {};
            /** 当前选中的组件发生变更 */
            this.selectComponentChange = new i0.EventEmitter();
            /** 复制部件 */
            this.cloneComponent = new i0.EventEmitter();
            /** 删除部件 */
            this.deleteComponent = new i0.EventEmitter();
            /** 清空子组件 */
            this.clearComponent = new i0.EventEmitter();
            /** 禁用拖拽 */
            this.disableDragDrop = false;
        }
        Object.defineProperty(WidgetFormRenderBase.prototype, "existChildren", {
            /** 当前是否存在子组件 */
            get: function () {
                return Array.isArray(this.component.children) && this.component.children.length > 0;
            },
            enumerable: false,
            configurable: true
        });
        // ============================== 抛事件
        /** 调用克隆组件 */
        WidgetFormRenderBase.prototype.callCloneComponent = function (widget) {
            this.cloneComponent.emit(widget);
        };
        /** 调用删除组件 */
        WidgetFormRenderBase.prototype.callDeleteComponent = function (widget) {
            this.selectComponent = null;
            this.selectComponentChange.emit(null);
            this.deleteComponent.emit(widget);
        };
        /** 调用清空子组件 */
        WidgetFormRenderBase.prototype.callClearComponent = function (widget) {
            this.clearComponent.emit(widget);
        };
        /** 调用选中组件 */
        WidgetFormRenderBase.prototype.callSelectWidgetChange = function (widget, e) {
            this.selectComponent = widget;
            this.selectComponentChange.emit(widget);
            if (e) {
                e.preventDefault();
                e.stopPropagation();
            }
            return false;
        };
        // ============================== 处理
        /** 处理选中组件 */
        WidgetFormRenderBase.prototype.handleSelectComponent = function (widgetOrIndex, e) {
            if (typeof widgetOrIndex === 'number') {
                this.selectComponent = this.component.children[widgetOrIndex];
            }
            else {
                this.selectComponent = widgetOrIndex;
            }
            this.selectComponentChange.emit(this.selectComponent);
            return;
        };
        /** 处理复制组件 */
        WidgetFormRenderBase.prototype.handleComponentClone = function (index) {
            var e_1, _a;
            var cloneData = util.deepCopy(this.component.children[index]);
            cloneData.id = "id_" + Math.ceil(Math.random() * 99999);
            cloneData.name = "field" + Math.ceil(Math.random() * 99999);
            try {
                for (var _b = __values(cloneData.children), _c = _b.next(); !_c.done; _c = _b.next()) {
                    var item = _c.value;
                    item.id = "id_" + Math.ceil(Math.random() * 99999);
                    item.name = "field" + Math.ceil(Math.random() * 99999);
                }
            }
            catch (e_1_1) { e_1 = { error: e_1_1 }; }
            finally {
                try {
                    if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
                }
                finally { if (e_1) throw e_1.error; }
            }
            this.component.children.splice(index, 0, cloneData);
            this.handleSelectComponent(index + 1);
        };
        /** 处理删除组件 */
        WidgetFormRenderBase.prototype.handleComponentDelete = function (index) {
            this.selectComponent = null;
            if (this.component.children.length - 1 === index) {
                if (index === 0) {
                    this.selectComponent = null;
                }
                else {
                    this.handleSelectComponent(index - 1);
                }
            }
            else {
                this.handleSelectComponent(index + 1);
            }
            this.component.children.splice(index, 1);
        };
        /** 清空组件 */
        WidgetFormRenderBase.prototype.handleComponentClear = function (index) {
            this.component.children[index].children = [];
        };
        WidgetFormRenderBase.prototype.getLabelWidth = function (item) {
            if (typeof item.labelWidth !== 'number') {
                item.labelWidth = 100;
            }
            return item.labelWidth + "px";
        };
        // ============================== 拖拽
        /** 拖拽结束 */
        WidgetFormRenderBase.prototype.onDragged = function (effect, parent, item) {
            // 排序
            if (effect === 'move') {
                var index = parent.children.indexOf(item);
                parent.children.splice(index, 1);
            }
        };
        /** 放下 */
        WidgetFormRenderBase.prototype.onDngDrop = function (event, target) {
            if (!target) {
                return;
            }
            if (!Array.isArray(target.children)) {
                target.children = [];
            }
            // 处理index
            var eventIndex = event.index;
            if (typeof eventIndex === 'undefined') {
                eventIndex = target.children.length;
            }
            // 处理数据
            var newWidget = event.data;
            // copy的数据进行处理
            if (event.dropEffect === 'copy') {
                newWidget.id = "id_" + Math.ceil(Math.random() * 99999);
                newWidget.name = "field" + Math.ceil(Math.random() * 99999);
                newWidget.placeholder = '';
                newWidget.span = 24;
                if (!Array.isArray(newWidget.children)) {
                    newWidget.children = [];
                }
            }
            // 处理目标数组
            if (event.dropEffect === 'copy' || event.dropEffect === 'move') {
                target.children.splice(eventIndex, 0, newWidget);
            }
            if (target.bordered)
                event.data.bordered = true;
        };
        return WidgetFormRenderBase;
    }());
    WidgetFormRenderBase.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: WidgetFormRenderBase, deps: [{ token: i0__namespace.Injector }], target: i0__namespace.ɵɵFactoryTarget.Directive });
    WidgetFormRenderBase.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.13", type: WidgetFormRenderBase, inputs: { parentComponent: "parentComponent", component: "component", widgetIndex: "widgetIndex", selectComponent: "selectComponent", disableDragDrop: "disableDragDrop" }, outputs: { widgetChange: "widgetChange", selectComponentChange: "selectComponentChange", cloneComponent: "cloneComponent", deleteComponent: "deleteComponent", clearComponent: "clearComponent" }, ngImport: i0__namespace });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: WidgetFormRenderBase, decorators: [{
                type: i0.Directive
            }], ctorParameters: function () { return [{ type: i0__namespace.Injector }]; }, propDecorators: { parentComponent: [{
                    type: i0.Input
                }], component: [{
                    type: i0.Input
                }], widgetChange: [{
                    type: i0.Output
                }], widgetIndex: [{
                    type: i0.Input
                }], selectComponent: [{
                    type: i0.Input
                }], selectComponentChange: [{
                    type: i0.Output
                }], cloneComponent: [{
                    type: i0.Output
                }], deleteComponent: [{
                    type: i0.Output
                }], clearComponent: [{
                    type: i0.Output
                }], disableDragDrop: [{
                    type: i0.Input
                }] } });

    var DWidgetFormItemComponent = /** @class */ (function () {
        function DWidgetFormItemComponent() {
        }
        DWidgetFormItemComponent.prototype.getComponent = function (widget) {
            if (!widget) {
                return '';
            }
            if (widget.startsWith('d-')) {
                return widget;
            }
            return "d-" + widget;
        };
        return DWidgetFormItemComponent;
    }());
    DWidgetFormItemComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DWidgetFormItemComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
    DWidgetFormItemComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: DWidgetFormItemComponent, selector: "[d-widget-form-item]", inputs: { item: "item" }, ngImport: i0__namespace, template: "<ng-container *ngIf=\"item\" [ngSwitch]=\"item.widget\">\n  <ng-container *ngSwitchDefault>\n    <div d-component [is]=\"getComponent(item.widget)\" [data]=\"item\"> </div>\n  </ng-container>\n</ng-container>\n", components: [{ type: DynamicComponentComponent, selector: "[d-component]", inputs: ["is", "data"] }], directives: [{ type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3__namespace.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i3__namespace.NgSwitchDefault, selector: "[ngSwitchDefault]" }] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DWidgetFormItemComponent, decorators: [{
                type: i0.Component,
                args: [{
                        // eslint-disable-next-line @angular-eslint/component-selector
                        selector: '[d-widget-form-item]',
                        templateUrl: './d-widget-form-item.component.html',
                        styles: []
                    }]
            }], ctorParameters: function () { return []; }, propDecorators: { item: [{
                    type: i0.Input
                }] } });

    var DROP_EFFECTS = ["move", "copy", "link"];
    var CUSTOM_MIME_TYPE = "application/x-dnd";
    var JSON_MIME_TYPE = "application/json";
    var MSIE_MIME_TYPE = "Text";
    function mimeTypeIsCustom(mimeType) {
        return mimeType.substr(0, CUSTOM_MIME_TYPE.length) === CUSTOM_MIME_TYPE;
    }
    function getWellKnownMimeType(event) {
        if (event.dataTransfer) {
            var types = event.dataTransfer.types;
            // IE 9 workaround.
            if (!types) {
                return MSIE_MIME_TYPE;
            }
            for (var i = 0; i < types.length; i++) {
                if (types[i] === MSIE_MIME_TYPE
                    || types[i] === JSON_MIME_TYPE
                    || mimeTypeIsCustom(types[i])) {
                    return types[i];
                }
            }
        }
        return null;
    }
    function setDragData(event, data, effectAllowed) {
        // Internet Explorer and Microsoft Edge don't support custom mime types, see design doc:
        // https://github.com/marceljuenemann/angular-drag-and-drop-lists/wiki/Data-Transfer-Design
        var mimeType = CUSTOM_MIME_TYPE + (data.type ? ("-" + data.type) : "");
        var dataString = JSON.stringify(data);
        try {
            event.dataTransfer.setData(mimeType, dataString);
        }
        catch (e) {
            //   Setting a custom MIME type did not work, we are probably in IE or Edge.
            try {
                event.dataTransfer.setData(JSON_MIME_TYPE, dataString);
            }
            catch (e) {
                //   We are in Internet Explorer and can only use the Text MIME type. Also note that IE
                //   does not allow changing the cursor in the dragover event, therefore we have to choose
                //   the one we want to display now by setting effectAllowed.
                var effectsAllowed = filterEffects(DROP_EFFECTS, effectAllowed);
                event.dataTransfer.effectAllowed = effectsAllowed[0];
                event.dataTransfer.setData(MSIE_MIME_TYPE, dataString);
            }
        }
    }
    function getDropData(event, dragIsExternal) {
        // check if the mime type is well known
        var mimeType = getWellKnownMimeType(event);
        // drag did not originate from [dndDraggable]
        if (dragIsExternal === true) {
            if (mimeType !== null
                && mimeTypeIsCustom(mimeType)) {
                // the type of content is well known and safe to handle
                return JSON.parse(event.dataTransfer.getData(mimeType));
            }
            // the contained data is unknown, let user handle it
            return {};
        }
        // the type of content is well known and safe to handle
        return JSON.parse(event.dataTransfer.getData(mimeType));
    }
    function filterEffects(effects, allowed) {
        if (allowed === "all"
            || allowed === "uninitialized") {
            return effects;
        }
        return effects.filter(function (effect) {
            return allowed.toLowerCase().indexOf(effect) !== -1;
        });
    }
    function getDirectChildElement(parentElement, childElement) {
        var directChild = childElement;
        while (directChild.parentNode !== parentElement) {
            // reached root node without finding given parent
            if (!directChild.parentNode) {
                return null;
            }
            directChild = directChild.parentNode;
        }
        return directChild;
    }
    function shouldPositionPlaceholderBeforeElement(event, element, horizontal) {
        var bounds = element.getBoundingClientRect();
        // If the pointer is in the upper half of the list item element,
        // we position the placeholder before the list item, otherwise after it.
        if (horizontal) {
            return (event.clientX < bounds.left + bounds.width / 2);
        }
        return (event.clientY < bounds.top + bounds.height / 2);
    }
    function calculateDragImageOffset(event, dragImage) {
        var dragImageComputedStyle = window.getComputedStyle(dragImage);
        var paddingTop = parseFloat(dragImageComputedStyle.paddingTop) || 0;
        var paddingLeft = parseFloat(dragImageComputedStyle.paddingLeft) || 0;
        var borderTop = parseFloat(dragImageComputedStyle.borderTopWidth) || 0;
        var borderLeft = parseFloat(dragImageComputedStyle.borderLeftWidth) || 0;
        return {
            x: event.offsetX + paddingLeft + borderLeft,
            y: event.offsetY + paddingTop + borderTop
        };
    }
    function setDragImage(event, dragImage, offsetFunction) {
        var offset = offsetFunction(event, dragImage) || { x: 0, y: 0 };
        event.dataTransfer.setDragImage(dragImage, offset.x, offset.y);
    }

    var _dndState = {
        isDragging: false,
        dropEffect: "none",
        effectAllowed: "all",
        type: undefined
    };
    function startDrag(event, effectAllowed, type) {
        _dndState.isDragging = true;
        _dndState.dropEffect = "none";
        _dndState.effectAllowed = effectAllowed;
        _dndState.type = type;
        event.dataTransfer.effectAllowed = effectAllowed;
    }
    function endDrag() {
        _dndState.isDragging = false;
        _dndState.dropEffect = undefined;
        _dndState.effectAllowed = undefined;
        _dndState.type = undefined;
    }
    function setDropEffect(event, dropEffect) {
        if (_dndState.isDragging === true) {
            _dndState.dropEffect = dropEffect;
        }
        event.dataTransfer.dropEffect = dropEffect;
    }
    function getDropEffect(event, effectAllowed) {
        var dataTransferEffectAllowed = (event.dataTransfer) ? event.dataTransfer.effectAllowed : "uninitialized";
        var effects = filterEffects(DROP_EFFECTS, dataTransferEffectAllowed);
        if (_dndState.isDragging === true) {
            effects = filterEffects(effects, _dndState.effectAllowed);
        }
        if (effectAllowed) {
            effects = filterEffects(effects, effectAllowed);
        }
        // MacOS automatically filters dataTransfer.effectAllowed depending on the modifier keys,
        // therefore the following modifier keys will only affect other operating systems.
        if (effects.length === 0) {
            return "none";
        }
        if (event.ctrlKey && effects.indexOf("copy") !== -1) {
            return "copy";
        }
        if (event.altKey && effects.indexOf("link") !== -1) {
            return "link";
        }
        return effects[0];
    }
    function getDndType(event) {
        if (_dndState.isDragging === true) {
            return _dndState.type;
        }
        var mimeType = getWellKnownMimeType(event);
        if (mimeType === null) {
            return undefined;
        }
        if (mimeType === MSIE_MIME_TYPE
            || mimeType === JSON_MIME_TYPE) {
            return undefined;
        }
        return mimeType.substr(CUSTOM_MIME_TYPE.length + 1) || undefined;
    }
    function isExternalDrag() {
        return _dndState.isDragging === false;
    }
    var dndState = _dndState;

    var DndPlaceholderRefDirective = /** @class */ (function () {
        function DndPlaceholderRefDirective(elementRef) {
            this.elementRef = elementRef;
        }
        return DndPlaceholderRefDirective;
    }());
    DndPlaceholderRefDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DndPlaceholderRefDirective, deps: [{ token: i0__namespace.ElementRef }], target: i0__namespace.ɵɵFactoryTarget.Directive });
    DndPlaceholderRefDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.13", type: DndPlaceholderRefDirective, selector: "[dndPlaceholderRef]", ngImport: i0__namespace });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DndPlaceholderRefDirective, decorators: [{
                type: i0.Directive,
                args: [{
                        // eslint-disable-next-line @angular-eslint/directive-selector
                        selector: "[dndPlaceholderRef]"
                    }]
            }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }]; } });
    var DndDropzoneDirective = /** @class */ (function () {
        function DndDropzoneDirective(ngZone, elementRef, renderer) {
            var _this = this;
            this.ngZone = ngZone;
            this.elementRef = elementRef;
            this.renderer = renderer;
            this.dndAllowExternal = false;
            this.dndHorizontal = false;
            this.dndDragoverClass = "dndDragover";
            this.dndDropzoneDisabledClass = "dndDropzoneDisabled";
            this.dndDragover = new i0.EventEmitter();
            this.dndDrop = new i0.EventEmitter();
            this.placeholder = null;
            this.disabled = false;
            this.dragEnterEventHandler = function (event) { return _this.onDragEnter(event); };
            this.dragOverEventHandler = function (event) { return _this.onDragOver(event); };
            this.dragLeaveEventHandler = function (event) { return _this.onDragLeave(event); };
        }
        Object.defineProperty(DndDropzoneDirective.prototype, "dndDisableIf", {
            set: function (value) {
                this.disabled = !!value;
                if (this.disabled) {
                    this.renderer.addClass(this.elementRef.nativeElement, this.dndDropzoneDisabledClass);
                }
                else {
                    this.renderer.removeClass(this.elementRef.nativeElement, this.dndDropzoneDisabledClass);
                }
            },
            enumerable: false,
            configurable: true
        });
        Object.defineProperty(DndDropzoneDirective.prototype, "dndDisableDropIf", {
            set: function (value) {
                this.dndDisableIf = value;
            },
            enumerable: false,
            configurable: true
        });
        DndDropzoneDirective.prototype.ngAfterViewInit = function () {
            var _this = this;
            this.placeholder = this.tryGetPlaceholder();
            this.removePlaceholderFromDOM();
            this.ngZone.runOutsideAngular(function () {
                _this.elementRef.nativeElement.addEventListener("dragenter", _this.dragEnterEventHandler);
                _this.elementRef.nativeElement.addEventListener("dragover", _this.dragOverEventHandler);
                _this.elementRef.nativeElement.addEventListener("dragleave", _this.dragLeaveEventHandler);
            });
        };
        DndDropzoneDirective.prototype.ngOnDestroy = function () {
            this.elementRef.nativeElement.removeEventListener("dragenter", this.dragEnterEventHandler);
            this.elementRef.nativeElement.removeEventListener("dragover", this.dragOverEventHandler);
            this.elementRef.nativeElement.removeEventListener("dragleave", this.dragLeaveEventHandler);
        };
        DndDropzoneDirective.prototype.onDragEnter = function (event) {
            // check if another dropzone is activated
            if (event._dndDropzoneActive === true) {
                this.cleanupDragoverState();
                return;
            }
            // set as active if the target element is inside this dropzone
            if (typeof event._dndDropzoneActive === "undefined") {
                var newTarget = document.elementFromPoint(event.clientX, event.clientY);
                if (this.elementRef.nativeElement.contains(newTarget)) {
                    event._dndDropzoneActive = true;
                }
            }
            // check if this drag event is allowed to drop on this dropzone
            var type = getDndType(event);
            if (this.isDropAllowed(type) === false) {
                return;
            }
            // allow the dragenter
            event.preventDefault();
        };
        DndDropzoneDirective.prototype.onDragOver = function (event) {
            // With nested dropzones, we want to ignore this event if a child dropzone
            // has already handled a dragover.  Historically, event.stopPropagation() was
            // used to prevent this bubbling, but that prevents any dragovers outside the
            // ngx-drag-drop component, and stops other use cases such as scrolling on drag.
            // Instead, we can check if the event was already prevented by a child and bail early.
            if (event.defaultPrevented) {
                return;
            }
            // check if this drag event is allowed to drop on this dropzone
            var type = getDndType(event);
            if (this.isDropAllowed(type) === false) {
                return;
            }
            this.checkAndUpdatePlaceholderPosition(event);
            var dropEffect = getDropEffect(event, this.dndEffectAllowed);
            if (dropEffect === "none") {
                this.cleanupDragoverState();
                return;
            }
            // allow the dragover
            event.preventDefault();
            // set the drop effect
            setDropEffect(event, dropEffect);
            this.dndDragover.emit(event);
            this.renderer.addClass(this.elementRef.nativeElement, this.dndDragoverClass);
        };
        DndDropzoneDirective.prototype.onDrop = function (event) {
            try {
                // check if this drag event is allowed to drop on this dropzone
                var type = getDndType(event);
                if (this.isDropAllowed(type) === false) {
                    return;
                }
                var data = getDropData(event, isExternalDrag());
                if (this.isDropAllowed(data.type) === false) {
                    return;
                }
                // signal custom drop handling
                event.preventDefault();
                var dropEffect = getDropEffect(event);
                setDropEffect(event, dropEffect);
                if (dropEffect === "none") {
                    return;
                }
                var dropIndex = this.getPlaceholderIndex();
                // if for whatever reason the placeholder is not present in the DOM but it should be there
                // we don't allow/emit the drop event since it breaks the contract
                // seems to only happen if drag and drop is executed faster than the DOM updates
                if (dropIndex === -1) {
                    return;
                }
                this.dndDrop.emit({
                    event: event,
                    dropEffect: dropEffect,
                    isExternal: isExternalDrag(),
                    data: data.data,
                    index: dropIndex,
                    type: type,
                });
                event.stopPropagation();
            }
            finally {
                this.cleanupDragoverState();
            }
        };
        DndDropzoneDirective.prototype.onDragLeave = function (event) {
            // check if still inside this dropzone and not yet handled by another dropzone
            if (typeof event._dndDropzoneActive === "undefined") {
                var newTarget = document.elementFromPoint(event.clientX, event.clientY);
                if (this.elementRef.nativeElement.contains(newTarget)) {
                    event._dndDropzoneActive = true;
                    return;
                }
            }
            this.cleanupDragoverState();
            // cleanup drop effect when leaving dropzone
            setDropEffect(event, "none");
        };
        DndDropzoneDirective.prototype.isDropAllowed = function (type) {
            // dropzone is disabled -> deny it
            if (this.disabled === true) {
                return false;
            }
            // if drag did not start from our directive
            // and external drag sources are not allowed -> deny it
            if (isExternalDrag() === true
                && this.dndAllowExternal === false) {
                return false;
            }
            // no filtering by types -> allow it
            if (!this.dndDropzone) {
                return true;
            }
            // no type set -> allow it
            if (!type) {
                return true;
            }
            if (Array.isArray(this.dndDropzone) === false) {
                throw new Error("dndDropzone: bound value to [dndDropzone] must be an array!");
            }
            // if dropzone contains type -> allow it
            return this.dndDropzone.indexOf(type) !== -1;
        };
        DndDropzoneDirective.prototype.tryGetPlaceholder = function () {
            if (typeof this.dndPlaceholderRef !== "undefined") {
                return this.dndPlaceholderRef.elementRef.nativeElement;
            }
            // TODO nasty workaround needed because if ng-container / template is used @ContentChild() or DI will fail because
            // of wrong context see angular bug https://github.com/angular/angular/issues/13517
            return this.elementRef.nativeElement.querySelector("[dndPlaceholderRef]");
        };
        DndDropzoneDirective.prototype.removePlaceholderFromDOM = function () {
            if (this.placeholder !== null
                && this.placeholder.parentNode !== null) {
                this.placeholder.parentNode.removeChild(this.placeholder);
            }
        };
        DndDropzoneDirective.prototype.checkAndUpdatePlaceholderPosition = function (event) {
            if (this.placeholder === null) {
                return;
            }
            // make sure the placeholder is in the DOM
            if (this.placeholder.parentNode !== this.elementRef.nativeElement) {
                this.renderer.appendChild(this.elementRef.nativeElement, this.placeholder);
            }
            // update the position if the event originates from a child element of the dropzone
            var directChild = getDirectChildElement(this.elementRef.nativeElement, event.target);
            // early exit if no direct child or direct child is placeholder
            if (directChild === null
                || directChild === this.placeholder) {
                return;
            }
            var positionPlaceholderBeforeDirectChild = shouldPositionPlaceholderBeforeElement(event, directChild, this.dndHorizontal);
            if (positionPlaceholderBeforeDirectChild) {
                // do insert before only if necessary
                if (directChild.previousSibling !== this.placeholder) {
                    this.renderer.insertBefore(this.elementRef.nativeElement, this.placeholder, directChild);
                }
            }
            else {
                // do insert after only if necessary
                if (directChild.nextSibling !== this.placeholder) {
                    this.renderer.insertBefore(this.elementRef.nativeElement, this.placeholder, directChild.nextSibling);
                }
            }
        };
        DndDropzoneDirective.prototype.getPlaceholderIndex = function () {
            if (this.placeholder === null) {
                return undefined;
            }
            var element = this.elementRef.nativeElement;
            return Array.prototype.indexOf.call(element.children, this.placeholder);
        };
        DndDropzoneDirective.prototype.cleanupDragoverState = function () {
            this.renderer.removeClass(this.elementRef.nativeElement, this.dndDragoverClass);
            this.removePlaceholderFromDOM();
        };
        return DndDropzoneDirective;
    }());
    DndDropzoneDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DndDropzoneDirective, deps: [{ token: i0__namespace.NgZone }, { token: i0__namespace.ElementRef }, { token: i0__namespace.Renderer2 }], target: i0__namespace.ɵɵFactoryTarget.Directive });
    DndDropzoneDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.13", type: DndDropzoneDirective, selector: "[dndDropZone]", inputs: { dndDropzone: "dndDropzone", dndEffectAllowed: "dndEffectAllowed", dndAllowExternal: "dndAllowExternal", dndHorizontal: "dndHorizontal", dndDragoverClass: "dndDragoverClass", dndDropzoneDisabledClass: "dndDropzoneDisabledClass", dndDisableIf: "dndDisableIf", dndDisableDropIf: "dndDisableDropIf" }, outputs: { dndDragover: "dndDragover", dndDrop: "dndDrop" }, host: { listeners: { "drop": "onDrop($event)" } }, queries: [{ propertyName: "dndPlaceholderRef", first: true, predicate: DndPlaceholderRefDirective, descendants: true }], ngImport: i0__namespace });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DndDropzoneDirective, decorators: [{
                type: i0.Directive,
                args: [{
                        // eslint-disable-next-line @angular-eslint/directive-selector
                        selector: "[dndDropZone]"
                    }]
            }], ctorParameters: function () { return [{ type: i0__namespace.NgZone }, { type: i0__namespace.ElementRef }, { type: i0__namespace.Renderer2 }]; }, propDecorators: { dndDropzone: [{
                    type: i0.Input
                }], dndEffectAllowed: [{
                    type: i0.Input
                }], dndAllowExternal: [{
                    type: i0.Input
                }], dndHorizontal: [{
                    type: i0.Input
                }], dndDragoverClass: [{
                    type: i0.Input
                }], dndDropzoneDisabledClass: [{
                    type: i0.Input
                }], dndDragover: [{
                    type: i0.Output
                }], dndDrop: [{
                    type: i0.Output
                }], dndPlaceholderRef: [{
                    type: i0.ContentChild,
                    args: [DndPlaceholderRefDirective]
                }], dndDisableIf: [{
                    type: i0.Input
                }], dndDisableDropIf: [{
                    type: i0.Input
                }], onDrop: [{
                    type: i0.HostListener,
                    args: ["drop", ["$event"]]
                }] } });

    var DndDragImageRefDirective = /** @class */ (function () {
        function DndDragImageRefDirective(parent, elementRef) {
            parent.registerDragImage(elementRef);
        }
        return DndDragImageRefDirective;
    }());
    DndDragImageRefDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DndDragImageRefDirective, deps: [{ token: DndDraggableDirective }, { token: i0__namespace.ElementRef }], target: i0__namespace.ɵɵFactoryTarget.Directive });
    DndDragImageRefDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.13", type: DndDragImageRefDirective, selector: "[dndDragImageRef]", ngImport: i0__namespace });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DndDragImageRefDirective, decorators: [{
                type: i0.Directive,
                args: [{
                        // eslint-disable-next-line @angular-eslint/directive-selector
                        selector: '[dndDragImageRef]'
                    }]
            }], ctorParameters: function () { return [{ type: DndDraggableDirective }, { type: i0__namespace.ElementRef }]; } });
    var DndDraggableDirective = /** @class */ (function () {
        function DndDraggableDirective(elementRef, renderer, ngZone) {
            var _this = this;
            this.elementRef = elementRef;
            this.renderer = renderer;
            this.ngZone = ngZone;
            this.dndEffectAllowed = 'copy';
            this.dndDraggingClass = 'dndDragging';
            this.dndDraggingSourceClass = 'dndDraggingSource';
            this.dndDraggableDisabledClass = 'dndDraggableDisabled';
            this.dndDragImageOffsetFunction = calculateDragImageOffset;
            this.dndStart = new i0.EventEmitter();
            this.dndDrag = new i0.EventEmitter();
            this.dndEnd = new i0.EventEmitter();
            this.dndMoved = new i0.EventEmitter();
            this.dndCopied = new i0.EventEmitter();
            this.dndLinked = new i0.EventEmitter();
            this.dndCanceled = new i0.EventEmitter();
            this.draggable = true;
            this.isDragStarted = false;
            this.dragEventHandler = function (event) { return _this.onDrag(event); };
        }
        Object.defineProperty(DndDraggableDirective.prototype, "dndDisableIf", {
            set: function (value) {
                this.draggable = !value;
                if (this.draggable) {
                    this.renderer.removeClass(this.elementRef.nativeElement, this.dndDraggableDisabledClass);
                }
                else {
                    this.renderer.addClass(this.elementRef.nativeElement, this.dndDraggableDisabledClass);
                }
            },
            enumerable: false,
            configurable: true
        });
        Object.defineProperty(DndDraggableDirective.prototype, "dndDisableDragIf", {
            set: function (value) {
                this.dndDisableIf = value;
            },
            enumerable: false,
            configurable: true
        });
        DndDraggableDirective.prototype.ngAfterViewInit = function () {
            var _this = this;
            this.ngZone.runOutsideAngular(function () {
                _this.elementRef.nativeElement.addEventListener('drag', _this.dragEventHandler);
            });
        };
        DndDraggableDirective.prototype.ngOnDestroy = function () {
            this.elementRef.nativeElement.removeEventListener('drag', this.dragEventHandler);
            if (this.isDragStarted === true) {
                endDrag();
            }
        };
        // @ts-ignore
        DndDraggableDirective.prototype.onDragStart = function (event) {
            var _this = this;
            if (this.draggable === false) {
                return false;
            }
            // check if there is dnd handle and if the dnd handle was used to start the drag
            if (typeof this.dndHandle !== 'undefined'
                && typeof event._dndUsingHandle === 'undefined') {
                return false;
            }
            // initialize global state
            startDrag(event, this.dndEffectAllowed, this.dndType);
            this.isDragStarted = true;
            setDragData(event, { data: this.dndDraggable, type: this.dndType }, dndState.effectAllowed);
            this.dragImage = this.determineDragImage();
            // set dragging css class prior to setDragImage so styles are applied before
            // TODO breaking change: add class to elementRef rather than drag image which could be another element
            this.renderer.addClass(this.dragImage, this.dndDraggingClass);
            // set custom dragimage if present
            // set dragimage if drag is started from dndHandle
            if (typeof this.dndDragImageElementRef !== 'undefined'
                || typeof event._dndUsingHandle !== 'undefined') {
                setDragImage(event, this.dragImage, this.dndDragImageOffsetFunction);
            }
            // add dragging source css class on first drag event
            var unregister = this.renderer.listen(this.elementRef.nativeElement, 'drag', function () {
                _this.renderer.addClass(_this.elementRef.nativeElement, _this.dndDraggingSourceClass);
                unregister();
            });
            this.dndStart.emit(event);
            event.stopPropagation();
        };
        DndDraggableDirective.prototype.onDrag = function (event) {
            this.dndDrag.emit(event);
        };
        DndDraggableDirective.prototype.onDragEnd = function (event) {
            var _this = this;
            // get drop effect from custom stored state as its not reliable across browsers
            var dropEffect = dndState.dropEffect;
            var dropEffectEmitter;
            switch (dropEffect) {
                case 'copy':
                    dropEffectEmitter = this.dndCopied;
                    break;
                case 'link':
                    dropEffectEmitter = this.dndLinked;
                    break;
                case 'move':
                    dropEffectEmitter = this.dndMoved;
                    break;
                default:
                    dropEffectEmitter = this.dndCanceled;
                    break;
            }
            dropEffectEmitter.emit(event);
            this.dndEnd.emit(event);
            // reset global state
            endDrag();
            this.isDragStarted = false;
            this.renderer.removeClass(this.dragImage, this.dndDraggingClass);
            // IE9 special hammering
            window.setTimeout(function () {
                _this.renderer.removeClass(_this.elementRef.nativeElement, _this.dndDraggingSourceClass);
            }, 0);
            event.stopPropagation();
        };
        DndDraggableDirective.prototype.registerDragHandle = function (handle) {
            this.dndHandle = handle;
        };
        DndDraggableDirective.prototype.registerDragImage = function (elementRef) {
            this.dndDragImageElementRef = elementRef;
        };
        DndDraggableDirective.prototype.determineDragImage = function () {
            // evaluate custom drag image existence
            if (typeof this.dndDragImageElementRef !== 'undefined') {
                return this.dndDragImageElementRef.nativeElement;
            }
            else {
                return this.elementRef.nativeElement;
            }
        };
        return DndDraggableDirective;
    }());
    DndDraggableDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DndDraggableDirective, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.Renderer2 }, { token: i0__namespace.NgZone }], target: i0__namespace.ɵɵFactoryTarget.Directive });
    DndDraggableDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.13", type: DndDraggableDirective, selector: "[dndDraggable]", inputs: { dndDraggable: "dndDraggable", dndEffectAllowed: "dndEffectAllowed", dndType: "dndType", dndDraggingClass: "dndDraggingClass", dndDraggingSourceClass: "dndDraggingSourceClass", dndDraggableDisabledClass: "dndDraggableDisabledClass", dndDragImageOffsetFunction: "dndDragImageOffsetFunction", dndDisableIf: "dndDisableIf", dndDisableDragIf: "dndDisableDragIf" }, outputs: { dndStart: "dndStart", dndDrag: "dndDrag", dndEnd: "dndEnd", dndMoved: "dndMoved", dndCopied: "dndCopied", dndLinked: "dndLinked", dndCanceled: "dndCanceled" }, host: { listeners: { "dragstart": "onDragStart($event)", "dragend": "onDragEnd($event)" }, properties: { "attr.draggable": "this.draggable" } }, ngImport: i0__namespace });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DndDraggableDirective, decorators: [{
                type: i0.Directive,
                args: [{
                        // eslint-disable-next-line @angular-eslint/directive-selector
                        selector: '[dndDraggable]'
                    }]
            }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.Renderer2 }, { type: i0__namespace.NgZone }]; }, propDecorators: { dndDraggable: [{
                    type: i0.Input
                }], dndEffectAllowed: [{
                    type: i0.Input
                }], dndType: [{
                    type: i0.Input
                }], dndDraggingClass: [{
                    type: i0.Input
                }], dndDraggingSourceClass: [{
                    type: i0.Input
                }], dndDraggableDisabledClass: [{
                    type: i0.Input
                }], dndDragImageOffsetFunction: [{
                    type: i0.Input
                }], dndStart: [{
                    type: i0.Output
                }], dndDrag: [{
                    type: i0.Output
                }], dndEnd: [{
                    type: i0.Output
                }], dndMoved: [{
                    type: i0.Output
                }], dndCopied: [{
                    type: i0.Output
                }], dndLinked: [{
                    type: i0.Output
                }], dndCanceled: [{
                    type: i0.Output
                }], draggable: [{
                    type: i0.HostBinding,
                    args: ['attr.draggable']
                }], dndDisableIf: [{
                    type: i0.Input
                }], dndDisableDragIf: [{
                    type: i0.Input
                }], onDragStart: [{
                    type: i0.HostListener,
                    args: ['dragstart', ['$event']]
                }], onDragEnd: [{
                    type: i0.HostListener,
                    args: ['dragend', ['$event']]
                }] } });

    var DWidgetFormRenderComponent = /** @class */ (function (_super) {
        __extends(DWidgetFormRenderComponent, _super);
        function DWidgetFormRenderComponent(injector) {
            return _super.call(this, injector) || this;
        }
        return DWidgetFormRenderComponent;
    }(WidgetFormRenderBase));
    DWidgetFormRenderComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DWidgetFormRenderComponent, deps: [{ token: i0__namespace.Injector }], target: i0__namespace.ɵɵFactoryTarget.Component });
    DWidgetFormRenderComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: DWidgetFormRenderComponent, selector: "[d-widget-form-render]", usesInheritance: true, ngImport: i0__namespace, template: "<!-- \u6839\u636E\u7C7B\u578B\u8FDB\u884C\u6E32\u67D3 -->\n<ng-container [ngSwitch]=\"component.widget\">\n  <ng-container *ngSwitchCase=\"'layout-form'\">\n    <ng-container *ngTemplateOutlet=\"formRender; context: { $implicit: component, parentComponent: parentComponent }\"> </ng-container>\n  </ng-container>\n  <ng-container *ngSwitchCase=\"'group'\">\n    <ng-container *ngTemplateOutlet=\"groupRender; context: { $implicit: component, parentComponent: parentComponent }\"></ng-container>\n  </ng-container>\n  <ng-container *ngSwitchCase=\"'title'\">\n    <ng-container *ngTemplateOutlet=\"titleRender; context: { $implicit: component, parentComponent: parentComponent }\"></ng-container>\n  </ng-container>\n  <ng-container *ngSwitchDefault>\n    <ng-container *ngTemplateOutlet=\"defaultRender; context: { $implicit: component, parentComponent: parentComponent }\"></ng-container>\n  </ng-container>\n</ng-container>\n\n<!-- \u8868\u5355 -->\n<ng-template #formRender let-subComponent let-parentComponent=\"parentComponent\">\n  <form #widgetFormRef=\"ngForm\" nz-row nz-form style=\"height: 100%\" [ngClass]=\"{ formBordered: subComponent.bordered }\">\n    <div\n      dndDropZone\n      [dndDisableIf]=\"disableDragDrop\"\n      [dndAllowExternal]=\"true\"\n      (dndDrop)=\"onDngDrop($event, subComponent)\"\n      [ngStyle]=\"{ 'min-height: 300px;': subComponent.children.length === 0 }\"\n      class=\"widget-form-list\"\n      style=\"width: 100%; text-align: left\"\n    >\n      <div dndPlaceholderRef class=\"widget-form-item-placeholder\"></div>\n\n      <ng-container *ngFor=\"let childComponent of subComponent.children; let i = index\">\n        <div\n          [dndDraggable]=\"childComponent\"\n          [dndDisableIf]=\"disableDragDrop\"\n          dndEffectAllowed=\"move\"\n          (dndMoved)=\"onDragged('move', subComponent, childComponent)\"\n          nz-col\n          [nzMd]=\"childComponent.span || 12\"\n          [nzXs]=\"24\"\n          [nzOffset]=\"childComponent.offset || 0\"\n          class=\"widget-form-list-item\"\n          [attr.data-id]=\"childComponent.id\"\n          [attr.id]=\"'widget-' + childComponent.id\"\n          style=\"display: inline-block; width: 100%; float: left\"\n        >\n          <div>\n            <div\n              d-widget-form-render\n              [disableDragDrop]=\"disableDragDrop\"\n              [parentComponent]=\"subComponent\"\n              [component]=\"childComponent\"\n              [widgetIndex]=\"i\"\n              [selectComponent]=\"selectComponent\"\n              (selectComponentChange)=\"handleSelectComponent($event)\"\n              (cloneComponent)=\"handleComponentClone(i)\"\n              (deleteComponent)=\"handleComponentDelete(i)\"\n              (clearComponent)=\"handleComponentClear(i)\"\n            >\n            </div>\n          </div>\n        </div>\n      </ng-container>\n    </div>\n  </form>\n</ng-template>\n<!-- group -->\n<ng-template #groupRender let-subComponent let-parentComponent=\"parentComponent\">\n  <!-- \u5217\u8868 -->\n  <nz-form-item\n    class=\"widget-form-item\"\n    [ngClass]=\"{ active: selectComponent === subComponent, required: subComponent.required }\"\n    (click)=\"callSelectWidgetChange(subComponent, $event)\"\n  >\n    <nz-form-label *ngIf=\"!subComponent.bordered\" [hidden]=\"subComponent.hiddenLabel\" [nzRequired]=\"subComponent.required\" nzSpan=\"24\">\n      <div>{{ subComponent.label }}</div>\n    </nz-form-label>\n    <nz-form-control nzSpan=\"24\">\n      <!-- \u6E32\u67D3\u666E\u901A\u63A7\u4EF6 -->\n      <div\n        dndDropZone\n        [dndDisableIf]=\"disableDragDrop\"\n        [dndAllowExternal]=\"true\"\n        (dndDrop)=\"onDngDrop($event, subComponent)\"\n        [ngStyle]=\"{ 'min-height: 300px;': subComponent.children.length === 0 }\"\n        class=\"d-groups widget-form-container\"\n        style=\"width: 100%; text-align: left\"\n      >\n        <!-- palceholder -->\n        <div dndPlaceholderRef class=\"widget-form-item-placeholder\"></div>\n\n        <!-- \u6E32\u67D3\u5B50\u9879 -->\n        <ng-container *ngFor=\"let childComponent of subComponent.children; let i = index\">\n          <div\n            [dndDraggable]=\"childComponent\"\n            [dndDisableIf]=\"disableDragDrop\"\n            dndEffectAllowed=\"move\"\n            (dndMoved)=\"onDragged('move', subComponent, childComponent)\"\n            nz-col\n            [nzMd]=\"childComponent.span || 12\"\n            [nzXs]=\"24\"\n            [nzOffset]=\"childComponent.offset || 0\"\n            class=\"widget-form-list-item\"\n            [attr.data-id]=\"childComponent.id\"\n            [attr.id]=\"'widget-' + childComponent.id\"\n            style=\"display: inline-block; width: 100%; float: left\"\n          >\n            <div>\n              <div\n                d-widget-form-render\n                [disableDragDrop]=\"disableDragDrop\"\n                [parentComponent]=\"subComponent\"\n                [component]=\"childComponent\"\n                [widgetIndex]=\"i\"\n                [selectComponent]=\"selectComponent\"\n                (selectComponentChange)=\"handleSelectComponent($event)\"\n                (cloneComponent)=\"handleComponentClone(i)\"\n                (deleteComponent)=\"handleComponentDelete(i)\"\n                (clearComponent)=\"handleComponentClear(i)\"\n              >\n              </div>\n            </div>\n          </div>\n        </ng-container>\n      </div>\n      <!-- \u63A7\u4EF6\u906E\u7F69 -->\n      <div class=\"widget-mask\"></div>\n    </nz-form-control>\n    <!-- \u529F\u80FD\u6309\u94AE -->\n    <ng-container *ngIf=\"selectComponent === subComponent && !selectComponent.editLabel && !disableDragDrop\">\n      <button\n        nz-button\n        class=\"widget-action-clone\"\n        title=\"\u590D\u5236\"\n        nzType=\"primary\"\n        nzShape=\"circle\"\n        (click)=\"callCloneComponent(subComponent)\"\n        nzSize=\"small\"\n        >c\n      </button>\n      <button\n        nz-button\n        class=\"widget-action-delete\"\n        title=\"\u5220\u9664\"\n        nzDanger\n        nzShape=\"circle\"\n        nzSize=\"small\"\n        (click)=\"callDeleteComponent(subComponent)\"\n        >d\n      </button>\n    </ng-container>\n  </nz-form-item>\n</ng-template>\n\n<!-- title -->\n<ng-template #titleRender let-subComponent let-parentComponent=\"parentComponent\">\n  <nz-form-item\n    class=\"widget-form-item\"\n    [ngClass]=\"{ active: selectComponent === subComponent, required: subComponent.required }\"\n    (click)=\"callSelectWidgetChange(subComponent, $event)\"\n  >\n    <nz-form-control>\n      <!-- \u6E32\u67D3\u666E\u901A\u63A7\u4EF6 -->\n      <div d-widget-form-item [item]=\"subComponent\"></div>\n      <!-- \u63A7\u4EF6\u906E\u7F69 -->\n      <div class=\"widget-mask\"></div>\n    </nz-form-control>\n    <!-- \u529F\u80FD\u6309\u94AE -->\n    <ng-container *ngIf=\"selectComponent === subComponent && !selectComponent.editLabel && !disableDragDrop\">\n      <button\n        nz-button\n        class=\"widget-action-clone\"\n        title=\"\u590D\u5236\"\n        nzType=\"primary\"\n        nzShape=\"circle\"\n        (click)=\"callCloneComponent(subComponent)\"\n        nzSize=\"small\"\n        >c\n      </button>\n      <button\n        nz-button\n        class=\"widget-action-delete\"\n        title=\"\u5220\u9664\"\n        nzDanger\n        nzShape=\"circle\"\n        nzSize=\"small\"\n        (click)=\"callDeleteComponent(subComponent)\"\n        >d\n      </button>\n    </ng-container>\n  </nz-form-item>\n</ng-template>\n\n<!-- \u9ED8\u8BA4 -->\n<ng-template #defaultRender let-subComponent let-parentComponent=\"parentComponent\">\n  <nz-form-item\n    class=\"widget-form-item\"\n    [ngClass]=\"{\n      active: selectComponent === subComponent,\n      required: subComponent.required,\n      bordered: parentComponent.bordered\n    }\"\n    (click)=\"callSelectWidgetChange(subComponent, $event)\"\n  >\n    <!-- \u663E\u793A\u8FB9\u6846\u65F6\uFF0C\u9690\u85CFlabel\uFF0C parentComponent.bordered -->\n    <!-- \u6807\u9898 -->\n    <nz-form-label\n      *ngIf=\"!parentComponent.bordered\"\n      [hidden]=\"subComponent.hiddenLabel\"\n      [style.width]=\"getLabelWidth(subComponent)\"\n      [nzRequired]=\"subComponent.required\"\n    >\n      <div>{{ subComponent.label }}</div>\n    </nz-form-label>\n    <nz-form-control>\n      <!-- \u6E32\u67D3\u666E\u901A\u63A7\u4EF6 -->\n      <div d-widget-form-item [item]=\"subComponent\"></div>\n      <!-- \u63A7\u4EF6\u906E\u7F69 -->\n      <div class=\"widget-mask\"></div>\n    </nz-form-control>\n    <!-- \u529F\u80FD\u6309\u94AE -->\n    <ng-container *ngIf=\"selectComponent === subComponent && !selectComponent.editLabel && !disableDragDrop\">\n      <button\n        nz-button\n        class=\"widget-action-clone\"\n        title=\"\u590D\u5236\"\n        nzType=\"primary\"\n        nzShape=\"circle\"\n        (click)=\"callCloneComponent(subComponent)\"\n        nzSize=\"small\"\n        >c\n      </button>\n      <button\n        nz-button\n        class=\"widget-action-delete\"\n        title=\"\u5220\u9664\"\n        nzDanger\n        nzShape=\"circle\"\n        nzSize=\"small\"\n        (click)=\"callDeleteComponent(subComponent)\"\n        >d\n      </button>\n    </ng-container>\n  </nz-form-item>\n</ng-template>\n", styles: ["nz-form-label{text-align:left}\n"], components: [{ type: DWidgetFormRenderComponent, selector: "[d-widget-form-render]" }, { type: i1__namespace.NzFormItemComponent, selector: "nz-form-item", exportAs: ["nzFormItem"] }, { type: i1__namespace.NzFormLabelComponent, selector: "nz-form-label", inputs: ["nzRequired", "nzNoColon", "nzTooltipIcon", "nzFor", "nzTooltipTitle"], exportAs: ["nzFormLabel"] }, { type: i1__namespace.NzFormControlComponent, selector: "nz-form-control", inputs: ["nzAutoTips", "nzDisableAutoTips", "nzHasFeedback", "nzValidateStatus", "nzSuccessTip", "nzWarningTip", "nzErrorTip", "nzValidatingTip", "nzExtra"], exportAs: ["nzFormControl"] }, { type: i3__namespace$1.NzButtonComponent, selector: "button[nz-button], a[nz-button]", inputs: ["nzBlock", "nzGhost", "nzSearch", "nzLoading", "nzDanger", "disabled", "tabIndex", "nzType", "nzShape", "nzSize"], exportAs: ["nzButton"] }, { type: DWidgetFormItemComponent, selector: "[d-widget-form-item]", inputs: ["item"] }], directives: [{ type: i3__namespace.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i3__namespace.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i3__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i3__namespace.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { type: i2__namespace.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i2__namespace.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i2__namespace.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i3__namespace$2.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { type: i1__namespace.NzFormDirective, selector: "[nz-form]", inputs: ["nzLayout", "nzNoColon", "nzAutoTips", "nzDisableAutoTips", "nzTooltipIcon"], exportAs: ["nzForm"] }, { type: i3__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: DndDropzoneDirective, selector: "[dndDropZone]", inputs: ["dndDropzone", "dndEffectAllowed", "dndAllowExternal", "dndHorizontal", "dndDragoverClass", "dndDropzoneDisabledClass", "dndDisableIf", "dndDisableDropIf"], outputs: ["dndDragover", "dndDrop"] }, { type: i3__namespace.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: DndPlaceholderRefDirective, selector: "[dndPlaceholderRef]" }, { type: i3__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i3__namespace$2.NzColDirective, selector: "[nz-col],nz-col,nz-form-control,nz-form-label", inputs: ["nzFlex", "nzSpan", "nzOrder", "nzOffset", "nzPush", "nzPull", "nzXs", "nzSm", "nzMd", "nzLg", "nzXl", "nzXXl"], exportAs: ["nzCol"] }, { type: DndDraggableDirective, selector: "[dndDraggable]", inputs: ["dndDraggable", "dndEffectAllowed", "dndType", "dndDraggingClass", "dndDraggingSourceClass", "dndDraggableDisabledClass", "dndDragImageOffsetFunction", "dndDisableIf", "dndDisableDragIf"], outputs: ["dndStart", "dndDrag", "dndEnd", "dndMoved", "dndCopied", "dndLinked", "dndCanceled"] }, { type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i8__namespace.NzWaveDirective, selector: "[nz-wave],button[nz-button]:not([nzType=\"link\"]):not([nzType=\"text\"])", inputs: ["nzWaveExtraNode"], exportAs: ["nzWave"] }, { type: i9__namespace.ɵNzTransitionPatchDirective, selector: "[nz-button], nz-button-group, [nz-icon], [nz-menu-item], [nz-submenu], nz-select-top-control, nz-select-placeholder, nz-input-group", inputs: ["hidden"] }] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DWidgetFormRenderComponent, decorators: [{
                type: i0.Component,
                args: [{
                        // eslint-disable-next-line @angular-eslint/component-selector
                        selector: '[d-widget-form-render]',
                        templateUrl: './d-widget-form-render.component.html',
                        styleUrls: ['./d-widget-form-render.component.less']
                    }]
            }], ctorParameters: function () { return [{ type: i0__namespace.Injector }]; } });

    var WidgetConfigComponent = /** @class */ (function () {
        function WidgetConfigComponent() {
            this.dateArr = ['year', 'month', 'week', 'date', 'datetime', 'time', 'daterange', 'timerange', 'datetimerange', 'dates'];
        }
        WidgetConfigComponent.prototype.ngOnInit = function () {
            console.log('');
        };
        WidgetConfigComponent.prototype.ngOnChanges = function (changes) {
            if (changes.data) {
                this.processorData(changes.data.currentValue);
            }
        };
        WidgetConfigComponent.prototype.processorData = function (data) {
            if (!data) {
                return;
            }
            if (typeof this.data.labelWidth !== 'number') {
                this.data.labelWidth = 100;
            }
            this.configComponentName = this.getComponent(data);
        };
        WidgetConfigComponent.prototype.getComponent = function (data) {
            return "d-" + data.widget + "-config";
        };
        return WidgetConfigComponent;
    }());
    WidgetConfigComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: WidgetConfigComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
    WidgetConfigComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: WidgetConfigComponent, selector: "app-widget-config", inputs: { data: "data", defaultValues: "defaultValues" }, usesOnChanges: true, ngImport: i0__namespace, template: "<div class=\"widget-config\" *ngIf=\"data\">\n  <form nz-form #formRef=\"ngForm\">\n    <!-- \u540D\u79F0 -->\n    <nz-form-item>\n      <nz-form-label [nzSpan]=\"6\">\u540D\u79F0</nz-form-label>\n      <nz-form-control>\n        <input nz-input #nameInput=\"ngModel\" name=\"name\" type=\"text\" [(ngModel)]=\"data.name\" />\n      </nz-form-control>\n    </nz-form-item>\n\n    <!-- \u6807\u9898 -->\n    <nz-form-item>\n      <nz-form-label [nzSpan]=\"6\">\u6807\u9898</nz-form-label>\n      <nz-form-control>\n        <input nz-input #labelInput=\"ngModel\" name=\"label\" type=\"text\" [(ngModel)]=\"data.label\" />\n      </nz-form-control>\n    </nz-form-item>\n\n    <!-- \u6807\u9898\u5BBD\u5EA6 -->\n    <nz-form-item>\n      <nz-form-label [nzSpan]=\"6\">\u6807\u9898\u5BBD\u5EA6</nz-form-label>\n      <nz-form-control>\n        <nz-input-number #labelWidthInput=\"ngModel\" name=\"labelWidth\" [(ngModel)]=\"data.labelWidth\" [nzMin]=\"0\" [nzMax]=\"9999\">\n        </nz-input-number>\n      </nz-form-control>\n    </nz-form-item>\n\n    <!-- \u8868\u5355\u6805\u683C -->\n    <nz-form-item>\n      <nz-form-label [nzSpan]=\"6\">\u8868\u5355\u6805\u683C</nz-form-label>\n      <nz-form-control>\n        <nz-input-number #spanInput=\"ngModel\" name=\"span\" [(ngModel)]=\"data.span\" [nzMin]=\"1\" [nzMax]=\"24\"></nz-input-number>\n      </nz-form-control>\n    </nz-form-item>\n\n    <!-- \u662F\u5426\u53EF\u89C1 -->\n    <nz-form-item>\n      <nz-form-label [nzSpan]=\"6\">\u662F\u5426\u53EF\u89C1</nz-form-label>\n      <nz-form-control>\n        <nz-switch #displayInput=\"ngModel\" name=\"display\" [(ngModel)]=\"data.display\"></nz-switch>\n      </nz-form-control>\n    </nz-form-item>\n\n    <!-- \u662F\u5426\u5FC5\u586B -->\n    <nz-form-item>\n      <nz-form-label [nzSpan]=\"6\">\u662F\u5426\u5FC5\u586B</nz-form-label>\n      <nz-form-control>\n        <nz-switch #requiredInput=\"ngModel\" name=\"required\" [(ngModel)]=\"data.required\"></nz-switch>\n      </nz-form-control>\n    </nz-form-item>\n\n    <!-- \u5360\u4F4D\u5185\u5BB9 -->\n    <nz-form-item>\n      <nz-form-label [nzSpan]=\"6\">\u5360\u4F4D\u5185\u5BB9</nz-form-label>\n      <nz-form-control>\n        <input nz-input #placeholderInput=\"ngModel\" name=\"placeholder\" type=\"text\" [(ngModel)]=\"data.placeholder\" />\n      </nz-form-control>\n    </nz-form-item>\n\n    <!-- \u7EC4\u4EF6\u7279\u5B9A\u914D\u7F6E -->\n    <div d-component [is]=\"configComponentName\" [data]=\"data\"></div>\n  </form>\n</div>\n", styles: ["nz-form-label{text-align:left}\n"], components: [{ type: i1__namespace.NzFormItemComponent, selector: "nz-form-item", exportAs: ["nzFormItem"] }, { type: i1__namespace.NzFormLabelComponent, selector: "nz-form-label", inputs: ["nzRequired", "nzNoColon", "nzTooltipIcon", "nzFor", "nzTooltipTitle"], exportAs: ["nzFormLabel"] }, { type: i1__namespace.NzFormControlComponent, selector: "nz-form-control", inputs: ["nzAutoTips", "nzDisableAutoTips", "nzHasFeedback", "nzValidateStatus", "nzSuccessTip", "nzWarningTip", "nzErrorTip", "nzValidatingTip", "nzExtra"], exportAs: ["nzFormControl"] }, { type: i2__namespace$1.NzInputNumberComponent, selector: "nz-input-number", inputs: ["nzSize", "nzMin", "nzMax", "nzParser", "nzPrecisionMode", "nzPlaceHolder", "nzStep", "nzInputMode", "nzId", "nzDisabled", "nzAutoFocus", "nzFormatter", "nzPrecision"], outputs: ["nzBlur", "nzFocus"], exportAs: ["nzInputNumber"] }, { type: i29__namespace.NzSwitchComponent, selector: "nz-switch", inputs: ["nzLoading", "nzDisabled", "nzControl", "nzCheckedChildren", "nzUnCheckedChildren", "nzSize"], exportAs: ["nzSwitch"] }, { type: DynamicComponentComponent, selector: "[d-component]", inputs: ["is", "data"] }], directives: [{ type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2__namespace.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i2__namespace.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i2__namespace.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i1__namespace.NzFormDirective, selector: "[nz-form]", inputs: ["nzLayout", "nzNoColon", "nzAutoTips", "nzDisableAutoTips", "nzTooltipIcon"], exportAs: ["nzForm"] }, { type: i3__namespace$2.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { type: i3__namespace$2.NzColDirective, selector: "[nz-col],nz-col,nz-form-control,nz-form-label", inputs: ["nzFlex", "nzSpan", "nzOrder", "nzOffset", "nzPush", "nzPull", "nzXs", "nzSm", "nzMd", "nzLg", "nzXl", "nzXXl"], exportAs: ["nzCol"] }, { type: i4__namespace.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzSize", "disabled"], exportAs: ["nzInput"] }, { type: i2__namespace.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i2__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: WidgetConfigComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'app-widget-config',
                        templateUrl: './widget-config.component.html',
                        styleUrls: ['./widget-config.component.less']
                    }]
            }], ctorParameters: function () { return []; }, propDecorators: { data: [{
                    type: i0.Input
                }], defaultValues: [{
                    type: i0.Input
                }] } });

    var FormConfigComponent = /** @class */ (function () {
        function FormConfigComponent() {
        }
        FormConfigComponent.prototype.mapBool = function (list, bool) {
            var _this = this;
            list.map(function (v) {
                v.bordered = bool;
                if (v.children.length) {
                    _this.mapBool(v.children, bool);
                }
            });
        };
        FormConfigComponent.prototype.borderedChange = function (bool) {
            if (bool) {
                this.mapBool([this.data], true);
            }
            else {
                this.mapBool([this.data], false);
            }
        };
        return FormConfigComponent;
    }());
    FormConfigComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: FormConfigComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
    FormConfigComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: FormConfigComponent, selector: "app-form-config", inputs: { data: "data" }, ngImport: i0__namespace, template: "<div class=\"form-config-container\">\n  <form nz-form #formRef=\"ngForm\">\n    <!-- \u8868\u5355\u5E03\u5C40 -->\n    <nz-form-item>\n      <nz-form-label [nzSpan]=\"12\">\u8868\u5355\u5E03\u5C40</nz-form-label>\n      <nz-form-control>\n        <nz-select #formLayoutInput=\"ngModel\" name=\"formLayout\" [(ngModel)]=\"data.formLayout\">\n          <nz-option nzLabel=\"\u6C34\u5E73\" nzValue=\"horizontal\"></nz-option>\n          <nz-option nzLabel=\"\u5782\u76F4\" nzValue=\"vertical\"></nz-option>\n          <nz-option nzLabel=\"\u884C\u5185\" nzValue=\"inline\"></nz-option>\n        </nz-select>\n      </nz-form-control>\n    </nz-form-item>\n\n    <!-- \u8868\u5355\u5185\u7EC4\u4EF6\u5C3A\u5BF8 -->\n    <nz-form-item>\n      <nz-form-label [nzSpan]=\"12\">\u7EC4\u4EF6\u5C3A\u5BF8</nz-form-label>\n      <nz-form-control>\n        <nz-select #formSizeInput=\"ngModel\" name=\"formSize\" [(ngModel)]=\"data.formSize\">\n          <nz-option nzLabel=\"\u9ED8\u8BA4\" nzValue=\"default\"></nz-option>\n          <nz-option nzLabel=\"\u5927\" nzValue=\"large\"></nz-option>\n          <nz-option nzLabel=\"\u5C0F\" nzValue=\"small\"></nz-option>\n        </nz-select>\n      </nz-form-control>\n    </nz-form-item>\n\n    <!-- \u663E\u793A\u6309\u94AE -->\n    <nz-form-item>\n      <nz-form-label [nzSpan]=\"12\">\u663E\u793A\u6309\u94AE</nz-form-label>\n      <nz-form-control>\n        <nz-switch #formBtnInput=\"ngModel\" name=\"formBtn\" [(ngModel)]=\"data.formBtn\"></nz-switch>\n      </nz-form-control>\n    </nz-form-item>\n\n    <!-- \u663E\u793A\u63D0\u4EA4\u6309\u94AE -->\n    <nz-form-item *ngIf=\"data.formBtn\">\n      <nz-form-label [nzSpan]=\"12\">\u663E\u793A\u63D0\u4EA4\u6309\u94AE</nz-form-label>\n      <nz-form-control>\n        <nz-switch #formBtnSubmitInput=\"ngModel\" name=\"formBtnSubmit\" [(ngModel)]=\"data.formBtnSubmit\"></nz-switch>\n      </nz-form-control>\n    </nz-form-item>\n\n    <!-- \u63D0\u4EA4\u6309\u94AE\u6587\u672C -->\n    <nz-form-item *ngIf=\"data.formBtn && data.formBtnSubmit\">\n      <nz-form-label [nzSpan]=\"12\">\u63D0\u4EA4\u6309\u94AE\u6587\u672C</nz-form-label>\n      <nz-form-control>\n        <input nz-input #formBtnSubmitTextInput=\"ngModel\" name=\"formBtnSubmitText\" type=\"text\" [(ngModel)]=\"data.formBtnSubmitText\" />\n      </nz-form-control>\n    </nz-form-item>\n\n    <!-- \u663E\u793A\u91CD\u7F6E\u6309\u94AE -->\n    <nz-form-item *ngIf=\"data.formBtn\">\n      <nz-form-label [nzSpan]=\"12\">\u663E\u793A\u91CD\u7F6E\u6309\u94AE</nz-form-label>\n      <nz-form-control>\n        <nz-switch #formBtnResetInput=\"ngModel\" name=\"formBtnReset\" [(ngModel)]=\"data.formBtnReset\"></nz-switch>\n      </nz-form-control>\n    </nz-form-item>\n\n    <!-- \u91CD\u7F6E\u6309\u94AE\u6587\u672C -->\n    <nz-form-item *ngIf=\"data.formBtn && data.formBtnReset\">\n      <nz-form-label [nzSpan]=\"12\">\u91CD\u7F6E\u6309\u94AE\u6587\u672C</nz-form-label>\n      <nz-form-control>\n        <input nz-input #formBtnResetText=\"ngModel\" name=\"formBtnResetText\" type=\"text\" [(ngModel)]=\"data.formBtnResetText\" />\n      </nz-form-control>\n    </nz-form-item>\n\n    <!-- \u8868\u5355\u6837\u5F0F\u6A21\u7248 -->\n    <nz-form-item>\n      <nz-form-label [nzSpan]=\"12\">\u8868\u683C\u6837\u5F0F</nz-form-label>\n      <nz-form-control>\n        <nz-switch #formBtnInput=\"ngModel\" name=\"bordered\" [ngModel]=\"bordered\" (ngModelChange)=\"borderedChange($event)\"></nz-switch>\n      </nz-form-control>\n    </nz-form-item>\n  </form>\n</div>\n", styles: ["nz-form-label{text-align:left}\n"], components: [{ type: i1__namespace.NzFormItemComponent, selector: "nz-form-item", exportAs: ["nzFormItem"] }, { type: i1__namespace.NzFormLabelComponent, selector: "nz-form-label", inputs: ["nzRequired", "nzNoColon", "nzTooltipIcon", "nzFor", "nzTooltipTitle"], exportAs: ["nzFormLabel"] }, { type: i1__namespace.NzFormControlComponent, selector: "nz-form-control", inputs: ["nzAutoTips", "nzDisableAutoTips", "nzHasFeedback", "nzValidateStatus", "nzSuccessTip", "nzWarningTip", "nzErrorTip", "nzValidatingTip", "nzExtra"], exportAs: ["nzFormControl"] }, { type: i2__namespace$2.NzSelectComponent, selector: "nz-select", inputs: ["nzId", "nzSize", "nzOptionHeightPx", "nzOptionOverflowSize", "nzDropdownClassName", "nzDropdownMatchSelectWidth", "nzDropdownStyle", "nzNotFoundContent", "nzPlaceHolder", "nzMaxTagCount", "nzDropdownRender", "nzCustomTemplate", "nzSuffixIcon", "nzClearIcon", "nzRemoveIcon", "nzMenuItemSelectedIcon", "nzTokenSeparators", "nzMaxTagPlaceholder", "nzMaxMultipleCount", "nzMode", "nzFilterOption", "compareWith", "nzAllowClear", "nzBorderless", "nzShowSearch", "nzLoading", "nzAutoFocus", "nzAutoClearSearchValue", "nzServerSearch", "nzDisabled", "nzOpen", "nzBackdrop", "nzOptions", "nzShowArrow"], outputs: ["nzOnSearch", "nzScrollToBottom", "nzOpenChange", "nzBlur", "nzFocus"], exportAs: ["nzSelect"] }, { type: i2__namespace$2.NzOptionComponent, selector: "nz-option", inputs: ["nzLabel", "nzValue", "nzDisabled", "nzHide", "nzCustomContent"], exportAs: ["nzOption"] }, { type: i29__namespace.NzSwitchComponent, selector: "nz-switch", inputs: ["nzLoading", "nzDisabled", "nzControl", "nzCheckedChildren", "nzUnCheckedChildren", "nzSize"], exportAs: ["nzSwitch"] }], directives: [{ type: i2__namespace.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i2__namespace.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i2__namespace.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i1__namespace.NzFormDirective, selector: "[nz-form]", inputs: ["nzLayout", "nzNoColon", "nzAutoTips", "nzDisableAutoTips", "nzTooltipIcon"], exportAs: ["nzForm"] }, { type: i3__namespace$2.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { type: i3__namespace$2.NzColDirective, selector: "[nz-col],nz-col,nz-form-control,nz-form-label", inputs: ["nzFlex", "nzSpan", "nzOrder", "nzOffset", "nzPush", "nzPull", "nzXs", "nzSm", "nzMd", "nzLg", "nzXl", "nzXXl"], exportAs: ["nzCol"] }, { type: i2__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4__namespace.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzSize", "disabled"], exportAs: ["nzInput"] }, { type: i2__namespace.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: FormConfigComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'app-form-config',
                        templateUrl: './form-config.component.html',
                        styleUrls: ['./form-config.component.less']
                    }]
            }], propDecorators: { data: [{
                    type: i0.Input
                }] } });

    var componentGroups = [
        {
            label: '布局控件',
            components: [
                {
                    label: '分组',
                    type: 'string',
                    widget: 'group',
                    icon: 'icon-fenzu'
                },
                {
                    label: '标题',
                    type: 'string',
                    widget: 'title',
                    icon: 'icon-biaoti'
                },
                {
                    label: '图片',
                    type: 'img',
                    widget: 'image',
                    icon: 'icon-tupian'
                }
            ]
        },
        {
            label: '基础控件',
            components: [
                {
                    label: '单行文本',
                    type: 'string',
                    widget: 'string',
                    icon: 'icon-danhangwenben'
                },
                {
                    label: '多行文本',
                    type: 'string',
                    widget: 'textarea',
                    icon: 'icon-duohangwenben'
                },
                {
                    label: '数字输入',
                    type: 'number',
                    widget: 'number',
                    icon: "icon-shuzishuru"
                },
                {
                    label: '单项框组',
                    type: 'string',
                    widget: 'radio',
                    icon: "icon-danxiangxuankuang-copy"
                },
                {
                    label: '多选框组',
                    type: 'string',
                    widget: 'checkbox',
                    icon: "icon-duoxiangxuankuang"
                },
                {
                    label: '下拉选择',
                    type: 'number',
                    widget: 'select',
                    icon: "icon-xialaxuanze"
                },
                {
                    label: '日期选择器',
                    type: 'string',
                    widget: 'date',
                    icon: "icon-riqixuanze"
                },
                {
                    label: '日期范围选择器',
                    type: 'string',
                    widget: 'date-range',
                    icon: "icon-riqifanweixuanze"
                },
                {
                    label: '文件上传',
                    type: 'string',
                    widget: 'uploadfile',
                    icon: "icon-wenjianshangchuan"
                },
                {
                    label: '颜色选择',
                    type: 'string',
                    widget: 'colorpicker',
                    icon: "icon-yansexuanze"
                },
                {
                    label: '评分',
                    type: 'string',
                    widget: 'rate',
                    icon: "icon-pingfen"
                },
                {
                    label: '滑块',
                    type: 'string',
                    widget: 'slider',
                    icon: "icon-huakuai"
                },
                {
                    label: '分割线',
                    type: 'string',
                    widget: 'splitline',
                    icon: "icon-fengexian"
                },
                {
                    label: '文本',
                    type: 'string',
                    widget: 'text',
                    icon: "icon-wenben"
                },
                {
                    label: '富文本',
                    type: 'string',
                    widget: 'ueditor',
                    icon: "icon-fuwenben"
                }
            ]
        },
        {
            label: '动态表单项',
            components: [
                {
                    label: '文本输入',
                    type: 'string',
                    widget: 'con-string',
                    icon: "icon-wenben"
                },
                {
                    label: '整数数字输入',
                    type: 'number-integer',
                    widget: 'con-number-integer',
                    icon: "icon-zhengshushuzishuru"
                },
                {
                    label: '浮点数字输入',
                    type: 'number-float',
                    widget: 'con-number-float',
                    icon: "icon-fudianshuzi"
                },
                {
                    label: '十进制数字输入',
                    type: 'number-decimal',
                    widget: 'con-number-decimal',
                    icon: "icon-shijinzhi"
                },
                {
                    label: '单项框组',
                    type: 'boolean',
                    widget: 'con-boolean',
                    icon: "icon-danxiangxuankuang-copy"
                },
                {
                    label: '固定值',
                    type: 'string',
                    widget: 'con-fixed',
                    icon: "icon-gudingzhi"
                },
                {
                    label: '时间选择器',
                    type: 'string',
                    widget: 'con-timestamp',
                    icon: "icon-riqixuanze"
                }
            ]
        }
    ];

    var RWidgetFormRenderBase = /** @class */ (function () {
        function RWidgetFormRenderBase() {
            /** disabled */
            this.disabled = false;
            /** 是否显示按钮 */
            this.showButton = true;
        }
        /** 是否显示边框 */
        // @Input() bordered: boolean = false;
        RWidgetFormRenderBase.prototype.getLabelWidth = function (item) {
            if (typeof item.labelWidth !== 'number') {
                item.labelWidth = 100;
            }
            return item.labelWidth + "px";
        };
        return RWidgetFormRenderBase;
    }());
    RWidgetFormRenderBase.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RWidgetFormRenderBase, deps: [], target: i0__namespace.ɵɵFactoryTarget.Directive });
    RWidgetFormRenderBase.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.13", type: RWidgetFormRenderBase, inputs: { parentComponent: "parentComponent", component: "component", disabled: "disabled", showButton: "showButton" }, ngImport: i0__namespace });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RWidgetFormRenderBase, decorators: [{
                type: i0.Directive
            }], ctorParameters: function () { return []; }, propDecorators: { parentComponent: [{
                    type: i0.Input
                }], component: [{
                    type: i0.Input
                }], disabled: [{
                    type: i0.Input
                }], showButton: [{
                    type: i0.Input
                }] } });

    var RWidgetFormItemComponent = /** @class */ (function () {
        function RWidgetFormItemComponent() {
        }
        RWidgetFormItemComponent.prototype.getComponent = function (widget) {
            if (!widget) {
                return '';
            }
            if (widget.startsWith('d-')) {
                return "r-" + widget;
            }
            return "r-d-" + widget;
        };
        return RWidgetFormItemComponent;
    }());
    RWidgetFormItemComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RWidgetFormItemComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
    RWidgetFormItemComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: RWidgetFormItemComponent, selector: "[r-widget-form-item],r-widget-form-item", inputs: { item: "item" }, ngImport: i0__namespace, template: "<ng-container *ngIf=\"item\" [ngSwitch]=\"getComponent(item.widget)\">\n  <ng-container *ngSwitchDefault>\n    <div d-component-r [is]=\"getComponent(item.widget)\" [data]=\"item\"> </div>\n  </ng-container>\n</ng-container>\n", components: [{ type: DynamicComponentRComponent, selector: "[d-component-r]", inputs: ["is", "data"] }], directives: [{ type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3__namespace.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i3__namespace.NgSwitchDefault, selector: "[ngSwitchDefault]" }], viewProviders: [
            {
                provide: i2.ControlContainer,
                useExisting: i2.NgForm
            }
        ] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RWidgetFormItemComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: '[r-widget-form-item],r-widget-form-item',
                        templateUrl: './r-widget-form-item.component.html',
                        styles: [],
                        viewProviders: [
                            {
                                provide: i2.ControlContainer,
                                useExisting: i2.NgForm
                            }
                        ]
                    }]
            }], ctorParameters: function () { return []; }, propDecorators: { item: [{
                    type: i0.Input
                }] } });

    var RWidgetFormRenderComponent = /** @class */ (function () {
        /** 页面表单 */
        function RWidgetFormRenderComponent() {
            /** disabled */
            this.disabled = false;
            /** 是否显示按钮 */
            this.showButton = true;
        }
        /** 是否显示边框 */
        // @Input() bordered: boolean = false;
        RWidgetFormRenderComponent.prototype.getLabelWidth = function (item) {
            if (typeof item.labelWidth !== 'number') {
                item.labelWidth = 100;
            }
            return item.labelWidth + "px";
        };
        return RWidgetFormRenderComponent;
    }());
    RWidgetFormRenderComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RWidgetFormRenderComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
    RWidgetFormRenderComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: RWidgetFormRenderComponent, selector: "[r-widget-form-render],r-widget-form-render", inputs: { parentComponent: "parentComponent", component: "component", disabled: "disabled", showButton: "showButton" }, ngImport: i0__namespace, template: "<!-- \u6839\u636E\u7C7B\u578B\u8FDB\u884C\u6E32\u67D3 -->\n<ng-container [ngSwitch]=\"component.widget\">\n  <!-- <ng-container *ngSwitchCase=\"'layout-form'\">\n    <ng-container *ngTemplateOutlet=\"formRender; context: { $implicit: component, parentComponent: parentComponent }\"> </ng-container>\n  </ng-container> -->\n  <ng-container *ngSwitchCase=\"'group'\">\n    <ng-container *ngTemplateOutlet=\"groupRender; context: { $implicit: component, parentComponent: parentComponent }\"></ng-container>\n  </ng-container>\n  <ng-container *ngSwitchCase=\"'title'\">\n    <ng-container *ngTemplateOutlet=\"titleRender; context: { $implicit: component, parentComponent: parentComponent }\"></ng-container>\n  </ng-container>\n  <ng-container *ngSwitchDefault>\n    <ng-container *ngTemplateOutlet=\"defaultRender; context: { $implicit: component, parentComponent: parentComponent }\"></ng-container>\n  </ng-container>\n</ng-container>\n\n<!-- \u8868\u5355 -->\n<!-- <ng-template #formRender let-subComponent let-parentComponent=\"parentComponent\">\n  <form #widgetFormRef=\"ngForm\" nz-row nz-form style=\"height: 100%\" [ngClass]=\"{ formBordered: parentComponent.bordered }\">\n    <div class=\"widget-form-list\" style=\"width: 100%; text-align: left\">\n      <ng-container *ngFor=\"let component of parentComponent.children; let i = index\">\n        <div\n          nz-col\n          [nzMd]=\"component.span || 12\"\n          [nzXs]=\"24\"\n          [nzOffset]=\"component.offset || 0\"\n          class=\"widget-form-list-item\"\n          [attr.data-id]=\"component.id\"\n          [attr.id]=\"'widget-' + component.id\"\n          style=\"display: inline-block; width: 100%; float: left\"\n        >\n          <div>\n            <div r-widget-form-render [parentComponent]=\"parentComponent\" [component]=\"component\"> </div>\n          </div>\n        </div>\n      </ng-container>\n    </div>\n  </form>\n</ng-template> -->\n\n<!-- group -->\n<ng-template #groupRender let-subComponent let-parentComponent=\"parentComponent\" let-index=\"index\">\n  <!-- \u5217\u8868 -->\n  <nz-form-item class=\"widget-form-item r-d-groups\" [ngClass]=\"{ required: subComponent.required, bordered: parentComponent.bordered }\">\n    <nz-form-label *ngIf=\"!parentComponent.bordered\" [hidden]=\"subComponent.hiddenLabel\" [nzRequired]=\"subComponent.required\" nzSpan=\"24\">\n      <div>{{ subComponent.label }}</div>\n    </nz-form-label>\n    <nz-form-control nzSpan=\"24\" *ngIf=\"subComponent.children.length\">\n      <!-- \u6E32\u67D3\u5B50\u9879 -->\n      <ng-container *ngFor=\"let childrenComponent of subComponent.children; let i = index\">\n        <div\n          nz-col\n          [nzMd]=\"childrenComponent.span || 12\"\n          [nzXs]=\"24\"\n          [nzOffset]=\"childrenComponent.offset || 0\"\n          class=\"widget-form-list-item\"\n          [attr.data-id]=\"childrenComponent.id\"\n          [attr.id]=\"'widget-' + childrenComponent.id\"\n          style=\"display: inline-block; width: 100%; float: left\"\n        >\n          <div r-widget-form-render [parentComponent]=\"subComponent\" [component]=\"childrenComponent\"> </div>\n        </div>\n      </ng-container>\n    </nz-form-control>\n    <div class=\"line-top\" [ngStyle]=\"{ display: parentComponent.widget === 'group' ? 'none' : 'block' }\"></div>\n    <div class=\"line-right\" [ngStyle]=\"{ display: parentComponent.widget === 'group' ? 'none' : 'block' }\"></div>\n    <div class=\"line-bottom\" [ngStyle]=\"{ display: parentComponent.widget === 'group' ? 'none' : 'block' }\"></div>\n    <div class=\"line-left\" [ngStyle]=\"{ display: parentComponent.widget === 'group' ? 'none' : 'block' }\"></div>\n  </nz-form-item>\n</ng-template>\n\n<!-- title -->\n<ng-template #titleRender let-subComponent let-parentComponent=\"parentComponent\" let-index=\"index\">\n  <nz-form-item\n    class=\"widget-form-item r-d-title\"\n    [ngClass]=\"{ required: subComponent.required, bordered: parentComponent.bordered, parentGroup: parentComponent.widget === 'group' }\"\n  >\n    <nz-form-control>\n      <!-- \u6E32\u67D3title\u63A7\u4EF6 -->\n      <div r-widget-form-item [item]=\"subComponent\"></div>\n    </nz-form-control>\n    <div class=\"line-top\" [ngStyle]=\"{ display: parentComponent.widget === 'group' ? 'none' : 'block' }\"></div>\n    <div class=\"line-right\" [ngStyle]=\"{ display: parentComponent.widget === 'group' ? 'none' : 'block' }\"></div>\n    <div class=\"line-bottom\" [ngStyle]=\"{ display: parentComponent.widget === 'group' ? 'none' : 'block' }\"></div>\n    <div class=\"line-left\" [ngStyle]=\"{ display: parentComponent.widget === 'group' ? 'none' : 'block' }\"></div>\n  </nz-form-item>\n</ng-template>\n\n<!-- \u9ED8\u8BA4 -->\n<ng-template #defaultRender let-subComponent let-parentComponent=\"parentComponent\" let-index=\"index\">\n  <nz-form-item\n    class=\"widget-form-item\"\n    [ngClass]=\"{\n      required: subComponent.required,\n      bordered: parentComponent.bordered,\n      parentGroup: parentComponent.widget === 'group'\n    }\"\n  >\n    <!-- \u663E\u793A\u8FB9\u6846\u65F6\uFF0C\u9690\u85CFlabel\uFF0C parentComponent.bordered -->\n    <!-- \u6807\u9898 -->\n    <nz-form-label\n      *ngIf=\"!parentComponent.bordered\"\n      [hidden]=\"subComponent.hiddenLabel\"\n      [style.width]=\"getLabelWidth(subComponent)\"\n      [nzRequired]=\"subComponent.required\"\n    >\n      <div>{{ subComponent.label }}</div>\n    </nz-form-label>\n    <nz-form-control>\n      <r-widget-form-item [item]=\"subComponent\"></r-widget-form-item>\n    </nz-form-control>\n    <div class=\"line-top\" [ngStyle]=\"{ display: parentComponent.widget === 'group' ? 'none' : 'block' }\"></div>\n    <div class=\"line-right\" [ngStyle]=\"{ display: parentComponent.widget === 'group' ? 'none' : 'block' }\"></div>\n    <div class=\"line-bottom\" [ngStyle]=\"{ display: parentComponent.widget === 'group' ? 'none' : 'block' }\"></div>\n    <div class=\"line-left\" [ngStyle]=\"{ display: parentComponent.widget === 'group' ? 'none' : 'block' }\"></div>\n  </nz-form-item>\n</ng-template>\n", components: [{ type: i1__namespace.NzFormItemComponent, selector: "nz-form-item", exportAs: ["nzFormItem"] }, { type: i1__namespace.NzFormLabelComponent, selector: "nz-form-label", inputs: ["nzRequired", "nzNoColon", "nzTooltipIcon", "nzFor", "nzTooltipTitle"], exportAs: ["nzFormLabel"] }, { type: i1__namespace.NzFormControlComponent, selector: "nz-form-control", inputs: ["nzAutoTips", "nzDisableAutoTips", "nzHasFeedback", "nzValidateStatus", "nzSuccessTip", "nzWarningTip", "nzErrorTip", "nzValidatingTip", "nzExtra"], exportAs: ["nzFormControl"] }, { type: RWidgetFormRenderComponent, selector: "[r-widget-form-render],r-widget-form-render", inputs: ["parentComponent", "component", "disabled", "showButton"] }, { type: RWidgetFormItemComponent, selector: "[r-widget-form-item],r-widget-form-item", inputs: ["item"] }], directives: [{ type: i3__namespace.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i3__namespace.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i3__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i3__namespace.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { type: i3__namespace$2.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { type: i3__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3__namespace$2.NzColDirective, selector: "[nz-col],nz-col,nz-form-control,nz-form-label", inputs: ["nzFlex", "nzSpan", "nzOrder", "nzOffset", "nzPush", "nzPull", "nzXs", "nzSm", "nzMd", "nzLg", "nzXl", "nzXXl"], exportAs: ["nzCol"] }, { type: i3__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i3__namespace.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }], viewProviders: [
            {
                provide: i2.ControlContainer,
                useExisting: i2.NgForm
            }
        ] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RWidgetFormRenderComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: '[r-widget-form-render],r-widget-form-render',
                        templateUrl: './r-widget-form-render.component.html',
                        styles: [],
                        viewProviders: [
                            {
                                provide: i2.ControlContainer,
                                useExisting: i2.NgForm
                            }
                        ]
                    }]
            }], ctorParameters: function () { return []; }, propDecorators: { parentComponent: [{
                    type: i0.Input
                }], component: [{
                    type: i0.Input
                }], disabled: [{
                    type: i0.Input
                }], showButton: [{
                    type: i0.Input
                }] } });

    var RWidgetButtonComponent = /** @class */ (function () {
        function RWidgetButtonComponent() {
            this.submitForm = new i0.EventEmitter();
            this.resetForm = new i0.EventEmitter();
        }
        RWidgetButtonComponent.prototype.ngOnInit = function () { };
        RWidgetButtonComponent.prototype._submitForm = function () {
            this.submitForm.emit();
        };
        RWidgetButtonComponent.prototype._resetForm = function () {
            this.resetForm.emit();
        };
        return RWidgetButtonComponent;
    }());
    RWidgetButtonComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RWidgetButtonComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
    RWidgetButtonComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: RWidgetButtonComponent, selector: "r-widget-button,[r-widget-button]", outputs: { submitForm: "submitForm", resetForm: "resetForm" }, ngImport: i0__namespace, template: "<nz-form-item class=\"sf-btns\" style=\"width: 100%; text-align: center; padding-top: 20px\">\n  <div nz-col class=\"ant-form-item-control\">\n    <div class=\"ant-form-item-control-input\">\n      <div class=\"ant-form-item-control-input-content\">\n        <button nz-button type=\"button\" [nzType]=\"'primary'\" (click)=\"_submitForm()\">\u4FDD\u5B58</button>\n        <button nz-button type=\"button\" (click)=\"_resetForm()\">\u91CD\u7F6E</button>\n      </div>\n    </div>\n  </div>\n</nz-form-item>\n", components: [{ type: i1__namespace.NzFormItemComponent, selector: "nz-form-item", exportAs: ["nzFormItem"] }, { type: i3__namespace$1.NzButtonComponent, selector: "button[nz-button], a[nz-button]", inputs: ["nzBlock", "nzGhost", "nzSearch", "nzLoading", "nzDanger", "disabled", "tabIndex", "nzType", "nzShape", "nzSize"], exportAs: ["nzButton"] }], directives: [{ type: i3__namespace$2.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { type: i3__namespace$2.NzColDirective, selector: "[nz-col],nz-col,nz-form-control,nz-form-label", inputs: ["nzFlex", "nzSpan", "nzOrder", "nzOffset", "nzPush", "nzPull", "nzXs", "nzSm", "nzMd", "nzLg", "nzXl", "nzXXl"], exportAs: ["nzCol"] }, { type: i8__namespace.NzWaveDirective, selector: "[nz-wave],button[nz-button]:not([nzType=\"link\"]):not([nzType=\"text\"])", inputs: ["nzWaveExtraNode"], exportAs: ["nzWave"] }, { type: i9__namespace.ɵNzTransitionPatchDirective, selector: "[nz-button], nz-button-group, [nz-icon], [nz-menu-item], [nz-submenu], nz-select-top-control, nz-select-placeholder, nz-input-group", inputs: ["hidden"] }] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RWidgetButtonComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'r-widget-button,[r-widget-button]',
                        templateUrl: './r-widget-button.component.html',
                        styles: []
                    }]
            }], ctorParameters: function () { return []; }, propDecorators: { submitForm: [{
                    type: i0.Output
                }], resetForm: [{
                    type: i0.Output
                }] } });

    var RWidgetFormComponent = /** @class */ (function (_super) {
        __extends(RWidgetFormComponent, _super);
        function RWidgetFormComponent(cdr, fb, _rWidgetFormService, zone) {
            var _this_1 = _super.call(this) || this;
            _this_1.cdr = cdr;
            _this_1.fb = fb;
            _this_1._rWidgetFormService = _rWidgetFormService;
            _this_1.zone = zone;
            _this_1.inputs = [];
            /** 表单提交 */
            _this_1.submitForm = new i0.EventEmitter();
            /** 表单重置 */
            _this_1.resetForm = new i0.EventEmitter();
            /** 是否显示默认按钮 */
            _this_1.showButton = true;
            _this_1.formId = 'formId' + Math.random().toString(36).substr(3, 16) + new Date().getTime();
            _this_1.inputsSubscribe = _this_1._rWidgetFormService.inputsSubject.subscribe(function (res) {
                var _this = _this_1;
                var input = res;
                /**
                 * 注册formControl 以及 默认值赋值
                 */
                if (input && input.ngModel && _this_1.validateForm) {
                    if (input.data.formId === _this_1.formId) {
                        _this_1.inputs.push(input.ngModel);
                        _this_1.validateForm.addControl(input.ngModel);
                    }
                }
                /**
                 * disabled状态添加
                 */
                setTimeout(function () {
                    console.log(_this_1.validateForm.form, _this_1.formId, 'inputsSubscribe');
                    if (_this.validateForm && _this.validateForm.form) {
                        _this.validateForm.form.patchValue(_this.formData);
                        if (_this.disabled) {
                            input.config.disabled = true;
                        }
                        else {
                            input.config.disabled = false;
                        }
                    }
                }, 100);
            });
            return _this_1;
        }
        RWidgetFormComponent.prototype.ngOnInit = function () { };
        RWidgetFormComponent.prototype.ngAfterViewInit = function () {
            console.log(this.formData, 'formData');
            this.importJsonFun();
        };
        RWidgetFormComponent.prototype.ngOnChanges = function (changes) {
            if (changes.previewJson) {
                this.importJsonFun();
            }
        };
        /** 导入原始json面板 */
        RWidgetFormComponent.prototype.importJsonFun = function () {
            var _this_1 = this;
            this.inputs.map(function (dir) {
                _this_1.validateForm.removeControl(dir);
            });
            this.rootComponent = null;
            try {
                var component = JSON.parse(this.previewJson);
                if (component) {
                    this.setFormId([component]);
                    this.rootComponent = JSON.parse(JSON.stringify(component, null, '\t'));
                }
            }
            catch (_a) { }
        };
        RWidgetFormComponent.prototype.setFormId = function (list) {
            var _this_1 = this;
            if (list.length) {
                list.map(function (item) {
                    item.formId = _this_1.formId;
                    if (item.children.length) {
                        _this_1.setFormId(item.children);
                    }
                });
            }
        };
        RWidgetFormComponent.prototype._submitForm = function () {
            for (var key in this.validateForm.form.controls) {
                this.validateForm.form.controls[key].markAsDirty();
                this.validateForm.form.controls[key].updateValueAndValidity();
            }
            if (this.validateForm.valid) {
                this.submitForm.emit(this.validateForm.form.value);
            }
        };
        RWidgetFormComponent.prototype._resetForm = function () {
            this.validateForm.resetForm();
            this.resetForm.emit();
        };
        /**
         * 组件销毁时解除订阅,重置form
         */
        RWidgetFormComponent.prototype.ngOnDestroy = function () {
            var _this_1 = this;
            this.rootComponent = null;
            this.inputs.map(function (dir) {
                _this_1.validateForm.removeControl(dir);
            });
            this.inputs = [];
            this.inputsSubscribe.unsubscribe();
        };
        return RWidgetFormComponent;
    }(RWidgetFormRenderBase));
    RWidgetFormComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RWidgetFormComponent, deps: [{ token: i0__namespace.ChangeDetectorRef }, { token: i2__namespace.FormBuilder }, { token: RWidgetFormService }, { token: i0__namespace.NgZone }], target: i0__namespace.ɵɵFactoryTarget.Component });
    RWidgetFormComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: RWidgetFormComponent, selector: "r-widget-form", inputs: { previewJson: "previewJson", formData: "formData", showButton: "showButton", disabled: "disabled" }, outputs: { submitForm: "submitForm", resetForm: "resetForm" }, host: { properties: { "class.r-widget-form": "true" } }, viewQueries: [{ propertyName: "validateForm", first: true, predicate: ["validateForm"], descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0__namespace, template: "<!-- \u6E32\u67D3 -->\n<form #validateForm=\"ngForm\" nz-row nz-form [ngClass]=\"{ formBordered: !!rootComponent && !!rootComponent.bordered }\">\n  <div class=\"widget-form-list\" style=\"width: 100%\" *ngIf=\"rootComponent && rootComponent.children\">\n    <ng-container *ngFor=\"let subComponent of rootComponent.children; let i = index\">\n      <div\n        nz-col\n        [nzMd]=\"subComponent.span || 12\"\n        [nzXs]=\"24\"\n        [nzOffset]=\"subComponent.offset || 0\"\n        class=\"widget-form-list-item\"\n        [attr.data-id]=\"subComponent.id\"\n        [attr.id]=\"'widget-' + subComponent.id\"\n        style=\"display: inline-block; width: 100%; float: left\"\n      >\n        <div>\n          <r-widget-form-render [parentComponent]=\"rootComponent\" [component]=\"subComponent\"> </r-widget-form-render>\n        </div>\n      </div>\n    </ng-container>\n  </div>\n  <div *ngIf=\"showButton\">\n    <r-widget-button (resetForm)=\"_resetForm()\" (submitForm)=\"_submitForm()\"></r-widget-button>\n  </div>\n</form>\n", components: [{ type: RWidgetFormRenderComponent, selector: "[r-widget-form-render],r-widget-form-render", inputs: ["parentComponent", "component", "disabled", "showButton"] }, { type: RWidgetButtonComponent, selector: "r-widget-button,[r-widget-button]", outputs: ["submitForm", "resetForm"] }], directives: [{ type: i2__namespace.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i2__namespace.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i2__namespace.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i3__namespace$2.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { type: i1__namespace.NzFormDirective, selector: "[nz-form]", inputs: ["nzLayout", "nzNoColon", "nzAutoTips", "nzDisableAutoTips", "nzTooltipIcon"], exportAs: ["nzForm"] }, { type: i3__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i3__namespace$2.NzColDirective, selector: "[nz-col],nz-col,nz-form-control,nz-form-label", inputs: ["nzFlex", "nzSpan", "nzOrder", "nzOffset", "nzPush", "nzPull", "nzXs", "nzSm", "nzMd", "nzLg", "nzXl", "nzXXl"], exportAs: ["nzCol"] }] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RWidgetFormComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'r-widget-form',
                        templateUrl: './r-widget-form.component.html',
                        host: {
                            '[class.r-widget-form]': 'true'
                        }
                    }]
            }], ctorParameters: function () { return [{ type: i0__namespace.ChangeDetectorRef }, { type: i2__namespace.FormBuilder }, { type: RWidgetFormService }, { type: i0__namespace.NgZone }]; }, propDecorators: { validateForm: [{
                    type: i0.ViewChild,
                    args: ['validateForm', { static: false }]
                }], previewJson: [{
                    type: i0.Input
                }], submitForm: [{
                    type: i0.Output
                }], resetForm: [{
                    type: i0.Output
                }], formData: [{
                    type: i0.Input
                }], showButton: [{
                    type: i0.Input
                }], disabled: [{
                    type: i0.Input
                }] } });

    var FormDesignerComponent = /** @class */ (function () {
        function FormDesignerComponent(document) {
            this.document = document;
            this.logo = 'assets/logo.png';
            /** 所有控件 */
            this.componentGroups = [];
            /** 表单控件 */
            this.rootComponent = {
                id: 'widget-form',
                type: 'form',
                widget: 'layout-form',
                labelPosition: 'left',
                labelSuffix: ':',
                gutter: 0,
                children: [],
                // 表单独有配置
                formLayout: 'horizontal',
                formSize: 'default',
                formBtn: true,
                formBtnSubmit: true,
                formBtnSubmitText: '提交',
                formBtnReset: true,
                formBtnResetText: '重置',
                bordered: false
            };
            /** 历史记录 */
            this.history = {
                index: 0,
                maxStep: 20,
                steps: []
            };
            /** 工具条 */
            this.toolbar = ['import', 'generate', 'preview', 'previewBorderd', 'clear'];
        }
        FormDesignerComponent.prototype.ngOnInit = function () {
            this.componentGroups = __spreadArray([], __read(componentGroups));
        };
        /** 运行 */
        FormDesignerComponent.prototype.run = function () { };
        /** 显示json */
        FormDesignerComponent.prototype.showJson = function () { };
        /** 导出vue文件 */
        FormDesignerComponent.prototype.download = function () { };
        /** 复制代码 */
        FormDesignerComponent.prototype.copy = function () { };
        /** 清空 */
        FormDesignerComponent.prototype.empty = function () { };
        FormDesignerComponent.prototype.handleSelectWidget = function (widget, i) {
            this.selectComponent = widget;
        };
        /** 撤销 */
        FormDesignerComponent.prototype.handleUndo = function () { };
        /** 重做 */
        FormDesignerComponent.prototype.handleRedo = function () { };
        /** 导入JSON */
        FormDesignerComponent.prototype.handleImportJson = function () {
            this.importJsonVisible = true;
        };
        /** 生成JSON */
        FormDesignerComponent.prototype.handleGenerateJson = function () {
            this.previewJson = null;
            this.selectComponent = null;
            this.previewJsonVisible = true;
            this.previewJson = JSON.stringify(this.rootComponent, null, '\t');
        };
        /** 预览 */
        FormDesignerComponent.prototype.handlePreview = function () {
            this.previewJson = null;
            this.selectComponent = null;
            this.previewFormVisible = true;
            this.previewJson = JSON.stringify(this.rootComponent, null, '\t');
        };
        /** 清空 */
        FormDesignerComponent.prototype.handleClear = function () {
            this.selectComponent = null;
            this.rootComponent.children = [];
        };
        /** 关闭导入json面板 */
        FormDesignerComponent.prototype.closeImportJson = function () {
            try {
                var component = JSON.parse(this.importJson);
                if (component) {
                    this.rootComponent = component;
                }
            }
            catch (_a) { }
            this.importJsonVisible = false;
        };
        /** 获取当前json */
        FormDesignerComponent.prototype.getJson = function () {
            return (this.previewJson = JSON.stringify(this.rootComponent, null, '\t'));
        };
        /** 使用接口返回值渲染form组件 */
        FormDesignerComponent.prototype.importJsonByApi = function (val) {
            this.importJson = val;
            this.closeImportJson();
        };
        /** 关闭预览表单json面板 */
        FormDesignerComponent.prototype.closePreviewJson = function () {
            this.previewJsonVisible = false;
            this.previewJson = null;
        };
        /** 关闭预览表单面板 */
        FormDesignerComponent.prototype.closePreviewForm = function () {
            this.previewForm = null;
            this.previewFormVisible = false;
        };
        FormDesignerComponent.prototype.sfSubmit = function (value) {
            console.log(value, 'sfSubmit');
        };
        FormDesignerComponent.prototype.sfReset = function (value) {
            console.log(value, 'sfReset');
        };
        return FormDesignerComponent;
    }());
    FormDesignerComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: FormDesignerComponent, deps: [{ token: i3.DOCUMENT }], target: i0__namespace.ɵɵFactoryTarget.Component });
    FormDesignerComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: FormDesignerComponent, selector: "app-form-designer", ngImport: i0__namespace, template: "<div class=\"form-designer\">\n  <nz-layout>\n    <!-- \u5DE6\u4FA7\u63A7\u4EF6 -->\n    <nz-sider [nzWidth]=\"260\">\n      <div class=\"fields-list\">\n        <div\n          *ngFor=\"let componentGroup of componentGroups; let listIndex = index\"\n          id=\"components_{{ listIndex }}\"\n          dndDropZone\n          [dndAllowExternal]=\"true\"\n        >\n          <div class=\"field-title\">{{ componentGroup.label }}</div>\n\n          <div\n            *ngFor=\"let component of componentGroup.components; let index\"\n            class=\"ghost field-label\"\n            [dndDraggable]=\"component\"\n            dndEffectAllowed=\"copy\"\n          >\n            <a>\n              <i class=\"modules\" [ngClass]=\"component.icon\"></i>\n              <span>{{ component.label }}</span>\n            </a>\n          </div>\n        </div>\n      </div>\n    </nz-sider>\n\n    <!-- \u4E2D\u95F4\u5185\u5BB9 -->\n    <nz-layout class=\"widget-container\">\n      <!-- \u9876\u90E8\u5DE5\u5177\u6761 -->\n      <nz-header class=\"widget-container-header\">\n        <div *ngIf=\"undoRedo\">\n          <a nz-button nzType=\"link\" [disabled]=\"history.index === 0\" (click)=\"handleUndo()\">\u64A4\u9500</a>\n          <a nz-button nzType=\"link\" [disabled]=\"history.index === history.steps.length - 1\" (click)=\"handleUndo()\">\u91CD\u505A</a>\n        </div>\n        <div style=\"display: flex; align-items: center\">\n          <a *ngIf=\"toolbar.includes('import')\" nz-button nzType=\"link\" (click)=\"handleImportJson()\">\u5BFC\u5165JSON</a>\n          <a *ngIf=\"toolbar.includes('generate')\" nz-button nzType=\"link\" (click)=\"handleGenerateJson()\">\u751F\u6210JOSN</a>\n          <a *ngIf=\"toolbar.includes('preview')\" nz-button nzType=\"link\" (click)=\"handlePreview()\">\u9884\u89C8</a>\n          <a *ngIf=\"toolbar.includes('clear')\" nz-button nzType=\"link\" (click)=\"handleClear()\">\u6E05\u7A7A</a>\n        </div>\n      </nz-header>\n      <!-- \u4E2D\u95F4\u753B\u677F -->\n      <nz-content>\n        <!-- \u6E32\u67D3 -->\n        <div d-widget-form-render [component]=\"rootComponent\" [(selectComponent)]=\"selectComponent\" class=\"widget-form-container\"> </div>\n      </nz-content>\n    </nz-layout>\n\n    <!-- \u53F3\u4FA7\u914D\u7F6E -->\n    <nz-sider class=\"right-sider\" [nzWidth]=\"320\">\n      <nz-tabset>\n        <nz-tab nzTitle=\"\u7EC4\u4EF6\u5C5E\u6027\" nzActive>\n          <app-widget-config class=\"p-20\" [data]=\"selectComponent\" [defaultValues]=\"defaultValues\"></app-widget-config>\n        </nz-tab>\n        <nz-tab nzTitle=\"\u8868\u5355\u5C5E\u6027\"><app-form-config class=\"p-20\" [data]=\"rootComponent\"></app-form-config></nz-tab>\n      </nz-tabset>\n    </nz-sider>\n  </nz-layout>\n\n  <!-- \u5BFC\u5165json -->\n  <nz-drawer\n    [nzClosable]=\"true\"\n    [nzVisible]=\"importJsonVisible\"\n    [nzWidth]=\"'100%'\"\n    [nzBodyStyle]=\"{ overflow: 'auto' }\"\n    nzPlacement=\"right\"\n    nzTitle=\"\u5BFC\u5165JSON\"\n    (nzOnClose)=\"closeImportJson()\"\n  >\n    <ng-container *nzDrawerContent>\n      <textarea *ngIf=\"importJsonVisible\" nz-input [(ngModel)]=\"importJson\" [nzAutosize]=\"{ minRows: 10, maxRows: 50 }\"></textarea>\n    </ng-container>\n  </nz-drawer>\n\n  <!-- \u9884\u89C8json -->\n  <nz-drawer\n    [nzClosable]=\"true\"\n    [nzVisible]=\"previewJsonVisible\"\n    [nzWidth]=\"'100%'\"\n    [nzBodyStyle]=\"{ overflow: 'auto' }\"\n    nzPlacement=\"right\"\n    nzTitle=\"\u9884\u89C8JSON\"\n    (nzOnClose)=\"closePreviewJson()\"\n  >\n    <ng-container *nzDrawerContent>\n      <textarea *ngIf=\"previewJson\" nz-input [ngModel]=\"previewJson\" readonly [nzAutosize]=\"{ minRows: 10, maxRows: 50 }\"></textarea>\n    </ng-container>\n  </nz-drawer>\n\n  <!-- \u9884\u89C8\u8868\u5355 -->\n  <nz-drawer\n    [nzClosable]=\"true\"\n    [nzVisible]=\"previewFormVisible\"\n    [nzWidth]=\"'100%'\"\n    [nzBodyStyle]=\"{ overflow: 'auto' }\"\n    nzPlacement=\"right\"\n    nzTitle=\"\u9884\u89C8\u8868\u5355\"\n    (nzOnClose)=\"closePreviewForm()\"\n  >\n    <ng-container *nzDrawerContent>\n      <r-widget-form [previewJson]=\"previewJson\" (submitForm)=\"sfSubmit($event)\" (resetForm)=\"sfReset($event)\"></r-widget-form>\n    </ng-container>\n  </nz-drawer>\n</div>\n", styles: ["app-form-designer ::-webkit-scrollbar{width:0!important;height:0!important}app-form-designer ::-webkit-scrollbar-thumb{background-color:#fff!important}app-form-designer ::-webkit-scrollbar-thumb,app-form-designer ::-webkit-scrollbar-track{border-radius:10px!important;-webkit-box-shadow:inset 0 0 6px transparent!important}app-form-designer ::-webkit-scrollbar-track{background-color:transparent!important}app-form-designer nz-header,app-form-designer nz-content,app-form-designer nz-footer,app-form-designer nz-sider{background-color:#fff!important}app-form-designer nz-content{min-height:120px}app-form-designer nz-layout:last-child{margin:0}app-form-designer .right-sider .ant-tabs>.ant-tabs-nav .ant-tabs-nav-list{width:100%}app-form-designer .right-sider .ant-tabs>.ant-tabs-nav .ant-tabs-nav-list .ant-tabs-tab{width:50%}app-form-designer .right-sider .ant-tabs-tab .ant-tabs-tab-btn{margin:0 auto}app-form-designer .right-sider .p-20{display:block;padding:20px}app-form-designer .ant-tabs-nav{margin-bottom:0!important}app-form-designer .components-list{box-sizing:border-box;height:100%;padding:8px}app-form-designer .components-list .components-item{display:inline-block;width:48%;margin:1%;transition:transform 0ms!important}app-form-designer .form-designer .fields-list{text-align:left}app-form-designer .form-designer .fields-list .field-title{display:flex;width:100%;padding:8px 12px;font-size:13px}app-form-designer .form-designer .fields-list .field-label.w100{width:98%}app-form-designer .form-designer .fields-list .field-label{position:relative;left:0;display:block;float:left;width:48%;margin:1%;overflow:hidden;color:#333;font-size:12px;line-height:26px;white-space:nowrap;text-overflow:ellipsis;border:1px solid #f4f6fc}app-form-designer .form-designer .fields-list .field-label .modules{padding-right:5px}app-form-designer .form-designer .fields-list .field-label a{display:block;padding:0 10px;color:#333;background:#f4f6fc;border:1px solid #f4f6fc;cursor:move}app-form-designer .form-designer .fields-list .field-label:hover{color:#409eff;border:1px dashed #409eff}app-form-designer .form-designer .widget-container{border-right:1px solid #e0e0e0;border-left:1px solid #e0e0e0}app-form-designer .form-designer .widget-container .widget-container-header{display:flex;align-items:center;justify-content:space-between;height:46px!important;border-bottom:solid 2px #e4e7ed;-webkit-box-pack:justify;-ms-flex-pack:justify;-webkit-box-align:center;-ms-flex-align:center}app-form-designer .form-designer .d-groups{position:relative;z-index:101;min-height:150px;padding-bottom:20px;overflow:auto;background:#fff;border:1px dashed #ccc}app-form-designer .widget-form-container{height:100%}app-form-designer .widget-form-container>.ant-form{height:100%}app-form-designer .widget-form-container .edit-label{width:100%}app-form-designer .widget-form-container .widget-form-list{height:100%;min-height:calc(100% - 45px);padding-bottom:50px;overflow:hidden;overflow-y:scroll}app-form-designer .widget-form-container .widget-form-list .widget-form-item{position:relative;min-height:55px;margin:0;padding:5px 10px 18px}app-form-designer .widget-form-container .widget-form-list .widget-form-item .widget-mask{position:absolute;top:0;z-index:100;width:100%;height:100%}app-form-designer .widget-form-container .widget-form-list .widget-form-item .widget-action-clone{position:absolute;right:80px;bottom:-8px;z-index:102}app-form-designer .widget-form-container .widget-form-list .widget-form-item .widget-action-delete{position:absolute;right:40px;bottom:-8px;z-index:102}app-form-designer .widget-form-container .widget-form-list .widget-form-item.active{background:#ecf5ff;border-left:3px solid #409eff}app-form-designer .widget-form-container .widget-form-list .widget-form-table{position:relative;float:left;width:100%;padding:2px}app-form-designer .widget-form-container .widget-form-list .widget-form-table:hover{background:#ecf8ff;cursor:move}app-form-designer .widget-form-container .widget-form-list .widget-form-table.active{background:#ecf5ff;border-left:3px solid #409eff}app-form-designer .widget-form-container .widget-form-table__content{width:100%;min-height:103px;padding:10px 5px;overflow-y:hidden;outline:1px dashed #ccc;outline-offset:-1px}app-form-designer .widget-form-container .widget-form-table__content .widget-action-clone{position:absolute;right:75px;bottom:-8px;z-index:102}app-form-designer .widget-form-container .widget-form-table__content .widget-action-delete{position:absolute;right:5px;bottom:-8px;z-index:102}app-form-designer .widget-form-container .widget-form-table__content .widget-action-clear{position:absolute;right:40px;bottom:-8px;z-index:102}app-form-designer .widget-form-container .widget-form-table__content .widget-form-table__item{position:relative;height:100%;padding:1px}app-form-designer .widget-form-container .widget-form-table__content .widget-form-table__item .ant-card{margin-bottom:0}app-form-designer .widget-form-container .widget-form-table__content .widget-form-table__item .ant-card .ant-card-head{padding:0;color:#909399;font-weight:500}app-form-designer .widget-form-container .widget-form-table__content .widget-form-table__item .ant-card .ant-card-head .ant-card-head-title{padding:12px 0}app-form-designer .widget-form-container .widget-form-table__content .widget-form-table__item .ant-card .ant-card-body{padding:12px 10px}app-form-designer .widget-form-container .widget-form-table__content .widget-form-table__item .widget-mask{position:absolute;top:0;z-index:100;width:100%;height:100%}app-form-designer .widget-form-container .widget-form-table__content .widget-form-table__item .widget-action-clone{position:absolute;right:40px;bottom:-8px;z-index:102}app-form-designer .widget-form-container .widget-form-table__content .widget-form-table__item .widget-action-delete{position:absolute;right:5px;bottom:-8px;z-index:102}app-form-designer .widget-form-container .widget-form-table__content .widget-form-table__item.active{outline:1px solid #409eff;outline-offset:-1px}.widget-form-item-placeholder{display:inline-block;width:100%;min-height:2px;background-color:#8bbb11}r-widget-form .formBordered .widget-form-list{border:1px solid rgba(0,0,0,.5)}r-widget-form .formBordered .widget-form-list .widget-form-item{margin-bottom:0}r-widget-form .widget-form-list{overflow:hidden}r-widget-form .widget-form-list .widget-form-item{position:relative;margin-bottom:10px}r-widget-form .widget-form-list .widget-form-item .ant-form-item-control:first-child:not([class^=\"ant-col-\"]):not([class*=\" ant-col-\"]){width:100%;padding:10px}r-widget-form .widget-form-list .widget-form-item.bordered .line-top{position:absolute;top:0;width:10000px;height:0;border-top:1px solid rgba(0,0,0,.5);transform:translateY(-50%)}r-widget-form .widget-form-list .widget-form-item.bordered .line-right{position:absolute;right:0;width:1px;height:10000px;border-left:1px solid rgba(0,0,0,.5);transform:translate(-50%)}r-widget-form .widget-form-list .widget-form-item.bordered .line-bottom{position:absolute;bottom:0;width:10000px;height:0;border-top:1px solid rgba(0,0,0,.5);transform:translateY(-50%)}r-widget-form .widget-form-list .widget-form-item.bordered .line-left{position:absolute;left:0;width:0;height:10000px;border-left:1px solid rgba(0,0,0,.5);transform:translate(-50%)}r-widget-form .widget-form-list .widget-form-item.bordered.parentGroup:before{border-color:transparent}r-widget-form .widget-form-list .widget-form-item.bordered.parentGroup:after{border-color:transparent}r-widget-form .widget-form-list nz-form-control{position:relative}r-widget-form .widget-form-list .r-d-groups{position:relative;background:#fff}r-widget-form .widget-form-list .r-d-title{position:relative;background:#fff}r-widget-form .widget-form-list .r-d-title.bordered{background:none}\n"], components: [{ type: i1__namespace$1.NzLayoutComponent, selector: "nz-layout", exportAs: ["nzLayout"] }, { type: i1__namespace$1.NzSiderComponent, selector: "nz-sider", inputs: ["nzWidth", "nzTheme", "nzCollapsedWidth", "nzBreakpoint", "nzZeroTrigger", "nzTrigger", "nzReverseArrow", "nzCollapsible", "nzCollapsed"], outputs: ["nzCollapsedChange"], exportAs: ["nzSider"] }, { type: i1__namespace$1.NzHeaderComponent, selector: "nz-header", exportAs: ["nzHeader"] }, { type: i3__namespace$1.NzButtonComponent, selector: "button[nz-button], a[nz-button]", inputs: ["nzBlock", "nzGhost", "nzSearch", "nzLoading", "nzDanger", "disabled", "tabIndex", "nzType", "nzShape", "nzSize"], exportAs: ["nzButton"] }, { type: i1__namespace$1.NzContentComponent, selector: "nz-content", exportAs: ["nzContent"] }, { type: DWidgetFormRenderComponent, selector: "[d-widget-form-render]" }, { type: i23__namespace.NzTabSetComponent, selector: "nz-tabset", inputs: ["nzTabPosition", "nzCanDeactivate", "nzAddIcon", "nzTabBarStyle", "nzType", "nzSize", "nzAnimated", "nzTabBarGutter", "nzHideAdd", "nzCentered", "nzHideAll", "nzLinkRouter", "nzLinkExact", "nzSelectedIndex", "nzTabBarExtraContent"], outputs: ["nzSelectChange", "nzSelectedIndexChange", "nzTabListScroll", "nzClose", "nzAdd"], exportAs: ["nzTabset"] }, { type: i23__namespace.NzTabComponent, selector: "nz-tab", inputs: ["nzTitle", "nzClosable", "nzCloseIcon", "nzDisabled", "nzForceRender"], outputs: ["nzSelect", "nzDeselect", "nzClick", "nzContextmenu"], exportAs: ["nzTab"] }, { type: WidgetConfigComponent, selector: "app-widget-config", inputs: ["data", "defaultValues"] }, { type: FormConfigComponent, selector: "app-form-config", inputs: ["data"] }, { type: i21__namespace.NzDrawerComponent, selector: "nz-drawer", inputs: ["nzCloseIcon", "nzClosable", "nzMaskClosable", "nzMask", "nzCloseOnNavigation", "nzNoAnimation", "nzKeyboard", "nzPlacement", "nzMaskStyle", "nzBodyStyle", "nzWidth", "nzHeight", "nzZIndex", "nzOffsetX", "nzOffsetY", "nzVisible", "nzContent", "nzTitle", "nzFooter", "nzWrapClassName"], outputs: ["nzOnViewInit", "nzOnClose", "nzVisibleChange"], exportAs: ["nzDrawer"] }, { type: RWidgetFormComponent, selector: "r-widget-form", inputs: ["previewJson", "formData", "showButton", "disabled"], outputs: ["submitForm", "resetForm"] }], directives: [{ type: i3__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: DndDropzoneDirective, selector: "[dndDropZone]", inputs: ["dndDropzone", "dndEffectAllowed", "dndAllowExternal", "dndHorizontal", "dndDragoverClass", "dndDropzoneDisabledClass", "dndDisableIf", "dndDisableDropIf"], outputs: ["dndDragover", "dndDrop"] }, { type: DndDraggableDirective, selector: "[dndDraggable]", inputs: ["dndDraggable", "dndEffectAllowed", "dndType", "dndDraggingClass", "dndDraggingSourceClass", "dndDraggableDisabledClass", "dndDragImageOffsetFunction", "dndDisableIf", "dndDisableDragIf"], outputs: ["dndStart", "dndDrag", "dndEnd", "dndMoved", "dndCopied", "dndLinked", "dndCanceled"] }, { type: i3__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i9__namespace.ɵNzTransitionPatchDirective, selector: "[nz-button], nz-button-group, [nz-icon], [nz-menu-item], [nz-submenu], nz-select-top-control, nz-select-placeholder, nz-input-group", inputs: ["hidden"] }, { type: i21__namespace.NzDrawerContentDirective, selector: "[nzDrawerContent]", exportAs: ["nzDrawerContent"] }, { type: i4__namespace.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzSize", "disabled"], exportAs: ["nzInput"] }, { type: i2__namespace.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i4__namespace.NzAutosizeDirective, selector: "textarea[nzAutosize]", inputs: ["nzAutosize"], exportAs: ["nzAutosize"] }, { type: i2__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: FormDesignerComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'app-form-designer',
                        templateUrl: './form-designer.component.html',
                        styleUrls: ['form-designer.component.less']
                    }]
            }], ctorParameters: function () {
            return [{ type: Document, decorators: [{
                            type: i0.Inject,
                            args: [i3.DOCUMENT]
                        }] }];
        } });

    var DndHandleDirective = /** @class */ (function () {
        function DndHandleDirective(parent) {
            this.draggable = true;
            parent.registerDragHandle(this);
        }
        DndHandleDirective.prototype.onDragEvent = function (event) {
            event._dndUsingHandle = true;
        };
        return DndHandleDirective;
    }());
    DndHandleDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DndHandleDirective, deps: [{ token: DndDraggableDirective }], target: i0__namespace.ɵɵFactoryTarget.Directive });
    DndHandleDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.13", type: DndHandleDirective, selector: "[dndHandle]", host: { listeners: { "dragstart": "onDragEvent($event)", "dragend": "onDragEvent($event)" }, properties: { "attr.draggable": "this.draggable" } }, ngImport: i0__namespace });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DndHandleDirective, decorators: [{
                type: i0.Directive,
                args: [{
                        // eslint-disable-next-line @angular-eslint/directive-selector
                        selector: "[dndHandle]"
                    }]
            }], ctorParameters: function () { return [{ type: DndDraggableDirective }]; }, propDecorators: { draggable: [{
                    type: i0.HostBinding,
                    args: ["attr.draggable"]
                }], onDragEvent: [{
                    type: i0.HostListener,
                    args: ["dragstart", ["$event"]]
                }, {
                    type: i0.HostListener,
                    args: ["dragend", ["$event"]]
                }] } });

    var DndModule = /** @class */ (function () {
        function DndModule() {
        }
        return DndModule;
    }());
    DndModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DndModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
    DndModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DndModule, declarations: [DndDraggableDirective,
            DndDropzoneDirective,
            DndHandleDirective,
            DndPlaceholderRefDirective,
            DndDragImageRefDirective], imports: [i3.CommonModule], exports: [DndDraggableDirective,
            DndDropzoneDirective,
            DndHandleDirective,
            DndPlaceholderRefDirective,
            DndDragImageRefDirective] });
    DndModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DndModule, imports: [[
                i3.CommonModule
            ]] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DndModule, decorators: [{
                type: i0.NgModule,
                args: [{
                        imports: [
                            i3.CommonModule
                        ],
                        declarations: [
                            DndDraggableDirective,
                            DndDropzoneDirective,
                            DndHandleDirective,
                            DndPlaceholderRefDirective,
                            DndDragImageRefDirective
                        ],
                        exports: [
                            DndDraggableDirective,
                            DndDropzoneDirective,
                            DndHandleDirective,
                            DndPlaceholderRefDirective,
                            DndDragImageRefDirective
                        ]
                    }]
            }] });

    var SHARED_DELON_MODULES = [i2$3.PageHeaderModule, i3$3.STModule, i4$1.SEModule, i5.SVModule, i6.ResultModule];

    var SHARED_ZORRO_MODULES = [
        i1.NzFormModule,
        i3$2.NzGridModule,
        i3$1.NzButtonModule,
        i4.NzInputModule,
        i2$1.NzInputNumberModule,
        i12.NzAlertModule,
        i13.NzProgressModule,
        i2$2.NzSelectModule,
        i15.NzAvatarModule,
        i16.NzCardModule,
        i17.NzDropDownModule,
        i18.NzPopconfirmModule,
        i2$4.NzTableModule,
        i20.NzPopoverModule,
        i21.NzDrawerModule,
        i22.NzModalModule,
        i23.NzTabsModule,
        i24.NzToolTipModule,
        i25.NzIconModule,
        i4$2.NzCheckboxModule,
        i27.NzSpinModule,
        i28.NzCollapseModule,
        i29.NzSwitchModule,
        i3$4.NzRadioModule,
        i1$1.NzLayoutModule,
        i32.NzEmptyModule,
        i1$2.NzDatePickerModule,
        i34.NzTagModule,
        i35.NzTimePickerModule,
        i36.NzImageModule,
        i37.NzSliderModule,
        i38.NzRateModule,
        i39.NzUploadModule
    ];

    var EffectiveDisplayComponent = /** @class */ (function () {
        function EffectiveDisplayComponent() {
            // 数据类型
            this.type = exports.DataPointDataType;
        }
        EffectiveDisplayComponent.prototype.ngOnInit = function () { };
        return EffectiveDisplayComponent;
    }());
    EffectiveDisplayComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: EffectiveDisplayComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
    EffectiveDisplayComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: EffectiveDisplayComponent, selector: "app-effective-display", inputs: { config: "config" }, ngImport: i0__namespace, template: "<div class=\"effective\" *ngIf=\"config.dataType !== type.Timestamp\">{{ '\u6709\u6548\u503C' }} : {{ config.effective }}</div>\n<div class=\"effective\" *ngIf=\"config.dataType === type.Timestamp\"\n  >{{ '\u6709\u6548\u503C' }} : {{ config.effective | date: 'yyyy-MM-dd HH:mm:ss' }}</div\n>\n", directives: [{ type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "date": i3__namespace.DatePipe } });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: EffectiveDisplayComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'app-effective-display',
                        templateUrl: './effective-display.component.html',
                        styles: []
                    }]
            }], ctorParameters: function () { return []; }, propDecorators: { config: [{
                    type: i0.Input
                }] } });

    var LimitDisplayComponent = /** @class */ (function () {
        function LimitDisplayComponent() {
        }
        LimitDisplayComponent.prototype.ngOnInit = function () { };
        return LimitDisplayComponent;
    }());
    LimitDisplayComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: LimitDisplayComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
    LimitDisplayComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: LimitDisplayComponent, selector: "app-limit-display", inputs: { config: "config" }, ngImport: i0__namespace, template: "<div class=\"limit\" *ngIf=\"config.displayLimits\">\n  <!-- \u662F\u5426\u5141\u8BB8\u8D85\u4E0A\u4E0B\u9650 -->\n  <span\n    [ngClass]=\"{\n      hasEerror:\n        !config.isLimitOverrideAllowed &&\n        config.dataValue !== null &&\n        config.lowerLimit !== null &&\n        config.lowerLimit !== undefined &&\n        config.dataValue < config.lowerLimit\n    }\"\n    >{{ '\u4E0B\u9650\u503C' }} : {{ config.lowerLimit }}</span\n  >\n\n  <span\n    [ngClass]=\"{\n      hasEerror:\n        !config.isLimitOverrideAllowed &&\n        config.dataValue !== null &&\n        config.upperLimit !== null &&\n        config.upperLimit !== undefined &&\n        config.dataValue > config.upperLimit\n    }\"\n    >{{ '\u4E0A\u9650\u503C' }} : {{ config.upperLimit }}</span\n  >\n</div>\n", styles: ["\n      .hasEerror {\n        color: red;\n      }\n    "], directives: [{ type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: LimitDisplayComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'app-limit-display',
                        templateUrl: './limit-display.component.html',
                        styles: [
                            "\n      .hasEerror {\n        color: red;\n      }\n    "
                        ]
                    }]
            }], ctorParameters: function () { return []; }, propDecorators: { config: [{
                    type: i0.Input
                }] } });

    var TagsSelectComponent = /** @class */ (function () {
        function TagsSelectComponent() {
            // 数据类型
            this.type = exports.DataPointDataType;
            this.inputVisible = false;
            this.inputValue = '';
            this._value = [];
            this.valueChange = new i0.EventEmitter();
        }
        Object.defineProperty(TagsSelectComponent.prototype, "dataType", {
            get: function () {
                return this._dataType;
            },
            set: function (val) {
                this.value = [];
                console.log(val, 'dataType');
                this._dataType = val;
            },
            enumerable: false,
            configurable: true
        });
        Object.defineProperty(TagsSelectComponent.prototype, "value", {
            get: function () {
                return this._value;
            },
            set: function (val) {
                this.writeValue(val);
            },
            enumerable: false,
            configurable: true
        });
        TagsSelectComponent.prototype.ngOnInit = function () { };
        TagsSelectComponent.prototype.onChange = function (val) {
            this.valueChange.emit(this._value);
        };
        TagsSelectComponent.prototype.handleClose = function (removedTag) {
            this.value = this.value.filter(function (tag) { return tag !== removedTag; });
        };
        TagsSelectComponent.prototype.sliceTagName = function (tag) {
            var isLongTag = tag.length > 20;
            return isLongTag ? tag.slice(0, 20) + "..." : tag;
        };
        TagsSelectComponent.prototype.showInput = function () {
            var _this = this;
            this.inputVisible = true;
            setTimeout(function () {
                // console.log(this);
                if (_this.inputElementRef instanceof i2$1.NzInputNumberComponent) {
                    _this.inputElementRef.inputElement.nativeElement.focus();
                }
                else if (_this.inputElementRef instanceof i0.ElementRef) {
                    _this.inputElementRef.nativeElement.focus();
                }
                // this.inputElement.inputElement.nativeElement.focus();
            }, 500);
        };
        TagsSelectComponent.prototype.handleInputConfirm = function () {
            // todo 重复校验 更新时传入的是字符串数组
            if (this.inputValue && this.value.indexOf(this.inputValue) === -1) {
                this.value = __spreadArray(__spreadArray([], __read(this.value)), [this.inputValue]);
            }
            this.inputValue = '';
            this.inputVisible = false;
            // this.showInput(); // 回车后继续
        };
        TagsSelectComponent.prototype.writeValue = function (obj) {
            this._value = obj;
            this.onChange(this._value);
        };
        TagsSelectComponent.prototype.registerOnChange = function (fn) {
            this.valueChange.emit = fn;
        };
        TagsSelectComponent.prototype.registerOnTouched = function (fn) { };
        TagsSelectComponent.prototype.setDisabledState = function (isDisabled) {
            // this.readonly = isDisabled;
        };
        return TagsSelectComponent;
    }());
    TagsSelectComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: TagsSelectComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
    TagsSelectComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: TagsSelectComponent, selector: "app-tags-select", inputs: { dataType: "dataType", name: "name", value: "value" }, outputs: { valueChange: "valueChange" }, providers: [
            {
                provide: i2.NG_VALUE_ACCESSOR,
                multi: true,
                useExisting: i0.forwardRef(function () { return TagsSelectComponent; })
            }
        ], viewQueries: [{ propertyName: "inputElementRef", first: true, predicate: ["inputElement"], descendants: true }], ngImport: i0__namespace, template: "<nz-tag *ngFor=\"let tag of value; let i = index\" [nzMode]=\"'closeable'\" (nzOnClose)=\"handleClose(tag)\">\n  {{ sliceTagName(tag) }}\n</nz-tag>\n<nz-tag *ngIf=\"!inputVisible\" class=\"editable-tag\" nzNoAnimation (click)=\"showInput()\">\n  <i nz-icon nzType=\"plus\"></i>\n  {{ 'NewTag' }}\n</nz-tag>\n\n<!-- String -->\n<input\n  [name]=\"name + '_add'\"\n  #inputElement\n  nz-input\n  nzSize=\"small\"\n  *ngIf=\"inputVisible && dataType === type.String\"\n  type=\"text\"\n  [(ngModel)]=\"inputValue\"\n  style=\"width: 78px\"\n  (blur)=\"handleInputConfirm()\"\n  (keydown.enter)=\"handleInputConfirm()\"\n/>\n<!-- Float & auto-focus -->\n<nz-input-number\n  [name]=\"name + '_add'\"\n  #inputElement\n  nz-input\n  nzSize=\"small\"\n  *ngIf=\"inputVisible && (dataType === type.Float || dataType === type.Decimal)\"\n  [(ngModel)]=\"inputValue\"\n  style=\"width: 78px\"\n  (blur)=\"handleInputConfirm()\"\n  (keydown.enter)=\"handleInputConfirm()\"\n></nz-input-number>\n\n<!-- Integer -->\n<nz-input-number\n  [name]=\"name + '_add'\"\n  #inputElement\n  nz-input\n  [nzStep]=\"1\"\n  nzPrecisionMode=\"cut\"\n  [nzPrecision]=\"0\"\n  nzSize=\"small\"\n  *ngIf=\"inputVisible && dataType === type.Integer\"\n  [(ngModel)]=\"inputValue\"\n  style=\"width: 78px\"\n  (blur)=\"handleInputConfirm()\"\n  (keydown.enter)=\"handleInputConfirm()\"\n>\n</nz-input-number>\n\n<span>\u70B9\u51FB\u8F93\u5165,\u56DE\u8F66\u952E\u65B0\u589E</span>\n", styles: [""], components: [{ type: i34__namespace.NzTagComponent, selector: "nz-tag", inputs: ["nzMode", "nzChecked", "nzColor"], outputs: ["nzOnClose", "nzCheckedChange"], exportAs: ["nzTag"] }, { type: i2__namespace$1.NzInputNumberComponent, selector: "nz-input-number", inputs: ["nzSize", "nzMin", "nzMax", "nzParser", "nzPrecisionMode", "nzPlaceHolder", "nzStep", "nzInputMode", "nzId", "nzDisabled", "nzAutoFocus", "nzFormatter", "nzPrecision"], outputs: ["nzBlur", "nzFocus"], exportAs: ["nzInputNumber"] }], directives: [{ type: i3__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i9__namespace.ɵNzTransitionPatchDirective, selector: "[nz-button], nz-button-group, [nz-icon], [nz-menu-item], [nz-submenu], nz-select-top-control, nz-select-placeholder, nz-input-group", inputs: ["hidden"] }, { type: i25__namespace.NzIconDirective, selector: "[nz-icon]", inputs: ["nzRotate", "nzSpin", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { type: i4__namespace.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzSize", "disabled"], exportAs: ["nzInput"] }, { type: i2__namespace.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i2__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: TagsSelectComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'app-tags-select',
                        templateUrl: './tags-select.component.html',
                        styleUrls: ['./tags-select.component.less'],
                        providers: [
                            {
                                provide: i2.NG_VALUE_ACCESSOR,
                                multi: true,
                                useExisting: i0.forwardRef(function () { return TagsSelectComponent; })
                            }
                        ]
                    }]
            }], ctorParameters: function () { return []; }, propDecorators: { inputElementRef: [{
                    type: i0.ViewChild,
                    args: ['inputElement', { static: false }]
                }], dataType: [{
                    type: i0.Input
                }], name: [{
                    type: i0.Input
                }], value: [{
                    type: i0.Input
                }], valueChange: [{
                    type: i0.Output
                }] } });

    var FixedDisplayComponent = /** @class */ (function () {
        function FixedDisplayComponent() {
        }
        FixedDisplayComponent.prototype.ngOnInit = function () { };
        return FixedDisplayComponent;
    }());
    FixedDisplayComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: FixedDisplayComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
    FixedDisplayComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: FixedDisplayComponent, selector: "app-fixed-display", inputs: { config: "config" }, ngImport: i0__namespace, template: "<div class=\"fixedValue\"\n  >{{ '\u56FA\u5B9A\u503C' }} : <span [ngClass]=\"{ hasEerror: config.dataValue !== config.fixedValue }\">{{ config.fixedValue }}</span>\n</div>\n", styles: ["\n      .hasEerror {\n        color: red;\n      }\n    "], directives: [{ type: i3__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: FixedDisplayComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'app-fixed-display',
                        templateUrl: './fixed-display.component.html',
                        styles: [
                            "\n      .hasEerror {\n        color: red;\n      }\n    "
                        ]
                    }]
            }], ctorParameters: function () { return []; }, propDecorators: { config: [{
                    type: i0.Input
                }] } });

    var DatePickerBase = /** @class */ (function () {
        function DatePickerBase() {
            /**
             * 是否显示清除按钮
             */
            this.nzAllowClear = true;
            /**
             * 自动获取焦点
             */
            this.nzAutoFocus = false;
            /**
             * 选择器
             */
            this.nzClassName = '';
            /**
             * 禁用
             */
            this.nzDisabled = false;
            /**
             * 额外的弹出日历样式
             */
            this.nzPopupStyle = {};
            /**
             * 输入框大小
             */
            this.nzSize = 'default';
            /**
             * 自定义输入框样式
             */
            this.nzStyle = {};
            /**
             * 弹出日历和关闭日历的回调
             */
            this.nzOnOpenChange = new i0.EventEmitter();
        }
        /**
         * 控制弹层展开状态发生改变
         * @param event
         */
        DatePickerBase.prototype.onNzOnOpenChange = function (event) {
            this.nzOpen = event;
            this.nzOnOpenChange.emit(event);
        };
        return DatePickerBase;
    }());
    DatePickerBase.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DatePickerBase, deps: [], target: i0__namespace.ɵɵFactoryTarget.Directive });
    DatePickerBase.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.13", type: DatePickerBase, inputs: { name: "name", nzAllowClear: "nzAllowClear", nzAutoFocus: "nzAutoFocus", nzClassName: "nzClassName", nzDateRender: "nzDateRender", nzDisabled: "nzDisabled", nzDisabledDate: "nzDisabledDate", nzLocale: "nzLocale", nzOpen: "nzOpen", nzPopupStyle: "nzPopupStyle", nzDropdownClassName: "nzDropdownClassName", nzSize: "nzSize", nzStyle: "nzStyle" }, outputs: { nzOnOpenChange: "nzOnOpenChange" }, ngImport: i0__namespace });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DatePickerBase, decorators: [{
                type: i0.Directive
            }], ctorParameters: function () { return []; }, propDecorators: { name: [{
                    type: i0.Input
                }], nzAllowClear: [{
                    type: i0.Input
                }], nzAutoFocus: [{
                    type: i0.Input
                }], nzClassName: [{
                    type: i0.Input
                }], nzDateRender: [{
                    type: i0.Input
                }], nzDisabled: [{
                    type: i0.Input
                }], nzDisabledDate: [{
                    type: i0.Input
                }], nzLocale: [{
                    type: i0.Input
                }], nzOpen: [{
                    type: i0.Input
                }], nzPopupStyle: [{
                    type: i0.Input
                }], nzDropdownClassName: [{
                    type: i0.Input
                }], nzSize: [{
                    type: i0.Input
                }], nzStyle: [{
                    type: i0.Input
                }], nzOnOpenChange: [{
                    type: i0.Output
                }] } });

    var DatePickerComponent = /** @class */ (function (_super) {
        __extends(DatePickerComponent, _super);
        function DatePickerComponent() {
            var _this = _super.call(this) || this;
            /**
             * 展示的日期格式,见nzFormat特别说明
             */
            _this.nzFormat = 'yyyy-MM-dd';
            /**
             * nzShowToday
             */
            _this.nzShowToday = true;
            /**
             * 点击确定按钮的回调
             */
            _this.nzOnOk = new i0.EventEmitter();
            /**
             * 时间发生变化的回调
             */
            _this.ngModelChange = new i0.EventEmitter();
            return _this;
        }
        DatePickerComponent.prototype.onNzOk = function (event) {
            if (event && moment__namespace.isDate(event)) {
                this.nzOnOk.emit(moment__namespace(event));
            }
            else {
                this.nzOnOk.emit(undefined);
            }
        };
        DatePickerComponent.prototype.onNgModelChangeChange = function (event) {
            if (event && moment__namespace.isDate(event)) {
                this.ngModelChange.emit(moment__namespace(event));
            }
            else {
                this.ngModelChange.emit(undefined);
            }
        };
        DatePickerComponent.prototype.registerOnChange = function (fn) {
            this.ngModelChange.emit = fn;
        };
        DatePickerComponent.prototype.registerOnTouched = function (fn) { };
        DatePickerComponent.prototype.setDisabledState = function (isDisabled) {
            this.nzDisabled = isDisabled;
        };
        DatePickerComponent.prototype.writeValue = function (obj) {
            if (obj && moment__namespace.isMoment(obj)) {
                this.value = obj.toDate();
            }
            else {
                this.value = obj;
            }
        };
        return DatePickerComponent;
    }(DatePickerBase));
    DatePickerComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DatePickerComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
    DatePickerComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: DatePickerComponent, selector: "d-date-picker", inputs: { ngModel: "ngModel", nzDisabledTime: "nzDisabledTime", nzFormat: "nzFormat", nzRenderExtraFooter: "nzRenderExtraFooter", nzShowTime: "nzShowTime", nzShowToday: "nzShowToday", nzPlaceHolder: "nzPlaceHolder" }, outputs: { nzOnOk: "nzOnOk", ngModelChange: "ngModelChange" }, providers: [
            {
                provide: i2.NG_VALUE_ACCESSOR,
                useExisting: i0.forwardRef(function () { return DatePickerComponent; }),
                multi: true
            }
        ], usesInheritance: true, ngImport: i0__namespace, template: "<nz-date-picker\r\n        [nzAllowClear]=\"nzAllowClear\"\r\n        [nzAutoFocus]=\"nzAutoFocus\"\r\n        [nzDateRender]=\"nzDateRender\"\r\n        [nzDisabled]=\"nzDisabled\"\r\n        [nzDisabledDate]=\"nzDisabledDate\"\r\n        [nzLocale]=\"nzLocale\"\r\n        [nzPopupStyle]=\"nzPopupStyle\"\r\n        [nzDropdownClassName]=\"nzDropdownClassName\"\r\n        [nzSize]=\"nzSize\"\r\n\r\n\r\n        [nzDisabledTime]=\"nzDisabledTime\"\r\n        [nzFormat]=\"nzFormat\"\r\n        [nzRenderExtraFooter]=\"nzRenderExtraFooter\"\r\n        [nzShowTime]=\"nzShowTime\"\r\n        [nzShowToday]=\"nzShowToday\"\r\n        [nzPlaceHolder]=\"nzPlaceHolder\"\r\n\r\n        [(ngModel)]=\"value\"\r\n        (nzOnOk)=\"onNzOk($event)\"\r\n        (ngModelChange)=\"onNgModelChangeChange($event)\"\r\n        (nzOnOpenChange)=\"onNzOnOpenChange($event)\">\r\n\r\n</nz-date-picker>\r\n", styles: [":host ::ng-deep{width:100%}nz-date-picker{width:100%}\n"], components: [{ type: i1__namespace$2.NzDatePickerComponent, selector: "nz-date-picker,nz-week-picker,nz-month-picker,nz-year-picker,nz-range-picker", inputs: ["nzAllowClear", "nzAutoFocus", "nzDisabled", "nzBorderless", "nzInputReadOnly", "nzInline", "nzPlaceHolder", "nzPopupStyle", "nzSize", "nzShowToday", "nzMode", "nzShowNow", "nzDefaultPickerValue", "nzSeparator", "nzSuffixIcon", "nzBackdrop", "nzId", "nzShowTime", "nzFormat", "nzLocale", "nzOpen", "nzDisabledDate", "nzDropdownClassName", "nzDateRender", "nzDisabledTime", "nzRenderExtraFooter", "nzRanges"], outputs: ["nzOnPanelChange", "nzOnCalendarChange", "nzOnOk", "nzOnOpenChange"], exportAs: ["nzDatePicker"] }], directives: [{ type: i2__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DatePickerComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'd-date-picker',
                        templateUrl: './date-picker.component.html',
                        styleUrls: ['./date-picker.component.less'],
                        providers: [
                            {
                                provide: i2.NG_VALUE_ACCESSOR,
                                useExisting: i0.forwardRef(function () { return DatePickerComponent; }),
                                multi: true
                            }
                        ]
                    }]
            }], ctorParameters: function () { return []; }, propDecorators: { ngModel: [{
                    type: i0.Input
                }], nzDisabledTime: [{
                    type: i0.Input
                }], nzFormat: [{
                    type: i0.Input
                }], nzRenderExtraFooter: [{
                    type: i0.Input
                }], nzShowTime: [{
                    type: i0.Input
                }], nzShowToday: [{
                    type: i0.Input
                }], nzPlaceHolder: [{
                    type: i0.Input
                }], nzOnOk: [{
                    type: i0.Output
                }], ngModelChange: [{
                    type: i0.Output
                }] } });

    var YearPickerComponent = /** @class */ (function (_super) {
        __extends(YearPickerComponent, _super);
        function YearPickerComponent() {
            var _this = _super.call(this) || this;
            /**
             * 展示的日期格式,见nzFormat特别说明
             */
            _this.nzFormat = 'yyyy';
            /**
             * 时间发生变化的回调
             */
            _this.ngModelChange = new i0.EventEmitter();
            return _this;
        }
        YearPickerComponent.prototype.onNgModelChangeChange = function (event) {
            if (event && moment__namespace.isDate(event)) {
                this.ngModelChange.emit(moment__namespace(event));
            }
            else {
                this.ngModelChange.emit(undefined);
            }
        };
        YearPickerComponent.prototype.registerOnChange = function (fn) {
            this.ngModelChange.emit = fn;
        };
        YearPickerComponent.prototype.registerOnTouched = function (fn) { };
        YearPickerComponent.prototype.setDisabledState = function (isDisabled) {
            this.nzDisabled = isDisabled;
        };
        YearPickerComponent.prototype.writeValue = function (obj) {
            if (obj && moment__namespace.isMoment(obj)) {
                this.value = obj.toDate();
            }
            else {
                this.value = obj;
            }
        };
        return YearPickerComponent;
    }(DatePickerBase));
    YearPickerComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: YearPickerComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
    YearPickerComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: YearPickerComponent, selector: "d-year-picker", inputs: { ngModel: "ngModel", nzFormat: "nzFormat", nzRenderExtraFooter: "nzRenderExtraFooter", nzPlaceHolder: "nzPlaceHolder" }, outputs: { ngModelChange: "ngModelChange" }, providers: [
            {
                provide: i2.NG_VALUE_ACCESSOR,
                useExisting: i0.forwardRef(function () { return YearPickerComponent; }),
                multi: true
            }
        ], usesInheritance: true, ngImport: i0__namespace, template: "<nz-year-picker\r\n        [nzAllowClear]=\"nzAllowClear\"\r\n        [nzAutoFocus]=\"nzAutoFocus\"\r\n        [nzDisabled]=\"nzDisabled\"\r\n        [nzDisabledDate]=\"nzDisabledDate\"\r\n        [nzLocale]=\"nzLocale\"\r\n        [nzPopupStyle]=\"nzPopupStyle\"\r\n        [nzDropdownClassName]=\"nzDropdownClassName\"\r\n        [nzSize]=\"nzSize\"\r\n\r\n\r\n        [nzFormat]=\"nzFormat\"\r\n        [nzRenderExtraFooter]=\"nzRenderExtraFooter\"\r\n        [nzPlaceHolder]=\"nzPlaceHolder\"\r\n\r\n        [(ngModel)]=\"value\"\r\n        (ngModelChange)=\"onNgModelChangeChange($event)\"\r\n        (nzOnOpenChange)=\"onNzOnOpenChange($event)\">\r\n\r\n</nz-year-picker>\r\n", components: [{ type: i1__namespace$2.NzDatePickerComponent, selector: "nz-date-picker,nz-week-picker,nz-month-picker,nz-year-picker,nz-range-picker", inputs: ["nzAllowClear", "nzAutoFocus", "nzDisabled", "nzBorderless", "nzInputReadOnly", "nzInline", "nzPlaceHolder", "nzPopupStyle", "nzSize", "nzShowToday", "nzMode", "nzShowNow", "nzDefaultPickerValue", "nzSeparator", "nzSuffixIcon", "nzBackdrop", "nzId", "nzShowTime", "nzFormat", "nzLocale", "nzOpen", "nzDisabledDate", "nzDropdownClassName", "nzDateRender", "nzDisabledTime", "nzRenderExtraFooter", "nzRanges"], outputs: ["nzOnPanelChange", "nzOnCalendarChange", "nzOnOk", "nzOnOpenChange"], exportAs: ["nzDatePicker"] }], directives: [{ type: i1__namespace$2.NzYearPickerComponent, selector: "nz-year-picker", exportAs: ["nzYearPicker"] }, { type: i2__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: YearPickerComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'd-year-picker',
                        templateUrl: './year-picker.component.html',
                        styles: [],
                        providers: [
                            {
                                provide: i2.NG_VALUE_ACCESSOR,
                                useExisting: i0.forwardRef(function () { return YearPickerComponent; }),
                                multi: true
                            }
                        ]
                    }]
            }], ctorParameters: function () { return []; }, propDecorators: { ngModel: [{
                    type: i0.Input
                }], nzFormat: [{
                    type: i0.Input
                }], nzRenderExtraFooter: [{
                    type: i0.Input
                }], nzPlaceHolder: [{
                    type: i0.Input
                }], ngModelChange: [{
                    type: i0.Output
                }] } });

    var MonthPickerComponent = /** @class */ (function (_super) {
        __extends(MonthPickerComponent, _super);
        function MonthPickerComponent() {
            var _this = _super.call(this) || this;
            /**
             * 展示的日期格式,见nzFormat特别说明
             */
            _this.nzFormat = 'yyyy-MM';
            /**
             * 时间发生变化的回调
             */
            _this.ngModelChange = new i0.EventEmitter();
            return _this;
        }
        MonthPickerComponent.prototype.onNgModelChangeChange = function (event) {
            if (event && moment__namespace.isDate(event)) {
                this.ngModelChange.emit(moment__namespace(event));
            }
            else {
                this.ngModelChange.emit(undefined);
            }
        };
        MonthPickerComponent.prototype.registerOnChange = function (fn) {
            this.ngModelChange.emit = fn;
        };
        MonthPickerComponent.prototype.registerOnTouched = function (fn) { };
        MonthPickerComponent.prototype.setDisabledState = function (isDisabled) {
            this.nzDisabled = isDisabled;
        };
        MonthPickerComponent.prototype.writeValue = function (obj) {
            if (obj && moment__namespace.isMoment(obj)) {
                this.value = obj.toDate();
            }
            else {
                this.value = obj;
            }
        };
        return MonthPickerComponent;
    }(DatePickerBase));
    MonthPickerComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: MonthPickerComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
    MonthPickerComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: MonthPickerComponent, selector: "d-month-picker", inputs: { ngModel: "ngModel", nzDisabledTime: "nzDisabledTime", nzFormat: "nzFormat", nzRenderExtraFooter: "nzRenderExtraFooter", nzPlaceHolder: "nzPlaceHolder" }, outputs: { ngModelChange: "ngModelChange" }, providers: [
            {
                provide: i2.NG_VALUE_ACCESSOR,
                useExisting: i0.forwardRef(function () { return MonthPickerComponent; }),
                multi: true
            }
        ], usesInheritance: true, ngImport: i0__namespace, template: "<nz-month-picker\r\n        [nzAllowClear]=\"nzAllowClear\"\r\n        [nzAutoFocus]=\"nzAutoFocus\"\r\n        [nzDisabled]=\"nzDisabled\"\r\n        [nzDisabledDate]=\"nzDisabledDate\"\r\n        [nzLocale]=\"nzLocale\"\r\n        [nzPopupStyle]=\"nzPopupStyle\"\r\n        [nzDropdownClassName]=\"nzDropdownClassName\"\r\n        [nzSize]=\"nzSize\"\r\n\r\n        [nzFormat]=\"nzFormat\"\r\n        [nzRenderExtraFooter]=\"nzRenderExtraFooter\"\r\n        [nzPlaceHolder]=\"nzPlaceHolder\"\r\n\r\n        [(ngModel)]=\"value\"\r\n        (ngModelChange)=\"onNgModelChangeChange($event)\"\r\n        (nzOnOpenChange)=\"onNzOnOpenChange($event)\">\r\n\r\n</nz-month-picker>\r\n", components: [{ type: i1__namespace$2.NzDatePickerComponent, selector: "nz-date-picker,nz-week-picker,nz-month-picker,nz-year-picker,nz-range-picker", inputs: ["nzAllowClear", "nzAutoFocus", "nzDisabled", "nzBorderless", "nzInputReadOnly", "nzInline", "nzPlaceHolder", "nzPopupStyle", "nzSize", "nzShowToday", "nzMode", "nzShowNow", "nzDefaultPickerValue", "nzSeparator", "nzSuffixIcon", "nzBackdrop", "nzId", "nzShowTime", "nzFormat", "nzLocale", "nzOpen", "nzDisabledDate", "nzDropdownClassName", "nzDateRender", "nzDisabledTime", "nzRenderExtraFooter", "nzRanges"], outputs: ["nzOnPanelChange", "nzOnCalendarChange", "nzOnOk", "nzOnOpenChange"], exportAs: ["nzDatePicker"] }], directives: [{ type: i1__namespace$2.NzMonthPickerComponent, selector: "nz-month-picker", exportAs: ["nzMonthPicker"] }, { type: i2__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: MonthPickerComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'd-month-picker',
                        templateUrl: './month-picker.component.html',
                        styles: [],
                        providers: [
                            {
                                provide: i2.NG_VALUE_ACCESSOR,
                                useExisting: i0.forwardRef(function () { return MonthPickerComponent; }),
                                multi: true
                            }
                        ]
                    }]
            }], ctorParameters: function () { return []; }, propDecorators: { ngModel: [{
                    type: i0.Input
                }], nzDisabledTime: [{
                    type: i0.Input
                }], nzFormat: [{
                    type: i0.Input
                }], nzRenderExtraFooter: [{
                    type: i0.Input
                }], nzPlaceHolder: [{
                    type: i0.Input
                }], ngModelChange: [{
                    type: i0.Output
                }] } });

    var WeekPickerComponent = /** @class */ (function (_super) {
        __extends(WeekPickerComponent, _super);
        function WeekPickerComponent() {
            var _this = _super.call(this) || this;
            /**
             * 展示的日期格式,见nzFormat特别说明
             */
            _this.nzFormat = 'yyyy-ww';
            /**
             * 时间发生变化的回调
             */
            _this.ngModelChange = new i0.EventEmitter();
            return _this;
        }
        WeekPickerComponent.prototype.onNgModelChangeChange = function (event) {
            if (event && moment__namespace.isDate(event)) {
                this.ngModelChange.emit(moment__namespace(event));
            }
            else {
                this.ngModelChange.emit(undefined);
            }
        };
        WeekPickerComponent.prototype.registerOnChange = function (fn) {
            this.ngModelChange.emit = fn;
        };
        WeekPickerComponent.prototype.registerOnTouched = function (fn) { };
        WeekPickerComponent.prototype.setDisabledState = function (isDisabled) {
            this.nzDisabled = isDisabled;
        };
        WeekPickerComponent.prototype.writeValue = function (obj) {
            if (obj && moment__namespace.isMoment(obj)) {
                this.value = obj.toDate();
            }
            else {
                this.value = obj;
            }
        };
        return WeekPickerComponent;
    }(DatePickerBase));
    WeekPickerComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: WeekPickerComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
    WeekPickerComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: WeekPickerComponent, selector: "d-week-picker", inputs: { ngModel: "ngModel", nzFormat: "nzFormat", nzPlaceHolder: "nzPlaceHolder" }, outputs: { ngModelChange: "ngModelChange" }, providers: [
            {
                provide: i2.NG_VALUE_ACCESSOR,
                useExisting: i0.forwardRef(function () { return WeekPickerComponent; }),
                multi: true
            }
        ], usesInheritance: true, ngImport: i0__namespace, template: "<nz-week-picker\r\n        [nzAllowClear]=\"nzAllowClear\"\r\n        [nzAutoFocus]=\"nzAutoFocus\"\r\n        [nzDisabled]=\"nzDisabled\"\r\n        [nzDisabledDate]=\"nzDisabledDate\"\r\n        [nzLocale]=\"nzLocale\"\r\n        [nzPopupStyle]=\"nzPopupStyle\"\r\n        [nzDropdownClassName]=\"nzDropdownClassName\"\r\n        [nzSize]=\"nzSize\"\r\n\r\n\r\n        [nzFormat]=\"nzFormat\"\r\n        [nzPlaceHolder]=\"nzPlaceHolder\"\r\n\r\n        [(ngModel)]=\"value\"\r\n        (ngModelChange)=\"onNgModelChangeChange($event)\"\r\n        (nzOnOpenChange)=\"onNzOnOpenChange($event)\"\r\n>\r\n\r\n</nz-week-picker>\r\n", components: [{ type: i1__namespace$2.NzDatePickerComponent, selector: "nz-date-picker,nz-week-picker,nz-month-picker,nz-year-picker,nz-range-picker", inputs: ["nzAllowClear", "nzAutoFocus", "nzDisabled", "nzBorderless", "nzInputReadOnly", "nzInline", "nzPlaceHolder", "nzPopupStyle", "nzSize", "nzShowToday", "nzMode", "nzShowNow", "nzDefaultPickerValue", "nzSeparator", "nzSuffixIcon", "nzBackdrop", "nzId", "nzShowTime", "nzFormat", "nzLocale", "nzOpen", "nzDisabledDate", "nzDropdownClassName", "nzDateRender", "nzDisabledTime", "nzRenderExtraFooter", "nzRanges"], outputs: ["nzOnPanelChange", "nzOnCalendarChange", "nzOnOk", "nzOnOpenChange"], exportAs: ["nzDatePicker"] }], directives: [{ type: i1__namespace$2.NzWeekPickerComponent, selector: "nz-week-picker", exportAs: ["nzWeekPicker"] }, { type: i2__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: WeekPickerComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'd-week-picker',
                        templateUrl: './week-picker.component.html',
                        styles: [],
                        providers: [
                            {
                                provide: i2.NG_VALUE_ACCESSOR,
                                useExisting: i0.forwardRef(function () { return WeekPickerComponent; }),
                                multi: true
                            }
                        ]
                    }]
            }], ctorParameters: function () { return []; }, propDecorators: { ngModel: [{
                    type: i0.Input
                }], nzFormat: [{
                    type: i0.Input
                }], nzPlaceHolder: [{
                    type: i0.Input
                }], ngModelChange: [{
                    type: i0.Output
                }] } });

    var RangePickerComponent = /** @class */ (function (_super) {
        __extends(RangePickerComponent, _super);
        function RangePickerComponent() {
            var _this = _super.call(this) || this;
            /**
             * 展示的日期格式,见nzFormat特别说明
             */
            _this.nzFormat = 'yyyy-MM-dd';
            /**
             * 点击确定按钮的回调
             */
            _this.nzOnOk = new i0.EventEmitter();
            /**
             * 时间发生变化的回调
             */
            _this.ngModelChange = new i0.EventEmitter();
            /**
             * 待选日期发生变化的回调
             */
            _this.nzOnCalendarChange = new i0.EventEmitter();
            return _this;
        }
        /**
         * 点击确定按钮的回调
         * @param event
         */
        RangePickerComponent.prototype.onNzOk = function (event) {
            if (event && moment__namespace.isDate(event[0] && moment__namespace.isDate(event[1]))) {
                var eArr = [moment__namespace(event[0]), moment__namespace(event[1])];
                this.nzOnOk.emit(eArr);
            }
            else {
                this.nzOnOk.emit(undefined);
            }
        };
        /**
         * 时间发生变化的回调
         * @param event
         */
        RangePickerComponent.prototype.onNgModelChangeChange = function (event) {
            if (Array.isArray(event) && event.length === 2) {
                this.ngModelChange.emit(event.map(function (o) {
                    return moment__namespace(o);
                }));
            }
            else {
                this.ngModelChange.emit(undefined);
            }
        };
        /**
         * 待选日期发生变化的回调
         * @param event
         */
        RangePickerComponent.prototype.onNzOnCalendarChange = function (event) {
            if (Array.isArray(event) && event.length === 2) {
                this.nzOnCalendarChange.emit(event.map(function (o) {
                    return moment__namespace(o);
                }));
            }
            else {
                this.nzOnCalendarChange.emit(undefined);
            }
        };
        RangePickerComponent.prototype.registerOnChange = function (fn) {
            this.ngModelChange.emit = fn;
        };
        RangePickerComponent.prototype.registerOnTouched = function (fn) { };
        RangePickerComponent.prototype.setDisabledState = function (isDisabled) {
            this.nzDisabled = isDisabled;
        };
        RangePickerComponent.prototype.writeValue = function (obj) {
            if (obj && Array.isArray(obj) && obj.length === 2 && moment__namespace.isMoment(obj[0]) && moment__namespace.isMoment(obj[1])) {
                this.value = [obj[0].toDate(), obj[1].toDate()];
            }
            else {
                this.value = obj;
            }
        };
        return RangePickerComponent;
    }(DatePickerBase));
    RangePickerComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RangePickerComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
    RangePickerComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: RangePickerComponent, selector: "d-range-picker", inputs: { ngModel: "ngModel", nzDisabledTime: "nzDisabledTime", nzFormat: "nzFormat", nzRanges: "nzRanges", nzRenderExtraFooter: "nzRenderExtraFooter", nzShowTime: "nzShowTime", nzPlaceHolder: "nzPlaceHolder" }, outputs: { nzOnOk: "nzOnOk", ngModelChange: "ngModelChange", nzOnCalendarChange: "nzOnCalendarChange" }, providers: [
            {
                provide: i2.NG_VALUE_ACCESSOR,
                useExisting: i0.forwardRef(function () { return RangePickerComponent; }),
                multi: true
            }
        ], usesInheritance: true, ngImport: i0__namespace, template: "<nz-range-picker\r\n  [nzAllowClear]='nzAllowClear'\r\n  [nzAutoFocus]='nzAutoFocus'\r\n  [nzDateRender]='nzDateRender'\r\n  [nzDisabled]='nzDisabled'\r\n  [nzDisabledDate]='nzDisabledDate'\r\n  [nzLocale]='nzLocale'\r\n  [nzPopupStyle]='nzPopupStyle'\r\n  [nzDropdownClassName]='nzDropdownClassName'\r\n  [nzSize]='nzSize'\r\n  [nzDisabledTime]='nzDisabledTime'\r\n  [nzFormat]='nzFormat'\r\n  [nzRenderExtraFooter]='nzRenderExtraFooter'\r\n  [nzShowTime]='nzShowTime'\r\n  [nzPlaceHolder]='nzPlaceHolder'\r\n  [nzRanges]='nzRanges'\r\n  [(ngModel)]='value'\r\n  (nzOnOk)='onNzOk($event)'\r\n  (ngModelChange)='onNgModelChangeChange($event)'\r\n  (nzOnCalendarChange)='onNzOnCalendarChange($event)'\r\n  (nzOnOpenChange)='onNzOnOpenChange($event)'\r\n>\r\n</nz-range-picker>\r\n", components: [{ type: i1__namespace$2.NzDatePickerComponent, selector: "nz-date-picker,nz-week-picker,nz-month-picker,nz-year-picker,nz-range-picker", inputs: ["nzAllowClear", "nzAutoFocus", "nzDisabled", "nzBorderless", "nzInputReadOnly", "nzInline", "nzPlaceHolder", "nzPopupStyle", "nzSize", "nzShowToday", "nzMode", "nzShowNow", "nzDefaultPickerValue", "nzSeparator", "nzSuffixIcon", "nzBackdrop", "nzId", "nzShowTime", "nzFormat", "nzLocale", "nzOpen", "nzDisabledDate", "nzDropdownClassName", "nzDateRender", "nzDisabledTime", "nzRenderExtraFooter", "nzRanges"], outputs: ["nzOnPanelChange", "nzOnCalendarChange", "nzOnOk", "nzOnOpenChange"], exportAs: ["nzDatePicker"] }], directives: [{ type: i1__namespace$2.NzRangePickerComponent, selector: "nz-range-picker", exportAs: ["nzRangePicker"] }, { type: i2__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RangePickerComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'd-range-picker',
                        templateUrl: './range-picker.component.html',
                        styles: [],
                        providers: [
                            {
                                provide: i2.NG_VALUE_ACCESSOR,
                                useExisting: i0.forwardRef(function () { return RangePickerComponent; }),
                                multi: true
                            }
                        ]
                    }]
            }], ctorParameters: function () { return []; }, propDecorators: { ngModel: [{
                    type: i0.Input
                }], nzDisabledTime: [{
                    type: i0.Input
                }], nzFormat: [{
                    type: i0.Input
                }], nzRanges: [{
                    type: i0.Input
                }], nzRenderExtraFooter: [{
                    type: i0.Input
                }], nzShowTime: [{
                    type: i0.Input
                }], nzPlaceHolder: [{
                    type: i0.Input
                }], nzOnOk: [{
                    type: i0.Output
                }], ngModelChange: [{
                    type: i0.Output
                }], nzOnCalendarChange: [{
                    type: i0.Output
                }] } });

    var TimePickerComponent = /** @class */ (function (_super) {
        __extends(TimePickerComponent, _super);
        function TimePickerComponent() {
            var _this = _super.call(this) || this;
            /**
             * 展示的日期格式,见nzFormat特别说明
             */
            _this.nzFormat = 'HH:mm:ss';
            /**
             * 自动获取焦点
             */
            _this.nzAutoFocus = false;
            /**
             * 隐藏禁止选择的选项
             */
            _this.nzHideDisabledOptions = false;
            /**
             * 小时选项间隔
             */
            _this.nzHourStep = 1;
            /**
             * 分钟选项间隔
             */
            _this.nzMinuteStep = 1;
            /**
             * 	秒选项间隔
             */
            _this.nzSecondStep = 1;
            /**
             * 面板是否打开,可双向绑定
             */
            _this.nzOpen = false;
            /**
             * 弹出层类名
             */
            _this.nzPopupClassName = '';
            /**
             * 当 [ngModel] 不存在时,可以设置面板打开时默认选中的值
             */
            _this.nzDefaultOpenValue = new Date();
            /**
             * 使用12小时制,为true时format默认为h:mm:ss a
             */
            _this.nzUse12Hours = false;
            /**
             * 点击确定按钮的回调
             */
            _this.nzOnOk = new i0.EventEmitter();
            /**
             * 时间发生变化的回调
             */
            _this.ngModelChange = new i0.EventEmitter();
            /**
             * 待选日期发生变化的回调
             */
            _this.nzOnCalendarChange = new i0.EventEmitter();
            return _this;
        }
        /**
         * 点击确定按钮的回调
         * @param event 数据
         */
        TimePickerComponent.prototype.onNzOk = function (event) {
            if (event && moment__namespace.isDate(event[0] && moment__namespace.isDate(event[1]))) {
                this.nzOnOk.emit(event.map(function (o) {
                    return moment__namespace(o);
                }));
            }
            else {
                this.nzOnOk.emit(undefined);
            }
        };
        /**
         * 时间发生变化的回调
         * @param event 数据
         */
        TimePickerComponent.prototype.onNgModelChangeChange = function (event) {
            if (event && moment__namespace.isDate(event[0] && moment__namespace.isDate(event[1]))) {
                this.ngModelChange.emit(event.map(function (o) {
                    return moment__namespace(o);
                }));
            }
            else {
                this.ngModelChange.emit(undefined);
            }
        };
        /**
         * 待选日期发生变化的回调
         * @param event 数据
         */
        TimePickerComponent.prototype.onNzOnCalendarChange = function (event) {
            if (event && moment__namespace.isDate(event[0] && moment__namespace.isDate(event[1]))) {
                this.nzOnCalendarChange.emit(event.map(function (o) {
                    return moment__namespace(o);
                }));
            }
            else {
                this.nzOnCalendarChange.emit(undefined);
            }
        };
        TimePickerComponent.prototype.registerOnChange = function (fn) {
            this.ngModelChange.emit = fn;
        };
        TimePickerComponent.prototype.registerOnTouched = function (fn) { };
        TimePickerComponent.prototype.setDisabledState = function (isDisabled) {
            this.nzDisabled = isDisabled;
        };
        TimePickerComponent.prototype.writeValue = function (obj) {
            if (obj && moment__namespace.isMoment(obj)) {
                this.value = obj.toDate();
            }
            else {
                this.value = obj;
            }
        };
        return TimePickerComponent;
    }(DatePickerBase));
    TimePickerComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: TimePickerComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
    TimePickerComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: TimePickerComponent, selector: "d-time-picker", inputs: { ngModel: "ngModel", nzDisabledTime: "nzDisabledTime", nzFormat: "nzFormat", nzRanges: "nzRanges", nzRenderExtraFooter: "nzRenderExtraFooter", nzShowTime: "nzShowTime", nzPlaceHolder: "nzPlaceHolder", nzAddOn: "nzAddOn", nzAutoFocus: "nzAutoFocus", nzDisabledHours: "nzDisabledHours", nzDisabledMinutes: "nzDisabledMinutes", nzDisabledSeconds: "nzDisabledSeconds", nzHideDisabledOptions: "nzHideDisabledOptions", nzHourStep: "nzHourStep", nzMinuteStep: "nzMinuteStep", nzSecondStep: "nzSecondStep", nzOpen: "nzOpen", nzPopupClassName: "nzPopupClassName", nzDefaultOpenValue: "nzDefaultOpenValue", nzUse12Hours: "nzUse12Hours" }, outputs: { nzOnOk: "nzOnOk", ngModelChange: "ngModelChange", nzOnCalendarChange: "nzOnCalendarChange" }, providers: [
            {
                provide: i2.NG_VALUE_ACCESSOR,
                useExisting: i0.forwardRef(function () { return TimePickerComponent; }),
                multi: true
            }
        ], usesInheritance: true, ngImport: i0__namespace, template: "<nz-time-picker [nzAutoFocus]='nzAutoFocus' [nzDisabled]='nzDisabled' [nzSize]='nzSize' [nzFormat]='nzFormat'\r\n                [nzAddOn]='nzAddOn' [nzDisabledHours]='nzDisabledHours' [nzDisabledMinutes]='nzDisabledMinutes'\r\n                [nzDefaultOpenValue]='nzDefaultOpenValue' [nzDisabledSeconds]='nzDisabledSeconds'\r\n                [nzHideDisabledOptions]='nzHideDisabledOptions' [nzHourStep]='nzHourStep' [nzMinuteStep]='nzMinuteStep'\r\n                [nzSecondStep]='nzSecondStep' [nzOpen]='nzOpen' [nzPopupClassName]='nzPopupClassName'\r\n                [nzUse12Hours]='nzUse12Hours'\r\n                [nzPlaceHolder]='nzPlaceHolder' [(ngModel)]='value'\r\n                (ngModelChange)='onNgModelChangeChange($event)'\r\n                (nzOpenChange)='onNzOnOpenChange($event)'>\r\n</nz-time-picker>\r\n", components: [{ type: i35__namespace.NzTimePickerComponent, selector: "nz-time-picker", inputs: ["nzId", "nzSize", "nzHourStep", "nzMinuteStep", "nzSecondStep", "nzClearText", "nzNowText", "nzOkText", "nzPopupClassName", "nzPlaceHolder", "nzFormat", "nzOpen", "nzUse12Hours", "nzSuffixIcon", "nzHideDisabledOptions", "nzAllowEmpty", "nzDisabled", "nzAutoFocus", "nzBackdrop", "nzAddOn", "nzDefaultOpenValue", "nzDisabledHours", "nzDisabledMinutes", "nzDisabledSeconds"], outputs: ["nzOpenChange"], exportAs: ["nzTimePicker"] }], directives: [{ type: i2__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: TimePickerComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'd-time-picker',
                        templateUrl: './time-picker.component.html',
                        styles: [],
                        providers: [
                            {
                                provide: i2.NG_VALUE_ACCESSOR,
                                useExisting: i0.forwardRef(function () { return TimePickerComponent; }),
                                multi: true
                            }
                        ]
                    }]
            }], ctorParameters: function () { return []; }, propDecorators: { ngModel: [{
                    type: i0.Input
                }], nzDisabledTime: [{
                    type: i0.Input
                }], nzFormat: [{
                    type: i0.Input
                }], nzRanges: [{
                    type: i0.Input
                }], nzRenderExtraFooter: [{
                    type: i0.Input
                }], nzShowTime: [{
                    type: i0.Input
                }], nzPlaceHolder: [{
                    type: i0.Input
                }], nzAddOn: [{
                    type: i0.Input
                }], nzAutoFocus: [{
                    type: i0.Input
                }], nzDisabledHours: [{
                    type: i0.Input
                }], nzDisabledMinutes: [{
                    type: i0.Input
                }], nzDisabledSeconds: [{
                    type: i0.Input
                }], nzHideDisabledOptions: [{
                    type: i0.Input
                }], nzHourStep: [{
                    type: i0.Input
                }], nzMinuteStep: [{
                    type: i0.Input
                }], nzSecondStep: [{
                    type: i0.Input
                }], nzOpen: [{
                    type: i0.Input
                }], nzPopupClassName: [{
                    type: i0.Input
                }], nzDefaultOpenValue: [{
                    type: i0.Input
                }], nzUse12Hours: [{
                    type: i0.Input
                }], nzOnOk: [{
                    type: i0.Output
                }], ngModelChange: [{
                    type: i0.Output
                }], nzOnCalendarChange: [{
                    type: i0.Output
                }] } });

    var COMPONENTS$3 = [
        TagsSelectComponent,
        LimitDisplayComponent,
        EffectiveDisplayComponent,
        FixedDisplayComponent,
        DatePickerComponent,
        RangePickerComponent,
        YearPickerComponent,
        MonthPickerComponent,
        WeekPickerComponent,
        TimePickerComponent
    ];
    var DSharedModule = /** @class */ (function () {
        function DSharedModule() {
        }
        return DSharedModule;
    }());
    DSharedModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DSharedModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
    DSharedModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DSharedModule, declarations: [TagsSelectComponent,
            LimitDisplayComponent,
            EffectiveDisplayComponent,
            FixedDisplayComponent,
            DatePickerComponent,
            RangePickerComponent,
            YearPickerComponent,
            MonthPickerComponent,
            WeekPickerComponent,
            TimePickerComponent], imports: [i3.CommonModule,
            i2.FormsModule,
            i1$3.ColorPickerModule, i2__namespace$3.PageHeaderModule, i3__namespace$3.STModule, i4__namespace$1.SEModule, i5__namespace.SVModule, i6__namespace.ResultModule, i1__namespace.NzFormModule, i3__namespace$2.NzGridModule, i3__namespace$1.NzButtonModule, i4__namespace.NzInputModule, i2__namespace$1.NzInputNumberModule, i12__namespace.NzAlertModule, i13__namespace.NzProgressModule, i2__namespace$2.NzSelectModule, i15__namespace.NzAvatarModule, i16__namespace.NzCardModule, i17__namespace.NzDropDownModule, i18__namespace.NzPopconfirmModule, i2__namespace$4.NzTableModule, i20__namespace.NzPopoverModule, i21__namespace.NzDrawerModule, i22__namespace.NzModalModule, i23__namespace.NzTabsModule, i24__namespace.NzToolTipModule, i25__namespace.NzIconModule, i4__namespace$2.NzCheckboxModule, i27__namespace.NzSpinModule, i28__namespace.NzCollapseModule, i29__namespace.NzSwitchModule, i3__namespace$4.NzRadioModule, i1__namespace$1.NzLayoutModule, i32__namespace.NzEmptyModule, i1__namespace$2.NzDatePickerModule, i34__namespace.NzTagModule, i35__namespace.NzTimePickerModule, i36__namespace.NzImageModule, i37__namespace.NzSliderModule, i38__namespace.NzRateModule, i39__namespace.NzUploadModule], exports: [TagsSelectComponent,
            LimitDisplayComponent,
            EffectiveDisplayComponent,
            FixedDisplayComponent,
            DatePickerComponent,
            RangePickerComponent,
            YearPickerComponent,
            MonthPickerComponent,
            WeekPickerComponent,
            TimePickerComponent] });
    DSharedModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DSharedModule, imports: [__spreadArray(__spreadArray([
                i3.CommonModule,
                i2.FormsModule,
                i1$3.ColorPickerModule
            ], __read(SHARED_DELON_MODULES)), __read(SHARED_ZORRO_MODULES
            // WidgetFormControlsModule,
            // DynamicComponentModule
            ))] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DSharedModule, decorators: [{
                type: i0.NgModule,
                args: [{
                        imports: __spreadArray(__spreadArray([
                            i3.CommonModule,
                            i2.FormsModule,
                            i1$3.ColorPickerModule
                        ], __read(SHARED_DELON_MODULES)), __read(SHARED_ZORRO_MODULES
                        // WidgetFormControlsModule,
                        // DynamicComponentModule
                        )),
                        declarations: __spreadArray([], __read(COMPONENTS$3)),
                        exports: __spreadArray([], __read(COMPONENTS$3))
                    }]
            }] });

    var DStringComponent = /** @class */ (function (_super) {
        __extends(DStringComponent, _super);
        function DStringComponent() {
            return _super.call(this) || this;
        }
        DStringComponent.prototype.ngAfterViewInit = function () { };
        DStringComponent.prototype.configChange = function (config) { };
        return DStringComponent;
    }(DynamicComponentBase));
    DStringComponent.KEY = 'd-string';
    DStringComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DStringComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
    DStringComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: DStringComponent, selector: "app-d-string", providers: [
            {
                provide: i2.NG_VALUE_ACCESSOR,
                useExisting: i0.forwardRef(function () { return DStringComponent; }),
                multi: true
            }
        ], viewQueries: [{ propertyName: "input", first: true, predicate: ["input"], descendants: true }], usesInheritance: true, ngImport: i0__namespace, template: "<input\n  nz-input\n  #input=\"ngModel\"\n  [name]=\"config.name\"\n  [placeholder]=\"config.placeholder\"\n  [(ngModel)]=\"config.value\"\n  (ngModelChange)=\"onChange($event)\"\n  [required]=\"config.required\"\n/>\n", directives: [{ type: i4__namespace.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzSize", "disabled"], exportAs: ["nzInput"] }, { type: i2__namespace.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i2__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i2__namespace.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DStringComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'app-d-string',
                        templateUrl: './d-string.component.html',
                        providers: [
                            {
                                provide: i2.NG_VALUE_ACCESSOR,
                                useExisting: i0.forwardRef(function () { return DStringComponent; }),
                                multi: true
                            }
                        ]
                    }]
            }], ctorParameters: function () { return []; }, propDecorators: { input: [{
                    type: i0.ViewChild,
                    args: ['input']
                }] } });

    var DTextareaComponent = /** @class */ (function (_super) {
        __extends(DTextareaComponent, _super);
        function DTextareaComponent() {
            return _super.call(this) || this;
        }
        DTextareaComponent.prototype.configChange = function (config) {
            if (typeof config.autosize !== 'string' && typeof config.autosize !== 'boolean') {
                config.autoszie = true;
            }
        };
        return DTextareaComponent;
    }(DynamicComponentBase));
    DTextareaComponent.KEY = 'd-textarea';
    DTextareaComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DTextareaComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
    DTextareaComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: DTextareaComponent, selector: "app-d-textarea", providers: [
            {
                provide: i2.NG_VALUE_ACCESSOR,
                useExisting: i0.forwardRef(function () { return DTextareaComponent; }),
                multi: true
            }
        ], usesInheritance: true, ngImport: i0__namespace, template: "<textarea\n  nz-input\n  [name]=\"config.name\"\n  [placeholder]=\"config.placeholder\"\n  [(ngModel)]=\"config.value\"\n  (ngModelChange)=\"onChange($event)\"\n  [nzAutosize]=\"config.autosize\"\n  [required]=\"config.required\"\n  style=\"height: 107px; min-height: 107px\"\n></textarea>\n", directives: [{ type: i4__namespace.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzSize", "disabled"], exportAs: ["nzInput"] }, { type: i2__namespace.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i4__namespace.NzAutosizeDirective, selector: "textarea[nzAutosize]", inputs: ["nzAutosize"], exportAs: ["nzAutosize"] }, { type: i2__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i2__namespace.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DTextareaComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'app-d-textarea',
                        templateUrl: './d-textarea.component.html',
                        providers: [
                            {
                                provide: i2.NG_VALUE_ACCESSOR,
                                useExisting: i0.forwardRef(function () { return DTextareaComponent; }),
                                multi: true
                            }
                        ]
                    }]
            }], ctorParameters: function () { return []; } });

    var DNumberComponent = /** @class */ (function (_super) {
        __extends(DNumberComponent, _super);
        // @HostBinding('style.float') float = 'left';
        function DNumberComponent() {
            return _super.call(this) || this;
        }
        DNumberComponent.prototype.configChange = function (config) {
            // if (typeof config.min !== 'number') {
            //   config.min = 0;
            // }
            // if (typeof config.max !== 'number') {
            //   config.max = 100;
            // }
            if (typeof config.step !== 'number') {
                config.step = 1;
            }
        };
        return DNumberComponent;
    }(DynamicComponentBase));
    DNumberComponent.KEY = 'd-number';
    DNumberComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DNumberComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
    DNumberComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: DNumberComponent, selector: "app-d-number", providers: [
            {
                provide: i2.NG_VALUE_ACCESSOR,
                useExisting: i0.forwardRef(function () { return DNumberComponent; }),
                multi: true
            }
        ], usesInheritance: true, ngImport: i0__namespace, template: "<nz-input-number\n  [name]=\"config.name\"\n  [nzPlaceHolder]=\"config.placeholder\"\n  [(ngModel)]=\"config.value\"\n  (ngModelChange)=\"onChange($event)\"\n  [nzMin]=\"config.min\"\n  [nzMax]=\"config.max\"\n  [nzStep]=\"config.step\"\n  [required]=\"config.required\"\n  style=\"width: 100%\"\n></nz-input-number>\n", components: [{ type: i2__namespace$1.NzInputNumberComponent, selector: "nz-input-number", inputs: ["nzSize", "nzMin", "nzMax", "nzParser", "nzPrecisionMode", "nzPlaceHolder", "nzStep", "nzInputMode", "nzId", "nzDisabled", "nzAutoFocus", "nzFormatter", "nzPrecision"], outputs: ["nzBlur", "nzFocus"], exportAs: ["nzInputNumber"] }], directives: [{ type: i2__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i2__namespace.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DNumberComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'app-d-number',
                        templateUrl: './d-number.component.html',
                        providers: [
                            {
                                provide: i2.NG_VALUE_ACCESSOR,
                                useExisting: i0.forwardRef(function () { return DNumberComponent; }),
                                multi: true
                            }
                        ]
                    }]
            }], ctorParameters: function () { return []; } });

    var DRadioComponent = /** @class */ (function (_super) {
        __extends(DRadioComponent, _super);
        function DRadioComponent() {
            return _super.call(this) || this;
        }
        DRadioComponent.prototype.configChange = function (config) {
            if (!Array.isArray(config.dataSource)) {
                config.dataSource = [
                    {
                        value: '1',
                        label: '选项1'
                    },
                    {
                        value: '2',
                        label: '选项2'
                    },
                    {
                        value: '3',
                        label: '选项3'
                    }
                ];
            }
        };
        return DRadioComponent;
    }(DynamicComponentBase));
    DRadioComponent.KEY = 'd-radio';
    DRadioComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DRadioComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
    DRadioComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: DRadioComponent, selector: "app-d-radio", providers: [
            {
                provide: i2.NG_VALUE_ACCESSOR,
                useExisting: i0.forwardRef(function () { return DRadioComponent; }),
                multi: true
            }
        ], usesInheritance: true, ngImport: i0__namespace, template: "<nz-radio-group [name]=\"config.name\" [(ngModel)]=\"config.value\" (ngModelChange)=\"onChange($event)\" [required]=\"config.required\">\n  <ng-container *ngFor=\"let item of config.dataSource\">\n    <label nz-radio [nzValue]=\"item.value\">{{ item.label }}</label>\n  </ng-container>\n</nz-radio-group>\n", components: [{ type: i3__namespace$4.NzRadioGroupComponent, selector: "nz-radio-group", inputs: ["nzDisabled", "nzButtonStyle", "nzSize", "nzName"], exportAs: ["nzRadioGroup"] }, { type: i3__namespace$4.NzRadioComponent, selector: "[nz-radio],[nz-radio-button]", inputs: ["nzValue", "nzDisabled", "nzAutoFocus"], exportAs: ["nzRadio"] }], directives: [{ type: i2__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i2__namespace.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { type: i3__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DRadioComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'app-d-radio',
                        templateUrl: './d-radio.component.html',
                        providers: [
                            {
                                provide: i2.NG_VALUE_ACCESSOR,
                                useExisting: i0.forwardRef(function () { return DRadioComponent; }),
                                multi: true
                            }
                        ]
                    }]
            }], ctorParameters: function () { return []; } });

    var DCheckboxComponent = /** @class */ (function (_super) {
        __extends(DCheckboxComponent, _super);
        function DCheckboxComponent() {
            return _super.call(this) || this;
        }
        DCheckboxComponent.prototype.configChange = function (config) {
            if (!Array.isArray(config.dataSource)) {
                config.dataSource = [
                    {
                        value: '1',
                        label: '选项1'
                    },
                    {
                        value: '2',
                        label: '选项2'
                    },
                    {
                        value: '3',
                        label: '选项3'
                    }
                ];
            }
            if (Array.isArray(config.dataSource) && config.value) {
                config.dataSource.map(function (data) {
                    var valueArr = config.value.split(',');
                    if (valueArr.includes(data.value)) {
                        data.checked = true;
                    }
                });
            }
        };
        return DCheckboxComponent;
    }(DynamicComponentBase));
    DCheckboxComponent.KEY = 'd-checkbox';
    DCheckboxComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DCheckboxComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
    DCheckboxComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: DCheckboxComponent, selector: "app-d-checkbox", providers: [
            {
                provide: i2.NG_VALUE_ACCESSOR,
                useExisting: i0.forwardRef(function () { return DCheckboxComponent; }),
                multi: true
            }
        ], usesInheritance: true, ngImport: i0__namespace, template: "<nz-checkbox-group [name]=\"config.name\" [(ngModel)]=\"config.dataSource\" (ngModelChange)=\"onChange($event)\" [required]=\"config.required\">\n</nz-checkbox-group>\n", components: [{ type: i4__namespace$2.NzCheckboxGroupComponent, selector: "nz-checkbox-group", inputs: ["nzDisabled"], exportAs: ["nzCheckboxGroup"] }], directives: [{ type: i2__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i2__namespace.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DCheckboxComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'app-d-checkbox',
                        templateUrl: './d-checkbox.component.html',
                        providers: [
                            {
                                provide: i2.NG_VALUE_ACCESSOR,
                                useExisting: i0.forwardRef(function () { return DCheckboxComponent; }),
                                multi: true
                            }
                        ]
                    }]
            }], ctorParameters: function () { return []; } });

    var DSelectComponent = /** @class */ (function (_super) {
        __extends(DSelectComponent, _super);
        function DSelectComponent() {
            return _super.call(this) || this;
        }
        DSelectComponent.prototype.configChange = function (config) {
            if (typeof config.showSearch !== 'boolean') {
                config.showSearch = true;
            }
            if (typeof config.allowClear !== 'boolean') {
                config.allowClear = true;
            }
            if (!Array.isArray(config.dataSource)) {
                config.dataSource = [
                    {
                        value: '1',
                        label: '选项1'
                    },
                    {
                        value: '2',
                        label: '选项2'
                    },
                    {
                        value: '3',
                        label: '选项3'
                    }
                ];
            }
        };
        return DSelectComponent;
    }(DynamicComponentBase));
    DSelectComponent.KEY = 'd-select';
    DSelectComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DSelectComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
    DSelectComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: DSelectComponent, selector: "app-d-select", providers: [
            {
                provide: i2.NG_VALUE_ACCESSOR,
                useExisting: i0.forwardRef(function () { return DSelectComponent; }),
                multi: true
            }
        ], usesInheritance: true, ngImport: i0__namespace, template: "<nz-select\n  [name]=\"config.name\"\n  [nzShowSearch]=\"config.showSearch\"\n  [nzAllowClear]=\"config.allowClear\"\n  [nzPlaceHolder]=\"config.placeholder\"\n  [(ngModel)]=\"config.value\"\n  (ngModelChange)=\"onChange($event)\"\n  [required]=\"config.required\"\n>\n  <ng-container *ngFor=\"let item of config.dataSource\">\n    <nz-option [nzLabel]=\"item.label\" [nzValue]=\"item.value\"></nz-option>\n  </ng-container>\n</nz-select>\n", components: [{ type: i2__namespace$2.NzSelectComponent, selector: "nz-select", inputs: ["nzId", "nzSize", "nzOptionHeightPx", "nzOptionOverflowSize", "nzDropdownClassName", "nzDropdownMatchSelectWidth", "nzDropdownStyle", "nzNotFoundContent", "nzPlaceHolder", "nzMaxTagCount", "nzDropdownRender", "nzCustomTemplate", "nzSuffixIcon", "nzClearIcon", "nzRemoveIcon", "nzMenuItemSelectedIcon", "nzTokenSeparators", "nzMaxTagPlaceholder", "nzMaxMultipleCount", "nzMode", "nzFilterOption", "compareWith", "nzAllowClear", "nzBorderless", "nzShowSearch", "nzLoading", "nzAutoFocus", "nzAutoClearSearchValue", "nzServerSearch", "nzDisabled", "nzOpen", "nzBackdrop", "nzOptions", "nzShowArrow"], outputs: ["nzOnSearch", "nzScrollToBottom", "nzOpenChange", "nzBlur", "nzFocus"], exportAs: ["nzSelect"] }, { type: i2__namespace$2.NzOptionComponent, selector: "nz-option", inputs: ["nzLabel", "nzValue", "nzDisabled", "nzHide", "nzCustomContent"], exportAs: ["nzOption"] }], directives: [{ type: i2__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i2__namespace.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { type: i3__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DSelectComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'app-d-select',
                        templateUrl: './d-select.component.html',
                        providers: [
                            {
                                provide: i2.NG_VALUE_ACCESSOR,
                                useExisting: i0.forwardRef(function () { return DSelectComponent; }),
                                multi: true
                            }
                        ]
                    }]
            }], ctorParameters: function () { return []; } });

    // 名字改了  类名改了  后面的BaseId 和Id也根据Rdo来改
    var GDatePipe$1 = /** @class */ (function () {
        function GDatePipe() {
        }
        GDatePipe.prototype.transform = function (value, args) {
            if (value) {
                var timestamp = Date.parse(value);
                return moment__namespace(timestamp).format();
            }
        };
        return GDatePipe;
    }());
    GDatePipe$1.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: GDatePipe$1, deps: [], target: i0__namespace.ɵɵFactoryTarget.Pipe });
    GDatePipe$1.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: GDatePipe$1, name: "datePipe" });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: GDatePipe$1, decorators: [{
                type: i0.Pipe,
                args: [{
                        name: 'datePipe'
                    }]
            }] });

    var DDateComponent = /** @class */ (function (_super) {
        __extends(DDateComponent, _super);
        // @HostBinding('style.float') float = 'left';
        function DDateComponent() {
            var _this = _super.call(this) || this;
            _this.dateFormat = 'yyyy-MM-dd';
            return _this;
        }
        DDateComponent.prototype.configChange = function (config) {
            if (typeof config.allowClear !== 'boolean') {
                config.allowClear = true;
            }
            // config.value = '2021-12-12';
            // if (config.value) {
            //   config.value = new Date();
            //   console.log(config.value, ' config.value');
            // }
        };
        return DDateComponent;
    }(DynamicComponentBase));
    DDateComponent.KEY = 'd-date';
    DDateComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DDateComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
    DDateComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: DDateComponent, selector: "app-d-date", providers: [
            {
                provide: i2.NG_VALUE_ACCESSOR,
                useExisting: i0.forwardRef(function () { return DDateComponent; }),
                multi: true
            }
        ], usesInheritance: true, ngImport: i0__namespace, template: "<nz-date-picker\n  [name]=\"config.name\"\n  [nzPlaceHolder]=\"config.placeholder\"\n  [nzAllowClear]=\"config.allowClear\"\n  [ngModel]=\"config.value | datePipe\"\n  (ngModelChange)=\"onChange($event)\"\n  [nzFormat]=\"dateFormat\"\n  [required]=\"config.required\"\n  style=\"width: 100%\"\n></nz-date-picker>\n", components: [{ type: i1__namespace$2.NzDatePickerComponent, selector: "nz-date-picker,nz-week-picker,nz-month-picker,nz-year-picker,nz-range-picker", inputs: ["nzAllowClear", "nzAutoFocus", "nzDisabled", "nzBorderless", "nzInputReadOnly", "nzInline", "nzPlaceHolder", "nzPopupStyle", "nzSize", "nzShowToday", "nzMode", "nzShowNow", "nzDefaultPickerValue", "nzSeparator", "nzSuffixIcon", "nzBackdrop", "nzId", "nzShowTime", "nzFormat", "nzLocale", "nzOpen", "nzDisabledDate", "nzDropdownClassName", "nzDateRender", "nzDisabledTime", "nzRenderExtraFooter", "nzRanges"], outputs: ["nzOnPanelChange", "nzOnCalendarChange", "nzOnOk", "nzOnOpenChange"], exportAs: ["nzDatePicker"] }], directives: [{ type: i2__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i2__namespace.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }], pipes: { "datePipe": GDatePipe$1 } });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DDateComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'app-d-date',
                        templateUrl: './d-date.component.html',
                        providers: [
                            {
                                provide: i2.NG_VALUE_ACCESSOR,
                                useExisting: i0.forwardRef(function () { return DDateComponent; }),
                                multi: true
                            }
                        ]
                    }]
            }], ctorParameters: function () { return []; } });

    // 名字改了  类名改了  后面的BaseId 和Id也根据Rdo来改
    var GDateRangePipe$1 = /** @class */ (function () {
        function GDateRangePipe() {
        }
        GDateRangePipe.prototype.transform = function (value, args) {
            var start, end;
            if (value) {
                var valueArr = value.split(',');
                if (valueArr && valueArr[0]) {
                    var timestamp = Date.parse(valueArr[0]);
                    start = moment__namespace(timestamp).format();
                }
                if (valueArr && valueArr[1]) {
                    var timestamp = Date.parse(valueArr[1]);
                    end = moment__namespace(timestamp).format();
                }
                return [start, end];
            }
        };
        return GDateRangePipe;
    }());
    GDateRangePipe$1.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: GDateRangePipe$1, deps: [], target: i0__namespace.ɵɵFactoryTarget.Pipe });
    GDateRangePipe$1.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: GDateRangePipe$1, name: "dateRangePipe" });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: GDateRangePipe$1, decorators: [{
                type: i0.Pipe,
                args: [{
                        name: 'dateRangePipe'
                    }]
            }] });

    var DDateRangeComponent = /** @class */ (function (_super) {
        __extends(DDateRangeComponent, _super);
        function DDateRangeComponent() {
            var _this = _super.call(this) || this;
            _this.dateFormat = 'yyyy-MM-dd';
            return _this;
        }
        DDateRangeComponent.prototype.configChange = function (config) {
            if (typeof config.allowClear !== 'boolean') {
                config.allowClear = true;
            }
            // config.value = '2020-12-12,2020-12-20';
            // if (config.value && config.value.length) {
            //   let arr = config.value.split(',');
            //   config.value = arr;
            // }
            // if (config.placeholder && config.placeholder.length) {
            //   let arr = config.placeholder.split(',');
            //   config.placeholder = arr;
            // }
        };
        return DDateRangeComponent;
    }(DynamicComponentBase));
    DDateRangeComponent.KEY = 'd-date-range';
    DDateRangeComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DDateRangeComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
    DDateRangeComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: DDateRangeComponent, selector: "app-d-date-range", providers: [
            {
                provide: i2.NG_VALUE_ACCESSOR,
                useExisting: i0.forwardRef(function () { return DDateRangeComponent; }),
                multi: true
            }
        ], usesInheritance: true, ngImport: i0__namespace, template: "<nz-range-picker\n  [name]=\"config.name\"\n  [nzPlaceHolder]=\"config.placeholder\"\n  [nzAllowClear]=\"config.allowClear\"\n  [ngModel]=\"config.value | dateRangePipe\"\n  (ngModelChange)=\"onChange($event)\"\n  [nzFormat]=\"dateFormat\"\n  [required]=\"config.required\"\n  style=\"width: 100%\"\n></nz-range-picker>\n", components: [{ type: i1__namespace$2.NzDatePickerComponent, selector: "nz-date-picker,nz-week-picker,nz-month-picker,nz-year-picker,nz-range-picker", inputs: ["nzAllowClear", "nzAutoFocus", "nzDisabled", "nzBorderless", "nzInputReadOnly", "nzInline", "nzPlaceHolder", "nzPopupStyle", "nzSize", "nzShowToday", "nzMode", "nzShowNow", "nzDefaultPickerValue", "nzSeparator", "nzSuffixIcon", "nzBackdrop", "nzId", "nzShowTime", "nzFormat", "nzLocale", "nzOpen", "nzDisabledDate", "nzDropdownClassName", "nzDateRender", "nzDisabledTime", "nzRenderExtraFooter", "nzRanges"], outputs: ["nzOnPanelChange", "nzOnCalendarChange", "nzOnOk", "nzOnOpenChange"], exportAs: ["nzDatePicker"] }], directives: [{ type: i1__namespace$2.NzRangePickerComponent, selector: "nz-range-picker", exportAs: ["nzRangePicker"] }, { type: i2__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i2__namespace.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }], pipes: { "dateRangePipe": GDateRangePipe$1 } });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DDateRangeComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'app-d-date-range',
                        templateUrl: './d-date-range.component.html',
                        providers: [
                            {
                                provide: i2.NG_VALUE_ACCESSOR,
                                useExisting: i0.forwardRef(function () { return DDateRangeComponent; }),
                                multi: true
                            }
                        ]
                    }]
            }], ctorParameters: function () { return []; } });

    var DStringConfigComponent = /** @class */ (function (_super) {
        __extends(DStringConfigComponent, _super);
        function DStringConfigComponent() {
            return _super.call(this) || this;
        }
        DStringConfigComponent.prototype.configChange = function (config) {
            // if (!Array.isArray(config.value)) {
            //   config.value = [];
            // }
        };
        DStringConfigComponent.prototype.ngOnInit = function () { };
        return DStringConfigComponent;
    }(DynamicComponentBase));
    DStringConfigComponent.KEY = 'd-string-config';
    DStringConfigComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DStringConfigComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
    DStringConfigComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: DStringConfigComponent, selector: "app-d-string-config", usesInheritance: true, ngImport: i0__namespace, template: "<nz-form-item *ngIf=\"config\">\n  <nz-form-label [nzSpan]=\"6\">\u9ED8\u8BA4\u503C</nz-form-label>\n  <nz-form-control>\n    <input nz-input #nameInput=\"ngModel\" name=\"value\" type=\"text\" [(ngModel)]=\"config.value\" />\n  </nz-form-control>\n</nz-form-item>\n", components: [{ type: i1__namespace.NzFormItemComponent, selector: "nz-form-item", exportAs: ["nzFormItem"] }, { type: i1__namespace.NzFormLabelComponent, selector: "nz-form-label", inputs: ["nzRequired", "nzNoColon", "nzTooltipIcon", "nzFor", "nzTooltipTitle"], exportAs: ["nzFormLabel"] }, { type: i1__namespace.NzFormControlComponent, selector: "nz-form-control", inputs: ["nzAutoTips", "nzDisableAutoTips", "nzHasFeedback", "nzValidateStatus", "nzSuccessTip", "nzWarningTip", "nzErrorTip", "nzValidatingTip", "nzExtra"], exportAs: ["nzFormControl"] }], directives: [{ type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3__namespace$2.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { type: i3__namespace$2.NzColDirective, selector: "[nz-col],nz-col,nz-form-control,nz-form-label", inputs: ["nzFlex", "nzSpan", "nzOrder", "nzOffset", "nzPush", "nzPull", "nzXs", "nzSm", "nzMd", "nzLg", "nzXl", "nzXXl"], exportAs: ["nzCol"] }, { type: i4__namespace.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzSize", "disabled"], exportAs: ["nzInput"] }, { type: i2__namespace.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i2__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DStringConfigComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'app-d-string-config',
                        templateUrl: './d-string-config.component.html',
                        styles: []
                    }]
            }], ctorParameters: function () { return []; } });

    var DTextareaConfigComponent = /** @class */ (function (_super) {
        __extends(DTextareaConfigComponent, _super);
        function DTextareaConfigComponent() {
            return _super.call(this) || this;
        }
        DTextareaConfigComponent.prototype.configChange = function (config) { };
        return DTextareaConfigComponent;
    }(DynamicComponentBase));
    DTextareaConfigComponent.KEY = 'd-textarea-config';
    DTextareaConfigComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DTextareaConfigComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
    DTextareaConfigComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: DTextareaConfigComponent, selector: "app-d-textarea-config", usesInheritance: true, ngImport: i0__namespace, template: "<nz-form-item *ngIf=\"config\">\n  <nz-form-label [nzSpan]=\"6\">\u9ED8\u8BA4\u503C</nz-form-label>\n  <nz-form-control>\n    <input nz-input #nameInput=\"ngModel\" name=\"value\" type=\"text\" [(ngModel)]=\"config.value\" />\n  </nz-form-control>\n</nz-form-item>\n", components: [{ type: i1__namespace.NzFormItemComponent, selector: "nz-form-item", exportAs: ["nzFormItem"] }, { type: i1__namespace.NzFormLabelComponent, selector: "nz-form-label", inputs: ["nzRequired", "nzNoColon", "nzTooltipIcon", "nzFor", "nzTooltipTitle"], exportAs: ["nzFormLabel"] }, { type: i1__namespace.NzFormControlComponent, selector: "nz-form-control", inputs: ["nzAutoTips", "nzDisableAutoTips", "nzHasFeedback", "nzValidateStatus", "nzSuccessTip", "nzWarningTip", "nzErrorTip", "nzValidatingTip", "nzExtra"], exportAs: ["nzFormControl"] }], directives: [{ type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3__namespace$2.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { type: i3__namespace$2.NzColDirective, selector: "[nz-col],nz-col,nz-form-control,nz-form-label", inputs: ["nzFlex", "nzSpan", "nzOrder", "nzOffset", "nzPush", "nzPull", "nzXs", "nzSm", "nzMd", "nzLg", "nzXl", "nzXXl"], exportAs: ["nzCol"] }, { type: i4__namespace.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzSize", "disabled"], exportAs: ["nzInput"] }, { type: i2__namespace.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i2__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DTextareaConfigComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'app-d-textarea-config',
                        templateUrl: './d-textarea-config.component.html',
                        styles: []
                    }]
            }], ctorParameters: function () { return []; } });

    var DRadioConfigComponent = /** @class */ (function (_super) {
        __extends(DRadioConfigComponent, _super);
        function DRadioConfigComponent() {
            return _super.call(this) || this;
        }
        DRadioConfigComponent.prototype.configChange = function (config) { };
        DRadioConfigComponent.prototype.addRow = function () {
            var newRow = {
                value: '',
                label: ''
            };
            this.config.dataSource = __spreadArray(__spreadArray([], __read(this.config.dataSource)), [newRow]);
        };
        DRadioConfigComponent.prototype.deleteRow = function (i) {
            this.config.dataSource.splice(i, 1);
        };
        return DRadioConfigComponent;
    }(DynamicComponentBase));
    DRadioConfigComponent.KEY = 'd-radio-config';
    DRadioConfigComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DRadioConfigComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
    DRadioConfigComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: DRadioConfigComponent, selector: "app-d-radio-config", usesInheritance: true, ngImport: i0__namespace, template: "<ng-container *ngIf=\"config\">\n  <nz-form-item *ngIf=\"config\">\n    <nz-form-label [nzSpan]=\"6\">\u9ED8\u8BA4\u503C</nz-form-label>\n    <nz-form-control>\n      <input nz-input #nameInput=\"ngModel\" name=\"value\" type=\"text\" [(ngModel)]=\"config.value\" />\n    </nz-form-control>\n  </nz-form-item>\n\n  <nz-form-item>\n    <nz-form-label [nzSpan]=\"6\">\u5B57\u5178\u914D\u7F6E</nz-form-label>\n    <nz-form-control nzSpan=\"24\">\n      <nz-table nzSize=\"small\">\n        <ng-container *ngIf=\"data.dataSource.length\">\n          <tr *ngFor=\"let item of data.dataSource; let i = index\">\n            <td>\n              <input nz-input #nameInput=\"ngModel\" [name]=\"'label' + i\" type=\"text\" [(ngModel)]=\"item.label\" />\n            </td>\n            <td>\n              <input nz-input #nameInput=\"ngModel\" [name]=\"'value' + i\" type=\"text\" [(ngModel)]=\"item.value\" />\n            </td>\n            <!-- <td>\n                        <input nz-input #nameInput=\"ngModel\" [name]=\"'desc' + i\" type=\"text\" [(ngModel)]=\"item.desc\" />\n                    </td> -->\n            <td>\n              <button nz-button type=\"link\" (click)=\"deleteRow(i)\">\u5220\u9664</button>\n            </td>\n          </tr>\n        </ng-container>\n      </nz-table>\n      <button nz-button (click)=\"addRow()\">\u6DFB\u52A0\u5217</button>\n    </nz-form-control>\n  </nz-form-item>\n</ng-container>\n", components: [{ type: i1__namespace.NzFormItemComponent, selector: "nz-form-item", exportAs: ["nzFormItem"] }, { type: i1__namespace.NzFormLabelComponent, selector: "nz-form-label", inputs: ["nzRequired", "nzNoColon", "nzTooltipIcon", "nzFor", "nzTooltipTitle"], exportAs: ["nzFormLabel"] }, { type: i1__namespace.NzFormControlComponent, selector: "nz-form-control", inputs: ["nzAutoTips", "nzDisableAutoTips", "nzHasFeedback", "nzValidateStatus", "nzSuccessTip", "nzWarningTip", "nzErrorTip", "nzValidatingTip", "nzExtra"], exportAs: ["nzFormControl"] }, { type: i2__namespace$4.NzTableComponent, selector: "nz-table", inputs: ["nzTableLayout", "nzShowTotal", "nzItemRender", "nzTitle", "nzFooter", "nzNoResult", "nzPageSizeOptions", "nzVirtualItemSize", "nzVirtualMaxBufferPx", "nzVirtualMinBufferPx", "nzVirtualForTrackBy", "nzLoadingDelay", "nzPageIndex", "nzPageSize", "nzTotal", "nzWidthConfig", "nzData", "nzPaginationPosition", "nzScroll", "nzPaginationType", "nzFrontPagination", "nzTemplateMode", "nzShowPagination", "nzLoading", "nzOuterBordered", "nzLoadingIndicator", "nzBordered", "nzSize", "nzShowSizeChanger", "nzHideOnSinglePage", "nzShowQuickJumper", "nzSimple"], outputs: ["nzPageSizeChange", "nzPageIndexChange", "nzQueryParams", "nzCurrentPageDataChange"], exportAs: ["nzTable"] }, { type: i3__namespace$1.NzButtonComponent, selector: "button[nz-button], a[nz-button]", inputs: ["nzBlock", "nzGhost", "nzSearch", "nzLoading", "nzDanger", "disabled", "tabIndex", "nzType", "nzShape", "nzSize"], exportAs: ["nzButton"] }], directives: [{ type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3__namespace$2.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { type: i3__namespace$2.NzColDirective, selector: "[nz-col],nz-col,nz-form-control,nz-form-label", inputs: ["nzFlex", "nzSpan", "nzOrder", "nzOffset", "nzPush", "nzPull", "nzXs", "nzSm", "nzMd", "nzLg", "nzXl", "nzXXl"], exportAs: ["nzCol"] }, { type: i4__namespace.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzSize", "disabled"], exportAs: ["nzInput"] }, { type: i2__namespace.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i2__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i3__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2__namespace$4.NzTrDirective, selector: "tr:not([mat-row]):not([mat-header-row]):not([nz-table-measure-row]):not([nzExpand]):not([nz-table-fixed-row])" }, { type: i2__namespace$4.NzTableCellDirective, selector: "th:not(.nz-disable-th):not([mat-cell]), td:not(.nz-disable-td):not([mat-cell])" }, { type: i8__namespace.NzWaveDirective, selector: "[nz-wave],button[nz-button]:not([nzType=\"link\"]):not([nzType=\"text\"])", inputs: ["nzWaveExtraNode"], exportAs: ["nzWave"] }, { type: i9__namespace.ɵNzTransitionPatchDirective, selector: "[nz-button], nz-button-group, [nz-icon], [nz-menu-item], [nz-submenu], nz-select-top-control, nz-select-placeholder, nz-input-group", inputs: ["hidden"] }] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DRadioConfigComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'app-d-radio-config',
                        templateUrl: './d-radio-config.component.html',
                        styles: []
                    }]
            }], ctorParameters: function () { return []; } });

    var DCheckboxConfigComponent = /** @class */ (function (_super) {
        __extends(DCheckboxConfigComponent, _super);
        function DCheckboxConfigComponent() {
            return _super.call(this) || this;
        }
        DCheckboxConfigComponent.prototype.configChange = function (config) { };
        DCheckboxConfigComponent.prototype.addRow = function () {
            var newRow = {
                value: '',
                label: ''
            };
            this.config.dataSource = __spreadArray(__spreadArray([], __read(this.config.dataSource)), [newRow]);
        };
        DCheckboxConfigComponent.prototype.deleteRow = function (i) {
            this.config.dataSource.splice(i, 1);
        };
        return DCheckboxConfigComponent;
    }(DynamicComponentBase));
    DCheckboxConfigComponent.KEY = 'd-checkbox-config';
    DCheckboxConfigComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DCheckboxConfigComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
    DCheckboxConfigComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: DCheckboxConfigComponent, selector: "app-d-checkbox-config", usesInheritance: true, ngImport: i0__namespace, template: "<ng-container *ngIf=\"config\">\n  <nz-form-item *ngIf=\"config\">\n    <nz-form-label [nzSpan]=\"6\">\u9ED8\u8BA4\u503C</nz-form-label>\n    <nz-form-control>\n      <input nz-input #nameInput=\"ngModel\" name=\"value\" type=\"text\" [(ngModel)]=\"config.value\" />\n    </nz-form-control>\n  </nz-form-item>\n\n  <nz-form-item>\n    <nz-form-label [nzSpan]=\"6\">\u5B57\u5178\u914D\u7F6E</nz-form-label>\n    <nz-form-control nzSpan=\"24\">\n      <nz-table nzSize=\"small\">\n        <ng-container *ngIf=\"data.dataSource.length\">\n          <tr *ngFor=\"let item of data.dataSource; let i = index\">\n            <td>\n              <input nz-input #nameInput=\"ngModel\" [name]=\"'label' + i\" type=\"text\" [(ngModel)]=\"item.label\" />\n            </td>\n            <td>\n              <input nz-input #nameInput=\"ngModel\" [name]=\"'value' + i\" type=\"text\" [(ngModel)]=\"item.value\" />\n            </td>\n            <!-- <td>\n                      <input nz-input #nameInput=\"ngModel\" [name]=\"'desc' + i\" type=\"text\" [(ngModel)]=\"item.desc\" />\n                  </td> -->\n            <td>\n              <button nz-button type=\"link\" (click)=\"deleteRow(i)\">\u5220\u9664</button>\n            </td>\n          </tr>\n        </ng-container>\n      </nz-table>\n      <button nz-button (click)=\"addRow()\">\u6DFB\u52A0\u5217</button>\n    </nz-form-control>\n  </nz-form-item>\n</ng-container>\n", components: [{ type: i1__namespace.NzFormItemComponent, selector: "nz-form-item", exportAs: ["nzFormItem"] }, { type: i1__namespace.NzFormLabelComponent, selector: "nz-form-label", inputs: ["nzRequired", "nzNoColon", "nzTooltipIcon", "nzFor", "nzTooltipTitle"], exportAs: ["nzFormLabel"] }, { type: i1__namespace.NzFormControlComponent, selector: "nz-form-control", inputs: ["nzAutoTips", "nzDisableAutoTips", "nzHasFeedback", "nzValidateStatus", "nzSuccessTip", "nzWarningTip", "nzErrorTip", "nzValidatingTip", "nzExtra"], exportAs: ["nzFormControl"] }, { type: i2__namespace$4.NzTableComponent, selector: "nz-table", inputs: ["nzTableLayout", "nzShowTotal", "nzItemRender", "nzTitle", "nzFooter", "nzNoResult", "nzPageSizeOptions", "nzVirtualItemSize", "nzVirtualMaxBufferPx", "nzVirtualMinBufferPx", "nzVirtualForTrackBy", "nzLoadingDelay", "nzPageIndex", "nzPageSize", "nzTotal", "nzWidthConfig", "nzData", "nzPaginationPosition", "nzScroll", "nzPaginationType", "nzFrontPagination", "nzTemplateMode", "nzShowPagination", "nzLoading", "nzOuterBordered", "nzLoadingIndicator", "nzBordered", "nzSize", "nzShowSizeChanger", "nzHideOnSinglePage", "nzShowQuickJumper", "nzSimple"], outputs: ["nzPageSizeChange", "nzPageIndexChange", "nzQueryParams", "nzCurrentPageDataChange"], exportAs: ["nzTable"] }, { type: i3__namespace$1.NzButtonComponent, selector: "button[nz-button], a[nz-button]", inputs: ["nzBlock", "nzGhost", "nzSearch", "nzLoading", "nzDanger", "disabled", "tabIndex", "nzType", "nzShape", "nzSize"], exportAs: ["nzButton"] }], directives: [{ type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3__namespace$2.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { type: i3__namespace$2.NzColDirective, selector: "[nz-col],nz-col,nz-form-control,nz-form-label", inputs: ["nzFlex", "nzSpan", "nzOrder", "nzOffset", "nzPush", "nzPull", "nzXs", "nzSm", "nzMd", "nzLg", "nzXl", "nzXXl"], exportAs: ["nzCol"] }, { type: i4__namespace.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzSize", "disabled"], exportAs: ["nzInput"] }, { type: i2__namespace.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i2__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i3__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2__namespace$4.NzTrDirective, selector: "tr:not([mat-row]):not([mat-header-row]):not([nz-table-measure-row]):not([nzExpand]):not([nz-table-fixed-row])" }, { type: i2__namespace$4.NzTableCellDirective, selector: "th:not(.nz-disable-th):not([mat-cell]), td:not(.nz-disable-td):not([mat-cell])" }, { type: i8__namespace.NzWaveDirective, selector: "[nz-wave],button[nz-button]:not([nzType=\"link\"]):not([nzType=\"text\"])", inputs: ["nzWaveExtraNode"], exportAs: ["nzWave"] }, { type: i9__namespace.ɵNzTransitionPatchDirective, selector: "[nz-button], nz-button-group, [nz-icon], [nz-menu-item], [nz-submenu], nz-select-top-control, nz-select-placeholder, nz-input-group", inputs: ["hidden"] }] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DCheckboxConfigComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'app-d-checkbox-config',
                        templateUrl: './d-checkbox-config.component.html',
                        styles: []
                    }]
            }], ctorParameters: function () { return []; } });

    var DNumberConfigComponent = /** @class */ (function (_super) {
        __extends(DNumberConfigComponent, _super);
        function DNumberConfigComponent() {
            return _super.call(this) || this;
        }
        DNumberConfigComponent.prototype.configChange = function (config) {
            // if (!Array.isArray(config.value)) {
            //   config.value = [];
            // }
        };
        return DNumberConfigComponent;
    }(DynamicComponentBase));
    DNumberConfigComponent.KEY = 'd-number-config';
    DNumberConfigComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DNumberConfigComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
    DNumberConfigComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: DNumberConfigComponent, selector: "app-d-number-config", usesInheritance: true, ngImport: i0__namespace, template: "<nz-form-item *ngIf=\"config\">\n  <nz-form-label [nzSpan]=\"6\">\u9ED8\u8BA4\u503C</nz-form-label>\n  <nz-form-control>\n    <nz-input-number #nameInput=\"ngModel\" name=\"value\" type=\"number\" [(ngModel)]=\"config.value\" style=\"width: 100%\"></nz-input-number>\n  </nz-form-control>\n</nz-form-item>\n", components: [{ type: i1__namespace.NzFormItemComponent, selector: "nz-form-item", exportAs: ["nzFormItem"] }, { type: i1__namespace.NzFormLabelComponent, selector: "nz-form-label", inputs: ["nzRequired", "nzNoColon", "nzTooltipIcon", "nzFor", "nzTooltipTitle"], exportAs: ["nzFormLabel"] }, { type: i1__namespace.NzFormControlComponent, selector: "nz-form-control", inputs: ["nzAutoTips", "nzDisableAutoTips", "nzHasFeedback", "nzValidateStatus", "nzSuccessTip", "nzWarningTip", "nzErrorTip", "nzValidatingTip", "nzExtra"], exportAs: ["nzFormControl"] }, { type: i2__namespace$1.NzInputNumberComponent, selector: "nz-input-number", inputs: ["nzSize", "nzMin", "nzMax", "nzParser", "nzPrecisionMode", "nzPlaceHolder", "nzStep", "nzInputMode", "nzId", "nzDisabled", "nzAutoFocus", "nzFormatter", "nzPrecision"], outputs: ["nzBlur", "nzFocus"], exportAs: ["nzInputNumber"] }], directives: [{ type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3__namespace$2.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { type: i3__namespace$2.NzColDirective, selector: "[nz-col],nz-col,nz-form-control,nz-form-label", inputs: ["nzFlex", "nzSpan", "nzOrder", "nzOffset", "nzPush", "nzPull", "nzXs", "nzSm", "nzMd", "nzLg", "nzXl", "nzXXl"], exportAs: ["nzCol"] }, { type: i2__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DNumberConfigComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'app-d-number-config',
                        templateUrl: './d-number-config.component.html',
                        styles: []
                    }]
            }], ctorParameters: function () { return []; } });

    var DDateConfigComponent = /** @class */ (function (_super) {
        __extends(DDateConfigComponent, _super);
        function DDateConfigComponent() {
            return _super.call(this) || this;
        }
        DDateConfigComponent.prototype.configChange = function (config) { };
        return DDateConfigComponent;
    }(DynamicComponentBase));
    DDateConfigComponent.KEY = 'd-date-config';
    DDateConfigComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DDateConfigComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
    DDateConfigComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: DDateConfigComponent, selector: "app-d-date-config", usesInheritance: true, ngImport: i0__namespace, template: "<nz-form-item *ngIf=\"config\">\n  <nz-form-label [nzSpan]=\"6\">\u9ED8\u8BA4\u503C</nz-form-label>\n  <nz-form-control>\n    <input nz-input #nameInput=\"ngModel\" name=\"value\" type=\"text\" [(ngModel)]=\"config.value\" />\n  </nz-form-control>\n</nz-form-item>\n", components: [{ type: i1__namespace.NzFormItemComponent, selector: "nz-form-item", exportAs: ["nzFormItem"] }, { type: i1__namespace.NzFormLabelComponent, selector: "nz-form-label", inputs: ["nzRequired", "nzNoColon", "nzTooltipIcon", "nzFor", "nzTooltipTitle"], exportAs: ["nzFormLabel"] }, { type: i1__namespace.NzFormControlComponent, selector: "nz-form-control", inputs: ["nzAutoTips", "nzDisableAutoTips", "nzHasFeedback", "nzValidateStatus", "nzSuccessTip", "nzWarningTip", "nzErrorTip", "nzValidatingTip", "nzExtra"], exportAs: ["nzFormControl"] }], directives: [{ type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3__namespace$2.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { type: i3__namespace$2.NzColDirective, selector: "[nz-col],nz-col,nz-form-control,nz-form-label", inputs: ["nzFlex", "nzSpan", "nzOrder", "nzOffset", "nzPush", "nzPull", "nzXs", "nzSm", "nzMd", "nzLg", "nzXl", "nzXXl"], exportAs: ["nzCol"] }, { type: i4__namespace.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzSize", "disabled"], exportAs: ["nzInput"] }, { type: i2__namespace.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i2__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DDateConfigComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'app-d-date-config',
                        templateUrl: './d-date-config.component.html',
                        styles: []
                    }]
            }], ctorParameters: function () { return []; } });

    var DDateRangeConfigComponent = /** @class */ (function (_super) {
        __extends(DDateRangeConfigComponent, _super);
        function DDateRangeConfigComponent() {
            return _super.call(this) || this;
        }
        DDateRangeConfigComponent.prototype.configChange = function (config) {
            // if (!Array.isArray(config.value)) {
            //   config.value = [];
            // }
        };
        return DDateRangeConfigComponent;
    }(DynamicComponentBase));
    DDateRangeConfigComponent.KEY = 'd-date-range-config';
    DDateRangeConfigComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DDateRangeConfigComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
    DDateRangeConfigComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: DDateRangeConfigComponent, selector: "app-d-date-range-config", usesInheritance: true, ngImport: i0__namespace, template: "<nz-form-item *ngIf=\"config\">\n  <nz-form-label [nzSpan]=\"6\">\u9ED8\u8BA4\u503C</nz-form-label>\n  <nz-form-control>\n    <input nz-input #nameInput=\"ngModel\" name=\"value\" type=\"text\" [(ngModel)]=\"config.value\" />\n  </nz-form-control>\n</nz-form-item>\n", components: [{ type: i1__namespace.NzFormItemComponent, selector: "nz-form-item", exportAs: ["nzFormItem"] }, { type: i1__namespace.NzFormLabelComponent, selector: "nz-form-label", inputs: ["nzRequired", "nzNoColon", "nzTooltipIcon", "nzFor", "nzTooltipTitle"], exportAs: ["nzFormLabel"] }, { type: i1__namespace.NzFormControlComponent, selector: "nz-form-control", inputs: ["nzAutoTips", "nzDisableAutoTips", "nzHasFeedback", "nzValidateStatus", "nzSuccessTip", "nzWarningTip", "nzErrorTip", "nzValidatingTip", "nzExtra"], exportAs: ["nzFormControl"] }], directives: [{ type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3__namespace$2.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { type: i3__namespace$2.NzColDirective, selector: "[nz-col],nz-col,nz-form-control,nz-form-label", inputs: ["nzFlex", "nzSpan", "nzOrder", "nzOffset", "nzPush", "nzPull", "nzXs", "nzSm", "nzMd", "nzLg", "nzXl", "nzXXl"], exportAs: ["nzCol"] }, { type: i4__namespace.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzSize", "disabled"], exportAs: ["nzInput"] }, { type: i2__namespace.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i2__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DDateRangeConfigComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'app-d-date-range-config',
                        templateUrl: './d-date-range-config.component.html',
                        styles: []
                    }]
            }], ctorParameters: function () { return []; } });

    var DSelectConfigComponent = /** @class */ (function (_super) {
        __extends(DSelectConfigComponent, _super);
        function DSelectConfigComponent() {
            return _super.call(this) || this;
        }
        DSelectConfigComponent.prototype.configChange = function (config) { };
        DSelectConfigComponent.prototype.addRow = function () {
            var newRow = {
                value: '',
                label: ''
            };
            this.config.dataSource = __spreadArray(__spreadArray([], __read(this.config.dataSource)), [newRow]);
        };
        DSelectConfigComponent.prototype.deleteRow = function (i) {
            this.config.dataSource.splice(i, 1);
        };
        return DSelectConfigComponent;
    }(DynamicComponentBase));
    DSelectConfigComponent.KEY = 'd-select-config';
    DSelectConfigComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DSelectConfigComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
    DSelectConfigComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: DSelectConfigComponent, selector: "app-d-select-config", usesInheritance: true, ngImport: i0__namespace, template: "<ng-container *ngIf=\"config\">\n  <nz-form-item *ngIf=\"config\">\n    <nz-form-label [nzSpan]=\"6\">\u9ED8\u8BA4\u503C</nz-form-label>\n    <nz-form-control>\n      <input nz-input #nameInput=\"ngModel\" name=\"value\" type=\"text\" [(ngModel)]=\"config.value\" />\n    </nz-form-control>\n  </nz-form-item>\n\n  <nz-form-item>\n    <nz-form-label [nzSpan]=\"6\">\u5B57\u5178\u914D\u7F6E</nz-form-label>\n    <nz-form-control nzSpan=\"24\">\n      <nz-table nzSize=\"small\">\n        <ng-container *ngIf=\"data.dataSource.length\">\n          <tr *ngFor=\"let item of data.dataSource; let i = index\">\n            <td>\n              <input nz-input #nameInput=\"ngModel\" [name]=\"'label' + i\" type=\"text\" [(ngModel)]=\"item.label\" />\n            </td>\n            <td>\n              <input nz-input #nameInput=\"ngModel\" [name]=\"'value' + i\" type=\"text\" [(ngModel)]=\"item.value\" />\n            </td>\n            <!-- <td>\n                    <input nz-input #nameInput=\"ngModel\" [name]=\"'desc' + i\" type=\"text\" [(ngModel)]=\"item.desc\" />\n                </td> -->\n            <td>\n              <button nz-button type=\"link\" (click)=\"deleteRow(i)\">\u5220\u9664</button>\n            </td>\n          </tr>\n        </ng-container>\n      </nz-table>\n      <button nz-button (click)=\"addRow()\">\u6DFB\u52A0\u5217</button>\n    </nz-form-control>\n  </nz-form-item>\n</ng-container>\n", components: [{ type: i1__namespace.NzFormItemComponent, selector: "nz-form-item", exportAs: ["nzFormItem"] }, { type: i1__namespace.NzFormLabelComponent, selector: "nz-form-label", inputs: ["nzRequired", "nzNoColon", "nzTooltipIcon", "nzFor", "nzTooltipTitle"], exportAs: ["nzFormLabel"] }, { type: i1__namespace.NzFormControlComponent, selector: "nz-form-control", inputs: ["nzAutoTips", "nzDisableAutoTips", "nzHasFeedback", "nzValidateStatus", "nzSuccessTip", "nzWarningTip", "nzErrorTip", "nzValidatingTip", "nzExtra"], exportAs: ["nzFormControl"] }, { type: i2__namespace$4.NzTableComponent, selector: "nz-table", inputs: ["nzTableLayout", "nzShowTotal", "nzItemRender", "nzTitle", "nzFooter", "nzNoResult", "nzPageSizeOptions", "nzVirtualItemSize", "nzVirtualMaxBufferPx", "nzVirtualMinBufferPx", "nzVirtualForTrackBy", "nzLoadingDelay", "nzPageIndex", "nzPageSize", "nzTotal", "nzWidthConfig", "nzData", "nzPaginationPosition", "nzScroll", "nzPaginationType", "nzFrontPagination", "nzTemplateMode", "nzShowPagination", "nzLoading", "nzOuterBordered", "nzLoadingIndicator", "nzBordered", "nzSize", "nzShowSizeChanger", "nzHideOnSinglePage", "nzShowQuickJumper", "nzSimple"], outputs: ["nzPageSizeChange", "nzPageIndexChange", "nzQueryParams", "nzCurrentPageDataChange"], exportAs: ["nzTable"] }, { type: i3__namespace$1.NzButtonComponent, selector: "button[nz-button], a[nz-button]", inputs: ["nzBlock", "nzGhost", "nzSearch", "nzLoading", "nzDanger", "disabled", "tabIndex", "nzType", "nzShape", "nzSize"], exportAs: ["nzButton"] }], directives: [{ type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3__namespace$2.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { type: i3__namespace$2.NzColDirective, selector: "[nz-col],nz-col,nz-form-control,nz-form-label", inputs: ["nzFlex", "nzSpan", "nzOrder", "nzOffset", "nzPush", "nzPull", "nzXs", "nzSm", "nzMd", "nzLg", "nzXl", "nzXXl"], exportAs: ["nzCol"] }, { type: i4__namespace.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzSize", "disabled"], exportAs: ["nzInput"] }, { type: i2__namespace.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i2__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i3__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2__namespace$4.NzTrDirective, selector: "tr:not([mat-row]):not([mat-header-row]):not([nz-table-measure-row]):not([nzExpand]):not([nz-table-fixed-row])" }, { type: i2__namespace$4.NzTableCellDirective, selector: "th:not(.nz-disable-th):not([mat-cell]), td:not(.nz-disable-td):not([mat-cell])" }, { type: i8__namespace.NzWaveDirective, selector: "[nz-wave],button[nz-button]:not([nzType=\"link\"]):not([nzType=\"text\"])", inputs: ["nzWaveExtraNode"], exportAs: ["nzWave"] }, { type: i9__namespace.ɵNzTransitionPatchDirective, selector: "[nz-button], nz-button-group, [nz-icon], [nz-menu-item], [nz-submenu], nz-select-top-control, nz-select-placeholder, nz-input-group", inputs: ["hidden"] }] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DSelectConfigComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'app-d-select-config',
                        templateUrl: './d-select-config.component.html',
                        styles: []
                    }]
            }], ctorParameters: function () { return []; } });

    var DConNumberDecimalComponent = /** @class */ (function (_super) {
        __extends(DConNumberDecimalComponent, _super);
        function DConNumberDecimalComponent() {
            var _this = _super.call(this) || this;
            // @HostBinding('style.float') float = 'left';
            _this.ruleType = exports.ValidationRuleType;
            return _this;
        }
        DConNumberDecimalComponent.prototype.configChange = function (config) {
            if (typeof config.step !== 'number') {
                config.step = 1;
            }
            if (!config.effective) {
                config.effective = [];
            }
        };
        return DConNumberDecimalComponent;
    }(DynamicComponentBase));
    DConNumberDecimalComponent.KEY = 'd-con-number-decimal';
    DConNumberDecimalComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DConNumberDecimalComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
    DConNumberDecimalComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: DConNumberDecimalComponent, selector: "app-d-con-number-decimal", providers: [
            {
                provide: i2.NG_VALUE_ACCESSOR,
                useExisting: i0.forwardRef(function () { return DConNumberDecimalComponent; }),
                multi: true
            }
        ], usesInheritance: true, ngImport: i0__namespace, template: "<nz-row nzGutter=\"24\">\n  <nz-col [nzSm]=\"24\">\n    <nz-input-number\n      [name]=\"config.name\"\n      [nzPlaceHolder]=\"config.placeholder\"\n      [(ngModel)]=\"config.value\"\n      (ngModelChange)=\"onChange($event)\"\n      [nzPrecision]=\"config.precision\"\n      nzPrecisionMode=\"cut\"\n      [nzMin]=\"config.min\"\n      [nzMax]=\"config.max\"\n      [nzStep]=\"config.step\"\n      style=\"width: 100%\"\n      [required]=\"config.required\"\n    ></nz-input-number>\n  </nz-col>\n  <nz-col [nzSm]=\"24\" *ngIf=\"config.ruleType === ruleType.Limit\">\n    <app-limit-display [config]=\"config\"> </app-limit-display>\n  </nz-col>\n  <nz-col [nzSm]=\"24\" *ngIf=\"config.ruleType === ruleType.Effective && config.effective.length\">\n    <app-effective-display [config]=\"config\"> </app-effective-display>\n  </nz-col>\n</nz-row>\n", components: [{ type: i2__namespace$1.NzInputNumberComponent, selector: "nz-input-number", inputs: ["nzSize", "nzMin", "nzMax", "nzParser", "nzPrecisionMode", "nzPlaceHolder", "nzStep", "nzInputMode", "nzId", "nzDisabled", "nzAutoFocus", "nzFormatter", "nzPrecision"], outputs: ["nzBlur", "nzFocus"], exportAs: ["nzInputNumber"] }, { type: LimitDisplayComponent, selector: "app-limit-display", inputs: ["config"] }, { type: EffectiveDisplayComponent, selector: "app-effective-display", inputs: ["config"] }], directives: [{ type: i3__namespace$2.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { type: i3__namespace$2.NzColDirective, selector: "[nz-col],nz-col,nz-form-control,nz-form-label", inputs: ["nzFlex", "nzSpan", "nzOrder", "nzOffset", "nzPush", "nzPull", "nzXs", "nzSm", "nzMd", "nzLg", "nzXl", "nzXXl"], exportAs: ["nzCol"] }, { type: i2__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i2__namespace.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DConNumberDecimalComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'app-d-con-number-decimal',
                        templateUrl: './d-con-number-decimal.component.html',
                        providers: [
                            {
                                provide: i2.NG_VALUE_ACCESSOR,
                                useExisting: i0.forwardRef(function () { return DConNumberDecimalComponent; }),
                                multi: true
                            }
                        ]
                    }]
            }], ctorParameters: function () { return []; } });

    var DConNumberFloatComponent = /** @class */ (function (_super) {
        __extends(DConNumberFloatComponent, _super);
        function DConNumberFloatComponent() {
            var _this = _super.call(this) || this;
            // @HostBinding('style.float') float = 'left';
            _this.ruleType = exports.ValidationRuleType;
            return _this;
        }
        DConNumberFloatComponent.prototype.configChange = function (config) {
            if (typeof config.step !== 'number') {
                config.step = 1;
            }
            if (!config.effective) {
                config.effective = [];
            }
        };
        return DConNumberFloatComponent;
    }(DynamicComponentBase));
    DConNumberFloatComponent.KEY = 'd-con-number-float';
    DConNumberFloatComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DConNumberFloatComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
    DConNumberFloatComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: DConNumberFloatComponent, selector: "app-d-con-number-float", providers: [
            {
                provide: i2.NG_VALUE_ACCESSOR,
                useExisting: i0.forwardRef(function () { return DConNumberFloatComponent; }),
                multi: true
            }
        ], usesInheritance: true, ngImport: i0__namespace, template: "<nz-row nzGutter=\"24\">\n  <nz-col [nzSm]=\"24\">\n    <nz-input-number\n      [name]=\"config.name\"\n      [nzPlaceHolder]=\"config.placeholder\"\n      [(ngModel)]=\"config.value\"\n      (ngModelChange)=\"onChange($event)\"\n      [nzPrecision]=\"config.precision\"\n      nzPrecisionMode=\"cut\"\n      [nzMin]=\"config.min\"\n      [nzMax]=\"config.max\"\n      [nzStep]=\"config.step\"\n      style=\"width: 100%\"\n      [required]=\"config.required\"\n    ></nz-input-number>\n  </nz-col>\n  <nz-col [nzSm]=\"24\" *ngIf=\"config.ruleType === ruleType.Limit\">\n    <app-limit-display [config]=\"config\"> </app-limit-display>\n  </nz-col>\n  <nz-col [nzSm]=\"24\" *ngIf=\"config.ruleType === ruleType.Effective && config.effective.length\">\n    <app-effective-display [config]=\"config\"> </app-effective-display>\n  </nz-col>\n</nz-row>\n", components: [{ type: i2__namespace$1.NzInputNumberComponent, selector: "nz-input-number", inputs: ["nzSize", "nzMin", "nzMax", "nzParser", "nzPrecisionMode", "nzPlaceHolder", "nzStep", "nzInputMode", "nzId", "nzDisabled", "nzAutoFocus", "nzFormatter", "nzPrecision"], outputs: ["nzBlur", "nzFocus"], exportAs: ["nzInputNumber"] }, { type: LimitDisplayComponent, selector: "app-limit-display", inputs: ["config"] }, { type: EffectiveDisplayComponent, selector: "app-effective-display", inputs: ["config"] }], directives: [{ type: i3__namespace$2.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { type: i3__namespace$2.NzColDirective, selector: "[nz-col],nz-col,nz-form-control,nz-form-label", inputs: ["nzFlex", "nzSpan", "nzOrder", "nzOffset", "nzPush", "nzPull", "nzXs", "nzSm", "nzMd", "nzLg", "nzXl", "nzXXl"], exportAs: ["nzCol"] }, { type: i2__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i2__namespace.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DConNumberFloatComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'app-d-con-number-float',
                        templateUrl: './d-con-number-float.component.html',
                        providers: [
                            {
                                provide: i2.NG_VALUE_ACCESSOR,
                                useExisting: i0.forwardRef(function () { return DConNumberFloatComponent; }),
                                multi: true
                            }
                        ]
                    }]
            }], ctorParameters: function () { return []; } });

    var DConNumberIntegerComponent = /** @class */ (function (_super) {
        __extends(DConNumberIntegerComponent, _super);
        function DConNumberIntegerComponent() {
            var _this = _super.call(this) || this;
            _this.ruleType = exports.ValidationRuleType;
            return _this;
        }
        DConNumberIntegerComponent.prototype.configChange = function (config) {
            if (typeof config.step !== 'number') {
                config.step = 1;
            }
            if (!config.effective) {
                config.effective = [];
            }
        };
        return DConNumberIntegerComponent;
    }(DynamicComponentBase));
    DConNumberIntegerComponent.KEY = 'd-con-number-integer';
    DConNumberIntegerComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DConNumberIntegerComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
    DConNumberIntegerComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: DConNumberIntegerComponent, selector: "app-d-con-number-integer", providers: [
            {
                provide: i2.NG_VALUE_ACCESSOR,
                useExisting: i0.forwardRef(function () { return DConNumberIntegerComponent; }),
                multi: true
            }
        ], usesInheritance: true, ngImport: i0__namespace, template: "<nz-row nzGutter=\"24\">\n  <nz-col [nzSm]=\"24\">\n    <nz-input-number\n      [name]=\"config.name\"\n      [nzPlaceHolder]=\"config.placeholder\"\n      [(ngModel)]=\"config.value\"\n      (ngModelChange)=\"onChange($event)\"\n      [nzPrecision]=\"0\"\n      nzPrecisionMode=\"cut\"\n      [nzMin]=\"config.min\"\n      [nzMax]=\"config.max\"\n      [nzStep]=\"config.step\"\n      style=\"width: 100%\"\n      [required]=\"config.required\"\n    ></nz-input-number>\n  </nz-col>\n  <nz-col [nzSm]=\"24\" *ngIf=\"config.ruleType === ruleType.Limit\">\n    <app-limit-display [config]=\"config\"> </app-limit-display>\n  </nz-col>\n  <nz-col [nzSm]=\"24\" *ngIf=\"config.ruleType === ruleType.Effective && config.effective.length\">\n    <app-effective-display [config]=\"config\"> </app-effective-display>\n  </nz-col>\n</nz-row>\n", components: [{ type: i2__namespace$1.NzInputNumberComponent, selector: "nz-input-number", inputs: ["nzSize", "nzMin", "nzMax", "nzParser", "nzPrecisionMode", "nzPlaceHolder", "nzStep", "nzInputMode", "nzId", "nzDisabled", "nzAutoFocus", "nzFormatter", "nzPrecision"], outputs: ["nzBlur", "nzFocus"], exportAs: ["nzInputNumber"] }, { type: LimitDisplayComponent, selector: "app-limit-display", inputs: ["config"] }, { type: EffectiveDisplayComponent, selector: "app-effective-display", inputs: ["config"] }], directives: [{ type: i3__namespace$2.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { type: i3__namespace$2.NzColDirective, selector: "[nz-col],nz-col,nz-form-control,nz-form-label", inputs: ["nzFlex", "nzSpan", "nzOrder", "nzOffset", "nzPush", "nzPull", "nzXs", "nzSm", "nzMd", "nzLg", "nzXl", "nzXXl"], exportAs: ["nzCol"] }, { type: i2__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i2__namespace.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DConNumberIntegerComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'app-d-con-number-integer',
                        templateUrl: './d-con-number-integer.component.html',
                        providers: [
                            {
                                provide: i2.NG_VALUE_ACCESSOR,
                                useExisting: i0.forwardRef(function () { return DConNumberIntegerComponent; }),
                                multi: true
                            }
                        ]
                    }]
            }], ctorParameters: function () { return []; } });

    var DConNumberDecimalConfigComponent = /** @class */ (function (_super) {
        __extends(DConNumberDecimalConfigComponent, _super);
        function DConNumberDecimalConfigComponent() {
            var _this = _super.call(this) || this;
            _this.dataType = exports.DataPointDataType;
            _this.ruleType = exports.ValidationRuleType;
            _this.rule = _this.ruleType.Limit;
            return _this;
        }
        DConNumberDecimalConfigComponent.prototype.ngOnInit = function () {
            /** 数据类型设置 */
            this.config.dataType = this.dataType.Decimal;
        };
        DConNumberDecimalConfigComponent.prototype.configChange = function (config) {
            this.typeChangeConfig(config.ruleType);
        };
        DConNumberDecimalConfigComponent.prototype.typeChangeConfig = function (obj) {
            this.rule = obj;
        };
        /**
         *
         * @param obj 类型切换
         */
        DConNumberDecimalConfigComponent.prototype.typeChange = function (obj) {
            this.rule = obj;
            if (obj === this.ruleType.Limit) {
                this.config.effective = [];
            }
            else if (obj === this.ruleType.Effective) {
                this.config.displayLimits = undefined; // 显示上下限
                this.config.lowerLimit = undefined; // 下限
                this.config.upperLimit = undefined; // 上限
                this.config.isLimitOverrideAllowed = undefined; // 是否允许超上下限
            }
        };
        return DConNumberDecimalConfigComponent;
    }(DynamicComponentBase));
    DConNumberDecimalConfigComponent.KEY = 'd-con-number-decimal-config';
    DConNumberDecimalConfigComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DConNumberDecimalConfigComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
    DConNumberDecimalConfigComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: DConNumberDecimalConfigComponent, selector: "app-d-con-number-decimal-config", usesInheritance: true, ngImport: i0__namespace, template: "<nz-form-item *ngIf=\"config\">\n  <nz-form-label [nzSpan]=\"6\">\u9ED8\u8BA4\u503C</nz-form-label>\n  <nz-form-control>\n    <nz-input-number\n      #nameInput=\"ngModel\"\n      name=\"value\"\n      type=\"number\"\n      [(ngModel)]=\"config.value\"\n      [nzPrecision]=\"0\"\n      nzPrecisionMode=\"cut\"\n      style=\"width: 100%\"\n    ></nz-input-number>\n  </nz-form-control>\n</nz-form-item>\n<!-- \u6821\u9A8C\u65B9\u5F0F -->\n<nz-form-item *ngIf=\"config\">\n  <nz-form-label [nzSpan]=\"6\">\u6821\u9A8C\u65B9\u5F0F</nz-form-label>\n  <nz-form-control>\n    <nz-radio-group name=\"validationRuleType\" [(ngModel)]=\"config.ruleType\" (ngModelChange)=\"typeChange($event)\" style=\"width: 100%\">\n      <label nz-radio nzValue=\"Limit\">\u4E0A\u4E0B\u9650</label>\n      <label nz-radio nzValue=\"Effective\">\u6709\u6548\u503C</label>\n    </nz-radio-group>\n  </nz-form-control>\n</nz-form-item>\n\n<!-- \u662F\u5426\u663E\u793A\u4E0A\u4E0B\u9650 -->\n<nz-form-item *ngIf=\"rule == ruleType.Limit\">\n  <nz-form-label [nzSpan]=\"6\">\u662F\u5426\u663E\u793A\u4E0A\u4E0B\u9650</nz-form-label>\n  <nz-form-control>\n    <label nz-checkbox #editionNameInput=\"ngModel\" name=\"DisplayLimits\" [(ngModel)]=\"config.displayLimits\"></label>\n  </nz-form-control>\n</nz-form-item>\n\n<!-- \u662F\u5426\u5141\u8BB8\u8D85\u4E0A\u4E0B\u9650 -->\n<nz-form-item *ngIf=\"rule == ruleType.Limit\">\n  <nz-form-label [nzSpan]=\"6\">\u662F\u5426\u5141\u8BB8\u8D85\u4E0A\u4E0B\u9650</nz-form-label>\n  <nz-form-control>\n    <label nz-checkbox #editionNameInput=\"ngModel\" name=\"IsLimitOverrideAllowed\" [(ngModel)]=\"config.isLimitOverrideAllowed\"></label>\n  </nz-form-control>\n</nz-form-item>\n\n<!-- \u4E0B\u9650 -->\n<nz-form-item *ngIf=\"rule == ruleType.Limit\">\n  <nz-form-label [nzSpan]=\"6\">\u4E0B\u9650</nz-form-label>\n  <nz-form-control>\n    <nz-input-number\n      class=\"labelStyle\"\n      #editionNameInput=\"ngModel\"\n      [nzStep]=\"1\"\n      name=\"LowerLimit\"\n      [nzMax]=\"config.upperLimit\"\n      [(ngModel)]=\"config.lowerLimit\"\n    ></nz-input-number>\n  </nz-form-control>\n</nz-form-item>\n\n<!-- \u4E0A\u9650 -->\n<nz-form-item *ngIf=\"rule == ruleType.Limit\">\n  <nz-form-label [nzSpan]=\"6\">\u4E0A\u9650 </nz-form-label>\n  <nz-form-control>\n    <nz-input-number\n      class=\"labelStyle\"\n      #editionNameInput=\"ngModel\"\n      [nzStep]=\"1\"\n      [nzMin]=\"config.lowerLimit\"\n      name=\"UpperLimit\"\n      [(ngModel)]=\"config.upperLimit\"\n    ></nz-input-number>\n  </nz-form-control>\n</nz-form-item>\n\n<!-- \u6709\u6548\u503C -->\n<nz-form-item *ngIf=\"rule == ruleType.Effective\">\n  <nz-form-label [nzSpan]=\"6\">\u6709\u6548\u503C</nz-form-label>\n  <nz-form-control>\n    <app-tags-select name=\"effectiveSelect\" ngDefaultControl [dataType]=\"config.dataType\" [(ngModel)]=\"config.effective\"></app-tags-select>\n  </nz-form-control>\n</nz-form-item>\n", components: [{ type: i1__namespace.NzFormItemComponent, selector: "nz-form-item", exportAs: ["nzFormItem"] }, { type: i1__namespace.NzFormLabelComponent, selector: "nz-form-label", inputs: ["nzRequired", "nzNoColon", "nzTooltipIcon", "nzFor", "nzTooltipTitle"], exportAs: ["nzFormLabel"] }, { type: i1__namespace.NzFormControlComponent, selector: "nz-form-control", inputs: ["nzAutoTips", "nzDisableAutoTips", "nzHasFeedback", "nzValidateStatus", "nzSuccessTip", "nzWarningTip", "nzErrorTip", "nzValidatingTip", "nzExtra"], exportAs: ["nzFormControl"] }, { type: i2__namespace$1.NzInputNumberComponent, selector: "nz-input-number", inputs: ["nzSize", "nzMin", "nzMax", "nzParser", "nzPrecisionMode", "nzPlaceHolder", "nzStep", "nzInputMode", "nzId", "nzDisabled", "nzAutoFocus", "nzFormatter", "nzPrecision"], outputs: ["nzBlur", "nzFocus"], exportAs: ["nzInputNumber"] }, { type: i3__namespace$4.NzRadioGroupComponent, selector: "nz-radio-group", inputs: ["nzDisabled", "nzButtonStyle", "nzSize", "nzName"], exportAs: ["nzRadioGroup"] }, { type: i3__namespace$4.NzRadioComponent, selector: "[nz-radio],[nz-radio-button]", inputs: ["nzValue", "nzDisabled", "nzAutoFocus"], exportAs: ["nzRadio"] }, { type: i4__namespace$2.NzCheckboxComponent, selector: "[nz-checkbox]", inputs: ["nzValue", "nzAutoFocus", "nzDisabled", "nzIndeterminate", "nzChecked", "nzId"], outputs: ["nzCheckedChange"], exportAs: ["nzCheckbox"] }, { type: TagsSelectComponent, selector: "app-tags-select", inputs: ["dataType", "name", "value"], outputs: ["valueChange"] }], directives: [{ type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3__namespace$2.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { type: i3__namespace$2.NzColDirective, selector: "[nz-col],nz-col,nz-form-control,nz-form-label", inputs: ["nzFlex", "nzSpan", "nzOrder", "nzOffset", "nzPush", "nzPull", "nzXs", "nzSm", "nzMd", "nzLg", "nzXl", "nzXXl"], exportAs: ["nzCol"] }, { type: i2__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i2__namespace.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DConNumberDecimalConfigComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'app-d-con-number-decimal-config',
                        templateUrl: './d-con-number-decimal-config.component.html',
                        styles: []
                    }]
            }], ctorParameters: function () { return []; } });

    var DConNumberFloatConfigComponent = /** @class */ (function (_super) {
        __extends(DConNumberFloatConfigComponent, _super);
        function DConNumberFloatConfigComponent() {
            var _this = _super.call(this) || this;
            _this.dataType = exports.DataPointDataType;
            _this.ruleType = exports.ValidationRuleType;
            _this.rule = _this.ruleType.Limit;
            return _this;
        }
        DConNumberFloatConfigComponent.prototype.ngOnInit = function () {
            /** 数据类型设置 */
            this.config.dataType = this.dataType.Float;
        };
        DConNumberFloatConfigComponent.prototype.configChange = function (config) {
            this.typeChangeConfig(config.ruleType);
        };
        DConNumberFloatConfigComponent.prototype.typeChangeConfig = function (obj) {
            this.rule = obj;
        };
        /**
         *
         * @param obj 类型切换
         */
        DConNumberFloatConfigComponent.prototype.typeChange = function (obj) {
            this.rule = obj;
            if (obj === this.ruleType.Limit) {
                this.config.effective = [];
            }
            else if (obj === this.ruleType.Effective) {
                this.config.displayLimits = undefined; // 显示上下限
                this.config.lowerLimit = undefined; // 下限
                this.config.upperLimit = undefined; // 上限
                this.config.isLimitOverrideAllowed = undefined; // 是否允许超上下限
            }
        };
        return DConNumberFloatConfigComponent;
    }(DynamicComponentBase));
    DConNumberFloatConfigComponent.KEY = 'd-con-number-float-config';
    DConNumberFloatConfigComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DConNumberFloatConfigComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
    DConNumberFloatConfigComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: DConNumberFloatConfigComponent, selector: "app-d-number-float-config", usesInheritance: true, ngImport: i0__namespace, template: "<nz-form-item *ngIf=\"config\">\n  <nz-form-label [nzSpan]=\"6\">\u9ED8\u8BA4\u503C</nz-form-label>\n  <nz-form-control>\n    <nz-input-number\n      #nameInput=\"ngModel\"\n      name=\"value\"\n      type=\"number\"\n      [(ngModel)]=\"config.value\"\n      [nzPrecision]=\"0\"\n      nzPrecisionMode=\"cut\"\n      style=\"width: 100%\"\n    ></nz-input-number>\n  </nz-form-control>\n</nz-form-item>\n<!-- \u6821\u9A8C\u65B9\u5F0F -->\n<nz-form-item *ngIf=\"config\">\n  <nz-form-label [nzSpan]=\"6\">\u6821\u9A8C\u65B9\u5F0F</nz-form-label>\n  <nz-form-control>\n    <nz-radio-group name=\"validationRuleType\" [(ngModel)]=\"config.ruleType\" (ngModelChange)=\"typeChange($event)\" style=\"width: 100%\">\n      <label nz-radio nzValue=\"Limit\">\u4E0A\u4E0B\u9650</label>\n      <label nz-radio nzValue=\"Effective\">\u6709\u6548\u503C</label>\n    </nz-radio-group>\n  </nz-form-control>\n</nz-form-item>\n\n<!-- \u662F\u5426\u663E\u793A\u4E0A\u4E0B\u9650 -->\n<nz-form-item *ngIf=\"rule == ruleType.Limit\">\n  <nz-form-label [nzSpan]=\"6\">\u662F\u5426\u663E\u793A\u4E0A\u4E0B\u9650</nz-form-label>\n  <nz-form-control>\n    <label nz-checkbox #editionNameInput=\"ngModel\" name=\"DisplayLimits\" [(ngModel)]=\"config.displayLimits\"></label>\n  </nz-form-control>\n</nz-form-item>\n\n<!-- \u662F\u5426\u5141\u8BB8\u8D85\u4E0A\u4E0B\u9650 -->\n<nz-form-item *ngIf=\"rule == ruleType.Limit\">\n  <nz-form-label [nzSpan]=\"6\">\u662F\u5426\u5141\u8BB8\u8D85\u4E0A\u4E0B\u9650</nz-form-label>\n  <nz-form-control>\n    <label nz-checkbox #editionNameInput=\"ngModel\" name=\"IsLimitOverrideAllowed\" [(ngModel)]=\"config.isLimitOverrideAllowed\"></label>\n  </nz-form-control>\n</nz-form-item>\n\n<!-- \u4E0B\u9650 -->\n<nz-form-item *ngIf=\"rule == ruleType.Limit\">\n  <nz-form-label [nzSpan]=\"6\">\u4E0B\u9650</nz-form-label>\n  <nz-form-control>\n    <nz-input-number\n      class=\"labelStyle\"\n      #editionNameInput=\"ngModel\"\n      [nzStep]=\"1\"\n      name=\"LowerLimit\"\n      [nzMax]=\"config.upperLimit\"\n      [(ngModel)]=\"config.lowerLimit\"\n    ></nz-input-number>\n  </nz-form-control>\n</nz-form-item>\n\n<!-- \u4E0A\u9650 -->\n<nz-form-item *ngIf=\"rule == ruleType.Limit\">\n  <nz-form-label [nzSpan]=\"6\">\u4E0A\u9650 </nz-form-label>\n  <nz-form-control>\n    <nz-input-number\n      class=\"labelStyle\"\n      #editionNameInput=\"ngModel\"\n      [nzStep]=\"1\"\n      [nzMin]=\"config.lowerLimit\"\n      name=\"UpperLimit\"\n      [(ngModel)]=\"config.upperLimit\"\n    ></nz-input-number>\n  </nz-form-control>\n</nz-form-item>\n\n<!-- \u6709\u6548\u503C -->\n<nz-form-item *ngIf=\"rule == ruleType.Effective\">\n  <nz-form-label [nzSpan]=\"6\">\u6709\u6548\u503C</nz-form-label>\n  <nz-form-control>\n    <app-tags-select name=\"effectiveSelect\" ngDefaultControl [dataType]=\"config.dataType\" [(ngModel)]=\"config.effective\"></app-tags-select>\n  </nz-form-control>\n</nz-form-item>\n", components: [{ type: i1__namespace.NzFormItemComponent, selector: "nz-form-item", exportAs: ["nzFormItem"] }, { type: i1__namespace.NzFormLabelComponent, selector: "nz-form-label", inputs: ["nzRequired", "nzNoColon", "nzTooltipIcon", "nzFor", "nzTooltipTitle"], exportAs: ["nzFormLabel"] }, { type: i1__namespace.NzFormControlComponent, selector: "nz-form-control", inputs: ["nzAutoTips", "nzDisableAutoTips", "nzHasFeedback", "nzValidateStatus", "nzSuccessTip", "nzWarningTip", "nzErrorTip", "nzValidatingTip", "nzExtra"], exportAs: ["nzFormControl"] }, { type: i2__namespace$1.NzInputNumberComponent, selector: "nz-input-number", inputs: ["nzSize", "nzMin", "nzMax", "nzParser", "nzPrecisionMode", "nzPlaceHolder", "nzStep", "nzInputMode", "nzId", "nzDisabled", "nzAutoFocus", "nzFormatter", "nzPrecision"], outputs: ["nzBlur", "nzFocus"], exportAs: ["nzInputNumber"] }, { type: i3__namespace$4.NzRadioGroupComponent, selector: "nz-radio-group", inputs: ["nzDisabled", "nzButtonStyle", "nzSize", "nzName"], exportAs: ["nzRadioGroup"] }, { type: i3__namespace$4.NzRadioComponent, selector: "[nz-radio],[nz-radio-button]", inputs: ["nzValue", "nzDisabled", "nzAutoFocus"], exportAs: ["nzRadio"] }, { type: i4__namespace$2.NzCheckboxComponent, selector: "[nz-checkbox]", inputs: ["nzValue", "nzAutoFocus", "nzDisabled", "nzIndeterminate", "nzChecked", "nzId"], outputs: ["nzCheckedChange"], exportAs: ["nzCheckbox"] }, { type: TagsSelectComponent, selector: "app-tags-select", inputs: ["dataType", "name", "value"], outputs: ["valueChange"] }], directives: [{ type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3__namespace$2.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { type: i3__namespace$2.NzColDirective, selector: "[nz-col],nz-col,nz-form-control,nz-form-label", inputs: ["nzFlex", "nzSpan", "nzOrder", "nzOffset", "nzPush", "nzPull", "nzXs", "nzSm", "nzMd", "nzLg", "nzXl", "nzXXl"], exportAs: ["nzCol"] }, { type: i2__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i2__namespace.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DConNumberFloatConfigComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'app-d-number-float-config',
                        templateUrl: './d-number-float-config.component.html',
                        styles: []
                    }]
            }], ctorParameters: function () { return []; } });

    var DConNumberIntegerConfigComponent = /** @class */ (function (_super) {
        __extends(DConNumberIntegerConfigComponent, _super);
        function DConNumberIntegerConfigComponent() {
            var _this = _super.call(this) || this;
            _this.dataType = exports.DataPointDataType;
            _this.ruleType = exports.ValidationRuleType;
            _this.rule = _this.ruleType.Limit;
            return _this;
        }
        DConNumberIntegerConfigComponent.prototype.ngOnInit = function () {
            /** 数据类型设置 */
            this.config.dataType = this.dataType.Integer;
        };
        DConNumberIntegerConfigComponent.prototype.configChange = function (config) {
            this.typeChangeConfig(config.ruleType);
        };
        DConNumberIntegerConfigComponent.prototype.typeChangeConfig = function (obj) {
            this.rule = obj;
        };
        /**
         *
         * @param obj 类型切换
         */
        DConNumberIntegerConfigComponent.prototype.typeChange = function (obj) {
            this.rule = obj;
            if (obj === this.ruleType.Limit) {
                this.config.effective = [];
            }
            else if (obj === this.ruleType.Effective) {
                this.config.displayLimits = undefined; // 显示上下限
                this.config.lowerLimit = undefined; // 下限
                this.config.upperLimit = undefined; // 上限
                this.config.isLimitOverrideAllowed = undefined; // 是否允许超上下限
            }
        };
        return DConNumberIntegerConfigComponent;
    }(DynamicComponentBase));
    DConNumberIntegerConfigComponent.KEY = 'd-con-number-integer-config';
    DConNumberIntegerConfigComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DConNumberIntegerConfigComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
    DConNumberIntegerConfigComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: DConNumberIntegerConfigComponent, selector: "app-d-con-number-integer-config", usesInheritance: true, ngImport: i0__namespace, template: "<nz-form-item *ngIf=\"config\">\n  <nz-form-label [nzSpan]=\"6\">\u9ED8\u8BA4\u503C</nz-form-label>\n  <nz-form-control>\n    <nz-input-number\n      #nameInput=\"ngModel\"\n      name=\"value\"\n      type=\"number\"\n      [(ngModel)]=\"config.value\"\n      [nzPrecision]=\"0\"\n      nzPrecisionMode=\"cut\"\n      style=\"width: 100%\"\n    ></nz-input-number>\n  </nz-form-control>\n</nz-form-item>\n<!-- \u6821\u9A8C\u65B9\u5F0F -->\n<nz-form-item *ngIf=\"config\">\n  <nz-form-label [nzSpan]=\"6\">\u6821\u9A8C\u65B9\u5F0F</nz-form-label>\n  <nz-form-control>\n    <nz-radio-group name=\"validationRuleType\" [(ngModel)]=\"config.ruleType\" (ngModelChange)=\"typeChange($event)\" style=\"width: 100%\">\n      <label nz-radio nzValue=\"Limit\">\u4E0A\u4E0B\u9650</label>\n      <label nz-radio nzValue=\"Effective\">\u6709\u6548\u503C</label>\n    </nz-radio-group>\n  </nz-form-control>\n</nz-form-item>\n\n<!-- \u662F\u5426\u663E\u793A\u4E0A\u4E0B\u9650 -->\n<nz-form-item *ngIf=\"rule == ruleType.Limit\">\n  <nz-form-label [nzSpan]=\"6\">\u662F\u5426\u663E\u793A\u4E0A\u4E0B\u9650</nz-form-label>\n  <nz-form-control>\n    <label nz-checkbox #editionNameInput=\"ngModel\" name=\"DisplayLimits\" [(ngModel)]=\"config.displayLimits\"></label>\n  </nz-form-control>\n</nz-form-item>\n\n<!-- \u662F\u5426\u5141\u8BB8\u8D85\u4E0A\u4E0B\u9650 -->\n<nz-form-item *ngIf=\"rule == ruleType.Limit\">\n  <nz-form-label [nzSpan]=\"6\">\u662F\u5426\u5141\u8BB8\u8D85\u4E0A\u4E0B\u9650</nz-form-label>\n  <nz-form-control>\n    <label nz-checkbox #editionNameInput=\"ngModel\" name=\"IsLimitOverrideAllowed\" [(ngModel)]=\"config.isLimitOverrideAllowed\"></label>\n  </nz-form-control>\n</nz-form-item>\n\n<!-- \u4E0B\u9650 -->\n<nz-form-item *ngIf=\"rule == ruleType.Limit\">\n  <nz-form-label [nzSpan]=\"6\">\u4E0B\u9650</nz-form-label>\n  <nz-form-control>\n    <nz-input-number\n      class=\"labelStyle\"\n      #editionNameInput=\"ngModel\"\n      [nzStep]=\"1\"\n      [nzPrecision]=\"0\"\n      nzPrecisionMode=\"cut\"\n      name=\"LowerLimit\"\n      [nzMax]=\"config.upperLimit\"\n      [(ngModel)]=\"config.lowerLimit\"\n    ></nz-input-number>\n  </nz-form-control>\n</nz-form-item>\n\n<!-- \u4E0A\u9650 -->\n<nz-form-item *ngIf=\"rule == ruleType.Limit\">\n  <nz-form-label [nzSpan]=\"6\">\u4E0A\u9650 </nz-form-label>\n  <nz-form-control>\n    <nz-input-number\n      class=\"labelStyle\"\n      #editionNameInput=\"ngModel\"\n      [nzStep]=\"1\"\n      [nzMin]=\"config.lowerLimit\"\n      nzPrecisionMode=\"cut\"\n      [nzPrecision]=\"0\"\n      name=\"UpperLimit\"\n      [(ngModel)]=\"config.upperLimit\"\n    ></nz-input-number>\n  </nz-form-control>\n</nz-form-item>\n\n<!-- \u6709\u6548\u503C -->\n<nz-form-item *ngIf=\"rule == ruleType.Effective\">\n  <nz-form-label [nzSpan]=\"6\">\u6709\u6548\u503C</nz-form-label>\n  <nz-form-control>\n    <app-tags-select name=\"effectiveSelect\" ngDefaultControl [dataType]=\"config.dataType\" [(ngModel)]=\"config.effective\"></app-tags-select>\n  </nz-form-control>\n</nz-form-item>\n", components: [{ type: i1__namespace.NzFormItemComponent, selector: "nz-form-item", exportAs: ["nzFormItem"] }, { type: i1__namespace.NzFormLabelComponent, selector: "nz-form-label", inputs: ["nzRequired", "nzNoColon", "nzTooltipIcon", "nzFor", "nzTooltipTitle"], exportAs: ["nzFormLabel"] }, { type: i1__namespace.NzFormControlComponent, selector: "nz-form-control", inputs: ["nzAutoTips", "nzDisableAutoTips", "nzHasFeedback", "nzValidateStatus", "nzSuccessTip", "nzWarningTip", "nzErrorTip", "nzValidatingTip", "nzExtra"], exportAs: ["nzFormControl"] }, { type: i2__namespace$1.NzInputNumberComponent, selector: "nz-input-number", inputs: ["nzSize", "nzMin", "nzMax", "nzParser", "nzPrecisionMode", "nzPlaceHolder", "nzStep", "nzInputMode", "nzId", "nzDisabled", "nzAutoFocus", "nzFormatter", "nzPrecision"], outputs: ["nzBlur", "nzFocus"], exportAs: ["nzInputNumber"] }, { type: i3__namespace$4.NzRadioGroupComponent, selector: "nz-radio-group", inputs: ["nzDisabled", "nzButtonStyle", "nzSize", "nzName"], exportAs: ["nzRadioGroup"] }, { type: i3__namespace$4.NzRadioComponent, selector: "[nz-radio],[nz-radio-button]", inputs: ["nzValue", "nzDisabled", "nzAutoFocus"], exportAs: ["nzRadio"] }, { type: i4__namespace$2.NzCheckboxComponent, selector: "[nz-checkbox]", inputs: ["nzValue", "nzAutoFocus", "nzDisabled", "nzIndeterminate", "nzChecked", "nzId"], outputs: ["nzCheckedChange"], exportAs: ["nzCheckbox"] }, { type: TagsSelectComponent, selector: "app-tags-select", inputs: ["dataType", "name", "value"], outputs: ["valueChange"] }], directives: [{ type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3__namespace$2.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { type: i3__namespace$2.NzColDirective, selector: "[nz-col],nz-col,nz-form-control,nz-form-label", inputs: ["nzFlex", "nzSpan", "nzOrder", "nzOffset", "nzPush", "nzPull", "nzXs", "nzSm", "nzMd", "nzLg", "nzXl", "nzXXl"], exportAs: ["nzCol"] }, { type: i2__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i2__namespace.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DConNumberIntegerConfigComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'app-d-con-number-integer-config',
                        templateUrl: './d-con-number-integer-config.component.html',
                        styles: []
                    }]
            }], ctorParameters: function () { return []; } });

    var DConStringComponent = /** @class */ (function (_super) {
        __extends(DConStringComponent, _super);
        function DConStringComponent() {
            return _super.call(this) || this;
        }
        DConStringComponent.prototype.configChange = function (config) {
            if (!config.effective) {
                config.effective = [];
            }
        };
        return DConStringComponent;
    }(DynamicComponentBase));
    DConStringComponent.KEY = 'd-con-string';
    DConStringComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DConStringComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
    DConStringComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: DConStringComponent, selector: "app-d-con-string", providers: [
            {
                provide: i2.NG_VALUE_ACCESSOR,
                useExisting: i0.forwardRef(function () { return DConStringComponent; }),
                multi: true
            }
        ], usesInheritance: true, ngImport: i0__namespace, template: "<nz-row nzGutter=\"24\">\n  <nz-col [nzSm]=\"24\">\n    <input\n      nz-input\n      [name]=\"config.name\"\n      [placeholder]=\"config.placeholder\"\n      [(ngModel)]=\"config.value\"\n      (ngModelChange)=\"onChange($event)\"\n      [required]=\"config.required\"\n    />\n  </nz-col>\n  <nz-col [nzSm]=\"24\" *ngIf=\"config.effective.length\">\n    <app-effective-display [config]=\"config\"> </app-effective-display>\n  </nz-col>\n</nz-row>\n", components: [{ type: EffectiveDisplayComponent, selector: "app-effective-display", inputs: ["config"] }], directives: [{ type: i3__namespace$2.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { type: i3__namespace$2.NzColDirective, selector: "[nz-col],nz-col,nz-form-control,nz-form-label", inputs: ["nzFlex", "nzSpan", "nzOrder", "nzOffset", "nzPush", "nzPull", "nzXs", "nzSm", "nzMd", "nzLg", "nzXl", "nzXXl"], exportAs: ["nzCol"] }, { type: i4__namespace.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzSize", "disabled"], exportAs: ["nzInput"] }, { type: i2__namespace.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i2__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i2__namespace.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DConStringComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'app-d-con-string',
                        templateUrl: './d-con-string.component.html',
                        providers: [
                            {
                                provide: i2.NG_VALUE_ACCESSOR,
                                useExisting: i0.forwardRef(function () { return DConStringComponent; }),
                                multi: true
                            }
                        ]
                    }]
            }], ctorParameters: function () { return []; } });

    var DConStringConfigComponent = /** @class */ (function (_super) {
        __extends(DConStringConfigComponent, _super);
        function DConStringConfigComponent() {
            var _this = _super.call(this) || this;
            _this.dataType = exports.DataPointDataType;
            return _this;
        }
        DConStringConfigComponent.prototype.ngOnInit = function () {
            /** 数据类型设置 */
            this.config.dataType = this.dataType.String;
        };
        DConStringConfigComponent.prototype.configChange = function (config) { };
        return DConStringConfigComponent;
    }(DynamicComponentBase));
    DConStringConfigComponent.KEY = 'd-con-string-config';
    DConStringConfigComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DConStringConfigComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
    DConStringConfigComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: DConStringConfigComponent, selector: "app-d-con-string-config", usesInheritance: true, ngImport: i0__namespace, template: "<nz-form-item *ngIf=\"config\">\n  <nz-form-label [nzSpan]=\"6\">\u9ED8\u8BA4\u503C</nz-form-label>\n  <nz-form-control>\n    <input nz-input #nameInput=\"ngModel\" name=\"value\" [(ngModel)]=\"config.value\" />\n  </nz-form-control>\n</nz-form-item>\n<!-- \u6709\u6548\u503C -->\n<nz-form-item>\n  <nz-form-label [nzSpan]=\"6\">\u6709\u6548\u503C</nz-form-label>\n  <nz-form-control>\n    <app-tags-select name=\"effectiveSelect\" ngDefaultControl [dataType]=\"config.dataType\" [(ngModel)]=\"config.effective\"></app-tags-select>\n  </nz-form-control>\n</nz-form-item>\n", components: [{ type: i1__namespace.NzFormItemComponent, selector: "nz-form-item", exportAs: ["nzFormItem"] }, { type: i1__namespace.NzFormLabelComponent, selector: "nz-form-label", inputs: ["nzRequired", "nzNoColon", "nzTooltipIcon", "nzFor", "nzTooltipTitle"], exportAs: ["nzFormLabel"] }, { type: i1__namespace.NzFormControlComponent, selector: "nz-form-control", inputs: ["nzAutoTips", "nzDisableAutoTips", "nzHasFeedback", "nzValidateStatus", "nzSuccessTip", "nzWarningTip", "nzErrorTip", "nzValidatingTip", "nzExtra"], exportAs: ["nzFormControl"] }, { type: TagsSelectComponent, selector: "app-tags-select", inputs: ["dataType", "name", "value"], outputs: ["valueChange"] }], directives: [{ type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3__namespace$2.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { type: i3__namespace$2.NzColDirective, selector: "[nz-col],nz-col,nz-form-control,nz-form-label", inputs: ["nzFlex", "nzSpan", "nzOrder", "nzOffset", "nzPush", "nzPull", "nzXs", "nzSm", "nzMd", "nzLg", "nzXl", "nzXXl"], exportAs: ["nzCol"] }, { type: i4__namespace.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzSize", "disabled"], exportAs: ["nzInput"] }, { type: i2__namespace.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i2__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DConStringConfigComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'app-d-con-string-config',
                        templateUrl: './d-con-string-config.component.html',
                        styles: []
                    }]
            }], ctorParameters: function () { return []; } });

    var DConBooleanConfigComponent = /** @class */ (function (_super) {
        __extends(DConBooleanConfigComponent, _super);
        function DConBooleanConfigComponent() {
            var _this = _super.call(this) || this;
            _this.dataType = exports.DataPointDataType;
            return _this;
        }
        DConBooleanConfigComponent.prototype.ngOnInit = function () {
            /** 数据类型设置 */
            this.config.dataType = this.dataType.Boolean;
        };
        DConBooleanConfigComponent.prototype.configChange = function (config) {
            this.change(config.value);
        };
        DConBooleanConfigComponent.prototype.change = function (val) {
            if (typeof val !== 'boolean') {
                if (val === 'true') {
                    this.config.value = true;
                }
                else if (val === 'false') {
                    this.config.value = false;
                }
                else {
                    this.config.value = undefined;
                }
            }
            else {
                this.config.value = val;
            }
        };
        return DConBooleanConfigComponent;
    }(DynamicComponentBase));
    DConBooleanConfigComponent.KEY = 'd-con-boolean-config';
    DConBooleanConfigComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DConBooleanConfigComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
    DConBooleanConfigComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: DConBooleanConfigComponent, selector: "app-d-con-boolean-config", usesInheritance: true, ngImport: i0__namespace, template: "<ng-container *ngIf=\"config\">\n  <nz-form-item *ngIf=\"config\">\n    <nz-form-label [nzSpan]=\"6\">\u9ED8\u8BA4\u503C</nz-form-label>\n    <nz-form-control>\n      <input nz-input #nameInput=\"ngModel\" name=\"value\" type=\"text\" [ngModel]=\"config.value\" (ngModelChange)=\"change($event)\" />\n    </nz-form-control>\n  </nz-form-item>\n\n  <nz-form-item>\n    <nz-form-label [nzSpan]=\"6\">\u5B57\u5178\u914D\u7F6E</nz-form-label>\n    <nz-form-control nzSpan=\"24\">\n      <nz-table nzSize=\"small\">\n        <ng-container *ngIf=\"data.dataSource.length\">\n          <tr *ngFor=\"let item of data.dataSource; let i = index\">\n            <td>\n              <input nz-input #nameInput=\"ngModel\" [name]=\"'label' + i\" type=\"text\" [(ngModel)]=\"item.label\" />\n            </td>\n            <td>\n              {{ item.value }}\n            </td>\n          </tr>\n        </ng-container>\n      </nz-table>\n    </nz-form-control>\n  </nz-form-item>\n</ng-container>\n", components: [{ type: i1__namespace.NzFormItemComponent, selector: "nz-form-item", exportAs: ["nzFormItem"] }, { type: i1__namespace.NzFormLabelComponent, selector: "nz-form-label", inputs: ["nzRequired", "nzNoColon", "nzTooltipIcon", "nzFor", "nzTooltipTitle"], exportAs: ["nzFormLabel"] }, { type: i1__namespace.NzFormControlComponent, selector: "nz-form-control", inputs: ["nzAutoTips", "nzDisableAutoTips", "nzHasFeedback", "nzValidateStatus", "nzSuccessTip", "nzWarningTip", "nzErrorTip", "nzValidatingTip", "nzExtra"], exportAs: ["nzFormControl"] }, { type: i2__namespace$4.NzTableComponent, selector: "nz-table", inputs: ["nzTableLayout", "nzShowTotal", "nzItemRender", "nzTitle", "nzFooter", "nzNoResult", "nzPageSizeOptions", "nzVirtualItemSize", "nzVirtualMaxBufferPx", "nzVirtualMinBufferPx", "nzVirtualForTrackBy", "nzLoadingDelay", "nzPageIndex", "nzPageSize", "nzTotal", "nzWidthConfig", "nzData", "nzPaginationPosition", "nzScroll", "nzPaginationType", "nzFrontPagination", "nzTemplateMode", "nzShowPagination", "nzLoading", "nzOuterBordered", "nzLoadingIndicator", "nzBordered", "nzSize", "nzShowSizeChanger", "nzHideOnSinglePage", "nzShowQuickJumper", "nzSimple"], outputs: ["nzPageSizeChange", "nzPageIndexChange", "nzQueryParams", "nzCurrentPageDataChange"], exportAs: ["nzTable"] }], directives: [{ type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3__namespace$2.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { type: i3__namespace$2.NzColDirective, selector: "[nz-col],nz-col,nz-form-control,nz-form-label", inputs: ["nzFlex", "nzSpan", "nzOrder", "nzOffset", "nzPush", "nzPull", "nzXs", "nzSm", "nzMd", "nzLg", "nzXl", "nzXXl"], exportAs: ["nzCol"] }, { type: i4__namespace.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzSize", "disabled"], exportAs: ["nzInput"] }, { type: i2__namespace.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i2__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i3__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2__namespace$4.NzTrDirective, selector: "tr:not([mat-row]):not([mat-header-row]):not([nz-table-measure-row]):not([nzExpand]):not([nz-table-fixed-row])" }, { type: i2__namespace$4.NzTableCellDirective, selector: "th:not(.nz-disable-th):not([mat-cell]), td:not(.nz-disable-td):not([mat-cell])" }] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DConBooleanConfigComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'app-d-con-boolean-config',
                        templateUrl: './d-con-boolean-config.component.html',
                        styles: []
                    }]
            }], ctorParameters: function () { return []; } });

    var DConBooleanComponent = /** @class */ (function (_super) {
        __extends(DConBooleanComponent, _super);
        function DConBooleanComponent() {
            return _super.call(this) || this;
        }
        DConBooleanComponent.prototype.configChange = function (config) {
            if (!Array.isArray(config.dataSource)) {
                config.dataSource = [
                    {
                        value: true,
                        label: '是'
                    },
                    {
                        value: false,
                        label: '否'
                    }
                ];
            }
        };
        return DConBooleanComponent;
    }(DynamicComponentBase));
    DConBooleanComponent.KEY = 'd-con-boolean';
    DConBooleanComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DConBooleanComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
    DConBooleanComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: DConBooleanComponent, selector: "app-d-con-boolean", providers: [
            {
                provide: i2.NG_VALUE_ACCESSOR,
                useExisting: i0.forwardRef(function () { return DConBooleanComponent; }),
                multi: true
            }
        ], usesInheritance: true, ngImport: i0__namespace, template: "<nz-radio-group [name]=\"config.name\" [(ngModel)]=\"config.value\" (ngModelChange)=\"onChange($event)\" [required]=\"config.required\">\n  <ng-container *ngFor=\"let item of config.dataSource\">\n    <label nz-radio [nzValue]=\"item.value\">{{ item.label }}</label>\n  </ng-container>\n</nz-radio-group>\n", components: [{ type: i3__namespace$4.NzRadioGroupComponent, selector: "nz-radio-group", inputs: ["nzDisabled", "nzButtonStyle", "nzSize", "nzName"], exportAs: ["nzRadioGroup"] }, { type: i3__namespace$4.NzRadioComponent, selector: "[nz-radio],[nz-radio-button]", inputs: ["nzValue", "nzDisabled", "nzAutoFocus"], exportAs: ["nzRadio"] }], directives: [{ type: i2__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i2__namespace.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { type: i3__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DConBooleanComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'app-d-con-boolean',
                        templateUrl: './d-con-boolean.component.html',
                        providers: [
                            {
                                provide: i2.NG_VALUE_ACCESSOR,
                                useExisting: i0.forwardRef(function () { return DConBooleanComponent; }),
                                multi: true
                            }
                        ]
                    }]
            }], ctorParameters: function () { return []; } });

    var DConFixedConfigComponent = /** @class */ (function (_super) {
        __extends(DConFixedConfigComponent, _super);
        function DConFixedConfigComponent() {
            var _this = _super.call(this) || this;
            _this.dataType = exports.DataPointDataType;
            return _this;
        }
        DConFixedConfigComponent.prototype.ngOnInit = function () {
            /** 数据类型设置 */
            this.config.dataType = this.dataType.Fixed;
        };
        DConFixedConfigComponent.prototype.configChange = function (config) { };
        return DConFixedConfigComponent;
    }(DynamicComponentBase));
    DConFixedConfigComponent.KEY = 'd-con-fixed-config';
    DConFixedConfigComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DConFixedConfigComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
    DConFixedConfigComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: DConFixedConfigComponent, selector: "app-d-con-fixed-config", usesInheritance: true, ngImport: i0__namespace, template: "<nz-form-item *ngIf=\"config\">\n  <nz-form-label [nzSpan]=\"6\">\u9ED8\u8BA4\u503C</nz-form-label>\n  <nz-form-control>\n    <input\n      nz-input\n      [name]=\"config.name\"\n      [placeholder]=\"config.placeholder\"\n      [(ngModel)]=\"config.value\"\n      [required]=\"config.required\"\n      (ngModelChange)=\"onChange($event)\"\n    />\n  </nz-form-control>\n</nz-form-item>\n\n<!-- \u56FA\u5B9A\u503C -->\n<nz-form-item>\n  <nz-form-label [nzSpan]=\"6\">\u56FA\u5B9A\u503C</nz-form-label>\n  <nz-form-control>\n    <input nz-input name=\"fixedValue\" [(ngModel)]=\"config.fixedValue\" />\n  </nz-form-control>\n</nz-form-item>\n", components: [{ type: i1__namespace.NzFormItemComponent, selector: "nz-form-item", exportAs: ["nzFormItem"] }, { type: i1__namespace.NzFormLabelComponent, selector: "nz-form-label", inputs: ["nzRequired", "nzNoColon", "nzTooltipIcon", "nzFor", "nzTooltipTitle"], exportAs: ["nzFormLabel"] }, { type: i1__namespace.NzFormControlComponent, selector: "nz-form-control", inputs: ["nzAutoTips", "nzDisableAutoTips", "nzHasFeedback", "nzValidateStatus", "nzSuccessTip", "nzWarningTip", "nzErrorTip", "nzValidatingTip", "nzExtra"], exportAs: ["nzFormControl"] }], directives: [{ type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3__namespace$2.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { type: i3__namespace$2.NzColDirective, selector: "[nz-col],nz-col,nz-form-control,nz-form-label", inputs: ["nzFlex", "nzSpan", "nzOrder", "nzOffset", "nzPush", "nzPull", "nzXs", "nzSm", "nzMd", "nzLg", "nzXl", "nzXXl"], exportAs: ["nzCol"] }, { type: i4__namespace.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzSize", "disabled"], exportAs: ["nzInput"] }, { type: i2__namespace.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i2__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i2__namespace.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DConFixedConfigComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'app-d-con-fixed-config',
                        templateUrl: './d-con-fixed-config.component.html',
                        styles: []
                    }]
            }], ctorParameters: function () { return []; } });

    var DConFixedComponent = /** @class */ (function (_super) {
        __extends(DConFixedComponent, _super);
        function DConFixedComponent() {
            return _super.call(this) || this;
        }
        DConFixedComponent.prototype.configChange = function (config) {
            if (!config.effective) {
                config.effective = [];
            }
        };
        return DConFixedComponent;
    }(DynamicComponentBase));
    DConFixedComponent.KEY = 'd-con-fixed';
    DConFixedComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DConFixedComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
    DConFixedComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: DConFixedComponent, selector: "app-d-con-fixed", providers: [
            {
                provide: i2.NG_VALUE_ACCESSOR,
                useExisting: i0.forwardRef(function () { return DConFixedComponent; }),
                multi: true
            }
        ], usesInheritance: true, ngImport: i0__namespace, template: "<nz-row nzGutter=\"24\">\n  <nz-col [nzSm]=\"24\">\n    <input\n      nz-input\n      [name]=\"config.name\"\n      [placeholder]=\"config.placeholder\"\n      [(ngModel)]=\"config.value\"\n      (ngModelChange)=\"onChange($event)\"\n      [required]=\"config.required\"\n    />\n  </nz-col>\n  <nz-col [nzSm]=\"24\" *ngIf=\"config.fixedValue\">\n    <app-fixed-display [config]=\"config\"> </app-fixed-display>\n  </nz-col>\n</nz-row>\n", components: [{ type: FixedDisplayComponent, selector: "app-fixed-display", inputs: ["config"] }], directives: [{ type: i3__namespace$2.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { type: i3__namespace$2.NzColDirective, selector: "[nz-col],nz-col,nz-form-control,nz-form-label", inputs: ["nzFlex", "nzSpan", "nzOrder", "nzOffset", "nzPush", "nzPull", "nzXs", "nzSm", "nzMd", "nzLg", "nzXl", "nzXXl"], exportAs: ["nzCol"] }, { type: i4__namespace.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzSize", "disabled"], exportAs: ["nzInput"] }, { type: i2__namespace.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i2__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i2__namespace.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DConFixedComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'app-d-con-fixed',
                        templateUrl: './d-con-fixed.component.html',
                        providers: [
                            {
                                provide: i2.NG_VALUE_ACCESSOR,
                                useExisting: i0.forwardRef(function () { return DConFixedComponent; }),
                                multi: true
                            }
                        ]
                    }]
            }], ctorParameters: function () { return []; } });

    var DConTimestampConfigComponent = /** @class */ (function (_super) {
        __extends(DConTimestampConfigComponent, _super);
        function DConTimestampConfigComponent() {
            var _this = _super.call(this) || this;
            _this.dataType = exports.DataPointDataType;
            return _this;
        }
        DConTimestampConfigComponent.prototype.ngOnInit = function () {
            /** 数据类型设置 */
            this.config.dataType = this.dataType.Timestamp;
        };
        DConTimestampConfigComponent.prototype.configChange = function (config) { };
        return DConTimestampConfigComponent;
    }(DynamicComponentBase));
    DConTimestampConfigComponent.KEY = 'd-con-timestamp-config';
    DConTimestampConfigComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DConTimestampConfigComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
    DConTimestampConfigComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: DConTimestampConfigComponent, selector: "app-d-con-timestamp-config", usesInheritance: true, ngImport: i0__namespace, template: "<nz-form-item *ngIf=\"config\">\n  <nz-form-label [nzSpan]=\"6\">\u9ED8\u8BA4\u503C</nz-form-label>\n  <nz-form-control>\n    <d-date-picker\n      [nzShowTime]=\"true\"\n      nzFormat=\"yyyy-MM-dd HH:mm:ss\"\n      name=\"value\"\n      #nameInput=\"ngModel\"\n      [(ngModel)]=\"config.value\"\n    ></d-date-picker>\n  </nz-form-control>\n</nz-form-item>\n<!-- \u6709\u6548\u503C -->\n<nz-form-item>\n  <nz-form-label [nzSpan]=\"6\">\u6709\u6548\u503C</nz-form-label>\n  <nz-form-control>\n    <d-date-picker\n      [nzShowTime]=\"true\"\n      nzFormat=\"yyyy-MM-dd HH:mm:ss\"\n      name=\"effective\"\n      #effectiveInput=\"ngModel\"\n      [(ngModel)]=\"config.effective\"\n    ></d-date-picker>\n  </nz-form-control>\n</nz-form-item>\n", components: [{ type: i1__namespace.NzFormItemComponent, selector: "nz-form-item", exportAs: ["nzFormItem"] }, { type: i1__namespace.NzFormLabelComponent, selector: "nz-form-label", inputs: ["nzRequired", "nzNoColon", "nzTooltipIcon", "nzFor", "nzTooltipTitle"], exportAs: ["nzFormLabel"] }, { type: i1__namespace.NzFormControlComponent, selector: "nz-form-control", inputs: ["nzAutoTips", "nzDisableAutoTips", "nzHasFeedback", "nzValidateStatus", "nzSuccessTip", "nzWarningTip", "nzErrorTip", "nzValidatingTip", "nzExtra"], exportAs: ["nzFormControl"] }, { type: DatePickerComponent, selector: "d-date-picker", inputs: ["ngModel", "nzDisabledTime", "nzFormat", "nzRenderExtraFooter", "nzShowTime", "nzShowToday", "nzPlaceHolder"], outputs: ["nzOnOk", "ngModelChange"] }], directives: [{ type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3__namespace$2.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { type: i3__namespace$2.NzColDirective, selector: "[nz-col],nz-col,nz-form-control,nz-form-label", inputs: ["nzFlex", "nzSpan", "nzOrder", "nzOffset", "nzPush", "nzPull", "nzXs", "nzSm", "nzMd", "nzLg", "nzXl", "nzXXl"], exportAs: ["nzCol"] }, { type: i2__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DConTimestampConfigComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'app-d-con-timestamp-config',
                        templateUrl: './d-con-timestamp-config.component.html',
                        styles: []
                    }]
            }], ctorParameters: function () { return []; } });

    var DConTimestampComponent = /** @class */ (function (_super) {
        __extends(DConTimestampComponent, _super);
        function DConTimestampComponent() {
            return _super.call(this) || this;
        }
        DConTimestampComponent.prototype.configChange = function (config) { };
        return DConTimestampComponent;
    }(DynamicComponentBase));
    DConTimestampComponent.KEY = 'd-con-timestamp';
    DConTimestampComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DConTimestampComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
    DConTimestampComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: DConTimestampComponent, selector: "app-d-con-timestamp", providers: [
            {
                provide: i2.NG_VALUE_ACCESSOR,
                useExisting: i0.forwardRef(function () { return DConTimestampComponent; }),
                multi: true
            }
        ], usesInheritance: true, ngImport: i0__namespace, template: "<nz-row nzGutter=\"24\">\n  <nz-col [nzSm]=\"24\">\n    <d-date-picker\n      [nzShowTime]=\"true\"\n      nzFormat=\"yyyy-MM-dd HH:mm:ss\"\n      name=\"value\"\n      #nameInput=\"ngModel\"\n      [(ngModel)]=\"config.value\"\n      [required]=\"config.required\"\n      style=\"width: 100%\"\n    ></d-date-picker>\n  </nz-col>\n  <nz-col [nzSm]=\"24\" *ngIf=\"config.effective\">\n    <app-effective-display [config]=\"config\"> </app-effective-display>\n  </nz-col>\n</nz-row>\n", components: [{ type: DatePickerComponent, selector: "d-date-picker", inputs: ["ngModel", "nzDisabledTime", "nzFormat", "nzRenderExtraFooter", "nzShowTime", "nzShowToday", "nzPlaceHolder"], outputs: ["nzOnOk", "ngModelChange"] }, { type: EffectiveDisplayComponent, selector: "app-effective-display", inputs: ["config"] }], directives: [{ type: i3__namespace$2.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { type: i3__namespace$2.NzColDirective, selector: "[nz-col],nz-col,nz-form-control,nz-form-label", inputs: ["nzFlex", "nzSpan", "nzOrder", "nzOffset", "nzPush", "nzPull", "nzXs", "nzSm", "nzMd", "nzLg", "nzXl", "nzXXl"], exportAs: ["nzCol"] }, { type: i2__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i2__namespace.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DConTimestampComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'app-d-con-timestamp',
                        templateUrl: './d-con-timestamp.component.html',
                        providers: [
                            {
                                provide: i2.NG_VALUE_ACCESSOR,
                                useExisting: i0.forwardRef(function () { return DConTimestampComponent; }),
                                multi: true
                            }
                        ]
                    }]
            }], ctorParameters: function () { return []; } });

    var DTitleComponent = /** @class */ (function (_super) {
        __extends(DTitleComponent, _super);
        function DTitleComponent() {
            return _super.call(this) || this;
        }
        DTitleComponent.prototype.configChange = function (config) {
            if (typeof config.paddingLeft !== 'string') {
                config.paddingLeft = '10px';
            }
            if (typeof config.fontSize !== 'string') {
                config.fontSize = '18px';
            }
            if (typeof config.color !== 'string') {
                config.color = '#000000';
            }
            if (typeof config.weight !== 'number') {
                config.weight = '400';
            }
        };
        return DTitleComponent;
    }(DynamicComponentBase));
    DTitleComponent.KEY = 'd-title';
    DTitleComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DTitleComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
    DTitleComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: DTitleComponent, selector: "app-d-title", providers: [
            {
                provide: i2.NG_VALUE_ACCESSOR,
                useExisting: i0.forwardRef(function () { return DTitleComponent; }),
                multi: true
            }
        ], usesInheritance: true, ngImport: i0__namespace, template: "<div class=\"d-title\" [ngStyle]=\"{ paddingLeft: config.paddingLeft, fontSize: config.fontSize, color: config.color, weight: config.weight }\">\n  {{ config.label }}\n</div>\n", styles: [""], directives: [{ type: i3__namespace.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DTitleComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'app-d-title',
                        templateUrl: './d-title.component.html',
                        styles: [""],
                        providers: [
                            {
                                provide: i2.NG_VALUE_ACCESSOR,
                                useExisting: i0.forwardRef(function () { return DTitleComponent; }),
                                multi: true
                            }
                        ]
                    }]
            }], ctorParameters: function () { return []; } });

    var DTitleConfigComponent = /** @class */ (function (_super) {
        __extends(DTitleConfigComponent, _super);
        function DTitleConfigComponent() {
            return _super.call(this) || this;
        }
        DTitleConfigComponent.prototype.configChange = function (config) { };
        return DTitleConfigComponent;
    }(DynamicComponentBase));
    DTitleConfigComponent.KEY = 'd-title-config';
    DTitleConfigComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DTitleConfigComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
    DTitleConfigComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: DTitleConfigComponent, selector: "app-d-title-config", usesInheritance: true, ngImport: i0__namespace, template: "<nz-form-item *ngIf=\"config\">\n  <nz-form-label [nzSpan]=\"6\">\u8DDD\u5DE6\u8FB9\u8FB9\u8DDD</nz-form-label>\n  <nz-form-control>\n    <input nz-input #nameInput=\"ngModel\" name=\"paddingLeft\" type=\"text\" [(ngModel)]=\"config.paddingLeft\" />\n  </nz-form-control>\n</nz-form-item>\n\n<nz-form-item *ngIf=\"config\">\n  <nz-form-label [nzSpan]=\"6\">\u5B57\u4F53\u989C\u8272</nz-form-label>\n  <nz-form-control>\n    <!-- <color-sketch [color]=\"config.color\" (onChangeComplete)=\"changeComplete($event)\"></color-sketch> -->\n    <input nz-input #nameInput=\"ngModel\" name=\"value\" type=\"text\" [(ngModel)]=\"config.color\" />\n  </nz-form-control>\n</nz-form-item>\n\n<nz-form-item *ngIf=\"config\">\n  <nz-form-label [nzSpan]=\"6\">\u5B57\u4F53\u5927\u5C0F</nz-form-label>\n  <nz-form-control>\n    <input nz-input #nameInput=\"ngModel\" name=\"value\" type=\"text\" [(ngModel)]=\"config.fontSize\" />\n  </nz-form-control>\n</nz-form-item>\n<nz-form-item *ngIf=\"config\">\n  <nz-form-label [nzSpan]=\"6\">\u7C97\u4F53</nz-form-label>\n  <nz-form-control>\n    <input nz-input #nameInput=\"ngModel\" name=\"value\" type=\"text\" [(ngModel)]=\"config.weight\" />\n  </nz-form-control>\n</nz-form-item>\n", components: [{ type: i1__namespace.NzFormItemComponent, selector: "nz-form-item", exportAs: ["nzFormItem"] }, { type: i1__namespace.NzFormLabelComponent, selector: "nz-form-label", inputs: ["nzRequired", "nzNoColon", "nzTooltipIcon", "nzFor", "nzTooltipTitle"], exportAs: ["nzFormLabel"] }, { type: i1__namespace.NzFormControlComponent, selector: "nz-form-control", inputs: ["nzAutoTips", "nzDisableAutoTips", "nzHasFeedback", "nzValidateStatus", "nzSuccessTip", "nzWarningTip", "nzErrorTip", "nzValidatingTip", "nzExtra"], exportAs: ["nzFormControl"] }], directives: [{ type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3__namespace$2.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { type: i3__namespace$2.NzColDirective, selector: "[nz-col],nz-col,nz-form-control,nz-form-label", inputs: ["nzFlex", "nzSpan", "nzOrder", "nzOffset", "nzPush", "nzPull", "nzXs", "nzSm", "nzMd", "nzLg", "nzXl", "nzXXl"], exportAs: ["nzCol"] }, { type: i4__namespace.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzSize", "disabled"], exportAs: ["nzInput"] }, { type: i2__namespace.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i2__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DTitleConfigComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'app-d-title-config',
                        templateUrl: './d-title-config.component.html',
                        styles: []
                    }]
            }], ctorParameters: function () { return []; } });

    var DGroupsConfigComponent = /** @class */ (function (_super) {
        __extends(DGroupsConfigComponent, _super);
        function DGroupsConfigComponent() {
            return _super.call(this) || this;
        }
        DGroupsConfigComponent.prototype.configChange = function (config) {
            // if (!Array.isArray(config.value)) {
            //   config.value = [];
            // }
        };
        return DGroupsConfigComponent;
    }(DynamicComponentBase));
    DGroupsConfigComponent.KEY = 'd-group-config';
    DGroupsConfigComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DGroupsConfigComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
    DGroupsConfigComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: DGroupsConfigComponent, selector: "app-d-groups-config", usesInheritance: true, ngImport: i0__namespace, template: "" });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DGroupsConfigComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'app-d-groups-config',
                        templateUrl: './d-groups-config.component.html',
                        styles: []
                    }]
            }], ctorParameters: function () { return []; } });

    var DGroupsComponent = /** @class */ (function (_super) {
        __extends(DGroupsComponent, _super);
        function DGroupsComponent() {
            return _super.call(this) || this;
        }
        DGroupsComponent.prototype.ngAfterViewInit = function () { };
        DGroupsComponent.prototype.configChange = function (config) {
            if (!config.labelPosition) {
                config.labelPosition = 'top';
            }
        };
        DGroupsComponent.prototype.selectComponentChange = function (value) { };
        return DGroupsComponent;
    }(DynamicComponentBase));
    DGroupsComponent.KEY = 'd-group';
    DGroupsComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DGroupsComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
    DGroupsComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: DGroupsComponent, selector: "app-d-groups", providers: [
            {
                provide: i2.NG_VALUE_ACCESSOR,
                useExisting: i0.forwardRef(function () { return DGroupsComponent; }),
                multi: true
            }
        ], usesInheritance: true, ngImport: i0__namespace, template: "<!-- <div d-widget-form-render #widgetFormRender [(component)]=\"childrenComponent\" class=\"d-groups widget-form-container\"> </div> -->\n", styles: ["\n      .d-groups {\n        min-height: 100px;\n        background: #fff;\n        border: 1px dashed #ccc;\n        position: relative;\n        z-index: 1001;\n      }\n    "] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DGroupsComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'app-d-groups',
                        templateUrl: './d-groups.component.html',
                        styles: [
                            "\n      .d-groups {\n        min-height: 100px;\n        background: #fff;\n        border: 1px dashed #ccc;\n        position: relative;\n        z-index: 1001;\n      }\n    "
                        ],
                        providers: [
                            {
                                provide: i2.NG_VALUE_ACCESSOR,
                                useExisting: i0.forwardRef(function () { return DGroupsComponent; }),
                                multi: true
                            }
                        ]
                    }]
            }], ctorParameters: function () { return []; } });

    var DImageComponent = /** @class */ (function (_super) {
        __extends(DImageComponent, _super);
        function DImageComponent() {
            var _this = _super.call(this) || this;
            _this.fallback = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMIAAADDCAYAAADQvc6UAAABRWlDQ1BJQ0MgUHJvZmlsZQAAKJFjYGASSSwoyGFhYGDIzSspCnJ3UoiIjFJgf8LAwSDCIMogwMCcmFxc4BgQ4ANUwgCjUcG3awyMIPqyLsis7PPOq3QdDFcvjV3jOD1boQVTPQrgSkktTgbSf4A4LbmgqISBgTEFyFYuLykAsTuAbJEioKOA7DkgdjqEvQHEToKwj4DVhAQ5A9k3gGyB5IxEoBmML4BsnSQk8XQkNtReEOBxcfXxUQg1Mjc0dyHgXNJBSWpFCYh2zi+oLMpMzyhRcASGUqqCZ16yno6CkYGRAQMDKMwhqj/fAIcloxgHQqxAjIHBEugw5sUIsSQpBobtQPdLciLEVJYzMPBHMDBsayhILEqEO4DxG0txmrERhM29nYGBddr//5/DGRjYNRkY/l7////39v///y4Dmn+LgeHANwDrkl1AuO+pmgAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAwqADAAQAAAABAAAAwwAAAAD9b/HnAAAHlklEQVR4Ae3dP3PTWBSGcbGzM6GCKqlIBRV0dHRJFarQ0eUT8LH4BnRU0NHR0UEFVdIlFRV7TzRksomPY8uykTk/zewQfKw/9znv4yvJynLv4uLiV2dBoDiBf4qP3/ARuCRABEFAoBEgghggQAQZQKAnYEaQBAQaASKIAQJEkAEEegJmBElAoBEgghggQAQZQKAnYEaQBAQaASKIAQJEkAEEegJmBElAoBEgghggQAQZQKAnYEaQBAQaASKIAQJEkAEEegJmBElAoBEgghggQAQZQKAnYEaQBAQaASKIAQJEkAEEegJmBElAoBEgghggQAQZQKAnYEaQBAQaASKIAQJEkAEEegJmBElAoBEgghggQAQZQKAnYEaQBAQaASKIAQJEkAEEegJmBElAoBEgghggQAQZQKAnYEaQBAQaASKIAQJEkAEEegJmBElAoBEgghggQAQZQKAnYEaQBAQaASKIAQJEkAEEegJmBElAoBEgghggQAQZQKAnYEaQBAQaASKIAQJEkAEEegJmBElAoBEgghggQAQZQKAnYEaQBAQaASKIAQJEkAEEegJmBElAoBEgghggQAQZQKAnYEaQBAQaASKIAQJEkAEEegJmBElAoBEgghggQAQZQKAnYEaQBAQaASKIAQJEkAEEegJmBElAoBEgghgg0Aj8i0JO4OzsrPv69Wv+hi2qPHr0qNvf39+iI97soRIh4f3z58/u7du3SXX7Xt7Z2enevHmzfQe+oSN2apSAPj09TSrb+XKI/f379+08+A0cNRE2ANkupk+ACNPvkSPcAAEibACyXUyfABGm3yNHuAECRNgAZLuYPgEirKlHu7u7XdyytGwHAd8jjNyng4OD7vnz51dbPT8/7z58+NB9+/bt6jU/TI+AGWHEnrx48eJ/EsSmHzx40L18+fLyzxF3ZVMjEyDCiEDjMYZZS5wiPXnyZFbJaxMhQIQRGzHvWR7XCyOCXsOmiDAi1HmPMMQjDpbpEiDCiL358eNHurW/5SnWdIBbXiDCiA38/Pnzrce2YyZ4//59F3ePLNMl4PbpiL2J0L979+7yDtHDhw8vtzzvdGnEXdvUigSIsCLAWavHp/+qM0BcXMd/q25n1vF57TYBp0a3mUzilePj4+7k5KSLb6gt6ydAhPUzXnoPR0dHl79WGTNCfBnn1uvSCJdegQhLI1vvCk+fPu2ePXt2tZOYEV6/fn31dz+shwAR1sP1cqvLntbEN9MxA9xcYjsxS1jWR4AIa2Ibzx0tc44fYX/16lV6NDFLXH+YL32jwiACRBiEbf5KcXoTIsQSpzXx4N28Ja4BQoK7rgXiydbHjx/P25TaQAJEGAguWy0+2Q8PD6/Ki4R8EVl+bzBOnZY95fq9rj9zAkTI2SxdidBHqG9+skdw43borCXO/ZcJdraPWdv22uIEiLA4q7nvvCug8WTqzQveOH26fodo7g6uFe/a17W3+nFBAkRYENRdb1vkkz1CH9cPsVy/jrhr27PqMYvENYNlHAIesRiBYwRy0V+8iXP8+/fvX11Mr7L7ECueb/r48eMqm7FuI2BGWDEG8cm+7G3NEOfmdcTQw4h9/55lhm7DekRYKQPZF2ArbXTAyu4kDYB2YxUzwg0gi/41ztHnfQG26HbGel/crVrm7tNY+/1btkOEAZ2M05r4FB7r9GbAIdxaZYrHdOsgJ/wCEQY0J74TmOKnbxxT9n3FgGGWWsVdowHtjt9Nnvf7yQM2aZU/TIAIAxrw6dOnAWtZZcoEnBpNuTuObWMEiLAx1HY0ZQJEmHJ3HNvGCBBhY6jtaMoEiJB0Z29vL6ls58vxPcO8/zfrdo5qvKO+d3Fx8Wu8zf1dW4p/cPzLly/dtv9Ts/EbcvGAHhHyfBIhZ6NSiIBTo0LNNtScABFyNiqFCBChULMNNSdAhJyNSiECRCjUbEPNCRAhZ6NSiAARCjXbUHMCRMjZqBQiQIRCzTbUnAARcjYqhQgQoVCzDTUnQIScjUohAkQo1GxDzQkQIWejUogAEQo121BzAkTI2agUIkCEQs021JwAEXI2KoUIEKFQsw01J0CEnI1KIQJEKNRsQ80JECFno1KIABEKNdtQcwJEyNmoFCJAhELNNtScABFyNiqFCBChULMNNSdAhJyNSiECRCjUbEPNCRAhZ6NSiAARCjXbUHMCRMjZqBQiQIRCzTbUnAARcjYqhQgQoVCzDTUnQIScjUohAkQo1GxDzQkQIWejUogAEQo121BzAkTI2agUIkCEQs021JwAEXI2KoUIEKFQsw01J0CEnI1KIQJEKNRsQ80JECFno1KIABEKNdtQcwJEyNmoFCJAhELNNtScABFyNiqFCBChULMNNSdAhJyNSiECRCjUbEPNCRAhZ6NSiAARCjXbUHMCRMjZqBQiQIRCzTbUnAARcjYqhQgQoVCzDTUnQIScjUohAkQo1GxDzQkQIWejUogAEQo121BzAkTI2agUIkCEQs021JwAEXI2KoUIEKFQsw01J0CEnI1KIQJEKNRsQ80JECFno1KIABEKNdtQcwJEyNmoFCJAhELNNtScABFyNiqFCBChULMNNSdAhJyNSiEC/wGgKKC4YMA4TAAAAABJRU5ErkJggg==';
            return _this;
        }
        DImageComponent.prototype.configChange = function (config) {
            if (!config.width) {
                config.width = '200';
            }
            if (!config.height) {
                config.height = '200';
            }
        };
        return DImageComponent;
    }(DynamicComponentBase));
    DImageComponent.KEY = 'd-image';
    DImageComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DImageComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
    DImageComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: DImageComponent, selector: "app-d-image", providers: [
            {
                provide: i2.NG_VALUE_ACCESSOR,
                useExisting: i0.forwardRef(function () { return DImageComponent; }),
                multi: true
            }
        ], usesInheritance: true, ngImport: i0__namespace, template: "<img nz-image [width]=\"config.width\" [height]=\"config.height\" [nzSrc]=\"config.value\" [nzFallback]=\"fallback\" alt=\"\" />\n", directives: [{ type: i36__namespace.NzImageDirective, selector: "img[nz-image]", inputs: ["nzSrc", "nzSrcset", "nzDisablePreview", "nzFallback", "nzPlaceholder"], exportAs: ["nzImage"] }] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DImageComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'app-d-image',
                        templateUrl: './d-image.component.html',
                        styles: [],
                        providers: [
                            {
                                provide: i2.NG_VALUE_ACCESSOR,
                                useExisting: i0.forwardRef(function () { return DImageComponent; }),
                                multi: true
                            }
                        ]
                    }]
            }], ctorParameters: function () { return []; } });

    var DImageConfigComponent = /** @class */ (function (_super) {
        __extends(DImageConfigComponent, _super);
        function DImageConfigComponent() {
            return _super.call(this) || this;
        }
        DImageConfigComponent.prototype.configChange = function (config) {
            if (!config.width) {
                config.width = '200';
            }
            if (!config.height) {
                config.height = '200';
            }
        };
        return DImageConfigComponent;
    }(DynamicComponentBase));
    DImageConfigComponent.KEY = 'd-image-config';
    DImageConfigComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DImageConfigComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
    DImageConfigComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: DImageConfigComponent, selector: "app-d-image-config", usesInheritance: true, ngImport: i0__namespace, template: "<nz-form-item *ngIf=\"config\">\n  <nz-form-label [nzSpan]=\"6\">\u7F51\u5740</nz-form-label>\n  <nz-form-control>\n    <input nz-input #nameInput=\"ngModel\" name=\"value\" [(ngModel)]=\"config.value\" />\n  </nz-form-control>\n</nz-form-item>\n<nz-form-item>\n  <nz-form-label [nzSpan]=\"6\">\u56FE\u7247\u5BBD\u5EA6</nz-form-label>\n  <nz-form-control>\n    <input nz-input #nameInput=\"ngModel\" name=\"width\" [(ngModel)]=\"config.width\" />\n  </nz-form-control>\n</nz-form-item>\n<nz-form-item>\n  <nz-form-label [nzSpan]=\"6\">\u56FE\u7247\u9AD8\u5EA6</nz-form-label>\n  <nz-form-control>\n    <input nz-input #nameInput=\"ngModel\" name=\"height\" [(ngModel)]=\"config.height\" />\n  </nz-form-control>\n</nz-form-item>\n", components: [{ type: i1__namespace.NzFormItemComponent, selector: "nz-form-item", exportAs: ["nzFormItem"] }, { type: i1__namespace.NzFormLabelComponent, selector: "nz-form-label", inputs: ["nzRequired", "nzNoColon", "nzTooltipIcon", "nzFor", "nzTooltipTitle"], exportAs: ["nzFormLabel"] }, { type: i1__namespace.NzFormControlComponent, selector: "nz-form-control", inputs: ["nzAutoTips", "nzDisableAutoTips", "nzHasFeedback", "nzValidateStatus", "nzSuccessTip", "nzWarningTip", "nzErrorTip", "nzValidatingTip", "nzExtra"], exportAs: ["nzFormControl"] }], directives: [{ type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3__namespace$2.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { type: i3__namespace$2.NzColDirective, selector: "[nz-col],nz-col,nz-form-control,nz-form-label", inputs: ["nzFlex", "nzSpan", "nzOrder", "nzOffset", "nzPush", "nzPull", "nzXs", "nzSm", "nzMd", "nzLg", "nzXl", "nzXXl"], exportAs: ["nzCol"] }, { type: i4__namespace.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzSize", "disabled"], exportAs: ["nzInput"] }, { type: i2__namespace.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i2__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DImageConfigComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'app-d-image-config',
                        templateUrl: './d-image-config.component.html',
                        styles: []
                    }]
            }], ctorParameters: function () { return []; } });

    var DUeditorComponent = /** @class */ (function (_super) {
        __extends(DUeditorComponent, _super);
        function DUeditorComponent() {
            return _super.call(this) || this;
        }
        DUeditorComponent.prototype.ngOnDestroy = function () {
            if (this.editor) {
                this.editor.destroy();
            }
            this.editor = null;
        };
        DUeditorComponent.prototype.ngAfterViewInit = function () {
            this.createEditor();
        };
        DUeditorComponent.prototype.configChange = function (config) {
            this.createEditor();
        };
        DUeditorComponent.prototype.createEditor = function () {
            var _this = this;
            setTimeout(function () {
                if (_this.config.name && _this.editerDom && !_this.editor) {
                    _this.editor = new E__default["default"]("#" + _this.config.name);
                    _this.editor.config.zIndex = 99;
                    _this.editor.config.focus = false;
                    _this.editor.create();
                }
            }, 0);
        };
        return DUeditorComponent;
    }(DynamicComponentBase));
    DUeditorComponent.KEY = 'd-ueditor';
    DUeditorComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DUeditorComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
    DUeditorComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: DUeditorComponent, selector: "app-d-ueditor", providers: [
            {
                provide: i2.NG_VALUE_ACCESSOR,
                useExisting: i0.forwardRef(function () { return DUeditorComponent; }),
                multi: true
            }
        ], viewQueries: [{ propertyName: "editerDom", first: true, predicate: ["editerDom"], descendants: true }], usesInheritance: true, ngImport: i0__namespace, template: "<!-- \u52A0\u8F7D\u7F16\u8F91\u5668\u7684\u5BB9\u5668 -->\n<div [id]=\"config.name\" #editerDom> </div>\n", styles: [""] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DUeditorComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'app-d-ueditor',
                        templateUrl: './d-ueditor.component.html',
                        styles: [""],
                        providers: [
                            {
                                provide: i2.NG_VALUE_ACCESSOR,
                                useExisting: i0.forwardRef(function () { return DUeditorComponent; }),
                                multi: true
                            }
                        ]
                    }]
            }], ctorParameters: function () { return []; }, propDecorators: { editerDom: [{
                    type: i0.ViewChild,
                    args: ['editerDom']
                }] } });

    var DUeditorConfigComponent = /** @class */ (function (_super) {
        __extends(DUeditorConfigComponent, _super);
        function DUeditorConfigComponent() {
            return _super.call(this) || this;
        }
        DUeditorConfigComponent.prototype.configChange = function (config) { };
        return DUeditorConfigComponent;
    }(DynamicComponentBase));
    DUeditorConfigComponent.KEY = 'd-ueditor-config';
    DUeditorConfigComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DUeditorConfigComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
    DUeditorConfigComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: DUeditorConfigComponent, selector: "app-d-ueditor-config", usesInheritance: true, ngImport: i0__namespace, template: "" });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DUeditorConfigComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'app-d-ueditor-config',
                        templateUrl: './d-ueditor-config.component.html',
                        styles: []
                    }]
            }], ctorParameters: function () { return []; } });

    var DTextComponent = /** @class */ (function (_super) {
        __extends(DTextComponent, _super);
        function DTextComponent() {
            return _super.call(this) || this;
        }
        DTextComponent.prototype.ngAfterViewInit = function () {
            var _this = this;
            setTimeout(function () {
                _this.config.labelWidth = 0;
            }, 0);
        };
        DTextComponent.prototype.configChange = function (config) {
            if (config && !config.value) {
                this.config.value = '示例文字';
            }
        };
        return DTextComponent;
    }(DynamicComponentBase));
    DTextComponent.KEY = 'd-text';
    DTextComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DTextComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
    DTextComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: DTextComponent, selector: "app-d-text", providers: [
            {
                provide: i2.NG_VALUE_ACCESSOR,
                useExisting: i0.forwardRef(function () { return DTextComponent; }),
                multi: true
            }
        ], usesInheritance: true, ngImport: i0__namespace, template: "<div>\n  {{ config.value }}\n</div>\n" });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DTextComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'app-d-text',
                        templateUrl: './d-text.component.html',
                        styles: [],
                        providers: [
                            {
                                provide: i2.NG_VALUE_ACCESSOR,
                                useExisting: i0.forwardRef(function () { return DTextComponent; }),
                                multi: true
                            }
                        ]
                    }]
            }], ctorParameters: function () { return []; } });

    var DTextConfigComponent = /** @class */ (function (_super) {
        __extends(DTextConfigComponent, _super);
        function DTextConfigComponent() {
            return _super.call(this) || this;
        }
        DTextConfigComponent.prototype.configChange = function (config) { };
        return DTextConfigComponent;
    }(DynamicComponentBase));
    DTextConfigComponent.KEY = 'd-text-config';
    DTextConfigComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DTextConfigComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
    DTextConfigComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: DTextConfigComponent, selector: "app-d-text-config", usesInheritance: true, ngImport: i0__namespace, template: "<nz-form-item *ngIf=\"config\">\n  <nz-form-label [nzSpan]=\"6\">\u9ED8\u8BA4\u503C</nz-form-label>\n  <nz-form-control>\n    <input nz-input #nameInput=\"ngModel\" name=\"value\" type=\"text\" [(ngModel)]=\"config.value\" />\n  </nz-form-control>\n</nz-form-item>\n", components: [{ type: i1__namespace.NzFormItemComponent, selector: "nz-form-item", exportAs: ["nzFormItem"] }, { type: i1__namespace.NzFormLabelComponent, selector: "nz-form-label", inputs: ["nzRequired", "nzNoColon", "nzTooltipIcon", "nzFor", "nzTooltipTitle"], exportAs: ["nzFormLabel"] }, { type: i1__namespace.NzFormControlComponent, selector: "nz-form-control", inputs: ["nzAutoTips", "nzDisableAutoTips", "nzHasFeedback", "nzValidateStatus", "nzSuccessTip", "nzWarningTip", "nzErrorTip", "nzValidatingTip", "nzExtra"], exportAs: ["nzFormControl"] }], directives: [{ type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3__namespace$2.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { type: i3__namespace$2.NzColDirective, selector: "[nz-col],nz-col,nz-form-control,nz-form-label", inputs: ["nzFlex", "nzSpan", "nzOrder", "nzOffset", "nzPush", "nzPull", "nzXs", "nzSm", "nzMd", "nzLg", "nzXl", "nzXXl"], exportAs: ["nzCol"] }, { type: i4__namespace.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzSize", "disabled"], exportAs: ["nzInput"] }, { type: i2__namespace.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i2__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DTextConfigComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'app-d-text-config',
                        templateUrl: './d-text-config.component.html',
                        styles: []
                    }]
            }], ctorParameters: function () { return []; } });

    var DUploadfileComponent = /** @class */ (function (_super) {
        __extends(DUploadfileComponent, _super);
        function DUploadfileComponent(msg) {
            var _this = _super.call(this) || this;
            _this.msg = msg;
            return _this;
        }
        DUploadfileComponent.prototype.configChange = function (config) { };
        DUploadfileComponent.prototype.handleChange = function (info) {
            if (info.file.status !== 'uploading') {
                console.log(info.file, info.fileList);
            }
            if (info.file.status === 'done') {
                this.msg.success(info.file.name + " file uploaded successfully");
            }
            else if (info.file.status === 'error') {
                this.msg.error(info.file.name + " file upload failed.");
            }
        };
        return DUploadfileComponent;
    }(DynamicComponentBase));
    DUploadfileComponent.KEY = 'd-uploadfile';
    DUploadfileComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DUploadfileComponent, deps: [{ token: i1__namespace$3.NzMessageService }], target: i0__namespace.ɵɵFactoryTarget.Component });
    DUploadfileComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: DUploadfileComponent, selector: "app-d-uploadfile", providers: [
            {
                provide: i2.NG_VALUE_ACCESSOR,
                useExisting: i0.forwardRef(function () { return DUploadfileComponent; }),
                multi: true
            }
        ], usesInheritance: true, ngImport: i0__namespace, template: "<nz-upload\n  nzAction=\"https://www.mocky.io/v2/5cc8019d300000980a055e76\"\n  [nzHeaders]=\"{ authorization: 'authorization-text' }\"\n  (nzChange)=\"handleChange($event)\"\n>\n  <button nz-button>\n    <i nz-icon nzType=\"upload\"></i>\n    \u70B9\u51FB\u4E0A\u4F20\n  </button>\n</nz-upload>\n", components: [{ type: i39__namespace.NzUploadComponent, selector: "nz-upload", inputs: ["nzType", "nzLimit", "nzSize", "nzDirectory", "nzOpenFileDialogOnClick", "nzFilter", "nzFileList", "nzDisabled", "nzListType", "nzMultiple", "nzName", "nzShowButton", "nzWithCredentials", "nzIconRender", "nzFileListRender", "nzShowUploadList", "nzFileType", "nzAccept", "nzAction", "nzBeforeUpload", "nzCustomRequest", "nzData", "nzHeaders", "nzRemove", "nzPreview", "nzPreviewFile", "nzPreviewIsImage", "nzTransformFile", "nzDownload"], outputs: ["nzChange", "nzFileListChange"], exportAs: ["nzUpload"] }, { type: i3__namespace$1.NzButtonComponent, selector: "button[nz-button], a[nz-button]", inputs: ["nzBlock", "nzGhost", "nzSearch", "nzLoading", "nzDanger", "disabled", "tabIndex", "nzType", "nzShape", "nzSize"], exportAs: ["nzButton"] }], directives: [{ type: i8__namespace.NzWaveDirective, selector: "[nz-wave],button[nz-button]:not([nzType=\"link\"]):not([nzType=\"text\"])", inputs: ["nzWaveExtraNode"], exportAs: ["nzWave"] }, { type: i9__namespace.ɵNzTransitionPatchDirective, selector: "[nz-button], nz-button-group, [nz-icon], [nz-menu-item], [nz-submenu], nz-select-top-control, nz-select-placeholder, nz-input-group", inputs: ["hidden"] }, { type: i25__namespace.NzIconDirective, selector: "[nz-icon]", inputs: ["nzRotate", "nzSpin", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DUploadfileComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'app-d-uploadfile',
                        templateUrl: './d-uploadfile.component.html',
                        styles: [],
                        providers: [
                            {
                                provide: i2.NG_VALUE_ACCESSOR,
                                useExisting: i0.forwardRef(function () { return DUploadfileComponent; }),
                                multi: true
                            }
                        ]
                    }]
            }], ctorParameters: function () { return [{ type: i1__namespace$3.NzMessageService }]; } });

    var DUploadfileConfigComponent = /** @class */ (function (_super) {
        __extends(DUploadfileConfigComponent, _super);
        function DUploadfileConfigComponent() {
            return _super.call(this) || this;
        }
        DUploadfileConfigComponent.prototype.configChange = function (config) { };
        return DUploadfileConfigComponent;
    }(DynamicComponentBase));
    DUploadfileConfigComponent.KEY = 'd-uploadfile-config';
    DUploadfileConfigComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DUploadfileConfigComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
    DUploadfileConfigComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: DUploadfileConfigComponent, selector: "app-d-uploadfile-config", usesInheritance: true, ngImport: i0__namespace, template: "" });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DUploadfileConfigComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'app-d-uploadfile-config',
                        templateUrl: './d-uploadfile-config.component.html',
                        styles: []
                    }]
            }], ctorParameters: function () { return []; } });

    var DSplitlineComponent = /** @class */ (function (_super) {
        __extends(DSplitlineComponent, _super);
        function DSplitlineComponent() {
            return _super.call(this) || this;
        }
        DSplitlineComponent.prototype.ngAfterViewInit = function () {
            var _this = this;
            setTimeout(function () {
                _this.config.labelWidth = 0;
            }, 0);
        };
        DSplitlineComponent.prototype.configChange = function (config) { };
        return DSplitlineComponent;
    }(DynamicComponentBase));
    DSplitlineComponent.KEY = 'd-splitline';
    DSplitlineComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DSplitlineComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
    DSplitlineComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: DSplitlineComponent, selector: "app-d-splitline", providers: [
            {
                provide: i2.NG_VALUE_ACCESSOR,
                useExisting: i0.forwardRef(function () { return DSplitlineComponent; }),
                multi: true
            }
        ], usesInheritance: true, ngImport: i0__namespace, template: "<div class=\"splitline\" style=\"border-bottom: 1px solid #000\"></div>\n" });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DSplitlineComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'app-d-splitline',
                        templateUrl: './d-splitline.component.html',
                        styles: [],
                        providers: [
                            {
                                provide: i2.NG_VALUE_ACCESSOR,
                                useExisting: i0.forwardRef(function () { return DSplitlineComponent; }),
                                multi: true
                            }
                        ]
                    }]
            }], ctorParameters: function () { return []; } });

    var DSplitlineConfigComponent = /** @class */ (function (_super) {
        __extends(DSplitlineConfigComponent, _super);
        function DSplitlineConfigComponent() {
            return _super.call(this) || this;
        }
        DSplitlineConfigComponent.prototype.configChange = function (config) { };
        return DSplitlineConfigComponent;
    }(DynamicComponentBase));
    DSplitlineConfigComponent.KEY = 'd-splitline-config';
    DSplitlineConfigComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DSplitlineConfigComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
    DSplitlineConfigComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: DSplitlineConfigComponent, selector: "app-d-splitline-config", usesInheritance: true, ngImport: i0__namespace, template: "" });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DSplitlineConfigComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'app-d-splitline-config',
                        templateUrl: './d-splitline-config.component.html',
                        styles: []
                    }]
            }], ctorParameters: function () { return []; } });

    var DSliderConfigComponent = /** @class */ (function (_super) {
        __extends(DSliderConfigComponent, _super);
        function DSliderConfigComponent() {
            return _super.call(this) || this;
        }
        DSliderConfigComponent.prototype.configChange = function (config) { };
        return DSliderConfigComponent;
    }(DynamicComponentBase));
    DSliderConfigComponent.KEY = 'd-slider-config';
    DSliderConfigComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DSliderConfigComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
    DSliderConfigComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: DSliderConfigComponent, selector: "app-d-slider-config", usesInheritance: true, ngImport: i0__namespace, template: "<nz-form-item *ngIf=\"config\">\n  <nz-form-label [nzSpan]=\"6\">\u9ED8\u8BA4\u503C</nz-form-label>\n  <nz-form-control>\n    <nz-input-number\n      #nameInput=\"ngModel\"\n      name=\"value\"\n      type=\"number\"\n      [nzMin]=\"0\"\n      [nzMax]=\"1000000000\"\n      [(ngModel)]=\"config.value\"\n      style=\"width: 100%\"\n    ></nz-input-number>\n  </nz-form-control>\n</nz-form-item>\n", components: [{ type: i1__namespace.NzFormItemComponent, selector: "nz-form-item", exportAs: ["nzFormItem"] }, { type: i1__namespace.NzFormLabelComponent, selector: "nz-form-label", inputs: ["nzRequired", "nzNoColon", "nzTooltipIcon", "nzFor", "nzTooltipTitle"], exportAs: ["nzFormLabel"] }, { type: i1__namespace.NzFormControlComponent, selector: "nz-form-control", inputs: ["nzAutoTips", "nzDisableAutoTips", "nzHasFeedback", "nzValidateStatus", "nzSuccessTip", "nzWarningTip", "nzErrorTip", "nzValidatingTip", "nzExtra"], exportAs: ["nzFormControl"] }, { type: i2__namespace$1.NzInputNumberComponent, selector: "nz-input-number", inputs: ["nzSize", "nzMin", "nzMax", "nzParser", "nzPrecisionMode", "nzPlaceHolder", "nzStep", "nzInputMode", "nzId", "nzDisabled", "nzAutoFocus", "nzFormatter", "nzPrecision"], outputs: ["nzBlur", "nzFocus"], exportAs: ["nzInputNumber"] }], directives: [{ type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3__namespace$2.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { type: i3__namespace$2.NzColDirective, selector: "[nz-col],nz-col,nz-form-control,nz-form-label", inputs: ["nzFlex", "nzSpan", "nzOrder", "nzOffset", "nzPush", "nzPull", "nzXs", "nzSm", "nzMd", "nzLg", "nzXl", "nzXXl"], exportAs: ["nzCol"] }, { type: i2__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DSliderConfigComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'app-d-slider-config',
                        templateUrl: './d-slider-config.component.html',
                        styles: []
                    }]
            }], ctorParameters: function () { return []; } });

    var DSliderComponent = /** @class */ (function (_super) {
        __extends(DSliderComponent, _super);
        function DSliderComponent() {
            return _super.call(this) || this;
        }
        DSliderComponent.prototype.configChange = function (config) {
            if (typeof config.value === 'number') {
                config.value = 0;
            }
        };
        return DSliderComponent;
    }(DynamicComponentBase));
    DSliderComponent.KEY = 'd-slider';
    DSliderComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DSliderComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
    DSliderComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: DSliderComponent, selector: "app-d-slider", providers: [
            {
                provide: i2.NG_VALUE_ACCESSOR,
                useExisting: i0.forwardRef(function () { return DSliderComponent; }),
                multi: true
            }
        ], usesInheritance: true, ngImport: i0__namespace, template: "<nz-slider [(ngModel)]=\"config.value\" [nzDisabled]=\"config.disabled\"></nz-slider>\n", components: [{ type: i37__namespace.NzSliderComponent, selector: "nz-slider", inputs: ["nzDisabled", "nzDots", "nzIncluded", "nzRange", "nzVertical", "nzReverse", "nzMarks", "nzMax", "nzMin", "nzStep", "nzTooltipVisible", "nzTooltipPlacement", "nzDefaultValue", "nzTipFormatter"], outputs: ["nzOnAfterChange"], exportAs: ["nzSlider"] }], directives: [{ type: i2__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DSliderComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'app-d-slider',
                        templateUrl: './d-slider.component.html',
                        styles: [],
                        providers: [
                            {
                                provide: i2.NG_VALUE_ACCESSOR,
                                useExisting: i0.forwardRef(function () { return DSliderComponent; }),
                                multi: true
                            }
                        ]
                    }]
            }], ctorParameters: function () { return []; } });

    var DRateConfigComponent = /** @class */ (function (_super) {
        __extends(DRateConfigComponent, _super);
        function DRateConfigComponent() {
            return _super.call(this) || this;
        }
        DRateConfigComponent.prototype.configChange = function (config) { };
        return DRateConfigComponent;
    }(DynamicComponentBase));
    DRateConfigComponent.KEY = 'd-rate-config';
    DRateConfigComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DRateConfigComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
    DRateConfigComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: DRateConfigComponent, selector: "app-d-rate-config", usesInheritance: true, ngImport: i0__namespace, template: "" });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DRateConfigComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'app-d-rate-config',
                        templateUrl: './d-rate-config.component.html',
                        styles: []
                    }]
            }], ctorParameters: function () { return []; } });

    var DRateComponent = /** @class */ (function (_super) {
        __extends(DRateComponent, _super);
        function DRateComponent() {
            return _super.call(this) || this;
        }
        DRateComponent.prototype.configChange = function (config) {
            if (typeof config.value !== 'number') {
                config.value = 3;
            }
        };
        return DRateComponent;
    }(DynamicComponentBase));
    DRateComponent.KEY = 'd-rate';
    DRateComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DRateComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
    DRateComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: DRateComponent, selector: "app-d-rate", providers: [
            {
                provide: i2.NG_VALUE_ACCESSOR,
                useExisting: i0.forwardRef(function () { return DRateComponent; }),
                multi: true
            }
        ], usesInheritance: true, ngImport: i0__namespace, template: "<nz-rate [ngModel]=\"config.value\" nzAllowHalf [nzDisabled]=\"config.disabled\"></nz-rate>\n", components: [{ type: i38__namespace.NzRateComponent, selector: "nz-rate", inputs: ["nzAllowClear", "nzAllowHalf", "nzDisabled", "nzAutoFocus", "nzCount", "nzTooltips", "nzCharacter"], outputs: ["nzOnBlur", "nzOnFocus", "nzOnHoverChange", "nzOnKeyDown"], exportAs: ["nzRate"] }], directives: [{ type: i2__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DRateComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'app-d-rate',
                        templateUrl: './d-rate.component.html',
                        styles: [],
                        providers: [
                            {
                                provide: i2.NG_VALUE_ACCESSOR,
                                useExisting: i0.forwardRef(function () { return DRateComponent; }),
                                multi: true
                            }
                        ]
                    }]
            }], ctorParameters: function () { return []; } });

    var DColorpickerConfigComponent = /** @class */ (function (_super) {
        __extends(DColorpickerConfigComponent, _super);
        function DColorpickerConfigComponent() {
            return _super.call(this) || this;
        }
        DColorpickerConfigComponent.prototype.configChange = function (config) { };
        return DColorpickerConfigComponent;
    }(DynamicComponentBase));
    DColorpickerConfigComponent.KEY = 'd-colorpicker-config';
    DColorpickerConfigComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DColorpickerConfigComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
    DColorpickerConfigComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: DColorpickerConfigComponent, selector: "app-d-colorpicker-config", usesInheritance: true, ngImport: i0__namespace, template: "" });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DColorpickerConfigComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'app-d-colorpicker-config',
                        templateUrl: './d-colorpicker-config.component.html',
                        styles: []
                    }]
            }], ctorParameters: function () { return []; } });

    var DColorpickerComponent = /** @class */ (function (_super) {
        __extends(DColorpickerComponent, _super);
        function DColorpickerComponent() {
            return _super.call(this) || this;
        }
        DColorpickerComponent.prototype.configChange = function (config) {
            if (!config.value) {
                config.value = '#000';
            }
        };
        return DColorpickerComponent;
    }(DynamicComponentBase));
    DColorpickerComponent.KEY = 'd-colorpicker';
    DColorpickerComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DColorpickerComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
    DColorpickerComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: DColorpickerComponent, selector: "app-d-colorpicker", providers: [
            {
                provide: i2.NG_VALUE_ACCESSOR,
                useExisting: i0.forwardRef(function () { return DColorpickerComponent; }),
                multi: true
            }
        ], usesInheritance: true, ngImport: i0__namespace, template: "<div\n  [(colorPicker)]=\"config.value\"\n  [style.background]=\"config.value\"\n  [style.width]=\"'40px'\"\n  [style.height]=\"'40px'\"\n  [style.border]=\"'1px solid '\"\n></div>\n", directives: [{ type: i1__namespace$4.ColorPickerDirective, selector: "[colorPicker]", inputs: ["cpWidth", "cpHeight", "cpToggle", "cpDisabled", "cpIgnoredElements", "cpFallbackColor", "cpColorMode", "cpCmykEnabled", "cpOutputFormat", "cpAlphaChannel", "cpDisableInput", "cpDialogDisplay", "cpSaveClickOutside", "cpCloseClickOutside", "cpUseRootViewContainer", "cpPosition", "cpPositionOffset", "cpPositionRelativeToArrow", "cpOKButton", "cpOKButtonText", "cpOKButtonClass", "cpCancelButton", "cpCancelButtonText", "cpCancelButtonClass", "cpPresetLabel", "cpPresetColorsClass", "cpMaxPresetColorsLength", "cpPresetEmptyMessage", "cpPresetEmptyMessageClass", "cpAddColorButton", "cpAddColorButtonText", "cpAddColorButtonClass", "cpRemoveColorButtonClass", "colorPicker", "cpPresetColors"], outputs: ["cpInputChange", "cpToggleChange", "cpSliderChange", "cpSliderDragEnd", "cpSliderDragStart", "colorPickerOpen", "colorPickerClose", "colorPickerCancel", "colorPickerSelect", "colorPickerChange", "cpCmykColorChange", "cpPresetColorsChange"], exportAs: ["ngxColorPicker"] }] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: DColorpickerComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'app-d-colorpicker',
                        templateUrl: './d-colorpicker.component.html',
                        styles: [],
                        providers: [
                            {
                                provide: i2.NG_VALUE_ACCESSOR,
                                useExisting: i0.forwardRef(function () { return DColorpickerComponent; }),
                                multi: true
                            }
                        ]
                    }]
            }], ctorParameters: function () { return []; } });

    var WidgetFormControlsModule = /** @class */ (function () {
        function WidgetFormControlsModule(registryService) {
            // 控件注册
            registryService.setDefault(DStringComponent);
            registryService.register(DStringComponent.KEY, DStringComponent);
            registryService.register(DTextareaComponent.KEY, DTextareaComponent);
            registryService.register(DNumberComponent.KEY, DNumberComponent);
            registryService.register(DRadioComponent.KEY, DRadioComponent);
            registryService.register(DCheckboxComponent.KEY, DCheckboxComponent);
            registryService.register(DSelectComponent.KEY, DSelectComponent);
            registryService.register(DDateComponent.KEY, DDateComponent);
            registryService.register(DDateRangeComponent.KEY, DDateRangeComponent);
            registryService.register(DTitleComponent.KEY, DTitleComponent);
            registryService.register(DGroupsComponent.KEY, DGroupsComponent);
            registryService.register(DConStringComponent.KEY, DConStringComponent);
            registryService.register(DConNumberDecimalComponent.KEY, DConNumberDecimalComponent);
            registryService.register(DConNumberFloatComponent.KEY, DConNumberFloatComponent);
            registryService.register(DConNumberIntegerComponent.KEY, DConNumberIntegerComponent);
            registryService.register(DConFixedComponent.KEY, DConFixedComponent);
            registryService.register(DConBooleanComponent.KEY, DConBooleanComponent);
            registryService.register(DConTimestampComponent.KEY, DConTimestampComponent);
            registryService.register(DImageComponent.KEY, DImageComponent);
            // 控件配置器
            registryService.register(DStringConfigComponent.KEY, DStringConfigComponent);
            registryService.register(DTextareaConfigComponent.KEY, DTextareaConfigComponent);
            registryService.register(DNumberConfigComponent.KEY, DNumberConfigComponent);
            registryService.register(DRadioConfigComponent.KEY, DRadioConfigComponent);
            registryService.register(DCheckboxConfigComponent.KEY, DCheckboxConfigComponent);
            registryService.register(DSelectConfigComponent.KEY, DSelectConfigComponent);
            registryService.register(DDateConfigComponent.KEY, DDateConfigComponent);
            registryService.register(DDateRangeConfigComponent.KEY, DDateRangeConfigComponent);
            registryService.register(DTitleConfigComponent.KEY, DTitleConfigComponent);
            registryService.register(DConStringConfigComponent.KEY, DConStringConfigComponent);
            registryService.register(DConNumberDecimalConfigComponent.KEY, DConNumberDecimalConfigComponent);
            registryService.register(DConNumberFloatConfigComponent.KEY, DConNumberFloatConfigComponent);
            registryService.register(DConNumberIntegerConfigComponent.KEY, DConNumberIntegerConfigComponent);
            registryService.register(DConFixedConfigComponent.KEY, DConFixedConfigComponent);
            registryService.register(DConBooleanConfigComponent.KEY, DConBooleanConfigComponent);
            registryService.register(DConTimestampConfigComponent.KEY, DConTimestampConfigComponent);
            registryService.register(DGroupsConfigComponent.KEY, DGroupsConfigComponent);
            registryService.register(DImageConfigComponent.KEY, DImageConfigComponent);
            registryService.register(DUeditorComponent.KEY, DUeditorComponent);
            registryService.register(DUeditorConfigComponent.KEY, DUeditorConfigComponent);
            registryService.register(DTextComponent.KEY, DTextComponent);
            registryService.register(DTextConfigComponent.KEY, DTextConfigComponent);
            registryService.register(DUploadfileComponent.KEY, DUploadfileComponent);
            registryService.register(DUploadfileConfigComponent.KEY, DUploadfileConfigComponent);
            registryService.register(DSplitlineComponent.KEY, DSplitlineComponent);
            registryService.register(DSplitlineConfigComponent.KEY, DSplitlineConfigComponent);
            registryService.register(DSliderComponent.KEY, DSliderComponent);
            registryService.register(DSliderConfigComponent.KEY, DSliderConfigComponent);
            registryService.register(DRateComponent.KEY, DRateComponent);
            registryService.register(DRateConfigComponent.KEY, DRateConfigComponent);
            registryService.register(DColorpickerComponent.KEY, DColorpickerComponent);
            registryService.register(DColorpickerConfigComponent.KEY, DColorpickerConfigComponent);
        }
        return WidgetFormControlsModule;
    }());
    WidgetFormControlsModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: WidgetFormControlsModule, deps: [{ token: DynamicComponentRegistryService }], target: i0__namespace.ɵɵFactoryTarget.NgModule });
    WidgetFormControlsModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: WidgetFormControlsModule, declarations: [DStringComponent,
            DTextareaComponent,
            DNumberComponent,
            DRadioComponent,
            DCheckboxComponent,
            DSelectComponent,
            DDateComponent,
            DDateRangeComponent,
            DStringConfigComponent,
            DTextareaConfigComponent,
            DRadioConfigComponent,
            DCheckboxConfigComponent,
            DNumberConfigComponent,
            DImageComponent,
            DDateConfigComponent,
            DDateRangeConfigComponent,
            DSelectConfigComponent,
            DTitleComponent,
            DGroupsComponent,
            DConStringComponent,
            DConNumberDecimalComponent,
            DConNumberFloatComponent,
            DConNumberIntegerComponent,
            DConFixedComponent,
            DConBooleanComponent,
            DConStringConfigComponent,
            DConNumberDecimalConfigComponent,
            DConNumberFloatConfigComponent,
            DConNumberIntegerConfigComponent,
            DConFixedConfigComponent,
            DConBooleanConfigComponent,
            DConTimestampComponent,
            DConTimestampConfigComponent,
            DImageConfigComponent,
            DTitleConfigComponent,
            DGroupsConfigComponent,
            DUeditorComponent,
            DUeditorConfigComponent,
            DTextComponent,
            DTextConfigComponent,
            DUploadfileComponent,
            DUploadfileConfigComponent,
            DSplitlineComponent,
            DSplitlineConfigComponent,
            DSliderComponent,
            DSliderConfigComponent,
            DRateComponent,
            DRateConfigComponent,
            DColorpickerComponent,
            DColorpickerConfigComponent,
            GDatePipe$1,
            GDateRangePipe$1], imports: [i3.CommonModule,
            i2.FormsModule, i2__namespace$3.PageHeaderModule, i3__namespace$3.STModule, i4__namespace$1.SEModule, i5__namespace.SVModule, i6__namespace.ResultModule, i1__namespace.NzFormModule, i3__namespace$2.NzGridModule, i3__namespace$1.NzButtonModule, i4__namespace.NzInputModule, i2__namespace$1.NzInputNumberModule, i12__namespace.NzAlertModule, i13__namespace.NzProgressModule, i2__namespace$2.NzSelectModule, i15__namespace.NzAvatarModule, i16__namespace.NzCardModule, i17__namespace.NzDropDownModule, i18__namespace.NzPopconfirmModule, i2__namespace$4.NzTableModule, i20__namespace.NzPopoverModule, i21__namespace.NzDrawerModule, i22__namespace.NzModalModule, i23__namespace.NzTabsModule, i24__namespace.NzToolTipModule, i25__namespace.NzIconModule, i4__namespace$2.NzCheckboxModule, i27__namespace.NzSpinModule, i28__namespace.NzCollapseModule, i29__namespace.NzSwitchModule, i3__namespace$4.NzRadioModule, i1__namespace$1.NzLayoutModule, i32__namespace.NzEmptyModule, i1__namespace$2.NzDatePickerModule, i34__namespace.NzTagModule, i35__namespace.NzTimePickerModule, i36__namespace.NzImageModule, i37__namespace.NzSliderModule, i38__namespace.NzRateModule, i39__namespace.NzUploadModule, DynamicComponentModule,
            DSharedModule,
            i1$3.ColorPickerModule] });
    WidgetFormControlsModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: WidgetFormControlsModule, imports: [__spreadArray(__spreadArray(__spreadArray([
                i3.CommonModule,
                i2.FormsModule
            ], __read(SHARED_DELON_MODULES)), __read(SHARED_ZORRO_MODULES)), [
                DynamicComponentModule,
                DSharedModule,
                i1$3.ColorPickerModule
            ])] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: WidgetFormControlsModule, decorators: [{
                type: i0.NgModule,
                args: [{
                        imports: __spreadArray(__spreadArray(__spreadArray([
                            i3.CommonModule,
                            i2.FormsModule
                        ], __read(SHARED_DELON_MODULES)), __read(SHARED_ZORRO_MODULES)), [
                            DynamicComponentModule,
                            DSharedModule,
                            i1$3.ColorPickerModule
                        ]),
                        declarations: [
                            DStringComponent,
                            DTextareaComponent,
                            DNumberComponent,
                            DRadioComponent,
                            DCheckboxComponent,
                            DSelectComponent,
                            DDateComponent,
                            DDateRangeComponent,
                            DStringConfigComponent,
                            DTextareaConfigComponent,
                            DRadioConfigComponent,
                            DCheckboxConfigComponent,
                            DNumberConfigComponent,
                            DImageComponent,
                            DDateConfigComponent,
                            DDateRangeConfigComponent,
                            DSelectConfigComponent,
                            DTitleComponent,
                            DGroupsComponent,
                            DConStringComponent,
                            DConNumberDecimalComponent,
                            DConNumberFloatComponent,
                            DConNumberIntegerComponent,
                            DConFixedComponent,
                            DConBooleanComponent,
                            DConStringConfigComponent,
                            DConNumberDecimalConfigComponent,
                            DConNumberFloatConfigComponent,
                            DConNumberIntegerConfigComponent,
                            DConFixedConfigComponent,
                            DConBooleanConfigComponent,
                            DConTimestampComponent,
                            DConTimestampConfigComponent,
                            DImageConfigComponent,
                            DTitleConfigComponent,
                            DGroupsConfigComponent,
                            DUeditorComponent,
                            DUeditorConfigComponent,
                            DTextComponent,
                            DTextConfigComponent,
                            DUploadfileComponent,
                            DUploadfileConfigComponent,
                            DSplitlineComponent,
                            DSplitlineConfigComponent,
                            DSliderComponent,
                            DSliderConfigComponent,
                            DRateComponent,
                            DRateConfigComponent,
                            DColorpickerComponent,
                            DColorpickerConfigComponent,
                            GDatePipe$1,
                            GDateRangePipe$1
                        ],
                        exports: []
                    }]
            }], ctorParameters: function () { return [{ type: DynamicComponentRegistryService }]; } });

    var RWidgetControlComponent = /** @class */ (function () {
        function RWidgetControlComponent() {
        }
        RWidgetControlComponent.prototype.ngOnInit = function () { };
        return RWidgetControlComponent;
    }());
    RWidgetControlComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RWidgetControlComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
    RWidgetControlComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: RWidgetControlComponent, selector: "r-widget-control", inputs: { control: "control" }, ngImport: i0__namespace, template: "<div>\n  <ng-content> </ng-content>\n\n  <div style=\"color: red\" *ngIf=\"control && (!!control.dirty || !!control.touched) && control.hasError('required')\">\u5FC5\u586B\u6821\u9A8C.</div>\n</div>\n", directives: [{ type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], viewProviders: [
            {
                provide: i2.ControlContainer,
                useExisting: i2.NgForm
            }
        ] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RWidgetControlComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'r-widget-control',
                        templateUrl: './r-widget-control.component.html',
                        styles: [],
                        viewProviders: [
                            {
                                provide: i2.ControlContainer,
                                useExisting: i2.NgForm
                            }
                        ]
                    }]
            }], ctorParameters: function () { return []; }, propDecorators: { control: [{
                    type: i0.Input
                }] } });

    var RStringComponent = /** @class */ (function (_super) {
        __extends(RStringComponent, _super);
        function RStringComponent(injector) {
            return _super.call(this, injector) || this;
        }
        RStringComponent.prototype.configChange = function (config) { };
        return RStringComponent;
    }(RenderComponentBase));
    RStringComponent.KEY = 'r-d-string';
    RStringComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RStringComponent, deps: [{ token: i0__namespace.Injector }], target: i0__namespace.ɵɵFactoryTarget.Component });
    RStringComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: RStringComponent, selector: "app-r-string", providers: [
            {
                provide: i2.NG_VALUE_ACCESSOR,
                useExisting: i0.forwardRef(function () { return RStringComponent; }),
                multi: true
            }
        ], usesInheritance: true, ngImport: i0__namespace, template: "<r-widget-control [control]=\"firstnameControl\">\n  <input\n    nz-input\n    [name]=\"config.name\"\n    [placeholder]=\"config.placeholder\"\n    [required]=\"config.required\"\n    [disabled]=\"config.disabled\"\n    [attr.id]=\"config.name\"\n    [(ngModel)]=\"config.value\"\n    ngDefaultControl\n    #firstnameControl=\"ngModel\"\n  />\n</r-widget-control>\n", components: [{ type: RWidgetControlComponent, selector: "r-widget-control", inputs: ["control"] }], directives: [{ type: i4__namespace.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzSize", "disabled"], exportAs: ["nzInput"] }, { type: i2__namespace.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i2__namespace.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { type: i2__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RStringComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'app-r-string',
                        templateUrl: './r-string.component.html',
                        providers: [
                            {
                                provide: i2.NG_VALUE_ACCESSOR,
                                useExisting: i0.forwardRef(function () { return RStringComponent; }),
                                multi: true
                            }
                        ]
                    }]
            }], ctorParameters: function () { return [{ type: i0__namespace.Injector }]; } });

    var RTextareaComponent = /** @class */ (function (_super) {
        __extends(RTextareaComponent, _super);
        function RTextareaComponent(injector) {
            return _super.call(this, injector) || this;
        }
        RTextareaComponent.prototype.configChange = function (config) {
            if (typeof config.autosize !== 'string' && typeof config.autosize !== 'boolean') {
                config.autoszie = true;
            }
        };
        return RTextareaComponent;
    }(RenderComponentBase));
    RTextareaComponent.KEY = 'r-d-textarea';
    RTextareaComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RTextareaComponent, deps: [{ token: i0__namespace.Injector }], target: i0__namespace.ɵɵFactoryTarget.Component });
    RTextareaComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: RTextareaComponent, selector: "app-r-textarea", providers: [
            {
                provide: i2.NG_VALUE_ACCESSOR,
                useExisting: i0.forwardRef(function () { return RTextareaComponent; }),
                multi: true
            }
        ], usesInheritance: true, ngImport: i0__namespace, template: "<textarea\n  nz-input\n  [name]=\"config.name\"\n  [placeholder]=\"config.placeholder\"\n  [(ngModel)]=\"config.value\"\n  (ngModelChange)=\"onChange($event)\"\n  [nzAutosize]=\"config.autosize\"\n  [required]=\"config.required\"\n  [disabled]=\"config.disabled\"\n  style=\"height: 107px; min-height: 107px\"\n></textarea>\n", directives: [{ type: i4__namespace.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzSize", "disabled"], exportAs: ["nzInput"] }, { type: i2__namespace.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i4__namespace.NzAutosizeDirective, selector: "textarea[nzAutosize]", inputs: ["nzAutosize"], exportAs: ["nzAutosize"] }, { type: i2__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i2__namespace.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RTextareaComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'app-r-textarea',
                        templateUrl: './r-textarea.component.html',
                        providers: [
                            {
                                provide: i2.NG_VALUE_ACCESSOR,
                                useExisting: i0.forwardRef(function () { return RTextareaComponent; }),
                                multi: true
                            }
                        ]
                    }]
            }], ctorParameters: function () { return [{ type: i0__namespace.Injector }]; } });

    var RNumberComponent = /** @class */ (function (_super) {
        __extends(RNumberComponent, _super);
        // @HostBinding('style.float') float = 'left';
        function RNumberComponent(injector) {
            return _super.call(this, injector) || this;
        }
        RNumberComponent.prototype.configChange = function (config) {
            // if (typeof config.min !== 'number') {
            //   config.min = 0;
            // }
            // if (typeof config.max !== 'number') {
            //   config.max = 100;
            // }
            if (typeof config.step !== 'number') {
                config.step = 1;
            }
        };
        return RNumberComponent;
    }(RenderComponentBase));
    RNumberComponent.KEY = 'r-d-number';
    RNumberComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RNumberComponent, deps: [{ token: i0__namespace.Injector }], target: i0__namespace.ɵɵFactoryTarget.Component });
    RNumberComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: RNumberComponent, selector: "app-r-number", providers: [
            {
                provide: i2.NG_VALUE_ACCESSOR,
                useExisting: i0.forwardRef(function () { return RNumberComponent; }),
                multi: true
            }
        ], usesInheritance: true, ngImport: i0__namespace, template: "<r-widget-control [control]=\"firstnameControl\">\n  <nz-input-number\n    [name]=\"config.name\"\n    [nzPlaceHolder]=\"config.placeholder\"\n    [(ngModel)]=\"config.value\"\n    (ngModelChange)=\"onChange($event)\"\n    [nzMin]=\"config.min\"\n    [nzMax]=\"config.max\"\n    [nzStep]=\"config.step\"\n    [required]=\"config.required\"\n    [disabled]=\"config.disabled\"\n    ngDefaultControl\n    #firstnameControl=\"ngModel\"\n    style=\"width: 100%\"\n  ></nz-input-number>\n</r-widget-control>\n", components: [{ type: RWidgetControlComponent, selector: "r-widget-control", inputs: ["control"] }, { type: i2__namespace$1.NzInputNumberComponent, selector: "nz-input-number", inputs: ["nzSize", "nzMin", "nzMax", "nzParser", "nzPrecisionMode", "nzPlaceHolder", "nzStep", "nzInputMode", "nzId", "nzDisabled", "nzAutoFocus", "nzFormatter", "nzPrecision"], outputs: ["nzBlur", "nzFocus"], exportAs: ["nzInputNumber"] }], directives: [{ type: i2__namespace.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i2__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i2__namespace.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RNumberComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'app-r-number',
                        templateUrl: './r-number.component.html',
                        providers: [
                            {
                                provide: i2.NG_VALUE_ACCESSOR,
                                useExisting: i0.forwardRef(function () { return RNumberComponent; }),
                                multi: true
                            }
                        ]
                    }]
            }], ctorParameters: function () { return [{ type: i0__namespace.Injector }]; } });

    var RRadioComponent = /** @class */ (function (_super) {
        __extends(RRadioComponent, _super);
        function RRadioComponent(injector) {
            return _super.call(this, injector) || this;
        }
        RRadioComponent.prototype.configChange = function (config) {
            if (!Array.isArray(config.dataSource)) {
                config.dataSource = [
                    {
                        value: '1',
                        label: '选项1'
                    },
                    {
                        value: '2',
                        label: '选项2'
                    },
                    {
                        value: '3',
                        label: '选项3'
                    }
                ];
            }
        };
        return RRadioComponent;
    }(RenderComponentBase));
    RRadioComponent.KEY = 'r-d-radio';
    RRadioComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RRadioComponent, deps: [{ token: i0__namespace.Injector }], target: i0__namespace.ɵɵFactoryTarget.Component });
    RRadioComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: RRadioComponent, selector: "app-r-radio", providers: [
            {
                provide: i2.NG_VALUE_ACCESSOR,
                useExisting: i0.forwardRef(function () { return RRadioComponent; }),
                multi: true
            }
        ], usesInheritance: true, ngImport: i0__namespace, template: "<r-widget-control [control]=\"firstnameControl\">\n  <nz-radio-group\n    [name]=\"config.name\"\n    [(ngModel)]=\"config.value\"\n    (ngModelChange)=\"onChange($event)\"\n    ngDefaultControl\n    #firstnameControl=\"ngModel\"\n    [required]=\"config.required\"\n    [disabled]=\"config.disabled\"\n  >\n    <ng-container *ngFor=\"let item of config.dataSource\">\n      <label nz-radio [nzValue]=\"item.value\">{{ item.label }}</label>\n    </ng-container>\n  </nz-radio-group>\n</r-widget-control>\n", components: [{ type: RWidgetControlComponent, selector: "r-widget-control", inputs: ["control"] }, { type: i3__namespace$4.NzRadioGroupComponent, selector: "nz-radio-group", inputs: ["nzDisabled", "nzButtonStyle", "nzSize", "nzName"], exportAs: ["nzRadioGroup"] }, { type: i3__namespace$4.NzRadioComponent, selector: "[nz-radio],[nz-radio-button]", inputs: ["nzValue", "nzDisabled", "nzAutoFocus"], exportAs: ["nzRadio"] }], directives: [{ type: i2__namespace.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i2__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i2__namespace.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { type: i3__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RRadioComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'app-r-radio',
                        templateUrl: './r-radio.component.html',
                        providers: [
                            {
                                provide: i2.NG_VALUE_ACCESSOR,
                                useExisting: i0.forwardRef(function () { return RRadioComponent; }),
                                multi: true
                            }
                        ]
                    }]
            }], ctorParameters: function () { return [{ type: i0__namespace.Injector }]; } });

    var RCheckboxComponent = /** @class */ (function (_super) {
        __extends(RCheckboxComponent, _super);
        function RCheckboxComponent(injector) {
            return _super.call(this, injector) || this;
        }
        RCheckboxComponent.prototype.configChange = function (config) {
            if (!Array.isArray(config.dataSource)) {
                config.dataSource = [
                    {
                        value: '1',
                        label: '选项1'
                    },
                    {
                        value: '2',
                        label: '选项2'
                    },
                    {
                        value: '3',
                        label: '选项3'
                    }
                ];
            }
            if (Array.isArray(config.dataSource) && config.value) {
                config.dataSource.map(function (data) {
                    var valueArr = config.value.split(',');
                    if (valueArr.includes(data.value)) {
                        data.checked = true;
                    }
                });
            }
        };
        return RCheckboxComponent;
    }(RenderComponentBase));
    RCheckboxComponent.KEY = 'r-d-checkbox';
    RCheckboxComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RCheckboxComponent, deps: [{ token: i0__namespace.Injector }], target: i0__namespace.ɵɵFactoryTarget.Component });
    RCheckboxComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: RCheckboxComponent, selector: "app-r-checkbox", providers: [
            {
                provide: i2.NG_VALUE_ACCESSOR,
                useExisting: i0.forwardRef(function () { return RCheckboxComponent; }),
                multi: true
            }
        ], usesInheritance: true, ngImport: i0__namespace, template: "<r-widget-control [control]=\"firstnameControl\">\n  <nz-checkbox-group\n    [name]=\"config.name\"\n    [(ngModel)]=\"config.dataSource\"\n    (ngModelChange)=\"onChange($event)\"\n    [required]=\"config.required\"\n    [disabled]=\"config.disabled\"\n    ngDefaultControl\n    #firstnameControl=\"ngModel\"\n  >\n  </nz-checkbox-group>\n</r-widget-control>\n", components: [{ type: RWidgetControlComponent, selector: "r-widget-control", inputs: ["control"] }, { type: i4__namespace$2.NzCheckboxGroupComponent, selector: "nz-checkbox-group", inputs: ["nzDisabled"], exportAs: ["nzCheckboxGroup"] }], directives: [{ type: i2__namespace.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i2__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i2__namespace.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RCheckboxComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'app-r-checkbox',
                        templateUrl: './r-checkbox.component.html',
                        providers: [
                            {
                                provide: i2.NG_VALUE_ACCESSOR,
                                useExisting: i0.forwardRef(function () { return RCheckboxComponent; }),
                                multi: true
                            }
                        ]
                    }]
            }], ctorParameters: function () { return [{ type: i0__namespace.Injector }]; } });

    var RSelectComponent = /** @class */ (function (_super) {
        __extends(RSelectComponent, _super);
        function RSelectComponent(injector) {
            return _super.call(this, injector) || this;
        }
        RSelectComponent.prototype.configChange = function (config) {
            if (typeof config.showSearch !== 'boolean') {
                config.showSearch = true;
            }
            if (typeof config.allowClear !== 'boolean') {
                config.allowClear = true;
            }
            if (!Array.isArray(config.dataSource)) {
                config.dataSource = [
                    {
                        value: '1',
                        label: '选项1'
                    },
                    {
                        value: '2',
                        label: '选项2'
                    },
                    {
                        value: '3',
                        label: '选项3'
                    }
                ];
            }
        };
        return RSelectComponent;
    }(RenderComponentBase));
    RSelectComponent.KEY = 'r-d-select';
    RSelectComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RSelectComponent, deps: [{ token: i0__namespace.Injector }], target: i0__namespace.ɵɵFactoryTarget.Component });
    RSelectComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: RSelectComponent, selector: "app-r-select", providers: [
            {
                provide: i2.NG_VALUE_ACCESSOR,
                useExisting: i0.forwardRef(function () { return RSelectComponent; }),
                multi: true
            }
        ], usesInheritance: true, ngImport: i0__namespace, template: "<r-widget-control [control]=\"firstnameControl\">\n  <nz-select\n    [name]=\"config.name\"\n    [nzShowSearch]=\"config.showSearch\"\n    [nzAllowClear]=\"config.allowClear\"\n    [nzPlaceHolder]=\"config.placeholder\"\n    [(ngModel)]=\"config.value\"\n    (ngModelChange)=\"onChange($event)\"\n    [required]=\"config.required\"\n    [disabled]=\"config.disabled\"\n    ngDefaultControl\n    #firstnameControl=\"ngModel\"\n  >\n    <ng-container *ngFor=\"let item of config.dataSource\">\n      <nz-option [nzLabel]=\"item.label\" [nzValue]=\"item.value\"></nz-option>\n    </ng-container>\n  </nz-select>\n</r-widget-control>\n", components: [{ type: RWidgetControlComponent, selector: "r-widget-control", inputs: ["control"] }, { type: i2__namespace$2.NzSelectComponent, selector: "nz-select", inputs: ["nzId", "nzSize", "nzOptionHeightPx", "nzOptionOverflowSize", "nzDropdownClassName", "nzDropdownMatchSelectWidth", "nzDropdownStyle", "nzNotFoundContent", "nzPlaceHolder", "nzMaxTagCount", "nzDropdownRender", "nzCustomTemplate", "nzSuffixIcon", "nzClearIcon", "nzRemoveIcon", "nzMenuItemSelectedIcon", "nzTokenSeparators", "nzMaxTagPlaceholder", "nzMaxMultipleCount", "nzMode", "nzFilterOption", "compareWith", "nzAllowClear", "nzBorderless", "nzShowSearch", "nzLoading", "nzAutoFocus", "nzAutoClearSearchValue", "nzServerSearch", "nzDisabled", "nzOpen", "nzBackdrop", "nzOptions", "nzShowArrow"], outputs: ["nzOnSearch", "nzScrollToBottom", "nzOpenChange", "nzBlur", "nzFocus"], exportAs: ["nzSelect"] }, { type: i2__namespace$2.NzOptionComponent, selector: "nz-option", inputs: ["nzLabel", "nzValue", "nzDisabled", "nzHide", "nzCustomContent"], exportAs: ["nzOption"] }], directives: [{ type: i2__namespace.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i2__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i2__namespace.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { type: i3__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RSelectComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'app-r-select',
                        templateUrl: './r-select.component.html',
                        providers: [
                            {
                                provide: i2.NG_VALUE_ACCESSOR,
                                useExisting: i0.forwardRef(function () { return RSelectComponent; }),
                                multi: true
                            }
                        ]
                    }]
            }], ctorParameters: function () { return [{ type: i0__namespace.Injector }]; } });

    // 名字改了  类名改了  后面的BaseId 和Id也根据Rdo来改
    var GDatePipe = /** @class */ (function () {
        function GDatePipe() {
        }
        GDatePipe.prototype.transform = function (value, args) {
            if (value) {
                var timestamp = Date.parse(value);
                return moment__namespace(timestamp).format();
            }
        };
        return GDatePipe;
    }());
    GDatePipe.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: GDatePipe, deps: [], target: i0__namespace.ɵɵFactoryTarget.Pipe });
    GDatePipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: GDatePipe, name: "datePipe" });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: GDatePipe, decorators: [{
                type: i0.Pipe,
                args: [{
                        name: 'datePipe'
                    }]
            }] });

    var RDateComponent = /** @class */ (function (_super) {
        __extends(RDateComponent, _super);
        // @HostBinding('style.float') float = 'left';
        function RDateComponent(injector) {
            var _this = _super.call(this, injector) || this;
            _this.dateFormat = 'yyyy-MM-dd';
            return _this;
        }
        RDateComponent.prototype.configChange = function (config) {
            if (typeof config.allowClear !== 'boolean') {
                config.allowClear = true;
            }
            // config.value = '2021-12-12';
            // if (config.value) {
            //   config.value = new Date();
            //   console.log(config.value, ' config.value');
            // }
        };
        return RDateComponent;
    }(RenderComponentBase));
    RDateComponent.KEY = 'r-d-date';
    RDateComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RDateComponent, deps: [{ token: i0__namespace.Injector }], target: i0__namespace.ɵɵFactoryTarget.Component });
    RDateComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: RDateComponent, selector: "app-r-date", providers: [
            {
                provide: i2.NG_VALUE_ACCESSOR,
                useExisting: i0.forwardRef(function () { return RDateComponent; }),
                multi: true
            }
        ], usesInheritance: true, ngImport: i0__namespace, template: "<r-widget-control [control]=\"firstnameControl\">\n  <nz-date-picker\n    [name]=\"config.name\"\n    [nzPlaceHolder]=\"config.placeholder\"\n    [nzAllowClear]=\"config.allowClear\"\n    [ngModel]=\"config.value | datePipe\"\n    (ngModelChange)=\"onChange($event)\"\n    [nzFormat]=\"dateFormat\"\n    [required]=\"config.required\"\n    [disabled]=\"config.disabled\"\n    ngDefaultControl\n    #firstnameControl=\"ngModel\"\n    style=\"width: 100%\"\n  ></nz-date-picker>\n</r-widget-control>\n", components: [{ type: RWidgetControlComponent, selector: "r-widget-control", inputs: ["control"] }, { type: i1__namespace$2.NzDatePickerComponent, selector: "nz-date-picker,nz-week-picker,nz-month-picker,nz-year-picker,nz-range-picker", inputs: ["nzAllowClear", "nzAutoFocus", "nzDisabled", "nzBorderless", "nzInputReadOnly", "nzInline", "nzPlaceHolder", "nzPopupStyle", "nzSize", "nzShowToday", "nzMode", "nzShowNow", "nzDefaultPickerValue", "nzSeparator", "nzSuffixIcon", "nzBackdrop", "nzId", "nzShowTime", "nzFormat", "nzLocale", "nzOpen", "nzDisabledDate", "nzDropdownClassName", "nzDateRender", "nzDisabledTime", "nzRenderExtraFooter", "nzRanges"], outputs: ["nzOnPanelChange", "nzOnCalendarChange", "nzOnOk", "nzOnOpenChange"], exportAs: ["nzDatePicker"] }], directives: [{ type: i2__namespace.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i2__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i2__namespace.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }], pipes: { "datePipe": GDatePipe } });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RDateComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'app-r-date',
                        templateUrl: './r-date.component.html',
                        providers: [
                            {
                                provide: i2.NG_VALUE_ACCESSOR,
                                useExisting: i0.forwardRef(function () { return RDateComponent; }),
                                multi: true
                            }
                        ]
                    }]
            }], ctorParameters: function () { return [{ type: i0__namespace.Injector }]; } });

    // 名字改了  类名改了  后面的BaseId 和Id也根据Rdo来改
    var GDateRangePipe = /** @class */ (function () {
        function GDateRangePipe() {
        }
        GDateRangePipe.prototype.transform = function (value, args) {
            var start, end;
            if (value) {
                var valueArr = value.split(',');
                if (valueArr && valueArr[0]) {
                    var timestamp = Date.parse(valueArr[0]);
                    start = moment__namespace(timestamp).format();
                }
                if (valueArr && valueArr[1]) {
                    var timestamp = Date.parse(valueArr[1]);
                    end = moment__namespace(timestamp).format();
                }
                return [start, end];
            }
        };
        return GDateRangePipe;
    }());
    GDateRangePipe.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: GDateRangePipe, deps: [], target: i0__namespace.ɵɵFactoryTarget.Pipe });
    GDateRangePipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: GDateRangePipe, name: "dateRangePipe" });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: GDateRangePipe, decorators: [{
                type: i0.Pipe,
                args: [{
                        name: 'dateRangePipe'
                    }]
            }] });

    var RDateRangeComponent = /** @class */ (function (_super) {
        __extends(RDateRangeComponent, _super);
        function RDateRangeComponent(injector) {
            var _this = _super.call(this, injector) || this;
            _this.dateFormat = 'yyyy-MM-dd';
            return _this;
        }
        RDateRangeComponent.prototype.configChange = function (config) {
            if (typeof config.allowClear !== 'boolean') {
                config.allowClear = true;
            }
            // config.value = '2020-12-12,2020-12-20';
            // if (config.value && config.value.length) {
            //   let arr = config.value.split(',');
            //   config.value = arr;
            // }
            // if (config.placeholder && config.placeholder.length) {
            //   let arr = config.placeholder.split(',');
            //   config.placeholder = arr;
            // }
        };
        return RDateRangeComponent;
    }(RenderComponentBase));
    RDateRangeComponent.KEY = 'r-d-date-range';
    RDateRangeComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RDateRangeComponent, deps: [{ token: i0__namespace.Injector }], target: i0__namespace.ɵɵFactoryTarget.Component });
    RDateRangeComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: RDateRangeComponent, selector: "app-r-date-range", providers: [
            {
                provide: i2.NG_VALUE_ACCESSOR,
                useExisting: i0.forwardRef(function () { return RDateRangeComponent; }),
                multi: true
            }
        ], usesInheritance: true, ngImport: i0__namespace, template: "<r-widget-control [control]=\"firstnameControl\">\n  <nz-range-picker\n    [name]=\"config.name\"\n    [nzPlaceHolder]=\"config.placeholder\"\n    [nzAllowClear]=\"config.allowClear\"\n    [ngModel]=\"config.value | dateRangePipe\"\n    (ngModelChange)=\"onChange($event)\"\n    [nzFormat]=\"dateFormat\"\n    [required]=\"config.required\"\n    [disabled]=\"config.disabled\"\n    ngDefaultControl\n    #firstnameControl=\"ngModel\"\n    style=\"width: 100%\"\n  ></nz-range-picker>\n</r-widget-control>\n", components: [{ type: RWidgetControlComponent, selector: "r-widget-control", inputs: ["control"] }, { type: i1__namespace$2.NzDatePickerComponent, selector: "nz-date-picker,nz-week-picker,nz-month-picker,nz-year-picker,nz-range-picker", inputs: ["nzAllowClear", "nzAutoFocus", "nzDisabled", "nzBorderless", "nzInputReadOnly", "nzInline", "nzPlaceHolder", "nzPopupStyle", "nzSize", "nzShowToday", "nzMode", "nzShowNow", "nzDefaultPickerValue", "nzSeparator", "nzSuffixIcon", "nzBackdrop", "nzId", "nzShowTime", "nzFormat", "nzLocale", "nzOpen", "nzDisabledDate", "nzDropdownClassName", "nzDateRender", "nzDisabledTime", "nzRenderExtraFooter", "nzRanges"], outputs: ["nzOnPanelChange", "nzOnCalendarChange", "nzOnOk", "nzOnOpenChange"], exportAs: ["nzDatePicker"] }], directives: [{ type: i1__namespace$2.NzRangePickerComponent, selector: "nz-range-picker", exportAs: ["nzRangePicker"] }, { type: i2__namespace.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i2__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i2__namespace.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }], pipes: { "dateRangePipe": GDateRangePipe } });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RDateRangeComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'app-r-date-range',
                        templateUrl: './r-date-range.component.html',
                        providers: [
                            {
                                provide: i2.NG_VALUE_ACCESSOR,
                                useExisting: i0.forwardRef(function () { return RDateRangeComponent; }),
                                multi: true
                            }
                        ]
                    }]
            }], ctorParameters: function () { return [{ type: i0__namespace.Injector }]; } });

    var RConNumberDecimalComponent = /** @class */ (function (_super) {
        __extends(RConNumberDecimalComponent, _super);
        function RConNumberDecimalComponent(injector) {
            var _this = _super.call(this, injector) || this;
            // @HostBinding('style.float') float = 'left';
            _this.ruleType = exports.ValidationRuleType;
            return _this;
        }
        RConNumberDecimalComponent.prototype.configChange = function (config) {
            if (typeof config.step !== 'number') {
                config.step = 1;
            }
            if (!config.effective) {
                config.effective = [];
            }
        };
        return RConNumberDecimalComponent;
    }(RenderComponentBase));
    RConNumberDecimalComponent.KEY = 'r-d-con-number-decimal';
    RConNumberDecimalComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RConNumberDecimalComponent, deps: [{ token: i0__namespace.Injector }], target: i0__namespace.ɵɵFactoryTarget.Component });
    RConNumberDecimalComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: RConNumberDecimalComponent, selector: "app-r-con-number-decimal", providers: [
            {
                provide: i2.NG_VALUE_ACCESSOR,
                useExisting: i0.forwardRef(function () { return RConNumberDecimalComponent; }),
                multi: true
            }
        ], usesInheritance: true, ngImport: i0__namespace, template: "<nz-row nzGutter=\"24\">\n  <nz-col [nzSm]=\"24\">\n    <r-widget-control [control]=\"firstnameControl\">\n      <nz-input-number\n        [name]=\"config.name\"\n        [nzPlaceHolder]=\"config.placeholder\"\n        [(ngModel)]=\"config.value\"\n        (ngModelChange)=\"onChange($event)\"\n        [nzPrecision]=\"config.precision\"\n        nzPrecisionMode=\"cut\"\n        [nzMin]=\"config.min\"\n        [nzMax]=\"config.max\"\n        [nzStep]=\"config.step\"\n        style=\"width: 100%\"\n        ngDefaultControl\n        #firstnameControl=\"ngModel\"\n        [required]=\"config.required\"\n        [disabled]=\"config.disabled\"\n      ></nz-input-number>\n    </r-widget-control>\n  </nz-col>\n  <nz-col [nzSm]=\"24\" *ngIf=\"config.ruleType === ruleType.Limit\">\n    <app-limit-display [config]=\"config\"> </app-limit-display>\n  </nz-col>\n  <nz-col [nzSm]=\"24\" *ngIf=\"config.ruleType === ruleType.Effective && config.effective.length\">\n    <app-effective-display [config]=\"config\"> </app-effective-display>\n  </nz-col>\n</nz-row>\n", components: [{ type: RWidgetControlComponent, selector: "r-widget-control", inputs: ["control"] }, { type: i2__namespace$1.NzInputNumberComponent, selector: "nz-input-number", inputs: ["nzSize", "nzMin", "nzMax", "nzParser", "nzPrecisionMode", "nzPlaceHolder", "nzStep", "nzInputMode", "nzId", "nzDisabled", "nzAutoFocus", "nzFormatter", "nzPrecision"], outputs: ["nzBlur", "nzFocus"], exportAs: ["nzInputNumber"] }, { type: LimitDisplayComponent, selector: "app-limit-display", inputs: ["config"] }, { type: EffectiveDisplayComponent, selector: "app-effective-display", inputs: ["config"] }], directives: [{ type: i3__namespace$2.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { type: i3__namespace$2.NzColDirective, selector: "[nz-col],nz-col,nz-form-control,nz-form-label", inputs: ["nzFlex", "nzSpan", "nzOrder", "nzOffset", "nzPush", "nzPull", "nzXs", "nzSm", "nzMd", "nzLg", "nzXl", "nzXXl"], exportAs: ["nzCol"] }, { type: i2__namespace.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i2__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i2__namespace.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RConNumberDecimalComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'app-r-con-number-decimal',
                        templateUrl: './r-con-number-decimal.component.html',
                        providers: [
                            {
                                provide: i2.NG_VALUE_ACCESSOR,
                                useExisting: i0.forwardRef(function () { return RConNumberDecimalComponent; }),
                                multi: true
                            }
                        ]
                    }]
            }], ctorParameters: function () { return [{ type: i0__namespace.Injector }]; } });

    var RConNumberFloatComponent = /** @class */ (function (_super) {
        __extends(RConNumberFloatComponent, _super);
        function RConNumberFloatComponent(injector) {
            var _this = _super.call(this, injector) || this;
            // @HostBinding('style.float') float = 'left';
            _this.ruleType = exports.ValidationRuleType;
            return _this;
        }
        RConNumberFloatComponent.prototype.configChange = function (config) {
            if (typeof config.step !== 'number') {
                config.step = 1;
            }
            if (!config.effective) {
                config.effective = [];
            }
        };
        return RConNumberFloatComponent;
    }(RenderComponentBase));
    RConNumberFloatComponent.KEY = 'r-d-con-number-float';
    RConNumberFloatComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RConNumberFloatComponent, deps: [{ token: i0__namespace.Injector }], target: i0__namespace.ɵɵFactoryTarget.Component });
    RConNumberFloatComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: RConNumberFloatComponent, selector: "app-r-con-number-float", providers: [
            {
                provide: i2.NG_VALUE_ACCESSOR,
                useExisting: i0.forwardRef(function () { return RConNumberFloatComponent; }),
                multi: true
            }
        ], usesInheritance: true, ngImport: i0__namespace, template: "<nz-row nzGutter=\"24\">\n  <nz-col [nzSm]=\"24\">\n    <r-widget-control [control]=\"firstnameControl\">\n      <nz-input-number\n        [name]=\"config.name\"\n        [nzPlaceHolder]=\"config.placeholder\"\n        [(ngModel)]=\"config.value\"\n        (ngModelChange)=\"onChange($event)\"\n        [nzPrecision]=\"config.precision\"\n        nzPrecisionMode=\"cut\"\n        [nzMin]=\"config.min\"\n        [nzMax]=\"config.max\"\n        [nzStep]=\"config.step\"\n        style=\"width: 100%\"\n        ngDefaultControl\n        #firstnameControl=\"ngModel\"\n        [required]=\"config.required\"\n        [disabled]=\"config.disabled\"\n      ></nz-input-number>\n    </r-widget-control>\n  </nz-col>\n  <nz-col [nzSm]=\"24\" *ngIf=\"config.ruleType === ruleType.Limit\">\n    <app-limit-display [config]=\"config\"> </app-limit-display>\n  </nz-col>\n  <nz-col [nzSm]=\"24\" *ngIf=\"config.ruleType === ruleType.Effective && config.effective.length\">\n    <app-effective-display [config]=\"config\"> </app-effective-display>\n  </nz-col>\n</nz-row>\n", components: [{ type: RWidgetControlComponent, selector: "r-widget-control", inputs: ["control"] }, { type: i2__namespace$1.NzInputNumberComponent, selector: "nz-input-number", inputs: ["nzSize", "nzMin", "nzMax", "nzParser", "nzPrecisionMode", "nzPlaceHolder", "nzStep", "nzInputMode", "nzId", "nzDisabled", "nzAutoFocus", "nzFormatter", "nzPrecision"], outputs: ["nzBlur", "nzFocus"], exportAs: ["nzInputNumber"] }, { type: LimitDisplayComponent, selector: "app-limit-display", inputs: ["config"] }, { type: EffectiveDisplayComponent, selector: "app-effective-display", inputs: ["config"] }], directives: [{ type: i3__namespace$2.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { type: i3__namespace$2.NzColDirective, selector: "[nz-col],nz-col,nz-form-control,nz-form-label", inputs: ["nzFlex", "nzSpan", "nzOrder", "nzOffset", "nzPush", "nzPull", "nzXs", "nzSm", "nzMd", "nzLg", "nzXl", "nzXXl"], exportAs: ["nzCol"] }, { type: i2__namespace.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i2__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i2__namespace.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RConNumberFloatComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'app-r-con-number-float',
                        templateUrl: './r-con-number-float.component.html',
                        providers: [
                            {
                                provide: i2.NG_VALUE_ACCESSOR,
                                useExisting: i0.forwardRef(function () { return RConNumberFloatComponent; }),
                                multi: true
                            }
                        ]
                    }]
            }], ctorParameters: function () { return [{ type: i0__namespace.Injector }]; } });

    var RConNumberIntegerComponent = /** @class */ (function (_super) {
        __extends(RConNumberIntegerComponent, _super);
        function RConNumberIntegerComponent(injector) {
            var _this = _super.call(this, injector) || this;
            _this.ruleType = exports.ValidationRuleType;
            return _this;
        }
        RConNumberIntegerComponent.prototype.configChange = function (config) {
            if (typeof config.step !== 'number') {
                config.step = 1;
            }
            if (!config.effective) {
                config.effective = [];
            }
        };
        return RConNumberIntegerComponent;
    }(RenderComponentBase));
    RConNumberIntegerComponent.KEY = 'r-d-con-number-integer';
    RConNumberIntegerComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RConNumberIntegerComponent, deps: [{ token: i0__namespace.Injector }], target: i0__namespace.ɵɵFactoryTarget.Component });
    RConNumberIntegerComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: RConNumberIntegerComponent, selector: "app-r-con-number-integer", providers: [
            {
                provide: i2.NG_VALUE_ACCESSOR,
                useExisting: i0.forwardRef(function () { return RConNumberIntegerComponent; }),
                multi: true
            }
        ], usesInheritance: true, ngImport: i0__namespace, template: "<nz-row nzGutter=\"24\">\n  <nz-col [nzSm]=\"24\">\n    <r-widget-control [control]=\"firstnameControl\">\n      <nz-input-number\n        [name]=\"config.name\"\n        [nzPlaceHolder]=\"config.placeholder\"\n        [(ngModel)]=\"config.value\"\n        (ngModelChange)=\"onChange($event)\"\n        [nzPrecision]=\"0\"\n        nzPrecisionMode=\"cut\"\n        [nzMin]=\"config.min\"\n        [nzMax]=\"config.max\"\n        [nzStep]=\"config.step\"\n        style=\"width: 100%\"\n        ngDefaultControl\n        #firstnameControl=\"ngModel\"\n        [required]=\"config.required\"\n        [disabled]=\"config.disabled\"\n      ></nz-input-number>\n    </r-widget-control>\n  </nz-col>\n  <nz-col [nzSm]=\"24\" *ngIf=\"config.ruleType === ruleType.Limit\">\n    <app-limit-display [config]=\"config\"> </app-limit-display>\n  </nz-col>\n  <nz-col [nzSm]=\"24\" *ngIf=\"config.ruleType === ruleType.Effective && config.effective.length\">\n    <app-effective-display [config]=\"config\"> </app-effective-display>\n  </nz-col>\n</nz-row>\n", components: [{ type: RWidgetControlComponent, selector: "r-widget-control", inputs: ["control"] }, { type: i2__namespace$1.NzInputNumberComponent, selector: "nz-input-number", inputs: ["nzSize", "nzMin", "nzMax", "nzParser", "nzPrecisionMode", "nzPlaceHolder", "nzStep", "nzInputMode", "nzId", "nzDisabled", "nzAutoFocus", "nzFormatter", "nzPrecision"], outputs: ["nzBlur", "nzFocus"], exportAs: ["nzInputNumber"] }, { type: LimitDisplayComponent, selector: "app-limit-display", inputs: ["config"] }, { type: EffectiveDisplayComponent, selector: "app-effective-display", inputs: ["config"] }], directives: [{ type: i3__namespace$2.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { type: i3__namespace$2.NzColDirective, selector: "[nz-col],nz-col,nz-form-control,nz-form-label", inputs: ["nzFlex", "nzSpan", "nzOrder", "nzOffset", "nzPush", "nzPull", "nzXs", "nzSm", "nzMd", "nzLg", "nzXl", "nzXXl"], exportAs: ["nzCol"] }, { type: i2__namespace.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i2__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i2__namespace.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RConNumberIntegerComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'app-r-con-number-integer',
                        templateUrl: './r-con-number-integer.component.html',
                        providers: [
                            {
                                provide: i2.NG_VALUE_ACCESSOR,
                                useExisting: i0.forwardRef(function () { return RConNumberIntegerComponent; }),
                                multi: true
                            }
                        ]
                    }]
            }], ctorParameters: function () { return [{ type: i0__namespace.Injector }]; } });

    var RConStringComponent = /** @class */ (function (_super) {
        __extends(RConStringComponent, _super);
        function RConStringComponent(injector) {
            return _super.call(this, injector) || this;
        }
        RConStringComponent.prototype.configChange = function (config) {
            if (!config.effective) {
                config.effective = [];
            }
        };
        return RConStringComponent;
    }(RenderComponentBase));
    RConStringComponent.KEY = 'r-d-con-string';
    RConStringComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RConStringComponent, deps: [{ token: i0__namespace.Injector }], target: i0__namespace.ɵɵFactoryTarget.Component });
    RConStringComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: RConStringComponent, selector: "app-r-con-string", providers: [
            {
                provide: i2.NG_VALUE_ACCESSOR,
                useExisting: i0.forwardRef(function () { return RConStringComponent; }),
                multi: true
            }
        ], usesInheritance: true, ngImport: i0__namespace, template: "<nz-row nzGutter=\"24\">\n  <nz-col [nzSm]=\"24\">\n    <r-widget-control [control]=\"firstnameControl\">\n      <input\n        nz-input\n        [name]=\"config.name\"\n        [placeholder]=\"config.placeholder\"\n        ngDefaultControl\n        #firstnameControl=\"ngModel\"\n        [(ngModel)]=\"config.value\"\n        (ngModelChange)=\"onChange($event)\"\n        [required]=\"config.required\"\n        [disabled]=\"config.disabled\"\n      />\n    </r-widget-control>\n  </nz-col>\n  <nz-col [nzSm]=\"24\" *ngIf=\"config.effective.length\">\n    <app-effective-display [config]=\"config\"> </app-effective-display>\n  </nz-col>\n</nz-row>\n", components: [{ type: RWidgetControlComponent, selector: "r-widget-control", inputs: ["control"] }, { type: EffectiveDisplayComponent, selector: "app-effective-display", inputs: ["config"] }], directives: [{ type: i3__namespace$2.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { type: i3__namespace$2.NzColDirective, selector: "[nz-col],nz-col,nz-form-control,nz-form-label", inputs: ["nzFlex", "nzSpan", "nzOrder", "nzOffset", "nzPush", "nzPull", "nzXs", "nzSm", "nzMd", "nzLg", "nzXl", "nzXXl"], exportAs: ["nzCol"] }, { type: i4__namespace.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzSize", "disabled"], exportAs: ["nzInput"] }, { type: i2__namespace.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i2__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i2__namespace.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RConStringComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'app-r-con-string',
                        templateUrl: './r-con-string.component.html',
                        providers: [
                            {
                                provide: i2.NG_VALUE_ACCESSOR,
                                useExisting: i0.forwardRef(function () { return RConStringComponent; }),
                                multi: true
                            }
                        ]
                    }]
            }], ctorParameters: function () { return [{ type: i0__namespace.Injector }]; } });

    var RConBooleanComponent = /** @class */ (function (_super) {
        __extends(RConBooleanComponent, _super);
        function RConBooleanComponent(injector) {
            return _super.call(this, injector) || this;
        }
        RConBooleanComponent.prototype.configChange = function (config) {
            if (!Array.isArray(config.dataSource)) {
                config.dataSource = [
                    {
                        value: true,
                        label: '是'
                    },
                    {
                        value: false,
                        label: '否'
                    }
                ];
            }
        };
        return RConBooleanComponent;
    }(RenderComponentBase));
    RConBooleanComponent.KEY = 'r-d-con-boolean';
    RConBooleanComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RConBooleanComponent, deps: [{ token: i0__namespace.Injector }], target: i0__namespace.ɵɵFactoryTarget.Component });
    RConBooleanComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: RConBooleanComponent, selector: "app-r-con-boolean", providers: [
            {
                provide: i2.NG_VALUE_ACCESSOR,
                useExisting: i0.forwardRef(function () { return RConBooleanComponent; }),
                multi: true
            }
        ], usesInheritance: true, ngImport: i0__namespace, template: "<r-widget-control [control]=\"firstnameControl\">\n  <nz-radio-group\n    [name]=\"config.name\"\n    [(ngModel)]=\"config.value\"\n    (ngModelChange)=\"onChange($event)\"\n    [required]=\"config.required\"\n    [disabled]=\"config.disabled\"\n    ngDefaultControl\n    #firstnameControl=\"ngModel\"\n  >\n    <ng-container *ngFor=\"let item of config.dataSource\">\n      <label nz-radio [nzValue]=\"item.value\">{{ item.label }}</label>\n    </ng-container>\n  </nz-radio-group>\n</r-widget-control>\n", components: [{ type: RWidgetControlComponent, selector: "r-widget-control", inputs: ["control"] }, { type: i3__namespace$4.NzRadioGroupComponent, selector: "nz-radio-group", inputs: ["nzDisabled", "nzButtonStyle", "nzSize", "nzName"], exportAs: ["nzRadioGroup"] }, { type: i3__namespace$4.NzRadioComponent, selector: "[nz-radio],[nz-radio-button]", inputs: ["nzValue", "nzDisabled", "nzAutoFocus"], exportAs: ["nzRadio"] }], directives: [{ type: i2__namespace.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i2__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i2__namespace.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { type: i3__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RConBooleanComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'app-r-con-boolean',
                        templateUrl: './r-con-boolean.component.html',
                        providers: [
                            {
                                provide: i2.NG_VALUE_ACCESSOR,
                                useExisting: i0.forwardRef(function () { return RConBooleanComponent; }),
                                multi: true
                            }
                        ]
                    }]
            }], ctorParameters: function () { return [{ type: i0__namespace.Injector }]; } });

    var RConFixedComponent = /** @class */ (function (_super) {
        __extends(RConFixedComponent, _super);
        function RConFixedComponent(injector) {
            return _super.call(this, injector) || this;
        }
        RConFixedComponent.prototype.configChange = function (config) {
            if (!config.effective) {
                config.effective = [];
            }
        };
        return RConFixedComponent;
    }(RenderComponentBase));
    RConFixedComponent.KEY = 'r-d-con-fixed';
    RConFixedComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RConFixedComponent, deps: [{ token: i0__namespace.Injector }], target: i0__namespace.ɵɵFactoryTarget.Component });
    RConFixedComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: RConFixedComponent, selector: "app-r-con-fixed", providers: [
            {
                provide: i2.NG_VALUE_ACCESSOR,
                useExisting: i0.forwardRef(function () { return RConFixedComponent; }),
                multi: true
            }
        ], usesInheritance: true, ngImport: i0__namespace, template: "<nz-row nzGutter=\"24\">\n  <nz-col [nzSm]=\"24\">\n    <r-widget-control [control]=\"firstnameControl\">\n      <input\n        nz-input\n        [name]=\"config.name\"\n        [placeholder]=\"config.placeholder\"\n        [(ngModel)]=\"config.value\"\n        (ngModelChange)=\"onChange($event)\"\n        [required]=\"config.required\"\n        [disabled]=\"config.disabled\"\n        ngDefaultControl\n        #firstnameControl=\"ngModel\"\n      />\n    </r-widget-control>\n  </nz-col>\n  <nz-col [nzSm]=\"24\" *ngIf=\"config.fixedValue\">\n    <app-fixed-display [config]=\"config\"> </app-fixed-display>\n  </nz-col>\n</nz-row>\n", components: [{ type: RWidgetControlComponent, selector: "r-widget-control", inputs: ["control"] }, { type: FixedDisplayComponent, selector: "app-fixed-display", inputs: ["config"] }], directives: [{ type: i3__namespace$2.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { type: i3__namespace$2.NzColDirective, selector: "[nz-col],nz-col,nz-form-control,nz-form-label", inputs: ["nzFlex", "nzSpan", "nzOrder", "nzOffset", "nzPush", "nzPull", "nzXs", "nzSm", "nzMd", "nzLg", "nzXl", "nzXXl"], exportAs: ["nzCol"] }, { type: i4__namespace.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzSize", "disabled"], exportAs: ["nzInput"] }, { type: i2__namespace.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i2__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i2__namespace.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RConFixedComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'app-r-con-fixed',
                        templateUrl: './r-con-fixed.component.html',
                        providers: [
                            {
                                provide: i2.NG_VALUE_ACCESSOR,
                                useExisting: i0.forwardRef(function () { return RConFixedComponent; }),
                                multi: true
                            }
                        ]
                    }]
            }], ctorParameters: function () { return [{ type: i0__namespace.Injector }]; } });

    var RConTimestampComponent = /** @class */ (function (_super) {
        __extends(RConTimestampComponent, _super);
        function RConTimestampComponent(injector) {
            return _super.call(this, injector) || this;
        }
        RConTimestampComponent.prototype.configChange = function (config) { };
        return RConTimestampComponent;
    }(RenderComponentBase));
    RConTimestampComponent.KEY = 'r-d-con-timestamp';
    RConTimestampComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RConTimestampComponent, deps: [{ token: i0__namespace.Injector }], target: i0__namespace.ɵɵFactoryTarget.Component });
    RConTimestampComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: RConTimestampComponent, selector: "app-r-con-timestamp", providers: [
            {
                provide: i2.NG_VALUE_ACCESSOR,
                useExisting: i0.forwardRef(function () { return RConTimestampComponent; }),
                multi: true
            }
        ], usesInheritance: true, ngImport: i0__namespace, template: "<nz-row nzGutter=\"24\">\n  <nz-col [nzSm]=\"24\">\n    <r-widget-control [control]=\"firstnameControl\">\n      <d-date-picker\n        [nzShowTime]=\"true\"\n        nzFormat=\"yyyy-MM-dd HH:mm:ss\"\n        [name]=\"config.name\"\n        ngDefaultControl\n        #firstnameControl=\"ngModel\"\n        [(ngModel)]=\"config.value\"\n        [required]=\"config.required\"\n        [disabled]=\"config.disabled\"\n        style=\"width: 100%\"\n      ></d-date-picker>\n    </r-widget-control>\n  </nz-col>\n  <nz-col [nzSm]=\"24\" *ngIf=\"config.effective\">\n    <app-effective-display [config]=\"config\"> </app-effective-display>\n  </nz-col>\n</nz-row>\n", components: [{ type: RWidgetControlComponent, selector: "r-widget-control", inputs: ["control"] }, { type: DatePickerComponent, selector: "d-date-picker", inputs: ["ngModel", "nzDisabledTime", "nzFormat", "nzRenderExtraFooter", "nzShowTime", "nzShowToday", "nzPlaceHolder"], outputs: ["nzOnOk", "ngModelChange"] }, { type: EffectiveDisplayComponent, selector: "app-effective-display", inputs: ["config"] }], directives: [{ type: i3__namespace$2.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { type: i3__namespace$2.NzColDirective, selector: "[nz-col],nz-col,nz-form-control,nz-form-label", inputs: ["nzFlex", "nzSpan", "nzOrder", "nzOffset", "nzPush", "nzPull", "nzXs", "nzSm", "nzMd", "nzLg", "nzXl", "nzXXl"], exportAs: ["nzCol"] }, { type: i2__namespace.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i2__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i2__namespace.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RConTimestampComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'app-r-con-timestamp',
                        templateUrl: './r-con-timestamp.component.html',
                        providers: [
                            {
                                provide: i2.NG_VALUE_ACCESSOR,
                                useExisting: i0.forwardRef(function () { return RConTimestampComponent; }),
                                multi: true
                            }
                        ]
                    }]
            }], ctorParameters: function () { return [{ type: i0__namespace.Injector }]; } });

    var RTitleComponent = /** @class */ (function (_super) {
        __extends(RTitleComponent, _super);
        function RTitleComponent(injector) {
            return _super.call(this, injector) || this;
        }
        RTitleComponent.prototype.configChange = function (config) {
            if (typeof config.paddingLeft !== 'string') {
                config.paddingLeft = '10px';
            }
            if (typeof config.fontSize !== 'string') {
                config.fontSize = '18px';
            }
            if (typeof config.color !== 'string') {
                config.color = '#000000';
            }
            if (typeof config.weight !== 'number') {
                config.weight = '400';
            }
        };
        return RTitleComponent;
    }(RenderComponentBase));
    RTitleComponent.KEY = 'r-d-title';
    RTitleComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RTitleComponent, deps: [{ token: i0__namespace.Injector }], target: i0__namespace.ɵɵFactoryTarget.Component });
    RTitleComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: RTitleComponent, selector: "app-r-title", providers: [
            {
                provide: i2.NG_VALUE_ACCESSOR,
                useExisting: i0.forwardRef(function () { return RTitleComponent; }),
                multi: true
            }
        ], usesInheritance: true, ngImport: i0__namespace, template: "<div class=\"d-title\" [ngStyle]=\"{ paddingLeft: config.paddingLeft, fontSize: config.fontSize, color: config.color, weight: config.weight }\">\n  {{ config.label }}\n</div>\n", styles: [""], directives: [{ type: i3__namespace.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RTitleComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'app-r-title',
                        templateUrl: './r-title.component.html',
                        styles: [""],
                        providers: [
                            {
                                provide: i2.NG_VALUE_ACCESSOR,
                                useExisting: i0.forwardRef(function () { return RTitleComponent; }),
                                multi: true
                            }
                        ]
                    }]
            }], ctorParameters: function () { return [{ type: i0__namespace.Injector }]; } });

    var RGroupsComponent = /** @class */ (function (_super) {
        __extends(RGroupsComponent, _super);
        function RGroupsComponent(injector) {
            return _super.call(this, injector) || this;
        }
        RGroupsComponent.prototype.configChange = function (config) {
            if (!config.labelPosition) {
                config.labelPosition = 'top';
            }
        };
        RGroupsComponent.prototype.selectComponentChange = function (value) { };
        return RGroupsComponent;
    }(RenderComponentBase));
    RGroupsComponent.KEY = 'r-d-group';
    RGroupsComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RGroupsComponent, deps: [{ token: i0__namespace.Injector }], target: i0__namespace.ɵɵFactoryTarget.Component });
    RGroupsComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: RGroupsComponent, selector: "app-r-groups", providers: [
            {
                provide: i2.NG_VALUE_ACCESSOR,
                useExisting: i0.forwardRef(function () { return RGroupsComponent; }),
                multi: true
            }
        ], usesInheritance: true, ngImport: i0__namespace, template: "<!-- <div d-widget-form-render #widgetFormRender [(component)]=\"childrenComponent\" class=\"d-groups widget-form-container\"> </div> -->\n", styles: ["\n      .d-groups {\n        min-height: 100px;\n        background: #fff;\n        border: 1px dashed #ccc;\n        position: relative;\n        z-index: 1001;\n      }\n    "] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RGroupsComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'app-r-groups',
                        templateUrl: './r-groups.component.html',
                        styles: [
                            "\n      .d-groups {\n        min-height: 100px;\n        background: #fff;\n        border: 1px dashed #ccc;\n        position: relative;\n        z-index: 1001;\n      }\n    "
                        ],
                        providers: [
                            {
                                provide: i2.NG_VALUE_ACCESSOR,
                                useExisting: i0.forwardRef(function () { return RGroupsComponent; }),
                                multi: true
                            }
                        ]
                    }]
            }], ctorParameters: function () { return [{ type: i0__namespace.Injector }]; } });

    var RImageComponent = /** @class */ (function (_super) {
        __extends(RImageComponent, _super);
        // @HostBinding('style.float') float = 'left';
        function RImageComponent(injector) {
            var _this = _super.call(this, injector) || this;
            _this.fallback = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMIAAADDCAYAAADQvc6UAAABRWlDQ1BJQ0MgUHJvZmlsZQAAKJFjYGASSSwoyGFhYGDIzSspCnJ3UoiIjFJgf8LAwSDCIMogwMCcmFxc4BgQ4ANUwgCjUcG3awyMIPqyLsis7PPOq3QdDFcvjV3jOD1boQVTPQrgSkktTgbSf4A4LbmgqISBgTEFyFYuLykAsTuAbJEioKOA7DkgdjqEvQHEToKwj4DVhAQ5A9k3gGyB5IxEoBmML4BsnSQk8XQkNtReEOBxcfXxUQg1Mjc0dyHgXNJBSWpFCYh2zi+oLMpMzyhRcASGUqqCZ16yno6CkYGRAQMDKMwhqj/fAIcloxgHQqxAjIHBEugw5sUIsSQpBobtQPdLciLEVJYzMPBHMDBsayhILEqEO4DxG0txmrERhM29nYGBddr//5/DGRjYNRkY/l7////39v///y4Dmn+LgeHANwDrkl1AuO+pmgAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAwqADAAQAAAABAAAAwwAAAAD9b/HnAAAHlklEQVR4Ae3dP3PTWBSGcbGzM6GCKqlIBRV0dHRJFarQ0eUT8LH4BnRU0NHR0UEFVdIlFRV7TzRksomPY8uykTk/zewQfKw/9znv4yvJynLv4uLiV2dBoDiBf4qP3/ARuCRABEFAoBEgghggQAQZQKAnYEaQBAQaASKIAQJEkAEEegJmBElAoBEgghggQAQZQKAnYEaQBAQaASKIAQJEkAEEegJmBElAoBEgghggQAQZQKAnYEaQBAQaASKIAQJEkAEEegJmBElAoBEgghggQAQZQKAnYEaQBAQaASKIAQJEkAEEegJmBElAoBEgghggQAQZQKAnYEaQBAQaASKIAQJEkAEEegJmBElAoBEgghggQAQZQKAnYEaQBAQaASKIAQJEkAEEegJmBElAoBEgghggQAQZQKAnYEaQBAQaASKIAQJEkAEEegJmBElAoBEgghggQAQZQKAnYEaQBAQaASKIAQJEkAEEegJmBElAoBEgghggQAQZQKAnYEaQBAQaASKIAQJEkAEEegJmBElAoBEgghggQAQZQKAnYEaQBAQaASKIAQJEkAEEegJmBElAoBEgghggQAQZQKAnYEaQBAQaASKIAQJEkAEEegJmBElAoBEgghggQAQZQKAnYEaQBAQaASKIAQJEkAEEegJmBElAoBEgghgg0Aj8i0JO4OzsrPv69Wv+hi2qPHr0qNvf39+iI97soRIh4f3z58/u7du3SXX7Xt7Z2enevHmzfQe+oSN2apSAPj09TSrb+XKI/f379+08+A0cNRE2ANkupk+ACNPvkSPcAAEibACyXUyfABGm3yNHuAECRNgAZLuYPgEirKlHu7u7XdyytGwHAd8jjNyng4OD7vnz51dbPT8/7z58+NB9+/bt6jU/TI+AGWHEnrx48eJ/EsSmHzx40L18+fLyzxF3ZVMjEyDCiEDjMYZZS5wiPXnyZFbJaxMhQIQRGzHvWR7XCyOCXsOmiDAi1HmPMMQjDpbpEiDCiL358eNHurW/5SnWdIBbXiDCiA38/Pnzrce2YyZ4//59F3ePLNMl4PbpiL2J0L979+7yDtHDhw8vtzzvdGnEXdvUigSIsCLAWavHp/+qM0BcXMd/q25n1vF57TYBp0a3mUzilePj4+7k5KSLb6gt6ydAhPUzXnoPR0dHl79WGTNCfBnn1uvSCJdegQhLI1vvCk+fPu2ePXt2tZOYEV6/fn31dz+shwAR1sP1cqvLntbEN9MxA9xcYjsxS1jWR4AIa2Ibzx0tc44fYX/16lV6NDFLXH+YL32jwiACRBiEbf5KcXoTIsQSpzXx4N28Ja4BQoK7rgXiydbHjx/P25TaQAJEGAguWy0+2Q8PD6/Ki4R8EVl+bzBOnZY95fq9rj9zAkTI2SxdidBHqG9+skdw43borCXO/ZcJdraPWdv22uIEiLA4q7nvvCug8WTqzQveOH26fodo7g6uFe/a17W3+nFBAkRYENRdb1vkkz1CH9cPsVy/jrhr27PqMYvENYNlHAIesRiBYwRy0V+8iXP8+/fvX11Mr7L7ECueb/r48eMqm7FuI2BGWDEG8cm+7G3NEOfmdcTQw4h9/55lhm7DekRYKQPZF2ArbXTAyu4kDYB2YxUzwg0gi/41ztHnfQG26HbGel/crVrm7tNY+/1btkOEAZ2M05r4FB7r9GbAIdxaZYrHdOsgJ/wCEQY0J74TmOKnbxxT9n3FgGGWWsVdowHtjt9Nnvf7yQM2aZU/TIAIAxrw6dOnAWtZZcoEnBpNuTuObWMEiLAx1HY0ZQJEmHJ3HNvGCBBhY6jtaMoEiJB0Z29vL6ls58vxPcO8/zfrdo5qvKO+d3Fx8Wu8zf1dW4p/cPzLly/dtv9Ts/EbcvGAHhHyfBIhZ6NSiIBTo0LNNtScABFyNiqFCBChULMNNSdAhJyNSiECRCjUbEPNCRAhZ6NSiAARCjXbUHMCRMjZqBQiQIRCzTbUnAARcjYqhQgQoVCzDTUnQIScjUohAkQo1GxDzQkQIWejUogAEQo121BzAkTI2agUIkCEQs021JwAEXI2KoUIEKFQsw01J0CEnI1KIQJEKNRsQ80JECFno1KIABEKNdtQcwJEyNmoFCJAhELNNtScABFyNiqFCBChULMNNSdAhJyNSiECRCjUbEPNCRAhZ6NSiAARCjXbUHMCRMjZqBQiQIRCzTbUnAARcjYqhQgQoVCzDTUnQIScjUohAkQo1GxDzQkQIWejUogAEQo121BzAkTI2agUIkCEQs021JwAEXI2KoUIEKFQsw01J0CEnI1KIQJEKNRsQ80JECFno1KIABEKNdtQcwJEyNmoFCJAhELNNtScABFyNiqFCBChULMNNSdAhJyNSiECRCjUbEPNCRAhZ6NSiAARCjXbUHMCRMjZqBQiQIRCzTbUnAARcjYqhQgQoVCzDTUnQIScjUohAkQo1GxDzQkQIWejUogAEQo121BzAkTI2agUIkCEQs021JwAEXI2KoUIEKFQsw01J0CEnI1KIQJEKNRsQ80JECFno1KIABEKNdtQcwJEyNmoFCJAhELNNtScABFyNiqFCBChULMNNSdAhJyNSiEC/wGgKKC4YMA4TAAAAABJRU5ErkJggg==';
            return _this;
        }
        RImageComponent.prototype.configChange = function (config) {
            if (!config.width) {
                config.width = '200';
            }
            if (!config.height) {
                config.height = '200';
            }
        };
        return RImageComponent;
    }(RenderComponentBase));
    RImageComponent.KEY = 'r-d-image';
    RImageComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RImageComponent, deps: [{ token: i0__namespace.Injector }], target: i0__namespace.ɵɵFactoryTarget.Component });
    RImageComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: RImageComponent, selector: "app-r-image", providers: [
            {
                provide: i2.NG_VALUE_ACCESSOR,
                useExisting: i0.forwardRef(function () { return RImageComponent; }),
                multi: true
            }
        ], usesInheritance: true, ngImport: i0__namespace, template: "<r-widget-control>\n  <img\n    nz-image\n    [name]=\"config.name\"\n    [width]=\"config.width\"\n    [height]=\"config.height\"\n    [nzSrc]=\"config.value\"\n    [nzFallback]=\"fallback\"\n    alt=\"\"\n  />\n</r-widget-control>\n", components: [{ type: RWidgetControlComponent, selector: "r-widget-control", inputs: ["control"] }], directives: [{ type: i36__namespace.NzImageDirective, selector: "img[nz-image]", inputs: ["nzSrc", "nzSrcset", "nzDisablePreview", "nzFallback", "nzPlaceholder"], exportAs: ["nzImage"] }] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RImageComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'app-r-image',
                        templateUrl: './r-image.component.html',
                        styles: [],
                        providers: [
                            {
                                provide: i2.NG_VALUE_ACCESSOR,
                                useExisting: i0.forwardRef(function () { return RImageComponent; }),
                                multi: true
                            }
                        ]
                    }]
            }], ctorParameters: function () { return [{ type: i0__namespace.Injector }]; } });

    var RColorpickerComponent = /** @class */ (function (_super) {
        __extends(RColorpickerComponent, _super);
        function RColorpickerComponent(injector) {
            return _super.call(this, injector) || this;
        }
        RColorpickerComponent.prototype.configChange = function (config) { };
        return RColorpickerComponent;
    }(RenderComponentBase));
    RColorpickerComponent.KEY = 'r-d-colorpicker';
    RColorpickerComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RColorpickerComponent, deps: [{ token: i0__namespace.Injector }], target: i0__namespace.ɵɵFactoryTarget.Component });
    RColorpickerComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: RColorpickerComponent, selector: "app-r-colorpicker", providers: [
            {
                provide: i2.NG_VALUE_ACCESSOR,
                useExisting: i0.forwardRef(function () { return RColorpickerComponent; }),
                multi: true
            }
        ], usesInheritance: true, ngImport: i0__namespace, template: "<div\n  ngDefaultControl\n  #firstnameControl=\"ngModel\"\n  [name]=\"config.name\"\n  [(ngModel)]=\"config.value\"\n  [(colorPicker)]=\"config.value\"\n  [style.background]=\"config.value\"\n  [style.width]=\"'40px'\"\n  [style.height]=\"'40px'\"\n  [style.border]=\"'1px solid '\"\n></div>\n", directives: [{ type: i2__namespace.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i2__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i1__namespace$4.ColorPickerDirective, selector: "[colorPicker]", inputs: ["cpWidth", "cpHeight", "cpToggle", "cpDisabled", "cpIgnoredElements", "cpFallbackColor", "cpColorMode", "cpCmykEnabled", "cpOutputFormat", "cpAlphaChannel", "cpDisableInput", "cpDialogDisplay", "cpSaveClickOutside", "cpCloseClickOutside", "cpUseRootViewContainer", "cpPosition", "cpPositionOffset", "cpPositionRelativeToArrow", "cpOKButton", "cpOKButtonText", "cpOKButtonClass", "cpCancelButton", "cpCancelButtonText", "cpCancelButtonClass", "cpPresetLabel", "cpPresetColorsClass", "cpMaxPresetColorsLength", "cpPresetEmptyMessage", "cpPresetEmptyMessageClass", "cpAddColorButton", "cpAddColorButtonText", "cpAddColorButtonClass", "cpRemoveColorButtonClass", "colorPicker", "cpPresetColors"], outputs: ["cpInputChange", "cpToggleChange", "cpSliderChange", "cpSliderDragEnd", "cpSliderDragStart", "colorPickerOpen", "colorPickerClose", "colorPickerCancel", "colorPickerSelect", "colorPickerChange", "cpCmykColorChange", "cpPresetColorsChange"], exportAs: ["ngxColorPicker"] }] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RColorpickerComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'app-r-colorpicker',
                        templateUrl: './r-colorpicker.component.html',
                        styles: [],
                        providers: [
                            {
                                provide: i2.NG_VALUE_ACCESSOR,
                                useExisting: i0.forwardRef(function () { return RColorpickerComponent; }),
                                multi: true
                            }
                        ]
                    }]
            }], ctorParameters: function () { return [{ type: i0__namespace.Injector }]; } });

    var RRateComponent = /** @class */ (function (_super) {
        __extends(RRateComponent, _super);
        function RRateComponent(injector) {
            return _super.call(this, injector) || this;
        }
        RRateComponent.prototype.configChange = function (config) { };
        return RRateComponent;
    }(RenderComponentBase));
    RRateComponent.KEY = 'r-d-rate';
    RRateComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RRateComponent, deps: [{ token: i0__namespace.Injector }], target: i0__namespace.ɵɵFactoryTarget.Component });
    RRateComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: RRateComponent, selector: "app-r-rate", providers: [
            {
                provide: i2.NG_VALUE_ACCESSOR,
                useExisting: i0.forwardRef(function () { return RRateComponent; }),
                multi: true
            }
        ], usesInheritance: true, ngImport: i0__namespace, template: "<nz-rate\n  ngDefaultControl\n  #firstnameControl=\"ngModel\"\n  [name]=\"config.name\"\n  [(ngModel)]=\"config.value\"\n  nzAllowHalf\n  [nzDisabled]=\"config.disabled\"\n></nz-rate>\n", components: [{ type: i38__namespace.NzRateComponent, selector: "nz-rate", inputs: ["nzAllowClear", "nzAllowHalf", "nzDisabled", "nzAutoFocus", "nzCount", "nzTooltips", "nzCharacter"], outputs: ["nzOnBlur", "nzOnFocus", "nzOnHoverChange", "nzOnKeyDown"], exportAs: ["nzRate"] }], directives: [{ type: i2__namespace.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i2__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RRateComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'app-r-rate',
                        templateUrl: './r-rate.component.html',
                        styles: [],
                        providers: [
                            {
                                provide: i2.NG_VALUE_ACCESSOR,
                                useExisting: i0.forwardRef(function () { return RRateComponent; }),
                                multi: true
                            }
                        ]
                    }]
            }], ctorParameters: function () { return [{ type: i0__namespace.Injector }]; } });

    var RSliderComponent = /** @class */ (function (_super) {
        __extends(RSliderComponent, _super);
        function RSliderComponent(injector) {
            return _super.call(this, injector) || this;
        }
        RSliderComponent.prototype.configChange = function (config) { };
        return RSliderComponent;
    }(RenderComponentBase));
    RSliderComponent.KEY = 'r-d-slider';
    RSliderComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RSliderComponent, deps: [{ token: i0__namespace.Injector }], target: i0__namespace.ɵɵFactoryTarget.Component });
    RSliderComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: RSliderComponent, selector: "app-r-slider", providers: [
            {
                provide: i2.NG_VALUE_ACCESSOR,
                useExisting: i0.forwardRef(function () { return RSliderComponent; }),
                multi: true
            }
        ], usesInheritance: true, ngImport: i0__namespace, template: "<nz-slider\n  ngDefaultControl\n  #firstnameControl=\"ngModel\"\n  [name]=\"config.name\"\n  [(ngModel)]=\"config.value\"\n  [nzDisabled]=\"config.disabled\"\n></nz-slider>\n", components: [{ type: i37__namespace.NzSliderComponent, selector: "nz-slider", inputs: ["nzDisabled", "nzDots", "nzIncluded", "nzRange", "nzVertical", "nzReverse", "nzMarks", "nzMax", "nzMin", "nzStep", "nzTooltipVisible", "nzTooltipPlacement", "nzDefaultValue", "nzTipFormatter"], outputs: ["nzOnAfterChange"], exportAs: ["nzSlider"] }], directives: [{ type: i2__namespace.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i2__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RSliderComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'app-r-slider',
                        templateUrl: './r-slider.component.html',
                        styles: [],
                        providers: [
                            {
                                provide: i2.NG_VALUE_ACCESSOR,
                                useExisting: i0.forwardRef(function () { return RSliderComponent; }),
                                multi: true
                            }
                        ]
                    }]
            }], ctorParameters: function () { return [{ type: i0__namespace.Injector }]; } });

    var RSplitlineComponent = /** @class */ (function (_super) {
        __extends(RSplitlineComponent, _super);
        function RSplitlineComponent(injector) {
            return _super.call(this, injector) || this;
        }
        RSplitlineComponent.prototype.configChange = function (config) { };
        return RSplitlineComponent;
    }(RenderComponentBase));
    RSplitlineComponent.KEY = 'r-d-splitline';
    RSplitlineComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RSplitlineComponent, deps: [{ token: i0__namespace.Injector }], target: i0__namespace.ɵɵFactoryTarget.Component });
    RSplitlineComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: RSplitlineComponent, selector: "app-r-splitline", providers: [
            {
                provide: i2.NG_VALUE_ACCESSOR,
                useExisting: i0.forwardRef(function () { return RSplitlineComponent; }),
                multi: true
            }
        ], usesInheritance: true, ngImport: i0__namespace, template: "<div class=\"splitline\" style=\"border-bottom: 1px solid #000\"></div>\n" });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RSplitlineComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'app-r-splitline',
                        templateUrl: './r-splitline.component.html',
                        styles: [],
                        providers: [
                            {
                                provide: i2.NG_VALUE_ACCESSOR,
                                useExisting: i0.forwardRef(function () { return RSplitlineComponent; }),
                                multi: true
                            }
                        ]
                    }]
            }], ctorParameters: function () { return [{ type: i0__namespace.Injector }]; } });

    var RTextComponent = /** @class */ (function (_super) {
        __extends(RTextComponent, _super);
        function RTextComponent(injector) {
            return _super.call(this, injector) || this;
        }
        RTextComponent.prototype.configChange = function (config) { };
        return RTextComponent;
    }(RenderComponentBase));
    RTextComponent.KEY = 'r-d-text';
    RTextComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RTextComponent, deps: [{ token: i0__namespace.Injector }], target: i0__namespace.ɵɵFactoryTarget.Component });
    RTextComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: RTextComponent, selector: "app-r-text", providers: [
            {
                provide: i2.NG_VALUE_ACCESSOR,
                useExisting: i0.forwardRef(function () { return RTextComponent; }),
                multi: true
            }
        ], usesInheritance: true, ngImport: i0__namespace, template: "<div>\n  {{ config.value }}\n</div>\n" });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RTextComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'app-r-text',
                        templateUrl: './r-text.component.html',
                        styles: [],
                        providers: [
                            {
                                provide: i2.NG_VALUE_ACCESSOR,
                                useExisting: i0.forwardRef(function () { return RTextComponent; }),
                                multi: true
                            }
                        ]
                    }]
            }], ctorParameters: function () { return [{ type: i0__namespace.Injector }]; } });

    var GUeditorComponent = /** @class */ (function () {
        function GUeditorComponent(injector, viewRef, elementRef) {
            this.valueChange = new i0.EventEmitter();
        }
        GUeditorComponent.prototype.ngOnInit = function () { };
        GUeditorComponent.prototype.ngOnDestroy = function () {
            if (this.editor) {
                this.editor.destroy();
            }
            this.editor = null;
        };
        GUeditorComponent.prototype.ngAfterViewInit = function () {
            var div = document.createElement('div');
            div.id = "r_" + this.guid2();
            this.ueditor.nativeElement.append(div);
            var self = this;
            this.editor = new E__default["default"]("#" + div.id);
            this.editor.config.zIndex = 99;
            this.editor.config.focus = false;
            // 配置 onchange 回调函数
            this.editor.config.onchange = function (newHtml) {
                self.valueChange.emit(newHtml);
            };
            this.editor.create();
        };
        GUeditorComponent.prototype.writeValue = function (obj) {
            if (!obj) {
                this.editor.txt.html('');
            }
            else {
                this.editor.txt.html(obj);
            }
        };
        GUeditorComponent.prototype.registerOnChange = function (fn) {
            this.valueChange.emit = fn;
        };
        GUeditorComponent.prototype.registerOnTouched = function (fn) { };
        GUeditorComponent.prototype.setDisabledState = function (isDisabled) { };
        GUeditorComponent.prototype.guid2 = function () {
            function S4() {
                return (((1 + Math.random()) * 0x10000) | 0).toString(16).substring(1);
            }
            return S4() + S4() + '-' + S4() + '-' + S4() + '-' + S4() + '-' + S4() + S4() + S4();
        };
        return GUeditorComponent;
    }());
    GUeditorComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: GUeditorComponent, deps: [{ token: i0__namespace.Injector }, { token: i0__namespace.ViewContainerRef }, { token: i0__namespace.ElementRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
    GUeditorComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: GUeditorComponent, selector: "app-g-ueditor", inputs: { value: "value" }, outputs: { valueChange: "valueChange" }, providers: [
            {
                provide: i2.NG_VALUE_ACCESSOR,
                useExisting: i0.forwardRef(function () { return GUeditorComponent; }),
                multi: true
            }
        ], viewQueries: [{ propertyName: "ueditor", first: true, predicate: ["ueditor"], descendants: true }], ngImport: i0__namespace, template: "<div #ueditor></div>\n" });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: GUeditorComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'app-g-ueditor',
                        templateUrl: './g-ueditor.component.html',
                        styles: [],
                        providers: [
                            {
                                provide: i2.NG_VALUE_ACCESSOR,
                                useExisting: i0.forwardRef(function () { return GUeditorComponent; }),
                                multi: true
                            }
                        ]
                    }]
            }], ctorParameters: function () { return [{ type: i0__namespace.Injector }, { type: i0__namespace.ViewContainerRef }, { type: i0__namespace.ElementRef }]; }, propDecorators: { value: [{
                    type: i0.Input
                }], valueChange: [{
                    type: i0.Output
                }], ueditor: [{
                    type: i0.ViewChild,
                    args: ['ueditor']
                }] } });

    var RUeditorComponent = /** @class */ (function (_super) {
        __extends(RUeditorComponent, _super);
        function RUeditorComponent(injector) {
            return _super.call(this, injector) || this;
        }
        RUeditorComponent.prototype.configChange = function (config) { };
        return RUeditorComponent;
    }(RenderComponentBase));
    RUeditorComponent.KEY = 'r-d-ueditor';
    RUeditorComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RUeditorComponent, deps: [{ token: i0__namespace.Injector }], target: i0__namespace.ɵɵFactoryTarget.Component });
    RUeditorComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: RUeditorComponent, selector: "app-r-ueditor", providers: [
            {
                provide: i2.NG_VALUE_ACCESSOR,
                useExisting: i0.forwardRef(function () { return RUeditorComponent; }),
                multi: true
            }
        ], usesInheritance: true, ngImport: i0__namespace, template: "<!-- \u52A0\u8F7D\u7F16\u8F91\u5668\u7684\u5BB9\u5668 -->\n<!-- <div [id]=\"'r_' + config.name\" #editerDom> </div> -->\n<!-- <input type=\"hidden\" ngDefaultControl #firstnameControl=\"ngModel\" [name]=\"config.name\" [(ngModel)]=\"config.value\" /> -->\n<app-g-ueditor ngDefaultControl #firstnameControl=\"ngModel\" [name]=\"config.name\" [(ngModel)]=\"config.value\"></app-g-ueditor>\n", components: [{ type: GUeditorComponent, selector: "app-g-ueditor", inputs: ["value"], outputs: ["valueChange"] }], directives: [{ type: i2__namespace.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i2__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RUeditorComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'app-r-ueditor',
                        templateUrl: './r-ueditor.component.html',
                        styles: [],
                        providers: [
                            {
                                provide: i2.NG_VALUE_ACCESSOR,
                                useExisting: i0.forwardRef(function () { return RUeditorComponent; }),
                                multi: true
                            }
                        ]
                    }]
            }], ctorParameters: function () { return [{ type: i0__namespace.Injector }]; } });

    var RUploadfileComponent = /** @class */ (function (_super) {
        __extends(RUploadfileComponent, _super);
        function RUploadfileComponent(injector, msg) {
            var _this = _super.call(this, injector) || this;
            _this.msg = msg;
            return _this;
        }
        RUploadfileComponent.prototype.configChange = function (config) { };
        RUploadfileComponent.prototype.handleChange = function (info) {
            if (info.file.status !== 'uploading') {
                console.log(info.file, info.fileList);
            }
            if (info.file.status === 'done') {
                this.msg.success(info.file.name + " file uploaded successfully");
            }
            else if (info.file.status === 'error') {
                this.msg.error(info.file.name + " file upload failed.");
            }
        };
        return RUploadfileComponent;
    }(RenderComponentBase));
    RUploadfileComponent.KEY = 'r-d-uploadfile';
    RUploadfileComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RUploadfileComponent, deps: [{ token: i0__namespace.Injector }, { token: i1__namespace$3.NzMessageService }], target: i0__namespace.ɵɵFactoryTarget.Component });
    RUploadfileComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: RUploadfileComponent, selector: "app-r-uploadfile", providers: [
            {
                provide: i2.NG_VALUE_ACCESSOR,
                useExisting: i0.forwardRef(function () { return RUploadfileComponent; }),
                multi: true
            }
        ], usesInheritance: true, ngImport: i0__namespace, template: "<nz-upload\n  nzAction=\"https://www.mocky.io/v2/5cc8019d300000980a055e76\"\n  [nzHeaders]=\"{ authorization: 'authorization-text' }\"\n  (nzChange)=\"handleChange($event)\"\n>\n  <button nz-button>\n    <i nz-icon nzType=\"upload\"></i>\n    \u70B9\u51FB\u4E0A\u4F20\n  </button>\n</nz-upload>\n", components: [{ type: i39__namespace.NzUploadComponent, selector: "nz-upload", inputs: ["nzType", "nzLimit", "nzSize", "nzDirectory", "nzOpenFileDialogOnClick", "nzFilter", "nzFileList", "nzDisabled", "nzListType", "nzMultiple", "nzName", "nzShowButton", "nzWithCredentials", "nzIconRender", "nzFileListRender", "nzShowUploadList", "nzFileType", "nzAccept", "nzAction", "nzBeforeUpload", "nzCustomRequest", "nzData", "nzHeaders", "nzRemove", "nzPreview", "nzPreviewFile", "nzPreviewIsImage", "nzTransformFile", "nzDownload"], outputs: ["nzChange", "nzFileListChange"], exportAs: ["nzUpload"] }, { type: i3__namespace$1.NzButtonComponent, selector: "button[nz-button], a[nz-button]", inputs: ["nzBlock", "nzGhost", "nzSearch", "nzLoading", "nzDanger", "disabled", "tabIndex", "nzType", "nzShape", "nzSize"], exportAs: ["nzButton"] }], directives: [{ type: i8__namespace.NzWaveDirective, selector: "[nz-wave],button[nz-button]:not([nzType=\"link\"]):not([nzType=\"text\"])", inputs: ["nzWaveExtraNode"], exportAs: ["nzWave"] }, { type: i9__namespace.ɵNzTransitionPatchDirective, selector: "[nz-button], nz-button-group, [nz-icon], [nz-menu-item], [nz-submenu], nz-select-top-control, nz-select-placeholder, nz-input-group", inputs: ["hidden"] }, { type: i25__namespace.NzIconDirective, selector: "[nz-icon]", inputs: ["nzRotate", "nzSpin", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RUploadfileComponent, decorators: [{
                type: i0.Component,
                args: [{
                        selector: 'app-r-uploadfile',
                        templateUrl: './r-uploadfile.component.html',
                        styles: [],
                        providers: [
                            {
                                provide: i2.NG_VALUE_ACCESSOR,
                                useExisting: i0.forwardRef(function () { return RUploadfileComponent; }),
                                multi: true
                            }
                        ]
                    }]
            }], ctorParameters: function () { return [{ type: i0__namespace.Injector }, { type: i1__namespace$3.NzMessageService }]; } });

    var COMPONENTS$2 = [
        GUeditorComponent,
        RWidgetControlComponent,
        RStringComponent,
        RTextareaComponent,
        RNumberComponent,
        RRadioComponent,
        RCheckboxComponent,
        RSelectComponent,
        RDateComponent,
        RDateRangeComponent,
        RTitleComponent,
        RGroupsComponent,
        RConStringComponent,
        RConNumberDecimalComponent,
        RConNumberFloatComponent,
        RConNumberIntegerComponent,
        RConFixedComponent,
        RConBooleanComponent,
        RConTimestampComponent,
        RImageComponent,
        RSliderComponent,
        RRateComponent,
        RUeditorComponent,
        RTextComponent,
        RUploadfileComponent,
        RSplitlineComponent,
        RColorpickerComponent
    ];
    var WidgetRenderModule = /** @class */ (function () {
        function WidgetRenderModule(registryService) {
            // 控件注册
            registryService.setDefault(RStringComponent);
            registryService.register(RStringComponent.KEY, RStringComponent);
            registryService.register(RTextareaComponent.KEY, RTextareaComponent);
            registryService.register(RNumberComponent.KEY, RNumberComponent);
            registryService.register(RRadioComponent.KEY, RRadioComponent);
            registryService.register(RCheckboxComponent.KEY, RCheckboxComponent);
            registryService.register(RSelectComponent.KEY, RSelectComponent);
            registryService.register(RDateComponent.KEY, RDateComponent);
            registryService.register(RDateRangeComponent.KEY, RDateRangeComponent);
            registryService.register(RTitleComponent.KEY, RTitleComponent);
            registryService.register(RGroupsComponent.KEY, RGroupsComponent);
            registryService.register(RConStringComponent.KEY, RConStringComponent);
            registryService.register(RConNumberDecimalComponent.KEY, RConNumberDecimalComponent);
            registryService.register(RConNumberFloatComponent.KEY, RConNumberFloatComponent);
            registryService.register(RConNumberIntegerComponent.KEY, RConNumberIntegerComponent);
            registryService.register(RConFixedComponent.KEY, RConFixedComponent);
            registryService.register(RConBooleanComponent.KEY, RConBooleanComponent);
            registryService.register(RConTimestampComponent.KEY, RConTimestampComponent);
            registryService.register(RImageComponent.KEY, RImageComponent);
            registryService.register(RSliderComponent.KEY, RSliderComponent);
            registryService.register(RRateComponent.KEY, RRateComponent);
            registryService.register(RUeditorComponent.KEY, RUeditorComponent);
            registryService.register(RTextComponent.KEY, RTextComponent);
            registryService.register(RUploadfileComponent.KEY, RUploadfileComponent);
            registryService.register(RSplitlineComponent.KEY, RSplitlineComponent);
            registryService.register(RColorpickerComponent.KEY, RColorpickerComponent);
        }
        return WidgetRenderModule;
    }());
    WidgetRenderModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: WidgetRenderModule, deps: [{ token: DynamicComponentRegistryService }], target: i0__namespace.ɵɵFactoryTarget.NgModule });
    WidgetRenderModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: WidgetRenderModule, declarations: [GUeditorComponent,
            RWidgetControlComponent,
            RStringComponent,
            RTextareaComponent,
            RNumberComponent,
            RRadioComponent,
            RCheckboxComponent,
            RSelectComponent,
            RDateComponent,
            RDateRangeComponent,
            RTitleComponent,
            RGroupsComponent,
            RConStringComponent,
            RConNumberDecimalComponent,
            RConNumberFloatComponent,
            RConNumberIntegerComponent,
            RConFixedComponent,
            RConBooleanComponent,
            RConTimestampComponent,
            RImageComponent,
            RSliderComponent,
            RRateComponent,
            RUeditorComponent,
            RTextComponent,
            RUploadfileComponent,
            RSplitlineComponent,
            RColorpickerComponent, GDatePipe, GDateRangePipe], imports: [i3.CommonModule,
            i2.FormsModule,
            i2.ReactiveFormsModule, i2__namespace$3.PageHeaderModule, i3__namespace$3.STModule, i4__namespace$1.SEModule, i5__namespace.SVModule, i6__namespace.ResultModule, i1__namespace.NzFormModule, i3__namespace$2.NzGridModule, i3__namespace$1.NzButtonModule, i4__namespace.NzInputModule, i2__namespace$1.NzInputNumberModule, i12__namespace.NzAlertModule, i13__namespace.NzProgressModule, i2__namespace$2.NzSelectModule, i15__namespace.NzAvatarModule, i16__namespace.NzCardModule, i17__namespace.NzDropDownModule, i18__namespace.NzPopconfirmModule, i2__namespace$4.NzTableModule, i20__namespace.NzPopoverModule, i21__namespace.NzDrawerModule, i22__namespace.NzModalModule, i23__namespace.NzTabsModule, i24__namespace.NzToolTipModule, i25__namespace.NzIconModule, i4__namespace$2.NzCheckboxModule, i27__namespace.NzSpinModule, i28__namespace.NzCollapseModule, i29__namespace.NzSwitchModule, i3__namespace$4.NzRadioModule, i1__namespace$1.NzLayoutModule, i32__namespace.NzEmptyModule, i1__namespace$2.NzDatePickerModule, i34__namespace.NzTagModule, i35__namespace.NzTimePickerModule, i36__namespace.NzImageModule, i37__namespace.NzSliderModule, i38__namespace.NzRateModule, i39__namespace.NzUploadModule, DynamicComponentModule,
            i1$3.ColorPickerModule,
            DSharedModule], exports: [GUeditorComponent,
            RWidgetControlComponent,
            RStringComponent,
            RTextareaComponent,
            RNumberComponent,
            RRadioComponent,
            RCheckboxComponent,
            RSelectComponent,
            RDateComponent,
            RDateRangeComponent,
            RTitleComponent,
            RGroupsComponent,
            RConStringComponent,
            RConNumberDecimalComponent,
            RConNumberFloatComponent,
            RConNumberIntegerComponent,
            RConFixedComponent,
            RConBooleanComponent,
            RConTimestampComponent,
            RImageComponent,
            RSliderComponent,
            RRateComponent,
            RUeditorComponent,
            RTextComponent,
            RUploadfileComponent,
            RSplitlineComponent,
            RColorpickerComponent, GDatePipe, GDateRangePipe] });
    WidgetRenderModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: WidgetRenderModule, imports: [__spreadArray(__spreadArray(__spreadArray([
                i3.CommonModule,
                i2.FormsModule,
                i2.ReactiveFormsModule
            ], __read(SHARED_DELON_MODULES)), __read(SHARED_ZORRO_MODULES)), [
                DynamicComponentModule,
                i1$3.ColorPickerModule,
                DSharedModule
            ])] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: WidgetRenderModule, decorators: [{
                type: i0.NgModule,
                args: [{
                        imports: __spreadArray(__spreadArray(__spreadArray([
                            i3.CommonModule,
                            i2.FormsModule,
                            i2.ReactiveFormsModule
                        ], __read(SHARED_DELON_MODULES)), __read(SHARED_ZORRO_MODULES)), [
                            DynamicComponentModule,
                            i1$3.ColorPickerModule,
                            DSharedModule
                        ]),
                        declarations: __spreadArray(__spreadArray([], __read(COMPONENTS$2)), [GDatePipe, GDateRangePipe]),
                        exports: __spreadArray(__spreadArray([], __read(COMPONENTS$2)), [GDatePipe, GDateRangePipe])
                    }]
            }], ctorParameters: function () { return [{ type: DynamicComponentRegistryService }]; } });

    var COMPONENTS$1 = [
        RWidgetFormRenderComponent,
        RWidgetFormItemComponent,
        RWidgetFormComponent,
        RWidgetButtonComponent,
        RWidgetFormComponent
    ];
    var FormRenderModule = /** @class */ (function () {
        function FormRenderModule() {
        }
        return FormRenderModule;
    }());
    FormRenderModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: FormRenderModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
    FormRenderModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: FormRenderModule, declarations: [RWidgetFormRenderComponent,
            RWidgetFormItemComponent,
            RWidgetFormComponent,
            RWidgetButtonComponent,
            RWidgetFormComponent], imports: [i3.CommonModule,
            i2.FormsModule,
            i2.ReactiveFormsModule,
            DndModule,
            form.DelonFormModule,
            DSharedModule,
            DynamicComponentModule,
            WidgetRenderModule, i2__namespace$3.PageHeaderModule, i3__namespace$3.STModule, i4__namespace$1.SEModule, i5__namespace.SVModule, i6__namespace.ResultModule, i1__namespace.NzFormModule, i3__namespace$2.NzGridModule, i3__namespace$1.NzButtonModule, i4__namespace.NzInputModule, i2__namespace$1.NzInputNumberModule, i12__namespace.NzAlertModule, i13__namespace.NzProgressModule, i2__namespace$2.NzSelectModule, i15__namespace.NzAvatarModule, i16__namespace.NzCardModule, i17__namespace.NzDropDownModule, i18__namespace.NzPopconfirmModule, i2__namespace$4.NzTableModule, i20__namespace.NzPopoverModule, i21__namespace.NzDrawerModule, i22__namespace.NzModalModule, i23__namespace.NzTabsModule, i24__namespace.NzToolTipModule, i25__namespace.NzIconModule, i4__namespace$2.NzCheckboxModule, i27__namespace.NzSpinModule, i28__namespace.NzCollapseModule, i29__namespace.NzSwitchModule, i3__namespace$4.NzRadioModule, i1__namespace$1.NzLayoutModule, i32__namespace.NzEmptyModule, i1__namespace$2.NzDatePickerModule, i34__namespace.NzTagModule, i35__namespace.NzTimePickerModule, i36__namespace.NzImageModule, i37__namespace.NzSliderModule, i38__namespace.NzRateModule, i39__namespace.NzUploadModule], exports: [RWidgetFormRenderComponent,
            RWidgetFormItemComponent,
            RWidgetFormComponent,
            RWidgetButtonComponent,
            RWidgetFormComponent] });
    FormRenderModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: FormRenderModule, imports: [__spreadArray(__spreadArray([
                i3.CommonModule,
                i2.FormsModule,
                i2.ReactiveFormsModule,
                DndModule,
                form.DelonFormModule,
                DSharedModule,
                DynamicComponentModule,
                WidgetRenderModule
            ], __read(SHARED_DELON_MODULES)), __read(SHARED_ZORRO_MODULES))] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: FormRenderModule, decorators: [{
                type: i0.NgModule,
                args: [{
                        imports: __spreadArray(__spreadArray([
                            i3.CommonModule,
                            i2.FormsModule,
                            i2.ReactiveFormsModule,
                            DndModule,
                            form.DelonFormModule,
                            DSharedModule,
                            DynamicComponentModule,
                            WidgetRenderModule
                        ], __read(SHARED_DELON_MODULES)), __read(SHARED_ZORRO_MODULES)),
                        declarations: __spreadArray([], __read(COMPONENTS$1)),
                        exports: __spreadArray([], __read(COMPONENTS$1))
                    }]
            }], ctorParameters: function () { return []; } });

    var COMPONENTS = [
        DWidgetFormRenderComponent,
        DWidgetFormItemComponent,
        FormDesignerComponent,
        FormConfigComponent,
        WidgetConfigComponent
    ];
    var FormDesignerModule = /** @class */ (function () {
        function FormDesignerModule() {
        }
        return FormDesignerModule;
    }());
    FormDesignerModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: FormDesignerModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
    FormDesignerModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: FormDesignerModule, declarations: [DWidgetFormRenderComponent,
            DWidgetFormItemComponent,
            FormDesignerComponent,
            FormConfigComponent,
            WidgetConfigComponent], imports: [i3.CommonModule,
            i2.FormsModule,
            DndModule,
            form.DelonFormModule,
            DSharedModule,
            WidgetFormControlsModule,
            FormRenderModule, DynamicComponentModule, i2__namespace$3.PageHeaderModule, i3__namespace$3.STModule, i4__namespace$1.SEModule, i5__namespace.SVModule, i6__namespace.ResultModule, i1__namespace.NzFormModule, i3__namespace$2.NzGridModule, i3__namespace$1.NzButtonModule, i4__namespace.NzInputModule, i2__namespace$1.NzInputNumberModule, i12__namespace.NzAlertModule, i13__namespace.NzProgressModule, i2__namespace$2.NzSelectModule, i15__namespace.NzAvatarModule, i16__namespace.NzCardModule, i17__namespace.NzDropDownModule, i18__namespace.NzPopconfirmModule, i2__namespace$4.NzTableModule, i20__namespace.NzPopoverModule, i21__namespace.NzDrawerModule, i22__namespace.NzModalModule, i23__namespace.NzTabsModule, i24__namespace.NzToolTipModule, i25__namespace.NzIconModule, i4__namespace$2.NzCheckboxModule, i27__namespace.NzSpinModule, i28__namespace.NzCollapseModule, i29__namespace.NzSwitchModule, i3__namespace$4.NzRadioModule, i1__namespace$1.NzLayoutModule, i32__namespace.NzEmptyModule, i1__namespace$2.NzDatePickerModule, i34__namespace.NzTagModule, i35__namespace.NzTimePickerModule, i36__namespace.NzImageModule, i37__namespace.NzSliderModule, i38__namespace.NzRateModule, i39__namespace.NzUploadModule], exports: [DWidgetFormRenderComponent,
            DWidgetFormItemComponent,
            FormDesignerComponent,
            FormConfigComponent,
            WidgetConfigComponent] });
    FormDesignerModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: FormDesignerModule, imports: [__spreadArray(__spreadArray([
                i3.CommonModule,
                i2.FormsModule,
                DndModule,
                form.DelonFormModule,
                DSharedModule,
                WidgetFormControlsModule,
                FormRenderModule,
                // DynamicComponentModule,
                DynamicComponentModule.forRoot()
            ], __read(SHARED_DELON_MODULES)), __read(SHARED_ZORRO_MODULES))] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: FormDesignerModule, decorators: [{
                type: i0.NgModule,
                args: [{
                        imports: __spreadArray(__spreadArray([
                            i3.CommonModule,
                            i2.FormsModule,
                            DndModule,
                            form.DelonFormModule,
                            DSharedModule,
                            WidgetFormControlsModule,
                            FormRenderModule,
                            // DynamicComponentModule,
                            DynamicComponentModule.forRoot()
                        ], __read(SHARED_DELON_MODULES)), __read(SHARED_ZORRO_MODULES)),
                        declarations: __spreadArray([], __read(COMPONENTS)),
                        exports: __spreadArray([], __read(COMPONENTS))
                    }]
            }], ctorParameters: function () { return []; } });

    // abp module
    var ALL_MODULES = [i3.CommonModule, FormDesignerModule, FormRenderModule, DSharedModule];
    var L52AbpFormGeneratorModule = /** @class */ (function () {
        function L52AbpFormGeneratorModule() {
        }
        return L52AbpFormGeneratorModule;
    }());
    L52AbpFormGeneratorModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: L52AbpFormGeneratorModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
    L52AbpFormGeneratorModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: L52AbpFormGeneratorModule, imports: [i3.CommonModule, FormDesignerModule, FormRenderModule, DSharedModule], exports: [i3.CommonModule, FormDesignerModule, FormRenderModule, DSharedModule] });
    L52AbpFormGeneratorModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: L52AbpFormGeneratorModule, providers: [], imports: [__spreadArray([], __read(ALL_MODULES)), i3.CommonModule, FormDesignerModule, FormRenderModule, DSharedModule] });
    i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: L52AbpFormGeneratorModule, decorators: [{
                type: i0.NgModule,
                args: [{
                        imports: __spreadArray([], __read(ALL_MODULES)),
                        declarations: [],
                        entryComponents: [],
                        exports: __spreadArray([], __read(ALL_MODULES)),
                        providers: []
                    }]
            }] });

    /**
     * Generated bundle index. Do not edit.
     */

    exports.CUSTOM_MIME_TYPE = CUSTOM_MIME_TYPE;
    exports.DROP_EFFECTS = DROP_EFFECTS;
    exports.DSharedModule = DSharedModule;
    exports.DWidgetFormItemComponent = DWidgetFormItemComponent;
    exports.DWidgetFormRenderComponent = DWidgetFormRenderComponent;
    exports.DatePickerBase = DatePickerBase;
    exports.DatePickerComponent = DatePickerComponent;
    exports.DefaultDynamicComponentRegistryService = DefaultDynamicComponentRegistryService;
    exports.DndDragImageRefDirective = DndDragImageRefDirective;
    exports.DndDraggableDirective = DndDraggableDirective;
    exports.DndDropzoneDirective = DndDropzoneDirective;
    exports.DndHandleDirective = DndHandleDirective;
    exports.DndModule = DndModule;
    exports.DndPlaceholderRefDirective = DndPlaceholderRefDirective;
    exports.DynamicComponentBase = DynamicComponentBase;
    exports.DynamicComponentComponent = DynamicComponentComponent;
    exports.DynamicComponentFactoryService = DynamicComponentFactoryService;
    exports.DynamicComponentModule = DynamicComponentModule;
    exports.DynamicComponentRComponent = DynamicComponentRComponent;
    exports.DynamicComponentRegistryService = DynamicComponentRegistryService;
    exports.DynamicComponentTerminatorService = DynamicComponentTerminatorService;
    exports.EffectiveDisplayComponent = EffectiveDisplayComponent;
    exports.FixedDisplayComponent = FixedDisplayComponent;
    exports.FormConfigComponent = FormConfigComponent;
    exports.FormDesignerComponent = FormDesignerComponent;
    exports.FormDesignerModule = FormDesignerModule;
    exports.FormRenderModule = FormRenderModule;
    exports.JSON_MIME_TYPE = JSON_MIME_TYPE;
    exports.L52AbpFormGeneratorModule = L52AbpFormGeneratorModule;
    exports.LimitDisplayComponent = LimitDisplayComponent;
    exports.MSIE_MIME_TYPE = MSIE_MIME_TYPE;
    exports.MonthPickerComponent = MonthPickerComponent;
    exports.RWidgetButtonComponent = RWidgetButtonComponent;
    exports.RWidgetFormComponent = RWidgetFormComponent;
    exports.RWidgetFormItemComponent = RWidgetFormItemComponent;
    exports.RWidgetFormRenderComponent = RWidgetFormRenderComponent;
    exports.RangePickerComponent = RangePickerComponent;
    exports.RenderComponentBase = RenderComponentBase;
    exports.SHARED_DELON_MODULES = SHARED_DELON_MODULES;
    exports.SHARED_ZORRO_MODULES = SHARED_ZORRO_MODULES;
    exports.TagsSelectComponent = TagsSelectComponent;
    exports.TimePickerComponent = TimePickerComponent;
    exports.WeekPickerComponent = WeekPickerComponent;
    exports.WidgetConfigComponent = WidgetConfigComponent;
    exports.YearPickerComponent = YearPickerComponent;
    exports.calculateDragImageOffset = calculateDragImageOffset;
    exports.filterEffects = filterEffects;
    exports.getDirectChildElement = getDirectChildElement;
    exports.getDropData = getDropData;
    exports.getWellKnownMimeType = getWellKnownMimeType;
    exports.mimeTypeIsCustom = mimeTypeIsCustom;
    exports.setDragData = setDragData;
    exports.setDragImage = setDragImage;
    exports.shouldPositionPlaceholderBeforeElement = shouldPositionPlaceholderBeforeElement;

    Object.defineProperty(exports, '__esModule', { value: true });

}));
//# sourceMappingURL=yoyoboot-l-52abp-ng-form-generator.umd.js.map