@leav/ui 0.0.1-alpha-1
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 +1 -0
- package/dist/RichTextDisplay-VHFbHGsa.js +3622 -0
- package/dist/RichTextEditorInput-Iw9u6qzh.js +30331 -0
- package/dist/index-9w_Vhu14.js +21765 -0
- package/dist/index-PMijvJqf.js +155554 -0
- package/dist/index-bDhlCrqn.js +12 -0
- package/dist/index-dqtAhqlh.js +17 -0
- package/dist/index-eZQTM_lC.js +322 -0
- package/dist/minimatch-x8aONUPa.js +1573 -0
- package/dist/ui.js +1148 -0
- package/dist/ui2.js +66 -0
- package/package.json +74 -0
package/dist/ui2.js
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { ab as t, ac as r, az as i, w as o, y as d, E as n, z as u, D as l, Y as E, Z as c, $ as g, a0 as p, G as y, H as R, J as P, K as S, L as T, a9 as b, av as h, M as m, O as A, Q as C, af as F, U as L, V as M, W as I, aw as _, ae as D, ad as v, a6 as B, X as O, a1 as f, a2 as w, aB as V, au as k, aA as N, a3 as U, ay as x, ax as z, a4 as G, a5 as W, ag as q, q as H, aa as K, v as X, ai as Y, ah as j, a8 as J, a7 as Q, t as Z, ak as $, al as aa, am as ea, an as sa, ao as ta, g as ra, ap as ia, aq as oa, ar as da, as as na, aj as ua, at as la } from "./index-PMijvJqf.js";
|
|
2
|
+
import "./minimatch-x8aONUPa.js";
|
|
3
|
+
export {
|
|
4
|
+
t as APPS_ENDPOINT,
|
|
5
|
+
r as APP_ENDPOINT,
|
|
6
|
+
i as AttributeConditionFilter,
|
|
7
|
+
o as AttributePicker,
|
|
8
|
+
d as BasicButton,
|
|
9
|
+
n as EditApplication,
|
|
10
|
+
u as EditAttributeModal,
|
|
11
|
+
l as EditLibraryModal,
|
|
12
|
+
E as EditRecord,
|
|
13
|
+
c as EditRecordBtn,
|
|
14
|
+
g as EditRecordModal,
|
|
15
|
+
p as EditRecordSidebar,
|
|
16
|
+
y as EditTreeModal,
|
|
17
|
+
R as EntityCard,
|
|
18
|
+
P as EntityPreview,
|
|
19
|
+
S as ErrorBoundary,
|
|
20
|
+
T as ErrorDisplay,
|
|
21
|
+
b as ErrorDisplayTypes,
|
|
22
|
+
h as FilterType,
|
|
23
|
+
m as FloatingMenu,
|
|
24
|
+
A as ImageLoading,
|
|
25
|
+
C as ImageMissing,
|
|
26
|
+
F as LangContext,
|
|
27
|
+
L as LibraryItemsList,
|
|
28
|
+
M as LibraryPicker,
|
|
29
|
+
I as Loading,
|
|
30
|
+
_ as OperatorFilter,
|
|
31
|
+
D as PREFIX_SHARED_VIEWS_ORDER_KEY,
|
|
32
|
+
v as PREFIX_USER_VIEWS_ORDER_KEY,
|
|
33
|
+
B as PreviewSize,
|
|
34
|
+
O as RecordCard,
|
|
35
|
+
f as RecordPreviewWithModal,
|
|
36
|
+
w as SearchModal,
|
|
37
|
+
V as SearchMode,
|
|
38
|
+
k as SearchOrder,
|
|
39
|
+
N as SidebarContentType,
|
|
40
|
+
U as SubmitStateNotifier,
|
|
41
|
+
x as ThroughConditionFilter,
|
|
42
|
+
z as TreeConditionFilter,
|
|
43
|
+
G as TreePicker,
|
|
44
|
+
W as TriggerPreviewsGenerationModal,
|
|
45
|
+
q as UserContext,
|
|
46
|
+
H as customTheme,
|
|
47
|
+
K as defaultPaginationPageSize,
|
|
48
|
+
X as dsTheme,
|
|
49
|
+
Y as gqlPossibleTypes,
|
|
50
|
+
j as recordIdentityFragment,
|
|
51
|
+
J as tagColorByAttributeFormat,
|
|
52
|
+
Q as tagColorByAttributeType,
|
|
53
|
+
Z as themeVars,
|
|
54
|
+
$ as useAntdLocale,
|
|
55
|
+
aa as useAppLang,
|
|
56
|
+
ea as useAuth,
|
|
57
|
+
sa as useGetRecordForm,
|
|
58
|
+
ta as useGetRecordUpdatesSubscription,
|
|
59
|
+
ra as useLang,
|
|
60
|
+
ia as useLocalStorage,
|
|
61
|
+
oa as useRecordsConsultationHistory,
|
|
62
|
+
da as useRefreshFieldValues,
|
|
63
|
+
na as useRefreshToken,
|
|
64
|
+
ua as useSaveApplicationMutation,
|
|
65
|
+
la as useValuesCacheUpdate
|
|
66
|
+
};
|
package/package.json
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@leav/ui",
|
|
3
|
+
"version": "0.0.1-alpha-1",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"files": [
|
|
6
|
+
"dist"
|
|
7
|
+
],
|
|
8
|
+
"description": "Shared React components and hooks",
|
|
9
|
+
"main": "dist/index",
|
|
10
|
+
"author": "",
|
|
11
|
+
"license": "LGPL3",
|
|
12
|
+
"repository": "npm/npm",
|
|
13
|
+
"installConfig": {
|
|
14
|
+
"hoistingLimits": "workspaces"
|
|
15
|
+
},
|
|
16
|
+
"exports": {
|
|
17
|
+
".": {
|
|
18
|
+
"import": "./dist/ui.js",
|
|
19
|
+
"require": "./dist/ui.umd.cjs"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"scripts": {
|
|
23
|
+
"prepublishOnly": "npm run build",
|
|
24
|
+
"graphql-generate": "graphql-codegen --config ./codegen.ts",
|
|
25
|
+
"dev": "tsc --build tsconfig.build.json --watch",
|
|
26
|
+
"build": "tsc && vite build",
|
|
27
|
+
"postbuild": "cd dist && yarn add @leav/utils",
|
|
28
|
+
"tscheck": "tsc --noEmit -p .",
|
|
29
|
+
"tscheck:watch": "tsc -w --noEmit -p .",
|
|
30
|
+
"test": "jest",
|
|
31
|
+
"test:ci": "jest --maxWorkers=2",
|
|
32
|
+
"test:commit": "jest --maxWorkers=50% --onlyChanged",
|
|
33
|
+
"create_comp": "scripts/createComponent.js"
|
|
34
|
+
},
|
|
35
|
+
"devDependencies": {
|
|
36
|
+
"@babel/preset-env": "7.20.2",
|
|
37
|
+
"@babel/preset-react": "7.18.6",
|
|
38
|
+
"@graphql-codegen/add": "5.0.0",
|
|
39
|
+
"@graphql-codegen/cli": "5.0.0",
|
|
40
|
+
"@rollup/plugin-node-resolve": "15.2.3",
|
|
41
|
+
"@testing-library/jest-dom": "5.16.5",
|
|
42
|
+
"@testing-library/react": "14.0.0",
|
|
43
|
+
"@testing-library/react-hooks": "8.0.1",
|
|
44
|
+
"@testing-library/user-event": "14.4.3",
|
|
45
|
+
"@types/jest": "29.0.2",
|
|
46
|
+
"@types/react": "18.2.43",
|
|
47
|
+
"babel-jest": "29.3.1",
|
|
48
|
+
"commander": "9.5.0",
|
|
49
|
+
"jest": "29.0.3",
|
|
50
|
+
"jest-environment-jsdom": "29.3.1",
|
|
51
|
+
"jest-styled-components": "7.1.1",
|
|
52
|
+
"ts-jest": "29.0.1",
|
|
53
|
+
"tsc-alias": "1.8.8",
|
|
54
|
+
"typescript": "4.8.3",
|
|
55
|
+
"vite": "5.0.12"
|
|
56
|
+
},
|
|
57
|
+
"peerDependencies": {
|
|
58
|
+
"@ant-design/icons": ">=5.2",
|
|
59
|
+
"@apollo/client": ">=3.8.1",
|
|
60
|
+
"antd": "5.9.1",
|
|
61
|
+
"aristid-ds": "^0.7.1",
|
|
62
|
+
"i18next": "22.5",
|
|
63
|
+
"react": "18.2.0",
|
|
64
|
+
"react-dom": "18.2.0",
|
|
65
|
+
"react-i18next": "12",
|
|
66
|
+
"react-icons": ">=4",
|
|
67
|
+
"styled-components": ">=5.3"
|
|
68
|
+
},
|
|
69
|
+
"stableVersion": "1.0.0",
|
|
70
|
+
"dependencies": {
|
|
71
|
+
"@leav/utils": "workspace:*",
|
|
72
|
+
"i18next-resources-to-backend": "1.1.4"
|
|
73
|
+
}
|
|
74
|
+
}
|