@inpageedit/core 0.1.1 → 0.2.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 +1 -1
- package/dist/{ActionButton-B9JniHy6.js → ActionButton-DkQu8dfH.js} +2 -2
- package/dist/{ActionButton-B9JniHy6.js.map → ActionButton-DkQu8dfH.js.map} +1 -1
- package/dist/InPageEdit.d.ts +7 -2
- package/dist/{CheckBox-ROZZIK-t.js → InputBox-B-BAGjgs.js} +11 -11
- package/dist/InputBox-B-BAGjgs.js.map +1 -0
- package/dist/{PluginPreferencesUI-7u9JClgy.js → PluginPreferencesUI-CHdAGK8T.js} +6 -5
- package/dist/{PluginPreferencesUI-7u9JClgy.js.map → PluginPreferencesUI-CHdAGK8T.js.map} +1 -1
- package/dist/{RadioBox-Bt5tAniV.js → RadioBox-CQ9xz5nk.js} +2 -2
- package/dist/{RadioBox-Bt5tAniV.js.map → RadioBox-CQ9xz5nk.js.map} +1 -1
- package/dist/components/index.d.ts +8 -0
- package/dist/components/index.js +79 -0
- package/dist/components/index.js.map +1 -0
- package/dist/{index-DIovbA02.js → index-B02kaEy5.js} +5 -4
- package/dist/{index-DIovbA02.js.map → index-B02kaEy5.js.map} +1 -1
- package/dist/{index-jJ3Ut97G.js → index-BIFsoDor.js} +18 -17
- package/dist/{index-jJ3Ut97G.js.map → index-BIFsoDor.js.map} +1 -1
- package/dist/{index-01GVXg9H.js → index-C6PwuH_U.js} +18 -17
- package/dist/{index-01GVXg9H.js.map → index-C6PwuH_U.js.map} +1 -1
- package/dist/{index-DPXRKwGM.js → index-CavCnbOz.js} +20 -19
- package/dist/{index-DPXRKwGM.js.map → index-CavCnbOz.js.map} +1 -1
- package/dist/{index-BY3hO6sZ.js → index-D1nQg-aN.js} +10 -9
- package/dist/{index-BY3hO6sZ.js.map → index-D1nQg-aN.js.map} +1 -1
- package/dist/index-D3QOS3-Q.js +348 -0
- package/dist/index-D3QOS3-Q.js.map +1 -0
- package/dist/{index-M4USLRId.js → index-Do5exwYg.js} +36 -35
- package/dist/{index-M4USLRId.js.map → index-Do5exwYg.js.map} +1 -1
- package/dist/{index-Bz9ciRCe.js → index-vjK9PEyV.js} +9 -8
- package/dist/{index-Bz9ciRCe.js.map → index-vjK9PEyV.js.map} +1 -1
- package/dist/{index-BI0z4WfP.js → index-wYcxrK6G.js} +2 -2
- package/dist/{index-BI0z4WfP.js.map → index-wYcxrK6G.js.map} +1 -1
- package/dist/index.d.ts +16 -1
- package/dist/index.js +5120 -5
- package/dist/index.js.map +1 -1
- package/dist/plugins/BasePlugin.d.ts +2 -2
- package/dist/style.css +1 -1
- package/lib/index.umd.js +36 -36
- package/package.json +38 -4
- package/dist/CheckBox-ROZZIK-t.js.map +0 -1
- package/dist/index-CGg-JS5d.js +0 -5466
- package/dist/index-CGg-JS5d.js.map +0 -1
- /package/dist/components/TabView/{TabView.d.ts → index.d.ts} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inpageedit/core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "🚀 Modular, Extensible Supercharged Plugin for MediaWiki",
|
|
5
5
|
"author": "dragon-fish",
|
|
6
6
|
"license": "MIT",
|
|
@@ -11,6 +11,31 @@
|
|
|
11
11
|
"dist",
|
|
12
12
|
"lib"
|
|
13
13
|
],
|
|
14
|
+
"exports": {
|
|
15
|
+
".": {
|
|
16
|
+
"types": "./dist/index.d.ts",
|
|
17
|
+
"import": "./dist/index.js"
|
|
18
|
+
},
|
|
19
|
+
"./InPageEdit": {
|
|
20
|
+
"types": "./dist/InPageEdit.d.ts"
|
|
21
|
+
},
|
|
22
|
+
"./components": {
|
|
23
|
+
"types": "./dist/components/index.d.ts",
|
|
24
|
+
"import": "./dist/components/index.js"
|
|
25
|
+
},
|
|
26
|
+
"./models/*": {
|
|
27
|
+
"types": "./dist/plugins/*.d.ts"
|
|
28
|
+
},
|
|
29
|
+
"./plugins/*": {
|
|
30
|
+
"types": "./dist/plugins/*.d.ts"
|
|
31
|
+
},
|
|
32
|
+
"./services/*": {
|
|
33
|
+
"types": "./dist/services/*.d.ts"
|
|
34
|
+
},
|
|
35
|
+
"./types/*": {
|
|
36
|
+
"types": "./dist/services/*.d.ts"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
14
39
|
"publishConfig": {
|
|
15
40
|
"registry": "https://registry.npmjs.org/",
|
|
16
41
|
"access": "public"
|
|
@@ -19,7 +44,11 @@
|
|
|
19
44
|
"@eslint/eslintrc": "^3.3.1",
|
|
20
45
|
"@eslint/js": "^9.36.0",
|
|
21
46
|
"@microsoft/api-extractor": "^7.52.13",
|
|
47
|
+
"@nolebase/vitepress-plugin-git-changelog": "^2.18.2",
|
|
48
|
+
"@nolebase/vitepress-plugin-inline-link-preview": "^2.18.2",
|
|
49
|
+
"@nolebase/vitepress-plugin-page-properties": "^2.18.2",
|
|
22
50
|
"@prettier/plugin-pug": "^3.4.2",
|
|
51
|
+
"@shikijs/vitepress-twoslash": "^3.13.0",
|
|
23
52
|
"@tabler/icons-vue": "^3.35.0",
|
|
24
53
|
"@types/jquery": "^3.5.33",
|
|
25
54
|
"@types/node": "^22.18.6",
|
|
@@ -33,6 +62,7 @@
|
|
|
33
62
|
"fexios": "^3.1.0",
|
|
34
63
|
"globals": "^16.4.0",
|
|
35
64
|
"jsx-dom": "^8.1.6",
|
|
65
|
+
"markdown-it-task-lists": "^2.1.1",
|
|
36
66
|
"mermaid": "^11.12.0",
|
|
37
67
|
"npm-run-all2": "^8.0.4",
|
|
38
68
|
"prettier": "^3.6.2",
|
|
@@ -47,9 +77,12 @@
|
|
|
47
77
|
"vite": "^7.1.7",
|
|
48
78
|
"vitepress": "2.0.0-alpha.12",
|
|
49
79
|
"vitepress-i18n": "^1.3.4",
|
|
80
|
+
"vitepress-markdown-timeline": "^1.2.2",
|
|
81
|
+
"vitepress-plugin-group-icons": "^1.6.3",
|
|
50
82
|
"vitepress-plugin-mermaid": "^2.0.17",
|
|
51
83
|
"vitepress-sidebar": "^1.33.0",
|
|
52
|
-
"zx": "^8.8.3"
|
|
84
|
+
"zx": "^8.8.3",
|
|
85
|
+
"@inpageedit/core": "^0.2.0"
|
|
53
86
|
},
|
|
54
87
|
"dependencies": {
|
|
55
88
|
"cordis": "^3.18.1",
|
|
@@ -87,7 +120,8 @@
|
|
|
87
120
|
"clean": "rimraf dist/* lib/*",
|
|
88
121
|
"format": "prettier --write ./src",
|
|
89
122
|
"doc:dev": "vitepress dev docs",
|
|
90
|
-
"doc:build": "vitepress build docs",
|
|
91
|
-
"doc:preview": "vitepress preview docs"
|
|
123
|
+
"doc:build": "npm run build:import && vitepress build docs",
|
|
124
|
+
"doc:preview": "vitepress preview docs",
|
|
125
|
+
"typecheck": "tsc -b --pretty false --noEmit"
|
|
92
126
|
}
|
|
93
127
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CheckBox-ROZZIK-t.js","sources":["../src/components/InputBox.tsx","../src/components/CheckBox.tsx"],"sourcesContent":["import { JSX } from 'jsx-dom'\n\nexport type InputBoxProps = {\n label: string\n id?: string\n name: string\n value?: string\n disabled?: boolean\n labelProps?: JSX.IntrinsicElements['label']\n inputProps?: JSX.IntrinsicElements['input']\n} & JSX.IntrinsicElements['div']\n\nexport const InputBox = (props: InputBoxProps) => {\n const { label, id, name, value, disabled, labelProps, inputProps, ...rest } = props\n return (\n <div className=\"theme-ipe ipe-input-box\" {...rest}>\n <label htmlFor={id} style={{ display: 'block' }} {...labelProps}>\n {label}\n </label>\n <input\n id={id}\n name={name}\n value={value}\n disabled={disabled}\n style={{ width: '100%' }}\n {...inputProps}\n />\n </div>\n )\n}\n","import { JSX, ReactNode } from 'jsx-dom'\n\nexport type CheckBoxProps = {\n id?: string\n name: string\n label?: string | HTMLElement\n checked?: boolean\n inputProps?: JSX.IntrinsicElements['input']\n labelProps?: JSX.IntrinsicElements['span']\n} & JSX.IntrinsicElements['label']\n\nexport const CheckBox = (props: CheckBoxProps) => {\n const { id, name, label, checked, inputProps, labelProps, children, ...rest } = props\n return (\n <label className=\"theme-ipe ipe-checkbox\" {...rest}>\n <input type=\"checkbox\" id={id} name={name} checked={checked} {...inputProps} />\n <span className=\"ipe-checkbox-box\"></span>\n <span {...labelProps}>{label || children}</span>\n </label>\n )\n}\n"],"names":["InputBox","props","label","id","name","value","disabled","labelProps","inputProps","rest","jsxs","jsx","CheckBox","checked","children"],"mappings":";AAYO,MAAMA,IAAW,CAACC,MAAyB;AAChD,QAAM,EAAE,OAAAC,GAAO,IAAAC,GAAI,MAAAC,GAAM,OAAAC,GAAO,UAAAC,GAAU,YAAAC,GAAY,YAAAC,GAAY,GAAGC,EAAA,IAASR;AAC9E,SACES,gBAAAA,EAAC,OAAA,EAAI,WAAU,2BAA2B,GAAGD,GAC3C,UAAA;AAAA,IAAA,gBAAAE,EAAC,SAAA,EAAM,SAASR,GAAI,OAAO,EAAE,SAAS,QAAA,GAAY,GAAGI,GAClD,UAAAL,EAAA,CACH;AAAA,IACA,gBAAAS;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,IAAAR;AAAA,QACA,MAAAC;AAAA,QACA,OAAAC;AAAA,QACA,UAAAC;AAAA,QACA,OAAO,EAAE,OAAO,OAAA;AAAA,QACf,GAAGE;AAAA,MAAA;AAAA,IAAA;AAAA,EACN,GACF;AAEJ,GClBaI,IAAW,CAACX,MAAyB;AAChD,QAAM,EAAE,IAAAE,GAAI,MAAAC,GAAM,OAAAF,GAAO,SAAAW,GAAS,YAAAL,GAAY,YAAAD,GAAY,UAAAO,GAAU,GAAGL,EAAA,IAASR;AAChF,SACES,gBAAAA,EAAC,SAAA,EAAM,WAAU,0BAA0B,GAAGD,GAC5C,UAAA;AAAA,IAAA,gBAAAE,EAAC,WAAM,MAAK,YAAW,IAAAR,GAAQ,MAAAC,GAAY,SAAAS,GAAmB,GAAGL,GAAY;AAAA,IAC7E,gBAAAG,EAAC,QAAA,EAAK,WAAU,mBAAA,CAAmB;AAAA,IACnC,gBAAAA,EAAC,QAAA,EAAM,GAAGJ,GAAa,eAASO,EAAA,CAAS;AAAA,EAAA,GAC3C;AAEJ;"}
|