@mchp-mcc/scf-pic8-pwm-v2 4.2.7 → 4.2.8
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 -9
- package/LICENSE.txt +1 -1
- package/Readme.md +6 -9
- package/output/autoCreator.js +4 -4
- package/output/autoCreator.js.map +1 -1
- package/output/autoProcessor.js +4 -4
- package/output/autoProcessor.js.map +1 -1
- package/output/creator.js +5419 -5129
- package/output/creator.js.map +1 -1
- package/output/processor.js +5419 -5129
- package/output/processor.js.map +1 -1
- package/package.json +15 -15
- package/src/DerivedData.test.ts +56 -29
- package/src/DerivedData.ts +3 -3
- package/src/GeneratorModel.test.tsx +2 -32
- package/src/PinsLogic.test.ts +3 -55
- package/src/catalog.json +1 -1
package/output/autoProcessor.js
CHANGED
|
@@ -505,10 +505,10 @@ var filterModeOptions = function filterModeOptions(options, component, masterCom
|
|
|
505
505
|
|
|
506
506
|
var getProcessedHandle = function getProcessedHandle(handle, payload) {
|
|
507
507
|
if (handle) {
|
|
508
|
-
var _ref, _ref2, _payload$
|
|
508
|
+
var _ref, _ref2, _ref3, _payload$customName;
|
|
509
509
|
|
|
510
510
|
handle = _objectSpread(_objectSpread({}, handle), {}, {
|
|
511
|
-
label: (_ref = (_ref2 = (_payload$
|
|
511
|
+
label: (_ref = (_ref2 = (_ref3 = (_payload$customName = payload === null || payload === void 0 ? void 0 : payload.customName) !== null && _payload$customName !== void 0 ? _payload$customName : payload === null || payload === void 0 ? void 0 : payload.moduleName) !== null && _ref3 !== void 0 ? _ref3 : payload === null || payload === void 0 ? void 0 : payload.name) !== null && _ref2 !== void 0 ? _ref2 : handle.label) !== null && _ref !== void 0 ? _ref : handle.providerId + " : " + handle.exportId
|
|
512
512
|
});
|
|
513
513
|
}
|
|
514
514
|
|
|
@@ -2904,7 +2904,7 @@ var MyDerivedData = function MyDerivedData(dataModel) {
|
|
|
2904
2904
|
var _optnmatch$length;
|
|
2905
2905
|
|
|
2906
2906
|
var eachoptn = _step.value;
|
|
2907
|
-
var timeroptnregex = /^pwm
|
|
2907
|
+
var timeroptnregex = /^pwm\d+timer(\d)$/i;
|
|
2908
2908
|
var optnmatch = eachoptn.alias.match(timeroptnregex);
|
|
2909
2909
|
var correctOptnName = ((_optnmatch$length = optnmatch === null || optnmatch === void 0 ? void 0 : optnmatch.length) !== null && _optnmatch$length !== void 0 ? _optnmatch$length : 0) > 1 ? "TMR" + (optnmatch === null || optnmatch === void 0 ? void 0 : optnmatch[1]) : "";
|
|
2910
2910
|
result.push(correctOptnName);
|
|
@@ -2929,7 +2929,7 @@ var MyDerivedData = function MyDerivedData(dataModel) {
|
|
|
2929
2929
|
var _optnmatch$length2;
|
|
2930
2930
|
|
|
2931
2931
|
var _eachoptn = _step2.value;
|
|
2932
|
-
var _timeroptnregex = /^pwm
|
|
2932
|
+
var _timeroptnregex = /^pwm\d+timer(\d)$/i;
|
|
2933
2933
|
|
|
2934
2934
|
var _optnmatch = _eachoptn.alias.match(_timeroptnregex);
|
|
2935
2935
|
|