hplx-feature-library 1.0.158 → 1.0.159

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.
Files changed (84) hide show
  1. package/dist/Attachments/index.js +12657 -11153
  2. package/dist/PediatricsCalculator/index.js +1 -1
  3. package/dist/PediatricsCalculatorTable-BglWcUGO.cjs +40 -0
  4. package/dist/PediatricsCalculatorTable-Dwluo5W0.js +2163 -0
  5. package/dist/components/{customDropdown/CustomDropdown.d.ts → CustomDropdown.d.ts} +1 -1
  6. package/dist/components/{toggleButtons/ToggleButtons.d.ts → ToggleButtons.d.ts} +1 -1
  7. package/dist/hplx-feature-library.css +1 -1
  8. package/dist/index.d.ts +0 -5
  9. package/dist/index.js +2 -12
  10. package/dist/useOutsideClick-COATBT9j.cjs +92 -0
  11. package/dist/{index-C5JVupKG.js → useOutsideClick-CYAjbj1N.js} +2493 -2353
  12. package/package.json +4 -46
  13. package/dist/AlertPopup/index.js +0 -5
  14. package/dist/AlertPopup-CPKIp-41.cjs +0 -32
  15. package/dist/AlertPopup-CrMI2BnN.js +0 -1069
  16. package/dist/AllInvestigations/components/AllInvestigationsTable.d.ts +0 -19
  17. package/dist/AllInvestigations/index.d.ts +0 -1
  18. package/dist/AllInvestigations/index.js +0 -4
  19. package/dist/AllInvestigations/utils/test-tange-util.d.ts +0 -8
  20. package/dist/AllInvestigationsTable-ChSzwZCN.js +0 -16962
  21. package/dist/AllInvestigationsTable-gBuj3nBC.cjs +0 -80
  22. package/dist/CustomDropdown/index.js +0 -256
  23. package/dist/DateTimePicker/DateAndTimePicker/index.js +0 -5907
  24. package/dist/PediatricsCalculatorTable-CnrU0s8_.cjs +0 -1
  25. package/dist/PediatricsCalculatorTable-DEwcZURh.js +0 -832
  26. package/dist/ReusableTable/ReusableTable.d.ts +0 -3
  27. package/dist/ReusableTable/ReusableTableConstants.d.ts +0 -8
  28. package/dist/ReusableTable/ReusableTableTypes.d.ts +0 -96
  29. package/dist/ReusableTable/components/EmptyTableContainer.d.ts +0 -12
  30. package/dist/ReusableTable/components/FilterCheckbox.d.ts +0 -8
  31. package/dist/ReusableTable/components/FilterDropdown.d.ts +0 -17
  32. package/dist/ReusableTable/components/Pagination.d.ts +0 -2
  33. package/dist/ReusableTable/components/TableBody.d.ts +0 -2
  34. package/dist/ReusableTable/components/TableCell.d.ts +0 -3
  35. package/dist/ReusableTable/components/TableFilterSelect.d.ts +0 -12
  36. package/dist/ReusableTable/components/TableHead.d.ts +0 -2
  37. package/dist/ReusableTable/components/TableMain.d.ts +0 -2
  38. package/dist/ReusableTable/components/TableRow.d.ts +0 -3
  39. package/dist/ReusableTable/context/TableContext.d.ts +0 -21
  40. package/dist/ReusableTable/context/TableContextBase.d.ts +0 -26
  41. package/dist/ReusableTable/context/useTableContext.d.ts +0 -2
  42. package/dist/ToggleButtons/index.js +0 -17
  43. package/dist/TrendGraphs/AreaChartComponent.d.ts +0 -9
  44. package/dist/TrendGraphs/LineChartComponent/DataPointToolTip.d.ts +0 -16
  45. package/dist/TrendGraphs/LineChartComponent/LineChartBody.d.ts +0 -2
  46. package/dist/TrendGraphs/LineChartComponent/LineChartHeader.d.ts +0 -2
  47. package/dist/TrendGraphs/LineChartComponent/index.d.ts +0 -2
  48. package/dist/TrendGraphs/context/index.d.ts +0 -2
  49. package/dist/TrendGraphs/hooks/useTrendGraphContext.d.ts +0 -2
  50. package/dist/TrendGraphs/utils/index.d.ts +0 -4
  51. package/dist/common/APIAction/APIAction.d.ts +0 -55
  52. package/dist/common/components/BorderFullWidth.d.ts +0 -2
  53. package/dist/common/components/table/ExistingPatients.d.ts +0 -17
  54. package/dist/common/editRibbon/EditRibbon.d.ts +0 -9
  55. package/dist/common/utils/NetworkInstance.d.ts +0 -4
  56. package/dist/common/utils/common-utils.d.ts +0 -38
  57. package/dist/components/Modal.d.ts +0 -5
  58. package/dist/components/PatientAddEdit.d.ts +0 -3
  59. package/dist/components/alertPopup/index.d.ts +0 -1
  60. package/dist/components/customDropdown/index.d.ts +0 -1
  61. package/dist/components/dateTimePicker/DateAndTimePicker.d.ts +0 -21
  62. package/dist/components/dateTimePicker/index.d.ts +0 -1
  63. package/dist/components/toggleButtons/index.d.ts +0 -1
  64. package/dist/constants/CommonConstant.d.ts +0 -58
  65. package/dist/constants/TrendGraphsConstants.d.ts +0 -2
  66. package/dist/dayjs.min-BZVOTRKJ.cjs +0 -1
  67. package/dist/dayjs.min-qi3CdtFF.js +0 -298
  68. package/dist/index-C3v1d6Xc.cjs +0 -92
  69. package/dist/index-CJFGOBPb.js +0 -122
  70. package/dist/index-DfcUmlge.cjs +0 -17
  71. package/dist/parseISO-AwyR5Nhg.cjs +0 -1
  72. package/dist/parseISO-Cso9HWPX.js +0 -1414
  73. package/dist/types/APIEndPoints.d.ts +0 -11
  74. package/dist/types/AllInvestigationTypes/index.js +0 -4
  75. package/dist/types/AllInvestigationTypes.d.ts +0 -45
  76. package/dist/types/ApiResponseTypes.d.ts +0 -249
  77. package/dist/types/CommonTypes.d.ts +0 -228
  78. package/dist/types/PatientAddEditTypes.d.ts +0 -13
  79. package/dist/types/TrendGraphTypes.d.ts +0 -19
  80. package/dist/useClickOutside-BjJyGTec.js +0 -14
  81. package/dist/useClickOutside-DsVG12Cs.cjs +0 -1
  82. package/dist/useOutsideClick-C4Q0aGuf.js +0 -15
  83. package/dist/useOutsideClick-CicUjzPP.cjs +0 -1
  84. /package/dist/components/{alertPopup/AlertPopup.d.ts → AlertPopup.d.ts} +0 -0
@@ -1,298 +0,0 @@
1
- import { g as X } from "./index-C5JVupKG.js";
2
- function P(l) {
3
- var g, y, f = "";
4
- if (typeof l == "string" || typeof l == "number") f += l;
5
- else if (typeof l == "object") if (Array.isArray(l)) {
6
- var b = l.length;
7
- for (g = 0; g < b; g++) l[g] && (y = P(l[g])) && (f && (f += " "), f += y);
8
- } else for (y in l) l[y] && (f && (f += " "), f += y);
9
- return f;
10
- }
11
- function st() {
12
- for (var l, g, y = 0, f = "", b = arguments.length; y < b; y++) (l = arguments[y]) && (g = P(l)) && (f && (f += " "), f += g);
13
- return f;
14
- }
15
- var N = { exports: {} }, tt = N.exports, B;
16
- function et() {
17
- return B || (B = 1, function(l, g) {
18
- (function(y, f) {
19
- l.exports = f();
20
- })(tt, function() {
21
- var y = 1e3, f = 6e4, b = 36e5, U = "millisecond", x = "second", k = "minute", j = "hour", p = "day", L = "week", M = "month", q = "quarter", D = "year", Y = "date", z = "Invalid Date", Q = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, R = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, G = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(s) {
22
- var r = ["th", "st", "nd", "rd"], t = s % 100;
23
- return "[" + s + (r[(t - 20) % 10] || r[t] || r[0]) + "]";
24
- } }, J = function(s, r, t) {
25
- var n = String(s);
26
- return !n || n.length >= r ? s : "" + Array(r + 1 - n.length).join(t) + s;
27
- }, K = { s: J, z: function(s) {
28
- var r = -s.utcOffset(), t = Math.abs(r), n = Math.floor(t / 60), e = t % 60;
29
- return (r <= 0 ? "+" : "-") + J(n, 2, "0") + ":" + J(e, 2, "0");
30
- }, m: function s(r, t) {
31
- if (r.date() < t.date()) return -s(t, r);
32
- var n = 12 * (t.year() - r.year()) + (t.month() - r.month()), e = r.clone().add(n, M), i = t - e < 0, u = r.clone().add(n + (i ? -1 : 1), M);
33
- return +(-(n + (t - e) / (i ? e - u : u - e)) || 0);
34
- }, a: function(s) {
35
- return s < 0 ? Math.ceil(s) || 0 : Math.floor(s);
36
- }, p: function(s) {
37
- return { M, y: D, w: L, d: p, D: Y, h: j, m: k, s: x, ms: U, Q: q }[s] || String(s || "").toLowerCase().replace(/s$/, "");
38
- }, u: function(s) {
39
- return s === void 0;
40
- } }, T = "en", w = {};
41
- w[T] = G;
42
- var E = "$isDayjsObject", Z = function(s) {
43
- return s instanceof I || !(!s || !s[E]);
44
- }, W = function s(r, t, n) {
45
- var e;
46
- if (!r) return T;
47
- if (typeof r == "string") {
48
- var i = r.toLowerCase();
49
- w[i] && (e = i), t && (w[i] = t, e = i);
50
- var u = r.split("-");
51
- if (!e && u.length > 1) return s(u[0]);
52
- } else {
53
- var o = r.name;
54
- w[o] = r, e = o;
55
- }
56
- return !n && e && (T = e), e || !n && T;
57
- }, h = function(s, r) {
58
- if (Z(s)) return s.clone();
59
- var t = typeof r == "object" ? r : {};
60
- return t.date = s, t.args = arguments, new I(t);
61
- }, a = K;
62
- a.l = W, a.i = Z, a.w = function(s, r) {
63
- return h(s, { locale: r.$L, utc: r.$u, x: r.$x, $offset: r.$offset });
64
- };
65
- var I = function() {
66
- function s(t) {
67
- this.$L = W(t.locale, null, !0), this.parse(t), this.$x = this.$x || t.x || {}, this[E] = !0;
68
- }
69
- var r = s.prototype;
70
- return r.parse = function(t) {
71
- this.$d = function(n) {
72
- var e = n.date, i = n.utc;
73
- if (e === null) return /* @__PURE__ */ new Date(NaN);
74
- if (a.u(e)) return /* @__PURE__ */ new Date();
75
- if (e instanceof Date) return new Date(e);
76
- if (typeof e == "string" && !/Z$/i.test(e)) {
77
- var u = e.match(Q);
78
- if (u) {
79
- var o = u[2] - 1 || 0, c = (u[7] || "0").substring(0, 3);
80
- return i ? new Date(Date.UTC(u[1], o, u[3] || 1, u[4] || 0, u[5] || 0, u[6] || 0, c)) : new Date(u[1], o, u[3] || 1, u[4] || 0, u[5] || 0, u[6] || 0, c);
81
- }
82
- }
83
- return new Date(e);
84
- }(t), this.init();
85
- }, r.init = function() {
86
- var t = this.$d;
87
- this.$y = t.getFullYear(), this.$M = t.getMonth(), this.$D = t.getDate(), this.$W = t.getDay(), this.$H = t.getHours(), this.$m = t.getMinutes(), this.$s = t.getSeconds(), this.$ms = t.getMilliseconds();
88
- }, r.$utils = function() {
89
- return a;
90
- }, r.isValid = function() {
91
- return this.$d.toString() !== z;
92
- }, r.isSame = function(t, n) {
93
- var e = h(t);
94
- return this.startOf(n) <= e && e <= this.endOf(n);
95
- }, r.isAfter = function(t, n) {
96
- return h(t) < this.startOf(n);
97
- }, r.isBefore = function(t, n) {
98
- return this.endOf(n) < h(t);
99
- }, r.$g = function(t, n, e) {
100
- return a.u(t) ? this[n] : this.set(e, t);
101
- }, r.unix = function() {
102
- return Math.floor(this.valueOf() / 1e3);
103
- }, r.valueOf = function() {
104
- return this.$d.getTime();
105
- }, r.startOf = function(t, n) {
106
- var e = this, i = !!a.u(n) || n, u = a.p(t), o = function(O, m) {
107
- var S = a.w(e.$u ? Date.UTC(e.$y, m, O) : new Date(e.$y, m, O), e);
108
- return i ? S : S.endOf(p);
109
- }, c = function(O, m) {
110
- return a.w(e.toDate()[O].apply(e.toDate("s"), (i ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(m)), e);
111
- }, d = this.$W, $ = this.$M, v = this.$D, H = "set" + (this.$u ? "UTC" : "");
112
- switch (u) {
113
- case D:
114
- return i ? o(1, 0) : o(31, 11);
115
- case M:
116
- return i ? o(1, $) : o(0, $ + 1);
117
- case L:
118
- var _ = this.$locale().weekStart || 0, A = (d < _ ? d + 7 : d) - _;
119
- return o(i ? v - A : v + (6 - A), $);
120
- case p:
121
- case Y:
122
- return c(H + "Hours", 0);
123
- case j:
124
- return c(H + "Minutes", 1);
125
- case k:
126
- return c(H + "Seconds", 2);
127
- case x:
128
- return c(H + "Milliseconds", 3);
129
- default:
130
- return this.clone();
131
- }
132
- }, r.endOf = function(t) {
133
- return this.startOf(t, !1);
134
- }, r.$set = function(t, n) {
135
- var e, i = a.p(t), u = "set" + (this.$u ? "UTC" : ""), o = (e = {}, e[p] = u + "Date", e[Y] = u + "Date", e[M] = u + "Month", e[D] = u + "FullYear", e[j] = u + "Hours", e[k] = u + "Minutes", e[x] = u + "Seconds", e[U] = u + "Milliseconds", e)[i], c = i === p ? this.$D + (n - this.$W) : n;
136
- if (i === M || i === D) {
137
- var d = this.clone().set(Y, 1);
138
- d.$d[o](c), d.init(), this.$d = d.set(Y, Math.min(this.$D, d.daysInMonth())).$d;
139
- } else o && this.$d[o](c);
140
- return this.init(), this;
141
- }, r.set = function(t, n) {
142
- return this.clone().$set(t, n);
143
- }, r.get = function(t) {
144
- return this[a.p(t)]();
145
- }, r.add = function(t, n) {
146
- var e, i = this;
147
- t = Number(t);
148
- var u = a.p(n), o = function($) {
149
- var v = h(i);
150
- return a.w(v.date(v.date() + Math.round($ * t)), i);
151
- };
152
- if (u === M) return this.set(M, this.$M + t);
153
- if (u === D) return this.set(D, this.$y + t);
154
- if (u === p) return o(1);
155
- if (u === L) return o(7);
156
- var c = (e = {}, e[k] = f, e[j] = b, e[x] = y, e)[u] || 1, d = this.$d.getTime() + t * c;
157
- return a.w(d, this);
158
- }, r.subtract = function(t, n) {
159
- return this.add(-1 * t, n);
160
- }, r.format = function(t) {
161
- var n = this, e = this.$locale();
162
- if (!this.isValid()) return e.invalidDate || z;
163
- var i = t || "YYYY-MM-DDTHH:mm:ssZ", u = a.z(this), o = this.$H, c = this.$m, d = this.$M, $ = e.weekdays, v = e.months, H = e.meridiem, _ = function(m, S, C, F) {
164
- return m && (m[S] || m(n, i)) || C[S].slice(0, F);
165
- }, A = function(m) {
166
- return a.s(o % 12 || 12, m, "0");
167
- }, O = H || function(m, S, C) {
168
- var F = m < 12 ? "AM" : "PM";
169
- return C ? F.toLowerCase() : F;
170
- };
171
- return i.replace(R, function(m, S) {
172
- return S || function(C) {
173
- switch (C) {
174
- case "YY":
175
- return String(n.$y).slice(-2);
176
- case "YYYY":
177
- return a.s(n.$y, 4, "0");
178
- case "M":
179
- return d + 1;
180
- case "MM":
181
- return a.s(d + 1, 2, "0");
182
- case "MMM":
183
- return _(e.monthsShort, d, v, 3);
184
- case "MMMM":
185
- return _(v, d);
186
- case "D":
187
- return n.$D;
188
- case "DD":
189
- return a.s(n.$D, 2, "0");
190
- case "d":
191
- return String(n.$W);
192
- case "dd":
193
- return _(e.weekdaysMin, n.$W, $, 2);
194
- case "ddd":
195
- return _(e.weekdaysShort, n.$W, $, 3);
196
- case "dddd":
197
- return $[n.$W];
198
- case "H":
199
- return String(o);
200
- case "HH":
201
- return a.s(o, 2, "0");
202
- case "h":
203
- return A(1);
204
- case "hh":
205
- return A(2);
206
- case "a":
207
- return O(o, c, !0);
208
- case "A":
209
- return O(o, c, !1);
210
- case "m":
211
- return String(c);
212
- case "mm":
213
- return a.s(c, 2, "0");
214
- case "s":
215
- return String(n.$s);
216
- case "ss":
217
- return a.s(n.$s, 2, "0");
218
- case "SSS":
219
- return a.s(n.$ms, 3, "0");
220
- case "Z":
221
- return u;
222
- }
223
- return null;
224
- }(m) || u.replace(":", "");
225
- });
226
- }, r.utcOffset = function() {
227
- return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
228
- }, r.diff = function(t, n, e) {
229
- var i, u = this, o = a.p(n), c = h(t), d = (c.utcOffset() - this.utcOffset()) * f, $ = this - c, v = function() {
230
- return a.m(u, c);
231
- };
232
- switch (o) {
233
- case D:
234
- i = v() / 12;
235
- break;
236
- case M:
237
- i = v();
238
- break;
239
- case q:
240
- i = v() / 3;
241
- break;
242
- case L:
243
- i = ($ - d) / 6048e5;
244
- break;
245
- case p:
246
- i = ($ - d) / 864e5;
247
- break;
248
- case j:
249
- i = $ / b;
250
- break;
251
- case k:
252
- i = $ / f;
253
- break;
254
- case x:
255
- i = $ / y;
256
- break;
257
- default:
258
- i = $;
259
- }
260
- return e ? i : a.a(i);
261
- }, r.daysInMonth = function() {
262
- return this.endOf(M).$D;
263
- }, r.$locale = function() {
264
- return w[this.$L];
265
- }, r.locale = function(t, n) {
266
- if (!t) return this.$L;
267
- var e = this.clone(), i = W(t, n, !0);
268
- return i && (e.$L = i), e;
269
- }, r.clone = function() {
270
- return a.w(this.$d, this);
271
- }, r.toDate = function() {
272
- return new Date(this.valueOf());
273
- }, r.toJSON = function() {
274
- return this.isValid() ? this.toISOString() : null;
275
- }, r.toISOString = function() {
276
- return this.$d.toISOString();
277
- }, r.toString = function() {
278
- return this.$d.toUTCString();
279
- }, s;
280
- }(), V = I.prototype;
281
- return h.prototype = V, [["$ms", U], ["$s", x], ["$m", k], ["$H", j], ["$W", p], ["$M", M], ["$y", D], ["$D", Y]].forEach(function(s) {
282
- V[s[1]] = function(r) {
283
- return this.$g(r, s[0], s[1]);
284
- };
285
- }), h.extend = function(s, r) {
286
- return s.$i || (s(r, I, h), s.$i = !0), h;
287
- }, h.locale = W, h.isDayjs = Z, h.unix = function(s) {
288
- return h(1e3 * s);
289
- }, h.en = w[T], h.Ls = w, h.p = {}, h;
290
- });
291
- }(N)), N.exports;
292
- }
293
- var rt = et();
294
- const it = /* @__PURE__ */ X(rt);
295
- export {
296
- st as c,
297
- it as d
298
- };