@symbo.ls/uikit 2.11.75 → 2.11.76
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/index.cjs.js +78 -62
- package/dist/index.cjs.js.map +4 -4
- package/package.json +2 -2
package/dist/index.cjs.js
CHANGED
|
@@ -14099,7 +14099,13 @@ var IconText = {
|
|
|
14099
14099
|
props: {},
|
|
14100
14100
|
if: ({ props: props7 }) => props7.name || props7.icon
|
|
14101
14101
|
},
|
|
14102
|
-
text: ({ props: props7 }) => props7.text
|
|
14102
|
+
text: ({ props: props7 }) => props7.text,
|
|
14103
|
+
".reversed": {
|
|
14104
|
+
props: { flow: "row-reverse" }
|
|
14105
|
+
},
|
|
14106
|
+
".vertical": {
|
|
14107
|
+
props: { flow: "column" }
|
|
14108
|
+
}
|
|
14103
14109
|
};
|
|
14104
14110
|
|
|
14105
14111
|
// Button/index.js
|
|
@@ -14241,7 +14247,7 @@ var DialogFooter = {
|
|
|
14241
14247
|
extend: Button,
|
|
14242
14248
|
props: {
|
|
14243
14249
|
theme: "primary @dark .color-only",
|
|
14244
|
-
fontSize: "
|
|
14250
|
+
fontSize: "Z",
|
|
14245
14251
|
textTransform: "uppercase",
|
|
14246
14252
|
background: "transparent",
|
|
14247
14253
|
"&": {
|
|
@@ -14265,18 +14271,59 @@ var DialogFooter = {
|
|
|
14265
14271
|
|
|
14266
14272
|
// Datepicker/index.js
|
|
14267
14273
|
var import_headless_datepicker = __toESM(require_headless_datepicker());
|
|
14268
|
-
|
|
14269
|
-
|
|
14270
|
-
|
|
14271
|
-
|
|
14272
|
-
|
|
14273
|
-
|
|
14274
|
-
|
|
14275
|
-
|
|
14276
|
-
|
|
14277
|
-
|
|
14278
|
-
|
|
14274
|
+
|
|
14275
|
+
// Datepicker/days.js
|
|
14276
|
+
var DatePickerDay = {
|
|
14277
|
+
extend: Button,
|
|
14278
|
+
state: true,
|
|
14279
|
+
props: ({ state, key }) => {
|
|
14280
|
+
const isSelected = state.parent.activeDay === parseInt(key) + 1;
|
|
14281
|
+
const gridColumnStart = 7 - state.parent.weekItems.weeks[0].dates.length;
|
|
14282
|
+
return {
|
|
14283
|
+
isSelected,
|
|
14284
|
+
textAlign: "center",
|
|
14285
|
+
fontSize: "Z1",
|
|
14286
|
+
round: "100%",
|
|
14287
|
+
height: "B1",
|
|
14288
|
+
aspectRatio: "1/1",
|
|
14289
|
+
lineHeight: ".9",
|
|
14290
|
+
background: "transparent",
|
|
14291
|
+
theme: "secondary @dark .color",
|
|
14292
|
+
text: parseInt(key) + 1,
|
|
14293
|
+
":first-child": {
|
|
14294
|
+
style: { gridColumnStart }
|
|
14295
|
+
},
|
|
14296
|
+
".isSelected": { theme: "primary" },
|
|
14297
|
+
"!isSelected": {
|
|
14298
|
+
":hover": { theme: "secondary" },
|
|
14299
|
+
":nth-child(7n-1), &:nth-child(7n)": { opacity: ".5" }
|
|
14300
|
+
}
|
|
14301
|
+
};
|
|
14302
|
+
},
|
|
14303
|
+
on: {
|
|
14304
|
+
click: (event, element, state) => {
|
|
14305
|
+
state.parent.parent.update({
|
|
14306
|
+
active: state.parse()
|
|
14307
|
+
});
|
|
14308
|
+
console.log(state);
|
|
14309
|
+
}
|
|
14310
|
+
}
|
|
14311
|
+
};
|
|
14312
|
+
var DatePickerGrid = {
|
|
14313
|
+
extend: Grid,
|
|
14314
|
+
props: {
|
|
14315
|
+
columns: "repeat(7, 1fr)",
|
|
14316
|
+
minWidth: "100%",
|
|
14317
|
+
gap: "W2",
|
|
14318
|
+
padding: "- Z"
|
|
14319
|
+
},
|
|
14320
|
+
childExtend: DatePickerDay,
|
|
14321
|
+
$setStateCollection: (el, s) => {
|
|
14322
|
+
return s.days;
|
|
14323
|
+
}
|
|
14279
14324
|
};
|
|
14325
|
+
|
|
14326
|
+
// Datepicker/years.js
|
|
14280
14327
|
var DatePickerYears = {
|
|
14281
14328
|
tag: "aside",
|
|
14282
14329
|
props: {
|
|
@@ -14362,6 +14409,8 @@ var DatePickerYears = {
|
|
|
14362
14409
|
}
|
|
14363
14410
|
}
|
|
14364
14411
|
};
|
|
14412
|
+
|
|
14413
|
+
// Datepicker/months.js
|
|
14365
14414
|
var DatePickerMonthsSlider = {
|
|
14366
14415
|
extend: Flex,
|
|
14367
14416
|
props: {
|
|
@@ -14450,6 +14499,8 @@ var DatePickerMonthsSlider = {
|
|
|
14450
14499
|
},
|
|
14451
14500
|
Button_right: { icon: "arrowRight" }
|
|
14452
14501
|
};
|
|
14502
|
+
|
|
14503
|
+
// Datepicker/weekdays.js
|
|
14453
14504
|
var DatePickerWeekDays = {
|
|
14454
14505
|
extend: Grid,
|
|
14455
14506
|
props: {
|
|
@@ -14479,54 +14530,19 @@ var DatePickerWeekDays = {
|
|
|
14479
14530
|
{ text: "Su" }
|
|
14480
14531
|
]
|
|
14481
14532
|
};
|
|
14482
|
-
|
|
14483
|
-
|
|
14484
|
-
|
|
14485
|
-
|
|
14486
|
-
|
|
14487
|
-
|
|
14488
|
-
|
|
14489
|
-
|
|
14490
|
-
|
|
14491
|
-
|
|
14492
|
-
|
|
14493
|
-
|
|
14494
|
-
|
|
14495
|
-
lineHeight: ".9",
|
|
14496
|
-
background: "transparent",
|
|
14497
|
-
theme: "secondary @dark .color",
|
|
14498
|
-
text: parseInt(key) + 1,
|
|
14499
|
-
":first-child": {
|
|
14500
|
-
style: { gridColumnStart }
|
|
14501
|
-
},
|
|
14502
|
-
".isSelected": { theme: "primary" },
|
|
14503
|
-
"!isSelected": {
|
|
14504
|
-
":hover": { theme: "secondary" },
|
|
14505
|
-
":nth-child(7n-1), &:nth-child(7n)": { opacity: ".5" }
|
|
14506
|
-
}
|
|
14507
|
-
};
|
|
14508
|
-
},
|
|
14509
|
-
on: {
|
|
14510
|
-
click: (event, element, state) => {
|
|
14511
|
-
state.parent.parent.update({
|
|
14512
|
-
active: state.parse()
|
|
14513
|
-
});
|
|
14514
|
-
console.log(state);
|
|
14515
|
-
}
|
|
14516
|
-
}
|
|
14517
|
-
};
|
|
14518
|
-
var DatePickerGrid = {
|
|
14519
|
-
extend: Grid,
|
|
14520
|
-
props: {
|
|
14521
|
-
columns: "repeat(7, 1fr)",
|
|
14522
|
-
minWidth: "100%",
|
|
14523
|
-
gap: "W2",
|
|
14524
|
-
padding: "- Z"
|
|
14525
|
-
},
|
|
14526
|
-
childExtend: DatePickerDay,
|
|
14527
|
-
$setStateCollection: (el, s) => {
|
|
14528
|
-
return s.days;
|
|
14529
|
-
}
|
|
14533
|
+
|
|
14534
|
+
// Datepicker/index.js
|
|
14535
|
+
var calendar = new import_headless_datepicker.HeadlessDatepicker.Calendar({
|
|
14536
|
+
calendarMode: "exact"
|
|
14537
|
+
});
|
|
14538
|
+
var extractMonthDays = (data) => {
|
|
14539
|
+
const result = [];
|
|
14540
|
+
data.weeks.forEach((week) => {
|
|
14541
|
+
week.dates.forEach((date) => {
|
|
14542
|
+
result.push(date);
|
|
14543
|
+
});
|
|
14544
|
+
});
|
|
14545
|
+
return result;
|
|
14530
14546
|
};
|
|
14531
14547
|
var monthNumbersContainer = {
|
|
14532
14548
|
props: {
|
|
@@ -14576,7 +14592,7 @@ var monthNumbersContainer = {
|
|
|
14576
14592
|
};
|
|
14577
14593
|
var props = {
|
|
14578
14594
|
yearRange: [1993, 2023],
|
|
14579
|
-
maxHeight: "
|
|
14595
|
+
maxHeight: "G+B",
|
|
14580
14596
|
boxSize: "fit-content fit-content",
|
|
14581
14597
|
style: {
|
|
14582
14598
|
button: {
|