pcm-agents 0.0.1
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/LICENSE +21 -0
- package/dist/cjs/app-globals-V2Kpy_OQ.js +8 -0
- package/dist/cjs/app-globals-V2Kpy_OQ.js.map +1 -0
- package/dist/cjs/float-image.my-component.entry.cjs.js.map +1 -0
- package/dist/cjs/float-image_2.cjs.entry.js +74 -0
- package/dist/cjs/float-image_2.cjs.entry.js.map +1 -0
- package/dist/cjs/index-C-eX75n4.js +1321 -0
- package/dist/cjs/index-C-eX75n4.js.map +1 -0
- package/dist/cjs/index.cjs.js +10 -0
- package/dist/cjs/index.cjs.js.map +1 -0
- package/dist/cjs/loader.cjs.js +16 -0
- package/dist/cjs/loader.cjs.js.map +1 -0
- package/dist/cjs/pcm-agents.cjs.js +28 -0
- package/dist/cjs/pcm-agents.cjs.js.map +1 -0
- package/dist/collection/collection-manifest.json +13 -0
- package/dist/collection/components/float-image/float-image.css +21 -0
- package/dist/collection/components/float-image/float-image.js +144 -0
- package/dist/collection/components/float-image/float-image.js.map +1 -0
- package/dist/collection/components/my-component/my-component.css +3 -0
- package/dist/collection/components/my-component/my-component.js +96 -0
- package/dist/collection/components/my-component/my-component.js.map +1 -0
- package/dist/collection/index.js +11 -0
- package/dist/collection/index.js.map +1 -0
- package/dist/collection/utils/utils.js +4 -0
- package/dist/collection/utils/utils.js.map +1 -0
- package/dist/components/float-image.d.ts +11 -0
- package/dist/components/float-image.js +67 -0
- package/dist/components/float-image.js.map +1 -0
- package/dist/components/index.d.ts +33 -0
- package/dist/components/index.js +10 -0
- package/dist/components/index.js.map +1 -0
- package/dist/components/my-component.d.ts +11 -0
- package/dist/components/my-component.js +57 -0
- package/dist/components/my-component.js.map +1 -0
- package/dist/components/p-xuWuR0EC.js +1126 -0
- package/dist/components/p-xuWuR0EC.js.map +1 -0
- package/dist/esm/app-globals-DQuL1Twl.js +6 -0
- package/dist/esm/app-globals-DQuL1Twl.js.map +1 -0
- package/dist/esm/float-image.my-component.entry.js.map +1 -0
- package/dist/esm/float-image_2.entry.js +71 -0
- package/dist/esm/float-image_2.entry.js.map +1 -0
- package/dist/esm/index-Dwb-sOuy.js +1314 -0
- package/dist/esm/index-Dwb-sOuy.js.map +1 -0
- package/dist/esm/index.js +8 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/loader.js +14 -0
- package/dist/esm/loader.js.map +1 -0
- package/dist/esm/pcm-agents.js +24 -0
- package/dist/esm/pcm-agents.js.map +1 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/pcm-agents/float-image.my-component.entry.esm.js.map +1 -0
- package/dist/pcm-agents/index.esm.js +2 -0
- package/dist/pcm-agents/index.esm.js.map +1 -0
- package/dist/pcm-agents/loader.esm.js.map +1 -0
- package/dist/pcm-agents/p-7964664e.entry.js +2 -0
- package/dist/pcm-agents/p-7964664e.entry.js.map +1 -0
- package/dist/pcm-agents/p-DQuL1Twl.js +2 -0
- package/dist/pcm-agents/p-DQuL1Twl.js.map +1 -0
- package/dist/pcm-agents/p-Dwb-sOuy.js +3 -0
- package/dist/pcm-agents/p-Dwb-sOuy.js.map +1 -0
- package/dist/pcm-agents/pcm-agents.esm.js +2 -0
- package/dist/pcm-agents/pcm-agents.esm.js.map +1 -0
- package/dist/types/components/float-image/float-image.d.ts +25 -0
- package/dist/types/components/my-component/my-component.d.ts +16 -0
- package/dist/types/components.d.ts +125 -0
- package/dist/types/index.d.ts +11 -0
- package/dist/types/stencil-public-runtime.d.ts +1681 -0
- package/dist/types/utils/utils.d.ts +1 -0
- package/loader/cdn.js +1 -0
- package/loader/index.cjs.js +1 -0
- package/loader/index.d.ts +24 -0
- package/loader/index.es2017.js +1 -0
- package/loader/index.js +2 -0
- package/package.json +58 -0
- package/readme.md +308 -0
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/**
|
|
4
|
+
* This is an autogenerated file created by the Stencil compiler.
|
|
5
|
+
* It contains typing information for all components that exist in this project.
|
|
6
|
+
*/
|
|
7
|
+
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
8
|
+
export namespace Components {
|
|
9
|
+
interface FloatImage {
|
|
10
|
+
/**
|
|
11
|
+
* 图片的替代文本
|
|
12
|
+
*/
|
|
13
|
+
"alt": string;
|
|
14
|
+
/**
|
|
15
|
+
* 图片的高度
|
|
16
|
+
*/
|
|
17
|
+
"height": string;
|
|
18
|
+
/**
|
|
19
|
+
* 图片的URL地址
|
|
20
|
+
*/
|
|
21
|
+
"src": string;
|
|
22
|
+
/**
|
|
23
|
+
* 图片的宽度
|
|
24
|
+
*/
|
|
25
|
+
"width": string;
|
|
26
|
+
}
|
|
27
|
+
interface MyComponent {
|
|
28
|
+
/**
|
|
29
|
+
* The first name
|
|
30
|
+
*/
|
|
31
|
+
"first": string;
|
|
32
|
+
/**
|
|
33
|
+
* The last name
|
|
34
|
+
*/
|
|
35
|
+
"last": string;
|
|
36
|
+
/**
|
|
37
|
+
* The middle name
|
|
38
|
+
*/
|
|
39
|
+
"middle": string;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
export interface FloatImageCustomEvent<T> extends CustomEvent<T> {
|
|
43
|
+
detail: T;
|
|
44
|
+
target: HTMLFloatImageElement;
|
|
45
|
+
}
|
|
46
|
+
declare global {
|
|
47
|
+
interface HTMLFloatImageElementEventMap {
|
|
48
|
+
"floatImageClick": void;
|
|
49
|
+
}
|
|
50
|
+
interface HTMLFloatImageElement extends Components.FloatImage, HTMLStencilElement {
|
|
51
|
+
addEventListener<K extends keyof HTMLFloatImageElementEventMap>(type: K, listener: (this: HTMLFloatImageElement, ev: FloatImageCustomEvent<HTMLFloatImageElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
52
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
53
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
54
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
55
|
+
removeEventListener<K extends keyof HTMLFloatImageElementEventMap>(type: K, listener: (this: HTMLFloatImageElement, ev: FloatImageCustomEvent<HTMLFloatImageElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
56
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
57
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
58
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
59
|
+
}
|
|
60
|
+
var HTMLFloatImageElement: {
|
|
61
|
+
prototype: HTMLFloatImageElement;
|
|
62
|
+
new (): HTMLFloatImageElement;
|
|
63
|
+
};
|
|
64
|
+
interface HTMLMyComponentElement extends Components.MyComponent, HTMLStencilElement {
|
|
65
|
+
}
|
|
66
|
+
var HTMLMyComponentElement: {
|
|
67
|
+
prototype: HTMLMyComponentElement;
|
|
68
|
+
new (): HTMLMyComponentElement;
|
|
69
|
+
};
|
|
70
|
+
interface HTMLElementTagNameMap {
|
|
71
|
+
"float-image": HTMLFloatImageElement;
|
|
72
|
+
"my-component": HTMLMyComponentElement;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
declare namespace LocalJSX {
|
|
76
|
+
interface FloatImage {
|
|
77
|
+
/**
|
|
78
|
+
* 图片的替代文本
|
|
79
|
+
*/
|
|
80
|
+
"alt"?: string;
|
|
81
|
+
/**
|
|
82
|
+
* 图片的高度
|
|
83
|
+
*/
|
|
84
|
+
"height"?: string;
|
|
85
|
+
/**
|
|
86
|
+
* 点击图片时触发的事件
|
|
87
|
+
*/
|
|
88
|
+
"onFloatImageClick"?: (event: FloatImageCustomEvent<void>) => void;
|
|
89
|
+
/**
|
|
90
|
+
* 图片的URL地址
|
|
91
|
+
*/
|
|
92
|
+
"src"?: string;
|
|
93
|
+
/**
|
|
94
|
+
* 图片的宽度
|
|
95
|
+
*/
|
|
96
|
+
"width"?: string;
|
|
97
|
+
}
|
|
98
|
+
interface MyComponent {
|
|
99
|
+
/**
|
|
100
|
+
* The first name
|
|
101
|
+
*/
|
|
102
|
+
"first"?: string;
|
|
103
|
+
/**
|
|
104
|
+
* The last name
|
|
105
|
+
*/
|
|
106
|
+
"last"?: string;
|
|
107
|
+
/**
|
|
108
|
+
* The middle name
|
|
109
|
+
*/
|
|
110
|
+
"middle"?: string;
|
|
111
|
+
}
|
|
112
|
+
interface IntrinsicElements {
|
|
113
|
+
"float-image": FloatImage;
|
|
114
|
+
"my-component": MyComponent;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
export { LocalJSX as JSX };
|
|
118
|
+
declare module "@stencil/core" {
|
|
119
|
+
export namespace JSX {
|
|
120
|
+
interface IntrinsicElements {
|
|
121
|
+
"float-image": LocalJSX.FloatImage & JSXBase.HTMLAttributes<HTMLFloatImageElement>;
|
|
122
|
+
"my-component": LocalJSX.MyComponent & JSXBase.HTMLAttributes<HTMLMyComponentElement>;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview entry point for your component library
|
|
3
|
+
*
|
|
4
|
+
* This is the entry point for your component library. Use this file to export utilities,
|
|
5
|
+
* constants or data structure that accompany your components.
|
|
6
|
+
*
|
|
7
|
+
* DO NOT use this file to export your components. Instead, use the recommended approaches
|
|
8
|
+
* to consume components of this package as outlined in the `README.md`.
|
|
9
|
+
*/
|
|
10
|
+
export { format } from './utils/utils';
|
|
11
|
+
export type * from './components.d.ts';
|