vue-datocms 7.0.6 → 8.0.0
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/README.md +33 -14
- package/dist/index.cjs.js +8 -0
- package/dist/index.d.ts +12 -0
- package/dist/index.esm.mjs +8 -0
- package/package.json +6 -4
package/README.md
CHANGED
|
@@ -79,26 +79,45 @@ npm run dev
|
|
|
79
79
|
---
|
|
80
80
|
|
|
81
81
|
# What is DatoCMS?
|
|
82
|
-
|
|
82
|
+
|
|
83
|
+
<a href="https://www.datocms.com/"><img src="https://www.datocms.com/images/full_logo.svg" height="60" alt="DatoCMS - The Headless CMS for the Modern Web"></a>
|
|
83
84
|
|
|
84
85
|
[DatoCMS](https://www.datocms.com/) is the REST & GraphQL Headless CMS for the modern web.
|
|
85
86
|
|
|
86
|
-
Trusted by over 25,000 enterprise businesses,
|
|
87
|
+
Trusted by over 25,000 enterprise businesses, agencies, and individuals across the world, DatoCMS users create online content at scale from a central hub and distribute it via API. We ❤️ our [developers](https://www.datocms.com/team/best-cms-for-developers), [content editors](https://www.datocms.com/team/content-creators) and [marketers](https://www.datocms.com/team/cms-digital-marketing)!
|
|
88
|
+
|
|
89
|
+
**Why DatoCMS?**
|
|
90
|
+
|
|
91
|
+
- **API-First Architecture**: Built for both REST and GraphQL, enabling flexible content delivery
|
|
92
|
+
- **Just Enough Features**: We believe in keeping things simple, and giving you [the right feature-set tools](https://www.datocms.com/features) to get the job done
|
|
93
|
+
- **Developer Experience**: First-class TypeScript support with powerful developer tools
|
|
94
|
+
|
|
95
|
+
**Getting Started:**
|
|
96
|
+
|
|
97
|
+
- ⚡️ [Create Free Account](https://dashboard.datocms.com/signup) - Get started with DatoCMS in minutes
|
|
98
|
+
- 🔖 [Documentation](https://www.datocms.com/docs) - Comprehensive guides and API references
|
|
99
|
+
- ⚙️ [Community Support](https://community.datocms.com/) - Get help from our team and community
|
|
100
|
+
- 🆕 [Changelog](https://www.datocms.com/product-updates) - Latest features and improvements
|
|
101
|
+
|
|
102
|
+
**Official Libraries:**
|
|
103
|
+
|
|
104
|
+
- [**Content Delivery Client**](https://github.com/datocms/cda-client) - TypeScript GraphQL client for content fetching
|
|
105
|
+
- [**REST API Clients**](https://github.com/datocms/js-rest-api-clients) - Node.js/Browser clients for content management
|
|
106
|
+
- [**CLI Tools**](https://github.com/datocms/cli) - Command-line utilities for schema migrations (includes [Contentful](https://github.com/datocms/cli/tree/main/packages/cli-plugin-contentful) and [WordPress](https://github.com/datocms/cli/tree/main/packages/cli-plugin-wordpress) importers)
|
|
107
|
+
|
|
108
|
+
**Official Framework Integrations**
|
|
87
109
|
|
|
88
|
-
|
|
110
|
+
Helpers to manage SEO, images, video and Structured Text coming from your DatoCMS projects:
|
|
89
111
|
|
|
90
|
-
-
|
|
91
|
-
-
|
|
92
|
-
-
|
|
93
|
-
-
|
|
112
|
+
- [**React Components**](https://github.com/datocms/react-datocms)
|
|
113
|
+
- [**Vue Components**](https://github.com/datocms/vue-datocms)
|
|
114
|
+
- [**Svelte Components**](https://github.com/datocms/datocms-svelte)
|
|
115
|
+
- [**Astro Components**](https://github.com/datocms/astro-datocms)
|
|
94
116
|
|
|
95
|
-
**
|
|
96
|
-
- [datocms/react-datocms](https://github.com/datocms/react-datocms): React helper components for images, Structured Text rendering, and more
|
|
97
|
-
- [datocms/js-rest-api-clients](https://github.com/datocms/js-rest-api-clients): Node and browser JavaScript clients for updating and administering your content. For frontend fetches, we recommend using our [GraphQL Content Delivery API](https://www.datocms.com/docs/content-delivery-api) instead.
|
|
98
|
-
- [datocms/cli](https://github.com/datocms/cli): Command-line interface that includes our [Contentful importer](https://github.com/datocms/cli/tree/main/packages/cli-plugin-contentful) and [Wordpress importer](https://github.com/datocms/cli/tree/main/packages/cli-plugin-wordpress)
|
|
99
|
-
- [datocms/plugins](https://github.com/datocms/plugins): Example plugins we've made that extend the editor/admin dashboard
|
|
100
|
-
- [DatoCMS Starters](https://www.datocms.com/marketplace/starters) has examples for various Javascript frontend frameworks
|
|
117
|
+
**Additional Resources:**
|
|
101
118
|
|
|
102
|
-
|
|
119
|
+
- [**Plugin Examples**](https://github.com/datocms/plugins) - Example plugins we've made that extend the editor/admin dashboard
|
|
120
|
+
- [**Starter Projects**](https://www.datocms.com/marketplace/starters) - Example website implementations for popular frameworks
|
|
121
|
+
- [**All Public Repositories**](https://github.com/orgs/datocms/repositories?q=&type=public&language=&sort=stargazers)
|
|
103
122
|
|
|
104
123
|
<!--datocms-autoinclude-footer end-->
|
package/dist/index.cjs.js
CHANGED
|
@@ -991,6 +991,11 @@ const VideoPlayer = vue.defineComponent({
|
|
|
991
991
|
required: false,
|
|
992
992
|
default: () => true
|
|
993
993
|
},
|
|
994
|
+
disableTracking: {
|
|
995
|
+
type: Boolean,
|
|
996
|
+
required: false,
|
|
997
|
+
default: () => true
|
|
998
|
+
},
|
|
994
999
|
disablePictureInPicture: {
|
|
995
1000
|
type: Boolean,
|
|
996
1001
|
required: false
|
|
@@ -1188,16 +1193,19 @@ const VideoPlayer = vue.defineComponent({
|
|
|
1188
1193
|
var _b = _a, {
|
|
1189
1194
|
data = {},
|
|
1190
1195
|
disableCookies = true,
|
|
1196
|
+
disableTracking = true,
|
|
1191
1197
|
preload = "metadata"
|
|
1192
1198
|
} = _b, otherProps = __objRest$1(_b, [
|
|
1193
1199
|
"data",
|
|
1194
1200
|
"disableCookies",
|
|
1201
|
+
"disableTracking",
|
|
1195
1202
|
"preload"
|
|
1196
1203
|
]);
|
|
1197
1204
|
Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('@mux/mux-player')); });
|
|
1198
1205
|
const muxPlayerRef = vue.ref();
|
|
1199
1206
|
const computedProps = __spreadProps$2(__spreadValues$2({}, useVideoPlayer({ data })), {
|
|
1200
1207
|
disableCookies,
|
|
1208
|
+
disableTracking,
|
|
1201
1209
|
preload
|
|
1202
1210
|
});
|
|
1203
1211
|
return {
|
package/dist/index.d.ts
CHANGED
|
@@ -611,6 +611,11 @@ declare const VideoPlayer: vue.DefineComponent<{
|
|
|
611
611
|
required: false;
|
|
612
612
|
default: () => boolean;
|
|
613
613
|
};
|
|
614
|
+
disableTracking: {
|
|
615
|
+
type: BooleanConstructor;
|
|
616
|
+
required: false;
|
|
617
|
+
default: () => boolean;
|
|
618
|
+
};
|
|
614
619
|
disablePictureInPicture: {
|
|
615
620
|
type: BooleanConstructor;
|
|
616
621
|
required: false;
|
|
@@ -780,6 +785,7 @@ declare const VideoPlayer: vue.DefineComponent<{
|
|
|
780
785
|
muxPlayerRef: vue.Ref<MuxPlayerElement | undefined>;
|
|
781
786
|
computedProps: {
|
|
782
787
|
disableCookies: boolean;
|
|
788
|
+
disableTracking: boolean;
|
|
783
789
|
preload: string;
|
|
784
790
|
style?: (vue.CSSProperties | null) | undefined;
|
|
785
791
|
title?: (string | null) | undefined;
|
|
@@ -933,6 +939,11 @@ declare const VideoPlayer: vue.DefineComponent<{
|
|
|
933
939
|
required: false;
|
|
934
940
|
default: () => boolean;
|
|
935
941
|
};
|
|
942
|
+
disableTracking: {
|
|
943
|
+
type: BooleanConstructor;
|
|
944
|
+
required: false;
|
|
945
|
+
default: () => boolean;
|
|
946
|
+
};
|
|
936
947
|
disablePictureInPicture: {
|
|
937
948
|
type: BooleanConstructor;
|
|
938
949
|
required: false;
|
|
@@ -1136,6 +1147,7 @@ declare const VideoPlayer: vue.DefineComponent<{
|
|
|
1136
1147
|
defaultHiddenCaptions: boolean;
|
|
1137
1148
|
defaultShowRemainingTime: boolean;
|
|
1138
1149
|
disableCookies: boolean;
|
|
1150
|
+
disableTracking: boolean;
|
|
1139
1151
|
noVolumePref: boolean;
|
|
1140
1152
|
}, {}>;
|
|
1141
1153
|
declare const DatocmsVideoPlayerPlugin: {
|
package/dist/index.esm.mjs
CHANGED
|
@@ -967,6 +967,11 @@ const VideoPlayer = defineComponent({
|
|
|
967
967
|
required: false,
|
|
968
968
|
default: () => true
|
|
969
969
|
},
|
|
970
|
+
disableTracking: {
|
|
971
|
+
type: Boolean,
|
|
972
|
+
required: false,
|
|
973
|
+
default: () => true
|
|
974
|
+
},
|
|
970
975
|
disablePictureInPicture: {
|
|
971
976
|
type: Boolean,
|
|
972
977
|
required: false
|
|
@@ -1164,16 +1169,19 @@ const VideoPlayer = defineComponent({
|
|
|
1164
1169
|
var _b = _a, {
|
|
1165
1170
|
data = {},
|
|
1166
1171
|
disableCookies = true,
|
|
1172
|
+
disableTracking = true,
|
|
1167
1173
|
preload = "metadata"
|
|
1168
1174
|
} = _b, otherProps = __objRest$1(_b, [
|
|
1169
1175
|
"data",
|
|
1170
1176
|
"disableCookies",
|
|
1177
|
+
"disableTracking",
|
|
1171
1178
|
"preload"
|
|
1172
1179
|
]);
|
|
1173
1180
|
import('@mux/mux-player');
|
|
1174
1181
|
const muxPlayerRef = ref();
|
|
1175
1182
|
const computedProps = __spreadProps$2(__spreadValues$2({}, useVideoPlayer({ data })), {
|
|
1176
1183
|
disableCookies,
|
|
1184
|
+
disableTracking,
|
|
1177
1185
|
preload
|
|
1178
1186
|
});
|
|
1179
1187
|
return {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vue-datocms",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "8.0.0",
|
|
4
4
|
"description": "A set of components and utilities to work faster with DatoCMS in Vue.js environments",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"datocms",
|
|
@@ -44,6 +44,7 @@
|
|
|
44
44
|
"datocms-listen": "^0.1.15",
|
|
45
45
|
"datocms-structured-text-generic-html-renderer": "^4.0.1",
|
|
46
46
|
"datocms-structured-text-utils": "^4.0.1",
|
|
47
|
+
"hls.js": "^1.5.17",
|
|
47
48
|
"hyphenate-style-name": "^1.0.4"
|
|
48
49
|
},
|
|
49
50
|
"peerDependencies": {
|
|
@@ -57,18 +58,20 @@
|
|
|
57
58
|
},
|
|
58
59
|
"devDependencies": {
|
|
59
60
|
"@biomejs/biome": "^1.6.3",
|
|
60
|
-
"@mux/mux-player": "
|
|
61
|
+
"@mux/mux-player": "^2.5.0",
|
|
61
62
|
"@mux/playback-core": "^0.22.1",
|
|
62
63
|
"@types/hyphenate-style-name": "^1.0.2",
|
|
63
64
|
"@types/jest": "^29.5.11",
|
|
64
65
|
"@types/node": "^14.18.63",
|
|
65
66
|
"@vue/test-utils": "^2.4.3",
|
|
66
67
|
"@vuedx/typescript-plugin-vue": "^0.7.6",
|
|
68
|
+
"doctoc": "^2.0.0",
|
|
67
69
|
"esbuild": "^0.15.18",
|
|
68
70
|
"jest": "^29.7.0",
|
|
69
71
|
"jest-environment-jsdom": "^29.7.0",
|
|
70
72
|
"jest-serializer-vue": "^2.0.2",
|
|
71
73
|
"jsdom": "^19.0.0",
|
|
74
|
+
"matchmedia-polyfill": "^0.3.2",
|
|
72
75
|
"np": "^9.2.0",
|
|
73
76
|
"resize-observer-polyfill": "^1.5.1",
|
|
74
77
|
"rollup": "^2.79.1",
|
|
@@ -77,7 +80,6 @@
|
|
|
77
80
|
"ts-jest": "^29.1.1",
|
|
78
81
|
"tslib": "^2.6.2",
|
|
79
82
|
"typescript": "^4.9.5",
|
|
80
|
-
"vue-tsc": "^0.37.9"
|
|
81
|
-
"doctoc": "^2.0.0"
|
|
83
|
+
"vue-tsc": "^0.37.9"
|
|
82
84
|
}
|
|
83
85
|
}
|