complexqa_frontend_core 1.0.3 → 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "complexqa_frontend_core",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "core of web ",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1,3 +1,5 @@
1
+ import { Api } from "./api";
2
+ import { serviceTranslate } from "./services/serviceTranslate";
1
3
 
2
4
  /**
3
5
  * Прототип идеи, пока не уверен, что именно так надо
@@ -39,7 +41,11 @@ export class App
39
41
  this.service.translate = new serviceTranslate();
40
42
  }
41
43
  }
42
-
44
+
45
+ import { clone_object, echo, is_array } from "../utils/utils";
46
+ import axios from "axios";
47
+ import * as qs from "query-string/base";
48
+ import { ApiException } from "../exceptions/ApiException";
43
49
 
44
50
  /**
45
51
  * Общие методы для всех типизированных элементов
@@ -234,6 +240,24 @@ export class ApiAbstractElementClass
234
240
  throw new Error('Error #10-1152 in ApiAbstractClass');
235
241
  }
236
242
 
243
+ if (this.stage === 'development')
244
+ {
245
+ return {
246
+ response: payload,
247
+ payload : payload
248
+ };
249
+ }
250
+
251
+ let url = `/${ this.api_prefix }/${ this.module_prefix }/update_property`;
252
+
253
+ payload = this.#handle_request_payload(payload);
254
+ let response = this.#api_request(url, payload);
255
+ response = this.#handle_response(response);
256
+
257
+ return {
258
+ response: response,
259
+ payload : payload
260
+ };
237
261
  }
238
262
 
239
263
 
@@ -249,6 +273,24 @@ export class ApiAbstractElementClass
249
273
  throw new Error('Error #10-1152 in ApiAbstractClass');
250
274
  }
251
275
 
276
+ if (this.stage === 'development')
277
+ {
278
+ return {
279
+ response: payload,
280
+ payload : payload
281
+ };
282
+ }
283
+
284
+ let url = `/${ this.api_prefix }/${ this.module_prefix }/delete`;
285
+
286
+ payload = this.#handle_request_payload(payload);
287
+ let response = this.#api_request(url, payload);
288
+ response = this.#handle_response(response);
289
+
290
+ return {
291
+ response: response,
292
+ payload : payload
293
+ };
252
294
  }
253
295
 
254
296
 
@@ -425,7 +467,9 @@ export class ApiAbstractElementClass
425
467
 
426
468
  return response;
427
469
  }
428
- }
470
+ }
471
+ import { ApiAbstractElementClass } from "./api_abstract_element_class";
472
+ import { typeFunctional } from "../types/family_elements/typeFunctional";
429
473
 
430
474
 
431
475
  /**
@@ -441,7 +485,11 @@ export class FunctionalApi extends ApiAbstractElementClass
441
485
  super(options);
442
486
  this.set_element_class_instance(typeFunctional);
443
487
  }
444
- }
488
+ }
489
+ import { TestPlanApi } from "./test_plan_api";
490
+ import { ProjectApi } from "./project_api";
491
+ import { ServiceApi } from "./service_api";
492
+ import { TestCaseApi } from "./test_case_api";
445
493
 
446
494
  /**
447
495
  * Обертка над axios
@@ -547,8 +595,11 @@ export class Api
547
595
  this.test_plan = new TestPlanApi(payload);
548
596
  this.project = new ProjectApi(payload);
549
597
  this.service = new ServiceApi(payload);
598
+ this.test_case = new TestCaseApi(payload);
550
599
  }
551
- }
600
+ }
601
+ import { ApiAbstractElementClass } from "./api_abstract_element_class";
602
+ import { typeProject } from "../types/family_elements/typeProject";
552
603
 
553
604
  /**
554
605
  *
@@ -563,7 +614,7 @@ export class ProjectApi extends ApiAbstractElementClass
563
614
  super(options);
564
615
  this.set_element_class_instance(typeProject);
565
616
  }
566
- }
617
+ }
567
618
 
568
619
  // тут нужен свой класс, не для типов
569
620
  export class ServiceApi
@@ -583,7 +634,9 @@ export class ServiceApi
583
634
  {
584
635
  return [];
585
636
  }
586
- }
637
+ }
638
+ import { ApiAbstractElementClass } from "./api_abstract_element_class";
639
+ import { typeTeamMember } from "../types/family_elements/typeTeamMember";
587
640
 
588
641
 
589
642
  /**
@@ -599,7 +652,9 @@ export class TeamMemberApi extends ApiAbstractElementClass
599
652
  super(options);
600
653
  this.set_element_class_instance(typeTeamMember);
601
654
  }
602
- }
655
+ }
656
+ import { ApiAbstractElementClass } from "./api_abstract_element_class";
657
+ import { typeTestCase } from "../types/family_elements/typeTestCase";
603
658
 
604
659
 
605
660
  /**
@@ -615,7 +670,9 @@ export class TestCaseApi extends ApiAbstractElementClass
615
670
  super(options);
616
671
  this.set_element_class_instance(typeTestCase);
617
672
  }
618
- }
673
+ }
674
+ import { typeTestCaseStep } from "../types/family_elements/typeTestCaseStep";
675
+ import { ApiAbstractElementClass } from "./api_abstract_element_class";
619
676
 
620
677
 
621
678
  /**
@@ -631,7 +688,9 @@ export class TestCaseStepApi extends ApiAbstractElementClass
631
688
  super(options);
632
689
  this.set_element_class_instance(typeTestCaseStep);
633
690
  }
634
- }
691
+ }
692
+ import { ApiAbstractElementClass } from "./api_abstract_element_class";
693
+ import { typeTestPlan } from "../types/family_elements/typeTestPlan";
635
694
 
636
695
 
637
696
  /**
@@ -647,7 +706,9 @@ export class TestPlanApi extends ApiAbstractElementClass
647
706
  super(options);
648
707
  this.set_element_class_instance(typeTestPlan);
649
708
  }
650
- }
709
+ }
710
+ import { ApiAbstractElementClass } from "./api_abstract_element_class";
711
+ import { typeTestRun } from "../types/family_elements/typeTestRun";
651
712
 
652
713
  export class TestRunApi extends ApiAbstractElementClass
653
714
  {
@@ -658,7 +719,9 @@ export class TestRunApi extends ApiAbstractElementClass
658
719
  super(options);
659
720
  this.set_element_class_instance(typeTestRun);
660
721
  }
661
- }
722
+ }
723
+ import { ApiAbstractElementClass } from "./api_abstract_element_class";
724
+ import { typeTestRunResult } from "../types/family_elements/typeTestRunResult";
662
725
 
663
726
 
664
727
  /**
@@ -674,7 +737,9 @@ export class TestRunResultApi extends ApiAbstractElementClass
674
737
  super(options);
675
738
  this.set_element_class_instance(typeTestRunResult);
676
739
  }
677
- }
740
+ }
741
+ import { ApiAbstractElementClass } from "./api_abstract_element_class";
742
+ import { typeTestSuite } from "../types/family_elements/typeTestSuite";
678
743
 
679
744
 
680
745
  /**
@@ -690,7 +755,7 @@ export class TestSuiteApi extends ApiAbstractElementClass
690
755
  super(options);
691
756
  this.set_element_class_instance(typeTestSuite);
692
757
  }
693
- }
758
+ }
694
759
  export class ApiException extends Error
695
760
  {
696
761
  /**
@@ -759,7 +824,7 @@ export class ApiException extends Error
759
824
  return this.#message;
760
825
  }
761
826
  }
762
- }
827
+ }
763
828
  /**
764
829
  *
765
830
  * @version v.0.1 (25/06/2024)
@@ -795,7 +860,10 @@ export class abstractService
795
860
  {
796
861
 
797
862
  }*/
798
- }
863
+ }
864
+ import { abstractService } from "./abstractService";
865
+ import i18next from 'i18next';
866
+ import { Api } from "../api";
799
867
 
800
868
  /**
801
869
  *
@@ -890,7 +958,9 @@ export class serviceTranslate extends abstractService
890
958
  {
891
959
  return this.#vendor_instance.t(group + '.' + key);
892
960
  }
893
- }
961
+ }
962
+ import { abstractService } from "./abstractService";
963
+ import { MockUserService } from "./mock_data/MockUserService";
894
964
 
895
965
  /**
896
966
  *
@@ -1018,7 +1088,7 @@ export class UserService extends abstractService
1018
1088
  UserService.current_language = current_language;
1019
1089
  }
1020
1090
  }
1021
-
1091
+
1022
1092
  /**
1023
1093
  *
1024
1094
  * @param {object} object
@@ -1208,7 +1278,7 @@ export function in_array(value, array, strict = false)
1208
1278
  export function cls()
1209
1279
  {
1210
1280
  console.clear();
1211
- }
1281
+ }
1212
1282
  export class MockUserService
1213
1283
  {
1214
1284
  static mock_attributes = [ {
@@ -1238,7 +1308,8 @@ export class MockUserService
1238
1308
  },
1239
1309
  ];
1240
1310
 
1241
- }
1311
+ }
1312
+ import { clone_object, in_array, is_array } from "../../utils/utils";
1242
1313
 
1243
1314
  /**
1244
1315
  * Базовый абстрактный класс для всех типов
@@ -1502,7 +1573,7 @@ export class familyGeneralElement
1502
1573
  alert('Error #267-001 Not implemented method');
1503
1574
  return false;
1504
1575
  }
1505
- }
1576
+ }
1506
1577
  /**
1507
1578
  * Заготовка - логи действий
1508
1579
  *
@@ -1511,7 +1582,9 @@ export class familyGeneralElement
1511
1582
  export class typeActionLog
1512
1583
  {
1513
1584
 
1514
- }
1585
+ }
1586
+ import { familyGeneralElement } from "./0_familyGeneralElement";
1587
+ import { is_object } from "../../utils/utils";
1515
1588
 
1516
1589
 
1517
1590
  /**
@@ -1605,7 +1678,9 @@ export class typeFunctional extends familyGeneralElement
1605
1678
  }
1606
1679
 
1607
1680
 
1608
- }
1681
+ }
1682
+ import { familyGeneralElement } from "./0_familyGeneralElement";
1683
+ import { is_object } from "../../utils/utils";
1609
1684
 
1610
1685
 
1611
1686
  /**
@@ -1698,7 +1773,9 @@ export class typeFunctionalGroup extends familyGeneralElement
1698
1773
  }
1699
1774
 
1700
1775
 
1701
- }
1776
+ }
1777
+ import { familyGeneralElement } from "./0_familyGeneralElement";
1778
+ import { is_object } from "../../utils/utils";
1702
1779
 
1703
1780
  /**
1704
1781
  *
@@ -1789,7 +1866,10 @@ export class typeMilestone extends familyGeneralElement
1789
1866
  }
1790
1867
 
1791
1868
 
1792
- }
1869
+ }
1870
+ import { familyGeneralElement } from "./0_familyGeneralElement";
1871
+ import { echo, is_object } from "../../utils/utils";
1872
+ import { MockDataTypeProject } from "./mock_data/mock_data_typeProject";
1793
1873
 
1794
1874
 
1795
1875
  /**
@@ -1953,7 +2033,9 @@ export class typeProject extends familyGeneralElement
1953
2033
  member_get() {}
1954
2034
 
1955
2035
 
1956
- }
2036
+ }
2037
+ import { familyGeneralElement } from "./0_familyGeneralElement";
2038
+ import { is_object } from "../../utils/utils";
1957
2039
 
1958
2040
  /**
1959
2041
  * (идея) - у проекта должна быть тестовая документация
@@ -2031,7 +2113,9 @@ export class typeProjectDocument extends familyGeneralElement
2031
2113
  {
2032
2114
 
2033
2115
  }
2034
- }
2116
+ }
2117
+ import { familyGeneralElement } from "./0_familyGeneralElement";
2118
+ import { is_object } from "../../utils/utils";
2035
2119
 
2036
2120
  /**
2037
2121
  * Тестовые аккаунты
@@ -2088,7 +2172,9 @@ export class typeProjectTestAccount extends familyGeneralElement
2088
2172
 
2089
2173
  return this;
2090
2174
  }
2091
- }
2175
+ }
2176
+ import { familyGeneralElement } from "./0_familyGeneralElement";
2177
+ import { is_object } from "../../utils/utils";
2092
2178
 
2093
2179
  /**
2094
2180
  * Тестовые данные
@@ -2129,7 +2215,9 @@ export class typeProjectTestData extends familyGeneralElement
2129
2215
 
2130
2216
  return this;
2131
2217
  }
2132
- }
2218
+ }
2219
+ import { familyGeneralElement } from "./0_familyGeneralElement";
2220
+ import { is_object } from "../../utils/utils";
2133
2221
 
2134
2222
  /**
2135
2223
  * Роли в проекте
@@ -2182,7 +2270,9 @@ export class typeProjectUserRole extends familyGeneralElement
2182
2270
 
2183
2271
  return this;
2184
2272
  }
2185
- }
2273
+ }
2274
+ import { familyGeneralElement } from "./0_familyGeneralElement";
2275
+ import { is_object } from "../../utils/utils";
2186
2276
 
2187
2277
 
2188
2278
  /**
@@ -2258,7 +2348,9 @@ export class typeTask extends familyGeneralElement
2258
2348
 
2259
2349
  return this;
2260
2350
  }
2261
- }
2351
+ }
2352
+ import { familyGeneralElement } from "./0_familyGeneralElement";
2353
+ import { is_object } from "../../utils/utils";
2262
2354
 
2263
2355
 
2264
2356
  /**
@@ -2361,7 +2453,10 @@ export class typeTeam extends familyGeneralElement
2361
2453
  user_delete() {}
2362
2454
 
2363
2455
  users_get() {}
2364
- }
2456
+ }
2457
+ import { familyGeneralElement } from "./0_familyGeneralElement";
2458
+ import { is_object } from "../../utils/utils";
2459
+
2365
2460
 
2366
2461
  /**
2367
2462
  * @version v.0.2 (11/11/2024)
@@ -2416,7 +2511,9 @@ export class typeTeamMember extends familyGeneralElement
2416
2511
 
2417
2512
  return this;
2418
2513
  }
2419
- }
2514
+ }
2515
+ import { familyGeneralElement } from "./0_familyGeneralElement";
2516
+ import { is_object } from "../../utils/utils";
2420
2517
 
2421
2518
  /**
2422
2519
  * Роль пользователя в команде
@@ -2470,7 +2567,9 @@ export class typeTeamUserRole extends familyGeneralElement
2470
2567
 
2471
2568
  return this;
2472
2569
  }
2473
- }
2570
+ }
2571
+ import { familyGeneralElement } from "./0_familyGeneralElement";
2572
+ import { echo, is_object } from "../../utils/utils";
2474
2573
 
2475
2574
 
2476
2575
  /**
@@ -2510,13 +2609,13 @@ export class typeTestCase extends familyGeneralElement
2510
2609
  project_id : 'integer | require',
2511
2610
  team_id : 'integer | require',
2512
2611
  functional_id : 'integer | optional',
2513
- test_case_title : 'string | require',
2612
+ test_case_title : 'string | require',
2514
2613
  test_case_descriptions : 'string | require',
2515
2614
  test_case_time_to_execute: 'integer | optional',
2516
2615
  test_case_complexity : 'string | enum | optional',
2517
2616
  test_case_importance : 'string | enum | optional',
2518
- created_at : 'timestamp | require',
2519
- updated_at : 'timestamp | optional',
2617
+ created_at : 'timestamp | require',
2618
+ updated_at : 'timestamp | optional',
2520
2619
  };
2521
2620
 
2522
2621
  available_enum_values = {
@@ -2555,33 +2654,184 @@ export class typeTestCase extends familyGeneralElement
2555
2654
 
2556
2655
  /**
2557
2656
  *
2558
- * @version v.0.1 (07/07/2024)
2657
+ * @param {familyGeneralElement|object} payload
2658
+ *
2659
+ * @param {typeFunctionCallback|object|false} callback
2660
+ *
2661
+ * @param {?function} callback.before
2662
+ * @param {?function} callback.success
2663
+ * @param {?function} callback.error
2664
+ * @param {?function} callback.final
2665
+ *
2666
+ * @version v.0.1 (17/05/2025)
2559
2667
  */
2560
- async create()
2561
- {}
2668
+ async create(payload, callback)
2669
+ {
2670
+ if (typeof callback?.before === 'function')
2671
+ {
2672
+ callback?.before({ payload });
2673
+ }
2674
+
2675
+ payload = this.normalize_payload(payload);
2676
+
2677
+
2678
+ /**
2679
+ * {Api} ApiService
2680
+ */
2681
+ return ApiService.test_case.create(payload).then((response) =>
2682
+ {
2683
+ if (typeof callback?.success === 'function')
2684
+ {
2685
+ callback?.success({ response, payload })
2686
+ }
2687
+ }).catch((error) =>
2688
+ {
2689
+ echo({ error });
2690
+ if (typeof callback?.error === 'function')
2691
+ {
2692
+ callback?.error({ error, payload })
2693
+ }
2694
+ }).finally((response) =>
2695
+ {
2696
+ if (typeof callback?.final === 'function')
2697
+ {
2698
+ callback?.final({ response, payload })
2699
+ }
2700
+ });
2701
+ }
2562
2702
 
2563
2703
 
2564
2704
  /**
2565
2705
  *
2566
2706
  * @version v.0.1 (07/07/2024)
2567
2707
  */
2568
- async update()
2708
+ async update(payload, callback)
2569
2709
  {
2710
+ if (typeof callback?.before === 'function')
2711
+ {
2712
+ callback?.before({ payload });
2713
+ }
2570
2714
 
2715
+ payload = this.normalize_payload(payload);
2716
+
2717
+
2718
+ /**
2719
+ * {Api} ApiService
2720
+ */
2721
+ return ApiService.test_case.update(payload).then((response) =>
2722
+ {
2723
+ if (typeof callback?.success === 'function')
2724
+ {
2725
+ callback?.success({ response, payload })
2726
+ }
2727
+ }).catch((error) =>
2728
+ {
2729
+ echo({ error });
2730
+ if (typeof callback?.error === 'function')
2731
+ {
2732
+ callback?.error({ error, payload })
2733
+ }
2734
+ }).finally((response) =>
2735
+ {
2736
+ if (typeof callback?.final === 'function')
2737
+ {
2738
+ callback?.final({ response, payload })
2739
+ }
2740
+ });
2571
2741
  }
2572
2742
 
2573
2743
 
2574
2744
  /**
2575
2745
  *
2576
- * @version v.0.1 (07/07/2024)
2746
+ * @param key
2747
+ * @param value
2748
+ * @param callback
2749
+ * @returns {Promise<>}
2577
2750
  */
2578
- async delete()
2751
+ async update_property(key, value, callback)
2579
2752
  {
2753
+ let payload = {
2754
+ key : key,
2755
+ value : value,
2756
+ test_case_id: this.test_case_id
2757
+ };
2580
2758
 
2759
+ if (typeof callback?.before === 'function')
2760
+ {
2761
+ callback?.before({ payload });
2762
+ }
2763
+
2764
+ /**
2765
+ * {Api} ApiService
2766
+ */
2767
+ return ApiService.test_case.update_property(payload).then((response) =>
2768
+ {
2769
+ if (typeof callback?.success === 'function')
2770
+ {
2771
+ callback?.success({ response, payload })
2772
+ }
2773
+ }).catch((error) =>
2774
+ {
2775
+ echo({ error });
2776
+ if (typeof callback?.error === 'function')
2777
+ {
2778
+ callback?.error({ error, payload })
2779
+ }
2780
+ }).finally((response) =>
2781
+ {
2782
+ if (typeof callback?.final === 'function')
2783
+ {
2784
+ callback?.final({ response, payload })
2785
+ }
2786
+ });
2581
2787
  }
2582
2788
 
2583
2789
 
2584
- }
2790
+ /**
2791
+ *
2792
+ * @version v.0.1 (17/05/2025)
2793
+ */
2794
+ async delete(element = false, callback = {})
2795
+ {
2796
+ if (!element)
2797
+ {
2798
+ element = this;
2799
+ }
2800
+
2801
+ let payload = {
2802
+ test_case_id: element.test_case_id
2803
+ };
2804
+
2805
+ if (typeof callback?.before === 'function')
2806
+ {
2807
+ callback?.before({ payload });
2808
+ }
2809
+
2810
+ return ApiService.test_case.delete(payload).then((response) =>
2811
+ {
2812
+ if (typeof callback?.success === 'function')
2813
+ {
2814
+ callback?.success({ response, payload })
2815
+ }
2816
+ }).catch((error) =>
2817
+ {
2818
+ echo({ error });
2819
+ if (typeof callback?.error === 'function')
2820
+ {
2821
+ callback?.error({ error, payload })
2822
+ }
2823
+ }).finally((response) =>
2824
+ {
2825
+ if (typeof callback?.final === 'function')
2826
+ {
2827
+ callback?.final({ response, payload })
2828
+ }
2829
+ });
2830
+ }
2831
+
2832
+
2833
+ }
2834
+ import { familyGeneralElement } from "./0_familyGeneralElement";
2585
2835
 
2586
2836
 
2587
2837
  /**
@@ -2601,7 +2851,9 @@ export class typeTestCaseStep extends familyGeneralElement
2601
2851
  available_enum_values = {
2602
2852
  test_case_step_type: [ 'TEST_CASE_STEP', 'TEST_CASE_PRESTEP' ],
2603
2853
  };
2604
- }
2854
+ }
2855
+ import { familyGeneralElement } from "./0_familyGeneralElement";
2856
+ import { is_object } from "../../utils/utils";
2605
2857
 
2606
2858
 
2607
2859
  /**
@@ -2634,7 +2886,9 @@ export class typeTestPlan extends familyGeneralElement
2634
2886
 
2635
2887
  return this;
2636
2888
  }
2637
- }
2889
+ }
2890
+ import { familyGeneralElement } from "./0_familyGeneralElement";
2891
+ import { is_object } from "../../utils/utils";
2638
2892
 
2639
2893
  /**
2640
2894
  * Коллекция тестов для работы, она же parent для typeTestRunResult
@@ -2688,7 +2942,9 @@ export class typeTestRun extends familyGeneralElement
2688
2942
 
2689
2943
  return this;
2690
2944
  }
2691
- }
2945
+ }
2946
+ import { familyGeneralElement } from "./0_familyGeneralElement";
2947
+ import { is_object } from "../../utils/utils";
2692
2948
 
2693
2949
  /**
2694
2950
  * 1 результат по каждому тест кейсу
@@ -2758,7 +3014,9 @@ export class typeTestRunResult extends familyGeneralElement
2758
3014
 
2759
3015
  return this;
2760
3016
  }
2761
- }
3017
+ }
3018
+ import { familyGeneralElement } from "./0_familyGeneralElement";
3019
+ import { is_object } from "../../utils/utils";
2762
3020
 
2763
3021
  /**
2764
3022
  * Структурная коллекция тестов
@@ -2842,7 +3100,9 @@ export class typeTestSuite extends familyGeneralElement
2842
3100
  }
2843
3101
 
2844
3102
 
2845
- }
3103
+ }
3104
+ import { familyGeneralElement } from "./0_familyGeneralElement";
3105
+ import { is_object } from "../../utils/utils";
2846
3106
 
2847
3107
 
2848
3108
  /**
@@ -2896,7 +3156,7 @@ export class typeUser extends familyGeneralElement
2896
3156
 
2897
3157
  return this;
2898
3158
  }
2899
- }
3159
+ }
2900
3160
  /**
2901
3161
  * базовый тип для всех служебных типов
2902
3162
  * @version v.0.1 (26/05/2024)
@@ -2904,7 +3164,8 @@ export class typeUser extends familyGeneralElement
2904
3164
  export class familyService
2905
3165
  {
2906
3166
  //
2907
- }
3167
+ }
3168
+ import { familyService } from "./familyService";
2908
3169
 
2909
3170
  /**
2910
3171
  * Общее конфигурирование приложений
@@ -2942,7 +3203,8 @@ export class typeAppConfiguration extends familyService
2942
3203
 
2943
3204
  return this;
2944
3205
  }
2945
- }
3206
+ }
3207
+ import { familyService } from "./familyService";
2946
3208
 
2947
3209
  /**
2948
3210
  *
@@ -2977,7 +3239,8 @@ export class typeFOR extends familyService
2977
3239
 
2978
3240
  return this;
2979
3241
  }
2980
- }
3242
+ }
3243
+ import { familyService } from "./familyService";
2981
3244
 
2982
3245
  /**
2983
3246
  * Описание стандартного колбека типового для методов
@@ -3016,7 +3279,9 @@ export class typeFunctionCallback extends familyService
3016
3279
 
3017
3280
  return this;
3018
3281
  }
3019
- }
3282
+ }
3283
+ import { familyService } from "./familyService";
3284
+ import { is_object } from "../../utils/utils";
3020
3285
 
3021
3286
  /**
3022
3287
  * Уведомления
@@ -3050,7 +3315,8 @@ export class typeNotification extends familyService
3050
3315
 
3051
3316
  return this;
3052
3317
  }
3053
- }
3318
+ }
3319
+ import { familyService } from "./familyService";
3054
3320
 
3055
3321
  /**
3056
3322
  *
@@ -3086,7 +3352,8 @@ export class typeTableColumn extends familyService
3086
3352
 
3087
3353
  return this;
3088
3354
  }
3089
- }
3355
+ }
3356
+ import { typeAppConfiguration } from "./typeAppConfiguration";
3090
3357
 
3091
3358
  /**
3092
3359
  * Настройки таблиц (aggrid)
@@ -3141,7 +3408,7 @@ export class typeTableConfiguration extends typeAppConfiguration
3141
3408
 
3142
3409
  return this;
3143
3410
  }
3144
- }
3411
+ }
3145
3412
  /**
3146
3413
  *
3147
3414
  * @version v.0.1 (02/07/2024)
@@ -3154,7 +3421,9 @@ export class abstractMockData
3154
3421
  {
3155
3422
  this.mock_data_type = mock_data_type;
3156
3423
  }
3157
- }
3424
+ }
3425
+ import { abstractMockData } from "./abstract_mock_data";
3426
+ import { count, is_object } from "../../../utils/utils";
3158
3427
 
3159
3428
 
3160
3429
  /**