├── .babelrc ├── .github ├── FUNDING.yml ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md ├── dependabot.yml └── workflows │ ├── release.yml │ └── validate.yml ├── .gitignore ├── .husky └── pre-commit ├── CHANGELOG.md ├── LICENSE ├── README.md ├── dist └── body-miscale-card.js ├── docs ├── README.md ├── index.html └── severity-data.js ├── eslint.config.mjs ├── examples ├── add-card.png ├── card-configuration.png ├── default.jpg └── with-image.jpg ├── hacs.json ├── package.json ├── rollup.config.mjs ├── src ├── body-miscale-card.ts ├── color-select.ts ├── compute-color.ts ├── config.ts ├── const.ts ├── declarations.d.ts ├── editor.css ├── editor.ts ├── helpers.ts ├── icon.ts ├── images │ ├── bodyscoreIcon │ │ ├── Thumbs.db │ │ ├── basal_metabolism.png │ │ ├── bmi.png │ │ ├── body_fat.png │ │ ├── body_type.png │ │ ├── bone_mass.png │ │ ├── ideal.png │ │ ├── metabolic_age.png │ │ ├── muscle_mass.png │ │ ├── protein.png │ │ ├── visceral_fat.png │ │ └── water.png │ └── miscale2.jpg ├── localize.ts ├── styles.css ├── translations │ ├── ca.json │ ├── cs.json │ ├── da.json │ ├── de.json │ ├── en.json │ ├── es.json │ ├── fr.json │ ├── hu.json │ ├── it.json │ ├── ja.json │ ├── nl.json │ ├── pl.json │ ├── pt-BR.json │ ├── pt.json │ ├── ro.json │ ├── ru.json │ ├── uk.json │ ├── vi.json │ ├── zh-Hans.json │ └── zh-Hant.json └── types.ts └── tsconfig.json /.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dckiller51/lovelace-body-miscale-card/HEAD/.babelrc -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: [dckiller51] 2 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dckiller51/lovelace-body-miscale-card/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dckiller51/lovelace-body-miscale-card/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dckiller51/lovelace-body-miscale-card/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dckiller51/lovelace-body-miscale-card/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.github/workflows/validate.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dckiller51/lovelace-body-miscale-card/HEAD/.github/workflows/validate.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | yarn.lock -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- 1 | npm test 2 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dckiller51/lovelace-body-miscale-card/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dckiller51/lovelace-body-miscale-card/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dckiller51/lovelace-body-miscale-card/HEAD/README.md -------------------------------------------------------------------------------- /dist/body-miscale-card.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dckiller51/lovelace-body-miscale-card/HEAD/dist/body-miscale-card.js -------------------------------------------------------------------------------- /docs/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dckiller51/lovelace-body-miscale-card/HEAD/docs/README.md -------------------------------------------------------------------------------- /docs/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dckiller51/lovelace-body-miscale-card/HEAD/docs/index.html -------------------------------------------------------------------------------- /docs/severity-data.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dckiller51/lovelace-body-miscale-card/HEAD/docs/severity-data.js -------------------------------------------------------------------------------- /eslint.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dckiller51/lovelace-body-miscale-card/HEAD/eslint.config.mjs -------------------------------------------------------------------------------- /examples/add-card.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dckiller51/lovelace-body-miscale-card/HEAD/examples/add-card.png -------------------------------------------------------------------------------- /examples/card-configuration.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dckiller51/lovelace-body-miscale-card/HEAD/examples/card-configuration.png -------------------------------------------------------------------------------- /examples/default.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dckiller51/lovelace-body-miscale-card/HEAD/examples/default.jpg -------------------------------------------------------------------------------- /examples/with-image.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dckiller51/lovelace-body-miscale-card/HEAD/examples/with-image.jpg -------------------------------------------------------------------------------- /hacs.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dckiller51/lovelace-body-miscale-card/HEAD/hacs.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dckiller51/lovelace-body-miscale-card/HEAD/package.json -------------------------------------------------------------------------------- /rollup.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dckiller51/lovelace-body-miscale-card/HEAD/rollup.config.mjs -------------------------------------------------------------------------------- /src/body-miscale-card.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dckiller51/lovelace-body-miscale-card/HEAD/src/body-miscale-card.ts -------------------------------------------------------------------------------- /src/color-select.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dckiller51/lovelace-body-miscale-card/HEAD/src/color-select.ts -------------------------------------------------------------------------------- /src/compute-color.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dckiller51/lovelace-body-miscale-card/HEAD/src/compute-color.ts -------------------------------------------------------------------------------- /src/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dckiller51/lovelace-body-miscale-card/HEAD/src/config.ts -------------------------------------------------------------------------------- /src/const.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dckiller51/lovelace-body-miscale-card/HEAD/src/const.ts -------------------------------------------------------------------------------- /src/declarations.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dckiller51/lovelace-body-miscale-card/HEAD/src/declarations.d.ts -------------------------------------------------------------------------------- /src/editor.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dckiller51/lovelace-body-miscale-card/HEAD/src/editor.css -------------------------------------------------------------------------------- /src/editor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dckiller51/lovelace-body-miscale-card/HEAD/src/editor.ts -------------------------------------------------------------------------------- /src/helpers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dckiller51/lovelace-body-miscale-card/HEAD/src/helpers.ts -------------------------------------------------------------------------------- /src/icon.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dckiller51/lovelace-body-miscale-card/HEAD/src/icon.ts -------------------------------------------------------------------------------- /src/images/bodyscoreIcon/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dckiller51/lovelace-body-miscale-card/HEAD/src/images/bodyscoreIcon/Thumbs.db -------------------------------------------------------------------------------- /src/images/bodyscoreIcon/basal_metabolism.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dckiller51/lovelace-body-miscale-card/HEAD/src/images/bodyscoreIcon/basal_metabolism.png -------------------------------------------------------------------------------- /src/images/bodyscoreIcon/bmi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dckiller51/lovelace-body-miscale-card/HEAD/src/images/bodyscoreIcon/bmi.png -------------------------------------------------------------------------------- /src/images/bodyscoreIcon/body_fat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dckiller51/lovelace-body-miscale-card/HEAD/src/images/bodyscoreIcon/body_fat.png -------------------------------------------------------------------------------- /src/images/bodyscoreIcon/body_type.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dckiller51/lovelace-body-miscale-card/HEAD/src/images/bodyscoreIcon/body_type.png -------------------------------------------------------------------------------- /src/images/bodyscoreIcon/bone_mass.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dckiller51/lovelace-body-miscale-card/HEAD/src/images/bodyscoreIcon/bone_mass.png -------------------------------------------------------------------------------- /src/images/bodyscoreIcon/ideal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dckiller51/lovelace-body-miscale-card/HEAD/src/images/bodyscoreIcon/ideal.png -------------------------------------------------------------------------------- /src/images/bodyscoreIcon/metabolic_age.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dckiller51/lovelace-body-miscale-card/HEAD/src/images/bodyscoreIcon/metabolic_age.png -------------------------------------------------------------------------------- /src/images/bodyscoreIcon/muscle_mass.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dckiller51/lovelace-body-miscale-card/HEAD/src/images/bodyscoreIcon/muscle_mass.png -------------------------------------------------------------------------------- /src/images/bodyscoreIcon/protein.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dckiller51/lovelace-body-miscale-card/HEAD/src/images/bodyscoreIcon/protein.png -------------------------------------------------------------------------------- /src/images/bodyscoreIcon/visceral_fat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dckiller51/lovelace-body-miscale-card/HEAD/src/images/bodyscoreIcon/visceral_fat.png -------------------------------------------------------------------------------- /src/images/bodyscoreIcon/water.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dckiller51/lovelace-body-miscale-card/HEAD/src/images/bodyscoreIcon/water.png -------------------------------------------------------------------------------- /src/images/miscale2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dckiller51/lovelace-body-miscale-card/HEAD/src/images/miscale2.jpg -------------------------------------------------------------------------------- /src/localize.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dckiller51/lovelace-body-miscale-card/HEAD/src/localize.ts -------------------------------------------------------------------------------- /src/styles.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dckiller51/lovelace-body-miscale-card/HEAD/src/styles.css -------------------------------------------------------------------------------- /src/translations/ca.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dckiller51/lovelace-body-miscale-card/HEAD/src/translations/ca.json -------------------------------------------------------------------------------- /src/translations/cs.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dckiller51/lovelace-body-miscale-card/HEAD/src/translations/cs.json -------------------------------------------------------------------------------- /src/translations/da.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dckiller51/lovelace-body-miscale-card/HEAD/src/translations/da.json -------------------------------------------------------------------------------- /src/translations/de.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dckiller51/lovelace-body-miscale-card/HEAD/src/translations/de.json -------------------------------------------------------------------------------- /src/translations/en.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dckiller51/lovelace-body-miscale-card/HEAD/src/translations/en.json -------------------------------------------------------------------------------- /src/translations/es.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dckiller51/lovelace-body-miscale-card/HEAD/src/translations/es.json -------------------------------------------------------------------------------- /src/translations/fr.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dckiller51/lovelace-body-miscale-card/HEAD/src/translations/fr.json -------------------------------------------------------------------------------- /src/translations/hu.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dckiller51/lovelace-body-miscale-card/HEAD/src/translations/hu.json -------------------------------------------------------------------------------- /src/translations/it.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dckiller51/lovelace-body-miscale-card/HEAD/src/translations/it.json -------------------------------------------------------------------------------- /src/translations/ja.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dckiller51/lovelace-body-miscale-card/HEAD/src/translations/ja.json -------------------------------------------------------------------------------- /src/translations/nl.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dckiller51/lovelace-body-miscale-card/HEAD/src/translations/nl.json -------------------------------------------------------------------------------- /src/translations/pl.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dckiller51/lovelace-body-miscale-card/HEAD/src/translations/pl.json -------------------------------------------------------------------------------- /src/translations/pt-BR.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dckiller51/lovelace-body-miscale-card/HEAD/src/translations/pt-BR.json -------------------------------------------------------------------------------- /src/translations/pt.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dckiller51/lovelace-body-miscale-card/HEAD/src/translations/pt.json -------------------------------------------------------------------------------- /src/translations/ro.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dckiller51/lovelace-body-miscale-card/HEAD/src/translations/ro.json -------------------------------------------------------------------------------- /src/translations/ru.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dckiller51/lovelace-body-miscale-card/HEAD/src/translations/ru.json -------------------------------------------------------------------------------- /src/translations/uk.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dckiller51/lovelace-body-miscale-card/HEAD/src/translations/uk.json -------------------------------------------------------------------------------- /src/translations/vi.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dckiller51/lovelace-body-miscale-card/HEAD/src/translations/vi.json -------------------------------------------------------------------------------- /src/translations/zh-Hans.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dckiller51/lovelace-body-miscale-card/HEAD/src/translations/zh-Hans.json -------------------------------------------------------------------------------- /src/translations/zh-Hant.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dckiller51/lovelace-body-miscale-card/HEAD/src/translations/zh-Hant.json -------------------------------------------------------------------------------- /src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dckiller51/lovelace-body-miscale-card/HEAD/src/types.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dckiller51/lovelace-body-miscale-card/HEAD/tsconfig.json --------------------------------------------------------------------------------