qcobjects-sdk 2.4.61 → 2.4.62

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/VERSION CHANGED
@@ -1 +1 @@
1
- 2.4.61
1
+ 2.4.62
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "qcobjects-sdk",
3
- "version": "2.4.61",
3
+ "version": "2.4.62",
4
4
  "description": "QCObjects SDK is a set of Controllers, Views and Components that are elementary and useful to assist developers to build applications under MVC patterns using QCObjects, Cross Browser Javascript Framework for MVC Patterns",
5
- "main": "public/QCObjects-SDK.js",
5
+ "main": "public/index.cjs",
6
6
  "module": "public/index.mjs",
7
7
  "exports": {
8
8
  ".": {
@@ -57,7 +57,7 @@
57
57
  "build:ts-types": "npx tsc --project tsconfig.d.json",
58
58
  "build": "npm run build:static:css && npm run build:static:templates && npm run build:ts-types && npm run build:ts && npm run publish:static && npm run publish:esbuild && npm run minify:css",
59
59
  "publish:static": "(npx qcobjects-cli publish:static build/ public/ --exclude js --exclude=.DS_Store)",
60
- "publish:esbuild": "npx esbuild \"build/QCObjects-SDK.js\" --bundle --minify --outdir=public --external:qcobjects --keep-names --global-name=global --sourcemap --splitting --chunk-names=chunks/[name]-[hash] --format=esm --target=es2020",
60
+ "publish:esbuild": "npx esbuild \"build/QCObjects-SDK.js\" --bundle --minify --outdir=public --keep-names --global-name=global --sourcemap --target=es2020 ",
61
61
  "minify:css": "(npx esbuild build/css/*.css build/css/**/*.css --outdir=public/css --keep-names --minify --global-name=global --sourcemap --loader:.svg=file)",
62
62
  "prepare": "node -e \"if(!require('fs').existsSync('.git')){process.exit(0)}\" || npx -y husky install",
63
63
  "prestart": "npm run publish:web",
@@ -43,8 +43,6 @@ const _top = (typeof module === "object" && typeof module.exports === "object")
43
43
  // eslint-disable-next-line camelcase
44
44
  (function __qcobjects_sdk__ (_top:any) {
45
45
  "use strict";
46
- // eslint-disable-next-line camelcase
47
- _top.__qcobjects_sdk__ = __qcobjects_sdk__;
48
46
  if (typeof Object.defineProperty !== "undefined" && typeof _top !== "undefined"){
49
47
  try {
50
48
  Object.defineProperty(_top,"__qcobjects_sdk__", {
@@ -1,4 +1,4 @@
1
- import { Package, Controller, logger, CONFIG, _DataStringify, _DOMCreateElement, New, ClassFactory, ComponentURI, serviceLoader, ControllerParams, QCObjectsElement, QCObjectsShadowedElement, Component } from "qcobjects";
1
+ import { Package, Controller, logger, CONFIG, _DataStringify, _DOMCreateElement, New, ClassFactory, ComponentURI, serviceLoader, ControllerParams, QCObjectsElement, QCObjectsShadowedElement } from "qcobjects";
2
2
  import { ListComponent } from "./org.qcobjects.components.list";
3
3
  /**
4
4
  * QCObjects SDK 2.4
@@ -1,4 +1,4 @@
1
- import { Effect, Package, QCObjectsElement, logger } from "qcobjects";
1
+ import { Effect, Package, logger } from "qcobjects";
2
2
 
3
3
  /**
4
4
  * QCObjects SDK 2.4
@@ -1,4 +1,4 @@
1
- import { Package, View, ViewParams } from "qcobjects";
1
+ import { Package, View } from "qcobjects";
2
2
 
3
3
  /**
4
4
  * QCObjects SDK 2.4