mortgage-calculator-package 1.0.3 → 2.0.0
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/dist/05e0aac3f5f644c344d6.svg +3 -0
- package/dist/calculator.d.ts +1 -1
- package/dist/dec0b8717bf0d582857b.svg +3 -0
- package/dist/faqs.d.ts +1 -0
- package/dist/firebase.d.ts +2 -0
- package/dist/index.d.ts +8 -3
- package/dist/index.html +5 -2
- package/dist/index.js +2 -1
- package/dist/index.js.LICENSE.txt +146 -0
- package/dist/index.js.map +1 -1
- package/dist/market-trend-videos.d.ts +1 -0
- package/dist/research-articles.d.ts +1 -0
- package/dist/styles.css +2 -2
- package/dist/styles.css.map +1 -1
- package/dist/utils.d.ts +1 -0
- package/package.json +7 -2
@@ -0,0 +1,3 @@
|
|
1
|
+
<svg width="11" height="7" viewBox="0 0 11 7" fill="none" xmlns="http://www.w3.org/2000/svg">
|
2
|
+
<path d="M5.47106 6.17456C5.37341 6.17512 5.27661 6.1564 5.1862 6.11947C5.0958 6.08254 5.01357 6.02813 4.94424 5.95937L0.492205 1.50734C0.352482 1.36762 0.273987 1.17811 0.273987 0.980517C0.273987 0.782924 0.352482 0.59342 0.492205 0.453697C0.631927 0.313975 0.821431 0.235474 1.01903 0.235474C1.21663 0.235474 1.40613 0.313975 1.54585 0.453697L5.47106 4.38632L9.39628 0.461106C9.53822 0.33955 9.72081 0.276027 9.90756 0.283239C10.0943 0.29045 10.2714 0.367864 10.4036 0.499986C10.5357 0.632107 10.6132 0.809253 10.6204 0.996009C10.6276 1.18276 10.5641 1.36534 10.4425 1.50734L5.99047 5.95937C5.85226 6.09645 5.66572 6.17374 5.47106 6.17456Z" fill="#FFFFFF"/>
|
3
|
+
</svg>
|
package/dist/calculator.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export declare function
|
1
|
+
export declare function initCalculator(container: HTMLElement, applyUrl: string): void;
|
package/dist/faqs.d.ts
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
export declare function initFaqs(container: HTMLElement): void;
|
package/dist/index.d.ts
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
import './styles.scss';
|
2
|
-
|
2
|
+
interface InitParams {
|
3
3
|
containerId: string;
|
4
|
-
|
5
|
-
|
4
|
+
product: "calculator" | "market-trend-videos" | "faqs" | "research-articles";
|
5
|
+
options?: {
|
6
|
+
applyUrl?: string;
|
7
|
+
};
|
8
|
+
}
|
9
|
+
export declare function init(initParams: InitParams): void;
|
10
|
+
export {};
|
package/dist/index.html
CHANGED
@@ -1,6 +1,9 @@
|
|
1
1
|
<!doctype html><html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Mortgage Calculator Test</title><script defer="defer" src="index.js"></script><link href="styles.css" rel="stylesheet"></head><body><div id="mortgage-calculator-container"></div><script>window.addEventListener('DOMContentLoaded', () => {
|
2
2
|
MortgageCalculator.init({
|
3
|
-
containerId:
|
4
|
-
|
3
|
+
containerId: "mortgage-calculator-container",
|
4
|
+
product: "market-trend-videos",
|
5
|
+
// options: {
|
6
|
+
// applyUrl: 'https://staging.kreateable.com/template-canvas',
|
7
|
+
// },
|
5
8
|
});
|
6
9
|
});</script></body></html>
|