react-luminus-components 2.0.30 → 2.0.31
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/README.md +349 -349
- package/dist/.vite/manifest.json +44 -44
- package/dist/FormDisabledProvider-DFCB4DVo.cjs +1 -0
- package/dist/{FormDisabledProvider-BdVAJaqG.js → FormDisabledProvider-DYgNxt_V.js} +1 -1
- package/dist/ShortcutLinksContext-BGLfiUxG.cjs +285 -0
- package/dist/{nivo-bar-BsmDtzXw.js → ShortcutLinksContext-Bu12oYeg.js} +20928 -20928
- package/dist/components/common/NotificationCenter/Actions/NotificationActions.d.ts +23 -0
- package/dist/components/{NotifCenter → common/NotificationCenter}/Actions/components/ActionTemplates/ActionTemplates.d.ts +1 -1
- package/dist/components/{NotifCenter → common/NotificationCenter}/Actions/components/ActionTemplates/comps/Recipients/NotificationRecipients.d.ts +1 -1
- package/dist/components/{NotifCenter → common/NotificationCenter}/Actions/components/ActionTemplates/comps/modals/NotificationTargetModal.d.ts +1 -1
- package/dist/components/{NotifCenter → common/NotificationCenter}/Actions/components/HistoryTable/NotificationHistoryTable.d.ts +3 -3
- package/dist/components/{NotifCenter → common/NotificationCenter}/Actions/components/modals/NotificationActionAddModal.d.ts +1 -1
- package/dist/components/{NotifCenter → common/NotificationCenter}/Actions/components/modals/NotificationTemplateAddModal.d.ts +2 -2
- package/dist/components/{NotifCenter → common/NotificationCenter}/Actions/components/modals/NotificationTemplateEditModal.d.ts +2 -2
- package/dist/components/common/NotificationCenter/NotifStyles/NotifStyles.d.ts +8 -0
- package/dist/components/common/NotificationCenter/Users/NotificationUsers.d.ts +12 -0
- package/dist/components/{NotifCenter → common/NotificationCenter}/Users/components/EmployeeNotifTable/EmployeeNotifHistoryTable.d.ts +2 -2
- package/dist/components/{NotifCenter → common/NotificationCenter}/index.d.ts +1 -1
- package/dist/components/common/index.d.ts +3 -0
- package/dist/contexts.cjs.js +1 -1
- package/dist/contexts.es.js +150 -150
- package/dist/hooks.cjs.js +1 -1
- package/dist/hooks.es.js +44 -44
- package/dist/layout.cjs.js +1 -1
- package/dist/layout.es.js +214 -208
- package/dist/{localStorageUtils-D2opn367.js → localStorageUtils-CZ4HDRzi.js} +2 -2
- package/dist/main.cjs.js +15 -15
- package/dist/main.d.ts +1 -3
- package/dist/main.es.js +13096 -13062
- package/dist/style.css +1 -1
- package/dist/{useIsFormDirty-Pdd8CdTQ.js → useIsFormDirty-D61PZNiu.js} +5 -5
- package/dist/useIsFormDirty-DQrsSiIC.cjs +1 -0
- package/dist/{useLocalStorageState-Byzo2ssr.js → useLocalStorageState-C9vgpAvX.js} +30 -30
- package/dist/useLocalStorageState-DnWPyDKJ.cjs +1 -0
- package/dist/utils.cjs.js +1 -1
- package/dist/utils.es.js +17 -17
- package/dist/variables.scss +165 -165
- package/package.json +128 -128
- package/dist/FormDisabledProvider-DyO7R2kE.cjs +0 -1
- package/dist/components/NotifCenter/Actions/NotificationActions.d.ts +0 -22
- package/dist/components/NotifCenter/NotifStyles/NotifStyles.d.ts +0 -10
- package/dist/components/NotifCenter/NotifStyles/hooks/useNotifStyleFormSchema.d.ts +0 -20
- package/dist/components/NotifCenter/NotifStyles/hooks/useNotifStyleTableColumns.d.ts +0 -7
- package/dist/components/NotifCenter/Users/NotificationUsers.d.ts +0 -10
- package/dist/nivo-bar-CdrSgzV1.cjs +0 -285
- package/dist/useIsFormDirty-CzwHpad1.cjs +0 -1
- package/dist/useLocalStorageState-CbsbIUSp.cjs +0 -1
- /package/dist/components/{NotifCenter → common/NotificationCenter}/Actions/components/ActionTemplates/comps/index.d.ts +0 -0
- /package/dist/components/{NotifCenter → common/NotificationCenter}/Actions/components/index.d.ts +0 -0
- /package/dist/components/{NotifCenter → common/NotificationCenter}/Actions/hooks/useNotifTemplateUtils.d.ts +0 -0
- /package/dist/components/{NotifCenter → common/NotificationCenter}/Actions/types/NotificationKindFullModel.d.ts +0 -0
- /package/dist/components/{NotifCenter → common/NotificationCenter}/Users/components/index.d.ts +0 -0
package/package.json
CHANGED
|
@@ -1,128 +1,128 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "react-luminus-components",
|
|
3
|
-
"version": "2.0.
|
|
4
|
-
"description": "Library of React Components reusable in Luminus projects (Fleetman, CAFM)",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"repository": {
|
|
7
|
-
"type": "git",
|
|
8
|
-
"url": "git+https://github.com/BenefitCZ/react-luminus-components.git"
|
|
9
|
-
},
|
|
10
|
-
"author": "triskacik",
|
|
11
|
-
"homepage": "https://github.com/BenefitCZ/react-luminus-components#readme",
|
|
12
|
-
"main": "./dist/main.cjs.js",
|
|
13
|
-
"module": "./dist/main.es.js",
|
|
14
|
-
"typings": "./dist/main.d.ts",
|
|
15
|
-
"exports": {
|
|
16
|
-
".": {
|
|
17
|
-
"import": "./dist/main.es.js",
|
|
18
|
-
"require": "./dist/main.cjs.js",
|
|
19
|
-
"types": "./dist/main.d.ts"
|
|
20
|
-
},
|
|
21
|
-
"./layout": {
|
|
22
|
-
"import": "./dist/layout.es.js",
|
|
23
|
-
"require": "./dist/layout.cjs.js",
|
|
24
|
-
"types": "./dist/layout.d.ts"
|
|
25
|
-
},
|
|
26
|
-
"./contexts": {
|
|
27
|
-
"import": "./dist/contexts.es.js",
|
|
28
|
-
"require": "./dist/contexts.cjs.js",
|
|
29
|
-
"types": "./dist/contexts.d.ts"
|
|
30
|
-
},
|
|
31
|
-
"./hooks": {
|
|
32
|
-
"import": "./dist/hooks.es.js",
|
|
33
|
-
"require": "./dist/hooks.cjs.js",
|
|
34
|
-
"types": "./dist/hooks.d.ts"
|
|
35
|
-
},
|
|
36
|
-
"./utils": {
|
|
37
|
-
"import": "./dist/utils.es.js",
|
|
38
|
-
"require": "./dist/utils.cjs.js",
|
|
39
|
-
"types": "./dist/utils.d.ts"
|
|
40
|
-
},
|
|
41
|
-
"./types": "./dist/models/index.d.ts",
|
|
42
|
-
"./styles": "./dist/style.css"
|
|
43
|
-
},
|
|
44
|
-
"files": [
|
|
45
|
-
"dist"
|
|
46
|
-
],
|
|
47
|
-
"scripts": {
|
|
48
|
-
"build": "tsc && vite build",
|
|
49
|
-
"build:watch": "tsc && vite build --watch",
|
|
50
|
-
"dev": "vite",
|
|
51
|
-
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0 --cache",
|
|
52
|
-
"lint-fix": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0 --cache --fix",
|
|
53
|
-
"compile": "tsc --noEmit",
|
|
54
|
-
"deploy": "npm version patch -m \"chore: bump version to %s\" && npm i && npm run build && npm publish && git push && git push --tags"
|
|
55
|
-
},
|
|
56
|
-
"peerDependencies": {
|
|
57
|
-
"@azure/msal-browser": "^4.23.0",
|
|
58
|
-
"@azure/msal-react": "^3.0.19",
|
|
59
|
-
"@hookform/resolvers": "^3.3.4",
|
|
60
|
-
"axios": "^1.6.8",
|
|
61
|
-
"bootstrap": "^5.3.5",
|
|
62
|
-
"flexmonster": ">=2.9.107",
|
|
63
|
-
"react": "19.x",
|
|
64
|
-
"react-bootstrap": ">=2",
|
|
65
|
-
"react-dom": "19.x",
|
|
66
|
-
"react-flexmonster": ">=2.9.107",
|
|
67
|
-
"react-hook-form": "^7.66.0",
|
|
68
|
-
"react-icons": "^5.0.1",
|
|
69
|
-
"react-qrcode-logo": "^3.0.0",
|
|
70
|
-
"react-responsive": "^10.0.0",
|
|
71
|
-
"react-router": "7.x",
|
|
72
|
-
"tanstack-bnf-table": "^0.4.4",
|
|
73
|
-
"zod": "^3.25.76"
|
|
74
|
-
},
|
|
75
|
-
"dependencies": {
|
|
76
|
-
"@atlaskit/pragmatic-drag-and-drop": "^1.7.7",
|
|
77
|
-
"@atlaskit/pragmatic-drag-and-drop-hitbox": "^1.1.0",
|
|
78
|
-
"@microsoft/signalr": "^10.0.0",
|
|
79
|
-
"@nivo/bar": "^0.99.0",
|
|
80
|
-
"@nivo/core": "^0.99.0",
|
|
81
|
-
"@nivo/line": "^0.99.0",
|
|
82
|
-
"@nivo/pie": "^0.99.0",
|
|
83
|
-
"classnames": "^2.5.1",
|
|
84
|
-
"date-fns": "^3.6.0",
|
|
85
|
-
"latinize": "^2.0.0",
|
|
86
|
-
"react-cookie": "^7.1.4",
|
|
87
|
-
"react-hot-toast": "^2.4.1",
|
|
88
|
-
"react-number-format": "^5.4.0",
|
|
89
|
-
"react-portal": "^4.2.2",
|
|
90
|
-
"react-swipeable": "^7.0.2",
|
|
91
|
-
"use-debounce": "^10.0.6",
|
|
92
|
-
"uuid": "^9.0.1"
|
|
93
|
-
},
|
|
94
|
-
"devDependencies": {
|
|
95
|
-
"@rollup/plugin-typescript": "^11.1.6",
|
|
96
|
-
"@types/latinize": "^0.2.18",
|
|
97
|
-
"@types/node": "^20.11.29",
|
|
98
|
-
"@types/react": "19.x",
|
|
99
|
-
"@types/react-dom": "19.x",
|
|
100
|
-
"@types/react-portal": "^4.0.7",
|
|
101
|
-
"@types/uuid": "^9.0.8",
|
|
102
|
-
"@typescript-eslint/eslint-plugin": "^7.3.1",
|
|
103
|
-
"@typescript-eslint/parser": "^7.3.1",
|
|
104
|
-
"@vitejs/plugin-react": "^4.2.1",
|
|
105
|
-
"babel-plugin-react-compiler": "^1.0.0",
|
|
106
|
-
"eslint": "^8.57.0",
|
|
107
|
-
"eslint-config-airbnb": "^19.0.4",
|
|
108
|
-
"eslint-config-airbnb-typescript": "^18.0.0",
|
|
109
|
-
"eslint-config-prettier": "^9.1.0",
|
|
110
|
-
"eslint-plugin-import": "^2.29.1",
|
|
111
|
-
"eslint-plugin-jsx-a11y": "^6.8.0",
|
|
112
|
-
"eslint-plugin-prettier": "^5.1.3",
|
|
113
|
-
"eslint-plugin-react": "^7.34.1",
|
|
114
|
-
"eslint-plugin-react-hook-form": "^0.3.1",
|
|
115
|
-
"eslint-plugin-react-hooks": "^4.6.0",
|
|
116
|
-
"eslint-plugin-react-refresh": "^0.4.6",
|
|
117
|
-
"glob": "^11.0.3",
|
|
118
|
-
"path": "^0.12.7",
|
|
119
|
-
"prettier": "^3.2.5",
|
|
120
|
-
"rollup-plugin-typescript-paths": "^1.5.0",
|
|
121
|
-
"sass-embedded": "^1.81.0",
|
|
122
|
-
"sass-loader": "^14.1.1",
|
|
123
|
-
"tslib": "^2.6.2",
|
|
124
|
-
"typescript": "^5.2.2",
|
|
125
|
-
"vite": "^5.1.4",
|
|
126
|
-
"vite-plugin-dts": "^3.7.3"
|
|
127
|
-
}
|
|
128
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "react-luminus-components",
|
|
3
|
+
"version": "2.0.31",
|
|
4
|
+
"description": "Library of React Components reusable in Luminus projects (Fleetman, CAFM)",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/BenefitCZ/react-luminus-components.git"
|
|
9
|
+
},
|
|
10
|
+
"author": "triskacik",
|
|
11
|
+
"homepage": "https://github.com/BenefitCZ/react-luminus-components#readme",
|
|
12
|
+
"main": "./dist/main.cjs.js",
|
|
13
|
+
"module": "./dist/main.es.js",
|
|
14
|
+
"typings": "./dist/main.d.ts",
|
|
15
|
+
"exports": {
|
|
16
|
+
".": {
|
|
17
|
+
"import": "./dist/main.es.js",
|
|
18
|
+
"require": "./dist/main.cjs.js",
|
|
19
|
+
"types": "./dist/main.d.ts"
|
|
20
|
+
},
|
|
21
|
+
"./layout": {
|
|
22
|
+
"import": "./dist/layout.es.js",
|
|
23
|
+
"require": "./dist/layout.cjs.js",
|
|
24
|
+
"types": "./dist/layout.d.ts"
|
|
25
|
+
},
|
|
26
|
+
"./contexts": {
|
|
27
|
+
"import": "./dist/contexts.es.js",
|
|
28
|
+
"require": "./dist/contexts.cjs.js",
|
|
29
|
+
"types": "./dist/contexts.d.ts"
|
|
30
|
+
},
|
|
31
|
+
"./hooks": {
|
|
32
|
+
"import": "./dist/hooks.es.js",
|
|
33
|
+
"require": "./dist/hooks.cjs.js",
|
|
34
|
+
"types": "./dist/hooks.d.ts"
|
|
35
|
+
},
|
|
36
|
+
"./utils": {
|
|
37
|
+
"import": "./dist/utils.es.js",
|
|
38
|
+
"require": "./dist/utils.cjs.js",
|
|
39
|
+
"types": "./dist/utils.d.ts"
|
|
40
|
+
},
|
|
41
|
+
"./types": "./dist/models/index.d.ts",
|
|
42
|
+
"./styles": "./dist/style.css"
|
|
43
|
+
},
|
|
44
|
+
"files": [
|
|
45
|
+
"dist"
|
|
46
|
+
],
|
|
47
|
+
"scripts": {
|
|
48
|
+
"build": "tsc && vite build",
|
|
49
|
+
"build:watch": "tsc && vite build --watch",
|
|
50
|
+
"dev": "vite",
|
|
51
|
+
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0 --cache",
|
|
52
|
+
"lint-fix": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0 --cache --fix",
|
|
53
|
+
"compile": "tsc --noEmit",
|
|
54
|
+
"deploy": "npm version patch -m \"chore: bump version to %s\" && npm i && npm run build && npm publish && git push && git push --tags"
|
|
55
|
+
},
|
|
56
|
+
"peerDependencies": {
|
|
57
|
+
"@azure/msal-browser": "^4.23.0",
|
|
58
|
+
"@azure/msal-react": "^3.0.19",
|
|
59
|
+
"@hookform/resolvers": "^3.3.4",
|
|
60
|
+
"axios": "^1.6.8",
|
|
61
|
+
"bootstrap": "^5.3.5",
|
|
62
|
+
"flexmonster": ">=2.9.107",
|
|
63
|
+
"react": "19.x",
|
|
64
|
+
"react-bootstrap": ">=2",
|
|
65
|
+
"react-dom": "19.x",
|
|
66
|
+
"react-flexmonster": ">=2.9.107",
|
|
67
|
+
"react-hook-form": "^7.66.0",
|
|
68
|
+
"react-icons": "^5.0.1",
|
|
69
|
+
"react-qrcode-logo": "^3.0.0",
|
|
70
|
+
"react-responsive": "^10.0.0",
|
|
71
|
+
"react-router": "7.x",
|
|
72
|
+
"tanstack-bnf-table": "^0.4.4",
|
|
73
|
+
"zod": "^3.25.76"
|
|
74
|
+
},
|
|
75
|
+
"dependencies": {
|
|
76
|
+
"@atlaskit/pragmatic-drag-and-drop": "^1.7.7",
|
|
77
|
+
"@atlaskit/pragmatic-drag-and-drop-hitbox": "^1.1.0",
|
|
78
|
+
"@microsoft/signalr": "^10.0.0",
|
|
79
|
+
"@nivo/bar": "^0.99.0",
|
|
80
|
+
"@nivo/core": "^0.99.0",
|
|
81
|
+
"@nivo/line": "^0.99.0",
|
|
82
|
+
"@nivo/pie": "^0.99.0",
|
|
83
|
+
"classnames": "^2.5.1",
|
|
84
|
+
"date-fns": "^3.6.0",
|
|
85
|
+
"latinize": "^2.0.0",
|
|
86
|
+
"react-cookie": "^7.1.4",
|
|
87
|
+
"react-hot-toast": "^2.4.1",
|
|
88
|
+
"react-number-format": "^5.4.0",
|
|
89
|
+
"react-portal": "^4.2.2",
|
|
90
|
+
"react-swipeable": "^7.0.2",
|
|
91
|
+
"use-debounce": "^10.0.6",
|
|
92
|
+
"uuid": "^9.0.1"
|
|
93
|
+
},
|
|
94
|
+
"devDependencies": {
|
|
95
|
+
"@rollup/plugin-typescript": "^11.1.6",
|
|
96
|
+
"@types/latinize": "^0.2.18",
|
|
97
|
+
"@types/node": "^20.11.29",
|
|
98
|
+
"@types/react": "19.x",
|
|
99
|
+
"@types/react-dom": "19.x",
|
|
100
|
+
"@types/react-portal": "^4.0.7",
|
|
101
|
+
"@types/uuid": "^9.0.8",
|
|
102
|
+
"@typescript-eslint/eslint-plugin": "^7.3.1",
|
|
103
|
+
"@typescript-eslint/parser": "^7.3.1",
|
|
104
|
+
"@vitejs/plugin-react": "^4.2.1",
|
|
105
|
+
"babel-plugin-react-compiler": "^1.0.0",
|
|
106
|
+
"eslint": "^8.57.0",
|
|
107
|
+
"eslint-config-airbnb": "^19.0.4",
|
|
108
|
+
"eslint-config-airbnb-typescript": "^18.0.0",
|
|
109
|
+
"eslint-config-prettier": "^9.1.0",
|
|
110
|
+
"eslint-plugin-import": "^2.29.1",
|
|
111
|
+
"eslint-plugin-jsx-a11y": "^6.8.0",
|
|
112
|
+
"eslint-plugin-prettier": "^5.1.3",
|
|
113
|
+
"eslint-plugin-react": "^7.34.1",
|
|
114
|
+
"eslint-plugin-react-hook-form": "^0.3.1",
|
|
115
|
+
"eslint-plugin-react-hooks": "^4.6.0",
|
|
116
|
+
"eslint-plugin-react-refresh": "^0.4.6",
|
|
117
|
+
"glob": "^11.0.3",
|
|
118
|
+
"path": "^0.12.7",
|
|
119
|
+
"prettier": "^3.2.5",
|
|
120
|
+
"rollup-plugin-typescript-paths": "^1.5.0",
|
|
121
|
+
"sass-embedded": "^1.81.0",
|
|
122
|
+
"sass-loader": "^14.1.1",
|
|
123
|
+
"tslib": "^2.6.2",
|
|
124
|
+
"typescript": "^5.2.2",
|
|
125
|
+
"vite": "^5.1.4",
|
|
126
|
+
"vite-plugin-dts": "^3.7.3"
|
|
127
|
+
}
|
|
128
|
+
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const c=require("react/jsx-runtime"),t=require("./nivo-bar-CdrSgzV1.cjs"),d="_loading_obchl_1",m="_spinner-grow_obchl_10",_="_second_obchl_14",u="_third_obchl_17",h="_loadingBlock_obchl_21",g="_sizeLine_obchl_29",p="_sizeFill_obchl_36",r={loading:d,spinnerGrow:m,second:_,third:u,loadingBlock:h,sizeLine:g,sizeFill:p},b=()=>{const e=t.compilerRuntimeExports.c(1);let s;return e[0]===Symbol.for("react.memo_cache_sentinel")?(s=c.jsxs("div",{className:t.classNames("luminus-loading",r.loading),children:[c.jsx("div",{className:t.classNames("spinner-grow",r.spinnerGrow,"text-primary"),role:"status"}),c.jsx("div",{className:t.classNames("spinner-grow",r.spinnerGrow,"text-primary",r.second),role:"status"}),c.jsx("div",{className:t.classNames("spinner-grow",r.spinnerGrow,"text-primary",r.third),role:"status"})]}),e[0]=s):s=e[0],s};function l(e,s){const n=t.toDate(e);if(isNaN(s))return t.constructFrom(e,NaN);if(!s)return n;const i=n.getDate(),o=t.constructFrom(e,n.getTime());o.setMonth(n.getMonth()+s+1,0);const a=o.getDate();return i>=a?o:(n.setFullYear(o.getFullYear(),o.getMonth(),i),n)}function x(e,s){return l(e,s*12)}const N=e=>{const s=t.compilerRuntimeExports.c(3),{children:n,disabled:i}=e;let o;return s[0]!==n||s[1]!==i?(o=c.jsx(t.FormDisabledContext.Provider,{value:i,children:n}),s[0]=n,s[1]=i,s[2]=o):o=s[2],o};exports.FormDisabledProvider=N;exports.Loading=b;exports.addMonths=l;exports.addYears=x;exports.classes=r;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { EmailViewModel, NameIdIntModel, NameIdStringModel, NotificationHistoryModel, NotificationModel, NotificationPreviewModel, NotificationTarget, NotifTargetModel, NotifTemplateCreateModel, NotifTemplateEditModel } from '../../../models/index';
|
|
2
|
-
import { default as NotificationKindFullModel } from './types/NotificationKindFullModel';
|
|
3
|
-
|
|
4
|
-
export type Props = {
|
|
5
|
-
kinds: NotificationKindFullModel[];
|
|
6
|
-
styles: NameIdIntModel[];
|
|
7
|
-
entities: NameIdStringModel[];
|
|
8
|
-
targetSystem: 1 | 2 | 4;
|
|
9
|
-
reloadActions: (kindId: number) => Promise<Array<NotificationModel>>;
|
|
10
|
-
reloadHistory: (actionId: number, templateId: number) => Promise<Array<NotificationHistoryModel>>;
|
|
11
|
-
reloadRoles: (actionId: number) => Promise<Array<string>>;
|
|
12
|
-
onRemoveTarget: (id: number) => Promise<void>;
|
|
13
|
-
onPostTarget: (m: NotifTargetModel, employeeName: string | null) => Promise<NotificationTarget>;
|
|
14
|
-
onTemplateEdit: (i: NotifTemplateEditModel) => Promise<void>;
|
|
15
|
-
onTemplateDelete: (id: number) => Promise<void>;
|
|
16
|
-
onNotifActionAdd: (id: number, name: string, kind: number) => Promise<boolean>;
|
|
17
|
-
onNotifTemplateAdd: (tpl: NotifTemplateCreateModel) => Promise<boolean>;
|
|
18
|
-
onPreview: (p: NotificationPreviewModel) => Promise<EmailViewModel | null>;
|
|
19
|
-
EmployeePicker: React.ElementType;
|
|
20
|
-
};
|
|
21
|
-
declare const NotificationActions: ({ kinds, styles, entities, targetSystem, reloadActions, reloadHistory, reloadRoles, onRemoveTarget, onPostTarget, onTemplateEdit, onTemplateDelete, onNotifActionAdd, onNotifTemplateAdd, onPreview, EmployeePicker, }: Props) => import("react").JSX.Element;
|
|
22
|
-
export default NotificationActions;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { NotifStyleModel } from '../../../models/index';
|
|
2
|
-
|
|
3
|
-
type Props = {
|
|
4
|
-
reloadStyles: () => Promise<Array<NotifStyleModel>>;
|
|
5
|
-
BnfTableComponent: React.ElementType;
|
|
6
|
-
tableIdentifier: number;
|
|
7
|
-
postStyle: (i: NotifStyleModel) => Promise<void>;
|
|
8
|
-
};
|
|
9
|
-
declare const NotifStyles: ({ reloadStyles, BnfTableComponent, tableIdentifier, postStyle }: Props) => import("react").JSX.Element;
|
|
10
|
-
export default NotifStyles;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { NotifStyleModel } from '../../../../models/index';
|
|
2
|
-
import { SubmitHandler } from '../../../../../node_modules/react-hook-form';
|
|
3
|
-
|
|
4
|
-
declare const useNotifStyleFormSchema: (onEdit: (n: NotifStyleModel) => Promise<void>) => {
|
|
5
|
-
formMethods: import('../../../../../node_modules/react-hook-form').UseFormReturn<{
|
|
6
|
-
name: string;
|
|
7
|
-
id: number | null;
|
|
8
|
-
css: string;
|
|
9
|
-
}, any, {
|
|
10
|
-
name: string;
|
|
11
|
-
id: number | null;
|
|
12
|
-
css: string;
|
|
13
|
-
}>;
|
|
14
|
-
onSubmit: SubmitHandler<{
|
|
15
|
-
name: string;
|
|
16
|
-
id: number | null;
|
|
17
|
-
css: string;
|
|
18
|
-
}>;
|
|
19
|
-
};
|
|
20
|
-
export default useNotifStyleFormSchema;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { NotifStyleModel } from '../../../../models/index';
|
|
2
|
-
import { BnfTableColumnDef } from 'tanstack-bnf-table';
|
|
3
|
-
|
|
4
|
-
declare const useNotifStyleTableColumns: () => {
|
|
5
|
-
columnsDef: BnfTableColumnDef<NotifStyleModel>[];
|
|
6
|
-
};
|
|
7
|
-
export default useNotifStyleTableColumns;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { NotificationHistoryUserDto } from '../../../models/index';
|
|
2
|
-
import { default as BnfTableWrappedProps } from '../../../models/bnfTable/BnfTableWrappedProps';
|
|
3
|
-
|
|
4
|
-
type Props<T> = {
|
|
5
|
-
reloadUserHistory: (employeeId: number) => Promise<Array<NotificationHistoryUserDto>>;
|
|
6
|
-
EmployeePicker: React.ElementType;
|
|
7
|
-
BnfTableComponent: React.ComponentType<BnfTableWrappedProps<T>>;
|
|
8
|
-
};
|
|
9
|
-
declare const NotificationUsers: ({ reloadUserHistory, EmployeePicker, BnfTableComponent, }: Props<NotificationHistoryUserDto>) => import("react").JSX.Element;
|
|
10
|
-
export default NotificationUsers;
|