last update before handover

This commit is contained in:
2026-05-29 12:39:53 +08:00
parent 121d7f6024
commit 357e30af66
1362 changed files with 166577 additions and 387 deletions

25
sample_interface/node_modules/style-to-js/cjs/index.js generated vendored Normal file
View File

@@ -0,0 +1,25 @@
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
var style_to_object_1 = __importDefault(require("style-to-object"));
var utilities_1 = require("./utilities");
/**
* Parses CSS inline style to JavaScript object (camelCased).
*/
function StyleToJS(style, options) {
var output = {};
if (!style || typeof style !== 'string') {
return output;
}
(0, style_to_object_1.default)(style, function (property, value) {
// skip CSS comment
if (property && value) {
output[(0, utilities_1.camelCase)(property, options)] = value;
}
});
return output;
}
StyleToJS.default = StyleToJS;
module.exports = StyleToJS;
//# sourceMappingURL=index.js.map