@licklist/design 0.67.1 → 0.67.2-dev.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/.storybook/main.cjs +15 -12
- package/dist/auth/Login/LoginComponent.js +2 -1
- package/dist/calendar/components/CalendarButtons/CalendarButtons.d.ts.map +1 -1
- package/dist/calendar/components/CalendarButtons/CalendarButtons.js +35 -40
- package/dist/events/edit-event-modal/component/EditEventForm/EditEventForm.js +1 -1
- package/dist/events/edit-event-modal/component/SaleDeadline/SaleDeadline.d.ts.map +1 -1
- package/dist/events/edit-event-modal/component/SaleDeadline/SaleDeadline.js +5 -3
- package/dist/events/edit-event-modal/component/SelectEventProductSet/SelectEventProductSet.d.ts.map +1 -1
- package/dist/events/edit-event-modal/component/SelectEventProductSet/SelectEventProductSet.js +3 -6
- package/dist/events/edit-event-modal/utils/getDefaultProductSet.d.ts.map +1 -1
- package/dist/events/edit-event-modal/utils/getDefaultProductSet.js +0 -1
- package/dist/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.d.ts.map +1 -1
- package/dist/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.js +2 -0
- package/dist/iframe/payment/order-items-table/utils/paymentSummary.d.ts.map +1 -1
- package/dist/layout/DropDown.d.ts +2 -1
- package/dist/layout/DropDown.d.ts.map +1 -1
- package/dist/layout/DropDownToggle.d.ts.map +1 -1
- package/dist/layout/DropDownToggle.js +1 -0
- package/dist/product-set/control/DateAndRecurrenceInput.d.ts +1 -1
- package/dist/product-set/control/DateAndRecurrenceInput.d.ts.map +1 -1
- package/dist/product-set/control/DateAndRecurrenceInput.js +1 -0
- package/dist/product-set/control/DateInput.d.ts.map +1 -1
- package/dist/product-set/control/DateInput.js +2 -2
- package/dist/product-set/control/ProductSetControl.d.ts +1 -1
- package/dist/product-set/control/ProductSetControl.d.ts.map +1 -1
- package/dist/product-set/form/ProductCategoriesControl.d.ts.map +1 -1
- package/dist/product-set/form/ProductCategoriesControl.js +48 -2
- package/dist/product-set/form/ProductSetForm.d.ts +4 -1
- package/dist/product-set/form/ProductSetForm.d.ts.map +1 -1
- package/dist/product-set/form/ProductSetForm.js +60 -2
- package/dist/product-set/form/ProductZonesControl.d.ts.map +1 -1
- package/dist/product-set/form/ProductZonesControl.js +0 -2
- package/dist/product-set/form/SelectCategoryModal.d.ts +12 -0
- package/dist/product-set/form/SelectCategoryModal.d.ts.map +1 -1
- package/dist/product-set/form/SelectCategoryModal.js +1 -1
- package/dist/product-set/form/SubProductsControl.d.ts.map +1 -1
- package/dist/product-set/form/SubProductsControl.js +0 -3
- package/dist/product-set/form/VenueMapsControl.d.ts.map +1 -1
- package/dist/product-set/form/VenueMapsControl.js +0 -3
- package/dist/product-set/hooks/useSortableTreeFunctions.d.ts +1 -1
- package/dist/product-set/hooks/useSortableTreeFunctions.d.ts.map +1 -1
- package/dist/product-set/hooks/useSortableTreeFunctions.js +2 -1
- package/dist/provider/location-input/LocationInput.d.ts +4 -1
- package/dist/provider/location-input/LocationInput.d.ts.map +1 -1
- package/dist/provider/location-input/LocationInput.js +46 -2
- package/dist/provider/location-input/index.d.ts +1 -0
- package/dist/provider/location-input/index.d.ts.map +1 -1
- package/dist/provider/provider-form/ProviderForm.d.ts +3 -1
- package/dist/provider/provider-form/ProviderForm.d.ts.map +1 -1
- package/dist/provider/provider-form/ProviderForm.js +26 -5
- package/dist/provider/venue-form/VenueForm.d.ts +3 -1
- package/dist/provider/venue-form/VenueForm.d.ts.map +1 -1
- package/dist/provider/venue-form/VenueForm.js +4 -2
- package/dist/provider/working-hours-input/WorkingHoursInputDescription.d.ts.map +1 -1
- package/dist/provider/working-hours-input/WorkingHoursInputDescription.js +4 -8
- package/dist/recurring-date-picker-input/RecurringDatePickerInput.d.ts +3 -1
- package/dist/recurring-date-picker-input/RecurringDatePickerInput.d.ts.map +1 -1
- package/dist/recurring-date-picker-input/RecurringDatePickerInput.js +6 -3
- package/dist/recurring-date-picker-input/utils.d.ts +5 -0
- package/dist/recurring-date-picker-input/utils.d.ts.map +1 -1
- package/dist/recurring-date-picker-input/utils.js +75 -3
- package/dist/sales/booking/results/components/ResultCard.d.ts.map +1 -1
- package/dist/sales/booking/results/components/ResultCard.js +0 -2
- package/dist/setting/admin/AdminSettingForm.d.ts +2 -2
- package/dist/setting/admin/AdminSettingForm.d.ts.map +1 -1
- package/dist/snippet/snippet-template/preview/Preview.d.ts.map +1 -1
- package/dist/snippet/snippet-template/preview/Preview.js +6 -0
- package/dist/sortable-tree/SortableTreeItem.d.ts +2 -1
- package/dist/sortable-tree/SortableTreeItem.d.ts.map +1 -1
- package/dist/sortable-tree/SortableTreeItem.js +10 -4
- package/dist/styles/auth/AccessDenied.scss +1 -1
- package/dist/styles/back-button/BackButton.scss +25 -24
- package/dist/styles/back-button/_index.scss +1 -1
- package/dist/styles/company-user-form/UserForm.scss +4 -7
- package/dist/styles/company-user-form/_index.scss +1 -1
- package/dist/styles/custom-fields/CreateSortableListItem.scss +2 -1
- package/dist/styles/custom-fields/_index.scss +1 -1
- package/dist/styles/customers/Filter.scss +5 -5
- package/dist/styles/events/EditEventModal.scss +1 -3
- package/dist/styles/events/EventVenueMap.scss +7 -7
- package/dist/styles/form/Input.scss +1 -1
- package/dist/styles/header/Header.scss +1 -1
- package/dist/styles/header/elements/CompanySelector.scss +2 -2
- package/dist/styles/iframe-events/Calendar.scss +0 -1
- package/dist/styles/iframe-events/CalendarSelect.scss +1 -1
- package/dist/styles/iframe-events/CategoryStepsForm.scss +6 -7
- package/dist/styles/iframe-events/Event.scss +2 -4
- package/dist/styles/iframe-events/EventForm.scss +54 -54
- package/dist/styles/iframe-events/EventNavigationFooter.scss +1 -0
- package/dist/styles/iframe-events/TicketDescription.scss +1 -1
- package/dist/styles/iframe-external-modal/IframeExternalModal.scss +2 -2
- package/dist/styles/iframe-payments/PaymentForm.scss +1 -1
- package/dist/styles/layout/BackgroundVideoContainer.scss +2 -2
- package/dist/styles/notification/Notification.scss +1 -1
- package/dist/styles/order-items-table/OrderItemsTable.scss +1 -2
- package/dist/styles/product-set/CreateProductSetItem.scss +15 -13
- package/dist/styles/product-set/DateAndRecurrenceInput.scss +6 -8
- package/dist/styles/product-set/EditCategoryModal.scss +4 -4
- package/dist/styles/product-set/EditProductModal.scss +3 -3
- package/dist/styles/product-set/EditStepModal.scss +4 -4
- package/dist/styles/product-set/EditVenueMapSetModal.scss +6 -6
- package/dist/styles/product-set/ProductSetForm.scss +25 -2
- package/dist/styles/product-set/TutorialGifCard.scss +1 -1
- package/dist/styles/product-set/_index.scss +2 -2
- package/dist/styles/report/ReportCard.scss +1 -0
- package/dist/styles/report/_index.scss +1 -1
- package/dist/styles/resources-blocking/_index.scss +4 -0
- package/dist/styles/sales/BookingFilter.scss +2 -2
- package/dist/styles/sales/BookingResults.scss +1 -1
- package/dist/styles/sales/BookingTabs.scss +7 -5
- package/dist/styles/sales/Filters.scss +5 -4
- package/dist/styles/sales/GuestProfile.scss +170 -175
- package/dist/styles/sales/LifeTimeSales.scss +1 -1
- package/dist/styles/sales/ManualBooking.scss +4 -2
- package/dist/styles/snippet-templates/_snippetVariables.scss +63 -244
- package/dist/styles/sortable-field/SortableField.scss +16 -16
- package/dist/styles/sortable-field/_index.scss +1 -1
- package/dist/styles/sortable-tree/Item.scss +4 -4
- package/dist/styles/table/Table.scss +1 -1
- package/dist/styles/themes/bookedit/_variables.scss +10 -32
- package/dist/styles/themes/licklist/_variables.scss +1 -1
- package/dist/styles/tiptap-editor/TiptapEditor.scss +9 -10
- package/dist/styles/tiptap-editor/_index.scss +1 -1
- package/dist/styles/venue-map-sets/VenueMapSetForm.scss +5 -4
- package/dist/styles/virtualized/_index.scss +1 -1
- package/dist/styles/zones/ZoneForm.scss +1 -0
- package/dist/styles/zones/ZoneRecurrencesControl.scss +6 -8
- package/dist/zone/form/ZoneForm.d.ts +2 -2
- package/dist/zone/form/ZoneForm.d.ts.map +1 -1
- package/dist/zone/form/ZoneForm.js +3 -2
- package/dist/zone/form/components/ZoneControl.d.ts +2 -2
- package/dist/zone/form/components/ZoneControl.d.ts.map +1 -1
- package/dist/zone/form/components/ZoneControl.js +4 -2
- package/dist/zone/form/components/ZoneRecurrencesControl.d.ts +4 -4
- package/dist/zone/form/components/ZoneRecurrencesControl.d.ts.map +1 -1
- package/dist/zone/form/components/ZoneRecurrencesControl.js +4 -2
- package/dist/zone/form/utils/dates.d.ts.map +1 -1
- package/package.json +8 -8
- package/src/auth/ChangePassword/ChangePassword.stories.tsx +1 -1
- package/src/auth/Login/LoginComponent.tsx +1 -1
- package/src/auth/ResetPassword/ResetPassword.stories.tsx +1 -1
- package/src/calendar/components/CalendarButtons/CalendarButtons.tsx +31 -28
- package/src/events/edit-event-modal/component/SaleDeadline/SaleDeadline.tsx +3 -5
- package/src/events/edit-event-modal/component/SelectEventProductSet/SelectEventProductSet.tsx +0 -4
- package/src/events/edit-event-modal/utils/getDefaultProductSet.ts +0 -1
- package/src/header/elements/Elements.stories.tsx +1 -1
- package/src/help/popover/Popover.stories.tsx +1 -1
- package/src/iframe/event/event-venue-map/IframeEventVenueMap.stories.tsx +3 -3
- package/src/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.tsx +1 -0
- package/src/iframe/payment/order-items-table/utils/paymentSummary.tsx +1 -0
- package/src/layout/DropDown.tsx +2 -1
- package/src/layout/DropDownToggle.tsx +2 -0
- package/src/product-set/card/ProductSetCard.stories.tsx +3 -1
- package/src/product-set/control/DateAndRecurrenceInput.tsx +3 -4
- package/src/product-set/control/DateInput.tsx +2 -1
- package/src/product-set/control/ProductSetControl.tsx +1 -1
- package/src/product-set/control/ProductSetRecurrenceControl.stories.tsx +2 -2
- package/src/product-set/form/ProductCategoriesControl.tsx +37 -1
- package/src/product-set/form/ProductSetForm.tsx +22 -3
- package/src/product-set/form/ProductZonesControl.tsx +4 -7
- package/src/product-set/form/SelectCategoryModal.stories.tsx +1 -1
- package/src/product-set/form/SelectCategoryModal.tsx +2 -2
- package/src/product-set/form/SubProductsControl.tsx +0 -3
- package/src/product-set/form/VenueMapsControl.tsx +0 -3
- package/src/product-set/hooks/useSortableTreeFunctions.ts +2 -0
- package/src/product-set/product/advanced-options/AdvancedOptions.tsx +5 -5
- package/src/product-set/product/booking-management/ProductBookingManagement.stories.tsx +1 -1
- package/src/product-set/product/quantity/ProductQuantity.stories.tsx +1 -1
- package/src/product-set/product-zone/ProductZoneControl.tsx +9 -9
- package/src/provider/location-input/LocationInput.tsx +40 -1
- package/src/provider/location-input/index.ts +1 -0
- package/src/provider/provider-form/ProviderForm.tsx +26 -2
- package/src/provider/venue-form/VenueForm.tsx +4 -1
- package/src/provider/working-hours-input/WorkingHoursInputDescription.tsx +4 -18
- package/src/recurring-date-picker-input/RecurringDatePickerInput.stories.tsx +11 -4
- package/src/recurring-date-picker-input/RecurringDatePickerInput.tsx +12 -1
- package/src/recurring-date-picker-input/utils.ts +91 -1
- package/src/sales/booking/results/components/ResultCard.tsx +0 -2
- package/src/setting/admin/AdminSetting.stories.tsx +1 -0
- package/src/setting/admin/AdminSettingForm.tsx +2 -2
- package/src/setting/system/SystemSetting.stories.tsx +1 -1
- package/src/snippet/snippet-template/preview/Preview.tsx +6 -0
- package/src/sortable-tree/SortableTreeItem.tsx +6 -0
- package/src/styles/auth/AccessDenied.scss +1 -1
- package/src/styles/back-button/BackButton.scss +25 -24
- package/src/styles/back-button/_index.scss +1 -1
- package/src/styles/company-user-form/UserForm.scss +4 -7
- package/src/styles/company-user-form/_index.scss +1 -1
- package/src/styles/custom-fields/CreateSortableListItem.scss +2 -1
- package/src/styles/custom-fields/_index.scss +1 -1
- package/src/styles/customers/Filter.scss +5 -5
- package/src/styles/events/EditEventModal.scss +1 -3
- package/src/styles/events/EventVenueMap.scss +7 -7
- package/src/styles/form/Input.scss +1 -1
- package/src/styles/header/Header.scss +1 -1
- package/src/styles/header/elements/CompanySelector.scss +2 -2
- package/src/styles/iframe-events/Calendar.scss +0 -1
- package/src/styles/iframe-events/CalendarSelect.scss +1 -1
- package/src/styles/iframe-events/CategoryStepsForm.scss +6 -7
- package/src/styles/iframe-events/Event.scss +2 -4
- package/src/styles/iframe-events/EventForm.scss +54 -54
- package/src/styles/iframe-events/EventNavigationFooter.scss +1 -0
- package/src/styles/iframe-events/TicketDescription.scss +1 -1
- package/src/styles/iframe-external-modal/IframeExternalModal.scss +2 -2
- package/src/styles/iframe-payments/PaymentForm.scss +1 -1
- package/src/styles/layout/BackgroundVideoContainer.scss +2 -2
- package/src/styles/notification/Notification.scss +1 -1
- package/src/styles/order-items-table/OrderItemsTable.scss +1 -2
- package/src/styles/product-set/CreateProductSetItem.scss +15 -13
- package/src/styles/product-set/DateAndRecurrenceInput.scss +6 -8
- package/src/styles/product-set/EditCategoryModal.scss +4 -4
- package/src/styles/product-set/EditProductModal.scss +3 -3
- package/src/styles/product-set/EditStepModal.scss +4 -4
- package/src/styles/product-set/EditVenueMapSetModal.scss +6 -6
- package/src/styles/product-set/ProductSetForm.scss +25 -2
- package/src/styles/product-set/TutorialGifCard.scss +1 -1
- package/src/styles/product-set/_index.scss +2 -2
- package/src/styles/report/ReportCard.scss +1 -0
- package/src/styles/report/_index.scss +1 -1
- package/src/styles/resources-blocking/_index.scss +4 -0
- package/src/styles/sales/BookingFilter.scss +2 -2
- package/src/styles/sales/BookingResults.scss +1 -1
- package/src/styles/sales/BookingTabs.scss +7 -5
- package/src/styles/sales/Filters.scss +5 -4
- package/src/styles/sales/GuestProfile.scss +170 -175
- package/src/styles/sales/LifeTimeSales.scss +1 -1
- package/src/styles/sales/ManualBooking.scss +4 -2
- package/src/styles/snippet-templates/_snippetVariables.scss +63 -244
- package/src/styles/sortable-field/SortableField.scss +16 -16
- package/src/styles/sortable-field/_index.scss +1 -1
- package/src/styles/sortable-tree/Item.scss +4 -4
- package/src/styles/table/Table.scss +1 -1
- package/src/styles/themes/bookedit/_variables.scss +10 -32
- package/src/styles/themes/licklist/_variables.scss +1 -1
- package/src/styles/tiptap-editor/TiptapEditor.scss +9 -10
- package/src/styles/tiptap-editor/_index.scss +1 -1
- package/src/styles/venue-map-sets/VenueMapSetForm.scss +5 -4
- package/src/styles/virtualized/_index.scss +1 -1
- package/src/styles/zones/ZoneForm.scss +1 -0
- package/src/styles/zones/ZoneRecurrencesControl.scss +6 -8
- package/src/tiptap-editor/TipTapEditor.stories.tsx +6 -4
- package/src/tiptap-editor/TipTapMenu/TipTapMenu.stories.tsx +5 -2
- package/src/zone/form/ZoneForm.tsx +3 -2
- package/src/zone/form/components/ZoneControl.tsx +3 -3
- package/src/zone/form/components/ZoneRecurrencesControl.tsx +7 -5
- package/src/zone/form/utils/dates.ts +9 -10
- package/yarn.lock +103 -116
- package/dist/assets/iframe/selectArrow.svg.js +0 -17
|
@@ -1,10 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TIME_FORMAT, TIME_FULL_FORMAT } from '@licklist/core/dist/Config';
|
|
2
|
+
import { fromFormat } from '@licklist/plugins/dist/utils/dateTime';
|
|
3
|
+
import { Interval, DateTime } from 'luxon';
|
|
4
|
+
import { useTranslation } from 'react-i18next';
|
|
2
5
|
import RRule, { Frequency, Weekday } from 'rrule';
|
|
3
6
|
|
|
4
7
|
var getWeekdayForFrequency = function(param) {
|
|
5
8
|
var date = param.date, frequency = param.frequency;
|
|
6
9
|
var parsedDate = DateTime.fromISO(date);
|
|
7
|
-
return new Weekday(parsedDate.weekday - 1,
|
|
10
|
+
return new Weekday(parsedDate.weekday - 1, // eslint-disable-next-line no-nested-ternary
|
|
11
|
+
frequency !== Frequency.MONTHLY ? undefined : parsedDate.day + 7 > parsedDate.daysInMonth ? -1 : Math.floor(parsedDate.day / 7) + 1);
|
|
8
12
|
};
|
|
9
13
|
var parseAndValidateRRule = function(param) {
|
|
10
14
|
var rrule = param.rrule, date = param.date;
|
|
@@ -69,5 +73,73 @@ var parseAndValidateRRule = function(param) {
|
|
|
69
73
|
until: options.until
|
|
70
74
|
};
|
|
71
75
|
};
|
|
76
|
+
var useWorkHoursValidation = function() {
|
|
77
|
+
var byWeekDay = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], workHours = arguments.length > 1 ? arguments[1] : void 0;
|
|
78
|
+
var t = useTranslation("Validation").t;
|
|
79
|
+
if (!workHours) return {};
|
|
80
|
+
var fromTimeFormat = fromFormat(TIME_FORMAT);
|
|
81
|
+
var fromTimeFullFormat = fromFormat(TIME_FULL_FORMAT);
|
|
82
|
+
// map every day to array of intervals describing workhours for that day
|
|
83
|
+
var intervalsByDay = workHours.map(function(workhour, index, self) {
|
|
84
|
+
var res = [];
|
|
85
|
+
var startTime = fromTimeFormat(workhour.start);
|
|
86
|
+
var endTime = fromTimeFormat(workhour.end);
|
|
87
|
+
if (endTime > startTime) {
|
|
88
|
+
res.push(Interval.fromDateTimes(startTime, endTime));
|
|
89
|
+
} else {
|
|
90
|
+
// if end is before start, then it means that end is on the next day
|
|
91
|
+
// so count only to the end of current day
|
|
92
|
+
res.push(Interval.fromDateTimes(startTime, startTime.endOf("day")));
|
|
93
|
+
}
|
|
94
|
+
var prevIndex = index === 0 ? self.length - 1 : index - 1;
|
|
95
|
+
var prevStartTime = fromTimeFormat(self[prevIndex].start);
|
|
96
|
+
var prevEndTime = fromTimeFormat(self[prevIndex].end);
|
|
97
|
+
// if prevStartTime > prevEndTime then it means that prevEndTime is on the current day
|
|
98
|
+
// so we need to add interval from start of current day to prevEndTime
|
|
99
|
+
if (prevStartTime > prevEndTime) {
|
|
100
|
+
res.push(Interval.fromDateTimes(prevEndTime.startOf("day"), prevEndTime));
|
|
101
|
+
}
|
|
102
|
+
return res;
|
|
103
|
+
});
|
|
104
|
+
// if length === 0 or length === 7 then all workhours are selected, no need to filter
|
|
105
|
+
if (![
|
|
106
|
+
0,
|
|
107
|
+
7
|
|
108
|
+
].includes(byWeekDay.length)) {
|
|
109
|
+
intervalsByDay = intervalsByDay.filter(function(_, index) {
|
|
110
|
+
return byWeekDay.find(function(param) {
|
|
111
|
+
var weekday = param.weekday;
|
|
112
|
+
return weekday === index;
|
|
113
|
+
});
|
|
114
|
+
});
|
|
115
|
+
}
|
|
116
|
+
return {
|
|
117
|
+
validate: function(_time) {
|
|
118
|
+
// workaround for issue with form values
|
|
119
|
+
// default values and entered values have different formats
|
|
120
|
+
var time = fromTimeFormat(_time).isValid ? fromTimeFormat(_time) : fromTimeFullFormat(_time);
|
|
121
|
+
var notFittingIntervalsByDay = intervalsByDay.reduce(function(acc, intervalsByDay) {
|
|
122
|
+
if (!intervalsByDay.some(function(interval) {
|
|
123
|
+
return interval.contains(time);
|
|
124
|
+
})) {
|
|
125
|
+
acc.push(intervalsByDay);
|
|
126
|
+
}
|
|
127
|
+
return acc;
|
|
128
|
+
}, []);
|
|
129
|
+
var notFittingIntervals = notFittingIntervalsByDay.flat().filter(function(interval) {
|
|
130
|
+
return !interval.contains(time);
|
|
131
|
+
});
|
|
132
|
+
var attribute = notFittingIntervals.map(function(interval) {
|
|
133
|
+
return interval.toFormat("HH:mm");
|
|
134
|
+
}).join(", ");
|
|
135
|
+
if (notFittingIntervalsByDay.length !== 0) {
|
|
136
|
+
return t("outsideWorkingHours", {
|
|
137
|
+
attribute: attribute
|
|
138
|
+
});
|
|
139
|
+
}
|
|
140
|
+
return true;
|
|
141
|
+
}
|
|
142
|
+
};
|
|
143
|
+
};
|
|
72
144
|
|
|
73
|
-
export { getWeekdayForFrequency, parseAndValidateRRule };
|
|
145
|
+
export { getWeekdayForFrequency, parseAndValidateRRule, useWorkHoursValidation };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ResultCard.d.ts","sourceRoot":"","sources":["../../../../../src/sales/booking/results/components/ResultCard.tsx"],"names":[],"mappings":"AAIA,OAAO,EACL,KAAK,EAEN,MAAM,sDAAsD,CAAC;AAC9D,OAAO,EAAE,IAAI,EAAE,MAAM,oDAAoD,CAAC;AAO1E,MAAM,MAAM,eAAe,GAAG;IAC5B,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,KAAK,CAAC;IACb,WAAW,CAAC,EAAE,IAAI,CAAC;IACnB,WAAW,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;CACpC,CAAC;
|
|
1
|
+
{"version":3,"file":"ResultCard.d.ts","sourceRoot":"","sources":["../../../../../src/sales/booking/results/components/ResultCard.tsx"],"names":[],"mappings":"AAIA,OAAO,EACL,KAAK,EAEN,MAAM,sDAAsD,CAAC;AAC9D,OAAO,EAAE,IAAI,EAAE,MAAM,oDAAoD,CAAC;AAO1E,MAAM,MAAM,eAAe,GAAG;IAC5B,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,KAAK,CAAC;IACb,WAAW,CAAC,EAAE,IAAI,CAAC;IACnB,WAAW,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;CACpC,CAAC;AAEF,eAAO,MAAM,UAAU,oDAKpB,eAAe,4CA2FjB,CAAC"}
|
|
@@ -10,8 +10,6 @@ import { formatDateStringForEvent } from '@licklist/plugins/dist/utils/formatDat
|
|
|
10
10
|
import { getOrderSourceTitle } from '@licklist/plugins/dist/utils/sourceTitle';
|
|
11
11
|
import { FaUser } from 'react-icons/fa';
|
|
12
12
|
|
|
13
|
-
// @TODO integrate when API will be available
|
|
14
|
-
// activity and staff keys
|
|
15
13
|
var ResultCard = function(param) {
|
|
16
14
|
var order = param.order, className = param.className, staffMember = param.staffMember, onCardClick = param.onCardClick;
|
|
17
15
|
var _products_map, _user_userDetail, _user_userDetail1;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HasPermissionProp } from "@licklist/plugins/dist/types/permission/Permission";
|
|
2
|
-
import {
|
|
2
|
+
import { ProvidableType } from "@licklist/core/dist/DataMapper/Provider/ProvidableDataMapper";
|
|
3
3
|
import { PaymentFeeFormFieldValues } from "./PaymentFeeForm";
|
|
4
4
|
import { Currency } from "../../types/currency";
|
|
5
5
|
export type AdminSettingFormFieldValues = {
|
|
@@ -18,7 +18,7 @@ export interface AdminSettingFormProps extends HasPermissionProp {
|
|
|
18
18
|
providerMetadata: {
|
|
19
19
|
country?: string;
|
|
20
20
|
providableId?: number;
|
|
21
|
-
providerType?:
|
|
21
|
+
providerType?: ProvidableType;
|
|
22
22
|
};
|
|
23
23
|
}
|
|
24
24
|
export declare const AdminSettingForm: ({ isLoading, defaultValues, onSubmit, currencies, hasPermission, providerMetadata, }: AdminSettingFormProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AdminSettingForm.d.ts","sourceRoot":"","sources":["../../../src/setting/admin/AdminSettingForm.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oDAAoD,CAAC;AAOvF,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"AdminSettingForm.d.ts","sourceRoot":"","sources":["../../../src/setting/admin/AdminSettingForm.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oDAAoD,CAAC;AAOvF,OAAO,EAAE,cAAc,EAAE,MAAM,8DAA8D,CAAC;AAE9F,OAAO,EAAkB,yBAAyB,EAAE,MAAM,kBAAkB,CAAC;AAC7E,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEhD,MAAM,MAAM,2BAA2B,GAAG;IACxC,uBAAuB,EAAE,MAAM,CAAC;IAChC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,EAAE,IAAI,GAAG,OAAO,CAAC;IAC/B,oBAAoB,EAAE,IAAI,GAAG,OAAO,CAAC;IACrC,+BAA+B,EAAE,IAAI,GAAG,OAAO,CAAC;IAChD,0BAA0B,EAAE,IAAI,GAAG,OAAO,CAAC;CAC5C,GAAG,yBAAyB,CAAC;AAE9B,MAAM,WAAW,qBAAsB,SAAQ,iBAAiB;IAC9D,SAAS,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,2BAA2B,KAAK,IAAI,CAAC;IACvD,aAAa,CAAC,EAAE,OAAO,CAAC,2BAA2B,CAAC,CAAC;IACrD,UAAU,CAAC,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC;IAC7B,gBAAgB,EAAE;QAChB,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,YAAY,CAAC,EAAE,cAAc,CAAC;KAC/B,CAAC;CACH;AAED,eAAO,MAAM,gBAAgB,yFAO1B,qBAAqB,4CAmJvB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Preview.d.ts","sourceRoot":"","sources":["../../../../src/snippet/snippet-template/preview/Preview.tsx"],"names":[],"mappings":"AAiCA,MAAM,WAAW,YAAY;IAC3B,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,cAAc,EAAE,OAAO,CAAC;CACzB;AAED,wBAAgB,OAAO,CAAC,EACtB,cAAc,EACd,cAAsB,GACvB,EAAE,YAAY,
|
|
1
|
+
{"version":3,"file":"Preview.d.ts","sourceRoot":"","sources":["../../../../src/snippet/snippet-template/preview/Preview.tsx"],"names":[],"mappings":"AAiCA,MAAM,WAAW,YAAY;IAC3B,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,cAAc,EAAE,OAAO,CAAC;CACzB;AAED,wBAAgB,OAAO,CAAC,EACtB,cAAc,EACd,cAAsB,GACvB,EAAE,YAAY,2CAsWd"}
|
|
@@ -466,6 +466,7 @@ function Preview(param) {
|
|
|
466
466
|
productCategoryId: 57,
|
|
467
467
|
productGroupId: null,
|
|
468
468
|
availableQuantity: 980,
|
|
469
|
+
zoneId: null,
|
|
469
470
|
name: "Cofee",
|
|
470
471
|
description: "",
|
|
471
472
|
price: 15,
|
|
@@ -474,6 +475,8 @@ function Preview(param) {
|
|
|
474
475
|
maxQuantity: 15,
|
|
475
476
|
totalQuantity: 980,
|
|
476
477
|
type: "sale",
|
|
478
|
+
capacity: 0,
|
|
479
|
+
duration: 0,
|
|
477
480
|
weight: 0,
|
|
478
481
|
isAvailable: true,
|
|
479
482
|
isSoldOut: false,
|
|
@@ -492,6 +495,7 @@ function Preview(param) {
|
|
|
492
495
|
productCategoryId: 57,
|
|
493
496
|
productGroupId: null,
|
|
494
497
|
availableQuantity: 980,
|
|
498
|
+
zoneId: null,
|
|
495
499
|
name: "Cofee 2",
|
|
496
500
|
description: "",
|
|
497
501
|
price: 15,
|
|
@@ -500,6 +504,8 @@ function Preview(param) {
|
|
|
500
504
|
maxQuantity: 15,
|
|
501
505
|
totalQuantity: 980,
|
|
502
506
|
type: "sale",
|
|
507
|
+
capacity: 0,
|
|
508
|
+
duration: 0,
|
|
503
509
|
weight: 0,
|
|
504
510
|
isAvailable: true,
|
|
505
511
|
isSoldOut: false,
|
|
@@ -14,6 +14,7 @@ export interface SortableTreeItemProps {
|
|
|
14
14
|
body: ReactNode;
|
|
15
15
|
children?: ReactNode;
|
|
16
16
|
preItem?: ReactNode;
|
|
17
|
+
itemButton?: ReactNode;
|
|
17
18
|
postItem?: ReactNode;
|
|
18
19
|
sortableItems?: string[];
|
|
19
20
|
isExpanded?: boolean;
|
|
@@ -36,5 +37,5 @@ export interface SortableTreeItemProps {
|
|
|
36
37
|
setIsExpanded?: () => void;
|
|
37
38
|
isOverride?: boolean;
|
|
38
39
|
}
|
|
39
|
-
export declare function SortableTreeItem({ id, title, badge, subTitle, body, children, preItem, postItem, sortableItems, isExpanded, shouldExpand, isInvalid, isIconInHeader, treeLineIconColor, modalLabel, modalClass, isNewAdded, onDelete, validate, cancelChanges, saveValidField, edit, secondaryBadge, setIsExpanded, isOverride, }: SortableTreeItemProps): import("react/jsx-runtime").JSX.Element;
|
|
40
|
+
export declare function SortableTreeItem({ id, title, badge, subTitle, body, children, preItem, postItem, sortableItems, isExpanded, shouldExpand, isInvalid, isIconInHeader, treeLineIconColor, modalLabel, modalClass, isNewAdded, onDelete, validate, cancelChanges, saveValidField, edit, secondaryBadge, setIsExpanded, isOverride, itemButton, }: SortableTreeItemProps): import("react/jsx-runtime").JSX.Element;
|
|
40
41
|
//# sourceMappingURL=SortableTreeItem.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SortableTreeItem.d.ts","sourceRoot":"","sources":["../../src/sortable-tree/SortableTreeItem.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAoC,MAAM,OAAO,CAAC;AAiBpE,eAAO,MAAM,sBAAsB;;;;;CAKzB,CAAC;AAEX,MAAM,MAAM,0BAA0B,GACpC,CAAC,OAAO,sBAAsB,CAAC,CAAC,MAAM,OAAO,sBAAsB,CAAC,CAAC;AAEvE,MAAM,WAAW,qBAAqB;IACpC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,IAAI,EAAE,SAAS,CAAC;IAChB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,IAAI,CAAC,EAAE,MAAM,IAAI,CAAC;IAClB,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B,UAAU,CAAC,EAAE,0BAA0B,CAAC;IACxC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,CAAC;IAClC,cAAc,CAAC,EAAE;QACf,KAAK,EAAE,MAAM,CAAC;QACd,SAAS,EAAE,MAAM,CAAC;KACnB,CAAC;IACF,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,wBAAgB,gBAAgB,CAAC,EAC/B,EAAE,EACF,KAAK,EACL,KAAK,EACL,QAAQ,EACR,IAAI,EACJ,QAAQ,EACR,OAAO,EACP,QAAQ,EACR,aAAa,EACb,UAAkB,EAClB,YAAmB,EACnB,SAAiB,EACjB,cAAqB,EACrB,iBAAsB,EACtB,UAAe,EACf,UAAU,EACV,UAAkB,EAClB,QAAQ,EACR,QAAQ,EACR,aAAa,EACb,cAAc,EACd,IAAI,EACJ,cAAc,EACd,aAAa,EACb,UAAU,GACX,EAAE,qBAAqB,
|
|
1
|
+
{"version":3,"file":"SortableTreeItem.d.ts","sourceRoot":"","sources":["../../src/sortable-tree/SortableTreeItem.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAoC,MAAM,OAAO,CAAC;AAiBpE,eAAO,MAAM,sBAAsB;;;;;CAKzB,CAAC;AAEX,MAAM,MAAM,0BAA0B,GACpC,CAAC,OAAO,sBAAsB,CAAC,CAAC,MAAM,OAAO,sBAAsB,CAAC,CAAC;AAEvE,MAAM,WAAW,qBAAqB;IACpC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,IAAI,EAAE,SAAS,CAAC;IAChB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,IAAI,CAAC,EAAE,MAAM,IAAI,CAAC;IAClB,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B,UAAU,CAAC,EAAE,0BAA0B,CAAC;IACxC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,CAAC;IAClC,cAAc,CAAC,EAAE;QACf,KAAK,EAAE,MAAM,CAAC;QACd,SAAS,EAAE,MAAM,CAAC;KACnB,CAAC;IACF,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,wBAAgB,gBAAgB,CAAC,EAC/B,EAAE,EACF,KAAK,EACL,KAAK,EACL,QAAQ,EACR,IAAI,EACJ,QAAQ,EACR,OAAO,EACP,QAAQ,EACR,aAAa,EACb,UAAkB,EAClB,YAAmB,EACnB,SAAiB,EACjB,cAAqB,EACrB,iBAAsB,EACtB,UAAe,EACf,UAAU,EACV,UAAkB,EAClB,QAAQ,EACR,QAAQ,EACR,aAAa,EACb,cAAc,EACd,IAAI,EACJ,cAAc,EACd,aAAa,EACb,UAAU,EACV,UAAU,GACX,EAAE,qBAAqB,2CA+TvB"}
|
|
@@ -240,7 +240,7 @@ var ProductSetModalClasses = {
|
|
|
240
240
|
productZones: "edit-product-zone"
|
|
241
241
|
};
|
|
242
242
|
function SortableTreeItem(param) {
|
|
243
|
-
var id = param.id, title = param.title, badge = param.badge, subTitle = param.subTitle, body = param.body, children = param.children, preItem = param.preItem, postItem = param.postItem, sortableItems = param.sortableItems, _param_isExpanded = param.isExpanded, isExpanded = _param_isExpanded === void 0 ? false : _param_isExpanded, _param_shouldExpand = param.shouldExpand, shouldExpand = _param_shouldExpand === void 0 ? true : _param_shouldExpand, _param_isInvalid = param.isInvalid, isInvalid = _param_isInvalid === void 0 ? false : _param_isInvalid, _param_isIconInHeader = param.isIconInHeader, isIconInHeader = _param_isIconInHeader === void 0 ? true : _param_isIconInHeader, _param_treeLineIconColor = param.treeLineIconColor, treeLineIconColor = _param_treeLineIconColor === void 0 ? "" : _param_treeLineIconColor, _param_modalLabel = param.modalLabel, modalLabel = _param_modalLabel === void 0 ? "" : _param_modalLabel, modalClass = param.modalClass, _param_isNewAdded = param.isNewAdded, isNewAdded = _param_isNewAdded === void 0 ? false : _param_isNewAdded, onDelete = param.onDelete, validate = param.validate, cancelChanges = param.cancelChanges, saveValidField = param.saveValidField, edit = param.edit, secondaryBadge = param.secondaryBadge, setIsExpanded = param.setIsExpanded, isOverride = param.isOverride;
|
|
243
|
+
var id = param.id, title = param.title, badge = param.badge, subTitle = param.subTitle, body = param.body, children = param.children, preItem = param.preItem, postItem = param.postItem, sortableItems = param.sortableItems, _param_isExpanded = param.isExpanded, isExpanded = _param_isExpanded === void 0 ? false : _param_isExpanded, _param_shouldExpand = param.shouldExpand, shouldExpand = _param_shouldExpand === void 0 ? true : _param_shouldExpand, _param_isInvalid = param.isInvalid, isInvalid = _param_isInvalid === void 0 ? false : _param_isInvalid, _param_isIconInHeader = param.isIconInHeader, isIconInHeader = _param_isIconInHeader === void 0 ? true : _param_isIconInHeader, _param_treeLineIconColor = param.treeLineIconColor, treeLineIconColor = _param_treeLineIconColor === void 0 ? "" : _param_treeLineIconColor, _param_modalLabel = param.modalLabel, modalLabel = _param_modalLabel === void 0 ? "" : _param_modalLabel, modalClass = param.modalClass, _param_isNewAdded = param.isNewAdded, isNewAdded = _param_isNewAdded === void 0 ? false : _param_isNewAdded, onDelete = param.onDelete, validate = param.validate, cancelChanges = param.cancelChanges, saveValidField = param.saveValidField, edit = param.edit, secondaryBadge = param.secondaryBadge, setIsExpanded = param.setIsExpanded, isOverride = param.isOverride, itemButton = param.itemButton;
|
|
244
244
|
var _useState = _sliced_to_array(useState(isExpanded), 2), expanded = _useState[0], setExpanded = _useState[1];
|
|
245
245
|
var _useState1 = _sliced_to_array(useState(isNewAdded), 2), isModalVisible = _useState1[0], setIsModalVisible = _useState1[1];
|
|
246
246
|
var t = useTranslation("Design").t;
|
|
@@ -433,9 +433,15 @@ function SortableTreeItem(param) {
|
|
|
433
433
|
/*#__PURE__*/ jsxs("div", {
|
|
434
434
|
className: clsx(modalLabel ? "sortable-tree-product-set-title-container" : "sortable-tree-title-container"),
|
|
435
435
|
children: [
|
|
436
|
-
/*#__PURE__*/
|
|
437
|
-
className: clsx("sortable-tree-item-title", modalLabel && "sortable-tree-product-set-element-title"),
|
|
438
|
-
children:
|
|
436
|
+
/*#__PURE__*/ jsxs("span", {
|
|
437
|
+
className: clsx("sortable-tree-item-title", modalLabel && "sortable-tree-product-set-element-title", "d-flex justify-content-between"),
|
|
438
|
+
children: [
|
|
439
|
+
title,
|
|
440
|
+
/*#__PURE__*/ jsx("div", {
|
|
441
|
+
className: "sortable-tree-item-subtitle",
|
|
442
|
+
children: itemButton
|
|
443
|
+
})
|
|
444
|
+
]
|
|
439
445
|
}),
|
|
440
446
|
!expanded && /*#__PURE__*/ jsx("span", {
|
|
441
447
|
className: "sortable-tree-item-subtitle",
|
|
@@ -1,32 +1,33 @@
|
|
|
1
1
|
$base-height: 2.5rem;
|
|
2
2
|
|
|
3
3
|
.button-wrapper {
|
|
4
|
-
|
|
5
|
-
height: $base-height;
|
|
6
|
-
width: $base-height;
|
|
7
|
-
border-radius: $base-height;
|
|
8
|
-
transition: $color-transition;
|
|
9
|
-
|
|
10
|
-
.back-button {
|
|
11
|
-
font-size: 2rem;
|
|
12
|
-
width: $base-height;
|
|
4
|
+
background-color: $snippet-page-header-steps-close-button-background-color;
|
|
13
5
|
height: $base-height;
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
justify-content: center;
|
|
17
|
-
font-weight: lighter;
|
|
18
|
-
color: $snippet-page-header-steps-close-button-border-color;
|
|
6
|
+
width: $base-height;
|
|
7
|
+
border-radius: $base-height;
|
|
19
8
|
transition: $color-transition;
|
|
20
9
|
|
|
21
|
-
|
|
22
|
-
|
|
10
|
+
|
|
11
|
+
.back-button {
|
|
12
|
+
font-size: 2rem;
|
|
13
|
+
width: $base-height;
|
|
14
|
+
height: $base-height;
|
|
15
|
+
display: flex;
|
|
16
|
+
align-items: center;
|
|
17
|
+
justify-content: center;
|
|
18
|
+
font-weight: lighter;
|
|
19
|
+
color: $snippet-page-header-steps-close-button-border-color;
|
|
20
|
+
transition: $color-transition;
|
|
21
|
+
|
|
22
|
+
&:hover {
|
|
23
|
+
cursor: pointer;
|
|
24
|
+
}
|
|
23
25
|
}
|
|
24
|
-
}
|
|
25
26
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
}
|
|
27
|
+
&.back-button {
|
|
28
|
+
display: flex;
|
|
29
|
+
align-items: center;
|
|
30
|
+
justify-content: center;
|
|
31
|
+
margin-right: 1rem;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@import "./BackButton.scss";
|
|
1
|
+
@import "./BackButton.scss";
|
|
@@ -33,15 +33,11 @@
|
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
&.active {
|
|
36
|
-
color: #
|
|
37
|
-
background: linear-gradient(
|
|
38
|
-
149.72deg,
|
|
39
|
-
#d9efff 50.04%,
|
|
40
|
-
#e9f4fe 107.75%
|
|
41
|
-
);
|
|
36
|
+
color: #0E8CE2;
|
|
37
|
+
background: linear-gradient(149.72deg, #D9EFFF 50.04%, #E9F4FE 107.75%);
|
|
42
38
|
|
|
43
39
|
svg path {
|
|
44
|
-
stroke: #
|
|
40
|
+
stroke: #0E8CE2;
|
|
45
41
|
}
|
|
46
42
|
}
|
|
47
43
|
}
|
|
@@ -66,3 +62,4 @@
|
|
|
66
62
|
}
|
|
67
63
|
}
|
|
68
64
|
}
|
|
65
|
+
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@import "./UserForm.scss";
|
|
1
|
+
@import "./UserForm.scss";
|
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
font-size: 0.8rem;
|
|
5
5
|
}
|
|
6
6
|
}
|
|
7
|
-
|
|
7
|
+
|
|
8
8
|
@include media-breakpoint-up(md) {
|
|
9
9
|
label {
|
|
10
10
|
font-size: 0.9rem;
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
|
-
|
|
13
|
+
|
|
14
14
|
@include media-breakpoint-up(lg) {
|
|
15
15
|
label {
|
|
16
16
|
font-size: 1rem;
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
flex: 0 0 33.33%;
|
|
29
29
|
max-width: 33.33%;
|
|
30
30
|
}
|
|
31
|
-
|
|
31
|
+
|
|
32
32
|
@include media-breakpoint-down(xs) {
|
|
33
33
|
flex-direction: column;
|
|
34
34
|
|
|
@@ -43,11 +43,11 @@
|
|
|
43
43
|
&:first-child {
|
|
44
44
|
padding-left: 0;
|
|
45
45
|
}
|
|
46
|
-
|
|
46
|
+
|
|
47
47
|
&:last-child {
|
|
48
48
|
padding-right: 0;
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
|
-
}
|
|
52
|
+
}
|
|
53
53
|
}
|
|
@@ -5,44 +5,44 @@
|
|
|
5
5
|
overflow: hidden;
|
|
6
6
|
background-color: $gray-600;
|
|
7
7
|
}
|
|
8
|
-
|
|
8
|
+
|
|
9
9
|
.canvas-scrollbars {
|
|
10
10
|
.scrollbar-wrapper {
|
|
11
11
|
position: absolute;
|
|
12
12
|
z-index: 5;
|
|
13
13
|
overflow: hidden;
|
|
14
|
-
|
|
14
|
+
|
|
15
15
|
.scroll-element {
|
|
16
16
|
position: absolute;
|
|
17
17
|
display: block;
|
|
18
18
|
border-radius: 0.375rem;
|
|
19
19
|
background: rgba(0, 0, 0, 0.3);
|
|
20
20
|
outline: 1px solid rgba(255, 255, 255, 0.3);
|
|
21
|
-
|
|
21
|
+
|
|
22
22
|
&:hover {
|
|
23
23
|
background: rgba(0, 0, 0, 0.5);
|
|
24
24
|
transition: background-color 500ms linear;
|
|
25
25
|
cursor: pointer;
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
|
-
|
|
28
|
+
|
|
29
29
|
.horizontal-scroll {
|
|
30
30
|
width: 100%;
|
|
31
31
|
height: 0.375rem;
|
|
32
32
|
}
|
|
33
|
-
|
|
33
|
+
|
|
34
34
|
.vertical-scroll {
|
|
35
35
|
height: 100%;
|
|
36
36
|
width: 0.375rem;
|
|
37
37
|
}
|
|
38
|
-
|
|
38
|
+
|
|
39
39
|
&-vertical {
|
|
40
40
|
right: 0.1rem;
|
|
41
41
|
height: calc(100% - 1rem);
|
|
42
42
|
margin: 0.5rem 0;
|
|
43
43
|
width: 0.5rem;
|
|
44
44
|
}
|
|
45
|
-
|
|
45
|
+
|
|
46
46
|
&-horizontal {
|
|
47
47
|
bottom: 0.1rem;
|
|
48
48
|
width: calc(100% - 1rem);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
$company-selector-font-size:
|
|
1
|
+
$company-selector-font-size: .85rem !default;
|
|
2
2
|
$company-selector-font-weight: $font-weight-semibold !default;
|
|
3
3
|
|
|
4
4
|
.header-company-selector-container {
|
|
@@ -20,7 +20,7 @@ $company-selector-font-weight: $font-weight-semibold !default;
|
|
|
20
20
|
.header-company-selector {
|
|
21
21
|
border-color: transparent;
|
|
22
22
|
background: transparent;
|
|
23
|
-
padding: 0
|
|
23
|
+
padding: 0 .25rem;
|
|
24
24
|
font-size: $company-selector-font-size;
|
|
25
25
|
font-weight: $company-selector-font-weight;
|
|
26
26
|
}
|
|
@@ -44,15 +44,15 @@
|
|
|
44
44
|
background-color: $snippet-canvas-background-color;
|
|
45
45
|
transition: $color-transition;
|
|
46
46
|
}
|
|
47
|
-
|
|
47
|
+
|
|
48
48
|
.zoom-buttons {
|
|
49
49
|
bottom: 0;
|
|
50
50
|
top: unset;
|
|
51
|
-
|
|
51
|
+
|
|
52
52
|
.buttons-wrapper {
|
|
53
53
|
background-color: transparent;
|
|
54
|
-
}
|
|
55
|
-
|
|
54
|
+
}
|
|
55
|
+
|
|
56
56
|
.icon-wrapper {
|
|
57
57
|
display: none;
|
|
58
58
|
}
|
|
@@ -65,8 +65,7 @@
|
|
|
65
65
|
background-color: $snippet-elements-button-background-color;
|
|
66
66
|
border-color: $snippet-elements-button-border-color;
|
|
67
67
|
|
|
68
|
-
&:hover,
|
|
69
|
-
&:focus {
|
|
68
|
+
&:hover, &:focus {
|
|
70
69
|
box-shadow: none;
|
|
71
70
|
transition: $color-transition;
|
|
72
71
|
color: $snippet-elements-button-color;
|
|
@@ -92,4 +91,4 @@
|
|
|
92
91
|
padding: 1rem;
|
|
93
92
|
}
|
|
94
93
|
}
|
|
95
|
-
}
|
|
94
|
+
}
|
|
@@ -171,8 +171,7 @@
|
|
|
171
171
|
color: $snippet-elements-button-color;
|
|
172
172
|
border: none;
|
|
173
173
|
background-color: $snippet-elements-button-background-color;
|
|
174
|
-
box-shadow: 0 0 0 $input-btn-focus-width
|
|
175
|
-
$snippet-elements-button-background-color;
|
|
174
|
+
box-shadow: 0 0 0 $input-btn-focus-width $snippet-elements-button-background-color;
|
|
176
175
|
}
|
|
177
176
|
|
|
178
177
|
&:disabled {
|
|
@@ -228,8 +227,7 @@
|
|
|
228
227
|
color: $snippet-elements-button-color;
|
|
229
228
|
border: none;
|
|
230
229
|
background-color: $snippet-elements-button-background-color;
|
|
231
|
-
box-shadow: 0 0 0 $input-btn-focus-width
|
|
232
|
-
$snippet-elements-button-background-color;
|
|
230
|
+
box-shadow: 0 0 0 $input-btn-focus-width $snippet-elements-button-background-color;
|
|
233
231
|
}
|
|
234
232
|
|
|
235
233
|
&:disabled {
|