Skip to content

Commit

Permalink
mts & cts
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanmachuca committed Dec 26, 2024
1 parent 79619c9 commit ef4d52d
Show file tree
Hide file tree
Showing 10 changed files with 217 additions and 117 deletions.
17 changes: 17 additions & 0 deletions build/index.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("./QCObjects.js"), exports);
1 change: 1 addition & 0 deletions build/index.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from "./QCObjects.js";
104 changes: 98 additions & 6 deletions public/cjs/index.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
mod
));
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);

// src/is_raw_class.ts
var __is_raw_class__;
Expand Down Expand Up @@ -5023,9 +5024,9 @@ var require_MainProcess = __commonJS({
}
});

// src/QCObjects.ts
var QCObjects_exports = {};
__export(QCObjects_exports, {
// src/index.cts
var index_exports = {};
__export(index_exports, {
ArrayCollection: () => ArrayCollection,
ArrayList: () => ArrayList,
AssignPolyfill: () => assign_exports,
Expand Down Expand Up @@ -5117,6 +5118,7 @@ __export(QCObjects_exports, {
subelements: () => subelements,
waitUntil: () => waitUntil
});
module.exports = __toCommonJS(index_exports);

// src/assign.ts
var assign_exports = {};
Expand Down Expand Up @@ -6595,7 +6597,97 @@ init_mathFunctions();
init_top();
init_make_global();
init_top();

// src/index.cts
module.exports = QCObjects_exports;
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
ArrayCollection,
ArrayList,
AssignPolyfill,
BackendMicroservice,
CONFIG,
Class,
ClassFactory,
ComplexStorageCache,
Component,
ComponentURI,
ConfigService,
Controller,
DDO,
DefaultTemplateHandler,
Effect,
Export,
GlobalSettings,
Import,
InheritClass,
JSONService,
Logger,
NamespaceRef,
New,
ObjectName,
Package,
Processor,
Ready,
RegisterClass,
RegisterWidget,
RegisterWidgets,
Service,
SourceCSS,
SourceJS,
Tag,
TagElements,
Timer,
Toggle,
TransitionEffect,
VO,
View,
_Cast,
_CastProps,
_ComponentWidget_,
_Crypt,
_DOMCreateElement,
_DataStringify,
_LegacyCopy,
_QC_CLASSES,
_QC_PACKAGES,
_QC_PACKAGES_IMPORTED,
_QC_READY_LISTENERS,
_Ready,
__getType__,
__instanceID,
__is_raw_class__,
__make_global__,
__to_number,
__top__,
_buildComponentsFromElements_,
_fireAsyncLoad,
_methods_,
_protected_code_,
_require_,
_super_,
_tag_filter_,
_top,
asyncLoad,
captureFalseTouch,
componentLoader,
findPackageNodePath,
get,
getDocumentLayout,
global,
isBrowser,
isNodeCommonJS,
isQCObjects_Class,
isQCObjects_Object,
is_a,
is_phonegap,
logger,
qcobjects,
range,
ready,
resetTop,
serviceLoader,
set,
setDefaultProcessors,
shortCode,
subelements,
waitUntil
});
//# sourceMappingURL=index.cjs.map
6 changes: 3 additions & 3 deletions public/cjs/index.cjs.map

Large diffs are not rendered by default.

189 changes: 90 additions & 99 deletions public/esm/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5028,101 +5028,6 @@ var require_MainProcess = __commonJS({
}
});

// src/QCObjects.ts
var QCObjects_exports = {};
__export(QCObjects_exports, {
ArrayCollection: () => ArrayCollection,
ArrayList: () => ArrayList,
AssignPolyfill: () => assign_exports,
BackendMicroservice: () => BackendMicroservice,
CONFIG: () => CONFIG,
Class: () => Class,
ClassFactory: () => ClassFactory,
ComplexStorageCache: () => ComplexStorageCache,
Component: () => Component,
ComponentURI: () => ComponentURI,
ConfigService: () => ConfigService,
Controller: () => Controller,
DDO: () => DDO,
DefaultTemplateHandler: () => DefaultTemplateHandler,
Effect: () => Effect,
Export: () => Export,
GlobalSettings: () => GlobalSettings,
Import: () => Import,
InheritClass: () => InheritClass,
JSONService: () => JSONService,
Logger: () => Logger,
NamespaceRef: () => NamespaceRef,
New: () => New,
ObjectName: () => ObjectName,
Package: () => Package,
Processor: () => Processor,
Ready: () => Ready,
RegisterClass: () => RegisterClass,
RegisterWidget: () => RegisterWidget,
RegisterWidgets: () => RegisterWidgets,
Service: () => Service,
SourceCSS: () => SourceCSS,
SourceJS: () => SourceJS,
Tag: () => Tag,
TagElements: () => TagElements,
Timer: () => Timer,
Toggle: () => Toggle,
TransitionEffect: () => TransitionEffect,
VO: () => VO,
View: () => View,
_Cast: () => _Cast,
_CastProps: () => _CastProps,
_ComponentWidget_: () => _ComponentWidget_,
_Crypt: () => _Crypt,
_DOMCreateElement: () => _DOMCreateElement,
_DataStringify: () => _DataStringify,
_LegacyCopy: () => _LegacyCopy,
_QC_CLASSES: () => _QC_CLASSES,
_QC_PACKAGES: () => _QC_PACKAGES,
_QC_PACKAGES_IMPORTED: () => _QC_PACKAGES_IMPORTED,
_QC_READY_LISTENERS: () => _QC_READY_LISTENERS,
_Ready: () => _Ready,
__getType__: () => __getType__,
__instanceID: () => __instanceID,
__is_raw_class__: () => __is_raw_class__,
__make_global__: () => __make_global__,
__to_number: () => __to_number,
__top__: () => top_exports,
_buildComponentsFromElements_: () => _buildComponentsFromElements_,
_fireAsyncLoad: () => _fireAsyncLoad,
_methods_: () => _methods_,
_protected_code_: () => _protected_code_,
_require_: () => _require_,
_super_: () => _super_,
_tag_filter_: () => _tag_filter_,
_top: () => _top,
asyncLoad: () => asyncLoad,
captureFalseTouch: () => captureFalseTouch,
componentLoader: () => componentLoader,
findPackageNodePath: () => findPackageNodePath,
get: () => get,
getDocumentLayout: () => getDocumentLayout,
global: () => _top,
isBrowser: () => isBrowser,
isNodeCommonJS: () => isNodeCommonJS,
isQCObjects_Class: () => isQCObjects_Class,
isQCObjects_Object: () => isQCObjects_Object,
is_a: () => is_a,
is_phonegap: () => is_phonegap,
logger: () => logger,
qcobjects: () => qcobjects,
range: () => range,
ready: () => ready,
resetTop: () => resetTop,
serviceLoader: () => serviceLoader,
set: () => set,
setDefaultProcessors: () => setDefaultProcessors,
shortCode: () => shortCode,
subelements: () => subelements,
waitUntil: () => waitUntil
});

// src/assign.ts
var assign_exports = {};
if (typeof Object.assign !== "function") {
Expand Down Expand Up @@ -6600,10 +6505,96 @@ init_mathFunctions();
init_top();
init_make_global();
init_top();

// src/index.mts
var index_default = QCObjects_exports;
export {
index_default as default
ArrayCollection,
ArrayList,
assign_exports as AssignPolyfill,
BackendMicroservice,
CONFIG,
Class,
ClassFactory,
ComplexStorageCache,
Component,
ComponentURI,
ConfigService,
Controller,
DDO,
DefaultTemplateHandler,
Effect,
Export,
GlobalSettings,
Import,
InheritClass,
JSONService,
Logger,
NamespaceRef,
New,
ObjectName,
Package,
Processor,
Ready,
RegisterClass,
RegisterWidget,
RegisterWidgets,
Service,
SourceCSS,
SourceJS,
Tag,
TagElements,
Timer,
Toggle,
TransitionEffect,
VO,
View,
_Cast,
_CastProps,
_ComponentWidget_,
_Crypt,
_DOMCreateElement,
_DataStringify,
_LegacyCopy,
_QC_CLASSES,
_QC_PACKAGES,
_QC_PACKAGES_IMPORTED,
_QC_READY_LISTENERS,
_Ready,
__getType__,
__instanceID,
__is_raw_class__,
__make_global__,
__to_number,
top_exports as __top__,
_buildComponentsFromElements_,
_fireAsyncLoad,
_methods_,
_protected_code_,
_require_,
_super_,
_tag_filter_,
_top,
asyncLoad,
captureFalseTouch,
componentLoader,
findPackageNodePath,
get,
getDocumentLayout,
_top as global,
isBrowser,
isNodeCommonJS,
isQCObjects_Class,
isQCObjects_Object,
is_a,
is_phonegap,
logger,
qcobjects,
range,
ready,
resetTop,
serviceLoader,
set,
setDefaultProcessors,
shortCode,
subelements,
waitUntil
};
//# sourceMappingURL=index.mjs.map
6 changes: 3 additions & 3 deletions public/esm/index.mjs.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions public/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1057,4 +1057,5 @@ declare module "uniqueID" {
export const uniqueId: Function;
}
//# sourceMappingURL=index.d.ts.map
export {};
export {};
3 changes: 1 addition & 2 deletions src/index.cts
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
import * as QCObjects from "./QCObjects";
module.exports = QCObjects;
export * from "./QCObjects.js";
3 changes: 1 addition & 2 deletions src/index.mts
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
import * as QCObjects from "./QCObjects";
export default QCObjects;
export * from "./QCObjects.js";
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@
},
"include": [
"src/**/*",
"src/index.mts",
"src/index.cts",
"src/types/**/*"
],
"exclude": [
"src/**/*.mts",
"src/**/*.cts",
"node_modules",
"node_modules/**/*",
"public/types"
Expand Down

0 comments on commit ef4d52d

Please sign in to comment.