var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    var desc = Object.getOwnPropertyDescriptor(m, k);
    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
      desc = { enumerable: true, get: function() { return m[k]; } };
    }
    Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
    Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
    o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (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;
};
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
define(["require", "exports", "jquery", "./Table", "./Table/TableDependSelect", "./Table/TableOneVisible", "./Table/util", "./autosize", "./datepicker", "./Ladda", "./SABigText", "./select2", "./validator", "./jquery.FormNeedSave", "./formatter"], function (require, exports, jquery_1, Table_1, TableDependSelect_1, TableOneVisible_1, util_1, autosize_1, datepicker_1, Ladda_1, SABigText_1, select2_1, validator_1) {
    "use strict";
    Object.defineProperty(exports, "__esModule", { value: true });
    exports.Formatter = exports.is_valid_inn = exports.is_valid_okpo = exports.elementRules = exports.validatorAddFuncMethod = exports.validatorAddMethod = exports.Validator = exports.Select2 = exports.initSelect2 = exports.SABigText = exports.Ladda = exports.initDatePicker = exports.Autosize = exports.updateTemplate = exports.appendTemplate = exports.appendRow = exports.getMDTarget = exports.TableOneVisible = exports.TableDependSelect = exports.Table = exports.$ = void 0;
    jquery_1 = __importDefault(jquery_1);
    Table_1 = __importStar(Table_1);
    TableDependSelect_1 = __importDefault(TableDependSelect_1);
    TableOneVisible_1 = __importDefault(TableOneVisible_1);
    Ladda_1 = __importDefault(Ladda_1);
    SABigText_1 = __importDefault(SABigText_1);
    exports.$ = jquery_1.default;
    exports.Table = Table_1.default;
    Object.defineProperty(exports, "appendRow", { enumerable: true, get: function () { return Table_1.appendRow; } });
    exports.TableDependSelect = TableDependSelect_1.default;
    exports.TableOneVisible = TableOneVisible_1.default;
    Object.defineProperty(exports, "getMDTarget", { enumerable: true, get: function () { return util_1.getMDTarget; } });
    Object.defineProperty(exports, "appendTemplate", { enumerable: true, get: function () { return util_1.appendTemplate; } });
    Object.defineProperty(exports, "updateTemplate", { enumerable: true, get: function () { return util_1.updateTemplate; } });
    Object.defineProperty(exports, "Autosize", { enumerable: true, get: function () { return autosize_1.Autosize; } });
    Object.defineProperty(exports, "initDatePicker", { enumerable: true, get: function () { return datepicker_1.initDatePicker; } });
    exports.Ladda = Ladda_1.default;
    exports.SABigText = SABigText_1.default;
    Object.defineProperty(exports, "initSelect2", { enumerable: true, get: function () { return select2_1.initSelect2; } });
    Object.defineProperty(exports, "Select2", { enumerable: true, get: function () { return select2_1.Select2; } });
    Object.defineProperty(exports, "Validator", { enumerable: true, get: function () { return validator_1.Validator; } });
    Object.defineProperty(exports, "validatorAddMethod", { enumerable: true, get: function () { return validator_1.validatorAddMethod; } });
    Object.defineProperty(exports, "validatorAddFuncMethod", { enumerable: true, get: function () { return validator_1.validatorAddFuncMethod; } });
    Object.defineProperty(exports, "elementRules", { enumerable: true, get: function () { return validator_1.elementRules; } });
    Object.defineProperty(exports, "is_valid_okpo", { enumerable: true, get: function () { return validator_1.is_valid_okpo; } });
    Object.defineProperty(exports, "is_valid_inn", { enumerable: true, get: function () { return validator_1.is_valid_inn; } });
    const Formatter = (element, props) => {
        // @ts-ignore
        (0, jquery_1.default)(element).formatter(props);
    };
    exports.Formatter = Formatter;
});
