@spfx-extensions/package 1.6.2 → 1.6.5
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/.npmignore +16 -16
- package/.nvmrc +1 -1
- package/LICENSE +674 -674
- package/README.md +166 -166
- package/config/config-scripts/rename-solution.mjs +19 -0
- package/config/config-scripts/update-version.mjs +23 -0
- package/config/config-scripts/webpack-patch.mjs +134 -0
- package/config/config.json +27 -27
- package/config/deploy-azure-storage.json +6 -6
- package/config/heft.json +58 -0
- package/config/package-solution.json +3 -3
- package/config/rig.json +7 -0
- package/config/sass.json +3 -2
- package/config/serve.json +18 -18
- package/config/typescript.json +7 -0
- package/config/webpack-patch.json +6 -0
- package/config/write-manifests.json +3 -3
- package/dist/8d1029da-85e6-48cc-aaaf-37a5bbc0b9be.manifest.json +3 -3
- package/dist/d6ca1fc2-0591-4c6d-8a25-cae3262c017b.manifest.json +6 -6
- package/dist/debug/83e13c11-682e-4eaa-9ae0-74617ca28f96/ClientSideInstance.xml +8 -8
- package/dist/debug/83e13c11-682e-4eaa-9ae0-74617ca28f96/Extension_8d1029da-85e6-48cc-aaaf-37a5bbc0b9be.xml +1 -1
- package/dist/debug/83e13c11-682e-4eaa-9ae0-74617ca28f96/WebPart_d6ca1fc2-0591-4c6d-8a25-cae3262c017b.xml +1 -1
- package/dist/debug/83e13c11-682e-4eaa-9ae0-74617ca28f96/elements.xml +8 -8
- package/dist/debug/AppManifest.xml +1 -1
- package/dist/debug/ClientSideAssets/spfx-extension-application-customizer_5b1b100aec47d72d7987.js +2 -0
- package/dist/debug/ClientSideAssets/spfx-extensionloader-web-part_2268d0967478752fd3d9.js +2 -0
- package/dist/debug/ClientSideAssets/spfx-extensions-classiccustomaction.js +1 -0
- package/dist/debug/ClientSideAssets/spfx-extensions-classicwrapper.js +1 -0
- package/dist/debug/ClientSideAssets/spfx-extensions-core.js +1 -0
- package/dist/debug/ClientSideAssets/spfx-extensions-coreconfigurator.js +175 -0
- package/dist/debug/ClientSideAssets/spfx-extensions-loader_ddc8f623e76ec6c32de9.js +2 -0
- package/dist/debug/ClientSideAssets.xml +1 -1
- package/dist/debug/ClientSideAssets.xml.config.xml +1 -1
- package/dist/debug/_rels/AppManifest.xml.rels +1 -1
- package/dist/debug/_rels/ClientSideAssets.xml.rels +1 -1
- package/dist/debug/feature_83e13c11-682e-4eaa-9ae0-74617ca28f96.xml +1 -1
- package/dist/debug/feature_83e13c11-682e-4eaa-9ae0-74617ca28f96.xml.config.xml +1 -1
- package/dist/deploy/sp-fx-extensions.sppkg +0 -0
- package/dist/spfx-extension-application-customizer_5b1b100aec47d72d7987.js +2 -0
- package/dist/spfx-extensionloader-web-part_2268d0967478752fd3d9.js +2 -0
- package/dist/spfx-extensions-classiccustomaction.js +1 -0
- package/dist/spfx-extensions-classicwrapper.js +1 -0
- package/dist/spfx-extensions-core.js +1 -0
- package/dist/spfx-extensions-coreconfigurator.js +175 -0
- package/dist/spfx-extensions-loader_ddc8f623e76ec6c32de9.js +2 -0
- package/gulpfile.js +80 -196
- package/package.json +68 -63
- package/sharepoint/assets/ClientSideInstance.xml +8 -8
- package/sharepoint/assets/elements.xml +8 -8
- package/src/@types/globals.d.ts +17 -14
- package/src/extensions/spfxExtension/SpfxExtensionApplicationCustomizer.manifest.json +17 -17
- package/src/extensions/spfxExtension/SpfxExtensionApplicationCustomizer.ts +70 -70
- package/src/extensions/spfxExtension/loc/en-us.js +4 -4
- package/src/extensions/spfxExtension/loc/myStrings.d.ts +8 -8
- package/src/index.ts +1 -1
- package/src/services/initCoreService.ts +68 -60
- package/src/utilities/constants.ts +3 -3
- package/src/webparts/spfxExtensionloader/SpfxExtensionloaderWebPart.manifest.json +34 -34
- package/src/webparts/spfxExtensionloader/SpfxExtensionloaderWebPart.module.scss +185 -185
- package/src/webparts/spfxExtensionloader/SpfxExtensionloaderWebPart.ts +767 -767
- package/src/webparts/spfxExtensionloader/ai.json +37 -37
- package/src/webparts/spfxExtensionloader/loc/en-us.js +15 -15
- package/src/webparts/spfxExtensionloader/loc/mystrings.d.ts +19 -19
- package/tsconfig.json +25 -25
- package/dist/debug/ClientSideAssets/spfx-extension-application-customizer_2f30086b4bcdf92ad9a2.js +0 -2
- package/dist/debug/ClientSideAssets/spfx-extension-core.js +0 -1
- package/dist/debug/ClientSideAssets/spfx-extension-coreconfigurator.js +0 -175
- package/dist/debug/ClientSideAssets/spfx-extension-loader_b4583689ca9ee8de6592.js +0 -2
- package/dist/debug/ClientSideAssets/spfx-extension-wrapper.js +0 -1
- package/dist/debug/ClientSideAssets/spfx-extensionloader-web-part_e3a6a93dc899524b9f3f.js +0 -3
- package/dist/spfx-extension-application-customizer_2f30086b4bcdf92ad9a2.js +0 -2
- package/dist/spfx-extension-core.js +0 -1
- package/dist/spfx-extension-coreconfigurator.js +0 -175
- package/dist/spfx-extension-loader_b4583689ca9ee8de6592.js +0 -2
- package/dist/spfx-extension-wrapper.js +0 -1
- package/dist/spfx-extensionloader-web-part_e3a6a93dc899524b9f3f.js +0 -3
- package/src/webparts/spfxExtensionloader/SpfxExtensionloaderWebPart.module.scss.ts +0 -24
- /package/dist/debug/ClientSideAssets/{3be36e80-4431-4b52-99c5-0a339b4e696e_color.png → d6ca1fc2-0591-4c6d-8a25-cae3262c017b_color.png} +0 -0
- /package/dist/debug/ClientSideAssets/{3be36e80-4431-4b52-99c5-0a339b4e696e_outline.png → d6ca1fc2-0591-4c6d-8a25-cae3262c017b_outline.png} +0 -0
- /package/teams/{3be36e80-4431-4b52-99c5-0a339b4e696e_color.png → d6ca1fc2-0591-4c6d-8a25-cae3262c017b_color.png} +0 -0
- /package/teams/{3be36e80-4431-4b52-99c5-0a339b4e696e_outline.png → d6ca1fc2-0591-4c6d-8a25-cae3262c017b_outline.png} +0 -0
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";(self.webpackJsonp_e7a9b5e830c9b213816fd335db247234=self.webpackJsonp_e7a9b5e830c9b213816fd335db247234||[]).push([[573],{455:(e,t,n)=>{n.r(t),n.d(t,{initCore:()=>v,registerPlaceHolderProvider:()=>g});var a=n(367),{getPrototypeOf:i,defineProperty:r,getOwnPropertyNames:o}=(Object.create,Object);Object.prototype.hasOwnProperty;var s="[SPFxExtensions/Loader]",c="spfx-extensions-core.js",d="spfx-extensions-coreconfigurator.js",l="https://localhost",u="SPFXEXT";const f=n.p+"spfx-extensions-core.js?v=745ac560091e5df50d20",p=n.p+"spfx-extensions-coreconfigurator.js?v=1d74cf3e5294fe4f1281",m=n.p+"spfx-extensions-classicwrapper.js?v=0cd37cbaa3632acfcf92",_=n.p+"spfx-extensions-classiccustomaction.js?v=fcde1836d86329ec8be9";let h=!1;async function b(){return Promise.resolve({coreUrl:f,configuratorUrl:p,wrapperUrl:m,customActionUrl:_})}function g(e,t){h||(h=!0,window.__SPFxExtensions.Utils.placeHolderResolver({placeHolderProvider:e,eventObserver:t}))}async function v(e){if(window.__SPFxExtensions?.__CoreInitializationPromise)return window.__SPFxExtensions.Utils&&!window.__SPFxExtensions.Utils.initializedThroughSPFX&&(window.__SPFxExtensions.Utils.environmentType=e,window.__SPFxExtensions.Utils.initializedThroughSPFX=!0),window.__SPFxExtensions.__CoreInitializationPromise;const{promise:t,resolve:n}=Promise.withResolvers();window.__SPFxExtensions={__CoreInitializationPromise:t,__CoreInitializationResolver:n},console.info(a.Lf,"Initializing Core from SPFx Built:","2026-03-21T16:53:44.129Z"),await async function(e,t){if(window.__SPFxExtensions.__CorePromise)return window.__SPFxExtensions.__CorePromise;!function(e){if(!window.__SPFxExtensions.__CorePromise){let{promise:e,resolve:t}=Promise.withResolvers();window.__SPFxExtensions.__CorePromise=e,window.__SPFxExtensions.__CorePromiseResolver=t}if(!window.__SPFxExtensions.Utils){let{promise:t,resolve:n}=Promise.withResolvers(),{promise:a,resolve:i}=Promise.withResolvers();window.__SPFxExtensions.Utils={environmentType:e,initializedThroughSPFX:true,placeHolderProviderPromise:t,placeHolderResolver:n,appManifestPromises:[],spAppInitializationPromise:a,spAppInitializationPromiseResolver:i,fluentIconsInitialized:!1,ConfiguratorPageUrl:"/sites/appcatalog/SPFxExtensionsData/SitePages/SPFxExtensionsConfigurator.aspx"}}}(t);let n=await async function(e){let t=window.localStorage.getItem(u)??"",n=/^\d+$/.test(t??""),a=""!==t.trim(),i={core:"",configuratorUrl:""},r=Date.now();if(n)return i.core=`${l}:${t}/${c}?v=${r}`,i.configuratorUrl=`${l}:${t}/${d}?v=${r}`,i;if(a)return i.core=`${t}/${c}?v=${r}`,i.configuratorUrl=`${t}/${d}?v=${r}`,i;let{coreUrl:o,configuratorUrl:f}=await e();if(!o)throw Error(`${s} Unable to resolve SPFx Core location`);if(!f)throw Error(`${s} Unable to resolve SPFx Core Configurator location`);return i.core=o,i.configuratorUrl=f,i}(e);window.__SPFxExtensions.__ConfiguratorUrl=n.configuratorUrl,console.info(s,"Loading SPFxExtensions Core from",n);let a=document.createElement("script");return a.src=n.core,a.type="module",a.addEventListener("error",e=>{console.error(s,"Catastrophic failure, cannot load SPFxExtensions Core from",n,e)}),document.head.appendChild(a),window.__SPFxExtensions.__CorePromise}(b,e),window.__SPFxExtensions.__CoreInitializationResolver()}}
|
|
2
|
+
}]);
|
package/gulpfile.js
CHANGED
|
@@ -1,196 +1,80 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
const fs = require("fs");
|
|
3
|
-
const build = require("@microsoft/sp-build-web");
|
|
4
|
-
const { spawnSync } = require("child_process");
|
|
5
|
-
const path = require("path");
|
|
6
|
-
const isProd = process.argv.indexOf("--ship") > -1;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
build
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
);
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
//
|
|
57
|
-
//
|
|
58
|
-
//
|
|
59
|
-
//
|
|
60
|
-
//
|
|
61
|
-
//
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
build.
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
generatedConfiguration.output.chunkFilename = "[name]_[contenthash].js";
|
|
82
|
-
generatedConfiguration.output.environment = {
|
|
83
|
-
arrowFunction: true,
|
|
84
|
-
const: true,
|
|
85
|
-
optionalChaining: true,
|
|
86
|
-
module: true,
|
|
87
|
-
templateLiteral: true,
|
|
88
|
-
destructuring: true,
|
|
89
|
-
dynamicImport: true,
|
|
90
|
-
globalThis: true,
|
|
91
|
-
forOf: true,
|
|
92
|
-
};
|
|
93
|
-
generatedConfiguration.optimization.splitChunks = {
|
|
94
|
-
cacheGroups: {
|
|
95
|
-
defaultVendors: false,
|
|
96
|
-
},
|
|
97
|
-
};
|
|
98
|
-
// const sourceMapLoaderIndex = generatedConfiguration.module.rules.findIndex(
|
|
99
|
-
// (l) => l.use && l.use?.loader?.indexOf("source-map-loader") > -1
|
|
100
|
-
// );
|
|
101
|
-
// if (sourceMapLoaderIndex > -1) {
|
|
102
|
-
// generatedConfiguration.module.rules.splice(sourceMapLoaderIndex, 1);
|
|
103
|
-
// generatedConfiguration.module.rules.push({
|
|
104
|
-
// test: /\.js$/,
|
|
105
|
-
// enforce: "pre",
|
|
106
|
-
// use: [
|
|
107
|
-
// {
|
|
108
|
-
// loader: "source-map-loader",
|
|
109
|
-
// options: {
|
|
110
|
-
// filterSourceMappingUrl: (url, resourcePath) => {
|
|
111
|
-
// const includeSourceMap =
|
|
112
|
-
// resourcePath.indexOf("node_modules") === -1 ||
|
|
113
|
-
// url.indexOf("__spfxCore.js") > -1 ||
|
|
114
|
-
// url.indexOf("@spfx-extensions/core") > -1 ||
|
|
115
|
-
// resourcePath.indexOf("@spfx-extensions/core") > -1;
|
|
116
|
-
// return includeSourceMap;
|
|
117
|
-
// },
|
|
118
|
-
// },
|
|
119
|
-
// },
|
|
120
|
-
// ],
|
|
121
|
-
// });
|
|
122
|
-
// }
|
|
123
|
-
|
|
124
|
-
generatedConfiguration.module.rules.push({
|
|
125
|
-
test: /__spfxCore\.js$/,
|
|
126
|
-
generator: {
|
|
127
|
-
filename: "spfx-extension-core[ext]?v=[hash]",
|
|
128
|
-
},
|
|
129
|
-
type: "asset/resource",
|
|
130
|
-
});
|
|
131
|
-
generatedConfiguration.module.rules.push({
|
|
132
|
-
test: /__spfxCoreConfigurator\.js$/,
|
|
133
|
-
generator: {
|
|
134
|
-
filename: "spfx-extension-coreconfigurator[ext]?v=[hash]",
|
|
135
|
-
},
|
|
136
|
-
type: "asset/resource",
|
|
137
|
-
});
|
|
138
|
-
generatedConfiguration.module.rules.push({
|
|
139
|
-
test: /__spfxWrapperClassic\.js$/,
|
|
140
|
-
generator: {
|
|
141
|
-
filename: "spfx-extension-wrapper[ext]?v=[hash]",
|
|
142
|
-
},
|
|
143
|
-
type: "asset/resource",
|
|
144
|
-
});
|
|
145
|
-
// generatedConfiguration.module.rules.push({
|
|
146
|
-
// test: /__spfxCore\.js\.map$/,
|
|
147
|
-
// generator: {
|
|
148
|
-
// filename: "spfx-extension-core.js[ext]?[hash]",
|
|
149
|
-
// },
|
|
150
|
-
// type: "asset/resource",
|
|
151
|
-
// });
|
|
152
|
-
generatedConfiguration.resolve.alias["__spfxCore.js"] =
|
|
153
|
-
"@spfx-extensions/core/spfxCoreEntry";
|
|
154
|
-
generatedConfiguration.resolve.alias["__spfxCoreConfigurator.js"] =
|
|
155
|
-
"@spfx-extensions/core/configurator";
|
|
156
|
-
generatedConfiguration.resolve.alias["__spfxWrapperClassic.js"] =
|
|
157
|
-
"@spfx-extensions/core/classicWrapper";
|
|
158
|
-
// generatedConfiguration.resolve.alias["__spfxCore.js.map"] =
|
|
159
|
-
// "@spfx-extensions/core/spfxCoreEntryMap";
|
|
160
|
-
// generatedConfiguration.resolve.alias.push({
|
|
161
|
-
|
|
162
|
-
// })
|
|
163
|
-
// generatedConfiguration.experiments = {
|
|
164
|
-
// outputModule: true,
|
|
165
|
-
// };
|
|
166
|
-
// generatedConfiguration.output.libraryTarget = "commonjs-module";
|
|
167
|
-
// generatedConfiguration.output.library = {
|
|
168
|
-
// type: "commonjs-module",
|
|
169
|
-
// };
|
|
170
|
-
const definePlugin = generatedConfiguration.plugins.find(
|
|
171
|
-
(p) => p.definitions
|
|
172
|
-
);
|
|
173
|
-
if (definePlugin) {
|
|
174
|
-
const date = new Date().toISOString();
|
|
175
|
-
console.log("Adding BUILD_DATE to define plugin:", date);
|
|
176
|
-
definePlugin.definitions["BUILD_DATE"] = JSON.stringify(date);
|
|
177
|
-
definePlugin.definitions["ISDEBUG"] = JSON.stringify(
|
|
178
|
-
isProd ? false : true
|
|
179
|
-
);
|
|
180
|
-
} else {
|
|
181
|
-
console.error("No define plugin found in webpack configuration.");
|
|
182
|
-
}
|
|
183
|
-
return generatedConfiguration;
|
|
184
|
-
},
|
|
185
|
-
});
|
|
186
|
-
|
|
187
|
-
var getTasks = build.rig.getTasks;
|
|
188
|
-
build.rig.getTasks = function () {
|
|
189
|
-
var result = getTasks.call(build.rig);
|
|
190
|
-
|
|
191
|
-
result.set("serve", result.get("serve-deprecated"));
|
|
192
|
-
|
|
193
|
-
return result;
|
|
194
|
-
};
|
|
195
|
-
|
|
196
|
-
build.initialize(require("gulp"));
|
|
1
|
+
"use strict";
|
|
2
|
+
const fs = require("fs");
|
|
3
|
+
const build = require("@microsoft/sp-build-web");
|
|
4
|
+
const { spawnSync } = require("child_process");
|
|
5
|
+
const path = require("path");
|
|
6
|
+
const isProd = process.argv.indexOf("--ship") > -1;
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
build.addSuppression(
|
|
10
|
+
`Warning - [sass] The local CSS class 'ms-Grid' is not camelCase and will not be type-safe.`
|
|
11
|
+
);
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
// build.addSuppression(
|
|
15
|
+
// `Warning - [webpack] No webpack config has been provided. Create a webpack.config.js file or call webpack.setConfig({ configPath: null }) in your gulpfile.`
|
|
16
|
+
// );
|
|
17
|
+
// build.webpack.setConfig({
|
|
18
|
+
// configPath: "./webpack.config.js"
|
|
19
|
+
// })
|
|
20
|
+
|
|
21
|
+
build.tscCmd.executeTask = function () {
|
|
22
|
+
console.log("Overriding tscCmd.executeTask");
|
|
23
|
+
spawnSync("npx", ["tsc", "--build", "--verbose"], {
|
|
24
|
+
shell: true,
|
|
25
|
+
stdio: "inherit",
|
|
26
|
+
cwd: path.resolve(__dirname),
|
|
27
|
+
});
|
|
28
|
+
return Promise.resolve();
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
build.configureWebpack.mergeConfig({
|
|
32
|
+
//https://github.com/SharePoint/sp-dev-docs/issues/10205
|
|
33
|
+
// generateCssClassName: (name) => {
|
|
34
|
+
// return name;
|
|
35
|
+
// },
|
|
36
|
+
additionalConfiguration: (generatedConfiguration) => {
|
|
37
|
+
// generatedConfiguration.optimization.usedExports = true;
|
|
38
|
+
//generatedConfiguration.resolve.extensions.push(".ts");
|
|
39
|
+
|
|
40
|
+
// const sourceMapLoaderIndex = generatedConfiguration.module.rules.findIndex(
|
|
41
|
+
// (l) => l.use && l.use?.loader?.indexOf("source-map-loader") > -1
|
|
42
|
+
// );
|
|
43
|
+
// if (sourceMapLoaderIndex > -1) {
|
|
44
|
+
// generatedConfiguration.module.rules.splice(sourceMapLoaderIndex, 1);
|
|
45
|
+
// generatedConfiguration.module.rules.push({
|
|
46
|
+
// test: /\.js$/,
|
|
47
|
+
// enforce: "pre",
|
|
48
|
+
// use: [
|
|
49
|
+
// {
|
|
50
|
+
// loader: "source-map-loader",
|
|
51
|
+
// options: {
|
|
52
|
+
// filterSourceMappingUrl: (url, resourcePath) => {
|
|
53
|
+
// const includeSourceMap =
|
|
54
|
+
// resourcePath.indexOf("node_modules") === -1 ||
|
|
55
|
+
// url.indexOf("__spfxCore.js") > -1 ||
|
|
56
|
+
// url.indexOf("@spfx-extensions/core") > -1 ||
|
|
57
|
+
// resourcePath.indexOf("@spfx-extensions/core") > -1;
|
|
58
|
+
// return includeSourceMap;
|
|
59
|
+
// },
|
|
60
|
+
// },
|
|
61
|
+
// },
|
|
62
|
+
// ],
|
|
63
|
+
// });
|
|
64
|
+
// }
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
return generatedConfiguration;
|
|
68
|
+
},
|
|
69
|
+
});
|
|
70
|
+
|
|
71
|
+
var getTasks = build.rig.getTasks;
|
|
72
|
+
build.rig.getTasks = function () {
|
|
73
|
+
var result = getTasks.call(build.rig);
|
|
74
|
+
|
|
75
|
+
result.set("serve", result.get("serve-deprecated"));
|
|
76
|
+
|
|
77
|
+
return result;
|
|
78
|
+
};
|
|
79
|
+
|
|
80
|
+
build.initialize(require("gulp"));
|
package/package.json
CHANGED
|
@@ -1,63 +1,68 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@spfx-extensions/package",
|
|
3
|
-
"version": "1.6.
|
|
4
|
-
"author": "SPWizard01",
|
|
5
|
-
"access": "public",
|
|
6
|
-
"repository": {
|
|
7
|
-
"type": "git",
|
|
8
|
-
"url": "https://github.com/SPWizard01/spfx-extensions"
|
|
9
|
-
},
|
|
10
|
-
"
|
|
11
|
-
|
|
12
|
-
"
|
|
13
|
-
},
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
},
|
|
24
|
-
"files": [
|
|
25
|
-
"dist",
|
|
26
|
-
"config",
|
|
27
|
-
"sharepoint",
|
|
28
|
-
"src",
|
|
29
|
-
"teams",
|
|
30
|
-
".npmignore",
|
|
31
|
-
".nvmrc",
|
|
32
|
-
"gulpfile.js",
|
|
33
|
-
"LICENSE",
|
|
34
|
-
"README.md",
|
|
35
|
-
"tsconfig.json"
|
|
36
|
-
],
|
|
37
|
-
"dependencies": {
|
|
38
|
-
"@microsoft/decorators": "
|
|
39
|
-
"@microsoft/sp-application-base": "
|
|
40
|
-
"@microsoft/sp-component-base": "
|
|
41
|
-
"@microsoft/sp-core-library": "
|
|
42
|
-
"@microsoft/sp-dialog": "
|
|
43
|
-
"@microsoft/sp-lodash-subset": "
|
|
44
|
-
"@microsoft/sp-office-ui-fabric-core": "
|
|
45
|
-
"@microsoft/sp-property-pane": "
|
|
46
|
-
"@microsoft/sp-webpart-base": "
|
|
47
|
-
"@spfx-extensions/core": "^0.9.
|
|
48
|
-
"tslib": "
|
|
49
|
-
},
|
|
50
|
-
"devDependencies": {
|
|
51
|
-
"@microsoft/eslint-config-spfx": "
|
|
52
|
-
"@microsoft/eslint-plugin-spfx": "
|
|
53
|
-
"@microsoft/
|
|
54
|
-
"@microsoft/sp-
|
|
55
|
-
"@microsoft/
|
|
56
|
-
"@
|
|
57
|
-
"@
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"typescript": "
|
|
62
|
-
|
|
63
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@spfx-extensions/package",
|
|
3
|
+
"version": "1.6.5",
|
|
4
|
+
"author": "SPWizard01",
|
|
5
|
+
"access": "public",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/SPWizard01/spfx-extensions.git"
|
|
9
|
+
},
|
|
10
|
+
"publishConfig": {
|
|
11
|
+
"access": "public",
|
|
12
|
+
"provenance": true
|
|
13
|
+
},
|
|
14
|
+
"license": "GPL-3.0-only",
|
|
15
|
+
"engines": {
|
|
16
|
+
"node": ">=22.14.0 < 23.0.0"
|
|
17
|
+
},
|
|
18
|
+
"description": "SPFx Extensions package for SharePoint Online",
|
|
19
|
+
"scripts": {
|
|
20
|
+
"build": "heft build --clean --production && heft package-solution --production",
|
|
21
|
+
"start": "heft start --clean",
|
|
22
|
+
"clean": "heft clean"
|
|
23
|
+
},
|
|
24
|
+
"files": [
|
|
25
|
+
"dist",
|
|
26
|
+
"config",
|
|
27
|
+
"sharepoint",
|
|
28
|
+
"src",
|
|
29
|
+
"teams",
|
|
30
|
+
".npmignore",
|
|
31
|
+
".nvmrc",
|
|
32
|
+
"gulpfile.js",
|
|
33
|
+
"LICENSE",
|
|
34
|
+
"README.md",
|
|
35
|
+
"tsconfig.json"
|
|
36
|
+
],
|
|
37
|
+
"dependencies": {
|
|
38
|
+
"@microsoft/decorators": "1.22.2",
|
|
39
|
+
"@microsoft/sp-application-base": "1.22.2",
|
|
40
|
+
"@microsoft/sp-component-base": "1.22.2",
|
|
41
|
+
"@microsoft/sp-core-library": "1.22.2",
|
|
42
|
+
"@microsoft/sp-dialog": "1.22.2",
|
|
43
|
+
"@microsoft/sp-lodash-subset": "1.22.2",
|
|
44
|
+
"@microsoft/sp-office-ui-fabric-core": "1.22.2",
|
|
45
|
+
"@microsoft/sp-property-pane": "1.22.2",
|
|
46
|
+
"@microsoft/sp-webpart-base": "1.22.2",
|
|
47
|
+
"@spfx-extensions/core": "^0.9.17",
|
|
48
|
+
"tslib": "2.8.1"
|
|
49
|
+
},
|
|
50
|
+
"devDependencies": {
|
|
51
|
+
"@microsoft/eslint-config-spfx": "1.22.2",
|
|
52
|
+
"@microsoft/eslint-plugin-spfx": "1.22.2",
|
|
53
|
+
"@microsoft/sp-build-web": "1.22.2",
|
|
54
|
+
"@microsoft/sp-module-interfaces": "1.22.2",
|
|
55
|
+
"@microsoft/spfx-heft-plugins": "1.22.2",
|
|
56
|
+
"@microsoft/spfx-web-build-rig": "1.22.2",
|
|
57
|
+
"@rushstack/eslint-config": "4.5.2",
|
|
58
|
+
"@rushstack/heft": "1.1.2",
|
|
59
|
+
"@types/webpack": "5.28.5",
|
|
60
|
+
"@types/webpack-env": "1.18.8",
|
|
61
|
+
"@typescript-eslint/parser": "8.46.2",
|
|
62
|
+
"eslint": "8.57.1",
|
|
63
|
+
"typescript": "5.9.3"
|
|
64
|
+
},
|
|
65
|
+
"overrides": {
|
|
66
|
+
"@rushstack/heft": "1.1.2"
|
|
67
|
+
}
|
|
68
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
|
|
3
|
-
<ClientSideComponentInstance
|
|
4
|
-
Title="SpFxExtensionsCustomizer"
|
|
5
|
-
Location="ClientSideExtension.ApplicationCustomizer"
|
|
6
|
-
ComponentId="8d1029da-85e6-48cc-aaaf-37a5bbc0b9be"
|
|
7
|
-
Properties="">
|
|
8
|
-
</ClientSideComponentInstance>
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
|
|
3
|
+
<ClientSideComponentInstance
|
|
4
|
+
Title="SpFxExtensionsCustomizer"
|
|
5
|
+
Location="ClientSideExtension.ApplicationCustomizer"
|
|
6
|
+
ComponentId="8d1029da-85e6-48cc-aaaf-37a5bbc0b9be"
|
|
7
|
+
Properties="">
|
|
8
|
+
</ClientSideComponentInstance>
|
|
9
9
|
</Elements>
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
|
|
3
|
-
<CustomAction
|
|
4
|
-
Title="SpFxExtensionsCustomizer"
|
|
5
|
-
Location="ClientSideExtension.ApplicationCustomizer"
|
|
6
|
-
ClientSideComponentId="8d1029da-85e6-48cc-aaaf-37a5bbc0b9be"
|
|
7
|
-
ClientSideComponentProperties="">
|
|
8
|
-
</CustomAction>
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
|
|
3
|
+
<CustomAction
|
|
4
|
+
Title="SpFxExtensionsCustomizer"
|
|
5
|
+
Location="ClientSideExtension.ApplicationCustomizer"
|
|
6
|
+
ClientSideComponentId="8d1029da-85e6-48cc-aaaf-37a5bbc0b9be"
|
|
7
|
+
ClientSideComponentProperties="">
|
|
8
|
+
</CustomAction>
|
|
9
9
|
</Elements>
|
package/src/@types/globals.d.ts
CHANGED
|
@@ -1,15 +1,18 @@
|
|
|
1
|
-
declare const BUILD_DATE: string;
|
|
2
|
-
declare const ISDEBUG: boolean;
|
|
3
|
-
declare module "
|
|
4
|
-
const content: string;
|
|
5
|
-
export default content;
|
|
6
|
-
}
|
|
7
|
-
declare module "
|
|
8
|
-
const content: string;
|
|
9
|
-
export default content;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
1
|
+
declare const BUILD_DATE: string;
|
|
2
|
+
declare const ISDEBUG: boolean;
|
|
3
|
+
declare module "@spfx-extensions/core/spfx-extensions-core" {
|
|
4
|
+
const content: string;
|
|
5
|
+
export default content;
|
|
6
|
+
}
|
|
7
|
+
declare module "@spfx-extensions/core/spfx-extensions-coreconfigurator" {
|
|
8
|
+
const content: string;
|
|
9
|
+
export default content;
|
|
10
|
+
}
|
|
11
|
+
declare module "@spfx-extensions/core/spfx-extensions-classicwrapper" {
|
|
12
|
+
const content: string;
|
|
13
|
+
export default content;
|
|
14
|
+
}
|
|
15
|
+
declare module "@spfx-extensions/core/spfx-extensions-classiccustomaction" {
|
|
16
|
+
const content: string;
|
|
17
|
+
export default content;
|
|
15
18
|
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://developer.microsoft.com/json-schemas/spfx/client-side-extension-manifest.schema.json",
|
|
3
|
-
|
|
4
|
-
"id": "8d1029da-85e6-48cc-aaaf-37a5bbc0b9be",
|
|
5
|
-
"alias": "SpfxExtensionApplicationCustomizer",
|
|
6
|
-
"componentType": "Extension",
|
|
7
|
-
"extensionType": "ApplicationCustomizer",
|
|
8
|
-
|
|
9
|
-
// The "*" signifies that the version should be taken from the package.json
|
|
10
|
-
"version": "*",
|
|
11
|
-
"manifestVersion": 2,
|
|
12
|
-
|
|
13
|
-
// If true, the component can only be installed on sites where Custom Script is allowed.
|
|
14
|
-
// Components that allow authors to embed arbitrary script code should set this to true.
|
|
15
|
-
// https://support.office.com/en-us/article/Turn-scripting-capabilities-on-or-off-1f2c515f-5d7e-448a-9fd7-835da935584f
|
|
16
|
-
"requiresCustomScript": false
|
|
17
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://developer.microsoft.com/json-schemas/spfx/client-side-extension-manifest.schema.json",
|
|
3
|
+
|
|
4
|
+
"id": "8d1029da-85e6-48cc-aaaf-37a5bbc0b9be",
|
|
5
|
+
"alias": "SpfxExtensionApplicationCustomizer",
|
|
6
|
+
"componentType": "Extension",
|
|
7
|
+
"extensionType": "ApplicationCustomizer",
|
|
8
|
+
|
|
9
|
+
// The "*" signifies that the version should be taken from the package.json
|
|
10
|
+
"version": "*",
|
|
11
|
+
"manifestVersion": 2,
|
|
12
|
+
|
|
13
|
+
// If true, the component can only be installed on sites where Custom Script is allowed.
|
|
14
|
+
// Components that allow authors to embed arbitrary script code should set this to true.
|
|
15
|
+
// https://support.office.com/en-us/article/Turn-scripting-capabilities-on-or-off-1f2c515f-5d7e-448a-9fd7-835da935584f
|
|
16
|
+
"requiresCustomScript": false
|
|
17
|
+
}
|