@base-framework/ui 1.1.14 → 1.1.15

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 (35) hide show
  1. package/README.md +44 -0
  2. package/dist/atoms.es.js +37 -34
  3. package/dist/buttons-snATS4J5.js +118 -0
  4. package/dist/{empty-state-CuciIYY7.js → empty-state-BR5Aa8lA.js} +324 -321
  5. package/dist/full-page-DccgwWsM.js +69 -0
  6. package/dist/icons.es.js +127 -1
  7. package/dist/image-BhZbKYDj.js +237 -0
  8. package/dist/index.es.js +179 -173
  9. package/dist/{mobile-nav-wrapper-C3Lvz7CH.js → mobile-nav-wrapper-1erstN34.js} +77 -84
  10. package/dist/molecules.es.js +5 -5
  11. package/dist/organisms.es.js +52 -51
  12. package/dist/pages.es.js +10 -9
  13. package/dist/sidebar-menu-CVyJBcHE.js +13 -0
  14. package/dist/sidebar-menu-page-Db-6HPoS.js +153 -0
  15. package/dist/signature-panel-CVq5N5M1.js +1364 -0
  16. package/dist/simple-search-input-CuC8q0fJ.js +1654 -0
  17. package/dist/skeleton-BlY3opxG.js +7 -0
  18. package/dist/{tooltip-BlFbB8yL.js → tooltip-BmvjA9XQ.js} +104 -84
  19. package/dist/types/components/atoms/atoms.d.ts +2 -0
  20. package/dist/types/components/atoms/material-icon.d.ts +17 -0
  21. package/dist/types/components/atoms/universal-icon.d.ts +3 -0
  22. package/dist/types/components/icons/icons.d.ts +1 -0
  23. package/dist/types/components/icons/material-symbols.d.ts +19 -0
  24. package/dist/types/components/molecules/breadcrumb/breadcrumb.d.ts +2 -2
  25. package/dist/types/components/molecules/image/image-uploader.d.ts +2 -2
  26. package/dist/types/components/molecules/image/logo-uploader.d.ts +2 -2
  27. package/dist/types/components/organisms/navigation/mobile/nav-wrapper/title-header.d.ts +1 -1
  28. package/package.json +1 -1
  29. package/dist/buttons-Dr-bViom.js +0 -77
  30. package/dist/form-group-BB7dLJir.js +0 -29
  31. package/dist/image-BB__4s0g.js +0 -31
  32. package/dist/inputs-CcimrM1k.js +0 -210
  33. package/dist/range-calendar-CzKIBhgb.js +0 -831
  34. package/dist/sidebar-menu-page-BtuUB_XB.js +0 -217
  35. package/dist/signature-panel-DmyPbuRi.js +0 -2186
@@ -1,217 +0,0 @@
1
- import { Div as t, Header as n, H1 as d, P as o } from "@base-framework/atoms";
2
- import { F as l, A as x } from "./aside-template-BDvEMLnk.js";
3
- import { Component as h, Atom as i } from "@base-framework/base";
4
- import { S as u, b as p } from "./mobile-nav-wrapper-C3Lvz7CH.js";
5
- class c extends h {
6
- /**
7
- * This will declare the props for the compiler.
8
- *
9
- * @returns {void}
10
- */
11
- declareProps() {
12
- this.class = "";
13
- }
14
- /**
15
- * This will render the page.
16
- *
17
- * @returns {object}
18
- */
19
- render() {
20
- return t({ class: `${this.class || ""}` }, this.children);
21
- }
22
- }
23
- class a extends c {
24
- /**
25
- * This will be called every time the route
26
- * is activated.
27
- *
28
- * @param {object} params
29
- */
30
- update(s) {
31
- }
32
- }
33
- class S extends a {
34
- /**
35
- * This will render the page.
36
- *
37
- * @returns {object}
38
- */
39
- render() {
40
- const s = this.class != "" ? this.class : "pt-[80px] sm:pt-0";
41
- return l([
42
- t({ class: `flex flex-auto flex-col ${s}` }, this.children)
43
- ]);
44
- }
45
- }
46
- class k extends a {
47
- /**
48
- * This will render the page.
49
- *
50
- * @returns {object}
51
- */
52
- render() {
53
- return l([
54
- t({ class: "contained px-4 flex flex-auto flex-col" }, this.children)
55
- ]);
56
- }
57
- }
58
- const r = i((e, s) => (e.class = "basic-page pt-[80px] sm:pt-0 flex flex-auto flex-col " + (e.class || ""), {
59
- tag: "section",
60
- ...e,
61
- children: s
62
- }));
63
- class w extends a {
64
- /**
65
- * This will render the page.
66
- *
67
- * @returns {object}
68
- */
69
- render() {
70
- return r([
71
- l([
72
- t({ class: "contained px-4 flex flex-auto flex-col" }, this.children)
73
- ])
74
- ]);
75
- }
76
- }
77
- const f = i(({ title: e, description: s }) => n({ class: "sm:py-8 px-6 md:px-5 flex flex-col" }, [
78
- d({ class: "scroll-m-20 text-3xl font-bold tracking-tight" }, e),
79
- s && o({ class: "text-base text-muted-foreground py-2 max-w-[700px]" }, s)
80
- ]));
81
- class F extends a {
82
- /**
83
- * This will declare the props for the compiler.
84
- *
85
- * @returns {void}
86
- */
87
- declareProps() {
88
- super.declareProps(), this.title = "", this.description = "";
89
- }
90
- /**
91
- * This will render the page.
92
- *
93
- * @returns {object}
94
- */
95
- render() {
96
- return r([
97
- f({
98
- title: this.title,
99
- description: this.description
100
- }),
101
- l(this.children)
102
- ]);
103
- }
104
- }
105
- class B extends c {
106
- /**
107
- * This will render the page.
108
- *
109
- * @returns {object}
110
- */
111
- render() {
112
- const s = this.class ?? "";
113
- return t({ class: `flex flex-col flex-auto ${s}` }, this.children);
114
- }
115
- }
116
- class M extends a {
117
- /**
118
- * This will declare the props for the compiler.
119
- *
120
- * @returns {void}
121
- */
122
- declareProps() {
123
- super.declareProps(), this.routes = [], this.switch = [], this.links = [], this.title = "";
124
- }
125
- /**
126
- * This will render the page.
127
- *
128
- * @returns {object}
129
- */
130
- render() {
131
- return r(
132
- {
133
- route: this.addRoutes()
134
- },
135
- [
136
- x({
137
- left: this.addSidebar(),
138
- right: this.addBody()
139
- })
140
- ]
141
- );
142
- }
143
- /**
144
- * This will add the routes.
145
- *
146
- * @returns {array}
147
- */
148
- addRoutes() {
149
- return this.routes || [];
150
- }
151
- /**
152
- * This will add the sidebar of the page.
153
- *
154
- * @returns {object}
155
- */
156
- addSidebar() {
157
- return t({ class: "flex flex-auto flex-col" }, this.addNavigation());
158
- }
159
- /**
160
- * This will add the body of the page.
161
- *
162
- * @returns {object}
163
- */
164
- addBody() {
165
- return t({ class: "flex flex-auto flex-col" }, [
166
- {
167
- class: "contained",
168
- switch: this.addSwitch()
169
- }
170
- ]);
171
- }
172
- /**
173
- * This will add the switch of the page.
174
- *
175
- * @returns {array}
176
- */
177
- addSwitch() {
178
- return this.switch || [];
179
- }
180
- /**
181
- * This will add the navigation of the page.
182
- *
183
- * @returns {object}
184
- */
185
- addNavigation() {
186
- const s = this.getLinks();
187
- return [
188
- u(
189
- {
190
- title: this.title,
191
- options: s,
192
- class: "hidden lg:flex"
193
- }
194
- ),
195
- p({ title: this.title, options: s })
196
- ];
197
- }
198
- /**
199
- * This will get the links.
200
- *
201
- * @returns {array}
202
- */
203
- getLinks() {
204
- return this.links || [];
205
- }
206
- }
207
- export {
208
- a as B,
209
- k as C,
210
- w as F,
211
- r as M,
212
- c as P,
213
- M as S,
214
- S as a,
215
- F as b,
216
- B as c
217
- };