diff --git a/resources/js/app.js b/resources/js/app.js index f8771882..a141c2d1 100755 --- a/resources/js/app.js +++ b/resources/js/app.js @@ -304,27 +304,68 @@ Alpine.data('MainApp', () => ({ import ContextMenu from './context-menu.js'; Alpine.data('context_menu', ContextMenu); +import RichEditor from './rich-editor.js'; +Alpine.data('rich_editor', RichEditor); + +import MoonTooltip from './moon-tooltip.js'; +Alpine.data('moon_tooltip', MoonTooltip); + +import WeatherTooltip from './weather-tooltip.js'; +Alpine.data("weather_tooltip", WeatherTooltip); + import StatisticsCollapsible from './calendar/statistics_collapsible.js'; Alpine.data('statistics_collapsible', StatisticsCollapsible); import CurrentDateCollapsible from './calendar/current_date_collapsible.js'; Alpine.data('current_date_collapsible', CurrentDateCollapsible); +import ClockCollapsible from './calendar/clock_collapsible.js'; +Alpine.data('clock_collapsible', ClockCollapsible); + +import RealTimeAdvancementCollapsible from './calendar/real_time_advancement_collapsible.js'; +Alpine.data('real_time_advancement_collapsible', RealTimeAdvancementCollapsible); + import WeekdaysCollapsible from './calendar/weekdays_collapsible.js'; Alpine.data('weekdays_collapsible', WeekdaysCollapsible); import MonthsCollapsible from './calendar/months_collapsible.js'; Alpine.data('months_collapsible', MonthsCollapsible); +import LeapDaysCollapsible from './calendar/leap_days_collapsible.js'; +Alpine.data('leap_days_collapsible', LeapDaysCollapsible); -import RichEditor from './rich-editor.js'; -Alpine.data('rich_editor', RichEditor); +import ErasCollapsible from './calendar/eras_collapsible.js'; +Alpine.data('eras_collapsible', ErasCollapsible); -import MoonTooltip from './moon-tooltip.js'; -Alpine.data('moon_tooltip', MoonTooltip); +import MoonsCollapsible from './calendar/moons_collapsible.js'; +Alpine.data('moons_collapsible', MoonsCollapsible); -import WeatherTooltip from './weather-tooltip.js'; -Alpine.data("weather_tooltip", WeatherTooltip); +import SeasonsCollapsible from './calendar/seasons_collapsible.js'; +Alpine.data('seasons_collapsible', SeasonsCollapsible); + +import WeatherCollapsible from './calendar/weather_collapsible.js'; +Alpine.data('weather_collapsible', WeatherCollapsible); + +import LocationsCollapsible from './calendar/locations_collapsible.js'; +Alpine.data('locations_collapsible', LocationsCollapsible); + +import CyclesCollapsible from './calendar/cycles_collapsible.js'; +Alpine.data('cycles_collapsible', CyclesCollapsible); + +import EventCategoriesCollapsible from './calendar/event_categories_collapsible.js'; +Alpine.data('event_categories_collapsible', EventCategoriesCollapsible); + +import EventsCollapsible from './calendar/events_collapsible.js'; +Alpine.data('events_collapsible', EventsCollapsible); + +import SettingsCollapsible from './calendar/settings_collapsible.js'; +Alpine.data('settings_collapsible', SettingsCollapsible); + +import UserManagementCollapsible from './calendar/user_management_collapsible.js'; +Alpine.data('user_management_collapsible', UserManagementCollapsible); + +import CalendarLinkingCollapsible from './calendar/calendar_linking_collapsible.js'; +Alpine.data('calendar_linking_collapsible', CalendarLinkingCollapsible); Alpine.start(); diff --git a/resources/js/calendar/calendar_linking_collapsible.js b/resources/js/calendar/calendar_linking_collapsible.js new file mode 100644 index 00000000..47d658f8 --- /dev/null +++ b/resources/js/calendar/calendar_linking_collapsible.js @@ -0,0 +1,7 @@ +export default () => ({ + reordering: false, + + load: function(static_data) { + // + } +}) diff --git a/resources/js/calendar/clock_collapsible.js b/resources/js/calendar/clock_collapsible.js new file mode 100644 index 00000000..47d658f8 --- /dev/null +++ b/resources/js/calendar/clock_collapsible.js @@ -0,0 +1,7 @@ +export default () => ({ + reordering: false, + + load: function(static_data) { + // + } +}) diff --git a/resources/js/calendar/cycles_collapsible.js b/resources/js/calendar/cycles_collapsible.js new file mode 100644 index 00000000..47d658f8 --- /dev/null +++ b/resources/js/calendar/cycles_collapsible.js @@ -0,0 +1,7 @@ +export default () => ({ + reordering: false, + + load: function(static_data) { + // + } +}) diff --git a/resources/js/calendar/eras_collapsible.js b/resources/js/calendar/eras_collapsible.js new file mode 100644 index 00000000..47d658f8 --- /dev/null +++ b/resources/js/calendar/eras_collapsible.js @@ -0,0 +1,7 @@ +export default () => ({ + reordering: false, + + load: function(static_data) { + // + } +}) diff --git a/resources/js/calendar/event_categories_collapsible.js b/resources/js/calendar/event_categories_collapsible.js new file mode 100644 index 00000000..47d658f8 --- /dev/null +++ b/resources/js/calendar/event_categories_collapsible.js @@ -0,0 +1,7 @@ +export default () => ({ + reordering: false, + + load: function(static_data) { + // + } +}) diff --git a/resources/js/calendar/events_collapsible.js b/resources/js/calendar/events_collapsible.js new file mode 100644 index 00000000..47d658f8 --- /dev/null +++ b/resources/js/calendar/events_collapsible.js @@ -0,0 +1,7 @@ +export default () => ({ + reordering: false, + + load: function(static_data) { + // + } +}) diff --git a/resources/js/calendar/leap_days_collapsible.js b/resources/js/calendar/leap_days_collapsible.js new file mode 100644 index 00000000..47d658f8 --- /dev/null +++ b/resources/js/calendar/leap_days_collapsible.js @@ -0,0 +1,7 @@ +export default () => ({ + reordering: false, + + load: function(static_data) { + // + } +}) diff --git a/resources/js/calendar/locations_collapsible.js b/resources/js/calendar/locations_collapsible.js new file mode 100644 index 00000000..47d658f8 --- /dev/null +++ b/resources/js/calendar/locations_collapsible.js @@ -0,0 +1,7 @@ +export default () => ({ + reordering: false, + + load: function(static_data) { + // + } +}) diff --git a/resources/js/calendar/moons_collapsible.js b/resources/js/calendar/moons_collapsible.js new file mode 100644 index 00000000..47d658f8 --- /dev/null +++ b/resources/js/calendar/moons_collapsible.js @@ -0,0 +1,7 @@ +export default () => ({ + reordering: false, + + load: function(static_data) { + // + } +}) diff --git a/resources/js/calendar/real_time_advancement_collapsible.js b/resources/js/calendar/real_time_advancement_collapsible.js new file mode 100644 index 00000000..47d658f8 --- /dev/null +++ b/resources/js/calendar/real_time_advancement_collapsible.js @@ -0,0 +1,7 @@ +export default () => ({ + reordering: false, + + load: function(static_data) { + // + } +}) diff --git a/resources/js/calendar/seasons_collapsible.js b/resources/js/calendar/seasons_collapsible.js new file mode 100644 index 00000000..47d658f8 --- /dev/null +++ b/resources/js/calendar/seasons_collapsible.js @@ -0,0 +1,7 @@ +export default () => ({ + reordering: false, + + load: function(static_data) { + // + } +}) diff --git a/resources/js/calendar/settings_collapsible.js b/resources/js/calendar/settings_collapsible.js new file mode 100644 index 00000000..47d658f8 --- /dev/null +++ b/resources/js/calendar/settings_collapsible.js @@ -0,0 +1,7 @@ +export default () => ({ + reordering: false, + + load: function(static_data) { + // + } +}) diff --git a/resources/js/calendar/user_management_collapsible.js b/resources/js/calendar/user_management_collapsible.js new file mode 100644 index 00000000..47d658f8 --- /dev/null +++ b/resources/js/calendar/user_management_collapsible.js @@ -0,0 +1,7 @@ +export default () => ({ + reordering: false, + + load: function(static_data) { + // + } +}) diff --git a/resources/js/calendar/weather_collapsible.js b/resources/js/calendar/weather_collapsible.js new file mode 100644 index 00000000..47d658f8 --- /dev/null +++ b/resources/js/calendar/weather_collapsible.js @@ -0,0 +1,7 @@ +export default () => ({ + reordering: false, + + load: function(static_data) { + // + } +}) diff --git a/resources/views/components/calendar-linking-collapsible.blade.php b/resources/views/components/calendar-linking-collapsible.blade.php new file mode 100644 index 00000000..40ab56ca --- /dev/null +++ b/resources/views/components/calendar-linking-collapsible.blade.php @@ -0,0 +1,48 @@ +@props(['calendar' => null]) + +
Calendar linking allows you to connect two calendar's dates, making one follow + the other!
+This is a complex feature, we recommend you check out the article on Calendar Linking.
+Link calendars together, and make this calendar's date drive the date of other + calendars!
+Subscribe + now to unlock this feature!
+Why can't I edit the leap days?
+ +@else + +Preset locations work only with four or two seasons and weather enabled.
+If you name your seasons winter, spring, summer, and autumn/fall, the system matches them + with the presets' seasons, no matter which order.
+Why can't I edit the real time + advancement?
+ @else +Make your calendar advance its time automatically, with settings to control how fast or + slow it should advance!
+Subscribe + now to unlock this feature!
+Invite your friends to collaborate!
+Once they accept your invite, you'll be able to assign them a role.
+Invite your friends to collaborate on this calendar!
+Subscribe + now to unlock this feature!
+Why can't I edit the real time - advancement?
- @else -Make your calendar advance its time automatically, with settings to control how fast or - slow it should advance!
-Subscribe - now to unlock this feature!
-Why can't I edit the leap days?
- - @else - -Preset locations work only with four or two seasons and weather enabled.
-If you name your seasons winter, spring, summer, and autumn/fall, the system matches them - with the presets' seasons, no matter which order.
-Invite your friends to collaborate!
-Once they accept your invite, you'll be able to assign them a role.
-Invite your friends to collaborate on this calendar!
-Subscribe - now to unlock this feature!
-Calendar linking allows you to connect two calendar's dates, making one follow - the other!
-This is a complex feature, we recommend you check out the article on Calendar Linking.
-Link calendars together, and make this calendar's date drive the date of other - calendars!
-Subscribe - now to unlock this feature!
-