mirror of https://github.com/ColorlibHQ/AdminLTE
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
615 KiB
1 line
615 KiB
6 years ago
|
{"version":3,"file":"main.js","sources":["../../src/core/util/dom-manip.ts","../../src/core/util/geom.ts","../../src/core/util/scrollbars.ts","../../src/core/util/dom-geom.ts","../../src/core/util/dom-event.ts","../../src/core/datelib/marker.ts","../../src/core/datelib/duration.ts","../../src/core/util/misc.ts","../../node_modules/tslib/tslib.es6.js","../../src/core/structs/recurring-event.ts","../../src/core/util/object.ts","../../src/core/structs/event-store.ts","../../src/core/datelib/date-range.ts","../../src/core/util/array.ts","../../src/core/util/memoize.ts","../../src/core/datelib/formatting-native.ts","../../src/core/datelib/formatting-cmd.ts","../../src/core/datelib/formatting-func.ts","../../src/core/datelib/formatting.ts","../../src/core/api/EventSourceApi.ts","../../src/core/api/EventApi.ts","../../src/core/component/event-rendering.ts","../../src/core/structs/event-mutation.ts","../../src/core/reducers/eventStore.ts","../../src/core/validation.ts","../../src/core/util/html.ts","../../src/core/component/event-ui.ts","../../src/core/structs/event.ts","../../src/core/structs/business-hours.ts","../../src/core/component/memoized-rendering.ts","../../src/core/component/event-splitting.ts","../../src/core/component/date-rendering.ts","../../src/core/util/promise.ts","../../src/core/common/Mixin.ts","../../src/core/common/EmitterMixin.ts","../../src/core/common/PositionCache.ts","../../src/core/common/scroll-controller.ts","../../src/core/common/ScrollComponent.ts","../../src/core/theme/Theme.ts","../../src/core/component/Component.ts","../../src/core/component/DateComponent.ts","../../src/core/plugin-system.ts","../../src/core/event-sources/array-event-source.ts","../../src/core/event-sources/func-event-source.ts","../../src/core/util/requestJson.ts","../../src/core/event-sources/json-feed-event-source.ts","../../src/core/structs/recurring-event-simple.ts","../../src/core/option-change-handlers.ts","../../src/core/options.ts","../../src/core/datelib/locale.ts","../../src/core/OptionsManager.ts","../../src/core/datelib/calendar-system.ts","../../src/core/datelib/parsing.ts","../../src/core/datelib/env.ts","../../src/core/structs/event-source.ts","../../src/core/reducers/eventSources.ts","../../src/core/DateProfileGenerator.ts","../../src/core/reducers/main.ts","../../src/core/structs/date-span.ts","../../src/core/structs/view-def.ts","../../src/core/structs/view-config.ts","../../src/core/structs/view-spec.ts","../../src/core/Toolbar.ts","../../src/core/CalendarComponent.ts","../../src/core/interactions/interaction.ts","../../src/core/interactions/EventClicking.ts","../../src/core/interactions/EventHovering.ts","../../src/core/theme/StandardTheme.ts","../../src/core/Calendar.ts","../../src/core/View.ts","../../src/core/component/renderers/FgEventRenderer.ts","../../src/core/component/renderers/FillRenderer.ts","../../src/core/datelib/timezone.ts","../../src/core/interactions/ElementDragging.ts","../../src/core/formatting-api.ts","../../src/core/structs/drag-meta.ts","../../src/core/common/table-utils.ts","../../src/core/common/DayHeader.ts","../../src/core/common/DaySeries.ts","../../src/core/common/DayTable.ts","../../src/core/common/slicing-utils.ts","../../src/core/main.ts"],"sourcesContent":["\n// Creating\n// ----------------------------------------------------------------------------------------------------------------\n\nconst elementPropHash = { // when props given to createElement should be treated as props, not attributes\n className: true,\n colSpan: true,\n rowSpan: true\n}\n\nconst containerTagHash = {\n '<tr': 'tbody',\n '<td': 'tr'\n}\n\nexport function createElement(tagName: string, attrs: object | null, content?: ElementContent): HTMLElement {\n let el: HTMLElement = document.createElement(tagName)\n\n if (attrs) {\n for (let attrName in attrs) {\n if (attrName === 'style') {\n applyStyle(el, attrs[attrName])\n } else if (elementPropHash[attrName]) {\n el[attrName] = attrs[attrName]\n } else {\n el.setAttribute(attrName, attrs[attrName])\n }\n
|