@stachelock/ui 0.3.1 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AlertModal.vue_vue_type_script_setup_true_lang-CxwewAVy.js → AlertModal.vue_vue_type_script_setup_true_lang-C6q8Mpl4.js} +2 -2
- package/dist/{AlertModal.vue_vue_type_script_setup_true_lang-CxwewAVy.js.map → AlertModal.vue_vue_type_script_setup_true_lang-C6q8Mpl4.js.map} +1 -1
- package/dist/{BackgroundGradientWrapper.vue_vue_type_script_setup_true_lang-B570pdYL.js → BackgroundGradientWrapper.vue_vue_type_script_setup_true_lang-C8msTrTn.js} +6 -6
- package/dist/{BackgroundGradientWrapper.vue_vue_type_script_setup_true_lang-B570pdYL.js.map → BackgroundGradientWrapper.vue_vue_type_script_setup_true_lang-C8msTrTn.js.map} +1 -1
- package/dist/{BarChart.vue_vue_type_script_setup_true_lang-Dnuzd7vZ.js → BarChart.vue_vue_type_script_setup_true_lang-xCb0DCbf.js} +19 -19
- package/dist/{BarChart.vue_vue_type_script_setup_true_lang-Dnuzd7vZ.js.map → BarChart.vue_vue_type_script_setup_true_lang-xCb0DCbf.js.map} +1 -1
- package/dist/{BaseModal.vue_vue_type_script_setup_true_lang-Cr_GAD6Q.js → BaseModal.vue_vue_type_script_setup_true_lang-B67Pt3tW.js} +5 -6
- package/dist/{BaseModal.vue_vue_type_script_setup_true_lang-Cr_GAD6Q.js.map → BaseModal.vue_vue_type_script_setup_true_lang-B67Pt3tW.js.map} +1 -1
- package/dist/{CalendarHeader.vue_vue_type_script_setup_true_lang-DRwe4rw8.js → CalendarHeader.vue_vue_type_script_setup_true_lang-P5ypRyGV.js} +111 -111
- package/dist/CalendarHeader.vue_vue_type_script_setup_true_lang-P5ypRyGV.js.map +1 -0
- package/dist/CheckboxInput.vue_vue_type_script_setup_true_lang-BikR9rgi.js +187 -0
- package/dist/{CheckboxInput.vue_vue_type_script_setup_true_lang-B8wJVkPP.js.map → CheckboxInput.vue_vue_type_script_setup_true_lang-BikR9rgi.js.map} +1 -1
- package/dist/ComboboxInput.vue_vue_type_script_setup_true_lang-1YGa9Fnd.js +1351 -0
- package/dist/ComboboxInput.vue_vue_type_script_setup_true_lang-1YGa9Fnd.js.map +1 -0
- package/dist/{ComingSoon.vue_vue_type_script_setup_true_lang-C5GU-yiK.js → ComingSoon.vue_vue_type_script_setup_true_lang-CJ8FXE42.js} +19 -19
- package/dist/{ComingSoon.vue_vue_type_script_setup_true_lang-C5GU-yiK.js.map → ComingSoon.vue_vue_type_script_setup_true_lang-CJ8FXE42.js.map} +1 -1
- package/dist/{DashboardLayout.vue_vue_type_script_setup_true_lang-DV-XVWqh.js → DashboardLayout.vue_vue_type_script_setup_true_lang-B0M6-9os.js} +7 -8
- package/dist/{DashboardLayout.vue_vue_type_script_setup_true_lang-DV-XVWqh.js.map → DashboardLayout.vue_vue_type_script_setup_true_lang-B0M6-9os.js.map} +1 -1
- package/dist/DatepickerInput.vue_vue_type_style_index_0_lang-BdkGLw0H.js.map +1 -1
- package/dist/{DayCalendar.vue_vue_type_script_setup_true_lang-BV9vYYuX.js → DayCalendar.vue_vue_type_script_setup_true_lang-8al4Fotu.js} +47 -47
- package/dist/{DayCalendar.vue_vue_type_script_setup_true_lang-BV9vYYuX.js.map → DayCalendar.vue_vue_type_script_setup_true_lang-8al4Fotu.js.map} +1 -1
- package/dist/{DisclosureWrapper.vue_vue_type_script_setup_true_lang-B-Mr_vdx.js → DisclosureWrapper.vue_vue_type_script_setup_true_lang-C7y2bNhW.js} +38 -38
- package/dist/{DisclosureWrapper.vue_vue_type_script_setup_true_lang-B-Mr_vdx.js.map → DisclosureWrapper.vue_vue_type_script_setup_true_lang-C7y2bNhW.js.map} +1 -1
- package/dist/DynamicForm.vue_vue_type_script_setup_true_lang-CxSaO5Cl.js +253 -0
- package/dist/DynamicForm.vue_vue_type_script_setup_true_lang-CxSaO5Cl.js.map +1 -0
- package/dist/{DynamicFormField.vue_vue_type_script_setup_true_lang-Ct8b80dM.js → DynamicFormField.vue_vue_type_script_setup_true_lang-CSLSRFM7.js} +16 -16
- package/dist/DynamicFormField.vue_vue_type_script_setup_true_lang-CSLSRFM7.js.map +1 -0
- package/dist/EmailInput.vue_vue_type_script_setup_true_lang-BicPMIop.js +122 -0
- package/dist/{EmailInput.vue_vue_type_script_setup_true_lang-Dhfgs2Jn.js.map → EmailInput.vue_vue_type_script_setup_true_lang-BicPMIop.js.map} +1 -1
- package/dist/{EmptyInput.vue_vue_type_script_setup_true_lang-BDxgc5Bs.js → EmptyInput.vue_vue_type_script_setup_true_lang-FWDCFF2c.js} +9 -9
- package/dist/{EmptyInput.vue_vue_type_script_setup_true_lang-BDxgc5Bs.js.map → EmptyInput.vue_vue_type_script_setup_true_lang-FWDCFF2c.js.map} +1 -1
- package/dist/{EmptyState.vue_vue_type_script_setup_true_lang-B_XAq5Sr.js → EmptyState.vue_vue_type_script_setup_true_lang-Dxy-cLPT.js} +29 -29
- package/dist/{EmptyState.vue_vue_type_script_setup_true_lang-B_XAq5Sr.js.map → EmptyState.vue_vue_type_script_setup_true_lang-Dxy-cLPT.js.map} +1 -1
- package/dist/{EventsList.vue_vue_type_script_setup_true_lang-D3q9wJ4E.js → EventsList.vue_vue_type_script_setup_true_lang-MhuVi5u8.js} +30 -31
- package/dist/{EventsList.vue_vue_type_script_setup_true_lang-D3q9wJ4E.js.map → EventsList.vue_vue_type_script_setup_true_lang-MhuVi5u8.js.map} +1 -1
- package/dist/{FunnelChart.vue_vue_type_script_setup_true_lang-B8QYlJ-s.js → FunnelChart.vue_vue_type_script_setup_true_lang-B4pH6xCV.js} +12 -12
- package/dist/{FunnelChart.vue_vue_type_script_setup_true_lang-B8QYlJ-s.js.map → FunnelChart.vue_vue_type_script_setup_true_lang-B4pH6xCV.js.map} +1 -1
- package/dist/{HiddenInput.vue_vue_type_script_setup_true_lang-DYdvWmVE.js → HiddenInput.vue_vue_type_script_setup_true_lang-PtGZ4eLW.js} +10 -10
- package/dist/{HiddenInput.vue_vue_type_script_setup_true_lang-DYdvWmVE.js.map → HiddenInput.vue_vue_type_script_setup_true_lang-PtGZ4eLW.js.map} +1 -1
- package/dist/{InlineTabs.vue_vue_type_script_setup_true_lang-DhkX5sWS.js → InlineTabs.vue_vue_type_script_setup_true_lang-CD0lnkUm.js} +29 -29
- package/dist/{InlineTabs.vue_vue_type_script_setup_true_lang-DhkX5sWS.js.map → InlineTabs.vue_vue_type_script_setup_true_lang-CD0lnkUm.js.map} +1 -1
- package/dist/{LineChart.vue_vue_type_script_setup_true_lang-DszQ-a5L.js → LineChart.vue_vue_type_script_setup_true_lang-DJo0edLJ.js} +17 -17
- package/dist/{LineChart.vue_vue_type_script_setup_true_lang-DszQ-a5L.js.map → LineChart.vue_vue_type_script_setup_true_lang-DJo0edLJ.js.map} +1 -1
- package/dist/LottieAnimation.vue_vue_type_script_setup_true_lang-swmHdR0_.js +36 -0
- package/dist/{LottieAnimation.vue_vue_type_script_setup_true_lang-CwOOShcM.js.map → LottieAnimation.vue_vue_type_script_setup_true_lang-swmHdR0_.js.map} +1 -1
- package/dist/{MonthCalendar.vue_vue_type_style_index_0_lang-CnX3Ih0W.js → MonthCalendar.vue_vue_type_style_index_0_lang-Cyzq7A9j.js} +2 -2
- package/dist/{MonthCalendar.vue_vue_type_style_index_0_lang-CnX3Ih0W.js.map → MonthCalendar.vue_vue_type_style_index_0_lang-Cyzq7A9j.js.map} +1 -1
- package/dist/NavigationGroup.vue_vue_type_script_setup_true_lang-BWq5fpEm.js +30 -0
- package/dist/{NavigationGroup.vue_vue_type_script_setup_true_lang-2tAB9Hbx.js.map → NavigationGroup.vue_vue_type_script_setup_true_lang-BWq5fpEm.js.map} +1 -1
- package/dist/{NavigationItem.vue_vue_type_script_setup_true_lang-CEsuYl3S.js → NavigationItem.vue_vue_type_script_setup_true_lang-C8aX-84Q.js} +18 -18
- package/dist/{NavigationItem.vue_vue_type_script_setup_true_lang-CEsuYl3S.js.map → NavigationItem.vue_vue_type_script_setup_true_lang-C8aX-84Q.js.map} +1 -1
- package/dist/NotificationToast.vue_vue_type_script_setup_true_lang-DZxcEZkP.js +277 -0
- package/dist/NotificationToast.vue_vue_type_script_setup_true_lang-DZxcEZkP.js.map +1 -0
- package/dist/{PieChart.vue_vue_type_script_setup_true_lang-DJRcsty7.js → PieChart.vue_vue_type_script_setup_true_lang-e3wsA9O4.js} +12 -12
- package/dist/{PieChart.vue_vue_type_script_setup_true_lang-DJRcsty7.js.map → PieChart.vue_vue_type_script_setup_true_lang-e3wsA9O4.js.map} +1 -1
- package/dist/ProfileHeaderAvatar.vue_vue_type_script_setup_true_lang-DkABeWJt.js +130 -0
- package/dist/{ProfileHeaderAvatar.vue_vue_type_script_setup_true_lang-Cri9BiBy.js.map → ProfileHeaderAvatar.vue_vue_type_script_setup_true_lang-DkABeWJt.js.map} +1 -1
- package/dist/{ProjectLogo.vue_vue_type_script_setup_true_lang-CtroDq7L.js → ProjectLogo.vue_vue_type_script_setup_true_lang-DYjp-RNh.js} +24 -24
- package/dist/{ProjectLogo.vue_vue_type_script_setup_true_lang-CtroDq7L.js.map → ProjectLogo.vue_vue_type_script_setup_true_lang-DYjp-RNh.js.map} +1 -1
- package/dist/{SelectInput.vue_vue_type_script_setup_true_lang--yUL7bcx.js → SelectInput.vue_vue_type_script_setup_true_lang-DHiZ-7K2.js} +111 -111
- package/dist/SelectInput.vue_vue_type_script_setup_true_lang-DHiZ-7K2.js.map +1 -0
- package/dist/{SelectTextInput.vue_vue_type_script_setup_true_lang-B2Gw_se2.js → SelectTextInput.vue_vue_type_script_setup_true_lang-DYrXW14A.js} +2 -2
- package/dist/{SelectTextInput.vue_vue_type_script_setup_true_lang-B2Gw_se2.js.map → SelectTextInput.vue_vue_type_script_setup_true_lang-DYrXW14A.js.map} +1 -1
- package/dist/{SidebarLayout.vue_vue_type_script_setup_true_lang-BD2PF5xp.js → SidebarLayout.vue_vue_type_script_setup_true_lang-BJ5jadgZ.js} +9 -10
- package/dist/{SidebarLayout.vue_vue_type_script_setup_true_lang-BD2PF5xp.js.map → SidebarLayout.vue_vue_type_script_setup_true_lang-BJ5jadgZ.js.map} +1 -1
- package/dist/{SparklineChart.vue_vue_type_script_setup_true_lang-DDTcpEjy.js → SparklineChart.vue_vue_type_script_setup_true_lang-BlNk5ZqM.js} +17 -17
- package/dist/{SparklineChart.vue_vue_type_script_setup_true_lang-DDTcpEjy.js.map → SparklineChart.vue_vue_type_script_setup_true_lang-BlNk5ZqM.js.map} +1 -1
- package/dist/{StatCard.vue_vue_type_script_setup_true_lang-DTOT0-WB.js → StatCard.vue_vue_type_script_setup_true_lang-BfFupfmC.js} +40 -40
- package/dist/{StatCard.vue_vue_type_script_setup_true_lang-DTOT0-WB.js.map → StatCard.vue_vue_type_script_setup_true_lang-BfFupfmC.js.map} +1 -1
- package/dist/{StepperPanels.vue_vue_type_script_setup_true_lang-BtHrfqFI.js → StepperPanels.vue_vue_type_script_setup_true_lang-D6Fv7iz3.js} +38 -38
- package/dist/{StepperPanels.vue_vue_type_script_setup_true_lang-BtHrfqFI.js.map → StepperPanels.vue_vue_type_script_setup_true_lang-D6Fv7iz3.js.map} +1 -1
- package/dist/{SwitchInput.vue_vue_type_script_setup_true_lang-D6M1qwP1.js → SwitchInput.vue_vue_type_script_setup_true_lang-C88FcxuK.js} +110 -108
- package/dist/{SwitchInput.vue_vue_type_script_setup_true_lang-D6M1qwP1.js.map → SwitchInput.vue_vue_type_script_setup_true_lang-C88FcxuK.js.map} +1 -1
- package/dist/{SwitchInputGroup.vue_vue_type_script_setup_true_lang-BNKKEAMq.js → SwitchInputGroup.vue_vue_type_script_setup_true_lang-CK9JWl4F.js} +2 -2
- package/dist/{SwitchInputGroup.vue_vue_type_script_setup_true_lang-BNKKEAMq.js.map → SwitchInputGroup.vue_vue_type_script_setup_true_lang-CK9JWl4F.js.map} +1 -1
- package/dist/{TabGroup.vue_vue_type_script_setup_true_lang-DrhDwLL3.js → TabGroup.vue_vue_type_script_setup_true_lang-DVVeOgWH.js} +3 -3
- package/dist/{TabGroup.vue_vue_type_script_setup_true_lang-DrhDwLL3.js.map → TabGroup.vue_vue_type_script_setup_true_lang-DVVeOgWH.js.map} +1 -1
- package/dist/{TabGroupUnderline.vue_vue_type_script_setup_true_lang-Di33js6c.js → TabGroupUnderline.vue_vue_type_script_setup_true_lang-_3XtOn3w.js} +32 -32
- package/dist/{TabGroupUnderline.vue_vue_type_script_setup_true_lang-Di33js6c.js.map → TabGroupUnderline.vue_vue_type_script_setup_true_lang-_3XtOn3w.js.map} +1 -1
- package/dist/{TabsInPills.vue_vue_type_script_setup_true_lang-CMxaK0Kw.js → TabsInPills.vue_vue_type_script_setup_true_lang-DY1NkXCQ.js} +21 -21
- package/dist/{TabsInPills.vue_vue_type_script_setup_true_lang-CMxaK0Kw.js.map → TabsInPills.vue_vue_type_script_setup_true_lang-DY1NkXCQ.js.map} +1 -1
- package/dist/{TagifyInput.vue_vue_type_script_setup_true_lang-CAK6ZIiz.js → TagifyInput.vue_vue_type_script_setup_true_lang-Da6-pRJ2.js} +2 -2
- package/dist/TagifyInput.vue_vue_type_script_setup_true_lang-Da6-pRJ2.js.map +1 -0
- package/dist/{TextAreaInput.vue_vue_type_script_setup_true_lang-BMpc-5ln.js → TextAreaInput.vue_vue_type_script_setup_true_lang-Cf0MJobG.js} +47 -47
- package/dist/{TextAreaInput.vue_vue_type_script_setup_true_lang-BMpc-5ln.js.map → TextAreaInput.vue_vue_type_script_setup_true_lang-Cf0MJobG.js.map} +1 -1
- package/dist/{UiAvatar.vue_vue_type_script_setup_true_lang-Ci7VLRZx.js → UiAvatar.vue_vue_type_script_setup_true_lang-WVY6JbUL.js} +36 -36
- package/dist/UiAvatar.vue_vue_type_script_setup_true_lang-WVY6JbUL.js.map +1 -0
- package/dist/{UiBadge.vue_vue_type_script_setup_true_lang-CV8WVEXL.js → UiBadge.vue_vue_type_script_setup_true_lang-DOtbLb9x.js} +19 -19
- package/dist/{UiBadge.vue_vue_type_script_setup_true_lang-CV8WVEXL.js.map → UiBadge.vue_vue_type_script_setup_true_lang-DOtbLb9x.js.map} +1 -1
- package/dist/{UiButtonGroup.vue_vue_type_script_setup_true_lang-BKyznfxi.js → UiButtonGroup.vue_vue_type_script_setup_true_lang-CVwXB-cb.js} +28 -28
- package/dist/{UiButtonGroup.vue_vue_type_script_setup_true_lang-BKyznfxi.js.map → UiButtonGroup.vue_vue_type_script_setup_true_lang-CVwXB-cb.js.map} +1 -1
- package/dist/{UiCheckbox.vue_vue_type_script_setup_true_lang-B5fPB7PH.js → UiCheckbox.vue_vue_type_script_setup_true_lang-BxyM_F-V.js} +37 -37
- package/dist/{UiCheckbox.vue_vue_type_script_setup_true_lang-B5fPB7PH.js.map → UiCheckbox.vue_vue_type_script_setup_true_lang-BxyM_F-V.js.map} +1 -1
- package/dist/{UiLoading.vue_vue_type_script_setup_true_lang-DldleD-3.js → UiLoading.vue_vue_type_script_setup_true_lang-rNvtzKbq.js} +42 -42
- package/dist/{UiLoading.vue_vue_type_script_setup_true_lang-DldleD-3.js.map → UiLoading.vue_vue_type_script_setup_true_lang-rNvtzKbq.js.map} +1 -1
- package/dist/{UiMenu.vue_vue_type_script_setup_true_lang-aJddpshR.js → UiMenu.vue_vue_type_script_setup_true_lang-bQdfCzk6.js} +74 -74
- package/dist/{UiMenu.vue_vue_type_script_setup_true_lang-aJddpshR.js.map → UiMenu.vue_vue_type_script_setup_true_lang-bQdfCzk6.js.map} +1 -1
- package/dist/{UiModal.vue_vue_type_script_setup_true_lang-CFgLuifQ.js → UiModal.vue_vue_type_script_setup_true_lang-CpwFUDVU.js} +9 -10
- package/dist/{UiModal.vue_vue_type_script_setup_true_lang-CFgLuifQ.js.map → UiModal.vue_vue_type_script_setup_true_lang-CpwFUDVU.js.map} +1 -1
- package/dist/{UiNavLink.vue_vue_type_script_setup_true_lang-C23h6Do0.js → UiNavLink.vue_vue_type_script_setup_true_lang-DnWMn40M.js} +2 -2
- package/dist/{UiNavLink.vue_vue_type_script_setup_true_lang-C23h6Do0.js.map → UiNavLink.vue_vue_type_script_setup_true_lang-DnWMn40M.js.map} +1 -1
- package/dist/{UiProgressBar.vue_vue_type_script_setup_true_lang-BioTMORv.js → UiProgressBar.vue_vue_type_script_setup_true_lang-BCh4orZW.js} +24 -24
- package/dist/{UiProgressBar.vue_vue_type_script_setup_true_lang-BioTMORv.js.map → UiProgressBar.vue_vue_type_script_setup_true_lang-BCh4orZW.js.map} +1 -1
- package/dist/{UiTable.vue_vue_type_script_setup_true_lang-BuOCaPzi.js → UiTable.vue_vue_type_script_setup_true_lang-xGAiJ9rS.js} +80 -83
- package/dist/UiTable.vue_vue_type_script_setup_true_lang-xGAiJ9rS.js.map +1 -0
- package/dist/{UiTransition.vue_vue_type_script_setup_true_lang-DwBTj18t.js → UiTransition.vue_vue_type_script_setup_true_lang-C4jb9I-3.js} +15 -15
- package/dist/{UiTransition.vue_vue_type_script_setup_true_lang-DwBTj18t.js.map → UiTransition.vue_vue_type_script_setup_true_lang-C4jb9I-3.js.map} +1 -1
- package/dist/{YearCalendar.vue_vue_type_script_setup_true_lang-C01PTLg8.js → YearCalendar.vue_vue_type_script_setup_true_lang-CfKSpLLN.js} +15 -15
- package/dist/{YearCalendar.vue_vue_type_script_setup_true_lang-C01PTLg8.js.map → YearCalendar.vue_vue_type_script_setup_true_lang-CfKSpLLN.js.map} +1 -1
- package/dist/{calendar-DyIP7WGv.js → calendar-BlSSD4nO.js} +2 -2
- package/dist/calendar-BlSSD4nO.js.map +1 -0
- package/dist/calendars/CalendarDashboard.d.ts +1 -3
- package/dist/calendars/CalendarDashboard.js +32 -33
- package/dist/calendars/CalendarDashboard.js.map +1 -1
- package/dist/calendars/CalendarHeader.d.ts +1 -3
- package/dist/calendars/CalendarHeader.js +1 -1
- package/dist/calendars/DayCalendar.d.ts +1 -3
- package/dist/calendars/DayCalendar.js +1 -1
- package/dist/calendars/EventCard.d.ts +1 -3
- package/dist/calendars/EventsList.d.ts +1 -3
- package/dist/calendars/EventsList.js +1 -1
- package/dist/calendars/MonthCalendar.d.ts +1 -3
- package/dist/calendars/MonthCalendar.js +1 -1
- package/dist/calendars/WeekCalendar.d.ts +1 -3
- package/dist/calendars/WeekCalendar.js +118 -118
- package/dist/calendars/WeekCalendar.js.map +1 -1
- package/dist/calendars/YearCalendar.d.ts +1 -3
- package/dist/calendars/YearCalendar.js +1 -1
- package/dist/charts/BarChart.d.ts +1 -3
- package/dist/charts/BarChart.js +1 -1
- package/dist/charts/BaseChart.d.ts +1 -3
- package/dist/charts/BaseChart.js +54 -54
- package/dist/charts/BaseChart.js.map +1 -1
- package/dist/charts/FunnelChart.d.ts +1 -3
- package/dist/charts/FunnelChart.js +1 -1
- package/dist/charts/LineChart.d.ts +1 -3
- package/dist/charts/LineChart.js +1 -1
- package/dist/charts/PieChart.d.ts +1 -3
- package/dist/charts/PieChart.js +1 -1
- package/dist/charts/SparklineChart.d.ts +1 -3
- package/dist/charts/SparklineChart.js +1 -1
- package/dist/charts/StatCard.d.ts +1 -3
- package/dist/charts/StatCard.js +1 -1
- package/dist/charts/chartTheme.d.ts +3 -0
- package/dist/charts/index.d.ts +1 -0
- package/dist/charts/index.js +6 -6
- package/dist/components/Avatar.d.ts +1 -3
- package/dist/components/Avatar.js +1 -1
- package/dist/components/Badge.d.ts +1 -3
- package/dist/components/Badge.js +1 -1
- package/dist/components/Banner.d.ts +1 -3
- package/dist/components/Banner.js +69 -69
- package/dist/components/Banner.js.map +1 -1
- package/dist/components/Breadcrumb.d.ts +1 -3
- package/dist/components/Breadcrumb.js +5 -5
- package/dist/components/Breadcrumb.js.map +1 -1
- package/dist/components/Button.d.ts +1 -3
- package/dist/components/Button.js +29 -29
- package/dist/components/Button.js.map +1 -1
- package/dist/components/ButtonGroup.d.ts +1 -3
- package/dist/components/ButtonGroup.js +1 -1
- package/dist/components/Checkbox.d.ts +1 -3
- package/dist/components/Checkbox.js +1 -1
- package/dist/components/CloudinaryImage.d.ts +1 -3
- package/dist/components/Loading.d.ts +1 -3
- package/dist/components/Loading.js +1 -1
- package/dist/components/LoadingDots.d.ts +1 -3
- package/dist/components/LottieAnimation.d.ts +1 -3
- package/dist/components/LottieAnimation.js +1 -1
- package/dist/components/Menu.d.ts +1 -3
- package/dist/components/Menu.js +1 -1
- package/dist/components/Modal.d.ts +1 -3
- package/dist/components/Modal.js +1 -1
- package/dist/components/NavLink.d.ts +1 -3
- package/dist/components/NavLink.js +1 -1
- package/dist/components/ProgressBar.d.ts +1 -3
- package/dist/components/ProgressBar.js +1 -1
- package/dist/components/RadialProgressBar.d.ts +1 -3
- package/dist/components/RadialProgressBar.js +1 -1
- package/dist/components/Table.d.ts +1 -3
- package/dist/components/Table.js +1 -1
- package/dist/components/Transition.d.ts +1 -3
- package/dist/components/Transition.js +1 -1
- package/dist/composables/index.d.ts +1 -0
- package/dist/composables/useCalendar.d.ts +3 -0
- package/dist/composables/useCalendar.js +1 -1
- package/dist/composables/useFormValidation.d.ts +3 -0
- package/dist/composables/useMap.d.ts +3 -0
- package/dist/composables/useModal.d.ts +3 -0
- package/dist/composables/useNotifications.d.ts +3 -0
- package/dist/composables/useNotifications.js +221 -58
- package/dist/composables/useNotifications.js.map +1 -1
- package/dist/composables/useTabs.d.ts +1 -0
- package/dist/composables/useTheme.d.ts +3 -0
- package/dist/{dialog-B2WA4G25.js → dialog-BJ2Ld8l3.js} +2 -2
- package/dist/{dialog-B2WA4G25.js.map → dialog-BJ2Ld8l3.js.map} +1 -1
- package/dist/empty-state/ComingSoon.d.ts +1 -3
- package/dist/empty-state/ComingSoon.js +1 -1
- package/dist/empty-state/EmptyState.d.ts +1 -3
- package/dist/empty-state/EmptyState.js +1 -1
- package/dist/empty-state/index.d.ts +1 -0
- package/dist/empty-state/index.js +2 -2
- package/dist/forms/DynamicForm.d.ts +1 -3
- package/dist/forms/DynamicForm.js +1 -1
- package/dist/forms/DynamicFormField.d.ts +1 -3
- package/dist/forms/DynamicFormField.js +1 -1
- package/dist/forms/FormFieldWrapper.d.ts +1 -3
- package/dist/forms/FormFieldWrapper.js +56 -56
- package/dist/forms/FormFieldWrapper.js.map +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.js +505 -511
- package/dist/index.js.map +1 -1
- package/dist/inputs/AddDeleteButtonGroup.d.ts +1 -3
- package/dist/inputs/CheckboxInput.d.ts +1 -3
- package/dist/inputs/CheckboxInput.js +1 -1
- package/dist/inputs/ComboboxInput.d.ts +1 -3
- package/dist/inputs/ComboboxInput.js +1 -1
- package/dist/inputs/DatepickerInput.d.ts +1 -3
- package/dist/inputs/EmailInput.d.ts +1 -3
- package/dist/inputs/EmailInput.js +1 -1
- package/dist/inputs/EmptyInput.d.ts +1 -3
- package/dist/inputs/EmptyInput.js +1 -1
- package/dist/inputs/FileDropzoneInput.d.ts +1 -3
- package/dist/inputs/HiddenInput.d.ts +1 -3
- package/dist/inputs/HiddenInput.js +1 -1
- package/dist/inputs/PhoneInput.d.ts +1 -3
- package/dist/inputs/PhoneInput.js +33 -23
- package/dist/inputs/PhoneInput.js.map +1 -1
- package/dist/inputs/RichTextInput.d.ts +1 -3
- package/dist/inputs/RichTextInput.js +693 -693
- package/dist/inputs/RichTextInput.js.map +1 -1
- package/dist/inputs/SelectInput.d.ts +1 -3
- package/dist/inputs/SelectInput.js +1 -1
- package/dist/inputs/SelectTextInput.d.ts +1 -3
- package/dist/inputs/SelectTextInput.js +1 -1
- package/dist/inputs/SwitchInput.d.ts +1 -3
- package/dist/inputs/SwitchInput.js +1 -1
- package/dist/inputs/SwitchInputGroup.d.ts +1 -3
- package/dist/inputs/SwitchInputGroup.js +1 -1
- package/dist/inputs/TagifyInput.d.ts +1 -3
- package/dist/inputs/TagifyInput.js +1 -1
- package/dist/inputs/TextAreaInput.d.ts +1 -3
- package/dist/inputs/TextAreaInput.js +1 -1
- package/dist/inputs/TextInput.d.ts +1 -3
- package/dist/inputs/TextInput.js +43 -43
- package/dist/inputs/TextInput.js.map +1 -1
- package/dist/layouts/DashboardLayout.d.ts +1 -3
- package/dist/layouts/DashboardLayout.js +1 -1
- package/dist/layouts/DefaultLayout.d.ts +1 -3
- package/dist/layouts/HeaderLayout.d.ts +1 -3
- package/dist/layouts/NavigationGroup.d.ts +1 -3
- package/dist/layouts/NavigationGroup.js +1 -1
- package/dist/layouts/NavigationItem.d.ts +1 -3
- package/dist/layouts/NavigationItem.js +1 -1
- package/dist/layouts/ProfileHeaderAvatar.d.ts +1 -3
- package/dist/layouts/ProfileHeaderAvatar.js +1 -1
- package/dist/layouts/ProjectLogo.d.ts +1 -3
- package/dist/layouts/ProjectLogo.js +1 -1
- package/dist/layouts/SidebarLayout.d.ts +1 -3
- package/dist/layouts/SidebarLayout.js +1 -1
- package/dist/{listbox-p2_4hUSD.js → listbox-YaWWZiiG.js} +2 -2
- package/dist/{listbox-p2_4hUSD.js.map → listbox-YaWWZiiG.js.map} +1 -1
- package/dist/loading/ContentSkeleton.d.ts +1 -3
- package/dist/loading/ContentSkeleton.js +32 -32
- package/dist/loading/ContentSkeleton.js.map +1 -1
- package/dist/loading/SmartLoadingIndicator.d.ts +1 -3
- package/dist/loading/SmartLoadingIndicator.js +92 -92
- package/dist/loading/SmartLoadingIndicator.js.map +1 -1
- package/dist/loading/index.d.ts +1 -0
- package/dist/maps/GoogleMap.d.ts +1 -3
- package/dist/maps/GoogleMap.js +2 -2
- package/dist/maps/GoogleMap.js.map +1 -1
- package/dist/maps/UiInfoWindow.d.ts +1 -3
- package/dist/maps/UiMap.d.ts +1 -3
- package/dist/maps/UiMap.js +18 -15
- package/dist/maps/UiMap.js.map +1 -1
- package/dist/maps/UiMapAll.d.ts +1 -3
- package/dist/maps/UiMapMarker.d.ts +1 -3
- package/dist/maps/index.d.ts +1 -0
- package/dist/modals/AlertModal.d.ts +1 -3
- package/dist/modals/AlertModal.js +1 -1
- package/dist/modals/BaseModal.d.ts +1 -3
- package/dist/modals/BaseModal.js +1 -1
- package/dist/modals/ImageCropperModal.d.ts +1 -3
- package/dist/modals/ImageCropperModal.js +182 -185
- package/dist/modals/ImageCropperModal.js.map +1 -1
- package/dist/notifications/NotificationContainer.d.ts +1 -3
- package/dist/notifications/NotificationContainer.js +30 -16
- package/dist/notifications/NotificationContainer.js.map +1 -1
- package/dist/notifications/NotificationToast.d.ts +1 -3
- package/dist/notifications/NotificationToast.js +1 -1
- package/dist/notifications/index.d.ts +1 -0
- package/dist/notifications/index.js +1 -1
- package/dist/src/components/CloudinaryImage.d.ts +7 -8
- package/dist/src/components/CloudinaryImage.d.ts.map +1 -1
- package/dist/src/components/LottieAnimation.d.ts +6 -37
- package/dist/src/components/LottieAnimation.d.ts.map +1 -1
- package/dist/src/components/ThemeDebugModal.d.ts +6 -16
- package/dist/src/components/ThemeDebugModal.d.ts.map +1 -1
- package/dist/src/components/UiAvatar.d.ts +26 -36
- package/dist/src/components/UiAvatar.d.ts.map +1 -1
- package/dist/src/components/UiBadge.d.ts +6 -33
- package/dist/src/components/UiBadge.d.ts.map +1 -1
- package/dist/src/components/UiBanner.d.ts +34 -107
- package/dist/src/components/UiBanner.d.ts.map +1 -1
- package/dist/src/components/UiBreadcrumb.d.ts +10 -11
- package/dist/src/components/UiBreadcrumb.d.ts.map +1 -1
- package/dist/src/components/UiButton.d.ts +13 -66
- package/dist/src/components/UiButton.d.ts.map +1 -1
- package/dist/src/components/UiButtonGroup.d.ts +7 -37
- package/dist/src/components/UiButtonGroup.d.ts.map +1 -1
- package/dist/src/components/UiCheckbox.d.ts +8 -33
- package/dist/src/components/UiCheckbox.d.ts.map +1 -1
- package/dist/src/components/UiLoading.d.ts +2 -28
- package/dist/src/components/UiLoading.d.ts.map +1 -1
- package/dist/src/components/UiLoadingDots.d.ts +1 -1
- package/dist/src/components/UiLoadingDots.d.ts.map +1 -1
- package/dist/src/components/UiMenu.d.ts +4 -32
- package/dist/src/components/UiMenu.d.ts.map +1 -1
- package/dist/src/components/UiModal.d.ts +3 -2
- package/dist/src/components/UiModal.d.ts.map +1 -1
- package/dist/src/components/UiNavLink.d.ts +6 -40
- package/dist/src/components/UiNavLink.d.ts.map +1 -1
- package/dist/src/components/UiProgressBar.d.ts +3 -32
- package/dist/src/components/UiProgressBar.d.ts.map +1 -1
- package/dist/src/components/UiRadialProgressBar.d.ts +3 -34
- package/dist/src/components/UiRadialProgressBar.d.ts.map +1 -1
- package/dist/src/components/UiTable.d.ts +25 -67
- package/dist/src/components/UiTable.d.ts.map +1 -1
- package/dist/src/components/UiTransition.d.ts +3 -26
- package/dist/src/components/UiTransition.d.ts.map +1 -1
- package/dist/src/components/calendars/CalendarDashboard.d.ts +5 -17
- package/dist/src/components/calendars/CalendarDashboard.d.ts.map +1 -1
- package/dist/src/components/calendars/CalendarHeader.d.ts +8 -7
- package/dist/src/components/calendars/CalendarHeader.d.ts.map +1 -1
- package/dist/src/components/calendars/DayCalendar.d.ts +11 -17
- package/dist/src/components/calendars/DayCalendar.d.ts.map +1 -1
- package/dist/src/components/calendars/EventCard.d.ts +1 -2
- package/dist/src/components/calendars/EventCard.d.ts.map +1 -1
- package/dist/src/components/calendars/EventsList.d.ts +6 -18
- package/dist/src/components/calendars/EventsList.d.ts.map +1 -1
- package/dist/src/components/calendars/MonthCalendar.d.ts +6 -30
- package/dist/src/components/calendars/MonthCalendar.d.ts.map +1 -1
- package/dist/src/components/calendars/WeekCalendar.d.ts +10 -16
- package/dist/src/components/calendars/WeekCalendar.d.ts.map +1 -1
- package/dist/src/components/calendars/YearCalendar.d.ts +5 -29
- package/dist/src/components/calendars/YearCalendar.d.ts.map +1 -1
- package/dist/src/components/charts/BarChart.d.ts +6 -39
- package/dist/src/components/charts/BarChart.d.ts.map +1 -1
- package/dist/src/components/charts/FunnelChart.d.ts +5 -34
- package/dist/src/components/charts/FunnelChart.d.ts.map +1 -1
- package/dist/src/components/charts/LineChart.d.ts +6 -37
- package/dist/src/components/charts/LineChart.d.ts.map +1 -1
- package/dist/src/components/charts/PieChart.d.ts +6 -37
- package/dist/src/components/charts/PieChart.d.ts.map +1 -1
- package/dist/src/components/charts/SparklineChart.d.ts +3 -32
- package/dist/src/components/charts/SparklineChart.d.ts.map +1 -1
- package/dist/src/components/charts/StatCard.d.ts +2 -24
- package/dist/src/components/charts/StatCard.d.ts.map +1 -1
- package/dist/src/components/charts/chartTheme.d.ts +0 -1
- package/dist/src/components/empty-state/ComingSoon.d.ts +2 -29
- package/dist/src/components/empty-state/ComingSoon.d.ts.map +1 -1
- package/dist/src/components/empty-state/EmptyState.d.ts +4 -26
- package/dist/src/components/empty-state/EmptyState.d.ts.map +1 -1
- package/dist/src/components/forms/DynamicForm.d.ts +21 -47
- package/dist/src/components/forms/DynamicForm.d.ts.map +1 -1
- package/dist/src/components/forms/DynamicFormField.d.ts +8 -18
- package/dist/src/components/forms/DynamicFormField.d.ts.map +1 -1
- package/dist/src/components/forms/FormFieldWrapper.d.ts +14 -58
- package/dist/src/components/forms/FormFieldWrapper.d.ts.map +1 -1
- package/dist/src/components/inputs/AddDeleteButtonGroup.d.ts +3 -4
- package/dist/src/components/inputs/AddDeleteButtonGroup.d.ts.map +1 -1
- package/dist/src/components/inputs/CheckboxInput.d.ts +10 -37
- package/dist/src/components/inputs/CheckboxInput.d.ts.map +1 -1
- package/dist/src/components/inputs/ComboboxInput.d.ts +13 -48
- package/dist/src/components/inputs/ComboboxInput.d.ts.map +1 -1
- package/dist/src/components/inputs/DatepickerInput.d.ts +1045 -42
- package/dist/src/components/inputs/DatepickerInput.d.ts.map +1 -1
- package/dist/src/components/inputs/EmailInput.d.ts +10 -54
- package/dist/src/components/inputs/EmailInput.d.ts.map +1 -1
- package/dist/src/components/inputs/EmptyInput.d.ts +2 -26
- package/dist/src/components/inputs/EmptyInput.d.ts.map +1 -1
- package/dist/src/components/inputs/FileDropzoneInput.d.ts +8 -7
- package/dist/src/components/inputs/FileDropzoneInput.d.ts.map +1 -1
- package/dist/src/components/inputs/HiddenInput.d.ts +2 -23
- package/dist/src/components/inputs/HiddenInput.d.ts.map +1 -1
- package/dist/src/components/inputs/InputsShowcase.d.ts +1 -1
- package/dist/src/components/inputs/InputsShowcase.d.ts.map +1 -1
- package/dist/src/components/inputs/PhoneInput.d.ts +79 -16
- package/dist/src/components/inputs/PhoneInput.d.ts.map +1 -1
- package/dist/src/components/inputs/RichTextInput.d.ts +22 -80
- package/dist/src/components/inputs/RichTextInput.d.ts.map +1 -1
- package/dist/src/components/inputs/SelectInput.d.ts +49 -42
- package/dist/src/components/inputs/SelectInput.d.ts.map +1 -1
- package/dist/src/components/inputs/SelectTextInput.d.ts +52 -12
- package/dist/src/components/inputs/SelectTextInput.d.ts.map +1 -1
- package/dist/src/components/inputs/SwitchInput.d.ts +115 -42
- package/dist/src/components/inputs/SwitchInput.d.ts.map +1 -1
- package/dist/src/components/inputs/SwitchInputGroup.d.ts +2 -3
- package/dist/src/components/inputs/SwitchInputGroup.d.ts.map +1 -1
- package/dist/src/components/inputs/TagifyInput.d.ts +30 -20
- package/dist/src/components/inputs/TagifyInput.d.ts.map +1 -1
- package/dist/src/components/inputs/TextAreaInput.d.ts +9 -35
- package/dist/src/components/inputs/TextAreaInput.d.ts.map +1 -1
- package/dist/src/components/inputs/TextInput.d.ts +13 -73
- package/dist/src/components/inputs/TextInput.d.ts.map +1 -1
- package/dist/src/components/layouts/CardLayout.d.ts +20 -66
- package/dist/src/components/layouts/CardLayout.d.ts.map +1 -1
- package/dist/src/components/layouts/DashboardLayout.d.ts +8 -5
- package/dist/src/components/layouts/DashboardLayout.d.ts.map +1 -1
- package/dist/src/components/layouts/DefaultLayout.d.ts +1 -1
- package/dist/src/components/layouts/DefaultLayout.d.ts.map +1 -1
- package/dist/src/components/layouts/HeaderLayout.d.ts +4 -4
- package/dist/src/components/layouts/HeaderLayout.d.ts.map +1 -1
- package/dist/src/components/layouts/InfoCard.d.ts +2 -25
- package/dist/src/components/layouts/InfoCard.d.ts.map +1 -1
- package/dist/src/components/layouts/NavigationGroup.d.ts +5 -16
- package/dist/src/components/layouts/NavigationGroup.d.ts.map +1 -1
- package/dist/src/components/layouts/NavigationItem.d.ts +7 -24
- package/dist/src/components/layouts/NavigationItem.d.ts.map +1 -1
- package/dist/src/components/layouts/ProfileHeaderAvatar.d.ts +10 -40
- package/dist/src/components/layouts/ProfileHeaderAvatar.d.ts.map +1 -1
- package/dist/src/components/layouts/ProjectLogo.d.ts +2 -33
- package/dist/src/components/layouts/ProjectLogo.d.ts.map +1 -1
- package/dist/src/components/layouts/PropsTable.d.ts +2 -23
- package/dist/src/components/layouts/PropsTable.d.ts.map +1 -1
- package/dist/src/components/layouts/ShowcaseCard.d.ts +2 -29
- package/dist/src/components/layouts/ShowcaseCard.d.ts.map +1 -1
- package/dist/src/components/layouts/ShowcaseLayout.d.ts +5 -28
- package/dist/src/components/layouts/ShowcaseLayout.d.ts.map +1 -1
- package/dist/src/components/layouts/SidebarLayout.d.ts +7 -4
- package/dist/src/components/layouts/SidebarLayout.d.ts.map +1 -1
- package/dist/src/components/layouts/StateDisplay.d.ts +2 -23
- package/dist/src/components/layouts/StateDisplay.d.ts.map +1 -1
- package/dist/src/components/loading/ContentSkeleton.d.ts +2 -31
- package/dist/src/components/loading/ContentSkeleton.d.ts.map +1 -1
- package/dist/src/components/loading/SmartLoadingIndicator.d.ts +6 -47
- package/dist/src/components/loading/SmartLoadingIndicator.d.ts.map +1 -1
- package/dist/src/components/maps/GoogleMap.d.ts +7 -8
- package/dist/src/components/maps/GoogleMap.d.ts.map +1 -1
- package/dist/src/components/maps/UiInfoWindow.d.ts +229 -14
- package/dist/src/components/maps/UiInfoWindow.d.ts.map +1 -1
- package/dist/src/components/maps/UiMap.d.ts +5091 -101
- package/dist/src/components/maps/UiMap.d.ts.map +1 -1
- package/dist/src/components/maps/UiMapAll.d.ts +1130 -20
- package/dist/src/components/maps/UiMapAll.d.ts.map +1 -1
- package/dist/src/components/maps/UiMapMarker.d.ts +16 -17
- package/dist/src/components/maps/UiMapMarker.d.ts.map +1 -1
- package/dist/src/components/modals/AlertModal.d.ts +9 -10
- package/dist/src/components/modals/AlertModal.d.ts.map +1 -1
- package/dist/src/components/modals/BaseModal.d.ts +6 -7
- package/dist/src/components/modals/BaseModal.d.ts.map +1 -1
- package/dist/src/components/modals/ImageCropperModal.d.ts +379 -75
- package/dist/src/components/modals/ImageCropperModal.d.ts.map +1 -1
- package/dist/src/components/notifications/NotificationContainer.d.ts.map +1 -1
- package/dist/src/components/notifications/NotificationToast.d.ts +9 -18
- package/dist/src/components/notifications/NotificationToast.d.ts.map +1 -1
- package/dist/src/components/stepper/StepperPanels.d.ts +4 -14
- package/dist/src/components/stepper/StepperPanels.d.ts.map +1 -1
- package/dist/src/components/tabs/InlineTabs.d.ts +4 -28
- package/dist/src/components/tabs/InlineTabs.d.ts.map +1 -1
- package/dist/src/components/tabs/TabGroup.d.ts +6 -32
- package/dist/src/components/tabs/TabGroup.d.ts.map +1 -1
- package/dist/src/components/tabs/TabGroupUnderline.d.ts +6 -32
- package/dist/src/components/tabs/TabGroupUnderline.d.ts.map +1 -1
- package/dist/src/components/tabs/TabsInPills.d.ts +4 -26
- package/dist/src/components/tabs/TabsInPills.d.ts.map +1 -1
- package/dist/src/components/wrappers/BackgroundGradientWrapper.d.ts +2 -37
- package/dist/src/components/wrappers/BackgroundGradientWrapper.d.ts.map +1 -1
- package/dist/src/components/wrappers/CardWrapper.d.ts +1 -1
- package/dist/src/components/wrappers/CardWrapper.d.ts.map +1 -1
- package/dist/src/components/wrappers/DisclosureWrapper.d.ts +2 -23
- package/dist/src/components/wrappers/DisclosureWrapper.d.ts.map +1 -1
- package/dist/src/components/wrappers/FormErrorWrapper.d.ts +2 -25
- package/dist/src/components/wrappers/FormErrorWrapper.d.ts.map +1 -1
- package/dist/src/composables/useCalendar.d.ts +4 -5
- package/dist/src/composables/useFormValidation.d.ts +0 -1
- package/dist/src/composables/useMap.d.ts +0 -1
- package/dist/src/composables/useNotifications.d.ts +1308 -30
- package/dist/src/composables/useNotifications.d.ts.map +1 -1
- package/dist/src/composables/useSimpleTabs.d.ts +0 -1
- package/dist/src/composables/useStringTransform.d.ts +0 -1
- package/dist/src/composables/useTabs.d.ts +0 -1
- package/dist/src/config/css-variables.d.ts +0 -1
- package/dist/src/config/design-tokens.d.ts +1 -1
- package/dist/src/config/design-tokens.d.ts.map +1 -1
- package/dist/src/dev.d.ts +0 -1
- package/dist/src/plugin/configure.d.ts +0 -1
- package/dist/src/types/calendars.d.ts +12 -11
- package/dist/src/types/calendars.d.ts.map +1 -1
- package/dist/src/types/core.d.ts +3 -4
- package/dist/src/types/core.d.ts.map +1 -1
- package/dist/src/types/form.d.ts +15 -13
- package/dist/src/types/form.d.ts.map +1 -1
- package/dist/src/types/forms.d.ts +2 -1
- package/dist/src/types/forms.d.ts.map +1 -1
- package/dist/src/types/inputs.d.ts +14 -9
- package/dist/src/types/inputs.d.ts.map +1 -1
- package/dist/src/types/layouts.d.ts +0 -1
- package/dist/src/types/navigation.d.ts +2 -1
- package/dist/src/types/navigation.d.ts.map +1 -1
- package/dist/src/types/tables.d.ts +8 -6
- package/dist/src/types/tables.d.ts.map +1 -1
- package/dist/src/types/ui.d.ts +1 -2
- package/dist/src/types/ui.d.ts.map +1 -1
- package/dist/src/utils/calendar.d.ts +1 -1
- package/dist/src/utils/calendar.d.ts.map +1 -1
- package/dist/src/utils/component-registry.d.ts +0 -1
- package/dist/src/utils/mapThemes.d.ts +0 -1
- package/dist/src/utils/phone.d.ts +0 -1
- package/dist/src/views/ButtonsShowcase.d.ts +3 -0
- package/dist/src/views/ButtonsShowcase.d.ts.map +1 -0
- package/dist/src/views/CalendarsShowcase.d.ts +3 -0
- package/dist/src/views/CalendarsShowcase.d.ts.map +1 -0
- package/dist/src/views/CardsShowcase.d.ts +3 -0
- package/dist/src/views/CardsShowcase.d.ts.map +1 -0
- package/dist/src/views/ChartsShowcase.d.ts +3 -0
- package/dist/src/views/ChartsShowcase.d.ts.map +1 -0
- package/dist/src/views/EmptyStatesShowcase.d.ts +3 -0
- package/dist/src/views/EmptyStatesShowcase.d.ts.map +1 -0
- package/dist/src/views/InputsShowcase.d.ts +3 -0
- package/dist/src/views/InputsShowcase.d.ts.map +1 -0
- package/dist/src/views/KitchenSink.d.ts +3 -0
- package/dist/src/views/KitchenSink.d.ts.map +1 -0
- package/dist/src/views/LayoutsShowcase.d.ts +3 -0
- package/dist/src/views/LayoutsShowcase.d.ts.map +1 -0
- package/dist/src/views/LoadingShowcase.d.ts +3 -0
- package/dist/src/views/LoadingShowcase.d.ts.map +1 -0
- package/dist/src/views/MapsShowcase.d.ts +3 -0
- package/dist/src/views/MapsShowcase.d.ts.map +1 -0
- package/dist/src/views/ModalsShowcase.d.ts +3 -0
- package/dist/src/views/ModalsShowcase.d.ts.map +1 -0
- package/dist/src/views/NotificationsShowcase.d.ts +3 -0
- package/dist/src/views/NotificationsShowcase.d.ts.map +1 -0
- package/dist/src/views/StepperShowcase.d.ts +3 -0
- package/dist/src/views/StepperShowcase.d.ts.map +1 -0
- package/dist/src/views/TabsShowcase.d.ts +3 -0
- package/dist/src/views/TabsShowcase.d.ts.map +1 -0
- package/dist/src/views/ValidationDemo.d.ts +3 -0
- package/dist/src/views/ValidationDemo.d.ts.map +1 -0
- package/dist/src/views/WrappersShowcase.d.ts +3 -0
- package/dist/src/views/WrappersShowcase.d.ts.map +1 -0
- package/dist/src/views/components/AvatarPage.d.ts +3 -0
- package/dist/src/views/components/AvatarPage.d.ts.map +1 -0
- package/dist/src/views/components/BadgePage.d.ts +3 -0
- package/dist/src/views/components/BadgePage.d.ts.map +1 -0
- package/dist/src/views/components/BannerPage.d.ts +3 -0
- package/dist/src/views/components/BannerPage.d.ts.map +1 -0
- package/dist/src/views/components/BreadcrumbPage.d.ts +3 -0
- package/dist/src/views/components/BreadcrumbPage.d.ts.map +1 -0
- package/dist/src/views/components/ButtonPage.d.ts +3 -0
- package/dist/src/views/components/ButtonPage.d.ts.map +1 -0
- package/dist/src/views/components/CloudinaryImagePage.d.ts +3 -0
- package/dist/src/views/components/CloudinaryImagePage.d.ts.map +1 -0
- package/dist/src/views/components/LoadingPage.d.ts +3 -0
- package/dist/src/views/components/LoadingPage.d.ts.map +1 -0
- package/dist/src/views/components/MenuPage.d.ts +3 -0
- package/dist/src/views/components/MenuPage.d.ts.map +1 -0
- package/dist/src/views/components/ModalPage.d.ts +3 -0
- package/dist/src/views/components/ModalPage.d.ts.map +1 -0
- package/dist/src/views/components/ProgressPage.d.ts +3 -0
- package/dist/src/views/components/ProgressPage.d.ts.map +1 -0
- package/dist/src/views/components/RichTextInputPage.d.ts +3 -0
- package/dist/src/views/components/RichTextInputPage.d.ts.map +1 -0
- package/dist/src/views/components/TablePage.d.ts +3 -0
- package/dist/src/views/components/TablePage.d.ts.map +1 -0
- package/dist/src/views/components/TextInputPage.d.ts +3 -0
- package/dist/src/views/components/TextInputPage.d.ts.map +1 -0
- package/dist/src/views/components/TransitionPage.d.ts +3 -0
- package/dist/src/views/components/TransitionPage.d.ts.map +1 -0
- package/dist/src/views/examples/CheckoutFormExample.d.ts +3 -0
- package/dist/src/views/examples/CheckoutFormExample.d.ts.map +1 -0
- package/dist/src/views/examples/ContactFormExample.d.ts +3 -0
- package/dist/src/views/examples/ContactFormExample.d.ts.map +1 -0
- package/dist/src/views/examples/RegistrationFormExample.d.ts +3 -0
- package/dist/src/views/examples/RegistrationFormExample.d.ts.map +1 -0
- package/dist/src/views/examples/SettingsFormExample.d.ts +3 -0
- package/dist/src/views/examples/SettingsFormExample.d.ts.map +1 -0
- package/dist/src/views/forms/ValidationPage.d.ts +3 -0
- package/dist/src/views/forms/ValidationPage.d.ts.map +1 -0
- package/dist/src/views/inputs/CheckboxPage.d.ts +3 -0
- package/dist/src/views/inputs/CheckboxPage.d.ts.map +1 -0
- package/dist/src/views/inputs/ComboboxPage.d.ts +3 -0
- package/dist/src/views/inputs/ComboboxPage.d.ts.map +1 -0
- package/dist/src/views/inputs/DatepickerPage.d.ts +3 -0
- package/dist/src/views/inputs/DatepickerPage.d.ts.map +1 -0
- package/dist/src/views/inputs/EmailPage.d.ts +3 -0
- package/dist/src/views/inputs/EmailPage.d.ts.map +1 -0
- package/dist/src/views/inputs/FileDropzonePage.d.ts +3 -0
- package/dist/src/views/inputs/FileDropzonePage.d.ts.map +1 -0
- package/dist/src/views/inputs/MiscInputsPage.d.ts +3 -0
- package/dist/src/views/inputs/MiscInputsPage.d.ts.map +1 -0
- package/dist/src/views/inputs/PhonePage.d.ts +3 -0
- package/dist/src/views/inputs/PhonePage.d.ts.map +1 -0
- package/dist/src/views/inputs/SelectPage.d.ts +3 -0
- package/dist/src/views/inputs/SelectPage.d.ts.map +1 -0
- package/dist/src/views/inputs/SelectTextPage.d.ts +3 -0
- package/dist/src/views/inputs/SelectTextPage.d.ts.map +1 -0
- package/dist/src/views/inputs/SwitchGroupPage.d.ts +3 -0
- package/dist/src/views/inputs/SwitchGroupPage.d.ts.map +1 -0
- package/dist/src/views/inputs/SwitchPage.d.ts +3 -0
- package/dist/src/views/inputs/SwitchPage.d.ts.map +1 -0
- package/dist/src/views/inputs/TextAreaPage.d.ts +3 -0
- package/dist/src/views/inputs/TextAreaPage.d.ts.map +1 -0
- package/dist/src/views/layouts/CardLayoutPage.d.ts +3 -0
- package/dist/src/views/layouts/CardLayoutPage.d.ts.map +1 -0
- package/dist/src/views/layouts/DashboardLayoutPage.d.ts +3 -0
- package/dist/src/views/layouts/DashboardLayoutPage.d.ts.map +1 -0
- package/dist/src/views/layouts/HeaderLayoutPage.d.ts +3 -0
- package/dist/src/views/layouts/HeaderLayoutPage.d.ts.map +1 -0
- package/dist/src/views/layouts/SidebarLayoutPage.d.ts +3 -0
- package/dist/src/views/layouts/SidebarLayoutPage.d.ts.map +1 -0
- package/dist/stepper/StepperPanels.d.ts +1 -3
- package/dist/stepper/StepperPanels.js +1 -1
- package/dist/stepper/index.d.ts +1 -0
- package/dist/stepper/index.js +1 -1
- package/dist/style.css +1 -1
- package/dist/tabs/InlineTabs.d.ts +1 -3
- package/dist/tabs/InlineTabs.js +1 -1
- package/dist/tabs/TabGroup.d.ts +1 -3
- package/dist/tabs/TabGroup.js +1 -1
- package/dist/tabs/TabGroupUnderline.d.ts +1 -3
- package/dist/tabs/TabGroupUnderline.js +1 -1
- package/dist/tabs/TabsInPills.d.ts +1 -3
- package/dist/tabs/TabsInPills.js +1 -1
- package/dist/tabs/index.d.ts +1 -0
- package/dist/tabs/index.js +4 -4
- package/dist/{tabs-Da32Mbhf.js → tabs-J5phClGv.js} +2 -2
- package/dist/{tabs-Da32Mbhf.js.map → tabs-J5phClGv.js.map} +1 -1
- package/dist/ui.css +1 -0
- package/dist/{use-outside-click-DNDV36Sc.js → use-outside-click-14T0Zn98.js} +3 -3
- package/dist/{use-outside-click-DNDV36Sc.js.map → use-outside-click-14T0Zn98.js.map} +1 -1
- package/dist/{use-tree-walker-BHCORE7u.js → use-tree-walker-Bo9gIb_K.js} +2 -2
- package/dist/{use-tree-walker-BHCORE7u.js.map → use-tree-walker-Bo9gIb_K.js.map} +1 -1
- package/dist/vue-router-B3K2xmg_.js +120 -0
- package/dist/vue-router-B3K2xmg_.js.map +1 -0
- package/dist/vue3-lottie.es-DT4qZE-F.js +7981 -0
- package/dist/{vue3-lottie.es-C_MDkNwR.js.map → vue3-lottie.es-DT4qZE-F.js.map} +1 -1
- package/dist/wrappers/BackgroundGradientWrapper.d.ts +1 -3
- package/dist/wrappers/BackgroundGradientWrapper.js +1 -1
- package/dist/wrappers/CardWrapper.d.ts +1 -3
- package/dist/wrappers/DisclosureWrapper.d.ts +1 -3
- package/dist/wrappers/DisclosureWrapper.js +1 -1
- package/dist/wrappers/FormErrorWrapper.d.ts +1 -3
- package/dist/wrappers/index.d.ts +1 -0
- package/dist/wrappers/index.js +2 -2
- package/package.json +24 -16
- package/dist/CalendarHeader.vue_vue_type_script_setup_true_lang-DRwe4rw8.js.map +0 -1
- package/dist/CheckboxInput.vue_vue_type_script_setup_true_lang-B8wJVkPP.js +0 -187
- package/dist/ComboboxInput.vue_vue_type_script_setup_true_lang-ClGP5YU0.js +0 -1315
- package/dist/ComboboxInput.vue_vue_type_script_setup_true_lang-ClGP5YU0.js.map +0 -1
- package/dist/DynamicForm.vue_vue_type_script_setup_true_lang-DRDP86Yc.js +0 -253
- package/dist/DynamicForm.vue_vue_type_script_setup_true_lang-DRDP86Yc.js.map +0 -1
- package/dist/DynamicFormField.vue_vue_type_script_setup_true_lang-Ct8b80dM.js.map +0 -1
- package/dist/EmailInput.vue_vue_type_script_setup_true_lang-Dhfgs2Jn.js +0 -122
- package/dist/LottieAnimation.vue_vue_type_script_setup_true_lang-CwOOShcM.js +0 -36
- package/dist/NavigationGroup.vue_vue_type_script_setup_true_lang-2tAB9Hbx.js +0 -30
- package/dist/NotificationToast.vue_vue_type_script_setup_true_lang-Cm5RsC7C.js +0 -162
- package/dist/NotificationToast.vue_vue_type_script_setup_true_lang-Cm5RsC7C.js.map +0 -1
- package/dist/ProfileHeaderAvatar.vue_vue_type_script_setup_true_lang-Cri9BiBy.js +0 -130
- package/dist/SelectInput.vue_vue_type_script_setup_true_lang--yUL7bcx.js.map +0 -1
- package/dist/TagifyInput.vue_vue_type_script_setup_true_lang-CAK6ZIiz.js.map +0 -1
- package/dist/UiAvatar.vue_vue_type_script_setup_true_lang-Ci7VLRZx.js.map +0 -1
- package/dist/UiTable.vue_vue_type_script_setup_true_lang-BuOCaPzi.js.map +0 -1
- package/dist/calendar-DyIP7WGv.js.map +0 -1
- package/dist/src/components/charts/BaseChart.d.ts +0 -81
- package/dist/src/components/charts/BaseChart.d.ts.map +0 -1
- package/dist/vue-router-BPbyZ7xA.js +0 -145
- package/dist/vue-router-BPbyZ7xA.js.map +0 -1
- package/dist/vue3-lottie.es-C_MDkNwR.js +0 -7976
|
@@ -3,7 +3,7 @@ import Yt from "../components/Button.js";
|
|
|
3
3
|
import { r as Re } from "../XMarkIcon-Cwy3T6p8.js";
|
|
4
4
|
import { a as Ae, r as Me } from "../PlusIcon-aDFVlB90.js";
|
|
5
5
|
import { S as Se, h as Xt } from "../transition-_rPfnoET.js";
|
|
6
|
-
import { Y as Ce, G as Ee, V as Te } from "../dialog-
|
|
6
|
+
import { Y as Ce, G as Ee, V as Te } from "../dialog-BJ2Ld8l3.js";
|
|
7
7
|
import { _ as We } from "../_plugin-vue_export-helper-CHgC5LLL.js";
|
|
8
8
|
function ke(t, e) {
|
|
9
9
|
return y(), Z("svg", {
|
|
@@ -128,20 +128,20 @@ function Ft(t, e) {
|
|
|
128
128
|
var i = Object.keys(t);
|
|
129
129
|
if (Object.getOwnPropertySymbols) {
|
|
130
130
|
var s = Object.getOwnPropertySymbols(t);
|
|
131
|
-
e && (s = s.filter(function(o) {
|
|
131
|
+
e && (s = s.filter((function(o) {
|
|
132
132
|
return Object.getOwnPropertyDescriptor(t, o).enumerable;
|
|
133
|
-
})), i.push.apply(i, s);
|
|
133
|
+
}))), i.push.apply(i, s);
|
|
134
134
|
}
|
|
135
135
|
return i;
|
|
136
136
|
}
|
|
137
137
|
function b(t) {
|
|
138
138
|
for (var e = 1; e < arguments.length; e++) {
|
|
139
139
|
var i = arguments[e] != null ? arguments[e] : {};
|
|
140
|
-
e % 2 ? Ft(Object(i), !0).forEach(function(s) {
|
|
140
|
+
e % 2 ? Ft(Object(i), !0).forEach((function(s) {
|
|
141
141
|
j(t, s, i[s]);
|
|
142
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(i)) : Ft(Object(i)).forEach(function(s) {
|
|
142
|
+
})) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(i)) : Ft(Object(i)).forEach((function(s) {
|
|
143
143
|
Object.defineProperty(t, s, Object.getOwnPropertyDescriptor(i, s));
|
|
144
|
-
});
|
|
144
|
+
}));
|
|
145
145
|
}
|
|
146
146
|
return t;
|
|
147
147
|
}
|
|
@@ -150,12 +150,12 @@ function j(t, e, i) {
|
|
|
150
150
|
}
|
|
151
151
|
function Pe(t, e) {
|
|
152
152
|
if (t == null) return {};
|
|
153
|
-
var i, s, o = function(a, h) {
|
|
153
|
+
var i, s, o = (function(a, h) {
|
|
154
154
|
if (a == null) return {};
|
|
155
155
|
var r, l, c = {}, u = Object.keys(a);
|
|
156
156
|
for (l = 0; l < u.length; l++) r = u[l], h.indexOf(r) >= 0 || (c[r] = a[r]);
|
|
157
157
|
return c;
|
|
158
|
-
}(t, e);
|
|
158
|
+
})(t, e);
|
|
159
159
|
if (Object.getOwnPropertySymbols) {
|
|
160
160
|
var n = Object.getOwnPropertySymbols(t);
|
|
161
161
|
for (s = 0; s < n.length; s++) i = n[s], e.indexOf(i) >= 0 || Object.prototype.propertyIsEnumerable.call(t, i) && (o[i] = t[i]);
|
|
@@ -163,21 +163,21 @@ function Pe(t, e) {
|
|
|
163
163
|
return o;
|
|
164
164
|
}
|
|
165
165
|
function V(t) {
|
|
166
|
-
return function(e) {
|
|
166
|
+
return (function(e) {
|
|
167
167
|
if (Array.isArray(e)) return vt(e);
|
|
168
|
-
}(t) || function(e) {
|
|
168
|
+
})(t) || (function(e) {
|
|
169
169
|
if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
|
|
170
|
-
}(t) || function(e, i) {
|
|
170
|
+
})(t) || (function(e, i) {
|
|
171
171
|
if (e) {
|
|
172
172
|
if (typeof e == "string") return vt(e, i);
|
|
173
173
|
var s = Object.prototype.toString.call(e).slice(8, -1);
|
|
174
174
|
if (s === "Object" && e.constructor && (s = e.constructor.name), s === "Map" || s === "Set") return Array.from(e);
|
|
175
175
|
if (s === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s)) return vt(e, i);
|
|
176
176
|
}
|
|
177
|
-
}(t) || function() {
|
|
177
|
+
})(t) || (function() {
|
|
178
178
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
179
179
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
180
|
-
}();
|
|
180
|
+
})();
|
|
181
181
|
}
|
|
182
182
|
function vt(t, e) {
|
|
183
183
|
(e == null || e > t.length) && (e = t.length);
|
|
@@ -212,19 +212,19 @@ var Ut, Be, nt, R = (Ut = function(t) {
|
|
|
212
212
|
t.exports ? (i.default = i, t.exports = i) : window.classNames = i;
|
|
213
213
|
})();
|
|
214
214
|
}, Ut(nt = { path: Be, exports: {}, require: function(t, e) {
|
|
215
|
-
return function() {
|
|
215
|
+
return (function() {
|
|
216
216
|
throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs");
|
|
217
|
-
}(e == null && nt.path);
|
|
217
|
+
})(e == null && nt.path);
|
|
218
218
|
} }, nt.exports), nt.exports), L = function(t) {
|
|
219
219
|
return function(e, i) {
|
|
220
220
|
if (!e) return t;
|
|
221
221
|
var s;
|
|
222
222
|
typeof e == "string" ? s = e : i = e;
|
|
223
223
|
var o = t;
|
|
224
|
-
return s && (o += "__" + s), o + (i ? Object.keys(i).reduce(function(n, a) {
|
|
224
|
+
return s && (o += "__" + s), o + (i ? Object.keys(i).reduce((function(n, a) {
|
|
225
225
|
var h = i[a];
|
|
226
226
|
return h && (n += " " + (typeof h == "boolean" ? o + "--" + a : o + "--" + a + "_" + h)), n;
|
|
227
|
-
}, "") : "");
|
|
227
|
+
}), "") : "");
|
|
228
228
|
};
|
|
229
229
|
};
|
|
230
230
|
function At(t, e, i) {
|
|
@@ -274,9 +274,9 @@ function se(t) {
|
|
|
274
274
|
return /^blob:/.test(t);
|
|
275
275
|
}
|
|
276
276
|
function Nt(t) {
|
|
277
|
-
return se(t) || function(e) {
|
|
277
|
+
return se(t) || (function(e) {
|
|
278
278
|
return /^data:/.test(e);
|
|
279
|
-
}(t);
|
|
279
|
+
})(t);
|
|
280
280
|
}
|
|
281
281
|
function G(t) {
|
|
282
282
|
return !!(t && t.constructor && t.call && t.apply);
|
|
@@ -289,18 +289,18 @@ function ht(t) {
|
|
|
289
289
|
}
|
|
290
290
|
function St(t, e, i) {
|
|
291
291
|
var s = {};
|
|
292
|
-
return ht(t) ? (Object.keys(e).forEach(function(o) {
|
|
292
|
+
return ht(t) ? (Object.keys(e).forEach((function(o) {
|
|
293
293
|
M(t[o]) ? s[o] = e[o] : ht(e[o]) ? ht(t[o]) ? s[o] = St(t[o], e[o], i[o]) : s[o] = t[o] ? e[o] : i[o] : e[o] === !0 || e[o] === !1 ? s[o] = !!t[o] : s[o] = t[o];
|
|
294
|
-
}), s) : t ? e : i;
|
|
294
|
+
})), s) : t ? e : i;
|
|
295
295
|
}
|
|
296
296
|
function st(t) {
|
|
297
297
|
var e = Number(t);
|
|
298
298
|
return Number.isNaN(e) ? t : e;
|
|
299
299
|
}
|
|
300
300
|
function Vt(t) {
|
|
301
|
-
return typeof (t == "number" || /* @__PURE__ */ function(e) {
|
|
301
|
+
return typeof (t == "number" || /* @__PURE__ */ (function(e) {
|
|
302
302
|
return typeof e == "object" && e !== null;
|
|
303
|
-
}(t) && toString.call(t) == "[object Number]") && !oe(t);
|
|
303
|
+
})(t) && toString.call(t) == "[object Number]") && !oe(t);
|
|
304
304
|
}
|
|
305
305
|
function oe(t) {
|
|
306
306
|
return t != t;
|
|
@@ -314,7 +314,7 @@ var tt = function(t, e) {
|
|
|
314
314
|
e === void 0 && (e = {}), this.type = "resize", this.directions = t, this.params = e;
|
|
315
315
|
}, Wt = function(t) {
|
|
316
316
|
this.type = "move", this.directions = t;
|
|
317
|
-
}, _e = function() {
|
|
317
|
+
}, _e = (function() {
|
|
318
318
|
function t(e, i, s, o, n) {
|
|
319
319
|
this.type = "drag", this.nativeEvent = e, this.position = s, this.previousPosition = o, this.element = i, this.anchor = n;
|
|
320
320
|
}
|
|
@@ -326,7 +326,7 @@ var tt = function(t, e) {
|
|
|
326
326
|
}
|
|
327
327
|
return { left: 0, top: 0 };
|
|
328
328
|
}, t;
|
|
329
|
-
}(), kt = { name: "DraggableElement", props: { classname: { type: String } }, beforeMount: function() {
|
|
329
|
+
})(), kt = { name: "DraggableElement", props: { classname: { type: String } }, beforeMount: function() {
|
|
330
330
|
window.addEventListener("mouseup", this.onMouseUp, { passive: !1 }), window.addEventListener("mousemove", this.onMouseMove, { passive: !1 }), window.addEventListener("touchmove", this.onTouchMove, { passive: !1 }), window.addEventListener("touchend", this.onTouchEnd, { passive: !1 });
|
|
331
331
|
}, beforeUnmount: function() {
|
|
332
332
|
window.removeEventListener("mouseup", this.onMouseUp), window.removeEventListener("mousemove", this.onMouseMove), window.removeEventListener("touchmove", this.onTouchMove), window.removeEventListener("touchend", this.onTouchEnd);
|
|
@@ -338,9 +338,9 @@ var tt = function(t, e) {
|
|
|
338
338
|
}, onMouseLeave: function() {
|
|
339
339
|
this.hovered && !this.touches.length && (this.hovered = !1, this.$emit("leave"));
|
|
340
340
|
}, onTouchStart: function(t) {
|
|
341
|
-
t.cancelable && !this.disabled && t.touches.length === 1 && (this.touches = V(t.touches), this.hovered || (this.$emit("enter"), this.hovered = !0), t.touches.length && this.initAnchor(this.touches.reduce(function(e, i) {
|
|
341
|
+
t.cancelable && !this.disabled && t.touches.length === 1 && (this.touches = V(t.touches), this.hovered || (this.$emit("enter"), this.hovered = !0), t.touches.length && this.initAnchor(this.touches.reduce((function(e, i) {
|
|
342
342
|
return { clientX: e.clientX + i.clientX / t.touches.length, clientY: e.clientY + i.clientY / t.touches.length };
|
|
343
|
-
}, { clientX: 0, clientY: 0 })), t.preventDefault && t.preventDefault(), t.stopPropagation());
|
|
343
|
+
}), { clientX: 0, clientY: 0 })), t.preventDefault && t.preventDefault(), t.stopPropagation());
|
|
344
344
|
}, onTouchEnd: function() {
|
|
345
345
|
this.processEnd();
|
|
346
346
|
}, onTouchMove: function(t) {
|
|
@@ -398,9 +398,9 @@ ae.render = function(t, e, i, s, o, n) {
|
|
|
398
398
|
return t.$emit("leave");
|
|
399
399
|
}), onEnter: e[4] || (e[4] = function(h) {
|
|
400
400
|
return t.$emit("enter");
|
|
401
|
-
}) }, { default: A(function() {
|
|
401
|
+
}) }, { default: A((function() {
|
|
402
402
|
return [q(t.$slots, "default")];
|
|
403
|
-
}), _: 3 }, 8, ["class"])], 2);
|
|
403
|
+
})), _: 3 }, 8, ["class"])], 2);
|
|
404
404
|
};
|
|
405
405
|
var Ye = L("vue-line-wrapper"), he = { name: "LineWrapper", components: { DraggableElement: kt }, props: { position: { type: String, required: !0 }, disabled: { type: Boolean, default: !1 } }, computed: { classname: function() {
|
|
406
406
|
var t;
|
|
@@ -416,15 +416,15 @@ he.render = function(t, e, i, s, o, n) {
|
|
|
416
416
|
return t.$emit("leave");
|
|
417
417
|
}), onEnter: e[4] || (e[4] = function(h) {
|
|
418
418
|
return t.$emit("enter");
|
|
419
|
-
}) }, { default: A(function() {
|
|
419
|
+
}) }, { default: A((function() {
|
|
420
420
|
return [q(t.$slots, "default")];
|
|
421
|
-
}), _: 3 }, 8, ["class"]);
|
|
421
|
+
})), _: 3 }, 8, ["class"]);
|
|
422
422
|
};
|
|
423
423
|
var B = ["left", "right", "top", "bottom"], Xe = ["left", "right"], Fe = ["top", "bottom"], Ue = ["left", "top"], Ne = ["fill-area", "fit-area", "stencil", "none"], Zt = { left: 0, top: 0, width: 0, height: 0 };
|
|
424
424
|
function qt(t, e, i) {
|
|
425
|
-
return !(i = i || ["width", "height", "left", "top"]).some(function(s) {
|
|
425
|
+
return !(i = i || ["width", "height", "left", "top"]).some((function(s) {
|
|
426
426
|
return t[s] !== e[s];
|
|
427
|
-
});
|
|
427
|
+
}));
|
|
428
428
|
}
|
|
429
429
|
function I(t) {
|
|
430
430
|
return { left: t.left, top: t.top, right: t.left + t.width, bottom: t.top + t.height };
|
|
@@ -437,10 +437,10 @@ function C(t) {
|
|
|
437
437
|
}
|
|
438
438
|
function et(t, e) {
|
|
439
439
|
var i = { left: 0, top: 0, right: 0, bottom: 0 };
|
|
440
|
-
return B.forEach(function(s) {
|
|
440
|
+
return B.forEach((function(s) {
|
|
441
441
|
var o = e[s], n = I(t)[s];
|
|
442
442
|
i[s] = o !== void 0 && n !== void 0 ? s === "left" || s === "top" ? Math.max(0, o - n) : Math.max(0, n - o) : 0;
|
|
443
|
-
}), i;
|
|
443
|
+
})), i;
|
|
444
444
|
}
|
|
445
445
|
function P(t, e) {
|
|
446
446
|
return { left: t.left - e.left, top: t.top - e.top, width: t.width + e.left + e.right, height: t.height + e.top + e.bottom };
|
|
@@ -505,10 +505,10 @@ function Ve(t, e) {
|
|
|
505
505
|
function ue(t, e, i) {
|
|
506
506
|
i === void 0 && (i = !0);
|
|
507
507
|
var s = {};
|
|
508
|
-
return B.forEach(function(o) {
|
|
508
|
+
return B.forEach((function(o) {
|
|
509
509
|
var n = t[o], a = e[o];
|
|
510
510
|
n !== void 0 && a !== void 0 ? s[o] = o === "left" || o === "top" ? i ? Math.max(n, a) : Math.min(n, a) : i ? Math.min(n, a) : Math.max(n, a) : a !== void 0 ? s[o] = a : n !== void 0 && (s[o] = n);
|
|
511
|
-
}), s;
|
|
511
|
+
})), s;
|
|
512
512
|
}
|
|
513
513
|
function dt(t, e) {
|
|
514
514
|
return ue(t, e, !0);
|
|
@@ -523,14 +523,14 @@ function Qt(t, e) {
|
|
|
523
523
|
function Y(t) {
|
|
524
524
|
var e = t.width, i = t.height, s = t.sizeRestrictions, o = { minimum: t.aspectRatio && t.aspectRatio.minimum || 0, maximum: t.aspectRatio && t.aspectRatio.maximum || 1 / 0 }, n = { width: Math.max(s.minWidth, Math.min(s.maxWidth, e)), height: Math.max(s.minHeight, Math.min(s.maxHeight, i)) };
|
|
525
525
|
function a(l, c) {
|
|
526
|
-
return c === void 0 && (c = !1), l.reduce(function(u, d) {
|
|
526
|
+
return c === void 0 && (c = !1), l.reduce((function(u, d) {
|
|
527
527
|
return Gt({ size: d, aspectRatio: o, sizeRestrictions: s, ignoreMinimum: c }) && (!u || Qt(d, { width: e, height: i }) < Qt(u, { width: e, height: i })) ? d : u;
|
|
528
|
-
}, null);
|
|
528
|
+
}), null);
|
|
529
529
|
}
|
|
530
530
|
var h = [];
|
|
531
|
-
o && [o.minimum, o.maximum].forEach(function(l) {
|
|
531
|
+
o && [o.minimum, o.maximum].forEach((function(l) {
|
|
532
532
|
l && h.push({ width: n.width, height: n.width / l, correctRatio: !0 }, { width: n.height * l, height: n.height, correctRatio: !0 });
|
|
533
|
-
}), Gt({ size: n, aspectRatio: o, sizeRestrictions: s }) && h.push(n);
|
|
533
|
+
})), Gt({ size: n, aspectRatio: o, sizeRestrictions: s }) && h.push(n);
|
|
534
534
|
var r = a(h) || a(h, !0);
|
|
535
535
|
return r && { width: r.width, height: r.height };
|
|
536
536
|
}
|
|
@@ -542,13 +542,13 @@ function Ze(t) {
|
|
|
542
542
|
var e = t.coordinates, i = t.transform, s = t.imageSize, o = t.sizeRestrictions, n = t.positionRestrictions, a = t.aspectRatio, h = t.visibleArea, r = function(c, u) {
|
|
543
543
|
return Et({ coordinates: c, positionRestrictions: n, event: new Wt({ left: u.left - c.left, top: u.top - c.top }) });
|
|
544
544
|
}, l = g({}, e);
|
|
545
|
-
return (Array.isArray(i) ? i : [i]).forEach(function(c) {
|
|
545
|
+
return (Array.isArray(i) ? i : [i]).forEach((function(c) {
|
|
546
546
|
var u = {};
|
|
547
|
-
M((u = typeof c == "function" ? c({ coordinates: l, imageSize: s, visibleArea: h }) : c).width) && M(u.height) || (l = function(d, m) {
|
|
547
|
+
M((u = typeof c == "function" ? c({ coordinates: l, imageSize: s, visibleArea: h }) : c).width) && M(u.height) || (l = (function(d, m) {
|
|
548
548
|
var p = g(g(g({}, d), Y({ width: m.width, height: m.height, sizeRestrictions: o, aspectRatio: a })), { left: 0, top: 0 });
|
|
549
549
|
return r(p, { left: d.left, top: d.top });
|
|
550
|
-
}(l, g(g({}, l), u))), M(u.left) && M(u.top) || (l = r(l, g(g({}, l), u)));
|
|
551
|
-
}), l;
|
|
550
|
+
})(l, g(g({}, l), u))), M(u.left) && M(u.top) || (l = r(l, g(g({}, l), u)));
|
|
551
|
+
})), l;
|
|
552
552
|
}
|
|
553
553
|
function qe(t) {
|
|
554
554
|
t.event;
|
|
@@ -633,29 +633,29 @@ function Kt(t) {
|
|
|
633
633
|
var u = et(P(i, r), o);
|
|
634
634
|
h && (u.left && u.left > 0 && u.right === 0 ? (r.right += u.left, r.left -= u.left) : u.right && u.right > 0 && u.left === 0 && (r.left += u.right, r.right -= u.right), u.top && u.top > 0 && u.bottom === 0 ? (r.bottom += u.top, r.top -= u.top) : u.bottom && u.bottom > 0 && u.top === 0 && (r.top += u.bottom, r.bottom -= u.bottom), u = et(P(i, r), o));
|
|
635
635
|
var d = { width: 1 / 0, height: 1 / 0, left: 1 / 0, right: 1 / 0, top: 1 / 0, bottom: 1 / 0 };
|
|
636
|
-
if (B.forEach(function(v) {
|
|
636
|
+
if (B.forEach((function(v) {
|
|
637
637
|
var T = u[v];
|
|
638
638
|
T && r[v] && (d[v] = Math.max(0, 1 - T / r[v]));
|
|
639
|
-
}), a) {
|
|
640
|
-
var m = Math.min.apply(null, B.map(function(v) {
|
|
639
|
+
})), a) {
|
|
640
|
+
var m = Math.min.apply(null, B.map((function(v) {
|
|
641
641
|
return d[v];
|
|
642
|
-
}));
|
|
643
|
-
m !== 1 / 0 && B.forEach(function(v) {
|
|
642
|
+
})));
|
|
643
|
+
m !== 1 / 0 && B.forEach((function(v) {
|
|
644
644
|
r[v] *= m;
|
|
645
|
-
});
|
|
646
|
-
} else B.forEach(function(v) {
|
|
645
|
+
}));
|
|
646
|
+
} else B.forEach((function(v) {
|
|
647
647
|
d[v] !== 1 / 0 && (r[v] *= d[v]);
|
|
648
|
-
});
|
|
648
|
+
}));
|
|
649
649
|
if (l = P(i, r).width, c = P(i, r).height, r.right + r.left && (l > n.maxWidth ? d.width = (n.maxWidth - i.width) / (r.right + r.left) : l < n.minWidth && (d.width = (n.minWidth - i.width) / (r.right + r.left))), r.bottom + r.top && (c > n.maxHeight ? d.height = (n.maxHeight - i.height) / (r.bottom + r.top) : c < n.minHeight && (d.height = (n.minHeight - i.height) / (r.bottom + r.top))), a) {
|
|
650
650
|
var p = Math.min(d.width, d.height);
|
|
651
|
-
p !== 1 / 0 && B.forEach(function(v) {
|
|
651
|
+
p !== 1 / 0 && B.forEach((function(v) {
|
|
652
652
|
r[v] *= p;
|
|
653
|
-
});
|
|
654
|
-
} else d.width !== 1 / 0 && Xe.forEach(function(v) {
|
|
653
|
+
}));
|
|
654
|
+
} else d.width !== 1 / 0 && Xe.forEach((function(v) {
|
|
655
655
|
r[v] *= d.width;
|
|
656
|
-
}), d.height !== 1 / 0 && Fe.forEach(function(v) {
|
|
656
|
+
})), d.height !== 1 / 0 && Fe.forEach((function(v) {
|
|
657
657
|
r[v] *= d.height;
|
|
658
|
-
});
|
|
658
|
+
}));
|
|
659
659
|
return r;
|
|
660
660
|
}
|
|
661
661
|
function rt(t, e, i) {
|
|
@@ -677,9 +677,9 @@ var oi = L("vue-simple-handler"), ri = L("vue-simple-handler-wrapper"), mt = { n
|
|
|
677
677
|
} }, emits: ["drag", "drag-end"] };
|
|
678
678
|
mt.render = function(t, e, i, s, o, n) {
|
|
679
679
|
var a = D("HandlerWrapper");
|
|
680
|
-
return y(), x(a, { class: n.classes.wrapper, "vertical-position": i.verticalPosition, "horizontal-position": i.horizontalPosition, disabled: i.disabled, onDrag: n.onDrag, onDragEnd: n.onDragEnd, onEnter: n.onEnter, onLeave: n.onLeave }, { default: A(function() {
|
|
680
|
+
return y(), x(a, { class: n.classes.wrapper, "vertical-position": i.verticalPosition, "horizontal-position": i.horizontalPosition, disabled: i.disabled, onDrag: n.onDrag, onDragEnd: n.onDragEnd, onEnter: n.onEnter, onLeave: n.onLeave }, { default: A((function() {
|
|
681
681
|
return [f("div", { class: n.classes.default }, null, 2)];
|
|
682
|
-
}), _: 1 }, 8, ["class", "vertical-position", "horizontal-position", "disabled", "onDrag", "onDragEnd", "onEnter", "onLeave"]);
|
|
682
|
+
})), _: 1 }, 8, ["class", "vertical-position", "horizontal-position", "disabled", "onDrag", "onDragEnd", "onEnter", "onLeave"]);
|
|
683
683
|
};
|
|
684
684
|
var ai = L("vue-simple-line"), hi = L("vue-simple-line-wrapper"), gt = { name: "SimpleLine", components: { LineWrapper: he }, props: { defaultClass: { type: String }, hoverClass: { type: String }, wrapperClass: { type: String }, position: { type: String }, disabled: { type: Boolean, default: !1 } }, data: function() {
|
|
685
685
|
return { hover: !1 };
|
|
@@ -696,9 +696,9 @@ var ai = L("vue-simple-line"), hi = L("vue-simple-line-wrapper"), gt = { name: "
|
|
|
696
696
|
} }, emits: ["drag", "drag-end"] };
|
|
697
697
|
gt.render = function(t, e, i, s, o, n) {
|
|
698
698
|
var a = D("LineWrapper");
|
|
699
|
-
return y(), x(a, { class: n.classes.wrapper, position: i.position, disabled: i.disabled, onDrag: n.onDrag, onDragEnd: n.onDragEnd, onEnter: n.onEnter, onLeave: n.onLeave }, { default: A(function() {
|
|
699
|
+
return y(), x(a, { class: n.classes.wrapper, position: i.position, disabled: i.disabled, onDrag: n.onDrag, onDragEnd: n.onDragEnd, onEnter: n.onEnter, onLeave: n.onLeave }, { default: A((function() {
|
|
700
700
|
return [f("div", { class: n.classes.root }, null, 2)];
|
|
701
|
-
}), _: 1 }, 8, ["class", "position", "disabled", "onDrag", "onDragEnd", "onEnter", "onLeave"]);
|
|
701
|
+
})), _: 1 }, 8, ["class", "position", "disabled", "onDrag", "onDragEnd", "onEnter", "onLeave"]);
|
|
702
702
|
};
|
|
703
703
|
var yt = L("vue-bounding-box"), li = ["east", "west", null], ci = ["south", "north", null], Ot = { name: "BoundingBox", props: { width: { type: Number }, height: { type: Number }, transitions: { type: Object }, handlers: { type: Object, default: function() {
|
|
704
704
|
return { eastNorth: !0, north: !0, westNorth: !0, west: !0, westSouth: !0, south: !0, eastSouth: !0, east: !0 };
|
|
@@ -718,14 +718,14 @@ var yt = L("vue-bounding-box"), li = ["east", "west", null], ci = ["south", "nor
|
|
|
718
718
|
return {};
|
|
719
719
|
} }, resizable: { type: Boolean, default: !0 } }, data: function() {
|
|
720
720
|
var t = [];
|
|
721
|
-
return li.forEach(function(e) {
|
|
722
|
-
ci.forEach(function(i) {
|
|
721
|
+
return li.forEach((function(e) {
|
|
722
|
+
ci.forEach((function(i) {
|
|
723
723
|
if (e !== i) {
|
|
724
724
|
var s = ne(e, i), o = s.name, n = s.classname;
|
|
725
725
|
t.push({ name: o, classname: n, verticalDirection: i, horizontalDirection: e });
|
|
726
726
|
}
|
|
727
|
-
});
|
|
728
|
-
}), { points: t };
|
|
727
|
+
}));
|
|
728
|
+
})), { points: t };
|
|
729
729
|
}, computed: { style: function() {
|
|
730
730
|
var t = {};
|
|
731
731
|
return this.width && this.height && (t.width = "".concat(this.width, "px"), t.height = "".concat(this.height, "px"), this.transitions && this.transitions.enabled && (t.transition = "".concat(this.transitions.time, "ms ").concat(this.transitions.timingFunction))), t;
|
|
@@ -734,12 +734,12 @@ var yt = L("vue-bounding-box"), li = ["east", "west", null], ci = ["south", "nor
|
|
|
734
734
|
return { root: yt(), handlers: t, handlersWrappers: e, lines: i, linesWrappers: s };
|
|
735
735
|
}, lineNodes: function() {
|
|
736
736
|
var t = this, e = [];
|
|
737
|
-
return this.points.forEach(function(i) {
|
|
737
|
+
return this.points.forEach((function(i) {
|
|
738
738
|
i.horizontalDirection && i.verticalDirection || !t.lines[i.name] || e.push({ name: i.name, component: t.linesComponent, class: R(t.classes.lines.default, t.classes.lines[i.name], !t.resizable && t.classes.lines.disabled), wrapperClass: R(t.classes.linesWrappers.default, t.classes.linesWrappers[i.name], !t.resizable && t.classes.linesWrappers.disabled), hoverClass: t.classes.lines.hover, verticalDirection: i.verticalDirection, horizontalDirection: i.horizontalDirection, disabled: !t.resizable });
|
|
739
|
-
}), e;
|
|
739
|
+
})), e;
|
|
740
740
|
}, handlerNodes: function() {
|
|
741
741
|
var t = this, e = [], i = this.width, s = this.height;
|
|
742
|
-
return this.points.forEach(function(o) {
|
|
742
|
+
return this.points.forEach((function(o) {
|
|
743
743
|
if (t.handlers[o.name]) {
|
|
744
744
|
var n = { name: o.name, component: t.handlersComponent, class: R(t.classes.handlers.default, t.classes.handlers[o.name]), wrapperClass: R(t.classes.handlersWrappers.default, t.classes.handlersWrappers[o.name]), hoverClass: t.classes.handlers.hover, verticalDirection: o.verticalDirection, horizontalDirection: o.horizontalDirection, disabled: !t.resizable };
|
|
745
745
|
if (i && s) {
|
|
@@ -748,7 +748,7 @@ var yt = L("vue-bounding-box"), li = ["east", "west", null], ci = ["south", "nor
|
|
|
748
748
|
} else n.wrapperClass = yt("handler", j({}, o.classname, !0));
|
|
749
749
|
e.push(n);
|
|
750
750
|
}
|
|
751
|
-
}), e;
|
|
751
|
+
})), e;
|
|
752
752
|
} }, beforeMount: function() {
|
|
753
753
|
window.addEventListener("mouseup", this.onMouseUp, { passive: !1 }), window.addEventListener("mousemove", this.onMouseMove, { passive: !1 }), window.addEventListener("touchmove", this.onTouchMove, { passive: !1 }), window.addEventListener("touchend", this.onTouchEnd, { passive: !1 });
|
|
754
754
|
}, beforeUnmount: function() {
|
|
@@ -762,19 +762,19 @@ var yt = L("vue-bounding-box"), li = ["east", "west", null], ci = ["south", "nor
|
|
|
762
762
|
e === "west" ? h.left -= n : e === "east" && (h.right += n), i === "north" ? h.top -= a : i === "south" && (h.bottom += a), !i && e ? s = "width" : i && !e && (s = "height"), this.resizable && this.$emit("resize", new Ie(h, { allowedDirections: { left: e === "west" || !e, right: e === "east" || !e, bottom: i === "south" || !i, top: i === "north" || !i }, preserveAspectRatio: t.nativeEvent && t.nativeEvent.shiftKey, respectDirection: s }));
|
|
763
763
|
} }, emits: ["resize", "resize-end"] };
|
|
764
764
|
Ot.render = function(t, e, i, s, o, n) {
|
|
765
|
-
return y(), x("div", { ref: "box", class: n.classes.root, style: n.style }, [q(t.$slots, "default"), f("div", null, [(y(!0), x($t, null, Pt(n.lineNodes, function(a) {
|
|
765
|
+
return y(), x("div", { ref: "box", class: n.classes.root, style: n.style }, [q(t.$slots, "default"), f("div", null, [(y(!0), x($t, null, Pt(n.lineNodes, (function(a) {
|
|
766
766
|
return y(), x(lt(a.component), { key: a.name, "default-class": a.class, "hover-class": a.hoverClass, "wrapper-class": a.wrapperClass, position: a.name, disabled: a.disabled, onDrag: function(h) {
|
|
767
767
|
return n.onHandlerDrag(h, a.horizontalDirection, a.verticalDirection);
|
|
768
768
|
}, onDragEnd: e[1] || (e[1] = function(h) {
|
|
769
769
|
return n.onEnd();
|
|
770
770
|
}) }, null, 8, ["default-class", "hover-class", "wrapper-class", "position", "disabled", "onDrag"]);
|
|
771
|
-
}), 128))]), (y(!0), x($t, null, Pt(n.handlerNodes, function(a) {
|
|
771
|
+
})), 128))]), (y(!0), x($t, null, Pt(n.handlerNodes, (function(a) {
|
|
772
772
|
return y(), x("div", { key: a.name, style: a.wrapperStyle, class: a.wrapperClass }, [(y(), x(lt(a.component), { "default-class": a.class, "hover-class": a.hoverClass, "wrapper-class": a.wrapperClass, "horizontal-position": a.horizontalDirection, "vertical-position": a.verticalDirection, disabled: a.disabled, onDrag: function(h) {
|
|
773
773
|
return n.onHandlerDrag(h, a.horizontalDirection, a.verticalDirection);
|
|
774
774
|
}, onDragEnd: e[2] || (e[2] = function(h) {
|
|
775
775
|
return n.onEnd();
|
|
776
776
|
}) }, null, 8, ["default-class", "hover-class", "wrapper-class", "horizontal-position", "vertical-position", "disabled", "onDrag"]))], 6);
|
|
777
|
-
}), 128))], 6);
|
|
777
|
+
})), 128))], 6);
|
|
778
778
|
};
|
|
779
779
|
var ui = L("vue-draggable-area"), jt = { name: "DraggableArea", props: { movable: { type: Boolean, default: !0 }, activationDistance: { type: Number, default: 20 } }, computed: { classnames: function() {
|
|
780
780
|
return { default: ui() };
|
|
@@ -826,13 +826,13 @@ function zt(t) {
|
|
|
826
826
|
return { rotate: t.rotate || 0, flip: { horizontal: ((e = t?.flip) === null || e === void 0 ? void 0 : e.horizontal) || !1, vertical: ((i = t?.flip) === null || i === void 0 ? void 0 : i.vertical) || !1 } };
|
|
827
827
|
}
|
|
828
828
|
function di(t) {
|
|
829
|
-
return new Promise(function(e, i) {
|
|
829
|
+
return new Promise((function(e, i) {
|
|
830
830
|
try {
|
|
831
|
-
if (t) if (/^data:/i.test(t)) e(function(r) {
|
|
831
|
+
if (t) if (/^data:/i.test(t)) e((function(r) {
|
|
832
832
|
r = r.replace(/^data:([^;]+);base64,/gim, "");
|
|
833
833
|
for (var l = atob(r), c = l.length, u = new ArrayBuffer(c), d = new Uint8Array(u), m = 0; m < c; m++) d[m] = l.charCodeAt(m);
|
|
834
834
|
return u;
|
|
835
|
-
}(t));
|
|
835
|
+
})(t));
|
|
836
836
|
else if (/^blob:/i.test(t)) {
|
|
837
837
|
var s = new FileReader();
|
|
838
838
|
s.onload = function(r) {
|
|
@@ -855,7 +855,7 @@ function di(t) {
|
|
|
855
855
|
i(r);
|
|
856
856
|
}
|
|
857
857
|
var n, a, h;
|
|
858
|
-
});
|
|
858
|
+
}));
|
|
859
859
|
}
|
|
860
860
|
function de(t) {
|
|
861
861
|
var e = t.rotate, i = t.flip, s = t.scaleX, o = t.scaleY, n = "";
|
|
@@ -871,11 +871,11 @@ function mi(t) {
|
|
|
871
871
|
}
|
|
872
872
|
r++;
|
|
873
873
|
}
|
|
874
|
-
if (n && (s = n + 10, function(m, p, v) {
|
|
874
|
+
if (n && (s = n + 10, (function(m, p, v) {
|
|
875
875
|
var T, $ = "";
|
|
876
876
|
for (T = p, v += p; T < v; T++) $ += String.fromCharCode(m.getUint8(T));
|
|
877
877
|
return $;
|
|
878
|
-
}(i, n + 4, 4) === "Exif")) {
|
|
878
|
+
})(i, n + 4, 4) === "Exif")) {
|
|
879
879
|
var l = i.getUint16(s);
|
|
880
880
|
if (((o = l === 18761) || l === 19789) && i.getUint16(s + 2, o) === 42) {
|
|
881
881
|
var c = i.getUint32(s + 4, o);
|
|
@@ -896,11 +896,11 @@ function mi(t) {
|
|
|
896
896
|
}
|
|
897
897
|
function Jt(t, e) {
|
|
898
898
|
var i = e.getBoundingClientRect(), s = i.left, o = i.top, n = { left: 0, top: 0 }, a = 0;
|
|
899
|
-
return t.forEach(function(h) {
|
|
899
|
+
return t.forEach((function(h) {
|
|
900
900
|
n.left += (h.clientX - s) / t.length, n.top += (h.clientY - o) / t.length;
|
|
901
|
-
}), t.forEach(function(h) {
|
|
901
|
+
})), t.forEach((function(h) {
|
|
902
902
|
a += re({ x: n.left, y: n.top }, { x: h.clientX - s, y: h.clientY - o });
|
|
903
|
-
}), { centerMass: n, spread: a, count: t.length };
|
|
903
|
+
})), { centerMass: n, spread: a, count: t.length };
|
|
904
904
|
}
|
|
905
905
|
var me = { props: { touchMove: { type: Boolean, required: !0 }, mouseMove: { type: Boolean, required: !0 }, touchResize: { type: Boolean, required: !0 }, wheelResize: { type: [Boolean, Object], required: !0 }, eventsFilter: { type: Function, required: !1 } }, beforeMount: function() {
|
|
906
906
|
window.addEventListener("mouseup", this.onMouseUp, { passive: !1 }), window.addEventListener("mousemove", this.onMouseMove, { passive: !1 }), window.addEventListener("touchmove", this.onTouchMove, { passive: !1 }), window.addEventListener("touchend", this.onTouchEnd, { passive: !1 });
|
|
@@ -926,20 +926,20 @@ var me = { props: { touchMove: { type: Boolean, required: !0 }, mouseMove: { typ
|
|
|
926
926
|
}, onTouchStart: function(t) {
|
|
927
927
|
if (t.cancelable && (this.touchMove || this.touchResize && t.touches.length > 1) && this.processEvent(t)) {
|
|
928
928
|
var e = this.$refs.container, i = e.getBoundingClientRect(), s = i.left, o = i.top, n = i.bottom, a = i.right;
|
|
929
|
-
this.touches = V(t.touches).filter(function(h) {
|
|
929
|
+
this.touches = V(t.touches).filter((function(h) {
|
|
930
930
|
return h.clientX > s && h.clientX < a && h.clientY > o && h.clientY < n;
|
|
931
|
-
}), this.oldGeometricProperties = Jt(this.touches, e);
|
|
931
|
+
})), this.oldGeometricProperties = Jt(this.touches, e);
|
|
932
932
|
}
|
|
933
933
|
}, onTouchEnd: function(t) {
|
|
934
934
|
t.touches.length === 0 && (this.touches = [], this.processEnd());
|
|
935
935
|
}, onTouchMove: function(t) {
|
|
936
936
|
var e = this;
|
|
937
937
|
if (this.touches.length) {
|
|
938
|
-
var i = V(t.touches).filter(function(s) {
|
|
939
|
-
return !s.identifier || e.touches.find(function(o) {
|
|
938
|
+
var i = V(t.touches).filter((function(s) {
|
|
939
|
+
return !s.identifier || e.touches.find((function(o) {
|
|
940
940
|
return o.identifier === s.identifier;
|
|
941
|
-
});
|
|
942
|
-
});
|
|
941
|
+
}));
|
|
942
|
+
}));
|
|
943
943
|
this.processEvent(t) && (this.processMove(t, i), this.processStart());
|
|
944
944
|
}
|
|
945
945
|
}, onMouseDown: function(t) {
|
|
@@ -974,9 +974,9 @@ Tt.render = function(t, e, i, s, o, n) {
|
|
|
974
974
|
return t.$emit("move", h);
|
|
975
975
|
}), onResize: e[2] || (e[2] = function(h) {
|
|
976
976
|
return t.$emit("resize", h);
|
|
977
|
-
}) }, { default: A(function() {
|
|
977
|
+
}) }, { default: A((function() {
|
|
978
978
|
return [q(t.$slots, "default")];
|
|
979
|
-
}), _: 3 }, 8, ["touch-move", "touch-resize", "mouse-move", "wheel-resize"]);
|
|
979
|
+
})), _: 3 }, 8, ["touch-move", "touch-resize", "mouse-move", "wheel-resize"]);
|
|
980
980
|
};
|
|
981
981
|
var at = L("vue-preview"), ge = { props: { coordinates: { type: Object }, transitions: { type: Object }, image: { type: Object, default: function() {
|
|
982
982
|
return {};
|
|
@@ -1006,9 +1006,9 @@ var at = L("vue-preview"), ge = { props: { coordinates: { type: Object }, transi
|
|
|
1006
1006
|
(t.width || t.height) && this.onChangeImage();
|
|
1007
1007
|
} }, mounted: function() {
|
|
1008
1008
|
var t = this;
|
|
1009
|
-
this.onChangeImage(), this.$refs.image.addEventListener("load", function() {
|
|
1009
|
+
this.onChangeImage(), this.$refs.image.addEventListener("load", (function() {
|
|
1010
1010
|
t.refreshImage();
|
|
1011
|
-
}), window.addEventListener("resize", this.refresh), window.addEventListener("orientationchange", this.refresh);
|
|
1011
|
+
})), window.addEventListener("resize", this.refresh), window.addEventListener("orientationchange", this.refresh);
|
|
1012
1012
|
}, unmounted: function() {
|
|
1013
1013
|
window.removeEventListener("resize", this.refresh), window.removeEventListener("orientationchange", this.refresh);
|
|
1014
1014
|
}, methods: { refreshImage: function() {
|
|
@@ -1061,11 +1061,11 @@ var xt = L("vue-rectangle-stencil"), Ht = { name: "RectangleStencil", components
|
|
|
1061
1061
|
} }, emits: ["resize", "resize-end", "move", "move-end"] };
|
|
1062
1062
|
Ht.render = function(t, e, i, s, o, n) {
|
|
1063
1063
|
var a = D("stencil-preview"), h = D("draggable-area"), r = D("bounding-box");
|
|
1064
|
-
return y(), x("div", { class: n.classes.stencil, style: n.style }, [f(r, { width: i.stencilCoordinates.width, height: i.stencilCoordinates.height, transitions: i.transitions, class: n.classes.boundingBox, handlers: i.handlers, "handlers-component": i.handlersComponent, "handlers-classes": i.handlersClasses, "handlers-wrappers-classes": i.handlersWrappersClasses, lines: i.lines, "lines-component": i.linesComponent, "lines-classes": i.linesClasses, "lines-wrappers-classes": i.linesWrappersClasses, resizable: i.resizable, onResize: n.onResize, onResizeEnd: n.onResizeEnd }, { default: A(function() {
|
|
1065
|
-
return [f(h, { movable: i.movable, onMove: n.onMove, onMoveEnd: n.onMoveEnd }, { default: A(function() {
|
|
1064
|
+
return y(), x("div", { class: n.classes.stencil, style: n.style }, [f(r, { width: i.stencilCoordinates.width, height: i.stencilCoordinates.height, transitions: i.transitions, class: n.classes.boundingBox, handlers: i.handlers, "handlers-component": i.handlersComponent, "handlers-classes": i.handlersClasses, "handlers-wrappers-classes": i.handlersWrappersClasses, lines: i.lines, "lines-component": i.linesComponent, "lines-classes": i.linesClasses, "lines-wrappers-classes": i.linesWrappersClasses, resizable: i.resizable, onResize: n.onResize, onResizeEnd: n.onResizeEnd }, { default: A((function() {
|
|
1065
|
+
return [f(h, { movable: i.movable, onMove: n.onMove, onMoveEnd: n.onMoveEnd }, { default: A((function() {
|
|
1066
1066
|
return [f(a, { image: i.image, coordinates: i.coordinates, width: i.stencilCoordinates.width, height: i.stencilCoordinates.height, class: n.classes.preview, transitions: i.transitions }, null, 8, ["image", "coordinates", "width", "height", "class", "transitions"])];
|
|
1067
|
-
}), _: 1 }, 8, ["movable", "onMove", "onMoveEnd"])];
|
|
1068
|
-
}), _: 1 }, 8, ["width", "height", "transitions", "class", "handlers", "handlers-component", "handlers-classes", "handlers-wrappers-classes", "lines", "lines-component", "lines-classes", "lines-wrappers-classes", "resizable", "onResize", "onResizeEnd"])], 6);
|
|
1067
|
+
})), _: 1 }, 8, ["movable", "onMove", "onMoveEnd"])];
|
|
1068
|
+
})), _: 1 }, 8, ["width", "height", "transitions", "class", "handlers", "handlers-component", "handlers-classes", "handlers-wrappers-classes", "lines", "lines-component", "lines-classes", "lines-wrappers-classes", "resizable", "onResize", "onResizeEnd"])], 6);
|
|
1069
1069
|
};
|
|
1070
1070
|
var Rt = L("vue-circle-stencil"), fe = { components: { StencilPreview: Dt, BoundingBox: Ot, DraggableArea: jt }, props: { image: { type: Object }, coordinates: { type: Object }, stencilCoordinates: { type: Object }, handlers: { type: Object, default: function() {
|
|
1071
1071
|
return { eastNorth: !0, westNorth: !0, westSouth: !0, eastSouth: !0 };
|
|
@@ -1101,11 +1101,11 @@ var Rt = L("vue-circle-stencil"), fe = { components: { StencilPreview: Dt, Bound
|
|
|
1101
1101
|
} }, emits: ["resize", "resize-end", "move", "move-end"] };
|
|
1102
1102
|
fe.render = function(t, e, i, s, o, n) {
|
|
1103
1103
|
var a = D("stencil-preview"), h = D("draggable-area"), r = D("bounding-box");
|
|
1104
|
-
return y(), x("div", { class: n.classes.stencil, style: n.style }, [f(r, { width: i.stencilCoordinates.width, height: i.stencilCoordinates.height, transitions: i.transitions, class: n.classes.boundingBox, handlers: i.handlers, "handlers-component": i.handlersComponent, "handlers-classes": i.handlersClasses, "handlers-wrappers-classes": i.handlersWrappersClasses, lines: i.lines, "lines-component": i.linesComponent, "lines-classes": i.linesClasses, "lines-wrappers-classes": i.linesWrappersClasses, resizable: i.resizable, onResize: n.onResize, onResizeEnd: n.onResizeEnd }, { default: A(function() {
|
|
1105
|
-
return [f(h, { movable: i.movable, onMove: n.onMove, onMoveEnd: n.onMoveEnd }, { default: A(function() {
|
|
1104
|
+
return y(), x("div", { class: n.classes.stencil, style: n.style }, [f(r, { width: i.stencilCoordinates.width, height: i.stencilCoordinates.height, transitions: i.transitions, class: n.classes.boundingBox, handlers: i.handlers, "handlers-component": i.handlersComponent, "handlers-classes": i.handlersClasses, "handlers-wrappers-classes": i.handlersWrappersClasses, lines: i.lines, "lines-component": i.linesComponent, "lines-classes": i.linesClasses, "lines-wrappers-classes": i.linesWrappersClasses, resizable: i.resizable, onResize: n.onResize, onResizeEnd: n.onResizeEnd }, { default: A((function() {
|
|
1105
|
+
return [f(h, { movable: i.movable, onMove: n.onMove, onMoveEnd: n.onMoveEnd }, { default: A((function() {
|
|
1106
1106
|
return [f(a, { image: i.image, coordinates: i.coordinates, width: i.stencilCoordinates.width, height: i.stencilCoordinates.height, class: n.classes.preview, transitions: i.transitions }, null, 8, ["image", "coordinates", "width", "height", "class", "transitions"])];
|
|
1107
|
-
}), _: 1 }, 8, ["movable", "onMove", "onMoveEnd"])];
|
|
1108
|
-
}), _: 1 }, 8, ["width", "height", "transitions", "class", "handlers", "handlers-component", "handlers-classes", "handlers-wrappers-classes", "lines", "lines-component", "lines-classes", "lines-wrappers-classes", "resizable", "onResize", "onResizeEnd"])], 6);
|
|
1107
|
+
})), _: 1 }, 8, ["movable", "onMove", "onMoveEnd"])];
|
|
1108
|
+
})), _: 1 }, 8, ["width", "height", "transitions", "class", "handlers", "handlers-component", "handlers-classes", "handlers-wrappers-classes", "lines", "lines-component", "lines-classes", "lines-wrappers-classes", "resizable", "onResize", "onResizeEnd"])], 6);
|
|
1109
1109
|
};
|
|
1110
1110
|
var gi = ["transitions"], _ = L("vue-advanced-cropper"), pe = { name: "Cropper", components: { BackgroundWrapper: Tt }, props: { src: { type: String, default: null }, stencilComponent: { type: [Object, String], default: function() {
|
|
1111
1111
|
return Ht;
|
|
@@ -1119,9 +1119,9 @@ var gi = ["transitions"], _ = L("vue-advanced-cropper"), pe = { name: "Cropper",
|
|
|
1119
1119
|
return !(typeof t == "string" && t !== "fill" && t !== "fit");
|
|
1120
1120
|
} }, priority: { type: String, default: "coordinates" }, stencilSize: { type: [Object, Function] }, resizeImage: { type: [Boolean, Object], default: !0 }, moveImage: { type: [Boolean, Object], default: !0 }, autoZoomAlgorithm: { type: Function }, resizeAlgorithm: { type: Function, default: function(t) {
|
|
1121
1121
|
var e = t.event, i = t.coordinates, s = t.aspectRatio, o = t.positionRestrictions, n = t.sizeRestrictions, a = g(g({}, i), { right: i.left + i.width, bottom: i.top + i.height }), h = e.params || {}, r = g({}, e.directions), l = h.allowedDirections || { left: !0, right: !0, bottom: !0, top: !0 };
|
|
1122
|
-
n.widthFrozen && (r.left = 0, r.right = 0), n.heightFrozen && (r.top = 0, r.bottom = 0), B.forEach(function(N) {
|
|
1122
|
+
n.widthFrozen && (r.left = 0, r.right = 0), n.heightFrozen && (r.top = 0, r.bottom = 0), B.forEach((function(N) {
|
|
1123
1123
|
l[N] || (r[N] = 0);
|
|
1124
|
-
});
|
|
1124
|
+
}));
|
|
1125
1125
|
var c = P(a, r = Kt({ coordinates: a, directions: r, sizeRestrictions: n, positionRestrictions: o })).width, u = P(a, r).height, d = h.preserveRatio ? w(a) : wt(c / u, s);
|
|
1126
1126
|
if (d) {
|
|
1127
1127
|
var m = h.respectDirection;
|
|
@@ -1140,9 +1140,9 @@ var gi = ["transitions"], _ = L("vue-advanced-cropper"), pe = { name: "Cropper",
|
|
|
1140
1140
|
}
|
|
1141
1141
|
r = Kt({ directions: r, coordinates: a, sizeRestrictions: n, positionRestrictions: o, preserveRatio: !0, compensate: h.compensate });
|
|
1142
1142
|
}
|
|
1143
|
-
return c = P(a, r).width, u = P(a, r).height, (d = h.preserveRatio ? w(a) : wt(c / u, s)) && Math.abs(d - c / u) > 1e-3 && B.forEach(function(N) {
|
|
1143
|
+
return c = P(a, r).width, u = P(a, r).height, (d = h.preserveRatio ? w(a) : wt(c / u, s)) && Math.abs(d - c / u) > 1e-3 && B.forEach((function(N) {
|
|
1144
1144
|
l[N] || (r[N] = 0);
|
|
1145
|
-
}), Et({ event: new Wt({ left: -r.left, top: -r.top }), coordinates: { width: i.width + r.right + r.left, height: i.height + r.top + r.bottom, left: i.left, top: i.top }, positionRestrictions: o });
|
|
1145
|
+
})), Et({ event: new Wt({ left: -r.left, top: -r.top }), coordinates: { width: i.width + r.right + r.left, height: i.height + r.top + r.bottom, left: i.left, top: i.top }, positionRestrictions: o });
|
|
1146
1146
|
} }, moveAlgorithm: { type: Function, default: Et }, initStretcher: { type: Function, default: function(t) {
|
|
1147
1147
|
var e = t.stretcher, i = t.imageSize, s = w(i);
|
|
1148
1148
|
e.style.width = i.width + "px", e.style.height = e.clientWidth / s + "px", e.style.width = e.clientWidth + "px";
|
|
@@ -1169,9 +1169,9 @@ var gi = ["transitions"], _ = L("vue-advanced-cropper"), pe = { name: "Cropper",
|
|
|
1169
1169
|
}, imageTransforms: function() {
|
|
1170
1170
|
return { rotate: this.appliedImageTransforms.rotate, flip: { horizontal: this.appliedImageTransforms.flip.horizontal, vertical: this.appliedImageTransforms.flip.vertical }, translateX: this.visibleArea ? this.visibleArea.left / this.coefficient : 0, translateY: this.visibleArea ? this.visibleArea.top / this.coefficient : 0, scaleX: 1 / this.coefficient, scaleY: 1 / this.coefficient };
|
|
1171
1171
|
}, imageSize: function() {
|
|
1172
|
-
var t = function(e) {
|
|
1172
|
+
var t = (function(e) {
|
|
1173
1173
|
return e * Math.PI / 180;
|
|
1174
|
-
}(this.imageTransforms.rotate);
|
|
1174
|
+
})(this.imageTransforms.rotate);
|
|
1175
1175
|
return { width: Math.abs(this.imageAttributes.width * Math.cos(t)) + Math.abs(this.imageAttributes.height * Math.sin(t)), height: Math.abs(this.imageAttributes.width * Math.sin(t)) + Math.abs(this.imageAttributes.height * Math.cos(t)) };
|
|
1176
1176
|
}, initialized: function() {
|
|
1177
1177
|
return !!(this.visibleArea && this.imageLoaded);
|
|
@@ -1187,12 +1187,12 @@ var gi = ["transitions"], _ = L("vue-advanced-cropper"), pe = { name: "Cropper",
|
|
|
1187
1187
|
}, sizeRestrictions: function() {
|
|
1188
1188
|
if (this.boundaries.width && this.boundaries.height && this.imageSize.width && this.imageSize.height) {
|
|
1189
1189
|
var t = this.sizeRestrictionsAlgorithm({ imageSize: this.imageSize, minWidth: M(this.minWidth) ? 0 : st(this.minWidth), minHeight: M(this.minHeight) ? 0 : st(this.minHeight), maxWidth: M(this.maxWidth) ? 1 / 0 : st(this.maxWidth), maxHeight: M(this.maxHeight) ? 1 / 0 : st(this.maxHeight) });
|
|
1190
|
-
if (t = function(s) {
|
|
1190
|
+
if (t = (function(s) {
|
|
1191
1191
|
var o = s.areaRestrictions, n = s.sizeRestrictions, a = s.boundaries, h = s.positionRestrictions, r = g(g({}, n), { minWidth: n.minWidth !== void 0 ? n.minWidth : 0, minHeight: n.minHeight !== void 0 ? n.minHeight : 0, maxWidth: n.maxWidth !== void 0 ? n.maxWidth : 1 / 0, maxHeight: n.maxHeight !== void 0 ? n.maxHeight : 1 / 0 });
|
|
1192
1192
|
h.left !== void 0 && h.right !== void 0 && (r.maxWidth = Math.min(r.maxWidth, h.right - h.left)), h.bottom !== void 0 && h.top !== void 0 && (r.maxHeight = Math.min(r.maxHeight, h.bottom - h.top));
|
|
1193
1193
|
var l = Ct(o), c = le(a, l);
|
|
1194
1194
|
return l.width < 1 / 0 && (!r.maxWidth || r.maxWidth > c.width) && (r.maxWidth = Math.min(r.maxWidth, c.width)), l.height < 1 / 0 && (!r.maxHeight || r.maxHeight > c.height) && (r.maxHeight = Math.min(r.maxHeight, c.height)), r.minWidth > r.maxWidth && (r.minWidth = r.maxWidth, r.widthFrozen = !0), r.minHeight > r.maxHeight && (r.minHeight = r.maxHeight, r.heightFrozen = !0), r;
|
|
1195
|
-
}({ sizeRestrictions: t, areaRestrictions: this.getAreaRestrictions({ visibleArea: this.visibleArea, type: "resize" }), imageSize: this.imageSize, boundaries: this.boundaries, positionRestrictions: this.positionRestrictions, imageRestriction: this.imageRestriction, visibleArea: this.visibleArea, stencilSize: this.getStencilSize() }), this.visibleArea && this.stencilSize) {
|
|
1195
|
+
})({ sizeRestrictions: t, areaRestrictions: this.getAreaRestrictions({ visibleArea: this.visibleArea, type: "resize" }), imageSize: this.imageSize, boundaries: this.boundaries, positionRestrictions: this.positionRestrictions, imageRestriction: this.imageRestriction, visibleArea: this.visibleArea, stencilSize: this.getStencilSize() }), this.visibleArea && this.stencilSize) {
|
|
1196
1196
|
var e = this.getStencilSize(), i = Ct(this.getAreaRestrictions({ visibleArea: this.visibleArea, type: "resize" }));
|
|
1197
1197
|
t.maxWidth = Math.min(t.maxWidth, i.width * e.width / this.boundaries.width), t.maxHeight = Math.min(t.maxHeight, i.height * e.height / this.boundaries.height), t.maxWidth < t.minWidth && (t.minWidth = t.maxWidth), t.maxHeight < t.minHeight && (t.minHeight = t.maxHeight);
|
|
1198
1198
|
}
|
|
@@ -1219,9 +1219,9 @@ var gi = ["transitions"], _ = L("vue-advanced-cropper"), pe = { name: "Cropper",
|
|
|
1219
1219
|
this.onChangeImage();
|
|
1220
1220
|
}, stencilComponent: function() {
|
|
1221
1221
|
var t = this;
|
|
1222
|
-
this.$nextTick(function() {
|
|
1222
|
+
this.$nextTick((function() {
|
|
1223
1223
|
t.resetCoordinates(), t.runAutoZoom("setCoordinates"), t.onChange();
|
|
1224
|
-
});
|
|
1224
|
+
}));
|
|
1225
1225
|
}, minWidth: function() {
|
|
1226
1226
|
this.onPropsChange();
|
|
1227
1227
|
}, maxWidth: function() {
|
|
@@ -1233,9 +1233,9 @@ var gi = ["transitions"], _ = L("vue-advanced-cropper"), pe = { name: "Cropper",
|
|
|
1233
1233
|
}, imageRestriction: function() {
|
|
1234
1234
|
this.reset();
|
|
1235
1235
|
}, stencilProps: function(t, e) {
|
|
1236
|
-
["aspectRatio", "minAspectRatio", "maxAspectRatio"].find(function(i) {
|
|
1236
|
+
["aspectRatio", "minAspectRatio", "maxAspectRatio"].find((function(i) {
|
|
1237
1237
|
return t[i] !== e[i];
|
|
1238
|
-
}) && this.$nextTick(this.onPropsChange);
|
|
1238
|
+
})) && this.$nextTick(this.onPropsChange);
|
|
1239
1239
|
} }, created: function() {
|
|
1240
1240
|
this.debouncedUpdate = Mt(this.update, this.debounce), this.debouncedDisableTransitions = Mt(this.disableTransitions, this.transitionsOptions.time), this.awaiting = !1;
|
|
1241
1241
|
}, mounted: function() {
|
|
@@ -1259,31 +1259,31 @@ var gi = ["transitions"], _ = L("vue-advanced-cropper"), pe = { name: "Cropper",
|
|
|
1259
1259
|
this.onManipulateImage(new tt({ left: t || 0, top: e || 0 }), { normalize: !1, transitions: o });
|
|
1260
1260
|
}, setCoordinates: function(t) {
|
|
1261
1261
|
var e = this, i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, s = i.autoZoom, o = s === void 0 || s, n = i.transitions, a = n === void 0 || n;
|
|
1262
|
-
this.$nextTick(function() {
|
|
1262
|
+
this.$nextTick((function() {
|
|
1263
1263
|
e.imageLoaded ? (e.transitionsActive || (a && e.enableTransitions(), e.coordinates = e.applyTransform(t), o && e.runAutoZoom("setCoordinates"), a && e.debouncedDisableTransitions()), e.onChange()) : e.delayedTransforms = t;
|
|
1264
|
-
});
|
|
1264
|
+
}));
|
|
1265
1265
|
}, refresh: function() {
|
|
1266
1266
|
var t = this, e = this.$refs.image;
|
|
1267
|
-
if (this.src && e) return this.initialized ? this.updateVisibleArea().then(function() {
|
|
1267
|
+
if (this.src && e) return this.initialized ? this.updateVisibleArea().then((function() {
|
|
1268
1268
|
t.onChange();
|
|
1269
|
-
}) : this.resetVisibleArea().then(function() {
|
|
1269
|
+
})) : this.resetVisibleArea().then((function() {
|
|
1270
1270
|
t.onChange();
|
|
1271
|
-
});
|
|
1271
|
+
}));
|
|
1272
1272
|
}, reset: function() {
|
|
1273
1273
|
var t = this;
|
|
1274
|
-
return this.resetVisibleArea().then(function() {
|
|
1274
|
+
return this.resetVisibleArea().then((function() {
|
|
1275
1275
|
t.onChange(!1);
|
|
1276
|
-
});
|
|
1276
|
+
}));
|
|
1277
1277
|
}, awaitRender: function(t) {
|
|
1278
1278
|
var e = this;
|
|
1279
|
-
this.awaiting || (this.awaiting = !0, this.$nextTick(function() {
|
|
1279
|
+
this.awaiting || (this.awaiting = !0, this.$nextTick((function() {
|
|
1280
1280
|
t(), e.awaiting = !1;
|
|
1281
|
-
}));
|
|
1281
|
+
})));
|
|
1282
1282
|
}, prepareResult: function(t) {
|
|
1283
|
-
return this.roundResult ? function(e) {
|
|
1283
|
+
return this.roundResult ? (function(e) {
|
|
1284
1284
|
var i = e.coordinates, s = e.sizeRestrictions, o = e.positionRestrictions, n = { width: Math.round(i.width), height: Math.round(i.height), left: Math.round(i.left), top: Math.round(i.top) };
|
|
1285
1285
|
return n.width > s.maxWidth ? n.width = Math.floor(i.width) : n.width < s.minWidth && (n.width = Math.ceil(i.width)), n.height > s.maxHeight ? n.height = Math.floor(i.height) : n.height < s.minHeight && (n.height = Math.ceil(i.height)), E(n, o);
|
|
1286
|
-
}(b(b({}, this.getPublicProperties()), {}, { positionRestrictions: ot(this.positionRestrictions, this.visibleArea), coordinates: t })) : t;
|
|
1286
|
+
})(b(b({}, this.getPublicProperties()), {}, { positionRestrictions: ot(this.positionRestrictions, this.visibleArea), coordinates: t })) : t;
|
|
1287
1287
|
}, processAutoZoom: function(t, e, i, s) {
|
|
1288
1288
|
var o = this.autoZoomAlgorithm;
|
|
1289
1289
|
o || (o = this.stencilSize ? qe : this.autoZoom ? Ge : Qe);
|
|
@@ -1293,47 +1293,47 @@ var gi = ["transitions"], _ = L("vue-advanced-cropper"), pe = { name: "Cropper",
|
|
|
1293
1293
|
var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = e.transitions, s = i !== void 0 && i, o = Pe(e, gi), n = this.processAutoZoom(t, this.visibleArea, this.coordinates, o), a = n.visibleArea, h = n.coordinates, r = n.changed;
|
|
1294
1294
|
s && r && this.enableTransitions(), this.visibleArea = a, this.coordinates = h, s && r && this.debouncedDisableTransitions();
|
|
1295
1295
|
}, normalizeEvent: function(t) {
|
|
1296
|
-
return function(e) {
|
|
1296
|
+
return (function(e) {
|
|
1297
1297
|
var i = e.event, s = e.visibleArea, o = e.coefficient;
|
|
1298
1298
|
if (i.type === "manipulateImage") return g(g({}, i), { move: { left: i.move && i.move.left ? o * i.move.left : 0, top: i.move && i.move.top ? o * i.move.top : 0 }, scale: { factor: i.scale && i.scale.factor ? i.scale.factor : 1, center: i.scale && i.scale.center ? { left: i.scale.center.left * o + s.left, top: i.scale.center.top * o + s.top } : null } });
|
|
1299
1299
|
if (i.type === "resize") {
|
|
1300
1300
|
var n = g(g({}, i), { directions: g({}, i.directions) });
|
|
1301
|
-
return B.forEach(function(h) {
|
|
1301
|
+
return B.forEach((function(h) {
|
|
1302
1302
|
n.directions[h] *= o;
|
|
1303
|
-
}), n;
|
|
1303
|
+
})), n;
|
|
1304
1304
|
}
|
|
1305
1305
|
if (i.type === "move") {
|
|
1306
1306
|
var a = g(g({}, i), { directions: g({}, i.directions) });
|
|
1307
|
-
return Ue.forEach(function(h) {
|
|
1307
|
+
return Ue.forEach((function(h) {
|
|
1308
1308
|
a.directions[h] *= o;
|
|
1309
|
-
}), a;
|
|
1309
|
+
})), a;
|
|
1310
1310
|
}
|
|
1311
1311
|
return i;
|
|
1312
|
-
}(b(b({}, this.getPublicProperties()), {}, { event: t }));
|
|
1312
|
+
})(b(b({}, this.getPublicProperties()), {}, { event: t }));
|
|
1313
1313
|
}, getCanvas: function() {
|
|
1314
1314
|
if (this.$refs.canvas) {
|
|
1315
|
-
var t = this.$refs.canvas, e = this.$refs.image, i = this.imageTransforms.rotate !== 0 || this.imageTransforms.flip.horizontal || this.imageTransforms.flip.vertical ? function(h, r, l) {
|
|
1315
|
+
var t = this.$refs.canvas, e = this.$refs.image, i = this.imageTransforms.rotate !== 0 || this.imageTransforms.flip.horizontal || this.imageTransforms.flip.vertical ? (function(h, r, l) {
|
|
1316
1316
|
var c = l.rotate, u = l.flip, d = { width: r.naturalWidth, height: r.naturalHeight }, m = ce(d, c), p = h.getContext("2d");
|
|
1317
1317
|
h.height = m.height, h.width = m.width, p.save();
|
|
1318
1318
|
var v = F(C(g({ left: 0, top: 0 }, d)), c);
|
|
1319
1319
|
return p.translate(-(v.left - m.width / 2), -(v.top - m.height / 2)), p.rotate(c * Math.PI / 180), p.translate(u.horizontal ? d.width : 0, u.vertical ? d.height : 0), p.scale(u.horizontal ? -1 : 1, u.vertical ? -1 : 1), p.drawImage(r, 0, 0, d.width, d.height), p.restore(), h;
|
|
1320
|
-
}(this.$refs.sourceCanvas, e, this.imageTransforms) : e, s = b({ minWidth: 0, minHeight: 0, maxWidth: 1 / 0, maxHeight: 1 / 0, maxArea: this.maxCanvasSize, imageSmoothingEnabled: !0, imageSmoothingQuality: "high", fillColor: "transparent" }, this.canvas), o = function(h) {
|
|
1321
|
-
return h.find(function(r) {
|
|
1320
|
+
})(this.$refs.sourceCanvas, e, this.imageTransforms) : e, s = b({ minWidth: 0, minHeight: 0, maxWidth: 1 / 0, maxHeight: 1 / 0, maxArea: this.maxCanvasSize, imageSmoothingEnabled: !0, imageSmoothingQuality: "high", fillColor: "transparent" }, this.canvas), o = function(h) {
|
|
1321
|
+
return h.find((function(r) {
|
|
1322
1322
|
return l = r, !Number.isNaN(parseFloat(l)) && isFinite(l);
|
|
1323
1323
|
var l;
|
|
1324
|
-
});
|
|
1324
|
+
}));
|
|
1325
1325
|
}, n = Y({ sizeRestrictions: { minWidth: o([s.width, s.minWidth]) || 0, minHeight: o([s.height, s.minHeight]) || 0, maxWidth: o([s.width, s.maxWidth]) || 1 / 0, maxHeight: o([s.height, s.maxHeight]) || 1 / 0 }, width: this.coordinates.width, height: this.coordinates.height, aspectRatio: { minimum: this.coordinates.width / this.coordinates.height, maximum: this.coordinates.width / this.coordinates.height } });
|
|
1326
1326
|
if (s.maxArea && n.width * n.height > s.maxArea) {
|
|
1327
1327
|
var a = Math.sqrt(s.maxArea / (n.width * n.height));
|
|
1328
1328
|
n = { width: Math.round(a * n.width), height: Math.round(a * n.height) };
|
|
1329
1329
|
}
|
|
1330
|
-
return function(h, r, l, c, u) {
|
|
1330
|
+
return (function(h, r, l, c, u) {
|
|
1331
1331
|
h.width = c ? c.width : l.width, h.height = c ? c.height : l.height;
|
|
1332
1332
|
var d = h.getContext("2d");
|
|
1333
1333
|
d.clearRect(0, 0, h.width, h.height), u && (u.imageSmoothingEnabled && (d.imageSmoothingEnabled = u.imageSmoothingEnabled), u.imageSmoothingQuality && (d.imageSmoothingQuality = u.imageSmoothingQuality), u.fillColor && (d.fillStyle = u.fillColor, d.fillRect(0, 0, h.width, h.height), d.save()));
|
|
1334
1334
|
var m = l.left < 0 ? -l.left : 0, p = l.top < 0 ? -l.top : 0;
|
|
1335
1335
|
d.drawImage(r, l.left + m, l.top + p, l.width, l.height, m * (h.width / l.width), p * (h.height / l.height), h.width, h.height);
|
|
1336
|
-
}(t, i, this.coordinates, n, s), t;
|
|
1336
|
+
})(t, i, this.coordinates, n, s), t;
|
|
1337
1337
|
}
|
|
1338
1338
|
}, update: function() {
|
|
1339
1339
|
this.$emit("change", this.getResult());
|
|
@@ -1356,90 +1356,90 @@ var gi = ["transitions"], _ = L("vue-advanced-cropper"), pe = { name: "Cropper",
|
|
|
1356
1356
|
}
|
|
1357
1357
|
}, clearImage: function() {
|
|
1358
1358
|
var t = this;
|
|
1359
|
-
this.imageLoaded = !1, setTimeout(function() {
|
|
1359
|
+
this.imageLoaded = !1, setTimeout((function() {
|
|
1360
1360
|
var e = t.$refs.stretcher;
|
|
1361
1361
|
e && (e.style.height = "auto", e.style.width = "auto"), t.coordinates = t.defaultCoordinates(), t.boundaries = { width: 0, height: 0 };
|
|
1362
|
-
}, this.transitionTime);
|
|
1362
|
+
}), this.transitionTime);
|
|
1363
1363
|
}, enableTransitions: function() {
|
|
1364
1364
|
this.transitions && (this.transitionsActive = !0);
|
|
1365
1365
|
}, disableTransitions: function() {
|
|
1366
1366
|
this.transitionsActive = !1;
|
|
1367
1367
|
}, updateBoundaries: function() {
|
|
1368
1368
|
var t = this, e = this.$refs.stretcher, i = this.$refs.cropper;
|
|
1369
|
-
return this.initStretcher({ cropper: i, stretcher: e, imageSize: this.imageSize }), this.$nextTick().then(function() {
|
|
1369
|
+
return this.initStretcher({ cropper: i, stretcher: e, imageSize: this.imageSize }), this.$nextTick().then((function() {
|
|
1370
1370
|
var s = { cropper: i, imageSize: t.imageSize };
|
|
1371
|
-
if (G(t.defaultBoundaries) ? t.boundaries = t.defaultBoundaries(s) : t.defaultBoundaries === "fit" ? t.boundaries = function(o) {
|
|
1371
|
+
if (G(t.defaultBoundaries) ? t.boundaries = t.defaultBoundaries(s) : t.defaultBoundaries === "fit" ? t.boundaries = (function(o) {
|
|
1372
1372
|
var n = o.cropper, a = o.imageSize, h = n.clientHeight, r = n.clientWidth, l = h, c = a.width * h / a.height;
|
|
1373
1373
|
return c > r && (c = r, l = a.height * r / a.width), { width: c, height: l };
|
|
1374
|
-
}(s) : t.boundaries = function(o) {
|
|
1374
|
+
})(s) : t.boundaries = (function(o) {
|
|
1375
1375
|
var n = o.cropper;
|
|
1376
1376
|
return { width: n.clientWidth, height: n.clientHeight };
|
|
1377
|
-
}(s), !t.boundaries.width || !t.boundaries.height) throw new Error("It's impossible to fit the cropper in the current container");
|
|
1378
|
-
});
|
|
1377
|
+
})(s), !t.boundaries.width || !t.boundaries.height) throw new Error("It's impossible to fit the cropper in the current container");
|
|
1378
|
+
}));
|
|
1379
1379
|
}, resetVisibleArea: function() {
|
|
1380
1380
|
var t = this;
|
|
1381
|
-
return this.appliedImageTransforms = b(b({}, this.defaultImageTransforms), {}, { flip: b({}, this.defaultImageTransforms.flip) }), this.updateBoundaries().then(function() {
|
|
1381
|
+
return this.appliedImageTransforms = b(b({}, this.defaultImageTransforms), {}, { flip: b({}, this.defaultImageTransforms.flip) }), this.updateBoundaries().then((function() {
|
|
1382
1382
|
t.priority !== "visible-area" && (t.visibleArea = null, t.resetCoordinates());
|
|
1383
1383
|
var e, i, s, o, n, a, h = t.defaultVisibleArea || ei;
|
|
1384
1384
|
t.visibleArea = G(h) ? h({ imageSize: t.imageSize, boundaries: t.boundaries, coordinates: t.priority !== "visible-area" ? t.coordinates : null, getAreaRestrictions: t.getAreaRestrictions, stencilSize: t.getStencilSize() }) : t.defaultVisibleArea, t.visibleArea = (e = { visibleArea: t.visibleArea, boundaries: t.boundaries, getAreaRestrictions: t.getAreaRestrictions }, i = e.visibleArea, s = e.boundaries, o = e.getAreaRestrictions, n = g({}, i), a = w(s), n.width / n.height !== a && (n.height = n.width / a), E(n, o({ visibleArea: n, type: "move" }))), t.priority === "visible-area" ? t.resetCoordinates() : t.coordinates = t.fitCoordinates({ visibleArea: t.visibleArea, coordinates: t.coordinates, aspectRatio: t.getAspectRatio(), positionRestrictions: t.positionRestrictions, sizeRestrictions: t.sizeRestrictions }), t.runAutoZoom("resetVisibleArea");
|
|
1385
|
-
}).catch(function() {
|
|
1385
|
+
})).catch((function() {
|
|
1386
1386
|
t.visibleArea = null;
|
|
1387
|
-
});
|
|
1387
|
+
}));
|
|
1388
1388
|
}, updateVisibleArea: function() {
|
|
1389
1389
|
var t = this;
|
|
1390
|
-
return this.updateBoundaries().then(function() {
|
|
1390
|
+
return this.updateBoundaries().then((function() {
|
|
1391
1391
|
t.visibleArea = t.fitVisibleArea({ imageSize: t.imageSize, boundaries: t.boundaries, visibleArea: t.visibleArea, coordinates: t.coordinates, getAreaRestrictions: t.getAreaRestrictions }), t.coordinates = t.fitCoordinates({ visibleArea: t.visibleArea, coordinates: t.coordinates, aspectRatio: t.getAspectRatio(), positionRestrictions: t.positionRestrictions, sizeRestrictions: t.sizeRestrictions }), t.runAutoZoom("updateVisibleArea");
|
|
1392
|
-
}).catch(function() {
|
|
1392
|
+
})).catch((function() {
|
|
1393
1393
|
t.visibleArea = null;
|
|
1394
|
-
});
|
|
1394
|
+
}));
|
|
1395
1395
|
}, onChange: function() {
|
|
1396
1396
|
var t = !(arguments.length > 0 && arguments[0] !== void 0) || arguments[0];
|
|
1397
1397
|
t && this.debounce ? this.debouncedUpdate() : this.update();
|
|
1398
1398
|
}, onChangeImage: function() {
|
|
1399
1399
|
var t, e = this;
|
|
1400
1400
|
if (this.imageLoaded = !1, this.delayedTransforms = null, this.src) {
|
|
1401
|
-
if (function(o) {
|
|
1401
|
+
if ((function(o) {
|
|
1402
1402
|
if (Nt(o)) return !1;
|
|
1403
1403
|
var n = window.location, a = /(\w+:)?(?:\/\/)([\w.-]+)?(?::(\d+))?\/?/.exec(o) || [], h = { protocol: a[1] || "", host: a[2] || "", port: a[3] || "" }, r = function(l) {
|
|
1404
1404
|
return l.port || ((l.protocol || n.protocol) === "http" ? 80 : 433);
|
|
1405
1405
|
};
|
|
1406
1406
|
return !(!h.protocol && !h.host && !h.port || h.protocol && h.protocol == n.protocol && h.host && h.host == n.host && h.host && r(h) == r(n));
|
|
1407
|
-
}(this.src)) {
|
|
1407
|
+
})(this.src)) {
|
|
1408
1408
|
var i = M(this.crossOrigin) ? this.canvas : this.crossOrigin;
|
|
1409
1409
|
i === !0 && (i = "anonymous"), this.imageAttributes.crossOrigin = i || null;
|
|
1410
1410
|
}
|
|
1411
1411
|
if (this.checkOrientation) {
|
|
1412
|
-
var s = (t = this.src, new Promise(function(o) {
|
|
1413
|
-
di(t).then(function(n) {
|
|
1412
|
+
var s = (t = this.src, new Promise((function(o) {
|
|
1413
|
+
di(t).then((function(n) {
|
|
1414
1414
|
var a = mi(n);
|
|
1415
1415
|
o(n ? { source: t, arrayBuffer: n, orientation: a } : { source: t, arrayBuffer: null, orientation: null });
|
|
1416
|
-
}).catch(function(n) {
|
|
1416
|
+
})).catch((function(n) {
|
|
1417
1417
|
console.warn(n), o({ source: t, arrayBuffer: null, orientation: null });
|
|
1418
|
-
});
|
|
1419
|
-
}));
|
|
1420
|
-
setTimeout(function() {
|
|
1418
|
+
}));
|
|
1419
|
+
})));
|
|
1420
|
+
setTimeout((function() {
|
|
1421
1421
|
s.then(e.onParseImage);
|
|
1422
|
-
}, this.transitionTime);
|
|
1423
|
-
} else setTimeout(function() {
|
|
1422
|
+
}), this.transitionTime);
|
|
1423
|
+
} else setTimeout((function() {
|
|
1424
1424
|
e.onParseImage({ source: e.src });
|
|
1425
|
-
}, this.transitionTime);
|
|
1425
|
+
}), this.transitionTime);
|
|
1426
1426
|
} else this.clearImage();
|
|
1427
1427
|
}, onFailLoadImage: function() {
|
|
1428
1428
|
this.imageAttributes.src && (this.clearImage(), this.$emit("error"));
|
|
1429
1429
|
}, onSuccessLoadImage: function() {
|
|
1430
1430
|
var t = this, e = this.$refs.image;
|
|
1431
|
-
e && !this.imageLoaded && (this.imageAttributes.height = e.naturalHeight, this.imageAttributes.width = e.naturalWidth, this.imageLoaded = !0, this.resetVisibleArea().then(function() {
|
|
1431
|
+
e && !this.imageLoaded && (this.imageAttributes.height = e.naturalHeight, this.imageAttributes.width = e.naturalWidth, this.imageLoaded = !0, this.resetVisibleArea().then((function() {
|
|
1432
1432
|
t.$emit("ready"), t.onChange(!1);
|
|
1433
|
-
}));
|
|
1433
|
+
})));
|
|
1434
1434
|
}, onParseImage: function(t) {
|
|
1435
1435
|
var e = this, i = t.source, s = t.arrayBuffer, o = t.orientation;
|
|
1436
|
-
this.imageAttributes.revoke && this.imageAttributes.src && URL.revokeObjectURL(this.imageAttributes.src), this.imageAttributes.revoke = !1, s && o && o > 1 ? se(i) || !Nt(i) ? (this.imageAttributes.src = URL.createObjectURL(new Blob([s])), this.imageAttributes.revoke = !0) : this.imageAttributes.src = function(n) {
|
|
1436
|
+
this.imageAttributes.revoke && this.imageAttributes.src && URL.revokeObjectURL(this.imageAttributes.src), this.imageAttributes.revoke = !1, s && o && o > 1 ? se(i) || !Nt(i) ? (this.imageAttributes.src = URL.createObjectURL(new Blob([s])), this.imageAttributes.revoke = !0) : this.imageAttributes.src = (function(n) {
|
|
1437
1437
|
for (var a = [], h = new Uint8Array(n); h.length > 0; ) {
|
|
1438
1438
|
var r = h.subarray(0, 8192);
|
|
1439
1439
|
a.push(String.fromCharCode.apply(null, Array.from ? Array.from(r) : r.slice())), h = h.subarray(8192);
|
|
1440
1440
|
}
|
|
1441
1441
|
return "data:image/jpeg;base64," + btoa(a.join(""));
|
|
1442
|
-
}(s) : this.imageAttributes.src = i, G(this.defaultTransforms) ? this.appliedImageTransforms = zt(this.defaultTransforms()) : ht(this.defaultTransforms) ? this.appliedImageTransforms = zt(this.defaultTransforms) : this.appliedImageTransforms = function(n) {
|
|
1442
|
+
})(s) : this.imageAttributes.src = i, G(this.defaultTransforms) ? this.appliedImageTransforms = zt(this.defaultTransforms()) : ht(this.defaultTransforms) ? this.appliedImageTransforms = zt(this.defaultTransforms) : this.appliedImageTransforms = (function(n) {
|
|
1443
1443
|
var a = zt({});
|
|
1444
1444
|
if (n) switch (n) {
|
|
1445
1445
|
case 2:
|
|
@@ -1464,27 +1464,27 @@ var gi = ["transitions"], _ = L("vue-advanced-cropper"), pe = { name: "Cropper",
|
|
|
1464
1464
|
a.rotate = -90;
|
|
1465
1465
|
}
|
|
1466
1466
|
return a;
|
|
1467
|
-
}(o), this.defaultImageTransforms = b(b({}, this.appliedImageTransforms), {}, { flip: b({}, this.appliedImageTransforms.flip) }), this.$nextTick(function() {
|
|
1467
|
+
})(o), this.defaultImageTransforms = b(b({}, this.appliedImageTransforms), {}, { flip: b({}, this.appliedImageTransforms.flip) }), this.$nextTick((function() {
|
|
1468
1468
|
var n = e.$refs.image;
|
|
1469
|
-
n && n.complete && (function(a) {
|
|
1469
|
+
n && n.complete && ((function(a) {
|
|
1470
1470
|
return !!a.naturalWidth;
|
|
1471
|
-
}(n) ? e.onSuccessLoadImage() : e.onFailLoadImage());
|
|
1472
|
-
});
|
|
1471
|
+
})(n) ? e.onSuccessLoadImage() : e.onFailLoadImage());
|
|
1472
|
+
}));
|
|
1473
1473
|
}, onResizeEnd: function() {
|
|
1474
1474
|
this.runAutoZoom("resize", { transitions: !0 });
|
|
1475
1475
|
}, onMoveEnd: function() {
|
|
1476
1476
|
this.runAutoZoom("move", { transitions: !0 });
|
|
1477
1477
|
}, onMove: function(t) {
|
|
1478
1478
|
var e = this;
|
|
1479
|
-
this.transitionsOptions.enabled || this.awaitRender(function() {
|
|
1479
|
+
this.transitionsOptions.enabled || this.awaitRender((function() {
|
|
1480
1480
|
e.coordinates = e.moveAlgorithm(b(b({}, e.getPublicProperties()), {}, { positionRestrictions: ot(e.positionRestrictions, e.visibleArea), coordinates: e.coordinates, event: e.normalizeEvent(t) })), e.onChange();
|
|
1481
|
-
});
|
|
1481
|
+
}));
|
|
1482
1482
|
}, onResize: function(t) {
|
|
1483
1483
|
var e = this;
|
|
1484
|
-
this.transitionsOptions.enabled || this.stencilSize && !this.autoZoom || this.awaitRender(function() {
|
|
1484
|
+
this.transitionsOptions.enabled || this.stencilSize && !this.autoZoom || this.awaitRender((function() {
|
|
1485
1485
|
var i = e.sizeRestrictions, s = Math.min(e.coordinates.width, e.coordinates.height, 20 * e.coefficient);
|
|
1486
1486
|
e.coordinates = e.resizeAlgorithm(b(b({}, e.getPublicProperties()), {}, { positionRestrictions: ot(e.positionRestrictions, e.visibleArea), sizeRestrictions: { maxWidth: Math.min(i.maxWidth, e.visibleArea.width), maxHeight: Math.min(i.maxHeight, e.visibleArea.height), minWidth: Math.max(i.minWidth, s), minHeight: Math.max(i.minHeight, s) }, event: e.normalizeEvent(t) })), e.onChange(), e.ticking = !1;
|
|
1487
|
-
});
|
|
1487
|
+
}));
|
|
1488
1488
|
}, onManipulateImage: function(t) {
|
|
1489
1489
|
var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
1490
1490
|
if (!this.transitionsOptions.enabled) {
|
|
@@ -1534,10 +1534,10 @@ var gi = ["transitions"], _ = L("vue-advanced-cropper"), pe = { name: "Cropper",
|
|
|
1534
1534
|
}
|
|
1535
1535
|
} }, emits: ["change", "error", "ready"] }, fi = { key: 0, ref: "canvas", style: { display: "none" } }, pi = { key: 1, ref: "sourceCanvas", style: { display: "none" } };
|
|
1536
1536
|
pe.render = function(t, e, i, s, o, n) {
|
|
1537
|
-
return y(), x("div", { ref: "cropper", class: n.classes.cropper }, [f("div", { ref: "stretcher", class: n.classes.stretcher }, null, 2), f("div", { class: n.classes.boundaries, style: n.boundariesStyle }, [(y(), x(lt(i.backgroundWrapperComponent), { class: n.classes.cropperWrapper, "wheel-resize": n.settings.resizeImage.wheel, "touch-resize": n.settings.resizeImage.touch, "touch-move": n.settings.moveImage.touch, "mouse-move": n.settings.moveImage.mouse, onMove: n.onManipulateImage, onResize: n.onManipulateImage }, { default: A(function() {
|
|
1538
|
-
return [f("div", { class: n.classes.background, style: n.boundariesStyle }, null, 6), f("div", { class: n.classes.imageWrapper }, [f("img", { ref: "image", crossorigin: o.imageAttributes.crossOrigin, src: o.imageAttributes.src, class: n.classes.image, style: n.imageStyle, onMousedown: e[1] || (e[1] = ye(function() {
|
|
1539
|
-
}, ["prevent"])) }, null, 46, ["crossorigin", "src"])], 2), f("div", { class: n.classes.foreground, style: n.boundariesStyle }, null, 6), te((y(), x(lt(i.stencilComponent), ie({ ref: "stencil", image: n.image, coordinates: o.coordinates, "stencil-coordinates": n.stencilCoordinates, transitions: n.transitionsOptions }, i.stencilProps, { onResize: n.onResize, onResizeEnd: n.onResizeEnd, onMove: n.onMove, onMoveEnd: n.onMoveEnd }), null, 16, ["image", "coordinates", "stencil-coordinates", "transitions", "onResize", "onResizeEnd", "onMove", "onMoveEnd"])), [[ee, o.imageLoaded]]), i.canvas ? (y(), x("canvas", fi, null, 512)) : Bt("", !0), i.canvas ? (y(), x("canvas", pi, null, 512)) : Bt("", !0)];
|
|
1540
|
-
}), _: 1 }, 8, ["class", "wheel-resize", "touch-resize", "touch-move", "mouse-move", "onMove", "onResize"]))], 6)], 2);
|
|
1537
|
+
return y(), x("div", { ref: "cropper", class: n.classes.cropper }, [f("div", { ref: "stretcher", class: n.classes.stretcher }, null, 2), f("div", { class: n.classes.boundaries, style: n.boundariesStyle }, [(y(), x(lt(i.backgroundWrapperComponent), { class: n.classes.cropperWrapper, "wheel-resize": n.settings.resizeImage.wheel, "touch-resize": n.settings.resizeImage.touch, "touch-move": n.settings.moveImage.touch, "mouse-move": n.settings.moveImage.mouse, onMove: n.onManipulateImage, onResize: n.onManipulateImage }, { default: A((function() {
|
|
1538
|
+
return [f("div", { class: n.classes.background, style: n.boundariesStyle }, null, 6), f("div", { class: n.classes.imageWrapper }, [f("img", { ref: "image", crossorigin: o.imageAttributes.crossOrigin, src: o.imageAttributes.src, class: n.classes.image, style: n.imageStyle, onMousedown: e[1] || (e[1] = ye((function() {
|
|
1539
|
+
}), ["prevent"])) }, null, 46, ["crossorigin", "src"])], 2), f("div", { class: n.classes.foreground, style: n.boundariesStyle }, null, 6), te((y(), x(lt(i.stencilComponent), ie({ ref: "stencil", image: n.image, coordinates: o.coordinates, "stencil-coordinates": n.stencilCoordinates, transitions: n.transitionsOptions }, i.stencilProps, { onResize: n.onResize, onResizeEnd: n.onResizeEnd, onMove: n.onMove, onMoveEnd: n.onMoveEnd }), null, 16, ["image", "coordinates", "stencil-coordinates", "transitions", "onResize", "onResizeEnd", "onMove", "onMoveEnd"])), [[ee, o.imageLoaded]]), i.canvas ? (y(), x("canvas", fi, null, 512)) : Bt("", !0), i.canvas ? (y(), x("canvas", pi, null, 512)) : Bt("", !0)];
|
|
1540
|
+
})), _: 1 }, 8, ["class", "wheel-resize", "touch-resize", "touch-move", "mouse-move", "onMove", "onResize"]))], 6)], 2);
|
|
1541
1541
|
};
|
|
1542
1542
|
const vi = { class: "sl-fixed sl-inset-0 sl-z-10 sl-w-screen sl-overflow-y-auto" }, bi = { class: "sl-flex sl-min-h-full sl-items-center sl-justify-center sl-p-4" }, wi = { class: "sl-flex sl-items-center sl-justify-between sl-px-6 sl-py-4 sl-border-b sl-border-gray-200 dark:sl-border-gray-700" }, yi = { class: "sl-relative sl-bg-gray-900 dark:sl-bg-gray-950" }, zi = { class: "sl-px-6 sl-py-4 sl-bg-gray-50 dark:sl-bg-gray-900 sl-border-t sl-border-gray-200 dark:sl-border-gray-700" }, xi = { class: "sl-flex sl-items-center sl-justify-center sl-gap-4 sl-mb-4" }, Ri = { class: "sl-flex sl-items-center sl-gap-2 sl-text-sm sl-text-gray-500 dark:sl-text-gray-400" }, Ai = { class: "sl-flex sl-justify-end sl-gap-3" }, Mi = /* @__PURE__ */ ze({
|
|
1543
1543
|
__name: "ImageCropperModal",
|
|
@@ -1641,11 +1641,10 @@ const vi = { class: "sl-fixed sl-inset-0 sl-z-10 sl-w-screen sl-overflow-y-auto"
|
|
|
1641
1641
|
"leave-from": "opacity-100",
|
|
1642
1642
|
"leave-to": "opacity-0"
|
|
1643
1643
|
}, {
|
|
1644
|
-
default: A(() => O[0] || (O[0] = [
|
|
1644
|
+
default: A(() => [...O[0] || (O[0] = [
|
|
1645
1645
|
z("div", { class: "sl-fixed sl-inset-0 sl-bg-black/50 dark:sl-bg-gray-900/80 sl-transition-opacity" }, null, -1)
|
|
1646
|
-
])),
|
|
1647
|
-
_: 1
|
|
1648
|
-
__: [0]
|
|
1646
|
+
])]),
|
|
1647
|
+
_: 1
|
|
1649
1648
|
}),
|
|
1650
1649
|
z("div", vi, [
|
|
1651
1650
|
z("div", bi, [
|
|
@@ -1760,11 +1759,10 @@ const vi = { class: "sl-fixed sl-inset-0 sl-z-10 sl-w-screen sl-overflow-y-auto"
|
|
|
1760
1759
|
outlined: !0,
|
|
1761
1760
|
onButtonClick: X
|
|
1762
1761
|
}, {
|
|
1763
|
-
default: A(() => O[2] || (O[2] = [
|
|
1762
|
+
default: A(() => [...O[2] || (O[2] = [
|
|
1764
1763
|
pt(" Cancel ", -1)
|
|
1765
|
-
])),
|
|
1766
|
-
_: 1
|
|
1767
|
-
__: [2]
|
|
1764
|
+
])]),
|
|
1765
|
+
_: 1
|
|
1768
1766
|
}),
|
|
1769
1767
|
f(Yt, {
|
|
1770
1768
|
theme: "primary",
|
|
@@ -1777,8 +1775,7 @@ const vi = { class: "sl-fixed sl-inset-0 sl-z-10 sl-w-screen sl-overflow-y-auto"
|
|
|
1777
1775
|
default: A(() => [
|
|
1778
1776
|
O[3] || (O[3] = pt(" Apply Crop ", -1))
|
|
1779
1777
|
]),
|
|
1780
|
-
_: 1
|
|
1781
|
-
__: [3]
|
|
1778
|
+
_: 1
|
|
1782
1779
|
}, 8, ["loading"])
|
|
1783
1780
|
])
|
|
1784
1781
|
])
|