@mchp-mcc/clock-16bit-driver 1.0.2 → 1.0.3
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/Changelog.md +6 -0
- package/Readme.md +6 -0
- package/output/creator.js +2 -2
- package/output/processor.js +41 -3
- package/output/processor.js.map +1 -1
- package/output/reducer.js +40 -2
- package/output/reducer.js.map +1 -1
- package/package.json +2 -2
- package/src/DerivedData.tsx +29 -0
package/output/reducer.js
CHANGED
@@ -16438,7 +16438,9 @@ var MyDerivedData = function MyDerivedData(dataModel) {
|
|
16438
16438
|
requestedSystemFrequency_HzValidator: _this.requestedSystemFrequency_HzValidator,
|
16439
16439
|
requestedRefClockOutputFrequency_HzValidator: _this.requestedRefClockOutputFrequency_HzValidator,
|
16440
16440
|
getCustomUiErrors: _this.getCustomUiErrors,
|
16441
|
-
"clock-16bit-ux-interface_payloads": _this.getClockApplicationInterfacePayload
|
16441
|
+
"clock-16bit-ux-interface_payloads": _this.getClockApplicationInterfacePayload,
|
16442
|
+
importName: _this.friendlyImportName,
|
16443
|
+
exportName: _this.friendlyExportName
|
16442
16444
|
};
|
16443
16445
|
};
|
16444
16446
|
|
@@ -17517,6 +17519,42 @@ var MyDerivedData = function MyDerivedData(dataModel) {
|
|
17517
17519
|
return clockApplicationInterfacePayloads;
|
17518
17520
|
};
|
17519
17521
|
|
17522
|
+
this.friendlyExportName = function (exportKey) {
|
17523
|
+
var exportName;
|
17524
|
+
|
17525
|
+
switch (exportKey) {
|
17526
|
+
case "canfd_clock":
|
17527
|
+
exportName = "CAN FD Clock";
|
17528
|
+
break;
|
17529
|
+
|
17530
|
+
case "clock_16bit_ux_interface":
|
17531
|
+
exportName = "Clock Drv Config";
|
17532
|
+
break;
|
17533
|
+
|
17534
|
+
default:
|
17535
|
+
exportName = exportKey;
|
17536
|
+
break;
|
17537
|
+
}
|
17538
|
+
|
17539
|
+
return exportName;
|
17540
|
+
};
|
17541
|
+
|
17542
|
+
this.friendlyImportName = function (importKey) {
|
17543
|
+
var importName;
|
17544
|
+
|
17545
|
+
switch (importKey) {
|
17546
|
+
case "clock_16bit_config_interface":
|
17547
|
+
importName = "Clock Configuration";
|
17548
|
+
break;
|
17549
|
+
|
17550
|
+
default:
|
17551
|
+
importName = importKey;
|
17552
|
+
break;
|
17553
|
+
}
|
17554
|
+
|
17555
|
+
return importName;
|
17556
|
+
};
|
17557
|
+
|
17520
17558
|
this.dataModel = dataModel;
|
17521
17559
|
};
|
17522
17560
|
|
@@ -17765,7 +17803,7 @@ var updateValue = function updateValue(key, existingValue, componentName, newVal
|
|
17765
17803
|
|
17766
17804
|
__webpack_require__(/*! core-js/es/set/index */"./node_modules/core-js/es/set/index.js");
|
17767
17805
|
__webpack_require__(/*! core-js/es/map/index */"./node_modules/core-js/es/map/index.js");
|
17768
|
-
module.exports = __webpack_require__(/*! /home/jenkins/agent/workspace/
|
17806
|
+
module.exports = __webpack_require__(/*! /home/jenkins/agent/workspace/ontent_clock-16bit-driver_master/src/reducer.tsx */"./src/reducer.tsx");
|
17769
17807
|
|
17770
17808
|
|
17771
17809
|
/***/ })
|