@max-ts/svelte 1.0.0 → 1.0.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/dist/_virtual/rolldown_runtime.js +29 -1
- package/dist/assets/{theme.css.ts.vanilla-BHlWyczr.css → theme.css.ts.vanilla-BRMmE1vI.css} +3 -3
- package/dist/components/Accordion/Accordion.js +38 -1
- package/dist/components/Accordion/Content/Content.js +49 -1
- package/dist/components/Accordion/Content/styles.css.js +12 -1
- package/dist/components/Accordion/Item/Item.js +41 -1
- package/dist/components/Accordion/Item/styles.css.js +9 -1
- package/dist/components/Accordion/Trigger/Trigger.js +71 -1
- package/dist/components/Accordion/Trigger/styles.css.js +13 -1
- package/dist/components/Accordion/index.js +15 -1
- package/dist/components/Alert/Alert.js +35 -1
- package/dist/components/Alert/Description/Description.js +32 -1
- package/dist/components/Alert/Description/styles.css.js +9 -1
- package/dist/components/Alert/Title/Title.js +32 -1
- package/dist/components/Alert/Title/styles.css.js +9 -1
- package/dist/components/Alert/index.js +14 -1
- package/dist/components/Alert/styles.css.js +14 -1
- package/dist/components/Button/Button.js +75 -1
- package/dist/components/Button/styles.css.js +27 -1
- package/dist/components/Calendar/Calendar.js +270 -1
- package/dist/components/Calendar/Caption/Caption.js +125 -1
- package/dist/components/Calendar/Cell/Cell.js +38 -1
- package/dist/components/Calendar/Cell/styles.css.js +9 -1
- package/dist/components/Calendar/Day/Day.js +43 -1
- package/dist/components/Calendar/Day/styles.css.js +9 -1
- package/dist/components/Calendar/Grid/Grid.js +38 -1
- package/dist/components/Calendar/Grid/styles.css.js +9 -1
- package/dist/components/Calendar/GridBody/GridBody.js +31 -1
- package/dist/components/Calendar/GridHead/GridHead.js +31 -1
- package/dist/components/Calendar/GridRow/GridRow.js +38 -1
- package/dist/components/Calendar/GridRow/styles.css.js +9 -1
- package/dist/components/Calendar/HeadCell/HeadCell.js +38 -1
- package/dist/components/Calendar/HeadCell/styles.css.js +9 -1
- package/dist/components/Calendar/Header/Header.js +38 -1
- package/dist/components/Calendar/Header/styles.css.js +9 -1
- package/dist/components/Calendar/Month/Month.js +29 -1
- package/dist/components/Calendar/MonthSelect/MonthSelect.js +81 -1
- package/dist/components/Calendar/MonthSelect/styles.css.js +13 -1
- package/dist/components/Calendar/Months/Months.js +31 -1
- package/dist/components/Calendar/Months/styles.css.js +9 -1
- package/dist/components/Calendar/Nav/Nav.js +31 -1
- package/dist/components/Calendar/Nav/styles.css.js +9 -1
- package/dist/components/Calendar/NextButton/NextButton.js +55 -1
- package/dist/components/Calendar/NextButton/styles.css.js +8 -1
- package/dist/components/Calendar/PrevButton/PrevButton.js +55 -1
- package/dist/components/Calendar/PrevButton/styles.css.js +8 -1
- package/dist/components/Calendar/YearSelect/YearSelect.js +79 -1
- package/dist/components/Calendar/YearSelect/styles.css.js +13 -1
- package/dist/components/Calendar/styles.css.js +13 -1
- package/dist/components/Card/Action/Action.js +32 -1
- package/dist/components/Card/Action/styles.css.js +8 -1
- package/dist/components/Card/Card.js +32 -1
- package/dist/components/Card/Content/Content.js +32 -1
- package/dist/components/Card/Content/styles.css.js +9 -1
- package/dist/components/Card/Description/Description.js +32 -1
- package/dist/components/Card/Description/styles.css.js +9 -1
- package/dist/components/Card/Footer/Footer.js +32 -1
- package/dist/components/Card/Footer/styles.css.js +9 -1
- package/dist/components/Card/Header/Header.js +32 -1
- package/dist/components/Card/Header/styles.css.js +9 -1
- package/dist/components/Card/Title/Title.js +32 -1
- package/dist/components/Card/Title/styles.css.js +9 -1
- package/dist/components/Card/index.js +21 -1
- package/dist/components/Card/styles.css.js +9 -1
- package/dist/components/Checkbox/Checkbox.js +86 -1
- package/dist/components/Checkbox/styles.css.js +12 -1
- package/dist/components/CircularProgress/CircularProgress.js +49 -1
- package/dist/components/CircularProgress/styles.css.js +23 -1
- package/dist/components/DataGrid/Body/Body.js +83 -1
- package/dist/components/DataGrid/Body/styles.css.js +8 -1
- package/dist/components/DataGrid/Cell/Cell.js +73 -1
- package/dist/components/DataGrid/Cell/styles.css.js +12 -1
- package/dist/components/DataGrid/DataGrid.js +113 -1
- package/dist/components/DataGrid/Footer/Footer.js +19 -1
- package/dist/components/DataGrid/Footer/styles.css.js +9 -1
- package/dist/components/DataGrid/Header/Header.js +33 -1
- package/dist/components/DataGrid/Header/styles.css.js +8 -1
- package/dist/components/DataGrid/HeaderCell/HeaderCell.js +46 -1
- package/dist/components/DataGrid/HeaderCell/styles.css.js +9 -1
- package/dist/components/DataGrid/Row/Row.js +40 -1
- package/dist/components/DataGrid/Row/styles.css.js +12 -1
- package/dist/components/DataGrid/State/State.js +132 -1
- package/dist/components/DataGrid/State/styles.css.js +11 -1
- package/dist/components/DataGrid/constants.js +5 -1
- package/dist/components/DataGrid/styles.css.js +16 -1
- package/dist/components/DataGridSortHeader/DataGridSortHeader.js +71 -1
- package/dist/components/DataGridSortHeader/styles.css.js +18 -1
- package/dist/components/DropdownMenu/CheckboxGroup/CheckboxGroup.js +38 -1
- package/dist/components/DropdownMenu/CheckboxItem/CheckboxItem.js +90 -1
- package/dist/components/DropdownMenu/CheckboxItem/styles.css.js +13 -1
- package/dist/components/DropdownMenu/Content/Content.js +52 -1
- package/dist/components/DropdownMenu/Content/styles.css.js +9 -1
- package/dist/components/DropdownMenu/DropdownMenu.js +31 -1
- package/dist/components/DropdownMenu/Group/Group.js +31 -1
- package/dist/components/DropdownMenu/GroupHeading/GroupHeading.js +45 -1
- package/dist/components/DropdownMenu/GroupHeading/styles.css.js +9 -1
- package/dist/components/DropdownMenu/Item/Item.js +49 -1
- package/dist/components/DropdownMenu/Item/styles.css.js +9 -1
- package/dist/components/DropdownMenu/Label/Label.js +34 -1
- package/dist/components/DropdownMenu/Label/styles.css.js +8 -1
- package/dist/components/DropdownMenu/Portal/Portal.js +21 -1
- package/dist/components/DropdownMenu/RadioGroup/RadioGroup.js +38 -1
- package/dist/components/DropdownMenu/RadioItem/RadioItem.js +65 -1
- package/dist/components/DropdownMenu/RadioItem/styles.css.js +13 -1
- package/dist/components/DropdownMenu/Separator/Separator.js +41 -1
- package/dist/components/DropdownMenu/Separator/styles.css.js +9 -1
- package/dist/components/DropdownMenu/Shortcut/Shortcut.js +32 -1
- package/dist/components/DropdownMenu/Shortcut/styles.css.js +9 -1
- package/dist/components/DropdownMenu/Sub/Sub.js +31 -1
- package/dist/components/DropdownMenu/SubContent/SubContent.js +41 -1
- package/dist/components/DropdownMenu/SubContent/styles.css.js +9 -1
- package/dist/components/DropdownMenu/SubTrigger/SubTrigger.js +58 -1
- package/dist/components/DropdownMenu/SubTrigger/styles.css.js +12 -1
- package/dist/components/DropdownMenu/Trigger/Trigger.js +31 -1
- package/dist/components/DropdownMenu/index.js +41 -1
- package/dist/components/Field/Content/Content.js +32 -1
- package/dist/components/Field/Content/styles.css.js +9 -1
- package/dist/components/Field/Description/Description.js +32 -1
- package/dist/components/Field/Description/styles.css.js +9 -1
- package/dist/components/Field/Field.js +35 -1
- package/dist/components/Field/FieldError/FieldError.js +103 -1
- package/dist/components/Field/FieldError/styles.css.js +9 -1
- package/dist/components/Field/FieldSet/FieldSet.js +32 -1
- package/dist/components/Field/FieldSet/styles.css.js +9 -1
- package/dist/components/Field/Group/Group.js +32 -1
- package/dist/components/Field/Group/styles.css.js +9 -1
- package/dist/components/Field/Label/Label.js +44 -1
- package/dist/components/Field/Label/styles.css.js +9 -1
- package/dist/components/Field/Legend/Legend.js +34 -1
- package/dist/components/Field/Legend/styles.css.js +9 -1
- package/dist/components/Field/Separator/Separator.js +50 -1
- package/dist/components/Field/Separator/styles.css.js +13 -1
- package/dist/components/Field/Title/Title.js +32 -1
- package/dist/components/Field/Title/styles.css.js +9 -1
- package/dist/components/Field/index.js +27 -1
- package/dist/components/Field/styles.css.js +12 -1
- package/dist/components/Input/Input.js +66 -1
- package/dist/components/Input/styles.css.js +17 -1
- package/dist/components/Label/Label.js +41 -1
- package/dist/components/Label/styles.css.js +9 -1
- package/dist/components/Placeholder/Image/Image.js +31 -1
- package/dist/components/Placeholder/Image/styles.css.js +16 -1
- package/dist/components/Placeholder/Placeholder.js +103 -1
- package/dist/components/Placeholder/constants.js +29 -1
- package/dist/components/Placeholder/styles.css.js +19 -1
- package/dist/components/Select/Content/Content.js +83 -1
- package/dist/components/Select/Content/styles.css.js +12 -1
- package/dist/components/Select/Group/Group.js +31 -1
- package/dist/components/Select/GroupHeading/GroupHeading.js +49 -1
- package/dist/components/Select/GroupHeading/styles.css.js +9 -1
- package/dist/components/Select/Item/Item.js +86 -1
- package/dist/components/Select/Item/styles.css.js +12 -1
- package/dist/components/Select/Label/Label.js +32 -1
- package/dist/components/Select/Label/styles.css.js +9 -1
- package/dist/components/Select/Portal/Portal.js +21 -1
- package/dist/components/Select/ScrollDownButton/ScrollDownButton.js +46 -1
- package/dist/components/Select/ScrollDownButton/styles.css.js +9 -1
- package/dist/components/Select/ScrollUpButton/ScrollUpButton.js +48 -1
- package/dist/components/Select/ScrollUpButton/styles.css.js +12 -1
- package/dist/components/Select/Select.js +38 -1
- package/dist/components/Select/Separator/Separator.js +35 -1
- package/dist/components/Select/Separator/styles.css.js +9 -1
- package/dist/components/Select/Trigger/Trigger.js +58 -1
- package/dist/components/Select/Trigger/styles.css.js +12 -1
- package/dist/components/Select/index.js +29 -1
- package/dist/components/Separator/Separator.js +44 -1
- package/dist/components/Separator/styles.css.js +9 -1
- package/dist/components/Spinner/Spinner.js +34 -1
- package/dist/components/Spinner/styles.css.js +17 -1
- package/dist/components/Tooltip/Content/Content.js +94 -1
- package/dist/components/Tooltip/Content/styles.css.js +12 -1
- package/dist/components/Tooltip/Portal/Portal.js +21 -1
- package/dist/components/Tooltip/Provider/Provider.js +21 -1
- package/dist/components/Tooltip/Tooltip.js +101 -1
- package/dist/components/Tooltip/Trigger/Trigger.js +31 -1
- package/dist/components/Typography/Typography.js +77 -1
- package/dist/components/Typography/styles.css.js +58 -1
- package/dist/index.js +28 -1
- package/dist/node_modules/.pnpm/@emotion_hash@0.9.2/node_modules/@emotion/hash/dist/emotion-hash.esm.js +24 -1
- package/dist/node_modules/.pnpm/@vanilla-extract_css@1.18.0/node_modules/@vanilla-extract/css/adapter/dist/vanilla-extract-css-adapter.browser.esm.js +43 -1
- package/dist/node_modules/.pnpm/@vanilla-extract_css@1.18.0/node_modules/@vanilla-extract/css/dist/taggedTemplateLiteral-8e47dbd7.browser.esm.js +8 -1
- package/dist/node_modules/.pnpm/@vanilla-extract_css@1.18.0/node_modules/@vanilla-extract/css/dist/transformCss-20240126.browser.esm.js +765 -18
- package/dist/node_modules/.pnpm/@vanilla-extract_css@1.18.0/node_modules/@vanilla-extract/css/dist/vanilla-extract-css.browser.esm.js +297 -4
- package/dist/node_modules/.pnpm/@vanilla-extract_css@1.18.0/node_modules/@vanilla-extract/css/fileScope/dist/vanilla-extract-css-fileScope.browser.esm.js +17 -5
- package/dist/node_modules/.pnpm/@vanilla-extract_css@1.18.0/node_modules/@vanilla-extract/css/injectStyles/dist/vanilla-extract-css-injectStyles.browser.esm.js +19 -1
- package/dist/node_modules/.pnpm/@vanilla-extract_private@1.0.9/node_modules/@vanilla-extract/private/dist/vanilla-extract-private.esm.js +29 -1
- package/dist/node_modules/.pnpm/css-what@6.2.2/node_modules/css-what/lib/es/parse.js +314 -1
- package/dist/node_modules/.pnpm/css-what@6.2.2/node_modules/css-what/lib/es/types.js +29 -1
- package/dist/node_modules/.pnpm/cssesc@3.0.0/node_modules/cssesc/cssesc.js +66 -2
- package/dist/node_modules/.pnpm/dedent@1.7.1/node_modules/dedent/dist/dedent.js +104 -6
- package/dist/node_modules/.pnpm/deep-object-diff@1.1.9/node_modules/deep-object-diff/mjs/diff.js +29 -1
- package/dist/node_modules/.pnpm/deep-object-diff@1.1.9/node_modules/deep-object-diff/mjs/utils.js +10 -1
- package/dist/node_modules/.pnpm/deepmerge@4.3.1/node_modules/deepmerge/dist/cjs.js +88 -1
- package/dist/node_modules/.pnpm/lru-cache@10.4.3/node_modules/lru-cache/dist/esm/index.js +1155 -1
- package/dist/node_modules/.pnpm/media-query-parser@2.0.2/node_modules/media-query-parser/dist/media-query-parser.esm.js +925 -8
- package/dist/node_modules/.pnpm/modern-ahocorasick@1.1.0/node_modules/modern-ahocorasick/dist/index.js +81 -1
- package/dist/node_modules/.pnpm/picocolors@1.1.1/node_modules/picocolors/picocolors.browser.js +59 -1
- package/dist/styles/index.js +3 -0
- package/dist/styles/theme.css.js +92 -1
- package/dist/styles/utils.js +11 -1
- package/package.json +7 -2
|
@@ -1 +1,270 @@
|
|
|
1
|
-
import
|
|
1
|
+
import Caption from "./Caption/Caption.js";
|
|
2
|
+
import Cell from "./Cell/Cell.js";
|
|
3
|
+
import Day from "./Day/Day.js";
|
|
4
|
+
import Grid from "./Grid/Grid.js";
|
|
5
|
+
import GridBody from "./GridBody/GridBody.js";
|
|
6
|
+
import GridHead from "./GridHead/GridHead.js";
|
|
7
|
+
import GridRow from "./GridRow/GridRow.js";
|
|
8
|
+
import HeadCell from "./HeadCell/HeadCell.js";
|
|
9
|
+
import Header from "./Header/Header.js";
|
|
10
|
+
import Month from "./Month/Month.js";
|
|
11
|
+
import Months from "./Months/Months.js";
|
|
12
|
+
import Nav from "./Nav/Nav.js";
|
|
13
|
+
import NextButton from "./NextButton/NextButton.js";
|
|
14
|
+
import PrevButton from "./PrevButton/PrevButton.js";
|
|
15
|
+
import styles_css_default from "./styles.css.js";
|
|
16
|
+
import "svelte/internal/disclose-version";
|
|
17
|
+
import * as $ from "svelte/internal/client";
|
|
18
|
+
import { Calendar } from "bits-ui";
|
|
19
|
+
import { isEqualMonth } from "@internationalized/date";
|
|
20
|
+
|
|
21
|
+
//#region src/components/Calendar/Calendar.svelte
|
|
22
|
+
var root_3 = $.from_html(`<!> <!>`, 1);
|
|
23
|
+
var root_7 = $.from_html(`<!> <!>`, 1);
|
|
24
|
+
var root_5 = $.from_html(`<!> <!>`, 1);
|
|
25
|
+
var root_2 = $.from_html(`<!> <!>`, 1);
|
|
26
|
+
function Calendar$1($$anchor, $$props) {
|
|
27
|
+
$.push($$props, true);
|
|
28
|
+
let ref = $.prop($$props, "ref", 15, null), value = $.prop($$props, "value", 15), placeholder = $.prop($$props, "placeholder", 15), weekdayFormat = $.prop($$props, "weekdayFormat", 3, "short"), buttonVariant = $.prop($$props, "buttonVariant", 3, "ghost"), captionLayout = $.prop($$props, "captionLayout", 3, "label"), locale = $.prop($$props, "locale", 3, "ru-RU"), yearFormat = $.prop($$props, "yearFormat", 3, "numeric"), disableDaysOutsideMonth = $.prop($$props, "disableDaysOutsideMonth", 3, false), restProps = $.rest_props($$props, [
|
|
29
|
+
"$$slots",
|
|
30
|
+
"$$events",
|
|
31
|
+
"$$legacy",
|
|
32
|
+
"ref",
|
|
33
|
+
"value",
|
|
34
|
+
"placeholder",
|
|
35
|
+
"class",
|
|
36
|
+
"weekdayFormat",
|
|
37
|
+
"buttonVariant",
|
|
38
|
+
"captionLayout",
|
|
39
|
+
"locale",
|
|
40
|
+
"months",
|
|
41
|
+
"years",
|
|
42
|
+
"monthFormat",
|
|
43
|
+
"yearFormat",
|
|
44
|
+
"day",
|
|
45
|
+
"disableDaysOutsideMonth"
|
|
46
|
+
]);
|
|
47
|
+
const monthFormat = $.derived(() => {
|
|
48
|
+
if ($$props.monthFormat) return $$props.monthFormat;
|
|
49
|
+
if (captionLayout().startsWith("dropdown")) return "short";
|
|
50
|
+
return "long";
|
|
51
|
+
});
|
|
52
|
+
var fragment = $.comment();
|
|
53
|
+
var node = $.first_child(fragment);
|
|
54
|
+
{
|
|
55
|
+
const children = ($$anchor$1, $$arg0) => {
|
|
56
|
+
let months = () => $$arg0?.().months;
|
|
57
|
+
let weekdays = () => $$arg0?.().weekdays;
|
|
58
|
+
Months($$anchor$1, {
|
|
59
|
+
children: ($$anchor$2, $$slotProps) => {
|
|
60
|
+
var fragment_2 = root_2();
|
|
61
|
+
var node_1 = $.first_child(fragment_2);
|
|
62
|
+
Nav(node_1, {
|
|
63
|
+
children: ($$anchor$3, $$slotProps$1) => {
|
|
64
|
+
var fragment_3 = root_3();
|
|
65
|
+
var node_2 = $.first_child(fragment_3);
|
|
66
|
+
PrevButton(node_2, { get variant() {
|
|
67
|
+
return buttonVariant();
|
|
68
|
+
} });
|
|
69
|
+
NextButton($.sibling(node_2, 2), { get variant() {
|
|
70
|
+
return buttonVariant();
|
|
71
|
+
} });
|
|
72
|
+
$.append($$anchor$3, fragment_3);
|
|
73
|
+
},
|
|
74
|
+
$$slots: { default: true }
|
|
75
|
+
});
|
|
76
|
+
var node_4 = $.sibling(node_1, 2);
|
|
77
|
+
$.each(node_4, 18, months, (month) => month, ($$anchor$3, month, monthIndex) => {
|
|
78
|
+
Month($$anchor$3, {
|
|
79
|
+
children: ($$anchor$4, $$slotProps$1) => {
|
|
80
|
+
var fragment_5 = root_5();
|
|
81
|
+
var node_5 = $.first_child(fragment_5);
|
|
82
|
+
Header(node_5, {
|
|
83
|
+
children: ($$anchor$5, $$slotProps$2) => {
|
|
84
|
+
Caption($$anchor$5, {
|
|
85
|
+
get captionLayout() {
|
|
86
|
+
return captionLayout();
|
|
87
|
+
},
|
|
88
|
+
get months() {
|
|
89
|
+
return $$props.months;
|
|
90
|
+
},
|
|
91
|
+
get monthFormat() {
|
|
92
|
+
return $.get(monthFormat);
|
|
93
|
+
},
|
|
94
|
+
get years() {
|
|
95
|
+
return $$props.years;
|
|
96
|
+
},
|
|
97
|
+
get yearFormat() {
|
|
98
|
+
return yearFormat();
|
|
99
|
+
},
|
|
100
|
+
get month() {
|
|
101
|
+
return month.value;
|
|
102
|
+
},
|
|
103
|
+
get locale() {
|
|
104
|
+
return locale();
|
|
105
|
+
},
|
|
106
|
+
get monthIndex() {
|
|
107
|
+
return $.get(monthIndex);
|
|
108
|
+
},
|
|
109
|
+
get placeholder() {
|
|
110
|
+
return placeholder();
|
|
111
|
+
},
|
|
112
|
+
set placeholder($$value) {
|
|
113
|
+
placeholder($$value);
|
|
114
|
+
}
|
|
115
|
+
});
|
|
116
|
+
},
|
|
117
|
+
$$slots: { default: true }
|
|
118
|
+
});
|
|
119
|
+
Grid($.sibling(node_5, 2), {
|
|
120
|
+
children: ($$anchor$5, $$slotProps$2) => {
|
|
121
|
+
var fragment_7 = root_7();
|
|
122
|
+
var node_7 = $.first_child(fragment_7);
|
|
123
|
+
GridHead(node_7, {
|
|
124
|
+
children: ($$anchor$6, $$slotProps$3) => {
|
|
125
|
+
GridRow($$anchor$6, {
|
|
126
|
+
get class() {
|
|
127
|
+
return styles_css_default.gridRowHead;
|
|
128
|
+
},
|
|
129
|
+
children: ($$anchor$7, $$slotProps$4) => {
|
|
130
|
+
var fragment_9 = $.comment();
|
|
131
|
+
var node_8 = $.first_child(fragment_9);
|
|
132
|
+
$.each(node_8, 16, weekdays, (weekday) => weekday, ($$anchor$8, weekday) => {
|
|
133
|
+
HeadCell($$anchor$8, {
|
|
134
|
+
children: ($$anchor$9, $$slotProps$5) => {
|
|
135
|
+
$.next();
|
|
136
|
+
var text = $.text();
|
|
137
|
+
$.template_effect(($0$1) => $.set_text(text, $0$1), [() => weekday.slice(0, 2)]);
|
|
138
|
+
$.append($$anchor$9, text);
|
|
139
|
+
},
|
|
140
|
+
$$slots: { default: true }
|
|
141
|
+
});
|
|
142
|
+
});
|
|
143
|
+
$.append($$anchor$7, fragment_9);
|
|
144
|
+
},
|
|
145
|
+
$$slots: { default: true }
|
|
146
|
+
});
|
|
147
|
+
},
|
|
148
|
+
$$slots: { default: true }
|
|
149
|
+
});
|
|
150
|
+
GridBody($.sibling(node_7, 2), {
|
|
151
|
+
children: ($$anchor$6, $$slotProps$3) => {
|
|
152
|
+
var fragment_12 = $.comment();
|
|
153
|
+
var node_10 = $.first_child(fragment_12);
|
|
154
|
+
$.each(node_10, 16, () => month.weeks, (weekDates) => weekDates, ($$anchor$7, weekDates) => {
|
|
155
|
+
GridRow($$anchor$7, {
|
|
156
|
+
get class() {
|
|
157
|
+
return styles_css_default.gridRow;
|
|
158
|
+
},
|
|
159
|
+
children: ($$anchor$8, $$slotProps$4) => {
|
|
160
|
+
var fragment_14 = $.comment();
|
|
161
|
+
var node_11 = $.first_child(fragment_14);
|
|
162
|
+
$.each(node_11, 16, () => weekDates, (date) => date, ($$anchor$9, date) => {
|
|
163
|
+
Cell($$anchor$9, {
|
|
164
|
+
get date() {
|
|
165
|
+
return date;
|
|
166
|
+
},
|
|
167
|
+
get month() {
|
|
168
|
+
return month.value;
|
|
169
|
+
},
|
|
170
|
+
children: ($$anchor$10, $$slotProps$5) => {
|
|
171
|
+
var fragment_16 = $.comment();
|
|
172
|
+
var node_12 = $.first_child(fragment_16);
|
|
173
|
+
var consequent = ($$anchor$11) => {
|
|
174
|
+
var fragment_17 = $.comment();
|
|
175
|
+
var node_13 = $.first_child(fragment_17);
|
|
176
|
+
{
|
|
177
|
+
let $0$1 = $.derived(() => ({
|
|
178
|
+
day: date,
|
|
179
|
+
outsideMonth: !isEqualMonth(date, month.value)
|
|
180
|
+
}));
|
|
181
|
+
$.snippet(node_13, () => $$props.day, () => $.get($0$1));
|
|
182
|
+
}
|
|
183
|
+
$.append($$anchor$11, fragment_17);
|
|
184
|
+
};
|
|
185
|
+
var alternate = ($$anchor$11) => {
|
|
186
|
+
Day($$anchor$11, {});
|
|
187
|
+
};
|
|
188
|
+
$.if(node_12, ($$render) => {
|
|
189
|
+
if ($$props.day) $$render(consequent);
|
|
190
|
+
else $$render(alternate, false);
|
|
191
|
+
});
|
|
192
|
+
$.append($$anchor$10, fragment_16);
|
|
193
|
+
},
|
|
194
|
+
$$slots: { default: true }
|
|
195
|
+
});
|
|
196
|
+
});
|
|
197
|
+
$.append($$anchor$8, fragment_14);
|
|
198
|
+
},
|
|
199
|
+
$$slots: { default: true }
|
|
200
|
+
});
|
|
201
|
+
});
|
|
202
|
+
$.append($$anchor$6, fragment_12);
|
|
203
|
+
},
|
|
204
|
+
$$slots: { default: true }
|
|
205
|
+
});
|
|
206
|
+
$.append($$anchor$5, fragment_7);
|
|
207
|
+
},
|
|
208
|
+
$$slots: { default: true }
|
|
209
|
+
});
|
|
210
|
+
$.append($$anchor$4, fragment_5);
|
|
211
|
+
},
|
|
212
|
+
$$slots: { default: true }
|
|
213
|
+
});
|
|
214
|
+
});
|
|
215
|
+
$.append($$anchor$2, fragment_2);
|
|
216
|
+
},
|
|
217
|
+
$$slots: { default: true }
|
|
218
|
+
});
|
|
219
|
+
};
|
|
220
|
+
let $0 = $.derived(() => [styles_css_default.calendar, $$props.class]);
|
|
221
|
+
$.component(node, () => Calendar.Root, ($$anchor$1, CalendarPrimitive_Root) => {
|
|
222
|
+
CalendarPrimitive_Root($$anchor$1, $.spread_props({
|
|
223
|
+
get weekdayFormat() {
|
|
224
|
+
return weekdayFormat();
|
|
225
|
+
},
|
|
226
|
+
get disableDaysOutsideMonth() {
|
|
227
|
+
return disableDaysOutsideMonth();
|
|
228
|
+
},
|
|
229
|
+
get class() {
|
|
230
|
+
return $.get($0);
|
|
231
|
+
},
|
|
232
|
+
get locale() {
|
|
233
|
+
return locale();
|
|
234
|
+
},
|
|
235
|
+
get monthFormat() {
|
|
236
|
+
return $.get(monthFormat);
|
|
237
|
+
},
|
|
238
|
+
get yearFormat() {
|
|
239
|
+
return yearFormat();
|
|
240
|
+
}
|
|
241
|
+
}, () => restProps, {
|
|
242
|
+
get value() {
|
|
243
|
+
return value();
|
|
244
|
+
},
|
|
245
|
+
set value($$value) {
|
|
246
|
+
value($$value);
|
|
247
|
+
},
|
|
248
|
+
get ref() {
|
|
249
|
+
return ref();
|
|
250
|
+
},
|
|
251
|
+
set ref($$value) {
|
|
252
|
+
ref($$value);
|
|
253
|
+
},
|
|
254
|
+
get placeholder() {
|
|
255
|
+
return placeholder();
|
|
256
|
+
},
|
|
257
|
+
set placeholder($$value) {
|
|
258
|
+
placeholder($$value);
|
|
259
|
+
},
|
|
260
|
+
children,
|
|
261
|
+
$$slots: { default: true }
|
|
262
|
+
}));
|
|
263
|
+
});
|
|
264
|
+
}
|
|
265
|
+
$.append($$anchor, fragment);
|
|
266
|
+
$.pop();
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
//#endregion
|
|
270
|
+
export { Calendar$1 as default };
|
|
@@ -1 +1,125 @@
|
|
|
1
|
-
import
|
|
1
|
+
import MonthSelect from "../MonthSelect/MonthSelect.js";
|
|
2
|
+
import YearSelect from "../YearSelect/YearSelect.js";
|
|
3
|
+
import "svelte/internal/disclose-version";
|
|
4
|
+
import * as $ from "svelte/internal/client";
|
|
5
|
+
import { DateFormatter, getLocalTimeZone } from "@internationalized/date";
|
|
6
|
+
|
|
7
|
+
//#region src/components/Calendar/Caption/Caption.svelte
|
|
8
|
+
var root_3 = $.from_html(`<!> <!>`, 1);
|
|
9
|
+
var root_5 = $.from_html(`<!> <!>`, 1);
|
|
10
|
+
var root_8 = $.from_html(`<!> <!>`, 1);
|
|
11
|
+
function Caption($$anchor, $$props) {
|
|
12
|
+
$.push($$props, true);
|
|
13
|
+
const monthSelect = ($$anchor$1) => {
|
|
14
|
+
MonthSelect($$anchor$1, {
|
|
15
|
+
get months() {
|
|
16
|
+
return $$props.months;
|
|
17
|
+
},
|
|
18
|
+
get monthFormat() {
|
|
19
|
+
return $$props.monthFormat;
|
|
20
|
+
},
|
|
21
|
+
get value() {
|
|
22
|
+
return $$props.month.month;
|
|
23
|
+
},
|
|
24
|
+
onchange: (e) => {
|
|
25
|
+
if (!placeholder()) return;
|
|
26
|
+
const v = Number.parseInt(e.currentTarget.value);
|
|
27
|
+
placeholder(placeholder().set({ month: v }).subtract({ months: monthIndex() }));
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
};
|
|
31
|
+
const yearSelect = ($$anchor$1) => {
|
|
32
|
+
YearSelect($$anchor$1, {
|
|
33
|
+
get years() {
|
|
34
|
+
return $$props.years;
|
|
35
|
+
},
|
|
36
|
+
get yearFormat() {
|
|
37
|
+
return $$props.yearFormat;
|
|
38
|
+
},
|
|
39
|
+
get value() {
|
|
40
|
+
return $$props.month.year;
|
|
41
|
+
}
|
|
42
|
+
});
|
|
43
|
+
};
|
|
44
|
+
let placeholder = $.prop($$props, "placeholder", 15), monthIndex = $.prop($$props, "monthIndex", 3, 0);
|
|
45
|
+
function formatYear(date) {
|
|
46
|
+
const dateObj = date.toDate(getLocalTimeZone());
|
|
47
|
+
if (typeof $$props.yearFormat === "function") return $$props.yearFormat(dateObj.getFullYear());
|
|
48
|
+
return new DateFormatter($$props.locale, { year: $$props.yearFormat }).format(dateObj);
|
|
49
|
+
}
|
|
50
|
+
function formatMonth(date) {
|
|
51
|
+
const dateObj = date.toDate(getLocalTimeZone());
|
|
52
|
+
if (typeof $$props.monthFormat === "function") return $$props.monthFormat(dateObj.getMonth() + 1);
|
|
53
|
+
return new DateFormatter($$props.locale, { month: $$props.monthFormat }).format(dateObj);
|
|
54
|
+
}
|
|
55
|
+
var fragment_2 = $.comment();
|
|
56
|
+
var node = $.first_child(fragment_2);
|
|
57
|
+
var consequent = ($$anchor$1) => {
|
|
58
|
+
var fragment_3 = root_3();
|
|
59
|
+
var node_1 = $.first_child(fragment_3);
|
|
60
|
+
monthSelect(node_1);
|
|
61
|
+
yearSelect($.sibling(node_1, 2));
|
|
62
|
+
$.append($$anchor$1, fragment_3);
|
|
63
|
+
};
|
|
64
|
+
var alternate_2 = ($$anchor$1) => {
|
|
65
|
+
var fragment_4 = $.comment();
|
|
66
|
+
var node_3 = $.first_child(fragment_4);
|
|
67
|
+
var consequent_2 = ($$anchor$2) => {
|
|
68
|
+
var fragment_5 = root_5();
|
|
69
|
+
var node_4 = $.first_child(fragment_5);
|
|
70
|
+
monthSelect(node_4);
|
|
71
|
+
var node_5 = $.sibling(node_4, 2);
|
|
72
|
+
var consequent_1 = ($$anchor$3) => {
|
|
73
|
+
var text = $.text();
|
|
74
|
+
$.template_effect(($0) => $.set_text(text, $0), [() => formatYear(placeholder())]);
|
|
75
|
+
$.append($$anchor$3, text);
|
|
76
|
+
};
|
|
77
|
+
$.if(node_5, ($$render) => {
|
|
78
|
+
if (placeholder()) $$render(consequent_1);
|
|
79
|
+
});
|
|
80
|
+
$.append($$anchor$2, fragment_5);
|
|
81
|
+
};
|
|
82
|
+
var alternate_1 = ($$anchor$2) => {
|
|
83
|
+
var fragment_7 = $.comment();
|
|
84
|
+
var node_6 = $.first_child(fragment_7);
|
|
85
|
+
var consequent_4 = ($$anchor$3) => {
|
|
86
|
+
var fragment_8 = root_8();
|
|
87
|
+
var node_7 = $.first_child(fragment_8);
|
|
88
|
+
var consequent_3 = ($$anchor$4) => {
|
|
89
|
+
var text_1 = $.text();
|
|
90
|
+
$.template_effect(($0) => $.set_text(text_1, $0), [() => formatMonth(placeholder())]);
|
|
91
|
+
$.append($$anchor$4, text_1);
|
|
92
|
+
};
|
|
93
|
+
$.if(node_7, ($$render) => {
|
|
94
|
+
if (placeholder()) $$render(consequent_3);
|
|
95
|
+
});
|
|
96
|
+
yearSelect($.sibling(node_7, 2));
|
|
97
|
+
$.append($$anchor$3, fragment_8);
|
|
98
|
+
};
|
|
99
|
+
var alternate = ($$anchor$3) => {
|
|
100
|
+
var text_2 = $.text();
|
|
101
|
+
$.template_effect(($0, $1) => $.set_text(text_2, `${$0 ?? ""} ${$1 ?? ""}`), [() => formatMonth($$props.month), () => formatYear($$props.month)]);
|
|
102
|
+
$.append($$anchor$3, text_2);
|
|
103
|
+
};
|
|
104
|
+
$.if(node_6, ($$render) => {
|
|
105
|
+
if ($$props.captionLayout === "dropdown-years") $$render(consequent_4);
|
|
106
|
+
else $$render(alternate, false);
|
|
107
|
+
}, true);
|
|
108
|
+
$.append($$anchor$2, fragment_7);
|
|
109
|
+
};
|
|
110
|
+
$.if(node_3, ($$render) => {
|
|
111
|
+
if ($$props.captionLayout === "dropdown-months") $$render(consequent_2);
|
|
112
|
+
else $$render(alternate_1, false);
|
|
113
|
+
}, true);
|
|
114
|
+
$.append($$anchor$1, fragment_4);
|
|
115
|
+
};
|
|
116
|
+
$.if(node, ($$render) => {
|
|
117
|
+
if ($$props.captionLayout === "dropdown") $$render(consequent);
|
|
118
|
+
else $$render(alternate_2, false);
|
|
119
|
+
});
|
|
120
|
+
$.append($$anchor, fragment_2);
|
|
121
|
+
$.pop();
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
//#endregion
|
|
125
|
+
export { Caption as default };
|
|
@@ -1 +1,38 @@
|
|
|
1
|
-
import
|
|
1
|
+
import styles_css_default from "./styles.css.js";
|
|
2
|
+
import "svelte/internal/disclose-version";
|
|
3
|
+
import * as $ from "svelte/internal/client";
|
|
4
|
+
import { Calendar } from "bits-ui";
|
|
5
|
+
|
|
6
|
+
//#region src/components/Calendar/Cell/Cell.svelte
|
|
7
|
+
function Cell($$anchor, $$props) {
|
|
8
|
+
$.push($$props, true);
|
|
9
|
+
let ref = $.prop($$props, "ref", 15, null), restProps = $.rest_props($$props, [
|
|
10
|
+
"$$slots",
|
|
11
|
+
"$$events",
|
|
12
|
+
"$$legacy",
|
|
13
|
+
"ref",
|
|
14
|
+
"class"
|
|
15
|
+
]);
|
|
16
|
+
var fragment = $.comment();
|
|
17
|
+
var node = $.first_child(fragment);
|
|
18
|
+
{
|
|
19
|
+
let $0 = $.derived(() => [styles_css_default.cell, $$props.class]);
|
|
20
|
+
$.component(node, () => Calendar.Cell, ($$anchor$1, CalendarPrimitive_Cell) => {
|
|
21
|
+
CalendarPrimitive_Cell($$anchor$1, $.spread_props({ get class() {
|
|
22
|
+
return $.get($0);
|
|
23
|
+
} }, () => restProps, {
|
|
24
|
+
get ref() {
|
|
25
|
+
return ref();
|
|
26
|
+
},
|
|
27
|
+
set ref($$value) {
|
|
28
|
+
ref($$value);
|
|
29
|
+
}
|
|
30
|
+
}));
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
$.append($$anchor, fragment);
|
|
34
|
+
$.pop();
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
//#endregion
|
|
38
|
+
export { Cell as default };
|
|
@@ -1 +1,9 @@
|
|
|
1
|
-
import"./../../../assets/theme.css.ts.vanilla-
|
|
1
|
+
import "./../../../assets/theme.css.ts.vanilla-BRMmE1vI.css";
|
|
2
|
+
import "./../../../assets/styles.css.ts.vanilla-OBVMpjxo.css";
|
|
3
|
+
|
|
4
|
+
//#region src/components/Calendar/Cell/styles.css.ts
|
|
5
|
+
var __default__ = { cell: "style__k3waa00" };
|
|
6
|
+
var styles_css_default = __default__;
|
|
7
|
+
|
|
8
|
+
//#endregion
|
|
9
|
+
export { styles_css_default as default };
|
|
@@ -1 +1,43 @@
|
|
|
1
|
-
import{buttonVariants
|
|
1
|
+
import { buttonVariants } from "../../Button/styles.css.js";
|
|
2
|
+
import styles_css_default from "./styles.css.js";
|
|
3
|
+
import "svelte/internal/disclose-version";
|
|
4
|
+
import * as $ from "svelte/internal/client";
|
|
5
|
+
import { Calendar } from "bits-ui";
|
|
6
|
+
|
|
7
|
+
//#region src/components/Calendar/Day/Day.svelte
|
|
8
|
+
function Day($$anchor, $$props) {
|
|
9
|
+
$.push($$props, true);
|
|
10
|
+
let ref = $.prop($$props, "ref", 15, null), restProps = $.rest_props($$props, [
|
|
11
|
+
"$$slots",
|
|
12
|
+
"$$events",
|
|
13
|
+
"$$legacy",
|
|
14
|
+
"ref",
|
|
15
|
+
"class"
|
|
16
|
+
]);
|
|
17
|
+
var fragment = $.comment();
|
|
18
|
+
var node = $.first_child(fragment);
|
|
19
|
+
{
|
|
20
|
+
let $0 = $.derived(() => [
|
|
21
|
+
buttonVariants.ghost,
|
|
22
|
+
styles_css_default.day,
|
|
23
|
+
$$props.class
|
|
24
|
+
]);
|
|
25
|
+
$.component(node, () => Calendar.Day, ($$anchor$1, CalendarPrimitive_Day) => {
|
|
26
|
+
CalendarPrimitive_Day($$anchor$1, $.spread_props({ get class() {
|
|
27
|
+
return $.get($0);
|
|
28
|
+
} }, () => restProps, {
|
|
29
|
+
get ref() {
|
|
30
|
+
return ref();
|
|
31
|
+
},
|
|
32
|
+
set ref($$value) {
|
|
33
|
+
ref($$value);
|
|
34
|
+
}
|
|
35
|
+
}));
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
$.append($$anchor, fragment);
|
|
39
|
+
$.pop();
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
//#endregion
|
|
43
|
+
export { Day as default };
|
|
@@ -1 +1,9 @@
|
|
|
1
|
-
import"./../../../assets/theme.css.ts.vanilla-
|
|
1
|
+
import "./../../../assets/theme.css.ts.vanilla-BRMmE1vI.css";
|
|
2
|
+
import "./../../../assets/styles.css.ts.vanilla-BQNoa8mK.css";
|
|
3
|
+
|
|
4
|
+
//#region src/components/Calendar/Day/styles.css.ts
|
|
5
|
+
var __default__ = { day: "style__em3vch0" };
|
|
6
|
+
var styles_css_default = __default__;
|
|
7
|
+
|
|
8
|
+
//#endregion
|
|
9
|
+
export { styles_css_default as default };
|
|
@@ -1 +1,38 @@
|
|
|
1
|
-
import
|
|
1
|
+
import styles_css_default from "./styles.css.js";
|
|
2
|
+
import "svelte/internal/disclose-version";
|
|
3
|
+
import * as $ from "svelte/internal/client";
|
|
4
|
+
import { Calendar } from "bits-ui";
|
|
5
|
+
|
|
6
|
+
//#region src/components/Calendar/Grid/Grid.svelte
|
|
7
|
+
function Grid($$anchor, $$props) {
|
|
8
|
+
$.push($$props, true);
|
|
9
|
+
let ref = $.prop($$props, "ref", 15, null), restProps = $.rest_props($$props, [
|
|
10
|
+
"$$slots",
|
|
11
|
+
"$$events",
|
|
12
|
+
"$$legacy",
|
|
13
|
+
"ref",
|
|
14
|
+
"class"
|
|
15
|
+
]);
|
|
16
|
+
var fragment = $.comment();
|
|
17
|
+
var node = $.first_child(fragment);
|
|
18
|
+
{
|
|
19
|
+
let $0 = $.derived(() => [styles_css_default.grid, $$props.class]);
|
|
20
|
+
$.component(node, () => Calendar.Grid, ($$anchor$1, CalendarPrimitive_Grid) => {
|
|
21
|
+
CalendarPrimitive_Grid($$anchor$1, $.spread_props({ get class() {
|
|
22
|
+
return $.get($0);
|
|
23
|
+
} }, () => restProps, {
|
|
24
|
+
get ref() {
|
|
25
|
+
return ref();
|
|
26
|
+
},
|
|
27
|
+
set ref($$value) {
|
|
28
|
+
ref($$value);
|
|
29
|
+
}
|
|
30
|
+
}));
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
$.append($$anchor, fragment);
|
|
34
|
+
$.pop();
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
//#endregion
|
|
38
|
+
export { Grid as default };
|
|
@@ -1 +1,9 @@
|
|
|
1
|
-
import"./../../../assets/theme.css.ts.vanilla-
|
|
1
|
+
import "./../../../assets/theme.css.ts.vanilla-BRMmE1vI.css";
|
|
2
|
+
import "./../../../assets/styles.css.ts.vanilla-D4p0ixzZ.css";
|
|
3
|
+
|
|
4
|
+
//#region src/components/Calendar/Grid/styles.css.ts
|
|
5
|
+
var __default__ = { grid: "style__duhgu40" };
|
|
6
|
+
var styles_css_default = __default__;
|
|
7
|
+
|
|
8
|
+
//#endregion
|
|
9
|
+
export { styles_css_default as default };
|
|
@@ -1 +1,31 @@
|
|
|
1
|
-
import"svelte/internal/disclose-version";
|
|
1
|
+
import "svelte/internal/disclose-version";
|
|
2
|
+
import * as $ from "svelte/internal/client";
|
|
3
|
+
import { Calendar } from "bits-ui";
|
|
4
|
+
|
|
5
|
+
//#region src/components/Calendar/GridBody/GridBody.svelte
|
|
6
|
+
function GridBody($$anchor, $$props) {
|
|
7
|
+
$.push($$props, true);
|
|
8
|
+
let ref = $.prop($$props, "ref", 15, null), restProps = $.rest_props($$props, [
|
|
9
|
+
"$$slots",
|
|
10
|
+
"$$events",
|
|
11
|
+
"$$legacy",
|
|
12
|
+
"ref"
|
|
13
|
+
]);
|
|
14
|
+
var fragment = $.comment();
|
|
15
|
+
var node = $.first_child(fragment);
|
|
16
|
+
$.component(node, () => Calendar.GridBody, ($$anchor$1, CalendarPrimitive_GridBody) => {
|
|
17
|
+
CalendarPrimitive_GridBody($$anchor$1, $.spread_props(() => restProps, {
|
|
18
|
+
get ref() {
|
|
19
|
+
return ref();
|
|
20
|
+
},
|
|
21
|
+
set ref($$value) {
|
|
22
|
+
ref($$value);
|
|
23
|
+
}
|
|
24
|
+
}));
|
|
25
|
+
});
|
|
26
|
+
$.append($$anchor, fragment);
|
|
27
|
+
$.pop();
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
//#endregion
|
|
31
|
+
export { GridBody as default };
|
|
@@ -1 +1,31 @@
|
|
|
1
|
-
import"svelte/internal/disclose-version";
|
|
1
|
+
import "svelte/internal/disclose-version";
|
|
2
|
+
import * as $ from "svelte/internal/client";
|
|
3
|
+
import { Calendar } from "bits-ui";
|
|
4
|
+
|
|
5
|
+
//#region src/components/Calendar/GridHead/GridHead.svelte
|
|
6
|
+
function GridHead($$anchor, $$props) {
|
|
7
|
+
$.push($$props, true);
|
|
8
|
+
let ref = $.prop($$props, "ref", 15, null), restProps = $.rest_props($$props, [
|
|
9
|
+
"$$slots",
|
|
10
|
+
"$$events",
|
|
11
|
+
"$$legacy",
|
|
12
|
+
"ref"
|
|
13
|
+
]);
|
|
14
|
+
var fragment = $.comment();
|
|
15
|
+
var node = $.first_child(fragment);
|
|
16
|
+
$.component(node, () => Calendar.GridHead, ($$anchor$1, CalendarPrimitive_GridHead) => {
|
|
17
|
+
CalendarPrimitive_GridHead($$anchor$1, $.spread_props(() => restProps, {
|
|
18
|
+
get ref() {
|
|
19
|
+
return ref();
|
|
20
|
+
},
|
|
21
|
+
set ref($$value) {
|
|
22
|
+
ref($$value);
|
|
23
|
+
}
|
|
24
|
+
}));
|
|
25
|
+
});
|
|
26
|
+
$.append($$anchor, fragment);
|
|
27
|
+
$.pop();
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
//#endregion
|
|
31
|
+
export { GridHead as default };
|
|
@@ -1 +1,38 @@
|
|
|
1
|
-
import
|
|
1
|
+
import styles_css_default from "./styles.css.js";
|
|
2
|
+
import "svelte/internal/disclose-version";
|
|
3
|
+
import * as $ from "svelte/internal/client";
|
|
4
|
+
import { Calendar } from "bits-ui";
|
|
5
|
+
|
|
6
|
+
//#region src/components/Calendar/GridRow/GridRow.svelte
|
|
7
|
+
function GridRow($$anchor, $$props) {
|
|
8
|
+
$.push($$props, true);
|
|
9
|
+
let ref = $.prop($$props, "ref", 15, null), restProps = $.rest_props($$props, [
|
|
10
|
+
"$$slots",
|
|
11
|
+
"$$events",
|
|
12
|
+
"$$legacy",
|
|
13
|
+
"ref",
|
|
14
|
+
"class"
|
|
15
|
+
]);
|
|
16
|
+
var fragment = $.comment();
|
|
17
|
+
var node = $.first_child(fragment);
|
|
18
|
+
{
|
|
19
|
+
let $0 = $.derived(() => [styles_css_default.gridRow, $$props.class]);
|
|
20
|
+
$.component(node, () => Calendar.GridRow, ($$anchor$1, CalendarPrimitive_GridRow) => {
|
|
21
|
+
CalendarPrimitive_GridRow($$anchor$1, $.spread_props({ get class() {
|
|
22
|
+
return $.get($0);
|
|
23
|
+
} }, () => restProps, {
|
|
24
|
+
get ref() {
|
|
25
|
+
return ref();
|
|
26
|
+
},
|
|
27
|
+
set ref($$value) {
|
|
28
|
+
ref($$value);
|
|
29
|
+
}
|
|
30
|
+
}));
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
$.append($$anchor, fragment);
|
|
34
|
+
$.pop();
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
//#endregion
|
|
38
|
+
export { GridRow as default };
|