@bagelink/vue 0.0.114 → 0.0.116
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/Btn.vue.d.ts +1 -1
- package/dist/components/Comments.vue.d.ts +2 -6
- package/dist/components/Comments.vue.d.ts.map +1 -1
- package/dist/components/PersonPreview.vue.d.ts +22 -0
- package/dist/components/PersonPreview.vue.d.ts.map +1 -0
- package/dist/components/charts/index.d.ts +1 -1
- package/dist/components/charts/index.d.ts.map +1 -1
- package/dist/components/dashboard/index.d.ts +1 -1
- package/dist/components/dashboard/index.d.ts.map +1 -1
- package/dist/components/form/index.d.ts +3 -3
- package/dist/components/form/index.d.ts.map +1 -1
- package/dist/components/form/inputs/index.d.ts +17 -17
- package/dist/components/form/inputs/index.d.ts.map +1 -1
- package/dist/components/formkit/index.d.ts +9 -9
- package/dist/components/formkit/index.d.ts.map +1 -1
- package/dist/components/index.d.ts +20 -19
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/whatsapp/index.d.ts +2 -2
- package/dist/components/whatsapp/index.d.ts.map +1 -1
- package/dist/index.cjs +434 -509
- package/dist/index.mjs +434 -509
- package/dist/style.css +105 -26
- package/package.json +2 -3
- package/src/components/Comments.vue +2 -4
- package/src/components/PersonPreview.vue +1 -1
- package/src/components/charts/index.ts +1 -1
- package/src/components/dashboard/index.ts +1 -1
- package/src/components/form/index.ts +3 -3
- package/src/components/form/inputs/index.ts +17 -17
- package/src/components/formkit/index.ts +16 -16
- package/src/components/index.ts +20 -19
- package/src/components/whatsapp/index.ts +2 -2
- package/tsconfig.json +1 -0
- package/vite.config.ts +0 -1
package/dist/style.css
CHANGED
|
@@ -619,17 +619,17 @@
|
|
|
619
619
|
width: 99%;
|
|
620
620
|
}
|
|
621
621
|
|
|
622
|
-
.comments-wrap[data-v-
|
|
622
|
+
.comments-wrap[data-v-ff29354a] {
|
|
623
623
|
display: grid;
|
|
624
624
|
grid-template-rows: 1fr 40px;
|
|
625
625
|
height: 100%;
|
|
626
626
|
position: relative;
|
|
627
627
|
gap: 0.5rem;
|
|
628
628
|
}
|
|
629
|
-
.comments-wrap p[data-v-
|
|
629
|
+
.comments-wrap p[data-v-ff29354a] {
|
|
630
630
|
margin: 0;
|
|
631
631
|
}
|
|
632
|
-
.comments-wrap[data-v-
|
|
632
|
+
.comments-wrap[data-v-ff29354a]::before {
|
|
633
633
|
content: '';
|
|
634
634
|
inset-inline-start: 10px;
|
|
635
635
|
top: 0px;
|
|
@@ -638,27 +638,27 @@
|
|
|
638
638
|
position: absolute;
|
|
639
639
|
bottom: 10px;
|
|
640
640
|
}
|
|
641
|
-
.comment-top[data-v-
|
|
641
|
+
.comment-top[data-v-ff29354a] {
|
|
642
642
|
display: flex;
|
|
643
643
|
align-items: baseline;
|
|
644
644
|
flex-wrap: wrap;
|
|
645
645
|
position: relative;
|
|
646
646
|
margin-inline-start: 1rem;
|
|
647
647
|
}
|
|
648
|
-
.comment-list[data-v-
|
|
648
|
+
.comment-list[data-v-ff29354a] {
|
|
649
649
|
padding: 0.5rem;
|
|
650
650
|
height: 100%;
|
|
651
651
|
overflow: auto;
|
|
652
652
|
}
|
|
653
|
-
.comment[data-v-
|
|
653
|
+
.comment[data-v-ff29354a] {
|
|
654
654
|
margin-bottom: 1rem;
|
|
655
655
|
}
|
|
656
|
-
.comment-owner[data-v-
|
|
656
|
+
.comment-owner[data-v-ff29354a] {
|
|
657
657
|
font-size: 14px;
|
|
658
658
|
margin-inline-end: 0.5rem;
|
|
659
659
|
color: var(--bgl-gray);
|
|
660
660
|
}
|
|
661
|
-
.comment-owner[data-v-
|
|
661
|
+
.comment-owner[data-v-ff29354a]::before {
|
|
662
662
|
content: '';
|
|
663
663
|
height: 12px;
|
|
664
664
|
width: 12px;
|
|
@@ -668,18 +668,18 @@
|
|
|
668
668
|
inset-inline-start: -1.2rem;
|
|
669
669
|
top: 0.2rem;
|
|
670
670
|
}
|
|
671
|
-
.me .comment-owner[data-v-
|
|
671
|
+
.me .comment-owner[data-v-ff29354a] {
|
|
672
672
|
color: var(--bgl-blue);
|
|
673
673
|
}
|
|
674
|
-
.me .comment-owner[data-v-
|
|
674
|
+
.me .comment-owner[data-v-ff29354a]::before {
|
|
675
675
|
background: var(--bgl-blue);
|
|
676
676
|
}
|
|
677
|
-
.comment-time[data-v-
|
|
677
|
+
.comment-time[data-v-ff29354a] {
|
|
678
678
|
color: var(--bgl-gray);
|
|
679
679
|
font-size: 10px;
|
|
680
680
|
white-space: nowrap;
|
|
681
681
|
}
|
|
682
|
-
.comment-actions[data-v-
|
|
682
|
+
.comment-actions[data-v-ff29354a] {
|
|
683
683
|
background: red;
|
|
684
684
|
line-height: 0;
|
|
685
685
|
display: flex;
|
|
@@ -687,35 +687,35 @@
|
|
|
687
687
|
flex-grow: 1;
|
|
688
688
|
gap: 0.25rem;
|
|
689
689
|
}
|
|
690
|
-
.comment .comment-actions .edit[data-v-
|
|
690
|
+
.comment .comment-actions .edit[data-v-ff29354a] {
|
|
691
691
|
opacity: 0;
|
|
692
692
|
}
|
|
693
|
-
.comment-actions .edit[data-v-
|
|
693
|
+
.comment-actions .edit[data-v-ff29354a] {
|
|
694
694
|
margin-inline-end: auto;
|
|
695
695
|
}
|
|
696
|
-
.comment.me:hover .comment-actions .edit[data-v-
|
|
696
|
+
.comment.me:hover .comment-actions .edit[data-v-ff29354a] {
|
|
697
697
|
opacity: 0.4;
|
|
698
698
|
}
|
|
699
|
-
.comment-actions>div[data-v-
|
|
699
|
+
.comment-actions>div[data-v-ff29354a] {
|
|
700
700
|
transition: all 200ms ease;
|
|
701
701
|
cursor: pointer;
|
|
702
702
|
opacity: 0.6;
|
|
703
703
|
}
|
|
704
|
-
.comment-actions>div[data-v-
|
|
704
|
+
.comment-actions>div[data-v-ff29354a]:hover {
|
|
705
705
|
color: var(--bgl-blue);
|
|
706
706
|
}
|
|
707
|
-
.comment-actions .delete[data-v-
|
|
707
|
+
.comment-actions .delete[data-v-ff29354a]:hover {
|
|
708
708
|
color: var(--bgl-red);
|
|
709
709
|
}
|
|
710
|
-
.comment-actions>div[data-v-
|
|
710
|
+
.comment-actions>div[data-v-ff29354a]:active {
|
|
711
711
|
filter: brightness(70%);
|
|
712
712
|
}
|
|
713
|
-
.icon-font.delete[data-v-
|
|
714
|
-
.icon-font.save[data-v-
|
|
713
|
+
.icon-font.delete[data-v-ff29354a],
|
|
714
|
+
.icon-font.save[data-v-ff29354a] {
|
|
715
715
|
display: none;
|
|
716
716
|
}
|
|
717
|
-
.editable .icon-font.delete[data-v-
|
|
718
|
-
.editable .icon-font.save[data-v-
|
|
717
|
+
.editable .icon-font.delete[data-v-ff29354a],
|
|
718
|
+
.editable .icon-font.save[data-v-ff29354a] {
|
|
719
719
|
display: block;
|
|
720
720
|
}
|
|
721
721
|
|
|
@@ -728,10 +728,10 @@
|
|
|
728
728
|
/* overflow: hidden; */
|
|
729
729
|
/* border-radius: 10px; */
|
|
730
730
|
/* } */
|
|
731
|
-
.editable .editor-wrapper[data-v-
|
|
731
|
+
.editable .editor-wrapper[data-v-ff29354a] {
|
|
732
732
|
background-color: var(--bgl-bg);
|
|
733
733
|
}
|
|
734
|
-
.new-comment[data-v-
|
|
734
|
+
.new-comment[data-v-ff29354a] {
|
|
735
735
|
display: flex;
|
|
736
736
|
align-items: flex-end;
|
|
737
737
|
position: relative;
|
|
@@ -741,7 +741,7 @@
|
|
|
741
741
|
color: var(--input-color);
|
|
742
742
|
line-height: 1.6;
|
|
743
743
|
}
|
|
744
|
-
.comment-input[data-v-
|
|
744
|
+
.comment-input[data-v-ff29354a] {
|
|
745
745
|
max-height: 100px;
|
|
746
746
|
overflow: auto;
|
|
747
747
|
flex-grow: 1;
|
|
@@ -888,6 +888,85 @@ th[data-v-5c5ba615] {
|
|
|
888
888
|
width: 100%;
|
|
889
889
|
}
|
|
890
890
|
|
|
891
|
+
.person-card {
|
|
892
|
+
border: 1.1px solid var(--border-color);
|
|
893
|
+
/* background: var(--input-bg); */
|
|
894
|
+
border-radius: var(--card-border-radius);
|
|
895
|
+
padding: 1rem;
|
|
896
|
+
margin-bottom: 0.5rem;
|
|
897
|
+
font-size: 1rem;
|
|
898
|
+
position: relative;
|
|
899
|
+
}
|
|
900
|
+
.person-card p {
|
|
901
|
+
margin: 0;
|
|
902
|
+
}
|
|
903
|
+
.person-card-details {
|
|
904
|
+
font-size: 14px;
|
|
905
|
+
margin-bottom: 2px;
|
|
906
|
+
line-height: 1.3;
|
|
907
|
+
display: flex;
|
|
908
|
+
}
|
|
909
|
+
.person-card-details p {
|
|
910
|
+
color: var(--input-color);
|
|
911
|
+
opacity: 0.6;
|
|
912
|
+
}
|
|
913
|
+
.person-card-details.badge p {
|
|
914
|
+
opacity: 1;
|
|
915
|
+
}
|
|
916
|
+
.person-card-details p:nth-child(2) {
|
|
917
|
+
opacity: 1;
|
|
918
|
+
padding-inline-end: 0.5rem;
|
|
919
|
+
}
|
|
920
|
+
.person-card-details .icon-font {
|
|
921
|
+
color: var(--bgl-blue);
|
|
922
|
+
padding-inline-end: 0.25rem;
|
|
923
|
+
}
|
|
924
|
+
.person-card-edit {
|
|
925
|
+
position: absolute;
|
|
926
|
+
inset-inline-end: 1rem;
|
|
927
|
+
}
|
|
928
|
+
.person-card-details-wrap {
|
|
929
|
+
display: flex;
|
|
930
|
+
gap: 0.5rem;
|
|
931
|
+
flex-wrap: wrap;
|
|
932
|
+
}
|
|
933
|
+
.person-card-icon {
|
|
934
|
+
background: var(--bgl-gray);
|
|
935
|
+
height: 30px;
|
|
936
|
+
width: 30px;
|
|
937
|
+
border-radius: 100%;
|
|
938
|
+
text-transform: uppercase;
|
|
939
|
+
display: flex;
|
|
940
|
+
justify-content: center;
|
|
941
|
+
align-items: center;
|
|
942
|
+
color: white;
|
|
943
|
+
font-size: 12px;
|
|
944
|
+
}
|
|
945
|
+
.person-card-icon-wrap {
|
|
946
|
+
display: flex;
|
|
947
|
+
gap: 0.5rem;
|
|
948
|
+
align-items: center;
|
|
949
|
+
padding-bottom: 0.75rem;
|
|
950
|
+
}
|
|
951
|
+
@media screen and (max-width: 910px) {
|
|
952
|
+
.person-card-icon-wrap {
|
|
953
|
+
padding-bottom: 0.5rem;
|
|
954
|
+
}
|
|
955
|
+
.person-card {
|
|
956
|
+
padding: 0.75rem;
|
|
957
|
+
position: relative;
|
|
958
|
+
}
|
|
959
|
+
.person-card-edit {
|
|
960
|
+
/* position: relative; */
|
|
961
|
+
inset-inline-end: 0.5rem;
|
|
962
|
+
margin-bottom: 1rem;
|
|
963
|
+
justify-content: flex-end;
|
|
964
|
+
}
|
|
965
|
+
.person-card-name {
|
|
966
|
+
max-width: calc(100% - 170px);
|
|
967
|
+
}
|
|
968
|
+
}
|
|
969
|
+
|
|
891
970
|
/* .group-wrap * {
|
|
892
971
|
outline: 1px solid red;
|
|
893
972
|
} */
|
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.116",
|
|
5
5
|
"description": "Bagel core sdk packages",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Neveh Allon",
|
|
@@ -51,8 +51,7 @@
|
|
|
51
51
|
"./vite.config.ts"
|
|
52
52
|
],
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"vue": "^3.3.8"
|
|
55
|
-
"@bagelink/sdk": "0.0.114"
|
|
54
|
+
"vue": "^3.3.8"
|
|
56
55
|
},
|
|
57
56
|
"devDependencies": {
|
|
58
57
|
"@vue-macros/reactivity-transform": "^0.4.0"
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
icon="send"
|
|
61
61
|
@click="newComment"
|
|
62
62
|
>
|
|
63
|
-
{{
|
|
63
|
+
{{ sendBtnLabel }}
|
|
64
64
|
</Btn>
|
|
65
65
|
</div>
|
|
66
66
|
</div>
|
|
@@ -88,9 +88,7 @@ let editComment = $ref<Comment | null>(null);
|
|
|
88
88
|
const props = defineProps<{
|
|
89
89
|
ref_table: string;
|
|
90
90
|
ref_id: string;
|
|
91
|
-
|
|
92
|
-
send: string;
|
|
93
|
-
}
|
|
91
|
+
sendBtnLabel: string;
|
|
94
92
|
}>();
|
|
95
93
|
|
|
96
94
|
const fetchData = async () => {
|
|
@@ -96,7 +96,7 @@ const showEditForm = async () => {
|
|
|
96
96
|
modalForm({
|
|
97
97
|
side: true,
|
|
98
98
|
title: `${first_name} ${last_name}`,
|
|
99
|
-
schema: props.personSchema,
|
|
99
|
+
schema: props.personSchema(),
|
|
100
100
|
modelValue: props.person,
|
|
101
101
|
onSubmit: (newPerson) => bagel
|
|
102
102
|
.put('/person', newPerson),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { default as BarChart } from './BarChart.vue';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { default as Lineart } from './Lineart.vue';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
1
|
+
export { default as ItemRef } from './ItemRef.vue';
|
|
2
|
+
export { default as MaterialIcon } from './MaterialIcon.vue';
|
|
3
|
+
export { default as PlainInputField } from './PlainInputField.vue';
|
|
4
4
|
export * from './inputs';
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
export
|
|
10
|
-
export
|
|
11
|
-
export
|
|
12
|
-
export
|
|
13
|
-
export
|
|
14
|
-
export
|
|
15
|
-
export
|
|
16
|
-
export
|
|
17
|
-
export
|
|
1
|
+
export { default as CheckInput } from './CheckInput.vue';
|
|
2
|
+
export { default as CurrencyInput } from './CurrencyInput.vue';
|
|
3
|
+
export { default as DateInput } from './DateInput.vue';
|
|
4
|
+
export { default as DatetimeInput } from './DatetimeInput.vue';
|
|
5
|
+
export { default as EmailInput } from './EmailInput.vue';
|
|
6
|
+
export { default as FloatInput } from './FloatInput.vue';
|
|
7
|
+
export { default as IntInput } from './IntInput.vue';
|
|
8
|
+
export { default as JSONInput } from './JSONInput.vue';
|
|
9
|
+
export { default as LinkField } from './LinkField.vue';
|
|
10
|
+
export { default as PasswordInput } from './PasswordInput.vue';
|
|
11
|
+
export { default as Password } from './Password.vue';
|
|
12
|
+
export { default as ReadOnlyInput } from './ReadOnlyInput.vue';
|
|
13
|
+
export { default as SelectField } from './SelectField.vue';
|
|
14
|
+
export { default as RichTextEditor } from './RichTextEditor.vue';
|
|
15
|
+
export { default as TableField } from './TableField.vue';
|
|
16
|
+
export { default as DurationInput } from './DurationInput.vue';
|
|
17
|
+
export { default as TextInput } from './TextInput.vue';
|
|
@@ -8,22 +8,22 @@ import FileUploader from './FileUploader.vue';
|
|
|
8
8
|
import PPV from '../PersonPreviewFormkit.vue';
|
|
9
9
|
import TextVariableExamples from '../whatsapp/form/TextVariableExamples.vue';
|
|
10
10
|
|
|
11
|
-
const
|
|
12
|
-
const
|
|
13
|
-
const
|
|
14
|
-
const
|
|
15
|
-
const
|
|
16
|
-
const
|
|
17
|
-
const
|
|
18
|
-
const
|
|
11
|
+
const ContactArrayInput = createInput(ContactArrayFormKit);
|
|
12
|
+
const AddressInput = createInput(AddressArray);
|
|
13
|
+
const BankDetailsInput = createInput(BankDetailsArray);
|
|
14
|
+
const MiscFieldsInput = createInput(MiscFieldsBtns);
|
|
15
|
+
const ToggleSwitchInput = createInput(Toggle);
|
|
16
|
+
const FileUploadInput = createInput(FileUploader);
|
|
17
|
+
const TextVariablesInput = createInput(TextVariableExamples);
|
|
18
|
+
const PersonPreviewInput = createInput(PPV);
|
|
19
19
|
|
|
20
20
|
export {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
21
|
+
TextVariablesInput,
|
|
22
|
+
ContactArrayInput,
|
|
23
|
+
PersonPreviewInput,
|
|
24
|
+
AddressInput,
|
|
25
|
+
BankDetailsInput,
|
|
26
|
+
MiscFieldsInput,
|
|
27
|
+
ToggleSwitchInput,
|
|
28
|
+
FileUploadInput,
|
|
29
29
|
};
|
package/src/components/index.ts
CHANGED
|
@@ -1,22 +1,23 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
export
|
|
10
|
-
export
|
|
11
|
-
export
|
|
12
|
-
export
|
|
13
|
-
export
|
|
14
|
-
export
|
|
15
|
-
export
|
|
16
|
-
export
|
|
17
|
-
export
|
|
18
|
-
export
|
|
19
|
-
export
|
|
1
|
+
export { default as LangText } from './LangText.vue';
|
|
2
|
+
export { default as RTXEditor } from './RTXEditor.vue';
|
|
3
|
+
export { default as MaterialIcon } from './MaterialIcon.vue';
|
|
4
|
+
export { default as NavBar } from './NavBar.vue';
|
|
5
|
+
export { default as Btn } from './Btn.vue';
|
|
6
|
+
export { default as Modal } from './Modal.vue';
|
|
7
|
+
export { default as DropDown } from './DropDown.vue';
|
|
8
|
+
export { default as ListView } from './ListView.vue';
|
|
9
|
+
export { default as ListItem } from './ListItem.vue';
|
|
10
|
+
export { default as TabbedLayout } from './TabbedLayout.vue';
|
|
11
|
+
export { default as Comments } from './Comments.vue';
|
|
12
|
+
export { default as PageTitle } from './PageTitle.vue';
|
|
13
|
+
export { default as ModalForm } from './ModalForm.vue';
|
|
14
|
+
export { default as DataPreview } from './DataPreview.vue';
|
|
15
|
+
export { default as FormSchema } from './FormSchema.vue';
|
|
16
|
+
export { default as TableSchema } from './TableSchema.vue';
|
|
17
|
+
export { default as TopBar } from './TopBar.vue';
|
|
18
|
+
export { default as RouterWrapper } from './RouterWrapper.vue';
|
|
19
|
+
export { default as ContactSubmissions } from './ContactSubmissions.vue';
|
|
20
|
+
export { default as PersonPreview } from './PersonPreview.vue';
|
|
20
21
|
|
|
21
22
|
export * from './charts';
|
|
22
23
|
export * from './formkit';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
1
|
+
export { default as MsgTemplate } from './form/MsgTemplate.vue';
|
|
2
|
+
export { default as TextVariableExamples } from './form/TextVariableExamples.vue';
|
package/tsconfig.json
CHANGED