otp-code-component
Version:
Google Authenticator 验证组件
39 lines (33 loc) • 891 B
JavaScript
;
var index = require('./index-ZptVS6fb.js');
function format(first, middle, last) {
return (first || '') + (middle ? ` ${middle}` : '') + (last ? ` ${last}` : '');
}
const myComponentCss = ":host{display:block}";
const MyComponent = class {
constructor(hostRef) {
index.registerInstance(this, hostRef);
}
/**
* The first name
*/
first;
/**
* The middle name
*/
middle;
/**
* The last name
*/
last;
getText() {
return format(this.first, this.middle, this.last);
}
render() {
return index.h("div", { key: '70654fc83039b5f659efe99cc990e9b86d20dbe0' }, "Hello, World! I'm ", this.getText());
}
};
MyComponent.style = myComponentCss;
exports.my_component = MyComponent;
//# sourceMappingURL=my-component.entry.cjs.js.map
//# sourceMappingURL=my-component.cjs.entry.js.map