react-timelane 1.2.1 → 1.2.2
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/dist/_virtual/bind-all.js +4 -0
- package/dist/_virtual/bind.js +4 -0
- package/dist/_virtual/index.js +5 -0
- package/dist/_virtual/index2.js +4 -0
- package/dist/_virtual/index3.js +5 -0
- package/dist/_virtual/index4.js +4 -0
- package/dist/_virtual/react-dom.development.js +4 -0
- package/dist/_virtual/react-dom.production.js +4 -0
- package/dist/components/Timelane/Timelane.css +1 -0
- package/dist/components/Timelane/Timelane.js +53 -0
- package/dist/components/TimelaneAllocation/TimelaneAllocation.js +49 -0
- package/dist/components/TimelaneAside/TimelaneAside.js +60 -0
- package/dist/components/TimelaneBackground/TimelaneBackground.js +46 -0
- package/dist/components/TimelaneBody/TimelaneBody.js +13 -0
- package/dist/components/TimelaneBody/TimelaneSelectionLayer.js +96 -0
- package/dist/components/TimelaneHeader/DaysHeader.js +30 -0
- package/dist/components/TimelaneHeader/MonthsHeader.js +38 -0
- package/dist/components/TimelaneHeader/TimelaneHeader.js +55 -0
- package/dist/components/TimelaneHeader/WeeksHeader.js +39 -0
- package/dist/components/TimelaneHeader/renderingUtils.js +26 -0
- package/dist/components/TimelaneItem/DragResizeComponent.js +125 -0
- package/dist/components/TimelaneItem/TimelaneItem.js +42 -0
- package/dist/components/TimelaneLane/DropPreview.js +25 -0
- package/dist/components/TimelaneLane/DropTarget.js +57 -0
- package/dist/components/TimelaneLane/OverlapIndicator.js +21 -0
- package/dist/components/TimelaneLane/TimelaneLane.js +164 -0
- package/dist/components/TimelaneLayout/TimelaneLayout.js +77 -0
- package/dist/components/TimelaneLayout/layout.css +1 -0
- package/dist/components/TimelaneSettingsProvider/TimelaneSettingsContext.js +21 -0
- package/dist/components/TimelaneSettingsProvider/TimelaneSettingsProvider.js +15 -0
- package/dist/components/utils.js +243 -0
- package/dist/hooks/useScroll.js +47 -0
- package/dist/hooks/useTimelaneContext.js +6 -0
- package/dist/index.js +36 -0
- package/dist/node_modules/@atlaskit/pragmatic-drag-and-drop/dist/esm/adapter/element-adapter-native-data-key.js +4 -0
- package/dist/node_modules/@atlaskit/pragmatic-drag-and-drop/dist/esm/adapter/element-adapter.js +127 -0
- package/dist/node_modules/@atlaskit/pragmatic-drag-and-drop/dist/esm/honey-pot-fix/get-element-from-point-without-honey-pot.js +9 -0
- package/dist/node_modules/@atlaskit/pragmatic-drag-and-drop/dist/esm/honey-pot-fix/honey-pot-data-attribute.js +4 -0
- package/dist/node_modules/@atlaskit/pragmatic-drag-and-drop/dist/esm/honey-pot-fix/is-honey-pot-element.js +7 -0
- package/dist/node_modules/@atlaskit/pragmatic-drag-and-drop/dist/esm/honey-pot-fix/make-honey-pot-fix.js +226 -0
- package/dist/node_modules/@atlaskit/pragmatic-drag-and-drop/dist/esm/ledger/dispatch-consumer-event.js +107 -0
- package/dist/node_modules/@atlaskit/pragmatic-drag-and-drop/dist/esm/ledger/lifecycle-manager.js +195 -0
- package/dist/node_modules/@atlaskit/pragmatic-drag-and-drop/dist/esm/ledger/usage-ledger.js +21 -0
- package/dist/node_modules/@atlaskit/pragmatic-drag-and-drop/dist/esm/make-adapter/make-adapter.js +43 -0
- package/dist/node_modules/@atlaskit/pragmatic-drag-and-drop/dist/esm/make-adapter/make-drop-target.js +253 -0
- package/dist/node_modules/@atlaskit/pragmatic-drag-and-drop/dist/esm/make-adapter/make-monitor.js +121 -0
- package/dist/node_modules/@atlaskit/pragmatic-drag-and-drop/dist/esm/public-utils/combine.js +12 -0
- package/dist/node_modules/@atlaskit/pragmatic-drag-and-drop/dist/esm/public-utils/once.js +17 -0
- package/dist/node_modules/@atlaskit/pragmatic-drag-and-drop/dist/esm/util/add-attribute.js +9 -0
- package/dist/node_modules/@atlaskit/pragmatic-drag-and-drop/dist/esm/util/android.js +8 -0
- package/dist/node_modules/@atlaskit/pragmatic-drag-and-drop/dist/esm/util/changing-window/count-events-for-safari.js +57 -0
- package/dist/node_modules/@atlaskit/pragmatic-drag-and-drop/dist/esm/util/changing-window/is-from-another-window.js +9 -0
- package/dist/node_modules/@atlaskit/pragmatic-drag-and-drop/dist/esm/util/changing-window/is-leaving-window.js +13 -0
- package/dist/node_modules/@atlaskit/pragmatic-drag-and-drop/dist/esm/util/detect-broken-drag.js +47 -0
- package/dist/node_modules/@atlaskit/pragmatic-drag-and-drop/dist/esm/util/get-input.js +17 -0
- package/dist/node_modules/@atlaskit/pragmatic-drag-and-drop/dist/esm/util/is-firefox.js +7 -0
- package/dist/node_modules/@atlaskit/pragmatic-drag-and-drop/dist/esm/util/is-safari.js +10 -0
- package/dist/node_modules/@atlaskit/pragmatic-drag-and-drop/dist/esm/util/max-z-index.js +4 -0
- package/dist/node_modules/@atlaskit/pragmatic-drag-and-drop/dist/esm/util/media-types/text-media-type.js +4 -0
- package/dist/node_modules/@atlaskit/pragmatic-drag-and-drop/dist/esm/util/media-types/url-media-type.js +4 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +8 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +6 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +7 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/defineProperty.js +12 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +6 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +21 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +7 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +7 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +10 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +10 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +14 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +9 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/typeof.js +11 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +11 -0
- package/dist/node_modules/bind-event-listener/dist/bind-all.js +45 -0
- package/dist/node_modules/bind-event-listener/dist/bind.js +16 -0
- package/dist/node_modules/bind-event-listener/dist/index.js +20 -0
- package/dist/node_modules/date-fns/_lib/addLeadingZeros.js +7 -0
- package/dist/node_modules/date-fns/_lib/defaultOptions.js +7 -0
- package/dist/node_modules/date-fns/_lib/format/formatters.js +583 -0
- package/dist/node_modules/date-fns/_lib/format/lightFormatters.js +59 -0
- package/dist/node_modules/date-fns/_lib/format/longFormatters.js +52 -0
- package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +18 -0
- package/dist/node_modules/date-fns/_lib/normalizeDates.js +11 -0
- package/dist/node_modules/date-fns/_lib/normalizeInterval.js +8 -0
- package/dist/node_modules/date-fns/_lib/protectedTokens.js +20 -0
- package/dist/node_modules/date-fns/addDays.js +10 -0
- package/dist/node_modules/date-fns/addWeeks.js +8 -0
- package/dist/node_modules/date-fns/constants.js +6 -0
- package/dist/node_modules/date-fns/constructFrom.js +8 -0
- package/dist/node_modules/date-fns/differenceInCalendarDays.js +16 -0
- package/dist/node_modules/date-fns/eachDayOfInterval.js +17 -0
- package/dist/node_modules/date-fns/eachMonthOfInterval.js +17 -0
- package/dist/node_modules/date-fns/eachWeekOfInterval.js +22 -0
- package/dist/node_modules/date-fns/format.js +59 -0
- package/dist/node_modules/date-fns/getDay.js +8 -0
- package/dist/node_modules/date-fns/getDayOfYear.js +11 -0
- package/dist/node_modules/date-fns/getISOWeek.js +12 -0
- package/dist/node_modules/date-fns/getISOWeekYear.js +15 -0
- package/dist/node_modules/date-fns/getWeek.js +12 -0
- package/dist/node_modules/date-fns/getWeekYear.js +17 -0
- package/dist/node_modules/date-fns/isDate.js +7 -0
- package/dist/node_modules/date-fns/isSameDay.js +14 -0
- package/dist/node_modules/date-fns/isSunday.js +8 -0
- package/dist/node_modules/date-fns/isValid.js +9 -0
- package/dist/node_modules/date-fns/lastDayOfMonth.js +9 -0
- package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +9 -0
- package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +18 -0
- package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.js +31 -0
- package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +15 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +70 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.js +33 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +11 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/localize.js +155 -0
- package/dist/node_modules/date-fns/locale/en-US/_lib/match.js +110 -0
- package/dist/node_modules/date-fns/locale/en-US.js +21 -0
- package/dist/node_modules/date-fns/max.js +14 -0
- package/dist/node_modules/date-fns/min.js +14 -0
- package/dist/node_modules/date-fns/nextDay.js +10 -0
- package/dist/node_modules/date-fns/nextSunday.js +8 -0
- package/dist/node_modules/date-fns/setHours.js +9 -0
- package/dist/node_modules/date-fns/startOfDay.js +9 -0
- package/dist/node_modules/date-fns/startOfISOWeek.js +8 -0
- package/dist/node_modules/date-fns/startOfISOWeekYear.js +11 -0
- package/dist/node_modules/date-fns/startOfWeek.js +11 -0
- package/dist/node_modules/date-fns/startOfWeekYear.js +13 -0
- package/dist/node_modules/date-fns/startOfYear.js +9 -0
- package/dist/node_modules/date-fns/toDate.js +8 -0
- package/dist/node_modules/raf-schd/dist/raf-schd.esm.js +15 -0
- package/dist/node_modules/re-resizable/lib/index.js +424 -0
- package/dist/node_modules/re-resizable/lib/resizer.js +49 -0
- package/dist/node_modules/react-dom/cjs/react-dom.development.js +227 -0
- package/dist/node_modules/react-dom/cjs/react-dom.production.js +147 -0
- package/dist/node_modules/react-dom/index.js +23 -0
- package/dist/node_modules/tiny-invariant/dist/esm/tiny-invariant.js +12 -0
- package/dist/types/Item.js +6 -0
- package/package.json +10 -7
- package/dist/react-timelane.css +0 -1
- package/dist/react-timelane.js +0 -4754
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import t from "./arrayWithHoles.js";
|
|
2
|
+
import e from "./iterableToArrayLimit.js";
|
|
3
|
+
import a from "./unsupportedIterableToArray.js";
|
|
4
|
+
import i from "./nonIterableRest.js";
|
|
5
|
+
function n(r, o) {
|
|
6
|
+
return t(r) || e(r, o) || a(r, o) || i();
|
|
7
|
+
}
|
|
8
|
+
export {
|
|
9
|
+
n as default
|
|
10
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import o from "./arrayWithoutHoles.js";
|
|
2
|
+
import t from "./iterableToArray.js";
|
|
3
|
+
import e from "./unsupportedIterableToArray.js";
|
|
4
|
+
import a from "./nonIterableSpread.js";
|
|
5
|
+
function u(r) {
|
|
6
|
+
return o(r) || t(r) || e(r) || a();
|
|
7
|
+
}
|
|
8
|
+
export {
|
|
9
|
+
u as default
|
|
10
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import o from "./typeof.js";
|
|
2
|
+
function n(r, i) {
|
|
3
|
+
if (o(r) != "object" || !r) return r;
|
|
4
|
+
var e = r[Symbol.toPrimitive];
|
|
5
|
+
if (e !== void 0) {
|
|
6
|
+
var t = e.call(r, i);
|
|
7
|
+
if (o(t) != "object") return t;
|
|
8
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
9
|
+
}
|
|
10
|
+
return (i === "string" ? String : Number)(r);
|
|
11
|
+
}
|
|
12
|
+
export {
|
|
13
|
+
n as default
|
|
14
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
function o(e) {
|
|
2
|
+
"@babel/helpers - typeof";
|
|
3
|
+
return o = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
4
|
+
return typeof t;
|
|
5
|
+
} : function(t) {
|
|
6
|
+
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
7
|
+
}, o(e);
|
|
8
|
+
}
|
|
9
|
+
export {
|
|
10
|
+
o as default
|
|
11
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import o from "./arrayLikeToArray.js";
|
|
2
|
+
function n(r, e) {
|
|
3
|
+
if (r) {
|
|
4
|
+
if (typeof r == "string") return o(r, e);
|
|
5
|
+
var t = {}.toString.call(r).slice(8, -1);
|
|
6
|
+
return t === "Object" && r.constructor && (t = r.constructor.name), t === "Map" || t === "Set" ? Array.from(r) : t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? o(r, e) : void 0;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
export {
|
|
10
|
+
n as default
|
|
11
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { __exports as t } from "../../../_virtual/bind-all.js";
|
|
2
|
+
import { __require as b } from "./bind.js";
|
|
3
|
+
var a;
|
|
4
|
+
function g() {
|
|
5
|
+
if (a) return t;
|
|
6
|
+
a = 1;
|
|
7
|
+
var i = t && t.__assign || function() {
|
|
8
|
+
return i = Object.assign || function(n) {
|
|
9
|
+
for (var r, e = 1, o = arguments.length; e < o; e++) {
|
|
10
|
+
r = arguments[e];
|
|
11
|
+
for (var u in r) Object.prototype.hasOwnProperty.call(r, u) && (n[u] = r[u]);
|
|
12
|
+
}
|
|
13
|
+
return n;
|
|
14
|
+
}, i.apply(this, arguments);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(t, "__esModule", { value: !0 }), t.bindAll = void 0;
|
|
17
|
+
var l = /* @__PURE__ */ b();
|
|
18
|
+
function d(n) {
|
|
19
|
+
if (!(typeof n > "u"))
|
|
20
|
+
return typeof n == "boolean" ? {
|
|
21
|
+
capture: n
|
|
22
|
+
} : n;
|
|
23
|
+
}
|
|
24
|
+
function s(n, r) {
|
|
25
|
+
if (r == null)
|
|
26
|
+
return n;
|
|
27
|
+
var e = i(i({}, n), { options: i(i({}, d(r)), d(n.options)) });
|
|
28
|
+
return e;
|
|
29
|
+
}
|
|
30
|
+
function c(n, r, e) {
|
|
31
|
+
var o = r.map(function(u) {
|
|
32
|
+
var f = s(u, e);
|
|
33
|
+
return (0, l.bind)(n, f);
|
|
34
|
+
});
|
|
35
|
+
return function() {
|
|
36
|
+
o.forEach(function(f) {
|
|
37
|
+
return f();
|
|
38
|
+
});
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
return t.bindAll = c, t;
|
|
42
|
+
}
|
|
43
|
+
export {
|
|
44
|
+
g as __require
|
|
45
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { __exports as e } from "../../../_virtual/bind.js";
|
|
2
|
+
var d;
|
|
3
|
+
function v() {
|
|
4
|
+
if (d) return e;
|
|
5
|
+
d = 1, Object.defineProperty(e, "__esModule", { value: !0 }), e.bind = void 0;
|
|
6
|
+
function u(r, n) {
|
|
7
|
+
var i = n.type, t = n.listener, o = n.options;
|
|
8
|
+
return r.addEventListener(i, t, o), function() {
|
|
9
|
+
r.removeEventListener(i, t, o);
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
return e.bind = u, e;
|
|
13
|
+
}
|
|
14
|
+
export {
|
|
15
|
+
v as __require
|
|
16
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { __exports as r } from "../../../_virtual/index2.js";
|
|
2
|
+
import { __require as u } from "./bind.js";
|
|
3
|
+
import { __require as d } from "./bind-all.js";
|
|
4
|
+
var i;
|
|
5
|
+
function _() {
|
|
6
|
+
return i ? r : (i = 1, function(e) {
|
|
7
|
+
Object.defineProperty(e, "__esModule", { value: !0 }), e.bindAll = e.bind = void 0;
|
|
8
|
+
var n = /* @__PURE__ */ u();
|
|
9
|
+
Object.defineProperty(e, "bind", { enumerable: !0, get: function() {
|
|
10
|
+
return n.bind;
|
|
11
|
+
} });
|
|
12
|
+
var t = /* @__PURE__ */ d();
|
|
13
|
+
Object.defineProperty(e, "bindAll", { enumerable: !0, get: function() {
|
|
14
|
+
return t.bindAll;
|
|
15
|
+
} });
|
|
16
|
+
}(r), r);
|
|
17
|
+
}
|
|
18
|
+
export {
|
|
19
|
+
_ as __require
|
|
20
|
+
};
|