Skip to content

Commit

Permalink
Merge pull request #100 from OnroerendErfgoed/develop
Browse files Browse the repository at this point in the history
release 0.9.1
  • Loading branch information
cedrikv authored Mar 5, 2021
2 parents f1190cf + 8e64960 commit 9bf479f
Show file tree
Hide file tree
Showing 47 changed files with 278 additions and 219 deletions.
5 changes: 3 additions & 2 deletions dist/commonjs/adres-crab/adres-crab.d.ts
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
import { BindingEngine } from 'aurelia-framework';
import { ValidationController, ValidationControllerFactory } from 'aurelia-validation';
import { Adres, Huisnummer } from './models/locatie';
import { Adres, Huisnummer } from './models/adres';
import { CrabService } from '../services/crab.api-service';
import { IAdresCrabConfig } from './types/adres-crab-config';
export declare class AdresCrab {
controller: ValidationController;
private controllerFactory;
private crabService;
private bindingEngine;
disabled: boolean;
data: Adres;
config: IAdresCrabConfig;
landen: any[];
gemeente: string;
postcode: string;
straat: string;
huisnummer: string;
private suggest;
private autocompleteType;
constructor(controller: ValidationController, controllerFactory: ValidationControllerFactory, crabService: CrabService, bindingEngine: BindingEngine);
bind(): void;
parseField(value: any, property: any): void;
Expand Down
2 changes: 1 addition & 1 deletion dist/commonjs/adres-crab/adres-crab.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/commonjs/adres-crab/adres-crab.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<template><require from="./styles/adres-crab.css"></require><div class="adres-crab"><div class="placeholder-container ${ disabled ? 'placeholder-disabled' : '' }"><label>Land</label> <select value.bind="data.land" disabled.bind="disabled"><option repeat.for="land of landen" value.bind="land.id"> ${land.naam} </option></select></div><div if.bind="data.land === 'BE'"><div class="placeholder-container ${ !data.land || disabled ? 'placeholder-disabled' : '' }"><label>Gemeente <span title="Opgelet, enkel de hoofdgemeenten (en niet de deelgemeenten) kunnen ingevuld worden.">(?)</span></label><autocomplete service.bind="suggest.gemeenten" value.bind="data.gemeente & validate" label="naam" placeholder="gemeente" disabled.bind="!data.land || disabled" change.delegate="gemeenteChanged()"><template replace-part="suggestion"> ${suggestion.naam} </template></autocomplete></div><div class="placeholder-container ${ !data.gemeente.id || disabled ? 'placeholder-disabled' : '' }"><label>Postcode</label><autocomplete service.bind="suggest.postcodes" value.bind="data.postcode & validate" label="naam" placeholder="postcode" disabled.bind="!data.gemeente.id || disabled"><template replace-part="suggestion"> ${suggestion.naam} </template></autocomplete></div><div class="placeholder-container ${ !data.gemeente.id || disabled ? 'placeholder-disabled' : '' }"><label>Straat</label><autocomplete service.bind="suggest.straten" value.bind="data.straat & validate" label="naam" placeholder="straat" disabled.bind="!data.gemeente.id || disabled" change.delegate="straatChanged()"><template replace-part="suggestion"> ${suggestion.naam} </template></autocomplete></div><div class="placeholder-container ${ !data.straat || disabled ? 'placeholder-disabled' : '' }"><label>Huisnummer</label><autocomplete service.bind="suggest.huisnummers" parser.bind="huisnummerParser" label="naam" placeholder="huisnummer" minlength="1" disabled.bind="!data.straat || disabled" value.bind="data.huisnummer & validate" type.bind="autocompleteType.Suggest"><template replace-part="suggestion"> ${suggestion.naam} </template></autocomplete></div></div><div if.bind="data.land !== 'BE'"><div class="placeholder-container ${ disabled ? 'placeholder-disabled' : '' }"><label>Gemeente <span title="Opgelet, enkel de hoofdgemeenten (en niet de deelgemeenten) kunnen ingevuld worden.">(?)</span></label> <input type="text" value.bind="gemeente & validate" placeholder="gemeente" change.delegate="parseField(gemeente, 'gemeente')" disabled.bind="disabled"></div><div class="placeholder-container ${ disabled ? 'placeholder-disabled' : '' }"><label>Postcode</label> <input type="text" value.bind="postcode & validate" placeholder="postcode" change.delegate="parseField(postcode, 'postcode')" disabled.bind="disabled"></div><div class="placeholder-container ${ disabled ? 'placeholder-disabled' : '' }"><label>Straat</label> <input type="text" value.bind="straat & validate" placeholder="straat" change.delegate="parseField(straat, 'straat')" disabled.bind="disabled"></div><div class="placeholder-container ${ disabled ? 'placeholder-disabled' : '' }"><label>Huisnummer</label> <input type="text" value.bind="huisnummer & validate" placeholder="huisnummer" change.delegate="parseField(huisnummer, 'huisnummer')" disabled.bind="disabled"></div></div><div class="placeholder-container ${ disabled ? 'placeholder-disabled' : '' }"><label>Busnr.</label> <input type="text" value.bind="data.subadres" placeholder="postbus" disabled.bind="disabled"></div></div></template>
<template><require from="./styles/adres-crab.css"></require><div class="adres-crab"><div class="placeholder-container ${ disabled ? 'placeholder-disabled' : '' }"><label>Land</label> <select value.bind="data.land" disabled.bind="disabled"><option repeat.for="land of landen" value.bind="land.id"> ${land.naam} </option></select></div><div if.bind="data.land === 'BE'"><div class="placeholder-container ${ !data.land || disabled ? 'placeholder-disabled' : '' }"><label>Gemeente <span title="Opgelet, enkel de hoofdgemeenten (en niet de deelgemeenten) kunnen ingevuld worden.">(?)</span></label><autocomplete service.bind="suggest.gemeenten" value.bind="data.gemeente & validate" label="naam" placeholder="gemeente" disabled.bind="!data.land || disabled" change.delegate="gemeenteChanged()"><template replace-part="suggestion"> ${suggestion.naam} </template></autocomplete></div><div class="placeholder-container ${ !data.gemeente.id || disabled ? 'placeholder-disabled' : '' }"><label>Postcode</label><autocomplete service.bind="suggest.postcodes" value.bind="data.postcode & validate" label="naam" placeholder="postcode" disabled.bind="!data.gemeente.id || disabled"><template replace-part="suggestion"> ${suggestion.naam} </template></autocomplete></div><div class="placeholder-container ${ !data.gemeente.id || disabled ? 'placeholder-disabled' : '' }"><label>Straat</label><autocomplete service.bind="suggest.straten" value.bind="data.straat & validate" label="naam" placeholder="straat" disabled.bind="!data.gemeente.id || disabled" change.delegate="straatChanged()"><template replace-part="suggestion"> ${suggestion.naam} </template></autocomplete></div><div class="placeholder-container ${ !data.straat || disabled ? 'placeholder-disabled' : '' }"><label>Huisnummer</label><autocomplete service.bind="suggest.huisnummers" parser.bind="huisnummerParser" label="naam" placeholder="huisnummer" minlength="1" disabled.bind="!data.straat || disabled" value.bind="data.huisnummer & validate" type.bind="config.huisnummer.autocompleteType"><template replace-part="suggestion"> ${suggestion.naam} </template></autocomplete></div></div><div if.bind="data.land !== 'BE'"><div class="placeholder-container ${ disabled ? 'placeholder-disabled' : '' }"><label>Gemeente <span title="Opgelet, enkel de hoofdgemeenten (en niet de deelgemeenten) kunnen ingevuld worden.">(?)</span></label> <input type="text" value.bind="gemeente & validate" placeholder="gemeente" change.delegate="parseField(gemeente, 'gemeente')" disabled.bind="disabled"></div><div class="placeholder-container ${ disabled ? 'placeholder-disabled' : '' }"><label>Postcode</label> <input type="text" value.bind="postcode & validate" placeholder="postcode" change.delegate="parseField(postcode, 'postcode')" disabled.bind="disabled"></div><div class="placeholder-container ${ disabled ? 'placeholder-disabled' : '' }"><label>Straat</label> <input type="text" value.bind="straat & validate" placeholder="straat" change.delegate="parseField(straat, 'straat')" disabled.bind="disabled"></div><div class="placeholder-container ${ disabled ? 'placeholder-disabled' : '' }"><label>Huisnummer</label> <input type="text" value.bind="huisnummer & validate" placeholder="huisnummer" change.delegate="parseField(huisnummer, 'huisnummer')" disabled.bind="disabled"></div></div><div class="placeholder-container ${ disabled ? 'placeholder-disabled' : '' }"><label>Busnr.</label> <input type="text" value.bind="data.subadres" placeholder="postbus" disabled.bind="disabled"></div></div></template>
24 changes: 17 additions & 7 deletions dist/commonjs/adres-crab/adres-crab.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 9bf479f

Please sign in to comment.