@bagelink/vue 1.18.3 → 1.18.7
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/form/inputs/RichText/index.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/RichText/utils/linkPolicy.d.ts +11 -0
- package/dist/components/form/inputs/RichText/utils/linkPolicy.d.ts.map +1 -0
- package/dist/components/lightbox/AssetPreview.test.d.ts +2 -0
- package/dist/components/lightbox/AssetPreview.test.d.ts.map +1 -0
- package/dist/components/lightbox/AssetPreview.vue.d.ts +2 -0
- package/dist/components/lightbox/AssetPreview.vue.d.ts.map +1 -1
- package/dist/core.css +1 -1
- package/dist/index.cjs +41 -41
- package/dist/index.css +1 -1
- package/dist/index.mjs +6140 -6098
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/form/inputs/DateInput.vue +1 -1
- package/src/components/form/inputs/RichText/index.vue +16 -28
- package/src/components/form/inputs/RichText/utils/linkPolicy.ts +48 -0
- package/src/components/layout/AppContent.vue +1 -1
- package/src/components/lightbox/AssetPreview.test.ts +37 -0
- package/src/components/lightbox/AssetPreview.vue +44 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/inputs/RichText/index.vue"],"names":[],"mappings":"AACA;
|
|
1
|
+
{"version":3,"file":"index.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/inputs/RichText/index.vue"],"names":[],"mappings":"AACA;AAijJA,OAAO,KAAK,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AA2BhH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAA;AAU9D,KAAK,WAAW,GAAG;IAClB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,aAAa,CAAC,EAAE,aAAa,CAAA;IAC7B,oBAAoB,CA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;;;+CAyiJrB,CAtiJuB;;;;;;;;;;;;;;;;;;;;;;;;;;;OA4xUrB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Validate and normalize a link authored in RichText.
|
|
3
|
+
*
|
|
4
|
+
* Relative application paths must be root-relative (`/contact`). Ambiguous
|
|
5
|
+
* imported CMS links (`edit?...`, `admin/...`) are rejected instead of being
|
|
6
|
+
* silently resolved against the current page.
|
|
7
|
+
*/
|
|
8
|
+
export declare function normalizeRichTextLink(value: unknown): string | null;
|
|
9
|
+
/** Remove invalid destinations while preserving their visible linked content. */
|
|
10
|
+
export declare function sanitizeRichTextLinks(root: ParentNode): number;
|
|
11
|
+
//# sourceMappingURL=linkPolicy.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"linkPolicy.d.ts","sourceRoot":"","sources":["../../../../../../src/components/form/inputs/RichText/utils/linkPolicy.ts"],"names":[],"mappings":"AAGA;;;;;;GAMG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,IAAI,CAoBnE;AAED,iFAAiF;AACjF,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,UAAU,GAAG,MAAM,CAc9D"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AssetPreview.test.d.ts","sourceRoot":"","sources":["../../../src/components/lightbox/AssetPreview.test.ts"],"names":[],"mappings":""}
|
|
@@ -3,6 +3,8 @@ type __VLS_Props = {
|
|
|
3
3
|
asset: AssetReference;
|
|
4
4
|
type: string;
|
|
5
5
|
name?: string;
|
|
6
|
+
/** Authenticated byte loader for protected assets. Public assets omit it. */
|
|
7
|
+
load?: (asset: AssetReference) => Promise<Blob>;
|
|
6
8
|
};
|
|
7
9
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
8
10
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AssetPreview.vue.d.ts","sourceRoot":"","sources":["../../../src/components/lightbox/AssetPreview.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AssetPreview.vue.d.ts","sourceRoot":"","sources":["../../../src/components/lightbox/AssetPreview.vue"],"names":[],"mappings":"AA2DA,OAAO,EAAoB,KAAK,cAAc,EAAE,MAAM,cAAc,CAAA;AAIpE,KAAK,WAAW,GAAG;IAClB,KAAK,EAAE,cAAc,CAAA;IACrB,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,6EAA6E;IAC7E,IAAI,CAAC,EAAE,CAAC,KAAK,EAAE,cAAc,KAAK,OAAO,CAAC,IAAI,CAAC,CAAA;CAC/C,CAAC;;AAsIF,wBAOG"}
|