django-advanced-report-builder 1.2.9__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- advanced_report_builder/.DS_Store +0 -0
- advanced_report_builder/.ruff_cache/.gitignore +2 -0
- advanced_report_builder/.ruff_cache/0.11.9/16555798982502606642 +0 -0
- advanced_report_builder/.ruff_cache/CACHEDIR.TAG +1 -0
- advanced_report_builder/__init__.py +0 -0
- advanced_report_builder/admin.py +264 -0
- advanced_report_builder/apps.py +7 -0
- advanced_report_builder/column_types.py +26 -0
- advanced_report_builder/columns.py +296 -0
- advanced_report_builder/customise.py +2 -0
- advanced_report_builder/data_merge/__init__.py +0 -0
- advanced_report_builder/data_merge/utils.py +112 -0
- advanced_report_builder/data_merge/widget.py +30 -0
- advanced_report_builder/duplicate.py +171 -0
- advanced_report_builder/exceptions.py +9 -0
- advanced_report_builder/field_types.py +466 -0
- advanced_report_builder/field_utils.py +401 -0
- advanced_report_builder/filter_query.py +862 -0
- advanced_report_builder/form_utils.py +12 -0
- advanced_report_builder/generate_series.py +14 -0
- advanced_report_builder/globals.py +276 -0
- advanced_report_builder/includes.py +72 -0
- advanced_report_builder/migrations/0001_initial.py +246 -0
- advanced_report_builder/migrations/0002_auto_20220209_1657.py +23 -0
- advanced_report_builder/migrations/0003_auto_20220215_1219.py +42 -0
- advanced_report_builder/migrations/0004_customreport.py +27 -0
- advanced_report_builder/migrations/0005_auto_20220303_0958.py +84 -0
- advanced_report_builder/migrations/0006_auto_20220310_1147.py +32 -0
- advanced_report_builder/migrations/0007_auto_20220322_1939.py +23 -0
- advanced_report_builder/migrations/0008_auto_20220404_1144.py +28 -0
- advanced_report_builder/migrations/0009_auto_20230428_1554.py +53 -0
- advanced_report_builder/migrations/0010_auto_20230428_2033.py +23 -0
- advanced_report_builder/migrations/0011_auto_20230620_1449.py +23 -0
- advanced_report_builder/migrations/0012_auto_20230718_1642.py +24 -0
- advanced_report_builder/migrations/0013_reportqueryorder.py +30 -0
- advanced_report_builder/migrations/0014_auto_20240706_2207.py +24 -0
- advanced_report_builder/migrations/0015_report_user_created_report_user_updated.py +26 -0
- advanced_report_builder/migrations/0016_calendarreport_dashboardreport_options_and_more.py +74 -0
- advanced_report_builder/migrations/0017_alter_barchartreport_options_and_more.py +57 -0
- advanced_report_builder/migrations/0018_reportquery_target_target_period_type.py +24 -0
- advanced_report_builder/migrations/0019_multicellstyle_and_more.py +107 -0
- advanced_report_builder/migrations/0020_alter_multicellstyle_font_size.py +18 -0
- advanced_report_builder/migrations/0021_multivalueheldquery_and_more.py +36 -0
- advanced_report_builder/migrations/0022_dashboardreport_show_options_report_template_style_and_more.py +44 -0
- advanced_report_builder/migrations/0023_rename_colour_target_default_colour_and_more.py +41 -0
- advanced_report_builder/migrations/0024_alter_target_period_type.py +18 -0
- advanced_report_builder/migrations/__init__.py +0 -0
- advanced_report_builder/models.py +954 -0
- advanced_report_builder/report_builder.py +28 -0
- advanced_report_builder/signals.py +3 -0
- advanced_report_builder/static/.DS_Store +0 -0
- advanced_report_builder/static/advanced_report_builder/.DS_Store +0 -0
- advanced_report_builder/static/advanced_report_builder/chart-js/js/chart.esm.js +10553 -0
- advanced_report_builder/static/advanced_report_builder/chart-js/js/chart.js +13190 -0
- advanced_report_builder/static/advanced_report_builder/chart-js/js/chart.min.js +13 -0
- advanced_report_builder/static/advanced_report_builder/chart-js/js/chartjs-adapter-moment.min.js +8 -0
- advanced_report_builder/static/advanced_report_builder/chart-js/js/chartjs-plugin-datalabels.min.js +7 -0
- advanced_report_builder/static/advanced_report_builder/chart-js/js/chunks/helpers.segment.js +2499 -0
- advanced_report_builder/static/advanced_report_builder/chart-js/js/helpers.esm.js +7 -0
- advanced_report_builder/static/advanced_report_builder/d3/js/d3.js +20196 -0
- advanced_report_builder/static/advanced_report_builder/d3/js/d3.min.js +2 -0
- advanced_report_builder/static/advanced_report_builder/d3-funnel/js/d3-funnel.js +6087 -0
- advanced_report_builder/static/advanced_report_builder/d3-funnel/js/d3-funnel.min.js +2 -0
- advanced_report_builder/static/advanced_report_builder/dashboard/js/dashboard.js +19 -0
- advanced_report_builder/static/advanced_report_builder/dot/js/.gitignore +31 -0
- advanced_report_builder/static/advanced_report_builder/dot/js/.travis.yml +9 -0
- advanced_report_builder/static/advanced_report_builder/dot/js/LICENSE-DOT.txt +24 -0
- advanced_report_builder/static/advanced_report_builder/dot/js/README.md +90 -0
- advanced_report_builder/static/advanced_report_builder/dot/js/bin/dot-packer +52 -0
- advanced_report_builder/static/advanced_report_builder/dot/js/bower.json +21 -0
- advanced_report_builder/static/advanced_report_builder/dot/js/doT.js +141 -0
- advanced_report_builder/static/advanced_report_builder/dot/js/doT.min.js +8 -0
- advanced_report_builder/static/advanced_report_builder/dot/js/doU.js +56 -0
- advanced_report_builder/static/advanced_report_builder/dot/js/index.js +143 -0
- advanced_report_builder/static/advanced_report_builder/dot/js/package.json +46 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/.DS_Store +0 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/LICENSE.txt +20 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/README.md +10 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/core/LICENSE.txt +20 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/core/README.md +8 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/core/locales/af.js +30 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/core/locales/ar-dz.js +31 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/core/locales/ar-kw.js +31 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/core/locales/ar-ly.js +31 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/core/locales/ar-ma.js +31 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/core/locales/ar-sa.js +31 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/core/locales/ar-tn.js +31 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/core/locales/ar.js +31 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/core/locales/bg.js +31 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/core/locales/bs.js +32 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/core/locales/ca.js +30 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/core/locales/cs.js +32 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/core/locales/da.js +30 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/core/locales/de.js +33 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/core/locales/el.js +30 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/core/locales/en-au.js +17 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/core/locales/en-gb.js +17 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/core/locales/en-nz.js +17 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/core/locales/es-us.js +30 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/core/locales/es.js +30 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/core/locales/et.js +32 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/core/locales/eu.js +30 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/core/locales/fa.js +33 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/core/locales/fi.js +30 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/core/locales/fr-ca.js +27 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/core/locales/fr-ch.js +31 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/core/locales/fr.js +31 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/core/locales/gl.js +30 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/core/locales/he.js +27 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/core/locales/hi.js +32 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/core/locales/hr.js +32 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/core/locales/hu.js +30 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/core/locales/id.js +30 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/core/locales/is.js +30 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/core/locales/it.js +32 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/core/locales/ja.js +28 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/core/locales/ka.js +32 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/core/locales/kk.js +32 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/core/locales/ko.js +26 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/core/locales/lb.js +30 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/core/locales/lt.js +30 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/core/locales/lv.js +32 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/core/locales/mk.js +28 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/core/locales/ms.js +32 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/core/locales/nb.js +30 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/core/locales/nl.js +30 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/core/locales/nn.js +30 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/core/locales/pl.js +30 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/core/locales/pt-br.js +28 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/core/locales/pt.js +30 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/core/locales/ro.js +32 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/core/locales/ru.js +32 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/core/locales/sk.js +32 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/core/locales/sl.js +30 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/core/locales/sq.js +32 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/core/locales/sr-cyrl.js +32 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/core/locales/sr.js +32 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/core/locales/sv.js +30 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/core/locales/th.js +25 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/core/locales/tr.js +30 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/core/locales/uk.js +32 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/core/locales/vi.js +32 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/core/locales/zh-cn.js +33 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/core/locales/zh-tw.js +26 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/core/locales-all.js +1348 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/core/locales-all.min.js +1 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/core/main.css +1052 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/core/main.d.ts +2730 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/core/main.esm.js +8558 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/core/main.js +8717 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/core/main.min.css +1 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/core/main.min.js +6 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/core/package.json +30 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/daygrid/LICENSE.txt +20 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/daygrid/README.md +8 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/daygrid/main.css +78 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/daygrid/main.d.ts +310 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/daygrid/main.esm.js +1627 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/daygrid/main.js +1641 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/daygrid/main.min.css +1 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/daygrid/main.min.js +6 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/daygrid/package.json +33 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/fullcalendar-yearview/LICENSE +21 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/fullcalendar-yearview/css/main.css +85 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/fullcalendar-yearview/js/main.js +2018 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/google-calendar/LICENSE.txt +20 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/google-calendar/README.md +8 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/google-calendar/main.d.ts +20 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/google-calendar/main.esm.js +162 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/google-calendar/main.js +170 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/google-calendar/main.min.js +6 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/google-calendar/package.json +33 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/interaction/LICENSE.txt +20 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/interaction/README.md +8 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/interaction/main.d.ts +323 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/interaction/main.esm.js +2132 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/interaction/main.js +2143 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/interaction/main.min.js +6 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/interaction/package.json +33 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/list/LICENSE.txt +20 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/list/README.md +8 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/list/main.css +118 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/list/main.d.ts +33 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/list/main.esm.js +335 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/list/main.js +343 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/list/main.min.css +1 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/list/main.min.js +6 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/list/package.json +33 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/luxon/LICENSE.txt +20 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/luxon/README.md +8 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/luxon/main.d.ts +14 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/luxon/main.esm.js +162 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/luxon/main.js +170 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/luxon/main.min.js +6 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/luxon/package.json +34 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/moment/LICENSE.txt +20 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/moment/README.md +8 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/moment/main.d.ts +14 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/moment/main.esm.js +102 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/moment/main.js +110 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/moment/main.min.js +6 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/moment/package.json +34 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/moment-timezone/LICENSE.txt +20 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/moment-timezone/README.md +8 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/moment-timezone/main.d.ts +11 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/moment-timezone/main.esm.js +58 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/moment-timezone/main.js +64 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/moment-timezone/main.min.js +6 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/moment-timezone/package.json +35 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/rrule/LICENSE.txt +20 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/rrule/README.md +8 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/rrule/main.d.ts +9 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/rrule/main.esm.js +121 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/rrule/main.js +128 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/rrule/main.min.js +6 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/rrule/package.json +34 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/timegrid/LICENSE.txt +20 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/timegrid/README.md +8 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/timegrid/main.css +309 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/timegrid/main.d.ts +220 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/timegrid/main.esm.js +1345 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/timegrid/main.js +1357 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/timegrid/main.min.css +1 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/timegrid/main.min.js +6 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/timegrid/package.json +36 -0
- advanced_report_builder/static/advanced_report_builder/fullcalendar/vendor/rrule.js +3782 -0
- advanced_report_builder/static/advanced_report_builder/jquery_extendext/js/jQuery.extendext.js +132 -0
- advanced_report_builder/static/advanced_report_builder/jquery_extendext/js/jQuery.extendext.min.js +9 -0
- advanced_report_builder/static/advanced_report_builder/moment/locales.js +9769 -0
- advanced_report_builder/static/advanced_report_builder/moment/locales.min.js +1 -0
- advanced_report_builder/static/advanced_report_builder/moment/moment-with-locales.js +14289 -0
- advanced_report_builder/static/advanced_report_builder/moment/moment-with-locales.min.js +1 -0
- advanced_report_builder/static/advanced_report_builder/moment/moment.min.js +1 -0
- advanced_report_builder/static/advanced_report_builder/query_builder/.DS_Store +0 -0
- advanced_report_builder/static/advanced_report_builder/query_builder/css/.DS_Store +0 -0
- advanced_report_builder/static/advanced_report_builder/query_builder/css/query-builder.dark.css +173 -0
- advanced_report_builder/static/advanced_report_builder/query_builder/css/query-builder.dark.min.css +6 -0
- advanced_report_builder/static/advanced_report_builder/query_builder/css/query-builder.default.css +173 -0
- advanced_report_builder/static/advanced_report_builder/query_builder/css/query-builder.default.min.css +6 -0
- advanced_report_builder/static/advanced_report_builder/query_builder/i18n/query-builder.ar.js +80 -0
- advanced_report_builder/static/advanced_report_builder/query_builder/i18n/query-builder.az.js +79 -0
- advanced_report_builder/static/advanced_report_builder/query_builder/i18n/query-builder.bg.js +79 -0
- advanced_report_builder/static/advanced_report_builder/query_builder/i18n/query-builder.cs.js +79 -0
- advanced_report_builder/static/advanced_report_builder/query_builder/i18n/query-builder.da.js +56 -0
- advanced_report_builder/static/advanced_report_builder/query_builder/i18n/query-builder.de.js +76 -0
- advanced_report_builder/static/advanced_report_builder/query_builder/i18n/query-builder.el.js +80 -0
- advanced_report_builder/static/advanced_report_builder/query_builder/i18n/query-builder.en.js +83 -0
- advanced_report_builder/static/advanced_report_builder/query_builder/i18n/query-builder.es.js +81 -0
- advanced_report_builder/static/advanced_report_builder/query_builder/i18n/query-builder.fa-IR.js +79 -0
- advanced_report_builder/static/advanced_report_builder/query_builder/i18n/query-builder.fr.js +83 -0
- advanced_report_builder/static/advanced_report_builder/query_builder/i18n/query-builder.he.js +81 -0
- advanced_report_builder/static/advanced_report_builder/query_builder/i18n/query-builder.it.js +79 -0
- advanced_report_builder/static/advanced_report_builder/query_builder/i18n/query-builder.nl.js +76 -0
- advanced_report_builder/static/advanced_report_builder/query_builder/i18n/query-builder.no.js +54 -0
- advanced_report_builder/static/advanced_report_builder/query_builder/i18n/query-builder.pl.js +80 -0
- advanced_report_builder/static/advanced_report_builder/query_builder/i18n/query-builder.pt-BR.js +80 -0
- advanced_report_builder/static/advanced_report_builder/query_builder/i18n/query-builder.pt-PT.js +75 -0
- advanced_report_builder/static/advanced_report_builder/query_builder/i18n/query-builder.ro.js +54 -0
- advanced_report_builder/static/advanced_report_builder/query_builder/i18n/query-builder.ru.js +77 -0
- advanced_report_builder/static/advanced_report_builder/query_builder/i18n/query-builder.sq.js +78 -0
- advanced_report_builder/static/advanced_report_builder/query_builder/i18n/query-builder.tr.js +82 -0
- advanced_report_builder/static/advanced_report_builder/query_builder/i18n/query-builder.ua.js +79 -0
- advanced_report_builder/static/advanced_report_builder/query_builder/i18n/query-builder.zh-CN.js +80 -0
- advanced_report_builder/static/advanced_report_builder/query_builder/js/.DS_Store +0 -0
- advanced_report_builder/static/advanced_report_builder/query_builder/js/plugins/.DS_Store +0 -0
- advanced_report_builder/static/advanced_report_builder/query_builder/js/plugins/currency/plugin.js +30 -0
- advanced_report_builder/static/advanced_report_builder/query_builder/js/query-builder.js +6200 -0
- advanced_report_builder/static/advanced_report_builder/query_builder/js/query-builder.min.js +7 -0
- advanced_report_builder/static/advanced_report_builder/query_builder/js/query-builder.standalone.js +6477 -0
- advanced_report_builder/static/advanced_report_builder/query_builder/js/query-builder.standalone.min.js +7 -0
- advanced_report_builder/static/advanced_report_builder/query_builder/scss/.DS_Store +0 -0
- advanced_report_builder/static/advanced_report_builder/query_builder/scss/dark.scss +19 -0
- advanced_report_builder/static/advanced_report_builder/query_builder/scss/default.scss +186 -0
- advanced_report_builder/static/advanced_report_builder/query_builder/scss/plugins/_bt-checkbox.scss +12 -0
- advanced_report_builder/static/advanced_report_builder/query_builder/scss/plugins/_bt-tooltip-errors.scss +9 -0
- advanced_report_builder/static/advanced_report_builder/query_builder/scss/plugins/_filter-description.scss +21 -0
- advanced_report_builder/static/advanced_report_builder/query_builder/scss/plugins/_invert.scss +5 -0
- advanced_report_builder/static/advanced_report_builder/query_builder/scss/plugins/_sortable.scss +28 -0
- advanced_report_builder/static/advanced_report_builder/query_builder/scss/plugins/bt-tooltip-errors.scss +9 -0
- advanced_report_builder/static/advanced_report_builder/query_builder/scss/plugins/filter-description.scss +21 -0
- advanced_report_builder/static/advanced_report_builder/query_builder/scss/plugins/invert.scss +5 -0
- advanced_report_builder/static/advanced_report_builder/query_builder/scss/plugins/sortable.scss +27 -0
- advanced_report_builder/template_types.py +34 -0
- advanced_report_builder/templates/advanced_report_builder/calendar/description_modal.html +12 -0
- advanced_report_builder/templates/advanced_report_builder/calendar/middle.html +33 -0
- advanced_report_builder/templates/advanced_report_builder/calendar/modal.html +10 -0
- advanced_report_builder/templates/advanced_report_builder/calendar/report.html +80 -0
- advanced_report_builder/templates/advanced_report_builder/charts/bar/middle.html +122 -0
- advanced_report_builder/templates/advanced_report_builder/charts/funnel/middle.html +46 -0
- advanced_report_builder/templates/advanced_report_builder/charts/funnel/report.html +34 -0
- advanced_report_builder/templates/advanced_report_builder/charts/line/middle.html +119 -0
- advanced_report_builder/templates/advanced_report_builder/charts/modal.html +12 -0
- advanced_report_builder/templates/advanced_report_builder/charts/modal_field.html +13 -0
- advanced_report_builder/templates/advanced_report_builder/charts/pie/middle.html +58 -0
- advanced_report_builder/templates/advanced_report_builder/charts/report.html +33 -0
- advanced_report_builder/templates/advanced_report_builder/data_merge/data_merge.html +144 -0
- advanced_report_builder/templates/advanced_report_builder/datatables/fields/modal.html +13 -0
- advanced_report_builder/templates/advanced_report_builder/datatables/fields/single_query_builder.html +87 -0
- advanced_report_builder/templates/advanced_report_builder/datatables/modal.html +13 -0
- advanced_report_builder/templates/advanced_report_builder/datatables/onclick_menu.html +14 -0
- advanced_report_builder/templates/advanced_report_builder/datatables/report.html +37 -0
- advanced_report_builder/templates/advanced_report_builder/datatables/select_pivot.html +199 -0
- advanced_report_builder/templates/advanced_report_builder/error.html +21 -0
- advanced_report_builder/templates/advanced_report_builder/extra_query_modal.html +13 -0
- advanced_report_builder/templates/advanced_report_builder/kanban/description_modal.html +12 -0
- advanced_report_builder/templates/advanced_report_builder/kanban/middle.html +63 -0
- advanced_report_builder/templates/advanced_report_builder/kanban/modal.html +10 -0
- advanced_report_builder/templates/advanced_report_builder/kanban/report.html +71 -0
- advanced_report_builder/templates/advanced_report_builder/multi_values/held_modal.html +14 -0
- advanced_report_builder/templates/advanced_report_builder/multi_values/middle.html +61 -0
- advanced_report_builder/templates/advanced_report_builder/multi_values/modal.html +15 -0
- advanced_report_builder/templates/advanced_report_builder/multi_values/report.html +19 -0
- advanced_report_builder/templates/advanced_report_builder/query_builder.html +88 -0
- advanced_report_builder/templates/advanced_report_builder/query_modal.html +12 -0
- advanced_report_builder/templates/advanced_report_builder/select_column.html +230 -0
- advanced_report_builder/templates/advanced_report_builder/single_values/gauge_middle.html +143 -0
- advanced_report_builder/templates/advanced_report_builder/single_values/middle.html +63 -0
- advanced_report_builder/templates/advanced_report_builder/single_values/modal.html +13 -0
- advanced_report_builder/templates/advanced_report_builder/single_values/report.html +56 -0
- advanced_report_builder/toggle.py +9 -0
- advanced_report_builder/urls.py +237 -0
- advanced_report_builder/utils.py +171 -0
- advanced_report_builder/variable_date.py +670 -0
- advanced_report_builder/view_types.py +27 -0
- advanced_report_builder/views/.DS_Store +0 -0
- advanced_report_builder/views/__init__.py +0 -0
- advanced_report_builder/views/bar_charts.py +746 -0
- advanced_report_builder/views/calendar.py +745 -0
- advanced_report_builder/views/charts_base.py +625 -0
- advanced_report_builder/views/custom.py +147 -0
- advanced_report_builder/views/dashboard.py +357 -0
- advanced_report_builder/views/datatables/__init__.py +0 -0
- advanced_report_builder/views/datatables/datatables.py +151 -0
- advanced_report_builder/views/datatables/modal.py +1151 -0
- advanced_report_builder/views/datatables/utils.py +701 -0
- advanced_report_builder/views/error_pod.py +50 -0
- advanced_report_builder/views/funnel_charts.py +289 -0
- advanced_report_builder/views/helpers.py +22 -0
- advanced_report_builder/views/kanban.py +868 -0
- advanced_report_builder/views/line_charts.py +415 -0
- advanced_report_builder/views/modals_base.py +213 -0
- advanced_report_builder/views/multi_value.py +1160 -0
- advanced_report_builder/views/pie_charts.py +290 -0
- advanced_report_builder/views/query_modal/__init__.py +0 -0
- advanced_report_builder/views/query_modal/mixin.py +161 -0
- advanced_report_builder/views/query_modal/modal.py +274 -0
- advanced_report_builder/views/report.py +241 -0
- advanced_report_builder/views/report_utils_mixin.py +312 -0
- advanced_report_builder/views/reports.py +154 -0
- advanced_report_builder/views/single_values.py +792 -0
- advanced_report_builder/views/targets/__init__.py +0 -0
- advanced_report_builder/views/targets/utils.py +251 -0
- advanced_report_builder/views/targets/views.py +139 -0
- advanced_report_builder/views/value_base.py +198 -0
- advanced_report_builder/widgets.py +5 -0
- django_advanced_report_builder-1.2.9.dist-info/METADATA +35 -0
- django_advanced_report_builder-1.2.9.dist-info/RECORD +360 -0
- django_advanced_report_builder-1.2.9.dist-info/WHEEL +5 -0
- django_advanced_report_builder-1.2.9.dist-info/licenses/LICENSE +21 -0
- django_advanced_report_builder-1.2.9.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
FullCalendar Luxon Plugin v4.3.0
|
|
3
|
+
Docs & License: https://fullcalendar.io/
|
|
4
|
+
(c) 2019 Adam Shaw
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
(function (global, factory) {
|
|
8
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('luxon'), require('@fullcalendar/core')) :
|
|
9
|
+
typeof define === 'function' && define.amd ? define(['exports', 'luxon', '@fullcalendar/core'], factory) :
|
|
10
|
+
(global = global || self, factory(global.FullCalendarLuxon = {}, global.luxon, global.FullCalendar));
|
|
11
|
+
}(this, function (exports, luxon, core) { 'use strict';
|
|
12
|
+
|
|
13
|
+
/*! *****************************************************************************
|
|
14
|
+
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
15
|
+
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
16
|
+
this file except in compliance with the License. You may obtain a copy of the
|
|
17
|
+
License at http://www.apache.org/licenses/LICENSE-2.0
|
|
18
|
+
|
|
19
|
+
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
20
|
+
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
|
21
|
+
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
|
22
|
+
MERCHANTABLITY OR NON-INFRINGEMENT.
|
|
23
|
+
|
|
24
|
+
See the Apache Version 2.0 License for specific language governing permissions
|
|
25
|
+
and limitations under the License.
|
|
26
|
+
***************************************************************************** */
|
|
27
|
+
/* global Reflect, Promise */
|
|
28
|
+
|
|
29
|
+
var extendStatics = function(d, b) {
|
|
30
|
+
extendStatics = Object.setPrototypeOf ||
|
|
31
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
32
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
33
|
+
return extendStatics(d, b);
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
function __extends(d, b) {
|
|
37
|
+
extendStatics(d, b);
|
|
38
|
+
function __() { this.constructor = d; }
|
|
39
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
var __assign = function() {
|
|
43
|
+
__assign = Object.assign || function __assign(t) {
|
|
44
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
45
|
+
s = arguments[i];
|
|
46
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
47
|
+
}
|
|
48
|
+
return t;
|
|
49
|
+
};
|
|
50
|
+
return __assign.apply(this, arguments);
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
function toDateTime(date, calendar) {
|
|
54
|
+
if (!(calendar instanceof core.Calendar)) {
|
|
55
|
+
throw new Error('must supply a Calendar instance');
|
|
56
|
+
}
|
|
57
|
+
return luxon.DateTime.fromJSDate(date, {
|
|
58
|
+
zone: calendar.dateEnv.timeZone,
|
|
59
|
+
locale: calendar.dateEnv.locale.codes[0]
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
function toDuration(duration, calendar) {
|
|
63
|
+
if (!(calendar instanceof core.Calendar)) {
|
|
64
|
+
throw new Error('must supply a Calendar instance');
|
|
65
|
+
}
|
|
66
|
+
return luxon.Duration.fromObject(__assign({}, duration, { locale: calendar.dateEnv.locale.codes[0] }));
|
|
67
|
+
}
|
|
68
|
+
var LuxonNamedTimeZone = /** @class */ (function (_super) {
|
|
69
|
+
__extends(LuxonNamedTimeZone, _super);
|
|
70
|
+
function LuxonNamedTimeZone() {
|
|
71
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
72
|
+
}
|
|
73
|
+
LuxonNamedTimeZone.prototype.offsetForArray = function (a) {
|
|
74
|
+
return arrayToLuxon(a, this.timeZoneName).offset;
|
|
75
|
+
};
|
|
76
|
+
LuxonNamedTimeZone.prototype.timestampToArray = function (ms) {
|
|
77
|
+
return luxonToArray(luxon.DateTime.fromMillis(ms, {
|
|
78
|
+
zone: this.timeZoneName
|
|
79
|
+
}));
|
|
80
|
+
};
|
|
81
|
+
return LuxonNamedTimeZone;
|
|
82
|
+
}(core.NamedTimeZoneImpl));
|
|
83
|
+
function formatWithCmdStr(cmdStr, arg) {
|
|
84
|
+
var cmd = parseCmdStr(cmdStr);
|
|
85
|
+
if (arg.end) {
|
|
86
|
+
var start = arrayToLuxon(arg.start.array, arg.timeZone, arg.localeCodes[0]);
|
|
87
|
+
var end = arrayToLuxon(arg.end.array, arg.timeZone, arg.localeCodes[0]);
|
|
88
|
+
return formatRange(cmd, start.toFormat.bind(start), end.toFormat.bind(end), arg.separator);
|
|
89
|
+
}
|
|
90
|
+
return arrayToLuxon(arg.date.array, arg.timeZone, arg.localeCodes[0]).toFormat(cmd.whole);
|
|
91
|
+
}
|
|
92
|
+
var main = core.createPlugin({
|
|
93
|
+
cmdFormatter: formatWithCmdStr,
|
|
94
|
+
namedTimeZonedImpl: LuxonNamedTimeZone
|
|
95
|
+
});
|
|
96
|
+
function luxonToArray(datetime) {
|
|
97
|
+
return [
|
|
98
|
+
datetime.year,
|
|
99
|
+
datetime.month - 1,
|
|
100
|
+
datetime.day,
|
|
101
|
+
datetime.hour,
|
|
102
|
+
datetime.minute,
|
|
103
|
+
datetime.second,
|
|
104
|
+
datetime.millisecond
|
|
105
|
+
];
|
|
106
|
+
}
|
|
107
|
+
function arrayToLuxon(arr, timeZone, locale) {
|
|
108
|
+
return luxon.DateTime.fromObject({
|
|
109
|
+
zone: timeZone,
|
|
110
|
+
locale: locale,
|
|
111
|
+
year: arr[0],
|
|
112
|
+
month: arr[1] + 1,
|
|
113
|
+
day: arr[2],
|
|
114
|
+
hour: arr[3],
|
|
115
|
+
minute: arr[4],
|
|
116
|
+
second: arr[5],
|
|
117
|
+
millisecond: arr[6]
|
|
118
|
+
});
|
|
119
|
+
}
|
|
120
|
+
function parseCmdStr(cmdStr) {
|
|
121
|
+
var parts = cmdStr.match(/^(.*?)\{(.*)\}(.*)$/); // TODO: lookbehinds for escape characters
|
|
122
|
+
if (parts) {
|
|
123
|
+
var middle = parseCmdStr(parts[2]);
|
|
124
|
+
return {
|
|
125
|
+
head: parts[1],
|
|
126
|
+
middle: middle,
|
|
127
|
+
tail: parts[3],
|
|
128
|
+
whole: parts[1] + middle.whole + parts[3]
|
|
129
|
+
};
|
|
130
|
+
}
|
|
131
|
+
else {
|
|
132
|
+
return {
|
|
133
|
+
head: null,
|
|
134
|
+
middle: null,
|
|
135
|
+
tail: null,
|
|
136
|
+
whole: cmdStr
|
|
137
|
+
};
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
function formatRange(cmd, formatStart, formatEnd, separator) {
|
|
141
|
+
if (cmd.middle) {
|
|
142
|
+
var startHead = formatStart(cmd.head);
|
|
143
|
+
var startMiddle = formatRange(cmd.middle, formatStart, formatEnd, separator);
|
|
144
|
+
var startTail = formatStart(cmd.tail);
|
|
145
|
+
var endHead = formatEnd(cmd.head);
|
|
146
|
+
var endMiddle = formatRange(cmd.middle, formatStart, formatEnd, separator);
|
|
147
|
+
var endTail = formatEnd(cmd.tail);
|
|
148
|
+
if (startHead === endHead && startTail === endTail) {
|
|
149
|
+
return startHead +
|
|
150
|
+
(startMiddle === endMiddle ? startMiddle : startMiddle + separator + endMiddle) +
|
|
151
|
+
startTail;
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
var startWhole = formatStart(cmd.whole);
|
|
155
|
+
var endWhole = formatEnd(cmd.whole);
|
|
156
|
+
if (startWhole === endWhole) {
|
|
157
|
+
return startWhole;
|
|
158
|
+
}
|
|
159
|
+
else {
|
|
160
|
+
return startWhole + separator + endWhole;
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
exports.default = main;
|
|
165
|
+
exports.toDateTime = toDateTime;
|
|
166
|
+
exports.toDuration = toDuration;
|
|
167
|
+
|
|
168
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
169
|
+
|
|
170
|
+
}));
|
advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/luxon/main.min.js
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
FullCalendar Luxon Plugin v4.3.0
|
|
3
|
+
Docs & License: https://fullcalendar.io/
|
|
4
|
+
(c) 2019 Adam Shaw
|
|
5
|
+
*/
|
|
6
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("luxon"),require("@fullcalendar/core")):"function"==typeof define&&define.amd?define(["exports","luxon","@fullcalendar/core"],t):t((e=e||self).FullCalendarLuxon={},e.luxon,e.FullCalendar)}(this,function(e,t,n){"use strict";var o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};var r=function(){return(r=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};var a=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(n,e),n.prototype.offsetForArray=function(e){return l(e,this.timeZoneName).offset},n.prototype.timestampToArray=function(e){return[(n=t.DateTime.fromMillis(e,{zone:this.timeZoneName})).year,n.month-1,n.day,n.hour,n.minute,n.second,n.millisecond];var n},n}(n.NamedTimeZoneImpl);var i=n.createPlugin({cmdFormatter:function(e,t){var n=function e(t){var n=t.match(/^(.*?)\{(.*)\}(.*)$/);if(n){var o=e(n[2]);return{head:n[1],middle:o,tail:n[3],whole:n[1]+o.whole+n[3]}}return{head:null,middle:null,tail:null,whole:t}}(e);if(t.end){var o=l(t.start.array,t.timeZone,t.localeCodes[0]),r=l(t.end.array,t.timeZone,t.localeCodes[0]);return function e(t,n,o,r){if(t.middle){var a=n(t.head),i=e(t.middle,n,o,r),l=n(t.tail),u=o(t.head),c=e(t.middle,n,o,r),d=o(t.tail);if(a===u&&l===d)return a+(i===c?i:i+r+c)+l}var f=n(t.whole),m=o(t.whole);return f===m?f:f+r+m}(n,o.toFormat.bind(o),r.toFormat.bind(r),t.separator)}return l(t.date.array,t.timeZone,t.localeCodes[0]).toFormat(n.whole)},namedTimeZonedImpl:a});function l(e,n,o){return t.DateTime.fromObject({zone:n,locale:o,year:e[0],month:e[1]+1,day:e[2],hour:e[3],minute:e[4],second:e[5],millisecond:e[6]})}e.default=i,e.toDateTime=function(e,o){if(!(o instanceof n.Calendar))throw new Error("must supply a Calendar instance");return t.DateTime.fromJSDate(e,{zone:o.dateEnv.timeZone,locale:o.dateEnv.locale.codes[0]})},e.toDuration=function(e,o){if(!(o instanceof n.Calendar))throw new Error("must supply a Calendar instance");return t.Duration.fromObject(r({},e,{locale:o.dateEnv.locale.codes[0]}))},Object.defineProperty(e,"__esModule",{value:!0})});
|
advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/luxon/package.json
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@fullcalendar/luxon",
|
|
3
|
+
"version": "4.3.0",
|
|
4
|
+
"title": "FullCalendar Luxon Plugin",
|
|
5
|
+
"description": "A connector to the Luxon date library",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"calendar",
|
|
8
|
+
"event",
|
|
9
|
+
"full-sized"
|
|
10
|
+
],
|
|
11
|
+
"homepage": "https://fullcalendar.io/",
|
|
12
|
+
"docs": "https://fullcalendar.io/docs/luxon-plugin",
|
|
13
|
+
"bugs": "https://fullcalendar.io/reporting-bugs",
|
|
14
|
+
"repository": {
|
|
15
|
+
"type": "git",
|
|
16
|
+
"url": "https://github.com/fullcalendar/fullcalendar.git",
|
|
17
|
+
"homepage": "https://github.com/fullcalendar/fullcalendar"
|
|
18
|
+
},
|
|
19
|
+
"license": "MIT",
|
|
20
|
+
"author": {
|
|
21
|
+
"name": "Adam Shaw",
|
|
22
|
+
"email": "arshaw@arshaw.com",
|
|
23
|
+
"url": "http://arshaw.com/"
|
|
24
|
+
},
|
|
25
|
+
"copyright": "2019 Adam Shaw",
|
|
26
|
+
"peerDependencies": {
|
|
27
|
+
"@fullcalendar/core": "~4.3.0",
|
|
28
|
+
"luxon": "^1.12.1"
|
|
29
|
+
},
|
|
30
|
+
"main": "main.js",
|
|
31
|
+
"module": "main.esm.js",
|
|
32
|
+
"unpkg": "main.min.js",
|
|
33
|
+
"types": "main.d.ts"
|
|
34
|
+
}
|
advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/moment/LICENSE.txt
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
Copyright (c) 2019 Adam Shaw
|
|
2
|
+
|
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
4
|
+
a copy of this software and associated documentation files (the
|
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
|
9
|
+
the following conditions:
|
|
10
|
+
|
|
11
|
+
The above copyright notice and this permission notice shall be
|
|
12
|
+
included in all copies or substantial portions of the Software.
|
|
13
|
+
|
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// Generated by dts-bundle v0.7.3-fork.1
|
|
2
|
+
// Dependencies for this module:
|
|
3
|
+
// ../../../../../moment
|
|
4
|
+
// ../../../../../@fullcalendar/core
|
|
5
|
+
|
|
6
|
+
declare module '@fullcalendar/moment' {
|
|
7
|
+
import * as momentNs from 'moment';
|
|
8
|
+
import { Calendar, Duration } from '@fullcalendar/core';
|
|
9
|
+
export function toMoment(date: Date, calendar: Calendar): momentNs.Moment;
|
|
10
|
+
export function toDuration(fcDuration: Duration): momentNs.Duration;
|
|
11
|
+
const _default: import("@fullcalendar/core").PluginDef;
|
|
12
|
+
export default _default;
|
|
13
|
+
}
|
|
14
|
+
|
advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/moment/main.esm.js
ADDED
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
FullCalendar Moment Plugin v4.3.0
|
|
3
|
+
Docs & License: https://fullcalendar.io/
|
|
4
|
+
(c) 2019 Adam Shaw
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
import * as momentNs from 'moment';
|
|
8
|
+
import { createPlugin, Calendar } from '@fullcalendar/core';
|
|
9
|
+
|
|
10
|
+
var moment = momentNs; // the directly callable function
|
|
11
|
+
function toMoment(date, calendar) {
|
|
12
|
+
if (!(calendar instanceof Calendar)) {
|
|
13
|
+
throw new Error('must supply a Calendar instance');
|
|
14
|
+
}
|
|
15
|
+
return convertToMoment(date, calendar.dateEnv.timeZone, null, calendar.dateEnv.locale.codes[0]);
|
|
16
|
+
}
|
|
17
|
+
function toDuration(fcDuration) {
|
|
18
|
+
return moment.duration(fcDuration); // moment accepts all the props that fc.Duration already has!
|
|
19
|
+
}
|
|
20
|
+
function formatWithCmdStr(cmdStr, arg) {
|
|
21
|
+
var cmd = parseCmdStr(cmdStr);
|
|
22
|
+
if (arg.end) {
|
|
23
|
+
var startMom = convertToMoment(arg.start.array, arg.timeZone, arg.start.timeZoneOffset, arg.localeCodes[0]);
|
|
24
|
+
var endMom = convertToMoment(arg.end.array, arg.timeZone, arg.end.timeZoneOffset, arg.localeCodes[0]);
|
|
25
|
+
return formatRange(cmd, createMomentFormatFunc(startMom), createMomentFormatFunc(endMom), arg.separator);
|
|
26
|
+
}
|
|
27
|
+
return convertToMoment(arg.date.array, arg.timeZone, arg.date.timeZoneOffset, arg.localeCodes[0]).format(cmd.whole); // TODO: test for this
|
|
28
|
+
}
|
|
29
|
+
var main = createPlugin({
|
|
30
|
+
cmdFormatter: formatWithCmdStr
|
|
31
|
+
});
|
|
32
|
+
function createMomentFormatFunc(mom) {
|
|
33
|
+
return function (cmdStr) {
|
|
34
|
+
return cmdStr ? mom.format(cmdStr) : ''; // because calling with blank string results in ISO8601 :(
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
function convertToMoment(input, timeZone, timeZoneOffset, locale) {
|
|
38
|
+
var mom;
|
|
39
|
+
if (timeZone === 'local') {
|
|
40
|
+
mom = moment(input);
|
|
41
|
+
}
|
|
42
|
+
else if (timeZone === 'UTC') {
|
|
43
|
+
mom = moment.utc(input);
|
|
44
|
+
}
|
|
45
|
+
else if (moment.tz) {
|
|
46
|
+
mom = moment.tz(input, timeZone);
|
|
47
|
+
}
|
|
48
|
+
else {
|
|
49
|
+
mom = moment.utc(input);
|
|
50
|
+
if (timeZoneOffset != null) {
|
|
51
|
+
mom.utcOffset(timeZoneOffset);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
mom.locale(locale);
|
|
55
|
+
return mom;
|
|
56
|
+
}
|
|
57
|
+
function parseCmdStr(cmdStr) {
|
|
58
|
+
var parts = cmdStr.match(/^(.*?)\{(.*)\}(.*)$/); // TODO: lookbehinds for escape characters
|
|
59
|
+
if (parts) {
|
|
60
|
+
var middle = parseCmdStr(parts[2]);
|
|
61
|
+
return {
|
|
62
|
+
head: parts[1],
|
|
63
|
+
middle: middle,
|
|
64
|
+
tail: parts[3],
|
|
65
|
+
whole: parts[1] + middle.whole + parts[3]
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
else {
|
|
69
|
+
return {
|
|
70
|
+
head: null,
|
|
71
|
+
middle: null,
|
|
72
|
+
tail: null,
|
|
73
|
+
whole: cmdStr
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
function formatRange(cmd, formatStart, formatEnd, separator) {
|
|
78
|
+
if (cmd.middle) {
|
|
79
|
+
var startHead = formatStart(cmd.head);
|
|
80
|
+
var startMiddle = formatRange(cmd.middle, formatStart, formatEnd, separator);
|
|
81
|
+
var startTail = formatStart(cmd.tail);
|
|
82
|
+
var endHead = formatEnd(cmd.head);
|
|
83
|
+
var endMiddle = formatRange(cmd.middle, formatStart, formatEnd, separator);
|
|
84
|
+
var endTail = formatEnd(cmd.tail);
|
|
85
|
+
if (startHead === endHead && startTail === endTail) {
|
|
86
|
+
return startHead +
|
|
87
|
+
(startMiddle === endMiddle ? startMiddle : startMiddle + separator + endMiddle) +
|
|
88
|
+
startTail;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
var startWhole = formatStart(cmd.whole);
|
|
92
|
+
var endWhole = formatEnd(cmd.whole);
|
|
93
|
+
if (startWhole === endWhole) {
|
|
94
|
+
return startWhole;
|
|
95
|
+
}
|
|
96
|
+
else {
|
|
97
|
+
return startWhole + separator + endWhole;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
export default main;
|
|
102
|
+
export { toDuration, toMoment };
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
FullCalendar Moment Plugin v4.3.0
|
|
3
|
+
Docs & License: https://fullcalendar.io/
|
|
4
|
+
(c) 2019 Adam Shaw
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
(function (global, factory) {
|
|
8
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('moment'), require('@fullcalendar/core')) :
|
|
9
|
+
typeof define === 'function' && define.amd ? define(['exports', 'moment', '@fullcalendar/core'], factory) :
|
|
10
|
+
(global = global || self, factory(global.FullCalendarMoment = {}, global.moment, global.FullCalendar));
|
|
11
|
+
}(this, function (exports, momentNs, core) { 'use strict';
|
|
12
|
+
|
|
13
|
+
var moment = momentNs; // the directly callable function
|
|
14
|
+
function toMoment(date, calendar) {
|
|
15
|
+
if (!(calendar instanceof core.Calendar)) {
|
|
16
|
+
throw new Error('must supply a Calendar instance');
|
|
17
|
+
}
|
|
18
|
+
return convertToMoment(date, calendar.dateEnv.timeZone, null, calendar.dateEnv.locale.codes[0]);
|
|
19
|
+
}
|
|
20
|
+
function toDuration(fcDuration) {
|
|
21
|
+
return moment.duration(fcDuration); // moment accepts all the props that fc.Duration already has!
|
|
22
|
+
}
|
|
23
|
+
function formatWithCmdStr(cmdStr, arg) {
|
|
24
|
+
var cmd = parseCmdStr(cmdStr);
|
|
25
|
+
if (arg.end) {
|
|
26
|
+
var startMom = convertToMoment(arg.start.array, arg.timeZone, arg.start.timeZoneOffset, arg.localeCodes[0]);
|
|
27
|
+
var endMom = convertToMoment(arg.end.array, arg.timeZone, arg.end.timeZoneOffset, arg.localeCodes[0]);
|
|
28
|
+
return formatRange(cmd, createMomentFormatFunc(startMom), createMomentFormatFunc(endMom), arg.separator);
|
|
29
|
+
}
|
|
30
|
+
return convertToMoment(arg.date.array, arg.timeZone, arg.date.timeZoneOffset, arg.localeCodes[0]).format(cmd.whole); // TODO: test for this
|
|
31
|
+
}
|
|
32
|
+
var main = core.createPlugin({
|
|
33
|
+
cmdFormatter: formatWithCmdStr
|
|
34
|
+
});
|
|
35
|
+
function createMomentFormatFunc(mom) {
|
|
36
|
+
return function (cmdStr) {
|
|
37
|
+
return cmdStr ? mom.format(cmdStr) : ''; // because calling with blank string results in ISO8601 :(
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function convertToMoment(input, timeZone, timeZoneOffset, locale) {
|
|
41
|
+
var mom;
|
|
42
|
+
if (timeZone === 'local') {
|
|
43
|
+
mom = moment(input);
|
|
44
|
+
}
|
|
45
|
+
else if (timeZone === 'UTC') {
|
|
46
|
+
mom = moment.utc(input);
|
|
47
|
+
}
|
|
48
|
+
else if (moment.tz) {
|
|
49
|
+
mom = moment.tz(input, timeZone);
|
|
50
|
+
}
|
|
51
|
+
else {
|
|
52
|
+
mom = moment.utc(input);
|
|
53
|
+
if (timeZoneOffset != null) {
|
|
54
|
+
mom.utcOffset(timeZoneOffset);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
mom.locale(locale);
|
|
58
|
+
return mom;
|
|
59
|
+
}
|
|
60
|
+
function parseCmdStr(cmdStr) {
|
|
61
|
+
var parts = cmdStr.match(/^(.*?)\{(.*)\}(.*)$/); // TODO: lookbehinds for escape characters
|
|
62
|
+
if (parts) {
|
|
63
|
+
var middle = parseCmdStr(parts[2]);
|
|
64
|
+
return {
|
|
65
|
+
head: parts[1],
|
|
66
|
+
middle: middle,
|
|
67
|
+
tail: parts[3],
|
|
68
|
+
whole: parts[1] + middle.whole + parts[3]
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
else {
|
|
72
|
+
return {
|
|
73
|
+
head: null,
|
|
74
|
+
middle: null,
|
|
75
|
+
tail: null,
|
|
76
|
+
whole: cmdStr
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
function formatRange(cmd, formatStart, formatEnd, separator) {
|
|
81
|
+
if (cmd.middle) {
|
|
82
|
+
var startHead = formatStart(cmd.head);
|
|
83
|
+
var startMiddle = formatRange(cmd.middle, formatStart, formatEnd, separator);
|
|
84
|
+
var startTail = formatStart(cmd.tail);
|
|
85
|
+
var endHead = formatEnd(cmd.head);
|
|
86
|
+
var endMiddle = formatRange(cmd.middle, formatStart, formatEnd, separator);
|
|
87
|
+
var endTail = formatEnd(cmd.tail);
|
|
88
|
+
if (startHead === endHead && startTail === endTail) {
|
|
89
|
+
return startHead +
|
|
90
|
+
(startMiddle === endMiddle ? startMiddle : startMiddle + separator + endMiddle) +
|
|
91
|
+
startTail;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
var startWhole = formatStart(cmd.whole);
|
|
95
|
+
var endWhole = formatEnd(cmd.whole);
|
|
96
|
+
if (startWhole === endWhole) {
|
|
97
|
+
return startWhole;
|
|
98
|
+
}
|
|
99
|
+
else {
|
|
100
|
+
return startWhole + separator + endWhole;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
exports.default = main;
|
|
105
|
+
exports.toDuration = toDuration;
|
|
106
|
+
exports.toMoment = toMoment;
|
|
107
|
+
|
|
108
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
109
|
+
|
|
110
|
+
}));
|
advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/moment/main.min.js
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
FullCalendar Moment Plugin v4.3.0
|
|
3
|
+
Docs & License: https://fullcalendar.io/
|
|
4
|
+
(c) 2019 Adam Shaw
|
|
5
|
+
*/
|
|
6
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("moment"),require("@fullcalendar/core")):"function"==typeof define&&define.amd?define(["exports","moment","@fullcalendar/core"],t):t((e=e||self).FullCalendarMoment={},e.moment,e.FullCalendar)}(this,function(e,t,n){"use strict";var r=t;var a=n.createPlugin({cmdFormatter:function(e,t){var n=function e(t){var n=t.match(/^(.*?)\{(.*)\}(.*)$/);if(n){var r=e(n[2]);return{head:n[1],middle:r,tail:n[3],whole:n[1]+r.whole+n[3]}}return{head:null,middle:null,tail:null,whole:t}}(e);if(t.end){var r=l(t.start.array,t.timeZone,t.start.timeZoneOffset,t.localeCodes[0]),a=l(t.end.array,t.timeZone,t.end.timeZoneOffset,t.localeCodes[0]);return function e(t,n,r,a){if(t.middle){var o=n(t.head),l=e(t.middle,n,r,a),u=n(t.tail),i=r(t.head),d=e(t.middle,n,r,a),f=r(t.tail);if(o===i&&u===f)return o+(l===d?l:l+a+d)+u}var c=n(t.whole),m=r(t.whole);return c===m?c:c+a+m}(n,o(r),o(a),t.separator)}return l(t.date.array,t.timeZone,t.date.timeZoneOffset,t.localeCodes[0]).format(n.whole)}});function o(e){return function(t){return t?e.format(t):""}}function l(e,t,n,a){var o;return"local"===t?o=r(e):"UTC"===t?o=r.utc(e):r.tz?o=r.tz(e,t):(o=r.utc(e),null!=n&&o.utcOffset(n)),o.locale(a),o}e.default=a,e.toDuration=function(e){return r.duration(e)},e.toMoment=function(e,t){if(!(t instanceof n.Calendar))throw new Error("must supply a Calendar instance");return l(e,t.dateEnv.timeZone,null,t.dateEnv.locale.codes[0])},Object.defineProperty(e,"__esModule",{value:!0})});
|
advanced_report_builder/static/advanced_report_builder/fullcalendar/packages/moment/package.json
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@fullcalendar/moment",
|
|
3
|
+
"version": "4.3.0",
|
|
4
|
+
"title": "FullCalendar Moment Plugin",
|
|
5
|
+
"description": "A connector to the MomentJS date library",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"calendar",
|
|
8
|
+
"event",
|
|
9
|
+
"full-sized"
|
|
10
|
+
],
|
|
11
|
+
"homepage": "https://fullcalendar.io/",
|
|
12
|
+
"docs": "https://fullcalendar.io/docs/moment-plugins",
|
|
13
|
+
"bugs": "https://fullcalendar.io/reporting-bugs",
|
|
14
|
+
"repository": {
|
|
15
|
+
"type": "git",
|
|
16
|
+
"url": "https://github.com/fullcalendar/fullcalendar.git",
|
|
17
|
+
"homepage": "https://github.com/fullcalendar/fullcalendar"
|
|
18
|
+
},
|
|
19
|
+
"license": "MIT",
|
|
20
|
+
"author": {
|
|
21
|
+
"name": "Adam Shaw",
|
|
22
|
+
"email": "arshaw@arshaw.com",
|
|
23
|
+
"url": "http://arshaw.com/"
|
|
24
|
+
},
|
|
25
|
+
"copyright": "2019 Adam Shaw",
|
|
26
|
+
"peerDependencies": {
|
|
27
|
+
"@fullcalendar/core": "~4.3.0",
|
|
28
|
+
"moment": "^2.24.0"
|
|
29
|
+
},
|
|
30
|
+
"main": "main.js",
|
|
31
|
+
"module": "main.esm.js",
|
|
32
|
+
"unpkg": "main.min.js",
|
|
33
|
+
"types": "main.d.ts"
|
|
34
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
Copyright (c) 2019 Adam Shaw
|
|
2
|
+
|
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
4
|
+
a copy of this software and associated documentation files (the
|
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
|
9
|
+
the following conditions:
|
|
10
|
+
|
|
11
|
+
The above copyright notice and this permission notice shall be
|
|
12
|
+
included in all copies or substantial portions of the Software.
|
|
13
|
+
|
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
|
|
2
|
+
# FullCalendar Moment Timezone Plugin
|
|
3
|
+
|
|
4
|
+
A connector to the moment-timezone library
|
|
5
|
+
|
|
6
|
+
[View the docs »](https://fullcalendar.io/docs/moment-plugins#moment-timezone)
|
|
7
|
+
|
|
8
|
+
This package was created from the [FullCalendar monorepo »](https://github.com/fullcalendar/fullcalendar)
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// Generated by dts-bundle v0.7.3-fork.1
|
|
2
|
+
// Dependencies for this module:
|
|
3
|
+
// ../../../../../moment-timezone/builds/moment-timezone-with-data
|
|
4
|
+
// ../../../../../@fullcalendar/core
|
|
5
|
+
|
|
6
|
+
declare module '@fullcalendar/moment-timezone' {
|
|
7
|
+
import 'moment-timezone/builds/moment-timezone-with-data';
|
|
8
|
+
const _default: import("@fullcalendar/core").PluginDef;
|
|
9
|
+
export default _default;
|
|
10
|
+
}
|
|
11
|
+
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
FullCalendar Moment Timezone Plugin v4.3.0
|
|
3
|
+
Docs & License: https://fullcalendar.io/
|
|
4
|
+
(c) 2019 Adam Shaw
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
import * as momentNs from 'moment';
|
|
8
|
+
import 'moment-timezone/builds/moment-timezone-with-data';
|
|
9
|
+
import { createPlugin, NamedTimeZoneImpl } from '@fullcalendar/core';
|
|
10
|
+
|
|
11
|
+
/*! *****************************************************************************
|
|
12
|
+
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
13
|
+
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
14
|
+
this file except in compliance with the License. You may obtain a copy of the
|
|
15
|
+
License at http://www.apache.org/licenses/LICENSE-2.0
|
|
16
|
+
|
|
17
|
+
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
18
|
+
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
|
19
|
+
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
|
20
|
+
MERCHANTABLITY OR NON-INFRINGEMENT.
|
|
21
|
+
|
|
22
|
+
See the Apache Version 2.0 License for specific language governing permissions
|
|
23
|
+
and limitations under the License.
|
|
24
|
+
***************************************************************************** */
|
|
25
|
+
/* global Reflect, Promise */
|
|
26
|
+
|
|
27
|
+
var extendStatics = function(d, b) {
|
|
28
|
+
extendStatics = Object.setPrototypeOf ||
|
|
29
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
30
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
31
|
+
return extendStatics(d, b);
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
function __extends(d, b) {
|
|
35
|
+
extendStatics(d, b);
|
|
36
|
+
function __() { this.constructor = d; }
|
|
37
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
var moment = momentNs; // the directly callable function
|
|
41
|
+
var MomentNamedTimeZone = /** @class */ (function (_super) {
|
|
42
|
+
__extends(MomentNamedTimeZone, _super);
|
|
43
|
+
function MomentNamedTimeZone() {
|
|
44
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
45
|
+
}
|
|
46
|
+
MomentNamedTimeZone.prototype.offsetForArray = function (a) {
|
|
47
|
+
return moment.tz(a, this.timeZoneName).utcOffset();
|
|
48
|
+
};
|
|
49
|
+
MomentNamedTimeZone.prototype.timestampToArray = function (ms) {
|
|
50
|
+
return moment.tz(ms, this.timeZoneName).toArray();
|
|
51
|
+
};
|
|
52
|
+
return MomentNamedTimeZone;
|
|
53
|
+
}(NamedTimeZoneImpl));
|
|
54
|
+
var main = createPlugin({
|
|
55
|
+
namedTimeZonedImpl: MomentNamedTimeZone
|
|
56
|
+
});
|
|
57
|
+
|
|
58
|
+
export default main;
|