@everymatrix/stage-mm-verification-report 1.0.16 → 1.0.18

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.
@@ -29057,167 +29057,6 @@ var HydrationFeatureKind;
29057
29057
  })(HydrationFeatureKind || (HydrationFeatureKind = {}));
29058
29058
  var VERSION = new Version("19.0.7");
29059
29059
 
29060
- // libs/shared/data-access/utils/src/lib/services/ui-grid-common.service.ts
29061
- var angular2 = __toESM(require_angular2());
29062
- var UiGridCommonService = class _UiGridCommonService {
29063
- static _instance = null;
29064
- // Singleton instance
29065
- _couples = {};
29066
- // List of all couples
29067
- _uniqueIds = [];
29068
- constructor() {
29069
- const win = window;
29070
- if (_UiGridCommonService._instance) {
29071
- return _UiGridCommonService._instance;
29072
- }
29073
- if (win.__uiGridCommonService) {
29074
- return _UiGridCommonService._instance = win.__uiGridCommonService;
29075
- }
29076
- _UiGridCommonService._instance = this;
29077
- }
29078
- static isAngularjsModuleDefined(module2) {
29079
- let isDefined = false;
29080
- try {
29081
- angular2.module(module2);
29082
- isDefined = true;
29083
- } catch (e) {
29084
- }
29085
- return isDefined;
29086
- }
29087
- static initAngularjsApp(module2) {
29088
- const upgrade = angular2.module(module2, [
29089
- "ui.grid",
29090
- "ui.grid.grouping",
29091
- "ui.grid.pagination",
29092
- "ui.grid.autoResize",
29093
- "ui.grid.resizeColumns",
29094
- "ui.grid.infiniteScroll",
29095
- "ui.grid.pinning",
29096
- "ui.grid.selection",
29097
- "ui.grid.expandable",
29098
- "ui.grid.moveColumns"
29099
- ]);
29100
- upgrade.service("uiGridCommonService", _UiGridCommonService);
29101
- upgrade.directive("dmUiGridLib", [
29102
- "uiGridCommonService",
29103
- (uiGridCommonService) => {
29104
- return {
29105
- restrict: "E",
29106
- scope: {},
29107
- template: `<div ui-grid="options" class="grid ui-grid-selectable" ng-show="options.isVisible" ng-style="{ 'height': (options.scrollHeight || 360) + 'px' }"
29108
- ui-grid-grouping
29109
- ui-grid-auto-resize
29110
- ui-grid-infinite-scroll
29111
- ui-grid-resize-columns
29112
- ui-grid-pinning
29113
- ui-grid-selection
29114
- ui-grid-pagination
29115
- ui-grid-move-columns>
29116
- <div class="data-loading-board" ng-if="options.dataLoading">Loading data ...</div>
29117
- <div class="watermark-board" ng-if="!options.dataLoading && !options.data.length">No data available</div>
29118
- </div>`,
29119
- link: (scope) => {
29120
- scope.gridId = uiGridCommonService.getUniqueIdForCouple("angularjs-component");
29121
- scope.options = uiGridCommonService.getOptionsById(scope.gridId);
29122
- scope.digestInterval = setInterval(() => {
29123
- scope.$digest();
29124
- }, 500);
29125
- scope.$on("$destroy", () => {
29126
- clearInterval(scope.digestInterval);
29127
- uiGridCommonService.removeCoupleById(scope.gridId);
29128
- });
29129
- }
29130
- };
29131
- }
29132
- ]);
29133
- }
29134
- static bootstrapAngularjsApp(element2, module2) {
29135
- try {
29136
- angular2.bootstrap(element2, [module2], {
29137
- strictDi: true
29138
- });
29139
- } catch (error) {
29140
- console.error(`Failed to bootstrap ${module2}: `, error);
29141
- }
29142
- }
29143
- static compileAngularjsApp(target) {
29144
- try {
29145
- const source = document.querySelector("[ng-app]");
29146
- const $injector = window.angular.element(source).injector();
29147
- const $compile = $injector.get("$compile");
29148
- const $rootScope = $injector.get("$rootScope");
29149
- const scope = $rootScope.$new(true);
29150
- $compile(target)(scope);
29151
- scope.$apply();
29152
- } catch (err) {
29153
- console.error("Failed to compile AngularJS directive in Shadow DOM:", err);
29154
- }
29155
- }
29156
- static isElementBootstrapped(element2) {
29157
- const angularElem = angular2.element(element2);
29158
- return angularElem && !!angularElem.injector();
29159
- }
29160
- static getAngularJsMainModuleName() {
29161
- const ngAppEl = document.querySelector("[ng-app]");
29162
- if (ngAppEl)
29163
- return ngAppEl.getAttribute("ng-app");
29164
- return null;
29165
- }
29166
- getUniqueId() {
29167
- const id = Date.now().toString(36) + Math.random().toString(36).substring(2);
29168
- if (this._uniqueIds.includes(id))
29169
- return this.getUniqueId();
29170
- else
29171
- this._uniqueIds.push(id);
29172
- return id;
29173
- }
29174
- getUniqueIdForCouple(type) {
29175
- let id = "";
29176
- let freeCouple;
29177
- for (const [key, value] of Object.entries(this._couples)) {
29178
- if (!value[type]) {
29179
- freeCouple = value;
29180
- id = key;
29181
- break;
29182
- }
29183
- }
29184
- if (freeCouple) {
29185
- freeCouple[type] = true;
29186
- return id;
29187
- } else {
29188
- id = this.getUniqueId();
29189
- this._couples[id] = { [type]: true };
29190
- return id;
29191
- }
29192
- }
29193
- getCoupleById(id) {
29194
- return this._couples[id];
29195
- }
29196
- getOptionsById(id) {
29197
- return this.getCoupleById(id).data;
29198
- }
29199
- removeCoupleById(id) {
29200
- if (this._couples[id]) {
29201
- delete this._couples[id];
29202
- }
29203
- }
29204
- setOptionsForId(id, options) {
29205
- this.getCoupleById(id).data = options;
29206
- }
29207
- static \u0275fac = function UiGridCommonService_Factory(__ngFactoryType__) {
29208
- return new (__ngFactoryType__ || _UiGridCommonService)();
29209
- };
29210
- static \u0275prov = /* @__PURE__ */ \u0275\u0275defineInjectable({ token: _UiGridCommonService, factory: _UiGridCommonService.\u0275fac, providedIn: "root" });
29211
- };
29212
- (() => {
29213
- (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(UiGridCommonService, [{
29214
- type: Injectable,
29215
- args: [{
29216
- providedIn: "root"
29217
- }]
29218
- }], () => [], null);
29219
- })();
29220
-
29221
29060
  // libs/shared/data-access/utils/src/lib/services/script-loader.service.ts
29222
29061
  var ScriptLoaderService = class {
29223
29062
  basePath;
@@ -29673,6 +29512,167 @@ var ShadowDomStyleInjectorService = class _ShadowDomStyleInjectorService {
29673
29512
  }], null, null);
29674
29513
  })();
29675
29514
 
29515
+ // libs/shared/data-access/utils/src/lib/services/ui-grid-common.service.ts
29516
+ var angular2 = __toESM(require_angular2());
29517
+ var UiGridCommonService = class _UiGridCommonService {
29518
+ static _instance = null;
29519
+ // Singleton instance
29520
+ _couples = {};
29521
+ // List of all couples
29522
+ _uniqueIds = [];
29523
+ constructor() {
29524
+ const win = window;
29525
+ if (_UiGridCommonService._instance) {
29526
+ return _UiGridCommonService._instance;
29527
+ }
29528
+ if (win.__uiGridCommonService) {
29529
+ return _UiGridCommonService._instance = win.__uiGridCommonService;
29530
+ }
29531
+ _UiGridCommonService._instance = this;
29532
+ }
29533
+ static isAngularjsModuleDefined(module2) {
29534
+ let isDefined = false;
29535
+ try {
29536
+ angular2.module(module2);
29537
+ isDefined = true;
29538
+ } catch (e) {
29539
+ }
29540
+ return isDefined;
29541
+ }
29542
+ static initAngularjsApp(module2) {
29543
+ const upgrade = angular2.module(module2, [
29544
+ "ui.grid",
29545
+ "ui.grid.grouping",
29546
+ "ui.grid.pagination",
29547
+ "ui.grid.autoResize",
29548
+ "ui.grid.resizeColumns",
29549
+ "ui.grid.infiniteScroll",
29550
+ "ui.grid.pinning",
29551
+ "ui.grid.selection",
29552
+ "ui.grid.expandable",
29553
+ "ui.grid.moveColumns"
29554
+ ]);
29555
+ upgrade.service("uiGridCommonService", _UiGridCommonService);
29556
+ upgrade.directive("dmUiGridLib", [
29557
+ "uiGridCommonService",
29558
+ (uiGridCommonService) => {
29559
+ return {
29560
+ restrict: "E",
29561
+ scope: {},
29562
+ template: `<div ui-grid="options" class="grid ui-grid-selectable" ng-show="options.isVisible" ng-style="{ 'height': (options.scrollHeight || 360) + 'px' }"
29563
+ ui-grid-grouping
29564
+ ui-grid-auto-resize
29565
+ ui-grid-infinite-scroll
29566
+ ui-grid-resize-columns
29567
+ ui-grid-pinning
29568
+ ui-grid-selection
29569
+ ui-grid-pagination
29570
+ ui-grid-move-columns>
29571
+ <div class="data-loading-board" ng-if="options.dataLoading">Loading data ...</div>
29572
+ <div class="watermark-board" ng-if="!options.dataLoading && !options.data.length">No data available</div>
29573
+ </div>`,
29574
+ link: (scope) => {
29575
+ scope.gridId = uiGridCommonService.getUniqueIdForCouple("angularjs-component");
29576
+ scope.options = uiGridCommonService.getOptionsById(scope.gridId);
29577
+ scope.digestInterval = setInterval(() => {
29578
+ scope.$digest();
29579
+ }, 500);
29580
+ scope.$on("$destroy", () => {
29581
+ clearInterval(scope.digestInterval);
29582
+ uiGridCommonService.removeCoupleById(scope.gridId);
29583
+ });
29584
+ }
29585
+ };
29586
+ }
29587
+ ]);
29588
+ }
29589
+ static bootstrapAngularjsApp(element2, module2) {
29590
+ try {
29591
+ angular2.bootstrap(element2, [module2], {
29592
+ strictDi: true
29593
+ });
29594
+ } catch (error) {
29595
+ console.error(`Failed to bootstrap ${module2}: `, error);
29596
+ }
29597
+ }
29598
+ static compileAngularjsApp(target) {
29599
+ try {
29600
+ const source = document.querySelector("[ng-app]");
29601
+ const $injector = window.angular.element(source).injector();
29602
+ const $compile = $injector.get("$compile");
29603
+ const $rootScope = $injector.get("$rootScope");
29604
+ const scope = $rootScope.$new(true);
29605
+ $compile(target)(scope);
29606
+ scope.$apply();
29607
+ } catch (err) {
29608
+ console.error("Failed to compile AngularJS directive in Shadow DOM:", err);
29609
+ }
29610
+ }
29611
+ static isElementBootstrapped(element2) {
29612
+ const angularElem = angular2.element(element2);
29613
+ return angularElem && !!angularElem.injector();
29614
+ }
29615
+ static getAngularJsMainModuleName() {
29616
+ const ngAppEl = document.querySelector("[ng-app]");
29617
+ if (ngAppEl)
29618
+ return ngAppEl.getAttribute("ng-app");
29619
+ return null;
29620
+ }
29621
+ getUniqueId() {
29622
+ const id = Date.now().toString(36) + Math.random().toString(36).substring(2);
29623
+ if (this._uniqueIds.includes(id))
29624
+ return this.getUniqueId();
29625
+ else
29626
+ this._uniqueIds.push(id);
29627
+ return id;
29628
+ }
29629
+ getUniqueIdForCouple(type) {
29630
+ let id = "";
29631
+ let freeCouple;
29632
+ for (const [key, value] of Object.entries(this._couples)) {
29633
+ if (!value[type]) {
29634
+ freeCouple = value;
29635
+ id = key;
29636
+ break;
29637
+ }
29638
+ }
29639
+ if (freeCouple) {
29640
+ freeCouple[type] = true;
29641
+ return id;
29642
+ } else {
29643
+ id = this.getUniqueId();
29644
+ this._couples[id] = { [type]: true };
29645
+ return id;
29646
+ }
29647
+ }
29648
+ getCoupleById(id) {
29649
+ return this._couples[id];
29650
+ }
29651
+ getOptionsById(id) {
29652
+ return this.getCoupleById(id).data;
29653
+ }
29654
+ removeCoupleById(id) {
29655
+ if (this._couples[id]) {
29656
+ delete this._couples[id];
29657
+ }
29658
+ }
29659
+ setOptionsForId(id, options) {
29660
+ this.getCoupleById(id).data = options;
29661
+ }
29662
+ static \u0275fac = function UiGridCommonService_Factory(__ngFactoryType__) {
29663
+ return new (__ngFactoryType__ || _UiGridCommonService)();
29664
+ };
29665
+ static \u0275prov = /* @__PURE__ */ \u0275\u0275defineInjectable({ token: _UiGridCommonService, factory: _UiGridCommonService.\u0275fac, providedIn: "root" });
29666
+ };
29667
+ (() => {
29668
+ (typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(UiGridCommonService, [{
29669
+ type: Injectable,
29670
+ args: [{
29671
+ providedIn: "root"
29672
+ }]
29673
+ }], () => [], null);
29674
+ })();
29675
+
29676
29676
  // libs/shared/data-access/utils/src/lib/services/global-message.service.ts
29677
29677
  var GlobalMessageService = class _GlobalMessageService {
29678
29678
  messageService;
@@ -37550,4 +37550,4 @@ crypto-js/mode-ctr-gladman.js:
37550
37550
  * License: MIT
37551
37551
  *)
37552
37552
  */
37553
- //# sourceMappingURL=chunk-V6NIUBXM.js.map
37553
+ //# sourceMappingURL=chunk-3RB2V66X.js.map