@haiilo/catalyst 5.0.0 → 5.1.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/README.md +0 -2
- package/dist/catalyst/catalyst.css +0 -9
- package/dist/catalyst/catalyst.esm.js +1 -1
- package/dist/catalyst/p-44e1b613.entry.js +10 -0
- package/dist/catalyst/p-44e1b613.entry.js.map +1 -0
- package/dist/catalyst/scss/_snippets/_form-label.scss +63 -0
- package/dist/catalyst/scss/index.scss +0 -1
- package/dist/cjs/cat-alert_24.cjs.entry.js +18 -20
- package/dist/cjs/cat-alert_24.cjs.entry.js.map +1 -1
- package/dist/collection/components/cat-input/cat-input.css +68 -41
- package/dist/collection/components/cat-input/cat-input.js +3 -3
- package/dist/collection/components/cat-input/cat-input.js.map +1 -1
- package/dist/collection/components/cat-label/cat-label.js +2 -0
- package/dist/collection/components/cat-label/cat-label.js.map +1 -1
- package/dist/collection/components/cat-select/cat-select.js +9 -11
- package/dist/collection/components/cat-select/cat-select.js.map +1 -1
- package/dist/collection/components/cat-select-demo/cat-select-demo.js +1 -1
- package/dist/collection/components/cat-select-demo/cat-select-demo.js.map +1 -1
- package/dist/collection/components/cat-textarea/cat-textarea.css +61 -34
- package/dist/collection/components/cat-textarea/cat-textarea.js +3 -3
- package/dist/collection/components/cat-textarea/cat-textarea.js.map +1 -1
- package/dist/collection/scss/_snippets/_form-label.scss +63 -0
- package/dist/collection/scss/index.scss +0 -1
- package/dist/components/cat-input.js +4 -4
- package/dist/components/cat-input.js.map +1 -1
- package/dist/components/cat-label.js.map +1 -1
- package/dist/components/cat-select-demo.js +1 -1
- package/dist/components/cat-select-demo.js.map +1 -1
- package/dist/components/cat-select2.js +9 -11
- package/dist/components/cat-select2.js.map +1 -1
- package/dist/components/cat-textarea.js +4 -4
- package/dist/components/cat-textarea.js.map +1 -1
- package/dist/esm/cat-alert_24.entry.js +18 -20
- package/dist/esm/cat-alert_24.entry.js.map +1 -1
- package/dist/types/components/cat-label/cat-label.d.ts +2 -0
- package/dist/types/components/cat-select/cat-select.d.ts +0 -1
- package/dist/types/components.d.ts +4 -0
- package/package.json +2 -2
- package/dist/catalyst/p-50855511.entry.js +0 -10
- package/dist/catalyst/p-50855511.entry.js.map +0 -1
- package/dist/catalyst/scss/core/_form.scss +0 -8
- package/dist/collection/scss/core/_form.scss +0 -8
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cat-select-demo.js","sourceRoot":"","sources":["../../../src/components/cat-select-demo/cat-select-demo.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAmBjC,MAAM,OAAO,aAAa;EAUxB,gBAAgB;;IACd,MAAA,IAAI,CAAC,cAAc,0CAAE,OAAO,CAAC;MAC3B,OAAO,EAAE,CAAC,GAAa,EAAE,EAAE;QACzB,OAAO,EAAE,CACP,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC;UACb,EAAE;UACF,SAAS,EAAE,MAAM;UACjB,QAAQ,EAAE,QAAQ,EAAE,GAAG;UACvB,IAAI,EAAE,UAAU;SACjB,CAAC,CAAC,CACJ,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC;MACrB,CAAC;MACD,QAAQ,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,EAAE;QACvC,OAAO,IAAI,KAAK,IAAI;UAClB,CAAC,CAAC,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,EAAE,aAAa,EAAE,CAAC,EAAE,CAAC;UACnD,CAAC,CAAC,EAAE,CAAC;YACD,IAAI,EAAE,KAAK;YACX,aAAa,EAAE,KAAK;YACpB,OAAO,EAAE,KAAK,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,EAAE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,sCAAsC;GAChD;EACD;IACE,EAAE,EAAE,KAAK;IACT,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,YAAY;GACtB;EACD;IACE,EAAE,EAAE,KAAK;IACT,OAAO,EAAE,YAAY;IACrB,OAAO,EAAE,SAAS;GACnB;EACD;IACE,EAAE,EAAE,KAAK;IACT,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,WAAW;GACrB;EACD;IACE,EAAE,EAAE,KAAK;IACT,OAAO,EAAE,WAAW;IACpB,OAAO,EAAE,SAAS;GACnB;EACD;IACE,EAAE,EAAE,KAAK;IACT,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,OAAO;GACjB;EACD;IACE,EAAE,EAAE,KAAK;IACT,OAAO,EAAE,yBAAyB;IAClC,OAAO,EAAE,WAAW;GACrB;EACD;IACE,EAAE,EAAE,KAAK;IACT,OAAO,EAAE,sBAAsB;IAC/B,OAAO,EAAE,kBAAkB;GAC5B;EACD;IACE,EAAE,EAAE,KAAK;IACT,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE,SAAS;GACnB;EACD;IACE,EAAE,EAAE,KAAK;IACT,OAAO,EAAE,mBAAmB;IAC5B,OAAO,EAAE,UAAU;GACpB;EACD;IACE,EAAE,EAAE,KAAK;IACT,OAAO,EAAE,gBAAgB;IACzB,OAAO,EAAE,QAAQ;GAClB;EACD;IACE,EAAE,EAAE,KAAK;IACT,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE,OAAO;GACjB;EACD;IACE,EAAE,EAAE,KAAK;IACT,OAAO,EAAE,QAAQ;IACjB,OAAO,EAAE,QAAQ;GAClB;EACD;IACE,EAAE,EAAE,KAAK;IACT,OAAO,EAAE,UAAU;IACnB,OAAO,EAAE,QAAQ;GAClB;CACF,CAAC","sourcesContent":["import { Component, h, Host } from '@stencil/core';\nimport { of, delay } from 'rxjs';\n\ninterface User {\n id: string;\n firstName: string;\n lastName: string;\n desc: string;\n}\n\ninterface Country {\n id: string;\n country: string;\n capital?: string;\n}\n\n@Component({\n tag: 'cat-select-demo',\n shadow: true\n})\nexport class CatSelectTest {\n private multipleSelect?: HTMLCatSelectElement;\n private multipleSelectAvatar?: HTMLCatSelectElement;\n private multipleSelectAvatarInitials?: HTMLCatSelectElement;\n private multipleSelectTagging?: HTMLCatSelectElement;\n private singleSelect?: HTMLCatSelectElement;\n private singleSelectAvatar?: HTMLCatSelectElement;\n private singleSelectAvatarInitials?: HTMLCatSelectElement;\n private singleSelectTagging?: HTMLCatSelectElement;\n\n componentDidLoad(): void {\n this.multipleSelect?.connect({\n resolve: (ids: string[]) => {\n return of(\n ids.map(id => ({\n id,\n firstName: 'John',\n lastName: `Doe (${id})`,\n desc: 'resolved'\n }))\n ).pipe(delay(500));\n },\n retrieve: (term: string, page: number) => {\n return term === 'no'\n ? of({ last: true, content: [], totalElements: 0 })\n : of({\n last: false,\n totalElements: 10000,\n content: Array.from({ length: 10 }, (_, i) => ({\n id: '' + (i + page * 10),\n firstName: 'John',\n lastName: `Doe (${i + page * 10})`,\n desc: `\"${term}\": page ${page}`\n }))\n }).pipe(delay(500));\n },\n render: (user: User) => ({\n label: `${user.firstName} ${user.lastName}`,\n description: user.desc\n })\n });\n this.multipleSelectAvatar?.connect({\n resolve: (ids: string[]) => {\n return of(\n ids.map(id => ({\n id,\n firstName: 'John',\n lastName: `Doe (${id})`,\n desc: 'resolved'\n }))\n ).pipe(delay(500));\n },\n retrieve: (term: string, page: number) => {\n return term === 'no'\n ? of({ last: true, content: [], totalElements: 0 })\n : of({\n last: false,\n totalElements: 10000,\n content: Array.from({ length: 10 }, (_, i) => ({\n id: '' + (i + page * 10),\n firstName: 'John',\n lastName: `Doe (${i + page * 10})`,\n desc: `\"${term}\": page ${page}`\n }))\n }).pipe(delay(500));\n },\n render: (user: User) => ({\n label: `${user.firstName} ${user.lastName}`,\n description: user.desc,\n avatar: {\n src: `https://picsum.photos/id/${Math.floor(Math.random() * 100)}/200`,\n round: true\n }\n })\n });\n this.multipleSelectAvatarInitials?.connect({\n resolve: (ids: string[]) => {\n return of(\n ids.map(id => ({\n id,\n firstName: 'John',\n lastName: `Doe (${id})`,\n desc: 'resolved'\n }))\n ).pipe(delay(500));\n },\n retrieve: (term: string, page: number) => {\n return term === 'no'\n ? of({ last: true, content: [], totalElements: 0 })\n : of({\n last: false,\n totalElements: 10000,\n content: Array.from({ length: 10 }, (_, i) => ({\n id: '' + (i + page * 10),\n firstName: 'John',\n lastName: `Doe (${i + page * 10})`,\n desc: `\"${term}\": page ${page}`\n }))\n }).pipe(delay(500));\n },\n render: (user: User) => ({\n label: `${user.firstName} ${user.lastName}`,\n description: user.desc,\n avatar: {\n round: true,\n initials: `JD`\n }\n })\n });\n this.multipleSelectTagging?.connect(this.countryConnector);\n this.singleSelect?.connect({\n resolve: (ids: string[]) => {\n return of(\n ids.map(id => ({\n id,\n firstName: 'John',\n lastName: `Doe (${id})`,\n desc: 'resolved'\n }))\n ).pipe(delay(500));\n },\n retrieve: (term: string, page: number) => {\n return term === 'no'\n ? of({ last: true, content: [], totalElements: 0 })\n : of({\n last: false,\n totalElements: 10000,\n content: Array.from({ length: 10 }, (_, i) => ({\n id: '' + (i + page * 10),\n firstName: 'John',\n lastName: `Doe (${i + page * 10})`,\n desc: `\"${term}\": page ${page}`\n }))\n }).pipe(delay(500));\n },\n render: (user: User) => ({\n label: `${user.firstName} ${user.lastName}`,\n description: user.desc\n })\n });\n this.singleSelectAvatar?.connect(this.countryConnector);\n this.singleSelectAvatarInitials?.connect({\n ...this.countryConnector,\n render: (country: Country) => ({\n label: country.country,\n description: country.capital || 'No capital',\n avatar: {\n round: true,\n initials: `${country.country.charAt(0)?.toUpperCase() ?? 'J'}${\n country.capital?.charAt(0)?.toUpperCase() ?? 'D'\n }`\n }\n })\n });\n this.singleSelectTagging?.connect(this.countryConnector);\n setTimeout(() => this.multipleSelect && (this.multipleSelect.value = []), 5000);\n }\n\n render() {\n return (\n <Host style={{ display: 'flex', flexDirection: 'column' }}>\n <cat-select\n label=\"Multiple Select\"\n hint=\"This is a hint!\"\n ref={el => (this.multipleSelect = el)}\n value={['1']}\n placeholder=\"Hello World\"\n onCatChange={() => console.log('Multiple change', this.multipleSelect?.value)}\n onCatBlur={e => console.log('Multiple blur', e)}\n multiple\n noItems=\"No results\"\n clearable\n >\n <span slot=\"hint\">Searching for \"no\" -{'>'} no options are returned!</span>\n </cat-select>\n <cat-select\n label=\"Multiple with img\"\n ref={el => (this.multipleSelectAvatar = el)}\n value={['1']}\n placeholder=\"Hello World\"\n multiple\n clearable\n ></cat-select>\n <cat-select\n label=\"Multiple with initials\"\n ref={el => (this.multipleSelectAvatarInitials = el)}\n value={['1']}\n placeholder=\"Hello World\"\n multiple\n clearable\n ></cat-select>\n <cat-select\n label=\"Multiple with tagging support\"\n hint=\"This is a hint!\"\n ref={el => (this.multipleSelectTagging = el)}\n value={{ ids: ['1'], tags: ['Test', 'Albania', 'Algeria'] }}\n placeholder=\"Select country\"\n onCatChange={() => console.log('Multiple tagging change', this.multipleSelectTagging?.value)}\n multiple\n tags\n clearable\n ></cat-select>\n <cat-select\n label=\"Single Select\"\n hint=\"This is a hint!\"\n ref={el => (this.singleSelect = el)}\n placeholder=\"Search for a country or capital\"\n onCatBlur={e => console.log('Single blur', e)}\n clearable\n ></cat-select>\n <cat-select\n label=\"Single with img\"\n ref={el => (this.singleSelectAvatar = el)}\n value={'1'}\n placeholder=\"Search for a country or capital\"\n clearable\n ></cat-select>\n <cat-select\n label=\"Single with initials\"\n ref={el => (this.singleSelectAvatarInitials = el)}\n placeholder=\"Hello World\"\n clearable\n ></cat-select>\n <cat-dropdown overflow noAutoClose>\n <cat-button slot=\"trigger\" style={{ width: '50%' }}>\n Open select\n </cat-button>\n <div slot=\"content\" style={{ width: '400px' }}>\n <cat-select\n label=\"Single with tagging support\"\n ref={el => (this.singleSelectTagging = el)}\n value={{ id: '', tag: 'Albania' }}\n placeholder=\"Search for a country or capital\"\n onCatChange={() => console.log('Single change', this.singleSelectTagging?.value)}\n tagHint=\"new country\"\n tags\n clearable\n style={{ width: '90%' }}\n ></cat-select>\n </div>\n </cat-dropdown>\n </Host>\n );\n }\n\n private get countryConnector() {\n return {\n resolve: (ids: string[]) => {\n return of(ids.map(id => countries.find(value => value.id === id))).pipe(delay(500));\n },\n retrieve: (term: string, page: number) => {\n const filter = countries.filter(\n value =>\n value.country.toLowerCase().indexOf(term.toLowerCase()) === 0 ||\n value.capital?.toLowerCase().indexOf(term.toLowerCase()) === 0\n );\n const slice = filter.slice(page * 10, page * 10 + 10);\n return of({\n last: slice.length < 10,\n totalElements: filter.length,\n content: slice\n }).pipe(delay(500));\n },\n render: (country: Country) => ({\n label: country.country,\n description: country.capital || 'No capital',\n avatar: {\n src: `https://picsum.photos/id/${Math.floor(Math.random() * 100)}/200`,\n round: true\n }\n })\n };\n }\n}\n\nconst countries: Country[] = [\n {\n id: '0',\n country:\n 'Afghanistan Extra extra large extra large extra large extra large extra large extra large extra large extra large extra large extra large extra large extra large extra large extra large ',\n capital: 'Kabul'\n },\n {\n id: '1',\n country: 'Albania',\n capital: 'Tirana'\n },\n {\n id: '2',\n country: 'Algeria',\n capital: 'Alger'\n },\n {\n id: '3',\n country: 'American Samoa',\n capital: 'Fagatogo'\n },\n {\n id: '4',\n country: 'Andorra',\n capital: 'Andorra la Vella'\n },\n {\n id: '5',\n country: 'Angola',\n capital: 'Luanda'\n },\n {\n id: '6',\n country: 'Anguilla',\n capital: 'The Valley'\n },\n {\n id: '7',\n country: 'Antarctica'\n },\n {\n id: '8',\n country: 'Antigua and Barbuda',\n capital: \"Saint John's\"\n },\n {\n id: '9',\n country: 'Argentina',\n capital: 'Buenos Aires'\n },\n {\n id: '10',\n country: 'Armenia',\n capital: 'Yerevan'\n },\n {\n id: '11',\n country: 'Aruba',\n capital: 'Oranjestad'\n },\n {\n id: '12',\n country: 'Australia',\n capital: 'Canberra'\n },\n {\n id: '13',\n country: 'Austria',\n capital: 'Wien'\n },\n {\n id: '14',\n country: 'Azerbaijan',\n capital: 'Baku'\n },\n {\n id: '15',\n country: 'Bahamas',\n capital: 'Nassau'\n },\n {\n id: '16',\n country: 'Bahrain',\n capital: 'al-Manama'\n },\n {\n id: '17',\n country: 'Bangladesh',\n capital: 'Dhaka'\n },\n {\n id: '18',\n country: 'Barbados',\n capital: 'Bridgetown'\n },\n {\n id: '19',\n country: 'Belarus',\n capital: 'Minsk'\n },\n {\n id: '20',\n country: 'Belgium',\n capital: 'Bruxelles [Brussel]'\n },\n {\n id: '21',\n country: 'Belize',\n capital: 'Belmopan'\n },\n {\n id: '22',\n country: 'Benin',\n capital: 'Porto-Novo'\n },\n {\n id: '23',\n country: 'Bermuda',\n capital: 'Hamilton'\n },\n {\n id: '24',\n country: 'Bhutan',\n capital: 'Thimphu'\n },\n {\n id: '25',\n country: 'Bolivia',\n capital: 'La Paz'\n },\n {\n id: '26',\n country: 'Bosnia and Herzegovina',\n capital: 'Sarajevo'\n },\n {\n id: '27',\n country: 'Botswana',\n capital: 'Gaborone'\n },\n {\n id: '28',\n country: 'Bouvet Island'\n },\n {\n id: '29',\n country: 'Brazil',\n capital: 'Brasília'\n },\n {\n id: '30',\n country: 'British Indian Ocean Territory'\n },\n {\n id: '31',\n country: 'Brunei',\n capital: 'Bandar Seri Begawan'\n },\n {\n id: '32',\n country: 'Bulgaria',\n capital: 'Sofia'\n },\n {\n id: '33',\n country: 'Burkina Faso',\n capital: 'Ouagadougou'\n },\n {\n id: '34',\n country: 'Burundi',\n capital: 'Bujumbura'\n },\n {\n id: '35',\n country: 'Cambodia',\n capital: 'Phnom Penh'\n },\n {\n id: '36',\n country: 'Cameroon',\n capital: 'Yaound'\n },\n {\n id: '37',\n country: 'Canada',\n capital: 'Ottawa'\n },\n {\n id: '38',\n country: 'Cape Verde',\n capital: 'Praia'\n },\n {\n id: '39',\n country: 'Cayman Islands',\n capital: 'George Town'\n },\n {\n id: '40',\n country: 'Central African Republic',\n capital: 'Bangui'\n },\n {\n id: '41',\n country: 'Chad',\n capital: \"N'Djam\"\n },\n {\n id: '42',\n country: 'Chile',\n capital: 'Santiago de Chile'\n },\n {\n id: '43',\n country: 'China',\n capital: 'Peking'\n },\n {\n id: '44',\n country: 'Christmas Island',\n capital: 'Flying Fish Cove'\n },\n {\n id: '45',\n country: 'Cocos (Keeling) Islands',\n capital: 'West Island'\n },\n {\n id: '46',\n country: 'Colombia',\n capital: 'Santaf'\n },\n {\n id: '47',\n country: 'Comoros',\n capital: 'Moroni'\n },\n {\n id: '48',\n country: 'Congo',\n capital: 'Brazzaville'\n },\n {\n id: '49',\n country: 'Cook Islands',\n capital: 'Avarua'\n },\n {\n id: '50',\n country: 'Costa Rica',\n capital: 'San José'\n },\n {\n id: '51',\n country: 'Croatia',\n capital: 'Zagreb'\n },\n {\n id: '52',\n country: 'Cuba',\n capital: 'La Habana'\n },\n {\n id: '53',\n country: 'Cyprus',\n capital: 'Nicosia'\n },\n {\n id: '54',\n country: 'Czech Republic',\n capital: 'Praha'\n },\n {\n id: '55',\n country: 'Denmark',\n capital: 'Copenhagen'\n },\n {\n id: '56',\n country: 'Djibouti',\n capital: 'Djibouti'\n },\n {\n id: '57',\n country: 'Dominica',\n capital: 'Roseau'\n },\n {\n id: '58',\n country: 'Dominican Republic',\n capital: 'Santo Domingo de Guzm'\n },\n {\n id: '59',\n country: 'East Timor',\n capital: 'Dili'\n },\n {\n id: '60',\n country: 'Ecuador',\n capital: 'Quito'\n },\n {\n id: '61',\n country: 'Egypt',\n capital: 'Cairo'\n },\n {\n id: '62',\n country: 'El Salvador',\n capital: 'San Salvador'\n },\n {\n id: '63',\n country: 'England',\n capital: 'London'\n },\n {\n id: '64',\n country: 'Equatorial Guinea',\n capital: 'Malabo'\n },\n {\n id: '65',\n country: 'Eritrea',\n capital: 'Asmara'\n },\n {\n id: '66',\n country: 'Estonia',\n capital: 'Tallinn'\n },\n {\n id: '67',\n country: 'Ethiopia',\n capital: 'Addis Abeba'\n },\n {\n id: '68',\n country: 'Falkland Islands',\n capital: 'Stanley'\n },\n {\n id: '69',\n country: 'Faroe Islands',\n capital: 'Tórshavn'\n },\n {\n id: '70',\n country: 'Fiji Islands',\n capital: 'Suva'\n },\n {\n id: '71',\n country: 'Finland',\n capital: 'Helsinki [Helsingfors]'\n },\n {\n id: '72',\n country: 'France',\n capital: 'Paris'\n },\n {\n id: '73',\n country: 'French Guiana',\n capital: 'Cayenne'\n },\n {\n id: '74',\n country: 'French Polynesia',\n capital: 'Papeete'\n },\n {\n id: '75',\n country: 'French Southern territories'\n },\n {\n id: '76',\n country: 'Gabon',\n capital: 'Libreville'\n },\n {\n id: '77',\n country: 'Gambia',\n capital: 'Banjul'\n },\n {\n id: '78',\n country: 'Georgia',\n capital: 'Tbilisi'\n },\n {\n id: '79',\n country: 'Germany',\n capital: 'Berlin'\n },\n {\n id: '80',\n country: 'Ghana',\n capital: 'Accra'\n },\n {\n id: '81',\n country: 'Gibraltar',\n capital: 'Gibraltar'\n },\n {\n id: '82',\n country: 'Greece',\n capital: 'Athenai'\n },\n {\n id: '83',\n country: 'Greenland',\n capital: 'Nuuk'\n },\n {\n id: '84',\n country: 'Grenada',\n capital: \"Saint George's\"\n },\n {\n id: '85',\n country: 'Guadeloupe',\n capital: 'Basse-Terre'\n },\n {\n id: '86',\n country: 'Guam',\n capital: 'Aga'\n },\n {\n id: '87',\n country: 'Guatemala',\n capital: 'Ciudad de Guatemala'\n },\n {\n id: '88',\n country: 'Guinea',\n capital: 'Conakry'\n },\n {\n id: '89',\n country: 'Guinea-Bissau',\n capital: 'Bissau'\n },\n {\n id: '90',\n country: 'Guyana',\n capital: 'Georgetown'\n },\n {\n id: '91',\n country: 'Haiti',\n capital: 'Port-au-Prince'\n },\n {\n id: '92',\n country: 'Heard Island and McDonald Islands'\n },\n {\n id: '93',\n country: 'Holy See (Vatican City State)',\n capital: 'Citt'\n },\n {\n id: '94',\n country: 'Honduras',\n capital: 'Tegucigalpa'\n },\n {\n id: '95',\n country: 'Hong Kong',\n capital: 'Victoria'\n },\n {\n id: '96',\n country: 'Hungary',\n capital: 'Budapest'\n },\n {\n id: '97',\n country: 'Iceland',\n capital: 'Reykjavík'\n },\n {\n id: '98',\n country: 'India',\n capital: 'New Delhi'\n },\n {\n id: '99',\n country: 'Indonesia',\n capital: 'Jakarta'\n },\n {\n id: '100',\n country: 'Iran',\n capital: 'Tehran'\n },\n {\n id: '101',\n country: 'Iraq',\n capital: 'Baghdad'\n },\n {\n id: '102',\n country: 'Ireland',\n capital: 'Dublin'\n },\n {\n id: '103',\n country: 'Israel',\n capital: 'Jerusalem'\n },\n {\n id: '104',\n country: 'Italy',\n capital: 'Roma'\n },\n {\n id: '105',\n country: 'Ivory Coast',\n capital: 'Yamoussoukro'\n },\n {\n id: '106',\n country: 'Jamaica',\n capital: 'Kingston'\n },\n {\n id: '107',\n country: 'Japan',\n capital: 'Tokyo'\n },\n {\n id: '108',\n country: 'Jordan',\n capital: 'Amman'\n },\n {\n id: '109',\n country: 'Kazakhstan',\n capital: 'Astana'\n },\n {\n id: '110',\n country: 'Kenya',\n capital: 'Nairobi'\n },\n {\n id: '111',\n country: 'Kiribati',\n capital: 'Bairiki'\n },\n {\n id: '112',\n country: 'Kuwait',\n capital: 'Kuwait'\n },\n {\n id: '113',\n country: 'Kyrgyzstan',\n capital: 'Bishkek'\n },\n {\n id: '114',\n country: 'Laos',\n capital: 'Vientiane'\n },\n {\n id: '115',\n country: 'Latvia',\n capital: 'Riga'\n },\n {\n id: '116',\n country: 'Lebanon',\n capital: 'Beirut'\n },\n {\n id: '117',\n country: 'Lesotho',\n capital: 'Maseru'\n },\n {\n id: '118',\n country: 'Liberia',\n capital: 'Monrovia'\n },\n {\n id: '119',\n country: 'Libyan Arab Jamahiriya',\n capital: 'Tripoli'\n },\n {\n id: '120',\n country: 'Liechtenstein',\n capital: 'Vaduz'\n },\n {\n id: '121',\n country: 'Lithuania',\n capital: 'Vilnius'\n },\n {\n id: '122',\n country: 'Luxembourg',\n capital: 'Luxembourg [Luxemburg/L'\n },\n {\n id: '123',\n country: 'Macao',\n capital: 'Macao'\n },\n {\n id: '124',\n country: 'North Macedonia',\n capital: 'Skopje'\n },\n {\n id: '125',\n country: 'Madagascar',\n capital: 'Antananarivo'\n },\n {\n id: '126',\n country: 'Malawi',\n capital: 'Lilongwe'\n },\n {\n id: '127',\n country: 'Malaysia',\n capital: 'Kuala Lumpur'\n },\n {\n id: '128',\n country: 'Maldives',\n capital: 'Male'\n },\n {\n id: '129',\n country: 'Mali',\n capital: 'Bamako'\n },\n {\n id: '130',\n country: 'Malta',\n capital: 'Valletta'\n },\n {\n id: '131',\n country: 'Marshall Islands',\n capital: 'Dalap-Uliga-Darrit'\n },\n {\n id: '132',\n country: 'Martinique',\n capital: 'Fort-de-France'\n },\n {\n id: '133',\n country: 'Mauritania',\n capital: 'Nouakchott'\n },\n {\n id: '134',\n country: 'Mauritius',\n capital: 'Port-Louis'\n },\n {\n id: '135',\n country: 'Mayotte',\n capital: 'Mamoutzou'\n },\n {\n id: '136',\n country: 'Mexico',\n capital: 'Ciudad de M'\n },\n {\n id: '137',\n country: 'Micronesia, Federated States of',\n capital: 'Palikir'\n },\n {\n id: '138',\n country: 'Moldova',\n capital: 'Chisinau'\n },\n {\n id: '139',\n country: 'Monaco',\n capital: 'Monaco-Ville'\n },\n {\n id: '140',\n country: 'Mongolia',\n capital: 'Ulan Bator'\n },\n {\n id: '141',\n country: 'Montenegro',\n capital: 'Podgorica'\n },\n {\n id: '142',\n country: 'Montserrat',\n capital: 'Plymouth'\n },\n {\n id: '143',\n country: 'Morocco',\n capital: 'Rabat'\n },\n {\n id: '144',\n country: 'Mozambique',\n capital: 'Maputo'\n },\n {\n id: '145',\n country: 'Myanmar',\n capital: 'Rangoon (Yangon)'\n },\n {\n id: '146',\n country: 'Namibia',\n capital: 'Windhoek'\n },\n {\n id: '147',\n country: 'Nauru',\n capital: 'Yaren'\n },\n {\n id: '148',\n country: 'Nepal',\n capital: 'Kathmandu'\n },\n {\n id: '149',\n country: 'Netherlands',\n capital: 'Amsterdam'\n },\n {\n id: '150',\n country: 'Netherlands Antilles',\n capital: 'Willemstad'\n },\n {\n id: '151',\n country: 'New Caledonia',\n capital: 'Noum'\n },\n {\n id: '152',\n country: 'New Zealand',\n capital: 'Wellington'\n },\n {\n id: '153',\n country: 'Nicaragua',\n capital: 'Managua'\n },\n {\n id: '154',\n country: 'Niger',\n capital: 'Niamey'\n },\n {\n id: '155',\n country: 'Nigeria',\n capital: 'Abuja'\n },\n {\n id: '156',\n country: 'Niue',\n capital: 'Alofi'\n },\n {\n id: '157',\n country: 'Norfolk Island',\n capital: 'Kingston'\n },\n {\n id: '158',\n country: 'North Korea',\n capital: 'Pyongyang'\n },\n {\n id: '159',\n country: 'Northern Ireland',\n capital: 'Belfast'\n },\n {\n id: '160',\n country: 'Northern Mariana Islands',\n capital: 'Garapan'\n },\n {\n id: '161',\n country: 'Norway',\n capital: 'Oslo'\n },\n {\n id: '162',\n country: 'Oman',\n capital: 'Masqat'\n },\n {\n id: '163',\n country: 'Pakistan',\n capital: 'Islamabad'\n },\n {\n id: '164',\n country: 'Palau',\n capital: 'Koror'\n },\n {\n id: '165',\n country: 'Palestine',\n capital: 'Gaza'\n },\n {\n id: '166',\n country: 'Panama',\n capital: 'Ciudad de Panamá'\n },\n {\n id: '167',\n country: 'Papua New Guinea',\n capital: 'Port Moresby'\n },\n {\n id: '168',\n country: 'Paraguay',\n capital: 'Asunción'\n },\n {\n id: '169',\n country: 'Peru',\n capital: 'Lima'\n },\n {\n id: '170',\n country: 'Philippines',\n capital: 'Manila'\n },\n {\n id: '171',\n country: 'Pitcairn',\n capital: 'Adamstown'\n },\n {\n id: '172',\n country: 'Poland',\n capital: 'Warszawa'\n },\n {\n id: '173',\n country: 'Portugal',\n capital: 'Lisboa'\n },\n {\n id: '174',\n country: 'Puerto Rico',\n capital: 'San Juan'\n },\n {\n id: '175',\n country: 'Qatar',\n capital: 'Doha'\n },\n {\n id: '176',\n country: 'Reunion',\n capital: 'Saint-Denis'\n },\n {\n id: '177',\n country: 'Romania',\n capital: 'Bucuresti'\n },\n {\n id: '178',\n country: 'Russian Federation',\n capital: 'Moscow'\n },\n {\n id: '179',\n country: 'Rwanda',\n capital: 'Kigali'\n },\n {\n id: '180',\n country: 'Saint Helena',\n capital: 'Jamestown'\n },\n {\n id: '181',\n country: 'Saint Kitts and Nevis',\n capital: 'Basseterre'\n },\n {\n id: '182',\n country: 'Saint Lucia',\n capital: 'Castries'\n },\n {\n id: '183',\n country: 'Saint Pierre and Miquelon',\n capital: 'Saint-Pierre'\n },\n {\n id: '184',\n country: 'Saint Vincent and the Grenadines',\n capital: 'Kingstown'\n },\n {\n id: '185',\n country: 'Samoa',\n capital: 'Apia'\n },\n {\n id: '186',\n country: 'San Marino',\n capital: 'San Marino'\n },\n {\n id: '187',\n country: 'Sao Tome and Principe',\n capital: 'São Tomé'\n },\n {\n id: '188',\n country: 'Saudi Arabia',\n capital: 'Riyadh'\n },\n {\n id: '189',\n country: 'Scotland',\n capital: 'Edinburgh'\n },\n {\n id: '190',\n country: 'Senegal',\n capital: 'Dakar'\n },\n {\n id: '191',\n country: 'Serbia',\n capital: 'Belgrade'\n },\n {\n id: '192',\n country: 'Seychelles',\n capital: 'Victoria'\n },\n {\n id: '193',\n country: 'Sierra Leone',\n capital: 'Freetown'\n },\n {\n id: '194',\n country: 'Singapore',\n capital: 'Singapore'\n },\n {\n id: '195',\n country: 'Slovakia',\n capital: 'Bratislava'\n },\n {\n id: '196',\n country: 'Slovenia',\n capital: 'Ljubljana'\n },\n {\n id: '197',\n country: 'Solomon Islands',\n capital: 'Honiara'\n },\n {\n id: '198',\n country: 'Somalia',\n capital: 'Mogadishu'\n },\n {\n id: '199',\n country: 'South Africa',\n capital: 'Pretoria'\n },\n {\n id: '200',\n country: 'South Georgia and the South Sandwich Islands'\n },\n {\n id: '201',\n country: 'South Korea',\n capital: 'Seoul'\n },\n {\n id: '202',\n country: 'South Sudan',\n capital: 'Juba'\n },\n {\n id: '203',\n country: 'Spain',\n capital: 'Madrid'\n },\n {\n id: '204',\n country: 'Sri Lanka',\n capital: 'Colombo, Sri Jayawardenepura Kotte'\n },\n {\n id: '205',\n country: 'Sudan',\n capital: 'Khartum'\n },\n {\n id: '206',\n country: 'Suriname',\n capital: 'Paramaribo'\n },\n {\n id: '207',\n country: 'Svalbard and Jan Mayen',\n capital: 'Longyearbyen'\n },\n {\n id: '208',\n country: 'Swaziland',\n capital: 'Mbabane'\n },\n {\n id: '209',\n country: 'Sweden',\n capital: 'Stockholm'\n },\n {\n id: '210',\n country: 'Switzerland',\n capital: 'Bern'\n },\n {\n id: '211',\n country: 'Syria',\n capital: 'Damascus'\n },\n {\n id: '212',\n country: 'Tajikistan',\n capital: 'Dushanbe'\n },\n {\n id: '213',\n country: 'Tanzania',\n capital: 'Dodoma'\n },\n {\n id: '214',\n country: 'Thailand',\n capital: 'Bangkok'\n },\n {\n id: '215',\n country: 'The Democratic Republic of Congo',\n capital: 'Kinshasa'\n },\n {\n id: '216',\n country: 'Togo',\n capital: 'Lomé'\n },\n {\n id: '217',\n country: 'Tokelau',\n capital: 'Fakaofo'\n },\n {\n id: '218',\n country: 'Tonga',\n capital: \"Nuku'alofa\"\n },\n {\n id: '219',\n country: 'Trinidad and Tobago',\n capital: 'Port-of-Spain'\n },\n {\n id: '220',\n country: 'Tunisia',\n capital: 'Tunis'\n },\n {\n id: '221',\n country: 'Turkey',\n capital: 'Ankara'\n },\n {\n id: '222',\n country: 'Turkmenistan',\n capital: 'Ashgabat'\n },\n {\n id: '223',\n country: 'Turks and Caicos Islands',\n capital: 'Cockburn Town'\n },\n {\n id: '224',\n country: 'Tuvalu',\n capital: 'Funafuti'\n },\n {\n id: '225',\n country: 'Uganda',\n capital: 'Kampala'\n },\n {\n id: '226',\n country: 'Ukraine',\n capital: 'Kyiv'\n },\n {\n id: '227',\n country: 'United Arab Emirates',\n capital: 'Abu Dhabi'\n },\n {\n id: '228',\n country: 'United Kingdom',\n capital: 'London'\n },\n {\n id: '229',\n country: 'United States',\n capital: 'Washington'\n },\n {\n id: '230',\n country: 'United States Minor Outlying Islands'\n },\n {\n id: '231',\n country: 'Uruguay',\n capital: 'Montevideo'\n },\n {\n id: '232',\n country: 'Uzbekistan',\n capital: 'Toskent'\n },\n {\n id: '233',\n country: 'Vanuatu',\n capital: 'Port-Vila'\n },\n {\n id: '234',\n country: 'Venezuela',\n capital: 'Caracas'\n },\n {\n id: '235',\n country: 'Vietnam',\n capital: 'Hanoi'\n },\n {\n id: '236',\n country: 'Virgin Islands, British',\n capital: 'Road Town'\n },\n {\n id: '237',\n country: 'Virgin Islands, U.S.',\n capital: 'Charlotte Amalie'\n },\n {\n id: '238',\n country: 'Wales',\n capital: 'Cardiff'\n },\n {\n id: '239',\n country: 'Wallis and Futuna',\n capital: 'Mata-Utu'\n },\n {\n id: '240',\n country: 'Western Sahara',\n capital: 'El-Aai'\n },\n {\n id: '241',\n country: 'Yemen',\n capital: 'Sanaa'\n },\n {\n id: '242',\n country: 'Zambia',\n capital: 'Lusaka'\n },\n {\n id: '243',\n country: 'Zimbabwe',\n capital: 'Harare'\n }\n];\n"]}
|
|
1
|
+
{"version":3,"file":"cat-select-demo.js","sourceRoot":"","sources":["../../../src/components/cat-select-demo/cat-select-demo.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,MAAM,MAAM,CAAC;AAmBjC,MAAM,OAAO,aAAa;EAUxB,gBAAgB;;IACd,MAAA,IAAI,CAAC,cAAc,0CAAE,OAAO,CAAC;MAC3B,OAAO,EAAE,CAAC,GAAa,EAAE,EAAE;QACzB,OAAO,EAAE,CACP,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC;UACb,EAAE;UACF,SAAS,EAAE,MAAM;UACjB,QAAQ,EAAE,QAAQ,EAAE,GAAG;UACvB,IAAI,EAAE,UAAU;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EAAE,KAAK;IACT,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE,SAAS;GACnB;EACD;IACE,EAAE,EAAE,KAAK;IACT,OAAO,EAAE,mBAAmB;IAC5B,OAAO,EAAE,UAAU;GACpB;EACD;IACE,EAAE,EAAE,KAAK;IACT,OAAO,EAAE,gBAAgB;IACzB,OAAO,EAAE,QAAQ;GAClB;EACD;IACE,EAAE,EAAE,KAAK;IACT,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE,OAAO;GACjB;EACD;IACE,EAAE,EAAE,KAAK;IACT,OAAO,EAAE,QAAQ;IACjB,OAAO,EAAE,QAAQ;GAClB;EACD;IACE,EAAE,EAAE,KAAK;IACT,OAAO,EAAE,UAAU;IACnB,OAAO,EAAE,QAAQ;GAClB;CACF,CAAC","sourcesContent":["import { Component, h, Host } from '@stencil/core';\nimport { of, delay } from 'rxjs';\n\ninterface User {\n id: string;\n firstName: string;\n lastName: string;\n desc: string;\n}\n\ninterface Country {\n id: string;\n country: string;\n capital?: string;\n}\n\n@Component({\n tag: 'cat-select-demo',\n shadow: true\n})\nexport class CatSelectTest {\n private multipleSelect?: HTMLCatSelectElement;\n private multipleSelectAvatar?: HTMLCatSelectElement;\n private multipleSelectAvatarInitials?: HTMLCatSelectElement;\n private multipleSelectTagging?: HTMLCatSelectElement;\n private singleSelect?: HTMLCatSelectElement;\n private singleSelectAvatar?: HTMLCatSelectElement;\n private singleSelectAvatarInitials?: HTMLCatSelectElement;\n private singleSelectTagging?: HTMLCatSelectElement;\n\n componentDidLoad(): void {\n this.multipleSelect?.connect({\n resolve: (ids: string[]) => {\n return of(\n ids.map(id => ({\n id,\n firstName: 'John',\n lastName: `Doe (${id})`,\n desc: 'resolved'\n }))\n ).pipe(delay(500));\n },\n retrieve: (term: string, page: number) => {\n return term === 'no'\n ? of({ last: true, content: [], totalElements: 0 })\n : of({\n last: false,\n totalElements: 10000,\n content: Array.from({ length: 10 }, (_, i) => ({\n id: '' + (i + page * 10),\n firstName: 'John',\n lastName: `Doe (${i + page * 10})`,\n desc: `\"${term}\": page ${page}`\n }))\n }).pipe(delay(500));\n },\n render: (user: User) => ({\n label: `${user.firstName} ${user.lastName}`,\n description: user.desc\n })\n });\n this.multipleSelectAvatar?.connect({\n resolve: (ids: string[]) => {\n return of(\n ids.map(id => ({\n id,\n firstName: 'John',\n lastName: `Doe (${id})`,\n desc: 'resolved'\n }))\n ).pipe(delay(500));\n },\n retrieve: (term: string, page: number) => {\n return term === 'no'\n ? of({ last: true, content: [], totalElements: 0 })\n : of({\n last: false,\n totalElements: 10000,\n content: Array.from({ length: 10 }, (_, i) => ({\n id: '' + (i + page * 10),\n firstName: 'John',\n lastName: `Doe (${i + page * 10})`,\n desc: `\"${term}\": page ${page}`\n }))\n }).pipe(delay(500));\n },\n render: (user: User) => ({\n label: `${user.firstName} ${user.lastName}`,\n description: user.desc,\n avatar: {\n src: `https://picsum.photos/id/${Math.floor(Math.random() * 100)}/200`,\n round: true\n }\n })\n });\n this.multipleSelectAvatarInitials?.connect({\n resolve: (ids: string[]) => {\n return of(\n ids.map(id => ({\n id,\n firstName: 'John',\n lastName: `Doe (${id})`,\n desc: 'resolved'\n }))\n ).pipe(delay(500));\n },\n retrieve: (term: string, page: number) => {\n return term === 'no'\n ? of({ last: true, content: [], totalElements: 0 })\n : of({\n last: false,\n totalElements: 10000,\n content: Array.from({ length: 10 }, (_, i) => ({\n id: '' + (i + page * 10),\n firstName: 'John',\n lastName: `Doe (${i + page * 10})`,\n desc: `\"${term}\": page ${page}`\n }))\n }).pipe(delay(500));\n },\n render: (user: User) => ({\n label: `${user.firstName} ${user.lastName}`,\n description: user.desc,\n avatar: {\n round: true,\n initials: `JD`\n }\n })\n });\n this.multipleSelectTagging?.connect(this.countryConnector);\n this.singleSelect?.connect({\n resolve: (ids: string[]) => {\n return of(\n ids.map(id => ({\n id,\n firstName: 'John',\n lastName: `Doe (${id})`,\n desc: 'resolved'\n }))\n ).pipe(delay(500));\n },\n retrieve: (term: string, page: number) => {\n return term === 'no'\n ? of({ last: true, content: [], totalElements: 0 })\n : of({\n last: false,\n totalElements: 10000,\n content: Array.from({ length: 10 }, (_, i) => ({\n id: '' + (i + page * 10),\n firstName: 'John',\n lastName: `Doe (${i + page * 10})`,\n desc: `\"${term}\": page ${page}`\n }))\n }).pipe(delay(500));\n },\n render: (user: User) => ({\n label: `${user.firstName} ${user.lastName}`,\n description: user.desc\n })\n });\n this.singleSelectAvatar?.connect(this.countryConnector);\n this.singleSelectAvatarInitials?.connect({\n ...this.countryConnector,\n render: (country: Country) => ({\n label: country.country,\n description: country.capital || 'No capital',\n avatar: {\n round: true,\n initials: `${country.country.charAt(0)?.toUpperCase() ?? 'J'}${\n country.capital?.charAt(0)?.toUpperCase() ?? 'D'\n }`\n }\n })\n });\n this.singleSelectTagging?.connect(this.countryConnector);\n setTimeout(() => this.multipleSelect && (this.multipleSelect.value = []), 5000);\n }\n\n render() {\n return (\n <Host style={{ display: 'flex', flexDirection: 'column' }}>\n <cat-select\n label=\"Multiple Select\"\n hint=\"This is a hint!\"\n ref={el => (this.multipleSelect = el)}\n value={['1']}\n placeholder=\"Hello World\"\n onCatChange={() => console.log('Multiple change', this.multipleSelect?.value)}\n onCatBlur={e => console.log('Multiple blur', e)}\n multiple\n noItems=\"No results\"\n clearable\n errorUpdate={false}\n >\n <span slot=\"hint\">Searching for \"no\" -{'>'} no options are returned!</span>\n </cat-select>\n <cat-select\n label=\"Multiple with img\"\n ref={el => (this.multipleSelectAvatar = el)}\n value={['1']}\n placeholder=\"Hello World\"\n multiple\n clearable\n errorUpdate={false}\n ></cat-select>\n <cat-select\n label=\"Multiple with initials\"\n ref={el => (this.multipleSelectAvatarInitials = el)}\n value={['1']}\n placeholder=\"Hello World\"\n multiple\n clearable\n errorUpdate={false}\n ></cat-select>\n <cat-select\n label=\"Multiple with tagging support\"\n hint=\"This is a hint!\"\n ref={el => (this.multipleSelectTagging = el)}\n value={{ ids: ['1'], tags: ['Test', 'Albania', 'Algeria'] }}\n placeholder=\"Select country\"\n onCatChange={() => console.log('Multiple tagging change', this.multipleSelectTagging?.value)}\n multiple\n tags\n clearable\n errorUpdate={false}\n ></cat-select>\n <cat-select\n label=\"Single Select\"\n hint=\"This is a hint!\"\n ref={el => (this.singleSelect = el)}\n placeholder=\"Search for a country or capital\"\n onCatBlur={e => console.log('Single blur', e)}\n clearable\n errorUpdate={false}\n ></cat-select>\n <cat-select\n label=\"Single with img\"\n ref={el => (this.singleSelectAvatar = el)}\n value={'1'}\n placeholder=\"Search for a country or capital\"\n clearable\n errorUpdate={false}\n ></cat-select>\n <cat-select\n label=\"Single with initials\"\n ref={el => (this.singleSelectAvatarInitials = el)}\n placeholder=\"Hello World\"\n clearable\n errorUpdate={false}\n ></cat-select>\n <cat-dropdown overflow noAutoClose>\n <cat-button slot=\"trigger\" style={{ width: '50%' }}>\n Open select\n </cat-button>\n <div slot=\"content\" style={{ width: '400px' }}>\n <cat-select\n label=\"Single with tagging support\"\n ref={el => (this.singleSelectTagging = el)}\n value={{ id: '', tag: 'Albania' }}\n placeholder=\"Search for a country or capital\"\n onCatChange={() => console.log('Single change', this.singleSelectTagging?.value)}\n tagHint=\"new country\"\n tags\n clearable\n errorUpdate={false}\n style={{ width: '90%' }}\n ></cat-select>\n </div>\n </cat-dropdown>\n </Host>\n );\n }\n\n private get countryConnector() {\n return {\n resolve: (ids: string[]) => {\n return of(ids.map(id => countries.find(value => value.id === id))).pipe(delay(500));\n },\n retrieve: (term: string, page: number) => {\n const filter = countries.filter(\n value =>\n value.country.toLowerCase().indexOf(term.toLowerCase()) === 0 ||\n value.capital?.toLowerCase().indexOf(term.toLowerCase()) === 0\n );\n const slice = filter.slice(page * 10, page * 10 + 10);\n return of({\n last: slice.length < 10,\n totalElements: filter.length,\n content: slice\n }).pipe(delay(500));\n },\n render: (country: Country) => ({\n label: country.country,\n description: country.capital || 'No capital',\n avatar: {\n src: `https://picsum.photos/id/${Math.floor(Math.random() * 100)}/200`,\n round: true\n }\n })\n };\n }\n}\n\nconst countries: Country[] = [\n {\n id: '0',\n country:\n 'Afghanistan Extra extra large extra large extra large extra large extra large extra large extra large extra large extra large extra large extra large extra large extra large extra large ',\n capital: 'Kabul'\n },\n {\n id: '1',\n country: 'Albania',\n capital: 'Tirana'\n },\n {\n id: '2',\n country: 'Algeria',\n capital: 'Alger'\n },\n {\n id: '3',\n country: 'American Samoa',\n capital: 'Fagatogo'\n },\n {\n id: '4',\n country: 'Andorra',\n capital: 'Andorra la Vella'\n },\n {\n id: '5',\n country: 'Angola',\n capital: 'Luanda'\n },\n {\n id: '6',\n country: 'Anguilla',\n capital: 'The Valley'\n },\n {\n id: '7',\n country: 'Antarctica'\n },\n {\n id: '8',\n country: 'Antigua and Barbuda',\n capital: \"Saint John's\"\n },\n {\n id: '9',\n country: 'Argentina',\n capital: 'Buenos Aires'\n },\n {\n id: '10',\n country: 'Armenia',\n capital: 'Yerevan'\n },\n {\n id: '11',\n country: 'Aruba',\n capital: 'Oranjestad'\n },\n {\n id: '12',\n country: 'Australia',\n capital: 'Canberra'\n },\n {\n id: '13',\n country: 'Austria',\n capital: 'Wien'\n },\n {\n id: '14',\n country: 'Azerbaijan',\n capital: 'Baku'\n },\n {\n id: '15',\n country: 'Bahamas',\n capital: 'Nassau'\n },\n {\n id: '16',\n country: 'Bahrain',\n capital: 'al-Manama'\n },\n {\n id: '17',\n country: 'Bangladesh',\n capital: 'Dhaka'\n },\n {\n id: '18',\n country: 'Barbados',\n capital: 'Bridgetown'\n },\n {\n id: '19',\n country: 'Belarus',\n capital: 'Minsk'\n },\n {\n id: '20',\n country: 'Belgium',\n capital: 'Bruxelles [Brussel]'\n },\n {\n id: '21',\n country: 'Belize',\n capital: 'Belmopan'\n },\n {\n id: '22',\n country: 'Benin',\n capital: 'Porto-Novo'\n },\n {\n id: '23',\n country: 'Bermuda',\n capital: 'Hamilton'\n },\n {\n id: '24',\n country: 'Bhutan',\n capital: 'Thimphu'\n },\n {\n id: '25',\n country: 'Bolivia',\n capital: 'La Paz'\n },\n {\n id: '26',\n country: 'Bosnia and Herzegovina',\n capital: 'Sarajevo'\n },\n {\n id: '27',\n country: 'Botswana',\n capital: 'Gaborone'\n },\n {\n id: '28',\n country: 'Bouvet Island'\n },\n {\n id: '29',\n country: 'Brazil',\n capital: 'Brasília'\n },\n {\n id: '30',\n country: 'British Indian Ocean Territory'\n },\n {\n id: '31',\n country: 'Brunei',\n capital: 'Bandar Seri Begawan'\n },\n {\n id: '32',\n country: 'Bulgaria',\n capital: 'Sofia'\n },\n {\n id: '33',\n country: 'Burkina Faso',\n capital: 'Ouagadougou'\n },\n {\n id: '34',\n country: 'Burundi',\n capital: 'Bujumbura'\n },\n {\n id: '35',\n country: 'Cambodia',\n capital: 'Phnom Penh'\n },\n {\n id: '36',\n country: 'Cameroon',\n capital: 'Yaound'\n },\n {\n id: '37',\n country: 'Canada',\n capital: 'Ottawa'\n },\n {\n id: '38',\n country: 'Cape Verde',\n capital: 'Praia'\n },\n {\n id: '39',\n country: 'Cayman Islands',\n capital: 'George Town'\n },\n {\n id: '40',\n country: 'Central African Republic',\n capital: 'Bangui'\n },\n {\n id: '41',\n country: 'Chad',\n capital: \"N'Djam\"\n },\n {\n id: '42',\n country: 'Chile',\n capital: 'Santiago de Chile'\n },\n {\n id: '43',\n country: 'China',\n capital: 'Peking'\n },\n {\n id: '44',\n country: 'Christmas Island',\n capital: 'Flying Fish Cove'\n },\n {\n id: '45',\n country: 'Cocos (Keeling) Islands',\n capital: 'West Island'\n },\n {\n id: '46',\n country: 'Colombia',\n capital: 'Santaf'\n },\n {\n id: '47',\n country: 'Comoros',\n capital: 'Moroni'\n },\n {\n id: '48',\n country: 'Congo',\n capital: 'Brazzaville'\n },\n {\n id: '49',\n country: 'Cook Islands',\n capital: 'Avarua'\n },\n {\n id: '50',\n country: 'Costa Rica',\n capital: 'San José'\n },\n {\n id: '51',\n country: 'Croatia',\n capital: 'Zagreb'\n },\n {\n id: '52',\n country: 'Cuba',\n capital: 'La Habana'\n },\n {\n id: '53',\n country: 'Cyprus',\n capital: 'Nicosia'\n },\n {\n id: '54',\n country: 'Czech Republic',\n capital: 'Praha'\n },\n {\n id: '55',\n country: 'Denmark',\n capital: 'Copenhagen'\n },\n {\n id: '56',\n country: 'Djibouti',\n capital: 'Djibouti'\n },\n {\n id: '57',\n country: 'Dominica',\n capital: 'Roseau'\n },\n {\n id: '58',\n country: 'Dominican Republic',\n capital: 'Santo Domingo de Guzm'\n },\n {\n id: '59',\n country: 'East Timor',\n capital: 'Dili'\n },\n {\n id: '60',\n country: 'Ecuador',\n capital: 'Quito'\n },\n {\n id: '61',\n country: 'Egypt',\n capital: 'Cairo'\n },\n {\n id: '62',\n country: 'El Salvador',\n capital: 'San Salvador'\n },\n {\n id: '63',\n country: 'England',\n capital: 'London'\n },\n {\n id: '64',\n country: 'Equatorial Guinea',\n capital: 'Malabo'\n },\n {\n id: '65',\n country: 'Eritrea',\n capital: 'Asmara'\n },\n {\n id: '66',\n country: 'Estonia',\n capital: 'Tallinn'\n },\n {\n id: '67',\n country: 'Ethiopia',\n capital: 'Addis Abeba'\n },\n {\n id: '68',\n country: 'Falkland Islands',\n capital: 'Stanley'\n },\n {\n id: '69',\n country: 'Faroe Islands',\n capital: 'Tórshavn'\n },\n {\n id: '70',\n country: 'Fiji Islands',\n capital: 'Suva'\n },\n {\n id: '71',\n country: 'Finland',\n capital: 'Helsinki [Helsingfors]'\n },\n {\n id: '72',\n country: 'France',\n capital: 'Paris'\n },\n {\n id: '73',\n country: 'French Guiana',\n capital: 'Cayenne'\n },\n {\n id: '74',\n country: 'French Polynesia',\n capital: 'Papeete'\n },\n {\n id: '75',\n country: 'French Southern territories'\n },\n {\n id: '76',\n country: 'Gabon',\n capital: 'Libreville'\n },\n {\n id: '77',\n country: 'Gambia',\n capital: 'Banjul'\n },\n {\n id: '78',\n country: 'Georgia',\n capital: 'Tbilisi'\n },\n {\n id: '79',\n country: 'Germany',\n capital: 'Berlin'\n },\n {\n id: '80',\n country: 'Ghana',\n capital: 'Accra'\n },\n {\n id: '81',\n country: 'Gibraltar',\n capital: 'Gibraltar'\n },\n {\n id: '82',\n country: 'Greece',\n capital: 'Athenai'\n },\n {\n id: '83',\n country: 'Greenland',\n capital: 'Nuuk'\n },\n {\n id: '84',\n country: 'Grenada',\n capital: \"Saint George's\"\n },\n {\n id: '85',\n country: 'Guadeloupe',\n capital: 'Basse-Terre'\n },\n {\n id: '86',\n country: 'Guam',\n capital: 'Aga'\n },\n {\n id: '87',\n country: 'Guatemala',\n capital: 'Ciudad de Guatemala'\n },\n {\n id: '88',\n country: 'Guinea',\n capital: 'Conakry'\n },\n {\n id: '89',\n country: 'Guinea-Bissau',\n capital: 'Bissau'\n },\n {\n id: '90',\n country: 'Guyana',\n capital: 'Georgetown'\n },\n {\n id: '91',\n country: 'Haiti',\n capital: 'Port-au-Prince'\n },\n {\n id: '92',\n country: 'Heard Island and McDonald Islands'\n },\n {\n id: '93',\n country: 'Holy See (Vatican City State)',\n capital: 'Citt'\n },\n {\n id: '94',\n country: 'Honduras',\n capital: 'Tegucigalpa'\n },\n {\n id: '95',\n country: 'Hong Kong',\n capital: 'Victoria'\n },\n {\n id: '96',\n country: 'Hungary',\n capital: 'Budapest'\n },\n {\n id: '97',\n country: 'Iceland',\n capital: 'Reykjavík'\n },\n {\n id: '98',\n country: 'India',\n capital: 'New Delhi'\n },\n {\n id: '99',\n country: 'Indonesia',\n capital: 'Jakarta'\n },\n {\n id: '100',\n country: 'Iran',\n capital: 'Tehran'\n },\n {\n id: '101',\n country: 'Iraq',\n capital: 'Baghdad'\n },\n {\n id: '102',\n country: 'Ireland',\n capital: 'Dublin'\n },\n {\n id: '103',\n country: 'Israel',\n capital: 'Jerusalem'\n },\n {\n id: '104',\n country: 'Italy',\n capital: 'Roma'\n },\n {\n id: '105',\n country: 'Ivory Coast',\n capital: 'Yamoussoukro'\n },\n {\n id: '106',\n country: 'Jamaica',\n capital: 'Kingston'\n },\n {\n id: '107',\n country: 'Japan',\n capital: 'Tokyo'\n },\n {\n id: '108',\n country: 'Jordan',\n capital: 'Amman'\n },\n {\n id: '109',\n country: 'Kazakhstan',\n capital: 'Astana'\n },\n {\n id: '110',\n country: 'Kenya',\n capital: 'Nairobi'\n },\n {\n id: '111',\n country: 'Kiribati',\n capital: 'Bairiki'\n },\n {\n id: '112',\n country: 'Kuwait',\n capital: 'Kuwait'\n },\n {\n id: '113',\n country: 'Kyrgyzstan',\n capital: 'Bishkek'\n },\n {\n id: '114',\n country: 'Laos',\n capital: 'Vientiane'\n },\n {\n id: '115',\n country: 'Latvia',\n capital: 'Riga'\n },\n {\n id: '116',\n country: 'Lebanon',\n capital: 'Beirut'\n },\n {\n id: '117',\n country: 'Lesotho',\n capital: 'Maseru'\n },\n {\n id: '118',\n country: 'Liberia',\n capital: 'Monrovia'\n },\n {\n id: '119',\n country: 'Libyan Arab Jamahiriya',\n capital: 'Tripoli'\n },\n {\n id: '120',\n country: 'Liechtenstein',\n capital: 'Vaduz'\n },\n {\n id: '121',\n country: 'Lithuania',\n capital: 'Vilnius'\n },\n {\n id: '122',\n country: 'Luxembourg',\n capital: 'Luxembourg [Luxemburg/L'\n },\n {\n id: '123',\n country: 'Macao',\n capital: 'Macao'\n },\n {\n id: '124',\n country: 'North Macedonia',\n capital: 'Skopje'\n },\n {\n id: '125',\n country: 'Madagascar',\n capital: 'Antananarivo'\n },\n {\n id: '126',\n country: 'Malawi',\n capital: 'Lilongwe'\n },\n {\n id: '127',\n country: 'Malaysia',\n capital: 'Kuala Lumpur'\n },\n {\n id: '128',\n country: 'Maldives',\n capital: 'Male'\n },\n {\n id: '129',\n country: 'Mali',\n capital: 'Bamako'\n },\n {\n id: '130',\n country: 'Malta',\n capital: 'Valletta'\n },\n {\n id: '131',\n country: 'Marshall Islands',\n capital: 'Dalap-Uliga-Darrit'\n },\n {\n id: '132',\n country: 'Martinique',\n capital: 'Fort-de-France'\n },\n {\n id: '133',\n country: 'Mauritania',\n capital: 'Nouakchott'\n },\n {\n id: '134',\n country: 'Mauritius',\n capital: 'Port-Louis'\n },\n {\n id: '135',\n country: 'Mayotte',\n capital: 'Mamoutzou'\n },\n {\n id: '136',\n country: 'Mexico',\n capital: 'Ciudad de M'\n },\n {\n id: '137',\n country: 'Micronesia, Federated States of',\n capital: 'Palikir'\n },\n {\n id: '138',\n country: 'Moldova',\n capital: 'Chisinau'\n },\n {\n id: '139',\n country: 'Monaco',\n capital: 'Monaco-Ville'\n },\n {\n id: '140',\n country: 'Mongolia',\n capital: 'Ulan Bator'\n },\n {\n id: '141',\n country: 'Montenegro',\n capital: 'Podgorica'\n },\n {\n id: '142',\n country: 'Montserrat',\n capital: 'Plymouth'\n },\n {\n id: '143',\n country: 'Morocco',\n capital: 'Rabat'\n },\n {\n id: '144',\n country: 'Mozambique',\n capital: 'Maputo'\n },\n {\n id: '145',\n country: 'Myanmar',\n capital: 'Rangoon (Yangon)'\n },\n {\n id: '146',\n country: 'Namibia',\n capital: 'Windhoek'\n },\n {\n id: '147',\n country: 'Nauru',\n capital: 'Yaren'\n },\n {\n id: '148',\n country: 'Nepal',\n capital: 'Kathmandu'\n },\n {\n id: '149',\n country: 'Netherlands',\n capital: 'Amsterdam'\n },\n {\n id: '150',\n country: 'Netherlands Antilles',\n capital: 'Willemstad'\n },\n {\n id: '151',\n country: 'New Caledonia',\n capital: 'Noum'\n },\n {\n id: '152',\n country: 'New Zealand',\n capital: 'Wellington'\n },\n {\n id: '153',\n country: 'Nicaragua',\n capital: 'Managua'\n },\n {\n id: '154',\n country: 'Niger',\n capital: 'Niamey'\n },\n {\n id: '155',\n country: 'Nigeria',\n capital: 'Abuja'\n },\n {\n id: '156',\n country: 'Niue',\n capital: 'Alofi'\n },\n {\n id: '157',\n country: 'Norfolk Island',\n capital: 'Kingston'\n },\n {\n id: '158',\n country: 'North Korea',\n capital: 'Pyongyang'\n },\n {\n id: '159',\n country: 'Northern Ireland',\n capital: 'Belfast'\n },\n {\n id: '160',\n country: 'Northern Mariana Islands',\n capital: 'Garapan'\n },\n {\n id: '161',\n country: 'Norway',\n capital: 'Oslo'\n },\n {\n id: '162',\n country: 'Oman',\n capital: 'Masqat'\n },\n {\n id: '163',\n country: 'Pakistan',\n capital: 'Islamabad'\n },\n {\n id: '164',\n country: 'Palau',\n capital: 'Koror'\n },\n {\n id: '165',\n country: 'Palestine',\n capital: 'Gaza'\n },\n {\n id: '166',\n country: 'Panama',\n capital: 'Ciudad de Panamá'\n },\n {\n id: '167',\n country: 'Papua New Guinea',\n capital: 'Port Moresby'\n },\n {\n id: '168',\n country: 'Paraguay',\n capital: 'Asunción'\n },\n {\n id: '169',\n country: 'Peru',\n capital: 'Lima'\n },\n {\n id: '170',\n country: 'Philippines',\n capital: 'Manila'\n },\n {\n id: '171',\n country: 'Pitcairn',\n capital: 'Adamstown'\n },\n {\n id: '172',\n country: 'Poland',\n capital: 'Warszawa'\n },\n {\n id: '173',\n country: 'Portugal',\n capital: 'Lisboa'\n },\n {\n id: '174',\n country: 'Puerto Rico',\n capital: 'San Juan'\n },\n {\n id: '175',\n country: 'Qatar',\n capital: 'Doha'\n },\n {\n id: '176',\n country: 'Reunion',\n capital: 'Saint-Denis'\n },\n {\n id: '177',\n country: 'Romania',\n capital: 'Bucuresti'\n },\n {\n id: '178',\n country: 'Russian Federation',\n capital: 'Moscow'\n },\n {\n id: '179',\n country: 'Rwanda',\n capital: 'Kigali'\n },\n {\n id: '180',\n country: 'Saint Helena',\n capital: 'Jamestown'\n },\n {\n id: '181',\n country: 'Saint Kitts and Nevis',\n capital: 'Basseterre'\n },\n {\n id: '182',\n country: 'Saint Lucia',\n capital: 'Castries'\n },\n {\n id: '183',\n country: 'Saint Pierre and Miquelon',\n capital: 'Saint-Pierre'\n },\n {\n id: '184',\n country: 'Saint Vincent and the Grenadines',\n capital: 'Kingstown'\n },\n {\n id: '185',\n country: 'Samoa',\n capital: 'Apia'\n },\n {\n id: '186',\n country: 'San Marino',\n capital: 'San Marino'\n },\n {\n id: '187',\n country: 'Sao Tome and Principe',\n capital: 'São Tomé'\n },\n {\n id: '188',\n country: 'Saudi Arabia',\n capital: 'Riyadh'\n },\n {\n id: '189',\n country: 'Scotland',\n capital: 'Edinburgh'\n },\n {\n id: '190',\n country: 'Senegal',\n capital: 'Dakar'\n },\n {\n id: '191',\n country: 'Serbia',\n capital: 'Belgrade'\n },\n {\n id: '192',\n country: 'Seychelles',\n capital: 'Victoria'\n },\n {\n id: '193',\n country: 'Sierra Leone',\n capital: 'Freetown'\n },\n {\n id: '194',\n country: 'Singapore',\n capital: 'Singapore'\n },\n {\n id: '195',\n country: 'Slovakia',\n capital: 'Bratislava'\n },\n {\n id: '196',\n country: 'Slovenia',\n capital: 'Ljubljana'\n },\n {\n id: '197',\n country: 'Solomon Islands',\n capital: 'Honiara'\n },\n {\n id: '198',\n country: 'Somalia',\n capital: 'Mogadishu'\n },\n {\n id: '199',\n country: 'South Africa',\n capital: 'Pretoria'\n },\n {\n id: '200',\n country: 'South Georgia and the South Sandwich Islands'\n },\n {\n id: '201',\n country: 'South Korea',\n capital: 'Seoul'\n },\n {\n id: '202',\n country: 'South Sudan',\n capital: 'Juba'\n },\n {\n id: '203',\n country: 'Spain',\n capital: 'Madrid'\n },\n {\n id: '204',\n country: 'Sri Lanka',\n capital: 'Colombo, Sri Jayawardenepura Kotte'\n },\n {\n id: '205',\n country: 'Sudan',\n capital: 'Khartum'\n },\n {\n id: '206',\n country: 'Suriname',\n capital: 'Paramaribo'\n },\n {\n id: '207',\n country: 'Svalbard and Jan Mayen',\n capital: 'Longyearbyen'\n },\n {\n id: '208',\n country: 'Swaziland',\n capital: 'Mbabane'\n },\n {\n id: '209',\n country: 'Sweden',\n capital: 'Stockholm'\n },\n {\n id: '210',\n country: 'Switzerland',\n capital: 'Bern'\n },\n {\n id: '211',\n country: 'Syria',\n capital: 'Damascus'\n },\n {\n id: '212',\n country: 'Tajikistan',\n capital: 'Dushanbe'\n },\n {\n id: '213',\n country: 'Tanzania',\n capital: 'Dodoma'\n },\n {\n id: '214',\n country: 'Thailand',\n capital: 'Bangkok'\n },\n {\n id: '215',\n country: 'The Democratic Republic of Congo',\n capital: 'Kinshasa'\n },\n {\n id: '216',\n country: 'Togo',\n capital: 'Lomé'\n },\n {\n id: '217',\n country: 'Tokelau',\n capital: 'Fakaofo'\n },\n {\n id: '218',\n country: 'Tonga',\n capital: \"Nuku'alofa\"\n },\n {\n id: '219',\n country: 'Trinidad and Tobago',\n capital: 'Port-of-Spain'\n },\n {\n id: '220',\n country: 'Tunisia',\n capital: 'Tunis'\n },\n {\n id: '221',\n country: 'Turkey',\n capital: 'Ankara'\n },\n {\n id: '222',\n country: 'Turkmenistan',\n capital: 'Ashgabat'\n },\n {\n id: '223',\n country: 'Turks and Caicos Islands',\n capital: 'Cockburn Town'\n },\n {\n id: '224',\n country: 'Tuvalu',\n capital: 'Funafuti'\n },\n {\n id: '225',\n country: 'Uganda',\n capital: 'Kampala'\n },\n {\n id: '226',\n country: 'Ukraine',\n capital: 'Kyiv'\n },\n {\n id: '227',\n country: 'United Arab Emirates',\n capital: 'Abu Dhabi'\n },\n {\n id: '228',\n country: 'United Kingdom',\n capital: 'London'\n },\n {\n id: '229',\n country: 'United States',\n capital: 'Washington'\n },\n {\n id: '230',\n country: 'United States Minor Outlying Islands'\n },\n {\n id: '231',\n country: 'Uruguay',\n capital: 'Montevideo'\n },\n {\n id: '232',\n country: 'Uzbekistan',\n capital: 'Toskent'\n },\n {\n id: '233',\n country: 'Vanuatu',\n capital: 'Port-Vila'\n },\n {\n id: '234',\n country: 'Venezuela',\n capital: 'Caracas'\n },\n {\n id: '235',\n country: 'Vietnam',\n capital: 'Hanoi'\n },\n {\n id: '236',\n country: 'Virgin Islands, British',\n capital: 'Road Town'\n },\n {\n id: '237',\n country: 'Virgin Islands, U.S.',\n capital: 'Charlotte Amalie'\n },\n {\n id: '238',\n country: 'Wales',\n capital: 'Cardiff'\n },\n {\n id: '239',\n country: 'Wallis and Futuna',\n capital: 'Mata-Utu'\n },\n {\n id: '240',\n country: 'Western Sahara',\n capital: 'El-Aai'\n },\n {\n id: '241',\n country: 'Yemen',\n capital: 'Sanaa'\n },\n {\n id: '242',\n country: 'Zambia',\n capital: 'Lusaka'\n },\n {\n id: '243',\n country: 'Zimbabwe',\n capital: 'Harare'\n }\n];\n"]}
|
|
@@ -251,35 +251,7 @@
|
|
|
251
251
|
text-decoration: inherit !important;
|
|
252
252
|
}
|
|
253
253
|
|
|
254
|
-
|
|
255
|
-
display: flex;
|
|
256
|
-
flex-direction: column;
|
|
257
|
-
gap: 0.5rem;
|
|
258
|
-
font-size: 0.9375rem;
|
|
259
|
-
line-height: 1.25rem;
|
|
260
|
-
font-weight: var(--cat-font-weight-body, 400);
|
|
261
|
-
margin-bottom: 1rem;
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
:host([hidden]) {
|
|
265
|
-
display: none;
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
.textarea-field,
|
|
269
|
-
.textarea-container {
|
|
270
|
-
display: flex;
|
|
271
|
-
flex-direction: column;
|
|
272
|
-
gap: 0.5rem;
|
|
273
|
-
flex: 1 1 auto;
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
.textarea-field.textarea-horizontal {
|
|
277
|
-
flex-direction: row;
|
|
278
|
-
gap: 1rem;
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
label {
|
|
282
|
-
align-self: flex-start;
|
|
254
|
+
.label {
|
|
283
255
|
overflow: hidden;
|
|
284
256
|
word-wrap: break-word;
|
|
285
257
|
word-break: break-word;
|
|
@@ -299,24 +271,79 @@ label {
|
|
|
299
271
|
white-space: nowrap !important;
|
|
300
272
|
border: 0 !important;
|
|
301
273
|
}
|
|
274
|
+
.label-container .label-wrapper {
|
|
275
|
+
display: flex;
|
|
276
|
+
gap: 0.25rem;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
.label-metadata {
|
|
280
|
+
display: flex;
|
|
281
|
+
flex-shrink: 0;
|
|
282
|
+
flex-grow: 1;
|
|
283
|
+
justify-content: space-between;
|
|
284
|
+
gap: 0.25rem;
|
|
285
|
+
}
|
|
302
286
|
|
|
303
287
|
.label-optional {
|
|
304
|
-
|
|
288
|
+
display: flex;
|
|
289
|
+
align-items: center;
|
|
290
|
+
max-height: 1.25rem;
|
|
305
291
|
font-size: 0.75rem;
|
|
306
292
|
line-height: 1rem;
|
|
307
293
|
font-weight: var(--cat-font-weight-body, 400);
|
|
308
294
|
color: rgb(var(--cat-font-color-muted, 105, 118, 135));
|
|
309
295
|
}
|
|
310
296
|
|
|
297
|
+
.label-character-count {
|
|
298
|
+
display: flex;
|
|
299
|
+
align-items: center;
|
|
300
|
+
max-height: 1.25rem;
|
|
301
|
+
font-size: 0.75rem;
|
|
302
|
+
line-height: 1rem;
|
|
303
|
+
font-weight: var(--cat-font-weight-body, 400);
|
|
304
|
+
color: rgb(var(--cat-font-color-muted, 105, 118, 135));
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
.input-horizontal .label-wrapper,
|
|
308
|
+
.textarea-horizontal .label-wrapper {
|
|
309
|
+
flex-direction: column;
|
|
310
|
+
}
|
|
311
|
+
.input-horizontal label,
|
|
311
312
|
.textarea-horizontal label {
|
|
312
313
|
min-height: 2.5rem;
|
|
313
314
|
display: inline-flex;
|
|
314
315
|
align-items: center;
|
|
315
316
|
}
|
|
316
|
-
.
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
317
|
+
.input-horizontal .label-metadata,
|
|
318
|
+
.textarea-horizontal .label-metadata {
|
|
319
|
+
justify-content: flex-start;
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
:host {
|
|
323
|
+
display: flex;
|
|
324
|
+
flex-direction: column;
|
|
325
|
+
gap: 0.5rem;
|
|
326
|
+
font-size: 0.9375rem;
|
|
327
|
+
line-height: 1.25rem;
|
|
328
|
+
font-weight: var(--cat-font-weight-body, 400);
|
|
329
|
+
margin-bottom: 1rem;
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
:host([hidden]) {
|
|
333
|
+
display: none;
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
.textarea-field,
|
|
337
|
+
.textarea-container {
|
|
338
|
+
display: flex;
|
|
339
|
+
flex-direction: column;
|
|
340
|
+
gap: 0.5rem;
|
|
341
|
+
flex: 1 1 auto;
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
.textarea-field.textarea-horizontal {
|
|
345
|
+
flex-direction: row;
|
|
346
|
+
gap: 1rem;
|
|
320
347
|
}
|
|
321
348
|
|
|
322
349
|
.textarea-wrapper {
|
|
@@ -88,18 +88,18 @@ export class CatTextarea {
|
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
90
|
render() {
|
|
91
|
-
var _a;
|
|
91
|
+
var _a, _b, _c;
|
|
92
92
|
return (h(Host, null, h("div", { class: {
|
|
93
93
|
'textarea-field': true,
|
|
94
94
|
'textarea-horizontal': this.horizontal
|
|
95
95
|
} }, h("div", { class: {
|
|
96
96
|
hidden: this.labelHidden,
|
|
97
97
|
'label-container': true
|
|
98
|
-
} }, (this.hasSlottedLabel || this.label) && (h("label", { htmlFor: this.id, class: { hidden: this.labelHidden } }, h("span", { part: "label" }, (this.hasSlottedLabel && h("slot", { name: "label" })) || this.label, !this.required && this.requiredMarker.startsWith('optional') && (h("span", { class: "label-optional", "aria-hidden": "true" }, "(", i18n.t('input.optional'), ")")), this.required && this.requiredMarker.startsWith('required') && (h("span", { class: "label-optional", "aria-hidden": "true" }, "(", i18n.t('input.required'), ")")))))), h("div", { class: "textarea-container" }, h("div", { class: {
|
|
98
|
+
} }, (this.hasSlottedLabel || this.label) && (h("label", { htmlFor: this.id, class: { hidden: this.labelHidden } }, h("span", { class: "label-wrapper", part: "label" }, (this.hasSlottedLabel && h("slot", { name: "label" })) || this.label, h("div", { class: "label-metadata" }, !this.required && this.requiredMarker.startsWith('optional') && (h("span", { class: "label-optional", "aria-hidden": "true" }, "(", i18n.t('input.optional'), ")")), this.required && this.requiredMarker.startsWith('required') && (h("span", { class: "label-optional", "aria-hidden": "true" }, "(", i18n.t('input.required'), ")")), this.maxLength && (h("div", { class: "label-character-count", "aria-hidden": "true" }, (_b = (_a = this.value) === null || _a === void 0 ? void 0 : _a.toString().length) !== null && _b !== void 0 ? _b : 0, "/", this.maxLength))))))), h("div", { class: "textarea-container" }, h("div", { class: {
|
|
99
99
|
'textarea-wrapper': true,
|
|
100
100
|
'textarea-disabled': this.disabled,
|
|
101
101
|
'textarea-invalid': this.invalid
|
|
102
|
-
} }, h("textarea", Object.assign({}, this.nativeAttributes, { ref: el => (this.textarea = el), id: this.id, disabled: this.disabled, maxlength: this.maxLength, minlength: this.minLength, name: this.name, placeholder: this.placeholder, readonly: this.readonly, required: this.required, rows: this.rows, value: this.value, onInput: this.onInput.bind(this), onFocus: this.onFocus.bind(this), onBlur: this.onBlur.bind(this), "aria-invalid": this.invalid ? 'true' : undefined, "aria-describedby": ((
|
|
102
|
+
} }, h("textarea", Object.assign({}, this.nativeAttributes, { ref: el => (this.textarea = el), id: this.id, disabled: this.disabled, maxlength: this.maxLength, minlength: this.minLength, name: this.name, placeholder: this.placeholder, readonly: this.readonly, required: this.required, rows: this.rows, value: this.value, onInput: this.onInput.bind(this), onFocus: this.onFocus.bind(this), onBlur: this.onBlur.bind(this), "aria-invalid": this.invalid ? 'true' : undefined, "aria-describedby": ((_c = this.hint) === null || _c === void 0 ? void 0 : _c.length) ? this.id + '-hint' : undefined })), this.invalid && (h("cat-icon", { icon: "alert-circle-outlined", class: "icon-suffix cat-text-danger", size: "l", onClick: () => this.textarea.focus() }))), (this.hint || this.hasSlottedHint || !!Object.keys(this.errorMap || {}).length) && (h(CatFormHint, { id: this.id, hint: this.hint, slottedHint: this.hasSlottedHint && h("slot", { name: "hint" }), errorMap: this.errorMap }))))));
|
|
103
103
|
}
|
|
104
104
|
get invalid() {
|
|
105
105
|
return !!this.errorMap;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cat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, State, Watch } from '@stencil/core';\nimport autosize from 'autosize';\nimport log from 'loglevel';\nimport { CatFormHint, ErrorMap } from '../cat-form-hint/cat-form-hint';\nimport { catI18nRegistry as i18n } from '../cat-i18n/cat-i18n-registry';\n\nlet nextUniqueId = 0;\n\n/**\n * Textarea specifies a control that allows user to write text over multiple\n * rows. Used when the expected user input is long. For shorter input, use the\n * input component.\n *\n * @slot hint - Optional hint element to be displayed with the textarea.\n * @slot label - The slotted label. If both the label property and the label slot are present, only the label slot will be displayed.\n * @part label - The label content.\n */\n@Component({\n tag: 'cat-textarea',\n styleUrl: 'cat-textarea.scss',\n shadow: true\n})\nexport class CatTextarea {\n private readonly _id = `cat-textarea-${nextUniqueId++}`;\n private get id() {\n return this.identifier || this._id;\n }\n\n private textarea!: HTMLTextAreaElement;\n private errorMapSrc?: ErrorMap;\n\n @Element() hostElement!: HTMLElement;\n\n @State() hasSlottedLabel = false;\n\n @State() hasSlottedHint = false;\n\n @State() errorMap?: ErrorMap;\n\n /**\n * Whether the label need a marker to shown if the textarea is required or optional.\n */\n @Prop() requiredMarker: 'none' | 'required' | 'optional' | 'none!' | 'optional!' | 'required!' = 'optional';\n\n /**\n * Whether the label is on top or left.\n */\n @Prop() horizontal = false;\n\n /**\n * Whether the textarea is disabled.\n */\n @Prop() disabled = false;\n\n /**\n * Optional hint text(s) to be displayed with the textarea.\n */\n @Prop() hint?: string | string[];\n\n /**\n * A unique identifier for the input.\n */\n @Prop() identifier?: string;\n\n /**\n * The label for the textarea.\n */\n @Prop() label = '';\n\n /**\n * Visually hide the label, but still show it to assistive technologies like screen readers.\n */\n @Prop() labelHidden = false;\n\n /**\n * A maximum length (number of characters) for textual values.\n */\n @Prop() maxLength?: number;\n\n /**\n * A minimum length (number of characters) for textual values.\n */\n @Prop() minLength?: number;\n\n /**\n * The name of the form control. Submitted with the form as part of a name/value pair.\n */\n @Prop() name?: string;\n\n /**\n * The placeholder text to display within the input.\n */\n @Prop() placeholder?: string;\n\n /**\n * The value is not editable.\n */\n @Prop() readonly = false;\n\n /**\n * A value is required or must be check for the form to be submittable.\n */\n @Prop() required = false;\n\n /**\n * Specifies the initial number of lines in the textarea.\n */\n @Prop() rows = 3;\n\n /**\n * The initial value of the control.\n */\n @Prop({ mutable: true }) value?: string | number;\n\n /**\n * The validation errors for this input. Will render a hint under the input\n * with the translated error message(s) `error.${key}`. If an object is\n * passed, the keys will be used as error keys and the values translation\n * parameters.\n * If the value is `true`, the input will be marked as invalid without any\n * hints under the input.\n */\n @Prop() errors?: boolean | string[] | ErrorMap;\n\n /**\n * Fine-grained control over when the errors are shown. Can be `false` to\n * never show errors, `true` to show errors on blur, or a number to show\n * errors on change with the given delay in milliseconds.\n */\n @Prop() errorUpdate: boolean | number = 0;\n\n /**\n * Attributes that will be added to the native HTML textarea element.\n */\n @Prop() nativeAttributes?: { [key: string]: string };\n\n /**\n * Emitted when the value is changed.\n */\n @Event() catChange!: EventEmitter;\n\n /**\n * Emitted when the textarea received focus.\n */\n @Event() catFocus!: EventEmitter<FocusEvent>;\n\n /**\n * Emitted when the textarea loses focus.\n */\n @Event() catBlur!: EventEmitter<FocusEvent>;\n\n componentWillRender(): void {\n this.watchErrorsHandler(this.errors);\n this.hasSlottedLabel = !!this.hostElement.querySelector('[slot=\"label\"]');\n this.hasSlottedHint = !!this.hostElement.querySelector('[slot=\"hint\"]');\n if (!this.label && !this.hasSlottedLabel) {\n log.warn('[A11y] Missing ARIA label on textarea', this);\n }\n }\n\n componentDidLoad(): void {\n autosize(this.textarea);\n }\n\n /**\n * Programmatically move focus to the textarea. Use this method instead of\n * `textarea.focus()`.\n *\n * @param options An optional object providing options to control aspects of\n * the focusing process.\n */\n @Method()\n async doFocus(options?: FocusOptions): Promise<void> {\n this.textarea.focus(options);\n }\n\n /**\n * Programmatically remove focus from the textarea. Use this method instead of\n * `textarea.blur()`.\n */\n @Method()\n async doBlur(): Promise<void> {\n this.textarea.blur();\n }\n\n /**\n * Programmatically simulate a click on the textarea.\n */\n @Method()\n async doClick(): Promise<void> {\n this.textarea.click();\n }\n\n @Watch('errors')\n watchErrorsHandler(value?: boolean | string[] | ErrorMap) {\n if (this.errorUpdate === false) {\n this.errorMap = undefined;\n } else {\n this.errorMapSrc = Array.isArray(value)\n ? (value as string[]).reduce((acc, err) => ({ ...acc, [err]: undefined }), {})\n : value === true\n ? {}\n : value || undefined;\n }\n }\n\n render() {\n return (\n <Host>\n <div\n class={{\n 'textarea-field': true,\n 'textarea-horizontal': this.horizontal\n }}\n >\n <div\n class={{\n hidden: this.labelHidden,\n 'label-container': true\n }}\n >\n {(this.hasSlottedLabel || this.label) && (\n <label htmlFor={this.id} class={{ hidden: this.labelHidden }}>\n <span part=\"label\">\n {(this.hasSlottedLabel && <slot name=\"label\"></slot>) || this.label}\n {!this.required && this.requiredMarker.startsWith('optional') && (\n <span class=\"label-optional\" aria-hidden=\"true\">\n ({i18n.t('input.optional')})\n </span>\n )}\n {this.required && this.requiredMarker.startsWith('required') && (\n <span class=\"label-optional\" aria-hidden=\"true\">\n ({i18n.t('input.required')})\n </span>\n )}\n </span>\n </label>\n )}\n </div>\n <div class=\"textarea-container\">\n <div\n class={{\n 'textarea-wrapper': true,\n 'textarea-disabled': this.disabled,\n 'textarea-invalid': this.invalid\n }}\n >\n <textarea\n {...this.nativeAttributes}\n ref={el => (this.textarea = el as HTMLTextAreaElement)}\n id={this.id}\n disabled={this.disabled}\n maxlength={this.maxLength}\n minlength={this.minLength}\n name={this.name}\n placeholder={this.placeholder}\n readonly={this.readonly}\n required={this.required}\n rows={this.rows}\n value={this.value}\n onInput={this.onInput.bind(this)}\n onFocus={this.onFocus.bind(this)}\n onBlur={this.onBlur.bind(this)}\n aria-invalid={this.invalid ? 'true' : undefined}\n aria-describedby={this.hint?.length ? this.id + '-hint' : undefined}\n ></textarea>\n {this.invalid && (\n <cat-icon\n icon=\"alert-circle-outlined\"\n class=\"icon-suffix cat-text-danger\"\n size=\"l\"\n onClick={() => this.textarea.focus()}\n ></cat-icon>\n )}\n </div>\n {(this.hint || this.hasSlottedHint || !!Object.keys(this.errorMap || {}).length) && (\n <CatFormHint\n id={this.id}\n hint={this.hint}\n slottedHint={this.hasSlottedHint && <slot name=\"hint\"></slot>}\n errorMap={this.errorMap}\n />\n )}\n </div>\n </div>\n </Host>\n );\n }\n\n private get invalid() {\n return !!this.errorMap;\n }\n\n private errorUpdateTimeoutId?: number;\n private onInput(event: InputEvent) {\n this.value = this.textarea.value;\n this.catChange.emit(event);\n if (typeof this.errorUpdate === 'number') {\n typeof this.errorUpdateTimeoutId === 'number' && window.clearTimeout(this.errorUpdateTimeoutId);\n this.errorUpdateTimeoutId = window.setTimeout(() => (this.errorMap = this.errorMapSrc), this.errorUpdate);\n }\n }\n\n private onFocus(event: FocusEvent) {\n this.catFocus.emit(event);\n }\n\n private onBlur(event: FocusEvent) {\n this.catBlur.emit(event);\n if (this.errorUpdate !== false) {\n this.errorMap = this.errorMapSrc;\n }\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"cat-textarea.js","sourceRoot":"","sources":["../../../src/components/cat-textarea/cat-textarea.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAC7G,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,GAAG,MAAM,UAAU,CAAC;AAC3B,OAAO,EAAE,WAAW,EAAY,MAAM,gCAAgC,CAAC;AACvE,OAAO,EAAE,eAAe,IAAI,IAAI,EAAE,MAAM,+BAA+B,CAAC;AAExE,IAAI,YAAY,GAAG,CAAC,CAAC;AAErB;;;;;;;;GAQG;AAMH,MAAM,OAAO,WAAW;;IACL,QAAG,GAAG,gBAAgB,YAAY,EAAE,EAAE,CAAC;2BAU7B,KAAK;0BAEN,KAAK;;0BAOkE,UAAU;sBAKtF,KAAK;oBAKP,KAAK;;;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C/B,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;EAC5B,CAAC;EAEO,MAAM,CAAC,KAAiB;IAC9B,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IACzB,IAAI,IAAI,CAAC,WAAW,KAAK,KAAK,EAAE;MAC9B,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,WAAW,CAAC;KAClC;EACH,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, Event, EventEmitter, h, Host, Method, Prop, State, Watch } from '@stencil/core';\nimport autosize from 'autosize';\nimport log from 'loglevel';\nimport { CatFormHint, ErrorMap } from '../cat-form-hint/cat-form-hint';\nimport { catI18nRegistry as i18n } from '../cat-i18n/cat-i18n-registry';\n\nlet nextUniqueId = 0;\n\n/**\n * Textarea specifies a control that allows user to write text over multiple\n * rows. Used when the expected user input is long. For shorter input, use the\n * input component.\n *\n * @slot hint - Optional hint element to be displayed with the textarea.\n * @slot label - The slotted label. If both the label property and the label slot are present, only the label slot will be displayed.\n * @part label - The label content.\n */\n@Component({\n tag: 'cat-textarea',\n styleUrl: 'cat-textarea.scss',\n shadow: true\n})\nexport class CatTextarea {\n private readonly _id = `cat-textarea-${nextUniqueId++}`;\n private get id() {\n return this.identifier || this._id;\n }\n\n private textarea!: HTMLTextAreaElement;\n private errorMapSrc?: ErrorMap;\n\n @Element() hostElement!: HTMLElement;\n\n @State() hasSlottedLabel = false;\n\n @State() hasSlottedHint = false;\n\n @State() errorMap?: ErrorMap;\n\n /**\n * Whether the label need a marker to shown if the textarea is required or optional.\n */\n @Prop() requiredMarker: 'none' | 'required' | 'optional' | 'none!' | 'optional!' | 'required!' = 'optional';\n\n /**\n * Whether the label is on top or left.\n */\n @Prop() horizontal = false;\n\n /**\n * Whether the textarea is disabled.\n */\n @Prop() disabled = false;\n\n /**\n * Optional hint text(s) to be displayed with the textarea.\n */\n @Prop() hint?: string | string[];\n\n /**\n * A unique identifier for the input.\n */\n @Prop() identifier?: string;\n\n /**\n * The label for the textarea.\n */\n @Prop() label = '';\n\n /**\n * Visually hide the label, but still show it to assistive technologies like screen readers.\n */\n @Prop() labelHidden = false;\n\n /**\n * A maximum length (number of characters) for textual values.\n */\n @Prop() maxLength?: number;\n\n /**\n * A minimum length (number of characters) for textual values.\n */\n @Prop() minLength?: number;\n\n /**\n * The name of the form control. Submitted with the form as part of a name/value pair.\n */\n @Prop() name?: string;\n\n /**\n * The placeholder text to display within the input.\n */\n @Prop() placeholder?: string;\n\n /**\n * The value is not editable.\n */\n @Prop() readonly = false;\n\n /**\n * A value is required or must be check for the form to be submittable.\n */\n @Prop() required = false;\n\n /**\n * Specifies the initial number of lines in the textarea.\n */\n @Prop() rows = 3;\n\n /**\n * The initial value of the control.\n */\n @Prop({ mutable: true }) value?: string | number;\n\n /**\n * The validation errors for this input. Will render a hint under the input\n * with the translated error message(s) `error.${key}`. If an object is\n * passed, the keys will be used as error keys and the values translation\n * parameters.\n * If the value is `true`, the input will be marked as invalid without any\n * hints under the input.\n */\n @Prop() errors?: boolean | string[] | ErrorMap;\n\n /**\n * Fine-grained control over when the errors are shown. Can be `false` to\n * never show errors, `true` to show errors on blur, or a number to show\n * errors on change with the given delay in milliseconds.\n */\n @Prop() errorUpdate: boolean | number = 0;\n\n /**\n * Attributes that will be added to the native HTML textarea element.\n */\n @Prop() nativeAttributes?: { [key: string]: string };\n\n /**\n * Emitted when the value is changed.\n */\n @Event() catChange!: EventEmitter;\n\n /**\n * Emitted when the textarea received focus.\n */\n @Event() catFocus!: EventEmitter<FocusEvent>;\n\n /**\n * Emitted when the textarea loses focus.\n */\n @Event() catBlur!: EventEmitter<FocusEvent>;\n\n componentWillRender(): void {\n this.watchErrorsHandler(this.errors);\n this.hasSlottedLabel = !!this.hostElement.querySelector('[slot=\"label\"]');\n this.hasSlottedHint = !!this.hostElement.querySelector('[slot=\"hint\"]');\n if (!this.label && !this.hasSlottedLabel) {\n log.warn('[A11y] Missing ARIA label on textarea', this);\n }\n }\n\n componentDidLoad(): void {\n autosize(this.textarea);\n }\n\n /**\n * Programmatically move focus to the textarea. Use this method instead of\n * `textarea.focus()`.\n *\n * @param options An optional object providing options to control aspects of\n * the focusing process.\n */\n @Method()\n async doFocus(options?: FocusOptions): Promise<void> {\n this.textarea.focus(options);\n }\n\n /**\n * Programmatically remove focus from the textarea. Use this method instead of\n * `textarea.blur()`.\n */\n @Method()\n async doBlur(): Promise<void> {\n this.textarea.blur();\n }\n\n /**\n * Programmatically simulate a click on the textarea.\n */\n @Method()\n async doClick(): Promise<void> {\n this.textarea.click();\n }\n\n @Watch('errors')\n watchErrorsHandler(value?: boolean | string[] | ErrorMap) {\n if (this.errorUpdate === false) {\n this.errorMap = undefined;\n } else {\n this.errorMapSrc = Array.isArray(value)\n ? (value as string[]).reduce((acc, err) => ({ ...acc, [err]: undefined }), {})\n : value === true\n ? {}\n : value || undefined;\n }\n }\n\n render() {\n return (\n <Host>\n <div\n class={{\n 'textarea-field': true,\n 'textarea-horizontal': this.horizontal\n }}\n >\n <div\n class={{\n hidden: this.labelHidden,\n 'label-container': true\n }}\n >\n {(this.hasSlottedLabel || this.label) && (\n <label htmlFor={this.id} class={{ hidden: this.labelHidden }}>\n <span class=\"label-wrapper\" part=\"label\">\n {(this.hasSlottedLabel && <slot name=\"label\"></slot>) || this.label}\n <div class=\"label-metadata\">\n {!this.required && this.requiredMarker.startsWith('optional') && (\n <span class=\"label-optional\" aria-hidden=\"true\">\n ({i18n.t('input.optional')})\n </span>\n )}\n {this.required && this.requiredMarker.startsWith('required') && (\n <span class=\"label-optional\" aria-hidden=\"true\">\n ({i18n.t('input.required')})\n </span>\n )}\n {this.maxLength && (\n <div class=\"label-character-count\" aria-hidden=\"true\">\n {this.value?.toString().length ?? 0}/{this.maxLength}\n </div>\n )}\n </div>\n </span>\n </label>\n )}\n </div>\n <div class=\"textarea-container\">\n <div\n class={{\n 'textarea-wrapper': true,\n 'textarea-disabled': this.disabled,\n 'textarea-invalid': this.invalid\n }}\n >\n <textarea\n {...this.nativeAttributes}\n ref={el => (this.textarea = el as HTMLTextAreaElement)}\n id={this.id}\n disabled={this.disabled}\n maxlength={this.maxLength}\n minlength={this.minLength}\n name={this.name}\n placeholder={this.placeholder}\n readonly={this.readonly}\n required={this.required}\n rows={this.rows}\n value={this.value}\n onInput={this.onInput.bind(this)}\n onFocus={this.onFocus.bind(this)}\n onBlur={this.onBlur.bind(this)}\n aria-invalid={this.invalid ? 'true' : undefined}\n aria-describedby={this.hint?.length ? this.id + '-hint' : undefined}\n ></textarea>\n {this.invalid && (\n <cat-icon\n icon=\"alert-circle-outlined\"\n class=\"icon-suffix cat-text-danger\"\n size=\"l\"\n onClick={() => this.textarea.focus()}\n ></cat-icon>\n )}\n </div>\n {(this.hint || this.hasSlottedHint || !!Object.keys(this.errorMap || {}).length) && (\n <CatFormHint\n id={this.id}\n hint={this.hint}\n slottedHint={this.hasSlottedHint && <slot name=\"hint\"></slot>}\n errorMap={this.errorMap}\n />\n )}\n </div>\n </div>\n </Host>\n );\n }\n\n private get invalid() {\n return !!this.errorMap;\n }\n\n private errorUpdateTimeoutId?: number;\n private onInput(event: InputEvent) {\n this.value = this.textarea.value;\n this.catChange.emit(event);\n if (typeof this.errorUpdate === 'number') {\n typeof this.errorUpdateTimeoutId === 'number' && window.clearTimeout(this.errorUpdateTimeoutId);\n this.errorUpdateTimeoutId = window.setTimeout(() => (this.errorMap = this.errorMapSrc), this.errorUpdate);\n }\n }\n\n private onFocus(event: FocusEvent) {\n this.catFocus.emit(event);\n }\n\n private onBlur(event: FocusEvent) {\n this.catBlur.emit(event);\n if (this.errorUpdate !== false) {\n this.errorMap = this.errorMapSrc;\n }\n }\n}\n"]}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
@use 'variables' as *;
|
|
2
|
+
@use 'mixins' as *;
|
|
3
|
+
|
|
4
|
+
$cat-input-height: 2.5rem;
|
|
5
|
+
|
|
6
|
+
.label {
|
|
7
|
+
overflow: hidden;
|
|
8
|
+
@include cat-break-word;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.label-container {
|
|
12
|
+
flex-basis: var(--label-size, 33.33%);
|
|
13
|
+
|
|
14
|
+
&.hidden {
|
|
15
|
+
@include cat-visually-hidden;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.label-wrapper {
|
|
19
|
+
display: flex;
|
|
20
|
+
gap: 0.25rem;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.label-metadata {
|
|
25
|
+
display: flex;
|
|
26
|
+
flex-shrink: 0;
|
|
27
|
+
flex-grow: 1;
|
|
28
|
+
justify-content: space-between;
|
|
29
|
+
gap: 0.25rem;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.label-optional {
|
|
33
|
+
display: flex;
|
|
34
|
+
align-items: center;
|
|
35
|
+
max-height: 1.25rem;
|
|
36
|
+
@include cat-body('xs');
|
|
37
|
+
color: cat-token('color.ui.font.muted');
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.label-character-count {
|
|
41
|
+
display: flex;
|
|
42
|
+
align-items: center;
|
|
43
|
+
max-height: 1.25rem;
|
|
44
|
+
@include cat-body('xs');
|
|
45
|
+
color: cat-token('color.ui.font.muted');
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.input-horizontal,
|
|
49
|
+
.textarea-horizontal {
|
|
50
|
+
.label-wrapper {
|
|
51
|
+
flex-direction: column;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
label {
|
|
55
|
+
min-height: $cat-input-height;
|
|
56
|
+
display: inline-flex;
|
|
57
|
+
align-items: center;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.label-metadata {
|
|
61
|
+
justify-content: flex-start;
|
|
62
|
+
}
|
|
63
|
+
}
|