@digifi/jexl-functions
Version:
Package with available JEXL functions
18 lines (17 loc) • 944 B
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const dayjs_1 = __importDefault(require("dayjs"));
const isLeapYear_1 = __importDefault(require("dayjs/plugin/isLeapYear"));
const weekOfYear_1 = __importDefault(require("dayjs/plugin/weekOfYear"));
const objectSupport_1 = __importDefault(require("dayjs/plugin/objectSupport"));
const isoWeeksInYear_1 = __importDefault(require("dayjs/plugin/isoWeeksInYear"));
const customParseFormat_1 = __importDefault(require("dayjs/plugin/customParseFormat"));
dayjs_1.default.extend(isLeapYear_1.default);
dayjs_1.default.extend(weekOfYear_1.default);
dayjs_1.default.extend(objectSupport_1.default);
dayjs_1.default.extend(isoWeeksInYear_1.default);
dayjs_1.default.extend(customParseFormat_1.default);
exports.default = dayjs_1.default;