@edgedev/create-edge-app 1.1.28 → 1.1.29
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/edge/components/auth/register.vue +51 -0
- package/edge/components/cms/block.vue +29 -16
- package/edge/components/cms/codeEditor.vue +24 -2
- package/edge/components/cms/htmlContent.vue +10 -2
- package/edge/components/cms/mediaManager.vue +19 -3
- package/edge/components/cms/menu.vue +131 -19
- package/edge/components/cms/optionsSelect.vue +20 -3
- package/edge/components/cms/page.vue +9 -0
- package/edge/components/cms/site.vue +31 -2
- package/edge/components/cms/siteSettingsForm.vue +7 -0
- package/edge/components/imagePicker.vue +126 -0
- package/edge/components/myAccount.vue +1 -0
- package/edge/components/myProfile.vue +345 -61
- package/edge/components/organizationMembers.vue +496 -261
- package/edge/components/shad/number.vue +2 -2
- package/edge/composables/global.ts +4 -1
- package/edge/composables/structuredDataTemplates.js +6 -6
- package/package.json +1 -1
|
@@ -84,11 +84,11 @@ const numericValue = computed({
|
|
|
84
84
|
:disabled="props.disabled"
|
|
85
85
|
>
|
|
86
86
|
<NumberFieldContent>
|
|
87
|
-
<NumberFieldDecrement class="
|
|
87
|
+
<NumberFieldDecrement class="" />
|
|
88
88
|
<FormControl>
|
|
89
89
|
<NumberFieldInput />
|
|
90
90
|
</FormControl>
|
|
91
|
-
<NumberFieldIncrement class="
|
|
91
|
+
<NumberFieldIncrement class="" />
|
|
92
92
|
</NumberFieldContent>
|
|
93
93
|
</NumberField>
|
|
94
94
|
|
|
@@ -451,7 +451,10 @@ const cmsCollectionData = async (edgeFirebase: any, value: any, meta: any, curre
|
|
|
451
451
|
const findIndex = currentQuery.findIndex((q: any) => q.field === queryKey)
|
|
452
452
|
const queryOption = meta[key]?.queryOptions?.find((o: any) => o.field === queryKey)
|
|
453
453
|
const operator = queryOption?.operator || '=='
|
|
454
|
-
|
|
454
|
+
let value = meta[key].queryItems[queryKey]
|
|
455
|
+
if (operator === 'array-contains-any' && !Array.isArray(value))
|
|
456
|
+
value = [value]
|
|
457
|
+
const newQuery = { field: queryKey, operator, value }
|
|
455
458
|
if (findIndex > -1) {
|
|
456
459
|
currentQuery[findIndex] = newQuery
|
|
457
460
|
}
|
|
@@ -2,15 +2,16 @@ export const useStructuredDataTemplates = () => {
|
|
|
2
2
|
const buildSiteStructuredData = () => JSON.stringify({
|
|
3
3
|
'@context': 'https://schema.org',
|
|
4
4
|
'@type': 'WebSite',
|
|
5
|
+
'@id': '{{cms-site}}#website',
|
|
5
6
|
'name': '',
|
|
6
|
-
'url': '',
|
|
7
|
+
'url': '{{cms-site}}',
|
|
7
8
|
'description': '',
|
|
8
9
|
'publisher': {
|
|
9
10
|
'@type': 'Organization',
|
|
10
11
|
'name': '',
|
|
11
12
|
'logo': {
|
|
12
13
|
'@type': 'ImageObject',
|
|
13
|
-
'url': '',
|
|
14
|
+
'url': '{{cms-logo}}',
|
|
14
15
|
},
|
|
15
16
|
},
|
|
16
17
|
'sameAs': [],
|
|
@@ -19,13 +20,12 @@ export const useStructuredDataTemplates = () => {
|
|
|
19
20
|
const buildPageStructuredData = () => JSON.stringify({
|
|
20
21
|
'@context': 'https://schema.org',
|
|
21
22
|
'@type': 'WebPage',
|
|
23
|
+
'@id': '{{cms-url}}#webpage',
|
|
22
24
|
'name': '',
|
|
23
|
-
'url': '',
|
|
25
|
+
'url': '{{cms-url}}',
|
|
24
26
|
'description': '',
|
|
25
27
|
'isPartOf': {
|
|
26
|
-
'@
|
|
27
|
-
'name': '',
|
|
28
|
-
'url': '',
|
|
28
|
+
'@id': '{{cms-site}}#website',
|
|
29
29
|
},
|
|
30
30
|
}, null, 2)
|
|
31
31
|
|