1/* 2 * Copyright (c) 2021 Huawei Device Co., Ltd. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15 16/** 17 * Provides a monthly view component to display information such as date, shift break, and schedule. 18 * 19 * @interface CalendarDay 20 * @syscap SystemCapability.ArkUI.ArkUI.Full 21 * @systemapi 22 * @since 7 23 */ 24/** 25 * Provides a monthly view component to display information such as date, shift break, and schedule. 26 * 27 * @interface CalendarDay 28 * @syscap SystemCapability.ArkUI.ArkUI.Full 29 * @systemapi 30 * @since 10 31 * @form 32 */ 33interface CalendarDay { 34 /** 35 * Indicates the sequence number of the 7 x 7 (7 x 6) grid layout on a calendar page by row. 36 * The week sequence is one, two, three, four, five, six. 37 * 38 * @type { number } 39 * @syscap SystemCapability.ArkUI.ArkUI.Full 40 * @systemapi 41 * @since 7 42 */ 43 /** 44 * Indicates the sequence number of the 7 x 7 (7 x 6) grid layout on a calendar page by row. 45 * The week sequence is one, two, three, four, five, six. 46 * 47 * @type { number } 48 * @syscap SystemCapability.ArkUI.ArkUI.Full 49 * @systemapi 50 * @since 10 51 * @form 52 */ 53 index: number; 54 55 /** 56 * Lunar moon. 57 * The week sequence is one, two, three, four, five, six. 58 * 59 * @type { string } 60 * @syscap SystemCapability.ArkUI.ArkUI.Full 61 * @systemapi 62 * @since 7 63 */ 64 /** 65 * Lunar moon. 66 * The week sequence is one, two, three, four, five, six. 67 * 68 * @type { string } 69 * @syscap SystemCapability.ArkUI.ArkUI.Full 70 * @systemapi 71 * @since 10 72 * @form 73 */ 74 lunarMonth: string; 75 76 /** 77 * Lunar day. 78 * 79 * @type { string } 80 * @syscap SystemCapability.ArkUI.ArkUI.Full 81 * @systemapi 82 * @since 7 83 */ 84 /** 85 * Lunar day. 86 * 87 * @type { string } 88 * @syscap SystemCapability.ArkUI.ArkUI.Full 89 * @systemapi 90 * @since 10 91 * @form 92 */ 93 lunarDay: string; 94 95 /** 96 * Day. 97 * 98 * @type { string } 99 * @syscap SystemCapability.ArkUI.ArkUI.Full 100 * @systemapi 101 * @since 7 102 */ 103 /** 104 * Day. 105 * 106 * @type { string } 107 * @syscap SystemCapability.ArkUI.ArkUI.Full 108 * @systemapi 109 * @since 10 110 * @form 111 */ 112 dayMark: string; 113 114 /** 115 * Indicates the off-duty flag information. The options are work and off.By default, the off-duty flag information is not required. 116 * 117 * @type { string } 118 * @syscap SystemCapability.ArkUI.ArkUI.Full 119 * @systemapi 120 * @since 7 121 */ 122 /** 123 * Indicates the off-duty flag information. The options are work and off.By default, the off-duty flag information is not required. 124 * 125 * @type { string } 126 * @syscap SystemCapability.ArkUI.ArkUI.Full 127 * @systemapi 128 * @since 10 129 * @form 130 */ 131 dayMarkValue: string; 132 133 /** 134 * Gregorian calendar year. 135 * 136 * @type { number } 137 * @syscap SystemCapability.ArkUI.ArkUI.Full 138 * @systemapi 139 * @since 7 140 */ 141 /** 142 * Gregorian calendar year. 143 * 144 * @type { number } 145 * @syscap SystemCapability.ArkUI.ArkUI.Full 146 * @systemapi 147 * @since 10 148 * @form 149 */ 150 year: number; 151 152 /** 153 * Gregorian calendar month. 154 * 155 * @type { number } 156 * @syscap SystemCapability.ArkUI.ArkUI.Full 157 * @systemapi 158 * @since 7 159 */ 160 /** 161 * Gregorian calendar month. 162 * 163 * @type { number } 164 * @syscap SystemCapability.ArkUI.ArkUI.Full 165 * @systemapi 166 * @since 10 167 * @form 168 */ 169 month: number; 170 171 /** 172 * Gregorian calendar day. 173 * 174 * @type { number } 175 * @syscap SystemCapability.ArkUI.ArkUI.Full 176 * @systemapi 177 * @since 7 178 */ 179 /** 180 * Gregorian calendar day. 181 * 182 * @type { number } 183 * @syscap SystemCapability.ArkUI.ArkUI.Full 184 * @systemapi 185 * @since 10 186 * @form 187 */ 188 day: number; 189 190 /** 191 * Indicates whether the default value is Lunar calendar. 192 * 193 * @type { boolean } 194 * @syscap SystemCapability.ArkUI.ArkUI.Full 195 * @systemapi 196 * @since 7 197 */ 198 /** 199 * Indicates whether the default value is Lunar calendar. 200 * 201 * @type { boolean } 202 * @syscap SystemCapability.ArkUI.ArkUI.Full 203 * @systemapi 204 * @since 10 205 * @form 206 */ 207 isFirstOfLunar: boolean; 208 209 /** 210 * Indicates whether to display has Schedule. 211 * The week sequence is one, two, three, four, five, six. 212 * 213 * @type { boolean } 214 * @syscap SystemCapability.ArkUI.ArkUI.Full 215 * @systemapi 216 * @since 7 217 */ 218 /** 219 * Indicates whether to display has Schedule. 220 * The week sequence is one, two, three, four, five, six. 221 * 222 * @type { boolean } 223 * @syscap SystemCapability.ArkUI.ArkUI.Full 224 * @systemapi 225 * @since 10 226 * @form 227 */ 228 hasSchedule: boolean; 229 230 /** 231 * Display Lunar Date.The week sequence is one, two, three, four, five, six. 232 * 233 * @type { boolean } 234 * @syscap SystemCapability.ArkUI.ArkUI.Full 235 * @systemapi 236 * @since 7 237 */ 238 /** 239 * Display Lunar Date.The week sequence is one, two, three, four, five, six. 240 * 241 * @type { boolean } 242 * @syscap SystemCapability.ArkUI.ArkUI.Full 243 * @systemapi 244 * @since 10 245 * @form 246 */ 247 markLunarDay: boolean; 248} 249 250/** 251 * Date object. 252 * 253 * @interface MonthData 254 * @syscap SystemCapability.ArkUI.ArkUI.Full 255 * @systemapi 256 * @since 7 257 */ 258/** 259 * Date object. 260 * 261 * @interface MonthData 262 * @syscap SystemCapability.ArkUI.ArkUI.Full 263 * @systemapi 264 * @since 10 265 * @form 266 */ 267interface MonthData { 268 /** 269 * Gregorian calendar year. 270 * 271 * @type { number } 272 * @syscap SystemCapability.ArkUI.ArkUI.Full 273 * @systemapi 274 * @since 7 275 */ 276 /** 277 * Gregorian calendar year. 278 * 279 * @type { number } 280 * @syscap SystemCapability.ArkUI.ArkUI.Full 281 * @systemapi 282 * @since 10 283 * @form 284 */ 285 year: number; 286 287 /** 288 * Gregorian calendar month. 289 * 290 * @type { number } 291 * @syscap SystemCapability.ArkUI.ArkUI.Full 292 * @systemapi 293 * @since 7 294 */ 295 /** 296 * Gregorian calendar month. 297 * 298 * @type { number } 299 * @syscap SystemCapability.ArkUI.ArkUI.Full 300 * @systemapi 301 * @since 10 302 * @form 303 */ 304 month: number; 305 306 /** 307 * CalendarDay. 308 * 309 * @type { CalendarDay[] } 310 * @syscap SystemCapability.ArkUI.ArkUI.Full 311 * @systemapi 312 * @since 7 313 */ 314 /** 315 * CalendarDay. 316 * 317 * @type { CalendarDay[] } 318 * @syscap SystemCapability.ArkUI.ArkUI.Full 319 * @systemapi 320 * @since 10 321 * @form 322 */ 323 data: CalendarDay[]; 324} 325 326/** 327 * CurrentDayStyle object. 328 * 329 * @interface CurrentDayStyle 330 * @syscap SystemCapability.ArkUI.ArkUI.Full 331 * @systemapi 332 * @since 7 333 */ 334/** 335 * CurrentDayStyle object. 336 * 337 * @interface CurrentDayStyle 338 * @syscap SystemCapability.ArkUI.ArkUI.Full 339 * @systemapi 340 * @since 10 341 * @form 342 */ 343interface CurrentDayStyle { 344 /** 345 * Text color. 346 * 347 * @type { ?ResourceColor } 348 * @syscap SystemCapability.ArkUI.ArkUI.Full 349 * @systemapi 350 * @since 7 351 */ 352 /** 353 * Text color. 354 * 355 * @type { ?ResourceColor } 356 * @syscap SystemCapability.ArkUI.ArkUI.Full 357 * @systemapi 358 * @since 10 359 * @form 360 */ 361 dayColor?: ResourceColor; 362 363 /** 364 * lunar Text color. 365 * 366 * @type { ?ResourceColor } 367 * @syscap SystemCapability.ArkUI.ArkUI.Full 368 * @systemapi 369 * @since 7 370 */ 371 /** 372 * lunar Text color. 373 * 374 * @type { ?ResourceColor } 375 * @syscap SystemCapability.ArkUI.ArkUI.Full 376 * @systemapi 377 * @since 10 378 * @form 379 */ 380 lunarColor?: ResourceColor; 381 382 /** 383 * lunar Work and rest text color. 384 * 385 * @type { ?ResourceColor } 386 * @syscap SystemCapability.ArkUI.ArkUI.Full 387 * @systemapi 388 * @since 7 389 */ 390 /** 391 * lunar Work and rest text color. 392 * 393 * @type { ?ResourceColor } 394 * @syscap SystemCapability.ArkUI.ArkUI.Full 395 * @systemapi 396 * @since 10 397 * @form 398 */ 399 markLunarColor?: ResourceColor; 400 401 /** 402 * Text fontSize. 403 * 404 * @type { ?number } 405 * @syscap SystemCapability.ArkUI.ArkUI.Full 406 * @systemapi 407 * @since 7 408 */ 409 /** 410 * Text fontSize. 411 * 412 * @type { ?number } 413 * @syscap SystemCapability.ArkUI.ArkUI.Full 414 * @systemapi 415 * @since 10 416 * @form 417 */ 418 dayFontSize?: number; 419 420 /** 421 * lunar text fontSize. 422 * 423 * @type { ?number } 424 * @syscap SystemCapability.ArkUI.ArkUI.Full 425 * @systemapi 426 * @since 7 427 */ 428 /** 429 * lunar text fontSize. 430 * 431 * @type { ?number } 432 * @syscap SystemCapability.ArkUI.ArkUI.Full 433 * @systemapi 434 * @since 10 435 * @form 436 */ 437 lunarDayFontSize?: number; 438 439 /** 440 * Single date height. 441 * 442 * @type { ?number } 443 * @syscap SystemCapability.ArkUI.ArkUI.Full 444 * @systemapi 445 * @since 7 446 */ 447 /** 448 * Single date height. 449 * 450 * @type { ?number } 451 * @syscap SystemCapability.ArkUI.ArkUI.Full 452 * @systemapi 453 * @since 10 454 * @form 455 */ 456 dayHeight?: number; 457 458 /** 459 * Single date width. 460 * 461 * @type { ?number } 462 * @syscap SystemCapability.ArkUI.ArkUI.Full 463 * @systemapi 464 * @since 7 465 */ 466 /** 467 * Single date width. 468 * 469 * @type { ?number } 470 * @syscap SystemCapability.ArkUI.ArkUI.Full 471 * @systemapi 472 * @since 10 473 * @form 474 */ 475 dayWidth?: number; 476 477 /** 478 * Gregorian calendar height. 479 * 480 * @type { ?number } 481 * @syscap SystemCapability.ArkUI.ArkUI.Full 482 * @systemapi 483 * @since 7 484 */ 485 /** 486 * Gregorian calendar height. 487 * 488 * @type { ?number } 489 * @syscap SystemCapability.ArkUI.ArkUI.Full 490 * @systemapi 491 * @since 10 492 * @form 493 */ 494 gregorianCalendarHeight?: number; 495 496 /** 497 * Data y axis Off set. 498 * 499 * @type { ?number } 500 * @syscap SystemCapability.ArkUI.ArkUI.Full 501 * @systemapi 502 * @since 7 503 */ 504 /** 505 * Data y axis Off set. 506 * 507 * @type { ?number } 508 * @syscap SystemCapability.ArkUI.ArkUI.Full 509 * @systemapi 510 * @since 10 511 * @form 512 */ 513 dayYAxisOffset?: number; 514 515 /** 516 * Lunar data y axis Off set. 517 * 518 * @type { ?number } 519 * @syscap SystemCapability.ArkUI.ArkUI.Full 520 * @systemapi 521 * @since 7 522 */ 523 /** 524 * Lunar data y axis Off set. 525 * 526 * @type { ?number } 527 * @syscap SystemCapability.ArkUI.ArkUI.Full 528 * @systemapi 529 * @since 10 530 * @form 531 */ 532 lunarDayYAxisOffset?: number; 533 534 /** 535 * Under score X Axis Off set. 536 * 537 * @type { ?number } 538 * @syscap SystemCapability.ArkUI.ArkUI.Full 539 * @systemapi 540 * @since 7 541 */ 542 /** 543 * Under score X Axis Off set. 544 * 545 * @type { ?number } 546 * @syscap SystemCapability.ArkUI.ArkUI.Full 547 * @systemapi 548 * @since 10 549 * @form 550 */ 551 underscoreXAxisOffset?: number; 552 553 /** 554 * Under score Y Axis Off set 555 * 556 * @type { ?number } 557 * @syscap SystemCapability.ArkUI.ArkUI.Full 558 * @systemapi 559 * @since 7 560 */ 561 /** 562 * Under score Y Axis Off set 563 * 564 * @type { ?number } 565 * @syscap SystemCapability.ArkUI.ArkUI.Full 566 * @systemapi 567 * @since 10 568 * @form 569 */ 570 underscoreYAxisOffset?: number; 571 572 /** 573 * Schedule marker X axis Off set 574 * 575 * @type { ?number } 576 * @syscap SystemCapability.ArkUI.ArkUI.Full 577 * @systemapi 578 * @since 7 579 */ 580 /** 581 * Schedule marker X axis Off set 582 * 583 * @type { ?number } 584 * @syscap SystemCapability.ArkUI.ArkUI.Full 585 * @systemapi 586 * @since 10 587 * @form 588 */ 589 scheduleMarkerXAxisOffset?: number; 590 591 /** 592 * schedule Marker Y Axis Off set 593 * 594 * @type { ?number } 595 * @syscap SystemCapability.ArkUI.ArkUI.Full 596 * @systemapi 597 * @since 7 598 */ 599 /** 600 * schedule Marker Y Axis Off set 601 * 602 * @type { ?number } 603 * @syscap SystemCapability.ArkUI.ArkUI.Full 604 * @systemapi 605 * @since 10 606 * @form 607 */ 608 scheduleMarkerYAxisOffset?: number; 609 610 /** 611 * Number of columns. 612 * 613 * @type { ?number } 614 * @syscap SystemCapability.ArkUI.ArkUI.Full 615 * @systemapi 616 * @since 7 617 */ 618 /** 619 * Number of columns. 620 * 621 * @type { ?number } 622 * @syscap SystemCapability.ArkUI.ArkUI.Full 623 * @systemapi 624 * @since 10 625 * @form 626 */ 627 colSpace?: number; 628 629 /** 630 * Daily five row space. 631 * 632 * @type { ?number } 633 * @syscap SystemCapability.ArkUI.ArkUI.Full 634 * @systemapi 635 * @since 7 636 */ 637 /** 638 * Daily five row space. 639 * 640 * @type { ?number } 641 * @syscap SystemCapability.ArkUI.ArkUI.Full 642 * @systemapi 643 * @since 10 644 * @form 645 */ 646 dailyFiveRowSpace?: number; 647 648 /** 649 * Daily six row space. 650 * 651 * @type { ?number } 652 * @syscap SystemCapability.ArkUI.ArkUI.Full 653 * @systemapi 654 * @since 7 655 */ 656 /** 657 * Daily six row space. 658 * 659 * @type { ?number } 660 * @syscap SystemCapability.ArkUI.ArkUI.Full 661 * @systemapi 662 * @since 10 663 * @form 664 */ 665 dailySixRowSpace?: number; 666 667 /** 668 * Single lunar height. 669 * 670 * @type { ?number } 671 * @syscap SystemCapability.ArkUI.ArkUI.Full 672 * @systemapi 673 * @since 7 674 */ 675 /** 676 * Single lunar height. 677 * 678 * @type { ?number } 679 * @syscap SystemCapability.ArkUI.ArkUI.Full 680 * @systemapi 681 * @since 10 682 * @form 683 */ 684 lunarHeight?: number; 685 686 /** 687 * Under score width. 688 * 689 * @type { ?number } 690 * @syscap SystemCapability.ArkUI.ArkUI.Full 691 * @systemapi 692 * @since 7 693 */ 694 /** 695 * Under score width. 696 * 697 * @type { ?number } 698 * @syscap SystemCapability.ArkUI.ArkUI.Full 699 * @systemapi 700 * @since 10 701 * @form 702 */ 703 underscoreWidth?: number; 704 705 /** 706 * Under score length. 707 * 708 * @type { ?number } 709 * @syscap SystemCapability.ArkUI.ArkUI.Full 710 * @systemapi 711 * @since 7 712 */ 713 /** 714 * Under score length. 715 * 716 * @type { ?number } 717 * @syscap SystemCapability.ArkUI.ArkUI.Full 718 * @systemapi 719 * @since 10 720 * @form 721 */ 722 underscoreLength?: number; 723 724 /** 725 * Schedule marker radius. 726 * 727 * @type { ?number } 728 * @syscap SystemCapability.ArkUI.ArkUI.Full 729 * @systemapi 730 * @since 7 731 */ 732 /** 733 * Schedule marker radius. 734 * 735 * @type { ?number } 736 * @syscap SystemCapability.ArkUI.ArkUI.Full 737 * @systemapi 738 * @since 10 739 * @form 740 */ 741 scheduleMarkerRadius?: number; 742 743 /** 744 * Boundary row offset. 745 * 746 * @type { ?number } 747 * @syscap SystemCapability.ArkUI.ArkUI.Full 748 * @systemapi 749 * @since 7 750 */ 751 /** 752 * Boundary row offset. 753 * 754 * @type { ?number } 755 * @syscap SystemCapability.ArkUI.ArkUI.Full 756 * @systemapi 757 * @since 10 758 * @form 759 */ 760 boundaryRowOffset?: number; 761 762 /** 763 * Boundary col offset. 764 * 765 * @type { ?number } 766 * @syscap SystemCapability.ArkUI.ArkUI.Full 767 * @systemapi 768 * @since 7 769 */ 770 /** 771 * Boundary col offset. 772 * 773 * @type { ?number } 774 * @syscap SystemCapability.ArkUI.ArkUI.Full 775 * @systemapi 776 * @since 10 777 * @form 778 */ 779 boundaryColOffset?: number; 780} 781 782/** 783 * Non current day style. 784 * 785 * @interface NonCurrentDayStyle 786 * @syscap SystemCapability.ArkUI.ArkUI.Full 787 * @systemapi 788 * @since 7 789 */ 790/** 791 * Non current day style. 792 * 793 * @interface NonCurrentDayStyle 794 * @syscap SystemCapability.ArkUI.ArkUI.Full 795 * @systemapi 796 * @since 10 797 * @form 798 */ 799interface NonCurrentDayStyle { 800 /** 801 * Non-current month day color. 802 * 803 * @type { ?ResourceColor } 804 * @syscap SystemCapability.ArkUI.ArkUI.Full 805 * @systemapi 806 * @since 7 807 */ 808 /** 809 * Non-current month day color. 810 * 811 * @type { ?ResourceColor } 812 * @syscap SystemCapability.ArkUI.ArkUI.Full 813 * @systemapi 814 * @since 10 815 * @form 816 */ 817 nonCurrentMonthDayColor?: ResourceColor; 818 819 /** 820 * Lunar style of non-current month. 821 * 822 * @type { ?ResourceColor } 823 * @syscap SystemCapability.ArkUI.ArkUI.Full 824 * @systemapi 825 * @since 7 826 */ 827 /** 828 * Lunar style of non-current month. 829 * 830 * @type { ?ResourceColor } 831 * @syscap SystemCapability.ArkUI.ArkUI.Full 832 * @systemapi 833 * @since 10 834 * @form 835 */ 836 nonCurrentMonthLunarColor?: ResourceColor; 837 838 /** 839 * Non-Current Month Workday Marker Color. 840 * 841 * @type { ?ResourceColor } 842 * @syscap SystemCapability.ArkUI.ArkUI.Full 843 * @systemapi 844 * @since 7 845 */ 846 /** 847 * Non-Current Month Workday Marker Color. 848 * 849 * @type { ?ResourceColor } 850 * @syscap SystemCapability.ArkUI.ArkUI.Full 851 * @systemapi 852 * @since 10 853 * @form 854 */ 855 nonCurrentMonthWorkDayMarkColor?: ResourceColor; 856 857 /** 858 * Non-Current Month Off Day Marker Color. 859 * 860 * @type { ?ResourceColor } 861 * @syscap SystemCapability.ArkUI.ArkUI.Full 862 * @systemapi 863 * @since 7 864 */ 865 /** 866 * Non-Current Month Off Day Marker Color. 867 * 868 * @type { ?ResourceColor } 869 * @syscap SystemCapability.ArkUI.ArkUI.Full 870 * @systemapi 871 * @since 10 872 * @form 873 */ 874 nonCurrentMonthOffDayMarkColor?: ResourceColor; 875} 876 877/** 878 * Non current day style. 879 * 880 * @interface TodayStyle 881 * @syscap SystemCapability.ArkUI.ArkUI.Full 882 * @systemapi 883 * @since 7 884 */ 885/** 886 * Non current day style. 887 * 888 * @interface TodayStyle 889 * @syscap SystemCapability.ArkUI.ArkUI.Full 890 * @systemapi 891 * @since 10 892 * @form 893 */ 894interface TodayStyle { 895 /** 896 * Style of focus color. 897 * 898 * @type { ?ResourceColor } 899 * @syscap SystemCapability.ArkUI.ArkUI.Full 900 * @systemapi 901 * @since 7 902 */ 903 /** 904 * Style of focus color. 905 * 906 * @type { ?ResourceColor } 907 * @syscap SystemCapability.ArkUI.ArkUI.Full 908 * @systemapi 909 * @since 10 910 * @form 911 */ 912 focusedDayColor?: ResourceColor; 913 914 /** 915 * Focus on Lunar Colors. 916 * 917 * @type { ?ResourceColor } 918 * @syscap SystemCapability.ArkUI.ArkUI.Full 919 * @systemapi 920 * @since 7 921 */ 922 /** 923 * Focus on Lunar Colors. 924 * 925 * @type { ?ResourceColor } 926 * @syscap SystemCapability.ArkUI.ArkUI.Full 927 * @systemapi 928 * @since 10 929 * @form 930 */ 931 focusedLunarColor?: ResourceColor; 932 933 /** 934 * Background color of the focus area. 935 * 936 * @type { ?ResourceColor } 937 * @syscap SystemCapability.ArkUI.ArkUI.Full 938 * @systemapi 939 * @since 7 940 */ 941 /** 942 * Background color of the focus area. 943 * 944 * @type { ?ResourceColor } 945 * @syscap SystemCapability.ArkUI.ArkUI.Full 946 * @systemapi 947 * @since 10 948 * @form 949 */ 950 focusedAreaBackgroundColor?: ResourceColor; 951 952 /** 953 * Focus area radius. 954 * 955 * @type { ?number } 956 * @syscap SystemCapability.ArkUI.ArkUI.Full 957 * @systemapi 958 * @since 7 959 */ 960 /** 961 * Focus area radius. 962 * 963 * @type { ?number } 964 * @syscap SystemCapability.ArkUI.ArkUI.Full 965 * @systemapi 966 * @since 10 967 * @form 968 */ 969 focusedAreaRadius?: number; 970} 971 972/** 973 * Week Style. 974 * 975 * @interface WeekStyle 976 * @syscap SystemCapability.ArkUI.ArkUI.Full 977 * @systemapi 978 * @since 7 979 */ 980/** 981 * Week Style. 982 * 983 * @interface WeekStyle 984 * @syscap SystemCapability.ArkUI.ArkUI.Full 985 * @systemapi 986 * @since 10 987 * @form 988 */ 989interface WeekStyle { 990 /** 991 * Style of week color. 992 * 993 * @type { ?ResourceColor } 994 * @syscap SystemCapability.ArkUI.ArkUI.Full 995 * @systemapi 996 * @since 7 997 */ 998 /** 999 * Style of week color. 1000 * 1001 * @type { ?ResourceColor } 1002 * @syscap SystemCapability.ArkUI.ArkUI.Full 1003 * @systemapi 1004 * @since 10 1005 * @form 1006 */ 1007 weekColor?: ResourceColor; 1008 1009 /** 1010 * Style of week day color. 1011 * 1012 * @type { ?ResourceColor } 1013 * @syscap SystemCapability.ArkUI.ArkUI.Full 1014 * @systemapi 1015 * @since 7 1016 */ 1017 /** 1018 * Style of week day color. 1019 * 1020 * @type { ?ResourceColor } 1021 * @syscap SystemCapability.ArkUI.ArkUI.Full 1022 * @systemapi 1023 * @since 10 1024 * @form 1025 */ 1026 weekendDayColor?: ResourceColor; 1027 1028 /** 1029 * Style of lunar color. 1030 * 1031 * @type { ?ResourceColor } 1032 * @syscap SystemCapability.ArkUI.ArkUI.Full 1033 * @systemapi 1034 * @since 7 1035 */ 1036 /** 1037 * Style of lunar color. 1038 * 1039 * @type { ?ResourceColor } 1040 * @syscap SystemCapability.ArkUI.ArkUI.Full 1041 * @systemapi 1042 * @since 10 1043 * @form 1044 */ 1045 weekendLunarColor?: ResourceColor; 1046 1047 /** 1048 * Style of week font size. 1049 * 1050 * @type { ?number } 1051 * @syscap SystemCapability.ArkUI.ArkUI.Full 1052 * @systemapi 1053 * @since 7 1054 */ 1055 /** 1056 * Style of week font size. 1057 * 1058 * @type { ?number } 1059 * @syscap SystemCapability.ArkUI.ArkUI.Full 1060 * @systemapi 1061 * @since 10 1062 * @form 1063 */ 1064 weekFontSize?: number; 1065 1066 /** 1067 * Style of week height. 1068 * 1069 * @type { ?number } 1070 * @syscap SystemCapability.ArkUI.ArkUI.Full 1071 * @systemapi 1072 * @since 7 1073 */ 1074 /** 1075 * Style of week height. 1076 * 1077 * @type { ?number } 1078 * @syscap SystemCapability.ArkUI.ArkUI.Full 1079 * @systemapi 1080 * @since 10 1081 * @form 1082 */ 1083 weekHeight?: number; 1084 1085 /** 1086 * Style of week width. 1087 * 1088 * @type { ?number } 1089 * @syscap SystemCapability.ArkUI.ArkUI.Full 1090 * @systemapi 1091 * @since 7 1092 */ 1093 /** 1094 * Style of week width. 1095 * 1096 * @type { ?number } 1097 * @syscap SystemCapability.ArkUI.ArkUI.Full 1098 * @systemapi 1099 * @since 10 1100 * @form 1101 */ 1102 weekWidth?: number; 1103 1104 /** 1105 * Style of week space. 1106 * 1107 * @type { ?number } 1108 * @syscap SystemCapability.ArkUI.ArkUI.Full 1109 * @systemapi 1110 * @since 7 1111 */ 1112 /** 1113 * Style of week space. 1114 * 1115 * @type { ?number } 1116 * @syscap SystemCapability.ArkUI.ArkUI.Full 1117 * @systemapi 1118 * @since 10 1119 * @form 1120 */ 1121 weekAndDayRowSpace?: number; 1122} 1123 1124/** 1125 * Work state style. 1126 * 1127 * @interface WorkStateStyle 1128 * @syscap SystemCapability.ArkUI.ArkUI.Full 1129 * @systemapi 1130 * @since 7 1131 */ 1132/** 1133 * Work state style. 1134 * 1135 * @interface WorkStateStyle 1136 * @syscap SystemCapability.ArkUI.ArkUI.Full 1137 * @systemapi 1138 * @since 10 1139 * @form 1140 */ 1141interface WorkStateStyle { 1142 /** 1143 * Style of day color. 1144 * 1145 * @type { ?ResourceColor } 1146 * @syscap SystemCapability.ArkUI.ArkUI.Full 1147 * @systemapi 1148 * @since 7 1149 */ 1150 /** 1151 * Style of day color. 1152 * 1153 * @type { ?ResourceColor } 1154 * @syscap SystemCapability.ArkUI.ArkUI.Full 1155 * @systemapi 1156 * @since 10 1157 * @form 1158 */ 1159 workDayMarkColor?: ResourceColor; 1160 1161 /** 1162 * Style of day color. 1163 * 1164 * @type { ?ResourceColor } 1165 * @syscap SystemCapability.ArkUI.ArkUI.Full 1166 * @systemapi 1167 * @since 7 1168 */ 1169 /** 1170 * Style of day color. 1171 * 1172 * @type { ?ResourceColor } 1173 * @syscap SystemCapability.ArkUI.ArkUI.Full 1174 * @systemapi 1175 * @since 10 1176 * @form 1177 */ 1178 offDayMarkColor?: ResourceColor; 1179 1180 /** 1181 * Style of day size. 1182 * 1183 * @type { ?number } 1184 * @syscap SystemCapability.ArkUI.ArkUI.Full 1185 * @systemapi 1186 * @since 7 1187 */ 1188 /** 1189 * Style of day size. 1190 * 1191 * @type { ?number } 1192 * @syscap SystemCapability.ArkUI.ArkUI.Full 1193 * @systemapi 1194 * @since 10 1195 * @form 1196 */ 1197 workDayMarkSize?: number; 1198 1199 /** 1200 * Style of day size. 1201 * 1202 * @type { ?number } 1203 * @syscap SystemCapability.ArkUI.ArkUI.Full 1204 * @systemapi 1205 * @since 7 1206 */ 1207 /** 1208 * Style of day size. 1209 * 1210 * @type { ?number } 1211 * @syscap SystemCapability.ArkUI.ArkUI.Full 1212 * @systemapi 1213 * @since 10 1214 * @form 1215 */ 1216 offDayMarkSize?: number; 1217 1218 /** 1219 * Style of width. 1220 * 1221 * @type { ?number } 1222 * @syscap SystemCapability.ArkUI.ArkUI.Full 1223 * @systemapi 1224 * @since 7 1225 */ 1226 /** 1227 * Style of width. 1228 * 1229 * @type { ?number } 1230 * @syscap SystemCapability.ArkUI.ArkUI.Full 1231 * @systemapi 1232 * @since 10 1233 * @form 1234 */ 1235 workStateWidth?: number; 1236 1237 /** 1238 * Style of distance. 1239 * 1240 * @type { ?number } 1241 * @syscap SystemCapability.ArkUI.ArkUI.Full 1242 * @systemapi 1243 * @since 7 1244 */ 1245 /** 1246 * Style of distance. 1247 * 1248 * @type { ?number } 1249 * @syscap SystemCapability.ArkUI.ArkUI.Full 1250 * @systemapi 1251 * @since 10 1252 * @form 1253 */ 1254 workStateHorizontalMovingDistance?: number; 1255 1256 /** 1257 * Style of distance. 1258 * 1259 * @type { ?number } 1260 * @syscap SystemCapability.ArkUI.ArkUI.Full 1261 * @systemapi 1262 * @since 7 1263 */ 1264 /** 1265 * Style of distance. 1266 * 1267 * @type { ?number } 1268 * @syscap SystemCapability.ArkUI.ArkUI.Full 1269 * @systemapi 1270 * @since 10 1271 * @form 1272 */ 1273 workStateVerticalMovingDistance?: number; 1274} 1275 1276/** 1277 * Defines the struct of CalendarSelectedDate. 1278 * 1279 * @interface CalendarSelectedDate 1280 * @syscap SystemCapability.ArkUI.ArkUI.Full 1281 * @systemapi 1282 * @since 7 1283 */ 1284/** 1285 * Defines the struct of CalendarSelectedDate. 1286 * 1287 * @interface CalendarSelectedDate 1288 * @syscap SystemCapability.ArkUI.ArkUI.Full 1289 * @systemapi 1290 * @since 10 1291 * @form 1292 */ 1293declare interface CalendarSelectedDate { 1294 /** 1295 * Application year 1296 * 1297 * @type { number } 1298 * @syscap SystemCapability.ArkUI.ArkUI.Full 1299 * @systemapi 1300 * @since 7 1301 */ 1302 /** 1303 * Application year 1304 * 1305 * @type { number } 1306 * @syscap SystemCapability.ArkUI.ArkUI.Full 1307 * @systemapi 1308 * @since 10 1309 * @form 1310 */ 1311 year: number; 1312 1313 /** 1314 * Application month 1315 * 1316 * @type { number } 1317 * @syscap SystemCapability.ArkUI.ArkUI.Full 1318 * @systemapi 1319 * @since 7 1320 */ 1321 /** 1322 * Application month 1323 * 1324 * @type { number } 1325 * @syscap SystemCapability.ArkUI.ArkUI.Full 1326 * @systemapi 1327 * @since 10 1328 * @form 1329 */ 1330 month: number; 1331 1332 /** 1333 * Application day 1334 * 1335 * @type { number } 1336 * @syscap SystemCapability.ArkUI.ArkUI.Full 1337 * @systemapi 1338 * @since 7 1339 */ 1340 /** 1341 * Application day 1342 * 1343 * @type { number } 1344 * @syscap SystemCapability.ArkUI.ArkUI.Full 1345 * @systemapi 1346 * @since 10 1347 * @form 1348 */ 1349 day: number; 1350} 1351 1352/** 1353 * Defines the struct of CalendarRequestedData. 1354 * 1355 * @interface CalendarRequestedData 1356 * @syscap SystemCapability.ArkUI.ArkUI.Full 1357 * @systemapi 1358 * @since 7 1359 */ 1360/** 1361 * Defines the struct of CalendarRequestedData. 1362 * 1363 * @interface CalendarRequestedData 1364 * @syscap SystemCapability.ArkUI.ArkUI.Full 1365 * @systemapi 1366 * @since 10 1367 * @form 1368 */ 1369declare interface CalendarRequestedData { 1370 /** 1371 * Previous year 1372 * 1373 * @type { number } 1374 * @syscap SystemCapability.ArkUI.ArkUI.Full 1375 * @systemapi 1376 * @since 7 1377 */ 1378 /** 1379 * Previous year 1380 * 1381 * @type { number } 1382 * @syscap SystemCapability.ArkUI.ArkUI.Full 1383 * @systemapi 1384 * @since 10 1385 * @form 1386 */ 1387 year: number; 1388 1389 /** 1390 * Previous month 1391 * 1392 * @type { number } 1393 * @syscap SystemCapability.ArkUI.ArkUI.Full 1394 * @systemapi 1395 * @since 7 1396 */ 1397 /** 1398 * Previous month 1399 * 1400 * @type { number } 1401 * @syscap SystemCapability.ArkUI.ArkUI.Full 1402 * @systemapi 1403 * @since 10 1404 * @form 1405 */ 1406 month: number; 1407 1408 /** 1409 * Current Year 1410 * 1411 * @type { number } 1412 * @syscap SystemCapability.ArkUI.ArkUI.Full 1413 * @systemapi 1414 * @since 7 1415 */ 1416 /** 1417 * Current Year 1418 * 1419 * @type { number } 1420 * @syscap SystemCapability.ArkUI.ArkUI.Full 1421 * @systemapi 1422 * @since 10 1423 * @form 1424 */ 1425 currentYear: number; 1426 1427 /** 1428 * Current Month 1429 * 1430 * @type { number } 1431 * @syscap SystemCapability.ArkUI.ArkUI.Full 1432 * @systemapi 1433 * @since 7 1434 */ 1435 /** 1436 * Current Month 1437 * 1438 * @type { number } 1439 * @syscap SystemCapability.ArkUI.ArkUI.Full 1440 * @systemapi 1441 * @since 10 1442 * @form 1443 */ 1444 currentMonth: number; 1445 1446 /** 1447 * State of month 1448 * 1449 * @type { number } 1450 * @syscap SystemCapability.ArkUI.ArkUI.Full 1451 * @systemapi 1452 * @since 7 1453 */ 1454 /** 1455 * State of month 1456 * 1457 * @type { number } 1458 * @syscap SystemCapability.ArkUI.ArkUI.Full 1459 * @systemapi 1460 * @since 10 1461 * @form 1462 */ 1463 monthState: number; 1464} 1465 1466/** 1467 * Calendar controller. 1468 * 1469 * @syscap SystemCapability.ArkUI.ArkUI.Full 1470 * @systemapi 1471 * @since 7 1472 */ 1473/** 1474 * Calendar controller. 1475 * 1476 * @syscap SystemCapability.ArkUI.ArkUI.Full 1477 * @systemapi 1478 * @since 10 1479 * @form 1480 */ 1481declare class CalendarController { 1482 /** 1483 * Constructor. 1484 * 1485 * @syscap SystemCapability.ArkUI.ArkUI.Full 1486 * @systemapi 1487 * @since 7 1488 */ 1489 /** 1490 * Constructor. 1491 * 1492 * @syscap SystemCapability.ArkUI.ArkUI.Full 1493 * @systemapi 1494 * @since 10 1495 * @form 1496 */ 1497 constructor(); 1498 1499 /** 1500 * Back to day. 1501 * 1502 * @syscap SystemCapability.ArkUI.ArkUI.Full 1503 * @systemapi 1504 * @since 7 1505 */ 1506 /** 1507 * Back to day. 1508 * 1509 * @syscap SystemCapability.ArkUI.ArkUI.Full 1510 * @systemapi 1511 * @since 10 1512 * @form 1513 */ 1514 backToToday(); 1515 1516 /** 1517 * To the specified element. 1518 * 1519 * @param { object } value 1520 * @syscap SystemCapability.ArkUI.ArkUI.Full 1521 * @systemapi 1522 * @since 7 1523 */ 1524 /** 1525 * To the specified element. 1526 * 1527 * @param { object } value 1528 * @syscap SystemCapability.ArkUI.ArkUI.Full 1529 * @systemapi 1530 * @since 10 1531 * @form 1532 */ 1533 goTo(value: { year: number; month: number; day: number }); 1534} 1535 1536/** 1537 * Calendar Interface 1538 * 1539 * @interface CalendarInterface 1540 * @syscap SystemCapability.ArkUI.ArkUI.Full 1541 * @systemapi 1542 * @since 7 1543 */ 1544/** 1545 * Calendar Interface 1546 * 1547 * @interface CalendarInterface 1548 * @syscap SystemCapability.ArkUI.ArkUI.Full 1549 * @systemapi 1550 * @since 10 1551 * @form 1552 */ 1553interface CalendarInterface { 1554 /** 1555 * Set value. 1556 * 1557 * @param { object } value 1558 * @returns { CalendarAttribute } 1559 * @syscap SystemCapability.ArkUI.ArkUI.Full 1560 * @systemapi 1561 * @since 7 1562 */ 1563 /** 1564 * Set value. 1565 * 1566 * @param { object } value 1567 * @returns { CalendarAttribute } 1568 * @syscap SystemCapability.ArkUI.ArkUI.Full 1569 * @systemapi 1570 * @since 10 1571 * @form 1572 */ 1573 (value: { 1574 date: { year: number; month: number; day: number }; 1575 currentData: MonthData; 1576 preData: MonthData; 1577 nextData: MonthData; 1578 controller?: CalendarController; 1579 }): CalendarAttribute; 1580} 1581 1582/** 1583 * @syscap SystemCapability.ArkUI.ArkUI.Full 1584 * @systemapi 1585 * @since 7 1586 */ 1587/** 1588 * @syscap SystemCapability.ArkUI.ArkUI.Full 1589 * @systemapi 1590 * @since 10 1591 * @form 1592 */ 1593declare class CalendarAttribute { 1594 /** 1595 * Specifies whether the component displays the lunar calendar information. 1596 * 1597 * @param { boolean } value 1598 * @returns { CalendarAttribute } 1599 * @syscap SystemCapability.ArkUI.ArkUI.Full 1600 * @systemapi 1601 * @since 7 1602 */ 1603 /** 1604 * Specifies whether the component displays the lunar calendar information. 1605 * 1606 * @param { boolean } value 1607 * @returns { CalendarAttribute } 1608 * @syscap SystemCapability.ArkUI.ArkUI.Full 1609 * @systemapi 1610 * @since 10 1611 * @form 1612 */ 1613 showLunar(value: boolean): CalendarAttribute; 1614 1615 /** 1616 * Setting whether to display holiday information 1617 * 1618 * @param { boolean } value 1619 * @returns { CalendarAttribute } 1620 * @syscap SystemCapability.ArkUI.ArkUI.Full 1621 * @systemapi 1622 * @since 7 1623 */ 1624 /** 1625 * Setting whether to display holiday information 1626 * 1627 * @param { boolean } value 1628 * @returns { CalendarAttribute } 1629 * @syscap SystemCapability.ArkUI.ArkUI.Full 1630 * @systemapi 1631 * @since 10 1632 * @form 1633 */ 1634 showHoliday(value: boolean): CalendarAttribute; 1635 1636 /** 1637 * Indicates whether the page can be scrolled. 1638 * 1639 * @param { boolean } value 1640 * @returns { CalendarAttribute } 1641 * @syscap SystemCapability.ArkUI.ArkUI.Full 1642 * @systemapi 1643 * @since 7 1644 */ 1645 /** 1646 * Indicates whether the page can be scrolled. 1647 * 1648 * @param { boolean } value 1649 * @returns { CalendarAttribute } 1650 * @syscap SystemCapability.ArkUI.ArkUI.Full 1651 * @systemapi 1652 * @since 10 1653 * @form 1654 */ 1655 needSlide(value: boolean): CalendarAttribute; 1656 1657 /** 1658 * Set the start day of the week for the calendar. 1659 * 1660 * @param { number } value 1661 * @returns { CalendarAttribute } 1662 * @syscap SystemCapability.ArkUI.ArkUI.Full 1663 * @systemapi 1664 * @since 7 1665 */ 1666 /** 1667 * Set the start day of the week for the calendar. 1668 * 1669 * @param { number } value 1670 * @returns { CalendarAttribute } 1671 * @syscap SystemCapability.ArkUI.ArkUI.Full 1672 * @systemapi 1673 * @since 10 1674 * @form 1675 */ 1676 startOfWeek(value: number): CalendarAttribute; 1677 1678 /** 1679 * Set weekend. The default value is Sunday and Saturday. 1680 * 1681 * @param { number } value 1682 * @returns { CalendarAttribute } 1683 * @syscap SystemCapability.ArkUI.ArkUI.Full 1684 * @systemapi 1685 * @since 7 1686 */ 1687 /** 1688 * Set weekend. The default value is Sunday and Saturday. 1689 * 1690 * @param { number } value 1691 * @returns { CalendarAttribute } 1692 * @syscap SystemCapability.ArkUI.ArkUI.Full 1693 * @systemapi 1694 * @since 10 1695 * @form 1696 */ 1697 offDays(value: number): CalendarAttribute; 1698 1699 /** 1700 * Sets the sliding direction. 1701 * 1702 * @param { Axis } value 1703 * @returns { CalendarAttribute } 1704 * @syscap SystemCapability.ArkUI.ArkUI.Full 1705 * @systemapi 1706 * @since 7 1707 */ 1708 /** 1709 * Sets the sliding direction. 1710 * 1711 * @param { Axis } value 1712 * @returns { CalendarAttribute } 1713 * @syscap SystemCapability.ArkUI.ArkUI.Full 1714 * @systemapi 1715 * @since 10 1716 * @form 1717 */ 1718 direction(value: Axis): CalendarAttribute; 1719 1720 /** 1721 * Sets the date style in the current month. 1722 * 1723 * @param { CurrentDayStyle } value 1724 * @returns { CalendarAttribute } 1725 * @syscap SystemCapability.ArkUI.ArkUI.Full 1726 * @systemapi 1727 * @since 7 1728 */ 1729 /** 1730 * Sets the date style in the current month. 1731 * 1732 * @param { CurrentDayStyle } value 1733 * @returns { CalendarAttribute } 1734 * @syscap SystemCapability.ArkUI.ArkUI.Full 1735 * @systemapi 1736 * @since 10 1737 * @form 1738 */ 1739 currentDayStyle(value: CurrentDayStyle): CalendarAttribute; 1740 1741 /** 1742 * Sets the non-monthly date style. 1743 * 1744 * @param { NonCurrentDayStyle } value 1745 * @returns { CalendarAttribute } 1746 * @syscap SystemCapability.ArkUI.ArkUI.Full 1747 * @systemapi 1748 * @since 7 1749 */ 1750 /** 1751 * Sets the non-monthly date style. 1752 * 1753 * @param { NonCurrentDayStyle } value 1754 * @returns { CalendarAttribute } 1755 * @syscap SystemCapability.ArkUI.ArkUI.Full 1756 * @systemapi 1757 * @since 10 1758 * @form 1759 */ 1760 nonCurrentDayStyle(value: NonCurrentDayStyle): CalendarAttribute; 1761 1762 /** 1763 * Set the date style for today. 1764 * 1765 * @param { TodayStyle } value 1766 * @returns { CalendarAttribute } 1767 * @syscap SystemCapability.ArkUI.ArkUI.Full 1768 * @systemapi 1769 * @since 7 1770 */ 1771 /** 1772 * Set the date style for today. 1773 * 1774 * @param { TodayStyle } value 1775 * @returns { CalendarAttribute } 1776 * @syscap SystemCapability.ArkUI.ArkUI.Full 1777 * @systemapi 1778 * @since 10 1779 * @form 1780 */ 1781 todayStyle(value: TodayStyle): CalendarAttribute; 1782 1783 /** 1784 * Sets the date style for the weekend. 1785 * 1786 * @param { WeekStyle } value 1787 * @returns { CalendarAttribute } 1788 * @syscap SystemCapability.ArkUI.ArkUI.Full 1789 * @systemapi 1790 * @since 7 1791 */ 1792 /** 1793 * Sets the date style for the weekend. 1794 * 1795 * @param { WeekStyle } value 1796 * @returns { CalendarAttribute } 1797 * @syscap SystemCapability.ArkUI.ArkUI.Full 1798 * @systemapi 1799 * @since 10 1800 * @form 1801 */ 1802 weekStyle(value: WeekStyle): CalendarAttribute; 1803 1804 /** 1805 * Sets the style of the working state. 1806 * 1807 * @param { WorkStateStyle } value 1808 * @returns { CalendarAttribute } 1809 * @syscap SystemCapability.ArkUI.ArkUI.Full 1810 * @systemapi 1811 * @since 7 1812 */ 1813 /** 1814 * Sets the style of the working state. 1815 * 1816 * @param { WorkStateStyle } value 1817 * @returns { CalendarAttribute } 1818 * @syscap SystemCapability.ArkUI.ArkUI.Full 1819 * @systemapi 1820 * @since 10 1821 * @form 1822 */ 1823 workStateStyle(value: WorkStateStyle): CalendarAttribute; 1824 1825 /** 1826 * Click a date to return the information about the date you clicked. 1827 * 1828 * @param { function } event 1829 * @returns { CalendarAttribute } 1830 * @syscap SystemCapability.ArkUI.ArkUI.Full 1831 * @systemapi 1832 * @since 7 1833 */ 1834 /** 1835 * Click a date to return the information about the date you clicked. 1836 * 1837 * @param { function } event 1838 * @returns { CalendarAttribute } 1839 * @syscap SystemCapability.ArkUI.ArkUI.Full 1840 * @systemapi 1841 * @since 10 1842 * @form 1843 */ 1844 onSelectChange(event: (event: CalendarSelectedDate) => void): CalendarAttribute; 1845 1846 /** 1847 * When you swipe to switch months, the information about the previous month and the next month is requested. 1848 * 1849 * @param { function } event 1850 * @returns { CalendarAttribute } 1851 * @syscap SystemCapability.ArkUI.ArkUI.Full 1852 * @systemapi 1853 * @since 7 1854 */ 1855 /** 1856 * When you swipe to switch months, the information about the previous month and the next month is requested. 1857 * 1858 * @param { function } event 1859 * @returns { CalendarAttribute } 1860 * @syscap SystemCapability.ArkUI.ArkUI.Full 1861 * @systemapi 1862 * @since 10 1863 * @form 1864 */ 1865 onRequestData( 1866 event: (event: CalendarRequestedData) => void, 1867 ): CalendarAttribute; 1868} 1869 1870/** 1871 * Defines Calendar Component. 1872 * 1873 * @syscap SystemCapability.ArkUI.ArkUI.Full 1874 * @systemapi 1875 * @since 7 1876 */ 1877/** 1878 * Defines Calendar Component. 1879 * 1880 * @syscap SystemCapability.ArkUI.ArkUI.Full 1881 * @systemapi 1882 * @since 10 1883 * @form 1884 */ 1885declare const Calendar: CalendarInterface; 1886 1887/** 1888 * Defines Calendar Component instance. 1889 * 1890 * @syscap SystemCapability.ArkUI.ArkUI.Full 1891 * @systemapi 1892 * @since 7 1893 */ 1894/** 1895 * Defines Calendar Component instance. 1896 * 1897 * @syscap SystemCapability.ArkUI.ArkUI.Full 1898 * @systemapi 1899 * @since 10 1900 * @form 1901 */ 1902declare const CalendarInstance: CalendarAttribute; 1903