@rpcbase/ui 0.177.0 → 0.178.0
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/components/HourPickerField/index.d.ts.map +1 -1
- package/dist/components/PhoneNumberInput/suggestions.d.ts.map +1 -1
- package/dist/index10.js +1 -1
- package/dist/index100.js +3 -3
- package/dist/index100.js.map +1 -1
- package/dist/index101.js +4 -6
- package/dist/index101.js.map +1 -1
- package/dist/index102.js +6 -145
- package/dist/index102.js.map +1 -1
- package/dist/index103.js +144 -38
- package/dist/index103.js.map +1 -1
- package/dist/index104.js +39 -4
- package/dist/index104.js.map +1 -1
- package/dist/index105.js +4 -7
- package/dist/index105.js.map +1 -1
- package/dist/index106.js +6 -12
- package/dist/index106.js.map +1 -1
- package/dist/index107.js +13 -13
- package/dist/index107.js.map +1 -1
- package/dist/index108.js +13 -7
- package/dist/index108.js.map +1 -1
- package/dist/index109.js +6 -30
- package/dist/index109.js.map +1 -1
- package/dist/index11.js +269 -269
- package/dist/index11.js.map +1 -1
- package/dist/index110.js +31 -10
- package/dist/index110.js.map +1 -1
- package/dist/index111.js +10 -10
- package/dist/index111.js.map +1 -1
- package/dist/index112.js +10 -8
- package/dist/index112.js.map +1 -1
- package/dist/index113.js +8 -13
- package/dist/index113.js.map +1 -1
- package/dist/index114.js +13 -101
- package/dist/index114.js.map +1 -1
- package/dist/index115.js +102 -20
- package/dist/index115.js.map +1 -1
- package/dist/index116.js +20 -54
- package/dist/index116.js.map +1 -1
- package/dist/index117.js +51 -70
- package/dist/index117.js.map +1 -1
- package/dist/index118.js +72 -9
- package/dist/index118.js.map +1 -1
- package/dist/index119.js +9 -20
- package/dist/index119.js.map +1 -1
- package/dist/index12.js +1 -1
- package/dist/index120.js +20 -16
- package/dist/index120.js.map +1 -1
- package/dist/index121.js +16 -23
- package/dist/index121.js.map +1 -1
- package/dist/index122.js +23 -6
- package/dist/index122.js.map +1 -1
- package/dist/index123.js +6 -5
- package/dist/index123.js.map +1 -1
- package/dist/index124.js +5 -23
- package/dist/index124.js.map +1 -1
- package/dist/index125.js +24 -35
- package/dist/index125.js.map +1 -1
- package/dist/index126.js +35 -16
- package/dist/index126.js.map +1 -1
- package/dist/index127.js +16 -7
- package/dist/index127.js.map +1 -1
- package/dist/index128.js +6 -4
- package/dist/index128.js.map +1 -1
- package/dist/index129.js +4 -4
- package/dist/index129.js.map +1 -1
- package/dist/index13.js +2 -2
- package/dist/index130.js +4 -4
- package/dist/index130.js.map +1 -1
- package/dist/index131.js +4 -4
- package/dist/index131.js.map +1 -1
- package/dist/index132.js +4 -3
- package/dist/index132.js.map +1 -1
- package/dist/index133.js +3 -6
- package/dist/index133.js.map +1 -1
- package/dist/index134.js +7 -24
- package/dist/index134.js.map +1 -1
- package/dist/index135.js +24 -8
- package/dist/index135.js.map +1 -1
- package/dist/index136.js +7 -6
- package/dist/index136.js.map +1 -1
- package/dist/index137.js +6 -5
- package/dist/index137.js.map +1 -1
- package/dist/index138.js +5 -3
- package/dist/index138.js.map +1 -1
- package/dist/index139.js +3 -3
- package/dist/index139.js.map +1 -1
- package/dist/index14.js +4 -4
- package/dist/index140.js +3 -4
- package/dist/index140.js.map +1 -1
- package/dist/index141.js +4 -3
- package/dist/index141.js.map +1 -1
- package/dist/index142.js +3 -4
- package/dist/index142.js.map +1 -1
- package/dist/index143.js +4 -3
- package/dist/index143.js.map +1 -1
- package/dist/index144.js +3 -3
- package/dist/index144.js.map +1 -1
- package/dist/index145.js +3 -3
- package/dist/index145.js.map +1 -1
- package/dist/index146.js +3 -46
- package/dist/index146.js.map +1 -1
- package/dist/index147.js +44 -51
- package/dist/index147.js.map +1 -1
- package/dist/index148.js +2 -2
- package/dist/index15.js +1 -1
- package/dist/index150.js +2 -2
- package/dist/index153.js +5 -605
- package/dist/index153.js.map +1 -1
- package/dist/index154.js +68 -5
- package/dist/index154.js.map +1 -1
- package/dist/index155.js +2 -69
- package/dist/index155.js.map +1 -1
- package/dist/index156.js +364 -2
- package/dist/index156.js.map +1 -1
- package/dist/index157.js +201 -303
- package/dist/index157.js.map +1 -1
- package/dist/index158.js +46 -247
- package/dist/index158.js.map +1 -1
- package/dist/index159.js +42 -56
- package/dist/index159.js.map +1 -1
- package/dist/index16.js +1 -1
- package/dist/index160.js +169 -46
- package/dist/index160.js.map +1 -1
- package/dist/index161.js +96 -156
- package/dist/index161.js.map +1 -1
- package/dist/index162.js +24 -109
- package/dist/index162.js.map +1 -1
- package/dist/index163.js +8 -25
- package/dist/index163.js.map +1 -1
- package/dist/index164.js +5 -8
- package/dist/index164.js.map +1 -1
- package/dist/index165.js +5 -4
- package/dist/index165.js.map +1 -1
- package/dist/index166.js +4 -5
- package/dist/index166.js.map +1 -1
- package/dist/index167.js +466 -4
- package/dist/index167.js.map +1 -1
- package/dist/index168.js +139 -420
- package/dist/index168.js.map +1 -1
- package/dist/index169.js +71 -149
- package/dist/index169.js.map +1 -1
- package/dist/index17.js +1 -1
- package/dist/index170.js +229 -74
- package/dist/index170.js.map +1 -1
- package/dist/index171.js +9 -262
- package/dist/index171.js.map +1 -1
- package/dist/index172.js +42 -9
- package/dist/index172.js.map +1 -1
- package/dist/index173.js +4 -42
- package/dist/index173.js.map +1 -1
- package/dist/index174.js +605 -4
- package/dist/index174.js.map +1 -1
- package/dist/index179.js +1 -1
- package/dist/index18.js +314 -312
- package/dist/index18.js.map +1 -1
- package/dist/index19.js +7 -7
- package/dist/index20.js +6 -6
- package/dist/index20.js.map +1 -1
- package/dist/index21.js +1 -1
- package/dist/index22.js +1 -1
- package/dist/index226.js +1 -1
- package/dist/index227.js +1 -1
- package/dist/index229.js +1 -1
- package/dist/index23.js +2 -2
- package/dist/index231.js +1 -1
- package/dist/index232.js +1 -1
- package/dist/index233.js +4 -4
- package/dist/index234.js +2 -2
- package/dist/index238.js +12 -66
- package/dist/index238.js.map +1 -1
- package/dist/index239.js +150 -176
- package/dist/index239.js.map +1 -1
- package/dist/index24.js +1 -1
- package/dist/index240.js +27 -43
- package/dist/index240.js.map +1 -1
- package/dist/index241.js +9 -13
- package/dist/index241.js.map +1 -1
- package/dist/index242.js +40 -147
- package/dist/index242.js.map +1 -1
- package/dist/index243.js +10 -29
- package/dist/index243.js.map +1 -1
- package/dist/index244.js +44 -9
- package/dist/index244.js.map +1 -1
- package/dist/index245.js +88 -40
- package/dist/index245.js.map +1 -1
- package/dist/index246.js +85 -10
- package/dist/index246.js.map +1 -1
- package/dist/index247.js +102 -41
- package/dist/index247.js.map +1 -1
- package/dist/index248.js +45 -88
- package/dist/index248.js.map +1 -1
- package/dist/index249.js +10 -85
- package/dist/index249.js.map +1 -1
- package/dist/index250.js +28 -96
- package/dist/index250.js.map +1 -1
- package/dist/index251.js +8 -52
- package/dist/index251.js.map +1 -1
- package/dist/index252.js +115 -10
- package/dist/index252.js.map +1 -1
- package/dist/index253.js +16 -36
- package/dist/index253.js.map +1 -1
- package/dist/index254.js +15 -8
- package/dist/index254.js.map +1 -1
- package/dist/index255.js +3 -116
- package/dist/index255.js.map +1 -1
- package/dist/index256.js +35 -16
- package/dist/index256.js.map +1 -1
- package/dist/index257.js +19 -14
- package/dist/index257.js.map +1 -1
- package/dist/index258.js +9 -3
- package/dist/index258.js.map +1 -1
- package/dist/index259.js +8 -36
- package/dist/index259.js.map +1 -1
- package/dist/index260.js +67 -20
- package/dist/index260.js.map +1 -1
- package/dist/index261.js +180 -9
- package/dist/index261.js.map +1 -1
- package/dist/index262.js +46 -8
- package/dist/index262.js.map +1 -1
- package/dist/index263.js +4 -4
- package/dist/index265.js +2 -2
- package/dist/index27.js +37 -3
- package/dist/index27.js.map +1 -1
- package/dist/index277.js +1 -1
- package/dist/index28.js +3 -125
- package/dist/index28.js.map +1 -1
- package/dist/index29.js +120 -227
- package/dist/index29.js.map +1 -1
- package/dist/index30.js +229 -21
- package/dist/index30.js.map +1 -1
- package/dist/index31.js +23 -50
- package/dist/index31.js.map +1 -1
- package/dist/index32.js +50 -2640
- package/dist/index32.js.map +1 -1
- package/dist/index33.js +2598 -351
- package/dist/index33.js.map +1 -1
- package/dist/index34.js +375 -214
- package/dist/index34.js.map +1 -1
- package/dist/index35.js +230 -19
- package/dist/index35.js.map +1 -1
- package/dist/index36.js +18 -138
- package/dist/index36.js.map +1 -1
- package/dist/index37.js +125 -170
- package/dist/index37.js.map +1 -1
- package/dist/index38.js +174 -64
- package/dist/index38.js.map +1 -1
- package/dist/index39.js +74 -88
- package/dist/index39.js.map +1 -1
- package/dist/index4.js +8 -8
- package/dist/index4.js.map +1 -1
- package/dist/index40.js +98 -5
- package/dist/index40.js.map +1 -1
- package/dist/index41.js +5 -843
- package/dist/index41.js.map +1 -1
- package/dist/index42.js +832 -54
- package/dist/index42.js.map +1 -1
- package/dist/index43.js +66 -37
- package/dist/index43.js.map +1 -1
- package/dist/index46.js +1 -1
- package/dist/index47.js +1 -1
- package/dist/index48.js +7 -205
- package/dist/index48.js.map +1 -1
- package/dist/index49.js +33 -6
- package/dist/index49.js.map +1 -1
- package/dist/index5.js +1 -1
- package/dist/index50.js +26 -33
- package/dist/index50.js.map +1 -1
- package/dist/index51.js +7 -26
- package/dist/index51.js.map +1 -1
- package/dist/index52.js +11 -7
- package/dist/index52.js.map +1 -1
- package/dist/index53.js +205 -12
- package/dist/index53.js.map +1 -1
- package/dist/index55.js +2 -2
- package/dist/index56.js +1 -1
- package/dist/index57.js +1 -1
- package/dist/index59.js +4 -4
- package/dist/index61.js +4 -4
- package/dist/index62.js +2 -2
- package/dist/index63.js +2 -2
- package/dist/index67.js +2 -2
- package/dist/index70.js +6 -2
- package/dist/index70.js.map +1 -1
- package/dist/index71.js +8 -2
- package/dist/index71.js.map +1 -1
- package/dist/index72.js +5 -5
- package/dist/index72.js.map +1 -1
- package/dist/index73.js +53 -7
- package/dist/index73.js.map +1 -1
- package/dist/index74.js +2 -6
- package/dist/index74.js.map +1 -1
- package/dist/index75.js +2 -52
- package/dist/index75.js.map +1 -1
- package/dist/index76.js +52 -5
- package/dist/index76.js.map +1 -1
- package/dist/index77.js +4 -4
- package/dist/index77.js.map +1 -1
- package/dist/index78.js +4 -15
- package/dist/index78.js.map +1 -1
- package/dist/index79.js +15 -5
- package/dist/index79.js.map +1 -1
- package/dist/index8.js +1 -1
- package/dist/index80.js +5 -7
- package/dist/index80.js.map +1 -1
- package/dist/index81.js +6 -15
- package/dist/index81.js.map +1 -1
- package/dist/index82.js +16 -4
- package/dist/index82.js.map +1 -1
- package/dist/index83.js +1 -1
- package/dist/index83.js.map +1 -1
- package/dist/index84.js +4 -5
- package/dist/index84.js.map +1 -1
- package/dist/index85.js +4 -4
- package/dist/index85.js.map +1 -1
- package/dist/index86.js +5 -4
- package/dist/index86.js.map +1 -1
- package/dist/index87.js +2 -2
- package/dist/index87.js.map +1 -1
- package/dist/index88.js +3 -5
- package/dist/index88.js.map +1 -1
- package/dist/index89.js +6 -24
- package/dist/index89.js.map +1 -1
- package/dist/index9.js +1 -1
- package/dist/index90.js +24 -6
- package/dist/index90.js.map +1 -1
- package/dist/index91.js +6 -4
- package/dist/index91.js.map +1 -1
- package/dist/index92.js +3 -5
- package/dist/index92.js.map +1 -1
- package/dist/index93.js +6 -5
- package/dist/index93.js.map +1 -1
- package/dist/index94.js +5 -4
- package/dist/index94.js.map +1 -1
- package/dist/index95.js +3 -4
- package/dist/index95.js.map +1 -1
- package/dist/index96.js +5 -4
- package/dist/index96.js.map +1 -1
- package/dist/index97.js +4 -8
- package/dist/index97.js.map +1 -1
- package/dist/index98.js +8 -5
- package/dist/index98.js.map +1 -1
- package/dist/index99.js +5 -4
- package/dist/index99.js.map +1 -1
- package/package.json +1 -1
package/dist/index104.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index104.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/
|
|
1
|
+
{"version":3,"file":"index104.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/createGetModifiers.js"],"sourcesContent":["import { DayFlag } from \"../UI.js\";\nimport { dateMatchModifiers } from \"../utils/dateMatchModifiers.js\";\n/**\n * Creates a function to retrieve the modifiers for a given day.\n *\n * This function calculates both internal and custom modifiers for each day\n * based on the provided calendar days and DayPicker props.\n *\n * @private\n * @param days The array of `CalendarDay` objects to process.\n * @param props The DayPicker props, including modifiers and configuration\n * options.\n * @param dateLib The date library to use for date manipulation.\n * @returns A function that retrieves the modifiers for a given `CalendarDay`.\n */\nexport function createGetModifiers(days, props, navStart, navEnd, dateLib) {\n const { disabled, hidden, modifiers, showOutsideDays, broadcastCalendar, today = dateLib.today(), } = props;\n const { isSameDay, isSameMonth, startOfMonth, isBefore, endOfMonth, isAfter, } = dateLib;\n const computedNavStart = navStart && startOfMonth(navStart);\n const computedNavEnd = navEnd && endOfMonth(navEnd);\n const internalModifiersMap = {\n [DayFlag.focused]: [],\n [DayFlag.outside]: [],\n [DayFlag.disabled]: [],\n [DayFlag.hidden]: [],\n [DayFlag.today]: [],\n };\n const customModifiersMap = {};\n for (const day of days) {\n const { date, displayMonth } = day;\n const isOutside = Boolean(displayMonth && !isSameMonth(date, displayMonth));\n const isBeforeNavStart = Boolean(computedNavStart && isBefore(date, computedNavStart));\n const isAfterNavEnd = Boolean(computedNavEnd && isAfter(date, computedNavEnd));\n const isDisabled = Boolean(disabled && dateMatchModifiers(date, disabled, dateLib));\n const isHidden = Boolean(hidden && dateMatchModifiers(date, hidden, dateLib)) ||\n isBeforeNavStart ||\n isAfterNavEnd ||\n // Broadcast calendar will show outside days as default\n (!broadcastCalendar && !showOutsideDays && isOutside) ||\n (broadcastCalendar && showOutsideDays === false && isOutside);\n const isToday = isSameDay(date, today);\n if (isOutside)\n internalModifiersMap.outside.push(day);\n if (isDisabled)\n internalModifiersMap.disabled.push(day);\n if (isHidden)\n internalModifiersMap.hidden.push(day);\n if (isToday)\n internalModifiersMap.today.push(day);\n // Add custom modifiers\n if (modifiers) {\n Object.keys(modifiers).forEach((name) => {\n const modifierValue = modifiers?.[name];\n const isMatch = modifierValue\n ? dateMatchModifiers(date, modifierValue, dateLib)\n : false;\n if (!isMatch)\n return;\n if (customModifiersMap[name]) {\n customModifiersMap[name].push(day);\n }\n else {\n customModifiersMap[name] = [day];\n }\n });\n }\n }\n return (day) => {\n // Initialize all the modifiers to false\n const dayFlags = {\n [DayFlag.focused]: false,\n [DayFlag.disabled]: false,\n [DayFlag.hidden]: false,\n [DayFlag.outside]: false,\n [DayFlag.today]: false,\n };\n const customModifiers = {};\n // Find the modifiers for the given day\n for (const name in internalModifiersMap) {\n const days = internalModifiersMap[name];\n dayFlags[name] = days.some((d) => d === day);\n }\n for (const name in customModifiersMap) {\n customModifiers[name] = customModifiersMap[name].some((d) => d === day);\n }\n return {\n ...dayFlags,\n // custom modifiers should override all the previous ones\n ...customModifiers,\n };\n };\n}\n"],"names":["createGetModifiers","days","props","navStart","navEnd","dateLib","disabled","hidden","modifiers","showOutsideDays","broadcastCalendar","today","isSameDay","isSameMonth","startOfMonth","isBefore","endOfMonth","isAfter","computedNavStart","computedNavEnd","internalModifiersMap","DayFlag","customModifiersMap","day","date","displayMonth","isOutside","isBeforeNavStart","isAfterNavEnd","isDisabled","dateMatchModifiers","isHidden","isToday","name","modifierValue","dayFlags","customModifiers","d"],"mappings":";;AAeO,SAASA,EAAmBC,GAAMC,GAAOC,GAAUC,GAAQC,GAAS;AACvE,QAAM,EAAE,UAAAC,GAAU,QAAAC,GAAQ,WAAAC,GAAW,iBAAAC,GAAiB,mBAAAC,GAAmB,OAAAC,IAAQN,EAAQ,MAAK,EAAE,IAAMH,GAChG,EAAE,WAAAU,GAAW,aAAAC,GAAa,cAAAC,GAAc,UAAAC,GAAU,YAAAC,GAAY,SAAAC,EAAO,IAAMZ,GAC3Ea,IAAmBf,KAAYW,EAAaX,CAAQ,GACpDgB,IAAiBf,KAAUY,EAAWZ,CAAM,GAC5CgB,IAAuB;AAAA,IACzB,CAACC,EAAQ,OAAO,GAAG,CAAA;AAAA,IACnB,CAACA,EAAQ,OAAO,GAAG,CAAA;AAAA,IACnB,CAACA,EAAQ,QAAQ,GAAG,CAAA;AAAA,IACpB,CAACA,EAAQ,MAAM,GAAG,CAAA;AAAA,IAClB,CAACA,EAAQ,KAAK,GAAG,CAAA;AAAA,EACzB,GACUC,IAAqB,CAAA;AAC3B,aAAWC,KAAOtB,GAAM;AACpB,UAAM,EAAE,MAAAuB,GAAM,cAAAC,EAAY,IAAKF,GACzBG,IAAY,GAAQD,KAAgB,CAACZ,EAAYW,GAAMC,CAAY,IACnEE,IAAmB,GAAQT,KAAoBH,EAASS,GAAMN,CAAgB,IAC9EU,IAAgB,GAAQT,KAAkBF,EAAQO,GAAML,CAAc,IACtEU,IAAa,GAAQvB,KAAYwB,EAAmBN,GAAMlB,GAAUD,CAAO,IAC3E0B,IAAW,GAAQxB,KAAUuB,EAAmBN,GAAMjB,GAAQF,CAAO,MACvEsB,KACAC;AAAA,IAEC,CAAClB,KAAqB,CAACD,KAAmBiB,KAC1ChB,KAAqBD,MAAoB,MAASiB,GACjDM,IAAUpB,EAAUY,GAAMb,CAAK;AACrC,IAAIe,KACAN,EAAqB,QAAQ,KAAKG,CAAG,GACrCM,KACAT,EAAqB,SAAS,KAAKG,CAAG,GACtCQ,KACAX,EAAqB,OAAO,KAAKG,CAAG,GACpCS,KACAZ,EAAqB,MAAM,KAAKG,CAAG,GAEnCf,KACA,OAAO,KAAKA,CAAS,EAAE,QAAQ,CAACyB,MAAS;AACrC,YAAMC,IAAgB1B,IAAYyB,CAAI;AAItC,MAHgBC,KACVJ,EAAmBN,GAAMU,GAAe7B,CAAO,MAIjDiB,EAAmBW,CAAI,IACvBX,EAAmBW,CAAI,EAAE,KAAKV,CAAG,IAGjCD,EAAmBW,CAAI,IAAI,CAACV,CAAG;AAAA,IAEvC,CAAC;AAAA,EAET;AACA,SAAO,CAACA,MAAQ;AAEZ,UAAMY,IAAW;AAAA,MACb,CAACd,EAAQ,OAAO,GAAG;AAAA,MACnB,CAACA,EAAQ,QAAQ,GAAG;AAAA,MACpB,CAACA,EAAQ,MAAM,GAAG;AAAA,MAClB,CAACA,EAAQ,OAAO,GAAG;AAAA,MACnB,CAACA,EAAQ,KAAK,GAAG;AAAA,IAC7B,GACce,IAAkB,CAAA;AAExB,eAAWH,KAAQb,GAAsB;AACrC,YAAMnB,IAAOmB,EAAqBa,CAAI;AACtC,MAAAE,EAASF,CAAI,IAAIhC,EAAK,KAAK,CAACoC,MAAMA,MAAMd,CAAG;AAAA,IAC/C;AACA,eAAWU,KAAQX;AACf,MAAAc,EAAgBH,CAAI,IAAIX,EAAmBW,CAAI,EAAE,KAAK,CAACI,MAAMA,MAAMd,CAAG;AAE1E,WAAO;AAAA,MACH,GAAGY;AAAA;AAAA,MAEH,GAAGC;AAAA,IACf;AAAA,EACI;AACJ;","x_google_ignoreList":[0]}
|
package/dist/index105.js
CHANGED
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
function
|
|
3
|
-
return
|
|
4
|
-
...t,
|
|
5
|
-
...o
|
|
6
|
-
};
|
|
1
|
+
import { DayFlag as e, SelectionState as n, UI as d } from "./index116.js";
|
|
2
|
+
function p(o, i, f = {}) {
|
|
3
|
+
return Object.entries(o).filter(([, t]) => t === !0).reduce((t, [r]) => (f[r] ? t.push(f[r]) : i[e[r]] ? t.push(i[e[r]]) : i[n[r]] && t.push(i[n[r]]), t), [i[d.Day]]);
|
|
7
4
|
}
|
|
8
5
|
export {
|
|
9
|
-
|
|
6
|
+
p as getClassNamesForModifiers
|
|
10
7
|
};
|
|
11
8
|
//# sourceMappingURL=index105.js.map
|
package/dist/index105.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index105.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/
|
|
1
|
+
{"version":3,"file":"index105.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/getClassNamesForModifiers.js"],"sourcesContent":["import { DayFlag, SelectionState, UI } from \"../UI.js\";\n/**\n * Returns the class names for a day based on its modifiers.\n *\n * This function combines the base class name for the day with any class names\n * associated with active modifiers.\n *\n * @param modifiers The modifiers applied to the day.\n * @param classNames The base class names for the calendar elements.\n * @param modifiersClassNames The class names associated with specific\n * modifiers.\n * @returns An array of class names for the day.\n */\nexport function getClassNamesForModifiers(modifiers, classNames, modifiersClassNames = {}) {\n const modifierClassNames = Object.entries(modifiers)\n .filter(([, active]) => active === true)\n .reduce((previousValue, [key]) => {\n if (modifiersClassNames[key]) {\n previousValue.push(modifiersClassNames[key]);\n }\n else if (classNames[DayFlag[key]]) {\n previousValue.push(classNames[DayFlag[key]]);\n }\n else if (classNames[SelectionState[key]]) {\n previousValue.push(classNames[SelectionState[key]]);\n }\n return previousValue;\n }, [classNames[UI.Day]]);\n return modifierClassNames;\n}\n"],"names":["getClassNamesForModifiers","modifiers","classNames","modifiersClassNames","active","previousValue","key","DayFlag","SelectionState","UI"],"mappings":";AAaO,SAASA,EAA0BC,GAAWC,GAAYC,IAAsB,CAAA,GAAI;AAevF,SAd2B,OAAO,QAAQF,CAAS,EAC9C,OAAO,CAAC,CAAA,EAAGG,CAAM,MAAMA,MAAW,EAAI,EACtC,OAAO,CAACC,GAAe,CAACC,CAAG,OACxBH,EAAoBG,CAAG,IACvBD,EAAc,KAAKF,EAAoBG,CAAG,CAAC,IAEtCJ,EAAWK,EAAQD,CAAG,CAAC,IAC5BD,EAAc,KAAKH,EAAWK,EAAQD,CAAG,CAAC,CAAC,IAEtCJ,EAAWM,EAAeF,CAAG,CAAC,KACnCD,EAAc,KAAKH,EAAWM,EAAeF,CAAG,CAAC,CAAC,GAE/CD,IACR,CAACH,EAAWO,EAAG,GAAG,CAAC,CAAC;AAE3B;","x_google_ignoreList":[0]}
|
package/dist/index106.js
CHANGED
|
@@ -1,17 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
"data-week-numbers": e.showWeekNumber || void 0,
|
|
7
|
-
"data-broadcast-calendar": e.broadcastCalendar || void 0,
|
|
8
|
-
"data-nav-layout": e.navLayout || void 0
|
|
1
|
+
import * as t from "./index76.js";
|
|
2
|
+
function n(o) {
|
|
3
|
+
return {
|
|
4
|
+
...t,
|
|
5
|
+
...o
|
|
9
6
|
};
|
|
10
|
-
return Object.entries(e).forEach(([a, d]) => {
|
|
11
|
-
a.startsWith("data-") && (t[a] = d);
|
|
12
|
-
}), t;
|
|
13
7
|
}
|
|
14
8
|
export {
|
|
15
|
-
n as
|
|
9
|
+
n as getComponents
|
|
16
10
|
};
|
|
17
11
|
//# sourceMappingURL=index106.js.map
|
package/dist/index106.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index106.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/
|
|
1
|
+
{"version":3,"file":"index106.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/getComponents.js"],"sourcesContent":["import * as components from \"../components/custom-components.js\";\n/**\n * Merges custom components from the props with the default components.\n *\n * This function ensures that any custom components provided in the props\n * override the default components.\n *\n * @param customComponents The custom components provided in the DayPicker\n * props.\n * @returns An object containing the merged components.\n */\nexport function getComponents(customComponents) {\n return {\n ...components,\n ...customComponents,\n };\n}\n"],"names":["getComponents","customComponents","components"],"mappings":";AAWO,SAASA,EAAcC,GAAkB;AAC5C,SAAO;AAAA,IACH,GAAGC;AAAAA,IACH,GAAGD;AAAAA,EACX;AACA;","x_google_ignoreList":[0]}
|
package/dist/index107.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
function n(e) {
|
|
2
|
+
const t = {
|
|
3
|
+
"data-mode": e.mode ?? void 0,
|
|
4
|
+
"data-required": "required" in e ? e.required : void 0,
|
|
5
|
+
"data-multiple-months": e.numberOfMonths && e.numberOfMonths > 1 || void 0,
|
|
6
|
+
"data-week-numbers": e.showWeekNumber || void 0,
|
|
7
|
+
"data-broadcast-calendar": e.broadcastCalendar || void 0,
|
|
8
|
+
"data-nav-layout": e.navLayout || void 0
|
|
9
|
+
};
|
|
10
|
+
return Object.entries(e).forEach(([a, d]) => {
|
|
11
|
+
a.startsWith("data-") && (t[a] = d);
|
|
12
|
+
}), t;
|
|
13
13
|
}
|
|
14
14
|
export {
|
|
15
|
-
|
|
15
|
+
n as getDataAttributes
|
|
16
16
|
};
|
|
17
17
|
//# sourceMappingURL=index107.js.map
|
package/dist/index107.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index107.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/
|
|
1
|
+
{"version":3,"file":"index107.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/getDataAttributes.js"],"sourcesContent":["/**\n * Extracts `data-` attributes from the DayPicker props.\n *\n * This function collects all `data-` attributes from the props and adds\n * additional attributes based on the DayPicker configuration.\n *\n * @param props The DayPicker props.\n * @returns An object containing the `data-` attributes.\n */\nexport function getDataAttributes(props) {\n const dataAttributes = {\n \"data-mode\": props.mode ?? undefined,\n \"data-required\": \"required\" in props ? props.required : undefined,\n \"data-multiple-months\": (props.numberOfMonths && props.numberOfMonths > 1) || undefined,\n \"data-week-numbers\": props.showWeekNumber || undefined,\n \"data-broadcast-calendar\": props.broadcastCalendar || undefined,\n \"data-nav-layout\": props.navLayout || undefined,\n };\n Object.entries(props).forEach(([key, val]) => {\n if (key.startsWith(\"data-\")) {\n dataAttributes[key] = val;\n }\n });\n return dataAttributes;\n}\n"],"names":["getDataAttributes","props","dataAttributes","key","val"],"mappings":"AASO,SAASA,EAAkBC,GAAO;AACrC,QAAMC,IAAiB;AAAA,IACnB,aAAaD,EAAM,QAAQ;AAAA,IAC3B,iBAAiB,cAAcA,IAAQA,EAAM,WAAW;AAAA,IACxD,wBAAyBA,EAAM,kBAAkBA,EAAM,iBAAiB,KAAM;AAAA,IAC9E,qBAAqBA,EAAM,kBAAkB;AAAA,IAC7C,2BAA2BA,EAAM,qBAAqB;AAAA,IACtD,mBAAmBA,EAAM,aAAa;AAAA,EAC9C;AACI,gBAAO,QAAQA,CAAK,EAAE,QAAQ,CAAC,CAACE,GAAKC,CAAG,MAAM;AAC1C,IAAID,EAAI,WAAW,OAAO,MACtBD,EAAeC,CAAG,IAAIC;AAAA,EAE9B,CAAC,GACMF;AACX;","x_google_ignoreList":[0]}
|
package/dist/index108.js
CHANGED
|
@@ -1,11 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
function
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { UI as t, DayFlag as e, SelectionState as r, Animation as s } from "./index116.js";
|
|
2
|
+
function i() {
|
|
3
|
+
const o = {};
|
|
4
|
+
for (const n in t)
|
|
5
|
+
o[t[n]] = `rdp-${t[n]}`;
|
|
6
|
+
for (const n in e)
|
|
7
|
+
o[e[n]] = `rdp-${e[n]}`;
|
|
8
|
+
for (const n in r)
|
|
9
|
+
o[r[n]] = `rdp-${r[n]}`;
|
|
10
|
+
for (const n in s)
|
|
11
|
+
o[s[n]] = `rdp-${s[n]}`;
|
|
12
|
+
return o;
|
|
7
13
|
}
|
|
8
14
|
export {
|
|
9
|
-
|
|
15
|
+
i as getDefaultClassNames
|
|
10
16
|
};
|
|
11
17
|
//# sourceMappingURL=index108.js.map
|
package/dist/index108.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index108.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/
|
|
1
|
+
{"version":3,"file":"index108.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/getDefaultClassNames.js"],"sourcesContent":["import { Animation, DayFlag, SelectionState, UI } from \"../UI.js\";\n/**\n * Returns the default class names for the UI elements.\n *\n * This function generates a mapping of default class names for various UI\n * elements, day flags, selection states, and animations.\n *\n * @returns An object containing the default class names.\n * @group Utilities\n */\nexport function getDefaultClassNames() {\n const classNames = {};\n for (const key in UI) {\n classNames[UI[key]] =\n `rdp-${UI[key]}`;\n }\n for (const key in DayFlag) {\n classNames[DayFlag[key]] =\n `rdp-${DayFlag[key]}`;\n }\n for (const key in SelectionState) {\n classNames[SelectionState[key]] =\n `rdp-${SelectionState[key]}`;\n }\n for (const key in Animation) {\n classNames[Animation[key]] =\n `rdp-${Animation[key]}`;\n }\n return classNames;\n}\n"],"names":["getDefaultClassNames","classNames","key","UI","DayFlag","SelectionState","Animation"],"mappings":";AAUO,SAASA,IAAuB;AACnC,QAAMC,IAAa,CAAA;AACnB,aAAWC,KAAOC;AACd,IAAAF,EAAWE,EAAGD,CAAG,CAAC,IACd,OAAOC,EAAGD,CAAG,CAAC;AAEtB,aAAWA,KAAOE;AACd,IAAAH,EAAWG,EAAQF,CAAG,CAAC,IACnB,OAAOE,EAAQF,CAAG,CAAC;AAE3B,aAAWA,KAAOG;AACd,IAAAJ,EAAWI,EAAeH,CAAG,CAAC,IAC1B,OAAOG,EAAeH,CAAG,CAAC;AAElC,aAAWA,KAAOI;AACd,IAAAL,EAAWK,EAAUJ,CAAG,CAAC,IACrB,OAAOI,EAAUJ,CAAG,CAAC;AAE7B,SAAOD;AACX;","x_google_ignoreList":[0]}
|
package/dist/index109.js
CHANGED
|
@@ -1,35 +1,11 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
import { labelGrid as d } from "./index136.js";
|
|
7
|
-
import { labelYearDropdown as p } from "./index145.js";
|
|
8
|
-
import { labelWeekNumber as m } from "./index143.js";
|
|
9
|
-
import { labelPrevious as f } from "./index141.js";
|
|
10
|
-
import { labelNext as N } from "./index140.js";
|
|
11
|
-
import { labelMonthDropdown as k } from "./index138.js";
|
|
12
|
-
import { labelDayButton as D } from "./index135.js";
|
|
13
|
-
const r = (l, a, e) => a || (e ? typeof e == "function" ? e : (...W) => e : l);
|
|
14
|
-
function Y(l, a) {
|
|
15
|
-
const e = a.locale?.labels ?? {};
|
|
16
|
-
return {
|
|
17
|
-
...o,
|
|
18
|
-
...l ?? {},
|
|
19
|
-
labelDayButton: r(D, l?.labelDayButton, e.labelDayButton),
|
|
20
|
-
labelMonthDropdown: r(k, l?.labelMonthDropdown, e.labelMonthDropdown),
|
|
21
|
-
labelNext: r(N, l?.labelNext, e.labelNext),
|
|
22
|
-
labelPrevious: r(f, l?.labelPrevious, e.labelPrevious),
|
|
23
|
-
labelWeekNumber: r(m, l?.labelWeekNumber, e.labelWeekNumber),
|
|
24
|
-
labelYearDropdown: r(p, l?.labelYearDropdown, e.labelYearDropdown),
|
|
25
|
-
labelGrid: r(d, l?.labelGrid, e.labelGrid),
|
|
26
|
-
labelGridcell: r(t, l?.labelGridcell, e.labelGridcell),
|
|
27
|
-
labelNav: r(n, l?.labelNav, e.labelNav),
|
|
28
|
-
labelWeekNumberHeader: r(i, l?.labelWeekNumberHeader, e.labelWeekNumberHeader),
|
|
29
|
-
labelWeekday: r(b, l?.labelWeekday, e.labelWeekday)
|
|
1
|
+
import * as a from "./index127.js";
|
|
2
|
+
function f(n) {
|
|
3
|
+
return n?.formatMonthCaption && !n.formatCaption && (n.formatCaption = n.formatMonthCaption), n?.formatYearCaption && !n.formatYearDropdown && (n.formatYearDropdown = n.formatYearCaption), {
|
|
4
|
+
...a,
|
|
5
|
+
...n
|
|
30
6
|
};
|
|
31
7
|
}
|
|
32
8
|
export {
|
|
33
|
-
|
|
9
|
+
f as getFormatters
|
|
34
10
|
};
|
|
35
11
|
//# sourceMappingURL=index109.js.map
|
package/dist/index109.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index109.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/
|
|
1
|
+
{"version":3,"file":"index109.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/getFormatters.js"],"sourcesContent":["import * as defaultFormatters from \"../formatters/index.js\";\n/**\n * Merges custom formatters from the props with the default formatters.\n *\n * @param customFormatters The custom formatters provided in the DayPicker\n * props.\n * @returns The merged formatters object.\n */\nexport function getFormatters(customFormatters) {\n if (customFormatters?.formatMonthCaption && !customFormatters.formatCaption) {\n customFormatters.formatCaption = customFormatters.formatMonthCaption;\n }\n if (customFormatters?.formatYearCaption &&\n !customFormatters.formatYearDropdown) {\n customFormatters.formatYearDropdown = customFormatters.formatYearCaption;\n }\n return {\n ...defaultFormatters,\n ...customFormatters,\n };\n}\n"],"names":["getFormatters","customFormatters","defaultFormatters"],"mappings":";AAQO,SAASA,EAAcC,GAAkB;AAC5C,SAAIA,GAAkB,sBAAsB,CAACA,EAAiB,kBAC1DA,EAAiB,gBAAgBA,EAAiB,qBAElDA,GAAkB,qBAClB,CAACA,EAAiB,uBAClBA,EAAiB,qBAAqBA,EAAiB,oBAEpD;AAAA,IACH,GAAGC;AAAAA,IACH,GAAGD;AAAA,EACX;AACA;","x_google_ignoreList":[0]}
|