@bagelink/vue 0.0.871 → 0.0.878
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/AddressSaerch.vue.d.ts +7 -0
- package/dist/components/AddressSaerch.vue.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/DropDown.vue.d.ts +184 -15
- package/dist/components/DropDown.vue.d.ts.map +1 -1
- package/dist/components/FormSchema.vue.d.ts +4 -5
- package/dist/components/LangText.vue.d.ts +2 -2
- package/dist/components/MapEmbed.vue.d.ts +11 -4
- package/dist/components/MapEmbed.vue.d.ts.map +1 -1
- package/dist/components/ModalBglForm.vue.d.ts +20 -21
- package/dist/components/PersonPreview.vue.d.ts +4 -5
- package/dist/components/PersonPreviewFormkit.vue.d.ts +3 -4
- package/dist/components/Popover.vue.d.ts +10 -0
- package/dist/components/Popover.vue.d.ts.map +1 -0
- package/dist/components/RTXEditor.vue.d.ts +3 -3
- package/dist/components/TabbedLayout.vue.d.ts +4 -5
- package/dist/components/TableSchema.vue.d.ts +7 -1
- package/dist/components/TableSchema.vue.d.ts.map +1 -1
- package/dist/components/charts/BarChart.vue.d.ts +2 -2
- package/dist/components/form/BglField.vue.d.ts +3 -1
- package/dist/components/form/BglField.vue.d.ts.map +1 -1
- package/dist/components/form/BglMultiStepForm.vue.d.ts +18 -2
- package/dist/components/form/BglMultiStepForm.vue.d.ts.map +1 -1
- package/dist/components/form/ItemRef.vue.d.ts +3 -5
- package/dist/components/form/ItemRef.vue.d.ts.map +1 -1
- package/dist/components/form/MaterialIcon.vue.d.ts +3 -4
- package/dist/components/form/PlainInputField.vue.d.ts +3 -3
- package/dist/components/form/inputs/CurrencyInput.vue.d.ts +3 -3
- 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/FloatInput.vue.d.ts +3 -3
- package/dist/components/form/inputs/IntInput.vue.d.ts +3 -3
- 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.vue.d.ts +3 -1
- package/dist/components/form/inputs/RadioGroup.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/ReadOnlyInput.vue.d.ts +2 -2
- package/dist/components/form/inputs/RichText2/Toolbar.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/RichTextEditor.vue.d.ts +3 -3
- package/dist/components/form/inputs/SelectField.vue.d.ts +8 -6
- package/dist/components/form/inputs/SelectField.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/SelectInput.vue.d.ts +49 -4
- package/dist/components/form/inputs/SelectInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/TextArea.vue.d.ts +3 -3
- package/dist/components/form/inputs/TextInput.vue.d.ts +2 -2
- package/dist/components/form/inputs/TextInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/index.d.ts +2 -2
- package/dist/components/form/inputs/index.d.ts.map +1 -1
- 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/sortable/Animation.d.ts +43 -0
- package/dist/components/sortable/Animation.d.ts.map +1 -0
- package/dist/components/sortable/BrowserInfo.d.ts +7 -0
- package/dist/components/sortable/BrowserInfo.d.ts.map +1 -0
- package/dist/components/sortable/EventDispatcher.d.ts +13 -0
- package/dist/components/sortable/EventDispatcher.d.ts.map +1 -0
- package/dist/components/sortable/PluginManager.d.ts +27 -0
- package/dist/components/sortable/PluginManager.d.ts.map +1 -0
- package/dist/components/sortable/Sortable.d.ts +81 -0
- package/dist/components/sortable/Sortable.d.ts.map +1 -0
- package/dist/components/sortable/index.d.ts +5 -0
- package/dist/components/sortable/index.d.ts.map +1 -0
- package/dist/components/sortable/utils.d.ts +49 -0
- package/dist/components/sortable/utils.d.ts.map +1 -0
- package/dist/components/whatsapp/form/MsgTemplate.vue.d.ts +3 -4
- package/dist/components/whatsapp/form/TextVariableExamples.vue.d.ts +2 -2
- package/dist/composables/drag-n-drop/useDraggable.d.ts +2 -0
- package/dist/composables/drag-n-drop/useDraggable.d.ts.map +1 -0
- package/dist/index.cjs +663 -481
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +663 -481
- package/dist/plugins/drag-n-drop/draggable.d.ts +4 -0
- package/dist/plugins/drag-n-drop/draggable.d.ts.map +1 -0
- package/dist/plugins/drag-n-drop/droppable.d.ts +4 -0
- package/dist/plugins/drag-n-drop/droppable.d.ts.map +1 -0
- package/dist/plugins/drag-n-drop/index.d.ts +5 -0
- package/dist/plugins/drag-n-drop/index.d.ts.map +1 -0
- package/dist/plugins/drag-n-drop/useDraggable.d.ts +8 -0
- package/dist/plugins/drag-n-drop/useDraggable.d.ts.map +1 -0
- package/dist/plugins/drag-n-drop/useDroppable.d.ts +7 -0
- package/dist/plugins/drag-n-drop/useDroppable.d.ts.map +1 -0
- package/dist/style.css +99 -90
- package/dist/types/materialIcon.d.ts +2 -0
- package/dist/types/materialIcon.d.ts.map +1 -0
- package/dist/utils/BagelFormUtils.d.ts +30 -2
- package/dist/utils/BagelFormUtils.d.ts.map +1 -1
- package/dist/utils/objects.d.ts +0 -1
- package/dist/utils/timeAgo.d.ts +4 -0
- package/dist/utils/timeAgo.d.ts.map +1 -0
- package/package.json +1 -1
- package/src/components/MapEmbed.vue +30 -26
- package/src/components/form/inputs/RichText2/Toolbar.vue +0 -1
- package/src/components/form/inputs/TextInput.vue +1 -1
- package/src/components/form/inputs/index.ts +2 -2
- package/src/index.ts +1 -0
- package/src/styles/layout.css +5 -0
- package/src/styles/mobilLayout.css +4 -0
- package/src/utils/timeAgo.ts +82 -0
- package/dist/components/Accordion.d.ts +0 -12
- package/dist/components/Accordion.d.ts.map +0 -1
- package/dist/components/AccordionItem.d.ts +0 -34
- package/dist/components/AccordionItem.d.ts.map +0 -1
- package/dist/components/Alert.d.ts +0 -34
- package/dist/components/Alert.d.ts.map +0 -1
- package/dist/components/Avatar.d.ts +0 -36
- package/dist/components/Avatar.d.ts.map +0 -1
- package/dist/components/Badge.d.ts +0 -22
- package/dist/components/Badge.d.ts.map +0 -1
- package/dist/components/BglVideo.d.ts +0 -20
- package/dist/components/BglVideo.d.ts.map +0 -1
- package/dist/components/Btn.d.ts +0 -99
- package/dist/components/Btn.d.ts.map +0 -1
- package/dist/components/Card.d.ts +0 -39
- package/dist/components/Card.d.ts.map +0 -1
- package/dist/components/Carousel.d.ts +0 -74
- package/dist/components/Carousel.d.ts.map +0 -1
- package/dist/components/DataPreview.d.ts +0 -42
- package/dist/components/DataPreview.d.ts.map +0 -1
- package/dist/components/Drop.vue.d.ts +0 -34
- package/dist/components/Drop.vue.d.ts.map +0 -1
- package/dist/components/FileUploader.vue.d.ts +0 -60
- package/dist/components/FileUploader.vue.d.ts.map +0 -1
- package/dist/components/Flag.d.ts +0 -20
- package/dist/components/Flag.d.ts.map +0 -1
- package/dist/components/ListItem.d.ts +0 -34
- package/dist/components/ListItem.d.ts.map +0 -1
- package/dist/components/ListView.d.ts +0 -13
- package/dist/components/ListView.d.ts.map +0 -1
- package/dist/components/MapEmbed.d.ts +0 -3
- package/dist/components/MapEmbed.d.ts.map +0 -1
- package/dist/components/MaterialIcon.d.ts +0 -26
- package/dist/components/MaterialIcon.d.ts.map +0 -1
- package/dist/components/Modal.d.ts +0 -46
- package/dist/components/Modal.d.ts.map +0 -1
- package/dist/components/ModalConfirm.d.ts +0 -24
- package/dist/components/ModalConfirm.d.ts.map +0 -1
- package/dist/components/ModalForm.d.ts +0 -78
- package/dist/components/ModalForm.d.ts.map +0 -1
- package/dist/components/NavBar.d.ts +0 -64
- package/dist/components/NavBar.d.ts.map +0 -1
- package/dist/components/PageTitle.d.ts +0 -24
- package/dist/components/PageTitle.d.ts.map +0 -1
- package/dist/components/RouterWrapper.d.ts +0 -3
- package/dist/components/RouterWrapper.d.ts.map +0 -1
- package/dist/components/TableSchema.d.ts +0 -35
- package/dist/components/TableSchema.d.ts.map +0 -1
- package/dist/components/Title.d.ts +0 -42
- package/dist/components/Title.d.ts.map +0 -1
- package/dist/components/TopBar.d.ts +0 -12
- package/dist/components/TopBar.d.ts.map +0 -1
- package/dist/components/dashboard/Lineart.d.ts +0 -20
- package/dist/components/dashboard/Lineart.d.ts.map +0 -1
- package/dist/components/form/BglField.d.ts +0 -25
- package/dist/components/form/BglField.d.ts.map +0 -1
- package/dist/components/form/BglForm.d.ts +0 -75
- package/dist/components/form/BglForm.d.ts.map +0 -1
- package/dist/components/form/inputs/CheckInput.d.ts +0 -56
- package/dist/components/form/inputs/CheckInput.d.ts.map +0 -1
- package/dist/components/form/inputs/Checkbox.d.ts +0 -16
- package/dist/components/form/inputs/Checkbox.d.ts.map +0 -1
- package/dist/components/form/inputs/ColorPicker.d.ts +0 -48
- package/dist/components/form/inputs/ColorPicker.d.ts.map +0 -1
- package/dist/components/form/inputs/DateInput.d.ts +0 -64
- package/dist/components/form/inputs/DateInput.d.ts.map +0 -1
- package/dist/components/form/inputs/DatePicker.d.ts +0 -33
- package/dist/components/form/inputs/DatePicker.d.ts.map +0 -1
- package/dist/components/form/inputs/FileUpload.d.ts +0 -108
- package/dist/components/form/inputs/FileUpload.d.ts.map +0 -1
- package/dist/components/form/inputs/JSONInput.d.ts +0 -53
- package/dist/components/form/inputs/JSONInput.d.ts.map +0 -1
- package/dist/components/form/inputs/RadioGroup.d.ts +0 -42
- package/dist/components/form/inputs/RadioGroup.d.ts.map +0 -1
- package/dist/components/form/inputs/RadioPillsInput.d.ts +0 -48
- package/dist/components/form/inputs/RadioPillsInput.d.ts.map +0 -1
- package/dist/components/form/inputs/RichText.d.ts +0 -20
- package/dist/components/form/inputs/RichText.d.ts.map +0 -1
- package/dist/components/form/inputs/RichText2/Toolbar.d.ts +0 -22
- package/dist/components/form/inputs/RichText2/Toolbar.d.ts.map +0 -1
- package/dist/components/form/inputs/RichText2/index.d.ts +0 -24
- package/dist/components/form/inputs/RichText2/index.d.ts.map +0 -1
- package/dist/components/form/inputs/SelectInput.d.ts +0 -55
- package/dist/components/form/inputs/SelectInput.d.ts.map +0 -1
- package/dist/components/form/inputs/SignaturePad.d.ts +0 -72
- package/dist/components/form/inputs/SignaturePad.d.ts.map +0 -1
- package/dist/components/form/inputs/TableField.d.ts +0 -45
- package/dist/components/form/inputs/TableField.d.ts.map +0 -1
- package/dist/components/form/inputs/TelInput.d.ts +0 -241
- package/dist/components/form/inputs/TelInput.d.ts.map +0 -1
- package/dist/components/form/inputs/TextInput.d.ts +0 -90
- package/dist/components/form/inputs/TextInput.d.ts.map +0 -1
- package/dist/components/form/inputs/ToggleInput.d.ts +0 -58
- package/dist/components/form/inputs/ToggleInput.d.ts.map +0 -1
- package/dist/components/layout/BottomMenu.d.ts +0 -27
- package/dist/components/layout/BottomMenu.d.ts.map +0 -1
- package/dist/components/layout/Layout.d.ts +0 -58
- package/dist/components/layout/Layout.d.ts.map +0 -1
- package/dist/components/layout/SidebarMenu.d.ts +0 -38
- package/dist/components/layout/SidebarMenu.d.ts.map +0 -1
- package/dist/components/layout/TabbedLayout.d.ts +0 -42
- package/dist/components/layout/TabbedLayout.d.ts.map +0 -1
- package/dist/components/layout/Tabs.d.ts +0 -31
- package/dist/components/layout/Tabs.d.ts.map +0 -1
- package/dist/components/layout/TabsBody.d.ts +0 -23
- package/dist/components/layout/TabsBody.d.ts.map +0 -1
- package/dist/components/layout/TabsNav.d.ts +0 -35
- package/dist/components/layout/TabsNav.d.ts.map +0 -1
- package/src/components/form/inputs/RichText.zip +0 -0
|
@@ -70,7 +70,21 @@ export declare function bglForm(idOrField?: string | Field, ...schema: Field[]):
|
|
|
70
70
|
submit: (...args: any[]) => void;
|
|
71
71
|
"update:modelValue": (...args: any[]) => void;
|
|
72
72
|
dirty: (...args: any[]) => void;
|
|
73
|
-
}, import('vue').
|
|
73
|
+
}, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<{
|
|
74
|
+
label?: string;
|
|
75
|
+
id?: string;
|
|
76
|
+
schema: import('..').BglFormSchemaFnT<any>;
|
|
77
|
+
modelValue?: {
|
|
78
|
+
[key: string]: any;
|
|
79
|
+
};
|
|
80
|
+
onDelete?: (id: string) => void;
|
|
81
|
+
onSubmit?: (data: any) => void;
|
|
82
|
+
status?: import('../components/form/BglForm.vue').FormStatus;
|
|
83
|
+
}> & Readonly<{
|
|
84
|
+
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
85
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
86
|
+
onDirty?: ((...args: any[]) => any) | undefined;
|
|
87
|
+
}>, {
|
|
74
88
|
modelValue: {
|
|
75
89
|
[key: string]: any;
|
|
76
90
|
};
|
|
@@ -185,7 +199,21 @@ export declare function bglForm(idOrField?: string | Field, ...schema: Field[]):
|
|
|
185
199
|
submit: (...args: any[]) => void;
|
|
186
200
|
"update:modelValue": (...args: any[]) => void;
|
|
187
201
|
dirty: (...args: any[]) => void;
|
|
188
|
-
}, import('vue').
|
|
202
|
+
}, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<{
|
|
203
|
+
label?: string;
|
|
204
|
+
id?: string;
|
|
205
|
+
schema: import('..').BglFormSchemaFnT<any>;
|
|
206
|
+
modelValue?: {
|
|
207
|
+
[key: string]: any;
|
|
208
|
+
};
|
|
209
|
+
onDelete?: (id: string) => void;
|
|
210
|
+
onSubmit?: (data: any) => void;
|
|
211
|
+
status?: import('../components/form/BglForm.vue').FormStatus;
|
|
212
|
+
}> & Readonly<{
|
|
213
|
+
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
214
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
215
|
+
onDirty?: ((...args: any[]) => any) | undefined;
|
|
216
|
+
}>, {
|
|
189
217
|
modelValue: {
|
|
190
218
|
[key: string]: any;
|
|
191
219
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BagelFormUtils.d.ts","sourceRoot":"","sources":["../../src/utils/BagelFormUtils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,KAAK,cAAc,EAAE,KAAK,KAAK,EAAE,KAAK,MAAM,EAAY,MAAM,eAAe,CAAA;AAGjG,UAAU,YAAY;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAA;CACjB;AAED,KAAK,WAAW,GAAG,YAAY,CAAA;AAE/B,UAAU,gBAAiB,SAAQ,YAAY;IAC9C,IAAI,CAAC,EAAE,MAAM,GAAG,KAAK,GAAG,OAAO,CAAA;IAC/B,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,SAAS,CAAC,EAAE,OAAO,CAAA;CACnB;AAED,UAAU,gBAAiB,SAAQ,YAAY;IAC9C,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,GAAG,CAAA;CAClC;AAED,UAAU,eAAgB,SAAQ,YAAY;IAC7C,GAAG,CAAC,EAAE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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgBrE;AAED,wBAAgB,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAE,GAAG,KAAK,CAO5F;AAED,wBAAgB,gBAAgB,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,cAAc,GAAG,KAAK,GAAG,SAAS,CASvF"}
|
package/dist/utils/objects.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { BagelField } from '..';
|
|
2
|
-
|
|
3
2
|
export declare function getPropByPath(obj: Record<string, any>, propPath?: string, bagelField?: BagelField): {};
|
|
4
3
|
export declare function setPropByPath(obj: Record<string, any>, path?: string, value?: any): void;
|
|
5
4
|
//# sourceMappingURL=objects.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"timeAgo.d.ts","sourceRoot":"","sources":["../../src/utils/timeAgo.ts"],"names":[],"mappings":"AAAA,KAAK,sBAAsB,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;AAmDvD,wBAAgB,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,EAAE,IAAI,GAAE,sBAA6B,UA8B/E"}
|
package/package.json
CHANGED
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import type { LatLngExpression,
|
|
2
|
+
import type { LatLngExpression, Map, Marker } from 'leaflet'
|
|
3
3
|
import { appendScript, sleep } from '@bagelink/vue'
|
|
4
4
|
import { onMounted, watch } from 'vue'
|
|
5
5
|
import './leaflet/leaflet.css'
|
|
6
6
|
|
|
7
7
|
type MapMarker = {
|
|
8
8
|
lat: number | string
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
lng: number | string
|
|
10
|
+
tooltip?: string
|
|
11
|
+
popup?: string
|
|
12
|
+
title?: string
|
|
13
|
+
[key: string]: any
|
|
11
14
|
} | [(number | string), (number | string), string?]
|
|
12
15
|
|
|
13
16
|
const props = withDefaults(
|
|
@@ -28,6 +31,7 @@ const props = withDefaults(
|
|
|
28
31
|
}
|
|
29
32
|
)
|
|
30
33
|
|
|
34
|
+
const emit = defineEmits(['select'])
|
|
31
35
|
let L = $ref<any>()
|
|
32
36
|
let map = $ref<Map>()
|
|
33
37
|
const _markers = $ref<Marker[]>([])
|
|
@@ -50,56 +54,55 @@ async function initializeMap() {
|
|
|
50
54
|
zoom: props.zoom,
|
|
51
55
|
zoomControl: props.zoomControl,
|
|
52
56
|
})
|
|
53
|
-
|
|
57
|
+
|
|
58
|
+
L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', { maxZoom: 18, }).addTo(map)
|
|
54
59
|
}
|
|
55
60
|
}
|
|
56
61
|
|
|
57
|
-
function addMarker(
|
|
62
|
+
async function addMarker(marker: MapMarker) {
|
|
58
63
|
const iconSVG = props.markerIcon || defaultMarkerSVG
|
|
59
|
-
const
|
|
64
|
+
const icon = L?.icon({
|
|
60
65
|
iconUrl: `data:image/svg+xml;utf8,${encodeURIComponent(iconSVG)}`,
|
|
61
66
|
iconSize: [32, 32],
|
|
62
67
|
})
|
|
63
|
-
const
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
marker.on('click', () => {
|
|
70
|
-
console.log('Marker clicked:', latlng)
|
|
71
|
-
marker.openPopup()
|
|
72
|
-
})
|
|
68
|
+
const latlng = latLangFromMarker(marker)
|
|
69
|
+
const title = Array.isArray(marker) ? marker[2] : marker.title ?? marker.tooltip
|
|
70
|
+
const tooltip = Array.isArray(marker) ? marker[2] : marker.tooltip
|
|
71
|
+
const m = L?.marker(latlng, { title, icon, interactive: true }).addTo(map as Map) as Marker
|
|
72
|
+
if (tooltip) m.bindTooltip(tooltip, { direction: 'top' }) // Use `bindPopup` if you want a click-to-show label
|
|
73
|
+
m.on('click', () => { emit('select', marker) })
|
|
73
74
|
|
|
74
|
-
_markers.push(
|
|
75
|
+
_markers.push(m)
|
|
75
76
|
}
|
|
76
77
|
|
|
77
78
|
function fitMarkers(L: any) {
|
|
78
79
|
if (_markers.length > 0) {
|
|
79
80
|
const latLngs = _markers.map(marker => marker.getLatLng())
|
|
80
81
|
const bounds = L.latLngBounds(latLngs)
|
|
81
|
-
|
|
82
|
-
map?.setView(
|
|
82
|
+
const center = bounds.getCenter()
|
|
83
|
+
map?.setView(center, props.zoom)
|
|
83
84
|
map?.fitBounds(bounds, {
|
|
84
85
|
animate: true,
|
|
85
|
-
maxZoom: props.zoom, // B
|
|
86
86
|
padding: [20, 20], // Adjust padding as needed
|
|
87
87
|
})
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
90
|
|
|
91
|
+
function latLangFromMarker(marker: MapMarker): LatLngExpression {
|
|
92
|
+
const [lat, lng] = (Array.isArray(marker)
|
|
93
|
+
? [marker[0], marker[1]]
|
|
94
|
+
: [marker.lat, marker.lng])
|
|
95
|
+
return { lat: +lat, lng: +lng }
|
|
96
|
+
}
|
|
97
|
+
|
|
91
98
|
async function watchMarkers(markers?: MapMarker[]) {
|
|
92
99
|
if (!L) L = await loadGlobalL()
|
|
93
100
|
_markers.forEach(marker => marker.remove())
|
|
94
101
|
if (!markers) return
|
|
95
102
|
|
|
96
103
|
for (const marker of markers) {
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
: [marker.lat, marker.lon, marker.label]
|
|
100
|
-
|
|
101
|
-
if (!map) initializeMap()
|
|
102
|
-
addMarker(L, [+lat, +lon], label)
|
|
104
|
+
if (!map) await initializeMap()
|
|
105
|
+
addMarker(marker)
|
|
103
106
|
}
|
|
104
107
|
fitMarkers(L)
|
|
105
108
|
}
|
|
@@ -125,6 +128,7 @@ onMounted(initializeMap)
|
|
|
125
128
|
|
|
126
129
|
.leaflet-map::after {
|
|
127
130
|
content: "";
|
|
131
|
+
pointer-events: none;
|
|
128
132
|
position: absolute;
|
|
129
133
|
inset: 0;
|
|
130
134
|
box-shadow: inset 0 0 10px #00000012;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
<script lang="ts" setup>
|
|
2
2
|
import type { ToolbarConfig, ToolbarConfigOption } from './richtext-types'
|
|
3
3
|
import { Btn, type MaterialIcons } from '@bagelink/vue'
|
|
4
|
-
import SelectInput from '../SelectInput.vue'
|
|
5
4
|
|
|
6
5
|
defineProps<{ config: ToolbarConfig }>()
|
|
7
6
|
const emit = defineEmits(['action'])
|
|
@@ -10,8 +10,8 @@ export { default as PasswordInput } from './PasswordInput.vue'
|
|
|
10
10
|
export { default as RadioGroup } from './RadioGroup.vue'
|
|
11
11
|
export { default as RadioPillsInput } from './RadioPillsInput.vue'
|
|
12
12
|
export { default as RangeInput } from './RangeInput.vue'
|
|
13
|
-
export { default as
|
|
14
|
-
export { default as
|
|
13
|
+
export { default as RichText } from './RichText.vue'
|
|
14
|
+
export { default as RichText2 } from './RichText2/index.vue'
|
|
15
15
|
export { default as SelectInput } from './SelectInput.vue'
|
|
16
16
|
export { default as SignaturePad } from './SignaturePad.vue'
|
|
17
17
|
export { default as TableField } from './TableField.vue'
|
package/src/index.ts
CHANGED
package/src/styles/layout.css
CHANGED
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
type AvailableTimeLanguages = 'en' | 'es' | 'fr' | 'he'
|
|
2
|
+
interface LanguageTranslations {
|
|
3
|
+
[key: string]: string
|
|
4
|
+
}
|
|
5
|
+
const translations: Record<AvailableTimeLanguages, LanguageTranslations> = {
|
|
6
|
+
en: {
|
|
7
|
+
year: 'year',
|
|
8
|
+
month: 'month',
|
|
9
|
+
week: 'week',
|
|
10
|
+
day: 'day',
|
|
11
|
+
hour: 'hour',
|
|
12
|
+
minute: 'minute',
|
|
13
|
+
second: 'second',
|
|
14
|
+
ago: 'ago',
|
|
15
|
+
justNow: 'Just now'
|
|
16
|
+
},
|
|
17
|
+
es: {
|
|
18
|
+
year: 'año',
|
|
19
|
+
month: 'mes',
|
|
20
|
+
week: 'semana',
|
|
21
|
+
day: 'día',
|
|
22
|
+
hour: 'hora',
|
|
23
|
+
minute: 'minuto',
|
|
24
|
+
second: 'segundo',
|
|
25
|
+
ago: 'hace',
|
|
26
|
+
justNow: 'Justo ahora'
|
|
27
|
+
},
|
|
28
|
+
fr: {
|
|
29
|
+
year: 'an',
|
|
30
|
+
month: 'mois',
|
|
31
|
+
week: 'semaine',
|
|
32
|
+
day: 'jour',
|
|
33
|
+
hour: 'heure',
|
|
34
|
+
minute: 'minute',
|
|
35
|
+
second: 'seconde',
|
|
36
|
+
ago: 'il y a',
|
|
37
|
+
justNow: 'À l’instant'
|
|
38
|
+
},
|
|
39
|
+
he: {
|
|
40
|
+
year: 'שנה',
|
|
41
|
+
month: 'חודש',
|
|
42
|
+
week: 'שבוע',
|
|
43
|
+
day: 'יום',
|
|
44
|
+
hour: 'שעה',
|
|
45
|
+
minute: 'דקה',
|
|
46
|
+
second: 'שנייה',
|
|
47
|
+
ago: 'לפני',
|
|
48
|
+
justNow: 'זה עתה'
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function timeAgo(date: string | Date, lang: AvailableTimeLanguages = 'en') {
|
|
53
|
+
if (!date) return ''
|
|
54
|
+
if (typeof date === 'string') date = new Date(date)
|
|
55
|
+
const now: Date = new Date()
|
|
56
|
+
const nowNumber = now.getTime()
|
|
57
|
+
const dateNumber = date.getTime()
|
|
58
|
+
const seconds = Math.floor((nowNumber - dateNumber) / 1000)
|
|
59
|
+
|
|
60
|
+
const intervals = [
|
|
61
|
+
{ label: 'year', seconds: 31536000 },
|
|
62
|
+
{ label: 'month', seconds: 2592000 },
|
|
63
|
+
{ label: 'week', seconds: 604800 },
|
|
64
|
+
{ label: 'day', seconds: 86400 },
|
|
65
|
+
{ label: 'hour', seconds: 3600 },
|
|
66
|
+
{ label: 'minute', seconds: 60 },
|
|
67
|
+
{ label: 'second', seconds: 1 }
|
|
68
|
+
]
|
|
69
|
+
|
|
70
|
+
const selectedLang = translations[lang]
|
|
71
|
+
|
|
72
|
+
for (const interval of intervals) {
|
|
73
|
+
const count = Math.floor(seconds / interval.seconds)
|
|
74
|
+
if (count >= 1) {
|
|
75
|
+
const suffix = lang === 'he' ? '' : ` ${selectedLang.ago}`
|
|
76
|
+
const prefix = lang === 'he' ? 'לפני ' : ''
|
|
77
|
+
return `${prefix}${count} ${selectedLang[interval.label]}${suffix}`
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
return selectedLang.justNow
|
|
82
|
+
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
declare function __VLS_template(): {
|
|
2
|
-
default?(_: {}): any;
|
|
3
|
-
};
|
|
4
|
-
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}>;
|
|
5
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
6
|
-
export default _default;
|
|
7
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
8
|
-
new (): {
|
|
9
|
-
$slots: S;
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
//# sourceMappingURL=Accordion.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Accordion.vue.d.ts","sourceRoot":"","sources":["../../src/components/Accordion.vue"],"names":[],"mappings":"AAeA,iBAAS,cAAc;qBAoCM,GAAG;EAG/B;AAOD,QAAA,MAAM,eAAe,0NAKnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AACxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
declare function __VLS_template(): {
|
|
2
|
-
head?(_: {}): any;
|
|
3
|
-
default?(_: {}): any;
|
|
4
|
-
};
|
|
5
|
-
declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
6
|
-
label?: string;
|
|
7
|
-
id?: string;
|
|
8
|
-
open?: boolean;
|
|
9
|
-
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
10
|
-
"update:open": (...args: any[]) => void;
|
|
11
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
12
|
-
label?: string;
|
|
13
|
-
id?: string;
|
|
14
|
-
open?: boolean;
|
|
15
|
-
}>>> & {
|
|
16
|
-
"onUpdate:open"?: ((...args: any[]) => any) | undefined;
|
|
17
|
-
}, {}, {}>;
|
|
18
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
19
|
-
export default _default;
|
|
20
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
21
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
22
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
23
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
24
|
-
} : {
|
|
25
|
-
type: import('vue').PropType<T[K]>;
|
|
26
|
-
required: true;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
30
|
-
new (): {
|
|
31
|
-
$slots: S;
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
|
-
//# sourceMappingURL=AccordionItem.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AccordionItem.vue.d.ts","sourceRoot":"","sources":["../../src/components/AccordionItem.vue"],"names":[],"mappings":"AAkDA,iBAAS,cAAc;kBA4II,GAAG;qBACA,GAAG;EAGhC;AAiBD,QAAA,MAAM,eAAe;YAMZ,MAAM;SACT,MAAM;WACJ,OAAO;;;;YAFN,MAAM;SACT,MAAM;WACJ,OAAO;;;UAGb,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { MaterialIcons } from '..';
|
|
2
|
-
|
|
3
|
-
interface Props {
|
|
4
|
-
message: string;
|
|
5
|
-
dismissable?: boolean;
|
|
6
|
-
type?: 'info' | 'warning' | 'error';
|
|
7
|
-
icon?: MaterialIcons | 'none';
|
|
8
|
-
}
|
|
9
|
-
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
10
|
-
type: string;
|
|
11
|
-
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
12
|
-
type: string;
|
|
13
|
-
}>>>, {
|
|
14
|
-
type: "info" | "warning" | "error";
|
|
15
|
-
}, {}>;
|
|
16
|
-
export default _default;
|
|
17
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
18
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
19
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
20
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
21
|
-
} : {
|
|
22
|
-
type: import('vue').PropType<T[K]>;
|
|
23
|
-
required: true;
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
type __VLS_WithDefaults<P, D> = {
|
|
27
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
28
|
-
default: D[K];
|
|
29
|
-
}> : P[K];
|
|
30
|
-
};
|
|
31
|
-
type __VLS_Prettify<T> = {
|
|
32
|
-
[K in keyof T]: T[K];
|
|
33
|
-
} & {};
|
|
34
|
-
//# sourceMappingURL=Alert.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Alert.vue.d.ts","sourceRoot":"","sources":["../../src/components/Alert.vue"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAA;AAKlD,UAAU,KAAK;IACd,OAAO,EAAE,MAAM,CAAA;IACf,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,CAAA;IACnC,IAAI,CAAC,EAAE,aAAa,GAAG,MAAM,CAAA;CAC7B;;;;;;UAFO,MAAM,GAAG,SAAS,GAAG,OAAO;;AAoIpC,wBAMG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
-
fallback?: string;
|
|
3
|
-
src?: string;
|
|
4
|
-
name?: string;
|
|
5
|
-
size?: number;
|
|
6
|
-
}>, {
|
|
7
|
-
size: number;
|
|
8
|
-
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
9
|
-
fallback?: string;
|
|
10
|
-
src?: string;
|
|
11
|
-
name?: string;
|
|
12
|
-
size?: number;
|
|
13
|
-
}>, {
|
|
14
|
-
size: number;
|
|
15
|
-
}>>>, {
|
|
16
|
-
size: number;
|
|
17
|
-
}, {}>;
|
|
18
|
-
export default _default;
|
|
19
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
20
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
21
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
22
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
23
|
-
} : {
|
|
24
|
-
type: import('vue').PropType<T[K]>;
|
|
25
|
-
required: true;
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
type __VLS_WithDefaults<P, D> = {
|
|
29
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
30
|
-
default: D[K];
|
|
31
|
-
}> : P[K];
|
|
32
|
-
};
|
|
33
|
-
type __VLS_Prettify<T> = {
|
|
34
|
-
[K in keyof T]: T[K];
|
|
35
|
-
} & {};
|
|
36
|
-
//# sourceMappingURL=Avatar.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Avatar.vue.d.ts","sourceRoot":"","sources":["../../src/components/Avatar.vue"],"names":[],"mappings":";eAqGY,MAAM;UACX,MAAM;WACL,MAAM;WACN,MAAM;;;;eAHF,MAAM;UACX,MAAM;WACL,MAAM;WACN,MAAM;;;;UAAN,MAAM;;AATd,wBAWG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { MaterialIcons } from '..';
|
|
2
|
-
|
|
3
|
-
interface Props {
|
|
4
|
-
'color'?: 'green' | 'red' | 'blue' | 'light' | 'gray';
|
|
5
|
-
'size'?: string;
|
|
6
|
-
'text': string;
|
|
7
|
-
'icon'?: MaterialIcons;
|
|
8
|
-
'icon.end'?: MaterialIcons;
|
|
9
|
-
'iconEnd'?: MaterialIcons;
|
|
10
|
-
}
|
|
11
|
-
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>>, {}, {}>;
|
|
12
|
-
export default _default;
|
|
13
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
14
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
15
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
16
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
17
|
-
} : {
|
|
18
|
-
type: import('vue').PropType<T[K]>;
|
|
19
|
-
required: true;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
//# sourceMappingURL=Badge.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Badge.vue.d.ts","sourceRoot":"","sources":["../../src/components/Badge.vue"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAA;AAIlD,UAAU,KAAK;IACd,OAAO,CAAC,EAAE,OAAO,GAAG,KAAK,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,CAAA;IACrD,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,aAAa,CAAA;IAEtB,UAAU,CAAC,EAAE,aAAa,CAAA;IAC1B,SAAS,CAAC,EAAE,aAAa,CAAA;CACzB;;AAmFD,wBAMG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
interface Props {
|
|
2
|
-
src?: string;
|
|
3
|
-
autoplay?: boolean;
|
|
4
|
-
mute?: boolean;
|
|
5
|
-
aspectRatio?: string;
|
|
6
|
-
controls?: boolean;
|
|
7
|
-
loop?: boolean;
|
|
8
|
-
}
|
|
9
|
-
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>>, {}, {}>;
|
|
10
|
-
export default _default;
|
|
11
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
12
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
13
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
14
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
15
|
-
} : {
|
|
16
|
-
type: import('vue').PropType<T[K]>;
|
|
17
|
-
required: true;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
//# sourceMappingURL=BglVideo.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BglVideo.vue.d.ts","sourceRoot":"","sources":["../../src/components/BglVideo.vue"],"names":[],"mappings":"AAIA,UAAU,KAAK;IACd,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,OAAO,CAAA;CACd;;AAgHD,wBAMG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
|
package/dist/components/Btn.d.ts
DELETED
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import { MaterialIcons, ThemeType } from '..';
|
|
2
|
-
|
|
3
|
-
declare function __VLS_template(): {
|
|
4
|
-
default?(_: {}): any;
|
|
5
|
-
};
|
|
6
|
-
declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
7
|
-
disabled?: boolean;
|
|
8
|
-
icon?: MaterialIcons;
|
|
9
|
-
'icon.end'?: MaterialIcons;
|
|
10
|
-
color?: ThemeType;
|
|
11
|
-
theme?: ThemeType;
|
|
12
|
-
flat?: boolean;
|
|
13
|
-
border?: boolean;
|
|
14
|
-
outline?: boolean;
|
|
15
|
-
thin?: boolean;
|
|
16
|
-
type?: "button" | "submit" | "reset";
|
|
17
|
-
loading?: boolean;
|
|
18
|
-
role?: string;
|
|
19
|
-
value?: string;
|
|
20
|
-
to?: string;
|
|
21
|
-
href?: string;
|
|
22
|
-
round?: boolean;
|
|
23
|
-
is?: string;
|
|
24
|
-
onClick?: (e: MouseEvent) => void;
|
|
25
|
-
}>, {
|
|
26
|
-
onClick: () => "";
|
|
27
|
-
loading: boolean;
|
|
28
|
-
round: boolean;
|
|
29
|
-
disabled: boolean;
|
|
30
|
-
type: string;
|
|
31
|
-
role: string;
|
|
32
|
-
is: string;
|
|
33
|
-
border: boolean;
|
|
34
|
-
outline: boolean;
|
|
35
|
-
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
36
|
-
disabled?: boolean;
|
|
37
|
-
icon?: MaterialIcons;
|
|
38
|
-
'icon.end'?: MaterialIcons;
|
|
39
|
-
color?: ThemeType;
|
|
40
|
-
theme?: ThemeType;
|
|
41
|
-
flat?: boolean;
|
|
42
|
-
border?: boolean;
|
|
43
|
-
outline?: boolean;
|
|
44
|
-
thin?: boolean;
|
|
45
|
-
type?: "button" | "submit" | "reset";
|
|
46
|
-
loading?: boolean;
|
|
47
|
-
role?: string;
|
|
48
|
-
value?: string;
|
|
49
|
-
to?: string;
|
|
50
|
-
href?: string;
|
|
51
|
-
round?: boolean;
|
|
52
|
-
is?: string;
|
|
53
|
-
onClick?: (e: MouseEvent) => void;
|
|
54
|
-
}>, {
|
|
55
|
-
onClick: () => "";
|
|
56
|
-
loading: boolean;
|
|
57
|
-
round: boolean;
|
|
58
|
-
disabled: boolean;
|
|
59
|
-
type: string;
|
|
60
|
-
role: string;
|
|
61
|
-
is: string;
|
|
62
|
-
border: boolean;
|
|
63
|
-
outline: boolean;
|
|
64
|
-
}>>>, {
|
|
65
|
-
onClick: (e: MouseEvent) => void;
|
|
66
|
-
type: "button" | "submit" | "reset";
|
|
67
|
-
disabled: boolean;
|
|
68
|
-
loading: boolean;
|
|
69
|
-
role: string;
|
|
70
|
-
border: boolean;
|
|
71
|
-
outline: boolean;
|
|
72
|
-
round: boolean;
|
|
73
|
-
is: string;
|
|
74
|
-
}, {}>;
|
|
75
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
76
|
-
export default _default;
|
|
77
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
78
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
79
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
80
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
81
|
-
} : {
|
|
82
|
-
type: import('vue').PropType<T[K]>;
|
|
83
|
-
required: true;
|
|
84
|
-
};
|
|
85
|
-
};
|
|
86
|
-
type __VLS_WithDefaults<P, D> = {
|
|
87
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
88
|
-
default: D[K];
|
|
89
|
-
}> : P[K];
|
|
90
|
-
};
|
|
91
|
-
type __VLS_Prettify<T> = {
|
|
92
|
-
[K in keyof T]: T[K];
|
|
93
|
-
} & {};
|
|
94
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
95
|
-
new (): {
|
|
96
|
-
$slots: S;
|
|
97
|
-
};
|
|
98
|
-
};
|
|
99
|
-
//# sourceMappingURL=Btn.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Btn.vue.d.ts","sourceRoot":"","sources":["../../src/components/Btn.vue"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AA0G7D,iBAAS,cAAc;qBA8LO,GAAG;EAGhC;AAiCD,QAAA,MAAM,eAAe;eAMN,OAAO;WACX,aAAa;iBAET,aAAa;YAChB,SAAS;YACT,SAAS;WACV,OAAO;aACL,OAAO;cACN,OAAO;WACV,OAAO;WACP,QAAQ,GAAG,QAAQ,GAAG,OAAO;cAC1B,OAAO;WACV,MAAM;YACL,MAAM;SACT,MAAM;WACJ,MAAM;YACL,OAAO;SACV,MAAM;cACD,CAAC,CAAC,EAAE,UAAU,KAAK,IAAI;;;;;;;;;;;;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