@kong-ui-public/entities-plugins-icon 0.1.1-pr.2030.ed70890b6.0 → 0.1.1-pr.2172.668d1b50a.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.
@@ -0,0 +1,10 @@
1
+ export type Props = {
2
+ name: string;
3
+ size?: number;
4
+ alt?: string;
5
+ };
6
+ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {
7
+ img: HTMLImageElement;
8
+ }, any>;
9
+ export default _default;
10
+ //# sourceMappingURL=PluginIcon.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PluginIcon.vue.d.ts","sourceRoot":"","sources":["../../../src/components/PluginIcon.vue"],"names":[],"mappings":"AA2CA,MAAM,MAAM,KAAK,GAAG;IAClB,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,GAAG,CAAC,EAAE,MAAM,CAAA;CACb,CAAA;;;;AA6ED,wBAOG"}
@@ -0,0 +1,14 @@
1
+ import type { PluginName } from '@kong-ui-public/entities-plugins-metadata';
2
+ /**
3
+ * The filename should same with the plugin name by default.
4
+ * Only plugins with names different from their image filenames should be listed in here.
5
+ */
6
+ export declare const PLUGIN_ASSETS_MAP: Partial<Record<PluginName, string>>;
7
+ /**
8
+ * Gets the URL for the plugin icon.
9
+ *
10
+ * @param name plugin name
11
+ * @returns URL for the plugin icon
12
+ */
13
+ export declare const getPluginIconURL: (name: string) => string;
14
+ //# sourceMappingURL=metadata.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"metadata.d.ts","sourceRoot":"","sources":["../../../src/definitions/metadata.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,2CAA2C,CAAA;AAE3E;;;GAGG;AACH,eAAO,MAAM,iBAAiB,EAAE,OAAO,CAAC,MAAM,CAAC,UAAU,EAAE,MAAM,CAAC,CAQjE,CAAA;AAED;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB,SAAU,MAAM,WAS5C,CAAA"}
@@ -0,0 +1,4 @@
1
+ import PluginIcon from './components/PluginIcon.vue';
2
+ import { getPluginIconURL } from './definitions/metadata';
3
+ export { PluginIcon, getPluginIconURL };
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,6BAA6B,CAAA;AACpD,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;AAEzD,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,CAAA"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kong-ui-public/entities-plugins-icon",
3
- "version": "0.1.1-pr.2030.ed70890b6.0",
3
+ "version": "0.1.1-pr.2172.668d1b50a.0",
4
4
  "type": "module",
5
5
  "main": "./dist/entities-plugins-icon.umd.js",
6
6
  "module": "./dist/entities-plugins-icon.es.js",
@@ -22,7 +22,7 @@
22
22
  },
23
23
  "devDependencies": {
24
24
  "vue": "^3.5.13",
25
- "@kong-ui-public/entities-plugins-metadata": "^1.6.1-pr.2030.ed70890b6.0"
25
+ "@kong-ui-public/entities-plugins-metadata": "^1.6.1-pr.2172.668d1b50a.0"
26
26
  },
27
27
  "repository": {
28
28
  "type": "git",
@@ -43,7 +43,7 @@
43
43
  },
44
44
  "peerDependencies": {
45
45
  "vue": "^3.5.12",
46
- "@kong-ui-public/entities-plugins-metadata": "^1.6.1-pr.2030.ed70890b6.0"
46
+ "@kong-ui-public/entities-plugins-metadata": "^1.6.1-pr.2172.668d1b50a.0"
47
47
  },
48
48
  "scripts": {
49
49
  "dev": "cross-env USE_SANDBOX=true vite",