@opengis/cms 0.0.21 → 0.0.24
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/package.json +2 -10
- package/src/index.js +23 -0
- package/module/cms/card/cms.content.table/index.yml +0 -17
- package/module/cms/card/cms.content.table/main_info.hbs +0 -26
- package/module/cms/card/cms.menu.table/content_info.hbs +0 -16
- package/module/cms/card/cms.menu.table/index.yml +0 -18
- package/module/cms/card/cms.menu.table/main_info.hbs +0 -22
- package/module/cms/card/cms.settings.table/index.yml +0 -13
- package/module/cms/card/cms.settings.table/main_info.hbs +0 -20
- package/module/cms/cls/content.status.json +0 -18
- package/module/cms/cls/user_type.json +0 -10
- package/module/cms/form/admin.users.form.json +0 -78
- package/module/cms/form/cms.content.form.json +0 -79
- package/module/cms/form/cms.menu.form.json +0 -69
- package/module/cms/form/cms.settings.form.json +0 -32
- package/module/cms/menu.json +0 -24
- package/module/cms/router.js +0 -169
- package/module/cms/select/cms.page_type.sql +0 -2
- package/module/cms/select/collection.sql +0 -1
- package/module/cms/select/locale.sql +0 -17
- package/module/cms/select/news_tag_id.sql +0 -12
- package/module/cms/select/tag_id.sql +0 -1
- package/module/cms/table/admin.users.table.json +0 -54
- package/module/cms/table/cms.content.table.json +0 -106
- package/module/cms/table/cms.menu.table.json +0 -73
- package/module/cms/table/cms.settings.table.json +0 -57
- package/module/cms/table/collection.default.table.json +0 -102
- package/module/cms/table/single.default.table.json +0 -115
- package/src/index.ts +0 -122
|
@@ -1 +0,0 @@
|
|
|
1
|
-
SELECT content_type_id, name FROM site.content_types where type='collection'
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
SELECT DISTINCT locale as id,
|
|
2
|
-
CASE
|
|
3
|
-
WHEN locale = 'uk' THEN 'Українська'
|
|
4
|
-
WHEN locale = 'en' THEN 'English'
|
|
5
|
-
ELSE locale
|
|
6
|
-
END as text
|
|
7
|
-
FROM site.contents
|
|
8
|
-
UNION
|
|
9
|
-
SELECT DISTINCT locale as id,
|
|
10
|
-
CASE
|
|
11
|
-
WHEN locale = 'uk' THEN 'Українська'
|
|
12
|
-
WHEN locale = 'en' THEN 'English'
|
|
13
|
-
ELSE locale
|
|
14
|
-
END as text
|
|
15
|
-
FROM site.menus
|
|
16
|
-
ORDER BY id
|
|
17
|
-
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
select a.id, a.title, tags from data.news a
|
|
2
|
-
left join lateral(select array_agg(tag_id) as tags from site.tag_data b where a.id=b.data_id)b on 1=1
|
|
3
|
-
|
|
4
|
-
where
|
|
5
|
-
case when '{{parent}}'<> ''
|
|
6
|
-
then '{{parent}}'=any(b.tags)
|
|
7
|
-
else true
|
|
8
|
-
end
|
|
9
|
-
|
|
10
|
-
and status='published'
|
|
11
|
-
|
|
12
|
-
order by a.updated_at
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
select tag_id, value from site.tags order by value
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"ua": "Користувачі",
|
|
3
|
-
"key": "uid",
|
|
4
|
-
"order": "cdate desc",
|
|
5
|
-
"access": "admin",
|
|
6
|
-
"sqlColumns": "*",
|
|
7
|
-
"form": "admin.users.form",
|
|
8
|
-
"table": "admin.users",
|
|
9
|
-
"sql": [
|
|
10
|
-
{
|
|
11
|
-
"name": "social_auth_sql",
|
|
12
|
-
"sql": "select social_auth_obj,social_auth_date from admin.users_social_auth where uid=t.uid limit 1"
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
"sql": "SELECT coalesce(sur_name, '') || ' ' || coalesce(user_name, '') || ' ' || coalesce(father_name, '') as full_name FROM admin.users WHERE uid = t.uid",
|
|
16
|
-
"name": "full_name_sql"
|
|
17
|
-
}
|
|
18
|
-
],
|
|
19
|
-
"columns": [
|
|
20
|
-
{
|
|
21
|
-
"ua": "ПІБ",
|
|
22
|
-
"name": "full_name",
|
|
23
|
-
"format": "select",
|
|
24
|
-
"data": "full_name_sql"
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
"ua": "Тип користувача",
|
|
28
|
-
"name": "user_type_text",
|
|
29
|
-
"format": "select",
|
|
30
|
-
"data": "user_type_text"
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
"ua": "Статус доступу",
|
|
34
|
-
"name": "enabled"
|
|
35
|
-
}
|
|
36
|
-
],
|
|
37
|
-
"filters": [
|
|
38
|
-
{
|
|
39
|
-
"label": "Тип користувача",
|
|
40
|
-
"type": "Check",
|
|
41
|
-
"name": "user_type",
|
|
42
|
-
"data": "user_type"
|
|
43
|
-
}
|
|
44
|
-
],
|
|
45
|
-
"meta": {
|
|
46
|
-
"title": "full_name",
|
|
47
|
-
"search": "user_name,user_rnokpp"
|
|
48
|
-
},
|
|
49
|
-
"actions": [
|
|
50
|
-
"edit",
|
|
51
|
-
"del",
|
|
52
|
-
"add"
|
|
53
|
-
]
|
|
54
|
-
}
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"key": "content_id",
|
|
3
|
-
"table": "site.contents",
|
|
4
|
-
"public": true,
|
|
5
|
-
"actions": [
|
|
6
|
-
"add",
|
|
7
|
-
"edit",
|
|
8
|
-
"del"
|
|
9
|
-
],
|
|
10
|
-
"controls": [
|
|
11
|
-
"search",
|
|
12
|
-
"list",
|
|
13
|
-
"add"
|
|
14
|
-
],
|
|
15
|
-
"access": "user",
|
|
16
|
-
"order": "published_at desc, created_at desc",
|
|
17
|
-
"meta": {
|
|
18
|
-
"title": "title",
|
|
19
|
-
"search": "title,slug"
|
|
20
|
-
},
|
|
21
|
-
"title": "Контент",
|
|
22
|
-
"form": "cms.content.form",
|
|
23
|
-
"sqlColumns": "*",
|
|
24
|
-
"columns": [
|
|
25
|
-
{
|
|
26
|
-
"ua": "Назва",
|
|
27
|
-
"meta": "title",
|
|
28
|
-
"name": "title",
|
|
29
|
-
"format": "slot",
|
|
30
|
-
"slot": "<div><p>{{data?.title}}</p><p class='text-xs text-gray-500'>{{data?.slug}}</p></div>",
|
|
31
|
-
"link": "/collections/{content_type_id}/{content_id}"
|
|
32
|
-
"width": 400
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
"ua": "Тип контенту",
|
|
36
|
-
"name": "content_type_id",
|
|
37
|
-
"data": "collection",
|
|
38
|
-
"format": "badge",
|
|
39
|
-
"width": 200
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
"ua": "Статус",
|
|
43
|
-
"name": "status",
|
|
44
|
-
"data": "content.status",
|
|
45
|
-
"format": "badge",
|
|
46
|
-
"edit": true,
|
|
47
|
-
"width": 150
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
"ua": "Дата публікації",
|
|
51
|
-
"name": "published_at",
|
|
52
|
-
"format": "datetime",
|
|
53
|
-
"width": 180
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
"ua": "Створено",
|
|
57
|
-
"name": "created_at",
|
|
58
|
-
"format": "datetime",
|
|
59
|
-
"width": 180
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
"ua": "Оновлено",
|
|
63
|
-
"name": "updated_at",
|
|
64
|
-
"format": "datetime",
|
|
65
|
-
"width": 180,
|
|
66
|
-
"hidden": true
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
"ua": "Slug",
|
|
70
|
-
"name": "slug",
|
|
71
|
-
"format": "text",
|
|
72
|
-
"width": 250,
|
|
73
|
-
"hidden": true
|
|
74
|
-
}
|
|
75
|
-
],
|
|
76
|
-
"filterList": [
|
|
77
|
-
{
|
|
78
|
-
"ua": "Пошук",
|
|
79
|
-
"name": "search",
|
|
80
|
-
"type": "Text"
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
"ua": "Тип контенту",
|
|
84
|
-
"type": "Check",
|
|
85
|
-
"name": "content_type_id",
|
|
86
|
-
"data": "collection"
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
"ua": "Статус",
|
|
90
|
-
"name": "status",
|
|
91
|
-
"data": "content.status",
|
|
92
|
-
"type": "Check"
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
"ua": "Дата публікації",
|
|
96
|
-
"name": "published_at",
|
|
97
|
-
"type": "Date"
|
|
98
|
-
},
|
|
99
|
-
{
|
|
100
|
-
"ua": "Дата створення",
|
|
101
|
-
"name": "created_at",
|
|
102
|
-
"type": "Date"
|
|
103
|
-
}
|
|
104
|
-
]
|
|
105
|
-
}
|
|
106
|
-
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"key": "menu_id",
|
|
3
|
-
"table": "site.menus",
|
|
4
|
-
"public": true,
|
|
5
|
-
"actions": [
|
|
6
|
-
"add",
|
|
7
|
-
"edit",
|
|
8
|
-
"del"
|
|
9
|
-
],
|
|
10
|
-
"controls": [
|
|
11
|
-
"search",
|
|
12
|
-
"list",
|
|
13
|
-
"add"
|
|
14
|
-
],
|
|
15
|
-
"access": "user",
|
|
16
|
-
"order": "created_at desc",
|
|
17
|
-
"meta": {
|
|
18
|
-
"title": "name",
|
|
19
|
-
"search": "name,description"
|
|
20
|
-
},
|
|
21
|
-
"title": "Меню",
|
|
22
|
-
"form": "cms.menu.form",
|
|
23
|
-
"sqlColumns": "*",
|
|
24
|
-
"columns": [
|
|
25
|
-
{
|
|
26
|
-
"ua": "Назва",
|
|
27
|
-
"meta": "title",
|
|
28
|
-
"name": "name",
|
|
29
|
-
"format": "slot",
|
|
30
|
-
"slot": "<div><p>{{data?.name}}</p><p class='text-xs text-gray-500'>{{data?.description}}</p></div>",
|
|
31
|
-
"link": "/menu/{menu_id}",
|
|
32
|
-
"width": 300
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
"ua": "Локаль",
|
|
36
|
-
"name": "locale",
|
|
37
|
-
"format": "badge",
|
|
38
|
-
"width": 100
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
"ua": "Опис",
|
|
42
|
-
"name": "description",
|
|
43
|
-
"format": "text",
|
|
44
|
-
"width": 300,
|
|
45
|
-
"hidden": true
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
"ua": "Створено",
|
|
49
|
-
"name": "created_at",
|
|
50
|
-
"format": "datetime",
|
|
51
|
-
"width": 180
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
"ua": "Оновлено",
|
|
55
|
-
"name": "updated_at",
|
|
56
|
-
"format": "datetime",
|
|
57
|
-
"width": 180
|
|
58
|
-
}
|
|
59
|
-
],
|
|
60
|
-
"filterList": [
|
|
61
|
-
{
|
|
62
|
-
"ua": "Пошук",
|
|
63
|
-
"name": "search",
|
|
64
|
-
"type": "Text"
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
"ua": "Локаль",
|
|
68
|
-
"name": "locale",
|
|
69
|
-
"type": "Check"
|
|
70
|
-
}
|
|
71
|
-
]
|
|
72
|
-
}
|
|
73
|
-
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"key": "id",
|
|
3
|
-
"table": "site.settings",
|
|
4
|
-
"public": false,
|
|
5
|
-
"actions": [
|
|
6
|
-
"edit"
|
|
7
|
-
],
|
|
8
|
-
"controls": [
|
|
9
|
-
"search",
|
|
10
|
-
"list"
|
|
11
|
-
],
|
|
12
|
-
"access": "admin",
|
|
13
|
-
"order": "key asc",
|
|
14
|
-
"meta": {
|
|
15
|
-
"title": "key",
|
|
16
|
-
"search": "key,value"
|
|
17
|
-
},
|
|
18
|
-
"title": "Налаштування",
|
|
19
|
-
"form": "cms.settings.form",
|
|
20
|
-
"sqlColumns": "*",
|
|
21
|
-
"columns": [
|
|
22
|
-
{
|
|
23
|
-
"ua": "Ключ",
|
|
24
|
-
"meta": "title",
|
|
25
|
-
"name": "key",
|
|
26
|
-
"format": "text",
|
|
27
|
-
"width": 250
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
"ua": "Значення",
|
|
31
|
-
"name": "value",
|
|
32
|
-
"format": "text",
|
|
33
|
-
"width": 400
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
"ua": "Створено",
|
|
37
|
-
"name": "created_at",
|
|
38
|
-
"format": "datetime",
|
|
39
|
-
"width": 180,
|
|
40
|
-
"hidden": true
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
"ua": "Оновлено",
|
|
44
|
-
"name": "updated_at",
|
|
45
|
-
"format": "datetime",
|
|
46
|
-
"width": 180
|
|
47
|
-
}
|
|
48
|
-
],
|
|
49
|
-
"filterList": [
|
|
50
|
-
{
|
|
51
|
-
"ua": "Пошук",
|
|
52
|
-
"name": "search",
|
|
53
|
-
"type": "Text"
|
|
54
|
-
}
|
|
55
|
-
]
|
|
56
|
-
}
|
|
57
|
-
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"table": "site.contents",
|
|
3
|
-
"columns": [
|
|
4
|
-
{
|
|
5
|
-
"label": "Slug",
|
|
6
|
-
"name": "slug",
|
|
7
|
-
"parent": "title",
|
|
8
|
-
"required": true,
|
|
9
|
-
"type": "slug"
|
|
10
|
-
},
|
|
11
|
-
{
|
|
12
|
-
"label": "Title",
|
|
13
|
-
"name": "title",
|
|
14
|
-
"required": true,
|
|
15
|
-
"type": "text",
|
|
16
|
-
"localization": true
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
"label": "Status",
|
|
20
|
-
"name": "status",
|
|
21
|
-
"type": "select",
|
|
22
|
-
"data": "content.status",
|
|
23
|
-
"options": [
|
|
24
|
-
{
|
|
25
|
-
"id": "draft",
|
|
26
|
-
"text": "Draft"
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
"id": "published",
|
|
30
|
-
"text": "Published"
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
"id": "archived",
|
|
34
|
-
"text": "Archived"
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
"id": "delayPublished",
|
|
38
|
-
"text": "Delay Published"
|
|
39
|
-
}
|
|
40
|
-
],
|
|
41
|
-
"required": true
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
"label": "Publish at",
|
|
45
|
-
"name": "published_at",
|
|
46
|
-
"required": true,
|
|
47
|
-
"type": "datetime"
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
"label": "Зображення",
|
|
51
|
-
"name": "main_image",
|
|
52
|
-
"type": "mediaselect"
|
|
53
|
-
}
|
|
54
|
-
],
|
|
55
|
-
"filters": [
|
|
56
|
-
{
|
|
57
|
-
"extra": false,
|
|
58
|
-
"id": "status",
|
|
59
|
-
"name": "status",
|
|
60
|
-
"title": "Статус",
|
|
61
|
-
"type": "Check",
|
|
62
|
-
"data": "content.status",
|
|
63
|
-
"ua": "Статус"
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
"extra": false,
|
|
67
|
-
"label": "Publish at",
|
|
68
|
-
"name": "published_at",
|
|
69
|
-
"type": "Date"
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
"extra": false,
|
|
73
|
-
"label": "Закріплені",
|
|
74
|
-
"name": "is_pin",
|
|
75
|
-
"type": "Check"
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
"extra": false,
|
|
79
|
-
"name": "tag_list",
|
|
80
|
-
"type": "Tags",
|
|
81
|
-
"sql": "id in (select b.data_id from site.tags a left join site.tag_data b on a.tag_id=b.tag_id where a.tag_id=any($1))",
|
|
82
|
-
"label": "Теги"
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
"extra": false,
|
|
86
|
-
"columns": "slug,title",
|
|
87
|
-
"id": "search",
|
|
88
|
-
"name": "search",
|
|
89
|
-
"placeholder": "Пошук по тексту",
|
|
90
|
-
"title": "Пошук по тексту",
|
|
91
|
-
"type": "Text"
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
"extra": false,
|
|
95
|
-
"id": "created_at",
|
|
96
|
-
"name": "created_at",
|
|
97
|
-
"title": "Дата створення",
|
|
98
|
-
"type": "Date",
|
|
99
|
-
"ua": "Дата створення"
|
|
100
|
-
}
|
|
101
|
-
]
|
|
102
|
-
}
|
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"table": "site.contents",
|
|
3
|
-
"columns": [
|
|
4
|
-
{
|
|
5
|
-
"label": "Slug",
|
|
6
|
-
"name": "slug",
|
|
7
|
-
"parent": "title",
|
|
8
|
-
"required": true,
|
|
9
|
-
"type": "slug"
|
|
10
|
-
},
|
|
11
|
-
{
|
|
12
|
-
"label": "Title",
|
|
13
|
-
"name": "title",
|
|
14
|
-
"required": true,
|
|
15
|
-
"type": "text",
|
|
16
|
-
"localization": true
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
"label": "Status",
|
|
20
|
-
"name": "status",
|
|
21
|
-
"type": "select",
|
|
22
|
-
"data": "content.status",
|
|
23
|
-
"options": [
|
|
24
|
-
{
|
|
25
|
-
"id": "draft",
|
|
26
|
-
"text": "Draft"
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
"id": "published",
|
|
30
|
-
"text": "Published"
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
"id": "archived",
|
|
34
|
-
"text": "Archived"
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
"id": "delayPublished",
|
|
38
|
-
"text": "Delay Published"
|
|
39
|
-
}
|
|
40
|
-
],
|
|
41
|
-
"required": true
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
"label": "Publish at",
|
|
45
|
-
"name": "published_at",
|
|
46
|
-
"required": true,
|
|
47
|
-
"type": "datetime"
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
"label": "Контент",
|
|
51
|
-
"name": "single_body",
|
|
52
|
-
"type": "richtext",
|
|
53
|
-
"localization": true
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
"name": "single_sections",
|
|
57
|
-
"label": "Секції",
|
|
58
|
-
"type": "reference",
|
|
59
|
-
"localization": true
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
"label": "Зображення",
|
|
63
|
-
"name": "main_image",
|
|
64
|
-
"type": "mediaselect"
|
|
65
|
-
}
|
|
66
|
-
],
|
|
67
|
-
"filters": [
|
|
68
|
-
{
|
|
69
|
-
"extra": false,
|
|
70
|
-
"id": "status",
|
|
71
|
-
"name": "status",
|
|
72
|
-
"title": "Статус",
|
|
73
|
-
"type": "Check",
|
|
74
|
-
"data": "content.status",
|
|
75
|
-
"ua": "Статус"
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
"extra": false,
|
|
79
|
-
"label": "Publish at",
|
|
80
|
-
"name": "published_at",
|
|
81
|
-
"type": "Date"
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
"extra": false,
|
|
85
|
-
"label": "Контент",
|
|
86
|
-
"name": "single_body",
|
|
87
|
-
"sql": "content_id in (select object_id from site.content_data where field_key='single_body' and field_value ~ $1)",
|
|
88
|
-
"type": "Text"
|
|
89
|
-
},
|
|
90
|
-
{
|
|
91
|
-
"extra": false,
|
|
92
|
-
"name": "tag_list",
|
|
93
|
-
"type": "Tags",
|
|
94
|
-
"sql": "content_id in (select b.data_id from site.tags a left join site.tag_data b on a.tag_id=b.tag_id where a.tag_id=any($1))",
|
|
95
|
-
"label": "Теги"
|
|
96
|
-
},
|
|
97
|
-
{
|
|
98
|
-
"extra": false,
|
|
99
|
-
"columns": "slug,title",
|
|
100
|
-
"id": "search",
|
|
101
|
-
"name": "search",
|
|
102
|
-
"placeholder": "Пошук по тексту",
|
|
103
|
-
"title": "Пошук по тексту",
|
|
104
|
-
"type": "Text"
|
|
105
|
-
},
|
|
106
|
-
{
|
|
107
|
-
"extra": false,
|
|
108
|
-
"id": "created_at",
|
|
109
|
-
"name": "created_at",
|
|
110
|
-
"title": "Дата створення",
|
|
111
|
-
"type": "Date",
|
|
112
|
-
"ua": "Дата створення"
|
|
113
|
-
}
|
|
114
|
-
]
|
|
115
|
-
}
|
package/src/index.ts
DELETED
|
@@ -1,122 +0,0 @@
|
|
|
1
|
-
// Main Pages Components
|
|
2
|
-
export { default as Dashboard } from './pages/Dashboard.vue';
|
|
3
|
-
export { default as BuilderPage } from './pages/builder/BuilderPage.vue';
|
|
4
|
-
export { default as EditCollectionPage } from './pages/builder/EditCollectionPage.vue';
|
|
5
|
-
export { default as CollectionsPage } from './pages/collections/CollectionsPage.vue';
|
|
6
|
-
export { default as ArticlesPage } from './pages/collections/ArticlesPage.vue';
|
|
7
|
-
export { default as ContentForm } from './pages/collections/contentForm.vue';
|
|
8
|
-
export { default as SingletonsPage } from './pages/collections/SingletonsPage.vue';
|
|
9
|
-
export { default as MenuPage } from './pages/menu/MenuPage.vue';
|
|
10
|
-
export { default as MenuItemPage } from './pages/menu/MenuItemPage.vue';
|
|
11
|
-
export { default as MenuAddPage } from './pages/menu/MenuAddPage.vue';
|
|
12
|
-
export { default as FeedbackPage } from './pages/FeedbackPage.vue';
|
|
13
|
-
export { default as EmailPage } from './pages/EmailPage.vue';
|
|
14
|
-
export { default as TagsPage } from './pages/TagsPage.vue';
|
|
15
|
-
export { default as UsersPage } from './pages/users/UsersPage.vue';
|
|
16
|
-
export { default as AddUser } from './pages/users/AddUser.vue';
|
|
17
|
-
export { default as MediaPage } from './pages/MediaPage.vue';
|
|
18
|
-
export { default as Settings } from './pages/settings/Settings.vue';
|
|
19
|
-
export { default as SettingsUsers } from './pages/settings/Users.vue';
|
|
20
|
-
export { default as SettingsGeneral } from './pages/settings/general.vue';
|
|
21
|
-
export { default as SettingsApiKeys } from './pages/settings/ApiKeys.vue';
|
|
22
|
-
export { default as SettingsAppearance } from './pages/settings/Appearance.vue';
|
|
23
|
-
export { default as SettingsLogs } from './pages/settings/Logs.vue';
|
|
24
|
-
export { default as SettingsPermissions } from './pages/settings/PermissionsPage.vue';
|
|
25
|
-
|
|
26
|
-
// Layout Components
|
|
27
|
-
export { default as Layout } from './components/layout/Layout.vue';
|
|
28
|
-
export { default as Sidebar } from './components/layout/Sidebar.vue';
|
|
29
|
-
|
|
30
|
-
// Collections Components
|
|
31
|
-
export { default as CollectionsGrid } from './components/collections/CollectionsGrid.vue';
|
|
32
|
-
export { default as CollectionsBreadcrumb } from './components/collections/CollectionsBreadcrumb.vue';
|
|
33
|
-
export { default as ContentBlock } from './components/collections/ContentBlock.vue';
|
|
34
|
-
export { default as FormWrapper } from './components/collections/formWrapper.vue';
|
|
35
|
-
|
|
36
|
-
// Builder Components
|
|
37
|
-
export { default as CreateForm } from './components/builder/CreateForm.vue';
|
|
38
|
-
export { default as BuilderDatatable } from './components/builder/vs-builder-datatable.vue';
|
|
39
|
-
export { default as BuilderDatatableForm } from './components/builder/vs-builder-datatable-form.vue';
|
|
40
|
-
export { default as BuilderDatatableControls } from './components/builder/vs-builder-datatable-controls.vue';
|
|
41
|
-
export { default as BuilderListItem } from './components/builder/vs-builder-list-item.vue';
|
|
42
|
-
|
|
43
|
-
// UI Components
|
|
44
|
-
export { default as UniversalTable } from './components/ui/UniversalTable.vue';
|
|
45
|
-
export { default as UniversalTablePagination } from './components/ui/UniversalTablePagination.vue';
|
|
46
|
-
export { default as UniversalTableFilters } from './components/ui/UniversalTableFilters.vue';
|
|
47
|
-
export { default as EmptyData } from './components/ui/EmptyData.vue';
|
|
48
|
-
export { default as VsPreview } from './components/ui/VsPreview.vue';
|
|
49
|
-
|
|
50
|
-
// Media Components
|
|
51
|
-
export { default as MediaGrid } from './components/media/MediaGrid.vue';
|
|
52
|
-
export { default as MediaList } from './components/media/MediaList.vue';
|
|
53
|
-
export { default as MediaBreadcrumb } from './components/media/MediaBreadcrumb.vue';
|
|
54
|
-
export { default as MediaFileInfo } from './components/media/MediaFileInfo.vue';
|
|
55
|
-
export { default as MediaCreateFolder } from './components/media/MediaCreateFolder.vue';
|
|
56
|
-
export { default as MediaViewControls } from './components/media/MediaViewControls.vue';
|
|
57
|
-
export { default as FileUploadProgress } from './components/media/FileUploadProgress.vue';
|
|
58
|
-
|
|
59
|
-
// Sidebar Components
|
|
60
|
-
export { default as SidebarMenu } from './components/sidebar/SidebarMenu.vue';
|
|
61
|
-
export { default as SidebarHeader } from './components/sidebar/SidebarHeader.vue';
|
|
62
|
-
export { default as SidebarFooter } from './components/sidebar/SidebarFooter.vue';
|
|
63
|
-
export { default as SettingsSidebar } from './components/sidebar/SettingsSidebar.vue';
|
|
64
|
-
export { default as DropdownMenu } from './components/sidebar/DropdownMenu.vue';
|
|
65
|
-
|
|
66
|
-
// Menu Components
|
|
67
|
-
export { default as MenuBody } from './components/menu/MenuBody.vue';
|
|
68
|
-
export { default as MenuItem } from './components/menu/MenuItem.vue';
|
|
69
|
-
export { default as MenuList } from './components/menu/MenuList.vue';
|
|
70
|
-
export { default as AddNewItemInTree } from './components/menu/AddNewItemInTree.vue';
|
|
71
|
-
|
|
72
|
-
// Settings Components
|
|
73
|
-
export { default as SettingsTable } from './components/settings/SettingsTable.vue';
|
|
74
|
-
export { default as SettingsTitle } from './components/settings/SettingsTitle.vue';
|
|
75
|
-
export { default as SettingsToggleItem } from './components/settings/SettingsToggleItem.vue';
|
|
76
|
-
export { default as NotificationSettings } from './components/settings/NotificationSettings.vue';
|
|
77
|
-
|
|
78
|
-
// Dashboard Components
|
|
79
|
-
export { default as DashboardHeader } from './components/dashboard/DashboardHeader.vue';
|
|
80
|
-
export { default as StatCard } from './components/dashboard/StatCard.vue';
|
|
81
|
-
export { default as StatsGrid } from './components/dashboard/StatsGrid.vue';
|
|
82
|
-
export { default as QuickActions } from './components/dashboard/QuickActions.vue';
|
|
83
|
-
export { default as RecentContent } from './components/dashboard/RecentContent.vue';
|
|
84
|
-
export { default as ContentItem } from './components/dashboard/ContentItem.vue';
|
|
85
|
-
|
|
86
|
-
// Form Components
|
|
87
|
-
export { default as VsFormTags } from './components/form-components/VsFormTags.vue';
|
|
88
|
-
export { default as VsFormMeta } from './components/form-components/VsFormMeta.vue';
|
|
89
|
-
export { default as VsFormMediaSelect } from './components/form-components/vs-form-media-select.vue';
|
|
90
|
-
export { default as VsFormReferenceList } from './components/form-components/vs-form-reference-list.vue';
|
|
91
|
-
export { default as VsFormReference } from './components/form-components/vs-form-reference.vue';
|
|
92
|
-
export { default as VsFormRelation } from './components/form-components/vs-form-relation.vue';
|
|
93
|
-
export { default as VsFormRelationLink } from './components/form-components/vs-form-reletion-link.vue';
|
|
94
|
-
export { default as VsFormSelectCollection } from './components/form-components/vs-form-select-collection.vue';
|
|
95
|
-
export { default as VsFormSlug } from './components/form-components/vs-form-slug.vue';
|
|
96
|
-
export { default as VsFormTiptap } from './components/form-components/vs-form-tiptap.vue';
|
|
97
|
-
export { default as VsRichtextMd } from './components/form-components/vs-richtext-md.vue';
|
|
98
|
-
export { default as VsFormInteger } from './components/form-components/vs-form-integer.vue';
|
|
99
|
-
export { default as VsFormCustomDatatable } from './components/form-components/vs-form-custom-datatable.vue';
|
|
100
|
-
export { default as VsFormKeyValue } from './components/form-components/vs-form-key-value.vue';
|
|
101
|
-
export { default as VsFormColorPicker } from './components/form-components/vs-form-color-picker.vue';
|
|
102
|
-
|
|
103
|
-
// Router
|
|
104
|
-
export { default as router } from './router/index';
|
|
105
|
-
|
|
106
|
-
// i18n utilities
|
|
107
|
-
export { setLocale, initI18n, Locales, type Locale } from './i18n';
|
|
108
|
-
|
|
109
|
-
// i18n
|
|
110
|
-
export { i18n } from './i18n';
|
|
111
|
-
|
|
112
|
-
// Types
|
|
113
|
-
export type {
|
|
114
|
-
Collection,
|
|
115
|
-
ContentType,
|
|
116
|
-
ContentTypeStatus,
|
|
117
|
-
ContentTypeType,
|
|
118
|
-
FieldType,
|
|
119
|
-
FormTypeSchema,
|
|
120
|
-
BuilderFormData
|
|
121
|
-
} from './props/builder';
|
|
122
|
-
|