plxdcma_rendericon_blocksofa 1.0.4
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/Captura de pantalla 2025-12-28 a la(s) 5.43.09/342/200/257p./302/240m..png +0 -0
- package/css.css +40 -0
- package/init.js +34 -0
- package/js.js +42 -0
- package/package.json +6 -0
- package/yarn-error.log +41 -0
|
Binary file
|
package/css.css
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
.archive-grid {
|
|
2
|
+
display: grid;
|
|
3
|
+
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
|
4
|
+
gap: 2rem;
|
|
5
|
+
margin-top: 2rem;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
.archive-month {
|
|
10
|
+
background: var(--white);
|
|
11
|
+
padding: 1.5rem;
|
|
12
|
+
border-radius: 8px;
|
|
13
|
+
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.archive-month h4 {
|
|
17
|
+
font-size: 1.125rem;
|
|
18
|
+
font-weight: 600;
|
|
19
|
+
color: var(--text-dark);
|
|
20
|
+
margin-bottom: 1rem;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.archive-month ul {
|
|
24
|
+
list-style: none;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.archive-month li {
|
|
28
|
+
margin-bottom: 0.5rem;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.archive-month a {
|
|
32
|
+
color: var(--text-light);
|
|
33
|
+
text-decoration: none;
|
|
34
|
+
font-size: 0.875rem;
|
|
35
|
+
transition: color 0.3s ease;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.archive-month a:hover {
|
|
39
|
+
color: var(--primary-color);
|
|
40
|
+
}
|
package/init.js
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
var plxdcma_standarinit=require(`plxdcma_standarinit`)
|
|
2
|
+
var fs=require(`fs`)
|
|
3
|
+
var path=require(`path`)
|
|
4
|
+
var myux=require(`plxdcma_myux`)
|
|
5
|
+
var plxdcma_iconrendererprotocol=require(`plxdcma_iconrendererprotocol`)
|
|
6
|
+
module.exports.use=function(req){
|
|
7
|
+
if(req.__myAppInternals.blocksofa == null){
|
|
8
|
+
myux.use(req)
|
|
9
|
+
plxdcma_iconrendererprotocol.use(req)
|
|
10
|
+
req.__myAppInternals.blocksofa=true
|
|
11
|
+
if(req.__myAppInternals.paths == null){
|
|
12
|
+
req.__myAppInternals.paths=[]
|
|
13
|
+
}
|
|
14
|
+
req.__myAppInternals.paths.push(`<script src="/myux/icons/blocksofa_Icon.js"></script>`)
|
|
15
|
+
req.__myAppInternals.paths.push(`<link rel="stylesheet" href="/myux/icons/blocksofa_Icon.css">`)
|
|
16
|
+
if(req.__myAppInternals.modals == null){
|
|
17
|
+
req.__myAppInternals.modals=[]
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
plxdcma_standarinit.use(function(app){
|
|
22
|
+
app.get(`/myux/icons/blocksofa_Icon.js`,function(req,res){
|
|
23
|
+
fs.readFile(path.join(__dirname,"js.js"),"utf8",function(err,html){
|
|
24
|
+
res.write(html)
|
|
25
|
+
res.end()
|
|
26
|
+
})
|
|
27
|
+
})
|
|
28
|
+
app.get(`/myux/icons/blocksofa_Icon.css`,function(req,res){
|
|
29
|
+
fs.readFile(path.join(__dirname,"css.css"),"utf8",function(err,html){
|
|
30
|
+
res.write(html)
|
|
31
|
+
res.end()
|
|
32
|
+
})
|
|
33
|
+
})
|
|
34
|
+
})
|
package/js.js
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
function blocksOfLineCardAssignData(strct,target){
|
|
4
|
+
console.log(`videoCardAssignData`)
|
|
5
|
+
console.log(target)
|
|
6
|
+
console.log(`resourceselected`)
|
|
7
|
+
console.log(resourceselected)
|
|
8
|
+
var resourceselected=strct.data
|
|
9
|
+
var tags=strct.tags
|
|
10
|
+
target.style.padding=0
|
|
11
|
+
var ifrm=target.getElementsByClassName(`daiframe`)
|
|
12
|
+
if(ifrm != null && ifrm.length > 0 ){
|
|
13
|
+
console.log(`da url selected ${resourceselected.url}`)
|
|
14
|
+
ifrm[0].src=resourceselected.httplink ?? resourceselected.url
|
|
15
|
+
}
|
|
16
|
+
var daed2=target.getElementsByClassName(`daed2`)
|
|
17
|
+
daed2[0].style.opacity=1
|
|
18
|
+
target.tags=tags
|
|
19
|
+
|
|
20
|
+
}
|
|
21
|
+
function blocksOfLineicon(data,isediting,section){
|
|
22
|
+
console.log(`videocardicon-videocardicon-videocardicon`)
|
|
23
|
+
console.log(data)
|
|
24
|
+
if(isediting){
|
|
25
|
+
if(data == null){
|
|
26
|
+
return `
|
|
27
|
+
<div onclick='didRequestToAddAnIcon(${section})' class="archive-month">
|
|
28
|
+
<br/><br/><br/>
|
|
29
|
+
<h1 style="text-align:center"><i class='fa fa-plus'></i></h1>
|
|
30
|
+
</div>
|
|
31
|
+
`
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
return `<div class="archive-month">
|
|
35
|
+
<h4>Diciembre 2024</h4>
|
|
36
|
+
<ul>
|
|
37
|
+
<li><a href="#">Resumen de la temporada regular (15 artículos)</a></li>
|
|
38
|
+
<li><a href="#">Playoffs y eliminatorias (8 artículos)</a></li>
|
|
39
|
+
<li><a href="#">Transferencias de invierno (12 artículos)</a></li>
|
|
40
|
+
</ul>
|
|
41
|
+
</div>`
|
|
42
|
+
}
|
package/package.json
ADDED
package/yarn-error.log
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
Arguments:
|
|
2
|
+
/usr/local/bin/node /usr/local/bin/yarn publish
|
|
3
|
+
|
|
4
|
+
PATH:
|
|
5
|
+
/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin
|
|
6
|
+
|
|
7
|
+
Yarn version:
|
|
8
|
+
1.22.19
|
|
9
|
+
|
|
10
|
+
Node version:
|
|
11
|
+
18.17.0
|
|
12
|
+
|
|
13
|
+
Platform:
|
|
14
|
+
darwin arm64
|
|
15
|
+
|
|
16
|
+
Trace:
|
|
17
|
+
Error: plxdcma_standarinit/-/user/org.couchdb.user:pedroalejandro: Invalid URI "plxdcma_standarinit/-/user/org.couchdb.user:pedroalejandro"
|
|
18
|
+
at module.exports.Request.init (/usr/local/lib/node_modules/yarn/lib/cli.js:140978:31)
|
|
19
|
+
at new Request (/usr/local/lib/node_modules/yarn/lib/cli.js:140832:8)
|
|
20
|
+
at request (/usr/local/lib/node_modules/yarn/lib/cli.js:137738:10)
|
|
21
|
+
at RequestManager.execute (/usr/local/lib/node_modules/yarn/lib/cli.js:66197:15)
|
|
22
|
+
at RequestManager.shiftQueue (/usr/local/lib/node_modules/yarn/lib/cli.js:66235:10)
|
|
23
|
+
at /usr/local/lib/node_modules/yarn/lib/cli.js:65905:13
|
|
24
|
+
at new Promise (<anonymous>)
|
|
25
|
+
at new F (/usr/local/lib/node_modules/yarn/lib/cli.js:5305:28)
|
|
26
|
+
at RequestManager.request (/usr/local/lib/node_modules/yarn/lib/cli.js:65903:19)
|
|
27
|
+
at NpmRegistry.<anonymous> (/usr/local/lib/node_modules/yarn/lib/cli.js:31751:42)
|
|
28
|
+
|
|
29
|
+
npm manifest:
|
|
30
|
+
{
|
|
31
|
+
"name": "plxdcma_rendericon_blocksofa",
|
|
32
|
+
"version": "1.0.1",
|
|
33
|
+
"main": "init.js",
|
|
34
|
+
"license": "MIT"
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
yarn manifest:
|
|
38
|
+
No manifest
|
|
39
|
+
|
|
40
|
+
Lockfile:
|
|
41
|
+
No lockfile
|