@rolatech/angular-property 19.0.0-beta.17
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 +3 -0
- package/fesm2022/rolatech-angular-property.mjs +77 -0
- package/fesm2022/rolatech-angular-property.mjs.map +1 -0
- package/index.d.ts +4 -0
- package/lib/components/index.d.ts +4 -0
- package/lib/components/property-action/property-action.component.d.ts +5 -0
- package/lib/components/property-item/property-item.component.d.ts +5 -0
- package/lib/components/property-pricing/property-pricing.component.d.ts +5 -0
- package/lib/interfaces/index.d.ts +1 -0
- package/lib/interfaces/property.d.ts +102 -0
- package/lib/pages/property/property.routes.d.ts +2 -0
- package/lib/pages/property-manage/property-mange.routes.d.ts +2 -0
- package/package.json +32 -0
- package/themes/_default.scss +1 -0
package/README.md
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Component } from '@angular/core';
|
|
3
|
+
import { CommonModule } from '@angular/common';
|
|
4
|
+
|
|
5
|
+
const propertyRoutes = [];
|
|
6
|
+
|
|
7
|
+
const propertyManageRoutes = [];
|
|
8
|
+
|
|
9
|
+
class PropertyActionComponent {
|
|
10
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: PropertyActionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
11
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.3", type: PropertyActionComponent, isStandalone: true, selector: "lib-property-action", ngImport: i0, template: "<p>property-action works!</p>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }] });
|
|
12
|
+
}
|
|
13
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: PropertyActionComponent, decorators: [{
|
|
14
|
+
type: Component,
|
|
15
|
+
args: [{ selector: 'lib-property-action', imports: [CommonModule], template: "<p>property-action works!</p>\n" }]
|
|
16
|
+
}] });
|
|
17
|
+
|
|
18
|
+
class PropertyItemComponent {
|
|
19
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: PropertyItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
20
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.3", type: PropertyItemComponent, isStandalone: true, selector: "lib-property-item", ngImport: i0, template: "<p>property-item works!</p>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }] });
|
|
21
|
+
}
|
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: PropertyItemComponent, decorators: [{
|
|
23
|
+
type: Component,
|
|
24
|
+
args: [{ selector: 'lib-property-item', imports: [CommonModule], template: "<p>property-item works!</p>\n" }]
|
|
25
|
+
}] });
|
|
26
|
+
|
|
27
|
+
class PropertyPricingComponent {
|
|
28
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: PropertyPricingComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
29
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.3", type: PropertyPricingComponent, isStandalone: true, selector: "lib-property-pricing", ngImport: i0, template: "<p>property-pricing works!</p>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }] });
|
|
30
|
+
}
|
|
31
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: PropertyPricingComponent, decorators: [{
|
|
32
|
+
type: Component,
|
|
33
|
+
args: [{ selector: 'lib-property-pricing', imports: [CommonModule], template: "<p>property-pricing works!</p>\n" }]
|
|
34
|
+
}] });
|
|
35
|
+
|
|
36
|
+
var PropertyPriceType;
|
|
37
|
+
(function (PropertyPriceType) {
|
|
38
|
+
PropertyPriceType["FIXED"] = "\u56FA\u5B9A\u4EF7\u683C";
|
|
39
|
+
PropertyPriceType["PARTIAL"] = "\u652F\u4ED8\u5B9A\u91D1";
|
|
40
|
+
PropertyPriceType["VARIED"] = "\u591A\u53D8\u7684";
|
|
41
|
+
})(PropertyPriceType || (PropertyPriceType = {}));
|
|
42
|
+
var PropertyStatus;
|
|
43
|
+
(function (PropertyStatus) {
|
|
44
|
+
PropertyStatus[PropertyStatus["DRAFT"] = '草稿'] = "DRAFT";
|
|
45
|
+
PropertyStatus[PropertyStatus["AWAITING"] = '审核中'] = "AWAITING";
|
|
46
|
+
PropertyStatus[PropertyStatus["PENDING"] = '审核中'] = "PENDING";
|
|
47
|
+
PropertyStatus[PropertyStatus["ACCEPTED"] = '已通过'] = "ACCEPTED";
|
|
48
|
+
PropertyStatus[PropertyStatus["ACTIVE"] = '已发布'] = "ACTIVE";
|
|
49
|
+
PropertyStatus[PropertyStatus["DELETED"] = '已删除'] = "DELETED";
|
|
50
|
+
PropertyStatus[PropertyStatus["ARCHIVED"] = '已下架'] = "ARCHIVED";
|
|
51
|
+
})(PropertyStatus || (PropertyStatus = {}));
|
|
52
|
+
var PropertyType;
|
|
53
|
+
(function (PropertyType) {
|
|
54
|
+
PropertyType["DIGITAL"] = "\u865A\u62DF\u5546\u54C1";
|
|
55
|
+
PropertyType["PHYSICAL"] = "\u5B9E\u4F53\u5546\u54C1";
|
|
56
|
+
PropertyType["SERVICE"] = "\u670D\u52A1";
|
|
57
|
+
PropertyType["OTHER"] = "\u5176\u4ED6";
|
|
58
|
+
})(PropertyType || (PropertyType = {}));
|
|
59
|
+
var PropertyInventoryStatus;
|
|
60
|
+
(function (PropertyInventoryStatus) {
|
|
61
|
+
PropertyInventoryStatus["IN_STOCK"] = "\u6709\u8D27";
|
|
62
|
+
PropertyInventoryStatus["LOW_STOCK"] = "\u5E93\u5B58\u4E0D\u8DB3";
|
|
63
|
+
PropertyInventoryStatus["OUT_OF_STOCK"] = "\u552E\u7F44";
|
|
64
|
+
PropertyInventoryStatus["DISCONTINUED"] = "\u5DF2\u505C\u4EA7";
|
|
65
|
+
})(PropertyInventoryStatus || (PropertyInventoryStatus = {}));
|
|
66
|
+
var PropertyScope;
|
|
67
|
+
(function (PropertyScope) {
|
|
68
|
+
PropertyScope[PropertyScope["WEB"] = '网站'] = "WEB";
|
|
69
|
+
PropertyScope[PropertyScope["GLOBAL"] = '全域'] = "GLOBAL";
|
|
70
|
+
})(PropertyScope || (PropertyScope = {}));
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Generated bundle index. Do not edit.
|
|
74
|
+
*/
|
|
75
|
+
|
|
76
|
+
export { PropertyActionComponent, PropertyInventoryStatus, PropertyItemComponent, PropertyPriceType, PropertyPricingComponent, PropertyScope, PropertyStatus, PropertyType, propertyManageRoutes, propertyRoutes };
|
|
77
|
+
//# sourceMappingURL=rolatech-angular-property.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rolatech-angular-property.mjs","sources":["../../../../packages/angular-property/src/lib/pages/property/property.routes.ts","../../../../packages/angular-property/src/lib/pages/property-manage/property-mange.routes.ts","../../../../packages/angular-property/src/lib/components/property-action/property-action.component.ts","../../../../packages/angular-property/src/lib/components/property-action/property-action.component.html","../../../../packages/angular-property/src/lib/components/property-item/property-item.component.ts","../../../../packages/angular-property/src/lib/components/property-item/property-item.component.html","../../../../packages/angular-property/src/lib/components/property-pricing/property-pricing.component.ts","../../../../packages/angular-property/src/lib/components/property-pricing/property-pricing.component.html","../../../../packages/angular-property/src/lib/interfaces/property.ts","../../../../packages/angular-property/src/rolatech-angular-property.ts"],"sourcesContent":["import { Routes } from '@angular/router';\n\nexport const propertyRoutes: Routes = [];\n","import { Routes } from '@angular/router';\n\nexport const propertyManageRoutes: Routes = [];\n","import { Component } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\n@Component({\n selector: 'lib-property-action',\n imports: [CommonModule],\n templateUrl: './property-action.component.html',\n styleUrl: './property-action.component.scss',\n})\nexport class PropertyActionComponent {}\n","<p>property-action works!</p>\n","import { Component } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\n@Component({\n selector: 'lib-property-item',\n imports: [CommonModule],\n templateUrl: './property-item.component.html',\n styleUrl: './property-item.component.scss',\n})\nexport class PropertyItemComponent {}\n","<p>property-item works!</p>\n","import { Component } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\n@Component({\n selector: 'lib-property-pricing',\n imports: [CommonModule],\n templateUrl: './property-pricing.component.html',\n styleUrl: './property-pricing.component.scss',\n})\nexport class PropertyPricingComponent {}\n","<p>property-pricing works!</p>\n","export interface Property {\n id: string;\n name: string;\n description: string;\n media: PropertyMedia[];\n status: PropertyStatus | string;\n type: PropertyType | string;\n scope: PropertyScope | string;\n tags: PropertyTag[];\n sections: PropertySection[];\n options: PropertyOption[];\n variants?: PropertyVariant[];\n price: number;\n deposit: number;\n priceType: PropertyPriceType;\n userId: string;\n createdAt: string;\n updatedAt: string;\n}\nexport enum PropertyPriceType {\n FIXED = '固定价格',\n PARTIAL = '支付定金',\n VARIED = '多变的',\n}\nexport interface PropertySection {\n id: string;\n title: string;\n description: string;\n media: PropertyMedia[];\n isUploading?: boolean;\n}\n\nexport interface PropertyVariant {\n id: string;\n title: string;\n price: number;\n sku: string;\n options: PropertyVariantOption[];\n media: PropertyVariantMedia[];\n isUploading?: boolean;\n status: PropertyInventoryStatus | string;\n inventoryItemId: string;\n}\nexport interface PropertyVariantMedia {\n url: string;\n alt: string;\n uploading?: boolean;\n}\nexport interface PropertyVariantOption {\n option: PropertyOption;\n value: PropertyOptionValue;\n}\nexport interface PropertyTag {\n id: string;\n name: string;\n}\nexport enum PropertyStatus {\n DRAFT = <any>'草稿',\n AWAITING = <any>'审核中',\n PENDING = <any>'审核中',\n ACCEPTED = <any>'已通过',\n ACTIVE = <any>'已发布',\n DELETED = <any>'已删除',\n ARCHIVED = <any>'已下架',\n}\nexport enum PropertyType {\n DIGITAL = '虚拟商品',\n PHYSICAL = '实体商品',\n SERVICE = '服务',\n OTHER = '其他',\n}\nexport enum PropertyInventoryStatus {\n IN_STOCK = '有货',\n LOW_STOCK = '库存不足',\n OUT_OF_STOCK = '售罄',\n DISCONTINUED = '已停产',\n}\nexport enum PropertyScope {\n WEB = <any>'网站',\n GLOBAL = <any>'全域',\n}\nexport interface PropertyMedia {\n id: string;\n url: string;\n alt: string;\n width: number;\n height: number;\n uuid: string;\n selected: boolean;\n}\n\nexport interface PropertyTag {\n id: string;\n name: string;\n}\n\nexport interface PropertyOption {\n id: string;\n name: string;\n values: PropertyOptionValue[];\n}\nexport interface PropertyOptionValue {\n id?: string;\n name: string;\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAEO,MAAM,cAAc,GAAW;;ACA/B,MAAM,oBAAoB,GAAW;;MCO/B,uBAAuB,CAAA;uGAAvB,uBAAuB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;2FAAvB,uBAAuB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,qBAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECTpC,iCACA,EAAA,MAAA,EAAA,CAAA,EAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EDIY,YAAY,EAAA,CAAA,EAAA,CAAA;;2FAIX,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBANnC,SAAS;+BACE,qBAAqB,EAAA,OAAA,EACtB,CAAC,YAAY,CAAC,EAAA,QAAA,EAAA,iCAAA,EAAA;;;MEIZ,qBAAqB,CAAA;uGAArB,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;2FAArB,qBAAqB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA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.d.ts
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { PropertyActionComponent } from './property-action/property-action.component';
|
|
2
|
+
import { PropertyItemComponent } from './property-item/property-item.component';
|
|
3
|
+
import { PropertyPricingComponent } from './property-pricing/property-pricing.component';
|
|
4
|
+
export { PropertyActionComponent, PropertyItemComponent, PropertyPricingComponent };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class PropertyActionComponent {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PropertyActionComponent, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PropertyActionComponent, "lib-property-action", never, {}, {}, never, never, true, never>;
|
|
5
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class PropertyItemComponent {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PropertyItemComponent, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PropertyItemComponent, "lib-property-item", never, {}, {}, never, never, true, never>;
|
|
5
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class PropertyPricingComponent {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PropertyPricingComponent, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PropertyPricingComponent, "lib-property-pricing", never, {}, {}, never, never, true, never>;
|
|
5
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './property';
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
export interface Property {
|
|
2
|
+
id: string;
|
|
3
|
+
name: string;
|
|
4
|
+
description: string;
|
|
5
|
+
media: PropertyMedia[];
|
|
6
|
+
status: PropertyStatus | string;
|
|
7
|
+
type: PropertyType | string;
|
|
8
|
+
scope: PropertyScope | string;
|
|
9
|
+
tags: PropertyTag[];
|
|
10
|
+
sections: PropertySection[];
|
|
11
|
+
options: PropertyOption[];
|
|
12
|
+
variants?: PropertyVariant[];
|
|
13
|
+
price: number;
|
|
14
|
+
deposit: number;
|
|
15
|
+
priceType: PropertyPriceType;
|
|
16
|
+
userId: string;
|
|
17
|
+
createdAt: string;
|
|
18
|
+
updatedAt: string;
|
|
19
|
+
}
|
|
20
|
+
export declare enum PropertyPriceType {
|
|
21
|
+
FIXED = "\u56FA\u5B9A\u4EF7\u683C",
|
|
22
|
+
PARTIAL = "\u652F\u4ED8\u5B9A\u91D1",
|
|
23
|
+
VARIED = "\u591A\u53D8\u7684"
|
|
24
|
+
}
|
|
25
|
+
export interface PropertySection {
|
|
26
|
+
id: string;
|
|
27
|
+
title: string;
|
|
28
|
+
description: string;
|
|
29
|
+
media: PropertyMedia[];
|
|
30
|
+
isUploading?: boolean;
|
|
31
|
+
}
|
|
32
|
+
export interface PropertyVariant {
|
|
33
|
+
id: string;
|
|
34
|
+
title: string;
|
|
35
|
+
price: number;
|
|
36
|
+
sku: string;
|
|
37
|
+
options: PropertyVariantOption[];
|
|
38
|
+
media: PropertyVariantMedia[];
|
|
39
|
+
isUploading?: boolean;
|
|
40
|
+
status: PropertyInventoryStatus | string;
|
|
41
|
+
inventoryItemId: string;
|
|
42
|
+
}
|
|
43
|
+
export interface PropertyVariantMedia {
|
|
44
|
+
url: string;
|
|
45
|
+
alt: string;
|
|
46
|
+
uploading?: boolean;
|
|
47
|
+
}
|
|
48
|
+
export interface PropertyVariantOption {
|
|
49
|
+
option: PropertyOption;
|
|
50
|
+
value: PropertyOptionValue;
|
|
51
|
+
}
|
|
52
|
+
export interface PropertyTag {
|
|
53
|
+
id: string;
|
|
54
|
+
name: string;
|
|
55
|
+
}
|
|
56
|
+
export declare enum PropertyStatus {
|
|
57
|
+
DRAFT,
|
|
58
|
+
AWAITING,
|
|
59
|
+
PENDING,
|
|
60
|
+
ACCEPTED,
|
|
61
|
+
ACTIVE,
|
|
62
|
+
DELETED,
|
|
63
|
+
ARCHIVED
|
|
64
|
+
}
|
|
65
|
+
export declare enum PropertyType {
|
|
66
|
+
DIGITAL = "\u865A\u62DF\u5546\u54C1",
|
|
67
|
+
PHYSICAL = "\u5B9E\u4F53\u5546\u54C1",
|
|
68
|
+
SERVICE = "\u670D\u52A1",
|
|
69
|
+
OTHER = "\u5176\u4ED6"
|
|
70
|
+
}
|
|
71
|
+
export declare enum PropertyInventoryStatus {
|
|
72
|
+
IN_STOCK = "\u6709\u8D27",
|
|
73
|
+
LOW_STOCK = "\u5E93\u5B58\u4E0D\u8DB3",
|
|
74
|
+
OUT_OF_STOCK = "\u552E\u7F44",
|
|
75
|
+
DISCONTINUED = "\u5DF2\u505C\u4EA7"
|
|
76
|
+
}
|
|
77
|
+
export declare enum PropertyScope {
|
|
78
|
+
WEB,
|
|
79
|
+
GLOBAL
|
|
80
|
+
}
|
|
81
|
+
export interface PropertyMedia {
|
|
82
|
+
id: string;
|
|
83
|
+
url: string;
|
|
84
|
+
alt: string;
|
|
85
|
+
width: number;
|
|
86
|
+
height: number;
|
|
87
|
+
uuid: string;
|
|
88
|
+
selected: boolean;
|
|
89
|
+
}
|
|
90
|
+
export interface PropertyTag {
|
|
91
|
+
id: string;
|
|
92
|
+
name: string;
|
|
93
|
+
}
|
|
94
|
+
export interface PropertyOption {
|
|
95
|
+
id: string;
|
|
96
|
+
name: string;
|
|
97
|
+
values: PropertyOptionValue[];
|
|
98
|
+
}
|
|
99
|
+
export interface PropertyOptionValue {
|
|
100
|
+
id?: string;
|
|
101
|
+
name: string;
|
|
102
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@rolatech/angular-property",
|
|
3
|
+
"version": "19.0.0-beta.17",
|
|
4
|
+
"private": false,
|
|
5
|
+
"peerDependencies": {
|
|
6
|
+
"@angular/common": "^19.2.0",
|
|
7
|
+
"@angular/core": "^19.2.0"
|
|
8
|
+
},
|
|
9
|
+
"sideEffects": false,
|
|
10
|
+
"publishConfig": {
|
|
11
|
+
"access": "public"
|
|
12
|
+
},
|
|
13
|
+
"repository": {
|
|
14
|
+
"type": "git",
|
|
15
|
+
"url": "https://github.com/viablecell/rolatech-web.git"
|
|
16
|
+
},
|
|
17
|
+
"license": "MIT",
|
|
18
|
+
"module": "fesm2022/rolatech-angular-property.mjs",
|
|
19
|
+
"typings": "index.d.ts",
|
|
20
|
+
"exports": {
|
|
21
|
+
"./package.json": {
|
|
22
|
+
"default": "./package.json"
|
|
23
|
+
},
|
|
24
|
+
".": {
|
|
25
|
+
"types": "./index.d.ts",
|
|
26
|
+
"default": "./fesm2022/rolatech-angular-property.mjs"
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"dependencies": {
|
|
30
|
+
"tslib": "^2.3.0"
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }/*! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com*/*,:after,:before{border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:""}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{color:inherit;font-family:inherit;font-feature-settings:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{color:#9ca3af;opacity:1}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]:where(:not([hidden=until-found])){display:none}html{line-height:normal}
|