microui-wc 0.1.0 → 0.1.2
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/AGENTS.md +71 -71
- package/CHANGELOG.md +1 -1
- package/README.md +14 -9
- package/dist/AGENTS.md +116 -116
- package/dist/README.md +21 -16
- package/dist/components.css +1 -1
- package/dist/microui.css +1 -1
- package/dist/microui.esm.js.map +1 -1
- package/dist/microui.min.js.map +1 -1
- package/dist/styles/components/switch.css +1 -1
- package/docs/getting-started.md +3 -3
- package/package.json +38 -10
- package/src/components/mu-schema-form.js +1 -1
- package/src/styles/components/switch.css +7 -8
- package/src/styles/components.css +6 -6
- package/.github/ISSUE_TEMPLATE/bug_report.md +0 -40
- package/.github/ISSUE_TEMPLATE/feature_request.md +0 -33
- package/.github/PULL_REQUEST_TEMPLATE.md +0 -28
- package/.github/workflows/ci.yml +0 -42
- package/.github/workflows/deploy-pages.yml +0 -112
- package/CODE_OF_CONDUCT.md +0 -59
- package/CONTRIBUTING.md +0 -156
- package/SECURITY.md +0 -58
- package/app/.generated/routes/alerts.js +0 -8
- package/app/.generated/routes/avatars.js +0 -8
- package/app/.generated/routes/badges.js +0 -8
- package/app/.generated/routes/buttons.js +0 -10
- package/app/.generated/routes/cards.js +0 -10
- package/app/.generated/routes/checkboxes.js +0 -9
- package/app/.generated/routes/chips.js +0 -8
- package/app/.generated/routes/dropdowns.js +0 -9
- package/app/.generated/routes/home.js +0 -7
- package/app/.generated/routes/icons.js +0 -9
- package/app/.generated/routes/inputs.js +0 -10
- package/app/.generated/routes/installation.js +0 -7
- package/app/.generated/routes/layout.js +0 -9
- package/app/.generated/routes/modals.js +0 -9
- package/app/.generated/routes/navbar.js +0 -7
- package/app/.generated/routes/progress.js +0 -9
- package/app/.generated/routes/radios.js +0 -9
- package/app/.generated/routes/switches.js +0 -9
- package/app/.generated/routes/tabs.js +0 -8
- package/app/.generated/routes/toasts.js +0 -9
- package/app/index.html +0 -67
- package/app/pages/alerts.html +0 -23
- package/app/pages/avatars.html +0 -22
- package/app/pages/badges.html +0 -22
- package/app/pages/buttons.html +0 -71
- package/app/pages/cards.html +0 -54
- package/app/pages/checkboxes.html +0 -39
- package/app/pages/chips.html +0 -23
- package/app/pages/dropdowns.html +0 -41
- package/app/pages/home.html +0 -59
- package/app/pages/icons.html +0 -29
- package/app/pages/inputs.html +0 -66
- package/app/pages/installation.html +0 -34
- package/app/pages/layout.html +0 -30
- package/app/pages/modals.html +0 -21
- package/app/pages/navbar.html +0 -22
- package/app/pages/progress.html +0 -35
- package/app/pages/radios.html +0 -40
- package/app/pages/switches.html +0 -39
- package/app/pages/tabs.html +0 -30
- package/app/pages/toasts.html +0 -22
- package/app-dist/index.html +0 -67
- package/app-dist/pages/alerts.html +0 -23
- package/app-dist/pages/avatars.html +0 -22
- package/app-dist/pages/badges.html +0 -22
- package/app-dist/pages/buttons.html +0 -71
- package/app-dist/pages/cards.html +0 -54
- package/app-dist/pages/checkboxes.html +0 -39
- package/app-dist/pages/chips.html +0 -23
- package/app-dist/pages/dropdowns.html +0 -41
- package/app-dist/pages/home.html +0 -59
- package/app-dist/pages/icons.html +0 -29
- package/app-dist/pages/inputs.html +0 -66
- package/app-dist/pages/installation.html +0 -34
- package/app-dist/pages/layout.html +0 -30
- package/app-dist/pages/modals.html +0 -21
- package/app-dist/pages/navbar.html +0 -22
- package/app-dist/pages/progress.html +0 -35
- package/app-dist/pages/radios.html +0 -40
- package/app-dist/pages/switches.html +0 -39
- package/app-dist/pages/tabs.html +0 -30
- package/app-dist/pages/toasts.html +0 -22
- package/app-dist/pages.json +0 -217
- package/app-dist/routes/alerts.js +0 -5
- package/app-dist/routes/avatars.js +0 -1
- package/app-dist/routes/badges.js +0 -1
- package/app-dist/routes/buttons.js +0 -1
- package/app-dist/routes/cards.js +0 -1
- package/app-dist/routes/checkboxes.js +0 -9
- package/app-dist/routes/chips.js +0 -4
- package/app-dist/routes/chunk-019e5e2f.js +0 -5
- package/app-dist/routes/chunk-0m4j19yd.js +0 -2
- package/app-dist/routes/chunk-0tmmp5q0.js +0 -1
- package/app-dist/routes/chunk-10xn709r.js +0 -1
- package/app-dist/routes/chunk-15m2qcda.js +0 -2
- package/app-dist/routes/chunk-1bh8g23n.js +0 -1
- package/app-dist/routes/chunk-1vg0v937.js +0 -1
- package/app-dist/routes/chunk-1zvcgy3j.js +0 -1
- package/app-dist/routes/chunk-2afb0861.js +0 -1
- package/app-dist/routes/chunk-2c6ttpzt.js +0 -5
- package/app-dist/routes/chunk-3dy30fhs.js +0 -1
- package/app-dist/routes/chunk-426dnces.js +0 -13
- package/app-dist/routes/chunk-44kgxery.js +0 -1
- package/app-dist/routes/chunk-47fdnejd.js +0 -33
- package/app-dist/routes/chunk-49a6t2vq.js +0 -1
- package/app-dist/routes/chunk-4fe1rm5b.js +0 -1
- package/app-dist/routes/chunk-4ggmvkta.js +0 -33
- package/app-dist/routes/chunk-4vkz81q7.js +0 -33
- package/app-dist/routes/chunk-4w4tmj8f.js +0 -31
- package/app-dist/routes/chunk-532s62kr.js +0 -31
- package/app-dist/routes/chunk-5hm3bssy.js +0 -33
- package/app-dist/routes/chunk-5vrh24hc.js +0 -1
- package/app-dist/routes/chunk-61pcg25a.js +0 -1
- package/app-dist/routes/chunk-6nfhygvf.js +0 -1
- package/app-dist/routes/chunk-700e7je6.js +0 -33
- package/app-dist/routes/chunk-7fsn17kg.js +0 -1
- package/app-dist/routes/chunk-7k789b32.js +0 -1
- package/app-dist/routes/chunk-7r46q0ys.js +0 -36
- package/app-dist/routes/chunk-86fmc1fr.js +0 -5
- package/app-dist/routes/chunk-8qth37vw.js +0 -1
- package/app-dist/routes/chunk-924wv8n0.js +0 -1
- package/app-dist/routes/chunk-9mbhgxk9.js +0 -1
- package/app-dist/routes/chunk-a216hyd9.js +0 -1
- package/app-dist/routes/chunk-akzxykh9.js +0 -33
- package/app-dist/routes/chunk-b3dcvy8c.js +0 -1
- package/app-dist/routes/chunk-b74zahz5.js +0 -31
- package/app-dist/routes/chunk-bftj53p2.js +0 -5
- package/app-dist/routes/chunk-c01hnz3e.js +0 -1
- package/app-dist/routes/chunk-d8pvv5km.js +0 -1
- package/app-dist/routes/chunk-dev0aezr.js +0 -2
- package/app-dist/routes/chunk-dh6vnv0e.js +0 -1
- package/app-dist/routes/chunk-dn2cbpva.js +0 -36
- package/app-dist/routes/chunk-dvn0my90.js +0 -1
- package/app-dist/routes/chunk-dvq8mnve.js +0 -36
- package/app-dist/routes/chunk-e8c2gc4d.js +0 -5
- package/app-dist/routes/chunk-ejf9ak2x.js +0 -1
- package/app-dist/routes/chunk-f083m55s.js +0 -1
- package/app-dist/routes/chunk-fnrj28s1.js +0 -31
- package/app-dist/routes/chunk-fvg3yjdp.js +0 -31
- package/app-dist/routes/chunk-g7k381n1.js +0 -1
- package/app-dist/routes/chunk-h01kq2ae.js +0 -13
- package/app-dist/routes/chunk-h4dk761v.js +0 -5
- package/app-dist/routes/chunk-hmx91z2x.js +0 -5
- package/app-dist/routes/chunk-hxbg4m42.js +0 -36
- package/app-dist/routes/chunk-jbjnfp2b.js +0 -2
- package/app-dist/routes/chunk-jxtz5vv6.js +0 -36
- package/app-dist/routes/chunk-jxzcs0ey.js +0 -36
- package/app-dist/routes/chunk-kt7wwhcx.js +0 -1
- package/app-dist/routes/chunk-kzptszyc.js +0 -33
- package/app-dist/routes/chunk-mhgca4w4.js +0 -2
- package/app-dist/routes/chunk-mhswxa20.js +0 -1
- package/app-dist/routes/chunk-n8zfeex6.js +0 -1
- package/app-dist/routes/chunk-pee47b2r.js +0 -1
- package/app-dist/routes/chunk-pesmw829.js +0 -1
- package/app-dist/routes/chunk-pgc4c6f3.js +0 -36
- package/app-dist/routes/chunk-q8egegm1.js +0 -1
- package/app-dist/routes/chunk-q9mn2qyq.js +0 -36
- package/app-dist/routes/chunk-qh0rtaf3.js +0 -5
- package/app-dist/routes/chunk-qqhmk6ye.js +0 -2
- package/app-dist/routes/chunk-qrxygmf7.js +0 -33
- package/app-dist/routes/chunk-r46yzksx.js +0 -36
- package/app-dist/routes/chunk-rgpbw2w0.js +0 -5
- package/app-dist/routes/chunk-rnpzv3d8.js +0 -2
- package/app-dist/routes/chunk-s5v8cv05.js +0 -2
- package/app-dist/routes/chunk-sbwn5bpc.js +0 -1
- package/app-dist/routes/chunk-sqbg8jbt.js +0 -33
- package/app-dist/routes/chunk-sv8dqnf7.js +0 -1
- package/app-dist/routes/chunk-t67sw3za.js +0 -1
- package/app-dist/routes/chunk-tjdpqwdf.js +0 -31
- package/app-dist/routes/chunk-tq2mfghg.js +0 -1
- package/app-dist/routes/chunk-ttn10vt6.js +0 -1
- package/app-dist/routes/chunk-v2hzpjxr.js +0 -1
- package/app-dist/routes/chunk-wfjjkw9y.js +0 -1
- package/app-dist/routes/chunk-wt8cxzmf.js +0 -31
- package/app-dist/routes/chunk-x45d372k.js +0 -5
- package/app-dist/routes/chunk-y3wsazkt.js +0 -1
- package/app-dist/routes/chunk-y7pmgc7t.js +0 -33
- package/app-dist/routes/chunk-zefdt2q3.js +0 -31
- package/app-dist/routes/dropdowns.js +0 -6
- package/app-dist/routes/home.js +0 -1
- package/app-dist/routes/icons.js +0 -1
- package/app-dist/routes/inputs.js +0 -12
- package/app-dist/routes/installation.js +0 -1
- package/app-dist/routes/layout.js +0 -1
- package/app-dist/routes/modals.js +0 -7
- package/app-dist/routes/navbar.js +0 -1
- package/app-dist/routes/progress.js +0 -1
- package/app-dist/routes/radios.js +0 -6
- package/app-dist/routes/switches.js +0 -6
- package/app-dist/routes/tabs.js +0 -1
- package/app-dist/routes/toasts.js +0 -16
- package/assets/fonts/material-symbols-mini.woff2 +0 -0
- package/assets/fonts/material-symbols.woff2 +0 -0
- package/assets/fonts/roboto-400.woff2 +0 -0
- package/assets/fonts/roboto-500.woff2 +0 -0
- package/assets/fonts/roboto-700.woff2 +0 -0
- package/assets/logo-banner-400.jpg +0 -0
- package/assets/logo-banner-400.webp +0 -0
- package/assets/logo-banner-800.webp +0 -0
- package/assets/logo-banner.jpg +0 -0
- package/assets/logo-icon-64.jpg +0 -0
- package/assets/logo-icon-64.webp +0 -0
- package/assets/logo-icon.jpg +0 -0
- package/assets/logo-square.jpg +0 -0
- package/bun.lock +0 -312
- package/bunfig.toml +0 -4
- package/custom-elements.json +0 -1916
- package/demo/api/sample-data.json +0 -38
- package/demo/content/alerts.html +0 -115
- package/demo/content/avatars.html +0 -70
- package/demo/content/badges.html +0 -65
- package/demo/content/buttons.html +0 -188
- package/demo/content/callouts.html +0 -91
- package/demo/content/cards.html +0 -121
- package/demo/content/checkboxes.html +0 -178
- package/demo/content/chips.html +0 -67
- package/demo/content/codeblocks.html +0 -101
- package/demo/content/confirms.html +0 -115
- package/demo/content/datatables.html +0 -149
- package/demo/content/dividers.html +0 -119
- package/demo/content/dropdowns.html +0 -89
- package/demo/content/enterprise.html +0 -252
- package/demo/content/home.html +0 -149
- package/demo/content/icons.html +0 -89
- package/demo/content/inputs.html +0 -135
- package/demo/content/installation.html +0 -16
- package/demo/content/layout.html +0 -136
- package/demo/content/modals.html +0 -141
- package/demo/content/navbar.html +0 -70
- package/demo/content/progress.html +0 -119
- package/demo/content/radios.html +0 -88
- package/demo/content/skeletons.html +0 -109
- package/demo/content/spinners.html +0 -96
- package/demo/content/switches.html +0 -84
- package/demo/content/tables.html +0 -124
- package/demo/content/tabs.html +0 -85
- package/demo/content/toasts.html +0 -116
- package/demo/content/tooltips.html +0 -107
- package/demo/content/virtual-lists.html +0 -233
- package/demo/favicon.ico +0 -0
- package/demo/favicon.png +0 -0
- package/demo/full.html +0 -52
- package/demo/iife.html +0 -46
- package/demo/manifest.json +0 -34
- package/demo/pages/datatable-demo.html +0 -237
- package/demo/pages/prompt-ui-demo.html +0 -218
- package/demo/pages/responsive-demo.html +0 -122
- package/demo/pages/schema-form-demo.html +0 -270
- package/demo/robots.txt +0 -6
- package/demo/shell.html +0 -712
- package/demo/sw.js +0 -387
- package/lighthouse-audit.mjs +0 -113
- package/scripts/analyze-components.js +0 -105
- package/scripts/build-app.js +0 -193
- package/scripts/build-framework.js +0 -444
- package/scripts/build-utils.js +0 -101
- package/scripts/test-isolated.js +0 -151
- package/server.js +0 -256
- package/tests/agents/agent-integration.test.js +0 -76
- package/tests/benchmark.html +0 -296
- package/tests/build/scan-components.test.js +0 -173
- package/tests/components/all-components.test.js +0 -245
- package/tests/components/all-missing-components.test.js +0 -574
- package/tests/components/mu-alert.test.js +0 -113
- package/tests/components/mu-avatar.test.js +0 -148
- package/tests/components/mu-badge.test.js +0 -92
- package/tests/components/mu-button.test.js +0 -112
- package/tests/components/mu-card.test.js +0 -89
- package/tests/components/mu-checkbox.test.js +0 -158
- package/tests/components/mu-chip.test.js +0 -118
- package/tests/components/mu-container.test.js +0 -120
- package/tests/components/mu-divider.test.js +0 -98
- package/tests/components/mu-drawer-item.test.js +0 -199
- package/tests/components/mu-drawer.test.js +0 -96
- package/tests/components/mu-dropdown.test.js +0 -125
- package/tests/components/mu-form.test.js +0 -138
- package/tests/components/mu-grid.test.js +0 -135
- package/tests/components/mu-icon.test.js +0 -110
- package/tests/components/mu-input.test.js +0 -131
- package/tests/components/mu-lazy.test.js +0 -103
- package/tests/components/mu-modal.test.js +0 -275
- package/tests/components/mu-navbar.test.js +0 -101
- package/tests/components/mu-progress.test.js +0 -115
- package/tests/components/mu-radio.test.js +0 -114
- package/tests/components/mu-repeat.test.js +0 -106
- package/tests/components/mu-sidebar.test.js +0 -126
- package/tests/components/mu-skeleton.test.js +0 -162
- package/tests/components/mu-stack.test.js +0 -143
- package/tests/components/mu-switch.test.js +0 -292
- package/tests/components/mu-table.test.js +0 -124
- package/tests/components/mu-tabs.test.js +0 -104
- package/tests/components/mu-textarea.test.js +0 -115
- package/tests/components/mu-toast.test.js +0 -321
- package/tests/components/mu-tooltip.test.js +0 -133
- package/tests/components/mu-virtual-list.test.js +0 -109
- package/tests/core/MuElement.test.js +0 -120
- package/tests/core/agent-api.test.js +0 -125
- package/tests/core/all-core-modules.test.js +0 -442
- package/tests/core/bus.test.js +0 -364
- package/tests/core/component-schema.test.js +0 -160
- package/tests/core/feature-registry.test.js +0 -198
- package/tests/core/form-state.test.js +0 -167
- package/tests/core/http.test.js +0 -119
- package/tests/core/keyboard.test.js +0 -319
- package/tests/core/layers.test.js +0 -129
- package/tests/core/namespaced-stores.test.js +0 -114
- package/tests/core/render.test.js +0 -121
- package/tests/core/ripple.test.js +0 -131
- package/tests/core/router.test.js +0 -89
- package/tests/core/scheduler.test.js +0 -121
- package/tests/core/signals.test.js +0 -128
- package/tests/core/store.test.js +0 -171
- package/tests/core/transitions.test.js +0 -82
- package/tests/e2e/accessibility-harness.html +0 -58
- package/tests/e2e/accessibility.test.js +0 -401
- package/tests/e2e/agent-features.test.js +0 -372
- package/tests/e2e/card-spacing.test.js +0 -287
- package/tests/e2e/components.test.js +0 -439
- package/tests/e2e/demo-routes.test.js +0 -478
- package/tests/e2e/layout-css-fallback.test.js +0 -334
- package/tests/e2e/mu-alert.e2e.test.js +0 -111
- package/tests/e2e/mu-checkbox.test.js +0 -489
- package/tests/e2e/mu-chip.test.js +0 -347
- package/tests/e2e/mu-form.test.js +0 -499
- package/tests/e2e/mu-icon.test.js +0 -114
- package/tests/e2e/mu-radio.test.js +0 -113
- package/tests/e2e/mu-skeleton.test.js +0 -140
- package/tests/e2e/mu-switch.test.js +0 -415
- package/tests/e2e/mu-tabs.test.js +0 -494
- package/tests/e2e/mu-textarea.test.js +0 -242
- package/tests/e2e/mu-virtual-list.test.js +0 -427
- package/tests/e2e/perf-memory.test.js +0 -161
- package/tests/e2e/puppeteer-helper.js +0 -137
- package/tests/e2e/puppeteer.test.js +0 -226
- package/tests/e2e/pwa.test.js +0 -261
- package/tests/e2e/test-harness.html +0 -319
- package/tests/manual/test-components.html +0 -120
- package/tests/memory-test.html +0 -309
- package/tests/setup-dom.js +0 -93
- package/tests/visual-test.html +0 -301
package/app-dist/pages.json
DELETED
|
@@ -1,217 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"pages": [
|
|
3
|
-
{
|
|
4
|
-
"route": "toasts",
|
|
5
|
-
"title": "Toasts",
|
|
6
|
-
"dependencies": [
|
|
7
|
-
"mu-toast",
|
|
8
|
-
"mu-button",
|
|
9
|
-
"mu-stack",
|
|
10
|
-
"mu-example",
|
|
11
|
-
"mu-code"
|
|
12
|
-
]
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
"route": "buttons",
|
|
16
|
-
"title": "Buttons",
|
|
17
|
-
"dependencies": [
|
|
18
|
-
"mu-button",
|
|
19
|
-
"mu-stack",
|
|
20
|
-
"mu-tabs",
|
|
21
|
-
"mu-example",
|
|
22
|
-
"mu-code",
|
|
23
|
-
"mu-api-table"
|
|
24
|
-
]
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
"route": "navbar",
|
|
28
|
-
"title": "Navbar",
|
|
29
|
-
"dependencies": [
|
|
30
|
-
"mu-navbar",
|
|
31
|
-
"mu-example",
|
|
32
|
-
"mu-code"
|
|
33
|
-
]
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
"route": "radios",
|
|
37
|
-
"title": "Radio Buttons",
|
|
38
|
-
"dependencies": [
|
|
39
|
-
"mu-radio",
|
|
40
|
-
"mu-stack",
|
|
41
|
-
"mu-tabs",
|
|
42
|
-
"mu-example",
|
|
43
|
-
"mu-code"
|
|
44
|
-
]
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
"route": "badges",
|
|
48
|
-
"title": "Badges",
|
|
49
|
-
"dependencies": [
|
|
50
|
-
"mu-badge",
|
|
51
|
-
"mu-stack",
|
|
52
|
-
"mu-example",
|
|
53
|
-
"mu-code"
|
|
54
|
-
]
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
"route": "home",
|
|
58
|
-
"title": "Home",
|
|
59
|
-
"dependencies": [
|
|
60
|
-
"mu-stack",
|
|
61
|
-
"mu-card",
|
|
62
|
-
"mu-icon"
|
|
63
|
-
]
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
"route": "progress",
|
|
67
|
-
"title": "Progress",
|
|
68
|
-
"dependencies": [
|
|
69
|
-
"mu-progress",
|
|
70
|
-
"mu-spinner",
|
|
71
|
-
"mu-stack",
|
|
72
|
-
"mu-example",
|
|
73
|
-
"mu-code"
|
|
74
|
-
]
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
"route": "tabs",
|
|
78
|
-
"title": "Tabs",
|
|
79
|
-
"dependencies": [
|
|
80
|
-
"mu-tabs",
|
|
81
|
-
"mu-stack",
|
|
82
|
-
"mu-example",
|
|
83
|
-
"mu-code"
|
|
84
|
-
]
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
"route": "layout",
|
|
88
|
-
"title": "Stack & Grid",
|
|
89
|
-
"dependencies": [
|
|
90
|
-
"mu-stack",
|
|
91
|
-
"mu-grid",
|
|
92
|
-
"mu-card",
|
|
93
|
-
"mu-example",
|
|
94
|
-
"mu-code"
|
|
95
|
-
]
|
|
96
|
-
},
|
|
97
|
-
{
|
|
98
|
-
"route": "avatars",
|
|
99
|
-
"title": "Avatars",
|
|
100
|
-
"dependencies": [
|
|
101
|
-
"mu-avatar",
|
|
102
|
-
"mu-stack",
|
|
103
|
-
"mu-example",
|
|
104
|
-
"mu-code"
|
|
105
|
-
]
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
"route": "inputs",
|
|
109
|
-
"title": "Text Fields",
|
|
110
|
-
"dependencies": [
|
|
111
|
-
"mu-input",
|
|
112
|
-
"mu-stack",
|
|
113
|
-
"mu-tabs",
|
|
114
|
-
"mu-example",
|
|
115
|
-
"mu-code",
|
|
116
|
-
"mu-api-table"
|
|
117
|
-
]
|
|
118
|
-
},
|
|
119
|
-
{
|
|
120
|
-
"route": "checkboxes",
|
|
121
|
-
"title": "Checkboxes",
|
|
122
|
-
"dependencies": [
|
|
123
|
-
"mu-checkbox",
|
|
124
|
-
"mu-stack",
|
|
125
|
-
"mu-tabs",
|
|
126
|
-
"mu-example",
|
|
127
|
-
"mu-code"
|
|
128
|
-
]
|
|
129
|
-
},
|
|
130
|
-
{
|
|
131
|
-
"route": "switches",
|
|
132
|
-
"title": "Switches",
|
|
133
|
-
"dependencies": [
|
|
134
|
-
"mu-switch",
|
|
135
|
-
"mu-stack",
|
|
136
|
-
"mu-tabs",
|
|
137
|
-
"mu-example",
|
|
138
|
-
"mu-code"
|
|
139
|
-
]
|
|
140
|
-
},
|
|
141
|
-
{
|
|
142
|
-
"route": "chips",
|
|
143
|
-
"title": "Chips",
|
|
144
|
-
"dependencies": [
|
|
145
|
-
"mu-chip",
|
|
146
|
-
"mu-stack",
|
|
147
|
-
"mu-example",
|
|
148
|
-
"mu-code"
|
|
149
|
-
]
|
|
150
|
-
},
|
|
151
|
-
{
|
|
152
|
-
"route": "cards",
|
|
153
|
-
"title": "Cards",
|
|
154
|
-
"dependencies": [
|
|
155
|
-
"mu-card",
|
|
156
|
-
"mu-stack",
|
|
157
|
-
"mu-tabs",
|
|
158
|
-
"mu-example",
|
|
159
|
-
"mu-code",
|
|
160
|
-
"mu-api-table"
|
|
161
|
-
]
|
|
162
|
-
},
|
|
163
|
-
{
|
|
164
|
-
"route": "modals",
|
|
165
|
-
"title": "Modals",
|
|
166
|
-
"dependencies": [
|
|
167
|
-
"mu-modal",
|
|
168
|
-
"mu-button",
|
|
169
|
-
"mu-stack",
|
|
170
|
-
"mu-example",
|
|
171
|
-
"mu-code"
|
|
172
|
-
]
|
|
173
|
-
},
|
|
174
|
-
{
|
|
175
|
-
"route": "icons",
|
|
176
|
-
"title": "Icons",
|
|
177
|
-
"dependencies": [
|
|
178
|
-
"mu-icon",
|
|
179
|
-
"mu-grid",
|
|
180
|
-
"mu-stack",
|
|
181
|
-
"mu-example",
|
|
182
|
-
"mu-code"
|
|
183
|
-
]
|
|
184
|
-
},
|
|
185
|
-
{
|
|
186
|
-
"route": "installation",
|
|
187
|
-
"title": "Installation",
|
|
188
|
-
"dependencies": [
|
|
189
|
-
"mu-stack",
|
|
190
|
-
"mu-card",
|
|
191
|
-
"mu-code"
|
|
192
|
-
]
|
|
193
|
-
},
|
|
194
|
-
{
|
|
195
|
-
"route": "alerts",
|
|
196
|
-
"title": "Alerts",
|
|
197
|
-
"dependencies": [
|
|
198
|
-
"mu-alert",
|
|
199
|
-
"mu-stack",
|
|
200
|
-
"mu-example",
|
|
201
|
-
"mu-code"
|
|
202
|
-
]
|
|
203
|
-
},
|
|
204
|
-
{
|
|
205
|
-
"route": "dropdowns",
|
|
206
|
-
"title": "Dropdowns",
|
|
207
|
-
"dependencies": [
|
|
208
|
-
"mu-dropdown",
|
|
209
|
-
"mu-stack",
|
|
210
|
-
"mu-tabs",
|
|
211
|
-
"mu-example",
|
|
212
|
-
"mu-code"
|
|
213
|
-
]
|
|
214
|
-
}
|
|
215
|
-
],
|
|
216
|
-
"generated": "2026-01-29T05:48:58.305Z"
|
|
217
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import"./chunk-7r46q0ys.js";import"./chunk-tjdpqwdf.js";import"./chunk-1zvcgy3j.js";import{b as i,c as a}from"./chunk-rnpzv3d8.js";class r extends i{static baseClass="mu-alert";static observedAttributes=["severity","dismissible"];#e=null;#s=null;connectedCallback(){if(super.connectedCallback(),!this.#s&&!this.querySelector(".mu-alert__content"))this.#s=this.innerHTML;this.addEventListener("click",(s)=>{if(s.target.classList.contains("mu-alert__close"))this.emit("mu-dismiss"),this.remove()})}render(){if(this.querySelector(".mu-alert__content")){this.#t();return}let s=this.attr("severity","info"),e=this.has("dismissible"),t={success:"success",error:"error",warning:"warning",info:"info"},n=this.#s||"",l=t[s]||t.info;this.innerHTML=`
|
|
2
|
-
<mu-icon name="${l}" size="24" class="mu-alert__icon"></mu-icon>
|
|
3
|
-
<span class="mu-alert__content">${n}</span>
|
|
4
|
-
${e?'<button class="mu-alert__close" aria-label="Dismiss"><mu-icon name="close" size="18"></mu-icon></button>':""}
|
|
5
|
-
`,this.#t()}update(s,e,t){this.#t()}#t(){let s=this.attr("severity","info");this.className=`mu-alert mu-alert--${s}`}}a("mu-alert",r);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./chunk-7r46q0ys.js";import"./chunk-tjdpqwdf.js";import"./chunk-1zvcgy3j.js";import{b as n,c as h}from"./chunk-rnpzv3d8.js";class o extends n{static baseClass="mu-avatar";static cssFile="avatar";static observedAttributes=["src","alt","initials","size"];render(){let r=this.attr("src",""),s=this.attr("alt",""),t=this.attr("initials",""),e=this.attr("size","md"),l={sm:"32px",md:"40px",lg:"56px",xl:"80px"},p={sm:"12px",md:"14px",lg:"20px",xl:"28px"};this.style.width=l[e]||e,this.style.height=l[e]||e,this.style.borderRadius="50%",this.style.display="inline-flex",this.style.alignItems="center",this.style.justifyContent="center",this.style.overflow="hidden",this.style.background="var(--md-sys-color-primary-container)",this.style.color="var(--md-sys-color-on-primary-container)",this.style.fontSize=p[e]||"14px",this.style.fontWeight="600",this.innerHTML="";let a="";if(s)a=s.split(" ").map((i)=>i[0]).join("").toUpperCase().slice(0,2);if(r){let i=document.createElement("img");i.src=r,i.alt=s,i.style.cssText="width:100%;height:100%;object-fit:cover;",i.onerror=()=>{this.innerHTML="",this.#t(t,a)},this.appendChild(i)}else this.#t(t,a)}#t(r,s){if(r){let t=document.createElement("span");t.textContent=r.toUpperCase().slice(0,2),this.appendChild(t)}else if(s){let t=document.createElement("span");t.textContent=s,this.appendChild(t)}else{let t=document.createElementNS("http://www.w3.org/2000/svg","svg");t.setAttribute("width","60%"),t.setAttribute("height","60%"),t.setAttribute("viewBox","0 0 16 16"),t.setAttribute("fill","currentColor");let e=document.createElementNS("http://www.w3.org/2000/svg","path");e.setAttribute("d","M10.561 8.073a6.005 6.005 0 0 1 3.432 5.142.75.75 0 0 1-1.498.07 4.5 4.5 0 0 0-8.99 0 .75.75 0 0 1-1.498-.07 6.004 6.004 0 0 1 3.431-5.142 3.999 3.999 0 1 1 5.123 0ZM10.5 5a2.5 2.5 0 1 0-5 0 2.5 2.5 0 0 0 5 0Z"),t.appendChild(e),this.appendChild(t)}}update(r,s,t){this.render()}}h("mu-avatar",o);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./chunk-7r46q0ys.js";import"./chunk-tjdpqwdf.js";import"./chunk-1zvcgy3j.js";import{b as t,c as s}from"./chunk-rnpzv3d8.js";class i extends t{static baseClass="mu-badge";static cssFile="badge";static observedAttributes=["variant","size"];connectedCallback(){super.connectedCallback(),this.#a()}render(){this.#a()}update(a,e,r){this.#a()}#a(){let a=this.attr("variant","primary"),e=this.attr("size","md");this.className=`mu-badge mu-badge--${a} mu-badge--${e}`}}s("mu-badge",i);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./chunk-4ggmvkta.js";import"./chunk-7k789b32.js";import"./chunk-h01kq2ae.js";import"./chunk-1bh8g23n.js";import"./chunk-7r46q0ys.js";import"./chunk-tjdpqwdf.js";import"./chunk-1zvcgy3j.js";import"./chunk-rnpzv3d8.js";
|
package/app-dist/routes/cards.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./chunk-4ggmvkta.js";import"./chunk-10xn709r.js";import"./chunk-1bh8g23n.js";import"./chunk-7r46q0ys.js";import"./chunk-tjdpqwdf.js";import"./chunk-1zvcgy3j.js";import"./chunk-rnpzv3d8.js";
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import{a as d}from"./chunk-h01kq2ae.js";import"./chunk-1bh8g23n.js";import"./chunk-7r46q0ys.js";import"./chunk-tjdpqwdf.js";import"./chunk-1zvcgy3j.js";import{b as l,c as h}from"./chunk-rnpzv3d8.js";class m extends l{static baseClass="mu-checkbox";static cssFile="checkbox";static observedAttributes=["checked","disabled","name","label","indeterminate"];#t=null;connectedCallback(){super.connectedCallback(),this.setAttribute("role","checkbox"),this.setupActivation(()=>this.toggle()),this.addEventListener("pointerdown",(e)=>{if(!this.isDisabled)d(this,e)}),this.addEventListener("click",()=>{if(!this.isDisabled)this.toggle()})}render(){if(this.querySelector(".mu-checkbox__box")){this.#e();return}let e=this.attr("label","")||this.textContent;this.innerHTML=`
|
|
2
|
-
<span class="mu-checkbox__box">
|
|
3
|
-
<svg class="mu-checkbox__icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round">
|
|
4
|
-
<path class="mu-checkbox__check" d="M4 12l6 6L20 6"/>
|
|
5
|
-
<line class="mu-checkbox__indeterminate" x1="5" y1="12" x2="19" y2="12"/>
|
|
6
|
-
</svg>
|
|
7
|
-
</span>
|
|
8
|
-
<span class="mu-checkbox__label">${e}</span>
|
|
9
|
-
`,this.style.display="inline-flex",this.style.alignItems="center",this.style.gap="12px",this.style.cursor=this.has("disabled")?"not-allowed":"pointer",this.style.userSelect="none",this.style.minHeight="48px",this.style.padding="0 4px",this.#e()}update(e,s,i){this.#e()}#e(){let e=this.querySelector(".mu-checkbox__box"),s=this.querySelector(".mu-checkbox__icon"),i=this.querySelector(".mu-checkbox__check"),r=this.querySelector(".mu-checkbox__indeterminate"),c=this.querySelector(".mu-checkbox__label"),t=this.has("disabled"),o=this.has("checked"),a=this.has("indeterminate"),n=o||a;if(this.style.cursor=t?"not-allowed":"pointer",e)if(e.style.width="18px",e.style.height="18px",e.style.borderRadius="2px",e.style.display="flex",e.style.alignItems="center",e.style.justifyContent="center",e.style.transition="all var(--md-sys-motion-duration-short4) var(--md-sys-motion-easing-standard)",e.style.flexShrink="0",t)e.style.border="2px solid color-mix(in srgb, var(--md-sys-color-on-surface) 38%, transparent)",e.style.background=n?"color-mix(in srgb, var(--md-sys-color-on-surface) 38%, transparent)":"transparent";else e.style.border=`2px solid ${n?"var(--md-sys-color-primary)":"var(--md-sys-color-outline)"}`,e.style.background=n?"var(--md-sys-color-primary)":"transparent";if(s)s.style.width="14px",s.style.height="14px",s.style.color=t?"var(--md-sys-color-surface)":"var(--md-sys-color-on-primary)";if(i)i.style.strokeDasharray=24,i.style.strokeDashoffset=o&&!a?"0":24,i.style.transition="stroke-dashoffset 200ms var(--md-sys-motion-easing-standard, ease-out)";if(r)r.style.strokeDasharray=14,r.style.strokeDashoffset=a?"0":14,r.style.transition="stroke-dashoffset 200ms var(--md-sys-motion-easing-standard, ease-out)";if(c)c.style.color=t?"color-mix(in srgb, var(--md-sys-color-on-surface) 38%, transparent)":"var(--md-sys-color-on-surface)";this.setAttribute("aria-checked",a?"mixed":String(o)),this.setAttribute("aria-disabled",String(t)),this.setAttribute("tabindex",t?"-1":"0")}toggle(){if(this.has("indeterminate"))this.removeAttribute("indeterminate");if(this.has("checked"))this.removeAttribute("checked");else this.setAttribute("checked","");this.emit("mu-change",{checked:this.has("checked"),indeterminate:!1})}get checked(){return this.has("checked")}set checked(e){if(e)this.setAttribute("checked","");else this.removeAttribute("checked")}get indeterminate(){return this.has("indeterminate")}set indeterminate(e){if(e)this.setAttribute("indeterminate","");else this.removeAttribute("indeterminate")}}h("mu-checkbox",m);
|
package/app-dist/routes/chips.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import{a as l}from"./chunk-h01kq2ae.js";import"./chunk-7r46q0ys.js";import"./chunk-tjdpqwdf.js";import"./chunk-1zvcgy3j.js";import{b as i,c as r}from"./chunk-rnpzv3d8.js";class a extends i{static baseClass="mu-chip";static cssFile="chip";static observedAttributes=["selected","removable","variant"];#e=null;connectedCallback(){if(super.connectedCallback(),!this.#e&&!this.querySelector(".mu-chip__label"))this.#e=this.textContent.trim();this.addEventListener("pointerdown",(e)=>{if(!e.target.closest(".mu-chip__remove"))l(this,e)}),this.addEventListener("click",(e)=>{if(e.target.closest(".mu-chip__remove"))this.emit("mu-remove"),this.remove();else if(!this.has("removable"))this.toggle()})}render(){if(this.querySelector(".mu-chip__label")){this.#t();return}let e=this.#e||this.textContent.trim(),s=this.has("removable");this.innerHTML=`
|
|
2
|
-
<span class="mu-chip__label">${e}</span>
|
|
3
|
-
${s?'<button class="mu-chip__remove" aria-label="Remove">✕</button>':""}
|
|
4
|
-
`,this.#t()}update(e,s,t){this.#t()}#t(){let e=this.has("selected"),s=this.attr("variant","outlined");if(this.style.display="inline-flex",this.style.alignItems="center",this.style.gap="4px",this.style.padding="8px 16px",this.style.borderRadius="8px",this.style.fontSize="var(--md-sys-typescale-label-large-size, 14px)",this.style.cursor="pointer",this.style.userSelect="none",this.style.transition="all var(--md-sys-motion-duration-short4) var(--md-sys-motion-easing-standard)",s==="filled"||e)this.style.background=e?"var(--md-sys-color-secondary-container)":"var(--md-sys-color-surface-container-high)",this.style.color=e?"var(--md-sys-color-on-secondary-container)":"var(--md-sys-color-on-surface)",this.style.border="1px solid transparent";else this.style.background="transparent",this.style.color="var(--md-sys-color-on-surface)",this.style.border="1px solid var(--md-sys-color-outline)";let t=this.querySelector(".mu-chip__remove");if(t)t.style.background="none",t.style.border="none",t.style.padding="0",t.style.marginLeft="4px",t.style.cursor="pointer",t.style.color="inherit",t.style.opacity="0.7"}toggle(){if(this.has("selected"))this.removeAttribute("selected");else this.setAttribute("selected","");this.emit("mu-change",{selected:this.has("selected")})}}r("mu-chip",a);
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import{b as i,c as t}from"./chunk-qqhmk6ye.js";var s={check:"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z",close:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z",add:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z",remove:"M19 13H5v-2h14z",edit:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75z",delete:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM19 4h-3.5l-1-1h-5l-1 1H5v2h14z",search:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z",menu:"M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z",chevron_right:"M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z",chevron_left:"M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z",expand_more:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z",expand_less:"M12 8l-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z",home:"M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z",arrow_back:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20z",arrow_forward:"M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z",info:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2zm0-8h-2V7h2z",warning:"M1 21h22L12 2zm12-3h-2v-2h2zm0-4h-2v-4h2z",error:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2zm0-4h-2V7h2z",check_circle:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8z",cancel:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12z",success:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8z",settings:"M19.14 12.94c.04-.31.06-.63.06-.94 0-.31-.02-.63-.06-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.04.31-.06.63-.06.94s.02.63.06.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6z",person:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z",light_mode:"M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5M2 13h2c.55 0 1-.45 1-1s-.45-1-1-1H2c-.55 0-1 .45-1 1s.45 1 1 1m18 0h2c.55 0 1-.45 1-1s-.45-1-1-1h-2c-.55 0-1 .45-1 1s.45 1 1 1M11 2v2c0 .55.45 1 1 1s1-.45 1-1V2c0-.55-.45-1-1-1s-1 .45-1 1m0 18v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1M5.99 4.58c-.39-.39-1.03-.39-1.41 0-.39.39-.39 1.03 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0s.39-1.03 0-1.41zm12.37 12.37c-.39-.39-1.03-.39-1.41 0-.39.39-.39 1.03 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0 .39-.39.39-1.03 0-1.41zm1.06-10.96c.39-.39.39-1.03 0-1.41-.39-.39-1.03-.39-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0zM7.05 18.36c.39-.39.39-1.03 0-1.41-.39-.39-1.03-.39-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0z",dark_mode:"M12 3c-4.97 0-9 4.03-9 9s4.03 9 9 9 9-4.03 9-9c0-.46-.04-.92-.1-1.36-.98 1.37-2.58 2.26-4.4 2.26-2.98 0-5.4-2.42-5.4-5.4 0-1.81.89-3.42 2.26-4.4-.44-.06-.9-.1-1.36-.1z",visibility:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5M12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5m0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3",visibility_off:"M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7M2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2m4.31-.78 3.15 3.15.02-.16c0-1.66-1.34-3-3-3z",download:"M5 20h14v-2H5v2zM19 9h-4V3H9v6H5l7 7 7-7z",smart_button:"M22 9v6c0 1.1-.9 2-2 2h-1v-2h1V9H4v6h6v2H4c-1.1 0-2-.9-2-2V9c0-1.1.9-2 2-2h16c1.1 0 2 .9 2 2zm-7.5 11 1.09-2.41L18 16.5l-2.41-1.09L14.5 13l-1.09 2.41L11 16.5l2.41 1.09L14.5 20zm2.5-5 .62-1.38L19 14l-1.38-.62L17 12l-.62 1.38L15 14l1.38.62L17 16zm-2.5 5 1.09-2.41L18 16.5l-2.41-1.09L14.5 13l-1.09 2.41L11 16.5l2.41 1.09L14.5 20z",text_fields:"M2.5 4v3h5v12h3V7h5V4h-13zm19 5h-9v3h3v7h3v-7h3V9z",check_box:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z",toggle_on:"M17 7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h10c2.76 0 5-2.24 5-5s-2.24-5-5-5zm0 8c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3z",radio_button_checked:"M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm0-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z",arrow_drop_down_circle:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 12-4-4h8l-4 4z",view_carousel:"M7 19h10V4H7v15zm-5-2h4V6H2v11zM18 6v11h4V6h-4z",grid_view:"M3 3v8h8V3H3zm6 6H5V5h4v4zm-6 4v8h8v-8H3zm6 6H5v-4h4v4zm4-16v8h8V3h-8zm6 6h-4V5h4v4zm-6 4v8h8v-8h-8zm6 6h-4v-4h4v4z",tab:"M21 3H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H3V5h10v4h8v10z",notifications:"M12 22c1.1 0 2-.9 2-2h-4c0 1.1.89 2 2 2zm6-6v-5c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2z",open_in_new:"M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z",hourglass_empty:"M6 2v6h.01L6 8.01 10 12l-4 4 .01.01H6V22h12v-5.99h-.01L18 16l-4-4 4-3.99-.01-.01H18V2H6zm10 14.5V20H8v-3.5l4-4 4 4zm-4-5-4-4V4h8v3.5l-4 4z",account_circle:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 4c1.93 0 3.5 1.57 3.5 3.5S13.93 13 12 13s-3.5-1.57-3.5-3.5S10.07 6 12 6zm0 14c-2.03 0-4.43-.82-6.14-2.88C7.55 15.8 9.68 15 12 15s4.45.8 6.14 2.12C16.43 19.18 14.03 20 12 20z",fiber_manual_record:"M12 12m-8 0a8 8 0 1 0 16 0 8 8 0 1 0-16 0",label:"M17.63 5.84C17.27 5.33 16.67 5 16 5L5 5.01C3.9 5.01 3 5.9 3 7v10c0 1.1.9 1.99 2 1.99L16 19c.67 0 1.27-.33 1.63-.84L22 12l-4.37-6.16z",emoji_emotions:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm3.5-9c.83 0 1.5-.67 1.5-1.5S16.33 8 15.5 8 14 8.67 14 9.5s.67 1.5 1.5 1.5zm-7 0c.83 0 1.5-.67 1.5-1.5S9.33 8 8.5 8 7 8.67 7 9.5 7.67 11 8.5 11zm3.5 6.5c2.33 0 4.31-1.46 5.11-3.5H6.89c.8 2.04 2.78 3.5 5.11 3.5z",business:"M12 7V3H2v18h20V7H12zM6 19H4v-2h2v2zm0-4H4v-2h2v2zm0-4H4V9h2v2zm0-4H4V5h2v2zm4 12H8v-2h2v2zm0-4H8v-2h2v2zm0-4H8V9h2v2zm0-4H8V5h2v2zm10 12h-8v-2h2v-2h-2v-2h2v-2h-2V9h8v10zm-2-8h-2v2h2v-2zm0 4h-2v2h2v-2z",input:"M21 3.01H3c-1.1 0-2 .9-2 2V9h2V4.99h18v14.03H3V15H1v4.01c0 1.1.9 1.98 2 1.98h18c1.1 0 2-.88 2-1.98v-14c0-1.11-.9-2-2-2zM11 16l4-4-4-4v3H1v2h10v3z",category:"M12 2l-5.5 9h11L12 2zm0 3.84L13.93 9h-3.87L12 5.84zM17.5 13c-2.49 0-4.5 2.01-4.5 4.5s2.01 4.5 4.5 4.5 4.5-2.01 4.5-4.5-2.01-4.5-4.5-4.5zm0 7c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5zM3 21.5h8v-8H3v8zm2-6h4v4H5v-4z",widgets:"M13 13v8h8v-8h-8zM3 21h8v-8H3v8zM3 3v8h8V3H3zm13.66-1.31L11 7.34 16.66 13l5.66-5.66-5.66-5.65z",smart_toy:"M20 9V7c0-1.1-.9-2-2-2h-3c0-1.66-1.34-3-3-3S9 3.34 9 5H6c-1.1 0-2 .9-2 2v2c-1.66 0-3 1.34-3 3s1.34 3 3 3v4c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-4c1.66 0 3-1.34 3-3s-1.34-3-3-3zM7.5 11.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5S9.83 13 9 13s-1.5-.67-1.5-1.5zM16 17H8v-2h8v2zm-1-4c-.83 0-1.5-.67-1.5-1.5S14.17 10 15 10s1.5.67 1.5 1.5S15.83 13 15 13z",notification_important:"M18 16v-5c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2zm-6 6c1.1 0 2-.9 2-2h-4c0 1.1.89 2 2 2zm1-15.06c1.77.52 3 2.14 3 4.06v5.5l1 1v.5H7v-.5l1-1V11c0-1.92 1.23-3.54 3-4.06V5.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5v.94zM13 11h-2v6h2v-6zm0-4h-2v2h2V7z",folder_managed:"M20 6h-8l-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm-2.06 11L15 15.28 12.06 17l.78-3.33-2.59-2.24 3.41-.29L15 8l1.34 3.14 3.41.29-2.59 2.24.78 3.33z",shield:"M12 1L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4zm0 10.99h7c-.53 4.12-3.28 7.79-7 8.94V12H5V6.3l7-3.11v8.8z",apps:"M4 8h4V4H4v4zm6 12h4v-4h-4v4zm-6 0h4v-4H4v4zm0-6h4v-4H4v4zm6 0h4v-4h-4v4zm6-10v4h4V4h-4zm-6 4h4V4h-4v4zm6 6h4v-4h-4v4zm0 6h4v-4h-4v4z",monitoring:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zM7 12h2v5H7v-5zm4-3h2v8h-2V9zm4-3h2v11h-2V6z"},h={check:"check",close:"close",add:"add",remove:"remove",edit:"edit",delete:"delete",search:"search",menu:"menu",chevron_right:"chevron_right",chevron_left:"chevron_left",expand_more:"expand_more",expand_less:"expand_less",home:"home",arrow_back:"arrow_back",arrow_forward:"arrow_forward",info:"info",warning:"warning",error:"error",success:"check_circle",check_circle:"check_circle",cancel:"cancel",settings:"settings",person:"person",light_mode:"light_mode",dark_mode:"dark_mode",sun:"light_mode",moon:"dark_mode",user:"person",visibility:"visibility",visibility_off:"visibility_off",download:"download",smart_button:"smart_button",text_fields:"text_fields",check_box:"check_box",toggle_on:"toggle_on",radio_button_checked:"radio_button_checked",arrow_drop_down_circle:"arrow_drop_down_circle",view_carousel:"view_carousel",grid_view:"grid_view",tab:"tab",notifications:"notifications",open_in_new:"open_in_new",hourglass_empty:"hourglass_empty",account_circle:"account_circle",fiber_manual_record:"fiber_manual_record",label:"label",emoji_emotions:"emoji_emotions",business:"business",input:"input",category:"category",widgets:"widgets",smart_toy:"smart_toy",notification_important:"notification_important",folder_managed:"folder_managed",shield:"shield",apps:"apps",monitoring:"monitoring",plus:"add",minus:"remove"};class z extends i{static baseClass="mu-icon";static observedAttributes=["name","size","svg","filled","font"];render(){let c=this.attr("name","info"),e=this.attr("size","24"),l=this.has("font"),r=this.has("filled"),n=h[c]?c:c,o=s[c]||s[h[c]];if(!l&&o){this.innerHTML=`
|
|
2
|
-
<svg width="${e}" height="${e}" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true">
|
|
3
|
-
<path d="${o}"></path>
|
|
4
|
-
</svg>
|
|
5
|
-
`;return}let m=h[c]||c;this.innerHTML=`<span class="material-symbols-outlined" aria-hidden="true">${m}</span>`;let v=this.querySelector("span");if(v){if(v.style.fontSize=`${e}px`,r)v.style.fontVariationSettings="'FILL' 1"}}update(c,e,l){this.render()}}var _=Object.keys(h),d=Object.keys(s);t("mu-icon",z);
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
class n extends HTMLElement{static observedAttributes=[];static baseClass="";static useContainment=!0;_rendered=!1;_abortController=null;_timers=new Set;_intervals=new Set;constructor(){super();this._initAgentLogger()}_initAgentLogger(){if(!window.__MICROUI_ERRORS__)window.__MICROUI_ERRORS__=[];if(!window.microUIAgent)window.microUIAgent={reset:()=>{window.__MICROUI_ERRORS__=[],console.log("[microUIAgent] Errors cleared")},getErrors:()=>window.__MICROUI_ERRORS__,hasError:(t,e)=>{return window.__MICROUI_ERRORS__.some((i)=>i.component===t.toLowerCase()&&i.code===e)}}}logError(t,e){let i={component:this.tagName.toLowerCase(),code:t,message:e,element:this,timestamp:Date.now()};window.__MICROUI_ERRORS__.push(i),console.warn(`[microUI] ${t}: ${e}`,this)}connectedCallback(){if(this._abortController=new AbortController,this.constructor.baseClass)this.classList.add(this.constructor.baseClass);if(this.constructor.useContainment&&!this.style.contain)this.style.contain="layout style";if(!this._rendered)this.render(),this._rendered=!0;this._inferSemanticAttributes()}_inferSemanticAttributes(){let t=this.tagName.toLowerCase();if(this.hasAttribute("data-mu-action"))return;let e="",i="";switch(t){case"mu-button":e=this._inferButtonAction(),i=this._inferButtonRole();break;case"mu-input":case"mu-textarea":e="input",i="text-field";break;case"mu-checkbox":case"mu-switch":e="toggle",i="control";break;case"mu-dropdown":e="select",i="selector";break;case"mu-modal":e="dialog",i="overlay";break;case"mu-tabs":e="navigate",i="navigation";break;case"mu-card":i="container";break}if(e)this.setAttribute("data-mu-action",e);if(i)this.setAttribute("data-mu-role",i)}_inferButtonAction(){let t=this.textContent?.toLowerCase().trim()||"";if(/^(save|submit|confirm|send|create|add|apply|ok|yes)$/.test(t))return"submit";if(/^(cancel|close|dismiss|no|nevermind)$/.test(t))return"cancel";if(/^(delete|remove|clear|trash)$/.test(t))return"delete";if(/^(back|next|previous|forward|continue)$/.test(t))return"navigate";return"click"}_inferButtonRole(){let t=this.getAttribute("variant");if(t==="filled"||t==="elevated")return"primary-action";if(t==="tonal"||t==="outlined")return"secondary-action";if(t==="text")return"tertiary-action";if(t==="danger")return"destructive-action";return"action"}disconnectedCallback(){if(this._abortController)this._abortController.abort(),this._abortController=null;for(let t of this._timers)clearTimeout(t);this._timers.clear();for(let t of this._intervals)clearInterval(t);this._intervals.clear(),this.cleanup()}cleanup(){}attributeChangedCallback(t,e,i){if(e!==i&&this._rendered)this.update(t,i,e)}render(){}update(t,e,i){}attr(t,e=""){return this.getAttribute(t)??e}has(t){return this.hasAttribute(t)}emit(t,e={}){this.dispatchEvent(new CustomEvent(t,{bubbles:!0,composed:!0,detail:e}))}listen(t,e,i,r={}){if(!this._abortController)this._abortController=new AbortController;let s={...r,signal:this._abortController.signal};t.addEventListener(e,i,s)}setTimeout(t,e){let i=setTimeout(()=>{this._timers.delete(i),t()},e);return this._timers.add(i),i}setInterval(t,e){let i=setInterval(t,e);return this._intervals.add(i),i}setupActivation(t){this.updateTabindex(),this.addEventListener("keydown",(e)=>{if((e.key==="Enter"||e.key===" ")&&!this.has("disabled"))e.preventDefault(),t()})}updateTabindex(){this.setAttribute("tabindex",this.has("disabled")?"-1":"0")}setDisplay(t){this.style.display=t}get isDisabled(){return this.has("disabled")}}function a(t,e){if(!customElements.get(t))customElements.define(t,e)}
|
|
2
|
-
export{n as b,a as c};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as e,c as r}from"./chunk-s5v8cv05.js";class a extends e{static baseClass="mu-grid";static cssFile="grid";static observedAttributes=["cols","rows","gap","align"];render(){this.#s()}update(t,s,i){this.#s()}#s(){let t=this.attr("cols","1"),s=this.attr("rows",""),i=this.attr("gap","md"),l=this.attr("align","stretch"),d={none:"0",xs:"4px",sm:"8px",md:"16px",lg:"24px",xl:"32px"};if(this.style.display="grid",this.style.gridTemplateColumns=t.includes("fr")||t.includes("px")?t:`repeat(${t}, 1fr)`,s)this.style.gridTemplateRows=s.includes("fr")||s.includes("px")?s:`repeat(${s}, 1fr)`;this.style.gap=d[i]||i,this.style.alignItems=l}}r("mu-grid",a);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as s,c as d}from"./chunk-rnpzv3d8.js";class r extends s{static baseClass="mu-card";static cssFile="card";static observedAttributes=["variant","padding"];connectedCallback(){super.connectedCallback(),this.#a()}render(){this.#a()}update(a,t,c){this.#a()}#a(){let a=this.attr("variant","flat"),t=this.attr("padding","md");this.className=`mu-card mu-card--${a} mu-card--padding-${t}`}}d("mu-card",r);
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
class a extends HTMLElement{static observedAttributes=[];static baseClass="";static cssFile=null;static _loadedCSS=new Set;static useContainment=!0;_rendered=!1;_abortController=null;_timers=new Set;_intervals=new Set;constructor(){super();this._initAgentLogger()}_initAgentLogger(){if(!window.__MICROUI_ERRORS__)window.__MICROUI_ERRORS__=[];if(!window.microUIAgent)window.microUIAgent={reset:()=>{window.__MICROUI_ERRORS__=[],console.log("[microUIAgent] Errors cleared")},getErrors:()=>window.__MICROUI_ERRORS__,hasError:(t,e)=>{return window.__MICROUI_ERRORS__.some((s)=>s.component===t.toLowerCase()&&s.code===e)}}}logError(t,e){let s={component:this.tagName.toLowerCase(),code:t,message:e,element:this,timestamp:Date.now()};window.__MICROUI_ERRORS__.push(s),console.warn(`[microUI] ${t}: ${e}`,this)}connectedCallback(){if(this._abortController=new AbortController,this.constructor.baseClass)this.classList.add(this.constructor.baseClass);if(this.constructor.useContainment&&!this.style.contain)this.style.contain="layout style";if(!this._rendered)this.render(),this._rendered=!0;this._loadComponentCSS(),this._inferSemanticAttributes()}_loadComponentCSS(){let t=this.constructor.cssFile;if(!t)return;if(a._loadedCSS.has(t))return;a._loadedCSS.add(t);let e=document.createElement("link");e.id=`mu-css-${t}`,e.rel="stylesheet";let s="/styles/",n=document.querySelector('link[href*="/styles/"]');if(n){let r=n.href.match(/(.*\/(?:src\/|dist\/)?styles\/)/);if(r)s=r[1]}else{let r=document.querySelector('link[href*="/dist/"]');if(r){let i=r.href.match(/(.*\/dist\/)/);if(i)s=i[1]+"styles/"}else{let i=document.querySelector('script[src*="/src/"]');if(i){let o=i.src.match(/(.*\/src\/)/);if(o)s=o[1]+"styles/"}}}e.href=`${s}components/${t}.css`,document.head.appendChild(e)}_inferSemanticAttributes(){let t=this.tagName.toLowerCase();if(this.hasAttribute("data-mu-action"))return;let e="",s="";switch(t){case"mu-button":e=this._inferButtonAction(),s=this._inferButtonRole();break;case"mu-input":case"mu-textarea":e="input",s="text-field";break;case"mu-checkbox":case"mu-switch":e="toggle",s="control";break;case"mu-dropdown":e="select",s="selector";break;case"mu-modal":e="dialog",s="overlay";break;case"mu-tabs":e="navigate",s="navigation";break;case"mu-card":s="container";break}if(e)this.setAttribute("data-mu-action",e);if(s)this.setAttribute("data-mu-role",s)}_inferButtonAction(){let t=this.textContent?.toLowerCase().trim()||"";if(/^(save|submit|confirm|send|create|add|apply|ok|yes)$/.test(t))return"submit";if(/^(cancel|close|dismiss|no|nevermind)$/.test(t))return"cancel";if(/^(delete|remove|clear|trash)$/.test(t))return"delete";if(/^(back|next|previous|forward|continue)$/.test(t))return"navigate";return"click"}_inferButtonRole(){let t=this.getAttribute("variant");if(t==="filled"||t==="elevated")return"primary-action";if(t==="tonal"||t==="outlined")return"secondary-action";if(t==="text")return"tertiary-action";if(t==="danger")return"destructive-action";return"action"}disconnectedCallback(){if(this._abortController)this._abortController.abort(),this._abortController=null;for(let t of this._timers)clearTimeout(t);this._timers.clear();for(let t of this._intervals)clearInterval(t);this._intervals.clear(),this.cleanup()}cleanup(){}attributeChangedCallback(t,e,s){if(e!==s&&this._rendered)this.update(t,s,e)}render(){}update(t,e,s){}attr(t,e=""){return this.getAttribute(t)??e}has(t){return this.hasAttribute(t)}emit(t,e={}){this.dispatchEvent(new CustomEvent(t,{bubbles:!0,composed:!0,detail:e}))}listen(t,e,s,n={}){if(!this._abortController)this._abortController=new AbortController;let r={...n,signal:this._abortController.signal};t.addEventListener(e,s,r)}setTimeout(t,e){let s=setTimeout(()=>{this._timers.delete(s),t()},e);return this._timers.add(s),s}setInterval(t,e){let s=setInterval(t,e);return this._intervals.add(s),s}setupActivation(t){this.updateTabindex(),this.addEventListener("keydown",(e)=>{if((e.key==="Enter"||e.key===" ")&&!this.has("disabled"))e.preventDefault(),t()})}updateTabindex(){this.setAttribute("tabindex",this.has("disabled")?"-1":"0")}setDisplay(t){this.style.display=t}get isDisabled(){return this.has("disabled")}}function l(t,e){if(!customElements.get(t))customElements.define(t,e)}
|
|
2
|
-
export{a as b,l as c};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as a,c as r}from"./chunk-rnpzv3d8.js";class l extends a{static baseClass="mu-tabs";static cssFile="tabs";static observedAttributes=["active"];#e=[];#t=null;connectedCallback(){super.connectedCallback(),this.addEventListener("click",(t)=>{let s=t.target.closest("mu-tab");if(s){let e=this.querySelector(".mu-tabs__list"),i=(e?Array.from(e.querySelectorAll("mu-tab")):Array.from(this.querySelectorAll("mu-tab"))).indexOf(s);if(i!==-1)this.setAttribute("active",i.toString())}})}render(){if(this.querySelector(".mu-tabs__list")){this.#e=Array.from(this.querySelectorAll("mu-tab")),this.#t=this.querySelector(".mu-tabs__list"),this.#s();return}this.#t=document.createElement("div"),this.#t.className="mu-tabs__list",this.#t.setAttribute("role","tablist"),this.#e=Array.from(this.querySelectorAll("mu-tab")),this.#e.forEach((t)=>{t.setAttribute("role","tab"),this.#t.appendChild(t)}),this.appendChild(this.#t),this.#s()}update(t,s,e){if(t==="active")this.#s(),this.emit("mu-tab-change",{index:parseInt(s)||0})}#s(){let t=parseInt(this.attr("active","0")),s=this.#e.length;if(this.#e.forEach((e,i)=>{e.classList.toggle("is-active",i===t),e.setAttribute("aria-selected",i===t?"true":"false")}),this.#t&&s>0){let e=100/s;this.#t.style.setProperty("--indicator-width",`${e}%`),this.#t.style.setProperty("--indicator-left",`${t*e}%`)}}}class c extends a{static baseClass="mu-tabs__tab";connectedCallback(){super.connectedCallback(),this.setAttribute("tabindex","0")}render(){}}r("mu-tabs",l);r("mu-tab",c);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as i,c as r}from"./chunk-qqhmk6ye.js";class a extends i{static baseClass="mu-grid";static observedAttributes=["cols","rows","gap","align"];render(){this.#s()}update(t,s,e){this.#s()}#s(){let t=this.attr("cols","1"),s=this.attr("rows",""),e=this.attr("gap","md"),l=this.attr("align","stretch"),p={none:"0",xs:"4px",sm:"8px",md:"16px",lg:"24px",xl:"32px"};if(this.style.display="grid",this.style.gridTemplateColumns=t.includes("fr")||t.includes("px")?t:`repeat(${t}, 1fr)`,s)this.style.gridTemplateRows=s.includes("fr")||s.includes("px")?s:`repeat(${s}, 1fr)`;this.style.gap=p[e]||e,this.style.alignItems=l}}r("mu-grid",a);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as i,c as e}from"./chunk-rnpzv3d8.js";class r extends i{static baseClass="mu-stack";static observedAttributes=["direction","gap","align","justify","wrap"];render(){this.#s()}update(t,s,a){this.#s()}#s(){let t=this.attr("direction","column"),s=this.attr("gap","md"),a=this.attr("align","stretch"),l=this.attr("justify","flex-start"),p=this.has("wrap"),n={none:"0",xs:"var(--md-sys-spacing-xs, 4px)",sm:"var(--md-sys-spacing-sm, 8px)",md:"var(--md-sys-spacing-md, 16px)",lg:"var(--md-sys-spacing-lg, 24px)",xl:"var(--md-sys-spacing-xl, 32px)"};this.style.display="flex",this.style.flexDirection=t,this.style.gap=n[s]||s,this.style.alignItems=a,this.style.justifyContent=l,this.style.flexWrap=p?"wrap":"nowrap"}}e("mu-stack",r);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as i,c as e}from"./chunk-15m2qcda.js";class r extends i{static baseClass="mu-stack";static observedAttributes=["direction","gap","align","justify","wrap"];render(){this.#s()}update(t,s,a){this.#s()}#s(){let t=this.attr("direction","column"),s=this.attr("gap","md"),a=this.attr("align","stretch"),l=this.attr("justify","flex-start"),p=this.has("wrap"),n={none:"0",xs:"var(--md-sys-spacing-xs, 4px)",sm:"var(--md-sys-spacing-sm, 8px)",md:"var(--md-sys-spacing-md, 16px)",lg:"var(--md-sys-spacing-lg, 24px)",xl:"var(--md-sys-spacing-xl, 32px)"};this.style.display="flex",this.style.flexDirection=t,this.style.gap=n[s]||s,this.style.alignItems=a,this.style.justifyContent=l,this.style.flexWrap=p?"wrap":"nowrap"}}e("mu-stack",r);
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import{b as o,c as t}from"./chunk-0m4j19yd.js";var s={check:"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z",close:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z",add:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z",remove:"M19 13H5v-2h14z",edit:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75z",delete:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM19 4h-3.5l-1-1h-5l-1 1H5v2h14z",search:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z",menu:"M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z",chevron_right:"M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z",chevron_left:"M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z",expand_more:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z",expand_less:"M12 8l-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z",home:"M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z",arrow_back:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20z",arrow_forward:"M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z",info:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2zm0-8h-2V7h2z",warning:"M1 21h22L12 2zm12-3h-2v-2h2zm0-4h-2v-4h2z",error:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2zm0-4h-2V7h2z",check_circle:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8z",cancel:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12z",success:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8z",settings:"M19.14 12.94c.04-.31.06-.63.06-.94 0-.31-.02-.63-.06-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.04.31-.06.63-.06.94s.02.63.06.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6z",person:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z",light_mode:"M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5M2 13h2c.55 0 1-.45 1-1s-.45-1-1-1H2c-.55 0-1 .45-1 1s.45 1 1 1m18 0h2c.55 0 1-.45 1-1s-.45-1-1-1h-2c-.55 0-1 .45-1 1s.45 1 1 1M11 2v2c0 .55.45 1 1 1s1-.45 1-1V2c0-.55-.45-1-1-1s-1 .45-1 1m0 18v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1M5.99 4.58c-.39-.39-1.03-.39-1.41 0-.39.39-.39 1.03 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0s.39-1.03 0-1.41zm12.37 12.37c-.39-.39-1.03-.39-1.41 0-.39.39-.39 1.03 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0 .39-.39.39-1.03 0-1.41zm1.06-10.96c.39-.39.39-1.03 0-1.41-.39-.39-1.03-.39-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0zM7.05 18.36c.39-.39.39-1.03 0-1.41-.39-.39-1.03-.39-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0z",dark_mode:"M12 3c-4.97 0-9 4.03-9 9s4.03 9 9 9 9-4.03 9-9c0-.46-.04-.92-.1-1.36-.98 1.37-2.58 2.26-4.4 2.26-2.98 0-5.4-2.42-5.4-5.4 0-1.81.89-3.42 2.26-4.4-.44-.06-.9-.1-1.36-.1z",visibility:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5M12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5m0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3",visibility_off:"M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7M2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2m4.31-.78 3.15 3.15.02-.16c0-1.66-1.34-3-3-3z",download:"M5 20h14v-2H5v2zM19 9h-4V3H9v6H5l7 7 7-7z",smart_button:"M22 9v6c0 1.1-.9 2-2 2h-1v-2h1V9H4v6h6v2H4c-1.1 0-2-.9-2-2V9c0-1.1.9-2 2-2h16c1.1 0 2 .9 2 2zm-7.5 11 1.09-2.41L18 16.5l-2.41-1.09L14.5 13l-1.09 2.41L11 16.5l2.41 1.09L14.5 20zm2.5-5 .62-1.38L19 14l-1.38-.62L17 12l-.62 1.38L15 14l1.38.62L17 16zm-2.5 5 1.09-2.41L18 16.5l-2.41-1.09L14.5 13l-1.09 2.41L11 16.5l2.41 1.09L14.5 20z",text_fields:"M2.5 4v3h5v12h3V7h5V4h-13zm19 5h-9v3h3v7h3v-7h3V9z",check_box:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z",toggle_on:"M17 7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h10c2.76 0 5-2.24 5-5s-2.24-5-5-5zm0 8c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3z",radio_button_checked:"M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm0-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z",arrow_drop_down_circle:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 12-4-4h8l-4 4z",view_carousel:"M7 19h10V4H7v15zm-5-2h4V6H2v11zM18 6v11h4V6h-4z",grid_view:"M3 3v8h8V3H3zm6 6H5V5h4v4zm-6 4v8h8v-8H3zm6 6H5v-4h4v4zm4-16v8h8V3h-8zm6 6h-4V5h4v4zm-6 4v8h8v-8h-8zm6 6h-4v-4h4v4z",tab:"M21 3H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H3V5h10v4h8v10z",notifications:"M12 22c1.1 0 2-.9 2-2h-4c0 1.1.89 2 2 2zm6-6v-5c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2z",open_in_new:"M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z",hourglass_empty:"M6 2v6h.01L6 8.01 10 12l-4 4 .01.01H6V22h12v-5.99h-.01L18 16l-4-4 4-3.99-.01-.01H18V2H6zm10 14.5V20H8v-3.5l4-4 4 4zm-4-5-4-4V4h8v3.5l-4 4z",account_circle:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 4c1.93 0 3.5 1.57 3.5 3.5S13.93 13 12 13s-3.5-1.57-3.5-3.5S10.07 6 12 6zm0 14c-2.03 0-4.43-.82-6.14-2.88C7.55 15.8 9.68 15 12 15s4.45.8 6.14 2.12C16.43 19.18 14.03 20 12 20z",fiber_manual_record:"M12 12m-8 0a8 8 0 1 0 16 0 8 8 0 1 0-16 0",label:"M17.63 5.84C17.27 5.33 16.67 5 16 5L5 5.01C3.9 5.01 3 5.9 3 7v10c0 1.1.9 1.99 2 1.99L16 19c.67 0 1.27-.33 1.63-.84L22 12l-4.37-6.16z",emoji_emotions:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm3.5-9c.83 0 1.5-.67 1.5-1.5S16.33 8 15.5 8 14 8.67 14 9.5s.67 1.5 1.5 1.5zm-7 0c.83 0 1.5-.67 1.5-1.5S9.33 8 8.5 8 7 8.67 7 9.5 7.67 11 8.5 11zm3.5 6.5c2.33 0 4.31-1.46 5.11-3.5H6.89c.8 2.04 2.78 3.5 5.11 3.5z",business:"M12 7V3H2v18h20V7H12zM6 19H4v-2h2v2zm0-4H4v-2h2v2zm0-4H4V9h2v2zm0-4H4V5h2v2zm4 12H8v-2h2v2zm0-4H8v-2h2v2zm0-4H8V9h2v2zm0-4H8V5h2v2zm10 12h-8v-2h2v-2h-2v-2h2v-2h-2V9h8v10zm-2-8h-2v2h2v-2zm0 4h-2v2h2v-2z",input:"M21 3.01H3c-1.1 0-2 .9-2 2V9h2V4.99h18v14.03H3V15H1v4.01c0 1.1.9 1.98 2 1.98h18c1.1 0 2-.88 2-1.98v-14c0-1.11-.9-2-2-2zM11 16l4-4-4-4v3H1v2h10v3z",category:"M12 2l-5.5 9h11L12 2zm0 3.84L13.93 9h-3.87L12 5.84zM17.5 13c-2.49 0-4.5 2.01-4.5 4.5s2.01 4.5 4.5 4.5 4.5-2.01 4.5-4.5-2.01-4.5-4.5-4.5zm0 7c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5zM3 21.5h8v-8H3v8zm2-6h4v4H5v-4z",widgets:"M13 13v8h8v-8h-8zM3 21h8v-8H3v8zM3 3v8h8V3H3zm13.66-1.31L11 7.34 16.66 13l5.66-5.66-5.66-5.65z",smart_toy:"M20 9V7c0-1.1-.9-2-2-2h-3c0-1.66-1.34-3-3-3S9 3.34 9 5H6c-1.1 0-2 .9-2 2v2c-1.66 0-3 1.34-3 3s1.34 3 3 3v4c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-4c1.66 0 3-1.34 3-3s-1.34-3-3-3zM7.5 11.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5S9.83 13 9 13s-1.5-.67-1.5-1.5zM16 17H8v-2h8v2zm-1-4c-.83 0-1.5-.67-1.5-1.5S14.17 10 15 10s1.5.67 1.5 1.5S15.83 13 15 13z",notification_important:"M18 16v-5c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2zm-6 6c1.1 0 2-.9 2-2h-4c0 1.1.89 2 2 2zm1-15.06c1.77.52 3 2.14 3 4.06v5.5l1 1v.5H7v-.5l1-1V11c0-1.92 1.23-3.54 3-4.06V5.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5v.94zM13 11h-2v6h2v-6zm0-4h-2v2h2V7z",folder_managed:"M20 6h-8l-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm-2.06 11L15 15.28 12.06 17l.78-3.33-2.59-2.24 3.41-.29L15 8l1.34 3.14 3.41.29-2.59 2.24.78 3.33z",shield:"M12 1L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4zm0 10.99h7c-.53 4.12-3.28 7.79-7 8.94V12H5V6.3l7-3.11v8.8z",apps:"M4 8h4V4H4v4zm6 12h4v-4h-4v4zm-6 0h4v-4H4v4zm0-6h4v-4H4v4zm6 0h4v-4h-4v4zm6-10v4h4V4h-4zm-6 4h4V4h-4v4zm6 6h4v-4h-4v4zm0 6h4v-4h-4v4z",monitoring:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zM7 12h2v5H7v-5zm4-3h2v8h-2V9zm4-3h2v11h-2V6z"},h={check:"check",close:"close",add:"add",remove:"remove",edit:"edit",delete:"delete",search:"search",menu:"menu",chevron_right:"chevron_right",chevron_left:"chevron_left",expand_more:"expand_more",expand_less:"expand_less",home:"home",arrow_back:"arrow_back",arrow_forward:"arrow_forward",info:"info",warning:"warning",error:"error",success:"check_circle",check_circle:"check_circle",cancel:"cancel",settings:"settings",person:"person",light_mode:"light_mode",dark_mode:"dark_mode",sun:"light_mode",moon:"dark_mode",user:"person",visibility:"visibility",visibility_off:"visibility_off",download:"download",smart_button:"smart_button",text_fields:"text_fields",check_box:"check_box",toggle_on:"toggle_on",radio_button_checked:"radio_button_checked",arrow_drop_down_circle:"arrow_drop_down_circle",view_carousel:"view_carousel",grid_view:"grid_view",tab:"tab",notifications:"notifications",open_in_new:"open_in_new",hourglass_empty:"hourglass_empty",account_circle:"account_circle",fiber_manual_record:"fiber_manual_record",label:"label",emoji_emotions:"emoji_emotions",business:"business",input:"input",category:"category",widgets:"widgets",smart_toy:"smart_toy",notification_important:"notification_important",folder_managed:"folder_managed",shield:"shield",apps:"apps",monitoring:"monitoring",plus:"add",minus:"remove"};class z extends o{static baseClass="mu-icon";static observedAttributes=["name","size","svg","filled","font"];render(){let c=this.attr("name","info"),e=this.attr("size","24"),l=this.has("font"),r=this.has("filled"),n=h[c]?c:c,i=s[c]||s[h[c]];if(!l&&i){this.innerHTML=`
|
|
2
|
-
<svg width="${e}" height="${e}" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true">
|
|
3
|
-
<path d="${i}"></path>
|
|
4
|
-
</svg>
|
|
5
|
-
`;return}let m=h[c]||c;this.innerHTML=`<span class="material-symbols-outlined" aria-hidden="true">${m}</span>`;let v=this.querySelector("span");if(v){if(v.style.fontSize=`${e}px`,r)v.style.fontVariationSettings="'FILL' 1"}}update(c,e,l){this.render()}}var _=Object.keys(h),d=Object.keys(s);t("mu-icon",z);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as n}from"./chunk-h01kq2ae.js";import{b as a,c as e}from"./chunk-0m4j19yd.js";class d extends a{static baseClass="mu-button";static observedAttributes=["variant","size","disabled"];connectedCallback(){super.connectedCallback(),this.setAttribute("role","button"),this.setupActivation(()=>this.click()),this.addEventListener("pointerdown",(t)=>{if(!this.isDisabled)n(this,t)})}render(){let t=this.textContent.trim();this.innerHTML=`<span class="mu-button__label">${t}</span>`,this.#t()}update(t,s,i){if(t==="disabled")this.updateTabindex();this.#t()}#t(){let t=this.attr("variant","primary"),s=this.attr("size","md"),i=["filled","elevated","tonal","outlined","text","danger","primary","secondary","ghost"];if(!i.includes(t))this.logError("INVALID_VARIANT",`Invalid button variant '${t}'. Valid: ${i.join(", ")}`);if(this.className=`mu-button mu-button--${t} mu-button--${s}`,this.has("disabled"))this.classList.add("is-disabled")}}e("mu-button",d);
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
function v(e,n,c={}){let{color:p="currentColor",centered:h=!1}=c,t=e.getBoundingClientRect(),i,o;if(h||!n)i=t.width/2,o=t.height/2;else{let d=n.touches?n.touches[0].clientX:n.clientX,u=n.touches?n.touches[0].clientY:n.clientY;i=d-t.left,o=u-t.top}let s=Math.max(Math.hypot(i,o),Math.hypot(t.width-i,o),Math.hypot(i,t.height-o),Math.hypot(t.width-i,t.height-o))*2,r=document.createElement("span");r.className="mu-ripple-wave",r.style.cssText=`
|
|
2
|
-
position: absolute;
|
|
3
|
-
width: ${s}px;
|
|
4
|
-
height: ${s}px;
|
|
5
|
-
left: ${i-s/2}px;
|
|
6
|
-
top: ${o-s/2}px;
|
|
7
|
-
background: ${p};
|
|
8
|
-
border-radius: 50%;
|
|
9
|
-
transform: scale(0);
|
|
10
|
-
opacity: 0.10;
|
|
11
|
-
pointer-events: none;
|
|
12
|
-
`;let l=getComputedStyle(e);if(l.position==="static")e.style.position="relative";if(l.overflow!=="hidden")e.style.overflow="hidden";e.appendChild(r),r.animate([{transform:"scale(0)"},{transform:"scale(1)"}],{duration:300,easing:"cubic-bezier(0.4, 0, 0.2, 1)",fill:"forwards"});let a=()=>{r.animate([{opacity:"0.10"},{opacity:"0"}],{duration:150,easing:"ease-out",fill:"forwards"}).onfinish=()=>r.remove(),e.removeEventListener("pointerup",a),e.removeEventListener("pointerleave",a),e.removeEventListener("pointercancel",a)};return e.addEventListener("pointerup",a,{once:!0}),e.addEventListener("pointerleave",a,{once:!0}),e.addEventListener("pointercancel",a,{once:!0}),r}
|
|
13
|
-
export{v as a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as n}from"./chunk-426dnces.js";import{b as a,c as e}from"./chunk-jbjnfp2b.js";class d extends a{static baseClass="mu-button";static observedAttributes=["variant","size","disabled"];connectedCallback(){super.connectedCallback(),this.setAttribute("role","button"),this.setupActivation(()=>this.click()),this.addEventListener("pointerdown",(t)=>{if(!this.isDisabled)n(this,t)})}render(){let t=this.textContent.trim();this.innerHTML=`<span class="mu-button__label">${t}</span>`,this.#t()}update(t,i,s){if(t==="disabled")this.updateTabindex();this.#t()}#t(){let t=this.attr("variant","primary"),i=this.attr("size","md"),s=["filled","elevated","tonal","outlined","text","danger","primary","secondary","ghost"];if(!s.includes(t))this.logError("INVALID_VARIANT",`Invalid button variant '${t}'. Valid: ${s.join(", ")}`);if(this.className=`mu-button mu-button--${t} mu-button--${i}`,this.has("disabled"))this.classList.add("is-disabled")}}e("mu-button",d);
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import{b as r,c as a}from"./chunk-jbjnfp2b.js";class d extends r{static baseClass="mu-api-table";static observedAttributes=["type"];render(){let s=this.attr("type","attributes"),t=Array.from(this.querySelectorAll("mu-api-row")),o={attributes:["Name","Type","Default","Description"],properties:["Name","Type","Description"],methods:["Name","Signature","Description"],events:["Name","Detail","Description"],tokens:["Token","Default","Description"]},l=o[s]||o.attributes,c=t.map((e)=>({name:e.getAttribute("name")||"",type:e.getAttribute("type")||"",default:e.getAttribute("default")||"-",signature:e.getAttribute("signature")||"",detail:e.getAttribute("detail")||"",description:e.textContent.trim()}));this.innerHTML=`
|
|
2
|
-
<table class="mu-api-table__table">
|
|
3
|
-
<thead>
|
|
4
|
-
<tr>
|
|
5
|
-
${l.map((e)=>`<th>${e}</th>`).join("")}
|
|
6
|
-
</tr>
|
|
7
|
-
</thead>
|
|
8
|
-
<tbody>
|
|
9
|
-
${c.map((e)=>this.#t(s,e)).join("")}
|
|
10
|
-
</tbody>
|
|
11
|
-
</table>
|
|
12
|
-
`,this.#e()}#t(s,t){switch(s){case"attributes":return`<tr>
|
|
13
|
-
<td><code>${t.name}</code></td>
|
|
14
|
-
<td><code class="type">${t.type}</code></td>
|
|
15
|
-
<td><code class="default">${t.default}</code></td>
|
|
16
|
-
<td>${t.description}</td>
|
|
17
|
-
</tr>`;case"properties":return`<tr>
|
|
18
|
-
<td><code>${t.name}</code></td>
|
|
19
|
-
<td><code class="type">${t.type}</code></td>
|
|
20
|
-
<td>${t.description}</td>
|
|
21
|
-
</tr>`;case"methods":return`<tr>
|
|
22
|
-
<td><code>${t.name}</code></td>
|
|
23
|
-
<td><code class="signature">${t.signature}</code></td>
|
|
24
|
-
<td>${t.description}</td>
|
|
25
|
-
</tr>`;case"events":return`<tr>
|
|
26
|
-
<td><code>${t.name}</code></td>
|
|
27
|
-
<td><code class="detail">${t.detail}</code></td>
|
|
28
|
-
<td>${t.description}</td>
|
|
29
|
-
</tr>`;case"tokens":return`<tr>
|
|
30
|
-
<td><code>${t.name}</code></td>
|
|
31
|
-
<td><code class="default">${t.default}</code></td>
|
|
32
|
-
<td>${t.description}</td>
|
|
33
|
-
</tr>`;default:return""}}#e(){this.style.display="block",this.style.overflowX="auto",this.style.marginBottom="24px";let s=this.querySelector(".mu-api-table__table");if(s)s.style.width="100%",s.style.borderCollapse="collapse",s.style.fontSize="var(--md-sys-typescale-body-medium-size)";this.querySelectorAll("th").forEach((t)=>{t.style.textAlign="left",t.style.padding="16px",t.style.height="56px",t.style.background="var(--md-sys-color-surface-container)",t.style.fontWeight="500",t.style.color="var(--md-sys-color-on-surface)",t.style.borderBottom="1px solid var(--md-sys-color-outline-variant)"}),this.querySelectorAll("td").forEach((t)=>{t.style.padding="16px",t.style.minHeight="52px",t.style.borderBottom="1px solid var(--md-sys-color-outline-variant)",t.style.verticalAlign="middle",t.style.lineHeight="1.5"}),this.querySelectorAll("code").forEach((t)=>{t.style.fontFamily="'Fira Code', monospace",t.style.fontSize="13px",t.style.padding="2px 6px",t.style.borderRadius="4px",t.style.background="var(--md-sys-color-surface-container-highest)"}),this.querySelectorAll("code.type, code.detail").forEach((t)=>{t.style.color="var(--md-sys-color-primary)"}),this.querySelectorAll("code.default").forEach((t)=>{t.style.color="var(--md-sys-color-secondary)"})}}class i extends r{static baseClass="mu-api-row";static observedAttributes=["name","type","default","signature","detail"];render(){}}a("mu-api-table",d);a("mu-api-row",i);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as e,c as r}from"./chunk-rnpzv3d8.js";class a extends e{static baseClass="mu-grid";static cssFile="grid";static observedAttributes=["cols","rows","gap","align"];render(){this.#s()}update(t,s,i){this.#s()}#s(){let t=this.attr("cols","1"),s=this.attr("rows",""),i=this.attr("gap","md"),l=this.attr("align","stretch"),d={none:"0",xs:"4px",sm:"8px",md:"16px",lg:"24px",xl:"32px"};if(this.style.display="grid",this.style.gridTemplateColumns=t.includes("fr")||t.includes("px")?t:`repeat(${t}, 1fr)`,s)this.style.gridTemplateRows=s.includes("fr")||s.includes("px")?s:`repeat(${s}, 1fr)`;this.style.gap=d[i]||i,this.style.alignItems=l}}r("mu-grid",a);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as a,c as r}from"./chunk-s5v8cv05.js";class l extends a{static baseClass="mu-tabs";static cssFile="tabs";static observedAttributes=["active"];#e=[];#t=null;connectedCallback(){super.connectedCallback(),this.addEventListener("click",(t)=>{let s=t.target.closest("mu-tab");if(s){let e=this.querySelector(".mu-tabs__list"),i=(e?Array.from(e.querySelectorAll("mu-tab")):Array.from(this.querySelectorAll("mu-tab"))).indexOf(s);if(i!==-1)this.setAttribute("active",i.toString())}})}render(){if(this.querySelector(".mu-tabs__list")){this.#e=Array.from(this.querySelectorAll("mu-tab")),this.#t=this.querySelector(".mu-tabs__list"),this.#s();return}this.#t=document.createElement("div"),this.#t.className="mu-tabs__list",this.#t.setAttribute("role","tablist"),this.#e=Array.from(this.querySelectorAll("mu-tab")),this.#e.forEach((t)=>{t.setAttribute("role","tab"),this.#t.appendChild(t)}),this.appendChild(this.#t),this.#s()}update(t,s,e){if(t==="active")this.#s(),this.emit("mu-tab-change",{index:parseInt(s)||0})}#s(){let t=parseInt(this.attr("active","0")),s=this.#e.length;if(this.#e.forEach((e,i)=>{e.classList.toggle("is-active",i===t),e.setAttribute("aria-selected",i===t?"true":"false")}),this.#t&&s>0){let e=100/s;this.#t.style.setProperty("--indicator-width",`${e}%`),this.#t.style.setProperty("--indicator-left",`${t*e}%`)}}}class c extends a{static baseClass="mu-tabs__tab";connectedCallback(){super.connectedCallback(),this.setAttribute("tabindex","0")}render(){}}r("mu-tabs",l);r("mu-tab",c);
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import{b as o,c as i}from"./chunk-rnpzv3d8.js";class l extends o{static baseClass="mu-api-table";static observedAttributes=["type"];render(){let s=this.attr("type","attributes"),t=Array.from(this.querySelectorAll("mu-api-row")),a={attributes:["Name","Type","Default","Description"],properties:["Name","Type","Description"],methods:["Name","Signature","Description"],events:["Name","Detail","Description"],tokens:["Token","Default","Description"]},e=a[s]||a.attributes,d=t.map((r)=>({name:r.getAttribute("name")||"",type:r.getAttribute("type")||"",default:r.getAttribute("default")||"-",signature:r.getAttribute("signature")||"",detail:r.getAttribute("detail")||"",description:r.textContent.trim()}));this.innerHTML=`
|
|
2
|
-
<table class="mu-api-table__table">
|
|
3
|
-
<thead>
|
|
4
|
-
<tr>
|
|
5
|
-
${e.map((r)=>`<th>${r}</th>`).join("")}
|
|
6
|
-
</tr>
|
|
7
|
-
</thead>
|
|
8
|
-
<tbody>
|
|
9
|
-
${d.map((r)=>this.#t(s,r)).join("")}
|
|
10
|
-
</tbody>
|
|
11
|
-
</table>
|
|
12
|
-
`,this.#e()}#t(s,t){let a=(d)=>{if(!d)return"";return String(d).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")},e={name:a(t.name),type:a(t.type),default:a(t.default),signature:a(t.signature),detail:a(t.detail),description:a(t.description)};switch(s){case"attributes":return`<tr>
|
|
13
|
-
<td><code>${e.name}</code></td>
|
|
14
|
-
<td><code class="type">${e.type}</code></td>
|
|
15
|
-
<td><code class="default">${e.default}</code></td>
|
|
16
|
-
<td>${e.description}</td>
|
|
17
|
-
</tr>`;case"properties":return`<tr>
|
|
18
|
-
<td><code>${e.name}</code></td>
|
|
19
|
-
<td><code class="type">${e.type}</code></td>
|
|
20
|
-
<td>${e.description}</td>
|
|
21
|
-
</tr>`;case"methods":return`<tr>
|
|
22
|
-
<td><code>${e.name}</code></td>
|
|
23
|
-
<td><code class="signature">${e.signature}</code></td>
|
|
24
|
-
<td>${e.description}</td>
|
|
25
|
-
</tr>`;case"events":return`<tr>
|
|
26
|
-
<td><code>${e.name}</code></td>
|
|
27
|
-
<td><code class="detail">${e.detail}</code></td>
|
|
28
|
-
<td>${e.description}</td>
|
|
29
|
-
</tr>`;case"tokens":return`<tr>
|
|
30
|
-
<td><code>${e.name}</code></td>
|
|
31
|
-
<td><code class="default">${e.default}</code></td>
|
|
32
|
-
<td>${e.description}</td>
|
|
33
|
-
</tr>`;default:return""}}#e(){this.style.display="block",this.style.overflowX="auto",this.style.marginBottom="24px";let s=this.querySelector(".mu-api-table__table");if(s)s.style.width="100%",s.style.borderCollapse="collapse",s.style.fontSize="var(--md-sys-typescale-body-medium-size)";this.querySelectorAll("th").forEach((t)=>{t.style.textAlign="left",t.style.padding="16px",t.style.height="56px",t.style.background="var(--md-sys-color-surface-container)",t.style.fontWeight="500",t.style.color="var(--md-sys-color-on-surface)",t.style.borderBottom="1px solid var(--md-sys-color-outline-variant)"}),this.querySelectorAll("td").forEach((t)=>{t.style.padding="16px",t.style.minHeight="52px",t.style.borderBottom="1px solid var(--md-sys-color-outline-variant)",t.style.verticalAlign="middle",t.style.lineHeight="1.5"}),this.querySelectorAll("code").forEach((t)=>{t.style.fontFamily="'Fira Code', monospace",t.style.fontSize="13px",t.style.padding="2px 6px",t.style.borderRadius="4px",t.style.background="var(--md-sys-color-surface-container-highest)"}),this.querySelectorAll("code.type, code.detail").forEach((t)=>{t.style.color="var(--md-sys-color-primary)"}),this.querySelectorAll("code.default").forEach((t)=>{t.style.color="var(--md-sys-color-secondary)"})}}class c extends o{static baseClass="mu-api-row";static observedAttributes=["name","type","default","signature","detail"];render(){}}i("mu-api-table",l);i("mu-api-row",c);
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import{b as o,c as i}from"./chunk-15m2qcda.js";class l extends o{static baseClass="mu-api-table";static observedAttributes=["type"];render(){let s=this.attr("type","attributes"),t=Array.from(this.querySelectorAll("mu-api-row")),a={attributes:["Name","Type","Default","Description"],properties:["Name","Type","Description"],methods:["Name","Signature","Description"],events:["Name","Detail","Description"],tokens:["Token","Default","Description"]},e=a[s]||a.attributes,d=t.map((r)=>({name:r.getAttribute("name")||"",type:r.getAttribute("type")||"",default:r.getAttribute("default")||"-",signature:r.getAttribute("signature")||"",detail:r.getAttribute("detail")||"",description:r.textContent.trim()}));this.innerHTML=`
|
|
2
|
-
<table class="mu-api-table__table">
|
|
3
|
-
<thead>
|
|
4
|
-
<tr>
|
|
5
|
-
${e.map((r)=>`<th>${r}</th>`).join("")}
|
|
6
|
-
</tr>
|
|
7
|
-
</thead>
|
|
8
|
-
<tbody>
|
|
9
|
-
${d.map((r)=>this.#t(s,r)).join("")}
|
|
10
|
-
</tbody>
|
|
11
|
-
</table>
|
|
12
|
-
`,this.#e()}#t(s,t){let a=(d)=>{if(!d)return"";return String(d).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")},e={name:a(t.name),type:a(t.type),default:a(t.default),signature:a(t.signature),detail:a(t.detail),description:a(t.description)};switch(s){case"attributes":return`<tr>
|
|
13
|
-
<td><code>${e.name}</code></td>
|
|
14
|
-
<td><code class="type">${e.type}</code></td>
|
|
15
|
-
<td><code class="default">${e.default}</code></td>
|
|
16
|
-
<td>${e.description}</td>
|
|
17
|
-
</tr>`;case"properties":return`<tr>
|
|
18
|
-
<td><code>${e.name}</code></td>
|
|
19
|
-
<td><code class="type">${e.type}</code></td>
|
|
20
|
-
<td>${e.description}</td>
|
|
21
|
-
</tr>`;case"methods":return`<tr>
|
|
22
|
-
<td><code>${e.name}</code></td>
|
|
23
|
-
<td><code class="signature">${e.signature}</code></td>
|
|
24
|
-
<td>${e.description}</td>
|
|
25
|
-
</tr>`;case"events":return`<tr>
|
|
26
|
-
<td><code>${e.name}</code></td>
|
|
27
|
-
<td><code class="detail">${e.detail}</code></td>
|
|
28
|
-
<td>${e.description}</td>
|
|
29
|
-
</tr>`;case"tokens":return`<tr>
|
|
30
|
-
<td><code>${e.name}</code></td>
|
|
31
|
-
<td><code class="default">${e.default}</code></td>
|
|
32
|
-
<td>${e.description}</td>
|
|
33
|
-
</tr>`;default:return""}}#e(){this.style.display="block",this.style.overflowX="auto",this.style.marginBottom="24px";let s=this.querySelector(".mu-api-table__table");if(s)s.style.width="100%",s.style.borderCollapse="collapse",s.style.fontSize="var(--md-sys-typescale-body-medium-size)";this.querySelectorAll("th").forEach((t)=>{t.style.textAlign="left",t.style.padding="16px",t.style.height="56px",t.style.background="var(--md-sys-color-surface-container)",t.style.fontWeight="500",t.style.color="var(--md-sys-color-on-surface)",t.style.borderBottom="1px solid var(--md-sys-color-outline-variant)"}),this.querySelectorAll("td").forEach((t)=>{t.style.padding="16px",t.style.minHeight="52px",t.style.borderBottom="1px solid var(--md-sys-color-outline-variant)",t.style.verticalAlign="middle",t.style.lineHeight="1.5"}),this.querySelectorAll("code").forEach((t)=>{t.style.fontFamily="'Fira Code', monospace",t.style.fontSize="13px",t.style.padding="2px 6px",t.style.borderRadius="4px",t.style.background="var(--md-sys-color-surface-container-highest)"}),this.querySelectorAll("code.type, code.detail").forEach((t)=>{t.style.color="var(--md-sys-color-primary)"}),this.querySelectorAll("code.default").forEach((t)=>{t.style.color="var(--md-sys-color-secondary)"})}}class c extends o{static baseClass="mu-api-row";static observedAttributes=["name","type","default","signature","detail"];render(){}}i("mu-api-table",l);i("mu-api-row",c);
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import{b as l,c}from"./chunk-dev0aezr.js";class i extends l{static baseClass="mu-code";static observedAttributes=["language"];#e=null;connectedCallback(){if(super.connectedCallback(),!this.#e&&!this.querySelector(".mu-code__content"))this.#e=this.textContent}render(){if(this.querySelector(".mu-code__content"))return;let t=this.attr("language","html"),e=this.#e||this.textContent,s=e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">"),o=this.#t(s,t);this.innerHTML=`
|
|
2
|
-
<div class="mu-code__header">
|
|
3
|
-
<span class="mu-code__language">${t.toUpperCase()}</span>
|
|
4
|
-
<button class="mu-code__copy" title="Copy code">
|
|
5
|
-
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
|
6
|
-
<rect x="9" y="9" width="13" height="13" rx="2" ry="2"/>
|
|
7
|
-
<path d="M5 15H4a2 2 0 01-2-2V4a2 2 0 012-2h9a2 2 0 012 2v1"/>
|
|
8
|
-
</svg>
|
|
9
|
-
</button>
|
|
10
|
-
</div>
|
|
11
|
-
<pre class="mu-code__pre"><code class="mu-code__content">${o}</code></pre>
|
|
12
|
-
`,this.#s(),this.#o(e)}#t(t,e){if(e==="html")return t.replace(/(<\/?)([\w-]+)/g,'$1<span class="mu-code__tag">$2</span>').replace(/(\s)([\w-]+)(=)/g,'$1<span class="mu-code__attr">$2</span>$3').replace(/(".*?")/g,'<span class="mu-code__string">$1</span>');if(e==="javascript"||e==="js")return t.replace(/\b(const|let|var|function|return|if|else|for|while|class|import|export|from|async|await)\b/g,'<span class="mu-code__keyword">$1</span>').replace(/('.*?'|".*?"|`.*?`)/g,'<span class="mu-code__string">$1</span>').replace(/(\/\/.*)/g,'<span class="mu-code__comment">$1</span>');return t}#s(){this.style.display="block",this.style.background="var(--md-sys-color-surface-container-highest)",this.style.borderRadius="var(--md-sys-shape-corner-medium)",this.style.overflow="hidden",this.style.fontFamily="'Fira Code', 'Consolas', monospace",this.style.fontSize="13px";let t=this.querySelector(".mu-code__header");if(t)t.style.display="flex",t.style.justifyContent="space-between",t.style.alignItems="center",t.style.padding="8px 16px",t.style.background="var(--md-sys-color-surface-container)",t.style.borderBottom="1px solid var(--md-sys-color-outline-variant)";let e=this.querySelector(".mu-code__language");if(e)e.style.fontSize="11px",e.style.fontWeight="600",e.style.color="var(--md-sys-color-primary)",e.style.letterSpacing="0.5px";let s=this.querySelector(".mu-code__copy");if(s)s.style.background="transparent",s.style.border="none",s.style.cursor="pointer",s.style.color="var(--md-sys-color-on-surface-variant)",s.style.padding="4px",s.style.borderRadius="4px",s.style.display="flex",s.style.transition="all 0.2s ease";let o=this.querySelector(".mu-code__pre");if(o)o.style.margin="0",o.style.padding="16px",o.style.overflow="auto",o.style.maxHeight="400px";let a=this.querySelector(".mu-code__content");if(a)a.style.color="var(--md-sys-color-on-surface)";let r=document.createElement("style");if(r.textContent=`
|
|
13
|
-
.mu-code__tag { color: var(--md-sys-color-primary); }
|
|
14
|
-
.mu-code__attr { color: var(--md-sys-color-tertiary); }
|
|
15
|
-
.mu-code__string { color: var(--md-sys-color-secondary); }
|
|
16
|
-
.mu-code__keyword { color: var(--md-sys-color-primary); font-weight: 500; }
|
|
17
|
-
.mu-code__comment { color: var(--md-sys-color-outline); font-style: italic; }
|
|
18
|
-
.mu-code__copy:hover {
|
|
19
|
-
background: var(--md-sys-color-surface-container-high);
|
|
20
|
-
color: var(--md-sys-color-primary);
|
|
21
|
-
}
|
|
22
|
-
`,!document.querySelector("#mu-code-styles"))r.id="mu-code-styles",document.head.appendChild(r)}#o(t){let e=this.querySelector(".mu-code__copy");if(e)e.addEventListener("click",async()=>{try{await navigator.clipboard.writeText(t.trim()),e.innerHTML=`
|
|
23
|
-
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="var(--md-sys-color-primary)" stroke-width="2">
|
|
24
|
-
<polyline points="20 6 9 17 4 12"/>
|
|
25
|
-
</svg>
|
|
26
|
-
`,setTimeout(()=>{e.innerHTML=`
|
|
27
|
-
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
|
28
|
-
<rect x="9" y="9" width="13" height="13" rx="2" ry="2"/>
|
|
29
|
-
<path d="M5 15H4a2 2 0 01-2-2V4a2 2 0 012-2h9a2 2 0 012 2v1"/>
|
|
30
|
-
</svg>
|
|
31
|
-
`},2000)}catch(s){console.error("Copy failed:",s)}})}}c("mu-code",i);
|