@bagelink/vue 0.0.911 → 0.0.916
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Accordion.d.ts +12 -0
- package/dist/components/Accordion.d.ts.map +1 -0
- package/dist/components/AccordionItem.d.ts +34 -0
- package/dist/components/AccordionItem.d.ts.map +1 -0
- package/dist/components/Alert.d.ts +34 -0
- package/dist/components/Alert.d.ts.map +1 -0
- package/dist/components/Avatar.d.ts +36 -0
- package/dist/components/Avatar.d.ts.map +1 -0
- package/dist/components/Badge.d.ts +22 -0
- package/dist/components/Badge.d.ts.map +1 -0
- package/dist/components/BglVideo.d.ts +20 -0
- package/dist/components/BglVideo.d.ts.map +1 -0
- package/dist/components/Btn.d.ts +99 -0
- package/dist/components/Btn.d.ts.map +1 -0
- package/dist/components/Btn.vue.d.ts.map +1 -1
- package/dist/components/Card.d.ts +39 -0
- package/dist/components/Card.d.ts.map +1 -0
- package/dist/components/Carousel.d.ts +74 -0
- package/dist/components/Carousel.d.ts.map +1 -0
- package/dist/components/ComboBox.vue.d.ts +3 -3
- package/dist/components/Comments.vue.d.ts +2 -2
- package/dist/components/ContactSubmissions.vue.d.ts +2 -2
- package/dist/components/DataPreview.d.ts +42 -0
- package/dist/components/DataPreview.d.ts.map +1 -0
- package/dist/components/Drop.vue.d.ts +34 -0
- package/dist/components/Drop.vue.d.ts.map +1 -0
- package/dist/components/DropDown.vue.d.ts +17 -186
- package/dist/components/DropDown.vue.d.ts.map +1 -1
- package/dist/components/FileUploader.vue.d.ts +60 -0
- package/dist/components/FileUploader.vue.d.ts.map +1 -0
- package/dist/components/Flag.d.ts +20 -0
- package/dist/components/Flag.d.ts.map +1 -0
- package/dist/components/FormSchema.vue.d.ts +5 -4
- package/dist/components/LangText.vue.d.ts +2 -2
- package/dist/components/ListItem.d.ts +34 -0
- package/dist/components/ListItem.d.ts.map +1 -0
- package/dist/components/ListView.d.ts +13 -0
- package/dist/components/ListView.d.ts.map +1 -0
- package/dist/components/MapEmbed.d.ts +3 -0
- package/dist/components/MapEmbed.d.ts.map +1 -0
- package/dist/components/MaterialIcon.d.ts +26 -0
- package/dist/components/MaterialIcon.d.ts.map +1 -0
- package/dist/components/Modal.d.ts +46 -0
- package/dist/components/Modal.d.ts.map +1 -0
- package/dist/components/ModalBglForm.vue.d.ts +21 -20
- package/dist/components/ModalConfirm.d.ts +24 -0
- package/dist/components/ModalConfirm.d.ts.map +1 -0
- package/dist/components/ModalForm.d.ts +78 -0
- package/dist/components/ModalForm.d.ts.map +1 -0
- package/dist/components/NavBar.d.ts +64 -0
- package/dist/components/NavBar.d.ts.map +1 -0
- package/dist/components/PageTitle.d.ts +24 -0
- package/dist/components/PageTitle.d.ts.map +1 -0
- package/dist/components/PersonPreview.vue.d.ts +5 -4
- package/dist/components/PersonPreviewFormkit.vue.d.ts +4 -3
- package/dist/components/RTXEditor.vue.d.ts +3 -3
- package/dist/components/RouterWrapper.d.ts +3 -0
- package/dist/components/RouterWrapper.d.ts.map +1 -0
- package/dist/components/TabbedLayout.vue.d.ts +5 -4
- package/dist/components/TableSchema.d.ts +35 -0
- package/dist/components/TableSchema.d.ts.map +1 -0
- package/dist/components/TableSchema.vue.d.ts +4 -11
- package/dist/components/TableSchema.vue.d.ts.map +1 -1
- package/dist/components/Title.d.ts +42 -0
- package/dist/components/Title.d.ts.map +1 -0
- package/dist/components/TopBar.d.ts +12 -0
- package/dist/components/TopBar.d.ts.map +1 -0
- package/dist/components/charts/BarChart.vue.d.ts +2 -2
- package/dist/components/dashboard/Lineart.d.ts +20 -0
- package/dist/components/dashboard/Lineart.d.ts.map +1 -0
- package/dist/components/form/BglField.d.ts +25 -0
- package/dist/components/form/BglField.d.ts.map +1 -0
- package/dist/components/form/BglField.vue.d.ts +2 -6
- package/dist/components/form/BglField.vue.d.ts.map +1 -1
- package/dist/components/form/BglForm.d.ts +75 -0
- package/dist/components/form/BglForm.d.ts.map +1 -0
- package/dist/components/form/BglMultiStepForm.vue.d.ts +3 -21
- package/dist/components/form/BglMultiStepForm.vue.d.ts.map +1 -1
- package/dist/components/form/ItemRef.vue.d.ts +5 -3
- package/dist/components/form/ItemRef.vue.d.ts.map +1 -1
- package/dist/components/form/MaterialIcon.vue.d.ts +4 -3
- package/dist/components/form/PlainInputField.vue.d.ts +3 -3
- package/dist/components/form/inputs/CheckInput.d.ts +56 -0
- package/dist/components/form/inputs/CheckInput.d.ts.map +1 -0
- package/dist/components/form/inputs/Checkbox.d.ts +16 -0
- package/dist/components/form/inputs/Checkbox.d.ts.map +1 -0
- package/dist/components/form/inputs/ColorPicker.d.ts +48 -0
- package/dist/components/form/inputs/ColorPicker.d.ts.map +1 -0
- package/dist/components/form/inputs/CurrencyInput.vue.d.ts +3 -3
- package/dist/components/form/inputs/DateInput.d.ts +64 -0
- package/dist/components/form/inputs/DateInput.d.ts.map +1 -0
- package/dist/components/form/inputs/DatePicker.d.ts +33 -0
- package/dist/components/form/inputs/DatePicker.d.ts.map +1 -0
- package/dist/components/form/inputs/DatetimeInput.vue.d.ts +3 -3
- package/dist/components/form/inputs/DurationInput.vue.d.ts +3 -3
- package/dist/components/form/inputs/DynamicLinkField.vue.d.ts +3 -3
- package/dist/components/form/inputs/EmailInput.vue.d.ts +3 -3
- package/dist/components/form/inputs/FileUpload.d.ts +108 -0
- package/dist/components/form/inputs/FileUpload.d.ts.map +1 -0
- package/dist/components/form/inputs/FileUpload.vue.d.ts +2 -0
- package/dist/components/form/inputs/FileUpload.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/FloatInput.vue.d.ts +3 -3
- package/dist/components/form/inputs/IntInput.vue.d.ts +3 -3
- package/dist/components/form/inputs/JSONInput.d.ts +53 -0
- package/dist/components/form/inputs/JSONInput.d.ts.map +1 -0
- package/dist/components/form/inputs/LinkField.vue.d.ts +3 -3
- package/dist/components/form/inputs/Password.vue.d.ts +3 -3
- package/dist/components/form/inputs/PlainText.vue.d.ts +3 -3
- package/dist/components/form/inputs/RadioGroup.d.ts +42 -0
- package/dist/components/form/inputs/RadioGroup.d.ts.map +1 -0
- package/dist/components/form/inputs/RadioGroup.vue.d.ts +2 -6
- package/dist/components/form/inputs/RadioGroup.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/RadioPillsInput.d.ts +48 -0
- package/dist/components/form/inputs/RadioPillsInput.d.ts.map +1 -0
- package/dist/components/form/inputs/ReadOnlyInput.vue.d.ts +2 -2
- package/dist/components/form/inputs/RichText.d.ts +20 -0
- package/dist/components/form/inputs/RichText.d.ts.map +1 -0
- package/dist/components/form/inputs/RichText2/Toolbar.d.ts +22 -0
- package/dist/components/form/inputs/RichText2/Toolbar.d.ts.map +1 -0
- package/dist/components/form/inputs/RichText2/index.d.ts +24 -0
- package/dist/components/form/inputs/RichText2/index.d.ts.map +1 -0
- package/dist/components/form/inputs/RichTextEditor.vue.d.ts +3 -3
- package/dist/components/form/inputs/SelectField.vue.d.ts +6 -8
- package/dist/components/form/inputs/SelectField.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/SelectInput.d.ts +55 -0
- package/dist/components/form/inputs/SelectInput.d.ts.map +1 -0
- package/dist/components/form/inputs/SelectInput.vue.d.ts +2 -50
- package/dist/components/form/inputs/SelectInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/SignaturePad.d.ts +72 -0
- package/dist/components/form/inputs/SignaturePad.d.ts.map +1 -0
- package/dist/components/form/inputs/TableField.d.ts +45 -0
- package/dist/components/form/inputs/TableField.d.ts.map +1 -0
- package/dist/components/form/inputs/TelInput.d.ts +241 -0
- package/dist/components/form/inputs/TelInput.d.ts.map +1 -0
- package/dist/components/form/inputs/TextArea.vue.d.ts +3 -3
- package/dist/components/form/inputs/TextInput.d.ts +90 -0
- package/dist/components/form/inputs/TextInput.d.ts.map +1 -0
- package/dist/components/form/inputs/ToggleInput.d.ts +58 -0
- package/dist/components/form/inputs/ToggleInput.d.ts.map +1 -0
- package/dist/components/formkit/AddressArray.vue.d.ts +2 -2
- package/dist/components/formkit/BankDetailsArray.vue.d.ts +2 -2
- package/dist/components/formkit/ContactArrayFormKit.vue.d.ts +2 -2
- package/dist/components/formkit/FileUploader.vue.d.ts +2 -2
- package/dist/components/formkit/MiscFields.vue.d.ts +2 -2
- package/dist/components/formkit/Toggle.vue.d.ts +2 -2
- package/dist/components/layout/BottomMenu.d.ts +27 -0
- package/dist/components/layout/BottomMenu.d.ts.map +1 -0
- package/dist/components/layout/Layout.d.ts +58 -0
- package/dist/components/layout/Layout.d.ts.map +1 -0
- package/dist/components/layout/SidebarMenu.d.ts +38 -0
- package/dist/components/layout/SidebarMenu.d.ts.map +1 -0
- package/dist/components/layout/TabbedLayout.d.ts +42 -0
- package/dist/components/layout/TabbedLayout.d.ts.map +1 -0
- package/dist/components/layout/Tabs.d.ts +31 -0
- package/dist/components/layout/Tabs.d.ts.map +1 -0
- package/dist/components/layout/TabsBody.d.ts +23 -0
- package/dist/components/layout/TabsBody.d.ts.map +1 -0
- package/dist/components/layout/TabsNav.d.ts +35 -0
- package/dist/components/layout/TabsNav.d.ts.map +1 -0
- package/dist/components/whatsapp/form/MsgTemplate.vue.d.ts +4 -3
- package/dist/components/whatsapp/form/TextVariableExamples.vue.d.ts +2 -2
- package/dist/index.cjs +1828 -1568
- package/dist/index.mjs +1829 -1569
- package/dist/plugins/bagel.d.ts.map +1 -1
- package/dist/plugins/ripple.d.ts +4 -0
- package/dist/plugins/ripple.d.ts.map +1 -0
- package/dist/style.css +90 -107
- package/dist/utils/BagelFormUtils.d.ts +2 -30
- package/dist/utils/BagelFormUtils.d.ts.map +1 -1
- package/dist/utils/objects.d.ts +1 -0
- package/dist/vue.css +13814 -0
- package/package.json +4 -4
- package/src/components/Btn.vue +2 -1
- package/src/components/TableSchema.vue +9 -2
- package/src/components/form/inputs/SelectInput.vue +1 -1
- package/src/plugins/bagel.ts +2 -0
- package/src/plugins/ripple.ts +43 -0
- package/src/styles/buttons.css +84 -68
- package/dist/components/AddressSaerch.vue.d.ts +0 -7
- package/dist/components/AddressSaerch.vue.d.ts.map +0 -1
- package/dist/components/Popover.vue.d.ts +0 -10
- package/dist/components/Popover.vue.d.ts.map +0 -1
- package/dist/components/sortable/Animation.d.ts +0 -43
- package/dist/components/sortable/Animation.d.ts.map +0 -1
- package/dist/components/sortable/BrowserInfo.d.ts +0 -7
- package/dist/components/sortable/BrowserInfo.d.ts.map +0 -1
- package/dist/components/sortable/EventDispatcher.d.ts +0 -13
- package/dist/components/sortable/EventDispatcher.d.ts.map +0 -1
- package/dist/components/sortable/PluginManager.d.ts +0 -27
- package/dist/components/sortable/PluginManager.d.ts.map +0 -1
- package/dist/components/sortable/Sortable.d.ts +0 -81
- package/dist/components/sortable/Sortable.d.ts.map +0 -1
- package/dist/components/sortable/index.d.ts +0 -5
- package/dist/components/sortable/index.d.ts.map +0 -1
- package/dist/components/sortable/utils.d.ts +0 -49
- package/dist/components/sortable/utils.d.ts.map +0 -1
- package/dist/composables/drag-n-drop/useDraggable.d.ts +0 -2
- package/dist/composables/drag-n-drop/useDraggable.d.ts.map +0 -1
- package/dist/plugins/drag-n-drop/draggable.d.ts +0 -4
- package/dist/plugins/drag-n-drop/draggable.d.ts.map +0 -1
- package/dist/plugins/drag-n-drop/droppable.d.ts +0 -4
- package/dist/plugins/drag-n-drop/droppable.d.ts.map +0 -1
- package/dist/plugins/drag-n-drop/index.d.ts +0 -5
- package/dist/plugins/drag-n-drop/index.d.ts.map +0 -1
- package/dist/plugins/drag-n-drop/useDraggable.d.ts +0 -8
- package/dist/plugins/drag-n-drop/useDraggable.d.ts.map +0 -1
- package/dist/plugins/drag-n-drop/useDroppable.d.ts +0 -7
- package/dist/plugins/drag-n-drop/useDroppable.d.ts.map +0 -1
- package/dist/types/materialIcon.d.ts +0 -2
- package/dist/types/materialIcon.d.ts.map +0 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bagelink/vue",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.916",
|
|
5
5
|
"description": "Bagel core sdk packages",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Neveh Allon",
|
|
@@ -116,11 +116,11 @@
|
|
|
116
116
|
"@tiptap/vue-3": "^2.10.3",
|
|
117
117
|
"@vuepic/vue-datepicker": "^8.8.1",
|
|
118
118
|
"@vueuse/core": "^12.0.0",
|
|
119
|
-
"axios": "^1.7.
|
|
119
|
+
"axios": "^1.7.9",
|
|
120
120
|
"floating-vue": "^5.2.2",
|
|
121
|
-
"libphonenumber-js": "1.11.
|
|
121
|
+
"libphonenumber-js": "1.11.16",
|
|
122
122
|
"signature_pad": "^5.0.4",
|
|
123
|
-
"type-fest": "^4.
|
|
123
|
+
"type-fest": "^4.30.0"
|
|
124
124
|
},
|
|
125
125
|
"scripts": {
|
|
126
126
|
"dev": "tsx watch src/index.ts",
|
package/src/components/Btn.vue
CHANGED
|
@@ -93,7 +93,8 @@ const computedBackgroundColor = $computed(
|
|
|
93
93
|
|
|
94
94
|
<template>
|
|
95
95
|
<component
|
|
96
|
-
:is="isComponent"
|
|
96
|
+
:is="isComponent"
|
|
97
|
+
v-ripple :href="href" :to="to" :type="type" :role="role" :disabled="disabled" :class="{
|
|
97
98
|
'bgl_btn-icon': icon && !slots.default && !value,
|
|
98
99
|
'bgl_btn': !icon || slots.default || value,
|
|
99
100
|
thin,
|
|
@@ -33,6 +33,7 @@ const emit = defineEmits<{
|
|
|
33
33
|
'update:selectedItems': [string[]]
|
|
34
34
|
'orderBy': [EmitOrderT]
|
|
35
35
|
'select': [T]
|
|
36
|
+
'lastItemVisible': []
|
|
36
37
|
}>()
|
|
37
38
|
|
|
38
39
|
const slots = useSlots()
|
|
@@ -190,12 +191,18 @@ function toggleSelectAll(event: Event) {
|
|
|
190
191
|
const lastItem = $ref<HTMLTableRowElement | null>()
|
|
191
192
|
let observer: IntersectionObserver | undefined
|
|
192
193
|
|
|
193
|
-
|
|
194
|
+
function registerLastItemObserver() {
|
|
194
195
|
if (onLastItemVisible === undefined) return
|
|
195
196
|
observer = new IntersectionObserver(([entry]) => {
|
|
196
|
-
if (entry.isIntersecting && computedData.value.length)
|
|
197
|
+
if (entry.isIntersecting && computedData.value.length) {
|
|
198
|
+
void onLastItemVisible()
|
|
199
|
+
}
|
|
197
200
|
})
|
|
198
201
|
if (lastItem) observer.observe(lastItem)
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
onMounted(() => {
|
|
205
|
+
registerLastItemObserver()
|
|
199
206
|
})
|
|
200
207
|
|
|
201
208
|
onUnmounted(() => { observer?.disconnect() })
|
package/src/plugins/bagel.ts
CHANGED
|
@@ -5,6 +5,7 @@ import { inject } from 'vue'
|
|
|
5
5
|
import Lightbox from '../components/lightbox'
|
|
6
6
|
import { useLang } from '../utils'
|
|
7
7
|
import clickOutside from '../utils/clickOutside'
|
|
8
|
+
import ripple from './ripple'
|
|
8
9
|
|
|
9
10
|
export const bagelInjectionKey = Symbol('bagel') as InjectionKey<Bagel>
|
|
10
11
|
export const i18nTInjectionKey = Symbol('bagel') as InjectionKey<(key: string) => string>
|
|
@@ -37,6 +38,7 @@ export const BagelVue: Plugin = {
|
|
|
37
38
|
install: (app, options: BagelOptions) => {
|
|
38
39
|
const bagel = new Bagel({ host: options.host, onError: options.onError })
|
|
39
40
|
app.directive('click-outside', clickOutside)
|
|
41
|
+
app.directive('ripple', ripple)
|
|
40
42
|
app.use(Lightbox)
|
|
41
43
|
app.use(FloatingVue, {
|
|
42
44
|
themes: {
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import type { Directive } from 'vue'
|
|
2
|
+
|
|
3
|
+
const ripple: Directive<HTMLElement> = {
|
|
4
|
+
mounted(el: HTMLElement) {
|
|
5
|
+
el.style.position = 'relative'
|
|
6
|
+
el.style.overflow = 'hidden'
|
|
7
|
+
|
|
8
|
+
const clickHandler = (e: MouseEvent) => {
|
|
9
|
+
const rect = el.getBoundingClientRect()
|
|
10
|
+
const size = Math.max(rect.width, rect.height)
|
|
11
|
+
const ripple = document.createElement('span')
|
|
12
|
+
|
|
13
|
+
ripple.className = 'ripple'
|
|
14
|
+
Object.assign(ripple.style, {
|
|
15
|
+
width: `${size}px`,
|
|
16
|
+
height: `${size}px`,
|
|
17
|
+
left: `${e.clientX - rect.left - size / 2}px`,
|
|
18
|
+
top: `${e.clientY - rect.top - size / 2}px`,
|
|
19
|
+
position: 'absolute',
|
|
20
|
+
borderRadius: '50%',
|
|
21
|
+
transform: 'scale(0)',
|
|
22
|
+
background: 'rgba(0, 0, 0, 0.3)',
|
|
23
|
+
pointerEvents: 'none',
|
|
24
|
+
animation: 'rippleEffect 0.6s ease-out',
|
|
25
|
+
})
|
|
26
|
+
|
|
27
|
+
el.appendChild(ripple)
|
|
28
|
+
// setTimeout(() => { ripple.remove() }, 600)
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
(el as any).__rippleClickHandler = clickHandler
|
|
32
|
+
el.addEventListener('mousedown', clickHandler)
|
|
33
|
+
},
|
|
34
|
+
unmounted(el: HTMLElement) {
|
|
35
|
+
const clickHandler = (el as any).__rippleClickHandler
|
|
36
|
+
if (clickHandler) {
|
|
37
|
+
el.removeEventListener('mousedown', clickHandler)
|
|
38
|
+
delete (el as any).__rippleClickHandler
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export default ripple
|
package/src/styles/buttons.css
CHANGED
|
@@ -1,116 +1,132 @@
|
|
|
1
1
|
.bgl_btn,
|
|
2
2
|
.bgl_flatBtn,
|
|
3
3
|
.bgl_btn-icon {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
4
|
+
font-family: inherit;
|
|
5
|
+
white-space: nowrap;
|
|
6
|
+
cursor: pointer;
|
|
7
|
+
box-sizing: border-box;
|
|
8
|
+
user-select: none;
|
|
9
|
+
border: none;
|
|
10
|
+
transition: var(--bgl-transition);
|
|
11
|
+
border-radius: var(--btn-border-radius);
|
|
12
|
+
line-height: var(--btn-height);
|
|
13
|
+
font-size: var(--input-font-size);
|
|
14
|
+
display: inline-block;
|
|
15
|
+
height: var(--btn-height);
|
|
16
|
+
padding: 0;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
.btn-close {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
20
|
+
margin-top: -20px;
|
|
21
|
+
margin-inline-end: -20px;
|
|
22
|
+
margin-inline-start: auto;
|
|
23
|
+
margin-bottom: 15px;
|
|
24
|
+
transition: var(--bgl-transition);
|
|
25
|
+
height: 30px;
|
|
26
|
+
width: 30px;
|
|
27
|
+
opacity: 0.6;
|
|
28
|
+
cursor: pointer;
|
|
29
|
+
border-radius: 100%;
|
|
30
|
+
outline: 2px solid transparent;
|
|
31
|
+
display: flex;
|
|
32
|
+
align-items: center;
|
|
33
|
+
justify-content: center;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
.btn-close:hover {
|
|
37
|
-
|
|
38
|
-
|
|
37
|
+
background: var(--bgl-gray-light);
|
|
38
|
+
opacity: 1;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
.btn-close:active {
|
|
42
|
-
|
|
42
|
+
background: var(--bgl-gray);
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
.btn-close::before {
|
|
46
|
-
|
|
47
|
-
|
|
46
|
+
content: 'close';
|
|
47
|
+
font-family: 'Material Symbols Outlined', serif;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
.bgl_btn.thin {
|
|
51
|
-
|
|
52
|
-
|
|
51
|
+
height: calc(var(--btn-height) * 0.7);
|
|
52
|
+
line-height: calc(var(--btn-height) * 0.7);
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
.hover {
|
|
56
|
-
|
|
57
|
-
|
|
56
|
+
cursor: pointer;
|
|
57
|
+
transition: all 400ms ease;
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
.hover:hover {
|
|
61
|
-
|
|
61
|
+
filter: brightness(90%);
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
.hover:active {
|
|
65
|
-
|
|
65
|
+
filter: brightness(80%);
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
.border {
|
|
69
|
-
|
|
69
|
+
border: 1px solid var(--border-color);
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
.border-primary {
|
|
73
|
-
|
|
73
|
+
border: 1px solid var(--bgl-primary);
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
.rotate-270 {
|
|
77
|
-
|
|
77
|
+
transform: rotate(270deg);
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
.rotate-180 {
|
|
81
|
-
|
|
81
|
+
transform: rotate(180deg);
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
.rotate-90 {
|
|
85
|
-
|
|
85
|
+
transform: rotate(90deg);
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
.rotate-0 {
|
|
89
|
-
|
|
89
|
+
transform: rotate(0deg);
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
@media screen and (max-width: 910px) {
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
}
|
|
93
|
+
.bgl_btn {
|
|
94
|
+
padding: 0 20px;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.m_border {
|
|
98
|
+
border: 1px solid var(--border-color);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.m_rotate-270 {
|
|
102
|
+
transform: rotate(270deg);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.m_rotate-180 {
|
|
106
|
+
transform: rotate(180deg);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.m_rotate-90 {
|
|
110
|
+
transform: rotate(90deg);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.m_rotate-0 {
|
|
114
|
+
transform: rotate(0deg);
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.ripple {
|
|
119
|
+
position: absolute;
|
|
120
|
+
border-radius: 50%;
|
|
121
|
+
transform: scale(0);
|
|
122
|
+
background: rgba(0, 0, 0, 0.3);
|
|
123
|
+
pointer-events: none;
|
|
124
|
+
animation: rippleEffect 0.6s ease-out;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
@keyframes rippleEffect {
|
|
128
|
+
to {
|
|
129
|
+
transform: scale(4);
|
|
130
|
+
opacity: 0;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
2
|
-
addressSelected: (...args: any[]) => void;
|
|
3
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>> & {
|
|
4
|
-
onAddressSelected?: ((...args: any[]) => any) | undefined;
|
|
5
|
-
}, {}, {}>;
|
|
6
|
-
export default _default;
|
|
7
|
-
//# sourceMappingURL=AddressSaerch.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AddressSaerch.vue.d.ts","sourceRoot":"","sources":["../../src/components/AddressSaerch.vue"],"names":[],"mappings":";;;;;AAwIA,wBAMG"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
|
|
2
|
-
trigger?(_: {}): any;
|
|
3
|
-
}>;
|
|
4
|
-
export default _default;
|
|
5
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
6
|
-
new (): {
|
|
7
|
-
$slots: S;
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
//# sourceMappingURL=Popover.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Popover.vue.d.ts","sourceRoot":"","sources":["../../src/components/Popover.vue"],"names":[],"mappings":"AAoBA;AAEA,OAAO,6BAA6B,CAAC;;;;AAmHrC,wBAAwG;AACxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
interface Rect {
|
|
2
|
-
top: number;
|
|
3
|
-
left: number;
|
|
4
|
-
bottom: number;
|
|
5
|
-
right: number;
|
|
6
|
-
width: number;
|
|
7
|
-
height: number;
|
|
8
|
-
}
|
|
9
|
-
interface AnimationOptions {
|
|
10
|
-
animation: number;
|
|
11
|
-
easing?: string;
|
|
12
|
-
[key: string]: any;
|
|
13
|
-
}
|
|
14
|
-
interface AnimatedHTMLElement extends HTMLElement {
|
|
15
|
-
thisAnimationDuration?: number | null;
|
|
16
|
-
fromRect?: Rect | null;
|
|
17
|
-
prevFromRect?: Rect | null;
|
|
18
|
-
prevToRect?: Rect | null;
|
|
19
|
-
toRect?: Rect | null;
|
|
20
|
-
animationResetTimer?: number;
|
|
21
|
-
animationTime?: number;
|
|
22
|
-
animated?: number | boolean;
|
|
23
|
-
animatingX?: boolean;
|
|
24
|
-
animatingY?: boolean;
|
|
25
|
-
}
|
|
26
|
-
interface AnimationState {
|
|
27
|
-
target: AnimatedHTMLElement;
|
|
28
|
-
rect: Rect;
|
|
29
|
-
}
|
|
30
|
-
interface AnimationManagerContext {
|
|
31
|
-
options: AnimationOptions;
|
|
32
|
-
el: HTMLElement;
|
|
33
|
-
forRepaintDummy?: any;
|
|
34
|
-
}
|
|
35
|
-
export default function AnimationStateManager(): {
|
|
36
|
-
captureAnimationState(this: AnimationManagerContext): void;
|
|
37
|
-
addAnimationState(this: AnimationManagerContext, state: AnimationState): void;
|
|
38
|
-
removeAnimationState(this: AnimationManagerContext, target: AnimatedHTMLElement): void;
|
|
39
|
-
animateAll(this: AnimationManagerContext, callback?: () => void): void;
|
|
40
|
-
animate(this: AnimationManagerContext, target: AnimatedHTMLElement, currentRect: Rect, toRect: Rect, duration: number): void;
|
|
41
|
-
};
|
|
42
|
-
export {};
|
|
43
|
-
//# sourceMappingURL=Animation.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Animation.d.ts","sourceRoot":"","sources":["../../../src/components/sortable/Animation.ts"],"names":[],"mappings":"AAGA,UAAU,IAAI;IACb,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,MAAM,CAAA;IACd,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;CACd;AAED,UAAU,gBAAgB;IACzB,SAAS,EAAE,MAAM,CAAA;IACjB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAClB;AAED,UAAU,mBAAoB,SAAQ,WAAW;IAChD,qBAAqB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACrC,QAAQ,CAAC,EAAE,IAAI,GAAG,IAAI,CAAA;IACtB,YAAY,CAAC,EAAE,IAAI,GAAG,IAAI,CAAA;IAC1B,UAAU,CAAC,EAAE,IAAI,GAAG,IAAI,CAAA;IACxB,MAAM,CAAC,EAAE,IAAI,GAAG,IAAI,CAAA;IACpB,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAC5B,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;IAC3B,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,UAAU,CAAC,EAAE,OAAO,CAAA;CACpB;AAED,UAAU,cAAc;IACvB,MAAM,EAAE,mBAAmB,CAAA;IAC3B,IAAI,EAAE,IAAI,CAAA;CACV;AAED,UAAU,uBAAuB;IAChC,OAAO,EAAE,gBAAgB,CAAA;IACzB,EAAE,EAAE,WAAW,CAAA;IACf,eAAe,CAAC,EAAE,GAAG,CAAA;CACrB;AAED,MAAM,CAAC,OAAO,UAAU,qBAAqB;gCAKf,uBAAuB;4BA2B3B,uBAAuB,SAAS,cAAc;+BAI3C,uBAAuB,UAAU,mBAAmB;qBAO9D,uBAAuB,aAAa,MAAM,IAAI;kBAsFxD,uBAAuB,UACrB,mBAAmB,eACd,IAAI,UACT,IAAI,YACF,MAAM;EAwClB"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export declare const IE11OrLess: boolean;
|
|
2
|
-
export declare const Edge: boolean;
|
|
3
|
-
export declare const FireFox: boolean;
|
|
4
|
-
export declare const Safari: boolean;
|
|
5
|
-
export declare const IOS: boolean;
|
|
6
|
-
export declare const ChromeForAndroid: boolean;
|
|
7
|
-
//# sourceMappingURL=BrowserInfo.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BrowserInfo.d.ts","sourceRoot":"","sources":["../../../src/components/sortable/BrowserInfo.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,UAAU,EAAE,OAAgI,CAAA;AACzJ,eAAO,MAAM,IAAI,EAAE,OAA0C,CAAA;AAC7D,eAAO,MAAM,OAAO,EAAE,OAA8C,CAAA;AACpE,eAAO,MAAM,MAAM,EAAE,OAAoE,CAAA;AACzF,eAAO,MAAM,GAAG,EAAE,OAAuD,CAAA;AACzE,eAAO,MAAM,gBAAgB,EAAE,OAAqF,CAAA"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export interface DispatchEventParams {
|
|
2
|
-
putSortable: any;
|
|
3
|
-
cloneEl: HTMLElement | null;
|
|
4
|
-
targetEl: HTMLElement | null;
|
|
5
|
-
rootEl: HTMLElement | null;
|
|
6
|
-
oldIndex: number | null;
|
|
7
|
-
oldDraggableIndex: number | null;
|
|
8
|
-
newIndex: number | null;
|
|
9
|
-
newDraggableIndex: number | null;
|
|
10
|
-
[key: string]: any;
|
|
11
|
-
}
|
|
12
|
-
export default function dispatchEvent(detail: DispatchEventParams): void;
|
|
13
|
-
//# sourceMappingURL=EventDispatcher.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"EventDispatcher.d.ts","sourceRoot":"","sources":["../../../src/components/sortable/EventDispatcher.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,mBAAmB;IACnC,WAAW,EAAE,GAAG,CAAA;IAChB,OAAO,EAAE,WAAW,GAAG,IAAI,CAAA;IAC3B,QAAQ,EAAE,WAAW,GAAG,IAAI,CAAA;IAC5B,MAAM,EAAE,WAAW,GAAG,IAAI,CAAA;IAC1B,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAA;IACvB,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAA;IAChC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAA;IACvB,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAA;IAChC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAClB;AAED,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,MAAM,EAAE,mBAAmB,QAGhE"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
interface Plugin {
|
|
2
|
-
pluginName: string;
|
|
3
|
-
initializeByDefault?: boolean;
|
|
4
|
-
optionListeners?: {
|
|
5
|
-
[key: string]: (value: any) => any;
|
|
6
|
-
};
|
|
7
|
-
eventProperties?: (name: string) => any;
|
|
8
|
-
new (sortable: any, el: HTMLElement, options: any): any;
|
|
9
|
-
}
|
|
10
|
-
interface Sortable {
|
|
11
|
-
options: any;
|
|
12
|
-
[key: string]: any;
|
|
13
|
-
}
|
|
14
|
-
declare const _default: {
|
|
15
|
-
eventCanceled: boolean;
|
|
16
|
-
mount(plugin: Plugin): void;
|
|
17
|
-
pluginEvent(eventName: string, sortable: Sortable, evt: any): void;
|
|
18
|
-
initializePlugins(sortable: Sortable, el: HTMLElement, defaults: {
|
|
19
|
-
[key: string]: any;
|
|
20
|
-
}, options: any): void;
|
|
21
|
-
getEventProperties(name: string, sortable: Sortable): {
|
|
22
|
-
[key: string]: any;
|
|
23
|
-
};
|
|
24
|
-
modifyOption(sortable: Sortable, name: string, value: any): any;
|
|
25
|
-
};
|
|
26
|
-
export default _default;
|
|
27
|
-
//# sourceMappingURL=PluginManager.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PluginManager.d.ts","sourceRoot":"","sources":["../../../src/components/sortable/PluginManager.ts"],"names":[],"mappings":"AAAA,UAAU,MAAM;IACf,UAAU,EAAE,MAAM,CAAA;IAClB,mBAAmB,CAAC,EAAE,OAAO,CAAA;IAC7B,eAAe,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,CAAC,KAAK,EAAE,GAAG,KAAK,GAAG,CAAA;KAAE,CAAA;IACxD,eAAe,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,GAAG,CAAA;IACvC,KAAK,QAAQ,EAAE,GAAG,EAAE,EAAE,EAAE,WAAW,EAAE,OAAO,EAAE,GAAG,GAAG,GAAG,CAAA;CACvD;AAED,UAAU,QAAQ;IACjB,OAAO,EAAE,GAAG,CAAA;IACZ,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAClB;;;kBAUc,MAAM;2BAeG,MAAM,YAAY,QAAQ,OAAO,GAAG;gCAwBhD,QAAQ,MACd,WAAW,YACL;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,WACvB,GAAG;6BAuBY,MAAM,YAAY,QAAQ;;;2BAY5B,QAAQ,QAAQ,MAAM,SAAS,GAAG;;AA/E1D,wBAmGC"}
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
import { clone, closest, css, extend, find, getChild, index, off, on, throttle, toggleClass } from './utils';
|
|
2
|
-
interface SortableOptions {
|
|
3
|
-
group?: string | {
|
|
4
|
-
name: string;
|
|
5
|
-
pull?: boolean | 'clone' | any[];
|
|
6
|
-
put?: boolean | any[];
|
|
7
|
-
};
|
|
8
|
-
sort?: boolean;
|
|
9
|
-
delay?: number;
|
|
10
|
-
delayOnTouchOnly?: boolean;
|
|
11
|
-
touchStartThreshold?: number;
|
|
12
|
-
disabled?: boolean;
|
|
13
|
-
store?: any;
|
|
14
|
-
animation?: number;
|
|
15
|
-
easing?: string;
|
|
16
|
-
handle?: string;
|
|
17
|
-
filter?: string | ((evt: Event, target: HTMLElement, sortable: any) => boolean);
|
|
18
|
-
preventOnFilter?: boolean;
|
|
19
|
-
draggable?: string;
|
|
20
|
-
dataIdAttr?: string;
|
|
21
|
-
ghostClass?: string;
|
|
22
|
-
chosenClass?: string;
|
|
23
|
-
dragClass?: string;
|
|
24
|
-
swapThreshold?: number;
|
|
25
|
-
invertSwap?: boolean;
|
|
26
|
-
invertedSwapThreshold?: number;
|
|
27
|
-
direction?: 'horizontal' | 'vertical' | ((evt: Event, target: HTMLElement, dragEl: HTMLElement) => 'horizontal' | 'vertical');
|
|
28
|
-
forceFallback?: boolean;
|
|
29
|
-
fallbackClass?: string;
|
|
30
|
-
fallbackOnBody?: boolean;
|
|
31
|
-
fallbackTolerance?: number;
|
|
32
|
-
dragoverBubble?: boolean;
|
|
33
|
-
removeCloneOnHide?: boolean;
|
|
34
|
-
emptyInsertThreshold?: number;
|
|
35
|
-
setData?: (dataTransfer: DataTransfer, dragEl: HTMLElement) => void;
|
|
36
|
-
onChoose?: (evt: Event) => void;
|
|
37
|
-
onUnchoose?: (evt: Event) => void;
|
|
38
|
-
onStart?: (evt: Event) => void;
|
|
39
|
-
onEnd?: (evt: Event) => void;
|
|
40
|
-
onAdd?: (evt: Event) => void;
|
|
41
|
-
onUpdate?: (evt: Event) => void;
|
|
42
|
-
onSort?: (evt: Event) => void;
|
|
43
|
-
onRemove?: (evt: Event) => void;
|
|
44
|
-
onFilter?: (evt: Event) => void;
|
|
45
|
-
onMove?: (evt: Event, originalEvent: Event) => boolean | number | void;
|
|
46
|
-
onClone?: (evt: Event) => void;
|
|
47
|
-
onChange?: (evt: Event) => void;
|
|
48
|
-
}
|
|
49
|
-
/**
|
|
50
|
-
* @class Sortable
|
|
51
|
-
* @param {HTMLElement} el
|
|
52
|
-
* @param {object} [options]
|
|
53
|
-
*/
|
|
54
|
-
declare function Sortable(el: HTMLElement, options: SortableOptions): void;
|
|
55
|
-
declare namespace Sortable {
|
|
56
|
-
var utils: {
|
|
57
|
-
on: typeof on;
|
|
58
|
-
off: typeof off;
|
|
59
|
-
css: typeof css;
|
|
60
|
-
find: typeof find;
|
|
61
|
-
is(el: any, selector: any): boolean;
|
|
62
|
-
extend: typeof extend;
|
|
63
|
-
throttle: typeof throttle;
|
|
64
|
-
closest: typeof closest;
|
|
65
|
-
toggleClass: typeof toggleClass;
|
|
66
|
-
clone: typeof clone;
|
|
67
|
-
index: typeof index;
|
|
68
|
-
nextTick: typeof _nextTick;
|
|
69
|
-
cancelNextTick: typeof _cancelNextTick;
|
|
70
|
-
detectDirection: (el: HTMLElement, options: any) => "horizontal" | "vertical";
|
|
71
|
-
getChild: typeof getChild;
|
|
72
|
-
expando: string;
|
|
73
|
-
};
|
|
74
|
-
var get: (element: any) => any;
|
|
75
|
-
var mount: (...plugins: any[]) => void;
|
|
76
|
-
var create: (el: HTMLElement, options: SortableOptions) => any;
|
|
77
|
-
}
|
|
78
|
-
declare function _nextTick(fn: any): NodeJS.Timeout;
|
|
79
|
-
declare function _cancelNextTick(id: any): void;
|
|
80
|
-
export default Sortable;
|
|
81
|
-
//# sourceMappingURL=Sortable.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Sortable.d.ts","sourceRoot":"","sources":["../../../src/components/sortable/Sortable.ts"],"names":[],"mappings":"AAeA,UAAU,eAAe;IACxB,KAAK,CAAC,EAAE,MAAM,GAAG;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,OAAO,GAAG,OAAO,GAAG,GAAG,EAAE,CAAC;QAAC,GAAG,CAAC,EAAE,OAAO,GAAG,GAAG,EAAE,CAAA;KAAE,CAAA;IAC1F,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,GAAG,CAAA;IACX,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,MAAM,GAAG,CAAC,CAAC,GAAG,EAAE,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,QAAQ,EAAE,GAAG,KAAK,OAAO,CAAC,CAAA;IAC/E,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,WAAW,CAAC,EAAE,M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AAC,EAAE,CAAC,GAAG,EAAE,KAAK,KAAK,IAAI,CAAA;IAC/B,MAAM,CAAC,EAAE,CAAC,GAAG,EAAE,KAAK,EAAE,aAAa,EAAE,KAAK,KAAK,OAAO,GAAG,MAAM,GAAG,IAAI,CAAA;IACtE,OAAO,CAAC,EAAE,CAAC,GAAG,EAAE,KAAK,KAAK,IAAI,CAAA;IAC9B,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,KAAK,KAAK,IAAI,CAAA;CAC/B;AAED,OAAO,EACN,KAAK,EACL,OAAO,EACP,GAAG,EAEH,MAAM,EACN,IAAI,EACJ,QAAQ,EAMR,KAAK,EAIL,GAAG,EACH,EAAE,EAEF,QAAQ,EACR,WAAW,EACX,MAAM,SAAS,CAAA;AAkThB;;;;GAIG;AACH,iBAAS,QAAQ,CAAC,EAAE,EAAE,WAAW,EAAE,OAAO,EAAE,eAAe,QA+F1D;kBA/FQ,QAAQ;;;;;;;;;;;;;;;8BA/LsB,WAAW,WAAW,GAAG;;;;;;qBAywDhC,WAAW,WAAW,eAAe;;AAtErE,iBAAS,SAAS,CAAC,EAAE,KAAA,kBAEpB;AAED,iBAAS,eAAe,CAAC,EAAE,KAAA,QAE1B;AAoED,eAAe,QAAQ,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/sortable/index.ts"],"names":[],"mappings":";iBAkCc,GAAG;;AADjB,wBAIC"}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
declare function on(el: HTMLElement, event: string, fn: EventListenerOrEventListenerObject): void;
|
|
2
|
-
declare function off(el: HTMLElement, event: string, fn: EventListenerOrEventListenerObject): void;
|
|
3
|
-
interface HTMLElementWithMatches extends HTMLElement {
|
|
4
|
-
msMatchesSelector?: (selector: string) => boolean;
|
|
5
|
-
webkitMatchesSelector?: (selector: string) => boolean;
|
|
6
|
-
}
|
|
7
|
-
declare function matches(el: HTMLElementWithMatches, selector: string): boolean;
|
|
8
|
-
interface NodeWithHost extends Node {
|
|
9
|
-
host?: Node;
|
|
10
|
-
}
|
|
11
|
-
declare function getParentOrHost(el: NodeWithHost): Node | null;
|
|
12
|
-
declare function closest(el: Node | null, selector: string | null, ctx?: Node, includeCTX?: boolean): Node | null;
|
|
13
|
-
declare function toggleClass(el: HTMLElement, name: string, state: boolean): void;
|
|
14
|
-
declare function css(el: HTMLElement, prop?: string, val?: any): any;
|
|
15
|
-
declare function matrix(el: HTMLElement | string, selfOnly?: boolean): DOMMatrix | null;
|
|
16
|
-
declare function find(ctx: HTMLElement | null, tagName: string, iterator?: (el: Element, index: number) => void): Element[];
|
|
17
|
-
declare function getWindowScrollingElement(): Element;
|
|
18
|
-
interface Rect {
|
|
19
|
-
top: number;
|
|
20
|
-
left: number;
|
|
21
|
-
bottom: number;
|
|
22
|
-
right: number;
|
|
23
|
-
width: number;
|
|
24
|
-
height: number;
|
|
25
|
-
}
|
|
26
|
-
declare function getRect(el: HTMLElement | Window, relativeToContainingBlock?: boolean, relativeToNonStaticParent?: boolean, undoScale?: boolean, container?: HTMLElement): Rect | undefined;
|
|
27
|
-
declare function getContentRect(el: HTMLElement): Rect;
|
|
28
|
-
declare function isScrolledPast(el: HTMLElement, elSide: 'top' | 'left' | 'right' | 'bottom', parentSide: 'top' | 'left' | 'right' | 'bottom'): HTMLElement | false;
|
|
29
|
-
declare function getChild(el: HTMLElement, childNum: number, options: any, includeDragEl?: boolean): HTMLElement | null;
|
|
30
|
-
declare function lastChild(el: HTMLElement, selector?: string): Element | null;
|
|
31
|
-
declare function index(el: Element, selector?: string): number;
|
|
32
|
-
declare function getRelativeScrollOffset(el: HTMLElement): [number, number];
|
|
33
|
-
declare function indexOfObject(arr: any[], obj: object): number;
|
|
34
|
-
declare function getParentAutoScrollElement(el: HTMLElement | null, includeSelf: boolean): Element;
|
|
35
|
-
declare function extend<T, U>(dst: T, src: U): T & U;
|
|
36
|
-
declare function isRectEqual(rect1: Rect, rect2: Rect): boolean;
|
|
37
|
-
declare function throttle(callback: (...args: any[]) => void, ms: number): (...args: any[]) => void;
|
|
38
|
-
declare function cancelThrottle(): void;
|
|
39
|
-
declare function scrollBy(el: HTMLElement, x: number, y: number): void;
|
|
40
|
-
declare function clone(el: Element): Node;
|
|
41
|
-
declare function setRect(el: HTMLElement, rect: Rect): void;
|
|
42
|
-
declare function unsetRect(el: HTMLElement): void;
|
|
43
|
-
declare function getChildContainingRectFromElement(container: HTMLElement, options: any, ghostEl: HTMLElement): Rect & {
|
|
44
|
-
x: number;
|
|
45
|
-
y: number;
|
|
46
|
-
};
|
|
47
|
-
declare const expando: string;
|
|
48
|
-
export { cancelThrottle, clone, closest, css, expando, extend, find, getChild, getChildContainingRectFromElement, getContentRect, getParentAutoScrollElement, getParentOrHost, getRect, getRelativeScrollOffset, getWindowScrollingElement, index, indexOfObject, isRectEqual, isScrolledPast, lastChild, matches, matrix, off, on, scrollBy, setRect, throttle, toggleClass, unsetRect, };
|
|
49
|
-
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/components/sortable/utils.ts"],"names":[],"mappings":"AAQA,iBAAS,EAAE,CACV,EAAE,EAAE,WAAW,EACf,KAAK,EAAE,MAAM,EACb,EAAE,EAAE,kCAAkC,GACpC,IAAI,CAEN;AAED,iBAAS,GAAG,CACX,EAAE,EAAE,WAAW,EACf,KAAK,EAAE,MAAM,EACb,EAAE,EAAE,kCAAkC,GACpC,IAAI,CAEN;AAED,UAAU,sBAAuB,SAAQ,WAAW;IACnD,iBAAiB,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,OAAO,CAAA;IACjD,qBAAqB,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,OAAO,CAAA;CACrD;AAED,iBAAS,OAAO,CAAC,EAAE,EAAE,sBAAsB,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAs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AG,EAAE,KAAK,IAAI,EAClC,EAAE,EAAE,MAAM,GACR,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,IAAI,CAc1B;AAED,iBAAS,cAAc,SAKtB;AAED,iBAAS,QAAQ,CAAC,EAAE,EAAE,WAAW,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,IAAI,CAG7D;AAED,iBAAS,KAAK,CAAC,EAAE,EAAE,OAAO,GAAG,IAAI,CAWhC;AAED,iBAAS,OAAO,CAAC,EAAE,EAAE,WAAW,EAAE,IAAI,EAAE,IAAI,GAAG,IAAI,CAMlD;AAED,iBAAS,SAAS,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAMxC;AAED,iBAAS,iCAAiC,CACzC,SAAS,EAAE,WAAW,EACtB,OAAO,EAAE,GAAG,EACZ,OAAO,EAAE,WAAW,GAClB,IAAI,GAAG;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAA;CAAE,CAuBjC;AAED,QAAA,MAAM,OAAO,EAAE,MAA0C,CAAA;AAEzD,OAAO,EACN,cAAc,EACd,KAAK,EACL,OAAO,EACP,GAAG,EACH,OAAO,EACP,MAAM,EACN,IAAI,EACJ,QAAQ,EACR,iCAAiC,EACjC,cAAc,EACd,0BAA0B,EAC1B,eAAe,EACf,OAAO,EACP,uBAAuB,EACvB,yBAAyB,EACzB,KAAK,EACL,aAAa,EACb,WAAW,EACX,cAAc,EACd,SAAS,EACT,OAAO,EACP,MAAM,EACN,GAAG,EACH,EAAE,EACF,QAAQ,EACR,OAAO,EACP,QAAQ,EACR,WAAW,EACX,SAAS,GACT,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useDraggable.d.ts","sourceRoot":"","sources":["../../../src/composables/drag-n-drop/useDraggable.ts"],"names":[],"mappings":"AAIA,wBAAgB,YAAY,CAAC,EAAE,KAAA,EAAE,IAAI,KAAA,QAkBpC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"draggable.d.ts","sourceRoot":"","sources":["../../../src/plugins/drag-n-drop/draggable.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAoB,eAAe,EAAE,MAAM,KAAK,CAAA;AAQ5D,QAAA,MAAM,kBAAkB,EAAE,eAKzB,CAAA;AAED,eAAe,kBAAkB,CAAA"}
|