dn-react-router-toolkit 0.6.4 → 0.6.5
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/crud/crud_form.js +12 -2
- package/dist/crud/crud_form.mjs +12 -2
- package/dist/crud/crud_page.js +12 -2
- package/dist/crud/crud_page.mjs +12 -2
- package/dist/crud/index.js +12 -2
- package/dist/crud/index.mjs +12 -2
- package/package.json +93 -93
package/dist/crud/crud_form.js
CHANGED
|
@@ -149,7 +149,17 @@ function CrudForm({
|
|
|
149
149
|
AdminHeader,
|
|
150
150
|
{
|
|
151
151
|
title: `${form.name} ${form.item ? "\uC218\uC815" : "\uCD94\uAC00"}`,
|
|
152
|
-
actions: /* @__PURE__ */ import_react8.default.createElement(
|
|
152
|
+
actions: /* @__PURE__ */ import_react8.default.createElement(import_react8.default.Fragment, null, form.item && /* @__PURE__ */ import_react8.default.createElement(
|
|
153
|
+
"button",
|
|
154
|
+
{
|
|
155
|
+
type: "button",
|
|
156
|
+
className: "button-outline",
|
|
157
|
+
onClick: () => {
|
|
158
|
+
form.delete();
|
|
159
|
+
}
|
|
160
|
+
},
|
|
161
|
+
"\uC0AD\uC81C\uD558\uAE30"
|
|
162
|
+
), /* @__PURE__ */ import_react8.default.createElement(
|
|
153
163
|
"button",
|
|
154
164
|
{
|
|
155
165
|
type: "button",
|
|
@@ -157,7 +167,7 @@ function CrudForm({
|
|
|
157
167
|
onClick: form.submit
|
|
158
168
|
},
|
|
159
169
|
"\uC800\uC7A5\uD558\uAE30"
|
|
160
|
-
)
|
|
170
|
+
))
|
|
161
171
|
}
|
|
162
172
|
), /* @__PURE__ */ import_react8.default.createElement("div", { className: "max-w-2xl mx-auto" }, Object.keys(form.columns).length > 0 && /* @__PURE__ */ import_react8.default.createElement(import_react8.default.Fragment, null, Object.entries(form.columns).map(
|
|
163
173
|
([name, value]) => {
|
package/dist/crud/crud_form.mjs
CHANGED
|
@@ -113,7 +113,17 @@ function CrudForm({
|
|
|
113
113
|
AdminHeader,
|
|
114
114
|
{
|
|
115
115
|
title: `${form.name} ${form.item ? "\uC218\uC815" : "\uCD94\uAC00"}`,
|
|
116
|
-
actions: /* @__PURE__ */ React6.createElement(
|
|
116
|
+
actions: /* @__PURE__ */ React6.createElement(React6.Fragment, null, form.item && /* @__PURE__ */ React6.createElement(
|
|
117
|
+
"button",
|
|
118
|
+
{
|
|
119
|
+
type: "button",
|
|
120
|
+
className: "button-outline",
|
|
121
|
+
onClick: () => {
|
|
122
|
+
form.delete();
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
"\uC0AD\uC81C\uD558\uAE30"
|
|
126
|
+
), /* @__PURE__ */ React6.createElement(
|
|
117
127
|
"button",
|
|
118
128
|
{
|
|
119
129
|
type: "button",
|
|
@@ -121,7 +131,7 @@ function CrudForm({
|
|
|
121
131
|
onClick: form.submit
|
|
122
132
|
},
|
|
123
133
|
"\uC800\uC7A5\uD558\uAE30"
|
|
124
|
-
)
|
|
134
|
+
))
|
|
125
135
|
}
|
|
126
136
|
), /* @__PURE__ */ React6.createElement("div", { className: "max-w-2xl mx-auto" }, Object.keys(form.columns).length > 0 && /* @__PURE__ */ React6.createElement(React6.Fragment, null, Object.entries(form.columns).map(
|
|
127
137
|
([name, value]) => {
|
package/dist/crud/crud_page.js
CHANGED
|
@@ -690,7 +690,17 @@ function CrudForm({
|
|
|
690
690
|
AdminHeader,
|
|
691
691
|
{
|
|
692
692
|
title: `${form.name} ${form.item ? "\uC218\uC815" : "\uCD94\uAC00"}`,
|
|
693
|
-
actions: /* @__PURE__ */ import_react13.default.createElement(
|
|
693
|
+
actions: /* @__PURE__ */ import_react13.default.createElement(import_react13.default.Fragment, null, form.item && /* @__PURE__ */ import_react13.default.createElement(
|
|
694
|
+
"button",
|
|
695
|
+
{
|
|
696
|
+
type: "button",
|
|
697
|
+
className: "button-outline",
|
|
698
|
+
onClick: () => {
|
|
699
|
+
form.delete();
|
|
700
|
+
}
|
|
701
|
+
},
|
|
702
|
+
"\uC0AD\uC81C\uD558\uAE30"
|
|
703
|
+
), /* @__PURE__ */ import_react13.default.createElement(
|
|
694
704
|
"button",
|
|
695
705
|
{
|
|
696
706
|
type: "button",
|
|
@@ -698,7 +708,7 @@ function CrudForm({
|
|
|
698
708
|
onClick: form.submit
|
|
699
709
|
},
|
|
700
710
|
"\uC800\uC7A5\uD558\uAE30"
|
|
701
|
-
)
|
|
711
|
+
))
|
|
702
712
|
}
|
|
703
713
|
), /* @__PURE__ */ import_react13.default.createElement("div", { className: "max-w-2xl mx-auto" }, Object.keys(form.columns).length > 0 && /* @__PURE__ */ import_react13.default.createElement(import_react13.default.Fragment, null, Object.entries(form.columns).map(
|
|
704
714
|
([name, value]) => {
|
package/dist/crud/crud_page.mjs
CHANGED
|
@@ -662,7 +662,17 @@ function CrudForm({
|
|
|
662
662
|
AdminHeader,
|
|
663
663
|
{
|
|
664
664
|
title: `${form.name} ${form.item ? "\uC218\uC815" : "\uCD94\uAC00"}`,
|
|
665
|
-
actions: /* @__PURE__ */ React11.createElement(
|
|
665
|
+
actions: /* @__PURE__ */ React11.createElement(React11.Fragment, null, form.item && /* @__PURE__ */ React11.createElement(
|
|
666
|
+
"button",
|
|
667
|
+
{
|
|
668
|
+
type: "button",
|
|
669
|
+
className: "button-outline",
|
|
670
|
+
onClick: () => {
|
|
671
|
+
form.delete();
|
|
672
|
+
}
|
|
673
|
+
},
|
|
674
|
+
"\uC0AD\uC81C\uD558\uAE30"
|
|
675
|
+
), /* @__PURE__ */ React11.createElement(
|
|
666
676
|
"button",
|
|
667
677
|
{
|
|
668
678
|
type: "button",
|
|
@@ -670,7 +680,7 @@ function CrudForm({
|
|
|
670
680
|
onClick: form.submit
|
|
671
681
|
},
|
|
672
682
|
"\uC800\uC7A5\uD558\uAE30"
|
|
673
|
-
)
|
|
683
|
+
))
|
|
674
684
|
}
|
|
675
685
|
), /* @__PURE__ */ React11.createElement("div", { className: "max-w-2xl mx-auto" }, Object.keys(form.columns).length > 0 && /* @__PURE__ */ React11.createElement(React11.Fragment, null, Object.entries(form.columns).map(
|
|
676
686
|
([name, value]) => {
|
package/dist/crud/index.js
CHANGED
|
@@ -326,7 +326,17 @@ function CrudForm({
|
|
|
326
326
|
AdminHeader,
|
|
327
327
|
{
|
|
328
328
|
title: `${form.name} ${form.item ? "\uC218\uC815" : "\uCD94\uAC00"}`,
|
|
329
|
-
actions: /* @__PURE__ */ import_react8.default.createElement(
|
|
329
|
+
actions: /* @__PURE__ */ import_react8.default.createElement(import_react8.default.Fragment, null, form.item && /* @__PURE__ */ import_react8.default.createElement(
|
|
330
|
+
"button",
|
|
331
|
+
{
|
|
332
|
+
type: "button",
|
|
333
|
+
className: "button-outline",
|
|
334
|
+
onClick: () => {
|
|
335
|
+
form.delete();
|
|
336
|
+
}
|
|
337
|
+
},
|
|
338
|
+
"\uC0AD\uC81C\uD558\uAE30"
|
|
339
|
+
), /* @__PURE__ */ import_react8.default.createElement(
|
|
330
340
|
"button",
|
|
331
341
|
{
|
|
332
342
|
type: "button",
|
|
@@ -334,7 +344,7 @@ function CrudForm({
|
|
|
334
344
|
onClick: form.submit
|
|
335
345
|
},
|
|
336
346
|
"\uC800\uC7A5\uD558\uAE30"
|
|
337
|
-
)
|
|
347
|
+
))
|
|
338
348
|
}
|
|
339
349
|
), /* @__PURE__ */ import_react8.default.createElement("div", { className: "max-w-2xl mx-auto" }, Object.keys(form.columns).length > 0 && /* @__PURE__ */ import_react8.default.createElement(import_react8.default.Fragment, null, Object.entries(form.columns).map(
|
|
340
350
|
([name, value]) => {
|
package/dist/crud/index.mjs
CHANGED
|
@@ -284,7 +284,17 @@ function CrudForm({
|
|
|
284
284
|
AdminHeader,
|
|
285
285
|
{
|
|
286
286
|
title: `${form.name} ${form.item ? "\uC218\uC815" : "\uCD94\uAC00"}`,
|
|
287
|
-
actions: /* @__PURE__ */ React6.createElement(
|
|
287
|
+
actions: /* @__PURE__ */ React6.createElement(React6.Fragment, null, form.item && /* @__PURE__ */ React6.createElement(
|
|
288
|
+
"button",
|
|
289
|
+
{
|
|
290
|
+
type: "button",
|
|
291
|
+
className: "button-outline",
|
|
292
|
+
onClick: () => {
|
|
293
|
+
form.delete();
|
|
294
|
+
}
|
|
295
|
+
},
|
|
296
|
+
"\uC0AD\uC81C\uD558\uAE30"
|
|
297
|
+
), /* @__PURE__ */ React6.createElement(
|
|
288
298
|
"button",
|
|
289
299
|
{
|
|
290
300
|
type: "button",
|
|
@@ -292,7 +302,7 @@ function CrudForm({
|
|
|
292
302
|
onClick: form.submit
|
|
293
303
|
},
|
|
294
304
|
"\uC800\uC7A5\uD558\uAE30"
|
|
295
|
-
)
|
|
305
|
+
))
|
|
296
306
|
}
|
|
297
307
|
), /* @__PURE__ */ React6.createElement("div", { className: "max-w-2xl mx-auto" }, Object.keys(form.columns).length > 0 && /* @__PURE__ */ React6.createElement(React6.Fragment, null, Object.entries(form.columns).map(
|
|
298
308
|
([name, value]) => {
|
package/package.json
CHANGED
|
@@ -1,101 +1,101 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
},
|
|
13
|
-
"./auth": {
|
|
14
|
-
"types": "./dist/auth/index.d.ts",
|
|
15
|
-
"import": "./dist/auth/index.mjs",
|
|
16
|
-
"require": "./dist/auth/index.js"
|
|
17
|
-
},
|
|
18
|
-
"./api": {
|
|
19
|
-
"types": "./dist/api/index.d.ts",
|
|
20
|
-
"import": "./dist/api/index.mjs",
|
|
21
|
-
"require": "./dist/api/index.js"
|
|
22
|
-
},
|
|
23
|
-
"./client": {
|
|
24
|
-
"types": "./dist/client/index.d.ts",
|
|
25
|
-
"import": "./dist/client/index.mjs",
|
|
26
|
-
"require": "./dist/client/index.js"
|
|
27
|
-
},
|
|
28
|
-
"./seo": {
|
|
29
|
-
"types": "./dist/seo/index.d.ts",
|
|
30
|
-
"import": "./dist/seo/index.mjs",
|
|
31
|
-
"require": "./dist/seo/index.js"
|
|
32
|
-
},
|
|
33
|
-
"./db": {
|
|
34
|
-
"types": "./dist/db/index.d.ts",
|
|
35
|
-
"import": "./dist/db/index.mjs",
|
|
36
|
-
"require": "./dist/db/index.js"
|
|
37
|
-
},
|
|
38
|
-
"./db/backup": {
|
|
39
|
-
"types": "./dist/db/backup/index.d.ts",
|
|
40
|
-
"import": "./dist/db/backup/index.mjs",
|
|
41
|
-
"require": "./dist/db/backup/index.js"
|
|
42
|
-
},
|
|
43
|
-
"./table": {
|
|
44
|
-
"types": "./dist/table/index.d.ts",
|
|
45
|
-
"import": "./dist/table/index.mjs",
|
|
46
|
-
"require": "./dist/table/index.js"
|
|
47
|
-
},
|
|
48
|
-
"./crud": {
|
|
49
|
-
"types": "./dist/crud/index.d.ts",
|
|
50
|
-
"import": "./dist/crud/index.mjs",
|
|
51
|
-
"require": "./dist/crud/index.js"
|
|
52
|
-
},
|
|
53
|
-
"./post": {
|
|
54
|
-
"types": "./dist/post/index.d.ts",
|
|
55
|
-
"import": "./dist/post/index.mjs",
|
|
56
|
-
"require": "./dist/post/index.js"
|
|
57
|
-
},
|
|
58
|
-
"./form": {
|
|
59
|
-
"types": "./dist/form/index.d.ts",
|
|
60
|
-
"import": "./dist/form/index.mjs",
|
|
61
|
-
"require": "./dist/form/index.js"
|
|
62
|
-
}
|
|
2
|
+
"name": "dn-react-router-toolkit",
|
|
3
|
+
"version": "0.6.5",
|
|
4
|
+
"types": "./dist/index.d.ts",
|
|
5
|
+
"main": "./dist/index.mjs",
|
|
6
|
+
"module": "./dist/index.js",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"types": "./dist/index.d.ts",
|
|
10
|
+
"import": "./dist/index.mjs",
|
|
11
|
+
"require": "./dist/index.js"
|
|
63
12
|
},
|
|
64
|
-
"
|
|
65
|
-
|
|
66
|
-
|
|
13
|
+
"./auth": {
|
|
14
|
+
"types": "./dist/auth/index.d.ts",
|
|
15
|
+
"import": "./dist/auth/index.mjs",
|
|
16
|
+
"require": "./dist/auth/index.js"
|
|
67
17
|
},
|
|
68
|
-
"
|
|
69
|
-
|
|
70
|
-
|
|
18
|
+
"./api": {
|
|
19
|
+
"types": "./dist/api/index.d.ts",
|
|
20
|
+
"import": "./dist/api/index.mjs",
|
|
21
|
+
"require": "./dist/api/index.js"
|
|
71
22
|
},
|
|
72
|
-
"
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
23
|
+
"./client": {
|
|
24
|
+
"types": "./dist/client/index.d.ts",
|
|
25
|
+
"import": "./dist/client/index.mjs",
|
|
26
|
+
"require": "./dist/client/index.js"
|
|
76
27
|
},
|
|
77
|
-
"
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
"@types/react": "^19",
|
|
82
|
-
"@types/react-dom": "^19",
|
|
83
|
-
"schema-dts": "^1.1.5",
|
|
84
|
-
"tsup": "^8.5.1",
|
|
85
|
-
"typescript": "^5.7.3"
|
|
28
|
+
"./seo": {
|
|
29
|
+
"types": "./dist/seo/index.d.ts",
|
|
30
|
+
"import": "./dist/seo/index.mjs",
|
|
31
|
+
"require": "./dist/seo/index.js"
|
|
86
32
|
},
|
|
87
|
-
"
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
"pg": "^8.16.3",
|
|
92
|
-
"react-store-input": "^0.1.7",
|
|
93
|
-
"uuid": "^13.0.0"
|
|
33
|
+
"./db": {
|
|
34
|
+
"types": "./dist/db/index.d.ts",
|
|
35
|
+
"import": "./dist/db/index.mjs",
|
|
36
|
+
"require": "./dist/db/index.js"
|
|
94
37
|
},
|
|
95
|
-
"
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
38
|
+
"./db/backup": {
|
|
39
|
+
"types": "./dist/db/backup/index.d.ts",
|
|
40
|
+
"import": "./dist/db/backup/index.mjs",
|
|
41
|
+
"require": "./dist/db/backup/index.js"
|
|
42
|
+
},
|
|
43
|
+
"./table": {
|
|
44
|
+
"types": "./dist/table/index.d.ts",
|
|
45
|
+
"import": "./dist/table/index.mjs",
|
|
46
|
+
"require": "./dist/table/index.js"
|
|
47
|
+
},
|
|
48
|
+
"./crud": {
|
|
49
|
+
"types": "./dist/crud/index.d.ts",
|
|
50
|
+
"import": "./dist/crud/index.mjs",
|
|
51
|
+
"require": "./dist/crud/index.js"
|
|
52
|
+
},
|
|
53
|
+
"./post": {
|
|
54
|
+
"types": "./dist/post/index.d.ts",
|
|
55
|
+
"import": "./dist/post/index.mjs",
|
|
56
|
+
"require": "./dist/post/index.js"
|
|
57
|
+
},
|
|
58
|
+
"./form": {
|
|
59
|
+
"types": "./dist/form/index.d.ts",
|
|
60
|
+
"import": "./dist/form/index.mjs",
|
|
61
|
+
"require": "./dist/form/index.js"
|
|
100
62
|
}
|
|
101
|
-
}
|
|
63
|
+
},
|
|
64
|
+
"scripts": {
|
|
65
|
+
"build": "tsup",
|
|
66
|
+
"dev": "tsup --watch"
|
|
67
|
+
},
|
|
68
|
+
"repository": {
|
|
69
|
+
"type": "git",
|
|
70
|
+
"url": "git+https://github.com/dndnsoft/dn-react-router-toolkit.git"
|
|
71
|
+
},
|
|
72
|
+
"author": "",
|
|
73
|
+
"license": "MIT",
|
|
74
|
+
"bugs": {
|
|
75
|
+
"url": "https://github.com/dndnsoft/dn-react-router-toolkit/issues"
|
|
76
|
+
},
|
|
77
|
+
"homepage": "https://github.com/dndnsoft/dn-react-router-toolkit#readme",
|
|
78
|
+
"description": "",
|
|
79
|
+
"devDependencies": {
|
|
80
|
+
"@types/node": "^24.10.1",
|
|
81
|
+
"@types/react": "^19",
|
|
82
|
+
"@types/react-dom": "^19",
|
|
83
|
+
"schema-dts": "^1.1.5",
|
|
84
|
+
"tsup": "^8.5.1",
|
|
85
|
+
"typescript": "^5.7.3"
|
|
86
|
+
},
|
|
87
|
+
"dependencies": {
|
|
88
|
+
"@react-router/dev": "^7.11.0",
|
|
89
|
+
"dn-react-text-editor": "^0.2.4",
|
|
90
|
+
"dn-react-toolkit": "^0.2.49",
|
|
91
|
+
"pg": "^8.16.3",
|
|
92
|
+
"react-store-input": "^0.1.7",
|
|
93
|
+
"uuid": "^13.0.0"
|
|
94
|
+
},
|
|
95
|
+
"peerDependencies": {
|
|
96
|
+
"drizzle-orm": "^0.45.1",
|
|
97
|
+
"react": "^19",
|
|
98
|
+
"react-dom": "^19",
|
|
99
|
+
"react-router": "^7"
|
|
100
|
+
}
|
|
101
|
+
}
|