@paperless/core 0.1.0-alpha.407 → 0.1.0-alpha.409
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.
- package/CHANGELOG.md +20 -0
- package/dist/{paperless/p-53dca131.entry.js → build/p-75aa8c67.entry.js} +2 -2
- package/dist/build/p-78770cf6.js +2 -0
- package/dist/build/p-78770cf6.js.map +1 -0
- package/dist/build/{p-0309be9d.entry.js → p-7e91daa4.entry.js} +2 -2
- package/dist/build/p-7e91daa4.entry.js.map +1 -0
- package/dist/build/{p-ca41ea7f.entry.js → p-b24e06bd.entry.js} +2 -2
- package/dist/build/p-b24e06bd.entry.js.map +1 -0
- package/dist/build/{p-bbde7cba.entry.js → p-b338c29f.entry.js} +2 -2
- package/dist/build/{p-2b08e371.entry.js → p-b5710d1b.entry.js} +2 -2
- package/dist/{paperless/p-3b6c4710.entry.js → build/p-c8a39486.entry.js} +2 -2
- package/dist/build/p-d3820966.entry.js +2 -0
- package/dist/build/{p-8fb43cc7.entry.js.map → p-d3820966.entry.js.map} +1 -1
- package/dist/{paperless/p-78948e08.entry.js → build/p-f1cb5979.entry.js} +2 -2
- package/dist/build/paperless.esm.js +1 -1
- package/dist/build/paperless.esm.js.map +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/p-backdrop.cjs.entry.js +1 -1
- package/dist/cjs/p-button_3.cjs.entry.js +3 -3
- package/dist/cjs/p-calendar.cjs.entry.js +0 -7
- package/dist/cjs/p-calendar.cjs.entry.js.map +1 -1
- package/dist/cjs/p-datepicker.cjs.entry.js +13 -20
- package/dist/cjs/p-datepicker.cjs.entry.js.map +1 -1
- package/dist/cjs/p-divider.cjs.entry.js +1 -1
- package/dist/cjs/p-dropdown_2.cjs.entry.js +1 -1
- package/dist/cjs/p-modal-body_4.cjs.entry.js +4 -4
- package/dist/cjs/p-modal-body_4.cjs.entry.js.map +1 -1
- package/dist/cjs/p-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/paperless.cjs.js +1 -1
- package/dist/cjs/{popper-d7a0f999.js → popper-6eb3f461.js} +4 -5
- package/dist/cjs/popper-6eb3f461.js.map +1 -0
- package/dist/collection/components/atoms/backdrop/backdrop.component.css +1 -1
- package/dist/collection/components/atoms/button/button.component.css +1 -1
- package/dist/collection/components/atoms/divider/divider.component.css +1 -1
- package/dist/collection/components/atoms/icon/icon.component.css +1 -1
- package/dist/collection/components/atoms/loader/loader.component.css +1 -1
- package/dist/collection/components/atoms/modal-body/modal-body.component.css +1 -1
- package/dist/collection/components/atoms/modal-container/modal-container.component.css +1 -1
- package/dist/collection/components/atoms/modal-footer/modal-footer.component.css +1 -1
- package/dist/collection/components/atoms/modal-header/modal-header.component.css +1 -1
- package/dist/collection/components/atoms/slider-indicator/slider-indicator.component.css +1 -1
- package/dist/collection/components/molecules/calendar/calendar.component.js +0 -7
- package/dist/collection/components/molecules/calendar/calendar.component.js.map +1 -1
- package/dist/collection/components/molecules/datepicker/datepicker.component.js +22 -27
- package/dist/collection/components/molecules/datepicker/datepicker.component.js.map +1 -1
- package/dist/components/backdrop.component.js +1 -1
- package/dist/components/button.component.js +1 -1
- package/dist/components/calendar.component.js +0 -7
- package/dist/components/calendar.component.js.map +1 -1
- package/dist/components/divider.component.js +1 -1
- package/dist/components/icon.component.js +1 -1
- package/dist/components/loader.component.js +1 -1
- package/dist/components/modal-body.component.js +1 -1
- package/dist/components/modal-body.component.js.map +1 -1
- package/dist/components/modal-container.component.js +1 -1
- package/dist/components/modal-container.component.js.map +1 -1
- package/dist/components/modal-footer.component.js +1 -1
- package/dist/components/modal-header.component.js +1 -1
- package/dist/components/modal-header.component.js.map +1 -1
- package/dist/components/p-datepicker.js +14 -21
- package/dist/components/p-datepicker.js.map +1 -1
- package/dist/components/popper.js +3 -4
- package/dist/components/popper.js.map +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/p-backdrop.entry.js +1 -1
- package/dist/esm/p-button_3.entry.js +3 -3
- package/dist/esm/p-calendar.entry.js +0 -7
- package/dist/esm/p-calendar.entry.js.map +1 -1
- package/dist/esm/p-datepicker.entry.js +13 -20
- package/dist/esm/p-datepicker.entry.js.map +1 -1
- package/dist/esm/p-divider.entry.js +1 -1
- package/dist/esm/p-dropdown_2.entry.js +1 -1
- package/dist/esm/p-modal-body_4.entry.js +4 -4
- package/dist/esm/p-modal-body_4.entry.js.map +1 -1
- package/dist/esm/p-tooltip.entry.js +1 -1
- package/dist/esm/paperless.js +1 -1
- package/dist/esm/{popper-42db9fbd.js → popper-d15dbc3d.js} +4 -5
- package/dist/esm/popper-d15dbc3d.js.map +1 -0
- package/dist/index.html +1 -1
- package/dist/{build/p-53dca131.entry.js → paperless/p-75aa8c67.entry.js} +2 -2
- package/dist/paperless/p-78770cf6.js +2 -0
- package/dist/paperless/p-78770cf6.js.map +1 -0
- package/dist/paperless/{p-0309be9d.entry.js → p-7e91daa4.entry.js} +2 -2
- package/dist/paperless/p-7e91daa4.entry.js.map +1 -0
- package/dist/paperless/{p-ca41ea7f.entry.js → p-b24e06bd.entry.js} +2 -2
- package/dist/paperless/p-b24e06bd.entry.js.map +1 -0
- package/dist/paperless/{p-bbde7cba.entry.js → p-b338c29f.entry.js} +2 -2
- package/dist/paperless/{p-2b08e371.entry.js → p-b5710d1b.entry.js} +2 -2
- package/dist/{build/p-3b6c4710.entry.js → paperless/p-c8a39486.entry.js} +2 -2
- package/dist/paperless/p-d3820966.entry.js +2 -0
- package/dist/paperless/{p-8fb43cc7.entry.js.map → p-d3820966.entry.js.map} +1 -1
- package/dist/{build/p-78948e08.entry.js → paperless/p-f1cb5979.entry.js} +2 -2
- package/dist/paperless/paperless.esm.js +1 -1
- package/dist/paperless/paperless.esm.js.map +1 -1
- package/dist/sw.js +1 -1
- package/dist/sw.js.map +1 -1
- package/dist/types/components/molecules/datepicker/datepicker.component.d.ts +5 -5
- package/dist/types/components.d.ts +2 -2
- package/hydrate/index.js +27 -42
- package/package.json +3 -3
- package/dist/build/p-0309be9d.entry.js.map +0 -1
- package/dist/build/p-8fb43cc7.entry.js +0 -2
- package/dist/build/p-ca41ea7f.entry.js.map +0 -1
- package/dist/build/p-f86fcdf4.js +0 -2
- package/dist/build/p-f86fcdf4.js.map +0 -1
- package/dist/cjs/popper-d7a0f999.js.map +0 -1
- package/dist/esm/popper-42db9fbd.js.map +0 -1
- package/dist/paperless/p-0309be9d.entry.js.map +0 -1
- package/dist/paperless/p-8fb43cc7.entry.js +0 -2
- package/dist/paperless/p-ca41ea7f.entry.js.map +0 -1
- package/dist/paperless/p-f86fcdf4.js +0 -2
- package/dist/paperless/p-f86fcdf4.js.map +0 -1
- /package/dist/build/{p-53dca131.entry.js.map → p-75aa8c67.entry.js.map} +0 -0
- /package/dist/build/{p-bbde7cba.entry.js.map → p-b338c29f.entry.js.map} +0 -0
- /package/dist/build/{p-2b08e371.entry.js.map → p-b5710d1b.entry.js.map} +0 -0
- /package/dist/build/{p-3b6c4710.entry.js.map → p-c8a39486.entry.js.map} +0 -0
- /package/dist/build/{p-78948e08.entry.js.map → p-f1cb5979.entry.js.map} +0 -0
- /package/dist/paperless/{p-53dca131.entry.js.map → p-75aa8c67.entry.js.map} +0 -0
- /package/dist/paperless/{p-bbde7cba.entry.js.map → p-b338c29f.entry.js.map} +0 -0
- /package/dist/paperless/{p-2b08e371.entry.js.map → p-b5710d1b.entry.js.map} +0 -0
- /package/dist/paperless/{p-3b6c4710.entry.js.map → p-c8a39486.entry.js.map} +0 -0
- /package/dist/paperless/{p-78948e08.entry.js.map → p-f1cb5979.entry.js.map} +0 -0
|
@@ -161,7 +161,7 @@ var round = Math.round;
|
|
|
161
161
|
function getUAString() {
|
|
162
162
|
var uaData = navigator.userAgentData;
|
|
163
163
|
|
|
164
|
-
if (uaData != null && uaData.brands) {
|
|
164
|
+
if (uaData != null && uaData.brands && Array.isArray(uaData.brands)) {
|
|
165
165
|
return uaData.brands.map(function (item) {
|
|
166
166
|
return item.brand + "/" + item.version;
|
|
167
167
|
}).join(' ');
|
|
@@ -480,10 +480,9 @@ var unsetSides = {
|
|
|
480
480
|
// Zooming can change the DPR, but it seems to report a value that will
|
|
481
481
|
// cleanly divide the values into the appropriate subpixels.
|
|
482
482
|
|
|
483
|
-
function roundOffsetsByDPR(_ref) {
|
|
483
|
+
function roundOffsetsByDPR(_ref, win) {
|
|
484
484
|
var x = _ref.x,
|
|
485
485
|
y = _ref.y;
|
|
486
|
-
var win = window;
|
|
487
486
|
var dpr = win.devicePixelRatio || 1;
|
|
488
487
|
return {
|
|
489
488
|
x: round(x * dpr) / dpr || 0,
|
|
@@ -566,7 +565,7 @@ function mapToStyles(_ref2) {
|
|
|
566
565
|
var _ref4 = roundOffsets === true ? roundOffsetsByDPR({
|
|
567
566
|
x: x,
|
|
568
567
|
y: y
|
|
569
|
-
}) : {
|
|
568
|
+
}, getWindow(popper)) : {
|
|
570
569
|
x: x,
|
|
571
570
|
y: y
|
|
572
571
|
};
|