@licklist/design 0.68.0-dev.1 → 0.68.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.
Files changed (215) hide show
  1. package/.storybook/main.cjs +12 -15
  2. package/dist/assets/iframe/selectArrow.svg.js +17 -0
  3. package/dist/auth/Login/LoginComponent.js +1 -2
  4. package/dist/calendar/components/CalendarButtons/CalendarButtons.d.ts.map +1 -1
  5. package/dist/calendar/components/CalendarButtons/CalendarButtons.js +40 -35
  6. package/dist/events/edit-event-modal/IntervalInput.d.ts.map +1 -1
  7. package/dist/events/edit-event-modal/IntervalInput.js +1 -7
  8. package/dist/events/edit-event-modal/component/SelectEventProductSet/SelectEventProductSet.d.ts.map +1 -1
  9. package/dist/events/edit-event-modal/component/SelectEventProductSet/SelectEventProductSet.js +23 -24
  10. package/dist/events/edit-event-modal/utils/getDefaultProductSet.d.ts.map +1 -1
  11. package/dist/events/edit-event-modal/utils/getDefaultProductSet.js +1 -0
  12. package/dist/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.d.ts.map +1 -1
  13. package/dist/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.js +0 -2
  14. package/dist/iframe/payment/order-items-table/utils/paymentSummary.d.ts.map +1 -1
  15. package/dist/index.js +0 -1
  16. package/dist/layout/DropDown.d.ts +1 -2
  17. package/dist/layout/DropDown.d.ts.map +1 -1
  18. package/dist/modals/confirmation/ConfirmModal.d.ts +1 -3
  19. package/dist/modals/confirmation/ConfirmModal.d.ts.map +1 -1
  20. package/dist/modals/confirmation/ConfirmModal.js +8 -172
  21. package/dist/product-set/card/ProductSetCard.d.ts +2 -6
  22. package/dist/product-set/card/ProductSetCard.d.ts.map +1 -1
  23. package/dist/product-set/card/ProductSetCard.js +11 -30
  24. package/dist/product-set/control/DateInput.d.ts.map +1 -1
  25. package/dist/product-set/control/DateInput.js +2 -2
  26. package/dist/product-set/form/ProductCategoriesControl.d.ts.map +1 -1
  27. package/dist/product-set/form/ProductCategoriesControl.js +2 -48
  28. package/dist/product-set/form/ProductSetForm.d.ts +1 -4
  29. package/dist/product-set/form/ProductSetForm.d.ts.map +1 -1
  30. package/dist/product-set/form/ProductSetForm.js +1 -59
  31. package/dist/product-set/form/ProductZonesControl.d.ts.map +1 -1
  32. package/dist/product-set/form/ProductZonesControl.js +2 -0
  33. package/dist/product-set/form/SelectCategoryModal.d.ts +0 -12
  34. package/dist/product-set/form/SelectCategoryModal.d.ts.map +1 -1
  35. package/dist/product-set/form/SelectCategoryModal.js +1 -1
  36. package/dist/product-set/form/SubProductsControl.d.ts.map +1 -1
  37. package/dist/product-set/form/SubProductsControl.js +3 -0
  38. package/dist/product-set/form/VenueMapsControl.d.ts.map +1 -1
  39. package/dist/product-set/form/VenueMapsControl.js +3 -0
  40. package/dist/product-set/form/index.d.ts +0 -1
  41. package/dist/product-set/form/index.d.ts.map +1 -1
  42. package/dist/product-set/product/ProductControl.d.ts.map +1 -1
  43. package/dist/product-set/utils/index.d.ts +0 -7
  44. package/dist/product-set/utils/index.d.ts.map +1 -1
  45. package/dist/product-set/utils/index.js +1 -10
  46. package/dist/provider/working-hours-input/WorkingHoursInputDescription.js +2 -3
  47. package/dist/sales/booking/results/components/ResultCard.d.ts.map +1 -1
  48. package/dist/sales/booking/results/components/ResultCard.js +2 -0
  49. package/dist/snippet/snippet-template/preview/Preview.d.ts.map +1 -1
  50. package/dist/snippet/snippet-template/preview/Preview.js +0 -6
  51. package/dist/sortable-tree/SortableTreeItem.d.ts +1 -2
  52. package/dist/sortable-tree/SortableTreeItem.d.ts.map +1 -1
  53. package/dist/sortable-tree/SortableTreeItem.js +4 -10
  54. package/dist/styles/auth/AccessDenied.scss +1 -1
  55. package/dist/styles/back-button/BackButton.scss +24 -25
  56. package/dist/styles/back-button/_index.scss +1 -1
  57. package/dist/styles/company-user-form/UserForm.scss +7 -4
  58. package/dist/styles/company-user-form/_index.scss +1 -1
  59. package/dist/styles/custom-fields/CreateSortableListItem.scss +1 -2
  60. package/dist/styles/custom-fields/_index.scss +1 -1
  61. package/dist/styles/customers/Filter.scss +5 -5
  62. package/dist/styles/events/EditEventModal.scss +3 -1
  63. package/dist/styles/events/EventVenueMap.scss +7 -7
  64. package/dist/styles/form/Input.scss +1 -1
  65. package/dist/styles/header/Header.scss +1 -1
  66. package/dist/styles/header/elements/CompanySelector.scss +2 -2
  67. package/dist/styles/iframe-events/Calendar.scss +1 -0
  68. package/dist/styles/iframe-events/CalendarSelect.scss +1 -1
  69. package/dist/styles/iframe-events/CategoryStepsForm.scss +7 -6
  70. package/dist/styles/iframe-events/Event.scss +4 -2
  71. package/dist/styles/iframe-events/EventForm.scss +54 -54
  72. package/dist/styles/iframe-events/EventNavigationFooter.scss +0 -1
  73. package/dist/styles/iframe-events/TicketDescription.scss +1 -1
  74. package/dist/styles/iframe-external-modal/IframeExternalModal.scss +2 -2
  75. package/dist/styles/iframe-payments/PaymentForm.scss +1 -1
  76. package/dist/styles/layout/BackgroundVideoContainer.scss +2 -2
  77. package/dist/styles/notification/Notification.scss +1 -1
  78. package/dist/styles/order-items-table/OrderItemsTable.scss +2 -1
  79. package/dist/styles/product-set/CreateProductSetItem.scss +13 -15
  80. package/dist/styles/product-set/DateAndRecurrenceInput.scss +8 -6
  81. package/dist/styles/product-set/EditCategoryModal.scss +4 -4
  82. package/dist/styles/product-set/EditProductModal.scss +3 -3
  83. package/dist/styles/product-set/EditStepModal.scss +4 -4
  84. package/dist/styles/product-set/EditVenueMapSetModal.scss +6 -6
  85. package/dist/styles/product-set/ProductSetForm.scss +2 -25
  86. package/dist/styles/product-set/TutorialGifCard.scss +1 -1
  87. package/dist/styles/product-set/_index.scss +2 -2
  88. package/dist/styles/report/ReportCard.scss +0 -1
  89. package/dist/styles/report/_index.scss +1 -1
  90. package/dist/styles/resources-blocking/_index.scss +0 -4
  91. package/dist/styles/sales/BookingFilter.scss +2 -2
  92. package/dist/styles/sales/BookingResults.scss +1 -1
  93. package/dist/styles/sales/BookingTabs.scss +5 -7
  94. package/dist/styles/sales/Filters.scss +4 -5
  95. package/dist/styles/sales/GuestProfile.scss +175 -170
  96. package/dist/styles/sales/LifeTimeSales.scss +1 -1
  97. package/dist/styles/sales/ManualBooking.scss +2 -4
  98. package/dist/styles/snippet-templates/_snippetVariables.scss +244 -63
  99. package/dist/styles/sortable-field/SortableField.scss +16 -16
  100. package/dist/styles/sortable-field/_index.scss +1 -1
  101. package/dist/styles/sortable-tree/Item.scss +4 -4
  102. package/dist/styles/table/Table.scss +1 -1
  103. package/dist/styles/themes/bookedit/_variables.scss +32 -10
  104. package/dist/styles/themes/licklist/_variables.scss +1 -1
  105. package/dist/styles/tiptap-editor/TiptapEditor.scss +10 -9
  106. package/dist/styles/tiptap-editor/_index.scss +1 -1
  107. package/dist/styles/venue-map-sets/VenueMapSetForm.scss +4 -5
  108. package/dist/styles/virtualized/_index.scss +1 -1
  109. package/dist/styles/zones/ZoneRecurrencesControl.scss +8 -6
  110. package/dist/typeahead/Typeahead.d.ts +1 -5
  111. package/dist/typeahead/Typeahead.d.ts.map +1 -1
  112. package/dist/typeahead/Typeahead.js +2 -9
  113. package/package.json +6 -8
  114. package/src/auth/ChangePassword/ChangePassword.stories.tsx +1 -1
  115. package/src/auth/Login/LoginComponent.tsx +1 -1
  116. package/src/auth/ResetPassword/ResetPassword.stories.tsx +1 -1
  117. package/src/calendar/components/CalendarButtons/CalendarButtons.tsx +28 -31
  118. package/src/events/edit-event-modal/IntervalInput.tsx +1 -8
  119. package/src/events/edit-event-modal/component/SelectEventProductSet/SelectEventProductSet.tsx +34 -32
  120. package/src/events/edit-event-modal/utils/getDefaultProductSet.ts +1 -0
  121. package/src/header/elements/Elements.stories.tsx +1 -1
  122. package/src/help/popover/Popover.stories.tsx +1 -1
  123. package/src/iframe/event/event-venue-map/IframeEventVenueMap.stories.tsx +3 -3
  124. package/src/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.tsx +0 -1
  125. package/src/iframe/payment/order-items-table/utils/paymentSummary.tsx +0 -1
  126. package/src/layout/DropDown.tsx +1 -2
  127. package/src/modals/confirmation/ConfirmModal.tsx +3 -19
  128. package/src/product-set/card/ProductSetCard.stories.tsx +1 -3
  129. package/src/product-set/card/ProductSetCard.tsx +8 -47
  130. package/src/product-set/control/DateInput.tsx +1 -2
  131. package/src/product-set/control/ProductSetRecurrenceControl.stories.tsx +2 -2
  132. package/src/product-set/form/ProductCategoriesControl.tsx +1 -37
  133. package/src/product-set/form/ProductSetForm.tsx +3 -18
  134. package/src/product-set/form/ProductZonesControl.tsx +7 -4
  135. package/src/product-set/form/SelectCategoryModal.stories.tsx +1 -1
  136. package/src/product-set/form/SelectCategoryModal.tsx +2 -2
  137. package/src/product-set/form/SubProductsControl.tsx +3 -0
  138. package/src/product-set/form/VenueMapsControl.tsx +3 -0
  139. package/src/product-set/form/index.ts +0 -1
  140. package/src/product-set/product/ProductControl.tsx +5 -1
  141. package/src/product-set/product/advanced-options/AdvancedOptions.tsx +5 -5
  142. package/src/product-set/product/booking-management/ProductBookingManagement.stories.tsx +1 -1
  143. package/src/product-set/product/quantity/ProductQuantity.stories.tsx +1 -1
  144. package/src/product-set/product-zone/ProductZoneControl.tsx +9 -9
  145. package/src/product-set/utils/index.ts +0 -11
  146. package/src/provider/working-hours-input/WorkingHoursInputDescription.tsx +2 -2
  147. package/src/sales/booking/results/components/ResultCard.tsx +2 -0
  148. package/src/setting/admin/AdminSetting.stories.tsx +0 -1
  149. package/src/setting/system/SystemSetting.stories.tsx +1 -1
  150. package/src/snippet/snippet-template/preview/Preview.tsx +0 -6
  151. package/src/sortable-tree/SortableTreeItem.tsx +0 -6
  152. package/src/styles/auth/AccessDenied.scss +1 -1
  153. package/src/styles/back-button/BackButton.scss +24 -25
  154. package/src/styles/back-button/_index.scss +1 -1
  155. package/src/styles/company-user-form/UserForm.scss +7 -4
  156. package/src/styles/company-user-form/_index.scss +1 -1
  157. package/src/styles/custom-fields/CreateSortableListItem.scss +1 -2
  158. package/src/styles/custom-fields/_index.scss +1 -1
  159. package/src/styles/customers/Filter.scss +5 -5
  160. package/src/styles/events/EditEventModal.scss +3 -1
  161. package/src/styles/events/EventVenueMap.scss +7 -7
  162. package/src/styles/form/Input.scss +1 -1
  163. package/src/styles/header/Header.scss +1 -1
  164. package/src/styles/header/elements/CompanySelector.scss +2 -2
  165. package/src/styles/iframe-events/Calendar.scss +1 -0
  166. package/src/styles/iframe-events/CalendarSelect.scss +1 -1
  167. package/src/styles/iframe-events/CategoryStepsForm.scss +7 -6
  168. package/src/styles/iframe-events/Event.scss +4 -2
  169. package/src/styles/iframe-events/EventForm.scss +54 -54
  170. package/src/styles/iframe-events/EventNavigationFooter.scss +0 -1
  171. package/src/styles/iframe-events/TicketDescription.scss +1 -1
  172. package/src/styles/iframe-external-modal/IframeExternalModal.scss +2 -2
  173. package/src/styles/iframe-payments/PaymentForm.scss +1 -1
  174. package/src/styles/layout/BackgroundVideoContainer.scss +2 -2
  175. package/src/styles/notification/Notification.scss +1 -1
  176. package/src/styles/order-items-table/OrderItemsTable.scss +2 -1
  177. package/src/styles/product-set/CreateProductSetItem.scss +13 -15
  178. package/src/styles/product-set/DateAndRecurrenceInput.scss +8 -6
  179. package/src/styles/product-set/EditCategoryModal.scss +4 -4
  180. package/src/styles/product-set/EditProductModal.scss +3 -3
  181. package/src/styles/product-set/EditStepModal.scss +4 -4
  182. package/src/styles/product-set/EditVenueMapSetModal.scss +6 -6
  183. package/src/styles/product-set/ProductSetForm.scss +2 -25
  184. package/src/styles/product-set/TutorialGifCard.scss +1 -1
  185. package/src/styles/product-set/_index.scss +2 -2
  186. package/src/styles/report/ReportCard.scss +0 -1
  187. package/src/styles/report/_index.scss +1 -1
  188. package/src/styles/resources-blocking/_index.scss +0 -4
  189. package/src/styles/sales/BookingFilter.scss +2 -2
  190. package/src/styles/sales/BookingResults.scss +1 -1
  191. package/src/styles/sales/BookingTabs.scss +5 -7
  192. package/src/styles/sales/Filters.scss +4 -5
  193. package/src/styles/sales/GuestProfile.scss +175 -170
  194. package/src/styles/sales/LifeTimeSales.scss +1 -1
  195. package/src/styles/sales/ManualBooking.scss +2 -4
  196. package/src/styles/snippet-templates/_snippetVariables.scss +244 -63
  197. package/src/styles/sortable-field/SortableField.scss +16 -16
  198. package/src/styles/sortable-field/_index.scss +1 -1
  199. package/src/styles/sortable-tree/Item.scss +4 -4
  200. package/src/styles/table/Table.scss +1 -1
  201. package/src/styles/themes/bookedit/_variables.scss +32 -10
  202. package/src/styles/themes/licklist/_variables.scss +1 -1
  203. package/src/styles/tiptap-editor/TiptapEditor.scss +10 -9
  204. package/src/styles/tiptap-editor/_index.scss +1 -1
  205. package/src/styles/venue-map-sets/VenueMapSetForm.scss +4 -5
  206. package/src/styles/virtualized/_index.scss +1 -1
  207. package/src/styles/zones/ZoneRecurrencesControl.scss +8 -6
  208. package/src/tiptap-editor/TipTapEditor.stories.tsx +4 -6
  209. package/src/tiptap-editor/TipTapMenu/TipTapMenu.stories.tsx +2 -5
  210. package/src/typeahead/Typeahead.tsx +1 -15
  211. package/yarn.lock +14 -40
  212. package/dist/product-set/form/ProductSetNameControl.d.ts +0 -6
  213. package/dist/product-set/form/ProductSetNameControl.d.ts.map +0 -1
  214. package/dist/product-set/form/ProductSetNameControl.js +0 -35
  215. package/src/product-set/form/ProductSetNameControl.tsx +0 -27
@@ -242,4 +242,4 @@ function SelectCategoryModal(param) {
242
242
  });
243
243
  }
244
244
 
245
- export { CATEGORY_TYPES_NAMES, SelectCategoryModal };
245
+ export { SelectCategoryModal };
@@ -1 +1 @@
1
- {"version":3,"file":"SubProductsControl.d.ts","sourceRoot":"","sources":["../../../src/product-set/form/SubProductsControl.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAkB,mBAAmB,EAAE,MAAM,YAAY,CAAC;AACjE,OAAO,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAIxD,UAAU,uBAAuB;IAC/B,YAAY,EAAE,mBAAmB,CAAC,oBAAoB,CAAC,CAAC,cAAc,CAAC,CAAC;IACxE,SAAS,EAAE,MAAM,CAAC;IAClB,oBAAoB,EAAE,MAAM,CAAC;IAC7B,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,wBAAgB,kBAAkB,CAAC,EACjC,SAAS,EACT,YAAY,EACZ,SAAS,EACT,oBAAoB,EACpB,YAAY,EACZ,WAAW,GACZ,EAAE,uBAAuB,2CAyDzB"}
1
+ {"version":3,"file":"SubProductsControl.d.ts","sourceRoot":"","sources":["../../../src/product-set/form/SubProductsControl.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAkB,mBAAmB,EAAE,MAAM,YAAY,CAAC;AACjE,OAAO,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAIxD,UAAU,uBAAuB;IAC/B,YAAY,EAAE,mBAAmB,CAAC,oBAAoB,CAAC,CAAC,cAAc,CAAC,CAAC;IACxE,SAAS,EAAE,MAAM,CAAC;IAClB,oBAAoB,EAAE,MAAM,CAAC;IAC7B,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,wBAAgB,kBAAkB,CAAC,EACjC,SAAS,EACT,YAAY,EACZ,SAAS,EACT,oBAAoB,EACpB,YAAY,EACZ,WAAW,GACZ,EAAE,uBAAuB,2CA4DzB"}
@@ -108,6 +108,9 @@ function SubProductsControl(param) {
108
108
  images: (_subProducts_index = subProducts[index]) === null || _subProducts_index === void 0 ? void 0 : _subProducts_index.images
109
109
  });
110
110
  // @ts-expect-error TS2345
111
+ // @TODO fix prod type error
112
+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment
113
+ // @ts-ignore
111
114
  append(subProductCopy);
112
115
  }
113
116
  })
@@ -1 +1 @@
1
- {"version":3,"file":"VenueMapsControl.d.ts","sourceRoot":"","sources":["../../../src/product-set/form/VenueMapsControl.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,2DAA2D,CAAC;AAErF,OAAO,EAAE,YAAY,EAAE,MAAM,+DAA+D,CAAC;AAG7F,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAEnC,KAAK,qBAAqB,GAAG;IAC3B,SAAS,CAAC,EAAE,QAAQ,EAAE,CAAC;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC;IAC9B,aAAa,CAAC,EAAE,OAAO,CAAC,YAAY,CAAC,EAAE,CAAC;IACxC,qBAAqB,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,CAAC,YAAY,CAAC,EAAE,KAAK,IAAI,CAAC;CAClE,CAAC;AAEF,eAAO,MAAM,gBAAgB,mEAK1B,qBAAqB,4CA6DvB,CAAC"}
1
+ {"version":3,"file":"VenueMapsControl.d.ts","sourceRoot":"","sources":["../../../src/product-set/form/VenueMapsControl.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,2DAA2D,CAAC;AAErF,OAAO,EAAE,YAAY,EAAE,MAAM,+DAA+D,CAAC;AAG7F,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAEnC,KAAK,qBAAqB,GAAG;IAC3B,SAAS,CAAC,EAAE,QAAQ,EAAE,CAAC;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC;IAC9B,aAAa,CAAC,EAAE,OAAO,CAAC,YAAY,CAAC,EAAE,CAAC;IACxC,qBAAqB,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,CAAC,YAAY,CAAC,EAAE,KAAK,IAAI,CAAC;CAClE,CAAC;AAEF,eAAO,MAAM,gBAAgB,mEAK1B,qBAAqB,4CAgEvB,CAAC"}
@@ -35,6 +35,9 @@ var VenueMapsControl = function(param) {
35
35
  url: image.url,
36
36
  name: name,
37
37
  points: points,
38
+ // @TODO fix prod type error
39
+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment
40
+ // @ts-ignore
38
41
  products: products,
39
42
  pointProducts: pointProducts,
40
43
  onPointProductsChange: onPointProductsChange
@@ -1,3 +1,2 @@
1
1
  export * from "./ProductSetForm";
2
- export * from "./ProductSetNameControl";
3
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/product-set/form/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,yBAAyB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/product-set/form/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ProductControl.d.ts","sourceRoot":"","sources":["../../../src/product-set/product/ProductControl.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,YAAY,EAIb,MAAM,kEAAkE,CAAC;AAC1E,OAAO,EAAE,WAAW,EAAE,MAAM,0DAA0D,CAAC;AAGvF,OAAO,EACL,mBAAmB,EACnB,UAAU,EACX,MAAM,8DAA8D,CAAC;AAEtE,OAAO,EACL,WAAW,EAKZ,MAAM,OAAO,CAAC;AAef,OAAO,EACL,KAAK,EAEN,MAAM,sDAAsD,CAAC;AAO9D,OAAO,EAEL,oCAAoC,EACrC,MAAM,sDAAsD,CAAC;AAC9D,OAAO,EAEL,2BAA2B,EAC5B,MAAM,iCAAiC,CAAC;AAOzC,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAG5C,OAAO,EAAE,wBAAwB,EAAE,MAAM,iBAAiB,CAAC;AAM3D,MAAM,WAAW,oBACf,SAAQ,UAAU,EAChB,2BAA2B;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,EAAE,MAAM,CAAC;IACpB,kBAAkB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AAC;IAC5B,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,wBAAgB,cAAc,CAAC,CAAC,SAAS,UAAU,EAAE,EACnD,SAAiB,EACjB,eAAe,EACf,aAAqB,EACrB,oBAA4B,EAC5B,QAAa,EACb,MAAM,EACN,mBAAmB,EACnB,WAAW,EACX,SAAS,EACT,YAAY,EACZ,WAAmB,GACpB,EAAE,mBAAmB,CAAC,CAAC,CAAC,2CA4WxB"}
1
+ {"version":3,"file":"ProductControl.d.ts","sourceRoot":"","sources":["../../../src/product-set/product/ProductControl.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,YAAY,EAIb,MAAM,kEAAkE,CAAC;AAC1E,OAAO,EACL,WAAW,EAEZ,MAAM,0DAA0D,CAAC;AAGlE,OAAO,EACL,mBAAmB,EACnB,UAAU,EACX,MAAM,8DAA8D,CAAC;AAEtE,OAAO,EACL,WAAW,EAKZ,MAAM,OAAO,CAAC;AAgBf,OAAO,EACL,KAAK,EAEN,MAAM,sDAAsD,CAAC;AAO9D,OAAO,EAEL,oCAAoC,EACrC,MAAM,sDAAsD,CAAC;AAC9D,OAAO,EAEL,2BAA2B,EAC5B,MAAM,iCAAiC,CAAC;AAOzC,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAG5C,OAAO,EAAE,wBAAwB,EAAE,MAAM,iBAAiB,CAAC;AAM3D,MAAM,WAAW,oBACf,SAAQ,UAAU,EAChB,2BAA2B;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,EAAE,MAAM,CAAC;IACpB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,OAAO,CAAC;IACrB,SAAS,EA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YAAY,EACZ,WAAmB,GACpB,EAAE,mBAAmB,CAAC,CAAC,CAAC,2CA4WxB"}
@@ -2,7 +2,6 @@ import { EmailTemplate } from "@licklist/core/dist/DataMapper/Notification/Email
2
2
  import { SmsTemplate } from "@licklist/core/dist/DataMapper/Notification/SmsTemplateDataMapper";
3
3
  import { TFunction } from "react-i18next";
4
4
  import { UseFormSetError } from "react-hook-form";
5
- import { ProductSet } from "@licklist/core/dist/DataMapper/Product/ProductSetDataMapper";
6
5
  import { TemplateItem } from "../control/ProductSetControl";
7
6
  import { ProductSetFormValues } from "../form/ProductSetForm";
8
7
  interface CheckAvailableTimesErrors {
@@ -10,17 +9,11 @@ interface CheckAvailableTimesErrors {
10
9
  setError: UseFormSetError<ProductSetFormValues>;
11
10
  t: TFunction;
12
11
  }
13
- export interface MenuTypeheadItem {
14
- id: number;
15
- label: string;
16
- value: number;
17
- }
18
12
  export declare const moveArrayElements: <T>(array: T[], prevIndex: number, nextIndex: number) => T[];
19
13
  export declare const sortArrayByIndex: <T>(array: T[]) => (T & {
20
14
  sort: number;
21
15
  })[];
22
16
  export declare const getFilteredTemplates: (templates?: EmailTemplate[] | SmsTemplate[], formTemplates?: TemplateItem[]) => TemplateItem[] | undefined;
23
17
  export declare const checkAvailableTimesErrors: ({ values, setError, t, }: CheckAvailableTimesErrors) => boolean;
24
- export declare const getTypeHeadItemsFromMenus: (menus?: (ProductSet | ProductSetFormValues)[]) => MenuTypeheadItem[];
25
18
  export {};
26
19
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/product-set/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,qEAAqE,CAAC;AACpG,OAAO,EAAE,WAAW,EAAE,MAAM,mEAAmE,CAAC;AAChG,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC1C,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAA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AAwB,CAAC;AAE9D,UAAU,yBAAyB;IACjC,MAAM,EAAE,oBAAoB,CAAC;IAC7B,QAAQ,EAAE,eAAe,CAAC,oBAAoB,CAAC,CAAC;IAChD,CAAC,EAAE,SAAS,CAAC;CACd;AAED,eAAO,MAAM,iBAAiB,GAAI,CAAC,SAC1B,CAAC,EAAE,aACC,MAAM,aACN,MAAM,QAQlB,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,CAAC,SAAS,CAAC,EAAE;;IAE7C,CAAC;AAEF,eAAO,MAAM,oBAAoB,eACnB,aAAa,EAAE,GAAG,WAAW,EAAE,kBAC3B,YAAY,EAAE,KAC7B,YAAY,EAAE,GAAG,SAmBnB,CAAC;AAEF,eAAO,MAAM,yBAAyB,6BAInC,yBAAyB,YA0B3B,CAAC"}
@@ -136,14 +136,5 @@ var checkAvailableTimesErrors = function(param) {
136
136
  });
137
137
  return hasError;
138
138
  };
139
- var getTypeHeadItemsFromMenus = function(menus) {
140
- return menus === null || menus === void 0 ? void 0 : menus.map(function(menu) {
141
- return {
142
- id: menu.id,
143
- value: menu.id,
144
- label: menu.name
145
- };
146
- });
147
- };
148
139
 
149
- export { checkAvailableTimesErrors, getFilteredTemplates, getTypeHeadItemsFromMenus, moveArrayElements, sortArrayByIndex };
140
+ export { checkAvailableTimesErrors, getFilteredTemplates, moveArrayElements, sortArrayByIndex };
@@ -16,7 +16,6 @@ function WorkingHoursInputDescription() {
16
16
  }, function(_, i) {
17
17
  return i;
18
18
  }).map(function(i) {
19
- var _values_i, _values_i1;
20
19
  var _values_i_start, _values_i_end;
21
20
  return jsxs(Row, {
22
21
  children: [
@@ -29,8 +28,8 @@ function WorkingHoursInputDescription() {
29
28
  }),
30
29
  /*#__PURE__*/ jsx(Col, {
31
30
  children: t("timeInterval", {
32
- start: (_values_i_start = values === null || values === void 0 ? void 0 : (_values_i = values[i]) === null || _values_i === void 0 ? void 0 : _values_i.start) !== null && _values_i_start !== void 0 ? _values_i_start : "00:00",
33
- end: (_values_i_end = values === null || values === void 0 ? void 0 : (_values_i1 = values[i]) === null || _values_i1 === void 0 ? void 0 : _values_i1.end) !== null && _values_i_end !== void 0 ? _values_i_end : "23:59"
31
+ start: (_values_i_start = values === null || values === void 0 ? void 0 : values[i].start) !== null && _values_i_start !== void 0 ? _values_i_start : "00:00",
32
+ end: (_values_i_end = values === null || values === void 0 ? void 0 : values[i].end) !== null && _values_i_end !== void 0 ? _values_i_end : "23:59"
34
33
  })
35
34
  })
36
35
  ]
@@ -1 +1 @@
1
- {"version":3,"file":"ResultCard.d.ts","sourceRoot":"","sources":["../../../../../src/sales/booking/results/components/ResultCard.tsx"],"names":[],"mappings":"AAGA,OAAO,EACL,KAAK,EAEN,MAAM,sDAAsD,CAAC;AAC9D,OAAO,EAAE,IAAI,EAAE,MAAM,oDAAoD,CAAC;AAQ1E,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,4CAuFjB,CAAC"}
1
+ {"version":3,"file":"ResultCard.d.ts","sourceRoot":"","sources":["../../../../../src/sales/booking/results/components/ResultCard.tsx"],"names":[],"mappings":"AAGA,OAAO,EACL,KAAK,EAEN,MAAM,sDAAsD,CAAC;AAC9D,OAAO,EAAE,IAAI,EAAE,MAAM,oDAAoD,CAAC;AAQ1E,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;AAIF,eAAO,MAAM,UAAU,oDAKpB,eAAe,4CAuFjB,CAAC"}
@@ -10,6 +10,8 @@ import { getOrderSourceTitle } from '@licklist/plugins/dist/utils/sourceTitle';
10
10
  import { FaUser } from 'react-icons/fa';
11
11
  import { fromIso } from '@licklist/core/dist/Services';
12
12
 
13
+ // @TODO integrate when API will be available
14
+ // activity and staff keys
13
15
  var ResultCard = function(param) {
14
16
  var order = param.order, className = param.className, staffMember = param.staffMember, onCardClick = param.onCardClick;
15
17
  var _products_map, _user_userDetail, _user_userDetail1;
@@ -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,2CAsWd"}
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,2CAgWd"}
@@ -466,7 +466,6 @@ function Preview(param) {
466
466
  productCategoryId: 57,
467
467
  productGroupId: null,
468
468
  availableQuantity: 980,
469
- zoneId: null,
470
469
  name: "Cofee",
471
470
  description: "",
472
471
  price: 15,
@@ -475,8 +474,6 @@ function Preview(param) {
475
474
  maxQuantity: 15,
476
475
  totalQuantity: 980,
477
476
  type: "sale",
478
- capacity: 0,
479
- duration: 0,
480
477
  weight: 0,
481
478
  isAvailable: true,
482
479
  isSoldOut: false,
@@ -495,7 +492,6 @@ function Preview(param) {
495
492
  productCategoryId: 57,
496
493
  productGroupId: null,
497
494
  availableQuantity: 980,
498
- zoneId: null,
499
495
  name: "Cofee 2",
500
496
  description: "",
501
497
  price: 15,
@@ -504,8 +500,6 @@ function Preview(param) {
504
500
  maxQuantity: 15,
505
501
  totalQuantity: 980,
506
502
  type: "sale",
507
- capacity: 0,
508
- duration: 0,
509
503
  weight: 0,
510
504
  isAvailable: true,
511
505
  isSoldOut: false,
@@ -14,7 +14,6 @@ export interface SortableTreeItemProps {
14
14
  body: ReactNode;
15
15
  children?: ReactNode;
16
16
  preItem?: ReactNode;
17
- itemButton?: ReactNode;
18
17
  postItem?: ReactNode;
19
18
  sortableItems?: string[];
20
19
  isExpanded?: boolean;
@@ -37,5 +36,5 @@ export interface SortableTreeItemProps {
37
36
  setIsExpanded?: () => void;
38
37
  isOverride?: boolean;
39
38
  }
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;
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;
41
40
  //# 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,CAA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A0B,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,2CA2TvB"}
@@ -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, itemButton = param.itemButton;
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;
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,15 +433,9 @@ 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__*/ 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
- ]
436
+ /*#__PURE__*/ jsx("span", {
437
+ className: clsx("sortable-tree-item-title", modalLabel && "sortable-tree-product-set-element-title"),
438
+ children: title
445
439
  }),
446
440
  !expanded && /*#__PURE__*/ jsx("span", {
447
441
  className: "sortable-tree-item-subtitle",
@@ -8,4 +8,4 @@
8
8
  h6 {
9
9
  color: $gray-600;
10
10
  }
11
- }
11
+ }
@@ -1,33 +1,32 @@
1
1
  $base-height: 2.5rem;
2
2
 
3
3
  .button-wrapper {
4
- background-color: $snippet-page-header-steps-close-button-background-color;
5
- height: $base-height;
4
+ background-color: $snippet-page-header-steps-close-button-background-color;
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;
6
12
  width: $base-height;
7
- border-radius: $base-height;
13
+ height: $base-height;
14
+ display: flex;
15
+ align-items: center;
16
+ justify-content: center;
17
+ font-weight: lighter;
18
+ color: $snippet-page-header-steps-close-button-border-color;
8
19
  transition: $color-transition;
9
20
 
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
- }
21
+ &:hover {
22
+ cursor: pointer;
25
23
  }
24
+ }
26
25
 
27
- &.back-button {
28
- display: flex;
29
- align-items: center;
30
- justify-content: center;
31
- margin-right: 1rem;
32
- }
33
- }
26
+ &.back-button {
27
+ display: flex;
28
+ align-items: center;
29
+ justify-content: center;
30
+ margin-right: 1rem;
31
+ }
32
+ }
@@ -1 +1 @@
1
- @import "./BackButton.scss";
1
+ @import "./BackButton.scss";
@@ -33,11 +33,15 @@
33
33
  }
34
34
 
35
35
  &.active {
36
- color: #0E8CE2;
37
- background: linear-gradient(149.72deg, #D9EFFF 50.04%, #E9F4FE 107.75%);
36
+ color: #0e8ce2;
37
+ background: linear-gradient(
38
+ 149.72deg,
39
+ #d9efff 50.04%,
40
+ #e9f4fe 107.75%
41
+ );
38
42
 
39
43
  svg path {
40
- stroke: #0E8CE2;
44
+ stroke: #0e8ce2;
41
45
  }
42
46
  }
43
47
  }
@@ -62,4 +66,3 @@
62
66
  }
63
67
  }
64
68
  }
65
-
@@ -1 +1 @@
1
- @import "./UserForm.scss";
1
+ @import "./UserForm.scss";
@@ -1,4 +1,3 @@
1
-
2
1
  $sortable-list-item-hover-bg-color: #d9efff !default;
3
2
 
4
3
  .sortable-list-item-wrapper {
@@ -26,4 +25,4 @@ $sortable-list-item-hover-bg-color: #d9efff !default;
26
25
  &:hover {
27
26
  background-color: $sortable-list-item-hover-bg-color;
28
27
  }
29
- }
28
+ }
@@ -1,3 +1,3 @@
1
1
  @import "./FieldItem.scss";
2
2
  @import "./SelectFieldModal.scss";
3
- @import "./CreateSortableListItem.scss";
3
+ @import "./CreateSortableListItem.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,7 +5,9 @@
5
5
  padding: 1rem 2rem;
6
6
  border-radius: 1rem;
7
7
  margin-bottom: 1.5rem;
8
- transition: color 0.2s ease-out, background-color 0.2s ease-out;
8
+ transition:
9
+ color 0.2s ease-out,
10
+ background-color 0.2s ease-out;
9
11
  margin-left: 1rem;
10
12
 
11
13
  &:hover {
@@ -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);
@@ -33,4 +33,4 @@ input[type="date"].date-input-with-value::-webkit-datetime-edit-year-field {
33
33
  .invalid-feedback-message {
34
34
  font-size: 80%;
35
35
  color: #f94b25;
36
- }
36
+ }
@@ -5,7 +5,7 @@
5
5
  justify-content: space-between;
6
6
  display: flex;
7
7
  flex-direction: row;
8
-
8
+
9
9
  @include media-breakpoint-down(sm) {
10
10
  width: 100%;
11
11
  }
@@ -1,4 +1,4 @@
1
- $company-selector-font-size: .85rem !default;
1
+ $company-selector-font-size: 0.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 .25rem;
23
+ padding: 0 0.25rem;
24
24
  font-size: $company-selector-font-size;
25
25
  font-weight: $company-selector-font-weight;
26
26
  }
@@ -48,6 +48,7 @@
48
48
  height: 2.25rem;
49
49
  width: 14.125rem;
50
50
  justify-content: space-between;
51
+ border: 1px solid $snippet-dropdown-border-color;
51
52
  border-radius: $iframe-border-radius;
52
53
  transition: $color-transition;
53
54
 
@@ -15,4 +15,4 @@
15
15
  box-shadow: 0 0 0 0;
16
16
  }
17
17
  }
18
- }
18
+ }
@@ -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,7 +65,8 @@
65
65
  background-color: $snippet-elements-button-background-color;
66
66
  border-color: $snippet-elements-button-border-color;
67
67
 
68
- &:hover, &:focus {
68
+ &:hover,
69
+ &:focus {
69
70
  box-shadow: none;
70
71
  transition: $color-transition;
71
72
  color: $snippet-elements-button-color;
@@ -91,4 +92,4 @@
91
92
  padding: 1rem;
92
93
  }
93
94
  }
94
- }
95
+ }
@@ -171,7 +171,8 @@
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 $snippet-elements-button-background-color;
174
+ box-shadow: 0 0 0 $input-btn-focus-width
175
+ $snippet-elements-button-background-color;
175
176
  }
176
177
 
177
178
  &:disabled {
@@ -227,7 +228,8 @@
227
228
  color: $snippet-elements-button-color;
228
229
  border: none;
229
230
  background-color: $snippet-elements-button-background-color;
230
- box-shadow: 0 0 0 $input-btn-focus-width $snippet-elements-button-background-color;
231
+ box-shadow: 0 0 0 $input-btn-focus-width
232
+ $snippet-elements-button-background-color;
231
233
  }
232
234
 
233
235
  &:disabled {