@bahmni/design-system 0.0.1-dev.233 → 0.0.1-dev.236
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/index.css +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +155 -122
- package/dist/utils/applyTheme.d.ts +23 -0
- package/dist/utils/applyTheme.d.ts.map +1 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export { applyBahmniTheme, BAHMNI_DEFAULT_THEME, type BahmniThemeConfig, } from './utils/applyTheme';
|
|
1
2
|
export { Close, TrashCan } from '@carbon/icons-react';
|
|
2
3
|
export { Button, type ButtonProps } from './atoms/button';
|
|
3
4
|
export { IconButton, type IconButtonProps } from './atoms/iconButton';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,+BAA+B,CAAC;AAEvC,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAEtD,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC1D,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACtE,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACtE,OAAO,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,GAAG,EAAE,KAAK,QAAQ,EAAE,MAAM,aAAa,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,KAAK,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAC/E,OAAO,EACL,IAAI,EACJ,KAAK,SAAS,EACd,SAAS,EACT,YAAY,GACb,MAAM,kBA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{ createContext as K0, useContext as h2, Children as De, useState as u1, useLayoutEffect as G0, useEffect as p1, useRef as i1, forwardRef as m2, useMemo as i2, useCallback as b1, isValidElement as M3, cloneElement as b2, useReducer as gt1, Component as Wi1, useImperativeHandle as Rt, createElement as I3, useSyncExternalStore as ji1, useId as Ui1 } from "react";
|
|
4
4
|
import * as qi1 from "react-dom";
|
|
5
5
|
import Ki1, { createPortal as Mt1 } from "react-dom";
|
|
6
|
+
const zh2 = {
|
|
7
|
+
"background-brand": "#007d79",
|
|
8
|
+
"text-inverse": "#ffffff",
|
|
9
|
+
"icon-inverse": "#ffffff",
|
|
10
|
+
"button-primary": "#007d79",
|
|
11
|
+
"button-primary-hover": "#006b68",
|
|
12
|
+
"button-primary-active": "#004144",
|
|
13
|
+
"button-tertiary": "#007d79",
|
|
14
|
+
"button-tertiary-hover": "#006b68",
|
|
15
|
+
"button-tertiary-active": "#007d79",
|
|
16
|
+
interactive: "#007d79",
|
|
17
|
+
focus: "#007d79",
|
|
18
|
+
"border-interactive": "#007d79",
|
|
19
|
+
"link-primary": "#007d79",
|
|
20
|
+
"link-primary-hover": "#005d5d",
|
|
21
|
+
"link-secondary": "#005d5d",
|
|
22
|
+
"link-visited": "#8A3FFC",
|
|
23
|
+
"link-inverse-visited": "#BE95FF",
|
|
24
|
+
"layer-01": "#f4f4f4"
|
|
25
|
+
};
|
|
26
|
+
function bh2(a) {
|
|
27
|
+
if (Object.keys(a).length === 0) return;
|
|
28
|
+
const n = Object.entries(a).map(([c, r]) => ` --cds-${c}: ${r};`).join(`
|
|
29
|
+
`);
|
|
30
|
+
let e = document.getElementById("bahmni-theme");
|
|
31
|
+
e || (e = document.createElement("style"), e.id = "bahmni-theme", document.head.appendChild(e)), e.textContent = `:root,
|
|
32
|
+
.cds--white,
|
|
33
|
+
.cds--g10 {
|
|
34
|
+
${n}
|
|
35
|
+
}`;
|
|
36
|
+
}
|
|
6
37
|
function Gi1(a, n, e) {
|
|
7
38
|
return (n = Xi1(n)) in a ? Object.defineProperty(a, n, {
|
|
8
39
|
value: e,
|
|
@@ -36935,7 +36966,7 @@ function Xt({
|
|
|
36935
36966
|
}, f), r));
|
|
36936
36967
|
}
|
|
36937
36968
|
const {
|
|
36938
|
-
open:
|
|
36969
|
+
open: yh2,
|
|
36939
36970
|
...tZ1
|
|
36940
36971
|
} = L3.propTypes ?? {};
|
|
36941
36972
|
Xt.propTypes = {
|
|
@@ -59425,10 +59456,10 @@ const EF1 = ({
|
|
|
59425
59456
|
"data-testid": n,
|
|
59426
59457
|
children: e,
|
|
59427
59458
|
...c
|
|
59428
|
-
}) => /* @__PURE__ */ c1(V2, { ...c, "data-testid": a ?? n, children: e }),
|
|
59459
|
+
}) => /* @__PURE__ */ c1(V2, { ...c, "data-testid": a ?? n, children: e }), _h2 = ({
|
|
59429
59460
|
testId: a,
|
|
59430
59461
|
...n
|
|
59431
|
-
}) => /* @__PURE__ */ c1(C0, { ...n, "data-testid": a }),
|
|
59462
|
+
}) => /* @__PURE__ */ c1(C0, { ...n, "data-testid": a }), Nh2 = ({
|
|
59432
59463
|
items: a,
|
|
59433
59464
|
testId: n,
|
|
59434
59465
|
noTrailingSlash: e = !0,
|
|
@@ -59449,16 +59480,16 @@ const EF1 = ({
|
|
|
59449
59480
|
r.label
|
|
59450
59481
|
))
|
|
59451
59482
|
}
|
|
59452
|
-
),
|
|
59483
|
+
), Ah2 = ({
|
|
59453
59484
|
testId: a,
|
|
59454
59485
|
"data-testid": n,
|
|
59455
59486
|
children: e,
|
|
59456
59487
|
...c
|
|
59457
|
-
}) => /* @__PURE__ */ c1(dr, { ...c, "data-testid": a ?? n, children: e }),
|
|
59488
|
+
}) => /* @__PURE__ */ c1(dr, { ...c, "data-testid": a ?? n, children: e }), $h2 = ({
|
|
59458
59489
|
testId: a,
|
|
59459
59490
|
children: n,
|
|
59460
59491
|
...e
|
|
59461
|
-
}) => /* @__PURE__ */ c1(G3, { ...e, "data-testid": a, children: n }),
|
|
59492
|
+
}) => /* @__PURE__ */ c1(G3, { ...e, "data-testid": a, children: n }), Th2 = ({
|
|
59462
59493
|
testId: a,
|
|
59463
59494
|
...n
|
|
59464
59495
|
}) => /* @__PURE__ */ c1(Pn1, { ...n, "data-testid": a }), VF1 = "The iconic font, CSS, and SVG framework", HF1 = ["font", "awesome", "fontawesome", "icon", "svg", "bootstrap"], LF1 = "https://fontawesome.com", CF1 = { url: "https://github.com/FortAwesome/Font-Awesome/issues" }, xF1 = "The Font Awesome Team (https://github.com/orgs/FortAwesome/people)", zF1 = { type: "git", url: "https://github.com/FortAwesome/Font-Awesome" }, bF1 = { node: ">=6" }, yF1 = { "@fortawesome/fontawesome-common-types": "6.7.2" }, _F1 = "6.7.2", NF1 = "@fortawesome/fontawesome-svg-core", AF1 = "index.js", $F1 = "index.mjs", TF1 = "styles.css", DF1 = "MIT", SF1 = "./index.d.ts", OF1 = { ".": { types: "./index.d.ts", module: "./index.mjs", import: "./index.mjs", require: "./index.js", style: "./styles.css", default: "./index.js" }, "./index": { types: "./index.d.ts", module: "./index.mjs", import: "./index.mjs", require: "./index.js", default: "./index.js" }, "./index.js": { types: "./index.d.ts", module: "./index.mjs", import: "./index.mjs", require: "./index.js", default: "./index.js" }, "./plugins": { types: "./index.d.ts", module: "./plugins.mjs", import: "./plugins.mjs", default: "./plugins.mjs" }, "./import.macro": "./import.macro.js", "./import.macro.js": "./import.macro.js", "./styles": "./styles.css", "./styles.css": "./styles.css", "./package.json": "./package.json" }, RF1 = ["./index.js", "./index.mjs", "./styles.css"], kF1 = {
|
|
@@ -70090,12 +70121,12 @@ var Js2 = {
|
|
|
70090
70121
|
faTurnUp: Ci1,
|
|
70091
70122
|
faLevelUpAlt: Ys2
|
|
70092
70123
|
};
|
|
70093
|
-
const
|
|
70124
|
+
const Dh2 = () => {
|
|
70094
70125
|
Zj1.add(Js2);
|
|
70095
70126
|
}, Xs2 = "_item_vyhzj_1", Qs2 = "_definition_vyhzj_14", J41 = {
|
|
70096
70127
|
item: Xs2,
|
|
70097
70128
|
definition: Qs2
|
|
70098
|
-
},
|
|
70129
|
+
}, Sh2 = ({
|
|
70099
70130
|
id: a,
|
|
70100
70131
|
label: n,
|
|
70101
70132
|
value: e,
|
|
@@ -70139,31 +70170,31 @@ const $h2 = () => {
|
|
|
70139
70170
|
testId: a,
|
|
70140
70171
|
children: n,
|
|
70141
70172
|
...e
|
|
70142
|
-
}) => /* @__PURE__ */ c1(e61, { ...e, "data-testid": a, children: n }),
|
|
70173
|
+
}) => /* @__PURE__ */ c1(e61, { ...e, "data-testid": a, children: n }), Oh2 = ({ testId: a, ...n }) => /* @__PURE__ */ c1(d6, { ...n, "data-testid": a }), Rh2 = ({
|
|
70143
70174
|
testId: a,
|
|
70144
70175
|
children: n,
|
|
70145
70176
|
...e
|
|
70146
|
-
}) => /* @__PURE__ */ c1(qn1, { ...e, "data-testid": a, children: n }),
|
|
70177
|
+
}) => /* @__PURE__ */ c1(qn1, { ...e, "data-testid": a, children: n }), kh2 = ({
|
|
70147
70178
|
testId: a,
|
|
70148
70179
|
children: n,
|
|
70149
70180
|
...e
|
|
70150
|
-
}) => /* @__PURE__ */ c1(Kn1, { ...e, "data-testid": a, children: n }),
|
|
70181
|
+
}) => /* @__PURE__ */ c1(Kn1, { ...e, "data-testid": a, children: n }), Zh2 = ({
|
|
70151
70182
|
testId: a,
|
|
70152
70183
|
children: n,
|
|
70153
70184
|
...e
|
|
70154
|
-
}) => /* @__PURE__ */ c1(pr, { ...e, "data-testid": a, children: n }),
|
|
70185
|
+
}) => /* @__PURE__ */ c1(pr, { ...e, "data-testid": a, children: n }), Ih2 = ({
|
|
70155
70186
|
testId: a,
|
|
70156
70187
|
children: n,
|
|
70157
70188
|
...e
|
|
70158
|
-
}) => /* @__PURE__ */ c1(Jn1, { ...e, "data-testid": a, children: n }),
|
|
70189
|
+
}) => /* @__PURE__ */ c1(Jn1, { ...e, "data-testid": a, children: n }), Bh2 = ({
|
|
70159
70190
|
testId: a,
|
|
70160
70191
|
children: n,
|
|
70161
70192
|
...e
|
|
70162
|
-
}) => /* @__PURE__ */ c1(Yn1, { ...e, "data-testid": a, children: n }),
|
|
70193
|
+
}) => /* @__PURE__ */ c1(Yn1, { ...e, "data-testid": a, children: n }), Ph2 = ({
|
|
70163
70194
|
testId: a,
|
|
70164
70195
|
"data-testid": n,
|
|
70165
70196
|
...e
|
|
70166
|
-
}) => /* @__PURE__ */ c1(Sn1, { ...e, "data-testid": a ?? n }),
|
|
70197
|
+
}) => /* @__PURE__ */ c1(Sn1, { ...e, "data-testid": a ?? n }), Fh2 = ({
|
|
70167
70198
|
testId: a,
|
|
70168
70199
|
"data-testid": n,
|
|
70169
70200
|
selectedItem: e,
|
|
@@ -70189,14 +70220,14 @@ const $h2 = () => {
|
|
|
70189
70220
|
"data-testid": a ?? n
|
|
70190
70221
|
}
|
|
70191
70222
|
);
|
|
70192
|
-
},
|
|
70223
|
+
}, Wh2 = ({
|
|
70193
70224
|
testId: a,
|
|
70194
70225
|
"data-testid": n,
|
|
70195
70226
|
...e
|
|
70196
70227
|
}) => /* @__PURE__ */ c1(hr, { ...e, "data-testid": a ?? n }), nf2 = "_textAreaWrapper_1xc56_1", cf2 = "_textAreaWrapperInvalid_1xc56_10", X41 = {
|
|
70197
70228
|
textAreaWrapper: nf2,
|
|
70198
70229
|
textAreaWrapperInvalid: cf2
|
|
70199
|
-
},
|
|
70230
|
+
}, jh2 = ({
|
|
70200
70231
|
testId: a,
|
|
70201
70232
|
invalid: n,
|
|
70202
70233
|
...e
|
|
@@ -70258,7 +70289,7 @@ const $h2 = () => {
|
|
|
70258
70289
|
}
|
|
70259
70290
|
), sf2 = "_notificationContainer_1vxpe_1", ff2 = {
|
|
70260
70291
|
notificationContainer: sf2
|
|
70261
|
-
},
|
|
70292
|
+
}, Uh2 = ({
|
|
70262
70293
|
notifications: a,
|
|
70263
70294
|
onClose: n
|
|
70264
70295
|
}) => a.length ? /* @__PURE__ */ c1(
|
|
@@ -70416,7 +70447,7 @@ const $h2 = () => {
|
|
|
70416
70447
|
);
|
|
70417
70448
|
}, wf2 = "_actionDataTableBody_1aqtw_1", vf2 = {
|
|
70418
70449
|
actionDataTableBody: wf2
|
|
70419
|
-
},
|
|
70450
|
+
}, qh2 = ({
|
|
70420
70451
|
id: a,
|
|
70421
70452
|
title: n,
|
|
70422
70453
|
description: e,
|
|
@@ -70461,7 +70492,7 @@ const $h2 = () => {
|
|
|
70461
70492
|
expandableDataTableBody: gf2,
|
|
70462
70493
|
expandableDataTableSkeleton: Mf2,
|
|
70463
70494
|
expandableDataTableBodyEmpty: Ef2
|
|
70464
|
-
},
|
|
70495
|
+
}, Kh2 = ({
|
|
70465
70496
|
headers: a,
|
|
70466
70497
|
rows: n,
|
|
70467
70498
|
ariaLabel: e,
|
|
@@ -70588,9 +70619,9 @@ const $h2 = () => {
|
|
|
70588
70619
|
] }) })
|
|
70589
70620
|
}
|
|
70590
70621
|
);
|
|
70591
|
-
}, Vf2 = "
|
|
70622
|
+
}, Vf2 = "_simpleDataTableBody_1cmbq_1", Hf2 = {
|
|
70592
70623
|
simpleDataTableBody: Vf2
|
|
70593
|
-
},
|
|
70624
|
+
}, Gh2 = ({
|
|
70594
70625
|
headers: a,
|
|
70595
70626
|
rows: n,
|
|
70596
70627
|
ariaLabel: e,
|
|
@@ -70600,7 +70631,7 @@ const $h2 = () => {
|
|
|
70600
70631
|
/* @__PURE__ */ c1(d4, { children: r.map((d) => /* @__PURE__ */ I3(ve, { ...h({ row: d }), key: d.id }, d.cells.map((u) => /* @__PURE__ */ c1(U0, { children: u.value }, u.id)))) })
|
|
70601
70632
|
] }) }) }), Lf2 = "_tooltipIcon_d1wk8_1", Cf2 = {
|
|
70602
70633
|
tooltipIcon: Lf2
|
|
70603
|
-
},
|
|
70634
|
+
}, Yh2 = ({
|
|
70604
70635
|
iconName: a,
|
|
70605
70636
|
content: n,
|
|
70606
70637
|
iconSize: e = qe.LG,
|
|
@@ -70634,7 +70665,7 @@ const $h2 = () => {
|
|
|
70634
70665
|
]
|
|
70635
70666
|
}
|
|
70636
70667
|
);
|
|
70637
|
-
},
|
|
70668
|
+
}, Jh2 = ({
|
|
70638
70669
|
label: a,
|
|
70639
70670
|
dotClassName: n,
|
|
70640
70671
|
testId: e
|
|
@@ -70646,42 +70677,42 @@ const $h2 = () => {
|
|
|
70646
70677
|
renderIcon: () => /* @__PURE__ */ c1(Tt1, { className: n }),
|
|
70647
70678
|
children: a
|
|
70648
70679
|
}
|
|
70649
|
-
),
|
|
70680
|
+
), Xh2 = ({
|
|
70650
70681
|
testId: a,
|
|
70651
70682
|
...n
|
|
70652
|
-
}) => /* @__PURE__ */ c1(t61, { ...n, "data-testid": a }),
|
|
70683
|
+
}) => /* @__PURE__ */ c1(t61, { ...n, "data-testid": a }), Qh2 = ({
|
|
70653
70684
|
testId: a,
|
|
70654
70685
|
...n
|
|
70655
|
-
}) => /* @__PURE__ */ c1(un1, { ...n, "data-testid": a }),
|
|
70686
|
+
}) => /* @__PURE__ */ c1(un1, { ...n, "data-testid": a }), ed2 = ({
|
|
70656
70687
|
testId: a,
|
|
70657
70688
|
...n
|
|
70658
|
-
}) => /* @__PURE__ */ c1(D61, { ...n, "data-testid": a }),
|
|
70689
|
+
}) => /* @__PURE__ */ c1(D61, { ...n, "data-testid": a }), td2 = ({
|
|
70659
70690
|
testId: a,
|
|
70660
70691
|
"data-testid": n,
|
|
70661
70692
|
...e
|
|
70662
|
-
}) => /* @__PURE__ */ c1(ar, { ...e, "data-testid": a ?? n }),
|
|
70693
|
+
}) => /* @__PURE__ */ c1(ar, { ...e, "data-testid": a ?? n }), nd2 = ({
|
|
70663
70694
|
testId: a,
|
|
70664
70695
|
"data-testid": n,
|
|
70665
70696
|
...e
|
|
70666
|
-
}) => /* @__PURE__ */ c1(t6, { ...e, "data-testid": a ?? n }),
|
|
70697
|
+
}) => /* @__PURE__ */ c1(t6, { ...e, "data-testid": a ?? n }), cd2 = ({
|
|
70667
70698
|
testId: a,
|
|
70668
70699
|
...n
|
|
70669
|
-
}) => /* @__PURE__ */ c1(T61, { ...n, "data-testid": a }),
|
|
70700
|
+
}) => /* @__PURE__ */ c1(T61, { ...n, "data-testid": a }), rd2 = ({
|
|
70670
70701
|
testId: a,
|
|
70671
70702
|
"data-testid": n,
|
|
70672
70703
|
children: e,
|
|
70673
70704
|
...c
|
|
70674
|
-
}) => /* @__PURE__ */ c1(g6, { ...c, "data-testid": a ?? n, children: e }),
|
|
70705
|
+
}) => /* @__PURE__ */ c1(g6, { ...c, "data-testid": a ?? n, children: e }), ad2 = ({
|
|
70675
70706
|
testId: a,
|
|
70676
70707
|
"data-testid": n,
|
|
70677
70708
|
children: e,
|
|
70678
70709
|
...c
|
|
70679
|
-
}) => /* @__PURE__ */ c1(Cn1, { ...c, "data-testid": a ?? n, children: e }),
|
|
70710
|
+
}) => /* @__PURE__ */ c1(Cn1, { ...c, "data-testid": a ?? n, children: e }), od2 = ({
|
|
70680
70711
|
testId: a,
|
|
70681
70712
|
"data-testid": n,
|
|
70682
70713
|
children: e,
|
|
70683
70714
|
...c
|
|
70684
|
-
}) => /* @__PURE__ */ c1(ge, { ...c, "data-testid": a ?? n, children: e }),
|
|
70715
|
+
}) => /* @__PURE__ */ c1(ge, { ...c, "data-testid": a ?? n, children: e }), ld2 = ({
|
|
70685
70716
|
testId: a,
|
|
70686
70717
|
"data-testid": n,
|
|
70687
70718
|
children: e,
|
|
@@ -70753,7 +70784,7 @@ function zi1() {
|
|
|
70753
70784
|
const n = yf2(a);
|
|
70754
70785
|
return { dateFnsFormat: a, flatpickrFormat: n };
|
|
70755
70786
|
}
|
|
70756
|
-
const
|
|
70787
|
+
const id2 = ({
|
|
70757
70788
|
testId: a,
|
|
70758
70789
|
"data-testid": n,
|
|
70759
70790
|
dateFormat: e,
|
|
@@ -70770,7 +70801,7 @@ const od2 = ({
|
|
|
70770
70801
|
children: c
|
|
70771
70802
|
}
|
|
70772
70803
|
);
|
|
70773
|
-
},
|
|
70804
|
+
}, sd2 = ({
|
|
70774
70805
|
testId: a,
|
|
70775
70806
|
"data-testid": n,
|
|
70776
70807
|
placeholder: e,
|
|
@@ -70785,7 +70816,7 @@ const od2 = ({
|
|
|
70785
70816
|
"data-testid": a ?? n
|
|
70786
70817
|
}
|
|
70787
70818
|
);
|
|
70788
|
-
}, _f2 = "^([01]?[0-9]|2[0-3]):[0-5][0-9]$", Nf2 = "HH:mm",
|
|
70819
|
+
}, _f2 = "^([01]?[0-9]|2[0-3]):[0-5][0-9]$", Nf2 = "HH:mm", fd2 = ({
|
|
70789
70820
|
testId: a,
|
|
70790
70821
|
onChange: n,
|
|
70791
70822
|
onBlur: e,
|
|
@@ -70894,7 +70925,7 @@ const od2 = ({
|
|
|
70894
70925
|
maxLength: 5
|
|
70895
70926
|
}
|
|
70896
70927
|
);
|
|
70897
|
-
},
|
|
70928
|
+
}, pd2 = ({
|
|
70898
70929
|
testId: a,
|
|
70899
70930
|
...n
|
|
70900
70931
|
}) => /* @__PURE__ */ c1(rc1, { ...n, "data-testid": a });
|
|
@@ -72850,7 +72881,7 @@ const lp2 = "_layout_vvtyi_85", ip2 = "_collapsedModal_vvtyi_96", sp2 = "_mainDi
|
|
|
72850
72881
|
separator: up2,
|
|
72851
72882
|
separatorGrip: mp2,
|
|
72852
72883
|
panelGroup: wp2
|
|
72853
|
-
}, vp2 = 40, gp2 = 60, ut1 = 40,
|
|
72884
|
+
}, vp2 = 40, gp2 = 60, ut1 = 40, hd2 = ({
|
|
72854
72885
|
headerWSideNav: a,
|
|
72855
72886
|
mainDisplay: n,
|
|
72856
72887
|
actionArea: e,
|
|
@@ -72945,10 +72976,10 @@ const lp2 = "_layout_vvtyi_85", ip2 = "_collapsedModal_vvtyi_96", sp2 = "_mainDi
|
|
|
72945
72976
|
] })
|
|
72946
72977
|
]
|
|
72947
72978
|
}
|
|
72948
|
-
), Mp2 = "
|
|
72979
|
+
), Mp2 = "_layout_ma379_85", Ep2 = "_main_ma379_93", mt1 = {
|
|
72949
72980
|
layout: Mp2,
|
|
72950
72981
|
main: Ep2
|
|
72951
|
-
},
|
|
72982
|
+
}, dd2 = ({ header: a, main: n }) => /* @__PURE__ */ s2(
|
|
72952
72983
|
"div",
|
|
72953
72984
|
{
|
|
72954
72985
|
id: "base-layout",
|
|
@@ -72969,7 +73000,7 @@ const lp2 = "_layout_vvtyi_85", ip2 = "_collapsedModal_vvtyi_96", sp2 = "_mainDi
|
|
|
72969
73000
|
)
|
|
72970
73001
|
]
|
|
72971
73002
|
}
|
|
72972
|
-
),
|
|
73003
|
+
), ud2 = ({ testId: a, ...n }) => /* @__PURE__ */ c1(Kc, { ...n, "data-testid": a }), Vp2 = "_breadcrumb_7z10y_70", Hp2 = "_sideNavItems_7z10y_82", wt1 = {
|
|
72973
73004
|
breadcrumb: Vp2,
|
|
72974
73005
|
sideNavItems: Hp2
|
|
72975
73006
|
}, Lp2 = (a, n = !0) => {
|
|
@@ -73079,7 +73110,7 @@ const xp2 = t.memo(
|
|
|
73079
73110
|
}
|
|
73080
73111
|
);
|
|
73081
73112
|
xp2.displayName = "Header";
|
|
73082
|
-
const
|
|
73113
|
+
const md2 = (a) => {
|
|
73083
73114
|
const [n, e] = u1(null), c = i2(() => a.length ? n && a.some((l) => l.id === n) ? n : a[0].id : null, [n, a]), r = b1((l) => {
|
|
73084
73115
|
e(l);
|
|
73085
73116
|
}, []);
|
|
@@ -73087,11 +73118,11 @@ const dd2 = (a) => {
|
|
|
73087
73118
|
activeItemId: c,
|
|
73088
73119
|
handleItemClick: r
|
|
73089
73120
|
};
|
|
73090
|
-
},
|
|
73121
|
+
}, wd2 = ({
|
|
73091
73122
|
testId: a,
|
|
73092
73123
|
children: n,
|
|
73093
73124
|
...e
|
|
73094
|
-
}) => /* @__PURE__ */ c1(f6, { ...e, "data-testid": a, children: n }),
|
|
73125
|
+
}) => /* @__PURE__ */ c1(f6, { ...e, "data-testid": a, children: n }), vd2 = ({
|
|
73095
73126
|
testId: a,
|
|
73096
73127
|
"data-testid": n,
|
|
73097
73128
|
...e
|
|
@@ -73101,7 +73132,7 @@ const dd2 = (a) => {
|
|
|
73101
73132
|
...e,
|
|
73102
73133
|
"data-testid": a ?? n
|
|
73103
73134
|
}
|
|
73104
|
-
),
|
|
73135
|
+
), gd2 = ({
|
|
73105
73136
|
testId: a,
|
|
73106
73137
|
children: n,
|
|
73107
73138
|
...e
|
|
@@ -73109,7 +73140,7 @@ const dd2 = (a) => {
|
|
|
73109
73140
|
grid: zp2,
|
|
73110
73141
|
children: bp2,
|
|
73111
73142
|
close: yp2
|
|
73112
|
-
},
|
|
73143
|
+
}, Md2 = ({
|
|
73113
73144
|
children: a,
|
|
73114
73145
|
onClose: n,
|
|
73115
73146
|
className: e,
|
|
@@ -73207,7 +73238,7 @@ $p2.displayName = "TextAreaWClose";
|
|
|
73207
73238
|
const Tp2 = "_box_1jr6a_1", Dp2 = "_header_1jr6a_8", vt1 = {
|
|
73208
73239
|
box: Tp2,
|
|
73209
73240
|
header: Dp2
|
|
73210
|
-
},
|
|
73241
|
+
}, Ed2 = ({
|
|
73211
73242
|
title: a,
|
|
73212
73243
|
children: n,
|
|
73213
73244
|
className: e,
|
|
@@ -73231,7 +73262,7 @@ const Tp2 = "_box_1jr6a_1", Dp2 = "_header_1jr6a_8", vt1 = {
|
|
|
73231
73262
|
container: Sp2,
|
|
73232
73263
|
accordion: Op2,
|
|
73233
73264
|
rows: Rp2
|
|
73234
|
-
},
|
|
73265
|
+
}, Vd2 = ({
|
|
73235
73266
|
title: a,
|
|
73236
73267
|
rows: n,
|
|
73237
73268
|
children: e,
|
|
@@ -73301,7 +73332,7 @@ const Q3 = "/openmrs/auth?requested_document=/document_images/", kp2 = "_thumbna
|
|
|
73301
73332
|
thumbnailImage: Bp2,
|
|
73302
73333
|
modalImageContainer: Pp2,
|
|
73303
73334
|
modalImage: Fp2
|
|
73304
|
-
},
|
|
73335
|
+
}, Hd2 = ({
|
|
73305
73336
|
imageSrc: a,
|
|
73306
73337
|
alt: n,
|
|
73307
73338
|
id: e,
|
|
@@ -73380,7 +73411,7 @@ const Q3 = "/openmrs/auth?requested_document=/document_images/", kp2 = "_thumbna
|
|
|
73380
73411
|
fileTileButton: Wp2,
|
|
73381
73412
|
modalIframeContainer: jp2,
|
|
73382
73413
|
modalIframe: Up2
|
|
73383
|
-
},
|
|
73414
|
+
}, Ld2 = ({
|
|
73384
73415
|
src: a,
|
|
73385
73416
|
id: n,
|
|
73386
73417
|
className: e,
|
|
@@ -73438,7 +73469,7 @@ const Q3 = "/openmrs/auth?requested_document=/document_images/", kp2 = "_thumbna
|
|
|
73438
73469
|
}
|
|
73439
73470
|
)
|
|
73440
73471
|
] });
|
|
73441
|
-
}, qp2 = "
|
|
73472
|
+
}, qp2 = "_thumbnailButton_1y563_1", Kp2 = "_hideThumbnail_1y563_29", Gp2 = "_videoIcon_1y563_35", Yp2 = "_thumbnailVideo_1y563_39", Jp2 = "_playIconOverlay_1y563_46", Xp2 = "_modalVideoContainer_1y563_68", Qp2 = "_modalVideo_1y563_68", xe = {
|
|
73442
73473
|
thumbnailButton: qp2,
|
|
73443
73474
|
hideThumbnail: Kp2,
|
|
73444
73475
|
videoIcon: Gp2,
|
|
@@ -73446,7 +73477,7 @@ const Q3 = "/openmrs/auth?requested_document=/document_images/", kp2 = "_thumbna
|
|
|
73446
73477
|
playIconOverlay: Jp2,
|
|
73447
73478
|
modalVideoContainer: Xp2,
|
|
73448
73479
|
modalVideo: Qp2
|
|
73449
|
-
},
|
|
73480
|
+
}, Cd2 = ({
|
|
73450
73481
|
videoSrc: a,
|
|
73451
73482
|
id: n,
|
|
73452
73483
|
hideThumbnail: e = !1,
|
|
@@ -73538,7 +73569,7 @@ const Q3 = "/openmrs/auth?requested_document=/document_images/", kp2 = "_thumbna
|
|
|
73538
73569
|
}
|
|
73539
73570
|
)
|
|
73540
73571
|
] });
|
|
73541
|
-
}, eh2 = "
|
|
73572
|
+
}, eh2 = "_actionArea_1rrq1_1", th2 = "_hidden_1rrq1_11", nh2 = "_title_1rrq1_16", ch2 = "_content_1rrq1_25", rh2 = "_buttonSet_1rrq1_30", ah2 = "_twoButtons_1rrq1_36", oh2 = "_threeButtons_1rrq1_39", ze = {
|
|
73542
73573
|
actionArea: eh2,
|
|
73543
73574
|
hidden: th2,
|
|
73544
73575
|
title: nh2,
|
|
@@ -73546,7 +73577,7 @@ const Q3 = "/openmrs/auth?requested_document=/document_images/", kp2 = "_thumbna
|
|
|
73546
73577
|
buttonSet: rh2,
|
|
73547
73578
|
twoButtons: ah2,
|
|
73548
73579
|
threeButtons: oh2
|
|
73549
|
-
},
|
|
73580
|
+
}, xd2 = ({
|
|
73550
73581
|
title: a,
|
|
73551
73582
|
primaryButtonText: n,
|
|
73552
73583
|
onPrimaryButtonClick: e,
|
|
@@ -73625,13 +73656,13 @@ const Q3 = "/openmrs/auth?requested_document=/document_images/", kp2 = "_thumbna
|
|
|
73625
73656
|
]
|
|
73626
73657
|
}
|
|
73627
73658
|
);
|
|
73628
|
-
},
|
|
73659
|
+
}, zd2 = ({
|
|
73629
73660
|
testId: a,
|
|
73630
73661
|
...n
|
|
73631
|
-
}) => /* @__PURE__ */ c1(s6, { ...n, "data-testid": a }),
|
|
73662
|
+
}) => /* @__PURE__ */ c1(s6, { ...n, "data-testid": a }), bd2 = ({
|
|
73632
73663
|
testId: a,
|
|
73633
73664
|
...n
|
|
73634
|
-
}) => /* @__PURE__ */ c1(Z81, { ...n, "data-testid": a }),
|
|
73665
|
+
}) => /* @__PURE__ */ c1(Z81, { ...n, "data-testid": a }), yd2 = ({
|
|
73635
73666
|
testId: a,
|
|
73636
73667
|
...n
|
|
73637
73668
|
}) => /* @__PURE__ */ c1(bn1, { ...n, "data-testid": a }), lh2 = "_formCardContainer_1rru0_1", ih2 = "_title_1rru0_6", sh2 = "_formsGrid_1rru0_12", fh2 = "_noFormsMessage_1rru0_19", Y4 = {
|
|
@@ -73639,7 +73670,7 @@ const Q3 = "/openmrs/auth?requested_document=/document_images/", kp2 = "_thumbna
|
|
|
73639
73670
|
title: ih2,
|
|
73640
73671
|
formsGrid: sh2,
|
|
73641
73672
|
noFormsMessage: fh2
|
|
73642
|
-
},
|
|
73673
|
+
}, _d2 = ({
|
|
73643
73674
|
title: a,
|
|
73644
73675
|
children: n,
|
|
73645
73676
|
noFormsMessage: e = "No forms found",
|
|
@@ -73739,7 +73770,7 @@ const Q3 = "/openmrs/auth?requested_document=/document_images/", kp2 = "_thumbna
|
|
|
73739
73770
|
},
|
|
73740
73771
|
hasClickHandler: !!r
|
|
73741
73772
|
};
|
|
73742
|
-
},
|
|
73773
|
+
}, Nd2 = ({
|
|
73743
73774
|
title: a,
|
|
73744
73775
|
icon: n,
|
|
73745
73776
|
iconSize: e = qe.LG,
|
|
@@ -73801,89 +73832,91 @@ const Q3 = "/openmrs/auth?requested_document=/document_images/", kp2 = "_thumbna
|
|
|
73801
73832
|
]
|
|
73802
73833
|
}
|
|
73803
73834
|
);
|
|
73804
|
-
},
|
|
73835
|
+
}, Ad2 = ({
|
|
73805
73836
|
testId: a,
|
|
73806
73837
|
children: n,
|
|
73807
73838
|
...e
|
|
73808
|
-
}) => /* @__PURE__ */ c1(vn1, { ...e, "data-testid": a, children: n }),
|
|
73839
|
+
}) => /* @__PURE__ */ c1(vn1, { ...e, "data-testid": a, children: n }), $d2 = ({
|
|
73809
73840
|
testId: a,
|
|
73810
73841
|
...n
|
|
73811
|
-
}) => /* @__PURE__ */ c1(An1, { ...n, "data-testid": a }),
|
|
73842
|
+
}) => /* @__PURE__ */ c1(An1, { ...n, "data-testid": a }), Td2 = ({
|
|
73812
73843
|
testId: a,
|
|
73813
73844
|
...n
|
|
73814
73845
|
}) => /* @__PURE__ */ c1(Jc, { ...n, "data-testid": a });
|
|
73815
73846
|
export {
|
|
73816
73847
|
ef2 as Accordion,
|
|
73817
73848
|
tf2 as AccordionItem,
|
|
73818
|
-
|
|
73819
|
-
|
|
73820
|
-
|
|
73821
|
-
|
|
73822
|
-
|
|
73823
|
-
|
|
73849
|
+
xd2 as ActionArea,
|
|
73850
|
+
hd2 as ActionAreaLayout,
|
|
73851
|
+
qh2 as ActionDataTable,
|
|
73852
|
+
zh2 as BAHMNI_DEFAULT_THEME,
|
|
73853
|
+
dd2 as BaseLayout,
|
|
73854
|
+
Ed2 as BoxWHeader,
|
|
73855
|
+
Nh2 as Breadcrumb,
|
|
73824
73856
|
EF1 as Button,
|
|
73825
|
-
|
|
73826
|
-
|
|
73857
|
+
nd2 as Checkbox,
|
|
73858
|
+
cd2 as CheckboxGroup,
|
|
73827
73859
|
q2 as Close,
|
|
73828
|
-
|
|
73829
|
-
|
|
73830
|
-
|
|
73831
|
-
|
|
73860
|
+
ed2 as CodeSnippetSkeleton,
|
|
73861
|
+
Vd2 as CollapsibleRowGroup,
|
|
73862
|
+
od2 as Column,
|
|
73863
|
+
Fh2 as ComboBox,
|
|
73832
73864
|
uF1 as Content,
|
|
73833
|
-
|
|
73834
|
-
|
|
73835
|
-
|
|
73836
|
-
|
|
73837
|
-
|
|
73838
|
-
|
|
73839
|
-
|
|
73840
|
-
|
|
73841
|
-
|
|
73842
|
-
|
|
73843
|
-
|
|
73865
|
+
id2 as DatePicker,
|
|
73866
|
+
sd2 as DatePickerInput,
|
|
73867
|
+
td2 as Dropdown,
|
|
73868
|
+
Qh2 as DropdownSkeleton,
|
|
73869
|
+
Kh2 as ExpandableDataTable,
|
|
73870
|
+
Ld2 as FileTile,
|
|
73871
|
+
Ad2 as FileUploader,
|
|
73872
|
+
vd2 as FilterableMultiSelect,
|
|
73873
|
+
Nd2 as FormCard,
|
|
73874
|
+
_d2 as FormCardContainer,
|
|
73875
|
+
rd2 as Grid,
|
|
73844
73876
|
xp2 as Header,
|
|
73845
73877
|
b0 as ICON_PADDING,
|
|
73846
73878
|
qe as ICON_SIZE,
|
|
73847
73879
|
w4 as Icon,
|
|
73848
|
-
|
|
73849
|
-
|
|
73850
|
-
|
|
73851
|
-
|
|
73852
|
-
|
|
73853
|
-
|
|
73854
|
-
|
|
73855
|
-
|
|
73856
|
-
|
|
73880
|
+
_h2 as IconButton,
|
|
73881
|
+
Hd2 as ImageTile,
|
|
73882
|
+
$d2 as InlineNotification,
|
|
73883
|
+
Sh2 as LabelValue,
|
|
73884
|
+
ld2 as Link,
|
|
73885
|
+
wd2 as Loading,
|
|
73886
|
+
yd2 as MenuButton,
|
|
73887
|
+
zd2 as MenuItem,
|
|
73888
|
+
bd2 as MenuItemDivider,
|
|
73857
73889
|
y3 as Modal,
|
|
73858
|
-
|
|
73859
|
-
|
|
73860
|
-
|
|
73890
|
+
Uh2 as NotificationContainer,
|
|
73891
|
+
Ph2 as NumberInput,
|
|
73892
|
+
ad2 as Row,
|
|
73861
73893
|
if2 as RowCell,
|
|
73862
|
-
|
|
73863
|
-
|
|
73864
|
-
|
|
73865
|
-
|
|
73866
|
-
|
|
73867
|
-
|
|
73894
|
+
Oh2 as Search,
|
|
73895
|
+
ud2 as Section,
|
|
73896
|
+
Th2 as SelectableTag,
|
|
73897
|
+
Md2 as SelectedItem,
|
|
73898
|
+
Gh2 as SimpleDataTable,
|
|
73899
|
+
Xh2 as SkeletonText,
|
|
73868
73900
|
mf2 as SortableDataTable,
|
|
73869
|
-
|
|
73870
|
-
|
|
73871
|
-
|
|
73872
|
-
|
|
73873
|
-
|
|
73874
|
-
|
|
73875
|
-
|
|
73876
|
-
|
|
73877
|
-
|
|
73878
|
-
|
|
73901
|
+
gd2 as Stack,
|
|
73902
|
+
Jh2 as StatusTag,
|
|
73903
|
+
Zh2 as Tab,
|
|
73904
|
+
kh2 as TabList,
|
|
73905
|
+
Bh2 as TabPanel,
|
|
73906
|
+
Ih2 as TabPanels,
|
|
73907
|
+
Td2 as TableExpandedRow,
|
|
73908
|
+
Rh2 as Tabs,
|
|
73909
|
+
$h2 as Tag,
|
|
73910
|
+
jh2 as TextArea,
|
|
73879
73911
|
$p2 as TextAreaWClose,
|
|
73880
|
-
|
|
73881
|
-
|
|
73882
|
-
|
|
73883
|
-
|
|
73884
|
-
|
|
73912
|
+
Wh2 as TextInput,
|
|
73913
|
+
Ah2 as Tile,
|
|
73914
|
+
fd2 as TimePicker,
|
|
73915
|
+
pd2 as TimePickerSelect,
|
|
73916
|
+
Yh2 as TooltipIcon,
|
|
73885
73917
|
h$1 as TrashCan,
|
|
73886
|
-
|
|
73887
|
-
|
|
73888
|
-
|
|
73918
|
+
Cd2 as VideoTile,
|
|
73919
|
+
bh2 as applyBahmniTheme,
|
|
73920
|
+
Dh2 as initFontAwesome,
|
|
73921
|
+
md2 as useSidebarNavigation
|
|
73889
73922
|
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export interface BahmniThemeConfig {
|
|
2
|
+
'background-brand'?: string;
|
|
3
|
+
'text-inverse'?: string;
|
|
4
|
+
'icon-inverse'?: string;
|
|
5
|
+
'button-primary'?: string;
|
|
6
|
+
'button-primary-hover'?: string;
|
|
7
|
+
'button-primary-active'?: string;
|
|
8
|
+
'button-tertiary'?: string;
|
|
9
|
+
'button-tertiary-hover'?: string;
|
|
10
|
+
'button-tertiary-active'?: string;
|
|
11
|
+
interactive?: string;
|
|
12
|
+
focus?: string;
|
|
13
|
+
'border-interactive'?: string;
|
|
14
|
+
'link-primary'?: string;
|
|
15
|
+
'link-primary-hover'?: string;
|
|
16
|
+
'link-secondary'?: string;
|
|
17
|
+
'link-visited'?: string;
|
|
18
|
+
'link-inverse-visited'?: string;
|
|
19
|
+
'layer-01'?: string;
|
|
20
|
+
}
|
|
21
|
+
export declare const BAHMNI_DEFAULT_THEME: Required<BahmniThemeConfig>;
|
|
22
|
+
export declare function applyBahmniTheme(config: Partial<BahmniThemeConfig>): void;
|
|
23
|
+
//# sourceMappingURL=applyTheme.d.ts.map
|