fix(core): update
This commit is contained in:
		
							
								
								
									
										66
									
								
								.gitea/workflows/default_nottags.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										66
									
								
								.gitea/workflows/default_nottags.yaml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,66 @@
 | 
				
			|||||||
 | 
					name: Default (not tags)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					on:
 | 
				
			||||||
 | 
					  push:
 | 
				
			||||||
 | 
					    tags-ignore:
 | 
				
			||||||
 | 
					      - '**'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					env:
 | 
				
			||||||
 | 
					  IMAGE: registry.gitlab.com/hosttoday/ht-docker-node:npmci
 | 
				
			||||||
 | 
					  NPMCI_COMPUTED_REPOURL: https://${{gitea.repository_owner}}:${{secrets.GITEA_TOKEN}}@gitea.lossless.digital/${{gitea.repository}}.git
 | 
				
			||||||
 | 
					  NPMCI_TOKEN_NPM: ${{secrets.NPMCI_TOKEN_NPM}}
 | 
				
			||||||
 | 
					  NPMCI_TOKEN_NPM2: ${{secrets.NPMCI_TOKEN_NPM2}}
 | 
				
			||||||
 | 
					  NPMCI_GIT_GITHUBTOKEN: ${{secrets.NPMCI_GIT_GITHUBTOKEN}}
 | 
				
			||||||
 | 
					  NPMCI_URL_CLOUDLY: ${{secrets.NPMCI_URL_CLOUDLY}}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					jobs:
 | 
				
			||||||
 | 
					  security:
 | 
				
			||||||
 | 
					    runs-on: ubuntu-latest
 | 
				
			||||||
 | 
					    continue-on-error: true
 | 
				
			||||||
 | 
					    container:
 | 
				
			||||||
 | 
					      image: ${{ env.IMAGE }}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    steps:
 | 
				
			||||||
 | 
					      - uses: actions/checkout@v3
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      - name: Install pnpm and npmci
 | 
				
			||||||
 | 
					        run: |
 | 
				
			||||||
 | 
					          pnpm install -g pnpm
 | 
				
			||||||
 | 
					          pnpm install -g @shipzone/npmci
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      - name: Run npm prepare
 | 
				
			||||||
 | 
					        run: npmci npm prepare
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      - name: Audit production dependencies
 | 
				
			||||||
 | 
					        run: |
 | 
				
			||||||
 | 
					          npmci command npm config set registry https://registry.npmjs.org
 | 
				
			||||||
 | 
					          npmci command pnpm audit --audit-level=high --prod
 | 
				
			||||||
 | 
					        continue-on-error: true
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      - name: Audit development dependencies
 | 
				
			||||||
 | 
					        run: |
 | 
				
			||||||
 | 
					          npmci command npm config set registry https://registry.npmjs.org
 | 
				
			||||||
 | 
					          npmci command pnpm audit --audit-level=high --dev
 | 
				
			||||||
 | 
					        continue-on-error: true
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  test:
 | 
				
			||||||
 | 
					    if: ${{ always() }}
 | 
				
			||||||
 | 
					    needs: security
 | 
				
			||||||
 | 
					    runs-on: ubuntu-latest
 | 
				
			||||||
 | 
					    container:
 | 
				
			||||||
 | 
					      image: ${{ env.IMAGE }}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    steps:
 | 
				
			||||||
 | 
					      - uses: actions/checkout@v3
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      - name: Test stable
 | 
				
			||||||
 | 
					        run: |
 | 
				
			||||||
 | 
					          npmci node install stable
 | 
				
			||||||
 | 
					          npmci npm install
 | 
				
			||||||
 | 
					          npmci npm test
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      - name: Test build
 | 
				
			||||||
 | 
					        run: |
 | 
				
			||||||
 | 
					          npmci node install stable
 | 
				
			||||||
 | 
					          npmci npm install
 | 
				
			||||||
 | 
					          npmci npm build
 | 
				
			||||||
							
								
								
									
										124
									
								
								.gitea/workflows/default_tags.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										124
									
								
								.gitea/workflows/default_tags.yaml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,124 @@
 | 
				
			|||||||
 | 
					name: Default (tags)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					on:
 | 
				
			||||||
 | 
					  push:
 | 
				
			||||||
 | 
					    tags:
 | 
				
			||||||
 | 
					      - '*'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					env:
 | 
				
			||||||
 | 
					  IMAGE: registry.gitlab.com/hosttoday/ht-docker-node:npmci
 | 
				
			||||||
 | 
					  NPMCI_COMPUTED_REPOURL: https://${{gitea.repository_owner}}:${{secrets.GITEA_TOKEN}}@gitea.lossless.digital/${{gitea.repository}}.git
 | 
				
			||||||
 | 
					  NPMCI_TOKEN_NPM: ${{secrets.NPMCI_TOKEN_NPM}}
 | 
				
			||||||
 | 
					  NPMCI_TOKEN_NPM2: ${{secrets.NPMCI_TOKEN_NPM2}}
 | 
				
			||||||
 | 
					  NPMCI_GIT_GITHUBTOKEN: ${{secrets.NPMCI_GIT_GITHUBTOKEN}}
 | 
				
			||||||
 | 
					  NPMCI_URL_CLOUDLY: ${{secrets.NPMCI_URL_CLOUDLY}}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					jobs:
 | 
				
			||||||
 | 
					  security:
 | 
				
			||||||
 | 
					    runs-on: ubuntu-latest
 | 
				
			||||||
 | 
					    continue-on-error: true
 | 
				
			||||||
 | 
					    container:
 | 
				
			||||||
 | 
					      image: ${{ env.IMAGE }}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    steps:
 | 
				
			||||||
 | 
					      - uses: actions/checkout@v3
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      - name: Prepare
 | 
				
			||||||
 | 
					        run: |
 | 
				
			||||||
 | 
					          pnpm install -g pnpm
 | 
				
			||||||
 | 
					          pnpm install -g @shipzone/npmci
 | 
				
			||||||
 | 
					          npmci npm prepare
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      - name: Audit production dependencies
 | 
				
			||||||
 | 
					        run: |
 | 
				
			||||||
 | 
					          npmci command npm config set registry https://registry.npmjs.org
 | 
				
			||||||
 | 
					          npmci command pnpm audit --audit-level=high --prod
 | 
				
			||||||
 | 
					        continue-on-error: true
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      - name: Audit development dependencies
 | 
				
			||||||
 | 
					        run: |
 | 
				
			||||||
 | 
					          npmci command npm config set registry https://registry.npmjs.org
 | 
				
			||||||
 | 
					          npmci command pnpm audit --audit-level=high --dev
 | 
				
			||||||
 | 
					        continue-on-error: true
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  test:
 | 
				
			||||||
 | 
					    if: ${{ always() }}
 | 
				
			||||||
 | 
					    needs: security
 | 
				
			||||||
 | 
					    runs-on: ubuntu-latest
 | 
				
			||||||
 | 
					    container:
 | 
				
			||||||
 | 
					      image: ${{ env.IMAGE }}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    steps:
 | 
				
			||||||
 | 
					      - uses: actions/checkout@v3
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      - name: Prepare
 | 
				
			||||||
 | 
					        run: |
 | 
				
			||||||
 | 
					          pnpm install -g pnpm
 | 
				
			||||||
 | 
					          pnpm install -g @shipzone/npmci
 | 
				
			||||||
 | 
					          npmci npm prepare
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      - name: Test stable
 | 
				
			||||||
 | 
					        run: |
 | 
				
			||||||
 | 
					          npmci node install stable
 | 
				
			||||||
 | 
					          npmci npm install
 | 
				
			||||||
 | 
					          npmci npm test
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      - name: Test build
 | 
				
			||||||
 | 
					        run: |
 | 
				
			||||||
 | 
					          npmci node install stable
 | 
				
			||||||
 | 
					          npmci npm install
 | 
				
			||||||
 | 
					          npmci npm build
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  release:
 | 
				
			||||||
 | 
					    needs: test
 | 
				
			||||||
 | 
					    if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
 | 
				
			||||||
 | 
					    runs-on: ubuntu-latest
 | 
				
			||||||
 | 
					    container:
 | 
				
			||||||
 | 
					      image: ${{ env.IMAGE }}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    steps:
 | 
				
			||||||
 | 
					      - uses: actions/checkout@v3
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      - name: Prepare
 | 
				
			||||||
 | 
					        run: |
 | 
				
			||||||
 | 
					          pnpm install -g pnpm
 | 
				
			||||||
 | 
					          pnpm install -g @shipzone/npmci
 | 
				
			||||||
 | 
					          npmci npm prepare
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      - name: Release
 | 
				
			||||||
 | 
					        run: |
 | 
				
			||||||
 | 
					          npmci node install stable
 | 
				
			||||||
 | 
					          npmci npm publish
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  metadata:
 | 
				
			||||||
 | 
					    needs: test
 | 
				
			||||||
 | 
					    if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
 | 
				
			||||||
 | 
					    runs-on: ubuntu-latest
 | 
				
			||||||
 | 
					    container:
 | 
				
			||||||
 | 
					      image: ${{ env.IMAGE }}
 | 
				
			||||||
 | 
					    continue-on-error: true
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    steps:
 | 
				
			||||||
 | 
					      - uses: actions/checkout@v3
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      - name: Prepare
 | 
				
			||||||
 | 
					        run: |
 | 
				
			||||||
 | 
					          pnpm install -g pnpm
 | 
				
			||||||
 | 
					          pnpm install -g @shipzone/npmci
 | 
				
			||||||
 | 
					          npmci npm prepare
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      - name: Code quality
 | 
				
			||||||
 | 
					        run: |
 | 
				
			||||||
 | 
					          npmci command npm install -g typescript
 | 
				
			||||||
 | 
					          npmci npm install
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      - name: Trigger
 | 
				
			||||||
 | 
					        run: npmci trigger
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      - name: Build docs and upload artifacts
 | 
				
			||||||
 | 
					        run: |
 | 
				
			||||||
 | 
					          npmci node install stable
 | 
				
			||||||
 | 
					          npmci npm install
 | 
				
			||||||
 | 
					          pnpm install -g @git.zone/tsdoc
 | 
				
			||||||
 | 
					          npmci command tsdoc
 | 
				
			||||||
 | 
					        continue-on-error: true
 | 
				
			||||||
							
								
								
									
										20
									
								
								.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,20 @@
 | 
				
			|||||||
 | 
					.nogit/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# artifacts
 | 
				
			||||||
 | 
					coverage/
 | 
				
			||||||
 | 
					public/
 | 
				
			||||||
 | 
					pages/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# installs
 | 
				
			||||||
 | 
					node_modules/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# caches
 | 
				
			||||||
 | 
					.yarn/
 | 
				
			||||||
 | 
					.cache/
 | 
				
			||||||
 | 
					.rpt2_cache
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# builds
 | 
				
			||||||
 | 
					dist/
 | 
				
			||||||
 | 
					dist_*/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# custom
 | 
				
			||||||
							
								
								
									
										11
									
								
								.vscode/launch.json
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								.vscode/launch.json
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,11 @@
 | 
				
			|||||||
 | 
					{
 | 
				
			||||||
 | 
					  "version": "0.2.0",
 | 
				
			||||||
 | 
					  "configurations": [
 | 
				
			||||||
 | 
					    {
 | 
				
			||||||
 | 
					      "command": "npm test",
 | 
				
			||||||
 | 
					      "name": "Run npm test",
 | 
				
			||||||
 | 
					      "request": "launch",
 | 
				
			||||||
 | 
					      "type": "node-terminal"
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					  ]
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										26
									
								
								.vscode/settings.json
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										26
									
								
								.vscode/settings.json
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,26 @@
 | 
				
			|||||||
 | 
					{
 | 
				
			||||||
 | 
					  "json.schemas": [
 | 
				
			||||||
 | 
					    {
 | 
				
			||||||
 | 
					      "fileMatch": ["/npmextra.json"],
 | 
				
			||||||
 | 
					      "schema": {
 | 
				
			||||||
 | 
					        "type": "object",
 | 
				
			||||||
 | 
					        "properties": {
 | 
				
			||||||
 | 
					          "npmci": {
 | 
				
			||||||
 | 
					            "type": "object",
 | 
				
			||||||
 | 
					            "description": "settings for npmci"
 | 
				
			||||||
 | 
					          },
 | 
				
			||||||
 | 
					          "gitzone": {
 | 
				
			||||||
 | 
					            "type": "object",
 | 
				
			||||||
 | 
					            "description": "settings for gitzone",
 | 
				
			||||||
 | 
					            "properties": {
 | 
				
			||||||
 | 
					              "projectType": {
 | 
				
			||||||
 | 
					                "type": "string",
 | 
				
			||||||
 | 
					                "enum": ["website", "element", "service", "npm", "wcc"]
 | 
				
			||||||
 | 
					              }
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					          }
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					  ]
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										28
									
								
								html/index.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										28
									
								
								html/index.html
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,28 @@
 | 
				
			|||||||
 | 
					<!--gitzone element-->
 | 
				
			||||||
 | 
					<!-- made by Task Venture Capital GmbH -->
 | 
				
			||||||
 | 
					<!-- checkout https://maintainedby.lossless.com for awesome OpenSource projects -->
 | 
				
			||||||
 | 
					<html lang="en">
 | 
				
			||||||
 | 
					  <head>
 | 
				
			||||||
 | 
					    <!--Lets set some basic meta tags-->
 | 
				
			||||||
 | 
					    <meta
 | 
				
			||||||
 | 
					      name="viewport"
 | 
				
			||||||
 | 
					      content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height"
 | 
				
			||||||
 | 
					    />
 | 
				
			||||||
 | 
					    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    <!--Lets load standard fonts-->
 | 
				
			||||||
 | 
					    <link rel="preconnect" href="https://assetbroker.lossless.one/" crossorigin>
 | 
				
			||||||
 | 
					    <link rel="stylesheet" href="https://assetbroker.lossless.one/fonts/fonts.css">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    <style>
 | 
				
			||||||
 | 
					      body {
 | 
				
			||||||
 | 
					        margin: 0px;
 | 
				
			||||||
 | 
					        background: #222222;
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
 | 
					    </style>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    <script type="module" src="/bundle.js"></script>
 | 
				
			||||||
 | 
					  </head>
 | 
				
			||||||
 | 
					  <body>
 | 
				
			||||||
 | 
					  </body>
 | 
				
			||||||
 | 
					</html>
 | 
				
			||||||
							
								
								
									
										10
									
								
								html/index.ts
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								html/index.ts
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,10 @@
 | 
				
			|||||||
 | 
					// dees tools
 | 
				
			||||||
 | 
					import * as deesWccTools from '@designestate/dees-wcctools';
 | 
				
			||||||
 | 
					import * as deesDomTools from '@designestate/dees-domtools';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// elements and pages
 | 
				
			||||||
 | 
					import * as elements from '../ts_web/elements/index.js';
 | 
				
			||||||
 | 
					import * as pages from '../ts_web/pages/index.js';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					deesWccTools.setupWccTools(elements as any, pages);
 | 
				
			||||||
 | 
					deesDomTools.elementBasic.setup();
 | 
				
			||||||
							
								
								
									
										18
									
								
								npmextra.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								npmextra.json
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,18 @@
 | 
				
			|||||||
 | 
					{
 | 
				
			||||||
 | 
					  "gitzone": {
 | 
				
			||||||
 | 
					    "projectType": "wcc",
 | 
				
			||||||
 | 
					    "module": {
 | 
				
			||||||
 | 
					      "githost": "gitlab.com",
 | 
				
			||||||
 | 
					      "gitscope": "signature.digital_private",
 | 
				
			||||||
 | 
					      "gitrepo": "catalog",
 | 
				
			||||||
 | 
					      "description": "a catalog containing components for e-signing",
 | 
				
			||||||
 | 
					      "npmPackagename": "@signature.digital_private/catalog",
 | 
				
			||||||
 | 
					      "license": "UNLICENSED",
 | 
				
			||||||
 | 
					      "projectDomain": "signature.digital"
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					  },
 | 
				
			||||||
 | 
					  "npmci": {
 | 
				
			||||||
 | 
					    "npmGlobalTools": [],
 | 
				
			||||||
 | 
					    "npmAccessLevel": "private"
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										46
									
								
								package.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										46
									
								
								package.json
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,46 @@
 | 
				
			|||||||
 | 
					{
 | 
				
			||||||
 | 
					  "name": "@signature.digital_private/catalog",
 | 
				
			||||||
 | 
					  "version": "1.0.55",
 | 
				
			||||||
 | 
					  "private": false,
 | 
				
			||||||
 | 
					  "description": "a catalog containing components for e-signing",
 | 
				
			||||||
 | 
					  "main": "dist_ts_web/index.js",
 | 
				
			||||||
 | 
					  "typings": "dist_ts_web/index.d.ts",
 | 
				
			||||||
 | 
					  "type": "module",
 | 
				
			||||||
 | 
					  "scripts": {
 | 
				
			||||||
 | 
					    "test": "npm run build",
 | 
				
			||||||
 | 
					    "build": "tsbuild element && tsbundle element --production",
 | 
				
			||||||
 | 
					    "watch": "tswatch element"
 | 
				
			||||||
 | 
					  },
 | 
				
			||||||
 | 
					  "author": "Task Venture Capital GmbH",
 | 
				
			||||||
 | 
					  "license": "UNLICENSED",
 | 
				
			||||||
 | 
					  "dependencies": {
 | 
				
			||||||
 | 
					    "@designestate/dees-domtools": "^1.0.41",
 | 
				
			||||||
 | 
					    "@designestate/dees-element": "^1.0.26",
 | 
				
			||||||
 | 
					    "@designestate/dees-wcctools": "^1.0.37",
 | 
				
			||||||
 | 
					    "@git.zone/tsrun": "^1.2.12",
 | 
				
			||||||
 | 
					    "@losslessone_private/loint-pubapi": "^1.0.9",
 | 
				
			||||||
 | 
					    "@pushrocks/smartexpress": "^3.0.76",
 | 
				
			||||||
 | 
					    "typescript": "^4.4.3"
 | 
				
			||||||
 | 
					  },
 | 
				
			||||||
 | 
					  "devDependencies": {
 | 
				
			||||||
 | 
					    "@git.zone/tsbuild": "^2.1.24",
 | 
				
			||||||
 | 
					    "@git.zone/tsbundle": "^1.0.72",
 | 
				
			||||||
 | 
					    "@git.zone/tswatch": "^1.0.50",
 | 
				
			||||||
 | 
					    "@pushrocks/projectinfo": "^4.0.5"
 | 
				
			||||||
 | 
					  },
 | 
				
			||||||
 | 
					  "files": [
 | 
				
			||||||
 | 
					    "ts/**/*",
 | 
				
			||||||
 | 
					    "ts_web/**/*",
 | 
				
			||||||
 | 
					    "dist/**/*",
 | 
				
			||||||
 | 
					    "dist_*/**/*",
 | 
				
			||||||
 | 
					    "dist_ts/**/*",
 | 
				
			||||||
 | 
					    "dist_ts_web/**/*",
 | 
				
			||||||
 | 
					    "assets/**/*",
 | 
				
			||||||
 | 
					    "cli.js",
 | 
				
			||||||
 | 
					    "npmextra.json",
 | 
				
			||||||
 | 
					    "readme.md"
 | 
				
			||||||
 | 
					  ],
 | 
				
			||||||
 | 
					  "browserslist": [
 | 
				
			||||||
 | 
					    "last 1 Chrome versions"
 | 
				
			||||||
 | 
					  ]
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										31
									
								
								readme.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										31
									
								
								readme.md
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,31 @@
 | 
				
			|||||||
 | 
					# @signature.digital_private/catalog
 | 
				
			||||||
 | 
					a catalog containing components for e-signing
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					## Availabililty and Links
 | 
				
			||||||
 | 
					* [npmjs.org (npm package)](https://www.npmjs.com/package/@signature.digital_private/catalog)
 | 
				
			||||||
 | 
					* [gitlab.com (source)](https://gitlab.com/signature.digital_private/catalog)
 | 
				
			||||||
 | 
					* [github.com (source mirror)](https://github.com/signature.digital_private/catalog)
 | 
				
			||||||
 | 
					* [docs (typedoc)](https://signature.digital_private.gitlab.io/catalog/)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					## Status for master
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Status Category | Status Badge
 | 
				
			||||||
 | 
					-- | --
 | 
				
			||||||
 | 
					GitLab Pipelines | [](https://lossless.cloud)
 | 
				
			||||||
 | 
					GitLab Pipline Test Coverage | [](https://lossless.cloud)
 | 
				
			||||||
 | 
					npm | [](https://lossless.cloud)
 | 
				
			||||||
 | 
					Snyk | [](https://lossless.cloud)
 | 
				
			||||||
 | 
					TypeScript Support | [](https://lossless.cloud)
 | 
				
			||||||
 | 
					node Support | [](https://nodejs.org/dist/latest-v10.x/docs/api/)
 | 
				
			||||||
 | 
					Code Style | [](https://lossless.cloud)
 | 
				
			||||||
 | 
					PackagePhobia (total standalone install weight) | [](https://lossless.cloud)
 | 
				
			||||||
 | 
					PackagePhobia (package size on registry) | [](https://lossless.cloud)
 | 
				
			||||||
 | 
					BundlePhobia (total size when bundled) | [](https://lossless.cloud)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					## Usage
 | 
				
			||||||
 | 
					Use TypeScript for best in class intellisense
 | 
				
			||||||
 | 
					For further information read the linked docs at the top of this readme.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					## Legal
 | 
				
			||||||
 | 
					> UNLICENSED licensed | **©** [Task Venture Capital GmbH](https://task.vc)
 | 
				
			||||||
 | 
					| By using this npm module you agree to our [privacy policy](https://lossless.gmbH/privacy)
 | 
				
			||||||
							
								
								
									
										8
									
								
								ts_web/00_commitinfo_data.ts
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								ts_web/00_commitinfo_data.ts
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,8 @@
 | 
				
			|||||||
 | 
					/**
 | 
				
			||||||
 | 
					 * autocreated commitinfo by @pushrocks/commitinfo
 | 
				
			||||||
 | 
					 */
 | 
				
			||||||
 | 
					export const commitinfo = {
 | 
				
			||||||
 | 
					  name: '@signature.digital_private/catalog',
 | 
				
			||||||
 | 
					  version: '1.0.56',
 | 
				
			||||||
 | 
					  description: 'a catalog containing components for e-signing'
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										47
									
								
								ts_web/elements/first-element.ts
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										47
									
								
								ts_web/elements/first-element.ts
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,47 @@
 | 
				
			|||||||
 | 
					import { DeesElement, property, html, customElement, TemplateResult, css, cssManager } from '@designestate/dees-element';
 | 
				
			||||||
 | 
					import * as domtools from '@designestate/dees-domtools';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					declare global {
 | 
				
			||||||
 | 
					  interface HTMLElementTagNameMap {
 | 
				
			||||||
 | 
					    'first-element': FirstElement;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					@customElement('first-element')
 | 
				
			||||||
 | 
					export class FirstElement extends DeesElement {
 | 
				
			||||||
 | 
					  public static demo = () => html`
 | 
				
			||||||
 | 
					    <first-element .aProp="${'test'}"></first-element>
 | 
				
			||||||
 | 
					  `;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  @property({
 | 
				
			||||||
 | 
					    type: String
 | 
				
			||||||
 | 
					  })
 | 
				
			||||||
 | 
					  public aProp: string = 'loading...';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  constructor() {
 | 
				
			||||||
 | 
					    super();
 | 
				
			||||||
 | 
					    domtools.DomTools.setupDomTools();
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  public static styles = [
 | 
				
			||||||
 | 
					    domtools.elementBasic.staticStyles,
 | 
				
			||||||
 | 
					    css`
 | 
				
			||||||
 | 
					      :host {
 | 
				
			||||||
 | 
					        display: block;
 | 
				
			||||||
 | 
					        background: blue;
 | 
				
			||||||
 | 
					        color: white;
 | 
				
			||||||
 | 
					        padding: 10px;
 | 
				
			||||||
 | 
					        text-align: center;
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
 | 
					    `
 | 
				
			||||||
 | 
					  ]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  public render(): TemplateResult {
 | 
				
			||||||
 | 
					    return html`
 | 
				
			||||||
 | 
					      <div class="mainbox">
 | 
				
			||||||
 | 
					        ${this.aProp}
 | 
				
			||||||
 | 
					      </div>
 | 
				
			||||||
 | 
					    `;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										1
									
								
								ts_web/elements/index.ts
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								ts_web/elements/index.ts
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1 @@
 | 
				
			|||||||
 | 
					export * from './first-element.js';
 | 
				
			||||||
							
								
								
									
										1
									
								
								ts_web/index.ts
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								ts_web/index.ts
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1 @@
 | 
				
			|||||||
 | 
					export * from './elements/index.js';
 | 
				
			||||||
							
								
								
									
										14
									
								
								tsconfig.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								tsconfig.json
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,14 @@
 | 
				
			|||||||
 | 
					{
 | 
				
			||||||
 | 
					  "compilerOptions": {
 | 
				
			||||||
 | 
					    "experimentalDecorators": true,
 | 
				
			||||||
 | 
					    "useDefineForClassFields": false,
 | 
				
			||||||
 | 
					    "target": "ES2022",
 | 
				
			||||||
 | 
					    "module": "NodeNext",
 | 
				
			||||||
 | 
					    "moduleResolution": "NodeNext",
 | 
				
			||||||
 | 
					    "esModuleInterop": true,
 | 
				
			||||||
 | 
					    "verbatimModuleSyntax": true
 | 
				
			||||||
 | 
					  },
 | 
				
			||||||
 | 
					  "exclude": [
 | 
				
			||||||
 | 
					    "dist_*/**/*.d.ts"
 | 
				
			||||||
 | 
					  ]
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
		Reference in New Issue
	
	Block a user