@sjvair/monitor-map 3.0.1 → 3.0.3

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 (151) hide show
  1. package/dist/lib/LoadScreen.js +15 -15
  2. package/dist/lib/{src/MapView.js → MainMapView.js} +2 -2
  3. package/dist/lib/MapLegend.js +13 -0
  4. package/dist/lib/MonitorDetailPanel.js +169 -0
  5. package/dist/lib/MonitorMapLayout.js +91 -0
  6. package/dist/lib/_virtual/_rolldown/runtime.js +11 -0
  7. package/dist/lib/assets/logos/airgradient-blue.js +4 -0
  8. package/dist/lib/assets/logos/airnow-compact.js +4 -0
  9. package/dist/lib/assets/logos/carb-compact.js +4 -0
  10. package/dist/lib/assets/logos/purpleair-compact.js +4 -0
  11. package/dist/lib/assets/logos/sjvair.js +4 -0
  12. package/dist/lib/collocation-sites/CollocationTooltip.js +1 -1
  13. package/dist/lib/collocation-sites/collocations-map-integration.svelte.js +20 -20
  14. package/dist/lib/components/DataBox.js +1 -1
  15. package/dist/lib/components/DisplayOption.js +1 -1
  16. package/dist/lib/components/MapLayersDisplayOptions.js +47 -31
  17. package/dist/lib/components/SegmentedControl.js +4 -4
  18. package/dist/lib/components/ToggleSwitch.js +1 -1
  19. package/dist/lib/components/ui/button/button.js +4 -4
  20. package/dist/lib/components/ui/range-calendar/range-calendar-caption.js +57 -54
  21. package/dist/lib/components/ui/range-calendar/range-calendar-cell.js +19 -18
  22. package/dist/lib/components/ui/range-calendar/range-calendar-day.js +19 -18
  23. package/dist/lib/components/ui/range-calendar/range-calendar-grid-body.js +17 -16
  24. package/dist/lib/components/ui/range-calendar/range-calendar-grid-head.js +17 -16
  25. package/dist/lib/components/ui/range-calendar/range-calendar-grid-row.js +19 -18
  26. package/dist/lib/components/ui/range-calendar/range-calendar-grid.js +19 -18
  27. package/dist/lib/components/ui/range-calendar/range-calendar-head-cell.js +19 -18
  28. package/dist/lib/components/ui/range-calendar/range-calendar-header.js +19 -18
  29. package/dist/lib/components/ui/range-calendar/range-calendar-month-select.js +31 -31
  30. package/dist/lib/components/ui/range-calendar/range-calendar-month.js +19 -19
  31. package/dist/lib/components/ui/range-calendar/range-calendar-months.js +19 -19
  32. package/dist/lib/components/ui/range-calendar/range-calendar-nav.js +19 -19
  33. package/dist/lib/components/ui/range-calendar/range-calendar-next-button.js +27 -26
  34. package/dist/lib/components/ui/range-calendar/range-calendar-prev-button.js +27 -26
  35. package/dist/lib/components/ui/range-calendar/range-calendar-year-select.js +29 -29
  36. package/dist/lib/components/ui/range-calendar/range-calendar.js +154 -154
  37. package/dist/lib/data-chart/DataChart.js +76 -76
  38. package/dist/lib/ev-stations/components/EvStationClusterTooltip.js +16 -0
  39. package/dist/lib/ev-stations/components/EvStationTooltip.js +120 -0
  40. package/dist/lib/ev-stations/components/EvStationsDisplayOptions.js +41 -0
  41. package/dist/lib/ev-stations/data-maps.js +4 -0
  42. package/dist/lib/ev-stations/ev-station-icons.js +32 -0
  43. package/dist/lib/ev-stations/ev-stations-cluster-renderer.js +118 -0
  44. package/dist/lib/ev-stations/ev-stations-map-integration.svelte.js +181 -0
  45. package/dist/lib/ev-stations/ev-stations.svelte.js +33 -0
  46. package/dist/lib/ev-stations/zip-codes.js +136 -0
  47. package/dist/lib/hms/components/HMSFireLegend.js +35 -0
  48. package/dist/lib/hms/hms.svelte.js +12 -12
  49. package/dist/lib/index.js +19 -17
  50. package/dist/lib/map/Map.js +1 -1
  51. package/dist/lib/map/MapStyleDisplayOptions.js +16 -16
  52. package/dist/lib/map/Menu.js +23 -24
  53. package/dist/lib/map/integrations/map-display-option.svelte.js +3 -2
  54. package/dist/lib/map/integrations/map-icon-manager.js +4 -1
  55. package/dist/lib/map/utils.js +16 -13
  56. package/dist/lib/monitors/components/MonitorClusterTooltip.js +4 -4
  57. package/dist/lib/monitors/components/MonitorMarkersLegend.js +35 -0
  58. package/dist/lib/monitors/components/MonitorSubscriptionManager.js +1 -1
  59. package/dist/lib/monitors/components/MonitorTooltip.js +1 -1
  60. package/dist/lib/monitors/components/MonitorWidgetModal.js +1 -1
  61. package/dist/lib/monitors/components/MonitorsDisplayOptions.js +48 -39
  62. package/dist/lib/monitors/monitors-icon-manager.svelte.js +24 -17
  63. package/dist/lib/monitors/monitors-map-integration.svelte.js +65 -59
  64. package/dist/lib/monitors/monitors.svelte.js +38 -42
  65. package/dist/lib/router-context.js +13 -0
  66. package/dist/lib/routes.js +10 -0
  67. package/dist/lib/search/Search.js +124 -0
  68. package/dist/lib/search/service.js +90 -0
  69. package/dist/lib/sjvair-air.webp +0 -0
  70. package/dist/lib/sjvair-air2.webp +0 -0
  71. package/dist/lib/sjvair-icon.avif +0 -0
  72. package/dist/lib/sjvair-icon.png +0 -0
  73. package/dist/lib/sjvair-icon2.avif +0 -0
  74. package/dist/lib/sjvair-icon2.png +0 -0
  75. package/dist/lib/sjvair-sjv.avif +0 -0
  76. package/dist/lib/sjvair-sjv.webp +0 -0
  77. package/dist/lib/sjvair-sjv2.avif +0 -0
  78. package/dist/lib/sjvair-sjv2.webp +0 -0
  79. package/dist/lib/utils.js +9 -3
  80. package/package.json +37 -36
  81. package/src/lib/LoadScreen.svelte +5 -5
  82. package/src/lib/MainMapView.svelte +1 -0
  83. package/src/lib/MapLegend.svelte +15 -0
  84. package/src/lib/MonitorDetailPanel.svelte +152 -0
  85. package/src/lib/MonitorMapLayout.svelte +193 -0
  86. package/src/lib/components/MapLayersDisplayOptions.svelte +27 -10
  87. package/src/lib/ev-stations/components/EvStationsDisplayOptions.svelte +14 -2
  88. package/src/lib/ev-stations/ev-stations-map-integration.svelte.ts +4 -4
  89. package/src/lib/hms/components/HMSFireLegend.svelte +21 -0
  90. package/src/lib/index.ts +34 -0
  91. package/src/lib/map/Map.svelte +1 -0
  92. package/src/lib/map/Menu.svelte +4 -7
  93. package/src/lib/map/integrations/map-display-option.svelte.ts +5 -1
  94. package/src/lib/map/integrations/map-icon-manager.ts +7 -3
  95. package/src/lib/monitors/components/MonitorsDisplayOptions.svelte +4 -1
  96. package/src/lib/monitors/monitors-icon-manager.svelte.ts +3 -1
  97. package/src/lib/monitors/monitors-map-integration.svelte.ts +9 -9
  98. package/src/lib/monitors/monitors.svelte.ts +1 -3
  99. package/src/lib/router-context.ts +48 -0
  100. package/src/lib/routes.ts +8 -0
  101. package/src/lib/search/Search.svelte +189 -0
  102. package/src/lib/search/service.ts +101 -0
  103. package/src/lib/utils.ts +11 -0
  104. package/dist/lib/assets/icons/adjustment-horizontal.js +0 -4
  105. package/dist/lib/node_modules/@internationalized/date/dist/private/CalendarDate.js +0 -122
  106. package/dist/lib/node_modules/@internationalized/date/dist/private/DateFormatter.js +0 -84
  107. package/dist/lib/node_modules/@internationalized/date/dist/private/calendars/GregorianCalendar.js +0 -91
  108. package/dist/lib/node_modules/@internationalized/date/dist/private/conversion.js +0 -104
  109. package/dist/lib/node_modules/@internationalized/date/dist/private/manipulation.js +0 -159
  110. package/dist/lib/node_modules/@internationalized/date/dist/private/queries.js +0 -32
  111. package/dist/lib/node_modules/@internationalized/date/dist/private/string.js +0 -37
  112. package/dist/lib/node_modules/@internationalized/date/dist/private/utils.js +0 -6
  113. package/dist/lib/node_modules/clsx/dist/clsx.js +0 -16
  114. package/dist/lib/node_modules/tailwind-merge/dist/bundle-mjs.js +0 -1723
  115. package/dist/lib/node_modules/tailwind-variants/dist/chunk-LQJYWU4O.js +0 -70
  116. package/dist/lib/node_modules/tailwind-variants/dist/chunk-RZF76H2U.js +0 -166
  117. package/dist/lib/node_modules/tailwind-variants/dist/index.js +0 -19
  118. package/dist/lib/node_modules/uplot/dist/uPlot.esm.js +0 -2147
  119. package/dist/lib/src/MonitorDetailPanel.js +0 -169
  120. package/dist/lib/src/router.js +0 -9
  121. package/dist/monitor-map/MonitorDetailPanel.css +0 -1
  122. package/dist/monitor-map/assets/MonitorDetailPanel-DmN3xPui.js +0 -15
  123. package/dist/monitor-map/assets/validate-routes-CgbRa8fT.js +0 -1
  124. package/dist/monitor-map/inter-cyrillic-ext-wght-normal.woff2 +0 -0
  125. package/dist/monitor-map/inter-cyrillic-wght-normal.woff2 +0 -0
  126. package/dist/monitor-map/inter-greek-ext-wght-normal.woff2 +0 -0
  127. package/dist/monitor-map/inter-greek-wght-normal.woff2 +0 -0
  128. package/dist/monitor-map/inter-latin-ext-wght-normal.woff2 +0 -0
  129. package/dist/monitor-map/inter-latin-wght-normal.woff2 +0 -0
  130. package/dist/monitor-map/inter-vietnamese-wght-normal.woff2 +0 -0
  131. package/dist/monitor-map/lungs.svg +0 -99
  132. package/dist/monitor-map/sjvair-air.avif +0 -0
  133. package/dist/monitor-map/sjvair-air.png +0 -0
  134. package/dist/monitor-map/sjvair-air.webp +0 -0
  135. package/dist/monitor-map/sjvair-air2.avif +0 -0
  136. package/dist/monitor-map/sjvair-air2.png +0 -0
  137. package/dist/monitor-map/sjvair-air2.webp +0 -0
  138. package/dist/monitor-map/sjvair-icon.avif +0 -0
  139. package/dist/monitor-map/sjvair-icon.png +0 -0
  140. package/dist/monitor-map/sjvair-icon.webp +0 -0
  141. package/dist/monitor-map/sjvair-icon2.avif +0 -0
  142. package/dist/monitor-map/sjvair-icon2.png +0 -0
  143. package/dist/monitor-map/sjvair-icon2.webp +0 -0
  144. package/dist/monitor-map/sjvair-sjv.avif +0 -0
  145. package/dist/monitor-map/sjvair-sjv.png +0 -0
  146. package/dist/monitor-map/sjvair-sjv.webp +0 -0
  147. package/dist/monitor-map/sjvair-sjv2.avif +0 -0
  148. package/dist/monitor-map/sjvair-sjv2.png +0 -0
  149. package/dist/monitor-map/sjvair-sjv2.webp +0 -0
  150. package/dist/monitor-map/sjvairMonitorMap.css +0 -1
  151. package/dist/monitor-map/sjvairMonitorMap.js +0 -4042
@@ -1,272 +1,272 @@
1
- import { $ad063034c8620db8$export$5a8da0c44a3afdf2 as e } from "../../../node_modules/@internationalized/date/dist/private/queries.js";
2
- import { cn as t } from "../../../utils.js";
3
- import n from "./range-calendar-cell.js";
4
- import r from "./range-calendar-day.js";
5
- import i from "./range-calendar-grid.js";
6
- import a from "./range-calendar-header.js";
7
- import o from "./range-calendar-months.js";
8
- import s from "./range-calendar-grid-row.js";
9
- import c from "./range-calendar-head-cell.js";
10
- import l from "./range-calendar-next-button.js";
11
- import u from "./range-calendar-prev-button.js";
12
- import d from "./range-calendar-caption.js";
13
- import f from "./range-calendar-nav.js";
14
- import p from "./range-calendar-month.js";
15
- import m from "./range-calendar-grid-body.js";
16
- import h from "./range-calendar-grid-head.js";
17
- import * as g from "svelte/internal/client";
1
+ import { cn as e } from "../../../utils.js";
2
+ import t from "./range-calendar-cell.js";
3
+ import n from "./range-calendar-day.js";
4
+ import r from "./range-calendar-grid.js";
5
+ import i from "./range-calendar-header.js";
6
+ import a from "./range-calendar-months.js";
7
+ import o from "./range-calendar-grid-row.js";
8
+ import s from "./range-calendar-head-cell.js";
9
+ import c from "./range-calendar-next-button.js";
10
+ import l from "./range-calendar-prev-button.js";
11
+ import u from "./range-calendar-caption.js";
12
+ import d from "./range-calendar-nav.js";
13
+ import f from "./range-calendar-month.js";
14
+ import p from "./range-calendar-grid-body.js";
15
+ import m from "./range-calendar-grid-head.js";
18
16
  import "svelte/internal/disclose-version";
17
+ import * as h from "svelte/internal/client";
18
+ import { isEqualMonth as g } from "@internationalized/date";
19
19
  import { RangeCalendar as _ } from "bits-ui";
20
20
  //#region src/lib/components/ui/range-calendar/range-calendar.svelte
21
- var v = g.from_html("<!> <!>", 1), y = g.from_html("<!> <!>", 1), b = g.from_html("<!> <!>", 1), x = g.from_html("<!> <!>", 1);
22
- function S(S, C) {
23
- g.push(C, !0);
24
- let w = g.prop(C, "ref", 15, null), T = g.prop(C, "value", 15), E = g.prop(C, "placeholder", 15), D = g.prop(C, "weekdayFormat", 3, "short"), O = g.prop(C, "buttonVariant", 3, "ghost"), k = g.prop(C, "captionLayout", 3, "label"), A = g.prop(C, "locale", 3, "en-US"), j = g.prop(C, "yearFormat", 3, "numeric"), M = g.prop(C, "disableDaysOutsideMonth", 3, !1), N = g.rest_props(C, [
25
- "$$slots",
26
- "$$events",
27
- "$$legacy",
28
- "ref",
29
- "value",
30
- "placeholder",
31
- "weekdayFormat",
32
- "class",
33
- "buttonVariant",
34
- "captionLayout",
35
- "locale",
36
- "months",
37
- "years",
38
- "monthFormat",
39
- "yearFormat",
40
- "day",
41
- "disableDaysOutsideMonth"
42
- ]), P = g.derived(() => C.monthFormat ? C.monthFormat : k().startsWith("dropdown") ? "short" : "long");
43
- var F = g.comment(), I = g.first_child(F);
21
+ var v = /* @__PURE__ */ new Set([
22
+ "$$slots",
23
+ "$$events",
24
+ "$$legacy",
25
+ "ref",
26
+ "value",
27
+ "placeholder",
28
+ "weekdayFormat",
29
+ "class",
30
+ "buttonVariant",
31
+ "captionLayout",
32
+ "locale",
33
+ "months",
34
+ "years",
35
+ "monthFormat",
36
+ "yearFormat",
37
+ "day",
38
+ "disableDaysOutsideMonth"
39
+ ]), y = h.from_html("<!> <!>", 1);
40
+ function b(b, x) {
41
+ h.push(x, !0);
42
+ let S = h.prop(x, "ref", 15, null), C = h.prop(x, "value", 15), w = h.prop(x, "placeholder", 15), T = h.prop(x, "weekdayFormat", 3, "short"), E = h.prop(x, "buttonVariant", 3, "ghost"), D = h.prop(x, "captionLayout", 3, "label"), O = h.prop(x, "locale", 3, "en-US"), k = h.prop(x, "yearFormat", 3, "numeric"), A = h.prop(x, "disableDaysOutsideMonth", 3, !1), j = h.rest_props(x, v), M = h.derived(() => x.monthFormat ? x.monthFormat : D().startsWith("dropdown") ? "short" : "long");
43
+ var N = h.comment(), P = h.first_child(N);
44
44
  {
45
- let S = (t, _) => {
46
- let S = () => _?.().months, w = () => _?.().weekdays;
47
- var T = g.comment(), D = g.first_child(T);
48
- g.component(D, () => o, (t, o) => {
49
- o(t, {
50
- children: (t, o) => {
51
- var _ = x(), T = g.first_child(_);
52
- g.component(T, () => f, (e, t) => {
45
+ let v = (e, _) => {
46
+ let v = () => (_?.()).months, b = () => (_?.()).weekdays;
47
+ var S = h.comment(), C = h.first_child(S);
48
+ h.component(C, () => a, (e, a) => {
49
+ a(e, {
50
+ children: (e, a) => {
51
+ var _ = y(), S = h.first_child(_);
52
+ h.component(S, () => d, (e, t) => {
53
53
  t(e, {
54
54
  children: (e, t) => {
55
- var n = v(), r = g.first_child(n);
56
- g.component(r, () => u, (e, t) => {
55
+ var n = y(), r = h.first_child(n);
56
+ h.component(r, () => l, (e, t) => {
57
57
  t(e, { get variant() {
58
- return O();
58
+ return E();
59
59
  } });
60
60
  });
61
- var i = g.sibling(r, 2);
62
- g.component(i, () => l, (e, t) => {
61
+ var i = h.sibling(r, 2);
62
+ h.component(i, () => c, (e, t) => {
63
63
  t(e, { get variant() {
64
- return O();
64
+ return E();
65
65
  } });
66
- }), g.append(e, n);
66
+ }), h.append(e, n);
67
67
  },
68
68
  $$slots: { default: !0 }
69
69
  });
70
70
  });
71
- var D = g.sibling(T, 2);
72
- g.each(D, 18, S, (e) => e, (t, o, l) => {
73
- var u = g.comment(), f = g.first_child(u);
74
- g.component(f, () => p, (t, u) => {
75
- u(t, {
76
- children: (t, u) => {
77
- var f = b(), p = g.first_child(f);
78
- g.component(p, () => a, (e, t) => {
71
+ var C = h.sibling(S, 2);
72
+ h.each(C, 18, v, (e) => e, (e, a, c) => {
73
+ var l = h.comment(), d = h.first_child(l);
74
+ h.component(d, () => f, (e, l) => {
75
+ l(e, {
76
+ children: (e, l) => {
77
+ var d = y(), f = h.first_child(d);
78
+ h.component(f, () => i, (e, t) => {
79
79
  t(e, {
80
80
  children: (e, t) => {
81
- var n = g.comment(), r = g.first_child(n);
82
- g.component(r, () => d, (e, t) => {
81
+ var n = h.comment(), r = h.first_child(n);
82
+ h.component(r, () => u, (e, t) => {
83
83
  t(e, {
84
84
  get captionLayout() {
85
- return k();
85
+ return D();
86
86
  },
87
87
  get months() {
88
- return C.months;
88
+ return x.months;
89
89
  },
90
90
  get monthFormat() {
91
- return g.get(P);
91
+ return h.get(M);
92
92
  },
93
93
  get years() {
94
- return C.years;
94
+ return x.years;
95
95
  },
96
96
  get yearFormat() {
97
- return j();
97
+ return k();
98
98
  },
99
99
  get month() {
100
- return o.value;
100
+ return a.value;
101
101
  },
102
102
  get locale() {
103
- return A();
103
+ return O();
104
104
  },
105
105
  get monthIndex() {
106
- return g.get(l);
106
+ return h.get(c);
107
107
  },
108
108
  get placeholder() {
109
- return E();
109
+ return w();
110
110
  },
111
111
  set placeholder(e) {
112
- E(e);
112
+ w(e);
113
113
  }
114
114
  });
115
- }), g.append(e, n);
115
+ }), h.append(e, n);
116
116
  },
117
117
  $$slots: { default: !0 }
118
118
  });
119
119
  });
120
- var _ = g.sibling(p, 2);
121
- g.component(_, () => i, (t, i) => {
122
- i(t, {
123
- children: (t, i) => {
124
- var a = y(), l = g.first_child(a);
125
- g.component(l, () => h, (e, t) => {
120
+ var _ = h.sibling(f, 2);
121
+ h.component(_, () => r, (e, r) => {
122
+ r(e, {
123
+ children: (e, r) => {
124
+ var i = y(), c = h.first_child(i);
125
+ h.component(c, () => m, (e, t) => {
126
126
  t(e, {
127
127
  children: (e, t) => {
128
- var n = g.comment(), r = g.first_child(n);
129
- g.component(r, () => s, (e, t) => {
128
+ var n = h.comment(), r = h.first_child(n);
129
+ h.component(r, () => o, (e, t) => {
130
130
  t(e, {
131
131
  class: "select-none",
132
132
  children: (e, t) => {
133
- var n = g.comment(), r = g.first_child(n);
134
- g.each(r, 17, w, g.index, (e, t) => {
135
- var n = g.comment(), r = g.first_child(n);
136
- g.component(r, () => c, (e, n) => {
133
+ var n = h.comment(), r = h.first_child(n);
134
+ h.each(r, 17, b, h.index, (e, t) => {
135
+ var n = h.comment(), r = h.first_child(n);
136
+ h.component(r, () => s, (e, n) => {
137
137
  n(e, {
138
138
  children: (e, n) => {
139
- g.next();
140
- var r = g.text();
141
- g.template_effect((e) => g.set_text(r, e), [() => g.get(t).slice(0, 2)]), g.append(e, r);
139
+ h.next();
140
+ var r = h.text();
141
+ h.template_effect((e) => h.set_text(r, e), [() => h.get(t).slice(0, 2)]), h.append(e, r);
142
142
  },
143
143
  $$slots: { default: !0 }
144
144
  });
145
- }), g.append(e, n);
146
- }), g.append(e, n);
145
+ }), h.append(e, n);
146
+ }), h.append(e, n);
147
147
  },
148
148
  $$slots: { default: !0 }
149
149
  });
150
- }), g.append(e, n);
150
+ }), h.append(e, n);
151
151
  },
152
152
  $$slots: { default: !0 }
153
153
  });
154
154
  });
155
- var u = g.sibling(l, 2);
156
- g.component(u, () => m, (t, i) => {
157
- i(t, {
158
- children: (t, i) => {
159
- var a = g.comment(), c = g.first_child(a);
160
- g.each(c, 16, () => o.weeks, (e) => e, (t, i) => {
161
- var a = g.comment(), c = g.first_child(a);
162
- g.component(c, () => s, (t, a) => {
163
- a(t, {
155
+ var l = h.sibling(c, 2);
156
+ h.component(l, () => p, (e, r) => {
157
+ r(e, {
158
+ children: (e, r) => {
159
+ var i = h.comment(), s = h.first_child(i);
160
+ h.each(s, 16, () => a.weeks, (e) => e, (e, r) => {
161
+ var i = h.comment(), s = h.first_child(i);
162
+ h.component(s, () => o, (e, i) => {
163
+ i(e, {
164
164
  class: "mt-2 w-full",
165
- children: (t, a) => {
166
- var s = g.comment(), c = g.first_child(s);
167
- g.each(c, 16, () => i, (e) => e, (t, i) => {
168
- var a = g.comment(), s = g.first_child(a);
169
- g.component(s, () => n, (t, n) => {
170
- n(t, {
165
+ children: (e, i) => {
166
+ var o = h.comment(), s = h.first_child(o);
167
+ h.each(s, 16, () => r, (e) => e, (e, r) => {
168
+ var i = h.comment(), o = h.first_child(i);
169
+ h.component(o, () => t, (e, t) => {
170
+ t(e, {
171
171
  get date() {
172
- return i;
172
+ return r;
173
173
  },
174
174
  get month() {
175
- return o.value;
175
+ return a.value;
176
176
  },
177
- children: (t, n) => {
178
- var a = g.comment(), s = g.first_child(a), c = (t) => {
179
- var n = g.comment(), r = g.first_child(n);
177
+ children: (e, t) => {
178
+ var i = h.comment(), o = h.first_child(i), s = (e) => {
179
+ var t = h.comment(), n = h.first_child(t);
180
180
  {
181
- let t = g.derived(() => ({
182
- day: i,
183
- outsideMonth: !e(i, o.value)
181
+ let e = h.derived(() => ({
182
+ day: r,
183
+ outsideMonth: !g(r, a.value)
184
184
  }));
185
- g.snippet(r, () => C.day, () => g.get(t));
185
+ h.snippet(n, () => x.day, () => h.get(e));
186
186
  }
187
- g.append(t, n);
188
- }, l = (e) => {
189
- var t = g.comment(), n = g.first_child(t);
190
- g.component(n, () => r, (e, t) => {
187
+ h.append(e, t);
188
+ }, c = (e) => {
189
+ var t = h.comment(), r = h.first_child(t);
190
+ h.component(r, () => n, (e, t) => {
191
191
  t(e, {});
192
- }), g.append(e, t);
192
+ }), h.append(e, t);
193
193
  };
194
- g.if(s, (e) => {
195
- C.day ? e(c) : e(l, -1);
196
- }), g.append(t, a);
194
+ h.if(o, (e) => {
195
+ x.day ? e(s) : e(c, -1);
196
+ }), h.append(e, i);
197
197
  },
198
198
  $$slots: { default: !0 }
199
199
  });
200
- }), g.append(t, a);
201
- }), g.append(t, s);
200
+ }), h.append(e, i);
201
+ }), h.append(e, o);
202
202
  },
203
203
  $$slots: { default: !0 }
204
204
  });
205
- }), g.append(t, a);
206
- }), g.append(t, a);
205
+ }), h.append(e, i);
206
+ }), h.append(e, i);
207
207
  },
208
208
  $$slots: { default: !0 }
209
209
  });
210
- }), g.append(t, a);
210
+ }), h.append(e, i);
211
211
  },
212
212
  $$slots: { default: !0 }
213
213
  });
214
- }), g.append(t, f);
214
+ }), h.append(e, d);
215
215
  },
216
216
  $$slots: { default: !0 }
217
217
  });
218
- }), g.append(t, u);
219
- }), g.append(t, _);
218
+ }), h.append(e, l);
219
+ }), h.append(e, _);
220
220
  },
221
221
  $$slots: { default: !0 }
222
222
  });
223
- }), g.append(t, T);
224
- }, F = g.derived(() => t("bg-background group/calendar p-2 p-3 [--cell-radius:var(--radius-md)] [--cell-size:--spacing(7)] [[data-slot=card-content]_&]:bg-transparent [[data-slot=popover-content]_&]:bg-transparent", C.class));
225
- g.component(I, () => _.Root, (e, t) => {
226
- t(e, g.spread_props({
223
+ }), h.append(e, S);
224
+ }, b = h.derived(() => e("bg-background group/calendar p-2 p-3 [--cell-radius:var(--radius-md)] [--cell-size:--spacing(7)] [[data-slot=card-content]_&]:bg-transparent [[data-slot=popover-content]_&]:bg-transparent", x.class));
225
+ h.component(P, () => _.Root, (e, t) => {
226
+ t(e, h.spread_props({
227
227
  get weekdayFormat() {
228
- return D();
228
+ return T();
229
229
  },
230
230
  get disableDaysOutsideMonth() {
231
- return M();
231
+ return A();
232
232
  },
233
233
  get class() {
234
- return g.get(F);
234
+ return h.get(b);
235
235
  },
236
236
  get locale() {
237
- return A();
237
+ return O();
238
238
  },
239
239
  get monthFormat() {
240
- return g.get(P);
240
+ return h.get(M);
241
241
  },
242
242
  get yearFormat() {
243
- return j();
243
+ return k();
244
244
  }
245
- }, () => N, {
245
+ }, () => j, {
246
246
  get ref() {
247
- return w();
247
+ return S();
248
248
  },
249
249
  set ref(e) {
250
- w(e);
250
+ S(e);
251
251
  },
252
252
  get value() {
253
- return T();
253
+ return C();
254
254
  },
255
255
  set value(e) {
256
- T(e);
256
+ C(e);
257
257
  },
258
258
  get placeholder() {
259
- return E();
259
+ return w();
260
260
  },
261
261
  set placeholder(e) {
262
- E(e);
262
+ w(e);
263
263
  },
264
- children: S,
264
+ children: v,
265
265
  $$slots: { default: !0 }
266
266
  }));
267
267
  });
268
268
  }
269
- g.append(S, F), g.pop();
269
+ h.append(b, N), h.pop();
270
270
  }
271
271
  //#endregion
272
- export { S as default };
272
+ export { b as default };