@bagelink/vue 0.0.747 → 0.0.751
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/AddressSearch.vue.d.ts.map +1 -1
- 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 +2 -2
- 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/DataPreview.vue.d.ts.map +1 -1
- 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 +5 -5
- 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/MapEmbed.vue.d.ts.map +1 -1
- 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/Modal.vue.d.ts.map +1 -1
- 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/NavBar.vue.d.ts +1 -1
- package/dist/components/NavBar.vue.d.ts.map +1 -1
- 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/Title.d.ts +42 -0
- package/dist/components/Title.d.ts.map +1 -0
- package/dist/components/Title.vue.d.ts +1 -1
- 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/dashboard/Lineart.vue.d.ts.map +1 -1
- package/dist/components/form/BglField.d.ts +25 -0
- package/dist/components/form/BglField.d.ts.map +1 -0
- package/dist/components/form/BglForm.d.ts +75 -0
- package/dist/components/form/BglForm.d.ts.map +1 -0
- 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/index.d.ts +1 -1
- package/dist/components/form/index.d.ts.map +1 -1
- 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/DateInput.vue.d.ts.map +1 -1
- 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.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/JSONInput.vue.d.ts +1 -1
- package/dist/components/form/inputs/JSONInput.vue.d.ts.map +1 -1
- 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/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/RichText.vue.d.ts.map +1 -1
- 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/RichText2/index.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 +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 +4 -4
- 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/SignaturePad.vue.d.ts.map +1 -1
- 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/TelInput.vue.d.ts +12 -12
- package/dist/components/form/inputs/TelInput.vue.d.ts.map +1 -1
- 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/TextInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/ToggleInput.d.ts +58 -0
- package/dist/components/form/inputs/ToggleInput.d.ts.map +1 -0
- package/dist/components/form/inputs/index.d.ts +11 -11
- 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/index.d.ts +22 -22
- package/dist/components/index.d.ts.map +1 -1
- 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/Layout.vue.d.ts +1 -1
- package/dist/components/layout/Layout.vue.d.ts.map +1 -1
- package/dist/components/layout/SidebarMenu.d.ts +38 -0
- package/dist/components/layout/SidebarMenu.d.ts.map +1 -0
- package/dist/components/layout/SidebarMenu.vue.d.ts.map +1 -1
- package/dist/components/layout/TabbedLayout.d.ts +42 -0
- package/dist/components/layout/TabbedLayout.d.ts.map +1 -0
- package/dist/components/layout/TabbedLayout.vue.d.ts +1 -1
- package/dist/components/layout/TabbedLayout.vue.d.ts.map +1 -1
- package/dist/components/layout/Tabs.d.ts +31 -0
- package/dist/components/layout/Tabs.d.ts.map +1 -0
- package/dist/components/layout/Tabs.vue.d.ts.map +1 -1
- 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/layout/index.d.ts +3 -3
- package/dist/components/layout/index.d.ts.map +1 -1
- package/dist/components/lightbox/index.d.ts.map +1 -1
- package/dist/components/whatsapp/form/MsgTemplate.vue.d.ts +4 -3
- package/dist/components/whatsapp/form/TextVariableExamples.vue.d.ts +2 -2
- package/dist/composables/index.d.ts.map +1 -1
- package/dist/index.cjs +50523 -50499
- package/dist/index.d.ts +4 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +50524 -50500
- package/dist/plugins/bagel.d.ts +1 -1
- package/dist/plugins/bagel.d.ts.map +1 -1
- package/dist/plugins/modal.d.ts +1 -1
- package/dist/plugins/modal.d.ts.map +1 -1
- package/dist/style.css +2730 -2729
- package/dist/types/index.d.ts +4 -4
- package/dist/types/index.d.ts.map +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/objects.d.ts +1 -0
- package/package.json +5 -5
- package/src/components/AddressSearch.vue +3 -5
- package/src/components/Btn.vue +3 -3
- package/src/components/DataPreview.vue +1 -1
- package/src/components/Dropdown.vue +5 -5
- package/src/components/MapEmbed.vue +18 -18
- package/src/components/Modal.vue +6 -6
- package/src/components/NavBar.vue +1 -1
- package/src/components/TableSchema.vue +1 -1
- package/src/components/dashboard/Lineart.vue +1 -1
- package/src/components/form/index.ts +1 -1
- package/src/components/form/inputs/DateInput.vue +1 -1
- package/src/components/form/inputs/FileUpload.vue +1 -1
- package/src/components/form/inputs/RichText.vue +10 -15
- package/src/components/form/inputs/RichText2/index.vue +1 -1
- package/src/components/form/inputs/SelectInput.vue +2 -2
- package/src/components/form/inputs/SignaturePad.vue +2 -2
- package/src/components/form/inputs/TableField.vue +2 -2
- package/src/components/form/inputs/TelInput.vue +5 -5
- package/src/components/form/inputs/TextInput.vue +1 -1
- package/src/components/form/inputs/index.ts +11 -11
- package/src/components/formkit/FileUploader.vue +2 -2
- package/src/components/index.ts +23 -23
- package/src/components/layout/SidebarMenu.vue +3 -1
- package/src/components/layout/TabbedLayout.vue +1 -1
- package/src/components/layout/Tabs.vue +2 -1
- package/src/components/layout/index.ts +3 -3
- package/src/components/lightbox/index.ts +2 -2
- package/src/composables/index.ts +1 -1
- package/src/index.ts +6 -6
- package/src/plugins/bagel.ts +2 -2
- package/src/plugins/modal.ts +2 -2
- package/src/types/index.ts +5 -6
- package/src/utils/index.ts +2 -2
- package/vite.config.ts +3 -3
- 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/types/materialIcon.d.ts +0 -2
- package/dist/types/materialIcon.d.ts.map +0 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { MaterialIcons } from './materialIcons';
|
|
2
|
-
export type { ModalComponentProps as ModalFormComponentProps,
|
|
2
|
+
export type { ModalApi, ModalComponentProps as ModalFormComponentProps, ModalComponentProps, ModalFormOptions, ModalOptions, } from '../plugins/modal';
|
|
3
3
|
export type { MaterialIcons };
|
|
4
|
-
export
|
|
4
|
+
export * from './BagelForm';
|
|
5
|
+
export * from './BtnOptions';
|
|
5
6
|
export type { StorageFile } from './file';
|
|
6
7
|
export type { NavLink } from './NavLink';
|
|
7
|
-
export
|
|
8
|
-
export * from './BagelForm';
|
|
8
|
+
export type { Tables, TableToTypeMapping } from '../../../sdk/src/index.ts';
|
|
9
9
|
export type Tab = {
|
|
10
10
|
label: string;
|
|
11
11
|
id: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACX,mBAAmB,IAAI,uBAAuB,EAC9C,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACX,QAAQ,EACR,mBAAmB,IAAI,uBAAuB,EAC9C,mBAAmB,EACnB,gBAAgB,EAChB,YAAY,GACZ,MAAM,kBAAkB,CAAA;AAEzB,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAEpD,YAAY,EAAE,aAAa,EAAE,CAAA;AAC7B,cAAc,aAAa,CAAA;AAC3B,cAAc,cAAc,CAAA;AAC5B,YAAY,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAA;AAEzC,YAAY,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AACxC,YAAY,EAAE,MAAM,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAA;AAE/D,MAAM,MAAM,GAAG,GAAG;IACjB,KAAK,EAAE,MAAM,CAAA;IACb,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,CAAC,EAAE,aAAa,CAAA;CACpB,GAAG,MAAM,CAAA;AAEV,MAAM,MAAM,SAAS,GACpB,OAAO,GACL,OAAO,GACP,KAAK,GACL,MAAM,GACN,YAAY,GACZ,OAAO,GACP,OAAO,GACP,SAAS,GACT,MAAM,CAAA;AAET,MAAM,MAAM,MAAM,GACf,MAAM,GACN,MAAM,GACN,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GACnB;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE,CAAA;AAE5C,MAAM,MAAM,KAAK,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAA"}
|
package/dist/utils/index.d.ts
CHANGED
|
@@ -9,9 +9,9 @@ export declare function bindAttrs<T = Record<string, any>>(attrs?: Attributes, f
|
|
|
9
9
|
export declare function iffer(field: any, itemData: any): any;
|
|
10
10
|
export declare function denullify(itemData?: Record<string, any>, fieldID?: string): any;
|
|
11
11
|
export declare const isDate: (dateToTest: any) => boolean;
|
|
12
|
-
export { formatString } from './strings';
|
|
13
12
|
export * as bagelFormUtils from './BagelFormUtils';
|
|
14
13
|
export { useLang } from './lang';
|
|
14
|
+
export { formatString } from './strings';
|
|
15
15
|
export declare function getFallbackSchema<T>(data?: any[], showFields?: string[]): BglFormSchemaT<T>;
|
|
16
16
|
export declare const sleep: (ms?: number) => Promise<unknown>;
|
|
17
17
|
export declare function appendScript(src: string): Promise<void>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AAG/D,wBAAgB,QAAQ,CAAC,EAAE,EAAE,MAAM,IAAI,EAAE,KAAK,SAAM,QAGnD;AAED,wBAAgB,UAAU,CAAC,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAK3D;AAED,wBAAsB,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,iBAGtE;AAED,wBAAgB,QAAQ,CAAC,GAAG,MAAM,EAAE,MAAM,EAAE,UAG3C;AAED,wBAAgB,SAAS,CAAC,KAAK,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,IAAI,QAIrE;AAED,wBAAgB,QAAQ,CAAC,QAAQ,CAAC,EAAE,GAAG,EAAE,GAAG,CAAC,EAAE,GAAG,EAAE,GAAG,OAAO,EAAE,GAAG,EAAE,UAKpE;AAED,wBAAgB,SAAS,CAAC,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,KAAK,CAAC,EAAE,UAAU,EAAE,QAAQ,CAAC,EAAE,GAAG,EAAE,GAAG,CAAC,EAAE,CAAC,OAU7F;AAED,wBAAgB,KAAK,CAAC,KAAK,EAAE,GAAG,EAAE,QAAQ,EAAE,GAAG,OAM9C;AAED,wBAAgB,SAAS,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,OAAO,CAAC,EAAE,MAAM,OAGzE;AAED,eAAO,MAAM,MAAM,eAAgB,GAAG,YAA0C,CAAA;AAEhF,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AAG/D,wBAAgB,QAAQ,CAAC,EAAE,EAAE,MAAM,IAAI,EAAE,KAAK,SAAM,QAGnD;AAED,wBAAgB,UAAU,CAAC,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAK3D;AAED,wBAAsB,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,iBAGtE;AAED,wBAAgB,QAAQ,CAAC,GAAG,MAAM,EAAE,MAAM,EAAE,UAG3C;AAED,wBAAgB,SAAS,CAAC,KAAK,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,IAAI,QAIrE;AAED,wBAAgB,QAAQ,CAAC,QAAQ,CAAC,EAAE,GAAG,EAAE,GAAG,CAAC,EAAE,GAAG,EAAE,GAAG,OAAO,EAAE,GAAG,EAAE,UAKpE;AAED,wBAAgB,SAAS,CAAC,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,KAAK,CAAC,EAAE,UAAU,EAAE,QAAQ,CAAC,EAAE,GAAG,EAAE,GAAG,CAAC,EAAE,CAAC,OAU7F;AAED,wBAAgB,KAAK,CAAC,KAAK,EAAE,GAAG,EAAE,QAAQ,EAAE,GAAG,OAM9C;AAED,wBAAgB,SAAS,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,OAAO,CAAC,EAAE,MAAM,OAGzE;AAED,eAAO,MAAM,MAAM,eAAgB,GAAG,YAA0C,CAAA;AAEhF,OAAO,KAAK,cAAc,MAAM,kBAAkB,CAAA;AAElD,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAA;AAEhC,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAExC,wBAAgB,iBAAiB,CAAC,CAAC,EAAE,IAAI,CAAC,EAAE,GAAG,EAAE,EAAE,UAAU,CAAC,EAAE,MAAM,EAAE,GAAG,cAAc,CAAC,CAAC,CAAC,CAa3F;AAED,eAAO,MAAM,KAAK,QAAQ,MAAM,qBAA0D,CAAA;AAE1F,wBAAgB,YAAY,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAYvD"}
|
package/dist/utils/objects.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { BagelField } from '..';
|
|
2
|
+
|
|
2
3
|
export declare function getPropByPath(obj: Record<string, any>, propPath?: string, bagelField?: BagelField): {};
|
|
3
4
|
export declare function setPropByPath(obj: Record<string, any>, path?: string, value?: any): void;
|
|
4
5
|
//# sourceMappingURL=objects.d.ts.map
|
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.751",
|
|
5
5
|
"description": "Bagel core sdk packages",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Neveh Allon",
|
|
@@ -53,8 +53,8 @@
|
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@types/leaflet": "^1.9.12",
|
|
55
55
|
"@types/signature_pad": "^2.3.6",
|
|
56
|
-
"@vue-macros/reactivity-transform": "^1.0.
|
|
57
|
-
"vue": "^3.5.
|
|
56
|
+
"@vue-macros/reactivity-transform": "^1.0.4",
|
|
57
|
+
"vue": "^3.5.4"
|
|
58
58
|
},
|
|
59
59
|
"peerDependencies": {
|
|
60
60
|
"@bagelink/sdk": "*",
|
|
@@ -118,9 +118,9 @@
|
|
|
118
118
|
"@vueuse/core": "^11.0.3",
|
|
119
119
|
"axios": "^1.7.7",
|
|
120
120
|
"floating-vue": "^5.2.2",
|
|
121
|
-
"libphonenumber-js": "1.11.
|
|
121
|
+
"libphonenumber-js": "1.11.8",
|
|
122
122
|
"signature_pad": "^5.0.3",
|
|
123
|
-
"type-fest": "^4.26.
|
|
123
|
+
"type-fest": "^4.26.1"
|
|
124
124
|
},
|
|
125
125
|
"scripts": {
|
|
126
126
|
"dev": "tsx watch src/index.ts",
|
|
@@ -32,11 +32,9 @@ async function searchAddresses() {
|
|
|
32
32
|
<template #trigger>
|
|
33
33
|
<TextInput v-model="addressInput" placeholder="Enter address" @debounce="searchAddresses" />
|
|
34
34
|
</template>
|
|
35
|
-
<
|
|
36
|
-
<
|
|
37
|
-
|
|
38
|
-
</listview>
|
|
39
|
-
</template>
|
|
35
|
+
<ListView class="-mt-2 hm-300px">
|
|
36
|
+
<ListItem v-for="(result, index) in searchResults" :key="index" icon="location_on" :title="result.display_name" @click="emitAddress(result)" />
|
|
37
|
+
</listview>
|
|
40
38
|
</Dropdown>
|
|
41
39
|
</div>
|
|
42
40
|
</template>
|
package/src/components/Btn.vue
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
+
import { MaterialIcon } from '@bagelink/vue'
|
|
2
3
|
import { useSlots } from 'vue'
|
|
3
4
|
import type { MaterialIcons, ThemeType } from '@bagelink/vue'
|
|
4
|
-
import { MaterialIcon } from '@bagelink/vue'
|
|
5
5
|
|
|
6
6
|
const props = withDefaults(
|
|
7
7
|
defineProps<{
|
|
@@ -72,8 +72,8 @@ function getThemeColors(theme: Partial<typeof computedDefaultColors>): typeof co
|
|
|
72
72
|
|
|
73
73
|
const themes: Partial<Record<ThemeType, typeof computedDefaultColors>> = {
|
|
74
74
|
'red': getThemeColors({ backgroundColor: 'var(--bgl-red)' }),
|
|
75
|
-
'white': getThemeColors({ backgroundColor: 'var(--bgl-white)' }),
|
|
76
|
-
'black': getThemeColors({ backgroundColor: 'var(--bgl-black)' }),
|
|
75
|
+
'white': getThemeColors({ backgroundColor: 'var(--bgl-white)', color: 'var(--bgl-black)' }),
|
|
76
|
+
'black': getThemeColors({ backgroundColor: 'var(--bgl-black)', color: 'var(--bgl-white)' }),
|
|
77
77
|
'green': getThemeColors({ backgroundColor: 'var(--bgl-green)', color: 'var(--bgl-white)' }),
|
|
78
78
|
'primary': getThemeColors({ backgroundColor: 'var(--bgl-primary)', color: 'var(--bgl-white)' }),
|
|
79
79
|
'gray': getThemeColors({ backgroundColor: 'var(--bgl-gray-light)', color: 'var(--bgl-black)' }),
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
<script lang="ts" setup>
|
|
2
2
|
import {
|
|
3
3
|
BglField,
|
|
4
|
-
type BglFormSchemaT,
|
|
5
4
|
Title,
|
|
6
5
|
getFallbackSchema,
|
|
7
6
|
iffer,
|
|
8
7
|
isDate,
|
|
9
8
|
keyToLabel,
|
|
10
9
|
} from '@bagelink/vue'
|
|
10
|
+
import type { BglFormSchemaT } from '@bagelink/vue'
|
|
11
11
|
|
|
12
12
|
const props = defineProps<{
|
|
13
13
|
showFields?: string[]
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import { Btn, type MaterialIcons } from '@bagelink/vue'
|
|
3
3
|
import { Dropdown as DDown } from 'floating-vue'
|
|
4
4
|
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
5
|
+
export type Side = 'top' | 'right' | 'bottom' | 'left' | 'auto'
|
|
6
|
+
export type Alignment = 'start' | 'end'
|
|
7
|
+
export type AlignedPlacement = 'auto' | `${Side}-${Alignment}`
|
|
8
8
|
|
|
9
9
|
defineProps<{
|
|
10
10
|
value?: string
|
|
@@ -17,7 +17,7 @@ defineProps<{
|
|
|
17
17
|
border?: boolean
|
|
18
18
|
outline?: boolean
|
|
19
19
|
round?: boolean
|
|
20
|
-
placement?:
|
|
20
|
+
placement?: AlignedPlacement
|
|
21
21
|
noAutoFocus?: boolean
|
|
22
22
|
// theme
|
|
23
23
|
// referenceNode
|
|
@@ -63,7 +63,7 @@ defineExpose({ show, hide })
|
|
|
63
63
|
<template>
|
|
64
64
|
<DDown ref="ddownRef" :disabled="disabled" :noAutoFocus="noAutoFocus" :placement="placement" @hide="emit('hide')" @show="emit('show')">
|
|
65
65
|
<slot name="trigger">
|
|
66
|
-
<Btn :class="triggerClass" :icon="icon" :value="value" :thin="thin" :flat="
|
|
66
|
+
<Btn :class="triggerClass" :icon="icon" :value="value" :thin="thin" :flat="flat" />
|
|
67
67
|
</slot>
|
|
68
68
|
<template #popper>
|
|
69
69
|
<slot />
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import '
|
|
2
|
+
import { appendScript, sleep } from '@bagelink/vue'
|
|
3
3
|
import { onMounted, watch } from 'vue'
|
|
4
4
|
import type { LatLngExpression, Layer, Map, Marker } from 'leaflet'
|
|
5
|
-
import
|
|
5
|
+
import './leaflet/leaflet.css'
|
|
6
6
|
|
|
7
7
|
type MapMarker = {
|
|
8
8
|
lat: number
|
|
@@ -57,12 +57,12 @@ async function initializeMap() {
|
|
|
57
57
|
|
|
58
58
|
function addMarker(L: any, latlng: LatLngExpression) {
|
|
59
59
|
const iconSVG = props.markerIcon || defaultMarkerSVG
|
|
60
|
-
const customIcon = L
|
|
60
|
+
const customIcon = L?.icon({
|
|
61
61
|
iconUrl: `data:image/svg+xml;utf8,${encodeURIComponent(iconSVG)}`,
|
|
62
62
|
iconSize: [32, 32],
|
|
63
63
|
})
|
|
64
64
|
|
|
65
|
-
const marker = L
|
|
65
|
+
const marker = L?.marker(latlng, { icon: customIcon }).addTo(map as Map)
|
|
66
66
|
_markers.push(marker)
|
|
67
67
|
}
|
|
68
68
|
|
|
@@ -72,20 +72,20 @@ function fitMarkers(L: any) {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
|
|
76
|
-
()
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
)
|
|
75
|
+
async function watchMarkers(markers?: MapMarker[]) {
|
|
76
|
+
if (!L) L = await loadGlobalL()
|
|
77
|
+
_markers.forEach(marker => marker.remove())
|
|
78
|
+
if (!markers) return
|
|
79
|
+
for (const marker of markers) {
|
|
80
|
+
const [lat, lon] = Array.isArray(marker) ? marker : [marker.lat, marker.lon]
|
|
81
|
+
if (!map) initializeMap()
|
|
82
|
+
addMarker(L, [lat, lon])
|
|
83
|
+
fitMarkers(L)
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
watch(() => props.markers, watchMarkers, { immediate: true })
|
|
88
|
+
watch(() => props.center, center => map?.setView(center, props.zoom), { immediate: true })
|
|
89
89
|
|
|
90
90
|
onMounted(initializeMap)
|
|
91
91
|
</script>
|
package/src/components/Modal.vue
CHANGED
|
@@ -1,10 +1,4 @@
|
|
|
1
1
|
<script lang="ts" setup>
|
|
2
|
-
import {
|
|
3
|
-
onMounted,
|
|
4
|
-
onUnmounted,
|
|
5
|
-
useSlots,
|
|
6
|
-
watch,
|
|
7
|
-
} from 'vue'
|
|
8
2
|
import {
|
|
9
3
|
Btn,
|
|
10
4
|
type BtnOptions,
|
|
@@ -12,6 +6,12 @@ import {
|
|
|
12
6
|
Title,
|
|
13
7
|
useEscape,
|
|
14
8
|
} from '@bagelink/vue'
|
|
9
|
+
import {
|
|
10
|
+
onMounted,
|
|
11
|
+
onUnmounted,
|
|
12
|
+
useSlots,
|
|
13
|
+
watch,
|
|
14
|
+
} from 'vue'
|
|
15
15
|
import '../styles/modal.css'
|
|
16
16
|
|
|
17
17
|
const props = defineProps<{
|
|
@@ -7,8 +7,8 @@ import {
|
|
|
7
7
|
keyToLabel,
|
|
8
8
|
useBglSchema,
|
|
9
9
|
} from '@bagelink/vue'
|
|
10
|
-
import { computed, useSlots, watch } from 'vue'
|
|
11
10
|
import { useVirtualList } from '@vueuse/core'
|
|
11
|
+
import { computed, useSlots, watch } from 'vue'
|
|
12
12
|
|
|
13
13
|
export type SortDirectionsT = 'ASC' | 'DESC'
|
|
14
14
|
const props = defineProps<{
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
<script lang="ts" setup>
|
|
2
|
+
import { onMounted, onUnmounted } from 'vue'
|
|
2
3
|
import {
|
|
3
4
|
Area,
|
|
4
5
|
Chart,
|
|
@@ -8,7 +9,6 @@ import {
|
|
|
8
9
|
Tooltip,
|
|
9
10
|
} from 'vue3-charts'
|
|
10
11
|
import type { ChartAxis, Data } from 'vue3-charts/dist/types'
|
|
11
|
-
import { onMounted, onUnmounted } from 'vue'
|
|
12
12
|
|
|
13
13
|
const props = defineProps<{ data: Data[], locale: string }>()
|
|
14
14
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
export { default as BglField } from './BglField.vue'
|
|
1
2
|
export { default as BglForm } from './BglForm.vue'
|
|
2
3
|
export { default as BagelForm } from './BglForm.vue'
|
|
3
|
-
export { default as BglField } from './BglField.vue'
|
|
4
4
|
export { default as BglMultiStepForm } from './BglMultiStepForm.vue'
|
|
5
5
|
export * from './inputs'
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
2
|
import VDatepicker, { type DatePickerInstance, type VueDatePickerProps } from '@vuepic/vue-datepicker'
|
|
3
|
-
import '@vuepic/vue-datepicker/dist/main.css'
|
|
4
3
|
import { onMounted } from 'vue'
|
|
4
|
+
import '@vuepic/vue-datepicker/dist/main.css'
|
|
5
5
|
|
|
6
6
|
const props = withDefaults(
|
|
7
7
|
defineProps<{
|
|
@@ -6,15 +6,15 @@ import {
|
|
|
6
6
|
bagelFormUtils,
|
|
7
7
|
useModal,
|
|
8
8
|
} from '@bagelink/vue'
|
|
9
|
-
import { onBeforeUnmount, onMounted, watch } from 'vue'
|
|
10
|
-
import StarterKit from '@tiptap/starter-kit'
|
|
11
|
-
import { Editor, EditorContent } from '@tiptap/vue-3'
|
|
12
9
|
import Image from '@tiptap/extension-image'
|
|
13
|
-
import YouTube from '@tiptap/extension-youtube'
|
|
14
10
|
import Table from '@tiptap/extension-table'
|
|
15
|
-
import TableRow from '@tiptap/extension-table-row'
|
|
16
11
|
import TableCell from '@tiptap/extension-table-cell'
|
|
17
12
|
import TableHeader from '@tiptap/extension-table-header'
|
|
13
|
+
import TableRow from '@tiptap/extension-table-row'
|
|
14
|
+
import YouTube from '@tiptap/extension-youtube'
|
|
15
|
+
import StarterKit from '@tiptap/starter-kit'
|
|
16
|
+
import { Editor, EditorContent } from '@tiptap/vue-3'
|
|
17
|
+
import { onBeforeUnmount, onMounted, watch } from 'vue'
|
|
18
18
|
import type { MaterialIcons } from '@bagelink/vue'
|
|
19
19
|
|
|
20
20
|
const props = defineProps<{ modelValue: string }>()
|
|
@@ -57,22 +57,19 @@ const config: {
|
|
|
57
57
|
name: 'Bold',
|
|
58
58
|
command: () => focus().toggleBold().run(),
|
|
59
59
|
icon: 'format_bold',
|
|
60
|
-
disabled: () => !editor?.can().chain().focus().toggleBold()
|
|
61
|
-
.run(),
|
|
60
|
+
disabled: () => !editor?.can().chain().focus().toggleBold().run(),
|
|
62
61
|
},
|
|
63
62
|
{
|
|
64
63
|
name: 'Italic',
|
|
65
64
|
command: () => focus().toggleItalic().run(),
|
|
66
65
|
icon: 'format_italic',
|
|
67
|
-
disabled: () => !editor?.can().chain().focus().toggleItalic()
|
|
68
|
-
.run(),
|
|
66
|
+
disabled: () => !editor?.can().chain().focus().toggleItalic().run(),
|
|
69
67
|
},
|
|
70
68
|
{
|
|
71
69
|
name: 'Strike',
|
|
72
70
|
command: () => focus().toggleStrike().run(),
|
|
73
71
|
icon: 'format_strikethrough',
|
|
74
|
-
disabled: () => !editor?.can().chain().focus().toggleStrike()
|
|
75
|
-
.run(),
|
|
72
|
+
disabled: () => !editor?.can().chain().focus().toggleStrike().run(),
|
|
76
73
|
},
|
|
77
74
|
{
|
|
78
75
|
name: 'Code Text',
|
|
@@ -190,15 +187,13 @@ const config: {
|
|
|
190
187
|
name: 'Undo',
|
|
191
188
|
command: () => focus().undo().run(),
|
|
192
189
|
icon: 'undo',
|
|
193
|
-
disabled: () => !editor?.can().chain().focus().undo()
|
|
194
|
-
.run(),
|
|
190
|
+
disabled: () => !editor?.can().chain().focus().undo().run(),
|
|
195
191
|
},
|
|
196
192
|
{
|
|
197
193
|
name: 'Redo',
|
|
198
194
|
command: () => focus().redo().run(),
|
|
199
195
|
icon: 'redo',
|
|
200
|
-
disabled: () => !editor?.can().chain().focus().redo()
|
|
201
|
-
.run(),
|
|
196
|
+
disabled: () => !editor?.can().chain().focus().redo().run(),
|
|
202
197
|
},
|
|
203
198
|
]
|
|
204
199
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<script lang="ts" setup>
|
|
2
2
|
import { onMounted, watch } from 'vue'
|
|
3
|
+
import { applyFormatting } from './formatting'
|
|
3
4
|
import Toolbar from './Toolbar.vue'
|
|
4
5
|
import type { ToolbarConfig } from './richtext-types'
|
|
5
|
-
import { applyFormatting } from './formatting'
|
|
6
6
|
|
|
7
7
|
const props = defineProps<{ modelValue: string, toolbarConfig?: ToolbarConfig }>()
|
|
8
8
|
const emit = defineEmits(['update:modelValue'])
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
<script lang="ts" setup>
|
|
2
|
-
import { onMounted, watch } from 'vue'
|
|
3
|
-
import 'floating-vue/style.css'
|
|
4
2
|
import {
|
|
5
3
|
Btn,
|
|
6
4
|
Card,
|
|
@@ -10,6 +8,8 @@ import {
|
|
|
10
8
|
type Option,
|
|
11
9
|
TextInput,
|
|
12
10
|
} from '@bagelink/vue'
|
|
11
|
+
import { onMounted, watch } from 'vue'
|
|
12
|
+
import 'floating-vue/style.css'
|
|
13
13
|
|
|
14
14
|
const props = defineProps<{
|
|
15
15
|
options: Option[]
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import SignaturePad from 'signature_pad'
|
|
3
|
-
import type { Options as SignaturePadOptions } from 'signature_pad'
|
|
4
2
|
import { Btn } from '@bagelink/vue'
|
|
3
|
+
import SignaturePad from 'signature_pad'
|
|
5
4
|
import { onMounted, watch } from 'vue'
|
|
5
|
+
import type { Options as SignaturePadOptions } from 'signature_pad'
|
|
6
6
|
|
|
7
7
|
interface WaterMark {
|
|
8
8
|
text: string
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import { VueDraggableNext } from 'vue-draggable-next'
|
|
3
|
-
import { onMounted, ref } from 'vue'
|
|
4
2
|
import { Btn, MaterialIcon, formatString } from '@bagelink/vue'
|
|
3
|
+
import { onMounted, ref } from 'vue'
|
|
4
|
+
import { VueDraggableNext } from 'vue-draggable-next'
|
|
5
5
|
|
|
6
6
|
const props = withDefaults(
|
|
7
7
|
defineProps<{
|
|
@@ -8,13 +8,13 @@ import {
|
|
|
8
8
|
allCountries,
|
|
9
9
|
debounce,
|
|
10
10
|
} from '@bagelink/vue'
|
|
11
|
-
import
|
|
11
|
+
import axios from 'axios'
|
|
12
12
|
import {
|
|
13
13
|
type CountryCode,
|
|
14
14
|
type NumberFormat,
|
|
15
15
|
parsePhoneNumberFromString,
|
|
16
16
|
} from 'libphonenumber-js'
|
|
17
|
-
import
|
|
17
|
+
import { type Raw, type StyleValue, onMounted, watch } from 'vue'
|
|
18
18
|
|
|
19
19
|
export interface Props {
|
|
20
20
|
label?: string
|
|
@@ -139,7 +139,7 @@ const filteredCountries = $computed(() => {
|
|
|
139
139
|
if (props.excludeCountries.length) {
|
|
140
140
|
return props.allCountries.filter(
|
|
141
141
|
({ iso2 }) => !props.excludeCountries.includes(iso2.toUpperCase())
|
|
142
|
-
|
|
142
|
+
&& !props.excludeCountries.includes(iso2.toLowerCase()),
|
|
143
143
|
)
|
|
144
144
|
}
|
|
145
145
|
return props.allCountries
|
|
@@ -157,8 +157,8 @@ const sortedCountries = $computed(() => {
|
|
|
157
157
|
return countriesList
|
|
158
158
|
.filter(
|
|
159
159
|
c => new RegExp(cleanInput, 'i').test(c.name || '')
|
|
160
|
-
|
|
161
|
-
|
|
160
|
+
|| new RegExp(cleanInput, 'i').test(c.iso2 || '')
|
|
161
|
+
|| new RegExp(cleanInput, 'i').test(c.dialCode || ''),
|
|
162
162
|
)
|
|
163
163
|
.filter(Boolean)
|
|
164
164
|
})
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
+
export { default as Checkbox } from './Checkbox.vue'
|
|
1
2
|
export { default as CheckInput } from './CheckInput.vue'
|
|
3
|
+
export { default as ColorPicker } from './ColorPicker.vue'
|
|
2
4
|
export { default as DateInput } from './DateInput.vue'
|
|
5
|
+
export { default as DatePicker } from './DatePicker.vue'
|
|
6
|
+
export { default as FileUpload } from './FileUpload.vue'
|
|
3
7
|
export { default as JSONInput } from './JSONInput.vue'
|
|
8
|
+
export { default as PasswordInput } from './PasswordInput.vue'
|
|
9
|
+
export { default as RadioGroup } from './RadioGroup.vue'
|
|
10
|
+
export { default as RadioPillsInput } from './RadioPillsInput.vue'
|
|
11
|
+
export { default as RichText } from './RichText.vue'
|
|
12
|
+
export { default as RichText2 } from './RichText2/index.vue'
|
|
4
13
|
export { default as SelectInput } from './SelectInput.vue'
|
|
14
|
+
export { default as SignaturePad } from './SignaturePad.vue'
|
|
5
15
|
export { default as TableField } from './TableField.vue'
|
|
16
|
+
export { default as TelInput } from './TelInput.vue'
|
|
6
17
|
export { default as TextInput } from './TextInput.vue'
|
|
7
|
-
export { default as Checkbox } from './Checkbox.vue'
|
|
8
|
-
export { default as ColorPicker } from './ColorPicker.vue'
|
|
9
|
-
export { default as DatePicker } from './DatePicker.vue'
|
|
10
|
-
export { default as RadioPillsInput } from './RadioPillsInput.vue'
|
|
11
|
-
export { default as FileUpload } from './FileUpload.vue'
|
|
12
18
|
export { default as ToggleInput } from './ToggleInput.vue'
|
|
13
|
-
export { default as RichText } from './RichText.vue'
|
|
14
|
-
export { default as TelInput } from './TelInput.vue'
|
|
15
|
-
export { default as SignaturePad } from './SignaturePad.vue'
|
|
16
|
-
export { default as RichText2 } from './RichText2/index.vue'
|
|
17
|
-
export { default as RadioGroup } from './RadioGroup.vue'
|
|
18
|
-
export { default as PasswordInput } from './PasswordInput.vue'
|
|
@@ -9,10 +9,10 @@ interface UploadFile {
|
|
|
9
9
|
uploaded: boolean
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
import { onMounted, onUnmounted } from 'vue'
|
|
13
|
-
|
|
14
12
|
import { Btn, Icon, useBagel } from '@bagelink/vue'
|
|
15
13
|
|
|
14
|
+
import { onMounted, onUnmounted } from 'vue'
|
|
15
|
+
|
|
16
16
|
const props = withDefaults(
|
|
17
17
|
defineProps<{
|
|
18
18
|
context: Record<string, any>
|
package/src/components/index.ts
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
export { default as MaterialIcon } from './MaterialIcon.vue'
|
|
2
|
-
export { default as Icon } from './MaterialIcon.vue'
|
|
3
|
-
export { default as NavBar } from './NavBar.vue'
|
|
4
|
-
export { default as Btn } from './Btn.vue'
|
|
5
|
-
export { default as Modal } from './Modal.vue'
|
|
6
|
-
export { default as ModalForm } from './ModalForm.vue'
|
|
7
|
-
export { default as AccordionItem } from './AccordionItem.vue'
|
|
8
|
-
export { default as ListView } from './ListView.vue'
|
|
9
|
-
export { default as ListItem } from './ListItem.vue'
|
|
10
|
-
export { default as PageTitle } from './PageTitle.vue'
|
|
11
|
-
export { default as TableSchema } from './TableSchema.vue'
|
|
12
|
-
export { default as TopBar } from './TopBar.vue'
|
|
13
|
-
export { default as RouterWrapper } from './RouterWrapper.vue'
|
|
14
|
-
export { default as DataPreview } from './DataPreview.vue'
|
|
15
|
-
export { default as Card } from './Card.vue'
|
|
16
|
-
export { default as Avatar } from './Avatar.vue'
|
|
17
|
-
export { default as Title } from './Title.vue'
|
|
18
1
|
export { default as Accordion } from './Accordion.vue'
|
|
2
|
+
export { default as AccordionItem } from './AccordionItem.vue'
|
|
3
|
+
export { default as AddressSearch } from './AddressSearch.vue'
|
|
19
4
|
export { default as Alert } from './Alert.vue'
|
|
5
|
+
export { default as Avatar } from './Avatar.vue'
|
|
20
6
|
export { default as Badge } from './Badge.vue'
|
|
21
7
|
export { default as BglVideo } from './BglVideo.vue'
|
|
8
|
+
export { default as Btn } from './Btn.vue'
|
|
9
|
+
export { default as Card } from './Card.vue'
|
|
22
10
|
export { default as Carousel } from './Carousel.vue'
|
|
23
|
-
export
|
|
24
|
-
export { default as
|
|
25
|
-
export { default as Flag } from './Flag.vue'
|
|
26
|
-
export { default as AddressSearch } from './AddressSearch.vue'
|
|
11
|
+
export * from './dashboard'
|
|
12
|
+
export { default as DataPreview } from './DataPreview.vue'
|
|
27
13
|
export { default as Dropdown } from './Dropdown.vue'
|
|
28
|
-
|
|
14
|
+
export { default as Flag } from './Flag.vue'
|
|
29
15
|
export * from './form'
|
|
30
|
-
export * from './dashboard'
|
|
31
16
|
// export * from './whatsapp';
|
|
32
17
|
export * from './layout'
|
|
18
|
+
export { default as ListItem } from './ListItem.vue'
|
|
19
|
+
export { default as ListView } from './ListView.vue'
|
|
20
|
+
export { default as MapEmbed } from './MapEmbed.vue'
|
|
21
|
+
export { default as MaterialIcon } from './MaterialIcon.vue'
|
|
22
|
+
export { default as Icon } from './MaterialIcon.vue'
|
|
23
|
+
export { default as Modal } from './Modal.vue'
|
|
24
|
+
export { default as ModalConfirm } from './ModalConfirm.vue'
|
|
25
|
+
export { default as ModalForm } from './ModalForm.vue'
|
|
26
|
+
export { default as NavBar } from './NavBar.vue'
|
|
27
|
+
export { default as PageTitle } from './PageTitle.vue'
|
|
28
|
+
export { default as RouterWrapper } from './RouterWrapper.vue'
|
|
29
|
+
|
|
30
|
+
export { default as TableSchema } from './TableSchema.vue'
|
|
31
|
+
export { default as Title } from './Title.vue'
|
|
32
|
+
export { default as TopBar } from './TopBar.vue'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script lang="ts" setup>
|
|
2
|
-
import { useSlots } from 'vue'
|
|
3
2
|
import { Btn, Card, Icon } from '@bagelink/vue'
|
|
3
|
+
import { useSlots } from 'vue'
|
|
4
4
|
import type { NavLink } from '@bagelink/vue'
|
|
5
5
|
|
|
6
6
|
const props = defineProps<{
|
|
@@ -90,6 +90,8 @@ function toggleMenu() {
|
|
|
90
90
|
width: calc(100% - 1rem);
|
|
91
91
|
padding: 0.5rem;
|
|
92
92
|
overflow-y: auto;
|
|
93
|
+
/* scrollbar-gutter: stable both-edges; */
|
|
94
|
+
|
|
93
95
|
}
|
|
94
96
|
.toggleNav {
|
|
95
97
|
height: 22px !important;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
2
|
import { type Tab, TabsNav } from '@bagelink/vue'
|
|
3
|
-
import {
|
|
3
|
+
import { defineComponent, defineProps, h, useSlots } from 'vue'
|
|
4
|
+
import type { VNode } from 'vue'
|
|
4
5
|
|
|
5
6
|
import { useTabs } from './tabsManager'
|
|
6
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
export { default as BottomMenu } from './BottomMenu.vue'
|
|
1
2
|
export { default as Layout } from './Layout.vue'
|
|
2
3
|
export { default as SidebarMenu } from './SidebarMenu.vue'
|
|
3
|
-
export { default as
|
|
4
|
+
export { default as TabbedLayout } from './TabbedLayout.vue'
|
|
4
5
|
export { default as Tabs } from './Tabs.vue'
|
|
5
|
-
export { default as TabsNav } from './TabsNav.vue'
|
|
6
6
|
export { default as TabsBody } from './TabsBody.vue'
|
|
7
|
-
export { default as
|
|
7
|
+
export { default as TabsNav } from './TabsNav.vue'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { App, Directive, DirectiveBinding } from 'vue'
|
|
2
|
-
import { createApp } from 'vue'
|
|
3
1
|
import { IMAGE_FORMATS_REGEXP, VIDEO_FORMATS_REGEXP } from '@bagelink/vue'
|
|
2
|
+
import { createApp } from 'vue'
|
|
3
|
+
import type { App, Directive, DirectiveBinding } from 'vue'
|
|
4
4
|
import Lightbox from './Lightbox.vue'
|
|
5
5
|
import type { LightboxItem } from './lightbox.types'
|
|
6
6
|
|