@omegagrid/tree 0.4.33 → 0.4.34
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.
|
@@ -17,19 +17,10 @@ export type DateTreeAdapterOptions = {
|
|
|
17
17
|
weeks?: DateTreeAdapterPeriodOptions | boolean;
|
|
18
18
|
days?: DateTreeAdapterPeriodOptions | boolean;
|
|
19
19
|
};
|
|
20
|
+
export type PeriodType = 'y' | 'q' | 'm' | 'w' | 'd';
|
|
20
21
|
export declare class DateTreeAdapter extends TreeAdapter {
|
|
21
|
-
private
|
|
22
|
-
|
|
23
|
-
private _qLevel;
|
|
24
|
-
private _mLevel;
|
|
25
|
-
private _wLevel;
|
|
26
|
-
private _dLevel;
|
|
27
|
-
private _formatter;
|
|
28
|
-
private _years;
|
|
29
|
-
private _quarters;
|
|
30
|
-
private _months;
|
|
31
|
-
private _weeks;
|
|
32
|
-
private _days;
|
|
22
|
+
#private;
|
|
23
|
+
static dateMap: Map<string, TreeSource>;
|
|
33
24
|
constructor(options?: DateTreeAdapterOptions);
|
|
34
25
|
getDates(): [Date, {
|
|
35
26
|
y: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dateAdapter.d.ts","sourceRoot":"","sources":["../../src/adapters/dateAdapter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAEnD,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAExC,MAAM,MAAM,4BAA4B,GAAG;IAC1C,MAAM,CAAC,EAAE,KAAK,CAAC,gBAAgB,CAAC;IAChC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,KAAK,CAAC,EAAE,KAAK,GAAC,MAAM,CAAA;CACpB,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACpC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,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IAAI,CAAC,EAAE,4BAA4B,GAAC,OAAO,CAAC;CAC5C,CAAC;AAiDF,MAAM,MAAM,UAAU,GAAG,GAAG,GAAC,GAAG,GAAC,GAAG,GAAC,GAAG,GAAC,GAAG,CAAC;AAE7C,qBAAa,eAAgB,SAAQ,WAAW;;IAE/C,MAAM,CAAC,OAAO,0BAAiC;gBAanC,OAAO,CAAC,EAAE,sBAAsB;IAqC5C,QAAQ;WACe,MAAM;YAAM,MAAM;YAAM,MAAM;YAAK,MAAM;WAAK,MAAM;aAAO,MAAM;;IAuDxF,OAAO,IAAK,UAAU;CAkEtB"}
|
|
@@ -1,4 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
|
|
3
|
+
if (kind === "m") throw new TypeError("Private method is not writable");
|
|
4
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
|
|
5
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
6
|
+
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
7
|
+
};
|
|
8
|
+
var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
9
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
10
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
11
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
12
|
+
};
|
|
13
|
+
var _DateTreeAdapter_options, _DateTreeAdapter_formatter, _DateTreeAdapter_years, _DateTreeAdapter_quarters, _DateTreeAdapter_months, _DateTreeAdapter_weeks, _DateTreeAdapter_days, _DateTreeAdapter_levelMap, _DateTreeAdapter_levels, _DateTreeAdapter_cacheKey;
|
|
2
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
15
|
exports.DateTreeAdapter = void 0;
|
|
4
16
|
const model_1 = require("../model");
|
|
@@ -36,8 +48,8 @@ const defaultDaysOptions = {
|
|
|
36
48
|
};
|
|
37
49
|
const defaultOptions = {
|
|
38
50
|
locale: 'cs',
|
|
39
|
-
minDate: new Date(
|
|
40
|
-
maxDate: new Date(
|
|
51
|
+
minDate: (0, date_fns_1.startOfDay)((0, date_fns_1.sub)(new Date(), { years: 5 })),
|
|
52
|
+
maxDate: (0, date_fns_1.startOfDay)((0, date_fns_1.add)(new Date(), { years: 5 })),
|
|
41
53
|
years: defaultYearsOptions,
|
|
42
54
|
quarters: defaultQuartersOptions,
|
|
43
55
|
months: defaultMonthsOptions,
|
|
@@ -48,77 +60,92 @@ const defaultOptions = {
|
|
|
48
60
|
class DateTreeAdapter extends model_1.TreeAdapter {
|
|
49
61
|
constructor(options) {
|
|
50
62
|
super();
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
63
|
+
_DateTreeAdapter_options.set(this, void 0);
|
|
64
|
+
_DateTreeAdapter_formatter.set(this, void 0);
|
|
65
|
+
_DateTreeAdapter_years.set(this, void 0);
|
|
66
|
+
_DateTreeAdapter_quarters.set(this, void 0);
|
|
67
|
+
_DateTreeAdapter_months.set(this, void 0);
|
|
68
|
+
_DateTreeAdapter_weeks.set(this, void 0);
|
|
69
|
+
_DateTreeAdapter_days.set(this, void 0);
|
|
70
|
+
_DateTreeAdapter_levelMap.set(this, {});
|
|
71
|
+
_DateTreeAdapter_levels.set(this, []);
|
|
72
|
+
_DateTreeAdapter_cacheKey.set(this, void 0);
|
|
73
|
+
__classPrivateFieldSet(this, _DateTreeAdapter_options, Object.assign({}, defaultOptions, options), "f");
|
|
74
|
+
__classPrivateFieldGet(this, _DateTreeAdapter_options, "f").minDate = __classPrivateFieldGet(this, _DateTreeAdapter_options, "f").minDate instanceof Date ? __classPrivateFieldGet(this, _DateTreeAdapter_options, "f").minDate : new Date(__classPrivateFieldGet(this, _DateTreeAdapter_options, "f").minDate);
|
|
75
|
+
__classPrivateFieldGet(this, _DateTreeAdapter_options, "f").maxDate = __classPrivateFieldGet(this, _DateTreeAdapter_options, "f").maxDate instanceof Date ? __classPrivateFieldGet(this, _DateTreeAdapter_options, "f").maxDate : new Date(__classPrivateFieldGet(this, _DateTreeAdapter_options, "f").maxDate);
|
|
76
|
+
if (__classPrivateFieldGet(this, _DateTreeAdapter_options, "f").years) {
|
|
77
|
+
__classPrivateFieldGet(this, _DateTreeAdapter_levels, "f").push('y');
|
|
78
|
+
__classPrivateFieldSet(this, _DateTreeAdapter_years, __classPrivateFieldGet(this, _DateTreeAdapter_options, "f").years ? Object.assign({}, defaultYearsOptions, __classPrivateFieldGet(this, _DateTreeAdapter_options, "f").years) : null, "f");
|
|
58
79
|
}
|
|
59
|
-
if (this.
|
|
60
|
-
this
|
|
61
|
-
this
|
|
80
|
+
if (__classPrivateFieldGet(this, _DateTreeAdapter_options, "f").quarters) {
|
|
81
|
+
__classPrivateFieldGet(this, _DateTreeAdapter_levels, "f").push('q');
|
|
82
|
+
__classPrivateFieldSet(this, _DateTreeAdapter_quarters, __classPrivateFieldGet(this, _DateTreeAdapter_options, "f").quarters ? Object.assign({}, defaultQuartersOptions, __classPrivateFieldGet(this, _DateTreeAdapter_options, "f").quarters) : null, "f");
|
|
62
83
|
}
|
|
63
|
-
if (this.
|
|
64
|
-
this
|
|
65
|
-
this
|
|
84
|
+
if (__classPrivateFieldGet(this, _DateTreeAdapter_options, "f").months) {
|
|
85
|
+
__classPrivateFieldGet(this, _DateTreeAdapter_levels, "f").push('m');
|
|
86
|
+
__classPrivateFieldSet(this, _DateTreeAdapter_months, __classPrivateFieldGet(this, _DateTreeAdapter_options, "f").months ? Object.assign({}, defaultMonthsOptions, __classPrivateFieldGet(this, _DateTreeAdapter_options, "f").months) : null, "f");
|
|
66
87
|
}
|
|
67
|
-
if (this.
|
|
68
|
-
this
|
|
69
|
-
this
|
|
88
|
+
if (__classPrivateFieldGet(this, _DateTreeAdapter_options, "f").weeks) {
|
|
89
|
+
__classPrivateFieldGet(this, _DateTreeAdapter_levels, "f").push('w');
|
|
90
|
+
__classPrivateFieldSet(this, _DateTreeAdapter_weeks, __classPrivateFieldGet(this, _DateTreeAdapter_options, "f").weeks ? Object.assign({}, defaultWeeksOptions, __classPrivateFieldGet(this, _DateTreeAdapter_options, "f").weeks) : null, "f");
|
|
70
91
|
}
|
|
71
|
-
if (this.
|
|
72
|
-
this
|
|
73
|
-
this
|
|
92
|
+
if (__classPrivateFieldGet(this, _DateTreeAdapter_options, "f").days) {
|
|
93
|
+
__classPrivateFieldGet(this, _DateTreeAdapter_levels, "f").push('d');
|
|
94
|
+
__classPrivateFieldSet(this, _DateTreeAdapter_days, __classPrivateFieldGet(this, _DateTreeAdapter_options, "f").days ? Object.assign({}, defaultDaysOptions, __classPrivateFieldGet(this, _DateTreeAdapter_options, "f").days) : null, "f");
|
|
74
95
|
}
|
|
75
|
-
this
|
|
96
|
+
__classPrivateFieldSet(this, _DateTreeAdapter_formatter, core_1.dates.createDateFormatter(__classPrivateFieldGet(this, _DateTreeAdapter_options, "f").locale), "f");
|
|
97
|
+
__classPrivateFieldGet(this, _DateTreeAdapter_levels, "f").forEach((p, i) => __classPrivateFieldGet(this, _DateTreeAdapter_levelMap, "f")[p] = i);
|
|
98
|
+
__classPrivateFieldSet(this, _DateTreeAdapter_cacheKey, btoa([
|
|
99
|
+
__classPrivateFieldGet(this, _DateTreeAdapter_levels, "f").join(''),
|
|
100
|
+
__classPrivateFieldGet(this, _DateTreeAdapter_options, "f").minDate.toISOString(),
|
|
101
|
+
__classPrivateFieldGet(this, _DateTreeAdapter_options, "f").maxDate.toISOString()
|
|
102
|
+
].join('_')), "f");
|
|
76
103
|
}
|
|
77
104
|
getDates() {
|
|
78
105
|
var _a, _b, _c, _d, _e;
|
|
79
106
|
const arr = [];
|
|
80
|
-
const maxTime = this.
|
|
81
|
-
let date = this.
|
|
107
|
+
const maxTime = __classPrivateFieldGet(this, _DateTreeAdapter_options, "f").maxDate.getTime();
|
|
108
|
+
let date = __classPrivateFieldGet(this, _DateTreeAdapter_options, "f").minDate;
|
|
82
109
|
let y, q, m, w, d, dw;
|
|
83
|
-
const mo = (_a = this.
|
|
110
|
+
const mo = (_a = __classPrivateFieldGet(this, _DateTreeAdapter_options, "f").monthOffset) !== null && _a !== void 0 ? _a : 0;
|
|
84
111
|
while (date.getTime() < maxTime) {
|
|
85
112
|
[y, q, m, w, d, dw] = [null, null, null, null, null, null];
|
|
86
|
-
if (this
|
|
113
|
+
if (__classPrivateFieldGet(this, _DateTreeAdapter_weeks, "f")) {
|
|
87
114
|
[w, y] = core_1.dates.getFiscalISOWeek(date, mo);
|
|
88
115
|
dw = (0, date_fns_1.getISODay)(date);
|
|
89
116
|
}
|
|
90
117
|
else
|
|
91
118
|
y = core_1.dates.getFiscalYear(date, mo);
|
|
92
|
-
if (this
|
|
119
|
+
if (__classPrivateFieldGet(this, _DateTreeAdapter_quarters, "f"))
|
|
93
120
|
q = core_1.dates.getFiscalQuarter(date, mo);
|
|
94
121
|
m = date.getMonth() + 1;
|
|
95
122
|
d = date.getDate();
|
|
96
123
|
arr.push([date, { y, q, m, w, d, dw }]);
|
|
97
124
|
date = (0, date_fns_1.add)(date, { days: 1 });
|
|
98
125
|
}
|
|
99
|
-
const yOrd = ((_b = this
|
|
100
|
-
const qOrd = ((_c = this
|
|
101
|
-
const dOrd = ((_d = this
|
|
102
|
-
const mOrd = this
|
|
103
|
-
const wOrd = ((_e = this
|
|
126
|
+
const yOrd = ((_b = __classPrivateFieldGet(this, _DateTreeAdapter_years, "f")) === null || _b === void 0 ? void 0 : _b.order) == 'asc' ? 1 : -1;
|
|
127
|
+
const qOrd = ((_c = __classPrivateFieldGet(this, _DateTreeAdapter_quarters, "f")) === null || _c === void 0 ? void 0 : _c.order) == 'asc' ? 1 : -1;
|
|
128
|
+
const dOrd = ((_d = __classPrivateFieldGet(this, _DateTreeAdapter_days, "f")) === null || _d === void 0 ? void 0 : _d.order) == 'asc' ? 1 : -1;
|
|
129
|
+
const mOrd = __classPrivateFieldGet(this, _DateTreeAdapter_months, "f") ? (__classPrivateFieldGet(this, _DateTreeAdapter_months, "f").order == 'asc' ? 1 : -1) : dOrd;
|
|
130
|
+
const wOrd = ((_e = __classPrivateFieldGet(this, _DateTreeAdapter_weeks, "f")) === null || _e === void 0 ? void 0 : _e.order) == 'asc' ? 1 : -1;
|
|
104
131
|
arr.sort((a, b) => {
|
|
105
|
-
if (this
|
|
132
|
+
if (__classPrivateFieldGet(this, _DateTreeAdapter_weeks, "f")) {
|
|
106
133
|
w = (a[1].w - b[1].w) * wOrd;
|
|
107
134
|
y = (a[1].y - b[1].y) * yOrd;
|
|
108
135
|
if (y != 0)
|
|
109
136
|
return y;
|
|
110
137
|
}
|
|
111
|
-
else if (this
|
|
138
|
+
else if (__classPrivateFieldGet(this, _DateTreeAdapter_years, "f")) {
|
|
112
139
|
y = (a[1].y - b[1].y) * yOrd;
|
|
113
140
|
if (y != 0)
|
|
114
141
|
return y;
|
|
115
142
|
}
|
|
116
|
-
if (this
|
|
143
|
+
if (__classPrivateFieldGet(this, _DateTreeAdapter_quarters, "f")) {
|
|
117
144
|
q = (a[1].q - b[1].q) * qOrd;
|
|
118
145
|
if (q != 0)
|
|
119
146
|
return q;
|
|
120
147
|
}
|
|
121
|
-
if (this
|
|
148
|
+
if (__classPrivateFieldGet(this, _DateTreeAdapter_weeks, "f")) {
|
|
122
149
|
if (w != 0)
|
|
123
150
|
return w;
|
|
124
151
|
}
|
|
@@ -127,64 +154,71 @@ class DateTreeAdapter extends model_1.TreeAdapter {
|
|
|
127
154
|
if (m != 0)
|
|
128
155
|
return m;
|
|
129
156
|
}
|
|
130
|
-
return this
|
|
157
|
+
return __classPrivateFieldGet(this, _DateTreeAdapter_weeks, "f") ? (a[1].dw - b[1].dw) * dOrd : (a[1].d - b[1].d) * dOrd;
|
|
131
158
|
});
|
|
132
159
|
return arr;
|
|
133
160
|
}
|
|
134
161
|
getTree() {
|
|
162
|
+
console.log(DateTreeAdapter.dateMap.get(__classPrivateFieldGet(this, _DateTreeAdapter_cacheKey, "f")));
|
|
163
|
+
if (DateTreeAdapter.dateMap.has(__classPrivateFieldGet(this, _DateTreeAdapter_cacheKey, "f")))
|
|
164
|
+
return DateTreeAdapter.dateMap.get(__classPrivateFieldGet(this, _DateTreeAdapter_cacheKey, "f"));
|
|
135
165
|
const source = [];
|
|
136
166
|
let y = 0, q = 0, m = 0, w = 0;
|
|
137
167
|
this.getDates().forEach(([date, opts]) => {
|
|
138
|
-
if (this
|
|
168
|
+
if (__classPrivateFieldGet(this, _DateTreeAdapter_years, "f") && opts.y != y) {
|
|
139
169
|
y = opts.y;
|
|
140
170
|
source.push({
|
|
141
171
|
k: y.toString(),
|
|
142
|
-
v: this.
|
|
143
|
-
l: this.
|
|
172
|
+
v: __classPrivateFieldGet(this, _DateTreeAdapter_formatter, "f").call(this, new Date(y, 1, 1), __classPrivateFieldGet(this, _DateTreeAdapter_years, "f").format),
|
|
173
|
+
l: __classPrivateFieldGet(this, _DateTreeAdapter_levelMap, "f").y,
|
|
144
174
|
ch: false,
|
|
145
175
|
collapsed: true
|
|
146
176
|
});
|
|
147
177
|
}
|
|
148
|
-
if (this
|
|
178
|
+
if (__classPrivateFieldGet(this, _DateTreeAdapter_quarters, "f") && opts.q != q) {
|
|
149
179
|
q = opts.q;
|
|
150
180
|
source.push({
|
|
151
181
|
k: opts.y.toString() + q.toString(),
|
|
152
|
-
v: this.
|
|
153
|
-
l: this.
|
|
182
|
+
v: __classPrivateFieldGet(this, _DateTreeAdapter_formatter, "f").call(this, new Date(y, (q - 1) * 3, 1), __classPrivateFieldGet(this, _DateTreeAdapter_quarters, "f").format),
|
|
183
|
+
l: __classPrivateFieldGet(this, _DateTreeAdapter_levelMap, "f").q,
|
|
154
184
|
ch: false,
|
|
155
185
|
collapsed: true
|
|
156
186
|
});
|
|
157
187
|
}
|
|
158
|
-
if (this
|
|
188
|
+
if (__classPrivateFieldGet(this, _DateTreeAdapter_months, "f") && opts.m != m) {
|
|
159
189
|
m = opts.m;
|
|
160
190
|
source.push({
|
|
161
191
|
k: date.getFullYear() + opts.m.toString().padStart(2, '0'),
|
|
162
|
-
v: this.
|
|
163
|
-
l: this.
|
|
192
|
+
v: __classPrivateFieldGet(this, _DateTreeAdapter_formatter, "f").call(this, date, __classPrivateFieldGet(this, _DateTreeAdapter_months, "f").format),
|
|
193
|
+
l: __classPrivateFieldGet(this, _DateTreeAdapter_levelMap, "f").m,
|
|
164
194
|
ch: false,
|
|
165
195
|
collapsed: true
|
|
166
196
|
});
|
|
167
197
|
}
|
|
168
|
-
if (this
|
|
198
|
+
if (__classPrivateFieldGet(this, _DateTreeAdapter_weeks, "f") && opts.w != w) {
|
|
169
199
|
w = opts.w;
|
|
170
200
|
source.push({
|
|
171
201
|
k: opts.y + opts.w.toString().padStart(3, '0'),
|
|
172
202
|
v: `${opts.w.toString()}. ${opts.y}`,
|
|
173
|
-
l: this.
|
|
203
|
+
l: __classPrivateFieldGet(this, _DateTreeAdapter_levelMap, "f").w,
|
|
174
204
|
ch: false,
|
|
175
205
|
collapsed: true
|
|
176
206
|
});
|
|
177
207
|
}
|
|
178
|
-
if (this
|
|
208
|
+
if (__classPrivateFieldGet(this, _DateTreeAdapter_days, "f")) {
|
|
179
209
|
source.push({
|
|
180
|
-
k: this.
|
|
181
|
-
v: this.
|
|
182
|
-
l: this.
|
|
210
|
+
k: __classPrivateFieldGet(this, _DateTreeAdapter_formatter, "f").call(this, date, 'yyyyMMdd'),
|
|
211
|
+
v: __classPrivateFieldGet(this, _DateTreeAdapter_formatter, "f").call(this, date, __classPrivateFieldGet(this, _DateTreeAdapter_days, "f").format),
|
|
212
|
+
l: __classPrivateFieldGet(this, _DateTreeAdapter_levelMap, "f").d,
|
|
183
213
|
});
|
|
184
214
|
}
|
|
185
215
|
});
|
|
216
|
+
// TODO: consider caching to indexedDB
|
|
217
|
+
DateTreeAdapter.dateMap.set(__classPrivateFieldGet(this, _DateTreeAdapter_cacheKey, "f"), source);
|
|
186
218
|
return source;
|
|
187
219
|
}
|
|
188
220
|
}
|
|
189
221
|
exports.DateTreeAdapter = DateTreeAdapter;
|
|
222
|
+
_DateTreeAdapter_options = new WeakMap(), _DateTreeAdapter_formatter = new WeakMap(), _DateTreeAdapter_years = new WeakMap(), _DateTreeAdapter_quarters = new WeakMap(), _DateTreeAdapter_months = new WeakMap(), _DateTreeAdapter_weeks = new WeakMap(), _DateTreeAdapter_days = new WeakMap(), _DateTreeAdapter_levelMap = new WeakMap(), _DateTreeAdapter_levels = new WeakMap(), _DateTreeAdapter_cacheKey = new WeakMap();
|
|
223
|
+
DateTreeAdapter.dateMap = new Map();
|
|
190
224
|
//# sourceMappingURL=dateAdapter.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dateAdapter.js","sourceRoot":"","sources":["../../src/adapters/dateAdapter.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"dateAdapter.js","sourceRoot":"","sources":["../../src/adapters/dateAdapter.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,oCAAmD;AACnD,uCAA2D;AAC3D,0CAAwC;AAqBxC,MAAM,mBAAmB,GAAiC;IACzD,MAAM,EAAE,MAAM;IACd,SAAS,EAAE,IAAI;IACf,UAAU,EAAE,KAAK;IACjB,KAAK,EAAE,MAAM;CACb,CAAC;AAEF,MAAM,sBAAsB,GAAiC;IAC5D,MAAM,EAAE,cAAc;IACtB,SAAS,EAAE,IAAI;IACf,UAAU,EAAE,KAAK;IACjB,KAAK,EAAE,KAAK;CACZ,CAAC;AAEF,MAAM,oBAAoB,GAAiC;IAC1D,MAAM,EAAE,WAAW;IACnB,SAAS,EAAE,IAAI;IACf,UAAU,EAAE,KAAK;IACjB,KAAK,EAAE,KAAK;CACZ,C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Q,EAAE,KAAK,IAAI,CAAC,CAAC,EAAE;oBACpC,CAAC,EAAE,uBAAA,IAAI,iCAAU,CAAC,CAAC;oBACnB,EAAE,EAAE,KAAK;oBACT,SAAS,EAAE,IAAI;iBACf,CAAC,CAAC;YACJ,CAAC;YAED,IAAI,uBAAA,IAAI,6BAAM,EAAE,CAAC;gBAChB,MAAM,CAAC,IAAI,CAAC;oBACX,CAAC,EAAE,uBAAA,IAAI,kCAAW,MAAf,IAAI,EAAY,IAAI,EAAE,UAAU,CAAC;oBACpC,CAAC,EAAE,uBAAA,IAAI,kCAAW,MAAf,IAAI,EAAY,IAAI,EAAE,uBAAA,IAAI,6BAAM,CAAC,MAAM,CAAC;oBAC3C,CAAC,EAAE,uBAAA,IAAI,iCAAU,CAAC,CAAC;iBACnB,CAAC,CAAC;YACJ,CAAC;QACF,CAAC,CAAC,CAAC;QAEH,sCAAsC;QACtC,eAAe,CAAC,OAAO,CAAC,GAAG,CAAC,uBAAA,IAAI,iCAAU,EAAE,MAAM,CAAC,CAAC;QACpD,OAAO,MAAM,CAAC;IACf,CAAC;;AA5KF,0CA8KC;;AA5KO,uBAAO,GAAG,IAAI,GAAG,EAAsB,AAAhC,CAAiC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@omegagrid/tree",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.34",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"description": "Universal treeview component",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
"_prepublish": "yarn test && yarn lint"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@omegagrid/core": "^0.4.
|
|
31
|
-
"@omegagrid/localize": "^0.4.
|
|
30
|
+
"@omegagrid/core": "^0.4.34",
|
|
31
|
+
"@omegagrid/localize": "^0.4.34",
|
|
32
32
|
"date-fns": "^3.2.0",
|
|
33
33
|
"lit": "^3.1.1",
|
|
34
34
|
"lit-html": "^3.1.1",
|