@cm-sigoo-temp/ui 0.2.11 → 0.2.13
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.
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{createWriteStream as f,existsSync as p}from"node:fs";import{copyFile as
|
|
1
|
+
import{createWriteStream as f,existsSync as p}from"node:fs";import{copyFile as u,mkdir as h,stat as _}from"node:fs/promises";import{get as S}from"node:https";import{tmpdir as T}from"node:os";import{dirname as I,join as l,resolve as m}from"node:path";import{fileURLToPath as v}from"node:url";var x=v(import.meta.url),C=I(x),O=T(),M="cm-sigoo-temp-ui-temp",a=l(O,M),s=l(a,"silent-check-sso.html"),U=new URL("/silent-check-sso.html","https://cm-sigoo-temp-ui-dev.firebaseapp.com"),c=async()=>{let e=f(s);await new Promise((r,i)=>S(U,o=>{o.pipe(e),e.on("finish",()=>r(null)),e.on("error",t=>i(t))}))},n=new Date;n.setHours(0);n.setMinutes(0);n.setSeconds(0);n.setMilliseconds(0);n.setDate(n.getDate()-1);var d=e=>async r=>{if(!e||r)return;p(a)||await h(a),p(s)||await c(),(await _(s)).birthtime<=n&&c();let o=m(C,"../../../../../","dist"),t=m(o,"silent-check-sso.html");await u(s,t)};var g=(e,r)=>i=>({html:i,tags:[{tag:"meta",attrs:{charset:"UTF-8"},injectTo:"head-prepend"},{tag:"meta",attrs:{name:"viewport",content:"width=device-width, initial-scale=1.0"},injectTo:"head-prepend"},{tag:"title",children:e,injectTo:"head-prepend"},{tag:"link",attrs:{rel:"stylesheet",href:"https://fonts.googleapis.com/icon?family=Material+Icons"},injectTo:"head-prepend"},{tag:"link",attrs:{rel:"icon",type:"image/png",href:"https://cm-sigoo-temp-ui-dev.firebaseapp.com/favicon-96x96.png",sizes:"96x96"},injectTo:"head-prepend"},{tag:"link",attrs:{rel:"icon",type:"image/svg+xml",href:"https://cm-sigoo-temp-ui-dev.firebaseapp.com/favicon.svg"},injectTo:"head-prepend"},{tag:"link",attrs:{rel:"apple-touch-icon",sizes:"180x180",href:"https://cm-sigoo-temp-ui-dev.firebaseapp.com/apple-touch-icon.png"},injectTo:"head-prepend"},...r?[{tag:"script",attrs:{type:"importmap",src:"https://cm-sigoo-temp-ui-dev.firebaseapp.com/lib/importmap.json"},injectTo:"head-prepend"}]:[]]});function E(e){let{nombre:r}=typeof e=="string"?{nombre:e}:e,i=`Sigoo ${r} - Coordinadora S.A`,o;return{name:"cm-sigoo-temp-ui-app",config(t){return{...t,build:{...t.build,rollupOptions:{...t.build?.rollupOptions,external:["react","react-dom"]}}}},configResolved(t){o=t},transformIndexHtml(...t){return g(i,o.command==="build")(...t)},closeBundle(t){return d(o.command==="build")(t)}}}export{E as default};
|
|
2
2
|
//# sourceMappingURL=app.plugin.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../node/vite/app/closeBundle.ts","../../node/vite/app/transformIndexHtml.ts","../../node/vite/app/app.plugin.ts"],"sourcesContent":["import { createWriteStream, existsSync } from 'node:fs';\nimport { copyFile, mkdir, stat } from 'node:fs/promises';\nimport { get } from 'node:https';\nimport { tmpdir } from 'node:os';\nimport { dirname, join, resolve } from 'node:path';\nimport { fileURLToPath } from 'node:url';\n\nconst __filename = fileURLToPath(import.meta.url);\nconst __dirname = dirname(__filename);\n\nconst temp = tmpdir();\nconst tempDir = 'cm-sigoo-temp-ui-temp';\n\nconst rutaTemp = join(temp, tempDir);\nconst rutaSCSso = join(rutaTemp, 'silent-check-sso.html');\n\nconst urlSCSso = new URL(\n '/silent-check-sso.html',\n process.env.URL__CM_SIGOO_TEMP_UI,\n);\n\nconst downloadSCSso = async () => {\n const file = createWriteStream(rutaSCSso);\n await new Promise((resolve, reject) =>\n get(urlSCSso, (response) => {\n response.pipe(file);\n file.on('finish', () => resolve(null));\n file.on('error', (error) => reject(error));\n }),\n );\n};\n\nconst fechaComparacion = new Date();\nfechaComparacion.setHours(0);\nfechaComparacion.setMinutes(0);\nfechaComparacion.setSeconds(0);\nfechaComparacion.setMilliseconds(0);\nfechaComparacion.setDate(fechaComparacion.getDate() - 1);\n\nexport const getCloseBundle = (build: boolean) => async (error?: Error) => {\n if (!build || error) return;\n\n if (!existsSync(rutaTemp)) await mkdir(rutaTemp);\n if (!existsSync(rutaSCSso)) await downloadSCSso();\n\n const tempSCSsoStat = await stat(rutaSCSso);\n if (tempSCSsoStat.birthtime <= fechaComparacion) downloadSCSso();\n\n const rutaDist = resolve(__dirname, '../../../../../', 'dist');\n const rutaDistSCSso = resolve(rutaDist, 'silent-check-sso.html');\n\n await copyFile(rutaSCSso, rutaDistSCSso);\n};\n","import { HtmlTagDescriptor, IndexHtmlTransformHook } from 'vite';\n\nexport const getTransformIndexHtml =\n (titulo: string, build: boolean): IndexHtmlTransformHook =>\n (html) => {\n const importmapScriptTag: HtmlTagDescriptor = {\n tag: 'script',\n attrs: {\n type: 'importmap',\n src: `${process.env.URL__CM_SIGOO_TEMP_UI}/lib/importmap.json`,\n },\n injectTo: 'head-prepend',\n };\n\n return {\n html,\n tags: [\n {\n tag: 'meta',\n attrs: {\n charset: 'UTF-8',\n },\n injectTo: 'head-prepend',\n },\n {\n tag: 'meta',\n attrs: {\n name: 'viewport',\n content: 'width=device-width, initial-scale=1.0',\n },\n injectTo: 'head-prepend',\n },\n {\n tag: 'title',\n children: titulo,\n injectTo: 'head-prepend',\n },\n {\n tag: 'link',\n attrs: {\n rel: 'stylesheet',\n href: 'https://fonts.googleapis.com/icon?family=Material+Icons',\n },\n injectTo: 'head-prepend',\n },\n {\n tag: 'link',\n attrs: {\n rel: 'icon',\n type: 'image/png',\n href: `${process.env.URL__CM_SIGOO_TEMP_UI}/favicon-96x96.png`,\n sizes: '96x96',\n },\n injectTo: 'head-prepend',\n },\n {\n tag: 'link',\n attrs: {\n rel: 'icon',\n type: 'image/svg+xml',\n href: `${process.env.URL__CM_SIGOO_TEMP_UI}/favicon.svg`,\n },\n injectTo: 'head-prepend',\n },\n {\n tag: 'link',\n attrs: {\n rel: 'apple-touch-icon',\n sizes: '180x180',\n href: `${process.env.URL__CM_SIGOO_TEMP_UI}/apple-touch-icon.png`,\n },\n injectTo: 'head-prepend',\n },\n ...(build ? [importmapScriptTag] : []),\n ],\n };\n };\n","import { Plugin, ResolvedConfig } from 'vite';\nimport { getCloseBundle } from './closeBundle.ts';\nimport { getTransformIndexHtml } from './transformIndexHtml.ts';\n\nexport type ViteAppPluginOptions =\n | {\n nombre: string;\n }\n | string;\n\nexport default function (options: ViteAppPluginOptions): Plugin {\n const { nombre } =\n typeof options === 'string' ? { nombre: options } : options;\n\n const titulo = `Sigoo ${nombre} - Coordinadora S.A`;\n\n let config: ResolvedConfig;\n\n return {\n name: 'cm-sigoo-temp-ui-app',\n\n configResolved(resolvedConfig) {\n config = resolvedConfig;\n },\n\n transformIndexHtml(...args) {\n return getTransformIndexHtml(titulo, config.command === 'build')(...args);\n },\n\n closeBundle(error) {\n return getCloseBundle(config.command === 'build')(error);\n },\n };\n}\n"],"mappings":"AAAA,OAAS,qBAAAA,EAAmB,cAAAC,MAAkB,UAC9C,OAAS,YAAAC,EAAU,SAAAC,EAAO,QAAAC,MAAY,mBACtC,OAAS,OAAAC,MAAW,aACpB,OAAS,UAAAC,MAAc,UACvB,OAAS,WAAAC,EAAS,QAAAC,EAAM,WAAAC,MAAe,YACvC,OAAS,iBAAAC,MAAqB,WAE9B,IAAMC,EAAaD,EAAc,YAAY,GAAG,EAC1CE,EAAYL,EAAQI,CAAU,EAE9BE,EAAOP,EAAO,EACdQ,EAAU,wBAEVC,EAAWP,EAAKK,EAAMC,CAAO,EAC7BE,EAAYR,EAAKO,EAAU,uBAAuB,EAElDE,EAAW,IAAI,IACnB,yBACA,8CACF,EAEMC,EAAgB,SAAY,CAChC,IAAMC,EAAOnB,EAAkBgB,CAAS,EACxC,MAAM,IAAI,QAAQ,CAACP,EAASW,IAC1Bf,EAAIY,EAAWI,GAAa,CAC1BA,EAAS,KAAKF,CAAI,EAClBA,EAAK,GAAG,SA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AAQ,CApE8B,CAC5C,IAAK,SACL,MAAO,CACL,KAAM,YACN,IAAK,iEACP,EACA,SAAU,cACZ,CA6DmC,EAAI,CAAC,CACtC,CACF,GCjEW,SAARE,EAAkBC,EAAuC,CAC9D,GAAM,CAAE,OAAAC,CAAO,EACb,OAAOD,GAAY,SAAW,CAAE,OAAQA,CAAQ,EAAIA,EAEhDE,EAAS,SAASD,CAAM,sBAE1BE,EAEJ,MAAO,CACL,KAAM,uBAEN,eAAeC,EAAgB,
|
|
1
|
+
{"version":3,"sources":["../../node/vite/app/closeBundle.ts","../../node/vite/app/transformIndexHtml.ts","../../node/vite/app/app.plugin.ts"],"sourcesContent":["import { createWriteStream, existsSync } from 'node:fs';\nimport { copyFile, mkdir, stat } from 'node:fs/promises';\nimport { get } from 'node:https';\nimport { tmpdir } from 'node:os';\nimport { dirname, join, resolve } from 'node:path';\nimport { fileURLToPath } from 'node:url';\n\nconst __filename = fileURLToPath(import.meta.url);\nconst __dirname = dirname(__filename);\n\nconst temp = tmpdir();\nconst tempDir = 'cm-sigoo-temp-ui-temp';\n\nconst rutaTemp = join(temp, tempDir);\nconst rutaSCSso = join(rutaTemp, 'silent-check-sso.html');\n\nconst urlSCSso = new URL(\n '/silent-check-sso.html',\n process.env.URL__CM_SIGOO_TEMP_UI,\n);\n\nconst downloadSCSso = async () => {\n const file = createWriteStream(rutaSCSso);\n await new Promise((resolve, reject) =>\n get(urlSCSso, (response) => {\n response.pipe(file);\n file.on('finish', () => resolve(null));\n file.on('error', (error) => reject(error));\n }),\n );\n};\n\nconst fechaComparacion = new Date();\nfechaComparacion.setHours(0);\nfechaComparacion.setMinutes(0);\nfechaComparacion.setSeconds(0);\nfechaComparacion.setMilliseconds(0);\nfechaComparacion.setDate(fechaComparacion.getDate() - 1);\n\nexport const getCloseBundle = (build: boolean) => async (error?: Error) => {\n if (!build || error) return;\n\n if (!existsSync(rutaTemp)) await mkdir(rutaTemp);\n if (!existsSync(rutaSCSso)) await downloadSCSso();\n\n const tempSCSsoStat = await stat(rutaSCSso);\n if (tempSCSsoStat.birthtime <= fechaComparacion) downloadSCSso();\n\n const rutaDist = resolve(__dirname, '../../../../../', 'dist');\n const rutaDistSCSso = resolve(rutaDist, 'silent-check-sso.html');\n\n await copyFile(rutaSCSso, rutaDistSCSso);\n};\n","import { HtmlTagDescriptor, IndexHtmlTransformHook } from 'vite';\n\nexport const getTransformIndexHtml =\n (titulo: string, build: boolean): IndexHtmlTransformHook =>\n (html) => {\n const importmapScriptTag: HtmlTagDescriptor = {\n tag: 'script',\n attrs: {\n type: 'importmap',\n src: `${process.env.URL__CM_SIGOO_TEMP_UI}/lib/importmap.json`,\n },\n injectTo: 'head-prepend',\n };\n\n return {\n html,\n tags: [\n {\n tag: 'meta',\n attrs: {\n charset: 'UTF-8',\n },\n injectTo: 'head-prepend',\n },\n {\n tag: 'meta',\n attrs: {\n name: 'viewport',\n content: 'width=device-width, initial-scale=1.0',\n },\n injectTo: 'head-prepend',\n },\n {\n tag: 'title',\n children: titulo,\n injectTo: 'head-prepend',\n },\n {\n tag: 'link',\n attrs: {\n rel: 'stylesheet',\n href: 'https://fonts.googleapis.com/icon?family=Material+Icons',\n },\n injectTo: 'head-prepend',\n },\n {\n tag: 'link',\n attrs: {\n rel: 'icon',\n type: 'image/png',\n href: `${process.env.URL__CM_SIGOO_TEMP_UI}/favicon-96x96.png`,\n sizes: '96x96',\n },\n injectTo: 'head-prepend',\n },\n {\n tag: 'link',\n attrs: {\n rel: 'icon',\n type: 'image/svg+xml',\n href: `${process.env.URL__CM_SIGOO_TEMP_UI}/favicon.svg`,\n },\n injectTo: 'head-prepend',\n },\n {\n tag: 'link',\n attrs: {\n rel: 'apple-touch-icon',\n sizes: '180x180',\n href: `${process.env.URL__CM_SIGOO_TEMP_UI}/apple-touch-icon.png`,\n },\n injectTo: 'head-prepend',\n },\n ...(build ? [importmapScriptTag] : []),\n ],\n };\n };\n","import { Plugin, ResolvedConfig } from 'vite';\nimport { getCloseBundle } from './closeBundle.ts';\nimport { getTransformIndexHtml } from './transformIndexHtml.ts';\n\nexport type ViteAppPluginOptions =\n | {\n nombre: string;\n }\n | string;\n\nexport default function (options: ViteAppPluginOptions): Plugin {\n const { nombre } =\n typeof options === 'string' ? { nombre: options } : options;\n\n const titulo = `Sigoo ${nombre} - Coordinadora S.A`;\n\n let config: ResolvedConfig;\n\n return {\n name: 'cm-sigoo-temp-ui-app',\n\n config(userConfig) {\n return {\n ...userConfig,\n build: {\n ...userConfig.build,\n rollupOptions: {\n ...userConfig.build?.rollupOptions,\n external: ['react', 'react-dom'],\n },\n },\n };\n },\n\n configResolved(resolvedConfig) {\n config = resolvedConfig;\n },\n\n transformIndexHtml(...args) {\n return getTransformIndexHtml(titulo, config.command === 'build')(...args);\n },\n\n closeBundle(error) {\n return getCloseBundle(config.command === 'build')(error);\n },\n };\n}\n"],"mappings":"AAAA,OAAS,qBAAAA,EAAmB,cAAAC,MAAkB,UAC9C,OAAS,YAAAC,EAAU,SAAAC,EAAO,QAAAC,MAAY,mBACtC,OAAS,OAAAC,MAAW,aACpB,OAAS,UAAAC,MAAc,UACvB,OAAS,WAAAC,EAAS,QAAAC,EAAM,WAAAC,MAAe,YACvC,OAAS,iBAAAC,MAAqB,WAE9B,IAAMC,EAAaD,EAAc,YAAY,GAAG,EAC1CE,EAAYL,EAAQI,CAAU,EAE9BE,EAAOP,EAAO,EACdQ,EAAU,wBAEVC,EAAWP,EAAKK,EAAMC,CAAO,EAC7BE,EAAYR,EAAKO,EAAU,uBAAuB,EAElDE,EAAW,IAAI,IACnB,yBACA,8CACF,EAEMC,EAAgB,SAAY,CAChC,IAAMC,EAAOnB,EAAkBgB,CAAS,EACxC,MAAM,IAAI,QAAQ,CAACP,EAASW,IAC1Bf,EAAIY,EAAWI,GAAa,CAC1BA,EAAS,KAAKF,CAAI,EAClBA,EAAK,GAAG,SAAU,IAAMV,EAAQ,IAAI,CAAC,EACrCU,EAAK,GAAG,QAAUG,GAAUF,EAAOE,CAAK,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ACZ,CA6DmC,EAAI,CAAC,CACtC,CACF,GCjEW,SAARE,EAAkBC,EAAuC,CAC9D,GAAM,CAAE,OAAAC,CAAO,EACb,OAAOD,GAAY,SAAW,CAAE,OAAQA,CAAQ,EAAIA,EAEhDE,EAAS,SAASD,CAAM,sBAE1BE,EAEJ,MAAO,CACL,KAAM,uBAEN,OAAOC,EAAY,CACjB,MAAO,CACL,GAAGA,EACH,MAAO,CACL,GAAGA,EAAW,MACd,cAAe,CACb,GAAGA,EAAW,OAAO,cACrB,SAAU,CAAC,QAAS,WAAW,CACjC,CACF,CACF,CACF,EAEA,eAAeC,EAAgB,CAC7BF,EAASE,CACX,EAEA,sBAAsBC,EAAM,CAC1B,OAAOC,EAAsBL,EAAQC,EAAO,UAAY,OAAO,EAAE,GAAGG,CAAI,CAC1E,EAEA,YAAYE,EAAO,CACjB,OAAOC,EAAeN,EAAO,UAAY,OAAO,EAAEK,CAAK,CACzD,CACF,CACF","names":["createWriteStream","existsSync","copyFile","mkdir","stat","get","tmpdir","dirname","join","resolve","fileURLToPath","__filename","__dirname","temp","tempDir","rutaTemp","rutaSCSso","urlSCSso","downloadSCSso","file","reject","response","error","fechaComparacion","getCloseBundle","build","rutaDist","rutaDistSCSso","getTransformIndexHtml","titulo","build","html","app_plugin_default","options","nombre","titulo","config","userConfig","resolvedConfig","args","getTransformIndexHtml","error","getCloseBundle"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cm-sigoo-temp/ui",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.13",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/lib/cm-sigoo-temp-ui.js",
|
|
6
6
|
"types": "dist/lib/lib.d.ts",
|
|
@@ -40,9 +40,8 @@
|
|
|
40
40
|
"@mui/x-date-pickers": "^7.28.3",
|
|
41
41
|
"jose": "^6.0.10",
|
|
42
42
|
"keycloak-js": "26.1.5",
|
|
43
|
-
"react": "
|
|
44
|
-
"react-dom": "
|
|
45
|
-
"react-router": "^7.5.0",
|
|
43
|
+
"react": "latest",
|
|
44
|
+
"react-dom": "latest",
|
|
46
45
|
"vite": "^6.3.4",
|
|
47
46
|
"zustand": "^5.0.3"
|
|
48
47
|
},
|
|
@@ -65,7 +64,6 @@
|
|
|
65
64
|
"@vitest/browser": "^3.1.1",
|
|
66
65
|
"@vitest/coverage-v8": "^3.1.1",
|
|
67
66
|
"dotenv": "^16.5.0",
|
|
68
|
-
"esbuild-plugin-d.ts": "^1.3.1",
|
|
69
67
|
"eslint": "^9.21.0",
|
|
70
68
|
"eslint-config-prettier": "^10.1.2",
|
|
71
69
|
"eslint-plugin-prettier": "^5.2.6",
|
|
@@ -105,4 +103,4 @@
|
|
|
105
103
|
"engines": {
|
|
106
104
|
"node": "^22.9.0"
|
|
107
105
|
}
|
|
108
|
-
}
|
|
106
|
+
}
|